@yext/pages-components 1.0.7 → 1.0.8
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/{debugger-D3dRC_Z4.cjs → debugger-Byx1SNbB.cjs} +1 -1
- package/dist/{debugger-rZtaKqX7.js → debugger-XdM5KrVj.js} +1 -1
- package/dist/{index-VbkIXtJn.js → index-B47Uqwbc.js} +1 -1
- package/dist/{index-Bunl_w4Q.cjs → index-CMl7zBKp.cjs} +27 -27
- package/dist/{index-1vQ0rgr7.js → index-DmrYUFTF.js} +197 -167
- package/dist/{index-DWB4A6xg.cjs → index-DxNyUS0j.cjs} +1 -1
- package/dist/index.d.cts +28 -174
- package/dist/index.d.ts +28 -174
- package/dist/pages-components.cjs +1 -1
- package/dist/pages-components.js +18 -17
- package/package.json +1 -1
|
@@ -1053,7 +1053,7 @@ const ry = {
|
|
|
1053
1053
|
countryCode: "localizedCountryName"
|
|
1054
1054
|
}[e];
|
|
1055
1055
|
return r && t[r];
|
|
1056
|
-
},
|
|
1056
|
+
}, qS = (e, t = [], n, r = {
|
|
1057
1057
|
route: !1
|
|
1058
1058
|
}, l) => {
|
|
1059
1059
|
const d = "Failed to construct query for maps service.";
|
|
@@ -1131,7 +1131,7 @@ const ry = {
|
|
|
1131
1131
|
if (!e.length) return "";
|
|
1132
1132
|
const t = e.filter(Boolean).join(", ");
|
|
1133
1133
|
return encodeURI(t);
|
|
1134
|
-
},
|
|
1134
|
+
}, ZS = ({
|
|
1135
1135
|
address: e,
|
|
1136
1136
|
lines: t,
|
|
1137
1137
|
separator: n = ",",
|
|
@@ -1616,8 +1616,8 @@ const tN = (e) => {
|
|
|
1616
1616
|
default:
|
|
1617
1617
|
return "";
|
|
1618
1618
|
}
|
|
1619
|
-
}, lp = Nc(null), nN = Z_(() => import("./debugger-
|
|
1620
|
-
function
|
|
1619
|
+
}, lp = Nc(null), nN = Z_(() => import("./debugger-XdM5KrVj.js"));
|
|
1620
|
+
function JS(e) {
|
|
1621
1621
|
const {
|
|
1622
1622
|
children: t,
|
|
1623
1623
|
apiKey: n,
|
|
@@ -1755,7 +1755,7 @@ class rN {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
}
|
|
1757
1757
|
const Gu = Nc({ name: "" }), ap = () => us(Gu).name;
|
|
1758
|
-
function
|
|
1758
|
+
function XS(e) {
|
|
1759
1759
|
var f;
|
|
1760
1760
|
const t = ap(), [n] = Cr({
|
|
1761
1761
|
name: sp(t, e.name)
|
|
@@ -1794,13 +1794,13 @@ function ca() {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
}
|
|
1797
|
-
const
|
|
1797
|
+
const QS = () => {
|
|
1798
1798
|
var e;
|
|
1799
1799
|
return (e = ca()) == null ? void 0 : e.track;
|
|
1800
|
-
},
|
|
1800
|
+
}, ew = () => {
|
|
1801
1801
|
var e;
|
|
1802
1802
|
return (e = ca()) == null ? void 0 : e.pageView;
|
|
1803
|
-
},
|
|
1803
|
+
}, tw = () => {
|
|
1804
1804
|
var e;
|
|
1805
1805
|
return (e = ca()) == null ? void 0 : e.identify;
|
|
1806
1806
|
}, ss = {
|
|
@@ -2003,7 +2003,7 @@ const XS = () => {
|
|
|
2003
2003
|
return !1;
|
|
2004
2004
|
}
|
|
2005
2005
|
return t.protocol === "http:" || t.protocol === "https:";
|
|
2006
|
-
},
|
|
2006
|
+
}, nw = ({
|
|
2007
2007
|
image: e,
|
|
2008
2008
|
className: t,
|
|
2009
2009
|
width: n,
|
|
@@ -2215,7 +2215,7 @@ const sa = /* @__PURE__ */ rp(dN), yf = (e) => e.linkType === "Email" || !e.link
|
|
|
2215
2215
|
};
|
|
2216
2216
|
return I != null && I.getDebugEnabled() && (re["data-ya-action"] = k, re["data-ya-scopeoverride"] = _, re["data-ya-eventname"] = G), /* @__PURE__ */ ft.jsx("a", { ...v, ...re, suppressHydrationWarning: !0, children: l || r.label || j });
|
|
2217
2217
|
}
|
|
2218
|
-
),
|
|
2218
|
+
), rw = {
|
|
2219
2219
|
URL: "URL",
|
|
2220
2220
|
Email: "Email",
|
|
2221
2221
|
Phone: "Phone"
|
|
@@ -3624,7 +3624,7 @@ let mp = class {
|
|
|
3624
3624
|
}
|
|
3625
3625
|
};
|
|
3626
3626
|
const Cc = Nc(null);
|
|
3627
|
-
function
|
|
3627
|
+
function ow() {
|
|
3628
3628
|
const e = us(Cc);
|
|
3629
3629
|
if (!e || e.map === void 0)
|
|
3630
3630
|
throw new Error("Attempted to call useMapContext() outside of <Map>.");
|
|
@@ -3716,7 +3716,7 @@ const ON = ({
|
|
|
3716
3716
|
), ud = Nc(
|
|
3717
3717
|
null
|
|
3718
3718
|
);
|
|
3719
|
-
function
|
|
3719
|
+
function sw() {
|
|
3720
3720
|
const e = us(ud);
|
|
3721
3721
|
if (!e)
|
|
3722
3722
|
throw new Error(
|
|
@@ -3724,7 +3724,7 @@ function ow() {
|
|
|
3724
3724
|
);
|
|
3725
3725
|
return e;
|
|
3726
3726
|
}
|
|
3727
|
-
const
|
|
3727
|
+
const lw = ({
|
|
3728
3728
|
clusterRadius: e = 50,
|
|
3729
3729
|
children: t,
|
|
3730
3730
|
ClusterTemplate: n = DN
|
|
@@ -3865,7 +3865,7 @@ const sw = ({
|
|
|
3865
3865
|
}), Q_(m, v);
|
|
3866
3866
|
}
|
|
3867
3867
|
return null;
|
|
3868
|
-
},
|
|
3868
|
+
}, aw = ({
|
|
3869
3869
|
children: e,
|
|
3870
3870
|
coordinate: t,
|
|
3871
3871
|
linkSameTab: n,
|
|
@@ -24658,7 +24658,7 @@ const Ru = {
|
|
|
24658
24658
|
"editor-inner": "_editor-inner_1mmqo_6",
|
|
24659
24659
|
"no-border": "_no-border_1mmqo_10"
|
|
24660
24660
|
};
|
|
24661
|
-
function
|
|
24661
|
+
function cw({
|
|
24662
24662
|
serializedAST: e,
|
|
24663
24663
|
nodeClassNames: t
|
|
24664
24664
|
}) {
|
|
@@ -25118,22 +25118,22 @@ ro.throws = function(e, t, n) {
|
|
|
25118
25118
|
typeof t == "function" ? ri(!t(r), !0, !1, "not.throws", !1, "Expected function not to throw matching exception", n) : t instanceof RegExp ? ri(!t.test(r.message), !0, !1, "not.throws", !1, `Expected function not to throw exception matching \`${String(t)}\` pattern`, n) : t || ri(!1, !0, !1, "not.throws", !1, "Expected function not to throw", n);
|
|
25119
25119
|
}
|
|
25120
25120
|
};
|
|
25121
|
-
const NE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,
|
|
25122
|
-
function
|
|
25121
|
+
const NE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, uw = Do(/[A-Za-z]/), gg = Do(/[\dA-Za-z]/), dw = Do(/[#-'*+\--9=?A-Z^-~]/);
|
|
25122
|
+
function fw(e) {
|
|
25123
25123
|
return (
|
|
25124
25124
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
25125
25125
|
// character DEL
|
|
25126
25126
|
e !== null && (e < 32 || e === 127)
|
|
25127
25127
|
);
|
|
25128
25128
|
}
|
|
25129
|
-
const
|
|
25130
|
-
function
|
|
25129
|
+
const hw = Do(/\d/), gw = Do(/[\dA-Fa-f]/), pw = Do(/[!-/:-@[-`{-~]/);
|
|
25130
|
+
function mw(e) {
|
|
25131
25131
|
return e !== null && e < -2;
|
|
25132
25132
|
}
|
|
25133
25133
|
function CE(e) {
|
|
25134
25134
|
return e !== null && (e < 0 || e === 32);
|
|
25135
25135
|
}
|
|
25136
|
-
function
|
|
25136
|
+
function _w(e) {
|
|
25137
25137
|
return e === -2 || e === -1 || e === 32;
|
|
25138
25138
|
}
|
|
25139
25139
|
const EE = Do(NE), TE = Do(/\s/);
|
|
@@ -26003,7 +26003,7 @@ function Eg(e) {
|
|
|
26003
26003
|
return String(e || "").toUpperCase();
|
|
26004
26004
|
}
|
|
26005
26005
|
const gc = {}.hasOwnProperty;
|
|
26006
|
-
function
|
|
26006
|
+
function yw(e, t) {
|
|
26007
26007
|
const n = t || {}, r = n.allowDangerousHtml || !1, l = {};
|
|
26008
26008
|
return f.dangerous = r, f.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, f.footnoteLabel = n.footnoteLabel || "Footnotes", f.footnoteLabelTagName = n.footnoteLabelTagName || "h2", f.footnoteLabelProperties = n.footnoteLabelProperties || {
|
|
26009
26009
|
className: ["sr-only"]
|
|
@@ -26108,14 +26108,14 @@ const FT = (e, t) => e(t, "i", oo(e, t)), BT = (e, t) => e(t, "b", oo(e, t)), HT
|
|
|
26108
26108
|
strikethrough: WT,
|
|
26109
26109
|
subscript: KT,
|
|
26110
26110
|
superscript: zT
|
|
26111
|
-
},
|
|
26111
|
+
}, Nw = (e) => {
|
|
26112
26112
|
const [t, n] = Cr();
|
|
26113
26113
|
let r;
|
|
26114
26114
|
return nr(() => {
|
|
26115
26115
|
(async () => {
|
|
26116
26116
|
if (!r)
|
|
26117
26117
|
try {
|
|
26118
|
-
r = (await import("./index-
|
|
26118
|
+
r = (await import("./index-B47Uqwbc.js")).default;
|
|
26119
26119
|
} catch {
|
|
26120
26120
|
throw new Error(
|
|
26121
26121
|
"Failed to import React Markdown, cannot properly render LegacyRichText."
|
|
@@ -31655,7 +31655,7 @@ class t_ {
|
|
|
31655
31655
|
let d = n;
|
|
31656
31656
|
d = d.plus({ days: l });
|
|
31657
31657
|
const f = this.getHours(d);
|
|
31658
|
-
f && !f.isClosed && r.push(
|
|
31658
|
+
f != null && f.openIntervals && !f.isClosed && r.push(
|
|
31659
31659
|
...f.openIntervals.map(
|
|
31660
31660
|
(p) => new Xg(d, p, this.timezone)
|
|
31661
31661
|
)
|
|
@@ -31812,7 +31812,7 @@ function Qv(e, t) {
|
|
|
31812
31812
|
f(e)
|
|
31813
31813
|
] });
|
|
31814
31814
|
}
|
|
31815
|
-
const
|
|
31815
|
+
const Cw = (e) => {
|
|
31816
31816
|
const [t, n] = Cr(!1), [r, l] = Cr(!1);
|
|
31817
31817
|
nr(() => {
|
|
31818
31818
|
l(!0);
|
|
@@ -31870,7 +31870,7 @@ function nS(e, t, n) {
|
|
|
31870
31870
|
}
|
|
31871
31871
|
return r;
|
|
31872
31872
|
}
|
|
31873
|
-
const
|
|
31873
|
+
const Ew = (e) => {
|
|
31874
31874
|
const [t, n] = Cr(!1);
|
|
31875
31875
|
nr(() => {
|
|
31876
31876
|
n(!0);
|
|
@@ -31923,13 +31923,16 @@ const Cw = (e) => {
|
|
|
31923
31923
|
E.dayName
|
|
31924
31924
|
);
|
|
31925
31925
|
}) }) });
|
|
31926
|
-
},
|
|
31926
|
+
}, Tw = (e) => `<script type="application/ld+json">
|
|
31927
31927
|
${JSON.stringify(e)}
|
|
31928
|
-
<\/script>`, Ld = (e, t) =>
|
|
31929
|
-
|
|
31930
|
-
|
|
31931
|
-
|
|
31932
|
-
|
|
31928
|
+
<\/script>`, Ld = (e, t) => {
|
|
31929
|
+
if (!(!e.name || typeof e.name != "string"))
|
|
31930
|
+
return {
|
|
31931
|
+
"@context": "https://schema.org",
|
|
31932
|
+
"@type": t,
|
|
31933
|
+
name: e.name
|
|
31934
|
+
};
|
|
31935
|
+
}, rS = (e) => typeof e != "object" ? !1 : !!e.name || !!e.address, iS = (e) => typeof e != "object" ? !1 : !!e.line1 || !!e.city || !!e.region || !!e.postalCode || !!e.countryCode, n_ = (e) => iS(e) && {
|
|
31933
31936
|
address: {
|
|
31934
31937
|
"@type": "PostalAddress",
|
|
31935
31938
|
streetAddress: e.line1,
|
|
@@ -31942,7 +31945,7 @@ const Cw = (e) => {
|
|
|
31942
31945
|
"@type": "Place",
|
|
31943
31946
|
name: e.name,
|
|
31944
31947
|
...n_(e.address)
|
|
31945
|
-
}, r_ = (e) => typeof e != "object" || !("image" in e) ? !1 : "url" in e.image, Id = (e) => {
|
|
31948
|
+
}, r_ = (e) => typeof e != "object" || !("image" in e) ? !1 : "url" in e.image && typeof e.image.url == "string", Id = (e) => {
|
|
31946
31949
|
if (!e)
|
|
31947
31950
|
return {};
|
|
31948
31951
|
const t = new Array();
|
|
@@ -31951,9 +31954,9 @@ const Cw = (e) => {
|
|
|
31951
31954
|
return {
|
|
31952
31955
|
image: t
|
|
31953
31956
|
};
|
|
31954
|
-
},
|
|
31957
|
+
}, xw = (e) => r_(e) && {
|
|
31955
31958
|
image: e.image.url
|
|
31956
|
-
}, sS = (e) => typeof e != "object" ? !1 :
|
|
31959
|
+
}, sS = (e) => typeof e != "object" ? !1 : !!e.name, lS = (e) => Array.isArray(e) && e.length > 0, aS = (e) => lS(e) && {
|
|
31957
31960
|
performer: {
|
|
31958
31961
|
"@type": "PerformingGroup",
|
|
31959
31962
|
name: e.join(" and ")
|
|
@@ -31962,9 +31965,22 @@ const Cw = (e) => {
|
|
|
31962
31965
|
organizer: {
|
|
31963
31966
|
"@type": "Organization",
|
|
31964
31967
|
name: e.name,
|
|
31965
|
-
url: e.url
|
|
31966
|
-
}
|
|
31967
|
-
}, uS =
|
|
31968
|
+
...e.url && { url: e.url }
|
|
31969
|
+
}
|
|
31970
|
+
}, uS = [
|
|
31971
|
+
"BackOrder",
|
|
31972
|
+
"Discontinued",
|
|
31973
|
+
"InStock",
|
|
31974
|
+
"InStoreOnly",
|
|
31975
|
+
"LimitedAvailability",
|
|
31976
|
+
"MadeToOrder",
|
|
31977
|
+
"OnlineOnly",
|
|
31978
|
+
"OutOfStock",
|
|
31979
|
+
"PreOrder",
|
|
31980
|
+
"PreSale",
|
|
31981
|
+
"Reserved",
|
|
31982
|
+
"SoldOut"
|
|
31983
|
+
], dS = (e) => typeof e != "object" ? !1 : "priceCurrency" in e && "price" in e && "availability" in e && uS.includes(e.availability), i_ = (e) => dS(e) && {
|
|
31968
31984
|
offers: {
|
|
31969
31985
|
"@type": "Offer",
|
|
31970
31986
|
url: e.url,
|
|
@@ -31974,32 +31990,35 @@ const Cw = (e) => {
|
|
|
31974
31990
|
itemCondition: e.itemCondition,
|
|
31975
31991
|
availability: e.availability
|
|
31976
31992
|
}
|
|
31977
|
-
},
|
|
31978
|
-
|
|
31979
|
-
...Id(e.photoGallery),
|
|
31980
|
-
...oS({
|
|
31993
|
+
}, vw = (e, t) => {
|
|
31994
|
+
const n = oS({
|
|
31981
31995
|
name: e.geomodifier,
|
|
31982
31996
|
address: e.address
|
|
31983
|
-
})
|
|
31984
|
-
|
|
31985
|
-
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
|
|
31990
|
-
|
|
31991
|
-
|
|
31992
|
-
|
|
31993
|
-
|
|
31994
|
-
|
|
31995
|
-
|
|
31996
|
-
|
|
31997
|
-
|
|
31998
|
-
|
|
31999
|
-
|
|
32000
|
-
|
|
32001
|
-
|
|
32002
|
-
|
|
31997
|
+
});
|
|
31998
|
+
return {
|
|
31999
|
+
...Ld(e, t ?? "Event"),
|
|
32000
|
+
...Id(e.photoGallery),
|
|
32001
|
+
...n && { location: n },
|
|
32002
|
+
...aS(e.performers),
|
|
32003
|
+
...cS({
|
|
32004
|
+
name: e.organizerName
|
|
32005
|
+
}),
|
|
32006
|
+
...i_({
|
|
32007
|
+
url: "",
|
|
32008
|
+
priceCurrency: e.c_currency,
|
|
32009
|
+
price: e.price,
|
|
32010
|
+
priceValidUntil: e.expirationDate,
|
|
32011
|
+
itemCondition: e.condition,
|
|
32012
|
+
availability: e.stockStatus
|
|
32013
|
+
}),
|
|
32014
|
+
...e.c_startDate && { startDate: e.c_startDate },
|
|
32015
|
+
...e.c_endDate && { endDate: e.c_endDate },
|
|
32016
|
+
...e.description && { description: e.description },
|
|
32017
|
+
...e.attendance && { eventAttendanceMode: e.attendance },
|
|
32018
|
+
...e.eventStatus && { eventStatus: e.eventStatus }
|
|
32019
|
+
};
|
|
32020
|
+
}, fS = (e) => typeof e != "object" ? !1 : "monday" in e || "tuesday" in e || "wednesday" in e || "thursday" in e || "friday" in e || "saturday" in e || "sunday" in e, hS = (e) => typeof e != "object" ? !1 : e.isClosed ? !0 : "openIntervals" in e && Array.isArray(e.openIntervals) && e.openIntervals.length ? e.openIntervals.every((t) => typeof t == "object" && "start" in t && "end" in t) : !1, gS = (e) => {
|
|
32021
|
+
if (!fS(e))
|
|
32003
32022
|
return {};
|
|
32004
32023
|
let t = /* @__PURE__ */ new Map();
|
|
32005
32024
|
t = rs(e.monday, t, "Mo"), t = rs(e.tuesday, t, "Tu"), t = rs(e.wednesday, t, "We"), t = rs(e.thursday, t, "Th"), t = rs(e.friday, t, "Fr"), t = rs(e.saturday, t, "Sa"), t = rs(e.sunday, t, "Su");
|
|
@@ -32012,7 +32031,9 @@ const Cw = (e) => {
|
|
|
32012
32031
|
openingHours: n
|
|
32013
32032
|
};
|
|
32014
32033
|
}, rs = (e, t, n) => {
|
|
32015
|
-
if (!
|
|
32034
|
+
if (!hS(e))
|
|
32035
|
+
return t;
|
|
32036
|
+
if (e.isClosed || !e.openIntervals) {
|
|
32016
32037
|
const r = "00:00-00:00", l = t.get(r) ?? [];
|
|
32017
32038
|
return l.push(n), t.set(r, l), t;
|
|
32018
32039
|
}
|
|
@@ -32021,16 +32042,16 @@ const Cw = (e) => {
|
|
|
32021
32042
|
d.push(n), t.set(l, d);
|
|
32022
32043
|
}
|
|
32023
32044
|
return t;
|
|
32024
|
-
},
|
|
32045
|
+
}, Sw = (e, t) => ({
|
|
32025
32046
|
...Ld(e, t ?? "LocalBusiness"),
|
|
32026
32047
|
// default, if schemaType is nil, set to LocalBusiness
|
|
32027
32048
|
...n_(e.address),
|
|
32028
|
-
...
|
|
32049
|
+
...gS(e.hours),
|
|
32029
32050
|
...Id(e.photoGallery),
|
|
32030
32051
|
description: e.description,
|
|
32031
32052
|
telephone: e.mainPhone,
|
|
32032
32053
|
email: e.email
|
|
32033
|
-
}),
|
|
32054
|
+
}), pS = (e) => typeof e != "object" ? !1 : "ratingValue" in e, mS = (e) => typeof e != "object" ? !1 : "ratingValue" in e && "reviewCount" in e, _S = (e) => pS(e) && {
|
|
32034
32055
|
review: {
|
|
32035
32056
|
"@type": "Review",
|
|
32036
32057
|
reviewRating: {
|
|
@@ -32038,38 +32059,42 @@ const Cw = (e) => {
|
|
|
32038
32059
|
ratingValue: e.ratingValue,
|
|
32039
32060
|
bestRating: e.bestRating
|
|
32040
32061
|
},
|
|
32041
|
-
author
|
|
32042
|
-
|
|
32043
|
-
|
|
32062
|
+
...e.author && {
|
|
32063
|
+
author: {
|
|
32064
|
+
"@type": "Person",
|
|
32065
|
+
name: e.author
|
|
32066
|
+
}
|
|
32044
32067
|
}
|
|
32045
32068
|
}
|
|
32046
|
-
},
|
|
32069
|
+
}, yS = (e) => mS(e) ? {
|
|
32047
32070
|
aggregateRating: {
|
|
32048
32071
|
"@type": "AggregateRating",
|
|
32049
32072
|
ratingValue: e.ratingValue,
|
|
32050
32073
|
reviewCount: e.reviewCount
|
|
32051
32074
|
}
|
|
32052
|
-
} : void 0,
|
|
32075
|
+
} : void 0, ww = (e, t) => ({
|
|
32053
32076
|
...Ld(e, t ?? "Product"),
|
|
32054
32077
|
...Id(e.photoGallery),
|
|
32055
|
-
...
|
|
32056
|
-
...
|
|
32078
|
+
..._S(e.c_reviews),
|
|
32079
|
+
...yS(e.c_aggregateRating),
|
|
32057
32080
|
...i_({
|
|
32058
32081
|
url: "",
|
|
32059
32082
|
priceCurrency: e.c_currency,
|
|
32060
32083
|
price: e.price,
|
|
32061
32084
|
priceValidUntil: e.expirationDate,
|
|
32062
|
-
itemCondition: e.
|
|
32063
|
-
availability: e.
|
|
32085
|
+
itemCondition: e.condition,
|
|
32086
|
+
availability: e.stockStatus
|
|
32064
32087
|
}),
|
|
32065
32088
|
description: e.description,
|
|
32066
32089
|
sku: e.sku,
|
|
32067
32090
|
mpn: e.mpn,
|
|
32068
|
-
brand
|
|
32069
|
-
|
|
32070
|
-
|
|
32091
|
+
...e.brand && {
|
|
32092
|
+
brand: {
|
|
32093
|
+
"@type": "Brand",
|
|
32094
|
+
name: e.brand
|
|
32095
|
+
}
|
|
32071
32096
|
}
|
|
32072
|
-
}),
|
|
32097
|
+
}), NS = (e) => !e || typeof e != "object" ? !1 : "question" in e && "answer" in e, CS = (e) => !e || typeof e != "object" ? !1 : "question" in e && "answerV2" in e ? "json" in e.answerV2 && typeof e.answerV2.json == "object" : !1;
|
|
32073
32098
|
function rd(e, t) {
|
|
32074
32099
|
for (const n in e)
|
|
32075
32100
|
if (typeof e[n] == "object")
|
|
@@ -32081,33 +32106,37 @@ function rd(e, t) {
|
|
|
32081
32106
|
else
|
|
32082
32107
|
n === "text" && t.push(e[n]);
|
|
32083
32108
|
}
|
|
32084
|
-
function
|
|
32109
|
+
function ES(e) {
|
|
32085
32110
|
if (e.json) {
|
|
32086
32111
|
const t = [];
|
|
32087
32112
|
return rd(e.json, t), t.join("");
|
|
32088
32113
|
}
|
|
32089
32114
|
return "";
|
|
32090
32115
|
}
|
|
32091
|
-
const
|
|
32092
|
-
|
|
32093
|
-
|
|
32094
|
-
mainEntity: e.map((t) => {
|
|
32095
|
-
if (yS(t) || NS(t))
|
|
32116
|
+
const Ow = (e) => {
|
|
32117
|
+
const t = e.map((n) => {
|
|
32118
|
+
if (NS(n) || CS(n))
|
|
32096
32119
|
return {
|
|
32097
32120
|
"@type": "Question",
|
|
32098
|
-
name:
|
|
32121
|
+
name: n.question,
|
|
32099
32122
|
acceptedAnswer: {
|
|
32100
32123
|
"@type": "Answer",
|
|
32101
|
-
text: "answer" in
|
|
32124
|
+
text: "answer" in n ? n.answer : ES(n.answerV2)
|
|
32102
32125
|
}
|
|
32103
32126
|
};
|
|
32104
|
-
})
|
|
32105
|
-
|
|
32127
|
+
}).filter(Boolean);
|
|
32128
|
+
if (t.length)
|
|
32129
|
+
return {
|
|
32130
|
+
"@context": "http://www.schema.org",
|
|
32131
|
+
"@type": "FAQPage",
|
|
32132
|
+
mainEntity: t
|
|
32133
|
+
};
|
|
32134
|
+
}, id = Math.log2(1.6745627884839434), TS = 4, xS = 19, od = "js-baidu-neg-lng-fix";
|
|
32106
32135
|
let o_;
|
|
32107
|
-
const
|
|
32136
|
+
const vS = new Promise((e) => o_ = e), SS = "https://api.map.baidu.com/geoconv/v1/";
|
|
32108
32137
|
let Xl = [];
|
|
32109
|
-
const
|
|
32110
|
-
let
|
|
32138
|
+
const wS = "gcj02ToBD09Callback_b872c21c";
|
|
32139
|
+
let OS = 0, Qg;
|
|
32111
32140
|
async function s_(e) {
|
|
32112
32141
|
return await new Promise((t, n) => {
|
|
32113
32142
|
Xl.push({ coordinates: e, resolve: t, reject: n }), Xl.length === 1 && (Qg = setTimeout(r, 100)), Xl.length > 40 && (clearTimeout(Qg), r());
|
|
@@ -32116,7 +32145,7 @@ async function s_(e) {
|
|
|
32116
32145
|
Xl = [];
|
|
32117
32146
|
const d = [].concat(
|
|
32118
32147
|
...l.map((_) => _.coordinates)
|
|
32119
|
-
), f =
|
|
32148
|
+
), f = wS + "_" + OS++, p = document.createElement("script");
|
|
32120
32149
|
window[f] = (_) => {
|
|
32121
32150
|
var S;
|
|
32122
32151
|
if (_.status) {
|
|
@@ -32137,7 +32166,7 @@ async function s_(e) {
|
|
|
32137
32166
|
)
|
|
32138
32167
|
);
|
|
32139
32168
|
}), delete window[f], (S = p.parentNode) == null || S.removeChild(p);
|
|
32140
|
-
},
|
|
32169
|
+
}, vS.then((_) => {
|
|
32141
32170
|
const T = {
|
|
32142
32171
|
ak: _,
|
|
32143
32172
|
callback: f,
|
|
@@ -32147,12 +32176,12 @@ async function s_(e) {
|
|
|
32147
32176
|
from: 3,
|
|
32148
32177
|
to: 5
|
|
32149
32178
|
};
|
|
32150
|
-
p.src =
|
|
32179
|
+
p.src = SS + "?" + Object.entries(T).map(([E, S]) => E + "=" + S).join("&"), document.head.appendChild(p);
|
|
32151
32180
|
});
|
|
32152
32181
|
}
|
|
32153
32182
|
});
|
|
32154
32183
|
}
|
|
32155
|
-
class
|
|
32184
|
+
class DS extends nl {
|
|
32156
32185
|
constructor(n) {
|
|
32157
32186
|
super(n);
|
|
32158
32187
|
Ie(this, "_wrapper");
|
|
@@ -32216,7 +32245,7 @@ class OS extends nl {
|
|
|
32216
32245
|
});
|
|
32217
32246
|
}
|
|
32218
32247
|
}
|
|
32219
|
-
class
|
|
32248
|
+
class AS extends rl {
|
|
32220
32249
|
constructor(n) {
|
|
32221
32250
|
super(n);
|
|
32222
32251
|
Ie(this, "_wrapper");
|
|
@@ -32296,8 +32325,8 @@ class DS extends rl {
|
|
|
32296
32325
|
return `${this._originalWrapperClass} ${this._negativeLngFix ? od : ""} ${this._wrapperClass}`;
|
|
32297
32326
|
}
|
|
32298
32327
|
}
|
|
32299
|
-
const
|
|
32300
|
-
function
|
|
32328
|
+
const MS = "https://api.map.baidu.com/getscript";
|
|
32329
|
+
function RS(e, t, n, { params: r = {}, version: l = "3.0" } = {}) {
|
|
32301
32330
|
window.BMAP_PROTOCOL = "https", window.BMap_loadScriptTime = (/* @__PURE__ */ new Date()).getTime();
|
|
32302
32331
|
const d = n, f = {
|
|
32303
32332
|
ak: d,
|
|
@@ -32306,18 +32335,18 @@ function MS(e, t, n, { params: r = {}, version: l = "3.0" } = {}) {
|
|
|
32306
32335
|
};
|
|
32307
32336
|
o_(d);
|
|
32308
32337
|
const p = document.createElement("script");
|
|
32309
|
-
p.src =
|
|
32338
|
+
p.src = MS + "?" + Object.entries(f).map(([E, S]) => E + "=" + S).join("&"), p.onload = () => e(), document.head.appendChild(p);
|
|
32310
32339
|
let _ = "";
|
|
32311
|
-
for (let E =
|
|
32340
|
+
for (let E = TS; E <= xS; E++) {
|
|
32312
32341
|
const S = 2 ** (E - id + 7);
|
|
32313
32342
|
_ += `[data-baidu-zoom="${E}"] .${od}{transform:translateX(-${S}px);}`;
|
|
32314
32343
|
}
|
|
32315
32344
|
const T = document.createElement("style");
|
|
32316
32345
|
T.appendChild(document.createTextNode(_)), document.head.appendChild(T);
|
|
32317
32346
|
}
|
|
32318
|
-
const
|
|
32347
|
+
const Dw = new ds().withLoadFunction(RS).withMapClass(DS).withPinClass(AS).withProviderName("Baidu").build();
|
|
32319
32348
|
let l_;
|
|
32320
|
-
function
|
|
32349
|
+
function bS() {
|
|
32321
32350
|
class e extends Microsoft.Maps.CustomOverlay {
|
|
32322
32351
|
constructor() {
|
|
32323
32352
|
super({ beneathLabels: !1 });
|
|
@@ -32362,7 +32391,7 @@ function RS() {
|
|
|
32362
32391
|
}
|
|
32363
32392
|
l_ = e;
|
|
32364
32393
|
}
|
|
32365
|
-
class
|
|
32394
|
+
class LS extends nl {
|
|
32366
32395
|
constructor(n) {
|
|
32367
32396
|
super(n);
|
|
32368
32397
|
Ie(this, "wrapper");
|
|
@@ -32453,10 +32482,10 @@ class a_ extends rl {
|
|
|
32453
32482
|
}
|
|
32454
32483
|
}
|
|
32455
32484
|
Ie(a_, "_pinId");
|
|
32456
|
-
const ep = "BingMapsCallback_593d7d33",
|
|
32457
|
-
function
|
|
32485
|
+
const ep = "BingMapsCallback_593d7d33", IS = "https://www.bing.com/api/maps/mapcontrol";
|
|
32486
|
+
function kS(e, t, n, { params: r = {} } = {}) {
|
|
32458
32487
|
window[ep] = () => {
|
|
32459
|
-
|
|
32488
|
+
bS(), e();
|
|
32460
32489
|
};
|
|
32461
32490
|
const l = {
|
|
32462
32491
|
callback: ep,
|
|
@@ -32464,11 +32493,11 @@ function IS(e, t, n, { params: r = {} } = {}) {
|
|
|
32464
32493
|
...r
|
|
32465
32494
|
};
|
|
32466
32495
|
fp(
|
|
32467
|
-
|
|
32496
|
+
IS + "?" + Object.entries(l).map(([d, f]) => d + "=" + f).join("&")
|
|
32468
32497
|
);
|
|
32469
32498
|
}
|
|
32470
|
-
const
|
|
32471
|
-
class
|
|
32499
|
+
const Aw = new ds().withLoadFunction(kS).withMapClass(LS).withPinClass(a_).withProviderName("Bing").build();
|
|
32500
|
+
class PS extends nl {
|
|
32472
32501
|
constructor(n) {
|
|
32473
32502
|
var r, l, d;
|
|
32474
32503
|
super(n);
|
|
@@ -32527,7 +32556,7 @@ class kS extends nl {
|
|
|
32527
32556
|
this.map && this.map[l ? "easeTo" : "jumpTo"]({ center: d, zoom: n - 1 });
|
|
32528
32557
|
}
|
|
32529
32558
|
}
|
|
32530
|
-
class
|
|
32559
|
+
class $S extends rl {
|
|
32531
32560
|
constructor(n) {
|
|
32532
32561
|
super(n);
|
|
32533
32562
|
Ie(this, "pin");
|
|
@@ -32557,7 +32586,7 @@ class PS extends rl {
|
|
|
32557
32586
|
(d = this.pin) == null || d.remove();
|
|
32558
32587
|
}
|
|
32559
32588
|
}
|
|
32560
|
-
function
|
|
32589
|
+
function FS(e, t, n, { version: r = "v1.13.0" } = {}) {
|
|
32561
32590
|
const l = `https://api.mapbox.com/mapbox-gl-js/${r}/mapbox-gl`, d = document.createElement("link");
|
|
32562
32591
|
d.rel = "stylesheet", d.href = l + ".css";
|
|
32563
32592
|
const f = document.createElement("script");
|
|
@@ -32565,7 +32594,7 @@ function $S(e, t, n, { version: r = "v1.13.0" } = {}) {
|
|
|
32565
32594
|
mapboxgl.accessToken = n, e();
|
|
32566
32595
|
}, document.head.appendChild(d), document.head.appendChild(f);
|
|
32567
32596
|
}
|
|
32568
|
-
const
|
|
32597
|
+
const Mw = new ds().withLoadFunction(FS).withMapClass(PS).withPinClass($S).withProviderName("Mapbox").build();
|
|
32569
32598
|
var cs;
|
|
32570
32599
|
let c_ = (cs = class extends nl {
|
|
32571
32600
|
constructor(n) {
|
|
@@ -32627,7 +32656,7 @@ let c_ = (cs = class extends nl {
|
|
|
32627
32656
|
};
|
|
32628
32657
|
d.accessToken = cs.apiKey, this.map && L.tileLayer(l, d).addTo(this.map);
|
|
32629
32658
|
}
|
|
32630
|
-
}, Ie(cs, "apiKey"), cs),
|
|
32659
|
+
}, Ie(cs, "apiKey"), cs), BS = class extends ad {
|
|
32631
32660
|
constructor(n) {
|
|
32632
32661
|
super(n);
|
|
32633
32662
|
Ie(this, "pin");
|
|
@@ -32665,7 +32694,7 @@ let c_ = (cs = class extends nl {
|
|
|
32665
32694
|
), this.pin.setZIndexOffset(n.getZIndex());
|
|
32666
32695
|
}
|
|
32667
32696
|
};
|
|
32668
|
-
function
|
|
32697
|
+
function HS(e, t, n, { version: r = "1.7.1" } = {}) {
|
|
32669
32698
|
const l = `https://unpkg.com/leaflet@${r}/dist/leaflet`;
|
|
32670
32699
|
c_.apiKey = n;
|
|
32671
32700
|
const d = document.createElement("link");
|
|
@@ -32673,8 +32702,8 @@ function BS(e, t, n, { version: r = "1.7.1" } = {}) {
|
|
|
32673
32702
|
const f = document.createElement("script");
|
|
32674
32703
|
f.src = l + ".js", f.onload = () => e(), document.head.appendChild(d), document.head.appendChild(f);
|
|
32675
32704
|
}
|
|
32676
|
-
const u_ = new ds().withLoadFunction(
|
|
32677
|
-
class
|
|
32705
|
+
const u_ = new ds().withLoadFunction(HS).withMapClass(c_).withPinClass(BS).withProviderName("Leaflet").build(), WS = u_.getMapClass(), KS = u_.getPinClass();
|
|
32706
|
+
class zS extends WS {
|
|
32678
32707
|
constructor() {
|
|
32679
32708
|
super(...arguments);
|
|
32680
32709
|
Ie(this, "map");
|
|
@@ -32696,9 +32725,9 @@ class KS extends HS {
|
|
|
32696
32725
|
});
|
|
32697
32726
|
}
|
|
32698
32727
|
}
|
|
32699
|
-
class
|
|
32728
|
+
class US extends KS {
|
|
32700
32729
|
}
|
|
32701
|
-
function
|
|
32730
|
+
function GS(e, t, n, { version: r = "v1.3.2" } = {}) {
|
|
32702
32731
|
const l = `https://api.mqcdn.com/sdk/mapquest-js/${r}/mapquest-maps`, d = document.createElement("link");
|
|
32703
32732
|
d.rel = "stylesheet", d.href = l + ".css";
|
|
32704
32733
|
const f = document.createElement("script");
|
|
@@ -32706,79 +32735,80 @@ function US(e, t, n, { version: r = "v1.3.2" } = {}) {
|
|
|
32706
32735
|
L.mapquest.key = n, e();
|
|
32707
32736
|
}, document.head.appendChild(d), document.head.appendChild(f);
|
|
32708
32737
|
}
|
|
32709
|
-
const
|
|
32738
|
+
const bw = new ds().withLoadFunction(GS).withMapClass(zS).withPinClass(US).withProviderName("MapQuest").build();
|
|
32710
32739
|
export {
|
|
32711
|
-
|
|
32712
|
-
|
|
32713
|
-
|
|
32714
|
-
|
|
32715
|
-
|
|
32716
|
-
|
|
32740
|
+
vw as $,
|
|
32741
|
+
ZS as A,
|
|
32742
|
+
QS as B,
|
|
32743
|
+
ew as C,
|
|
32744
|
+
tw as D,
|
|
32745
|
+
JS as E,
|
|
32717
32746
|
Uu as F,
|
|
32718
32747
|
ap as G,
|
|
32719
|
-
|
|
32720
|
-
|
|
32748
|
+
XS as H,
|
|
32749
|
+
nw as I,
|
|
32721
32750
|
ss as J,
|
|
32722
32751
|
hN as K,
|
|
32723
32752
|
ry as L,
|
|
32724
32753
|
cf as M,
|
|
32725
|
-
|
|
32754
|
+
rw as N,
|
|
32726
32755
|
ON as O,
|
|
32727
|
-
|
|
32756
|
+
ow as P,
|
|
32728
32757
|
_p as Q,
|
|
32729
|
-
|
|
32730
|
-
|
|
32731
|
-
|
|
32732
|
-
|
|
32733
|
-
|
|
32734
|
-
|
|
32735
|
-
|
|
32758
|
+
lw as R,
|
|
32759
|
+
sw as S,
|
|
32760
|
+
aw as T,
|
|
32761
|
+
cw as U,
|
|
32762
|
+
Nw as V,
|
|
32763
|
+
Cw as W,
|
|
32764
|
+
Ew as X,
|
|
32736
32765
|
sn as Y,
|
|
32737
|
-
|
|
32766
|
+
Tw as Z,
|
|
32738
32767
|
Ld as _,
|
|
32739
|
-
|
|
32740
|
-
|
|
32741
|
-
|
|
32742
|
-
|
|
32743
|
-
|
|
32744
|
-
|
|
32745
|
-
|
|
32746
|
-
|
|
32747
|
-
|
|
32748
|
-
|
|
32749
|
-
|
|
32750
|
-
|
|
32751
|
-
|
|
32752
|
-
|
|
32753
|
-
|
|
32768
|
+
yw as a,
|
|
32769
|
+
Sw as a0,
|
|
32770
|
+
ww as a1,
|
|
32771
|
+
Ow as a2,
|
|
32772
|
+
ES as a3,
|
|
32773
|
+
n_ as a4,
|
|
32774
|
+
oS as a5,
|
|
32775
|
+
gS as a6,
|
|
32776
|
+
i_ as a7,
|
|
32777
|
+
aS as a8,
|
|
32778
|
+
cS as a9,
|
|
32779
|
+
Id as aa,
|
|
32780
|
+
xw as ab,
|
|
32781
|
+
yS as ac,
|
|
32782
|
+
_S as ad,
|
|
32754
32783
|
Dw as ae,
|
|
32755
|
-
|
|
32756
|
-
|
|
32757
|
-
|
|
32758
|
-
|
|
32759
|
-
|
|
32784
|
+
Aw as af,
|
|
32785
|
+
vN as ag,
|
|
32786
|
+
Mw as ah,
|
|
32787
|
+
u_ as ai,
|
|
32788
|
+
bw as aj,
|
|
32789
|
+
un as ak,
|
|
32760
32790
|
rp as b,
|
|
32761
32791
|
sa as c,
|
|
32762
|
-
|
|
32792
|
+
mw as d,
|
|
32763
32793
|
fc as e,
|
|
32764
|
-
|
|
32794
|
+
uw as f,
|
|
32765
32795
|
oa as g,
|
|
32766
32796
|
gg as h,
|
|
32767
|
-
|
|
32797
|
+
fw as i,
|
|
32768
32798
|
ft as j,
|
|
32769
|
-
|
|
32770
|
-
|
|
32771
|
-
|
|
32799
|
+
dw as k,
|
|
32800
|
+
pw as l,
|
|
32801
|
+
_w as m,
|
|
32772
32802
|
ua as n,
|
|
32773
|
-
|
|
32803
|
+
hw as o,
|
|
32774
32804
|
Zl as p,
|
|
32775
|
-
|
|
32805
|
+
gw as q,
|
|
32776
32806
|
vE as r,
|
|
32777
32807
|
_d as s,
|
|
32778
32808
|
CE as t,
|
|
32779
32809
|
uE as u,
|
|
32780
32810
|
Qp as v,
|
|
32781
|
-
|
|
32811
|
+
qS as w,
|
|
32782
32812
|
rN as x,
|
|
32783
32813
|
lp as y,
|
|
32784
32814
|
ca as z
|