@bobbykim/manguito-theme 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.js CHANGED
@@ -1,141 +1,142 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".slide-prev-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-prev-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-prev-enter-from[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-next-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-next-enter-from[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.collapse-enter-active[data-v-6576e563],.collapse-leave-active[data-v-6576e563]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}.dropup-bottom[data-v-0cb1bffb]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-0cb1bffb],.dropdown-content-leave-active[data-v-0cb1bffb]{transition:all .3s}.dropdown-content-enter-from[data-v-0cb1bffb],.dropdown-content-leave-to[data-v-0cb1bffb]{opacity:0;transform:translateY(-10px)}.hamburger__icon[data-v-b0ec6d90]:before,.hamburger__icon[data-v-b0ec6d90]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-b0ec6d90]:before{top:-.5rem}.hamburger__icon[data-v-b0ec6d90]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-b0ec6d90],.hamburger__button:hover .hamburger__icon[data-v-b0ec6d90]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-2ba87e4a]{transition:height .5s ease-in}.collapse-leave-active[data-v-2ba87e4a]{transition:height .5s ease-out}.header-desktop[data-v-91814bc1]{width:100%}@media screen and (min-width:1024px){.header-desktop[data-v-91814bc1]{width:var(--header-width)}}.slide-down-enter-active[data-v-91814bc1]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-91814bc1]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-91814bc1],.slide-down-leave-to[data-v-91814bc1]{opacity:0;transform:translateY(-100%)}.vertical-placement[data-v-c65cb87e]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-c65cb87e],.fade-leave-active[data-v-c65cb87e]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-c65cb87e],.fade-leave-to[data-v-c65cb87e]{opacity:0}.slide-down-enter-active[data-v-c65cb87e]{animation:slide-down-c65cb87e .3s ease}.slide-down-leave-active[data-v-c65cb87e]{animation:slide-down-c65cb87e reverse .3s ease}@keyframes slide-down-c65cb87e{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}.sidebar-body[data-v-77b578df]{width:100%}.sidebar-body-height[data-v-77b578df]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-77b578df],.fade-leave-active[data-v-77b578df]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-77b578df],.fade-leave-to[data-v-77b578df]{opacity:0}.sidebar-left-enter-active[data-v-77b578df],.sidebar-left-leave-active[data-v-77b578df],.sidebar-right-enter-active[data-v-77b578df],.sidebar-right-leave-active[data-v-77b578df]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-77b578df],.sidebar-left-leave-to[data-v-77b578df]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-77b578df],.sidebar-right-leave-to[data-v-77b578df]{transform:translate(100%)}@media screen and (min-width:768px){.sidebar-body[data-v-77b578df]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-77b578df],.sidebar-left-leave-to[data-v-77b578df]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-77b578df],.sidebar-right-leave-to[data-v-77b578df]{transform:translate(var(--sidebar-width))}}.container-hts[data-v-553ab4ac]{max-height:var(--container-hts)}.slide-prev-enter-active[data-v-553ab4ac]{transition:all .5s linear}.slide-prev-leave-active[data-v-553ab4ac]{transition:all .5s}.slide-prev-enter-from[data-v-553ab4ac]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-553ab4ac]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-553ab4ac]{transition:all .5s linear}.slide-next-leave-active[data-v-553ab4ac]{transition:all .5s}.slide-next-enter-from[data-v-553ab4ac]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-553ab4ac]{transform:translate(-100%);opacity:0}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { a as nt, p as it, b as st, c as lt, d as ct, e as ut, f as dt, h as ft, m as vt, i as bt, j as ht, k as pt, l as gt, n as mt, o as yt, q as wt, r as Ct, s as kt, t as Tt, u as St, v as xt, w as Rt, x as Et, y as Nt, z as Ot, A as Bt, B as At, C as Vt, D as It, E as Dt, F as Ft, G as Lt, H as $t, I as Pt, J as jt, K as _t, L as Gt, M as Ht, N as Mt, O as Wt, P as zt, Q as Kt, R as Xt, S as Yt, T as Ut, U as qt, V as Zt, W as Jt, X as Qt, Y as ea, Z as ta, _ as aa, $ as ra, a0 as oa, a1 as na, a2 as ia, a3 as sa, a4 as la, a5 as ca, g as A } from "./index-Ds9xkbnl.js";
3
- import { defineComponent as Y, openBlock as p, createElementBlock as y, renderSlot as V, useSlots as Z, ref as D, computed as _, watch as Q, normalizeClass as S, createElementVNode as E, createCommentVNode as O, toDisplayString as he, provide as Be, createVNode as ee, Transition as te, withCtx as J, inject as Ae, withDirectives as de, vShow as Ve, useId as Ie, toRef as ua, unref as I, onMounted as We, withKeys as da, createBlock as Se, normalizeStyle as ge, vModelCheckbox as fa, Teleport as va, shallowRef as Fe, toValue as Le } from "vue";
4
- import { useWindowSize as ba, useWindowScroll as ha, useScrollLock as pa, toArray as ga, unrefElement as ma, tryOnScopeDispose as ya, useElementSize as wa } from "@vueuse/core";
5
- import { p as Ca, u as ka, o as ze, a as Ke } from "./useModalScrollLock-CPlcveJr.js";
6
- import { g as Ta, C as Sa } from "./getGlassmorphismClass-M90JAjcf.js";
7
- import { v as De } from "./index-Dh_YZ5el.js";
8
- const Kr = (t, e) => {
9
- switch (t) {
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".slide-prev-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-prev-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-prev-enter-from[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-next-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-next-enter-from[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.collapse-enter-active[data-v-7c910f65],.collapse-leave-active[data-v-7c910f65]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}.dropup-bottom[data-v-dd0b7b7b]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-dd0b7b7b],.dropdown-content-leave-active[data-v-dd0b7b7b]{transition:all .3s}.dropdown-content-enter-from[data-v-dd0b7b7b],.dropdown-content-leave-to[data-v-dd0b7b7b]{opacity:0;transform:translateY(-10px)}.hamburger__icon[data-v-b0ec6d90]:before,.hamburger__icon[data-v-b0ec6d90]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-b0ec6d90]:before{top:-.5rem}.hamburger__icon[data-v-b0ec6d90]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-b0ec6d90],.hamburger__button:hover .hamburger__icon[data-v-b0ec6d90]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-13a13d88]{transition:height .5s ease-in}.collapse-leave-active[data-v-13a13d88]{transition:height .5s ease-out}.header-desktop[data-v-ebabc502]{width:100%}@media screen and (min-width:1024px){.header-desktop[data-v-ebabc502]{width:var(--header-width)}}.slide-down-enter-active[data-v-ebabc502]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-ebabc502]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-ebabc502],.slide-down-leave-to[data-v-ebabc502]{opacity:0;transform:translateY(-100%)}.vertical-placement[data-v-c9b9db1b]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-c9b9db1b],.fade-leave-active[data-v-c9b9db1b]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-c9b9db1b],.fade-leave-to[data-v-c9b9db1b]{opacity:0}.slide-down-enter-active[data-v-c9b9db1b]{animation:slide-down-c9b9db1b .3s ease}.slide-down-leave-active[data-v-c9b9db1b]{animation:slide-down-c9b9db1b reverse .3s ease}@keyframes slide-down-c9b9db1b{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}.sidebar-body[data-v-80a7a8d2]{width:100%}.sidebar-body-height[data-v-80a7a8d2]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-80a7a8d2],.fade-leave-active[data-v-80a7a8d2]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-80a7a8d2],.fade-leave-to[data-v-80a7a8d2]{opacity:0}.sidebar-left-enter-active[data-v-80a7a8d2],.sidebar-left-leave-active[data-v-80a7a8d2],.sidebar-right-enter-active[data-v-80a7a8d2],.sidebar-right-leave-active[data-v-80a7a8d2]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-80a7a8d2],.sidebar-left-leave-to[data-v-80a7a8d2]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-80a7a8d2],.sidebar-right-leave-to[data-v-80a7a8d2]{transform:translate(100%)}@media screen and (min-width:768px){.sidebar-body[data-v-80a7a8d2]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-80a7a8d2],.sidebar-left-leave-to[data-v-80a7a8d2]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-80a7a8d2],.sidebar-right-leave-to[data-v-80a7a8d2]{transform:translate(var(--sidebar-width))}}.container-hts[data-v-2d9322d9]{max-height:var(--container-hts, none)}.slide-prev-enter-active[data-v-2d9322d9]{transition:all .5s linear}.slide-prev-leave-active[data-v-2d9322d9]{transition:all .5s}.slide-prev-enter-from[data-v-2d9322d9]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-2d9322d9]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-2d9322d9]{transition:all .5s linear}.slide-next-leave-active[data-v-2d9322d9]{transition:all .5s}.slide-next-enter-from[data-v-2d9322d9]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-2d9322d9]{transform:translate(-100%);opacity:0}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { a as ie, p as ce, b as de, c as ue, d as fe, e as he, f as ve, h as ge, m as me, i as be, j as pe, k as Ce, l as ye, n as we, o as xe, q as ke, r as Ve, s as Be, t as Re, u as Oe, v as $e, w as Te, x as Ie, y as Le, z as De, A as Ae, B as Se, C as Ee, D as Ne, E as He, F as Ge, G as _e, H as ze, I as je, J as We, K as Me, L as Fe, M as Xe, N as Pe, O as Ye, P as Ue, Q as Ke, R as qe, S as Je, T as Qe, U as Ze, V as et, W as tt, X as ot, Y as at, Z as st, _ as rt, $ as lt, a0 as nt, a1 as it, a2 as ct, a3 as dt, a4 as ut, a5 as ft, g as C } from "./index-CDXrm85l.js";
3
+ import { defineComponent as O, openBlock as l, createElementBlock as i, renderSlot as y, ref as w, computed as B, watch as E, normalizeClass as h, createElementVNode as m, createCommentVNode as g, useSlots as z, toDisplayString as j, provide as J, createVNode as D, Transition as A, withCtx as S, inject as Q, withDirectives as _, vShow as Z, useId as ee, toRef as ht, unref as k, onMounted as F, withKeys as vt, createBlock as X, normalizeStyle as W, vModelCheckbox as gt, Teleport as mt } from "vue";
4
+ import { useWindowSize as bt, useWindowScroll as pt, useScrollLock as Ct, useElementSize as yt } from "@vueuse/core";
5
+ import { p as wt, u as xt, o as oe, a as ae } from "./useModalScrollLock-ONrBOk5v.js";
6
+ import { g as kt } from "./getGlassmorphismClass-d_Ji96-u.js";
7
+ import { v as te } from "./index-CzXHE-4G.js";
8
+ import { useFocusTrap as se } from "@vueuse/integrations/useFocusTrap";
9
+ const Co = (e, t) => {
10
+ switch (e) {
10
11
  case "BGCOLOR":
11
- return ca({ color: e });
12
+ return ft({ color: t });
12
13
  case "HVBGCOLOR":
13
- return la({ color: e });
14
+ return ut({ color: t });
14
15
  case "FCBGCOLOR":
15
- return sa({ color: e });
16
+ return dt({ color: t });
16
17
  case "BEFOREBG":
17
- return ia({ color: e });
18
+ return ct({ color: t });
18
19
  case "AFTERBG":
19
- return na({ color: e });
20
+ return it({ color: t });
20
21
  case "ACTIVEBG":
21
- return oa({ color: e });
22
+ return nt({ color: t });
22
23
  case "TEXTCOLOR":
23
- return ra({ color: e });
24
+ return lt({ color: t });
24
25
  case "HVTEXTCOLOR":
25
- return aa({ color: e });
26
+ return rt({ color: t });
26
27
  case "FCTEXTCOLOR":
27
- return ta({ color: e });
28
+ return st({ color: t });
28
29
  case "DISABLEDTEXTCOLOR":
29
- return ea({ color: e });
30
+ return at({ color: t });
30
31
  case "SVGFILL":
31
- return Qt({ color: e });
32
+ return ot({ color: t });
32
33
  case "RINGCOLOR":
33
- return Jt({ color: e });
34
+ return tt({ color: t });
34
35
  case "FOCUSRING":
35
- return Zt({ color: e });
36
+ return et({ color: t });
36
37
  case "ACTIVERING":
37
- return qt({ color: e });
38
+ return Ze({ color: t });
38
39
  case "OFFSETRING":
39
- return Ut({ color: e });
40
+ return Qe({ color: t });
40
41
  case "OUTLINE":
41
- return Yt({ color: e });
42
+ return Je({ color: t });
42
43
  case "FOCUSOUTLINE":
43
- return Xt({ color: e });
44
+ return qe({ color: t });
44
45
  case "ACTIVEOUTLINE":
45
- return Kt({ color: e });
46
+ return Ke({ color: t });
46
47
  case "BTNCOLOR":
47
- return zt({ color: e });
48
+ return Ue({ color: t });
48
49
  case "LISTCOLOR":
49
- return Wt({ color: e });
50
+ return Ye({ color: t });
50
51
  case "BORDER":
51
- return Mt({ color: e });
52
+ return Pe({ color: t });
52
53
  case "BORDERX":
53
- return Ht({ color: e });
54
+ return Xe({ color: t });
54
55
  case "BORDERY":
55
- return Gt({ color: e });
56
+ return Fe({ color: t });
56
57
  case "BORDERT":
57
- return _t({ color: e });
58
+ return Me({ color: t });
58
59
  case "BORDERB":
59
- return jt({ color: e });
60
+ return We({ color: t });
60
61
  case "BORDERL":
61
- return Pt({ color: e });
62
+ return je({ color: t });
62
63
  case "BORDERR":
63
- return $t({ color: e });
64
+ return ze({ color: t });
64
65
  case "H1":
65
- return Lt({ size: e });
66
+ return _e({ size: t });
66
67
  case "H2":
67
- return Ft({ size: e });
68
+ return Ge({ size: t });
68
69
  case "H3":
69
- return Dt({ size: e });
70
+ return He({ size: t });
70
71
  case "H4":
71
- return It({ size: e });
72
+ return Ne({ size: t });
72
73
  case "BODYTEXT":
73
- return Vt({ size: e });
74
+ return Ee({ size: t });
74
75
  case "FONTWEIGHT":
75
- return At({ weight: e });
76
+ return Se({ weight: t });
76
77
  case "TEXTALIGN":
77
- return Bt({ align: e });
78
+ return Ae({ align: t });
78
79
  case "BORDERW":
79
- return Ot({ width: e });
80
+ return De({ width: t });
80
81
  case "BORDERXW":
81
- return Nt({ width: e });
82
+ return Le({ width: t });
82
83
  case "BORDERYW":
83
- return Et({ width: e });
84
+ return Ie({ width: t });
84
85
  case "BORDERTW":
85
- return Rt({ width: e });
86
+ return Te({ width: t });
86
87
  case "BORDERBW":
87
- return xt({ width: e });
88
+ return $e({ width: t });
88
89
  case "BORDERLW":
89
- return St({ width: e });
90
+ return Oe({ width: t });
90
91
  case "BORDERRW":
91
- return Tt({ width: e });
92
+ return Re({ width: t });
92
93
  case "OPACITY":
93
- return kt({ opacity: e });
94
+ return Be({ opacity: t });
94
95
  case "BGOPACITY":
95
- return Ct({ opacity: e });
96
+ return Ve({ opacity: t });
96
97
  case "OUTLINEOPACITY":
97
- return wt({ opacity: e });
98
+ return ke({ opacity: t });
98
99
  case "MARGIN":
99
- return yt({ spacing: e });
100
+ return xe({ spacing: t });
100
101
  case "MARGINX":
101
- return mt({ spacing: e });
102
+ return we({ spacing: t });
102
103
  case "MARGINY":
103
- return gt({ spacing: e });
104
+ return ye({ spacing: t });
104
105
  case "MARGINT":
105
- return pt({ spacing: e });
106
+ return Ce({ spacing: t });
106
107
  case "MARGINB":
107
- return ht({ spacing: e });
108
+ return pe({ spacing: t });
108
109
  case "MARGINL":
109
- return bt({ spacing: e });
110
+ return be({ spacing: t });
110
111
  case "MARGINR":
111
- return vt({ spacing: e });
112
+ return me({ spacing: t });
112
113
  case "PADDING":
113
- return ft({ spacing: e });
114
+ return ge({ spacing: t });
114
115
  case "PADDINGX":
115
- return dt({ spacing: e });
116
+ return ve({ spacing: t });
116
117
  case "PADDINGY":
117
- return ut({ spacing: e });
118
+ return he({ spacing: t });
118
119
  case "PADDINGT":
119
- return ct({ spacing: e });
120
+ return fe({ spacing: t });
120
121
  case "PADDINGB":
121
- return lt({ spacing: e });
122
+ return ue({ spacing: t });
122
123
  case "PADDINGL":
123
- return st({ spacing: e });
124
+ return de({ spacing: t });
124
125
  case "PADDINGR":
125
- return it({ spacing: e });
126
+ return ce({ spacing: t });
126
127
  case "GAP":
127
- return nt({ spacing: e });
128
+ return ie({ spacing: t });
128
129
  default:
129
130
  return "";
130
131
  }
131
- }, Xr = /* @__PURE__ */ Y({
132
+ }, yo = /* @__PURE__ */ O({
132
133
  __name: "AccordionGroup",
133
- setup(t) {
134
- return Ca(), (e, a) => (p(), y("div", null, [
135
- V(e.$slots, "default")
134
+ setup(e) {
135
+ return wt(), (t, u) => (l(), i("div", null, [
136
+ y(t.$slots, "default")
136
137
  ]));
137
138
  }
138
- }), xa = { class: "flex w-full justify-between gap-2xs" }, Ra = { class: "w-full" }, Yr = /* @__PURE__ */ Y({
139
+ }), Vt = { class: "flex w-full justify-between gap-2xs" }, Bt = { class: "w-full" }, wo = /* @__PURE__ */ O({
139
140
  __name: "Alert",
140
141
  props: {
141
142
  color: { default: "danger" },
@@ -145,59 +146,57 @@ const Kr = (t, e) => {
145
146
  dismissible: { type: Boolean, default: !1 }
146
147
  },
147
148
  emits: ["close"],
148
- setup(t, { expose: e, emit: a }) {
149
- const o = t;
150
- Z();
151
- const n = a, c = D(o.show), r = _(() => {
152
- const { color: d, rounded: v, shadow: b } = o, h = [A.bgColorVariant({ color: d })];
153
- return v && h.push("rounded-md"), b && h.push("drop-shadow-md"), h.join(" ");
154
- }), u = (d) => {
155
- c.value = !1, n("close", d);
156
- }, l = () => {
149
+ setup(e, { expose: t, emit: u }) {
150
+ const d = e, a = u, c = w(d.show), s = B(() => {
151
+ const { color: r, rounded: f, shadow: p } = d, b = [C.bgColorVariant({ color: r })];
152
+ return f && b.push("rounded-md"), p && b.push("drop-shadow-md"), b.join(" ");
153
+ }), n = (r) => {
154
+ c.value = !1, a("close", r);
155
+ }, o = () => {
157
156
  c.value = !1;
158
157
  };
159
- return Q(
160
- () => o.show,
161
- (d) => {
162
- c.value = d;
158
+ return E(
159
+ () => d.show,
160
+ (r) => {
161
+ c.value = r;
163
162
  }
164
- ), e({
165
- close: l
166
- }), (d, v) => c.value ? (p(), y("div", {
163
+ ), t({
164
+ close: o
165
+ }), (r, f) => c.value ? (l(), i("div", {
167
166
  key: 0,
168
167
  role: "alert",
169
168
  "aria-live": "polite",
170
169
  "aria-atomic": "true",
171
- class: S(["relative px-[1.25rem] py-[0.75rem]", [r.value]])
170
+ class: h(["relative px-[1.25rem] py-[0.75rem]", [s.value]])
172
171
  }, [
173
- E("div", xa, [
174
- E("div", Ra, [
175
- V(d.$slots, "default")
172
+ m("div", Vt, [
173
+ m("div", Bt, [
174
+ y(r.$slots, "default")
176
175
  ]),
177
- t.dismissible ? (p(), y("button", {
176
+ e.dismissible ? (l(), i("button", {
178
177
  key: 0,
179
- onClick: u,
178
+ onClick: n,
180
179
  class: "flex items-center opacity-60 transition-opacity duration-300 ease-linear hover:opacity-40"
181
- }, [...v[0] || (v[0] = [
182
- E("svg", {
180
+ }, [...f[0] || (f[0] = [
181
+ m("svg", {
183
182
  xmlns: "http://www.w3.org/2000/svg",
184
183
  viewBox: "0 0 384 512",
185
184
  fill: "currentColor",
186
185
  class: "h-xs"
187
186
  }, [
188
- E("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" })
187
+ m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" })
189
188
  ], -1)
190
- ])])) : O("", !0)
189
+ ])])) : g("", !0)
191
190
  ])
192
- ], 2)) : O("", !0);
191
+ ], 2)) : g("", !0);
193
192
  }
194
- }), Ea = ["src", "alt"], Na = {
193
+ }), Rt = ["src", "alt"], Ot = {
195
194
  key: 2,
196
195
  class: "flex-1 px-xs pt-xs pb-2xs"
197
- }, Oa = {
196
+ }, $t = {
198
197
  key: 3,
199
198
  class: "flex-1"
200
- }, Ur = /* @__PURE__ */ Y({
199
+ }, xo = /* @__PURE__ */ O({
201
200
  __name: "Card",
202
201
  props: {
203
202
  variant: { default: "light-1" },
@@ -219,81 +218,81 @@ const Kr = (t, e) => {
219
218
  titleSize: { default: "md" },
220
219
  cardClass: { default: "" }
221
220
  },
222
- setup(t) {
223
- const e = t, a = Z(), o = _(() => {
221
+ setup(e) {
222
+ const t = e, u = z(), d = B(() => {
224
223
  const {
225
- variant: u,
226
- rounded: l,
227
- shadow: d,
228
- border: v,
229
- borderVariant: b,
230
- glass: h,
231
- glassBlur: g,
232
- glassOpacity: L
233
- } = e;
224
+ variant: n,
225
+ rounded: o,
226
+ shadow: r,
227
+ border: f,
228
+ borderVariant: p,
229
+ glass: b,
230
+ glassBlur: v,
231
+ glassOpacity: I
232
+ } = t;
234
233
  return [
235
- A.bgColorVariant({ color: u }),
236
- l ? "rounded-lg" : "rounded-sm",
237
- d && "drop-shadow-md",
238
- v && "border",
239
- v && A.borderColorVariant({ color: b }),
240
- h && Ta(u, g, L)
234
+ C.bgColorVariant({ color: n }),
235
+ o ? "rounded-lg" : "rounded-sm",
236
+ r && "drop-shadow-md",
237
+ f && "border",
238
+ f && C.borderColorVariant({ color: p }),
239
+ b && kt(n, v, I)
241
240
  ].filter(Boolean).join(" ");
242
- }), n = _(() => {
243
- const { titleVariant: u, titleSize: l } = e;
241
+ }), a = B(() => {
242
+ const { titleVariant: n, titleSize: o } = t;
244
243
  return [
245
- A.textColorVariant({ color: u }),
246
- A.h3Variant({ size: l })
244
+ C.textColorVariant({ color: n }),
245
+ C.h3Variant({ size: o })
247
246
  ].join(" ");
248
- }), c = _(() => {
249
- const { border: u, borderVariant: l, titleVariant: d } = e;
247
+ }), c = B(() => {
248
+ const { border: n, borderVariant: o, titleVariant: r } = t;
250
249
  return [
251
- A.textColorVariant({ color: d }),
252
- u && "border-b",
253
- A.borderColorVariant({ color: l })
250
+ C.textColorVariant({ color: r }),
251
+ n && "border-b",
252
+ C.borderColorVariant({ color: o })
254
253
  ].filter(Boolean).join(" ");
255
- }), r = _(() => {
256
- const { border: u, borderVariant: l } = e;
254
+ }), s = B(() => {
255
+ const { border: n, borderVariant: o } = t;
257
256
  return [
258
- u && "border-t",
259
- u && A.borderColorVariant({ color: l })
257
+ n && "border-t",
258
+ n && C.borderColorVariant({ color: o })
260
259
  ].filter(Boolean).join(" ");
261
260
  });
262
- return (u, l) => (p(), y("div", {
263
- class: S(["flex h-full w-full flex-col overflow-hidden", [o.value, t.cardClass]])
261
+ return (n, o) => (l(), i("div", {
262
+ class: h(["flex h-full w-full flex-col overflow-hidden", [d.value, e.cardClass]])
264
263
  }, [
265
- t.header || a.header ? V(u.$slots, "header", { key: 0 }, () => [
266
- E("div", {
267
- class: S([[c.value], "px-xs py-2xs font-bold"])
264
+ e.header || u.header ? y(n.$slots, "header", { key: 0 }, () => [
265
+ m("div", {
266
+ class: h([[c.value], "px-xs py-2xs font-bold"])
268
267
  }, [
269
- E("p", null, he(t.header), 1)
268
+ m("p", null, j(e.header), 1)
270
269
  ], 2)
271
- ]) : O("", !0),
272
- t.imageSrc && !t.noImage ? (p(), y("img", {
270
+ ]) : g("", !0),
271
+ e.imageSrc && !e.noImage ? (l(), i("img", {
273
272
  key: 1,
274
- src: t.imageSrc,
275
- alt: t.imageAlt,
273
+ src: e.imageSrc,
274
+ alt: e.imageAlt,
276
275
  class: "aspect-video min-w-full object-cover object-top"
277
- }, null, 8, Ea)) : O("", !0),
278
- t.noBody ? O("", !0) : (p(), y("div", Na, [
279
- E("h3", {
280
- class: S([[n.value], "mb-xs"])
281
- }, he(t.title), 3),
282
- a.body ? V(u.$slots, "body", { key: 0 }) : O("", !0)
276
+ }, null, 8, Rt)) : g("", !0),
277
+ e.noBody ? g("", !0) : (l(), i("div", Ot, [
278
+ m("h3", {
279
+ class: h([[a.value], "mb-xs"])
280
+ }, j(e.title), 3),
281
+ u.body ? y(n.$slots, "body", { key: 0 }) : g("", !0)
283
282
  ])),
284
- t.noBody && a.default ? (p(), y("div", Oa, [
285
- V(u.$slots, "default")
286
- ])) : O("", !0),
287
- t.footer || a.footer ? V(u.$slots, "footer", { key: 4 }, () => [
288
- E("div", {
289
- class: S(["px-xs py-2xs", [r.value]])
283
+ e.noBody && u.default ? (l(), i("div", $t, [
284
+ y(n.$slots, "default")
285
+ ])) : g("", !0),
286
+ e.footer || u.footer ? y(n.$slots, "footer", { key: 4 }, () => [
287
+ m("div", {
288
+ class: h(["px-xs py-2xs", [s.value]])
290
289
  }, [
291
- E("p", null, he(t.footer), 1)
290
+ m("p", null, j(e.footer), 1)
292
291
  ], 2)
293
- ]) : O("", !0)
292
+ ]) : g("", !0)
294
293
  ], 2));
295
294
  }
296
- }), Xe = /* @__PURE__ */ Symbol(), Ba = /* @__PURE__ */ Y({
295
+ }), re = /* @__PURE__ */ Symbol(), Tt = /* @__PURE__ */ O({
297
296
  __name: "CarouselContainer",
298
297
  props: {
299
298
  bodyClass: { default: "" },
@@ -302,112 +301,111 @@ const Kr = (t, e) => {
302
301
  controllerBottomClass: { default: "" },
303
302
  loop: { type: Boolean, default: !1 }
304
303
  },
305
- setup(t, { expose: e }) {
306
- const a = t, o = Z(), n = D(0), c = D([]), r = D(0), u = D("slide-next"), l = (h) => {
307
- c.value.push(h), r.value = [...new Set(c.value)].length;
308
- }, d = (h) => {
309
- n.value = h;
304
+ setup(e, { expose: t }) {
305
+ const u = e, d = z(), a = w(0), c = w([]), s = w(0), n = w("slide-next"), o = (b) => {
306
+ c.value.push(b), s.value = [...new Set(c.value)].length;
307
+ }, r = (b) => {
308
+ a.value = b;
310
309
  };
311
- Be(Xe, {
312
- activeIdx: n,
313
- setSlide: l
310
+ J(re, {
311
+ activeIdx: a,
312
+ setSlide: o
314
313
  });
315
- const v = () => {
316
- const { loop: h } = a;
317
- h && n.value === r.value - 1 ? n.value = 0 : n.value < r.value - 1 && (n.value = n.value + 1);
318
- }, b = () => {
319
- const { loop: h } = a;
320
- h && n.value === 0 ? n.value = r.value - 1 : n.value > 0 && (n.value = n.value - 1);
314
+ const f = () => {
315
+ const { loop: b } = u;
316
+ b && a.value === s.value - 1 ? a.value = 0 : a.value < s.value - 1 && (a.value = a.value + 1);
317
+ }, p = () => {
318
+ const { loop: b } = u;
319
+ b && a.value === 0 ? a.value = s.value - 1 : a.value > 0 && (a.value = a.value - 1);
321
320
  };
322
- return Q(
323
- () => n.value,
324
- (h, g) => {
325
- h > g || h === 0 && g === r.value - 1 ? u.value = "slide-next" : u.value = "slide-prev";
321
+ return E(
322
+ () => a.value,
323
+ (b, v) => {
324
+ b > v || b === 0 && v === s.value - 1 ? n.value = "slide-next" : n.value = "slide-prev";
326
325
  }
327
- ), e({
328
- numberOfSlides: r,
329
- prev: b,
330
- next: v,
331
- setActive: d
332
- }), (h, g) => (p(), y("div", {
333
- class: S([t.bodyClass, "relative overflow-x-hidden"])
326
+ ), t({
327
+ numberOfSlides: s,
328
+ prev: p,
329
+ next: f,
330
+ setActive: r
331
+ }), (b, v) => (l(), i("div", {
332
+ class: h([e.bodyClass, "relative overflow-x-hidden"])
334
333
  }, [
335
- o["controller-top"] ? (p(), y("div", {
334
+ d["controller-top"] ? (l(), i("div", {
336
335
  key: 0,
337
- class: S(t.controllerTopClass)
336
+ class: h(e.controllerTopClass)
338
337
  }, [
339
- V(h.$slots, "controller-top", {
340
- next: v,
341
- prev: b,
342
- setActive: d,
343
- activeSlide: n.value,
344
- numberOfSlides: r.value
338
+ y(b.$slots, "controller-top", {
339
+ next: f,
340
+ prev: p,
341
+ setActive: r,
342
+ activeSlide: a.value,
343
+ numberOfSlides: s.value
345
344
  }, void 0, !0)
346
- ], 2)) : O("", !0),
347
- E("div", {
348
- class: S(["grid grid-cols-1 grid-rows-1", t.contentContainerClass])
345
+ ], 2)) : g("", !0),
346
+ m("div", {
347
+ class: h(["grid grid-cols-1 grid-rows-1", e.contentContainerClass])
349
348
  }, [
350
- ee(te, { name: u.value }, {
351
- default: J(() => [
352
- (p(), y("div", {
353
- key: n.value,
349
+ D(A, { name: n.value }, {
350
+ default: S(() => [
351
+ (l(), i("div", {
352
+ key: a.value,
354
353
  class: "col-start-1 col-end-1 row-start-1 row-end-1"
355
354
  }, [
356
- V(h.$slots, "content", {}, void 0, !0)
355
+ y(b.$slots, "content", {}, void 0, !0)
357
356
  ]))
358
357
  ]),
359
358
  _: 3
360
359
  }, 8, ["name"])
361
360
  ], 2),
362
- o["controller-bottom"] ? (p(), y("div", {
361
+ d["controller-bottom"] ? (l(), i("div", {
363
362
  key: 1,
364
- class: S(t.controllerBottomClass)
363
+ class: h(e.controllerBottomClass)
365
364
  }, [
366
- V(h.$slots, "controller-bottom", {
367
- next: v,
368
- prev: b,
369
- setActive: d,
370
- activeSlide: n.value,
371
- numberOfSlides: r.value
365
+ y(b.$slots, "controller-bottom", {
366
+ next: f,
367
+ prev: p,
368
+ setActive: r,
369
+ activeSlide: a.value,
370
+ numberOfSlides: s.value
372
371
  }, void 0, !0)
373
- ], 2)) : O("", !0)
372
+ ], 2)) : g("", !0)
374
373
  ], 2));
375
374
  }
376
- }), re = (t, e) => {
377
- const a = t.__vccOpts || t;
378
- for (const [o, n] of e)
379
- a[o] = n;
380
- return a;
381
- }, qr = /* @__PURE__ */ re(Ba, [["__scopeId", "data-v-e9caba8a"]]), Aa = ["id"], Zr = /* @__PURE__ */ Y({
375
+ }), N = (e, t) => {
376
+ const u = e.__vccOpts || e;
377
+ for (const [d, a] of t)
378
+ u[d] = a;
379
+ return u;
380
+ }, ko = /* @__PURE__ */ N(Tt, [["__scopeId", "data-v-e9caba8a"]]), It = ["id"], Vo = /* @__PURE__ */ O({
382
381
  __name: "CarouselContent",
383
382
  props: {
384
383
  slideNumber: {},
385
384
  id: {},
386
385
  slideClass: { default: "" }
387
386
  },
388
- setup(t) {
389
- const e = t, { activeIdx: a, setSlide: o } = Ae(
390
- Xe
391
- ), n = D(null);
392
- o(e.slideNumber), Z();
393
- const c = _(() => {
394
- const { slideNumber: r } = e;
395
- return a.value === r;
387
+ setup(e) {
388
+ const t = e, { activeIdx: u, setSlide: d } = Q(
389
+ re
390
+ );
391
+ d(t.slideNumber);
392
+ const a = B(() => {
393
+ const { slideNumber: c } = t;
394
+ return u.value === c;
396
395
  });
397
- return (r, u) => de((p(), y("div", {
398
- ref_key: "slideRef",
399
- ref: n,
400
- id: t.id,
401
- class: S([t.slideClass, "w-full"]),
396
+ return (c, s) => _((l(), i("div", {
397
+ ref: "slideRef",
398
+ id: e.id,
399
+ class: h([e.slideClass, "w-full"]),
402
400
  role: "tabpanel",
403
401
  tabindex: "-1"
404
402
  }, [
405
- V(r.$slots, "default")
406
- ], 10, Aa)), [
407
- [Ve, c.value]
403
+ y(c.$slots, "default")
404
+ ], 10, It)), [
405
+ [Z, a.value]
408
406
  ]);
409
407
  }
410
- }), Va = ["id"], Ia = /* @__PURE__ */ Y({
408
+ }), Lt = ["id"], Dt = /* @__PURE__ */ O({
411
409
  __name: "Collapse",
412
410
  props: {
413
411
  id: {},
@@ -415,123 +413,114 @@ const Kr = (t, e) => {
415
413
  visible: { type: Boolean, default: !1 }
416
414
  },
417
415
  emits: ["open", "close"],
418
- setup(t, { expose: e, emit: a }) {
419
- const o = t;
420
- Z();
421
- const n = a, c = o.id ?? Ie(), { isOpen: r, toggle: u, open: l, close: d } = ka(
416
+ setup(e, { expose: t, emit: u }) {
417
+ const d = e, a = u, c = d.id ?? ee(), { isOpen: s, toggle: n, open: o, close: r } = xt(
422
418
  c,
423
- ua(o, "visible")
424
- ), v = (g) => {
425
- g.style.height = "auto", g.style.opacity = "0";
426
- const L = getComputedStyle(g).height;
427
- g.style.height = "0px", g.offsetHeight, g.style.height = L, g.style.opacity = "1";
428
- }, b = (g) => {
429
- g.style.height = "auto", g.style.opacity = "1";
430
- }, h = (g) => {
431
- g.style.height = getComputedStyle(g).height, g.offsetHeight, g.style.height = "0px", g.style.opacity = "0";
419
+ ht(d, "visible")
420
+ ), f = (v) => {
421
+ v.style.height = "auto", v.style.opacity = "0";
422
+ const I = getComputedStyle(v).height;
423
+ v.style.height = "0px", v.offsetHeight, v.style.height = I, v.style.opacity = "1";
424
+ }, p = (v) => {
425
+ v.style.height = "auto", v.style.opacity = "1";
426
+ }, b = (v) => {
427
+ v.style.height = getComputedStyle(v).height, v.offsetHeight, v.style.height = "0px", v.style.opacity = "0";
432
428
  };
433
- return Q(r, (g) => {
434
- g ? n("open", !0) : n("close", !1);
435
- }), e({
436
- toggle: u,
437
- open: l,
438
- close: d
439
- }), (g, L) => (p(), y("div", { id: I(c) }, [
440
- ee(I(Sa), null, {
441
- default: J(() => [
442
- ee(te, {
443
- name: "collapse",
444
- tag: "div",
445
- onEnter: v,
446
- onAfterEnter: b,
447
- onLeave: h,
448
- class: "overflow-y-clip"
449
- }, {
450
- default: J(() => [
451
- de(E("div", null, [
452
- E("div", {
453
- class: S(t.customClass)
454
- }, [
455
- V(g.$slots, "default", {}, void 0, !0)
456
- ], 2)
457
- ], 512), [
458
- [Ve, I(r)]
459
- ])
460
- ]),
461
- _: 3
462
- })
429
+ return E(s, (v) => {
430
+ v ? a("open", !0) : a("close", !1);
431
+ }), t({
432
+ isOpen: s,
433
+ toggle: n,
434
+ open: o,
435
+ close: r
436
+ }), (v, I) => (l(), i("div", { id: k(c) }, [
437
+ D(A, {
438
+ name: "collapse",
439
+ tag: "div",
440
+ onEnter: f,
441
+ onAfterEnter: p,
442
+ onLeave: b,
443
+ class: "overflow-y-clip"
444
+ }, {
445
+ default: S(() => [
446
+ _(m("div", null, [
447
+ m("div", {
448
+ class: h(e.customClass)
449
+ }, [
450
+ y(v.$slots, "default", {}, void 0, !0)
451
+ ], 2)
452
+ ], 512), [
453
+ [Z, k(s)]
454
+ ])
463
455
  ]),
464
456
  _: 3
465
457
  })
466
- ], 8, Va));
458
+ ], 8, Lt));
467
459
  }
468
- }), Jr = /* @__PURE__ */ re(Ia, [["__scopeId", "data-v-6576e563"]]), Ye = /* @__PURE__ */ Symbol(), Qr = /* @__PURE__ */ Y({
460
+ }), Bo = /* @__PURE__ */ N(Dt, [["__scopeId", "data-v-7c910f65"]]), le = /* @__PURE__ */ Symbol(), Ro = /* @__PURE__ */ O({
469
461
  __name: "DropdownContainer",
470
462
  emits: ["click-outside", "toggle"],
471
- setup(t, { emit: e }) {
472
- Z();
473
- const a = e, o = D(), n = D(!1), c = D(0);
474
- Be(Ye, {
475
- active: n,
463
+ setup(e, { emit: t }) {
464
+ const u = t, d = w(), a = w(!1), c = w(0);
465
+ J(le, {
466
+ active: a,
476
467
  buttonHeight: c,
477
468
  closeDropdown: () => {
478
- n.value = !1;
469
+ a.value = !1;
479
470
  }
480
471
  });
481
- const u = (v) => {
482
- n.value = !n.value, a("toggle", v);
483
- }, l = (v) => {
484
- n.value = !1, a("click-outside", v);
485
- }, d = () => {
486
- n.value = !1;
472
+ const n = (f) => {
473
+ a.value = !a.value, u("toggle", f);
474
+ }, o = (f) => {
475
+ a.value = !1, u("click-outside", f);
476
+ }, r = () => {
477
+ a.value = !1;
487
478
  };
488
- return We(() => {
489
- c.value = o.value.scrollHeight;
490
- }), (v, b) => de((p(), y("div", {
479
+ return F(() => {
480
+ c.value = d.value.scrollHeight;
481
+ }), (f, p) => _((l(), i("div", {
491
482
  class: "relative",
492
483
  ref_key: "dropdownTarget",
493
- ref: o,
494
- onKeyup: da(d, ["esc"])
484
+ ref: d,
485
+ onKeyup: vt(r, ["esc"])
495
486
  }, [
496
- V(v.$slots, "toggler", {
497
- toggle: u,
498
- dropdownState: n.value
487
+ y(f.$slots, "toggler", {
488
+ toggle: n,
489
+ dropdownState: a.value
499
490
  }),
500
- V(v.$slots, "default")
491
+ y(f.$slots, "default")
501
492
  ], 32)), [
502
- [I(De), l]
493
+ [k(te), o]
503
494
  ]);
504
495
  }
505
- }), Da = /* @__PURE__ */ Y({
496
+ }), At = /* @__PURE__ */ O({
506
497
  __name: "DropdownContent",
507
498
  props: {
508
499
  customClass: { default: "" }
509
500
  },
510
- setup(t) {
511
- const { height: e } = ba();
512
- Z();
513
- const a = D(), { active: o, buttonHeight: n, closeDropdown: c } = Ae(
514
- Ye
515
- ), r = _(() => ({ "--button-height": `${n}px` })), u = _(() => {
516
- if (!(!o || !a.value) && e.value - a.value.getBoundingClientRect().bottom < 0)
501
+ setup(e) {
502
+ const { height: t } = bt(), u = w(), { active: d, buttonHeight: a, closeDropdown: c } = Q(
503
+ le
504
+ ), s = B(() => ({ "--button-height": `${a}px` })), n = B(() => {
505
+ if (!(!d || !u.value) && t.value - u.value.getBoundingClientRect().bottom < 0)
517
506
  return "dropup-bottom";
518
507
  });
519
- return (l, d) => (p(), Se(te, { name: "dropdown-content" }, {
520
- default: J(() => [
521
- I(o) ? (p(), y("div", {
508
+ return (o, r) => (l(), X(A, { name: "dropdown-content" }, {
509
+ default: S(() => [
510
+ k(d) ? (l(), i("div", {
522
511
  key: 0,
523
512
  ref_key: "contentRef",
524
- ref: a,
525
- class: S(["absolute my-2xs w-max max-w-[14rem] overflow-hidden", [u.value, t.customClass]]),
526
- style: ge(r.value)
513
+ ref: u,
514
+ class: h(["absolute my-2xs w-max max-w-[14rem] overflow-hidden", [n.value, e.customClass]]),
515
+ style: W(s.value)
527
516
  }, [
528
- V(l.$slots, "default", { itemClick: I(c) }, void 0, !0)
529
- ], 6)) : O("", !0)
517
+ y(o.$slots, "default", { itemClick: k(c) }, void 0, !0)
518
+ ], 6)) : g("", !0)
530
519
  ]),
531
520
  _: 3
532
521
  }));
533
522
  }
534
- }), eo = /* @__PURE__ */ re(Da, [["__scopeId", "data-v-0cb1bffb"]]), Fa = ["aria-label", "aria-expanded"], La = /* @__PURE__ */ Y({
523
+ }), Oo = /* @__PURE__ */ N(At, [["__scopeId", "data-v-dd0b7b7b"]]), St = ["aria-label", "aria-expanded"], Et = /* @__PURE__ */ O({
535
524
  __name: "NavDrawer",
536
525
  props: {
537
526
  color: { default: "dark-2" },
@@ -540,49 +529,52 @@ const Kr = (t, e) => {
540
529
  bgColor: {}
541
530
  },
542
531
  emits: ["hbg-click"],
543
- setup(t, { emit: e }) {
544
- const a = t, o = e, n = (l) => {
545
- o("hbg-click", l);
546
- }, c = _({
532
+ setup(e, { emit: t }) {
533
+ const u = e, d = t, a = (o) => {
534
+ d("hbg-click", o);
535
+ }, c = B({
547
536
  get() {
548
- return a.toggle;
537
+ return u.toggle;
549
538
  },
550
- set(l) {
551
- return l;
539
+ set(o) {
540
+ return o;
552
541
  }
553
- }), r = (l, d, v) => {
554
- const b = [
555
- A.ringColorVariant({ color: l }),
556
- A.ringOffsetColorVariant({ color: v })
542
+ }), s = (o, r, f) => {
543
+ const p = [
544
+ C.ringColorVariant({ color: o }),
545
+ C.ringOffsetColorVariant({ color: f })
557
546
  ];
558
- return d && (b.push(A.borderColorVariant({ color: l })), b.push("border")), b.join(" ");
559
- }, u = (l) => [
560
- A.bgColorVariant({ color: l }),
561
- A.beforeBgColorVariant({ color: l }),
562
- A.afterBgColorVariant({ color: l })
547
+ return r && (p.push(C.borderColorVariant({ color: o })), p.push("border")), p.join(" ");
548
+ }, n = (o) => [
549
+ C.bgColorVariant({ color: o }),
550
+ C.beforeBgColorVariant({ color: o }),
551
+ C.afterBgColorVariant({ color: o })
563
552
  ].join(" ");
564
- return (l, d) => (p(), y("button", {
565
- class: S(["hamburger__button aspect-square rounded-md p-3xs ring-offset-2 transition-all duration-300 ease-linear outline-none hover:opacity-70 focus:opacity-70 focus:ring-4", r(t.color, t.showBorder, t.bgColor)]),
566
- onClick: n,
567
- "aria-label": t.toggle ? "Close" : "Open",
568
- "aria-expanded": t.toggle
553
+ return (o, r) => (l(), i("button", {
554
+ class: h(["hamburger__button aspect-square rounded-md p-3xs ring-offset-2 transition-all duration-300 ease-linear outline-none hover:opacity-70 focus:opacity-70 focus:ring-4", s(e.color, e.showBorder, e.bgColor)]),
555
+ onClick: a,
556
+ "aria-label": e.toggle ? "Close" : "Open",
557
+ "aria-expanded": e.toggle
569
558
  }, [
570
- de(E("input", {
559
+ _(m("input", {
571
560
  type: "checkbox",
572
- "onUpdate:modelValue": d[0] || (d[0] = (v) => c.value = v),
561
+ "onUpdate:modelValue": r[0] || (r[0] = (f) => c.value = f),
573
562
  class: "hamburger__checkbox hidden"
574
563
  }, null, 512), [
575
- [fa, c.value]
564
+ [gt, c.value]
576
565
  ]),
577
- E("div", {
578
- class: S(["hamburger__icon relative h-[3px] w-sm transition-all duration-300 ease-linear before:h-[3px] before:w-sm after:h-[3px] after:w-sm", u(t.color)])
566
+ m("div", {
567
+ class: h(["hamburger__icon relative h-[3px] w-sm transition-all duration-300 ease-linear before:h-[3px] before:w-sm after:h-[3px] after:w-sm", n(e.color)])
579
568
  }, null, 2)
580
- ], 10, Fa));
569
+ ], 10, St));
581
570
  }
582
- }), Ue = /* @__PURE__ */ re(La, [["__scopeId", "data-v-b0ec6d90"]]), $a = { class: "mx-xs flex flex-wrap items-center justify-between py-xs align-middle sm:max-w-[640px] md:mx-sm md:max-w-[768px] md:py-2xs lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]" }, Pa = { class: "min-h-[24px]" }, ja = { class: "ml-auto" }, _a = {
571
+ }), q = /* @__PURE__ */ N(Et, [["__scopeId", "data-v-b0ec6d90"]]), Nt = { class: "mx-xs flex flex-wrap items-center justify-between py-xs align-middle sm:max-w-[640px] md:mx-sm md:max-w-[768px] md:py-2xs lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]" }, Ht = { class: "min-h-[24px]" }, Gt = { class: "ml-auto" }, _t = {
583
572
  key: 0,
584
573
  class: "hidden lg:block"
585
- }, Ga = { class: "overflow-hidden lg:hidden" }, Ha = { key: 0 }, Ma = /* @__PURE__ */ Y({
574
+ }, zt = { class: "overflow-hidden lg:hidden" }, jt = {
575
+ key: 0,
576
+ class: "overflow-hidden"
577
+ }, Wt = { key: 0 }, Mt = /* @__PURE__ */ O({
586
578
  __name: "HeaderHorizontal",
587
579
  props: {
588
580
  bgColor: { default: "light-1" },
@@ -594,80 +586,84 @@ const Kr = (t, e) => {
594
586
  sticky: { default: "all" }
595
587
  },
596
588
  emits: ["toggle-drawer"],
597
- setup(t, { expose: e, emit: a }) {
598
- const o = t, n = Z(), c = D(!1), { y: r } = ha(), u = a, l = () => {
589
+ setup(e, { expose: t, emit: u }) {
590
+ const d = e, a = z(), c = w(!1), { y: s } = pt(), n = u, o = () => {
599
591
  c.value = !1;
600
- }, d = (B) => {
601
- c.value = !c.value, u("toggle-drawer", B, c.value);
602
- }, v = (B) => {
603
- B.style.height = "auto";
604
- const $ = getComputedStyle(B).height;
605
- B.style.height = "0px", B.offsetHeight, B.style.height = $;
606
- }, b = (B) => {
607
- B.style.height = "auto";
608
- }, h = (B) => {
609
- B.style.height = getComputedStyle(B).height, B.offsetHeight, B.style.height = "0px";
610
- }, g = _(() => {
611
- const { bgColor: B, sticky: $ } = o, G = [
612
- A.bgColorVariant({ color: B })
592
+ }, r = (x) => {
593
+ c.value = !c.value, n("toggle-drawer", x, c.value);
594
+ }, f = (x) => {
595
+ x.style.height = "auto";
596
+ const V = getComputedStyle(x).height;
597
+ x.style.height = "0px", x.offsetHeight, x.style.height = V;
598
+ }, p = (x) => {
599
+ x.style.height = "auto";
600
+ }, b = (x) => {
601
+ x.style.height = getComputedStyle(x).height, x.offsetHeight, x.style.height = "0px";
602
+ }, v = B(() => {
603
+ const { bgColor: x, sticky: V } = d, T = [
604
+ C.bgColorVariant({ color: x })
613
605
  ];
614
- return $ === "all" ? (G.push("sticky top-0"), G.join(" ")) : $ === "tablet" ? (G.push("md:sticky top-0"), G.join(" ")) : ($ === "pc" && G.push("lg:sticky top-0"), G.join(" "));
615
- }), L = _(() => {
616
- const { fadeInOnScroll: B, scrollDistance: $ } = o;
617
- return B ? r.value >= $ ? "lg:shadow-md bg-opacity-70" : "bg-opacity-100" : "";
606
+ return V === "all" ? (T.push("sticky top-0"), T.join(" ")) : V === "tablet" ? (T.push("md:sticky top-0"), T.join(" ")) : (V === "pc" && T.push("lg:sticky top-0"), T.join(" "));
607
+ }), I = B(() => {
608
+ const { fadeInOnScroll: x, scrollDistance: V } = d;
609
+ return x ? s.value >= V ? "lg:shadow-md bg-opacity-70" : "bg-opacity-100" : "";
618
610
  });
619
- return e({
620
- headerClose: l
621
- }), (B, $) => (p(), y("header", {
622
- class: S(["z-50 w-full items-center transition delay-150 duration-500 ease-in", [L.value, g.value]])
611
+ return t({
612
+ headerClose: o
613
+ }), (x, V) => (l(), i("header", {
614
+ class: h(["z-50 w-full items-center transition delay-150 duration-500 ease-in", [I.value, v.value]])
623
615
  }, [
624
- E("nav", $a, [
625
- E("div", Pa, [
626
- V(B.$slots, "content", {}, void 0, !0)
616
+ m("nav", Nt, [
617
+ m("div", Ht, [
618
+ y(x.$slots, "content", {}, void 0, !0)
627
619
  ]),
628
- E("div", ja, [
629
- ee(Ue, {
630
- color: t.drawerBtnColor,
631
- "show-border": t.showDrawerBorder,
620
+ m("div", Gt, [
621
+ D(q, {
622
+ color: e.drawerBtnColor,
623
+ "show-border": e.showDrawerBorder,
632
624
  class: "block lg:hidden",
633
- onHbgClick: d,
625
+ onHbgClick: r,
634
626
  toggle: c.value,
635
- "bg-color": t.bgColor
627
+ "bg-color": e.bgColor
636
628
  }, null, 8, ["color", "show-border", "toggle", "bg-color"]),
637
- n["content-right"] ? (p(), y("div", _a, [
638
- V(B.$slots, "content-right", {}, void 0, !0)
639
- ])) : O("", !0)
629
+ a["content-right"] ? (l(), i("div", _t, [
630
+ y(x.$slots, "content-right", {}, void 0, !0)
631
+ ])) : g("", !0)
640
632
  ])
641
633
  ]),
642
- E("div", Ga, [
643
- ee(te, {
634
+ m("div", zt, [
635
+ D(A, {
644
636
  name: "collapse",
645
- onEnter: v,
646
- onAfterEnter: b,
647
- onLeave: h
637
+ onEnter: f,
638
+ onAfterEnter: p,
639
+ onLeave: b
648
640
  }, {
649
- default: J(() => [
650
- c.value ? (p(), y("div", {
651
- key: 0,
652
- class: S(["mx-xs my-2xs overflow-hidden rounded-md bg-opacity-80", I(A).bgColorVariant({ color: t.mobileMenuBgColor })])
653
- }, [
654
- n["mobile-content"] ? (p(), y("div", Ha, [
655
- V(B.$slots, "mobile-content", { headerClose: l }, void 0, !0)
656
- ])) : O("", !0)
657
- ], 2)) : O("", !0)
641
+ default: S(() => [
642
+ c.value ? (l(), i("div", jt, [
643
+ m("div", {
644
+ class: h(["mx-xs my-2xs overflow-hidden rounded-md bg-opacity-80", k(C).bgColorVariant({ color: e.mobileMenuBgColor })])
645
+ }, [
646
+ a["mobile-content"] ? (l(), i("div", Wt, [
647
+ y(x.$slots, "mobile-content", { headerClose: o }, void 0, !0)
648
+ ])) : g("", !0)
649
+ ], 2)
650
+ ])) : g("", !0)
658
651
  ]),
659
652
  _: 3
660
653
  })
661
654
  ])
662
655
  ], 2));
663
656
  }
664
- }), to = /* @__PURE__ */ re(Ma, [["__scopeId", "data-v-2ba87e4a"]]), Wa = { class: "flex h-full flex-col justify-between" }, za = { key: 0 }, Ka = { class: "relative z-40 block lg:hidden" }, Xa = {
657
+ }), $o = /* @__PURE__ */ N(Mt, [["__scopeId", "data-v-13a13d88"]]), Ft = { class: "flex h-full flex-col justify-between" }, Xt = { key: 0 }, Pt = {
658
+ key: 0,
659
+ class: "fixed top-0 right-0 z-50 mt-xs mr-xs block lg:hidden"
660
+ }, Yt = { class: "relative z-40 block lg:hidden" }, Ut = {
665
661
  key: 0,
666
662
  class: "fixed top-0 right-0 z-50 mt-xs mr-xs block lg:hidden"
667
- }, Ya = {
663
+ }, Kt = {
668
664
  key: 0,
669
665
  class: "h-full"
670
- }, Ua = /* @__PURE__ */ Y({
666
+ }, qt = /* @__PURE__ */ O({
671
667
  __name: "HeaderVertical",
672
668
  props: {
673
669
  bgColor: { default: "light-1" },
@@ -676,1087 +672,88 @@ const Kr = (t, e) => {
676
672
  headerWidth: { default: 160 }
677
673
  },
678
674
  emits: ["toggle-drawer"],
679
- setup(t, { expose: e, emit: a }) {
680
- const o = t, n = Z(), c = a, r = D(!1), u = (v) => {
681
- r.value = !r.value, c("toggle-drawer", v, r.value);
682
- }, l = () => {
683
- r.value = !1;
684
- }, d = _(() => ({ "--header-width": `${o.headerWidth}px` }));
685
- return We(() => {
686
- const v = pa(document);
687
- Q(r, (b) => {
688
- v.value = b;
675
+ setup(e, { expose: t, emit: u }) {
676
+ const d = e, a = z(), c = u, s = w(!1), n = w(!1), o = (p) => {
677
+ s.value = !s.value, c("toggle-drawer", p, s.value);
678
+ }, r = () => {
679
+ s.value = !1;
680
+ }, f = B(() => ({ "--header-width": `${d.headerWidth}px` }));
681
+ return F(() => {
682
+ n.value = !0;
683
+ const p = Ct(document);
684
+ E(s, (b) => {
685
+ p.value = b;
689
686
  });
690
- }), e({
691
- headerClose: l
692
- }), (v, b) => (p(), y("header", {
687
+ }), t({
688
+ headerClose: r
689
+ }), (p, b) => (l(), i("header", {
693
690
  class: "relative",
694
- style: ge(d.value)
691
+ style: W(f.value)
695
692
  }, [
696
- E("nav", {
697
- class: S(["header-desktop hidden overflow-y-scroll overscroll-contain py-sm lg:sticky lg:top-0 lg:left-0 lg:block lg:h-[100vh]", [I(A).bgColorVariant({ color: t.bgColor })]])
693
+ m("nav", {
694
+ class: h(["header-desktop hidden overflow-y-scroll overscroll-contain py-sm lg:sticky lg:top-0 lg:left-0 lg:block lg:h-[100vh]", [k(C).bgColorVariant({ color: e.bgColor })]])
698
695
  }, [
699
- E("div", Wa, [
700
- E("div", null, [
701
- V(v.$slots, "content", {}, void 0, !0)
696
+ m("div", Ft, [
697
+ m("div", null, [
698
+ y(p.$slots, "content", {}, void 0, !0)
702
699
  ]),
703
- n["content-bottom"] ? (p(), y("div", za, [
704
- V(v.$slots, "content-bottom", {}, void 0, !0)
705
- ])) : O("", !0)
700
+ a["content-bottom"] ? (l(), i("div", Xt, [
701
+ y(p.$slots, "content-bottom", {}, void 0, !0)
702
+ ])) : g("", !0)
706
703
  ])
707
704
  ], 2),
708
- (p(), Se(va, { to: "body" }, [
709
- E("div", Ka, [
710
- n["mobile-content"] ? (p(), y("div", Xa, [
711
- ee(Ue, {
712
- color: t.drawerBtnColor,
713
- "show-border": t.showDrawerBorder,
705
+ a["mobile-content"] && !n.value ? (l(), i("div", Pt, [
706
+ D(q, {
707
+ color: e.drawerBtnColor,
708
+ "show-border": e.showDrawerBorder,
709
+ class: "relative block lg:hidden",
710
+ onHbgClick: o,
711
+ toggle: s.value,
712
+ "bg-color": e.bgColor
713
+ }, null, 8, ["color", "show-border", "toggle", "bg-color"])
714
+ ])) : g("", !0),
715
+ n.value ? (l(), X(mt, {
716
+ key: 1,
717
+ to: "body"
718
+ }, [
719
+ m("div", Yt, [
720
+ a["mobile-content"] ? (l(), i("div", Ut, [
721
+ D(q, {
722
+ color: e.drawerBtnColor,
723
+ "show-border": e.showDrawerBorder,
714
724
  class: "relative block lg:hidden",
715
- onHbgClick: u,
716
- toggle: r.value,
717
- "bg-color": t.bgColor
725
+ onHbgClick: o,
726
+ toggle: s.value,
727
+ "bg-color": e.bgColor
718
728
  }, null, 8, ["color", "show-border", "toggle", "bg-color"])
719
- ])) : O("", !0),
720
- ee(te, {
729
+ ])) : g("", !0),
730
+ D(A, {
721
731
  name: "slide-down",
722
732
  appear: ""
723
733
  }, {
724
- default: J(() => [
725
- r.value ? (p(), y("nav", {
734
+ default: S(() => [
735
+ s.value ? (l(), i("nav", {
726
736
  key: 0,
727
- class: S(["fixed inset-0 overflow-y-scroll overscroll-contain px-sm py-lg", I(A).bgColorVariant({ color: t.bgColor })])
737
+ class: h(["fixed inset-0 overflow-y-scroll overscroll-contain px-sm py-lg", k(C).bgColorVariant({ color: e.bgColor })])
728
738
  }, [
729
- n["mobile-content"] ? (p(), y("div", Ya, [
730
- V(v.$slots, "mobile-content", { headerClose: l }, void 0, !0)
731
- ])) : O("", !0)
732
- ], 2)) : O("", !0)
739
+ a["mobile-content"] ? (l(), i("div", Kt, [
740
+ y(p.$slots, "mobile-content", { headerClose: r }, void 0, !0)
741
+ ])) : g("", !0)
742
+ ], 2)) : g("", !0)
733
743
  ]),
734
744
  _: 3
735
745
  })
736
746
  ])
737
- ]))
747
+ ])) : g("", !0)
738
748
  ], 4));
739
749
  }
740
- }), ao = /* @__PURE__ */ re(Ua, [["__scopeId", "data-v-91814bc1"]]);
741
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
742
- const qa = (t) => t != null;
743
- var qe = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], ye = /* @__PURE__ */ qe.join(","), Ze = typeof Element > "u", ue = Ze ? function() {
744
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, we = !Ze && Element.prototype.getRootNode ? function(t) {
745
- var e;
746
- return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
747
- } : function(t) {
748
- return t?.ownerDocument;
749
- }, Ce = function(e, a) {
750
- var o;
751
- a === void 0 && (a = !0);
752
- var n = e == null || (o = e.getAttribute) === null || o === void 0 ? void 0 : o.call(e, "inert"), c = n === "" || n === "true", r = c || a && e && // closest does not exist on shadow roots, so we fall back to a manual
753
- // lookup upward, in case it is not defined.
754
- (typeof e.closest == "function" ? e.closest("[inert]") : Ce(e.parentNode));
755
- return r;
756
- }, Za = function(e) {
757
- var a, o = e == null || (a = e.getAttribute) === null || a === void 0 ? void 0 : a.call(e, "contenteditable");
758
- return o === "" || o === "true";
759
- }, Je = function(e, a, o) {
760
- if (Ce(e))
761
- return [];
762
- var n = Array.prototype.slice.apply(e.querySelectorAll(ye));
763
- return a && ue.call(e, ye) && n.unshift(e), n = n.filter(o), n;
764
- }, ke = function(e, a, o) {
765
- for (var n = [], c = Array.from(e); c.length; ) {
766
- var r = c.shift();
767
- if (!Ce(r, !1))
768
- if (r.tagName === "SLOT") {
769
- var u = r.assignedElements(), l = u.length ? u : r.children, d = ke(l, !0, o);
770
- o.flatten ? n.push.apply(n, d) : n.push({
771
- scopeParent: r,
772
- candidates: d
773
- });
774
- } else {
775
- var v = ue.call(r, ye);
776
- v && o.filter(r) && (a || !e.includes(r)) && n.push(r);
777
- var b = r.shadowRoot || // check for an undisclosed shadow
778
- typeof o.getShadowRoot == "function" && o.getShadowRoot(r), h = !Ce(b, !1) && (!o.shadowRootFilter || o.shadowRootFilter(r));
779
- if (b && h) {
780
- var g = ke(b === !0 ? r.children : b.children, !0, o);
781
- o.flatten ? n.push.apply(n, g) : n.push({
782
- scopeParent: r,
783
- candidates: g
784
- });
785
- } else
786
- c.unshift.apply(c, r.children);
787
- }
788
- }
789
- return n;
790
- }, Qe = function(e) {
791
- return !isNaN(parseInt(e.getAttribute("tabindex"), 10));
792
- }, ce = function(e) {
793
- if (!e)
794
- throw new Error("No node provided");
795
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Za(e)) && !Qe(e) ? 0 : e.tabIndex;
796
- }, Ja = function(e, a) {
797
- var o = ce(e);
798
- return o < 0 && a && !Qe(e) ? 0 : o;
799
- }, Qa = function(e, a) {
800
- return e.tabIndex === a.tabIndex ? e.documentOrder - a.documentOrder : e.tabIndex - a.tabIndex;
801
- }, et = function(e) {
802
- return e.tagName === "INPUT";
803
- }, er = function(e) {
804
- return et(e) && e.type === "hidden";
805
- }, tr = function(e) {
806
- var a = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(o) {
807
- return o.tagName === "SUMMARY";
808
- });
809
- return a;
810
- }, ar = function(e, a) {
811
- for (var o = 0; o < e.length; o++)
812
- if (e[o].checked && e[o].form === a)
813
- return e[o];
814
- }, rr = function(e) {
815
- if (!e.name)
816
- return !0;
817
- var a = e.form || we(e), o = function(u) {
818
- return a.querySelectorAll('input[type="radio"][name="' + u + '"]');
819
- }, n;
820
- if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
821
- n = o(window.CSS.escape(e.name));
822
- else
823
- try {
824
- n = o(e.name);
825
- } catch (r) {
826
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", r.message), !1;
827
- }
828
- var c = ar(n, e.form);
829
- return !c || c === e;
830
- }, or = function(e) {
831
- return et(e) && e.type === "radio";
832
- }, nr = function(e) {
833
- return or(e) && !rr(e);
834
- }, ir = function(e) {
835
- var a, o = e && we(e), n = (a = o) === null || a === void 0 ? void 0 : a.host, c = !1;
836
- if (o && o !== e) {
837
- var r, u, l;
838
- for (c = !!((r = n) !== null && r !== void 0 && (u = r.ownerDocument) !== null && u !== void 0 && u.contains(n) || e != null && (l = e.ownerDocument) !== null && l !== void 0 && l.contains(e)); !c && n; ) {
839
- var d, v, b;
840
- o = we(n), n = (d = o) === null || d === void 0 ? void 0 : d.host, c = !!((v = n) !== null && v !== void 0 && (b = v.ownerDocument) !== null && b !== void 0 && b.contains(n));
841
- }
842
- }
843
- return c;
844
- }, $e = function(e) {
845
- var a = e.getBoundingClientRect(), o = a.width, n = a.height;
846
- return o === 0 && n === 0;
847
- }, sr = function(e, a) {
848
- var o = a.displayCheck, n = a.getShadowRoot;
849
- if (o === "full-native" && "checkVisibility" in e) {
850
- var c = e.checkVisibility({
851
- // Checking opacity might be desirable for some use cases, but natively,
852
- // opacity zero elements _are_ focusable and tabbable.
853
- checkOpacity: !1,
854
- opacityProperty: !1,
855
- contentVisibilityAuto: !0,
856
- visibilityProperty: !0,
857
- // This is an alias for `visibilityProperty`. Contemporary browsers
858
- // support both. However, this alias has wider browser support (Chrome
859
- // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
860
- // we include it anyway.
861
- checkVisibilityCSS: !0
862
- });
863
- return !c;
864
- }
865
- if (getComputedStyle(e).visibility === "hidden")
866
- return !0;
867
- var r = ue.call(e, "details>summary:first-of-type"), u = r ? e.parentElement : e;
868
- if (ue.call(u, "details:not([open]) *"))
869
- return !0;
870
- if (!o || o === "full" || // full-native can run this branch when it falls through in case
871
- // Element#checkVisibility is unsupported
872
- o === "full-native" || o === "legacy-full") {
873
- if (typeof n == "function") {
874
- for (var l = e; e; ) {
875
- var d = e.parentElement, v = we(e);
876
- if (d && !d.shadowRoot && n(d) === !0)
877
- return $e(e);
878
- e.assignedSlot ? e = e.assignedSlot : !d && v !== e.ownerDocument ? e = v.host : e = d;
879
- }
880
- e = l;
881
- }
882
- if (ir(e))
883
- return !e.getClientRects().length;
884
- if (o !== "legacy-full")
885
- return !0;
886
- } else if (o === "non-zero-area")
887
- return $e(e);
888
- return !1;
889
- }, lr = function(e) {
890
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
891
- for (var a = e.parentElement; a; ) {
892
- if (a.tagName === "FIELDSET" && a.disabled) {
893
- for (var o = 0; o < a.children.length; o++) {
894
- var n = a.children.item(o);
895
- if (n.tagName === "LEGEND")
896
- return ue.call(a, "fieldset[disabled] *") ? !0 : !n.contains(e);
897
- }
898
- return !0;
899
- }
900
- a = a.parentElement;
901
- }
902
- return !1;
903
- }, Te = function(e, a) {
904
- return !(a.disabled || er(a) || sr(a, e) || // For a details element with a summary, the summary element gets the focus
905
- tr(a) || lr(a));
906
- }, Ne = function(e, a) {
907
- return !(nr(a) || ce(a) < 0 || !Te(e, a));
908
- }, cr = function(e) {
909
- var a = parseInt(e.getAttribute("tabindex"), 10);
910
- return !!(isNaN(a) || a >= 0);
911
- }, tt = function(e) {
912
- var a = [], o = [];
913
- return e.forEach(function(n, c) {
914
- var r = !!n.scopeParent, u = r ? n.scopeParent : n, l = Ja(u, r), d = r ? tt(n.candidates) : u;
915
- l === 0 ? r ? a.push.apply(a, d) : a.push(u) : o.push({
916
- documentOrder: c,
917
- tabIndex: l,
918
- item: n,
919
- isScope: r,
920
- content: d
921
- });
922
- }), o.sort(Qa).reduce(function(n, c) {
923
- return c.isScope ? n.push.apply(n, c.content) : n.push(c.content), n;
924
- }, []).concat(a);
925
- }, ur = function(e, a) {
926
- a = a || {};
927
- var o;
928
- return a.getShadowRoot ? o = ke([e], a.includeContainer, {
929
- filter: Ne.bind(null, a),
930
- flatten: !1,
931
- getShadowRoot: a.getShadowRoot,
932
- shadowRootFilter: cr
933
- }) : o = Je(e, a.includeContainer, Ne.bind(null, a)), tt(o);
934
- }, dr = function(e, a) {
935
- a = a || {};
936
- var o;
937
- return a.getShadowRoot ? o = ke([e], a.includeContainer, {
938
- filter: Te.bind(null, a),
939
- flatten: !0,
940
- getShadowRoot: a.getShadowRoot
941
- }) : o = Je(e, a.includeContainer, Te.bind(null, a)), o;
942
- }, fe = function(e, a) {
943
- if (a = a || {}, !e)
944
- throw new Error("No node provided");
945
- return ue.call(e, ye) === !1 ? !1 : Ne(a, e);
946
- }, fr = /* @__PURE__ */ qe.concat("iframe:not([inert]):not([inert] *)").join(","), Ee = function(e, a) {
947
- if (a = a || {}, !e)
948
- throw new Error("No node provided");
949
- return ue.call(e, fr) === !1 ? !1 : Te(a, e);
950
- };
951
- function Oe(t, e) {
952
- (e == null || e > t.length) && (e = t.length);
953
- for (var a = 0, o = Array(e); a < e; a++) o[a] = t[a];
954
- return o;
955
- }
956
- function vr(t) {
957
- if (Array.isArray(t)) return Oe(t);
958
- }
959
- function Pe(t, e, a, o, n, c, r) {
960
- try {
961
- var u = t[c](r), l = u.value;
962
- } catch (d) {
963
- return void a(d);
964
- }
965
- u.done ? e(l) : Promise.resolve(l).then(o, n);
966
- }
967
- function je(t) {
968
- return function() {
969
- var e = this, a = arguments;
970
- return new Promise(function(o, n) {
971
- var c = t.apply(e, a);
972
- function r(l) {
973
- Pe(c, o, n, r, u, "next", l);
974
- }
975
- function u(l) {
976
- Pe(c, o, n, r, u, "throw", l);
977
- }
978
- r(void 0);
979
- });
980
- };
981
- }
982
- function _e(t, e) {
983
- var a = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
984
- if (!a) {
985
- if (Array.isArray(t) || (a = at(t)) || e) {
986
- a && (t = a);
987
- var o = 0, n = function() {
988
- };
989
- return {
990
- s: n,
991
- n: function() {
992
- return o >= t.length ? {
993
- done: !0
994
- } : {
995
- done: !1,
996
- value: t[o++]
997
- };
998
- },
999
- e: function(l) {
1000
- throw l;
1001
- },
1002
- f: n
1003
- };
1004
- }
1005
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1006
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1007
- }
1008
- var c, r = !0, u = !1;
1009
- return {
1010
- s: function() {
1011
- a = a.call(t);
1012
- },
1013
- n: function() {
1014
- var l = a.next();
1015
- return r = l.done, l;
1016
- },
1017
- e: function(l) {
1018
- u = !0, c = l;
1019
- },
1020
- f: function() {
1021
- try {
1022
- r || a.return == null || a.return();
1023
- } finally {
1024
- if (u) throw c;
1025
- }
1026
- }
1027
- };
1028
- }
1029
- function br(t, e, a) {
1030
- return (e = yr(e)) in t ? Object.defineProperty(t, e, {
1031
- value: a,
1032
- enumerable: !0,
1033
- configurable: !0,
1034
- writable: !0
1035
- }) : t[e] = a, t;
1036
- }
1037
- function hr(t) {
1038
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
1039
- }
1040
- function pr() {
1041
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
1042
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1043
- }
1044
- function Ge(t, e) {
1045
- var a = Object.keys(t);
1046
- if (Object.getOwnPropertySymbols) {
1047
- var o = Object.getOwnPropertySymbols(t);
1048
- e && (o = o.filter(function(n) {
1049
- return Object.getOwnPropertyDescriptor(t, n).enumerable;
1050
- })), a.push.apply(a, o);
1051
- }
1052
- return a;
1053
- }
1054
- function He(t) {
1055
- for (var e = 1; e < arguments.length; e++) {
1056
- var a = arguments[e] != null ? arguments[e] : {};
1057
- e % 2 ? Ge(Object(a), !0).forEach(function(o) {
1058
- br(t, o, a[o]);
1059
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : Ge(Object(a)).forEach(function(o) {
1060
- Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(a, o));
1061
- });
1062
- }
1063
- return t;
1064
- }
1065
- function be() {
1066
- var t, e, a = typeof Symbol == "function" ? Symbol : {}, o = a.iterator || "@@iterator", n = a.toStringTag || "@@toStringTag";
1067
- function c(g, L, B, $) {
1068
- var G = L && L.prototype instanceof u ? L : u, M = Object.create(G.prototype);
1069
- return q(M, "_invoke", (function(se, oe, ne) {
1070
- var W, F, R, z = 0, j = ne || [], H = !1, K = {
1071
- p: 0,
1072
- n: 0,
1073
- v: t,
1074
- a: N,
1075
- f: N.bind(t, 4),
1076
- d: function(i, s) {
1077
- return W = i, F = 0, R = t, K.n = s, r;
1078
- }
1079
- };
1080
- function N(i, s) {
1081
- for (F = i, R = s, e = 0; !H && z && !f && e < j.length; e++) {
1082
- var f, m = j[e], C = K.p, k = m[2];
1083
- i > 3 ? (f = k === s) && (R = m[(F = m[4]) ? 5 : (F = 3, 3)], m[4] = m[5] = t) : m[0] <= C && ((f = i < 2 && C < m[1]) ? (F = 0, K.v = s, K.n = m[1]) : C < k && (f = i < 3 || m[0] > s || s > k) && (m[4] = i, m[5] = s, K.n = k, F = 0));
1084
- }
1085
- if (f || i > 1) return r;
1086
- throw H = !0, s;
1087
- }
1088
- return function(i, s, f) {
1089
- if (z > 1) throw TypeError("Generator is already running");
1090
- for (H && s === 1 && N(s, f), F = s, R = f; (e = F < 2 ? t : R) || !H; ) {
1091
- W || (F ? F < 3 ? (F > 1 && (K.n = -1), N(F, R)) : K.n = R : K.v = R);
1092
- try {
1093
- if (z = 2, W) {
1094
- if (F || (i = "next"), e = W[i]) {
1095
- if (!(e = e.call(W, R))) throw TypeError("iterator result is not an object");
1096
- if (!e.done) return e;
1097
- R = e.value, F < 2 && (F = 0);
1098
- } else F === 1 && (e = W.return) && e.call(W), F < 2 && (R = TypeError("The iterator does not provide a '" + i + "' method"), F = 1);
1099
- W = t;
1100
- } else if ((e = (H = K.n < 0) ? R : se.call(oe, K)) !== r) break;
1101
- } catch (m) {
1102
- W = t, F = 1, R = m;
1103
- } finally {
1104
- z = 1;
1105
- }
1106
- }
1107
- return {
1108
- value: e,
1109
- done: H
1110
- };
1111
- };
1112
- })(g, B, $), !0), M;
1113
- }
1114
- var r = {};
1115
- function u() {
1116
- }
1117
- function l() {
1118
- }
1119
- function d() {
1120
- }
1121
- e = Object.getPrototypeOf;
1122
- var v = [][o] ? e(e([][o]())) : (q(e = {}, o, function() {
1123
- return this;
1124
- }), e), b = d.prototype = u.prototype = Object.create(v);
1125
- function h(g) {
1126
- return Object.setPrototypeOf ? Object.setPrototypeOf(g, d) : (g.__proto__ = d, q(g, n, "GeneratorFunction")), g.prototype = Object.create(b), g;
1127
- }
1128
- return l.prototype = d, q(b, "constructor", d), q(d, "constructor", l), l.displayName = "GeneratorFunction", q(d, n, "GeneratorFunction"), q(b), q(b, n, "Generator"), q(b, o, function() {
1129
- return this;
1130
- }), q(b, "toString", function() {
1131
- return "[object Generator]";
1132
- }), (be = function() {
1133
- return {
1134
- w: c,
1135
- m: h
1136
- };
1137
- })();
1138
- }
1139
- function q(t, e, a, o) {
1140
- var n = Object.defineProperty;
1141
- try {
1142
- n({}, "", {});
1143
- } catch {
1144
- n = 0;
1145
- }
1146
- q = function(c, r, u, l) {
1147
- function d(v, b) {
1148
- q(c, v, function(h) {
1149
- return this._invoke(v, b, h);
1150
- });
1151
- }
1152
- r ? n ? n(c, r, {
1153
- value: u,
1154
- enumerable: !l,
1155
- configurable: !l,
1156
- writable: !l
1157
- }) : c[r] = u : (d("next", 0), d("throw", 1), d("return", 2));
1158
- }, q(t, e, a, o);
1159
- }
1160
- function gr(t) {
1161
- return vr(t) || hr(t) || at(t) || pr();
1162
- }
1163
- function mr(t, e) {
1164
- if (typeof t != "object" || !t) return t;
1165
- var a = t[Symbol.toPrimitive];
1166
- if (a !== void 0) {
1167
- var o = a.call(t, e);
1168
- if (typeof o != "object") return o;
1169
- throw new TypeError("@@toPrimitive must return a primitive value.");
1170
- }
1171
- return (e === "string" ? String : Number)(t);
1172
- }
1173
- function yr(t) {
1174
- var e = mr(t, "string");
1175
- return typeof e == "symbol" ? e : e + "";
1176
- }
1177
- function at(t, e) {
1178
- if (t) {
1179
- if (typeof t == "string") return Oe(t, e);
1180
- var a = {}.toString.call(t).slice(8, -1);
1181
- return a === "Object" && t.constructor && (a = t.constructor.name), a === "Map" || a === "Set" ? Array.from(t) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Oe(t, e) : void 0;
1182
- }
1183
- }
1184
- var ae = {
1185
- // Returns the trap from the top of the stack.
1186
- getActiveTrap: function(e) {
1187
- return e?.length > 0 ? e[e.length - 1] : null;
1188
- },
1189
- // Pauses the currently active trap, then adds a new trap to the stack.
1190
- activateTrap: function(e, a) {
1191
- var o = ae.getActiveTrap(e);
1192
- a !== o && ae.pauseTrap(e);
1193
- var n = e.indexOf(a);
1194
- n === -1 || e.splice(n, 1), e.push(a);
1195
- },
1196
- // Removes the trap from the top of the stack, then unpauses the next trap down.
1197
- deactivateTrap: function(e, a) {
1198
- var o = e.indexOf(a);
1199
- o !== -1 && e.splice(o, 1), ae.unpauseTrap(e);
1200
- },
1201
- // Pauses the trap at the top of the stack.
1202
- pauseTrap: function(e) {
1203
- var a = ae.getActiveTrap(e);
1204
- a?._setPausedState(!0);
1205
- },
1206
- // Unpauses the trap at the top of the stack.
1207
- unpauseTrap: function(e) {
1208
- var a = ae.getActiveTrap(e);
1209
- a && !a._isManuallyPaused() && a._setPausedState(!1);
1210
- }
1211
- }, wr = function(e) {
1212
- return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
1213
- }, Cr = function(e) {
1214
- return e?.key === "Escape" || e?.key === "Esc" || e?.keyCode === 27;
1215
- }, pe = function(e) {
1216
- return e?.key === "Tab" || e?.keyCode === 9;
1217
- }, kr = function(e) {
1218
- return pe(e) && !e.shiftKey;
1219
- }, Tr = function(e) {
1220
- return pe(e) && e.shiftKey;
1221
- }, Me = function(e) {
1222
- return setTimeout(e, 0);
1223
- }, ve = function(e) {
1224
- for (var a = arguments.length, o = new Array(a > 1 ? a - 1 : 0), n = 1; n < a; n++)
1225
- o[n - 1] = arguments[n];
1226
- return typeof e == "function" ? e.apply(void 0, o) : e;
1227
- }, me = function(e) {
1228
- return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
1229
- }, Sr = [], xr = function(e, a) {
1230
- var o = a?.document || document, n = a?.trapStack || Sr, c = He({
1231
- returnFocusOnDeactivate: !0,
1232
- escapeDeactivates: !0,
1233
- delayInitialFocus: !0,
1234
- delayReturnFocus: !0,
1235
- isolateSubtrees: !1,
1236
- isKeyForward: kr,
1237
- isKeyBackward: Tr
1238
- }, a), r = {
1239
- // containers given to createFocusTrap()
1240
- /** @type {Array<HTMLElement>} */
1241
- containers: [],
1242
- // list of objects identifying tabbable nodes in `containers` in the trap
1243
- // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
1244
- // is active, but the trap should never get to a state where there isn't at least one group
1245
- // with at least one tabbable node in it (that would lead to an error condition that would
1246
- // result in an error being thrown)
1247
- /** @type {Array<{
1248
- * container: HTMLElement,
1249
- * tabbableNodes: Array<HTMLElement>, // empty if none
1250
- * focusableNodes: Array<HTMLElement>, // empty if none
1251
- * posTabIndexesFound: boolean,
1252
- * firstTabbableNode: HTMLElement|undefined,
1253
- * lastTabbableNode: HTMLElement|undefined,
1254
- * firstDomTabbableNode: HTMLElement|undefined,
1255
- * lastDomTabbableNode: HTMLElement|undefined,
1256
- * nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
1257
- * }>}
1258
- */
1259
- containerGroups: [],
1260
- // same order/length as `containers` list
1261
- // references to objects in `containerGroups`, but only those that actually have
1262
- // tabbable nodes in them
1263
- // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
1264
- // the same length
1265
- tabbableGroups: [],
1266
- // references to nodes that are siblings to the ancestors of this trap's containers.
1267
- /** @type {Set<HTMLElement>} */
1268
- adjacentElements: /* @__PURE__ */ new Set(),
1269
- // references to nodes that were inert or aria-hidden before the trap was activated.
1270
- /** @type {Set<HTMLElement>} */
1271
- alreadySilent: /* @__PURE__ */ new Set(),
1272
- nodeFocusedBeforeActivation: null,
1273
- mostRecentlyFocusedNode: null,
1274
- active: !1,
1275
- paused: !1,
1276
- manuallyPaused: !1,
1277
- // timer ID for when delayInitialFocus is true and initial focus in this trap
1278
- // has been delayed during activation
1279
- delayInitialFocusTimer: void 0,
1280
- // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
1281
- recentNavEvent: void 0
1282
- }, u, l = function(i, s, f) {
1283
- return i && i[s] !== void 0 ? i[s] : c[f || s];
1284
- }, d = function(i, s) {
1285
- var f = typeof s?.composedPath == "function" ? s.composedPath() : void 0;
1286
- return r.containerGroups.findIndex(function(m) {
1287
- var C = m.container, k = m.tabbableNodes;
1288
- return C.contains(i) || f?.includes(C) || k.find(function(w) {
1289
- return w === i;
1290
- });
1291
- });
1292
- }, v = function(i) {
1293
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = s.hasFallback, m = f === void 0 ? !1 : f, C = s.params, k = C === void 0 ? [] : C, w = c[i];
1294
- if (typeof w == "function" && (w = w.apply(void 0, gr(k))), w === !0 && (w = void 0), !w) {
1295
- if (w === void 0 || w === !1)
1296
- return w;
1297
- throw new Error("`".concat(i, "` was specified but was not a node, or did not return a node"));
1298
- }
1299
- var x = w;
1300
- if (typeof w == "string") {
1301
- try {
1302
- x = o.querySelector(w);
1303
- } catch (T) {
1304
- throw new Error("`".concat(i, '` appears to be an invalid selector; error="').concat(T.message, '"'));
1305
- }
1306
- if (!x && !m)
1307
- throw new Error("`".concat(i, "` as selector refers to no known node"));
1308
- }
1309
- return x;
1310
- }, b = function() {
1311
- var i = v("initialFocus", {
1312
- hasFallback: !0
1313
- });
1314
- if (i === !1)
1315
- return !1;
1316
- if (i === void 0 || i && !Ee(i, c.tabbableOptions))
1317
- if (d(o.activeElement) >= 0)
1318
- i = o.activeElement;
1319
- else {
1320
- var s = r.tabbableGroups[0], f = s && s.firstTabbableNode;
1321
- i = f || v("fallbackFocus");
1322
- }
1323
- else i === null && (i = v("fallbackFocus"));
1324
- if (!i)
1325
- throw new Error("Your focus-trap needs to have at least one focusable element");
1326
- return i;
1327
- }, h = function() {
1328
- if (r.containerGroups = r.containers.map(function(i) {
1329
- var s = ur(i, c.tabbableOptions), f = dr(i, c.tabbableOptions), m = s.length > 0 ? s[0] : void 0, C = s.length > 0 ? s[s.length - 1] : void 0, k = f.find(function(T) {
1330
- return fe(T);
1331
- }), w = f.slice().reverse().find(function(T) {
1332
- return fe(T);
1333
- }), x = !!s.find(function(T) {
1334
- return ce(T) > 0;
1335
- });
1336
- return {
1337
- container: i,
1338
- tabbableNodes: s,
1339
- focusableNodes: f,
1340
- /** True if at least one node with positive `tabindex` was found in this container. */
1341
- posTabIndexesFound: x,
1342
- /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
1343
- firstTabbableNode: m,
1344
- /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
1345
- lastTabbableNode: C,
1346
- // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
1347
- // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
1348
- // because that API doesn't work with Shadow DOM as well as it should (@see
1349
- // https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
1350
- // to address an edge case related to positive tabindex support, this seems like a much easier,
1351
- // "close enough most of the time" alternative for positive tabindexes which should generally
1352
- // be avoided anyway...
1353
- /** First tabbable node in container, __DOM__ order; `undefined` if none. */
1354
- firstDomTabbableNode: k,
1355
- /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
1356
- lastDomTabbableNode: w,
1357
- /**
1358
- * Finds the __tabbable__ node that follows the given node in the specified direction,
1359
- * in this container, if any.
1360
- * @param {HTMLElement} node
1361
- * @param {boolean} [forward] True if going in forward tab order; false if going
1362
- * in reverse.
1363
- * @returns {HTMLElement|undefined} The next tabbable node, if any.
1364
- */
1365
- nextTabbableNode: function(P) {
1366
- var U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, X = s.indexOf(P);
1367
- return X < 0 ? U ? f.slice(f.indexOf(P) + 1).find(function(le) {
1368
- return fe(le);
1369
- }) : f.slice(0, f.indexOf(P)).reverse().find(function(le) {
1370
- return fe(le);
1371
- }) : s[X + (U ? 1 : -1)];
1372
- }
1373
- };
1374
- }), r.tabbableGroups = r.containerGroups.filter(function(i) {
1375
- return i.tabbableNodes.length > 0;
1376
- }), r.tabbableGroups.length <= 0 && !v("fallbackFocus"))
1377
- throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
1378
- if (r.containerGroups.find(function(i) {
1379
- return i.posTabIndexesFound;
1380
- }) && r.containerGroups.length > 1)
1381
- throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
1382
- }, g = function(i) {
1383
- var s = i.activeElement;
1384
- if (s)
1385
- return s.shadowRoot && s.shadowRoot.activeElement !== null ? g(s.shadowRoot) : s;
1386
- }, L = function(i) {
1387
- if (i !== !1 && i !== g(document)) {
1388
- if (!i || !i.focus) {
1389
- L(b());
1390
- return;
1391
- }
1392
- i.focus({
1393
- preventScroll: !!c.preventScroll
1394
- }), r.mostRecentlyFocusedNode = i, wr(i) && i.select();
1395
- }
1396
- }, B = function(i) {
1397
- var s = v("setReturnFocus", {
1398
- params: [i]
1399
- });
1400
- return s || (s === !1 ? !1 : i);
1401
- }, $ = function(i) {
1402
- var s = i.target, f = i.event, m = i.isBackward, C = m === void 0 ? !1 : m;
1403
- s = s || me(f), h();
1404
- var k = null;
1405
- if (r.tabbableGroups.length > 0) {
1406
- var w = d(s, f), x = w >= 0 ? r.containerGroups[w] : void 0;
1407
- if (w < 0)
1408
- C ? k = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : k = r.tabbableGroups[0].firstTabbableNode;
1409
- else if (C) {
1410
- var T = r.tabbableGroups.findIndex(function(xe) {
1411
- var Re = xe.firstTabbableNode;
1412
- return s === Re;
1413
- });
1414
- if (T < 0 && (x.container === s || Ee(s, c.tabbableOptions) && !fe(s, c.tabbableOptions) && !x.nextTabbableNode(s, !1)) && (T = w), T >= 0) {
1415
- var P = T === 0 ? r.tabbableGroups.length - 1 : T - 1, U = r.tabbableGroups[P];
1416
- k = ce(s) >= 0 ? U.lastTabbableNode : U.lastDomTabbableNode;
1417
- } else pe(f) || (k = x.nextTabbableNode(s, !1));
1418
- } else {
1419
- var X = r.tabbableGroups.findIndex(function(xe) {
1420
- var Re = xe.lastTabbableNode;
1421
- return s === Re;
1422
- });
1423
- if (X < 0 && (x.container === s || Ee(s, c.tabbableOptions) && !fe(s, c.tabbableOptions) && !x.nextTabbableNode(s)) && (X = w), X >= 0) {
1424
- var le = X === r.tabbableGroups.length - 1 ? 0 : X + 1, ie = r.tabbableGroups[le];
1425
- k = ce(s) >= 0 ? ie.firstTabbableNode : ie.firstDomTabbableNode;
1426
- } else pe(f) || (k = x.nextTabbableNode(s));
1427
- }
1428
- } else
1429
- k = v("fallbackFocus");
1430
- return k;
1431
- }, G = function(i) {
1432
- var s = me(i);
1433
- if (!(d(s, i) >= 0)) {
1434
- if (ve(c.clickOutsideDeactivates, i)) {
1435
- u.deactivate({
1436
- // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
1437
- // which will result in the outside click setting focus to the node
1438
- // that was clicked (and if not focusable, to "nothing"); by setting
1439
- // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
1440
- // on activation (or the configured `setReturnFocus` node), whether the
1441
- // outside click was on a focusable node or not
1442
- returnFocus: c.returnFocusOnDeactivate
1443
- });
1444
- return;
1445
- }
1446
- ve(c.allowOutsideClick, i) || i.preventDefault();
1447
- }
1448
- }, M = function(i) {
1449
- var s = me(i), f = d(s, i) >= 0;
1450
- if (f || s instanceof Document)
1451
- f && (r.mostRecentlyFocusedNode = s);
1452
- else {
1453
- i.stopImmediatePropagation();
1454
- var m, C = !0;
1455
- if (r.mostRecentlyFocusedNode)
1456
- if (ce(r.mostRecentlyFocusedNode) > 0) {
1457
- var k = d(r.mostRecentlyFocusedNode), w = r.containerGroups[k].tabbableNodes;
1458
- if (w.length > 0) {
1459
- var x = w.findIndex(function(T) {
1460
- return T === r.mostRecentlyFocusedNode;
1461
- });
1462
- x >= 0 && (c.isKeyForward(r.recentNavEvent) ? x + 1 < w.length && (m = w[x + 1], C = !1) : x - 1 >= 0 && (m = w[x - 1], C = !1));
1463
- }
1464
- } else
1465
- r.containerGroups.some(function(T) {
1466
- return T.tabbableNodes.some(function(P) {
1467
- return ce(P) > 0;
1468
- });
1469
- }) || (C = !1);
1470
- else
1471
- C = !1;
1472
- C && (m = $({
1473
- // move FROM the MRU node, not event-related node (which will be the node that is
1474
- // outside the trap causing the focus escape we're trying to fix)
1475
- target: r.mostRecentlyFocusedNode,
1476
- isBackward: c.isKeyBackward(r.recentNavEvent)
1477
- })), L(m || r.mostRecentlyFocusedNode || b());
1478
- }
1479
- r.recentNavEvent = void 0;
1480
- }, se = function(i) {
1481
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1482
- r.recentNavEvent = i;
1483
- var f = $({
1484
- event: i,
1485
- isBackward: s
1486
- });
1487
- f && (pe(i) && i.preventDefault(), L(f));
1488
- }, oe = function(i) {
1489
- (c.isKeyForward(i) || c.isKeyBackward(i)) && se(i, c.isKeyBackward(i));
1490
- }, ne = function(i) {
1491
- Cr(i) && ve(c.escapeDeactivates, i) !== !1 && (i.preventDefault(), u.deactivate());
1492
- }, W = function(i) {
1493
- var s = me(i);
1494
- d(s, i) >= 0 || ve(c.clickOutsideDeactivates, i) || ve(c.allowOutsideClick, i) || (i.preventDefault(), i.stopImmediatePropagation());
1495
- }, F = function() {
1496
- if (!r.active)
1497
- return Promise.resolve();
1498
- ae.activateTrap(n, u);
1499
- var i;
1500
- return c.delayInitialFocus ? i = new Promise(function(s) {
1501
- r.delayInitialFocusTimer = Me(function() {
1502
- L(b()), s();
1503
- });
1504
- }) : (i = Promise.resolve(), L(b())), o.addEventListener("focusin", M, !0), o.addEventListener("mousedown", G, {
1505
- capture: !0,
1506
- passive: !1
1507
- }), o.addEventListener("touchstart", G, {
1508
- capture: !0,
1509
- passive: !1
1510
- }), o.addEventListener("click", W, {
1511
- capture: !0,
1512
- passive: !1
1513
- }), o.addEventListener("keydown", oe, {
1514
- capture: !0,
1515
- passive: !1
1516
- }), o.addEventListener("keydown", ne), i;
1517
- }, R = function(i) {
1518
- r.active && !r.paused && u._setSubtreeIsolation(!1), r.adjacentElements.clear(), r.alreadySilent.clear();
1519
- var s = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), m = _e(i), C;
1520
- try {
1521
- for (m.s(); !(C = m.n()).done; ) {
1522
- var k = C.value;
1523
- s.add(k);
1524
- for (var w = typeof ShadowRoot < "u" && k.getRootNode() instanceof ShadowRoot, x = k; x; ) {
1525
- s.add(x);
1526
- var T = x.parentElement, P = [];
1527
- T ? P = T.children : !T && w && (P = x.getRootNode().children, T = x.getRootNode().host, w = typeof ShadowRoot < "u" && T.getRootNode() instanceof ShadowRoot);
1528
- var U = _e(P), X;
1529
- try {
1530
- for (U.s(); !(X = U.n()).done; ) {
1531
- var le = X.value;
1532
- f.add(le);
1533
- }
1534
- } catch (ie) {
1535
- U.e(ie);
1536
- } finally {
1537
- U.f();
1538
- }
1539
- x = T;
1540
- }
1541
- }
1542
- } catch (ie) {
1543
- m.e(ie);
1544
- } finally {
1545
- m.f();
1546
- }
1547
- s.forEach(function(ie) {
1548
- f.delete(ie);
1549
- }), r.adjacentElements = f;
1550
- }, z = function() {
1551
- if (r.active)
1552
- return o.removeEventListener("focusin", M, !0), o.removeEventListener("mousedown", G, !0), o.removeEventListener("touchstart", G, !0), o.removeEventListener("click", W, !0), o.removeEventListener("keydown", oe, !0), o.removeEventListener("keydown", ne), u;
1553
- }, j = function(i) {
1554
- var s = r.mostRecentlyFocusedNode;
1555
- if (s) {
1556
- var f = i.some(function(C) {
1557
- var k = Array.from(C.removedNodes);
1558
- return k.some(function(w) {
1559
- return w === s || typeof w.contains == "function" && w.contains(s);
1560
- });
1561
- });
1562
- if (f && r.containers.some(function(C) {
1563
- return C?.isConnected;
1564
- })) {
1565
- h();
1566
- var m = b();
1567
- L(m);
1568
- }
1569
- }
1570
- }, H = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(j) : void 0, K = function() {
1571
- H && (H.disconnect(), r.active && !r.paused && r.containers.map(function(i) {
1572
- H.observe(i, {
1573
- subtree: !0,
1574
- childList: !0
1575
- });
1576
- }));
1577
- };
1578
- return u = {
1579
- get active() {
1580
- return r.active;
1581
- },
1582
- get paused() {
1583
- return r.paused;
1584
- },
1585
- activate: function(i) {
1586
- if (r.active)
1587
- return this;
1588
- var s = l(i, "onActivate"), f = l(i, "onPostActivate"), m = l(i, "checkCanFocusTrap"), C = ae.getActiveTrap(n), k = !1;
1589
- if (C && !C.paused) {
1590
- var w;
1591
- (w = C._setSubtreeIsolation) === null || w === void 0 || w.call(C, !1), k = !0;
1592
- }
1593
- try {
1594
- m || h(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = g(o), s?.({
1595
- trap: u
1596
- });
1597
- var x = /* @__PURE__ */ (function() {
1598
- var P = je(/* @__PURE__ */ be().m(function U() {
1599
- return be().w(function(X) {
1600
- for (; ; ) switch (X.n) {
1601
- case 0:
1602
- return m && h(), X.n = 1, F();
1603
- case 1:
1604
- u._setSubtreeIsolation(!0), K(), f?.({
1605
- trap: u
1606
- });
1607
- case 2:
1608
- return X.a(2);
1609
- }
1610
- }, U);
1611
- }));
1612
- return function() {
1613
- return P.apply(this, arguments);
1614
- };
1615
- })();
1616
- if (m)
1617
- return m(r.containers.concat()).then(x, x), this;
1618
- x();
1619
- } catch (P) {
1620
- if (C === ae.getActiveTrap(n) && k) {
1621
- var T;
1622
- (T = C._setSubtreeIsolation) === null || T === void 0 || T.call(C, !0);
1623
- }
1624
- throw P;
1625
- }
1626
- return this;
1627
- },
1628
- deactivate: function(i) {
1629
- if (!r.active)
1630
- return this;
1631
- var s = He({
1632
- onDeactivate: c.onDeactivate,
1633
- onPostDeactivate: c.onPostDeactivate,
1634
- checkCanReturnFocus: c.checkCanReturnFocus
1635
- }, i);
1636
- clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, r.paused || u._setSubtreeIsolation(!1), r.alreadySilent.clear(), z(), r.active = !1, r.paused = !1, K(), ae.deactivateTrap(n, u);
1637
- var f = l(s, "onDeactivate"), m = l(s, "onPostDeactivate"), C = l(s, "checkCanReturnFocus"), k = l(s, "delayReturnFocus"), w = l(s, "returnFocus", "returnFocusOnDeactivate");
1638
- f?.({
1639
- trap: u
1640
- });
1641
- var x = function() {
1642
- w && L(B(r.nodeFocusedBeforeActivation)), m?.({
1643
- trap: u
1644
- });
1645
- }, T = function() {
1646
- k && w ? Me(x) : x();
1647
- };
1648
- return w && C ? (C(B(r.nodeFocusedBeforeActivation)).then(T, T), this) : (T(), this);
1649
- },
1650
- pause: function(i) {
1651
- return r.active ? (r.manuallyPaused = !0, this._setPausedState(!0, i)) : this;
1652
- },
1653
- unpause: function(i) {
1654
- return r.active ? (r.manuallyPaused = !1, n[n.length - 1] !== this ? this : this._setPausedState(!1, i)) : this;
1655
- },
1656
- updateContainerElements: function(i) {
1657
- var s = [].concat(i).filter(Boolean);
1658
- return r.containers = s.map(function(f) {
1659
- return typeof f == "string" ? o.querySelector(f) : f;
1660
- }), c.isolateSubtrees && R(r.containers), r.active && (h(), r.paused || u._setSubtreeIsolation(!0)), K(), this;
1661
- }
1662
- }, Object.defineProperties(u, {
1663
- _isManuallyPaused: {
1664
- value: function() {
1665
- return r.manuallyPaused;
1666
- }
1667
- },
1668
- _setPausedState: {
1669
- value: function(i, s) {
1670
- if (r.paused === i)
1671
- return this;
1672
- if (r.paused = i, i) {
1673
- var f = l(s, "onPause"), m = l(s, "onPostPause");
1674
- f?.({
1675
- trap: u
1676
- }), z(), u._setSubtreeIsolation(!1), K(), m?.({
1677
- trap: u
1678
- });
1679
- } else {
1680
- var C = l(s, "onUnpause"), k = l(s, "onPostUnpause");
1681
- C?.({
1682
- trap: u
1683
- });
1684
- var w = /* @__PURE__ */ (function() {
1685
- var x = je(/* @__PURE__ */ be().m(function T() {
1686
- return be().w(function(P) {
1687
- for (; ; ) switch (P.n) {
1688
- case 0:
1689
- return h(), P.n = 1, F();
1690
- case 1:
1691
- u._setSubtreeIsolation(!0), K(), k?.({
1692
- trap: u
1693
- });
1694
- case 2:
1695
- return P.a(2);
1696
- }
1697
- }, T);
1698
- }));
1699
- return function() {
1700
- return x.apply(this, arguments);
1701
- };
1702
- })();
1703
- w();
1704
- }
1705
- return this;
1706
- }
1707
- },
1708
- _setSubtreeIsolation: {
1709
- value: function(i) {
1710
- c.isolateSubtrees && r.adjacentElements.forEach(function(s) {
1711
- var f;
1712
- i ? c.isolateSubtrees === "aria-hidden" ? ((s.ariaHidden === "true" || ((f = s.getAttribute("aria-hidden")) === null || f === void 0 ? void 0 : f.toLowerCase()) === "true") && r.alreadySilent.add(s), s.setAttribute("aria-hidden", "true")) : ((s.inert || s.hasAttribute("inert")) && r.alreadySilent.add(s), s.setAttribute("inert", !0)) : r.alreadySilent.has(s) || (c.isolateSubtrees === "aria-hidden" ? s.removeAttribute("aria-hidden") : s.removeAttribute("inert"));
1713
- });
1714
- }
1715
- }
1716
- }), u.updateContainerElements(e), u;
1717
- };
1718
- function rt(t, e = {}) {
1719
- let a;
1720
- const { immediate: o, ...n } = e, c = Fe(!1), r = Fe(!1), u = (b) => a && a.activate(b), l = (b) => a && a.deactivate(b), d = () => {
1721
- a && (a.pause(), r.value = !0);
1722
- }, v = () => {
1723
- a && (a.unpause(), r.value = !1);
1724
- };
1725
- return Q(_(() => ga(Le(t)).map((b) => {
1726
- const h = Le(b);
1727
- return typeof h == "string" ? h : ma(h);
1728
- }).filter(qa)), (b) => {
1729
- if (b.length)
1730
- if (!a)
1731
- a = xr(b, {
1732
- ...n,
1733
- onActivate(h) {
1734
- c.value = !0, e.onActivate && e.onActivate(h);
1735
- },
1736
- onDeactivate(h) {
1737
- c.value = !1, e.onDeactivate && e.onDeactivate(h);
1738
- }
1739
- }), o && u();
1740
- else {
1741
- const h = a?.active;
1742
- a?.updateContainerElements(b), !h && o && u();
1743
- }
1744
- }, { flush: "post" }), ya(() => l()), {
1745
- hasFocus: c,
1746
- isPaused: r,
1747
- activate: u,
1748
- deactivate: l,
1749
- pause: d,
1750
- unpause: v
1751
- };
1752
- }
1753
- const Rr = ["visible"], Er = ["aria-labelledby"], Nr = {
750
+ }), To = /* @__PURE__ */ N(qt, [["__scopeId", "data-v-ebabc502"]]), Jt = ["visible"], Qt = ["aria-labelledby"], Zt = {
1754
751
  key: 0,
1755
752
  class: "sticky top-0"
1756
- }, Or = ["id"], Br = {
753
+ }, eo = ["id"], to = {
1757
754
  key: 1,
1758
755
  class: "sticky bottom-0"
1759
- }, Ar = /* @__PURE__ */ Y({
756
+ }, oo = /* @__PURE__ */ O({
1760
757
  __name: "Modal",
1761
758
  props: {
1762
759
  title: {},
@@ -1771,149 +768,153 @@ const Rr = ["visible"], Er = ["aria-labelledby"], Nr = {
1771
768
  width: { default: "small" }
1772
769
  },
1773
770
  emits: ["open", "close"],
1774
- setup(t, { expose: e, emit: a }) {
1775
- const o = t, n = Z(), c = a, r = D(), u = D(), l = D(o.visible), d = D(!1), v = Ie();
1776
- let b = null;
1777
- const { activate: h, deactivate: g } = rt(
1778
- u,
1779
- { immediate: !1 }
1780
- ), L = () => {
1781
- l.value = !l.value;
1782
- }, B = () => {
1783
- l.value = !0;
1784
- }, $ = () => {
1785
- d.value === !0 && (l.value = !1);
1786
- }, G = () => {
771
+ setup(e, { expose: t, emit: u }) {
772
+ const d = e, a = z(), c = u, s = w(), n = w(), o = w(d.visible), r = w(!1), f = ee();
773
+ let p = null;
774
+ const { activate: b, deactivate: v } = se(
775
+ n,
776
+ // Trap Tab focus only. Without allowOutsideClick the trap cancels every
777
+ // click outside the dialog, including the backdrop's own @click (#104).
778
+ { immediate: !1, allowOutsideClick: !0 }
779
+ ), I = () => {
780
+ o.value = !o.value;
781
+ }, x = () => {
782
+ o.value = !0;
783
+ }, V = () => {
784
+ r.value === !0 && (o.value = !1);
785
+ }, T = () => {
1787
786
  c("open", !0);
1788
- }, M = () => {
787
+ }, L = () => {
1789
788
  c("close", !1);
1790
- }, se = _(() => {
789
+ }, P = B(() => {
1791
790
  const R = {
1792
791
  top: 25,
1793
792
  center: 50,
1794
793
  bottom: 75
1795
- }, { placement: z } = o;
1796
- return { "--vertical-placement": (R[z] ?? R.center) + "%" };
1797
- }), oe = _(() => {
1798
- const { width: R } = o, z = {
794
+ }, { placement: H } = d;
795
+ return { "--vertical-placement": (R[H] ?? R.center) + "%" };
796
+ }), Y = B(() => {
797
+ const { width: R } = d, H = {
1799
798
  small: "max-w-[28rem]",
1800
799
  medium: "max-w-[28rem] md:max-w-[36rem]",
1801
800
  large: "max-w-[28rem] md:max-w-[56rem]"
1802
801
  };
1803
- return z[R] ?? z.small;
1804
- }), ne = () => {
1805
- d.value = !0, u.value && h();
1806
- }, W = () => {
1807
- d.value = !1;
802
+ return H[R] ?? H.small;
803
+ }), M = () => {
804
+ r.value = !0, n.value && b();
805
+ }, U = () => {
806
+ r.value = !1;
1808
807
  };
1809
- return ze(r, (R = !1) => {
1810
- l.value = R;
1811
- }), Q(
1812
- () => o.visible,
808
+ return F(() => {
809
+ o.value && !r.value && M();
810
+ }), oe(s, (R = !1) => {
811
+ o.value = R;
812
+ }), E(
813
+ () => d.visible,
1813
814
  (R) => {
1814
- l.value = R;
815
+ o.value = R;
1815
816
  }
1816
- ), Q(l, (R) => {
1817
- R === !0 ? (typeof document < "u" && (b = document.activeElement), G()) : R === !1 && (g(), b?.focus(), b = null, d.value === !0 && M());
1818
- }), Ke(l), e({
1819
- toggle: L,
1820
- close: $,
1821
- open: B
1822
- }), (R, z) => (p(), y("div", {
1823
- style: ge(se.value),
1824
- visible: l.value,
817
+ ), E(o, (R) => {
818
+ R === !0 ? (typeof document < "u" && (p = document.activeElement), T()) : R === !1 && (v(), p?.focus(), p = null, r.value === !0 && L());
819
+ }), ae(o), t({
820
+ toggle: I,
821
+ close: V,
822
+ open: x
823
+ }), (R, H) => (l(), i("div", {
824
+ style: W(P.value),
825
+ visible: o.value,
1825
826
  ref_key: "modalRef",
1826
- ref: r
827
+ ref: s
1827
828
  }, [
1828
- t.showBackdrop ? (p(), Se(te, {
829
+ e.showBackdrop ? (l(), X(A, {
1829
830
  key: 0,
1830
831
  name: "fade",
1831
832
  appear: "",
1832
833
  tag: "div"
1833
834
  }, {
1834
- default: J(() => [
1835
- l.value ? (p(), y("section", {
835
+ default: S(() => [
836
+ o.value ? (l(), i("section", {
1836
837
  key: 0,
1837
- onClick: $,
838
+ onClick: V,
1838
839
  "aria-hidden": "true",
1839
- class: S(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", I(A).bgColorVariant({ color: t.backdropColor })])
1840
- }, null, 2)) : O("", !0)
840
+ class: h(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(C).bgColorVariant({ color: e.backdropColor })])
841
+ }, null, 2)) : g("", !0)
1841
842
  ]),
1842
843
  _: 1
1843
- })) : O("", !0),
1844
- ee(te, {
844
+ })) : g("", !0),
845
+ D(A, {
1845
846
  name: "slide-down",
1846
847
  tag: "div",
1847
- onAfterEnter: ne,
1848
- onAfterLeave: W,
848
+ onAfterEnter: M,
849
+ onAfterLeave: U,
1849
850
  appear: ""
1850
851
  }, {
1851
- default: J(() => [
1852
- l.value ? (p(), y("div", {
852
+ default: S(() => [
853
+ o.value ? (l(), i("div", {
1853
854
  key: 0,
1854
- class: S(["vertical-placement fixed z-[110] w-full px-xs", oe.value])
855
+ class: h(["vertical-placement fixed z-[110] w-full px-xs", Y.value])
1855
856
  }, [
1856
- de((p(), y("div", {
857
+ _((l(), i("div", {
1857
858
  ref_key: "dialogRef",
1858
- ref: u,
859
+ ref: n,
1859
860
  role: "dialog",
1860
861
  "aria-modal": "true",
1861
- "aria-labelledby": t.title ? I(v) : void 0,
1862
- class: S([[I(A).bgColorVariant({ color: t.color }), t.customClass], "relative max-h-[80vh] overflow-y-scroll overscroll-contain md:max-h-[60vh]"])
862
+ "aria-labelledby": e.title ? k(f) : void 0,
863
+ class: h([[k(C).bgColorVariant({ color: e.color }), e.customClass], "relative max-h-[80vh] overflow-y-scroll overscroll-contain md:max-h-[60vh]"])
1863
864
  }, [
1864
- t.showHeader ? (p(), y("div", Nr, [
1865
- V(R.$slots, "header", {
1866
- close: $,
1867
- status: l.value
865
+ e.showHeader ? (l(), i("div", Zt, [
866
+ y(R.$slots, "header", {
867
+ close: V,
868
+ status: o.value
1868
869
  }, () => [
1869
- E("div", {
1870
- class: S(["flex items-center justify-between border-b-2 border-b-light-4 p-xs", I(A).bgColorVariant({ color: t.color })])
870
+ m("div", {
871
+ class: h(["flex items-center justify-between border-b-2 border-b-light-4 p-xs", k(C).bgColorVariant({ color: e.color })])
1871
872
  }, [
1872
- t.title ? (p(), y("h3", {
873
+ e.title ? (l(), i("h3", {
1873
874
  key: 0,
1874
- id: I(v),
1875
- class: S(["h3-md", I(A).textColorVariant({ color: t.titleColor })])
1876
- }, he(t.title), 11, Or)) : O("", !0),
1877
- E("button", {
875
+ id: k(f),
876
+ class: h(["h3-md", k(C).textColorVariant({ color: e.titleColor })])
877
+ }, j(e.title), 11, eo)) : g("", !0),
878
+ m("button", {
1878
879
  type: "button",
1879
880
  "aria-label": "Close",
1880
- onClick: $
881
+ onClick: V
1881
882
  }, [
1882
- (p(), y("svg", {
883
+ (l(), i("svg", {
1883
884
  xmlns: "http://www.w3.org/2000/svg",
1884
885
  height: "1em",
1885
886
  viewBox: "0 0 384 512",
1886
887
  "aria-hidden": "true",
1887
- class: S(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1888
- I(A).svgFillColorVariant({ color: t.titleColor })
888
+ class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
889
+ k(C).svgFillColorVariant({ color: e.titleColor })
1889
890
  ]])
1890
- }, [...z[0] || (z[0] = [
1891
- E("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
891
+ }, [...H[0] || (H[0] = [
892
+ m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1892
893
  ])], 2))
1893
894
  ])
1894
895
  ], 2)
1895
896
  ], !0)
1896
- ])) : O("", !0),
1897
- V(R.$slots, "body", {
1898
- close: $,
1899
- status: l.value
897
+ ])) : g("", !0),
898
+ y(R.$slots, "body", {
899
+ close: V,
900
+ status: o.value
1900
901
  }, void 0, !0),
1901
- n.footer ? (p(), y("div", Br, [
1902
- V(R.$slots, "footer", {
1903
- close: $,
1904
- status: l.value
902
+ a.footer ? (l(), i("div", to, [
903
+ y(R.$slots, "footer", {
904
+ close: V,
905
+ status: o.value
1905
906
  }, void 0, !0)
1906
- ])) : O("", !0)
1907
- ], 10, Er)), [
1908
- [I(De), $]
907
+ ])) : g("", !0)
908
+ ], 10, Qt)), [
909
+ [k(te), V]
1909
910
  ])
1910
- ], 2)) : O("", !0)
911
+ ], 2)) : g("", !0)
1911
912
  ]),
1912
913
  _: 3
1913
914
  })
1914
- ], 12, Rr));
915
+ ], 12, Jt));
1915
916
  }
1916
- }), ro = /* @__PURE__ */ re(Ar, [["__scopeId", "data-v-c65cb87e"]]), Vr = ["visible"], Ir = ["aria-labelledby"], Dr = ["id"], Fr = { class: "sidebar-body-height" }, Lr = /* @__PURE__ */ Y({
917
+ }), Io = /* @__PURE__ */ N(oo, [["__scopeId", "data-v-c9b9db1b"]]), ao = ["visible"], so = ["aria-labelledby"], ro = ["id"], lo = { class: "sidebar-body-height" }, no = /* @__PURE__ */ O({
1917
918
  __name: "Sidebar",
1918
919
  props: {
1919
920
  title: {},
@@ -1928,222 +929,225 @@ const Rr = ["visible"], Er = ["aria-labelledby"], Nr = {
1928
929
  width: { default: 300 }
1929
930
  },
1930
931
  emits: ["open", "close"],
1931
- setup(t, { expose: e, emit: a }) {
1932
- const o = t, n = Z(), c = a, r = D(o.visible), u = D(!1), l = D(), d = D(), v = D(), b = D(), h = Ie();
1933
- let g = null;
1934
- const { activate: L, deactivate: B } = rt(
1935
- d,
1936
- { immediate: !1 }
1937
- ), $ = () => {
1938
- r.value = !r.value;
1939
- }, G = () => {
1940
- r.value = !0;
1941
- }, M = () => {
1942
- u.value === !0 && (r.value = !1);
1943
- }, se = () => {
932
+ setup(e, { expose: t, emit: u }) {
933
+ const d = e, a = z(), c = u, s = w(d.visible), n = w(!1), o = w(), r = w(), f = w(), p = w(), b = ee();
934
+ let v = null;
935
+ const { activate: I, deactivate: x } = se(
936
+ r,
937
+ // Trap Tab focus only. Without allowOutsideClick the trap cancels every
938
+ // click outside the dialog, including the backdrop's own @click (#104).
939
+ { immediate: !1, allowOutsideClick: !0 }
940
+ ), V = () => {
941
+ s.value = !s.value;
942
+ }, T = () => {
943
+ s.value = !0;
944
+ }, L = () => {
945
+ n.value === !0 && (s.value = !1);
946
+ }, P = () => {
1944
947
  c("open", !0);
1945
- }, oe = () => {
948
+ }, Y = () => {
1946
949
  c("close", !1);
1947
- }, ne = _(() => {
1948
- const j = (H) => H && r.value ? `${H.scrollHeight}px` : "0px";
950
+ }, M = B(() => {
951
+ const $ = (G) => G && s.value ? `${G.scrollHeight}px` : "0px";
1949
952
  return {
1950
- "--sidebar-width": `${o.width}px`,
1951
- "--header-height": j(v.value),
1952
- "--footer-height": j(b.value)
953
+ "--sidebar-width": `${d.width}px`,
954
+ "--header-height": $(f.value),
955
+ "--footer-height": $(p.value)
1953
956
  };
1954
- }), W = _(() => o.placement === "left" ? "sidebar-left" : "sidebar-right"), F = () => {
1955
- u.value = !0, d.value && L();
957
+ }), U = B(() => d.placement === "left" ? "sidebar-left" : "sidebar-right"), K = () => {
958
+ n.value = !0, r.value && I();
1956
959
  }, R = () => {
1957
- u.value = !1;
960
+ n.value = !1;
1958
961
  };
1959
- return ze(l, (j = !1) => {
1960
- r.value = j;
1961
- }), Q(
1962
- () => o.visible,
1963
- (j) => {
1964
- r.value = j;
962
+ return F(() => {
963
+ s.value && !n.value && K();
964
+ }), oe(o, ($ = !1) => {
965
+ s.value = $;
966
+ }), E(
967
+ () => d.visible,
968
+ ($) => {
969
+ s.value = $;
1965
970
  }
1966
- ), Q(r, (j) => {
1967
- j === !0 ? (typeof document < "u" && (g = document.activeElement), se()) : j === !1 && (B(), g?.focus(), g = null, u.value === !0 && oe());
1968
- }), Ke(r), e({
1969
- toggle: $,
1970
- open: G,
1971
- close: M
1972
- }), (j, H) => (p(), y("div", {
1973
- style: ge(ne.value),
1974
- visible: r.value,
971
+ ), E(s, ($) => {
972
+ $ === !0 ? (typeof document < "u" && (v = document.activeElement), P()) : $ === !1 && (x(), v?.focus(), v = null, n.value === !0 && Y());
973
+ }), ae(s), t({
974
+ toggle: V,
975
+ open: T,
976
+ close: L
977
+ }), ($, G) => (l(), i("div", {
978
+ style: W(M.value),
979
+ visible: s.value,
1975
980
  ref_key: "sidebarRef",
1976
- ref: l
981
+ ref: o
1977
982
  }, [
1978
- t.showBackdrop ? (p(), Se(te, {
983
+ e.showBackdrop ? (l(), X(A, {
1979
984
  key: 0,
1980
985
  name: "fade",
1981
986
  appear: "",
1982
987
  tag: "div"
1983
988
  }, {
1984
- default: J(() => [
1985
- r.value ? (p(), y("section", {
989
+ default: S(() => [
990
+ s.value ? (l(), i("section", {
1986
991
  key: 0,
1987
- onClick: M,
992
+ onClick: L,
1988
993
  "aria-hidden": "true",
1989
- class: S(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", I(A).bgColorVariant({ color: t.backdropColor })])
1990
- }, null, 2)) : O("", !0)
994
+ class: h(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(C).bgColorVariant({ color: e.backdropColor })])
995
+ }, null, 2)) : g("", !0)
1991
996
  ]),
1992
997
  _: 1
1993
- })) : O("", !0),
1994
- ee(te, {
1995
- name: W.value,
1996
- onAfterEnter: F,
998
+ })) : g("", !0),
999
+ D(A, {
1000
+ name: U.value,
1001
+ onAfterEnter: K,
1997
1002
  onAfterLeave: R,
1998
1003
  appear: ""
1999
1004
  }, {
2000
- default: J(() => [
2001
- r.value ? de((p(), y("div", {
1005
+ default: S(() => [
1006
+ s.value ? _((l(), i("div", {
2002
1007
  key: 0,
2003
1008
  ref_key: "dialogRef",
2004
- ref: d,
1009
+ ref: r,
2005
1010
  role: "dialog",
2006
1011
  "aria-modal": "true",
2007
- "aria-labelledby": t.title ? I(h) : void 0,
2008
- class: S(["sidebar-body fixed inset-y-0 z-[110] h-full overflow-hidden shadow", [t.placement === "left" ? "left-0" : "right-0"]])
1012
+ "aria-labelledby": e.title ? k(b) : void 0,
1013
+ class: h(["sidebar-body fixed inset-y-0 z-[110] h-full overflow-hidden shadow", [e.placement === "left" ? "left-0" : "right-0"]])
2009
1014
  }, [
2010
- E("div", {
2011
- class: S(["relative h-full overflow-y-scroll overscroll-contain", [I(A).bgColorVariant({ color: t.color }), t.customClass]])
1015
+ m("div", {
1016
+ class: h(["relative h-full overflow-y-scroll overscroll-contain", [k(C).bgColorVariant({ color: e.color }), e.customClass]])
2012
1017
  }, [
2013
- t.showHeader ? (p(), y("div", {
1018
+ e.showHeader ? (l(), i("div", {
2014
1019
  key: 0,
2015
1020
  class: "sticky top-0 z-10",
2016
1021
  ref_key: "headerRef",
2017
- ref: v
1022
+ ref: f
2018
1023
  }, [
2019
- V(j.$slots, "header", {
2020
- close: M,
2021
- status: r.value
1024
+ y($.$slots, "header", {
1025
+ close: L,
1026
+ status: s.value
2022
1027
  }, () => [
2023
- E("div", {
2024
- class: S(["flex items-center justify-between p-xs", I(A).bgColorVariant({ color: t.color })])
1028
+ m("div", {
1029
+ class: h(["flex items-center justify-between p-xs", k(C).bgColorVariant({ color: e.color })])
2025
1030
  }, [
2026
- t.placement === "right" ? (p(), y("button", {
1031
+ e.placement === "right" ? (l(), i("button", {
2027
1032
  key: 0,
2028
1033
  type: "button",
2029
1034
  "aria-label": "Close",
2030
- onClick: M
1035
+ onClick: L
2031
1036
  }, [
2032
- (p(), y("svg", {
1037
+ (l(), i("svg", {
2033
1038
  xmlns: "http://www.w3.org/2000/svg",
2034
1039
  height: "1em",
2035
1040
  viewBox: "0 0 384 512",
2036
1041
  "aria-hidden": "true",
2037
- class: S(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
2038
- I(A).svgFillColorVariant({ color: t.titleColor })
1042
+ class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1043
+ k(C).svgFillColorVariant({ color: e.titleColor })
2039
1044
  ]])
2040
- }, [...H[0] || (H[0] = [
2041
- E("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1045
+ }, [...G[0] || (G[0] = [
1046
+ m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
2042
1047
  ])], 2))
2043
- ])) : O("", !0),
2044
- t.title ? (p(), y("h3", {
1048
+ ])) : g("", !0),
1049
+ e.title ? (l(), i("h3", {
2045
1050
  key: 1,
2046
- id: I(h),
2047
- class: S(["h3-md", I(A).textColorVariant({ color: t.titleColor })])
2048
- }, he(t.title), 11, Dr)) : O("", !0),
2049
- t.placement === "left" ? (p(), y("button", {
1051
+ id: k(b),
1052
+ class: h(["h3-md", k(C).textColorVariant({ color: e.titleColor })])
1053
+ }, j(e.title), 11, ro)) : g("", !0),
1054
+ e.placement === "left" ? (l(), i("button", {
2050
1055
  key: 2,
2051
1056
  type: "button",
2052
1057
  "aria-label": "Close",
2053
- onClick: M
1058
+ onClick: L
2054
1059
  }, [
2055
- (p(), y("svg", {
1060
+ (l(), i("svg", {
2056
1061
  xmlns: "http://www.w3.org/2000/svg",
2057
1062
  height: "1em",
2058
1063
  viewBox: "0 0 384 512",
2059
1064
  "aria-hidden": "true",
2060
- class: S(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
2061
- I(A).svgFillColorVariant({ color: t.titleColor })
1065
+ class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1066
+ k(C).svgFillColorVariant({ color: e.titleColor })
2062
1067
  ]])
2063
- }, [...H[1] || (H[1] = [
2064
- E("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1068
+ }, [...G[1] || (G[1] = [
1069
+ m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
2065
1070
  ])], 2))
2066
- ])) : O("", !0)
1071
+ ])) : g("", !0)
2067
1072
  ], 2)
2068
1073
  ], !0)
2069
- ], 512)) : O("", !0),
2070
- E("div", Fr, [
2071
- V(j.$slots, "body", {
2072
- close: M,
2073
- status: r.value
1074
+ ], 512)) : g("", !0),
1075
+ m("div", lo, [
1076
+ y($.$slots, "body", {
1077
+ close: L,
1078
+ status: s.value
2074
1079
  }, void 0, !0)
2075
1080
  ]),
2076
- n.footer ? (p(), y("div", {
1081
+ a.footer ? (l(), i("div", {
2077
1082
  key: 1,
2078
1083
  class: "sticky bottom-0",
2079
1084
  ref_key: "footerRef",
2080
- ref: b
1085
+ ref: p
2081
1086
  }, [
2082
- V(j.$slots, "footer", {
2083
- close: M,
2084
- status: r.value
1087
+ y($.$slots, "footer", {
1088
+ close: L,
1089
+ status: s.value
2085
1090
  }, void 0, !0)
2086
- ], 512)) : O("", !0)
1091
+ ], 512)) : g("", !0)
2087
1092
  ], 2)
2088
- ], 10, Ir)), [
2089
- [I(De), M]
2090
- ]) : O("", !0)
1093
+ ], 10, so)), [
1094
+ [k(te), L]
1095
+ ]) : g("", !0)
2091
1096
  ]),
2092
1097
  _: 3
2093
1098
  }, 8, ["name"])
2094
- ], 12, Vr));
1099
+ ], 12, ao));
2095
1100
  }
2096
- }), oo = /* @__PURE__ */ re(Lr, [["__scopeId", "data-v-77b578df"]]), ot = /* @__PURE__ */ Symbol(), $r = { class: "container-hts grid grid-cols-1 grid-rows-1 transition-[max-height] duration-300" }, Pr = /* @__PURE__ */ Y({
1101
+ }), Lo = /* @__PURE__ */ N(no, [["__scopeId", "data-v-80a7a8d2"]]), ne = /* @__PURE__ */ Symbol(), io = { class: "container-hts grid grid-cols-1 grid-rows-1 transition-[max-height] duration-300" }, co = /* @__PURE__ */ O({
2097
1102
  __name: "TabContainer",
2098
1103
  props: {
2099
1104
  bodyClass: { default: "" },
2100
1105
  btnContainerClass: { default: "" },
2101
1106
  contentContainerClass: { default: "" }
2102
1107
  },
2103
- setup(t, { expose: e }) {
2104
- Z();
2105
- const a = D(0), o = D(0), n = D("slide-next");
2106
- Be(ot, {
2107
- activeTabIdx: a,
2108
- containerHeight: o,
2109
- updateHeight: (l) => {
2110
- o.value = l;
1108
+ setup(e, { expose: t }) {
1109
+ const u = w(0), d = w(0), a = w(!1), c = w("slide-next");
1110
+ J(ne, {
1111
+ activeTabIdx: u,
1112
+ containerHeight: d,
1113
+ updateHeight: (r) => {
1114
+ r > 0 && (a.value = !0), d.value = r;
2111
1115
  }
2112
1116
  });
2113
- const r = (l) => {
2114
- a.value = l;
2115
- }, u = _(() => ({ "--container-hts": `${o.value}px` }));
2116
- return e({
2117
- update: r
2118
- }), Q(
2119
- () => a.value,
2120
- (l, d) => {
2121
- l > d ? n.value = "slide-next" : n.value = "slide-prev";
1117
+ const n = (r) => {
1118
+ u.value = r;
1119
+ }, o = B(() => a.value ? { "--container-hts": `${d.value}px` } : void 0);
1120
+ return t({
1121
+ update: n
1122
+ }), E(
1123
+ () => u.value,
1124
+ (r, f) => {
1125
+ r > f ? c.value = "slide-next" : c.value = "slide-prev";
2122
1126
  }
2123
- ), (l, d) => (p(), y("div", {
2124
- class: S(t.bodyClass),
2125
- style: ge(u.value)
1127
+ ), (r, f) => (l(), i("div", {
1128
+ class: h(e.bodyClass),
1129
+ style: W(o.value)
2126
1130
  }, [
2127
- E("div", {
2128
- class: S(t.btnContainerClass),
1131
+ m("div", {
1132
+ class: h(e.btnContainerClass),
2129
1133
  role: "tablist"
2130
1134
  }, [
2131
- V(l.$slots, "tab-button", {
2132
- update: r,
2133
- activeTab: a.value
1135
+ y(r.$slots, "tab-button", {
1136
+ update: n,
1137
+ activeTab: u.value
2134
1138
  }, void 0, !0)
2135
1139
  ], 2),
2136
- E("div", {
2137
- class: S(t.contentContainerClass)
1140
+ m("div", {
1141
+ class: h(e.contentContainerClass)
2138
1142
  }, [
2139
- E("div", $r, [
2140
- ee(te, { name: n.value }, {
2141
- default: J(() => [
2142
- (p(), y("div", {
2143
- key: a.value,
1143
+ m("div", io, [
1144
+ D(A, { name: c.value }, {
1145
+ default: S(() => [
1146
+ (l(), i("div", {
1147
+ key: u.value,
2144
1148
  class: "relative col-start-1 col-end-1 row-start-1 row-end-1"
2145
1149
  }, [
2146
- V(l.$slots, "tab-content", {}, void 0, !0)
1150
+ y(r.$slots, "tab-content", {}, void 0, !0)
2147
1151
  ]))
2148
1152
  ]),
2149
1153
  _: 3
@@ -2152,46 +1156,46 @@ const Rr = ["visible"], Er = ["aria-labelledby"], Nr = {
2152
1156
  ], 2)
2153
1157
  ], 6));
2154
1158
  }
2155
- }), no = /* @__PURE__ */ re(Pr, [["__scopeId", "data-v-553ab4ac"]]), jr = ["id"], io = /* @__PURE__ */ Y({
1159
+ }), Do = /* @__PURE__ */ N(co, [["__scopeId", "data-v-2d9322d9"]]), uo = ["id"], Ao = /* @__PURE__ */ O({
2156
1160
  __name: "TabContent",
2157
1161
  props: {
2158
1162
  tabNumber: {},
2159
1163
  id: {},
2160
1164
  tabClass: { default: "" }
2161
1165
  },
2162
- setup(t) {
2163
- const e = t, { activeTabIdx: a, updateHeight: o } = Ae(
2164
- ot
2165
- ), n = D(null), { height: c } = wa(n), r = _(() => a.value === e.tabNumber ? (o(c.value), !0) : !1);
2166
- return (u, l) => de((p(), y("div", {
1166
+ setup(e) {
1167
+ const t = e, { activeTabIdx: u, updateHeight: d } = Q(
1168
+ ne
1169
+ ), a = w(null), { height: c } = yt(a), s = B(() => u.value === t.tabNumber ? (d(c.value), !0) : !1);
1170
+ return (n, o) => _((l(), i("div", {
2167
1171
  ref_key: "slotRef",
2168
- ref: n,
2169
- id: t.id,
2170
- class: S([t.tabClass, "w-full"]),
1172
+ ref: a,
1173
+ id: e.id,
1174
+ class: h([e.tabClass, "w-full"]),
2171
1175
  role: "tabpanel",
2172
1176
  tabindex: "-1"
2173
1177
  }, [
2174
- V(u.$slots, "default")
2175
- ], 10, jr)), [
2176
- [Ve, r.value]
1178
+ y(n.$slots, "default")
1179
+ ], 10, uo)), [
1180
+ [Z, s.value]
2177
1181
  ]);
2178
1182
  }
2179
1183
  });
2180
1184
  export {
2181
- Xr as AccordionGroup,
2182
- Yr as Alert,
2183
- Ur as Card,
2184
- qr as CarouselContainer,
2185
- Zr as CarouselContent,
2186
- Jr as Collapse,
2187
- Qr as DropdownContainer,
2188
- eo as DropdownContent,
2189
- to as HeaderHorizontal,
2190
- ao as HeaderVertical,
2191
- ro as Modal,
2192
- oo as Sidebar,
2193
- no as TabContainer,
2194
- io as TabContent,
2195
- Kr as default,
2196
- A as generateClass
1185
+ yo as AccordionGroup,
1186
+ wo as Alert,
1187
+ xo as Card,
1188
+ ko as CarouselContainer,
1189
+ Vo as CarouselContent,
1190
+ Bo as Collapse,
1191
+ Ro as DropdownContainer,
1192
+ Oo as DropdownContent,
1193
+ $o as HeaderHorizontal,
1194
+ To as HeaderVertical,
1195
+ Io as Modal,
1196
+ Lo as Sidebar,
1197
+ Do as TabContainer,
1198
+ Ao as TabContent,
1199
+ Co as default,
1200
+ C as generateClass
2197
1201
  };