@soma-vertical-web/multi-lib 1.0.22 → 1.0.23

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 (35) hide show
  1. package/{index-D61YFVi9.mjs → index-DjjGiBzS.mjs} +697 -742
  2. package/index-Rwk0NGoh.js +4 -0
  3. package/index.js +12 -12
  4. package/index.mjs +2987 -2983
  5. package/index2.js +2 -2
  6. package/index2.mjs +38 -38
  7. package/layout/template/QuickShop/Composite/Body.d.ts +1 -1
  8. package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
  9. package/package.json +1 -1
  10. package/style.css +1 -1
  11. package/types/layout/templates/QuickShop/index.d.ts +2 -1
  12. package/cms/ContentTypes/LPLojas/typing.d.ts +0 -33
  13. package/contexts/contexts/search/QueryFacets.d.ts +0 -5
  14. package/contexts/contexts/search/QueryProducts.d.ts +0 -5
  15. package/contexts/contexts/search/RootTank.d.ts +0 -9
  16. package/index-4tOP7lCS.js +0 -4
  17. package/index-67k__dSl.mjs +0 -1908
  18. package/index-BFX4NpXJ.js +0 -4
  19. package/index-BhiCzrut.mjs +0 -2255
  20. package/index-BlwJMBFA.mjs +0 -1890
  21. package/index-ByhWQJ9Z.mjs +0 -1844
  22. package/index-CkpbvnLx.mjs +0 -1830
  23. package/index-CpUjW-m9.mjs +0 -1877
  24. package/index-D0LSqsck.js +0 -4
  25. package/index-DZ1MbO8M.js +0 -4
  26. package/index-Dj1bg0lu.mjs +0 -1826
  27. package/index-DvhdPe3b.js +0 -4
  28. package/index-DyKuIyRP.js +0 -4
  29. package/index-dtcYsqh-.js +0 -4
  30. package/index-xWhZ_YcF.js +0 -4
  31. package/layout/template/LPLojas/Composite/Details/interfaces.d.ts +0 -18
  32. package/layout/template/LPLojas/Composite/DropDown/interfaces.d.ts +0 -10
  33. package/layout/template/LPLojas/constant.d.ts +0 -1
  34. package/layout/template/LPLojas/interfaces.d.ts +0 -18
  35. package/layout/template/SearchResult/Composite/Products.d.ts +0 -7
@@ -1,27 +1,27 @@
1
- import { jsxs as vt, Fragment as Gr, jsx as L } from "react/jsx-runtime";
2
- import { Utils as Hr } from "@soma-vertical-web/core-components";
3
- const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
1
+ import { jsxs as st, Fragment as xr, jsx as L } from "react/jsx-runtime";
2
+ import { Utils as Lr } from "@soma-vertical-web/core-components";
3
+ const ze = (t, e = !0) => Intl.NumberFormat("pt-BR", {
4
4
  style: "currency",
5
5
  currency: "BRL",
6
6
  minimumFractionDigits: e ? 2 : 0
7
- }).format(t), jr = ({ valueInCents: t, hasFree: e, freeTaxMessage: r }) => t === 0 ? e ? r : Qe(0) : Qe(t / 100), kr = (t, e) => {
7
+ }).format(t), Fr = ({ valueInCents: t, hasFree: e, freeTaxMessage: r }) => t === 0 ? e ? r : ze(0) : ze(t / 100), Mr = (t, e) => {
8
8
  const n = (t - e) * 100 / t;
9
9
  return Math.floor(n);
10
- }, Vt = (t, e) => {
10
+ }, kt = (t, e) => {
11
11
  const [r, n] = t.split(e);
12
12
  return { name: r.trim(), size: n ? n.trim() : "" };
13
- }, Xr = (t, e) => {
13
+ }, Ur = (t, e) => {
14
14
  if (!t)
15
15
  return {};
16
16
  const [r, n] = t.split(e);
17
17
  return { color: r == null ? void 0 : r.trim(), size: n == null ? void 0 : n.trim() };
18
- }, Wr = (t, e = "tamanho") => {
18
+ }, Br = (t, e = "tamanho") => {
19
19
  if (t.additionalProperty) {
20
20
  const [r] = t.additionalProperty;
21
21
  return r != null && r.name ? r.name.toLocaleLowerCase() === e ? r.value : t.name : "";
22
22
  }
23
23
  return t.name;
24
- }, Vr = (t, e) => t.replace(e, "").trim(), qr = (t) => t.replace(/\//g, ""), zr = ({ items: t, NAME_SPLIT_SYMBOL: e }) => {
24
+ }, Gr = (t, e) => t.replace(e, "").trim(), Hr = (t) => t.replace(/\//g, ""), kr = ({ items: t, NAME_SPLIT_SYMBOL: e }) => {
25
25
  const r = {
26
26
  price: 0,
27
27
  listPrice: 0,
@@ -30,30 +30,30 @@ const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
30
30
  value: 0
31
31
  }
32
32
  }, n = (i, l) => {
33
- var u;
33
+ var f;
34
34
  l && (l.sellerId = i.sellerId, l.sellerName = i.sellerName, l.available = !0, l.isSellerDefault = i.sellerDefault);
35
35
  const {
36
36
  Price: c,
37
37
  ListPrice: s,
38
- PaymentOptions: { installmentOptions: f }
38
+ PaymentOptions: { installmentOptions: u }
39
39
  } = i.commertialOffer;
40
40
  r.price = c, r.listPrice = s;
41
- const p = (u = f == null ? void 0 : f[0]) == null ? void 0 : u.installments;
41
+ const p = (f = u == null ? void 0 : u[0]) == null ? void 0 : f.installments;
42
42
  if (p) {
43
- const { count: d, value: y } = p[p.length - 1];
43
+ const { count: v, value: y } = p[p.length - 1];
44
44
  r.installments = {
45
- count: d,
45
+ count: v,
46
46
  value: y / 100
47
47
  };
48
48
  }
49
49
  };
50
50
  let o = !0;
51
51
  const a = t.reduce((i, l) => {
52
- var f;
52
+ var u;
53
53
  const c = {
54
54
  name: l.name,
55
55
  sku: l.itemId,
56
- value: ((f = l.Tamanho) == null ? void 0 : f[0]) ?? Vt(l.nameComplete ?? l.name, e).size,
56
+ value: ((u = l.Tamanho) == null ? void 0 : u[0]) ?? kt(l.nameComplete ?? l.name, e).size,
57
57
  available: !1,
58
58
  sellerId: "",
59
59
  sellerName: "",
@@ -70,26 +70,26 @@ const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
70
70
  sizes: a,
71
71
  allSizesAvailable: o
72
72
  };
73
- }, Kr = (t) => t ? !t.offers.offers.find(({ quantity: e = 0 }) => e > 0) : !1, Yr = (t, e) => {
73
+ }, Xr = (t) => t ? !t.offers.offers.find(({ quantity: e = 0 }) => e > 0) : !1, Wr = (t, e) => {
74
74
  const r = t.find(
75
75
  (n) => n.availability.includes("InStock") && n.quantity && n.listPrice > 0 && n.seller.identifier === e
76
76
  );
77
77
  return r || t.find(
78
78
  (n) => n.availability.includes("InStock") && n.quantity && n.listPrice > 0
79
79
  );
80
- }, Qr = ({ images: t, TEXTURE_IMAGE: e }) => t.find((r) => e.includes(r.imageLabel)) ?? t[0], Jr = (t, e) => {
80
+ }, jr = ({ images: t, TEXTURE_IMAGE: e }) => t.find((r) => e.includes(r.imageLabel)) ?? t[0], Vr = (t, e) => {
81
81
  const r = /\/ids\/(\d+)\//, n = t.match(r);
82
82
  return n ? t.replace(
83
83
  `/${n[1]}/`,
84
84
  `/${n[1]}-${e.width}-${e.height}/`
85
85
  ) : t;
86
- }, Zr = (t, e) => {
86
+ }, qr = (t, e) => {
87
87
  const r = /\/ids\/(\d+)-(\d+)-(\d+)\//, n = t.match(r);
88
88
  return n ? t.replace(
89
89
  `/${n[1]}-${n[2]}-${n[3]}/`,
90
90
  `/${n[1]}-${e.width}-${e.height}/`
91
91
  ) : t;
92
- }, en = ({
92
+ }, zr = ({
93
93
  images: t,
94
94
  label: e
95
95
  }) => {
@@ -97,35 +97,35 @@ const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
97
97
  (n) => n.keywords === e.first || n.keywords === e.second || n.alternateName === e.first || n.alternateName === e.second
98
98
  );
99
99
  return r.length === 0 ? t.slice(0, 2) : r;
100
- }, tn = (t) => {
100
+ }, Kr = (t) => {
101
101
  const [e, r] = t.split("/").map(Number);
102
102
  if (Number.isNaN(e) || Number.isNaN(r))
103
103
  throw new Error("[ERROR ASPECT RATIO IMAGE]: Invalid aspect ratio format");
104
104
  return r / e;
105
- }, rn = (t, e, r) => {
105
+ }, Yr = (t, e, r) => {
106
106
  e && (t ? (e.getAttribute("src") || (e.src = r ?? ""), e.play()) : e.pause());
107
- }, xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
+ }, bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
108
108
  __proto__: null,
109
- disableSKU: Kr,
110
- formatPriceToCurrency: Qe,
111
- freightParsePrice: jr,
112
- getAspectRatio: tn,
113
- getColorAndSizeFromSkuName: Xr,
114
- getDiscountPercent: kr,
115
- getFirstImages: en,
116
- getProductNameWithoutSku: Vr,
117
- getSKUName: Wr,
118
- getSkuInfos: zr,
119
- getThumbImage: Qr,
120
- getValidOffer: Yr,
121
- removeSlashes: qr,
122
- resizingImg: Jr,
123
- setVideoPlay: rn,
124
- splitNameAndSizeFromFullName: Vt,
125
- updatedResizedImg: Zr
126
- }, Symbol.toStringTag, { value: "Module" })), ht = "fuzzy", gt = "operator", nn = (t) => ({
109
+ disableSKU: Xr,
110
+ formatPriceToCurrency: ze,
111
+ freightParsePrice: Fr,
112
+ getAspectRatio: Kr,
113
+ getColorAndSizeFromSkuName: Ur,
114
+ getDiscountPercent: Mr,
115
+ getFirstImages: zr,
116
+ getProductNameWithoutSku: Gr,
117
+ getSKUName: Br,
118
+ getSkuInfos: kr,
119
+ getThumbImage: jr,
120
+ getValidOffer: Wr,
121
+ removeSlashes: Hr,
122
+ resizingImg: Vr,
123
+ setVideoPlay: Yr,
124
+ splitNameAndSizeFromFullName: kt,
125
+ updatedResizedImg: qr
126
+ }, Symbol.toStringTag, { value: "Module" })), pt = "fuzzy", yt = "operator", Qr = (t) => ({
127
127
  isDepartment: t != null && t.length ? t[0].key === "category-1" : !1
128
- }), $i = (t, e) => {
128
+ }), Ii = (t, e) => {
129
129
  const r = decodeURIComponent(e ?? "").slice(1).split("/");
130
130
  return t.map((n) => {
131
131
  if (n.key === "category-2" && n.__typename === "FacetBoolean") {
@@ -141,7 +141,7 @@ const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
141
141
  }
142
142
  return n;
143
143
  });
144
- }, qt = (t, e) => e ? t === "category-1" : !1, on = (t) => t.key === "operator" && (t.value === "and" || t.value === "or"), an = (t) => t.type === "TEXT", ln = (t) => t.key === "fuzzy" && (t.value === "0" || t.value === "1" || t.value === "auto"), cn = (t) => {
144
+ }, Xt = (t, e) => e ? t === "category-1" : !1, Jr = (t) => t.key === "operator" && (t.value === "and" || t.value === "or"), Zr = (t) => t.type === "TEXT", en = (t) => t.key === "fuzzy" && (t.value === "0" || t.value === "1" || t.value === "auto"), tn = (t) => {
145
145
  const { key: e, name: r, values: n } = t;
146
146
  return {
147
147
  __typename: "FacetBoolean",
@@ -149,54 +149,54 @@ const Qe = (t, e = !0) => Intl.NumberFormat("pt-BR", {
149
149
  label: r,
150
150
  values: n.slice().sort((o, a) => o.name.localeCompare(a.name))
151
151
  };
152
- }, fn = ({ key: t, values: e }) => ({
152
+ }, rn = ({ key: t, values: e }) => ({
153
153
  __typename: "FacetRange",
154
154
  key: t,
155
155
  values: e
156
- }), Li = (t, e, r) => {
156
+ }), wi = (t, e, r) => {
157
157
  if (!(t instanceof Object) || !("facets" in t))
158
158
  return [];
159
159
  const { facets: n = [] } = t, o = e != null && e.length ? e[0].key === "category-1" : !1;
160
160
  return n.filter(
161
- (i) => !r || !qt(i.key, o)
161
+ (i) => !r || !Xt(i.key, o)
162
162
  ).map(
163
- (i) => an(i) ? cn(i) : fn(i)
163
+ (i) => Zr(i) ? tn(i) : rn(i)
164
164
  );
165
- }, Mi = (t, e) => {
166
- const r = t.find(({ key: o }) => o === ht) ?? null, n = t.find(({ key: o }) => o === gt) ?? null;
167
- r && ln(r) && e.append(ht, r.value), n && on(n) && e.append(gt, n.value);
168
- }, un = (t) => t.map((e) => {
165
+ }, Ti = (t, e) => {
166
+ const r = t.find(({ key: o }) => o === pt) ?? null, n = t.find(({ key: o }) => o === yt) ?? null;
167
+ r && en(r) && e.append(pt, r.value), n && Jr(n) && e.append(yt, n.value);
168
+ }, nn = (t) => t.map((e) => {
169
169
  const [r, n] = e.split("/");
170
170
  return { key: r, value: n };
171
- }), Fi = (t, e) => {
171
+ }), Ni = (t, e) => {
172
172
  const r = decodeURIComponent(e ?? "").slice(1).split("/"), n = t.filter(({ value: a }) => !r.includes(decodeURIComponent(a))).map((a) => ({
173
173
  ...a,
174
174
  value: decodeURIComponent(a.value)
175
- })), { isDepartment: o } = nn(n);
176
- return n == null ? void 0 : n.filter((a) => !qt(a.key, o));
177
- }, Ui = ({ pathname: t, searchParams: e }, r) => {
175
+ })), { isDepartment: o } = Qr(n);
176
+ return n == null ? void 0 : n.filter((a) => !Xt(a.key, o));
177
+ }, Ci = ({ pathname: t, searchParams: e }, r) => {
178
178
  const n = e.get("sort") ?? "", o = e.get("query") ?? null, a = parseInt(e.get("page") ?? "1", 10);
179
179
  return {
180
180
  sort: n,
181
- facets: un(r),
181
+ facets: nn(r),
182
182
  term: o,
183
183
  base: o ? "" : t,
184
184
  page: a
185
185
  };
186
- }, Bi = (t) => {
186
+ }, Di = (t) => {
187
187
  const e = new URLSearchParams();
188
188
  return Object.entries(t).forEach(([r, n]) => {
189
189
  Array.isArray(n) ? n.forEach((o) => e.append(r, o)) : n !== void 0 && e.append(r, n);
190
190
  }), e;
191
- }, Gi = (t, e, r = 24, n = 1, o) => {
191
+ }, $i = (t, e, r = 24, n = 1, o) => {
192
192
  const a = `/search?query=${e ?? ""}&count=${r}&page=${n}${o ? `&sort=${o.replace("_", ":")}` : ""}`;
193
193
  t.push(a);
194
194
  };
195
- var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
196
- function sn(t) {
195
+ var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
196
+ function on(t) {
197
197
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
198
198
  }
199
- function pn(t) {
199
+ function an(t) {
200
200
  if (t.__esModule) return t;
201
201
  var e = t.default;
202
202
  if (typeof e == "function") {
@@ -215,7 +215,7 @@ function pn(t) {
215
215
  });
216
216
  }), r;
217
217
  }
