@abi-software/flatmapvuer 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { getCurrentScope as VB, onScopeDispose as CE, unref as pt, getCurrentInstance as po, onMounted as J1, nextTick as Li, ref as Ie, readonly as RB, watch as tn, defineComponent as fr, openBlock as Jt, createElementBlock as Re, createElementVNode as ze, warn as Ott, computed as qt, watchEffect as NB, onBeforeUnmount as ws, inject as bn, isRef as Q2, shallowRef as h5, onBeforeMount as Ptt, provide as ho, mergeProps as Ka, renderSlot as zr, toRef as d2, onUnmounted as Itt, useAttrs as ktt, useSlots as Qh, withDirectives as pi, createCommentVNode as hr, Fragment as _1, normalizeClass as Me, createBlock as br, withCtx as pe, resolveDynamicComponent as Po, withModifiers as H1, createVNode as Ve, toDisplayString as zn, normalizeStyle as b1, vShow as Co, Transition as mh, reactive as L4, onUpdated as Vtt, cloneVNode as Rtt, Text as DB, Comment as Ntt, Teleport as FB, onDeactivated as Dtt, toRaw as D9, vModelCheckbox as ST, createTextVNode as Cn, toRefs as L5, vModelRadio as BB, h as Yl, createSlots as jB, resolveComponent as ds, resolveDirective as Ftt, renderList as $a, withKeys as bc, vModelText as Btt, createApp as jtt, pushScopeId as OE, popScopeId as PE, createStaticVNode as ztt, hasInjectionContext as Utt, markRaw as ps, effectScope as Gtt, isReactive as IE } from "vue";
1
+ import { getCurrentScope as VB, onScopeDispose as CE, unref as pt, getCurrentInstance as po, onMounted as J1, nextTick as Li, ref as Ie, readonly as RB, watch as tn, defineComponent as fr, openBlock as Jt, createElementBlock as Re, createElementVNode as Ne, warn as Ott, computed as qt, watchEffect as NB, onBeforeUnmount as ws, inject as bn, isRef as Q2, shallowRef as h5, onBeforeMount as Ptt, provide as ho, mergeProps as Ka, renderSlot as zr, toRef as d2, onUnmounted as Itt, useAttrs as ktt, useSlots as Qh, withDirectives as pi, createCommentVNode as hr, Fragment as _1, normalizeClass as Me, createBlock as Lr, withCtx as pe, resolveDynamicComponent as Po, withModifiers as H1, createVNode as Ve, toDisplayString as zn, normalizeStyle as b1, vShow as Co, Transition as mh, reactive as L4, onUpdated as Vtt, cloneVNode as Rtt, Text as DB, Comment as Ntt, Teleport as FB, onDeactivated as Dtt, toRaw as D9, vModelCheckbox as ST, createTextVNode as Cn, toRefs as L5, vModelRadio as BB, h as Yl, createSlots as jB, resolveComponent as ds, resolveDirective as Ftt, renderList as $a, withKeys as bc, vModelText as Btt, createApp as jtt, pushScopeId as OE, popScopeId as PE, createStaticVNode as ztt, hasInjectionContext as Utt, markRaw as ps, effectScope as Gtt, isReactive as IE } from "vue";
2
2
  import { MapSvgIcon as $tt, MapSvgSpriteColor as Ztt } from "@abi-software/svg-sprite";
3
3
  import { Tooltip as Wtt, TreeControls as qtt, DrawToolbar as Xtt } from "@abi-software/map-utilities";
4
4
  const t4 = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
