@mappedin/viewer 0.24.5 → 0.24.6-47c79cd.0
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.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65890,7 +65890,7 @@ const YHe = [s2, G2, Dn, Z2, Uu, kr, $a], M8e = [s2, Z2], L8e = async (r, e) =>
|
|
|
65890
65890
|
}
|
|
65891
65891
|
return await WHe(t);
|
|
65892
65892
|
};
|
|
65893
|
-
var KHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.5", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "
|
|
65893
|
+
var KHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.5", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
|
|
65894
65894
|
const JHe = async (r, e, t) => {
|
|
65895
65895
|
const i = `${e ?? KHe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${r}&version=2.0.0`, { url: n } = await fetch(i).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await eO(o), l = Q$(s);
|
|
65896
65896
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), L8e(l, t);
|
|
@@ -71207,7 +71207,7 @@ const bXe = (r, e) => (Pd != null || (U6 == null && globalThis.OffscreenCanvas !
|
|
|
71207
71207
|
const i = {
|
|
71208
71208
|
fit: "fit",
|
|
71209
71209
|
...t
|
|
71210
|
-
}, n = "https://image-proxy.mappedin.
|
|
71210
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = MXe[e], o = encodeURIComponent(r);
|
|
71211
71211
|
return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
71212
71212
|
}, jfe = Uh`
|
|
71213
71213
|
cursor: pointer;
|
|
@@ -86574,7 +86574,7 @@ const P7e = mw((r) => {
|
|
|
86574
86574
|
/* @__PURE__ */ X.jsx(Aq, { children: /* @__PURE__ */ X.jsx(TF, { ...e }) })
|
|
86575
86575
|
), t;
|
|
86576
86576
|
}, I7e = (r = {}) => {
|
|
86577
|
-
const e = "
|
|
86577
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
86578
86578
|
xSe(r.captureEnabled ?? !0);
|
|
86579
86579
|
const i = mf();
|
|
86580
86580
|
if (!i.__loaded && e != null && t != null) {
|