@opengis/admin 0.3.53 → 0.3.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { ref as ot, getCurrentInstance as es, onMounted as Oo, resolveComponent as Ge, openBlock as X, createBlock as Ot, withCtx as Tt, createElementVNode as L, unref as uo, createVNode as Fe, createCommentVNode as _t, createElementBlock as ne, Fragment as kt, shallowRef as kz, shallowReactive as Sz, inject as vu, nextTick as Ax, defineComponent as Ws, reactive as Ez, computed as Di, h as Ao, provide as Kv, watch as js, watchEffect as sT, normalizeClass as nn, toDisplayString as We, renderSlot as Mx, withDirectives as ms, vModelText as oT, renderList as Xt, normalizeStyle as sa, vModelCheckbox as bu, resolveDynamicComponent as Ns, vModelRadio as Cz, createStaticVNode as Do, vShow as jy, withModifiers as tu, TransitionGroup as Tz, onBeforeUnmount as Dp, markRaw as Az, customRef as Mz, Transition as Hy, createTextVNode as Ui, Teleport as aT, useModel as Ip, mergeModels as Dz, mergeProps as Bf, createSlots as Iz, createApp as Dx, defineCustomElement as Pz } from "vue";
1
+ import { ref as ot, getCurrentInstance as es, onMounted as Oo, resolveComponent as Ge, openBlock as X, createBlock as Ot, withCtx as Tt, createElementVNode as L, unref as uo, createVNode as Fe, createCommentVNode as _t, createElementBlock as ne, Fragment as kt, shallowRef as kz, shallowReactive as Sz, inject as vu, nextTick as Ax, defineComponent as Ws, reactive as Ez, computed as Di, h as Ao, provide as Kv, watch as js, watchEffect as sT, normalizeClass as nn, toDisplayString as Ue, renderSlot as Mx, withDirectives as ms, vModelText as oT, renderList as Xt, normalizeStyle as sa, vModelCheckbox as bu, resolveDynamicComponent as Ns, vModelRadio as Cz, createStaticVNode as Do, vShow as jy, withModifiers as tu, TransitionGroup as Tz, onBeforeUnmount as Dp, markRaw as Az, customRef as Mz, Transition as Hy, createTextVNode as Ui, Teleport as aT, useModel as Ip, mergeModels as Dz, mergeProps as Bf, createSlots as Iz, createApp as Dx, defineCustomElement as Pz } from "vue";
2
2
  import Rz from "vuedraggable";
3
3
  function lT(t, e) {
4
4
  return function() {
@@ -3339,10 +3339,10 @@ function j4(t) {
3339
3339
  }
3340
3340
  function $(Pe, Qe) {
3341
3341
  if (Qe = Un({}, Qe || f.value), typeof Pe == "string") {
3342
- const Wt = nb(n, Pe, Qe.path), An = e.resolve({ path: Wt.path }, Qe), De = r.createHref(Wt.fullPath);
3343
- return on.NODE_ENV !== "production" && (De.startsWith("//") ? wn(`Location "${Pe}" resolved to "${De}". A resolved location cannot start with multiple slashes.`) : An.matched.length || wn(`No match found for location with path "${Pe}"`)), Un(Wt, An, {
3342
+ const qt = nb(n, Pe, Qe.path), An = e.resolve({ path: qt.path }, Qe), De = r.createHref(qt.fullPath);
3343
+ return on.NODE_ENV !== "production" && (De.startsWith("//") ? wn(`Location "${Pe}" resolved to "${De}". A resolved location cannot start with multiple slashes.`) : An.matched.length || wn(`No match found for location with path "${Pe}"`)), Un(qt, An, {
3344
3344
  params: S(An.params),
3345
- hash: Jd(Wt.hash),
3345
+ hash: Jd(qt.hash),
3346
3346
  redirectedFrom: void 0,
3347
3347
  href: De
3348
3348
  });
@@ -3357,11 +3357,11 @@ function j4(t) {
3357
3357
  path: nb(n, Pe.path, Qe.path).path
3358
3358
  });
3359
3359
  else {
3360
- const Wt = Un({}, Pe.params);
3361
- for (const An in Wt)
3362
- Wt[An] == null && delete Wt[An];
3360
+ const qt = Un({}, Pe.params);
3361
+ for (const An in qt)
3362
+ qt[An] == null && delete qt[An];
3363
3363
  st = Un({}, Pe, {
3364
- params: _(Wt)
3364
+ params: _(qt)
3365
3365
  }), Qe.params = _(Qe.params);
3366
3366
  }
3367
3367
  const xt = e.resolve(st, Qe), rn = Pe.hash || "";
@@ -3425,11 +3425,11 @@ ${JSON.stringify(xt, null, 2)}
3425
3425
  }
3426
3426
  }
3427
3427
  function Ce(Pe, Qe) {
3428
- const st = m = $(Pe), xt = f.value, rn = Pe.state, Sn = Pe.force, Zt = Pe.replace === !0, Wt = be(st);
3429
- if (Wt)
3428
+ const st = m = $(Pe), xt = f.value, rn = Pe.state, Sn = Pe.force, Zt = Pe.replace === !0, qt = be(st);
3429
+ if (qt)
3430
3430
  return Ce(
3431
- Un(q(Wt), {
3432
- state: typeof Wt == "object" ? Un({}, rn, Wt.state) : rn,
3431
+ Un(q(qt), {
3432
+ state: typeof qt == "object" ? Un({}, rn, qt.state) : rn,
3433
3433
  force: Sn,
3434
3434
  replace: Zt
3435
3435
  }),
@@ -3457,7 +3457,7 @@ ${JSON.stringify(xt, null, 2)}
3457
3457
  ) ? Yn : an(Yn)
3458
3458
  ) : (
3459
3459
  // reject any unknown error
3460
- Yt(Yn, An, xt)
3460
+ Ut(Yn, An, xt)
3461
3461
  )).then((Yn) => {
3462
3462
  if (Yn) {
3463
3463
  if (Na(
@@ -3501,43 +3501,43 @@ ${JSON.stringify(xt, null, 2)}
3501
3501
  let st;
3502
3502
  const [xt, rn, Sn] = H4(Pe, Qe);
3503
3503
  st = ib(xt.reverse(), "beforeRouteLeave", Pe, Qe);
3504
- for (const Wt of xt)
3505
- Wt.leaveGuards.forEach((An) => {
3504
+ for (const qt of xt)
3505
+ qt.leaveGuards.forEach((An) => {
3506
3506
  st.push(Ll(An, Pe, Qe));
3507
3507
  });
3508
3508
  const Zt = $e.bind(null, Pe, Qe);
3509
3509
  return st.push(Zt), Ln(st).then(() => {
3510
3510
  st = [];
3511
- for (const Wt of s.list())
3512
- st.push(Ll(Wt, Pe, Qe));
3511
+ for (const qt of s.list())
3512
+ st.push(Ll(qt, Pe, Qe));
3513
3513
  return st.push(Zt), Ln(st);
3514
3514
  }).then(() => {
3515
3515
  st = ib(rn, "beforeRouteUpdate", Pe, Qe);
3516
- for (const Wt of rn)
3517
- Wt.updateGuards.forEach((An) => {
3516
+ for (const qt of rn)
3517
+ qt.updateGuards.forEach((An) => {
3518
3518
  st.push(Ll(An, Pe, Qe));
3519
3519
  });
3520
3520
  return st.push(Zt), Ln(st);
3521
3521
  }).then(() => {
3522
3522
  st = [];
3523
- for (const Wt of Sn)
3524
- if (Wt.beforeEnter)
3525
- if (Hs(Wt.beforeEnter))
3526
- for (const An of Wt.beforeEnter)
3523
+ for (const qt of Sn)
3524
+ if (qt.beforeEnter)
3525
+ if (Hs(qt.beforeEnter))
3526
+ for (const An of qt.beforeEnter)
3527
3527
  st.push(Ll(An, Pe, Qe));
3528
3528
  else
3529
- st.push(Ll(Wt.beforeEnter, Pe, Qe));
3529
+ st.push(Ll(qt.beforeEnter, Pe, Qe));
3530
3530
  return st.push(Zt), Ln(st);
3531
- }).then(() => (Pe.matched.forEach((Wt) => Wt.enterCallbacks = {}), st = ib(Sn, "beforeRouteEnter", Pe, Qe, ke), st.push(Zt), Ln(st))).then(() => {
3531
+ }).then(() => (Pe.matched.forEach((qt) => qt.enterCallbacks = {}), st = ib(Sn, "beforeRouteEnter", Pe, Qe, ke), st.push(Zt), Ln(st))).then(() => {
3532
3532
  st = [];
3533
- for (const Wt of a.list())
3534
- st.push(Ll(Wt, Pe, Qe));
3533
+ for (const qt of a.list())
3534
+ st.push(Ll(qt, Pe, Qe));
3535
3535
  return st.push(Zt), Ln(st);
3536
- }).catch((Wt) => Na(
3537
- Wt,
3536
+ }).catch((qt) => Na(
3537
+ qt,
3538
3538
  8
3539
3539
  /* ErrorTypes.NAVIGATION_CANCELLED */
3540
- ) ? Wt : Promise.reject(Wt));
3540
+ ) ? qt : Promise.reject(qt));
3541
3541
  }
3542
3542
  function Ye(Pe, Qe, st) {
3543
3543
  o.list().forEach((xt) => ke(() => xt(Pe, Qe, st)));
@@ -3546,9 +3546,9 @@ ${JSON.stringify(xt, null, 2)}
3546
3546
  const Sn = K(Pe, Qe);
3547
3547
  if (Sn)
3548
3548
  return Sn;
3549
- const Zt = Qe === Rl, Wt = Wa ? history.state : {};
3549
+ const Zt = Qe === Rl, qt = Wa ? history.state : {};
3550
3550
  st && (xt || Zt ? r.replace(Pe.fullPath, Un({
3551
- scroll: Zt && Wt && Wt.scroll
3551
+ scroll: Zt && qt && qt.scroll
3552
3552
  }, rn)) : r.push(Pe.fullPath, rn)), f.value = Pe, kn(Pe, Qe, st, Zt), an();
3553
3553
  }
3554
3554
  let je;
@@ -3577,13 +3577,13 @@ ${JSON.stringify(xt, null, 2)}
3577
3577
  }),
3578
3578
  xt
3579
3579
  // avoid an uncaught rejection, let push call triggerError
3580
- ).then((Wt) => {
3580
+ ).then((qt) => {
3581
3581
  Na(
3582
- Wt,
3582
+ qt,
3583
3583
  20
3584
3584
  /* ErrorTypes.NAVIGATION_DUPLICATED */
3585
3585
  ) && !st.delta && st.type === lp.pop && r.go(-1, !1);
3586
- }).catch(Uf), Promise.reject()) : (st.delta && r.go(-st.delta, !1), Yt(Zt, xt, Sn))).then((Zt) => {
3586
+ }).catch(Uf), Promise.reject()) : (st.delta && r.go(-st.delta, !1), Ut(Zt, xt, Sn))).then((Zt) => {
3587
3587
  Zt = Zt || qe(
3588
3588
  // after navigation, all matched components are resolved
3589
3589
  xt,
@@ -3603,26 +3603,26 @@ ${JSON.stringify(xt, null, 2)}
3603
3603
  }).catch(Uf);
3604
3604
  }));
3605
3605
  }
3606
- let Ft = Mf(), $t = Mf(), jt;
3607
- function Yt(Pe, Qe, st) {
3606
+ let $t = Mf(), Vt = Mf(), Bt;
3607
+ function Ut(Pe, Qe, st) {
3608
3608
  an(Pe);
3609
- const xt = $t.list();
3609
+ const xt = Vt.list();
3610
3610
  return xt.length ? xt.forEach((rn) => rn(Pe, Qe, st)) : (on.NODE_ENV !== "production" && wn("uncaught error during route navigation:"), console.error(Pe)), Promise.reject(Pe);
3611
3611
  }
3612
3612
  function hn() {
3613
- return jt && f.value !== Rl ? Promise.resolve() : new Promise((Pe, Qe) => {
3614
- Ft.add([Pe, Qe]);
3613
+ return Bt && f.value !== Rl ? Promise.resolve() : new Promise((Pe, Qe) => {
3614
+ $t.add([Pe, Qe]);
3615
3615
  });
3616
3616
  }
3617
3617
  function an(Pe) {
3618
- return jt || (jt = !Pe, pe(), Ft.list().forEach(([Qe, st]) => Pe ? st(Pe) : Qe()), Ft.reset()), Pe;
3618
+ return Bt || (Bt = !Pe, pe(), $t.list().forEach(([Qe, st]) => Pe ? st(Pe) : Qe()), $t.reset()), Pe;
3619
3619
  }
3620
3620
  function kn(Pe, Qe, st, xt) {
3621
3621
  const { scrollBehavior: rn } = t;
3622
3622
  if (!Wa || !rn)
3623
3623
  return Promise.resolve();
3624
3624
  const Sn = !st && YN(kS(Pe.fullPath, 0)) || (xt || !st) && history.state && history.state.scroll || null;
3625
- return Ax().then(() => rn(Pe, Qe, Sn)).then((Zt) => Zt && qN(Zt)).catch((Zt) => Yt(Zt, Pe, Qe));
3625
+ return Ax().then(() => rn(Pe, Qe, Sn)).then((Zt) => Zt && qN(Zt)).catch((Zt) => Ut(Zt, Pe, Qe));
3626
3626
  }
3627
3627
  const pn = (Pe) => r.go(Pe);
3628
3628
  let ii;
@@ -3644,7 +3644,7 @@ ${JSON.stringify(xt, null, 2)}
3644
3644
  beforeEach: s.add,
3645
3645
  beforeResolve: a.add,
3646
3646
  afterEach: o.add,
3647
- onError: $t.add,
3647
+ onError: Vt.add,
3648
3648
  isReady: hn,
3649
3649
  install(Pe) {
3650
3650
  const Qe = this;
@@ -3665,7 +3665,7 @@ ${JSON.stringify(xt, null, 2)}
3665
3665
  Pe.provide(Jy, Qe), Pe.provide(Lx, Sz(st)), Pe.provide(S_, f);
3666
3666
  const xt = Pe.unmount;
3667
3667
  zn.add(Pe), Pe.unmount = function() {
3668
- zn.delete(Pe), zn.size < 1 && (m = Rl, je && je(), je = null, f.value = Rl, ii = !1, jt = !1), xt();
3668
+ zn.delete(Pe), zn.size < 1 && (m = Rl, je && je(), je = null, f.value = Rl, ii = !1, Bt = !1), xt();
3669
3669
  }, on.NODE_ENV !== "production" && Wa && P4(Pe, Qe, e);
3670
3670
  }
3671
3671
  };
@@ -3695,27 +3695,27 @@ const W4 = [
3695
3695
  {
3696
3696
  name: "edit",
3697
3697
  path: "/edit",
3698
- component: () => import("./edit-page-v8W8FAZ-.js")
3698
+ component: () => import("./edit-page-CKKxtPE1.js")
3699
3699
  },
3700
3700
  {
3701
3701
  name: "add",
3702
3702
  path: "/add",
3703
- component: () => import("./add-page-1TjIQh_G.js")
3703
+ component: () => import("./add-page-C9ON_44b.js")
3704
3704
  },
3705
3705
  {
3706
3706
  path: "/profile",
3707
3707
  name: "profile",
3708
- component: () => import("./profile-page-CvdXvuSJ.js")
3708
+ component: () => import("./profile-page-Bc2v91kD.js")
3709
3709
  },
3710
3710
  {
3711
3711
  name: "card-view",
3712
3712
  path: "/card",
3713
- component: () => import("./card-view-Cox5lXNk.js"),
3713
+ component: () => import("./card-view-D_B-5twx.js"),
3714
3714
  children: [
3715
3715
  {
3716
3716
  name: "table",
3717
3717
  path: ":table",
3718
- component: () => import("./card-view-Cox5lXNk.js"),
3718
+ component: () => import("./card-view-D_B-5twx.js"),
3719
3719
  children: [
3720
3720
  {
3721
3721
  name: "card",
@@ -3776,14 +3776,14 @@ const X4 = /* @__PURE__ */ ft(q4, [["render", Z4]]), K4 = (t) => {
3776
3776
  {
3777
3777
  path: "/",
3778
3778
  name: "home",
3779
- component: () => import("./admin-view-DPgPDpze.js"),
3779
+ component: () => import("./admin-view-CKLL6zM-.js"),
3780
3780
  children: [
3781
3781
  ...e,
3782
3782
  ...t,
3783
3783
  // { path: '/', redirect: '/home' },
3784
3784
  {
3785
3785
  path: "/:catchAll(.*)",
3786
- component: () => import("./admin-interface-Dnh1x2us.js")
3786
+ component: () => import("./admin-interface-DogdHgTE.js")
3787
3787
  }
3788
3788
  ]
3789
3789
  }
@@ -3837,11 +3837,11 @@ function eB(t, e, n, i, r, s) {
3837
3837
  class: nn([
3838
3838
  (m = n.value) != null && m.trim() ? "underline decoration-dashed decoration-[1px] decoration-blue-600" : null
3839
3839
  ])
3840
- }, We((g = n.value) != null && g.trim() ? n.value : "-"), 3)
3840
+ }, Ue((g = n.value) != null && g.trim() ? n.value : "-"), 3)
3841
3841
  ];
3842
3842
  }),
3843
3843
  _: 1
3844
- }, 8, ["model-value", "onUpdateValue", "title"])) : (X(), ne("div", Q4, We(n.value || "-"), 1));
3844
+ }, 8, ["model-value", "onUpdateValue", "title"])) : (X(), ne("div", Q4, Ue(n.value || "-"), 1));
3845
3845
  }
3846
3846
  const ty = /* @__PURE__ */ ft(J4, [["render", eB]]), tB = {}, nB = {
3847
3847
  xmlns: "http://www.w3.org/2000/svg",
@@ -3937,7 +3937,7 @@ const ny = /* @__PURE__ */ ft(tB, [["render", iB]]), rB = { class: "w-[170px]" }
3937
3937
  }, null, 44, aB), [
3938
3938
  [bu, r.value]
3939
3939
  ]),
3940
- L("span", lB, We(z == null ? void 0 : z.text), 1),
3940
+ L("span", lB, Ue(z == null ? void 0 : z.text), 1),
3941
3941
  r.value === (z == null ? void 0 : z.id) ? (X(), Ot(ny, {
3942
3942
  key: 0,
3943
3943
  class: "ml-auto size-3 shrink-0"
@@ -4055,7 +4055,7 @@ function pB(t, e, n, i, r, s) {
4055
4055
  backgroundColor: s.getBGColor((g = s.getData) == null ? void 0 : g.color),
4056
4056
  color: (_ = s.getData) == null ? void 0 : _.color
4057
4057
  })
4058
- }, We((S = s.getData) == null ? void 0 : S.text), 5)) : (X(), ne("div", dB, "-"))
4058
+ }, Ue((S = s.getData) == null ? void 0 : S.text), 5)) : (X(), ne("div", dB, "-"))
4059
4059
  ])
4060
4060
  ];
4061
4061
  }),
@@ -4068,7 +4068,7 @@ function pB(t, e, n, i, r, s) {
4068
4068
  backgroundColor: s.getBGColor((o = s.getData) == null ? void 0 : o.color),
4069
4069
  color: (f = s.getData) == null ? void 0 : f.color
4070
4070
  })
4071
- }, We((m = s.getData) == null ? void 0 : m.text), 5)) : (X(), ne("div", fB, "-"))
4071
+ }, Ue((m = s.getData) == null ? void 0 : m.text), 5)) : (X(), ne("div", fB, "-"))
4072
4072
  ]));
4073
4073
  }
4074
4074
  const KT = /* @__PURE__ */ ft(uB, [["render", pB]]), mB = {}, gB = {
@@ -4234,14 +4234,14 @@ function AB(t, e, n, i, r, s) {
4234
4234
  typeof s.getData == "object" ? (X(!0), ne(kt, { key: 0 }, Xt(s.getData, (o, f) => (X(), ne("div", {
4235
4235
  key: f,
4236
4236
  class: "text-gray-600 cursor-pointer dark:text-neutral-400"
4237
- }, We(o), 1))), 128)) : (X(), ne("div", kB, We(s.getData), 1))
4237
+ }, Ue(o), 1))), 128)) : (X(), ne("div", kB, Ue(s.getData), 1))
4238
4238
  ])) : (X(), ne("div", SB, "-"))
4239
4239
  ])
4240
4240
  ]),
4241
4241
  _: 1
4242
4242
  }, 8, ["options", "value"])) : (X(), ne(kt, { key: 1 }, [
4243
4243
  s.getData ? (X(), ne("div", EB, [
4244
- typeof s.getData == "object" ? (X(!0), ne(kt, { key: 0 }, Xt(s.getData, (o, f) => (X(), ne("div", { key: f }, We(o), 1))), 128)) : (X(), ne("div", CB, We(s.getData), 1))
4244
+ typeof s.getData == "object" ? (X(!0), ne(kt, { key: 0 }, Xt(s.getData, (o, f) => (X(), ne("div", { key: f }, Ue(o), 1))), 128)) : (X(), ne("div", CB, Ue(s.getData), 1))
4245
4245
  ])) : (X(), ne("div", TB, "-"))
4246
4246
  ], 64))
4247
4247
  ]);