@@ -1201,7 +1201,7 @@ var b1t = /* @__PURE__ */ fr({
1201
1201
  xmlns: "http://www.w3.org/2000/svg",
1202
1202
  viewBox: "0 0 1024 1024"
1203
1203
  }, [
1204
- ze("path", {
1204
+ Ne("path", {
1205
1205
  fill: "currentColor",
1206
1206
  d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
1207
1207
  })
@@ -1215,7 +1215,7 @@ var b1t = /* @__PURE__ */ fr({
1215
1215
  xmlns: "http://www.w3.org/2000/svg",
1216
1216
  viewBox: "0 0 1024 1024"
1217
1217
  }, [
1218
- ze("path", {
1218
+ Ne("path", {
1219
1219
  fill: "currentColor",
1220
1220
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
1221
1221
  })
@@ -1229,11 +1229,11 @@ var b1t = /* @__PURE__ */ fr({
1229
1229
  xmlns: "http://www.w3.org/2000/svg",
1230
1230
  viewBox: "0 0 1024 1024"
1231
1231
  }, [
1232
- ze("path", {
1232
+ Ne("path", {
1233
1233
  fill: "currentColor",
1234
1234
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
1235
1235
  }),
1236
- ze("path", {
1236
+ Ne("path", {
1237
1237
  fill: "currentColor",
1238
1238
  d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"
1239
1239
  })
@@ -1247,11 +1247,11 @@ var b1t = /* @__PURE__ */ fr({
1247
1247
  xmlns: "http://www.w3.org/2000/svg",
1248
1248
  viewBox: "0 0 1024 1024"
1249
1249
  }, [
1250
- ze("path", {
1250
+ Ne("path", {
1251
1251
  fill: "currentColor",
1252
1252
  d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
1253
1253
  }),
1254
- ze("path", {
1254
+ Ne("path", {
1255
1255
  fill: "currentColor",
1256
1256
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
1257
1257
  })
@@ -1265,7 +1265,7 @@ var b1t = /* @__PURE__ */ fr({
1265
1265
  xmlns: "http://www.w3.org/2000/svg",
1266
1266
  viewBox: "0 0 1024 1024"
1267
1267
  }, [
1268
- ze("path", {
1268
+ Ne("path", {
1269
1269
  fill: "currentColor",
1270
1270
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
1271
1271
  })
@@ -1279,11 +1279,11 @@ var b1t = /* @__PURE__ */ fr({
1279
1279
  xmlns: "http://www.w3.org/2000/svg",
1280
1280
  viewBox: "0 0 1024 1024"
1281
1281
  }, [
1282
- ze("path", {
1282
+ Ne("path", {
1283
1283
  fill: "currentColor",
1284
1284
  d: "M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"
1285
1285
  }),
1286
- ze("path", {
1286
+ Ne("path", {
1287
1287
  fill: "currentColor",
1288
1288
  d: "M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"
1289
1289
  })
@@ -1297,7 +1297,7 @@ var b1t = /* @__PURE__ */ fr({
1297
1297
  xmlns: "http://www.w3.org/2000/svg",
1298
1298
  viewBox: "0 0 1024 1024"
1299
1299
  }, [
1300
- ze("path", {
1300
+ Ne("path", {
1301
1301
  fill: "currentColor",
1302
1302
  d: "M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
1303
1303
  })
@@ -1311,7 +1311,7 @@ var b1t = /* @__PURE__ */ fr({
1311
1311
  xmlns: "http://www.w3.org/2000/svg",
1312
1312
  viewBox: "0 0 1024 1024"
1313
1313
  }, [
1314
- ze("path", {
1314
+ Ne("path", {
1315
1315
  fill: "currentColor",
1316
1316
  d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
1317
1317
  })
@@ -1325,7 +1325,7 @@ var b1t = /* @__PURE__ */ fr({
1325
1325
  xmlns: "http://www.w3.org/2000/svg",
1326
1326
  viewBox: "0 0 1024 1024"
1327
1327
  }, [
1328
- ze("path", {
1328
+ Ne("path", {
1329
1329
  fill: "currentColor",
1330
1330
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
1331
1331
  })
@@ -1339,7 +1339,7 @@ var b1t = /* @__PURE__ */ fr({
1339
1339
  xmlns: "http://www.w3.org/2000/svg",
1340
1340
  viewBox: "0 0 1024 1024"
1341
1341
  }, [
1342
- ze("path", {
1342
+ Ne("path", {
1343
1343
  fill: "currentColor",
1344
1344
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
1345
1345
  })
@@ -2335,7 +2335,7 @@ function t2t(t) {
2335
2335
  var e = t.state, r = t.options, n = t.name, i = r.mainAxis, o = i === void 0 ? !0 : i, s = r.altAxis, a = s === void 0 ? !1 : s, u = r.boundary, d = r.rootBoundary, f = r.altBoundary, T = r.padding, Q = r.tether, y = Q === void 0 ? !0 : Q, b = r.tetherOffset, v = b === void 0 ? 0 : b, E = W9(e, { boundary: u, rootBoundary: d, padding: T, altBoundary: f }), w = Ya(e.placement), C = B7(e.placement), P = !C, N = YE(w), B = Jot(N), G = e.modifiersData.popperOffsets, z = e.rects.reference, J = e.rects.popper, nt = typeof v == "function" ? v(Object.assign({}, e.rects, { placement: e.placement })) : v, at = typeof nt == "number" ? { mainAxis: nt, altAxis: nt } : Object.assign({ mainAxis: 0, altAxis: 0 }, nt), et = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, mt = { x: 0, y: 0 };
2336
2336
  if (G) {
2337
2337
  if (o) {
2338
- var It, Gt = N === "y" ? f2 : T2, ie = N === "y" ? vs : bs, _e = N === "y" ? "height" : "width", de = G[N], ir = de + E[Gt], Dr = de - E[ie], ne = y ? -J[_e] / 2 : 0, he = C === R7 ? z[_e] : J[_e], we = C === R7 ? -J[_e] : -z[_e], Oe = e.elements.arrow, tr = y && Oe ? KE(Oe) : { width: 0, height: 0 }, Je = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Cj(), rr = Je[Gt], zt = Je[ie], Yt = c9(0, z[_e], tr[_e]), Qe = P ? z[_e] / 2 - ne - Yt - rr - at.mainAxis : he - Yt - rr - at.mainAxis, le = P ? -z[_e] / 2 + ne + Yt + zt + at.mainAxis : we + Yt + zt + at.mainAxis, ke = e.elements.arrow && bh(e.elements.arrow), cr = ke ? N === "y" ? ke.clientTop || 0 : ke.clientLeft || 0 : 0, Be = (It = et == null ? void 0 : et[N]) != null ? It : 0, Ue = de + Qe - Be - cr, ar = de + le - Be, Ot = c9(y ? OT(ir, Ue) : ir, de, y ? f5(Dr, ar) : Dr);
2338
+ var It, Gt = N === "y" ? f2 : T2, ie = N === "y" ? vs : bs, _e = N === "y" ? "height" : "width", de = G[N], ir = de + E[Gt], Dr = de - E[ie], ne = y ? -J[_e] / 2 : 0, he = C === R7 ? z[_e] : J[_e], we = C === R7 ? -J[_e] : -z[_e], Oe = e.elements.arrow, tr = y && Oe ? KE(Oe) : { width: 0, height: 0 }, Je = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Cj(), rr = Je[Gt], zt = Je[ie], Yt = c9(0, z[_e], tr[_e]), Qe = P ? z[_e] / 2 - ne - Yt - rr - at.mainAxis : he - Yt - rr - at.mainAxis, le = P ? -z[_e] / 2 + ne + Yt + zt + at.mainAxis : we + Yt + zt + at.mainAxis, ke = e.elements.arrow && bh(e.elements.arrow), cr = ke ? N === "y" ? ke.clientTop || 0 : ke.clientLeft || 0 : 0, je = (It = et == null ? void 0 : et[N]) != null ? It : 0, Ue = de + Qe - je - cr, ar = de + le - je, Ot = c9(y ? OT(ir, Ue) : ir, de, y ? f5(Dr, ar) : Dr);
2339
2339
  G[N] = Ot, mt[N] = Ot - de;
2340
2340
  }
2341
2341
  if (a) {
@@ -3113,7 +3113,7 @@ const k2t = Nn({
3113
3113
  }
3114
3114
  r(v1, Hr), r("input", Hr), await Li(), ke(), zt();
3115
3115
  }
3116
- }, Be = (fe) => {
3116
+ }, je = (fe) => {
3117
3117
  r("change", fe.target.value);
3118
3118
  }, Ue = (fe) => {
3119
3119
  r("compositionstart", fe), N.value = !0;
@@ -3178,7 +3178,7 @@ const k2t = Nn({
3178
3178
  }, [
3179
3179
  zr(fe.$slots, "prepend")
3180
3180
  ], 2)) : hr("v-if", !0),
3181
- ze("div", {
3181
+ Ne("div", {
3182
3182
  ref_key: "wrapperRef",
3183
3183
  ref: nt,
3184
3184
  class: Me(pt(u))
@@ -3188,22 +3188,22 @@ const k2t = Nn({
3188
3188
  key: 0,
3189
3189
  class: Me(pt(v).e("prefix"))
3190
3190
  }, [
3191
- ze("span", {
3191
+ Ne("span", {
3192
3192
  class: Me(pt(v).e("prefix-inner"))
3193
3193
  }, [
3194
3194
  zr(fe.$slots, "prefix"),
3195
- fe.prefixIcon ? (Jt(), br(pt(Yo), {
3195
+ fe.prefixIcon ? (Jt(), Lr(pt(Yo), {
3196
3196
  key: 0,
3197
3197
  class: Me(pt(v).e("icon"))
3198
3198
  }, {
3199
3199
  default: pe(() => [
3200
- (Jt(), br(Po(fe.prefixIcon)))
3200
+ (Jt(), Lr(Po(fe.prefixIcon)))
3201
3201
  ]),
3202
3202
  _: 1
3203
3203
  }, 8, ["class"])) : hr("v-if", !0)
3204
3204
  ], 2)
3205
3205
  ], 2)) : hr("v-if", !0),
3206
- ze("input", Ka({
3206
+ Ne("input", Ka({
3207
3207
  id: pt(Q),
3208
3208
  ref_key: "input",
3209
3209
  ref: w,
@@ -3227,7 +3227,7 @@ const k2t = Nn({
3227
3227
  onInput: cr,
3228
3228
  onFocus: Hr[0] || (Hr[0] = (...pn) => pt(et) && pt(et)(...pn)),
3229
3229
  onBlur: Hr[1] || (Hr[1] = (...pn) => pt(mt) && pt(mt)(...pn)),
3230
- onChange: Be,
3230
+ onChange: je,
3231
3231
  onKeydown: Oi
3232
3232
  }), null, 16, N2t),
3233
3233
  hr(" suffix slot "),
@@ -3235,22 +3235,22 @@ const k2t = Nn({
3235
3235
  key: 1,
3236
3236
  class: Me(pt(v).e("suffix"))
3237
3237
  }, [
3238
- ze("span", {
3238
+ Ne("span", {
3239
3239
  class: Me(pt(v).e("suffix-inner"))
3240
3240
  }, [
3241
3241
  !pt(ne) || !pt(he) || !pt(we) ? (Jt(), Re(_1, { key: 0 }, [
3242
3242
  zr(fe.$slots, "suffix"),
3243
- fe.suffixIcon ? (Jt(), br(pt(Yo), {
3243
+ fe.suffixIcon ? (Jt(), Lr(pt(Yo), {
3244
3244
  key: 0,
3245
3245
  class: Me(pt(v).e("icon"))
3246
3246
  }, {
3247
3247
  default: pe(() => [
3248
- (Jt(), br(Po(fe.suffixIcon)))
3248
+ (Jt(), Lr(Po(fe.suffixIcon)))
3249
3249
  ]),
3250
3250
  _: 1
3251
3251
  }, 8, ["class"])) : hr("v-if", !0)
3252
3252
  ], 64)) : hr("v-if", !0),
3253
- pt(ne) ? (Jt(), br(pt(Yo), {
3253
+ pt(ne) ? (Jt(), Lr(pt(Yo), {
3254
3254
  key: 1,
3255
3255
  class: Me([pt(v).e("icon"), pt(v).e("clear")]),
3256
3256
  onMousedown: H1(pt(h4), ["prevent"]),
@@ -3261,13 +3261,13 @@ const k2t = Nn({
3261
3261
  ]),
3262
3262
  _: 1
3263
3263
  }, 8, ["class", "onMousedown"])) : hr("v-if", !0),
3264
- pt(he) ? (Jt(), br(pt(Yo), {
3264
+ pt(he) ? (Jt(), Lr(pt(Yo), {
3265
3265
  key: 2,
3266
3266
  class: Me([pt(v).e("icon"), pt(v).e("password")]),
3267
3267
  onClick: en
3268
3268
  }, {
3269
3269
  default: pe(() => [
3270
- (Jt(), br(Po(pt(_e))))
3270
+ (Jt(), Lr(Po(pt(_e))))
3271
3271
  ]),
3272
3272
  _: 1
3273
3273
  }, 8, ["class"])) : hr("v-if", !0),
@@ -3275,11 +3275,11 @@ const k2t = Nn({
3275
3275
  key: 3,
3276
3276
  class: Me(pt(v).e("count"))
3277
3277
  }, [
3278
- ze("span", {
3278
+ Ne("span", {
3279
3279
  class: Me(pt(v).e("count-inner"))
3280
3280
  }, zn(pt(Oe)) + " / " + zn(fe.maxlength), 3)
3281
3281
  ], 2)) : hr("v-if", !0),
3282
- pt(Gt) && pt(ie) && pt(It) ? (Jt(), br(pt(Yo), {
3282
+ pt(Gt) && pt(ie) && pt(It) ? (Jt(), Lr(pt(Yo), {
3283
3283
  key: 4,
3284
3284
  class: Me([
3285
3285
  pt(v).e("icon"),
@@ -3288,7 +3288,7 @@ const k2t = Nn({
3288
3288
  ])
3289
3289
  }, {
3290
3290
  default: pe(() => [
3291
- (Jt(), br(Po(pt(ie))))
3291
+ (Jt(), Lr(Po(pt(ie))))
3292
3292
  ]),
3293
3293
  _: 1
3294
3294
  }, 8, ["class"])) : hr("v-if", !0)
@@ -3304,7 +3304,7 @@ const k2t = Nn({
3304
3304
  ], 2)) : hr("v-if", !0)
3305
3305
  ], 64)) : (Jt(), Re(_1, { key: 1 }, [
3306
3306
  hr(" textarea "),
3307
- ze("textarea", Ka({
3307
+ Ne("textarea", Ka({
3308
3308
  id: pt(Q),
3309
3309
  ref_key: "textarea",
3310
3310
  ref: C,
@@ -3327,7 +3327,7 @@ const k2t = Nn({
3327
3327
  onInput: cr,
3328
3328
  onFocus: Hr[2] || (Hr[2] = (...pn) => pt(et) && pt(et)(...pn)),
3329
3329
  onBlur: Hr[3] || (Hr[3] = (...pn) => pt(mt) && pt(mt)(...pn)),
3330
- onChange: Be,
3330
+ onChange: je,
3331
3331
  onKeydown: Oi
3332
3332
  }), null, 16, D2t),
3333
3333
  pt(we) ? (Jt(), Re("span", {
@@ -3426,18 +3426,18 @@ const z2t = m2(j2t), f7 = 4, U2t = {
3426
3426
  const B = () => {
3427
3427
  document.onselectstart !== f && (document.onselectstart = f);
3428
3428
  };
3429
- return d5(d2(r, "scrollbarElement"), "mousemove", P), d5(d2(r, "scrollbarElement"), "mouseleave", N), (G, z) => (Jt(), br(mh, {
3429
+ return d5(d2(r, "scrollbarElement"), "mousemove", P), d5(d2(r, "scrollbarElement"), "mouseleave", N), (G, z) => (Jt(), Lr(mh, {
3430
3430
  name: pt(n).b("fade"),
3431
3431
  persisted: ""
3432
3432
  }, {
3433
3433
  default: pe(() => [
3434
- pi(ze("div", {
3434
+ pi(Ne("div", {
3435
3435
  ref_key: "instance",
3436
3436
  ref: i,
3437
3437
  class: Me([pt(n).e("bar"), pt(n).is(pt(T).key)]),
3438
3438
  onMousedown: v
3439
3439
  }, [
3440
- ze("div", {
3440
+ Ne("div", {
3441
3441
  ref_key: "thumb",
3442
3442
  ref: o,
3443
3443
  class: Me(pt(n).e("thumb")),
@@ -3619,14 +3619,14 @@ const Y2t = Nn({
3619
3619
  ref: a,
3620
3620
  class: Me(pt(i).b())
3621
3621
  }, [
3622
- ze("div", {
3622
+ Ne("div", {
3623
3623
  ref_key: "wrapRef",
3624
3624
  ref: u,
3625
3625
  class: Me(pt(E)),
3626
3626
  style: b1(pt(v)),
3627
3627
  onScroll: C
3628
3628
  }, [
3629
- (Jt(), br(Po(z.tag), {
3629
+ (Jt(), Lr(Po(z.tag), {
3630
3630
  id: z.id,
3631
3631
  ref_key: "resizeRef",
3632
3632
  ref: d,
@@ -3642,7 +3642,7 @@ const Y2t = Nn({
3642
3642
  _: 3
3643
3643
  }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
3644
3644
  ], 38),
3645
- z.native ? hr("v-if", !0) : (Jt(), br(K2t, {
3645
+ z.native ? hr("v-if", !0) : (Jt(), Lr(K2t, {
3646
3646
  key: 0,
3647
3647
  ref_key: "barRef",
3648
3648
  ref: Q,
@@ -3850,7 +3850,7 @@ const Jj = Nn({
3850
3850
  d == null || d(), d = void 0;
3851
3851
  }), e({
3852
3852
  triggerRef: i
3853
- }), (f, T) => f.virtualTriggering ? hr("v-if", !0) : (Jt(), br(pt(hst), Ka({ key: 0 }, f.$attrs, {
3853
+ }), (f, T) => f.virtualTriggering ? hr("v-if", !0) : (Jt(), Lr(pt(hst), Ka({ key: 0 }, f.$attrs, {
3854
3854
  "aria-controls": pt(o),
3855
3855
  "aria-describedby": pt(s),
3856
3856
  "aria-expanded": pt(u),
@@ -4479,7 +4479,7 @@ const Fst = m2(ast), lM = Symbol("elTooltip"), j2 = Nn({
4479
4479
  });
4480
4480
  return e({
4481
4481
  triggerRef: f
4482
- }), (N, B) => (Jt(), br(pt(fst), {
4482
+ }), (N, B) => (Jt(), Lr(pt(fst), {
4483
4483
  id: pt(o),
4484
4484
  "virtual-ref": N.virtualRef,
4485
4485
  open: pt(s),
@@ -4562,7 +4562,7 @@ const Xst = fr({
4562
4562
  (ir = (de = o.value) == null ? void 0 : de.updatePopper) == null || ir.call(de);
4563
4563
  }), e({
4564
4564
  contentRef: o
4565
- }), (de, ir) => (Jt(), br(FB, {
4565
+ }), (de, ir) => (Jt(), Lr(FB, {
4566
4566
  disabled: !de.teleported,
4567
4567
  to: pt(B)
4568
4568
  }, [
@@ -4574,7 +4574,7 @@ const Xst = fr({
4574
4574
  onBeforeLeave: It
4575
4575
  }, {
4576
4576
  default: pe(() => [
4577
- pt(P) ? pi((Jt(), br(pt(Dst), Ka({
4577
+ pt(P) ? pi((Jt(), Lr(pt(Dst), Ka({
4578
4578
  key: 0,
4579
4579
  id: pt(u),
4580
4580
  ref_key: "contentRef",
@@ -4683,7 +4683,7 @@ const Jst = ["innerHTML"], tat = { key: 1 }, eat = fr({
4683
4683
  onOpen: y,
4684
4684
  onClose: b,
4685
4685
  hide: T
4686
- }), (w, C) => (Jt(), br(pt(Fst), {
4686
+ }), (w, C) => (Jt(), Lr(pt(Fst), {
4687
4687
  ref_key: "popperRef",
4688
4688
  ref: o,
4689
4689
  role: w.role
@@ -4738,7 +4738,7 @@ const Jst = ["innerHTML"], tat = { key: 1 }, eat = fr({
4738
4738
  innerHTML: w.content
4739
4739
  }, null, 8, Jst)) : (Jt(), Re("span", tat, zn(w.content), 1))
4740
4740
  ]),
4741
- w.showArrow ? (Jt(), br(pt(ust), {
4741
+ w.showArrow ? (Jt(), Lr(pt(ust), {
4742
4742
  key: 0,
4743
4743
  "arrow-offset": w.arrowOffset
4744
4744
  }, null, 8, ["arrow-offset"])) : hr("v-if", !0)
@@ -5406,7 +5406,7 @@ const bat = fr({
5406
5406
  type: u,
5407
5407
  disabled: d,
5408
5408
  shouldAddSpace: T
5409
- }), (y, b) => (Jt(), br(Po(y.tag), Ka({
5409
+ }), (y, b) => (Jt(), Lr(Po(y.tag), Ka({
5410
5410
  ref_key: "_ref",
5411
5411
  ref: s
5412
5412
  }, pt(f), {
@@ -5428,18 +5428,18 @@ const bat = fr({
5428
5428
  }), {
5429
5429
  default: pe(() => [
5430
5430
  y.loading ? (Jt(), Re(_1, { key: 0 }, [
5431
- y.$slots.loading ? zr(y.$slots, "loading", { key: 0 }) : (Jt(), br(pt(Yo), {
5431
+ y.$slots.loading ? zr(y.$slots, "loading", { key: 0 }) : (Jt(), Lr(pt(Yo), {
5432
5432
  key: 1,
5433
5433
  class: Me(pt(o).is("loading"))
5434
5434
  }, {
5435
5435
  default: pe(() => [
5436
- (Jt(), br(Po(y.loadingIcon)))
5436
+ (Jt(), Lr(Po(y.loadingIcon)))
5437
5437
  ]),
5438
5438
  _: 1
5439
5439
  }, 8, ["class"]))
5440
- ], 64)) : y.icon || y.$slots.icon ? (Jt(), br(pt(Yo), { key: 1 }, {
5440
+ ], 64)) : y.icon || y.$slots.icon ? (Jt(), Lr(pt(Yo), { key: 1 }, {
5441
5441
  default: pe(() => [
5442
- y.icon ? (Jt(), br(Po(y.icon), { key: 0 })) : zr(y.$slots, "icon", { key: 1 })
5442
+ y.icon ? (Jt(), Lr(Po(y.icon), { key: 0 })) : zr(y.$slots, "icon", { key: 1 })
5443
5443
  ]),
5444
5444
  _: 3
5445
5445
  })) : hr("v-if", !0),
@@ -5707,13 +5707,13 @@ const Aat = {
5707
5707
  y.is("indeterminate", e.indeterminate),
5708
5708
  y.is("focus", a.value)
5709
5709
  ]);
5710
- return (E, w) => (Jt(), br(Po(!pt(d) && pt(i) ? "span" : "label"), {
5710
+ return (E, w) => (Jt(), Lr(Po(!pt(d) && pt(i) ? "span" : "label"), {
5711
5711
  class: Me(pt(b)),
5712
5712
  "aria-controls": E.indeterminate ? E.controls : null,
5713
5713
  onClick: pt(Q)
5714
5714
  }, {
5715
5715
  default: pe(() => [
5716
- ze("span", {
5716
+ Ne("span", {
5717
5717
  class: Me(pt(v))
5718
5718
  }, [
5719
5719
  E.trueLabel || E.falseLabel ? pi((Jt(), Re("input", {
@@ -5754,7 +5754,7 @@ const Aat = {
5754
5754
  }, null, 42, Rat)), [
5755
5755
  [ST, pt(f)]
5756
5756
  ]),
5757
- ze("span", {
5757
+ Ne("span", {
5758
5758
  class: Me(pt(y).e("inner"))
5759
5759
  }, null, 2)
5760
5760
  ], 2),
@@ -5911,7 +5911,7 @@ const Gat = Nn({
5911
5911
  r.validateEvent && (i == null || i.validate("change").catch((d) => ko(d)));
5912
5912
  }), (d, f) => {
5913
5913
  var T;
5914
- return Jt(), br(Po(d.tag), {
5914
+ return Jt(), Lr(Po(d.tag), {
5915
5915
  id: pt(o),
5916
5916
  class: Me(pt(n).b("group")),
5917
5917
  role: "group",
@@ -5995,14 +5995,14 @@ const Tz = B5(pz), Qz = Nn({
5995
5995
  pt(n).m(pt(a))
5996
5996
  ])
5997
5997
  }, [
5998
- ze("span", {
5998
+ Ne("span", {
5999
5999
  class: Me([
6000
6000
  pt(n).e("input"),
6001
6001
  pt(n).is("disabled", pt(u)),
6002
6002
  pt(n).is("checked", pt(d) === T.label)
6003
6003
  ])
6004
6004
  }, [
6005
- pi(ze("input", {
6005
+ pi(Ne("input", {
6006
6006
  ref_key: "radioRef",
6007
6007
  ref: i,
6008
6008
  "onUpdate:modelValue": Q[0] || (Q[0] = (b) => Q2(d) ? d.value = b : null),
@@ -6019,11 +6019,11 @@ const Tz = B5(pz), Qz = Nn({
6019
6019
  }, null, 42, Xat), [
6020
6020
  [BB, pt(d)]
6021
6021
  ]),
6022
- ze("span", {
6022
+ Ne("span", {
6023
6023
  class: Me(pt(n).e("inner"))
6024
6024
  }, null, 2)
6025
6025
  ], 2),
6026
- ze("span", {
6026
+ Ne("span", {
6027
6027
  class: Me(pt(n).e("label")),
6028
6028
  onKeydown: Q[4] || (Q[4] = H1(() => {
6029
6029
  }, ["stop"]))
@@ -6066,7 +6066,7 @@ const t3t = Nn({
6066
6066
  pt(r).bm("button", pt(o))
6067
6067
  ])
6068
6068
  }, [
6069
- pi(ze("input", {
6069
+ pi(Ne("input", {
6070
6070
  ref_key: "radioRef",
6071
6071
  ref: n,
6072
6072
  "onUpdate:modelValue": T[0] || (T[0] = (y) => Q2(a) ? a.value = y : null),
@@ -6082,7 +6082,7 @@ const t3t = Nn({
6082
6082
  }, null, 42, e3t), [
6083
6083
  [BB, pt(a)]
6084
6084
  ]),
6085
- ze("span", {
6085
+ Ne("span", {
6086
6086
  class: Me(pt(r).be("button", "inner")),
6087
6087
  style: b1(pt(a) === f.label ? pt(d) : {}),
6088
6088
  onKeydown: T[4] || (T[4] = H1(() => {
@@ -6222,12 +6222,12 @@ const xz = Nn({
6222
6222
  style: b1({ backgroundColor: u.color }),
6223
6223
  onClick: a
6224
6224
  }, [
6225
- ze("span", {
6225
+ Ne("span", {
6226
6226
  class: Me(pt(i).e("content"))
6227
6227
  }, [
6228
6228
  zr(u.$slots, "default")
6229
6229
  ], 2),
6230
- u.closable ? (Jt(), br(pt(Yo), {
6230
+ u.closable ? (Jt(), Lr(pt(Yo), {
6231
6231
  key: 0,
6232
6232
  class: Me(pt(i).e("close")),
6233
6233
  onClick: H1(s, ["stop"])
@@ -6237,23 +6237,23 @@ const xz = Nn({
6237
6237
  ]),
6238
6238
  _: 1
6239
6239
  }, 8, ["class", "onClick"])) : hr("v-if", !0)
6240
- ], 6)) : (Jt(), br(mh, {
6240
+ ], 6)) : (Jt(), Lr(mh, {
6241
6241
  key: 1,
6242
6242
  name: `${pt(i).namespace.value}-zoom-in-center`,
6243
6243
  appear: ""
6244
6244
  }, {
6245
6245
  default: pe(() => [
6246
- ze("span", {
6246
+ Ne("span", {
6247
6247
  class: Me(pt(o)),
6248
6248
  style: b1({ backgroundColor: u.color }),
6249
6249
  onClick: a
6250
6250
  }, [
6251
- ze("span", {
6251
+ Ne("span", {
6252
6252
  class: Me(pt(i).e("content"))
6253
6253
  }, [
6254
6254
  zr(u.$slots, "default")
6255
6255
  ], 2),
6256
- u.closable ? (Jt(), br(pt(Yo), {
6256
+ u.closable ? (Jt(), Lr(pt(Yo), {
6257
6257
  key: 0,
6258
6258
  class: Me(pt(i).e("close")),
6259
6259
  onClick: H1(s, ["stop"])
@@ -6313,7 +6313,7 @@ const p3t = m2(d3t), wz = Symbol("rowContextKey"), f3t = [
6313
6313
  r.is(`justify-${e.justify}`, e.justify !== "start"),
6314
6314
  r.is(`align-${e.align}`, !!e.align)
6315
6315
  ]);
6316
- return (s, a) => (Jt(), br(Po(s.tag), {
6316
+ return (s, a) => (Jt(), Lr(Po(s.tag), {
6317
6317
  class: Me(pt(o)),
6318
6318
  style: b1(pt(i))
6319
6319
  }, {
@@ -6386,7 +6386,7 @@ const wh = m2(y3t), _3t = Nn({
6386
6386
  });
6387
6387
  }), r.value && s.push(n.is("guttered")), [n.b(), s];
6388
6388
  });
6389
- return (s, a) => (Jt(), br(Po(s.tag), {
6389
+ return (s, a) => (Jt(), Lr(Po(s.tag), {
6390
6390
  class: Me(pt(o)),
6391
6391
  style: b1(pt(i))
6392
6392
  }, {
@@ -6490,13 +6490,13 @@ const S3t = M3t, Ez = Symbol("dialogInjectionKey"), Mz = Nn({
6490
6490
  style: b1(pt(u)),
6491
6491
  tabindex: "-1"
6492
6492
  }, [
6493
- ze("header", {
6493
+ Ne("header", {
6494
6494
  ref_key: "headerRef",
6495
6495
  ref: o,
6496
6496
  class: Me([pt(a).e("header"), { "show-close": b.showClose }])
6497
6497
  }, [
6498
6498
  zr(b.$slots, "header", {}, () => [
6499
- ze("span", {
6499
+ Ne("span", {
6500
6500
  role: "heading",
6501
6501
  "aria-level": b.ariaLevel,
6502
6502
  class: Me(pt(a).e("title"))
@@ -6513,13 +6513,13 @@ const S3t = M3t, Ez = Symbol("dialogInjectionKey"), Mz = Nn({
6513
6513
  class: Me(pt(a).e("close"))
6514
6514
  }, {
6515
6515
  default: pe(() => [
6516
- (Jt(), br(Po(b.closeIcon || pt(n))))
6516
+ (Jt(), Lr(Po(b.closeIcon || pt(n))))
6517
6517
  ]),
6518
6518
  _: 1
6519
6519
  }, 8, ["class"])
6520
6520
  ], 10, C3t)) : hr("v-if", !0)
6521
6521
  ], 2),
6522
- ze("div", {
6522
+ Ne("div", {
6523
6523
  id: pt(s),
6524
6524
  class: Me(pt(a).e("body"))
6525
6525
  }, [
@@ -6726,7 +6726,7 @@ const V3t = Nn({
6726
6726
  return e({
6727
6727
  visible: u,
6728
6728
  dialogContentRef: a
6729
- }), (at, et) => (Jt(), br(FB, {
6729
+ }), (at, et) => (Jt(), Lr(FB, {
6730
6730
  to: at.appendTo,
6731
6731
  disabled: at.appendTo !== "body" ? !1 : !at.appendToBody
6732
6732
  }, [
@@ -6745,7 +6745,7 @@ const V3t = Nn({
6745
6745
  "z-index": pt(b)
6746
6746
  }, {
6747
6747
  default: pe(() => [
6748
- ze("div", {
6748
+ Ne("div", {
6749
6749
  role: "dialog",
6750
6750
  "aria-modal": "true",
6751
6751
  "aria-label": at.title || void 0,
@@ -6767,7 +6767,7 @@ const V3t = Nn({
6767
6767
  onReleaseRequested: pt(G)
6768
6768
  }, {
6769
6769
  default: pe(() => [
6770
- pt(y) ? (Jt(), br(k3t, Ka({
6770
+ pt(y) ? (Jt(), Lr(k3t, Ka({
6771
6771
  key: 0,
6772
6772
  ref_key: "dialogContentRef",
6773
6773
  ref: a
@@ -7066,7 +7066,7 @@ function e4t(t, e, r, n, i, o) {
7066
7066
  onClick: e[1] || (e[1] = H1((...s) => t.selectOptionClick && t.selectOptionClick(...s), ["stop"]))
7067
7067
  }, [
7068
7068
  zr(t.$slots, "default", {}, () => [
7069
- ze("span", null, zn(t.currentLabel), 1)
7069
+ Ne("span", null, zn(t.currentLabel), 1)
7070
7070
  ])
7071
7071
  ], 42, t4t)), [
7072
7072
  [Co, t.visible]
@@ -7193,7 +7193,7 @@ const s4t = 11, a4t = (t, e) => {
7193
7193
  return t.multiple || !It.value ? te : s.selectedLabel;
7194
7194
  });
7195
7195
  tn(() => t.modelValue, (At, te) => {
7196
- t.multiple && t.filterable && !t.reserveKeyword && (s.inputValue = "", ke("")), Be(), !j9(At, te) && t.validateEvent && (at == null || at.validate("change").catch((Ee) => ko(Ee)));
7196
+ t.multiple && t.filterable && !t.reserveKeyword && (s.inputValue = "", ke("")), je(), !j9(At, te) && t.validateEvent && (at == null || at.validate("change").catch((Ee) => ko(Ee)));
7197
7197
  }, {
7198
7198
  flush: "post",
7199
7199
  deep: !0
@@ -7204,7 +7204,7 @@ const s4t = 11, a4t = (t, e) => {
7204
7204
  if (!r1)
7205
7205
  return;
7206
7206
  const te = ((At = a.value) == null ? void 0 : At.querySelectorAll("input")) || [];
7207
- (!t.filterable && !t.defaultFirstOption && !z9(t.modelValue) || !Array.from(te).includes(document.activeElement)) && Be(), t.defaultFirstOption && (t.filterable || t.remote) && he.value && cr();
7207
+ (!t.filterable && !t.defaultFirstOption && !z9(t.modelValue) || !Array.from(te).includes(document.activeElement)) && je(), t.defaultFirstOption && (t.filterable || t.remote) && he.value && cr();
7208
7208
  }, {
7209
7209
  flush: "post"
7210
7210
  }), tn(() => s.hoveringIndex, (At) => {
@@ -7219,7 +7219,7 @@ const s4t = 11, a4t = (t, e) => {
7219
7219
  }, cr = () => {
7220
7220
  const At = we.value.filter((or) => or.visible && !or.disabled && !or.states.groupDisabled), te = At.find((or) => or.created), Ee = At[0];
7221
7221
  s.hoveringIndex = Un(we.value, te || Ee);
7222
- }, Be = () => {
7222
+ }, je = () => {
7223
7223
  if (t.multiple)
7224
7224
  s.selectedLabel = "";
7225
7225
  else {
@@ -7379,7 +7379,7 @@ const s4t = 11, a4t = (t, e) => {
7379
7379
  width: `${Math.max(s.calculatorWidth, s4t)}px`
7380
7380
  }));
7381
7381
  return t.multiple && !Oo(t.modelValue) && e(v1, []), !t.multiple && Oo(t.modelValue) && e(v1, ""), n4(u, Ot), n4(Q, en), n4(v, Cr), n4(P, Cr), n4(E, Or), n4(w, rn), J1(() => {
7382
- Be();
7382
+ je();
7383
7383
  }), {
7384
7384
  inputId: et,
7385
7385
  contentId: n,
@@ -7413,7 +7413,7 @@ const s4t = 11, a4t = (t, e) => {
7413
7413
  showNewOption: tr,
7414
7414
  updateOptions: Je,
7415
7415
  collapseTagSize: zt,
7416
- setSelected: Be,
7416
+ setSelected: je,
7417
7417
  selectDisabled: mt,
7418
7418
  emptyText: ne,
7419
7419
  handleCompositionStart: Ur,
@@ -7636,7 +7636,7 @@ function p4t(t, e, r, n, i, o) {
7636
7636
  default: pe(() => {
7637
7637
  var b;
7638
7638
  return [
7639
- ze("div", {
7639
+ Ne("div", {
7640
7640
  ref: "wrapperRef",
7641
7641
  class: Me([
7642
7642
  t.nsSelect.e("wrapper"),
@@ -7653,7 +7653,7 @@ function p4t(t, e, r, n, i, o) {
7653
7653
  }, [
7654
7654
  zr(t.$slots, "prefix")
7655
7655
  ], 2)) : hr("v-if", !0),
7656
- ze("div", {
7656
+ Ne("div", {
7657
7657
  ref: "selectionRef",
7658
7658
  class: Me([
7659
7659
  t.nsSelect.e("selection"),
@@ -7674,14 +7674,14 @@ function p4t(t, e, r, n, i, o) {
7674
7674
  onClose: (E) => t.deleteTag(E, v)
7675
7675
  }, {
7676
7676
  default: pe(() => [
7677
- ze("span", {
7677
+ Ne("span", {
7678
7678
  class: Me(t.nsSelect.e("tags-text"))
7679
7679
  }, zn(v.currentLabel), 3)
7680
7680
  ]),
7681
7681
  _: 2
7682
7682
  }, 1032, ["closable", "size", "type", "style", "onClose"])
7683
7683
  ], 2))), 128)),
7684
- t.collapseTags && t.states.selected.length > t.maxCollapseTags ? (Jt(), br(a, {
7684
+ t.collapseTags && t.states.selected.length > t.maxCollapseTags ? (Jt(), Lr(a, {
7685
7685
  key: 0,
7686
7686
  ref: "tagTooltipRef",
7687
7687
  disabled: t.dropdownMenuVisible || !t.collapseTagsTooltip,
@@ -7691,7 +7691,7 @@ function p4t(t, e, r, n, i, o) {
7691
7691
  teleported: t.teleported
7692
7692
  }, {
7693
7693
  default: pe(() => [
7694
- ze("div", {
7694
+ Ne("div", {
7695
7695
  ref: "collapseItemRef",
7696
7696
  class: Me(t.nsSelect.e("selected-item"))
7697
7697
  }, [
@@ -7703,7 +7703,7 @@ function p4t(t, e, r, n, i, o) {
7703
7703
  style: b1(t.collapseTagStyle)
7704
7704
  }, {
7705
7705
  default: pe(() => [
7706
- ze("span", {
7706
+ Ne("span", {
7707
7707
  class: Me(t.nsSelect.e("tags-text"))
7708
7708
  }, " + " + zn(t.states.selected.length - t.maxCollapseTags), 3)
7709
7709
  ]),
@@ -7712,7 +7712,7 @@ function p4t(t, e, r, n, i, o) {
7712
7712
  ], 2)
7713
7713
  ]),
7714
7714
  content: pe(() => [
7715
- ze("div", {
7715
+ Ne("div", {
7716
7716
  ref: "tagMenuRef",
7717
7717
  class: Me(t.nsSelect.e("selection"))
7718
7718
  }, [
@@ -7729,7 +7729,7 @@ function p4t(t, e, r, n, i, o) {
7729
7729
  onClose: (E) => t.deleteTag(E, v)
7730
7730
  }, {
7731
7731
  default: pe(() => [
7732
- ze("span", {
7732
+ Ne("span", {
7733
7733
  class: Me(t.nsSelect.e("tags-text"))
7734
7734
  }, zn(v.currentLabel), 3)
7735
7735
  ]),
@@ -7749,7 +7749,7 @@ function p4t(t, e, r, n, i, o) {
7749
7749
  t.nsSelect.is("hidden", !t.filterable)
7750
7750
  ])
7751
7751
  }, [
7752
- pi(ze("input", {
7752
+ pi(Ne("input", {
7753
7753
  id: t.inputId,
7754
7754
  ref: "inputRef",
7755
7755
  "onUpdate:modelValue": e[0] || (e[0] = (v) => t.states.inputValue = v),
@@ -7800,38 +7800,38 @@ function p4t(t, e, r, n, i, o) {
7800
7800
  t.nsSelect.is("transparent", !t.hasModelValue || t.expanded && !t.states.inputValue)
7801
7801
  ])
7802
7802
  }, [
7803
- ze("span", null, zn(t.currentPlaceholder), 1)
7803
+ Ne("span", null, zn(t.currentPlaceholder), 1)
7804
7804
  ], 2)) : hr("v-if", !0)
7805
7805
  ], 2),
7806
- ze("div", {
7806
+ Ne("div", {
7807
7807
  ref: "suffixRef",
7808
7808
  class: Me(t.nsSelect.e("suffix"))
7809
7809
  }, [
7810
- t.iconComponent && !t.showClose ? (Jt(), br(u, {
7810
+ t.iconComponent && !t.showClose ? (Jt(), Lr(u, {
7811
7811
  key: 0,
7812
7812
  class: Me([t.nsSelect.e("caret"), t.nsSelect.e("icon"), t.iconReverse])
7813
7813
  }, {
7814
7814
  default: pe(() => [
7815
- (Jt(), br(Po(t.iconComponent)))
7815
+ (Jt(), Lr(Po(t.iconComponent)))
7816
7816
  ]),
7817
7817
  _: 1
7818
7818
  }, 8, ["class"])) : hr("v-if", !0),
7819
- t.showClose && t.clearIcon ? (Jt(), br(u, {
7819
+ t.showClose && t.clearIcon ? (Jt(), Lr(u, {
7820
7820
  key: 1,
7821
7821
  class: Me([t.nsSelect.e("caret"), t.nsSelect.e("icon")]),
7822
7822
  onClick: t.handleClearClick
7823
7823
  }, {
7824
7824
  default: pe(() => [
7825
- (Jt(), br(Po(t.clearIcon)))
7825
+ (Jt(), Lr(Po(t.clearIcon)))
7826
7826
  ]),
7827
7827
  _: 1
7828
7828
  }, 8, ["class", "onClick"])) : hr("v-if", !0),
7829
- t.validateState && t.validateIcon ? (Jt(), br(u, {
7829
+ t.validateState && t.validateIcon ? (Jt(), Lr(u, {
7830
7830
  key: 2,
7831
7831
  class: Me([t.nsInput.e("icon"), t.nsInput.e("validateIcon")])
7832
7832
  }, {
7833
7833
  default: pe(() => [
7834
- (Jt(), br(Po(t.validateIcon)))
7834
+ (Jt(), Lr(Po(t.validateIcon)))
7835
7835
  ]),
7836
7836
  _: 1
7837
7837
  }, 8, ["class"])) : hr("v-if", !0)
@@ -7860,7 +7860,7 @@ function p4t(t, e, r, n, i, o) {
7860
7860
  "aria-orientation": "vertical"
7861
7861
  }, {
7862
7862
  default: pe(() => [
7863
- t.showNewOption ? (Jt(), br(d, {
7863
+ t.showNewOption ? (Jt(), Lr(d, {
7864
7864
  key: 0,
7865
7865
  value: t.states.inputValue,
7866
7866
  created: !0
@@ -7886,7 +7886,7 @@ function p4t(t, e, r, n, i, o) {
7886
7886
  class: Me(t.nsSelect.be("dropdown", "empty"))
7887
7887
  }, [
7888
7888
  zr(t.$slots, "empty", {}, () => [
7889
- ze("span", null, zn(t.emptyText), 1)
7889
+ Ne("span", null, zn(t.emptyText), 1)
7890
7890
  ])
7891
7891
  ], 2)) : hr("v-if", !0),
7892
7892
  t.$slots.footer ? (Jt(), Re("div", {
@@ -7945,11 +7945,11 @@ function Q4t(t, e, r, n, i, o) {
7945
7945
  ref: "groupRef",
7946
7946
  class: Me(t.ns.be("group", "wrap"))
7947
7947
  }, [
7948
- ze("li", {
7948
+ Ne("li", {
7949
7949
  class: Me(t.ns.be("group", "title"))
7950
7950
  }, zn(t.label), 3),
7951
- ze("li", null, [
7952
- ze("ul", {
7951
+ Ne("li", null, [
7952
+ Ne("ul", {
7953
7953
  class: Me(t.ns.b("group"))
7954
7954
  }, [
7955
7955
  zr(t.$slots, "default")
@@ -8053,7 +8053,7 @@ const m4t = Nn({
8053
8053
  return e({
8054
8054
  popperRef: a,
8055
8055
  hide: T
8056
- }), (E, w) => (Jt(), br(pt(iz), Ka({
8056
+ }), (E, w) => (Jt(), Lr(pt(iz), Ka({
8057
8057
  ref_key: "tooltipRef",
8058
8058
  ref: s
8059
8059
  }, E.$attrs, {
@@ -8434,8 +8434,8 @@ function V4t(t, e, r, n, i, o) {
8434
8434
  default: pe(() => [
8435
8435
  Ve(d, { span: 12 }, {
8436
8436
  default: pe(() => [
8437
- ze("span", O4t, zn(r.title), 1),
8438
- r.helpMessage ? (Jt(), br(u, {
8437
+ Ne("span", O4t, zn(r.title), 1),
8438
+ r.helpMessage ? (Jt(), Lr(u, {
8439
8439
  key: 0,
8440
8440
  width: "250",
8441
8441
  trigger: "hover",
@@ -8443,7 +8443,7 @@ function V4t(t, e, r, n, i, o) {
8443
8443
  "popper-class": "popover-origin-help"
8444
8444
  }, jB({
8445
8445
  default: pe(() => [
8446
- ze("span", P4t, zn(r.helpMessage), 1)
8446
+ Ne("span", P4t, zn(r.helpMessage), 1)
8447
8447
  ]),
8448
8448
  _: 2
8449
8449
  }, [
@@ -8465,7 +8465,7 @@ function V4t(t, e, r, n, i, o) {
8465
8465
  }),
8466
8466
  Ve(d, { span: 12 }, {
8467
8467
  default: pe(() => [
8468
- r.selections && r.selections.length > 1 ? (Jt(), br(f, {
8468
+ r.selections && r.selections.length > 1 ? (Jt(), Lr(f, {
8469
8469
  key: 0,
8470
8470
  class: "all-checkbox",
8471
8471
  indeterminate: o.isIndeterminate,
@@ -8493,13 +8493,13 @@ function V4t(t, e, r, n, i, o) {
8493
8493
  onChange: o.handleCheckedItemsChange
8494
8494
  }, {
8495
8495
  default: pe(() => [
8496
- ze("div", I4t, [
8497
- (Jt(!0), Re(_1, null, $a(r.selections, (y) => (Jt(), br(T, {
8496
+ Ne("div", I4t, [
8497
+ (Jt(!0), Re(_1, null, $a(r.selections, (y) => (Jt(), Lr(T, {
8498
8498
  key: y[r.identifierKey],
8499
8499
  label: y[r.identifierKey]
8500
8500
  }, {
8501
8501
  default: pe(() => [
8502
- ze("div", {
8502
+ Ne("div", {
8503
8503
  class: "checkbox-container",
8504
8504
  onMouseenter: (b) => o.checkboxMouseEnterEmit(y[r.identifierKey], !0),
8505
8505
  onMouseleave: (b) => o.checkboxMouseEnterEmit(y[r.identifierKey], !1)
@@ -8514,12 +8514,12 @@ function V4t(t, e, r, n, i, o) {
8514
8514
  default: pe(() => [
8515
8515
  Ve(T, { class: "checkbox-row" }, {
8516
8516
  default: pe(() => [
8517
- o.hasLineStyles(y) ? (Jt(), br(d, {
8517
+ o.hasLineStyles(y) ? (Jt(), Lr(d, {
8518
8518
  key: 0,
8519
8519
  span: 4
8520
8520
  }, {
8521
8521
  default: pe(() => [
8522
- ze("div", {
8522
+ Ne("div", {
8523
8523
  class: "path-visual",
8524
8524
  style: b1(o.getLineStyles(y))
8525
8525
  }, null, 4)
@@ -8528,7 +8528,7 @@ function V4t(t, e, r, n, i, o) {
8528
8528
  }, 1024)) : hr("", !0),
8529
8529
  Ve(d, { span: 20 }, {
8530
8530
  default: pe(() => [
8531
- ze("div", {
8531
+ Ne("div", {
8532
8532
  style: b1(o.getBackgroundStyles(y))
8533
8533
  }, zn(y[r.labelKey]), 5)
8534
8534
  ]),
@@ -8563,7 +8563,7 @@ const Cz = /* @__PURE__ */ ym(A4t, [["render", V4t], ["__scopeId", "data-v-75b24
8563
8563
  "xmlns:bx": "https://boxy-svg.com"
8564
8564
  }, B4t = /* @__PURE__ */ ztt('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9), j4t = [
8565
8565
  B4t
8566
- ], z4t = /* @__PURE__ */ N4t(() => /* @__PURE__ */ ze("svg", {
8566
+ ], z4t = /* @__PURE__ */ N4t(() => /* @__PURE__ */ Ne("svg", {
8567
8567
  width: "72px",
8568
8568
  height: "72px",
8569
8569
  viewBox: "0 0 24 24",
@@ -8718,7 +8718,7 @@ let $4t = function() {
8718
8718
  } else
8719
8719
  o(!1);
8720
8720
  }).catch((s) => {
8721
- console.error("Error:", s), o(!1);
8721
+ s.name === "AbortError" || console.error("Error:", s), o(!1);
8722
8722
  });
8723
8723
  });
8724
8724
  }, this.connectivityExists = function(t) {
@@ -10494,12 +10494,12 @@ var WU = { exports: {} };
10494
10494
  g !== -1 && p[h].splice(g, 1);
10495
10495
  }
10496
10496
  }
10497
- class Be {
10497
+ class je {
10498
10498
  constructor(l, p = {}) {
10499
10499
  z(this, p), this.type = l;
10500
10500
  }
10501
10501
  }
10502
- class Ue extends Be {
10502
+ class Ue extends je {
10503
10503
  constructor(l, p = {}) {
10504
10504
  super("error", z({ error: l }, p));
10505
10505
  }
@@ -10515,7 +10515,7 @@ var WU = { exports: {} };
10515
10515
  return p ? (this._oneTimeListeners = this._oneTimeListeners || {}, ke(l, p, this._oneTimeListeners), this) : new Promise((g) => this.once(l, g));
10516
10516
  }
10517
10517
  fire(l, p) {
10518
- typeof l == "string" && (l = new Be(l, p || {}));
10518
+ typeof l == "string" && (l = new je(l, p || {}));
10519
10519
  const g = l.type;
10520
10520
  if (this.listens(g)) {
10521
10521
  l.target = this;
@@ -12796,7 +12796,7 @@ var WU = { exports: {} };
12796
12796
  function Zt(h) {
12797
12797
  return h instanceof Number ? "number" : h instanceof String ? "string" : h instanceof Boolean ? "boolean" : Array.isArray(h) ? "array" : h === null ? "null" : typeof h;
12798
12798
  }
12799
- function Ne(h) {
12799
+ function De(h) {
12800
12800
  return typeof h == "object" && h !== null && !Array.isArray(h);
12801
12801
  }
12802
12802
  function xr(h) {
@@ -12969,7 +12969,7 @@ var WU = { exports: {} };
12969
12969
  class Si {
12970
12970
  constructor(l, p) {
12971
12971
  var g;
12972
- this.expression = l, this._warningHistory = {}, this._evaluator = new As(), this._defaultValue = p ? (g = p).type === "color" && Ne(g.default) ? new nn(0, 0, 0, 0) : g.type === "color" ? nn.parse(g.default) || null : g.type === "padding" ? oi.parse(g.default) || null : g.type === "variableAnchorOffsetCollection" ? yn.parse(g.default) || null : g.default === void 0 ? null : g.default : null, this._enumValues = p && p.type === "enum" ? p.values : null;
12972
+ this.expression = l, this._warningHistory = {}, this._evaluator = new As(), this._defaultValue = p ? (g = p).type === "color" && De(g.default) ? new nn(0, 0, 0, 0) : g.type === "color" ? nn.parse(g.default) || null : g.type === "padding" ? oi.parse(g.default) || null : g.type === "variableAnchorOffsetCollection" ? yn.parse(g.default) || null : g.default === void 0 ? null : g.default : null, this._enumValues = p && p.type === "enum" ? p.values : null;
12973
12973
  }
12974
12974
  evaluateWithoutErrorHandling(l, p, g, x, H, A) {
12975
12975
  return this._evaluator.globals = l, this._evaluator.feature = p, this._evaluator.featureState = g, this._evaluator.canonical = x, this._evaluator.availableImages = H || null, this._evaluator.formattedSection = A, this.expression.evaluate(this._evaluator);
@@ -13372,7 +13372,7 @@ var WU = { exports: {} };
13372
13372
  return [new Te(p, A, `"${O}" does not support interpolation syntax
13373
13373
  Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(X[1])} }\`.`)];
13374
13374
  const tt = [];
13375
- return h.layerType === "symbol" && (O === "text-field" && x && !x.glyphs && tt.push(new Te(p, A, 'use of "text-field" requires a style "glyphs" property')), O === "text-font" && Ne(_o(A)) && Sn(A.type) === "identity" && tt.push(new Te(p, A, '"text-font" does not support identity functions'))), tt.concat(g({ key: h.key, value: A, valueSpec: W, style: x, styleSpec: H, expressionContext: "property", propertyType: l, propertyKey: O }));
13375
+ return h.layerType === "symbol" && (O === "text-field" && x && !x.glyphs && tt.push(new Te(p, A, 'use of "text-field" requires a style "glyphs" property')), O === "text-font" && De(_o(A)) && Sn(A.type) === "identity" && tt.push(new Te(p, A, '"text-font" does not support identity functions'))), tt.concat(g({ key: h.key, value: A, valueSpec: W, style: x, styleSpec: H, expressionContext: "property", propertyType: l, propertyKey: O }));
13376
13376
  }
13377
13377
  function N8(h) {
13378
13378
  return va(h, "paint");
@@ -13555,7 +13555,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13555
13555
  }, sprite: U8 };
13556
13556
  function b0(h) {
13557
13557
  const l = h.value, p = h.valueSpec, g = h.styleSpec;
13558
- return h.validateSpec = b0, p.expression && Ne(Sn(l)) ? N3(h) : p.expression && R1(_o(l)) ? a2(h) : p.type && G8[p.type] ? G8[p.type](h) : zi(Pi({}, h, { valueSpec: p.type ? g[p.type] : p }));
13558
+ return h.validateSpec = b0, p.expression && De(Sn(l)) ? N3(h) : p.expression && R1(_o(l)) ? a2(h) : p.type && G8[p.type] ? G8[p.type](h) : zi(Pi({}, h, { valueSpec: p.type ? g[p.type] : p }));
13559
13559
  }
13560
13560
  function Cd(h) {
13561
13561
  const l = h.value, p = h.key, g = Rs(h);
@@ -13851,7 +13851,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13851
13851
  class cl {
13852
13852
  constructor(l, p) {
13853
13853
  this.property = l, this.value = p, this.expression = function(g, x) {
13854
- if (Ne(g))
13854
+ if (De(g))
13855
13855
  return new Vs(g, x);
13856
13856
  if (R1(g)) {
13857
13857
  const H = ks(g, x);
@@ -14479,13 +14479,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14479
14479
  _refreshViews() {
14480
14480
  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);
14481
14481
  }
14482
- emplaceBack(l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, je, gr, lr) {
14482
+ emplaceBack(l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, ze, gr, lr) {
14483
14483
  const er = this.length;
14484
- return this.resize(er + 1), this.emplace(er, l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, je, gr, lr);
14484
+ return this.resize(er + 1), this.emplace(er, l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, ze, gr, lr);
14485
14485
  }
14486
- emplace(l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, je, gr, lr, er) {
14486
+ emplace(l, p, g, x, H, A, O, R, j, W, X, tt, st, ct, Tt, Lt, St, $t, kt, Ft, re, ye, Ke, Sr, $e, ze, gr, lr, er) {
14487
14487
  const ae = 32 * l, _r = 16 * l;
14488
- return this.int16[ae + 0] = p, this.int16[ae + 1] = g, this.int16[ae + 2] = x, this.int16[ae + 3] = H, this.int16[ae + 4] = A, this.int16[ae + 5] = O, this.int16[ae + 6] = R, this.int16[ae + 7] = j, this.uint16[ae + 8] = W, this.uint16[ae + 9] = X, this.uint16[ae + 10] = tt, this.uint16[ae + 11] = st, this.uint16[ae + 12] = ct, this.uint16[ae + 13] = Tt, this.uint16[ae + 14] = Lt, this.uint16[ae + 15] = St, this.uint16[ae + 16] = $t, this.uint16[ae + 17] = kt, this.uint16[ae + 18] = Ft, this.uint16[ae + 19] = re, this.uint16[ae + 20] = ye, this.uint16[ae + 21] = Ke, this.uint16[ae + 22] = Sr, this.uint32[_r + 12] = $e, this.float32[_r + 13] = je, this.float32[_r + 14] = gr, this.uint16[ae + 30] = lr, this.uint16[ae + 31] = er, l;
14488
+ return this.int16[ae + 0] = p, this.int16[ae + 1] = g, this.int16[ae + 2] = x, this.int16[ae + 3] = H, this.int16[ae + 4] = A, this.int16[ae + 5] = O, this.int16[ae + 6] = R, this.int16[ae + 7] = j, this.uint16[ae + 8] = W, this.uint16[ae + 9] = X, this.uint16[ae + 10] = tt, this.uint16[ae + 11] = st, this.uint16[ae + 12] = ct, this.uint16[ae + 13] = Tt, this.uint16[ae + 14] = Lt, this.uint16[ae + 15] = St, this.uint16[ae + 16] = $t, this.uint16[ae + 17] = kt, this.uint16[ae + 18] = Ft, this.uint16[ae + 19] = re, this.uint16[ae + 20] = ye, this.uint16[ae + 21] = Ke, this.uint16[ae + 22] = Sr, this.uint32[_r + 12] = $e, this.float32[_r + 13] = ze, this.float32[_r + 14] = gr, this.uint16[ae + 30] = lr, this.uint16[ae + 31] = er, l;
14489
14489
  }
14490
14490
  }
14491
14491
  xe.prototype.bytesPerElement = 64, nr("StructArrayLayout8i15ui1ul2f2ui64", xe);
@@ -14530,7 +14530,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14530
14530
  }
14531
14531
  }
14532
14532
  jr.prototype.bytesPerElement = 8, nr("StructArrayLayout1ul2ui8", jr);
14533
- class De extends U {
14533
+ class Fe extends U {
14534
14534
  _refreshViews() {
14535
14535
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
14536
14536
  }
@@ -14543,7 +14543,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14543
14543
  return this.uint16[x + 0] = p, this.uint16[x + 1] = g, l;
14544
14544
  }
14545
14545
  }
14546
- De.prototype.bytesPerElement = 4, nr("StructArrayLayout2ui4", De);
14546
+ Fe.prototype.bytesPerElement = 4, nr("StructArrayLayout2ui4", Fe);
14547
14547
  class Ge extends U {
14548
14548
  _refreshViews() {
14549
14549
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
@@ -14855,7 +14855,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14855
14855
  }
14856
14856
  class T1 extends Xe {
14857
14857
  }
14858
- class Hi extends De {
14858
+ class Hi extends Fe {
14859
14859
  }
14860
14860
  const q4 = Z([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: ec } = q4;
14861
14861
  class l1 {
@@ -16276,11 +16276,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16276
16276
  }
16277
16277
  return $t;
16278
16278
  }(j, R), st = function(ct, Tt, Lt, St) {
16279
- const $t = [], kt = [], Ft = St[8] * Tt, re = St[9] * Tt, ye = St[10] * Tt, Ke = St[11] * Tt, Sr = St[8] * Lt, $e = St[9] * Lt, je = St[10] * Lt, gr = St[11] * Lt;
16279
+ const $t = [], kt = [], Ft = St[8] * Tt, re = St[9] * Tt, ye = St[10] * Tt, Ke = St[11] * Tt, Sr = St[8] * Lt, $e = St[9] * Lt, ze = St[10] * Lt, gr = St[11] * Lt;
16280
16280
  for (const lr of ct) {
16281
16281
  const er = [], ae = [];
16282
16282
  for (const _r of lr) {
16283
- const mr = _r.x, Rr = _r.y, jn = St[0] * mr + St[4] * Rr + St[12], Rn = St[1] * mr + St[5] * Rr + St[13], Q1 = St[2] * mr + St[6] * Rr + St[14], os = St[3] * mr + St[7] * Rr + St[15], U1 = Q1 + ye, Ui = os + Ke, Lo = jn + Sr, xo = Rn + $e, wo = Q1 + je, Gi = os + gr, m1 = new T((jn + Ft) / Ui, (Rn + re) / Ui);
16283
+ const mr = _r.x, Rr = _r.y, jn = St[0] * mr + St[4] * Rr + St[12], Rn = St[1] * mr + St[5] * Rr + St[13], Q1 = St[2] * mr + St[6] * Rr + St[14], os = St[3] * mr + St[7] * Rr + St[15], U1 = Q1 + ye, Ui = os + Ke, Lo = jn + Sr, xo = Rn + $e, wo = Q1 + ze, Gi = os + gr, m1 = new T((jn + Ft) / Ui, (Rn + re) / Ui);
16284
16284
  m1.z = U1 / Ui, er.push(m1);
16285
16285
  const so = new T(Lo / Gi, xo / Gi);
16286
16286
  so.z = wo / Gi, ae.push(so);
@@ -16421,10 +16421,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16421
16421
  }
16422
16422
  }
16423
16423
  const $e = st && ct;
16424
- let je = $e ? g : O ? "butt" : x;
16425
- if ($e && je === "round" && (re < A ? je = "miter" : re <= 2 && (je = "fakeround")), je === "miter" && re > H && (je = "bevel"), je === "bevel" && (re > 2 && (je = "flipbevel"), re < H && (je = "miter")), st && this.updateDistance(st, tt), je === "miter")
16424
+ let ze = $e ? g : O ? "butt" : x;
16425
+ if ($e && ze === "round" && (re < A ? ze = "miter" : re <= 2 && (ze = "fakeround")), ze === "miter" && re > H && (ze = "bevel"), ze === "bevel" && (re > 2 && (ze = "flipbevel"), re < H && (ze = "miter")), st && this.updateDistance(st, tt), ze === "miter")
16426
16426
  $t._mult(re), this.addCurrentVertex(tt, $t, 0, 0, X);
16427
- else if (je === "flipbevel") {
16427
+ else if (ze === "flipbevel") {
16428
16428
  if (re > 100)
16429
16429
  $t = Lt.mult(-1);
16430
16430
  else {
@@ -16432,9 +16432,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16432
16432
  $t._perp()._mult(gr * (Sr ? -1 : 1));
16433
16433
  }
16434
16434
  this.addCurrentVertex(tt, $t, 0, 0, X), this.addCurrentVertex(tt, $t.mult(-1), 0, 0, X);
16435
- } else if (je === "bevel" || je === "fakeround") {
16435
+ } else if (ze === "bevel" || ze === "fakeround") {
16436
16436
  const gr = -Math.sqrt(re * re - 1), lr = Sr ? gr : 0, er = Sr ? 0 : gr;
16437
- if (st && this.addCurrentVertex(tt, Tt, lr, er, X), je === "fakeround") {
16437
+ if (st && this.addCurrentVertex(tt, Tt, lr, er, X), ze === "fakeround") {
16438
16438
  const ae = Math.round(180 * ye / Math.PI / 20);
16439
16439
  for (let _r = 1; _r < ae; _r++) {
16440
16440
  let mr = _r / ae;
@@ -16447,13 +16447,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16447
16447
  }
16448
16448
  }
16449
16449
  ct && this.addCurrentVertex(tt, Lt, -lr, -er, X);
16450
- } else if (je === "butt")
16450
+ } else if (ze === "butt")
16451
16451
  this.addCurrentVertex(tt, $t, 0, 0, X);
16452
- else if (je === "square") {
16452
+ else if (ze === "square") {
16453
16453
  const gr = st ? 1 : -1;
16454
16454
  this.addCurrentVertex(tt, $t, gr, gr, X);
16455
16455
  } else
16456
- je === "round" && (st && (this.addCurrentVertex(tt, Tt, 0, 0, X), this.addCurrentVertex(tt, Tt, 1, 1, X, !0)), ct && (this.addCurrentVertex(tt, Lt, -1, -1, X, !0), this.addCurrentVertex(tt, Lt, 0, 0, X)));
16456
+ ze === "round" && (st && (this.addCurrentVertex(tt, Tt, 0, 0, X), this.addCurrentVertex(tt, Tt, 1, 1, X, !0)), ct && (this.addCurrentVertex(tt, Lt, -1, -1, X, !0), this.addCurrentVertex(tt, Lt, 0, 0, X)));
16457
16457
  if (Ke && St < R - 1) {
16458
16458
  const gr = tt.dist(ct);
16459
16459
  if (gr > 2 * W) {
@@ -17108,12 +17108,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17108
17108
  Lt = function(re, ye) {
17109
17109
  const Ke = [], Sr = re.text;
17110
17110
  let $e = 0;
17111
- for (const je of ye)
17112
- Ke.push(re.substring($e, je)), $e = je;
17111
+ for (const ze of ye)
17112
+ Ke.push(re.substring($e, ze)), $e = ze;
17113
17113
  return $e < Sr.length && Ke.push(re.substring($e, Sr.length)), Ke;
17114
17114
  }(Tt, O_(Tt, j, H, l, g, st));
17115
17115
  const kt = [], Ft = { positionedLines: kt, text: Tt.toString(), top: W[1], bottom: W[1], left: W[0], right: W[0], writingMode: X, iconsInText: !1, verticalizable: !1 };
17116
- return function(re, ye, Ke, Sr, $e, je, gr, lr, er, ae, _r, mr) {
17116
+ return function(re, ye, Ke, Sr, $e, ze, gr, lr, er, ae, _r, mr) {
17117
17117
  let Rr = 0, jn = Tc, Rn = 0, Q1 = 0;
17118
17118
  const os = lr === "right" ? 1 : lr === "left" ? 0 : 0.5;
17119
17119
  let U1 = 0;
@@ -17124,7 +17124,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17124
17124
  const Eo = G1.positionedGlyphs;
17125
17125
  let $1 = 0;
17126
17126
  if (!Gi.length()) {
17127
- jn += je, ++U1;
17127
+ jn += ze, ++U1;
17128
17128
  continue;
17129
17129
  }
17130
17130
  for (let Zo = 0; Zo < Gi.length(); Zo++) {
@@ -17155,7 +17155,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17155
17155
  ss ? (re.verticalizable = !0, Eo.push({ glyph: ui, imageName: Ma, x: Rr, y: jn + c2, vertical: ss, scale: mn.scale, fontStack: mn.fontStack, sectionIndex: qn, metrics: ki, rect: El }), Rr += Sa * mn.scale + ae) : (Eo.push({ glyph: ui, imageName: Ma, x: Rr, y: jn + c2, vertical: ss, scale: mn.scale, fontStack: mn.fontStack, sectionIndex: qn, metrics: ki, rect: El }), Rr += ki.advance * mn.scale + ae);
17156
17156
  }
17157
17157
  Eo.length !== 0 && (Rn = Math.max(Rr - ae, Rn), ett(Eo, 0, Eo.length - 1, os, $1)), Rr = 0;
17158
- const H2 = je * m1 + $1;
17158
+ const H2 = ze * m1 + $1;
17159
17159
  G1.lineOffset = Math.max($1, so), jn += H2, Q1 = Math.max(H2, Q1), ++U1;
17160
17160
  }
17161
17161
  var Ui;
@@ -17167,7 +17167,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17167
17167
  for (const c2 of Gi)
17168
17168
  for (const ki of c2.positionedGlyphs)
17169
17169
  ki.x += qn, ki.y += ui;
17170
- })(re.positionedLines, os, xo, wo, Rn, Q1, je, Lo, $e.length), re.top += -wo * Lo, re.bottom = re.top + Lo, re.left += -xo * Rn, re.right = re.left + Rn;
17170
+ })(re.positionedLines, os, xo, wo, Rn, Q1, ze, Lo, $e.length), re.top += -wo * Lo, re.bottom = re.top + Lo, re.left += -xo * Rn, re.right = re.left + Rn;
17171
17171
  }(Ft, l, p, g, Lt, A, O, R, X, j, tt, ct), !function(re) {
17172
17172
  for (const ye of re)
17173
17173
  if (ye.positionedGlyphs.length !== 0)
@@ -17388,8 +17388,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17388
17388
  continue;
17389
17389
  let ye, Ke;
17390
17390
  if (Ft || (re.geometry = M0(Lt)), j) {
17391
- const $e = x.getValueAndResolveTokens("text-field", re, g, ct), je = Yr.factory($e), gr = this.hasRTLText = this.hasRTLText || ott(je);
17392
- (!gr || La.getRTLTextPluginStatus() === "unavailable" || gr && La.isParsed()) && (ye = NJ(je, x, re));
17391
+ const $e = x.getValueAndResolveTokens("text-field", re, g, ct), ze = Yr.factory($e), gr = this.hasRTLText = this.hasRTLText || ott(ze);
17392
+ (!gr || La.getRTLTextPluginStatus() === "unavailable" || gr && La.isParsed()) && (ye = NJ(ze, x, re));
17393
17393
  }
17394
17394
  if (W) {
17395
17395
  const $e = x.getValueAndResolveTokens("icon-image", re, g, ct);
@@ -17399,14 +17399,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17399
17399
  continue;
17400
17400
  const Sr = this.sortFeaturesByKey ? X.evaluate(re, {}, g) : void 0;
17401
17401
  if (this.features.push({ id: St, text: ye, icon: Ke, index: $t, sourceLayerIndex: kt, geometry: re.geometry, properties: Lt.properties, type: ntt[Lt.type], sortKey: Sr }), Ke && (tt[Ke.name] = !0), ye) {
17402
- const $e = A.evaluate(re, {}, g).join(","), je = H.get("text-rotation-alignment") !== "viewport" && H.get("symbol-placement") !== "point";
17402
+ const $e = A.evaluate(re, {}, g).join(","), ze = H.get("text-rotation-alignment") !== "viewport" && H.get("symbol-placement") !== "point";
17403
17403
  this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(s.ai.vertical) >= 0;
17404
17404
  for (const gr of ye.sections)
17405
17405
  if (gr.image)
17406
17406
  tt[gr.image.name] = !0;
17407
17407
  else {
17408
17408
  const lr = X8(ye.toString()), er = gr.fontStack || $e, ae = st[er] = st[er] || {};
17409
- this.calculateGlyphDependencies(gr.text, ae, je, this.allowVerticalPlacement, lr);
17409
+ this.calculateGlyphDependencies(gr.text, ae, ze, this.allowVerticalPlacement, lr);
17410
17410
  }
17411
17411
  }
17412
17412
  }
@@ -17416,20 +17416,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17416
17416
  function re($e) {
17417
17417
  kt.push(Lt[$e]), Ft++;
17418
17418
  }
17419
- function ye($e, je, gr) {
17419
+ function ye($e, ze, gr) {
17420
17420
  const lr = $t[$e];
17421
- return delete $t[$e], $t[je] = lr, kt[lr].geometry[0].pop(), kt[lr].geometry[0] = kt[lr].geometry[0].concat(gr[0]), lr;
17421
+ return delete $t[$e], $t[ze] = lr, kt[lr].geometry[0].pop(), kt[lr].geometry[0] = kt[lr].geometry[0].concat(gr[0]), lr;
17422
17422
  }
17423
- function Ke($e, je, gr) {
17424
- const lr = St[je];
17425
- return delete St[je], St[$e] = lr, kt[lr].geometry[0].shift(), kt[lr].geometry[0] = gr[0].concat(kt[lr].geometry[0]), lr;
17423
+ function Ke($e, ze, gr) {
17424
+ const lr = St[ze];
17425
+ return delete St[ze], St[$e] = lr, kt[lr].geometry[0].shift(), kt[lr].geometry[0] = gr[0].concat(kt[lr].geometry[0]), lr;
17426
17426
  }
17427
- function Sr($e, je, gr) {
17428
- const lr = gr ? je[0][je[0].length - 1] : je[0][0];
17427
+ function Sr($e, ze, gr) {
17428
+ const lr = gr ? ze[0][ze[0].length - 1] : ze[0][0];
17429
17429
  return `${$e}:${lr.x}:${lr.y}`;
17430
17430
  }
17431
17431
  for (let $e = 0; $e < Lt.length; $e++) {
17432
- const je = Lt[$e], gr = je.geometry, lr = je.text ? je.text.toString() : null;
17432
+ const ze = Lt[$e], gr = ze.geometry, lr = ze.text ? ze.text.toString() : null;
17433
17433
  if (!lr) {
17434
17434
  re($e);
17435
17435
  continue;
@@ -17481,8 +17481,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17481
17481
  addSymbols(l, p, g, x, H, A, O, R, j, W, X, tt) {
17482
17482
  const st = l.indexArray, ct = l.layoutVertexArray, Tt = l.segments.prepareSegment(4 * p.length, ct, st, this.canOverlap ? A.sortKey : void 0), Lt = this.glyphOffsetArray.length, St = Tt.vertexLength, $t = this.allowVerticalPlacement && O === s.ai.vertical ? Math.PI / 2 : 0, kt = A.text && A.text.sections;
17483
17483
  for (let Ft = 0; Ft < p.length; Ft++) {
17484
- const { tl: re, tr: ye, bl: Ke, br: Sr, tex: $e, pixelOffsetTL: je, pixelOffsetBR: gr, minFontScaleX: lr, minFontScaleY: er, glyphOffset: ae, isSDF: _r, sectionIndex: mr } = p[Ft], Rr = Tt.vertexLength, jn = ae[1];
17485
- tp(ct, R.x, R.y, re.x, jn + re.y, $e.x, $e.y, g, _r, je.x, je.y, lr, er), tp(ct, R.x, R.y, ye.x, jn + ye.y, $e.x + $e.w, $e.y, g, _r, gr.x, je.y, lr, er), tp(ct, R.x, R.y, Ke.x, jn + Ke.y, $e.x, $e.y + $e.h, g, _r, je.x, gr.y, lr, er), tp(ct, R.x, R.y, Sr.x, jn + Sr.y, $e.x + $e.w, $e.y + $e.h, g, _r, gr.x, gr.y, lr, er), k_(l.dynamicLayoutVertexArray, R, $t), st.emplaceBack(Rr, Rr + 1, Rr + 2), st.emplaceBack(Rr + 1, Rr + 2, Rr + 3), Tt.vertexLength += 4, Tt.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(ae[0]), Ft !== p.length - 1 && mr === p[Ft + 1].sectionIndex || l.programConfigurations.populatePaintArrays(ct.length, A, A.index, {}, tt, kt && kt[mr]);
17484
+ const { tl: re, tr: ye, bl: Ke, br: Sr, tex: $e, pixelOffsetTL: ze, pixelOffsetBR: gr, minFontScaleX: lr, minFontScaleY: er, glyphOffset: ae, isSDF: _r, sectionIndex: mr } = p[Ft], Rr = Tt.vertexLength, jn = ae[1];
17485
+ tp(ct, R.x, R.y, re.x, jn + re.y, $e.x, $e.y, g, _r, ze.x, ze.y, lr, er), tp(ct, R.x, R.y, ye.x, jn + ye.y, $e.x + $e.w, $e.y, g, _r, gr.x, ze.y, lr, er), tp(ct, R.x, R.y, Ke.x, jn + Ke.y, $e.x, $e.y + $e.h, g, _r, ze.x, gr.y, lr, er), tp(ct, R.x, R.y, Sr.x, jn + Sr.y, $e.x + $e.w, $e.y + $e.h, g, _r, gr.x, gr.y, lr, er), k_(l.dynamicLayoutVertexArray, R, $t), st.emplaceBack(Rr, Rr + 1, Rr + 2), st.emplaceBack(Rr + 1, Rr + 2, Rr + 3), Tt.vertexLength += 4, Tt.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(ae[0]), Ft !== p.length - 1 && mr === p[Ft + 1].sectionIndex || l.programConfigurations.populatePaintArrays(ct.length, A, A.index, {}, tt, kt && kt[mr]);
17486
17486
  }
17487
17487
  l.placedSymbolArray.emplaceBack(R.x, R.y, Lt, this.glyphOffsetArray.length - Lt, St, j, W, R.segment, g ? g[0] : 0, g ? g[1] : 0, x[0], x[1], O, 0, !1, 0, X);
17488
17488
  }
@@ -18039,17 +18039,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18039
18039
  query(l, p, g, x) {
18040
18040
  this.loadVTLayers();
18041
18041
  const H = l.params || {}, A = Yi / l.tileSize / l.scale, O = w1(H.filter), R = l.queryGeometry, j = l.queryPadding * A, W = IC(R), X = this.grid.query(W.minX - j, W.minY - j, W.maxX + j, W.maxY + j), tt = IC(l.cameraQueryGeometry), st = this.grid3D.query(tt.minX - j, tt.minY - j, tt.maxX + j, tt.maxY + j, (Lt, St, $t, kt) => function(Ft, re, ye, Ke, Sr) {
18042
- for (const je of Ft)
18043
- if (re <= je.x && ye <= je.y && Ke >= je.x && Sr >= je.y)
18042
+ for (const ze of Ft)
18043
+ if (re <= ze.x && ye <= ze.y && Ke >= ze.x && Sr >= ze.y)
18044
18044
  return !0;
18045
18045
  const $e = [new T(re, ye), new T(re, Sr), new T(Ke, Sr), new T(Ke, ye)];
18046
18046
  if (Ft.length > 2) {
18047
- for (const je of $e)
18048
- if (ml(Ft, je))
18047
+ for (const ze of $e)
18048
+ if (ml(Ft, ze))
18049
18049
  return !0;
18050
18050
  }
18051
- for (let je = 0; je < Ft.length - 1; je++)
18052
- if (UY(Ft[je], Ft[je + 1], $e))
18051
+ for (let ze = 0; ze < Ft.length - 1; ze++)
18052
+ if (UY(Ft[ze], Ft[ze + 1], $e))
18053
18053
  return !0;
18054
18054
  return !1;
18055
18055
  }(l.cameraQueryGeometry, Lt - j, St - j, $t + j, kt + j));
@@ -18244,8 +18244,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18244
18244
  const ae = H.content, _r = ae[2] - ae[0], mr = ae[3] - ae[1];
18245
18245
  (H.textFitWidth || H.textFitHeight) && (j = fC(h)), St = np(W, 0, ae[0]), kt = np(X, 0, ae[1]), $t = np(W, ae[0], ae[2]), Ft = np(X, ae[1], ae[3]), re = ae[0] - St, Ke = ae[1] - kt, ye = _r - $t, Sr = mr - Ft;
18246
18246
  }
18247
- const $e = j.x1, je = j.y1, gr = j.x2 - $e, lr = j.y2 - je, er = (ae, _r, mr, Rr) => {
18248
- const jn = ip(ae.stretch - St, $t, gr, $e), Rn = op(ae.fixed - re, ye, ae.stretch, st), Q1 = ip(_r.stretch - kt, Ft, lr, je), os = op(_r.fixed - Ke, Sr, _r.stretch, ct), U1 = ip(mr.stretch - St, $t, gr, $e), Ui = op(mr.fixed - re, ye, mr.stretch, st), Lo = ip(Rr.stretch - kt, Ft, lr, je), xo = op(Rr.fixed - Ke, Sr, Rr.stretch, ct), wo = new T(jn, Q1), Gi = new T(U1, Q1), m1 = new T(U1, Lo), so = new T(jn, Lo), G1 = new T(Rn / A, os / A), Eo = new T(Ui / A, xo / A), $1 = l * Math.PI / 180;
18247
+ const $e = j.x1, ze = j.y1, gr = j.x2 - $e, lr = j.y2 - ze, er = (ae, _r, mr, Rr) => {
18248
+ const jn = ip(ae.stretch - St, $t, gr, $e), Rn = op(ae.fixed - re, ye, ae.stretch, st), Q1 = ip(_r.stretch - kt, Ft, lr, ze), os = op(_r.fixed - Ke, Sr, _r.stretch, ct), U1 = ip(mr.stretch - St, $t, gr, $e), Ui = op(mr.fixed - re, ye, mr.stretch, st), Lo = ip(Rr.stretch - kt, Ft, lr, ze), xo = op(Rr.fixed - Ke, Sr, Rr.stretch, ct), wo = new T(jn, Q1), Gi = new T(U1, Q1), m1 = new T(U1, Lo), so = new T(jn, Lo), G1 = new T(Rn / A, os / A), Eo = new T(Ui / A, xo / A), $1 = l * Math.PI / 180;
18249
18249
  if ($1) {
18250
18250
  const mn = Math.sin($1), qn = Math.cos($1), ui = [qn, -mn, mn, qn];
18251
18251
  wo._matMult(ui), Gi._matMult(ui), so._matMult(ui), m1._matMult(ui);
@@ -18499,7 +18499,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18499
18499
  const tt = h.layers[0].layout, st = tt.get("icon-offset").evaluate(l, {}, W), ct = $C(p.horizontal), Tt = A / 24, Lt = h.tilePixelRatio * Tt, St = h.tilePixelRatio * X / 24, $t = h.tilePixelRatio * O, kt = h.tilePixelRatio * tt.get("symbol-spacing"), Ft = tt.get("text-padding") * h.tilePixelRatio, re = function(ae, _r, mr, Rr = 1) {
18500
18500
  const jn = ae.get("icon-padding").evaluate(_r, {}, mr), Rn = jn && jn.values;
18501
18501
  return [Rn[0] * Rr, Rn[1] * Rr, Rn[2] * Rr, Rn[3] * Rr];
18502
- }(tt, l, W, h.tilePixelRatio), ye = tt.get("text-max-angle") / 180 * Math.PI, Ke = tt.get("text-rotation-alignment") !== "viewport" && tt.get("symbol-placement") !== "point", Sr = tt.get("icon-rotation-alignment") === "map" && tt.get("symbol-placement") !== "point", $e = tt.get("symbol-placement"), je = kt / 2, gr = tt.get("icon-text-fit");
18502
+ }(tt, l, W, h.tilePixelRatio), ye = tt.get("text-max-angle") / 180 * Math.PI, Ke = tt.get("text-rotation-alignment") !== "viewport" && tt.get("symbol-placement") !== "point", Sr = tt.get("icon-rotation-alignment") === "map" && tt.get("symbol-placement") !== "point", $e = tt.get("symbol-placement"), ze = kt / 2, gr = tt.get("icon-text-fit");
18503
18503
  let lr;
18504
18504
  g && gr !== "none" && (h.allowVerticalPlacement && p.vertical && (lr = TC(g, p.vertical, gr, tt.get("icon-text-fit-padding"), st, Tt)), ct && (g = TC(g, ct, gr, tt.get("icon-text-fit-padding"), st, Tt)));
18505
18505
  const er = (ae, _r) => {
@@ -18554,7 +18554,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18554
18554
  for (const ae of kC(l.geometry, 0, 0, Yi, Yi)) {
18555
18555
  const _r = ftt(ae, kt, ye, p.vertical || ct, g, 24, St, h.overscaling, Yi);
18556
18556
  for (const mr of _r)
18557
- ct && ytt(h, ct.text, je, mr) || er(ae, mr);
18557
+ ct && ytt(h, ct.text, ze, mr) || er(ae, mr);
18558
18558
  }
18559
18559
  else if ($e === "line-center") {
18560
18560
  for (const ae of l.geometry)
@@ -18577,7 +18577,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18577
18577
  }
18578
18578
  function GC(h, l, p, g, x, H, A, O, R, j, W, X, tt, st, ct) {
18579
18579
  const Tt = function($t, kt, Ft, re, ye, Ke, Sr, $e) {
18580
- const je = re.layout.get("text-rotate").evaluate(Ke, {}) * Math.PI / 180, gr = [];
18580
+ const ze = re.layout.get("text-rotate").evaluate(Ke, {}) * Math.PI / 180, gr = [];
18581
18581
  for (const lr of kt.positionedLines)
18582
18582
  for (const er of lr.positionedGlyphs) {
18583
18583
  if (!er.rect)
@@ -18597,8 +18597,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18597
18597
  const mn = new T(-Q1, Q1 - Tc), qn = -Math.PI / 2, ui = c1 / 2 - Q1, c2 = new T(5 - Tc - ui, -(er.imageName ? ui : 0)), ki = new T(...Ui);
18598
18598
  so._rotateAround(qn, mn)._add(c2)._add(ki), G1._rotateAround(qn, mn)._add(c2)._add(ki), Eo._rotateAround(qn, mn)._add(c2)._add(ki), $1._rotateAround(qn, mn)._add(c2)._add(ki);
18599
18599
  }
18600
- if (je) {
18601
- const mn = Math.sin(je), qn = Math.cos(je), ui = [qn, -mn, mn, qn];
18600
+ if (ze) {
18601
+ const mn = Math.sin(ze), qn = Math.cos(ze), ui = [qn, -mn, mn, qn];
18602
18602
  so._matMult(ui), G1._matMult(ui), Eo._matMult(ui), $1._matMult(ui);
18603
18603
  }
18604
18604
  const H2 = new T(0, 0), Zo = new T(0, 0);
@@ -18843,8 +18843,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18843
18843
  }
18844
18844
  return p;
18845
18845
  }, s.N = e6, s.O = xC, s.P = T, s.Q = wC, s.R = M2, s.S = S2, s.T = $4, s.U = w, s.V = C, s.W = Dr, s.X = Yi, s.Y = Z, s.Z = rp, s._ = a, s.a = tr, s.a$ = function(h, l) {
18846
- var p = h[0], g = h[1], x = h[2], H = h[3], A = h[4], O = h[5], R = h[6], j = h[7], W = h[8], X = h[9], tt = h[10], st = h[11], ct = h[12], Tt = h[13], Lt = h[14], St = h[15], $t = l[0], kt = l[1], Ft = l[2], re = l[3], ye = l[4], Ke = l[5], Sr = l[6], $e = l[7], je = l[8], gr = l[9], lr = l[10], er = l[11], ae = l[12], _r = l[13], mr = l[14], Rr = l[15];
18847
- return Math.abs(p - $t) <= bo * Math.max(1, Math.abs(p), Math.abs($t)) && Math.abs(g - kt) <= bo * Math.max(1, Math.abs(g), Math.abs(kt)) && Math.abs(x - Ft) <= bo * Math.max(1, Math.abs(x), Math.abs(Ft)) && Math.abs(H - re) <= bo * Math.max(1, Math.abs(H), Math.abs(re)) && Math.abs(A - ye) <= bo * Math.max(1, Math.abs(A), Math.abs(ye)) && Math.abs(O - Ke) <= bo * Math.max(1, Math.abs(O), Math.abs(Ke)) && Math.abs(R - Sr) <= bo * Math.max(1, Math.abs(R), Math.abs(Sr)) && Math.abs(j - $e) <= bo * Math.max(1, Math.abs(j), Math.abs($e)) && Math.abs(W - je) <= bo * Math.max(1, Math.abs(W), Math.abs(je)) && Math.abs(X - gr) <= bo * Math.max(1, Math.abs(X), Math.abs(gr)) && Math.abs(tt - lr) <= bo * Math.max(1, Math.abs(tt), Math.abs(lr)) && Math.abs(st - er) <= bo * Math.max(1, Math.abs(st), Math.abs(er)) && Math.abs(ct - ae) <= bo * Math.max(1, Math.abs(ct), Math.abs(ae)) && Math.abs(Tt - _r) <= bo * Math.max(1, Math.abs(Tt), Math.abs(_r)) && Math.abs(Lt - mr) <= bo * Math.max(1, Math.abs(Lt), Math.abs(mr)) && Math.abs(St - Rr) <= bo * Math.max(1, Math.abs(St), Math.abs(Rr));
18846
+ var p = h[0], g = h[1], x = h[2], H = h[3], A = h[4], O = h[5], R = h[6], j = h[7], W = h[8], X = h[9], tt = h[10], st = h[11], ct = h[12], Tt = h[13], Lt = h[14], St = h[15], $t = l[0], kt = l[1], Ft = l[2], re = l[3], ye = l[4], Ke = l[5], Sr = l[6], $e = l[7], ze = l[8], gr = l[9], lr = l[10], er = l[11], ae = l[12], _r = l[13], mr = l[14], Rr = l[15];
18847
+ return Math.abs(p - $t) <= bo * Math.max(1, Math.abs(p), Math.abs($t)) && Math.abs(g - kt) <= bo * Math.max(1, Math.abs(g), Math.abs(kt)) && Math.abs(x - Ft) <= bo * Math.max(1, Math.abs(x), Math.abs(Ft)) && Math.abs(H - re) <= bo * Math.max(1, Math.abs(H), Math.abs(re)) && Math.abs(A - ye) <= bo * Math.max(1, Math.abs(A), Math.abs(ye)) && Math.abs(O - Ke) <= bo * Math.max(1, Math.abs(O), Math.abs(Ke)) && Math.abs(R - Sr) <= bo * Math.max(1, Math.abs(R), Math.abs(Sr)) && Math.abs(j - $e) <= bo * Math.max(1, Math.abs(j), Math.abs($e)) && Math.abs(W - ze) <= bo * Math.max(1, Math.abs(W), Math.abs(ze)) && Math.abs(X - gr) <= bo * Math.max(1, Math.abs(X), Math.abs(gr)) && Math.abs(tt - lr) <= bo * Math.max(1, Math.abs(tt), Math.abs(lr)) && Math.abs(st - er) <= bo * Math.max(1, Math.abs(st), Math.abs(er)) && Math.abs(ct - ae) <= bo * Math.max(1, Math.abs(ct), Math.abs(ae)) && Math.abs(Tt - _r) <= bo * Math.max(1, Math.abs(Tt), Math.abs(_r)) && Math.abs(Lt - mr) <= bo * Math.max(1, Math.abs(Lt), Math.abs(mr)) && Math.abs(St - Rr) <= bo * Math.max(1, Math.abs(St), Math.abs(Rr));
18848
18848
  }, s.a0 = l1, s.a1 = B_, s.a2 = Te, s.a3 = (h) => {
18849
18849
  const l = window.document.createElement("video");
18850
18850
  return l.muted = !0, new Promise((p) => {
@@ -19039,8 +19039,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19039
19039
  l = Math.min(l, H.x), p = Math.min(p, H.y), g = Math.max(g, H.x), x = Math.max(x, H.y);
19040
19040
  return [l, p, g, x];
19041
19041
  }, s.aq = c1, s.as = I_, s.at = function(h, l) {
19042
- var p = l[0], g = l[1], x = l[2], H = l[3], A = l[4], O = l[5], R = l[6], j = l[7], W = l[8], X = l[9], tt = l[10], st = l[11], ct = l[12], Tt = l[13], Lt = l[14], St = l[15], $t = p * O - g * A, kt = p * R - x * A, Ft = p * j - H * A, re = g * R - x * O, ye = g * j - H * O, Ke = x * j - H * R, Sr = W * Tt - X * ct, $e = W * Lt - tt * ct, je = W * St - st * ct, gr = X * Lt - tt * Tt, lr = X * St - st * Tt, er = tt * St - st * Lt, ae = $t * er - kt * lr + Ft * gr + re * je - ye * $e + Ke * Sr;
19043
- return ae ? (h[0] = (O * er - R * lr + j * gr) * (ae = 1 / ae), h[1] = (x * lr - g * er - H * gr) * ae, h[2] = (Tt * Ke - Lt * ye + St * re) * ae, h[3] = (tt * ye - X * Ke - st * re) * ae, h[4] = (R * je - A * er - j * $e) * ae, h[5] = (p * er - x * je + H * $e) * ae, h[6] = (Lt * Ft - ct * Ke - St * kt) * ae, h[7] = (W * Ke - tt * Ft + st * kt) * ae, h[8] = (A * lr - O * je + j * Sr) * ae, h[9] = (g * je - p * lr - H * Sr) * ae, h[10] = (ct * ye - Tt * Ft + St * $t) * ae, h[11] = (X * Ft - W * ye - st * $t) * ae, h[12] = (O * $e - A * gr - R * Sr) * ae, h[13] = (p * gr - g * $e + x * Sr) * ae, h[14] = (Tt * kt - ct * re - Lt * $t) * ae, h[15] = (W * re - X * kt + tt * $t) * ae, h) : null;
19042
+ var p = l[0], g = l[1], x = l[2], H = l[3], A = l[4], O = l[5], R = l[6], j = l[7], W = l[8], X = l[9], tt = l[10], st = l[11], ct = l[12], Tt = l[13], Lt = l[14], St = l[15], $t = p * O - g * A, kt = p * R - x * A, Ft = p * j - H * A, re = g * R - x * O, ye = g * j - H * O, Ke = x * j - H * R, Sr = W * Tt - X * ct, $e = W * Lt - tt * ct, ze = W * St - st * ct, gr = X * Lt - tt * Tt, lr = X * St - st * Tt, er = tt * St - st * Lt, ae = $t * er - kt * lr + Ft * gr + re * ze - ye * $e + Ke * Sr;
19043
+ return ae ? (h[0] = (O * er - R * lr + j * gr) * (ae = 1 / ae), h[1] = (x * lr - g * er - H * gr) * ae, h[2] = (Tt * Ke - Lt * ye + St * re) * ae, h[3] = (tt * ye - X * Ke - st * re) * ae, h[4] = (R * ze - A * er - j * $e) * ae, h[5] = (p * er - x * ze + H * $e) * ae, h[6] = (Lt * Ft - ct * Ke - St * kt) * ae, h[7] = (W * Ke - tt * Ft + st * kt) * ae, h[8] = (A * lr - O * ze + j * Sr) * ae, h[9] = (g * ze - p * lr - H * Sr) * ae, h[10] = (ct * ye - Tt * Ft + St * $t) * ae, h[11] = (X * Ft - W * ye - st * $t) * ae, h[12] = (O * $e - A * gr - R * Sr) * ae, h[13] = (p * gr - g * $e + x * Sr) * ae, h[14] = (Tt * kt - ct * re - Lt * $t) * ae, h[15] = (W * re - X * kt + tt * $t) * ae, h) : null;
19044
19044
  }, s.au = z_, s.av = P_, s.aw = U_, s.ax = function() {
19045
19045
  const h = {}, l = Ot.$version;
19046
19046
  for (const p in Ot.$root) {
@@ -19108,8 +19108,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19108
19108
  St = lr ? zC(Ke, [lr * c1, j_]) : p.get("text-offset").evaluate(j, {}, h.canonical).map((er) => er * c1);
19109
19109
  }
19110
19110
  let $e = A ? "center" : p.get("text-justify").evaluate(j, {}, h.canonical);
19111
- const je = p.get("symbol-placement") === "point" ? p.get("text-max-width").evaluate(j, {}, h.canonical) * c1 : 1 / 0, gr = () => {
19112
- h.bucket.allowVerticalPlacement && X8(Ft) && (ct.vertical = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, je, H, Ke, "left", ye, St, s.ai.vertical, !0, tt, X));
19111
+ const ze = p.get("symbol-placement") === "point" ? p.get("text-max-width").evaluate(j, {}, h.canonical) * c1 : 1 / 0, gr = () => {
19112
+ h.bucket.allowVerticalPlacement && X8(Ft) && (ct.vertical = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, ze, H, Ke, "left", ye, St, s.ai.vertical, !0, tt, X));
19113
19113
  };
19114
19114
  if (!A && Sr) {
19115
19115
  const lr = /* @__PURE__ */ new Set();
@@ -19124,14 +19124,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19124
19124
  if (er)
19125
19125
  ct.horizontal[ae] = ct.horizontal[0];
19126
19126
  else {
19127
- const _r = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, je, H, "center", ae, ye, St, s.ai.horizontal, !1, tt, X);
19127
+ const _r = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, ze, H, "center", ae, ye, St, s.ai.horizontal, !1, tt, X);
19128
19128
  _r && (ct.horizontal[ae] = _r, er = _r.positionedLines.length === 1);
19129
19129
  }
19130
19130
  gr();
19131
19131
  } else {
19132
19132
  $e === "auto" && ($e = z_(Ke));
19133
- const lr = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, je, H, Ke, $e, ye, St, s.ai.horizontal, !1, tt, X);
19134
- lr && (ct.horizontal[$e] = lr), gr(), X8(Ft) && A && O && (ct.vertical = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, je, H, Ke, $e, ye, St, s.ai.vertical, !1, tt, X));
19133
+ const lr = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, ze, H, Ke, $e, ye, St, s.ai.horizontal, !1, tt, X);
19134
+ lr && (ct.horizontal[$e] = lr), gr(), X8(Ft) && A && O && (ct.vertical = Yd(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, ze, H, Ke, $e, ye, St, s.ai.vertical, !1, tt, X));
19135
19135
  }
19136
19136
  }
19137
19137
  let $t = !1;
@@ -19184,7 +19184,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19184
19184
  }, g.onerror = () => p(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."));
19185
19185
  const x = new Blob([new Uint8Array(h)], { type: "image/png" });
19186
19186
  g.src = h.byteLength ? URL.createObjectURL(x) : ir;
19187
- }), s.g = Je, s.h = (h, l) => Qe(z(h, { type: "json" }), l), s.i = ie, s.j = Ue, s.k = Be, s.l = (h, l) => Qe(z(h, { type: "arrayBuffer" }), l), s.m = Qe, s.n = function(h) {
19187
+ }), s.g = Je, s.h = (h, l) => Qe(z(h, { type: "json" }), l), s.i = ie, s.j = Ue, s.k = je, s.l = (h, l) => Qe(z(h, { type: "arrayBuffer" }), l), s.m = Qe, s.n = function(h) {
19188
19188
  return new H_(h).readFields(qJ, []);
19189
19189
  }, s.o = lc, s.p = lC, s.q = _, s.r = a_, s.s = le, s.t = W8, s.u = We, s.v = Ot, s.w = It, s.x = Ns, s.y = function([h, l, p]) {
19190
19190
  return l += 90, l *= Math.PI / 180, p *= Math.PI / 180, { x: h * Math.cos(l) * Math.sin(p), y: h * Math.sin(l) * Math.sin(p), z: h * Math.cos(p) };
@@ -19743,18 +19743,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19743
19743
  function cr(xt, it, ot, ut) {
19744
19744
  const _t = { id: xt ?? null, type: it, geometry: ot, tags: ut, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
19745
19745
  if (it === "Point" || it === "MultiPoint" || it === "LineString")
19746
- Be(_t, ot);
19746
+ je(_t, ot);
19747
19747
  else if (it === "Polygon")
19748
- Be(_t, ot[0]);
19748
+ je(_t, ot[0]);
19749
19749
  else if (it === "MultiLineString")
19750
19750
  for (const Ct of ot)
19751
- Be(_t, Ct);
19751
+ je(_t, Ct);
19752
19752
  else if (it === "MultiPolygon")
19753
19753
  for (const Ct of ot)
19754
- Be(_t, Ct[0]);
19754
+ je(_t, Ct[0]);
19755
19755
  return _t;
19756
19756
  }
19757
- function Be(xt, it) {
19757
+ function je(xt, it) {
19758
19758
  for (let ot = 0; ot < it.length; ot += 3)
19759
19759
  xt.minX = Math.min(xt.minX, it[ot]), xt.minY = Math.min(xt.minY, it[ot + 1]), xt.maxX = Math.max(xt.maxX, it[ot]), xt.maxY = Math.max(xt.maxY, it[ot + 1]);
19760
19760
  }
@@ -21077,7 +21077,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
21077
21077
  const m = a.H();
21078
21078
  return a.J(m, m, [1, 1, 0]), a.K(m, m, [0.5 * S.width, 0.5 * S.height, 1]), a.L(m, m, S.calculatePosMatrix(c.toUnwrapped()));
21079
21079
  }
21080
- function Be(S, c, m, _, L, M) {
21080
+ function je(S, c, m, _, L, M) {
21081
21081
  const V = function(Y, lt, ft) {
21082
21082
  if (Y)
21083
21083
  for (const Qt of Y) {
@@ -22822,12 +22822,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22822
22822
  const Mt = [], Pt = new a.P(m.anchorX, m.anchorY), yt = this.getPerspectiveRatio(V, Pt.x, Pt.y, D, bt), Rt = (Y ? M / yt : M * yt) / a.aq, Ut = { getElevation: bt, labelPlaneMatrix: U, lineVertexArray: _, pitchWithMap: Y, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, projection: this.mapProjection, tileAnchorPoint: Pt, unwrappedTileID: D, width: this.transform.width, height: this.transform.height, translation: wt }, Kt = _t(Rt, L, m.lineOffsetX * Rt, m.lineOffsetY * Rt, !1, m, !1, Ut);
22823
22823
  let ue = !1, Le = !1, Xe = !0;
22824
22824
  if (Kt) {
22825
- const Ye = 0.5 * ft * yt + Qt, xe = new a.P(-100, -100), Pe = new a.P(this.screenRightBoundary, this.screenBottomBoundary), ur = new Er(), jr = Kt.first, De = Kt.last;
22825
+ const Ye = 0.5 * ft * yt + Qt, xe = new a.P(-100, -100), Pe = new a.P(this.screenRightBoundary, this.screenBottomBoundary), ur = new Er(), jr = Kt.first, Fe = Kt.last;
22826
22826
  let Ge = [];
22827
22827
  for (let Xr = jr.path.length - 1; Xr >= 1; Xr--)
22828
22828
  Ge.push(jr.path[Xr]);
22829
- for (let Xr = 1; Xr < De.path.length; Xr++)
22830
- Ge.push(De.path[Xr]);
22829
+ for (let Xr = 1; Xr < Fe.path.length; Xr++)
22830
+ Ge.push(Fe.path[Xr]);
22831
22831
  const kr = 2.5 * Ye;
22832
22832
  if (Z) {
22833
22833
  const Xr = this.projectPathToScreenSpace(Ge, Ut, Z);
@@ -23026,44 +23026,44 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23026
23026
  placeLayerBucketPart(c, m, _) {
23027
23027
  const { bucket: L, layout: M, translationText: V, translationIcon: D, posMatrix: U, unwrappedTileID: Z, textLabelPlaneMatrix: K, labelToScreenMatrix: Y, textPixelRatio: lt, holdingForFade: ft, collisionBoxArray: Qt, partiallyEvaluatedTextSize: wt, collisionGroup: bt } = c.parameters, Mt = M.get("text-optional"), Pt = M.get("icon-optional"), yt = a.as(M, "text-overlap", "text-allow-overlap"), Rt = yt === "always", Ut = a.as(M, "icon-overlap", "icon-allow-overlap"), Kt = Ut === "always", ue = M.get("text-rotation-alignment") === "map", Le = M.get("text-pitch-alignment") === "map", Xe = M.get("icon-text-fit") !== "none", Ye = M.get("symbol-z-order") === "viewport-y", xe = Rt && (Kt || !L.hasIconData() || Pt), Pe = Kt && (Rt || !L.hasTextData() || Mt);
23028
23028
  !L.collisionArrays && Qt && L.deserializeCollisionBoxes(Qt);
23029
- const ur = this._getTerrainElevationFunc(this.retainedQueryData[L.bucketInstanceId].tileID), jr = (De, Ge, kr) => {
23029
+ const ur = this._getTerrainElevationFunc(this.retainedQueryData[L.bucketInstanceId].tileID), jr = (Fe, Ge, kr) => {
23030
23030
  var ai, Xr;
23031
- if (m[De.crossTileID])
23031
+ if (m[Fe.crossTileID])
23032
23032
  return;
23033
23033
  if (ft)
23034
- return void (this.placements[De.crossTileID] = new Br(!1, !1, !1));
23034
+ return void (this.placements[Fe.crossTileID] = new Br(!1, !1, !1));
23035
23035
  let sn = !1, li = !1, N1 = !0, x2 = null, ci = { box: null, placeable: !1, offscreen: null }, vo = { box: null, placeable: !1, offscreen: null }, oo = null, D1 = null, F1 = null, w2 = 0, D3 = 0, hl = 0;
23036
- Ge.textFeatureIndex ? w2 = Ge.textFeatureIndex : De.useRuntimeCollisionCircles && (w2 = De.featureIndex), Ge.verticalTextFeatureIndex && (D3 = Ge.verticalTextFeatureIndex);
23036
+ Ge.textFeatureIndex ? w2 = Ge.textFeatureIndex : Fe.useRuntimeCollisionCircles && (w2 = Fe.featureIndex), Ge.verticalTextFeatureIndex && (D3 = Ge.verticalTextFeatureIndex);
23037
23037
  const Z4 = Ge.textBox;
23038
23038
  if (Z4) {
23039
23039
  const E1 = (B1) => {
23040
23040
  let j1 = a.ai.horizontal;
23041
23041
  if (L.allowVerticalPlacement && !B1 && this.prevPlacement) {
23042
- const T1 = this.prevPlacement.placedOrientations[De.crossTileID];
23043
- T1 && (this.placedOrientations[De.crossTileID] = T1, j1 = T1, this.markUsedOrientation(L, j1, De));
23042
+ const T1 = this.prevPlacement.placedOrientations[Fe.crossTileID];
23043
+ T1 && (this.placedOrientations[Fe.crossTileID] = T1, j1 = T1, this.markUsedOrientation(L, j1, Fe));
23044
23044
  }
23045
23045
  return j1;
23046
23046
  }, E2 = (B1, j1) => {
23047
- if (L.allowVerticalPlacement && De.numVerticalGlyphVertices > 0 && Ge.verticalTextBox) {
23047
+ if (L.allowVerticalPlacement && Fe.numVerticalGlyphVertices > 0 && Ge.verticalTextBox) {
23048
23048
  for (const T1 of L.writingModes)
23049
23049
  if (T1 === a.ai.vertical ? (ci = j1(), vo = ci) : ci = B1(), ci && ci.placeable)
23050
23050
  break;
23051
23051
  } else
23052
23052
  ci = B1();
23053
- }, xa = De.textAnchorOffsetStartIndex, W4 = De.textAnchorOffsetEndIndex;
23053
+ }, xa = Fe.textAnchorOffsetStartIndex, W4 = Fe.textAnchorOffsetEndIndex;
23054
23054
  if (W4 === xa) {
23055
23055
  const B1 = (j1, T1) => {
23056
23056
  const Hi = this.collisionIndex.placeCollisionBox(j1, yt, lt, U, Z, Le, ue, V, bt.predicate, ur);
23057
- return Hi && Hi.placeable && (this.markUsedOrientation(L, T1, De), this.placedOrientations[De.crossTileID] = T1), Hi;
23057
+ return Hi && Hi.placeable && (this.markUsedOrientation(L, T1, Fe), this.placedOrientations[Fe.crossTileID] = T1), Hi;
23058
23058
  };
23059
23059
  E2(() => B1(Z4, a.ai.horizontal), () => {
23060
23060
  const j1 = Ge.verticalTextBox;
23061
- return L.allowVerticalPlacement && De.numVerticalGlyphVertices > 0 && j1 ? B1(j1, a.ai.vertical) : { box: null, offscreen: null };
23061
+ return L.allowVerticalPlacement && Fe.numVerticalGlyphVertices > 0 && j1 ? B1(j1, a.ai.vertical) : { box: null, offscreen: null };
23062
23062
  }), E1(ci && ci.placeable);
23063
23063
  } else {
23064
- let B1 = a.ar[(Xr = (ai = this.prevPlacement) === null || ai === void 0 ? void 0 : ai.variableOffsets[De.crossTileID]) === null || Xr === void 0 ? void 0 : Xr.anchor];
23064
+ let B1 = a.ar[(Xr = (ai = this.prevPlacement) === null || ai === void 0 ? void 0 : ai.variableOffsets[Fe.crossTileID]) === null || Xr === void 0 ? void 0 : Xr.anchor];
23065
23065
  const j1 = (Hi, q4, ec) => {
23066
- const l1 = Hi.x2 - Hi.x1, Dd = Hi.y2 - Hi.y1, pl = De.textBoxScale, fl = Xe && Ut === "never" ? q4 : null;
23066
+ const l1 = Hi.x2 - Hi.x1, Dd = Hi.y2 - Hi.y1, pl = Fe.textBoxScale, fl = Xe && Ut === "never" ? q4 : null;
23067
23067
  let wa = null, Fd = yt === "never" ? 1 : 2, rc = "never";
23068
23068
  B1 && Fd++;
23069
23069
  for (let nc = 0; nc < Fd; nc++) {
@@ -23071,7 +23071,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23071
23071
  const Tl = L.textAnchorOffsets.get(ic);
23072
23072
  if (B1 && Tl.textAnchor !== B1)
23073
23073
  continue;
23074
- const X4 = this.attemptAnchorPlacement(Tl, Hi, l1, Dd, pl, ue, Le, lt, U, Z, bt, rc, De, L, ec, V, D, fl, ur);
23074
+ const X4 = this.attemptAnchorPlacement(Tl, Hi, l1, Dd, pl, ue, Le, lt, U, Z, bt, rc, Fe, L, ec, V, D, fl, ur);
23075
23075
  if (X4 && (wa = X4.placedGlyphBoxes, wa && wa.placeable))
23076
23076
  return sn = !0, x2 = X4.shift, wa;
23077
23077
  }
@@ -23081,46 +23081,46 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23081
23081
  };
23082
23082
  E2(() => j1(Z4, Ge.iconBox, a.ai.horizontal), () => {
23083
23083
  const Hi = Ge.verticalTextBox;
23084
- return L.allowVerticalPlacement && (!ci || !ci.placeable) && De.numVerticalGlyphVertices > 0 && Hi ? j1(Hi, Ge.verticalIconBox, a.ai.vertical) : { box: null, occluded: !0, offscreen: null };
23084
+ return L.allowVerticalPlacement && (!ci || !ci.placeable) && Fe.numVerticalGlyphVertices > 0 && Hi ? j1(Hi, Ge.verticalIconBox, a.ai.vertical) : { box: null, occluded: !0, offscreen: null };
23085
23085
  }), ci && (sn = ci.placeable, N1 = ci.offscreen);
23086
23086
  const T1 = E1(ci && ci.placeable);
23087
23087
  if (!sn && this.prevPlacement) {
23088
- const Hi = this.prevPlacement.variableOffsets[De.crossTileID];
23089
- Hi && (this.variableOffsets[De.crossTileID] = Hi, this.markUsedJustification(L, Hi.anchor, De, T1));
23088
+ const Hi = this.prevPlacement.variableOffsets[Fe.crossTileID];
23089
+ Hi && (this.variableOffsets[Fe.crossTileID] = Hi, this.markUsedJustification(L, Hi.anchor, Fe, T1));
23090
23090
  }
23091
23091
  }
23092
23092
  }
23093
- if (oo = ci, sn = oo && oo.placeable, N1 = oo && oo.offscreen, De.useRuntimeCollisionCircles) {
23094
- const E1 = L.text.placedSymbolArray.get(De.centerJustifiedTextSymbolIndex), E2 = a.aj(L.textSizeData, wt, E1), xa = M.get("text-padding");
23095
- D1 = this.collisionIndex.placeCollisionCircles(yt, E1, L.lineVertexArray, L.glyphOffsetArray, E2, U, Z, K, Y, _, Le, bt.predicate, De.collisionCircleDiameter, xa, V, ur), D1.circles.length && D1.collisionDetected && !_ && a.w("Collisions detected, but collision boxes are not shown"), sn = Rt || D1.circles.length > 0 && !D1.collisionDetected, N1 = N1 && D1.offscreen;
23093
+ if (oo = ci, sn = oo && oo.placeable, N1 = oo && oo.offscreen, Fe.useRuntimeCollisionCircles) {
23094
+ const E1 = L.text.placedSymbolArray.get(Fe.centerJustifiedTextSymbolIndex), E2 = a.aj(L.textSizeData, wt, E1), xa = M.get("text-padding");
23095
+ D1 = this.collisionIndex.placeCollisionCircles(yt, E1, L.lineVertexArray, L.glyphOffsetArray, E2, U, Z, K, Y, _, Le, bt.predicate, Fe.collisionCircleDiameter, xa, V, ur), D1.circles.length && D1.collisionDetected && !_ && a.w("Collisions detected, but collision boxes are not shown"), sn = Rt || D1.circles.length > 0 && !D1.collisionDetected, N1 = N1 && D1.offscreen;
23096
23096
  }
23097
23097
  if (Ge.iconFeatureIndex && (hl = Ge.iconFeatureIndex), Ge.iconBox) {
23098
23098
  const E1 = (E2) => this.collisionIndex.placeCollisionBox(E2, Ut, lt, U, Z, Le, ue, D, bt.predicate, ur, Xe && x2 ? x2 : void 0);
23099
23099
  vo && vo.placeable && Ge.verticalIconBox ? (F1 = E1(Ge.verticalIconBox), li = F1.placeable) : (F1 = E1(Ge.iconBox), li = F1.placeable), N1 = N1 && F1.offscreen;
23100
23100
  }
23101
- const F3 = Mt || De.numHorizontalGlyphVertices === 0 && De.numVerticalGlyphVertices === 0, dl = Pt || De.numIconVertices === 0;
23101
+ const F3 = Mt || Fe.numHorizontalGlyphVertices === 0 && Fe.numVerticalGlyphVertices === 0, dl = Pt || Fe.numIconVertices === 0;
23102
23102
  F3 || dl ? dl ? F3 || (li = li && sn) : sn = li && sn : li = sn = li && sn;
23103
23103
  const tc = li && F1.placeable;
23104
- if (sn && oo.placeable && this.collisionIndex.insertCollisionBox(oo.box, yt, M.get("text-ignore-placement"), L.bucketInstanceId, vo && vo.placeable && D3 ? D3 : w2, bt.ID), tc && this.collisionIndex.insertCollisionBox(F1.box, Ut, M.get("icon-ignore-placement"), L.bucketInstanceId, hl, bt.ID), D1 && sn && this.collisionIndex.insertCollisionCircles(D1.circles, yt, M.get("text-ignore-placement"), L.bucketInstanceId, w2, bt.ID), _ && this.storeCollisionData(L.bucketInstanceId, kr, Ge, oo, F1, D1), De.crossTileID === 0)
23104
+ if (sn && oo.placeable && this.collisionIndex.insertCollisionBox(oo.box, yt, M.get("text-ignore-placement"), L.bucketInstanceId, vo && vo.placeable && D3 ? D3 : w2, bt.ID), tc && this.collisionIndex.insertCollisionBox(F1.box, Ut, M.get("icon-ignore-placement"), L.bucketInstanceId, hl, bt.ID), D1 && sn && this.collisionIndex.insertCollisionCircles(D1.circles, yt, M.get("text-ignore-placement"), L.bucketInstanceId, w2, bt.ID), _ && this.storeCollisionData(L.bucketInstanceId, kr, Ge, oo, F1, D1), Fe.crossTileID === 0)
23105
23105
  throw new Error("symbolInstance.crossTileID can't be 0");
23106
23106
  if (L.bucketInstanceId === 0)
23107
23107
  throw new Error("bucket.bucketInstanceId can't be 0");
23108
- this.placements[De.crossTileID] = new Br(sn || xe, li || Pe, N1 || L.justReloaded), m[De.crossTileID] = !0;
23108
+ this.placements[Fe.crossTileID] = new Br(sn || xe, li || Pe, N1 || L.justReloaded), m[Fe.crossTileID] = !0;
23109
23109
  };
23110
23110
  if (Ye) {
23111
23111
  if (c.symbolInstanceStart !== 0)
23112
23112
  throw new Error("bucket.bucketInstanceId should be 0");
23113
- const De = L.getSortedSymbolIndexes(this.transform.angle);
23114
- for (let Ge = De.length - 1; Ge >= 0; --Ge) {
23115
- const kr = De[Ge];
23113
+ const Fe = L.getSortedSymbolIndexes(this.transform.angle);
23114
+ for (let Ge = Fe.length - 1; Ge >= 0; --Ge) {
23115
+ const kr = Fe[Ge];
23116
23116
  jr(L.symbolInstances.get(kr), L.collisionArrays[kr], kr);
23117
23117
  }
23118
23118
  } else
23119
- for (let De = c.symbolInstanceStart; De < c.symbolInstanceEnd; De++)
23120
- jr(L.symbolInstances.get(De), L.collisionArrays[De], De);
23119
+ for (let Fe = c.symbolInstanceStart; Fe < c.symbolInstanceEnd; Fe++)
23120
+ jr(L.symbolInstances.get(Fe), L.collisionArrays[Fe], Fe);
23121
23121
  if (_ && L.bucketInstanceId in this.collisionCircleArrays) {
23122
- const De = this.collisionCircleArrays[L.bucketInstanceId];
23123
- a.at(De.invProjMatrix, U), De.viewportMatrix = this.collisionIndex.getViewportMatrix();
23122
+ const Fe = this.collisionCircleArrays[L.bucketInstanceId];
23123
+ a.at(Fe.invProjMatrix, U), Fe.viewportMatrix = this.collisionIndex.getViewportMatrix();
23124
23124
  }
23125
23125
  L.justReloaded = !1;
23126
23126
  }
@@ -23204,8 +23204,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23204
23204
  }), Pt.verticalPlacedTextSymbolIndex >= 0 && (c.text.placedSymbolArray.get(Pt.verticalPlacedTextSymbolIndex).hidden = ur || Ye ? 1 : 0);
23205
23205
  const jr = this.variableOffsets[Pt.crossTileID];
23206
23206
  jr && this.markUsedJustification(c, jr.anchor, Pt, Le);
23207
- const De = this.placedOrientations[Pt.crossTileID];
23208
- De && (this.markUsedJustification(c, "left", Pt, De), this.markUsedOrientation(c, De, Pt));
23207
+ const Fe = this.placedOrientations[Pt.crossTileID];
23208
+ Fe && (this.markUsedJustification(c, "left", Pt, Fe), this.markUsedOrientation(c, Fe, Pt));
23209
23209
  }
23210
23210
  if (ue) {
23211
23211
  const Pe = yn(Kt.icon), ur = !(ft && Pt.verticalPlacedIconSymbolIndex && Xe);
@@ -23219,18 +23219,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23219
23219
  if (Pe.textBox || Pe.verticalTextBox) {
23220
23220
  let jr = !0;
23221
23221
  if (K) {
23222
- const De = this.variableOffsets[Ut];
23223
- De ? (ur = Gn(De.anchor, De.width, De.height, De.textOffset, De.textBoxScale), Y && ur._rotate(lt ? this.transform.angle : -this.transform.angle)) : jr = !1;
23222
+ const Fe = this.variableOffsets[Ut];
23223
+ Fe ? (ur = Gn(Fe.anchor, Fe.width, Fe.height, Fe.textOffset, Fe.textBoxScale), Y && ur._rotate(lt ? this.transform.angle : -this.transform.angle)) : jr = !1;
23224
23224
  }
23225
23225
  if (Pe.textBox || Pe.verticalTextBox) {
23226
- let De;
23227
- Pe.textBox && (De = Xe), Pe.verticalTextBox && (De = Ye), Bi(c.textCollisionBox.collisionVertexArray, Kt.text.placed, !jr || De, xe.text, ur.x, ur.y);
23226
+ let Fe;
23227
+ Pe.textBox && (Fe = Xe), Pe.verticalTextBox && (Fe = Ye), Bi(c.textCollisionBox.collisionVertexArray, Kt.text.placed, !jr || Fe, xe.text, ur.x, ur.y);
23228
23228
  }
23229
23229
  }
23230
23230
  if (Pe.iconBox || Pe.verticalIconBox) {
23231
23231
  const jr = !!(!Ye && Pe.verticalIconBox);
23232
- let De;
23233
- Pe.iconBox && (De = jr), Pe.verticalIconBox && (De = !jr), Bi(c.iconCollisionBox.collisionVertexArray, Kt.icon.placed, De, xe.icon, ft ? ur.x : 0, ft ? ur.y : 0);
23232
+ let Fe;
23233
+ Pe.iconBox && (Fe = jr), Pe.verticalIconBox && (Fe = !jr), Bi(c.iconCollisionBox.collisionVertexArray, Kt.icon.placed, Fe, xe.icon, ft ? ur.x : 0, ft ? ur.y : 0);
23234
23234
  }
23235
23235
  }
23236
23236
  }
@@ -24008,7 +24008,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24008
24008
  m.availableImages = this._availableImages;
24009
24009
  const V = this._serializedAllLayers();
24010
24010
  for (const D in this.sourceCaches)
24011
- m.layers && !L[D] || M.push(Be(this.sourceCaches[D], this._layers, V, c, m, _));
24011
+ m.layers && !L[D] || M.push(je(this.sourceCaches[D], this._layers, V, c, m, _));
24012
24012
  return this.placement && M.push(function(D, U, Z, K, Y, lt, ft) {
24013
24013
  const Qt = {}, wt = lt.queryRenderedSymbols(K), bt = [];
24014
24014
  for (const Mt of Object.keys(wt).map(Number))
@@ -25519,7 +25519,7 @@ uniform ${K} ${Y} u_${lt};
25519
25519
  const Ut = new a.P(yt.anchorX, yt.anchorY), Kt = { getElevation: ft, width: L.width, height: L.height, labelPlaneMatrix: M, lineVertexArray: null, pitchWithMap: m, projection: K, projectionCache: null, tileAnchorPoint: Ut, translation: Y, unwrappedTileID: lt }, ue = m ? xt(Ut, V, ft) : ee(Ut.x, Ut.y, Kt), Le = it(L.cameraToCenterDistance, ue.signedDistanceFromCamera);
25520
25520
  let Xe = a.aj(S.textSizeData, U, yt) * Le / a.aq;
25521
25521
  m && (Xe *= S.tilePixelRatio / D);
25522
- const { width: Ye, height: xe, anchor: Pe, textOffset: ur, textBoxScale: jr } = Rt, De = j4(Pe, Ye, xe, ur, jr, Xe), Ge = K.getPitchedTextCorrection(L, Ut.add(new a.P(Y[0], Y[1])), lt), kr = C3(ue.point, Kt, c, De, L.angle, Ge), ai = S.allowVerticalPlacement && yt.placedOrientation === a.ai.vertical ? Math.PI / 2 : 0;
25522
+ const { width: Ye, height: xe, anchor: Pe, textOffset: ur, textBoxScale: jr } = Rt, Fe = j4(Pe, Ye, xe, ur, jr, Xe), Ge = K.getPitchedTextCorrection(L, Ut.add(new a.P(Y[0], Y[1])), lt), kr = C3(ue.point, Kt, c, Fe, L.angle, Ge), ai = S.allowVerticalPlacement && yt.placedOrientation === a.ai.vertical ? Math.PI / 2 : 0;
25523
25523
  for (let Xr = 0; Xr < yt.numGlyphs; Xr++)
25524
25524
  a.ak(wt, kr, ai);
25525
25525
  Z && yt.associatedIconIndex >= 0 && (Mt[yt.associatedIconIndex] = { shiftedAnchor: kr, angle: ai });
@@ -25560,7 +25560,7 @@ uniform ${K} ${Y} u_${lt};
25560
25560
  const jr = L ? ur.text : ur.icon;
25561
25561
  if (!jr || !jr.segments.get().length || !jr.hasVisibleVertices)
25562
25562
  continue;
25563
- const De = jr.programConfigurations.get(m.id), Ge = L || ur.sdfIcons, kr = L ? ur.textSizeData : ur.iconSizeData, ai = Mt || Qt.pitch !== 0, Xr = S.useProgram(Ta(Ge, L, ur), De), sn = a.ah(kr, Qt.zoom), li = S.style.map.terrain && S.style.map.terrain.getTerrainData(xe);
25563
+ const Fe = jr.programConfigurations.get(m.id), Ge = L || ur.sdfIcons, kr = L ? ur.textSizeData : ur.iconSizeData, ai = Mt || Qt.pitch !== 0, Xr = S.useProgram(Ta(Ge, L, ur), Fe), sn = a.ah(kr, Qt.zoom), li = S.style.map.terrain && S.style.map.terrain.getTerrainData(xe);
25564
25564
  let N1, x2, ci, vo, oo = [0, 0], D1 = null;
25565
25565
  if (L)
25566
25566
  x2 = Pe.glyphAtlasTexture, ci = ft.LINEAR, N1 = Pe.glyphAtlasTexture.size, ur.iconsInText && (oo = Pe.imageAtlasTexture.size, D1 = Pe.imageAtlasTexture, vo = ai || S.options.rotating || S.options.zooming || kr.kind === "composite" || kr.kind === "camera" ? ft.LINEAR : ft.NEAREST);
@@ -25710,7 +25710,7 @@ uniform ${K} ${Y} u_${lt};
25710
25710
  Ut.clearRect(0, 0, yt.width, yt.height), Ut.shadowColor = "white", Ut.shadowBlur = 2, Ut.lineWidth = 1.5, Ut.strokeStyle = "white", Ut.textBaseline = "top", Ut.font = "bold 36px Open Sans, sans-serif", Ut.fillText(Pt, 5, 5), Ut.strokeText(Pt, 5, 5), Mt.debugOverlayTexture.update(yt), Mt.debugOverlayTexture.bind(Rt.LINEAR, Rt.CLAMP_TO_EDGE);
25711
25711
  }(S, `${bt} ${ft}kB`), V.draw(_, L.TRIANGLES, D, U, fn.alphaBlended, wn.disabled, Tr(M, a.aN.transparent, wt), null, K, S.debugBuffer, S.quadTriangleIndexBuffer, S.debugSegments), V.draw(_, L.LINE_STRIP, D, U, Z, wn.disabled, Tr(M, a.aN.red), Y, K, S.debugBuffer, S.tileBorderIndexBuffer, S.debugSegments);
25712
25712
  }
25713
- function Ne(S, c, m) {
25713
+ function De(S, c, m) {
25714
25714
  const _ = S.context, L = _.gl, M = S.colorModeForRenderPass(), V = new $r(L.LEQUAL, $r.ReadWrite, S.depthRangeFor3D), D = S.useProgram("terrain"), U = c.getTerrainMesh();
25715
25715
  _.bindFramebuffer.set(null), _.viewport.set([0, 0, S.width, S.height]);
25716
25716
  for (const Z of m) {
@@ -25909,10 +25909,10 @@ uniform ${K} ${Y} u_${lt};
25909
25909
  const Ye = wt.getTile(Xe), xe = Ye.getBucket(Qt);
25910
25910
  if (!xe || !xe.text || !xe.text.segments.get().length)
25911
25911
  continue;
25912
- const Pe = a.ah(xe.textSizeData, Ut.zoom), ur = vr(Ye, 1, ft.transform.zoom), jr = f1(Xe.posMatrix, Le, ue, ft.transform, ur), De = Qt.layout.get("icon-text-fit") !== "none" && xe.hasIconData();
25912
+ const Pe = a.ah(xe.textSizeData, Ut.zoom), ur = vr(Ye, 1, ft.transform.zoom), jr = f1(Xe.posMatrix, Le, ue, ft.transform, ur), Fe = Qt.layout.get("icon-text-fit") !== "none" && xe.hasIconData();
25913
25913
  if (Pe) {
25914
25914
  const Ge = Math.pow(2, Ut.zoom - Ye.tileID.overscaledZ), kr = ft.style.map.terrain ? (Xr, sn) => ft.style.map.terrain.getElevation(Xe, Xr, sn) : null, ai = Kt.translatePosition(Ut, Ye, Pt, yt);
25915
- O3(xe, ue, Le, Rt, Ut, jr, Xe.posMatrix, Ge, Pe, De, Kt, ai, Xe.toUnwrapped(), kr);
25915
+ O3(xe, ue, Le, Rt, Ut, jr, Xe.posMatrix, Ge, Pe, Fe, Kt, ai, Xe.toUnwrapped(), kr);
25916
25916
  }
25917
25917
  }
25918
25918
  }(U, M, D, V, D.layout.get("text-rotation-alignment"), D.layout.get("text-pitch-alignment"), D.paint.get("text-translate"), D.paint.get("text-translate-anchor"), Z), D.paint.get("icon-opacity").constantOr(1) !== 0 && ro(M, V, D, U, !1, D.paint.get("icon-translate"), D.paint.get("icon-translate-anchor"), D.layout.get("icon-rotation-alignment"), D.layout.get("icon-pitch-alignment"), D.layout.get("icon-keep-upright"), K, Y), D.paint.get("text-opacity").constantOr(1) !== 0 && ro(M, V, D, U, !0, D.paint.get("text-translate"), D.paint.get("text-translate-anchor"), D.layout.get("text-rotation-alignment"), D.layout.get("text-pitch-alignment"), D.layout.get("text-keep-upright"), K, Y), V.map.showCollisionBoxes && (m0(M, V, D, U, !0), m0(M, V, D, U, !1));
@@ -26013,7 +26013,7 @@ uniform ${K} ${Y} u_${lt};
26013
26013
  const kr = ue.imageAtlas, ai = kr.patternPositions[jr.to.toString()], Xr = kr.patternPositions[jr.from.toString()];
26014
26014
  ai && Xr && Xe.setConstantPatternPositions(ai, Xr);
26015
26015
  }
26016
- const De = ur ? Kt : null, Ge = wt ? xn(M, ue, D, Mt, De) : ft ? Zi(M, ue, D, ft, Mt, De) : bt ? Qr(M, ue, D, Le.lineClipsArray.length, De) : ce(M, ue, D, De);
26016
+ const Fe = ur ? Kt : null, Ge = wt ? xn(M, ue, D, Mt, Fe) : ft ? Zi(M, ue, D, ft, Mt, Fe) : bt ? Qr(M, ue, D, Le.lineClipsArray.length, Fe) : ce(M, ue, D, Fe);
26017
26017
  if (wt)
26018
26018
  yt.activeTexture.set(Rt.TEXTURE0), ue.imageAtlasTexture.bind(Rt.LINEAR, Rt.CLAMP_TO_EDGE), Xe.updatePaintBuffers(Mt);
26019
26019
  else if (ft && (Pe || M.lineAtlas.dirty))
@@ -26423,12 +26423,12 @@ uniform ${K} ${Y} u_${lt};
26423
26423
  } else
26424
26424
  for (let xe = 0; xe < 4; xe++) {
26425
26425
  const Pe = (Rt << 1) + xe % 2, ur = (Ut << 1) + (xe >> 1), jr = yt.zoom + 1;
26426
- let De = yt.aabb.quadrant(xe);
26426
+ let Fe = yt.aabb.quadrant(xe);
26427
26427
  if (c.terrain) {
26428
26428
  const Ge = new a.S(jr, yt.wrap, jr, Pe, ur), kr = c.terrain.getMinMaxElevation(Ge), ai = (m = kr.minElevation) !== null && m !== void 0 ? m : this.elevation, Xr = (_ = kr.maxElevation) !== null && _ !== void 0 ? _ : this.elevation;
26429
- De = new si([De.min[0], De.min[1], ai], [De.max[0], De.max[1], Xr]);
26429
+ Fe = new si([Fe.min[0], Fe.min[1], ai], [Fe.max[0], Fe.max[1], Xr]);
26430
26430
  }
26431
- wt.push({ aabb: De, zoom: jr, x: Pe, y: ur, wrap: yt.wrap, fullyVisible: Kt });
26431
+ wt.push({ aabb: Fe, zoom: jr, x: Pe, y: ur, wrap: yt.wrap, fullyVisible: Kt });
26432
26432
  }
26433
26433
  }
26434
26434
  return bt.sort((yt, Rt) => yt.distanceSq - Rt.distanceSq).map((yt) => yt.tileID);
@@ -28020,15 +28020,15 @@ uniform ${K} ${Y} u_${lt};
28020
28020
  }, jr = function(Ge) {
28021
28021
  return Ut * ((xe(Pe) * (Ye(kr = Pe + Rt * Ge) / xe(kr)) - Ye(Pe)) / Le) / ue;
28022
28022
  var kr;
28023
- }, De = (Xe(!0) - Pe) / Rt;
28024
- if (Math.abs(ue) < 1e-6 || !isFinite(De)) {
28023
+ }, Fe = (Xe(!0) - Pe) / Rt;
28024
+ if (Math.abs(ue) < 1e-6 || !isFinite(Fe)) {
28025
28025
  if (Math.abs(Ut - Kt) < 1e-6)
28026
28026
  return this.easeTo(c, m);
28027
28027
  const Ge = Kt < Ut ? -1 : 1;
28028
- De = Math.abs(Math.log(Kt / Ut)) / Rt, jr = () => 0, ur = (kr) => Math.exp(Ge * Rt * kr);
28028
+ Fe = Math.abs(Math.log(Kt / Ut)) / Rt, jr = () => 0, ur = (kr) => Math.exp(Ge * Rt * kr);
28029
28029
  }
28030
- return c.duration = "duration" in c ? +c.duration : 1e3 * De / ("screenSpeed" in c ? +c.screenSpeed / Rt : +c.speed), c.maxDuration && c.duration > c.maxDuration && (c.duration = 0), this._zooming = !0, this._rotating = V !== Z, this._pitching = K !== D, this._padding = !L.isPaddingEqual(Y), this._prepareEase(m, !1), this.terrain && this._prepareElevation(wt), this._ease((Ge) => {
28031
- const kr = Ge * De, ai = 1 / ur(kr);
28030
+ return c.duration = "duration" in c ? +c.duration : 1e3 * Fe / ("screenSpeed" in c ? +c.screenSpeed / Rt : +c.speed), c.maxDuration && c.duration > c.maxDuration && (c.duration = 0), this._zooming = !0, this._rotating = V !== Z, this._pitching = K !== D, this._padding = !L.isPaddingEqual(Y), this._prepareEase(m, !1), this.terrain && this._prepareElevation(wt), this._ease((Ge) => {
28031
+ const kr = Ge * Fe, ai = 1 / ur(kr);
28032
28032
  L.zoom = Ge === 1 ? bt : M + L.scaleZoom(ai), this._rotating && (L.bearing = a.z.number(V, Z, Ge)), this._pitching && (L.pitch = a.z.number(D, K, Ge)), this._padding && (L.interpolatePadding(U, Y, Ge), ft = L.centerPoint.add(lt)), this.terrain && !c.freezeElevation && this._updateElevation(Ge);
28033
28033
  const Xr = Ge === 1 ? wt : L.unproject(Pt.add(yt.mult(jr(kr))).mult(ai));
28034
28034
  L.setLocationAtPoint(L.renderWorldCopies ? Xr.wrap() : Xr, ft), this._applyUpdatedTransform(L), this._fireMoveEvents(m);
@@ -28439,7 +28439,7 @@ uniform ${K} ${Y} u_${lt};
28439
28439
  this._prevType = m;
28440
28440
  const M = this._stacks.length - 1, V = this._stacks[M] || [];
28441
28441
  for (const D of this._renderableTiles) {
28442
- if (this.pool.isFull() && (Ne(this.painter, this.terrain, this._rttTiles), this._rttTiles = [], this.pool.freeAllObjects()), this._rttTiles.push(D), D.rtt[M]) {
28442
+ if (this.pool.isFull() && (De(this.painter, this.terrain, this._rttTiles), this._rttTiles = [], this.pool.freeAllObjects()), this._rttTiles.push(D), D.rtt[M]) {
28443
28443
  const Z = this.pool.getObjectForId(D.rtt[M].id);
28444
28444
  if (Z.stamp === D.rtt[M].stamp) {
28445
28445
  this.pool.useObject(Z);
@@ -28453,7 +28453,7 @@ uniform ${K} ${Y} u_${lt};
28453
28453
  _.context.viewport.set([0, 0, U.fbo.width, U.fbo.height]), _._renderTileClippingMasks(K, Y), _.renderLayer(_, _.style.sourceCaches[K.source], K, Y), K.source && (D.rttCoords[K.source] = this._coordsDescendingInvStr[K.source][D.tileID.key]);
28454
28454
  }
28455
28455
  }
28456
- return Ne(this.painter, this.terrain, this._rttTiles), this._rttTiles = [], this.pool.freeAllObjects(), ns[m];
28456
+ return De(this.painter, this.terrain, this._rttTiles), this._rttTiles = [], this.pool.freeAllObjects(), ns[m];
28457
28457
  }
28458
28458
  return !1;
28459
28459
  }
@@ -44882,7 +44882,7 @@ function Lwt(t, e) {
44882
44882
  throw new Error(`invalid channels: ${e}`);
44883
44883
  }
44884
44884
  }
44885
- const Fe = new Gh({ id: "luma.gl" });
44885
+ const Be = new Gh({ id: "luma.gl" });
44886
44886
  class xwt {
44887
44887
  constructor() {
44888
44888
  dt(this, "stats", /* @__PURE__ */ new Map());
@@ -44899,10 +44899,10 @@ function wwt() {
44899
44899
  const t = "9.0.14", e = "set luma.log.level=1 (or higher) to trace rendering";
44900
44900
  if (globalThis.luma && globalThis.luma.VERSION !== t)
44901
44901
  throw new Error(`luma.gl - multiple VERSIONs detected: ${globalThis.luma.VERSION} vs ${t}`);
44902
- return globalThis.luma || (i0() && Fe.log(1, `${t} - ${e}`)(), globalThis.luma = globalThis.luma || {
44902
+ return globalThis.luma || (i0() && Be.log(1, `${t} - ${e}`)(), globalThis.luma = globalThis.luma || {
44903
44903
  VERSION: t,
44904
44904
  version: t,
44905
- log: Fe,
44905
+ log: Be,
44906
44906
  // A global stats object that various components can add information to
44907
44907
  // E.g. see webgl/resource.js
44908
44908
  stats: KS
@@ -45253,7 +45253,7 @@ const cw = class jW {
45253
45253
  _getBufferProps(e) {
45254
45254
  (e instanceof ArrayBuffer || ArrayBuffer.isView(e)) && (e = { data: e });
45255
45255
  const r = { ...e };
45256
- return (e.usage || 0) & h1.INDEX && !e.indexType && (e.data instanceof Uint32Array ? r.indexType = "uint32" : e.data instanceof Uint16Array ? r.indexType = "uint16" : Fe.warn("indices buffer content must be of integer type")()), r;
45256
+ return (e.usage || 0) & h1.INDEX && !e.indexType && (e.data instanceof Uint32Array ? r.indexType = "uint32" : e.data instanceof Uint16Array ? r.indexType = "uint16" : Be.warn("indices buffer content must be of integer type")()), r;
45257
45257
  }
45258
45258
  };
45259
45259
  dt(cw, "defaultProps", {
@@ -45265,9 +45265,9 @@ dt(cw, "defaultProps", {
45265
45265
  // width are height are only used by headless gl
45266
45266
  height: 600,
45267
45267
  requestMaxLimits: !0,
45268
- debug: !!Fe.get("debug"),
45268
+ debug: !!Be.get("debug"),
45269
45269
  // Instrument context (at the expense of performance)
45270
- spector: !!(Fe.get("spector") || Fe.get("spectorjs")),
45270
+ spector: !!(Be.get("spector") || Be.get("spectorjs")),
45271
45271
  // Initialize the SpectorJS WebGL debugger
45272
45272
  break: [],
45273
45273
  // TODO - Change these after confirming things work as expected
@@ -45284,7 +45284,7 @@ dt(cw, "defaultProps", {
45284
45284
  // failIfMajorPerformanceCaveat: undefined
45285
45285
  gl: null,
45286
45286
  // Callbacks
45287
- onError: (t) => Fe.error(t.message)
45287
+ onError: (t) => Be.error(t.message)
45288
45288
  }), dt(cw, "VERSION", Ewt);
45289
45289
  let QQ = cw;
45290
45290
  function Ci(t, e) {
@@ -45367,7 +45367,7 @@ dt(oT, "defaultProps", {
45367
45367
  devices: void 0
45368
45368
  }), /** Global stats for all devices */
45369
45369
  dt(oT, "stats", KS), /** Global log */
45370
- dt(oT, "log", Fe);
45370
+ dt(oT, "log", Be);
45371
45371
  let sT = oT;
45372
45372
  function pR(t) {
45373
45373
  if (!t || (t == null ? void 0 : t.length) === 0)
@@ -45466,14 +45466,14 @@ class YS {
45466
45466
  if (!this.htmlCanvas)
45467
45467
  return;
45468
45468
  let n = "width" in r ? r.width : this.htmlCanvas.clientWidth, i = "height" in r ? r.height : this.htmlCanvas.clientHeight;
45469
- (!n || !i) && (Fe.log(1, "Canvas clientWidth/clientHeight is 0")(), e = 1, n = this.htmlCanvas.width || 1, i = this.htmlCanvas.height || 1);
45469
+ (!n || !i) && (Be.log(1, "Canvas clientWidth/clientHeight is 0")(), e = 1, n = this.htmlCanvas.width || 1, i = this.htmlCanvas.height || 1);
45470
45470
  const o = this._canvasSizeInfo;
45471
45471
  if (o.clientWidth !== n || o.clientHeight !== i || o.devicePixelRatio !== e) {
45472
45472
  let s = e;
45473
45473
  const a = Math.floor(n * s), u = Math.floor(i * s);
45474
45474
  this.htmlCanvas.width = a, this.htmlCanvas.height = u;
45475
45475
  const [d, f] = this.getDrawingBufferSize();
45476
- (d !== a || f !== u) && (s = Math.min(d / n, f / i), this.htmlCanvas.width = Math.floor(n * s), this.htmlCanvas.height = Math.floor(i * s), Fe.warn("Device pixel ratio clamped")()), this._canvasSizeInfo.clientWidth = n, this._canvasSizeInfo.clientHeight = i, this._canvasSizeInfo.devicePixelRatio = e;
45476
+ (d !== a || f !== u) && (s = Math.min(d / n, f / i), this.htmlCanvas.width = Math.floor(n * s), this.htmlCanvas.height = Math.floor(i * s), Be.warn("Device pixel ratio clamped")()), this._canvasSizeInfo.clientWidth = n, this._canvasSizeInfo.clientHeight = i, this._canvasSizeInfo.devicePixelRatio = e;
45477
45477
  }
45478
45478
  }
45479
45479
  // PRIVATE
@@ -45773,7 +45773,7 @@ const rq = class nq extends gi {
45773
45773
  const [n, i] = Array.isArray(e) ? e : [e.width, e.height];
45774
45774
  r = r || i !== this.height || n !== this.width, this.width = n, this.height = i;
45775
45775
  }
45776
- r && (Fe.log(2, `Resizing framebuffer ${this.id} to ${this.width}x${this.height}`)(), this.resizeAttachments(this.width, this.height));
45776
+ r && (Be.log(2, `Resizing framebuffer ${this.id} to ${this.width}x${this.height}`)(), this.resizeAttachments(this.width, this.height));
45777
45777
  }
45778
45778
  /** Auto creates any textures */
45779
45779
  autoCreateAttachmentTextures() {
@@ -46054,16 +46054,16 @@ function sEt(t, e, r) {
46054
46054
  }
46055
46055
  function aEt(t, e) {
46056
46056
  const r = t.attributes.find((n) => n.name === e);
46057
- return r || Fe.warn(`shader layout attribute "${e}" not present in shader`), r || null;
46057
+ return r || Be.warn(`shader layout attribute "${e}" not present in shader`), r || null;
46058
46058
  }
46059
46059
  function lEt(t, e) {
46060
46060
  cEt(t);
46061
46061
  let r = uEt(t, e);
46062
- return r || (r = hEt(t, e), r) ? r : (Fe.warn(`layout for attribute "${e}" not present in buffer layout`), null);
46062
+ return r || (r = hEt(t, e), r) ? r : (Be.warn(`layout for attribute "${e}" not present in buffer layout`), null);
46063
46063
  }
46064
46064
  function cEt(t) {
46065
46065
  for (const e of t)
46066
- (e.attributes && e.format || !e.attributes && !e.format) && Fe.warn(`BufferLayout ${name} must have either 'attributes' or 'format' field`);
46066
+ (e.attributes && e.format || !e.attributes && !e.format) && Be.warn(`BufferLayout ${name} must have either 'attributes' or 'format' field`);
46067
46067
  }
46068
46068
  function uEt(t, e) {
46069
46069
  for (const r of t)
@@ -46108,7 +46108,7 @@ function dEt(t, e) {
46108
46108
  };
46109
46109
  for (const n of (e == null ? void 0 : e.attributes) || []) {
46110
46110
  const i = r.attributes.find((o) => o.name === n.name);
46111
- i ? (i.type = n.type || i.type, i.stepMode = n.stepMode || i.stepMode) : Fe.warn(`shader layout attribute ${n.name} not present in shader`);
46111
+ i ? (i.type = n.type || i.type, i.stepMode = n.stepMode || i.stepMode) : Be.warn(`shader layout attribute ${n.name} not present in shader`);
46112
46112
  }
46113
46113
  return r;
46114
46114
  }
@@ -46241,20 +46241,20 @@ class vEt {
46241
46241
  for (const [o, s] of Object.entries(e)) {
46242
46242
  const a = this.layout[o];
46243
46243
  if (!a) {
46244
- Fe.warn(`Supplied uniform value ${o} not present in uniform block layout`)();
46244
+ Be.warn(`Supplied uniform value ${o} not present in uniform block layout`)();
46245
46245
  continue;
46246
46246
  }
46247
46247
  const { type: u, size: d, offset: f } = a, T = i[u];
46248
46248
  if (d === 1) {
46249
46249
  if (typeof s != "number" && typeof s != "boolean") {
46250
- Fe.warn(`Supplied value for single component uniform ${o} is not a number: ${s}`)();
46250
+ Be.warn(`Supplied value for single component uniform ${o} is not a number: ${s}`)();
46251
46251
  continue;
46252
46252
  }
46253
46253
  T[f] = Number(s);
46254
46254
  } else {
46255
46255
  const Q = J9(s);
46256
46256
  if (!Q) {
46257
- Fe.warn(`Supplied value for multi component / array uniform ${o} is not a numeric array: ${s}`)();
46257
+ Be.warn(`Supplied value for multi component / array uniform ${o} is not a numeric array: ${s}`)();
46258
46258
  continue;
46259
46259
  }
46260
46260
  T.set(Q, f);
@@ -46386,7 +46386,7 @@ class wEt {
46386
46386
  const n = this.updateUniformBuffer(r);
46387
46387
  e || (e = n);
46388
46388
  }
46389
- return e && Fe.log(3, `UniformStore.updateUniformBuffers(): ${e}`)(), e;
46389
+ return e && Be.log(3, `UniformStore.updateUniformBuffers(): ${e}`)(), e;
46390
46390
  }
46391
46391
  /** Update one uniform buffer. Only updates if values have changed */
46392
46392
  updateUniformBuffer(e) {
@@ -46397,7 +46397,7 @@ class wEt {
46397
46397
  const o = this.getUniformBufferData(e);
46398
46398
  this.uniformBuffers.get(e).write(o);
46399
46399
  const s = this.uniformBlocks.get(e).getAllUniforms();
46400
- Fe.log(4, `Writing to uniform buffer ${String(e)}`, o, s)();
46400
+ Be.log(4, `Writing to uniform buffer ${String(e)}`, o, s)();
46401
46401
  }
46402
46402
  return i;
46403
46403
  }
@@ -46480,16 +46480,16 @@ function SEt(t, e, r) {
46480
46480
  for (const a in n)
46481
46481
  if (a in e) {
46482
46482
  const u = n[a] ? `${t}.${n[a]}` : "N/A";
46483
- Fe.removed(`${t}.${a}`, u)();
46483
+ Be.removed(`${t}.${a}`, u)();
46484
46484
  }
46485
46485
  for (const a in i)
46486
46486
  if (a in e) {
46487
46487
  const u = i[a];
46488
- Fe.deprecated(`${t}.${a}`, `${t}.${u}`)();
46488
+ Be.deprecated(`${t}.${a}`, `${t}.${u}`)();
46489
46489
  }
46490
46490
  let s = null;
46491
46491
  for (const [a, u] of Object.entries(o))
46492
- a in e && (Fe.deprecated(`${t}.${a}`, `${t}.${u}`)(), s = s || Object.assign({}, e), s[u] = e[a], delete s[a]);
46492
+ a in e && (Be.deprecated(`${t}.${a}`, `${t}.${u}`)(), s = s || Object.assign({}, e), s[u] = e[a], delete s[a]);
46493
46493
  return s || e;
46494
46494
  }
46495
46495
  let HEt = "";
@@ -48779,7 +48779,7 @@ function pMt(t) {
48779
48779
  try {
48780
48780
  r = fMt(t);
48781
48781
  } catch (o) {
48782
- return Fe.error(o.message)(), e;
48782
+ return Be.error(o.message)(), e;
48783
48783
  }
48784
48784
  for (const o of r.uniforms) {
48785
48785
  const s = [];
@@ -52286,7 +52286,7 @@ class DHt {
52286
52286
  const r = Wm(Object.values(e).filter((n) => n.dependencies));
52287
52287
  for (const n of r)
52288
52288
  e[n.name] = n;
52289
- Fe.log(1, "Creating ShaderInputs with modules", Object.keys(e))(), this.modules = e, this.moduleUniforms = {}, this.moduleBindings = {};
52289
+ Be.log(1, "Creating ShaderInputs with modules", Object.keys(e))(), this.modules = e, this.moduleUniforms = {}, this.moduleBindings = {};
52290
52290
  for (const [n, i] of Object.entries(e)) {
52291
52291
  const o = n;
52292
52292
  this.moduleUniforms[o] = i.defaultUniforms || {}, this.moduleBindings[o] = {};
@@ -52303,7 +52303,7 @@ class DHt {
52303
52303
  for (const n of Object.keys(e)) {
52304
52304
  const i = n, o = e[i], s = this.modules[i];
52305
52305
  if (!s) {
52306
- Fe.warn(`Module ${n} not found`)();
52306
+ Be.warn(`Module ${n} not found`)();
52307
52307
  continue;
52308
52308
  }
52309
52309
  const a = this.moduleUniforms[i], u = ((r = s.getUniforms) == null ? void 0 : r.call(s, o, this.moduleUniforms[i])) || o;
@@ -52618,11 +52618,11 @@ const Vl = 2, UHt = 1e4, lX = class cX {
52618
52618
  * @note Overrides any attributes previously set with the same name
52619
52619
  */
52620
52620
  setAttributes(e, r) {
52621
- e.indices && Fe.warn(`Model:${this.id} setAttributes() - indexBuffer should be set using setIndexBuffer()`)();
52621
+ e.indices && Be.warn(`Model:${this.id} setAttributes() - indexBuffer should be set using setIndexBuffer()`)();
52622
52622
  for (const [n, i] of Object.entries(e)) {
52623
52623
  const o = this.bufferLayout.find((u) => WR(u).includes(n));
52624
52624
  if (!o) {
52625
- Fe.warn(`Model(${this.id}): Missing layout for buffer "${n}".`)();
52625
+ Be.warn(`Model(${this.id}): Missing layout for buffer "${n}".`)();
52626
52626
  continue;
52627
52627
  }
52628
52628
  const s = WR(o);
@@ -52631,7 +52631,7 @@ const Vl = 2, UHt = 1e4, lX = class cX {
52631
52631
  const d = this._attributeInfos[u];
52632
52632
  d && (this.vertexArray.setBuffer(d.location, i), a = !0);
52633
52633
  }
52634
- !a && !((r == null ? void 0 : r.disableWarnings) ?? this.props.disableWarnings) && Fe.warn(`Model(${this.id}): Ignoring buffer "${i.id}" for unknown attribute "${n}"`)();
52634
+ !a && !((r == null ? void 0 : r.disableWarnings) ?? this.props.disableWarnings) && Be.warn(`Model(${this.id}): Ignoring buffer "${i.id}" for unknown attribute "${n}"`)();
52635
52635
  }
52636
52636
  this.setNeedsRedraw("attributes");
52637
52637
  }
@@ -52646,7 +52646,7 @@ const Vl = 2, UHt = 1e4, lX = class cX {
52646
52646
  setConstantAttributes(e, r) {
52647
52647
  for (const [n, i] of Object.entries(e)) {
52648
52648
  const o = this._attributeInfos[n];
52649
- o ? this.vertexArray.setConstantWebGL(o.location, i) : ((r == null ? void 0 : r.disableWarnings) ?? this.props.disableWarnings) || Fe.warn(`Model "${this.id}: Ignoring constant supplied for unknown attribute "${n}"`)();
52649
+ o ? this.vertexArray.setConstantWebGL(o.location, i) : ((r == null ? void 0 : r.disableWarnings) ?? this.props.disableWarnings) || Be.warn(`Model "${this.id}: Ignoring constant supplied for unknown attribute "${n}"`)();
52650
52650
  }
52651
52651
  this.setNeedsRedraw("constants");
52652
52652
  }
@@ -52693,7 +52693,7 @@ const Vl = 2, UHt = 1e4, lX = class cX {
52693
52693
  _updatePipeline() {
52694
52694
  if (this._pipelineNeedsUpdate) {
52695
52695
  let e = null, r = null;
52696
- this.pipeline && (Fe.log(1, `Model ${this.id}: Recreating pipeline because "${this._pipelineNeedsUpdate}".`)(), e = this.pipeline.vs, r = this.pipeline.fs), this._pipelineNeedsUpdate = !1;
52696
+ this.pipeline && (Be.log(1, `Model ${this.id}: Recreating pipeline because "${this._pipelineNeedsUpdate}".`)(), e = this.pipeline.vs, r = this.pipeline.fs), this._pipelineNeedsUpdate = !1;
52697
52697
  const n = this.shaderFactory.createShader({
52698
52698
  id: `${this.id}-vertex`,
52699
52699
  stage: "vertex",
@@ -52718,23 +52718,23 @@ const Vl = 2, UHt = 1e4, lX = class cX {
52718
52718
  return this.pipeline;
52719
52719
  }
52720
52720
  _logDrawCallStart() {
52721
- const e = Fe.level > 3 ? 0 : UHt;
52722
- Fe.level < 2 || Date.now() - this._lastLogTime < e || (this._lastLogTime = Date.now(), this._logOpen = !0, Fe.group(Vl, `>>> DRAWING MODEL ${this.id}`, { collapsed: Fe.level <= 2 })());
52721
+ const e = Be.level > 3 ? 0 : UHt;
52722
+ Be.level < 2 || Date.now() - this._lastLogTime < e || (this._lastLogTime = Date.now(), this._logOpen = !0, Be.group(Vl, `>>> DRAWING MODEL ${this.id}`, { collapsed: Be.level <= 2 })());
52723
52723
  }
52724
52724
  _logDrawCallEnd() {
52725
52725
  if (this._logOpen) {
52726
52726
  const e = jHt(this.pipeline.shaderLayout, this.id);
52727
- Fe.table(Vl, e)();
52727
+ Be.table(Vl, e)();
52728
52728
  const r = this.shaderInputs.getDebugTable();
52729
52729
  for (const [i, o] of Object.entries(this.uniforms))
52730
52730
  r[i] = { value: o };
52731
- Fe.table(Vl, r)();
52731
+ Be.table(Vl, r)();
52732
52732
  const n = this._getAttributeDebugTable();
52733
- Fe.table(Vl, this._attributeInfos)(), Fe.table(Vl, n)(), Fe.groupEnd(Vl)(), this._logOpen = !1;
52733
+ Be.table(Vl, this._attributeInfos)(), Be.table(Vl, n)(), Be.groupEnd(Vl)(), this._logOpen = !1;
52734
52734
  }
52735
52735
  }
52736
52736
  _logFramebuffer(e) {
52737
- const r = Fe.get("framebuffer");
52737
+ const r = Be.get("framebuffer");
52738
52738
  if (this._drawCount++, !r || this._drawCount++ > 3 && this._drawCount % 60)
52739
52739
  return;
52740
52740
  const n = e.props.framebuffer;
@@ -56390,7 +56390,7 @@ function pCt(t, e) {
56390
56390
  const i = e.stencilWriteMask;
56391
56391
  n.stencilMaskSeparate(1028, i), n.stencilMaskSeparate(1029, i);
56392
56392
  }
56393
- if (e.stencilReadMask && Fe.warn("stencilReadMask not supported under WebGL"), e.stencilCompare) {
56393
+ if (e.stencilReadMask && Be.warn("stencilReadMask not supported under WebGL"), e.stencilCompare) {
56394
56394
  const i = e.stencilReadMask || 4294967295, o = _w("depthCompare", e.stencilCompare);
56395
56395
  e.stencilCompare !== "always" ? n.enable(2960) : n.disable(2960), n.stencilFuncSeparate(1028, o, 0, i), n.stencilFuncSeparate(1029, o, 0, i);
56396
56396
  }
@@ -56797,7 +56797,7 @@ const yCt = {
56797
56797
  * rendering can be faster.
56798
56798
  */
56799
56799
  copyFramebuffer(e = {}) {
56800
- return Fe.error("Texture.copyFramebuffer({...}) is no logner supported, use copyToTexture(source, target, opts})")(), null;
56800
+ return Be.error("Texture.copyFramebuffer({...}) is no logner supported, use copyToTexture(source, target, opts})")(), null;
56801
56801
  }
56802
56802
  getActiveUnit() {
56803
56803
  return this.gl.getParameter(34016) - 33984;
@@ -56834,7 +56834,7 @@ const yCt = {
56834
56834
  return Promise.all(Array.isArray(Q) ? Q : [Q]);
56835
56835
  }));
56836
56836
  this.bind(), bw.FACES.forEach((T, Q) => {
56837
- f[Q].length > 1 && this.props.mipmaps !== !1 && Fe.warn(`${this.id} has mipmap and multiple LODs.`)(), f[Q].forEach((y, b) => {
56837
+ f[Q].length > 1 && this.props.mipmaps !== !1 && Be.warn(`${this.id} has mipmap and multiple LODs.`)(), f[Q].forEach((y, b) => {
56838
56838
  n && i ? r.texImage2D(T, b, a, n, i, 0, a, u, y) : r.texImage2D(T, b, a, a, u, y);
56839
56839
  });
56840
56840
  }), this.unbind();
@@ -56945,7 +56945,7 @@ function _Ct(t) {
56945
56945
  }
56946
56946
  }
56947
56947
  function vCt(t) {
56948
- Fe.log(1, "texture sampler parameters", t)();
56948
+ Be.log(1, "texture sampler parameters", t)();
56949
56949
  }
56950
56950
  class v9 extends iq {
56951
56951
  constructor(e, r) {
@@ -57100,7 +57100,7 @@ class xCt extends YS {
57100
57100
  }
57101
57101
  }
57102
57102
  const wCt = {
57103
- spector: Fe.get("spector") || Fe.get("spectorjs")
57103
+ spector: Be.get("spector") || Be.get("spectorjs")
57104
57104
  }, ECt = "https://cdn.jsdelivr.net/npm/spectorjs@0.9.30/dist/spector.bundle.js", MCt = 1;
57105
57105
  let u1 = null, cN = !1;
57106
57106
  async function SCt(t) {
@@ -57108,19 +57108,19 @@ async function SCt(t) {
57108
57108
  try {
57109
57109
  await Mq(ECt);
57110
57110
  } catch (e) {
57111
- Fe.warn(String(e));
57111
+ Be.warn(String(e));
57112
57112
  }
57113
57113
  }
57114
57114
  function HCt(t) {
57115
- if (t = { ...wCt, ...t }, !(t != null && t.spector) || (!u1 && globalThis.SPECTOR && (Fe.probe(MCt, "SPECTOR found and initialized")(), u1 = new globalThis.SPECTOR.Spector(), globalThis.luma && (globalThis.luma.spector = u1)), !u1))
57115
+ if (t = { ...wCt, ...t }, !(t != null && t.spector) || (!u1 && globalThis.SPECTOR && (Be.probe(MCt, "SPECTOR found and initialized")(), u1 = new globalThis.SPECTOR.Spector(), globalThis.luma && (globalThis.luma.spector = u1)), !u1))
57116
57116
  return null;
57117
- if (cN || (cN = !0, u1.spyCanvases(), u1 == null || u1.onCaptureStarted.add((e) => Fe.info("Spector capture started:", e)()), u1 == null || u1.onCapture.add((e) => {
57118
- Fe.info("Spector capture complete:", e)(), u1 == null || u1.getResultUI(), u1 == null || u1.resultView.display(), u1 == null || u1.resultView.addCapture(e);
57117
+ if (cN || (cN = !0, u1.spyCanvases(), u1 == null || u1.onCaptureStarted.add((e) => Be.info("Spector capture started:", e)()), u1 == null || u1.onCapture.add((e) => {
57118
+ Be.info("Spector capture complete:", e)(), u1 == null || u1.getResultUI(), u1 == null || u1.resultView.display(), u1 == null || u1.resultView.addCapture(e);
57119
57119
  })), t != null && t.canvas) {
57120
57120
  if (typeof t.spector == "string" && t.spector !== t.canvas.id)
57121
57121
  return u1;
57122
57122
  u1 == null || u1.startCapture(t == null ? void 0 : t.canvas, 500), new Promise((e) => setTimeout(e, 2e3)).then((e) => {
57123
- Fe.info("Spector capture stopped after 2 seconds")(), u1 == null || u1.stopCapture();
57123
+ Be.info("Spector capture stopped after 2 seconds")(), u1 == null || u1.stopCapture();
57124
57124
  });
57125
57125
  }
57126
57126
  return u1;
@@ -57141,7 +57141,7 @@ function PCt(t) {
57141
57141
  }
57142
57142
  function ICt(t, e) {
57143
57143
  if (!globalThis.WebGLDebugUtils)
57144
- return Fe.warn("webgl-debug not loaded")(), t;
57144
+ return Be.warn("webgl-debug not loaded")(), t;
57145
57145
  const r = EX(t);
57146
57146
  if (r.debugContext)
57147
57147
  return r.debugContext;
@@ -57163,20 +57163,20 @@ function Gb(t, e) {
57163
57163
  function kCt(t, e, r, n) {
57164
57164
  n = Array.from(n).map((a) => a === void 0 ? "undefined" : a);
57165
57165
  const i = globalThis.WebGLDebugUtils.glEnumToString(e), o = globalThis.WebGLDebugUtils.glFunctionArgsToString(r, n), s = `${i} in gl.${r}(${o})`;
57166
- Fe.error(s)();
57166
+ Be.error(s)();
57167
57167
  debugger;
57168
57168
  if (t.throwOnError)
57169
57169
  throw new Error(s);
57170
57170
  }
57171
57171
  function VCt(t, e, r) {
57172
57172
  let n = "";
57173
- if (Fe.level >= 1 && (n = Gb(e, r), Fe.log(1, n)()), t.break && t.break.length > 0 && (n = n || Gb(e, r), t.break.every((i) => n.indexOf(i) !== -1)))
57173
+ if (Be.level >= 1 && (n = Gb(e, r), Be.log(1, n)()), t.break && t.break.length > 0 && (n = n || Gb(e, r), t.break.every((i) => n.indexOf(i) !== -1)))
57174
57174
  debugger;
57175
57175
  for (const i of r)
57176
57176
  if (i === void 0) {
57177
57177
  if (n = n || Gb(e, r), t.throwOnError)
57178
57178
  throw new Error(`Undefined argument: ${n}`);
57179
- Fe.error(`Undefined argument: ${n}`)();
57179
+ Be.error(`Undefined argument: ${n}`)();
57180
57180
  debugger;
57181
57181
  }
57182
57182
  }
@@ -57248,7 +57248,7 @@ class NCt extends YW {
57248
57248
  e = ((n) => n.startsWith("#version ") ? n : `#version 100
57249
57249
  ${n}`)(e);
57250
57250
  const { gl: r } = this.device;
57251
- if (r.shaderSource(this.handle, e), r.compileShader(this.handle), Fe.level === 0) {
57251
+ if (r.shaderSource(this.handle, e), r.compileShader(this.handle), Be.level === 0) {
57252
57252
  this.compilationStatus = "pending";
57253
57253
  return;
57254
57254
  }
@@ -57257,7 +57257,7 @@ ${n}`)(e);
57257
57257
  throw new Error(`GLSL compilation errors in ${this.props.stage} shader ${this.props.id}`);
57258
57258
  return;
57259
57259
  }
57260
- Fe.once(1, "Shader compilation is asynchronous")(), await this._waitForCompilationComplete(), Fe.info(2, `Shader ${this.id} - async compilation complete: ${this.compilationStatus}`)(), this._getCompilationStatus(), this.debugShader();
57260
+ Be.once(1, "Shader compilation is asynchronous")(), await this._waitForCompilationComplete(), Be.info(2, `Shader ${this.id} - async compilation complete: ${this.compilationStatus}`)(), this._getCompilationStatus(), this.debugShader();
57261
57261
  }
57262
57262
  /** Use KHR_parallel_shader_compile extension if available */
57263
57263
  async _waitForCompilationComplete() {
@@ -57810,10 +57810,10 @@ class lOt extends Xm {
57810
57810
  constructor(e, r) {
57811
57811
  super(e, r), dt(this, "device"), dt(this, "handle"), dt(this, "vs"), dt(this, "fs"), dt(this, "introspectedLayout"), dt(this, "uniforms", {}), dt(this, "bindings", {}), dt(this, "varyings", null), dt(this, "_uniformCount", 0), dt(this, "_uniformSetters", {}), this.device = e, this.handle = this.props.handle || this.device.gl.createProgram(), this.device.setSpectorMetadata(this.handle, { id: this.props.id }), this.vs = r.vs, this.fs = r.fs;
57812
57812
  const { varyings: n, bufferMode: i = 35981 } = r;
57813
- switch (n && n.length > 0 && (this.varyings = n, this.device.gl.transformFeedbackVaryings(this.handle, n, i)), this._linkShaders(), Fe.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)(), this.introspectedLayout = KCt(this.device.gl, this.handle), Fe.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)(), this.shaderLayout = dEt(this.introspectedLayout, r.shaderLayout), this.props.topology) {
57813
+ switch (n && n.length > 0 && (this.varyings = n, this.device.gl.transformFeedbackVaryings(this.handle, n, i)), this._linkShaders(), Be.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)(), this.introspectedLayout = KCt(this.device.gl, this.handle), Be.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)(), this.shaderLayout = dEt(this.introspectedLayout, r.shaderLayout), this.props.topology) {
57814
57814
  case "triangle-fan-webgl":
57815
57815
  case "line-loop-webgl":
57816
- Fe.warn(`Primitive topology ${this.props.topology} is deprecated and will be removed in v9.1`);
57816
+ Be.warn(`Primitive topology ${this.props.topology} is deprecated and will be removed in v9.1`);
57817
57817
  break;
57818
57818
  }
57819
57819
  }
@@ -57829,10 +57829,10 @@ class lOt extends Xm {
57829
57829
  const o = this.shaderLayout.bindings.find((s) => s.name === n) || this.shaderLayout.bindings.find((s) => s.name === `${n}Uniforms`);
57830
57830
  if (!o) {
57831
57831
  const s = this.shaderLayout.bindings.map((a) => `"${a.name}"`).join(", ");
57832
- r != null && r.disableWarnings || Fe.warn(`Unknown binding "${n}" in render pipeline "${this.id}", expected one of ${s}`)();
57832
+ r != null && r.disableWarnings || Be.warn(`Unknown binding "${n}" in render pipeline "${this.id}", expected one of ${s}`)();
57833
57833
  continue;
57834
57834
  }
57835
- switch (i || Fe.warn(`Unsetting binding "${n}" in render pipeline "${this.id}"`)(), o.type) {
57835
+ switch (i || Be.warn(`Unsetting binding "${n}" in render pipeline "${this.id}"`)(), o.type) {
57836
57836
  case "uniform":
57837
57837
  if (!(i instanceof D6) && !(i.buffer instanceof D6))
57838
57838
  throw new Error("buffer value");
@@ -57842,7 +57842,7 @@ class lOt extends Xm {
57842
57842
  throw new Error("texture value");
57843
57843
  break;
57844
57844
  case "sampler":
57845
- Fe.warn(`Ignoring sampler ${n}`)();
57845
+ Be.warn(`Ignoring sampler ${n}`)();
57846
57846
  break;
57847
57847
  default:
57848
57848
  throw new Error(o.type);
@@ -57872,11 +57872,11 @@ class lOt extends Xm {
57872
57872
  transformFeedback: T
57873
57873
  } = e, Q = sOt(o), y = !!s.indexBuffer, b = (r = s.indexBuffer) == null ? void 0 : r.glIndexType;
57874
57874
  if (this.linkStatus !== "success")
57875
- return Fe.info(2, `RenderPipeline:${this.id}.draw() aborted - waiting for shader linking`)(), !1;
57875
+ return Be.info(2, `RenderPipeline:${this.id}.draw() aborted - waiting for shader linking`)(), !1;
57876
57876
  if (!this._areTexturesRenderable() || a === 0)
57877
- return Fe.info(2, `RenderPipeline:${this.id}.draw() aborted - textures not yet loaded`)(), !1;
57877
+ return Be.info(2, `RenderPipeline:${this.id}.draw() aborted - textures not yet loaded`)(), !1;
57878
57878
  if (a === 0)
57879
- return Fe.info(2, `RenderPipeline:${this.id}.draw() aborted - no vertices to draw`)(), !0;
57879
+ return Be.info(2, `RenderPipeline:${this.id}.draw() aborted - no vertices to draw`)(), !0;
57880
57880
  this.device.gl.useProgram(this.handle), s.bindBeforeRender(n), T && T.begin(this.props.topology), this._applyBindings(), this._applyUniforms();
57881
57881
  const v = n;
57882
57882
  return dCt(this.device, i, v.glParameters, () => {
@@ -57894,7 +57894,7 @@ class lOt extends Xm {
57894
57894
  setUniformsWebGL(e) {
57895
57895
  const { bindings: r } = Eq(e);
57896
57896
  Object.keys(r).forEach((n) => {
57897
- Fe.warn(`Unsupported value "${JSON.stringify(r[n])}" used in setUniforms() for key ${n}. Use setBindings() instead?`)();
57897
+ Be.warn(`Unsupported value "${JSON.stringify(r[n])}" used in setUniforms() for key ${n}. Use setBindings() instead?`)();
57898
57898
  }), Object.assign(this.uniforms, e);
57899
57899
  }
57900
57900
  // PRIVATE METHODS
@@ -57902,12 +57902,12 @@ class lOt extends Xm {
57902
57902
  // setBindings(bindings: Record<string, Binding>): void {}
57903
57903
  async _linkShaders() {
57904
57904
  const { gl: e } = this.device;
57905
- if (e.attachShader(this.handle, this.vs.handle), e.attachShader(this.handle, this.fs.handle), Fe.time(hN, `linkProgram for ${this.id}`)(), e.linkProgram(this.handle), Fe.timeEnd(hN, `linkProgram for ${this.id}`)(), Fe.level, !this.device.features.has("compilation-status-async-webgl")) {
57905
+ if (e.attachShader(this.handle, this.vs.handle), e.attachShader(this.handle, this.fs.handle), Be.time(hN, `linkProgram for ${this.id}`)(), e.linkProgram(this.handle), Be.timeEnd(hN, `linkProgram for ${this.id}`)(), Be.level, !this.device.features.has("compilation-status-async-webgl")) {
57906
57906
  const n = this._getLinkStatus();
57907
57907
  this._reportLinkStatus(n);
57908
57908
  return;
57909
57909
  }
57910
- Fe.once(1, "RenderPipeline linking is asynchronous")(), await this._waitForLinkComplete(), Fe.info(2, `RenderPipeline ${this.id} - async linking complete: ${this.linkStatus}`)();
57910
+ Be.once(1, "RenderPipeline linking is asynchronous")(), await this._waitForLinkComplete(), Be.info(2, `RenderPipeline ${this.id} - async linking complete: ${this.linkStatus}`)();
57911
57911
  const r = this._getLinkStatus();
57912
57912
  this._reportLinkStatus(r);
57913
57913
  }
@@ -57991,7 +57991,7 @@ class lOt extends Xm {
57991
57991
  else if (o instanceof R6)
57992
57992
  u = o;
57993
57993
  else if (o instanceof v9 && o.colorAttachments[0] instanceof w7)
57994
- Fe.warn("Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead")(), u = o.colorAttachments[0].texture;
57994
+ Be.warn("Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead")(), u = o.colorAttachments[0].texture;
57995
57995
  else
57996
57996
  throw new Error("No texture");
57997
57997
  e.activeTexture(33984 + r), e.bindTexture(u.target, u.handle), r += 1;
@@ -58334,7 +58334,7 @@ class mOt extends fEt {
58334
58334
  setBuffer(e, r) {
58335
58335
  const n = this._getVaryingIndex(e), { buffer: i, byteLength: o, byteOffset: s } = this._getBufferRange(r);
58336
58336
  if (n < 0) {
58337
- this.unusedBuffers[e] = i, Fe.warn(`${this.id} unusedBuffers varying buffer ${e}`)();
58337
+ this.unusedBuffers[e] = i, Be.warn(`${this.id} unusedBuffers varying buffer ${e}`)();
58338
58338
  return;
58339
58339
  }
58340
58340
  this.buffers[n] = { buffer: i, byteLength: o, byteOffset: s }, this.bindOnUse || this._bindBuffer(n, i, s, o);
@@ -58623,8 +58623,8 @@ const Bc = 1, OX = class Uu extends QQ {
58623
58623
  yX(this.gl, {
58624
58624
  enable: a,
58625
58625
  copyState: u,
58626
- log: (...d) => Fe.log(1, ...d)()
58627
- }), e.debug && (this.gl = OCt(this.gl, { ...e, throwOnError: !0 }), this.debug = !0, Fe.level = Math.max(Fe.level, 1), Fe.warn("WebGL debug mode activated. Performance reduced.")());
58626
+ log: (...d) => Be.log(1, ...d)()
58627
+ }), e.debug && (this.gl = OCt(this.gl, { ...e, throwOnError: !0 }), this.debug = !0, Be.level = Math.max(Be.level, 1), Be.warn("WebGL debug mode activated. Performance reduced.")());
58628
58628
  }
58629
58629
  //
58630
58630
  // Static methods, expected to be present by `luma.createDevice()`
@@ -58650,16 +58650,16 @@ const Bc = 1, OX = class Uu extends QQ {
58650
58650
  }
58651
58651
  static async create(e = {}) {
58652
58652
  var r;
58653
- Fe.groupCollapsed(Bc, "WebGLDevice created")();
58653
+ Be.groupCollapsed(Bc, "WebGLDevice created")();
58654
58654
  const n = [];
58655
58655
  e.debug && n.push(CCt()), e.spector && n.push(SCt()), typeof e.canvas == "string" && n.push(YS.pageLoaded);
58656
58656
  const i = await Promise.allSettled(n);
58657
58657
  for (const a of i)
58658
- a.status === "rejected" && Fe.error(`Failed to initialize debug libraries ${a.reason}`)();
58659
- if (Fe.probe(Bc + 1, "DOM is loaded")(), (r = e.gl) != null && r.device)
58660
- return Fe.warn("reattaching existing device")(), Uu.attach(e.gl);
58658
+ a.status === "rejected" && Be.error(`Failed to initialize debug libraries ${a.reason}`)();
58659
+ if (Be.probe(Bc + 1, "DOM is loaded")(), (r = e.gl) != null && r.device)
58660
+ return Be.warn("reattaching existing device")(), Uu.attach(e.gl);
58661
58661
  const o = new Uu(e), s = `Created ${o.type}${o.debug ? " debug" : ""} context: ${o.info.vendor}, ${o.info.renderer} for canvas: ${o.canvasContext.id}`;
58662
- return Fe.probe(Bc, s)(), Fe.table(Bc, o.info)(), Fe.groupEnd(Bc)(), o;
58662
+ return Be.probe(Bc, s)(), Be.table(Bc, o.info)(), Be.groupEnd(Bc)(), o;
58663
58663
  }
58664
58664
  /**
58665
58665
  * Destroys the context
@@ -58762,7 +58762,7 @@ const Bc = 1, OX = class Uu extends QQ {
58762
58762
  SOt(this, e);
58763
58763
  }
58764
58764
  resetWebGL() {
58765
- Fe.warn("WebGLDevice.resetWebGL is deprecated, use only for debugging")(), VAt(this.gl);
58765
+ Be.warn("WebGLDevice.resetWebGL is deprecated, use only for debugging")(), VAt(this.gl);
58766
58766
  }
58767
58767
  /**
58768
58768
  * Triggers device (or WebGL context) loss.
@@ -58815,7 +58815,7 @@ const Bc = 1, OX = class Uu extends QQ {
58815
58815
  const n = this.limits.maxVertexAttributes;
58816
58816
  this._constants = this._constants || new Array(n).fill(null);
58817
58817
  const i = this._constants[e];
58818
- switch (i && POt(i, r) && Fe.info(1, `setConstantAttributeWebGL(${e}) could have been skipped, value unchanged`)(), this._constants[e] = r, r.constructor) {
58818
+ switch (i && POt(i, r) && Be.info(1, `setConstantAttributeWebGL(${e}) could have been skipped, value unchanged`)(), this._constants[e] = r, r.constructor) {
58819
58819
  case Float32Array:
58820
58820
  AOt(this, e, r);
58821
58821
  break;
@@ -59003,7 +59003,7 @@ var PX = { exports: {} };
59003
59003
  var q = F.ownerDocument || F;
59004
59004
  return q.defaultView || q.parentWindow || e;
59005
59005
  }
59006
- var ir = /mobile|tablet|ip(ad|hone|od)|android/i, Dr = "ontouchstart" in e, ne = Gt(e, "PointerEvent") !== i, he = Dr && ir.test(navigator.userAgent), we = "touch", Oe = "pen", tr = "mouse", Je = "kinect", rr = 25, zt = 1, Yt = 2, Qe = 4, le = 8, ke = 1, cr = 2, Be = 4, Ue = 8, ar = 16, Ot = cr | Be, en = Ue | ar, rn = Ot | en, Cr = ["x", "y"], Or = ["clientX", "clientY"];
59006
+ var ir = /mobile|tablet|ip(ad|hone|od)|android/i, Dr = "ontouchstart" in e, ne = Gt(e, "PointerEvent") !== i, he = Dr && ir.test(navigator.userAgent), we = "touch", Oe = "pen", tr = "mouse", Je = "kinect", rr = 25, zt = 1, Yt = 2, Qe = 4, le = 8, ke = 1, cr = 2, je = 4, Ue = 8, ar = 16, Ot = cr | je, en = Ue | ar, rn = Ot | en, Cr = ["x", "y"], Or = ["clientX", "clientY"];
59007
59007
  function cn(F, q) {
59008
59008
  var rt = this;
59009
59009
  this.manager = F, this.callback = q, this.element = F.element, this.target = F.options.inputTarget, this.domHandler = function(ht) {
@@ -59102,7 +59102,7 @@ var PX = { exports: {} };
59102
59102
  };
59103
59103
  }
59104
59104
  function Un(F, q) {
59105
- return F === q ? ke : d(F) >= d(q) ? F < 0 ? cr : Be : q < 0 ? Ue : ar;
59105
+ return F === q ? ke : d(F) >= d(q) ? F < 0 ? cr : je : q < 0 ? Ue : ar;
59106
59106
  }
59107
59107
  function yi(F, q, rt) {
59108
59108
  rt || (rt = Cr);
@@ -59514,7 +59514,7 @@ var PX = { exports: {} };
59514
59514
  return F & W2 ? "cancel" : F & Yr ? "end" : F & go ? "move" : F & Ki ? "start" : "";
59515
59515
  }
59516
59516
  function k1(F) {
59517
- return F == ar ? "down" : F == Ue ? "up" : F == cr ? "left" : F == Be ? "right" : "";
59517
+ return F == ar ? "down" : F == Ue ? "up" : F == cr ? "left" : F == je ? "right" : "";
59518
59518
  }
59519
59519
  function _n(F, q) {
59520
59520
  var rt = q.manager;
@@ -59576,7 +59576,7 @@ var PX = { exports: {} };
59576
59576
  },
59577
59577
  directionTest: function(F) {
59578
59578
  var q = this.options, rt = !0, ht = F.distance, gt = F.direction, Wt = F.deltaX, se = F.deltaY;
59579
- return gt & q.direction || (q.direction & Ot ? (gt = Wt === 0 ? ke : Wt < 0 ? cr : Be, rt = Wt != this.pX, ht = Math.abs(F.deltaX)) : (gt = se === 0 ? ke : se < 0 ? Ue : ar, rt = se != this.pY, ht = Math.abs(F.deltaY))), F.direction = gt, rt && ht > q.threshold && gt & q.direction;
59579
+ return gt & q.direction || (q.direction & Ot ? (gt = Wt === 0 ? ke : Wt < 0 ? cr : je, rt = Wt != this.pX, ht = Math.abs(F.deltaX)) : (gt = se === 0 ? ke : se < 0 ? Ue : ar, rt = se != this.pY, ht = Math.abs(F.deltaY))), F.direction = gt, rt && ht > q.threshold && gt & q.direction;
59580
59580
  },
59581
59581
  attrTest: function(F) {
59582
59582
  return Mi.prototype.attrTest.call(this, F) && (this.state & Ki || !(this.state & Ki) && this.directionTest(F));
@@ -60012,7 +60012,7 @@ var PX = { exports: {} };
60012
60012
  STATE_FAILED: yn,
60013
60013
  DIRECTION_NONE: ke,
60014
60014
  DIRECTION_LEFT: cr,
60015
- DIRECTION_RIGHT: Be,
60015
+ DIRECTION_RIGHT: je,
60016
60016
  DIRECTION_UP: Ue,
60017
60017
  DIRECTION_DOWN: ar,
60018
60018
  DIRECTION_HORIZONTAL: Ot,
@@ -65556,7 +65556,7 @@ var sK = { exports: {} };
65556
65556
  throw new Error("You must overwrite toDisplayFeatures");
65557
65557
  };
65558
65558
  var ke = { drag: "onDrag", click: "onClick", mousemove: "onMouseMove", mousedown: "onMouseDown", mouseup: "onMouseUp", mouseout: "onMouseOut", keyup: "onKeyUp", keydown: "onKeyDown", touchstart: "onTouchStart", touchmove: "onTouchMove", touchend: "onTouchEnd", tap: "onTap" }, cr = Object.keys(ke);
65559
- function Be(I) {
65559
+ function je(I) {
65560
65560
  var $ = Object.keys(I);
65561
65561
  return function(F, q) {
65562
65562
  q === void 0 && (q = {});
@@ -65755,7 +65755,7 @@ var sK = { exports: {} };
65755
65755
  return ht.length === 1 && arguments.length !== 1 && (se = [Or({}, { type: gt }, Wt)]), ht.apply(rt, se);
65756
65756
  }, I.map = rt, I.events = function(gt) {
65757
65757
  var Wt = Object.keys(gt.options.modes).reduce(function(ce, Qr) {
65758
- return ce[Qr] = Be(gt.options.modes[Qr]), ce;
65758
+ return ce[Qr] = je(gt.options.modes[Qr]), ce;
65759
65759
  }, {}), se = {}, ge = {}, Ce = {}, be = null, Tr = null;
65760
65760
  Ce.drag = function(ce, Qr) {
65761
65761
  Qr({ point: ce.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? (gt.ui.queueMapClasses({ mouse: y.DRAG }), Tr.drag(ce)) : ce.originalEvent.stopPropagation();
@@ -66734,50 +66734,50 @@ var sK = { exports: {} };
66734
66734
  }
66735
66735
  }(), Bo = I4 && I4.isTypedArray;
66736
66736
  function c0(Nt, Zt) {
66737
- for (var Ne = -1, xr = Nt == null ? 0 : Nt.length; ++Ne < xr; )
66738
- if (Zt(Nt[Ne], Ne, Nt))
66737
+ for (var De = -1, xr = Nt == null ? 0 : Nt.length; ++De < xr; )
66738
+ if (Zt(Nt[De], De, Nt))
66739
66739
  return !0;
66740
66740
  return !1;
66741
66741
  }
66742
66742
  function la(Nt) {
66743
- var Zt = -1, Ne = Array(Nt.size);
66743
+ var Zt = -1, De = Array(Nt.size);
66744
66744
  return Nt.forEach(function(xr, Bn) {
66745
- Ne[++Zt] = [Bn, xr];
66746
- }), Ne;
66745
+ De[++Zt] = [Bn, xr];
66746
+ }), De;
66747
66747
  }
66748
66748
  function ln(Nt) {
66749
- var Zt = -1, Ne = Array(Nt.size);
66749
+ var Zt = -1, De = Array(Nt.size);
66750
66750
  return Nt.forEach(function(xr) {
66751
- Ne[++Zt] = xr;
66752
- }), Ne;
66751
+ De[++Zt] = xr;
66752
+ }), De;
66753
66753
  }
66754
66754
  var ca, ol, w3, k8 = Array.prototype, ua = Function.prototype, k4 = Object.prototype, V4 = y2["__core-js_shared__"], sl = ua.toString, jo = k4.hasOwnProperty, R4 = (ca = /[^.]+$/.exec(V4 && V4.keys && V4.keys.IE_PROTO || "")) ? "Symbol(src)_1." + ca : "", u0 = k4.toString, al = RegExp("^" + sl.call(jo).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), h0 = L3 ? y2.Buffer : void 0, E3 = y2.Symbol, X2 = y2.Uint8Array, d0 = k4.propertyIsEnumerable, V8 = k8.splice, Cs = E3 ? E3.toStringTag : void 0, p0 = Object.getOwnPropertySymbols, M3 = h0 ? h0.isBuffer : void 0, R8 = (ol = Object.keys, w3 = Object, function(Nt) {
66755
66755
  return ol(w3(Nt));
66756
66756
  }), ha = ro(y2, "DataView"), S3 = ro(y2, "Map"), f0 = ro(y2, "Promise"), N4 = ro(y2, "Set"), D4 = ro(y2, "WeakMap"), da = ro(Object, "create"), T0 = n2(ha), ll = n2(S3), F4 = n2(f0), _2 = n2(N4), H3 = n2(D4), B4 = E3 ? E3.prototype : void 0, A3 = B4 ? B4.valueOf : void 0;
66757
66757
  function K2(Nt) {
66758
- var Zt = -1, Ne = Nt == null ? 0 : Nt.length;
66759
- for (this.clear(); ++Zt < Ne; ) {
66758
+ var Zt = -1, De = Nt == null ? 0 : Nt.length;
66759
+ for (this.clear(); ++Zt < De; ) {
66760
66760
  var xr = Nt[Zt];
66761
66761
  this.set(xr[0], xr[1]);
66762
66762
  }
66763
66763
  }
66764
66764
  function zo(Nt) {
66765
- var Zt = -1, Ne = Nt == null ? 0 : Nt.length;
66766
- for (this.clear(); ++Zt < Ne; ) {
66765
+ var Zt = -1, De = Nt == null ? 0 : Nt.length;
66766
+ for (this.clear(); ++Zt < De; ) {
66767
66767
  var xr = Nt[Zt];
66768
66768
  this.set(xr[0], xr[1]);
66769
66769
  }
66770
66770
  }
66771
66771
  function fn(Nt) {
66772
- var Zt = -1, Ne = Nt == null ? 0 : Nt.length;
66773
- for (this.clear(); ++Zt < Ne; ) {
66772
+ var Zt = -1, De = Nt == null ? 0 : Nt.length;
66773
+ for (this.clear(); ++Zt < De; ) {
66774
66774
  var xr = Nt[Zt];
66775
66775
  this.set(xr[0], xr[1]);
66776
66776
  }
66777
66777
  }
66778
66778
  function pa(Nt) {
66779
- var Zt = -1, Ne = Nt == null ? 0 : Nt.length;
66780
- for (this.__data__ = new fn(); ++Zt < Ne; )
66779
+ var Zt = -1, De = Nt == null ? 0 : Nt.length;
66780
+ for (this.__data__ = new fn(); ++Zt < De; )
66781
66781
  this.add(Nt[Zt]);
66782
66782
  }
66783
66783
  function $r(Nt) {
@@ -66785,7 +66785,7 @@ var sK = { exports: {} };
66785
66785
  this.size = Zt.size;
66786
66786
  }
66787
66787
  function Q0(Nt, Zt) {
66788
- var Ne = Is(Nt), xr = !Ne && Ps(Nt), Bn = !Ne && !xr && Qa(Nt), qr = !Ne && !xr && !Bn && Y2(Nt), si = Ne || xr || Bn || qr, vi = si ? function(Si, R1) {
66788
+ var De = Is(Nt), xr = !De && Ps(Nt), Bn = !De && !xr && Qa(Nt), qr = !De && !xr && !Bn && Y2(Nt), si = De || xr || Bn || qr, vi = si ? function(Si, R1) {
66789
66789
  for (var x1 = -1, s1 = Array(Si); ++x1 < Si; )
66790
66790
  s1[x1] = R1(x1);
66791
66791
  return s1;
@@ -66795,21 +66795,21 @@ var sK = { exports: {} };
66795
66795
  return vi;
66796
66796
  }
66797
66797
  function An(Nt, Zt) {
66798
- for (var Ne = Nt.length; Ne--; )
66799
- if (z4(Nt[Ne][0], Zt))
66800
- return Ne;
66798
+ for (var De = Nt.length; De--; )
66799
+ if (z4(Nt[De][0], Zt))
66800
+ return De;
66801
66801
  return -1;
66802
66802
  }
66803
66803
  function wn(Nt) {
66804
66804
  return Nt == null ? Nt === void 0 ? "[object Undefined]" : "[object Null]" : Cs && Cs in Object(Nt) ? function(Zt) {
66805
- var Ne = jo.call(Zt, Cs), xr = Zt[Cs];
66805
+ var De = jo.call(Zt, Cs), xr = Zt[Cs];
66806
66806
  try {
66807
66807
  Zt[Cs] = void 0;
66808
66808
  var Bn = !0;
66809
66809
  } catch {
66810
66810
  }
66811
66811
  var qr = u0.call(Zt);
66812
- return Bn && (Ne ? Zt[Cs] = xr : delete Zt[Cs]), qr;
66812
+ return Bn && (De ? Zt[Cs] = xr : delete Zt[Cs]), qr;
66813
66813
  }(Nt) : function(Zt) {
66814
66814
  return u0.call(Zt);
66815
66815
  }(Nt);
@@ -66817,7 +66817,7 @@ var sK = { exports: {} };
66817
66817
  function fa(Nt) {
66818
66818
  return i2(Nt) && wn(Nt) == rt;
66819
66819
  }
66820
- function m0(Nt, Zt, Ne, xr, Bn) {
66820
+ function m0(Nt, Zt, De, xr, Bn) {
66821
66821
  return Nt === Zt || (Nt == null || Zt == null || !i2(Nt) && !i2(Zt) ? Nt != Nt && Zt != Zt : function(qr, si, vi, no, Ii, Si) {
66822
66822
  var R1 = Is(qr), x1 = Is(si), s1 = R1 ? ht : ji(qr), Uo = x1 ? ht : ji(si), ks = (s1 = s1 == rt ? Tr : s1) == Tr, Vs = (Uo = Uo == rt ? Tr : Uo) == Tr, v2 = s1 == Uo;
66823
66823
  if (v2 && Qa(qr)) {
@@ -66898,7 +66898,7 @@ var sK = { exports: {} };
66898
66898
  }
66899
66899
  return a1.delete(Mn), a1.delete(Qn), J2;
66900
66900
  }(qr, si, vi, no, Ii, Si)) : !1;
66901
- }(Nt, Zt, Ne, xr, m0, Bn));
66901
+ }(Nt, Zt, De, xr, m0, Bn));
66902
66902
  }
66903
66903
  function g0(Nt) {
66904
66904
  return !(!_0(Nt) || function(Zt) {
@@ -66906,21 +66906,21 @@ var sK = { exports: {} };
66906
66906
  }(Nt)) && (ma(Nt) ? al : O4).test(n2(Nt));
66907
66907
  }
66908
66908
  function j4(Nt) {
66909
- if (Ne = (Zt = Nt) && Zt.constructor, xr = typeof Ne == "function" && Ne.prototype || k4, Zt !== xr)
66909
+ if (De = (Zt = Nt) && Zt.constructor, xr = typeof De == "function" && De.prototype || k4, Zt !== xr)
66910
66910
  return R8(Nt);
66911
- var Zt, Ne, xr, Bn = [];
66911
+ var Zt, De, xr, Bn = [];
66912
66912
  for (var qr in Object(Nt))
66913
66913
  jo.call(Nt, qr) && qr != "constructor" && Bn.push(qr);
66914
66914
  return Bn;
66915
66915
  }
66916
- function C3(Nt, Zt, Ne, xr, Bn, qr) {
66917
- var si = 1 & Ne, vi = Nt.length, no = Zt.length;
66916
+ function C3(Nt, Zt, De, xr, Bn, qr) {
66917
+ var si = 1 & De, vi = Nt.length, no = Zt.length;
66918
66918
  if (vi != no && !(si && no > vi))
66919
66919
  return !1;
66920
66920
  var Ii = qr.get(Nt);
66921
66921
  if (Ii && qr.get(Zt))
66922
66922
  return Ii == Zt;
66923
- var Si = -1, R1 = !0, x1 = 2 & Ne ? new pa() : void 0;
66923
+ var Si = -1, R1 = !0, x1 = 2 & De ? new pa() : void 0;
66924
66924
  for (qr.set(Nt, Zt), qr.set(Zt, Nt); ++Si < vi; ) {
66925
66925
  var s1 = Nt[Si], Uo = Zt[Si];
66926
66926
  if (xr)
@@ -66933,14 +66933,14 @@ var sK = { exports: {} };
66933
66933
  }
66934
66934
  if (x1) {
66935
66935
  if (!c0(Zt, function(Vs, v2) {
66936
- if (o2 = v2, !x1.has(o2) && (s1 === Vs || Bn(s1, Vs, Ne, xr, qr)))
66936
+ if (o2 = v2, !x1.has(o2) && (s1 === Vs || Bn(s1, Vs, De, xr, qr)))
66937
66937
  return x1.push(v2);
66938
66938
  var o2;
66939
66939
  })) {
66940
66940
  R1 = !1;
66941
66941
  break;
66942
66942
  }
66943
- } else if (s1 !== Uo && !Bn(s1, Uo, Ne, xr, qr)) {
66943
+ } else if (s1 !== Uo && !Bn(s1, Uo, De, xr, qr)) {
66944
66944
  R1 = !1;
66945
66945
  break;
66946
66946
  }
@@ -66948,8 +66948,8 @@ var sK = { exports: {} };
66948
66948
  return qr.delete(Nt), qr.delete(Zt), R1;
66949
66949
  }
66950
66950
  function O3(Nt) {
66951
- return function(Zt, Ne, xr) {
66952
- var Bn = Ne(Zt);
66951
+ return function(Zt, De, xr) {
66952
+ var Bn = De(Zt);
66953
66953
  return Is(Zt) ? Bn : function(qr, si) {
66954
66954
  for (var vi = -1, no = si.length, Ii = qr.length; ++vi < no; )
66955
66955
  qr[Ii + vi] = si[vi];
@@ -66958,14 +66958,14 @@ var sK = { exports: {} };
66958
66958
  }(Nt, v0, Os);
66959
66959
  }
66960
66960
  function Ta(Nt, Zt) {
66961
- var Ne, xr, Bn = Nt.__data__;
66962
- return ((xr = typeof (Ne = Zt)) == "string" || xr == "number" || xr == "symbol" || xr == "boolean" ? Ne !== "__proto__" : Ne === null) ? Bn[typeof Zt == "string" ? "string" : "hash"] : Bn.map;
66961
+ var De, xr, Bn = Nt.__data__;
66962
+ return ((xr = typeof (De = Zt)) == "string" || xr == "number" || xr == "symbol" || xr == "boolean" ? De !== "__proto__" : De === null) ? Bn[typeof Zt == "string" ? "string" : "hash"] : Bn.map;
66963
66963
  }
66964
66964
  function ro(Nt, Zt) {
66965
- var Ne = function(xr, Bn) {
66965
+ var De = function(xr, Bn) {
66966
66966
  return xr == null ? void 0 : xr[Bn];
66967
66967
  }(Nt, Zt);
66968
- return g0(Ne) ? Ne : void 0;
66968
+ return g0(De) ? De : void 0;
66969
66969
  }
66970
66970
  K2.prototype.clear = function() {
66971
66971
  this.__data__ = da ? da(null) : {}, this.size = 0;
@@ -66975,29 +66975,29 @@ var sK = { exports: {} };
66975
66975
  }, K2.prototype.get = function(Nt) {
66976
66976
  var Zt = this.__data__;
66977
66977
  if (da) {
66978
- var Ne = Zt[Nt];
66979
- return Ne === F ? void 0 : Ne;
66978
+ var De = Zt[Nt];
66979
+ return De === F ? void 0 : De;
66980
66980
  }
66981
66981
  return jo.call(Zt, Nt) ? Zt[Nt] : void 0;
66982
66982
  }, K2.prototype.has = function(Nt) {
66983
66983
  var Zt = this.__data__;
66984
66984
  return da ? Zt[Nt] !== void 0 : jo.call(Zt, Nt);
66985
66985
  }, K2.prototype.set = function(Nt, Zt) {
66986
- var Ne = this.__data__;
66987
- return this.size += this.has(Nt) ? 0 : 1, Ne[Nt] = da && Zt === void 0 ? F : Zt, this;
66986
+ var De = this.__data__;
66987
+ return this.size += this.has(Nt) ? 0 : 1, De[Nt] = da && Zt === void 0 ? F : Zt, this;
66988
66988
  }, zo.prototype.clear = function() {
66989
66989
  this.__data__ = [], this.size = 0;
66990
66990
  }, zo.prototype.delete = function(Nt) {
66991
- var Zt = this.__data__, Ne = An(Zt, Nt);
66992
- return !(Ne < 0) && (Ne == Zt.length - 1 ? Zt.pop() : V8.call(Zt, Ne, 1), --this.size, !0);
66991
+ var Zt = this.__data__, De = An(Zt, Nt);
66992
+ return !(De < 0) && (De == Zt.length - 1 ? Zt.pop() : V8.call(Zt, De, 1), --this.size, !0);
66993
66993
  }, zo.prototype.get = function(Nt) {
66994
- var Zt = this.__data__, Ne = An(Zt, Nt);
66995
- return Ne < 0 ? void 0 : Zt[Ne][1];
66994
+ var Zt = this.__data__, De = An(Zt, Nt);
66995
+ return De < 0 ? void 0 : Zt[De][1];
66996
66996
  }, zo.prototype.has = function(Nt) {
66997
66997
  return An(this.__data__, Nt) > -1;
66998
66998
  }, zo.prototype.set = function(Nt, Zt) {
66999
- var Ne = this.__data__, xr = An(Ne, Nt);
67000
- return xr < 0 ? (++this.size, Ne.push([Nt, Zt])) : Ne[xr][1] = Zt, this;
66999
+ var De = this.__data__, xr = An(De, Nt);
67000
+ return xr < 0 ? (++this.size, De.push([Nt, Zt])) : De[xr][1] = Zt, this;
67001
67001
  }, fn.prototype.clear = function() {
67002
67002
  this.size = 0, this.__data__ = { hash: new K2(), map: new (S3 || zo)(), string: new K2() };
67003
67003
  }, fn.prototype.delete = function(Nt) {
@@ -67008,8 +67008,8 @@ var sK = { exports: {} };
67008
67008
  }, fn.prototype.has = function(Nt) {
67009
67009
  return Ta(this, Nt).has(Nt);
67010
67010
  }, fn.prototype.set = function(Nt, Zt) {
67011
- var Ne = Ta(this, Nt), xr = Ne.size;
67012
- return Ne.set(Nt, Zt), this.size += Ne.size == xr ? 0 : 1, this;
67011
+ var De = Ta(this, Nt), xr = De.size;
67012
+ return De.set(Nt, Zt), this.size += De.size == xr ? 0 : 1, this;
67013
67013
  }, pa.prototype.add = pa.prototype.push = function(Nt) {
67014
67014
  return this.__data__.set(Nt, F), this;
67015
67015
  }, pa.prototype.has = function(Nt) {
@@ -67017,27 +67017,27 @@ var sK = { exports: {} };
67017
67017
  }, $r.prototype.clear = function() {
67018
67018
  this.__data__ = new zo(), this.size = 0;
67019
67019
  }, $r.prototype.delete = function(Nt) {
67020
- var Zt = this.__data__, Ne = Zt.delete(Nt);
67021
- return this.size = Zt.size, Ne;
67020
+ var Zt = this.__data__, De = Zt.delete(Nt);
67021
+ return this.size = Zt.size, De;
67022
67022
  }, $r.prototype.get = function(Nt) {
67023
67023
  return this.__data__.get(Nt);
67024
67024
  }, $r.prototype.has = function(Nt) {
67025
67025
  return this.__data__.has(Nt);
67026
67026
  }, $r.prototype.set = function(Nt, Zt) {
67027
- var Ne = this.__data__;
67028
- if (Ne instanceof zo) {
67029
- var xr = Ne.__data__;
67027
+ var De = this.__data__;
67028
+ if (De instanceof zo) {
67029
+ var xr = De.__data__;
67030
67030
  if (!S3 || xr.length < 199)
67031
- return xr.push([Nt, Zt]), this.size = ++Ne.size, this;
67032
- Ne = this.__data__ = new fn(xr);
67031
+ return xr.push([Nt, Zt]), this.size = ++De.size, this;
67032
+ De = this.__data__ = new fn(xr);
67033
67033
  }
67034
- return Ne.set(Nt, Zt), this.size = Ne.size, this;
67034
+ return De.set(Nt, Zt), this.size = De.size, this;
67035
67035
  };
67036
67036
  var Os = p0 ? function(Nt) {
67037
- return Nt == null ? [] : (Nt = Object(Nt), function(Zt, Ne) {
67037
+ return Nt == null ? [] : (Nt = Object(Nt), function(Zt, De) {
67038
67038
  for (var xr = -1, Bn = Zt == null ? 0 : Zt.length, qr = 0, si = []; ++xr < Bn; ) {
67039
67039
  var vi = Zt[xr];
67040
- Ne(vi, xr, Zt) && (si[qr++] = vi);
67040
+ De(vi, xr, Zt) && (si[qr++] = vi);
67041
67041
  }
67042
67042
  return si;
67043
67043
  }(p0(Nt), function(Zt) {
@@ -67066,7 +67066,7 @@ var sK = { exports: {} };
67066
67066
  return Nt === Zt || Nt != Nt && Zt != Zt;
67067
67067
  }
67068
67068
  (ha && ji(new ha(new ArrayBuffer(1))) != Fn || S3 && ji(new S3()) != Ce || f0 && ji(f0.resolve()) != kn || N4 && ji(new N4()) != Tn || D4 && ji(new D4()) != xn) && (ji = function(Nt) {
67069
- var Zt = wn(Nt), Ne = Zt == Tr ? Nt.constructor : void 0, xr = Ne ? n2(Ne) : "";
67069
+ var Zt = wn(Nt), De = Zt == Tr ? Nt.constructor : void 0, xr = De ? n2(De) : "";
67070
67070
  if (xr)
67071
67071
  switch (xr) {
67072
67072
  case T0:
@@ -71884,18 +71884,18 @@ function wi() {
71884
71884
  d.cols = B;
71885
71885
  function G(zt, Yt, Qe, le, ke, cr) {
71886
71886
  ke === void 0 && (ke = ""), cr === void 0 && (cr = "");
71887
- var Be = zt.nodeFactory, Ue = Be.create("node", "mrow", [], { open: Yt, close: le, texClass: n.TEXCLASS.INNER }), ar;
71887
+ var je = zt.nodeFactory, Ue = je.create("node", "mrow", [], { open: Yt, close: le, texClass: n.TEXCLASS.INNER }), ar;
71888
71888
  if (ke)
71889
71889
  ar = new o.default("\\" + ke + "l" + Yt, zt.parser.stack.env, zt).mml();
71890
71890
  else {
71891
- var Ot = Be.create("text", Yt);
71892
- ar = Be.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: n.TEXCLASS.OPEN }, Ot);
71891
+ var Ot = je.create("text", Yt);
71892
+ ar = je.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: n.TEXCLASS.OPEN }, Ot);
71893
71893
  }
71894
71894
  if (i.default.appendChildren(Ue, [ar, Qe]), ke)
71895
71895
  ar = new o.default("\\" + ke + "r" + le, zt.parser.stack.env, zt).mml();
71896
71896
  else {
71897
- var en = Be.create("text", le);
71898
- ar = Be.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: n.TEXCLASS.CLOSE }, en);
71897
+ var en = je.create("text", le);
71898
+ ar = je.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: n.TEXCLASS.CLOSE }, en);
71899
71899
  }
71900
71900
  return cr && ar.attributes.set("mathcolor", cr), i.default.appendChildren(Ue, [ar]), Ue;
71901
71901
  }
@@ -71927,29 +71927,29 @@ function wi() {
71927
71927
  function at(zt, Yt, Qe, le) {
71928
71928
  if (zt.configuration.options.internalMath)
71929
71929
  return zt.configuration.options.internalMath(zt, Yt, Qe, le);
71930
- var ke = le || zt.stack.env.font, cr = ke ? { mathvariant: ke } : {}, Be = [], Ue = 0, ar = 0, Ot, en, rn = "", Cr = 0;
71930
+ var ke = le || zt.stack.env.font, cr = ke ? { mathvariant: ke } : {}, je = [], Ue = 0, ar = 0, Ot, en, rn = "", Cr = 0;
71931
71931
  if (Yt.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)) {
71932
71932
  for (; Ue < Yt.length; )
71933
71933
  if (Ot = Yt.charAt(Ue++), Ot === "$")
71934
- rn === "$" && Cr === 0 ? (en = zt.create("node", "TeXAtom", [new o.default(Yt.slice(ar, Ue - 1), {}, zt.configuration).mml()]), Be.push(en), rn = "", ar = Ue) : rn === "" && (ar < Ue - 1 && Be.push(et(zt, Yt.slice(ar, Ue - 1), cr)), rn = "$", ar = Ue);
71934
+ rn === "$" && Cr === 0 ? (en = zt.create("node", "TeXAtom", [new o.default(Yt.slice(ar, Ue - 1), {}, zt.configuration).mml()]), je.push(en), rn = "", ar = Ue) : rn === "" && (ar < Ue - 1 && je.push(et(zt, Yt.slice(ar, Ue - 1), cr)), rn = "$", ar = Ue);
71935
71935
  else if (Ot === "{" && rn !== "")
71936
71936
  Cr++;
71937
71937
  else if (Ot === "}")
71938
71938
  if (rn === "}" && Cr === 0) {
71939
71939
  var Or = new o.default(Yt.slice(ar, Ue), {}, zt.configuration).mml();
71940
- en = zt.create("node", "TeXAtom", [Or], cr), Be.push(en), rn = "", ar = Ue;
71940
+ en = zt.create("node", "TeXAtom", [Or], cr), je.push(en), rn = "", ar = Ue;
71941
71941
  } else
71942
71942
  rn !== "" && Cr && Cr--;
71943
71943
  else if (Ot === "\\")
71944
71944
  if (rn === "" && Yt.substr(Ue).match(/^(eq)?ref\s*\{/)) {
71945
71945
  var cn = RegExp["$&"].length;
71946
- ar < Ue - 1 && Be.push(et(zt, Yt.slice(ar, Ue - 1), cr)), rn = "}", ar = Ue - 1, Ue += cn;
71946
+ ar < Ue - 1 && je.push(et(zt, Yt.slice(ar, Ue - 1), cr)), rn = "}", ar = Ue - 1, Ue += cn;
71947
71947
  } else
71948
- Ot = Yt.charAt(Ue++), Ot === "(" && rn === "" ? (ar < Ue - 2 && Be.push(et(zt, Yt.slice(ar, Ue - 2), cr)), rn = ")", ar = Ue) : Ot === ")" && rn === ")" && Cr === 0 ? (en = zt.create("node", "TeXAtom", [new o.default(Yt.slice(ar, Ue - 2), {}, zt.configuration).mml()]), Be.push(en), rn = "", ar = Ue) : Ot.match(/[${}\\]/) && rn === "" && (Ue--, Yt = Yt.substr(0, Ue - 1) + Yt.substr(Ue));
71948
+ Ot = Yt.charAt(Ue++), Ot === "(" && rn === "" ? (ar < Ue - 2 && je.push(et(zt, Yt.slice(ar, Ue - 2), cr)), rn = ")", ar = Ue) : Ot === ")" && rn === ")" && Cr === 0 ? (en = zt.create("node", "TeXAtom", [new o.default(Yt.slice(ar, Ue - 2), {}, zt.configuration).mml()]), je.push(en), rn = "", ar = Ue) : Ot.match(/[${}\\]/) && rn === "" && (Ue--, Yt = Yt.substr(0, Ue - 1) + Yt.substr(Ue));
71949
71949
  if (rn !== "")
71950
71950
  throw new s.default("MathNotTerminated", "Math not terminated in text box");
71951
71951
  }
71952
- return ar < Yt.length && Be.push(et(zt, Yt.slice(ar), cr)), Qe != null ? Be = [zt.create("node", "mstyle", Be, { displaystyle: !1, scriptlevel: Qe })] : Be.length > 1 && (Be = [zt.create("node", "mrow", Be)]), Be;
71952
+ return ar < Yt.length && je.push(et(zt, Yt.slice(ar), cr)), Qe != null ? je = [zt.create("node", "mstyle", je, { displaystyle: !1, scriptlevel: Qe })] : je.length > 1 && (je = [zt.create("node", "mrow", je)]), je;
71953
71953
  }
71954
71954
  d.internalMath = at;
71955
71955
  function et(zt, Yt, Qe) {
@@ -71964,10 +71964,10 @@ function wi() {
71964
71964
  var cr = zt.create("node", "mo", [], { rspace: 0 });
71965
71965
  Yt = zt.create("node", "mrow", [cr, Yt]);
71966
71966
  }
71967
- var Be = zt.create("node", "munderover", [Yt]);
71968
- i.default.setChild(Be, le === "over" ? Be.over : Be.under, Qe);
71969
- var Ue = Be;
71970
- return ke && (Ue = zt.create("node", "TeXAtom", [Be], { texClass: n.TEXCLASS.OP, movesupsub: !0 })), i.default.setProperty(Ue, "subsupOK", !0), Ue;
71967
+ var je = zt.create("node", "munderover", [Yt]);
71968
+ i.default.setChild(je, le === "over" ? je.over : je.under, Qe);
71969
+ var Ue = je;
71970
+ return ke && (Ue = zt.create("node", "TeXAtom", [je], { texClass: n.TEXCLASS.OP, movesupsub: !0 })), i.default.setProperty(Ue, "subsupOK", !0), Ue;
71971
71971
  }
71972
71972
  d.underOver = mt;
71973
71973
  function It(zt) {
@@ -71988,19 +71988,19 @@ function wi() {
71988
71988
  d.setArrayAlign = ie;
71989
71989
  function _e(zt, Yt, Qe) {
71990
71990
  for (var le = "", ke = "", cr = 0; cr < Qe.length; ) {
71991
- var Be = Qe.charAt(cr++);
71992
- if (Be === "\\")
71993
- le += Be + Qe.charAt(cr++);
71994
- else if (Be === "#")
71995
- if (Be = Qe.charAt(cr++), Be === "#")
71996
- le += Be;
71991
+ var je = Qe.charAt(cr++);
71992
+ if (je === "\\")
71993
+ le += je + Qe.charAt(cr++);
71994
+ else if (je === "#")
71995
+ if (je = Qe.charAt(cr++), je === "#")
71996
+ le += je;
71997
71997
  else {
71998
- if (!Be.match(/[1-9]/) || parseInt(Be, 10) > Yt.length)
71998
+ if (!je.match(/[1-9]/) || parseInt(je, 10) > Yt.length)
71999
71999
  throw new s.default("IllegalMacroParam", "Illegal macro parameter reference");
72000
- ke = de(zt, de(zt, ke, le), Yt[parseInt(Be, 10) - 1]), le = "";
72000
+ ke = de(zt, de(zt, ke, le), Yt[parseInt(je, 10) - 1]), le = "";
72001
72001
  }
72002
72002
  else
72003
- le += Be;
72003
+ le += je;
72004
72004
  }
72005
72005
  return de(zt, ke, le);
72006
72006
  }
@@ -72025,7 +72025,7 @@ function wi() {
72025
72025
  function ne(zt, Yt) {
72026
72026
  var Qe = zt.copy(), le = Yt.configuration;
72027
72027
  return Qe.walkTree(function(ke) {
72028
- var cr, Be;
72028
+ var cr, je;
72029
72029
  le.addNode(ke.kind, ke);
72030
72030
  var Ue = (ke.getProperty("in-lists") || "").split(/,/);
72031
72031
  try {
@@ -72037,7 +72037,7 @@ function wi() {
72037
72037
  cr = { error: rn };
72038
72038
  } finally {
72039
72039
  try {
72040
- Ot && !Ot.done && (Be = ar.return) && Be.call(ar);
72040
+ Ot && !Ot.done && (je = ar.return) && je.call(ar);
72041
72041
  } finally {
72042
72042
  if (cr)
72043
72043
  throw cr.error;
@@ -72061,7 +72061,7 @@ function wi() {
72061
72061
  var cr = tr(zt);
72062
72062
  if (Yt)
72063
72063
  try {
72064
- for (var Be = e(Object.keys(cr)), Ue = Be.next(); !Ue.done; Ue = Be.next()) {
72064
+ for (var je = e(Object.keys(cr)), Ue = je.next(); !Ue.done; Ue = je.next()) {
72065
72065
  var ar = Ue.value;
72066
72066
  if (!Yt.hasOwnProperty(ar)) {
72067
72067
  if (Qe)
@@ -72073,7 +72073,7 @@ function wi() {
72073
72073
  le = { error: Ot };
72074
72074
  } finally {
72075
72075
  try {
72076
- Ue && !Ue.done && (ke = Be.return) && ke.call(Be);
72076
+ Ue && !Ue.done && (ke = je.return) && ke.call(je);
72077
72077
  } finally {
72078
72078
  if (le)
72079
72079
  throw le.error;
@@ -72083,8 +72083,8 @@ function wi() {
72083
72083
  }
72084
72084
  d.keyvalOptions = Oe;
72085
72085
  function tr(zt) {
72086
- for (var Yt, Qe, le = {}, ke = zt, cr, Be, Ue; ke; )
72087
- Yt = t(rr(ke, ["=", ","]), 3), Be = Yt[0], cr = Yt[1], ke = Yt[2], cr === "=" ? (Qe = t(rr(ke, [","]), 3), Ue = Qe[0], cr = Qe[1], ke = Qe[2], Ue = Ue === "false" || Ue === "true" ? JSON.parse(Ue) : Ue, le[Be] = Ue) : Be && (le[Be] = !0);
72086
+ for (var Yt, Qe, le = {}, ke = zt, cr, je, Ue; ke; )
72087
+ Yt = t(rr(ke, ["=", ","]), 3), je = Yt[0], cr = Yt[1], ke = Yt[2], cr === "=" ? (Qe = t(rr(ke, [","]), 3), Ue = Qe[0], cr = Qe[1], ke = Qe[2], Ue = Ue === "false" || Ue === "true" ? JSON.parse(Ue) : Ue, le[je] = Ue) : je && (le[je] = !0);
72088
72088
  return le;
72089
72089
  }
72090
72090
  function Je(zt, Yt) {
@@ -72093,27 +72093,27 @@ function wi() {
72093
72093
  return zt.trim();
72094
72094
  }
72095
72095
  function rr(zt, Yt) {
72096
- for (var Qe = zt.length, le = 0, ke = "", cr = 0, Be = 0, Ue = !0, ar = !1; cr < Qe; ) {
72096
+ for (var Qe = zt.length, le = 0, ke = "", cr = 0, je = 0, Ue = !0, ar = !1; cr < Qe; ) {
72097
72097
  var Ot = zt[cr++];
72098
72098
  switch (Ot) {
72099
72099
  case " ":
72100
72100
  break;
72101
72101
  case "{":
72102
- Ue ? Be++ : (ar = !1, Be > le && (Be = le)), le++;
72102
+ Ue ? je++ : (ar = !1, je > le && (je = le)), le++;
72103
72103
  break;
72104
72104
  case "}":
72105
- le && le--, (Ue || ar) && (Be--, ar = !0), Ue = !1;
72105
+ le && le--, (Ue || ar) && (je--, ar = !0), Ue = !1;
72106
72106
  break;
72107
72107
  default:
72108
72108
  if (!le && Yt.indexOf(Ot) !== -1)
72109
- return [ar ? "true" : Je(ke, Be), Ot, zt.slice(cr)];
72109
+ return [ar ? "true" : Je(ke, je), Ot, zt.slice(cr)];
72110
72110
  Ue = !1, ar = !1;
72111
72111
  }
72112
72112
  ke += Ot;
72113
72113
  }
72114
72114
  if (le)
72115
72115
  throw new s.default("ExtraOpenMissingClose", "Extra open brace or missing close brace");
72116
- return [ar ? "true" : Je(ke, Be), "", zt.slice(cr)];
72116
+ return [ar ? "true" : Je(ke, je), "", zt.slice(cr)];
72117
72117
  }
72118
72118
  }(u || (u = {})), tf.default = u, tf;
72119
72119
  }
@@ -74809,7 +74809,7 @@ var i8 = k && k.__assign || function() {
74809
74809
  return t && t.__esModule ? t : { default: t };
74810
74810
  };
74811
74811
  Object.defineProperty(g2, "__esModule", { value: !0 });
74812
- var bH = nRt(Ir), sr = cg(xi), P1 = cg(In), ug = cg(No()), LH = mo, d1 = cg(wi()), H8 = Vr, QK = H4, mK = _3, Jw = Yh, iRt = to, Lr = {}, oRt = 1.2 / 0.85, sRt = {
74812
+ var bH = nRt(Ir), sr = cg(xi), P1 = cg(In), ug = cg(No()), LH = mo, d1 = cg(wi()), H8 = Vr, QK = H4, mK = _3, Jw = Yh, iRt = to, br = {}, oRt = 1.2 / 0.85, sRt = {
74813
74813
  fontfamily: 1,
74814
74814
  fontsize: 1,
74815
74815
  fontweight: 1,
@@ -74821,18 +74821,18 @@ var bH = nRt(Ir), sr = cg(xi), P1 = cg(In), ug = cg(No()), LH = mo, d1 = cg(wi()
74821
74821
  href: 1,
74822
74822
  style: 1
74823
74823
  };
74824
- Lr.Open = function(t, e) {
74824
+ br.Open = function(t, e) {
74825
74825
  t.Push(t.itemFactory.create("open"));
74826
74826
  };
74827
- Lr.Close = function(t, e) {
74827
+ br.Close = function(t, e) {
74828
74828
  t.Push(t.itemFactory.create("close"));
74829
74829
  };
74830
- Lr.Tilde = function(t, e) {
74830
+ br.Tilde = function(t, e) {
74831
74831
  t.Push(t.create("token", "mtext", {}, Jw.entities.nbsp));
74832
74832
  };
74833
- Lr.Space = function(t, e) {
74833
+ br.Space = function(t, e) {
74834
74834
  };
74835
- Lr.Superscript = function(t, e) {
74835
+ br.Superscript = function(t, e) {
74836
74836
  var r;
74837
74837
  t.GetNext().match(/\d/) && (t.string = t.string.substr(0, t.i + 1) + " " + t.string.substr(t.i + 1));
74838
74838
  var n, i, o = t.stack.Top();
@@ -74846,7 +74846,7 @@ Lr.Superscript = function(t, e) {
74846
74846
  movesupsub: s
74847
74847
  }));
74848
74848
  };
74849
- Lr.Subscript = function(t, e) {
74849
+ br.Subscript = function(t, e) {
74850
74850
  var r;
74851
74851
  t.GetNext().match(/\d/) && (t.string = t.string.substr(0, t.i + 1) + " " + t.string.substr(t.i + 1));
74852
74852
  var n, i, o = t.stack.Top();
@@ -74860,7 +74860,7 @@ Lr.Subscript = function(t, e) {
74860
74860
  movesupsub: s
74861
74861
  }));
74862
74862
  };
74863
- Lr.Prime = function(t, e) {
74863
+ br.Prime = function(t, e) {
74864
74864
  var r = t.stack.Prev();
74865
74865
  if (r || (r = t.create("node", "mi")), sr.default.isType(r, "msubsup") && !sr.default.isType(r, "msup") && sr.default.getChildAt(r, r.sup))
74866
74866
  throw new P1.default("DoubleExponentPrime", "Prime causes double exponent: use braces to clarify");
@@ -74873,41 +74873,41 @@ Lr.Prime = function(t, e) {
74873
74873
  var i = t.create("token", "mo", { variantForm: !0 }, n);
74874
74874
  t.Push(t.itemFactory.create("prime", r, i));
74875
74875
  };
74876
- Lr.Comment = function(t, e) {
74876
+ br.Comment = function(t, e) {
74877
74877
  for (; t.i < t.string.length && t.string.charAt(t.i) !== `
74878
74878
  `; )
74879
74879
  t.i++;
74880
74880
  };
74881
- Lr.Hash = function(t, e) {
74881
+ br.Hash = function(t, e) {
74882
74882
  throw new P1.default("CantUseHash1", "You can't use 'macro parameter character #' in math mode");
74883
74883
  };
74884
- Lr.MathFont = function(t, e, r) {
74884
+ br.MathFont = function(t, e, r) {
74885
74885
  var n = t.GetArgument(e), i = new ug.default(n, i8(i8({}, t.stack.env), { font: r, multiLetterIdentifiers: /^[a-zA-Z]+/, noAutoOP: !0 }), t.configuration).mml();
74886
74886
  t.Push(t.create("node", "TeXAtom", [i]));
74887
74887
  };
74888
- Lr.SetFont = function(t, e, r) {
74888
+ br.SetFont = function(t, e, r) {
74889
74889
  t.stack.env.font = r;
74890
74890
  };
74891
- Lr.SetStyle = function(t, e, r, n, i) {
74891
+ br.SetStyle = function(t, e, r, n, i) {
74892
74892
  t.stack.env.style = r, t.stack.env.level = i, t.Push(t.itemFactory.create("style").setProperty("styles", { displaystyle: n, scriptlevel: i }));
74893
74893
  };
74894
- Lr.SetSize = function(t, e, r) {
74894
+ br.SetSize = function(t, e, r) {
74895
74895
  t.stack.env.size = r, t.Push(t.itemFactory.create("style").setProperty("styles", { mathsize: (0, mK.em)(r) }));
74896
74896
  };
74897
- Lr.Spacer = function(t, e, r) {
74897
+ br.Spacer = function(t, e, r) {
74898
74898
  var n = t.create("node", "mspace", [], { width: (0, mK.em)(r) }), i = t.create("node", "mstyle", [n], { scriptlevel: 0 });
74899
74899
  t.Push(i);
74900
74900
  };
74901
- Lr.LeftRight = function(t, e) {
74901
+ br.LeftRight = function(t, e) {
74902
74902
  var r = e.substr(1);
74903
74903
  t.Push(t.itemFactory.create(r, t.GetDelimiter(e), t.stack.env.color));
74904
74904
  };
74905
- Lr.NamedFn = function(t, e, r) {
74905
+ br.NamedFn = function(t, e, r) {
74906
74906
  r || (r = e.substr(1));
74907
74907
  var n = t.create("token", "mi", { texClass: H8.TEXCLASS.OP }, r);
74908
74908
  t.Push(t.itemFactory.create("fn", n));
74909
74909
  };
74910
- Lr.NamedOp = function(t, e, r) {
74910
+ br.NamedOp = function(t, e, r) {
74911
74911
  r || (r = e.substr(1)), r = r.replace(/&thinsp;/, " ");
74912
74912
  var n = t.create("token", "mo", {
74913
74913
  movablelimits: !0,
@@ -74917,22 +74917,22 @@ Lr.NamedOp = function(t, e, r) {
74917
74917
  }, r);
74918
74918
  t.Push(n);
74919
74919
  };
74920
- Lr.Limits = function(t, e, r) {
74920
+ br.Limits = function(t, e, r) {
74921
74921
  var n = t.stack.Prev(!0);
74922
74922
  if (!n || sr.default.getTexClass(sr.default.getCoreMO(n)) !== H8.TEXCLASS.OP && sr.default.getProperty(n, "movesupsub") == null)
74923
74923
  throw new P1.default("MisplacedLimits", "%1 is allowed only on operators", t.currentCS);
74924
74924
  var i = t.stack.Top(), o;
74925
74925
  sr.default.isType(n, "munderover") && !r ? (o = t.create("node", "msubsup"), sr.default.copyChildren(n, o), n = i.Last = o) : sr.default.isType(n, "msubsup") && r && (o = t.create("node", "munderover"), sr.default.copyChildren(n, o), n = i.Last = o), sr.default.setProperty(n, "movesupsub", !!r), sr.default.setProperties(sr.default.getCoreMO(n), { movablelimits: !1 }), (sr.default.getAttribute(n, "movablelimits") || sr.default.getProperty(n, "movablelimits")) && sr.default.setProperties(n, { movablelimits: !1 });
74926
74926
  };
74927
- Lr.Over = function(t, e, r, n) {
74927
+ br.Over = function(t, e, r, n) {
74928
74928
  var i = t.itemFactory.create("over").setProperty("name", t.currentCS);
74929
74929
  r || n ? (i.setProperty("open", r), i.setProperty("close", n)) : e.match(/withdelims$/) && (i.setProperty("open", t.GetDelimiter(e)), i.setProperty("close", t.GetDelimiter(e))), e.match(/^\\above/) ? i.setProperty("thickness", t.GetDimen(e)) : (e.match(/^\\atop/) || r || n) && i.setProperty("thickness", 0), t.Push(i);
74930
74930
  };
74931
- Lr.Frac = function(t, e) {
74931
+ br.Frac = function(t, e) {
74932
74932
  var r = t.ParseArg(e), n = t.ParseArg(e), i = t.create("node", "mfrac", [r, n]);
74933
74933
  t.Push(i);
74934
74934
  };
74935
- Lr.Sqrt = function(t, e) {
74935
+ br.Sqrt = function(t, e) {
74936
74936
  var r = t.GetBrackets(e), n = t.GetArgument(e);
74937
74937
  n === "\\frac" && (n += "{" + t.GetArgument(n) + "}{" + t.GetArgument(n) + "}");
74938
74938
  var i = new ug.default(n, t.stack.env, t.configuration).mml();
@@ -74948,11 +74948,11 @@ function gK(t, e) {
74948
74948
  }
74949
74949
  return r.inRoot = n, o;
74950
74950
  }
74951
- Lr.Root = function(t, e) {
74951
+ br.Root = function(t, e) {
74952
74952
  var r = t.GetUpTo(e, "\\of"), n = t.ParseArg(e), i = t.create("node", "mroot", [n, gK(t, r)]);
74953
74953
  t.Push(i);
74954
74954
  };
74955
- Lr.MoveRoot = function(t, e, r) {
74955
+ br.MoveRoot = function(t, e, r) {
74956
74956
  if (!t.stack.env.inRoot)
74957
74957
  throw new P1.default("MisplacedMoveRoot", "%1 can appear only within a root", t.currentCS);
74958
74958
  if (t.stack.global[r])
@@ -74962,7 +74962,7 @@ Lr.MoveRoot = function(t, e, r) {
74962
74962
  throw new P1.default("IntegerArg", "The argument to %1 must be an integer", t.currentCS);
74963
74963
  n = parseInt(n, 10) / 15 + "em", n.substr(0, 1) !== "-" && (n = "+" + n), t.stack.global[r] = n;
74964
74964
  };
74965
- Lr.Accent = function(t, e, r, n) {
74965
+ br.Accent = function(t, e, r, n) {
74966
74966
  var i = t.ParseArg(e), o = i8(i8({}, d1.default.getFontDef(t)), { accent: !0, mathaccent: !0 }), s = sr.default.createEntity(r), a = t.create("token", "mo", o, s), u = a;
74967
74967
  sr.default.setAttribute(u, "stretchy", !!n);
74968
74968
  var d = sr.default.isEmbellished(i) ? sr.default.getCoreMO(i) : i;
@@ -74972,29 +74972,29 @@ Lr.Accent = function(t, e, r, n) {
74972
74972
  var T = t.create("node", "TeXAtom", [f]);
74973
74973
  t.Push(T);
74974
74974
  };
74975
- Lr.UnderOver = function(t, e, r, n) {
74975
+ br.UnderOver = function(t, e, r, n) {
74976
74976
  var i = sr.default.createEntity(r), o = t.create("token", "mo", { stretchy: !0, accent: !0 }, i), s = e.charAt(1) === "o" ? "over" : "under", a = t.ParseArg(e);
74977
74977
  t.Push(d1.default.underOver(t, a, o, s, n));
74978
74978
  };
74979
- Lr.Overset = function(t, e) {
74979
+ br.Overset = function(t, e) {
74980
74980
  var r = t.ParseArg(e), n = t.ParseArg(e);
74981
74981
  d1.default.checkMovableLimits(n), r.isKind("mo") && sr.default.setAttribute(r, "accent", !1);
74982
74982
  var i = t.create("node", "mover", [n, r]);
74983
74983
  t.Push(i);
74984
74984
  };
74985
- Lr.Underset = function(t, e) {
74985
+ br.Underset = function(t, e) {
74986
74986
  var r = t.ParseArg(e), n = t.ParseArg(e);
74987
74987
  d1.default.checkMovableLimits(n), r.isKind("mo") && sr.default.setAttribute(r, "accent", !1);
74988
74988
  var i = t.create("node", "munder", [n, r], { accentunder: !1 });
74989
74989
  t.Push(i);
74990
74990
  };
74991
- Lr.Overunderset = function(t, e) {
74991
+ br.Overunderset = function(t, e) {
74992
74992
  var r = t.ParseArg(e), n = t.ParseArg(e), i = t.ParseArg(e);
74993
74993
  d1.default.checkMovableLimits(i), r.isKind("mo") && sr.default.setAttribute(r, "accent", !1), n.isKind("mo") && sr.default.setAttribute(n, "accent", !1);
74994
74994
  var o = t.create("node", "munderover", [i, n, r], { accent: !1, accentunder: !1 });
74995
74995
  t.Push(o);
74996
74996
  };
74997
- Lr.TeXAtom = function(t, e, r) {
74997
+ br.TeXAtom = function(t, e, r) {
74998
74998
  var n = { texClass: r }, i, o, s;
74999
74999
  if (r === H8.TEXCLASS.OP) {
75000
75000
  n.movesupsub = n.movablelimits = !0;
@@ -75004,7 +75004,7 @@ Lr.TeXAtom = function(t, e, r) {
75004
75004
  s = t.ParseArg(e), i = t.create("node", "TeXAtom", [s], n);
75005
75005
  t.Push(i);
75006
75006
  };
75007
- Lr.MmlToken = function(t, e) {
75007
+ br.MmlToken = function(t, e) {
75008
75008
  var r = t.GetArgument(e), n = t.GetBrackets(e, "").replace(/^\s+/, ""), i = t.GetArgument(e), o = {}, s = [], a;
75009
75009
  try {
75010
75010
  a = t.create("node", r);
@@ -75026,17 +75026,17 @@ Lr.MmlToken = function(t, e) {
75026
75026
  var f = t.create("text", i);
75027
75027
  a.appendChild(f), sr.default.setProperties(a, o), t.Push(a);
75028
75028
  };
75029
- Lr.Strut = function(t, e) {
75029
+ br.Strut = function(t, e) {
75030
75030
  var r = t.create("node", "mrow"), n = t.create("node", "mpadded", [r], { height: "8.6pt", depth: "3pt", width: 0 });
75031
75031
  t.Push(n);
75032
75032
  };
75033
- Lr.Phantom = function(t, e, r, n) {
75033
+ br.Phantom = function(t, e, r, n) {
75034
75034
  var i = t.create("node", "mphantom", [t.ParseArg(e)]);
75035
75035
  (r || n) && (i = t.create("node", "mpadded", [i]), n && (sr.default.setAttribute(i, "height", 0), sr.default.setAttribute(i, "depth", 0)), r && sr.default.setAttribute(i, "width", 0));
75036
75036
  var o = t.create("node", "TeXAtom", [i]);
75037
75037
  t.Push(o);
75038
75038
  };
75039
- Lr.Smash = function(t, e) {
75039
+ br.Smash = function(t, e) {
75040
75040
  var r = d1.default.trimSpaces(t.GetBrackets(e, "")), n = t.create("node", "mpadded", [t.ParseArg(e)]);
75041
75041
  switch (r) {
75042
75042
  case "b":
@@ -75051,17 +75051,17 @@ Lr.Smash = function(t, e) {
75051
75051
  var i = t.create("node", "TeXAtom", [n]);
75052
75052
  t.Push(i);
75053
75053
  };
75054
- Lr.Lap = function(t, e) {
75054
+ br.Lap = function(t, e) {
75055
75055
  var r = t.create("node", "mpadded", [t.ParseArg(e)], { width: 0 });
75056
75056
  e === "\\llap" && sr.default.setAttribute(r, "lspace", "-1width");
75057
75057
  var n = t.create("node", "TeXAtom", [r]);
75058
75058
  t.Push(n);
75059
75059
  };
75060
- Lr.RaiseLower = function(t, e) {
75060
+ br.RaiseLower = function(t, e) {
75061
75061
  var r = t.GetDimen(e), n = t.itemFactory.create("position").setProperties({ name: t.currentCS, move: "vertical" });
75062
75062
  r.charAt(0) === "-" && (r = r.slice(1), e = e.substr(1) === "raise" ? "\\lower" : "\\raise"), e === "\\lower" ? (n.setProperty("dh", "-" + r), n.setProperty("dd", "+" + r)) : (n.setProperty("dh", "+" + r), n.setProperty("dd", "-" + r)), t.Push(n);
75063
75063
  };
75064
- Lr.MoveLeftRight = function(t, e) {
75064
+ br.MoveLeftRight = function(t, e) {
75065
75065
  var r = t.GetDimen(e), n = r.charAt(0) === "-" ? r.slice(1) : "-" + r;
75066
75066
  if (e === "\\moveleft") {
75067
75067
  var i = r;
@@ -75074,20 +75074,20 @@ Lr.MoveLeftRight = function(t, e) {
75074
75074
  right: t.create("node", "mspace", [], { width: n })
75075
75075
  }));
75076
75076
  };
75077
- Lr.Hskip = function(t, e) {
75077
+ br.Hskip = function(t, e) {
75078
75078
  var r = t.create("node", "mspace", [], { width: t.GetDimen(e) });
75079
75079
  t.Push(r);
75080
75080
  };
75081
- Lr.Nonscript = function(t, e) {
75081
+ br.Nonscript = function(t, e) {
75082
75082
  t.Push(t.itemFactory.create("nonscript"));
75083
75083
  };
75084
- Lr.Rule = function(t, e, r) {
75084
+ br.Rule = function(t, e, r) {
75085
75085
  var n = t.GetDimen(e), i = t.GetDimen(e), o = t.GetDimen(e), s = { width: n, height: i, depth: o };
75086
75086
  r !== "blank" && (s.mathbackground = t.stack.env.color || "black");
75087
75087
  var a = t.create("node", "mspace", [], s);
75088
75088
  t.Push(a);
75089
75089
  };
75090
- Lr.rule = function(t, e) {
75090
+ br.rule = function(t, e) {
75091
75091
  var r = t.GetBrackets(e), n = t.GetDimen(e), i = t.GetDimen(e), o = t.create("node", "mspace", [], {
75092
75092
  width: n,
75093
75093
  height: i,
@@ -75095,7 +75095,7 @@ Lr.rule = function(t, e) {
75095
75095
  });
75096
75096
  r && (o = t.create("node", "mpadded", [o], { voffset: r }), r.match(/^\-/) ? (sr.default.setAttribute(o, "height", r), sr.default.setAttribute(o, "depth", "+" + r.substr(1))) : sr.default.setAttribute(o, "height", "+" + r)), t.Push(o);
75097
75097
  };
75098
- Lr.MakeBig = function(t, e, r, n) {
75098
+ br.MakeBig = function(t, e, r, n) {
75099
75099
  n *= oRt;
75100
75100
  var i = String(n).replace(/(\.\d\d\d).+/, "$1") + "em", o = t.GetDelimiter(e, !0), s = t.create("token", "mo", {
75101
75101
  minsize: i,
@@ -75106,20 +75106,20 @@ Lr.MakeBig = function(t, e, r, n) {
75106
75106
  }, o), a = t.create("node", "TeXAtom", [s], { texClass: r });
75107
75107
  t.Push(a);
75108
75108
  };
75109
- Lr.BuildRel = function(t, e) {
75109
+ br.BuildRel = function(t, e) {
75110
75110
  var r = t.ParseUpTo(e, "\\over"), n = t.ParseArg(e), i = t.create("node", "munderover");
75111
75111
  sr.default.setChild(i, 0, n), sr.default.setChild(i, 1, null), sr.default.setChild(i, 2, r);
75112
75112
  var o = t.create("node", "TeXAtom", [i], { texClass: H8.TEXCLASS.REL });
75113
75113
  t.Push(o);
75114
75114
  };
75115
- Lr.HBox = function(t, e, r, n) {
75115
+ br.HBox = function(t, e, r, n) {
75116
75116
  t.PushAll(d1.default.internalMath(t, t.GetArgument(e), r, n));
75117
75117
  };
75118
- Lr.FBox = function(t, e) {
75118
+ br.FBox = function(t, e) {
75119
75119
  var r = d1.default.internalMath(t, t.GetArgument(e)), n = t.create("node", "menclose", r, { notation: "box" });
75120
75120
  t.Push(n);
75121
75121
  };
75122
- Lr.FrameBox = function(t, e) {
75122
+ br.FrameBox = function(t, e) {
75123
75123
  var r = t.GetBrackets(e), n = t.GetBrackets(e) || "c", i = d1.default.internalMath(t, t.GetArgument(e));
75124
75124
  r && (i = [t.create("node", "mpadded", i, {
75125
75125
  width: r,
@@ -75128,17 +75128,17 @@ Lr.FrameBox = function(t, e) {
75128
75128
  var o = t.create("node", "TeXAtom", [t.create("node", "menclose", i, { notation: "box" })], { texClass: H8.TEXCLASS.ORD });
75129
75129
  t.Push(o);
75130
75130
  };
75131
- Lr.Not = function(t, e) {
75131
+ br.Not = function(t, e) {
75132
75132
  t.Push(t.itemFactory.create("not"));
75133
75133
  };
75134
- Lr.Dots = function(t, e) {
75134
+ br.Dots = function(t, e) {
75135
75135
  var r = sr.default.createEntity("2026"), n = sr.default.createEntity("22EF"), i = t.create("token", "mo", { stretchy: !1 }, r), o = t.create("token", "mo", { stretchy: !1 }, n);
75136
75136
  t.Push(t.itemFactory.create("dots").setProperties({
75137
75137
  ldots: i,
75138
75138
  cdots: o
75139
75139
  }));
75140
75140
  };
75141
- Lr.Matrix = function(t, e, r, n, i, o, s, a, u, d) {
75141
+ br.Matrix = function(t, e, r, n, i, o, s, a, u, d) {
75142
75142
  var f = t.GetNext();
75143
75143
  if (f === "")
75144
75144
  throw new P1.default("MissingArgFor", "Missing argument for %1", t.currentCS);
@@ -75149,7 +75149,7 @@ Lr.Matrix = function(t, e, r, n, i, o, s, a, u, d) {
75149
75149
  columnspacing: o || "1em"
75150
75150
  }, u && T.setProperty("isCases", !0), d && (T.setProperty("isNumbered", !0), T.arraydef.side = d), (r || n) && (T.setProperty("open", r), T.setProperty("close", n)), a === "D" && (T.arraydef.displaystyle = !0), i != null && (T.arraydef.columnalign = i), t.Push(T);
75151
75151
  };
75152
- Lr.Entry = function(t, e) {
75152
+ br.Entry = function(t, e) {
75153
75153
  t.Push(t.itemFactory.create("cell").setProperties({ isEntry: !0, name: e }));
75154
75154
  var r = t.stack.Top(), n = r.getProperty("casesEnv"), i = r.getProperty("isCases");
75155
75155
  if (!(!i && !n)) {
@@ -75176,10 +75176,10 @@ Lr.Entry = function(t, e) {
75176
75176
  }
75177
75177
  }
75178
75178
  };
75179
- Lr.Cr = function(t, e) {
75179
+ br.Cr = function(t, e) {
75180
75180
  t.Push(t.itemFactory.create("cell").setProperties({ isCR: !0, name: e }));
75181
75181
  };
75182
- Lr.CrLaTeX = function(t, e, r) {
75182
+ br.CrLaTeX = function(t, e, r) {
75183
75183
  r === void 0 && (r = !1);
75184
75184
  var n;
75185
75185
  if (!r && (t.string.charAt(t.i) === "*" && t.i++, t.string.charAt(t.i) === "[")) {
@@ -75192,7 +75192,7 @@ Lr.CrLaTeX = function(t, e, r) {
75192
75192
  var u = t.stack.Top(), d;
75193
75193
  u instanceof bH.ArrayItem ? n && u.addRowSpacing(n) : (n && (d = t.create("node", "mspace", [], { depth: n }), t.Push(d)), d = t.create("node", "mspace", [], { linebreak: LH.TexConstant.LineBreak.NEWLINE }), t.Push(d));
75194
75194
  };
75195
- Lr.HLine = function(t, e, r) {
75195
+ br.HLine = function(t, e, r) {
75196
75196
  r == null && (r = "solid");
75197
75197
  var n = t.stack.Top();
75198
75198
  if (!(n instanceof bH.ArrayItem) || n.Size())
@@ -75205,14 +75205,14 @@ Lr.HLine = function(t, e, r) {
75205
75205
  i[n.table.length - 1] = r, n.arraydef.rowlines = i.join(" ");
75206
75206
  }
75207
75207
  };
75208
- Lr.HFill = function(t, e) {
75208
+ br.HFill = function(t, e) {
75209
75209
  var r = t.stack.Top();
75210
75210
  if (r instanceof bH.ArrayItem)
75211
75211
  r.hfill.push(r.Size());
75212
75212
  else
75213
75213
  throw new P1.default("UnsupportedHFill", "Unsupported use of %1", t.currentCS);
75214
75214
  };
75215
- Lr.BeginEnd = function(t, e) {
75215
+ br.BeginEnd = function(t, e) {
75216
75216
  var r = t.GetArgument(e);
75217
75217
  if (r.match(/\\/i))
75218
75218
  throw new P1.default("InvalidEnv", "Invalid environment name '%1'", r);
@@ -75227,7 +75227,7 @@ Lr.BeginEnd = function(t, e) {
75227
75227
  }
75228
75228
  d1.default.checkMaxMacros(t, !1), t.parse("environment", [t, r]);
75229
75229
  };
75230
- Lr.Array = function(t, e, r, n, i, o, s, a, u) {
75230
+ br.Array = function(t, e, r, n, i, o, s, a, u) {
75231
75231
  i || (i = t.GetArgument("\\begin{" + e.getName() + "}"));
75232
75232
  var d = ("c" + i).replace(/[^clr|:]/g, "").replace(/[^|:]([|:])+/g, "$1");
75233
75233
  i = i.replace(/[^clr]/g, "").split("").join(" "), i = i.replace(/l/g, "left").replace(/r/g, "right").replace(/c/g, "center");
@@ -75238,14 +75238,14 @@ Lr.Array = function(t, e, r, n, i, o, s, a, u) {
75238
75238
  rowspacing: s || "4pt"
75239
75239
  }, d.match(/[|:]/) && (d.charAt(0).match(/[|:]/) && (f.frame.push("left"), f.dashed = d.charAt(0) === ":"), d.charAt(d.length - 1).match(/[|:]/) && f.frame.push("right"), d = d.substr(1, d.length - 2), f.arraydef.columnlines = d.split("").join(" ").replace(/[^|: ]/g, "none").replace(/\|/g, "solid").replace(/:/g, "dashed")), r && f.setProperty("open", t.convertDelimiter(r)), n && f.setProperty("close", t.convertDelimiter(n)), (a || "").charAt(1) === "'" && (f.arraydef["data-cramped"] = !0, a = a.charAt(0)), a === "D" ? f.arraydef.displaystyle = !0 : a && (f.arraydef.displaystyle = !1), a === "S" && (f.arraydef.scriptlevel = 1), u && (f.arraydef.useHeight = !1), t.Push(e), f;
75240
75240
  };
75241
- Lr.AlignedArray = function(t, e) {
75242
- var r = t.GetBrackets("\\begin{" + e.getName() + "}"), n = Lr.Array(t, e);
75241
+ br.AlignedArray = function(t, e) {
75242
+ var r = t.GetBrackets("\\begin{" + e.getName() + "}"), n = br.Array(t, e);
75243
75243
  return d1.default.setArrayAlign(n, r);
75244
75244
  };
75245
- Lr.Equation = function(t, e, r) {
75245
+ br.Equation = function(t, e, r) {
75246
75246
  return t.Push(e), d1.default.checkEqnEnv(t), t.itemFactory.create("equation", r).setProperty("name", e.getName());
75247
75247
  };
75248
- Lr.EqnArray = function(t, e, r, n, i, o) {
75248
+ br.EqnArray = function(t, e, r, n, i, o) {
75249
75249
  t.Push(e), n && d1.default.checkEqnEnv(t), i = i.replace(/[^clr]/g, "").split("").join(" "), i = i.replace(/l/g, "left").replace(/r/g, "right").replace(/c/g, "center");
75250
75250
  var s = t.itemFactory.create("eqnarray", e.getName(), r, n, t.stack.global);
75251
75251
  return s.arraydef = {
@@ -75257,10 +75257,10 @@ Lr.EqnArray = function(t, e, r, n, i, o) {
75257
75257
  minlabelspacing: t.options.tagIndent
75258
75258
  }, s;
75259
75259
  };
75260
- Lr.HandleNoTag = function(t, e) {
75260
+ br.HandleNoTag = function(t, e) {
75261
75261
  t.tags.notag();
75262
75262
  };
75263
- Lr.HandleLabel = function(t, e) {
75263
+ br.HandleLabel = function(t, e) {
75264
75264
  var r = t.GetArgument(e);
75265
75265
  if (r !== "" && !t.tags.refUpdate) {
75266
75266
  if (t.tags.label)
@@ -75270,7 +75270,7 @@ Lr.HandleLabel = function(t, e) {
75270
75270
  t.tags.labels[r] = new QK.Label();
75271
75271
  }
75272
75272
  };
75273
- Lr.HandleRef = function(t, e, r) {
75273
+ br.HandleRef = function(t, e, r) {
75274
75274
  var n = t.GetArgument(e), i = t.tags.allLabels[n] || t.tags.labels[n];
75275
75275
  i || (t.tags.refUpdate || (t.tags.redo = !0), i = new QK.Label());
75276
75276
  var o = i.tag;
@@ -75281,7 +75281,7 @@ Lr.HandleRef = function(t, e, r) {
75281
75281
  });
75282
75282
  t.Push(s);
75283
75283
  };
75284
- Lr.Macro = function(t, e, r, n, i) {
75284
+ br.Macro = function(t, e, r, n, i) {
75285
75285
  if (n) {
75286
75286
  var o = [];
75287
75287
  if (i != null) {
@@ -75294,11 +75294,11 @@ Lr.Macro = function(t, e, r, n, i) {
75294
75294
  }
75295
75295
  t.string = d1.default.addArgs(t, r, t.string.slice(t.i)), t.i = 0, d1.default.checkMaxMacros(t);
75296
75296
  };
75297
- Lr.MathChoice = function(t, e) {
75297
+ br.MathChoice = function(t, e) {
75298
75298
  var r = t.ParseArg(e), n = t.ParseArg(e), i = t.ParseArg(e), o = t.ParseArg(e);
75299
75299
  t.Push(t.create("node", "MathChoice", [r, n, i, o]));
75300
75300
  };
75301
- g2.default = Lr;
75301
+ g2.default = br;
75302
75302
  var na = {}, aRt = k && k.__read || function(t, e) {
75303
75303
  var r = typeof Symbol == "function" && t[Symbol.iterator];
75304
75304
  if (!r)
@@ -94630,8 +94630,8 @@ var ZH = {}, Wy = {}, qy = {};
94630
94630
  var cr = N(ke);
94631
94631
  if (cr) {
94632
94632
  B(Oe, ke, -cr);
94633
- var Be = P(zt, Qe, !1);
94634
- B(Oe, zt, cr - Be);
94633
+ var je = P(zt, Qe, !1);
94634
+ B(Oe, zt, cr - je);
94635
94635
  }
94636
94636
  }
94637
94637
  var Ue = b(le);
@@ -104231,7 +104231,7 @@ const iZt = rZt("main", {
104231
104231
  mounted: function() {
104232
104232
  this.openMapRef = h5(this.$refs.openMapRef), this.backgroundIconRef = h5(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = ps(new TA(this.flatmapAPI)), this.flatmapQueries = ps(new $4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
104233
104233
  }
104234
- }, aa = (t) => (OE("data-v-d272b145"), t = t(), PE(), t), lZt = {
104234
+ }, aa = (t) => (OE("data-v-778bc86b"), t = t(), PE(), t), lZt = {
104235
104235
  class: "flatmap-container",
104236
104236
  ref: "flatmapContainer",
104237
104237
  "element-loading-text": "Loading...",
@@ -104239,24 +104239,24 @@ const iZt = rZt("main", {
104239
104239
  }, cZt = { style: { height: "100%", width: "100%", position: "relative", "overflow-y": "none" } }, uZt = {
104240
104240
  style: { height: "100%", width: "100%" },
104241
104241
  ref: "display"
104242
- }, hZt = { class: "beta-popovers" }, dZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("a", {
104242
+ }, hZt = { class: "beta-popovers" }, dZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("a", {
104243
104243
  href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
104244
104244
  target: "_blank"
104245
- }, " ApiNATOMY ", -1)), pZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("a", {
104245
+ }, " ApiNATOMY ", -1)), pZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("a", {
104246
104246
  href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
104247
104247
  target: "_blank"
104248
- }, " SCKAN ", -1)), fZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("a", {
104248
+ }, " SCKAN ", -1)), fZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("a", {
104249
104249
  href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
104250
104250
  target: "_blank"
104251
- }, " ApiNATOMY ", -1)), TZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("a", {
104251
+ }, " ApiNATOMY ", -1)), TZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("a", {
104252
104252
  href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
104253
104253
  target: "_blank"
104254
- }, " SCKAN ", -1)), QZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("span", { class: "warning-text" }, "Legacy Map", -1)), mZt = {
104254
+ }, " SCKAN ", -1)), QZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("span", { class: "warning-text" }, "Legacy Map", -1)), mZt = {
104255
104255
  key: 1,
104256
104256
  class: "warning-text"
104257
- }, gZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("span", { class: "warning-text" }, "What's new?", -1)), yZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("b", null, "Neuron Connection mode", -1)), _Zt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("p", null, " You can now view the network of neurons connected to a selected neuron. This mode is located in the settings at the bottom right. Once discovery mode is on, click on a neuron to see its connections. ", -1)), vZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("b", null, "Now can display up to 6 panes", -1)), bZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("p", null, " You can now display up to 6 panes in the flatmap. This allows you to compare between different datasets and/or different views of the same dataset. ", -1)), LZt = { class: "bottom-right-control" }, xZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ ze("div", null, [
104257
+ }, gZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("span", { class: "warning-text" }, "What's new?", -1)), yZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("b", null, "Neuron Connection mode", -1)), _Zt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("p", null, " You can now view the network of neurons connected to a selected neuron. This mode is located in the settings at the bottom right. Once discovery mode is on, click on a neuron to see its connections. ", -1)), vZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("b", null, "Now can display up to 6 panes", -1)), bZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("p", null, " You can now display up to 6 panes in the flatmap. This allows you to compare between different datasets and/or different views of the same dataset. ", -1)), LZt = { class: "bottom-right-control" }, xZt = /* @__PURE__ */ aa(() => /* @__PURE__ */ Ne("div", null, [
104258
104258
  /* @__PURE__ */ Cn(" Fit to "),
104259
- /* @__PURE__ */ ze("br"),
104259
+ /* @__PURE__ */ Ne("br"),
104260
104260
  /* @__PURE__ */ Cn(" window ")
104261
104261
  ], -1)), wZt = ["innerHTML"], EZt = ["innerHTML"], MZt = { style: { "margin-bottom": "2px" } }, SZt = {
104262
104262
  key: 0,
@@ -104266,10 +104266,10 @@ function CZt(t, e, r, n, i, o) {
104266
104266
  const s = ds("map-svg-sprite-color"), a = fj, u = Yo, d = gm, f = zE, T = ds("DrawToolbar"), Q = ds("map-svg-icon"), y = Oz, b = ds("tree-controls"), v = Cz, E = dj, w = lz, C = wh, P = Eh, N = uM, B = mm, G = bz, z = Lz, J = ds("Tooltip"), nt = Az, at = sx;
104267
104267
  return pi((Jt(), Re("div", lZt, [
104268
104268
  Ve(s),
104269
- ze("div", cZt, [
104270
- ze("div", uZt, null, 512),
104271
- pi(ze("div", hZt, [
104272
- ze("div", null, [
104269
+ Ne("div", cZt, [
104270
+ Ne("div", uZt, null, 512),
104271
+ pi(Ne("div", hZt, [
104272
+ Ne("div", null, [
104273
104273
  Ve(d, {
104274
104274
  placement: "right",
104275
104275
  "popper-class": "warning-popper flatmap-popper",
@@ -104292,7 +104292,7 @@ function CZt(t, e, r, n, i, o) {
104292
104292
  }),
104293
104293
  r.isLegacy ? (Jt(), Re(_1, { key: 0 }, [
104294
104294
  QZt,
104295
- ze("div", {
104295
+ Ne("div", {
104296
104296
  class: "latest-map-text",
104297
104297
  onClick: e[6] || (e[6] = (...et) => o.viewLatestMap && o.viewLatestMap(...et))
104298
104298
  }, " Click here for the latest map ")
@@ -104329,7 +104329,7 @@ function CZt(t, e, r, n, i, o) {
104329
104329
  _: 1
104330
104330
  }, 8, ["visible"])
104331
104331
  ]),
104332
- r.displayLatestChanges ? (Jt(), br(d, {
104332
+ r.displayLatestChanges ? (Jt(), Lr(d, {
104333
104333
  key: 0,
104334
104334
  placement: "right",
104335
104335
  teleported: !1,
@@ -104377,7 +104377,7 @@ function CZt(t, e, r, n, i, o) {
104377
104377
  }, 8, ["class", "onClick"]), [
104378
104378
  [Co, t.minimapResizeShow]
104379
104379
  ]),
104380
- t.viewingMode === "Annotation" && t.userInformation && !r.disableUI ? (Jt(), br(T, {
104380
+ t.viewingMode === "Annotation" && t.userInformation && !r.disableUI ? (Jt(), Lr(T, {
104381
104381
  key: 0,
104382
104382
  mapCanvas: {
104383
104383
  containerHTML: this.$el,
@@ -104398,7 +104398,7 @@ function CZt(t, e, r, n, i, o) {
104398
104398
  onHideTooltip: o.hideTooltip,
104399
104399
  ref: "toolbarPopover"
104400
104400
  }, null, 8, ["mapCanvas", "toolbarOptions", "drawnType", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) : hr("", !0),
104401
- pi(ze("div", LZt, [
104401
+ pi(Ne("div", LZt, [
104402
104402
  Ve(d, {
104403
104403
  content: "Zoom in",
104404
104404
  placement: "left",
@@ -104410,13 +104410,17 @@ function CZt(t, e, r, n, i, o) {
104410
104410
  ref: "zoomInPopover"
104411
104411
  }, {
104412
104412
  reference: pe(() => [
104413
- Ve(Q, {
104414
- icon: "zoomIn",
104415
- class: "icon-button zoomIn",
104413
+ Ne("div", {
104414
+ class: "icon-button-container",
104416
104415
  onClick: e[11] || (e[11] = (et) => o.zoomIn()),
104417
104416
  onMouseover: e[12] || (e[12] = (et) => o.showTooltip(1)),
104418
104417
  onMouseout: e[13] || (e[13] = (et) => o.hideTooltip(1))
104419
- })
104418
+ }, [
104419
+ Ve(Q, {
104420
+ class: "icon-button zoomIn",
104421
+ icon: "zoomIn"
104422
+ })
104423
+ ], 32)
104420
104424
  ]),
104421
104425
  _: 1
104422
104426
  }, 8, ["visible"]),
@@ -104431,13 +104435,17 @@ function CZt(t, e, r, n, i, o) {
104431
104435
  ref: "zoomOutPopover"
104432
104436
  }, {
104433
104437
  reference: pe(() => [
104434
- Ve(Q, {
104435
- icon: "zoomOut",
104436
- class: "icon-button zoomOut",
104438
+ Ne("div", {
104439
+ class: "icon-button-container",
104437
104440
  onClick: e[14] || (e[14] = (et) => o.zoomOut()),
104438
104441
  onMouseover: e[15] || (e[15] = (et) => o.showTooltip(2)),
104439
104442
  onMouseout: e[16] || (e[16] = (et) => o.hideTooltip(2))
104440
- })
104443
+ }, [
104444
+ Ve(Q, {
104445
+ class: "icon-button zoomOut",
104446
+ icon: "zoomOut"
104447
+ })
104448
+ ], 32)
104441
104449
  ]),
104442
104450
  _: 1
104443
104451
  }, 8, ["visible"]),
@@ -104452,13 +104460,17 @@ function CZt(t, e, r, n, i, o) {
104452
104460
  ref: "zoomFitPopover"
104453
104461
  }, {
104454
104462
  reference: pe(() => [
104455
- Ve(Q, {
104456
- icon: "fitWindow",
104457
- class: "icon-button fitWindow",
104463
+ Ne("div", {
104464
+ class: "icon-button-container",
104458
104465
  onClick: e[17] || (e[17] = (et) => o.resetView()),
104459
104466
  onMouseover: e[18] || (e[18] = (et) => o.showTooltip(3)),
104460
104467
  onMouseout: e[19] || (e[19] = (et) => o.hideTooltip(3))
104461
- })
104468
+ }, [
104469
+ Ve(Q, {
104470
+ class: "icon-button fitWindow",
104471
+ icon: "fitWindow"
104472
+ })
104473
+ ], 32)
104462
104474
  ]),
104463
104475
  default: pe(() => [
104464
104476
  xZt
@@ -104479,18 +104491,18 @@ function CZt(t, e, r, n, i, o) {
104479
104491
  ref: "checkBoxPopover"
104480
104492
  }, {
104481
104493
  reference: pe(() => [
104482
- pi(ze("div", {
104494
+ pi(Ne("div", {
104483
104495
  class: Me(["pathway-location", { open: t.drawerOpen, close: !t.drawerOpen }])
104484
104496
  }, [
104485
104497
  pi((Jt(), Re("div", {
104486
104498
  class: Me(["pathway-container", { open: t.drawerOpen, close: !t.drawerOpen }]),
104487
104499
  style: b1({ "max-height": t.pathwaysMaxHeight + "px" })
104488
104500
  }, [
104489
- t.isFC ? hr("", !0) : (Jt(), br(y, {
104501
+ t.isFC ? hr("", !0) : (Jt(), Lr(y, {
104490
104502
  key: 0,
104491
104503
  class: "svg-legends-container"
104492
104504
  })),
104493
- r.showStarInLegend ? (Jt(), br(d, {
104505
+ r.showStarInLegend ? (Jt(), Lr(d, {
104494
104506
  key: 1,
104495
104507
  content: "Location of the featured dataset",
104496
104508
  placement: "right",
@@ -104503,7 +104515,7 @@ function CZt(t, e, r, n, i, o) {
104503
104515
  ref: "featuredMarkerPopover"
104504
104516
  }, {
104505
104517
  reference: pe(() => [
104506
- pi(ze("div", {
104518
+ pi(Ne("div", {
104507
104519
  class: "yellow-star-legend",
104508
104520
  innerHTML: t.yellowstar,
104509
104521
  onMouseover: e[20] || (e[20] = (et) => o.showTooltip(9)),
@@ -104521,11 +104533,11 @@ function CZt(t, e, r, n, i, o) {
104521
104533
  width: "200",
104522
104534
  trigger: "manual",
104523
104535
  "popper-class": "flatmap-popper flatmap-marker-popper",
104524
- visible: t.hoverVisibilities[5].value,
104536
+ visible: t.hoverVisibilities[0].value,
104525
104537
  ref: "markerPopover"
104526
104538
  }, {
104527
104539
  reference: pe(() => [
104528
- pi(ze("div", {
104540
+ pi(Ne("div", {
104529
104541
  class: "flatmap-marker-help",
104530
104542
  innerHTML: t.flatmapMarker
104531
104543
  }, null, 8, EZt), [
@@ -104535,7 +104547,7 @@ function CZt(t, e, r, n, i, o) {
104535
104547
  ]),
104536
104548
  _: 1
104537
104549
  }, 8, ["visible"]),
104538
- t.isFC && t.systems && t.systems.length > 0 ? (Jt(), br(b, {
104550
+ t.isFC && t.systems && t.systems.length > 0 ? (Jt(), Lr(b, {
104539
104551
  key: 2,
104540
104552
  class: "treeControls",
104541
104553
  mapType: "flatmap",
@@ -104548,7 +104560,7 @@ function CZt(t, e, r, n, i, o) {
104548
104560
  onChangeActive: o.ftuSelected,
104549
104561
  ref: "treeControls"
104550
104562
  }, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) : hr("", !0),
104551
- t.containsAlert && t.alertOptions ? (Jt(), br(v, {
104563
+ t.containsAlert && t.alertOptions ? (Jt(), Lr(v, {
104552
104564
  title: "Alert",
104553
104565
  labelKey: "label",
104554
104566
  identifierKey: "key",
@@ -104560,7 +104572,7 @@ function CZt(t, e, r, n, i, o) {
104560
104572
  ref: "alertSelection",
104561
104573
  key: "alertSelection"
104562
104574
  }, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : hr("", !0),
104563
- t.pathways && t.pathways.length > 0 ? (Jt(), br(v, {
104575
+ t.pathways && t.pathways.length > 0 ? (Jt(), Lr(v, {
104564
104576
  title: "Pathways",
104565
104577
  labelKey: "label",
104566
104578
  identifierKey: "type",
@@ -104572,7 +104584,7 @@ function CZt(t, e, r, n, i, o) {
104572
104584
  ref: "pathwaysSelection",
104573
104585
  key: "pathwaysSelection"
104574
104586
  }, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) : hr("", !0),
104575
- t.taxonConnectivity && t.taxonConnectivity.length > 0 ? (Jt(), br(v, {
104587
+ t.taxonConnectivity && t.taxonConnectivity.length > 0 ? (Jt(), Lr(v, {
104576
104588
  title: "Studied in",
104577
104589
  labelKey: "label",
104578
104590
  identifierKey: "taxon",
@@ -104585,7 +104597,7 @@ function CZt(t, e, r, n, i, o) {
104585
104597
  ref: "taxonSelection",
104586
104598
  key: "taxonSelection"
104587
104599
  }, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : hr("", !0),
104588
- !(t.isCentreLine || t.isFC) && t.centreLines && t.centreLines.length > 0 ? (Jt(), br(v, {
104600
+ !(t.isCentreLine || t.isFC) && t.centreLines && t.centreLines.length > 0 ? (Jt(), Lr(v, {
104589
104601
  title: "Nerves",
104590
104602
  labelKey: "label",
104591
104603
  identifierKey: "key",
@@ -104598,7 +104610,7 @@ function CZt(t, e, r, n, i, o) {
104598
104610
  ], 6)), [
104599
104611
  [nt, void 0, "checkBoxPopover"]
104600
104612
  ]),
104601
- ze("div", {
104613
+ Ne("div", {
104602
104614
  onClick: e[22] || (e[22] = (...et) => o.toggleDrawer && o.toggleDrawer(...et)),
104603
104615
  class: Me(["drawer-button", { open: t.drawerOpen, close: !t.drawerOpen }])
104604
104616
  }, [
@@ -104615,7 +104627,7 @@ function CZt(t, e, r, n, i, o) {
104615
104627
  ]),
104616
104628
  _: 1
104617
104629
  }, 8, ["visible"]),
104618
- t.openMapRef ? (Jt(), br(d, {
104630
+ t.openMapRef ? (Jt(), Lr(d, {
104619
104631
  key: 1,
104620
104632
  ref: "open-map-popover",
104621
104633
  "virtual-ref": t.openMapRef,
@@ -104627,7 +104639,7 @@ function CZt(t, e, r, n, i, o) {
104627
104639
  "virtual-triggering": ""
104628
104640
  }, {
104629
104641
  default: pe(() => [
104630
- (Jt(!0), Re(_1, null, $a(r.openMapOptions, (et) => (Jt(), br(C, {
104642
+ (Jt(!0), Re(_1, null, $a(r.openMapOptions, (et) => (Jt(), Lr(C, {
104631
104643
  key: et.key
104632
104644
  }, {
104633
104645
  default: pe(() => [
@@ -104665,7 +104677,7 @@ function CZt(t, e, r, n, i, o) {
104665
104677
  "virtual-triggering": ""
104666
104678
  }, {
104667
104679
  default: pe(() => [
104668
- ze("div", null, [
104680
+ Ne("div", null, [
104669
104681
  Ve(C, { class: "backgroundText" }, {
104670
104682
  default: pe(() => [
104671
104683
  Cn("Viewing Mode")
@@ -104674,10 +104686,10 @@ function CZt(t, e, r, n, i, o) {
104674
104686
  }),
104675
104687
  Ve(C, { class: "backgroundControl" }, {
104676
104688
  default: pe(() => [
104677
- ze("div", MZt, [
104689
+ Ne("div", MZt, [
104678
104690
  (Jt(!0), Re(_1, null, $a(t.viewingModes, (et, mt, It) => (Jt(), Re(_1, { key: mt }, [
104679
104691
  mt === t.viewingMode ? (Jt(), Re("span", SZt, [
104680
- ze("b", null, zn(mt), 1)
104692
+ Ne("b", null, zn(mt), 1)
104681
104693
  ])) : (Jt(), Re("span", {
104682
104694
  key: 1,
104683
104695
  class: "viewing-mode-unselected",
@@ -104713,7 +104725,7 @@ function CZt(t, e, r, n, i, o) {
104713
104725
  onChange: o.setDrawnType
104714
104726
  }, {
104715
104727
  default: pe(() => [
104716
- (Jt(!0), Re(_1, null, $a(t.drawnTypes, (et) => (Jt(), br(N, {
104728
+ (Jt(!0), Re(_1, null, $a(t.drawnTypes, (et) => (Jt(), Lr(N, {
104717
104729
  key: et,
104718
104730
  label: et,
104719
104731
  value: et
@@ -104757,7 +104769,7 @@ function CZt(t, e, r, n, i, o) {
104757
104769
  onChange: o.setAnnotatedType
104758
104770
  }, {
104759
104771
  default: pe(() => [
104760
- (Jt(!0), Re(_1, null, $a(t.annotatedTypes, (et) => (Jt(), br(N, {
104772
+ (Jt(!0), Re(_1, null, $a(t.annotatedTypes, (et) => (Jt(), Lr(N, {
104761
104773
  key: et,
104762
104774
  label: et,
104763
104775
  value: et
@@ -104784,11 +104796,11 @@ function CZt(t, e, r, n, i, o) {
104784
104796
  _: 1
104785
104797
  })
104786
104798
  ], 64)) : hr("", !0),
104787
- t.displayFlightPathOption ? (Jt(), br(C, {
104799
+ t.displayFlightPathOption ? (Jt(), Lr(C, {
104788
104800
  key: 1,
104789
104801
  class: "backgroundSpacer"
104790
104802
  })) : hr("", !0),
104791
- t.displayFlightPathOption ? (Jt(), br(C, {
104803
+ t.displayFlightPathOption ? (Jt(), Lr(C, {
104792
104804
  key: 2,
104793
104805
  class: "backgroundText"
104794
104806
  }, {
@@ -104797,7 +104809,7 @@ function CZt(t, e, r, n, i, o) {
104797
104809
  ]),
104798
104810
  _: 1
104799
104811
  })) : hr("", !0),
104800
- t.displayFlightPathOption ? (Jt(), br(C, {
104812
+ t.displayFlightPathOption ? (Jt(), Lr(C, {
104801
104813
  key: 3,
104802
104814
  class: "backgroundControl"
104803
104815
  }, {
@@ -104920,7 +104932,7 @@ function CZt(t, e, r, n, i, o) {
104920
104932
  ]),
104921
104933
  _: 1
104922
104934
  }, 8, ["virtual-ref"]),
104923
- pi(ze("div", {
104935
+ pi(Ne("div", {
104924
104936
  class: Me(["settings-group", { open: t.drawerOpen, close: !t.drawerOpen }])
104925
104937
  }, [
104926
104938
  Ve(C, null, {
@@ -104934,14 +104946,18 @@ function CZt(t, e, r, n, i, o) {
104934
104946
  ref: "openMapPopover"
104935
104947
  }, {
104936
104948
  reference: pe(() => [
104937
- r.enableOpenMapUI && r.openMapOptions.length > 0 ? (Jt(), br(Q, {
104949
+ r.enableOpenMapUI && r.openMapOptions.length > 0 ? (Jt(), Re("div", {
104938
104950
  key: 0,
104939
104951
  ref: "openMapRef",
104940
- icon: "openMap",
104941
- class: "icon-button open-map-button",
104952
+ class: "icon-button-container",
104942
104953
  onMouseover: e[28] || (e[28] = (et) => o.showTooltip(4)),
104943
104954
  onMouseout: e[29] || (e[29] = (et) => o.hideTooltip(4))
104944
- }, null, 512)) : hr("", !0)
104955
+ }, [
104956
+ Ve(Q, {
104957
+ icon: "openMap",
104958
+ class: "icon-button open-map-button"
104959
+ })
104960
+ ], 544)) : hr("", !0)
104945
104961
  ]),
104946
104962
  _: 1
104947
104963
  }, 8, ["visible"])
@@ -104960,13 +104976,17 @@ function CZt(t, e, r, n, i, o) {
104960
104976
  ref: "settingsPopover"
104961
104977
  }, {
104962
104978
  reference: pe(() => [
104963
- Ve(Q, {
104979
+ Ne("div", {
104964
104980
  ref: "backgroundIconRef",
104965
- icon: "changeBckgd",
104966
- class: "icon-button",
104981
+ class: "icon-button-container",
104967
104982
  onMouseover: e[30] || (e[30] = (et) => o.showTooltip(5)),
104968
104983
  onMouseout: e[31] || (e[31] = (et) => o.hideTooltip(5))
104969
- }, null, 512)
104984
+ }, [
104985
+ Ve(Q, {
104986
+ icon: "changeBckgd",
104987
+ class: "icon-button"
104988
+ })
104989
+ ], 544)
104970
104990
  ]),
104971
104991
  _: 1
104972
104992
  }, 8, ["visible"])
@@ -104991,7 +105011,7 @@ function CZt(t, e, r, n, i, o) {
104991
105011
  [at, t.loading]
104992
105012
  ]);
104993
105013
  }
104994
- const NY = /* @__PURE__ */ ym(aZt, [["render", CZt], ["__scopeId", "data-v-d272b145"]]);
105014
+ const NY = /* @__PURE__ */ ym(aZt, [["render", CZt], ["__scopeId", "data-v-778bc86b"]]);
104995
105015
  function OZt(t) {
104996
105016
  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
104997
105017
  var n = t.get(e);
@@ -105524,7 +105544,7 @@ const IB = new OZt(), kB = {
105524
105544
  }, VZt = {
105525
105545
  key: 0,
105526
105546
  style: { position: "absolute", "z-index": "10" }
105527
- }, RZt = /* @__PURE__ */ IZt(() => /* @__PURE__ */ ze("div", { class: "species-display-text" }, "Species", -1)), NZt = { class: "select-box-icon" };
105547
+ }, RZt = /* @__PURE__ */ IZt(() => /* @__PURE__ */ Ne("div", { class: "species-display-text" }, "Species", -1)), NZt = { class: "select-box-icon" };
105528
105548
  function DZt(t, e, r, n, i, o) {
105529
105549
  const s = uM, a = mm, u = gm, d = NY;
105530
105550
  return Jt(), Re("div", kZt, [
@@ -105552,14 +105572,14 @@ function DZt(t, e, r, n, i, o) {
105552
105572
  onChange: o.setSpecies
105553
105573
  }, {
105554
105574
  default: pe(() => [
105555
- (Jt(!0), Re(_1, null, $a(t.speciesList, (f, T) => (Jt(), br(s, {
105575
+ (Jt(!0), Re(_1, null, $a(t.speciesList, (f, T) => (Jt(), Lr(s, {
105556
105576
  key: T,
105557
105577
  label: T,
105558
105578
  value: T
105559
105579
  }, {
105560
105580
  default: pe(() => [
105561
- ze("span", NZt, [
105562
- ze("i", {
105581
+ Ne("span", NZt, [
105582
+ Ne("i", {
105563
105583
  class: Me(f.iconClass)
105564
105584
  }, null, 2)
105565
105585
  ]),
@@ -105574,7 +105594,7 @@ function DZt(t, e, r, n, i, o) {
105574
105594
  _: 1
105575
105595
  }, 8, ["visible"])
105576
105596
  ])),
105577
- (Jt(!0), Re(_1, null, $a(t.speciesList, (f, T) => pi((Jt(), br(d, {
105597
+ (Jt(!0), Re(_1, null, $a(t.speciesList, (f, T) => pi((Jt(), Lr(d, {
105578
105598
  key: T,
105579
105599
  entry: f.taxo,
105580
105600
  uuid: f.uuid,