218
- var yn = {};
218
+ var ln = {};
219
219
  (function(t) {
220
220
  Object.defineProperty(t, "__esModule", {
221
221
  value: !0
@@ -228,8 +228,8 @@ var yn = {};
228
228
  function e(r) {
229
229
  return r.replace(/\/$/, "") || "/";
230
230
  }
231
- })(yn);
232
- var ot = {};
231
+ })(ln);
232
+ var tt = {};
233
233
  (function(t) {
234
234
  Object.defineProperty(t, "__esModule", {
235
235
  value: !0
@@ -251,8 +251,8 @@ var ot = {};
251
251
  hash: ""
252
252
  };
253
253
  }
254
- })(ot);
255
- var zt = {};
254
+ })(tt);
255
+ var Wt = {};
256
256
  (function(t) {
257
257
  Object.defineProperty(t, "__esModule", {
258
258
  value: !0
@@ -262,23 +262,23 @@ var zt = {};
262
262
  return r;
263
263
  }
264
264
  });
265
- const e = ot;
265
+ const e = tt;
266
266
  function r(n, o) {
267
267
  if (typeof n != "string")
268
268
  return !1;
269
269
  const { pathname: a } = (0, e.parsePath)(n);
270
270
  return a === o || a.startsWith(o + "/");
271
271
  }
272
- })(zt);
273
- var dn = {};
272
+ })(Wt);
273
+ var cn = {};
274
274
  (function(t) {
275
275
  Object.defineProperty(t, "__esModule", {
276
276
  value: !0
277
277
  });
278
- function e(Br, yt) {
279
- for (var dt in yt) Object.defineProperty(Br, dt, {
278
+ function e($r, ut) {
279
+ for (var ft in ut) Object.defineProperty($r, ft, {
280
280
  enumerable: !0,
281
- get: yt[dt]
281
+ get: ut[ft]
282
282
  });
283
283
  }
284
284
  e(t, {
@@ -292,28 +292,28 @@ var dn = {};
292
292
  return I;
293
293
  },
294
294
  DOT_NEXT_ALIAS: function() {
295
- return $;
295
+ return x;
296
296
  },
297
297
  ESLINT_DEFAULT_DIRS: function() {
298
- return Lr;
298
+ return Tr;
299
299
  },
300
300
  GSP_NO_RETURNED_VALUE: function() {
301
- return Tr;
301
+ return Rr;
302
302
  },
303
303
  GSSP_COMPONENT_MEMBER_ERROR: function() {
304
- return Dr;
304
+ return br;
305
305
  },
306
306
  GSSP_NO_RETURNED_VALUE: function() {
307
- return Nr;
307
+ return Pr;
308
308
  },
309
309
  INSTRUMENTATION_HOOK_FILENAME: function() {
310
- return F;
310
+ return M;
311
311
  },
312
312
  MIDDLEWARE_FILENAME: function() {
313
313
  return w;
314
314
  },
315
315
  MIDDLEWARE_LOCATION_REGEXP: function() {
316
- return j;
316
+ return H;
317
317
  },
318
318
  NEXT_BODY_SUFFIX: function() {
319
319
  return p;
@@ -328,19 +328,19 @@ var dn = {};
328
328
  return _;
329
329
  },
330
330
  NEXT_CACHE_SOFT_TAGS_HEADER: function() {
331
- return d;
331
+ return v;
332
332
  },
333
333
  NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
334
334
  return b;
335
335
  },
336
336
  NEXT_CACHE_TAGS_HEADER: function() {
337
- return u;
337
+ return f;
338
338
  },
339
339
  NEXT_CACHE_TAG_MAX_ITEMS: function() {
340
340
  return A;
341
341
  },
342
342
  NEXT_CACHE_TAG_MAX_LENGTH: function() {
343
- return P;
343
+ return O;
344
344
  },
345
345
  NEXT_DATA_SUFFIX: function() {
346
346
  return s;
@@ -349,13 +349,13 @@ var dn = {};
349
349
  return n;
350
350
  },
351
351
  NEXT_META_SUFFIX: function() {
352
- return f;
352
+ return u;
353
353
  },
354
354
  NEXT_QUERY_PARAM_PREFIX: function() {
355
355
  return r;
356
356
  },
357
357
  NON_STANDARD_NODE_ENV: function() {
358
- return xr;
358
+ return Ir;
359
359
  },
360
360
  PAGES_DIR_ALIAS: function() {
361
361
  return q;
@@ -376,13 +376,13 @@ var dn = {};
376
376
  return k;
377
377
  },
378
378
  RSC_ACTION_ENCRYPTION_ALIAS: function() {
379
- return R;
379
+ return P;
380
380
  },
381
381
  RSC_ACTION_PROXY_ALIAS: function() {
382
382
  return N;
383
383
  },
384
384
  RSC_ACTION_VALIDATE_ALIAS: function() {
385
- return O;
385
+ return R;
386
386
  },
387
387
  RSC_MOD_REF_PROXY_ALIAS: function() {
388
388
  return U;
@@ -394,7 +394,7 @@ var dn = {};
394
394
  return l;
395
395
  },
396
396
  SERVER_PROPS_EXPORT_ERROR: function() {
397
- return wr;
397
+ return Ar;
398
398
  },
399
399
  SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
400
400
  return ye;
@@ -403,34 +403,34 @@ var dn = {};
403
403
  return ne;
404
404
  },
405
405
  SERVER_RUNTIME: function() {
406
- return Mr;
406
+ return Nr;
407
407
  },
408
408
  SSG_FALLBACK_EXPORT_ERROR: function() {
409
- return $r;
409
+ return wr;
410
410
  },
411
411
  SSG_GET_INITIAL_PROPS_CONFLICT: function() {
412
- return De;
412
+ return Te;
413
413
  },
414
414
  STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
415
- return Ir;
415
+ return Sr;
416
416
  },
417
417
  UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
418
- return Cr;
418
+ return Or;
419
419
  },
420
420
  WEBPACK_LAYERS: function() {
421
- return Fr;
421
+ return Cr;
422
422
  },
423
423
  WEBPACK_RESOURCE_QUERIES: function() {
424
- return Ur;
424
+ return Dr;
425
425
  }
426
426
  });
427
- const r = "nxtP", n = "nxtI", o = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", i = ".prefetch.rsc", l = ".rsc", c = ".action", s = ".json", f = ".meta", p = ".body", u = "x-next-cache-tags", d = "x-next-cache-soft-tags", y = "x-next-revalidated-tags", _ = "x-next-revalidate-tag-token", A = 128, P = 256, b = 1024, h = "_N_T_", I = 31536e3, w = "middleware", j = `(?:src/)?${w}`, F = "instrumentation", q = "private-next-pages", $ = "private-dot-next", T = "private-next-root-dir", z = "private-next-app-dir", U = "private-next-rsc-mod-ref-proxy", O = "private-next-rsc-action-validate", N = "private-next-rsc-server-reference", R = "private-next-rsc-action-encryption", k = "private-next-rsc-action-client-wrapper", re = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", De = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", ye = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", ne = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Ir = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", wr = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", Tr = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", Nr = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", Cr = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", Dr = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", xr = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', $r = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", Lr = [
427
+ const r = "nxtP", n = "nxtI", o = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", i = ".prefetch.rsc", l = ".rsc", c = ".action", s = ".json", u = ".meta", p = ".body", f = "x-next-cache-tags", v = "x-next-cache-soft-tags", y = "x-next-revalidated-tags", _ = "x-next-revalidate-tag-token", A = 128, O = 256, b = 1024, h = "_N_T_", I = 31536e3, w = "middleware", H = `(?:src/)?${w}`, M = "instrumentation", q = "private-next-pages", x = "private-dot-next", T = "private-next-root-dir", z = "private-next-app-dir", U = "private-next-rsc-mod-ref-proxy", R = "private-next-rsc-action-validate", N = "private-next-rsc-server-reference", P = "private-next-rsc-action-encryption", k = "private-next-rsc-action-client-wrapper", re = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Te = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", ye = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", ne = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Sr = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", Ar = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", Rr = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", Pr = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", Or = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", br = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", Ir = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', wr = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", Tr = [
428
428
  "app",
429
429
  "pages",
430
430
  "components",
431
431
  "lib",
432
432
  "src"
433
- ], Mr = {
433
+ ], Nr = {
434
434
  edge: "edge",
435
435
  experimentalEdge: "experimental-edge",
436
436
  nodejs: "nodejs"
@@ -479,7 +479,7 @@ var dn = {};
479
479
  * The layer for the server bundle for App Route handlers.
480
480
  */
481
481
  appRouteHandler: "app-route-handler"
482
- }, Fr = {
482
+ }, Cr = {
483
483
  ...E,
484
484
  GROUP: {
485
485
  serverOnly: [
@@ -509,14 +509,14 @@ var dn = {};
509
509
  E.instrument
510
510
  ]
511
511
  }
512
- }, Ur = {
512
+ }, Dr = {
513
513
  edgeSSREntry: "__next_edge_ssr_entry__",
514
514
  metadata: "__next_metadata__",
515
515
  metadataRoute: "__next_metadata_route__",
516
516
  metadataImageMeta: "__next_metadata_image_meta__"
517
517
  };
518
- })(dn);
519
- var vn = {}, Kt = {};
518
+ })(cn);
519
+ var un = {}, jt = {};
520
520
  (function(t) {
521
521
  Object.defineProperty(t, "__esModule", {
522
522
  value: !0
@@ -526,14 +526,14 @@ var vn = {}, Kt = {};
526
526
  return r;
527
527
  }
528
528
  });
529
- const e = ot;
529
+ const e = tt;
530
530
  function r(n, o) {
531
531
  if (!n.startsWith("/") || !o)
532
532
  return n;
533
533
  const { pathname: a, query: i, hash: l } = (0, e.parsePath)(n);
534
534
  return "" + o + a + i + l;
535
535
  }
536
- })(Kt);
536
+ })(jt);
537
537
  (function(t) {
538
538
  Object.defineProperty(t, "__esModule", {
539
539
  value: !0
@@ -543,14 +543,14 @@ var vn = {}, Kt = {};
543
543
  return n;
544
544
  }
545
545
  });
546
- const e = Kt, r = zt;
546
+ const e = jt, r = Wt;
547
547
  function n(o, a, i, l) {
548
548
  if (!a || a === i) return o;
549
549
  const c = o.toLowerCase();
550
550
  return !l && ((0, r.pathHasPrefix)(c, "/api") || (0, r.pathHasPrefix)(c, "/" + a.toLowerCase())) ? o : (0, e.addPathPrefix)(o, "/" + a);
551
551
  }
552
- })(vn);
553
- var hn = {};
552
+ })(un);
553
+ var fn = {};
554
554
  (function(t) {
555
555
  Object.defineProperty(t, "__esModule", {
556
556
  value: !0
@@ -568,8 +568,8 @@ var hn = {};
568
568
  detectedLocale: o
569
569
  };
570
570
  }
571
- })(hn);
572
- var gn = {};
571
+ })(fn);
572
+ var sn = {};
573
573
  (function(t) {
574
574
  Object.defineProperty(t, "__esModule", {
575
575
  value: !0
@@ -590,19 +590,19 @@ var gn = {};
590
590
  }
591
591
  }
592
592
  }
593
- })(gn);
594
- const mn = (t = "") => t.charAt(0).toUpperCase() + t.slice(1), _t = (t, e = " ") => !t || typeof t == "string" && t.length === 0 ? t : (Array.isArray(t) ? t : t.split("-")).map(mn).join(e), _n = ({ canonical: t, seo: e, slug: r }) => {
593
+ })(sn);
594
+ const pn = (t = "") => t.charAt(0).toUpperCase() + t.slice(1), vt = (t, e = " ") => !t || typeof t == "string" && t.length === 0 ? t : (Array.isArray(t) ? t : t.split("-")).map(pn).join(e), yn = ({ canonical: t, seo: e, slug: r }) => {
595
595
  const n = Array.isArray(r) ? r.join(", ") : r;
596
596
  return {
597
597
  id: 0,
598
- Title: `${Array.isArray(r) ? r.map((a) => _t(a)).join(",") : _t(r)} - ${e.title}`,
598
+ Title: `${Array.isArray(r) ? r.map((a) => vt(a)).join(",") : vt(r)} - ${e.title}`,
599
599
  MetaTagDescription: e.description,
600
600
  name: n,
601
601
  hasChildren: !1,
602
602
  url: t,
603
603
  children: []
604
604
  };
605
- }, En = ({ canonical: t, category: e, previousImages: r, seo: n }) => ({
605
+ }, dn = ({ canonical: t, category: e, previousImages: r, seo: n }) => ({
606
606
  category: String(e == null ? void 0 : e.id),
607
607
  title: (e == null ? void 0 : e.Title) ?? n.title,
608
608
  description: (e == null ? void 0 : e.MetaTagDescription) ?? n.description,
@@ -613,28 +613,28 @@ const mn = (t = "") => t.charAt(0).toUpperCase() + t.slice(1), _t = (t, e = " ")
613
613
  description: (e == null ? void 0 : e.MetaTagDescription) ?? n.description,
614
614
  images: Array.isArray(r) ? [...r] : []
615
615
  }
616
- }), Sn = ({ items: t, parent: e, apiUrl: r, find: n }) => {
616
+ }), vn = ({ items: t, parent: e, apiUrl: r, find: n }) => {
617
617
  const o = t.find(
618
618
  (i) => i.url.replace(r, "") === decodeURIComponent(e.toLowerCase())
619
619
  );
620
620
  return (o == null ? void 0 : o.children.find(
621
621
  (i) => i.name.toLowerCase() === decodeURIComponent(String(n))
622
622
  )) ?? o;
623
- }, An = (t) => {
623
+ }, hn = (t) => {
624
624
  t instanceof Error ? (console.error(`[ERROR CATEGORY INFO]: ${t.message}`), console.error(t.stack)) : console.error("[ERROR CATEGORY INFO]: Unknown error", t);
625
- }, On = /* @__PURE__ */ new Set([
625
+ }, gn = /* @__PURE__ */ new Set([
626
626
  "brand",
627
627
  "category",
628
628
  "department",
629
629
  "subcategory",
630
630
  "collection",
631
631
  "cluster"
632
- ]), Rn = (t) => typeof (t == null ? void 0 : t.pageType) == "string" && On.has(t == null ? void 0 : t.pageType.toLowerCase()), Pn = (t) => ({
632
+ ]), mn = (t) => typeof (t == null ? void 0 : t.pageType) == "string" && gn.has(t == null ? void 0 : t.pageType.toLowerCase()), _n = (t) => ({
633
633
  collection: t.Coleção,
634
634
  categoryId: t.categoryId,
635
635
  current_collection: t["Coleção Atual"],
636
636
  items: t.items
637
- }), bn = (t, e) => t.reduce((r, n) => {
637
+ }), En = (t, e) => t.reduce((r, n) => {
638
638
  if (n.items.filter(
639
639
  (i) => i.sellers.find((l) => l.commertialOffer.IsAvailable)
640
640
  ).length === 0 || (r == null ? void 0 : r.find((i) => (i == null ? void 0 : i.productId) === (n == null ? void 0 : n.productId))) !== void 0)
@@ -648,86 +648,86 @@ const mn = (t = "") => t.charAt(0).toUpperCase() + t.slice(1), _t = (t, e = " ")
648
648
  textureImage: (a == null ? void 0 : a.imageUrl) ?? "",
649
649
  textureAlt: (a == null ? void 0 : a.imageText) ?? ""
650
650
  }), r;
651
- }, []), Hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
651
+ }, []), xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
652
652
  __proto__: null,
