@mappedin/viewer 0.24.4 → 0.24.5-eabdff2.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.4", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "
|
|
65893
|
+
var KHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.4", 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;
|
|
@@ -86560,7 +86560,7 @@ const P7e = mw((r) => {
|
|
|
86560
86560
|
/* @__PURE__ */ X.jsx(Aq, { children: /* @__PURE__ */ X.jsx(TF, { ...e }) })
|
|
86561
86561
|
), t;
|
|
86562
86562
|
}, I7e = (r = {}) => {
|
|
86563
|
-
const e = "
|
|
86563
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
86564
86564
|
xSe(r.captureEnabled ?? !0);
|
|
86565
86565
|
const i = mf();
|
|
86566
86566
|
if (!i.__loaded && e != null && t != null) {
|