@mappedin/react-native-sdk 6.3.0 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +744 -744
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnPropertyDescriptor;var qse=Object.getOwnPropertyNames;var Kse=Object.getPrototypeOf,e0e=Object.prototype.hasOwnProperty;var t0e=(e,t,n)=>t in e?Hx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var n0e=(e,t)=>()=>(e&&(t=e(e=0)),t);var r0e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var i0e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qse(t))!e0e.call(e,i)&&i!==n&&Hx(e,i,{get:()=>t[i],enumerable:!(r=Jse(t,i))||r.enumerable});return e};var a0e=(e,t,n)=>(n=e!=null?Xse(Kse(e)):{},i0e(t||!e||!e.__esModule?Hx(n,"default",{value:e,enumerable:!0}):n,e));var Zx=(e,t,n)=>t0e(e,typeof t!="symbol"?t+"":t,n);var pn,it=n0e(()=>{pn={env:{NODE_ENV:"production",npm_package_version:"6.3.0"}}});var ZF=r0e((Uze,HF)=>{"use strict";it();HF.exports=`<!DOCTYPE html>
1
+ var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnPropertyDescriptor;var qse=Object.getOwnPropertyNames;var Kse=Object.getPrototypeOf,e0e=Object.prototype.hasOwnProperty;var t0e=(e,t,n)=>t in e?Hx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var n0e=(e,t)=>()=>(e&&(t=e(e=0)),t);var r0e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var i0e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qse(t))!e0e.call(e,i)&&i!==n&&Hx(e,i,{get:()=>t[i],enumerable:!(r=Jse(t,i))||r.enumerable});return e};var a0e=(e,t,n)=>(n=e!=null?Xse(Kse(e)):{},i0e(t||!e||!e.__esModule?Hx(n,"default",{value:e,enumerable:!0}):n,e));var Zx=(e,t,n)=>t0e(e,typeof t!="symbol"?t+"":t,n);var pn,it=n0e(()=>{pn={env:{NODE_ENV:"production",npm_package_version:"6.3.1"}}});var ZF=r0e((Uze,HF)=>{"use strict";it();HF.exports=`<!DOCTYPE html>
2
2
  <html>
3
3
 
4
4
  <head>
@@ -219,7 +219,7 @@ var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnProperty
219
219
  }
220
220
  });
221
221
 
222
- // ../mappedin-js/lib/esm/chunk-66DYOCZO.js
222
+ // ../mappedin-js/lib/esm/chunk-BUTQWGOR.js
223
223
  function qe() {
224
224
  let i20 = Math.random() * 4294967295 | 0, t65 = Math.random() * 4294967295 | 0, e10 = Math.random() * 4294967295 | 0, n10 = Math.random() * 4294967295 | 0;
225
225
  return (Me[i20 & 255] + Me[i20 >> 8 & 255] + Me[i20 >> 16 & 255] + Me[i20 >> 24 & 255] + "-" + Me[t65 & 255] + Me[t65 >> 8 & 255] + "-" + Me[t65 >> 16 & 15 | 64] + Me[t65 >> 24 & 255] + "-" + Me[e10 & 63 | 128] + Me[e10 >> 8 & 255] + "-" + Me[e10 >> 16 & 255] + Me[e10 >> 24 & 255] + Me[n10 & 255] + Me[n10 >> 8 & 255] + Me[n10 >> 16 & 255] + Me[n10 >> 24 & 255]).toLowerCase();
@@ -3533,12 +3533,12 @@ var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnProperty
3533
3533
  return { bind: l10, update: c10, dispose: f };
3534
3534
  }
3535
3535
  var Sc, $i, ra, Ku, ph, Rl, mh, Il, gh, on, Mn, Le, ln, An, jn, Pl, Ll, Dl, _h, Bn, xh, vh, yh, Mh, Sh, bh, Eh, Th, Ar, wr, Ah, wh, Ch, Rh, Ih, Ph, Lh, Dh, Uh, aa, oa, la, ti, ca, ha, ua, da, fa, Nh, Fh, wn, Oh, Bh, zh, kh, Vh, Hh, Gh, Bo, Wh, Ul, ui, di, pa, ma, Fs, Cr, Fn, Rr, Ne, Xh, Os, tn, ga, Vn, cn, Nl, Fl, Gi, _a, Cn, Fe, Wi, xa, va, fi, Ol, Bl, zl, Pe, kl, Vl, Qn, ei, ya, Bs, Hl, Ma, Sa, zs, ks, Vs, Hs, ba, Ea, Ta, Aa, wa, Ca, Ra, Ia, Pa, La, Da, Ua, Na, Fa, Oa, Ba, za, ka, Va, Ha, Ga, Gs, Wa, Xa, Gl, qa, Ya, Za, cs, Ir, Tr, zo, ko, Vo, qh, Qu, ju, td, Yh, Zh, Ja, Jh, Rn, ke, ni, hs, ne, $n, ed, nd, id, sd, Ho, $h, Kh, Qh, Wl, jh, tu, eu, nu, Pr, rd, Xl, rn, us, Sn, Me, bc, Ni, ii, Sd, at, Ot, ro, Ec, Tc, Ac, Xt, Mi, Lr, Ed, ds, Td, Ae, Jt, Dr, an, fs, Ur, bn, C2, oo, wc, Ie, dn, $e, Ys, Si, bi, Ei, In, Pn, Wn, Ki, Zs, Js, Xn, Ad, Qi, co, Te, fn, ho, $s, Ln, uo, Ks, fo, zn, kt, Ti, Ke, wd, Cd, Dn, Qs, Be, Cc, Rc, Ye, zi, Rd, Ic, Ai, pn, js, ji, Id, Pd, Pc, Lc, Dc, Uc, Ld, wi, po, de, Qe, mn, mo, gn, Ci, Ri, Nc, go, _o, xo, vo, yo, Mo, xn, ou, Un, tr, Nt, Se, Dd, en, ps, ue, er, Ud, xe, ms, gs, oe, Nd, Xe, bo, Ii, ze, ts, me, ge, Fc, qn, nr, Oc, ir2, sr, rr, Eo, ar, Bc, or, ve, ki, lu, Bd, zd, nn, _s, Nn, zc, kc, Ee, Pi, Li, Nr, xs, Fr, Kn, kd, Vi, Go, Wo, Re, Xo, Vc, Hc, Gc, Vd, Wc, cr, To, Xc, Ao, qo, Or, On, qc, Hd, Yo, vs, Di, Yc, hr, Zc, Gd, es, ns, Zo, wo, Wd, Xd, sn, Yn, ur, si, Jo, Ue, Zd, Ro, dr, Zn, is, Jc, Jd, Io, be, fr, $o, ys, Br, zr, $c, ss, pr, Po, Kc, Ms, Qc, jc, kr, Ko, Vr, th, Qo, gr, _r, jo, tl, Ss, Ve, Hi, Hr, xr, Lo, Do, Uo, Gr, bs, Wr, Es, Xr, Ts, As, ws, qr, Yr, Cs, vr, yr, No, Mr, el, Zr, rf, Oi, sl, Sf, Ls, rl, al, Jr, ol, ll, $r, Kr, ai, Qr, jr, ta, He, En, Ds, oi, ea, li, Tn, ci, cl, vn, na, fu, kn, _n, hl, ul, ia, dl, hi, Fo, oh, lh, Us, fl, pl, ch, rs, Oo, ml, gl, Ns, _l, xl, vl, yl, Ml, Sl, sa, bl, $l, Cf, Kl, Rf, If, Pf, Lf, Df, Uf, Nf, El, se, u0, uh, Tl, fh, wl, Cl, Bf, zf, kf, Vf, Hf, Gf, Wf, Xf, qf, Yf, Zf, Jf, $f, Kf, Qf, jf, tp, ep, np, ip, sp, rp, ap, op, lp, cp, hp, up, dp, fp, pp, mp, gp, _p, xp, vp, yp, Mp, Sp, bp, Ep, Tp, Ap, wp, Cp, Rp, Ip, Pp, Lp, Dp, Up, Np, Fp, Op, Bp, zp, kp, Vp, Hp, Gp, Wp, Xp, qp, Yp, Zp, Jp, $p, Kp, Qp, jp, tm, em, nm, im, sm, rm, am, om, lm, cm, hm, um, dm, fm, pm, mm, gm, _m, xm, vm, ym, Mm, Sm, bm, Em, Tm, Am, wm, Cm, Rm, Im, Pm, Lm, Dm, Um, Nm, Fm, Om, Bm, zm, km, Vm, Hm, Gm, Wm, Xm, qm, Ym, Zm, Jm, $m, Km, Qm, jm, tg, eg, ng, ig, sg, rg, ag, og, lg, cg, hg, ug, dg, fg, pg, mg, gg, Vt, lt, hn, Ka, gi, _g, qi, pu, vi, jl, mu, tc, ec, nc, ic, xi, Xi, gu, to, zu, yu, ku, Vu, Hu, Mu, Su, bu, Eu, Tu, rc, ac, oc, sc, Yi, y_, M_, Cu, ja, I_, P_, D_, V_, cc, hc, Z_, Q_, j_, e0, r0, a0, uc, dc, _i, o0, Ou;
3536
- var init_chunk_66DYOCZO = __esm({
3537
- "../mappedin-js/lib/esm/chunk-66DYOCZO.js"() {
3536
+ var init_chunk_BUTQWGOR = __esm({
3537
+ "../mappedin-js/lib/esm/chunk-BUTQWGOR.js"() {
3538
3538
  "use strict";
3539
3539
  init_chunk_5W2UDR4H();
3540
3540
  $i = I(() => {
3541
- Sc = { env: { NODE_ENV: "production", npm_package_version: "6.3.0" } };
3541
+ Sc = { env: { NODE_ENV: "production", npm_package_version: "6.3.1" } };
3542
3542
  });
3543
3543
  $i();
3544
3544
  ra = "173";
@@ -11072,7 +11072,7 @@ var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnProperty
11072
11072
  }
11073
11073
  });
11074
11074
 
11075
- // ../mappedin-js/lib/esm/chunk-YB4VFXKF.js
11075
+ // ../mappedin-js/lib/esm/chunk-YNQYXD2A.js
11076
11076
  function M2(o10, l10 = false) {
11077
11077
  let r10 = o10[0].index !== null, f = new Set(Object.keys(o10[0].attributes)), i20 = new Set(Object.keys(o10[0].morphAttributes)), c10 = {}, e10 = {}, h = o10[0].morphTargetsRelative, u10 = new ge(), d = 0;
11078
11078
  for (let t65 = 0; t65 < o10.length; ++t65) {
@@ -11167,10 +11167,10 @@ var Xse=Object.create;var Hx=Object.defineProperty;var Jse=Object.getOwnProperty
11167
11167
  return c10.setIndex(i20), c10.clearGroups(), c10;
11168
11168
  } else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:", l10), o10;
11169
11169
  }
11170
- var init_chunk_YB4VFXKF = __esm({
11171
- "../mappedin-js/lib/esm/chunk-YB4VFXKF.js"() {
11170
+ var init_chunk_YNQYXD2A = __esm({
11171
+ "../mappedin-js/lib/esm/chunk-YNQYXD2A.js"() {
11172
11172
  "use strict";
11173
- init_chunk_66DYOCZO();
11173
+ init_chunk_BUTQWGOR();
11174
11174
  $i();
11175
11175
  }
11176
11176
  });
@@ -24333,9 +24333,9 @@ Set the \\\`cycles\\\` parameter to \\\`"ref"\\\` to resolve cyclical schemas wi
24333
24333
  }
24334
24334
  });
24335
24335
 
24336
- // ../mappedin-js/lib/esm/text3d-DIUCQLOC.js
24337
- var text3d_DIUCQLOC_exports = {};
24338
- __export(text3d_DIUCQLOC_exports, {
24336
+ // ../mappedin-js/lib/esm/text3d-643VYZAG.js
24337
+ var text3d_643VYZAG_exports = {};
24338
+ __export(text3d_643VYZAG_exports, {
24339
24339
  BatchedText: () => Gr2,
24340
24340
  Text: () => Ze,
24341
24341
  configureTroikaTextBuilder: () => Wo2,
@@ -27110,12 +27110,12 @@ Set the \\\`cycles\\\` parameter to \\\`"ref"\\\` to resolve cyclical schemas wi
27110
27110
  return gt = sa2(c10), gt;
27111
27111
  }
27112
27112
  var Dn2, ma2, ya2, wr2, Dt, Ct, Fr2, En2, Dr2, Ee2, st, ka2, Bn2, On2, _a2, wa2, Ln2, Ca2, Oa2, lt2, $t, Gn, Qt, Ga2, Or2, Pa2, Ia2, za2, Pn2, Wa2, Va2, rt, ja2, Kn2, zn2, Kt, Ha2, ta2, Ya2, Nn2, qt, Bt, Ka2, Rr2, Za2, Qa2, qa2, $a2, Ir2, Vn2, jn2, Zt, Cr2, Et, eo2, Er2, na2, aa2, to2, ro2, oa2, no, Ze, ao2, oo2, pt, Lr2, Hn, Yn2, Gr2, ia2, zr2, lo2, er2, He2, uo2, gt;
27113
- var init_text3d_DIUCQLOC = __esm({
27114
- "../mappedin-js/lib/esm/text3d-DIUCQLOC.js"() {
27113
+ var init_text3d_643VYZAG = __esm({
27114
+ "../mappedin-js/lib/esm/text3d-643VYZAG.js"() {
27115
27115
  "use strict";
27116
- init_chunk_Q56Y72HB();
27117
- init_chunk_YB4VFXKF();
27118
- init_chunk_66DYOCZO();
27116
+ init_chunk_NNBEOC7F();
27117
+ init_chunk_YNQYXD2A();
27118
+ init_chunk_BUTQWGOR();
27119
27119
  init_chunk_5W2UDR4H();
27120
27120
  $i();
27121
27121
  $i();
@@ -27539,7 +27539,7 @@ Set the \\\`cycles\\\` parameter to \\\`"ref"\\\` to resolve cyclical schemas wi
27539
27539
  }
27540
27540
  });
27541
27541
 
27542
- // ../mappedin-js/lib/esm/chunk-Q56Y72HB.js
27542
+ // ../mappedin-js/lib/esm/chunk-NNBEOC7F.js
27543
27543
  function ZM(t65 = "", { prefix: e10 = qu } = {}) {
27544
27544
  let r10 = "".concat(e10).concat(t65 ? "-".concat(t65) : ""), n10 = (i20, o10) => {
27545
27545
  if (typeof window < "u" && window.rnDebug) {
@@ -33436,7 +33436,7 @@ Set the \\\`cycles\\\` parameter to \\\`"ref"\\\` to resolve cyclical schemas wi
33436
33436
  });
33437
33437
  }
33438
33438
  function Xa3() {
33439
- return Kg2 || (Kg2 = Promise.resolve().then(() => (init_text3d_DIUCQLOC(), text3d_DIUCQLOC_exports)).then((t65) => t65)), Kg2;
33439
+ return Kg2 || (Kg2 = Promise.resolve().then(() => (init_text3d_643VYZAG(), text3d_643VYZAG_exports)).then((t65) => t65)), Kg2;
33440
33440
  }
33441
33441
  function eM(_02) {
33442
33442
  return __async(this, arguments, function* ({ entityId: t65, textComponent: e10, styleComponent: r10, convertTo3DMapPosition: n10, batchedMeshPromise: i20, rendererState: o10, type: a = "text-area" }) {
@@ -34107,11 +34107,11 @@ Set the \\\`cycles\\\` parameter to \\\`"ref"\\\` to resolve cyclical schemas wi
34107
34107
  return (t65 * 100 | 0) / 100;
34108
34108
  }
34109
34109
  var fe2, Xx, Dv, Rv, ey, my, dy, T0, Pl2, Y0, Py, qC, vM, qu, XM, Lx, Et2, Vi2, Yn3, Qa3, kx, Fm2, Om2, Ut, es2, Ox, Bx, ts2, rs2, Ui2, Hr2, Xr2, Wu, Bm2, QM, zm2, eI, tI, rI, nI, $u, lN, uN, Vx, Ux, iI, oI, aI, Nx, Ju, Fb, Ob, Vm2, ec2, ue2, Ae2, Yt, NN, Wn3, LI, DI, wn2, aA, sA, B3, OA, VA, $A, KA, $n3, V, C22, M22, I2, A22, E2, jm2, L2, D2, Ne2, q2, Y2, W2, $2, K2, J2, Q2, eE, mE, dE, yE, gE, xE, bE, vb, Pb, _E, wb, vE, Tb, PE, rd2, wE, TE, SE, CE, ME, Tt, nL, iL, oL, aL, sL, lL, uL, cL, ls2, pL, Rb, nd2, Zb, kb, qb, Hi2, ps2, Gt, $b, Kb, t_2, fL, hc2, ad2, ae2, n_2, Be2, ie, Kt2, mc, Jn3, dc2, mL, Vo3, Qn3, i_2, o_2, fs2, hs2, ld2, Uo2, a_2, jt, yc, U, Q3, Ee3, xL, bL, _L, vL, PL, wL, TL, SL, CL, ML, IL, AL, EL, LL, DL, RL, kL, FL, OL, BL, zL, VL, UL, NL, GL, jL, HL, XL, ZL, qL, YL, WL, $L, KL, JL, QL, eD, tD, rD, nD, D3, iD, G3, Fr3, bd2, Yo2, Y, Pe2, ge2, Br3, Oc2, Wi2, me2, cD, Bc2, Wo3, zc2, gs2, Vc2, Ls2, Uc2, pD, k_2, F_2, O_2, B_2, jo3, z_2, hD, fD, mD, xD, _D, K3, bs2, PD, _s2, gr2, zr3, Vr2, Jt3, Je, wD, ln2, Qt2, un, ni2, bc2, qr2, f_2, ti2, TD, wc2, Tc2, Sc2, Cc2, _d2, vd2, Pd2, wd2, Td2, Sd2, Zo2, md2, m_2, MD, ID, Ht2, Fe2, Mc, UD, ND, GD, jD, HD, XD, Ic2, Cd2, Ps2, Md2, Id2, sn2, Ts2, Ac2, uR, b_2, __2, v_2, Ss2, Ad2, Ed2, Cs2, Ms2, eo3, cn2, Ki2, pn2, oi2, As2, AR, A_2, E_2, Qe2, W6, bv, _v, $6, K6, vv, Pv, to3, In3, ro3, mt, qR, fG, YR, WR, $R, KR, $d2, hn2, Te2, ea3, Os2, fn2, Yc2, Wc2, $c2, Ot2, li2, q3, te, An3, no2, En3, Ue2, Kc2, at2, QR, ui2, ek, tk, Ye2, Ev, io2, ta3, Bs2, zs2, Vs2, ci2, Us2, Ns2, Gs2, js2, Hs2, Xs, Zs2, qs, ra3, Ys2, Ws2, oo3, $s2, Ks2, Js2, Qs2, na3, Jc2, el2, Qc2, tl2, ep2, rl2, nl2, il2, tp2, ol2, rp2, al2, Dt2, np2, ip2, op2, ap2, sp2, lp2, up2, Ln3, cp2, pp2, hp2, sl2, fp2, mp2, dp2, et, pi2, ll2, nk, Lv, jG, HG, de2, ul2, Ov, cl2, $r2, re, N3, ee2, xt, Bt2, zt, pl2, hl2, sk, dt2, ao3, hi2, Kr2, br2, mn2, xp2, er3, ck, ny, zv, Vv, so2, fl2, vp2, Zv, yk, qv, gk, Yv, Wv, $v, Pp2, ml2, Jv, bk, Qv, uo3, Le2, oa3, t02, Tp2, r02, _k, n02, i02, Sp2, o02, vk, a02, Se2, ly, s02, Cp2, Pk, l02, IH, AH, bl2, _r2, Ap2, di2, dn2, Dn3, fy, Hk, vl2, m0, Xk, d0, Zk, y0, g0, Dp2, qk, x0, b0, TX, SX, C0, oF, aF, yy, Tl2, M0, uF, I0, kp2, E0, Fp2, fF, L0, dZ, yZ, mF, D0, _Z, vZ, F0, dF, R0, yF, gF, xF, bF, O0, k0, Cl2, B0, _F, z0, vF, gy, xy, Op2, U0, Bp2, N0, G0, nq, j0, iq, by, H0, oq, aq, sq, lq, uq, cq, Al2, q0, yi, t1, e1, nr2, fa2, wy, po2, a1, i1, Il2, Np2, HF, XF, El2, Ll2, Jr2, l1, qF, u1, YF, jp2, Dl2, c1, Hp2, p1, WF, h1, f1, Xp2, m1, $F, d1, y1, Zp2, x1, qp2, Wp2, $p2, Rl2, ga3, Kp2, Cy, T1, Sy, Jp2, JF, S1, Qp2, eh2, th2, QF, rh2, C1, eO, I1, xa3, tO, My, kl2, ih2, or2, J3, yt, k1, xe2, ba3, Fl2, mo2, U1, gi2, xi2, We, Ol2, Bl2, zl2, St, vr2, Vl2, Ul2, hO, N1, fO, sh2, H1, X1, _a3, Ey, Nl2, Dy, Ly, dO, Pa3, lh2, ky, uh2, Z1, bi2, gO, xO, bO, Ry, $1, Fn2, en2, On3, hh2, jl2, Ta3, PO, He3, xh2, aP, Zl2, SO, CO, MO, AO, ql2, IO, jy, bh2, bo2, _h2, Ny, Gy, vh2, EO, LO, DO, RO, kO, FO, OO, Yl2, Hy, Ph2, pP, Xy, Wl2, Kl2, Jl2, BO, Yy, Wy, $y, Sa3, mP, dP, yP, gP, xP, bP, _P, vP, Ky, PP, wP, TP, SP, CP, MP, IP, AP, EP, LP, DP, RP, kP, FP, OP, BP, zP, VP, UP, NP, GP, jP, HP, XP, ZP, qP, YP, WP, $P, KP, JP, QP, ew, tw, rw, nw, iw, ow, aw, sw, lw, uw, cw, pw, hw, fw, mw, dw, yw, gw, xw, bw, _w, vw, Pw, ww, Tw, Sw, Cw, Mw, ar2, sr2, wr3, Jy, Qy, _o2, lr2, wi2, Ew, Ca3, Ti2, Ia3, wh2, Aa3, Bn3, Ql2, zn3, GO, Dw, jO, De, le, ne2, pe2, Rw, kw, tg2, Ch2, Mh2, HO, XO, Bw, rg2, Ea3, ZO, eu2, tn2, Ah2, La3, Lh2, Da3, tu2, Dh2, Ra3, ru2, Rh2, WO, ka3, Xw, kh2, Zw, qw, Yw, Ww, $w, Kw, Jw, Qw, eT, Oh2, rT, nT, lg2, iT, oT, aT, sT, lT, ug2, uT, cT, pT, hT, fT, mT, dT, yT, gT, xT, cg2, bT, _T, pg2, hg2, vT, PT, wT, TT, ST, CT, MT, IT, AT, ET, zh2, LT, DT, RT, OT, BT, zT, VT, UT, fg2, mg2, NT, GT, jT, HT, XT, ZT, qT, YT, WT, $T, KT, Vh2, eB, Uh2, Oe, Nh2, Gh2, jh2, Hh2, Xh2, Zh2, qh2, Yh2, Wh2, $h2, Kh2, Jh2, Qh2, ef2, tf2, rf2, nf2, of2, af2, sf2, lf2, uf2, cf2, pf2, hf2, ff2, mf2, df2, yf2, gf2, xf2, nu2, bf2, _f2, vf2, JT, Pf2, wf2, Sf2, Tf2, rB, iu2, bg2, dB, yB, gB, xB, bB, Af2, ou2, MS, lu2, TB, SB, CB, MB, IB, Lf2, IS, Rt, Si2, uu2, Df2, Rf2, AS, Ur2, cu2, ES, Pg2, EB, kf2, vg2, Po2, Ff2, LS, Ci2, LB, DB, RB, wo2, wg2, Tg2, Of2, Bf2, zf2, hu2, FB, fu2, OB, mu2, BB, du2, zB, yu2, zS, UB, NB, GB, jB, gu2, xu2, Uf2, Nf2, bu2, _u2, vu2, Pu2, VS, Gf2, Mg2, jf2, Fa3, Hf2, Vn3, Ig2, wu2, Tu2, Xf2, qf2, Zf2, Su2, HB, Ag2, Eg2, Lg2, Oa3, US, Yf2, Wf2, $f2, Ba3, Kf2, NS, XB, Qf2, jS, Mi2, HS, Jf2, GS, Dg2, ZB, $B, JB, lbe, QB, d_e, Xt2, ZS, b_e, YS, za3, $S, KS, iz, oz, az, sz, lz, uz, cz, QS, pz, hz, Fg2, Az, rn2, _t, To2, lC, Og2, uC, cC, sve, pC, Fz, Oz, Bz, zz, lve, hC, Vz, Uz, fC, mC, dC, Gz, gC, nm2, yC, Ua3, Bg2, xC, JC, YC, $e2, Yg2, WC, $C, Wg2, Ha3, KC, Io2, Cr3, bn2, Hn2, QC, $g2, Ru2, Kg2, OV, BV, tM, rM, s0e, fm2, Za3, mm2, dm2, nM, iM, zV, VV, ku2, A0e, Fu2, oM, aM, L0e, D0e, R0e, ym2, gm2, xm2, bm2, KV, JV, QV, ox, Xn3, q4, ax, qt2, Mr3, mPe, lx, DM, Q4, e5, LM, cx, t510, Sm2, r5, Uu2, Nu2, Gu, px, qa3, ju2, Do2, Ai2, ur2, cr2, Cm2, a5, FM, OM, s5, l5, u5, c5, p5, f5, Di2, BM, hx, VM, fx, m5, d5;
34110
- var init_chunk_Q56Y72HB = __esm({
34111
- "../mappedin-js/lib/esm/chunk-Q56Y72HB.js"() {
34110
+ var init_chunk_NNBEOC7F = __esm({
34111
+ "../mappedin-js/lib/esm/chunk-NNBEOC7F.js"() {
34112
34112
  "use strict";
34113
- init_chunk_YB4VFXKF();
34114
- init_chunk_66DYOCZO();
34113
+ init_chunk_YNQYXD2A();
34114
+ init_chunk_BUTQWGOR();
34115
34115
  init_chunk_5W2UDR4H();
34116
34116
  init_zod();
34117
34117
  init_zod();
@@ -53602,9 +53602,9 @@ ieee754/index.js:
53602
53602
  }
53603
53603
  });
53604
53604
 
53605
- // ../mappedin-js/lib/esm/internal-RK6SZERV.js
53606
- var internal_RK6SZERV_exports = {};
53607
- __export(internal_RK6SZERV_exports, {
53605
+ // ../mappedin-js/lib/esm/internal-LMJ6JIND.js
53606
+ var internal_LMJ6JIND_exports = {};
53607
+ __export(internal_LMJ6JIND_exports, {
53608
53608
  InternalSearch: () => Ot3,
53609
53609
  removeAccents: () => Ce
53610
53610
  });
@@ -53645,13 +53645,13 @@ ieee754/index.js:
53645
53645
  }, searchOptions: { combineWith: "OR", prefix: true, fuzzy: 0.2, boost: { name: 2, "locations.name": 2 } } })), { enterpriseCategories: r10, enterpriseLocations: i20, places: e10 };
53646
53646
  }
53647
53647
  var zt2, Et3, Ue3, $e3, w, R3, M3, jt2, Ge2, V3, K7, he, ce2, Dt3, qe2, Je2, ge3, me3, He4, Rt2, O3, ue3, Vt2, Pt, Bt3, Nt3, le2, Pe3, kt2, fe3, pe3, de3, Wt2, Be4, Ne3, ke2, J5, H3, Ke2, Ut2, At, U3, se2, Ft2, Ot3, Vi3, Bi2, Ni2, ki2, Ct2;
53648
- var init_internal_RK6SZERV = __esm({
53649
- "../mappedin-js/lib/esm/internal-RK6SZERV.js"() {
53648
+ var init_internal_LMJ6JIND = __esm({
53649
+ "../mappedin-js/lib/esm/internal-LMJ6JIND.js"() {
53650
53650
  "use strict";
53651
- init_chunk_2DEFE4C2();
53652
- init_chunk_Q56Y72HB();
53653
- init_chunk_YB4VFXKF();
53654
- init_chunk_66DYOCZO();
53651
+ init_chunk_M5K474PU();
53652
+ init_chunk_NNBEOC7F();
53653
+ init_chunk_YNQYXD2A();
53654
+ init_chunk_BUTQWGOR();
53655
53655
  init_chunk_5W2UDR4H();
53656
53656
  init_zod();
53657
53657
  zt2 = J((P6, L10) => {
@@ -54761,9 +54761,9 @@ ieee754/index.js:
54761
54761
  }
54762
54762
  });
54763
54763
 
54764
- // ../mappedin-js/lib/esm/GLTFExporter-ZVF3Y5DX.js
54765
- var GLTFExporter_ZVF3Y5DX_exports = {};
54766
- __export(GLTFExporter_ZVF3Y5DX_exports, {
54764
+ // ../mappedin-js/lib/esm/GLTFExporter-LWJJKW2X.js
54765
+ var GLTFExporter_LWJJKW2X_exports = {};
54766
+ __export(GLTFExporter_LWJJKW2X_exports, {
54767
54767
  GLTFExporter: () => z3
54768
54768
  });
54769
54769
  function F3(a, e10) {
@@ -54806,10 +54806,10 @@ ieee754/index.js:
54806
54806
  return e10 === "image/jpeg" ? s = 0.92 : e10 === "image/webp" && (s = 0.8), a.convertToBlob({ type: e10, quality: s });
54807
54807
  }
54808
54808
  var be2, z3, g, V4, R4, Se3, Fe3, _e, ze3, Be5, Ue4, De2, Pe4, K8, j, q6, X3, W, J6, Z3, Q5, $, ee3, se3, te2, ne3, ie2, re2;
54809
- var init_GLTFExporter_ZVF3Y5DX = __esm({
54810
- "../mappedin-js/lib/esm/GLTFExporter-ZVF3Y5DX.js"() {
54809
+ var init_GLTFExporter_LWJJKW2X = __esm({
54810
+ "../mappedin-js/lib/esm/GLTFExporter-LWJJKW2X.js"() {
54811
54811
  "use strict";
54812
- init_chunk_66DYOCZO();
54812
+ init_chunk_BUTQWGOR();
54813
54813
  init_chunk_5W2UDR4H();
54814
54814
  $i();
54815
54815
  be2 = { POSITION: ["byte", "byte normalized", "unsigned byte", "unsigned byte normalized", "short", "short normalized", "unsigned short", "unsigned short normalized"], NORMAL: ["byte normalized", "short normalized"], TANGENT: ["byte normalized", "short normalized"], TEXCOORD: ["byte", "byte normalized", "unsigned byte", "short", "short normalized", "unsigned short"] };
@@ -55643,9 +55643,9 @@ ieee754/index.js:
55643
55643
  }
55644
55644
  });
55645
55645
 
55646
- // ../mappedin-js/lib/esm/GLTFLoader-3QTALUTA.js
55647
- var GLTFLoader_3QTALUTA_exports = {};
55648
- __export(GLTFLoader_3QTALUTA_exports, {
55646
+ // ../mappedin-js/lib/esm/GLTFLoader-EQV4GOIS.js
55647
+ var GLTFLoader_EQV4GOIS_exports = {};
55648
+ __export(GLTFLoader_EQV4GOIS_exports, {
55649
55649
  GLTFLoader: () => St2
55650
55650
  });
55651
55651
  function Lt2() {
@@ -55792,11 +55792,11 @@ ieee754/index.js:
55792
55792
  });
55793
55793
  }
55794
55794
  var St2, A3, fe4, de4, he2, pe4, me4, Ae3, ge4, Te3, Re2, _e2, xe3, Ee4, Se4, ye, we3, Ne4, Me2, be3, bt2, U4, yt2, Le4, Ie3, Oe3, Ce3, z4, It, De3, E3, B4, wt, Nt4, ce3, Pe5, O4, Ot4, ue4, Bt4, He6;
55795
- var init_GLTFLoader_3QTALUTA = __esm({
55796
- "../mappedin-js/lib/esm/GLTFLoader-3QTALUTA.js"() {
55795
+ var init_GLTFLoader_EQV4GOIS = __esm({
55796
+ "../mappedin-js/lib/esm/GLTFLoader-EQV4GOIS.js"() {
55797
55797
  "use strict";
55798
- init_chunk_YB4VFXKF();
55799
- init_chunk_66DYOCZO();
55798
+ init_chunk_YNQYXD2A();
55799
+ init_chunk_BUTQWGOR();
55800
55800
  init_chunk_5W2UDR4H();
55801
55801
  $i();
55802
55802
  St2 = class extends kn {
@@ -56896,9 +56896,9 @@ ieee754/index.js:
56896
56896
  }
56897
56897
  });
56898
56898
 
56899
- // ../mappedin-js/lib/esm/inspector-B32KFAD4.js
56900
- var inspector_B32KFAD4_exports = {};
56901
- __export(inspector_B32KFAD4_exports, {
56899
+ // ../mappedin-js/lib/esm/inspector-IL7LET64.js
56900
+ var inspector_IL7LET64_exports = {};
56901
+ __export(inspector_IL7LET64_exports, {
56902
56902
  Inspector: () => oe3
56903
56903
  });
56904
56904
  function V5(n10) {
@@ -57518,13 +57518,13 @@ ieee754/index.js:
57518
57518
  n10.id = Ee5, n10.textContent = be4, document.head.appendChild(n10);
57519
57519
  }
57520
57520
  var M5, K9, Le5, D6, $e4, Se5, Ie4, Z4, F4, Q6, q7, ee4, Fe4, ue5, te3, U5, E4, Oe4, O6, j3, _, N4, be4, ye2, Ee5, oe3;
57521
- var init_inspector_B32KFAD4 = __esm({
57522
- "../mappedin-js/lib/esm/inspector-B32KFAD4.js"() {
57521
+ var init_inspector_IL7LET64 = __esm({
57522
+ "../mappedin-js/lib/esm/inspector-IL7LET64.js"() {
57523
57523
  "use strict";
57524
- init_chunk_2DEFE4C2();
57525
- init_chunk_Q56Y72HB();
57526
- init_chunk_YB4VFXKF();
57527
- init_chunk_66DYOCZO();
57524
+ init_chunk_M5K474PU();
57525
+ init_chunk_NNBEOC7F();
57526
+ init_chunk_YNQYXD2A();
57527
+ init_chunk_BUTQWGOR();
57528
57528
  init_chunk_5W2UDR4H();
57529
57529
  $i();
57530
57530
  $i();
@@ -58022,7 +58022,7 @@ ieee754/index.js:
58022
58022
  }
58023
58023
  });
58024
58024
 
58025
- // ../mappedin-js/lib/esm/chunk-2DEFE4C2.js
58025
+ // ../mappedin-js/lib/esm/chunk-M5K474PU.js
58026
58026
  function vv2({ mapId: e10, baseUri: r10 = qC2 }) {
58027
58027
  return "".concat(r10).concat(e10, "/");
58028
58028
  }
@@ -61719,8 +61719,8 @@ ieee754/index.js:
61719
61719
  try {
61720
61720
  var A10 = T.c.length;
61721
61721
  Cy2(v6, l10, T, T.f, T.u, A10);
61722
- var F6 = 30 + T.f.length + Df3(T.extra), P6 = l10 + F6;
61723
- v6.set(T.c, P6), Cy2(v6, a, T, T.f, T.u, A10, l10, T.m), a += 16 + F6 + (T.m ? T.m.length : 0), l10 = P6 + A10;
61722
+ var P6 = 30 + T.f.length + Df3(T.extra), F6 = l10 + P6;
61723
+ v6.set(T.c, F6), Cy2(v6, a, T, T.f, T.u, A10, l10, T.m), a += 16 + P6 + (T.m ? T.m.length : 0), l10 = F6 + A10;
61724
61724
  } catch (O10) {
61725
61725
  return h(O10, null);
61726
61726
  }
@@ -61729,17 +61729,17 @@ ieee754/index.js:
61729
61729
  };
61730
61730
  i20 || g6();
61731
61731
  for (var x6 = function(v6) {
61732
- var I10 = o10[v6], C10 = n10[I10], S6 = C10[0], T = C10[1], A10 = X5(), F6 = S6.length;
61732
+ var I10 = o10[v6], C10 = n10[I10], S6 = C10[0], T = C10[1], A10 = X5(), P6 = S6.length;
61733
61733
  A10.p(S6);
61734
- var P6 = Bd3(I10), O10 = P6.length, _10 = T.comment, G10 = _10 && Bd3(_10), L10 = G10 && G10.length, q10 = Df3(T.extra), $10 = T.level == 0 ? 0 : 8, K10 = function(X6, V10) {
61734
+ var F6 = Bd3(I10), O10 = F6.length, z10 = T.comment, G10 = z10 && Bd3(z10), _10 = G10 && G10.length, q10 = Df3(T.extra), $10 = T.level == 0 ? 0 : 8, K10 = function(X6, V10) {
61735
61735
  if (X6) m10(), h(X6, null);
61736
61736
  else {
61737
61737
  var Y6 = V10.length;
61738
- c10[v6] = Ty2(T, { size: F6, crc: A10.d(), c: V10, f: P6, m: G10, u: O10 != I10.length || G10 && _10.length != L10, compression: $10 }), a += 30 + O10 + q10 + Y6, l10 += 76 + 2 * (O10 + q10) + (L10 || 0) + Y6, --i20 || g6();
61738
+ c10[v6] = Ty2(T, { size: P6, crc: A10.d(), c: V10, f: F6, m: G10, u: O10 != I10.length || G10 && z10.length != _10, compression: $10 }), a += 30 + O10 + q10 + Y6, l10 += 76 + 2 * (O10 + q10) + (_10 || 0) + Y6, --i20 || g6();
61739
61739
  }
61740
61740
  };
61741
61741
  if (O10 > 65535 && K10(sr3(11, 0, 1), null), !$10) K10(null, S6);
61742
- else if (F6 < 16e4) try {
61742
+ else if (P6 < 16e4) try {
61743
61743
  K10(null, My2(S6, T));
61744
61744
  } catch (X6) {
61745
61745
  K10(X6, null);
@@ -61759,13 +61759,13 @@ ieee754/index.js:
61759
61759
  var I10 = d ? My2(u10, c10) : u10, C10 = I10.length, S6 = X5();
61760
61760
  S6.p(u10), n10.push(Ty2(c10, { size: u10.length, crc: S6.d(), c: I10, f: m10, m: x6, u: h != a.length || x6 && g6.length != E6, o: o10, compression: d })), o10 += 30 + h + v6 + C10, i20 += 76 + 2 * (h + v6) + (E6 || 0) + C10;
61761
61761
  }
61762
- for (var T = new Rt3(i20 + 22), A10 = o10, F6 = i20 - o10, P6 = 0; P6 < n10.length; ++P6) {
61763
- var m10 = n10[P6];
61762
+ for (var T = new Rt3(i20 + 22), A10 = o10, P6 = i20 - o10, F6 = 0; F6 < n10.length; ++F6) {
61763
+ var m10 = n10[F6];
61764
61764
  Cy2(T, m10.o, m10, m10.f, m10.u, m10.c.length);
61765
61765
  var O10 = 30 + m10.f.length + Df3(m10.extra);
61766
61766
  T.set(m10.c, m10.o + O10), Cy2(T, o10, m10, m10.f, m10.u, m10.c.length, m10.o, m10.m), o10 += 16 + O10 + (m10.m ? m10.m.length : 0);
61767
61767
  }
61768
- return oT2(T, o10, n10.length, F6, A10), T;
61768
+ return oT2(T, o10, n10.length, P6, A10), T;
61769
61769
  }
61770
61770
  function sT2(e10, r10, t65) {
61771
61771
  t65 || (t65 = r10, r10 = {}), typeof t65 != "function" && sr3(7);
@@ -61788,22 +61788,22 @@ ieee754/index.js:
61788
61788
  m10 = ln3(e10, h) == 101075792, m10 && (c10 = u10 = ln3(e10, h + 32), d = ln3(e10, h + 48));
61789
61789
  }
61790
61790
  for (var g6 = r10 && r10.filter, x6 = function(v6) {
61791
- var I10 = nT2(e10, d, m10), C10 = I10[0], S6 = I10[1], T = I10[2], A10 = I10[3], F6 = I10[4], P6 = I10[5], O10 = rT2(e10, P6);
61792
- d = F6;
61793
- var _10 = function(L10, q10) {
61794
- L10 ? (o10(), a(L10, null)) : (q10 && (i20[A10] = q10), --u10 || a(null, i20));
61791
+ var I10 = nT2(e10, d, m10), C10 = I10[0], S6 = I10[1], T = I10[2], A10 = I10[3], P6 = I10[4], F6 = I10[5], O10 = rT2(e10, F6);
61792
+ d = P6;
61793
+ var z10 = function(_10, q10) {
61794
+ _10 ? (o10(), a(_10, null)) : (q10 && (i20[A10] = q10), --u10 || a(null, i20));
61795
61795
  };
61796
- if (!g6 || g6({ name: A10, size: S6, originalSize: T, compression: C10 })) if (!C10) _10(null, Pu3(e10, O10, O10 + S6));
61796
+ if (!g6 || g6({ name: A10, size: S6, originalSize: T, compression: C10 })) if (!C10) z10(null, Pu3(e10, O10, O10 + S6));
61797
61797
  else if (C10 == 8) {
61798
61798
  var G10 = e10.subarray(O10, O10 + S6);
61799
61799
  if (T < 524288 || S6 > 0.8 * T) try {
61800
- _10(null, Ay2(G10, { out: new Rt3(T) }));
61801
- } catch (L10) {
61802
- _10(L10, null);
61800
+ z10(null, Ay2(G10, { out: new Rt3(T) }));
61801
+ } catch (_10) {
61802
+ z10(_10, null);
61803
61803
  }
61804
- else n10.push(vz2(G10, { size: T }, _10));
61805
- } else _10(sr3(14, "unknown compression type " + C10, 1), null);
61806
- else _10(null, null);
61804
+ else n10.push(vz2(G10, { size: T }, z10));
61805
+ } else z10(sr3(14, "unknown compression type " + C10, 1), null);
61806
+ else z10(null, null);
61807
61807
  }, E6 = 0; E6 < c10; ++E6) x6(E6);
61808
61808
  } else a(null, {});
61809
61809
  return o10;
@@ -62238,11 +62238,11 @@ ieee754/index.js:
62238
62238
  return e10.entrances.some((t65) => Ou3(t65, r10)) || e10.exits.some((t65) => Ou3(t65, r10));
62239
62239
  }
62240
62240
  function zw2(e10, { geometryMaps: r10, nodesByGeometryId: t65 }) {
62241
- var S6, T, A10, F6, P6, O10, _10, G10, L10, q10, $10, K10, X6, V10, Y6, ee5, oe4, le4, ve4, he3, de5, Fe5, ce4, Pe7, He8, bt3, B6, re3, R8, ue6, ie4, se4, Le6, Et4, Ce5, xe5, We3, Gr3, xi3, ca2, po3, da3, Ii3, _o3, ml3, Gc3, mu3, Ei2;
62241
+ var S6, T, A10, P6, F6, O10, z10, G10, _10, q10, $10, K10, X6, V10, Y6, ee5, oe4, le4, ve4, he3, de5, Fe5, ce4, Pe7, He8, bt3, B6, re3, L10, ue6, ie4, se4, Le6, Et4, Ce5, xe5, We3, Gr3, xi3, ca2, po3, da3, Ii3, _o3, ml3, Gc3, mu3, Ei2;
62242
62242
  let n10 = { categories: [], locations: [], locationInstances: [], layers: [], venue: { slug: "", name: "", externalId: "", defaultLanguage: { name: "English", code: "en" }, languages: [] } }, o10 = (S6 = e10.manifest) == null ? void 0 : S6.features[0];
62243
62243
  o10 && (n10.venue.defaultFloor = o10.properties.defaultFloor, n10.venue.tzid = o10.properties.tzid, n10.venue.name = o10.properties.name, n10.venue.defaultLanguage = { name: (T = o10.properties.language) != null ? T : "English", code: (A10 = o10.properties.language) != null ? A10 : "en" });
62244
- let i20 = (F6 = e10.cms) == null ? void 0 : F6.venue;
62245
- i20 && (n10.venue = F(E({}, n10.venue), { slug: i20.slug, name: (_10 = (O10 = (P6 = i20.details) == null ? void 0 : P6.name) != null ? O10 : n10.venue.name) != null ? _10 : o10.properties.name, externalId: (L10 = (G10 = i20.details) == null ? void 0 : G10.externalId) != null ? L10 : "", defaultLanguage: i20.defaultLanguage, languages: (q10 = i20.languages) != null ? q10 : [], countrycode: i20.countrycode, coverImage: i20.coverImage, logo: i20.logo, icon: ($10 = i20.details) == null ? void 0 : $10.icon, extra: i20.extra, mappedinWebUrl: i20.mappedinWebUrl, operationHours: i20.operationHours, topLocations: i20.topLocations }));
62244
+ let i20 = (P6 = e10.cms) == null ? void 0 : P6.venue;
62245
+ i20 && (n10.venue = F(E({}, n10.venue), { slug: i20.slug, name: (z10 = (O10 = (F6 = i20.details) == null ? void 0 : F6.name) != null ? O10 : n10.venue.name) != null ? z10 : o10.properties.name, externalId: (_10 = (G10 = i20.details) == null ? void 0 : G10.externalId) != null ? _10 : "", defaultLanguage: i20.defaultLanguage, languages: (q10 = i20.languages) != null ? q10 : [], countrycode: i20.countrycode, coverImage: i20.coverImage, logo: i20.logo, icon: ($10 = i20.details) == null ? void 0 : $10.icon, extra: i20.extra, mappedinWebUrl: i20.mappedinWebUrl, operationHours: i20.operationHours, topLocations: i20.topLocations }));
62246
62246
  let a = /* @__PURE__ */ new Map(), l10 = (K10 = e10.locations) != null ? K10 : [], u10 = (V10 = (X6 = e10.cms) == null ? void 0 : X6.locations) != null ? V10 : [], c10 = (ee5 = (Y6 = e10.cms) == null ? void 0 : Y6.categories) != null ? ee5 : [], d = new Map((c10 != null ? c10 : []).map((Vt3) => [Vt3.categoryId, Vt3]));
62247
62247
  if (l10.length > 0) {
62248
62248
  let Vt3 = new Map(u10.map((Ae5) => [Ae5.locationId, Ae5]));
@@ -62276,7 +62276,7 @@ ieee754/index.js:
62276
62276
  for (let ye3 of h) {
62277
62277
  let ke6 = (Pe7 = Vt3.get(ye3.id)) != null ? Pe7 : {};
62278
62278
  if (ye3) {
62279
- let Ne6 = { id: kw2(ye3.id), parent: (He8 = ke6.parentId) != null ? He8 : Rf3(ye3.parentId), name: (bt3 = ye3.details) == null ? void 0 : bt3.name, externalId: (B6 = ye3.details) == null ? void 0 : B6.externalId, type: ke6.type, sortOrder: ke6.sortOrder, amenity: ke6.amenity, description: (re3 = ye3.details) == null ? void 0 : re3.description, extra: ye3.extra, links: ye3.links, operationHours: ye3.openingHours, gallery: ke6.gallery, picture: ke6.picture, showFloatingLabelWhenImagePresent: ke6.showFloatingLabelWhenImagePresent, showLogo: ke6.showLogo, siblingGroups: ke6.siblingGroups, states: ke6.states, tags: ke6.tags, logo: ye3.logo, shortName: (R8 = ye3.details) == null ? void 0 : R8.shortName };
62279
+ let Ne6 = { id: kw2(ye3.id), parent: (He8 = ke6.parentId) != null ? He8 : Rf3(ye3.parentId), name: (bt3 = ye3.details) == null ? void 0 : bt3.name, externalId: (B6 = ye3.details) == null ? void 0 : B6.externalId, type: ke6.type, sortOrder: ke6.sortOrder, amenity: ke6.amenity, description: (re3 = ye3.details) == null ? void 0 : re3.description, extra: ye3.extra, links: ye3.links, operationHours: ye3.openingHours, gallery: ke6.gallery, picture: ke6.picture, showFloatingLabelWhenImagePresent: ke6.showFloatingLabelWhenImagePresent, showLogo: ke6.showLogo, siblingGroups: ke6.siblingGroups, states: ke6.states, tags: ke6.tags, logo: ye3.logo, shortName: (L10 = ye3.details) == null ? void 0 : L10.shortName };
62280
62280
  ye3.phone && (Ne6.phone = { number: ye3.phone });
62281
62281
  let Je4 = Uw2((ue6 = ye3.social) != null ? ue6 : []);
62282
62282
  if (ye3.website && (Je4.website = ye3.website.url), Object.keys(Je4).length > 0 && (Ne6.social = Je4), (ie4 = ye3.geometryAnchors) != null && ie4.length) {
@@ -62442,21 +62442,21 @@ ieee754/index.js:
62442
62442
  for (let T of st3(e10.geometry)) {
62443
62443
  let A10 = e10.geometry[T];
62444
62444
  if (!A10) continue;
62445
- let F6 = [], P6 = [], O10 = [], _10 = [];
62445
+ let P6 = [], F6 = [], O10 = [], z10 = [];
62446
62446
  for (let G10 of A10.features) {
62447
- let L10 = G10.properties.id, q10 = o10.has(L10), $10 = (d = t65.get(L10)) != null ? d : [];
62448
- for (let K10 of (h = (m10 = r10.space.get(L10)) == null ? void 0 : m10.features) != null ? h : []) F6.push(Jw2(K10, $10));
62449
- for (let K10 of (x6 = (g6 = r10.obstruction.get(L10)) == null ? void 0 : g6.features) != null ? x6 : []) if (P6.push(F$(K10, q10)), r10.object.has(L10)) {
62450
- let X6 = (E6 = t65.get(L10)) != null ? E6 : [], V10 = X6.map((Y6) => n10.get(Y6)).filter((Y6) => Y6 != null);
62447
+ let _10 = G10.properties.id, q10 = o10.has(_10), $10 = (d = t65.get(_10)) != null ? d : [];
62448
+ for (let K10 of (h = (m10 = r10.space.get(_10)) == null ? void 0 : m10.features) != null ? h : []) P6.push(Jw2(K10, $10));
62449
+ for (let K10 of (x6 = (g6 = r10.obstruction.get(_10)) == null ? void 0 : g6.features) != null ? x6 : []) if (F6.push(F$(K10, q10)), r10.object.has(_10)) {
62450
+ let X6 = (E6 = t65.get(_10)) != null ? E6 : [], V10 = X6.map((Y6) => n10.get(Y6)).filter((Y6) => Y6 != null);
62451
62451
  for (let Y6 of V10) {
62452
- let ee5 = Jw2({ type: "Feature", geometry: Y6.geometry, properties: { id: Bw2(Y6.properties.id), kind: "desk-entrance", details: { externalId: r12(L10) } } }, X6);
62453
- F6.push(ee5);
62452
+ let ee5 = Jw2({ type: "Feature", geometry: Y6.geometry, properties: { id: Bw2(Y6.properties.id), kind: "desk-entrance", details: { externalId: r12(_10) } } }, X6);
62453
+ P6.push(ee5);
62454
62454
  }
62455
62455
  }
62456
- for (let K10 of (I10 = (v6 = r10.area.get(L10)) == null ? void 0 : v6.features) != null ? I10 : []) O10.push(P$(K10, $10));
62457
- for (let K10 of (S6 = (C10 = r10.window.get(L10)) == null ? void 0 : C10.features) != null ? S6 : []) _10.push(O$(K10));
62456
+ for (let K10 of (I10 = (v6 = r10.area.get(_10)) == null ? void 0 : v6.features) != null ? I10 : []) O10.push(P$(K10, $10));
62457
+ for (let K10 of (S6 = (C10 = r10.window.get(_10)) == null ? void 0 : C10.features) != null ? S6 : []) z10.push(O$(K10));
62458
62458
  }
62459
- F6.length > 0 && (i20[T] = { type: "FeatureCollection", features: F6.filter((G10) => G10 !== null) }), P6.length > 0 && (a[T] = { type: "FeatureCollection", features: P6.filter((G10) => G10 !== null) }), O10.length > 0 && (l10[T] = { type: "FeatureCollection", features: O10.filter((G10) => G10 !== null) }), _10.length > 0 && (u10[T] = { type: "FeatureCollection", features: _10.filter((G10) => G10 !== null) });
62459
+ P6.length > 0 && (i20[T] = { type: "FeatureCollection", features: P6.filter((G10) => G10 !== null) }), F6.length > 0 && (a[T] = { type: "FeatureCollection", features: F6.filter((G10) => G10 !== null) }), O10.length > 0 && (l10[T] = { type: "FeatureCollection", features: O10.filter((G10) => G10 !== null) }), z10.length > 0 && (u10[T] = { type: "FeatureCollection", features: z10.filter((G10) => G10 !== null) });
62460
62460
  }
62461
62461
  let c10 = { space: i20, obstruction: a };
62462
62462
  return Object.keys(l10).length > 0 && (c10.area = l10), Object.keys(u10).length > 0 && (c10.window = u10), c10;
@@ -62514,7 +62514,7 @@ ieee754/index.js:
62514
62514
  for (let S6 of e10.locations) {
62515
62515
  let T = { id: S6.id, name: S6.details.name, categories: S6.categories, spaces: [], obstructions: [], areas: [], annotations: [], connections: [], entrances: [], links: S6.links, openingHoursSpecification: (l10 = S6.openingHours) != null ? l10 : [], pictures: S6.images, social: S6.social, description: S6.details.description, externalId: S6.details.externalId, icon: S6.details.icon, logo: S6.logo, phone: S6.phone, website: S6.website };
62516
62516
  C10.push(T);
62517
- for (let { geometryId: A10, floorId: F6 } of S6.geometryAnchors) T.spaces.push(...(c10 = (u10 = r10.space.get(A10)) == null ? void 0 : u10.ids.map((P6) => ({ id: P6, floor: F6 }))) != null ? c10 : []), T.obstructions.push(...(m10 = (d = r10.obstruction.get(A10)) == null ? void 0 : d.ids.map((P6) => ({ id: P6, floor: F6 }))) != null ? m10 : []), T.areas.push(...(g6 = (h = r10.area.get(A10)) == null ? void 0 : h.ids.map((P6) => ({ id: P6, floor: F6 }))) != null ? g6 : []), T.entrances.push(...(x6 = I10.entrancesByGeometryId.get(A10)) != null ? x6 : []), T.connections.push(...(E6 = I10.connectionsByGeometryId.get(A10)) != null ? E6 : []), T.annotations.push(...(v6 = I10.annotationsByGeometryId.get(A10)) != null ? v6 : []);
62517
+ for (let { geometryId: A10, floorId: P6 } of S6.geometryAnchors) T.spaces.push(...(c10 = (u10 = r10.space.get(A10)) == null ? void 0 : u10.ids.map((F6) => ({ id: F6, floor: P6 }))) != null ? c10 : []), T.obstructions.push(...(m10 = (d = r10.obstruction.get(A10)) == null ? void 0 : d.ids.map((F6) => ({ id: F6, floor: P6 }))) != null ? m10 : []), T.areas.push(...(g6 = (h = r10.area.get(A10)) == null ? void 0 : h.ids.map((F6) => ({ id: F6, floor: P6 }))) != null ? g6 : []), T.entrances.push(...(x6 = I10.entrancesByGeometryId.get(A10)) != null ? x6 : []), T.connections.push(...(E6 = I10.connectionsByGeometryId.get(A10)) != null ? E6 : []), T.annotations.push(...(v6 = I10.annotationsByGeometryId.get(A10)) != null ? v6 : []);
62518
62518
  }
62519
62519
  n10["location.json"] = C10;
62520
62520
  }
@@ -62554,13 +62554,13 @@ ieee754/index.js:
62554
62554
  var c10, d, m10, h, g6, x6;
62555
62555
  let o10 = { "node.geojson": { type: "FeatureCollection", features: [] } }, i20 = o10["node.geojson"].features, a = _$(e10), l10 = L$(e10), u10 = R$(e10, l10, a);
62556
62556
  for (let [E6, v6] of ft((c10 = e10.nodes) != null ? c10 : {})) for (let I10 of (d = v6 == null ? void 0 : v6.features) != null ? d : []) {
62557
- let C10 = (m10 = r10.space.get(I10.properties.geometryIds[0])) == null ? void 0 : m10.features[0], S6 = (C10 == null ? void 0 : C10.geometry.type) === "Point" && ((h = C10 == null ? void 0 : C10.properties.details) != null && h.externalId) ? C10.properties.details.externalId : "", T = (g6 = n10.get(I10.properties.id)) != null ? g6 : [], A10 = Object.keys(t65 != null ? t65 : {}), F6 = [];
62558
- for (let O10 of T) for (let _10 of A10) Ou3(O10, t65[_10]) && F6.push(t65[_10]);
62559
- let P6 = { type: "Feature", geometry: I10.geometry, properties: { id: I10.properties.id, floor: E6, space: I10.properties.geometryIds.map((O10) => {
62560
- var _10;
62561
- return (_10 = r10.space.get(O10)) == null ? void 0 : _10.ids;
62562
- }).flat().filter((O10) => O10 !== void 0), neighbors: [...I10.properties.neighbors.map((O10) => ({ id: O10.id, weight: O10.extraCost })), ...(x6 = u10.get(I10.properties.id)) != null ? x6 : []], map: E6, externalId: S6, flags: F6.length > 0 ? N$(F6) : void 0 } };
62563
- i20.push(P6);
62557
+ let C10 = (m10 = r10.space.get(I10.properties.geometryIds[0])) == null ? void 0 : m10.features[0], S6 = (C10 == null ? void 0 : C10.geometry.type) === "Point" && ((h = C10 == null ? void 0 : C10.properties.details) != null && h.externalId) ? C10.properties.details.externalId : "", T = (g6 = n10.get(I10.properties.id)) != null ? g6 : [], A10 = Object.keys(t65 != null ? t65 : {}), P6 = [];
62558
+ for (let O10 of T) for (let z10 of A10) Ou3(O10, t65[z10]) && P6.push(t65[z10]);
62559
+ let F6 = { type: "Feature", geometry: I10.geometry, properties: { id: I10.properties.id, floor: E6, space: I10.properties.geometryIds.map((O10) => {
62560
+ var z10;
62561
+ return (z10 = r10.space.get(O10)) == null ? void 0 : z10.ids;
62562
+ }).flat().filter((O10) => O10 !== void 0), neighbors: [...I10.properties.neighbors.map((O10) => ({ id: O10.id, weight: O10.extraCost })), ...(x6 = u10.get(I10.properties.id)) != null ? x6 : []], map: E6, externalId: S6, flags: P6.length > 0 ? N$(P6) : void 0 } };
62563
+ i20.push(F6);
62564
62564
  }
62565
62565
  return o10;
62566
62566
  }
@@ -63819,25 +63819,25 @@ ieee754/index.js:
63819
63819
  return { msgId: "-1", totalWidth: e10[3], totalHeight: e10[2], watermarkWidth: e10[4], watermarkHeight: e10[5], watermarkPosition: e10[6], colliders: r10, devicePixelRatio: e10[1] };
63820
63820
  }
63821
63821
  function hF2(e10, r10, t65, n10, o10, i20, a = "-1") {
63822
- var F6, P6;
63822
+ var P6, F6;
63823
63823
  let l10 = 1 / 0, u10 = 1 / 0, c10 = -1 / 0, d = -1 / 0, m10 = new Ke3(-N12, 0, 5, t65), h = new Ke3(-N12, 0, r10, 5), g6 = new Ke3(r10 - 5, 0, r10 + N12, t65), x6 = new Ke3(0, t65 - 5, r10, t65 + N12), E6 = QZ(r10, t65, n10, o10, i20), v6 = [m10, h, g6, x6], I10 = new Ke3(-Wu3, -Wu3, r10 + Wu3 * 2, t65 + Wu3 * 2);
63824
63824
  for (let O10 of e10) {
63825
- let _10, G10;
63826
- for (let L10 = 0; L10 < O10.bboxes.length; L10++) {
63827
- if (O10.bboxes[L10] == null || (_10 = O10.bboxes[L10].boundingBox, G10 = O10.bboxes[L10].index, O10.lockedToStrategyIndex !== -1 && G10 !== O10.lockedToStrategyIndex)) continue;
63828
- let [q10, $10, K10, X6] = _10, [V10, Y6, ee5, oe4] = [O10.y - q10, O10.y + $10, O10.x - K10, O10.x + X6], le4 = ee5, ve4 = V10, he3 = oe4 - ee5, de5 = Y6 - V10;
63829
- l10 = Math.min(l10, le4) - Wu3, u10 = Math.min(u10, ve4) - Wu3, c10 = Math.max(c10, le4 + he3) + Wu3, d = Math.max(d, ve4 + de5) + Wu3, O10.bboxes[L10].boundingRect = new Ke3(le4, ve4, he3, de5);
63825
+ let z10, G10;
63826
+ for (let _10 = 0; _10 < O10.bboxes.length; _10++) {
63827
+ if (O10.bboxes[_10] == null || (z10 = O10.bboxes[_10].boundingBox, G10 = O10.bboxes[_10].index, O10.lockedToStrategyIndex !== -1 && G10 !== O10.lockedToStrategyIndex)) continue;
63828
+ let [q10, $10, K10, X6] = z10, [V10, Y6, ee5, oe4] = [O10.y - q10, O10.y + $10, O10.x - K10, O10.x + X6], le4 = ee5, ve4 = V10, he3 = oe4 - ee5, de5 = Y6 - V10;
63829
+ l10 = Math.min(l10, le4) - Wu3, u10 = Math.min(u10, ve4) - Wu3, c10 = Math.max(c10, le4 + he3) + Wu3, d = Math.max(d, ve4 + de5) + Wu3, O10.bboxes[_10].boundingRect = new Ke3(le4, ve4, he3, de5);
63830
63830
  }
63831
63831
  }
63832
63832
  let C10 = new ci3(new Ke3(l10, u10, c10 - l10, d - u10)), S6 = { msgId: a, colliders: new Array(e10.length), staticColliders: [], debug: [] }, T = 0;
63833
63833
  for (let O10 = 0; O10 < e10.length; O10++) {
63834
- let _10 = e10[O10];
63835
- ((P6 = (F6 = _10.bboxes) == null ? void 0 : F6[0]) == null ? void 0 : P6.index) === rI2 && (S6.staticColliders.push(_10.bboxes[0].boundingRect), C10.insert(_10.bboxes[0].boundingRect), T++);
63834
+ let z10 = e10[O10];
63835
+ ((F6 = (P6 = z10.bboxes) == null ? void 0 : P6[0]) == null ? void 0 : F6.index) === rI2 && (S6.staticColliders.push(z10.bboxes[0].boundingRect), C10.insert(z10.bboxes[0].boundingRect), T++);
63836
63836
  }
63837
63837
  e10 = e10.slice(T, e10.length);
63838
63838
  let A10;
63839
63839
  for (let O10 = 0; O10 < e10.length; O10++) if (A10 = e10[O10], S6.colliders[O10] = [-1, 0], A10.enabledAndVisible) {
63840
- let [_10, G10, L10] = [1 / 0, -1, void 0];
63840
+ let [z10, G10, _10] = [1 / 0, -1, void 0];
63841
63841
  for (let { index: q10, boundingRect: $10 } of A10.bboxes) {
63842
63842
  if ($10 == null) continue;
63843
63843
  let K10 = [];
@@ -63847,12 +63847,12 @@ ieee754/index.js:
63847
63847
  S6.colliders[O10] = [-1, 0, $10];
63848
63848
  break;
63849
63849
  }
63850
- if (K10.length <= _10 && (L10 = $10, G10 = q10, _10 = K10.length), K10.length === 0) {
63850
+ if (K10.length <= z10 && (_10 = $10, G10 = q10, z10 = K10.length), K10.length === 0) {
63851
63851
  C10.insert($10), S6.colliders[O10] = [q10, I10.contains($10) ? 0 : 1, $10];
63852
63852
  break;
63853
63853
  }
63854
63854
  }
63855
- A10.rank === az && L10 != null && (C10.insert(L10), S6.colliders[O10] = [G10, I10.contains(L10) ? 0 : 1, L10]);
63855
+ A10.rank === az && _10 != null && (C10.insert(_10), S6.colliders[O10] = [G10, I10.contains(_10) ? 0 : 1, _10]);
63856
63856
  } else S6.colliders[O10] = [-1, 0];
63857
63857
  return S6;
63858
63858
  }
@@ -63959,14 +63959,14 @@ ieee754/index.js:
63959
63959
  let d = [];
63960
63960
  for (let C10 of c10) {
63961
63961
  let S6 = new Zr();
63962
- S6.moveTo(C10[0].x, C10[0].y), C10.slice(1).forEach((P6) => S6.lineTo(P6.x, P6.y)), S6.lineTo(C10[0].x, C10[0].y);
63962
+ S6.moveTo(C10[0].x, C10[0].y), C10.slice(1).forEach((F6) => S6.lineTo(F6.x, F6.y)), S6.lineTo(C10[0].x, C10[0].y);
63963
63963
  let T = e10.geometry.coordinates.slice(1);
63964
- S6.holes = T.map((P6) => {
63965
- let O10 = P6.map((G10) => r10(G10[1], G10[0])), _10 = new Cs();
63966
- return _10.moveTo(O10[0].x, O10[0].y), O10.slice(1).forEach((G10) => _10.lineTo(G10.x, G10.y)), _10.lineTo(O10[0].x, O10[0].y), _10;
63964
+ S6.holes = T.map((F6) => {
63965
+ let O10 = F6.map((G10) => r10(G10[1], G10[0])), z10 = new Cs();
63966
+ return z10.moveTo(O10[0].x, O10[0].y), O10.slice(1).forEach((G10) => z10.lineTo(G10.x, G10.y)), z10.lineTo(O10[0].x, O10[0].y), z10;
63967
63967
  });
63968
- let A10 = E0e(t65 == null ? void 0 : t65.bevel, a), F6 = new sl(S6, A10);
63969
- F6.userData = { style: { color: n10, opacity: o10 }, usedBevelSettings: A10 }, d.push(F6);
63968
+ let A10 = E0e(t65 == null ? void 0 : t65.bevel, a), P6 = new sl(S6, A10);
63969
+ P6.userData = { style: { color: n10, opacity: o10 }, usedBevelSettings: A10 }, d.push(P6);
63970
63970
  }
63971
63971
  if (d.length === 1) return d[0];
63972
63972
  let m10 = M2(d);
@@ -64083,14 +64083,14 @@ ieee754/index.js:
64083
64083
  t65.updateMatrixWorld();
64084
64084
  let h = u10.matrixWorldInverse, g6 = u10.fov * (Math.PI / 180) / 2, x6 = g6, v6 = Math.atan(Math.tan(g6) * (r10 / i20)), I10 = new C2(1 / 0, 1 / 0, 1 / 0), C10 = new C2(-1 / 0, -1 / 0, -1 / 0), S6 = new Ie(), T = new C2();
64085
64085
  for (let Le6 = 0, Et4 = e10.length; Le6 < Et4; Le6++) T.copy(e10[Le6]), S6.expandByPoint(T), T.applyMatrix4(h), I10.min(T), C10.max(T), T.copy(e10[Le6]), T.z -= o10, T.applyMatrix4(h), I10.min(T), C10.max(T), T.copy(e10[Le6]), T.z += o10, T.applyMatrix4(h), I10.min(T), C10.max(T);
64086
- let A10 = C10.x - I10.x, F6 = C10.y - I10.y, P6 = r10 - m10.left - m10.right, O10 = i20 - m10.top - m10.bottom, _10 = (C10.x + I10.x) / 2, G10 = (C10.y + I10.y) / 2, L10 = A10 / P6, q10 = F6 / O10, $10 = a, K10 = l10, X6 = $10 * Math.tan(v6) * 2, V10 = K10 * Math.tan(v6) * 2, Y6 = X6 / r10, ee5 = V10 / r10, oe4 = Math.max(L10, q10);
64086
+ let A10 = C10.x - I10.x, P6 = C10.y - I10.y, F6 = r10 - m10.left - m10.right, O10 = i20 - m10.top - m10.bottom, z10 = (C10.x + I10.x) / 2, G10 = (C10.y + I10.y) / 2, _10 = A10 / F6, q10 = P6 / O10, $10 = a, K10 = l10, X6 = $10 * Math.tan(v6) * 2, V10 = K10 * Math.tan(v6) * 2, Y6 = X6 / r10, ee5 = V10 / r10, oe4 = Math.max(_10, q10);
64087
64087
  oe4 = Sd.clamp(oe4, Y6, ee5);
64088
- let le4 = P6 * oe4, ve4 = O10 * oe4, he3 = { min: { x: _10 - le4 / 2 - m10.left * oe4, y: G10 - ve4 / 2 - m10.bottom * oe4 }, max: { x: _10 + le4 / 2 + m10.right * oe4, y: G10 + ve4 / 2 + m10.top * oe4 } }, de5 = (he3.min.x + he3.max.x) / 2, Fe5 = (he3.min.y + he3.max.y) / 2, ce4 = S6.getCenter(new C2()), Pe7 = Math.abs(de5 - he3.min.x), He8 = Math.abs(Fe5 - he3.min.y), bt3 = Pe7 / Math.tan(v6), B6 = He8 / Math.tan(x6), re3 = new C2();
64088
+ let le4 = F6 * oe4, ve4 = O10 * oe4, he3 = { min: { x: z10 - le4 / 2 - m10.left * oe4, y: G10 - ve4 / 2 - m10.bottom * oe4 }, max: { x: z10 + le4 / 2 + m10.right * oe4, y: G10 + ve4 / 2 + m10.top * oe4 } }, de5 = (he3.min.x + he3.max.x) / 2, Fe5 = (he3.min.y + he3.max.y) / 2, ce4 = S6.getCenter(new C2()), Pe7 = Math.abs(de5 - he3.min.x), He8 = Math.abs(Fe5 - he3.min.y), bt3 = Pe7 / Math.tan(v6), B6 = He8 / Math.tan(x6), re3 = new C2();
64089
64089
  re3.set(de5, Fe5, C10.z + Math.max(bt3, B6)), re3.applyMatrix4(u10.matrixWorld);
64090
- let R8 = new C2();
64091
- R8.set(de5, Fe5, C10.z), R8.applyMatrix4(u10.matrixWorld);
64092
- let ue6 = new C2().subVectors(R8, re3), ie4 = (ce4.z - re3.z) / ue6.z, se4 = new C2().copy(re3).add(ue6.clone().multiplyScalar(ie4));
64093
- return R8.set(se4.x, se4.y, se4.z), re3.sub(R8), { position: se4, zoom: re3.length() };
64090
+ let L10 = new C2();
64091
+ L10.set(de5, Fe5, C10.z), L10.applyMatrix4(u10.matrixWorld);
64092
+ let ue6 = new C2().subVectors(L10, re3), ie4 = (ce4.z - re3.z) / ue6.z, se4 = new C2().copy(re3).add(ue6.clone().multiplyScalar(ie4));
64093
+ return L10.set(se4.x, se4.y, se4.z), re3.sub(L10), { position: se4, zoom: re3.length() };
64094
64094
  }
64095
64095
  function vI2(e10, r10) {
64096
64096
  e10[0] = Math.min(e10[0], r10[0]), e10[1] = Math.min(e10[1], r10[1]), e10[2] = Math.max(e10[2], r10[0]), e10[3] = Math.max(e10[3], r10[1]);
@@ -64145,18 +64145,18 @@ ieee754/index.js:
64145
64145
  else {
64146
64146
  let d = o10.thickness, m10 = l10 + d, h = l10 + d, g6 = u10 - d, x6 = u10 - d, E6 = n10 - d, v6 = n10, I10 = n10, C10 = n10 + t65, S6 = n10 + t65, T = n10 + t65 + d;
64147
64147
  for (let A10 = 0; A10 < r10.count; A10++) {
64148
- let P6 = (r10.start + A10) * 3, O10 = a[P6 + 2], _10;
64148
+ let F6 = (r10.start + A10) * 3, O10 = a[F6 + 2], z10;
64149
64149
  if (O10 <= m10) {
64150
64150
  let G10 = d > 0 ? (O10 - l10) / d : 0;
64151
- _10 = E6 + G10 * (v6 - E6);
64151
+ z10 = E6 + G10 * (v6 - E6);
64152
64152
  } else if (O10 >= x6) {
64153
64153
  let G10 = d > 0 ? (O10 - x6) / d : 0;
64154
- _10 = S6 + G10 * (T - S6);
64154
+ z10 = S6 + G10 * (T - S6);
64155
64155
  } else {
64156
- let G10 = g6 - h, L10 = G10 > 0 ? (O10 - h) / G10 : 0;
64157
- _10 = I10 + L10 * (C10 - I10);
64156
+ let G10 = g6 - h, _10 = G10 > 0 ? (O10 - h) / G10 : 0;
64157
+ z10 = I10 + _10 * (C10 - I10);
64158
64158
  }
64159
- a[P6 + 2] = _10;
64159
+ a[F6 + 2] = z10;
64160
64160
  }
64161
64161
  }
64162
64162
  e10.attributes.position.needsUpdate = true;
@@ -64394,15 +64394,15 @@ ieee754/index.js:
64394
64394
  }
64395
64395
  function l8(e10, r10, t65) {
64396
64396
  var Le6, Et4;
64397
- let { breakpoint: n10, width: o10, accentColor: i20, completeFraction: a, isVertical: l10, visibleThroughGeometry: u10, dashed: c10, highlightCompleteFraction: d, highlightStartFraction: m10, highlightEndFraction: h, highlightColor: g6, highlightWidthMultiplier: x6 } = r10, { color: E6 } = t65, v6 = true, I10 = 0, C10 = 1 / 0, S6 = r10.displayArrowsOnPath, T = true, A10 = S6, F6 = typeof o10 == "object" ? Number(o10.output[n10]) / 2 : o10 / 2, P6 = typeof o10 == "object" ? Number((Le6 = o10.output[n10 + 1]) != null ? Le6 : o10.output[n10]) / 2 : o10 / 2, O10 = ((Et4 = t65.altitude) != null ? Et4 : 0) + TW, _10 = 0;
64397
+ let { breakpoint: n10, width: o10, accentColor: i20, completeFraction: a, isVertical: l10, visibleThroughGeometry: u10, dashed: c10, highlightCompleteFraction: d, highlightStartFraction: m10, highlightEndFraction: h, highlightColor: g6, highlightWidthMultiplier: x6 } = r10, { color: E6 } = t65, v6 = true, I10 = 0, C10 = 1 / 0, S6 = r10.displayArrowsOnPath, T = true, A10 = S6, P6 = typeof o10 == "object" ? Number(o10.output[n10]) / 2 : o10 / 2, F6 = typeof o10 == "object" ? Number((Le6 = o10.output[n10 + 1]) != null ? Le6 : o10.output[n10]) / 2 : o10 / 2, O10 = ((Et4 = t65.altitude) != null ? Et4 : 0) + TW, z10 = 0;
64398
64398
  e10[0].z += O10;
64399
64399
  for (let Ce5 = 1; Ce5 < e10.length; ++Ce5) {
64400
64400
  e10[Ce5].z += O10;
64401
64401
  let xe5 = e10[Ce5].x - e10[Ce5 - 1].x, We3 = e10[Ce5].z - e10[Ce5 - 1].z;
64402
- if (l10) _10 += Math.sqrt(xe5 * xe5 + We3 * We3);
64402
+ if (l10) z10 += Math.sqrt(xe5 * xe5 + We3 * We3);
64403
64403
  else {
64404
64404
  let Gr3 = e10[Ce5].y - e10[Ce5 - 1].y;
64405
- _10 += Math.sqrt(xe5 * xe5 + Gr3 * Gr3 + We3 * We3);
64405
+ z10 += Math.sqrt(xe5 * xe5 + Gr3 * Gr3 + We3 * We3);
64406
64406
  }
64407
64407
  }
64408
64408
  if (!l10) {
@@ -64411,9 +64411,9 @@ ieee754/index.js:
64411
64411
  }
64412
64412
  let G10 = new Ae();
64413
64413
  A10 && (G10 = DW.load(u8), G10.colorSpace = ke);
64414
- let L10 = new Nt(E6), q10 = new Nt(i20), $10 = { vertexes: { type: "f", value: 1 }, resolution: { type: "v2", value: new at(1, 1) }, cameraParameters: { type: "v2", value: new at(I10, 0) }, complete: { type: "f", value: v6 ? 0 : 1 }, color: { type: "c", value: L10 }, pathLength: { type: "f", value: _10 }, nearRadius: { type: "f", value: F6 }, farRadius: { type: "f", value: P6 }, nearZoom: { type: "f", value: I10 }, farZoom: { type: "f", value: C10 }, pulseColor: { type: "c", value: q10 }, pulse: { type: "f", value: 0 }, pulseLength: { type: "f", value: 0.075 }, pathIsVertical: { type: "b", value: l10 }, arrowAnimationTimer: { type: "f", value: 0 }, arrowTexture: { type: "t", value: G10 }, displayArrowsOnPath: { type: "b", value: S6 }, showPulse: { type: "b", value: T }, opacityMultiplier: { type: "f", value: 1 }, dashed: { type: "b", value: c10 }, highlightCompleteFraction: { type: "f", value: d }, highlightStartFraction: { type: "f", value: m10 }, highlightEndFraction: { type: "f", value: h }, highlightColor: { type: "c", value: new Nt(g6) }, highlightWidthMultiplier: { type: "f", value: x6 } }, K10 = new Gr(e10);
64414
+ let _10 = new Nt(E6), q10 = new Nt(i20), $10 = { vertexes: { type: "f", value: 1 }, resolution: { type: "v2", value: new at(1, 1) }, cameraParameters: { type: "v2", value: new at(I10, 0) }, complete: { type: "f", value: v6 ? 0 : 1 }, color: { type: "c", value: _10 }, pathLength: { type: "f", value: z10 }, nearRadius: { type: "f", value: P6 }, farRadius: { type: "f", value: F6 }, nearZoom: { type: "f", value: I10 }, farZoom: { type: "f", value: C10 }, pulseColor: { type: "c", value: q10 }, pulse: { type: "f", value: 0 }, pulseLength: { type: "f", value: 0.075 }, pathIsVertical: { type: "b", value: l10 }, arrowAnimationTimer: { type: "f", value: 0 }, arrowTexture: { type: "t", value: G10 }, displayArrowsOnPath: { type: "b", value: S6 }, showPulse: { type: "b", value: T }, opacityMultiplier: { type: "f", value: 1 }, dashed: { type: "b", value: c10 }, highlightCompleteFraction: { type: "f", value: d }, highlightStartFraction: { type: "f", value: m10 }, highlightEndFraction: { type: "f", value: h }, highlightColor: { type: "c", value: new Nt(g6) }, highlightWidthMultiplier: { type: "f", value: x6 } }, K10 = new Gr(e10);
64415
64415
  K10.curveType = "catmullrom", K10.tension = 0;
64416
- let X6 = 30, V10 = 8, Y6 = X6 * e10.length, ee5 = new al(K10, Y6, F6, V10, false), oe4 = new Float32Array(ee5.attributes.position.count);
64416
+ let X6 = 30, V10 = 8, Y6 = X6 * e10.length, ee5 = new al(K10, Y6, P6, V10, false), oe4 = new Float32Array(ee5.attributes.position.count);
64417
64417
  for (let Ce5 = e10.length; Ce5 < oe4.length; Ce5++) oe4[Ce5] = Ce5;
64418
64418
  ee5.setAttribute("vertexIndex", new xe(oe4, 1));
64419
64419
  let le4 = new Float32Array(ee5.attributes.position.count), ve4 = new xe(le4, 1);
@@ -64438,12 +64438,12 @@ ieee754/index.js:
64438
64438
  ee5.setAttribute("pathNormal", ce4);
64439
64439
  let B6 = new nn({ uniforms: $10, vertexShader: L4, fragmentShader: OI2 });
64440
64440
  B6.transparent = true, B6.alphaTest = 0.5, $10.resolution.value.x = 1, $10.resolution.value.y = 1, $10.vertexes.value = oe4.length, $10.arrowTexture.value.wrapS = Cr, $10.arrowTexture.value.wrapT = Cr, $10.arrowTexture.value.anisotropy = 16;
64441
- let re3 = new ve(ee5, B6), R8 = re3.clone(), ue6 = F(E({}, $10), { opacityMultiplier: { type: "f", value: 0.25 }, pathIsVertical: { type: "b", value: l10 } });
64442
- ue6.complete.value = 1, R8.material = new nn({ uniforms: ue6, vertexShader: L4, fragmentShader: OI2 }), R8.material.transparent = true, R8.material.alphaTest = 0.5, R8.material.depthWrite = false, R8.material.depthTest = false, ue6.resolution.value.x = 1, ue6.resolution.value.y = 1, ue6.vertexes.value = oe4.length, ue6.arrowTexture.value.wrapS = Cr, ue6.arrowTexture.value.wrapT = Cr, ue6.arrowTexture.value.anisotropy = 16, ue6.complete.value = a, re3.userData = R8.userData = r10.mesh.userData;
64441
+ let re3 = new ve(ee5, B6), L10 = re3.clone(), ue6 = F(E({}, $10), { opacityMultiplier: { type: "f", value: 0.25 }, pathIsVertical: { type: "b", value: l10 } });
64442
+ ue6.complete.value = 1, L10.material = new nn({ uniforms: ue6, vertexShader: L4, fragmentShader: OI2 }), L10.material.transparent = true, L10.material.alphaTest = 0.5, L10.material.depthWrite = false, L10.material.depthTest = false, ue6.resolution.value.x = 1, ue6.resolution.value.y = 1, ue6.vertexes.value = oe4.length, ue6.arrowTexture.value.wrapS = Cr, ue6.arrowTexture.value.wrapT = Cr, ue6.arrowTexture.value.anisotropy = 16, ue6.complete.value = a, re3.userData = L10.userData = r10.mesh.userData;
64443
64443
  let ie4 = r10.mesh;
64444
64444
  if (!u10) {
64445
64445
  let Ce5 = new nn({ uniforms: $10, vertexShader: L4, fragmentShader: s8 }), xe5 = new ve(ee5, Ce5);
64446
- xe5.name = "stencil", xe5.material.colorWrite = false, xe5.material.stencilWrite = true, xe5.material.stencilRef = 1, xe5.material.stencilFunc = Ho, xe5.material.stencilZPass = ed, xe5.material.stencilZFail = ed, xe5.material.stencilFail = ed, xe5.material.depthWrite = false, xe5.material.depthTest = false, xe5.userData = r10.mesh.userData, ie4.add(xe5), ie4.add(R8), R8.renderOrder = 0, re3.renderOrder = 1;
64446
+ xe5.name = "stencil", xe5.material.colorWrite = false, xe5.material.stencilWrite = true, xe5.material.stencilRef = 1, xe5.material.stencilFunc = Ho, xe5.material.stencilZPass = ed, xe5.material.stencilZFail = ed, xe5.material.stencilFail = ed, xe5.material.depthWrite = false, xe5.material.depthTest = false, xe5.userData = r10.mesh.userData, ie4.add(xe5), ie4.add(L10), L10.renderOrder = 0, re3.renderOrder = 1;
64447
64447
  }
64448
64448
  if (ie4.add(re3), l10) {
64449
64449
  let Ce5 = new Ie().setFromObject(re3), xe5 = new C2();
@@ -64734,8 +64734,8 @@ ieee754/index.js:
64734
64734
  let h = r10.outdoorView.headers;
64735
64735
  h == null && (h = yield zwe(jW));
64736
64736
  let g6 = r10.center || [0, 0], x6 = new Dg2({ container: e10, style: r10.outdoorView.style || v8, center: g6, attributionControl: false, zoom: (c10 = r10.zoomLevel) != null ? c10 : jI2, pitch: (d = r10.pitch) != null ? d : RI2, bearing: (m10 = r10.bearing) != null ? m10 : NI2, transformRequest: u5(h), trackResize: false, pixelRatio: r10.outdoorView.lowDpi ? 1 : i52(), canvasContextAttributes: { antialias: typeof r10.antialias == "boolean" ? r10.antialias : true, powerPreference: "high-performance" }, interactive: false, validateStyle: false, centerClampedToGround: false, boxZoom: false, doubleClickZoom: false, scrollZoom: false, dragPan: false, dragRotate: false, keyboard: false, touchZoomRotate: false }), E6 = x6.painter.context.gl, v6 = new UI2(e10, E({ center: g6, zoomLevel: x6.getZoom(), pitch: x6.getPitch(), bearing: x6.getBearing(), gl: E6, map: x6, mode: "outdoors-interleaved" }, n10)), I10 = { center: x6.getCenter().toArray(), zoom: x6.getZoom(), bearing: x6.getBearing(), pitch: x6.getPitch(), elevation: x6.getCenterElevation() };
64737
- x6.setMinZoom(v6.camera.minZoomLevel), x6.setMaxZoom(v6.camera.maxZoomLevel), x6.setMaxPitch(v6.camera.maxPitch), x6.setMinPitch(v6.camera.minPitch), v6.on("camera-change", (L10) => {
64738
- I10.center = L10.center, I10.zoom = L10.zoomLevel, I10.bearing = L10.bearing, I10.pitch = L10.pitch, I10.elevation = L10.elevation, x6.jumpTo(I10);
64737
+ x6.setMinZoom(v6.camera.minZoomLevel), x6.setMaxZoom(v6.camera.maxZoomLevel), x6.setMaxPitch(v6.camera.maxPitch), x6.setMinPitch(v6.camera.minPitch), v6.on("camera-change", (_10) => {
64738
+ I10.center = _10.center, I10.zoom = _10.zoomLevel, I10.bearing = _10.bearing, I10.pitch = _10.pitch, I10.elevation = _10.elevation, x6.jumpTo(I10);
64739
64739
  });
64740
64740
  let C10 = xe2.fromLngLat(g6, 0), S6 = Bwe(C10, v6.viewCamera, () => {
64741
64741
  v6.renderSync();
@@ -64743,23 +64743,23 @@ ieee754/index.js:
64743
64743
  x6 && (x6.addLayer(S6), v6.renderSync());
64744
64744
  });
64745
64745
  v6.onMapLibreEvent("style.load", T);
64746
- let A10 = false, F6 = false, P6 = () => {
64747
- x6 && (A10 || (v6.publish("outdoor-view-loaded"), A10 = true), F6 || (F6 = true, v6.publish("outdoor-style-loaded")));
64746
+ let A10 = false, P6 = false, F6 = () => {
64747
+ x6 && (A10 || (v6.publish("outdoor-view-loaded"), A10 = true), P6 || (P6 = true, v6.publish("outdoor-style-loaded")));
64748
64748
  };
64749
- v6.onMapLibreEvent("idle", P6);
64750
- let O10 = (L10) => {
64751
- L10 && (L10.sourceDataType === "metadata" || L10.sourceDataType === "visibility" || L10.dataType === "style" || L10.type === "terrain") && v6.getSystems().htmlControlsSystem.updateData(x6);
64752
- }, _10 = (L10) => {
64753
- x6 && L10 && L10.dataType === "style" && L10.type === "styledata" && (F6 = false), O10(L10);
64749
+ v6.onMapLibreEvent("idle", F6);
64750
+ let O10 = (_10) => {
64751
+ _10 && (_10.sourceDataType === "metadata" || _10.sourceDataType === "visibility" || _10.dataType === "style" || _10.type === "terrain") && v6.getSystems().htmlControlsSystem.updateData(x6);
64752
+ }, z10 = (_10) => {
64753
+ x6 && _10 && _10.dataType === "style" && _10.type === "styledata" && (P6 = false), O10(_10);
64754
64754
  };
64755
- v6.onMapLibreEvent("styledata", _10), v6.onMapLibreEvent("sourcedata", O10), v6.onMapLibreEvent("terrain", O10);
64756
- let G10 = (L10) => {
64755
+ v6.onMapLibreEvent("styledata", z10), v6.onMapLibreEvent("sourcedata", O10), v6.onMapLibreEvent("terrain", O10);
64756
+ let G10 = (_10) => {
64757
64757
  var q10;
64758
- if (((q10 = L10.error) == null ? void 0 : q10.url) === v8) {
64758
+ if (((q10 = _10.error) == null ? void 0 : q10.url) === v8) {
64759
64759
  Et2.error('Failed to load outdoor view style, possibly due to invalid token "'.concat(h["x-mappedin-tiles-key"], '"'));
64760
64760
  return;
64761
64761
  }
64762
- Et2.warn(L10);
64762
+ Et2.warn(_10);
64763
64763
  };
64764
64764
  return v6.onMapLibreEvent("error", G10), v6;
64765
64765
  } else return new UI2(e10, n10);
@@ -64836,16 +64836,16 @@ ieee754/index.js:
64836
64836
  if (E6) {
64837
64837
  let C10 = 1 / 0;
64838
64838
  for (let S6 = 0; S6 < I10.length - 1; S6++) {
64839
- let T = I10[S6], A10 = I10[S6 + 1], F6 = ob2(T, A10, u10), P6 = F6.x - u10.x, O10 = F6.y - u10.y, _10 = Math.sqrt(P6 * P6 + O10 * O10);
64840
- _10 < C10 && (C10 = _10);
64839
+ let T = I10[S6], A10 = I10[S6 + 1], P6 = ob2(T, A10, u10), F6 = P6.x - u10.x, O10 = P6.y - u10.y, z10 = Math.sqrt(F6 * F6 + O10 * O10);
64840
+ z10 < C10 && (C10 = z10);
64841
64841
  }
64842
64842
  C10 < a && (a = C10, o10 = g6);
64843
64843
  }
64844
64844
  if (v6) {
64845
64845
  let C10 = 1 / 0;
64846
64846
  for (let S6 = 0; S6 < I10.length - 1; S6++) {
64847
- let T = I10[S6], A10 = I10[S6 + 1], F6 = ob2(T, A10, c10), P6 = F6.x - c10.x, O10 = F6.y - c10.y, _10 = Math.sqrt(P6 * P6 + O10 * O10);
64848
- _10 < C10 && (C10 = _10);
64847
+ let T = I10[S6], A10 = I10[S6 + 1], P6 = ob2(T, A10, c10), F6 = P6.x - c10.x, O10 = P6.y - c10.y, z10 = Math.sqrt(F6 * F6 + O10 * O10);
64848
+ z10 < C10 && (C10 = z10);
64849
64849
  }
64850
64850
  C10 < l10 && (l10 = C10, i20 = g6);
64851
64851
  }
@@ -65044,7 +65044,7 @@ ieee754/index.js:
65044
65044
  return function(r10) {
65045
65045
  r10 instanceof RegExp && (r10.lastIndex = 0);
65046
65046
  for (var t65 = arguments.length, n10 = new Array(t65 > 1 ? t65 - 1 : 0), o10 = 1; o10 < t65; o10++) n10[o10 - 1] = arguments[o10];
65047
- return U62(e10, r10, n10);
65047
+ return U6(e10, r10, n10);
65048
65048
  };
65049
65049
  }
65050
65050
  function VK(e10) {
@@ -65098,111 +65098,111 @@ ieee754/index.js:
65098
65098
  let we5 = t65.createElement("template");
65099
65099
  we5.content && we5.content.ownerDocument && (t65 = we5.content.ownerDocument);
65100
65100
  }
65101
- let T, A10 = "", { implementation: F6, createNodeIterator: P6, createDocumentFragment: O10, getElementsByTagName: _10 } = t65, { importNode: G10 } = n10, L10 = UO2();
65102
- r10.isSupported = typeof zO2 == "function" && typeof S6 == "function" && F6 && F6.createHTMLDocument !== void 0;
65103
- let { MUSTACHE_EXPR: q10, ERB_EXPR: $10, TMPLIT_EXPR: K10, DATA_ATTR: X6, ARIA_ATTR: V10, IS_SCRIPT_OR_DATA: Y6, ATTR_WHITESPACE: ee5, CUSTOM_ELEMENT: oe4 } = jO2, { IS_ALLOWED_URI: le4 } = jO2, ve4 = null, he3 = tt({}, [..._O2, ...L6, ...R62, ...N6, ...LO2]), de5 = null, Fe5 = tt({}, [...RO2, ...j62, ...NO2, ...Ub2]), ce4 = Object.seal(GO2(null, { tagNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, allowCustomizedBuiltInElements: { writable: true, configurable: false, enumerable: true, value: false } })), Pe7 = null, He8 = null, bt3 = true, B6 = true, re3 = false, R8 = true, ue6 = false, ie4 = true, se4 = false, Le6 = false, Et4 = false, Ce5 = false, xe5 = false, We3 = false, Gr3 = true, xi3 = false, ca2 = "user-content-", po3 = true, da3 = false, Ii3 = {}, _o3 = null, ml3 = tt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Gc3 = null, mu3 = tt({}, ["audio", "video", "img", "source", "image", "track"]), Ei2 = null, Vt3 = tt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ae5 = "http://www.w3.org/1998/Math/MathML", ye3 = "http://www.w3.org/2000/svg", ke6 = "http://www.w3.org/1999/xhtml", Ne6 = ke6, Je4 = false, Ve3 = null, br3 = tt({}, [Ae5, ye3, ke6], _6), wn3 = tt({}, ["mi", "mo", "mn", "ms", "mtext"]), hn3 = tt({}, ["annotation-xml"]), Mn3 = tt({}, ["title", "style", "font", "a", "script"]), ns3 = null, Ci3 = ["application/xhtml+xml", "text/html"], gk2 = "text/html", $r3 = null, $c3 = null, yk2 = t65.createElement("form"), H6 = function(N10) {
65104
- return N10 instanceof RegExp || N10 instanceof Function;
65101
+ let T, A10 = "", { implementation: P6, createNodeIterator: F6, createDocumentFragment: O10, getElementsByTagName: z10 } = t65, { importNode: G10 } = n10, _10 = UO2();
65102
+ r10.isSupported = typeof zO2 == "function" && typeof S6 == "function" && P6 && P6.createHTMLDocument !== void 0;
65103
+ let { MUSTACHE_EXPR: q10, ERB_EXPR: $10, TMPLIT_EXPR: K10, DATA_ATTR: X6, ARIA_ATTR: V10, IS_SCRIPT_OR_DATA: Y6, ATTR_WHITESPACE: ee5, CUSTOM_ELEMENT: oe4 } = jO2, { IS_ALLOWED_URI: le4 } = jO2, ve4 = null, he3 = tt({}, [..._O2, ...L6, ...R62, ...N62, ...LO2]), de5 = null, Fe5 = tt({}, [...RO2, ...j62, ...NO2, ...Ub2]), ce4 = Object.seal(GO2(null, { tagNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, allowCustomizedBuiltInElements: { writable: true, configurable: false, enumerable: true, value: false } })), Pe7 = null, He8 = null, bt3 = true, B6 = true, re3 = false, L10 = true, ue6 = false, ie4 = true, se4 = false, Le6 = false, Et4 = false, Ce5 = false, xe5 = false, We3 = false, Gr3 = true, xi3 = false, ca2 = "user-content-", po3 = true, da3 = false, Ii3 = {}, _o3 = null, ml3 = tt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Gc3 = null, mu3 = tt({}, ["audio", "video", "img", "source", "image", "track"]), Ei2 = null, Vt3 = tt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ae5 = "http://www.w3.org/1998/Math/MathML", ye3 = "http://www.w3.org/2000/svg", ke6 = "http://www.w3.org/1999/xhtml", Ne6 = ke6, Je4 = false, Ve3 = null, br3 = tt({}, [Ae5, ye3, ke6], _6), wn3 = tt({}, ["mi", "mo", "mn", "ms", "mtext"]), hn3 = tt({}, ["annotation-xml"]), Mn3 = tt({}, ["title", "style", "font", "a", "script"]), ns3 = null, Ci3 = ["application/xhtml+xml", "text/html"], gk2 = "text/html", $r3 = null, $c3 = null, yk2 = t65.createElement("form"), H6 = function(R8) {
65104
+ return R8 instanceof RegExp || R8 instanceof Function;
65105
65105
  }, Zb2 = function() {
65106
- let N10 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
65107
- if (!($c3 && $c3 === N10)) {
65108
- if ((!N10 || typeof N10 != "object") && (N10 = {}), N10 = pu3(N10), ns3 = Ci3.indexOf(N10.PARSER_MEDIA_TYPE) === -1 ? gk2 : N10.PARSER_MEDIA_TYPE, $r3 = ns3 === "application/xhtml+xml" ? _6 : zb2, ve4 = sa4(N10, "ALLOWED_TAGS") ? tt({}, N10.ALLOWED_TAGS, $r3) : he3, de5 = sa4(N10, "ALLOWED_ATTR") ? tt({}, N10.ALLOWED_ATTR, $r3) : Fe5, Ve3 = sa4(N10, "ALLOWED_NAMESPACES") ? tt({}, N10.ALLOWED_NAMESPACES, _6) : br3, Ei2 = sa4(N10, "ADD_URI_SAFE_ATTR") ? tt(pu3(Vt3), N10.ADD_URI_SAFE_ATTR, $r3) : Vt3, Gc3 = sa4(N10, "ADD_DATA_URI_TAGS") ? tt(pu3(mu3), N10.ADD_DATA_URI_TAGS, $r3) : mu3, _o3 = sa4(N10, "FORBID_CONTENTS") ? tt({}, N10.FORBID_CONTENTS, $r3) : ml3, Pe7 = sa4(N10, "FORBID_TAGS") ? tt({}, N10.FORBID_TAGS, $r3) : pu3({}), He8 = sa4(N10, "FORBID_ATTR") ? tt({}, N10.FORBID_ATTR, $r3) : pu3({}), Ii3 = sa4(N10, "USE_PROFILES") ? N10.USE_PROFILES : false, bt3 = N10.ALLOW_ARIA_ATTR !== false, B6 = N10.ALLOW_DATA_ATTR !== false, re3 = N10.ALLOW_UNKNOWN_PROTOCOLS || false, R8 = N10.ALLOW_SELF_CLOSE_IN_ATTR !== false, ue6 = N10.SAFE_FOR_TEMPLATES || false, ie4 = N10.SAFE_FOR_XML !== false, se4 = N10.WHOLE_DOCUMENT || false, Ce5 = N10.RETURN_DOM || false, xe5 = N10.RETURN_DOM_FRAGMENT || false, We3 = N10.RETURN_TRUSTED_TYPE || false, Et4 = N10.FORCE_BODY || false, Gr3 = N10.SANITIZE_DOM !== false, xi3 = N10.SANITIZE_NAMED_PROPS || false, po3 = N10.KEEP_CONTENT !== false, da3 = N10.IN_PLACE || false, le4 = N10.ALLOWED_URI_REGEXP || $O2, Ne6 = N10.NAMESPACE || ke6, wn3 = N10.MATHML_TEXT_INTEGRATION_POINTS || wn3, hn3 = N10.HTML_INTEGRATION_POINTS || hn3, ce4 = N10.CUSTOM_ELEMENT_HANDLING || {}, N10.CUSTOM_ELEMENT_HANDLING && H6(N10.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ce4.tagNameCheck = N10.CUSTOM_ELEMENT_HANDLING.tagNameCheck), N10.CUSTOM_ELEMENT_HANDLING && H6(N10.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ce4.attributeNameCheck = N10.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), N10.CUSTOM_ELEMENT_HANDLING && typeof N10.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ce4.allowCustomizedBuiltInElements = N10.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ue6 && (B6 = false), xe5 && (Ce5 = true), Ii3 && (ve4 = tt({}, LO2), de5 = [], Ii3.html === true && (tt(ve4, _O2), tt(de5, RO2)), Ii3.svg === true && (tt(ve4, L6), tt(de5, j62), tt(de5, Ub2)), Ii3.svgFilters === true && (tt(ve4, R62), tt(de5, j62), tt(de5, Ub2)), Ii3.mathMl === true && (tt(ve4, N6), tt(de5, NO2), tt(de5, Ub2))), N10.ADD_TAGS && (ve4 === he3 && (ve4 = pu3(ve4)), tt(ve4, N10.ADD_TAGS, $r3)), N10.ADD_ATTR && (de5 === Fe5 && (de5 = pu3(de5)), tt(de5, N10.ADD_ATTR, $r3)), N10.ADD_URI_SAFE_ATTR && tt(Ei2, N10.ADD_URI_SAFE_ATTR, $r3), N10.FORBID_CONTENTS && (_o3 === ml3 && (_o3 = pu3(_o3)), tt(_o3, N10.FORBID_CONTENTS, $r3)), po3 && (ve4["#text"] = true), se4 && tt(ve4, ["html", "head", "body"]), ve4.table && (tt(ve4, ["tbody"]), delete Pe7.tbody), N10.TRUSTED_TYPES_POLICY) {
65109
- if (typeof N10.TRUSTED_TYPES_POLICY.createHTML != "function") throw _h3('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
65110
- if (typeof N10.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw _h3('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
65111
- T = N10.TRUSTED_TYPES_POLICY, A10 = T.createHTML("");
65106
+ let R8 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
65107
+ if (!($c3 && $c3 === R8)) {
65108
+ if ((!R8 || typeof R8 != "object") && (R8 = {}), R8 = pu3(R8), ns3 = Ci3.indexOf(R8.PARSER_MEDIA_TYPE) === -1 ? gk2 : R8.PARSER_MEDIA_TYPE, $r3 = ns3 === "application/xhtml+xml" ? _6 : zb2, ve4 = sa4(R8, "ALLOWED_TAGS") ? tt({}, R8.ALLOWED_TAGS, $r3) : he3, de5 = sa4(R8, "ALLOWED_ATTR") ? tt({}, R8.ALLOWED_ATTR, $r3) : Fe5, Ve3 = sa4(R8, "ALLOWED_NAMESPACES") ? tt({}, R8.ALLOWED_NAMESPACES, _6) : br3, Ei2 = sa4(R8, "ADD_URI_SAFE_ATTR") ? tt(pu3(Vt3), R8.ADD_URI_SAFE_ATTR, $r3) : Vt3, Gc3 = sa4(R8, "ADD_DATA_URI_TAGS") ? tt(pu3(mu3), R8.ADD_DATA_URI_TAGS, $r3) : mu3, _o3 = sa4(R8, "FORBID_CONTENTS") ? tt({}, R8.FORBID_CONTENTS, $r3) : ml3, Pe7 = sa4(R8, "FORBID_TAGS") ? tt({}, R8.FORBID_TAGS, $r3) : pu3({}), He8 = sa4(R8, "FORBID_ATTR") ? tt({}, R8.FORBID_ATTR, $r3) : pu3({}), Ii3 = sa4(R8, "USE_PROFILES") ? R8.USE_PROFILES : false, bt3 = R8.ALLOW_ARIA_ATTR !== false, B6 = R8.ALLOW_DATA_ATTR !== false, re3 = R8.ALLOW_UNKNOWN_PROTOCOLS || false, L10 = R8.ALLOW_SELF_CLOSE_IN_ATTR !== false, ue6 = R8.SAFE_FOR_TEMPLATES || false, ie4 = R8.SAFE_FOR_XML !== false, se4 = R8.WHOLE_DOCUMENT || false, Ce5 = R8.RETURN_DOM || false, xe5 = R8.RETURN_DOM_FRAGMENT || false, We3 = R8.RETURN_TRUSTED_TYPE || false, Et4 = R8.FORCE_BODY || false, Gr3 = R8.SANITIZE_DOM !== false, xi3 = R8.SANITIZE_NAMED_PROPS || false, po3 = R8.KEEP_CONTENT !== false, da3 = R8.IN_PLACE || false, le4 = R8.ALLOWED_URI_REGEXP || $O2, Ne6 = R8.NAMESPACE || ke6, wn3 = R8.MATHML_TEXT_INTEGRATION_POINTS || wn3, hn3 = R8.HTML_INTEGRATION_POINTS || hn3, ce4 = R8.CUSTOM_ELEMENT_HANDLING || {}, R8.CUSTOM_ELEMENT_HANDLING && H6(R8.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ce4.tagNameCheck = R8.CUSTOM_ELEMENT_HANDLING.tagNameCheck), R8.CUSTOM_ELEMENT_HANDLING && H6(R8.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ce4.attributeNameCheck = R8.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), R8.CUSTOM_ELEMENT_HANDLING && typeof R8.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ce4.allowCustomizedBuiltInElements = R8.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ue6 && (B6 = false), xe5 && (Ce5 = true), Ii3 && (ve4 = tt({}, LO2), de5 = [], Ii3.html === true && (tt(ve4, _O2), tt(de5, RO2)), Ii3.svg === true && (tt(ve4, L6), tt(de5, j62), tt(de5, Ub2)), Ii3.svgFilters === true && (tt(ve4, R62), tt(de5, j62), tt(de5, Ub2)), Ii3.mathMl === true && (tt(ve4, N62), tt(de5, NO2), tt(de5, Ub2))), R8.ADD_TAGS && (ve4 === he3 && (ve4 = pu3(ve4)), tt(ve4, R8.ADD_TAGS, $r3)), R8.ADD_ATTR && (de5 === Fe5 && (de5 = pu3(de5)), tt(de5, R8.ADD_ATTR, $r3)), R8.ADD_URI_SAFE_ATTR && tt(Ei2, R8.ADD_URI_SAFE_ATTR, $r3), R8.FORBID_CONTENTS && (_o3 === ml3 && (_o3 = pu3(_o3)), tt(_o3, R8.FORBID_CONTENTS, $r3)), po3 && (ve4["#text"] = true), se4 && tt(ve4, ["html", "head", "body"]), ve4.table && (tt(ve4, ["tbody"]), delete Pe7.tbody), R8.TRUSTED_TYPES_POLICY) {
65109
+ if (typeof R8.TRUSTED_TYPES_POLICY.createHTML != "function") throw _h3('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
65110
+ if (typeof R8.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw _h3('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
65111
+ T = R8.TRUSTED_TYPES_POLICY, A10 = T.createHTML("");
65112
65112
  } else T === void 0 && (T = nJ(g6, o10)), T !== null && typeof A10 == "string" && (A10 = T.createHTML(""));
65113
- Hn3 && Hn3(N10), $c3 = N10;
65113
+ Hn3 && Hn3(R8), $c3 = R8;
65114
65114
  }
65115
- }, W62 = tt({}, [...L6, ...R62, ...HK]), q62 = tt({}, [...N6, ...WK]), bk2 = function(N10) {
65116
- let ae3 = S6(N10);
65115
+ }, W62 = tt({}, [...L6, ...R62, ...HK]), q62 = tt({}, [...N62, ...WK]), bk2 = function(R8) {
65116
+ let ae3 = S6(R8);
65117
65117
  (!ae3 || !ae3.tagName) && (ae3 = { namespaceURI: Ne6, tagName: "template" });
65118
- let Ee6 = zb2(N10.tagName), tr3 = zb2(ae3.tagName);
65119
- return Ve3[N10.namespaceURI] ? N10.namespaceURI === ye3 ? ae3.namespaceURI === ke6 ? Ee6 === "svg" : ae3.namespaceURI === Ae5 ? Ee6 === "svg" && (tr3 === "annotation-xml" || wn3[tr3]) : !!W62[Ee6] : N10.namespaceURI === Ae5 ? ae3.namespaceURI === ke6 ? Ee6 === "math" : ae3.namespaceURI === ye3 ? Ee6 === "math" && hn3[tr3] : !!q62[Ee6] : N10.namespaceURI === ke6 ? ae3.namespaceURI === ye3 && !hn3[tr3] || ae3.namespaceURI === Ae5 && !wn3[tr3] ? false : !q62[Ee6] && (Mn3[Ee6] || !W62[Ee6]) : !!(ns3 === "application/xhtml+xml" && Ve3[N10.namespaceURI]) : false;
65120
- }, pa3 = function(N10) {
65121
- kh3(r10.removed, { element: N10 });
65118
+ let Ee6 = zb2(R8.tagName), tr3 = zb2(ae3.tagName);
65119
+ return Ve3[R8.namespaceURI] ? R8.namespaceURI === ye3 ? ae3.namespaceURI === ke6 ? Ee6 === "svg" : ae3.namespaceURI === Ae5 ? Ee6 === "svg" && (tr3 === "annotation-xml" || wn3[tr3]) : !!W62[Ee6] : R8.namespaceURI === Ae5 ? ae3.namespaceURI === ke6 ? Ee6 === "math" : ae3.namespaceURI === ye3 ? Ee6 === "math" && hn3[tr3] : !!q62[Ee6] : R8.namespaceURI === ke6 ? ae3.namespaceURI === ye3 && !hn3[tr3] || ae3.namespaceURI === Ae5 && !wn3[tr3] ? false : !q62[Ee6] && (Mn3[Ee6] || !W62[Ee6]) : !!(ns3 === "application/xhtml+xml" && Ve3[R8.namespaceURI]) : false;
65120
+ }, pa3 = function(R8) {
65121
+ kh3(r10.removed, { element: R8 });
65122
65122
  try {
65123
- S6(N10).removeChild(N10);
65123
+ S6(R8).removeChild(R8);
65124
65124
  } catch (ae3) {
65125
- v6(N10);
65125
+ v6(R8);
65126
65126
  }
65127
- }, Vc3 = function(N10, ae3) {
65127
+ }, Vc3 = function(R8, ae3) {
65128
65128
  try {
65129
- kh3(r10.removed, { attribute: ae3.getAttributeNode(N10), from: ae3 });
65129
+ kh3(r10.removed, { attribute: ae3.getAttributeNode(R8), from: ae3 });
65130
65130
  } catch (Ee6) {
65131
65131
  kh3(r10.removed, { attribute: null, from: ae3 });
65132
65132
  }
65133
- if (ae3.removeAttribute(N10), N10 === "is") if (Ce5 || xe5) try {
65133
+ if (ae3.removeAttribute(R8), R8 === "is") if (Ce5 || xe5) try {
65134
65134
  pa3(ae3);
65135
65135
  } catch (Ee6) {
65136
65136
  }
65137
65137
  else try {
65138
- ae3.setAttribute(N10, "");
65138
+ ae3.setAttribute(R8, "");
65139
65139
  } catch (Ee6) {
65140
65140
  }
65141
- }, K62 = function(N10) {
65141
+ }, K62 = function(R8) {
65142
65142
  let ae3 = null, Ee6 = null;
65143
- if (Et4) N10 = "<remove></remove>" + N10;
65143
+ if (Et4) R8 = "<remove></remove>" + R8;
65144
65144
  else {
65145
- let Ar3 = BO2(N10, /^[\\r\\n\\t ]+/);
65145
+ let Ar3 = BO2(R8, /^[\\r\\n\\t ]+/);
65146
65146
  Ee6 = Ar3 && Ar3[0];
65147
65147
  }
65148
- ns3 === "application/xhtml+xml" && Ne6 === ke6 && (N10 = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + N10 + "</body></html>");
65149
- let tr3 = T ? T.createHTML(N10) : N10;
65148
+ ns3 === "application/xhtml+xml" && Ne6 === ke6 && (R8 = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + R8 + "</body></html>");
65149
+ let tr3 = T ? T.createHTML(R8) : R8;
65150
65150
  if (Ne6 === ke6) try {
65151
65151
  ae3 = new h().parseFromString(tr3, ns3);
65152
65152
  } catch (Ar3) {
65153
65153
  }
65154
65154
  if (!ae3 || !ae3.documentElement) {
65155
- ae3 = F6.createDocument(Ne6, "template", null);
65155
+ ae3 = P6.createDocument(Ne6, "template", null);
65156
65156
  try {
65157
65157
  ae3.documentElement.innerHTML = Je4 ? A10 : tr3;
65158
65158
  } catch (Ar3) {
65159
65159
  }
65160
65160
  }
65161
65161
  let gn3 = ae3.body || ae3.documentElement;
65162
- return N10 && Ee6 && gn3.insertBefore(t65.createTextNode(Ee6), gn3.childNodes[0] || null), Ne6 === ke6 ? _10.call(ae3, se4 ? "html" : "body")[0] : se4 ? ae3.documentElement : gn3;
65163
- }, J62 = function(N10) {
65164
- return P6.call(N10.ownerDocument || N10, N10, c10.SHOW_ELEMENT | c10.SHOW_COMMENT | c10.SHOW_TEXT | c10.SHOW_PROCESSING_INSTRUCTION | c10.SHOW_CDATA_SECTION, null);
65165
- }, Hb2 = function(N10) {
65166
- return N10 instanceof m10 && (typeof N10.nodeName != "string" || typeof N10.textContent != "string" || typeof N10.removeChild != "function" || !(N10.attributes instanceof d) || typeof N10.removeAttribute != "function" || typeof N10.setAttribute != "function" || typeof N10.namespaceURI != "string" || typeof N10.insertBefore != "function" || typeof N10.hasChildNodes != "function");
65167
- }, Y62 = function(N10) {
65168
- return typeof l10 == "function" && N10 instanceof l10;
65162
+ return R8 && Ee6 && gn3.insertBefore(t65.createTextNode(Ee6), gn3.childNodes[0] || null), Ne6 === ke6 ? z10.call(ae3, se4 ? "html" : "body")[0] : se4 ? ae3.documentElement : gn3;
65163
+ }, J62 = function(R8) {
65164
+ return F6.call(R8.ownerDocument || R8, R8, c10.SHOW_ELEMENT | c10.SHOW_COMMENT | c10.SHOW_TEXT | c10.SHOW_PROCESSING_INSTRUCTION | c10.SHOW_CDATA_SECTION, null);
65165
+ }, Hb2 = function(R8) {
65166
+ return R8 instanceof m10 && (typeof R8.nodeName != "string" || typeof R8.textContent != "string" || typeof R8.removeChild != "function" || !(R8.attributes instanceof d) || typeof R8.removeAttribute != "function" || typeof R8.setAttribute != "function" || typeof R8.namespaceURI != "string" || typeof R8.insertBefore != "function" || typeof R8.hasChildNodes != "function");
65167
+ }, Y62 = function(R8) {
65168
+ return typeof l10 == "function" && R8 instanceof l10;
65169
65169
  };
65170
- function os3(we5, N10, ae3) {
65170
+ function os3(we5, R8, ae3) {
65171
65171
  jb2(we5, (Ee6) => {
65172
- Ee6.call(r10, N10, ae3, $c3);
65172
+ Ee6.call(r10, R8, ae3, $c3);
65173
65173
  });
65174
65174
  }
65175
- let X62 = function(N10) {
65175
+ let X62 = function(R8) {
65176
65176
  let ae3 = null;
65177
- if (os3(L10.beforeSanitizeElements, N10, null), Hb2(N10)) return pa3(N10), true;
65178
- let Ee6 = $r3(N10.nodeName);
65179
- if (os3(L10.uponSanitizeElement, N10, { tagName: Ee6, allowedTags: ve4 }), ie4 && N10.hasChildNodes() && !Y62(N10.firstElementChild) && Zn3(/<[/\\w!]/g, N10.innerHTML) && Zn3(/<[/\\w!]/g, N10.textContent) || N10.nodeType === Rh3.progressingInstruction || ie4 && N10.nodeType === Rh3.comment && Zn3(/<[/\\w]/g, N10.data)) return pa3(N10), true;
65177
+ if (os3(_10.beforeSanitizeElements, R8, null), Hb2(R8)) return pa3(R8), true;
65178
+ let Ee6 = $r3(R8.nodeName);
65179
+ if (os3(_10.uponSanitizeElement, R8, { tagName: Ee6, allowedTags: ve4 }), ie4 && R8.hasChildNodes() && !Y62(R8.firstElementChild) && Zn3(/<[/\\w!]/g, R8.innerHTML) && Zn3(/<[/\\w!]/g, R8.textContent) || R8.nodeType === Rh3.progressingInstruction || ie4 && R8.nodeType === Rh3.comment && Zn3(/<[/\\w]/g, R8.data)) return pa3(R8), true;
65180
65180
  if (!ve4[Ee6] || Pe7[Ee6]) {
65181
65181
  if (!Pe7[Ee6] && eE2(Ee6) && (ce4.tagNameCheck instanceof RegExp && Zn3(ce4.tagNameCheck, Ee6) || ce4.tagNameCheck instanceof Function && ce4.tagNameCheck(Ee6))) return false;
65182
65182
  if (po3 && !_o3[Ee6]) {
65183
- let tr3 = S6(N10) || N10.parentNode, gn3 = C10(N10) || N10.childNodes;
65183
+ let tr3 = S6(R8) || R8.parentNode, gn3 = C10(R8) || R8.childNodes;
65184
65184
  if (gn3 && tr3) {
65185
65185
  let Ar3 = gn3.length;
65186
65186
  for (let qn3 = Ar3 - 1; qn3 >= 0; --qn3) {
65187
65187
  let is3 = E6(gn3[qn3], true);
65188
- is3.__removalCount = (N10.__removalCount || 0) + 1, tr3.insertBefore(is3, I10(N10));
65188
+ is3.__removalCount = (R8.__removalCount || 0) + 1, tr3.insertBefore(is3, I10(R8));
65189
65189
  }
65190
65190
  }
65191
65191
  }
65192
- return pa3(N10), true;
65192
+ return pa3(R8), true;
65193
65193
  }
65194
- return N10 instanceof u10 && !bk2(N10) || (Ee6 === "noscript" || Ee6 === "noembed" || Ee6 === "noframes") && Zn3(/<\\/no(script|embed|frames)/i, N10.innerHTML) ? (pa3(N10), true) : (ue6 && N10.nodeType === Rh3.text && (ae3 = N10.textContent, jb2([q10, $10, K10], (tr3) => {
65194
+ return R8 instanceof u10 && !bk2(R8) || (Ee6 === "noscript" || Ee6 === "noembed" || Ee6 === "noframes") && Zn3(/<\\/no(script|embed|frames)/i, R8.innerHTML) ? (pa3(R8), true) : (ue6 && R8.nodeType === Rh3.text && (ae3 = R8.textContent, jb2([q10, $10, K10], (tr3) => {
65195
65195
  ae3 = Bh3(ae3, tr3, " ");
65196
- }), N10.textContent !== ae3 && (kh3(r10.removed, { element: N10.cloneNode() }), N10.textContent = ae3)), os3(L10.afterSanitizeElements, N10, null), false);
65197
- }, Q62 = function(N10, ae3, Ee6) {
65196
+ }), R8.textContent !== ae3 && (kh3(r10.removed, { element: R8.cloneNode() }), R8.textContent = ae3)), os3(_10.afterSanitizeElements, R8, null), false);
65197
+ }, Q62 = function(R8, ae3, Ee6) {
65198
65198
  if (Gr3 && (ae3 === "id" || ae3 === "name") && (Ee6 in t65 || Ee6 in yk2)) return false;
65199
65199
  if (!(B6 && !He8[ae3] && Zn3(X6, ae3))) {
65200
65200
  if (!(bt3 && Zn3(V10, ae3))) {
65201
65201
  if (!de5[ae3] || He8[ae3]) {
65202
- if (!(eE2(N10) && (ce4.tagNameCheck instanceof RegExp && Zn3(ce4.tagNameCheck, N10) || ce4.tagNameCheck instanceof Function && ce4.tagNameCheck(N10)) && (ce4.attributeNameCheck instanceof RegExp && Zn3(ce4.attributeNameCheck, ae3) || ce4.attributeNameCheck instanceof Function && ce4.attributeNameCheck(ae3)) || ae3 === "is" && ce4.allowCustomizedBuiltInElements && (ce4.tagNameCheck instanceof RegExp && Zn3(ce4.tagNameCheck, Ee6) || ce4.tagNameCheck instanceof Function && ce4.tagNameCheck(Ee6)))) return false;
65202
+ if (!(eE2(R8) && (ce4.tagNameCheck instanceof RegExp && Zn3(ce4.tagNameCheck, R8) || ce4.tagNameCheck instanceof Function && ce4.tagNameCheck(R8)) && (ce4.attributeNameCheck instanceof RegExp && Zn3(ce4.attributeNameCheck, ae3) || ce4.attributeNameCheck instanceof Function && ce4.attributeNameCheck(ae3)) || ae3 === "is" && ce4.allowCustomizedBuiltInElements && (ce4.tagNameCheck instanceof RegExp && Zn3(ce4.tagNameCheck, Ee6) || ce4.tagNameCheck instanceof Function && ce4.tagNameCheck(Ee6)))) return false;
65203
65203
  } else if (!Ei2[ae3]) {
65204
65204
  if (!Zn3(le4, Bh3(Ee6, ee5, ""))) {
65205
- if (!((ae3 === "src" || ae3 === "xlink:href" || ae3 === "href") && N10 !== "script" && GK(Ee6, "data:") === 0 && Gc3[N10])) {
65205
+ if (!((ae3 === "src" || ae3 === "xlink:href" || ae3 === "href") && R8 !== "script" && GK(Ee6, "data:") === 0 && Gc3[R8])) {
65206
65206
  if (!(re3 && !Zn3(Y6, Bh3(Ee6, ee5, "")))) {
65207
65207
  if (Ee6) return false;
65208
65208
  }
@@ -65212,34 +65212,34 @@ ieee754/index.js:
65212
65212
  }
65213
65213
  }
65214
65214
  return true;
65215
- }, eE2 = function(N10) {
65216
- return N10 !== "annotation-xml" && BO2(N10, oe4);
65217
- }, tE2 = function(N10) {
65218
- os3(L10.beforeSanitizeAttributes, N10, null);
65219
- let { attributes: ae3 } = N10;
65220
- if (!ae3 || Hb2(N10)) return;
65215
+ }, eE2 = function(R8) {
65216
+ return R8 !== "annotation-xml" && BO2(R8, oe4);
65217
+ }, tE2 = function(R8) {
65218
+ os3(_10.beforeSanitizeAttributes, R8, null);
65219
+ let { attributes: ae3 } = R8;
65220
+ if (!ae3 || Hb2(R8)) return;
65221
65221
  let Ee6 = { attrName: "", attrValue: "", keepAttr: true, allowedAttributes: de5, forceKeepAttr: void 0 }, tr3 = ae3.length;
65222
65222
  for (; tr3--; ) {
65223
65223
  let gn3 = ae3[tr3], { name: Ar3, namespaceURI: qn3, value: is3 } = gn3, Fm3 = $r3(Ar3), Wb2 = is3, yn2 = Ar3 === "value" ? Wb2 : $K(Wb2);
65224
- if (Ee6.attrName = Fm3, Ee6.attrValue = yn2, Ee6.keepAttr = true, Ee6.forceKeepAttr = void 0, os3(L10.uponSanitizeAttribute, N10, Ee6), yn2 = Ee6.attrValue, xi3 && (Fm3 === "id" || Fm3 === "name") && (Vc3(Ar3, N10), yn2 = ca2 + yn2), ie4 && Zn3(/((--!?|])>)|<\\/(style|title)/i, yn2)) {
65225
- Vc3(Ar3, N10);
65224
+ if (Ee6.attrName = Fm3, Ee6.attrValue = yn2, Ee6.keepAttr = true, Ee6.forceKeepAttr = void 0, os3(_10.uponSanitizeAttribute, R8, Ee6), yn2 = Ee6.attrValue, xi3 && (Fm3 === "id" || Fm3 === "name") && (Vc3(Ar3, R8), yn2 = ca2 + yn2), ie4 && Zn3(/((--!?|])>)|<\\/(style|title)/i, yn2)) {
65225
+ Vc3(Ar3, R8);
65226
65226
  continue;
65227
65227
  }
65228
65228
  if (Ee6.forceKeepAttr) continue;
65229
65229
  if (!Ee6.keepAttr) {
65230
- Vc3(Ar3, N10);
65230
+ Vc3(Ar3, R8);
65231
65231
  continue;
65232
65232
  }
65233
- if (!R8 && Zn3(/\\/>/i, yn2)) {
65234
- Vc3(Ar3, N10);
65233
+ if (!L10 && Zn3(/\\/>/i, yn2)) {
65234
+ Vc3(Ar3, R8);
65235
65235
  continue;
65236
65236
  }
65237
65237
  ue6 && jb2([q10, $10, K10], (nE2) => {
65238
65238
  yn2 = Bh3(yn2, nE2, " ");
65239
65239
  });
65240
- let rE2 = $r3(N10.nodeName);
65240
+ let rE2 = $r3(R8.nodeName);
65241
65241
  if (!Q62(rE2, Fm3, yn2)) {
65242
- Vc3(Ar3, N10);
65242
+ Vc3(Ar3, R8);
65243
65243
  continue;
65244
65244
  }
65245
65245
  if (T && typeof g6 == "object" && typeof g6.getAttributeType == "function" && !qn3) switch (g6.getAttributeType(rE2, Fm3)) {
@@ -65253,24 +65253,24 @@ ieee754/index.js:
65253
65253
  }
65254
65254
  }
65255
65255
  if (yn2 !== Wb2) try {
65256
- qn3 ? N10.setAttributeNS(qn3, Ar3, yn2) : N10.setAttribute(Ar3, yn2), Hb2(N10) ? pa3(N10) : kO2(r10.removed);
65256
+ qn3 ? R8.setAttributeNS(qn3, Ar3, yn2) : R8.setAttribute(Ar3, yn2), Hb2(R8) ? pa3(R8) : kO2(r10.removed);
65257
65257
  } catch (nE2) {
65258
- Vc3(Ar3, N10);
65258
+ Vc3(Ar3, R8);
65259
65259
  }
65260
65260
  }
65261
- os3(L10.afterSanitizeAttributes, N10, null);
65262
- }, vk2 = function we5(N10) {
65263
- let ae3 = null, Ee6 = J62(N10);
65264
- for (os3(L10.beforeSanitizeShadowDOM, N10, null); ae3 = Ee6.nextNode(); ) os3(L10.uponSanitizeShadowNode, ae3, null), X62(ae3), tE2(ae3), ae3.content instanceof i20 && we5(ae3.content);
65265
- os3(L10.afterSanitizeShadowDOM, N10, null);
65261
+ os3(_10.afterSanitizeAttributes, R8, null);
65262
+ }, vk2 = function we5(R8) {
65263
+ let ae3 = null, Ee6 = J62(R8);
65264
+ for (os3(_10.beforeSanitizeShadowDOM, R8, null); ae3 = Ee6.nextNode(); ) os3(_10.uponSanitizeShadowNode, ae3, null), X62(ae3), tE2(ae3), ae3.content instanceof i20 && we5(ae3.content);
65265
+ os3(_10.afterSanitizeShadowDOM, R8, null);
65266
65266
  };
65267
65267
  return r10.sanitize = function(we5) {
65268
- let N10 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ae3 = null, Ee6 = null, tr3 = null, gn3 = null;
65268
+ let R8 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ae3 = null, Ee6 = null, tr3 = null, gn3 = null;
65269
65269
  if (Je4 = !we5, Je4 && (we5 = "<!-->"), typeof we5 != "string" && !Y62(we5)) if (typeof we5.toString == "function") {
65270
65270
  if (we5 = we5.toString(), typeof we5 != "string") throw _h3("dirty is not a string, aborting");
65271
65271
  } else throw _h3("toString is not a function");
65272
65272
  if (!r10.isSupported) return we5;
65273
- if (Le6 || Zb2(N10), r10.removed = [], typeof we5 == "string" && (da3 = false), da3) {
65273
+ if (Le6 || Zb2(R8), r10.removed = [], typeof we5 == "string" && (da3 = false), da3) {
65274
65274
  if (we5.nodeName) {
65275
65275
  let is3 = $r3(we5.nodeName);
65276
65276
  if (!ve4[is3] || Pe7[is3]) throw _h3("root node is forbidden and cannot be sanitized in-place");
@@ -65298,22 +65298,22 @@ ieee754/index.js:
65298
65298
  Zb2(we5), Le6 = true;
65299
65299
  }, r10.clearConfig = function() {
65300
65300
  $c3 = null, Le6 = false;
65301
- }, r10.isValidAttribute = function(we5, N10, ae3) {
65301
+ }, r10.isValidAttribute = function(we5, R8, ae3) {
65302
65302
  $c3 || Zb2({});
65303
- let Ee6 = $r3(we5), tr3 = $r3(N10);
65303
+ let Ee6 = $r3(we5), tr3 = $r3(R8);
65304
65304
  return Q62(Ee6, tr3, ae3);
65305
- }, r10.addHook = function(we5, N10) {
65306
- typeof N10 == "function" && kh3(L10[we5], N10);
65307
- }, r10.removeHook = function(we5, N10) {
65308
- if (N10 !== void 0) {
65309
- let ae3 = UK(L10[we5], N10);
65310
- return ae3 === -1 ? void 0 : zK(L10[we5], ae3, 1)[0];
65311
- }
65312
- return kO2(L10[we5]);
65305
+ }, r10.addHook = function(we5, R8) {
65306
+ typeof R8 == "function" && kh3(_10[we5], R8);
65307
+ }, r10.removeHook = function(we5, R8) {
65308
+ if (R8 !== void 0) {
65309
+ let ae3 = UK(_10[we5], R8);
65310
+ return ae3 === -1 ? void 0 : zK(_10[we5], ae3, 1)[0];
65311
+ }
65312
+ return kO2(_10[we5]);
65313
65313
  }, r10.removeHooks = function(we5) {
65314
- L10[we5] = [];
65314
+ _10[we5] = [];
65315
65315
  }, r10.removeAllHooks = function() {
65316
- L10 = UO2();
65316
+ _10 = UO2();
65317
65317
  }, r10;
65318
65318
  }
65319
65319
  function WO2(e10, r10, t65) {
@@ -65450,13 +65450,13 @@ ieee754/index.js:
65450
65450
  function u03() {
65451
65451
  return hk2;
65452
65452
  }
65453
- var Hw2, qw2, MM2, n22, i23, NM, $M2, aa4, cl3, UP2, GP2, VP2, qP2, JP2, XP2, eO2, I6, rO2, nO2, C6, iO2, D62, A6, cO2, dO2, gO2, bO2, CO2, DO2, Vm3, Ik2, GC, WC2, $C2, qC2, KC2, JC2, YC2, XC, QC2, Ia4, jo4, ds3, xv2, xg3, od3, Ck2, Sk2, _J, Uo3, Zm3, Wm3, qm3, Km3, Hm3, eS2, xl3, Jt4, Iv2, Jm3, Ig3, nt2, Tt2, Be7, Xt3, hs3, Pn3, Go3, Z5, k, Bv2, $k, jv2, cf3, Uv2, Yk, yX, bs3, vs3, $S2, On4, ud3, kr3, ld3, Fg3, Gv2, $v2, Zv2, Lt3, qv2, Yv2, J7, PL2, i32, a3, s3, b, bf3, u3, yo3, Ml3, l3, Id3, Ed3, Al3, xn3, Kg3, Jg3, Yg3, d52, c3, Cd3, Sd3, on2, kn3, d3, mr2, In4, rt2, p3, Xg2, Qg3, ey2, Dd3, Au2, p52, ty2, m3, f3, me6, ge6, eo4, h3, vf3, ry2, NL2, g3, y3, bo3, Td3, UL2, zL2, GL2, f52, h52, g5, b3, W3, v3, Ko3, pN, b5, x3, ny2, v5, I3, vo3, YN, x5, iy2, Md3, Fl3, Fd3, Pl3, C3, Yo3, dy2, py2, YU, XU, QU, w5, my2, gy2, dz2, Xo3, R52, pz2, Rt3, Bn4, Tf3, _d3, Ld3, Cf3, U52, z52, P3, Iy2, G5, $5, w3, Sf3, Ts3, Ct4, ei3, ws3, Ct4, Ct4, Ct4, Ct4, kd3, Ct4, V52, Z52, H5, W5, by2, Qo3, vy, wf3, Pu3, Dy2, q52, sr3, K52, ka4, Pd3, xy2, Ey2, M32, Od3, O32, A32, J52, k3, Y52, mz2, X5, Q52, Ty2, N52, yy2, fz2, hz2, gz2, yz2, wy2, eT2, tT2, Oi2, ln3, T3, un2, B32, j5, F32, xz2, Iz2, rT2, nT2, Ez2, Df3, Cy2, oT2, Sy2, Cz2, Sz2, Fy2, Dz2, Py2, Rd3, Nd3, Tz2, wz2, Mz2, Az2, Fz2, Mf3, jd3, Ud3, Pz2, Oz2, kz2, Bz2, _z2, Af3, lT2, Lz2, fr2, cT2, dT2, pT2, mT2, Rz2, fT2, hr2, st3, Nz, ki3, hT2, gT2, yT2, bT2, jz, Uz2, vT2, L3, xT2, IT2, ET2, zz2, CT2, R32, N32, Ms3, By2, j32, U32, z32, _y, Bl3, Ly2, uG, lG, cG, Ry2, dG, Ny2, pG, TT2, mG, fG2, wT2, hG, MT2, G32, Bi3, $3, ft, gG, Br4, ti3, zd3, V32, AT2, Gd3, FT2, Z32, yG, H32, vG, xG, OT2, kT2, W32, IG, q32, EG, CG, Uy2, zy2, $d3, SG, DG, Wr4, Vd3, Co2, cn3, K32, Gy2, Zd3, $y2, Hd3, TG, Ff3, J32, BT2, to4, _T2, wG, MG, Vy2, AG, FG, PG, OG, Zy2, Pf3, LT2, RT2, Y32, NT2, kG, BG, jT2, As3, X32, UT2, _l3, zT2, Fs3, Hy2, GT2, $T2, Q32, ex2, VT2, _G, tx2, Wy2, qy2, rx2, Ky2, LG, ZT2, HT2, WT2, qT2, _i3, KT2, Of3, nx, ox2, ix, ax2, JT2, YT2, sx2, XT2, QT2, RG, a4e, ux2, lx2, cx2, e7, t72, NG, jG2, r7, n7, dx, o7, i72, a7, px2, s7, mx, UG, y4e, b4e, fx2, hx2, Jy2, u7, Yy2, gx, l7, c7, yx, d7, bx, p7, R4e, N4e, vx, m7, f7, h7, g7, y7, b7, v7, x7, xx, Ix, I7, $4e, V4e, Ex, E7, Z4e, H4e, C7, S7, D7, T7, Cx, w7, M7, Sx, A7, P7, F7, zG, O7, Li2, k7, B7, kf3, Wd3, GG, _7, Dx2, L7, $G, Xy2, Tx, Ll3, VG, ZG, R7, N7, U7, HG2, Jbe, WG, z7, wx, G7, $7, qG, j7, V7, Z7, H7, W7, KG, q72, Qy2, K72, Bf3, Y7, X7, JG, J72, Q7, _f3, ew2, tw2, YG, XG, rw2, nw2, Mx, ow2, iw2, aw2, sw2, uw2, QG, e$, lw2, cw2, u3e, t$, l3e, dw2, pw2, r$, n$, mw2, Lf3, fw2, Ax, hw2, gw2, yw2, bw2, o$, i$, vw2, e12, xw2, Ew2, a$, Iw2, Cw2, t110, Sw2, Fx2, Dw2, s$, Tw2, ww2, Mw2, Aw2, Fw2, u$, l$, c$, Pw2, x$, I$, Kw2, T$, w$, M$, A$, i110, U$, Jd2, nM2, oM2, z$, G$, $$, V$, Z$, H$, a12, sM2, uM2, aM2, cM2, dM, lM2, Do3, Rl3, pM2, mM, fM, J$, hM, gM, yM, Y$, bM, X$, EIe, zx2, Ps3, St3, jf3, Uf3, St3, St3, St3, St3, vM2, St3, Q$, eV, Nx2, Ri3, jx, tV, $x2, rV, Ni3, nV, oV, La4, ji3, Ux2, Gx, aV, sV, lV, cV, dV, xM, EM2, mV, Zx2, gV, Yd3, s12, IM2, wM2, ep3, _u3, Jx2, ZM2, rp3, Gf3, l22, aZ, Lr3, np3, p22, De4, wo3, Kr3, jl3, Os3, op3, f22, ni3, $f3, ks3, ip3, h22, Ul3, g22, Na3, uZ, lZ, cZ, dZ2, pZ, mZ, f12, Zf3, Ru3, Gl3, ap3, x22, Bs3, $l3, Ui3, sp3, _s3, Ls3, dn3, Hf3, Vl3, lp3, cp3, up3, I22, oi3, Zl3, Rs3, Hl3, Wl3, dp3, E22, _n2, Ns3, ql3, Jr3, Nu3, pp3, C23, fZ, gr3, ii3, kt4, ro4, fp3, h12, mp3, S22, no3, JM2, Wf3, Ua5, ju3, YM2, gp3, yp2, yr3, za4, Gi3, bp3, Kl3, Jl3, vp3, Yl3, Ga3, XM2, gZ, yZ2, bZ, Uu3, ai3, js3, xp3, w22, Ao2, Xl3, Ql3, Fo2, zu2, Ip3, M23, oo4, qf3, ec3, Gu2, Cp3, Ep3, A23, Mo2, Dp3, tc3, $i3, rc3, nc3, Kf3, P22, Sp3, F22, zi2, $u2, si3, Vi4, wp3, Jf3, k22, Tp3, O22, g12, Ap4, oc3, Fp3, $a3, Mp3, B23, Yr3, vZ2, xZ, IZ, EZ, CZ, SZ, DZ, TZ, wZ, MZ, AZ, FZ, PZ, OZ, kZ, BZ, _Z2, tA2, rA2, RZ, Po3, ht2, Rr4, Yf3, Pp3, _22, ja3, NZ, ac3, Ln4, Va4, Op3, L22, y12, jZ, Xf3, Bp3, kp3, R23, N22, oA2, j22, iA2, v12, x12, U22, lA2, fA2, Rn3, io3, Oo2, zs3, sc3, Np3, li3, hA2, Rp2, gA2, Vu2, uc3, bA2, H22, lc3, pn3, Z22, vA2, xA2, IA2, EA2, CA2, SA2, T12, D12, jp3, VZ, Wt3, t03, A12, zp2, Nn4, XA2, KZ, JZ, YZ, Zi2, n03, P12, QA2, ao4, cc3, F12, Gp3, eF, J22, Y22, tF, rF, Er3, i03, O12, a03, X22, $p3, k12, B12, o03, s03, _12, mn3, Ie5, Gt2, Vp2, Q22, ic3, Hu2, so3, pc2, Zp3, eI2, b12, Me3, L12, oF2, Hp3, Wp3, mc2, nF, iF, aF2, R12, lF2, Ke3, ci3, rI2, Wu3, N12, l03, qp3, eH, j12, U12, z12, c03, hc3, qu2, G12, Ku3, vF2, p02, $12, xF2, IF, m02, V12, f02, h02, Z12, d02, sH, uH, g02, iI2, cH, dH, jn3, pH, mH, Kp3, aI2, fH, hH, sI2, gH, y02, b02, v0, Jp3, Hi3, Ju2, Y12, X12, Q12, vH, MF, e42, t410, r4, n42, DH, TH, x02, Yu2, di3, I02, o4, Yp3, PF2, lI, Wi3, BFe, Za4, _Fe, LFe, RFe, NFe, jFe, OF, kF, cI2, E02, dI2, pI2, i42, C02, pi3, a4, mI2, fI2, S02, wH, hI2, Xp3, gI2, s4, u4, MH, AH2, yI2, l4, FH, bI2, PH, OH, kH, c4, BH, d4, gc2, _H, D02, T02, p4, m4, LH, RH, NH, Ha5, jH, Se6, je3, Ws3, w0, M02, xI2, f4, LF, RF, NF2, jF, UF2, zF, GF2, zH, GH, yc2, II2, Xu, VF, Nt5, qs2, Qp3, Nr2, Un2, bc3, qi3, Wa3, h4, g4, ZH, b4, y4, HH, EI2, WH, SI2, qH, KH, CI2, em3, v4, A02, F02, tm3, x4, qF2, KF2, E42, Ki3, vc2, Qu3, el3, P0, TI2, xc2, XH, Ic3, rm3, S4, D42, T4, C4, w4, QH, eW, M42, O02, lW, cW, dW, pW, mW, XF2, A4, fW, tl3, F42, r8, CW, FI2, n8, Ks3, Cr4, k02, nm3, Js3, om2, im2, mi3, am2, B02, k4, B42, Ji2, PI2, sm2, Ec3, o8, _4, _0, i82, a8, O42, L4, OI2, s8, u8, DW, TW, wW, L02, Sr3, um2, Ys3, N42, R42, Yi3, qa4, U42, z42, G4, $42, j4, MW, V42, R02, AW, m8, Z42, H4, W42, q42, f8, K42, J42, h8, RI2, NI2, jI2, PW, OW, kW, cr3, rr3, Cc3, N02, lm2, rl3, Sc3, cm2, fn3, BI2, U6, fi3, Dc3, Dt5, Xi3, dr3, hi3, jr2, j6, j02, Ur3, jt3, g8, y8, b8, Xs2, U02, z02, G02, $0, dm3, Y42, V02, pm2, Z02, Tc3, _I2, wc3, H02, W0, zn4, Gn2, LI2, X4, Q42, mm3, q02, kI2, BW, UI2, v8, jW, eb2, fc3, K0, Qs3, Mc2, fm3, Ka3, Y02, X02, J0, Ac3, Fc3, hm2, Pc3, Oc3, Q0, nl3, kc3, gm3, Qi3, UW, ol3, Bc3, eh3, th3, eu3, rh3, il3, zW, GW, $W, VW, $I2, VI2, E8, ZW, C8, S8, tb2, D8, T8, w8, KW, JW, al3, tu3, Ja3, gt3, yt3, ru3, _c2, Dr4, uo4, gi3, sl3, Xe3, M8, A8, HI2, WI2, qI2, F8, KI2, nh3, ab2, ym3, JI2, bm3, oh3, Oe5, ah3, nu3, sb2, YI2, ih3, vm2, sh3, ea4, lh3, uh3, YW, ub2, P8, O8, k8, ta4, B8, Lc3, ch3, xm3, dh3, ra4, ph3, yi2, fh3, mh3, ou3, gh3, hh3, Ya3, bh3, yh3, na4, xh3, vh3, iu3, Eh3, Ih3, Sh3, Ch3, QI2, Tn3, Dh3, Th3, ul3, au3, Rc3, e6, L8, Im2, su3, uu3, ll3, wh3, z8, t64, lb2, ENe, $8, r6, V8, wNe, Xa4, H8, W8, q8, K82, J8, Y8, X8, Q8, db2, eP2, pb2, tP2, mb2, rP2, fb2, nP2, hb2, oP2, gb2, iP2, yb2, aP2, bb2, vb2, sP2, QW, uP2, BNe, _Ne, cP2, n6, o6, zNe, i62, eq, mP2, a6, tq, gP2, vP2, xb2, s6, u6, nje, IP2, l6, c6, lje, SP2, DP2, TP2, wP2, gje, AP2, d6, p6, Eje, f6, rq, PP2, kP2, h6, BP2, kje, Cm3, TO, kK, wO, AO2, zO2, OO2, RK, NK, jK, Hn3, bi3, GO2, U62, z6, jb2, UK, kO2, kh3, zK, zb2, _6, BO2, Bh3, GK, $K, sa4, Zn3, _h3, _O2, L6, R62, HK, N6, WK, LO2, RO2, j62, NO2, Ub2, qK, KK, JK, YK, XK, $O2, QK, eJ, VO2, tJ, jO2, Rh3, rJ, nJ, UO2, HO2, oJ, iJ, XO2, Uc3, Sm3, Gb2, jh3, Uh3, Nh3, $b2, tk2, G6, mJ, rk2, zc3, fe6, co3, zh3, fJ, pl3, Tm3, Kt3, rs3, ua3, vi3, la4, wm2, Mm2, Gh3, er4, nk2, ok, Dm2, Vb2, $62, V6, Z6, Am2, hJ, ik, ak, sk2, uk2, lk2, ck2, dk, pk2, SJ, mk2, E$e, fk2, hk2, DJ, D$e, TJ, wJ, T$e, w$e;
65454
- var init_chunk_2DEFE4C2 = __esm({
65455
- "../mappedin-js/lib/esm/chunk-2DEFE4C2.js"() {
65453
+ var Hw2, qw2, MM2, n22, i23, NM, $M2, aa4, cl3, UP2, GP2, VP2, qP2, JP2, XP2, eO2, I6, rO2, nO2, C6, iO2, D62, A6, cO2, dO2, gO2, bO2, CO2, DO2, Vm3, Ik2, GC, WC2, $C2, qC2, KC2, JC2, YC2, XC, QC2, Ia4, jo4, ds3, xv2, xg3, od3, Ck2, Sk2, _J, Uo3, Zm3, Wm3, qm3, Km3, Hm3, eS2, xl3, Jt4, Iv2, Jm3, Ig3, nt2, Tt2, Be7, Xt3, hs3, Pn3, Go3, Z5, k, Bv2, $k, jv2, cf3, Uv2, Yk, yX, bs3, vs3, $S2, On4, ud3, kr3, ld3, Fg3, Gv2, $v2, Zv2, Lt3, qv2, Yv2, J7, PL2, i32, a3, s3, b, bf3, u3, yo3, Ml3, l3, Id3, Ed3, Al3, xn3, Kg3, Jg3, Yg3, d52, c3, Cd3, Sd3, on2, kn3, d3, mr2, In4, rt2, p3, Xg2, Qg3, ey2, Dd3, Au2, p52, ty2, m3, f3, me6, ge6, eo4, h3, vf3, ry2, NL2, g3, y3, bo3, Td3, UL2, zL2, GL2, f52, h52, g5, b3, W3, v3, Ko3, pN, b5, x3, ny2, v5, I3, vo3, YN, x5, iy2, Md3, Fl3, Fd3, Pl3, C3, Yo3, dy2, py2, YU, XU, QU, w5, my2, gy2, dz2, Xo3, R52, pz2, Rt3, Bn4, Tf3, _d3, Ld3, Cf3, U52, z52, P3, Iy2, G5, $5, w3, Sf3, Ts3, Ct4, ei3, ws3, Ct4, Ct4, Ct4, Ct4, kd3, Ct4, V52, Z52, H5, W5, by2, Qo3, vy, wf3, Pu3, Dy2, q52, sr3, K52, ka4, Pd3, xy2, Ey2, M32, Od3, O32, A32, J52, k3, Y52, mz2, X5, Q52, Ty2, N52, yy2, fz2, hz2, gz2, yz2, wy2, eT2, tT2, Oi2, ln3, T3, un2, B32, j5, F32, xz2, Iz2, rT2, nT2, Ez2, Df3, Cy2, oT2, Sy2, Cz2, Sz2, Fy2, Dz2, Py2, Rd3, Nd3, Tz2, wz2, Mz2, Az2, Fz2, Mf3, jd3, Ud3, Pz2, Oz2, kz2, Bz2, _z2, Af3, lT2, Lz2, fr2, cT2, dT2, pT2, mT2, Rz2, fT2, hr2, st3, Nz, ki3, hT2, gT2, yT2, bT2, jz, Uz2, vT2, L3, xT2, IT2, ET2, zz2, CT2, R32, N32, Ms3, By2, j32, U32, z32, _y, Bl3, Ly2, uG, lG, cG, Ry2, dG, Ny2, pG, TT2, mG, fG2, wT2, hG, MT2, G32, Bi3, $3, ft, gG, Br4, ti3, zd3, V32, AT2, Gd3, FT2, Z32, yG, H32, vG, xG, OT2, kT2, W32, IG, q32, EG, CG, Uy2, zy2, $d3, SG, DG, Wr4, Vd3, Co2, cn3, K32, Gy2, Zd3, $y2, Hd3, TG, Ff3, J32, BT2, to4, _T2, wG, MG, Vy2, AG, FG, PG, OG, Zy2, Pf3, LT2, RT2, Y32, NT2, kG, BG, jT2, As3, X32, UT2, _l3, zT2, Fs3, Hy2, GT2, $T2, Q32, ex2, VT2, _G, tx2, Wy2, qy2, rx2, Ky2, LG, ZT2, HT2, WT2, qT2, _i3, KT2, Of3, nx, ox2, ix, ax2, JT2, YT2, sx2, XT2, QT2, RG, a4e, ux2, lx2, cx2, e7, t72, NG, jG2, r7, n7, dx, o7, i72, a7, px2, s7, mx, UG, y4e, b4e, fx2, hx2, Jy2, u7, Yy2, gx, l7, c7, yx, d7, bx, p7, R4e, N4e, vx, m7, f7, h7, g7, y7, b7, v7, x7, xx, Ix, I7, $4e, V4e, Ex, E7, Z4e, H4e, C7, S7, D7, T7, Cx, w7, M7, Sx, A7, P7, F7, zG, O7, Li2, k7, B7, kf3, Wd3, GG, _7, Dx2, L7, $G, Xy2, Tx, Ll3, VG, ZG, R7, N7, U7, HG2, Jbe, WG, z7, wx, G7, $7, qG, j7, V7, Z7, H7, W7, KG, q72, Qy2, K72, Bf3, Y7, X7, JG, J72, Q7, _f3, ew2, tw2, YG, XG, rw2, nw2, Mx, ow2, iw2, aw2, sw2, uw2, QG, e$, lw2, cw2, u3e, t$, l3e, dw2, pw2, r$, n$, mw2, Lf3, fw2, Ax, hw2, gw2, yw2, bw2, o$, i$, vw2, e12, xw2, Ew2, a$, Iw2, Cw2, t110, Sw2, Fx2, Dw2, s$, Tw2, ww2, Mw2, Aw2, Fw2, u$, l$, c$, Pw2, x$, I$, Kw2, T$, w$, M$, A$, i110, U$, Jd2, nM2, oM2, z$, G$, $$, V$, Z$, H$, a12, sM2, uM2, aM2, cM2, dM, lM2, Do3, Rl3, pM2, mM, fM, J$, hM, gM, yM, Y$, bM, X$, EIe, zx2, Ps3, St3, jf3, Uf3, St3, St3, St3, St3, vM2, St3, Q$, eV, Nx2, Ri3, jx, tV, $x2, rV, Ni3, nV, oV, La4, ji3, Ux2, Gx, aV, sV, lV, cV, dV, xM, EM2, mV, Zx2, gV, Yd3, s12, IM2, wM2, ep3, _u3, Jx2, ZM2, rp3, Gf3, l22, aZ, Lr3, np3, p22, De4, wo3, Kr3, jl3, Os3, op3, f22, ni3, $f3, ks3, ip3, h22, Ul3, g22, Na3, uZ, lZ, cZ, dZ2, pZ, mZ, f12, Zf3, Ru3, Gl3, ap3, x22, Bs3, $l3, Ui3, sp3, _s3, Ls3, dn3, Hf3, Vl3, lp3, cp3, up3, I22, oi3, Zl3, Rs3, Hl3, Wl3, dp3, E22, _n2, Ns3, ql3, Jr3, Nu3, pp3, C23, fZ, gr3, ii3, kt4, ro4, fp3, h12, mp3, S22, no3, JM2, Wf3, Ua5, ju3, YM2, gp3, yp2, yr3, za4, Gi3, bp3, Kl3, Jl3, vp3, Yl3, Ga3, XM2, gZ, yZ2, bZ, Uu3, ai3, js3, xp3, w22, Ao2, Xl3, Ql3, Fo2, zu2, Ip3, M23, oo4, qf3, ec3, Gu2, Cp3, Ep3, A23, Mo2, Dp3, tc3, $i3, rc3, nc3, Kf3, P22, Sp3, F22, zi2, $u2, si3, Vi4, wp3, Jf3, k22, Tp3, O22, g12, Ap4, oc3, Fp3, $a3, Mp3, B23, Yr3, vZ2, xZ, IZ, EZ, CZ, SZ, DZ, TZ, wZ, MZ, AZ, FZ, PZ, OZ, kZ, BZ, _Z2, tA2, rA2, RZ, Po3, ht2, Rr4, Yf3, Pp3, _22, ja3, NZ, ac3, Ln4, Va4, Op3, L22, y12, jZ, Xf3, Bp3, kp3, R23, N22, oA2, j22, iA2, v12, x12, U22, lA2, fA2, Rn3, io3, Oo2, zs3, sc3, Np3, li3, hA2, Rp2, gA2, Vu2, uc3, bA2, H22, lc3, pn3, Z22, vA2, xA2, IA2, EA2, CA2, SA2, T12, D12, jp3, VZ, Wt3, t03, A12, zp2, Nn4, XA2, KZ, JZ, YZ, Zi2, n03, P12, QA2, ao4, cc3, F12, Gp3, eF, J22, Y22, tF, rF, Er3, i03, O12, a03, X22, $p3, k12, B12, o03, s03, _12, mn3, Ie5, Gt2, Vp2, Q22, ic3, Hu2, so3, pc2, Zp3, eI2, b12, Me3, L12, oF2, Hp3, Wp3, mc2, nF, iF, aF2, R12, lF2, Ke3, ci3, rI2, Wu3, N12, l03, qp3, eH, j12, U12, z12, c03, hc3, qu2, G12, Ku3, vF2, p02, $12, xF2, IF, m02, V12, f02, h02, Z12, d02, sH, uH, g02, iI2, cH, dH, jn3, pH, mH, Kp3, aI2, fH, hH, sI2, gH, y02, b02, v0, Jp3, Hi3, Ju2, Y12, X12, Q12, vH, MF, e42, t410, r4, n42, DH, TH, x02, Yu2, di3, I02, o4, Yp3, PF2, lI, Wi3, BFe, Za4, _Fe, LFe, RFe, NFe, jFe, OF, kF, cI2, E02, dI2, pI2, i42, C02, pi3, a4, mI2, fI2, S02, wH, hI2, Xp3, gI2, s4, u4, MH, AH2, yI2, l4, FH, bI2, PH, OH, kH, c4, BH, d4, gc2, _H, D02, T02, p4, m4, LH, RH, NH, Ha5, jH, Se6, je3, Ws3, w0, M02, xI2, f4, LF, RF, NF2, jF, UF2, zF, GF2, zH, GH, yc2, II2, Xu, VF, Nt5, qs2, Qp3, Nr2, Un2, bc3, qi3, Wa3, h4, g4, ZH, b4, y4, HH, EI2, WH, SI2, qH, KH, CI2, em3, v4, A02, F02, tm3, x4, qF2, KF2, E42, Ki3, vc2, Qu3, el3, P0, TI2, xc2, XH, Ic3, rm3, S4, D42, T4, C4, w4, QH, eW, M42, O02, lW, cW, dW, pW, mW, XF2, A4, fW, tl3, F42, r8, CW, FI2, n8, Ks3, Cr4, k02, nm3, Js3, om2, im2, mi3, am2, B02, k4, B42, Ji2, PI2, sm2, Ec3, o8, _4, _0, i82, a8, O42, L4, OI2, s8, u8, DW, TW, wW, L02, Sr3, um2, Ys3, N42, R42, Yi3, qa4, U42, z42, G4, $42, j4, MW, V42, R02, AW, m8, Z42, H4, W42, q42, f8, K42, J42, h8, RI2, NI2, jI2, PW, OW, kW, cr3, rr3, Cc3, N02, lm2, rl3, Sc3, cm2, fn3, BI2, j6, fi3, Dc3, Dt5, Xi3, dr3, hi3, jr2, N6, j02, Ur3, jt3, g8, y8, b8, Xs2, U02, z02, G02, $0, dm3, Y42, V02, pm2, Z02, Tc3, _I2, wc3, H02, W0, zn4, Gn2, LI2, X4, Q42, mm3, q02, kI2, BW, UI2, v8, jW, eb2, fc3, K0, Qs3, Mc2, fm3, Ka3, Y02, X02, J0, Ac3, Fc3, hm2, Pc3, Oc3, Q0, nl3, kc3, gm3, Qi3, UW, ol3, Bc3, eh3, th3, eu3, rh3, il3, zW, GW, $W, VW, $I2, VI2, E8, ZW, C8, S8, tb2, D8, T8, w8, KW, JW, al3, tu3, Ja3, gt3, yt3, ru3, _c2, Dr4, uo4, gi3, sl3, Xe3, M8, A8, HI2, WI2, qI2, F8, KI2, nh3, ab2, ym3, JI2, bm3, oh3, Oe5, ah3, nu3, sb2, YI2, ih3, vm2, sh3, ea4, lh3, uh3, YW, ub2, P8, O8, k8, ta4, B8, Lc3, ch3, xm3, dh3, ra4, ph3, yi2, fh3, mh3, ou3, gh3, hh3, Ya3, bh3, yh3, na4, xh3, vh3, iu3, Eh3, Ih3, Sh3, Ch3, QI2, Tn3, Dh3, Th3, ul3, au3, Rc3, e6, L8, Im2, su3, uu3, ll3, wh3, z8, t64, lb2, ENe, $8, r6, V8, wNe, Xa4, H8, W8, q8, K82, J8, Y8, X8, Q8, db2, eP2, pb2, tP2, mb2, rP2, fb2, nP2, hb2, oP2, gb2, iP2, yb2, aP2, bb2, vb2, sP2, QW, uP2, BNe, _Ne, cP2, n6, o6, zNe, i62, eq, mP2, a6, tq, gP2, vP2, xb2, s6, u6, nje, IP2, l6, c6, lje, SP2, DP2, TP2, wP2, gje, AP2, d6, p6, Eje, f6, rq, PP2, kP2, h6, BP2, kje, Cm3, TO, kK, wO, AO2, zO2, OO2, RK, NK, jK, Hn3, bi3, GO2, U6, z6, jb2, UK, kO2, kh3, zK, zb2, _6, BO2, Bh3, GK, $K, sa4, Zn3, _h3, _O2, L6, R62, HK, N62, WK, LO2, RO2, j62, NO2, Ub2, qK, KK, JK, YK, XK, $O2, QK, eJ, VO2, tJ, jO2, Rh3, rJ, nJ, UO2, HO2, oJ, iJ, XO2, Uc3, Sm3, Gb2, jh3, Uh3, Nh3, $b2, tk2, G6, mJ, rk2, zc3, fe6, co3, zh3, fJ, pl3, Tm3, Kt3, rs3, ua3, vi3, la4, wm2, Mm2, Gh3, er4, nk2, ok, Dm2, Vb2, $62, V6, Z6, Am2, hJ, ik, ak, sk2, uk2, lk2, ck2, dk, pk2, SJ, mk2, E$e, fk2, hk2, DJ, D$e, TJ, wJ, T$e, w$e;
65454
+ var init_chunk_M5K474PU = __esm({
65455
+ "../mappedin-js/lib/esm/chunk-M5K474PU.js"() {
65456
65456
  "use strict";
65457
- init_chunk_Q56Y72HB();
65458
- init_chunk_YB4VFXKF();
65459
- init_chunk_66DYOCZO();
65457
+ init_chunk_NNBEOC7F();
65458
+ init_chunk_YNQYXD2A();
65459
+ init_chunk_BUTQWGOR();
65460
65460
  init_chunk_5W2UDR4H();
65461
65461
  init_zod();
65462
65462
  init_zod();
@@ -65581,18 +65581,18 @@ ieee754/index.js:
65581
65581
  })(Yx2, function() {
65582
65582
  "use strict";
65583
65583
  function e10(v6, I10, C10, S6, T) {
65584
- (function A10(F6, P6, O10, _10, G10) {
65585
- for (; _10 > O10; ) {
65586
- if (_10 - O10 > 600) {
65587
- var L10 = _10 - O10 + 1, q10 = P6 - O10 + 1, $10 = Math.log(L10), K10 = 0.5 * Math.exp(2 * $10 / 3), X6 = 0.5 * Math.sqrt($10 * K10 * (L10 - K10) / L10) * (q10 - L10 / 2 < 0 ? -1 : 1), V10 = Math.max(O10, Math.floor(P6 - q10 * K10 / L10 + X6)), Y6 = Math.min(_10, Math.floor(P6 + (L10 - q10) * K10 / L10 + X6));
65588
- A10(F6, P6, V10, Y6, G10);
65584
+ (function A10(P6, F6, O10, z10, G10) {
65585
+ for (; z10 > O10; ) {
65586
+ if (z10 - O10 > 600) {
65587
+ var _10 = z10 - O10 + 1, q10 = F6 - O10 + 1, $10 = Math.log(_10), K10 = 0.5 * Math.exp(2 * $10 / 3), X6 = 0.5 * Math.sqrt($10 * K10 * (_10 - K10) / _10) * (q10 - _10 / 2 < 0 ? -1 : 1), V10 = Math.max(O10, Math.floor(F6 - q10 * K10 / _10 + X6)), Y6 = Math.min(z10, Math.floor(F6 + (_10 - q10) * K10 / _10 + X6));
65588
+ A10(P6, F6, V10, Y6, G10);
65589
65589
  }
65590
- var ee5 = F6[P6], oe4 = O10, le4 = _10;
65591
- for (r10(F6, O10, P6), G10(F6[_10], ee5) > 0 && r10(F6, O10, _10); oe4 < le4; ) {
65592
- for (r10(F6, oe4, le4), oe4++, le4--; G10(F6[oe4], ee5) < 0; ) oe4++;
65593
- for (; G10(F6[le4], ee5) > 0; ) le4--;
65590
+ var ee5 = P6[F6], oe4 = O10, le4 = z10;
65591
+ for (r10(P6, O10, F6), G10(P6[z10], ee5) > 0 && r10(P6, O10, z10); oe4 < le4; ) {
65592
+ for (r10(P6, oe4, le4), oe4++, le4--; G10(P6[oe4], ee5) < 0; ) oe4++;
65593
+ for (; G10(P6[le4], ee5) > 0; ) le4--;
65594
65594
  }
65595
- G10(F6[O10], ee5) === 0 ? r10(F6, O10, le4) : r10(F6, ++le4, _10), le4 <= P6 && (O10 = le4 + 1), P6 <= le4 && (_10 = le4 - 1);
65595
+ G10(P6[O10], ee5) === 0 ? r10(P6, O10, le4) : r10(P6, ++le4, z10), le4 <= F6 && (O10 = le4 + 1), F6 <= le4 && (z10 = le4 - 1);
65596
65596
  }
65597
65597
  })(v6, I10, C10 || 0, S6 || v6.length - 1, T || t65);
65598
65598
  }
@@ -65617,8 +65617,8 @@ ieee754/index.js:
65617
65617
  function a(v6, I10, C10, S6, T) {
65618
65618
  T || (T = x6(null)), T.minX = 1 / 0, T.minY = 1 / 0, T.maxX = -1 / 0, T.maxY = -1 / 0;
65619
65619
  for (var A10 = I10; A10 < C10; A10++) {
65620
- var F6 = v6.children[A10];
65621
- l10(T, v6.leaf ? S6(F6) : F6);
65620
+ var P6 = v6.children[A10];
65621
+ l10(T, v6.leaf ? S6(P6) : P6);
65622
65622
  }
65623
65623
  return T;
65624
65624
  }
@@ -65648,8 +65648,8 @@ ieee754/index.js:
65648
65648
  }
65649
65649
  function E6(v6, I10, C10, S6, T) {
65650
65650
  for (var A10 = [I10, C10]; A10.length; ) if (!((C10 = A10.pop()) - (I10 = A10.pop()) <= S6)) {
65651
- var F6 = I10 + Math.ceil((C10 - I10) / S6 / 2) * S6;
65652
- e10(v6, F6, I10, C10, T), A10.push(I10, F6, F6, C10);
65651
+ var P6 = I10 + Math.ceil((C10 - I10) / S6 / 2) * S6;
65652
+ e10(v6, P6, I10, C10, T), A10.push(I10, P6, P6, C10);
65653
65653
  }
65654
65654
  }
65655
65655
  return n10.prototype.all = function() {
@@ -65659,8 +65659,8 @@ ieee754/index.js:
65659
65659
  if (!g6(v6, I10)) return C10;
65660
65660
  for (var S6 = this.toBBox, T = []; I10; ) {
65661
65661
  for (var A10 = 0; A10 < I10.children.length; A10++) {
65662
- var F6 = I10.children[A10], P6 = I10.leaf ? S6(F6) : F6;
65663
- g6(v6, P6) && (I10.leaf ? C10.push(F6) : h(v6, P6) ? this._all(F6, C10) : T.push(F6));
65662
+ var P6 = I10.children[A10], F6 = I10.leaf ? S6(P6) : P6;
65663
+ g6(v6, F6) && (I10.leaf ? C10.push(P6) : h(v6, F6) ? this._all(P6, C10) : T.push(P6));
65664
65664
  }
65665
65665
  I10 = T.pop();
65666
65666
  }
@@ -65702,12 +65702,12 @@ ieee754/index.js:
65702
65702
  return this.data = x6([]), this;
65703
65703
  }, n10.prototype.remove = function(v6, I10) {
65704
65704
  if (!v6) return this;
65705
- for (var C10, S6, T, A10 = this.data, F6 = this.toBBox(v6), P6 = [], O10 = []; A10 || P6.length; ) {
65706
- if (A10 || (A10 = P6.pop(), S6 = P6[P6.length - 1], C10 = O10.pop(), T = true), A10.leaf) {
65707
- var _10 = o10(v6, A10.children, I10);
65708
- if (_10 !== -1) return A10.children.splice(_10, 1), P6.push(A10), this._condense(P6), this;
65705
+ for (var C10, S6, T, A10 = this.data, P6 = this.toBBox(v6), F6 = [], O10 = []; A10 || F6.length; ) {
65706
+ if (A10 || (A10 = F6.pop(), S6 = F6[F6.length - 1], C10 = O10.pop(), T = true), A10.leaf) {
65707
+ var z10 = o10(v6, A10.children, I10);
65708
+ if (z10 !== -1) return A10.children.splice(z10, 1), F6.push(A10), this._condense(F6), this;
65709
65709
  }
65710
- T || A10.leaf || !h(A10, F6) ? S6 ? (C10++, A10 = S6.children[C10], T = false) : A10 = null : (P6.push(A10), O10.push(C10), C10 = 0, S6 = A10, A10 = A10.children[0]);
65710
+ T || A10.leaf || !h(A10, P6) ? S6 ? (C10++, A10 = S6.children[C10], T = false) : A10 = null : (F6.push(A10), O10.push(C10), C10 = 0, S6 = A10, A10 = A10.children[0]);
65711
65711
  }
65712
65712
  return this;
65713
65713
  }, n10.prototype.toBBox = function(v6) {
@@ -65724,29 +65724,29 @@ ieee754/index.js:
65724
65724
  for (var C10 = []; v6; ) v6.leaf ? I10.push.apply(I10, v6.children) : C10.push.apply(C10, v6.children), v6 = C10.pop();
65725
65725
  return I10;
65726
65726
  }, n10.prototype._build = function(v6, I10, C10, S6) {
65727
- var T, A10 = C10 - I10 + 1, F6 = this._maxEntries;
65728
- if (A10 <= F6) return i20(T = x6(v6.slice(I10, C10 + 1)), this.toBBox), T;
65729
- S6 || (S6 = Math.ceil(Math.log(A10) / Math.log(F6)), F6 = Math.ceil(A10 / Math.pow(F6, S6 - 1))), (T = x6([])).leaf = false, T.height = S6;
65730
- var P6 = Math.ceil(A10 / F6), O10 = P6 * Math.ceil(Math.sqrt(F6));
65727
+ var T, A10 = C10 - I10 + 1, P6 = this._maxEntries;
65728
+ if (A10 <= P6) return i20(T = x6(v6.slice(I10, C10 + 1)), this.toBBox), T;
65729
+ S6 || (S6 = Math.ceil(Math.log(A10) / Math.log(P6)), P6 = Math.ceil(A10 / Math.pow(P6, S6 - 1))), (T = x6([])).leaf = false, T.height = S6;
65730
+ var F6 = Math.ceil(A10 / P6), O10 = F6 * Math.ceil(Math.sqrt(P6));
65731
65731
  E6(v6, I10, C10, O10, this.compareMinX);
65732
- for (var _10 = I10; _10 <= C10; _10 += O10) {
65733
- var G10 = Math.min(_10 + O10 - 1, C10);
65734
- E6(v6, _10, G10, P6, this.compareMinY);
65735
- for (var L10 = _10; L10 <= G10; L10 += P6) {
65736
- var q10 = Math.min(L10 + P6 - 1, G10);
65737
- T.children.push(this._build(v6, L10, q10, S6 - 1));
65732
+ for (var z10 = I10; z10 <= C10; z10 += O10) {
65733
+ var G10 = Math.min(z10 + O10 - 1, C10);
65734
+ E6(v6, z10, G10, F6, this.compareMinY);
65735
+ for (var _10 = z10; _10 <= G10; _10 += F6) {
65736
+ var q10 = Math.min(_10 + F6 - 1, G10);
65737
+ T.children.push(this._build(v6, _10, q10, S6 - 1));
65738
65738
  }
65739
65739
  }
65740
65740
  return i20(T, this.toBBox), T;
65741
65741
  }, n10.prototype._chooseSubtree = function(v6, I10, C10, S6) {
65742
65742
  for (; S6.push(I10), !I10.leaf && S6.length - 1 !== C10; ) {
65743
- for (var T = 1 / 0, A10 = 1 / 0, F6 = void 0, P6 = 0; P6 < I10.children.length; P6++) {
65744
- var O10 = I10.children[P6], _10 = d(O10), G10 = (L10 = v6, q10 = O10, (Math.max(q10.maxX, L10.maxX) - Math.min(q10.minX, L10.minX)) * (Math.max(q10.maxY, L10.maxY) - Math.min(q10.minY, L10.minY)) - _10);
65745
- G10 < A10 ? (A10 = G10, T = _10 < T ? _10 : T, F6 = O10) : G10 === A10 && _10 < T && (T = _10, F6 = O10);
65743
+ for (var T = 1 / 0, A10 = 1 / 0, P6 = void 0, F6 = 0; F6 < I10.children.length; F6++) {
65744
+ var O10 = I10.children[F6], z10 = d(O10), G10 = (_10 = v6, q10 = O10, (Math.max(q10.maxX, _10.maxX) - Math.min(q10.minX, _10.minX)) * (Math.max(q10.maxY, _10.maxY) - Math.min(q10.minY, _10.minY)) - z10);
65745
+ G10 < A10 ? (A10 = G10, T = z10 < T ? z10 : T, P6 = O10) : G10 === A10 && z10 < T && (T = z10, P6 = O10);
65746
65746
  }
65747
- I10 = F6 || I10.children[0];
65747
+ I10 = P6 || I10.children[0];
65748
65748
  }
65749
- var L10, q10;
65749
+ var _10, q10;
65750
65750
  return I10;
65751
65751
  }, n10.prototype._insert = function(v6, I10, C10) {
65752
65752
  var S6 = C10 ? v6 : this.toBBox(v6), T = [], A10 = this._chooseSubtree(S6, this.data, I10, T);
@@ -65755,14 +65755,14 @@ ieee754/index.js:
65755
65755
  }, n10.prototype._split = function(v6, I10) {
65756
65756
  var C10 = v6[I10], S6 = C10.children.length, T = this._minEntries;
65757
65757
  this._chooseSplitAxis(C10, T, S6);
65758
- var A10 = this._chooseSplitIndex(C10, T, S6), F6 = x6(C10.children.splice(A10, C10.children.length - A10));
65759
- F6.height = C10.height, F6.leaf = C10.leaf, i20(C10, this.toBBox), i20(F6, this.toBBox), I10 ? v6[I10 - 1].children.push(F6) : this._splitRoot(C10, F6);
65758
+ var A10 = this._chooseSplitIndex(C10, T, S6), P6 = x6(C10.children.splice(A10, C10.children.length - A10));
65759
+ P6.height = C10.height, P6.leaf = C10.leaf, i20(C10, this.toBBox), i20(P6, this.toBBox), I10 ? v6[I10 - 1].children.push(P6) : this._splitRoot(C10, P6);
65760
65760
  }, n10.prototype._splitRoot = function(v6, I10) {
65761
65761
  this.data = x6([v6, I10]), this.data.height = v6.height + 1, this.data.leaf = false, i20(this.data, this.toBBox);
65762
65762
  }, n10.prototype._chooseSplitIndex = function(v6, I10, C10) {
65763
- for (var S6, T, A10, F6, P6, O10, _10, G10 = 1 / 0, L10 = 1 / 0, q10 = I10; q10 <= C10 - I10; q10++) {
65764
- var $10 = a(v6, 0, q10, this.toBBox), K10 = a(v6, q10, C10, this.toBBox), X6 = (T = $10, A10 = K10, F6 = void 0, P6 = void 0, O10 = void 0, _10 = void 0, F6 = Math.max(T.minX, A10.minX), P6 = Math.max(T.minY, A10.minY), O10 = Math.min(T.maxX, A10.maxX), _10 = Math.min(T.maxY, A10.maxY), Math.max(0, O10 - F6) * Math.max(0, _10 - P6)), V10 = d($10) + d(K10);
65765
- X6 < G10 ? (G10 = X6, S6 = q10, L10 = V10 < L10 ? V10 : L10) : X6 === G10 && V10 < L10 && (L10 = V10, S6 = q10);
65763
+ for (var S6, T, A10, P6, F6, O10, z10, G10 = 1 / 0, _10 = 1 / 0, q10 = I10; q10 <= C10 - I10; q10++) {
65764
+ var $10 = a(v6, 0, q10, this.toBBox), K10 = a(v6, q10, C10, this.toBBox), X6 = (T = $10, A10 = K10, P6 = void 0, F6 = void 0, O10 = void 0, z10 = void 0, P6 = Math.max(T.minX, A10.minX), F6 = Math.max(T.minY, A10.minY), O10 = Math.min(T.maxX, A10.maxX), z10 = Math.min(T.maxY, A10.maxY), Math.max(0, O10 - P6) * Math.max(0, z10 - F6)), V10 = d($10) + d(K10);
65765
+ X6 < G10 ? (G10 = X6, S6 = q10, _10 = V10 < _10 ? V10 : _10) : X6 === G10 && V10 < _10 && (_10 = V10, S6 = q10);
65766
65766
  }
65767
65767
  return S6 || C10 - I10;
65768
65768
  }, n10.prototype._chooseSplitAxis = function(v6, I10, C10) {
@@ -65770,15 +65770,15 @@ ieee754/index.js:
65770
65770
  this._allDistMargin(v6, I10, C10, S6) < this._allDistMargin(v6, I10, C10, T) && v6.children.sort(S6);
65771
65771
  }, n10.prototype._allDistMargin = function(v6, I10, C10, S6) {
65772
65772
  v6.children.sort(S6);
65773
- for (var T = this.toBBox, A10 = a(v6, 0, I10, T), F6 = a(v6, C10 - I10, C10, T), P6 = m10(A10) + m10(F6), O10 = I10; O10 < C10 - I10; O10++) {
65774
- var _10 = v6.children[O10];
65775
- l10(A10, v6.leaf ? T(_10) : _10), P6 += m10(A10);
65773
+ for (var T = this.toBBox, A10 = a(v6, 0, I10, T), P6 = a(v6, C10 - I10, C10, T), F6 = m10(A10) + m10(P6), O10 = I10; O10 < C10 - I10; O10++) {
65774
+ var z10 = v6.children[O10];
65775
+ l10(A10, v6.leaf ? T(z10) : z10), F6 += m10(A10);
65776
65776
  }
65777
65777
  for (var G10 = C10 - I10 - 1; G10 >= I10; G10--) {
65778
- var L10 = v6.children[G10];
65779
- l10(F6, v6.leaf ? T(L10) : L10), P6 += m10(F6);
65778
+ var _10 = v6.children[G10];
65779
+ l10(P6, v6.leaf ? T(_10) : _10), F6 += m10(P6);
65780
65780
  }
65781
- return P6;
65781
+ return F6;
65782
65782
  }, n10.prototype._adjustParentBBoxes = function(v6, I10, C10) {
65783
65783
  for (var S6 = C10; S6 >= 0; S6--) l10(I10[S6], v6);
65784
65784
  }, n10.prototype._condense = function(v6) {
@@ -67099,7 +67099,7 @@ ieee754/index.js:
67099
67099
  }
67100
67100
  enable() {
67101
67101
  return __async(this, null, function* () {
67102
- this.enabled || (this.enabled = true, this.searchInstance || (this.searchInstance = Promise.resolve().then(() => (init_internal_RK6SZERV(), internal_RK6SZERV_exports)).then(({ InternalSearch: r10 }) => new r10(N(this, Wm3)))), N(this, qm3).on("language-change", N(this, Km3)), yield this.searchInstance);
67102
+ this.enabled || (this.enabled = true, this.searchInstance || (this.searchInstance = Promise.resolve().then(() => (init_internal_LMJ6JIND(), internal_LMJ6JIND_exports)).then(({ InternalSearch: r10 }) => new r10(N(this, Wm3)))), N(this, qm3).on("language-change", N(this, Km3)), yield this.searchInstance);
67103
67103
  });
67104
67104
  }
67105
67105
  };
@@ -68183,10 +68183,10 @@ ieee754/index.js:
68183
68183
  if (!o10 || r10.f && !r10.l) return t65 || new Rt3(0);
68184
68184
  var a = !t65, l10 = a || r10.i != 2, u10 = r10.i;
68185
68185
  a && (t65 = new Rt3(o10 * 3));
68186
- var c10 = function(R8) {
68186
+ var c10 = function(L10) {
68187
68187
  var ue6 = t65.length;
68188
- if (R8 > ue6) {
68189
- var ie4 = new Rt3(Math.max(ue6 * 2, R8));
68188
+ if (L10 > ue6) {
68189
+ var ie4 = new Rt3(Math.max(ue6 * 2, L10));
68190
68190
  ie4.set(t65), t65 = ie4;
68191
68191
  }
68192
68192
  }, d = r10.f || 0, m10 = r10.p || 0, h = r10.b || 0, g6 = r10.l, x6 = r10.d, E6 = r10.m, v6 = r10.n, I10 = o10 * 8;
@@ -68196,21 +68196,21 @@ ieee754/index.js:
68196
68196
  var C10 = Qo3(e10, m10 + 1, 3);
68197
68197
  if (m10 += 3, C10) if (C10 == 1) g6 = Z52, x6 = W5, E6 = 9, v6 = 5;
68198
68198
  else if (C10 == 2) {
68199
- var F6 = Qo3(e10, m10, 31) + 257, P6 = Qo3(e10, m10 + 10, 15) + 4, O10 = F6 + Qo3(e10, m10 + 5, 31) + 1;
68199
+ var P6 = Qo3(e10, m10, 31) + 257, F6 = Qo3(e10, m10 + 10, 15) + 4, O10 = P6 + Qo3(e10, m10 + 5, 31) + 1;
68200
68200
  m10 += 14;
68201
- for (var _10 = new Rt3(O10), G10 = new Rt3(19), L10 = 0; L10 < P6; ++L10) G10[Cf3[L10]] = Qo3(e10, m10 + L10 * 3, 7);
68202
- m10 += P6 * 3;
68203
- for (var q10 = by2(G10), $10 = (1 << q10) - 1, K10 = ei3(G10, q10, 1), L10 = 0; L10 < O10; ) {
68201
+ for (var z10 = new Rt3(O10), G10 = new Rt3(19), _10 = 0; _10 < F6; ++_10) G10[Cf3[_10]] = Qo3(e10, m10 + _10 * 3, 7);
68202
+ m10 += F6 * 3;
68203
+ for (var q10 = by2(G10), $10 = (1 << q10) - 1, K10 = ei3(G10, q10, 1), _10 = 0; _10 < O10; ) {
68204
68204
  var X6 = K10[Qo3(e10, m10, $10)];
68205
68205
  m10 += X6 & 15;
68206
68206
  var S6 = X6 >> 4;
68207
- if (S6 < 16) _10[L10++] = S6;
68207
+ if (S6 < 16) z10[_10++] = S6;
68208
68208
  else {
68209
68209
  var V10 = 0, Y6 = 0;
68210
- for (S6 == 16 ? (Y6 = 3 + Qo3(e10, m10, 3), m10 += 2, V10 = _10[L10 - 1]) : S6 == 17 ? (Y6 = 3 + Qo3(e10, m10, 7), m10 += 3) : S6 == 18 && (Y6 = 11 + Qo3(e10, m10, 127), m10 += 7); Y6--; ) _10[L10++] = V10;
68210
+ for (S6 == 16 ? (Y6 = 3 + Qo3(e10, m10, 3), m10 += 2, V10 = z10[_10 - 1]) : S6 == 17 ? (Y6 = 3 + Qo3(e10, m10, 7), m10 += 3) : S6 == 18 && (Y6 = 11 + Qo3(e10, m10, 127), m10 += 7); Y6--; ) z10[_10++] = V10;
68211
68211
  }
68212
68212
  }
68213
- var ee5 = _10.subarray(0, F6), oe4 = _10.subarray(F6);
68213
+ var ee5 = z10.subarray(0, P6), oe4 = z10.subarray(P6);
68214
68214
  E6 = by2(ee5), v6 = by2(oe4), g6 = ei3(ee5, E6, 1), x6 = ei3(oe4, v6, 1);
68215
68215
  } else sr3(1);
68216
68216
  else {
@@ -68241,8 +68241,8 @@ ieee754/index.js:
68241
68241
  } else {
68242
68242
  var Fe5 = de5 - 254;
68243
68243
  if (de5 > 264) {
68244
- var L10 = de5 - 257, ce4 = _d3[L10];
68245
- Fe5 = Qo3(e10, m10, (1 << ce4) - 1) + P3[L10], m10 += ce4;
68244
+ var _10 = de5 - 257, ce4 = _d3[_10];
68245
+ Fe5 = Qo3(e10, m10, (1 << ce4) - 1) + P3[_10], m10 += ce4;
68246
68246
  }
68247
68247
  var Pe7 = x6[vy(e10, m10) & ve4], He8 = Pe7 >> 4;
68248
68248
  Pe7 || sr3(3), m10 += Pe7 & 15;
@@ -68286,8 +68286,8 @@ ieee754/index.js:
68286
68286
  var a = new Rt3(t65[0].s + 1);
68287
68287
  return a[t65[0].s] = 1, { t: a, l: 1 };
68288
68288
  }
68289
- t65.sort(function(A10, F6) {
68290
- return A10.f - F6.f;
68289
+ t65.sort(function(A10, P6) {
68290
+ return A10.f - P6.f;
68291
68291
  }), t65.push({ s: -1, f: 25001 });
68292
68292
  var l10 = t65[0], u10 = t65[1], c10 = 0, d = 1, m10 = 2;
68293
68293
  for (t65[0] = { s: -1, f: l10.f + u10.f, l: l10, r: u10 }; d != o10 - 1; ) l10 = t65[t65[c10].f < t65[m10].f ? c10++ : m10++], u10 = t65[c10 != d && t65[c10].f < t65[m10].f ? c10++ : m10++], t65[d++] = { s: -1, f: l10.f + u10.f, l: l10, r: u10 };
@@ -68295,8 +68295,8 @@ ieee754/index.js:
68295
68295
  var g6 = new Bn4(h + 1), x6 = Ey2(t65[d - 1], g6, 0);
68296
68296
  if (x6 > r10) {
68297
68297
  var n10 = 0, E6 = 0, v6 = x6 - r10, I10 = 1 << v6;
68298
- for (i20.sort(function(F6, P6) {
68299
- return g6[P6.s] - g6[F6.s] || F6.f - P6.f;
68298
+ for (i20.sort(function(P6, F6) {
68299
+ return g6[F6.s] - g6[P6.s] || P6.f - F6.f;
68300
68300
  }); n10 < o10; ++n10) {
68301
68301
  var C10 = i20[n10].s;
68302
68302
  if (g6[C10] > r10) E6 += I10 - (1 << x6 - g6[C10]), g6[C10] = r10;
@@ -68347,16 +68347,16 @@ ieee754/index.js:
68347
68347
  };
68348
68348
  A32 = function(e10, r10, t65, n10, o10, i20, a, l10, u10, c10, d) {
68349
68349
  ka4(r10, d++, t65), ++o10[256];
68350
- for (var m10 = xy2(o10, 15), h = m10.t, g6 = m10.l, x6 = xy2(i20, 15), E6 = x6.t, v6 = x6.l, I10 = M32(h), C10 = I10.c, S6 = I10.n, T = M32(E6), A10 = T.c, F6 = T.n, P6 = new Bn4(19), O10 = 0; O10 < C10.length; ++O10) ++P6[C10[O10] & 31];
68351
- for (var O10 = 0; O10 < A10.length; ++O10) ++P6[A10[O10] & 31];
68352
- for (var _10 = xy2(P6, 7), G10 = _10.t, L10 = _10.l, q10 = 19; q10 > 4 && !G10[Cf3[q10 - 1]]; --q10) ;
68353
- var $10 = c10 + 5 << 3, K10 = Od3(o10, ws3) + Od3(i20, kd3) + a, X6 = Od3(o10, h) + Od3(i20, E6) + a + 14 + 3 * q10 + Od3(P6, G10) + 2 * P6[16] + 3 * P6[17] + 7 * P6[18];
68350
+ for (var m10 = xy2(o10, 15), h = m10.t, g6 = m10.l, x6 = xy2(i20, 15), E6 = x6.t, v6 = x6.l, I10 = M32(h), C10 = I10.c, S6 = I10.n, T = M32(E6), A10 = T.c, P6 = T.n, F6 = new Bn4(19), O10 = 0; O10 < C10.length; ++O10) ++F6[C10[O10] & 31];
68351
+ for (var O10 = 0; O10 < A10.length; ++O10) ++F6[A10[O10] & 31];
68352
+ for (var z10 = xy2(F6, 7), G10 = z10.t, _10 = z10.l, q10 = 19; q10 > 4 && !G10[Cf3[q10 - 1]]; --q10) ;
68353
+ var $10 = c10 + 5 << 3, K10 = Od3(o10, ws3) + Od3(i20, kd3) + a, X6 = Od3(o10, h) + Od3(i20, E6) + a + 14 + 3 * q10 + Od3(F6, G10) + 2 * F6[16] + 3 * F6[17] + 7 * F6[18];
68354
68354
  if (u10 >= 0 && $10 <= K10 && $10 <= X6) return O32(r10, d, e10.subarray(u10, u10 + c10));
68355
68355
  var V10, Y6, ee5, oe4;
68356
68356
  if (ka4(r10, d, 1 + (X6 < K10)), d += 2, X6 < K10) {
68357
68357
  V10 = ei3(h, g6, 0), Y6 = h, ee5 = ei3(E6, v6, 0), oe4 = E6;
68358
- var le4 = ei3(G10, L10, 0);
68359
- ka4(r10, d, S6 - 257), ka4(r10, d + 5, F6 - 1), ka4(r10, d + 10, q10 - 4), d += 14;
68358
+ var le4 = ei3(G10, _10, 0);
68359
+ ka4(r10, d, S6 - 257), ka4(r10, d + 5, P6 - 1), ka4(r10, d + 10, q10 - 4), d += 14;
68360
68360
  for (var O10 = 0; O10 < q10; ++O10) ka4(r10, d + 3 * O10, G10[Cf3[O10]]);
68361
68361
  d += 3 * q10;
68362
68362
  for (var ve4 = [C10, A10], he3 = 0; he3 < 2; ++he3) for (var de5 = ve4[he3], O10 = 0; O10 < de5.length; ++O10) {
@@ -68383,23 +68383,23 @@ ieee754/index.js:
68383
68383
  d && (u10[0] = i20.r >> 3);
68384
68384
  for (var m10 = J52[r10 - 1], h = m10 >> 13, g6 = m10 & 8191, x6 = (1 << t65) - 1, E6 = i20.p || new Bn4(32768), v6 = i20.h || new Bn4(x6 + 1), I10 = Math.ceil(t65 / 3), C10 = 2 * I10, S6 = function(se4) {
68385
68385
  return (e10[se4] ^ e10[se4 + 1] << I10 ^ e10[se4 + 2] << C10) & x6;
68386
- }, T = new Tf3(25e3), A10 = new Bn4(288), F6 = new Bn4(32), P6 = 0, O10 = 0, _10 = i20.i || 0, G10 = 0, L10 = i20.w || 0, q10 = 0; _10 + 2 < a; ++_10) {
68387
- var $10 = S6(_10), K10 = _10 & 32767, X6 = v6[$10];
68388
- if (E6[K10] = X6, v6[$10] = K10, L10 <= _10) {
68389
- var V10 = a - _10;
68390
- if ((P6 > 7e3 || G10 > 24576) && (V10 > 423 || !c10)) {
68391
- d = A32(e10, u10, 0, T, A10, F6, O10, G10, q10, _10 - q10, d), G10 = P6 = O10 = 0, q10 = _10;
68386
+ }, T = new Tf3(25e3), A10 = new Bn4(288), P6 = new Bn4(32), F6 = 0, O10 = 0, z10 = i20.i || 0, G10 = 0, _10 = i20.w || 0, q10 = 0; z10 + 2 < a; ++z10) {
68387
+ var $10 = S6(z10), K10 = z10 & 32767, X6 = v6[$10];
68388
+ if (E6[K10] = X6, v6[$10] = K10, _10 <= z10) {
68389
+ var V10 = a - z10;
68390
+ if ((F6 > 7e3 || G10 > 24576) && (V10 > 423 || !c10)) {
68391
+ d = A32(e10, u10, 0, T, A10, P6, O10, G10, q10, z10 - q10, d), G10 = F6 = O10 = 0, q10 = z10;
68392
68392
  for (var Y6 = 0; Y6 < 286; ++Y6) A10[Y6] = 0;
68393
- for (var Y6 = 0; Y6 < 30; ++Y6) F6[Y6] = 0;
68393
+ for (var Y6 = 0; Y6 < 30; ++Y6) P6[Y6] = 0;
68394
68394
  }
68395
68395
  var ee5 = 2, oe4 = 0, le4 = g6, ve4 = K10 - X6 & 32767;
68396
- if (V10 > 2 && $10 == S6(_10 - ve4)) for (var he3 = Math.min(h, V10) - 1, de5 = Math.min(32767, _10), Fe5 = Math.min(258, V10); ve4 <= de5 && --le4 && K10 != X6; ) {
68397
- if (e10[_10 + ee5] == e10[_10 + ee5 - ve4]) {
68398
- for (var ce4 = 0; ce4 < Fe5 && e10[_10 + ce4] == e10[_10 + ce4 - ve4]; ++ce4) ;
68396
+ if (V10 > 2 && $10 == S6(z10 - ve4)) for (var he3 = Math.min(h, V10) - 1, de5 = Math.min(32767, z10), Fe5 = Math.min(258, V10); ve4 <= de5 && --le4 && K10 != X6; ) {
68397
+ if (e10[z10 + ee5] == e10[z10 + ee5 - ve4]) {
68398
+ for (var ce4 = 0; ce4 < Fe5 && e10[z10 + ce4] == e10[z10 + ce4 - ve4]; ++ce4) ;
68399
68399
  if (ce4 > ee5) {
68400
68400
  if (ee5 = ce4, oe4 = ve4, ce4 > he3) break;
68401
68401
  for (var Pe7 = Math.min(ve4, ce4 - 2), He8 = 0, Y6 = 0; Y6 < Pe7; ++Y6) {
68402
- var bt3 = _10 - ve4 + Y6 & 32767, B6 = E6[bt3], re3 = bt3 - B6 & 32767;
68402
+ var bt3 = z10 - ve4 + Y6 & 32767, B6 = E6[bt3], re3 = bt3 - B6 & 32767;
68403
68403
  re3 > He8 && (He8 = re3, X6 = bt3);
68404
68404
  }
68405
68405
  }
@@ -68408,17 +68408,17 @@ ieee754/index.js:
68408
68408
  }
68409
68409
  if (oe4) {
68410
68410
  T[G10++] = 268435456 | Iy2[ee5] << 18 | w3[oe4];
68411
- var R8 = Iy2[ee5] & 31, ue6 = w3[oe4] & 31;
68412
- O10 += _d3[R8] + Ld3[ue6], ++A10[257 + R8], ++F6[ue6], L10 = _10 + ee5, ++P6;
68413
- } else T[G10++] = e10[_10], ++A10[e10[_10]];
68411
+ var L10 = Iy2[ee5] & 31, ue6 = w3[oe4] & 31;
68412
+ O10 += _d3[L10] + Ld3[ue6], ++A10[257 + L10], ++P6[ue6], _10 = z10 + ee5, ++F6;
68413
+ } else T[G10++] = e10[z10], ++A10[e10[z10]];
68414
68414
  }
68415
68415
  }
68416
- for (_10 = Math.max(_10, L10); _10 < a; ++_10) T[G10++] = e10[_10], ++A10[e10[_10]];
68417
- d = A32(e10, u10, c10, T, A10, F6, O10, G10, q10, _10 - q10, d), c10 || (i20.r = d & 7 | u10[d / 8 | 0] << 3, d -= 7, i20.h = v6, i20.p = E6, i20.i = _10, i20.w = L10);
68416
+ for (z10 = Math.max(z10, _10); z10 < a; ++z10) T[G10++] = e10[z10], ++A10[e10[z10]];
68417
+ d = A32(e10, u10, c10, T, A10, P6, O10, G10, q10, z10 - q10, d), c10 || (i20.r = d & 7 | u10[d / 8 | 0] << 3, d -= 7, i20.h = v6, i20.p = E6, i20.i = z10, i20.w = _10);
68418
68418
  } else {
68419
- for (var _10 = i20.w || 0; _10 < a + c10; _10 += 65535) {
68420
- var ie4 = _10 + 65535;
68421
- ie4 >= a && (u10[d / 8 | 0] = c10, ie4 = a), d = O32(u10, d + 1, e10.subarray(_10, ie4));
68419
+ for (var z10 = i20.w || 0; z10 < a + c10; z10 += 65535) {
68420
+ var ie4 = z10 + 65535;
68421
+ ie4 >= a && (u10[d / 8 | 0] = c10, ie4 = a), d = O32(u10, d + 1, e10.subarray(z10, ie4));
68422
68422
  }
68423
68423
  i20.i = a;
68424
68424
  }
@@ -68871,238 +68871,238 @@ ieee754/index.js:
68871
68871
  function r10(B6) {
68872
68872
  return B6[Z5] === "Any" || B6[Z5] === "Unknown";
68873
68873
  }
68874
- function* t65(B6, re3, R8) {
68874
+ function* t65(B6, re3, L10) {
68875
68875
  yield "true";
68876
68876
  }
68877
- function* n10(B6, re3, R8) {
68878
- yield "Array.isArray(".concat(R8, ")");
68877
+ function* n10(B6, re3, L10) {
68878
+ yield "Array.isArray(".concat(L10, ")");
68879
68879
  let [ue6, ie4] = [Fe5("value", "any"), Fe5("acc", "number")];
68880
- Te5(B6.maxItems) && (yield "".concat(R8, ".length <= ").concat(B6.maxItems)), Te5(B6.minItems) && (yield "".concat(R8, ".length >= ").concat(B6.minItems));
68880
+ Te5(B6.maxItems) && (yield "".concat(L10, ".length <= ").concat(B6.maxItems)), Te5(B6.minItems) && (yield "".concat(L10, ".length >= ").concat(B6.minItems));
68881
68881
  let se4 = le4(B6.items, re3, "value");
68882
- if (yield "".concat(R8, ".every((").concat(ue6, ") => ").concat(se4, ")"), it3(B6.contains) || Te5(B6.minContains) || Te5(B6.maxContains)) {
68882
+ if (yield "".concat(L10, ".every((").concat(ue6, ") => ").concat(se4, ")"), it3(B6.contains) || Te5(B6.minContains) || Te5(B6.maxContains)) {
68883
68883
  let Le6 = it3(B6.contains) ? B6.contains : Ft3(), Et4 = le4(Le6, re3, "value"), Ce5 = Te5(B6.minContains) ? ["(count >= ".concat(B6.minContains, ")")] : [], xe5 = Te5(B6.maxContains) ? ["(count <= ".concat(B6.maxContains, ")")] : [], We3 = "const count = value.reduce((".concat(ie4, ", ").concat(ue6, ") => ").concat(Et4, " ? acc + 1 : acc, 0)"), Gr3 = ["(count > 0)", ...Ce5, ...xe5].join(" && ");
68884
- yield "((".concat(ue6, ") => { ").concat(We3, "; return ").concat(Gr3, "})(").concat(R8, ")");
68884
+ yield "((".concat(ue6, ") => { ").concat(We3, "; return ").concat(Gr3, "})(").concat(L10, ")");
68885
68885
  }
68886
68886
  if (B6.uniqueItems === true) {
68887
68887
  let Et4 = "const set = new Set(); for(const element of value) { ".concat("const hashed = hash(element); if(set.has(hashed)) { return false } else { set.add(hashed) } } return true", " }");
68888
- yield "((".concat(ue6, ") => { ").concat(Et4, " )(").concat(R8, ")");
68888
+ yield "((".concat(ue6, ") => { ").concat(Et4, " )(").concat(L10, ")");
68889
68889
  }
68890
68890
  }
68891
- function* o10(B6, re3, R8) {
68892
- yield "(typeof value === 'object' && Symbol.asyncIterator in ".concat(R8, ")");
68891
+ function* o10(B6, re3, L10) {
68892
+ yield "(typeof value === 'object' && Symbol.asyncIterator in ".concat(L10, ")");
68893
68893
  }
68894
- function* i20(B6, re3, R8) {
68895
- yield "(typeof ".concat(R8, " === 'bigint')"), rn3(B6.exclusiveMaximum) && (yield "".concat(R8, " < BigInt(").concat(B6.exclusiveMaximum, ")")), rn3(B6.exclusiveMinimum) && (yield "".concat(R8, " > BigInt(").concat(B6.exclusiveMinimum, ")")), rn3(B6.maximum) && (yield "".concat(R8, " <= BigInt(").concat(B6.maximum, ")")), rn3(B6.minimum) && (yield "".concat(R8, " >= BigInt(").concat(B6.minimum, ")")), rn3(B6.multipleOf) && (yield "(".concat(R8, " % BigInt(").concat(B6.multipleOf, ")) === 0"));
68894
+ function* i20(B6, re3, L10) {
68895
+ yield "(typeof ".concat(L10, " === 'bigint')"), rn3(B6.exclusiveMaximum) && (yield "".concat(L10, " < BigInt(").concat(B6.exclusiveMaximum, ")")), rn3(B6.exclusiveMinimum) && (yield "".concat(L10, " > BigInt(").concat(B6.exclusiveMinimum, ")")), rn3(B6.maximum) && (yield "".concat(L10, " <= BigInt(").concat(B6.maximum, ")")), rn3(B6.minimum) && (yield "".concat(L10, " >= BigInt(").concat(B6.minimum, ")")), rn3(B6.multipleOf) && (yield "(".concat(L10, " % BigInt(").concat(B6.multipleOf, ")) === 0"));
68896
68896
  }
68897
- function* a(B6, re3, R8) {
68898
- yield "(typeof ".concat(R8, " === 'boolean')");
68897
+ function* a(B6, re3, L10) {
68898
+ yield "(typeof ".concat(L10, " === 'boolean')");
68899
68899
  }
68900
- function* l10(B6, re3, R8) {
68901
- yield* __yieldStar(S(ee5(B6.returns, re3, "".concat(R8, ".prototype"))));
68900
+ function* l10(B6, re3, L10) {
68901
+ yield* __yieldStar(S(ee5(B6.returns, re3, "".concat(L10, ".prototype"))));
68902
68902
  }
68903
- function* u10(B6, re3, R8) {
68904
- yield "(".concat(R8, " instanceof Date) && Number.isFinite(").concat(R8, ".getTime())"), Te5(B6.exclusiveMaximumTimestamp) && (yield "".concat(R8, ".getTime() < ").concat(B6.exclusiveMaximumTimestamp)), Te5(B6.exclusiveMinimumTimestamp) && (yield "".concat(R8, ".getTime() > ").concat(B6.exclusiveMinimumTimestamp)), Te5(B6.maximumTimestamp) && (yield "".concat(R8, ".getTime() <= ").concat(B6.maximumTimestamp)), Te5(B6.minimumTimestamp) && (yield "".concat(R8, ".getTime() >= ").concat(B6.minimumTimestamp)), Te5(B6.multipleOfTimestamp) && (yield "(".concat(R8, ".getTime() % ").concat(B6.multipleOfTimestamp, ") === 0"));
68903
+ function* u10(B6, re3, L10) {
68904
+ yield "(".concat(L10, " instanceof Date) && Number.isFinite(").concat(L10, ".getTime())"), Te5(B6.exclusiveMaximumTimestamp) && (yield "".concat(L10, ".getTime() < ").concat(B6.exclusiveMaximumTimestamp)), Te5(B6.exclusiveMinimumTimestamp) && (yield "".concat(L10, ".getTime() > ").concat(B6.exclusiveMinimumTimestamp)), Te5(B6.maximumTimestamp) && (yield "".concat(L10, ".getTime() <= ").concat(B6.maximumTimestamp)), Te5(B6.minimumTimestamp) && (yield "".concat(L10, ".getTime() >= ").concat(B6.minimumTimestamp)), Te5(B6.multipleOfTimestamp) && (yield "(".concat(L10, ".getTime() % ").concat(B6.multipleOfTimestamp, ") === 0"));
68905
68905
  }
68906
- function* c10(B6, re3, R8) {
68907
- yield "(typeof ".concat(R8, " === 'function')");
68906
+ function* c10(B6, re3, L10) {
68907
+ yield "(typeof ".concat(L10, " === 'function')");
68908
68908
  }
68909
- function* d(B6, re3, R8) {
68910
- yield "Number.isInteger(".concat(R8, ")"), Te5(B6.exclusiveMaximum) && (yield "".concat(R8, " < ").concat(B6.exclusiveMaximum)), Te5(B6.exclusiveMinimum) && (yield "".concat(R8, " > ").concat(B6.exclusiveMinimum)), Te5(B6.maximum) && (yield "".concat(R8, " <= ").concat(B6.maximum)), Te5(B6.minimum) && (yield "".concat(R8, " >= ").concat(B6.minimum)), Te5(B6.multipleOf) && (yield "(".concat(R8, " % ").concat(B6.multipleOf, ") === 0"));
68909
+ function* d(B6, re3, L10) {
68910
+ yield "Number.isInteger(".concat(L10, ")"), Te5(B6.exclusiveMaximum) && (yield "".concat(L10, " < ").concat(B6.exclusiveMaximum)), Te5(B6.exclusiveMinimum) && (yield "".concat(L10, " > ").concat(B6.exclusiveMinimum)), Te5(B6.maximum) && (yield "".concat(L10, " <= ").concat(B6.maximum)), Te5(B6.minimum) && (yield "".concat(L10, " >= ").concat(B6.minimum)), Te5(B6.multipleOf) && (yield "(".concat(L10, " % ").concat(B6.multipleOf, ") === 0"));
68911
68911
  }
68912
- function* m10(B6, re3, R8) {
68913
- let ue6 = B6.allOf.map((ie4) => le4(ie4, re3, R8)).join(" && ");
68912
+ function* m10(B6, re3, L10) {
68913
+ let ue6 = B6.allOf.map((ie4) => le4(ie4, re3, L10)).join(" && ");
68914
68914
  if (B6.unevaluatedProperties === false) {
68915
- let ie4 = he3("".concat(new RegExp(Is3(B6)), ";")), se4 = "Object.getOwnPropertyNames(".concat(R8, ").every(key => ").concat(ie4, ".test(key))");
68915
+ let ie4 = he3("".concat(new RegExp(Is3(B6)), ";")), se4 = "Object.getOwnPropertyNames(".concat(L10, ").every(key => ").concat(ie4, ".test(key))");
68916
68916
  yield "(".concat(ue6, " && ").concat(se4, ")");
68917
68917
  } else if (it3(B6.unevaluatedProperties)) {
68918
- let ie4 = he3("".concat(new RegExp(Is3(B6)), ";")), se4 = "Object.getOwnPropertyNames(".concat(R8, ").every(key => ").concat(ie4, ".test(key) || ").concat(le4(B6.unevaluatedProperties, re3, "".concat(R8, "[key]")), ")");
68918
+ let ie4 = he3("".concat(new RegExp(Is3(B6)), ";")), se4 = "Object.getOwnPropertyNames(".concat(L10, ").every(key => ").concat(ie4, ".test(key) || ").concat(le4(B6.unevaluatedProperties, re3, "".concat(L10, "[key]")), ")");
68919
68919
  yield "(".concat(ue6, " && ").concat(se4, ")");
68920
68920
  } else yield "(".concat(ue6, ")");
68921
68921
  }
68922
- function* h(B6, re3, R8) {
68923
- yield "(typeof value === 'object' && Symbol.iterator in ".concat(R8, ")");
68922
+ function* h(B6, re3, L10) {
68923
+ yield "(typeof value === 'object' && Symbol.iterator in ".concat(L10, ")");
68924
68924
  }
68925
- function* g6(B6, re3, R8) {
68926
- typeof B6.const == "number" || typeof B6.const == "boolean" ? yield "(".concat(R8, " === ").concat(B6.const, ")") : yield "(".concat(R8, " === '").concat(U32.Escape(B6.const), "')");
68925
+ function* g6(B6, re3, L10) {
68926
+ typeof B6.const == "number" || typeof B6.const == "boolean" ? yield "(".concat(L10, " === ").concat(B6.const, ")") : yield "(".concat(L10, " === '").concat(U32.Escape(B6.const), "')");
68927
68927
  }
68928
- function* x6(B6, re3, R8) {
68928
+ function* x6(B6, re3, L10) {
68929
68929
  yield "false";
68930
68930
  }
68931
- function* E6(B6, re3, R8) {
68932
- let ue6 = le4(B6.not, re3, R8);
68931
+ function* E6(B6, re3, L10) {
68932
+ let ue6 = le4(B6.not, re3, L10);
68933
68933
  yield "(!".concat(ue6, ")");
68934
68934
  }
68935
- function* v6(B6, re3, R8) {
68936
- yield "(".concat(R8, " === null)");
68935
+ function* v6(B6, re3, L10) {
68936
+ yield "(".concat(L10, " === null)");
68937
68937
  }
68938
- function* I10(B6, re3, R8) {
68939
- yield Bl3.IsNumberLike(R8), Te5(B6.exclusiveMaximum) && (yield "".concat(R8, " < ").concat(B6.exclusiveMaximum)), Te5(B6.exclusiveMinimum) && (yield "".concat(R8, " > ").concat(B6.exclusiveMinimum)), Te5(B6.maximum) && (yield "".concat(R8, " <= ").concat(B6.maximum)), Te5(B6.minimum) && (yield "".concat(R8, " >= ").concat(B6.minimum)), Te5(B6.multipleOf) && (yield "(".concat(R8, " % ").concat(B6.multipleOf, ") === 0"));
68938
+ function* I10(B6, re3, L10) {
68939
+ yield Bl3.IsNumberLike(L10), Te5(B6.exclusiveMaximum) && (yield "".concat(L10, " < ").concat(B6.exclusiveMaximum)), Te5(B6.exclusiveMinimum) && (yield "".concat(L10, " > ").concat(B6.exclusiveMinimum)), Te5(B6.maximum) && (yield "".concat(L10, " <= ").concat(B6.maximum)), Te5(B6.minimum) && (yield "".concat(L10, " >= ").concat(B6.minimum)), Te5(B6.multipleOf) && (yield "(".concat(L10, " % ").concat(B6.multipleOf, ") === 0"));
68940
68940
  }
68941
- function* C10(B6, re3, R8) {
68942
- yield Bl3.IsObjectLike(R8), Te5(B6.minProperties) && (yield "Object.getOwnPropertyNames(".concat(R8, ").length >= ").concat(B6.minProperties)), Te5(B6.maxProperties) && (yield "Object.getOwnPropertyNames(".concat(R8, ").length <= ").concat(B6.maxProperties));
68941
+ function* C10(B6, re3, L10) {
68942
+ yield Bl3.IsObjectLike(L10), Te5(B6.minProperties) && (yield "Object.getOwnPropertyNames(".concat(L10, ").length >= ").concat(B6.minProperties)), Te5(B6.maxProperties) && (yield "Object.getOwnPropertyNames(".concat(L10, ").length <= ").concat(B6.maxProperties));
68943
68943
  let ue6 = Object.getOwnPropertyNames(B6.properties);
68944
68944
  for (let ie4 of ue6) {
68945
- let se4 = By2.Encode(R8, ie4), Le6 = B6.properties[ie4];
68946
- if (B6.required && B6.required.includes(ie4)) yield* __yieldStar(S(ee5(Le6, re3, se4))), (Cs3(Le6) || r10(Le6)) && (yield "('".concat(ie4, "' in ").concat(R8, ")"));
68945
+ let se4 = By2.Encode(L10, ie4), Le6 = B6.properties[ie4];
68946
+ if (B6.required && B6.required.includes(ie4)) yield* __yieldStar(S(ee5(Le6, re3, se4))), (Cs3(Le6) || r10(Le6)) && (yield "('".concat(ie4, "' in ").concat(L10, ")"));
68947
68947
  else {
68948
68948
  let Et4 = le4(Le6, re3, se4);
68949
- yield Bl3.IsExactOptionalProperty(R8, ie4, Et4);
68949
+ yield Bl3.IsExactOptionalProperty(L10, ie4, Et4);
68950
68950
  }
68951
68951
  }
68952
- if (B6.additionalProperties === false) if (B6.required && B6.required.length === ue6.length) yield "Object.getOwnPropertyNames(".concat(R8, ").length === ").concat(ue6.length);
68952
+ if (B6.additionalProperties === false) if (B6.required && B6.required.length === ue6.length) yield "Object.getOwnPropertyNames(".concat(L10, ").length === ").concat(ue6.length);
68953
68953
  else {
68954
68954
  let ie4 = "[".concat(ue6.map((se4) => "'".concat(se4, "'")).join(", "), "]");
68955
- yield "Object.getOwnPropertyNames(".concat(R8, ").every(key => ").concat(ie4, ".includes(key))");
68955
+ yield "Object.getOwnPropertyNames(".concat(L10, ").every(key => ").concat(ie4, ".includes(key))");
68956
68956
  }
68957
68957
  if (typeof B6.additionalProperties == "object") {
68958
- let ie4 = le4(B6.additionalProperties, re3, "".concat(R8, "[key]")), se4 = "[".concat(ue6.map((Le6) => "'".concat(Le6, "'")).join(", "), "]");
68959
- yield "(Object.getOwnPropertyNames(".concat(R8, ").every(key => ").concat(se4, ".includes(key) || ").concat(ie4, "))");
68958
+ let ie4 = le4(B6.additionalProperties, re3, "".concat(L10, "[key]")), se4 = "[".concat(ue6.map((Le6) => "'".concat(Le6, "'")).join(", "), "]");
68959
+ yield "(Object.getOwnPropertyNames(".concat(L10, ").every(key => ").concat(se4, ".includes(key) || ").concat(ie4, "))");
68960
68960
  }
68961
68961
  }
68962
- function* S6(B6, re3, R8) {
68963
- yield "(typeof value === 'object' && typeof ".concat(R8, ".then === 'function')");
68962
+ function* S6(B6, re3, L10) {
68963
+ yield "(typeof value === 'object' && typeof ".concat(L10, ".then === 'function')");
68964
68964
  }
68965
- function* T(B6, re3, R8) {
68966
- yield Bl3.IsRecordLike(R8), Te5(B6.minProperties) && (yield "Object.getOwnPropertyNames(".concat(R8, ").length >= ").concat(B6.minProperties)), Te5(B6.maxProperties) && (yield "Object.getOwnPropertyNames(".concat(R8, ").length <= ").concat(B6.maxProperties));
68967
- let [ue6, ie4] = Object.entries(B6.patternProperties)[0], se4 = he3("".concat(new RegExp(ue6))), Le6 = le4(ie4, re3, "value"), Et4 = it3(B6.additionalProperties) ? le4(B6.additionalProperties, re3, R8) : B6.additionalProperties === false ? "false" : "true", Ce5 = "(".concat(se4, ".test(key) ? ").concat(Le6, " : ").concat(Et4, ")");
68968
- yield "(Object.entries(".concat(R8, ").every(([key, value]) => ").concat(Ce5, "))");
68965
+ function* T(B6, re3, L10) {
68966
+ yield Bl3.IsRecordLike(L10), Te5(B6.minProperties) && (yield "Object.getOwnPropertyNames(".concat(L10, ").length >= ").concat(B6.minProperties)), Te5(B6.maxProperties) && (yield "Object.getOwnPropertyNames(".concat(L10, ").length <= ").concat(B6.maxProperties));
68967
+ let [ue6, ie4] = Object.entries(B6.patternProperties)[0], se4 = he3("".concat(new RegExp(ue6))), Le6 = le4(ie4, re3, "value"), Et4 = it3(B6.additionalProperties) ? le4(B6.additionalProperties, re3, L10) : B6.additionalProperties === false ? "false" : "true", Ce5 = "(".concat(se4, ".test(key) ? ").concat(Le6, " : ").concat(Et4, ")");
68968
+ yield "(Object.entries(".concat(L10, ").every(([key, value]) => ").concat(Ce5, "))");
68969
68969
  }
68970
- function* A10(B6, re3, R8) {
68970
+ function* A10(B6, re3, L10) {
68971
68971
  let ue6 = dt3(B6, re3);
68972
- if (oe4.functions.has(B6.$ref)) return yield "".concat(ve4(B6.$ref), "(").concat(R8, ")");
68973
- yield* __yieldStar(S(ee5(ue6, re3, R8)));
68972
+ if (oe4.functions.has(B6.$ref)) return yield "".concat(ve4(B6.$ref), "(").concat(L10, ")");
68973
+ yield* __yieldStar(S(ee5(ue6, re3, L10)));
68974
68974
  }
68975
- function* F6(B6, re3, R8) {
68975
+ function* P6(B6, re3, L10) {
68976
68976
  let ue6 = he3("".concat(new RegExp(B6.source, B6.flags), ";"));
68977
- yield "(typeof ".concat(R8, " === 'string')"), Te5(B6.maxLength) && (yield "".concat(R8, ".length <= ").concat(B6.maxLength)), Te5(B6.minLength) && (yield "".concat(R8, ".length >= ").concat(B6.minLength)), yield "".concat(ue6, ".test(").concat(R8, ")");
68977
+ yield "(typeof ".concat(L10, " === 'string')"), Te5(B6.maxLength) && (yield "".concat(L10, ".length <= ").concat(B6.maxLength)), Te5(B6.minLength) && (yield "".concat(L10, ".length >= ").concat(B6.minLength)), yield "".concat(ue6, ".test(").concat(L10, ")");
68978
68978
  }
68979
- function* P6(B6, re3, R8) {
68980
- if (yield "(typeof ".concat(R8, " === 'string')"), Te5(B6.maxLength) && (yield "".concat(R8, ".length <= ").concat(B6.maxLength)), Te5(B6.minLength) && (yield "".concat(R8, ".length >= ").concat(B6.minLength)), B6.pattern !== void 0) {
68979
+ function* F6(B6, re3, L10) {
68980
+ if (yield "(typeof ".concat(L10, " === 'string')"), Te5(B6.maxLength) && (yield "".concat(L10, ".length <= ").concat(B6.maxLength)), Te5(B6.minLength) && (yield "".concat(L10, ".length >= ").concat(B6.minLength)), B6.pattern !== void 0) {
68981
68981
  let ue6 = he3("".concat(new RegExp(B6.pattern), ";"));
68982
- yield "".concat(ue6, ".test(").concat(R8, ")");
68982
+ yield "".concat(ue6, ".test(").concat(L10, ")");
68983
68983
  }
68984
- B6.format !== void 0 && (yield "format('".concat(B6.format, "', ").concat(R8, ")"));
68984
+ B6.format !== void 0 && (yield "format('".concat(B6.format, "', ").concat(L10, ")"));
68985
68985
  }
68986
- function* O10(B6, re3, R8) {
68987
- yield "(typeof ".concat(R8, " === 'symbol')");
68986
+ function* O10(B6, re3, L10) {
68987
+ yield "(typeof ".concat(L10, " === 'symbol')");
68988
68988
  }
68989
- function* _10(B6, re3, R8) {
68990
- yield "(typeof ".concat(R8, " === 'string')");
68989
+ function* z10(B6, re3, L10) {
68990
+ yield "(typeof ".concat(L10, " === 'string')");
68991
68991
  let ue6 = he3("".concat(new RegExp(B6.pattern), ";"));
68992
- yield "".concat(ue6, ".test(").concat(R8, ")");
68992
+ yield "".concat(ue6, ".test(").concat(L10, ")");
68993
68993
  }
68994
- function* G10(B6, re3, R8) {
68995
- yield "".concat(ve4(B6.$ref), "(").concat(R8, ")");
68994
+ function* G10(B6, re3, L10) {
68995
+ yield "".concat(ve4(B6.$ref), "(").concat(L10, ")");
68996
68996
  }
68997
- function* L10(B6, re3, R8) {
68998
- if (yield "Array.isArray(".concat(R8, ")"), B6.items === void 0) return yield "".concat(R8, ".length === 0");
68999
- yield "(".concat(R8, ".length === ").concat(B6.maxItems, ")");
68997
+ function* _10(B6, re3, L10) {
68998
+ if (yield "Array.isArray(".concat(L10, ")"), B6.items === void 0) return yield "".concat(L10, ".length === 0");
68999
+ yield "(".concat(L10, ".length === ").concat(B6.maxItems, ")");
69000
69000
  for (let ue6 = 0; ue6 < B6.items.length; ue6++) {
69001
- let ie4 = le4(B6.items[ue6], re3, "".concat(R8, "[").concat(ue6, "]"));
69001
+ let ie4 = le4(B6.items[ue6], re3, "".concat(L10, "[").concat(ue6, "]"));
69002
69002
  yield "".concat(ie4);
69003
69003
  }
69004
69004
  }
69005
- function* q10(B6, re3, R8) {
69006
- yield "".concat(R8, " === undefined");
69005
+ function* q10(B6, re3, L10) {
69006
+ yield "".concat(L10, " === undefined");
69007
69007
  }
69008
- function* $10(B6, re3, R8) {
69009
- let ue6 = B6.anyOf.map((ie4) => le4(ie4, re3, R8));
69008
+ function* $10(B6, re3, L10) {
69009
+ let ue6 = B6.anyOf.map((ie4) => le4(ie4, re3, L10));
69010
69010
  yield "(".concat(ue6.join(" || "), ")");
69011
69011
  }
69012
- function* K10(B6, re3, R8) {
69013
- yield "".concat(R8, " instanceof Uint8Array"), Te5(B6.maxByteLength) && (yield "(".concat(R8, ".length <= ").concat(B6.maxByteLength, ")")), Te5(B6.minByteLength) && (yield "(".concat(R8, ".length >= ").concat(B6.minByteLength, ")"));
69012
+ function* K10(B6, re3, L10) {
69013
+ yield "".concat(L10, " instanceof Uint8Array"), Te5(B6.maxByteLength) && (yield "(".concat(L10, ".length <= ").concat(B6.maxByteLength, ")")), Te5(B6.minByteLength) && (yield "(".concat(L10, ".length >= ").concat(B6.minByteLength, ")"));
69014
69014
  }
69015
- function* X6(B6, re3, R8) {
69015
+ function* X6(B6, re3, L10) {
69016
69016
  yield "true";
69017
69017
  }
69018
- function* V10(B6, re3, R8) {
69019
- yield Bl3.IsVoidLike(R8);
69018
+ function* V10(B6, re3, L10) {
69019
+ yield Bl3.IsVoidLike(L10);
69020
69020
  }
69021
- function* Y6(B6, re3, R8) {
69021
+ function* Y6(B6, re3, L10) {
69022
69022
  let ue6 = oe4.instances.size;
69023
- oe4.instances.set(ue6, B6), yield "kind('".concat(B6[Z5], "', ").concat(ue6, ", ").concat(R8, ")");
69023
+ oe4.instances.set(ue6, B6), yield "kind('".concat(B6[Z5], "', ").concat(ue6, ", ").concat(L10, ")");
69024
69024
  }
69025
- function* ee5(B6, re3, R8, ue6 = true) {
69025
+ function* ee5(B6, re3, L10, ue6 = true) {
69026
69026
  let ie4 = ot2(B6.$id) ? [...re3, B6] : re3, se4 = B6;
69027
69027
  if (ue6 && ot2(B6.$id)) {
69028
69028
  let Le6 = ve4(B6.$id);
69029
- if (oe4.functions.has(Le6)) return yield "".concat(Le6, "(").concat(R8, ")");
69029
+ if (oe4.functions.has(Le6)) return yield "".concat(Le6, "(").concat(L10, ")");
69030
69030
  {
69031
69031
  let Et4 = de5(Le6, B6, re3, "value", false);
69032
- return oe4.functions.set(Le6, Et4), yield "".concat(Le6, "(").concat(R8, ")");
69032
+ return oe4.functions.set(Le6, Et4), yield "".concat(Le6, "(").concat(L10, ")");
69033
69033
  }
69034
69034
  }
69035
69035
  switch (se4[Z5]) {
69036
69036
  case "Any":
69037
- return yield* __yieldStar(S(t65(se4, ie4, R8)));
69037
+ return yield* __yieldStar(S(t65(se4, ie4, L10)));
69038
69038
  case "Array":
69039
- return yield* __yieldStar(S(n10(se4, ie4, R8)));
69039
+ return yield* __yieldStar(S(n10(se4, ie4, L10)));
69040
69040
  case "AsyncIterator":
69041
- return yield* __yieldStar(S(o10(se4, ie4, R8)));
69041
+ return yield* __yieldStar(S(o10(se4, ie4, L10)));
69042
69042
  case "BigInt":
69043
- return yield* __yieldStar(S(i20(se4, ie4, R8)));
69043
+ return yield* __yieldStar(S(i20(se4, ie4, L10)));
69044
69044
  case "Boolean":
69045
- return yield* __yieldStar(S(a(se4, ie4, R8)));
69045
+ return yield* __yieldStar(S(a(se4, ie4, L10)));
69046
69046
  case "Constructor":
69047
- return yield* __yieldStar(S(l10(se4, ie4, R8)));
69047
+ return yield* __yieldStar(S(l10(se4, ie4, L10)));
69048
69048
  case "Date":
69049
- return yield* __yieldStar(S(u10(se4, ie4, R8)));
69049
+ return yield* __yieldStar(S(u10(se4, ie4, L10)));
69050
69050
  case "Function":
69051
- return yield* __yieldStar(S(c10(se4, ie4, R8)));
69051
+ return yield* __yieldStar(S(c10(se4, ie4, L10)));
69052
69052
  case "Integer":
69053
- return yield* __yieldStar(S(d(se4, ie4, R8)));
69053
+ return yield* __yieldStar(S(d(se4, ie4, L10)));
69054
69054
  case "Intersect":
69055
- return yield* __yieldStar(S(m10(se4, ie4, R8)));
69055
+ return yield* __yieldStar(S(m10(se4, ie4, L10)));
69056
69056
  case "Iterator":
69057
- return yield* __yieldStar(S(h(se4, ie4, R8)));
69057
+ return yield* __yieldStar(S(h(se4, ie4, L10)));
69058
69058
  case "Literal":
69059
- return yield* __yieldStar(S(g6(se4, ie4, R8)));
69059
+ return yield* __yieldStar(S(g6(se4, ie4, L10)));
69060
69060
  case "Never":
69061
- return yield* __yieldStar(S(x6(se4, ie4, R8)));
69061
+ return yield* __yieldStar(S(x6(se4, ie4, L10)));
69062
69062
  case "Not":
69063
- return yield* __yieldStar(S(E6(se4, ie4, R8)));
69063
+ return yield* __yieldStar(S(E6(se4, ie4, L10)));
69064
69064
  case "Null":
69065
- return yield* __yieldStar(S(v6(se4, ie4, R8)));
69065
+ return yield* __yieldStar(S(v6(se4, ie4, L10)));
69066
69066
  case "Number":
69067
- return yield* __yieldStar(S(I10(se4, ie4, R8)));
69067
+ return yield* __yieldStar(S(I10(se4, ie4, L10)));
69068
69068
  case "Object":
69069
- return yield* __yieldStar(S(C10(se4, ie4, R8)));
69069
+ return yield* __yieldStar(S(C10(se4, ie4, L10)));
69070
69070
  case "Promise":
69071
- return yield* __yieldStar(S(S6(se4, ie4, R8)));
69071
+ return yield* __yieldStar(S(S6(se4, ie4, L10)));
69072
69072
  case "Record":
69073
- return yield* __yieldStar(S(T(se4, ie4, R8)));
69073
+ return yield* __yieldStar(S(T(se4, ie4, L10)));
69074
69074
  case "Ref":
69075
- return yield* __yieldStar(S(A10(se4, ie4, R8)));
69075
+ return yield* __yieldStar(S(A10(se4, ie4, L10)));
69076
69076
  case "RegExp":
69077
- return yield* __yieldStar(S(F6(se4, ie4, R8)));
69077
+ return yield* __yieldStar(S(P6(se4, ie4, L10)));
69078
69078
  case "String":
69079
- return yield* __yieldStar(S(P6(se4, ie4, R8)));
69079
+ return yield* __yieldStar(S(F6(se4, ie4, L10)));
69080
69080
  case "Symbol":
69081
- return yield* __yieldStar(S(O10(se4, ie4, R8)));
69081
+ return yield* __yieldStar(S(O10(se4, ie4, L10)));
69082
69082
  case "TemplateLiteral":
69083
- return yield* __yieldStar(S(_10(se4, ie4, R8)));
69083
+ return yield* __yieldStar(S(z10(se4, ie4, L10)));
69084
69084
  case "This":
69085
- return yield* __yieldStar(S(G10(se4, ie4, R8)));
69085
+ return yield* __yieldStar(S(G10(se4, ie4, L10)));
69086
69086
  case "Tuple":
69087
- return yield* __yieldStar(S(L10(se4, ie4, R8)));
69087
+ return yield* __yieldStar(S(_10(se4, ie4, L10)));
69088
69088
  case "Undefined":
69089
- return yield* __yieldStar(S(q10(se4, ie4, R8)));
69089
+ return yield* __yieldStar(S(q10(se4, ie4, L10)));
69090
69090
  case "Union":
69091
- return yield* __yieldStar(S($10(se4, ie4, R8)));
69091
+ return yield* __yieldStar(S($10(se4, ie4, L10)));
69092
69092
  case "Uint8Array":
69093
- return yield* __yieldStar(S(K10(se4, ie4, R8)));
69093
+ return yield* __yieldStar(S(K10(se4, ie4, L10)));
69094
69094
  case "Unknown":
69095
- return yield* __yieldStar(S(X6(se4, ie4, R8)));
69095
+ return yield* __yieldStar(S(X6(se4, ie4, L10)));
69096
69096
  case "Void":
69097
- return yield* __yieldStar(S(V10(se4, ie4, R8)));
69097
+ return yield* __yieldStar(S(V10(se4, ie4, L10)));
69098
69098
  default:
69099
69099
  if (!kr3.Has(se4[Z5])) throw new z32(B6);
69100
- return yield* __yieldStar(S(Y6(se4, ie4, R8)));
69100
+ return yield* __yieldStar(S(Y6(se4, ie4, L10)));
69101
69101
  }
69102
69102
  }
69103
69103
  let oe4 = { language: "javascript", functions: /* @__PURE__ */ new Map(), variables: /* @__PURE__ */ new Map(), instances: /* @__PURE__ */ new Map() };
69104
- function le4(B6, re3, R8, ue6 = true) {
69105
- return "(".concat([...ee5(B6, re3, R8, ue6)].join(" && "), ")");
69104
+ function le4(B6, re3, L10, ue6 = true) {
69105
+ return "(".concat([...ee5(B6, re3, L10, ue6)].join(" && "), ")");
69106
69106
  }
69107
69107
  function ve4(B6) {
69108
69108
  return "check_".concat(j32.Encode(B6));
@@ -69111,30 +69111,30 @@ ieee754/index.js:
69111
69111
  let re3 = "local_".concat(oe4.variables.size);
69112
69112
  return oe4.variables.set(re3, "const ".concat(re3, " = ").concat(B6)), re3;
69113
69113
  }
69114
- function de5(B6, re3, R8, ue6, ie4 = true) {
69115
- let [se4, Le6] = ["\\n", (We3) => "".padStart(We3, " ")], Et4 = Fe5("value", "any"), Ce5 = ce4("boolean"), xe5 = [...ee5(re3, R8, ue6, ie4)].map((We3) => "".concat(Le6(4)).concat(We3)).join(" &&".concat(se4));
69114
+ function de5(B6, re3, L10, ue6, ie4 = true) {
69115
+ let [se4, Le6] = ["\\n", (We3) => "".padStart(We3, " ")], Et4 = Fe5("value", "any"), Ce5 = ce4("boolean"), xe5 = [...ee5(re3, L10, ue6, ie4)].map((We3) => "".concat(Le6(4)).concat(We3)).join(" &&".concat(se4));
69116
69116
  return "function ".concat(B6, "(").concat(Et4, ")").concat(Ce5, " {").concat(se4).concat(Le6(2), "return (").concat(se4).concat(xe5).concat(se4).concat(Le6(2), ")\\n}");
69117
69117
  }
69118
69118
  function Fe5(B6, re3) {
69119
- let R8 = oe4.language === "typescript" ? ": ".concat(re3) : "";
69120
- return "".concat(B6).concat(R8);
69119
+ let L10 = oe4.language === "typescript" ? ": ".concat(re3) : "";
69120
+ return "".concat(B6).concat(L10);
69121
69121
  }
69122
69122
  function ce4(B6) {
69123
69123
  return oe4.language === "typescript" ? ": ".concat(B6) : "";
69124
69124
  }
69125
- function Pe7(B6, re3, R8) {
69125
+ function Pe7(B6, re3, L10) {
69126
69126
  let ue6 = de5("check", B6, re3, "value"), ie4 = Fe5("value", "any"), se4 = ce4("boolean"), Le6 = [...oe4.functions.values()], Et4 = [...oe4.variables.values()], Ce5 = ot2(B6.$id) ? "return function check(".concat(ie4, ")").concat(se4, " {\\n return ").concat(ve4(B6.$id), "(value)\\n}") : "return ".concat(ue6);
69127
69127
  return [...Et4, ...Le6, Ce5].join("\\n");
69128
69128
  }
69129
69129
  function He8(...B6) {
69130
- let re3 = { language: "javascript" }, [R8, ue6, ie4] = B6.length === 2 && Ue6(B6[1]) ? [B6[0], B6[1], re3] : B6.length === 2 && !Ue6(B6[1]) ? [B6[0], [], B6[1]] : B6.length === 3 ? [B6[0], B6[1], B6[2]] : B6.length === 1 ? [B6[0], [], re3] : [null, [], re3];
69131
- if (oe4.language = ie4.language, oe4.variables.clear(), oe4.functions.clear(), oe4.instances.clear(), !it3(R8)) throw new _y(R8);
69130
+ let re3 = { language: "javascript" }, [L10, ue6, ie4] = B6.length === 2 && Ue6(B6[1]) ? [B6[0], B6[1], re3] : B6.length === 2 && !Ue6(B6[1]) ? [B6[0], [], B6[1]] : B6.length === 3 ? [B6[0], B6[1], B6[2]] : B6.length === 1 ? [B6[0], [], re3] : [null, [], re3];
69131
+ if (oe4.language = ie4.language, oe4.variables.clear(), oe4.functions.clear(), oe4.instances.clear(), !it3(L10)) throw new _y(L10);
69132
69132
  for (let se4 of ue6) if (!it3(se4)) throw new _y(se4);
69133
- return Pe7(R8, ue6, ie4);
69133
+ return Pe7(L10, ue6, ie4);
69134
69134
  }
69135
69135
  e10.Code = He8;
69136
69136
  function bt3(B6, re3 = []) {
69137
- let R8 = He8(B6, re3, { language: "javascript" }), ue6 = globalThis.Function("kind", "format", "hash", R8), ie4 = new Map(oe4.instances);
69137
+ let L10 = He8(B6, re3, { language: "javascript" }), ue6 = globalThis.Function("kind", "format", "hash", L10), ie4 = new Map(oe4.instances);
69138
69138
  function se4(xe5, We3, Gr3) {
69139
69139
  if (!kr3.Has(xe5) || !ie4.has(We3)) return false;
69140
69140
  let xi3 = kr3.Get(xe5), ca2 = ie4.get(We3);
@@ -69147,7 +69147,7 @@ ieee754/index.js:
69147
69147
  return Fu3(xe5);
69148
69148
  }
69149
69149
  let Ce5 = ue6(se4, Le6, Et4);
69150
- return new N32(B6, re3, Ce5, R8);
69150
+ return new N32(B6, re3, Ce5, L10);
69151
69151
  }
69152
69152
  e10.Compile = bt3;
69153
69153
  })(Ly2 || (Ly2 = {}));
@@ -69603,7 +69603,7 @@ ieee754/index.js:
69603
69603
  e10.EnterpriseLocationWithUnknownLocationError = "EnterpriseLocationWithUnknownLocationError", e10.EnterpriseCategoryWithUnknownLocationCategoryError = "EnterpriseCategoryWithUnknownLocationCategoryError", e10.InstanceWithUnknownLocationInstanceError = "InstanceWithUnknownLocationInstanceError", e10.InstanceWithUnknownEnterpriseLocationError = "InstanceWithUnknownEnterpriseLocationError", e10.EnterpriseLocationWithUnknownSibling = "EnterpriseLocationWithUnknownSibling", e10.EnterpriseLocationInstanceWithUnknownSibling = "EnterpriseLocationInstanceWithUnknownSibling", e10.EnterpriseVenueWithUnknownTopLocationError = "EnterpriseVenueWithUnknownTopLocationError", e10.EnterpriseLocationWithInvalidPrimaryCategory = "EnterpriseLocationWithInvalidPrimaryCategory";
69604
69604
  })(_i3 || (_i3 = {}));
69605
69605
  KT2 = (e10) => {
69606
- var h, g6, x6, E6, v6, I10, C10, S6, T, A10, F6, P6, O10, _10, G10, L10, q10, $10, K10, X6;
69606
+ var h, g6, x6, E6, v6, I10, C10, S6, T, A10, P6, F6, O10, z10, G10, _10, q10, $10, K10, X6;
69607
69607
  if (e10.cms == null) return me6(true);
69608
69608
  let r10 = e10.cms, t65 = fr2(e10.cms.categories, (V10) => V10.id, "cms.categories");
69609
69609
  if (t65.isErr()) return t65;
@@ -69623,13 +69623,13 @@ ieee754/index.js:
69623
69623
  if (((T = r10.venue) == null ? void 0 : T.topLocations) != null) {
69624
69624
  for (let V10 of r10.venue.topLocations) if (!i20.has(V10)) return ge6({ kind: _i3.EnterpriseVenueWithUnknownTopLocationError, properties: { locationId: V10 } });
69625
69625
  }
69626
- let a = new Set((F6 = (A10 = e10.cms.locations) == null ? void 0 : A10.map((V10) => V10.id)) != null ? F6 : []), l10 = fr2(e10.cms.locationInstances, (V10) => V10.id, "cms.locationInstances");
69626
+ let a = new Set((P6 = (A10 = e10.cms.locations) == null ? void 0 : A10.map((V10) => V10.id)) != null ? P6 : []), l10 = fr2(e10.cms.locationInstances, (V10) => V10.id, "cms.locationInstances");
69627
69627
  if (l10.isErr()) return l10;
69628
- let u10 = new Set((O10 = (P6 = e10.locationInstances) == null ? void 0 : P6.map((V10) => V10.id)) != null ? O10 : []);
69629
- for (let V10 of (_10 = r10.locationInstances) != null ? _10 : []) {
69628
+ let u10 = new Set((O10 = (F6 = e10.locationInstances) == null ? void 0 : F6.map((V10) => V10.id)) != null ? O10 : []);
69629
+ for (let V10 of (z10 = r10.locationInstances) != null ? z10 : []) {
69630
69630
  if (!a.has(V10.parentId)) return ge6({ kind: _i3.InstanceWithUnknownEnterpriseLocationError, properties: { enterpriseLocationInstanceId: V10.id, enterpriseLocationId: V10.parentId } });
69631
69631
  if (!u10.has(V10.locationInstanceId)) return ge6({ kind: _i3.InstanceWithUnknownLocationInstanceError, properties: { enterpriseLocationInstanceId: V10.id, locationInstanceId: V10.locationInstanceId } });
69632
- for (let Y6 of (G10 = V10.siblingGroups) != null ? G10 : []) for (let ee5 of (L10 = Y6.siblings) != null ? L10 : []) if (!i20.has(ee5)) return ge6({ kind: _i3.EnterpriseLocationInstanceWithUnknownSibling, properties: { enterpriseLocationInstanceId: V10.id, siblingLocationId: ee5, label: Y6.label } });
69632
+ for (let Y6 of (G10 = V10.siblingGroups) != null ? G10 : []) for (let ee5 of (_10 = Y6.siblings) != null ? _10 : []) if (!i20.has(ee5)) return ge6({ kind: _i3.EnterpriseLocationInstanceWithUnknownSibling, properties: { enterpriseLocationInstanceId: V10.id, siblingLocationId: ee5, label: Y6.label } });
69633
69633
  }
69634
69634
  let c10 = ki3(e10), d = Br4(e10), m10 = fr2(e10.cms.floorText, (V10) => V10.properties.id, "cms.floorText");
69635
69635
  if (m10.isErr()) return m10;
@@ -70288,19 +70288,19 @@ ieee754/index.js:
70288
70288
  else if (E6 == 2) {
70289
70289
  var S6 = Ri3(e10, u10, 31) + 257, T = Ri3(e10, u10 + 10, 15) + 4, A10 = S6 + Ri3(e10, u10 + 5, 31) + 1;
70290
70290
  u10 += 14;
70291
- for (var F6 = new Do3(A10), P6 = new Do3(19), O10 = 0; O10 < T; ++O10) P6[J$[O10]] = Ri3(e10, u10 + O10 * 3, 7);
70291
+ for (var P6 = new Do3(A10), F6 = new Do3(19), O10 = 0; O10 < T; ++O10) F6[J$[O10]] = Ri3(e10, u10 + O10 * 3, 7);
70292
70292
  u10 += T * 3;
70293
- for (var _10 = Nx2(P6), G10 = (1 << _10) - 1, L10 = jf3(P6, _10, 1), O10 = 0; O10 < A10; ) {
70294
- var q10 = L10[Ri3(e10, u10, G10)];
70293
+ for (var z10 = Nx2(F6), G10 = (1 << z10) - 1, _10 = jf3(F6, z10, 1), O10 = 0; O10 < A10; ) {
70294
+ var q10 = _10[Ri3(e10, u10, G10)];
70295
70295
  u10 += q10 & 15;
70296
70296
  var v6 = q10 >>> 4;
70297
- if (v6 < 16) F6[O10++] = v6;
70297
+ if (v6 < 16) P6[O10++] = v6;
70298
70298
  else {
70299
70299
  var $10 = 0, K10 = 0;
70300
- for (v6 == 16 ? (K10 = 3 + Ri3(e10, u10, 3), u10 += 2, $10 = F6[O10 - 1]) : v6 == 17 ? (K10 = 3 + Ri3(e10, u10, 7), u10 += 3) : v6 == 18 && (K10 = 11 + Ri3(e10, u10, 127), u10 += 7); K10--; ) F6[O10++] = $10;
70300
+ for (v6 == 16 ? (K10 = 3 + Ri3(e10, u10, 3), u10 += 2, $10 = P6[O10 - 1]) : v6 == 17 ? (K10 = 3 + Ri3(e10, u10, 7), u10 += 3) : v6 == 18 && (K10 = 11 + Ri3(e10, u10, 127), u10 += 7); K10--; ) P6[O10++] = $10;
70301
70301
  }
70302
70302
  }
70303
- var X6 = F6.subarray(0, S6), V10 = F6.subarray(S6);
70303
+ var X6 = P6.subarray(0, S6), V10 = P6.subarray(S6);
70304
70304
  h = Nx2(X6), g6 = Nx2(V10), d = jf3(X6, h, 1), m10 = jf3(V10, g6, 1);
70305
70305
  } else Ni3(1);
70306
70306
  else {
@@ -71346,9 +71346,9 @@ ieee754/index.js:
71346
71346
  let t65 = {}, n10 = {}, o10 = {}, i20 = {}, a = {}, l10 = {};
71347
71347
  for (let S6 of e10["location.json"] || []) {
71348
71348
  let T = new ic3(r10, { mvfData: S6 });
71349
- if (t65[S6.id] = T, S6.externalId && (i20[S6.externalId] == null && (i20[S6.externalId] = []), i20[S6.externalId].push(T)), S6.categories) for (let F6 of S6.categories) a[F6] == null && (a[F6] = []), a[F6].push(T);
71350
- let A10 = [...(c10 = (u10 = S6.obstructions) == null ? void 0 : u10.map((F6) => F6.id)) != null ? c10 : [], ...(m10 = (d = S6.spaces) == null ? void 0 : d.map((F6) => F6.id)) != null ? m10 : [], ...(g6 = (h = S6.annotations) == null ? void 0 : h.map((F6) => F6.id)) != null ? g6 : [], ...(x6 = S6.connections) != null ? x6 : [], ...(v6 = (E6 = S6.entrances) == null ? void 0 : E6.map((F6) => F6.id)) != null ? v6 : [], ...(C10 = (I10 = S6.areas) == null ? void 0 : I10.map((F6) => F6.id)) != null ? C10 : []];
71351
- for (let F6 of A10) F6 && (l10[F6] == null && (l10[F6] = []), l10[F6].push(T));
71349
+ if (t65[S6.id] = T, S6.externalId && (i20[S6.externalId] == null && (i20[S6.externalId] = []), i20[S6.externalId].push(T)), S6.categories) for (let P6 of S6.categories) a[P6] == null && (a[P6] = []), a[P6].push(T);
71350
+ let A10 = [...(c10 = (u10 = S6.obstructions) == null ? void 0 : u10.map((P6) => P6.id)) != null ? c10 : [], ...(m10 = (d = S6.spaces) == null ? void 0 : d.map((P6) => P6.id)) != null ? m10 : [], ...(g6 = (h = S6.annotations) == null ? void 0 : h.map((P6) => P6.id)) != null ? g6 : [], ...(x6 = S6.connections) != null ? x6 : [], ...(v6 = (E6 = S6.entrances) == null ? void 0 : E6.map((P6) => P6.id)) != null ? v6 : [], ...(C10 = (I10 = S6.areas) == null ? void 0 : I10.map((P6) => P6.id)) != null ? C10 : []];
71351
+ for (let P6 of A10) P6 && (l10[P6] == null && (l10[P6] = []), l10[P6].push(T));
71352
71352
  }
71353
71353
  for (let S6 of e10["category.json"] || []) {
71354
71354
  let T = new b12(r10, { mvfData: S6 });
@@ -71382,8 +71382,8 @@ ieee754/index.js:
71382
71382
  for (let v6 in m10) {
71383
71383
  let I10 = m10[v6], C10 = {};
71384
71384
  for (let T of I10) {
71385
- let A10 = g6[T], F6 = u10[T], P6 = r10 == null ? void 0 : r10["n_" + F6.properties.id.split("s_")[1]];
71386
- C10[A10] = F(E({}, F6), { properties: F(E({}, F6.properties), { accessible: (P6 == null ? void 0 : P6.accessible) === true }) });
71385
+ let A10 = g6[T], P6 = u10[T], F6 = r10 == null ? void 0 : r10["n_" + P6.properties.id.split("s_")[1]];
71386
+ C10[A10] = F(E({}, P6), { properties: F(E({}, P6.properties), { accessible: (F6 == null ? void 0 : F6.accessible) === true }) });
71387
71387
  }
71388
71388
  let S6 = new Ao2(t65, { mvfDataByFloorId: C10 });
71389
71389
  h[S6.id] = S6;
@@ -71565,7 +71565,7 @@ ieee754/index.js:
71565
71565
  return { entranceNodeIdsBySpaceId: t65, spaceIdsByNodeId: n10, objectIdsByNodeId: o10, destinationNodesIdsBySpaceId: i20 };
71566
71566
  };
71567
71567
  tA2 = (e10, r10) => {
71568
- var v6, I10, C10, S6, T, A10, F6, P6, O10, _10, G10, L10, q10;
71568
+ var v6, I10, C10, S6, T, A10, P6, F6, O10, z10, G10, _10, q10;
71569
71569
  let t65 = {}, n10 = {}, o10 = {}, i20 = {}, a = ((I10 = (v6 = e10.enterprise) == null ? void 0 : v6.locations) != null ? I10 : []).reduce(($10, K10) => ($10[K10.id] = K10, $10), {}), l10 = {}, u10 = {}, c10 = {}, d = {}, m10 = {}, h = {}, g6 = ((C10 = e10.enterprise) == null ? void 0 : C10.venue) || {}, x6 = {};
71570
71570
  for (let $10 of (T = (S6 = e10.enterprise) == null ? void 0 : S6.categories) != null ? T : []) {
71571
71571
  let K10 = new y12(r10, { mvfData: $10 });
@@ -71574,14 +71574,14 @@ ieee754/index.js:
71574
71574
  });
71575
71575
  }
71576
71576
  let E6 = {};
71577
- for (let $10 of (F6 = (A10 = e10.enterprise) == null ? void 0 : A10.locationInstances) != null ? F6 : []) {
71577
+ for (let $10 of (P6 = (A10 = e10.enterprise) == null ? void 0 : A10.locationInstances) != null ? P6 : []) {
71578
71578
  let K10 = a[$10.parent], X6 = Object.keys(K10), V10 = {};
71579
71579
  for (let ee5 of X6) V10[ee5] = void 0;
71580
71580
  let Y6 = E(F(E({}, V10), { polygons: [], nodes: [] }), $10);
71581
- E6[Y6.parent] == null && (E6[Y6.parent] = []), E6[Y6.parent].push(new ja3(r10, { mvfData: Y6, categoryIds: ((O10 = (P6 = e10.enterprise) == null ? void 0 : P6.categoryPriorities) == null ? void 0 : O10[Y6.id]) || m10[Y6.id], parentId: $10.parent })), x6[Y6.id] = $10;
71581
+ E6[Y6.parent] == null && (E6[Y6.parent] = []), E6[Y6.parent].push(new ja3(r10, { mvfData: Y6, categoryIds: ((O10 = (F6 = e10.enterprise) == null ? void 0 : F6.categoryPriorities) == null ? void 0 : O10[Y6.id]) || m10[Y6.id], parentId: $10.parent })), x6[Y6.id] = $10;
71582
71582
  }
71583
- for (let $10 of (G10 = (_10 = e10.enterprise) == null ? void 0 : _10.locations) != null ? G10 : []) {
71584
- let K10 = new ja3(r10, { mvfData: $10, categoryIds: ((q10 = (L10 = e10.enterprise) == null ? void 0 : L10.categoryPriorities) == null ? void 0 : q10[$10.id]) || m10[$10.id], locationInstances: E6[$10.id] });
71583
+ for (let $10 of (G10 = (z10 = e10.enterprise) == null ? void 0 : z10.locations) != null ? G10 : []) {
71584
+ let K10 = new ja3(r10, { mvfData: $10, categoryIds: ((q10 = (_10 = e10.enterprise) == null ? void 0 : _10.categoryPriorities) == null ? void 0 : q10[$10.id]) || m10[$10.id], locationInstances: E6[$10.id] });
71585
71585
  o10[$10.id] = K10, $10.externalId && (i20[$10.externalId] == null && (i20[$10.externalId] = []), i20[$10.externalId].push(K10)), $10.nodes.forEach((X6) => {
71586
71586
  h[X6.id] == null && (h[X6.id] = []), h[X6.id].push($10.id);
71587
71587
  });
@@ -71601,10 +71601,10 @@ ieee754/index.js:
71601
71601
  return { connectionsByExternalId: n10, locationIdsByNodeId: h, mvfLocationsByGeometryId: d, mvfLocationsById: a, mvfCategoriesById: c10, locationsById: o10, locationsByExternalId: i20, locationInstancesById: x6, categoriesById: l10, categoriesByExternalId: u10, venue: g6 };
71602
71602
  };
71603
71603
  rA2 = (e10, r10) => {
71604
- let { nodesById: t65, nodesByExternalId: n10, mvfNodesById: o10, mvfNodesByFloorId: i20 } = CZ(e10, r10), { mvfConnectionsById: a, mvfConnectionsByNodeId: l10, mvfConnectionIdsByLatLon: u10 } = wZ(e10, o10), { spacesById: c10, spacesByExternalId: d, poisById: m10, poisByExternalId: h, mvfSpacesById: g6, objectEntranceNodeIdsByObstructionId: x6, connectionsById: E6, connectionIdsByLatLon: v6, mvfSpacesByFloorId: I10, mvfPoisByFloorId: C10 } = EZ(e10, l10, r10), { objectsById: S6, objectsByExternalId: T, mvfObstructionById: A10, obstructionIdByEntranceId: F6 } = SZ(e10, r10), { floorsById: P6, floorsByExternalId: O10, mvfFloorsById: _10 } = DZ(e10, r10), { floorStacksById: G10, floorStacksByExternalId: L10, mvfFloorStacksById: q10, facadesById: $10, facadesBySpaceId: K10 } = TZ(e10, r10), { doorsById: X6, doorsByExternalId: V10, doorsByNodeId: Y6, mvfEntrancesById: ee5, mvfEntrancesByFloorId: oe4 } = MZ(e10, r10), { annotationsById: le4, mvfAnnotationsById: ve4, mvfAnnotationsByFloorId: he3 } = kZ(e10, r10), { areasById: de5, areasByExternalId: Fe5, mvfAreasById: ce4 } = BZ(e10, r10);
71604
+ let { nodesById: t65, nodesByExternalId: n10, mvfNodesById: o10, mvfNodesByFloorId: i20 } = CZ(e10, r10), { mvfConnectionsById: a, mvfConnectionsByNodeId: l10, mvfConnectionIdsByLatLon: u10 } = wZ(e10, o10), { spacesById: c10, spacesByExternalId: d, poisById: m10, poisByExternalId: h, mvfSpacesById: g6, objectEntranceNodeIdsByObstructionId: x6, connectionsById: E6, connectionIdsByLatLon: v6, mvfSpacesByFloorId: I10, mvfPoisByFloorId: C10 } = EZ(e10, l10, r10), { objectsById: S6, objectsByExternalId: T, mvfObstructionById: A10, obstructionIdByEntranceId: P6 } = SZ(e10, r10), { floorsById: F6, floorsByExternalId: O10, mvfFloorsById: z10 } = DZ(e10, r10), { floorStacksById: G10, floorStacksByExternalId: _10, mvfFloorStacksById: q10, facadesById: $10, facadesBySpaceId: K10 } = TZ(e10, r10), { doorsById: X6, doorsByExternalId: V10, doorsByNodeId: Y6, mvfEntrancesById: ee5, mvfEntrancesByFloorId: oe4 } = MZ(e10, r10), { annotationsById: le4, mvfAnnotationsById: ve4, mvfAnnotationsByFloorId: he3 } = kZ(e10, r10), { areasById: de5, areasByExternalId: Fe5, mvfAreasById: ce4 } = BZ(e10, r10);
71605
71605
  FZ(e10, g6, A10), AZ(e10, g6, A10), PZ(e10, g6), OZ(e10, g6, A10);
71606
- let { locationCategoriesByParentId: Pe7, locationProfilesById: He8, locationCategoriesById: bt3, locationProfilesByExternalId: B6, locationProfilesByCategoryId: re3, locationProfilesByAttachedFeatureId: R8 } = IZ(e10, r10), { entranceNodeIdsBySpaceId: ue6, spaceIdsByNodeId: ie4, objectIdsByNodeId: se4, destinationNodesIdsBySpaceId: Le6 } = _Z2(g6, Y6);
71607
- return { spacesById: c10, spacesByExternalId: d, nodesById: t65, nodesByExternalId: n10, objectsById: S6, objectsByExternalId: T, floorsById: P6, floorsByExternalId: O10, floorStacksById: G10, floorStacksByExternalId: L10, facadesById: $10, facadesBySpaceId: K10, connectionsById: E6, doorsById: X6, doorsByExternalId: V10, doorsByNodeId: Y6, poisById: m10, poisByExternalId: h, annotationsById: le4, areasById: de5, areasByExternalId: Fe5, objectEntranceNodeIdsByObstructionId: x6, obstructionIdByEntranceId: F6, connectionIdsByLatLon: v6, locationProfilesById: He8, locationCategoriesById: bt3, locationProfilesByExternalId: B6, locationProfilesByCategoryId: re3, locationCategoriesByParentId: Pe7, mvfSpacesById: g6, mvfNodesById: o10, mvfObstructionById: A10, mvfFloorsById: _10, mvfFloorStacksById: q10, mvfConnectionsById: a, mvfConnectionsByNodeId: l10, mvfEntrancesById: ee5, mvfAnnotationsById: ve4, mvfNodesByFloorId: i20, mvfSpacesByFloorId: I10, mvfPoisByFloorId: C10, mvfAreasById: ce4, mvfEntrancesByFloorId: oe4, mvfAnnotationsByFloorId: he3, locationProfilesByAttachedFeatureId: R8, mvfConnectionIdsByLatLon: u10, entranceNodeIdsBySpaceId: ue6, spaceIdsByNodeId: ie4, objectIdsByNodeId: se4, destinationNodesIdsBySpaceId: Le6 };
71606
+ let { locationCategoriesByParentId: Pe7, locationProfilesById: He8, locationCategoriesById: bt3, locationProfilesByExternalId: B6, locationProfilesByCategoryId: re3, locationProfilesByAttachedFeatureId: L10 } = IZ(e10, r10), { entranceNodeIdsBySpaceId: ue6, spaceIdsByNodeId: ie4, objectIdsByNodeId: se4, destinationNodesIdsBySpaceId: Le6 } = _Z2(g6, Y6);
71607
+ return { spacesById: c10, spacesByExternalId: d, nodesById: t65, nodesByExternalId: n10, objectsById: S6, objectsByExternalId: T, floorsById: F6, floorsByExternalId: O10, floorStacksById: G10, floorStacksByExternalId: _10, facadesById: $10, facadesBySpaceId: K10, connectionsById: E6, doorsById: X6, doorsByExternalId: V10, doorsByNodeId: Y6, poisById: m10, poisByExternalId: h, annotationsById: le4, areasById: de5, areasByExternalId: Fe5, objectEntranceNodeIdsByObstructionId: x6, obstructionIdByEntranceId: P6, connectionIdsByLatLon: v6, locationProfilesById: He8, locationCategoriesById: bt3, locationProfilesByExternalId: B6, locationProfilesByCategoryId: re3, locationCategoriesByParentId: Pe7, mvfSpacesById: g6, mvfNodesById: o10, mvfObstructionById: A10, mvfFloorsById: z10, mvfFloorStacksById: q10, mvfConnectionsById: a, mvfConnectionsByNodeId: l10, mvfEntrancesById: ee5, mvfAnnotationsById: ve4, mvfNodesByFloorId: i20, mvfSpacesByFloorId: I10, mvfPoisByFloorId: C10, mvfAreasById: ce4, mvfEntrancesByFloorId: oe4, mvfAnnotationsByFloorId: he3, locationProfilesByAttachedFeatureId: L10, mvfConnectionIdsByLatLon: u10, entranceNodeIdsBySpaceId: ue6, spaceIdsByNodeId: ie4, objectIdsByNodeId: se4, destinationNodesIdsBySpaceId: Le6 };
71608
71608
  };
71609
71609
  $i();
71610
71610
  RZ = /* @__PURE__ */ new Set(["polygons"]);
@@ -72315,8 +72315,8 @@ ieee754/index.js:
72315
72315
  let T = x6.data, A10 = T.properties.parentId || T.properties.id;
72316
72316
  if (n10.includes(A10) && !a.has(A10)) {
72317
72317
  a.add(A10);
72318
- let F6 = O5(r10, T.geometry.coordinates);
72319
- F6 <= i20 && g6.push({ node: T, distance: F6 });
72318
+ let P6 = O5(r10, T.geometry.coordinates);
72319
+ P6 <= i20 && g6.push({ node: T, distance: P6 });
72320
72320
  }
72321
72321
  }
72322
72322
  return S6;
@@ -73497,7 +73497,7 @@ ieee754/index.js:
73497
73497
  }, Sc.env.NODE_ENV === "test" ? 0 : 16, { leading: true }));
73498
73498
  M(this, "tapsControl", new z12());
73499
73499
  M(this, "onPointerDown", (t66) => {
73500
- t66.target === this._container && (this._container.addEventListener("pointerup", this.onPointerUp, false), this._container.addEventListener("pointercancel", this.onPointerUp, false), this.state.interaction.mouseDownStart = { time: Date.now(), timestamp: t66.timeStamp, clientX: t66.clientX - this.coreState.containerOffset[0], clientY: t66.clientY - this.coreState.containerOffset[1] }, this.lastPointerEvent = t66, this.state.interaction.distanceFromMouseDown = 0, this.handleCursor(), t66.pointerType === "touch" && (this.tapsControl.add(new U12(t66)), this.touchesCount = Math.max(0, this.touchesCount + 1)));
73500
+ t66.target === this._container && (this._container.addEventListener("pointerup", this.onPointerUp, false), this._container.addEventListener("pointercancel", this.onPointerUp, false), this.state.interaction.mouseDownStart = { time: Date.now(), timestamp: t66.timeStamp, offsetX: t66.offsetX, offsetY: t66.offsetY }, this.lastPointerEvent = t66, this.state.interaction.distanceFromMouseDown = 0, this.handleCursor(), t66.pointerType === "touch" && (this.tapsControl.add(new U12(t66)), this.touchesCount = Math.max(0, this.touchesCount + 1)));
73501
73501
  });
73502
73502
  M(this, "clickTimeout");
73503
73503
  M(this, "onPointerUp", (t66) => {
@@ -73570,26 +73570,26 @@ ieee754/index.js:
73570
73570
  return this.cachedHitBoxes;
73571
73571
  }
73572
73572
  intersect(t65) {
73573
- var T, A10, F6, P6, O10;
73574
- let { clientX: n10, clientY: o10 } = t65, i20 = n10 - this.coreState.containerOffset[0], a = o10 - this.coreState.containerOffset[1], l10 = [i20, a], c10 = this._quadtree.queryPoint(l10).filter((_10) => _10.intersectsPoint(l10));
73575
- this.ndcPoint.x = i20 / this._container.clientWidth * 2 - 1, this.ndcPoint.y = -(a / this._container.clientHeight) * 2 + 1;
73576
- let d = this.getThreeDIntersectsFromXY(this.ndcPoint), m10 = (T = d[0]) == null ? void 0 : T.point, h = [], g6 = [], x6 = d.filter((_10) => _10.object.name !== "worldPlane");
73577
- for (let _10 of x6) _10.object instanceof ve && _10.object.material.depthTest === false ? h.push(_10) : g6.push(_10);
73578
- let E6 = (F6 = (A10 = h[0]) != null ? A10 : g6[0]) != null ? F6 : void 0, v6, I10;
73579
- if (E6 != null) {
73580
- if (v6 = iH(E6.object, this.coreState.geometry3DMap), !v6) {
73581
- let _10 = (P6 = E6 == null ? void 0 : E6.instanceId) != null ? P6 : E6 == null ? void 0 : E6.batchId;
73582
- v6 = _10 != null && (E6 != null && E6.object.userData.entities) ? this.coreState.geometry3DMap.get(E6 == null ? void 0 : E6.object.userData.entities[_10]) : this.coreState.geometry3DMap.get(E6 == null ? void 0 : E6.object.userData.entityId);
73583
- }
73584
- v6 != null && v6.components[2] && (I10 = v6);
73585
- }
73586
- let C10 = oI2(x6), S6 = [];
73587
- for (let _10 of c10) if (((O10 = _10 == null ? void 0 : _10.userData) == null ? void 0 : O10.entityId) === "watermark") S6.push({ id: "watermark" });
73573
+ var C10, S6, T, A10, P6;
73574
+ let { offsetX: n10, offsetY: o10 } = t65, i20 = [n10, o10], l10 = this._quadtree.queryPoint(i20).filter((F6) => F6.intersectsPoint(i20));
73575
+ this.ndcPoint.x = n10 / this._container.clientWidth * 2 - 1, this.ndcPoint.y = -(o10 / this._container.clientHeight) * 2 + 1;
73576
+ let u10 = this.getThreeDIntersectsFromXY(this.ndcPoint), c10 = (C10 = u10[0]) == null ? void 0 : C10.point, d = [], m10 = [], h = u10.filter((F6) => F6.object.name !== "worldPlane");
73577
+ for (let F6 of h) F6.object instanceof ve && F6.object.material.depthTest === false ? d.push(F6) : m10.push(F6);
73578
+ let g6 = (T = (S6 = d[0]) != null ? S6 : m10[0]) != null ? T : void 0, x6, E6;
73579
+ if (g6 != null) {
73580
+ if (x6 = iH(g6.object, this.coreState.geometry3DMap), !x6) {
73581
+ let F6 = (A10 = g6 == null ? void 0 : g6.instanceId) != null ? A10 : g6 == null ? void 0 : g6.batchId;
73582
+ x6 = F6 != null && (g6 != null && g6.object.userData.entities) ? this.coreState.geometry3DMap.get(g6 == null ? void 0 : g6.object.userData.entities[F6]) : this.coreState.geometry3DMap.get(g6 == null ? void 0 : g6.object.userData.entityId);
73583
+ }
73584
+ x6 != null && x6.components[2] && (E6 = x6);
73585
+ }
73586
+ let v6 = oI2(h), I10 = [];
73587
+ for (let F6 of l10) if (((P6 = F6 == null ? void 0 : F6.userData) == null ? void 0 : P6.entityId) === "watermark") I10.push({ id: "watermark" });
73588
73588
  else {
73589
- let G10 = this.coreState.geometry2DMap.get(_10 == null ? void 0 : _10.userData.entityId);
73590
- G10 && S6.push(G10);
73589
+ let O10 = this.coreState.geometry2DMap.get(F6 == null ? void 0 : F6.userData.entityId);
73590
+ O10 && I10.push(O10);
73591
73591
  }
73592
- return aH(S6), { entity2D: S6, entity3D: I10, position: m10, groupContainers: C10.length > 0 ? C10 : void 0 };
73592
+ return aH(I10), { entity2D: I10, entity3D: E6, position: c10, groupContainers: v6.length > 0 ? v6 : void 0 };
73593
73593
  }
73594
73594
  detect3DEntityHover(t65) {
73595
73595
  return this.state.lastHover !== t65 && (this.state.lastHover && bF2(this.state.lastHover, false, this.coreState), t65 && bF2(t65, true, this.coreState)), this.state.hovered3DEntity !== t65;
@@ -73598,7 +73598,7 @@ ieee754/index.js:
73598
73598
  return !$M(this.state.hovered3DContainers, t65);
73599
73599
  }
73600
73600
  updateInteractionStateIfPanning(t65) {
73601
- this.state.interaction.mouseDownStart && (this.state.interaction.distanceFromMouseDown = Math.sqrt(Math.pow(t65.clientX - this.coreState.containerOffset[0] - this.state.interaction.mouseDownStart.clientX, 2) + Math.pow(t65.clientY - this.coreState.containerOffset[1] - this.state.interaction.mouseDownStart.clientY, 2)), !this.state.interaction.isPanning && this.state.interaction.distanceFromMouseDown > 15 && (this.state.interaction.isPanning = true));
73601
+ this.state.interaction.mouseDownStart && (this.state.interaction.distanceFromMouseDown = Math.sqrt(Math.pow(t65.offsetX - this.state.interaction.mouseDownStart.offsetX, 2) + Math.pow(t65.offsetY - this.state.interaction.mouseDownStart.offsetY, 2)), !this.state.interaction.isPanning && this.state.interaction.distanceFromMouseDown > 15 && (this.state.interaction.isPanning = true));
73602
73602
  }
73603
73603
  getMouseRayIntersects() {
73604
73604
  return this.raycaster.intersectObjects([this.worldPlane], false);
@@ -73708,7 +73708,7 @@ ieee754/index.js:
73708
73708
  hc3 = /* @__PURE__ */ new WeakMap(), qu2 = /* @__PURE__ */ new WeakMap(), G12 = /* @__PURE__ */ new WeakMap(), Ku3 = /* @__PURE__ */ new WeakSet(), vF2 = function() {
73709
73709
  return __async(this, null, function* () {
73710
73710
  if (!N(this, hc3)) {
73711
- let { GLTFExporter: r10 } = yield Promise.resolve().then(() => (init_GLTFExporter_ZVF3Y5DX(), GLTFExporter_ZVF3Y5DX_exports));
73711
+ let { GLTFExporter: r10 } = yield Promise.resolve().then(() => (init_GLTFExporter_LWJJKW2X(), GLTFExporter_LWJJKW2X_exports));
73712
73712
  P(this, hc3, new r10());
73713
73713
  }
73714
73714
  return N(this, hc3);
@@ -73877,7 +73877,7 @@ ieee754/index.js:
73877
73877
  getGLTFLoader() {
73878
73878
  return __async(this, null, function* () {
73879
73879
  if (this.loader) return this.loader;
73880
- let { GLTFLoader: t65 } = yield Promise.resolve().then(() => (init_GLTFLoader_3QTALUTA(), GLTFLoader_3QTALUTA_exports));
73880
+ let { GLTFLoader: t65 } = yield Promise.resolve().then(() => (init_GLTFLoader_EQV4GOIS(), GLTFLoader_EQV4GOIS_exports));
73881
73881
  return this.loader = new t65(), this.loader;
73882
73882
  });
73883
73883
  }
@@ -73918,16 +73918,16 @@ ieee754/index.js:
73918
73918
  } else d.load(n10, g6);
73919
73919
  });
73920
73920
  return this.optimizePromise.push(m10.then(() => {
73921
- var x6, E6, v6, I10, C10, S6, T, A10, F6, P6, O10, _10;
73921
+ var x6, E6, v6, I10, C10, S6, T, A10, P6, F6, O10, z10;
73922
73922
  let h = 0, g6;
73923
73923
  for (let G10 of t65.values()) {
73924
73924
  if (g6 = this.state.geometry3DMap.get(G10), !g6 || (g6 == null ? void 0 : g6.type) !== "model") continue;
73925
- let L10 = g6.components[0], q10 = g6.components[1], $10 = g6.components[0].feature;
73926
- L10.mesh = c10, L10.instanceIndex = h, J12(g6), g6.components[1].dirty = false;
73925
+ let _10 = g6.components[0], q10 = g6.components[1], $10 = g6.components[0].feature;
73926
+ _10.mesh = c10, _10.instanceIndex = h, J12(g6), g6.components[1].dirty = false;
73927
73927
  let { x: K10, y: X6 } = this.convertTo3DMapPosition($10.geometry.coordinates[1], $10.geometry.coordinates[0], 0);
73928
- L10.position.set(K10, X6, L10.altitude), a.set(Sd.degToRad((E6 = (x6 = q10.rotation) == null ? void 0 : x6[0]) != null ? E6 : d5[0]), Sd.degToRad((I10 = (v6 = q10.rotation) == null ? void 0 : v6[1]) != null ? I10 : d5[1]), Sd.degToRad((S6 = (C10 = q10.rotation) == null ? void 0 : C10[2]) != null ? S6 : d5[2])), u10.set((A10 = (T = q10.scale) == null ? void 0 : T[0]) != null ? A10 : m5[0], (P6 = (F6 = q10.scale) == null ? void 0 : F6[1]) != null ? P6 : m5[1], (_10 = (O10 = q10.scale) == null ? void 0 : O10[2]) != null ? _10 : m5[2]), l10.setFromEuler(a), i20.compose(L10.position, l10, u10), c10.children.forEach((V10) => {
73928
+ _10.position.set(K10, X6, _10.altitude), a.set(Sd.degToRad((E6 = (x6 = q10.rotation) == null ? void 0 : x6[0]) != null ? E6 : d5[0]), Sd.degToRad((I10 = (v6 = q10.rotation) == null ? void 0 : v6[1]) != null ? I10 : d5[1]), Sd.degToRad((S6 = (C10 = q10.rotation) == null ? void 0 : C10[2]) != null ? S6 : d5[2])), u10.set((A10 = (T = q10.scale) == null ? void 0 : T[0]) != null ? A10 : m5[0], (F6 = (P6 = q10.scale) == null ? void 0 : P6[1]) != null ? F6 : m5[1], (z10 = (O10 = q10.scale) == null ? void 0 : O10[2]) != null ? z10 : m5[2]), l10.setFromEuler(a), i20.compose(_10.position, l10, u10), c10.children.forEach((V10) => {
73929
73929
  !g6 || (g6 == null ? void 0 : g6.type) !== "model" || !(V10 instanceof Zo) || (V10.setMatrixAt(h, i20), V10.userData.entities[h] = g6.id);
73930
- }), L10.mesh.userData.isSingleModel && (L10.mesh.matrix.copy(i20), L10.mesh.matrix.decompose(L10.mesh.position, L10.mesh.quaternion, L10.mesh.scale)), h++;
73930
+ }), _10.mesh.userData.isSingleModel && (_10.mesh.matrix.copy(i20), _10.mesh.matrix.decompose(_10.mesh.position, _10.mesh.quaternion, _10.mesh.scale)), h++;
73931
73931
  }
73932
73932
  this.publish("model-loaded");
73933
73933
  })), c10;
@@ -74172,21 +74172,21 @@ ieee754/index.js:
74172
74172
  ((o10 == null ? void 0 : o10.texture) != null || (o10 == null ? void 0 : o10.topTexture) != null) && (n10 != null && n10.hover && o10.texturesVisible ? o10.hideTextures(r10.instanceIndex) : o10.texturesVisible || o10.showTextures(r10.instanceIndex), t65.texture == null && o10.removeSideTexture(r10.instanceIndex), t65.topTexture == null && o10.removeTopTexture(r10.instanceIndex));
74173
74173
  }
74174
74174
  update() {
74175
- var o10, i20, a, l10, u10, c10, d, m10, h, g6, x6, E6, v6, I10, C10, S6, T, A10, F6, P6, O10;
74175
+ var o10, i20, a, l10, u10, c10, d, m10, h, g6, x6, E6, v6, I10, C10, S6, T, A10, P6, F6, O10;
74176
74176
  let r10, t65, n10;
74177
- for (let _10 of this.state.geometry3DIdsInScene) if (n10 = this.state.geometry3DMap.get(_10), n10 && (n10.type === "geometry" || n10.type === "custom-geometry") && ((o10 = n10.components[1]) != null && o10.dirty || (i20 = n10.components[2]) != null && i20.dirty)) {
74178
- let G10 = n10.components[0], L10 = n10.components[1];
74177
+ for (let z10 of this.state.geometry3DIdsInScene) if (n10 = this.state.geometry3DMap.get(z10), n10 && (n10.type === "geometry" || n10.type === "custom-geometry") && ((o10 = n10.components[1]) != null && o10.dirty || (i20 = n10.components[2]) != null && i20.dirty)) {
74178
+ let G10 = n10.components[0], _10 = n10.components[1];
74179
74179
  t65 = n10.components[2];
74180
74180
  let q10 = SH(n10, this.state.hoverColor);
74181
74181
  G10.setColor(q10[0], q10[1]);
74182
74182
  let $10 = Hs3(G10);
74183
- if (L10.visible !== G10.visible && (G10.visible = L10.visible, G10 instanceof Ai2 && G10.textMesh)) {
74183
+ if (_10.visible !== G10.visible && (G10.visible = _10.visible, G10 instanceof Ai2 && G10.textMesh)) {
74184
74184
  let X6 = this.state.geometry3DMap.get(G10.textMesh.userData.entityId);
74185
- (X6 == null ? void 0 : X6.type) === "text3d" && X6.components[0].polygonEntityId != null && (X6.components[0].visible = L10.visible);
74185
+ (X6 == null ? void 0 : X6.type) === "text3d" && X6.components[0].polygonEntityId != null && (X6.components[0].visible = _10.visible);
74186
74186
  }
74187
- L10.altitude !== G10.altitude && (G10.altitude = L10.altitude);
74188
- let K10 = L10.opacity * jwe(n10);
74189
- if (K10 !== G10.opacity && (G10.opacity = K10), L10.renderOrder !== G10.renderOrder && (G10.renderOrder = L10.renderOrder), $10 && L10.side !== TF($10) && wF($10, L10.side), G10 instanceof Ai2 && L10.shading != null && (((a = L10.shading) == null ? void 0 : a.start) !== ((l10 = Hs3(G10)) == null ? void 0 : l10.getGradientShading().start) || ((u10 = L10.shading) == null ? void 0 : u10.end) !== ((c10 = Hs3(G10)) == null ? void 0 : c10.getGradientShading().end) || ((d = L10.shading) == null ? void 0 : d.intensity) !== ((m10 = Hs3(G10)) == null ? void 0 : m10.getGradientShading().intensity)) && ((C10 = Hs3(G10)) == null || C10.setGradientShading((g6 = (h = L10.shading) == null ? void 0 : h.start) != null ? g6 : 0, (E6 = (x6 = L10.shading) == null ? void 0 : x6.end) != null ? E6 : 0, (I10 = (v6 = L10.shading) == null ? void 0 : v6.intensity) != null ? I10 : 0)), L10.dirty = false, G10 instanceof Ai2) {
74187
+ _10.altitude !== G10.altitude && (G10.altitude = _10.altitude);
74188
+ let K10 = _10.opacity * jwe(n10);
74189
+ if (K10 !== G10.opacity && (G10.opacity = K10), _10.renderOrder !== G10.renderOrder && (G10.renderOrder = _10.renderOrder), $10 && _10.side !== TF($10) && wF($10, _10.side), G10 instanceof Ai2 && _10.shading != null && (((a = _10.shading) == null ? void 0 : a.start) !== ((l10 = Hs3(G10)) == null ? void 0 : l10.getGradientShading().start) || ((u10 = _10.shading) == null ? void 0 : u10.end) !== ((c10 = Hs3(G10)) == null ? void 0 : c10.getGradientShading().end) || ((d = _10.shading) == null ? void 0 : d.intensity) !== ((m10 = Hs3(G10)) == null ? void 0 : m10.getGradientShading().intensity)) && ((C10 = Hs3(G10)) == null || C10.setGradientShading((g6 = (h = _10.shading) == null ? void 0 : h.start) != null ? g6 : 0, (E6 = (x6 = _10.shading) == null ? void 0 : x6.end) != null ? E6 : 0, (I10 = (v6 = _10.shading) == null ? void 0 : v6.intensity) != null ? I10 : 0)), _10.dirty = false, G10 instanceof Ai2) {
74190
74190
  let X6 = n10.components[6];
74191
74191
  X6 instanceof gm2 && this.determineTextureVisiblity(G10, X6, t65);
74192
74192
  }
@@ -74200,11 +74200,11 @@ ieee754/index.js:
74200
74200
  r10 = n10.components[0];
74201
74201
  let G10 = n10.components[1];
74202
74202
  G10.visible != null && G10.visible !== r10.visible && (r10.visible = G10.visible);
74203
- let { textMesh: L10 } = r10;
74204
- if (L10) {
74205
- Object.assign(L10, G10.getState());
74203
+ let { textMesh: _10 } = r10;
74204
+ if (_10) {
74205
+ Object.assign(_10, G10.getState());
74206
74206
  let q10 = (A10 = G10.hoverColor) != null ? A10 : this.state.text3dHoverColor;
74207
- L10.color = G10.hoverByPolygon ? q10 : (F6 = G10.color) != null ? F6 : VM.color, L10.outlineColor = G10.hoverByPolygon ? q10 : (P6 = G10.outlineColor) != null ? P6 : VM.outlineColor, L10.strokeColor = G10.hoverByPolygon ? q10 : (O10 = G10.strokeColor) != null ? O10 : VM.strokeColor;
74207
+ _10.color = G10.hoverByPolygon ? q10 : (P6 = G10.color) != null ? P6 : VM.color, _10.outlineColor = G10.hoverByPolygon ? q10 : (F6 = G10.outlineColor) != null ? F6 : VM.outlineColor, _10.strokeColor = G10.hoverByPolygon ? q10 : (O10 = G10.strokeColor) != null ? O10 : VM.strokeColor;
74208
74208
  }
74209
74209
  G10.dirty = false;
74210
74210
  }
@@ -75153,9 +75153,9 @@ ieee754/index.js:
75153
75153
  C10.makeRotationZ(-I10);
75154
75154
  let S6 = C10.clone();
75155
75155
  S6.multiply(t66.snapHolderMatrix);
75156
- let T = (Vt3, Ae5, ye3) => Vt3.elements[(Ae5 - 1) * 4 + ye3 - 1], A10 = T(o11, 1, 1) * T(S6, 1, 1) - c10.x * T(o11, 3, 4) * T(S6, 3, 1), F6 = T(o11, 1, 1) * T(S6, 1, 2) - c10.x * T(o11, 3, 4) * T(S6, 3, 2), P6 = T(o11, 1, 1) * T(S6, 1, 3) - c10.x * T(o11, 3, 4) * T(S6, 3, 3), O10 = i21.x * A10 + i21.y * F6 + i21.z * P6, _10 = T(o11, 2, 2) * T(S6, 2, 1) - c10.y * T(o11, 3, 4) * T(S6, 3, 1), G10 = T(o11, 2, 2) * T(S6, 2, 2) - c10.y * T(o11, 3, 4) * T(S6, 3, 2), L10 = T(o11, 2, 2) * T(S6, 2, 3) - c10.y * T(o11, 3, 4) * T(S6, 3, 3), q10 = i21.x * _10 + i21.y * G10 + i21.z * L10, $10 = T(o11, 1, 1) * T(S6, 1, 1) - d.x * T(o11, 3, 4) * T(S6, 3, 1), K10 = T(o11, 1, 1) * T(S6, 1, 2) - d.x * T(o11, 3, 4) * T(S6, 3, 2), X6 = T(o11, 1, 1) * T(S6, 1, 3) - d.x * T(o11, 3, 4) * T(S6, 3, 3), V10 = a10.x * $10 + a10.y * K10 + a10.z * X6, Y6 = T(o11, 2, 2) * T(S6, 2, 1) - d.y * T(o11, 3, 4) * T(S6, 3, 1), ee5 = T(o11, 2, 2) * T(S6, 2, 2) - d.y * T(o11, 3, 4) * T(S6, 3, 2), oe4 = T(o11, 2, 2) * T(S6, 2, 3) - d.y * T(o11, 3, 4) * T(S6, 3, 3), le4 = a10.x * Y6 + a10.y * ee5 + a10.z * oe4, ve4 = Math.abs($10 - A10), he3 = Math.abs(K10 - F6), de5 = Math.abs(X6 - P6), Fe5 = Math.abs($10 - _10), ce4 = Math.abs(K10 - G10), Pe7 = Math.abs(X6 - L10), He8 = Math.abs(Y6 - A10), bt3 = Math.abs(ee5 - F6), B6 = Math.abs(oe4 - P6), re3 = Math.abs(Y6 - _10), R8 = Math.abs(ee5 - G10), ue6 = Math.abs(oe4 - L10), ie4 = Math.min(ve4 + he3 + de5, Fe5 + ce4 + Pe7), se4 = Math.min(He8 + bt3 + B6, re3 + R8 + ue6);
75156
+ let T = (Vt3, Ae5, ye3) => Vt3.elements[(Ae5 - 1) * 4 + ye3 - 1], A10 = T(o11, 1, 1) * T(S6, 1, 1) - c10.x * T(o11, 3, 4) * T(S6, 3, 1), P6 = T(o11, 1, 1) * T(S6, 1, 2) - c10.x * T(o11, 3, 4) * T(S6, 3, 2), F6 = T(o11, 1, 1) * T(S6, 1, 3) - c10.x * T(o11, 3, 4) * T(S6, 3, 3), O10 = i21.x * A10 + i21.y * P6 + i21.z * F6, z10 = T(o11, 2, 2) * T(S6, 2, 1) - c10.y * T(o11, 3, 4) * T(S6, 3, 1), G10 = T(o11, 2, 2) * T(S6, 2, 2) - c10.y * T(o11, 3, 4) * T(S6, 3, 2), _10 = T(o11, 2, 2) * T(S6, 2, 3) - c10.y * T(o11, 3, 4) * T(S6, 3, 3), q10 = i21.x * z10 + i21.y * G10 + i21.z * _10, $10 = T(o11, 1, 1) * T(S6, 1, 1) - d.x * T(o11, 3, 4) * T(S6, 3, 1), K10 = T(o11, 1, 1) * T(S6, 1, 2) - d.x * T(o11, 3, 4) * T(S6, 3, 2), X6 = T(o11, 1, 1) * T(S6, 1, 3) - d.x * T(o11, 3, 4) * T(S6, 3, 3), V10 = a10.x * $10 + a10.y * K10 + a10.z * X6, Y6 = T(o11, 2, 2) * T(S6, 2, 1) - d.y * T(o11, 3, 4) * T(S6, 3, 1), ee5 = T(o11, 2, 2) * T(S6, 2, 2) - d.y * T(o11, 3, 4) * T(S6, 3, 2), oe4 = T(o11, 2, 2) * T(S6, 2, 3) - d.y * T(o11, 3, 4) * T(S6, 3, 3), le4 = a10.x * Y6 + a10.y * ee5 + a10.z * oe4, ve4 = Math.abs($10 - A10), he3 = Math.abs(K10 - P6), de5 = Math.abs(X6 - F6), Fe5 = Math.abs($10 - z10), ce4 = Math.abs(K10 - G10), Pe7 = Math.abs(X6 - _10), He8 = Math.abs(Y6 - A10), bt3 = Math.abs(ee5 - P6), B6 = Math.abs(oe4 - F6), re3 = Math.abs(Y6 - z10), L10 = Math.abs(ee5 - G10), ue6 = Math.abs(oe4 - _10), ie4 = Math.min(ve4 + he3 + de5, Fe5 + ce4 + Pe7), se4 = Math.min(He8 + bt3 + B6, re3 + L10 + ue6);
75157
75157
  ie4 < se4 && ($10 = Y6, K10 = ee5, X6 = oe4, V10 = le4);
75158
- let Le6 = _10 * P6 - A10 * L10, Et4 = G10 * P6 - F6 * L10, Ce5 = q10 * P6 - O10 * L10, xe5 = $10 * L10 - _10 * X6, We3 = K10 * L10 - G10 * X6, Gr3 = V10 * L10 - q10 * X6, xi3 = (Gr3 * Et4 - Ce5 * We3) / (xe5 * Et4 - Le6 * We3), ca2 = (Gr3 * Le6 - Ce5 * xe5) / (We3 * Le6 - Et4 * xe5), po3 = G10 * A10 - F6 * _10, da3 = L10 * A10 - P6 * _10, Ii3 = q10 * A10 - O10 * _10, _o3 = K10 * _10 - G10 * $10, ml3 = X6 * _10 - L10 * $10, mu3 = ((V10 * _10 - q10 * $10) * po3 - Ii3 * _o3) / (ml3 * po3 - da3 * _o3), Ei2 = S6.clone();
75158
+ let Le6 = z10 * F6 - A10 * _10, Et4 = G10 * F6 - P6 * _10, Ce5 = q10 * F6 - O10 * _10, xe5 = $10 * _10 - z10 * X6, We3 = K10 * _10 - G10 * X6, Gr3 = V10 * _10 - q10 * X6, xi3 = (Gr3 * Et4 - Ce5 * We3) / (xe5 * Et4 - Le6 * We3), ca2 = (Gr3 * Le6 - Ce5 * xe5) / (We3 * Le6 - Et4 * xe5), po3 = G10 * A10 - P6 * z10, da3 = _10 * A10 - F6 * z10, Ii3 = q10 * A10 - O10 * z10, _o3 = K10 * z10 - G10 * $10, ml3 = X6 * z10 - _10 * $10, mu3 = ((V10 * z10 - q10 * $10) * po3 - Ii3 * _o3) / (ml3 * po3 - da3 * _o3), Ei2 = S6.clone();
75159
75159
  return Ei2.elements[12] = xi3, Ei2.elements[13] = ca2, Ei2.elements[14] = mu3, mu3 > 0 ? Ei2 : null;
75160
75160
  });
75161
75161
  M(this, "updateTouchOrigin", () => {
@@ -77104,7 +77104,7 @@ void main(void) {
77104
77104
  kW = Sd.radToDeg(0.6435011087932844);
77105
77105
  kI2 = class extends es2 {
77106
77106
  constructor(t65, n10 = {}) {
77107
- var h, g6, x6, E6, v6, I10, C10, S6, T, A10, F6, P6, O10, _10, G10, L10;
77107
+ var h, g6, x6, E6, v6, I10, C10, S6, T, A10, P6, F6, O10, z10, G10, _10;
77108
77108
  super();
77109
77109
  O(this, fn3);
77110
77110
  M(this, "options");
@@ -77119,7 +77119,7 @@ void main(void) {
77119
77119
  O(this, Sc3);
77120
77120
  O(this, cm2);
77121
77121
  M(this, "rendererDomElement");
77122
- O(this, U6, { geometry3DMap: /* @__PURE__ */ new Map(), geometry2DMap: /* @__PURE__ */ new Map(), geometry2DIdsInScene: /* @__PURE__ */ new Set(), geometry3DIdsInScene: /* @__PURE__ */ new Set(), geometryGroupIdsToLoad: /* @__PURE__ */ new Set(), geometryScene: new cr2("__scene"), hoverColor: "#f6efff", text3dHoverColor: "white", insetsPadding: A0e, shouldMeasureCanvas: true, pixelRatio: this.resolutionScale, canvasWidth: 0, canvasHeight: 0, internalTweenGroup: new o4(), externalTweenGroup: new o4(), cameraObject: new Ee(), naturalBearing: 0, containerOffset: [0, 0], useStandaloneCamera: false, directionalLight: new xl(16777215, 0.3 * Math.PI), ambientLight: new vl(16777215, 0.741 * Math.PI), renderer: void 0, threeJSScene: new Go() });
77122
+ O(this, j6, { geometry3DMap: /* @__PURE__ */ new Map(), geometry2DMap: /* @__PURE__ */ new Map(), geometry2DIdsInScene: /* @__PURE__ */ new Set(), geometry3DIdsInScene: /* @__PURE__ */ new Set(), geometryGroupIdsToLoad: /* @__PURE__ */ new Set(), geometryScene: new cr2("__scene"), hoverColor: "#f6efff", text3dHoverColor: "white", insetsPadding: A0e, shouldMeasureCanvas: true, pixelRatio: this.resolutionScale, canvasWidth: 0, canvasHeight: 0, internalTweenGroup: new o4(), externalTweenGroup: new o4(), cameraObject: new Ee(), naturalBearing: 0, containerOffset: [0, 0], useStandaloneCamera: false, directionalLight: new xl(16777215, 0.3 * Math.PI), ambientLight: new vl(16777215, 0.741 * Math.PI), renderer: void 0, threeJSScene: new Go() });
77123
77123
  O(this, fi3, {});
77124
77124
  O(this, Dc3, new AbortController());
77125
77125
  M(this, "camera");
@@ -77128,24 +77128,24 @@ void main(void) {
77128
77128
  O(this, dr3);
77129
77129
  O(this, hi3);
77130
77130
  O(this, jr2);
77131
- O(this, j6, {});
77131
+ O(this, N6, {});
77132
77132
  O(this, j02, window.matchMedia("screen and (min-resolution: 2dppx)"));
77133
77133
  M(this, "map");
77134
77134
  O(this, Ur3, () => {
77135
77135
  var t66;
77136
- this.aborted || !((t66 = N(this, j6)) != null && t66.renderSystem) || (N(this, j6).renderSystem.twoDdirty = true);
77136
+ this.aborted || !((t66 = N(this, N6)) != null && t66.renderSystem) || (N(this, N6).renderSystem.twoDdirty = true);
77137
77137
  });
77138
77138
  O(this, jt3, () => {
77139
77139
  var t66;
77140
- this.aborted || !((t66 = N(this, j6)) != null && t66.renderSystem) || (N(this, j6).renderSystem.threeDdirty = true);
77140
+ this.aborted || !((t66 = N(this, N6)) != null && t66.renderSystem) || (N(this, N6).renderSystem.threeDdirty = true);
77141
77141
  });
77142
77142
  O(this, Xs2, "standalone");
77143
77143
  O(this, U02, () => {
77144
- N(this, j6).geometryDisposalSystem.dirty = true, this.render();
77144
+ N(this, N6).geometryDisposalSystem.dirty = true, this.render();
77145
77145
  });
77146
77146
  O(this, z02, (t66) => Math.trunc(t66 * 10) / 10);
77147
77147
  O(this, G02, () => {
77148
- Q(this, fn3, BI2).call(this, i52()), N(this, j6).twoDDrawSystem.dirty = true, N(this, dm3).call(this, void 0, void 0, true);
77148
+ Q(this, fn3, BI2).call(this, i52()), N(this, N6).twoDDrawSystem.dirty = true, N(this, dm3).call(this, void 0, void 0, true);
77149
77149
  });
77150
77150
  O(this, $0, () => {
77151
77151
  N(this, dm3).call(this);
@@ -77153,9 +77153,9 @@ void main(void) {
77153
77153
  O(this, dm3, (t66, n11, o11 = false) => {
77154
77154
  let i21 = t66 != null ? t66 : this.rendererDomElement.clientWidth, a10 = n11 != null ? n11 : this.rendererDomElement.clientHeight;
77155
77155
  if ((i21 === 0 || a10 === 0) && !o11) return;
77156
- N(this, U6).canvasWidth = i21, N(this, U6).canvasHeight = a10, Q(this, fn3, BI2).call(this, i52()), N(this, Tc3).call(this), Q(this, fn3, b8).call(this), N(this, j6).cameraSystem.resize(this.canvasWidth, this.canvasHeight), N(this, j6).cameraSystem.dirty = true, this.map != null && (this.map.setMinZoom(this.camera.minZoomLevel), this.map.setMaxZoom(this.camera.maxZoomLevel)), N(this, j6).watermarkSystem.resize(this.canvasWidth, this.canvasHeight), N(this, j6).htmlControlsSystem.resize(this.canvasWidth), N(this, j6).geometryInFocusSystem.resize(), N(this, j6).occlusion2DSystem.resize();
77156
+ N(this, j6).canvasWidth = i21, N(this, j6).canvasHeight = a10, Q(this, fn3, BI2).call(this, i52()), N(this, Tc3).call(this), Q(this, fn3, b8).call(this), N(this, N6).cameraSystem.resize(this.canvasWidth, this.canvasHeight), N(this, N6).cameraSystem.dirty = true, this.map != null && (this.map.setMinZoom(this.camera.minZoomLevel), this.map.setMaxZoom(this.camera.maxZoomLevel)), N(this, N6).watermarkSystem.resize(this.canvasWidth, this.canvasHeight), N(this, N6).htmlControlsSystem.resize(this.canvasWidth), N(this, N6).geometryInFocusSystem.resize(), N(this, N6).occlusion2DSystem.resize();
77157
77157
  let { top: l11, left: u11 } = this.container.getBoundingClientRect();
77158
- N(this, U6).containerOffset = [l11, u11], this.publish("resize"), this.render();
77158
+ N(this, j6).containerOffset = [l11, u11], this.publish("resize"), this.render();
77159
77159
  });
77160
77160
  O(this, Y42, () => {
77161
77161
  this.renderSync();
@@ -77174,33 +77174,33 @@ void main(void) {
77174
77174
  });
77175
77175
  O(this, Tc3, () => {
77176
77176
  var a10;
77177
- let t66 = N(this, U6).canvasWidth = this.rendererDomElement.clientWidth, n11 = N(this, U6).canvasHeight = this.rendererDomElement.clientHeight, o11 = Math.floor(t66 * this.resolutionScale), i21 = Math.floor(n11 * this.resolutionScale);
77178
- N(this, Z02).call(this, o11, i21), (a10 = this.map) == null || a10.resize(), N(this, U6).shouldMeasureCanvas = false;
77177
+ let t66 = N(this, j6).canvasWidth = this.rendererDomElement.clientWidth, n11 = N(this, j6).canvasHeight = this.rendererDomElement.clientHeight, o11 = Math.floor(t66 * this.resolutionScale), i21 = Math.floor(n11 * this.resolutionScale);
77178
+ N(this, Z02).call(this, o11, i21), (a10 = this.map) == null || a10.resize(), N(this, j6).shouldMeasureCanvas = false;
77179
77179
  });
77180
77180
  M(this, "getParentContainer", (t66, n11 = true) => {
77181
- if (!t66) return n11 ? N(this, U6).geometryScene : void 0;
77181
+ if (!t66) return n11 ? N(this, j6).geometryScene : void 0;
77182
77182
  if (typeof t66 == "string" || typeof t66 == "number") {
77183
- let o11 = N(this, U6).geometry3DMap.get(t66);
77184
- return o11 instanceof cr2 ? o11 : (Et2.warn("Parent (".concat(typeof t66 == "object" ? t66.id : t66, ") is not a valid container, adding to scene")), n11 ? N(this, U6).geometryScene : void 0);
77183
+ let o11 = N(this, j6).geometry3DMap.get(t66);
77184
+ return o11 instanceof cr2 ? o11 : (Et2.warn("Parent (".concat(typeof t66 == "object" ? t66.id : t66, ") is not a valid container, adding to scene")), n11 ? N(this, j6).geometryScene : void 0);
77185
77185
  } else if (t66.type === "group-container") {
77186
- let o11 = N(this, U6).geometry3DMap.get(t66.id);
77186
+ let o11 = N(this, j6).geometry3DMap.get(t66.id);
77187
77187
  if (o11 instanceof cr2) return o11;
77188
77188
  }
77189
- return n11 ? N(this, U6).geometryScene : void 0;
77189
+ return n11 ? N(this, j6).geometryScene : void 0;
77190
77190
  });
77191
77191
  M(this, "showCollisionBoxes", () => {
77192
- N(this, j6).collisionSystem.showCollisionBoxes(), this.render();
77192
+ N(this, N6).collisionSystem.showCollisionBoxes(), this.render();
77193
77193
  });
77194
77194
  M(this, "hideCollisionBoxes", () => {
77195
- N(this, j6).collisionSystem.hideCollisionBoxes(), this.render();
77195
+ N(this, N6).collisionSystem.hideCollisionBoxes(), this.render();
77196
77196
  });
77197
77197
  M(this, "projectScreenXYToCoordinate", (t66, n11, o11 = false) => {
77198
77198
  var m11, h10;
77199
- let i21 = this.container.getBoundingClientRect(), a10 = (t66 - i21.left) / N(this, U6).canvasWidth * 2 - 1, l11 = -((n11 - i21.top) / N(this, U6).canvasHeight) * 2 + 1, u11 = new at(a10, l11), c11, d10;
77199
+ let i21 = this.container.getBoundingClientRect(), a10 = (t66 - i21.left) / N(this, j6).canvasWidth * 2 - 1, l11 = -((n11 - i21.top) / N(this, j6).canvasHeight) * 2 + 1, u11 = new at(a10, l11), c11, d10;
77200
77200
  if (o11) h8.setFromCamera(u11, N(this, rr3)), c11 = (m11 = h8.intersectObject(N(this, rl3), false)[0]) == null ? void 0 : m11.point;
77201
77201
  else {
77202
- let g10 = N(this, j6).interactionSystem.getThreeDIntersectsFromXY(u11);
77203
- c11 = (h10 = g10 == null ? void 0 : g10[0]) == null ? void 0 : h10.point, d10 = N(this, j6).interactionSystem.getGroupContainerIntersectsFromXY(u11);
77202
+ let g10 = N(this, N6).interactionSystem.getThreeDIntersectsFromXY(u11);
77203
+ c11 = (h10 = g10 == null ? void 0 : g10[0]) == null ? void 0 : h10.point, d10 = N(this, N6).interactionSystem.getGroupContainerIntersectsFromXY(u11);
77204
77204
  }
77205
77205
  if (c11) return { coordinate: this.convert3DMapPositionToCoordinate(c11), groupContainers: d10 };
77206
77206
  });
@@ -77210,15 +77210,15 @@ void main(void) {
77210
77210
  });
77211
77211
  M(this, "convert3DMapPositionToCoordinate", (t66) => {
77212
77212
  var i21, a10, l11, u11;
77213
- let { lat: n11, lon: o11 } = Fwe((a10 = (i21 = N(this, U6).center) == null ? void 0 : i21[1]) != null ? a10 : 0, (u11 = (l11 = N(this, U6).center) == null ? void 0 : l11[0]) != null ? u11 : 0, t66.x, t66.y);
77213
+ let { lat: n11, lon: o11 } = Fwe((a10 = (i21 = N(this, j6).center) == null ? void 0 : i21[1]) != null ? a10 : 0, (u11 = (l11 = N(this, j6).center) == null ? void 0 : l11[0]) != null ? u11 : 0, t66.x, t66.y);
77214
77214
  return [o11, n11, t66.z];
77215
77215
  });
77216
77216
  M(this, "setBackgroundColor", (t66, n11) => {
77217
77217
  N(this, jr2).setBackgroundColor(t66, n11);
77218
77218
  });
77219
- M(this, "getMetersPerPixel", () => N(this, j6).cameraSystem.getCurrentMetersPerPixel());
77219
+ M(this, "getMetersPerPixel", () => N(this, N6).cameraSystem.getCurrentMetersPerPixel());
77220
77220
  M(this, "hideOutdoorLayersIntersectingPolygons", (t66, n11, o11) => {
77221
- N(this, j6).outdoorLayersSystem.hideLayersIntersectingPolygons(t66, n11, o11), this.render();
77221
+ N(this, N6).outdoorLayersSystem.hideLayersIntersectingPolygons(t66, n11, o11), this.render();
77222
77222
  });
77223
77223
  O(this, wc3, new si());
77224
77224
  O(this, H02, new kt());
@@ -77228,10 +77228,10 @@ void main(void) {
77228
77228
  });
77229
77229
  M(this, "render", () => {
77230
77230
  var t66;
77231
- if (!(((t66 = N(this, j6)) == null ? void 0 : t66.renderSystem) == null || this.aborted)) if (this.map && (this.mode === "outdoors-interleaved" || this.mode === "outdoors-overlay")) this.map.triggerRepaint();
77232
- else return N(this, j6).renderSystem.update().catch(N(this, W0));
77231
+ if (!(((t66 = N(this, N6)) == null ? void 0 : t66.renderSystem) == null || this.aborted)) if (this.map && (this.mode === "outdoors-interleaved" || this.mode === "outdoors-overlay")) this.map.triggerRepaint();
77232
+ else return N(this, N6).renderSystem.update().catch(N(this, W0));
77233
77233
  });
77234
- M(this, "renderSync", () => this.aborted ? Promise.resolve() : N(this, j6).renderSystem.update(true).catch(N(this, W0)));
77234
+ M(this, "renderSync", () => this.aborted ? Promise.resolve() : N(this, N6).renderSystem.update(true).catch(N(this, W0)));
77235
77235
  O(this, zn4, o5(() => {
77236
77236
  this.publish("user-interaction-start", void 0);
77237
77237
  }, 0, true));
@@ -77244,9 +77244,9 @@ void main(void) {
77244
77244
  M(this, "off", (t66, n11) => {
77245
77245
  super.off(t66, n11);
77246
77246
  });
77247
- M(this, "getCursor", () => N(this, j6).interactionSystem.getCursor());
77247
+ M(this, "getCursor", () => N(this, N6).interactionSystem.getCursor());
77248
77248
  O(this, X4, () => {
77249
- if (N(this, U6).geometryScene.removeEventListener("childadded", N(this, jt3)), N(this, U6).geometryScene.removeEventListener("childadded", N(this, Ur3)), N(this, U6).geometryScene.removeEventListener("childremoved", N(this, jt3)), N(this, U6).geometryScene.removeEventListener("childremoved", N(this, Ur3)), window.removeEventListener("resize", N(this, $0), false), N(this, j02).removeEventListener("change", N(this, G02)), this.map) {
77249
+ if (N(this, j6).geometryScene.removeEventListener("childadded", N(this, jt3)), N(this, j6).geometryScene.removeEventListener("childadded", N(this, Ur3)), N(this, j6).geometryScene.removeEventListener("childremoved", N(this, jt3)), N(this, j6).geometryScene.removeEventListener("childremoved", N(this, Ur3)), window.removeEventListener("resize", N(this, $0), false), N(this, j02).removeEventListener("change", N(this, G02)), this.map) {
77250
77250
  for (let t66 in N(this, fi3)) for (let n11 of N(this, fi3)[t66]) this.map.off(t66, n11);
77251
77251
  P(this, fi3, {});
77252
77252
  }
@@ -77261,59 +77261,59 @@ void main(void) {
77261
77261
  });
77262
77262
  M(this, "destroy", () => {
77263
77263
  var t66, n11;
77264
- N(this, j6) && (N(this, j6).textureSystem.destroy(), this.aborted || N(this, Dc3).abort(), N(this, X4).call(this), (t66 = globalThis.MappedinDebug) != null && t66.__idleCallbackInteractionState && (globalThis.MappedinDebug.__idleCallbackInteractionState.unregisterInteractionChecker(N(this, j6).cameraSystem.isUserInteracting), globalThis.MappedinDebug.__idleCallbackInteractionState.unregisterInteractionChecker(N(this, j6).cameraSystem.isCameraMoving)), this.remove("__scene"), N(this, j6).renderSystem.destroy(), N(this, j6).cameraSystem.dispose(), N(this, j6).exporterSystem.destroy(), N(this, j6).outdoorLayersSystem.destroy(), N(this, j6).borderSystem.destroy(), N(this, Sc3) && N(this, Sc3).disconnect(), N(this, jr2).destroy(), (n11 = N(this, cr3)) == null || n11.traverse((o11) => {
77264
+ N(this, N6) && (N(this, N6).textureSystem.destroy(), this.aborted || N(this, Dc3).abort(), N(this, X4).call(this), (t66 = globalThis.MappedinDebug) != null && t66.__idleCallbackInteractionState && (globalThis.MappedinDebug.__idleCallbackInteractionState.unregisterInteractionChecker(N(this, N6).cameraSystem.isUserInteracting), globalThis.MappedinDebug.__idleCallbackInteractionState.unregisterInteractionChecker(N(this, N6).cameraSystem.isCameraMoving)), this.remove("__scene"), N(this, N6).renderSystem.destroy(), N(this, N6).cameraSystem.dispose(), N(this, N6).exporterSystem.destroy(), N(this, N6).outdoorLayersSystem.destroy(), N(this, N6).borderSystem.destroy(), N(this, Sc3) && N(this, Sc3).disconnect(), N(this, jr2).destroy(), (n11 = N(this, cr3)) == null || n11.traverse((o11) => {
77265
77265
  ux(o11), "dispose" in o11 && typeof o11.dispose == "function" && o11.dispose();
77266
- }), P(this, cr3, void 0), N(this, j6).htmlControlsSystem.destroy(), N(this, j6).collisionSystem.destroy(), N(this, j6).interactionSystem.destroy(), N(this, j6).domMutationSystem.destroy(), N(this, j6).geometryInFocusSystem.destroy(), N(this, j6).occlusion2DSystem.destroy(), P(this, j6, void 0), N(this, Q42).call(this), P(this, jr2, void 0));
77266
+ }), P(this, cr3, void 0), N(this, N6).htmlControlsSystem.destroy(), N(this, N6).collisionSystem.destroy(), N(this, N6).interactionSystem.destroy(), N(this, N6).domMutationSystem.destroy(), N(this, N6).geometryInFocusSystem.destroy(), N(this, N6).occlusion2DSystem.destroy(), P(this, N6, void 0), N(this, Q42).call(this), P(this, jr2, void 0));
77267
77267
  });
77268
77268
  O(this, mm3, new C2());
77269
77269
  O(this, q02, new C2());
77270
- if (P(this, Dc3, new AbortController()), N(this, U6).useStandaloneCamera = (h = n10.useStandaloneCamera) != null ? h : false, N(this, U6).naturalBearing = (g6 = n10.naturalBearing) != null ? g6 : 0, this.convertTo3DMapPosition = this.convertTo3DMapPosition.bind(this), !t65.clientWidth || !t65.clientHeight) throw new Error("[MappedinJS] Container width and height must be greater than 0");
77271
- this.convertTo3DMapPosition = this.convertTo3DMapPosition.bind(this), (n10.mode === "outdoors-interleaved" || n10.mode === "outdoors-overlay") && n10.map && (P(this, Xs2, n10.mode), this.map = n10.map), N(this, U6).geometryScene.addEventListener("childadded", () => {
77270
+ if (P(this, Dc3, new AbortController()), N(this, j6).useStandaloneCamera = (h = n10.useStandaloneCamera) != null ? h : false, N(this, j6).naturalBearing = (g6 = n10.naturalBearing) != null ? g6 : 0, this.convertTo3DMapPosition = this.convertTo3DMapPosition.bind(this), !t65.clientWidth || !t65.clientHeight) throw new Error("[MappedinJS] Container width and height must be greater than 0");
77271
+ this.convertTo3DMapPosition = this.convertTo3DMapPosition.bind(this), (n10.mode === "outdoors-interleaved" || n10.mode === "outdoors-overlay") && n10.map && (P(this, Xs2, n10.mode), this.map = n10.map), N(this, j6).geometryScene.addEventListener("childadded", () => {
77272
77272
  N(this, jt3).call(this), N(this, Ur3).call(this);
77273
- }), N(this, U6).geometryScene.addEventListener("childremoved", () => {
77273
+ }), N(this, j6).geometryScene.addEventListener("childremoved", () => {
77274
77274
  N(this, jt3).call(this), N(this, Ur3).call(this);
77275
- }), N(this, U6).geometry3DMap.set(N(this, U6).geometryScene.userData.entityId, N(this, U6).geometryScene), n10.center && (N(this, U6).center = n10.center ? [...n10.center] : [0, 0]), this.options = n10, this.container = t65, Q(this, fn3, g8).call(this), Q(this, fn3, y8).call(this), N(this, j6).htmlControlsSystem = new v4(this.container, { outdoorEnabled: !!this.map }), N(this, Xs2) !== "outdoors-overlay" && N(this, j6).htmlControlsSystem.addAttributionControl(this.options.attribution), window.MappedinDebug || (window.MappedinDebug = {}), Sc.env.NODE_ENV === "test" && (window.MappedinDebug.mapViewCoreInstance = this), P(this, jr2, new R12({ antialias: typeof n10.antialias == "boolean" ? n10.antialias : true, alpha: false, canvas: this.mode !== "standalone" ? (x6 = n10.gl) == null ? void 0 : x6.canvas : void 0, onWebGLContextCreationError: n10.onWebGLContextCreationError, onWebGLContextLost: n10.onWebGLContextLost, onWebGLContextRestored: (q10) => {
77275
+ }), N(this, j6).geometry3DMap.set(N(this, j6).geometryScene.userData.entityId, N(this, j6).geometryScene), n10.center && (N(this, j6).center = n10.center ? [...n10.center] : [0, 0]), this.options = n10, this.container = t65, Q(this, fn3, g8).call(this), Q(this, fn3, y8).call(this), N(this, N6).htmlControlsSystem = new v4(this.container, { outdoorEnabled: !!this.map }), N(this, Xs2) !== "outdoors-overlay" && N(this, N6).htmlControlsSystem.addAttributionControl(this.options.attribution), window.MappedinDebug || (window.MappedinDebug = {}), Sc.env.NODE_ENV === "test" && (window.MappedinDebug.mapViewCoreInstance = this), P(this, jr2, new R12({ antialias: typeof n10.antialias == "boolean" ? n10.antialias : true, alpha: false, canvas: this.mode !== "standalone" ? (x6 = n10.gl) == null ? void 0 : x6.canvas : void 0, onWebGLContextCreationError: n10.onWebGLContextCreationError, onWebGLContextLost: n10.onWebGLContextLost, onWebGLContextRestored: (q10) => {
77276
77276
  var $10;
77277
77277
  ($10 = n10.onWebGLContextRestored) == null || $10.call(n10, q10), N(this, Ur3).call(this), N(this, jt3).call(this), this.render();
77278
- }, onWebGLRendererError: n10.onWebGLRendererError, backgroundColor: n10.backgroundColor || "#ffffff", backgroundAlpha: (E6 = n10.backgroundAlpha) != null ? E6 : 1 })), N(this, U6).renderer = N(this, jr2).renderer, P(this, cr3, N(this, U6).threeJSScene), N(this, Xs2) !== "standalone" && N(this, cr3).add(Xwe()), N(this, cr3).add(N(this, U6).geometryScene);
77278
+ }, onWebGLRendererError: n10.onWebGLRendererError, backgroundColor: n10.backgroundColor || "#ffffff", backgroundAlpha: (E6 = n10.backgroundAlpha) != null ? E6 : 1 })), N(this, j6).renderer = N(this, jr2).renderer, P(this, cr3, N(this, j6).threeJSScene), N(this, Xs2) !== "standalone" && N(this, cr3).add(Xwe()), N(this, cr3).add(N(this, j6).geometryScene);
77279
77279
  let o10 = window.__THREE_DEVTOOLS__;
77280
- Sc.env.NODE_ENV === "dev" && typeof o10 < "u" && (o10.dispatchEvent(new CustomEvent("observe", { detail: N(this, cr3) })), o10.dispatchEvent(new CustomEvent("observe", { detail: N(this, jr2) }))), P(this, rr3, new Ee(kW, this.aspect, 50, 1e5)), N(this, U6).cameraObject = N(this, rr3), P(this, N02, new _s()), N(this, rr3).renderOrder = 999;
77280
+ Sc.env.NODE_ENV === "dev" && typeof o10 < "u" && (o10.dispatchEvent(new CustomEvent("observe", { detail: N(this, cr3) })), o10.dispatchEvent(new CustomEvent("observe", { detail: N(this, jr2) }))), P(this, rr3, new Ee(kW, this.aspect, 50, 1e5)), N(this, j6).cameraObject = N(this, rr3), P(this, N02, new _s()), N(this, rr3).renderOrder = 999;
77281
77281
  let i20 = new de();
77282
77282
  i20.add(N(this, rr3)), P(this, cm2, new de()), N(this, cm2).add(i20), N(this, cr3).add(N(this, cm2)), N(this, rr3).updateProjectionMatrix(), N(this, rr3).updateMatrixWorld(true), this.referenceMap = { scale: 1, latitude: 0, longitude: 0, getNorth: () => 0, georeference: [{ target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }] }, this.rendererDomElement = N(this, jr2).domElement(), P(this, lm2, new at());
77283
77283
  let a = new Ls(1e6, 1e6), l10 = new ps({ color: 0, visible: false });
77284
77284
  P(this, rl3, new ve(a, l10)), N(this, rl3).name = "worldPlane", N(this, cr3).add(N(this, rl3)), (v6 = n10.gl) != null && v6.canvas || t65.appendChild(this.rendererDomElement), window.addEventListener("resize", N(this, $0), false), N(this, j02).addEventListener("change", N(this, G02)), typeof ResizeObserver == "function" && ((I10 = Sc.env) == null ? void 0 : I10.NODE_ENV) !== "test" && (P(this, Sc3, new ResizeObserver(Ef2((q10) => {
77285
77285
  N(this, dm3).call(this, q10[0].contentRect.width, q10[0].contentRect.height);
77286
- }, 50))), (C10 = N(this, Sc3)) == null || C10.observe(t65)), t65.classList.add("mappedin-map"), this.rendererDomElement.style.width = (S6 = globalThis.MappedinDebug) != null && S6.TEST_IOS ? "1080px" : "100%", this.rendererDomElement.style.height = (T = globalThis.MappedinDebug) != null && T.TEST_IOS ? "1920px" : "100%", Sc.env.NODE_ENV === "test" && this.rendererDomElement.setAttribute("data-testid", "mappedin-canvas"), this.mode !== "outdoors-overlay" && this.rendererDomElement.tabIndex !== void 0 && this.rendererDomElement.removeAttribute("tabindex"), N(this, U6).canvasWidth = this.rendererDomElement.clientWidth, N(this, U6).canvasHeight = this.rendererDomElement.clientHeight, this.rendererDomElement.style.touchAction = "manipulation";
77286
+ }, 50))), (C10 = N(this, Sc3)) == null || C10.observe(t65)), t65.classList.add("mappedin-map"), this.rendererDomElement.style.width = (S6 = globalThis.MappedinDebug) != null && S6.TEST_IOS ? "1080px" : "100%", this.rendererDomElement.style.height = (T = globalThis.MappedinDebug) != null && T.TEST_IOS ? "1920px" : "100%", Sc.env.NODE_ENV === "test" && this.rendererDomElement.setAttribute("data-testid", "mappedin-canvas"), this.mode !== "outdoors-overlay" && this.rendererDomElement.tabIndex !== void 0 && this.rendererDomElement.removeAttribute("tabindex"), N(this, j6).canvasWidth = this.rendererDomElement.clientWidth, N(this, j6).canvasHeight = this.rendererDomElement.clientHeight, this.rendererDomElement.style.touchAction = "manipulation";
77287
77287
  let u10 = this.canvasWidth, c10 = this.canvasHeight;
77288
- N(this, j6).watermarkSystem = new h4(N(this, rr3), N(this, U6), n10 == null ? void 0 : n10.watermark), N(this, j6).watermarkSystem.on("texture-loaded", this.render), N(this, U6).shouldMeasureCanvas = true, N(this, U6).pixelRatio = this.resolutionScale, N(this, Z02).call(this, Math.floor(u10 * this.resolutionScale), Math.floor(c10 * this.resolutionScale)), N(this, U6).directionalLight.position.set(-150, -150, 350), N(this, cr3).add(N(this, U6).directionalLight), N(this, cr3).add(N(this, U6).ambientLight), N(this, j6).cameraSystem = new gc2(N(this, rr3), N(this, cr3), N(this, jr2).renderer, N(this, U6), { mode: this.mode, canvasHeight: c10, canvasWidth: u10 }), (A10 = globalThis.MappedinDebug) != null && A10.__idleCallbackInteractionState && (globalThis.MappedinDebug.__idleCallbackInteractionState.registerInteractionChecker(N(this, j6).cameraSystem.isUserInteracting), globalThis.MappedinDebug.__idleCallbackInteractionState.registerInteractionChecker(N(this, j6).cameraSystem.isCameraMoving)), N(this, j6).cameraSystem.on("user-dolly-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-pan-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-rotate-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-zoom-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-tilt-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-pedestal-start", N(this, zn4)), N(this, j6).cameraSystem.on("user-dolly-end", N(this, Gn2)), N(this, j6).cameraSystem.on("user-pan-end", N(this, Gn2)), N(this, j6).cameraSystem.on("user-rotate-end", N(this, Gn2)), N(this, j6).cameraSystem.on("user-zoom-end", N(this, Gn2)), N(this, j6).cameraSystem.on("user-tilt-end", N(this, Gn2)), N(this, j6).cameraSystem.on("user-pedestal-end", N(this, Gn2)), N(this, j6).cameraSystem.on("change", () => {
77289
- this.publish("camera-change", this.camera), N(this, j6).geometryInFocusSystem && (N(this, j6).geometryInFocusSystem.cameraDirty = true), this.render();
77288
+ N(this, N6).watermarkSystem = new h4(N(this, rr3), N(this, j6), n10 == null ? void 0 : n10.watermark), N(this, N6).watermarkSystem.on("texture-loaded", this.render), N(this, j6).shouldMeasureCanvas = true, N(this, j6).pixelRatio = this.resolutionScale, N(this, Z02).call(this, Math.floor(u10 * this.resolutionScale), Math.floor(c10 * this.resolutionScale)), N(this, j6).directionalLight.position.set(-150, -150, 350), N(this, cr3).add(N(this, j6).directionalLight), N(this, cr3).add(N(this, j6).ambientLight), N(this, N6).cameraSystem = new gc2(N(this, rr3), N(this, cr3), N(this, jr2).renderer, N(this, j6), { mode: this.mode, canvasHeight: c10, canvasWidth: u10 }), (A10 = globalThis.MappedinDebug) != null && A10.__idleCallbackInteractionState && (globalThis.MappedinDebug.__idleCallbackInteractionState.registerInteractionChecker(N(this, N6).cameraSystem.isUserInteracting), globalThis.MappedinDebug.__idleCallbackInteractionState.registerInteractionChecker(N(this, N6).cameraSystem.isCameraMoving)), N(this, N6).cameraSystem.on("user-dolly-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-pan-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-rotate-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-zoom-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-tilt-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-pedestal-start", N(this, zn4)), N(this, N6).cameraSystem.on("user-dolly-end", N(this, Gn2)), N(this, N6).cameraSystem.on("user-pan-end", N(this, Gn2)), N(this, N6).cameraSystem.on("user-rotate-end", N(this, Gn2)), N(this, N6).cameraSystem.on("user-zoom-end", N(this, Gn2)), N(this, N6).cameraSystem.on("user-tilt-end", N(this, Gn2)), N(this, N6).cameraSystem.on("user-pedestal-end", N(this, Gn2)), N(this, N6).cameraSystem.on("change", () => {
77289
+ this.publish("camera-change", this.camera), N(this, N6).geometryInFocusSystem && (N(this, N6).geometryInFocusSystem.cameraDirty = true), this.render();
77290
77290
  }), this.onAbort(() => {
77291
- N(this, j6).cameraSystem.off("user-dolly-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-pan-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-rotate-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-zoom-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-tilt-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-pedestal-start", N(this, zn4)), N(this, j6).cameraSystem.off("user-dolly-end", N(this, Gn2)), N(this, j6).cameraSystem.off("user-pan-end", N(this, Gn2)), N(this, j6).cameraSystem.off("user-rotate-end", N(this, Gn2)), N(this, j6).cameraSystem.off("user-zoom-end", N(this, Gn2)), N(this, j6).cameraSystem.off("user-tilt-end", N(this, Gn2)), N(this, j6).cameraSystem.off("user-pedestal-end", N(this, Gn2)), N(this, j6).renderSystem.off("measure-canvas", N(this, Tc3)), N(this, j6).cameraSystem.off("change", this.render), N(this, j6).outlineInterpolationSystem.off("needs-render", this.render);
77292
- }), N(this, j6).pathSystem = new L02(N(this, U6), this.convertTo3DMapPosition, this.getParentContainer, N(this, j6).cameraSystem.convertZoomLevelToAltitude), N(this, j6).pathSystem.on("animate:path", this.render), this.onAbort(() => {
77293
- N(this, j6).pathSystem.off("animate:path", this.render);
77294
- }), N(this, j6).panBoundsSystem = new b4(N(this, U6), N(this, j6).cameraSystem);
77291
+ N(this, N6).cameraSystem.off("user-dolly-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-pan-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-rotate-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-zoom-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-tilt-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-pedestal-start", N(this, zn4)), N(this, N6).cameraSystem.off("user-dolly-end", N(this, Gn2)), N(this, N6).cameraSystem.off("user-pan-end", N(this, Gn2)), N(this, N6).cameraSystem.off("user-rotate-end", N(this, Gn2)), N(this, N6).cameraSystem.off("user-zoom-end", N(this, Gn2)), N(this, N6).cameraSystem.off("user-tilt-end", N(this, Gn2)), N(this, N6).cameraSystem.off("user-pedestal-end", N(this, Gn2)), N(this, N6).renderSystem.off("measure-canvas", N(this, Tc3)), N(this, N6).cameraSystem.off("change", this.render), N(this, N6).outlineInterpolationSystem.off("needs-render", this.render);
77292
+ }), N(this, N6).pathSystem = new L02(N(this, j6), this.convertTo3DMapPosition, this.getParentContainer, N(this, N6).cameraSystem.convertZoomLevelToAltitude), N(this, N6).pathSystem.on("animate:path", this.render), this.onAbort(() => {
77293
+ N(this, N6).pathSystem.off("animate:path", this.render);
77294
+ }), N(this, N6).panBoundsSystem = new b4(N(this, j6), N(this, N6).cameraSystem);
77295
77295
  let d = () => {
77296
- let { panBounds: q10, fov: $10, convertAltitudeToZoomLevel: K10 } = N(this, j6).cameraSystem;
77297
- if (N(this, j6).panBoundsSystem.autoMinZoomLevel) {
77296
+ let { panBounds: q10, fov: $10, convertAltitudeToZoomLevel: K10 } = N(this, N6).cameraSystem;
77297
+ if (N(this, N6).panBoundsSystem.autoMinZoomLevel) {
77298
77298
  if (q10.radius <= 0) return;
77299
- let X6 = Math.min(N(this, U6).canvasWidth / N(this, U6).canvasHeight, 1), V10 = $10 * Math.PI / 180 * X6, Y6 = Math.tan(V10 / 2), { radius: ee5, center: oe4 } = N(this, j6).cameraSystem.panBounds, le4 = ee5 / Y6, ve4 = this.getThreeCamera().getWorldPosition(new C2()), he3 = oe4.distanceTo(ve4), de5 = Math.abs(ve4.z - oe4.z), Fe5 = le4 * de5 / he3, ce4 = K10(Fe5);
77299
+ let X6 = Math.min(N(this, j6).canvasWidth / N(this, j6).canvasHeight, 1), V10 = $10 * Math.PI / 180 * X6, Y6 = Math.tan(V10 / 2), { radius: ee5, center: oe4 } = N(this, N6).cameraSystem.panBounds, le4 = ee5 / Y6, ve4 = this.getThreeCamera().getWorldPosition(new C2()), he3 = oe4.distanceTo(ve4), de5 = Math.abs(ve4.z - oe4.z), Fe5 = le4 * de5 / he3, ce4 = K10(Fe5);
77300
77300
  Gwe(ce4, this.camera.minZoomLevel) && this.camera.setMinZoomLevel(ce4);
77301
77301
  }
77302
- this.publish("pan-bounds-change", N(this, j6).cameraSystem.panBounds);
77302
+ this.publish("pan-bounds-change", N(this, N6).cameraSystem.panBounds);
77303
77303
  };
77304
- N(this, j6).panBoundsSystem.on("update", d), this.onAbort(() => {
77305
- N(this, j6).panBoundsSystem.off("update", d);
77306
- }), this.camera = new f4(this, N(this, j6), N(this, U6)), this.camera.setZoomLevel((F6 = n10.zoomLevel) != null ? F6 : jI2), this.camera.setBearing((P6 = n10.bearing) != null ? P6 : NI2), this.camera.setPitch((O10 = n10.pitch) != null ? O10 : RI2), this.camera.setMaxZoomLevel(OW), this.camera.setMinZoomLevel(PW), N(this, j6).domVisiblitySystem = new X12(N(this, U6), N(this, hi3)), N(this, j6).domMutationSystem = new m4(N(this, U6), N(this, hi3)), N(this, j6).domMutationSystem.on("dimensions-update", () => {
77307
- N(this, j6).collisionSystem.collidersDirty = true, this.render();
77308
- }), N(this, j6).domDrawSystem = new p4(N(this, U6)), N(this, j6).collisionSystem = new j12(N(this, Xi3), N(this, U6), ((_10 = n10.useCollisionWorker) != null ? _10 : true) && ((G10 = n10.useWorkers) != null ? G10 : true)), N(this, j6).twoDDrawSystem = new e42(N(this, U6), N(this, dr3), n10.transformImageRequest), N(this, j6).twoDDrawSystem.on("img:loaded", this.render), N(this, j6).interactionSystem = new c03(this.rendererDomElement, N(this, U6), N(this, rr3), N(this, rl3), N(this, j6).cameraSystem.isUserInteracting), N(this, j6).interactionSystem.on("doubletap-with-onefinger", (q10) => {
77304
+ N(this, N6).panBoundsSystem.on("update", d), this.onAbort(() => {
77305
+ N(this, N6).panBoundsSystem.off("update", d);
77306
+ }), this.camera = new f4(this, N(this, N6), N(this, j6)), this.camera.setZoomLevel((P6 = n10.zoomLevel) != null ? P6 : jI2), this.camera.setBearing((F6 = n10.bearing) != null ? F6 : NI2), this.camera.setPitch((O10 = n10.pitch) != null ? O10 : RI2), this.camera.setMaxZoomLevel(OW), this.camera.setMinZoomLevel(PW), N(this, N6).domVisiblitySystem = new X12(N(this, j6), N(this, hi3)), N(this, N6).domMutationSystem = new m4(N(this, j6), N(this, hi3)), N(this, N6).domMutationSystem.on("dimensions-update", () => {
77307
+ N(this, N6).collisionSystem.collidersDirty = true, this.render();
77308
+ }), N(this, N6).domDrawSystem = new p4(N(this, j6)), N(this, N6).collisionSystem = new j12(N(this, Xi3), N(this, j6), ((z10 = n10.useCollisionWorker) != null ? z10 : true) && ((G10 = n10.useWorkers) != null ? G10 : true)), N(this, N6).twoDDrawSystem = new e42(N(this, j6), N(this, dr3), n10.transformImageRequest), N(this, N6).twoDDrawSystem.on("img:loaded", this.render), N(this, N6).interactionSystem = new c03(this.rendererDomElement, N(this, j6), N(this, rr3), N(this, rl3), N(this, N6).cameraSystem.isUserInteracting), N(this, N6).interactionSystem.on("doubletap-with-onefinger", (q10) => {
77309
77309
  var $10;
77310
- N(this, j6).cameraSystem.enableZoom && this.camera.animateTo({ center: ($10 = this.projectScreenXYToCoordinate(q10.clientX, q10.clientY)) == null ? void 0 : $10.coordinate, zoomLevel: this.camera.zoomLevel + 1, duration: L0e, easing: "ease-out" });
77311
- }), N(this, j6).interactionSystem.on("singletap-with-twofinger", () => {
77312
- N(this, j6).cameraSystem.enableZoom && this.camera.animateTo({ zoomLevel: this.camera.zoomLevel - 1, duration: L0e, easing: "ease-out" });
77313
- }), N(this, j6).interactionSystem.on("hover", this.render), N(this, j6).interactionSystem.on("click", (q10) => {
77310
+ N(this, N6).cameraSystem.enableZoom && this.camera.animateTo({ center: ($10 = this.projectScreenXYToCoordinate(q10.clientX, q10.clientY)) == null ? void 0 : $10.coordinate, zoomLevel: this.camera.zoomLevel + 1, duration: L0e, easing: "ease-out" });
77311
+ }), N(this, N6).interactionSystem.on("singletap-with-twofinger", () => {
77312
+ N(this, N6).cameraSystem.enableZoom && this.camera.animateTo({ zoomLevel: this.camera.zoomLevel - 1, duration: L0e, easing: "ease-out" });
77313
+ }), N(this, N6).interactionSystem.on("hover", this.render), N(this, N6).interactionSystem.on("click", (q10) => {
77314
77314
  var Y6, ee5, oe4, le4, ve4, he3, de5, Fe5, ce4;
77315
- if (q10.entity2D.some((Pe7) => Pe7.id === "watermark") && typeof N(this, j6).watermarkSystem.options.onClick == "function" && N(this, j6).watermarkSystem.options.interactive) {
77316
- N(this, j6).watermarkSystem.options.onClick();
77315
+ if (q10.entity2D.some((Pe7) => Pe7.id === "watermark") && typeof N(this, N6).watermarkSystem.options.onClick == "function" && N(this, N6).watermarkSystem.options.interactive) {
77316
+ N(this, N6).watermarkSystem.options.onClick();
77317
77317
  return;
77318
77318
  }
77319
77319
  let K10 = q10.entity3D ? [(Y6 = q10.entity3D) == null ? void 0 : Y6.id] : [];
@@ -77321,34 +77321,34 @@ void main(void) {
77321
77321
  let X6 = [], V10 = [];
77322
77322
  for (let Pe7 of q10.entity2D) Pe7.components[0] instanceof KC ? X6.push(Pe7.id) : Pe7.components[0] instanceof xC && V10.push(Pe7.id);
77323
77323
  this.publish("click", { coordinate: this.convert3DMapPositionToCoordinate(q10.position), geometry: K10, paths: ((Fe5 = q10.entity3D) == null ? void 0 : Fe5.components[0]) instanceof Yu2 ? [q10.entity3D.id] : [], markers: X6, models: ((ce4 = q10.entity3D) == null ? void 0 : ce4.components[0]) instanceof Ju2 ? [q10.entity3D.id] : [], labels: V10, containers: Array.isArray(q10.groupContainers) ? q10.groupContainers.map((Pe7) => Pe7.userData.entityId) : [], pointerEvent: q10.pointerEvent });
77324
- }), N(this, j6).interactionSystem.on("hover", (q10) => {
77324
+ }), N(this, N6).interactionSystem.on("hover", (q10) => {
77325
77325
  var X6, V10, Y6;
77326
77326
  if (!q10.position) return;
77327
77327
  let $10 = [], K10 = [];
77328
77328
  for (let ee5 of q10.entity2D) ee5.components[0] instanceof KC ? $10.push(ee5.id) : ee5.components[0] instanceof xC && K10.push(ee5.id);
77329
77329
  this.publish("hover", { coordinate: this.convert3DMapPositionToCoordinate(q10.position), geometry: q10.entity3D ? [(X6 = q10.entity3D) == null ? void 0 : X6.id] : [], paths: ((V10 = q10.entity3D) == null ? void 0 : V10.components[0]) instanceof Yu2 ? [q10.entity3D.id] : [], markers: $10, models: ((Y6 = q10.entity3D) == null ? void 0 : Y6.components[0]) instanceof Ju2 ? [q10.entity3D.id] : [], labels: K10, containers: Array.isArray(q10.groupContainers) ? q10.groupContainers.map((ee5) => ee5.userData.entityId) : [] });
77330
- }), N(this, j6).geometryInFocusSystem = new F42(N(this, U6), N(this, rr3));
77330
+ }), N(this, N6).geometryInFocusSystem = new F42(N(this, j6), N(this, rr3));
77331
77331
  let m10 = (q10) => {
77332
77332
  this.publish("geometry-in-focus", q10);
77333
77333
  };
77334
- N(this, j6).geometryInFocusSystem.on("geometry-in-focus", m10), this.onAbort(() => {
77335
- N(this, j6).geometryInFocusSystem.off("geometry-in-focus", m10);
77336
- }), N(this, j6).twoDVisiblitySystem = new r4(N(this, U6)), N(this, j6).drawSystem = new t410(N(this, U6), this.convertTo3DMapPosition), N(this, j6).twoDProjectionSystem = new Q12(N(this, U6), N(this, pm2)), N(this, j6).exporterSystem = new d02(N(this, U6)), N(this, j6).meshOptimizationSystem = new Y12(N(this, U6), this.convertTo3DMapPosition), N(this, j6).meshOptimizationSystem.on("model-loaded", this.render), N(this, j6).meshOptimizationSystem.on("geometry-2d-added", this.render), N(this, j6).meshOptimizationSystem.on("geometry-group-added", N(this, U02)), this.onAbort(() => {
77337
- N(this, j6).meshOptimizationSystem.off("model-loaded", this.render), N(this, j6).meshOptimizationSystem.off("geometry-2d-added", this.render), N(this, j6).meshOptimizationSystem.off("geometry-group-added", N(this, U02));
77338
- }), N(this, j6).meshDetachmentSystem = new R42(N(this, U6)), N(this, j6).meshModificationSystem = new j4(N(this, U6)), N(this, j6).geometryDisposalSystem = new H4(N(this, U6)), N(this, j6).textureSystem = new W42(N(this, U6)), N(this, j6).textureSystem.on("texture-added", this.render), this.onAbort(() => {
77339
- N(this, j6).textureSystem.off("texture-added", this.render);
77340
- }), N(this, j6).borderSystem = new LM(N(this, U6), this.convertTo3DMapPosition), N(this, j6).clippingPlaneSystem = new K42(N(this, U6)), N(this, j6).renderOrderSystem = new q42(N(this, U6)), N(this, j6).pluginSystem = new J42(), N(this, j6).customGeometrySystem = new x4(N(this, U6), this.convertTo3DMapPosition), N(this, j6).outlineInterpolationSystem = new C4(N(this, U6)), N(this, j6).outlineInterpolationSystem.on("needs-render", this.render), N(this, j6).renderSystem = new n42(N(this, jr2), N(this, U6), this.mode, N(this, cr3), N(this, rr3), this.viewCamera, N(this, j6)), N(this, j6).imageSystem = new A4(N(this, U6), this.convertTo3DMapPosition, N(this, pm2), n10.bearing, n10.naturalBearing, n10.imagePlacementOptions), N(this, j6).text3DSystem = new QC(N(this, U6), this.convertTo3DMapPosition, (L10 = n10.useWorkers) != null ? L10 : true), N(this, j6).text3DSystem.on("render", this.render), N(this, j6).imageSystem.on("image-loaded", this.render), N(this, j6).renderSystem.on("pre-render", () => this.publish("pre-render")), N(this, j6).renderSystem.on("post-render", () => this.publish("post-render")), N(this, j6).renderSystem.on("measure-canvas", N(this, Tc3)), this.onAbort(() => {
77341
- N(this, j6).renderSystem.off("pre-render", () => this.publish("pre-render")), N(this, j6).renderSystem.off("post-render", () => this.publish("post-render")), N(this, j6).renderSystem.off("measure-canvas", N(this, Tc3));
77342
- }), N(this, j6).outdoorLayersSystem = new O42(this.map), N(this, j6).occlusion2DSystem = new Z42(N(this, U6), this.convertTo3DMapPosition, N(this, jr2)), n10.occlusionEnabled && N(this, j6).occlusion2DSystem.enable(), this.Debug = new V42(this), n10.environment !== false && P(this, Cc3, Q(this, fn3, LI2).call(this)), N(this, Y42).call(this);
77334
+ N(this, N6).geometryInFocusSystem.on("geometry-in-focus", m10), this.onAbort(() => {
77335
+ N(this, N6).geometryInFocusSystem.off("geometry-in-focus", m10);
77336
+ }), N(this, N6).twoDVisiblitySystem = new r4(N(this, j6)), N(this, N6).drawSystem = new t410(N(this, j6), this.convertTo3DMapPosition), N(this, N6).twoDProjectionSystem = new Q12(N(this, j6), N(this, pm2)), N(this, N6).exporterSystem = new d02(N(this, j6)), N(this, N6).meshOptimizationSystem = new Y12(N(this, j6), this.convertTo3DMapPosition), N(this, N6).meshOptimizationSystem.on("model-loaded", this.render), N(this, N6).meshOptimizationSystem.on("geometry-2d-added", this.render), N(this, N6).meshOptimizationSystem.on("geometry-group-added", N(this, U02)), this.onAbort(() => {
77337
+ N(this, N6).meshOptimizationSystem.off("model-loaded", this.render), N(this, N6).meshOptimizationSystem.off("geometry-2d-added", this.render), N(this, N6).meshOptimizationSystem.off("geometry-group-added", N(this, U02));
77338
+ }), N(this, N6).meshDetachmentSystem = new R42(N(this, j6)), N(this, N6).meshModificationSystem = new j4(N(this, j6)), N(this, N6).geometryDisposalSystem = new H4(N(this, j6)), N(this, N6).textureSystem = new W42(N(this, j6)), N(this, N6).textureSystem.on("texture-added", this.render), this.onAbort(() => {
77339
+ N(this, N6).textureSystem.off("texture-added", this.render);
77340
+ }), N(this, N6).borderSystem = new LM(N(this, j6), this.convertTo3DMapPosition), N(this, N6).clippingPlaneSystem = new K42(N(this, j6)), N(this, N6).renderOrderSystem = new q42(N(this, j6)), N(this, N6).pluginSystem = new J42(), N(this, N6).customGeometrySystem = new x4(N(this, j6), this.convertTo3DMapPosition), N(this, N6).outlineInterpolationSystem = new C4(N(this, j6)), N(this, N6).outlineInterpolationSystem.on("needs-render", this.render), N(this, N6).renderSystem = new n42(N(this, jr2), N(this, j6), this.mode, N(this, cr3), N(this, rr3), this.viewCamera, N(this, N6)), N(this, N6).imageSystem = new A4(N(this, j6), this.convertTo3DMapPosition, N(this, pm2), n10.bearing, n10.naturalBearing, n10.imagePlacementOptions), N(this, N6).text3DSystem = new QC(N(this, j6), this.convertTo3DMapPosition, (_10 = n10.useWorkers) != null ? _10 : true), N(this, N6).text3DSystem.on("render", this.render), N(this, N6).imageSystem.on("image-loaded", this.render), N(this, N6).renderSystem.on("pre-render", () => this.publish("pre-render")), N(this, N6).renderSystem.on("post-render", () => this.publish("post-render")), N(this, N6).renderSystem.on("measure-canvas", N(this, Tc3)), this.onAbort(() => {
77341
+ N(this, N6).renderSystem.off("pre-render", () => this.publish("pre-render")), N(this, N6).renderSystem.off("post-render", () => this.publish("post-render")), N(this, N6).renderSystem.off("measure-canvas", N(this, Tc3));
77342
+ }), N(this, N6).outdoorLayersSystem = new O42(this.map), N(this, N6).occlusion2DSystem = new Z42(N(this, j6), this.convertTo3DMapPosition, N(this, jr2)), n10.occlusionEnabled && N(this, N6).occlusion2DSystem.enable(), this.Debug = new V42(this), n10.environment !== false && P(this, Cc3, Q(this, fn3, LI2).call(this)), N(this, Y42).call(this);
77343
77343
  }
77344
77344
  get viewCamera() {
77345
77345
  return N(this, N02);
77346
77346
  }
77347
77347
  get canvasWidth() {
77348
- return N(this, U6).canvasWidth;
77348
+ return N(this, j6).canvasWidth;
77349
77349
  }
77350
77350
  get canvasHeight() {
77351
- return N(this, U6).canvasHeight;
77351
+ return N(this, j6).canvasHeight;
77352
77352
  }
77353
77353
  get resolutionScale() {
77354
77354
  var t65, n10;
@@ -77361,43 +77361,43 @@ void main(void) {
77361
77361
  return N(this, Xs2);
77362
77362
  }
77363
77363
  addGroupContainer(t65, n10, o10) {
77364
- if (!N(this, U6).geometry3DMap.has(t65) && !N(this, U6).geometry2DMap.has(t65)) {
77364
+ if (!N(this, j6).geometry3DMap.has(t65) && !N(this, j6).geometry2DMap.has(t65)) {
77365
77365
  let i20 = new cr2(t65);
77366
77366
  i20.addEventListener("childadded", () => {
77367
77367
  N(this, jt3).call(this), N(this, Ur3).call(this);
77368
77368
  }), i20.addEventListener("childremoved", () => {
77369
77369
  N(this, jt3).call(this), N(this, Ur3).call(this);
77370
- }), (n10 == null ? void 0 : n10.visible) !== void 0 && (i20.visible = n10.visible), (n10 == null ? void 0 : n10.altitude) !== void 0 && i20.setAltitude(n10.altitude), (n10 == null ? void 0 : n10.interactive) !== void 0 && Ou2(i20, n10.interactive, N(this, U6)), (n10 == null ? void 0 : n10.focusable) !== void 0 && H1e(i20, n10.focusable), (n10 == null ? void 0 : n10.preloadGeometry) !== void 0 && (i20.userData.preloadGeometry = n10.preloadGeometry), N(this, U6).geometry3DMap.set(t65, i20);
77370
+ }), (n10 == null ? void 0 : n10.visible) !== void 0 && (i20.visible = n10.visible), (n10 == null ? void 0 : n10.altitude) !== void 0 && i20.setAltitude(n10.altitude), (n10 == null ? void 0 : n10.interactive) !== void 0 && Ou2(i20, n10.interactive, N(this, j6)), (n10 == null ? void 0 : n10.focusable) !== void 0 && H1e(i20, n10.focusable), (n10 == null ? void 0 : n10.preloadGeometry) !== void 0 && (i20.userData.preloadGeometry = n10.preloadGeometry), N(this, j6).geometry3DMap.set(t65, i20);
77371
77371
  let a = this.getParentContainer(o10);
77372
77372
  a instanceof cr2 && a.addEntity(i20), N(this, jt3).call(this), this.render();
77373
77373
  } else Et2.error("Group container with ID '".concat(t65, "' already exists. The group container cannot be added."));
77374
77374
  return { id: t65, type: "group-container" };
77375
77375
  }
77376
77376
  addCustomGeometry(t65, n10, o10, i20, a) {
77377
- if (N(this, U6).geometry3DMap.has(t65)) Et2.error("Custom geometry with ID '".concat(t65, "' already exists. The custom geometry cannot be added."));
77377
+ if (N(this, j6).geometry3DMap.has(t65)) Et2.error("Custom geometry with ID '".concat(t65, "' already exists. The custom geometry cannot be added."));
77378
77378
  else {
77379
77379
  let l10 = new tm3(n10, o10), u10 = new Cr3(l10, new px(i20));
77380
- (i20 == null ? void 0 : i20.interactive) !== void 0 && Ou2(u10, i20.interactive, N(this, U6)), u10.id = t65, l10.mesh.userData = { entityId: t65, type: "custom-geometry" }, N(this, U6).geometry3DMap.set(u10.id, u10);
77380
+ (i20 == null ? void 0 : i20.interactive) !== void 0 && Ou2(u10, i20.interactive, N(this, j6)), u10.id = t65, l10.mesh.userData = { entityId: t65, type: "custom-geometry" }, N(this, j6).geometry3DMap.set(u10.id, u10);
77381
77381
  let c10 = this.getParentContainer(a);
77382
- a && c10 instanceof cr2 ? c10.addEntity(u10) : N(this, U6).geometryScene.addEntity(u10), N(this, jt3).call(this), this.render();
77382
+ a && c10 instanceof cr2 ? c10.addEntity(u10) : N(this, j6).geometryScene.addEntity(u10), N(this, jt3).call(this), this.render();
77383
77383
  }
77384
77384
  return { id: t65, type: "custom-geometry" };
77385
77385
  }
77386
77386
  registerPlugin(t65) {
77387
- N(this, j6).pluginSystem.registerPlugin(t65);
77387
+ N(this, N6).pluginSystem.registerPlugin(t65);
77388
77388
  }
77389
77389
  unregisterPlugin(t65) {
77390
- N(this, j6).pluginSystem.unregisterPlugin(t65);
77390
+ N(this, N6).pluginSystem.unregisterPlugin(t65);
77391
77391
  }
77392
77392
  addGeometryGroup(t65, n10, o10, i20) {
77393
77393
  var a, l10, c10;
77394
- if (!N(this, U6).geometry3DMap.has(t65) && !N(this, U6).geometry2DMap.has(t65)) {
77394
+ if (!N(this, j6).geometry3DMap.has(t65) && !N(this, j6).geometry2DMap.has(t65)) {
77395
77395
  let d = new ur2(t65);
77396
77396
  d.addEventListener("childadded", () => {
77397
77397
  N(this, jt3).call(this), N(this, Ur3).call(this);
77398
77398
  }), d.addEventListener("childremoved", () => {
77399
77399
  N(this, jt3).call(this), N(this, Ur3).call(this);
77400
- }), d.userData.dirty = true, N(this, U6).geometry3DMap.set(t65, d);
77400
+ }), d.userData.dirty = true, N(this, j6).geometry3DMap.set(t65, d);
77401
77401
  let m10 = typeof o10 == "function" ? o10(n10.features[0]) : o10;
77402
77402
  for (let g6 of n10.features) {
77403
77403
  if (g6.geometry == null || !["Polygon", "MultiPolygon", "LineString", "MultiLineString"].includes(g6.geometry.type)) continue;
@@ -77407,17 +77407,17 @@ void main(void) {
77407
77407
  let u10 = o10 || { color: cx }, { visible: I10 } = u10;
77408
77408
  E6 = H(u10, ["visible"]);
77409
77409
  }
77410
- let v6 = N(this, j6).meshOptimizationSystem.createEntityFromFeature(x6, g6, E({ outline: true }, E6));
77411
- N(this, U6).geometry3DMap.set(x6, v6), d.userData.entities3D.add(x6), N(this, j6).textureSystem.dirty = true;
77410
+ let v6 = N(this, N6).meshOptimizationSystem.createEntityFromFeature(x6, g6, E({ outline: true }, E6));
77411
+ N(this, j6).geometry3DMap.set(x6, v6), d.userData.entities3D.add(x6), N(this, N6).textureSystem.dirty = true;
77412
77412
  }
77413
77413
  d.setVisible((c10 = m10 == null ? void 0 : m10.visible) != null ? c10 : true);
77414
77414
  let h = this.getParentContainer(i20);
77415
77415
  h instanceof cr2 && h.addEntity(d), N(this, jt3).call(this), this.render();
77416
77416
  } else Et2.error("Geometry group with ID '".concat(t65, "' already exists. The geometry group cannot be added."));
77417
- return N(this, j6).outlineInterpolationSystem.geometries3DDirty = true, { id: t65, type: "geometry-group" };
77417
+ return N(this, N6).outlineInterpolationSystem.geometries3DDirty = true, { id: t65, type: "geometry-group" };
77418
77418
  }
77419
77419
  addOccluder(t65, n10) {
77420
- let o10 = this.getParentContainer(n10), i20 = N(this, j6).occlusion2DSystem.reserveOccluderId();
77420
+ let o10 = this.getParentContainer(n10), i20 = N(this, N6).occlusion2DSystem.reserveOccluderId();
77421
77421
  return o10 == null || o10.addOccluderFeature(t65, i20), i20;
77422
77422
  }
77423
77423
  addImage(t65, n10, o10, i20) {
@@ -77427,9 +77427,9 @@ void main(void) {
77427
77427
  Et2.error(a);
77428
77428
  return;
77429
77429
  }
77430
- if (!N(this, U6).geometry3DMap.has(t65) && !N(this, U6).geometry2DMap.has(t65)) {
77430
+ if (!N(this, j6).geometry3DMap.has(t65) && !N(this, j6).geometry2DMap.has(t65)) {
77431
77431
  let a = new M42(n10), l10 = new Cr3(a, new px(o10));
77432
- l10.id = t65 || Ut(), a.mesh.userData = { entityId: l10.id, type: "path" }, N(this, U6).geometry3DMap.set(l10.id, l10);
77432
+ l10.id = t65 || Ut(), a.mesh.userData = { entityId: l10.id, type: "path" }, N(this, j6).geometry3DMap.set(l10.id, l10);
77433
77433
  let u10 = this.getParentContainer(i20);
77434
77434
  u10 instanceof cr2 && u10.addEntity(l10), N(this, jt3).call(this), this.render();
77435
77435
  } else Et2.error("Image with ID '".concat(t65, "' already exists. The image cannot be added."));
@@ -77443,16 +77443,16 @@ void main(void) {
77443
77443
  Et2.error(c10);
77444
77444
  return;
77445
77445
  }
77446
- if (!N(this, U6).geometry3DMap.has(t65) && !N(this, U6).geometry2DMap.has(t65)) {
77446
+ if (!N(this, j6).geometry3DMap.has(t65) && !N(this, j6).geometry2DMap.has(t65)) {
77447
77447
  let c10 = new ur2(t65);
77448
77448
  c10.addEventListener("childadded", () => {
77449
77449
  N(this, jt3).call(this), N(this, Ur3).call(this);
77450
77450
  }), c10.addEventListener("childremoved", () => {
77451
77451
  N(this, jt3).call(this), N(this, Ur3).call(this);
77452
- }), N(this, U6).geometry3DMap.set(t65, c10), c10.userData.dirty = true, c10.userData.modelURL = o10.url;
77452
+ }), N(this, j6).geometry3DMap.set(t65, c10), c10.userData.dirty = true, c10.userData.modelURL = o10.url;
77453
77453
  for (let m10 of n10.features) {
77454
- let h = m10.id || m10.properties.id || Ut(), g6 = N(this, j6).meshOptimizationSystem.createModelFromFeature(h, m10, E({}, o10));
77455
- (m10.properties.interactive !== void 0 || o10.interactive != null) && Ou2(g6, (l10 = m10.properties.interactive) != null ? l10 : o10.interactive, N(this, U6)), o10.clippingPlaneZOffset != null && (g6.components[7] = new bm2(), g6.components[7].verticalOffset = o10.clippingPlaneZOffset), g6.parentId = c10.userData.entityId, N(this, U6).geometry3DMap.set(h, g6), c10.userData.entities3D.add(h);
77454
+ let h = m10.id || m10.properties.id || Ut(), g6 = N(this, N6).meshOptimizationSystem.createModelFromFeature(h, m10, E({}, o10));
77455
+ (m10.properties.interactive !== void 0 || o10.interactive != null) && Ou2(g6, (l10 = m10.properties.interactive) != null ? l10 : o10.interactive, N(this, j6)), o10.clippingPlaneZOffset != null && (g6.components[7] = new bm2(), g6.components[7].verticalOffset = o10.clippingPlaneZOffset), g6.parentId = c10.userData.entityId, N(this, j6).geometry3DMap.set(h, g6), c10.userData.entities3D.add(h);
77456
77456
  }
77457
77457
  let d = this.getParentContainer(i20);
77458
77458
  d instanceof cr2 && d.addEntity(c10), N(this, jt3).call(this), (u10 = this.render()) == null || u10.then(a);
@@ -77468,18 +77468,18 @@ void main(void) {
77468
77468
  Et2.error(u10);
77469
77469
  return;
77470
77470
  }
77471
- if (a === void 0 || !N(this, U6).geometry2DMap.has(a) && !N(this, U6).geometry3DMap.has(a)) {
77471
+ if (a === void 0 || !N(this, j6).geometry2DMap.has(a) && !N(this, j6).geometry3DMap.has(a)) {
77472
77472
  let u10 = Q(this, fn3, _I2).call(this, t65, new KC(n10, o10), o10 == null ? void 0 : o10.occluderId, o10 == null ? void 0 : o10.verticalOffset);
77473
- u10.id = a || String(u10.id), a = u10.id, (o10 == null ? void 0 : o10.interactive) != null && o10.interactive !== "pointer-events-auto" && Ou2(u10, o10 == null ? void 0 : o10.interactive, N(this, U6)), (o10 == null ? void 0 : o10.enabled) != null && F1e(u10, o10.enabled);
77474
- let c10 = typeof (o10 == null ? void 0 : o10.attachTo) == "string" || typeof (o10 == null ? void 0 : o10.attachTo) == "number" ? N(this, U6).geometry3DMap.get(o10.attachTo) : void 0;
77473
+ u10.id = a || String(u10.id), a = u10.id, (o10 == null ? void 0 : o10.interactive) != null && o10.interactive !== "pointer-events-auto" && Ou2(u10, o10 == null ? void 0 : o10.interactive, N(this, j6)), (o10 == null ? void 0 : o10.enabled) != null && F1e(u10, o10.enabled);
77474
+ let c10 = typeof (o10 == null ? void 0 : o10.attachTo) == "string" || typeof (o10 == null ? void 0 : o10.attachTo) == "number" ? N(this, j6).geometry3DMap.get(o10.attachTo) : void 0;
77475
77475
  c10 instanceof Cr3 && c10.attach(u10), (l10 = this.getParentContainer(i20)) == null || l10.addEntity(u10), this.render();
77476
77476
  } else Et2.error("Marker2D with ID '".concat(a, "' already exists. The marker cannot be added."));
77477
77477
  return { id: a, type: "marker" };
77478
77478
  }
77479
77479
  addText3D(t65, n10, o10, i20) {
77480
- if (!N(this, U6).geometry3DMap.has(t65) && !N(this, U6).geometry2DMap.has(t65)) {
77480
+ if (!N(this, j6).geometry3DMap.has(t65) && !N(this, j6).geometry2DMap.has(t65)) {
77481
77481
  let a = new fm2(F(E({}, n10), { properties: F(E({}, n10.properties), { id: t65, content: n10.properties.text }) })), l10 = new Cr3(a, new hx(o10 == null ? void 0 : o10.appearance));
77482
- l10.id = t65, a.mesh.userData.entityId = t65.toString(), a.mesh.userData.type = "text3d", N(this, U6).geometry3DMap.set(t65, l10);
77482
+ l10.id = t65, a.mesh.userData.entityId = t65.toString(), a.mesh.userData.type = "text3d", N(this, j6).geometry3DMap.set(t65, l10);
77483
77483
  let u10 = this.getParentContainer(i20);
77484
77484
  u10 instanceof cr2 && u10.addEntity(l10), N(this, jt3).call(this), this.render();
77485
77485
  } else Et2.error("Text3D with ID '".concat(t65, "' already exists. The text3d cannot be added."));
@@ -77494,7 +77494,7 @@ void main(void) {
77494
77494
  Et2.error(m10);
77495
77495
  return;
77496
77496
  }
77497
- let i20 = N(this, U6).geometry3DMap.get(t65);
77497
+ let i20 = N(this, j6).geometry3DMap.get(t65);
77498
77498
  if ((i20 == null ? void 0 : i20.type) !== "geometry") {
77499
77499
  Et2.error(".labelText3D failed: target incorrect");
77500
77500
  return;
@@ -77502,7 +77502,7 @@ void main(void) {
77502
77502
  let a = i20 == null ? void 0 : i20.components[0];
77503
77503
  if (!a.feature.properties.textArea) return;
77504
77504
  if (a.textEntityId) {
77505
- let m10 = N(this, U6).geometry3DMap.get(a.textEntityId);
77505
+ let m10 = N(this, j6).geometry3DMap.get(a.textEntityId);
77506
77506
  if ((m10 == null ? void 0 : m10.type) !== "text3d") {
77507
77507
  Et2.error(".labelText3D failed: existing text3d not found");
77508
77508
  return;
@@ -77512,7 +77512,7 @@ void main(void) {
77512
77512
  let l10 = new fm2({ type: "Feature", geometry: { coordinates: (c10 = a.feature.properties.textArea) == null ? void 0 : c10.position, type: "Point" }, properties: { textArea: a.feature.properties.textArea, content: n10, id: Ut() } });
77513
77513
  l10.polygonEntityId = t65;
77514
77514
  let u10 = new Cr3(l10, new hx(o10 == null ? void 0 : o10.appearance));
77515
- return a.textEntityId = u10.id.toString(), l10.mesh.userData.entityId = u10.id.toString(), l10.mesh.userData.type = "text3d", N(this, U6).geometry3DMap.set(u10.id.toString(), u10), o10.parentId && ((d = this.getParentContainer(o10.parentId)) == null || d.addEntity(u10)), this.render(), { id: u10.id, type: "text3d" };
77515
+ return a.textEntityId = u10.id.toString(), l10.mesh.userData.entityId = u10.id.toString(), l10.mesh.userData.type = "text3d", N(this, j6).geometry3DMap.set(u10.id.toString(), u10), o10.parentId && ((d = this.getParentContainer(o10.parentId)) == null || d.addEntity(u10)), this.render(), { id: u10.id, type: "text3d" };
77516
77516
  }
77517
77517
  addLabel2D(t65, n10, o10, i20) {
77518
77518
  var l10;
@@ -77523,10 +77523,10 @@ void main(void) {
77523
77523
  Et2.error(u10);
77524
77524
  return;
77525
77525
  }
77526
- if (a === void 0 || !N(this, U6).geometry2DMap.has(a) && !N(this, U6).geometry3DMap.has(a)) {
77527
- let u10 = Q(this, fn3, _I2).call(this, t65, new xC(n10, o10 || {}, N(this, U6)), o10 == null ? void 0 : o10.occluderId, o10 == null ? void 0 : o10.verticalOffset);
77528
- u10.id = a || String(u10.id), a = u10.id, (o10 == null ? void 0 : o10.interactive) != null && Ou2(u10, o10 == null ? void 0 : o10.interactive, N(this, U6)), (o10 == null ? void 0 : o10.enabled) != null && F1e(u10, o10.enabled);
77529
- let c10 = typeof (o10 == null ? void 0 : o10.attachTo) == "string" || typeof (o10 == null ? void 0 : o10.attachTo) == "number" ? N(this, U6).geometry3DMap.get(o10.attachTo) : void 0;
77526
+ if (a === void 0 || !N(this, j6).geometry2DMap.has(a) && !N(this, j6).geometry3DMap.has(a)) {
77527
+ let u10 = Q(this, fn3, _I2).call(this, t65, new xC(n10, o10 || {}, N(this, j6)), o10 == null ? void 0 : o10.occluderId, o10 == null ? void 0 : o10.verticalOffset);
77528
+ u10.id = a || String(u10.id), a = u10.id, (o10 == null ? void 0 : o10.interactive) != null && Ou2(u10, o10 == null ? void 0 : o10.interactive, N(this, j6)), (o10 == null ? void 0 : o10.enabled) != null && F1e(u10, o10.enabled);
77529
+ let c10 = typeof (o10 == null ? void 0 : o10.attachTo) == "string" || typeof (o10 == null ? void 0 : o10.attachTo) == "number" ? N(this, j6).geometry3DMap.get(o10.attachTo) : void 0;
77530
77530
  c10 instanceof Cr3 && c10.attach(u10), (l10 = this.getParentContainer(i20)) == null || l10.addEntity(u10), N(this, Ur3).call(this), this.render();
77531
77531
  } else Et2.error("Label2D with ID '".concat(a, "' already exists. The label cannot be added."));
77532
77532
  return { id: a, type: "label" };
@@ -77540,25 +77540,25 @@ void main(void) {
77540
77540
  return;
77541
77541
  }
77542
77542
  let i20 = new Yu2(t65, $V(n10)), a = new Cr3(i20, new px({ color: (u10 = n10 == null ? void 0 : n10.color) != null ? u10 : "#ff834c", altitude: (c10 = n10 == null ? void 0 : n10.verticalOffset) != null ? c10 : 0.1 }));
77543
- a.id = (n10 == null ? void 0 : n10.id) || Ut(), i20.mesh.userData = { entityId: a.id, type: "path" }, N(this, U6).geometry3DMap.set(a.id, a), (n10 == null ? void 0 : n10.interactive) != null && Ou2(a, n10 == null ? void 0 : n10.interactive, N(this, U6));
77543
+ a.id = (n10 == null ? void 0 : n10.id) || Ut(), i20.mesh.userData = { entityId: a.id, type: "path" }, N(this, j6).geometry3DMap.set(a.id, a), (n10 == null ? void 0 : n10.interactive) != null && Ou2(a, n10 == null ? void 0 : n10.interactive, N(this, j6));
77544
77544
  let l10 = this.getParentContainer(o10);
77545
77545
  return l10 instanceof cr2 && l10.addEntity(a), N(this, jt3).call(this), this.render(), { id: a.id, type: "path" };
77546
77546
  }
77547
77547
  updateWatermark(t65) {
77548
- N(this, j6).watermarkSystem.options = t65, N(this, j6).watermarkSystem.dirty = true, N(this, j6).collisionSystem.collidersDirty = true, this.render();
77548
+ N(this, N6).watermarkSystem.options = t65, N(this, N6).watermarkSystem.dirty = true, N(this, N6).collisionSystem.collidersDirty = true, this.render();
77549
77549
  }
77550
77550
  remove(t65) {
77551
77551
  var o10, i20;
77552
77552
  let n10;
77553
- if (typeof t65 == "string" || typeof t65 == "number" ? (n10 = N(this, U6).geometry2DMap.get(t65), n10 == null && (n10 = N(this, U6).geometry3DMap.get(t65))) : typeof t65.id == "string" || typeof t65.id == "number" ? (n10 = N(this, U6).geometry2DMap.get(t65.id), n10 == null && (n10 = N(this, U6).geometry3DMap.get(t65.id))) : n10 = t65, n10 != null) {
77554
- if (n10.type === "custom-geometry") N(this, U6).geometry3DMap.delete(n10.id), n10.object3d && ux(n10.object3d);
77553
+ if (typeof t65 == "string" || typeof t65 == "number" ? (n10 = N(this, j6).geometry2DMap.get(t65), n10 == null && (n10 = N(this, j6).geometry3DMap.get(t65))) : typeof t65.id == "string" || typeof t65.id == "number" ? (n10 = N(this, j6).geometry2DMap.get(t65.id), n10 == null && (n10 = N(this, j6).geometry3DMap.get(t65.id))) : n10 = t65, n10 != null) {
77554
+ if (n10.type === "custom-geometry") N(this, j6).geometry3DMap.delete(n10.id), n10.object3d && ux(n10.object3d);
77555
77555
  else if (n10.type === "group-container") {
77556
- N(this, U6).geometry3DMap.delete(n10.userData.entityId);
77556
+ N(this, j6).geometry3DMap.delete(n10.userData.entityId);
77557
77557
  for (let l10 of n10.childrenIds.values()) this.remove(l10), n10.userData.entities2D.delete(l10);
77558
77558
  let a = n10.components[1];
77559
77559
  a && a.focusMesh && ux(a.focusMesh), ux(n10);
77560
77560
  } else if (n10.type === "geometry-group") {
77561
- N(this, U6).geometry3DMap.delete(n10.userData.entityId);
77561
+ N(this, j6).geometry3DMap.delete(n10.userData.entityId);
77562
77562
  for (let a of n10.userData.entities3D.values()) this.remove(a), n10.userData.entities3D.delete(a);
77563
77563
  ux(n10);
77564
77564
  } else if (n10.type === "geometry" || n10.type === "model" || n10.type === "path") {
@@ -77569,31 +77569,31 @@ void main(void) {
77569
77569
  }
77570
77570
  let u10 = (i20 = (o10 = n10.parentObject3D) == null ? void 0 : o10.userData.entityId) != null ? i20 : n10.parentId;
77571
77571
  if (u10) {
77572
- let c10 = N(this, U6).geometry3DMap.get(u10);
77572
+ let c10 = N(this, j6).geometry3DMap.get(u10);
77573
77573
  c10 instanceof ur2 && c10.userData.entities3D.delete(n10.id);
77574
77574
  }
77575
77575
  if (n10.object3d && ux(n10.object3d), n10.type === "geometry") {
77576
77576
  let c10 = n10.components[3];
77577
77577
  c10 && (c10.enabled = false, c10.dirty = true);
77578
77578
  }
77579
- l10 && "focusMesh" in l10 && l10.focusMesh != null && ux(l10.focusMesh), "textMesh" in a && a.textMesh != null && this.remove(a.textMesh.userData.entityId), N(this, U6).geometry3DMap.delete(n10.id);
77579
+ l10 && "focusMesh" in l10 && l10.focusMesh != null && ux(l10.focusMesh), "textMesh" in a && a.textMesh != null && this.remove(a.textMesh.userData.entityId), N(this, j6).geometry3DMap.delete(n10.id);
77580
77580
  } else if (n10.type === "marker" || n10.type === "label") {
77581
77581
  let a = n10.attachedTo;
77582
77582
  if (a) {
77583
- let l10 = N(this, U6).geometry3DMap.get(a);
77583
+ let l10 = N(this, j6).geometry3DMap.get(a);
77584
77584
  l10 instanceof Cr3 && l10.detach(n10);
77585
77585
  }
77586
- n10.object3d && ux(n10.object3d), n10.type === "label" && delete N(this, j6).twoDDrawSystem.textCache[n10.id], N(this, U6).geometry2DMap.delete(n10.id);
77587
- } else if (n10.type === "image") n10.object3d && ux(n10.object3d), N(this, U6).geometry3DMap.delete(n10.id);
77586
+ n10.object3d && ux(n10.object3d), n10.type === "label" && delete N(this, N6).twoDDrawSystem.textCache[n10.id], N(this, j6).geometry2DMap.delete(n10.id);
77587
+ } else if (n10.type === "image") n10.object3d && ux(n10.object3d), N(this, j6).geometry3DMap.delete(n10.id);
77588
77588
  else if (n10.type === "text3d") {
77589
77589
  ux(n10.object3d);
77590
77590
  let { batchedText: a, textMesh: l10, polygonEntityId: u10 } = n10.components[0];
77591
77591
  if (l10 && (a && a.removeText(l10), ux(l10)), u10) {
77592
- N(this, j6).text3DSystem.remove(u10);
77593
- let c10 = N(this, U6).geometry3DMap.get(u10);
77592
+ N(this, N6).text3DSystem.remove(u10);
77593
+ let c10 = N(this, j6).geometry3DMap.get(u10);
77594
77594
  (c10 == null ? void 0 : c10.type) === "geometry" && (c10.components[0].textMesh = void 0, c10.components[0].textEntityId = void 0);
77595
77595
  }
77596
- N(this, U6).geometry3DMap.delete(n10.id);
77596
+ N(this, j6).geometry3DMap.delete(n10.id);
77597
77597
  }
77598
77598
  N(this, jt3).call(this), N(this, Ur3).call(this), this.render();
77599
77599
  }
@@ -77621,14 +77621,14 @@ void main(void) {
77621
77621
  return (t65 = N(this, cr3)) != null && t65.environment ? "basic" : false;
77622
77622
  }
77623
77623
  getCurrentSceneGLTF(t65) {
77624
- return N(this, j6).exporterSystem.getCurrentSceneGLTF(t65);
77624
+ return N(this, N6).exporterSystem.getCurrentSceneGLTF(t65);
77625
77625
  }
77626
77626
  getBoundingArea(t65) {
77627
- (N(this, j6).renderSystem.threeDdirty || N(this, j6).renderSystem.twoDdirty) && this.renderSync();
77627
+ (N(this, N6).renderSystem.threeDdirty || N(this, N6).renderSystem.twoDdirty) && this.renderSync();
77628
77628
  let n10 = new Ie();
77629
- if (t65 == null) n10.setFromObject(N(this, U6).geometryScene);
77629
+ if (t65 == null) n10.setFromObject(N(this, j6).geometryScene);
77630
77630
  else {
77631
- let o10 = RM(N(this, U6), t65);
77631
+ let o10 = RM(N(this, j6), t65);
77632
77632
  if ((o10 == null ? void 0 : o10.type) === "geometry" && (o10 == null ? void 0 : o10.object3d) != null) {
77633
77633
  let i20 = o10.components[0], a = i20 instanceof Ai2 ? i20.geometry : void 0;
77634
77634
  i20.mesh instanceof $o && a ? (a.computeBoundingBox(), a.boundingBox && n10.union(a.boundingBox)) : n10.setFromObject(o10.object3d);
@@ -77637,88 +77637,88 @@ void main(void) {
77637
77637
  if (KM(n10)) return n5(n10).map(this.convert3DMapPositionToCoordinate);
77638
77638
  }
77639
77639
  hasState(t65) {
77640
- return RM(N(this, U6), t65) != null;
77640
+ return RM(N(this, j6), t65) != null;
77641
77641
  }
77642
77642
  getState(t65) {
77643
77643
  var o10, i20, a, l10, u10, c10, d, m10, h, g6, x6, E6, v6, I10, C10, S6, T;
77644
- if (t65 == null) return { type: "map-view", hoverColor: N(this, U6).hoverColor, text3dHoverColor: N(this, U6).text3dHoverColor };
77645
- let n10 = RM(N(this, U6), t65);
77644
+ if (t65 == null) return { type: "map-view", hoverColor: N(this, j6).hoverColor, text3dHoverColor: N(this, j6).text3dHoverColor };
77645
+ let n10 = RM(N(this, j6), t65);
77646
77646
  if ((n10 == null ? void 0 : n10.type) === "custom-geometry") {
77647
- let A10 = n10.components[0], F6 = n10.components[1];
77648
- return { id: n10.id, type: "custom-geometry", visible: F6.visible, altitude: F6.altitude, parent: (o10 = n10.parentObject3D) == null ? void 0 : o10.userData.entityId, position: this.convert3DMapPositionToCoordinate(A10.position) };
77647
+ let A10 = n10.components[0], P6 = n10.components[1];
77648
+ return { id: n10.id, type: "custom-geometry", visible: P6.visible, altitude: P6.altitude, parent: (o10 = n10.parentObject3D) == null ? void 0 : o10.userData.entityId, position: this.convert3DMapPositionToCoordinate(A10.position) };
77649
77649
  } else if ((n10 == null ? void 0 : n10.type) === "geometry-group") {
77650
- let A10 = Array.from(n10.userData.entities3D.values()), F6 = A10 == null ? void 0 : A10[0], P6 = F6 ? this.getState(F6) : {};
77651
- return { id: n10.userData.entityId, type: "geometry-group", visible: n10.visible, altitude: P6 == null ? void 0 : P6.altitude, initialColor: P6 == null ? void 0 : P6.initialColor, color: P6 == null ? void 0 : P6.color, side: (i20 = P6 == null ? void 0 : P6.side) != null ? i20 : "double", opacity: P6 == null ? void 0 : P6.opacity, height: P6 == null ? void 0 : P6.height, texture: P6 == null ? void 0 : P6.texture, topColor: P6 == null ? void 0 : P6.topColor, topTexture: P6 == null ? void 0 : P6.topTexture, interactive: Array.from(n10.userData.entities3D.values()).map((O10) => N(this, U6).geometry3DMap.get(O10)).every((O10) => O10 && O10.components[2] != null), children: A10, bevel: P6 == null ? void 0 : P6.bevel };
77650
+ let A10 = Array.from(n10.userData.entities3D.values()), P6 = A10 == null ? void 0 : A10[0], F6 = P6 ? this.getState(P6) : {};
77651
+ return { id: n10.userData.entityId, type: "geometry-group", visible: n10.visible, altitude: F6 == null ? void 0 : F6.altitude, initialColor: F6 == null ? void 0 : F6.initialColor, color: F6 == null ? void 0 : F6.color, side: (i20 = F6 == null ? void 0 : F6.side) != null ? i20 : "double", opacity: F6 == null ? void 0 : F6.opacity, height: F6 == null ? void 0 : F6.height, texture: F6 == null ? void 0 : F6.texture, topColor: F6 == null ? void 0 : F6.topColor, topTexture: F6 == null ? void 0 : F6.topTexture, interactive: Array.from(n10.userData.entities3D.values()).map((O10) => N(this, j6).geometry3DMap.get(O10)).every((O10) => O10 && O10.components[2] != null), children: A10, bevel: F6 == null ? void 0 : F6.bevel };
77652
77652
  } else {
77653
77653
  if ((n10 == null ? void 0 : n10.type) === "group-container") return { id: n10.userData.entityId, type: "group-container", visible: n10.visible, altitude: (a = n10.getWorldPosition(BW).z) != null ? a : 0, opacity: n10.opacity, interactive: !!n10.components[0], children: Array.from(n10.childrenIds.values()).map((A10) => this.getState(A10)).filter(Boolean) };
77654
77654
  if ((n10 == null ? void 0 : n10.type) === "label") {
77655
- let A10 = n10.components[0], F6 = n10.object3d.parent, P6 = F6 == null ? void 0 : F6.userData.entityId;
77656
- return { id: n10.id, type: "label", text: A10.text || "", parent: { id: P6, type: F6 == null ? void 0 : F6.type }, position: this.convert3DMapPositionToCoordinate(n10.position), enabled: A10.enabled, visible: A10.visible, initialRank: Z_e(A10.initialRank), options: { rank: Z_e(A10.rank), appearance: A10.appearance, interactive: n10.components[1] != null, verticalOffset: n10.verticalOffset, attachTo: n10.attachedTo } };
77655
+ let A10 = n10.components[0], P6 = n10.object3d.parent, F6 = P6 == null ? void 0 : P6.userData.entityId;
77656
+ return { id: n10.id, type: "label", text: A10.text || "", parent: { id: F6, type: P6 == null ? void 0 : P6.type }, position: this.convert3DMapPositionToCoordinate(n10.position), enabled: A10.enabled, visible: A10.visible, initialRank: Z_e(A10.initialRank), options: { rank: Z_e(A10.rank), appearance: A10.appearance, interactive: n10.components[1] != null, verticalOffset: n10.verticalOffset, attachTo: n10.attachedTo } };
77657
77657
  } else if ((n10 == null ? void 0 : n10.type) === "marker") {
77658
- let A10 = n10.components[0], F6 = n10.object3d.parent, P6 = F6 == null ? void 0 : F6.userData.entityId;
77659
- return { id: n10.id, type: "marker", enabled: A10.enabled, visible: A10.visible, placement: A10.options.placement, dynamicResize: A10.options.dynamicResize, parent: { id: P6, type: F6 == null ? void 0 : F6.type }, position: this.convert3DMapPositionToCoordinate(n10.position), element: A10.containerEl, initialRank: Z_e(A10.initialRank), contentHTML: A10.contentHtml, options: { rank: Z_e(A10.rank), interactive: n10.components[1] != null || false, verticalOffset: n10.verticalOffset, attachTo: n10.attachedTo, lowPriorityPin: A10.options.lowPriorityPin } };
77658
+ let A10 = n10.components[0], P6 = n10.object3d.parent, F6 = P6 == null ? void 0 : P6.userData.entityId;
77659
+ return { id: n10.id, type: "marker", enabled: A10.enabled, visible: A10.visible, placement: A10.options.placement, dynamicResize: A10.options.dynamicResize, parent: { id: F6, type: P6 == null ? void 0 : P6.type }, position: this.convert3DMapPositionToCoordinate(n10.position), element: A10.containerEl, initialRank: Z_e(A10.initialRank), contentHTML: A10.contentHtml, options: { rank: Z_e(A10.rank), interactive: n10.components[1] != null || false, verticalOffset: n10.verticalOffset, attachTo: n10.attachedTo, lowPriorityPin: A10.options.lowPriorityPin } };
77660
77660
  } else if ((n10 == null ? void 0 : n10.type) === "geometry") {
77661
- let { color: A10, hoverColor: F6, initialColor: P6, initialTopColor: O10, topColor: _10, altitude: G10 } = n10.components[1], L10 = n10.components[0], q10 = n10.components[4], $10 = n10.components[1], K10 = n10.components[6], X6 = n10.components[2], V10 = n10.components[3], Y6 = n10.parentObject3D;
77662
- return { id: n10.id, type: "geometry", opacity: $10.opacity, initialColor: P6, color: A10, focusable: q10 != null && q10.focusMesh != null, initialTopColor: O10, topColor: _10, side: $10.side, hoverColor: F6, hovered: !!(X6 != null && X6.hover), height: $10.height, visible: $10.visible, outline: V10 == null ? void 0 : V10.enabled, showImage: $10.showImage, texture: (l10 = K10 == null ? void 0 : K10.texture) == null ? void 0 : l10.path, topTexture: (u10 = K10 == null ? void 0 : K10.topTexture) == null ? void 0 : u10.path, flipImageToFaceCamera: $10.flipImageToFaceCamera, enableImageCollisions: $10.enableImageCollisions, parent: { id: Y6 == null ? void 0 : Y6.userData.entityId, type: Y6 == null ? void 0 : Y6.type }, altitude: G10, bevel: $10.bevel, position: this.convert3DMapPositionToCoordinate(L10.position), interactive: n10.components[2] != null, borderVisible: $10.borderVisible, borderColor: $10.borderColor, borderWidth: $10.borderWidth };
77661
+ let { color: A10, hoverColor: P6, initialColor: F6, initialTopColor: O10, topColor: z10, altitude: G10 } = n10.components[1], _10 = n10.components[0], q10 = n10.components[4], $10 = n10.components[1], K10 = n10.components[6], X6 = n10.components[2], V10 = n10.components[3], Y6 = n10.parentObject3D;
77662
+ return { id: n10.id, type: "geometry", opacity: $10.opacity, initialColor: F6, color: A10, focusable: q10 != null && q10.focusMesh != null, initialTopColor: O10, topColor: z10, side: $10.side, hoverColor: P6, hovered: !!(X6 != null && X6.hover), height: $10.height, visible: $10.visible, outline: V10 == null ? void 0 : V10.enabled, showImage: $10.showImage, texture: (l10 = K10 == null ? void 0 : K10.texture) == null ? void 0 : l10.path, topTexture: (u10 = K10 == null ? void 0 : K10.topTexture) == null ? void 0 : u10.path, flipImageToFaceCamera: $10.flipImageToFaceCamera, enableImageCollisions: $10.enableImageCollisions, parent: { id: Y6 == null ? void 0 : Y6.userData.entityId, type: Y6 == null ? void 0 : Y6.type }, altitude: G10, bevel: $10.bevel, position: this.convert3DMapPositionToCoordinate(_10.position), interactive: n10.components[2] != null, borderVisible: $10.borderVisible, borderColor: $10.borderColor, borderWidth: $10.borderWidth };
77663
77663
  } else if ((n10 == null ? void 0 : n10.type) === "model") {
77664
- let A10 = n10.components[0], F6 = n10.components[1], P6 = n10.components[2];
77665
- return { id: n10.id, type: "model", position: A10.mesh ? this.convert3DMapPositionToCoordinate((c10 = A10.mesh) == null ? void 0 : c10.getWorldPosition(new C2())) : this.convert3DMapPositionToCoordinate(A10.position), interactive: P6 != null, material: F6.material, parent: (d = n10.parentObject3D) != null && d.parent ? { id: n10.parentObject3D.parent.userData.entityId, type: n10.parentObject3D.parent.type } : void 0, visible: F6.visible, verticalOffset: F6.verticalOffset, color: F6.color, opacity: F6.opacity, rotation: (m10 = F6.rotation) != null ? m10 : d5, scale: (h = F6.scale) != null ? h : m5 };
77664
+ let A10 = n10.components[0], P6 = n10.components[1], F6 = n10.components[2];
77665
+ return { id: n10.id, type: "model", position: A10.mesh ? this.convert3DMapPositionToCoordinate((c10 = A10.mesh) == null ? void 0 : c10.getWorldPosition(new C2())) : this.convert3DMapPositionToCoordinate(A10.position), interactive: F6 != null, material: P6.material, parent: (d = n10.parentObject3D) != null && d.parent ? { id: n10.parentObject3D.parent.userData.entityId, type: n10.parentObject3D.parent.type } : void 0, visible: P6.visible, verticalOffset: P6.verticalOffset, color: P6.color, opacity: P6.opacity, rotation: (m10 = P6.rotation) != null ? m10 : d5, scale: (h = P6.scale) != null ? h : m5 };
77666
77666
  } else if ((n10 == null ? void 0 : n10.type) === "path") {
77667
- let A10 = n10.components[0], F6 = n10.components[2], P6 = n10.components[1];
77668
- return { id: n10.id, type: "path", position: this.convert3DMapPositionToCoordinate(A10.position), visible: P6.visible, interactive: F6 != null, completeFraction: A10.completeFraction, color: P6.color, accentColor: A10.accentColor, width: A10.width, animateArrowsOnPath: A10.animateArrowsOnPath, displayArrowsOnPath: A10.displayArrowsOnPath, verticalOffset: P6.altitude, highlightCompleteFraction: A10.highlightCompleteFraction, highlightStartFraction: A10.highlightStartFraction, highlightEndFraction: A10.highlightEndFraction, highlightColor: A10.highlightColor, highlightWidthMultiplier: A10.highlightWidthMultiplier };
77667
+ let A10 = n10.components[0], P6 = n10.components[2], F6 = n10.components[1];
77668
+ return { id: n10.id, type: "path", position: this.convert3DMapPositionToCoordinate(A10.position), visible: F6.visible, interactive: P6 != null, completeFraction: A10.completeFraction, color: F6.color, accentColor: A10.accentColor, width: A10.width, animateArrowsOnPath: A10.animateArrowsOnPath, displayArrowsOnPath: A10.displayArrowsOnPath, verticalOffset: F6.altitude, highlightCompleteFraction: A10.highlightCompleteFraction, highlightStartFraction: A10.highlightStartFraction, highlightEndFraction: A10.highlightEndFraction, highlightColor: A10.highlightColor, highlightWidthMultiplier: A10.highlightWidthMultiplier };
77669
77669
  } else if ((n10 == null ? void 0 : n10.type) === "image") {
77670
77670
  let A10 = n10.components[0];
77671
77671
  return { id: n10.id, type: "image", position: this.convert3DMapPositionToCoordinate(A10.position), visible: n10.components[1].visible, verticalOffset: (g6 = A10.feature.properties.verticalOffset) != null ? g6 : 0, opacity: n10.components[1].opacity, flipImageToFaceCamera: n10.components[1].flipImageToFaceCamera, width: (x6 = A10.feature.properties.width) != null ? x6 : 0, height: (E6 = A10.feature.properties.height) != null ? E6 : 0, rotation: (v6 = A10.feature.properties.rotation) != null ? v6 : 0 };
77672
77672
  } else if ((n10 == null ? void 0 : n10.type) === "text3d" && n10.components[0] instanceof fm2 && "textArea" in n10.components[0].feature.properties) {
77673
77673
  Y1e(n10);
77674
- let A10 = n10.components[0], F6 = n10.components[1], { textMesh: P6 } = A10, O10 = (I10 = A10.mesh) == null ? void 0 : I10.parent;
77675
- O10 instanceof cr2 && ((C10 = O10.children.find((L10) => L10.type === "batchedtext")) == null || C10.getWorldPosition(N(this, q02))), N(this, mm3).set(0, 0, 0);
77676
- let _10 = P6 ? P6.getWorldPosition(N(this, mm3)) : N(this, mm3);
77677
- return Object.assign({}, VM, F6.getState(), { id: n10.id, type: "text3d", position: this.convert3DMapPositionToCoordinate(_10.add(N(this, q02))), visible: (S6 = A10.visible) != null ? S6 : false, content: (T = A10.feature.properties.content) != null ? T : "" });
77674
+ let A10 = n10.components[0], P6 = n10.components[1], { textMesh: F6 } = A10, O10 = (I10 = A10.mesh) == null ? void 0 : I10.parent;
77675
+ O10 instanceof cr2 && ((C10 = O10.children.find((_10) => _10.type === "batchedtext")) == null || C10.getWorldPosition(N(this, q02))), N(this, mm3).set(0, 0, 0);
77676
+ let z10 = F6 ? F6.getWorldPosition(N(this, mm3)) : N(this, mm3);
77677
+ return Object.assign({}, VM, P6.getState(), { id: n10.id, type: "text3d", position: this.convert3DMapPositionToCoordinate(z10.add(N(this, q02))), visible: (S6 = A10.visible) != null ? S6 : false, content: (T = A10.feature.properties.content) != null ? T : "" });
77678
77678
  } else return;
77679
77679
  }
77680
77680
  }
77681
77681
  setState(t65, n10) {
77682
77682
  var i20, a;
77683
77683
  if (typeof t65 == "object" && n10 == null) {
77684
- "hoverColor" in t65 && ($u(t65.hoverColor) ? N(this, U6).hoverColor = (i20 = t65.hoverColor) != null ? i20 : N(this, U6).hoverColor : Et2.warn('Failed to update global hover color. Invalid color "'.concat(t65.hoverColor, '".'))), "text3dHoverColor" in t65 && (N(this, U6).text3dHoverColor = (a = t65.text3dHoverColor) != null ? a : N(this, U6).text3dHoverColor);
77684
+ "hoverColor" in t65 && ($u(t65.hoverColor) ? N(this, j6).hoverColor = (i20 = t65.hoverColor) != null ? i20 : N(this, j6).hoverColor : Et2.warn('Failed to update global hover color. Invalid color "'.concat(t65.hoverColor, '".'))), "text3dHoverColor" in t65 && (N(this, j6).text3dHoverColor = (a = t65.text3dHoverColor) != null ? a : N(this, j6).text3dHoverColor);
77685
77685
  return;
77686
77686
  }
77687
- let o10 = RM(N(this, U6), t65);
77687
+ let o10 = RM(N(this, j6), t65);
77688
77688
  if (o10 != null) {
77689
77689
  if (o10.type === "custom-geometry") {
77690
- let l10 = N(this, U6).geometry3DMap.get(o10.id);
77690
+ let l10 = N(this, j6).geometry3DMap.get(o10.id);
77691
77691
  if (l10 instanceof Cr3 && l10.components[0] instanceof tm3) {
77692
77692
  let u10 = n10;
77693
- cM(o10, N(this, U6), u10.visible), qV(o10, N(this, U6), u10.altitude), R1e(o10, u10.position, this.convertTo3DMapPosition), k1e(o10, this.getParentContainer(u10.parent, false)), Ou2(o10, u10.interactive, N(this, U6)) && N(this, jt3).call(this);
77693
+ cM(o10, N(this, j6), u10.visible), qV(o10, N(this, j6), u10.altitude), R1e(o10, u10.position, this.convertTo3DMapPosition), k1e(o10, this.getParentContainer(u10.parent, false)), Ou2(o10, u10.interactive, N(this, j6)) && N(this, jt3).call(this);
77694
77694
  }
77695
77695
  } else if (o10.type === "path") {
77696
77696
  let l10 = n10;
77697
- Ou2(o10, l10.interactive, N(this, U6)) && N(this, jt3).call(this), qV(o10, N(this, U6), l10.verticalOffset), q1e(o10, N(this, U6), l10);
77697
+ Ou2(o10, l10.interactive, N(this, j6)) && N(this, jt3).call(this), qV(o10, N(this, j6), l10.verticalOffset), q1e(o10, N(this, j6), l10);
77698
77698
  } else if (o10.type === "model") {
77699
77699
  let l10 = n10;
77700
- Ou2(o10, l10.interactive, N(this, U6)) && N(this, jt3).call(this), cM(o10, N(this, U6), l10.visible), $1e(o10, l10), K1e(o10, l10);
77700
+ Ou2(o10, l10.interactive, N(this, j6)) && N(this, jt3).call(this), cM(o10, N(this, j6), l10.visible), $1e(o10, l10), K1e(o10, l10);
77701
77701
  } else if (o10.type === "group-container") {
77702
77702
  let l10 = n10;
77703
- cM(o10, N(this, U6), l10.visible) && (N(this, j6).pathSystem.verticalDistanceDirty = true, N(this, j6).geometryInFocusSystem.focusablesDirty = true), qV(o10, N(this, U6), l10.altitude) && (N(this, j6).pathSystem.verticalDistanceDirty = true), Ou2(o10, l10.interactive, N(this, U6)) && N(this, jt3).call(this), XV(o10, N(this, U6), l10.opacity) && (N(this, j6).outlineInterpolationSystem.outlineOpacitiesDirty = true), l10.preloadGeometry && o10.userData.preloadGeometry !== true && (o10.userData.preloadGeometry = true, N(this, j6).outlineInterpolationSystem.geometries3DDirty = true), H1e(o10, l10.focusable) && (N(this, j6).geometryInFocusSystem.focusablesDirty = true);
77703
+ cM(o10, N(this, j6), l10.visible) && (N(this, N6).pathSystem.verticalDistanceDirty = true, N(this, N6).geometryInFocusSystem.focusablesDirty = true), qV(o10, N(this, j6), l10.altitude) && (N(this, N6).pathSystem.verticalDistanceDirty = true), Ou2(o10, l10.interactive, N(this, j6)) && N(this, jt3).call(this), XV(o10, N(this, j6), l10.opacity) && (N(this, N6).outlineInterpolationSystem.outlineOpacitiesDirty = true), l10.preloadGeometry && o10.userData.preloadGeometry !== true && (o10.userData.preloadGeometry = true, N(this, N6).outlineInterpolationSystem.geometries3DDirty = true), H1e(o10, l10.focusable) && (N(this, N6).geometryInFocusSystem.focusablesDirty = true);
77704
77704
  } else if (o10.type === "geometry-group") {
77705
77705
  let l10 = n10;
77706
- cM(o10, N(this, U6), l10.visible), E1e(o10, N(this, U6), l10), YV(o10, N(this, U6), l10.outline), l10.height != null && jV(o10, N(this, U6), l10.height), qV(o10, N(this, U6), l10.altitude), G1e(o10, N(this, U6), l10) && (N(this, j6).textureSystem.dirty = true), G1e(o10, N(this, U6), l10), L1e(o10, N(this, U6), l10.shading), XV(o10, N(this, U6), l10.opacity) && (N(this, j6).outlineInterpolationSystem.outlineOpacitiesDirty = true), Ou2(o10, l10.interactive, N(this, U6)) && (N(this, jt3).call(this), N(this, Ur3).call(this)), WV(o10, N(this, U6), l10.side);
77706
+ cM(o10, N(this, j6), l10.visible), E1e(o10, N(this, j6), l10), YV(o10, N(this, j6), l10.outline), l10.height != null && jV(o10, N(this, j6), l10.height), qV(o10, N(this, j6), l10.altitude), G1e(o10, N(this, j6), l10) && (N(this, N6).textureSystem.dirty = true), G1e(o10, N(this, j6), l10), L1e(o10, N(this, j6), l10.shading), XV(o10, N(this, j6), l10.opacity) && (N(this, N6).outlineInterpolationSystem.outlineOpacitiesDirty = true), Ou2(o10, l10.interactive, N(this, j6)) && (N(this, jt3).call(this), N(this, Ur3).call(this)), WV(o10, N(this, j6), l10.side);
77707
77707
  } else if (o10.type === "geometry") {
77708
77708
  if (o10.components[0] instanceof Ai2) {
77709
77709
  let l10 = n10;
77710
- cM(o10, N(this, U6), l10.visible), YV(o10, N(this, U6), l10.outline), D1e(o10, l10), H1e(o10, l10.focusable) && (N(this, j6).geometryInFocusSystem.focusablesDirty = true), X1e(o10, l10.renderOrder) && (N(this, j6).meshDetachmentSystem.dirty = true), j1e(o10, l10.opacity) && (N(this, j6).meshDetachmentSystem.dirty = true, N(this, j6).interactionSystem.dirty3D = true, N(this, j6).outlineInterpolationSystem.outlineOpacitiesDirty = true), U1e(o10, l10.flipImageToFaceCamera), N1e(o10, l10.enableImageCollisions), qV(o10, N(this, U6), l10.altitude), l10.height != null && jV(o10, N(this, U6), l10.height), ZV(o10, l10) && (N(this, j6).meshDetachmentSystem.dirty = true, N(this, j6).textureSystem.dirty = true), sM(o10, l10), z1e(o10, l10.hoverColor), Ou2(o10, l10.interactive, N(this, U6)), V1e(o10, l10.hovered), WV(o10, N(this, U6), l10.side), Z1e(o10, l10);
77710
+ cM(o10, N(this, j6), l10.visible), YV(o10, N(this, j6), l10.outline), D1e(o10, l10), H1e(o10, l10.focusable) && (N(this, N6).geometryInFocusSystem.focusablesDirty = true), X1e(o10, l10.renderOrder) && (N(this, N6).meshDetachmentSystem.dirty = true), j1e(o10, l10.opacity) && (N(this, N6).meshDetachmentSystem.dirty = true, N(this, N6).interactionSystem.dirty3D = true, N(this, N6).outlineInterpolationSystem.outlineOpacitiesDirty = true), U1e(o10, l10.flipImageToFaceCamera), N1e(o10, l10.enableImageCollisions), qV(o10, N(this, j6), l10.altitude), l10.height != null && jV(o10, N(this, j6), l10.height), ZV(o10, l10) && (N(this, N6).meshDetachmentSystem.dirty = true, N(this, N6).textureSystem.dirty = true), sM(o10, l10), z1e(o10, l10.hoverColor), Ou2(o10, l10.interactive, N(this, j6)), V1e(o10, l10.hovered), WV(o10, N(this, j6), l10.side), Z1e(o10, l10);
77711
77711
  }
77712
77712
  N(this, jt3).call(this);
77713
77713
  } else if (o10.type === "label" || o10.type === "marker") {
77714
77714
  let l10 = n10;
77715
- B1e(o10, n10, N(this, U6)), O1e(o10, n10, N(this, U6)) && (N(this, Ur3).call(this), N(this, j6).domMutationSystem.dirty = true), R1e(o10, l10.position, this.convertTo3DMapPosition), k1e(o10, this.getParentContainer(l10.parent, false)) && (N(this, Ur3).call(this), N(this, j6).panBoundsSystem.dirty = true), F1e(o10, l10.enabled), cM(o10, N(this, U6), l10.visible);
77715
+ B1e(o10, n10, N(this, j6)), O1e(o10, n10, N(this, j6)) && (N(this, Ur3).call(this), N(this, N6).domMutationSystem.dirty = true), R1e(o10, l10.position, this.convertTo3DMapPosition), k1e(o10, this.getParentContainer(l10.parent, false)) && (N(this, Ur3).call(this), N(this, N6).panBoundsSystem.dirty = true), F1e(o10, l10.enabled), cM(o10, N(this, j6), l10.visible);
77716
77716
  } else if (o10.type === "image") {
77717
77717
  let l10 = n10;
77718
- cM(o10, N(this, U6), l10.visible), XV(o10, N(this, U6), l10.opacity), U1e(o10, l10.flipImageToFaceCamera);
77718
+ cM(o10, N(this, j6), l10.visible), XV(o10, N(this, j6), l10.opacity), U1e(o10, l10.flipImageToFaceCamera);
77719
77719
  } else if (o10.type === "text3d") {
77720
77720
  let l10 = n10;
77721
- W1e(o10, N(this, U6), l10);
77721
+ W1e(o10, N(this, j6), l10);
77722
77722
  }
77723
77723
  this.render();
77724
77724
  }
@@ -77727,7 +77727,7 @@ void main(void) {
77727
77727
  var u10, c10, d, m10, h;
77728
77728
  if (Array.isArray(t65)) return this.convertTo3DMapPosition(t65[1], t65[0], (u10 = t65[2]) != null ? u10 : o10, typeof n10 == "function" ? n10 : void 0);
77729
77729
  if (typeof n10 != "number") throw new Error("convertTo3DMapPosition failed: longitude must be a number");
77730
- let { x: a, y: l10 } = Owe((d = (c10 = N(this, U6).center) == null ? void 0 : c10[1]) != null ? d : 0, (h = (m10 = N(this, U6).center) == null ? void 0 : m10[0]) != null ? h : 0, t65, n10);
77730
+ let { x: a, y: l10 } = Owe((d = (c10 = N(this, j6).center) == null ? void 0 : c10[1]) != null ? d : 0, (h = (m10 = N(this, j6).center) == null ? void 0 : m10[0]) != null ? h : 0, t65, n10);
77731
77731
  return i20 ? (i20.set(a, l10, o10), i20) : new C2(a, l10, o10);
77732
77732
  }
77733
77733
  get backgroundColor() {
@@ -77744,7 +77744,7 @@ void main(void) {
77744
77744
  return n10 ? Nwe(n10) : void 0;
77745
77745
  }
77746
77746
  isInView(t65) {
77747
- let n10 = RM(N(this, U6), t65);
77747
+ let n10 = RM(N(this, j6), t65);
77748
77748
  if (N(this, H02).identity().multiply(N(this, rr3).projectionMatrix).multiply(N(this, rr3).matrixWorldInverse), N(this, wc3).setFromProjectionMatrix(N(this, H02)), n10 instanceof Hn2) return N(this, wc3).containsPoint(n10.position);
77749
77749
  if (n10 instanceof Cr3) {
77750
77750
  let o10 = n10 == null ? void 0 : n10.components[0];
@@ -77758,7 +77758,7 @@ void main(void) {
77758
77758
  }
77759
77759
  queryGeometry2DInView(t65) {
77760
77760
  let { screenOffsets: n10, fullyContains: o10 } = t65 != null ? t65 : {}, [i20, a, l10, u10] = Ywe(this.container, n10), c10 = new Ke3(i20, a, l10, u10);
77761
- return N(this, j6).collisionSystem.visibleCollidersQTree.queryRect(c10).filter((g6) => o10 ? c10.contains(g6) : c10.intersects(g6)).map((g6) => N(this, U6).geometry2DMap.get(g6.userData.entityId)).filter((g6) => g6 != null).filter((g6) => g6.components[0] instanceof xC || g6.components[0] instanceof KC).map((g6) => g6.id.toString());
77761
+ return N(this, N6).collisionSystem.visibleCollidersQTree.queryRect(c10).filter((g6) => o10 ? c10.contains(g6) : c10.intersects(g6)).map((g6) => N(this, j6).geometry2DMap.get(g6.userData.entityId)).filter((g6) => g6 != null).filter((g6) => g6.components[0] instanceof xC || g6.components[0] instanceof KC).map((g6) => g6.id.toString());
77762
77762
  }
77763
77763
  onMapLibreEvent(t65, n10) {
77764
77764
  if (!this.map) {
@@ -77777,16 +77777,16 @@ void main(void) {
77777
77777
  N(this, Dc3).signal.addEventListener("abort", t65, { once: true });
77778
77778
  }
77779
77779
  getSystems() {
77780
- return N(this, j6);
77780
+ return N(this, N6);
77781
77781
  }
77782
77782
  getInternalState() {
77783
- return N(this, U6);
77783
+ return N(this, j6);
77784
77784
  }
77785
77785
  getInternalTweenGroup() {
77786
- return N(this, U6).internalTweenGroup;
77786
+ return N(this, j6).internalTweenGroup;
77787
77787
  }
77788
77788
  getExternalTweenGroup() {
77789
- return N(this, U6).externalTweenGroup;
77789
+ return N(this, j6).externalTweenGroup;
77790
77790
  }
77791
77791
  computeMinZOffsetBetweenContainers(t65, n10, o10) {
77792
77792
  if (!t65 || !n10) return -1;
@@ -77807,16 +77807,16 @@ void main(void) {
77807
77807
  };
77808
77808
  cr3 = /* @__PURE__ */ new WeakMap(), rr3 = /* @__PURE__ */ new WeakMap(), Cc3 = /* @__PURE__ */ new WeakMap(), N02 = /* @__PURE__ */ new WeakMap(), lm2 = /* @__PURE__ */ new WeakMap(), rl3 = /* @__PURE__ */ new WeakMap(), Sc3 = /* @__PURE__ */ new WeakMap(), cm2 = /* @__PURE__ */ new WeakMap(), fn3 = /* @__PURE__ */ new WeakSet(), BI2 = function(t65) {
77809
77809
  var n10;
77810
- N(this, Xs2) !== "outdoors-overlay" && ((n10 = this.map) == null || n10.setPixelRatio(t65)), N(this, U6).pixelRatio = this.resolutionScale;
77811
- }, U6 = /* @__PURE__ */ new WeakMap(), fi3 = /* @__PURE__ */ new WeakMap(), Dc3 = /* @__PURE__ */ new WeakMap(), Dt5 = /* @__PURE__ */ new WeakMap(), Xi3 = /* @__PURE__ */ new WeakMap(), dr3 = /* @__PURE__ */ new WeakMap(), hi3 = /* @__PURE__ */ new WeakMap(), jr2 = /* @__PURE__ */ new WeakMap(), j6 = /* @__PURE__ */ new WeakMap(), j02 = /* @__PURE__ */ new WeakMap(), Ur3 = /* @__PURE__ */ new WeakMap(), jt3 = /* @__PURE__ */ new WeakMap(), g8 = function() {
77810
+ N(this, Xs2) !== "outdoors-overlay" && ((n10 = this.map) == null || n10.setPixelRatio(t65)), N(this, j6).pixelRatio = this.resolutionScale;
77811
+ }, j6 = /* @__PURE__ */ new WeakMap(), fi3 = /* @__PURE__ */ new WeakMap(), Dc3 = /* @__PURE__ */ new WeakMap(), Dt5 = /* @__PURE__ */ new WeakMap(), Xi3 = /* @__PURE__ */ new WeakMap(), dr3 = /* @__PURE__ */ new WeakMap(), hi3 = /* @__PURE__ */ new WeakMap(), jr2 = /* @__PURE__ */ new WeakMap(), N6 = /* @__PURE__ */ new WeakMap(), j02 = /* @__PURE__ */ new WeakMap(), Ur3 = /* @__PURE__ */ new WeakMap(), jt3 = /* @__PURE__ */ new WeakMap(), g8 = function() {
77812
77812
  P(this, Dt5, document.createElement("div")), N(this, Dt5).classList.add("mappedin__smart-collision-engine__container"), P(this, Xi3, document.createElement("canvas")), N(this, Xi3).classList.add("mappedin__smart-collision-engine-debug__container"), this.container.appendChild(N(this, Dt5)), P(this, dr3, document.createElement("canvas")), N(this, dr3).classList.add("mappedin__smart-collision-engine__container"), N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px", N(this, Dt5).appendChild(N(this, Xi3)), N(this, Dt5).appendChild(N(this, dr3)), N(this, Xi3).width = N(this, Dt5).clientWidth, N(this, Xi3).height = N(this, Dt5).clientHeight, N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px";
77813
77813
  }, y8 = function() {
77814
77814
  P(this, hi3, document.createElement("div")), N(this, hi3).classList.add("mappedin-2d-entities"), Object.assign(N(this, hi3).style, { position: "absolute", top: "0", left: "0", bottom: "0", right: "0", pointerEvents: "none", "transform-style": "preserve-3d" }), this.container.appendChild(N(this, hi3));
77815
77815
  }, b8 = function() {
77816
- N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px", N(this, Xi3).width = N(this, Dt5).clientWidth, N(this, Xi3).height = N(this, Dt5).clientHeight, N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px", N(this, j6).collisionSystem.collidersDirty = true;
77816
+ N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px", N(this, Xi3).width = N(this, Dt5).clientWidth, N(this, Xi3).height = N(this, Dt5).clientHeight, N(this, dr3).width = N(this, Dt5).clientWidth * this.resolutionScale, N(this, dr3).height = N(this, Dt5).clientHeight * this.resolutionScale, N(this, dr3).style.width = N(this, Dt5).clientWidth + "px", N(this, dr3).style.height = N(this, Dt5).clientHeight + "px", N(this, N6).collisionSystem.collidersDirty = true;
77817
77817
  }, Xs2 = /* @__PURE__ */ new WeakMap(), U02 = /* @__PURE__ */ new WeakMap(), z02 = /* @__PURE__ */ new WeakMap(), G02 = /* @__PURE__ */ new WeakMap(), $0 = /* @__PURE__ */ new WeakMap(), dm3 = /* @__PURE__ */ new WeakMap(), Y42 = /* @__PURE__ */ new WeakMap(), V02 = /* @__PURE__ */ new WeakMap(), pm2 = /* @__PURE__ */ new WeakMap(), Z02 = /* @__PURE__ */ new WeakMap(), Tc3 = /* @__PURE__ */ new WeakMap(), _I2 = function(t65, n10, o10, i20) {
77818
77818
  let a = new Hn2(n10, this.convertTo3DMapPosition(t65[1], t65[0], t65[2] || 0), i20);
77819
- return a.occluderId = o10 != null ? o10 : N(this, j6).occlusion2DSystem.backgroundId, N(this, U6).geometry2DMap.set(a.id, a), a;
77819
+ return a.occluderId = o10 != null ? o10 : N(this, N6).occlusion2DSystem.backgroundId, N(this, j6).geometry2DMap.set(a.id, a), a;
77820
77820
  }, wc3 = /* @__PURE__ */ new WeakMap(), H02 = /* @__PURE__ */ new WeakMap(), W0 = /* @__PURE__ */ new WeakMap(), zn4 = /* @__PURE__ */ new WeakMap(), Gn2 = /* @__PURE__ */ new WeakMap(), LI2 = function() {
77821
77821
  return __async(this, null, function* () {
77822
77822
  return Xu.load(iF).then((t65) => {
@@ -78581,7 +78581,7 @@ void main(void) {
78581
78581
  M(this, "facadesByStyleId", /* @__PURE__ */ new Map());
78582
78582
  O(this, Lc3);
78583
78583
  M(this, "load", () => {
78584
- var a10, l11, u11, c11, d10, m11, h10, g10, x10, E10, v6, I10, C10, S6, T, A10, F6, P6, O10, _10, G10, L10, q10;
78584
+ var a10, l11, u11, c11, d10, m11, h10, g10, x10, E10, v6, I10, C10, S6, T, A10, P6, F6, O10, z10, G10, _10, q10;
78585
78585
  if (this.loaded) return this;
78586
78586
  ((a10 = this.footprint) == null ? void 0 : a10.geometry) == null && ((l11 = this.obstructions) == null ? void 0 : l11.features.length) === 0 && ((u11 = this.spaces) == null ? void 0 : u11.features.length) === 0 && Et2.warn("Floor ".concat(this.id, " exists in the data but contains no geometry.")), this.loaded = true;
78587
78587
  let r11 = this.renderer.addGroupContainer("".concat(za4, "-").concat(this.id), {}, this.id);
@@ -78678,7 +78678,7 @@ void main(void) {
78678
78678
  }
78679
78679
  if (this.floorText != null) for (let $10 of this.floorText.features || []) {
78680
78680
  let K10 = 0;
78681
- "geometryId" in $10.properties ? K10 = (P6 = (F6 = this.renderer.getState($10.properties.geometryId)) == null ? void 0 : F6.height) != null ? P6 : 0 : K10 = (O10 = $10.properties.verticalOffset) != null ? O10 : 0, this.renderer.addText3D(Ut(), F(E({}, $10), { properties: F(E({}, $10.properties), { verticalOffset: K10 }) }), {}, this.id);
78681
+ "geometryId" in $10.properties ? K10 = (F6 = (P6 = this.renderer.getState($10.properties.geometryId)) == null ? void 0 : P6.height) != null ? F6 : 0 : K10 = (O10 = $10.properties.verticalOffset) != null ? O10 : 0, this.renderer.addText3D(Ut(), F(E({}, $10), { properties: F(E({}, $10.properties), { verticalOffset: K10 }) }), {}, this.id);
78682
78682
  }
78683
78683
  if (this.areas != null) {
78684
78684
  let $10 = this.renderer.addGroupContainer("areas-".concat(this.id), {}, this.id);
@@ -78687,7 +78687,7 @@ void main(void) {
78687
78687
  for (let X6 of this.areas.features || []) this.renderer.setState(X6.properties.id, F(E({}, O8), { visible: false }));
78688
78688
  this.layers.get(Jl3).layers.set(K10.id.toString(), K10.id.toString());
78689
78689
  }
78690
- return (_10 = this.multiFloorView) != null && _10.enabled && this.renderer.setState(this.id, { altitude: (q10 = (G10 = i21.get(this.elevation)) == null ? void 0 : G10.altitude) != null ? q10 : this.elevation * Us3((L10 = this.multiFloorView) == null ? void 0 : L10.floorGap, this.maxHeight) }), this.renderer.render(), this;
78690
+ return (z10 = this.multiFloorView) != null && z10.enabled && this.renderer.setState(this.id, { altitude: (q10 = (G10 = i21.get(this.elevation)) == null ? void 0 : G10.altitude) != null ? q10 : this.elevation * Us3((_10 = this.multiFloorView) == null ? void 0 : _10.floorGap, this.maxHeight) }), this.renderer.render(), this;
78691
78691
  });
78692
78692
  var d, m10, h, g6, x6, E6;
78693
78693
  this.mapObject = n10, this.renderer = n10.renderer, this.id = t65.id, this.options = i20;
@@ -78912,8 +78912,8 @@ void main(void) {
78912
78912
  let u11 = i21.reduce((d10, { floorId: m11, coordinates: h10 }, g6) => {
78913
78913
  var v6, I10;
78914
78914
  if (g6 !== 0) {
78915
- let C10 = i21[g6 - 1], S6 = C10.coordinates[C10.coordinates.length - 1], T = h10[0], A10 = ui3(S6), F6 = ui3(T), P6 = this.renderer.addPath({ type: "FeatureCollection", features: [{ type: "Feature", properties: { parentId: C10.floorId }, geometry: { type: "Point", coordinates: A10 } }, { type: "Feature", properties: { parentId: m11 }, geometry: { type: "Point", coordinates: F6 } }] }, n11, this.id);
78916
- P6 && (o11 && this.renderer.setState(P6.id, { completeFraction: 0 }), d10.push(F(E({}, P6), { coordinates: [S6, T] })));
78915
+ let C10 = i21[g6 - 1], S6 = C10.coordinates[C10.coordinates.length - 1], T = h10[0], A10 = ui3(S6), P6 = ui3(T), F6 = this.renderer.addPath({ type: "FeatureCollection", features: [{ type: "Feature", properties: { parentId: C10.floorId }, geometry: { type: "Point", coordinates: A10 } }, { type: "Feature", properties: { parentId: m11 }, geometry: { type: "Point", coordinates: P6 } }] }, n11, this.id);
78916
+ F6 && (o11 && this.renderer.setState(F6.id, { completeFraction: 0 }), d10.push(F(E({}, F6), { coordinates: [S6, T] })));
78917
78917
  }
78918
78918
  if (h10.length < 2) return d10;
78919
78919
  let x6 = (I10 = (v6 = this.floorsById.get(m11)) == null ? void 0 : v6.layers.get(Ga3)) == null ? void 0 : I10.containerId, E6 = this.renderer.addPath({ type: "FeatureCollection", features: h10.map((C10) => ({ type: "Feature", properties: {}, geometry: { type: "Point", coordinates: ui3(C10) } })) }, n11, x6 != null ? x6 : m11);
@@ -79578,14 +79578,14 @@ void main(void) {
79578
79578
  $i();
79579
79579
  ({ entries: zO2, setPrototypeOf: OO2, isFrozen: RK, getPrototypeOf: NK, getOwnPropertyDescriptor: jK } = Object);
79580
79580
  ({ freeze: Hn3, seal: bi3, create: GO2 } = Object);
79581
- ({ apply: U62, construct: z6 } = typeof Reflect < "u" && Reflect);
79581
+ ({ apply: U6, construct: z6 } = typeof Reflect < "u" && Reflect);
79582
79582
  Hn3 || (Hn3 = function(r10) {
79583
79583
  return r10;
79584
79584
  });
79585
79585
  bi3 || (bi3 = function(r10) {
79586
79586
  return r10;
79587
79587
  });
79588
- U62 || (U62 = function(r10, t65, n10) {
79588
+ U6 || (U6 = function(r10, t65, n10) {
79589
79589
  return r10.apply(t65, n10);
79590
79590
  });
79591
79591
  z6 || (z6 = function(r10, t65) {
@@ -79609,7 +79609,7 @@ void main(void) {
79609
79609
  L6 = Hn3(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
79610
79610
  R62 = Hn3(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
79611
79611
  HK = Hn3(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
79612
- N6 = Hn3(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
79612
+ N62 = Hn3(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
79613
79613
  WK = Hn3(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
79614
79614
  LO2 = Hn3(["#text"]);
79615
79615
  RO2 = Hn3(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
@@ -79728,51 +79728,51 @@ void main(void) {
79728
79728
  });
79729
79729
  let u10 = (d) => (m10) => {
79730
79730
  let h = [], g6 = [], x6 = [], E6 = [];
79731
- m10.labels.forEach((P6) => {
79732
- let O10 = this.Labels.getById(P6.toString());
79731
+ m10.labels.forEach((F6) => {
79732
+ let O10 = this.Labels.getById(F6.toString());
79733
79733
  O10 && h.push(O10.label);
79734
- }), m10.markers.forEach((P6) => {
79735
- let O10 = this.Markers.getById(P6.toString()) || this.Navigation.getMarkerById(P6.toString());
79734
+ }), m10.markers.forEach((F6) => {
79735
+ let O10 = this.Markers.getById(F6.toString()) || this.Navigation.getMarkerById(F6.toString());
79736
79736
  O10 && g6.push(O10.marker);
79737
- }), m10.models.forEach((P6) => {
79738
- let O10 = this.Models.getById(P6.toString());
79737
+ }), m10.models.forEach((F6) => {
79738
+ let O10 = this.Models.getById(F6.toString());
79739
79739
  O10 && x6.push(O10.model);
79740
- }), m10.paths.forEach((P6) => {
79741
- let O10 = this.Paths.getById(P6.toString());
79740
+ }), m10.paths.forEach((F6) => {
79741
+ let O10 = this.Paths.getById(F6.toString());
79742
79742
  O10 && E6.push(O10);
79743
79743
  });
79744
79744
  let v6 = m10.geometry, I10;
79745
- v6.length > 0 && (I10 = v6.map((P6) => {
79745
+ v6.length > 0 && (I10 = v6.map((F6) => {
79746
79746
  var O10;
79747
- return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("space", P6);
79748
- }).filter(Boolean)[0], I10 || (I10 = v6.map((P6) => {
79747
+ return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("space", F6);
79748
+ }).filter(Boolean)[0], I10 || (I10 = v6.map((F6) => {
79749
79749
  var O10;
79750
- return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("object", P6);
79751
- }).filter(Boolean)[0]), I10 || (I10 = v6.map((P6) => {
79750
+ return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("object", F6);
79751
+ }).filter(Boolean)[0]), I10 || (I10 = v6.map((F6) => {
79752
79752
  var O10;
79753
- return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("area", P6);
79754
- }).filter(Boolean)[0]), I10 || (I10 = v6.map((P6) => this.Shapes.getById(P6)).filter(Boolean)[0]));
79755
- let C10 = m10.containers.reduce((P6, O10) => {
79753
+ return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.getById("area", F6);
79754
+ }).filter(Boolean)[0]), I10 || (I10 = v6.map((F6) => this.Shapes.getById(F6)).filter(Boolean)[0]));
79755
+ let C10 = m10.containers.reduce((F6, O10) => {
79756
79756
  var G10;
79757
- let _10 = (G10 = this.getMapDataInternal()) == null ? void 0 : G10.getById("floor", O10);
79758
- return _10 && no3.is(_10) && P6.push(_10), P6;
79757
+ let z10 = (G10 = this.getMapDataInternal()) == null ? void 0 : G10.getById("floor", O10);
79758
+ return z10 && no3.is(z10) && F6.push(z10), F6;
79759
79759
  }, []), S6, T = 0;
79760
79760
  if (C10.length > 0) {
79761
79761
  S6 = C10[0].id;
79762
- let P6 = this.core.getState(S6);
79763
- T = m10.coordinate[2] ? m10.coordinate[2] - P6.altitude : T;
79762
+ let F6 = this.core.getState(S6);
79763
+ T = m10.coordinate[2] ? m10.coordinate[2] - F6.altitude : T;
79764
79764
  }
79765
79765
  let A10;
79766
- this.lastFacadeIntersected && this.lastFacadeIntersected.spaces.forEach((P6) => {
79767
- this.core.setState(P6.id, { hovered: false });
79768
- }), I10 && gr3.is(I10) && (A10 = v6.map((P6) => {
79766
+ this.lastFacadeIntersected && this.lastFacadeIntersected.spaces.forEach((F6) => {
79767
+ this.core.setState(F6.id, { hovered: false });
79768
+ }), I10 && gr3.is(I10) && (A10 = v6.map((F6) => {
79769
79769
  var O10;
79770
- return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.facadesBySpaceId[P6];
79771
- }).filter(Boolean)[0], A10 && A10.spaces.forEach((P6) => {
79772
- this.core.setState(P6.id, { hovered: true });
79770
+ return (O10 = this.getMapDataInternal()) == null ? void 0 : O10.facadesBySpaceId[F6];
79771
+ }).filter(Boolean)[0], A10 && A10.spaces.forEach((F6) => {
79772
+ this.core.setState(F6.id, { hovered: true });
79773
79773
  })), this.lastFacadeIntersected = A10;
79774
- let F6 = { coordinate: new De4({ latitude: m10.coordinate[1], longitude: m10.coordinate[0], floorId: S6, verticalOffset: T }), spaces: I10 && gr3.is(I10) ? [I10] : [], objects: I10 && oo4.is(I10) ? [I10] : [], areas: I10 && oi3.is(I10) ? [I10] : [], shapes: I10 && eu3.is(I10) ? [I10] : [], markers: g6, labels: h, models: x6, paths: E6, floors: C10, facades: A10 ? [A10] : [] };
79775
- "pointerEvent" in m10 && (F6.pointerEvent = m10.pointerEvent), o10.publish(d, F6);
79774
+ let P6 = { coordinate: new De4({ latitude: m10.coordinate[1], longitude: m10.coordinate[0], floorId: S6, verticalOffset: T }), spaces: I10 && gr3.is(I10) ? [I10] : [], objects: I10 && oo4.is(I10) ? [I10] : [], areas: I10 && oi3.is(I10) ? [I10] : [], shapes: I10 && eu3.is(I10) ? [I10] : [], markers: g6, labels: h, models: x6, paths: E6, floors: C10, facades: A10 ? [A10] : [] };
79775
+ "pointerEvent" in m10 && (P6.pointerEvent = m10.pointerEvent), o10.publish(d, P6);
79776
79776
  };
79777
79777
  this.core.on("hover", u10("hover")), this.core.on("click", u10("click")), this.core.on("user-interaction-start", () => {
79778
79778
  o10.publish("user-interaction-start");
@@ -80358,7 +80358,7 @@ void main(void) {
80358
80358
  }
80359
80359
  enableDebug() {
80360
80360
  return __async(this, arguments, function* (r10 = {}) {
80361
- let { Inspector: t65 } = yield Promise.resolve().then(() => (init_inspector_B32KFAD4(), inspector_B32KFAD4_exports));
80361
+ let { Inspector: t65 } = yield Promise.resolve().then(() => (init_inspector_IL7LET64(), inspector_IL7LET64_exports));
80362
80362
  yield new t65(this, N(this, fe6)).enable(r10);
80363
80363
  });
80364
80364
  }
@@ -80545,7 +80545,7 @@ void main(void) {
80545
80545
  if ("type" in e10 && typeof e10.type == "string") {
80546
80546
  if (a.enterprise = (I10 = e10.options) == null ? void 0 : I10.enterprise, e10.type === "binary" && e10.main instanceof Uint8Array) {
80547
80547
  o10 = yield u12(e10.main, n10.mvfVersion), a.languagePacks = [];
80548
- for (let F6 of (C10 = e10.languagePacks) != null ? C10 : []) F6.localePack instanceof Uint8Array && a.languagePacks.push({ language: F6.language, localePack: yield Xd3(F6.localePack) });
80548
+ for (let P6 of (C10 = e10.languagePacks) != null ? C10 : []) P6.localePack instanceof Uint8Array && a.languagePacks.push({ language: P6.language, localePack: yield Xd3(P6.localePack) });
80549
80549
  } else if (e10.type === "json") o10 = e10.main, a.languagePacks = (S6 = e10.languagePacks) != null ? S6 : [];
80550
80550
  else throw new Error("Invalid backup type");
80551
80551
  e10.type === "binary" && e10.main instanceof Uint8Array && (a.binaryBundle = e10.main);
@@ -80556,18 +80556,18 @@ void main(void) {
80556
80556
  let c10 = new Am2(u10, F(E({}, n10), { enterprise: a.enterprise })), d;
80557
80557
  if ("accessToken" in n10 && n10.accessToken) d = n10.accessToken;
80558
80558
  else if ("key" in n10 && "secret" in n10) {
80559
- let F6;
80559
+ let P6;
80560
80560
  try {
80561
- F6 = yield c10.getAccessTokenAsync();
80562
- } catch (P6) {
80563
- Et2.error("Failed getting token during hydrateMapData", P6);
80561
+ P6 = yield c10.getAccessTokenAsync();
80562
+ } catch (F6) {
80563
+ Et2.error("Failed getting token during hydrateMapData", F6);
80564
80564
  }
80565
- d = (F6 == null ? void 0 : F6.token) || "";
80565
+ d = (P6 == null ? void 0 : P6.token) || "";
80566
80566
  }
80567
80567
  if (a.outdoorViewToken = d, a.env = i20, a.getMapDataOptions = n10, n10.prefetchTokens) try {
80568
80568
  yield c10.readySync();
80569
- } catch (F6) {
80570
- Et2.error("Failed to ready token manager!", F6);
80569
+ } catch (P6) {
80570
+ Et2.error("Failed to ready token manager!", P6);
80571
80571
  }
80572
80572
  u03() && (a.enterprise && Et2.warn("forceEnterpriseLocations is enabled, but the map is already an enterprise map!"), n10.mvfVersion !== "3.0.0" && Et2.warn("mvfVersion must be '3.0.0' when forceEnterpriseLocations is enabled!"));
80573
80573
  let m10 = new mc2(o10, a);
@@ -80575,7 +80575,7 @@ void main(void) {
80575
80575
  let h = new Jm3(m10), g6 = m10.findPreferredLanguage({ languageCode: n10.language, fallbackToNavigatorLanguage: false });
80576
80576
  if (g6) try {
80577
80577
  yield h.changeLanguage(g6.code);
80578
- } catch (F6) {
80578
+ } catch (P6) {
80579
80579
  }
80580
80580
  return typeof (r10 == null ? void 0 : r10.onMVFParsed) == "function" && r10.onMVFParsed(o10), h;
80581
80581
  });
@@ -80666,14 +80666,14 @@ void main(void) {
80666
80666
  return { collision: r10.ok, maplibre: t65.ok };
80667
80667
  });
80668
80668
  wJ = (e10, r10, t65) => __async(null, null, function* () {
80669
- var h, g6, x6, E6, v6, I10, C10, S6, T, A10, F6, P6, O10, _10, G10, L10;
80669
+ var h, g6, x6, E6, v6, I10, C10, S6, T, A10, P6, F6, O10, z10, G10, _10;
80670
80670
  let n10 = performance.now(), o10 = T22(t65, r10);
80671
80671
  o10 && D22(o10), ((h = o10.injectStyles) == null || h) && ik(SJ, { id: "mappedin__styles" });
80672
80672
  let i20 = QM2((g6 = r10.outdoorViewToken) != null ? g6 : ""), a = Ym3(r10);
80673
80673
  (x6 = o10.outdoorView) != null && x6.style && a.envControl.updateTileServerBaseUrl((E6 = o10.outdoorView) == null ? void 0 : E6.style);
80674
80674
  let l10 = false, u10 = false, c10 = yield TJ();
80675
80675
  c10 && (c10.collision || (l10 = true), c10.maplibre || (u10 = true));
80676
- let d = yield x8(e10, { center: [r10.mapCenter.longitude, r10.mapCenter.latitude], bearing: o10.bearing, pitch: o10.pitch, zoomLevel: o10.zoomLevel, backgroundAlpha: (v6 = o10.style) == null ? void 0 : v6.backgroundAlpha, backgroundColor: (I10 = o10.style) == null ? void 0 : I10.backgroundColor, outdoorView: !u10 && ((C10 = o10.outdoorView) != null && C10.token) ? { headers: { "x-mappedin-tiles-key": (S6 = o10.outdoorView) == null ? void 0 : S6.token }, style: r10.getEnv().tileServerUri, enabled: !!((T = o10.outdoorView) != null && T.enabled), lowDpi: (A10 = o10.outdoorView) == null ? void 0 : A10.lowDpi } : void 0, watermark: F(E({}, o10.watermark), { visible: (P6 = (F6 = o10.watermark) == null ? void 0 : F6.visible) != null ? P6 : !a.enterpriseMode && !i20.remove_watermark, onClick: mk2 || void 0 }), attribution: o10.attribution, antialias: typeof o10.antialiasing == "boolean" ? o10.antialiasing : !!((O10 = o10.antialiasing) != null && O10.enabled), accessToken: r10.outdoorViewToken, occlusionEnabled: true, transformImageRequest: a.enterpriseMode ? void 0 : a.transformImageRequest, naturalBearing: r10.naturalBearing, imagePlacementOptions: o10.imagePlacementOptions, onWebGLContextCreationError: o10.onWebGLContextCreationError, onWebGLContextLost: o10.onWebGLContextLost, onWebGLContextRestored: o10.onWebGLContextRestored, onWebGLRendererError: o10.onWebGLRendererError, useStandaloneCamera: (_10 = o10.useStandaloneCamera) != null ? _10 : false, useWorkers: !((G10 = o10.disableWorkers) != null && G10), useCollisionWorker: !l10, disableUpdateStateValidation: (L10 = o10.disableUpdateStateValidation) != null ? L10 : false }), m10 = new zh3(d);
80676
+ let d = yield x8(e10, { center: [r10.mapCenter.longitude, r10.mapCenter.latitude], bearing: o10.bearing, pitch: o10.pitch, zoomLevel: o10.zoomLevel, backgroundAlpha: (v6 = o10.style) == null ? void 0 : v6.backgroundAlpha, backgroundColor: (I10 = o10.style) == null ? void 0 : I10.backgroundColor, outdoorView: !u10 && ((C10 = o10.outdoorView) != null && C10.token) ? { headers: { "x-mappedin-tiles-key": (S6 = o10.outdoorView) == null ? void 0 : S6.token }, style: r10.getEnv().tileServerUri, enabled: !!((T = o10.outdoorView) != null && T.enabled), lowDpi: (A10 = o10.outdoorView) == null ? void 0 : A10.lowDpi } : void 0, watermark: F(E({}, o10.watermark), { visible: (F6 = (P6 = o10.watermark) == null ? void 0 : P6.visible) != null ? F6 : !a.enterpriseMode && !i20.remove_watermark, onClick: mk2 || void 0 }), attribution: o10.attribution, antialias: typeof o10.antialiasing == "boolean" ? o10.antialiasing : !!((O10 = o10.antialiasing) != null && O10.enabled), accessToken: r10.outdoorViewToken, occlusionEnabled: true, transformImageRequest: a.enterpriseMode ? void 0 : a.transformImageRequest, naturalBearing: r10.naturalBearing, imagePlacementOptions: o10.imagePlacementOptions, onWebGLContextCreationError: o10.onWebGLContextCreationError, onWebGLContextLost: o10.onWebGLContextLost, onWebGLContextRestored: o10.onWebGLContextRestored, onWebGLRendererError: o10.onWebGLRendererError, useStandaloneCamera: (z10 = o10.useStandaloneCamera) != null ? z10 : false, useWorkers: !((G10 = o10.disableWorkers) != null && G10), useCollisionWorker: !l10, disableUpdateStateValidation: (_10 = o10.disableUpdateStateValidation) != null ? _10 : false }), m10 = new zh3(d);
80677
80677
  return yield m10.addMap(r10, o10), a.Analytics.sendMapViewLoadedEvent({ firstRenderDuration: performance.now() - n10, dimension: m10.getDimensions(), collisionWorkerDisabled: l10, outdoorsWorkerDisabled: u10 }), m10;
80678
80678
  });
80679
80679
  T$e = () => Sc.env.npm_package_version;
@@ -86487,10 +86487,10 @@ void main(void) {
86487
86487
  unzipAndParseMVFv2: () => u12,
86488
86488
  unzipMVF: () => Kx2
86489
86489
  });
86490
- init_chunk_2DEFE4C2();
86491
- init_chunk_Q56Y72HB();
86492
- init_chunk_YB4VFXKF();
86493
- init_chunk_66DYOCZO();
86490
+ init_chunk_M5K474PU();
86491
+ init_chunk_NNBEOC7F();
86492
+ init_chunk_YNQYXD2A();
86493
+ init_chunk_BUTQWGOR();
86494
86494
  init_chunk_5W2UDR4H();
86495
86495
 
86496
86496
  // ../packages/common/Mappedin.Logger.ts