653
- createEmptySeoCategory: _n,
654
- createSeoCategory: En,
655
- findCategory: Sn,
656
- formattedSimilars: bn,
657
- isCollectionPageType: Rn,
658
- notFindCategoryError: An,
659
- responseAdapter: Pn
653
+ createEmptySeoCategory: yn,
654
+ createSeoCategory: dn,
655
+ findCategory: vn,
656
+ formattedSimilars: En,
657
+ isCollectionPageType: mn,
658
+ notFindCategoryError: hn,
659
+ responseAdapter: _n
660
660
  }, Symbol.toStringTag, { value: "Module" })), de = {
661
661
  "responsive-mobile-flex": "_responsive-mobile-flex_1e0ai_1",
662
662
  "responsive-desktop-flex": "_responsive-desktop-flex_1e0ai_15",
663
663
  "responsive-mobile-block": "_responsive-mobile-block_1e0ai_30",
664
664
  "responsive-desktop-block": "_responsive-desktop-block_1e0ai_41"
665
- }, ji = ({
665
+ }, Li = ({
666
666
  children: t,
667
667
  data: e,
668
668
  SectionZone: r,
669
669
  className: n
670
670
  }) => {
671
- var f, p;
672
- const o = ((f = e == null ? void 0 : e.filter((u) => {
673
- var d, y;
674
- return ((y = (d = u.config) == null ? void 0 : d.responsive) == null ? void 0 : y.deviceType) === "mobile";
675
- })[0]) == null ? void 0 : f.sections) || [], a = ((p = e == null ? void 0 : e.filter((u) => {
676
- var d, y;
677
- return ((y = (d = u.config) == null ? void 0 : d.responsive) == null ? void 0 : y.deviceType) === "desktop";
671
+ var u, p;
672
+ const o = ((u = e == null ? void 0 : e.filter((f) => {
673
+ var v, y;
674
+ return ((y = (v = f.config) == null ? void 0 : v.responsive) == null ? void 0 : y.deviceType) === "mobile";
675
+ })[0]) == null ? void 0 : u.sections) || [], a = ((p = e == null ? void 0 : e.filter((f) => {
676
+ var v, y;
677
+ return ((y = (v = f.config) == null ? void 0 : v.responsive) == null ? void 0 : y.deviceType) === "desktop";
678
678
  })[0]) == null ? void 0 : p.sections) || [], i = o.slice(0, 1), l = o.slice(1, o.length), c = a.slice(0, 1), s = a.slice(1, a.length);
679
- return /* @__PURE__ */ vt(Gr, { children: [
680
- /* @__PURE__ */ vt("div", { className: n, children: [
679
+ return /* @__PURE__ */ st(xr, { children: [
680
+ /* @__PURE__ */ st("div", { className: n, children: [
681
681
  /* @__PURE__ */ L("div", { className: de["responsive-mobile-flex"], children: /* @__PURE__ */ L(r, { data: i ?? [] }) }),
682
682
  /* @__PURE__ */ L("div", { className: de["responsive-desktop-flex"], children: /* @__PURE__ */ L(r, { data: c ?? [] }) })
683
683
  ] }),
684
684
  t,
685
685
  /* @__PURE__ */ L("div", { className: de["responsive-mobile-flex"], children: /* @__PURE__ */ L(r, { data: l ?? [] }) }),
686
686
  /* @__PURE__ */ L("div", { className: de["responsive-desktop-flex"], children: /* @__PURE__ */ L(r, { data: s ?? [] }) }),
687
- /* @__PURE__ */ L(Hr.Divider, {})
687
+ /* @__PURE__ */ L(Lr.Divider, {})
688
688
  ] });
689
689
  };
690
690
  var te = TypeError;
691
- const In = {}, wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
691
+ const Sn = {}, An = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
692
692
  __proto__: null,
693
- default: In
694
- }, Symbol.toStringTag, { value: "Module" })), Tn = /* @__PURE__ */ pn(wn);
695
- var at = typeof Map == "function" && Map.prototype, xe = Object.getOwnPropertyDescriptor && at ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Se = at && xe && typeof xe.get == "function" ? xe.get : null, Et = at && Map.prototype.forEach, it = typeof Set == "function" && Set.prototype, $e = Object.getOwnPropertyDescriptor && it ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ae = it && $e && typeof $e.get == "function" ? $e.get : null, St = it && Set.prototype.forEach, Nn = typeof WeakMap == "function" && WeakMap.prototype, ae = Nn ? WeakMap.prototype.has : null, Cn = typeof WeakSet == "function" && WeakSet.prototype, ie = Cn ? WeakSet.prototype.has : null, Dn = typeof WeakRef == "function" && WeakRef.prototype, At = Dn ? WeakRef.prototype.deref : null, xn = Boolean.prototype.valueOf, $n = Object.prototype.toString, Ln = Function.prototype.toString, Mn = String.prototype.match, lt = String.prototype.slice, B = String.prototype.replace, Fn = String.prototype.toUpperCase, Ot = String.prototype.toLowerCase, Yt = RegExp.prototype.test, Rt = Array.prototype.concat, x = Array.prototype.join, Un = Array.prototype.slice, Pt = Math.floor, Je = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Le = Object.getOwnPropertySymbols, Ze = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Z = typeof Symbol == "function" && typeof Symbol.iterator == "object", le = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Z || !0) ? Symbol.toStringTag : null, Qt = Object.prototype.propertyIsEnumerable, bt = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
693
+ default: Sn
694
+ }, Symbol.toStringTag, { value: "Module" })), Rn = /* @__PURE__ */ an(An);
695
+ var rt = typeof Map == "function" && Map.prototype, Ne = Object.getOwnPropertyDescriptor && rt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ee = rt && Ne && typeof Ne.get == "function" ? Ne.get : null, ht = rt && Map.prototype.forEach, nt = typeof Set == "function" && Set.prototype, Ce = Object.getOwnPropertyDescriptor && nt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Se = nt && Ce && typeof Ce.get == "function" ? Ce.get : null, gt = nt && Set.prototype.forEach, Pn = typeof WeakMap == "function" && WeakMap.prototype, ae = Pn ? WeakMap.prototype.has : null, On = typeof WeakSet == "function" && WeakSet.prototype, ie = On ? WeakSet.prototype.has : null, bn = typeof WeakRef == "function" && WeakRef.prototype, mt = bn ? WeakRef.prototype.deref : null, In = Boolean.prototype.valueOf, wn = Object.prototype.toString, Tn = Function.prototype.toString, Nn = String.prototype.match, ot = String.prototype.slice, B = String.prototype.replace, Cn = String.prototype.toUpperCase, _t = String.prototype.toLowerCase, Vt = RegExp.prototype.test, Et = Array.prototype.concat, $ = Array.prototype.join, Dn = Array.prototype.slice, St = Math.floor, Ke = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, De = Object.getOwnPropertySymbols, Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Z = typeof Symbol == "function" && typeof Symbol.iterator == "object", le = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Z || !0) ? Symbol.toStringTag : null, qt = Object.prototype.propertyIsEnumerable, At = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
696
696
  return t.__proto__;
697
697
  } : null);
698
- function It(t, e) {
699
- if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || Yt.call(/e/, e))
698
+ function Rt(t, e) {
699
+ if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || Vt.call(/e/, e))
700
700
  return e;
701
701
  var r = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
702
702
  if (typeof t == "number") {
703
- var n = t < 0 ? -Pt(-t) : Pt(t);
703
+ var n = t < 0 ? -St(-t) : St(t);
704
704
  if (n !== t) {
705
- var o = String(n), a = lt.call(e, o.length + 1);
705
+ var o = String(n), a = ot.call(e, o.length + 1);
706
706
  return B.call(o, r, "$&_") + "." + B.call(B.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
707
707
  }
708
708
  }
709
709
  return B.call(e, r, "$&_");
710
710
  }
711
- var et = Tn, wt = et.custom, Tt = er(wt) ? wt : null, Jt = {
711
+ var Qe = Rn, Pt = Qe.custom, Ot = Yt(Pt) ? Pt : null, zt = {
712
712
  __proto__: null,
713
713
  double: '"',
714
714
  single: "'"
715
- }, Bn = {
715
+ }, $n = {
716
716
  __proto__: null,
717
717
  double: /(["\\])/g,
718
718
  single: /(['\\])/g
719
- }, be = function t(e, r, n, o) {
719
+ }, Pe = function t(e, r, n, o) {
720
720
  var a = r || {};
721
- if (M(a, "quoteStyle") && !M(Jt, a.quoteStyle))
721
+ if (F(a, "quoteStyle") && !F(zt, a.quoteStyle))
722
722
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
723
- if (M(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
723
+ if (F(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
724
724
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
725
- var i = M(a, "customInspect") ? a.customInspect : !0;
725
+ var i = F(a, "customInspect") ? a.customInspect : !0;
726
726
  if (typeof i != "boolean" && i !== "symbol")
727
727
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
728
- if (M(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
728
+ if (F(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
729
729
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
730
- if (M(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
730
+ if (F(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
731
731
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
732
732
  var l = a.numericSeparator;
733
733
  if (typeof e > "u")
@@ -737,168 +737,168 @@ var et = Tn, wt = et.custom, Tt = er(wt) ? wt : null, Jt = {
737
737
  if (typeof e == "boolean")
738
738
  return e ? "true" : "false";
739
739
  if (typeof e == "string")
740
- return rr(e, a);
740
+ return Jt(e, a);
741
741
  if (typeof e == "number") {
742
742
  if (e === 0)
743
743
  return 1 / 0 / e > 0 ? "0" : "-0";
744
744
  var c = String(e);
745
- return l ? It(e, c) : c;
745
+ return l ? Rt(e, c) : c;
746
746
  }
747
747
  if (typeof e == "bigint") {
748
748
  var s = String(e) + "n";
749
- return l ? It(e, s) : s;
749
+ return l ? Rt(e, s) : s;
750
750
  }
751
- var f = typeof a.depth > "u" ? 5 : a.depth;
752
- if (typeof n > "u" && (n = 0), n >= f && f > 0 && typeof e == "object")
753
- return tt(e) ? "[Array]" : "[Object]";
754
- var p = no(a, n);
751
+ var u = typeof a.depth > "u" ? 5 : a.depth;
752
+ if (typeof n > "u" && (n = 0), n >= u && u > 0 && typeof e == "object")
753
+ return Je(e) ? "[Array]" : "[Object]";
754
+ var p = Qn(a, n);
755
755
  if (typeof o > "u")
756
756
  o = [];
757
- else if (tr(o, e) >= 0)
757
+ else if (Qt(o, e) >= 0)
758
758
  return "[Circular]";
759
- function u(O, N, R) {
760
- if (N && (o = Un.call(o), o.push(N)), R) {
759
+ function f(R, N, P) {
760
+ if (N && (o = Dn.call(o), o.push(N)), P) {
761
761
  var k = {
762
762
  depth: a.depth
763
763
  };
764
- return M(a, "quoteStyle") && (k.quoteStyle = a.quoteStyle), t(O, k, n + 1, o);
764
+ return F(a, "quoteStyle") && (k.quoteStyle = a.quoteStyle), t(R, k, n + 1, o);
765
765
  }
766
- return t(O, a, n + 1, o);
766
+ return t(R, a, n + 1, o);
767
767
  }
768
- if (typeof e == "function" && !Nt(e)) {
769
- var d = zn(e), y = ve(e, u);
770
- return "[Function" + (d ? ": " + d : " (anonymous)") + "]" + (y.length > 0 ? " { " + x.call(y, ", ") + " }" : "");
768
+ if (typeof e == "function" && !bt(e)) {
769
+ var v = kn(e), y = ve(e, f);
770
+ return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + $.call(y, ", ") + " }" : "");
771
771
  }
772
- if (er(e)) {
773
- var _ = Z ? B.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ze.call(e);
772
+ if (Yt(e)) {
773
+ var _ = Z ? B.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ye.call(e);
774
774
  return typeof e == "object" && !Z ? oe(_) : _;
775
775
  }
776
- if (eo(e)) {
777
- for (var A = "<" + Ot.call(String(e.nodeName)), P = e.attributes || [], b = 0; b < P.length; b++)
778
- A += " " + P[b].name + "=" + Zt(Gn(P[b].value), "double", a);
779
- return A += ">", e.childNodes && e.childNodes.length && (A += "..."), A += "</" + Ot.call(String(e.nodeName)) + ">", A;
776
+ if (zn(e)) {
777
+ for (var A = "<" + _t.call(String(e.nodeName)), O = e.attributes || [], b = 0; b < O.length; b++)
778
+ A += " " + O[b].name + "=" + Kt(xn(O[b].value), "double", a);
779
+ return A += ">", e.childNodes && e.childNodes.length && (A += "..."), A += "</" + _t.call(String(e.nodeName)) + ">", A;
780
780
  }
781
- if (tt(e)) {
781
+ if (Je(e)) {
782
782
  if (e.length === 0)
783
783
  return "[]";
784
- var h = ve(e, u);
785
- return p && !ro(h) ? "[" + rt(h, p) + "]" : "[ " + x.call(h, ", ") + " ]";
784
+ var h = ve(e, f);
785
+ return p && !Yn(h) ? "[" + Ze(h, p) + "]" : "[ " + $.call(h, ", ") + " ]";
786
786
  }
787
- if (jn(e)) {
788
- var I = ve(e, u);
789
- return !("cause" in Error.prototype) && "cause" in e && !Qt.call(e, "cause") ? "{ [" + String(e) + "] " + x.call(Rt.call("[cause]: " + u(e.cause), I), ", ") + " }" : I.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + x.call(I, ", ") + " }";
787
+ if (Fn(e)) {
788
+ var I = ve(e, f);
789
+ return !("cause" in Error.prototype) && "cause" in e && !qt.call(e, "cause") ? "{ [" + String(e) + "] " + $.call(Et.call("[cause]: " + f(e.cause), I), ", ") + " }" : I.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + $.call(I, ", ") + " }";
790
790
  }
791
791
  if (typeof e == "object" && i) {
792
- if (Tt && typeof e[Tt] == "function" && et)
793
- return et(e, { depth: f - n });
792
+ if (Ot && typeof e[Ot] == "function" && Qe)
793
+ return Qe(e, { depth: u - n });
794
794
  if (i !== "symbol" && typeof e.inspect == "function")
795
795
  return e.inspect();
796
796
  }
797
- if (Kn(e)) {
797
+ if (Xn(e)) {
798
798
  var w = [];
799
- return Et && Et.call(e, function(O, N) {
800
- w.push(u(N, e, !0) + " => " + u(O, e));
801
- }), Ct("Map", Se.call(e), w, p);
802
- }
803
- if (Jn(e)) {
804
- var j = [];
805
- return St && St.call(e, function(O) {
806
- j.push(u(O, e));
807
- }), Ct("Set", Ae.call(e), j, p);
808
- }
809
- if (Yn(e))
810
- return Me("WeakMap");
811
- if (Zn(e))
812
- return Me("WeakSet");
813
- if (Qn(e))
814
- return Me("WeakRef");
815
- if (Xn(e))
816
- return oe(u(Number(e)));
817
- if (Vn(e))
818
- return oe(u(Je.call(e)));
799
+ return ht && ht.call(e, function(R, N) {
800
+ w.push(f(N, e, !0) + " => " + f(R, e));
801
+ }), It("Map", Ee.call(e), w, p);
802
+ }
803
+ if (Vn(e)) {
804
+ var H = [];
805
+ return gt && gt.call(e, function(R) {
806
+ H.push(f(R, e));
807
+ }), It("Set", Se.call(e), H, p);
808
+ }
819
809
  if (Wn(e))
820
- return oe(xn.call(e));
821
- if (kn(e))
822
- return oe(u(String(e)));
810
+ return $e("WeakMap");
811
+ if (qn(e))
812
+ return $e("WeakSet");
813
+ if (jn(e))
814
+ return $e("WeakRef");
815
+ if (Un(e))
816
+ return oe(f(Number(e)));
817
+ if (Gn(e))
818
+ return oe(f(Ke.call(e)));
819
+ if (Bn(e))
820
+ return oe(In.call(e));
821
+ if (Mn(e))
822
+ return oe(f(String(e)));
823
823
  if (typeof window < "u" && e === window)
824
824
  return "{ [object Window] }";
825
- if (typeof globalThis < "u" && e === globalThis || typeof mt < "u" && e === mt)
825
+ if (typeof globalThis < "u" && e === globalThis || typeof dt < "u" && e === dt)
826
826
  return "{ [object globalThis] }";
827
- if (!Hn(e) && !Nt(e)) {
828
- var F = ve(e, u), q = bt ? bt(e) === Object.prototype : e instanceof Object || e.constructor === Object, $ = e instanceof Object ? "" : "null prototype", T = !q && le && Object(e) === e && le in e ? lt.call(H(e), 8, -1) : $ ? "Object" : "", z = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", U = z + (T || $ ? "[" + x.call(Rt.call([], T || [], $ || []), ": ") + "] " : "");
829
- return F.length === 0 ? U + "{}" : p ? U + "{" + rt(F, p) + "}" : U + "{ " + x.call(F, ", ") + " }";
827
+ if (!Ln(e) && !bt(e)) {
828
+ var M = ve(e, f), q = At ? At(e) === Object.prototype : e instanceof Object || e.constructor === Object, x = e instanceof Object ? "" : "null prototype", T = !q && le && Object(e) === e && le in e ? ot.call(G(e), 8, -1) : x ? "Object" : "", z = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", U = z + (T || x ? "[" + $.call(Et.call([], T || [], x || []), ": ") + "] " : "");
829
+ return M.length === 0 ? U + "{}" : p ? U + "{" + Ze(M, p) + "}" : U + "{ " + $.call(M, ", ") + " }";
830
830
  }
831
831
  return String(e);
832
832
  };
833
- function Zt(t, e, r) {
834
- var n = r.quoteStyle || e, o = Jt[n];
833
+ function Kt(t, e, r) {
834
+ var n = r.quoteStyle || e, o = zt[n];
835
835
  return o + t + o;
836
836
  }
837
- function Gn(t) {
837
+ function xn(t) {
838
838
  return B.call(String(t), /"/g, "&quot;");
839
839
  }
840
840
  function V(t) {
841
841
  return !le || !(typeof t == "object" && (le in t || typeof t[le] < "u"));
842
842
  }
843
- function tt(t) {
844
- return H(t) === "[object Array]" && V(t);
843
+ function Je(t) {
844
+ return G(t) === "[object Array]" && V(t);
845
845
  }
846
- function Hn(t) {
847
- return H(t) === "[object Date]" && V(t);
846
+ function Ln(t) {
847
+ return G(t) === "[object Date]" && V(t);
848
848
  }
849
- function Nt(t) {
850
- return H(t) === "[object RegExp]" && V(t);
849
+ function bt(t) {
850
+ return G(t) === "[object RegExp]" && V(t);
851
851
  }
852
- function jn(t) {
853
- return H(t) === "[object Error]" && V(t);
852
+ function Fn(t) {
853
+ return G(t) === "[object Error]" && V(t);
854
854
  }
855
- function kn(t) {
856
- return H(t) === "[object String]" && V(t);
855
+ function Mn(t) {
856
+ return G(t) === "[object String]" && V(t);
857
857
  }
858
- function Xn(t) {
859
- return H(t) === "[object Number]" && V(t);
858
+ function Un(t) {
859
+ return G(t) === "[object Number]" && V(t);
860
860
  }
861
- function Wn(t) {
862
- return H(t) === "[object Boolean]" && V(t);
861
+ function Bn(t) {
862
+ return G(t) === "[object Boolean]" && V(t);
863
863
  }
864
- function er(t) {
864
+ function Yt(t) {
865
865
  if (Z)
866
866
  return t && typeof t == "object" && t instanceof Symbol;
867
867
  if (typeof t == "symbol")
868
868
  return !0;
869
- if (!t || typeof t != "object" || !Ze)
869
+ if (!t || typeof t != "object" || !Ye)
870
870
  return !1;
871
871
  try {
872
- return Ze.call(t), !0;
872
+ return Ye.call(t), !0;
873
873
  } catch {
874
874
  }
875
875
  return !1;
876
876
  }
877
- function Vn(t) {
878
- if (!t || typeof t != "object" || !Je)
877
+ function Gn(t) {
878
+ if (!t || typeof t != "object" || !Ke)
879
879
  return !1;
880
880
  try {
881
- return Je.call(t), !0;
881
+ return Ke.call(t), !0;
882
882
  } catch {
883
883
  }
884
884
  return !1;
885
885
  }
886
- var qn = Object.prototype.hasOwnProperty || function(t) {
886
+ var Hn = Object.prototype.hasOwnProperty || function(t) {
887
887
  return t in this;
888
888
  };
889
- function M(t, e) {
890
- return qn.call(t, e);
889
+ function F(t, e) {
890
+ return Hn.call(t, e);
891
891
  }
892
- function H(t) {
893
- return $n.call(t);
892
+ function G(t) {
893
+ return wn.call(t);
894
894
  }
895
- function zn(t) {
895
+ function kn(t) {
896
896
  if (t.name)
897
897
  return t.name;
898
- var e = Mn.call(Ln.call(t), /^function\s*([\w$]+)/);
898
+ var e = Nn.call(Tn.call(t), /^function\s*([\w$]+)/);
899
899
  return e ? e[1] : null;
900
900
  }
901
- function tr(t, e) {
901
+ function Qt(t, e) {
902
902
  if (t.indexOf)
903
903
  return t.indexOf(e);
904
904
  for (var r = 0, n = t.length; r < n; r++)
@@ -906,13 +906,13 @@ function tr(t, e) {
906
906
  return r;
907
907
  return -1;
908
908
  }
909
- function Kn(t) {
910
- if (!Se || !t || typeof t != "object")
909
+ function Xn(t) {
910
+ if (!Ee || !t || typeof t != "object")
911
911
  return !1;
912
912
  try {
913
- Se.call(t);
913
+ Ee.call(t);
914
914
  try {
915
- Ae.call(t);
915
+ Se.call(t);
916
916
  } catch {
917
917
  return !0;
918
918
  }
@@ -921,7 +921,7 @@ function Kn(t) {
921
921
  }
922
922
  return !1;
923
923
  }
924
- function Yn(t) {
924
+ function Wn(t) {
925
925
  if (!ae || !t || typeof t != "object")
926
926
  return !1;
927
927
  try {
@@ -936,22 +936,22 @@ function Yn(t) {
936
936
  }
937
937
  return !1;
938
938
  }
939
- function Qn(t) {
940
- if (!At || !t || typeof t != "object")
939
+ function jn(t) {
940
+ if (!mt || !t || typeof t != "object")
941
941
  return !1;
942
942
  try {
943
- return At.call(t), !0;
943
+ return mt.call(t), !0;
944
944
  } catch {
945
945
  }
946
946
  return !1;
947
947
  }
948
- function Jn(t) {
949
- if (!Ae || !t || typeof t != "object")
948
+ function Vn(t) {
949
+ if (!Se || !t || typeof t != "object")
950
950
  return !1;
951
951
  try {
952
- Ae.call(t);
952
+ Se.call(t);
953
953
  try {
954
- Se.call(t);
954
+ Ee.call(t);
955
955
  } catch {
956
956
  return !0;
957
957
  }
@@ -960,7 +960,7 @@ function Jn(t) {
960
960
  }
961
961
  return !1;
962
962
  }
963
- function Zn(t) {
963
+ function qn(t) {
964
964
  if (!ie || !t || typeof t != "object")
965
965
  return !1;
966
966
  try {
@@ -975,20 +975,20 @@ function Zn(t) {
975
975
  }
976
976
  return !1;
977
977
  }
978
- function eo(t) {
978
+ function zn(t) {
979
979
  return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
980
980
  }
981
- function rr(t, e) {
981
+ function Jt(t, e) {
982
982
  if (t.length > e.maxStringLength) {
983
983
  var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
984
- return rr(lt.call(t, 0, e.maxStringLength), e) + n;
984
+ return Jt(ot.call(t, 0, e.maxStringLength), e) + n;
985
985
  }
986
- var o = Bn[e.quoteStyle || "single"];
986
+ var o = $n[e.quoteStyle || "single"];
987
987
  o.lastIndex = 0;
988
- var a = B.call(B.call(t, o, "\\$1"), /[\x00-\x1f]/g, to);
989
- return Zt(a, "single", e);
988
+ var a = B.call(B.call(t, o, "\\$1"), /[\x00-\x1f]/g, Kn);
989
+ return Kt(a, "single", e);
990
990
  }
991
- function to(t) {
991
+ function Kn(t) {
992
992
  var e = t.charCodeAt(0), r = {
993
993
  8: "b",
994
994
  9: "t",
@@ -996,78 +996,78 @@ function to(t) {
996
996
  12: "f",
997
997
  13: "r"
998
998
  }[e];
999
- return r ? "\\" + r : "\\x" + (e < 16 ? "0" : "") + Fn.call(e.toString(16));
999
+ return r ? "\\" + r : "\\x" + (e < 16 ? "0" : "") + Cn.call(e.toString(16));
1000
1000
  }
1001
1001
  function oe(t) {
1002
1002
  return "Object(" + t + ")";
1003
1003
  }
1004
- function Me(t) {
1004
+ function $e(t) {
1005
1005
  return t + " { ? }";
1006
1006
  }
1007
- function Ct(t, e, r, n) {
1008
- var o = n ? rt(r, n) : x.call(r, ", ");
1007
+ function It(t, e, r, n) {
1008
+ var o = n ? Ze(r, n) : $.call(r, ", ");
1009
1009
  return t + " (" + e + ") {" + o + "}";
1010
1010
  }
1011
- function ro(t) {
1011
+ function Yn(t) {
1012
1012
  for (var e = 0; e < t.length; e++)
1013
- if (tr(t[e], `
1013
+ if (Qt(t[e], `
1014
1014
  `) >= 0)
1015
1015
  return !1;
1016
1016
  return !0;
1017
1017
  }
1018
- function no(t, e) {
1018
+ function Qn(t, e) {
1019
1019
  var r;
1020
1020
  if (t.indent === " ")
1021
1021
  r = " ";
1022
1022
  else if (typeof t.indent == "number" && t.indent > 0)
1023
- r = x.call(Array(t.indent + 1), " ");
1023
+ r = $.call(Array(t.indent + 1), " ");
1024
1024
  else
1025
1025
  return null;
1026
1026
  return {
1027
1027
  base: r,
1028
- prev: x.call(Array(e + 1), r)
1028
+ prev: $.call(Array(e + 1), r)
1029
1029
  };
1030
1030
  }
1031
- function rt(t, e) {
1031
+ function Ze(t, e) {
1032
1032
  if (t.length === 0)
1033
1033
  return "";
1034
1034
  var r = `
1035
1035
  ` + e.prev + e.base;
1036
- return r + x.call(t, "," + r) + `
1036
+ return r + $.call(t, "," + r) + `
1037
1037
  ` + e.prev;
1038
1038
  }
1039
1039
  function ve(t, e) {
1040
- var r = tt(t), n = [];
1040
+ var r = Je(t), n = [];
1041
1041
  if (r) {
1042
1042
  n.length = t.length;
1043
1043
  for (var o = 0; o < t.length; o++)
1044
- n[o] = M(t, o) ? e(t[o], t) : "";
1044
+ n[o] = F(t, o) ? e(t[o], t) : "";
1045
1045
  }
1046
- var a = typeof Le == "function" ? Le(t) : [], i;
1046
+ var a = typeof De == "function" ? De(t) : [], i;
1047
1047
  if (Z) {
1048
1048
  i = {};
1049
1049
  for (var l = 0; l < a.length; l++)
1050
1050
  i["$" + a[l]] = a[l];
1051
1051
  }
1052
1052
  for (var c in t)
1053
- M(t, c) && (r && String(Number(c)) === c && c < t.length || Z && i["$" + c] instanceof Symbol || (Yt.call(/[^\w$]/, c) ? n.push(e(c, t) + ": " + e(t[c], t)) : n.push(c + ": " + e(t[c], t))));
1054
- if (typeof Le == "function")
1053
+ F(t, c) && (r && String(Number(c)) === c && c < t.length || Z && i["$" + c] instanceof Symbol || (Vt.call(/[^\w$]/, c) ? n.push(e(c, t) + ": " + e(t[c], t)) : n.push(c + ": " + e(t[c], t))));
1054
+ if (typeof De == "function")
1055
1055
  for (var s = 0; s < a.length; s++)
1056
- Qt.call(t, a[s]) && n.push("[" + e(a[s]) + "]: " + e(t[a[s]], t));
1056
+ qt.call(t, a[s]) && n.push("[" + e(a[s]) + "]: " + e(t[a[s]], t));
1057
1057
  return n;
1058
1058
  }
1059
- var oo = be, ao = te, Ie = function(t, e, r) {
1059
+ var Jn = Pe, Zn = te, Oe = function(t, e, r) {
1060
1060
  for (var n = t, o; (o = n.next) != null; n = o)
1061
1061
  if (o.key === e)
1062
1062
  return n.next = o.next, r || (o.next = /** @type {NonNullable<typeof list.next>} */
1063
1063
  t.next, t.next = o), o;
1064
- }, io = function(t, e) {
1064
+ }, eo = function(t, e) {
1065
1065
  if (t) {
1066
- var r = Ie(t, e);
1066
+ var r = Oe(t, e);
1067
1067
  return r && r.value;
1068
1068
  }
1069
- }, lo = function(t, e, r) {
1070
- var n = Ie(t, e);
1069
+ }, to = function(t, e, r) {
1070
+ var n = Oe(t, e);
1071
1071
  n ? n.value = r : t.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
1072
1072
  {
1073
1073
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -1075,31 +1075,31 @@ var oo = be, ao = te, Ie = function(t, e, r) {
1075
1075
  next: t.next,
1076
1076
  value: r
1077
1077
  };
1078
- }, co = function(t, e) {
1079
- return t ? !!Ie(t, e) : !1;
1080
- }, fo = function(t, e) {
1078
+ }, ro = function(t, e) {
1079
+ return t ? !!Oe(t, e) : !1;
1080
+ }, no = function(t, e) {
1081
1081
  if (t)
1082
- return Ie(t, e, !0);
1083
- }, uo = function() {
1082
+ return Oe(t, e, !0);
1083
+ }, oo = function() {
1084
1084
  var e, r = {
1085
1085
  assert: function(n) {
1086
1086
  if (!r.has(n))
1087
- throw new ao("Side channel does not contain " + oo(n));
1087
+ throw new Zn("Side channel does not contain " + Jn(n));
1088
1088
  },
1089
1089
  delete: function(n) {
1090
- var o = e && e.next, a = fo(e, n);
1090
+ var o = e && e.next, a = no(e, n);
1091
1091
  return a && o && o === a && (e = void 0), !!a;
1092
1092
  },
1093
1093
  get: function(n) {
1094
- return io(e, n);
1094
+ return eo(e, n);
1095
1095
  },
1096
1096
  has: function(n) {
1097
- return co(e, n);
1097
+ return ro(e, n);
1098
1098
  },
1099
1099
  set: function(n, o) {
1100
1100
  e || (e = {
1101
1101
  next: void 0
1102
- }), lo(
1102
+ }), to(
1103
1103
  /** @type {NonNullable<typeof $o>} */
1104
1104
  e,
1105
1105
  n,
@@ -1108,27 +1108,27 @@ var oo = be, ao = te, Ie = function(t, e, r) {
1108
1108
  }
1109
1109
  };
1110
1110
  return r;
1111
- }, nr = Object, so = Error, po = EvalError, yo = RangeError, vo = ReferenceError, ho = SyntaxError, go = URIError, mo = Math.abs, _o = Math.floor, Eo = Math.max, So = Math.min, Ao = Math.pow, Oo = Math.round, Ro = Number.isNaN || function(e) {
1111
+ }, Zt = Object, ao = Error, io = EvalError, lo = RangeError, co = ReferenceError, uo = SyntaxError, fo = URIError, so = Math.abs, po = Math.floor, yo = Math.max, vo = Math.min, ho = Math.pow, go = Math.round, mo = Number.isNaN || function(e) {
1112
1112
  return e !== e;
1113
- }, Po = Ro, bo = function(e) {
1114
- return Po(e) || e === 0 ? e : e < 0 ? -1 : 1;
1115
- }, Io = Object.getOwnPropertyDescriptor, ge = Io;
1113
+ }, _o = mo, Eo = function(e) {
1114
+ return _o(e) || e === 0 ? e : e < 0 ? -1 : 1;
1115
+ }, So = Object.getOwnPropertyDescriptor, ge = So;
1116
1116
  if (ge)
1117
1117
  try {
1118
1118
  ge([], "length");
1119
1119
  } catch {
1120
1120
  ge = null;
1121
1121
  }
1122
- var or = ge, me = Object.defineProperty || !1;
1122
+ var er = ge, me = Object.defineProperty || !1;
1123
1123
  if (me)
1124
1124
  try {
1125
1125
  me({}, "a", { value: 1 });
1126
1126
  } catch {
1127
1127
  me = !1;
1128
1128
  }
1129
- var wo = me, Fe, Dt;
1130
- function To() {
1131
- return Dt || (Dt = 1, Fe = function() {
1129
+ var Ao = me, xe, wt;
1130
+ function Ro() {
1131
+ return wt || (wt = 1, xe = function() {
1132
1132
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
1133
1133
  return !1;
1134
1134
  if (typeof Symbol.iterator == "symbol")
@@ -1154,79 +1154,79 @@ function To() {
1154
1154
  return !1;
1155
1155
  }
1156
1156
  return !0;
1157
- }), Fe;
1157
+ }), xe;
1158
1158
  }
1159
- var Ue, xt;
1160
- function No() {
1161
- if (xt) return Ue;
1162
- xt = 1;
1163
- var t = typeof Symbol < "u" && Symbol, e = To();
1164
- return Ue = function() {
1159
+ var Le, Tt;
1160
+ function Po() {
1161
+ if (Tt) return Le;
1162
+ Tt = 1;
1163
+ var t = typeof Symbol < "u" && Symbol, e = Ro();
1164
+ return Le = function() {
1165
1165
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
1166
- }, Ue;
1166
+ }, Le;
1167
1167
  }
1168
- var Be, $t;
1169
- function ar() {
1170
- return $t || ($t = 1, Be = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Be;
1168
+ var Fe, Nt;
1169
+ function tr() {
1170
+ return Nt || (Nt = 1, Fe = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Fe;
1171
1171
  }
1172
- var Ge, Lt;
1173
- function ir() {
1174
- if (Lt) return Ge;
1175
- Lt = 1;
1176
- var t = nr;
1177
- return Ge = t.getPrototypeOf || null, Ge;
1172
+ var Me, Ct;
1173
+ function rr() {
1174
+ if (Ct) return Me;
1175
+ Ct = 1;
1176
+ var t = Zt;
1177
+ return Me = t.getPrototypeOf || null, Me;
1178
1178
  }
1179
- var Co = "Function.prototype.bind called on incompatible ", Do = Object.prototype.toString, xo = Math.max, $o = "[object Function]", Mt = function(e, r) {
1179
+ var Oo = "Function.prototype.bind called on incompatible ", bo = Object.prototype.toString, Io = Math.max, wo = "[object Function]", Dt = function(e, r) {
1180
1180
  for (var n = [], o = 0; o < e.length; o += 1)
1181
1181
  n[o] = e[o];
1182
1182
  for (var a = 0; a < r.length; a += 1)
1183
1183
  n[a + e.length] = r[a];
1184
1184
  return n;
1185
- }, Lo = function(e, r) {
1185
+ }, To = function(e, r) {
1186
1186
  for (var n = [], o = r, a = 0; o < e.length; o += 1, a += 1)
1187
1187
  n[a] = e[o];
1188
1188
  return n;
1189
- }, Mo = function(t, e) {
1189
+ }, No = function(t, e) {
1190
1190
  for (var r = "", n = 0; n < t.length; n += 1)
1191
1191
  r += t[n], n + 1 < t.length && (r += e);
1192
1192
  return r;
1193
- }, Fo = function(e) {
1193
+ }, Co = function(e) {
1194
1194
  var r = this;
1195
- if (typeof r != "function" || Do.apply(r) !== $o)
1196
- throw new TypeError(Co + r);
1197
- for (var n = Lo(arguments, 1), o, a = function() {
1195
+ if (typeof r != "function" || bo.apply(r) !== wo)
1196
+ throw new TypeError(Oo + r);
1197
+ for (var n = To(arguments, 1), o, a = function() {
1198
1198
  if (this instanceof o) {
1199
- var f = r.apply(
1199
+ var u = r.apply(
1200
1200
  this,
1201
- Mt(n, arguments)
1201
+ Dt(n, arguments)
1202
1202
  );
1203
- return Object(f) === f ? f : this;
1203
+ return Object(u) === u ? u : this;
1204
1204
  }
1205
1205
  return r.apply(
1206
1206
  e,
1207
- Mt(n, arguments)
1207
+ Dt(n, arguments)
1208
1208
  );
1209
- }, i = xo(0, r.length - n.length), l = [], c = 0; c < i; c++)
1209
+ }, i = Io(0, r.length - n.length), l = [], c = 0; c < i; c++)
1210
1210
  l[c] = "$" + c;
1211
- if (o = Function("binder", "return function (" + Mo(l, ",") + "){ return binder.apply(this,arguments); }")(a), r.prototype) {
1211
+ if (o = Function("binder", "return function (" + No(l, ",") + "){ return binder.apply(this,arguments); }")(a), r.prototype) {
1212
1212
  var s = function() {
1213
1213
  };
1214
1214
  s.prototype = r.prototype, o.prototype = new s(), s.prototype = null;
1215
1215
  }
1216
1216
  return o;
1217
- }, Uo = Fo, we = Function.prototype.bind || Uo, ct = Function.prototype.call, He, Ft;
1218
- function lr() {
1219
- return Ft || (Ft = 1, He = Function.prototype.apply), He;
1217
+ }, Do = Co, be = Function.prototype.bind || Do, at = Function.prototype.call, Ue, $t;
1218
+ function nr() {
1219
+ return $t || ($t = 1, Ue = Function.prototype.apply), Ue;
1220
1220
  }
1221
- var Bo = typeof Reflect < "u" && Reflect && Reflect.apply, Go = we, Ho = lr(), jo = ct, ko = Bo, Xo = ko || Go.call(jo, Ho), Wo = we, Vo = te, qo = ct, zo = Xo, cr = function(e) {
1221
+ var $o = typeof Reflect < "u" && Reflect && Reflect.apply, xo = be, Lo = nr(), Fo = at, Mo = $o, Uo = Mo || xo.call(Fo, Lo), Bo = be, Go = te, Ho = at, ko = Uo, or = function(e) {
1222
1222
  if (e.length < 1 || typeof e[0] != "function")
1223
- throw new Vo("a function is required");
1224
- return zo(Wo, qo, e);
1225
- }, je, Ut;
1226
- function Ko() {
1227
- if (Ut) return je;
1228
- Ut = 1;
1229
- var t = cr, e = or, r;
1223
+ throw new Go("a function is required");
1224
+ return ko(Bo, Ho, e);
1225
+ }, Be, xt;
1226
+ function Xo() {
1227
+ if (xt) return Be;
1228
+ xt = 1;
1229
+ var t = or, e = er, r;
1230
1230
  try {
1231
1231
  r = /** @type {{ __proto__?: typeof Array.prototype }} */
1232
1232
  [].__proto__ === Array.prototype;
@@ -1239,19 +1239,19 @@ function Ko() {
1239
1239
  /** @type {keyof typeof Object.prototype} */
1240
1240
  "__proto__"
1241
1241
  ), o = Object, a = o.getPrototypeOf;
1242
- return je = n && typeof n.get == "function" ? t([n.get]) : typeof a == "function" ? (
1242
+ return Be = n && typeof n.get == "function" ? t([n.get]) : typeof a == "function" ? (
1243
1243
  /** @type {import('./get')} */
1244
1244
  function(l) {
1245
1245
  return a(l == null ? l : o(l));
1246
1246
  }
1247
- ) : !1, je;
1247
+ ) : !1, Be;
1248
1248
  }
1249
- var ke, Bt;
1250
- function Yo() {
1251
- if (Bt) return ke;
1252
- Bt = 1;
1253
- var t = ar(), e = ir(), r = Ko();
1254
- return ke = t ? function(o) {
1249
+ var Ge, Lt;
1250
+ function Wo() {
1251
+ if (Lt) return Ge;
1252
+ Lt = 1;
1253
+ var t = tr(), e = rr(), r = Xo();
1254
+ return Ge = t ? function(o) {
1255
1255
  return t(o);
1256
1256
  } : e ? function(o) {
1257
1257
  if (!o || typeof o != "object" && typeof o != "function")
@@ -1259,131 +1259,131 @@ function Yo() {
1259
1259
  return e(o);
1260
1260
  } : r ? function(o) {
1261
1261
  return r(o);
1262
- } : null, ke;
1262
+ } : null, Ge;
1263
1263
  }
1264
- var Xe, Gt;
1265
- function Qo() {
1266
- if (Gt) return Xe;
1267
- Gt = 1;
1268
- var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = we;
1269
- return Xe = r.call(t, e), Xe;
1264
+ var He, Ft;
1265
+ function jo() {
1266
+ if (Ft) return He;
1267
+ Ft = 1;
1268
+ var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = be;
1269
+ return He = r.call(t, e), He;
1270
1270
  }
1271
- var v, Jo = nr, Zo = so, ea = po, ta = yo, ra = vo, ee = ho, J = te, na = go, oa = mo, aa = _o, ia = Eo, la = So, ca = Ao, fa = Oo, ua = bo, fr = Function, We = function(t) {
1271
+ var d, Vo = Zt, qo = ao, zo = io, Ko = lo, Yo = co, ee = uo, J = te, Qo = fo, Jo = so, Zo = po, ea = yo, ta = vo, ra = ho, na = go, oa = Eo, ar = Function, ke = function(t) {
1272
1272
  try {
1273
- return fr('"use strict"; return (' + t + ").constructor;")();
1273
+ return ar('"use strict"; return (' + t + ").constructor;")();
1274
1274
  } catch {
1275
1275
  }
1276
- }, fe = or, sa = wo, Ve = function() {
1276
+ }, ue = er, aa = Ao, Xe = function() {
1277
1277
  throw new J();
1278
- }, pa = fe ? function() {
1278
+ }, ia = ue ? function() {
1279
1279
  try {
1280
- return arguments.callee, Ve;
1280
+ return arguments.callee, Xe;
1281
1281
  } catch {
1282
1282
  try {
1283
- return fe(arguments, "callee").get;
1283
+ return ue(arguments, "callee").get;
1284
1284
  } catch {
1285
- return Ve;
1285
+ return Xe;
1286
1286
  }
1287
1287
  }
1288
- }() : Ve, K = No()(), S = Yo(), ya = ir(), da = ar(), ur = lr(), ue = ct, Q = {}, va = typeof Uint8Array > "u" || !S ? v : S(Uint8Array), W = {
1288
+ }() : Xe, K = Po()(), S = Wo(), la = rr(), ca = tr(), ir = nr(), fe = at, Q = {}, ua = typeof Uint8Array > "u" || !S ? d : S(Uint8Array), W = {
1289
1289
  __proto__: null,
1290
- "%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
1290
+ "%AggregateError%": typeof AggregateError > "u" ? d : AggregateError,
1291
1291
  "%Array%": Array,
1292
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? v : ArrayBuffer,
1293
- "%ArrayIteratorPrototype%": K && S ? S([][Symbol.iterator]()) : v,
1294
- "%AsyncFromSyncIteratorPrototype%": v,
1292
+ "%ArrayBuffer%": typeof ArrayBuffer > "u" ? d : ArrayBuffer,
1293
+ "%ArrayIteratorPrototype%": K && S ? S([][Symbol.iterator]()) : d,
1294
+ "%AsyncFromSyncIteratorPrototype%": d,
1295
1295
  "%AsyncFunction%": Q,
1296
1296
  "%AsyncGenerator%": Q,
1297
1297
  "%AsyncGeneratorFunction%": Q,
1298
1298
  "%AsyncIteratorPrototype%": Q,
1299
- "%Atomics%": typeof Atomics > "u" ? v : Atomics,
1300
- "%BigInt%": typeof BigInt > "u" ? v : BigInt,
1301
- "%BigInt64Array%": typeof BigInt64Array > "u" ? v : BigInt64Array,
1302
- "%BigUint64Array%": typeof BigUint64Array > "u" ? v : BigUint64Array,
1299
+ "%Atomics%": typeof Atomics > "u" ? d : Atomics,
1300
+ "%BigInt%": typeof BigInt > "u" ? d : BigInt,
1301
+ "%BigInt64Array%": typeof BigInt64Array > "u" ? d : BigInt64Array,
1302
+ "%BigUint64Array%": typeof BigUint64Array > "u" ? d : BigUint64Array,
1303
1303
  "%Boolean%": Boolean,
1304
- "%DataView%": typeof DataView > "u" ? v : DataView,
1304
+ "%DataView%": typeof DataView > "u" ? d : DataView,
1305
1305
  "%Date%": Date,
1306
1306
  "%decodeURI%": decodeURI,
1307
1307
  "%decodeURIComponent%": decodeURIComponent,
1308
1308
  "%encodeURI%": encodeURI,
1309
1309
  "%encodeURIComponent%": encodeURIComponent,
1310
- "%Error%": Zo,
1310
+ "%Error%": qo,
1311
1311
  "%eval%": eval,
1312
1312
  // eslint-disable-line no-eval
1313
- "%EvalError%": ea,
1314
- "%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
1315
- "%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
1316
- "%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
1317
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
1318
- "%Function%": fr,
1313
+ "%EvalError%": zo,
1314
+ "%Float16Array%": typeof Float16Array > "u" ? d : Float16Array,
1315
+ "%Float32Array%": typeof Float32Array > "u" ? d : Float32Array,
1316
+ "%Float64Array%": typeof Float64Array > "u" ? d : Float64Array,
1317
+ "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? d : FinalizationRegistry,
1318
+ "%Function%": ar,
1319
1319
  "%GeneratorFunction%": Q,
1320
- "%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
1321
- "%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
1322
- "%Int32Array%": typeof Int32Array > "u" ? v : Int32Array,
1320
+ "%Int8Array%": typeof Int8Array > "u" ? d : Int8Array,
1321
+ "%Int16Array%": typeof Int16Array > "u" ? d : Int16Array,
1322
+ "%Int32Array%": typeof Int32Array > "u" ? d : Int32Array,
1323
1323
  "%isFinite%": isFinite,
1324
1324
  "%isNaN%": isNaN,
1325
- "%IteratorPrototype%": K && S ? S(S([][Symbol.iterator]())) : v,
1326
- "%JSON%": typeof JSON == "object" ? JSON : v,
1327
- "%Map%": typeof Map > "u" ? v : Map,
1328
- "%MapIteratorPrototype%": typeof Map > "u" || !K || !S ? v : S((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1325
+ "%IteratorPrototype%": K && S ? S(S([][Symbol.iterator]())) : d,
1326
+ "%JSON%": typeof JSON == "object" ? JSON : d,
1327
+ "%Map%": typeof Map > "u" ? d : Map,
1328
+ "%MapIteratorPrototype%": typeof Map > "u" || !K || !S ? d : S((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1329
1329
  "%Math%": Math,
1330
1330
  "%Number%": Number,
1331
- "%Object%": Jo,
1332
- "%Object.getOwnPropertyDescriptor%": fe,
1331
+ "%Object%": Vo,
1332
+ "%Object.getOwnPropertyDescriptor%": ue,
1333
1333
  "%parseFloat%": parseFloat,
1334
1334
  "%parseInt%": parseInt,
1335
- "%Promise%": typeof Promise > "u" ? v : Promise,
1336
- "%Proxy%": typeof Proxy > "u" ? v : Proxy,
1337
- "%RangeError%": ta,
1338
- "%ReferenceError%": ra,
1339
- "%Reflect%": typeof Reflect > "u" ? v : Reflect,
1335
+ "%Promise%": typeof Promise > "u" ? d : Promise,
1336
+ "%Proxy%": typeof Proxy > "u" ? d : Proxy,
1337
+ "%RangeError%": Ko,
1338
+ "%ReferenceError%": Yo,
1339
+ "%Reflect%": typeof Reflect > "u" ? d : Reflect,
1340
1340
  "%RegExp%": RegExp,
1341
- "%Set%": typeof Set > "u" ? v : Set,
1342
- "%SetIteratorPrototype%": typeof Set > "u" || !K || !S ? v : S((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1343
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? v : SharedArrayBuffer,
1341
+ "%Set%": typeof Set > "u" ? d : Set,
1342
+ "%SetIteratorPrototype%": typeof Set > "u" || !K || !S ? d : S((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1343
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? d : SharedArrayBuffer,
1344
1344
  "%String%": String,
1345
- "%StringIteratorPrototype%": K && S ? S(""[Symbol.iterator]()) : v,
1346
- "%Symbol%": K ? Symbol : v,
1345
+ "%StringIteratorPrototype%": K && S ? S(""[Symbol.iterator]()) : d,
1346
+ "%Symbol%": K ? Symbol : d,
1347
1347
  "%SyntaxError%": ee,
1348
- "%ThrowTypeError%": pa,
1349
- "%TypedArray%": va,
1348
+ "%ThrowTypeError%": ia,
1349
+ "%TypedArray%": ua,
1350
1350
  "%TypeError%": J,
1351
- "%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
1352
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
1353
- "%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
1354
- "%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
1355
- "%URIError%": na,
1356
- "%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
1357
- "%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
1358
- "%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
1359
- "%Function.prototype.call%": ue,
1360
- "%Function.prototype.apply%": ur,
1361
- "%Object.defineProperty%": sa,
1362
- "%Object.getPrototypeOf%": ya,
1363
- "%Math.abs%": oa,
1364
- "%Math.floor%": aa,
1365
- "%Math.max%": ia,
1366
- "%Math.min%": la,
1367
- "%Math.pow%": ca,
1368
- "%Math.round%": fa,
1369
- "%Math.sign%": ua,
1370
- "%Reflect.getPrototypeOf%": da
1351
+ "%Uint8Array%": typeof Uint8Array > "u" ? d : Uint8Array,
1352
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? d : Uint8ClampedArray,
1353
+ "%Uint16Array%": typeof Uint16Array > "u" ? d : Uint16Array,
1354
+ "%Uint32Array%": typeof Uint32Array > "u" ? d : Uint32Array,
1355
+ "%URIError%": Qo,
1356
+ "%WeakMap%": typeof WeakMap > "u" ? d : WeakMap,
1357
+ "%WeakRef%": typeof WeakRef > "u" ? d : WeakRef,
1358
+ "%WeakSet%": typeof WeakSet > "u" ? d : WeakSet,
1359
+ "%Function.prototype.call%": fe,
1360
+ "%Function.prototype.apply%": ir,
1361
+ "%Object.defineProperty%": aa,
1362
+ "%Object.getPrototypeOf%": la,
1363
+ "%Math.abs%": Jo,
1364
+ "%Math.floor%": Zo,
1365
+ "%Math.max%": ea,
1366
+ "%Math.min%": ta,
1367
+ "%Math.pow%": ra,
1368
+ "%Math.round%": na,
1369
+ "%Math.sign%": oa,
1370
+ "%Reflect.getPrototypeOf%": ca
1371
1371
  };
1372
1372
  if (S)
1373
1373
  try {
1374
1374
  null.error;
1375
1375
  } catch (t) {
1376
- var ha = S(S(t));
1377
- W["%Error.prototype%"] = ha;
1376
+ var fa = S(S(t));
1377
+ W["%Error.prototype%"] = fa;
1378
1378
  }
1379
- var ga = function t(e) {
1379
+ var sa = function t(e) {
1380
1380
  var r;
1381
1381
  if (e === "%AsyncFunction%")
1382
- r = We("async function () {}");
1382
+ r = ke("async function () {}");
1383
1383
  else if (e === "%GeneratorFunction%")
1384
- r = We("function* () {}");
1384
+ r = ke("function* () {}");
1385
1385
  else if (e === "%AsyncGeneratorFunction%")
1386
- r = We("async function* () {}");
1386
+ r = ke("async function* () {}");
1387
1387
  else if (e === "%AsyncGenerator%") {
1388
1388
  var n = t("%AsyncGeneratorFunction%");
1389
1389
  n && (r = n.prototype);
@@ -1392,7 +1392,7 @@ var ga = function t(e) {
1392
1392
  o && S && (r = S(o.prototype));
1393
1393
  }
1394
1394
  return W[e] = r, r;
1395
- }, Ht = {
1395
+ }, Mt = {
1396
1396
  __proto__: null,
1397
1397
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1398
1398
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -1445,21 +1445,21 @@ var ga = function t(e) {
1445
1445
  "%URIErrorPrototype%": ["URIError", "prototype"],
1446
1446
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1447
1447
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1448
- }, se = we, Oe = Qo(), ma = se.call(ue, Array.prototype.concat), _a = se.call(ur, Array.prototype.splice), jt = se.call(ue, String.prototype.replace), Re = se.call(ue, String.prototype.slice), Ea = se.call(ue, RegExp.prototype.exec), Sa = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Aa = /\\(\\)?/g, Oa = function(e) {
1448
+ }, se = be, Ae = jo(), pa = se.call(fe, Array.prototype.concat), ya = se.call(ir, Array.prototype.splice), Ut = se.call(fe, String.prototype.replace), Re = se.call(fe, String.prototype.slice), da = se.call(fe, RegExp.prototype.exec), va = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ha = /\\(\\)?/g, ga = function(e) {
1449
1449
  var r = Re(e, 0, 1), n = Re(e, -1);
1450
1450
  if (r === "%" && n !== "%")
1451
1451
  throw new ee("invalid intrinsic syntax, expected closing `%`");
1452
1452
  if (n === "%" && r !== "%")
1453
1453
  throw new ee("invalid intrinsic syntax, expected opening `%`");
1454
1454
  var o = [];
1455
- return jt(e, Sa, function(a, i, l, c) {
1456
- o[o.length] = l ? jt(c, Aa, "$1") : i || a;
1455
+ return Ut(e, va, function(a, i, l, c) {
1456
+ o[o.length] = l ? Ut(c, ha, "$1") : i || a;
1457
1457
  }), o;
1458
- }, Ra = function(e, r) {
1458
+ }, ma = function(e, r) {
1459
1459
  var n = e, o;
1460
- if (Oe(Ht, n) && (o = Ht[n], n = "%" + o[0] + "%"), Oe(W, n)) {
1460
+ if (Ae(Mt, n) && (o = Mt[n], n = "%" + o[0] + "%"), Ae(W, n)) {
1461
1461
  var a = W[n];
1462
- if (a === Q && (a = ga(n)), typeof a > "u" && !r)
1462
+ if (a === Q && (a = sa(n)), typeof a > "u" && !r)
1463
1463
  throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
1464
1464
  return {
1465
1465
  alias: o,
@@ -1468,104 +1468,104 @@ var ga = function t(e) {
1468
1468
  };
1469
1469
  }
1470
1470
  throw new ee("intrinsic " + e + " does not exist!");
1471
- }, ft = function(e, r) {
1471
+ }, it = function(e, r) {
1472
1472
  if (typeof e != "string" || e.length === 0)
1473
1473
  throw new J("intrinsic name must be a non-empty string");
1474
1474
  if (arguments.length > 1 && typeof r != "boolean")
1475
1475
  throw new J('"allowMissing" argument must be a boolean');
1476
- if (Ea(/^%?[^%]*%?$/, e) === null)
1476
+ if (da(/^%?[^%]*%?$/, e) === null)
1477
1477
  throw new ee("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1478
- var n = Oa(e), o = n.length > 0 ? n[0] : "", a = Ra("%" + o + "%", r), i = a.name, l = a.value, c = !1, s = a.alias;
1479
- s && (o = s[0], _a(n, ma([0, 1], s)));
1480
- for (var f = 1, p = !0; f < n.length; f += 1) {
1481
- var u = n[f], d = Re(u, 0, 1), y = Re(u, -1);
1482
- if ((d === '"' || d === "'" || d === "`" || y === '"' || y === "'" || y === "`") && d !== y)
1478
+ var n = ga(e), o = n.length > 0 ? n[0] : "", a = ma("%" + o + "%", r), i = a.name, l = a.value, c = !1, s = a.alias;
1479
+ s && (o = s[0], ya(n, pa([0, 1], s)));
1480
+ for (var u = 1, p = !0; u < n.length; u += 1) {
1481
+ var f = n[u], v = Re(f, 0, 1), y = Re(f, -1);
1482
+ if ((v === '"' || v === "'" || v === "`" || y === '"' || y === "'" || y === "`") && v !== y)
1483
1483
  throw new ee("property names with quotes must have matching quotes");
1484
- if ((u === "constructor" || !p) && (c = !0), o += "." + u, i = "%" + o + "%", Oe(W, i))
1484
+ if ((f === "constructor" || !p) && (c = !0), o += "." + f, i = "%" + o + "%", Ae(W, i))
1485
1485
  l = W[i];
1486
1486
  else if (l != null) {
1487
- if (!(u in l)) {
1487
+ if (!(f in l)) {
1488
1488
  if (!r)
1489
1489
  throw new J("base intrinsic for " + e + " exists, but the property is not available.");
1490
1490
  return;
1491
1491
  }
1492
- if (fe && f + 1 >= n.length) {
1493
- var _ = fe(l, u);
1494
- p = !!_, p && "get" in _ && !("originalValue" in _.get) ? l = _.get : l = l[u];
1492
+ if (ue && u + 1 >= n.length) {
1493
+ var _ = ue(l, f);
1494
+ p = !!_, p && "get" in _ && !("originalValue" in _.get) ? l = _.get : l = l[f];
1495
1495
  } else
1496
- p = Oe(l, u), l = l[u];
1496
+ p = Ae(l, f), l = l[f];
1497
1497
  p && !c && (W[i] = l);
1498
1498
  }
1499
1499
  }
1500
1500
  return l;
1501
- }, sr = ft, pr = cr, Pa = pr([sr("%String.prototype.indexOf%")]), yr = function(e, r) {
1501
+ }, lr = it, cr = or, _a = cr([lr("%String.prototype.indexOf%")]), ur = function(e, r) {
1502
1502
  var n = (
1503
1503
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1504
- sr(e, !!r)
1504
+ lr(e, !!r)
1505
1505
  );
1506
- return typeof n == "function" && Pa(e, ".prototype.") > -1 ? pr(
1506
+ return typeof n == "function" && _a(e, ".prototype.") > -1 ? cr(
1507
1507
  /** @type {const} */
1508
1508
  [n]
1509
1509
  ) : n;
1510
- }, ba = ft, pe = yr, Ia = be, wa = te, kt = ba("%Map%", !0), Ta = pe("Map.prototype.get", !0), Na = pe("Map.prototype.set", !0), Ca = pe("Map.prototype.has", !0), Da = pe("Map.prototype.delete", !0), xa = pe("Map.prototype.size", !0), dr = !!kt && /** @type {Exclude<import('.'), false>} */
1510
+ }, Ea = it, pe = ur, Sa = Pe, Aa = te, Bt = Ea("%Map%", !0), Ra = pe("Map.prototype.get", !0), Pa = pe("Map.prototype.set", !0), Oa = pe("Map.prototype.has", !0), ba = pe("Map.prototype.delete", !0), Ia = pe("Map.prototype.size", !0), fr = !!Bt && /** @type {Exclude<import('.'), false>} */
1511
1511
  function() {
1512
1512
  var e, r = {
1513
1513
  assert: function(n) {
1514
1514
  if (!r.has(n))
1515
- throw new wa("Side channel does not contain " + Ia(n));
1515
+ throw new Aa("Side channel does not contain " + Sa(n));
1516
1516
  },
1517
1517
  delete: function(n) {
1518
1518
  if (e) {
1519
- var o = Da(e, n);
1520
- return xa(e) === 0 && (e = void 0), o;
1519
+ var o = ba(e, n);
1520
+ return Ia(e) === 0 && (e = void 0), o;
1521
1521
  }
1522
1522
  return !1;
1523
1523
  },
1524
1524
  get: function(n) {
1525
1525
  if (e)
1526
- return Ta(e, n);
1526
+ return Ra(e, n);
1527
1527
  },
1528
1528
  has: function(n) {
1529
- return e ? Ca(e, n) : !1;
1529
+ return e ? Oa(e, n) : !1;
1530
1530
  },
1531
1531
  set: function(n, o) {
1532
- e || (e = new kt()), Na(e, n, o);
1532
+ e || (e = new Bt()), Pa(e, n, o);
1533
1533
  }
1534
1534
  };
1535
1535
  return r;
1536
- }, $a = ft, Te = yr, La = be, he = dr, Ma = te, Y = $a("%WeakMap%", !0), Fa = Te("WeakMap.prototype.get", !0), Ua = Te("WeakMap.prototype.set", !0), Ba = Te("WeakMap.prototype.has", !0), Ga = Te("WeakMap.prototype.delete", !0), Ha = Y ? (
1536
+ }, wa = it, Ie = ur, Ta = Pe, he = fr, Na = te, Y = wa("%WeakMap%", !0), Ca = Ie("WeakMap.prototype.get", !0), Da = Ie("WeakMap.prototype.set", !0), $a = Ie("WeakMap.prototype.has", !0), xa = Ie("WeakMap.prototype.delete", !0), La = Y ? (
1537
1537
  /** @type {Exclude<import('.'), false>} */
1538
1538
  function() {
1539
1539
  var e, r, n = {
1540
1540
  assert: function(o) {
1541
1541
  if (!n.has(o))
1542
- throw new Ma("Side channel does not contain " + La(o));
1542
+ throw new Na("Side channel does not contain " + Ta(o));
1543
1543
  },
1544
1544
  delete: function(o) {
1545
1545
  if (Y && o && (typeof o == "object" || typeof o == "function")) {
1546
1546
  if (e)
1547
- return Ga(e, o);
1547
+ return xa(e, o);
1548
1548
  } else if (he && r)
1549
1549
  return r.delete(o);
1550
1550
  return !1;
1551
1551
  },
1552
1552
  get: function(o) {
1553
- return Y && o && (typeof o == "object" || typeof o == "function") && e ? Fa(e, o) : r && r.get(o);
1553
+ return Y && o && (typeof o == "object" || typeof o == "function") && e ? Ca(e, o) : r && r.get(o);
1554
1554
  },
1555
1555
  has: function(o) {
1556
- return Y && o && (typeof o == "object" || typeof o == "function") && e ? Ba(e, o) : !!r && r.has(o);
1556
+ return Y && o && (typeof o == "object" || typeof o == "function") && e ? $a(e, o) : !!r && r.has(o);
1557
1557
  },
1558
1558
  set: function(o, a) {
1559
- Y && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new Y()), Ua(e, o, a)) : he && (r || (r = he()), r.set(o, a));
1559
+ Y && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new Y()), Da(e, o, a)) : he && (r || (r = he()), r.set(o, a));
1560
1560
  }
1561
1561
  };
1562
1562
  return n;
1563
1563
  }
1564
- ) : he, ja = te, ka = be, Xa = uo, Wa = dr, Va = Ha, qa = Va || Wa || Xa, vr = function() {
1564
+ ) : he, Fa = te, Ma = Pe, Ua = oo, Ba = fr, Ga = La, Ha = Ga || Ba || Ua, ka = function() {
1565
1565
  var e, r = {
1566
1566
  assert: function(n) {
1567
1567
  if (!r.has(n))
1568
- throw new ja("Side channel does not contain " + ka(n));
1568
+ throw new Fa("Side channel does not contain " + Ma(n));
1569
1569
  },
1570
1570
  delete: function(n) {
1571
1571
  return !!e && e.delete(n);
@@ -1577,38 +1577,30 @@ function() {
1577
1577
  return !!e && e.has(n);
1578
1578
  },
1579
1579
  set: function(n, o) {
1580
- e || (e = qa()), e.set(n, o);
1580
+ e || (e = Ha()), e.set(n, o);
1581
1581
  }
1582
1582
  };
1583
1583
  return r;
1584
- }, za = String.prototype.replace, Ka = /%20/g, qe = {
1584
+ }, Xa = String.prototype.replace, Wa = /%20/g, We = {
1585
1585
  RFC1738: "RFC1738",
1586
1586
  RFC3986: "RFC3986"
1587
- }, ut = {
1588
- default: qe.RFC3986,
1587
+ }, lt = {
1588
+ default: We.RFC3986,
1589
1589
  formatters: {
1590
1590
  RFC1738: function(t) {
1591
- return za.call(t, Ka, "+");
1591
+ return Xa.call(t, Wa, "+");
1592
1592
  },
1593
1593
  RFC3986: function(t) {
1594
1594
  return String(t);
1595
1595
  }
1596
1596
  },
1597
- RFC1738: qe.RFC1738,
1598
- RFC3986: qe.RFC3986
1599
- }, Ya = ut, Qa = vr, ze = Object.prototype.hasOwnProperty, X = Array.isArray, Ne = Qa(), hr = function(e, r) {
1600
- return Ne.set(e, r), e;
1601
- }, Pe = function(e) {
1602
- return Ne.has(e);
1603
- }, nt = function(e) {
1604
- return Ne.get(e);
1605
- }, gr = function(e, r) {
1606
- Ne.set(e, r);
1607
- }, C = function() {
1597
+ RFC1738: We.RFC1738,
1598
+ RFC3986: We.RFC3986
1599
+ }, ja = lt, je = Object.prototype.hasOwnProperty, X = Array.isArray, C = function() {
1608
1600
  for (var t = [], e = 0; e < 256; ++e)
1609
1601
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1610
1602
  return t;
1611
- }(), Ja = function(e) {
1603
+ }(), Va = function(e) {
1612
1604
  for (; e.length > 1; ) {
1613
1605
  var r = e.pop(), n = r.obj[r.prop];
1614
1606
  if (X(n)) {
@@ -1617,51 +1609,40 @@ function() {
1617
1609
  r.obj[r.prop] = o;
1618
1610
  }
1619
1611
  }
1620
- }, st = function(e, r) {
1612
+ }, sr = function(e, r) {
1621
1613
  for (var n = r && r.plainObjects ? { __proto__: null } : {}, o = 0; o < e.length; ++o)
1622
1614
  typeof e[o] < "u" && (n[o] = e[o]);
1623
1615
  return n;
1624
- }, Za = function t(e, r, n) {
1616
+ }, qa = function t(e, r, n) {
1625
1617
  if (!r)
1626
1618
  return e;
1627
1619
  if (typeof r != "object" && typeof r != "function") {
1628
1620
  if (X(e))
1629
1621
  e.push(r);
1630
1622
  else if (e && typeof e == "object")
1631
- if (Pe(e)) {
1632
- var o = nt(e) + 1;
1633
- e[o] = r, gr(e, o);
1634
- } else (n && (n.plainObjects || n.allowPrototypes) || !ze.call(Object.prototype, r)) && (e[r] = !0);
1623
+ (n && (n.plainObjects || n.allowPrototypes) || !je.call(Object.prototype, r)) && (e[r] = !0);
1635
1624
  else
1636
1625
  return [e, r];
1637
1626
  return e;
1638
1627
  }
1639
- if (!e || typeof e != "object") {
1640
- if (Pe(r)) {
1641
- for (var a = Object.keys(r), i = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, l = 0; l < a.length; l++) {
1642
- var c = parseInt(a[l], 10);
1643
- i[c + 1] = r[a[l]];
1644
- }
1645
- return hr(i, nt(r) + 1);
1646
- }
1628
+ if (!e || typeof e != "object")
1647
1629
  return [e].concat(r);
1648
- }
1649
- var s = e;
1650
- return X(e) && !X(r) && (s = st(e, n)), X(e) && X(r) ? (r.forEach(function(f, p) {
1651
- if (ze.call(e, p)) {
1652
- var u = e[p];
1653
- u && typeof u == "object" && f && typeof f == "object" ? e[p] = t(u, f, n) : e.push(f);
1630
+ var o = e;
1631
+ return X(e) && !X(r) && (o = sr(e, n)), X(e) && X(r) ? (r.forEach(function(a, i) {
1632
+ if (je.call(e, i)) {
1633
+ var l = e[i];
1634
+ l && typeof l == "object" && a && typeof a == "object" ? e[i] = t(l, a, n) : e.push(a);
1654
1635
  } else
1655
- e[p] = f;
1656
- }), e) : Object.keys(r).reduce(function(f, p) {
1657
- var u = r[p];
1658
- return ze.call(f, p) ? f[p] = t(f[p], u, n) : f[p] = u, f;
1659
- }, s);
1660
- }, ei = function(e, r) {
1636
+ e[i] = a;
1637
+ }), e) : Object.keys(r).reduce(function(a, i) {
1638
+ var l = r[i];
1639
+ return je.call(a, i) ? a[i] = t(a[i], l, n) : a[i] = l, a;
1640
+ }, o);
1641
+ }, za = function(e, r) {
1661
1642
  return Object.keys(r).reduce(function(n, o) {
1662
1643
  return n[o] = r[o], n;
1663
1644
  }, e);
1664
- }, ti = function(t, e, r) {
1645
+ }, Ka = function(t, e, r) {
1665
1646
  var n = t.replace(/\+/g, " ");
1666
1647
  if (r === "iso-8859-1")
1667
1648
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -1670,76 +1651,70 @@ function() {
1670
1651
  } catch {
1671
1652
  return n;
1672
1653
  }
1673
- }, Ke = 1024, ri = function(e, r, n, o, a) {
1654
+ }, Ve = 1024, Ya = function(e, r, n, o, a) {
1674
1655
  if (e.length === 0)
1675
1656
  return e;
1676
1657
  var i = e;
1677
1658
  if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), n === "iso-8859-1")
1678
- return escape(i).replace(/%u[0-9a-f]{4}/gi, function(d) {
1679
- return "%26%23" + parseInt(d.slice(2), 16) + "%3B";
1659
+ return escape(i).replace(/%u[0-9a-f]{4}/gi, function(v) {
1660
+ return "%26%23" + parseInt(v.slice(2), 16) + "%3B";
1680
1661
  });
1681
- for (var l = "", c = 0; c < i.length; c += Ke) {
1682
- for (var s = i.length >= Ke ? i.slice(c, c + Ke) : i, f = [], p = 0; p < s.length; ++p) {
1683
- var u = s.charCodeAt(p);
1684
- if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || a === Ya.RFC1738 && (u === 40 || u === 41)) {
1685
- f[f.length] = s.charAt(p);
1662
+ for (var l = "", c = 0; c < i.length; c += Ve) {
1663
+ for (var s = i.length >= Ve ? i.slice(c, c + Ve) : i, u = [], p = 0; p < s.length; ++p) {
1664
+ var f = s.charCodeAt(p);
1665
+ if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || a === ja.RFC1738 && (f === 40 || f === 41)) {
1666
+ u[u.length] = s.charAt(p);
1686
1667
  continue;
1687
1668
  }
1688
- if (u < 128) {
1689
- f[f.length] = C[u];
1669
+ if (f < 128) {
1670
+ u[u.length] = C[f];
1690
1671
  continue;
1691
1672
  }
1692
- if (u < 2048) {
1693
- f[f.length] = C[192 | u >> 6] + C[128 | u & 63];
1673
+ if (f < 2048) {
1674
+ u[u.length] = C[192 | f >> 6] + C[128 | f & 63];
1694
1675
  continue;
1695
1676
  }
1696
- if (u < 55296 || u >= 57344) {
1697
- f[f.length] = C[224 | u >> 12] + C[128 | u >> 6 & 63] + C[128 | u & 63];
1677
+ if (f < 55296 || f >= 57344) {
1678
+ u[u.length] = C[224 | f >> 12] + C[128 | f >> 6 & 63] + C[128 | f & 63];
1698
1679
  continue;
1699
1680
  }
1700
- p += 1, u = 65536 + ((u & 1023) << 10 | s.charCodeAt(p) & 1023), f[f.length] = C[240 | u >> 18] + C[128 | u >> 12 & 63] + C[128 | u >> 6 & 63] + C[128 | u & 63];
1681
+ p += 1, f = 65536 + ((f & 1023) << 10 | s.charCodeAt(p) & 1023), u[u.length] = C[240 | f >> 18] + C[128 | f >> 12 & 63] + C[128 | f >> 6 & 63] + C[128 | f & 63];
1701
1682
  }
1702
- l += f.join("");
1683
+ l += u.join("");
1703
1684
  }
1704
1685
  return l;
1705
- }, ni = function(e) {
1686
+ }, Qa = function(e) {
1706
1687
  for (var r = [{ obj: { o: e }, prop: "o" }], n = [], o = 0; o < r.length; ++o)
1707
1688
  for (var a = r[o], i = a.obj[a.prop], l = Object.keys(i), c = 0; c < l.length; ++c) {
1708
- var s = l[c], f = i[s];
1709
- typeof f == "object" && f !== null && n.indexOf(f) === -1 && (r.push({ obj: i, prop: s }), n.push(f));
1689
+ var s = l[c], u = i[s];
1690
+ typeof u == "object" && u !== null && n.indexOf(u) === -1 && (r.push({ obj: i, prop: s }), n.push(u));
1710
1691
  }
1711
- return Ja(r), e;
1712
- }, oi = function(e) {
1692
+ return Va(r), e;
1693
+ }, Ja = function(e) {
1713
1694
  return Object.prototype.toString.call(e) === "[object RegExp]";
1714
- }, ai = function(e) {
1695
+ }, Za = function(e) {
1715
1696
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1716
- }, ii = function(e, r, n, o) {
1717
- if (Pe(e)) {
1718
- var a = nt(e) + 1;
1719
- return e[a] = r, gr(e, a), e;
1720
- }
1721
- var i = [].concat(e, r);
1722
- return i.length > n ? hr(st(i, { plainObjects: o }), i.length - 1) : i;
1723
- }, li = function(e, r) {
1697
+ }, ei = function(e, r) {
1698
+ return [].concat(e, r);
1699
+ }, ti = function(e, r) {
1724
1700
  if (X(e)) {
1725
1701
  for (var n = [], o = 0; o < e.length; o += 1)
1726
1702
  n.push(r(e[o]));
1727
1703
  return n;
1728
1704
  }
1729
1705
  return r(e);
1730
- }, mr = {
1731
- arrayToObject: st,
1732
- assign: ei,
1733
- combine: ii,
1734
- compact: ni,
1735
- decode: ti,
1736
- encode: ri,
1737
- isBuffer: ai,
1738
- isOverflow: Pe,
1739
- isRegExp: oi,
1740
- maybeMap: li,
1741
- merge: Za
1742
- }, _r = vr, _e = mr, ce = ut, ci = Object.prototype.hasOwnProperty, Er = {
1706
+ }, pr = {
1707
+ arrayToObject: sr,
1708
+ assign: za,
1709
+ combine: ei,
1710
+ compact: Qa,
1711
+ decode: Ka,
1712
+ encode: Ya,
1713
+ isBuffer: Za,
1714
+ isRegExp: Ja,
1715
+ maybeMap: ti,
1716
+ merge: qa
1717
+ }, yr = ka, _e = pr, ce = lt, ri = Object.prototype.hasOwnProperty, dr = {
1743
1718
  brackets: function(e) {
1744
1719
  return e + "[]";
1745
1720
  },
@@ -1750,9 +1725,9 @@ function() {
1750
1725
  repeat: function(e) {
1751
1726
  return e;
1752
1727
  }
1753
- }, D = Array.isArray, fi = Array.prototype.push, Sr = function(t, e) {
1754
- fi.apply(t, D(e) ? e : [e]);
1755
- }, ui = Date.prototype.toISOString, Xt = ce.default, m = {
1728
+ }, D = Array.isArray, ni = Array.prototype.push, vr = function(t, e) {
1729
+ ni.apply(t, D(e) ? e : [e]);
1730
+ }, oi = Date.prototype.toISOString, Gt = ce.default, m = {
1756
1731
  addQueryPrefix: !1,
1757
1732
  allowDots: !1,
1758
1733
  allowEmptyArrays: !1,
@@ -1766,65 +1741,65 @@ function() {
1766
1741
  encoder: _e.encode,
1767
1742
  encodeValuesOnly: !1,
1768
1743
  filter: void 0,
1769
- format: Xt,
1770
- formatter: ce.formatters[Xt],
1744
+ format: Gt,
1745
+ formatter: ce.formatters[Gt],
1771
1746
  // deprecated
1772
1747
  indices: !1,
1773
1748
  serializeDate: function(e) {
1774
- return ui.call(e);
1749
+ return oi.call(e);
1775
1750
  },
1776
1751
  skipNulls: !1,
1777
1752
  strictNullHandling: !1
1778
- }, si = function(e) {
1753
+ }, ai = function(e) {
1779
1754
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1780
- }, Ye = {}, pi = function t(e, r, n, o, a, i, l, c, s, f, p, u, d, y, _, A, P, b) {
1781
- for (var h = e, I = b, w = 0, j = !1; (I = I.get(Ye)) !== void 0 && !j; ) {
1782
- var F = I.get(e);
1783
- if (w += 1, typeof F < "u") {
1784
- if (F === w)
1755
+ }, qe = {}, ii = function t(e, r, n, o, a, i, l, c, s, u, p, f, v, y, _, A, O, b) {
1756
+ for (var h = e, I = b, w = 0, H = !1; (I = I.get(qe)) !== void 0 && !H; ) {
1757
+ var M = I.get(e);
1758
+ if (w += 1, typeof M < "u") {
1759
+ if (M === w)
1785
1760
  throw new RangeError("Cyclic object value");
1786
- j = !0;
1761
+ H = !0;
1787
1762
  }
1788
- typeof I.get(Ye) > "u" && (w = 0);
1763
+ typeof I.get(qe) > "u" && (w = 0);
1789
1764
  }
1790
- if (typeof f == "function" ? h = f(r, h) : h instanceof Date ? h = d(h) : n === "comma" && D(h) && (h = _e.maybeMap(h, function(ne) {
1791
- return ne instanceof Date ? d(ne) : ne;
1765
+ if (typeof u == "function" ? h = u(r, h) : h instanceof Date ? h = v(h) : n === "comma" && D(h) && (h = _e.maybeMap(h, function(ne) {
1766
+ return ne instanceof Date ? v(ne) : ne;
1792
1767
  })), h === null) {
1793
1768
  if (i)
1794
- return s && !A ? s(r, m.encoder, P, "key", y) : r;
1769
+ return s && !A ? s(r, m.encoder, O, "key", y) : r;
1795
1770
  h = "";
1796
1771
  }
1797
- if (si(h) || _e.isBuffer(h)) {
1772
+ if (ai(h) || _e.isBuffer(h)) {
1798
1773
  if (s) {
1799
- var q = A ? r : s(r, m.encoder, P, "key", y);
1800
- return [_(q) + "=" + _(s(h, m.encoder, P, "value", y))];
1774
+ var q = A ? r : s(r, m.encoder, O, "key", y);
1775
+ return [_(q) + "=" + _(s(h, m.encoder, O, "value", y))];
1801
1776
  }
1802
1777
  return [_(r) + "=" + _(String(h))];
1803
1778
  }
1804
- var $ = [];
1779
+ var x = [];
1805
1780
  if (typeof h > "u")
1806
- return $;
1781
+ return x;
1807
1782
  var T;
1808
1783
  if (n === "comma" && D(h))
1809
1784
  A && s && (h = _e.maybeMap(h, s)), T = [{ value: h.length > 0 ? h.join(",") || null : void 0 }];
1810
- else if (D(f))
1811
- T = f;
1785
+ else if (D(u))
1786
+ T = u;
1812
1787
  else {
1813
1788
  var z = Object.keys(h);
1814
1789
  T = p ? z.sort(p) : z;
1815
1790
  }
1816
- var U = c ? String(r).replace(/\./g, "%2E") : String(r), O = o && D(h) && h.length === 1 ? U + "[]" : U;
1791
+ var U = c ? String(r).replace(/\./g, "%2E") : String(r), R = o && D(h) && h.length === 1 ? U + "[]" : U;
1817
1792
  if (a && D(h) && h.length === 0)
1818
- return O + "[]";
1793
+ return R + "[]";
1819
1794
  for (var N = 0; N < T.length; ++N) {
1820
- var R = T[N], k = typeof R == "object" && R && typeof R.value < "u" ? R.value : h[R];
1795
+ var P = T[N], k = typeof P == "object" && P && typeof P.value < "u" ? P.value : h[P];
1821
1796
  if (!(l && k === null)) {
1822
- var re = u && c ? String(R).replace(/\./g, "%2E") : String(R), De = D(h) ? typeof n == "function" ? n(O, re) : O : O + (u ? "." + re : "[" + re + "]");
1797
+ var re = f && c ? String(P).replace(/\./g, "%2E") : String(P), Te = D(h) ? typeof n == "function" ? n(R, re) : R : R + (f ? "." + re : "[" + re + "]");
1823
1798
  b.set(e, w);
1824
- var ye = _r();
1825
- ye.set(Ye, b), Sr($, t(
1799
+ var ye = yr();
1800
+ ye.set(qe, b), vr(x, t(
1826
1801
  k,
1827
- De,
1802
+ Te,
1828
1803
  n,
1829
1804
  o,
1830
1805
  a,
@@ -1832,20 +1807,20 @@ function() {
1832
1807
  l,
1833
1808
  c,
1834
1809
  n === "comma" && A && D(h) ? null : s,
1835
- f,
1836
- p,
1837
1810
  u,
1838
- d,
1811
+ p,
1812
+ f,
1813
+ v,
1839
1814
  y,
1840
1815
  _,
1841
1816
  A,
1842
- P,
1817
+ O,
1843
1818
  ye
1844
1819
  ));
1845
1820
  }
1846
1821
  }
1847
- return $;
1848
- }, yi = function(e) {
1822
+ return x;
1823
+ }, li = function(e) {
1849
1824
  if (!e)
1850
1825
  return m;
1851
1826
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -1859,14 +1834,14 @@ function() {
1859
1834
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1860
1835
  var n = ce.default;
1861
1836
  if (typeof e.format < "u") {
1862
- if (!ci.call(ce.formatters, e.format))
1837
+ if (!ri.call(ce.formatters, e.format))
1863
1838
  throw new TypeError("Unknown format option provided.");
1864
1839
  n = e.format;
1865
1840
  }
1866
1841
  var o = ce.formatters[n], a = m.filter;
1867
1842
  (typeof e.filter == "function" || D(e.filter)) && (a = e.filter);
1868
1843
  var i;
1869
- if (e.arrayFormat in Er ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = m.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1844
+ if (e.arrayFormat in dr ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = m.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1870
1845
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1871
1846
  var l = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
1872
1847
  return {
@@ -1890,18 +1865,18 @@ function() {
1890
1865
  sort: typeof e.sort == "function" ? e.sort : null,
1891
1866
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling
1892
1867
  };
1893
- }, di = function(t, e) {
1894
- var r = t, n = yi(e), o, a;
1868
+ }, ci = function(t, e) {
1869
+ var r = t, n = li(e), o, a;
1895
1870
  typeof n.filter == "function" ? (a = n.filter, r = a("", r)) : D(n.filter) && (a = n.filter, o = a);
1896
1871
  var i = [];
1897
1872
  if (typeof r != "object" || r === null)
1898
1873
  return "";
1899
- var l = Er[n.arrayFormat], c = l === "comma" && n.commaRoundTrip;
1874
+ var l = dr[n.arrayFormat], c = l === "comma" && n.commaRoundTrip;
1900
1875
  o || (o = Object.keys(r)), n.sort && o.sort(n.sort);
1901
- for (var s = _r(), f = 0; f < o.length; ++f) {
1902
- var p = o[f], u = r[p];
1903
- n.skipNulls && u === null || Sr(i, pi(
1904
- u,
1876
+ for (var s = yr(), u = 0; u < o.length; ++u) {
1877
+ var p = o[u], f = r[p];
1878
+ n.skipNulls && f === null || vr(i, ii(
1879
+ f,
1905
1880
  p,
1906
1881
  l,
1907
1882
  c,
@@ -1921,9 +1896,9 @@ function() {
1921
1896
  s
1922
1897
  ));
1923
1898
  }
1924
- var d = i.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
1925
- return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), d.length > 0 ? y + d : "";
1926
- }, G = mr, Ee = Object.prototype.hasOwnProperty, Wt = Array.isArray, g = {
1899
+ var v = i.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
1900
+ return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), v.length > 0 ? y + v : "";
1901
+ }, j = pr, et = Object.prototype.hasOwnProperty, Ht = Array.isArray, g = {
1927
1902
  allowDots: !1,
1928
1903
  allowEmptyArrays: !1,
1929
1904
  allowPrototypes: !1,
@@ -1933,7 +1908,7 @@ function() {
1933
1908
  charsetSentinel: !1,
1934
1909
  comma: !1,
1935
1910
  decodeDotInKeys: !1,
1936
- decoder: G.decode,
1911
+ decoder: j.decode,
1937
1912
  delimiter: "&",
1938
1913
  depth: 5,
1939
1914
  duplicates: "combine",
@@ -1945,17 +1920,17 @@ function() {
1945
1920
  strictDepth: !1,
1946
1921
  strictNullHandling: !1,
1947
1922
  throwOnLimitExceeded: !1
1948
- }, vi = function(t) {
1923
+ }, ui = function(t) {
1949
1924
  return t.replace(/&#(\d+);/g, function(e, r) {
1950
1925
  return String.fromCharCode(parseInt(r, 10));
1951
1926
  });
1952
- }, Ar = function(t, e, r) {
1927
+ }, hr = function(t, e, r) {
1953
1928
  if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
1954
1929
  return t.split(",");
1955
1930
  if (e.throwOnLimitExceeded && r >= e.arrayLimit)
1956
1931
  throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1957
1932
  return t;
1958
- }, hi = "utf8=%26%2310003%3B", gi = "utf8=%E2%9C%93", mi = function(e, r) {
1933
+ }, fi = "utf8=%26%2310003%3B", si = "utf8=%E2%9C%93", pi = function(e, r) {
1959
1934
  var n = { __proto__: null }, o = r.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1960
1935
  o = o.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1961
1936
  var a = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, i = o.split(
@@ -1967,83 +1942,63 @@ function() {
1967
1942
  var l = -1, c, s = r.charset;
1968
1943
  if (r.charsetSentinel)
1969
1944
  for (c = 0; c < i.length; ++c)
1970
- i[c].indexOf("utf8=") === 0 && (i[c] === gi ? s = "utf-8" : i[c] === hi && (s = "iso-8859-1"), l = c, c = i.length);
1945
+ i[c].indexOf("utf8=") === 0 && (i[c] === si ? s = "utf-8" : i[c] === fi && (s = "iso-8859-1"), l = c, c = i.length);
1971
1946
  for (c = 0; c < i.length; ++c)
1972
1947
  if (c !== l) {
1973
- var f = i[c], p = f.indexOf("]="), u = p === -1 ? f.indexOf("=") : p + 1, d, y;
1974
- if (u === -1 ? (d = r.decoder(f, g.decoder, s, "key"), y = r.strictNullHandling ? null : "") : (d = r.decoder(f.slice(0, u), g.decoder, s, "key"), d !== null && (y = G.maybeMap(
1975
- Ar(
1976
- f.slice(u + 1),
1948
+ var u = i[c], p = u.indexOf("]="), f = p === -1 ? u.indexOf("=") : p + 1, v, y;
1949
+ f === -1 ? (v = r.decoder(u, g.decoder, s, "key"), y = r.strictNullHandling ? null : "") : (v = r.decoder(u.slice(0, f), g.decoder, s, "key"), y = j.maybeMap(
1950
+ hr(
1951
+ u.slice(f + 1),
1977
1952
  r,
1978
- Wt(n[d]) ? n[d].length : 0
1953
+ Ht(n[v]) ? n[v].length : 0
1979
1954
  ),
1980
1955
  function(A) {
1981
1956
  return r.decoder(A, g.decoder, s, "value");
1982
1957
  }
1983
- ))), y && r.interpretNumericEntities && s === "iso-8859-1" && (y = vi(String(y))), f.indexOf("[]=") > -1 && (y = Wt(y) ? [y] : y), d !== null) {
1984
- var _ = Ee.call(n, d);
1985
- _ && r.duplicates === "combine" ? n[d] = G.combine(
1986
- n[d],
1987
- y,
1988
- r.arrayLimit,
1989
- r.plainObjects
1990
- ) : (!_ || r.duplicates === "last") && (n[d] = y);
1991
- }
1958
+ )), y && r.interpretNumericEntities && s === "iso-8859-1" && (y = ui(String(y))), u.indexOf("[]=") > -1 && (y = Ht(y) ? [y] : y);
1959
+ var _ = et.call(n, v);
1960
+ _ && r.duplicates === "combine" ? n[v] = j.combine(n[v], y) : (!_ || r.duplicates === "last") && (n[v] = y);
1992
1961
  }
1993
1962
  return n;
1994
- }, _i = function(t, e, r, n) {
1963
+ }, yi = function(t, e, r, n) {
1995
1964
  var o = 0;
1996
1965
  if (t.length > 0 && t[t.length - 1] === "[]") {
1997
1966
  var a = t.slice(0, -1).join("");
1998
1967
  o = Array.isArray(e) && e[a] ? e[a].length : 0;
1999
1968
  }
2000
- for (var i = n ? e : Ar(e, r, o), l = t.length - 1; l >= 0; --l) {
1969
+ for (var i = n ? e : hr(e, r, o), l = t.length - 1; l >= 0; --l) {
2001
1970
  var c, s = t[l];
2002
1971
  if (s === "[]" && r.parseArrays)
2003
- G.isOverflow(i) ? c = i : c = r.allowEmptyArrays && (i === "" || r.strictNullHandling && i === null) ? [] : G.combine(
2004
- [],
2005
- i,
2006
- r.arrayLimit,
2007
- r.plainObjects
2008
- );
1972
+ c = r.allowEmptyArrays && (i === "" || r.strictNullHandling && i === null) ? [] : j.combine([], i);
2009
1973
  else {
2010
1974
  c = r.plainObjects ? { __proto__: null } : {};
2011
- var f = s.charAt(0) === "[" && s.charAt(s.length - 1) === "]" ? s.slice(1, -1) : s, p = r.decodeDotInKeys ? f.replace(/%2E/g, ".") : f, u = parseInt(p, 10);
2012
- !r.parseArrays && p === "" ? c = { 0: i } : !isNaN(u) && s !== p && String(u) === p && u >= 0 && r.parseArrays && u <= r.arrayLimit ? (c = [], c[u] = i) : p !== "__proto__" && (c[p] = i);
1975
+ var u = s.charAt(0) === "[" && s.charAt(s.length - 1) === "]" ? s.slice(1, -1) : s, p = r.decodeDotInKeys ? u.replace(/%2E/g, ".") : u, f = parseInt(p, 10);
1976
+ !r.parseArrays && p === "" ? c = { 0: i } : !isNaN(f) && s !== p && String(f) === p && f >= 0 && r.parseArrays && f <= r.arrayLimit ? (c = [], c[f] = i) : p !== "__proto__" && (c[p] = i);
2013
1977
  }
2014
1978
  i = c;
2015
1979
  }
2016
1980
  return i;
2017
- }, Ei = function(e, r) {
2018
- var n = r.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e;
2019
- if (r.depth <= 0)
2020
- return !r.plainObjects && Ee.call(Object.prototype, n) && !r.allowPrototypes ? void 0 : [n];
2021
- var o = /(\[[^[\]]*])/, a = /(\[[^[\]]*])/g, i = o.exec(n), l = i ? n.slice(0, i.index) : n, c = [];
2022
- if (l) {
2023
- if (!r.plainObjects && Ee.call(Object.prototype, l) && !r.allowPrototypes)
2024
- return;
2025
- c.push(l);
2026
- }
2027
- for (var s = 0; (i = a.exec(n)) !== null && s < r.depth; ) {
2028
- s += 1;
2029
- var f = i[1].slice(1, -1);
2030
- if (!r.plainObjects && Ee.call(Object.prototype, f) && !r.allowPrototypes)
2031
- return;
2032
- c.push(i[1]);
2033
- }
2034
- if (i) {
2035
- if (r.strictDepth === !0)
2036
- throw new RangeError("Input depth exceeded depth option of " + r.depth + " and strictDepth is true");
2037
- c.push("[" + n.slice(i.index) + "]");
2038
- }
2039
- return c;
2040
- }, Si = function(e, r, n, o) {
1981
+ }, di = function(e, r, n, o) {
2041
1982
  if (e) {
2042
- var a = Ei(e, n);
2043
- if (a)
2044
- return _i(a, r, n, o);
1983
+ var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, i = /(\[[^[\]]*])/, l = /(\[[^[\]]*])/g, c = n.depth > 0 && i.exec(a), s = c ? a.slice(0, c.index) : a, u = [];
1984
+ if (s) {
1985
+ if (!n.plainObjects && et.call(Object.prototype, s) && !n.allowPrototypes)
1986
+ return;
1987
+ u.push(s);
1988
+ }
1989
+ for (var p = 0; n.depth > 0 && (c = l.exec(a)) !== null && p < n.depth; ) {
1990
+ if (p += 1, !n.plainObjects && et.call(Object.prototype, c[1].slice(1, -1)) && !n.allowPrototypes)
1991
+ return;
1992
+ u.push(c[1]);
1993
+ }
1994
+ if (c) {
1995
+ if (n.strictDepth === !0)
1996
+ throw new RangeError("Input depth exceeded depth option of " + n.depth + " and strictDepth is true");
1997
+ u.push("[" + a.slice(c.index) + "]");
1998
+ }
1999
+ return yi(u, r, n, o);
2045
2000
  }
2046
- }, Ai = function(e) {
2001
+ }, vi = function(e) {
2047
2002
  if (!e)
2048
2003
  return g;
2049
2004
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -2071,7 +2026,7 @@ function() {
2071
2026
  comma: typeof e.comma == "boolean" ? e.comma : g.comma,
2072
2027
  decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : g.decodeDotInKeys,
2073
2028
  decoder: typeof e.decoder == "function" ? e.decoder : g.decoder,
2074
- delimiter: typeof e.delimiter == "string" || G.isRegExp(e.delimiter) ? e.delimiter : g.delimiter,
2029
+ delimiter: typeof e.delimiter == "string" || j.isRegExp(e.delimiter) ? e.delimiter : g.delimiter,
2075
2030
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
2076
2031
  depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : g.depth,
2077
2032
  duplicates: n,
@@ -2084,24 +2039,24 @@ function() {
2084
2039
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : g.strictNullHandling,
2085
2040
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
2086
2041
  };
2087
- }, Oi = function(t, e) {
2088
- var r = Ai(e);
2042
+ }, hi = function(t, e) {
2043
+ var r = vi(e);
2089
2044
  if (t === "" || t === null || typeof t > "u")
2090
2045
  return r.plainObjects ? { __proto__: null } : {};
2091
- for (var n = typeof t == "string" ? mi(t, r) : t, o = r.plainObjects ? { __proto__: null } : {}, a = Object.keys(n), i = 0; i < a.length; ++i) {
2092
- var l = a[i], c = Si(l, n[l], r, typeof t == "string");
2093
- o = G.merge(o, c, r);
2094
- }
2095
- return r.allowSparse === !0 ? o : G.compact(o);
2096
- }, Ri = di, Pi = Oi, bi = ut, Ii = {
2097
- formats: bi,
2098
- parse: Pi,
2099
- stringify: Ri
2046
+ for (var n = typeof t == "string" ? pi(t, r) : t, o = r.plainObjects ? { __proto__: null } : {}, a = Object.keys(n), i = 0; i < a.length; ++i) {
2047
+ var l = a[i], c = di(l, n[l], r, typeof t == "string");
2048
+ o = j.merge(o, c, r);
2049
+ }
2050
+ return r.allowSparse === !0 ? o : j.compact(o);
2051
+ }, gi = ci, mi = hi, _i = lt, Ei = {
2052
+ formats: _i,
2053
+ parse: mi,
2054
+ stringify: gi
2100
2055
  };
2101
- const wi = /* @__PURE__ */ sn(Ii);
2102
- async function Ce(t, e = {}, r) {
2056
+ const Si = /* @__PURE__ */ on(Ei);
2057
+ async function we(t, e = {}, r) {
2103
2058
  const { cms: n = "cms" } = e;
2104
- return fetch(`${t.href}?${wi.stringify(e)}`, {
2059
+ return fetch(`${t.href}?${Si.stringify(e)}`, {
2105
2060
  method: "GET",
2106
2061
  cache: r ? "no-store" : "default",
2107
2062
  headers: {
@@ -2112,34 +2067,34 @@ async function Ce(t, e = {}, r) {
2112
2067
  }
2113
2068
  });
2114
2069
  }
2115
- function pt(t, e) {
2070
+ function ct(t, e) {
2116
2071
  return !(e != null && e.cms) || (e == null ? void 0 : e.cms) === "vtex" ? `https://${e == null ? void 0 : e.storeId}.myvtex.com/_v/cms/api/${e == null ? void 0 : e.name}/${t}` : String(
2117
2072
  new URL(`api/${t}`, process.env.NEXT_PUBLIC_API_URL)
2118
2073
  );
2119
2074
  }
2120
- function Or(t) {
2075
+ function gr(t) {
2121
2076
  return Array.isArray(t) && t.length > 0 ? t[0] : Array.isArray(t) ? null : t;
2122
2077
  }
2123
- async function Rr(t, e = [], r = {}) {
2078
+ async function mr(t, e = [], r = {}) {
2124
2079
  var n;
2125
2080
  if ((r == null ? void 0 : r.contentType) === t) {
2126
- const o = (r == null ? void 0 : r.previewMode) === "true", a = (r == null ? void 0 : r.documentId) ?? "", i = a && ((n = String(a)) != null && n.length) ? `/${r.documentId}` : "", l = new URL(pt(`${t}${i}`, r)), c = await Ce(l, r, o);
2081
+ const o = (r == null ? void 0 : r.previewMode) === "true", a = (r == null ? void 0 : r.documentId) ?? "", i = a && ((n = String(a)) != null && n.length) ? `/${r.documentId}` : "", l = new URL(ct(`${t}${i}`, r)), c = await we(l, r, o);
2127
2082
  if (!c.ok)
2128
2083
  return console.error(`[Error fetching preview data]: ${t} - status: ${c.statusText}`), [];
2129
- const s = await c.json(), f = e.findIndex((p) => p.documentId === s.id);
2130
- return f !== -1 ? (e[f] = s, [...e]) : [s, ...e];
2084
+ const s = await c.json(), u = e.findIndex((p) => p.documentId === s.id);
2085
+ return u !== -1 ? (e[u] = s, [...e]) : [s, ...e];
2131
2086
  }
2132
2087
  return e;
2133
2088
  }
2134
- const ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2089
+ const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2135
2090
  __proto__: null,
2136
- createUrl: pt,
2137
- fetchCMS: Ce,
2138
- mergePreviewDocument: Rr,
2139
- spreadStrapiData: Or
2091
+ createUrl: ct,
2092
+ fetchCMS: we,
2093
+ mergePreviewDocument: mr,
2094
+ spreadStrapiData: gr
2140
2095
  }, Symbol.toStringTag, { value: "Module" }));
2141
- async function Pr(t, e = {}, r) {
2142
- const n = !!(e != null && e.previewMode), o = await Ce(t, e, n);
2096
+ async function _r(t, e = {}, r) {
2097
+ const n = !!(e != null && e.previewMode), o = await we(t, e, n);
2143
2098
  if (!o.ok)
2144
2099
  return console.log(
2145
2100
  `Failed to fetch Strapi (url=${String(t)}, status=${o.status})`
@@ -2147,50 +2102,50 @@ async function Pr(t, e = {}, r) {
2147
2102
  const { data: a } = await o.json();
2148
2103
  return a ? {
2149
2104
  status: 200,
2150
- data: r ? Or(a) : a
2105
+ data: r ? gr(a) : a
2151
2106
  } : { status: 404, data: [], error: "No data found" };
2152
2107
  }
2153
- async function br(t, e, r = {}) {
2108
+ async function Er(t, e, r = {}) {
2154
2109
  const n = (r == null ? void 0 : r.previewId) ?? "", o = (r == null ? void 0 : r.previewMode) === "true", a = { ...r, versionId: n }, i = [];
2155
2110
  let l = 1, c = 0, s = !0;
2156
2111
  try {
2157
2112
  do {
2158
- const f = await Ce(e, { ...a, page: l }, o).then((p) => p.json()).catch((p) => (console.error("Error fetching VTEX CMS data:", p), console.error("Error URL:", e.toString()), null));
2159
- l === 1 && (c = f.totalItems), Array.isArray(f == null ? void 0 : f.data) && i.push(...f.data), s = !!(f != null && f.hasNextPage), l++;
2113
+ const u = await we(e, { ...a, page: l }, o).then((p) => p.json()).catch((p) => (console.error("Error fetching VTEX CMS data:", p), console.error("Error URL:", e.toString()), null));
2114
+ l === 1 && (c = u.totalItems), Array.isArray(u == null ? void 0 : u.data) && i.push(...u.data), s = !!(u != null && u.hasNextPage), l++;
2160
2115
  } while (s && i.length < c);
2161
2116
  if (o && i.length > 0) {
2162
2117
  if (!t || !n)
2163
2118
  throw new Error(
2164
2119
  "contentType and previewId are required for preview mode in vtexCMSData"
2165
2120
  );
2166
- const f = await Rr(
2121
+ const u = await mr(
2167
2122
  t,
2168
2123
  i,
2169
2124
  a
2170
2125
  );
2171
2126
  return {
2172
- status: f.length > 0 ? 200 : 404,
2173
- data: f
2127
+ status: u.length > 0 ? 200 : 404,
2128
+ data: u
2174
2129
  };
2175
2130
  }
2176
2131
  return {
2177
2132
  status: i.length ? 200 : 404,
2178
2133
  data: i
2179
2134
  };
2180
- } catch (f) {
2135
+ } catch (u) {
2181
2136
  return {
2182
2137
  status: 500,
2183
2138
  data: [],
2184
- error: f instanceof Error ? f.message : String(f)
2139
+ error: u instanceof Error ? u.message : String(u)
2185
2140
  };
2186
2141
  }
2187
2142
  }
2188
- const Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2143
+ const Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2189
2144
  __proto__: null,
2190
- strapiCMSData: Pr,
2191
- vtexCMSData: br
2145
+ strapiCMSData: _r,
2146
+ vtexCMSData: Er
2192
2147
  }, Symbol.toStringTag, { value: "Module" }));
2193
- async function Ti({
2148
+ async function Ai({
2194
2149
  contentType: t,
2195
2150
  documentId: e,
2196
2151
  versionId: r,
@@ -2203,59 +2158,59 @@ async function Ti({
2203
2158
  { cache: "no-cache" }
2204
2159
  );
2205
2160
  }
2206
- async function Ni(t, e = {}, r) {
2161
+ async function Ri(t, e = {}, r) {
2207
2162
  const { cms: n = "vtex" } = e ?? {};
2208
2163
  try {
2209
- const o = new URL(pt(t, e));
2210
- return n !== "vtex" ? Pr(o, e, r) : br(t, o, e);
2164
+ const o = new URL(ct(t, e));
2165
+ return n !== "vtex" ? _r(o, e, r) : Er(t, o, e);
2211
2166
  } catch (o) {
2212
2167
  return console.error(`[Fetch ContentType Error CMS ${n}]`, o), r ? { status: 400, data: null } : { status: 200, data: [] };
2213
2168
  }
2214
2169
  }
2215
- const Wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2170
+ const Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2216
2171
  __proto__: null,
2217
- fetchContentType: Ni,
2218
- getCMSContentType: Ti
2172
+ fetchContentType: Ri,
2173
+ getCMSContentType: Ai
2219
2174
  }, Symbol.toStringTag, { value: "Module" }));
2220
2175
  export {
2221
- Vr as A,
2222
- Jr as B,
2223
- Fi as C,
2224
- $i as D,
2225
- Gi as E,
2226
- Ni as F,
2227
- Mi as G,
2228
- Li as H,
2229
- Bi as I,
2230
- Wi as J,
2231
- ki as K,
2232
- Xi as L,
2233
- Hi as M,
2234
- ji as S,
2235
- zr as a,
2236
- Qr as b,
2237
- Wr as c,
2238
- Kr as d,
2239
- xi as e,
2240
- Qe as f,
2241
- Xr as g,
2242
- jr as h,
2243
- Yr as i,
2244
- ot as j,
2245
- zt as k,
2246
- dn as l,
2247
- vn as m,
2248
- hn as n,
2249
- gn as o,
2250
- Ui as p,
2251
- Kt as q,
2252
- yn as r,
2253
- Vt as s,
2254
- sn as t,
2255
- Zr as u,
2256
- bn as v,
2257
- kr as w,
2258
- en as x,
2259
- rn as y,
2176
+ Gr as A,
2177
+ Vr as B,
2178
+ Ni as C,
2179
+ Ii as D,
2180
+ $i as E,
2181
+ Ri as F,
2182
+ Ti as G,
2183
+ wi as H,
2184
+ Di as I,
2185
+ Ui as J,
2186
+ Fi as K,
2187
+ Mi as L,
2188
+ xi as M,
2189
+ Li as S,
2190
+ kr as a,
2191
+ jr as b,
2192
+ Br as c,
2193
+ Xr as d,
2194
+ bi as e,
2195
+ ze as f,
2196
+ Ur as g,
2197
+ Fr as h,
2198
+ Wr as i,
2199
+ tt as j,
2200
+ Wt as k,
2201
+ cn as l,
2202
+ un as m,
2203
+ fn as n,
2204
+ sn as o,
2205
+ Ci as p,
2206
+ jt as q,
2207
+ ln as r,
2208
+ kt as s,
2209
+ on as t,
2210
+ qr as u,
2211
+ En as v,
2212
+ Mr as w,
2213
+ zr as x,
2214
+ Yr as y,
2260
2215
  de as z
2261
2216
  };