@@ -4266,7 +4266,7 @@ const QT = /* @__PURE__ */ ft(xB, [["render", AB]]), MB = {
4266
4266
  function RB(t, e, n, i, r, s) {
4267
4267
  var a;
4268
4268
  return X(), ne("div", DB, [
4269
- (a = s.getData) != null && a.length ? (X(!0), ne(kt, { key: 0 }, Xt(s.getData, (o) => (X(), ne("div", IB, We(o), 1))), 256)) : (X(), ne("div", PB, "-"))
4269
+ (a = s.getData) != null && a.length ? (X(!0), ne(kt, { key: 0 }, Xt(s.getData, (o) => (X(), ne("div", IB, Ue(o), 1))), 256)) : (X(), ne("div", PB, "-"))
4270
4270
  ]);
4271
4271
  }
4272
4272
  const eA = /* @__PURE__ */ ft(MB, [["render", RB]]);
@@ -4462,7 +4462,7 @@ function oa(t, e, n) {
4462
4462
  return (s ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + i;
4463
4463
  }
4464
4464
  var Vx = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ig = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, sb = {}, jd = {};
4465
- function Ut(t, e, n, i) {
4465
+ function Wt(t, e, n, i) {
4466
4466
  var r = i;
4467
4467
  typeof i == "string" && (r = function() {
4468
4468
  return this[i]();
@@ -4687,16 +4687,16 @@ function s0(t) {
4687
4687
  return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
4688
4688
  }
4689
4689
  var jr = 0, qa = 1, ea = 2, Ki = 3, Co = 4, Ga = 5, ru = 6, rF = 7, sF = 8;
4690
- Ut("Y", 0, 0, function() {
4690
+ Wt("Y", 0, 0, function() {
4691
4691
  var t = this.year();
4692
4692
  return t <= 9999 ? oa(t, 4) : "+" + t;
4693
4693
  });
4694
- Ut(0, ["YY", 2], 0, function() {
4694
+ Wt(0, ["YY", 2], 0, function() {
4695
4695
  return this.year() % 100;
4696
4696
  });
4697
- Ut(0, ["YYYY", 4], 0, "year");
4698
- Ut(0, ["YYYYY", 5], 0, "year");
4699
- Ut(0, ["YYYYYY", 6, !0], 0, "year");
4697
+ Wt(0, ["YYYY", 4], 0, "year");
4698
+ Wt(0, ["YYYYY", 5], 0, "year");
4699
+ Wt(0, ["YYYYYY", 6, !0], 0, "year");
4700
4700
  Pt("Y", i0);
4701
4701
  Pt("YY", _i, qs);
4702
4702
  Pt("YYYY", Ux, Hx);
@@ -4804,13 +4804,13 @@ function qx(t, e) {
4804
4804
  var n = cF(e, 12);
4805
4805
  return t += (e - n) / 12, n === 1 ? s0(t) ? 29 : 28 : 31 - n % 7 % 2;
4806
4806
  }
4807
- Ut("M", ["MM", 2], "Mo", function() {
4807
+ Wt("M", ["MM", 2], "Mo", function() {
4808
4808
  return this.month() + 1;
4809
4809
  });
4810
- Ut("MMM", 0, 0, function(t) {
4810
+ Wt("MMM", 0, 0, function(t) {
4811
4811
  return this.localeData().monthsShort(this, t);
4812
4812
  });
4813
- Ut("MMMM", 0, 0, function(t) {
4813
+ Wt("MMMM", 0, 0, function(t) {
4814
4814
  return this.localeData().months(this, t);
4815
4815
  });
4816
4816
  Pt("M", _i, vh);
@@ -4935,8 +4935,8 @@ function Qa(t, e, n) {
4935
4935
  var i = ry(t, e, n), r = ry(t + 1, e, n);
4936
4936
  return (qf(t) - i + r) / 7;
4937
4937
  }
4938
- Ut("w", ["ww", 2], "wo", "week");
4939
- Ut("W", ["WW", 2], "Wo", "isoWeek");
4938
+ Wt("w", ["ww", 2], "wo", "week");
4939
+ Wt("W", ["WW", 2], "Wo", "isoWeek");
4940
4940
  Pt("w", _i, vh);
4941
4941
  Pt("ww", _i, qs);
4942
4942
  Pt("W", _i, vh);
@@ -4970,18 +4970,18 @@ function CF(t) {
4970
4970
  var e = dp(this, 1, 4).week;
4971
4971
  return t == null ? e : this.add((t - e) * 7, "d");
4972
4972
  }
4973
- Ut("d", 0, "do", "day");
4974
- Ut("dd", 0, 0, function(t) {
4973
+ Wt("d", 0, "do", "day");
4974
+ Wt("dd", 0, 0, function(t) {
4975
4975
  return this.localeData().weekdaysMin(this, t);
4976
4976
  });
4977
- Ut("ddd", 0, 0, function(t) {
4977
+ Wt("ddd", 0, 0, function(t) {
4978
4978
  return this.localeData().weekdaysShort(this, t);
4979
4979
  });
4980
- Ut("dddd", 0, 0, function(t) {
4980
+ Wt("dddd", 0, 0, function(t) {
4981
4981
  return this.localeData().weekdays(this, t);
4982
4982
  });
4983
- Ut("e", 0, 0, "weekday");
4984
- Ut("E", 0, 0, "isoWeekday");
4983
+ Wt("e", 0, 0, "weekday");
4984
+ Wt("E", 0, 0, "isoWeekday");
4985
4985
  Pt("d", _i);
4986
4986
  Pt("e", _i);
4987
4987
  Pt("E", _i);
@@ -5112,23 +5112,23 @@ function Zx() {
5112
5112
  function WF() {
5113
5113
  return this.hours() || 24;
5114
5114
  }
5115
- Ut("H", ["HH", 2], 0, "hour");
5116
- Ut("h", ["hh", 2], 0, Zx);
5117
- Ut("k", ["kk", 2], 0, WF);
5118
- Ut("hmm", 0, 0, function() {
5115
+ Wt("H", ["HH", 2], 0, "hour");
5116
+ Wt("h", ["hh", 2], 0, Zx);
5117
+ Wt("k", ["kk", 2], 0, WF);
5118
+ Wt("hmm", 0, 0, function() {
5119
5119
  return "" + Zx.apply(this) + oa(this.minutes(), 2);
5120
5120
  });
5121
- Ut("hmmss", 0, 0, function() {
5121
+ Wt("hmmss", 0, 0, function() {
5122
5122
  return "" + Zx.apply(this) + oa(this.minutes(), 2) + oa(this.seconds(), 2);
5123
5123
  });
5124
- Ut("Hmm", 0, 0, function() {
5124
+ Wt("Hmm", 0, 0, function() {
5125
5125
  return "" + this.hours() + oa(this.minutes(), 2);
5126
5126
  });
5127
- Ut("Hmmss", 0, 0, function() {
5127
+ Wt("Hmmss", 0, 0, function() {
5128
5128
  return "" + this.hours() + oa(this.minutes(), 2) + oa(this.seconds(), 2);
5129
5129
  });
5130
5130
  function bA(t, e) {
5131
- Ut(t, 0, 0, function() {
5131
+ Wt(t, 0, 0, function() {
5132
5132
  return this.localeData().meridiem(
5133
5133
  this.hours(),
5134
5134
  this.minutes(),
@@ -5626,7 +5626,7 @@ function A3(t, e, n) {
5626
5626
  return s + r;
5627
5627
  }
5628
5628
  function TA(t, e) {
5629
- Ut(t, 0, 0, function() {
5629
+ Wt(t, 0, 0, function() {
5630
5630
  var n = this.utcOffset(), i = "+";
5631
5631
  return n < 0 && (n = -n, i = "-"), i + oa(~~(n / 60), 2) + e + oa(~~n % 60, 2);
5632
5632
  });
@@ -6118,15 +6118,15 @@ function S5() {
6118
6118
  strict: this._strict
6119
6119
  };
6120
6120
  }
6121
- Ut("N", 0, 0, "eraAbbr");
6122
- Ut("NN", 0, 0, "eraAbbr");
6123
- Ut("NNN", 0, 0, "eraAbbr");
6124
- Ut("NNNN", 0, 0, "eraName");
6125
- Ut("NNNNN", 0, 0, "eraNarrow");
6126
- Ut("y", ["y", 1], "yo", "eraYear");
6127
- Ut("y", ["yy", 2], 0, "eraYear");
6128
- Ut("y", ["yyy", 3], 0, "eraYear");
6129
- Ut("y", ["yyyy", 4], 0, "eraYear");
6121
+ Wt("N", 0, 0, "eraAbbr");
6122
+ Wt("NN", 0, 0, "eraAbbr");
6123
+ Wt("NNN", 0, 0, "eraAbbr");
6124
+ Wt("NNNN", 0, 0, "eraName");
6125
+ Wt("NNNNN", 0, 0, "eraNarrow");
6126
+ Wt("y", ["y", 1], "yo", "eraYear");
6127
+ Wt("y", ["yy", 2], 0, "eraYear");
6128
+ Wt("y", ["yyy", 3], 0, "eraYear");
6129
+ Wt("y", ["yyyy", 4], 0, "eraYear");
6130
6130
  Pt("N", n1);
6131
6131
  Pt("NN", n1);
6132
6132
  Pt("NNN", n1);
@@ -6253,14 +6253,14 @@ function i1() {
6253
6253
  "i"
6254
6254
  );
6255
6255
  }
6256
- Ut(0, ["gg", 2], 0, function() {
6256
+ Wt(0, ["gg", 2], 0, function() {
6257
6257
  return this.weekYear() % 100;
6258
6258
  });
6259
- Ut(0, ["GG", 2], 0, function() {
6259
+ Wt(0, ["GG", 2], 0, function() {
6260
6260
  return this.isoWeekYear() % 100;
6261
6261
  });
6262
6262
  function l0(t, e) {
6263
- Ut(0, [t, t.length], 0, e);
6263
+ Wt(0, [t, t.length], 0, e);
6264
6264
  }
6265
6265
  l0("gggg", "weekYear");
6266
6266
  l0("ggggg", "weekYear");
@@ -6325,7 +6325,7 @@ function U5(t, e, n, i, r) {
6325
6325
  var s = yA(t, e, n, i, r), a = up(s.year, 0, s.dayOfYear);
6326
6326
  return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
6327
6327
  }
6328
- Ut("Q", 0, "Qo", "quarter");
6328
+ Wt("Q", 0, "Qo", "quarter");
6329
6329
  Pt("Q", oA);
6330
6330
  ui("Q", function(t, e) {
6331
6331
  e[qa] = (In(t) - 1) * 3;
@@ -6333,7 +6333,7 @@ ui("Q", function(t, e) {
6333
6333
  function W5(t) {
6334
6334
  return t == null ? Math.ceil((this.month() + 1) / 3) : this.month((t - 1) * 3 + this.month() % 3);
6335
6335
  }
6336
- Ut("D", ["DD", 2], "Do", "date");
6336
+ Wt("D", ["DD", 2], "Do", "date");
6337
6337
  Pt("D", _i, vh);
6338
6338
  Pt("DD", _i, qs);
6339
6339
  Pt("Do", function(t, e) {
@@ -6344,7 +6344,7 @@ ui("Do", function(t, e) {
6344
6344
  e[ea] = In(t.match(_i)[0]);
6345
6345
  });
6346
6346
  var FA = bh("Date", !0);
6347
- Ut("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
6347
+ Wt("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
6348
6348
  Pt("DDD", t0);
6349
6349
  Pt("DDDD", aA);
6350
6350
  ui(["DDD", "DDDD"], function(t, e, n) {
@@ -6356,39 +6356,39 @@ function q5(t) {
6356
6356
  ) + 1;
6357
6357
  return t == null ? e : this.add(t - e, "d");
6358
6358
  }
6359
- Ut("m", ["mm", 2], 0, "minute");
6359
+ Wt("m", ["mm", 2], 0, "minute");
6360
6360
  Pt("m", _i, Wx);
6361
6361
  Pt("mm", _i, qs);
6362
6362
  ui(["m", "mm"], Co);
6363
6363
  var G5 = bh("Minutes", !1);
6364
- Ut("s", ["ss", 2], 0, "second");
6364
+ Wt("s", ["ss", 2], 0, "second");
6365
6365
  Pt("s", _i, Wx);
6366
6366
  Pt("ss", _i, qs);
6367
6367
  ui(["s", "ss"], Ga);
6368
6368
  var Y5 = bh("Seconds", !1);
6369
- Ut("S", 0, 0, function() {
6369
+ Wt("S", 0, 0, function() {
6370
6370
  return ~~(this.millisecond() / 100);
6371
6371
  });
6372
- Ut(0, ["SS", 2], 0, function() {
6372
+ Wt(0, ["SS", 2], 0, function() {
6373
6373
  return ~~(this.millisecond() / 10);
6374
6374
  });
6375
- Ut(0, ["SSS", 3], 0, "millisecond");
6376
- Ut(0, ["SSSS", 4], 0, function() {
6375
+ Wt(0, ["SSS", 3], 0, "millisecond");
6376
+ Wt(0, ["SSSS", 4], 0, function() {
6377
6377
  return this.millisecond() * 10;
6378
6378
  });
6379
- Ut(0, ["SSSSS", 5], 0, function() {
6379
+ Wt(0, ["SSSSS", 5], 0, function() {
6380
6380
  return this.millisecond() * 100;
6381
6381
  });
6382
- Ut(0, ["SSSSSS", 6], 0, function() {
6382
+ Wt(0, ["SSSSSS", 6], 0, function() {
6383
6383
  return this.millisecond() * 1e3;
6384
6384
  });
6385
- Ut(0, ["SSSSSSS", 7], 0, function() {
6385
+ Wt(0, ["SSSSSSS", 7], 0, function() {
6386
6386
  return this.millisecond() * 1e4;
6387
6387
  });
6388
- Ut(0, ["SSSSSSSS", 8], 0, function() {
6388
+ Wt(0, ["SSSSSSSS", 8], 0, function() {
6389
6389
  return this.millisecond() * 1e5;
6390
6390
  });
6391
- Ut(0, ["SSSSSSSSS", 9], 0, function() {
6391
+ Wt(0, ["SSSSSSSSS", 9], 0, function() {
6392
6392
  return this.millisecond() * 1e6;
6393
6393
  });
6394
6394
  Pt("S", t0, oA);
@@ -6403,8 +6403,8 @@ function Z5(t, e) {
6403
6403
  for (Vl = "S"; Vl.length <= 9; Vl += "S")
6404
6404
  ui(Vl, Z5);
6405
6405
  $A = bh("Milliseconds", !1);
6406
- Ut("z", 0, 0, "zoneAbbr");
6407
- Ut("zz", 0, 0, "zoneName");
6406
+ Wt("z", 0, 0, "zoneAbbr");
6407
+ Wt("zz", 0, 0, "zoneName");
6408
6408
  function X5() {
6409
6409
  return this._isUTC ? "UTC" : "";
6410
6410
  }
@@ -6785,8 +6785,8 @@ Fn.toIsoString = go(
6785
6785
  c0
6786
6786
  );
6787
6787
  Fn.lang = RA;
6788
- Ut("X", 0, 0, "unix");
6789
- Ut("x", 0, 0, "valueOf");
6788
+ Wt("X", 0, 0, "unix");
6789
+ Wt("x", 0, 0, "valueOf");
6790
6790
  Pt("x", i0);
6791
6791
  Pt("X", eF);
6792
6792
  ui("X", function(t, e, n) {
@@ -6900,10 +6900,10 @@ function N$(t, e, n, i, r, s) {
6900
6900
  onUpdateValue: s.changeData
6901
6901
  }, {
6902
6902
  default: Tt(() => [
6903
- L("div", z$, We(s.dateValue), 1)
6903
+ L("div", z$, Ue(s.dateValue), 1)
6904
6904
  ]),
6905
6905
  _: 1
6906
- }, 8, ["model-value", "onUpdateValue"])) : (X(), ne("div", L$, We(s.dateValue), 1));
6906
+ }, 8, ["model-value", "onUpdateValue"])) : (X(), ne("div", L$, Ue(s.dateValue), 1));
6907
6907
  }
6908
6908
  const s1 = /* @__PURE__ */ ft(O$, [["render", N$]]), B$ = Ws({
6909
6909
  name: "VsNumberValue",
@@ -6967,11 +6967,11 @@ function $$(t, e, n, i, r, s) {
6967
6967
  class: nn([
6968
6968
  (m = t.value) != null && m.trim() ? "underline decoration-dashed decoration-[1px] decoration-blue-600" : null
6969
6969
  ])
6970
- }, We(t.formattedValue || "-"), 3)
6970
+ }, Ue(t.formattedValue || "-"), 3)
6971
6971
  ];
6972
6972
  }),
6973
6973
  _: 1
6974
- }, 8, ["model-value", "onUpdateValue", "title"])) : (X(), ne("span", F$, We(t.formattedValue), 1));
6974
+ }, 8, ["model-value", "onUpdateValue", "title"])) : (X(), ne("span", F$, Ue(t.formattedValue), 1));
6975
6975
  }
6976
6976
  const qA = /* @__PURE__ */ ft(B$, [["render", $$]]), V$ = { class: "text-start" }, GA = {
6977
6977
  __name: "vs-format-slot",
@@ -7223,14 +7223,14 @@ var ZA = { exports: {} };
7223
7223
  function pe(u, c, d) {
7224
7224
  return (d.y - u.y) * (c.x - u.x) > (c.y - u.y) * (d.x - u.x);
7225
7225
  }
7226
- function Ft(u) {
7226
+ function $t(u) {
7227
7227
  return typeof WorkerGlobalScope < "u" && u !== void 0 && u instanceof WorkerGlobalScope;
7228
7228
  }
7229
- let $t = null;
7230
- function jt(u) {
7229
+ let Vt = null;
7230
+ function Bt(u) {
7231
7231
  return typeof ImageBitmap < "u" && u instanceof ImageBitmap;
7232
7232
  }
7233
- const Yt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
7233
+ const Ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
7234
7234
  function hn(u, c, d, p, b) {
7235
7235
  return o(this, void 0, void 0, function* () {
7236
7236
  if (typeof VideoFrame > "u") throw new Error("VideoFrame not supported");
@@ -7267,11 +7267,11 @@ var ZA = { exports: {} };
7267
7267
  super(`AJAXError: ${d} (${c}): ${p}`), this.status = c, this.statusText = d, this.url = p, this.body = b;
7268
7268
  }
7269
7269
  }
7270
- const Qe = () => Ft(self) ? self.worker && self.worker.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href, st = function(u, c) {
7270
+ const Qe = () => $t(self) ? self.worker && self.worker.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href, st = function(u, c) {
7271
7271
  if (/:\/\//.test(u.url) && !/^https?:|^file:/.test(u.url)) {
7272
7272
  const p = Tn(u.url);
7273
7273
  if (p) return p(u, c);
7274
- if (Ft(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: u, targetMapId: Ln }, c);
7274
+ if ($t(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: u, targetMapId: Ln }, c);
7275
7275
  }
7276
7276
  if (!(/^file:/.test(d = u.url) || /^file:/.test(Qe()) && !/^\w+:/.test(d))) {
7277
7277
  if (fetch && Request && AbortController && Object.prototype.hasOwnProperty.call(Request.prototype, "signal")) return function(p, b) {
@@ -7290,7 +7290,7 @@ var ZA = { exports: {} };
7290
7290
  return { data: D, cacheControl: E.headers.get("Cache-Control"), expires: E.headers.get("Expires") };
7291
7291
  });
7292
7292
  }(u, c);
7293
- if (Ft(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: u, mustQueue: !0, targetMapId: Ln }, c);
7293
+ if ($t(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: u, mustQueue: !0, targetMapId: Ln }, c);
7294
7294
  }
7295
7295
  var d;
7296
7296
  return function(p, b) {
@@ -7339,7 +7339,7 @@ var ZA = { exports: {} };
7339
7339
  Ce(this, d), this.type = c;
7340
7340
  }
7341
7341
  }
7342
- class Wt extends Zt {
7342
+ class qt extends Zt {
7343
7343
  constructor(c, d = {}) {
7344
7344
  super("error", Ce({ error: c }, d));
7345
7345
  }
@@ -7365,7 +7365,7 @@ var ZA = { exports: {} };
7365
7365
  for (const T of k) Sn(p, T, this._oneTimeListeners), T.call(this, c);
7366
7366
  const E = this._eventedParent;
7367
7367
  E && (Ce(c, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), E.fire(c));
7368
- } else c instanceof Wt && console.error(c.error);
7368
+ } else c instanceof qt && console.error(c.error);
7369
7369
  return this;
7370
7370
  }
7371
7371
  listens(c) {
@@ -7457,7 +7457,7 @@ var ZA = { exports: {} };
7457
7457
  return !!this.bindings[c] || !!this.parent && this.parent.has(c);
7458
7458
  }
7459
7459
  }
7460
- const Xs = { kind: "null" }, it = { kind: "number" }, Me = { kind: "string" }, Ue = { kind: "boolean" }, zt = { kind: "color" }, dn = { kind: "object" }, dt = { kind: "value" }, si = { kind: "collator" }, xi = { kind: "formatted" }, hr = { kind: "padding" }, Wr = { kind: "resolvedImage" }, le = { kind: "variableAnchorOffsetCollection" };
7460
+ const Xs = { kind: "null" }, it = { kind: "number" }, Me = { kind: "string" }, We = { kind: "boolean" }, zt = { kind: "color" }, dn = { kind: "object" }, dt = { kind: "value" }, si = { kind: "collator" }, xi = { kind: "formatted" }, hr = { kind: "padding" }, Wr = { kind: "resolvedImage" }, le = { kind: "variableAnchorOffsetCollection" };
7461
7461
  function W(u, c) {
7462
7462
  return { kind: "array", itemType: u, N: c };
7463
7463
  }
@@ -7468,7 +7468,7 @@ var ZA = { exports: {} };
7468
7468
  }
7469
7469
  return u.kind;
7470
7470
  }
7471
- const Q = [Xs, it, Me, Ue, zt, xi, dn, W(dt), hr, Wr, le];
7471
+ const Q = [Xs, it, Me, We, zt, xi, dn, W(dt), hr, Wr, le];
7472
7472
  function se(u, c) {
7473
7473
  if (c.kind === "error") return null;
7474
7474
  if (u.kind === "array") {
@@ -7490,7 +7490,7 @@ var ZA = { exports: {} };
7490
7490
  function Ee(u, c) {
7491
7491
  return u.kind === "array" && c.kind === "array" ? u.itemType.kind === c.itemType.kind && typeof u.N == "number" : u.kind === c.kind;
7492
7492
  }
7493
- const fe = 0.96422, ze = 0.82521, He = 4 / 29, Ie = 6 / 29, et = 3 * Ie * Ie, Rt = Ie * Ie * Ie, Bt = Math.PI / 180, En = 180 / Math.PI;
7493
+ const fe = 0.96422, ze = 0.82521, He = 4 / 29, Ie = 6 / 29, et = 3 * Ie * Ie, Rt = Ie * Ie * Ie, Ft = Math.PI / 180, En = 180 / Math.PI;
7494
7494
  function tn(u) {
7495
7495
  return (u %= 360) < 0 && (u += 360), u;
7496
7496
  }
@@ -7570,8 +7570,8 @@ var ZA = { exports: {} };
7570
7570
  const oe = [+T, Zi(+R, 0, 100), Zi(+F, 0, 100), G ? Bi(+G, J) : 1];
7571
7571
  if (fr(oe)) return function([ce, Te, ve, Se]) {
7572
7572
  function Re(Ze) {
7573
- const mt = (Ze + ce / 30) % 12, Vt = Te * Math.min(ve, 1 - ve);
7574
- return ve - Vt * Math.max(-1, Math.min(mt - 3, 9 - mt, 1));
7573
+ const mt = (Ze + ce / 30) % 12, jt = Te * Math.min(ve, 1 - ve);
7574
+ return ve - jt * Math.max(-1, Math.min(mt - 3, 9 - mt, 1));
7575
7575
  }
7576
7576
  return ce = tn(ce), Te /= 100, ve /= 100, [Re(0), Re(8), Re(4), Se];
7577
7577
  }(oe);
@@ -7709,7 +7709,7 @@ var ZA = { exports: {} };
7709
7709
  function Pi(u) {
7710
7710
  if (u === null) return Xs;
7711
7711
  if (typeof u == "string") return Me;
7712
- if (typeof u == "boolean") return Ue;
7712
+ if (typeof u == "boolean") return We;
7713
7713
  if (typeof u == "number") return it;
7714
7714
  if (u instanceof Hn) return zt;
7715
7715
  if (u instanceof Eh) return si;
@@ -7766,7 +7766,7 @@ var ZA = { exports: {} };
7766
7766
  return this.message;
7767
7767
  }
7768
7768
  }
7769
- const Iu = { string: Me, number: it, boolean: Ue, object: dn };
7769
+ const Iu = { string: Me, number: it, boolean: We, object: dn };
7770
7770
  class ws {
7771
7771
  constructor(c, d) {
7772
7772
  this.type = c, this.args = d;
@@ -7814,7 +7814,7 @@ var ZA = { exports: {} };
7814
7814
  return this.args.every((c) => c.outputDefined());
7815
7815
  }
7816
7816
  }
7817
- const Th = { "to-boolean": Ue, "to-color": zt, "to-number": it, "to-string": Me };
7817
+ const Th = { "to-boolean": We, "to-color": zt, "to-number": it, "to-string": Me };
7818
7818
  class ks {
7819
7819
  constructor(c, d) {
7820
7820
  this.type = c, this.args = d;
@@ -8041,12 +8041,12 @@ var ZA = { exports: {} };
8041
8041
  }
8042
8042
  class Mh {
8043
8043
  constructor(c, d) {
8044
- this.type = Ue, this.needle = c, this.haystack = d;
8044
+ this.type = We, this.needle = c, this.haystack = d;
8045
8045
  }
8046
8046
  static parse(c, d) {
8047
8047
  if (c.length !== 3) return d.error(`Expected 2 arguments, but found ${c.length - 1} instead.`);
8048
8048
  const p = d.parse(c[1], 1, dt), b = d.parse(c[2], 2, dt);
8049
- return p && b ? ye(p.type, [Ue, Me, it, Xs, dt]) ? new Mh(p, b) : d.error(`Expected first argument to be of type boolean, string, number or null, but found ${U(p.type)} instead`) : null;
8049
+ return p && b ? ye(p.type, [We, Me, it, Xs, dt]) ? new Mh(p, b) : d.error(`Expected first argument to be of type boolean, string, number or null, but found ${U(p.type)} instead`) : null;
8050
8050
  }
8051
8051
  evaluate(c) {
8052
8052
  const d = this.needle.evaluate(c), p = this.haystack.evaluate(c);
@@ -8070,7 +8070,7 @@ var ZA = { exports: {} };
8070
8070
  if (c.length <= 2 || c.length >= 5) return d.error(`Expected 3 or 4 arguments, but found ${c.length - 1} instead.`);
8071
8071
  const p = d.parse(c[1], 1, dt), b = d.parse(c[2], 2, dt);
8072
8072
  if (!p || !b) return null;
8073
- if (!ye(p.type, [Ue, Me, it, Xs, dt])) return d.error(`Expected first argument to be of type boolean, string, number or null, but found ${U(p.type)} instead`);
8073
+ if (!ye(p.type, [We, Me, it, Xs, dt])) return d.error(`Expected first argument to be of type boolean, string, number or null, but found ${U(p.type)} instead`);
8074
8074
  if (c.length === 4) {
8075
8075
  const k = d.parse(c[3], 3, it);
8076
8076
  return k ? new hl(p, b, k) : null;
@@ -8152,7 +8152,7 @@ var ZA = { exports: {} };
8152
8152
  d.expectedType && d.expectedType.kind !== "value" && (p = d.expectedType);
8153
8153
  const b = [];
8154
8154
  for (let E = 1; E < c.length - 1; E += 2) {
8155
- const T = d.parse(c[E], E, Ue);
8155
+ const T = d.parse(c[E], E, We);
8156
8156
  if (!T) return null;
8157
8157
  const D = d.parse(c[E + 1], E + 1, p);
8158
8158
  if (!D) return null;
@@ -8306,7 +8306,7 @@ var ZA = { exports: {} };
8306
8306
  D > b && Te > 180 ? Te -= 360 : D < b && b - D > 180 && (Te += 360), H = b + d * Te;
8307
8307
  }
8308
8308
  const [J, ee, oe, ce] = function([Te, ve, Se, Re]) {
8309
- return Te = isNaN(Te) ? 0 : Te * Bt, mi([Se, Math.cos(Te) * ve, Math.sin(Te) * ve, Re]);
8309
+ return Te = isNaN(Te) ? 0 : Te * Ft, mi([Se, Math.cos(Te) * ve, Math.sin(Te) * ve, Re]);
8310
8310
  }([H, G ?? ya(k, R, d), ya(E, N, d), ya(T, F, d)]);
8311
8311
  return new Hn(J, ee, oe, ce, !1);
8312
8312
  }
@@ -8446,7 +8446,7 @@ var ZA = { exports: {} };
8446
8446
  const p = u !== "==" && u !== "!=";
8447
8447
  return class XA {
8448
8448
  constructor(k, E, T) {
8449
- this.type = Ue, this.lhs = k, this.rhs = E, this.collator = T, this.hasUntypedArgument = k.type.kind === "value" || E.type.kind === "value";
8449
+ this.type = We, this.lhs = k, this.rhs = E, this.collator = T, this.hasUntypedArgument = k.type.kind === "value" || E.type.kind === "value";
8450
8450
  }
8451
8451
  static parse(k, E) {
8452
8452
  if (k.length !== 3 && k.length !== 4) return E.error("Expected two or three arguments.");
@@ -8517,9 +8517,9 @@ var ZA = { exports: {} };
8517
8517
  if (c.length !== 2) return d.error("Expected one argument.");
8518
8518
  const p = c[1];
8519
8519
  if (typeof p != "object" || Array.isArray(p)) return d.error("Collator options argument must be an object.");
8520
- const b = d.parse(p["case-sensitive"] !== void 0 && p["case-sensitive"], 1, Ue);
8520
+ const b = d.parse(p["case-sensitive"] !== void 0 && p["case-sensitive"], 1, We);
8521
8521
  if (!b) return null;
8522
- const k = d.parse(p["diacritic-sensitive"] !== void 0 && p["diacritic-sensitive"], 1, Ue);
8522
+ const k = d.parse(p["diacritic-sensitive"] !== void 0 && p["diacritic-sensitive"], 1, We);
8523
8523
  if (!k) return null;
8524
8524
  let E = null;
8525
8525
  return p.locale && (E = d.parse(p.locale, 1, Me), !E) ? null : new pc(b, k, E);
@@ -8759,7 +8759,7 @@ var ZA = { exports: {} };
8759
8759
  }
8760
8760
  class ba {
8761
8761
  constructor(c, d) {
8762
- this.type = Ue, this.geojson = c, this.geometries = d;
8762
+ this.type = We, this.geojson = c, this.geometries = d;
8763
8763
  }
8764
8764
  static parse(c, d) {
8765
8765
  if (c.length !== 2) return d.error(`'within' expression requires exactly one argument, but found ${c.length - 1} instead.`);
@@ -9403,7 +9403,7 @@ var ZA = { exports: {} };
9403
9403
  }], typeof: [Me, [dt], (u, [c]) => U(Pi(c.evaluate(u)))], "to-rgba": [W(it, 4), [zt], (u, [c]) => {
9404
9404
  const [d, p, b, k] = c.evaluate(u).rgb;
9405
9405
  return [255 * d, 255 * p, 255 * b, k];
9406
- }], rgb: [zt, [it, it, it], pm], rgba: [zt, [it, it, it, it], pm], has: { type: Ue, overloads: [[[Me], (u, [c]) => jh(c.evaluate(u), u.properties())], [[Me, dn], (u, [c, d]) => jh(c.evaluate(u), d.evaluate(u))]] }, get: { type: dt, overloads: [[[Me], (u, [c]) => Hu(c.evaluate(u), u.properties())], [[Me, dn], (u, [c, d]) => Hu(c.evaluate(u), d.evaluate(u))]] }, "feature-state": [dt, [Me], (u, [c]) => Hu(c.evaluate(u), u.featureState || {})], properties: [dn, [], (u) => u.properties()], "geometry-type": [Me, [], (u) => u.geometryType()], id: [dt, [], (u) => u.id()], zoom: [it, [], (u) => u.globals.zoom], "heatmap-density": [it, [], (u) => u.globals.heatmapDensity || 0], "line-progress": [it, [], (u) => u.globals.lineProgress || 0], accumulated: [dt, [], (u) => u.globals.accumulated === void 0 ? null : u.globals.accumulated], "+": [it, ka(it), (u, c) => {
9406
+ }], rgb: [zt, [it, it, it], pm], rgba: [zt, [it, it, it, it], pm], has: { type: We, overloads: [[[Me], (u, [c]) => jh(c.evaluate(u), u.properties())], [[Me, dn], (u, [c, d]) => jh(c.evaluate(u), d.evaluate(u))]] }, get: { type: dt, overloads: [[[Me], (u, [c]) => Hu(c.evaluate(u), u.properties())], [[Me, dn], (u, [c, d]) => Hu(c.evaluate(u), d.evaluate(u))]] }, "feature-state": [dt, [Me], (u, [c]) => Hu(c.evaluate(u), u.featureState || {})], properties: [dn, [], (u) => u.properties()], "geometry-type": [Me, [], (u) => u.geometryType()], id: [dt, [], (u) => u.id()], zoom: [it, [], (u) => u.globals.zoom], "heatmap-density": [it, [], (u) => u.globals.heatmapDensity || 0], "line-progress": [it, [], (u) => u.globals.lineProgress || 0], accumulated: [dt, [], (u) => u.globals.accumulated === void 0 ? null : u.globals.accumulated], "+": [it, ka(it), (u, c) => {
9407
9407
  let d = 0;
9408
9408
  for (const p of c) d += p.evaluate(u);
9409
9409
  return d;
@@ -9414,44 +9414,44 @@ var ZA = { exports: {} };
9414
9414
  }], "-": { type: it, overloads: [[[it, it], (u, [c, d]) => c.evaluate(u) - d.evaluate(u)], [[it], (u, [c]) => -c.evaluate(u)]] }, "/": [it, [it, it], (u, [c, d]) => c.evaluate(u) / d.evaluate(u)], "%": [it, [it, it], (u, [c, d]) => c.evaluate(u) % d.evaluate(u)], ln2: [it, [], () => Math.LN2], pi: [it, [], () => Math.PI], e: [it, [], () => Math.E], "^": [it, [it, it], (u, [c, d]) => Math.pow(c.evaluate(u), d.evaluate(u))], sqrt: [it, [it], (u, [c]) => Math.sqrt(c.evaluate(u))], log10: [it, [it], (u, [c]) => Math.log(c.evaluate(u)) / Math.LN10], ln: [it, [it], (u, [c]) => Math.log(c.evaluate(u))], log2: [it, [it], (u, [c]) => Math.log(c.evaluate(u)) / Math.LN2], sin: [it, [it], (u, [c]) => Math.sin(c.evaluate(u))], cos: [it, [it], (u, [c]) => Math.cos(c.evaluate(u))], tan: [it, [it], (u, [c]) => Math.tan(c.evaluate(u))], asin: [it, [it], (u, [c]) => Math.asin(c.evaluate(u))], acos: [it, [it], (u, [c]) => Math.acos(c.evaluate(u))], atan: [it, [it], (u, [c]) => Math.atan(c.evaluate(u))], min: [it, ka(it), (u, c) => Math.min(...c.map((d) => d.evaluate(u)))], max: [it, ka(it), (u, c) => Math.max(...c.map((d) => d.evaluate(u)))], abs: [it, [it], (u, [c]) => Math.abs(c.evaluate(u))], round: [it, [it], (u, [c]) => {
9415
9415
  const d = c.evaluate(u);
9416
9416
  return d < 0 ? -Math.round(-d) : Math.round(d);
9417
- }], floor: [it, [it], (u, [c]) => Math.floor(c.evaluate(u))], ceil: [it, [it], (u, [c]) => Math.ceil(c.evaluate(u))], "filter-==": [Ue, [Me, dt], (u, [c, d]) => u.properties()[c.value] === d.value], "filter-id-==": [Ue, [dt], (u, [c]) => u.id() === c.value], "filter-type-==": [Ue, [Me], (u, [c]) => u.geometryType() === c.value], "filter-<": [Ue, [Me, dt], (u, [c, d]) => {
9417
+ }], floor: [it, [it], (u, [c]) => Math.floor(c.evaluate(u))], ceil: [it, [it], (u, [c]) => Math.ceil(c.evaluate(u))], "filter-==": [We, [Me, dt], (u, [c, d]) => u.properties()[c.value] === d.value], "filter-id-==": [We, [dt], (u, [c]) => u.id() === c.value], "filter-type-==": [We, [Me], (u, [c]) => u.geometryType() === c.value], "filter-<": [We, [Me, dt], (u, [c, d]) => {
9418
9418
  const p = u.properties()[c.value], b = d.value;
9419
9419
  return typeof p == typeof b && p < b;
9420
- }], "filter-id-<": [Ue, [dt], (u, [c]) => {
9420
+ }], "filter-id-<": [We, [dt], (u, [c]) => {
9421
9421
  const d = u.id(), p = c.value;
9422
9422
  return typeof d == typeof p && d < p;
9423
- }], "filter->": [Ue, [Me, dt], (u, [c, d]) => {
9423
+ }], "filter->": [We, [Me, dt], (u, [c, d]) => {
9424
9424
  const p = u.properties()[c.value], b = d.value;
9425
9425
  return typeof p == typeof b && p > b;
9426
- }], "filter-id->": [Ue, [dt], (u, [c]) => {
9426
+ }], "filter-id->": [We, [dt], (u, [c]) => {
9427
9427
  const d = u.id(), p = c.value;
9428
9428
  return typeof d == typeof p && d > p;
9429
- }], "filter-<=": [Ue, [Me, dt], (u, [c, d]) => {
9429
+ }], "filter-<=": [We, [Me, dt], (u, [c, d]) => {
9430
9430
  const p = u.properties()[c.value], b = d.value;
9431
9431
  return typeof p == typeof b && p <= b;
9432
- }], "filter-id-<=": [Ue, [dt], (u, [c]) => {
9432
+ }], "filter-id-<=": [We, [dt], (u, [c]) => {
9433
9433
  const d = u.id(), p = c.value;
9434
9434
  return typeof d == typeof p && d <= p;
9435
- }], "filter->=": [Ue, [Me, dt], (u, [c, d]) => {
9435
+ }], "filter->=": [We, [Me, dt], (u, [c, d]) => {
9436
9436
  const p = u.properties()[c.value], b = d.value;
9437
9437
  return typeof p == typeof b && p >= b;
9438
- }], "filter-id->=": [Ue, [dt], (u, [c]) => {
9438
+ }], "filter-id->=": [We, [dt], (u, [c]) => {
9439
9439
  const d = u.id(), p = c.value;
9440
9440
  return typeof d == typeof p && d >= p;
9441
- }], "filter-has": [Ue, [dt], (u, [c]) => c.value in u.properties()], "filter-has-id": [Ue, [], (u) => u.id() !== null && u.id() !== void 0], "filter-type-in": [Ue, [W(Me)], (u, [c]) => c.value.indexOf(u.geometryType()) >= 0], "filter-id-in": [Ue, [W(dt)], (u, [c]) => c.value.indexOf(u.id()) >= 0], "filter-in-small": [Ue, [Me, W(dt)], (u, [c, d]) => d.value.indexOf(u.properties()[c.value]) >= 0], "filter-in-large": [Ue, [Me, W(dt)], (u, [c, d]) => function(p, b, k, E) {
9441
+ }], "filter-has": [We, [dt], (u, [c]) => c.value in u.properties()], "filter-has-id": [We, [], (u) => u.id() !== null && u.id() !== void 0], "filter-type-in": [We, [W(Me)], (u, [c]) => c.value.indexOf(u.geometryType()) >= 0], "filter-id-in": [We, [W(dt)], (u, [c]) => c.value.indexOf(u.id()) >= 0], "filter-in-small": [We, [Me, W(dt)], (u, [c, d]) => d.value.indexOf(u.properties()[c.value]) >= 0], "filter-in-large": [We, [Me, W(dt)], (u, [c, d]) => function(p, b, k, E) {
9442
9442
  for (; k <= E; ) {
9443
9443
  const T = k + E >> 1;
9444
9444
  if (b[T] === p) return !0;
9445
9445
  b[T] > p ? E = T - 1 : k = T + 1;
9446
9446
  }
9447
9447
  return !1;
9448
- }(u.properties()[c.value], d.value, 0, d.value.length - 1)], all: { type: Ue, overloads: [[[Ue, Ue], (u, [c, d]) => c.evaluate(u) && d.evaluate(u)], [ka(Ue), (u, c) => {
9448
+ }(u.properties()[c.value], d.value, 0, d.value.length - 1)], all: { type: We, overloads: [[[We, We], (u, [c, d]) => c.evaluate(u) && d.evaluate(u)], [ka(We), (u, c) => {
9449
9449
  for (const d of c) if (!d.evaluate(u)) return !1;
9450
9450
  return !0;
9451
- }]] }, any: { type: Ue, overloads: [[[Ue, Ue], (u, [c, d]) => c.evaluate(u) || d.evaluate(u)], [ka(Ue), (u, c) => {
9451
+ }]] }, any: { type: We, overloads: [[[We, We], (u, [c, d]) => c.evaluate(u) || d.evaluate(u)], [ka(We), (u, c) => {
9452
9452
  for (const d of c) if (d.evaluate(u)) return !0;
9453
9453
  return !1;
9454
- }]] }, "!": [Ue, [Ue], (u, [c]) => !c.evaluate(u)], "is-supported-script": [Ue, [Me], (u, [c]) => {
9454
+ }]] }, "!": [We, [We], (u, [c]) => !c.evaluate(u)], "is-supported-script": [We, [Me], (u, [c]) => {
9455
9455
  const d = u.globals && u.globals.isSupportedScript;
9456
9456
  return !d || d(c.evaluate(u));
9457
9457
  }], upcase: [Me, [Me], (u, [c]) => c.evaluate(u).toUpperCase()], downcase: [Me, [Me], (u, [c]) => c.evaluate(u).toLowerCase()], concat: [Me, ka(dt), (u, c) => c.map((d) => dc(d.evaluate(u))).join("")], "resolved-locale": [Me, [si], (u, [c]) => c.evaluate(u).resolvedLocale()] });
@@ -9480,7 +9480,7 @@ var ZA = { exports: {} };
9480
9480
  }
9481
9481
  function Gu(u, c) {
9482
9482
  const d = new ga(gl, Uu, [], c ? function(b) {
9483
- const k = { color: zt, string: Me, number: it, enum: Me, boolean: Ue, formatted: xi, padding: hr, resolvedImage: Wr, variableAnchorOffsetCollection: le };
9483
+ const k = { color: zt, string: Me, number: it, enum: Me, boolean: We, formatted: xi, padding: hr, resolvedImage: Wr, variableAnchorOffsetCollection: le };
9484
9484
  return b.type === "array" ? W(k[b.value] || dt, b.length) : k[b.type];
9485
9485
  }(c) : void 0), p = d.parse(u, void 0, void 0, void 0, c && c.type === "string" ? { typeAnnotation: "coerce" } : void 0);
9486
9486
  return p ? Hh(new qu(p, c)) : Vo(d.errors);
@@ -9985,7 +9985,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9985
9985
  const Aa = Ss, Cm = Aa.light, tv = Aa.sky, nv = Aa.paintProperty, Tm = Aa.layoutProperty;
9986
9986
  function ef(u, c) {
9987
9987
  let d = !1;
9988
- if (c && c.length) for (const p of c) u.fire(new Wt(new Error(p.message))), d = !0;
9988
+ if (c && c.length) for (const p of c) u.fire(new qt(new Error(p.message))), d = !0;
9989
9989
  return d;
9990
9990
  }
9991
9991
  class wl {
@@ -10093,10 +10093,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10093
10093
  if (c === null || typeof c != "object") return !1;
10094
10094
  const d = Ic(c);
10095
10095
  return !(!d || d === "Object");
10096
- }(u) && (u == null || typeof u == "boolean" || typeof u == "number" || typeof u == "string" || u instanceof Boolean || u instanceof Number || u instanceof String || u instanceof Date || u instanceof RegExp || u instanceof Blob || u instanceof Error || Am(u) || jt(u) || ArrayBuffer.isView(u) || u instanceof ImageData);
10096
+ }(u) && (u == null || typeof u == "boolean" || typeof u == "number" || typeof u == "string" || u instanceof Boolean || u instanceof Number || u instanceof String || u instanceof Date || u instanceof RegExp || u instanceof Blob || u instanceof Error || Am(u) || Bt(u) || ArrayBuffer.isView(u) || u instanceof ImageData);
10097
10097
  }
10098
10098
  function Pc(u, c) {
10099
- if (Mm(u)) return (Am(u) || jt(u)) && c && c.push(u), ArrayBuffer.isView(u) && c && c.push(u.buffer), u instanceof ImageData && c && c.push(u.data.buffer), u;
10099
+ if (Mm(u)) return (Am(u) || Bt(u)) && c && c.push(u), ArrayBuffer.isView(u) && c && c.push(u.buffer), u instanceof ImageData && c && c.push(u.data.buffer), u;
10100
10100
  if (Array.isArray(u)) {
10101
10101
  const k = [];
10102
10102
  for (const E of u) k.push(Pc(E, c));
@@ -10839,13 +10839,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10839
10839
  _refreshViews() {
10840
10840
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
10841
10841
  }
10842
- emplaceBack(c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, Vt, ht, lt, Mt, wt) {
10842
+ emplaceBack(c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, jt, ht, lt, Mt, wt) {
10843
10843
  const vt = this.length;
10844
- return this.resize(vt + 1), this.emplace(vt, c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, Vt, ht, lt, Mt, wt);
10844
+ return this.resize(vt + 1), this.emplace(vt, c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, jt, ht, lt, Mt, wt);
10845
10845
  }
10846
- emplace(c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, Vt, ht, lt, Mt, wt, vt) {
10846
+ emplace(c, d, p, b, k, E, T, D, R, N, F, H, G, J, ee, oe, ce, Te, ve, Se, Re, Ze, mt, jt, ht, lt, Mt, wt, vt) {
10847
10847
  const Ne = 32 * c, It = 16 * c;
10848
- return this.int16[Ne + 0] = d, this.int16[Ne + 1] = p, this.int16[Ne + 2] = b, this.int16[Ne + 3] = k, this.int16[Ne + 4] = E, this.int16[Ne + 5] = T, this.int16[Ne + 6] = D, this.int16[Ne + 7] = R, this.uint16[Ne + 8] = N, this.uint16[Ne + 9] = F, this.uint16[Ne + 10] = H, this.uint16[Ne + 11] = G, this.uint16[Ne + 12] = J, this.uint16[Ne + 13] = ee, this.uint16[Ne + 14] = oe, this.uint16[Ne + 15] = ce, this.uint16[Ne + 16] = Te, this.uint16[Ne + 17] = ve, this.uint16[Ne + 18] = Se, this.uint16[Ne + 19] = Re, this.uint16[Ne + 20] = Ze, this.uint16[Ne + 21] = mt, this.uint16[Ne + 22] = Vt, this.uint32[It + 12] = ht, this.float32[It + 13] = lt, this.float32[It + 14] = Mt, this.uint16[Ne + 30] = wt, this.uint16[Ne + 31] = vt, c;
10848
+ return this.int16[Ne + 0] = d, this.int16[Ne + 1] = p, this.int16[Ne + 2] = b, this.int16[Ne + 3] = k, this.int16[Ne + 4] = E, this.int16[Ne + 5] = T, this.int16[Ne + 6] = D, this.int16[Ne + 7] = R, this.uint16[Ne + 8] = N, this.uint16[Ne + 9] = F, this.uint16[Ne + 10] = H, this.uint16[Ne + 11] = G, this.uint16[Ne + 12] = J, this.uint16[Ne + 13] = ee, this.uint16[Ne + 14] = oe, this.uint16[Ne + 15] = ce, this.uint16[Ne + 16] = Te, this.uint16[Ne + 17] = ve, this.uint16[Ne + 18] = Se, this.uint16[Ne + 19] = Re, this.uint16[Ne + 20] = Ze, this.uint16[Ne + 21] = mt, this.uint16[Ne + 22] = jt, this.uint32[It + 12] = ht, this.float32[It + 13] = lt, this.float32[It + 14] = Mt, this.uint16[Ne + 30] = wt, this.uint16[Ne + 31] = vt, c;
10849
10849
  }
10850
10850
  }
10851
10851
  Ve.prototype.bytesPerElement = 64, gt("StructArrayLayout8i15ui1ul2f2ui64", Ve);
@@ -11033,12 +11033,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11033
11033
  }
11034
11034
  }
11035
11035
  pt.prototype.size = 48;
11036
- class qt extends Ae {
11036
+ class Gt extends Ae {
11037
11037
  get(c) {
11038
11038
  return new pt(this, c);
11039
11039
  }
11040
11040
  }
11041
- gt("PlacedSymbolArray", qt);
11041
+ gt("PlacedSymbolArray", Gt);
11042
11042
  class oi extends y {
11043
11043
  get anchorX() {
11044
11044
  return this._structArray.int16[this._pos2 + 0];
@@ -12511,11 +12511,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12511
12511
  }
12512
12512
  return Te;
12513
12513
  }(R, D), G = function(J, ee, oe, ce) {
12514
- const Te = [], ve = [], Se = ce[8] * ee, Re = ce[9] * ee, Ze = ce[10] * ee, mt = ce[11] * ee, Vt = ce[8] * oe, ht = ce[9] * oe, lt = ce[10] * oe, Mt = ce[11] * oe;
12514
+ const Te = [], ve = [], Se = ce[8] * ee, Re = ce[9] * ee, Ze = ce[10] * ee, mt = ce[11] * ee, jt = ce[8] * oe, ht = ce[9] * oe, lt = ce[10] * oe, Mt = ce[11] * oe;
12515
12515
  for (const wt of J) {
12516
12516
  const vt = [], Ne = [];
12517
12517
  for (const It of wt) {
12518
- const At = It.x, Gt = It.y, ei = ce[0] * At + ce[4] * Gt + ce[12], Kn = ce[1] * At + ce[5] * Gt + ce[13], Fi = ce[2] * At + ce[6] * Gt + ce[14], eo = ce[3] * At + ce[7] * Gt + ce[15], nr = Fi + Ze, $i = eo + mt, Rr = ei + Vt, Or = Kn + ht, zr = Fi + lt, Si = eo + Mt, Vi = new _((ei + Se) / $i, (Kn + Re) / $i);
12518
+ const At = It.x, Yt = It.y, ei = ce[0] * At + ce[4] * Yt + ce[12], Kn = ce[1] * At + ce[5] * Yt + ce[13], Fi = ce[2] * At + ce[6] * Yt + ce[14], eo = ce[3] * At + ce[7] * Yt + ce[15], nr = Fi + Ze, $i = eo + mt, Rr = ei + jt, Or = Kn + ht, zr = Fi + lt, Si = eo + Mt, Vi = new _((ei + Se) / $i, (Kn + Re) / $i);
12519
12519
  Vi.z = nr / $i, vt.push(Vi);
12520
12520
  const br = new _(Rr / Si, Or / Si);
12521
12521
  br.z = zr / Si, Ne.push(br);
@@ -12633,7 +12633,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12633
12633
  oe && (ee = oe), H && (G = H), H = c[ce], oe = J ? J.sub(H)._unit()._perp() : ee, ee = ee || oe;
12634
12634
  let Te = ee.add(oe);
12635
12635
  Te.x === 0 && Te.y === 0 || Te._unit();
12636
- const ve = ee.x * oe.x + ee.y * oe.y, Se = Te.x * oe.x + Te.y * oe.y, Re = Se !== 0 ? 1 / Se : 1 / 0, Ze = 2 * Math.sqrt(2 - 2 * Se), mt = Se < kO && G && J, Vt = ee.x * oe.y - ee.y * oe.x > 0;
12636
+ const ve = ee.x * oe.x + ee.y * oe.y, Se = Te.x * oe.x + Te.y * oe.y, Re = Se !== 0 ? 1 / Se : 1 / 0, Ze = 2 * Math.sqrt(2 - 2 * Se), mt = Se < kO && G && J, jt = ee.x * oe.y - ee.y * oe.x > 0;
12637
12637
  if (mt && ce > R) {
12638
12638
  const Mt = H.dist(G);
12639
12639
  if (Mt > 2 * N) {
@@ -12648,11 +12648,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12648
12648
  if (Re > 100) Te = oe.mult(-1);
12649
12649
  else {
12650
12650
  const Mt = Re * ee.add(oe).mag() / ee.sub(oe).mag();
12651
- Te._perp()._mult(Mt * (Vt ? -1 : 1));
12651
+ Te._perp()._mult(Mt * (jt ? -1 : 1));
12652
12652
  }
12653
12653
  this.addCurrentVertex(H, Te, 0, 0, F), this.addCurrentVertex(H, Te.mult(-1), 0, 0, F);
12654
12654
  } else if (lt === "bevel" || lt === "fakeround") {
12655
- const Mt = -Math.sqrt(Re * Re - 1), wt = Vt ? Mt : 0, vt = Vt ? 0 : Mt;
12655
+ const Mt = -Math.sqrt(Re * Re - 1), wt = jt ? Mt : 0, vt = jt ? 0 : Mt;
12656
12656
  if (G && this.addCurrentVertex(H, ee, wt, vt, F), lt === "fakeround") {
12657
12657
  const Ne = Math.round(180 * Ze / Math.PI / 20);
12658
12658
  for (let It = 1; It < Ne; It++) {
@@ -12661,8 +12661,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12661
12661
  const ei = At - 0.5;
12662
12662
  At += At * ei * (At - 1) * ((1.0904 + ve * (ve * (3.55645 - 1.43519 * ve) - 3.2452)) * ei * ei + (0.848013 + ve * (0.215638 * ve - 1.06021)));
12663
12663
  }
12664
- const Gt = oe.sub(ee)._mult(At)._add(ee)._unit()._mult(Vt ? -1 : 1);
12665
- this.addHalfVertex(H, Gt.x, Gt.y, !1, Vt, 0, F);
12664
+ const Yt = oe.sub(ee)._mult(At)._add(ee)._unit()._mult(jt ? -1 : 1);
12665
+ this.addHalfVertex(H, Yt.x, Yt.y, !1, jt, 0, F);
12666
12666
  }
12667
12667
  }
12668
12668
  J && this.addCurrentVertex(H, oe, -wt, -vt, F);
@@ -12745,8 +12745,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12745
12745
  for (let J = 0; J < F.length; J++) {
12746
12746
  const ee = F[J], oe = [];
12747
12747
  for (let ce = 0; ce < ee.length; ce++) {
12748
- const Te = ee[ce - 1], ve = ee[ce], Se = ee[ce + 1], Re = ce === 0 ? new _(0, 0) : ve.sub(Te)._unit()._perp(), Ze = ce === ee.length - 1 ? new _(0, 0) : Se.sub(ve)._unit()._perp(), mt = Re._add(Ze)._unit(), Vt = mt.x * Ze.x + mt.y * Ze.y;
12749
- Vt !== 0 && mt._mult(1 / Vt), oe.push(mt._mult(H)._add(ve));
12748
+ const Te = ee[ce - 1], ve = ee[ce], Se = ee[ce + 1], Re = ce === 0 ? new _(0, 0) : ve.sub(Te)._unit()._perp(), Ze = ce === ee.length - 1 ? new _(0, 0) : Se.sub(ve)._unit()._perp(), mt = Re._add(Ze)._unit(), jt = mt.x * Ze.x + mt.y * Ze.y;
12749
+ jt !== 0 && mt._mult(1 / jt), oe.push(mt._mult(H)._add(ve));
12750
12750
  }
12751
12751
  G.push(oe);
12752
12752
  }
@@ -13253,7 +13253,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13253
13253
  for (const Ze of Re) {
13254
13254
  const mt = new gd();
13255
13255
  mt.text = Ze, mt.sections = ee.sections;
13256
- for (let Vt = 0; Vt < Ze.length; Vt++) mt.sectionIndex.push(0);
13256
+ for (let jt = 0; jt < Ze.length; jt++) mt.sectionIndex.push(0);
13257
13257
  oe.push(mt);
13258
13258
  }
13259
13259
  } else if (Te) {
@@ -13264,14 +13264,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13264
13264
  mt.text = Ze[0], mt.sectionIndex = Ze[1], mt.sections = ee.sections, oe.push(mt);
13265
13265
  }
13266
13266
  } else oe = function(Re, Ze) {
13267
- const mt = [], Vt = Re.text;
13267
+ const mt = [], jt = Re.text;
13268
13268
  let ht = 0;
13269
13269
  for (const lt of Ze) mt.push(Re.substring(ht, lt)), ht = lt;
13270
- return ht < Vt.length && mt.push(Re.substring(ht, Vt.length)), mt;
13270
+ return ht < jt.length && mt.push(Re.substring(ht, jt.length)), mt;
13271
13271
  }(ee, Dv(ee, R, k, c, p, G));
13272
13272
  const ve = [], Se = { positionedLines: ve, text: ee.toString(), top: N[1], bottom: N[1], left: N[0], right: N[0], writingMode: F, iconsInText: !1, verticalizable: !1 };
13273
- return function(Re, Ze, mt, Vt, ht, lt, Mt, wt, vt, Ne, It, At) {
13274
- let Gt = 0, ei = _f, Kn = 0, Fi = 0;
13273
+ return function(Re, Ze, mt, jt, ht, lt, Mt, wt, vt, Ne, It, At) {
13274
+ let Yt = 0, ei = _f, Kn = 0, Fi = 0;
13275
13275
  const eo = wt === "right" ? 1 : wt === "left" ? 0 : 0.5;
13276
13276
  let nr = 0;
13277
13277
  for (const Si of ht) {
@@ -13289,7 +13289,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13289
13289
  let us = 0, yi = null, _d = null, qo = null, Go = zi;
13290
13290
  const to = !(vt === a.ah.horizontal || !It && !sf(ci) || It && (Gm[ci] || ($i = ci, new RegExp("\\p{sc=Arab}", "u").test(String.fromCodePoint($i)))));
13291
13291
  if (Dn.imageName) {
13292
- const Rs = Vt[Dn.imageName];
13292
+ const Rs = jt[Dn.imageName];
13293
13293
  if (!Rs) continue;
13294
13294
  qo = Dn.imageName, Re.iconsInText = Re.iconsInText || !0, _d = Rs.paddedRect;
13295
13295
  const Xi = Rs.displaySize;
@@ -13306,9 +13306,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13306
13306
  }
13307
13307
  us = (Vi - Dn.scale) * zi;
13308
13308
  }
13309
- to ? (Re.verticalizable = !0, Lr.push({ glyph: ci, imageName: qo, x: Gt, y: ei + us, vertical: to, scale: Dn.scale, fontStack: Dn.fontStack, sectionIndex: ri, metrics: yi, rect: _d }), Gt += Go * Dn.scale + Ne) : (Lr.push({ glyph: ci, imageName: qo, x: Gt, y: ei + us, vertical: to, scale: Dn.scale, fontStack: Dn.fontStack, sectionIndex: ri, metrics: yi, rect: _d }), Gt += yi.advance * Dn.scale + Ne);
13309
+ to ? (Re.verticalizable = !0, Lr.push({ glyph: ci, imageName: qo, x: Yt, y: ei + us, vertical: to, scale: Dn.scale, fontStack: Dn.fontStack, sectionIndex: ri, metrics: yi, rect: _d }), Yt += Go * Dn.scale + Ne) : (Lr.push({ glyph: ci, imageName: qo, x: Yt, y: ei + us, vertical: to, scale: Dn.scale, fontStack: Dn.fontStack, sectionIndex: ri, metrics: yi, rect: _d }), Yt += yi.advance * Dn.scale + Ne);
13310
13310
  }
13311
- Lr.length !== 0 && (Kn = Math.max(Gt - Ne, Kn), qO(Lr, 0, Lr.length - 1, eo, rr)), Gt = 0;
13311
+ Lr.length !== 0 && (Kn = Math.max(Yt - Ne, Kn), qO(Lr, 0, Lr.length - 1, eo, rr)), Yt = 0;
13312
13312
  const Ps = lt * Vi + rr;
13313
13313
  ir.lineOffset = Math.max(rr, br), ei += Ps, Fi = Math.max(Ps, Fi), ++nr;
13314
13314
  }
@@ -13475,7 +13475,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13475
13475
  }
13476
13476
  class Ov {
13477
13477
  constructor(c) {
13478
- this.layoutVertexArray = new Ia(), this.indexArray = new Xr(), this.programConfigurations = c, this.segments = new Zn(), this.dynamicLayoutVertexArray = new od(), this.opacityVertexArray = new lf(), this.hasVisibleVertices = !1, this.placedSymbolArray = new qt();
13478
+ this.layoutVertexArray = new Ia(), this.indexArray = new Xr(), this.programConfigurations = c, this.segments = new Zn(), this.dynamicLayoutVertexArray = new od(), this.opacityVertexArray = new lf(), this.hasVisibleVertices = !1, this.placedSymbolArray = new Gt();
13479
13479
  }
13480
13480
  isEmpty() {
13481
13481
  return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
@@ -13534,8 +13534,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13534
13534
  mt = ht instanceof Yr ? ht : Yr.fromString(ht);
13535
13535
  }
13536
13536
  if (!Ze && !mt) continue;
13537
- const Vt = this.sortFeaturesByKey ? F.evaluate(Re, {}, p) : void 0;
13538
- if (this.features.push({ id: ce, text: Ze, icon: mt, index: Te, sourceLayerIndex: ve, geometry: Re.geometry, properties: oe.properties, type: YO[oe.type], sortKey: Vt }), mt && (H[mt.name] = !0), Ze) {
13537
+ const jt = this.sortFeaturesByKey ? F.evaluate(Re, {}, p) : void 0;
13538
+ if (this.features.push({ id: ce, text: Ze, icon: mt, index: Te, sourceLayerIndex: ve, geometry: Re.geometry, properties: oe.properties, type: YO[oe.type], sortKey: jt }), mt && (H[mt.name] = !0), Ze) {
13539
13539
  const ht = E.evaluate(Re, {}, p).join(","), lt = k.get("text-rotation-alignment") !== "viewport" && k.get("symbol-placement") !== "point";
13540
13540
  this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(a.ah.vertical) >= 0;
13541
13541
  for (const Mt of Ze.sections) if (Mt.image) H[Mt.image.name] = !0;
@@ -13559,7 +13559,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13559
13559
  const wt = ce[lt];
13560
13560
  return delete ce[lt], ce[ht] = wt, ve[wt].geometry[0].shift(), ve[wt].geometry[0] = Mt[0].concat(ve[wt].geometry[0]), wt;
13561
13561
  }
13562
- function Vt(ht, lt, Mt) {
13562
+ function jt(ht, lt, Mt) {
13563
13563
  const wt = Mt ? lt[0][lt[0].length - 1] : lt[0][0];
13564
13564
  return `${ht}:${wt.x}:${wt.y}`;
13565
13565
  }
@@ -13569,10 +13569,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13569
13569
  Re(ht);
13570
13570
  continue;
13571
13571
  }
13572
- const vt = Vt(wt, Mt), Ne = Vt(wt, Mt, !0);
13572
+ const vt = jt(wt, Mt), Ne = jt(wt, Mt, !0);
13573
13573
  if (vt in Te && Ne in ce && Te[vt] !== ce[Ne]) {
13574
13574
  const It = mt(vt, Ne, Mt), At = Ze(vt, Ne, ve[It].geometry);
13575
- delete ce[vt], delete Te[Ne], Te[Vt(wt, ve[At].geometry, !0)] = At, ve[It].geometry = null;
13575
+ delete ce[vt], delete Te[Ne], Te[jt(wt, ve[At].geometry, !0)] = At, ve[It].geometry = null;
13576
13576
  } else vt in Te ? Ze(vt, Ne, Mt) : Ne in ce ? mt(vt, Ne, Mt) : (Re(ht), ce[vt] = Se - 1, Te[Ne] = Se - 1);
13577
13577
  }
13578
13578
  return ve.filter((ht) => ht.geometry);
@@ -13613,8 +13613,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13613
13613
  addSymbols(c, d, p, b, k, E, T, D, R, N, F, H) {
13614
13614
  const G = c.indexArray, J = c.layoutVertexArray, ee = c.segments.prepareSegment(4 * d.length, J, G, this.canOverlap ? E.sortKey : void 0), oe = this.glyphOffsetArray.length, ce = ee.vertexLength, Te = this.allowVerticalPlacement && T === a.ah.vertical ? Math.PI / 2 : 0, ve = E.text && E.text.sections;
13615
13615
  for (let Se = 0; Se < d.length; Se++) {
13616
- const { tl: Re, tr: Ze, bl: mt, br: Vt, tex: ht, pixelOffsetTL: lt, pixelOffsetBR: Mt, minFontScaleX: wt, minFontScaleY: vt, glyphOffset: Ne, isSDF: It, sectionIndex: At } = d[Se], Gt = ee.vertexLength, ei = Ne[1];
13617
- Ym(J, D.x, D.y, Re.x, ei + Re.y, ht.x, ht.y, p, It, lt.x, lt.y, wt, vt), Ym(J, D.x, D.y, Ze.x, ei + Ze.y, ht.x + ht.w, ht.y, p, It, Mt.x, lt.y, wt, vt), Ym(J, D.x, D.y, mt.x, ei + mt.y, ht.x, ht.y + ht.h, p, It, lt.x, Mt.y, wt, vt), Ym(J, D.x, D.y, Vt.x, ei + Vt.y, ht.x + ht.w, ht.y + ht.h, p, It, Mt.x, Mt.y, wt, vt), Rv(c.dynamicLayoutVertexArray, D, Te), G.emplaceBack(Gt, Gt + 1, Gt + 2), G.emplaceBack(Gt + 1, Gt + 2, Gt + 3), ee.vertexLength += 4, ee.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(Ne[0]), Se !== d.length - 1 && At === d[Se + 1].sectionIndex || c.programConfigurations.populatePaintArrays(J.length, E, E.index, {}, H, ve && ve[At]);
13616
+ const { tl: Re, tr: Ze, bl: mt, br: jt, tex: ht, pixelOffsetTL: lt, pixelOffsetBR: Mt, minFontScaleX: wt, minFontScaleY: vt, glyphOffset: Ne, isSDF: It, sectionIndex: At } = d[Se], Yt = ee.vertexLength, ei = Ne[1];
13617
+ Ym(J, D.x, D.y, Re.x, ei + Re.y, ht.x, ht.y, p, It, lt.x, lt.y, wt, vt), Ym(J, D.x, D.y, Ze.x, ei + Ze.y, ht.x + ht.w, ht.y, p, It, Mt.x, lt.y, wt, vt), Ym(J, D.x, D.y, mt.x, ei + mt.y, ht.x, ht.y + ht.h, p, It, lt.x, Mt.y, wt, vt), Ym(J, D.x, D.y, jt.x, ei + jt.y, ht.x + ht.w, ht.y + ht.h, p, It, Mt.x, Mt.y, wt, vt), Rv(c.dynamicLayoutVertexArray, D, Te), G.emplaceBack(Yt, Yt + 1, Yt + 2), G.emplaceBack(Yt + 1, Yt + 2, Yt + 3), ee.vertexLength += 4, ee.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(Ne[0]), Se !== d.length - 1 && At === d[Se + 1].sectionIndex || c.programConfigurations.populatePaintArrays(J.length, E, E.index, {}, H, ve && ve[At]);
13618
13618
  }
13619
13619
  c.placedSymbolArray.emplaceBack(D.x, D.y, oe, this.glyphOffsetArray.length - oe, ce, R, N, D.segment, p ? p[0] : 0, p ? p[1] : 0, b[0], b[1], T, 0, !1, 0, F);
13620
13620
  }
@@ -14140,9 +14140,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14140
14140
  }
14141
14141
  query(c, d, p, b) {
14142
14142
  this.loadVTLayers();
14143
- const k = c.params || {}, E = Ri / c.tileSize / c.scale, T = xl(k.filter), D = c.queryGeometry, R = c.queryPadding * E, N = $k(D), F = this.grid.query(N.minX - R, N.minY - R, N.maxX + R, N.maxY + R), H = $k(c.cameraQueryGeometry), G = this.grid3D.query(H.minX - R, H.minY - R, H.maxX + R, H.maxY + R, (oe, ce, Te, ve) => function(Se, Re, Ze, mt, Vt) {
14144
- for (const lt of Se) if (Re <= lt.x && Ze <= lt.y && mt >= lt.x && Vt >= lt.y) return !0;
14145
- const ht = [new _(Re, Ze), new _(Re, Vt), new _(mt, Vt), new _(mt, Ze)];
14143
+ const k = c.params || {}, E = Ri / c.tileSize / c.scale, T = xl(k.filter), D = c.queryGeometry, R = c.queryPadding * E, N = $k(D), F = this.grid.query(N.minX - R, N.minY - R, N.maxX + R, N.maxY + R), H = $k(c.cameraQueryGeometry), G = this.grid3D.query(H.minX - R, H.minY - R, H.maxX + R, H.maxY + R, (oe, ce, Te, ve) => function(Se, Re, Ze, mt, jt) {
14144
+ for (const lt of Se) if (Re <= lt.x && Ze <= lt.y && mt >= lt.x && jt >= lt.y) return !0;
14145
+ const ht = [new _(Re, Ze), new _(Re, jt), new _(mt, jt), new _(mt, Ze)];
14146
14146
  if (Se.length > 2) {
14147
14147
  for (const lt of ht) if (ud(Se, lt)) return !0;
14148
14148
  }
@@ -14314,25 +14314,25 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14314
14314
  const b = [], k = u.image, E = k.pixelRatio, T = k.paddedRect.w - 2 * vd, D = k.paddedRect.h - 2 * vd;
14315
14315
  let R = { x1: u.left, y1: u.top, x2: u.right, y2: u.bottom };
14316
14316
  const N = k.stretchX || [[0, T]], F = k.stretchY || [[0, D]], H = (Ne, It) => Ne + It[1] - It[0], G = N.reduce(H, 0), J = F.reduce(H, 0), ee = T - G, oe = D - J;
14317
- let ce = 0, Te = G, ve = 0, Se = J, Re = 0, Ze = ee, mt = 0, Vt = oe;
14317
+ let ce = 0, Te = G, ve = 0, Se = J, Re = 0, Ze = ee, mt = 0, jt = oe;
14318
14318
  if (k.content && p) {
14319
14319
  const Ne = k.content, It = Ne[2] - Ne[0], At = Ne[3] - Ne[1];
14320
- (k.textFitWidth || k.textFitHeight) && (R = _k(u)), ce = Xm(N, 0, Ne[0]), ve = Xm(F, 0, Ne[1]), Te = Xm(N, Ne[0], Ne[2]), Se = Xm(F, Ne[1], Ne[3]), Re = Ne[0] - ce, mt = Ne[1] - ve, Ze = It - Te, Vt = At - Se;
14320
+ (k.textFitWidth || k.textFitHeight) && (R = _k(u)), ce = Xm(N, 0, Ne[0]), ve = Xm(F, 0, Ne[1]), Te = Xm(N, Ne[0], Ne[2]), Se = Xm(F, Ne[1], Ne[3]), Re = Ne[0] - ce, mt = Ne[1] - ve, Ze = It - Te, jt = At - Se;
14321
14321
  }
14322
- const ht = R.x1, lt = R.y1, Mt = R.x2 - ht, wt = R.y2 - lt, vt = (Ne, It, At, Gt) => {
14323
- const ei = Km(Ne.stretch - ce, Te, Mt, ht), Kn = Jm(Ne.fixed - Re, Ze, Ne.stretch, G), Fi = Km(It.stretch - ve, Se, wt, lt), eo = Jm(It.fixed - mt, Vt, It.stretch, J), nr = Km(At.stretch - ce, Te, Mt, ht), $i = Jm(At.fixed - Re, Ze, At.stretch, G), Rr = Km(Gt.stretch - ve, Se, wt, lt), Or = Jm(Gt.fixed - mt, Vt, Gt.stretch, J), zr = new _(ei, Fi), Si = new _(nr, Fi), Vi = new _(nr, Rr), br = new _(ei, Rr), ir = new _(Kn / E, eo / E), Lr = new _($i / E, Or / E), rr = c * Math.PI / 180;
14322
+ const ht = R.x1, lt = R.y1, Mt = R.x2 - ht, wt = R.y2 - lt, vt = (Ne, It, At, Yt) => {
14323
+ const ei = Km(Ne.stretch - ce, Te, Mt, ht), Kn = Jm(Ne.fixed - Re, Ze, Ne.stretch, G), Fi = Km(It.stretch - ve, Se, wt, lt), eo = Jm(It.fixed - mt, jt, It.stretch, J), nr = Km(At.stretch - ce, Te, Mt, ht), $i = Jm(At.fixed - Re, Ze, At.stretch, G), Rr = Km(Yt.stretch - ve, Se, wt, lt), Or = Jm(Yt.fixed - mt, jt, Yt.stretch, J), zr = new _(ei, Fi), Si = new _(nr, Fi), Vi = new _(nr, Rr), br = new _(ei, Rr), ir = new _(Kn / E, eo / E), Lr = new _($i / E, Or / E), rr = c * Math.PI / 180;
14324
14324
  if (rr) {
14325
14325
  const Dn = Math.sin(rr), ri = Math.cos(rr), ci = [ri, -Dn, Dn, ri];
14326
14326
  zr._matMult(ci), Si._matMult(ci), br._matMult(ci), Vi._matMult(ci);
14327
14327
  }
14328
14328
  const Ps = Ne.stretch + Ne.fixed, Jr = It.stretch + It.fixed;
14329
- return { tl: zr, tr: Si, bl: br, br: Vi, tex: { x: k.paddedRect.x + vd + Ps, y: k.paddedRect.y + vd + Jr, w: At.stretch + At.fixed - Ps, h: Gt.stretch + Gt.fixed - Jr }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: ir, pixelOffsetBR: Lr, minFontScaleX: Ze / E / Mt, minFontScaleY: Vt / E / wt, isSDF: d };
14329
+ return { tl: zr, tr: Si, bl: br, br: Vi, tex: { x: k.paddedRect.x + vd + Ps, y: k.paddedRect.y + vd + Jr, w: At.stretch + At.fixed - Ps, h: Yt.stretch + Yt.fixed - Jr }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: ir, pixelOffsetBR: Lr, minFontScaleX: Ze / E / Mt, minFontScaleY: jt / E / wt, isSDF: d };
14330
14330
  };
14331
14331
  if (p && (k.stretchX || k.stretchY)) {
14332
14332
  const Ne = Yk(N, ee, G), It = Yk(F, oe, J);
14333
14333
  for (let At = 0; At < Ne.length - 1; At++) {
14334
- const Gt = Ne[At], ei = Ne[At + 1];
14335
- for (let Kn = 0; Kn < It.length - 1; Kn++) b.push(vt(Gt, It[Kn], ei, It[Kn + 1]));
14334
+ const Yt = Ne[At], ei = Ne[At + 1];
14335
+ for (let Kn = 0; Kn < It.length - 1; Kn++) b.push(vt(Yt, It[Kn], ei, It[Kn + 1]));
14336
14336
  }
14337
14337
  } else b.push(vt({ fixed: 0, stretch: -1 }, { fixed: 0, stretch: -1 }, { fixed: 0, stretch: T + 1 }, { fixed: 0, stretch: D + 1 }));
14338
14338
  return b;
@@ -14559,28 +14559,28 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14559
14559
  function cz(u, c, d, p, b, k, E, T, D, R, N) {
14560
14560
  let F = k.textMaxSize.evaluate(c, {});
14561
14561
  F === void 0 && (F = E);
14562
- const H = u.layers[0].layout, G = H.get("icon-offset").evaluate(c, {}, N), J = Jk(d.horizontal), ee = E / 24, oe = u.tilePixelRatio * ee, ce = u.tilePixelRatio * F / 24, Te = u.tilePixelRatio * T, ve = u.tilePixelRatio * H.get("symbol-spacing"), Se = H.get("text-padding") * u.tilePixelRatio, Re = function(Ne, It, At, Gt = 1) {
14562
+ const H = u.layers[0].layout, G = H.get("icon-offset").evaluate(c, {}, N), J = Jk(d.horizontal), ee = E / 24, oe = u.tilePixelRatio * ee, ce = u.tilePixelRatio * F / 24, Te = u.tilePixelRatio * T, ve = u.tilePixelRatio * H.get("symbol-spacing"), Se = H.get("text-padding") * u.tilePixelRatio, Re = function(Ne, It, At, Yt = 1) {
14563
14563
  const ei = Ne.get("icon-padding").evaluate(It, {}, At), Kn = ei && ei.values;
14564
- return [Kn[0] * Gt, Kn[1] * Gt, Kn[2] * Gt, Kn[3] * Gt];
14565
- }(H, c, N, u.tilePixelRatio), Ze = H.get("text-max-angle") / 180 * Math.PI, mt = H.get("text-rotation-alignment") !== "viewport" && H.get("symbol-placement") !== "point", Vt = H.get("icon-rotation-alignment") === "map" && H.get("symbol-placement") !== "point", ht = H.get("symbol-placement"), lt = ve / 2, Mt = H.get("icon-text-fit");
14564
+ return [Kn[0] * Yt, Kn[1] * Yt, Kn[2] * Yt, Kn[3] * Yt];
14565
+ }(H, c, N, u.tilePixelRatio), Ze = H.get("text-max-angle") / 180 * Math.PI, mt = H.get("text-rotation-alignment") !== "viewport" && H.get("symbol-placement") !== "point", jt = H.get("icon-rotation-alignment") === "map" && H.get("symbol-placement") !== "point", ht = H.get("symbol-placement"), lt = ve / 2, Mt = H.get("icon-text-fit");
14566
14566
  let wt;
14567
14567
  p && Mt !== "none" && (u.allowVerticalPlacement && d.vertical && (wt = xk(p, d.vertical, Mt, H.get("icon-text-fit-padding"), G, ee)), J && (p = xk(p, J, Mt, H.get("icon-text-fit-padding"), G, ee)));
14568
14568
  const vt = (Ne, It) => {
14569
- It.x < 0 || It.x >= Ri || It.y < 0 || It.y >= Ri || function(At, Gt, ei, Kn, Fi, eo, nr, $i, Rr, Or, zr, Si, Vi, br, ir, Lr, rr, Ps, Jr, Dn, ri, ci, us, yi, _d) {
14570
- const qo = At.addToLineVertexArray(Gt, ei);
14569
+ It.x < 0 || It.x >= Ri || It.y < 0 || It.y >= Ri || function(At, Yt, ei, Kn, Fi, eo, nr, $i, Rr, Or, zr, Si, Vi, br, ir, Lr, rr, Ps, Jr, Dn, ri, ci, us, yi, _d) {
14570
+ const qo = At.addToLineVertexArray(Yt, ei);
14571
14571
  let Go, to, Rs, Xi, za = 0, Tf = 0, nS = 0, iS = 0, Zv = -1, Xv = -1;
14572
14572
  const La = {};
14573
14573
  let rS = ld("");
14574
14574
  if (At.allowVerticalPlacement && Kn.vertical) {
14575
14575
  const _r = $i.layout.get("text-rotate").evaluate(ri, {}, yi) + 90;
14576
- Rs = new Qm(Rr, Gt, Or, zr, Si, Kn.vertical, Vi, br, ir, _r), nr && (Xi = new Qm(Rr, Gt, Or, zr, Si, nr, rr, Ps, ir, _r));
14576
+ Rs = new Qm(Rr, Yt, Or, zr, Si, Kn.vertical, Vi, br, ir, _r), nr && (Xi = new Qm(Rr, Yt, Or, zr, Si, nr, rr, Ps, ir, _r));
14577
14577
  }
14578
14578
  if (Fi) {
14579
14579
  const _r = $i.layout.get("icon-rotate").evaluate(ri, {}), Os = $i.layout.get("icon-text-fit") !== "none", jc = Gk(Fi, _r, us, Os), So = nr ? Gk(nr, _r, us, Os) : void 0;
14580
- to = new Qm(Rr, Gt, Or, zr, Si, Fi, rr, Ps, !1, _r), za = 4 * jc.length;
14580
+ to = new Qm(Rr, Yt, Or, zr, Si, Fi, rr, Ps, !1, _r), za = 4 * jc.length;
14581
14581
  const Hc = At.iconSizeData;
14582
14582
  let Yo = null;
14583
- Hc.kind === "source" ? (Yo = [Wo * $i.layout.get("icon-size").evaluate(ri, {})], Yo[0] > Ml && je(`${At.layerIds[0]}: Value for "icon-size" is >= ${wf}. Reduce your "icon-size".`)) : Hc.kind === "composite" && (Yo = [Wo * ci.compositeIconSizes[0].evaluate(ri, {}, yi), Wo * ci.compositeIconSizes[1].evaluate(ri, {}, yi)], (Yo[0] > Ml || Yo[1] > Ml) && je(`${At.layerIds[0]}: Value for "icon-size" is >= ${wf}. Reduce your "icon-size".`)), At.addSymbols(At.icon, jc, Yo, Dn, Jr, ri, a.ah.none, Gt, qo.lineStartIndex, qo.lineLength, -1, yi), Zv = At.icon.placedSymbolArray.length - 1, So && (Tf = 4 * So.length, At.addSymbols(At.icon, So, Yo, Dn, Jr, ri, a.ah.vertical, Gt, qo.lineStartIndex, qo.lineLength, -1, yi), Xv = At.icon.placedSymbolArray.length - 1);
14583
+ Hc.kind === "source" ? (Yo = [Wo * $i.layout.get("icon-size").evaluate(ri, {})], Yo[0] > Ml && je(`${At.layerIds[0]}: Value for "icon-size" is >= ${wf}. Reduce your "icon-size".`)) : Hc.kind === "composite" && (Yo = [Wo * ci.compositeIconSizes[0].evaluate(ri, {}, yi), Wo * ci.compositeIconSizes[1].evaluate(ri, {}, yi)], (Yo[0] > Ml || Yo[1] > Ml) && je(`${At.layerIds[0]}: Value for "icon-size" is >= ${wf}. Reduce your "icon-size".`)), At.addSymbols(At.icon, jc, Yo, Dn, Jr, ri, a.ah.none, Yt, qo.lineStartIndex, qo.lineLength, -1, yi), Zv = At.icon.placedSymbolArray.length - 1, So && (Tf = 4 * So.length, At.addSymbols(At.icon, So, Yo, Dn, Jr, ri, a.ah.vertical, Yt, qo.lineStartIndex, qo.lineLength, -1, yi), Xv = At.icon.placedSymbolArray.length - 1);
14584
14584
  }
14585
14585
  const sS = Object.keys(Kn.horizontal);
14586
14586
  for (const _r of sS) {
@@ -14588,12 +14588,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14588
14588
  if (!Go) {
14589
14589
  rS = ld(Os.text);
14590
14590
  const So = $i.layout.get("text-rotate").evaluate(ri, {}, yi);
14591
- Go = new Qm(Rr, Gt, Or, zr, Si, Os, Vi, br, ir, So);
14591
+ Go = new Qm(Rr, Yt, Or, zr, Si, Os, Vi, br, ir, So);
14592
14592
  }
14593
14593
  const jc = Os.positionedLines.length === 1;
14594
- if (nS += Kk(At, Gt, Os, eo, $i, ir, ri, Lr, qo, Kn.vertical ? a.ah.horizontal : a.ah.horizontalOnly, jc ? sS : [_r], La, Zv, ci, yi), jc) break;
14594
+ if (nS += Kk(At, Yt, Os, eo, $i, ir, ri, Lr, qo, Kn.vertical ? a.ah.horizontal : a.ah.horizontalOnly, jc ? sS : [_r], La, Zv, ci, yi), jc) break;
14595
14595
  }
14596
- Kn.vertical && (iS += Kk(At, Gt, Kn.vertical, eo, $i, ir, ri, Lr, qo, a.ah.vertical, ["vertical"], La, Xv, ci, yi));
14596
+ Kn.vertical && (iS += Kk(At, Yt, Kn.vertical, eo, $i, ir, ri, Lr, qo, a.ah.vertical, ["vertical"], La, Xv, ci, yi));
14597
14597
  const hz = Go ? Go.boxStartIndex : At.collisionBoxArray.length, fz = Go ? Go.boxEndIndex : At.collisionBoxArray.length, pz = Rs ? Rs.boxStartIndex : At.collisionBoxArray.length, mz = Rs ? Rs.boxEndIndex : At.collisionBoxArray.length, gz = to ? to.boxStartIndex : At.collisionBoxArray.length, yz = to ? to.boxEndIndex : At.collisionBoxArray.length, vz = Xi ? Xi.boxStartIndex : At.collisionBoxArray.length, bz = Xi ? Xi.boxEndIndex : At.collisionBoxArray.length;
14598
14598
  let ko = -1;
14599
14599
  const tg = (_r, Os) => _r && _r.circleDiameter ? Math.max(_r.circleDiameter, Os) : Os;
@@ -14608,8 +14608,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14608
14608
  }
14609
14609
  return [jc, _r.length];
14610
14610
  }(At.textAnchorOffsets, _z);
14611
- At.symbolInstances.emplaceBack(Gt.x, Gt.y, La.right >= 0 ? La.right : -1, La.center >= 0 ? La.center : -1, La.left >= 0 ? La.left : -1, La.vertical || -1, Zv, Xv, rS, hz, fz, pz, mz, gz, yz, vz, bz, Or, nS, iS, za, Tf, oS, 0, Vi, ko, xz, wz);
14612
- }(u, It, Ne, d, p, b, wt, u.layers[0], u.collisionBoxArray, c.index, c.sourceLayerIndex, u.index, oe, [Se, Se, Se, Se], mt, D, Te, Re, Vt, G, c, k, R, N, E);
14611
+ At.symbolInstances.emplaceBack(Yt.x, Yt.y, La.right >= 0 ? La.right : -1, La.center >= 0 ? La.center : -1, La.left >= 0 ? La.left : -1, La.vertical || -1, Zv, Xv, rS, hz, fz, pz, mz, gz, yz, vz, bz, Or, nS, iS, za, Tf, oS, 0, Vi, ko, xz, wz);
14612
+ }(u, It, Ne, d, p, b, wt, u.layers[0], u.collisionBoxArray, c.index, c.sourceLayerIndex, u.index, oe, [Se, Se, Se, Se], mt, D, Te, Re, jt, G, c, k, R, N, E);
14613
14613
  };
14614
14614
  if (ht === "line") for (const Ne of Vk(c.geometry, 0, 0, Ri, Ri)) {
14615
14615
  const It = sz(Ne, ve, Ze, d.vertical || J, p, 24, ce, u.overscaling, Ri);
@@ -14628,21 +14628,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14628
14628
  else if (c.type === "Point") for (const Ne of c.geometry) for (const It of Ne) vt([It], new Il(It.x, It.y, 0));
14629
14629
  }
14630
14630
  function Kk(u, c, d, p, b, k, E, T, D, R, N, F, H, G, J) {
14631
- const ee = function(Te, ve, Se, Re, Ze, mt, Vt, ht) {
14631
+ const ee = function(Te, ve, Se, Re, Ze, mt, jt, ht) {
14632
14632
  const lt = Re.layout.get("text-rotate").evaluate(mt, {}) * Math.PI / 180, Mt = [];
14633
14633
  for (const wt of ve.positionedLines) for (const vt of wt.positionedGlyphs) {
14634
14634
  if (!vt.rect) continue;
14635
14635
  const Ne = vt.rect || {};
14636
- let It = fk + 1, At = !0, Gt = 1, ei = 0;
14636
+ let It = fk + 1, At = !0, Yt = 1, ei = 0;
14637
14637
  const Kn = (Ze || ht) && vt.vertical, Fi = vt.metrics.advance * vt.scale / 2;
14638
14638
  if (ht && ve.verticalizable && (ei = wt.lineOffset / 2 - (vt.imageName ? -(zi - vt.metrics.width * vt.scale) / 2 : (vt.scale - 1) * zi)), vt.imageName) {
14639
- const Dn = Vt[vt.imageName];
14640
- At = Dn.sdf, Gt = Dn.pixelRatio, It = Kr / Gt;
14639
+ const Dn = jt[vt.imageName];
14640
+ At = Dn.sdf, Yt = Dn.pixelRatio, It = Kr / Yt;
14641
14641
  }
14642
14642
  const eo = Ze ? [vt.x + Fi, vt.y] : [0, 0];
14643
14643
  let nr = Ze ? [0, 0] : [vt.x + Fi + Se[0], vt.y + Se[1] - ei], $i = [0, 0];
14644
14644
  Kn && ($i = nr, nr = [0, 0]);
14645
- const Rr = vt.metrics.isDoubleResolution ? 2 : 1, Or = (vt.metrics.left - It) * vt.scale - Fi + nr[0], zr = (-vt.metrics.top - It) * vt.scale + nr[1], Si = Or + Ne.w / Rr * vt.scale / Gt, Vi = zr + Ne.h / Rr * vt.scale / Gt, br = new _(Or, zr), ir = new _(Si, zr), Lr = new _(Or, Vi), rr = new _(Si, Vi);
14645
+ const Rr = vt.metrics.isDoubleResolution ? 2 : 1, Or = (vt.metrics.left - It) * vt.scale - Fi + nr[0], zr = (-vt.metrics.top - It) * vt.scale + nr[1], Si = Or + Ne.w / Rr * vt.scale / Yt, Vi = zr + Ne.h / Rr * vt.scale / Yt, br = new _(Or, zr), ir = new _(Si, zr), Lr = new _(Or, Vi), rr = new _(Si, Vi);
14646
14646
  if (Kn) {
14647
14647
  const Dn = new _(-Fi, Fi - _f), ri = -Math.PI / 2, ci = zi / 2 - Fi, us = new _(5 - _f - ci, -(vt.imageName ? ci : 0)), yi = new _(...$i);
14648
14648
  br._rotateAround(ri, Dn)._add(us)._add(yi), ir._rotateAround(ri, Dn)._add(us)._add(yi), Lr._rotateAround(ri, Dn)._add(us)._add(yi), rr._rotateAround(ri, Dn)._add(us)._add(yi);
@@ -14783,18 +14783,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14783
14783
  } };
14784
14784
  a.$ = class extends B {
14785
14785
  }, a.A = dd, a.B = tv, a.C = function(u) {
14786
- if ($t == null) {
14786
+ if (Vt == null) {
14787
14787
  const c = u.navigator ? u.navigator.userAgent : null;
14788
- $t = !!u.safari || !(!c || !(/\b(iPad|iPhone|iPod)\b/.test(c) || c.match("Safari") && !c.match("Chrome")));
14788
+ Vt = !!u.safari || !(!c || !(/\b(iPad|iPhone|iPod)\b/.test(c) || c.match("Safari") && !c.match("Chrome")));
14789
14789
  }
14790
- return $t;
14790
+ return Vt;
14791
14791
  }, a.D = Dt, a.E = An, a.F = class {
14792
14792
  constructor(u, c) {
14793
14793
  this.target = u, this.mapId = c, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new nz(() => this.process()), this.subscription = function(d, p, b, k) {
14794
14794
  return d.addEventListener(p, b, !1), { unsubscribe: () => {
14795
14795
  d.removeEventListener(p, b, !1);
14796
14796
  } };
14797
- }(this.target, "message", (d) => this.receive(d)), this.globalScope = Ft(self) ? u : window;
14797
+ }(this.target, "message", (d) => this.receive(d)), this.globalScope = $t(self) ? u : window;
14798
14798
  }
14799
14799
  registerMessageHandler(u, c) {
14800
14800
  this.messageHandlers[u] = c;
@@ -14819,7 +14819,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14819
14819
  const p = this.abortControllers[d];
14820
14820
  return delete this.abortControllers[d], void (p && p.abort());
14821
14821
  }
14822
- if (Ft(self) || c.mustQueue) return this.tasks[d] = c, this.taskQueue.push(d), void this.invoker.trigger();
14822
+ if ($t(self) || c.mustQueue) return this.tasks[d] = c, this.taskQueue.push(d), void this.invoker.trigger();
14823
14823
  this.processTask(d, c);
14824
14824
  }
14825
14825
  }
@@ -14871,8 +14871,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14871
14871
  }
14872
14872
  return d;
14873
14873
  }, a.N = Dl, a.O = Dk, a.P = _, a.Q = Ik, a.R = Ds, a.S = Is, a.T = of, a.U = $, a.V = q, a.W = hn, a.X = Ri, a.Y = x, a.Z = kf, a._ = o, a.a = zn, a.a$ = function(u, c) {
14874
- var d = u[0], p = u[1], b = u[2], k = u[3], E = u[4], T = u[5], D = u[6], R = u[7], N = u[8], F = u[9], H = u[10], G = u[11], J = u[12], ee = u[13], oe = u[14], ce = u[15], Te = c[0], ve = c[1], Se = c[2], Re = c[3], Ze = c[4], mt = c[5], Vt = c[6], ht = c[7], lt = c[8], Mt = c[9], wt = c[10], vt = c[11], Ne = c[12], It = c[13], At = c[14], Gt = c[15];
14875
- return Math.abs(d - Te) <= Pr * Math.max(1, Math.abs(d), Math.abs(Te)) && Math.abs(p - ve) <= Pr * Math.max(1, Math.abs(p), Math.abs(ve)) && Math.abs(b - Se) <= Pr * Math.max(1, Math.abs(b), Math.abs(Se)) && Math.abs(k - Re) <= Pr * Math.max(1, Math.abs(k), Math.abs(Re)) && Math.abs(E - Ze) <= Pr * Math.max(1, Math.abs(E), Math.abs(Ze)) && Math.abs(T - mt) <= Pr * Math.max(1, Math.abs(T), Math.abs(mt)) && Math.abs(D - Vt) <= Pr * Math.max(1, Math.abs(D), Math.abs(Vt)) && Math.abs(R - ht) <= Pr * Math.max(1, Math.abs(R), Math.abs(ht)) && Math.abs(N - lt) <= Pr * Math.max(1, Math.abs(N), Math.abs(lt)) && Math.abs(F - Mt) <= Pr * Math.max(1, Math.abs(F), Math.abs(Mt)) && Math.abs(H - wt) <= Pr * Math.max(1, Math.abs(H), Math.abs(wt)) && Math.abs(G - vt) <= Pr * Math.max(1, Math.abs(G), Math.abs(vt)) && Math.abs(J - Ne) <= Pr * Math.max(1, Math.abs(J), Math.abs(Ne)) && Math.abs(ee - It) <= Pr * Math.max(1, Math.abs(ee), Math.abs(It)) && Math.abs(oe - At) <= Pr * Math.max(1, Math.abs(oe), Math.abs(At)) && Math.abs(ce - Gt) <= Pr * Math.max(1, Math.abs(ce), Math.abs(Gt));
14874
+ var d = u[0], p = u[1], b = u[2], k = u[3], E = u[4], T = u[5], D = u[6], R = u[7], N = u[8], F = u[9], H = u[10], G = u[11], J = u[12], ee = u[13], oe = u[14], ce = u[15], Te = c[0], ve = c[1], Se = c[2], Re = c[3], Ze = c[4], mt = c[5], jt = c[6], ht = c[7], lt = c[8], Mt = c[9], wt = c[10], vt = c[11], Ne = c[12], It = c[13], At = c[14], Yt = c[15];
14875
+ return Math.abs(d - Te) <= Pr * Math.max(1, Math.abs(d), Math.abs(Te)) && Math.abs(p - ve) <= Pr * Math.max(1, Math.abs(p), Math.abs(ve)) && Math.abs(b - Se) <= Pr * Math.max(1, Math.abs(b), Math.abs(Se)) && Math.abs(k - Re) <= Pr * Math.max(1, Math.abs(k), Math.abs(Re)) && Math.abs(E - Ze) <= Pr * Math.max(1, Math.abs(E), Math.abs(Ze)) && Math.abs(T - mt) <= Pr * Math.max(1, Math.abs(T), Math.abs(mt)) && Math.abs(D - jt) <= Pr * Math.max(1, Math.abs(D), Math.abs(jt)) && Math.abs(R - ht) <= Pr * Math.max(1, Math.abs(R), Math.abs(ht)) && Math.abs(N - lt) <= Pr * Math.max(1, Math.abs(N), Math.abs(lt)) && Math.abs(F - Mt) <= Pr * Math.max(1, Math.abs(F), Math.abs(Mt)) && Math.abs(H - wt) <= Pr * Math.max(1, Math.abs(H), Math.abs(wt)) && Math.abs(G - vt) <= Pr * Math.max(1, Math.abs(G), Math.abs(vt)) && Math.abs(J - Ne) <= Pr * Math.max(1, Math.abs(J), Math.abs(Ne)) && Math.abs(ee - It) <= Pr * Math.max(1, Math.abs(ee), Math.abs(It)) && Math.abs(oe - At) <= Pr * Math.max(1, Math.abs(oe), Math.abs(At)) && Math.abs(ce - Yt) <= Pr * Math.max(1, Math.abs(ce), Math.abs(Yt));
14876
14876
  }, a.a0 = Zn, a.a1 = Fv, a.a2 = Ke, a.a3 = (u) => {
14877
14877
  const c = window.document.createElement("video");
14878
14878
  return c.muted = !0, new Promise((d) => {
@@ -15035,8 +15035,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15035
15035
  for (const k of u) c = Math.min(c, k.x), d = Math.min(d, k.y), p = Math.max(p, k.x), b = Math.max(b, k.y);
15036
15036
  return [c, d, p, b];
15037
15037
  }, a.ap = zi, a.ar = Pv, a.as = function(u, c) {
15038
- var d = c[0], p = c[1], b = c[2], k = c[3], E = c[4], T = c[5], D = c[6], R = c[7], N = c[8], F = c[9], H = c[10], G = c[11], J = c[12], ee = c[13], oe = c[14], ce = c[15], Te = d * T - p * E, ve = d * D - b * E, Se = d * R - k * E, Re = p * D - b * T, Ze = p * R - k * T, mt = b * R - k * D, Vt = N * ee - F * J, ht = N * oe - H * J, lt = N * ce - G * J, Mt = F * oe - H * ee, wt = F * ce - G * ee, vt = H * ce - G * oe, Ne = Te * vt - ve * wt + Se * Mt + Re * lt - Ze * ht + mt * Vt;
15039
- return Ne ? (u[0] = (T * vt - D * wt + R * Mt) * (Ne = 1 / Ne), u[1] = (b * wt - p * vt - k * Mt) * Ne, u[2] = (ee * mt - oe * Ze + ce * Re) * Ne, u[3] = (H * Ze - F * mt - G * Re) * Ne, u[4] = (D * lt - E * vt - R * ht) * Ne, u[5] = (d * vt - b * lt + k * ht) * Ne, u[6] = (oe * Se - J * mt - ce * ve) * Ne, u[7] = (N * mt - H * Se + G * ve) * Ne, u[8] = (E * wt - T * lt + R * Vt) * Ne, u[9] = (p * lt - d * wt - k * Vt) * Ne, u[10] = (J * Ze - ee * Se + ce * Te) * Ne, u[11] = (F * Se - N * Ze - G * Te) * Ne, u[12] = (T * ht - E * Mt - D * Vt) * Ne, u[13] = (d * Mt - p * ht + b * Vt) * Ne, u[14] = (ee * ve - J * Re - oe * Te) * Ne, u[15] = (N * Re - F * ve + H * Te) * Ne, u) : null;
15038
+ var d = c[0], p = c[1], b = c[2], k = c[3], E = c[4], T = c[5], D = c[6], R = c[7], N = c[8], F = c[9], H = c[10], G = c[11], J = c[12], ee = c[13], oe = c[14], ce = c[15], Te = d * T - p * E, ve = d * D - b * E, Se = d * R - k * E, Re = p * D - b * T, Ze = p * R - k * T, mt = b * R - k * D, jt = N * ee - F * J, ht = N * oe - H * J, lt = N * ce - G * J, Mt = F * oe - H * ee, wt = F * ce - G * ee, vt = H * ce - G * oe, Ne = Te * vt - ve * wt + Se * Mt + Re * lt - Ze * ht + mt * jt;
15039
+ return Ne ? (u[0] = (T * vt - D * wt + R * Mt) * (Ne = 1 / Ne), u[1] = (b * wt - p * vt - k * Mt) * Ne, u[2] = (ee * mt - oe * Ze + ce * Re) * Ne, u[3] = (H * Ze - F * mt - G * Re) * Ne, u[4] = (D * lt - E * vt - R * ht) * Ne, u[5] = (d * vt - b * lt + k * ht) * Ne, u[6] = (oe * Se - J * mt - ce * ve) * Ne, u[7] = (N * mt - H * Se + G * ve) * Ne, u[8] = (E * wt - T * lt + R * jt) * Ne, u[9] = (p * lt - d * wt - k * jt) * Ne, u[10] = (J * Ze - ee * Se + ce * Te) * Ne, u[11] = (F * Se - N * Ze - G * Te) * Ne, u[12] = (T * ht - E * Mt - D * jt) * Ne, u[13] = (d * Mt - p * ht + b * jt) * Ne, u[14] = (ee * ve - J * Re - oe * Te) * Ne, u[15] = (N * Re - F * ve + H * Te) * Ne, u) : null;
15040
15040
  }, a.at = Vv, a.au = Iv, a.av = jv, a.aw = function() {
15041
15041
  const u = {}, c = De.$version;
15042
15042
  for (const d in De.$root) {
@@ -15053,7 +15053,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15053
15053
  for (let d = 0; d < u.length; d++) c[u[d].id] = u[d];
15054
15054
  for (let d = 0; d < u.length; d++) "ref" in u[d] && (u[d] = Gs(u[d], c[u[d].ref]));
15055
15055
  return u;
15056
- }, a.b = jt, a.b0 = function(u, c) {
15056
+ }, a.b = Bt, a.b0 = function(u, c) {
15057
15057
  return u[0] = c[0], u[1] = c[1], u[2] = c[2], u[3] = c[3], u[4] = c[4], u[5] = c[5], u[6] = c[6], u[7] = c[7], u[8] = c[8], u[9] = c[9], u[10] = c[10], u[11] = c[11], u[12] = c[12], u[13] = c[13], u[14] = c[14], u[15] = c[15], u;
15058
15058
  }, a.b1 = function(u, c, d) {
15059
15059
  return u[0] = c[0] * d[0], u[1] = c[1] * d[1], u[2] = c[2] * d[2], u[3] = c[3] * d[3], u;
@@ -15106,8 +15106,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15106
15106
  const N = d.get("text-font").evaluate(R, {}, u.canonical).join(","), F = D.evaluate(R, {}, u.canonical), H = b.layoutTextSize.evaluate(R, {}, u.canonical), G = b.layoutIconSize.evaluate(R, {}, u.canonical), J = { horizontal: {}, vertical: void 0 }, ee = R.text;
15107
15107
  let oe, ce = [0, 0];
15108
15108
  if (ee) {
15109
- const Se = ee.toString(), Re = d.get("text-letter-spacing").evaluate(R, {}, u.canonical) * zi, Ze = iv(Se) ? Re : 0, mt = d.get("text-anchor").evaluate(R, {}, u.canonical), Vt = Xk(c, R, u.canonical);
15110
- if (!Vt) {
15109
+ const Se = ee.toString(), Re = d.get("text-letter-spacing").evaluate(R, {}, u.canonical) * zi, Ze = iv(Se) ? Re : 0, mt = d.get("text-anchor").evaluate(R, {}, u.canonical), jt = Xk(c, R, u.canonical);
15110
+ if (!jt) {
15111
15111
  const wt = d.get("text-radial-offset").evaluate(R, {}, u.canonical);
15112
15112
  ce = wt ? Zk(mt, [wt * zi, $v]) : d.get("text-offset").evaluate(R, {}, u.canonical).map((vt) => vt * zi);
15113
15113
  }
@@ -15115,9 +15115,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15115
15115
  const lt = d.get("symbol-placement") === "point" ? d.get("text-max-width").evaluate(R, {}, u.canonical) * zi : 1 / 0, Mt = () => {
15116
15116
  u.bucket.allowVerticalPlacement && nf(Se) && (J.vertical = qm(ee, u.glyphMap, u.glyphPositions, u.imagePositions, N, lt, k, mt, "left", Ze, ce, a.ah.vertical, !0, H, F));
15117
15117
  };
15118
- if (!E && Vt) {
15118
+ if (!E && jt) {
15119
15119
  const wt = /* @__PURE__ */ new Set();
15120
- if (ht === "auto") for (let Ne = 0; Ne < Vt.values.length; Ne += 2) wt.add(Vv(Vt.values[Ne]));
15120
+ if (ht === "auto") for (let Ne = 0; Ne < jt.values.length; Ne += 2) wt.add(Vv(jt.values[Ne]));
15121
15121
  else wt.add(ht);
15122
15122
  let vt = !1;
15123
15123
  for (const Ne of wt) if (!J.horizontal[Ne]) if (vt) J.horizontal[Ne] = J.horizontal[0];
@@ -15175,12 +15175,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15175
15175
  const p = new Image();
15176
15176
  p.onload = () => {
15177
15177
  c(p), URL.revokeObjectURL(p.src), p.onload = null, window.requestAnimationFrame(() => {
15178
- p.src = Yt;
15178
+ p.src = Ut;
15179
15179
  });
15180
15180
  }, p.onerror = () => d(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));
15181
15181
  const b = new Blob([new Uint8Array(u)], { type: "image/png" });
15182
- p.src = u.byteLength ? URL.createObjectURL(b) : Yt;
15183
- }), a.g = Tn, a.h = (u, c) => st(Ce(u, { type: "json" }), c), a.i = Ft, a.j = Wt, a.k = Zt, a.l = (u, c) => st(Ce(u, { type: "arrayBuffer" }), c), a.m = st, a.n = function(u) {
15182
+ p.src = u.byteLength ? URL.createObjectURL(b) : Ut;
15183
+ }), a.g = Tn, a.h = (u, c) => st(Ce(u, { type: "json" }), c), a.i = $t, a.j = qt, a.k = Zt, a.l = (u, c) => st(Ce(u, { type: "arrayBuffer" }), c), a.m = st, a.n = function(u) {
15184
15184
  return new Tv(u).readFields($O, []);
15185
15185
  }, a.o = ff, a.p = pk, a.q = Dr, a.r = Cm, a.s = xt, a.t = ef, a.u = Aa, a.v = De, a.w = je, a.x = function([u, c, d]) {
15186
15186
  return c += 90, c *= Math.PI / 180, d *= Math.PI / 180, { x: u * Math.cos(c) * Math.sin(d), y: u * Math.sin(c) * Math.sin(d), z: u * Math.cos(d) };
@@ -15277,11 +15277,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15277
15277
  const ln = new AbortController();
15278
15278
  this.inFlightDependencies.push(ln), Rt = se.sendAsync({ type: "GI", data: { icons: et, source: this.source, tileID: this.tileID, type: "icons" } }, ln);
15279
15279
  }
15280
- const Bt = Object.keys(fe.patternDependencies);
15280
+ const Ft = Object.keys(fe.patternDependencies);
15281
15281
  let En = Promise.resolve({});
15282
- if (Bt.length) {
15282
+ if (Ft.length) {
15283
15283
  const ln = new AbortController();
15284
- this.inFlightDependencies.push(ln), En = se.sendAsync({ type: "GI", data: { icons: Bt, source: this.source, tileID: this.tileID, type: "patterns" } }, ln);
15284
+ this.inFlightDependencies.push(ln), En = se.sendAsync({ type: "GI", data: { icons: Ft, source: this.source, tileID: this.tileID, type: "patterns" } }, ln);
15285
15285
  }
15286
15286
  const [tn, Cn, mn] = yield Promise.all([Ie, Rt, En]), Ii = new f(tn), mi = new a.bo(Cn, mn);
15287
15287
  for (const ln in Ee) {
@@ -15449,11 +15449,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15449
15449
  var se = Q.keys;
15450
15450
  for (U = 0; U < se.length; U++) W.writeStringField(3, se[U]);
15451
15451
  var ye = Q.values;
15452
- for (U = 0; U < ye.length; U++) W.writeMessage(4, $t, ye[U]);
15452
+ for (U = 0; U < ye.length; U++) W.writeMessage(4, Vt, ye[U]);
15453
15453
  }
15454
15454
  function Ye(le, W) {
15455
15455
  var U = le.feature;
15456
- U.id !== void 0 && W.writeVarintField(1, U.id), W.writeMessage(2, qe, le), W.writeVarintField(3, U.type), W.writeMessage(4, Ft, U);
15456
+ U.id !== void 0 && W.writeVarintField(1, U.id), W.writeMessage(2, qe, le), W.writeVarintField(3, U.type), W.writeMessage(4, $t, U);
15457
15457
  }
15458
15458
  function qe(le, W) {
15459
15459
  var U = le.feature, Q = le.keys, se = le.values, ye = le.keycache, _e = le.valuecache;
@@ -15474,7 +15474,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15474
15474
  function pe(le) {
15475
15475
  return le << 1 ^ le >> 31;
15476
15476
  }
15477
- function Ft(le, W) {
15477
+ function $t(le, W) {
15478
15478
  for (var U = le.loadGeometry(), Q = le.type, se = 0, ye = 0, _e = U.length, Ee = 0; Ee < _e; Ee++) {
15479
15479
  var fe = U[Ee], ze = 1;
15480
15480
  Q === 1 && (ze = fe.length), W.writeVarint(je(1, ze));
@@ -15486,7 +15486,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15486
15486
  Q === 3 && W.writeVarint(je(7, 1));
15487
15487
  }
15488
15488
  }
15489
- function $t(le, W) {
15489
+ function Vt(le, W) {
15490
15490
  var U = typeof le;
15491
15491
  U === "string" ? W.writeStringField(1, le) : U === "boolean" ? W.writeBooleanField(7, le) : U === "number" && (le % 1 != 0 ? W.writeDoubleField(3, le) : le < 0 ? W.writeSVarintField(6, le) : W.writeVarintField(5, le));
15492
15492
  }
@@ -15496,13 +15496,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15496
15496
  for (var Q in le) U[Q] = new $e(le[Q].features, W), U[Q].name = Q, U[Q].version = W.version, U[Q].extent = W.extent;
15497
15497
  return ke({ layers: U });
15498
15498
  }, $.exports.GeoJSONWrapper = $e;
15499
- var jt = a.by($.exports);
15500
- const Yt = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (le) => le }, hn = Math.fround || (an = new Float32Array(1), (le) => (an[0] = +le, an[0]));
15499
+ var Bt = a.by($.exports);
15500
+ const Ut = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (le) => le }, hn = Math.fround || (an = new Float32Array(1), (le) => (an[0] = +le, an[0]));
15501
15501
  var an;
15502
15502
  const kn = 3, pn = 5, ii = 6;
15503
15503
  class zn {
15504
15504
  constructor(W) {
15505
- this.options = Object.assign(Object.create(Yt), W), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
15505
+ this.options = Object.assign(Object.create(Ut), W), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
15506
15506
  }
15507
15507
  load(W) {
15508
15508
  const { log: U, minZoom: Q, maxZoom: se } = this.options;
@@ -15596,8 +15596,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15596
15596
  Ie = Pe(tn), et = Qe(Cn);
15597
15597
  }
15598
15598
  const Rt = { type: 1, geometry: [[Math.round(this.options.extent * (Ie * ye - Q)), Math.round(this.options.extent * (et * ye - se))]], tags: He };
15599
- let Bt;
15600
- Bt = ze || this.options.generateId ? U[fe + kn] : this.points[U[fe + kn]].id, Bt !== void 0 && (Rt.id = Bt), _e.features.push(Rt);
15599
+ let Ft;
15600
+ Ft = ze || this.options.generateId ? U[fe + kn] : this.points[U[fe + kn]].id, Ft !== void 0 && (Rt.id = Ft), _e.features.push(Rt);
15601
15601
  }
15602
15602
  }
15603
15603
  _limitZoom(W) {
@@ -15608,16 +15608,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15608
15608
  for (let Ie = 0; Ie < fe.length; Ie += He) {
15609
15609
  if (fe[Ie + 2] <= U) continue;
15610
15610
  fe[Ie + 2] = U;
15611
- const et = fe[Ie], Rt = fe[Ie + 1], Bt = W.within(fe[Ie], fe[Ie + 1], Ee), En = fe[Ie + pn];
15611
+ const et = fe[Ie], Rt = fe[Ie + 1], Ft = W.within(fe[Ie], fe[Ie + 1], Ee), En = fe[Ie + pn];
15612
15612
  let tn = En;
15613
- for (const Cn of Bt) {
15613
+ for (const Cn of Ft) {
15614
15614
  const mn = Cn * He;
15615
15615
  fe[mn + 2] > U && (tn += fe[mn + pn]);
15616
15616
  }
15617
15617
  if (tn > En && tn >= _e) {
15618
15618
  let Cn, mn = et * En, Ii = Rt * En, mi = -1;
15619
15619
  const ln = ((Ie / He | 0) << 5) + (U + 1) + this.points.length;
15620
- for (const jn of Bt) {
15620
+ for (const jn of Ft) {
15621
15621
  const di = jn * He;
15622
15622
  if (fe[di + 2] <= U) continue;
15623
15623
  fe[di + 2] = U;
@@ -15627,7 +15627,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15627
15627
  fe[Ie + 4] = ln, ze.push(mn / tn, Ii / tn, 1 / 0, ln, -1, tn), ye && ze.push(mi);
15628
15628
  } else {
15629
15629
  for (let Cn = 0; Cn < He; Cn++) ze.push(fe[Ie + Cn]);
15630
- if (tn > 1) for (const Cn of Bt) {
15630
+ if (tn > 1) for (const Cn of Ft) {
15631
15631
  const mn = Cn * He;
15632
15632
  if (!(fe[mn + 2] <= U)) {
15633
15633
  fe[mn + 2] = U;
@@ -15681,8 +15681,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15681
15681
  const Rt = rn(le[et], le[et + 1], fe, ze, He, Ie);
15682
15682
  if (Rt > se) _e = et, se = Rt;
15683
15683
  else if (Rt === se) {
15684
- const Bt = Math.abs(et - ye);
15685
- Bt < Ee && (_e = et, Ee = Bt);
15684
+ const Ft = Math.abs(et - ye);
15685
+ Ft < Ee && (_e = et, Ee = Ft);
15686
15686
  }
15687
15687
  }
15688
15688
  se > Q && (_e - W > 3 && xt(le, W, _e, Q), le[_e + 2] = se, U - _e > 3 && xt(le, _e, U, Q));
@@ -15706,7 +15706,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15706
15706
  function Zt(le, W) {
15707
15707
  for (let U = 0; U < W.length; U += 3) le.minX = Math.min(le.minX, W[U]), le.minY = Math.min(le.minY, W[U + 1]), le.maxX = Math.max(le.maxX, W[U]), le.maxY = Math.max(le.maxY, W[U + 1]);
15708
15708
  }
15709
- function Wt(le, W, U, Q) {
15709
+ function qt(le, W, U, Q) {
15710
15710
  if (!W.geometry) return;
15711
15711
  const se = W.geometry.coordinates;
15712
15712
  if (se && se.length === 0) return;
@@ -15725,7 +15725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15725
15725
  else {
15726
15726
  if (ye !== "MultiPolygon") {
15727
15727
  if (ye === "GeometryCollection") {
15728
- for (const ze of W.geometry.geometries) Wt(le, { id: fe, geometry: ze, properties: W.properties }, U, Q);
15728
+ for (const ze of W.geometry.geometries) qt(le, { id: fe, geometry: ze, properties: W.properties }, U, Q);
15729
15729
  return;
15730
15730
  }
15731
15731
  throw new Error("Input data is not a valid GeoJSON object.");
@@ -15775,21 +15775,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15775
15775
  continue;
15776
15776
  }
15777
15777
  if (Rt < U || et >= Q) continue;
15778
- let Bt = [];
15779
- if (Ie === "Point" || Ie === "MultiPoint") Er(He, Bt, U, Q, se);
15780
- else if (Ie === "LineString") Cr(He, Bt, U, Q, se, !1, Ee.lineMetrics);
15781
- else if (Ie === "MultiLineString") rs(He, Bt, U, Q, se, !1);
15782
- else if (Ie === "Polygon") rs(He, Bt, U, Q, se, !0);
15778
+ let Ft = [];
15779
+ if (Ie === "Point" || Ie === "MultiPoint") Er(He, Ft, U, Q, se);
15780
+ else if (Ie === "LineString") Cr(He, Ft, U, Q, se, !1, Ee.lineMetrics);
15781
+ else if (Ie === "MultiLineString") rs(He, Ft, U, Q, se, !1);
15782
+ else if (Ie === "Polygon") rs(He, Ft, U, Q, se, !0);
15783
15783
  else if (Ie === "MultiPolygon") for (const En of He) {
15784
15784
  const tn = [];
15785
- rs(En, tn, U, Q, se, !0), tn.length && Bt.push(tn);
15785
+ rs(En, tn, U, Q, se, !0), tn.length && Ft.push(tn);
15786
15786
  }
15787
- if (Bt.length) {
15787
+ if (Ft.length) {
15788
15788
  if (Ee.lineMetrics && Ie === "LineString") {
15789
- for (const En of Bt) fe.push(Sn(ze.id, Ie, En, ze.tags));
15789
+ for (const En of Ft) fe.push(Sn(ze.id, Ie, En, ze.tags));
15790
15790
  continue;
15791
15791
  }
15792
- Ie !== "LineString" && Ie !== "MultiLineString" || (Bt.length === 1 ? (Ie = "LineString", Bt = Bt[0]) : Ie = "MultiLineString"), Ie !== "Point" && Ie !== "MultiPoint" || (Ie = Bt.length === 3 ? "Point" : "MultiPoint"), fe.push(Sn(ze.id, Ie, Bt, ze.tags));
15792
+ Ie !== "LineString" && Ie !== "MultiLineString" || (Ft.length === 1 ? (Ie = "LineString", Ft = Ft[0]) : Ie = "MultiLineString"), Ie !== "Point" && Ie !== "MultiPoint" || (Ie = Ft.length === 3 ? "Point" : "MultiPoint"), fe.push(Sn(ze.id, Ie, Ft, ze.tags));
15793
15793
  }
15794
15794
  }
15795
15795
  return fe.length ? fe : null;
@@ -15810,8 +15810,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15810
15810
  _e && (ze = Math.sqrt(Math.pow(Cn - mi, 2) + Math.pow(mn - ln, 2))), jn < U ? di > U && (He = fe(Ee, Cn, mn, mi, ln, U), _e && (Ee.start = Ie + ze * He)) : jn > Q ? di < Q && (He = fe(Ee, Cn, mn, mi, ln, Q), _e && (Ee.start = Ie + ze * He)) : Gi(Ee, Cn, mn, Ii), di < U && jn >= U && (He = fe(Ee, Cn, mn, mi, ln, U), Bi = !0), di > Q && jn <= Q && (He = fe(Ee, Cn, mn, mi, ln, Q), Bi = !0), !ye && Bi && (_e && (Ee.end = Ie + ze * He), W.push(Ee), Ee = qi(le)), _e && (Ie += ze);
15811
15811
  }
15812
15812
  let et = le.length - 3;
15813
- const Rt = le[et], Bt = le[et + 1], En = se === 0 ? Rt : Bt;
15814
- En >= U && En <= Q && Gi(Ee, Rt, Bt, le[et + 2]), et = Ee.length - 3, ye && et >= 3 && (Ee[et] !== Ee[0] || Ee[et + 1] !== Ee[1]) && Gi(Ee, Ee[0], Ee[1], Ee[2]), Ee.length && W.push(Ee);
15813
+ const Rt = le[et], Ft = le[et + 1], En = se === 0 ? Rt : Ft;
15814
+ En >= U && En <= Q && Gi(Ee, Rt, Ft, le[et + 2]), et = Ee.length - 3, ye && et >= 3 && (Ee[et] !== Ee[0] || Ee[et + 1] !== Ee[1]) && Gi(Ee, Ee[0], Ee[1], Ee[2]), Ee.length && W.push(Ee);
15815
15815
  }
15816
15816
  function qi(le) {
15817
15817
  const W = [];
@@ -15909,24 +15909,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15909
15909
  let He = 0;
15910
15910
  for (let Ie = 0, et = fe.length, Rt = et - 2; Ie < et; Rt = Ie, Ie += 2) He += (fe[Ie] - fe[Rt]) * (fe[Ie + 1] + fe[Rt + 1]);
15911
15911
  if (He > 0 === ze) for (let Ie = 0, et = fe.length; Ie < et / 2; Ie += 2) {
15912
- const Rt = fe[Ie], Bt = fe[Ie + 1];
15913
- fe[Ie] = fe[et - 2 - Ie], fe[Ie + 1] = fe[et - 1 - Ie], fe[et - 2 - Ie] = Rt, fe[et - 1 - Ie] = Bt;
15912
+ const Rt = fe[Ie], Ft = fe[Ie + 1];
15913
+ fe[Ie] = fe[et - 2 - Ie], fe[Ie + 1] = fe[et - 1 - Ie], fe[et - 2 - Ie] = Rt, fe[et - 1 - Ie] = Ft;
15914
15914
  }
15915
15915
  }(Ee, ye), le.push(Ee);
15916
15916
  }
15917
- const Ue = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
15917
+ const We = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
15918
15918
  class zt {
15919
15919
  constructor(W, U) {
15920
15920
  const Q = (U = this.options = function(ye, _e) {
15921
15921
  for (const Ee in _e) ye[Ee] = _e[Ee];
15922
15922
  return ye;
15923
- }(Object.create(Ue), U)).debug;
15923
+ }(Object.create(We), U)).debug;
15924
15924
  if (Q && console.time("preprocess data"), U.maxZoom < 0 || U.maxZoom > 24) throw new Error("maxZoom should be in the 0-24 range");
15925
15925
  if (U.promoteId && U.generateId) throw new Error("promoteId and generateId cannot be used together.");
15926
15926
  let se = function(ye, _e) {
15927
15927
  const Ee = [];
15928
- if (ye.type === "FeatureCollection") for (let fe = 0; fe < ye.features.length; fe++) Wt(Ee, ye.features[fe], _e, fe);
15929
- else Wt(Ee, ye.type === "Feature" ? ye : { geometry: ye }, _e);
15928
+ if (ye.type === "FeatureCollection") for (let fe = 0; fe < ye.features.length; fe++) qt(Ee, ye.features[fe], _e, fe);
15929
+ else qt(Ee, ye.type === "Feature" ? ye : { geometry: ye }, _e);
15930
15930
  return Ee;
15931
15931
  }(W, U);
15932
15932
  this.tiles = {}, this.tileCoords = [], Q && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", U.indexMaxZoom, U.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), se = function(ye, _e) {
@@ -15958,9 +15958,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15958
15958
  }
15959
15959
  if (Rt.source = null, W.length === 0) continue;
15960
15960
  He > 1 && console.time("clipping");
15961
- const Bt = 0.5 * ze.buffer / ze.extent, En = 0.5 - Bt, tn = 0.5 + Bt, Cn = 1 + Bt;
15962
- let mn = null, Ii = null, mi = null, ln = null, jn = Pn(W, Ie, Q - Bt, Q + tn, 0, Rt.minX, Rt.maxX, ze), di = Pn(W, Ie, Q + En, Q + Cn, 0, Rt.minX, Rt.maxX, ze);
15963
- W = null, jn && (mn = Pn(jn, Ie, se - Bt, se + tn, 1, Rt.minY, Rt.maxY, ze), Ii = Pn(jn, Ie, se + En, se + Cn, 1, Rt.minY, Rt.maxY, ze), jn = null), di && (mi = Pn(di, Ie, se - Bt, se + tn, 1, Rt.minY, Rt.maxY, ze), ln = Pn(di, Ie, se + En, se + Cn, 1, Rt.minY, Rt.maxY, ze), di = null), He > 1 && console.timeEnd("clipping"), fe.push(mn || [], U + 1, 2 * Q, 2 * se), fe.push(Ii || [], U + 1, 2 * Q, 2 * se + 1), fe.push(mi || [], U + 1, 2 * Q + 1, 2 * se), fe.push(ln || [], U + 1, 2 * Q + 1, 2 * se + 1);
15961
+ const Ft = 0.5 * ze.buffer / ze.extent, En = 0.5 - Ft, tn = 0.5 + Ft, Cn = 1 + Ft;
15962
+ let mn = null, Ii = null, mi = null, ln = null, jn = Pn(W, Ie, Q - Ft, Q + tn, 0, Rt.minX, Rt.maxX, ze), di = Pn(W, Ie, Q + En, Q + Cn, 0, Rt.minX, Rt.maxX, ze);
15963
+ W = null, jn && (mn = Pn(jn, Ie, se - Ft, se + tn, 1, Rt.minY, Rt.maxY, ze), Ii = Pn(jn, Ie, se + En, se + Cn, 1, Rt.minY, Rt.maxY, ze), jn = null), di && (mi = Pn(di, Ie, se - Ft, se + tn, 1, Rt.minY, Rt.maxY, ze), ln = Pn(di, Ie, se + En, se + Cn, 1, Rt.minY, Rt.maxY, ze), di = null), He > 1 && console.timeEnd("clipping"), fe.push(mn || [], U + 1, 2 * Q, 2 * se), fe.push(Ii || [], U + 1, 2 * Q, 2 * se + 1), fe.push(mi || [], U + 1, 2 * Q + 1, 2 * se), fe.push(ln || [], U + 1, 2 * Q + 1, 2 * se + 1);
15964
15964
  }
15965
15965
  }
15966
15966
  getTile(W, U, Q) {
@@ -16042,7 +16042,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16042
16042
  }(this._features[Ee]);
16043
16043
  }
16044
16044
  }(se.features);
16045
- let _e = jt(ye);
16045
+ let _e = Bt(ye);
16046
16046
  return _e.byteOffset === 0 && _e.byteLength === _e.buffer.byteLength || (_e = new Uint8Array(_e)), { vectorTile: ye, rawData: _e.buffer };
16047
16047
  });
16048
16048
  }
@@ -16057,16 +16057,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16057
16057
  if (!Ee || !_e) return _e;
16058
16058
  const fe = {}, ze = {}, He = { accumulated: null, zoom: 0 }, Ie = { properties: null }, et = Object.keys(Ee);
16059
16059
  for (const Rt of et) {
16060
- const [Bt, En] = Ee[Rt], tn = a.bC(En), Cn = a.bC(typeof Bt == "string" ? [Bt, ["accumulated"], ["get", Rt]] : Bt);
16060
+ const [Ft, En] = Ee[Rt], tn = a.bC(En), Cn = a.bC(typeof Ft == "string" ? [Ft, ["accumulated"], ["get", Rt]] : Ft);
16061
16061
  fe[Rt] = tn.value, ze[Rt] = Cn.value;
16062
16062
  }
16063
16063
  return _e.map = (Rt) => {
16064
16064
  Ie.properties = Rt;
16065
- const Bt = {};
16066
- for (const En of et) Bt[En] = fe[En].evaluate(He, Ie);
16067
- return Bt;
16068
- }, _e.reduce = (Rt, Bt) => {
16069
- Ie.properties = Bt;
16065
+ const Ft = {};
16066
+ for (const En of et) Ft[En] = fe[En].evaluate(He, Ie);
16067
+ return Ft;
16068
+ }, _e.reduce = (Rt, Ft) => {
16069
+ Ie.properties = Ft;
16070
16070
  for (const En of et) He.accumulated = Rt[En], Rt[En] = ze[En].evaluate(He, Ie);
16071
16071
  }, _e;
16072
16072
  }(W)).load((yield this._pendingData).features) : (se = yield this._pendingData, new zt(se, W.geojsonVtOptions)), this.loaded = {};
@@ -16131,8 +16131,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16131
16131
  if (et == null) continue;
16132
16132
  const Rt = !Ie.removeAllProperties && (((Ee = Ie.removeProperties) === null || Ee === void 0 ? void 0 : Ee.length) > 0 || ((fe = Ie.addOrUpdateProperties) === null || fe === void 0 ? void 0 : fe.length) > 0);
16133
16133
  if ((Ie.newGeometry || Ie.removeAllProperties || Rt) && (et = Object.assign({}, et), se.set(Ie.id, et), Rt && (et.properties = Object.assign({}, et.properties))), Ie.newGeometry && (et.geometry = Ie.newGeometry), Ie.removeAllProperties) et.properties = {};
16134
- else if (((ze = Ie.removeProperties) === null || ze === void 0 ? void 0 : ze.length) > 0) for (const Bt of Ie.removeProperties) Object.prototype.hasOwnProperty.call(et.properties, Bt) && delete et.properties[Bt];
16135
- if (((He = Ie.addOrUpdateProperties) === null || He === void 0 ? void 0 : He.length) > 0) for (const { key: Bt, value: En } of Ie.addOrUpdateProperties) et.properties[Bt] = En;
16134
+ else if (((ze = Ie.removeProperties) === null || ze === void 0 ? void 0 : ze.length) > 0) for (const Ft of Ie.removeProperties) Object.prototype.hasOwnProperty.call(et.properties, Ft) && delete et.properties[Ft];
16135
+ if (((He = Ie.addOrUpdateProperties) === null || He === void 0 ? void 0 : He.length) > 0) for (const { key: Ft, value: En } of Ie.addOrUpdateProperties) et.properties[Ft] = En;
16136
16136
  }
16137
16137
  }(this._dataUpdateable, W.dataDiff, Q), { type: "FeatureCollection", features: Array.from(this._dataUpdateable.values()) };
16138
16138
  });
@@ -16568,11 +16568,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16568
16568
  }
16569
16569
  }
16570
16570
  const pe = 1e20;
16571
- function Ft(w, l, h, y, v, x, A, I, P) {
16572
- for (let B = l; B < l + y; B++) $t(w, h * x + B, x, v, A, I, P);
16573
- for (let B = h; B < h + v; B++) $t(w, B * x + l, 1, y, A, I, P);
16571
+ function $t(w, l, h, y, v, x, A, I, P) {
16572
+ for (let B = l; B < l + y; B++) Vt(w, h * x + B, x, v, A, I, P);
16573
+ for (let B = h; B < h + v; B++) Vt(w, B * x + l, 1, y, A, I, P);
16574
16574
  }
16575
- function $t(w, l, h, y, v, x, A) {
16575
+ function Vt(w, l, h, y, v, x, A) {
16576
16576
  x[0] = 0, A[0] = -pe, A[1] = pe, v[0] = w[l];
16577
16577
  for (let I = 1, P = 0, B = 0; I < y; I++) {
16578
16578
  v[I] = w[l + I * h];
@@ -16589,7 +16589,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16589
16589
  w[l + I * h] = v[B] + V * V;
16590
16590
  }
16591
16591
  }
16592
- class jt {
16592
+ class Bt {
16593
16593
  constructor(l, h) {
16594
16594
  this.requestManager = l, this.localIdeographFontFamily = h, this.entries = {};
16595
16595
  }
@@ -16617,7 +16617,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16617
16617
  if (y.ranges[x]) return { stack: l, id: h, glyph: v };
16618
16618
  if (!this.url) throw new Error("glyphsUrl is not set");
16619
16619
  if (!y.requests[x]) {
16620
- const I = jt.loadGlyphRange(l, x, this.url, this.requestManager);
16620
+ const I = Bt.loadGlyphRange(l, x, this.url, this.requestManager);
16621
16621
  y.requests[x] = I;
16622
16622
  }
16623
16623
  const A = yield y.requests[x];
@@ -16634,13 +16634,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16634
16634
  let x = l.tinySDF;
16635
16635
  if (!x) {
16636
16636
  let I = "400";
16637
- /bold/i.test(h) ? I = "900" : /medium/i.test(h) ? I = "500" : /light/i.test(h) && (I = "200"), x = l.tinySDF = new jt.TinySDF({ fontSize: 48, buffer: 6, radius: 16, cutoff: 0.25, fontFamily: v, fontWeight: I });
16637
+ /bold/i.test(h) ? I = "900" : /medium/i.test(h) ? I = "500" : /light/i.test(h) && (I = "200"), x = l.tinySDF = new Bt.TinySDF({ fontSize: 48, buffer: 6, radius: 16, cutoff: 0.25, fontFamily: v, fontWeight: I });
16638
16638
  }
16639
16639
  const A = x.draw(String.fromCharCode(y));
16640
16640
  return { id: y, bitmap: new o.o({ width: A.width || 60, height: A.height || 60 }, A.data), metrics: { width: A.glyphWidth / 2 || 24, height: A.glyphHeight / 2 || 24, left: A.glyphLeft / 2 + 0.5 || 0, top: A.glyphTop / 2 - 27.5 || -8, advance: A.glyphAdvance / 2 || 24, isDoubleResolution: !0 } };
16641
16641
  }
16642
16642
  }
16643
- jt.loadGlyphRange = function(w, l, h, y) {
16643
+ Bt.loadGlyphRange = function(w, l, h, y) {
16644
16644
  return o._(this, void 0, void 0, function* () {
16645
16645
  const v = 256 * l, x = v + 255, A = y.transformRequest(h.replace("{fontstack}", w).replace("{range}", `${v}-${x}`), "Glyphs"), I = yield o.l(A, new AbortController());
16646
16646
  if (!I || !I.data) throw new Error(`Could not load glyph range. range: ${l}, ${v}-${x}`);
@@ -16648,7 +16648,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16648
16648
  for (const B of o.n(I.data)) P[B.id] = B;
16649
16649
  return P;
16650
16650
  });
16651
- }, jt.TinySDF = class {
16651
+ }, Bt.TinySDF = class {
16652
16652
  constructor({ fontSize: w = 24, buffer: l = 3, radius: h = 8, cutoff: y = 0.25, fontFamily: v = "sans-serif", fontWeight: x = "normal", fontStyle: A = "normal" } = {}) {
16653
16653
  this.buffer = l, this.cutoff = y, this.radius = h;
16654
16654
  const I = this.size = w + 4 * l, P = this._createCanvas(I), B = this.ctx = P.getContext("2d", { willReadFrequently: !0 });
@@ -16675,7 +16675,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16675
16675
  he[Ae] = Ve > 0 ? Ve * Ve : 0, ue[Ae] = Ve < 0 ? Ve * Ve : 0;
16676
16676
  }
16677
16677
  }
16678
- Ft(he, 0, 0, B, V, B, this.f, this.v, this.z), Ft(ue, ae, ae, I, P, B, this.f, this.v, this.z);
16678
+ $t(he, 0, 0, B, V, B, this.f, this.v, this.z), $t(ue, ae, ae, I, P, B, this.f, this.v, this.z);
16679
16679
  for (let re = 0; re < j; re++) {
16680
16680
  const xe = Math.sqrt(he[re]) - Math.sqrt(ue[re]);
16681
16681
  Y[re] = Math.round(255 - 255 * (xe / this.radius + this.cutoff));
@@ -16683,7 +16683,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16683
16683
  return te;
16684
16684
  }
16685
16685
  };
16686
- class Yt {
16686
+ class Ut {
16687
16687
  constructor() {
16688
16688
  this.specification = o.v.light.position;
16689
16689
  }
@@ -16697,7 +16697,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16697
16697
  let hn;
16698
16698
  class an extends o.E {
16699
16699
  constructor(l) {
16700
- super(), hn = hn || new o.q({ anchor: new o.D(o.v.light.anchor), position: new Yt(), color: new o.D(o.v.light.color), intensity: new o.D(o.v.light.intensity) }), this._transitionable = new o.T(hn), this.setLight(l), this._transitioning = this._transitionable.untransitioned();
16700
+ super(), hn = hn || new o.q({ anchor: new o.D(o.v.light.anchor), position: new Ut(), color: new o.D(o.v.light.color), intensity: new o.D(o.v.light.intensity) }), this._transitionable = new o.T(hn), this.setLight(l), this._transitioning = this._transitionable.untransitioned();
16701
16701
  }
16702
16702
  getLight() {
16703
16703
  return this._transitionable.serialize();
@@ -16897,7 +16897,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16897
16897
  }
16898
16898
  return !1;
16899
16899
  }(v && v.layers, l, w.id), I = x.maxPitchScaleFactor(), P = w.tilesIn(y, I, A);
16900
- P.sort(Wt);
16900
+ P.sort(qt);
16901
16901
  const B = [];
16902
16902
  for (const j of P) B.push({ wrappedTileID: j.tileID.wrapped().key, queryResults: j.tile.queryRenderedFeatures(l, h, w._state, j.queryGeometry, j.cameraQueryGeometry, j.scale, v, x, I, Sn(w.transform, j.tileID)) });
16903
16903
  const V = function(j) {
@@ -16917,7 +16917,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16917
16917
  });
16918
16918
  return V;
16919
16919
  }
16920
- function Wt(w, l) {
16920
+ function qt(w, l) {
16921
16921
  const h = w.tileID, y = l.tileID;
16922
16922
  return h.overscaledZ - y.overscaledZ || h.canonical.y - y.canonical.y || h.wrap - y.wrap || h.canonical.x - y.canonical.x;
16923
16923
  }
@@ -17805,7 +17805,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17805
17805
  if (this.stateChanges = {}, this.deletedStates = {}, Object.keys(y).length !== 0) for (const v in l) l[v].setFeatureState(y, h);
17806
17806
  }
17807
17807
  }
17808
- class Ue extends o.E {
17808
+ class We extends o.E {
17809
17809
  constructor(l, h, y) {
17810
17810
  super(), this.id = l, this.dispatcher = y, this.on("data", (v) => this._dataHandler(v)), this.on("dataloading", () => {
17811
17811
  this._sourceErrored = !1;
@@ -18007,7 +18007,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18007
18007
  if (!this._sourceLoaded || this._paused) return;
18008
18008
  let y;
18009
18009
  this.transform = l, this.terrain = h, this.updateCacheSize(l), this.handleWrapJump(this.transform.center.lng), this._coveredTiles = {}, this.used || this.usedForTerrain ? this._source.tileID ? y = l.getVisibleUnwrappedCoordinates(this._source.tileID).map((V) => new o.S(V.canonical.z, V.wrap, V.canonical.z, V.canonical.x, V.canonical.y)) : (y = l.coveringTiles({ tileSize: this.usedForTerrain ? this.tileSize : this._source.tileSize, minzoom: this._source.minzoom, maxzoom: this._source.maxzoom, roundZoom: !this.usedForTerrain && this._source.roundZoom, reparseOverscaled: this._source.reparseOverscaled, terrain: h }), this._source.hasTile && (y = y.filter((V) => this._source.hasTile(V)))) : y = [];
18010
- const v = l.coveringZoomLevel(this._source), x = Math.max(v - Ue.maxOverzooming, this._source.minzoom), A = Math.max(v + Ue.maxUnderzooming, this._source.minzoom);
18010
+ const v = l.coveringZoomLevel(this._source), x = Math.max(v - We.maxOverzooming, this._source.minzoom), A = Math.max(v + We.maxUnderzooming, this._source.minzoom);
18011
18011
  if (this.usedForTerrain) {
18012
18012
  const V = {};
18013
18013
  for (const j of y) if (j.canonical.z > this._source.minzoom) {
@@ -18035,7 +18035,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18035
18035
  }
18036
18036
  _updateRetainedTiles(l, h) {
18037
18037
  var y;
18038
- const v = {}, x = {}, A = Math.max(h - Ue.maxOverzooming, this._source.minzoom), I = Math.max(h + Ue.maxUnderzooming, this._source.minzoom), P = {};
18038
+ const v = {}, x = {}, A = Math.max(h - We.maxOverzooming, this._source.minzoom), I = Math.max(h + We.maxUnderzooming, this._source.minzoom), P = {};
18039
18039
  for (const B of l) {
18040
18040
  const V = this._addTile(B);
18041
18041
  v[B.key] = B, V.hasData() || h < this._source.maxzoom && (P[B.key] = B);
@@ -18173,7 +18173,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18173
18173
  function dn(w) {
18174
18174
  return w === "raster" || w === "image" || w === "video";
18175
18175
  }
18176
- Ue.maxOverzooming = 10, Ue.maxUnderzooming = 3;
18176
+ We.maxOverzooming = 10, We.maxUnderzooming = 3;
18177
18177
  class dt {
18178
18178
  constructor(l, h) {
18179
18179
  this.reset(l, h);
@@ -18343,17 +18343,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18343
18343
  for (let Ve = 0; Ve < xe.length; Ve++) {
18344
18344
  const Xe = xe.get(Ve);
18345
18345
  if (Xe.hidden || Xe.writingMode === o.ah.vertical && !Ae) {
18346
- Bt(Xe.numGlyphs, me);
18346
+ Ft(Xe.numGlyphs, me);
18347
18347
  continue;
18348
18348
  }
18349
18349
  Ae = !1;
18350
18350
  const ut = le(Xe.anchorX, Xe.anchorY, l, ie);
18351
18351
  if (!U(ut.point, he)) {
18352
- Bt(Xe.numGlyphs, me);
18352
+ Ft(Xe.numGlyphs, me);
18353
18353
  continue;
18354
18354
  }
18355
18355
  const yt = W(h.transform.cameraToCenterDistance, ut.signedDistanceFromCamera), rt = o.ai(ae, ue, Xe), tt = A ? rt / yt : rt * yt, Et = { getElevation: ie, labelPlaneMatrix: v, lineVertexArray: re, pitchWithMap: A, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, projection: B, tileAnchorPoint: new o.P(Xe.anchorX, Xe.anchorY), unwrappedTileID: V, width: j, height: Y, translation: te }, Kt = _e(Et, Xe, tt, !1, I, l, x, w.glyphOffsetArray, me, we, P);
18356
- Ae = Kt.useVertical, (Kt.notEnoughRoom || Ae || Kt.needsFlipping && _e(Et, Xe, tt, !0, I, l, x, w.glyphOffsetArray, me, we, P).notEnoughRoom) && Bt(Xe.numGlyphs, me);
18356
+ Ae = Kt.useVertical, (Kt.notEnoughRoom || Ae || Kt.needsFlipping && _e(Et, Xe, tt, !0, I, l, x, w.glyphOffsetArray, me, we, P).notEnoughRoom) && Ft(Xe.numGlyphs, me);
18357
18357
  }
18358
18358
  y ? w.text.dynamicLayoutVertexBuffer.updateData(me) : w.icon.dynamicLayoutVertexBuffer.updateData(me);
18359
18359
  }
@@ -18448,7 +18448,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18448
18448
  return we.push(Ve), { point: Ve, angle: P ? Xe : 0, path: we };
18449
18449
  }
18450
18450
  const Rt = new Float32Array([-1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0, -1 / 0, -1 / 0, 0]);
18451
- function Bt(w, l) {
18451
+ function Ft(w, l) {
18452
18452
  for (let h = 0; h < w; h++) {
18453
18453
  const y = l.length;
18454
18454
  l.resize(y + 4), l.float32.set(Rt, 3 * y);
@@ -18482,7 +18482,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18482
18482
  let pt = [];
18483
18483
  for (let sn = Kt.path.length - 1; sn >= 1; sn--) pt.push(Kt.path[sn]);
18484
18484
  for (let sn = 1; sn < at.path.length; sn++) pt.push(at.path[sn]);
18485
- const qt = 2.5 * yt;
18485
+ const Gt = 2.5 * yt;
18486
18486
  if (B) {
18487
18487
  const sn = this.projectPathToScreenSpace(pt, we, B);
18488
18488
  pt = sn.some((yn) => yn.signedDistanceFromCamera <= 0) ? [] : sn.map((yn) => yn.point);
@@ -18496,7 +18496,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18496
18496
  for (const sn of oi) {
18497
18497
  Et.reset(sn, 0.25 * yt);
18498
18498
  let yn = 0;
18499
- yn = Et.length <= 0.5 * yt ? 1 : Math.ceil(Et.paddedLength / qt) + 1;
18499
+ yn = Et.length <= 0.5 * yt ? 1 : Math.ceil(Et.paddedLength / Gt) + 1;
18500
18500
  for (let ai = 0; ai < yn; ai++) {
18501
18501
  const Qi = ai / Math.max(yn - 1, 1), Ts = Et.lerp(Qi), li = Ts.x + tn, Ir = Ts.y + tn;
18502
18502
  he.push(li, Ir, yt, 0);
@@ -18669,7 +18669,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18669
18669
  placeLayerBucketPart(l, h, y) {
18670
18670
  const { bucket: v, layout: x, translationText: A, translationIcon: I, posMatrix: P, unwrappedTileID: B, textLabelPlaneMatrix: V, labelToScreenMatrix: j, textPixelRatio: Y, holdingForFade: te, collisionBoxArray: ie, partiallyEvaluatedTextSize: ae, collisionGroup: ue } = l.parameters, he = x.get("text-optional"), me = x.get("icon-optional"), re = o.ar(x, "text-overlap", "text-allow-overlap"), xe = re === "always", we = o.ar(x, "icon-overlap", "icon-allow-overlap"), Ae = we === "always", Ve = x.get("text-rotation-alignment") === "map", Xe = x.get("text-pitch-alignment") === "map", ut = x.get("icon-text-fit") !== "none", yt = x.get("symbol-z-order") === "viewport-y", rt = xe && (Ae || !v.hasIconData() || me), tt = Ae && (xe || !v.hasTextData() || he);
18671
18671
  !v.collisionArrays && ie && v.deserializeCollisionBoxes(ie);
18672
- const Et = this._getTerrainElevationFunc(this.retainedQueryData[v.bucketInstanceId].tileID), Kt = (at, pt, qt) => {
18672
+ const Et = this._getTerrainElevationFunc(this.retainedQueryData[v.bucketInstanceId].tileID), Kt = (at, pt, Gt) => {
18673
18673
  var oi, sn;
18674
18674
  if (h[at.crossTileID]) return;
18675
18675
  if (te) return void (this.placements[at.crossTileID] = new ln(!1, !1, !1));
@@ -18737,7 +18737,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18737
18737
  const Ia = he || at.numHorizontalGlyphVertices === 0 && at.numVerticalGlyphVertices === 0, od = me || at.numIconVertices === 0;
18738
18738
  Ia || od ? od ? Ia || (ai = ai && yn) : yn = ai && yn : ai = yn = ai && yn;
18739
18739
  const lf = ai && yr.placeable;
18740
- if (yn && mr.placeable && this.collisionIndex.insertCollisionBox(mr.box, re, x.get("text-ignore-placement"), v.bucketInstanceId, Ir && Ir.placeable && Sl ? Sl : Qs, ue.ID), lf && this.collisionIndex.insertCollisionBox(yr.box, we, x.get("icon-ignore-placement"), v.bucketInstanceId, sd, ue.ID), gr && yn && this.collisionIndex.insertCollisionCircles(gr.circles, re, x.get("text-ignore-placement"), v.bucketInstanceId, Qs, ue.ID), y && this.storeCollisionData(v.bucketInstanceId, qt, pt, mr, yr, gr), at.crossTileID === 0) throw new Error("symbolInstance.crossTileID can't be 0");
18740
+ if (yn && mr.placeable && this.collisionIndex.insertCollisionBox(mr.box, re, x.get("text-ignore-placement"), v.bucketInstanceId, Ir && Ir.placeable && Sl ? Sl : Qs, ue.ID), lf && this.collisionIndex.insertCollisionBox(yr.box, we, x.get("icon-ignore-placement"), v.bucketInstanceId, sd, ue.ID), gr && yn && this.collisionIndex.insertCollisionCircles(gr.circles, re, x.get("text-ignore-placement"), v.bucketInstanceId, Qs, ue.ID), y && this.storeCollisionData(v.bucketInstanceId, Gt, pt, mr, yr, gr), at.crossTileID === 0) throw new Error("symbolInstance.crossTileID can't be 0");
18741
18741
  if (v.bucketInstanceId === 0) throw new Error("bucket.bucketInstanceId can't be 0");
18742
18742
  this.placements[at.crossTileID] = new ln(yn || rt, ai || tt, Qi || v.justReloaded), h[at.crossTileID] = !0;
18743
18743
  };
@@ -18745,8 +18745,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18745
18745
  if (l.symbolInstanceStart !== 0) throw new Error("bucket.bucketInstanceId should be 0");
18746
18746
  const at = v.getSortedSymbolIndexes(this.transform.angle);
18747
18747
  for (let pt = at.length - 1; pt >= 0; --pt) {
18748
- const qt = at[pt];
18749
- Kt(v.symbolInstances.get(qt), v.collisionArrays[qt], qt);
18748
+ const Gt = at[pt];
18749
+ Kt(v.symbolInstances.get(Gt), v.collisionArrays[Gt], Gt);
18750
18750
  }
18751
18751
  } else for (let at = l.symbolInstanceStart; at < l.symbolInstanceEnd; at++) Kt(v.symbolInstances.get(at), v.collisionArrays[at], at);
18752
18752
  if (y && v.bucketInstanceId in this.collisionCircleArrays) {
@@ -19091,7 +19091,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19091
19091
  const v = this.sourceCaches[y].getSource().type;
19092
19092
  v !== "vector" && v !== "geojson" || this.sourceCaches[y].reload();
19093
19093
  }
19094
- }, this.map = l, this.dispatcher = new xt(st(), l._getMapId()), this.dispatcher.registerMessageHandler("GG", (y, v) => this.getGlyphs(y, v)), this.dispatcher.registerMessageHandler("GI", (y, v) => this.getImages(y, v)), this.imageManager = new je(), this.imageManager.setEventedParent(this), this.glyphManager = new jt(l._requestManager, h.localIdeographFontFamily), this.lineAtlas = new ii(256, 512), this.crossTileSymbolIndex = new Th(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new o.ax(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", o.ay()), as().on(Ke, this._rtlPluginLoaded), this.on("data", (y) => {
19094
+ }, this.map = l, this.dispatcher = new xt(st(), l._getMapId()), this.dispatcher.registerMessageHandler("GG", (y, v) => this.getGlyphs(y, v)), this.dispatcher.registerMessageHandler("GI", (y, v) => this.getImages(y, v)), this.imageManager = new je(), this.imageManager.setEventedParent(this), this.glyphManager = new Bt(l._requestManager, h.localIdeographFontFamily), this.lineAtlas = new ii(256, 512), this.crossTileSymbolIndex = new Th(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new o.ax(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", o.ay()), as().on(Ke, this._rtlPluginLoaded), this.on("data", (y) => {
19095
19095
  if (y.dataType !== "source" || y.sourceDataType !== "metadata") return;
19096
19096
  const v = this.sourceCaches[y.sourceId];
19097
19097
  if (!v) return;
@@ -19376,7 +19376,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19376
19376
  if (!h.type) throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(h).join(", ")}.`);
19377
19377
  if (["vector", "raster", "geojson", "video", "image"].indexOf(h.type) >= 0 && this._validate(o.u.source, `sources.${l}`, h, null, y)) return;
19378
19378
  this.map && this.map._collectResourceTiming && (h.collectResourceTiming = !0);
19379
- const v = this.sourceCaches[l] = new Ue(l, h, this.dispatcher);
19379
+ const v = this.sourceCaches[l] = new We(l, h, this.dispatcher);
19380
19380
  v.style = this, v.setEventedParent(this, () => ({ isSourceLoaded: v.loaded(), source: v.serialize(), sourceId: l })), v.onAdd(this.map), this._changed = !0;
19381
19381
  }
19382
19382
  removeSource(l) {
@@ -19551,7 +19551,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19551
19551
  return this.placement && x.push(function(I, P, B, V, j, Y, te) {
19552
19552
  const ie = {}, ae = Y.queryRenderedSymbols(V), ue = [];
19553
19553
  for (const he of Object.keys(ae).map(Number)) ue.push(te[he]);
19554
- ue.sort(Wt);
19554
+ ue.sort(qt);
19555
19555
  for (const he of ue) {
19556
19556
  const me = he.featureIndex.lookupSymbolFeatures(ae[he.bucketInstanceId], P, he.bucketIndex, he.sourceLayerIndex, j.filter, j.layers, j.availableImages, I);
19557
19557
  for (const re in me) {
@@ -21012,21 +21012,21 @@ uniform ${V} ${j} u_${Y};
21012
21012
  const we = new o.P(re.anchorX, re.anchorY), Ae = { getElevation: te, width: v.width, height: v.height, labelPlaneMatrix: x, lineVertexArray: null, pitchWithMap: h, projection: V, projectionCache: null, tileAnchorPoint: we, translation: j, unwrappedTileID: Y }, Ve = h ? le(we.x, we.y, A, te) : ze(we.x, we.y, Ae), Xe = W(v.cameraToCenterDistance, Ve.signedDistanceFromCamera);
21013
21013
  let ut = o.ai(w.textSizeData, P, re) * Xe / o.ap;
21014
21014
  h && (ut *= w.tilePixelRatio / I);
21015
- const { width: yt, height: rt, anchor: tt, textOffset: Et, textBoxScale: Kt } = xe, at = wa(tt, yt, rt, Et, Kt, ut), pt = V.getPitchedTextCorrection(v, we.add(new o.P(j[0], j[1])), Y), qt = gl(Ve.point, Ae, l, at, v.angle, pt), oi = w.allowVerticalPlacement && re.placedOrientation === o.ah.vertical ? Math.PI / 2 : 0;
21016
- for (let sn = 0; sn < re.numGlyphs; sn++) o.aj(ae, qt, oi);
21017
- B && re.associatedIconIndex >= 0 && (he[re.associatedIconIndex] = { shiftedAnchor: qt, angle: oi });
21018
- } else Bt(re.numGlyphs, ae);
21015
+ const { width: yt, height: rt, anchor: tt, textOffset: Et, textBoxScale: Kt } = xe, at = wa(tt, yt, rt, Et, Kt, ut), pt = V.getPitchedTextCorrection(v, we.add(new o.P(j[0], j[1])), Y), Gt = gl(Ve.point, Ae, l, at, v.angle, pt), oi = w.allowVerticalPlacement && re.placedOrientation === o.ah.vertical ? Math.PI / 2 : 0;
21016
+ for (let sn = 0; sn < re.numGlyphs; sn++) o.aj(ae, Gt, oi);
21017
+ B && re.associatedIconIndex >= 0 && (he[re.associatedIconIndex] = { shiftedAnchor: Gt, angle: oi });
21018
+ } else Ft(re.numGlyphs, ae);
21019
21019
  }
21020
21020
  if (B) {
21021
21021
  ue.clear();
21022
21022
  const me = w.icon.placedSymbolArray;
21023
21023
  for (let re = 0; re < me.length; re++) {
21024
21024
  const xe = me.get(re);
21025
- if (xe.hidden) Bt(xe.numGlyphs, ue);
21025
+ if (xe.hidden) Ft(xe.numGlyphs, ue);
21026
21026
  else {
21027
21027
  const we = he[re];
21028
21028
  if (we) for (let Ae = 0; Ae < xe.numGlyphs; Ae++) o.aj(ue, we.shiftedAnchor, we.angle);
21029
- else Bt(xe.numGlyphs, ue);
21029
+ else Ft(xe.numGlyphs, ue);
21030
21030
  }
21031
21031
  }
21032
21032
  w.icon.dynamicLayoutVertexBuffer.updateData(ue);
@@ -21045,9 +21045,9 @@ uniform ${V} ${j} u_${Y};
21045
21045
  if (!Et) continue;
21046
21046
  const Kt = v ? Et.text : Et.icon;
21047
21047
  if (!Kt || !Kt.segments.get().length || !Kt.hasVisibleVertices) continue;
21048
- const at = Kt.programConfigurations.get(h.id), pt = v || Et.sdfIcons, qt = v ? Et.textSizeData : Et.iconSizeData, oi = he || ie.pitch !== 0, sn = w.useProgram(pm(pt, v, Et), at), yn = o.ag(qt, ie.zoom), ai = w.style.map.terrain && w.style.map.terrain.getTerrainData(rt);
21048
+ const at = Kt.programConfigurations.get(h.id), pt = v || Et.sdfIcons, Gt = v ? Et.textSizeData : Et.iconSizeData, oi = he || ie.pitch !== 0, sn = w.useProgram(pm(pt, v, Et), at), yn = o.ag(Gt, ie.zoom), ai = w.style.map.terrain && w.style.map.terrain.getTerrainData(rt);
21049
21049
  let Qi, Ts, li, Ir, mr = [0, 0], gr = null;
21050
- if (v) Ts = tt.glyphAtlasTexture, li = te.LINEAR, Qi = tt.glyphAtlasTexture.size, Et.iconsInText && (mr = tt.imageAtlasTexture.size, gr = tt.imageAtlasTexture, Ir = oi || w.options.rotating || w.options.zooming || qt.kind === "composite" || qt.kind === "camera" ? te.LINEAR : te.NEAREST);
21050
+ if (v) Ts = tt.glyphAtlasTexture, li = te.LINEAR, Qi = tt.glyphAtlasTexture.size, Et.iconsInText && (mr = tt.imageAtlasTexture.size, gr = tt.imageAtlasTexture, Ir = oi || w.options.rotating || w.options.zooming || Gt.kind === "composite" || Gt.kind === "camera" ? te.LINEAR : te.NEAREST);
21051
21051
  else {
21052
21052
  const gi = h.layout.get("icon-size").constantOr(0) !== 1 || Et.iconsNeedLinear;
21053
21053
  Ts = tt.imageAtlasTexture, li = pt || w.options.rotating || w.options.zooming || gi || oi ? te.LINEAR : te.NEAREST, Qi = tt.imageAtlasTexture.size;
@@ -21059,7 +21059,7 @@ uniform ${V} ${j} u_${Y};
21059
21059
  }
21060
21060
  const Zr = rt.posMatrix, Ms = v && Xe || lf, Xr = me || Ms ? ju : Sl, Uo = sd, vr = pt && h.paint.get(v ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
21061
21061
  let er;
21062
- er = pt ? Et.iconsInText ? Ih(qt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, Qi, mr, yt) : pc(qt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, v, Qi, !0, yt) : em(qt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, v, Qi, yt);
21062
+ er = pt ? Et.iconsInText ? Ih(Gt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, Qi, mr, yt) : pc(Gt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, v, Qi, !0, yt) : em(Gt.kind, yn, re, he, me, Ms, w, Zr, Xr, Uo, Ia, v, Qi, yt);
21063
21063
  const Zn = { program: sn, buffers: Kt, uniformValues: er, atlasTexture: Ts, atlasTextureIcon: gr, atlasInterpolation: li, atlasInterpolationIcon: Ir, isSDF: pt, hasHalo: vr };
21064
21064
  if (we && Et.canOverlap) {
21065
21065
  Ae = !0;
@@ -21232,7 +21232,7 @@ uniform ${V} ${j} u_${Y};
21232
21232
  }
21233
21233
  class Gu {
21234
21234
  constructor(l, h) {
21235
- this.context = new K0(l), this.transform = h, this._tileTextures = {}, this.terrainFacilitator = { dirty: !0, matrix: o.an(new Float64Array(16)), renderTime: 0 }, this.setup(), this.numSublayers = Ue.maxUnderzooming + Ue.maxOverzooming + 1, this.depthEpsilon = 1 / Math.pow(2, 16), this.crossTileSymbolIndex = new Th();
21235
+ this.context = new K0(l), this.transform = h, this._tileTextures = {}, this.terrainFacilitator = { dirty: !0, matrix: o.an(new Float64Array(16)), renderTime: 0 }, this.setup(), this.numSublayers = We.maxUnderzooming + We.maxOverzooming + 1, this.depthEpsilon = 1 / Math.pow(2, 16), this.crossTileSymbolIndex = new Th();
21236
21236
  }
21237
21237
  resize(l, h, y) {
21238
21238
  if (this.width = Math.floor(l * y), this.height = Math.floor(h * y), this.pixelRatio = y, this.context.viewport.set([0, 0, this.width, this.height]), this.style) for (const v of this.style._order) this.style._layers[v].resize();
@@ -21398,8 +21398,8 @@ uniform ${V} ${j} u_${Y};
21398
21398
  if (!rt || !rt.text || !rt.text.segments.get().length) continue;
21399
21399
  const tt = o.ag(rt.textSizeData, we.zoom), Et = mn(yt, 1, te.transform.zoom), Kt = hr(ut.posMatrix, Xe, Ve, te.transform, Et), at = ie.layout.get("icon-text-fit") !== "none" && rt.hasIconData();
21400
21400
  if (tt) {
21401
- const pt = Math.pow(2, we.zoom - yt.tileID.overscaledZ), qt = te.style.map.terrain ? (sn, yn) => te.style.map.terrain.getElevation(ut, sn, yn) : null, oi = Ae.translatePosition(we, yt, me, re);
21402
- cs(rt, Ve, Xe, xe, we, Kt, ut.posMatrix, pt, tt, at, Ae, oi, ut.toUnwrapped(), qt);
21401
+ const pt = Math.pow(2, we.zoom - yt.tileID.overscaledZ), Gt = te.style.map.terrain ? (sn, yn) => te.style.map.terrain.getElevation(ut, sn, yn) : null, oi = Ae.translatePosition(we, yt, me, re);
21402
+ cs(rt, Ve, Xe, xe, we, Kt, ut.posMatrix, pt, tt, at, Ae, oi, ut.toUnwrapped(), Gt);
21403
21403
  }
21404
21404
  }
21405
21405
  }(P, x, I, A, I.layout.get("text-rotation-alignment"), I.layout.get("text-pitch-alignment"), I.paint.get("text-translate"), I.paint.get("text-translate-anchor"), B), I.paint.get("icon-opacity").constantOr(1) !== 0 && jh(x, A, I, P, !1, I.paint.get("icon-translate"), I.paint.get("icon-translate-anchor"), I.layout.get("icon-rotation-alignment"), I.layout.get("icon-pitch-alignment"), I.layout.get("icon-keep-upright"), V, j), I.paint.get("text-opacity").constantOr(1) !== 0 && jh(x, A, I, P, !0, I.paint.get("text-translate"), I.paint.get("text-translate-anchor"), I.layout.get("text-rotation-alignment"), I.layout.get("text-pitch-alignment"), I.layout.get("text-keep-upright"), V, j), A.map.showCollisionBoxes && (yc(x, A, I, P, !0), yc(x, A, I, P, !1));
@@ -21476,22 +21476,22 @@ uniform ${V} ${j} u_${Y};
21476
21476
  if (!Xe) continue;
21477
21477
  const ut = Xe.programConfigurations.get(I.id), yt = x.context.program.get(), rt = x.useProgram(me, ut), tt = we || rt.program !== yt, Et = x.style.map.terrain && x.style.map.terrain.getTerrainData(Ae), Kt = ie.constantOr(null);
21478
21478
  if (Kt && Ve.imageAtlas) {
21479
- const qt = Ve.imageAtlas, oi = qt.patternPositions[Kt.to.toString()], sn = qt.patternPositions[Kt.from.toString()];
21479
+ const Gt = Ve.imageAtlas, oi = Gt.patternPositions[Kt.to.toString()], sn = Gt.patternPositions[Kt.from.toString()];
21480
21480
  oi && sn && ut.setConstantPatternPositions(oi, sn);
21481
21481
  }
21482
21482
  const at = Et ? Ae : null, pt = ae ? pl(x, Ve, I, he, at) : te ? F0(x, Ve, I, te, he, at) : ue ? Kp(x, Ve, I, Xe.lineClipsArray.length, at) : Nu(x, Ve, I, at);
21483
21483
  if (ae) re.activeTexture.set(xe.TEXTURE0), Ve.imageAtlasTexture.bind(xe.LINEAR, xe.CLAMP_TO_EDGE), ut.updatePaintBuffers(he);
21484
21484
  else if (te && (tt || x.lineAtlas.dirty)) re.activeTexture.set(xe.TEXTURE0), x.lineAtlas.bind(re);
21485
21485
  else if (ue) {
21486
- const qt = Xe.gradients[I.id];
21487
- let oi = qt.texture;
21488
- if (I.gradientVersion !== qt.version) {
21486
+ const Gt = Xe.gradients[I.id];
21487
+ let oi = Gt.texture;
21488
+ if (I.gradientVersion !== Gt.version) {
21489
21489
  let sn = 256;
21490
21490
  if (I.stepInterpolant) {
21491
21491
  const yn = A.getSource().maxzoom, ai = Ae.canonical.z === yn ? Math.ceil(1 << x.transform.maxZoom - Ae.canonical.z) : 1;
21492
21492
  sn = o.ac(o.aV(Xe.maxLineLength / o.X * 1024 * ai), 256, re.maxTextureSize);
21493
21493
  }
21494
- qt.gradient = o.aW({ expression: I.gradientExpression(), evaluationKey: "lineProgress", resolution: sn, image: qt.gradient || void 0, clips: Xe.lineClipsArray }), qt.texture ? qt.texture.update(qt.gradient) : qt.texture = new Ye(re, qt.gradient, xe.RGBA), qt.version = I.gradientVersion, oi = qt.texture;
21494
+ Gt.gradient = o.aW({ expression: I.gradientExpression(), evaluationKey: "lineProgress", resolution: sn, image: Gt.gradient || void 0, clips: Xe.lineClipsArray }), Gt.texture ? Gt.texture.update(Gt.gradient) : Gt.texture = new Ye(re, Gt.gradient, xe.RGBA), Gt.version = I.gradientVersion, oi = Gt.texture;
21495
21495
  }
21496
21496
  re.activeTexture.set(xe.TEXTURE0), oi.bind(I.stepInterpolant ? xe.NEAREST : xe.LINEAR, xe.CLAMP_TO_EDGE);
21497
21497
  }
@@ -21867,7 +21867,7 @@ uniform ${V} ${j} u_${Y};
21867
21867
  const tt = (xe << 1) + rt % 2, Et = (we << 1) + (rt >> 1), Kt = re.zoom + 1;
21868
21868
  let at = re.aabb.quadrant(rt);
21869
21869
  if (l.terrain) {
21870
- const pt = new o.S(Kt, re.wrap, Kt, tt, Et), qt = l.terrain.getMinMaxElevation(pt), oi = (h = qt.minElevation) !== null && h !== void 0 ? h : this.elevation, sn = (y = qt.maxElevation) !== null && y !== void 0 ? y : this.elevation;
21870
+ const pt = new o.S(Kt, re.wrap, Kt, tt, Et), Gt = l.terrain.getMinMaxElevation(pt), oi = (h = Gt.minElevation) !== null && h !== void 0 ? h : this.elevation, sn = (y = Gt.maxElevation) !== null && y !== void 0 ? y : this.elevation;
21871
21871
  at = new bl([at.min[0], at.min[1], oi], [at.max[0], at.max[1], sn]);
21872
21872
  }
21873
21873
  ae.push({ aabb: at, zoom: Kt, x: tt, y: Et, wrap: re.wrap, fullyVisible: Ae });
@@ -23367,13 +23367,13 @@ uniform ${V} ${j} u_${Y};
23367
23367
  let xe = l.curve;
23368
23368
  const we = Math.max(v.width, v.height), Ae = we / he, Ve = re.mag();
23369
23369
  if ("minZoom" in l) {
23370
- const pt = o.ac(Math.min(l.minZoom, x, ue), v.minZoom, v.maxZoom), qt = we / v.zoomScale(pt - x);
23371
- xe = Math.sqrt(qt / Ve * 2);
23370
+ const pt = o.ac(Math.min(l.minZoom, x, ue), v.minZoom, v.maxZoom), Gt = we / v.zoomScale(pt - x);
23371
+ xe = Math.sqrt(Gt / Ve * 2);
23372
23372
  }
23373
23373
  const Xe = xe * xe;
23374
23374
  function ut(pt) {
23375
- const qt = (Ae * Ae - we * we + (pt ? -1 : 1) * Xe * Xe * Ve * Ve) / (2 * (pt ? Ae : we) * Xe * Ve);
23376
- return Math.log(Math.sqrt(qt * qt + 1) - qt);
23375
+ const Gt = (Ae * Ae - we * we + (pt ? -1 : 1) * Xe * Xe * Ve * Ve) / (2 * (pt ? Ae : we) * Xe * Ve);
23376
+ return Math.log(Math.sqrt(Gt * Gt + 1) - Gt);
23377
23377
  }
23378
23378
  function yt(pt) {
23379
23379
  return (Math.exp(pt) - Math.exp(-pt)) / 2;
@@ -23385,18 +23385,18 @@ uniform ${V} ${j} u_${Y};
23385
23385
  let Et = function(pt) {
23386
23386
  return rt(tt) / rt(tt + xe * pt);
23387
23387
  }, Kt = function(pt) {
23388
- return we * ((rt(tt) * (yt(qt = tt + xe * pt) / rt(qt)) - yt(tt)) / Xe) / Ve;
23389
- var qt;
23388
+ return we * ((rt(tt) * (yt(Gt = tt + xe * pt) / rt(Gt)) - yt(tt)) / Xe) / Ve;
23389
+ var Gt;
23390
23390
  }, at = (ut(!0) - tt) / xe;
23391
23391
  if (Math.abs(Ve) < 1e-6 || !isFinite(at)) {
23392
23392
  if (Math.abs(we - Ae) < 1e-6) return this.easeTo(l, h);
23393
23393
  const pt = Ae < we ? -1 : 1;
23394
- at = Math.abs(Math.log(Ae / we)) / xe, Kt = () => 0, Et = (qt) => Math.exp(pt * xe * qt);
23394
+ at = Math.abs(Math.log(Ae / we)) / xe, Kt = () => 0, Et = (Gt) => Math.exp(pt * xe * Gt);
23395
23395
  }
23396
23396
  return l.duration = "duration" in l ? +l.duration : 1e3 * at / ("screenSpeed" in l ? +l.screenSpeed / xe : +l.speed), l.maxDuration && l.duration > l.maxDuration && (l.duration = 0), this._zooming = !0, this._rotating = A !== B, this._pitching = V !== I, this._padding = !v.isPaddingEqual(j), this._prepareEase(h, !1), this.terrain && this._prepareElevation(ae), this._ease((pt) => {
23397
- const qt = pt * at, oi = 1 / Et(qt);
23397
+ const Gt = pt * at, oi = 1 / Et(Gt);
23398
23398
  v.zoom = pt === 1 ? ue : x + v.scaleZoom(oi), this._rotating && (v.bearing = o.y.number(A, B, pt)), this._pitching && (v.pitch = o.y.number(I, V, pt)), this._padding && (v.interpolatePadding(P, j, pt), te = v.centerPoint.add(Y)), this.terrain && !l.freezeElevation && this._updateElevation(pt);
23399
- const sn = pt === 1 ? ae : v.unproject(me.add(re.mult(Kt(qt))).mult(oi));
23399
+ const sn = pt === 1 ? ae : v.unproject(me.add(re.mult(Kt(Gt))).mult(oi));
23400
23400
  v.setLocationAtPoint(v.renderWorldCopies ? sn.wrap() : sn, te), this._applyUpdatedTransform(v), this._fireMoveEvents(h);
23401
23401
  }, () => {
23402
23402
  this.terrain && l.freezeElevation && this._finalizeElevation(), this._afterEase(h);
@@ -25887,7 +25887,7 @@ function vV(t, e, n, i, r, s) {
25887
25887
  }, null, 40, cV), [
25888
25888
  [Cz, r.selectedBaseLayer]
25889
25889
  ]),
25890
- L("span", uV, We(f.name), 1)
25890
+ L("span", uV, Ue(f.name), 1)
25891
25891
  ])
25892
25892
  ]))), 128))
25893
25893
  ], 2),
@@ -25904,7 +25904,7 @@ function vV(t, e, n, i, r, s) {
25904
25904
  }, null, 40, fV), [
25905
25905
  [bu, r.selectedLayers]
25906
25906
  ]),
25907
- L("span", pV, We(f.name), 1)
25907
+ L("span", pV, Ue(f.name), 1)
25908
25908
  ])
25909
25909
  ]))), 128))
25910
25910
  ])) : _t("", !0),
@@ -26454,8 +26454,8 @@ let ub = null, db = null, eh = class eM extends a1 {
26454
26454
  Z.style.setProperty("transform", "none", "important"), a && (Z.style.width = "", Z.style.height = ""), Z.offsetHeight;
26455
26455
  const be = s.getBoundingClientRect();
26456
26456
  let Ce = be.width * i, $e = be.height * i, ke = Ce, Be = $e;
26457
- Ce = Math.min(Ce, z), $e = Math.min($e, $), a ? { width: Ce, height: $e } = ((je, pe, Ft, $t) => {
26458
- const jt = Ft / je, Yt = $t / pe, hn = Math.min(jt, Yt);
26457
+ Ce = Math.min(Ce, z), $e = Math.min($e, $), a ? { width: Ce, height: $e } = ((je, pe, $t, Vt) => {
26458
+ const Bt = $t / je, Ut = Vt / pe, hn = Math.min(Bt, Ut);
26459
26459
  return { width: je *= hn, height: pe *= hn };
26460
26460
  })(z, $, Ce, $e) : (Ce = Math.min(Ce, z), $e = Math.min($e, $));
26461
26461
  let Ye = 0.5 * (Be - $e), qe = 0.5 * (ke - Ce);
@@ -28970,15 +28970,15 @@ function qV(t, e, n, i, r, s) {
28970
28970
  return X(), ne(kt, null, [
28971
28971
  e[1] || (e[1] = Do('<div class="flex items-center justify-center h-[30px] w-[30px]"><svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-file"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M14 3v4a1 1 0 0 0 1 1h4"></path><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"></path></svg></div>', 1)),
28972
28972
  L("div", VV, [
28973
- L("p", jV, We(n.item.uploaded_name), 1),
28973
+ L("p", jV, Ue(n.item.uploaded_name), 1),
28974
28974
  L("p", HV, [
28975
- L("span", null, We(n.item.username), 1),
28975
+ L("span", null, Ue(n.item.username), 1),
28976
28976
  ms(L("span", UV, "|", 512), [
28977
28977
  [jy, (a = n.item) == null ? void 0 : a.username]
28978
28978
  ]),
28979
- L("span", null, We(s.createDate), 1),
28979
+ L("span", null, Ue(s.createDate), 1),
28980
28980
  e[0] || (e[0] = L("span", { class: "px-[5px]" }, "|", -1)),
28981
- L("span", WV, We(s.formatBytes((o = n.item) == null ? void 0 : o.size)), 1)
28981
+ L("span", WV, Ue(s.formatBytes((o = n.item) == null ? void 0 : o.size)), 1)
28982
28982
  ])
28983
28983
  ])
28984
28984
  ], 64);
@@ -29159,7 +29159,7 @@ const hj = /* @__PURE__ */ ft(ej, [["render", dj]]), fj = {
29159
29159
  }, pj = { class: "pl-3 text-sm font-medium text-gray-600" };
29160
29160
  function mj(t, e, n, i, r, s) {
29161
29161
  return X(), ne("div", null, [
29162
- L("p", pj, We(n.text), 1)
29162
+ L("p", pj, Ue(n.text), 1)
29163
29163
  ]);
29164
29164
  }
29165
29165
  const xM = /* @__PURE__ */ ft(fj, [["render", mj]]), gj = {}, yj = {
@@ -29271,7 +29271,7 @@ function Oj(t, e, n, i, r, s) {
29271
29271
  const a = Ge("IconUpload"), o = Ge("VsWidgetFileItem"), f = Ge("VsDialog");
29272
29272
  return X(), ne("div", wj, [
29273
29273
  L("div", kj, [
29274
- L("h2", Sj, " Файлів: " + We(r.files.length), 1),
29274
+ L("h2", Sj, " Файлів: " + Ue(r.files.length), 1),
29275
29275
  L("div", Ej, [
29276
29276
  L("label", null, [
29277
29277
  L("input", {
@@ -29349,18 +29349,18 @@ function Oj(t, e, n, i, r, s) {
29349
29349
  }, {
29350
29350
  default: Tt(() => [
29351
29351
  L("div", Ij, [
29352
- L("p", Pj, We(r.modal.message), 1),
29352
+ L("p", Pj, Ue(r.modal.message), 1),
29353
29353
  L("div", Rj, [
29354
29354
  L("button", {
29355
29355
  type: "button",
29356
29356
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
29357
29357
  onClick: e[4] || (e[4] = (..._) => r.modal.cancel && r.modal.cancel(..._))
29358
- }, We(r.modal.cancelButtonText), 1),
29358
+ }, Ue(r.modal.cancelButtonText), 1),
29359
29359
  L("button", {
29360
29360
  type: "button",
29361
29361
  class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
29362
29362
  onClick: e[5] || (e[5] = (..._) => r.modal.confirm && r.modal.confirm(..._))
29363
- }, We(r.modal.confirmButtonText), 1)
29363
+ }, Ue(r.modal.confirmButtonText), 1)
29364
29364
  ])
29365
29365
  ])
29366
29366
  ]),
@@ -29432,7 +29432,7 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29432
29432
  L("div", Vj, [
29433
29433
  Fe(Fj),
29434
29434
  O[0] || (O[0] = L("p", { class: "font-medium text-gray-800 text-center mt-[16px] !mb-0" }, " Додати фото ", -1)),
29435
- L("p", jj, We(a.value), 1)
29435
+ L("p", jj, Ue(a.value), 1)
29436
29436
  ])
29437
29437
  ], 34),
29438
29438
  L("input", {
@@ -29481,7 +29481,7 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29481
29481
  console.error(qe);
29482
29482
  }
29483
29483
  }, g = async (ke) => {
29484
- var qe, je, pe, Ft;
29484
+ var qe, je, pe, $t;
29485
29485
  if (((qe = r.value) == null ? void 0 : qe.length) + ((pe = Array.from((je = ke.target) == null ? void 0 : je.files)) == null ? void 0 : pe.length) > i.limit) {
29486
29486
  n({
29487
29487
  type: "error",
@@ -29490,9 +29490,12 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29490
29490
  });
29491
29491
  return;
29492
29492
  }
29493
- const Be = Array.from((Ft = ke.target) == null ? void 0 : Ft.files);
29493
+ const Be = Array.from(($t = ke.target) == null ? void 0 : $t.files);
29494
29494
  if (!Be.every(
29495
- ($t) => f == null ? void 0 : f.includes("." + $t.name.split(".").pop())
29495
+ (Vt) => {
29496
+ var Bt, Ut;
29497
+ return f == null ? void 0 : f.includes("." + ((Ut = (Bt = Vt.name.split(".")) == null ? void 0 : Bt.pop()) == null ? void 0 : Ut.toLowerCase()));
29498
+ }
29496
29499
  )) {
29497
29500
  n({
29498
29501
  type: "error",
@@ -29502,13 +29505,13 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29502
29505
  return;
29503
29506
  }
29504
29507
  await Promise.all(
29505
- Be.map(async ($t) => {
29506
- const jt = new FormData();
29507
- jt.append("file", $t);
29508
+ Be.map(async (Vt) => {
29509
+ const Bt = new FormData();
29510
+ Bt.append("file", Vt);
29508
29511
  try {
29509
- await ct.post(`${i.prefix}/widget/file/${i == null ? void 0 : i.id}`, jt);
29510
- } catch (Yt) {
29511
- console.error(Yt);
29512
+ await ct.post(`${i.prefix}/widget/file/${i == null ? void 0 : i.id}`, Bt);
29513
+ } catch (Ut) {
29514
+ console.error(Ut);
29512
29515
  }
29513
29516
  })
29514
29517
  ), await m();
@@ -29533,8 +29536,8 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29533
29536
  var Be, Ye, qe;
29534
29537
  await M(), s.value = !1, await m(), (Be = r.value) != null && Be[0] && !((qe = (Ye = r.value) == null ? void 0 : Ye[0]) != null && qe.ismain) && setTimeout(
29535
29538
  () => {
29536
- var je, pe, Ft, $t;
29537
- return S((pe = (je = r.value) == null ? void 0 : je[0]) == null ? void 0 : pe.entity_id, ($t = (Ft = r.value) == null ? void 0 : Ft[0]) == null ? void 0 : $t.file_id);
29539
+ var je, pe, $t, Vt;
29540
+ return S((pe = (je = r.value) == null ? void 0 : je[0]) == null ? void 0 : pe.entity_id, (Vt = ($t = r.value) == null ? void 0 : $t[0]) == null ? void 0 : Vt.file_id);
29538
29541
  }
29539
29542
  );
29540
29543
  },
@@ -29582,8 +29585,8 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29582
29585
  if (!qe) return;
29583
29586
  r.value.splice(Be, 1), r.value.splice(ke, 0, qe), ge.value = null, setTimeout(
29584
29587
  () => {
29585
- var je, pe, Ft, $t;
29586
- return S((pe = (je = r.value) == null ? void 0 : je[0]) == null ? void 0 : pe.entity_id, ($t = (Ft = r.value) == null ? void 0 : Ft[0]) == null ? void 0 : $t.file_id);
29588
+ var je, pe, $t, Vt;
29589
+ return S((pe = (je = r.value) == null ? void 0 : je[0]) == null ? void 0 : pe.entity_id, (Vt = ($t = r.value) == null ? void 0 : $t[0]) == null ? void 0 : Vt.file_id);
29587
29590
  }
29588
29591
  );
29589
29592
  }
@@ -29598,7 +29601,7 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29598
29601
  class: "flex flex-col vs-widget-images xl:bg-white xl:rounded-xl dark:xl:bg-neutral-800 dark:xl:border-neutral-700"
29599
29602
  }, [
29600
29603
  L("div", qj, [
29601
- L("h2", Gj, " Світлин: " + We(r.value.length), 1),
29604
+ L("h2", Gj, " Світлин: " + Ue(r.value.length) + " (ліміт - " + Ue(t.limit) + ") ", 1),
29602
29605
  L("div", Yj, [
29603
29606
  L("div", null, [
29604
29607
  L("label", null, [
@@ -29650,12 +29653,12 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29650
29653
  }, null, 8, e6),
29651
29654
  L("div", t6, [
29652
29655
  L("div", null, [
29653
- L("span", n6, We(qe.uploaded_name), 1),
29656
+ L("span", n6, Ue(qe.uploaded_name), 1),
29654
29657
  L("div", i6, [
29655
- L("span", r6, We(O(qe.size)), 1),
29656
- L("span", null, We(z(qe.cdate)), 1)
29658
+ L("span", r6, Ue(O(qe.size)), 1),
29659
+ L("span", null, Ue(z(qe.cdate)), 1)
29657
29660
  ]),
29658
- L("span", s6, We(qe.username), 1),
29661
+ L("span", s6, Ue(qe.username), 1),
29659
29662
  qe != null && qe.ismain ? _t("", !0) : (X(), ne("div", {
29660
29663
  key: 0,
29661
29664
  class: "text-xs underline",
@@ -29697,18 +29700,18 @@ const Fj = /* @__PURE__ */ ft(Lj, [["render", Bj]]), $j = { class: "cursor-point
29697
29700
  }, {
29698
29701
  default: Tt(() => [
29699
29702
  L("div", c6, [
29700
- L("p", u6, We(o.value.message), 1),
29703
+ L("p", u6, Ue(o.value.message), 1),
29701
29704
  L("div", d6, [
29702
29705
  L("button", {
29703
29706
  type: "button",
29704
29707
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700",
29705
29708
  onClick: Be[2] || (Be[2] = (...qe) => o.value.cancel && o.value.cancel(...qe))
29706
- }, We(o.value.cancelButtonText), 1),
29709
+ }, Ue(o.value.cancelButtonText), 1),
29707
29710
  L("button", {
29708
29711
  type: "button",
29709
29712
  class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600",
29710
29713
  onClick: Be[3] || (Be[3] = (...qe) => o.value.confirm && o.value.confirm(...qe))
29711
- }, We(o.value.confirmButtonText), 1)
29714
+ }, Ue(o.value.confirmButtonText), 1)
29712
29715
  ])
29713
29716
  ])
29714
29717
  ]),
@@ -42244,8 +42247,8 @@ function kp(t, e) {
42244
42247
  if (S === Lf && Ye) {
42245
42248
  var qe = Ye[r];
42246
42249
  Object.keys(Be).forEach(function(je) {
42247
- var pe = [mo, po].indexOf(je) >= 0 ? 1 : -1, Ft = [vs, po].indexOf(je) >= 0 ? "y" : "x";
42248
- Be[je] += qe[Ft] * pe;
42250
+ var pe = [mo, po].indexOf(je) >= 0 ? 1 : -1, $t = [vs, po].indexOf(je) >= 0 ? "y" : "x";
42251
+ Be[je] += qe[$t] * pe;
42249
42252
  });
42250
42253
  }
42251
42254
  return Be;
@@ -42289,16 +42292,16 @@ function Gq(t) {
42289
42292
  allowedAutoPlacements: O
42290
42293
  }) : Tn);
42291
42294
  }, []), ge = e.rects.reference, be = e.rects.popper, Ce = /* @__PURE__ */ new Map(), $e = !0, ke = Z[0], Be = 0; Be < Z.length; Be++) {
42292
- var Ye = Z[Be], qe = ra(Ye), je = uh(Ye) === ah, pe = [vs, po].indexOf(qe) >= 0, Ft = pe ? "width" : "height", $t = kp(e, {
42295
+ var Ye = Z[Be], qe = ra(Ye), je = uh(Ye) === ah, pe = [vs, po].indexOf(qe) >= 0, $t = pe ? "width" : "height", Vt = kp(e, {
42293
42296
  placement: Ye,
42294
42297
  boundary: g,
42295
42298
  rootBoundary: _,
42296
42299
  altBoundary: S,
42297
42300
  padding: m
42298
- }), jt = pe ? je ? mo : bs : je ? po : vs;
42299
- ge[Ft] > be[Ft] && (jt = Wg(jt));
42300
- var Yt = Wg(jt), hn = [];
42301
- if (s && hn.push($t[qe] <= 0), o && hn.push($t[jt] <= 0, $t[Yt] <= 0), hn.every(function(zn) {
42301
+ }), Bt = pe ? je ? mo : bs : je ? po : vs;
42302
+ ge[$t] > be[$t] && (Bt = Wg(Bt));
42303
+ var Ut = Wg(Bt), hn = [];
42304
+ if (s && hn.push(Vt[qe] <= 0), o && hn.push(Vt[Bt] <= 0, Vt[Ut] <= 0), hn.every(function(zn) {
42302
42305
  return zn;
42303
42306
  })) {
42304
42307
  ke = Ye, $e = !1;
@@ -42437,11 +42440,11 @@ function i7(t) {
42437
42440
  };
42438
42441
  if (be) {
42439
42442
  if (s) {
42440
- var je, pe = Z === "y" ? vs : bs, Ft = Z === "y" ? po : mo, $t = Z === "y" ? "height" : "width", jt = be[Z], Yt = jt + z[pe], hn = jt - z[Ft], an = C ? -$e[$t] / 2 : 0, kn = q === ah ? Ce[$t] : $e[$t], pn = q === ah ? -$e[$t] : -Ce[$t], ii = e.elements.arrow, zn = C && ii ? R1(ii) : {
42443
+ var je, pe = Z === "y" ? vs : bs, $t = Z === "y" ? po : mo, Vt = Z === "y" ? "height" : "width", Bt = be[Z], Ut = Bt + z[pe], hn = Bt - z[$t], an = C ? -$e[Vt] / 2 : 0, kn = q === ah ? Ce[Vt] : $e[Vt], pn = q === ah ? -$e[Vt] : -Ce[Vt], ii = e.elements.arrow, zn = C && ii ? R1(ii) : {
42441
42444
  width: 0,
42442
42445
  height: 0
42443
- }, Tn = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : rI(), Ln = Tn[pe], Pe = Tn[Ft], Qe = ep(0, Ce[$t], zn[$t]), st = K ? Ce[$t] / 2 - an - Qe - Ln - Be.mainAxis : kn - Qe - Ln - Be.mainAxis, xt = K ? -Ce[$t] / 2 + an + Qe + Pe + Be.mainAxis : pn + Qe + Pe + Be.mainAxis, rn = e.elements.arrow && Hp(e.elements.arrow), Sn = rn ? Z === "y" ? rn.clientTop || 0 : rn.clientLeft || 0 : 0, Zt = (je = Ye == null ? void 0 : Ye[Z]) != null ? je : 0, Wt = jt + st - Zt - Sn, An = jt + xt - Zt, De = ep(C ? Sy(Yt, Wt) : Yt, jt, C ? pu(hn, An) : hn);
42444
- be[Z] = De, qe[Z] = De - jt;
42446
+ }, Tn = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : rI(), Ln = Tn[pe], Pe = Tn[$t], Qe = ep(0, Ce[Vt], zn[Vt]), st = K ? Ce[Vt] / 2 - an - Qe - Ln - Be.mainAxis : kn - Qe - Ln - Be.mainAxis, xt = K ? -Ce[Vt] / 2 + an + Qe + Pe + Be.mainAxis : pn + Qe + Pe + Be.mainAxis, rn = e.elements.arrow && Hp(e.elements.arrow), Sn = rn ? Z === "y" ? rn.clientTop || 0 : rn.clientLeft || 0 : 0, Zt = (je = Ye == null ? void 0 : Ye[Z]) != null ? je : 0, qt = Bt + st - Zt - Sn, An = Bt + xt - Zt, De = ep(C ? Sy(Ut, qt) : Ut, Bt, C ? pu(hn, An) : hn);
42447
+ be[Z] = De, qe[Z] = De - Bt;
42445
42448
  }
42446
42449
  if (o) {
42447
42450
  var Yn, Gs = Z === "x" ? vs : bs, _n = Z === "x" ? po : mo, Pn = be[ge], Er = ge === "y" ? "height" : "width", Cr = Pn + z[Gs], qi = Pn - z[_n], rs = [vs, bs].indexOf($) !== -1, Gi = (Yn = Ye == null ? void 0 : Ye[ge]) != null ? Yn : 0, Ys = rs ? Cr : Pn - Ce[Er] - $e[Er] - Gi + Be.altAxis, Zs = rs ? Pn + Ce[Er] + $e[Er] - Gi - Be.altAxis : qi, Ke = C && rs ? Tq(Ys, Pn, Zs) : ep(C ? Ys : Cr, Pn, C ? Zs : qi);
@@ -43012,7 +43015,7 @@ function bI(t) {
43012
43015
  bI.$$tippy = !0;
43013
43016
  var j7 = 1, Eg = [], qb = [];
43014
43017
  function H7(t, e) {
43015
- var n = UC(t, Object.assign({}, Ls, yI(FC(e)))), i, r, s, a = !1, o = !1, f = !1, m = !1, g, _, S, C = [], M = NC(Wt, n.interactiveDebounce), O, z = j7++, $ = null, q = x7(n.plugins), K = {
43018
+ var n = UC(t, Object.assign({}, Ls, yI(FC(e)))), i, r, s, a = !1, o = !1, f = !1, m = !1, g, _, S, C = [], M = NC(qt, n.interactiveDebounce), O, z = j7++, $ = null, q = x7(n.plugins), K = {
43016
43019
  // Is the instance currently enabled?
43017
43020
  isEnabled: !0,
43018
43021
  // Is the tippy currently showing and not transitioning out?
@@ -43051,7 +43054,7 @@ function H7(t, e) {
43051
43054
  var $e = q.map(function(Me) {
43052
43055
  return Me.fn(Z);
43053
43056
  }), ke = t.hasAttribute("aria-expanded");
43054
- return rn(), an(), jt(), Yt("onCreate", [Z]), n.showOnCreate && Cr(), be.addEventListener("mouseenter", function() {
43057
+ return rn(), an(), Bt(), Ut("onCreate", [Z]), n.showOnCreate && Cr(), be.addEventListener("mouseenter", function() {
43055
43058
  Z.props.interactive && Z.state.isVisible && Z.clearDelayTimeouts();
43056
43059
  }), be.addEventListener("mouseleave", function() {
43057
43060
  Z.props.interactive && Z.props.trigger.indexOf("mouseenter") >= 0 && pe().addEventListener("mousemove", M);
@@ -43074,34 +43077,34 @@ function H7(t, e) {
43074
43077
  var Me = je().parentNode;
43075
43078
  return Me ? T7(Me) : document;
43076
43079
  }
43077
- function Ft() {
43080
+ function $t() {
43078
43081
  return cx(be);
43079
43082
  }
43080
- function $t(Me) {
43083
+ function Vt(Me) {
43081
43084
  return Z.state.isMounted && !Z.state.isVisible || Jo.isTouch || g && g.type === "focus" ? 0 : Hb(Z.props.delay, Me ? 0 : 1, Ls.delay);
43082
43085
  }
43083
- function jt(Me) {
43086
+ function Bt(Me) {
43084
43087
  Me === void 0 && (Me = !1), be.style.pointerEvents = Z.props.interactive && !Me ? "" : "none", be.style.zIndex = "" + Z.props.zIndex;
43085
43088
  }
43086
- function Yt(Me, Ue, zt) {
43089
+ function Ut(Me, We, zt) {
43087
43090
  if (zt === void 0 && (zt = !0), $e.forEach(function(dt) {
43088
- dt[Me] && dt[Me].apply(dt, Ue);
43091
+ dt[Me] && dt[Me].apply(dt, We);
43089
43092
  }), zt) {
43090
43093
  var dn;
43091
- (dn = Z.props)[Me].apply(dn, Ue);
43094
+ (dn = Z.props)[Me].apply(dn, We);
43092
43095
  }
43093
43096
  }
43094
43097
  function hn() {
43095
43098
  var Me = Z.props.aria;
43096
43099
  if (Me.content) {
43097
- var Ue = "aria-" + Me.content, zt = be.id, dn = Ld(Z.props.triggerTarget || t);
43100
+ var We = "aria-" + Me.content, zt = be.id, dn = Ld(Z.props.triggerTarget || t);
43098
43101
  dn.forEach(function(dt) {
43099
- var si = dt.getAttribute(Ue);
43102
+ var si = dt.getAttribute(We);
43100
43103
  if (Z.state.isVisible)
43101
- dt.setAttribute(Ue, si ? si + " " + zt : zt);
43104
+ dt.setAttribute(We, si ? si + " " + zt : zt);
43102
43105
  else {
43103
43106
  var xi = si && si.replace(zt, "").trim();
43104
- xi ? dt.setAttribute(Ue, xi) : dt.removeAttribute(Ue);
43107
+ xi ? dt.setAttribute(We, xi) : dt.removeAttribute(We);
43105
43108
  }
43106
43109
  });
43107
43110
  }
@@ -43109,8 +43112,8 @@ function H7(t, e) {
43109
43112
  function an() {
43110
43113
  if (!(ke || !Z.props.aria.expanded)) {
43111
43114
  var Me = Ld(Z.props.triggerTarget || t);
43112
- Me.forEach(function(Ue) {
43113
- Z.props.interactive ? Ue.setAttribute("aria-expanded", Z.state.isVisible && Ue === je() ? "true" : "false") : Ue.removeAttribute("aria-expanded");
43115
+ Me.forEach(function(We) {
43116
+ Z.props.interactive ? We.setAttribute("aria-expanded", Z.state.isVisible && We === je() ? "true" : "false") : We.removeAttribute("aria-expanded");
43114
43117
  });
43115
43118
  }
43116
43119
  }
@@ -43121,15 +43124,15 @@ function H7(t, e) {
43121
43124
  }
43122
43125
  function pn(Me) {
43123
43126
  if (!(Jo.isTouch && (f || Me.type === "mousedown"))) {
43124
- var Ue = Me.composedPath && Me.composedPath()[0] || Me.target;
43125
- if (!(Z.props.interactive && VC(be, Ue))) {
43127
+ var We = Me.composedPath && Me.composedPath()[0] || Me.target;
43128
+ if (!(Z.props.interactive && VC(be, We))) {
43126
43129
  if (Ld(Z.props.triggerTarget || t).some(function(zt) {
43127
- return VC(zt, Ue);
43130
+ return VC(zt, We);
43128
43131
  })) {
43129
43132
  if (Jo.isTouch || Z.state.isVisible && Z.props.trigger.indexOf("click") >= 0)
43130
43133
  return;
43131
43134
  } else
43132
- Yt("onClickOutside", [Z, Me]);
43135
+ Ut("onClickOutside", [Z, Me]);
43133
43136
  Z.props.hideOnClick === !0 && (Z.clearDelayTimeouts(), Z.hide(), o = !0, setTimeout(function() {
43134
43137
  o = !1;
43135
43138
  }), Z.state.isMounted || Ln());
@@ -43150,31 +43153,31 @@ function H7(t, e) {
43150
43153
  var Me = pe();
43151
43154
  Me.removeEventListener("mousedown", pn, !0), Me.removeEventListener("touchend", pn, Yc), Me.removeEventListener("touchstart", zn, Yc), Me.removeEventListener("touchmove", ii, Yc);
43152
43155
  }
43153
- function Pe(Me, Ue) {
43156
+ function Pe(Me, We) {
43154
43157
  st(Me, function() {
43155
- !Z.state.isVisible && be.parentNode && be.parentNode.contains(be) && Ue();
43158
+ !Z.state.isVisible && be.parentNode && be.parentNode.contains(be) && We();
43156
43159
  });
43157
43160
  }
43158
- function Qe(Me, Ue) {
43159
- st(Me, Ue);
43161
+ function Qe(Me, We) {
43162
+ st(Me, We);
43160
43163
  }
43161
- function st(Me, Ue) {
43162
- var zt = Ft().box;
43164
+ function st(Me, We) {
43165
+ var zt = $t().box;
43163
43166
  function dn(dt) {
43164
- dt.target === zt && (Wb(zt, "remove", dn), Ue());
43167
+ dt.target === zt && (Wb(zt, "remove", dn), We());
43165
43168
  }
43166
43169
  if (Me === 0)
43167
- return Ue();
43170
+ return We();
43168
43171
  Wb(zt, "remove", _), Wb(zt, "add", dn), _ = dn;
43169
43172
  }
43170
- function xt(Me, Ue, zt) {
43173
+ function xt(Me, We, zt) {
43171
43174
  zt === void 0 && (zt = !1);
43172
43175
  var dn = Ld(Z.props.triggerTarget || t);
43173
43176
  dn.forEach(function(dt) {
43174
- dt.addEventListener(Me, Ue, zt), C.push({
43177
+ dt.addEventListener(Me, We, zt), C.push({
43175
43178
  node: dt,
43176
43179
  eventType: Me,
43177
- handler: Ue,
43180
+ handler: We,
43178
43181
  options: zt
43179
43182
  });
43180
43183
  });
@@ -43201,21 +43204,21 @@ function H7(t, e) {
43201
43204
  }
43202
43205
  function Sn() {
43203
43206
  C.forEach(function(Me) {
43204
- var Ue = Me.node, zt = Me.eventType, dn = Me.handler, dt = Me.options;
43205
- Ue.removeEventListener(zt, dn, dt);
43207
+ var We = Me.node, zt = Me.eventType, dn = Me.handler, dt = Me.options;
43208
+ We.removeEventListener(zt, dn, dt);
43206
43209
  }), C = [];
43207
43210
  }
43208
43211
  function Zt(Me) {
43209
- var Ue, zt = !1;
43212
+ var We, zt = !1;
43210
43213
  if (!(!Z.state.isEnabled || Yn(Me) || o)) {
43211
- var dn = ((Ue = g) == null ? void 0 : Ue.type) === "focus";
43214
+ var dn = ((We = g) == null ? void 0 : We.type) === "focus";
43212
43215
  g = Me, O = Me.currentTarget, an(), !Z.state.isVisible && S7(Me) && Eg.forEach(function(dt) {
43213
43216
  return dt(Me);
43214
43217
  }), Me.type === "click" && (Z.props.trigger.indexOf("mouseenter") < 0 || a) && Z.props.hideOnClick !== !1 && Z.state.isVisible ? zt = !0 : Cr(Me), Me.type === "click" && (a = !zt), zt && !dn && qi(Me);
43215
43218
  }
43216
43219
  }
43217
- function Wt(Me) {
43218
- var Ue = Me.target, zt = je().contains(Ue) || be.contains(Ue);
43220
+ function qt(Me) {
43221
+ var We = Me.target, zt = je().contains(We) || be.contains(We);
43219
43222
  if (!(Me.type === "mousemove" && zt)) {
43220
43223
  var dn = Er().concat(be).map(function(dt) {
43221
43224
  var si, xi = dt._tippy, hr = (si = xi.popperInstance) == null ? void 0 : si.state;
@@ -43229,8 +43232,8 @@ function H7(t, e) {
43229
43232
  }
43230
43233
  }
43231
43234
  function An(Me) {
43232
- var Ue = Yn(Me) || Z.props.trigger.indexOf("click") >= 0 && a;
43233
- if (!Ue) {
43235
+ var We = Yn(Me) || Z.props.trigger.indexOf("click") >= 0 && a;
43236
+ if (!We) {
43234
43237
  if (Z.props.interactive) {
43235
43238
  Z.hideWithInteractivity(Me);
43236
43239
  return;
@@ -43246,7 +43249,7 @@ function H7(t, e) {
43246
43249
  }
43247
43250
  function Gs() {
43248
43251
  _n();
43249
- var Me = Z.props, Ue = Me.popperOptions, zt = Me.placement, dn = Me.offset, dt = Me.getReferenceClientRect, si = Me.moveTransition, xi = qe() ? cx(be).arrow : null, hr = dt ? {
43252
+ var Me = Z.props, We = Me.popperOptions, zt = Me.placement, dn = Me.offset, dt = Me.getReferenceClientRect, si = Me.moveTransition, xi = qe() ? cx(be).arrow : null, hr = dt ? {
43250
43253
  getBoundingClientRect: dt,
43251
43254
  contextElement: dt.contextElement || je()
43252
43255
  } : t, Wr = {
@@ -43257,7 +43260,7 @@ function H7(t, e) {
43257
43260
  fn: function(U) {
43258
43261
  var Q = U.state;
43259
43262
  if (qe()) {
43260
- var se = Ft(), ye = se.box;
43263
+ var se = $t(), ye = se.box;
43261
43264
  ["placement", "reference-hidden", "escaped"].forEach(function(_e) {
43262
43265
  _e === "placement" ? ye.setAttribute("data-placement", Q.placement) : Q.attributes.popper["data-popper-" + _e] ? ye.setAttribute("data-" + _e, "") : ye.removeAttribute("data-" + _e);
43263
43266
  }), Q.attributes.popper = {};
@@ -43295,7 +43298,7 @@ function H7(t, e) {
43295
43298
  element: xi,
43296
43299
  padding: 3
43297
43300
  }
43298
- }), le.push.apply(le, (Ue == null ? void 0 : Ue.modifiers) || []), Z.popperInstance = m7(hr, be, Object.assign({}, Ue, {
43301
+ }), le.push.apply(le, (We == null ? void 0 : We.modifiers) || []), Z.popperInstance = m7(hr, be, Object.assign({}, We, {
43299
43302
  placement: zt,
43300
43303
  onFirstUpdate: S,
43301
43304
  modifiers: le
@@ -43305,8 +43308,8 @@ function H7(t, e) {
43305
43308
  Z.popperInstance && (Z.popperInstance.destroy(), Z.popperInstance = null);
43306
43309
  }
43307
43310
  function Pn() {
43308
- var Me = Z.props.appendTo, Ue, zt = je();
43309
- Z.props.interactive && Me === hI || Me === "parent" ? Ue = zt.parentNode : Ue = fI(Me, [zt]), Ue.contains(be) || Ue.appendChild(be), Z.state.isMounted = !0, Gs(), oo.NODE_ENV !== "production" && Ua(Z.props.interactive && Me === Ls.appendTo && zt.nextElementSibling !== be, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
43311
+ var Me = Z.props.appendTo, We, zt = je();
43312
+ Z.props.interactive && Me === hI || Me === "parent" ? We = zt.parentNode : We = fI(Me, [zt]), We.contains(be) || We.appendChild(be), Z.state.isMounted = !0, Gs(), oo.NODE_ENV !== "production" && Ua(Z.props.interactive && Me === Ls.appendTo && zt.nextElementSibling !== be, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
43310
43313
 
43311
43314
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
43312
43315
 
@@ -43318,22 +43321,22 @@ function H7(t, e) {
43318
43321
  return Ey(be.querySelectorAll("[data-tippy-root]"));
43319
43322
  }
43320
43323
  function Cr(Me) {
43321
- Z.clearDelayTimeouts(), Me && Yt("onTrigger", [Z, Me]), Tn();
43322
- var Ue = $t(!0), zt = Be(), dn = zt[0], dt = zt[1];
43323
- Jo.isTouch && dn === "hold" && dt && (Ue = dt), Ue ? i = setTimeout(function() {
43324
+ Z.clearDelayTimeouts(), Me && Ut("onTrigger", [Z, Me]), Tn();
43325
+ var We = Vt(!0), zt = Be(), dn = zt[0], dt = zt[1];
43326
+ Jo.isTouch && dn === "hold" && dt && (We = dt), We ? i = setTimeout(function() {
43324
43327
  Z.show();
43325
- }, Ue) : Z.show();
43328
+ }, We) : Z.show();
43326
43329
  }
43327
43330
  function qi(Me) {
43328
- if (Z.clearDelayTimeouts(), Yt("onUntrigger", [Z, Me]), !Z.state.isVisible) {
43331
+ if (Z.clearDelayTimeouts(), Ut("onUntrigger", [Z, Me]), !Z.state.isVisible) {
43329
43332
  Ln();
43330
43333
  return;
43331
43334
  }
43332
43335
  if (!(Z.props.trigger.indexOf("mouseenter") >= 0 && Z.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(Me.type) >= 0 && a)) {
43333
- var Ue = $t(!1);
43334
- Ue ? r = setTimeout(function() {
43336
+ var We = Vt(!1);
43337
+ We ? r = setTimeout(function() {
43335
43338
  Z.state.isVisible && Z.hide();
43336
- }, Ue) : s = requestAnimationFrame(function() {
43339
+ }, We) : s = requestAnimationFrame(function() {
43337
43340
  Z.hide();
43338
43341
  });
43339
43342
  }
@@ -43349,15 +43352,15 @@ function H7(t, e) {
43349
43352
  }
43350
43353
  function Zs(Me) {
43351
43354
  if (oo.NODE_ENV !== "production" && Ua(Z.state.isDestroyed, Pd("setProps")), !Z.state.isDestroyed) {
43352
- Yt("onBeforeUpdate", [Z, Me]), Sn();
43353
- var Ue = Z.props, zt = UC(t, Object.assign({}, Ue, FC(Me), {
43355
+ Ut("onBeforeUpdate", [Z, Me]), Sn();
43356
+ var We = Z.props, zt = UC(t, Object.assign({}, We, FC(Me), {
43354
43357
  ignoreAttributes: !0
43355
43358
  }));
43356
- Z.props = zt, rn(), Ue.interactiveDebounce !== zt.interactiveDebounce && (kn(), M = NC(Wt, zt.interactiveDebounce)), Ue.triggerTarget && !zt.triggerTarget ? Ld(Ue.triggerTarget).forEach(function(dn) {
43359
+ Z.props = zt, rn(), We.interactiveDebounce !== zt.interactiveDebounce && (kn(), M = NC(qt, zt.interactiveDebounce)), We.triggerTarget && !zt.triggerTarget ? Ld(We.triggerTarget).forEach(function(dn) {
43357
43360
  dn.removeAttribute("aria-expanded");
43358
- }) : zt.triggerTarget && t.removeAttribute("aria-expanded"), an(), jt(), Ce && Ce(Ue, zt), Z.popperInstance && (Gs(), Er().forEach(function(dn) {
43361
+ }) : zt.triggerTarget && t.removeAttribute("aria-expanded"), an(), Bt(), Ce && Ce(We, zt), Z.popperInstance && (Gs(), Er().forEach(function(dn) {
43359
43362
  requestAnimationFrame(dn._tippy.popperInstance.forceUpdate);
43360
- })), Yt("onAfterUpdate", [Z, Me]);
43363
+ })), Ut("onAfterUpdate", [Z, Me]);
43361
43364
  }
43362
43365
  }
43363
43366
  function Ke(Me) {
@@ -43367,21 +43370,21 @@ function H7(t, e) {
43367
43370
  }
43368
43371
  function ss() {
43369
43372
  oo.NODE_ENV !== "production" && Ua(Z.state.isDestroyed, Pd("show"));
43370
- var Me = Z.state.isVisible, Ue = Z.state.isDestroyed, zt = !Z.state.isEnabled, dn = Jo.isTouch && !Z.props.touch, dt = Hb(Z.props.duration, 0, Ls.duration);
43371
- if (!(Me || Ue || zt || dn) && !je().hasAttribute("disabled") && (Yt("onShow", [Z], !1), Z.props.onShow(Z) !== !1)) {
43372
- if (Z.state.isVisible = !0, qe() && (be.style.visibility = "visible"), jt(), Tn(), Z.state.isMounted || (be.style.transition = "none"), qe()) {
43373
- var si = Ft(), xi = si.box, hr = si.content;
43373
+ var Me = Z.state.isVisible, We = Z.state.isDestroyed, zt = !Z.state.isEnabled, dn = Jo.isTouch && !Z.props.touch, dt = Hb(Z.props.duration, 0, Ls.duration);
43374
+ if (!(Me || We || zt || dn) && !je().hasAttribute("disabled") && (Ut("onShow", [Z], !1), Z.props.onShow(Z) !== !1)) {
43375
+ if (Z.state.isVisible = !0, qe() && (be.style.visibility = "visible"), Bt(), Tn(), Z.state.isMounted || (be.style.transition = "none"), qe()) {
43376
+ var si = $t(), xi = si.box, hr = si.content;
43374
43377
  Ub([xi, hr], 0);
43375
43378
  }
43376
43379
  S = function() {
43377
43380
  var le;
43378
43381
  if (!(!Z.state.isVisible || m)) {
43379
43382
  if (m = !0, be.offsetHeight, be.style.transition = Z.props.moveTransition, qe() && Z.props.animation) {
43380
- var W = Ft(), U = W.box, Q = W.content;
43383
+ var W = $t(), U = W.box, Q = W.content;
43381
43384
  Ub([U, Q], dt), $C([U, Q], "visible");
43382
43385
  }
43383
- hn(), an(), BC(qb, Z), (le = Z.popperInstance) == null || le.forceUpdate(), Yt("onMount", [Z]), Z.props.animation && qe() && Qe(dt, function() {
43384
- Z.state.isShown = !0, Yt("onShown", [Z]);
43386
+ hn(), an(), BC(qb, Z), (le = Z.popperInstance) == null || le.forceUpdate(), Ut("onMount", [Z]), Z.props.animation && qe() && Qe(dt, function() {
43387
+ Z.state.isShown = !0, Ut("onShown", [Z]);
43385
43388
  });
43386
43389
  }
43387
43390
  }, Pn();
@@ -43389,10 +43392,10 @@ function H7(t, e) {
43389
43392
  }
43390
43393
  function Yi() {
43391
43394
  oo.NODE_ENV !== "production" && Ua(Z.state.isDestroyed, Pd("hide"));
43392
- var Me = !Z.state.isVisible, Ue = Z.state.isDestroyed, zt = !Z.state.isEnabled, dn = Hb(Z.props.duration, 1, Ls.duration);
43393
- if (!(Me || Ue || zt) && (Yt("onHide", [Z], !1), Z.props.onHide(Z) !== !1)) {
43394
- if (Z.state.isVisible = !1, Z.state.isShown = !1, m = !1, a = !1, qe() && (be.style.visibility = "hidden"), kn(), Ln(), jt(!0), qe()) {
43395
- var dt = Ft(), si = dt.box, xi = dt.content;
43395
+ var Me = !Z.state.isVisible, We = Z.state.isDestroyed, zt = !Z.state.isEnabled, dn = Hb(Z.props.duration, 1, Ls.duration);
43396
+ if (!(Me || We || zt) && (Ut("onHide", [Z], !1), Z.props.onHide(Z) !== !1)) {
43397
+ if (Z.state.isVisible = !1, Z.state.isShown = !1, m = !1, a = !1, qe() && (be.style.visibility = "hidden"), kn(), Ln(), Bt(!0), qe()) {
43398
+ var dt = $t(), si = dt.box, xi = dt.content;
43396
43399
  Z.props.animation && (Ub([si, xi], dn), $C([si, xi], "hidden"));
43397
43400
  }
43398
43401
  hn(), an(), Z.props.animation ? qe() && Pe(dn, Z.unmount) : Z.unmount();
@@ -43406,10 +43409,10 @@ function H7(t, e) {
43406
43409
  Me._tippy.unmount();
43407
43410
  }), be.parentNode && be.parentNode.removeChild(be), qb = qb.filter(function(Me) {
43408
43411
  return Me !== Z;
43409
- }), Z.state.isMounted = !1, Yt("onHidden", [Z]));
43412
+ }), Z.state.isMounted = !1, Ut("onHidden", [Z]));
43410
43413
  }
43411
43414
  function it() {
43412
- oo.NODE_ENV !== "production" && Ua(Z.state.isDestroyed, Pd("destroy")), !Z.state.isDestroyed && (Z.clearDelayTimeouts(), Z.unmount(), Sn(), delete t._tippy, Z.state.isDestroyed = !0, Yt("onDestroy", [Z]));
43415
+ oo.NODE_ENV !== "production" && Ua(Z.state.isDestroyed, Pd("destroy")), !Z.state.isDestroyed && (Z.clearDelayTimeouts(), Z.unmount(), Sn(), delete t._tippy, Z.state.isDestroyed = !0, Ut("onDestroy", [Z]));
43413
43416
  }
43414
43417
  }
43415
43418
  function xh(t, e) {
@@ -45370,19 +45373,19 @@ function XG({ pluginKey: t = ZG, editor: e, char: n = "@", allowSpaces: i = !1,
45370
45373
  return {
45371
45374
  update: async (z, $) => {
45372
45375
  var q, K, Z, ge, be, Ce, $e;
45373
- const ke = (q = this.key) === null || q === void 0 ? void 0 : q.getState($), Be = (K = this.key) === null || K === void 0 ? void 0 : K.getState(z.state), Ye = ke.active && Be.active && ke.range.from !== Be.range.from, qe = !ke.active && Be.active, je = ke.active && !Be.active, pe = !qe && !je && ke.query !== Be.query, Ft = qe || Ye && pe, $t = pe || Ye, jt = je || Ye && pe;
45374
- if (!Ft && !$t && !jt)
45376
+ const ke = (q = this.key) === null || q === void 0 ? void 0 : q.getState($), Be = (K = this.key) === null || K === void 0 ? void 0 : K.getState(z.state), Ye = ke.active && Be.active && ke.range.from !== Be.range.from, qe = !ke.active && Be.active, je = ke.active && !Be.active, pe = !qe && !je && ke.query !== Be.query, $t = qe || Ye && pe, Vt = pe || Ye, Bt = je || Ye && pe;
45377
+ if (!$t && !Vt && !Bt)
45375
45378
  return;
45376
- const Yt = jt && !Ft ? ke : Be, hn = z.dom.querySelector(`[data-decoration-id="${Yt.decorationId}"]`);
45379
+ const Ut = Bt && !$t ? ke : Be, hn = z.dom.querySelector(`[data-decoration-id="${Ut.decorationId}"]`);
45377
45380
  C = {
45378
45381
  editor: e,
45379
- range: Yt.range,
45380
- query: Yt.query,
45381
- text: Yt.text,
45382
+ range: Ut.range,
45383
+ query: Ut.query,
45384
+ text: Ut.text,
45382
45385
  items: [],
45383
45386
  command: (an) => f({
45384
45387
  editor: e,
45385
- range: Yt.range,
45388
+ range: Ut.range,
45386
45389
  props: an
45387
45390
  }),
45388
45391
  decorationNode: hn,
@@ -45393,10 +45396,10 @@ function XG({ pluginKey: t = ZG, editor: e, char: n = "@", allowSpaces: i = !1,
45393
45396
  const { decorationId: kn } = (an = this.key) === null || an === void 0 ? void 0 : an.getState(e.state), pn = z.dom.querySelector(`[data-decoration-id="${kn}"]`);
45394
45397
  return (pn == null ? void 0 : pn.getBoundingClientRect()) || null;
45395
45398
  } : null
45396
- }, Ft && ((Z = M == null ? void 0 : M.onBeforeStart) === null || Z === void 0 || Z.call(M, C)), $t && ((ge = M == null ? void 0 : M.onBeforeUpdate) === null || ge === void 0 || ge.call(M, C)), ($t || Ft) && (C.items = await m({
45399
+ }, $t && ((Z = M == null ? void 0 : M.onBeforeStart) === null || Z === void 0 || Z.call(M, C)), Vt && ((ge = M == null ? void 0 : M.onBeforeUpdate) === null || ge === void 0 || ge.call(M, C)), (Vt || $t) && (C.items = await m({
45397
45400
  editor: e,
45398
- query: Yt.query
45399
- })), jt && ((be = M == null ? void 0 : M.onExit) === null || be === void 0 || be.call(M, C)), $t && ((Ce = M == null ? void 0 : M.onUpdate) === null || Ce === void 0 || Ce.call(M, C)), Ft && (($e = M == null ? void 0 : M.onStart) === null || $e === void 0 || $e.call(M, C));
45401
+ query: Ut.query
45402
+ })), Bt && ((be = M == null ? void 0 : M.onExit) === null || be === void 0 || be.call(M, C)), Vt && ((Ce = M == null ? void 0 : M.onUpdate) === null || Ce === void 0 || Ce.call(M, C)), $t && (($e = M == null ? void 0 : M.onStart) === null || $e === void 0 || $e.call(M, C));
45400
45403
  },
45401
45404
  destroy: () => {
45402
45405
  var z;
@@ -46238,14 +46241,14 @@ function eY(t, e, n, i, r, s) {
46238
46241
  class: "object-cover shrink-0",
46239
46242
  src: n.comment.avatar,
46240
46243
  alt: "Avatar"
46241
- }, null, 8, j9)) : (X(), ne("span", H9, We((f = n.comment.username) == null ? void 0 : f.charAt(0)), 1))
46244
+ }, null, 8, j9)) : (X(), ne("span", H9, Ue((f = n.comment.username) == null ? void 0 : f.charAt(0)), 1))
46242
46245
  ])
46243
46246
  ]),
46244
46247
  L("div", U9, [
46245
46248
  L("span", W9, [
46246
46249
  L("div", q9, [
46247
- L("span", G9, We((m = n.comment) == null ? void 0 : m.username), 1),
46248
- L("span", Y9, We(s.createDate), 1)
46250
+ L("span", G9, Ue((m = n.comment) == null ? void 0 : m.username), 1),
46251
+ L("span", Y9, Ue(s.createDate), 1)
46249
46252
  ]),
46250
46253
  L("div", Z9, [
46251
46254
  ms(L("div", X9, [
@@ -46407,18 +46410,18 @@ function lY(t, e, n, i, r, s) {
46407
46410
  }, {
46408
46411
  default: Tt(() => [
46409
46412
  L("div", sY, [
46410
- L("p", oY, We(r.modal.message), 1),
46413
+ L("p", oY, Ue(r.modal.message), 1),
46411
46414
  L("div", aY, [
46412
46415
  L("button", {
46413
46416
  type: "button",
46414
46417
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
46415
46418
  onClick: e[1] || (e[1] = (..._) => r.modal.cancel && r.modal.cancel(..._))
46416
- }, We(r.modal.cancelButtonText), 1),
46419
+ }, Ue(r.modal.cancelButtonText), 1),
46417
46420
  L("button", {
46418
46421
  type: "button",
46419
46422
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-red-500 text-white hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
46420
46423
  onClick: e[2] || (e[2] = (..._) => r.modal.confirm && r.modal.confirm(..._))
46421
- }, We(r.modal.confirmButtonText), 1)
46424
+ }, Ue(r.modal.confirmButtonText), 1)
46422
46425
  ])
46423
46426
  ])
46424
46427
  ]),
@@ -46615,7 +46618,7 @@ const SY = /* @__PURE__ */ ft(xY, [["render", kY]]), EY = (t) => {
46615
46618
  function MY(t, e, n, i, r, s) {
46616
46619
  const a = Ge("IconUserOutline");
46617
46620
  return X(), ne("div", TY, [
46618
- t.inItials ? (X(), ne("span", AY, We(t.inItials), 1)) : (X(), Ot(a, {
46621
+ t.inItials ? (X(), ne("span", AY, Ue(t.inItials), 1)) : (X(), Ot(a, {
46619
46622
  key: 1,
46620
46623
  class: "w-[16px] h-[16px]"
46621
46624
  }))
@@ -46756,7 +46759,7 @@ function lZ(t, e, n, i, r, s) {
46756
46759
  username: t.item.username
46757
46760
  }, null, 8, ["username"]),
46758
46761
  L("div", BY, [
46759
- L("h4", FY, We(t.item.username || "User User"), 1),
46762
+ L("h4", FY, Ue(t.item.username || "User User"), 1),
46760
46763
  t.item.entity_type === "crm.communications" ? (X(), ne("span", $Y, "Коментар")) : _t("", !0),
46761
46764
  t.item.entity_type === "crm.files" ? (X(), ne("span", VY, "Файл")) : _t("", !0),
46762
46765
  t.item.entity_type !== "crm.files" ? (X(!0), ne(kt, { key: 2 }, Xt(t.item.changes, (S) => (X(), ne("li", null, [
@@ -46767,7 +46770,7 @@ function lZ(t, e, n, i, r, s) {
46767
46770
  "editor_id",
46768
46771
  "entity_type",
46769
46772
  "editor_date"
46770
- ].includes(S.entity_key) && S.value_old && S.value_new ? (X(), ne("p", jY, " Дані " + We(S.entity_key) + " змінились з " + We(S.value_old) + " на " + We(S.value_new), 1)) : _t("", !0),
46773
+ ].includes(S.entity_key) && S.value_old && S.value_new ? (X(), ne("p", jY, " Дані " + Ue(S.entity_key) + " змінились з " + Ue(S.value_old) + " на " + Ue(S.value_new), 1)) : _t("", !0),
46771
46774
  ![
46772
46775
  "entity_id",
46773
46776
  "uid",
@@ -46775,8 +46778,8 @@ function lZ(t, e, n, i, r, s) {
46775
46778
  "editor_id",
46776
46779
  "entity_type",
46777
46780
  "editor_date"
46778
- ].includes(S.entity_key) && !S.value_old && S.value_new ? (X(), ne("p", HY, " Дані " + We(S.entity_key) + " внесено до БД: " + We(S.value_new), 1)) : _t("", !0),
46779
- S.value_old && !S.value_new ? (X(), ne("p", UY, " Дані " + We(S.entity_key) + " очищено ", 1)) : _t("", !0)
46781
+ ].includes(S.entity_key) && !S.value_old && S.value_new ? (X(), ne("p", HY, " Дані " + Ue(S.entity_key) + " внесено до БД: " + Ue(S.value_new), 1)) : _t("", !0),
46782
+ S.value_old && !S.value_new ? (X(), ne("p", UY, " Дані " + Ue(S.entity_key) + " очищено ", 1)) : _t("", !0)
46780
46783
  ]))), 256)) : _t("", !0),
46781
46784
  t.item.entity_type === "crm.files" && t.item.change_type === "INSERT" && ((f = t.item.changes) != null && f[0]) ? (X(), ne("div", WY, [
46782
46785
  L("div", qY, [
@@ -46784,14 +46787,14 @@ function lZ(t, e, n, i, r, s) {
46784
46787
  L("div", YY, [
46785
46788
  Fe(o, { class: "w-[24px] h-[24px] text-gray-800" }),
46786
46789
  L("div", ZY, [
46787
- L("p", XY, We(t.item.changes[0]["Назва файлу"] || "example file_name"), 1),
46788
- L("small", KY, We(t.item.changes[0]["Розмір файлу"] || "example file_weight kb") + " KB ", 1)
46790
+ L("p", XY, Ue(t.item.changes[0]["Назва файлу"] || "example file_name"), 1),
46791
+ L("small", KY, Ue(t.item.changes[0]["Розмір файлу"] || "example file_weight kb") + " KB ", 1)
46789
46792
  ])
46790
46793
  ])
46791
46794
  ])
46792
46795
  ])
46793
46796
  ])) : _t("", !0),
46794
- t.item.entity_type === "crm.files" && t.item.change_type === "DELETE" ? (X(), ne("p", JY, " Видалено файл " + We((g = (m = t.item.changes) == null ? void 0 : m[0]) == null ? void 0 : g["Назва файлу"]), 1)) : _t("", !0),
46797
+ t.item.entity_type === "crm.files" && t.item.change_type === "DELETE" ? (X(), ne("p", JY, " Видалено файл " + Ue((g = (m = t.item.changes) == null ? void 0 : m[0]) == null ? void 0 : g["Назва файлу"]), 1)) : _t("", !0),
46795
46798
  t.item.change_type !== "DELETE" && !((_ = t.item.changes) != null && _.length) ? (X(), ne("p", QY, " Зміни відсутні ")) : _t("", !0),
46796
46799
  t.item.change_type === "addFile" ? (X(), ne("div", eZ, [
46797
46800
  L("div", tZ, [
@@ -46799,14 +46802,14 @@ function lZ(t, e, n, i, r, s) {
46799
46802
  L("div", iZ, [
46800
46803
  Fe(o, { class: "w-[24px] h-[24px] text-gray-800" }),
46801
46804
  L("div", rZ, [
46802
- L("p", sZ, We(t.item.file_name || "example file_name"), 1),
46803
- L("small", oZ, We(t.item.file_weight || "example file_weight kb"), 1)
46805
+ L("p", sZ, Ue(t.item.file_name || "example file_name"), 1),
46806
+ L("small", oZ, Ue(t.item.file_weight || "example file_weight kb"), 1)
46804
46807
  ])
46805
46808
  ])
46806
46809
  ])
46807
46810
  ])
46808
46811
  ])) : _t("", !0),
46809
- L("p", aZ, We(t.getDate(t.item)), 1)
46812
+ L("p", aZ, Ue(t.getDate(t.item)), 1)
46810
46813
  ])
46811
46814
  ])
46812
46815
  ]);
@@ -46936,7 +46939,7 @@ function kZ(t, e, n, i, r, s) {
46936
46939
  ])
46937
46940
  ]),
46938
46941
  L("span", _Z, [
46939
- L("span", xZ, " Показати ще " + We(((C = (S = t.history) == null ? void 0 : S.rows) == null ? void 0 : C.length) - t.limitVisible), 1)
46942
+ L("span", xZ, " Показати ще " + Ue(((C = (S = t.history) == null ? void 0 : S.rows) == null ? void 0 : C.length) - t.limitVisible), 1)
46940
46943
  ])
46941
46944
  ])
46942
46945
  ])) : _t("", !0)
@@ -47356,7 +47359,7 @@ function lX(t, e, n, i, r, s) {
47356
47359
  width: "16"
47357
47360
  }),
47358
47361
  e[5] || (e[5] = Ui(" Фільтри ")),
47359
- n.onFilters ? (X(), ne("span", oX, We(n.onFilters), 1)) : _t("", !0)
47362
+ n.onFilters ? (X(), ne("span", oX, Ue(n.onFilters), 1)) : _t("", !0)
47360
47363
  ]),
47361
47364
  Fe(Hy, { name: "fade" }, {
47362
47365
  default: Tt(() => {
@@ -47487,34 +47490,34 @@ const cX = /* @__PURE__ */ ft(sX, [["render", lX]]), uX = { class: "h-full" }, d
47487
47490
  key: pe,
47488
47491
  scope: "col",
47489
47492
  class: "py-2"
47490
- }, We((je == null ? void 0 : je.title) || (je == null ? void 0 : je.description) || (je == null ? void 0 : je.ua)), 1))), 128)),
47493
+ }, Ue((je == null ? void 0 : je.title) || (je == null ? void 0 : je.description) || (je == null ? void 0 : je.ua)), 1))), 128)),
47491
47494
  (ke = ($e = n.value) == null ? void 0 : $e.actions) != null && ke.length ? (X(), ne("th", gX)) : _t("", !0)
47492
47495
  ])
47493
47496
  ]),
47494
47497
  L("tbody", yX, [
47495
47498
  (X(!0), ne(kt, null, Xt((Be = n.value) == null ? void 0 : Be.rows, (je, pe) => {
47496
- var Ft, $t, jt;
47499
+ var $t, Vt, Bt;
47497
47500
  return X(), ne("tr", {
47498
47501
  key: pe,
47499
47502
  class: "odd:bg-gray-50"
47500
47503
  }, [
47501
- (X(!0), ne(kt, null, Xt(i.value, (Yt, hn) => (X(), ne("td", {
47504
+ (X(!0), ne(kt, null, Xt(i.value, (Ut, hn) => (X(), ne("td", {
47502
47505
  key: hn,
47503
47506
  class: "py-2 pr-5"
47504
47507
  }, [
47505
47508
  Fe(II, {
47506
47509
  row: je,
47507
- column: Yt,
47510
+ column: Ut,
47508
47511
  table: t.table
47509
47512
  }, null, 8, ["row", "column", "table"])
47510
47513
  ]))), 128)),
47511
- ($t = (Ft = n.value) == null ? void 0 : Ft.actions) != null && $t.length ? (X(), ne("td", vX, [
47514
+ (Vt = ($t = n.value) == null ? void 0 : $t.actions) != null && Vt.length ? (X(), ne("td", vX, [
47512
47515
  Fe(GZ, {
47513
47516
  id: je == null ? void 0 : je.id,
47514
47517
  table: t.table,
47515
47518
  apiDelete: t.apiDelete,
47516
47519
  token: je == null ? void 0 : je.token,
47517
- form: (jt = n.value) == null ? void 0 : jt.form,
47520
+ form: (Bt = n.value) == null ? void 0 : Bt.form,
47518
47521
  onUpdateTable: m
47519
47522
  }, null, 8, ["id", "table", "apiDelete", "token", "form"])
47520
47523
  ])) : _t("", !0)
@@ -47641,8 +47644,8 @@ const PX = /* @__PURE__ */ ft(MX, [["render", IX]]), RX = { class: "relative shr
47641
47644
  data: t.item
47642
47645
  }, null, 8, ["data"])
47643
47646
  ]),
47644
- L("span", FX, We((M = t.item) == null ? void 0 : M.author), 1),
47645
- L("p", $X, We((O = t.item) == null ? void 0 : O.subject), 1)
47647
+ L("span", FX, Ue((M = t.item) == null ? void 0 : M.author), 1),
47648
+ L("p", $X, Ue((O = t.item) == null ? void 0 : O.subject), 1)
47646
47649
  ]),
47647
47650
  i.value ? (X(), ne("div", VX, [
47648
47651
  Fe(m, {
@@ -47720,8 +47723,8 @@ function iK(t, e, n, i, r, s) {
47720
47723
  L("div", QX, [
47721
47724
  e[0] || (e[0] = Do('<svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg>', 1)),
47722
47725
  L("div", eK, [
47723
- L("p", tK, We(n.title), 1),
47724
- L("p", nK, We(n.text), 1)
47726
+ L("p", tK, Ue(n.title), 1),
47727
+ L("p", nK, Ue(n.text), 1)
47725
47728
  ])
47726
47729
  ])
47727
47730
  ])
@@ -47783,7 +47786,7 @@ const PI = /* @__PURE__ */ ft(KX, [["render", iK]]), rK = {
47783
47786
  }),
47784
47787
  e.value ? (X(), ne("span", rK, [
47785
47788
  g[1] || (g[1] = L("span", { class: "absolute inline-flex bg-red-400 rounded-full opacity-75 animate-ping size-full dark:bg-red-600" }, null, -1)),
47786
- L("span", sK, We(e.value), 1)
47789
+ L("span", sK, Ue(e.value), 1)
47787
47790
  ])) : _t("", !0)
47788
47791
  ]),
47789
47792
  Fe(Hy, null, {
@@ -57312,7 +57315,7 @@ function Mre(t, e, n, i, r, s) {
57312
57315
  view: "plain"
57313
57316
  }, null, 8, ["scheme"]),
57314
57317
  L("div", Sre, [
57315
- L("div", Ere, We(r.currentPeriod), 1),
57318
+ L("div", Ere, Ue(r.currentPeriod), 1),
57316
57319
  Fe(m, {
57317
57320
  placement: "bottom-right",
57318
57321
  ref: "popover"
@@ -57321,7 +57324,7 @@ function Mre(t, e, n, i, r, s) {
57321
57324
  var _;
57322
57325
  return [
57323
57326
  L("button", Cre, [
57324
- Ui(We((_ = r.views) == null ? void 0 : _[r.currentView]) + " ", 1),
57327
+ Ui(Ue((_ = r.views) == null ? void 0 : _[r.currentView]) + " ", 1),
57325
57328
  Fe(f, {
57326
57329
  height: "14",
57327
57330
  width: "14"
@@ -57335,7 +57338,7 @@ function Mre(t, e, n, i, r, s) {
57335
57338
  key: S,
57336
57339
  onClick: (C) => s.changeView(S),
57337
57340
  class: nn(["flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100", [S === r.currentView ? "bg-gray-100" : ""]])
57338
- }, We(_), 11, Are))), 128))
57341
+ }, Ue(_), 11, Are))), 128))
57339
57342
  ])
57340
57343
  ]),
57341
57344
  _: 1
@@ -57438,7 +57441,7 @@ const SR = /* @__PURE__ */ ft(_re, [["render", Mre]]), Dre = {
57438
57441
  ref: r,
57439
57442
  class: "map-container"
57440
57443
  }, null, 512),
57441
- (S = t.modelValue) != null && S.length ? (X(), ne("span", Dre, We((C = t.modelValue) == null ? void 0 : C[0]) + ", " + We((M = t.modelValue) == null ? void 0 : M[1]), 1)) : _t("", !0)
57444
+ (S = t.modelValue) != null && S.length ? (X(), ne("span", Dre, Ue((C = t.modelValue) == null ? void 0 : C[0]) + ", " + Ue((M = t.modelValue) == null ? void 0 : M[1]), 1)) : _t("", !0)
57442
57445
  ], 64);
57443
57446
  };
57444
57447
  }
@@ -57636,7 +57639,7 @@ const Lre = /* @__PURE__ */ ft(Rre, [["render", zre]]), Nre = { class: "flex w-f
57636
57639
  ])
57637
57640
  ]),
57638
57641
  default: Tt(() => [
57639
- L("div", Wre, We(o == null ? void 0 : o.title), 1)
57642
+ L("div", Wre, Ue(o == null ? void 0 : o.title), 1)
57640
57643
  ]),
57641
57644
  _: 2
57642
57645
  }, 1024)
@@ -57646,7 +57649,7 @@ const Lre = /* @__PURE__ */ ft(Rre, [["render", zre]]), Nre = { class: "flex w-f
57646
57649
  ]),
57647
57650
  _: 1
57648
57651
  }, 512),
57649
- Ui(" " + We(e.value), 1)
57652
+ Ui(" " + Ue(e.value), 1)
57650
57653
  ]);
57651
57654
  };
57652
57655
  }
@@ -57687,7 +57690,7 @@ const Lre = /* @__PURE__ */ ft(Rre, [["render", zre]]), Nre = { class: "flex w-f
57687
57690
  return X(), ne("div", Zre, [
57688
57691
  L("div", Xre, [
57689
57692
  L("div", Kre, [
57690
- L("h1", Jre, " Members " + We((i = e.$user) == null ? void 0 : i.user_name) + ', "' + We((s = (r = e.$settings) == null ? void 0 : r.admin) == null ? void 0 : s.title) + '" ', 1),
57693
+ L("h1", Jre, " Members " + Ue((i = e.$user) == null ? void 0 : i.user_name) + ', "' + Ue((s = (r = e.$settings) == null ? void 0 : r.admin) == null ? void 0 : s.title) + '" ', 1),
57691
57694
  n[0] || (n[0] = L("p", { class: "text-sm text-gray-500 dark:text-neutral-500" }, " Manage members and users of your workspace and set their access level. ", -1))
57692
57695
  ]),
57693
57696
  n[1] || (n[1] = L("div", { class: "space-y-5" }, [
@@ -58103,7 +58106,7 @@ function lse(t, e, n, i, r, s) {
58103
58106
  class: nn(["grid p-3 bg-gray-100 rounded-lg md:gap-x-6 md:p-5 dark:bg-neutral-700", `grid-cols-${((a = n.actions) == null ? void 0 : a.length) + 2}`])
58104
58107
  }, [
58105
58108
  L("li", rse, [
58106
- L("h3", sse, We(n.item.ua), 1)
58109
+ L("h3", sse, Ue(n.item.ua), 1)
58107
58110
  ]),
58108
58111
  (o = n.item.menu) != null && o.length ? (X(!0), ne(kt, { key: 0 }, Xt(n.actions, (f) => (X(), ne("li", ose, [
58109
58112
  L("button", {
@@ -58159,8 +58162,8 @@ function gse(t, e, n, i, r, s) {
58159
58162
  class: nn(["grid md:items-center gap-1.5 md:gap-6 px-3 md:px-5 mt-3", `grid-cols-${n.actions.length + 2}`])
58160
58163
  }, [
58161
58164
  L("li", dse, [
58162
- L("p", hse, We(((a = n.subitem) == null ? void 0 : a.ua) || ""), 1),
58163
- L("p", fse, We(((o = n.subitem) == null ? void 0 : o.path) || ""), 1)
58165
+ L("p", hse, Ue(((a = n.subitem) == null ? void 0 : a.ua) || ""), 1),
58166
+ L("p", fse, Ue(((o = n.subitem) == null ? void 0 : o.path) || ""), 1)
58164
58167
  ]),
58165
58168
  (X(!0), ne(kt, null, Xt(n.actions, (f, m) => (X(), ne("li", {
58166
58169
  class: "col-span-1",
@@ -58334,7 +58337,7 @@ function kse(t, e, n, i, r, s) {
58334
58337
  class: "col-span-1 text-center",
58335
58338
  key: S
58336
58339
  }, [
58337
- L("h3", _se, We(_), 1)
58340
+ L("h3", _se, Ue(_), 1)
58338
58341
  ]))), 128))
58339
58342
  ], 2),
58340
58343
  (g = s.getList) != null && g.length ? (X(), ne("div", xse, [
@@ -58494,9 +58497,9 @@ function $se(t, e, n, i, r, s) {
58494
58497
  to: r.link + "?name=" + ((_ == null ? void 0 : _.name) || (_ == null ? void 0 : _.id))
58495
58498
  }, {
58496
58499
  default: Tt(() => [
58497
- L("span", Lse, We((_ == null ? void 0 : _.name) || (_ == null ? void 0 : _.id) || "Не вказано"), 1),
58500
+ L("span", Lse, Ue((_ == null ? void 0 : _.name) || (_ == null ? void 0 : _.id) || "Не вказано"), 1),
58498
58501
  L("div", Nse, [
58499
- L("div", Bse, We((_ == null ? void 0 : _.children) || "0"), 1)
58502
+ L("div", Bse, Ue((_ == null ? void 0 : _.children) || "0"), 1)
58500
58503
  ])
58501
58504
  ]),
58502
58505
  _: 2
@@ -58553,8 +58556,8 @@ function Yse(t, e, n, i, r, s) {
58553
58556
  L("div", Use, [
58554
58557
  e[0] || (e[0] = Do('<svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg>', 1)),
58555
58558
  L("div", Wse, [
58556
- L("p", qse, We(n.title), 1),
58557
- L("p", Gse, We(n.text), 1)
58559
+ L("p", qse, Ue(n.title), 1),
58560
+ L("p", Gse, Ue(n.text), 1)
58558
58561
  ])
58559
58562
  ])
58560
58563
  ]);
@@ -58652,7 +58655,7 @@ function ooe(t, e, n, i, r, s) {
58652
58655
  onUpdateValue: e[2] || (e[2] = (m) => r.text = m)
58653
58656
  }, {
58654
58657
  default: Tt(() => [
58655
- L("p", ioe, We(r.text), 1)
58658
+ L("p", ioe, Ue(r.text), 1)
58656
58659
  ]),
58657
58660
  _: 1
58658
58661
  }, 8, ["modelValue"]),
@@ -58662,12 +58665,12 @@ function ooe(t, e, n, i, r, s) {
58662
58665
  onUpdateValue: e[4] || (e[4] = (m) => r.id = m)
58663
58666
  }, {
58664
58667
  default: Tt(() => [
58665
- L("p", roe, We(r.id), 1)
58668
+ L("p", roe, Ue(r.id), 1)
58666
58669
  ]),
58667
58670
  _: 1
58668
58671
  }, 8, ["modelValue"])
58669
58672
  ]),
58670
- L("p", soe, We((f = n.item) == null ? void 0 : f.parent), 1)
58673
+ L("p", soe, Ue((f = n.item) == null ? void 0 : f.parent), 1)
58671
58674
  ])
58672
58675
  ]);
58673
58676
  }
@@ -58817,7 +58820,7 @@ function voe(t, e, n, i, r, s) {
58817
58820
  const a = Ge("VsForm"), o = Ge("VsChoceColor"), f = Ge("IconCheck"), m = Ge("VsReesterUsersList"), g = Ge("VsNoData");
58818
58821
  return X(), ne("div", poe, [
58819
58822
  (S = (_ = t.$route) == null ? void 0 : _.query) != null && S.name ? (X(), ne("div", moe, [
58820
- L("h2", goe, We((M = (C = t.$route) == null ? void 0 : C.query) == null ? void 0 : M.name), 1),
58823
+ L("h2", goe, Ue((M = (C = t.$route) == null ? void 0 : C.query) == null ? void 0 : M.name), 1),
58821
58824
  L("div", yoe, [
58822
58825
  r.formVisible ? (X(), Ot(a, {
58823
58826
  key: 0,
@@ -58914,12 +58917,12 @@ const koe = /* @__PURE__ */ ft(_oe, [["render", woe]]), Soe = { class: "h-[76px]
58914
58917
  const q = Ge("router-link");
58915
58918
  return X(), ne("div", Soe, [
58916
58919
  L("div", Eoe, [
58917
- L("h2", Coe, We(t.title), 1),
58920
+ L("h2", Coe, Ue(t.title), 1),
58918
58921
  t.tableName ? (X(), ne("div", {
58919
58922
  key: 0,
58920
58923
  class: "text-[14px] font-medium text-[#676A6C] cursor-pointer hover:underline",
58921
58924
  onClick: $[0] || ($[0] = (K) => uo(i).push("/" + n.getRoute))
58922
- }, We(t.tableName), 1)) : _t("", !0)
58925
+ }, Ue(t.tableName), 1)) : _t("", !0)
58923
58926
  ]),
58924
58927
  (X(), Ot(Ns(a.value))),
58925
58928
  L("div", {
@@ -59031,7 +59034,7 @@ const CR = /* @__PURE__ */ ft(Doe, [["render", Poe]]), Roe = { class: "px-2.5 h-
59031
59034
  }, {
59032
59035
  reference: Tt(() => [
59033
59036
  L("button", Roe, [
59034
- Ui(We(r.value) + " ", 1),
59037
+ Ui(Ue(r.value) + " ", 1),
59035
59038
  Fe(CR, {
59036
59039
  height: "12",
59037
59040
  width: "12"
@@ -59045,7 +59048,7 @@ const CR = /* @__PURE__ */ ft(Doe, [["render", Poe]]), Roe = { class: "px-2.5 h-
59045
59048
  "bg-gray-100": n.value === (m == null ? void 0 : m.component) || n.value === (m == null ? void 0 : m.name)
59046
59049
  }]),
59047
59050
  onClick: (g) => s((m == null ? void 0 : m.component) || (m == null ? void 0 : m.name))
59048
- }, We(m == null ? void 0 : m.title), 11, zoe))), 256))
59051
+ }, Ue(m == null ? void 0 : m.title), 11, zoe))), 256))
59049
59052
  ])
59050
59053
  ]),
59051
59054
  _: 1
@@ -59226,12 +59229,12 @@ function uae(t, e, n, i, r, s) {
59226
59229
  class: nn(["col-span-12 shrink-0", s.columnClass(K.col)])
59227
59230
  }, [
59228
59231
  (X(!0), ne(kt, null, Xt(K.items, (ge, be) => {
59229
- var Ce, $e, ke, Be, Ye, qe, je, pe, Ft, $t, jt, Yt, hn, an;
59232
+ var Ce, $e, ke, Be, Ye, qe, je, pe, $t, Vt, Bt, Ut, hn, an;
59230
59233
  return X(), ne("div", {
59231
59234
  key: be,
59232
59235
  class: nn([{ "mb-[20px]": K.items.length > 1 }, "bg-white rounded-xl"])
59233
59236
  }, [
59234
- ge != null && ge.title ? (X(), ne("h2", Foe, We((ge == null ? void 0 : ge.title) || "Панель"), 1)) : _t("", !0),
59237
+ ge != null && ge.title ? (X(), ne("h2", Foe, Ue((ge == null ? void 0 : ge.title) || "Панель"), 1)) : _t("", !0),
59235
59238
  ge != null && ge.component ? (X(), ne("div", {
59236
59239
  key: 1,
59237
59240
  class: nn(["p-[20px]", { "border-t": ge == null ? void 0 : ge.title }])
@@ -59253,10 +59256,10 @@ function uae(t, e, n, i, r, s) {
59253
59256
  }, [
59254
59257
  (pe = (je = r.objectData) == null ? void 0 : je.html) != null && pe[ge == null ? void 0 : ge.name] ? (X(), ne("div", {
59255
59258
  key: 0,
59256
- innerHTML: ($t = (Ft = r.objectData) == null ? void 0 : Ft.html) == null ? void 0 : $t[ge == null ? void 0 : ge.name]
59259
+ innerHTML: (Vt = ($t = r.objectData) == null ? void 0 : $t.html) == null ? void 0 : Vt[ge == null ? void 0 : ge.name]
59257
59260
  }, null, 8, $oe)) : (X(), Ot(o, {
59258
59261
  key: 1,
59259
- slot: (Yt = (jt = r.objectData) == null ? void 0 : jt.vue) == null ? void 0 : Yt[ge == null ? void 0 : ge.name],
59262
+ slot: (Ut = (Bt = r.objectData) == null ? void 0 : Bt.vue) == null ? void 0 : Ut[ge == null ? void 0 : ge.name],
59260
59263
  data: (an = (hn = r.objectData) == null ? void 0 : hn.rows) == null ? void 0 : an[0],
59261
59264
  objectData: r.objectData
59262
59265
  }, null, 8, ["slot", "data", "objectData"]))
@@ -59276,7 +59279,7 @@ function uae(t, e, n, i, r, s) {
59276
59279
  class: nn(["col-span-12", s.getColClass(K.col)])
59277
59280
  }, [
59278
59281
  K != null && K.name ? (X(), ne("div", Voe, [
59279
- L("h2", joe, We((K == null ? void 0 : K.title) || "Панель"), 1),
59282
+ L("h2", joe, Ue((K == null ? void 0 : K.title) || "Панель"), 1),
59280
59283
  (ge = r.objectData) != null && ge.html[K == null ? void 0 : K.name] ? (X(), ne("div", {
59281
59284
  key: 0,
59282
59285
  class: "p-[20px]",
@@ -59288,21 +59291,21 @@ function uae(t, e, n, i, r, s) {
59288
59291
  objectData: r.objectData
59289
59292
  }, null, 8, ["slot", "data", "objectData"]))
59290
59293
  ])) : K.type === "container" ? (X(), ne("div", Uoe, [
59291
- (X(!0), ne(kt, null, Xt(K.items, (pe, Ft) => {
59292
- var $t, jt, Yt, hn, an, kn, pn, ii, zn, Tn, Ln, Pe, Qe, st;
59294
+ (X(!0), ne(kt, null, Xt(K.items, (pe, $t) => {
59295
+ var Vt, Bt, Ut, hn, an, kn, pn, ii, zn, Tn, Ln, Pe, Qe, st;
59293
59296
  return X(), ne("div", {
59294
- key: Ft,
59297
+ key: $t,
59295
59298
  class: nn([{ "mb-[20px]": K.items.length > 1 }, "bg-white rounded-xl"])
59296
59299
  }, [
59297
- pe != null && pe.title ? (X(), ne("h2", Woe, We((pe == null ? void 0 : pe.title) || "Панель"), 1)) : _t("", !0),
59300
+ pe != null && pe.title ? (X(), ne("h2", Woe, Ue((pe == null ? void 0 : pe.title) || "Панель"), 1)) : _t("", !0),
59298
59301
  pe != null && pe.component ? (X(), ne("div", {
59299
59302
  key: 1,
59300
59303
  class: nn(["p-[20px]", { "border-t": pe == null ? void 0 : pe.title }])
59301
59304
  }, [
59302
59305
  (X(), Ot(Ns(pe.component), Bf({
59303
- geometry: (jt = ($t = r.objectData) == null ? void 0 : $t.rows[0]) == null ? void 0 : jt.geom,
59306
+ geometry: (Bt = (Vt = r.objectData) == null ? void 0 : Vt.rows[0]) == null ? void 0 : Bt.geom,
59304
59307
  columns: pe == null ? void 0 : pe.columns,
59305
- token: (hn = (Yt = r.objectData) == null ? void 0 : Yt.tokens) == null ? void 0 : hn[pe == null ? void 0 : pe.token],
59308
+ token: (hn = (Ut = r.objectData) == null ? void 0 : Ut.tokens) == null ? void 0 : hn[pe == null ? void 0 : pe.token],
59306
59309
  zoom: 16,
59307
59310
  ref_for: !0
59308
59311
  }, s.getProps(pe), {
@@ -59328,7 +59331,7 @@ function uae(t, e, n, i, r, s) {
59328
59331
  L("nav", Yoe, [
59329
59332
  (X(!0), ne(kt, null, Xt((Be = K == null ? void 0 : K.items) == null ? void 0 : Be.slice(0, K == null ? void 0 : K.limit), (pe) => (X(), ne("button", {
59330
59333
  key: (pe == null ? void 0 : pe.name) || (pe == null ? void 0 : pe.component),
59331
- onClick: (Ft) => r.component = (pe == null ? void 0 : pe.component) || (pe == null ? void 0 : pe.name),
59334
+ onClick: ($t) => r.component = (pe == null ? void 0 : pe.component) || (pe == null ? void 0 : pe.name),
59332
59335
  class: nn(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
59333
59336
  "bg-gray-100": r.component === (pe == null ? void 0 : pe.component) || r.component === (pe == null ? void 0 : pe.name),
59334
59337
  "": r.component !== (pe == null ? void 0 : pe.component) && r.component !== (pe == null ? void 0 : pe.name)
@@ -59340,13 +59343,13 @@ function uae(t, e, n, i, r, s) {
59340
59343
  placement: "top"
59341
59344
  }, {
59342
59345
  reference: Tt(() => [
59343
- Ui(We(pe == null ? void 0 : pe.title), 1)
59346
+ Ui(Ue(pe == null ? void 0 : pe.title), 1)
59344
59347
  ]),
59345
59348
  default: Tt(() => [
59346
- L("span", Xoe, We(pe == null ? void 0 : pe.info), 1)
59349
+ L("span", Xoe, Ue(pe == null ? void 0 : pe.info), 1)
59347
59350
  ]),
59348
59351
  _: 2
59349
- }, 1024)) : (X(), ne("span", Koe, We(pe == null ? void 0 : pe.title), 1))
59352
+ }, 1024)) : (X(), ne("span", Koe, Ue(pe == null ? void 0 : pe.title), 1))
59350
59353
  ], 10, Zoe))), 128)),
59351
59354
  K != null && K.limit && ((qe = (Ye = K == null ? void 0 : K.items) == null ? void 0 : Ye.slice(K == null ? void 0 : K.limit)) != null && qe.length) ? (X(), ne("div", Joe, [
59352
59355
  Fe(m, {
@@ -59356,16 +59359,16 @@ function uae(t, e, n, i, r, s) {
59356
59359
  }, null, 8, ["options", "active-tab"])
59357
59360
  ])) : _t("", !0)
59358
59361
  ]),
59359
- (X(!0), ne(kt, null, Xt(K.items, (pe, Ft) => {
59360
- var $t, jt, Yt, hn, an, kn, pn, ii, zn, Tn, Ln, Pe;
59361
- return X(), ne(kt, { key: Ft }, [
59362
+ (X(!0), ne(kt, null, Xt(K.items, (pe, $t) => {
59363
+ var Vt, Bt, Ut, hn, an, kn, pn, ii, zn, Tn, Ln, Pe;
59364
+ return X(), ne(kt, { key: $t }, [
59362
59365
  r.component === (pe == null ? void 0 : pe.component) || r.component === (pe == null ? void 0 : pe.name) ? (X(), ne("div", Qoe, [
59363
59366
  pe != null && pe.component ? (X(), ne("div", eae, [
59364
59367
  (X(), Ot(Ns(pe.component), Bf({
59365
59368
  data: r.objectData,
59366
- token: (jt = ($t = r.objectData) == null ? void 0 : $t.tokens) == null ? void 0 : jt[pe == null ? void 0 : pe.token],
59369
+ token: (Bt = (Vt = r.objectData) == null ? void 0 : Vt.tokens) == null ? void 0 : Bt[pe == null ? void 0 : pe.token],
59367
59370
  columns: pe == null ? void 0 : pe.columns,
59368
- geometry: (hn = (Yt = r.objectData) == null ? void 0 : Yt.rows[0]) == null ? void 0 : hn.geom,
59371
+ geometry: (hn = (Ut = r.objectData) == null ? void 0 : Ut.rows[0]) == null ? void 0 : hn.geom,
59369
59372
  ref_for: !0
59370
59373
  }, s.getProps(pe), {
59371
59374
  zoom: 16,
@@ -59403,24 +59406,24 @@ function uae(t, e, n, i, r, s) {
59403
59406
  }, [
59404
59407
  (X(!0), ne(kt, null, Xt(K == null ? void 0 : K.items, (pe) => (X(), ne("button", {
59405
59408
  key: (pe == null ? void 0 : pe.name) || (pe == null ? void 0 : pe.component),
59406
- onClick: (Ft) => r.component = (pe == null ? void 0 : pe.component) || (pe == null ? void 0 : pe.name),
59409
+ onClick: ($t) => r.component = (pe == null ? void 0 : pe.component) || (pe == null ? void 0 : pe.name),
59407
59410
  class: nn(["relative inline-flex items-center w-full py-1 text-sm text-left whitespace-pre-wrap border-transparent pe-4 gap-x-2 border-e-2 hover:text-blue-600 focus:outline-none focus:text-blue-600", {
59408
59411
  "font-semibold after:absolute after:top-[0] after:right-[-1px] after:h-full text-blue-600 after:w-[2px] after:bg-blue-600 ": r.component === (pe == null ? void 0 : pe.component) || r.component === (pe == null ? void 0 : pe.name),
59409
59412
  "text-gray-500": r.component !== (pe == null ? void 0 : pe.component) && r.component !== (pe == null ? void 0 : pe.name)
59410
59413
  }])
59411
- }, We(pe == null ? void 0 : pe.title), 11, rae))), 128))
59414
+ }, Ue(pe == null ? void 0 : pe.title), 11, rae))), 128))
59412
59415
  ], 2),
59413
59416
  L("div", sae, [
59414
- (X(!0), ne(kt, null, Xt(K.items, (pe, Ft) => {
59415
- var $t, jt, Yt, hn, an, kn, pn, ii, zn, Tn, Ln, Pe;
59416
- return X(), ne(kt, { key: Ft }, [
59417
+ (X(!0), ne(kt, null, Xt(K.items, (pe, $t) => {
59418
+ var Vt, Bt, Ut, hn, an, kn, pn, ii, zn, Tn, Ln, Pe;
59419
+ return X(), ne(kt, { key: $t }, [
59417
59420
  r.component === (pe == null ? void 0 : pe.component) || r.component === (pe == null ? void 0 : pe.name) ? (X(), ne("div", oae, [
59418
59421
  pe != null && pe.component ? (X(), ne("div", aae, [
59419
59422
  (X(), Ot(Ns(pe.component), Bf({
59420
- token: (jt = ($t = r.objectData) == null ? void 0 : $t.tokens) == null ? void 0 : jt[pe == null ? void 0 : pe.token],
59423
+ token: (Bt = (Vt = r.objectData) == null ? void 0 : Vt.tokens) == null ? void 0 : Bt[pe == null ? void 0 : pe.token],
59421
59424
  data: r.objectData,
59422
59425
  columns: pe == null ? void 0 : pe.columns,
59423
- geometry: (hn = (Yt = r.objectData) == null ? void 0 : Yt.rows[0]) == null ? void 0 : hn.geom,
59426
+ geometry: (hn = (Ut = r.objectData) == null ? void 0 : Ut.rows[0]) == null ? void 0 : hn.geom,
59424
59427
  ref_for: !0
59425
59428
  }, s.getProps(pe), {
59426
59429
  zoom: 16,
@@ -59518,7 +59521,7 @@ const ww = /* @__PURE__ */ ft(Noe, [["render", uae], ["__scopeId", "data-v-c27d9
59518
59521
  to: vae + "?name=" + (g == null ? void 0 : g.alias)
59519
59522
  }, {
59520
59523
  default: Tt(() => [
59521
- L("span", yae, We((g == null ? void 0 : g.title) || (g == null ? void 0 : g.name) || "Не вказано"), 1)
59524
+ L("span", yae, Ue((g == null ? void 0 : g.title) || (g == null ? void 0 : g.name) || "Не вказано"), 1)
59522
59525
  ]),
59523
59526
  _: 2
59524
59527
  }, 1032, ["to", "class"])
@@ -59608,7 +59611,7 @@ const ww = /* @__PURE__ */ ft(Noe, [["render", uae], ["__scopeId", "data-v-c27d9
59608
59611
  onUpdateValue: (C) => f(S, C)
59609
59612
  }, {
59610
59613
  default: Tt(() => [
59611
- L("span", Sae, We(S.editableValue), 1)
59614
+ L("span", Sae, Ue(S.editableValue), 1)
59612
59615
  ]),
59613
59616
  _: 2
59614
59617
  }, 1032, ["modelValue", "onUpdate:modelValue", "onUpdateValue"])
@@ -59846,7 +59849,7 @@ function Bae(t, e, n, i, r, s) {
59846
59849
  const a = Ge("VsNoData");
59847
59850
  return X(), ne("div", Dae, [
59848
59851
  s.table ? (X(), ne("div", Iae, [
59849
- L("h2", Pae, We((f = (o = n.list) == null ? void 0 : o.find(
59852
+ L("h2", Pae, Ue((f = (o = n.list) == null ? void 0 : o.find(
59850
59853
  (m) => {
59851
59854
  var g, _, S, C;
59852
59855
  return (m == null ? void 0 : m.table) == ((_ = (g = t.$route) == null ? void 0 : g.query) == null ? void 0 : _.name) || (m == null ? void 0 : m.alias) == ((C = (S = t.$route) == null ? void 0 : S.query) == null ? void 0 : C.name);
@@ -59859,7 +59862,7 @@ function Bae(t, e, n, i, r, s) {
59859
59862
  class: nn(["inline-flex items-center px-3 py-2 text-sm text-gray-800 border border-transparent rounded-lg gap-x-2 whitespace-nowrap hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:text-gray-800", [
59860
59863
  r.currentTab === g ? "bg-white shadow-sm !border-gray-200" : ""
59861
59864
  ]])
59862
- }, We(m.title), 11, Oae))), 128))
59865
+ }, Ue(m.title), 11, Oae))), 128))
59863
59866
  ]),
59864
59867
  L("div", zae, [
59865
59868
  r.tableData ? (X(), ne("div", Lae, [
@@ -59973,7 +59976,7 @@ function Zae(t, e, n, i, r, s) {
59973
59976
  class: nn(["inline-flex items-center px-3 py-2 text-sm text-gray-800 border border-transparent rounded-lg gap-x-2 whitespace-nowrap hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:text-gray-800", [
59974
59977
  ((g = (m = t.$route) == null ? void 0 : m.query) == null ? void 0 : g.name) === f.name ? "bg-white shadow-sm !border-gray-200" : ""
59975
59978
  ]])
59976
- }, We(f.body.ua || f.body.title || f.name || "Не вказано"), 11, qae);
59979
+ }, Ue(f.body.ua || f.body.title || f.name || "Не вказано"), 11, qae);
59977
59980
  }), 128)),
59978
59981
  L("div", Gae, [
59979
59982
  L("button", {
@@ -60156,9 +60159,9 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60156
60159
  key: Ce == null ? void 0 : Ce.name,
60157
60160
  class: "flex items-center justify-between w-full"
60158
60161
  }, [
60159
- L("dt", ole, We(Ce == null ? void 0 : Ce.title) + ": ", 1),
60162
+ L("dt", ole, Ue(Ce == null ? void 0 : Ce.title) + ": ", 1),
60160
60163
  L("dd", ale, [
60161
- Ui(We(Ce == null ? void 0 : Ce.name) + " ", 1),
60164
+ Ui(Ue(Ce == null ? void 0 : Ce.name) + " ", 1),
60162
60165
  Fe(K, {
60163
60166
  trigger: "hover",
60164
60167
  placement: "left"
@@ -60318,7 +60321,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60318
60321
  L("div", gle, [
60319
60322
  L("div", yle, [
60320
60323
  L("div", vle, [
60321
- L("span", ble, " Знайдено " + We((be = r.value) == null ? void 0 : be.filtered), 1),
60324
+ L("span", ble, " Знайдено " + Ue((be = r.value) == null ? void 0 : be.filtered), 1),
60322
60325
  L("button", {
60323
60326
  onClick: M,
60324
60327
  class: "relative py-1 ps-1.5 pe-7 inline-flex shrink-0 justify-center items-center gap-x-1.5 border border-transparent text-sm text-gray-500 rounded-lg underline-offset-4 hover:underline hover:text-gray-600 focus:outline-none focus:underline focus:text-gray-600"
@@ -60332,7 +60335,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60332
60335
  var ke;
60333
60336
  return [
60334
60337
  L("button", _le, [
60335
- Ui(" Обранo: " + We((ke = o.value) == null ? void 0 : ke.length) + " ", 1),
60338
+ Ui(" Обранo: " + Ue((ke = o.value) == null ? void 0 : ke.length) + " ", 1),
60336
60339
  Fe(CR, {
60337
60340
  height: "14",
60338
60341
  width: "14"
@@ -60370,7 +60373,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60370
60373
  width: "12"
60371
60374
  })
60372
60375
  ], 2),
60373
- Ui(" " + We(ke[(Ye = (Be = r.value) == null ? void 0 : Be.meta) == null ? void 0 : Ye.title]), 1)
60376
+ Ui(" " + Ue(ke[(Ye = (Be = r.value) == null ? void 0 : Be.meta) == null ? void 0 : Ye.title]), 1)
60374
60377
  ])
60375
60378
  ]);
60376
60379
  }), 128))
@@ -60412,7 +60415,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60412
60415
  width: "12"
60413
60416
  })
60414
60417
  ], 2),
60415
- Ui(" " + We(ke[(Ye = (Be = r.value) == null ? void 0 : Be.meta) == null ? void 0 : Ye.title]), 1)
60418
+ Ui(" " + Ue(ke[(Ye = (Be = r.value) == null ? void 0 : Be.meta) == null ? void 0 : Ye.title]), 1)
60416
60419
  ])
60417
60420
  ]);
60418
60421
  }), 128))
@@ -60462,7 +60465,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60462
60465
  key: _,
60463
60466
  onClick: (S) => r.value = _,
60464
60467
  class: nn(["inline-flex items-center px-3 py-2 text-sm text-gray-800 border border-transparent rounded-lg gap-x-2 whitespace-nowrap hover:text-gray-500", [r.value === _ ? " shadow bg-white" : ""]])
60465
- }, We(g.text), 11, Ple)), 64))
60468
+ }, Ue(g.text), 11, Ple)), 64))
60466
60469
  ]),
60467
60470
  L("div", Rle, [
60468
60471
  s.value ? (X(), ne("div", Ole, [
@@ -60584,7 +60587,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60584
60587
  to: Wle + "?name=" + (q == null ? void 0 : q.name)
60585
60588
  }, {
60586
60589
  default: Tt(() => [
60587
- L("span", Hle, We((q == null ? void 0 : q.title) || (q == null ? void 0 : q.name) || "Не вказано"), 1)
60590
+ L("span", Hle, Ue((q == null ? void 0 : q.title) || (q == null ? void 0 : q.name) || "Не вказано"), 1)
60588
60591
  ]),
60589
60592
  _: 2
60590
60593
  }, 1032, ["to", "class"])
@@ -60700,7 +60703,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60700
60703
  to: tce + "?name=" + (g == null ? void 0 : g.name)
60701
60704
  }, {
60702
60705
  default: Tt(() => [
60703
- L("span", ece, We((g == null ? void 0 : g.title) || (g == null ? void 0 : g.name) || "Не вказано"), 1)
60706
+ L("span", ece, Ue((g == null ? void 0 : g.title) || (g == null ? void 0 : g.name) || "Не вказано"), 1)
60704
60707
  ]),
60705
60708
  _: 2
60706
60709
  }, 1032, ["to", "class"])
@@ -60786,9 +60789,9 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60786
60789
  L("div", oce, [
60787
60790
  (X(!0), ne(kt, null, Xt(($ = r.value) == null ? void 0 : $.kpi, (Z) => (X(), ne("div", ace, [
60788
60791
  L("div", lce, [
60789
- L("p", cce, We(Z == null ? void 0 : Z.title), 1),
60792
+ L("p", cce, Ue(Z == null ? void 0 : Z.title), 1),
60790
60793
  L("div", uce, [
60791
- L("span", dce, We(Z == null ? void 0 : Z.count), 1)
60794
+ L("span", dce, Ue(Z == null ? void 0 : Z.count), 1)
60792
60795
  ])
60793
60796
  ])
60794
60797
  ]))), 256))
@@ -60803,7 +60806,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60803
60806
  class: "min-w-[250px]",
60804
60807
  key: Z == null ? void 0 : Z.name
60805
60808
  }, [
60806
- L("div", gce, We(Z == null ? void 0 : Z.title), 1)
60809
+ L("div", gce, Ue(Z == null ? void 0 : Z.title), 1)
60807
60810
  ]))), 128))
60808
60811
  ])
60809
60812
  ]),
@@ -60812,7 +60815,7 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60812
60815
  var ge;
60813
60816
  return X(), ne("tr", null, [
60814
60817
  (X(!0), ne(kt, null, Xt((ge = r.value) == null ? void 0 : ge.columns, (be) => (X(), ne("td", vce, [
60815
- L("span", bce, We((Z == null ? void 0 : Z[be == null ? void 0 : be.name]) || "-"), 1)
60818
+ L("span", bce, Ue((Z == null ? void 0 : Z[be == null ? void 0 : be.name]) || "-"), 1)
60816
60819
  ]))), 256))
60817
60820
  ]);
60818
60821
  }), 256))
@@ -60860,10 +60863,10 @@ const ele = /* @__PURE__ */ ft(Kae, [["render", Qae]]), tle = { class: "h-full w
60860
60863
  function Dce(t, e, n, i, r, s) {
60861
60864
  return X(), ne("div", Ece, [
60862
60865
  L("div", Cce, [
60863
- L("p", Tce, We(n.task.title), 1)
60866
+ L("p", Tce, Ue(n.task.title), 1)
60864
60867
  ]),
60865
60868
  L("div", Ace, [
60866
- L("span", Mce, We(n.task.date), 1)
60869
+ L("span", Mce, Ue(n.task.date), 1)
60867
60870
  ])
60868
60871
  ]);
60869
60872
  }
@@ -61002,7 +61005,7 @@ function Lce(t, e, n, i, r, s) {
61002
61005
  key: f.title,
61003
61006
  class: "px-3 py-3 mr-4 bg-gray-100 rounded rounded-lg column-width"
61004
61007
  }, [
61005
- L("p", zce, We(f.title), 1),
61008
+ L("p", zce, Ue(f.title), 1),
61006
61009
  Fe(o, {
61007
61010
  list: f.tasks,
61008
61011
  animation: 200,
@@ -61182,7 +61185,7 @@ const Yce = /* @__PURE__ */ ft(Wce, [["render", Gce]]), Zce = async (t, e, n, i
61182
61185
  var $, q;
61183
61186
  return X(), ne("dl", Xce, [
61184
61187
  L("dt", Kce, [
61185
- L("p", Jce, We((z == null ? void 0 : z.ua) || (z == null ? void 0 : z.title)) + ": ", 1)
61188
+ L("p", Jce, Ue((z == null ? void 0 : z.ua) || (z == null ? void 0 : z.title)) + ": ", 1)
61186
61189
  ]),
61187
61190
  L("dd", Qce, [
61188
61191
  L("p", eue, [