maz-ui 3.49.0 → 3.49.2

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.
Files changed (129) hide show
  1. package/components/MazAnimatedCounter.mjs +78 -73
  2. package/components/MazAnimatedElement.mjs +12 -12
  3. package/components/MazAnimatedText.mjs +5 -5
  4. package/components/MazBottomSheet.mjs +1 -1
  5. package/components/MazBtn.mjs +1 -1
  6. package/components/MazCard.mjs +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazChecklist.mjs +1 -1
  9. package/components/MazCircularProgressBar.mjs +128 -123
  10. package/components/MazDialog.mjs +1 -1
  11. package/components/MazDialogPromise.mjs +1 -1
  12. package/components/MazDrawer.mjs +1 -1
  13. package/components/MazDropdown.mjs +1 -1
  14. package/components/MazInput.mjs +1 -1
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.mjs +1 -1
  18. package/components/MazPagination.mjs +1 -1
  19. package/components/MazPhoneNumberInput.mjs +1 -1
  20. package/components/MazPicker.mjs +1 -1
  21. package/components/MazSelect.mjs +1 -1
  22. package/components/MazTable.mjs +1 -1
  23. package/components/assets/MazAnimatedCounter.css +1 -1
  24. package/components/assets/MazAnimatedElement.css +1 -1
  25. package/components/assets/MazAnimatedText.css +1 -1
  26. package/components/assets/MazBtn.css +1 -1
  27. package/components/assets/MazCard.css +1 -1
  28. package/components/assets/MazCircularProgressBar.css +1 -1
  29. package/components/assets/MazInput.css +1 -1
  30. package/components/assets/MazInputNumber.css +1 -1
  31. package/components/assets/MazInputPrice.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPagination.css +1 -1
  34. package/components/assets/MazPhoneNumberInput.css +1 -1
  35. package/components/assets/MazPicker.css +1 -1
  36. package/components/chunks/{MazBottomSheet-CNFupuJS.mjs → MazBottomSheet-CIXEEUpN.mjs} +1 -1
  37. package/components/chunks/MazBtn-9Jk8ZkBq.mjs +103 -0
  38. package/components/chunks/{MazBtn-BJNzz7YT.mjs → MazBtn-BHD7Xbr_.mjs} +3 -3
  39. package/components/chunks/{MazBtn-CKDJOBcC.mjs → MazBtn-BT4o0zLa.mjs} +2 -2
  40. package/components/chunks/{MazBtn-D53RC3KP.mjs → MazBtn-Ba8ff2Nu.mjs} +3 -3
  41. package/components/chunks/{MazBtn-DYURBZtp.mjs → MazBtn-Bdhu8JTk.mjs} +2 -2
  42. package/components/chunks/{MazBtn-BO1U1gVG.mjs → MazBtn-CbTqLKv1.mjs} +3 -3
  43. package/components/chunks/MazBtn-DAzJbcTl.mjs +103 -0
  44. package/components/chunks/{MazBtn-CP-m-KDm.mjs → MazBtn-DCGXwqRM.mjs} +3 -3
  45. package/components/chunks/MazBtn-DGIjSCP2.mjs +103 -0
  46. package/components/chunks/{MazBtn-CUoFOAML.mjs → MazBtn-DXinft-p.mjs} +3 -3
  47. package/components/chunks/MazBtn-DnpSuILi.mjs +103 -0
  48. package/components/chunks/{MazBtn-BugQGoO-.mjs → MazBtn-GYr50Ap4.mjs} +3 -3
  49. package/components/chunks/{MazBtn-Cyn7ObTB.mjs → MazBtn-IBh1tCot.mjs} +3 -3
  50. package/components/chunks/{MazBtn-MvFibIXn.mjs → MazBtn-UDAwHekF.mjs} +3 -3
  51. package/components/chunks/{MazCard-D-q6vhWd.mjs → MazCard-CQBFy8r_.mjs} +4 -4
  52. package/components/chunks/{MazCarousel-Z4XypOn_.mjs → MazCarousel-Bcn7nKDo.mjs} +1 -1
  53. package/components/chunks/{MazCheckbox-DJi0g4uK.mjs → MazCheckbox-B8Rnqa6O.mjs} +1 -1
  54. package/components/chunks/{MazCheckbox-DafMJoEw.mjs → MazCheckbox-Br41Nrq7.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-BImOZ1aM.mjs → MazCheckbox-t4i9eR04.mjs} +1 -1
  56. package/components/chunks/{MazChecklist-DaEf6wix.mjs → MazChecklist-DLr57bfX.mjs} +1 -1
  57. package/components/chunks/{MazDialog-PVsds2Mw.mjs → MazDialog-ak7mSNff.mjs} +1 -1
  58. package/components/chunks/{MazDialogPromise-BdtiOZGU.mjs → MazDialogPromise-JvS9f5Of.mjs} +2 -2
  59. package/components/chunks/{MazDrawer-CMHe_JEh.mjs → MazDrawer-CTsb4x_4.mjs} +1 -1
  60. package/components/chunks/{MazDropdown-DpGSAqe0.mjs → MazDropdown-BxMokXYe.mjs} +1 -1
  61. package/components/chunks/{MazGallery-BtuCo-H0.mjs → MazGallery-C7Zp1iYc.mjs} +2 -2
  62. package/components/chunks/MazIcon-C47uJeFY.mjs +4 -0
  63. package/components/chunks/{MazIcon-Bnebkvf6.mjs → MazIcon-mGVzj6Xw.mjs} +1 -1
  64. package/components/chunks/{MazInput-C3QweR84.mjs → MazInput-BK2OXh6D.mjs} +73 -84
  65. package/components/chunks/{MazInput-DvaaM9Iq.mjs → MazInput-BWHAOFtO.mjs} +66 -77
  66. package/components/chunks/{MazInput-DjvBbUZl.mjs → MazInput-C2_KlBtJ.mjs} +67 -78
  67. package/components/chunks/{MazInputNumber-D904Pg1R.mjs → MazInputNumber-Bw6O0AGT.mjs} +104 -115
  68. package/components/chunks/{MazInputPrice-CQiJFPWB.mjs → MazInputPrice-BCM9ga_h.mjs} +104 -115
  69. package/components/chunks/{MazInputTags-BPSG1X1a.mjs → MazInputTags-B0B93sN-.mjs} +127 -138
  70. package/components/chunks/{MazLink-DnnBkVEE.mjs → MazLink-PEtIzV5x.mjs} +1 -1
  71. package/components/chunks/{MazLoadingBar-Dm14PSs6.mjs → MazLoadingBar-BjzRnYVR.mjs} +1 -1
  72. package/components/chunks/{MazPagination-CuCKS1Qr.mjs → MazPagination-DKseqKmF.mjs} +2 -2
  73. package/components/chunks/{MazPhoneNumberInput-CKpP3yWz.mjs → MazPhoneNumberInput-CPm6LjfT.mjs} +354 -365
  74. package/components/chunks/MazPicker-BHBE1cC_.mjs +2482 -0
  75. package/components/chunks/{MazPickerMonthSwitcher-BDxk_Msi.mjs → MazPickerMonthSwitcher-CXfxTBNH.mjs} +1 -1
  76. package/components/chunks/{MazPickerShortcuts-DtHvsdEW.mjs → MazPickerShortcuts-BLuYu65Q.mjs} +1 -1
  77. package/components/chunks/{MazPickerYearSwitcher-DXkaTXFw.mjs → MazPickerYearSwitcher-CpSOH48Y.mjs} +1 -1
  78. package/components/chunks/{MazSelect-VAPsGKXy.mjs → MazSelect-CdSRiSW9.mjs} +3 -3
  79. package/components/chunks/{MazSelect-cthYMQqx.mjs → MazSelect-uHsahxjj.mjs} +188 -199
  80. package/components/chunks/{MazSpinner-Ba5WXlbx.mjs → MazSpinner-B3mUm5mz.mjs} +1 -1
  81. package/components/chunks/MazSpinner-B698e0ut.mjs +34 -0
  82. package/components/chunks/{MazSpinner-B5j5EaKc.mjs → MazSpinner-BEW98Fow.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-94rvbsAk.mjs → MazSpinner-BqMt92KT.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-DtFpBxRT.mjs → MazSpinner-Bs8Z0Ewo.mjs} +1 -1
  85. package/components/chunks/MazSpinner-C2OD6LW3.mjs +34 -0
  86. package/components/chunks/MazSpinner-C3zQC9oz.mjs +34 -0
  87. package/components/chunks/MazSpinner-C5pIord0.mjs +34 -0
  88. package/components/chunks/MazSpinner-C8KOYxzi.mjs +34 -0
  89. package/components/chunks/{MazSpinner-DLR4lVAu.mjs → MazSpinner-C8zfJPRU.mjs} +1 -1
  90. package/components/chunks/{MazSpinner-BLh6PkZJ.mjs → MazSpinner-C_uLffb-.mjs} +1 -1
  91. package/components/chunks/{MazSpinner-C2mutMJX.mjs → MazSpinner-Cu7WoA4N.mjs} +1 -1
  92. package/components/chunks/MazSpinner-CyqPQ7SW.mjs +34 -0
  93. package/components/chunks/MazSpinner-DV634NYb.mjs +34 -0
  94. package/components/chunks/MazSpinner-DW_14RuN.mjs +34 -0
  95. package/components/chunks/{MazSpinner-SnOek826.mjs → MazSpinner-DwQiUPTZ.mjs} +1 -1
  96. package/components/chunks/MazSpinner-zV6qnXaD.mjs +34 -0
  97. package/components/chunks/{MazTable-BuFlCw1p.mjs → MazTable-B5BMpCK1.mjs} +1 -1
  98. package/components/chunks/{MazTableCell-C6oDOvNH.mjs → MazTableCell-7Ahz87mm.mjs} +1 -1
  99. package/components/chunks/{MazTableRow-BBS8sW7w.mjs → MazTableRow-B0JiP3mV.mjs} +1 -1
  100. package/components/chunks/{MazTableTitle-D7J-0k_j.mjs → MazTableTitle-BdajfMLo.mjs} +1 -1
  101. package/components/chunks/{MazTransitionExpand-BlcqxvGq.mjs → MazTransitionExpand-BO_9-l3g.mjs} +1 -1
  102. package/modules/assets/MazBtn.css +1 -1
  103. package/modules/chunks/{MazBtn-BjiQC2PC.mjs → MazBtn-CvuJewxV.mjs} +3 -3
  104. package/modules/chunks/{MazBtn-BnQrui8R.cjs → MazBtn-eZwyrxMU.cjs} +1 -1
  105. package/modules/chunks/{MazIcon-DwFVj44O.mjs → MazIcon-CeCRHfan.mjs} +1 -1
  106. package/modules/chunks/{MazIcon-D4oz63T8.cjs → MazIcon-u9VBpDx8.cjs} +1 -1
  107. package/modules/chunks/{MazSpinner-B18bQ49b.cjs → MazSpinner-BY5lnQ7u.cjs} +1 -1
  108. package/modules/chunks/{MazSpinner-7nqeVBxW.mjs → MazSpinner-DdDJ5vzJ.mjs} +1 -1
  109. package/modules/chunks/{index-D8S1X6Fy.mjs → index--62sMUK_.mjs} +4 -4
  110. package/modules/chunks/{index-IBifh-oY.cjs → index-Bq7zqUSE.cjs} +2 -2
  111. package/modules/index.cjs +1 -1
  112. package/modules/index.mjs +1 -1
  113. package/nuxt/index.json +1 -1
  114. package/package.json +1 -1
  115. package/components/chunks/MazBtn-DiYly5sp.mjs +0 -103
  116. package/components/chunks/MazBtn-Dlx6nLm2.mjs +0 -103
  117. package/components/chunks/MazBtn-MJYP-poo.mjs +0 -103
  118. package/components/chunks/MazBtn-tS9ACNLi.mjs +0 -103
  119. package/components/chunks/MazIcon-C7ZMosGw.mjs +0 -4
  120. package/components/chunks/MazPicker-g10_1sY_.mjs +0 -2493
  121. package/components/chunks/MazSpinner-C7TbmneX.mjs +0 -34
  122. package/components/chunks/MazSpinner-CcshuKK9.mjs +0 -34
  123. package/components/chunks/MazSpinner-D2J_jdkK.mjs +0 -34
  124. package/components/chunks/MazSpinner-DIzWfhcT.mjs +0 -34
  125. package/components/chunks/MazSpinner-DP019rLG.mjs +0 -34
  126. package/components/chunks/MazSpinner-DXCofnqs.mjs +0 -34
  127. package/components/chunks/MazSpinner-DmeOhZXm.mjs +0 -34
  128. package/components/chunks/MazSpinner-ZDRUpUqo.mjs +0 -34
  129. package/components/chunks/MazSpinner-qRqfN8k4.mjs +0 -34
