@bobbykim/mcl-header 0.6.3 → 0.7.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.
@@ -1,9 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('.nav__decorator[data-v-1b1467b6]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-1b1467b6]:before,.nav__text:hover+.nav__decorator[data-v-1b1467b6]:before{width:100%}.nav__decorator[data-v-3cd6e9eb]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-3cd6e9eb]:before,.nav__text:hover+.nav__decorator[data-v-3cd6e9eb]:before{width:100%}.nav__decorator[data-v-94d8fa7b]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-94d8fa7b]:before,.nav__text:hover+.nav__decorator[data-v-94d8fa7b]:before{width:100%}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as D, ref as z, computed as H, openBlock as i, createElementBlock as d, createElementVNode as n, withDirectives as W, normalizeClass as y, toDisplayString as A, unref as L, createCommentVNode as E, createVNode as j, withCtx as O, Fragment as S, renderList as X, pushScopeId as U, popScopeId as q, withKeys as F, useSlots as J, createBlock as x, renderSlot as _ } from "vue";
3
- import o, { vCollapse as P, Collapse as Q, DropdownContainer as te, DropdownContent as oe, HeaderHorizontal as ne, HeaderVertical as ie } from "@bobbykim/manguito-theme";
4
- const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex flex-col w-full" }, re = { class: "self-center" }, ue = /* @__PURE__ */ ae(() => /* @__PURE__ */ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)), de = [
5
- ue
6
- ], ce = { class: "relative pt-2xs" }, he = { class: "relative flex flex-col" }, fe = ["href", "target", "onClick"], me = /* @__PURE__ */ D({
2
+ import { defineComponent as D, ref as R, computed as E, openBlock as i, createElementBlock as c, createElementVNode as n, withDirectives as _, normalizeClass as T, toDisplayString as A, unref as B, createCommentVNode as z, createVNode as G, withCtx as O, Fragment as S, renderList as X, withKeys as V, useSlots as U, createBlock as x, renderSlot as j } from "vue";
3
+ import o, { vCollapse as q, Collapse as J, DropdownContainer as ee, DropdownContent as le, HeaderHorizontal as te, HeaderVertical as oe } from "@bobbykim/manguito-theme";
4
+ const ne = { class: "flex flex-col w-full" }, ie = { class: "self-center" }, ae = { class: "relative pt-2xs" }, re = { class: "relative flex flex-col" }, se = ["href", "target", "onClick"], ue = /* @__PURE__ */ D({
7
5
  __name: "NavCollapse",
8
6
  props: {
9
7
  navId: {},
@@ -19,74 +17,76 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
19
17
  asLink: { type: Boolean, default: !0 }
20
18
  },
21
19
  emits: ["child-click", "label-click"],
22
- setup(k, { emit: w }) {
23
- const B = k, p = w, g = z(!1), b = H(() => {
24
- const { navId: t } = B;
20
+ setup(L, { emit: w }) {
21
+ const y = L, p = w, g = R(!1), v = E(() => {
22
+ const { navId: t } = y;
25
23
  return `nav-${t.toLowerCase().replaceAll(" ", "-")}`;
26
- }), a = H(() => {
27
- const { navAccordionGroup: t } = B;
24
+ }), a = E(() => {
25
+ const { navAccordionGroup: t } = y;
28
26
  return `accordion-${t.toLocaleLowerCase().replaceAll(" ", "-")}`;
29
27
  }), h = (t) => {
30
28
  g.value = t;
31
- }, C = (t, s) => {
32
- p("label-click", t, s, g.value);
33
- }, T = (t, s) => {
34
- const { asLink: l } = B;
35
- !l && t.preventDefault(), p("child-click", t, s);
36
- }, r = (t, s, l) => {
29
+ }, k = (t, r) => {
30
+ p("label-click", t, r, g.value);
31
+ }, b = (t, r) => {
32
+ const { asLink: l } = y;
33
+ !l && t.preventDefault(), p("child-click", t, r);
34
+ }, s = (t, r, l) => {
37
35
  const f = [
38
36
  o("BODYTEXT", t),
39
- o("TEXTCOLOR", s)
37
+ o("TEXTCOLOR", r)
40
38
  ];
41
39
  return l && f.push("font-bold"), f.join(" ");
42
40
  };
43
- return (t, s) => (i(), d("div", se, [
44
- n("div", re, [
45
- W((i(), d("button", {
46
- class: y(["tracking-wider align-middle outline-none nav__text flex items-center gap-3xs", r(t.menuTextSize, t.menuTextColor, t.menuTextBold)]),
47
- onClick: s[0] || (s[0] = (l) => C(l, t.navItem.title))
41
+ return (t, r) => (i(), c("div", ne, [
42
+ n("div", ie, [
43
+ _((i(), c("button", {
44
+ class: T(["tracking-wider align-middle outline-none nav__text flex items-center gap-3xs", s(t.menuTextSize, t.menuTextColor, t.menuTextBold)]),
45
+ onClick: r[0] || (r[0] = (l) => k(l, t.navItem.title))
48
46
  }, [
49
47
  n("span", null, A(t.navItem.title), 1),
50
- (i(), d("svg", {
48
+ (i(), c("svg", {
51
49
  xmlns: "http://www.w3.org/2000/svg",
52
50
  viewBox: "0 0 448 512",
53
- class: y(["h-[0.8rem] fill-current", [
51
+ class: T(["h-[0.8rem] fill-current", [
54
52
  g.value ? "rotate-180" : "rotate-0",
55
53
  "transition-transform duration-300 ease-in"
56
54
  ]])
57
- }, de, 2))
55
+ }, r[1] || (r[1] = [
56
+ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
57
+ ]), 2))
58
58
  ], 2)), [
59
- [L(P), void 0, b.value]
59
+ [B(q), void 0, v.value]
60
60
  ]),
61
- t.displayHighlight ? (i(), d("div", {
61
+ t.displayHighlight ? (i(), c("div", {
62
62
  key: 0,
63
- class: y(["relative -top-[2px] h-[6px] nav__decorator", L(o)("BEFOREBG", t.highlightColor)])
64
- }, null, 2)) : E("", !0)
63
+ class: T(["relative -top-[2px] h-[6px] nav__decorator", B(o)("BEFOREBG", t.highlightColor)])
64
+ }, null, 2)) : z("", !0)
65
65
  ]),
66
- j(L(Q), {
67
- id: b.value,
66
+ G(B(J), {
67
+ id: v.value,
68
68
  visible: !1,
69
69
  accordion: a.value,
70
70
  onOpen: h,
71
71
  onClose: h
72
72
  }, {
73
73
  default: O(() => [
74
- n("div", ce, [
75
- t.displayHighlight ? (i(), d("div", {
74
+ n("div", ae, [
75
+ t.displayHighlight ? (i(), c("div", {
76
76
  key: 0,
77
- class: y(["absolute w-md bg-opacity-25 -left-4 h-full", L(o)("BGCOLOR", t.highlightColor)])
78
- }, null, 2)) : E("", !0),
79
- n("div", he, [
80
- (i(!0), d(S, null, X(t.navItem.children, (l, f) => (i(), d("a", {
77
+ class: T(["absolute w-md bg-opacity-25 -left-4 h-full", B(o)("BGCOLOR", t.highlightColor)])
78
+ }, null, 2)) : z("", !0),
79
+ n("div", re, [
80
+ (i(!0), c(S, null, X(t.navItem.children, (l, f) => (i(), c("a", {
81
81
  href: l.url,
82
82
  target: l.target,
83
- class: y(["w-full pb-2xs last:pb-0", [
84
- L(o)("TEXTCOLOR", t.menuTextColor),
85
- L(o)("BODYTEXT", t.menuTextSize)
83
+ class: T(["w-full pb-2xs last:pb-0", [
84
+ B(o)("TEXTCOLOR", t.menuTextColor),
85
+ B(o)("BODYTEXT", t.menuTextSize)
86
86
  ]]),
87
87
  key: f,
88
- onClick: (v) => T(v, l)
89
- }, A(l.title), 11, fe))), 128))
88
+ onClick: (C) => b(C, l)
89
+ }, A(l.title), 11, se))), 128))
90
90
  ])
91
91
  ])
92
92
  ]),
@@ -94,14 +94,12 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
94
94
  }, 8, ["id", "accordion"])
95
95
  ]));
96
96
  }
97
- }), G = (k, w) => {
98
- const B = k.__vccOpts || k;
97
+ }), F = (L, w) => {
98
+ const y = L.__vccOpts || L;
99
99
  for (const [p, g] of w)
100
- B[p] = g;
101
- return B;
102
- }, ge = /* @__PURE__ */ G(me, [["__scopeId", "data-v-1b1467b6"]]), pe = (k) => (U("data-v-3cd6e9eb"), k = k(), q(), k), ke = ["onClick"], Ce = /* @__PURE__ */ pe(() => /* @__PURE__ */ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)), ve = [
103
- Ce
104
- ], be = ["href", "target", "onClick"], Te = /* @__PURE__ */ D({
100
+ y[p] = g;
101
+ return y;
102
+ }, de = /* @__PURE__ */ F(ue, [["__scopeId", "data-v-1b1467b6"]]), ce = ["onClick"], he = ["href", "target", "onClick"], fe = /* @__PURE__ */ D({
105
103
  __name: "NavDropdown",
106
104
  props: {
107
105
  navItem: {},
@@ -114,70 +112,72 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
114
112
  asLink: { type: Boolean, default: !0 }
115
113
  },
116
114
  emits: ["label-click", "child-click"],
117
- setup(k, { emit: w }) {
118
- const B = k, p = w, g = z(-1), b = z(), a = (r, t, s) => {
115
+ setup(L, { emit: w }) {
116
+ const y = L, p = w, g = R(-1), v = R(), a = (s, t, r) => {
119
117
  const l = [
120
- o("BODYTEXT", r),
118
+ o("BODYTEXT", s),
121
119
  o("TEXTCOLOR", t)
122
120
  ];
123
- return s && l.push("font-bold"), l.join(" ");
124
- }, h = (r) => {
125
- const t = B.navItem.children.length;
126
- b.value !== void 0 && (r === "down" && g.value < t - 1 && g.value++, r === "up" && g.value > 0 && g.value--, b.value[g.value].focus());
127
- }, C = (r, t, s) => {
128
- g.value = -1, p("label-click", r, t, s);
129
- }, T = (r, t) => {
130
- const { asLink: s } = B;
131
- !s && r.preventDefault(), p("child-click", r, t);
121
+ return r && l.push("font-bold"), l.join(" ");
122
+ }, h = (s) => {
123
+ const t = y.navItem.children.length;
124
+ v.value !== void 0 && (s === "down" && g.value < t - 1 && g.value++, s === "up" && g.value > 0 && g.value--, v.value[g.value].focus());
125
+ }, k = (s, t, r) => {
126
+ g.value = -1, p("label-click", s, t, r);
127
+ }, b = (s, t) => {
128
+ const { asLink: r } = y;
129
+ !r && s.preventDefault(), p("child-click", s, t);
132
130
  };
133
- return (r, t) => (i(), d("div", {
131
+ return (s, t) => (i(), c("div", {
134
132
  onKeyup: [
135
- t[0] || (t[0] = F((s) => h("down"), ["down"])),
136
- t[1] || (t[1] = F((s) => h("up"), ["up"]))
133
+ t[0] || (t[0] = V((r) => h("down"), ["down"])),
134
+ t[1] || (t[1] = V((r) => h("up"), ["up"]))
137
135
  ]
138
136
  }, [
139
- j(L(te), null, {
140
- toggler: O(({ toggle: s, dropdownState: l }) => [
137
+ G(B(ee), null, {
138
+ toggler: O(({ toggle: r, dropdownState: l }) => [
141
139
  n("div", null, [
142
140
  n("button", {
143
- class: y(["tracking-wider align-middle outline-none nav__text flex items-center gap-3xs", a(r.menuTextSize, r.menuTextColor, r.menuTextBold)]),
144
- onClick: (f) => (s(f), C(f, r.navItem.title, l))
141
+ class: T(["tracking-wider align-middle outline-none nav__text flex items-center gap-3xs", a(s.menuTextSize, s.menuTextColor, s.menuTextBold)]),
142
+ onClick: (f) => (r(f), k(f, s.navItem.title, l))
145
143
  }, [
146
- n("span", null, A(r.navItem.title), 1),
147
- (i(), d("svg", {
144
+ n("span", null, A(s.navItem.title), 1),
145
+ (i(), c("svg", {
148
146
  xmlns: "http://www.w3.org/2000/svg",
149
147
  viewBox: "0 0 448 512",
150
- class: y(["h-[0.8rem] fill-current", [
148
+ class: T(["h-[0.8rem] fill-current", [
151
149
  l ? "rotate-180" : "rotate-0",
152
150
  "transition-transform duration-300 ease-in"
153
151
  ]])
154
- }, ve, 2))
155
- ], 10, ke),
156
- r.displayHighlight ? (i(), d("div", {
152
+ }, t[2] || (t[2] = [
153
+ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
154
+ ]), 2))
155
+ ], 10, ce),
156
+ s.displayHighlight ? (i(), c("div", {
157
157
  key: 0,
158
- class: y(["relative -top-[2px] h-[6px] nav__decorator", L(o)("BEFOREBG", r.highlightColor)])
159
- }, null, 2)) : E("", !0)
158
+ class: T(["relative -top-[2px] h-[6px] nav__decorator", B(o)("BEFOREBG", s.highlightColor)])
159
+ }, null, 2)) : z("", !0)
160
160
  ])
161
161
  ]),
162
162
  default: O(() => [
163
- j(L(oe), { className: "border drop-shadow-sm" }, {
164
- default: O(({ itemClick: s }) => [
165
- (i(!0), d(S, null, X(r.navItem.children, (l, f) => (i(), d("a", {
163
+ G(B(le), { className: "border drop-shadow-sm" }, {
164
+ default: O(({ itemClick: r }) => [
165
+ (i(!0), c(S, null, X(s.navItem.children, (l, f) => (i(), c("a", {
166
166
  href: l.url,
167
167
  target: l.target,
168
168
  key: f,
169
169
  ref_for: !0,
170
170
  ref_key: "navItemRef",
171
- ref: b,
172
- class: y(["px-xs py-2xs block w-full hover:bg-opacity-50 focus:bg-opacity-50 transition-all duration-200 ease-linear", [
173
- L(o)("BGCOLOR", r.bgColor),
174
- L(o)("HVBGCOLOR", r.highlightColor),
175
- L(o)("FCBGCOLOR", r.highlightColor),
176
- L(o)("TEXTCOLOR", r.menuTextColor),
177
- L(o)("BODYTEXT", r.menuTextSize)
171
+ ref: v,
172
+ class: T(["px-xs py-2xs block w-full hover:bg-opacity-50 focus:bg-opacity-50 transition-all duration-200 ease-linear", [
173
+ B(o)("BGCOLOR", s.bgColor),
174
+ B(o)("HVBGCOLOR", s.highlightColor),
175
+ B(o)("FCBGCOLOR", s.highlightColor),
176
+ B(o)("TEXTCOLOR", s.menuTextColor),
177
+ B(o)("BODYTEXT", s.menuTextSize)
178
178
  ]]),
179
- onClick: (v) => (s(), T(v, l))
180
- }, A(l.title), 11, be))), 128))
179
+ onClick: (C) => (r(), b(C, l))
180
+ }, A(l.title), 11, he))), 128))
181
181
  ]),
182
182
  _: 1
183
183
  })
@@ -186,7 +186,7 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
186
186
  })
187
187
  ], 32));
188
188
  }
189
- }), ye = /* @__PURE__ */ G(Te, [["__scopeId", "data-v-3cd6e9eb"]]), Be = ["href", "target", "innerHTML"], Le = /* @__PURE__ */ D({
189
+ }), me = /* @__PURE__ */ F(fe, [["__scopeId", "data-v-3cd6e9eb"]]), ge = ["href", "target", "innerHTML"], pe = /* @__PURE__ */ D({
190
190
  __name: "NavLink",
191
191
  props: {
192
192
  navItem: {},
@@ -198,35 +198,35 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
198
198
  asLink: { type: Boolean, default: !0 }
199
199
  },
200
200
  emits: ["nav-link"],
201
- setup(k, { emit: w }) {
202
- const B = k, p = w, g = (a, h, C) => {
203
- const T = [
201
+ setup(L, { emit: w }) {
202
+ const y = L, p = w, g = (a, h, k) => {
203
+ const b = [
204
204
  o("BODYTEXT", a),
205
205
  o("TEXTCOLOR", h)
206
206
  ];
207
- return C && T.push("font-bold"), T.join(" ");
208
- }, b = (a, h) => {
209
- const { asLink: C } = B;
210
- !C && a.preventDefault(), p("nav-link", a, h);
207
+ return k && b.push("font-bold"), b.join(" ");
208
+ }, v = (a, h) => {
209
+ const { asLink: k } = y;
210
+ !k && a.preventDefault(), p("nav-link", a, h);
211
211
  };
212
- return (a, h) => (i(), d("div", null, [
212
+ return (a, h) => (i(), c("div", null, [
213
213
  n("a", {
214
214
  href: a.navItem.url,
215
215
  target: a.navItem.target,
216
216
  innerHTML: a.navItem.title,
217
- class: y(["tracking-wider outline-none nav__text", g(a.menuTextSize, a.menuTextColor, a.menuTextBold)]),
218
- onClick: h[0] || (h[0] = (C) => b(C, a.navItem))
219
- }, null, 10, Be),
220
- a.displayHighlight ? (i(), d("div", {
217
+ class: T(["tracking-wider outline-none nav__text", g(a.menuTextSize, a.menuTextColor, a.menuTextBold)]),
218
+ onClick: h[0] || (h[0] = (k) => v(k, a.navItem))
219
+ }, null, 10, ge),
220
+ a.displayHighlight ? (i(), c("div", {
221
221
  key: 0,
222
- class: y(["relative -top-[2px] h-[6px] nav__decorator", L(o)("BEFOREBG", a.highlightColor)])
223
- }, null, 2)) : E("", !0)
222
+ class: T(["relative -top-[2px] h-[6px] nav__decorator", B(o)("BEFOREBG", a.highlightColor)])
223
+ }, null, 2)) : z("", !0)
224
224
  ]));
225
225
  }
226
- }), V = /* @__PURE__ */ G(Le, [["__scopeId", "data-v-94d8fa7b"]]), we = { class: "flex flex-shrink-0 items-center self-center" }, Oe = { class: "h-md md:h-lg lg:h-xl mr-2xs md:mr-sm align-middle" }, Ie = ["href", "target"], xe = ["src", "alt"], $e = ["src", "alt"], He = { class: "flex flex-col justify-center ml-2" }, Ee = ["href", "target"], ze = ["innerHTML"], Re = { class: "hidden lg:flex flex-wrap" }, Ae = {
226
+ }), K = /* @__PURE__ */ F(pe, [["__scopeId", "data-v-94d8fa7b"]]), ke = { class: "flex flex-shrink-0 items-center self-center" }, Ce = { class: "h-md md:h-lg lg:h-xl mr-2xs md:mr-sm align-middle" }, ve = ["href", "target"], be = ["src", "alt"], Te = ["src", "alt"], ye = { class: "flex flex-col justify-center ml-2" }, Be = ["href", "target"], Le = ["innerHTML"], we = { class: "hidden lg:flex flex-wrap" }, Oe = {
227
227
  key: 0,
228
228
  class: "hidden lg:block"
229
- }, Se = { class: "flex flex-col items-center justify-center p-xs" }, Xe = { key: 0 }, sl = /* @__PURE__ */ D({
229
+ }, Ie = { class: "flex flex-col items-center justify-center p-xs" }, xe = { key: 0 }, Pe = /* @__PURE__ */ D({
230
230
  __name: "MclHeaderA",
231
231
  props: {
232
232
  logo: {},
@@ -253,28 +253,28 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
253
253
  scrollDistance: { default: 50 }
254
254
  },
255
255
  emits: ["toggle-drawer", "title-click", "menu-click", "collapse-click"],
256
- setup(k, { expose: w, emit: B }) {
257
- const p = k, g = z(), b = J(), a = B, h = () => {
256
+ setup(L, { expose: w, emit: y }) {
257
+ const p = L, g = R(), v = U(), a = y, h = () => {
258
258
  var l;
259
259
  (l = g.value) == null || l.headerClose();
260
- }, C = (l) => {
261
- const { titleBlockAsLink: f, titleBlockLink: v, titleBlockLinkTarget: e } = p;
262
- f || l.preventDefault(), a("title-click", l, v, e), h();
263
- }, T = (l, f) => {
264
- const { menuItemAsLink: v } = p;
265
- v || l.preventDefault(), a("menu-click", l, f), h();
266
- }, r = (l, f, v) => {
267
- a("collapse-click", l, f, v);
260
+ }, k = (l) => {
261
+ const { titleBlockAsLink: f, titleBlockLink: C, titleBlockLinkTarget: e } = p;
262
+ f || l.preventDefault(), a("title-click", l, C, e), h();
263
+ }, b = (l, f) => {
264
+ const { menuItemAsLink: C } = p;
265
+ C || l.preventDefault(), a("menu-click", l, f), h();
266
+ }, s = (l, f, C) => {
267
+ a("collapse-click", l, f, C);
268
268
  }, t = (l, f) => [
269
269
  o("H2", l),
270
270
  o("TEXTCOLOR", f)
271
- ].join(" "), s = (l) => {
271
+ ].join(" "), r = (l) => {
272
272
  const f = l;
273
273
  return typeof f.children > "u" ? !1 : f.children.length > 0;
274
274
  };
275
275
  return w({
276
276
  headerClose: h
277
- }), (l, f) => (i(), x(L(ne), {
277
+ }), (l, f) => (i(), x(B(te), {
278
278
  ref_key: "componentRef",
279
279
  ref: g,
280
280
  "bg-color": l.bgColor,
@@ -284,45 +284,45 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
284
284
  "mobile-menu-bg-color": l.mobileMenuBgColor
285
285
  }, {
286
286
  content: O(() => [
287
- n("div", we, [
288
- n("div", Oe, [
287
+ n("div", ke, [
288
+ n("div", Ce, [
289
289
  n("a", {
290
290
  href: l.titleBlockLink,
291
291
  target: l.titleBlockLinkTarget,
292
- onClick: C
292
+ onClick: k
293
293
  }, [
294
294
  n("img", {
295
295
  src: l.logo,
296
296
  alt: l.logoAlt,
297
- class: y(["h-full", [l.logoSmall ? "hidden lg:inline-block" : "inline-block"]])
298
- }, null, 10, xe),
299
- l.logoSmall ? (i(), d("img", {
297
+ class: T(["h-full", [l.logoSmall ? "hidden lg:inline-block" : "inline-block"]])
298
+ }, null, 10, be),
299
+ l.logoSmall ? (i(), c("img", {
300
300
  key: 0,
301
301
  src: l.logoSmall,
302
302
  alt: l.logoAlt,
303
303
  class: "inline-block lg:hidden h-full"
304
- }, null, 8, $e)) : E("", !0)
305
- ], 8, Ie)
304
+ }, null, 8, Te)) : z("", !0)
305
+ ], 8, ve)
306
306
  ]),
307
- n("div", He, [
307
+ n("div", ye, [
308
308
  n("a", {
309
309
  href: l.titleBlockLink,
310
310
  target: l.titleBlockLinkTarget,
311
- onClick: C
311
+ onClick: k
312
312
  }, [
313
313
  n("h2", {
314
- class: y(["inline-block align-middle tracking-wider", t(l.titleSize, l.titleColor)]),
314
+ class: T(["inline-block align-middle tracking-wider", t(l.titleSize, l.titleColor)]),
315
315
  innerHTML: l.title
316
- }, null, 10, ze)
317
- ], 8, Ee),
318
- n("ul", Re, [
319
- (i(!0), d(S, null, X(l.menuItems, (v, e) => (i(), d("li", {
316
+ }, null, 10, Le)
317
+ ], 8, Be),
318
+ n("ul", we, [
319
+ (i(!0), c(S, null, X(l.menuItems, (C, e) => (i(), c("li", {
320
320
  class: "mr-xs last:mr-0",
321
321
  key: `menu-${e}`
322
322
  }, [
323
- s(v) ? (i(), x(ye, {
323
+ r(C) ? (i(), x(me, {
324
324
  key: 1,
325
- "nav-item": v,
325
+ "nav-item": C,
326
326
  "menu-text-color": l.menuTextColor,
327
327
  "menu-text-size": l.menuTextSize,
328
328
  "menu-text-bold": l.menuTextBold,
@@ -330,18 +330,18 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
330
330
  "highlight-color": l.highlightColor,
331
331
  "bg-color": l.bgColor,
332
332
  "as-link": l.menuItemAsLink,
333
- onChildClick: T,
334
- onLabelClick: r
335
- }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "bg-color", "as-link"])) : (i(), x(V, {
333
+ onChildClick: b,
334
+ onLabelClick: s
335
+ }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "bg-color", "as-link"])) : (i(), x(K, {
336
336
  key: 0,
337
- "nav-item": v,
337
+ "nav-item": C,
338
338
  "menu-text-color": l.menuTextColor,
339
339
  "menu-text-size": l.menuTextSize,
340
340
  "menu-text-bold": l.menuTextBold,
341
341
  "display-highlight": l.displayHighlight,
342
342
  "highlight-color": l.highlightColor,
343
343
  "as-link": l.menuItemAsLink,
344
- onNavLink: T
344
+ onNavLink: b
345
345
  }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"]))
346
346
  ]))), 128))
347
347
  ])
@@ -349,21 +349,21 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
349
349
  ])
350
350
  ]),
351
351
  "content-right": O(() => [
352
- b["content-right"] ? (i(), d("div", Ae, [
353
- _(l.$slots, "content-right")
354
- ])) : E("", !0)
352
+ v["content-right"] ? (i(), c("div", Oe, [
353
+ j(l.$slots, "content-right")
354
+ ])) : z("", !0)
355
355
  ]),
356
356
  "mobile-content": O(() => [
357
357
  n("div", null, [
358
- n("ul", Se, [
359
- (i(!0), d(S, null, X(l.menuItems, (v, e) => (i(), d("li", {
358
+ n("ul", Ie, [
359
+ (i(!0), c(S, null, X(l.menuItems, (C, e) => (i(), c("li", {
360
360
  class: "mb-2xs last:mb-0",
361
361
  key: `mobile-${e}`
362
362
  }, [
363
- s(v) ? (i(), x(ge, {
363
+ r(C) ? (i(), x(de, {
364
364
  key: 1,
365
- "nav-id": v.title,
366
- "nav-item": v,
365
+ "nav-id": C.title,
366
+ "nav-item": C,
367
367
  "menu-text-color": l.menuTextColor,
368
368
  "menu-text-size": l.menuTextSize,
369
369
  "menu-text-bold": l.menuTextBold,
@@ -371,32 +371,30 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
371
371
  "highlight-color": l.highlightColor,
372
372
  "nav-accordion-group": l.title,
373
373
  "as-link": l.menuItemAsLink,
374
- onChildClick: T,
375
- onLabelClick: r
376
- }, null, 8, ["nav-id", "nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "nav-accordion-group", "as-link"])) : (i(), x(V, {
374
+ onChildClick: b,
375
+ onLabelClick: s
376
+ }, null, 8, ["nav-id", "nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "nav-accordion-group", "as-link"])) : (i(), x(K, {
377
377
  key: 0,
378
- "nav-item": v,
378
+ "nav-item": C,
379
379
  "menu-text-color": l.menuTextColor,
380
380
  "menu-text-size": l.menuTextSize,
381
381
  "menu-text-bold": l.menuTextBold,
382
382
  "display-highlight": l.displayHighlight,
383
383
  "highlight-color": l.highlightColor,
384
384
  "as-link": l.menuItemAsLink,
385
- onNavLink: T
385
+ onNavLink: b
386
386
  }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"]))
387
387
  ]))), 128))
388
388
  ]),
389
- b["mobile-bottom"] ? (i(), d("div", Xe, [
390
- _(l.$slots, "mobile-bottom", { headerClose: h })
391
- ])) : E("", !0)
389
+ v["mobile-bottom"] ? (i(), c("div", xe, [
390
+ j(l.$slots, "mobile-bottom", { headerClose: h })
391
+ ])) : z("", !0)
392
392
  ])
393
393
  ]),
394
394
  _: 3
395
395
  }, 8, ["bg-color", "drawer-btn-border", "drawer-btn-color", "fade-in-on-scroll", "mobile-menu-bg-color"]));
396
396
  }
397
- }), De = { class: "relative flex gap-2 items-center justify-center" }, Me = /* @__PURE__ */ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1), Ne = [
398
- Me
399
- ], _e = ["href", "target", "onClick"], je = { class: "relative" }, K = /* @__PURE__ */ D({
397
+ }), He = { class: "relative flex gap-2 items-center justify-center" }, Ee = ["href", "target", "onClick"], ze = { class: "relative" }, Y = /* @__PURE__ */ D({
400
398
  __name: "NavCollapseVertical",
401
399
  props: {
402
400
  navId: {},
@@ -411,27 +409,27 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
411
409
  asLink: { type: Boolean, default: !0 }
412
410
  },
413
411
  emits: ["label-click", "child-click"],
414
- setup(k, { expose: w, emit: B }) {
415
- const p = k, g = z(!1), b = z(), a = B, h = (e) => {
412
+ setup(L, { expose: w, emit: y }) {
413
+ const p = L, g = R(!1), v = R(), a = y, h = (e) => {
416
414
  g.value = e;
417
- }, C = () => {
415
+ }, k = () => {
418
416
  var e;
419
- (e = b.value) == null || e.close();
420
- }, T = (e, c) => {
421
- a("label-click", e, c, g.value);
422
- }, r = (e, c) => {
417
+ (e = v.value) == null || e.close();
418
+ }, b = (e, u) => {
419
+ a("label-click", e, u, g.value);
420
+ }, s = (e, u) => {
423
421
  var m;
424
- const { asLink: u } = p;
425
- u || e.preventDefault(), a("child-click", e, c), (m = b.value) == null || m.close(), C();
426
- }, t = H(() => {
427
- const { navId: e, navLocation: c } = p, m = e.toLowerCase().replaceAll(" ", "-");
428
- return `nav-${c}-${m}`;
429
- }), s = H(() => {
430
- const { navAccordionGroup: e, navLocation: c } = p, u = e.toLowerCase().replaceAll(" ", "-");
431
- return `nav-accordion-group-${c}-${u}`;
432
- }), l = H(() => {
433
- const { textColor: e, textSize: c, dHl: u, hlColor: m, fontBold: $ } = p, I = [o("BODYTEXT", c)];
434
- if (!u) {
422
+ const { asLink: d } = p;
423
+ d || e.preventDefault(), a("child-click", e, u), (m = v.value) == null || m.close(), k();
424
+ }, t = E(() => {
425
+ const { navId: e, navLocation: u } = p, m = e.toLowerCase().replaceAll(" ", "-");
426
+ return `nav-${u}-${m}`;
427
+ }), r = E(() => {
428
+ const { navAccordionGroup: e, navLocation: u } = p, d = e.toLowerCase().replaceAll(" ", "-");
429
+ return `nav-accordion-group-${u}-${d}`;
430
+ }), l = E(() => {
431
+ const { textColor: e, textSize: u, dHl: d, hlColor: m, fontBold: H } = p, I = [o("BODYTEXT", u)];
432
+ if (!d) {
435
433
  const M = [
436
434
  o("TEXTCOLOR", e),
437
435
  o("HVTEXTCOLOR", m),
@@ -439,7 +437,7 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
439
437
  ];
440
438
  I.push(M.join(" "));
441
439
  }
442
- if (u) {
440
+ if (d) {
443
441
  const M = o("BEFOREBG", m);
444
442
  I.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + M);
445
443
  const N = [
@@ -449,85 +447,87 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
449
447
  ];
450
448
  I.push(N.join(" "));
451
449
  }
452
- return $ && I.push("font-bold"), I.join(" ");
453
- }), f = H(() => {
454
- const { dHl: e, hlColor: c, navLocation: u } = p, m = [];
450
+ return H && I.push("font-bold"), I.join(" ");
451
+ }), f = E(() => {
452
+ const { dHl: e, hlColor: u, navLocation: d } = p, m = [];
455
453
  if (!e)
456
454
  return "";
457
- const $ = "before:absolute before:w-xs before:h-full before:bg-primary before:bg-opacity-70 ", I = u === "desktop" ? "before:left-0 " : "before:right-0 ";
458
- return m.push($ + I + o("BEFOREBG", c)), m.join(" ");
459
- }), v = H(() => {
460
- const { textColor: e, textSize: c, dHl: u, hlColor: m, fontBold: $, navLocation: I } = p;
461
- let M = c === "xl" ? "lg" : c === "lg" ? "md" : c === "md" ? "sm" : "xs";
462
- const R = [
455
+ const H = "before:absolute before:w-xs before:h-full before:bg-primary before:bg-opacity-70 ", I = d === "desktop" ? "before:left-0 " : "before:right-0 ";
456
+ return m.push(H + I + o("BEFOREBG", u)), m.join(" ");
457
+ }), C = E(() => {
458
+ const { textColor: e, textSize: u, dHl: d, hlColor: m, fontBold: H, navLocation: I } = p;
459
+ let M = u === "xl" ? "lg" : u === "lg" ? "md" : u === "md" ? "sm" : "xs";
460
+ const $ = [
463
461
  o("TEXTCOLOR", e),
464
462
  o("BODYTEXT", M)
465
463
  ];
466
- if (I === "mobile" && R.push("text-end"), !u) {
464
+ if (I === "mobile" && $.push("text-end"), !d) {
467
465
  const N = [
468
466
  o("TEXTCOLOR", e),
469
467
  o("HVTEXTCOLOR", m),
470
468
  o("FCTEXTCOLOR", m)
471
469
  ];
472
- R.push(N.join(" "));
470
+ $.push(N.join(" "));
473
471
  }
474
- if (u) {
475
- const N = o("BEFOREBG", m), Z = "before:inset-y-0 before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full before:bg-opacity-70 ", ee = I === "desktop" ? "before:left-0 before:transition-[width] " : "before:left-full hover:before:left-0 focus:before:left-0 before:transition-[all] ";
476
- R.push(Z + ee + N);
477
- const le = [
472
+ if (d) {
473
+ const N = o("BEFOREBG", m), P = "before:inset-y-0 before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full before:bg-opacity-70 ", Q = I === "desktop" ? "before:left-0 before:transition-[width] " : "before:left-full hover:before:left-0 focus:before:left-0 before:transition-[all] ";
474
+ $.push(P + Q + N);
475
+ const Z = [
478
476
  o("TEXTCOLOR", m),
479
477
  o("HVTEXTCOLOR", e),
480
478
  o("FCTEXTCOLOR", e)
481
479
  ];
482
- R.push(le.join(" "));
480
+ $.push(Z.join(" "));
483
481
  }
484
- return $ && R.push("font-bold"), R.join(" ");
482
+ return H && $.push("font-bold"), $.join(" ");
485
483
  });
486
484
  return w({
487
- closeCollapse: C
488
- }), (e, c) => (i(), d("div", null, [
489
- W((i(), d("button", {
490
- class: y(["px-xs py-2xs relative text-center block w-full before:absolute transition-colors duration-300 ease-linear", [l.value]]),
491
- onClick: c[0] || (c[0] = (u) => T(u, e.menuItem.title))
485
+ closeCollapse: k
486
+ }), (e, u) => (i(), c("div", null, [
487
+ _((i(), c("button", {
488
+ class: T(["px-xs py-2xs relative text-center block w-full before:absolute transition-colors duration-300 ease-linear", [l.value]]),
489
+ onClick: u[0] || (u[0] = (d) => b(d, e.menuItem.title))
492
490
  }, [
493
- n("div", De, [
491
+ n("div", He, [
494
492
  n("span", null, A(e.menuItem.title), 1),
495
- (i(), d("svg", {
493
+ (i(), c("svg", {
496
494
  xmlns: "http://www.w3.org/2000/svg",
497
495
  viewBox: "0 0 448 512",
498
- class: y(["h-[0.8rem] fill-current", [
496
+ class: T(["h-[0.8rem] fill-current", [
499
497
  g.value ? "rotate-180" : "rotate-0",
500
498
  "transition-transform duration-300 ease-in"
501
499
  ]])
502
- }, Ne, 2))
500
+ }, u[1] || (u[1] = [
501
+ n("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
502
+ ]), 2))
503
503
  ])
504
504
  ], 2)), [
505
- [L(P), void 0, t.value]
505
+ [B(q), void 0, t.value]
506
506
  ]),
507
- j(L(Q), {
507
+ G(B(J), {
508
508
  ref_key: "collapseRef",
509
- ref: b,
509
+ ref: v,
510
510
  id: t.value,
511
- accordion: s.value,
511
+ accordion: r.value,
512
512
  onOpen: h,
513
513
  onClose: h
514
514
  }, {
515
515
  default: O(() => [
516
516
  n("ul", {
517
- class: y(["relative", [f.value]])
517
+ class: T(["relative", [f.value]])
518
518
  }, [
519
- (i(!0), d(S, null, X(e.menuItem.children, (u, m) => (i(), d("li", {
519
+ (i(!0), c(S, null, X(e.menuItem.children, (d, m) => (i(), c("li", {
520
520
  key: m,
521
- class: y([e.navLocation === "desktop" ? "ml-xs" : "mr-xs"])
521
+ class: T([e.navLocation === "desktop" ? "ml-xs" : "mr-xs"])
522
522
  }, [
523
523
  n("a", {
524
- href: u.url,
525
- target: u.target,
526
- onClick: ($) => r($, u),
527
- class: y(["relative before:absolute w-full px-2xs py-3xs block overflow-x-hidden transition-colors duration-300 ease-linear", [v.value]])
524
+ href: d.url,
525
+ target: d.target,
526
+ onClick: (H) => s(H, d),
527
+ class: T(["relative before:absolute w-full px-2xs py-3xs block overflow-x-hidden transition-colors duration-300 ease-linear", [C.value]])
528
528
  }, [
529
- n("span", je, A(u.title), 1)
530
- ], 10, _e)
529
+ n("span", ze, A(d.title), 1)
530
+ ], 10, Ee)
531
531
  ], 2))), 128))
532
532
  ], 2)
533
533
  ]),
@@ -535,7 +535,7 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
535
535
  }, 8, ["id", "accordion"])
536
536
  ]));
537
537
  }
538
- }), Ge = ["href", "target"], Fe = { class: "relative" }, Y = /* @__PURE__ */ D({
538
+ }), Re = ["href", "target"], $e = { class: "relative" }, W = /* @__PURE__ */ D({
539
539
  __name: "NavLinkVertical",
540
540
  props: {
541
541
  menuItem: {},
@@ -547,42 +547,42 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
547
547
  asLink: { type: Boolean, default: !0 }
548
548
  },
549
549
  emits: ["menu-click"],
550
- setup(k, { emit: w }) {
551
- const B = k, p = w, g = (a, h) => {
552
- const { asLink: C } = B;
553
- C || a.preventDefault(), p("menu-click", a, h);
554
- }, b = H(() => {
555
- const { textColor: a, textSize: h, dHl: C, hlColor: T, fontBold: r } = B, t = [o("BODYTEXT", h)];
556
- if (!C) {
557
- const s = [
550
+ setup(L, { emit: w }) {
551
+ const y = L, p = w, g = (a, h) => {
552
+ const { asLink: k } = y;
553
+ k || a.preventDefault(), p("menu-click", a, h);
554
+ }, v = E(() => {
555
+ const { textColor: a, textSize: h, dHl: k, hlColor: b, fontBold: s } = y, t = [o("BODYTEXT", h)];
556
+ if (!k) {
557
+ const r = [
558
558
  o("TEXTCOLOR", a),
559
- o("HVTEXTCOLOR", T),
560
- o("FCTEXTCOLOR", T)
559
+ o("HVTEXTCOLOR", b),
560
+ o("FCTEXTCOLOR", b)
561
561
  ];
562
- t.push(s.join(" "));
562
+ t.push(r.join(" "));
563
563
  }
564
- if (C) {
565
- const s = o("BEFOREBG", T);
566
- t.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + s);
564
+ if (k) {
565
+ const r = o("BEFOREBG", b);
566
+ t.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + r);
567
567
  const f = [
568
- o("TEXTCOLOR", T),
568
+ o("TEXTCOLOR", b),
569
569
  o("HVTEXTCOLOR", a),
570
570
  o("FCTEXTCOLOR", a)
571
571
  ];
572
572
  t.push(f.join(" "));
573
573
  }
574
- return r && t.push("font-bold"), t.join(" ");
574
+ return s && t.push("font-bold"), t.join(" ");
575
575
  });
576
- return (a, h) => (i(), d("a", {
577
- class: y([[b.value], "px-xs py-2xs relative text-center block w-full before:absolute transition-colors duration-300 ease-linear"]),
576
+ return (a, h) => (i(), c("a", {
577
+ class: T([[v.value], "px-xs py-2xs relative text-center block w-full before:absolute transition-colors duration-300 ease-linear"]),
578
578
  href: a.menuItem.url,
579
579
  target: a.menuItem.target ? a.menuItem.target : "_self",
580
- onClick: h[0] || (h[0] = (C) => g(C, a.menuItem))
580
+ onClick: h[0] || (h[0] = (k) => g(k, a.menuItem))
581
581
  }, [
582
- n("span", Fe, A(a.menuItem.title), 1)
583
- ], 10, Ge));
582
+ n("span", $e, A(a.menuItem.title), 1)
583
+ ], 10, Re));
584
584
  }
585
- }), Ve = { class: "p-md text-center" }, Ke = ["href", "target"], Ye = ["src", "alt"], We = ["href", "target"], Ue = ["innerHTML"], qe = { class: "flex flex-col" }, Je = { key: 0 }, Pe = { class: "flex flex-col justify-between h-full" }, Qe = { class: "p-md text-center" }, Ze = ["href", "target"], el = ["src", "alt"], ll = ["href", "target"], tl = ["innerHTML"], ol = { class: "flex flex-col" }, nl = { key: 0 }, rl = /* @__PURE__ */ D({
585
+ }), Ae = { class: "p-md text-center" }, Se = ["href", "target"], Xe = ["src", "alt"], De = ["href", "target"], Me = ["innerHTML"], Ne = { class: "flex flex-col" }, je = { key: 0 }, Ge = { class: "flex flex-col justify-between h-full" }, Fe = { class: "p-md text-center" }, Ve = ["href", "target"], Ke = ["src", "alt"], Ye = ["href", "target"], We = ["innerHTML"], _e = { class: "flex flex-col" }, Ue = { key: 0 }, Qe = /* @__PURE__ */ D({
586
586
  __name: "MclHeaderB",
587
587
  props: {
588
588
  logo: {},
@@ -606,50 +606,50 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
606
606
  headerWidth: { default: 160 }
607
607
  },
608
608
  emits: ["toggle-drawer", "title-click", "menu-click", "collapse-click"],
609
- setup(k, { expose: w, emit: B }) {
610
- const p = k, g = J(), b = B, a = z(), h = z(), C = (e, c) => {
611
- b("toggle-drawer", e, c);
612
- }, T = () => {
609
+ setup(L, { expose: w, emit: y }) {
610
+ const p = L, g = U(), v = y, a = R(), h = R(), k = (e, u) => {
611
+ v("toggle-drawer", e, u);
612
+ }, b = () => {
613
613
  var e;
614
614
  (e = a.value) == null || e.headerClose();
615
- }, r = () => {
615
+ }, s = () => {
616
616
  for (let e = 0; e < h.value.length; e++)
617
617
  h.value[e].closeCollapse();
618
618
  }, t = (e) => {
619
- const { titleBlockAsLink: c, titleBlockLink: u, titleBlockLinkTarget: m } = p;
620
- c || e.preventDefault(), b("title-click", e, u, m), T(), r();
621
- }, s = (e, c) => {
622
- const { menuItemAsLink: u } = p;
623
- u || e.preventDefault(), b("menu-click", e, c), T(), r();
624
- }, l = (e, c, u) => {
625
- b("collapse-click", e, c, u);
626
- }, f = H(() => {
627
- const { titleSize: e, titleColor: c } = p;
619
+ const { titleBlockAsLink: u, titleBlockLink: d, titleBlockLinkTarget: m } = p;
620
+ u || e.preventDefault(), v("title-click", e, d, m), b(), s();
621
+ }, r = (e, u) => {
622
+ const { menuItemAsLink: d } = p;
623
+ d || e.preventDefault(), v("menu-click", e, u), b(), s();
624
+ }, l = (e, u, d) => {
625
+ v("collapse-click", e, u, d);
626
+ }, f = E(() => {
627
+ const { titleSize: e, titleColor: u } = p;
628
628
  return [
629
629
  o("H3", e),
630
- o("TEXTCOLOR", c)
630
+ o("TEXTCOLOR", u)
631
631
  ].join(" ");
632
- }), v = (e) => {
633
- const c = e;
634
- return typeof c.children > "u" ? !1 : c.children.length > 0;
632
+ }), C = (e) => {
633
+ const u = e;
634
+ return typeof u.children > "u" ? !1 : u.children.length > 0;
635
635
  };
636
636
  return w({
637
- headerClose: T
638
- }), (e, c) => (i(), x(L(ie), {
637
+ headerClose: b
638
+ }), (e, u) => (i(), x(B(oe), {
639
639
  "bg-color": e.bgColor,
640
640
  "drawer-btn-color": e.drawerBtnColor,
641
641
  "drawer-btn-border": e.drawerBtnBorder,
642
642
  "header-width": e.headerWidth,
643
- onToggleDrawer: C,
643
+ onToggleDrawer: k,
644
644
  ref_key: "componentRef",
645
645
  ref: a
646
646
  }, {
647
647
  default: O(() => [
648
- _(e.$slots, "default")
648
+ j(e.$slots, "default")
649
649
  ]),
650
650
  content: O(() => [
651
651
  n("div", null, [
652
- n("div", Ve, [
652
+ n("div", Ae, [
653
653
  n("a", {
654
654
  href: e.titleBlockLink,
655
655
  target: e.titleBlockLinkTarget,
@@ -659,8 +659,8 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
659
659
  src: e.logo,
660
660
  alt: e.logoAlt,
661
661
  class: "h-full inline-block max-h-xl"
662
- }, null, 8, Ye)
663
- ], 8, Ke)
662
+ }, null, 8, Xe)
663
+ ], 8, Se)
664
664
  ]),
665
665
  n("div", null, [
666
666
  n("a", {
@@ -669,56 +669,56 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
669
669
  onClick: t
670
670
  }, [
671
671
  n("h3", {
672
- class: y([f.value, "text-center mb-md"]),
672
+ class: T([f.value, "text-center mb-md"]),
673
673
  innerHTML: e.title
674
- }, null, 10, Ue)
675
- ], 8, We)
674
+ }, null, 10, Me)
675
+ ], 8, De)
676
676
  ]),
677
- n("ul", qe, [
678
- (i(!0), d(S, null, X(e.menuItems, (u, m) => (i(), d("li", {
677
+ n("ul", Ne, [
678
+ (i(!0), c(S, null, X(e.menuItems, (d, m) => (i(), c("li", {
679
679
  key: `menu-${m}`
680
680
  }, [
681
- v(u) ? (i(), x(K, {
681
+ C(d) ? (i(), x(Y, {
682
682
  key: 1,
683
683
  ref_for: !0,
684
684
  ref_key: "collapseRef",
685
685
  ref: h,
686
- "nav-id": u.title,
686
+ "nav-id": d.title,
687
687
  "nav-location": "desktop",
688
688
  "nav-accordion-group": e.title,
689
- "menu-item": u,
689
+ "menu-item": d,
690
690
  "as-link": e.menuItemAsLink,
691
691
  "text-color": e.menuTextColor,
692
692
  "text-size": e.menuTextSize,
693
693
  "font-bold": e.menuTextBold,
694
694
  "d-hl": e.displayHighlight,
695
695
  "hl-color": e.highlightColor,
696
- onChildClick: s,
696
+ onChildClick: r,
697
697
  onLabelClick: l
698
- }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (i(), x(Y, {
698
+ }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (i(), x(W, {
699
699
  key: 0,
700
- "menu-item": u,
700
+ "menu-item": d,
701
701
  "as-link": e.menuItemAsLink,
702
702
  "text-color": e.menuTextColor,
703
703
  "text-size": e.menuTextSize,
704
704
  "font-bold": e.menuTextBold,
705
705
  "d-hl": e.displayHighlight,
706
706
  "hl-color": e.highlightColor,
707
- onMenuClick: s
707
+ onMenuClick: r
708
708
  }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
709
709
  ]))), 128))
710
710
  ])
711
711
  ])
712
712
  ]),
713
713
  "content-bottom": O(() => [
714
- g["content-bottom"] ? (i(), d("div", Je, [
715
- _(e.$slots, "content-bottom")
716
- ])) : E("", !0)
714
+ g["content-bottom"] ? (i(), c("div", je, [
715
+ j(e.$slots, "content-bottom")
716
+ ])) : z("", !0)
717
717
  ]),
718
- "mobile-content": O(({ headerClose: u }) => [
719
- n("div", Pe, [
718
+ "mobile-content": O(({ headerClose: d }) => [
719
+ n("div", Ge, [
720
720
  n("div", null, [
721
- n("div", Qe, [
721
+ n("div", Fe, [
722
722
  n("a", {
723
723
  href: e.titleBlockLink,
724
724
  target: e.titleBlockLinkTarget,
@@ -728,8 +728,8 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
728
728
  src: e.logo,
729
729
  alt: e.logoAlt,
730
730
  class: "h-full inline-block max-h-xl"
731
- }, null, 8, el)
732
- ], 8, Ze)
731
+ }, null, 8, Ke)
732
+ ], 8, Ve)
733
733
  ]),
734
734
  n("div", null, [
735
735
  n("a", {
@@ -738,16 +738,16 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
738
738
  onClick: t
739
739
  }, [
740
740
  n("h3", {
741
- class: y([f.value, "text-center mb-md"]),
741
+ class: T([f.value, "text-center mb-md"]),
742
742
  innerHTML: e.title
743
- }, null, 10, tl)
744
- ], 8, ll)
743
+ }, null, 10, We)
744
+ ], 8, Ye)
745
745
  ]),
746
- n("ul", ol, [
747
- (i(!0), d(S, null, X(e.menuItems, (m, $) => (i(), d("li", {
748
- key: `menu-${$}`
746
+ n("ul", _e, [
747
+ (i(!0), c(S, null, X(e.menuItems, (m, H) => (i(), c("li", {
748
+ key: `menu-${H}`
749
749
  }, [
750
- v(m) ? (i(), x(K, {
750
+ C(m) ? (i(), x(Y, {
751
751
  key: 1,
752
752
  "nav-id": m.title,
753
753
  "nav-location": "mobile",
@@ -759,9 +759,9 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
759
759
  "font-bold": e.menuTextBold,
760
760
  "d-hl": e.displayHighlight,
761
761
  "hl-color": e.highlightColor,
762
- onChildClick: s,
762
+ onChildClick: r,
763
763
  onLabelClick: l
764
- }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (i(), x(Y, {
764
+ }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (i(), x(W, {
765
765
  key: 0,
766
766
  "menu-item": m,
767
767
  "as-link": e.menuItemAsLink,
@@ -770,14 +770,14 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
770
770
  "font-bold": e.menuTextBold,
771
771
  "d-hl": e.displayHighlight,
772
772
  "hl-color": e.highlightColor,
773
- onMenuClick: s
773
+ onMenuClick: r
774
774
  }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
775
775
  ]))), 128))
776
776
  ])
777
777
  ]),
778
- g["mobile-bottom"] ? (i(), d("div", nl, [
779
- _(e.$slots, "mobile-bottom", { headerClose: u })
780
- ])) : E("", !0)
778
+ g["mobile-bottom"] ? (i(), c("div", Ue, [
779
+ j(e.$slots, "mobile-bottom", { headerClose: d })
780
+ ])) : z("", !0)
781
781
  ])
782
782
  ]),
783
783
  _: 3
@@ -785,6 +785,6 @@ const ae = (k) => (U("data-v-1b1467b6"), k = k(), q(), k), se = { class: "flex f
785
785
  }
786
786
  });
787
787
  export {
788
- sl as MclHeaderA,
789
- rl as MclHeaderB
788
+ Pe as MclHeaderA,
789
+ Qe as MclHeaderB
790
790
  };