@@ -1,13 +1,13 @@
1
1
  import '../assets/MazPhoneNumberInput.css';var Xe = Object.defineProperty;
2
2
  var xe = (a, e, t) => e in a ? Xe(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var Z = (a, e, t) => xe(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { computed as v, useId as _e, inject as eo, defineComponent as ae, defineAsyncComponent as R, withDirectives as Ie, openBlock as b, createElementBlock as S, normalizeClass as O, normalizeStyle as X, Fragment as Ce, renderList as Te, createElementVNode as q, mergeProps as _, createVNode as H, unref as I, createCommentVNode as V, renderSlot as M, ref as k, onMounted as Ae, useSlots as oo, toDisplayString as x, createBlock as U, resolveDynamicComponent as Le, toHandlers as to, vModelDynamic as lo, createTextVNode as ao, withModifiers as le, withCtx as W, onBeforeMount as Me, nextTick as ue, Transition as so, mergeModels as no, useModel as ro, watch as ve, provide as io } from "vue";
5
- import { getCountries as Fe, getCountryCallingCode as de, isSupportedCountry as uo, parsePhoneNumberFromString as co, getExampleNumber as mo, AsYouType as po } from "libphonenumber-js";
4
+ import { computed as y, useId as _e, inject as eo, defineComponent as ae, defineAsyncComponent as q, withDirectives as Ie, openBlock as C, createElementBlock as S, normalizeClass as $, normalizeStyle as X, Fragment as Ce, renderList as Me, createElementVNode as j, mergeProps as _, createVNode as D, unref as I, createCommentVNode as P, renderSlot as T, ref as V, onMounted as Ae, useSlots as oo, toDisplayString as x, createBlock as H, resolveDynamicComponent as Le, toHandlers as to, vModelDynamic as lo, withModifiers as le, withCtx as Q, onBeforeMount as Te, nextTick as ue, Transition as ao, mergeModels as so, useModel as no, watch as ve, provide as ro } from "vue";
5
+ import { getCountries as Fe, getCountryCallingCode as de, isSupportedCountry as io, parsePhoneNumberFromString as uo, getExampleNumber as co, AsYouType as mo } from "libphonenumber-js";
6
6
  function we({
7
7
  componentName: a,
8
8
  providedId: e
9
9
  }) {
10
- return v(() => e ?? `${a}-${_e().replace(/:/g, "")}`);
10
+ return y(() => e ?? `${a}-${_e().replace(/:/g, "")}`);
11
11
  }
12
12
  function Ee(a, e = "20x15") {
13
13
  return `https://flagcdn.com/${e}/${a.toLowerCase()}.png`;
@@ -18,10 +18,10 @@ function Ne(a, e) {
18
18
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${a.toString()}`);
19
19
  return t;
20
20
  }
21
- function fo(a) {
21
+ function po(a) {
22
22
  return !!a;
23
23
  }
24
- const ho = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", vo = {
24
+ const fo = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", ho = {
25
25
  baseClass: "m-lazy-img",
26
26
  loadedClass: "m-lazy-loaded",
27
27
  loadingClass: "m-lazy-loading",
@@ -35,10 +35,10 @@ const ho = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAA
35
35
  threshold: 0.1
36
36
  }
37
37
  };
38
- class yo {
38
+ class vo {
39
39
  constructor(e = {}) {
40
40
  Z(this, "observers", []);
41
- Z(this, "defaultOptions", vo);
41
+ Z(this, "defaultOptions", ho);
42
42
  Z(this, "options");
43
43
  Z(this, "onImgLoadedCallback");
44
44
  Z(this, "onImgErrorCallback");
@@ -150,16 +150,16 @@ class yo {
150
150
  handleIntersectionObserver(e, t, o, i) {
151
151
  var r, g;
152
152
  this.observers.push(i);
153
- for (const y of o)
154
- if (y.isIntersecting) {
155
- if ((g = (r = this.options).onIntersecting) == null || g.call(r, y.target), this.options.observerOnce && i.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
153
+ for (const v of o)
154
+ if (v.isIntersecting) {
155
+ if ((g = (r = this.options).onIntersecting) == null || g.call(r, v.target), this.options.observerOnce && i.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
156
156
  return;
157
157
  this.loadImage(e, t);
158
158
  }
159
159
  }
160
160
  createObserver(e, t) {
161
- const o = (g, y) => {
162
- this.handleIntersectionObserver(e, t, g, y);
161
+ const o = (g, v) => {
162
+ this.handleIntersectionObserver(e, t, g, v);
163
163
  }, i = this.options.observerOptions;
164
164
  new IntersectionObserver(o, i).observe(e);
165
165
  }
@@ -176,7 +176,7 @@ class yo {
176
176
  async add(e, t) {
177
177
  if (this.hasBgImgMode(t) && this.isPictureElement(e))
178
178
  throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
179
- setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, ho), await this.bindUpdateHandler(e, t, "bind");
179
+ setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, fo), await this.bindUpdateHandler(e, t, "bind");
180
180
  }
181
181
  async update(e, t) {
182
182
  t.value !== t.oldValue && (this.hasImgLoaded = !1, this.removeAllStateClasses(e), await this.bindUpdateHandler(e, t, "update"));
@@ -189,10 +189,10 @@ class yo {
189
189
  }
190
190
  }
191
191
  let ie;
192
- const go = {
192
+ const yo = {
193
193
  created(a, e) {
194
194
  const t = typeof e.value == "object" ? e.value : {};
195
- ie = new yo(t), ie.add(a, e);
195
+ ie = new vo(t), ie.add(a, e);
196
196
  },
197
197
  updated(a, e) {
198
198
  ie.update(a, e);
@@ -200,10 +200,10 @@ const go = {
200
200
  unmounted(a, e) {
201
201
  ie.remove(a, e);
202
202
  }
203
- }, bo = ["data-lazy-srcset", "media"], Co = ["alt"], zo = {
203
+ }, go = ["data-lazy-srcset", "media"], bo = ["alt"], Co = {
204
204
  key: 0,
205
205
  class: "m-lazy-img-component-loader"
206
- }, Io = /* @__PURE__ */ ae({
206
+ }, zo = /* @__PURE__ */ ae({
207
207
  inheritAttrs: !1,
208
208
  __name: "MazLazyImg",
209
209
  props: {
@@ -224,52 +224,52 @@ const go = {
224
224
  },
225
225
  emits: ["intersecting", "loading", "loaded", "error"],
226
226
  setup(a) {
227
- const e = a, t = R(() => import("./MazSpinner-DP019rLG.mjs")), o = v(() => e.image || e.src), i = v(() => {
227
+ const e = a, t = q(() => import("./MazSpinner-CyqPQ7SW.mjs")), o = y(() => e.image || e.src), i = y(() => {
228
228
  var r;
229
229
  return typeof o.value == "string" ? [{ srcset: o.value }] : (r = o.value) == null ? void 0 : r.sources;
230
230
  });
231
- return (r, g) => Ie((b(), S(
231
+ return (r, g) => Ie((C(), S(
232
232
  "picture",
233
233
  {
234
- class: O(["m-lazy-img-component m-reset-css", [{ "--use-loader": !r.noLoader, "--height-full": r.imageHeightFull, "--block": r.block }, e.class]]),
234
+ class: $(["m-lazy-img-component m-reset-css", [{ "--use-loader": !r.noLoader, "--height-full": r.imageHeightFull, "--block": r.block }, e.class]]),
235
235
  style: X(r.style)
236
236
  },
237
237
  [
238
- (b(!0), S(
238
+ (C(!0), S(
239
239
  Ce,
240
240
  null,
241
- Te(i.value, ({ srcset: y, media: E }, C) => (b(), S("source", {
242
- key: C,
243
- "data-lazy-srcset": y,
244
- media: E
245
- }, null, 8, bo))),
241
+ Me(i.value, ({ srcset: v, media: L }, b) => (C(), S("source", {
242
+ key: b,
243
+ "data-lazy-srcset": v,
244
+ media: L
245
+ }, null, 8, go))),
246
246
  128
247
247
  /* KEYED_FRAGMENT */
248
248
  )),
249
- q("img", _(r.$attrs, {
249
+ j("img", _(r.$attrs, {
250
250
  src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
251
251
  loading: "lazy",
252
252
  alt: r.alt,
253
253
  class: r.imgClass
254
- }), null, 16, Co),
255
- r.noLoader ? V("v-if", !0) : (b(), S("div", zo, [
256
- H(I(t), { size: "2em" })
254
+ }), null, 16, bo),
255
+ r.noLoader ? P("v-if", !0) : (C(), S("div", Co, [
256
+ D(I(t), { size: "2em" })
257
257
  ])),
258
- M(r.$slots, "default", {}, void 0, !0)
258
+ T(r.$slots, "default", {}, void 0, !0)
259
259
  ],
260
260
  6
261
261
  /* CLASS, STYLE */
262
262
  )), [
263
- [I(go), {
263
+ [I(yo), {
264
264
  noPhoto: r.noPhoto,
265
265
  loadOnce: r.loadOnce,
266
266
  observerOptions: r.observerOptions,
267
267
  fallbackSrc: r.fallbackSrc,
268
268
  observerOnce: !r.noObserverOnce,
269
- onIntersecting: (y) => r.$emit("intersecting", y),
270
- onLoading: (y) => r.$emit("loading", y),
271
- onLoaded: (y) => r.$emit("loaded", y),
272
- onError: (y) => r.$emit("error", y)
269
+ onIntersecting: (v) => r.$emit("intersecting", v),
270
+ onLoading: (v) => r.$emit("loading", v),
271
+ onLoaded: (v) => r.$emit("loaded", v),
272
+ onError: (v) => r.$emit("error", v)
273
273
  }]
274
274
  ]);
275
275
  }
@@ -278,7 +278,7 @@ const go = {
278
278
  for (const [o, i] of e)
279
279
  t[o] = i;
280
280
  return t;
281
- }, $e = /* @__PURE__ */ se(Io, [["__scopeId", "data-v-16d47574"]]), Ao = {
281
+ }, $e = /* @__PURE__ */ se(zo, [["__scopeId", "data-v-16d47574"]]), Io = {
282
282
  removeAccents: !0,
283
283
  caseSensitive: !1,
284
284
  replaceSpaces: !0,
@@ -289,7 +289,7 @@ const go = {
289
289
  customNormalizationForms: ["NFC", "NFKD"]
290
290
  };
291
291
  function ce(a, e) {
292
- const t = { ...Ao, ...e }, o = {
292
+ const t = { ...Io, ...e }, o = {
293
293
  À: "A",
294
294
  Á: "A",
295
295
  Â: "A",
@@ -344,7 +344,7 @@ function ce(a, e) {
344
344
  i = i.normalize(r);
345
345
  return i;
346
346
  }
347
- function wo(a, e) {
347
+ function Ao(a, e) {
348
348
  const t = a.length, o = e.length, i = [];
349
349
  for (let r = 0; r <= t; r++)
350
350
  i[r] = [r];
@@ -352,45 +352,45 @@ function wo(a, e) {
352
352
  i[0][r] = r;
353
353
  for (let r = 1; r <= t; r++)
354
354
  for (let g = 1; g <= o; g++) {
355
- const y = a[r - 1] === e[g - 1] ? 0 : 1;
355
+ const v = a[r - 1] === e[g - 1] ? 0 : 1;
356
356
  i[r][g] = Math.min(
357
357
  i[r - 1][g] + 1,
358
358
  i[r][g - 1] + 1,
359
- i[r - 1][g - 1] + y
359
+ i[r - 1][g - 1] + v
360
360
  );
361
361
  }
362
362
  return i[t][o];
363
363
  }
364
364
  function Ke(a, e) {
365
- const t = wo(a, e), o = Math.max(a.length, e.length);
365
+ const t = Ao(a, e), o = Math.max(a.length, e.length);
366
366
  return 1 - t / o;
367
367
  }
368
- function So(a, e, t = 0.75) {
368
+ function wo(a, e, t = 0.75) {
369
369
  return Ke(a, e) >= t;
370
370
  }
371
371
  function ye(a, e, t = 0.75) {
372
- const o = v(
372
+ const o = y(
373
373
  () => ce(typeof a == "string" ? a : a.value)
374
- ), i = v(
374
+ ), i = y(
375
375
  () => ce(typeof e == "string" ? e : e.value)
376
- ), r = v(() => typeof t == "number" ? t : t.value), g = v(() => Ke(o.value, i.value));
376
+ ), r = y(() => typeof t == "number" ? t : t.value), g = y(() => Ke(o.value, i.value));
377
377
  return {
378
- isMatching: v(
379
- () => So(o.value, i.value, r.value)
378
+ isMatching: y(
379
+ () => wo(o.value, i.value, r.value)
380
380
  ),
381
381
  score: g
382
382
  };
383
383
  }
384
384
  function Ue(a, e, t) {
385
- var g, y;
385
+ var g, v;
386
386
  a.stopPropagation();
387
387
  const o = typeof t.value == "function" ? t.value : t.value.handler, i = typeof t.value == "object" ? t.value.exclude : void 0;
388
388
  let r = !1;
389
389
  if (i && i.length > 0) {
390
- for (const E of i)
390
+ for (const L of i)
391
391
  if (!r && a.target instanceof HTMLElement) {
392
- const C = (g = document.querySelector(E)) == null ? void 0 : g.getAttribute("id");
393
- r = (a.target.getAttribute("id") === C || ((y = document.querySelector(E)) == null ? void 0 : y.contains(a.target))) ?? !1;
392
+ const b = (g = document.querySelector(L)) == null ? void 0 : g.getAttribute("id");
393
+ r = (a.target.getAttribute("id") === b || ((v = document.querySelector(L)) == null ? void 0 : v.contains(a.target))) ?? !1;
394
394
  }
395
395
  }
396
396
  !e.contains(a.target) && !r && (o == null || o(a));
@@ -398,11 +398,11 @@ function Ue(a, e, t) {
398
398
  function He() {
399
399
  return document.ontouchstart === null ? "touchstart" : "click";
400
400
  }
401
- function Vo(a, e) {
401
+ function So(a, e) {
402
402
  const t = He();
403
403
  document.removeEventListener(t, (o) => Ue(o, a, e));
404
404
  }
405
- function ko(a, e) {
405
+ function Vo(a, e) {
406
406
  if (typeof e.value != "function" && typeof e.value == "object" && typeof e.value.handler != "function") {
407
407
  console.error("[maz-ui](vClosable) v-closable directive requires a handler function");
408
408
  return;
@@ -410,15 +410,15 @@ function ko(a, e) {
410
410
  const t = He();
411
411
  document.addEventListener(t, (o) => Ue(o, a, e));
412
412
  }
413
- const Po = {
414
- mounted: ko,
415
- unmounted: Vo
413
+ const ko = {
414
+ mounted: Vo,
415
+ unmounted: So
416
416
  };
417
417
  let ge = null;
418
- function Bo(a, e) {
418
+ function Po(a, e) {
419
419
  ge && clearTimeout(ge), ge = setTimeout(a, e);
420
420
  }
421
- function Lo(a, e) {
421
+ function Bo(a, e) {
422
422
  let t;
423
423
  return function(...o) {
424
424
  clearTimeout(t), t = setTimeout(() => {
@@ -426,13 +426,13 @@ function Lo(a, e) {
426
426
  }, e);
427
427
  };
428
428
  }
429
- const Eo = ["for"], $o = {
429
+ const Lo = ["for"], Eo = {
430
430
  key: 0,
431
431
  class: "m-input-wrapper-left"
432
- }, Oo = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], To = { key: 0 }, Mo = {
432
+ }, $o = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], Oo = {
433
433
  key: 1,
434
434
  class: "m-input-wrapper-right"
435
- }, Fo = /* @__PURE__ */ ae({
435
+ }, Mo = /* @__PURE__ */ ae({
436
436
  inheritAttrs: !1,
437
437
  __name: "MazInput",
438
438
  props: {
@@ -473,15 +473,15 @@ const Eo = ["for"], $o = {
473
473
  },
474
474
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
475
475
  setup(a, { emit: e }) {
476
- const t = a, o = e, i = R(() => import("./MazBtn-BugQGoO-.mjs")), r = R(() => import("./MazIcon-Bnebkvf6.mjs")), g = R(() => import("./eye-slash-BoO00xzs.mjs")), y = R(() => import("./eye-f8zAUc30.mjs")), E = R(() => import("./check-C9Q_W85g.mjs")), C = k(!1), h = k(!1), T = k(), c = we({
476
+ const t = a, o = e, i = q(() => import("./MazBtn-GYr50Ap4.mjs")), r = q(() => import("./MazIcon-mGVzj6Xw.mjs")), g = q(() => import("./eye-slash-BoO00xzs.mjs")), v = q(() => import("./eye-f8zAUc30.mjs")), L = q(() => import("./check-C9Q_W85g.mjs")), b = V(!1), h = V(!1), O = V(), c = we({
477
477
  componentName: "MazInput",
478
478
  providedId: t.id
479
479
  });
480
480
  Ae(() => {
481
481
  var s;
482
- t.autoFocus && ((s = T.value) == null || s.focus());
482
+ t.autoFocus && ((s = O.value) == null || s.focus());
483
483
  });
484
- const A = v(() => t.type === "password"), m = v(() => C.value ? "text" : t.type), p = v(() => {
484
+ const A = y(() => t.type === "password"), m = y(() => b.value ? "text" : t.type), p = y(() => {
485
485
  if (!t.noBorder) {
486
486
  if (t.error)
487
487
  return "maz-border-danger";
@@ -509,51 +509,47 @@ const Eo = ["for"], $o = {
509
509
  }
510
510
  return "--default-border";
511
511
  }
512
- }), $ = oo(), J = v(() => {
513
- const { required: s, placeholder: B } = t;
514
- if (B)
515
- return s ? `${B} *` : B;
516
- }), ee = v(() => F.value !== void 0 && F.value !== ""), oe = Lo(
512
+ }), E = oo(), J = y(() => F.value !== void 0 && F.value !== ""), ee = Bo(
517
513
  (s) => {
518
514
  o("update:model-value", s);
519
515
  },
520
516
  typeof t.debounce == "number" ? t.debounce : t.debounceDelay ?? 500
521
517
  );
522
- function j(s) {
518
+ function oe(s) {
523
519
  if (t.debounce)
524
- return oe(s);
520
+ return ee(s);
525
521
  o("update:model-value", s);
526
522
  }
527
- const F = v({
523
+ const F = y({
528
524
  get: () => t.modelValue,
529
- set: (s) => j(s)
530
- }), N = v(() => (!!t.label || !!t.hint) && (h.value || !!ee.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), n = v(() => !!t.label || !!t.hint);
531
- function w() {
532
- return !!$["right-icon"] || A.value || !!$["valid-button"] || t.validButton || !!t.rightIcon;
525
+ set: (s) => oe(s)
526
+ }), Y = y(() => (!!t.label || !!t.hint) && (h.value || !!J.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), N = y(() => !!t.label || !!t.hint);
527
+ function n() {
528
+ return !!E["right-icon"] || A.value || !!E["valid-button"] || t.validButton || !!t.rightIcon;
533
529
  }
534
- function K() {
535
- return !!$["left-icon"] || !!t.leftIcon;
530
+ function w() {
531
+ return !!E["left-icon"] || !!t.leftIcon;
536
532
  }
537
- function P(s) {
533
+ function K(s) {
538
534
  o("focus", s), h.value = !0;
539
535
  }
540
- function Q(s) {
536
+ function k(s) {
541
537
  o("blur", s), h.value = !1;
542
538
  }
543
- function me(s) {
539
+ function G(s) {
544
540
  return o("change", s);
545
541
  }
546
- function pe(s) {
542
+ function me(s) {
547
543
  return o("input", s);
548
544
  }
549
- return (s, B) => (b(), S(
545
+ return (s, M) => (C(), S(
550
546
  "div",
551
547
  {
552
- class: O(["m-input", [
548
+ class: $(["m-input", [
553
549
  {
554
550
  "--is-focused": h.value || s.borderActive,
555
- "--should-up": N.value,
556
- "--has-label": n.value,
551
+ "--should-up": Y.value,
552
+ "--has-label": N.value,
557
553
  "--is-disabled": s.disabled,
558
554
  "--is-readonly": s.readonly,
559
555
  "--has-z-2": s.error || s.warning || s.success,
@@ -566,15 +562,15 @@ const Eo = ["for"], $o = {
566
562
  style: X(s.style)
567
563
  },
568
564
  [
569
- s.topLabel ? (b(), S("label", {
565
+ s.topLabel ? (C(), S("label", {
570
566
  key: 0,
571
567
  for: I(c),
572
568
  class: "m-input-top-label"
573
- }, x(s.topLabel), 9, Eo)) : V("v-if", !0),
574
- q(
569
+ }, x(s.topLabel), 9, Lo)) : P("v-if", !0),
570
+ j(
575
571
  "div",
576
572
  {
577
- class: O(["m-input-wrapper m-reset-css", [
573
+ class: $(["m-input-wrapper m-reset-css", [
578
574
  s.inputClasses,
579
575
  p.value,
580
576
  s.roundedSize ? `--rounded-${s.roundedSize}` : { "maz-rounded": !s.noRadius },
@@ -582,30 +578,30 @@ const Eo = ["for"], $o = {
582
578
  ]])
583
579
  },
584
580
  [
585
- K() ? (b(), S("div", $o, [
586
- s.$slots["left-icon"] || s.leftIcon ? M(s.$slots, "left-icon", { key: 0 }, () => [
587
- typeof s.leftIcon == "string" ? (b(), U(I(r), {
581
+ w() ? (C(), S("div", Eo, [
582
+ s.$slots["left-icon"] || s.leftIcon ? T(s.$slots, "left-icon", { key: 0 }, () => [
583
+ typeof s.leftIcon == "string" ? (C(), H(I(r), {
588
584
  key: 0,
589
585
  name: s.leftIcon,
590
586
  class: "maz-text-xl maz-text-muted"
591
- }, null, 8, ["name"])) : s.leftIcon ? (b(), U(Le(s.leftIcon), {
587
+ }, null, 8, ["name"])) : s.leftIcon ? (C(), H(Le(s.leftIcon), {
592
588
  key: 1,
593
589
  class: "maz-text-xl maz-text-muted"
594
- })) : V("v-if", !0)
595
- ], !0) : V("v-if", !0)
596
- ])) : V("v-if", !0),
597
- q(
590
+ })) : P("v-if", !0)
591
+ ], !0) : P("v-if", !0)
592
+ ])) : P("v-if", !0),
593
+ j(
598
594
  "div",
599
595
  {
600
- class: O(["m-input-wrapper-input", [`--${s.size}`, { "--top-label": !!s.topLabel }]])
596
+ class: $(["m-input-wrapper-input", [`--${s.size}`, { "--top-label": !!s.topLabel }]])
601
597
  },
602
598
  [
603
- Ie(q("input", _({ id: I(c) }, s.$attrs, {
599
+ Ie(j("input", _({ id: I(c) }, s.$attrs, {
604
600
  ref_key: "input",
605
- ref: T,
606
- "onUpdate:modelValue": B[0] || (B[0] = (G) => F.value = G),
601
+ ref: O,
602
+ "onUpdate:modelValue": M[0] || (M[0] = (U) => F.value = U),
607
603
  name: s.name,
608
- placeholder: J.value,
604
+ placeholder: s.placeholder,
609
605
  "aria-label": s.label || s.placeholder,
610
606
  type: m.value,
611
607
  inputmode: s.inputmode,
@@ -615,20 +611,20 @@ const Eo = ["for"], $o = {
615
611
  required: s.required,
616
612
  class: "m-input-input"
617
613
  }, to({
618
- blur: Q,
619
- focus: P,
620
- change: me,
621
- input: pe
614
+ blur: k,
615
+ focus: K,
616
+ change: G,
617
+ input: me
622
618
  }, !0), {
623
- onClick: B[1] || (B[1] = (G) => s.$emit("click", G))
624
- }), null, 16, Oo), [
619
+ onClick: M[1] || (M[1] = (U) => s.$emit("click", U))
620
+ }), null, 16, $o), [
625
621
  [lo, F.value]
626
622
  ]),
627
- s.label || s.hint ? (b(), S(
623
+ s.label || s.hint ? (C(), S(
628
624
  "span",
629
625
  {
630
626
  key: 0,
631
- class: O(["m-input-label", [
627
+ class: $(["m-input-label", [
632
628
  {
633
629
  "maz-text-danger-600": s.error,
634
630
  "maz-text-success-600": s.success,
@@ -636,53 +632,46 @@ const Eo = ["for"], $o = {
636
632
  }
637
633
  ]])
638
634
  },
639
- [
640
- ao(
641
- x(s.hint || s.label) + " ",
642
- 1
643
- /* TEXT */
644
- ),
645
- s.required ? (b(), S("sup", To, "*")) : V("v-if", !0)
646
- ],
647
- 2
648
- /* CLASS */
649
- )) : V("v-if", !0)
635
+ x(s.hint || s.label),
636
+ 3
637
+ /* TEXT, CLASS */
638
+ )) : P("v-if", !0)
650
639
  ],
651
640
  2
652
641
  /* CLASS */
653
642
  ),
654
- w() ? (b(), S("div", Mo, [
655
- s.$slots["right-icon"] || s.rightIcon ? M(s.$slots, "right-icon", { key: 0 }, () => [
656
- typeof s.rightIcon == "string" ? (b(), U(I(r), {
643
+ n() ? (C(), S("div", Oo, [
644
+ s.$slots["right-icon"] || s.rightIcon ? T(s.$slots, "right-icon", { key: 0 }, () => [
645
+ typeof s.rightIcon == "string" ? (C(), H(I(r), {
657
646
  key: 0,
658
647
  name: s.rightIcon,
659
648
  class: "maz-text-xl maz-text-muted"
660
- }, null, 8, ["name"])) : s.rightIcon ? (b(), U(Le(s.rightIcon), {
649
+ }, null, 8, ["name"])) : s.rightIcon ? (C(), H(Le(s.rightIcon), {
661
650
  key: 1,
662
651
  class: "maz-text-xl maz-text-muted"
663
- })) : V("v-if", !0)
664
- ], !0) : V("v-if", !0),
665
- A.value ? (b(), U(I(i), {
652
+ })) : P("v-if", !0)
653
+ ], !0) : P("v-if", !0),
654
+ A.value ? (C(), H(I(i), {
666
655
  key: 1,
667
656
  color: "transparent",
668
657
  tabindex: "-1",
669
658
  size: "mini",
670
- onClick: B[2] || (B[2] = le((G) => C.value = !C.value, ["stop"]))
659
+ onClick: M[2] || (M[2] = le((U) => b.value = !b.value, ["stop"]))
671
660
  }, {
672
- default: W(() => [
673
- C.value ? (b(), U(I(g), {
661
+ default: Q(() => [
662
+ b.value ? (C(), H(I(g), {
674
663
  key: 0,
675
664
  class: "maz-text-xl maz-text-muted"
676
- })) : (b(), U(I(y), {
665
+ })) : (C(), H(I(v), {
677
666
  key: 1,
678
667
  class: "maz-text-xl maz-text-muted"
679
668
  }))
680
669
  ]),
681
670
  _: 1
682
671
  /* STABLE */
683
- })) : V("v-if", !0),
684
- s.$slots["valid-button"] || s.validButton ? M(s.$slots, "valid-button", { key: 2 }, () => [
685
- H(I(i), {
672
+ })) : P("v-if", !0),
673
+ s.$slots["valid-button"] || s.validButton ? T(s.$slots, "valid-button", { key: 2 }, () => [
674
+ D(I(i), {
686
675
  color: "transparent",
687
676
  disabled: s.disabled,
688
677
  tabindex: "-1",
@@ -691,23 +680,23 @@ const Eo = ["for"], $o = {
691
680
  size: "mini",
692
681
  type: "submit"
693
682
  }, {
694
- default: W(() => [
695
- H(I(E), { class: "maz-text-2xl maz-text-normal" })
683
+ default: Q(() => [
684
+ D(I(L), { class: "maz-text-2xl maz-text-normal" })
696
685
  ]),
697
686
  _: 1
698
687
  /* STABLE */
699
688
  }, 8, ["disabled", "loading"])
700
- ], !0) : V("v-if", !0)
701
- ])) : V("v-if", !0)
689
+ ], !0) : P("v-if", !0)
690
+ ])) : P("v-if", !0)
702
691
  ],
703
692
  2
704
693
  /* CLASS */
705
694
  ),
706
- s.assistiveText ? (b(), S(
695
+ s.assistiveText ? (C(), S(
707
696
  "div",
708
697
  {
709
698
  key: 1,
710
- class: O(["m-input-bottom-text", [
699
+ class: $(["m-input-bottom-text", [
711
700
  {
712
701
  "maz-text-danger-600": s.error,
713
702
  "maz-text-success-600": s.success,
@@ -719,17 +708,17 @@ const Eo = ["for"], $o = {
719
708
  x(s.assistiveText),
720
709
  3
721
710
  /* TEXT, CLASS */
722
- )) : V("v-if", !0)
711
+ )) : P("v-if", !0)
723
712
  ],
724
713
  6
725
714
  /* CLASS, STYLE */
726
715
  ));
727
716
  }
728
- }), ze = /* @__PURE__ */ se(Fo, [["__scopeId", "data-v-04e832e5"]]), No = ["aria-label"], Ko = { class: "m-select-list__no-results" }, Uo = {
717
+ }), ze = /* @__PURE__ */ se(Mo, [["__scopeId", "data-v-8def99c5"]]), To = ["aria-label"], Fo = { class: "m-select-list__no-results" }, No = {
729
718
  key: 2,
730
719
  class: "m-select-list__scroll-wrapper",
731
720
  tabindex: "-1"
732
- }, Ho = { class: "m-select-list-optgroup" }, Do = ["onClick"], Ro = /* @__PURE__ */ ae({
721
+ }, Ko = { class: "m-select-list-optgroup" }, Uo = ["onClick"], Ho = /* @__PURE__ */ ae({
733
722
  inheritAttrs: !1,
734
723
  __name: "MazSelect",
735
724
  props: {
@@ -763,22 +752,22 @@ const Eo = ["for"], $o = {
763
752
  },
764
753
  emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
765
754
  setup(a, { expose: e, emit: t }) {
766
- const o = a, i = t, r = R(() => import("./MazCheckbox-BImOZ1aM.mjs")), g = R(() => import("./magnifying-glass--nBiyXot.mjs")), y = R(() => import("./chevron-down-BkvtON3b.mjs")), E = R(() => import("./no-symbol-CIgKzsrB.mjs"));
755
+ const o = a, i = t, r = q(() => import("./MazCheckbox-t4i9eR04.mjs")), g = q(() => import("./magnifying-glass--nBiyXot.mjs")), v = q(() => import("./chevron-down-BkvtON3b.mjs")), L = q(() => import("./no-symbol-CIgKzsrB.mjs"));
767
756
  e({
768
757
  /** Method to open the option list */
769
758
  openList: ne,
770
759
  /** Method to close the option list */
771
760
  closeList: te
772
761
  });
773
- const C = k(!1), h = k(), T = v(
762
+ const b = V(!1), h = V(), O = y(
774
763
  () => ["black", "transparent", "white"].includes(o.color)
775
- ), c = v(
776
- () => T.value ? "var(--maz-color-black)" : `var(--maz-color-${o.color}-800)`
777
- ), A = v(
778
- () => T.value ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-100)`
779
- ), m = v(
780
- () => T.value ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-200)`
781
- ), p = v(() => C.value || o.open), $ = we({
764
+ ), c = y(
765
+ () => O.value ? "var(--maz-color-black)" : `var(--maz-color-${o.color}-800)`
766
+ ), A = y(
767
+ () => O.value ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-100)`
768
+ ), m = y(
769
+ () => O.value ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-200)`
770
+ ), p = y(() => b.value || o.open), E = we({
782
771
  componentName: "MazSelect",
783
772
  providedId: o.id
784
773
  });
@@ -810,53 +799,53 @@ const Eo = ["for"], $o = {
810
799
  ) : u.push(ee(d));
811
800
  return u;
812
801
  }
813
- const j = v(() => oe(o.options ?? [])), F = v(
802
+ const F = y(() => oe(o.options ?? [])), Y = y(
814
803
  () => {
815
804
  var l;
816
- return ((l = j.value) == null ? void 0 : l.filter((u) => o.multiple ? Array.isArray(o.modelValue) ? o.modelValue.includes(u[o.optionValueKey]) && !P(u[o.optionValueKey]) : !1 : o.modelValue === u[o.optionValueKey] && !P(u[o.optionValueKey]))) ?? [];
805
+ return ((l = F.value) == null ? void 0 : l.filter((u) => o.multiple ? Array.isArray(o.modelValue) ? o.modelValue.includes(u[o.optionValueKey]) && !k(u[o.optionValueKey]) : !1 : o.modelValue === u[o.optionValueKey] && !k(u[o.optionValueKey]))) ?? [];
817
806
  }
818
807
  );
819
- Me(() => {
808
+ Te(() => {
820
809
  var l;
821
810
  (l = o.options) != null && l.length || console.warn("[maz-ui](MazSelect) you must provide options"), he();
822
811
  });
823
- const N = k(), n = k(), w = k(), K = k();
824
- function P(l) {
812
+ const N = V(), n = V(), w = V(), K = V();
813
+ function k(l) {
825
814
  return l == null;
826
815
  }
827
- function Q(l) {
816
+ function G(l) {
828
817
  var d;
829
- return (((d = F.value) == null ? void 0 : d.some(
818
+ return (((d = Y.value) == null ? void 0 : d.some(
830
819
  (f) => f[o.optionValueKey] === l[o.optionValueKey]
831
- )) ?? !1) && !P(l[o.optionValueKey]);
820
+ )) ?? !1) && !k(l[o.optionValueKey]);
832
821
  }
833
- const me = v(() => {
822
+ const me = y(() => {
834
823
  var u;
835
824
  if (o.multiple && o.modelValue && Array.isArray(o.modelValue))
836
825
  return o.modelValue.map(
837
826
  (d) => {
838
827
  var f, z;
839
- return (z = (f = j.value) == null ? void 0 : f.find((L) => L[o.optionValueKey] === d)) == null ? void 0 : z[o.optionInputValueKey];
828
+ return (z = (f = F.value) == null ? void 0 : f.find((B) => B[o.optionValueKey] === d)) == null ? void 0 : z[o.optionInputValueKey];
840
829
  }
841
830
  ).join(", ");
842
- const l = (u = j.value) == null ? void 0 : u.find(
831
+ const l = (u = F.value) == null ? void 0 : u.find(
843
832
  (d) => d[o.optionValueKey] === o.modelValue
844
833
  );
845
- return P(o.modelValue) || l == null ? void 0 : l[o.optionInputValueKey];
846
- }), pe = v(
834
+ return k(o.modelValue) || l == null ? void 0 : l[o.optionInputValueKey];
835
+ }), s = y(
847
836
  () => o.listPosition.includes("bottom") ? "maz-slide" : "maz-slideinvert"
848
- ), s = k(""), B = k("");
849
- function G(l, u) {
837
+ ), M = V(""), U = V("");
838
+ function pe(l, u) {
850
839
  return u && l && ce(l).includes(ce(u));
851
840
  }
852
841
  function Ve(l) {
853
842
  var u;
854
- return l ? (u = j.value) == null ? void 0 : u.filter((d) => {
855
- const f = d[o.optionLabelKey], z = d[o.optionValueKey], L = d[o.optionInputValueKey], D = o.searchThreshold;
856
- return G(f, l) || G(L, l) || G(z, l) || typeof f == "string" && ye(f, l, D).isMatching.value || typeof L == "string" && ye(L, l, D).isMatching.value || typeof z == "string" && ye(z, l, D).isMatching.value;
857
- }) : j.value;
843
+ return l ? (u = F.value) == null ? void 0 : u.filter((d) => {
844
+ const f = d[o.optionLabelKey], z = d[o.optionValueKey], B = d[o.optionInputValueKey], R = o.searchThreshold;
845
+ return pe(f, l) || pe(B, l) || pe(z, l) || typeof f == "string" && ye(f, l, R).isMatching.value || typeof B == "string" && ye(B, l, R).isMatching.value || typeof z == "string" && ye(z, l, R).isMatching.value;
846
+ }) : F.value;
858
847
  }
859
- const Y = v(() => o.searchFunction && o.search && s.value ? oe(o.searchFunction(s.value, o.options ?? []) ?? []) : Ve(s.value));
848
+ const W = y(() => o.searchFunction && o.search && M.value ? oe(o.searchFunction(M.value, o.options ?? []) ?? []) : Ve(M.value));
860
849
  async function te(l) {
861
850
  var d, f;
862
851
  if (!p.value)
@@ -866,10 +855,10 @@ const Eo = ["for"], $o = {
866
855
  const u = l && "relatedTarget" in l && l.relatedTarget instanceof HTMLElement && l.relatedTarget.getAttribute("id");
867
856
  if ((f = o.excludeSelectors) != null && f.includes(`#${u}`))
868
857
  return l == null ? void 0 : l.preventDefault();
869
- await ue(), C.value = !1, h.value = 0, i("close", l);
858
+ await ue(), b.value = !1, h.value = 0, i("close", l);
870
859
  }
871
860
  async function ne(l) {
872
- o.disabled || p.value || (l == null || l.preventDefault(), C.value = !0, await fe(), i("focus", l), i("open", C.value));
861
+ o.disabled || p.value || (l == null || l.preventDefault(), b.value = !0, await fe(), i("focus", l), i("open", b.value));
873
862
  }
874
863
  function ke() {
875
864
  var l, u;
@@ -880,20 +869,20 @@ const Eo = ["for"], $o = {
880
869
  (u = ((l = n.value) == null ? void 0 : l.$el).querySelector("input")) == null || u.dispatchEvent(new Event("input"));
881
870
  }
882
871
  function Ye(l) {
883
- C.value ? te(l) : ke();
872
+ b.value ? te(l) : ke();
884
873
  }
885
874
  function We(l) {
886
875
  var u, d;
887
- s.value = l, (d = ((u = w.value) == null ? void 0 : u.$el).querySelector("input")) == null || d.focus();
876
+ M.value = l, (d = ((u = w.value) == null ? void 0 : u.$el).querySelector("input")) == null || d.focus();
888
877
  }
889
878
  function Qe(l) {
890
879
  var d;
891
- l === "Backspace" && B.value.length > 0 ? B.value = B.value.slice(0, -1) : B.value += l;
892
- const u = Ve(B.value);
893
- u != null && u.length && (h.value = (d = Y.value) == null ? void 0 : d.findIndex(
880
+ l === "Backspace" && U.value.length > 0 ? U.value = U.value.slice(0, -1) : U.value += l;
881
+ const u = Ve(U.value);
882
+ u != null && u.length && (h.value = (d = W.value) == null ? void 0 : d.findIndex(
894
883
  (f) => f[o.optionValueKey] === u[0][o.optionValueKey]
895
- ), typeof h.value == "number" && h.value >= 0 && fe(h.value)), Bo(() => {
896
- B.value = "";
884
+ ), typeof h.value == "number" && h.value >= 0 && fe(h.value)), Po(() => {
885
+ U.value = "";
897
886
  }, 1e3);
898
887
  }
899
888
  function Ge(l) {
@@ -901,24 +890,24 @@ const Eo = ["for"], $o = {
901
890
  /^[\dA-Za-z\u0400-\u04FF]$/.test(u) ? (l.preventDefault(), ne(l), o.search ? We(u) : Qe(u)) : Pe(l);
902
891
  }
903
892
  function Pe(l, u = !0) {
904
- const d = l.code, f = ["ArrowUp", "ArrowDown"].includes(d), z = (u ? ["Enter", "Space"] : ["Enter"]).includes(d), L = d === "Escape" && p.value;
905
- f ? Je(l, h.value) : z ? Ze(l, h.value) : L && te(l);
893
+ const d = l.code, f = ["ArrowUp", "ArrowDown"].includes(d), z = (u ? ["Enter", "Space"] : ["Enter"]).includes(d), B = d === "Escape" && p.value;
894
+ f ? Je(l, h.value) : z ? Ze(l, h.value) : B && te(l);
906
895
  }
907
896
  function Je(l, u) {
908
897
  var z;
909
898
  l.preventDefault();
910
899
  const d = l.code;
911
900
  p.value || ne(l);
912
- const f = (z = Y.value) == null ? void 0 : z.length;
901
+ const f = (z = W.value) == null ? void 0 : z.length;
913
902
  f && (typeof u == "number" ? u === f - 1 && d === "ArrowDown" ? h.value = 0 : u === 0 && d === "ArrowUp" ? h.value = f - 1 : h.value = d === "ArrowDown" ? u + 1 : u - 1 : h.value = d === "ArrowDown" ? 0 : f - 1, fe(h.value));
914
903
  }
915
904
  function Ze(l, u) {
916
- var f, z, L;
905
+ var f, z, B;
917
906
  if (!p.value)
918
907
  return;
919
908
  l.preventDefault();
920
- const d = u ? ((f = Y.value) == null ? void 0 : f[u]) ?? ((z = Y.value) == null ? void 0 : z[0]) : (L = Y.value) == null ? void 0 : L[0];
921
- P(d) || Be(d);
909
+ const d = u ? ((f = W.value) == null ? void 0 : f[u]) ?? ((z = W.value) == null ? void 0 : z[0]) : (B = W.value) == null ? void 0 : B[0];
910
+ k(d) || Be(d);
922
911
  }
923
912
  async function fe(l) {
924
913
  var d, f;
@@ -935,31 +924,31 @@ const Eo = ["for"], $o = {
935
924
  }
936
925
  function he(l) {
937
926
  var d;
938
- const u = (d = Y.value) == null ? void 0 : d.findIndex((f) => {
939
- var z, L;
940
- return o.multiple && Array.isArray(o.modelValue) ? l ? l[o.optionValueKey] === f[o.optionValueKey] : [...o.modelValue].reverse()[0] === f[o.optionValueKey] : ((L = (z = F.value) == null ? void 0 : z[0]) == null ? void 0 : L[o.optionValueKey]) === f[o.optionValueKey];
927
+ const u = (d = W.value) == null ? void 0 : d.findIndex((f) => {
928
+ var z, B;
929
+ return o.multiple && Array.isArray(o.modelValue) ? l ? l[o.optionValueKey] === f[o.optionValueKey] : [...o.modelValue].reverse()[0] === f[o.optionValueKey] : ((B = (z = Y.value) == null ? void 0 : z[0]) == null ? void 0 : B[o.optionValueKey]) === f[o.optionValueKey];
941
930
  });
942
931
  h.value = u && u >= 0 ? u : 0;
943
932
  }
944
933
  function Be(l, u = !0) {
945
- var L;
946
- u && !o.multiple && ue(() => te()), s.value = "";
947
- const d = (L = F.value) == null ? void 0 : L.some(
948
- (D) => D[o.optionValueKey] === l[o.optionValueKey]
934
+ var B;
935
+ u && !o.multiple && ue(() => te()), M.value = "";
936
+ const d = (B = Y.value) == null ? void 0 : B.some(
937
+ (R) => R[o.optionValueKey] === l[o.optionValueKey]
949
938
  );
950
- let f = F.value;
939
+ let f = Y.value;
951
940
  d && o.multiple ? f = f == null ? void 0 : f.filter(
952
- (D) => D[o.optionValueKey] !== l[o.optionValueKey]
941
+ (R) => R[o.optionValueKey] !== l[o.optionValueKey]
953
942
  ) : o.multiple ? f.push(l) : f = [l];
954
- const z = f.map((D) => D[o.optionValueKey]);
943
+ const z = f.map((R) => R[o.optionValueKey]);
955
944
  i("update:model-value", o.multiple ? z : z[0]), i("selected-option", l), je(), he(l), ke();
956
945
  }
957
- return (l, u) => Ie((b(), S(
946
+ return (l, u) => Ie((C(), S(
958
947
  "div",
959
948
  {
960
949
  ref_key: "mazSelectElement",
961
950
  ref: N,
962
- class: O(["m-select m-reset-css", [
951
+ class: $(["m-select m-reset-css", [
963
952
  { "--is-open": p.value, "--disabled": l.disabled, "--block": l.block },
964
953
  o.class,
965
954
  `--${l.size}`
@@ -967,14 +956,14 @@ const Eo = ["for"], $o = {
967
956
  style: X([l.style, { "--keyboard-selected-bg-color": m.value, "--selected-bg-color": A.value, "--selected-text-color": c.value }])
968
957
  },
969
958
  [
970
- H(ze, _({
971
- id: I($),
959
+ D(ze, _({
960
+ id: I(E),
972
961
  ref_key: "mazInputComponent",
973
962
  ref: n,
974
963
  class: "m-select-input"
975
964
  }, l.$attrs, {
976
965
  required: l.required,
977
- "border-active": C.value,
966
+ "border-active": b.value,
978
967
  color: l.color,
979
968
  "model-value": me.value,
980
969
  size: l.size,
@@ -988,29 +977,29 @@ const Eo = ["for"], $o = {
988
977
  onInput: u[1] || (u[1] = (d) => i("input", d)),
989
978
  onKeydown: Ge
990
979
  }), {
991
- "right-icon": W(() => [
992
- q("button", {
980
+ "right-icon": Q(() => [
981
+ j("button", {
993
982
  tabindex: "-1",
994
983
  type: "button",
995
984
  class: "m-select-input__toggle-button maz-custom",
996
985
  "aria-label": `${p.value ? "collapse" : "expand"} list of options`,
997
986
  onClick: le(Ye, ["stop"])
998
987
  }, [
999
- H(I(y), { class: "m-select-chevron maz-text-xl" })
1000
- ], 8, No)
988
+ D(I(v), { class: "m-select-chevron maz-text-xl" })
989
+ ], 8, To)
1001
990
  ]),
1002
991
  _: 1
1003
992
  /* STABLE */
1004
993
  }, 16, ["id", "required", "border-active", "color", "model-value", "size", "autocomplete", "disabled"]),
1005
- H(so, { name: pe.value }, {
1006
- default: W(() => [
1007
- p.value ? (b(), S(
994
+ D(ao, { name: s.value }, {
995
+ default: Q(() => [
996
+ p.value ? (C(), S(
1008
997
  "div",
1009
998
  {
1010
999
  key: 0,
1011
1000
  ref_key: "optionListElement",
1012
1001
  ref: K,
1013
- class: O(["m-select-list", {
1002
+ class: $(["m-select-list", {
1014
1003
  "--top": l.listPosition.includes("top"),
1015
1004
  "--left": l.listPosition.includes("left"),
1016
1005
  "--right": l.listPosition.includes("right"),
@@ -1024,13 +1013,13 @@ const Eo = ["for"], $o = {
1024
1013
  })
1025
1014
  },
1026
1015
  [
1027
- l.search ? (b(), U(ze, {
1016
+ l.search ? (C(), H(ze, {
1028
1017
  key: 0,
1029
1018
  ref_key: "searchInputComponent",
1030
1019
  ref: w,
1031
- modelValue: s.value,
1020
+ modelValue: M.value,
1032
1021
  "onUpdate:modelValue": [
1033
- u[2] || (u[2] = (d) => s.value = d),
1022
+ u[2] || (u[2] = (d) => M.value = d),
1034
1023
  u[4] || (u[4] = (d) => h.value = 0)
1035
1024
  ],
1036
1025
  size: "sm",
@@ -1044,56 +1033,56 @@ const Eo = ["for"], $o = {
1044
1033
  class: "m-select-list__search-input maz-flex-none",
1045
1034
  "left-icon": I(g),
1046
1035
  onKeydown: u[3] || (u[3] = (d) => Pe(d, !1))
1047
- }, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : V("v-if", !0),
1048
- !Y.value || Y.value.length <= 0 ? M(l.$slots, "no-results", { key: 1 }, () => [
1049
- q("span", Ko, [
1050
- H(I(E), { class: "maz-h-6 maz-w-6 maz-text-normal" })
1036
+ }, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : P("v-if", !0),
1037
+ !W.value || W.value.length <= 0 ? T(l.$slots, "no-results", { key: 1 }, () => [
1038
+ j("span", Fo, [
1039
+ D(I(L), { class: "maz-h-6 maz-w-6 maz-text-normal" })
1051
1040
  ])
1052
- ], !0) : (b(), S("div", Uo, [
1053
- (b(!0), S(
1041
+ ], !0) : (C(), S("div", No, [
1042
+ (C(!0), S(
1054
1043
  Ce,
1055
1044
  null,
1056
- Te(Y.value, (d, f) => (b(), S(
1045
+ Me(W.value, (d, f) => (C(), S(
1057
1046
  Ce,
1058
1047
  { key: f },
1059
1048
  [
1060
- d.label && d.isOptGroup ? M(l.$slots, "optgroup", {
1049
+ d.label && d.isOptGroup ? T(l.$slots, "optgroup", {
1061
1050
  key: 0,
1062
1051
  label: d.label
1063
1052
  }, () => [
1064
- q(
1053
+ j(
1065
1054
  "span",
1066
- Ho,
1055
+ Ko,
1067
1056
  x(d.label),
1068
1057
  1
1069
1058
  /* TEXT */
1070
1059
  )
1071
- ], !0) : (b(), S("button", {
1060
+ ], !0) : (C(), S("button", {
1072
1061
  key: 1,
1073
1062
  tabindex: "-1",
1074
1063
  type: "button",
1075
- class: O(["m-select-list-item maz-custom maz-flex-none", [
1064
+ class: $(["m-select-list-item maz-custom maz-flex-none", [
1076
1065
  {
1077
1066
  "--is-keyboard-selected": h.value === f,
1078
- "--is-selected": Q(d),
1079
- "--is-none-value": P(d[l.optionValueKey])
1067
+ "--is-selected": G(d),
1068
+ "--is-none-value": k(d[l.optionValueKey])
1080
1069
  }
1081
1070
  ]]),
1082
1071
  style: X(l.itemHeight ? { height: `${l.itemHeight}px` } : void 0),
1083
1072
  onClick: le((z) => Be(d), ["prevent", "stop"])
1084
1073
  }, [
1085
- l.multiple ? (b(), U(I(r), {
1074
+ l.multiple ? (C(), H(I(r), {
1086
1075
  key: 0,
1087
1076
  tabindex: "-1",
1088
- "model-value": Q(d),
1077
+ "model-value": G(d),
1089
1078
  size: "sm",
1090
1079
  color: l.color
1091
- }, null, 8, ["model-value", "color"])) : V("v-if", !0),
1092
- M(l.$slots, "default", {
1080
+ }, null, 8, ["model-value", "color"])) : P("v-if", !0),
1081
+ T(l.$slots, "default", {
1093
1082
  option: d,
1094
- isSelected: Q(d)
1083
+ isSelected: G(d)
1095
1084
  }, () => [
1096
- q(
1085
+ j(
1097
1086
  "span",
1098
1087
  null,
1099
1088
  x(d[l.optionLabelKey]),
@@ -1101,7 +1090,7 @@ const Eo = ["for"], $o = {
1101
1090
  /* TEXT */
1102
1091
  )
1103
1092
  ], !0)
1104
- ], 14, Do))
1093
+ ], 14, Uo))
1105
1094
  ],
1106
1095
  64
1107
1096
  /* STABLE_FRAGMENT */
@@ -1113,7 +1102,7 @@ const Eo = ["for"], $o = {
1113
1102
  ],
1114
1103
  6
1115
1104
  /* CLASS, STYLE */
1116
- )) : V("v-if", !0)
1105
+ )) : P("v-if", !0)
1117
1106
  ]),
1118
1107
  _: 3
1119
1108
  /* FORWARDED */
@@ -1122,13 +1111,13 @@ const Eo = ["for"], $o = {
1122
1111
  6
1123
1112
  /* CLASS, STYLE */
1124
1113
  )), [
1125
- [I(Po), {
1114
+ [I(ko), {
1126
1115
  exclude: l.excludeSelectors,
1127
1116
  handler: te
1128
1117
  }]
1129
1118
  ]);
1130
1119
  }
1131
- }), qo = /* @__PURE__ */ se(Ro, [["__scopeId", "data-v-98157b75"]]);
1120
+ }), Do = /* @__PURE__ */ se(Ho, [["__scopeId", "data-v-98157b75"]]);
1132
1121
  function De() {
1133
1122
  if (typeof window > "u")
1134
1123
  return;
@@ -1142,30 +1131,30 @@ function De() {
1142
1131
  };
1143
1132
  }
1144
1133
  let be, Oe;
1145
- function jo(a, e, t) {
1134
+ function Ro(a, e, t) {
1146
1135
  return t != null && t[e] ? t[e] : ((Oe !== a || !be) && (Oe = a, be = new Intl.DisplayNames([a], { type: "region" })), be.of(e));
1147
1136
  }
1148
- function Yo(a, e) {
1137
+ function qo(a, e) {
1149
1138
  var i;
1150
1139
  const t = [], o = Fe();
1151
1140
  a = a ?? ((i = De()) == null ? void 0 : i.browserLocale) ?? "en-US";
1152
1141
  for (const r of o) {
1153
- const g = jo(a, r, e);
1142
+ const g = Ro(a, r, e);
1154
1143
  if (g)
1155
1144
  try {
1156
- const y = de(r);
1145
+ const v = de(r);
1157
1146
  t.push({
1158
1147
  iso2: r,
1159
- dialCode: y,
1148
+ dialCode: v,
1160
1149
  name: g
1161
1150
  });
1162
- } catch (y) {
1163
- console.error(`[MazPhoneNumberInput](getCountryCallingCode) ${y}`);
1151
+ } catch (v) {
1152
+ console.error(`[MazPhoneNumberInput](getCountryCallingCode) ${v}`);
1164
1153
  }
1165
1154
  }
1166
1155
  return t;
1167
1156
  }
1168
- async function Wo() {
1157
+ async function jo() {
1169
1158
  try {
1170
1159
  const a = await fetch("https://ipwho.is"), { country_code: e } = await a.json();
1171
1160
  return e;
@@ -1173,7 +1162,7 @@ async function Wo() {
1173
1162
  throw new Error(`[MazPhoneNumberInput](fetchCountryCode) ${a}`);
1174
1163
  }
1175
1164
  }
1176
- function Qo(a) {
1165
+ function Yo(a) {
1177
1166
  if (!a)
1178
1167
  return "";
1179
1168
  const e = new RegExp(/[^\d ()+-]/g);
@@ -1181,16 +1170,16 @@ function Qo(a) {
1181
1170
  }
1182
1171
  function Se() {
1183
1172
  return {
1184
- sanitizePhoneNumber: Qo,
1185
- fetchCountryCode: Wo,
1173
+ sanitizePhoneNumber: Yo,
1174
+ fetchCountryCode: jo,
1186
1175
  getBrowserLocale: De,
1187
- getCountriesList: Yo
1176
+ getCountriesList: qo
1188
1177
  };
1189
1178
  }
1190
- const Go = ["id"], Jo = {
1179
+ const Wo = ["id"], Qo = {
1191
1180
  key: 0,
1192
1181
  class: "m-country-selector__select__item__flag-container"
1193
- }, Zo = /* @__PURE__ */ ae({
1182
+ }, Go = /* @__PURE__ */ ae({
1194
1183
  __name: "CountrySelector",
1195
1184
  props: {
1196
1185
  style: { default: void 0 },
@@ -1219,7 +1208,7 @@ const Go = ["id"], Jo = {
1219
1208
  },
1220
1209
  emits: ["update:model-value"],
1221
1210
  setup(a) {
1222
- const e = a, { phoneNumber: t } = Ne("data"), o = k(), { getCountriesList: i } = Se(), r = v(() => i(e.countryLocale, e.customCountriesList)), g = v(
1211
+ const e = a, { phoneNumber: t } = Ne("data"), o = V(), { getCountriesList: i } = Se(), r = y(() => i(e.countryLocale, e.customCountriesList)), g = y(
1223
1212
  () => {
1224
1213
  var c;
1225
1214
  return (c = r.value) == null ? void 0 : c.filter((A) => {
@@ -1227,7 +1216,7 @@ const Go = ["id"], Jo = {
1227
1216
  return !((m = e.ignoredCountries) != null && m.includes(A.iso2));
1228
1217
  });
1229
1218
  }
1230
- ), y = v(() => {
1219
+ ), v = y(() => {
1231
1220
  const c = e.onlyCountries || e.preferredCountries;
1232
1221
  return c == null ? void 0 : c.map(
1233
1222
  (A) => {
@@ -1235,7 +1224,7 @@ const Go = ["id"], Jo = {
1235
1224
  return (m = g.value) == null ? void 0 : m.find((p) => p.iso2.includes(A));
1236
1225
  }
1237
1226
  );
1238
- }), E = v(
1227
+ }), L = y(
1239
1228
  () => {
1240
1229
  var c;
1241
1230
  return (c = g.value) == null ? void 0 : c.filter((A) => {
@@ -1243,42 +1232,42 @@ const Go = ["id"], Jo = {
1243
1232
  return !((m = e.preferredCountries) != null && m.includes(A.iso2));
1244
1233
  });
1245
1234
  }
1246
- ), C = v(
1247
- () => e.preferredCountries ? [...y.value ?? [], ...E.value ?? []] : e.onlyCountries ? y.value : g.value
1248
- ), h = v(
1235
+ ), b = y(
1236
+ () => e.preferredCountries ? [...v.value ?? [], ...L.value ?? []] : e.onlyCountries ? v.value : g.value
1237
+ ), h = y(
1249
1238
  () => {
1250
1239
  var c;
1251
- return (c = C.value) == null ? void 0 : c.map(
1240
+ return (c = b.value) == null ? void 0 : c.map(
1252
1241
  (A) => A ? {
1253
1242
  ...A,
1254
1243
  dialCode: `+${A.dialCode}`
1255
1244
  } : void 0
1256
- ).filter(fo);
1245
+ ).filter(po);
1257
1246
  }
1258
1247
  );
1259
- function T() {
1248
+ function O() {
1260
1249
  var c;
1261
1250
  (c = o.value) == null || c.openList();
1262
1251
  }
1263
- return (c, A) => (b(), S(
1252
+ return (c, A) => (C(), S(
1264
1253
  "div",
1265
1254
  {
1266
- class: O(["m-country-selector", [e.class, { "--no-flags": c.noFlags }]]),
1255
+ class: $(["m-country-selector", [e.class, { "--no-flags": c.noFlags }]]),
1267
1256
  style: X(c.style)
1268
1257
  },
1269
1258
  [
1270
- c.modelValue && !c.noFlags ? (b(), S("button", {
1259
+ c.modelValue && !c.noFlags ? (C(), S("button", {
1271
1260
  key: 0,
1272
1261
  id: `country-selector-flag-button-${c.id}`,
1273
- class: O(["m-country-selector__country-flag", {
1262
+ class: $(["m-country-selector__country-flag", {
1274
1263
  "--should-have-bottom-flag": c.locales.countrySelector.placeholder.length > 0
1275
1264
  }]),
1276
1265
  tabindex: "-1",
1277
1266
  type: "button",
1278
- onClick: T
1267
+ onClick: O
1279
1268
  }, [
1280
- M(c.$slots, "selector-flag", { countryCode: c.modelValue }, () => [
1281
- H($e, {
1269
+ T(c.$slots, "selector-flag", { countryCode: c.modelValue }, () => [
1270
+ D($e, {
1282
1271
  src: I(Ee)(c.modelValue, "h20"),
1283
1272
  alt: c.modelValue,
1284
1273
  width: "20",
@@ -1286,8 +1275,8 @@ const Go = ["id"], Jo = {
1286
1275
  "img-class": "maz-w-5 maz-h-4 maz-rounded-sm"
1287
1276
  }, null, 8, ["src", "alt"])
1288
1277
  ], !0)
1289
- ], 10, Go)) : V("v-if", !0),
1290
- H(qo, _({
1278
+ ], 10, Wo)) : P("v-if", !0),
1279
+ D(Do, _({
1291
1280
  id: `country-selector-${c.id}`,
1292
1281
  ref_key: "CountrySelectorRef",
1293
1282
  ref: o,
@@ -1319,25 +1308,25 @@ const Go = ["id"], Jo = {
1319
1308
  "exclude-selectors": [`#country-selector-flag-button-${c.id}`, ...c.excludeSelectors ?? []],
1320
1309
  "onUpdate:modelValue": A[0] || (A[0] = (m) => c.$emit("update:model-value", m))
1321
1310
  }), {
1322
- "no-results": W(() => [
1323
- M(c.$slots, "no-results", {}, void 0, !0)
1311
+ "no-results": Q(() => [
1312
+ T(c.$slots, "no-results", {}, void 0, !0)
1324
1313
  ]),
1325
- default: W(({ option: m, isSelected: p }) => [
1326
- q(
1314
+ default: Q(({ option: m, isSelected: p }) => [
1315
+ j(
1327
1316
  "div",
1328
1317
  {
1329
- class: O(["m-country-selector__select__item", {
1318
+ class: $(["m-country-selector__select__item", {
1330
1319
  "m-country-selector__select__item--selected": p
1331
1320
  }])
1332
1321
  },
1333
1322
  [
1334
- !c.noFlags && typeof m.iso2 == "string" ? (b(), S("span", Jo, [
1335
- M(c.$slots, "country-list-flag", {
1323
+ !c.noFlags && typeof m.iso2 == "string" ? (C(), S("span", Qo, [
1324
+ T(c.$slots, "country-list-flag", {
1336
1325
  countryCode: m.iso2,
1337
1326
  option: m,
1338
1327
  isSelected: p
1339
1328
  }, () => [
1340
- H($e, {
1329
+ D($e, {
1341
1330
  src: I(Ee)(m.iso2, "h20"),
1342
1331
  alt: `${m.name} flag`,
1343
1332
  width: "20",
@@ -1345,21 +1334,21 @@ const Go = ["id"], Jo = {
1345
1334
  "img-class": "maz-rounded-full maz-w-5 maz-h-5"
1346
1335
  }, null, 8, ["src", "alt"])
1347
1336
  ], !0)
1348
- ])) : V("v-if", !0),
1349
- c.showCodeOnList ? (b(), S(
1337
+ ])) : P("v-if", !0),
1338
+ c.showCodeOnList ? (C(), S(
1350
1339
  "span",
1351
1340
  {
1352
1341
  key: 1,
1353
- class: O(["maz-w-9 maz-flex-none", { "maz-text-muted": !p }])
1342
+ class: $(["maz-w-9 maz-flex-none", { "maz-text-muted": !p }])
1354
1343
  },
1355
1344
  x(m.dialCode),
1356
1345
  3
1357
1346
  /* TEXT, CLASS */
1358
- )) : V("v-if", !0),
1359
- q(
1347
+ )) : P("v-if", !0),
1348
+ j(
1360
1349
  "span",
1361
1350
  {
1362
- class: O(["maz-flex-1 maz-truncate", { "maz-font-semibold": p }])
1351
+ class: $(["maz-flex-1 maz-truncate", { "maz-font-semibold": p }])
1363
1352
  },
1364
1353
  x(m.name),
1365
1354
  3
@@ -1378,7 +1367,7 @@ const Go = ["id"], Jo = {
1378
1367
  /* CLASS, STYLE */
1379
1368
  ));
1380
1369
  }
1381
- }), Xo = /* @__PURE__ */ se(Zo, [["__scopeId", "data-v-e2fee821"]]), xo = {
1370
+ }), Jo = /* @__PURE__ */ se(Go, [["__scopeId", "data-v-e2fee821"]]), Zo = {
1382
1371
  countrySelector: {
1383
1372
  placeholder: "Country code",
1384
1373
  error: "Choose country",
@@ -1388,16 +1377,16 @@ const Go = ["id"], Jo = {
1388
1377
  placeholder: "Phone number",
1389
1378
  example: "Example:"
1390
1379
  }
1391
- }, re = k();
1392
- function _o(a) {
1380
+ }, re = V();
1381
+ function Xo(a) {
1393
1382
  try {
1394
- const e = uo(a);
1383
+ const e = io(a);
1395
1384
  return e || (console.error(`[maz-ui](MazPhoneNumberInput) The code country "${a}" is not available`), !1);
1396
1385
  } catch (e) {
1397
1386
  return console.error(`[maz-ui](MazPhoneNumberInput) ${e}`), !1;
1398
1387
  }
1399
1388
  }
1400
- function et({
1389
+ function xo({
1401
1390
  phoneNumber: a,
1402
1391
  countryCode: e,
1403
1392
  checkCountryCode: t = !1
@@ -1408,7 +1397,7 @@ function et({
1408
1397
  isValid: !1,
1409
1398
  countryCode: e
1410
1399
  };
1411
- const o = co(a, e ?? void 0), i = (o == null ? void 0 : o.isValid()) ?? !1, r = e && t ? (o == null ? void 0 : o.country) && e === o.country : !0;
1400
+ const o = uo(a, e ?? void 0), i = (o == null ? void 0 : o.isValid()) ?? !1, r = e && t ? (o == null ? void 0 : o.country) && e === o.country : !0;
1412
1401
  return {
1413
1402
  isValid: i && !!r,
1414
1403
  countryCode: e,
@@ -1433,25 +1422,25 @@ async function Re() {
1433
1422
  const { default: a } = await import("./examples.mobile.json-tW3aL0qI.mjs");
1434
1423
  return a;
1435
1424
  }
1436
- function ot(a) {
1425
+ function _o(a) {
1437
1426
  var e;
1438
1427
  try {
1439
- return re.value && a ? (e = mo(a, re.value)) == null ? void 0 : e.formatNational() : void 0;
1428
+ return re.value && a ? (e = co(a, re.value)) == null ? void 0 : e.formatNational() : void 0;
1440
1429
  } catch (t) {
1441
1430
  console.error(`[maz-ui](MazPhoneNumberInput) ${t}`);
1442
1431
  }
1443
1432
  }
1444
- function tt(a, e) {
1433
+ function et(a, e) {
1445
1434
  try {
1446
- return !e || !a ? void 0 : new po(a).input(e);
1435
+ return !e || !a ? void 0 : new mo(a).input(e);
1447
1436
  } catch (t) {
1448
1437
  throw new Error(`[MazPhoneNumberInput](getAsYouTypeFormat) ${t}`);
1449
1438
  }
1450
1439
  }
1451
- function lt(a, e) {
1440
+ function ot(a, e) {
1452
1441
  return de(a) === de(e);
1453
1442
  }
1454
- async function at() {
1443
+ async function tt() {
1455
1444
  try {
1456
1445
  if (re.value)
1457
1446
  return;
@@ -1463,20 +1452,20 @@ async function at() {
1463
1452
  function qe() {
1464
1453
  return {
1465
1454
  examples: re,
1466
- getAsYouTypeFormat: tt,
1467
- getPhoneNumberResults: et,
1455
+ getAsYouTypeFormat: et,
1456
+ getPhoneNumberResults: xo,
1468
1457
  getPhoneNumberExamplesFile: Re,
1469
- getPhoneNumberExample: ot,
1470
- isSameCountryCallingCode: lt,
1471
- isCountryAvailable: _o,
1458
+ getPhoneNumberExample: _o,
1459
+ isSameCountryCallingCode: ot,
1460
+ isCountryAvailable: Xo,
1472
1461
  getCountries: Fe,
1473
1462
  getCountryCallingCode: de,
1474
- loadExamples: at
1463
+ loadExamples: tt
1475
1464
  };
1476
1465
  }
1477
- const st = /* @__PURE__ */ ae({
1466
+ const lt = /* @__PURE__ */ ae({
1478
1467
  __name: "PhoneInput",
1479
- props: /* @__PURE__ */ no({
1468
+ props: /* @__PURE__ */ so({
1480
1469
  style: {},
1481
1470
  class: {},
1482
1471
  placeholder: {},
@@ -1520,37 +1509,37 @@ const st = /* @__PURE__ */ ae({
1520
1509
  }),
1521
1510
  emits: ["update:modelValue"],
1522
1511
  setup(a) {
1523
- const { getPhoneNumberExample: e, getAsYouTypeFormat: t, loadExamples: o } = qe(), { sanitizePhoneNumber: i } = Se(), { results: r, selectedCountry: g } = Ne("data"), y = ro(a, "modelValue"), E = v(() => {
1524
- const m = r.value.isValid ? r.value.formatNational : y.value;
1512
+ const { getPhoneNumberExample: e, getAsYouTypeFormat: t, loadExamples: o } = qe(), { sanitizePhoneNumber: i } = Se(), { results: r, selectedCountry: g } = Ne("data"), v = no(a, "modelValue"), L = y(() => {
1513
+ const m = r.value.isValid ? r.value.formatNational : v.value;
1525
1514
  return t(g.value, m) || m;
1526
- }), C = k(!1), h = v({
1527
- get: () => !C.value && a.autoFormat ? E.value : y.value,
1515
+ }), b = V(!1), h = y({
1516
+ get: () => !b.value && a.autoFormat ? L.value : v.value,
1528
1517
  set: (m) => {
1529
- y.value = i(m);
1518
+ v.value = i(m);
1530
1519
  }
1531
1520
  });
1532
- function T(m) {
1521
+ function O(m) {
1533
1522
  const p = e(m);
1534
1523
  return p ? `${a.locales.phoneInput.example} ${p}` : void 0;
1535
1524
  }
1536
- const c = v(() => {
1525
+ const c = y(() => {
1537
1526
  var p;
1538
1527
  if (a.label || a.placeholder)
1539
1528
  return a.label || a.placeholder;
1540
1529
  const m = a.locales.phoneInput.placeholder;
1541
- if (a.noExample || !C.value)
1530
+ if (a.noExample || !b.value)
1542
1531
  return m;
1543
1532
  {
1544
- const $ = T(g.value);
1545
- return (p = r.value) != null && p.isValid || !$ ? m : $;
1533
+ const E = O(g.value);
1534
+ return (p = r.value) != null && p.isValid || !E ? m : E;
1546
1535
  }
1547
- }), A = v(() => a.placeholder ? { placeholder: c.value } : { label: c.value });
1536
+ }), A = y(() => a.placeholder ? { placeholder: c.value } : { label: c.value });
1548
1537
  return Ae(() => {
1549
1538
  a.noExample || o();
1550
- }), (m, p) => (b(), U(ze, _({
1539
+ }), (m, p) => (C(), H(ze, _({
1551
1540
  id: m.id,
1552
1541
  modelValue: h.value,
1553
- "onUpdate:modelValue": p[0] || (p[0] = ($) => h.value = $)
1542
+ "onUpdate:modelValue": p[0] || (p[0] = (E) => h.value = E)
1554
1543
  }, { ...m.$attrs, ...A.value }, {
1555
1544
  disabled: m.disabled,
1556
1545
  color: m.color,
@@ -1564,14 +1553,14 @@ const st = /* @__PURE__ */ ae({
1564
1553
  {
1565
1554
  "--border-radius": m.hasRadius,
1566
1555
  "--error": m.error || !I(r).isValid,
1567
- "--focused": C.value
1556
+ "--focused": b.value
1568
1557
  }
1569
1558
  ]],
1570
- onFocus: p[1] || (p[1] = ($) => C.value = !0),
1571
- onBlur: p[2] || (p[2] = ($) => C.value = !1)
1559
+ onFocus: p[1] || (p[1] = (E) => b.value = !0),
1560
+ onBlur: p[2] || (p[2] = (E) => b.value = !1)
1572
1561
  }), null, 16, ["id", "modelValue", "disabled", "color", "error", "size", "success", "name", "inputmode", "autocomplete", "class"]));
1573
1562
  }
1574
- }), nt = /* @__PURE__ */ se(st, [["__scopeId", "data-v-3619d84c"]]), rt = /* @__PURE__ */ ae({
1563
+ }), at = /* @__PURE__ */ se(lt, [["__scopeId", "data-v-3619d84c"]]), st = /* @__PURE__ */ ae({
1575
1564
  name: "MazPhoneNumberInput",
1576
1565
  inheritAttrs: !1,
1577
1566
  __name: "MazPhoneNumberInput",
@@ -1626,18 +1615,18 @@ const st = /* @__PURE__ */ ae({
1626
1615
  },
1627
1616
  emits: ["update:model-value", "country-code", "update:country-code", "update", "data"],
1628
1617
  setup(a, { emit: e }) {
1629
- const t = a, o = e, { fetchCountryCode: i, getBrowserLocale: r } = Se(), { isCountryAvailable: g, getPhoneNumberResults: y } = qe(), E = we({
1618
+ const t = a, o = e, { fetchCountryCode: i, getBrowserLocale: r } = Se(), { isCountryAvailable: g, getPhoneNumberResults: v } = qe(), L = we({
1630
1619
  componentName: "MazPhoneNumberInput",
1631
1620
  providedId: t.id
1632
- }), C = k(), h = k(), T = k(!1), c = k(!1), A = v(() => ({
1633
- ...xo,
1621
+ }), b = V(), h = V(), O = V(!1), c = V(!1), A = y(() => ({
1622
+ ...Zo,
1634
1623
  ...t.translations
1635
- })), m = v(() => t.autoFormat && !t.noFormattingAsYouType), p = k({
1624
+ })), m = y(() => t.autoFormat && !t.noFormattingAsYouType), p = V({
1636
1625
  isValid: !1,
1637
1626
  countryCode: t.countryCode ?? t.defaultCountryCode,
1638
1627
  phoneNumber: t.modelValue
1639
- }), $ = k();
1640
- Me(async () => {
1628
+ }), E = V();
1629
+ Te(async () => {
1641
1630
  if ((t.countryCode || t.defaultCountryCode) && !h.value && N({ countryCode: t.countryCode ?? t.defaultCountryCode }), t.fetchCountry && !h.value) {
1642
1631
  const n = await i();
1643
1632
  N({ countryCode: n });
@@ -1650,11 +1639,11 @@ const st = /* @__PURE__ */ ae({
1650
1639
  }
1651
1640
  });
1652
1641
  function J({
1653
- phone: n = C.value || t.modelValue,
1642
+ phone: n = b.value || t.modelValue,
1654
1643
  countryCode: w = h.value,
1655
1644
  checkCountryCode: K = !1
1656
1645
  }) {
1657
- p.value = y({
1646
+ p.value = v({
1658
1647
  phoneNumber: n,
1659
1648
  countryCode: w,
1660
1649
  checkCountryCode: K
@@ -1662,13 +1651,13 @@ const st = /* @__PURE__ */ ae({
1662
1651
  }
1663
1652
  function ee() {
1664
1653
  var n;
1665
- return (n = $.value) == null ? void 0 : n.$el.querySelector("input");
1654
+ return (n = E.value) == null ? void 0 : n.$el.querySelector("input");
1666
1655
  }
1667
1656
  async function oe() {
1668
1657
  var n;
1669
1658
  await ue(), (n = ee()) == null || n.select();
1670
1659
  }
1671
- function j(n) {
1660
+ function F(n) {
1672
1661
  if (n) {
1673
1662
  if (!g(n)) {
1674
1663
  console.warn(`[MazPhoneNumberInput] Country code not available: "${n}"`), h.value = void 0;
@@ -1677,15 +1666,15 @@ const st = /* @__PURE__ */ ae({
1677
1666
  h.value = n;
1678
1667
  }
1679
1668
  }
1680
- function F({
1669
+ function Y({
1681
1670
  newPhoneNumber: n
1682
1671
  }) {
1683
1672
  var w;
1684
1673
  J({ phone: n }), p.value.parsedCountryCode && p.value.parsedCountryCode !== h.value && N({
1685
1674
  countryCode: p.value.parsedCountryCode,
1686
1675
  updateResults: !1
1687
- }), p.value.isValid && m.value ? C.value = (w = p.value.formatNational) == null ? void 0 : w.trim().replaceAll(new RegExp(/\D/g), "") : C.value = n, T.value = !0, p.value.e164 ? o("update:model-value", p.value.e164) : o("update:model-value", p.value.phoneNumber), setTimeout(() => {
1688
- T.value = !1;
1676
+ }), p.value.isValid && m.value ? b.value = (w = p.value.formatNational) == null ? void 0 : w.trim().replaceAll(new RegExp(/\D/g), "") : b.value = n, O.value = !0, p.value.e164 ? o("update:model-value", p.value.e164) : o("update:model-value", p.value.phoneNumber), setTimeout(() => {
1677
+ O.value = !1;
1689
1678
  }, 0);
1690
1679
  }
1691
1680
  function N({
@@ -1697,19 +1686,19 @@ const st = /* @__PURE__ */ ae({
1697
1686
  h.value = void 0;
1698
1687
  return;
1699
1688
  }
1700
- c.value = !0, n !== h.value && j(n), w && J({
1689
+ c.value = !0, n !== h.value && F(n), w && J({
1701
1690
  countryCode: h.value,
1702
1691
  checkCountryCode: !0
1703
1692
  });
1704
- const P = p.value.countryCode || p.value.parsedCountryCode;
1705
- o("country-code", P), o("update:country-code", P), K && !p.value.isValid && oe(), setTimeout(() => {
1693
+ const k = p.value.countryCode || p.value.parsedCountryCode;
1694
+ o("country-code", k), o("update:country-code", k), K && !p.value.isValid && oe(), setTimeout(() => {
1706
1695
  c.value = !1;
1707
1696
  }, 0);
1708
1697
  }
1709
1698
  return ve(
1710
1699
  () => t.modelValue ?? t.defaultPhoneNumber,
1711
1700
  (n, w) => {
1712
- !T.value && n !== w && n !== C.value && F({ newPhoneNumber: n });
1701
+ !O.value && n !== w && n !== b.value && Y({ newPhoneNumber: n });
1713
1702
  },
1714
1703
  { immediate: !0 }
1715
1704
  ), ve(
@@ -1724,22 +1713,22 @@ const st = /* @__PURE__ */ ae({
1724
1713
  o("update", n), o("data", n);
1725
1714
  },
1726
1715
  { immediate: !0 }
1727
- ), io("data", {
1716
+ ), ro("data", {
1728
1717
  selectedCountry: h,
1729
- phoneNumber: C,
1718
+ phoneNumber: b,
1730
1719
  results: p
1731
1720
  }), (n, w) => {
1732
1721
  var K;
1733
- return b(), S(
1722
+ return C(), S(
1734
1723
  "div",
1735
1724
  {
1736
- class: O(["m-phone-number-input m-reset-css", [t.class, { "--block": n.block }, n.orientation ? `--${n.orientation}` : void 0]]),
1725
+ class: $(["m-phone-number-input m-reset-css", [t.class, { "--block": n.block }, n.orientation ? `--${n.orientation}` : void 0]]),
1737
1726
  style: X(n.style)
1738
1727
  },
1739
1728
  [
1740
- n.noCountrySelector ? V("v-if", !0) : (b(), U(Xo, _({
1729
+ n.noCountrySelector ? P("v-if", !0) : (C(), H(Jo, _({
1741
1730
  key: 0,
1742
- id: I(E)
1731
+ id: I(L)
1743
1732
  }, n.countrySelectAttributes, {
1744
1733
  "model-value": h.value,
1745
1734
  color: n.color,
@@ -1752,7 +1741,7 @@ const st = /* @__PURE__ */ ae({
1752
1741
  "no-flags": n.noFlags,
1753
1742
  "no-search": n.noSearch,
1754
1743
  "exclude-selectors": n.excludeSelectors,
1755
- error: n.error || (n.noValidationError ? !1 : !!C.value && !h.value),
1744
+ error: n.error || (n.noValidationError ? !1 : !!b.value && !h.value),
1756
1745
  success: n.success || (n.noValidationSuccess ? !1 : (K = p.value) == null ? void 0 : K.isValid),
1757
1746
  locales: A.value,
1758
1747
  disabled: n.disabled,
@@ -1761,29 +1750,29 @@ const st = /* @__PURE__ */ ae({
1761
1750
  "only-countries": n.onlyCountries,
1762
1751
  "preferred-countries": n.preferredCountries,
1763
1752
  width: n.countrySelectorWidth,
1764
- "onUpdate:modelValue": w[0] || (w[0] = (P) => N({ countryCode: P, selectPhoneNumber: !0 }))
1753
+ "onUpdate:modelValue": w[0] || (w[0] = (k) => N({ countryCode: k, selectPhoneNumber: !0 }))
1765
1754
  }), {
1766
- "no-results": W(() => [
1767
- M(n.$slots, "no-results", {}, void 0, !0)
1755
+ "no-results": Q(() => [
1756
+ T(n.$slots, "no-results", {}, void 0, !0)
1768
1757
  ]),
1769
- "selector-flag": W(({ countryCode: P }) => [
1770
- M(n.$slots, "selector-flag", { countryCode: P }, void 0, !0)
1758
+ "selector-flag": Q(({ countryCode: k }) => [
1759
+ T(n.$slots, "selector-flag", { countryCode: k }, void 0, !0)
1771
1760
  ]),
1772
- "country-list-flag": W(({ isSelected: P, option: Q }) => [
1773
- M(n.$slots, "country-list-flag", {
1774
- countryCode: Q.iso2,
1775
- option: Q,
1776
- isSelected: P
1761
+ "country-list-flag": Q(({ isSelected: k, option: G }) => [
1762
+ T(n.$slots, "country-list-flag", {
1763
+ countryCode: G.iso2,
1764
+ option: G,
1765
+ isSelected: k
1777
1766
  }, void 0, !0)
1778
1767
  ]),
1779
1768
  _: 3
1780
1769
  /* FORWARDED */
1781
1770
  }, 16, ["id", "model-value", "color", "size", "country-locale", "country-selector-display-name", "custom-countries-list", "ignored-countries", "list-position", "no-flags", "no-search", "exclude-selectors", "error", "success", "locales", "disabled", "search-threshold", "show-code-on-list", "only-countries", "preferred-countries", "width"])),
1782
- H(nt, _({
1783
- id: I(E),
1771
+ D(at, _({
1772
+ id: I(L),
1784
1773
  ref_key: "PhoneInputRef",
1785
- ref: $,
1786
- "model-value": C.value
1774
+ ref: E,
1775
+ "model-value": b.value
1787
1776
  }, { ...n.$attrs, ...n.phoneInputAttributes }, {
1788
1777
  color: n.color,
1789
1778
  size: n.size,
@@ -1793,11 +1782,11 @@ const st = /* @__PURE__ */ ae({
1793
1782
  disabled: n.disabled,
1794
1783
  "has-radius": !n.noCountrySelector,
1795
1784
  success: n.success || (n.noValidationSuccess ? !1 : p.value.isValid),
1796
- error: n.error || (n.noValidationError ? !1 : !!C.value && !p.value.isValid),
1785
+ error: n.error || (n.noValidationError ? !1 : !!b.value && !p.value.isValid),
1797
1786
  locales: A.value,
1798
1787
  label: n.label,
1799
1788
  placeholder: n.placeholder,
1800
- "onUpdate:modelValue": w[1] || (w[1] = (P) => F({ newPhoneNumber: P }))
1789
+ "onUpdate:modelValue": w[1] || (w[1] = (k) => Y({ newPhoneNumber: k }))
1801
1790
  }), null, 16, ["id", "model-value", "color", "size", "auto-format", "no-example", "disabled", "has-radius", "success", "error", "locales", "label", "placeholder"])
1802
1791
  ],
1803
1792
  6
@@ -1805,9 +1794,9 @@ const st = /* @__PURE__ */ ae({
1805
1794
  );
1806
1795
  };
1807
1796
  }
1808
- }), ct = /* @__PURE__ */ se(rt, [["__scopeId", "data-v-fb5085d5"]]);
1797
+ }), ut = /* @__PURE__ */ se(st, [["__scopeId", "data-v-fb5085d5"]]);
1809
1798
  export {
1810
- ct as M,
1799
+ ut as M,
1811
1800
  se as _,
1812
1801
  Ne as i,
1813
1802
  we as u