@visitscotland/component-library 5.15.3 → 5.16.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/client/manifest.json +14 -16
- package/dist/client/scripts/2265981c0419fd31e547.js +1 -0
- package/dist/client/scripts/{d7c116548c18ae4946f6.js → 49f72f28d28a8aea228b.js} +1 -1
- package/dist/client/scripts/701b3f29f72a42f4ba5b.js +1 -0
- package/dist/client/scripts/{d4e53de1fac9706422b8.js → 721044e6d4d9f7d20737.js} +1 -1
- package/dist/client/scripts/{5f1fb56b0d235de7a280.js → 7b75378e25bc74c7aeb0.js} +1 -1
- package/dist/client/styles/701b3f29f72a42f4ba5b.css +1 -0
- package/dist/components/components/panel/Panel.vue.d.ts +25 -663
- package/dist/components/stores/federatedSearch.store.d.ts +7 -1
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library.js +34 -34
- package/dist/components/vs-component-library.mjs +696 -683
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{a2de22def952bbe88547.css → 9a83335238cd4a02f82a.css} +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/38d93988ab8f6c51fb4d.js +0 -1
- package/dist/client/scripts/e9fdb60cef82c8616777.js +0 -1
- package/dist/client/styles/38d93988ab8f6c51fb4d.css +0 -1
- /package/dist/client/styles/{e9fdb60cef82c8616777.css → 2265981c0419fd31e547.css} +0 -0
- /package/dist/client/styles/{5f1fb56b0d235de7a280.css → 7b75378e25bc74c7aeb0.css} +0 -0
|
@@ -25,12 +25,12 @@ const _sfc_main$2r = {
|
|
|
25
25
|
validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}, _hoisted_1$
|
|
28
|
+
}, _hoisted_1$1U = {
|
|
29
29
|
class: "vs-accordion",
|
|
30
30
|
"data-test": "vs-accordion"
|
|
31
31
|
};
|
|
32
32
|
function _sfc_render$29(e, n, t, a, r, s) {
|
|
33
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1U, [
|
|
34
34
|
renderSlot(e.$slots, "default")
|
|
35
35
|
]);
|
|
36
36
|
}
|
|
@@ -63,7 +63,7 @@ const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["render", _sfc_r
|
|
|
63
63
|
this.$emit("toggle-panel");
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
}, _hoisted_1$
|
|
66
|
+
}, _hoisted_1$1T = { class: "vs-accordion-toggle__text" }, _hoisted_2$1n = { class: "vs-accordion-toggle__icon" };
|
|
67
67
|
function _sfc_render$28(e, n, t, a, r, s) {
|
|
68
68
|
const o = resolveComponent("VsButton");
|
|
69
69
|
return openBlock(), createBlock(o, {
|
|
@@ -76,7 +76,7 @@ function _sfc_render$28(e, n, t, a, r, s) {
|
|
|
76
76
|
rounded: !1
|
|
77
77
|
}, {
|
|
78
78
|
default: withCtx(() => [
|
|
79
|
-
createElementVNode("span", _hoisted_1$
|
|
79
|
+
createElementVNode("span", _hoisted_1$1T, [
|
|
80
80
|
renderSlot(e.$slots, "default")
|
|
81
81
|
]),
|
|
82
82
|
createElementVNode("span", _hoisted_2$1n, [
|
|
@@ -268,13 +268,13 @@ const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["render", _s
|
|
|
268
268
|
components: {
|
|
269
269
|
VsIcon
|
|
270
270
|
}
|
|
271
|
-
}, _hoisted_1$
|
|
271
|
+
}, _hoisted_1$1S = {
|
|
272
272
|
class: "vs-address",
|
|
273
273
|
"data-test": "vs-address"
|
|
274
274
|
}, _hoisted_2$1m = { class: "vs-address__address-box" };
|
|
275
275
|
function _sfc_render$26(e, n, t, a, r, s) {
|
|
276
276
|
const o = resolveComponent("VsIcon");
|
|
277
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
277
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1S, [
|
|
278
278
|
createVNode(o, {
|
|
279
279
|
icon: "fa-regular fa-location-dot",
|
|
280
280
|
class: "vs-address__map-marker me-050"
|
|
@@ -291,13 +291,13 @@ const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["render", _sfc_rende
|
|
|
291
291
|
components: {
|
|
292
292
|
VsIcon
|
|
293
293
|
}
|
|
294
|
-
}, _hoisted_1$
|
|
294
|
+
}, _hoisted_1$1R = {
|
|
295
295
|
class: "vs-alert",
|
|
296
296
|
"data-test": "vs-alert"
|
|
297
297
|
}, _hoisted_2$1l = { class: "vs-alert__icon-holder" }, _hoisted_3$15 = { class: "vs-alert__content-wrapper" }, _hoisted_4$P = { class: "vs-alert__content" };
|
|
298
298
|
function _sfc_render$25(e, n, t, a, r, s) {
|
|
299
299
|
const o = resolveComponent("VsIcon");
|
|
300
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
300
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1R, [
|
|
301
301
|
createElementVNode("div", _hoisted_2$1l, [
|
|
302
302
|
createVNode(o, {
|
|
303
303
|
class: "vs-alert__icon",
|
|
@@ -369,7 +369,7 @@ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["render", _sfc_render$
|
|
|
369
369
|
)
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
}, _hoisted_1$
|
|
372
|
+
}, _hoisted_1$1Q = ["id"], _hoisted_2$1k = { class: "vs-article__content" };
|
|
373
373
|
function _sfc_render$24(e, n, t, a, r, s) {
|
|
374
374
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsBody"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
375
375
|
return openBlock(), createElementBlock("article", mergeProps({
|
|
@@ -408,7 +408,7 @@ function _sfc_render$24(e, n, t, a, r, s) {
|
|
|
408
408
|
default: withCtx(() => [
|
|
409
409
|
createElementVNode("span", {
|
|
410
410
|
id: t.anchorLink ? t.anchorLink : ""
|
|
411
|
-
}, toDisplayString(t.title), 9, _hoisted_1$
|
|
411
|
+
}, toDisplayString(t.title), 9, _hoisted_1$1Q)
|
|
412
412
|
]),
|
|
413
413
|
_: 1
|
|
414
414
|
}, 8, ["level", "heading-style", "class"]),
|
|
@@ -574,7 +574,7 @@ function _sfc_render$22(e, n, t, a, r, s) {
|
|
|
574
574
|
], 2)) : createCommentVNode("", !0)
|
|
575
575
|
], 2);
|
|
576
576
|
}
|
|
577
|
-
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$22]]), _hoisted_1$
|
|
577
|
+
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$22]]), _hoisted_1$1P = {
|
|
578
578
|
class: "vs-back-to-top",
|
|
579
579
|
"data-test": "vs-back-to-top"
|
|
580
580
|
}, _sfc_main$2j = {
|
|
@@ -610,7 +610,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sf
|
|
|
610
610
|
window.addEventListener("scroll", a);
|
|
611
611
|
}), onUnmounted(() => {
|
|
612
612
|
window.removeEventListener("scroll", a);
|
|
613
|
-
}), (s, o) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
613
|
+
}), (s, o) => (openBlock(), createElementBlock("div", _hoisted_1$1P, [
|
|
614
614
|
t.value ? (openBlock(), createBlock(VsButton, {
|
|
615
615
|
key: 0,
|
|
616
616
|
icon: "vs-icon-control-back-to-top",
|
|
@@ -746,7 +746,7 @@ const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_rende
|
|
|
746
746
|
this.setCookie("vs_showbanner", this.showBanner, !e, !0);
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
-
}, _hoisted_1$
|
|
749
|
+
}, _hoisted_1$1O = {
|
|
750
750
|
key: 0,
|
|
751
751
|
class: "vs-banner",
|
|
752
752
|
"data-test": "vs-banner",
|
|
@@ -757,7 +757,7 @@ const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_rende
|
|
|
757
757
|
};
|
|
758
758
|
function _sfc_render$20(e, n, t, a, r, s) {
|
|
759
759
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsCol"), l = resolveComponent("VsBody"), c = resolveComponent("VsRow"), u = resolveComponent("VsButton"), d = resolveComponent("VsContainer");
|
|
760
|
-
return r.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
760
|
+
return r.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$1O, [
|
|
761
761
|
createVNode(d, null, {
|
|
762
762
|
default: withCtx(() => [
|
|
763
763
|
createVNode(c, null, {
|
|
@@ -867,7 +867,7 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render
|
|
|
867
867
|
return this.articleAuthor ? "secondary" : "highlight";
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
}, _hoisted_1$
|
|
870
|
+
}, _hoisted_1$1N = {
|
|
871
871
|
key: 0,
|
|
872
872
|
class: "vs-article-details",
|
|
873
873
|
"data-test": "vs-article-details"
|
|
@@ -883,7 +883,7 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render
|
|
|
883
883
|
};
|
|
884
884
|
function _sfc_render$1$(e, n, t, a, r, s) {
|
|
885
885
|
const o = resolveComponent("VsIcon");
|
|
886
|
-
return t.articleAuthor || t.articleReadTime || t.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
886
|
+
return t.articleAuthor || t.articleReadTime || t.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$1N, [
|
|
887
887
|
t.articleAuthor ? (openBlock(), createElementBlock("div", _hoisted_2$1i, toDisplayString(t.articleAuthor), 1)) : createCommentVNode("", !0),
|
|
888
888
|
t.articleReadTime || t.articlePublishDate ? (openBlock(), createElementBlock("div", {
|
|
889
889
|
key: 1,
|
|
@@ -912,13 +912,13 @@ const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sf
|
|
|
912
912
|
components: {
|
|
913
913
|
BBreadcrumb: pi$2
|
|
914
914
|
}
|
|
915
|
-
}, _hoisted_1$
|
|
915
|
+
}, _hoisted_1$1M = {
|
|
916
916
|
"aria-label": "breadcrumbs",
|
|
917
917
|
class: "vs-breadcrumb py-050"
|
|
918
918
|
};
|
|
919
919
|
function _sfc_render$1_(e, n, t, a, r, s) {
|
|
920
920
|
const o = resolveComponent("BBreadcrumb");
|
|
921
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
921
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$1M, [
|
|
922
922
|
createVNode(o, mergeProps({ class: "flex-nowrap p-0 mb-0" }, e.$attrs), {
|
|
923
923
|
default: withCtx(() => [
|
|
924
924
|
renderSlot(e.$slots, "default")
|
|
@@ -1110,7 +1110,7 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
1110
1110
|
(e.keyCode === 13 || e.keyCode === 32) && (e.preventDefault(), this.clickHandler(e));
|
|
1111
1111
|
}
|
|
1112
1112
|
}
|
|
1113
|
-
}, _hoisted_1$
|
|
1113
|
+
}, _hoisted_1$1L = ["href", "download", "disabled", "tabindex"];
|
|
1114
1114
|
function _sfc_render$1Y(e, n, t, a, r, s) {
|
|
1115
1115
|
const o = resolveComponent("VsIcon");
|
|
1116
1116
|
return openBlock(), createElementBlock("a", mergeProps({
|
|
@@ -1134,7 +1134,7 @@ function _sfc_render$1Y(e, n, t, a, r, s) {
|
|
|
1134
1134
|
size: t.iconSize,
|
|
1135
1135
|
class: "ms-025 vs-link__icon"
|
|
1136
1136
|
}, null, 8, ["icon", "variant", "size"])) : createCommentVNode("", !0)
|
|
1137
|
-
], 16, _hoisted_1$
|
|
1137
|
+
], 16, _hoisted_1$1L);
|
|
1138
1138
|
}
|
|
1139
1139
|
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render$1Y]]), _sfc_main$2c = {
|
|
1140
1140
|
name: "VsCannedSearchProductCard",
|
|
@@ -1241,7 +1241,7 @@ const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render
|
|
|
1241
1241
|
return this.visibleSlides.indexOf(e) >= 0;
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
|
-
}, _hoisted_1$
|
|
1244
|
+
}, _hoisted_1$1K = { class: "vs-product-card__image-container" }, _hoisted_2$1h = { class: "vs-product-card__image-inner-container" }, _hoisted_3$13 = { class: "vs-product-card__description" }, _hoisted_4$N = {
|
|
1245
1245
|
key: 0,
|
|
1246
1246
|
class: "vs-product-card__description-inner"
|
|
1247
1247
|
}, _hoisted_5$x = { class: "visually-hidden" }, _hoisted_6$m = {
|
|
@@ -1264,7 +1264,7 @@ function _sfc_render$1X(e, n, t, a, r, s) {
|
|
|
1264
1264
|
"data-test": "vs-product-card"
|
|
1265
1265
|
}, [
|
|
1266
1266
|
createElementVNode("section", mergeProps({ class: "card" }, e.$attrs), [
|
|
1267
|
-
createElementVNode("div", _hoisted_1$
|
|
1267
|
+
createElementVNode("div", _hoisted_1$1K, [
|
|
1268
1268
|
createElementVNode("div", _hoisted_2$1h, [
|
|
1269
1269
|
createVNode(o, {
|
|
1270
1270
|
src: t.imgSrc,
|
|
@@ -1353,12 +1353,12 @@ const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["r
|
|
|
1353
1353
|
default: null
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
}, _hoisted_1$
|
|
1356
|
+
}, _hoisted_1$1J = {
|
|
1357
1357
|
class: "vs-canned-search-stars",
|
|
1358
1358
|
"data-test": "vs-canned-search-stars"
|
|
1359
1359
|
}, _hoisted_2$1g = { key: 0 }, _hoisted_3$12 = { key: 1 };
|
|
1360
1360
|
function _sfc_render$1W(e, n, t, a, r, s) {
|
|
1361
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1361
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1J, [
|
|
1362
1362
|
t.min && t.max && t.min !== t.max ? (openBlock(), createElementBlock("div", _hoisted_2$1g, [
|
|
1363
1363
|
n[0] || (n[0] = createElementVNode("span", { class: "vs-canned-search-stars__star" }, " ★ ", -1)),
|
|
1364
1364
|
createTextVNode(" " + toDisplayString(t.min) + "-" + toDisplayString(t.max), 1)
|
|
@@ -1456,10 +1456,10 @@ const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_ren
|
|
|
1456
1456
|
default: null
|
|
1457
1457
|
}
|
|
1458
1458
|
}
|
|
1459
|
-
}, _hoisted_1$
|
|
1459
|
+
}, _hoisted_1$1I = { class: "vs-canned-search-logos" };
|
|
1460
1460
|
function _sfc_render$1U(e, n, t, a, r, s) {
|
|
1461
1461
|
const o = resolveComponent("VsImg"), i = resolveComponent("VsTooltip");
|
|
1462
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1462
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1I, [
|
|
1463
1463
|
t.goodToGoLogo ? (openBlock(), createBlock(i, {
|
|
1464
1464
|
key: 0,
|
|
1465
1465
|
title: t.goodToGoLogo.name,
|
|
@@ -1561,12 +1561,12 @@ const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render"
|
|
|
1561
1561
|
return this.categories ? this.categories.slice(0, 3).map((e) => e.name).join(" | ") : "";
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
|
-
}, _hoisted_1$
|
|
1564
|
+
}, _hoisted_1$1H = {
|
|
1565
1565
|
class: "vs-canned-search-categories",
|
|
1566
1566
|
"data-test": "vs-canned-search-categories"
|
|
1567
1567
|
};
|
|
1568
1568
|
function _sfc_render$1T(e, n, t, a, r, s) {
|
|
1569
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1569
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1H, toDisplayString(s.transformedCategories), 1);
|
|
1570
1570
|
}
|
|
1571
1571
|
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_render$1T]]), _sfc_main$27 = {
|
|
1572
1572
|
name: "VsCannedSearchPrice",
|
|
@@ -1595,7 +1595,7 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["re
|
|
|
1595
1595
|
default: ""
|
|
1596
1596
|
}
|
|
1597
1597
|
}
|
|
1598
|
-
}, _hoisted_1$
|
|
1598
|
+
}, _hoisted_1$1G = { class: "vs-canned-search-price" }, _hoisted_2$1f = {
|
|
1599
1599
|
key: 0,
|
|
1600
1600
|
class: "vs-canned-search-price__intro"
|
|
1601
1601
|
}, _hoisted_3$11 = {
|
|
@@ -1606,7 +1606,7 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["re
|
|
|
1606
1606
|
class: "vs-canned-search-price__outro"
|
|
1607
1607
|
};
|
|
1608
1608
|
function _sfc_render$1S(e, n, t, a, r, s) {
|
|
1609
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1609
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1G, [
|
|
1610
1610
|
t.priceIntro ? (openBlock(), createElementBlock("div", _hoisted_2$1f, toDisplayString(t.priceIntro), 1)) : createCommentVNode("", !0),
|
|
1611
1611
|
t.price ? (openBlock(), createElementBlock("div", _hoisted_3$11, toDisplayString(t.price), 1)) : createCommentVNode("", !0),
|
|
1612
1612
|
t.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$M, toDisplayString(t.priceOutro), 1)) : createCommentVNode("", !0)
|
|
@@ -1632,7 +1632,7 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render"
|
|
|
1632
1632
|
default: ""
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
|
-
}, _hoisted_1$
|
|
1635
|
+
}, _hoisted_1$1F = { class: "vs-canned-search-duration" }, _hoisted_2$1e = {
|
|
1636
1636
|
key: 0,
|
|
1637
1637
|
class: "vs-canned-search-duration__intro"
|
|
1638
1638
|
}, _hoisted_3$10 = {
|
|
@@ -1640,7 +1640,7 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render"
|
|
|
1640
1640
|
class: "vs-canned-search-duration__main"
|
|
1641
1641
|
};
|
|
1642
1642
|
function _sfc_render$1R(e, n, t, a, r, s) {
|
|
1643
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1643
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
1644
1644
|
t.durationIntro ? (openBlock(), createElementBlock("div", _hoisted_2$1e, toDisplayString(t.durationIntro), 1)) : createCommentVNode("", !0),
|
|
1645
1645
|
t.duration ? (openBlock(), createElementBlock("div", _hoisted_3$10, toDisplayString(t.duration), 1)) : createCommentVNode("", !0)
|
|
1646
1646
|
]);
|
|
@@ -1687,7 +1687,7 @@ const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["rend
|
|
|
1687
1687
|
default: ""
|
|
1688
1688
|
}
|
|
1689
1689
|
}
|
|
1690
|
-
}, _hoisted_1$
|
|
1690
|
+
}, _hoisted_1$1E = ["disabled"], _hoisted_2$1d = { class: "visually-hidden" };
|
|
1691
1691
|
function _sfc_render$1Q(e, n, t, a, r, s) {
|
|
1692
1692
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsLink"), c = resolveComponent("VsContainer");
|
|
1693
1693
|
return openBlock(), createElementBlock("div", {
|
|
@@ -1756,7 +1756,7 @@ function _sfc_render$1Q(e, n, t, a, r, s) {
|
|
|
1756
1756
|
]),
|
|
1757
1757
|
_: 3
|
|
1758
1758
|
})
|
|
1759
|
-
], 8, _hoisted_1$
|
|
1759
|
+
], 8, _hoisted_1$1E);
|
|
1760
1760
|
}
|
|
1761
1761
|
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$1Q]]), _sfc_main$24 = {
|
|
1762
1762
|
name: "VsCannedSearchDates",
|
|
@@ -1785,9 +1785,9 @@ const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["re
|
|
|
1785
1785
|
return this.period && this.period.startDay ? this.period.endDay ? `${this.period.startDay} - ${this.period.endDay}` : this.period.startDay : "";
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
|
-
}, _hoisted_1$
|
|
1788
|
+
}, _hoisted_1$1D = { class: "vs-canned-search-dates" }, _hoisted_2$1c = { class: "vs-canned-search-dates__intro" }, _hoisted_3$$ = { class: "vs-canned-search-dates__main" };
|
|
1789
1789
|
function _sfc_render$1P(e, n, t, a, r, s) {
|
|
1790
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1790
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1D, [
|
|
1791
1791
|
createElementVNode("div", _hoisted_2$1c, toDisplayString(t.label), 1),
|
|
1792
1792
|
createElementVNode("div", _hoisted_3$$, toDisplayString(s.datePeriod), 1)
|
|
1793
1793
|
]);
|
|
@@ -1837,7 +1837,7 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render"
|
|
|
1837
1837
|
return this.multiBadgeOne ? this.multiBadgeOne.slice(0, 3) : [];
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
}, _hoisted_1$
|
|
1840
|
+
}, _hoisted_1$1C = { class: "vs-canned-search-badges" }, _hoisted_2$1b = {
|
|
1841
1841
|
key: 0,
|
|
1842
1842
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__badge--tr"
|
|
1843
1843
|
}, _hoisted_3$_ = {
|
|
@@ -1851,7 +1851,7 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render"
|
|
|
1851
1851
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--open vs-canned-search-badges__badge--br"
|
|
1852
1852
|
};
|
|
1853
1853
|
function _sfc_render$1O(e, n, t, a, r, s) {
|
|
1854
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1854
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1C, [
|
|
1855
1855
|
t.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$1b, toDisplayString(t.badgeOne), 1)) : t.multiBadgeOne && t.multiBadgeOne.length ? (openBlock(), createElementBlock("div", _hoisted_3$_, [
|
|
1856
1856
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.limitedMulti, (o, i) => (openBlock(), createElementBlock("div", {
|
|
1857
1857
|
key: i,
|
|
@@ -1876,12 +1876,12 @@ const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render
|
|
|
1876
1876
|
default: null
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
|
-
}, _hoisted_1$
|
|
1879
|
+
}, _hoisted_1$1B = {
|
|
1880
1880
|
class: "vs-canned-search-cuisines",
|
|
1881
1881
|
"data-test": "vs-canned-search-cuisines"
|
|
1882
1882
|
};
|
|
1883
1883
|
function _sfc_render$1N(e, n, t, a, r, s) {
|
|
1884
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1884
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1B, [
|
|
1885
1885
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.cuisines, (o, i) => (openBlock(), createElementBlock("span", {
|
|
1886
1886
|
class: "vs-canned-search-cuisines__cuisine",
|
|
1887
1887
|
key: i
|
|
@@ -1969,9 +1969,9 @@ const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["re
|
|
|
1969
1969
|
return this.endDay && (e = `${e} - ${this.endDay}`), e;
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
|
-
}, _hoisted_1$
|
|
1972
|
+
}, _hoisted_1$1A = { class: "vs-canned-search-tour-runs" };
|
|
1973
1973
|
function _sfc_render$1L(e, n, t, a, r, s) {
|
|
1974
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
1974
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1A, toDisplayString(s.formattedPeriod), 1);
|
|
1975
1975
|
}
|
|
1976
1976
|
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc_render$1L]]), _sfc_main$1$ = {
|
|
1977
1977
|
name: "VsCannedSearchTourDeparts",
|
|
@@ -2003,9 +2003,9 @@ const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["rend
|
|
|
2003
2003
|
return this.origins ? this.origins.map((e) => e.name).join(", ") : "";
|
|
2004
2004
|
}
|
|
2005
2005
|
}
|
|
2006
|
-
}, _hoisted_1$
|
|
2006
|
+
}, _hoisted_1$1z = { class: "vs-canned-search-tour-departs" }, _hoisted_2$1a = { class: "vs-canned-search-tour-departs__label" };
|
|
2007
2007
|
function _sfc_render$1K(e, n, t, a, r, s) {
|
|
2008
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
2008
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1z, [
|
|
2009
2009
|
createElementVNode("span", _hoisted_2$1a, toDisplayString(t.label) + ":", 1),
|
|
2010
2010
|
createTextVNode(" " + toDisplayString(s.transformedOrigins), 1)
|
|
2011
2011
|
]);
|
|
@@ -2173,7 +2173,7 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["r
|
|
|
2173
2173
|
return 100 / this.slidesPerPage[this.currentWidth] * n;
|
|
2174
2174
|
}
|
|
2175
2175
|
}
|
|
2176
|
-
}, _hoisted_1$
|
|
2176
|
+
}, _hoisted_1$1y = {
|
|
2177
2177
|
class: "vs-carousel",
|
|
2178
2178
|
"data-test": "vs-carousel",
|
|
2179
2179
|
ref: "carousel"
|
|
@@ -2189,7 +2189,7 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["r
|
|
|
2189
2189
|
};
|
|
2190
2190
|
function _sfc_render$1J(e, n, t, a, r, s) {
|
|
2191
2191
|
const o = resolveComponent("VsButton"), i = resolveComponent("VsRow"), l = resolveComponent("VsCol"), c = resolveComponent("VsContainer");
|
|
2192
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
2192
|
+
return openBlock(), createElementBlock("section", _hoisted_1$1y, [
|
|
2193
2193
|
createVNode(c, null, {
|
|
2194
2194
|
default: withCtx(() => [
|
|
2195
2195
|
createVNode(i, null, {
|
|
@@ -2555,15 +2555,15 @@ const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _s
|
|
|
2555
2555
|
return e.covidInformation && e.covidInformation.weAreOpen ? e.covidInformation.weAreOpen : e.opening && e.opening.nowOn ? e.opening.nowOn : "";
|
|
2556
2556
|
}
|
|
2557
2557
|
}
|
|
2558
|
-
}, _hoisted_1$
|
|
2558
|
+
}, _hoisted_1$1x = {
|
|
2559
2559
|
class: "vs-canned-search",
|
|
2560
2560
|
"data-test": "vs-canned-search"
|
|
2561
2561
|
};
|
|
2562
2562
|
function _sfc_render$1H(e, n, t, a, r, s) {
|
|
2563
|
-
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), u = resolveComponent("VsCannedSearchTourDeparts"), d = resolveComponent("VsCannedSearchSubHeading"), m = resolveComponent("VsCannedSearchStars"), f = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), _ = resolveComponent("VsCannedSearchDates"), v = resolveComponent("VsCannedSearchDuration"), b = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), C = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), V = resolveComponent("VsCarousel"),
|
|
2564
|
-
return withDirectives((openBlock(), createBlock(
|
|
2563
|
+
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), u = resolveComponent("VsCannedSearchTourDeparts"), d = resolveComponent("VsCannedSearchSubHeading"), m = resolveComponent("VsCannedSearchStars"), f = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), _ = resolveComponent("VsCannedSearchDates"), v = resolveComponent("VsCannedSearchDuration"), b = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), C = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), V = resolveComponent("VsCarousel"), E = resolveComponent("VsModuleWrapper");
|
|
2564
|
+
return withDirectives((openBlock(), createBlock(E, null, createSlots({
|
|
2565
2565
|
default: withCtx(() => [
|
|
2566
|
-
createElementVNode("div", _hoisted_1$
|
|
2566
|
+
createElementVNode("div", _hoisted_1$1x, [
|
|
2567
2567
|
createVNode(l, null, {
|
|
2568
2568
|
default: withCtx(() => [
|
|
2569
2569
|
createVNode(i, null, {
|
|
@@ -2600,9 +2600,9 @@ function _sfc_render$1H(e, n, t, a, r, s) {
|
|
|
2600
2600
|
renderSlot(e.$slots, "vs-canned-search-of")
|
|
2601
2601
|
]),
|
|
2602
2602
|
default: withCtx(() => [
|
|
2603
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.products, (N,
|
|
2604
|
-
key:
|
|
2605
|
-
"slide-index": `${
|
|
2603
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.products, (N, O) => (openBlock(), createBlock(S, {
|
|
2604
|
+
key: O,
|
|
2605
|
+
"slide-index": `${O}`,
|
|
2606
2606
|
"img-src": N.images ? N.images[0].mediaUrl : "",
|
|
2607
2607
|
title: N.name,
|
|
2608
2608
|
"detail-link": {
|
|
@@ -2830,7 +2830,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["render", _sfc_
|
|
|
2830
2830
|
return (t - e) * a / (n - e);
|
|
2831
2831
|
}
|
|
2832
2832
|
}
|
|
2833
|
-
}, _hoisted_1$
|
|
2833
|
+
}, _hoisted_1$1w = ["width", "height"], _hoisted_2$18 = ["stroke"], _hoisted_3$Y = ["stroke"], _hoisted_4$J = ["stroke"], _hoisted_5$u = ["stroke"], _hoisted_6$k = ["stroke"], _hoisted_7$g = ["stroke"], _hoisted_8$6 = ["stroke"], _hoisted_9$5 = ["stroke"], _hoisted_10$5 = ["stroke"], _hoisted_11$4 = ["stroke"], _hoisted_12$3 = ["stroke"], _hoisted_13$3 = ["stroke"], _hoisted_14$2 = ["stroke"], _hoisted_15$2 = ["stroke"], _hoisted_16$2 = ["stroke"], _hoisted_17$2 = ["stroke"], _hoisted_18$1 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20$1 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
|
|
2834
2834
|
function _sfc_render$1G(e, n, t, a, r, s) {
|
|
2835
2835
|
return openBlock(), createElementBlock("svg", {
|
|
2836
2836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3249,7 +3249,7 @@ function _sfc_render$1G(e, n, t, a, r, s) {
|
|
|
3249
3249
|
cx: s.positionX,
|
|
3250
3250
|
cy: s.positionY
|
|
3251
3251
|
}, null, 8, _hoisted_33)
|
|
3252
|
-
], 8, _hoisted_1$
|
|
3252
|
+
], 8, _hoisted_1$1w);
|
|
3253
3253
|
}
|
|
3254
3254
|
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_render$1G]]), _sfc_main$1W = {
|
|
3255
3255
|
name: "VsCaption",
|
|
@@ -3327,7 +3327,7 @@ const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render",
|
|
|
3327
3327
|
];
|
|
3328
3328
|
}
|
|
3329
3329
|
}
|
|
3330
|
-
}, _hoisted_1$
|
|
3330
|
+
}, _hoisted_1$1v = { class: "vs-caption__caption-info" }, _hoisted_2$17 = {
|
|
3331
3331
|
key: 0,
|
|
3332
3332
|
class: "vs-caption__image-caption"
|
|
3333
3333
|
}, _hoisted_3$X = {
|
|
@@ -3348,7 +3348,7 @@ function _sfc_render$1F(e, n, t, a, r, s) {
|
|
|
3348
3348
|
class: normalizeClass(["order-2 order-sm-1", [s.showMap ? "" : "align-self-center"]])
|
|
3349
3349
|
}, {
|
|
3350
3350
|
default: withCtx(() => [
|
|
3351
|
-
createElementVNode("div", _hoisted_1$
|
|
3351
|
+
createElementVNode("div", _hoisted_1$1v, [
|
|
3352
3352
|
e.$slots.caption ? (openBlock(), createElementBlock("p", _hoisted_2$17, [
|
|
3353
3353
|
renderSlot(e.$slots, "caption")
|
|
3354
3354
|
])) : createCommentVNode("", !0),
|
|
@@ -3458,7 +3458,7 @@ const VsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render", _sfc_ren
|
|
|
3458
3458
|
const e = getCurrentInstance();
|
|
3459
3459
|
this.compId = ref(e.uid);
|
|
3460
3460
|
}
|
|
3461
|
-
}, _hoisted_1$
|
|
3461
|
+
}, _hoisted_1$1u = {
|
|
3462
3462
|
key: 1,
|
|
3463
3463
|
class: "vs-progress-bar__stepper"
|
|
3464
3464
|
}, _hoisted_2$16 = ["id"], _hoisted_3$W = ["id"];
|
|
@@ -3480,7 +3480,7 @@ function _sfc_render$1E(e, n, t, a, r, s) {
|
|
|
3480
3480
|
]),
|
|
3481
3481
|
_: 1
|
|
3482
3482
|
}, 8, ["max"])) : createCommentVNode("", !0),
|
|
3483
|
-
t.isStepped && t.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3483
|
+
t.isStepped && t.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$1u, [
|
|
3484
3484
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.max, (l) => (openBlock(), createBlock(i, {
|
|
3485
3485
|
key: l,
|
|
3486
3486
|
max: 1
|
|
@@ -3524,13 +3524,13 @@ const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["render", _sfc
|
|
|
3524
3524
|
default: !1
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
|
-
}, _hoisted_1$
|
|
3527
|
+
}, _hoisted_1$1t = {
|
|
3528
3528
|
class: "vs-carbon-calculator-tip",
|
|
3529
3529
|
"data-test": "vs-carbon-calculator-tip"
|
|
3530
3530
|
}, _hoisted_2$15 = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$V = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$H = ["innerHTML"], _hoisted_5$t = ["innerHTML"];
|
|
3531
3531
|
function _sfc_render$1D(e, n, t, a, r, s) {
|
|
3532
3532
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsHeading");
|
|
3533
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3533
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1t, [
|
|
3534
3534
|
createElementVNode("div", _hoisted_2$15, [
|
|
3535
3535
|
createVNode(o, {
|
|
3536
3536
|
icon: "fa-kit fa-vs-coo-head",
|
|
@@ -5060,40 +5060,40 @@ function formatLocale(e) {
|
|
|
5060
5060
|
d = formatSpecifier(d);
|
|
5061
5061
|
var m = d.fill, f = d.align, p = d.sign, g = d.symbol, _ = d.zero, v = d.width, b = d.comma, k = d.precision, C = d.trim, S = d.type;
|
|
5062
5062
|
S === "n" ? (b = !0, S = "g") : formatTypes[S] || (k === void 0 && (k = 12), C = !0, S = "g"), (_ || m === "0" && f === "=") && (_ = !0, m = "0", f = "=");
|
|
5063
|
-
var V = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "",
|
|
5063
|
+
var V = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "", E = g === "$" ? a : /[%p]/.test(S) ? o : "", N = formatTypes[S], O = /[defgprs%]/.test(S);
|
|
5064
5064
|
k = k === void 0 ? 6 : /[gprs]/.test(S) ? Math.max(1, Math.min(21, k)) : Math.max(0, Math.min(20, k));
|
|
5065
|
-
function R(
|
|
5066
|
-
var z = V,
|
|
5065
|
+
function R(D) {
|
|
5066
|
+
var z = V, P = E, j, Z, Q;
|
|
5067
5067
|
if (S === "c")
|
|
5068
|
-
|
|
5068
|
+
P = N(D) + P, D = "";
|
|
5069
5069
|
else {
|
|
5070
|
-
|
|
5071
|
-
var Y =
|
|
5072
|
-
if (
|
|
5073
|
-
for (j = -1, Z =
|
|
5074
|
-
if (Q =
|
|
5075
|
-
|
|
5070
|
+
D = +D;
|
|
5071
|
+
var Y = D < 0 || 1 / D < 0;
|
|
5072
|
+
if (D = isNaN(D) ? l : N(Math.abs(D), k), C && (D = formatTrim(D)), Y && +D == 0 && p !== "+" && (Y = !1), z = (Y ? p === "(" ? p : i : p === "-" || p === "(" ? "" : p) + z, P = (S === "s" ? prefixes[8 + prefixExponent / 3] : "") + P + (Y && p === "(" ? ")" : ""), O) {
|
|
5073
|
+
for (j = -1, Z = D.length; ++j < Z; )
|
|
5074
|
+
if (Q = D.charCodeAt(j), 48 > Q || Q > 57) {
|
|
5075
|
+
P = (Q === 46 ? r + D.slice(j + 1) : D.slice(j)) + P, D = D.slice(0, j);
|
|
5076
5076
|
break;
|
|
5077
5077
|
}
|
|
5078
5078
|
}
|
|
5079
5079
|
}
|
|
5080
|
-
b && !_ && (
|
|
5081
|
-
var w = z.length +
|
|
5082
|
-
switch (b && _ && (
|
|
5080
|
+
b && !_ && (D = n(D, 1 / 0));
|
|
5081
|
+
var w = z.length + D.length + P.length, L = w < v ? new Array(v - w + 1).join(m) : "";
|
|
5082
|
+
switch (b && _ && (D = n(L + D, L.length ? v - P.length : 1 / 0), L = ""), f) {
|
|
5083
5083
|
case "<":
|
|
5084
|
-
|
|
5084
|
+
D = z + D + P + L;
|
|
5085
5085
|
break;
|
|
5086
5086
|
case "=":
|
|
5087
|
-
|
|
5087
|
+
D = z + L + D + P;
|
|
5088
5088
|
break;
|
|
5089
5089
|
case "^":
|
|
5090
|
-
|
|
5090
|
+
D = L.slice(0, w = L.length >> 1) + z + D + P + L.slice(w);
|
|
5091
5091
|
break;
|
|
5092
5092
|
default:
|
|
5093
|
-
|
|
5093
|
+
D = L + z + D + P;
|
|
5094
5094
|
break;
|
|
5095
5095
|
}
|
|
5096
|
-
return s(
|
|
5096
|
+
return s(D);
|
|
5097
5097
|
}
|
|
5098
5098
|
return R.toString = function() {
|
|
5099
5099
|
return d + "";
|
|
@@ -5393,14 +5393,14 @@ function intersect(e, n, t, a, r, s, o, i) {
|
|
|
5393
5393
|
return m = (u * (n - s) - d * (e - r)) / m, [e + m * l, n + m * c];
|
|
5394
5394
|
}
|
|
5395
5395
|
function cornerTangents(e, n, t, a, r, s, o) {
|
|
5396
|
-
var i = e - t, l = n - a, c = (o ? s : -s) / sqrt(i * i + l * l), u = c * l, d = -c * i, m = e + u, f = n + d, p = t + u, g = a + d, _ = (m + p) / 2, v = (f + g) / 2, b = p - m, k = g - f, C = b * b + k * k, S = r - s, V = m * g - p * f,
|
|
5397
|
-
return z * z +
|
|
5396
|
+
var i = e - t, l = n - a, c = (o ? s : -s) / sqrt(i * i + l * l), u = c * l, d = -c * i, m = e + u, f = n + d, p = t + u, g = a + d, _ = (m + p) / 2, v = (f + g) / 2, b = p - m, k = g - f, C = b * b + k * k, S = r - s, V = m * g - p * f, E = (k < 0 ? -1 : 1) * sqrt(max(0, S * S * C - V * V)), N = (V * k - b * E) / C, O = (-V * b - k * E) / C, R = (V * k + b * E) / C, D = (-V * b + k * E) / C, z = N - _, P = O - v, j = R - _, Z = D - v;
|
|
5397
|
+
return z * z + P * P > j * j + Z * Z && (N = R, O = D), {
|
|
5398
5398
|
cx: N,
|
|
5399
|
-
cy:
|
|
5399
|
+
cy: O,
|
|
5400
5400
|
x01: -u,
|
|
5401
5401
|
y01: -d,
|
|
5402
5402
|
x11: N * (r / S - 1),
|
|
5403
|
-
y11:
|
|
5403
|
+
y11: O * (r / S - 1)
|
|
5404
5404
|
};
|
|
5405
5405
|
}
|
|
5406
5406
|
function arc() {
|
|
@@ -5411,22 +5411,22 @@ function arc() {
|
|
|
5411
5411
|
else if (_ > tau$1 - epsilon$2)
|
|
5412
5412
|
i.moveTo(f * cos(p), f * sin(p)), i.arc(0, 0, f, p, g, !v), m > epsilon$2 && (i.moveTo(m * cos(g), m * sin(g)), i.arc(0, 0, m, g, p, v));
|
|
5413
5413
|
else {
|
|
5414
|
-
var b = p, k = g, C = p, S = g, V = _,
|
|
5415
|
-
if (
|
|
5416
|
-
var Z = asin(
|
|
5417
|
-
(V -= Z * 2) > epsilon$2 ? (Z *= v ? 1 : -1, C += Z, S -= Z) : (V = 0, C = S = (p + g) / 2), (
|
|
5414
|
+
var b = p, k = g, C = p, S = g, V = _, E = _, N = o.apply(this, arguments) / 2, O = N > epsilon$2 && (a ? +a.apply(this, arguments) : sqrt(m * m + f * f)), R = min(abs(f - m) / 2, +t.apply(this, arguments)), D = R, z = R, P, j;
|
|
5415
|
+
if (O > epsilon$2) {
|
|
5416
|
+
var Z = asin(O / m * sin(N)), Q = asin(O / f * sin(N));
|
|
5417
|
+
(V -= Z * 2) > epsilon$2 ? (Z *= v ? 1 : -1, C += Z, S -= Z) : (V = 0, C = S = (p + g) / 2), (E -= Q * 2) > epsilon$2 ? (Q *= v ? 1 : -1, b += Q, k -= Q) : (E = 0, b = k = (p + g) / 2);
|
|
5418
5418
|
}
|
|
5419
5419
|
var Y = f * cos(b), w = f * sin(b), L = m * cos(S), M = m * sin(S);
|
|
5420
5420
|
if (R > epsilon$2) {
|
|
5421
|
-
var q = f * cos(k), J = f * sin(k), $ = m * cos(C),
|
|
5421
|
+
var q = f * cos(k), J = f * sin(k), $ = m * cos(C), B = m * sin(C), T;
|
|
5422
5422
|
if (_ < pi$1)
|
|
5423
|
-
if (T = intersect(Y, w, $,
|
|
5424
|
-
var F = Y - T[0],
|
|
5425
|
-
|
|
5423
|
+
if (T = intersect(Y, w, $, B, q, J, L, M)) {
|
|
5424
|
+
var F = Y - T[0], A = w - T[1], H = q - T[0], W = J - T[1], U = 1 / sin(acos((F * H + A * W) / (sqrt(F * F + A * A) * sqrt(H * H + W * W))) / 2), G = sqrt(T[0] * T[0] + T[1] * T[1]);
|
|
5425
|
+
D = min(R, (m - G) / (U - 1)), z = min(R, (f - G) / (U + 1));
|
|
5426
5426
|
} else
|
|
5427
|
-
|
|
5427
|
+
D = z = 0;
|
|
5428
5428
|
}
|
|
5429
|
-
|
|
5429
|
+
E > epsilon$2 ? z > epsilon$2 ? (P = cornerTangents($, B, Y, w, f, z, v), j = cornerTangents(q, J, L, M, f, z, v), i.moveTo(P.cx + P.x01, P.cy + P.y01), z < R ? i.arc(P.cx, P.cy, z, atan2(P.y01, P.x01), atan2(j.y01, j.x01), !v) : (i.arc(P.cx, P.cy, z, atan2(P.y01, P.x01), atan2(P.y11, P.x11), !v), i.arc(0, 0, f, atan2(P.cy + P.y11, P.cx + P.x11), atan2(j.cy + j.y11, j.cx + j.x11), !v), i.arc(j.cx, j.cy, z, atan2(j.y11, j.x11), atan2(j.y01, j.x01), !v))) : (i.moveTo(Y, w), i.arc(0, 0, f, b, k, !v)) : i.moveTo(Y, w), !(m > epsilon$2) || !(V > epsilon$2) ? i.lineTo(L, M) : D > epsilon$2 ? (P = cornerTangents(L, M, q, J, m, -D, v), j = cornerTangents(Y, w, $, B, m, -D, v), i.lineTo(P.cx + P.x01, P.cy + P.y01), D < R ? i.arc(P.cx, P.cy, D, atan2(P.y01, P.x01), atan2(j.y01, j.x01), !v) : (i.arc(P.cx, P.cy, D, atan2(P.y01, P.x01), atan2(P.y11, P.x11), !v), i.arc(0, 0, m, atan2(P.cy + P.y11, P.cx + P.x11), atan2(j.cy + j.y11, j.cx + j.x11), v), i.arc(j.cx, j.cy, D, atan2(j.y11, j.x11), atan2(j.y01, j.x01), !v))) : i.arc(0, 0, m, S, C, v);
|
|
5430
5430
|
}
|
|
5431
5431
|
if (i.closePath(), u) return i = null, u + "" || null;
|
|
5432
5432
|
}
|
|
@@ -6493,15 +6493,15 @@ function entering() {
|
|
|
6493
6493
|
function axis(e, n) {
|
|
6494
6494
|
var t = [], a = null, r = null, s = 6, o = 6, i = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === top || e === left ? -1 : 1, u = e === left || e === right ? "x" : "y", d = e === top || e === bottom ? translateX : translateY;
|
|
6495
6495
|
function m(f) {
|
|
6496
|
-
var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = r ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), _ = Math.max(s, 0) + i, v = n.range(), b = +v[0] + l, k = +v[v.length - 1] + l, C = (n.bandwidth ? center : number)(n.copy(), l), S = f.selection ? f.selection() : f, V = S.selectAll(".domain").data([null]),
|
|
6497
|
-
V = V.merge(V.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")),
|
|
6496
|
+
var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = r ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), _ = Math.max(s, 0) + i, v = n.range(), b = +v[0] + l, k = +v[v.length - 1] + l, C = (n.bandwidth ? center : number)(n.copy(), l), S = f.selection ? f.selection() : f, V = S.selectAll(".domain").data([null]), E = S.selectAll(".tick").data(p, n).order(), N = E.exit(), O = E.enter().append("g").attr("class", "tick"), R = E.select("line"), D = E.select("text");
|
|
6497
|
+
V = V.merge(V.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), E = E.merge(O), R = R.merge(O.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), D = D.merge(O.append("text").attr("fill", "currentColor").attr(u, c * _).attr("dy", e === top ? "0em" : e === bottom ? "0.71em" : "0.32em")), f !== S && (V = V.transition(f), E = E.transition(f), R = R.transition(f), D = D.transition(f), N = N.transition(f).attr("opacity", epsilon).attr("transform", function(z) {
|
|
6498
6498
|
return isFinite(z = C(z)) ? d(z + l) : this.getAttribute("transform");
|
|
6499
|
-
}),
|
|
6500
|
-
var
|
|
6501
|
-
return d((
|
|
6502
|
-
})), N.remove(), V.attr("d", e === left || e === right ? o ? "M" + c * o + "," + b + "H" + l + "V" + k + "H" + c * o : "M" + l + "," + b + "V" + k : o ? "M" + b + "," + c * o + "V" + l + "H" + k + "V" + c * o : "M" + b + "," + l + "H" + k),
|
|
6499
|
+
}), O.attr("opacity", epsilon).attr("transform", function(z) {
|
|
6500
|
+
var P = this.parentNode.__axis;
|
|
6501
|
+
return d((P && isFinite(P = P(z)) ? P : C(z)) + l);
|
|
6502
|
+
})), N.remove(), V.attr("d", e === left || e === right ? o ? "M" + c * o + "," + b + "H" + l + "V" + k + "H" + c * o : "M" + l + "," + b + "V" + k : o ? "M" + b + "," + c * o + "V" + l + "H" + k + "V" + c * o : "M" + b + "," + l + "H" + k), E.attr("opacity", 1).attr("transform", function(z) {
|
|
6503
6503
|
return d(C(z) + l);
|
|
6504
|
-
}), R.attr(u + "2", c * s),
|
|
6504
|
+
}), R.attr(u + "2", c * s), D.attr(u, c * _).text(g), S.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === right ? "start" : e === left ? "end" : "middle"), S.each(function() {
|
|
6505
6505
|
this.__axis = C;
|
|
6506
6506
|
});
|
|
6507
6507
|
}
|
|
@@ -6585,8 +6585,8 @@ var useChart = () => inject("chart"), usePoints = (e, n = { stacked: !1, type: "
|
|
|
6585
6585
|
function d(f, p) {
|
|
6586
6586
|
const { bandScale: g, linearScale: _ } = i(), v = l(), b = c(), k = u();
|
|
6587
6587
|
return p.map((C) => {
|
|
6588
|
-
const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...C], data: C.data } }, V = g.scale(C.data[f]), [
|
|
6589
|
-
return a.config.direction === "horizontal" ? (S.y = Math.min(
|
|
6588
|
+
const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...C], data: C.data } }, V = g.scale(C.data[f]), [E, N] = _.map(C);
|
|
6589
|
+
return a.config.direction === "horizontal" ? (S.y = Math.min(E, N), S.height = Math.abs(E - N), S.x = k + V + v * b + o / 2, S.width = b) : a.config.direction === "vertical" && (S.x = Math.min(E, N), S.width = Math.abs(E - N), S.y = k + V + v * b + o / 2, S.height = b), S;
|
|
6590
6590
|
});
|
|
6591
6591
|
}
|
|
6592
6592
|
function m() {
|
|
@@ -8121,12 +8121,12 @@ var script = defineComponent({
|
|
|
8121
8121
|
}), { bar: t, canvas: r, direction: a, mouse: n };
|
|
8122
8122
|
}
|
|
8123
8123
|
});
|
|
8124
|
-
const _hoisted_1$
|
|
8124
|
+
const _hoisted_1$1s = {
|
|
8125
8125
|
key: 0,
|
|
8126
8126
|
class: "layer-hover-bar"
|
|
8127
8127
|
}, _hoisted_2$14 = ["x", "y", "width", "height"];
|
|
8128
8128
|
function render(e, n, t, a, r, s) {
|
|
8129
|
-
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
8129
|
+
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$1s, [
|
|
8130
8130
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, e.barStyle, {
|
|
8131
8131
|
x: e.bar.x,
|
|
8132
8132
|
y: e.bar.y,
|
|
@@ -8321,7 +8321,7 @@ const _sfc_main$1T = {
|
|
|
8321
8321
|
};
|
|
8322
8322
|
}
|
|
8323
8323
|
}
|
|
8324
|
-
}, _hoisted_1$
|
|
8324
|
+
}, _hoisted_1$1r = { class: "vs-carbon-calculator-results__headline" }, _hoisted_2$13 = { class: "mb-050" }, _hoisted_3$T = { class: "vs-carbon-calculator-results__total" }, _hoisted_4$F = ["innerHTML"], _hoisted_5$r = { class: "vs-carbon-calculator-results__unicorn-icon-container" }, _hoisted_6$i = { class: "vs-carbon-calculator-results__unicorn-content" };
|
|
8325
8325
|
function _sfc_render$1C(e, n, t, a, r, s) {
|
|
8326
8326
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsIcon"), u = resolveComponent("Grid"), d = resolveComponent("Bar"), m = resolveComponent("Chart"), f = resolveComponent("Responsive");
|
|
8327
8327
|
return openBlock(), createBlock(l, {
|
|
@@ -8352,7 +8352,7 @@ function _sfc_render$1C(e, n, t, a, r, s) {
|
|
|
8352
8352
|
md: "6"
|
|
8353
8353
|
}, {
|
|
8354
8354
|
default: withCtx(() => [
|
|
8355
|
-
createElementVNode("div", _hoisted_1$
|
|
8355
|
+
createElementVNode("div", _hoisted_1$1r, [
|
|
8356
8356
|
createElementVNode("p", _hoisted_2$13, toDisplayString(s.labelsMap.resultsIntro), 1),
|
|
8357
8357
|
createElementVNode("p", null, [
|
|
8358
8358
|
createElementVNode("span", _hoisted_3$T, toDisplayString(t.totalKilos.toLocaleString(t.language, {
|
|
@@ -8487,13 +8487,13 @@ const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["r
|
|
|
8487
8487
|
default: "en-gb"
|
|
8488
8488
|
}
|
|
8489
8489
|
}
|
|
8490
|
-
}, _hoisted_1$
|
|
8490
|
+
}, _hoisted_1$1q = {
|
|
8491
8491
|
class: "vs-carbon-calculator-running-total",
|
|
8492
8492
|
"data-test": "vs-carbon-calculator-running-total"
|
|
8493
8493
|
}, _hoisted_2$12 = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$S = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$E = { class: "vs-carbon-calculator-running-total__value" };
|
|
8494
8494
|
function _sfc_render$1B(e, n, t, a, r, s) {
|
|
8495
8495
|
const o = resolveComponent("VsIcon");
|
|
8496
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8496
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1q, [
|
|
8497
8497
|
createElementVNode("div", _hoisted_2$12, [
|
|
8498
8498
|
createVNode(o, {
|
|
8499
8499
|
icon: "fa-regular fa-pen-field",
|
|
@@ -8517,13 +8517,13 @@ const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$1S,
|
|
|
8517
8517
|
VsHeading
|
|
8518
8518
|
},
|
|
8519
8519
|
inject: ["labelsMap"]
|
|
8520
|
-
}, _hoisted_1$
|
|
8520
|
+
}, _hoisted_1$1p = {
|
|
8521
8521
|
class: "vs-carbon-calculator-intro",
|
|
8522
8522
|
"data-test": "vs-carbon-calculator-intro"
|
|
8523
8523
|
};
|
|
8524
8524
|
function _sfc_render$1A(e, n, t, a, r, s) {
|
|
8525
8525
|
const o = resolveComponent("VsHeading");
|
|
8526
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8526
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1p, [
|
|
8527
8527
|
createVNode(o, {
|
|
8528
8528
|
level: "2",
|
|
8529
8529
|
"heading-style": "heading-l"
|
|
@@ -8856,13 +8856,13 @@ function setValidations(e) {
|
|
|
8856
8856
|
});
|
|
8857
8857
|
const {
|
|
8858
8858
|
$dirty: V,
|
|
8859
|
-
$errors:
|
|
8859
|
+
$errors: E,
|
|
8860
8860
|
$invalid: N,
|
|
8861
|
-
$anyDirty:
|
|
8861
|
+
$anyDirty: O,
|
|
8862
8862
|
$error: R,
|
|
8863
|
-
$pending:
|
|
8863
|
+
$pending: D,
|
|
8864
8864
|
$touch: z,
|
|
8865
|
-
$reset:
|
|
8865
|
+
$reset: P,
|
|
8866
8866
|
$silentErrors: j,
|
|
8867
8867
|
$commit: Z
|
|
8868
8868
|
} = createMetaFields(k, C, s), Q = a ? computed$1({
|
|
@@ -8882,8 +8882,8 @@ function setValidations(e) {
|
|
|
8882
8882
|
});
|
|
8883
8883
|
async function Y() {
|
|
8884
8884
|
return z(), g.$rewardEarly && (Z(), await nextTick()), await nextTick(), new Promise((M) => {
|
|
8885
|
-
if (!
|
|
8886
|
-
const q = watch(
|
|
8885
|
+
if (!D.value) return M(!N.value);
|
|
8886
|
+
const q = watch(D, () => {
|
|
8887
8887
|
M(!N.value), q();
|
|
8888
8888
|
});
|
|
8889
8889
|
});
|
|
@@ -8900,12 +8900,12 @@ function setValidations(e) {
|
|
|
8900
8900
|
$model: Q,
|
|
8901
8901
|
$dirty: V,
|
|
8902
8902
|
$error: R,
|
|
8903
|
-
$errors:
|
|
8903
|
+
$errors: E,
|
|
8904
8904
|
$invalid: N,
|
|
8905
|
-
$anyDirty:
|
|
8906
|
-
$pending:
|
|
8905
|
+
$anyDirty: O,
|
|
8906
|
+
$pending: D,
|
|
8907
8907
|
$touch: z,
|
|
8908
|
-
$reset:
|
|
8908
|
+
$reset: P,
|
|
8909
8909
|
$path: u || ROOT_PATH,
|
|
8910
8910
|
$silentErrors: j,
|
|
8911
8911
|
$validate: Y,
|
|
@@ -9125,17 +9125,17 @@ function forEach(e) {
|
|
|
9125
9125
|
const C = unwrapNormalizedValidator(b).call(this, m, o, i, ...a), S = unwrapValidatorResponse(C);
|
|
9126
9126
|
if (g.$data[v] = C, g.$data.$invalid = !S || !!g.$data.$invalid, g.$data.$error = g.$data.$invalid, !S) {
|
|
9127
9127
|
let V = b.$message || "";
|
|
9128
|
-
const
|
|
9128
|
+
const E = b.$params || {};
|
|
9129
9129
|
typeof V == "function" && (V = V({
|
|
9130
9130
|
$pending: !1,
|
|
9131
9131
|
$invalid: !S,
|
|
9132
|
-
$params:
|
|
9132
|
+
$params: E,
|
|
9133
9133
|
$model: m,
|
|
9134
9134
|
$response: C
|
|
9135
9135
|
})), g.$errors.push({
|
|
9136
9136
|
$property: d,
|
|
9137
9137
|
$message: V,
|
|
9138
|
-
$params:
|
|
9138
|
+
$params: E,
|
|
9139
9139
|
$response: C,
|
|
9140
9140
|
$model: m,
|
|
9141
9141
|
$pending: !1,
|
|
@@ -9556,13 +9556,13 @@ const postcode = common$1.regex(/^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za
|
|
|
9556
9556
|
validations() {
|
|
9557
9557
|
return this.rules;
|
|
9558
9558
|
}
|
|
9559
|
-
}, _hoisted_1$
|
|
9559
|
+
}, _hoisted_1$1o = {
|
|
9560
9560
|
class: "vs-radio-button",
|
|
9561
9561
|
"data-test": "vs-radio-button"
|
|
9562
9562
|
}, _hoisted_2$11 = ["id"], _hoisted_3$R = { class: "visually-hidden" }, _hoisted_4$D = ["id"];
|
|
9563
9563
|
function _sfc_render$1z(e, n, t, a, r, s) {
|
|
9564
9564
|
const o = resolveComponent("BFormRadio"), i = resolveComponent("BFormRadioGroup");
|
|
9565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9565
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1o, [
|
|
9566
9566
|
e.errorsList.length || t.invalid ? (openBlock(), createElementBlock("div", {
|
|
9567
9567
|
key: 0,
|
|
9568
9568
|
role: "alert",
|
|
@@ -9844,10 +9844,10 @@ const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc
|
|
|
9844
9844
|
validations() {
|
|
9845
9845
|
return this.rules;
|
|
9846
9846
|
}
|
|
9847
|
-
}, _hoisted_1$
|
|
9847
|
+
}, _hoisted_1$1n = { "data-test": "vs-number-input" }, _hoisted_2$10 = ["id"], _hoisted_3$Q = ["id"], _hoisted_4$C = { class: "visually-hidden" }, _hoisted_5$q = { class: "visually-hidden" };
|
|
9848
9848
|
function _sfc_render$1y(e, n, t, a, r, s) {
|
|
9849
9849
|
const o = resolveComponent("VsButton"), i = resolveComponent("BFormInput");
|
|
9850
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9850
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1n, [
|
|
9851
9851
|
t.hintText ? (openBlock(), createElementBlock("p", {
|
|
9852
9852
|
key: 0,
|
|
9853
9853
|
class: "hint-text",
|
|
@@ -10025,7 +10025,7 @@ const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc
|
|
|
10025
10025
|
this.$emit("updateFieldData", e);
|
|
10026
10026
|
}
|
|
10027
10027
|
}
|
|
10028
|
-
}, _hoisted_1$
|
|
10028
|
+
}, _hoisted_1$1m = ["for"];
|
|
10029
10029
|
function _sfc_render$1x(e, n, t, a, r, s) {
|
|
10030
10030
|
const o = resolveComponent("VsRadioButton"), i = resolveComponent("VsNumberInput"), l = resolveComponent("BFormGroup");
|
|
10031
10031
|
return openBlock(), createBlock(l, {
|
|
@@ -10039,7 +10039,7 @@ function _sfc_render$1x(e, n, t, a, r, s) {
|
|
|
10039
10039
|
createElementVNode("label", {
|
|
10040
10040
|
class: "vs-carbon-calculator-question__label mb-200",
|
|
10041
10041
|
for: t.fieldName
|
|
10042
|
-
}, toDisplayString(t.label), 9, _hoisted_1$
|
|
10042
|
+
}, toDisplayString(t.label), 9, _hoisted_1$1m),
|
|
10043
10043
|
t.fieldType === "radio" ? (openBlock(), createBlock(o, {
|
|
10044
10044
|
key: 0,
|
|
10045
10045
|
"field-name": t.fieldName,
|
|
@@ -10483,10 +10483,10 @@ const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["
|
|
|
10483
10483
|
this.repeatableStages[this.activeStage].generations = n;
|
|
10484
10484
|
}
|
|
10485
10485
|
}
|
|
10486
|
-
}, _hoisted_1$
|
|
10486
|
+
}, _hoisted_1$1l = { class: "vs-carbon-calculator__wrapper" }, _hoisted_2$$ = { key: 1 };
|
|
10487
10487
|
function _sfc_render$1w(e, n, t, a, r, s) {
|
|
10488
10488
|
const o = resolveComponent("VsCarbonCalculatorIntro"), i = resolveComponent("VsProgressBar"), l = resolveComponent("VsHeading"), c = resolveComponent("VsCarbonCalculatorQuestion"), u = resolveComponent("VsButton"), d = resolveComponent("VsCarbonCalculatorTip"), m = resolveComponent("VsCol"), f = resolveComponent("VsCarbonCalculatorRunningTotal"), p = resolveComponent("VsCarbonCalculatorResults"), g = resolveComponent("VsRow"), _ = resolveComponent("VsContainer"), v = resolveComponent("VsWarning");
|
|
10489
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10489
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1l, [
|
|
10490
10490
|
createVNode(_, {
|
|
10491
10491
|
class: "vs-carbon-calculator",
|
|
10492
10492
|
"data-test": "vs-carbon-calculator"
|
|
@@ -10736,7 +10736,7 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _
|
|
|
10736
10736
|
} : null;
|
|
10737
10737
|
}
|
|
10738
10738
|
}
|
|
10739
|
-
}, _hoisted_1$
|
|
10739
|
+
}, _hoisted_1$1k = {
|
|
10740
10740
|
key: 0,
|
|
10741
10741
|
class: "vs-card__header"
|
|
10742
10742
|
}, _hoisted_2$_ = { class: "vs-card__body" }, _hoisted_3$P = {
|
|
@@ -10752,7 +10752,7 @@ function _sfc_render$1v(e, n, t, a, r, s) {
|
|
|
10752
10752
|
"data-test": "vs-card",
|
|
10753
10753
|
style: normalizeStyle(s.cardStyles)
|
|
10754
10754
|
}, [
|
|
10755
|
-
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10755
|
+
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
10756
10756
|
renderSlot(e.$slots, "vs-card-header")
|
|
10757
10757
|
])) : createCommentVNode("", !0),
|
|
10758
10758
|
createElementVNode("div", _hoisted_2$_, [
|
|
@@ -11089,7 +11089,7 @@ const VsCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_r
|
|
|
11089
11089
|
!this.videoId || !this.cookiesAllowed || this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
11090
11090
|
}
|
|
11091
11091
|
}
|
|
11092
|
-
}, _hoisted_1$
|
|
11092
|
+
}, _hoisted_1$1j = {
|
|
11093
11093
|
key: 0,
|
|
11094
11094
|
class: "vs-stretched-link-card__video-btn-text"
|
|
11095
11095
|
}, _hoisted_2$Z = {
|
|
@@ -11170,7 +11170,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11170
11170
|
onClick: s.emitShowModal
|
|
11171
11171
|
}, {
|
|
11172
11172
|
default: withCtx(() => [
|
|
11173
|
-
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11173
|
+
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$1j, toDisplayString(s.formattedVideoBtnText), 1)) : createCommentVNode("", !0),
|
|
11174
11174
|
createTextVNode(" " + toDisplayString(s.formattedVideoDuration), 1)
|
|
11175
11175
|
]),
|
|
11176
11176
|
_: 1
|
|
@@ -11297,7 +11297,7 @@ const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render"
|
|
|
11297
11297
|
default: ""
|
|
11298
11298
|
}
|
|
11299
11299
|
}
|
|
11300
|
-
}, _hoisted_1$
|
|
11300
|
+
}, _hoisted_1$1i = { class: "vs-stretched-link-panels" }, _hoisted_2$Y = {
|
|
11301
11301
|
class: "vs-stretched-link-panels__panel vs-stretched-link-panels__panel--days",
|
|
11302
11302
|
"data-test": "vs-stretched-link-panel--days"
|
|
11303
11303
|
}, _hoisted_3$N = { "data-test": "" }, _hoisted_4$z = { class: "vs-stretched-link-panels__days" }, _hoisted_5$o = {
|
|
@@ -11306,7 +11306,7 @@ const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render"
|
|
|
11306
11306
|
}, _hoisted_6$h = { "data-test": "vs-stretched-link-panel__icon" };
|
|
11307
11307
|
function _sfc_render$1s(e, n, t, a, r, s) {
|
|
11308
11308
|
const o = resolveComponent("VsIcon");
|
|
11309
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11309
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1i, [
|
|
11310
11310
|
createElementVNode("div", _hoisted_2$Y, [
|
|
11311
11311
|
createElementVNode("p", _hoisted_3$N, [
|
|
11312
11312
|
createElementVNode("span", _hoisted_4$z, toDisplayString(t.days), 1),
|
|
@@ -11423,7 +11423,7 @@ const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["rende
|
|
|
11423
11423
|
return this.visibleSlides.indexOf(n) >= 0;
|
|
11424
11424
|
}
|
|
11425
11425
|
}
|
|
11426
|
-
}, _hoisted_1$
|
|
11426
|
+
}, _hoisted_1$1h = { class: "vs-carousel-slide" }, _hoisted_2$X = { class: "visually-hidden" }, _hoisted_3$M = {
|
|
11427
11427
|
class: "vs-carousel-slide__title",
|
|
11428
11428
|
"data-test": "vs-carousel-slide__title"
|
|
11429
11429
|
};
|
|
@@ -11438,7 +11438,7 @@ function _sfc_render$1r(e, n, t, a, r, s) {
|
|
|
11438
11438
|
"aria-disabled": !s.isVisible(t.slideIndex)
|
|
11439
11439
|
}, {
|
|
11440
11440
|
default: withCtx(() => [
|
|
11441
|
-
createElementVNode("div", _hoisted_1$
|
|
11441
|
+
createElementVNode("div", _hoisted_1$1h, [
|
|
11442
11442
|
createVNode(i, {
|
|
11443
11443
|
link: t.linkUrl,
|
|
11444
11444
|
type: t.linkType,
|
|
@@ -11622,7 +11622,7 @@ const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc
|
|
|
11622
11622
|
validations() {
|
|
11623
11623
|
return this.rules;
|
|
11624
11624
|
}
|
|
11625
|
-
}, _hoisted_1$
|
|
11625
|
+
}, _hoisted_1$1g = ["id"], _hoisted_2$W = ["innerHTML"], _hoisted_3$L = ["id"], _hoisted_4$y = { class: "visually-hidden" }, _hoisted_5$n = { class: "vs-checkbox__label" };
|
|
11626
11626
|
function _sfc_render$1q(e, n, t, a, r, s) {
|
|
11627
11627
|
const o = resolveComponent("BFormCheckbox");
|
|
11628
11628
|
return openBlock(), createElementBlock("div", {
|
|
@@ -11631,7 +11631,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11631
11631
|
createElementVNode("p", {
|
|
11632
11632
|
class: "hint-text",
|
|
11633
11633
|
id: `hint-${t.fieldName}`
|
|
11634
|
-
}, toDisplayString(t.hintText), 9, _hoisted_1$
|
|
11634
|
+
}, toDisplayString(t.hintText), 9, _hoisted_1$1g),
|
|
11635
11635
|
t.infoText !== "" ? (openBlock(), createElementBlock("div", {
|
|
11636
11636
|
key: 0,
|
|
11637
11637
|
innerHTML: t.infoText
|
|
@@ -11825,7 +11825,7 @@ const VsDetail = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_rend
|
|
|
11825
11825
|
});
|
|
11826
11826
|
}
|
|
11827
11827
|
}
|
|
11828
|
-
}, _hoisted_1$
|
|
11828
|
+
}, _hoisted_1$1f = {
|
|
11829
11829
|
class: "dropdown-menu overflow-auto",
|
|
11830
11830
|
role: "menu"
|
|
11831
11831
|
};
|
|
@@ -11856,7 +11856,7 @@ function _sfc_render$1m(e, n, t, a, r, s) {
|
|
|
11856
11856
|
createElementVNode("div", {
|
|
11857
11857
|
class: normalizeClass([e.$attrs.class, "dropdown vs-dropdown vs-dropdown--fallback"])
|
|
11858
11858
|
}, [
|
|
11859
|
-
createElementVNode("ul", _hoisted_1$
|
|
11859
|
+
createElementVNode("ul", _hoisted_1$1f, [
|
|
11860
11860
|
renderSlot(e.$slots, "default")
|
|
11861
11861
|
])
|
|
11862
11862
|
], 2)
|
|
@@ -11961,7 +11961,7 @@ const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sf
|
|
|
11961
11961
|
}
|
|
11962
11962
|
}
|
|
11963
11963
|
}
|
|
11964
|
-
}, _hoisted_1$
|
|
11964
|
+
}, _hoisted_1$1e = {
|
|
11965
11965
|
"data-test": "vs-embed-wrapper",
|
|
11966
11966
|
class: "vs-embed-wrapper"
|
|
11967
11967
|
}, _hoisted_2$V = {
|
|
@@ -11970,7 +11970,7 @@ const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sf
|
|
|
11970
11970
|
}, _hoisted_3$K = { key: "fallback" }, _hoisted_4$x = ["innerHTML"];
|
|
11971
11971
|
function _sfc_render$1k(e, n, t, a, r, s) {
|
|
11972
11972
|
const o = resolveComponent("VsBody"), i = resolveComponent("VsCol"), l = resolveComponent("VsWarning"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
11973
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11973
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
11974
11974
|
createVNode(u, null, {
|
|
11975
11975
|
default: withCtx(() => [
|
|
11976
11976
|
createVNode(c, null, {
|
|
@@ -12082,7 +12082,7 @@ const EmbedWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_
|
|
|
12082
12082
|
default: ""
|
|
12083
12083
|
}
|
|
12084
12084
|
}
|
|
12085
|
-
}, _hoisted_1$
|
|
12085
|
+
}, _hoisted_1$1d = {
|
|
12086
12086
|
class: "card vs-event-card",
|
|
12087
12087
|
"data-test": "vs-event-card"
|
|
12088
12088
|
}, _hoisted_2$U = { class: "card-body" }, _hoisted_3$J = { class: "vs-event-card__date" }, _hoisted_4$w = {
|
|
@@ -12096,7 +12096,7 @@ const EmbedWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_
|
|
|
12096
12096
|
};
|
|
12097
12097
|
function _sfc_render$1j(e, n, t, a, r, s) {
|
|
12098
12098
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsButton");
|
|
12099
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12099
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
12100
12100
|
createElementVNode("div", _hoisted_2$U, [
|
|
12101
12101
|
createVNode(l, { class: "vs-event-card__header" }, {
|
|
12102
12102
|
default: withCtx(() => [
|
|
@@ -12156,7 +12156,7 @@ function _sfc_render$1j(e, n, t, a, r, s) {
|
|
|
12156
12156
|
])
|
|
12157
12157
|
]);
|
|
12158
12158
|
}
|
|
12159
|
-
const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1j]]), _hoisted_1$
|
|
12159
|
+
const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1j]]), _hoisted_1$1c = ["id"], _hoisted_2$T = { class: "vs-filter__panel-wrapper" }, _hoisted_3$I = { class: "vs-filter__legend" }, _sfc_main$1z = {
|
|
12160
12160
|
__name: "VsFilter",
|
|
12161
12161
|
props: {
|
|
12162
12162
|
/**
|
|
@@ -12215,7 +12215,7 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_ren
|
|
|
12215
12215
|
renderSlot(i.$slots, "default")
|
|
12216
12216
|
], 32)
|
|
12217
12217
|
])
|
|
12218
|
-
], 8, _hoisted_1$
|
|
12218
|
+
], 8, _hoisted_1$1c),
|
|
12219
12219
|
i.$slots["no-js"] ? (openBlock(), createBlock(VsWarning, {
|
|
12220
12220
|
key: 0,
|
|
12221
12221
|
class: "vs-filter__warning"
|
|
@@ -12227,7 +12227,7 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_ren
|
|
|
12227
12227
|
})) : createCommentVNode("", !0)
|
|
12228
12228
|
], 64));
|
|
12229
12229
|
}
|
|
12230
|
-
}, _hoisted_1$
|
|
12230
|
+
}, _hoisted_1$1b = {
|
|
12231
12231
|
key: 0,
|
|
12232
12232
|
class: "vs-filter-section__details"
|
|
12233
12233
|
}, _hoisted_2$S = { class: "vs-filter-section__summary" }, _hoisted_3$H = {
|
|
@@ -12261,7 +12261,7 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_ren
|
|
|
12261
12261
|
class: normalizeClass(t.value),
|
|
12262
12262
|
"data-test": "vs-filter-section"
|
|
12263
12263
|
}, [
|
|
12264
|
-
n.type === "group" ? (openBlock(), createElementBlock("details", _hoisted_1$
|
|
12264
|
+
n.type === "group" ? (openBlock(), createElementBlock("details", _hoisted_1$1b, [
|
|
12265
12265
|
createElementVNode("summary", _hoisted_2$S, [
|
|
12266
12266
|
createTextVNode(toDisplayString(n.sectionTitle) + " ", 1),
|
|
12267
12267
|
createVNode(VsIcon, {
|
|
@@ -12604,7 +12604,7 @@ const normalizeSlot = (e) => e.length === 1 ? e[0] : e, LazyHydrationWrapper = d
|
|
|
12604
12604
|
validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
|
|
12605
12605
|
}
|
|
12606
12606
|
}
|
|
12607
|
-
}, _hoisted_1$
|
|
12607
|
+
}, _hoisted_1$1a = { class: "vs-footer-nav-list" };
|
|
12608
12608
|
function _sfc_render$1i(e, n, t, a, r, s) {
|
|
12609
12609
|
const o = resolveComponent("VsRow"), i = resolveComponent("VsAccordion"), l = resolveComponent("LazyHydrationWrapper"), c = resolveComponent("VsContainer");
|
|
12610
12610
|
return openBlock(), createBlock(c, {
|
|
@@ -12614,7 +12614,7 @@ function _sfc_render$1i(e, n, t, a, r, s) {
|
|
|
12614
12614
|
default: withCtx(() => [
|
|
12615
12615
|
createVNode(l, { "on-interaction": ["focus", "click"] }, {
|
|
12616
12616
|
default: withCtx(() => [
|
|
12617
|
-
createElementVNode("div", _hoisted_1$
|
|
12617
|
+
createElementVNode("div", _hoisted_1$1a, [
|
|
12618
12618
|
createVNode(i, { "break-point": t.breakPoint }, {
|
|
12619
12619
|
default: withCtx(() => [
|
|
12620
12620
|
createVNode(o, null, {
|
|
@@ -12644,14 +12644,14 @@ const VsFooterNavList = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _s
|
|
|
12644
12644
|
VsContainer,
|
|
12645
12645
|
VsRow
|
|
12646
12646
|
}
|
|
12647
|
-
}, _hoisted_1$
|
|
12647
|
+
}, _hoisted_1$19 = {
|
|
12648
12648
|
class: "vs-footer pt-150 pt-md-300",
|
|
12649
12649
|
"data-unique-id": "vs-footer",
|
|
12650
12650
|
id: "site-footer"
|
|
12651
12651
|
}, _hoisted_2$R = { class: "vs-footer__social-menu-wrapper" };
|
|
12652
12652
|
function _sfc_render$1h(e, n, t, a, r, s) {
|
|
12653
12653
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsFooterNavList"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
12654
|
-
return openBlock(), createElementBlock("footer", _hoisted_1$
|
|
12654
|
+
return openBlock(), createElementBlock("footer", _hoisted_1$19, [
|
|
12655
12655
|
createVNode(i, { "break-point": "md" }, {
|
|
12656
12656
|
default: withCtx(() => [
|
|
12657
12657
|
renderSlot(e.$slots, "accordion-items"),
|
|
@@ -12806,14 +12806,14 @@ const FooterAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render"
|
|
|
12806
12806
|
default: ""
|
|
12807
12807
|
}
|
|
12808
12808
|
}
|
|
12809
|
-
}, _hoisted_1$
|
|
12809
|
+
}, _hoisted_1$18 = {
|
|
12810
12810
|
class: "vs-footer-nav-list-item",
|
|
12811
12811
|
"data-test": "vs-footer-nav-list-item",
|
|
12812
12812
|
role: "menuitem"
|
|
12813
12813
|
};
|
|
12814
12814
|
function _sfc_render$1f(e, n, t, a, r, s) {
|
|
12815
12815
|
const o = resolveComponent("VsLink");
|
|
12816
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
12816
|
+
return openBlock(), createElementBlock("li", _hoisted_1$18, [
|
|
12817
12817
|
createVNode(o, {
|
|
12818
12818
|
href: t.href,
|
|
12819
12819
|
type: t.type,
|
|
@@ -12877,13 +12877,13 @@ const VsList = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render
|
|
|
12877
12877
|
VsList,
|
|
12878
12878
|
VsHeading
|
|
12879
12879
|
}
|
|
12880
|
-
}, _hoisted_1$
|
|
12880
|
+
}, _hoisted_1$17 = {
|
|
12881
12881
|
class: "vs-footer-social-menu px-0 py-150 py-md-200 py-lg-0 px-lg-075",
|
|
12882
12882
|
"data-test": "vs-footer-social-menu"
|
|
12883
12883
|
};
|
|
12884
12884
|
function _sfc_render$1d(e, n, t, a, r, s) {
|
|
12885
12885
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsList");
|
|
12886
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12886
|
+
return openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
12887
12887
|
createVNode(o, {
|
|
12888
12888
|
level: "2",
|
|
12889
12889
|
"heading-style": "heading-xxs",
|
|
@@ -12939,13 +12939,13 @@ const FooterSocialMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _
|
|
|
12939
12939
|
default: ""
|
|
12940
12940
|
}
|
|
12941
12941
|
}
|
|
12942
|
-
}, _hoisted_1$
|
|
12942
|
+
}, _hoisted_1$16 = {
|
|
12943
12943
|
class: "vs-footer-social-item",
|
|
12944
12944
|
"data-test": "vs-footer-social-item"
|
|
12945
12945
|
};
|
|
12946
12946
|
function _sfc_render$1c(e, n, t, a, r, s) {
|
|
12947
12947
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsLink");
|
|
12948
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
12948
|
+
return openBlock(), createElementBlock("li", _hoisted_1$16, [
|
|
12949
12949
|
createVNode(i, {
|
|
12950
12950
|
"data-test": "vs-footer-social-item__link",
|
|
12951
12951
|
href: t.href,
|
|
@@ -12974,14 +12974,14 @@ const FooterSocialItem = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _
|
|
|
12974
12974
|
VsContainer,
|
|
12975
12975
|
VsCol
|
|
12976
12976
|
}
|
|
12977
|
-
}, _hoisted_1$
|
|
12977
|
+
}, _hoisted_1$15 = {
|
|
12978
12978
|
class: "vs-footer-utility-list",
|
|
12979
12979
|
"data-test": "vs-footer-utility-list",
|
|
12980
12980
|
"data-unique-id": "vs-footer-utility_links"
|
|
12981
12981
|
};
|
|
12982
12982
|
function _sfc_render$1b(e, n, t, a, r, s) {
|
|
12983
12983
|
const o = resolveComponent("VsList"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
12984
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12984
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
12985
12985
|
createVNode(c, null, {
|
|
12986
12986
|
default: withCtx(() => [
|
|
12987
12987
|
createVNode(l, null, {
|
|
@@ -13106,8 +13106,8 @@ function requireUtil$1() {
|
|
|
13106
13106
|
default:
|
|
13107
13107
|
return T;
|
|
13108
13108
|
}
|
|
13109
|
-
}),
|
|
13110
|
-
v(
|
|
13109
|
+
}), B = q[M]; M < J; B = q[++M])
|
|
13110
|
+
v(B) || !N(B) ? $ += " " + B : $ += " " + s(B);
|
|
13111
13111
|
return $;
|
|
13112
13112
|
}, e.deprecate = function(w, L) {
|
|
13113
13113
|
if (V(commonjsGlobal.process))
|
|
@@ -13187,7 +13187,7 @@ function requireUtil$1() {
|
|
|
13187
13187
|
}), L;
|
|
13188
13188
|
}
|
|
13189
13189
|
function c(w, L, M) {
|
|
13190
|
-
if (w.customInspect && L &&
|
|
13190
|
+
if (w.customInspect && L && D(L.inspect) && // Filter out the util module, it's inspect function is special
|
|
13191
13191
|
L.inspect !== e.inspect && // Also filter out any prototype objects using the circular check.
|
|
13192
13192
|
!(L.constructor && L.constructor.prototype === L)) {
|
|
13193
13193
|
var q = L.inspect(M, w);
|
|
@@ -13196,34 +13196,34 @@ function requireUtil$1() {
|
|
|
13196
13196
|
var J = u(w, L);
|
|
13197
13197
|
if (J)
|
|
13198
13198
|
return J;
|
|
13199
|
-
var $ = Object.keys(L),
|
|
13199
|
+
var $ = Object.keys(L), B = l($);
|
|
13200
13200
|
if (w.showHidden && ($ = Object.getOwnPropertyNames(L)), R(L) && ($.indexOf("message") >= 0 || $.indexOf("description") >= 0))
|
|
13201
13201
|
return d(L);
|
|
13202
13202
|
if ($.length === 0) {
|
|
13203
|
-
if (
|
|
13203
|
+
if (D(L)) {
|
|
13204
13204
|
var T = L.name ? ": " + L.name : "";
|
|
13205
13205
|
return w.stylize("[Function" + T + "]", "special");
|
|
13206
13206
|
}
|
|
13207
|
-
if (
|
|
13207
|
+
if (E(L))
|
|
13208
13208
|
return w.stylize(RegExp.prototype.toString.call(L), "regexp");
|
|
13209
|
-
if (
|
|
13209
|
+
if (O(L))
|
|
13210
13210
|
return w.stylize(Date.prototype.toString.call(L), "date");
|
|
13211
13211
|
if (R(L))
|
|
13212
13212
|
return d(L);
|
|
13213
13213
|
}
|
|
13214
|
-
var F = "",
|
|
13215
|
-
if (g(L) && (
|
|
13214
|
+
var F = "", A = !1, H = ["{", "}"];
|
|
13215
|
+
if (g(L) && (A = !0, H = ["[", "]"]), D(L)) {
|
|
13216
13216
|
var W = L.name ? ": " + L.name : "";
|
|
13217
13217
|
F = " [Function" + W + "]";
|
|
13218
13218
|
}
|
|
13219
|
-
if (
|
|
13219
|
+
if (E(L) && (F = " " + RegExp.prototype.toString.call(L)), O(L) && (F = " " + Date.prototype.toUTCString.call(L)), R(L) && (F = " " + d(L)), $.length === 0 && (!A || L.length == 0))
|
|
13220
13220
|
return H[0] + F + H[1];
|
|
13221
13221
|
if (M < 0)
|
|
13222
|
-
return
|
|
13222
|
+
return E(L) ? w.stylize(RegExp.prototype.toString.call(L), "regexp") : w.stylize("[Object]", "special");
|
|
13223
13223
|
w.seen.push(L);
|
|
13224
13224
|
var U;
|
|
13225
|
-
return
|
|
13226
|
-
return f(w, L, M,
|
|
13225
|
+
return A ? U = m(w, L, M, B, $) : U = $.map(function(G) {
|
|
13226
|
+
return f(w, L, M, B, G, A);
|
|
13227
13227
|
}), w.seen.pop(), p(U, F, H);
|
|
13228
13228
|
}
|
|
13229
13229
|
function u(w, L) {
|
|
@@ -13244,13 +13244,13 @@ function requireUtil$1() {
|
|
|
13244
13244
|
return "[" + Error.prototype.toString.call(w) + "]";
|
|
13245
13245
|
}
|
|
13246
13246
|
function m(w, L, M, q, J) {
|
|
13247
|
-
for (var $ = [],
|
|
13248
|
-
Y(L, String(
|
|
13247
|
+
for (var $ = [], B = 0, T = L.length; B < T; ++B)
|
|
13248
|
+
Y(L, String(B)) ? $.push(f(
|
|
13249
13249
|
w,
|
|
13250
13250
|
L,
|
|
13251
13251
|
M,
|
|
13252
13252
|
q,
|
|
13253
|
-
String(
|
|
13253
|
+
String(B),
|
|
13254
13254
|
!0
|
|
13255
13255
|
)) : $.push("");
|
|
13256
13256
|
return J.forEach(function(F) {
|
|
@@ -13265,23 +13265,23 @@ function requireUtil$1() {
|
|
|
13265
13265
|
}), $;
|
|
13266
13266
|
}
|
|
13267
13267
|
function f(w, L, M, q, J, $) {
|
|
13268
|
-
var
|
|
13269
|
-
if (F = Object.getOwnPropertyDescriptor(L, J) || { value: L[J] }, F.get ? F.set ? T = w.stylize("[Getter/Setter]", "special") : T = w.stylize("[Getter]", "special") : F.set && (T = w.stylize("[Setter]", "special")), Y(q, J) || (
|
|
13268
|
+
var B, T, F;
|
|
13269
|
+
if (F = Object.getOwnPropertyDescriptor(L, J) || { value: L[J] }, F.get ? F.set ? T = w.stylize("[Getter/Setter]", "special") : T = w.stylize("[Getter]", "special") : F.set && (T = w.stylize("[Setter]", "special")), Y(q, J) || (B = "[" + J + "]"), T || (w.seen.indexOf(F.value) < 0 ? (v(M) ? T = c(w, F.value, null) : T = c(w, F.value, M - 1), T.indexOf(`
|
|
13270
13270
|
`) > -1 && ($ ? T = T.split(`
|
|
13271
|
-
`).map(function(
|
|
13272
|
-
return " " +
|
|
13271
|
+
`).map(function(A) {
|
|
13272
|
+
return " " + A;
|
|
13273
13273
|
}).join(`
|
|
13274
13274
|
`).substr(2) : T = `
|
|
13275
13275
|
` + T.split(`
|
|
13276
|
-
`).map(function(
|
|
13277
|
-
return " " +
|
|
13276
|
+
`).map(function(A) {
|
|
13277
|
+
return " " + A;
|
|
13278
13278
|
}).join(`
|
|
13279
|
-
`))) : T = w.stylize("[Circular]", "special")), V(
|
|
13279
|
+
`))) : T = w.stylize("[Circular]", "special")), V(B)) {
|
|
13280
13280
|
if ($ && J.match(/^\d+$/))
|
|
13281
13281
|
return T;
|
|
13282
|
-
|
|
13282
|
+
B = JSON.stringify("" + J), B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (B = B.substr(1, B.length - 2), B = w.stylize(B, "name")) : (B = B.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), B = w.stylize(B, "string"));
|
|
13283
13283
|
}
|
|
13284
|
-
return
|
|
13284
|
+
return B + ": " + T;
|
|
13285
13285
|
}
|
|
13286
13286
|
function p(w, L, M) {
|
|
13287
13287
|
var q = w.reduce(function(J, $) {
|
|
@@ -13324,32 +13324,32 @@ function requireUtil$1() {
|
|
|
13324
13324
|
return w === void 0;
|
|
13325
13325
|
}
|
|
13326
13326
|
e.isUndefined = V;
|
|
13327
|
-
function
|
|
13328
|
-
return N(w) &&
|
|
13327
|
+
function E(w) {
|
|
13328
|
+
return N(w) && P(w) === "[object RegExp]";
|
|
13329
13329
|
}
|
|
13330
|
-
e.isRegExp =
|
|
13330
|
+
e.isRegExp = E;
|
|
13331
13331
|
function N(w) {
|
|
13332
13332
|
return typeof w == "object" && w !== null;
|
|
13333
13333
|
}
|
|
13334
13334
|
e.isObject = N;
|
|
13335
|
-
function
|
|
13336
|
-
return N(w) &&
|
|
13335
|
+
function O(w) {
|
|
13336
|
+
return N(w) && P(w) === "[object Date]";
|
|
13337
13337
|
}
|
|
13338
|
-
e.isDate =
|
|
13338
|
+
e.isDate = O;
|
|
13339
13339
|
function R(w) {
|
|
13340
|
-
return N(w) && (
|
|
13340
|
+
return N(w) && (P(w) === "[object Error]" || w instanceof Error);
|
|
13341
13341
|
}
|
|
13342
13342
|
e.isError = R;
|
|
13343
|
-
function
|
|
13343
|
+
function D(w) {
|
|
13344
13344
|
return typeof w == "function";
|
|
13345
13345
|
}
|
|
13346
|
-
e.isFunction =
|
|
13346
|
+
e.isFunction = D;
|
|
13347
13347
|
function z(w) {
|
|
13348
13348
|
return w === null || typeof w == "boolean" || typeof w == "number" || typeof w == "string" || typeof w == "symbol" || // ES6 symbol
|
|
13349
13349
|
typeof w > "u";
|
|
13350
13350
|
}
|
|
13351
13351
|
e.isPrimitive = z, e.isBuffer = requireIsBufferBrowser$1();
|
|
13352
|
-
function
|
|
13352
|
+
function P(w) {
|
|
13353
13353
|
return Object.prototype.toString.call(w);
|
|
13354
13354
|
}
|
|
13355
13355
|
function j(w) {
|
|
@@ -13465,9 +13465,9 @@ function requirePath() {
|
|
|
13465
13465
|
}
|
|
13466
13466
|
if (S == 0)
|
|
13467
13467
|
return p;
|
|
13468
|
-
for (var
|
|
13469
|
-
|
|
13470
|
-
return
|
|
13468
|
+
for (var E = [], V = S; V < b.length; V++)
|
|
13469
|
+
E.push("..");
|
|
13470
|
+
return E = E.concat(v.slice(S)), E.join("\\");
|
|
13471
13471
|
}, o._makeLong = function(f) {
|
|
13472
13472
|
if (!n.isString(f))
|
|
13473
13473
|
return f;
|
|
@@ -14213,32 +14213,32 @@ function requireAsync() {
|
|
|
14213
14213
|
});
|
|
14214
14214
|
}
|
|
14215
14215
|
S = s(v, S);
|
|
14216
|
-
var
|
|
14216
|
+
var E = S.isFile || u, N = S.isDirectory || d, O = S.readFile || e.readFile, R = S.realpath || m, D = S.readPackage || p;
|
|
14217
14217
|
if (S.readFile && S.readPackage) {
|
|
14218
14218
|
var z = new TypeError("`readFile` and `readPackage` are mutually exclusive.");
|
|
14219
14219
|
return process.nextTick(function() {
|
|
14220
14220
|
C(z);
|
|
14221
14221
|
});
|
|
14222
14222
|
}
|
|
14223
|
-
var
|
|
14223
|
+
var P = S.packageIterator, j = S.extensions || [".js"], Z = S.includeCoreModules !== !1, Q = S.basedir || t.dirname(a()), Y = S.filename || Q;
|
|
14224
14224
|
S.paths = S.paths || c();
|
|
14225
14225
|
var w = t.resolve(Q);
|
|
14226
14226
|
f(
|
|
14227
14227
|
R,
|
|
14228
14228
|
w,
|
|
14229
14229
|
S,
|
|
14230
|
-
function(
|
|
14231
|
-
|
|
14230
|
+
function(A, H) {
|
|
14231
|
+
A ? C(A) : M(H);
|
|
14232
14232
|
}
|
|
14233
14233
|
);
|
|
14234
14234
|
var L;
|
|
14235
|
-
function M(
|
|
14235
|
+
function M(A) {
|
|
14236
14236
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v))
|
|
14237
|
-
L = t.resolve(
|
|
14237
|
+
L = t.resolve(A, v), (v === "." || v === ".." || v.slice(-1) === "/") && (L += "/"), /\/$/.test(v) && L === A ? B(L, S.package, q) : J(L, S.package, q);
|
|
14238
14238
|
else {
|
|
14239
14239
|
if (Z && o(v))
|
|
14240
14240
|
return C(null, v);
|
|
14241
|
-
F(v,
|
|
14241
|
+
F(v, A, function(H, W, U) {
|
|
14242
14242
|
if (H) C(H);
|
|
14243
14243
|
else {
|
|
14244
14244
|
if (W)
|
|
@@ -14251,8 +14251,8 @@ function requireAsync() {
|
|
|
14251
14251
|
});
|
|
14252
14252
|
}
|
|
14253
14253
|
}
|
|
14254
|
-
function q(
|
|
14255
|
-
|
|
14254
|
+
function q(A, H, W) {
|
|
14255
|
+
A ? C(A) : H ? C(null, H, W) : B(L, function(U, G, ee) {
|
|
14256
14256
|
if (U) C(U);
|
|
14257
14257
|
else if (G)
|
|
14258
14258
|
f(R, G, S, function(te, ne) {
|
|
@@ -14264,11 +14264,11 @@ function requireAsync() {
|
|
|
14264
14264
|
}
|
|
14265
14265
|
});
|
|
14266
14266
|
}
|
|
14267
|
-
function J(
|
|
14267
|
+
function J(A, H, W) {
|
|
14268
14268
|
var U = H, G = W;
|
|
14269
14269
|
typeof U == "function" && (G = U, U = void 0);
|
|
14270
14270
|
var ee = [""].concat(j);
|
|
14271
|
-
X(ee,
|
|
14271
|
+
X(ee, A, U);
|
|
14272
14272
|
function X(te, ne, ae) {
|
|
14273
14273
|
if (te.length === 0) return G(null, void 0, ae);
|
|
14274
14274
|
var oe = ne + te[0], se = ae;
|
|
@@ -14283,7 +14283,7 @@ function requireAsync() {
|
|
|
14283
14283
|
se
|
|
14284
14284
|
);
|
|
14285
14285
|
}
|
|
14286
|
-
|
|
14286
|
+
E(oe, ce);
|
|
14287
14287
|
}
|
|
14288
14288
|
function ce(ie, ue) {
|
|
14289
14289
|
if (ie) return G(ie);
|
|
@@ -14292,30 +14292,30 @@ function requireAsync() {
|
|
|
14292
14292
|
}
|
|
14293
14293
|
}
|
|
14294
14294
|
}
|
|
14295
|
-
function $(
|
|
14296
|
-
if (
|
|
14297
|
-
f(R,
|
|
14298
|
-
if (W) return $(t.dirname(
|
|
14295
|
+
function $(A, H) {
|
|
14296
|
+
if (A === "" || A === "/" || /[/\\]node_modules[/\\]*$/.test(A)) return H(null);
|
|
14297
|
+
f(R, A, S, function(W, U) {
|
|
14298
|
+
if (W) return $(t.dirname(A), H);
|
|
14299
14299
|
var G = t.join(U, "package.json");
|
|
14300
|
-
|
|
14301
|
-
if (!X) return $(t.dirname(
|
|
14302
|
-
O
|
|
14300
|
+
E(G, function(ee, X) {
|
|
14301
|
+
if (!X) return $(t.dirname(A), H);
|
|
14302
|
+
D(O, G, function(te, ne) {
|
|
14303
14303
|
te && H(te);
|
|
14304
14304
|
var ae = ne;
|
|
14305
|
-
ae && S.packageFilter && (ae = S.packageFilter(ae, G)), H(null, ae,
|
|
14305
|
+
ae && S.packageFilter && (ae = S.packageFilter(ae, G)), H(null, ae, A);
|
|
14306
14306
|
});
|
|
14307
14307
|
});
|
|
14308
14308
|
});
|
|
14309
14309
|
}
|
|
14310
|
-
function
|
|
14310
|
+
function B(A, H, W) {
|
|
14311
14311
|
var U = W, G = H;
|
|
14312
|
-
typeof G == "function" && (U = G, G = S.package), f(R,
|
|
14312
|
+
typeof G == "function" && (U = G, G = S.package), f(R, A, S, function(ee, X) {
|
|
14313
14313
|
if (ee) return U(ee);
|
|
14314
14314
|
var te = t.join(X, "package.json");
|
|
14315
|
-
|
|
14315
|
+
E(te, function(ne, ae) {
|
|
14316
14316
|
if (ne) return U(ne);
|
|
14317
|
-
if (!ae) return J(t.join(
|
|
14318
|
-
O
|
|
14317
|
+
if (!ae) return J(t.join(A, "index"), G, U);
|
|
14318
|
+
D(O, te, function(oe, se) {
|
|
14319
14319
|
if (oe) return U(oe);
|
|
14320
14320
|
var I = se;
|
|
14321
14321
|
if (I && S.packageFilter && (I = S.packageFilter(I, te)), I && I.main) {
|
|
@@ -14323,51 +14323,51 @@ function requireAsync() {
|
|
|
14323
14323
|
var ce = new TypeError("package “" + I.name + "” `main` must be a string");
|
|
14324
14324
|
return ce.code = "INVALID_PACKAGE_MAIN", U(ce);
|
|
14325
14325
|
}
|
|
14326
|
-
(I.main === "." || I.main === "./") && (I.main = "index"), J(t.resolve(
|
|
14326
|
+
(I.main === "." || I.main === "./") && (I.main = "index"), J(t.resolve(A, I.main), I, function(ie, ue, le) {
|
|
14327
14327
|
if (ie) return U(ie);
|
|
14328
14328
|
if (ue) return U(null, ue, le);
|
|
14329
|
-
if (!le) return J(t.join(
|
|
14330
|
-
var fe = t.resolve(
|
|
14331
|
-
|
|
14329
|
+
if (!le) return J(t.join(A, "index"), le, U);
|
|
14330
|
+
var fe = t.resolve(A, le.main);
|
|
14331
|
+
B(fe, le, function(he, de, me) {
|
|
14332
14332
|
if (he) return U(he);
|
|
14333
14333
|
if (de) return U(null, de, me);
|
|
14334
|
-
J(t.join(
|
|
14334
|
+
J(t.join(A, "index"), me, U);
|
|
14335
14335
|
});
|
|
14336
14336
|
});
|
|
14337
14337
|
return;
|
|
14338
14338
|
}
|
|
14339
|
-
J(t.join(
|
|
14339
|
+
J(t.join(A, "/index"), I, U);
|
|
14340
14340
|
});
|
|
14341
14341
|
});
|
|
14342
14342
|
});
|
|
14343
14343
|
}
|
|
14344
|
-
function T(
|
|
14345
|
-
if (H.length === 0) return
|
|
14344
|
+
function T(A, H) {
|
|
14345
|
+
if (H.length === 0) return A(null, void 0);
|
|
14346
14346
|
var W = H[0];
|
|
14347
14347
|
N(t.dirname(W), U);
|
|
14348
14348
|
function U(X, te) {
|
|
14349
|
-
if (X) return
|
|
14350
|
-
if (!te) return T(
|
|
14349
|
+
if (X) return A(X);
|
|
14350
|
+
if (!te) return T(A, H.slice(1));
|
|
14351
14351
|
J(W, S.package, G);
|
|
14352
14352
|
}
|
|
14353
14353
|
function G(X, te, ne) {
|
|
14354
|
-
if (X) return
|
|
14355
|
-
if (te) return
|
|
14356
|
-
|
|
14354
|
+
if (X) return A(X);
|
|
14355
|
+
if (te) return A(null, te, ne);
|
|
14356
|
+
B(W, S.package, ee);
|
|
14357
14357
|
}
|
|
14358
14358
|
function ee(X, te, ne) {
|
|
14359
|
-
if (X) return
|
|
14360
|
-
if (te) return
|
|
14361
|
-
T(
|
|
14359
|
+
if (X) return A(X);
|
|
14360
|
+
if (te) return A(null, te, ne);
|
|
14361
|
+
T(A, H.slice(1));
|
|
14362
14362
|
}
|
|
14363
14363
|
}
|
|
14364
|
-
function F(
|
|
14364
|
+
function F(A, H, W) {
|
|
14365
14365
|
var U = function() {
|
|
14366
|
-
return g(
|
|
14366
|
+
return g(A, H, S);
|
|
14367
14367
|
};
|
|
14368
14368
|
T(
|
|
14369
14369
|
W,
|
|
14370
|
-
|
|
14370
|
+
P ? P(A, H, U, S) : U()
|
|
14371
14371
|
);
|
|
14372
14372
|
}
|
|
14373
14373
|
}, async;
|
|
@@ -14818,45 +14818,45 @@ function requireSync() {
|
|
|
14818
14818
|
return sync = function(v, b) {
|
|
14819
14819
|
if (typeof v != "string")
|
|
14820
14820
|
throw new TypeError("Path must be a string.");
|
|
14821
|
-
var k = o(v, b), C = k.isFile || u, S = k.readFileSync || n.readFileSync, V = k.isDirectory || d,
|
|
14821
|
+
var k = o(v, b), C = k.isFile || u, S = k.readFileSync || n.readFileSync, V = k.isDirectory || d, E = k.realpathSync || m, N = k.readPackageSync || p;
|
|
14822
14822
|
if (k.readFileSync && k.readPackageSync)
|
|
14823
14823
|
throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");
|
|
14824
|
-
var
|
|
14824
|
+
var O = k.packageIterator, R = k.extensions || [".js"], D = k.includeCoreModules !== !1, z = k.basedir || t.dirname(r()), P = k.filename || z;
|
|
14825
14825
|
k.paths = k.paths || c();
|
|
14826
|
-
var j = f(
|
|
14826
|
+
var j = f(E, t.resolve(z), k);
|
|
14827
14827
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v)) {
|
|
14828
14828
|
var Z = t.resolve(j, v);
|
|
14829
14829
|
(v === "." || v === ".." || v.slice(-1) === "/") && (Z += "/");
|
|
14830
14830
|
var Q = L(Z) || q(Z);
|
|
14831
|
-
if (Q) return f(
|
|
14831
|
+
if (Q) return f(E, Q, k);
|
|
14832
14832
|
} else {
|
|
14833
|
-
if (
|
|
14833
|
+
if (D && e(v))
|
|
14834
14834
|
return v;
|
|
14835
14835
|
var Y = J(v, j);
|
|
14836
|
-
if (Y) return f(
|
|
14836
|
+
if (Y) return f(E, Y, k);
|
|
14837
14837
|
}
|
|
14838
|
-
var w = new Error("Cannot find module '" + v + "' from '" +
|
|
14838
|
+
var w = new Error("Cannot find module '" + v + "' from '" + P + "'");
|
|
14839
14839
|
throw w.code = "MODULE_NOT_FOUND", w;
|
|
14840
14840
|
function L($) {
|
|
14841
|
-
var
|
|
14842
|
-
if (
|
|
14843
|
-
var T = t.relative(
|
|
14844
|
-
F && ($ = t.resolve(
|
|
14841
|
+
var B = M(t.dirname($));
|
|
14842
|
+
if (B && B.dir && B.pkg && k.pathFilter) {
|
|
14843
|
+
var T = t.relative(B.dir, $), F = k.pathFilter(B.pkg, $, T);
|
|
14844
|
+
F && ($ = t.resolve(B.dir, F));
|
|
14845
14845
|
}
|
|
14846
14846
|
if (C($))
|
|
14847
14847
|
return $;
|
|
14848
|
-
for (var
|
|
14849
|
-
var H = $ + R[
|
|
14848
|
+
for (var A = 0; A < R.length; A++) {
|
|
14849
|
+
var H = $ + R[A];
|
|
14850
14850
|
if (C(H))
|
|
14851
14851
|
return H;
|
|
14852
14852
|
}
|
|
14853
14853
|
}
|
|
14854
14854
|
function M($) {
|
|
14855
14855
|
if (!($ === "" || $ === "/") && !/[/\\]node_modules[/\\]*$/.test($)) {
|
|
14856
|
-
var
|
|
14857
|
-
if (!C(
|
|
14856
|
+
var B = t.join(f(E, $, k), "package.json");
|
|
14857
|
+
if (!C(B))
|
|
14858
14858
|
return M(t.dirname($));
|
|
14859
|
-
var T = N(S,
|
|
14859
|
+
var T = N(S, B);
|
|
14860
14860
|
return T && k.packageFilter && (T = k.packageFilter(
|
|
14861
14861
|
T,
|
|
14862
14862
|
/*pkgfile,*/
|
|
@@ -14865,10 +14865,10 @@ function requireSync() {
|
|
|
14865
14865
|
}
|
|
14866
14866
|
}
|
|
14867
14867
|
function q($) {
|
|
14868
|
-
var
|
|
14869
|
-
if (C(
|
|
14868
|
+
var B = t.join(f(E, $, k), "/package.json");
|
|
14869
|
+
if (C(B)) {
|
|
14870
14870
|
try {
|
|
14871
|
-
var T = N(S,
|
|
14871
|
+
var T = N(S, B);
|
|
14872
14872
|
} catch {
|
|
14873
14873
|
}
|
|
14874
14874
|
if (T && k.packageFilter && (T = k.packageFilter(
|
|
@@ -14882,8 +14882,8 @@ function requireSync() {
|
|
|
14882
14882
|
}
|
|
14883
14883
|
(T.main === "." || T.main === "./") && (T.main = "index");
|
|
14884
14884
|
try {
|
|
14885
|
-
var
|
|
14886
|
-
if (
|
|
14885
|
+
var A = L(t.resolve($, T.main));
|
|
14886
|
+
if (A) return A;
|
|
14887
14887
|
var H = q(t.resolve($, T.main));
|
|
14888
14888
|
if (H) return H;
|
|
14889
14889
|
} catch {
|
|
@@ -14892,11 +14892,11 @@ function requireSync() {
|
|
|
14892
14892
|
}
|
|
14893
14893
|
return L(t.join($, "/index"));
|
|
14894
14894
|
}
|
|
14895
|
-
function J($,
|
|
14895
|
+
function J($, B) {
|
|
14896
14896
|
for (var T = function() {
|
|
14897
|
-
return g($,
|
|
14898
|
-
}, F =
|
|
14899
|
-
var H = F[
|
|
14897
|
+
return g($, B, k);
|
|
14898
|
+
}, F = O ? O($, B, T, k) : T(), A = 0; A < F.length; A++) {
|
|
14899
|
+
var H = F[A];
|
|
14900
14900
|
if (V(t.dirname(H))) {
|
|
14901
14901
|
var W = L(H);
|
|
14902
14902
|
if (W) return W;
|
|
@@ -15071,34 +15071,34 @@ function requireTypes() {
|
|
|
15071
15071
|
return a(I) === "Int16Array";
|
|
15072
15072
|
}
|
|
15073
15073
|
e.isInt16Array = V;
|
|
15074
|
-
function
|
|
15074
|
+
function E(I) {
|
|
15075
15075
|
return a(I) === "Int32Array";
|
|
15076
15076
|
}
|
|
15077
|
-
e.isInt32Array =
|
|
15077
|
+
e.isInt32Array = E;
|
|
15078
15078
|
function N(I) {
|
|
15079
15079
|
return a(I) === "Float32Array";
|
|
15080
15080
|
}
|
|
15081
15081
|
e.isFloat32Array = N;
|
|
15082
|
-
function
|
|
15082
|
+
function O(I) {
|
|
15083
15083
|
return a(I) === "Float64Array";
|
|
15084
15084
|
}
|
|
15085
|
-
e.isFloat64Array =
|
|
15085
|
+
e.isFloat64Array = O;
|
|
15086
15086
|
function R(I) {
|
|
15087
15087
|
return a(I) === "BigInt64Array";
|
|
15088
15088
|
}
|
|
15089
15089
|
e.isBigInt64Array = R;
|
|
15090
|
-
function
|
|
15090
|
+
function D(I) {
|
|
15091
15091
|
return a(I) === "BigUint64Array";
|
|
15092
15092
|
}
|
|
15093
|
-
e.isBigUint64Array =
|
|
15093
|
+
e.isBigUint64Array = D;
|
|
15094
15094
|
function z(I) {
|
|
15095
15095
|
return l(I) === "[object Map]";
|
|
15096
15096
|
}
|
|
15097
15097
|
z.working = typeof Map < "u" && z(/* @__PURE__ */ new Map());
|
|
15098
|
-
function
|
|
15098
|
+
function P(I) {
|
|
15099
15099
|
return typeof Map > "u" ? !1 : z.working ? z(I) : I instanceof Map;
|
|
15100
15100
|
}
|
|
15101
|
-
e.isMap =
|
|
15101
|
+
e.isMap = P;
|
|
15102
15102
|
function j(I) {
|
|
15103
15103
|
return l(I) === "[object Set]";
|
|
15104
15104
|
}
|
|
@@ -15139,18 +15139,18 @@ function requireTypes() {
|
|
|
15139
15139
|
return typeof DataView > "u" ? !1 : J.working ? J(I) : I instanceof DataView;
|
|
15140
15140
|
}
|
|
15141
15141
|
e.isDataView = $;
|
|
15142
|
-
var
|
|
15142
|
+
var B = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
15143
15143
|
function T(I) {
|
|
15144
15144
|
return l(I) === "[object SharedArrayBuffer]";
|
|
15145
15145
|
}
|
|
15146
15146
|
function F(I) {
|
|
15147
|
-
return typeof
|
|
15147
|
+
return typeof B > "u" ? !1 : (typeof T.working > "u" && (T.working = T(new B())), T.working ? T(I) : I instanceof B);
|
|
15148
15148
|
}
|
|
15149
15149
|
e.isSharedArrayBuffer = F;
|
|
15150
|
-
function
|
|
15150
|
+
function A(I) {
|
|
15151
15151
|
return l(I) === "[object AsyncFunction]";
|
|
15152
15152
|
}
|
|
15153
|
-
e.isAsyncFunction =
|
|
15153
|
+
e.isAsyncFunction = A;
|
|
15154
15154
|
function H(I) {
|
|
15155
15155
|
return l(I) === "[object Map Iterator]";
|
|
15156
15156
|
}
|
|
@@ -15233,20 +15233,20 @@ function requireInherits_browser() {
|
|
|
15233
15233
|
var hasRequiredUtil;
|
|
15234
15234
|
function requireUtil() {
|
|
15235
15235
|
return hasRequiredUtil || (hasRequiredUtil = 1, function(e) {
|
|
15236
|
-
var n = {}, t = Object.getOwnPropertyDescriptors || function(
|
|
15237
|
-
for (var T = Object.keys(
|
|
15238
|
-
F[T[
|
|
15236
|
+
var n = {}, t = Object.getOwnPropertyDescriptors || function(B) {
|
|
15237
|
+
for (var T = Object.keys(B), F = {}, A = 0; A < T.length; A++)
|
|
15238
|
+
F[T[A]] = Object.getOwnPropertyDescriptor(B, T[A]);
|
|
15239
15239
|
return F;
|
|
15240
15240
|
}, a = /%[sdj%]/g;
|
|
15241
15241
|
e.format = function($) {
|
|
15242
15242
|
if (!V($)) {
|
|
15243
|
-
for (var
|
|
15244
|
-
|
|
15245
|
-
return
|
|
15243
|
+
for (var B = [], T = 0; T < arguments.length; T++)
|
|
15244
|
+
B.push(i(arguments[T]));
|
|
15245
|
+
return B.join(" ");
|
|
15246
15246
|
}
|
|
15247
|
-
for (var T = 1, F = arguments,
|
|
15247
|
+
for (var T = 1, F = arguments, A = F.length, H = String($).replace(a, function(U) {
|
|
15248
15248
|
if (U === "%%") return "%";
|
|
15249
|
-
if (T >=
|
|
15249
|
+
if (T >= A) return U;
|
|
15250
15250
|
switch (U) {
|
|
15251
15251
|
case "%s":
|
|
15252
15252
|
return String(F[T++]);
|
|
@@ -15261,22 +15261,22 @@ function requireUtil() {
|
|
|
15261
15261
|
default:
|
|
15262
15262
|
return U;
|
|
15263
15263
|
}
|
|
15264
|
-
}), W = F[T]; T <
|
|
15264
|
+
}), W = F[T]; T < A; W = F[++T])
|
|
15265
15265
|
k(W) || !R(W) ? H += " " + W : H += " " + i(W);
|
|
15266
15266
|
return H;
|
|
15267
|
-
}, e.deprecate = function($,
|
|
15267
|
+
}, e.deprecate = function($, B) {
|
|
15268
15268
|
if (typeof process < "u" && process.noDeprecation === !0)
|
|
15269
15269
|
return $;
|
|
15270
15270
|
if (typeof process > "u")
|
|
15271
15271
|
return function() {
|
|
15272
|
-
return e.deprecate($,
|
|
15272
|
+
return e.deprecate($, B).apply(this, arguments);
|
|
15273
15273
|
};
|
|
15274
15274
|
var T = !1;
|
|
15275
15275
|
function F() {
|
|
15276
15276
|
if (!T) {
|
|
15277
15277
|
if (process.throwDeprecation)
|
|
15278
|
-
throw new Error(
|
|
15279
|
-
process.traceDeprecation ? console.trace(
|
|
15278
|
+
throw new Error(B);
|
|
15279
|
+
process.traceDeprecation ? console.trace(B) : console.error(B), T = !0;
|
|
15280
15280
|
}
|
|
15281
15281
|
return $.apply(this, arguments);
|
|
15282
15282
|
}
|
|
@@ -15290,22 +15290,22 @@ function requireUtil() {
|
|
|
15290
15290
|
e.debuglog = function($) {
|
|
15291
15291
|
if ($ = $.toUpperCase(), !r[$])
|
|
15292
15292
|
if (s.test($)) {
|
|
15293
|
-
var
|
|
15293
|
+
var B = process.pid;
|
|
15294
15294
|
r[$] = function() {
|
|
15295
15295
|
var T = e.format.apply(e, arguments);
|
|
15296
|
-
console.error("%s %d: %s", $,
|
|
15296
|
+
console.error("%s %d: %s", $, B, T);
|
|
15297
15297
|
};
|
|
15298
15298
|
} else
|
|
15299
15299
|
r[$] = function() {
|
|
15300
15300
|
};
|
|
15301
15301
|
return r[$];
|
|
15302
15302
|
};
|
|
15303
|
-
function i($,
|
|
15303
|
+
function i($, B) {
|
|
15304
15304
|
var T = {
|
|
15305
15305
|
seen: [],
|
|
15306
15306
|
stylize: c
|
|
15307
15307
|
};
|
|
15308
|
-
return arguments.length >= 3 && (T.depth = arguments[2]), arguments.length >= 4 && (T.colors = arguments[3]), b(
|
|
15308
|
+
return arguments.length >= 3 && (T.depth = arguments[2]), arguments.length >= 4 && (T.colors = arguments[3]), b(B) ? T.showHidden = B : B && e._extend(T, B), N(T.showHidden) && (T.showHidden = !1), N(T.depth) && (T.depth = 2), N(T.colors) && (T.colors = !1), N(T.customInspect) && (T.customInspect = !0), T.colors && (T.stylize = l), d(T, $, T.depth);
|
|
15309
15309
|
}
|
|
15310
15310
|
e.inspect = i, i.colors = {
|
|
15311
15311
|
bold: [1, 22],
|
|
@@ -15332,90 +15332,90 @@ function requireUtil() {
|
|
|
15332
15332
|
// "name": intentionally not styling
|
|
15333
15333
|
regexp: "red"
|
|
15334
15334
|
};
|
|
15335
|
-
function l($,
|
|
15336
|
-
var T = i.styles[
|
|
15335
|
+
function l($, B) {
|
|
15336
|
+
var T = i.styles[B];
|
|
15337
15337
|
return T ? "\x1B[" + i.colors[T][0] + "m" + $ + "\x1B[" + i.colors[T][1] + "m" : $;
|
|
15338
15338
|
}
|
|
15339
|
-
function c($,
|
|
15339
|
+
function c($, B) {
|
|
15340
15340
|
return $;
|
|
15341
15341
|
}
|
|
15342
15342
|
function u($) {
|
|
15343
|
-
var
|
|
15343
|
+
var B = {};
|
|
15344
15344
|
return $.forEach(function(T, F) {
|
|
15345
|
-
|
|
15346
|
-
}),
|
|
15347
|
-
}
|
|
15348
|
-
function d($,
|
|
15349
|
-
if ($.customInspect &&
|
|
15350
|
-
|
|
15351
|
-
!(
|
|
15352
|
-
var F =
|
|
15345
|
+
B[T] = !0;
|
|
15346
|
+
}), B;
|
|
15347
|
+
}
|
|
15348
|
+
function d($, B, T) {
|
|
15349
|
+
if ($.customInspect && B && P(B.inspect) && // Filter out the util module, it's inspect function is special
|
|
15350
|
+
B.inspect !== e.inspect && // Also filter out any prototype objects using the circular check.
|
|
15351
|
+
!(B.constructor && B.constructor.prototype === B)) {
|
|
15352
|
+
var F = B.inspect(T, $);
|
|
15353
15353
|
return V(F) || (F = d($, F, T)), F;
|
|
15354
15354
|
}
|
|
15355
|
-
var
|
|
15356
|
-
if (
|
|
15357
|
-
return
|
|
15358
|
-
var H = Object.keys(
|
|
15359
|
-
if ($.showHidden && (H = Object.getOwnPropertyNames(
|
|
15360
|
-
return f(
|
|
15355
|
+
var A = m($, B);
|
|
15356
|
+
if (A)
|
|
15357
|
+
return A;
|
|
15358
|
+
var H = Object.keys(B), W = u(H);
|
|
15359
|
+
if ($.showHidden && (H = Object.getOwnPropertyNames(B)), z(B) && (H.indexOf("message") >= 0 || H.indexOf("description") >= 0))
|
|
15360
|
+
return f(B);
|
|
15361
15361
|
if (H.length === 0) {
|
|
15362
|
-
if (
|
|
15363
|
-
var U =
|
|
15362
|
+
if (P(B)) {
|
|
15363
|
+
var U = B.name ? ": " + B.name : "";
|
|
15364
15364
|
return $.stylize("[Function" + U + "]", "special");
|
|
15365
15365
|
}
|
|
15366
|
-
if (
|
|
15367
|
-
return $.stylize(RegExp.prototype.toString.call(
|
|
15368
|
-
if (
|
|
15369
|
-
return $.stylize(Date.prototype.toString.call(
|
|
15370
|
-
if (z(
|
|
15371
|
-
return f(
|
|
15366
|
+
if (O(B))
|
|
15367
|
+
return $.stylize(RegExp.prototype.toString.call(B), "regexp");
|
|
15368
|
+
if (D(B))
|
|
15369
|
+
return $.stylize(Date.prototype.toString.call(B), "date");
|
|
15370
|
+
if (z(B))
|
|
15371
|
+
return f(B);
|
|
15372
15372
|
}
|
|
15373
15373
|
var G = "", ee = !1, X = ["{", "}"];
|
|
15374
|
-
if (v(
|
|
15375
|
-
var te =
|
|
15374
|
+
if (v(B) && (ee = !0, X = ["[", "]"]), P(B)) {
|
|
15375
|
+
var te = B.name ? ": " + B.name : "";
|
|
15376
15376
|
G = " [Function" + te + "]";
|
|
15377
15377
|
}
|
|
15378
|
-
if (
|
|
15378
|
+
if (O(B) && (G = " " + RegExp.prototype.toString.call(B)), D(B) && (G = " " + Date.prototype.toUTCString.call(B)), z(B) && (G = " " + f(B)), H.length === 0 && (!ee || B.length == 0))
|
|
15379
15379
|
return X[0] + G + X[1];
|
|
15380
15380
|
if (T < 0)
|
|
15381
|
-
return
|
|
15382
|
-
$.seen.push(
|
|
15381
|
+
return O(B) ? $.stylize(RegExp.prototype.toString.call(B), "regexp") : $.stylize("[Object]", "special");
|
|
15382
|
+
$.seen.push(B);
|
|
15383
15383
|
var ne;
|
|
15384
|
-
return ee ? ne = p($,
|
|
15385
|
-
return g($,
|
|
15384
|
+
return ee ? ne = p($, B, T, W, H) : ne = H.map(function(ae) {
|
|
15385
|
+
return g($, B, T, W, ae, ee);
|
|
15386
15386
|
}), $.seen.pop(), _(ne, G, X);
|
|
15387
15387
|
}
|
|
15388
|
-
function m($,
|
|
15389
|
-
if (N(
|
|
15388
|
+
function m($, B) {
|
|
15389
|
+
if (N(B))
|
|
15390
15390
|
return $.stylize("undefined", "undefined");
|
|
15391
|
-
if (V(
|
|
15392
|
-
var T = "'" + JSON.stringify(
|
|
15391
|
+
if (V(B)) {
|
|
15392
|
+
var T = "'" + JSON.stringify(B).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
15393
15393
|
return $.stylize(T, "string");
|
|
15394
15394
|
}
|
|
15395
|
-
if (S(
|
|
15396
|
-
return $.stylize("" +
|
|
15397
|
-
if (b(
|
|
15398
|
-
return $.stylize("" +
|
|
15399
|
-
if (k(
|
|
15395
|
+
if (S(B))
|
|
15396
|
+
return $.stylize("" + B, "number");
|
|
15397
|
+
if (b(B))
|
|
15398
|
+
return $.stylize("" + B, "boolean");
|
|
15399
|
+
if (k(B))
|
|
15400
15400
|
return $.stylize("null", "null");
|
|
15401
15401
|
}
|
|
15402
15402
|
function f($) {
|
|
15403
15403
|
return "[" + Error.prototype.toString.call($) + "]";
|
|
15404
15404
|
}
|
|
15405
|
-
function p($,
|
|
15406
|
-
for (var H = [], W = 0, U =
|
|
15407
|
-
L(
|
|
15405
|
+
function p($, B, T, F, A) {
|
|
15406
|
+
for (var H = [], W = 0, U = B.length; W < U; ++W)
|
|
15407
|
+
L(B, String(W)) ? H.push(g(
|
|
15408
15408
|
$,
|
|
15409
|
-
|
|
15409
|
+
B,
|
|
15410
15410
|
T,
|
|
15411
15411
|
F,
|
|
15412
15412
|
String(W),
|
|
15413
15413
|
!0
|
|
15414
15414
|
)) : H.push("");
|
|
15415
|
-
return
|
|
15415
|
+
return A.forEach(function(G) {
|
|
15416
15416
|
G.match(/^\d+$/) || H.push(g(
|
|
15417
15417
|
$,
|
|
15418
|
-
|
|
15418
|
+
B,
|
|
15419
15419
|
T,
|
|
15420
15420
|
F,
|
|
15421
15421
|
G,
|
|
@@ -15423,9 +15423,9 @@ function requireUtil() {
|
|
|
15423
15423
|
));
|
|
15424
15424
|
}), H;
|
|
15425
15425
|
}
|
|
15426
|
-
function g($,
|
|
15426
|
+
function g($, B, T, F, A, H) {
|
|
15427
15427
|
var W, U, G;
|
|
15428
|
-
if (G = Object.getOwnPropertyDescriptor(
|
|
15428
|
+
if (G = Object.getOwnPropertyDescriptor(B, A) || { value: B[A] }, G.get ? G.set ? U = $.stylize("[Getter/Setter]", "special") : U = $.stylize("[Getter]", "special") : G.set && (U = $.stylize("[Setter]", "special")), L(F, A) || (W = "[" + A + "]"), U || ($.seen.indexOf(G.value) < 0 ? (k(T) ? U = d($, G.value, null) : U = d($, G.value, T - 1), U.indexOf(`
|
|
15429
15429
|
`) > -1 && (H ? U = U.split(`
|
|
15430
15430
|
`).map(function(ee) {
|
|
15431
15431
|
return " " + ee;
|
|
@@ -15436,20 +15436,20 @@ function requireUtil() {
|
|
|
15436
15436
|
return " " + ee;
|
|
15437
15437
|
}).join(`
|
|
15438
15438
|
`))) : U = $.stylize("[Circular]", "special")), N(W)) {
|
|
15439
|
-
if (H &&
|
|
15439
|
+
if (H && A.match(/^\d+$/))
|
|
15440
15440
|
return U;
|
|
15441
|
-
W = JSON.stringify("" +
|
|
15441
|
+
W = JSON.stringify("" + A), W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (W = W.slice(1, -1), W = $.stylize(W, "name")) : (W = W.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), W = $.stylize(W, "string"));
|
|
15442
15442
|
}
|
|
15443
15443
|
return W + ": " + U;
|
|
15444
15444
|
}
|
|
15445
|
-
function _($,
|
|
15446
|
-
var F = $.reduce(function(
|
|
15445
|
+
function _($, B, T) {
|
|
15446
|
+
var F = $.reduce(function(A, H) {
|
|
15447
15447
|
return H.indexOf(`
|
|
15448
|
-
`) >= 0,
|
|
15448
|
+
`) >= 0, A + H.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
15449
15449
|
}, 0);
|
|
15450
|
-
return F > 60 ? T[0] + (
|
|
15450
|
+
return F > 60 ? T[0] + (B === "" ? "" : B + `
|
|
15451
15451
|
`) + " " + $.join(`,
|
|
15452
|
-
`) + " " + T[1] : T[0] +
|
|
15452
|
+
`) + " " + T[1] : T[0] + B + " " + $.join(", ") + " " + T[1];
|
|
15453
15453
|
}
|
|
15454
15454
|
e.types = requireTypes();
|
|
15455
15455
|
function v($) {
|
|
@@ -15476,34 +15476,34 @@ function requireUtil() {
|
|
|
15476
15476
|
return typeof $ == "string";
|
|
15477
15477
|
}
|
|
15478
15478
|
e.isString = V;
|
|
15479
|
-
function
|
|
15479
|
+
function E($) {
|
|
15480
15480
|
return typeof $ == "symbol";
|
|
15481
15481
|
}
|
|
15482
|
-
e.isSymbol =
|
|
15482
|
+
e.isSymbol = E;
|
|
15483
15483
|
function N($) {
|
|
15484
15484
|
return $ === void 0;
|
|
15485
15485
|
}
|
|
15486
15486
|
e.isUndefined = N;
|
|
15487
|
-
function
|
|
15487
|
+
function O($) {
|
|
15488
15488
|
return R($) && Z($) === "[object RegExp]";
|
|
15489
15489
|
}
|
|
15490
|
-
e.isRegExp =
|
|
15490
|
+
e.isRegExp = O, e.types.isRegExp = O;
|
|
15491
15491
|
function R($) {
|
|
15492
15492
|
return typeof $ == "object" && $ !== null;
|
|
15493
15493
|
}
|
|
15494
15494
|
e.isObject = R;
|
|
15495
|
-
function
|
|
15495
|
+
function D($) {
|
|
15496
15496
|
return R($) && Z($) === "[object Date]";
|
|
15497
15497
|
}
|
|
15498
|
-
e.isDate =
|
|
15498
|
+
e.isDate = D, e.types.isDate = D;
|
|
15499
15499
|
function z($) {
|
|
15500
15500
|
return R($) && (Z($) === "[object Error]" || $ instanceof Error);
|
|
15501
15501
|
}
|
|
15502
15502
|
e.isError = z, e.types.isNativeError = z;
|
|
15503
|
-
function
|
|
15503
|
+
function P($) {
|
|
15504
15504
|
return typeof $ == "function";
|
|
15505
15505
|
}
|
|
15506
|
-
e.isFunction =
|
|
15506
|
+
e.isFunction = P;
|
|
15507
15507
|
function j($) {
|
|
15508
15508
|
return $ === null || typeof $ == "boolean" || typeof $ == "number" || typeof $ == "string" || typeof $ == "symbol" || // ES6 symbol
|
|
15509
15509
|
typeof $ > "u";
|
|
@@ -15530,30 +15530,30 @@ function requireUtil() {
|
|
|
15530
15530
|
"Dec"
|
|
15531
15531
|
];
|
|
15532
15532
|
function w() {
|
|
15533
|
-
var $ = /* @__PURE__ */ new Date(),
|
|
15533
|
+
var $ = /* @__PURE__ */ new Date(), B = [
|
|
15534
15534
|
Q($.getHours()),
|
|
15535
15535
|
Q($.getMinutes()),
|
|
15536
15536
|
Q($.getSeconds())
|
|
15537
15537
|
].join(":");
|
|
15538
|
-
return [$.getDate(), Y[$.getMonth()],
|
|
15538
|
+
return [$.getDate(), Y[$.getMonth()], B].join(" ");
|
|
15539
15539
|
}
|
|
15540
15540
|
e.log = function() {
|
|
15541
15541
|
console.log("%s - %s", w(), e.format.apply(e, arguments));
|
|
15542
|
-
}, e.inherits = requireInherits_browser(), e._extend = function($,
|
|
15543
|
-
if (!
|
|
15544
|
-
for (var T = Object.keys(
|
|
15545
|
-
$[T[F]] =
|
|
15542
|
+
}, e.inherits = requireInherits_browser(), e._extend = function($, B) {
|
|
15543
|
+
if (!B || !R(B)) return $;
|
|
15544
|
+
for (var T = Object.keys(B), F = T.length; F--; )
|
|
15545
|
+
$[T[F]] = B[T[F]];
|
|
15546
15546
|
return $;
|
|
15547
15547
|
};
|
|
15548
|
-
function L($,
|
|
15549
|
-
return Object.prototype.hasOwnProperty.call($,
|
|
15548
|
+
function L($, B) {
|
|
15549
|
+
return Object.prototype.hasOwnProperty.call($, B);
|
|
15550
15550
|
}
|
|
15551
15551
|
var M = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
|
|
15552
|
-
e.promisify = function(
|
|
15553
|
-
if (typeof
|
|
15552
|
+
e.promisify = function(B) {
|
|
15553
|
+
if (typeof B != "function")
|
|
15554
15554
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15555
|
-
if (M &&
|
|
15556
|
-
var T =
|
|
15555
|
+
if (M && B[M]) {
|
|
15556
|
+
var T = B[M];
|
|
15557
15557
|
if (typeof T != "function")
|
|
15558
15558
|
throw new TypeError('The "util.promisify.custom" argument must be of type Function');
|
|
15559
15559
|
return Object.defineProperty(T, M, {
|
|
@@ -15564,48 +15564,48 @@ function requireUtil() {
|
|
|
15564
15564
|
}), T;
|
|
15565
15565
|
}
|
|
15566
15566
|
function T() {
|
|
15567
|
-
for (var F,
|
|
15568
|
-
F = G,
|
|
15567
|
+
for (var F, A, H = new Promise(function(G, ee) {
|
|
15568
|
+
F = G, A = ee;
|
|
15569
15569
|
}), W = [], U = 0; U < arguments.length; U++)
|
|
15570
15570
|
W.push(arguments[U]);
|
|
15571
15571
|
W.push(function(G, ee) {
|
|
15572
|
-
G ?
|
|
15572
|
+
G ? A(G) : F(ee);
|
|
15573
15573
|
});
|
|
15574
15574
|
try {
|
|
15575
|
-
|
|
15575
|
+
B.apply(this, W);
|
|
15576
15576
|
} catch (G) {
|
|
15577
|
-
|
|
15577
|
+
A(G);
|
|
15578
15578
|
}
|
|
15579
15579
|
return H;
|
|
15580
15580
|
}
|
|
15581
|
-
return Object.setPrototypeOf(T, Object.getPrototypeOf(
|
|
15581
|
+
return Object.setPrototypeOf(T, Object.getPrototypeOf(B)), M && Object.defineProperty(T, M, {
|
|
15582
15582
|
value: T,
|
|
15583
15583
|
enumerable: !1,
|
|
15584
15584
|
writable: !1,
|
|
15585
15585
|
configurable: !0
|
|
15586
15586
|
}), Object.defineProperties(
|
|
15587
15587
|
T,
|
|
15588
|
-
t(
|
|
15588
|
+
t(B)
|
|
15589
15589
|
);
|
|
15590
15590
|
}, e.promisify.custom = M;
|
|
15591
|
-
function q($,
|
|
15591
|
+
function q($, B) {
|
|
15592
15592
|
if (!$) {
|
|
15593
15593
|
var T = new Error("Promise was rejected with a falsy value");
|
|
15594
15594
|
T.reason = $, $ = T;
|
|
15595
15595
|
}
|
|
15596
|
-
return
|
|
15596
|
+
return B($);
|
|
15597
15597
|
}
|
|
15598
15598
|
function J($) {
|
|
15599
15599
|
if (typeof $ != "function")
|
|
15600
15600
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15601
|
-
function
|
|
15601
|
+
function B() {
|
|
15602
15602
|
for (var T = [], F = 0; F < arguments.length; F++)
|
|
15603
15603
|
T.push(arguments[F]);
|
|
15604
|
-
var
|
|
15605
|
-
if (typeof
|
|
15604
|
+
var A = T.pop();
|
|
15605
|
+
if (typeof A != "function")
|
|
15606
15606
|
throw new TypeError("The last argument must be of type Function");
|
|
15607
15607
|
var H = this, W = function() {
|
|
15608
|
-
return
|
|
15608
|
+
return A.apply(H, arguments);
|
|
15609
15609
|
};
|
|
15610
15610
|
$.apply(this, T).then(
|
|
15611
15611
|
function(U) {
|
|
@@ -15616,10 +15616,10 @@ function requireUtil() {
|
|
|
15616
15616
|
}
|
|
15617
15617
|
);
|
|
15618
15618
|
}
|
|
15619
|
-
return Object.setPrototypeOf(
|
|
15620
|
-
|
|
15619
|
+
return Object.setPrototypeOf(B, Object.getPrototypeOf($)), Object.defineProperties(
|
|
15620
|
+
B,
|
|
15621
15621
|
t($)
|
|
15622
|
-
),
|
|
15622
|
+
), B;
|
|
15623
15623
|
}
|
|
15624
15624
|
e.callbackify = J;
|
|
15625
15625
|
}(util)), util;
|
|
@@ -15975,11 +15975,11 @@ function requireLib() {
|
|
|
15975
15975
|
const u = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]), d = /\r\n|[\n\r\u2028\u2029]/, m = /^[()[\]{}]$/;
|
|
15976
15976
|
let f;
|
|
15977
15977
|
{
|
|
15978
|
-
const C = /^[a-z][\w-]*$/i, S = function(V,
|
|
15978
|
+
const C = /^[a-z][\w-]*$/i, S = function(V, E, N) {
|
|
15979
15979
|
if (V.type === "name") {
|
|
15980
15980
|
if (a.isKeyword(V.value) || a.isStrictReservedWord(V.value, !0) || u.has(V.value))
|
|
15981
15981
|
return "keyword";
|
|
15982
|
-
if (C.test(V.value) && (N[
|
|
15982
|
+
if (C.test(V.value) && (N[E - 1] === "<" || N.slice(E - 2, E) === "</"))
|
|
15983
15983
|
return "jsxIdentifier";
|
|
15984
15984
|
if (V.value[0] !== V.value[0].toLowerCase())
|
|
15985
15985
|
return "capitalized";
|
|
@@ -15987,11 +15987,11 @@ function requireLib() {
|
|
|
15987
15987
|
return V.type === "punctuator" && m.test(V.value) ? "bracket" : V.type === "invalid" && (V.value === "@" || V.value === "#") ? "punctuator" : V.type;
|
|
15988
15988
|
};
|
|
15989
15989
|
f = function* (V) {
|
|
15990
|
-
let
|
|
15991
|
-
for (;
|
|
15992
|
-
const N = t.matchToToken(
|
|
15990
|
+
let E;
|
|
15991
|
+
for (; E = t.default.exec(V); ) {
|
|
15992
|
+
const N = t.matchToToken(E);
|
|
15993
15993
|
yield {
|
|
15994
|
-
type: S(N,
|
|
15994
|
+
type: S(N, E.index, V),
|
|
15995
15995
|
value: N.value
|
|
15996
15996
|
};
|
|
15997
15997
|
}
|
|
@@ -16002,29 +16002,29 @@ function requireLib() {
|
|
|
16002
16002
|
const S = c(!0);
|
|
16003
16003
|
let V = "";
|
|
16004
16004
|
for (const {
|
|
16005
|
-
type:
|
|
16005
|
+
type: E,
|
|
16006
16006
|
value: N
|
|
16007
16007
|
} of f(C))
|
|
16008
|
-
|
|
16008
|
+
E in S ? V += N.split(d).map((O) => S[E](O)).join(`
|
|
16009
16009
|
`) : V += N;
|
|
16010
16010
|
return V;
|
|
16011
16011
|
}
|
|
16012
16012
|
let g = !1;
|
|
16013
16013
|
const _ = /\r\n|[\n\r\u2028\u2029]/;
|
|
16014
16014
|
function v(C, S, V) {
|
|
16015
|
-
const
|
|
16015
|
+
const E = Object.assign({
|
|
16016
16016
|
column: 0,
|
|
16017
16017
|
line: -1
|
|
16018
|
-
}, C.start), N = Object.assign({},
|
|
16019
|
-
linesAbove:
|
|
16018
|
+
}, C.start), N = Object.assign({}, E, C.end), {
|
|
16019
|
+
linesAbove: O = 2,
|
|
16020
16020
|
linesBelow: R = 3
|
|
16021
|
-
} = V || {},
|
|
16022
|
-
let Z = Math.max(
|
|
16023
|
-
|
|
16024
|
-
const Y =
|
|
16021
|
+
} = V || {}, D = E.line, z = E.column, P = N.line, j = N.column;
|
|
16022
|
+
let Z = Math.max(D - (O + 1), 0), Q = Math.min(S.length, P + R);
|
|
16023
|
+
D === -1 && (Z = 0), P === -1 && (Q = S.length);
|
|
16024
|
+
const Y = P - D, w = {};
|
|
16025
16025
|
if (Y)
|
|
16026
16026
|
for (let L = 0; L <= Y; L++) {
|
|
16027
|
-
const M = L +
|
|
16027
|
+
const M = L + D;
|
|
16028
16028
|
if (!z)
|
|
16029
16029
|
w[M] = !0;
|
|
16030
16030
|
else if (L === 0) {
|
|
@@ -16038,7 +16038,7 @@ function requireLib() {
|
|
|
16038
16038
|
}
|
|
16039
16039
|
}
|
|
16040
16040
|
else
|
|
16041
|
-
z === j ? z ? w[
|
|
16041
|
+
z === j ? z ? w[D] = [z, 0] : w[D] = !0 : w[D] = [z, j - z];
|
|
16042
16042
|
return {
|
|
16043
16043
|
start: Z,
|
|
16044
16044
|
end: Q,
|
|
@@ -16046,37 +16046,37 @@ function requireLib() {
|
|
|
16046
16046
|
};
|
|
16047
16047
|
}
|
|
16048
16048
|
function b(C, S, V = {}) {
|
|
16049
|
-
const
|
|
16049
|
+
const E = V.forceColor || r() && V.highlightCode, N = c(E), O = C.split(_), {
|
|
16050
16050
|
start: R,
|
|
16051
|
-
end:
|
|
16051
|
+
end: D,
|
|
16052
16052
|
markerLines: z
|
|
16053
|
-
} = v(S,
|
|
16054
|
-
let Q = (
|
|
16053
|
+
} = v(S, O, V), P = S.start && typeof S.start.column == "number", j = String(D).length;
|
|
16054
|
+
let Q = (E ? p(C) : C).split(_, D).slice(R, D).map((Y, w) => {
|
|
16055
16055
|
const L = R + 1 + w, q = ` ${` ${L}`.slice(-j)} |`, J = z[L], $ = !z[L + 1];
|
|
16056
16056
|
if (J) {
|
|
16057
|
-
let
|
|
16057
|
+
let B = "";
|
|
16058
16058
|
if (Array.isArray(J)) {
|
|
16059
16059
|
const T = Y.slice(0, Math.max(J[0] - 1, 0)).replace(/[^\t]/g, " "), F = J[1] || 1;
|
|
16060
|
-
|
|
16061
|
-
`, N.gutter(q.replace(/\d/g, " ")), " ", T, N.marker("^").repeat(F)].join(""), $ && V.message && (
|
|
16060
|
+
B = [`
|
|
16061
|
+
`, N.gutter(q.replace(/\d/g, " ")), " ", T, N.marker("^").repeat(F)].join(""), $ && V.message && (B += " " + N.message(V.message));
|
|
16062
16062
|
}
|
|
16063
|
-
return [N.marker(">"), N.gutter(q), Y.length > 0 ? ` ${Y}` : "",
|
|
16063
|
+
return [N.marker(">"), N.gutter(q), Y.length > 0 ? ` ${Y}` : "", B].join("");
|
|
16064
16064
|
} else
|
|
16065
16065
|
return ` ${N.gutter(q)}${Y.length > 0 ? ` ${Y}` : ""}`;
|
|
16066
16066
|
}).join(`
|
|
16067
16067
|
`);
|
|
16068
|
-
return V.message && !
|
|
16069
|
-
${Q}`),
|
|
16068
|
+
return V.message && !P && (Q = `${" ".repeat(j + 1)}${V.message}
|
|
16069
|
+
${Q}`), E ? N.reset(Q) : Q;
|
|
16070
16070
|
}
|
|
16071
|
-
function k(C, S, V,
|
|
16071
|
+
function k(C, S, V, E = {}) {
|
|
16072
16072
|
if (!g) {
|
|
16073
16073
|
g = !0;
|
|
16074
|
-
const
|
|
16074
|
+
const O = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
|
|
16075
16075
|
if (process.emitWarning)
|
|
16076
|
-
process.emitWarning(
|
|
16076
|
+
process.emitWarning(O, "DeprecationWarning");
|
|
16077
16077
|
else {
|
|
16078
|
-
const R = new Error(
|
|
16079
|
-
R.name = "DeprecationWarning", console.warn(new Error(
|
|
16078
|
+
const R = new Error(O);
|
|
16079
|
+
R.name = "DeprecationWarning", console.warn(new Error(O));
|
|
16080
16080
|
}
|
|
16081
16081
|
}
|
|
16082
16082
|
return V = Math.max(V, 0), b(C, {
|
|
@@ -16084,7 +16084,7 @@ ${Q}`), B ? N.reset(Q) : Q;
|
|
|
16084
16084
|
column: V,
|
|
16085
16085
|
line: S
|
|
16086
16086
|
}
|
|
16087
|
-
},
|
|
16087
|
+
}, E);
|
|
16088
16088
|
}
|
|
16089
16089
|
return lib$1.codeFrameColumns = b, lib$1.default = k, lib$1.highlight = p, lib$1;
|
|
16090
16090
|
}
|
|
@@ -17170,13 +17170,13 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17170
17170
|
}, d);
|
|
17171
17171
|
if (!V) return d;
|
|
17172
17172
|
if (this.items.push(V), this.valueRange.end = V.valueRange.end, d = Node$1.normalizeOffset(i, V.range.end), m = i[d], f = !1, p = V.includesTrailingLines, m) {
|
|
17173
|
-
for (var
|
|
17174
|
-
N = i[--
|
|
17173
|
+
for (var E = d - 1, N = i[E]; N === " " || N === " "; )
|
|
17174
|
+
N = i[--E];
|
|
17175
17175
|
N === `
|
|
17176
|
-
` && (l =
|
|
17176
|
+
` && (l = E + 1, f = !0);
|
|
17177
17177
|
}
|
|
17178
|
-
var
|
|
17179
|
-
|
|
17178
|
+
var O = grabCollectionEndComments(V);
|
|
17179
|
+
O && Array.prototype.push.apply(this.items, O);
|
|
17180
17180
|
}
|
|
17181
17181
|
return d;
|
|
17182
17182
|
}
|
|
@@ -17466,13 +17466,13 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17466
17466
|
` : v = `
|
|
17467
17467
|
`;
|
|
17468
17468
|
else {
|
|
17469
|
-
var V = Node$1.endOfLine(c, k),
|
|
17469
|
+
var V = Node$1.endOfLine(c, k), E = c.slice(k, V);
|
|
17470
17470
|
k = V, p && (S === " " || S === " ") && k < m ? (v === " " ? v = `
|
|
17471
17471
|
` : !b && !g && v === `
|
|
17472
17472
|
` && (v = `
|
|
17473
17473
|
|
|
17474
|
-
`), _ += v +
|
|
17475
|
-
`, b = !1), g &&
|
|
17474
|
+
`), _ += v + E, v = V < o && c[V] || "", b = !0) : (_ += v + E, v = p && k < m ? " " : `
|
|
17475
|
+
`, b = !1), g && E !== "" && (g = !1);
|
|
17476
17476
|
}
|
|
17477
17477
|
}
|
|
17478
17478
|
return this.chomping === Chomp.STRIP ? _ : _ + `
|
|
@@ -18225,17 +18225,17 @@ var isEmptyPath = function e(n) {
|
|
|
18225
18225
|
if (S.length === 0)
|
|
18226
18226
|
V = u.start + u.end;
|
|
18227
18227
|
else if (v) {
|
|
18228
|
-
var
|
|
18228
|
+
var E = u.start, N = u.end, O = S.map(function(Y) {
|
|
18229
18229
|
return Y.str;
|
|
18230
18230
|
});
|
|
18231
|
-
if (C ||
|
|
18231
|
+
if (C || O.reduce(function(Y, w) {
|
|
18232
18232
|
return Y + w.length + 2;
|
|
18233
18233
|
}, 2) > t.maxFlowStringSingleLineLength) {
|
|
18234
|
-
V =
|
|
18235
|
-
var R = _createForOfIteratorHelper(
|
|
18234
|
+
V = E;
|
|
18235
|
+
var R = _createForOfIteratorHelper(O), D;
|
|
18236
18236
|
try {
|
|
18237
|
-
for (R.s(); !(
|
|
18238
|
-
var z =
|
|
18237
|
+
for (R.s(); !(D = R.n()).done; ) {
|
|
18238
|
+
var z = D.value;
|
|
18239
18239
|
V += z ? `
|
|
18240
18240
|
`.concat(g).concat(p).concat(z) : `
|
|
18241
18241
|
`;
|
|
@@ -18248,11 +18248,11 @@ var isEmptyPath = function e(n) {
|
|
|
18248
18248
|
V += `
|
|
18249
18249
|
`.concat(p).concat(N);
|
|
18250
18250
|
} else
|
|
18251
|
-
V = "".concat(
|
|
18251
|
+
V = "".concat(E, " ").concat(O.join(" "), " ").concat(N);
|
|
18252
18252
|
} else {
|
|
18253
|
-
var
|
|
18254
|
-
V =
|
|
18255
|
-
var j = _createForOfIteratorHelper(
|
|
18253
|
+
var P = S.map(c);
|
|
18254
|
+
V = P.shift();
|
|
18255
|
+
var j = _createForOfIteratorHelper(P), Z;
|
|
18256
18256
|
try {
|
|
18257
18257
|
for (j.s(); !(Z = j.n()).done; ) {
|
|
18258
18258
|
var Q = Z.value;
|
|
@@ -18437,13 +18437,13 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18437
18437
|
return this.comment ? (V = addComment(V, r.indent, this.comment), s && s()) : S && !f && o && o(), r.inFlow && !g ? V : "? ".concat(V);
|
|
18438
18438
|
V = g ? "? ".concat(V, `
|
|
18439
18439
|
`).concat(b, ":") : "".concat(V, ":"), this.comment && (V = addComment(V, r.indent, this.comment), s && s());
|
|
18440
|
-
var
|
|
18440
|
+
var E = "", N = null;
|
|
18441
18441
|
if (m instanceof Node) {
|
|
18442
|
-
if (m.spaceBefore && (
|
|
18442
|
+
if (m.spaceBefore && (E = `
|
|
18443
18443
|
`), m.commentBefore) {
|
|
18444
|
-
var
|
|
18445
|
-
|
|
18446
|
-
`.concat(
|
|
18444
|
+
var O = m.commentBefore.replace(/^/gm, "".concat(r.indent, "#"));
|
|
18445
|
+
E += `
|
|
18446
|
+
`.concat(O);
|
|
18447
18447
|
}
|
|
18448
18448
|
N = m.comment;
|
|
18449
18449
|
} else m && _typeof(m) === "object" && (m = v.schema.createNode(m, !0));
|
|
@@ -18452,18 +18452,18 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18452
18452
|
return N = null;
|
|
18453
18453
|
}, function() {
|
|
18454
18454
|
return S = !0;
|
|
18455
|
-
}),
|
|
18456
|
-
if (
|
|
18457
|
-
|
|
18455
|
+
}), D = " ";
|
|
18456
|
+
if (E || this.comment)
|
|
18457
|
+
D = "".concat(E, `
|
|
18458
18458
|
`).concat(r.indent);
|
|
18459
18459
|
else if (!g && m instanceof Collection) {
|
|
18460
18460
|
var z = R[0] === "[" || R[0] === "{";
|
|
18461
18461
|
(!z || R.includes(`
|
|
18462
|
-
`)) && (
|
|
18462
|
+
`)) && (D = `
|
|
18463
18463
|
`.concat(r.indent));
|
|
18464
18464
|
} else R[0] === `
|
|
18465
|
-
` && (
|
|
18466
|
-
return S && !N && o && o(), addComment(V +
|
|
18465
|
+
` && (D = "");
|
|
18466
|
+
return S && !N && o && o(), addComment(V + D + R, r.indent, N);
|
|
18467
18467
|
}
|
|
18468
18468
|
}]), t;
|
|
18469
18469
|
}(Node);
|
|
@@ -18799,9 +18799,9 @@ function foldFlowLines(e, n, t, a) {
|
|
|
18799
18799
|
else if (t === FOLD_QUOTED) {
|
|
18800
18800
|
for (; _ === " " || _ === " "; )
|
|
18801
18801
|
_ = S, S = e[b += 1], v = !0;
|
|
18802
|
-
var
|
|
18803
|
-
if (f[
|
|
18804
|
-
m.push(
|
|
18802
|
+
var E = b > C + 1 ? b - 2 : k - 1;
|
|
18803
|
+
if (f[E]) return e;
|
|
18804
|
+
m.push(E), f[E] = !0, p = E + d, g = void 0;
|
|
18805
18805
|
} else
|
|
18806
18806
|
v = !0;
|
|
18807
18807
|
}
|
|
@@ -18809,11 +18809,11 @@ function foldFlowLines(e, n, t, a) {
|
|
|
18809
18809
|
}
|
|
18810
18810
|
if (v && u && u(), m.length === 0) return e;
|
|
18811
18811
|
c && c();
|
|
18812
|
-
for (var N = e.slice(0, m[0]),
|
|
18813
|
-
var R = m[
|
|
18812
|
+
for (var N = e.slice(0, m[0]), O = 0; O < m.length; ++O) {
|
|
18813
|
+
var R = m[O], D = m[O + 1] || e.length;
|
|
18814
18814
|
R === 0 ? N = `
|
|
18815
|
-
`.concat(n).concat(e.slice(0,
|
|
18816
|
-
`.concat(n).concat(e.slice(R + 1,
|
|
18815
|
+
`.concat(n).concat(e.slice(0, D)) : (t === FOLD_QUOTED && f[R] && (N += "".concat(e[R], "\\")), N += `
|
|
18816
|
+
`.concat(n).concat(e.slice(R + 1, D)));
|
|
18817
18817
|
}
|
|
18818
18818
|
return N;
|
|
18819
18819
|
}
|
|
@@ -21513,14 +21513,14 @@ function requireDist() {
|
|
|
21513
21513
|
function d(S, V = {}) {
|
|
21514
21514
|
if (V.configName === "options")
|
|
21515
21515
|
throw new Error('You cannot use the configName "options". It is reserved for babel-plugin-macros.');
|
|
21516
|
-
return
|
|
21517
|
-
function
|
|
21516
|
+
return E.isBabelMacro = !0, E.options = V, E;
|
|
21517
|
+
function E(N) {
|
|
21518
21518
|
const {
|
|
21519
|
-
source:
|
|
21519
|
+
source: O,
|
|
21520
21520
|
isBabelMacrosCall: R
|
|
21521
21521
|
} = N;
|
|
21522
21522
|
if (!R)
|
|
21523
|
-
throw new l(`The macro you imported from "${
|
|
21523
|
+
throw new l(`The macro you imported from "${O}" is being executed outside the context of compilation with babel-plugin-macros. This indicates that you don't have the babel plugin "babel-plugin-macros" configured correctly. Please see the documentation for how to configure babel-plugin-macros properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md`);
|
|
21524
21524
|
return S(N);
|
|
21525
21525
|
}
|
|
21526
21526
|
}
|
|
@@ -21534,24 +21534,24 @@ function requireDist() {
|
|
|
21534
21534
|
}
|
|
21535
21535
|
function f(S, V = {}) {
|
|
21536
21536
|
let {
|
|
21537
|
-
require:
|
|
21537
|
+
require: E = commonjsRequire,
|
|
21538
21538
|
resolvePath: N = m,
|
|
21539
|
-
isMacrosName:
|
|
21539
|
+
isMacrosName: O = i
|
|
21540
21540
|
} = V, R = (0, a.default)(V, ["require", "resolvePath", "isMacrosName"]);
|
|
21541
|
-
function
|
|
21542
|
-
const
|
|
21543
|
-
return
|
|
21541
|
+
function D(z) {
|
|
21542
|
+
const P = E(z);
|
|
21543
|
+
return P && P.__esModule && P.default ? P.default : P;
|
|
21544
21544
|
}
|
|
21545
21545
|
return {
|
|
21546
21546
|
name: "macros",
|
|
21547
21547
|
visitor: {
|
|
21548
|
-
Program(z,
|
|
21548
|
+
Program(z, P) {
|
|
21549
21549
|
z.traverse({
|
|
21550
21550
|
ImportDeclaration(j) {
|
|
21551
21551
|
if (!k(j, {
|
|
21552
21552
|
node: {
|
|
21553
21553
|
source: {
|
|
21554
|
-
value: (L) =>
|
|
21554
|
+
value: (L) => O(L)
|
|
21555
21555
|
}
|
|
21556
21556
|
}
|
|
21557
21557
|
}))
|
|
@@ -21563,9 +21563,9 @@ function requireDist() {
|
|
|
21563
21563
|
path: j,
|
|
21564
21564
|
imports: Q,
|
|
21565
21565
|
source: Y,
|
|
21566
|
-
state:
|
|
21566
|
+
state: P,
|
|
21567
21567
|
babel: S,
|
|
21568
|
-
interopRequire:
|
|
21568
|
+
interopRequire: D,
|
|
21569
21569
|
resolvePath: N,
|
|
21570
21570
|
options: R
|
|
21571
21571
|
});
|
|
@@ -21579,7 +21579,7 @@ function requireDist() {
|
|
|
21579
21579
|
type: "Identifier",
|
|
21580
21580
|
name: "require"
|
|
21581
21581
|
},
|
|
21582
|
-
arguments: (Y) => Y.length === 1 &&
|
|
21582
|
+
arguments: (Y) => Y.length === 1 && O(Y[0].value)
|
|
21583
21583
|
}
|
|
21584
21584
|
}
|
|
21585
21585
|
});
|
|
@@ -21594,9 +21594,9 @@ function requireDist() {
|
|
|
21594
21594
|
path: w,
|
|
21595
21595
|
imports: Y,
|
|
21596
21596
|
source: L,
|
|
21597
|
-
state:
|
|
21597
|
+
state: P,
|
|
21598
21598
|
babel: S,
|
|
21599
|
-
interopRequire:
|
|
21599
|
+
interopRequire: D,
|
|
21600
21600
|
resolvePath: N,
|
|
21601
21601
|
options: R
|
|
21602
21602
|
});
|
|
@@ -21611,17 +21611,17 @@ function requireDist() {
|
|
|
21611
21611
|
function p({
|
|
21612
21612
|
path: S,
|
|
21613
21613
|
imports: V,
|
|
21614
|
-
source:
|
|
21614
|
+
source: E,
|
|
21615
21615
|
state: N,
|
|
21616
|
-
babel:
|
|
21616
|
+
babel: O,
|
|
21617
21617
|
interopRequire: R,
|
|
21618
|
-
resolvePath:
|
|
21618
|
+
resolvePath: D,
|
|
21619
21619
|
options: z
|
|
21620
21620
|
}) {
|
|
21621
21621
|
const {
|
|
21622
21622
|
file: {
|
|
21623
21623
|
opts: {
|
|
21624
|
-
filename:
|
|
21624
|
+
filename: P = ""
|
|
21625
21625
|
}
|
|
21626
21626
|
}
|
|
21627
21627
|
} = N;
|
|
@@ -21630,12 +21630,12 @@ function requireDist() {
|
|
|
21630
21630
|
importedName: J,
|
|
21631
21631
|
localName: $
|
|
21632
21632
|
}) => {
|
|
21633
|
-
const
|
|
21634
|
-
return q[J] =
|
|
21635
|
-
}, {}), Q =
|
|
21633
|
+
const B = S.scope.getBinding($);
|
|
21634
|
+
return q[J] = B.referencePaths, j = j || !!q[J].length, q;
|
|
21635
|
+
}, {}), Q = E.indexOf(".") === 0, Y = D(E, r.dirname(b(P))), w = R(Y);
|
|
21636
21636
|
if (!w.isBabelMacro)
|
|
21637
|
-
throw new Error(`The macro imported from "${
|
|
21638
|
-
const L = v(w,
|
|
21637
|
+
throw new Error(`The macro imported from "${E}" must be wrapped in "createMacro" which you can get from "babel-plugin-macros". Please refer to the documentation to see how to do this properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#writing-a-macro`);
|
|
21638
|
+
const L = v(w, P, E, z);
|
|
21639
21639
|
let M;
|
|
21640
21640
|
try {
|
|
21641
21641
|
N.file.scope.path.traverse({
|
|
@@ -21643,14 +21643,14 @@ function requireDist() {
|
|
|
21643
21643
|
}
|
|
21644
21644
|
}), M = w({
|
|
21645
21645
|
references: Z,
|
|
21646
|
-
source:
|
|
21646
|
+
source: E,
|
|
21647
21647
|
state: N,
|
|
21648
|
-
babel:
|
|
21648
|
+
babel: O,
|
|
21649
21649
|
config: L,
|
|
21650
21650
|
isBabelMacrosCall: !0
|
|
21651
21651
|
});
|
|
21652
21652
|
} catch (q) {
|
|
21653
|
-
throw q.name === "MacroError" || (q.message = `${
|
|
21653
|
+
throw q.name === "MacroError" || (q.message = `${E}: ${q.message}`, Q || (q.message = `${q.message} Learn more: https://www.npmjs.com/package/${E.replace(
|
|
21654
21654
|
// remove everything after package name
|
|
21655
21655
|
// @org/package/macro -> @org/package
|
|
21656
21656
|
// package/macro -> package
|
|
@@ -21662,15 +21662,15 @@ function requireDist() {
|
|
|
21662
21662
|
}
|
|
21663
21663
|
function g(S, V) {
|
|
21664
21664
|
try {
|
|
21665
|
-
const
|
|
21666
|
-
if (
|
|
21665
|
+
const E = u().search(V);
|
|
21666
|
+
if (E)
|
|
21667
21667
|
return {
|
|
21668
|
-
options:
|
|
21669
|
-
path:
|
|
21668
|
+
options: E.config[S],
|
|
21669
|
+
path: E.filepath
|
|
21670
21670
|
};
|
|
21671
|
-
} catch (
|
|
21671
|
+
} catch (E) {
|
|
21672
21672
|
return {
|
|
21673
|
-
error:
|
|
21673
|
+
error: E
|
|
21674
21674
|
};
|
|
21675
21675
|
}
|
|
21676
21676
|
return {};
|
|
@@ -21685,26 +21685,26 @@ function requireDist() {
|
|
|
21685
21685
|
};
|
|
21686
21686
|
return {};
|
|
21687
21687
|
}
|
|
21688
|
-
function v(S, V,
|
|
21688
|
+
function v(S, V, E, N) {
|
|
21689
21689
|
const {
|
|
21690
|
-
configName:
|
|
21690
|
+
configName: O
|
|
21691
21691
|
} = S.options;
|
|
21692
|
-
if (
|
|
21693
|
-
const R = g(
|
|
21694
|
-
if (
|
|
21695
|
-
throw console.error(`There was an error trying to load the config "${
|
|
21696
|
-
if (R.options !== void 0 &&
|
|
21697
|
-
throw new Error(`${R.path} specified a ${
|
|
21698
|
-
return (0, t.default)({},
|
|
21692
|
+
if (O) {
|
|
21693
|
+
const R = g(O, V), D = _(O, N);
|
|
21694
|
+
if (D.options === void 0 && R.options === void 0 && R.error !== void 0)
|
|
21695
|
+
throw console.error(`There was an error trying to load the config "${O}" for the macro imported from "${E}. Please see the error thrown for more information.`), R.error;
|
|
21696
|
+
if (R.options !== void 0 && D.options !== void 0 && typeof R.options != "object")
|
|
21697
|
+
throw new Error(`${R.path} specified a ${O} config of type ${typeof D.options}, but the the macros plugin's options.${O} did contain an object. Both configs must contain objects for their options to be mergeable.`);
|
|
21698
|
+
return (0, t.default)({}, D.options, {}, R.options);
|
|
21699
21699
|
}
|
|
21700
21700
|
}
|
|
21701
21701
|
function b(S) {
|
|
21702
21702
|
return r.isAbsolute(S) ? S : r.join(process.cwd(), S);
|
|
21703
21703
|
}
|
|
21704
21704
|
function k(S, V) {
|
|
21705
|
-
return S && V && Object.keys(V).every((
|
|
21706
|
-
const N = V[
|
|
21707
|
-
return typeof N == "function" ? N(
|
|
21705
|
+
return S && V && Object.keys(V).every((E) => {
|
|
21706
|
+
const N = V[E], O = S[E];
|
|
21707
|
+
return typeof N == "function" ? N(O) : C(N) ? N === O : k(O, N);
|
|
21708
21708
|
});
|
|
21709
21709
|
}
|
|
21710
21710
|
function C(S) {
|
|
@@ -21839,12 +21839,12 @@ const output = files, _sfc_main$1p = {
|
|
|
21839
21839
|
this.svg = e;
|
|
21840
21840
|
});
|
|
21841
21841
|
}
|
|
21842
|
-
}, _hoisted_1$
|
|
21842
|
+
}, _hoisted_1$14 = ["innerHTML"];
|
|
21843
21843
|
function _sfc_render$1a(e, n, t, a, r, s) {
|
|
21844
21844
|
return r.svg ? (openBlock(), createElementBlock("svg", mergeProps({ key: 0 }, s.attributes, {
|
|
21845
21845
|
innerHTML: s.children,
|
|
21846
21846
|
focusable: "false"
|
|
21847
|
-
}), null, 16, _hoisted_1$
|
|
21847
|
+
}), null, 16, _hoisted_1$14)) : createCommentVNode("", !0);
|
|
21848
21848
|
}
|
|
21849
21849
|
const VsSvg = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1a]]), _sfc_main$1o = {
|
|
21850
21850
|
name: "VsSvgLink",
|
|
@@ -21914,7 +21914,7 @@ const VsSvg = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$
|
|
|
21914
21914
|
validator: (e) => e.match(/(primary|on-dark)/)
|
|
21915
21915
|
}
|
|
21916
21916
|
}
|
|
21917
|
-
}, _hoisted_1$
|
|
21917
|
+
}, _hoisted_1$13 = {
|
|
21918
21918
|
class: "visually-hidden",
|
|
21919
21919
|
"data-test": "link-alt-text"
|
|
21920
21920
|
};
|
|
@@ -21928,7 +21928,7 @@ function _sfc_render$19(e, n, t, a, r, s) {
|
|
|
21928
21928
|
variant: t.linkVariant
|
|
21929
21929
|
}, {
|
|
21930
21930
|
default: withCtx(() => [
|
|
21931
|
-
createElementVNode("span", _hoisted_1$
|
|
21931
|
+
createElementVNode("span", _hoisted_1$13, toDisplayString(t.linkAltText), 1),
|
|
21932
21932
|
createVNode(o, {
|
|
21933
21933
|
"data-test": "vs-svg-link__svg",
|
|
21934
21934
|
focusable: "false",
|
|
@@ -21977,14 +21977,14 @@ const VsSvgLink = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_ren
|
|
|
21977
21977
|
return (/* @__PURE__ */ new Date()).getFullYear();
|
|
21978
21978
|
}
|
|
21979
21979
|
}
|
|
21980
|
-
}, _hoisted_1$
|
|
21980
|
+
}, _hoisted_1$12 = {
|
|
21981
21981
|
class: "vs-footer-copyright",
|
|
21982
21982
|
"data-unique-id": "vs-footer-sub_footer",
|
|
21983
21983
|
"data-test": "vs-footer-copyright"
|
|
21984
21984
|
}, _hoisted_2$Q = { class: "vs-footer-copyright__text" };
|
|
21985
21985
|
function _sfc_render$18(e, n, t, a, r, s) {
|
|
21986
21986
|
const o = resolveComponent("VsSvgLink"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
21987
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21987
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
21988
21988
|
createVNode(c, null, {
|
|
21989
21989
|
default: withCtx(() => [
|
|
21990
21990
|
createVNode(l, null, {
|
|
@@ -22063,10 +22063,10 @@ const FooterCopyright = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _s
|
|
|
22063
22063
|
]
|
|
22064
22064
|
};
|
|
22065
22065
|
}
|
|
22066
|
-
}, _hoisted_1$
|
|
22066
|
+
}, _hoisted_1$11 = { class: "vs-global-menu" };
|
|
22067
22067
|
function _sfc_render$17(e, n, t, a, r, s) {
|
|
22068
22068
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("LazyHydrationWrapper");
|
|
22069
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
22069
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$11, [
|
|
22070
22070
|
createVNode(c, { "on-interaction": ["focus", "click"] }, {
|
|
22071
22071
|
default: withCtx(() => [
|
|
22072
22072
|
createVNode(l, {
|
|
@@ -22128,7 +22128,7 @@ const GlobalMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_re
|
|
|
22128
22128
|
mounted() {
|
|
22129
22129
|
this.cookieExists("vs_locale") || this.setCookie("vs_locale", this.localeCookie, !0), this.cookieExists("googtrans") || this.setCookie("googtrans", this.translationCookie, !0);
|
|
22130
22130
|
}
|
|
22131
|
-
}, _hoisted_1$
|
|
22131
|
+
}, _hoisted_1$10 = { class: "vs-global-menu__languages__text" }, _hoisted_2$P = { class: "vs-global-menu__languages__selected" }, _hoisted_3$G = {
|
|
22132
22132
|
class: "vs-global-menu__languages__label",
|
|
22133
22133
|
role: "menuitem"
|
|
22134
22134
|
};
|
|
@@ -22146,7 +22146,7 @@ function _sfc_render$16(e, n, t, a, r, s) {
|
|
|
22146
22146
|
size: "xxs",
|
|
22147
22147
|
focusable: "false"
|
|
22148
22148
|
}),
|
|
22149
|
-
createElementVNode("span", _hoisted_1$
|
|
22149
|
+
createElementVNode("span", _hoisted_1$10, toDisplayString(t.languageLabel), 1),
|
|
22150
22150
|
createElementVNode("span", _hoisted_2$P, toDisplayString(e.selectedLanguage), 1)
|
|
22151
22151
|
]),
|
|
22152
22152
|
default: withCtx(() => [
|
|
@@ -22332,14 +22332,14 @@ const VsHeroSectionImage = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render",
|
|
|
22332
22332
|
this.$emit("videoToggled", this.isPlaying), this.isPlaying ? this.isPlaying = !1 : this.isPlaying = !0;
|
|
22333
22333
|
}
|
|
22334
22334
|
}
|
|
22335
|
-
}, _hoisted_1
|
|
22335
|
+
}, _hoisted_1$$ = { "data-test": "vs-hero-section-video-control" }, _hoisted_2$O = {
|
|
22336
22336
|
"aria-live": "polite",
|
|
22337
22337
|
class: "visually-hidden",
|
|
22338
22338
|
role: "status"
|
|
22339
22339
|
}, _hoisted_3$F = { key: 0 }, _hoisted_4$v = { key: 1 };
|
|
22340
22340
|
function _sfc_render$13(e, n, t, a, r, s) {
|
|
22341
22341
|
const o = resolveComponent("VsButton");
|
|
22342
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
22342
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
22343
22343
|
createVNode(o, {
|
|
22344
22344
|
"icon-only": "",
|
|
22345
22345
|
class: "vs-hero-section-video-control",
|
|
@@ -22484,7 +22484,7 @@ const VsHeroSectionVideoControl = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["r
|
|
|
22484
22484
|
e ? this.$refs.heroVideo.pause() : this.$refs.heroVideo.play();
|
|
22485
22485
|
}
|
|
22486
22486
|
}
|
|
22487
|
-
}, _hoisted_1
|
|
22487
|
+
}, _hoisted_1$_ = { class: "vs-hero-section__grid" }, _hoisted_2$N = {
|
|
22488
22488
|
key: 1,
|
|
22489
22489
|
class: "vs-hero-section__video-wrapper"
|
|
22490
22490
|
}, _hoisted_3$E = ["poster"], _hoisted_4$u = ["src"], _hoisted_5$l = {
|
|
@@ -22497,7 +22497,7 @@ function _sfc_render$12(e, n, t, a, r, s) {
|
|
|
22497
22497
|
class: normalizeClass(["vs-hero-section", { "vs-hero-section--split": t.split }]),
|
|
22498
22498
|
"data-test": "vs-hero-section"
|
|
22499
22499
|
}, [
|
|
22500
|
-
createElementVNode("div", _hoisted_1
|
|
22500
|
+
createElementVNode("div", _hoisted_1$_, [
|
|
22501
22501
|
t.imgSrc && !t.videoSrc ? (openBlock(), createElementBlock("div", {
|
|
22502
22502
|
key: 0,
|
|
22503
22503
|
class: normalizeClass(["vs-hero-section__image", s.imageClasses])
|
|
@@ -22595,9 +22595,9 @@ const HeroSection = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_r
|
|
|
22595
22595
|
error_details: this.statusCode
|
|
22596
22596
|
});
|
|
22597
22597
|
}
|
|
22598
|
-
}, _hoisted_1$
|
|
22598
|
+
}, _hoisted_1$Z = { class: "d-none" };
|
|
22599
22599
|
function _sfc_render$11(e, n, t, a, r, s) {
|
|
22600
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
22600
|
+
return openBlock(), createElementBlock("span", _hoisted_1$Z);
|
|
22601
22601
|
}
|
|
22602
22602
|
const HtmlError = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$11]]), _sfc_main$1f = {
|
|
22603
22603
|
name: "VsTourismInfo",
|
|
@@ -22608,7 +22608,7 @@ const HtmlError = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_ren
|
|
|
22608
22608
|
VsRow,
|
|
22609
22609
|
VsCol
|
|
22610
22610
|
}
|
|
22611
|
-
}, _hoisted_1$
|
|
22611
|
+
}, _hoisted_1$Y = {
|
|
22612
22612
|
class: "vs-tourism-info",
|
|
22613
22613
|
"data-test": "vs-tourism-info"
|
|
22614
22614
|
}, _hoisted_2$M = {
|
|
@@ -22622,7 +22622,7 @@ const HtmlError = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_ren
|
|
|
22622
22622
|
};
|
|
22623
22623
|
function _sfc_render$10(e, n, t, a, r, s) {
|
|
22624
22624
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer");
|
|
22625
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22625
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
22626
22626
|
createVNode(l, null, {
|
|
22627
22627
|
default: withCtx(() => [
|
|
22628
22628
|
createVNode(i, null, {
|
|
@@ -22694,7 +22694,7 @@ const TourismInfo = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_r
|
|
|
22694
22694
|
default: ""
|
|
22695
22695
|
}
|
|
22696
22696
|
}
|
|
22697
|
-
}, _hoisted_1$
|
|
22697
|
+
}, _hoisted_1$X = {
|
|
22698
22698
|
class: "vs-icon-list",
|
|
22699
22699
|
"data-test": "vs-icon-list"
|
|
22700
22700
|
}, _hoisted_2$L = {
|
|
@@ -22702,7 +22702,7 @@ const TourismInfo = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_r
|
|
|
22702
22702
|
class: "vs-icon-list__title"
|
|
22703
22703
|
}, _hoisted_3$C = { class: "vs-icon-list__list mb-0" };
|
|
22704
22704
|
function _sfc_render$$(e, n, t, a, r, s) {
|
|
22705
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22705
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
22706
22706
|
t.title ? (openBlock(), createElementBlock("div", _hoisted_2$L, toDisplayString(t.title), 1)) : createCommentVNode("", !0),
|
|
22707
22707
|
createElementVNode("ul", _hoisted_3$C, [
|
|
22708
22708
|
renderSlot(e.$slots, "default")
|
|
@@ -22732,13 +22732,13 @@ const IconList = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_rend
|
|
|
22732
22732
|
required: !0
|
|
22733
22733
|
}
|
|
22734
22734
|
}
|
|
22735
|
-
}, _hoisted_1$
|
|
22735
|
+
}, _hoisted_1$W = {
|
|
22736
22736
|
class: "vs-icon-list__item",
|
|
22737
22737
|
"data-test": "vs-icon-list__item"
|
|
22738
22738
|
};
|
|
22739
22739
|
function _sfc_render$_(e, n, t, a, r, s) {
|
|
22740
22740
|
const o = resolveComponent("VsIcon");
|
|
22741
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
22741
|
+
return openBlock(), createElementBlock("li", _hoisted_1$W, [
|
|
22742
22742
|
createVNode(o, {
|
|
22743
22743
|
icon: t.icon,
|
|
22744
22744
|
size: "md",
|
|
@@ -22894,7 +22894,7 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sf
|
|
|
22894
22894
|
this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
22895
22895
|
}
|
|
22896
22896
|
}
|
|
22897
|
-
}, _hoisted_1$
|
|
22897
|
+
}, _hoisted_1$V = {
|
|
22898
22898
|
key: 0,
|
|
22899
22899
|
class: "vs-video-caption__buttons-container"
|
|
22900
22900
|
}, _hoisted_2$K = { class: "container" }, _hoisted_3$B = {
|
|
@@ -22919,7 +22919,7 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
22919
22919
|
class: normalizeClass(["vs-video-caption", `vs-video-caption--${t.variant}`]),
|
|
22920
22920
|
key: "video-caption"
|
|
22921
22921
|
}, [
|
|
22922
|
-
t.videoBtnText ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22922
|
+
t.videoBtnText ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
22923
22923
|
createElementVNode("div", _hoisted_2$K, [
|
|
22924
22924
|
createVNode(o, {
|
|
22925
22925
|
class: "vs-video-caption__button",
|
|
@@ -23153,7 +23153,7 @@ const VsVideoCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sf
|
|
|
23153
23153
|
this.showCaption = !this.showCaption;
|
|
23154
23154
|
}
|
|
23155
23155
|
}
|
|
23156
|
-
}, _hoisted_1$
|
|
23156
|
+
}, _hoisted_1$U = { class: "visually-hidden" }, _hoisted_2$J = { class: "vs-image-with-caption__captions" }, _hoisted_3$A = ["id"];
|
|
23157
23157
|
function _sfc_render$X(e, n, t, a, r, s) {
|
|
23158
23158
|
const o = resolveComponent("VsImg"), i = resolveComponent("VsToggleButton"), l = resolveComponent("VsVideoCaption");
|
|
23159
23159
|
return openBlock(), createElementBlock("figure", {
|
|
@@ -23181,7 +23181,7 @@ function _sfc_render$X(e, n, t, a, r, s) {
|
|
|
23181
23181
|
renderSlot(e.$slots, "toggle-icon")
|
|
23182
23182
|
]),
|
|
23183
23183
|
default: withCtx(() => [
|
|
23184
|
-
createElementVNode("span", _hoisted_1$
|
|
23184
|
+
createElementVNode("span", _hoisted_1$U, toDisplayString(t.toggleButtonText), 1)
|
|
23185
23185
|
]),
|
|
23186
23186
|
_: 3
|
|
23187
23187
|
}, 8, ["img-src", "toggle-id", "onToggleAction"])) : createCommentVNode("", !0)
|
|
@@ -23450,10 +23450,10 @@ const ImageWithCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _
|
|
|
23450
23450
|
validations() {
|
|
23451
23451
|
return this.rules;
|
|
23452
23452
|
}
|
|
23453
|
-
}, _hoisted_1$
|
|
23453
|
+
}, _hoisted_1$T = { "data-test": "vs-input" }, _hoisted_2$I = ["id"], _hoisted_3$z = ["id"], _hoisted_4$r = { class: "visually-hidden" };
|
|
23454
23454
|
function _sfc_render$W(e, n, t, a, r, s) {
|
|
23455
23455
|
const o = resolveComponent("BFormInput"), i = resolveComponent("VsButton");
|
|
23456
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23456
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
23457
23457
|
t.hintText ? (openBlock(), createElementBlock("p", {
|
|
23458
23458
|
key: 0,
|
|
23459
23459
|
class: "hint-text",
|
|
@@ -23568,7 +23568,7 @@ const VsInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_rende
|
|
|
23568
23568
|
this.showMap = !this.showMap;
|
|
23569
23569
|
}
|
|
23570
23570
|
}
|
|
23571
|
-
}, _hoisted_1$
|
|
23571
|
+
}, _hoisted_1$S = {
|
|
23572
23572
|
class: "vs-itinerary",
|
|
23573
23573
|
"data-test": "vs-itinerary"
|
|
23574
23574
|
}, _hoisted_2$H = { class: "fixed-bottom" }, _hoisted_3$y = { class: "d-flex justify-content-center pb-050" }, _hoisted_4$q = {
|
|
@@ -23578,7 +23578,7 @@ const VsInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_rende
|
|
|
23578
23578
|
};
|
|
23579
23579
|
function _sfc_render$V(e, n, t, a, r, s) {
|
|
23580
23580
|
const o = resolveComponent("VsButton"), i = resolveComponent("VsAccordion"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
23581
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
23581
|
+
return openBlock(), createElementBlock("section", _hoisted_1$S, [
|
|
23582
23582
|
withDirectives(createElementVNode("div", _hoisted_2$H, [
|
|
23583
23583
|
createElementVNode("div", _hoisted_3$y, [
|
|
23584
23584
|
createVNode(o, {
|
|
@@ -23672,10 +23672,10 @@ const Itinerary = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_ren
|
|
|
23672
23672
|
show: this.defaultShow
|
|
23673
23673
|
};
|
|
23674
23674
|
}
|
|
23675
|
-
}, _hoisted_1$
|
|
23675
|
+
}, _hoisted_1$R = { class: "vs-itinerary-day" }, _hoisted_2$G = { class: "vs-itinerary-day__header" }, _hoisted_3$x = { class: "vs-itinerary-day__title" }, _hoisted_4$p = { class: "vs-itinerary-day__sub-heading" }, _hoisted_5$j = ["id"], _hoisted_6$e = { class: "vs-itinerary-day__intro-content" }, _hoisted_7$c = { class: "list-unstyled" };
|
|
23676
23676
|
function _sfc_render$U(e, n, t, a, r, s) {
|
|
23677
23677
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsAccordionItem"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
23678
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23678
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
23679
23679
|
createVNode(u, null, {
|
|
23680
23680
|
default: withCtx(() => [
|
|
23681
23681
|
createVNode(c, null, {
|
|
@@ -23771,7 +23771,7 @@ const ItineraryDay = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_
|
|
|
23771
23771
|
required: !0
|
|
23772
23772
|
}
|
|
23773
23773
|
}
|
|
23774
|
-
}, _hoisted_1$
|
|
23774
|
+
}, _hoisted_1$Q = {
|
|
23775
23775
|
class: "vs-itinerary-stop",
|
|
23776
23776
|
"data-test": "vs-itinerary-stop"
|
|
23777
23777
|
}, _hoisted_2$F = { class: "vs-itinerary-stop__border" }, _hoisted_3$w = {
|
|
@@ -23791,7 +23791,7 @@ const ItineraryDay = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_
|
|
|
23791
23791
|
};
|
|
23792
23792
|
function _sfc_render$T(e, n, t, a, r, s) {
|
|
23793
23793
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsHeading"), l = resolveComponent("VsDetail"), c = resolveComponent("VsBody");
|
|
23794
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
23794
|
+
return openBlock(), createElementBlock("li", _hoisted_1$Q, [
|
|
23795
23795
|
createElementVNode("div", _hoisted_2$F, [
|
|
23796
23796
|
createElementVNode("div", _hoisted_3$w, [
|
|
23797
23797
|
createElementVNode("div", _hoisted_4$o, [
|
|
@@ -24051,7 +24051,7 @@ const ItineraryStop = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc
|
|
|
24051
24051
|
return !(n.hours > e.hours || n.hours === e.hours && n.mins > e.minutes);
|
|
24052
24052
|
}
|
|
24053
24053
|
}
|
|
24054
|
-
}, _hoisted_1$
|
|
24054
|
+
}, _hoisted_1$P = {
|
|
24055
24055
|
class: "vs-itinerary-stop-info",
|
|
24056
24056
|
"data-test": "vs-itinerary-stop-info"
|
|
24057
24057
|
}, _hoisted_2$E = {
|
|
@@ -24070,7 +24070,7 @@ const ItineraryStop = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc
|
|
|
24070
24070
|
};
|
|
24071
24071
|
function _sfc_render$S(e, n, t, a, r, s) {
|
|
24072
24072
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsLink");
|
|
24073
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24073
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
24074
24074
|
createVNode(o, {
|
|
24075
24075
|
icon: "vs-icon-feedback-information",
|
|
24076
24076
|
class: "vs-address__map-marker me-050"
|
|
@@ -24103,9 +24103,9 @@ const ItineraryStopInfo = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render",
|
|
|
24103
24103
|
release: "0.0.1",
|
|
24104
24104
|
components: {},
|
|
24105
24105
|
props: {}
|
|
24106
|
-
}, _hoisted_1$
|
|
24106
|
+
}, _hoisted_1$O = { class: "vs-itinerary-tips position-relative my-175" }, _hoisted_2$D = { class: "vs-itinerary-tips__text" }, _hoisted_3$u = { class: "vs-itinerary-tips__svg position-absolute" };
|
|
24107
24107
|
function _sfc_render$R(e, n, t, a, r, s) {
|
|
24108
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
24109
24109
|
createElementVNode("div", _hoisted_2$D, [
|
|
24110
24110
|
renderSlot(e.$slots, "text")
|
|
24111
24111
|
]),
|
|
@@ -24120,9 +24120,9 @@ const ItineraryTips = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc
|
|
|
24120
24120
|
release: "0.0.1",
|
|
24121
24121
|
components: {},
|
|
24122
24122
|
props: {}
|
|
24123
|
-
}, _hoisted_1$
|
|
24123
|
+
}, _hoisted_1$N = { class: "vs-itinerary-border-overlap__wrapper d-flex d-sm-inline-flex flex-column justify-content-start border-left" };
|
|
24124
24124
|
function _sfc_render$Q(e, n, t, a, r, s) {
|
|
24125
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24125
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
24126
24126
|
renderSlot(e.$slots, "default")
|
|
24127
24127
|
]);
|
|
24128
24128
|
}
|
|
@@ -24153,7 +24153,7 @@ const ItineraryBorderOverlapWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$13,
|
|
|
24153
24153
|
return !!this.$slots.heading;
|
|
24154
24154
|
}
|
|
24155
24155
|
}
|
|
24156
|
-
}, _hoisted_1$
|
|
24156
|
+
}, _hoisted_1$M = ["data-test"], _hoisted_2$C = { class: "link-list__list" };
|
|
24157
24157
|
function _sfc_render$P(e, n, t, a, r, s) {
|
|
24158
24158
|
const o = resolveComponent("VsHeading");
|
|
24159
24159
|
return openBlock(), createElementBlock("div", {
|
|
@@ -24176,7 +24176,7 @@ function _sfc_render$P(e, n, t, a, r, s) {
|
|
|
24176
24176
|
renderSlot(e.$slots, "default")
|
|
24177
24177
|
])
|
|
24178
24178
|
])
|
|
24179
|
-
], 10, _hoisted_1$
|
|
24179
|
+
], 10, _hoisted_1$M);
|
|
24180
24180
|
}
|
|
24181
24181
|
const VsLinkList = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$P]]), _sfc_main$11 = {
|
|
24182
24182
|
name: "VsLinkListItem",
|
|
@@ -24242,10 +24242,10 @@ const VsLinkList = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_re
|
|
|
24242
24242
|
this.videoId && this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
24243
24243
|
}
|
|
24244
24244
|
}
|
|
24245
|
-
}, _hoisted_1$
|
|
24245
|
+
}, _hoisted_1$L = { class: "link-list-item" };
|
|
24246
24246
|
function _sfc_render$O(e, n, t, a, r, s) {
|
|
24247
24247
|
const o = resolveComponent("VsLink");
|
|
24248
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
24248
|
+
return openBlock(), createElementBlock("li", _hoisted_1$L, [
|
|
24249
24249
|
createVNode(o, {
|
|
24250
24250
|
href: t.href,
|
|
24251
24251
|
type: t.type === "video" ? "default" : t.type,
|
|
@@ -24301,7 +24301,7 @@ const LinkListItem = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_
|
|
|
24301
24301
|
return !!this.$slots["facilities-slot"];
|
|
24302
24302
|
}
|
|
24303
24303
|
}
|
|
24304
|
-
}, _hoisted_1$
|
|
24304
|
+
}, _hoisted_1$K = {
|
|
24305
24305
|
class: "vs-listicle-item border",
|
|
24306
24306
|
"data-test": "vs-listicle-item"
|
|
24307
24307
|
}, _hoisted_2$B = {
|
|
@@ -24313,7 +24313,7 @@ const LinkListItem = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_
|
|
|
24313
24313
|
};
|
|
24314
24314
|
function _sfc_render$N(e, n, t, a, r, s) {
|
|
24315
24315
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsDetail"), l = resolveComponent("VsBody"), c = resolveComponent("VsCol"), u = resolveComponent("VsRow");
|
|
24316
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
24316
|
+
return openBlock(), createElementBlock("li", _hoisted_1$K, [
|
|
24317
24317
|
renderSlot(e.$slots, "hippo-details"),
|
|
24318
24318
|
createElementVNode("div", _hoisted_2$B, [
|
|
24319
24319
|
createElementVNode("div", _hoisted_3$t, [
|
|
@@ -24543,10 +24543,10 @@ const getEnvValue = (e) => define_process_env_default$1 ? define_process_env_def
|
|
|
24543
24543
|
validations() {
|
|
24544
24544
|
return this.rules;
|
|
24545
24545
|
}
|
|
24546
|
-
}, _hoisted_1$
|
|
24546
|
+
}, _hoisted_1$J = { class: "vs-select" }, _hoisted_2$A = ["id"], _hoisted_3$s = ["id"], _hoisted_4$l = { class: "visually-hidden" }, _hoisted_5$g = { class: "vs-select__container mt-050" };
|
|
24547
24547
|
function _sfc_render$M(e, n, t, a, r, s) {
|
|
24548
24548
|
const o = resolveComponent("BFormSelect");
|
|
24549
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24549
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
24550
24550
|
createElementVNode("p", {
|
|
24551
24551
|
class: "hint-text",
|
|
24552
24552
|
id: `hint-${t.fieldName}`
|
|
@@ -24816,7 +24816,7 @@ const _sfc_main$_ = {
|
|
|
24816
24816
|
}
|
|
24817
24817
|
}
|
|
24818
24818
|
}
|
|
24819
|
-
}, _hoisted_1$
|
|
24819
|
+
}, _hoisted_1$I = {
|
|
24820
24820
|
class: "vs-recaptcha",
|
|
24821
24821
|
"aria-live": "assertive"
|
|
24822
24822
|
}, _hoisted_2$z = {
|
|
@@ -24825,7 +24825,7 @@ const _sfc_main$_ = {
|
|
|
24825
24825
|
};
|
|
24826
24826
|
function _sfc_render$L(e, n, t, a, r, s) {
|
|
24827
24827
|
const o = resolveComponent("VueRecaptcha");
|
|
24828
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24828
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
24829
24829
|
t.invalid && !t.reAlertErrors ? (openBlock(), createElementBlock("span", _hoisted_2$z, toDisplayString(t.errorMsg), 1)) : createCommentVNode("", !0),
|
|
24830
24830
|
r.recaptchaSiteKey ? (openBlock(), createBlock(o, {
|
|
24831
24831
|
key: 1,
|
|
@@ -25044,10 +25044,10 @@ const VsRecaptcha = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_re
|
|
|
25044
25044
|
validations() {
|
|
25045
25045
|
return this.rules;
|
|
25046
25046
|
}
|
|
25047
|
-
}, _hoisted_1$
|
|
25047
|
+
}, _hoisted_1$H = { "data-test": "vs-textarea" }, _hoisted_2$y = ["id"], _hoisted_3$r = ["id"], _hoisted_4$k = { class: "visually-hidden" };
|
|
25048
25048
|
function _sfc_render$K(e, n, t, a, r, s) {
|
|
25049
25049
|
const o = resolveComponent("BFormTextarea");
|
|
25050
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25050
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
25051
25051
|
t.hintText ? (openBlock(), createElementBlock("p", {
|
|
25052
25052
|
key: 0,
|
|
25053
25053
|
class: "hint-text",
|
|
@@ -25519,7 +25519,7 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25519
25519
|
return this.conditionalFields[e] === !0 || typeof this.conditionalFields[e] > "u" ? "" : "d-none";
|
|
25520
25520
|
}
|
|
25521
25521
|
}
|
|
25522
|
-
}, _hoisted_1$
|
|
25522
|
+
}, _hoisted_1$G = {
|
|
25523
25523
|
class: "vs-form",
|
|
25524
25524
|
"data-test": "vs-form"
|
|
25525
25525
|
}, _hoisted_2$x = {
|
|
@@ -25531,7 +25531,7 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25531
25531
|
};
|
|
25532
25532
|
function _sfc_render$J(e, n, t, a, r, s) {
|
|
25533
25533
|
const o = resolveComponent("VsInput"), i = resolveComponent("VsSelect"), l = resolveComponent("VsCheckbox"), c = resolveComponent("VsTextarea"), u = resolveComponent("BFormGroup"), d = resolveComponent("VsRecaptcha"), m = resolveComponent("VsButton"), f = resolveComponent("VsWarning"), p = resolveComponent("VsHeading");
|
|
25534
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25534
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
25535
25535
|
n[1] || (n[1] = createElementVNode("form", { class: "d-none" }, null, -1)),
|
|
25536
25536
|
r.submitted ? createCommentVNode("", !0) : (openBlock(), createElementBlock("form", {
|
|
25537
25537
|
key: 0,
|
|
@@ -25730,12 +25730,12 @@ const VsMegaNavTopMenu = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _s
|
|
|
25730
25730
|
);
|
|
25731
25731
|
}
|
|
25732
25732
|
}
|
|
25733
|
-
}, _hoisted_1$
|
|
25733
|
+
}, _hoisted_1$F = {
|
|
25734
25734
|
class: "mega-nav-mobile-menu",
|
|
25735
25735
|
"data-test": "vs-mega-nav-mobile-menu"
|
|
25736
25736
|
};
|
|
25737
25737
|
function _sfc_render$H(e, n, t, a, r, s) {
|
|
25738
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25738
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
25739
25739
|
renderSlot(e.$slots, "default")
|
|
25740
25740
|
]);
|
|
25741
25741
|
}
|
|
@@ -25769,7 +25769,7 @@ const VsMegaNavMobileMenu = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render",
|
|
|
25769
25769
|
this.showSearchForm = !this.showSearchForm, this.$emit("toggleAction", this.showSearchForm);
|
|
25770
25770
|
}
|
|
25771
25771
|
}
|
|
25772
|
-
}, _hoisted_1$
|
|
25772
|
+
}, _hoisted_1$E = { class: "visually-hidden-xxl-down" };
|
|
25773
25773
|
function _sfc_render$G(e, n, t, a, r, s) {
|
|
25774
25774
|
const o = resolveComponent("VsButton");
|
|
25775
25775
|
return openBlock(), createBlock(o, {
|
|
@@ -25783,7 +25783,7 @@ function _sfc_render$G(e, n, t, a, r, s) {
|
|
|
25783
25783
|
rounded: !1
|
|
25784
25784
|
}, {
|
|
25785
25785
|
default: withCtx(() => [
|
|
25786
|
-
createElementVNode("span", _hoisted_1$
|
|
25786
|
+
createElementVNode("span", _hoisted_1$E, [
|
|
25787
25787
|
renderSlot(e.$slots, "default")
|
|
25788
25788
|
])
|
|
25789
25789
|
]),
|
|
@@ -25880,7 +25880,7 @@ const VsSiteSearch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_r
|
|
|
25880
25880
|
this.$emit("toggleAction", this.showSearchForm);
|
|
25881
25881
|
}
|
|
25882
25882
|
}
|
|
25883
|
-
}, _hoisted_1$
|
|
25883
|
+
}, _hoisted_1$D = {
|
|
25884
25884
|
key: 0,
|
|
25885
25885
|
class: "vs-site-search-form",
|
|
25886
25886
|
"data-test": "vs-site-search-form"
|
|
@@ -25894,7 +25894,7 @@ const VsSiteSearch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_r
|
|
|
25894
25894
|
}, _hoisted_5$e = { class: "visually-hidden" };
|
|
25895
25895
|
function _sfc_render$F(e, n, t, a, r, s) {
|
|
25896
25896
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsInput"), l = resolveComponent("VsButton"), c = resolveComponent("VsCol"), u = resolveComponent("VsRow"), d = resolveComponent("VsContainer");
|
|
25897
|
-
return r.showSearchForm ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
25897
|
+
return r.showSearchForm ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
25898
25898
|
createVNode(d, { fluid: "lg" }, {
|
|
25899
25899
|
default: withCtx(() => [
|
|
25900
25900
|
createVNode(u, null, {
|
|
@@ -26110,7 +26110,7 @@ const VsSiteSearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _s
|
|
|
26110
26110
|
});
|
|
26111
26111
|
}
|
|
26112
26112
|
}
|
|
26113
|
-
}, _hoisted_1$
|
|
26113
|
+
}, _hoisted_1$C = {
|
|
26114
26114
|
class: "vs-mega-nav bg-white",
|
|
26115
26115
|
"aria-label": "main nav",
|
|
26116
26116
|
"data-test": "vs-mega-nav",
|
|
@@ -26123,7 +26123,7 @@ const VsSiteSearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _s
|
|
|
26123
26123
|
function _sfc_render$E(e, n, t, a, r, s) {
|
|
26124
26124
|
const o = resolveComponent("VsSvgLink"), i = resolveComponent("VsCol"), l = resolveComponent("VsMegaNavTopMenu"), c = resolveComponent("VsSiteSearch"), u = resolveComponent("VsButton"), d = resolveComponent("VsMegaNavMobileMenu"), m = resolveComponent("VsRow"), f = resolveComponent("VsContainer"), p = resolveComponent("VsSiteSearchForm"), g = resolveDirective("click-outside");
|
|
26125
26125
|
return openBlock(), createElementBlock("div", null, [
|
|
26126
|
-
createElementVNode("nav", _hoisted_1$
|
|
26126
|
+
createElementVNode("nav", _hoisted_1$C, [
|
|
26127
26127
|
createVNode(f, {
|
|
26128
26128
|
fluid: "lg",
|
|
26129
26129
|
class: "h-100"
|
|
@@ -26310,7 +26310,7 @@ const MegaNav = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render
|
|
|
26310
26310
|
}
|
|
26311
26311
|
}
|
|
26312
26312
|
}
|
|
26313
|
-
}, _hoisted_1$
|
|
26313
|
+
}, _hoisted_1$B = {
|
|
26314
26314
|
class: "vs-mega-nav-dropdown",
|
|
26315
26315
|
"data-test": "vs-mega-nav-dropdown",
|
|
26316
26316
|
role: "menuitem"
|
|
@@ -26320,7 +26320,7 @@ const MegaNav = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render
|
|
|
26320
26320
|
}, _hoisted_4$h = { role: "menuitem" };
|
|
26321
26321
|
function _sfc_render$D(e, n, t, a, r, s) {
|
|
26322
26322
|
const o = resolveComponent("VsButton"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer"), u = resolveComponent("BDropdown");
|
|
26323
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26323
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
26324
26324
|
createVNode(u, {
|
|
26325
26325
|
variant: "subtle",
|
|
26326
26326
|
ref: "dropdown",
|
|
@@ -26461,7 +26461,7 @@ const VsMegaNavDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _
|
|
|
26461
26461
|
return this.align === "bottom" ? "vs-mega-nav-dropdown-container__featured--bottom" : "";
|
|
26462
26462
|
}
|
|
26463
26463
|
}
|
|
26464
|
-
}, _hoisted_1$
|
|
26464
|
+
}, _hoisted_1$A = {
|
|
26465
26465
|
class: "vs-mega-nav-dropdown-container",
|
|
26466
26466
|
"data-test": "vs-mega-nav-dropdown-container",
|
|
26467
26467
|
ref: "menuToggle",
|
|
@@ -26473,7 +26473,7 @@ const VsMegaNavDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _
|
|
|
26473
26473
|
};
|
|
26474
26474
|
function _sfc_render$C(e, n, t, a, r, s) {
|
|
26475
26475
|
const o = resolveComponent("VsLink"), i = resolveComponent("VsMegaNavDropdown"), l = resolveComponent("LazyHydrationWrapper");
|
|
26476
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
26476
|
+
return openBlock(), createElementBlock("li", _hoisted_1$A, [
|
|
26477
26477
|
createVNode(l, { "on-interaction": ["focus", "click"] }, {
|
|
26478
26478
|
default: withCtx(() => [
|
|
26479
26479
|
createVNode(i, { "menu-toggle-alt-text": "Toggle Menu" }, {
|
|
@@ -26545,7 +26545,7 @@ const MegaNavDropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["ren
|
|
|
26545
26545
|
return this.listHeading ? `vsMeganav${this.listHeading.replace(/\W/g, "")}` : "";
|
|
26546
26546
|
}
|
|
26547
26547
|
}
|
|
26548
|
-
}, _hoisted_1$
|
|
26548
|
+
}, _hoisted_1$z = ["aria-label"];
|
|
26549
26549
|
function _sfc_render$B(e, n, t, a, r, s) {
|
|
26550
26550
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsList");
|
|
26551
26551
|
return openBlock(), createElementBlock("nav", {
|
|
@@ -26575,7 +26575,7 @@ function _sfc_render$B(e, n, t, a, r, s) {
|
|
|
26575
26575
|
]),
|
|
26576
26576
|
_: 3
|
|
26577
26577
|
})
|
|
26578
|
-
], 8, _hoisted_1$
|
|
26578
|
+
], 8, _hoisted_1$z);
|
|
26579
26579
|
}
|
|
26580
26580
|
const MegaNavList = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$B]]), _sfc_main$P = {
|
|
26581
26581
|
name: "VsMegaNavListItem",
|
|
@@ -26809,7 +26809,7 @@ const MegaNavFeaturedItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render",
|
|
|
26809
26809
|
});
|
|
26810
26810
|
}
|
|
26811
26811
|
}
|
|
26812
|
-
}, _hoisted_1$
|
|
26812
|
+
}, _hoisted_1$y = {
|
|
26813
26813
|
key: 0,
|
|
26814
26814
|
class: "vs-mega-nav-featured-event__date-range"
|
|
26815
26815
|
}, _hoisted_2$s = { class: "vs-mega-nav-featured-event__date-detail" }, _hoisted_3$l = { class: "vs-mega-nav-featured-event__title" }, _hoisted_4$g = {
|
|
@@ -26829,7 +26829,7 @@ function _sfc_render$x(e, n, t, a, r, s) {
|
|
|
26829
26829
|
"data-chromatic": "ignore"
|
|
26830
26830
|
}, {
|
|
26831
26831
|
"stretched-card-content": withCtx(() => [
|
|
26832
|
-
r.featuredEvent && r.featuredEvent.opening ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
26832
|
+
r.featuredEvent && r.featuredEvent.opening ? (openBlock(), createElementBlock("p", _hoisted_1$y, [
|
|
26833
26833
|
createTextVNode(toDisplayString(r.featuredEvent.opening.period.label) + " ", 1),
|
|
26834
26834
|
createElementVNode("span", _hoisted_2$s, toDisplayString(r.featuredEvent.opening.period.startDay), 1)
|
|
26835
26835
|
])) : createCommentVNode("", !0),
|
|
@@ -27005,7 +27005,7 @@ const MegaNavStaticLink = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _
|
|
|
27005
27005
|
];
|
|
27006
27006
|
}
|
|
27007
27007
|
}
|
|
27008
|
-
}, _hoisted_1$
|
|
27008
|
+
}, _hoisted_1$x = {
|
|
27009
27009
|
key: 0,
|
|
27010
27010
|
class: "vs-megalinks__intro",
|
|
27011
27011
|
"data-test": "vs-megalinks__intro"
|
|
@@ -27029,7 +27029,7 @@ function _sfc_render$v(e, n, t, a, r, s) {
|
|
|
27029
27029
|
"offset-md": "2"
|
|
27030
27030
|
}, {
|
|
27031
27031
|
default: withCtx(() => [
|
|
27032
|
-
t.title ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
27032
|
+
t.title ? (openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
27033
27033
|
createVNode(o, {
|
|
27034
27034
|
level: t.headingLevel,
|
|
27035
27035
|
"heading-style": t.headingStyle,
|
|
@@ -27208,7 +27208,7 @@ const Megalinks = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_rend
|
|
|
27208
27208
|
return this.theme && (e += `vs-megalink-link-list--${this.theme} `), this.isHomePage || (e += "vs-megalink-link-list--internal-page "), this.businessSupport && (e += "vs-megalink-link-list--business-support "), e;
|
|
27209
27209
|
}
|
|
27210
27210
|
}
|
|
27211
|
-
}, _hoisted_1$
|
|
27211
|
+
}, _hoisted_1$w = {
|
|
27212
27212
|
class: "vs-megalink-link-list__title",
|
|
27213
27213
|
"data-test": "megalink-link-list__title"
|
|
27214
27214
|
};
|
|
@@ -27233,7 +27233,7 @@ function _sfc_render$u(e, n, t, a, r, s) {
|
|
|
27233
27233
|
"is-home-page": t.isHomePage
|
|
27234
27234
|
}, createSlots({
|
|
27235
27235
|
"stretched-card-header": withCtx(() => [
|
|
27236
|
-
createElementVNode("span", _hoisted_1$
|
|
27236
|
+
createElementVNode("span", _hoisted_1$w, [
|
|
27237
27237
|
renderSlot(e.$slots, "vs-link-list-heading")
|
|
27238
27238
|
])
|
|
27239
27239
|
]),
|
|
@@ -27401,13 +27401,13 @@ const MegalinkLinkList = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _s
|
|
|
27401
27401
|
];
|
|
27402
27402
|
}
|
|
27403
27403
|
}
|
|
27404
|
-
}, _hoisted_1$
|
|
27404
|
+
}, _hoisted_1$v = { class: "vs-megalink-multi-image" }, _hoisted_2$q = {
|
|
27405
27405
|
class: "vs-megalink-multi-image-card__title",
|
|
27406
27406
|
"data-test": "megalink-multi-image-card__title"
|
|
27407
27407
|
};
|
|
27408
27408
|
function _sfc_render$t(e, n, t, a, r, s) {
|
|
27409
27409
|
const o = resolveComponent("VsStretchedLinkPanels"), i = resolveComponent("VsBody"), l = resolveComponent("VsStretchedLinkCard");
|
|
27410
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27410
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
27411
27411
|
createVNode(l, {
|
|
27412
27412
|
link: t.linkUrl,
|
|
27413
27413
|
type: t.linkType,
|
|
@@ -27532,7 +27532,7 @@ const MegalinkMultiImage = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render",
|
|
|
27532
27532
|
});
|
|
27533
27533
|
}
|
|
27534
27534
|
}
|
|
27535
|
-
}, _hoisted_1$
|
|
27535
|
+
}, _hoisted_1$u = { class: "vs-megalink-single-image__image-container" }, _hoisted_2$p = {
|
|
27536
27536
|
class: "vs-megalink-single-image__content",
|
|
27537
27537
|
"data-test": "megalink-single-image__content"
|
|
27538
27538
|
}, _hoisted_3$j = { class: "vs-megalink-single-image__button" };
|
|
@@ -27543,7 +27543,7 @@ function _sfc_render$s(e, n, t, a, r, s) {
|
|
|
27543
27543
|
"data-test": "megalink-single-image",
|
|
27544
27544
|
style: normalizeStyle(s.cssVars)
|
|
27545
27545
|
}, [
|
|
27546
|
-
createElementVNode("div", _hoisted_1$
|
|
27546
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
27547
27547
|
renderSlot(e.$slots, "vs-single-image")
|
|
27548
27548
|
]),
|
|
27549
27549
|
createVNode(d, { class: "vs-megalink-single-image__text-container" }, {
|
|
@@ -27801,7 +27801,7 @@ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$r
|
|
|
27801
27801
|
return this.isItinerary ? (e.md = "6", e.lg = "5", e.xl = "6", e["offset-lg"] = "1") : this.heroIntro ? (e.md = "12", e.lg = "7", e.xl = "8", e["offset-lg"] = "1") : this.hasToc ? e.md = "7" : e.md = "8", e;
|
|
27802
27802
|
}
|
|
27803
27803
|
}
|
|
27804
|
-
}, _hoisted_1$
|
|
27804
|
+
}, _hoisted_1$t = {
|
|
27805
27805
|
key: 0,
|
|
27806
27806
|
class: "vs-page-intro__fs-mobile-heading-wrapper",
|
|
27807
27807
|
"data-test": "vs-page-intro__mobile-breadcrumb"
|
|
@@ -27819,7 +27819,7 @@ function _sfc_render$q(e, n, t, a, r, s) {
|
|
|
27819
27819
|
class: normalizeClass(["vs-page-intro", s.introClasses]),
|
|
27820
27820
|
"data-test": "vs-page-intro"
|
|
27821
27821
|
}, [
|
|
27822
|
-
t.fullscreenMobile ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
27822
|
+
t.fullscreenMobile ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
27823
27823
|
createVNode(l, null, {
|
|
27824
27824
|
default: withCtx(() => [
|
|
27825
27825
|
createVNode(i, {
|
|
@@ -27945,7 +27945,7 @@ function _sfc_render$q(e, n, t, a, r, s) {
|
|
|
27945
27945
|
])
|
|
27946
27946
|
], 2);
|
|
27947
27947
|
}
|
|
27948
|
-
const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$q]]), _hoisted_1$
|
|
27948
|
+
const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$q]]), _hoisted_1$s = {
|
|
27949
27949
|
"aria-label": "Pagination",
|
|
27950
27950
|
class: "vs-pagination",
|
|
27951
27951
|
"data-test": "vs-pagination"
|
|
@@ -28032,7 +28032,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28032
28032
|
};
|
|
28033
28033
|
return watch(() => t.numberOfPages, () => {
|
|
28034
28034
|
r.value = 1;
|
|
28035
|
-
}), (c, u) => (openBlock(), createElementBlock("nav", _hoisted_1$
|
|
28035
|
+
}), (c, u) => (openBlock(), createElementBlock("nav", _hoisted_1$s, [
|
|
28036
28036
|
createElementVNode("div", _hoisted_2$n, [
|
|
28037
28037
|
createElementVNode("p", null, toDisplayString(s.value), 1)
|
|
28038
28038
|
]),
|
|
@@ -28092,25 +28092,33 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_rend
|
|
|
28092
28092
|
name: "VsPanel",
|
|
28093
28093
|
status: "prototype",
|
|
28094
28094
|
release: "0.0.1",
|
|
28095
|
-
|
|
28096
|
-
|
|
28095
|
+
props: {
|
|
28096
|
+
/**
|
|
28097
|
+
* The panel variant style.
|
|
28098
|
+
* `secondary|information`
|
|
28099
|
+
*/
|
|
28100
|
+
variant: {
|
|
28101
|
+
type: String,
|
|
28102
|
+
default: "secondary",
|
|
28103
|
+
validator: (e) => e.match(
|
|
28104
|
+
/(secondary|information)/
|
|
28105
|
+
)
|
|
28106
|
+
}
|
|
28107
|
+
},
|
|
28108
|
+
computed: {
|
|
28109
|
+
panelClasses() {
|
|
28110
|
+
return `vs-panel--${this.variant}`;
|
|
28111
|
+
}
|
|
28097
28112
|
}
|
|
28098
|
-
}
|
|
28113
|
+
};
|
|
28099
28114
|
function _sfc_render$p(e, n, t, a, r, s) {
|
|
28100
|
-
|
|
28101
|
-
|
|
28102
|
-
|
|
28103
|
-
},
|
|
28104
|
-
|
|
28105
|
-
|
|
28106
|
-
|
|
28107
|
-
default: withCtx(() => [
|
|
28108
|
-
createElementVNode("div", _hoisted_1$s, [
|
|
28109
|
-
renderSlot(e.$slots, "default")
|
|
28110
|
-
])
|
|
28111
|
-
]),
|
|
28112
|
-
_: 3
|
|
28113
|
-
}, 8, ["class"]);
|
|
28115
|
+
return openBlock(), createElementBlock("div", {
|
|
28116
|
+
class: normalizeClass(["vs-panel", s.panelClasses]),
|
|
28117
|
+
"data-test": "vs-panel"
|
|
28118
|
+
}, [
|
|
28119
|
+
renderSlot(e.$slots, "vs-panel-title"),
|
|
28120
|
+
renderSlot(e.$slots, "default")
|
|
28121
|
+
], 2);
|
|
28114
28122
|
}
|
|
28115
28123
|
const Panel = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$p]]);
|
|
28116
28124
|
let VS$1;
|
|
@@ -28679,12 +28687,12 @@ const _hoisted_1$r = {
|
|
|
28679
28687
|
getItemProps: C,
|
|
28680
28688
|
getItemEventListeners: S,
|
|
28681
28689
|
getComboboxProps: V,
|
|
28682
|
-
openMenu:
|
|
28690
|
+
openMenu: E
|
|
28683
28691
|
}) => [
|
|
28684
28692
|
createElementVNode("div", mergeProps(V(), { class: "vs-autocomplete__list-wrapper" }), [
|
|
28685
28693
|
createElementVNode("input", mergeProps({ class: "vs-input form-control" }, p(), toHandlers(g(), !0), {
|
|
28686
28694
|
placeholder: m.placeholder,
|
|
28687
|
-
onClick: (N) =>
|
|
28695
|
+
onClick: (N) => E()
|
|
28688
28696
|
}), null, 16, _hoisted_3$g),
|
|
28689
28697
|
createVNode(VsIcon, {
|
|
28690
28698
|
icon: "vs-icon-control-expand",
|
|
@@ -28692,10 +28700,10 @@ const _hoisted_1$r = {
|
|
|
28692
28700
|
size: "sm"
|
|
28693
28701
|
}),
|
|
28694
28702
|
withDirectives(createElementVNode("ul", mergeProps(b(), toHandlers(k(), !0), { class: "vs-autocomplete__list" }), [
|
|
28695
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.value, (N,
|
|
28703
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.value, (N, O) => (openBlock(), createElementBlock("li", mergeProps({
|
|
28696
28704
|
key: N.id
|
|
28697
|
-
}, { ref_for: !0 }, C({ item: N, index:
|
|
28698
|
-
class: ["vs-autocomplete__list-item", { "vs-autocomplete__list-item--hover": _ ===
|
|
28705
|
+
}, { ref_for: !0 }, C({ item: N, index: O }), toHandlers(S({ item: N, index: O }), !0), {
|
|
28706
|
+
class: ["vs-autocomplete__list-item", { "vs-autocomplete__list-item--hover": _ === O }]
|
|
28699
28707
|
}), toDisplayString(N[c.value]), 17))), 128))
|
|
28700
28708
|
], 16), [
|
|
28701
28709
|
[vShow, v]
|
|
@@ -28966,12 +28974,12 @@ const _hoisted_1$r = {
|
|
|
28966
28974
|
S.push(C), c.value = S, u.value = S.length, i.value = !0, r.value = r.value + adultDefaultCount;
|
|
28967
28975
|
}
|
|
28968
28976
|
}, b = (C, S, V) => {
|
|
28969
|
-
const
|
|
28970
|
-
c.value.splice(
|
|
28977
|
+
const E = c.value.findIndex((N) => N.id === V);
|
|
28978
|
+
c.value.splice(E, 1), u.value = c.value.length, f.value = !0, r.value = r.value - C, l.value = l.value - S, c.value.length === 1 && (i.value = !1);
|
|
28971
28979
|
}, k = (C, S, V) => {
|
|
28972
28980
|
r.value = C === "increase" ? r.value + 1 : r.value - 1, S !== "adults" && (l.value = C === "increase" ? l.value + 1 : l.value - 1);
|
|
28973
|
-
const
|
|
28974
|
-
c.value[
|
|
28981
|
+
const E = c.value.findIndex((N) => N.id === V);
|
|
28982
|
+
c.value[E].numberGroups[S].count = C === "increase" ? c.value[E].numberGroups[S].count + 1 : c.value[E].numberGroups[S].count - 1;
|
|
28975
28983
|
};
|
|
28976
28984
|
return (C, S) => (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
28977
28985
|
createElementVNode("span", _hoisted_2$j, toDisplayString(unref(o)), 1),
|
|
@@ -29005,11 +29013,11 @@ const _hoisted_1$r = {
|
|
|
29005
29013
|
_: 1
|
|
29006
29014
|
}),
|
|
29007
29015
|
createElementVNode("div", _hoisted_4$a, [
|
|
29008
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (V,
|
|
29016
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (V, E) => (openBlock(), createBlock(_sfc_main$A, {
|
|
29009
29017
|
key: V.id,
|
|
29010
|
-
name: "r" + (
|
|
29018
|
+
name: "r" + (E + 1),
|
|
29011
29019
|
"show-remove-btn": i.value,
|
|
29012
|
-
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (
|
|
29020
|
+
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (E + 1),
|
|
29013
29021
|
"unit-options": V,
|
|
29014
29022
|
"unit-removed": f.value,
|
|
29015
29023
|
onNumberChange: k,
|
|
@@ -29315,34 +29323,34 @@ const _hoisted_1$r = {
|
|
|
29315
29323
|
w.forEach((M) => {
|
|
29316
29324
|
L.push(M);
|
|
29317
29325
|
}), S.value = L;
|
|
29318
|
-
},
|
|
29326
|
+
}, E = computed$1(() => t.value ? [] : S.value.map((L) => ({
|
|
29319
29327
|
...L,
|
|
29320
29328
|
text: getProductName(L.value, L.text)
|
|
29321
29329
|
}))), N = async () => {
|
|
29322
29330
|
const w = await getData(g);
|
|
29323
29331
|
w && (_.value = w.data);
|
|
29324
|
-
},
|
|
29332
|
+
}, O = async () => {
|
|
29325
29333
|
const w = await getData(k);
|
|
29326
29334
|
w && (C.value = w.data);
|
|
29327
29335
|
}, R = async () => {
|
|
29328
29336
|
const w = await getData(v);
|
|
29329
29337
|
w && (b.value = w.data);
|
|
29330
|
-
},
|
|
29338
|
+
}, D = (w, L) => {
|
|
29331
29339
|
L === "key" ? s.value = _.value.find((M) => M.key === w) : L === "id" ? s.value = _.value.find((M) => M.id === w) : s.value = _.value.find((M) => M.name === w.trim());
|
|
29332
29340
|
}, z = (w) => {
|
|
29333
29341
|
const L = w.value;
|
|
29334
|
-
a.value = L, L === "tour" && (
|
|
29335
|
-
},
|
|
29342
|
+
a.value = L, L === "tour" && (O(), R());
|
|
29343
|
+
}, P = () => u[n.defaultLocale] || "", j = () => {
|
|
29336
29344
|
t.value = !0, nextTick(() => {
|
|
29337
|
-
t.value = !1, n.defaultLocation !== "" && c &&
|
|
29345
|
+
t.value = !1, n.defaultLocation !== "" && c && D(n.defaultLocation, "id");
|
|
29338
29346
|
});
|
|
29339
29347
|
}, Z = computed$1(() => a.value !== "cate" && a.value !== "acti,attr,reta" ? "d-lg-flex" : "");
|
|
29340
29348
|
onBeforeMount(async () => {
|
|
29341
29349
|
window.VS = {};
|
|
29342
29350
|
const w = document.createElement("script");
|
|
29343
|
-
w.async = !1, w.onload = j, w.setAttribute("src", `https://www.visitscotland.com/${
|
|
29351
|
+
w.async = !1, w.onload = j, w.setAttribute("src", `https://www.visitscotland.com/${P().localeUrl}/data/template/search.js`), document.head.appendChild(w);
|
|
29344
29352
|
}), onMounted(async () => {
|
|
29345
|
-
N(), c.value = !0, a.value = n.defaultProd, a.value === "tour" && (
|
|
29353
|
+
N(), c.value = !0, a.value = n.defaultProd, a.value === "tour" && (O(), R()), V();
|
|
29346
29354
|
});
|
|
29347
29355
|
const Q = (w) => {
|
|
29348
29356
|
o.value = w ? "on" : "off";
|
|
@@ -29354,7 +29362,7 @@ const _hoisted_1$r = {
|
|
|
29354
29362
|
}, 500);
|
|
29355
29363
|
};
|
|
29356
29364
|
return (w, L) => {
|
|
29357
|
-
var M, q, J, $,
|
|
29365
|
+
var M, q, J, $, B, T;
|
|
29358
29366
|
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
29359
29367
|
t.value ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
29360
29368
|
createElementVNode("div", _hoisted_3$a, [
|
|
@@ -29372,7 +29380,7 @@ const _hoisted_1$r = {
|
|
|
29372
29380
|
class: normalizeClass(Z.value)
|
|
29373
29381
|
}, [
|
|
29374
29382
|
createVNode(VsSelect, {
|
|
29375
|
-
options:
|
|
29383
|
+
options: E.value,
|
|
29376
29384
|
value: e.defaultProd,
|
|
29377
29385
|
onUpdated: L[0] || (L[0] = (F) => z(F)),
|
|
29378
29386
|
"field-name": "prodtypes"
|
|
@@ -29390,7 +29398,7 @@ const _hoisted_1$r = {
|
|
|
29390
29398
|
options: _.value,
|
|
29391
29399
|
placeholder: unref(getLabelText)("location_placeholder", "Enter a location"),
|
|
29392
29400
|
"track-by": "name",
|
|
29393
|
-
onChangeValue: L[1] || (L[1] = (F) =>
|
|
29401
|
+
onChangeValue: L[1] || (L[1] = (F) => D(F)),
|
|
29394
29402
|
"default-val": unref(s),
|
|
29395
29403
|
"data-chromatic": "ignore"
|
|
29396
29404
|
}, null, 8, ["label", "options", "placeholder", "default-val"])) : createCommentVNode("", !0),
|
|
@@ -29412,7 +29420,7 @@ const _hoisted_1$r = {
|
|
|
29412
29420
|
key: 3,
|
|
29413
29421
|
type: "hidden",
|
|
29414
29422
|
name: "locprox",
|
|
29415
|
-
value: ((
|
|
29423
|
+
value: ((B = unref(s)) == null ? void 0 : B.type) === "DISTRICT" ? 1 : 0
|
|
29416
29424
|
}, null, 8, _hoisted_12$2)) : createCommentVNode("", !0),
|
|
29417
29425
|
a.value !== "tour" && ((T = unref(s)) == null ? void 0 : T.type) === "DISTRICT" ? (openBlock(), createElementBlock("input", _hoisted_13$2)) : createCommentVNode("", !0),
|
|
29418
29426
|
a.value === "even" || a.value === "acco" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
@@ -31455,11 +31463,11 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31455
31463
|
}),
|
|
31456
31464
|
createVNode(v, null, {
|
|
31457
31465
|
default: withCtx(() => [
|
|
31458
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (
|
|
31459
|
-
key:
|
|
31466
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (E) => (openBlock(), createBlock(_, {
|
|
31467
|
+
key: E.name
|
|
31460
31468
|
}, {
|
|
31461
31469
|
default: withCtx(() => [
|
|
31462
|
-
|
|
31470
|
+
E.status === "0" || E.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
31463
31471
|
default: withCtx(() => [
|
|
31464
31472
|
createVNode(p, {
|
|
31465
31473
|
icon: "fa-regular fa-ban",
|
|
@@ -31470,7 +31478,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31470
31478
|
]),
|
|
31471
31479
|
_: 1
|
|
31472
31480
|
})) : createCommentVNode("", !0),
|
|
31473
|
-
|
|
31481
|
+
E.status === "1" || E.status === 1 ? (openBlock(), createBlock(g, { key: 1 }, {
|
|
31474
31482
|
default: withCtx(() => [
|
|
31475
31483
|
createVNode(p, {
|
|
31476
31484
|
icon: "fa-regular fa-check",
|
|
@@ -31481,7 +31489,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31481
31489
|
]),
|
|
31482
31490
|
_: 1
|
|
31483
31491
|
})) : createCommentVNode("", !0),
|
|
31484
|
-
|
|
31492
|
+
E.status === "2" || E.status === 2 ? (openBlock(), createBlock(g, { key: 2 }, {
|
|
31485
31493
|
default: withCtx(() => [
|
|
31486
31494
|
createVNode(p, {
|
|
31487
31495
|
icon: "fa-regular fa-timer",
|
|
@@ -31492,7 +31500,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31492
31500
|
]),
|
|
31493
31501
|
_: 1
|
|
31494
31502
|
})) : createCommentVNode("", !0),
|
|
31495
|
-
|
|
31503
|
+
E.status === "3" || E.status === 3 ? (openBlock(), createBlock(g, { key: 3 }, {
|
|
31496
31504
|
default: withCtx(() => [
|
|
31497
31505
|
createVNode(p, {
|
|
31498
31506
|
icon: "fa-regular fa-ski-boot-ski",
|
|
@@ -31503,7 +31511,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31503
31511
|
]),
|
|
31504
31512
|
_: 1
|
|
31505
31513
|
})) : createCommentVNode("", !0),
|
|
31506
|
-
|
|
31514
|
+
E.status === "4" || E.status === 4 ? (openBlock(), createBlock(g, { key: 4 }, {
|
|
31507
31515
|
default: withCtx(() => [
|
|
31508
31516
|
createVNode(p, {
|
|
31509
31517
|
icon: "fa-regular fa-hourglass",
|
|
@@ -31516,7 +31524,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31516
31524
|
})) : createCommentVNode("", !0),
|
|
31517
31525
|
createVNode(g, null, {
|
|
31518
31526
|
default: withCtx(() => [
|
|
31519
|
-
createTextVNode(toDisplayString(
|
|
31527
|
+
createTextVNode(toDisplayString(E.name), 1)
|
|
31520
31528
|
]),
|
|
31521
31529
|
_: 2
|
|
31522
31530
|
}, 1024)
|
|
@@ -31571,28 +31579,28 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31571
31579
|
]),
|
|
31572
31580
|
_: 1
|
|
31573
31581
|
}),
|
|
31574
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (
|
|
31575
|
-
key:
|
|
31582
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (E) => (openBlock(), createElementBlock("div", {
|
|
31583
|
+
key: E.name
|
|
31576
31584
|
}, [
|
|
31577
31585
|
createVNode(V, null, {
|
|
31578
31586
|
default: withCtx(() => [
|
|
31579
31587
|
createVNode(S, {
|
|
31580
31588
|
variant: "subtle",
|
|
31581
|
-
"control-id": `accordion_item_${
|
|
31582
|
-
"colour-badge":
|
|
31589
|
+
"control-id": `accordion_item_${E.name}`,
|
|
31590
|
+
"colour-badge": E.colourToken
|
|
31583
31591
|
}, {
|
|
31584
31592
|
title: withCtx(() => [
|
|
31585
31593
|
createElementVNode("div", {
|
|
31586
|
-
"data-test": `vs-ski__${
|
|
31594
|
+
"data-test": `vs-ski__${E.name}-label`,
|
|
31587
31595
|
class: "d-inline-block"
|
|
31588
31596
|
}, [
|
|
31589
|
-
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(
|
|
31590
|
-
createTextVNode(" " + toDisplayString(
|
|
31597
|
+
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(E.colour)), 1),
|
|
31598
|
+
createTextVNode(" " + toDisplayString(E.name), 1)
|
|
31591
31599
|
], 8, _hoisted_16)
|
|
31592
31600
|
]),
|
|
31593
31601
|
default: withCtx(() => [
|
|
31594
31602
|
createVNode(k, {
|
|
31595
|
-
"table-caption": `${
|
|
31603
|
+
"table-caption": `${E.colour} - ${E.name}`,
|
|
31596
31604
|
class: "vs-ski-scotland-status__run-status-table"
|
|
31597
31605
|
}, {
|
|
31598
31606
|
default: withCtx(() => [
|
|
@@ -31615,9 +31623,9 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31615
31623
|
}),
|
|
31616
31624
|
createVNode(v, null, {
|
|
31617
31625
|
default: withCtx(() => [
|
|
31618
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
31626
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(E.runs, (N) => (openBlock(), createBlock(_, {
|
|
31619
31627
|
key: N.name,
|
|
31620
|
-
"data-test": `vs-ski__${
|
|
31628
|
+
"data-test": `vs-ski__${E.name}-row`
|
|
31621
31629
|
}, {
|
|
31622
31630
|
default: withCtx(() => [
|
|
31623
31631
|
N.status === "0" || N.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
@@ -33052,14 +33060,14 @@ function setup(e) {
|
|
|
33052
33060
|
const v = g, b = Number(/* @__PURE__ */ new Date()), k = b - (d || b);
|
|
33053
33061
|
v.diff = k, v.prev = d, v.curr = b, d = b, _[0] = t.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
|
|
33054
33062
|
let C = 0;
|
|
33055
|
-
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V,
|
|
33063
|
+
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V, E) => {
|
|
33056
33064
|
if (V === "%%")
|
|
33057
33065
|
return "%";
|
|
33058
33066
|
C++;
|
|
33059
|
-
const N = t.formatters[
|
|
33067
|
+
const N = t.formatters[E];
|
|
33060
33068
|
if (typeof N == "function") {
|
|
33061
|
-
const
|
|
33062
|
-
V = N.call(v,
|
|
33069
|
+
const O = _[C];
|
|
33070
|
+
V = N.call(v, O), _.splice(C, 1), C--;
|
|
33063
33071
|
}
|
|
33064
33072
|
return V;
|
|
33065
33073
|
}), t.formatArgs.call(v, _), (v.log || t.log).apply(v, _);
|
|
@@ -33339,14 +33347,14 @@ var functionNamesExports = functionNames.exports;
|
|
|
33339
33347
|
const k = s.default[_], C = b.getPlayerState(), S = b[_].apply(b, v);
|
|
33340
33348
|
return k.stateChangeRequired || // eslint-disable-next-line no-extra-parens
|
|
33341
33349
|
Array.isArray(k.acceptableStates) && !k.acceptableStates.includes(C) ? new Promise((V) => {
|
|
33342
|
-
const
|
|
33350
|
+
const E = () => {
|
|
33343
33351
|
const N = b.getPlayerState();
|
|
33344
|
-
let
|
|
33345
|
-
typeof k.timeout == "number" && (
|
|
33346
|
-
b.removeEventListener("onStateChange",
|
|
33347
|
-
}, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(N) && (b.removeEventListener("onStateChange",
|
|
33352
|
+
let O;
|
|
33353
|
+
typeof k.timeout == "number" && (O = setTimeout(() => {
|
|
33354
|
+
b.removeEventListener("onStateChange", E), V();
|
|
33355
|
+
}, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(N) && (b.removeEventListener("onStateChange", E), clearTimeout(O), V());
|
|
33348
33356
|
};
|
|
33349
|
-
b.addEventListener("onStateChange",
|
|
33357
|
+
b.addEventListener("onStateChange", E);
|
|
33350
33358
|
}).then(() => S) : S;
|
|
33351
33359
|
}) : g[_] = (...v) => f.then((b) => b[_].apply(b, v));
|
|
33352
33360
|
return g;
|
|
@@ -33865,7 +33873,7 @@ async function cludoSearch(e, n, t, a, r) {
|
|
|
33865
33873
|
query: e || "*",
|
|
33866
33874
|
operator: "or",
|
|
33867
33875
|
responseType: "JsonObject",
|
|
33868
|
-
perPage: 6,
|
|
33876
|
+
perPage: r ? 12 : 6,
|
|
33869
33877
|
page: t,
|
|
33870
33878
|
facets: {
|
|
33871
33879
|
Category: r ? [r] : null
|
|
@@ -33914,7 +33922,7 @@ async function eventSearch(e, n, t, a, r, s, o, i) {
|
|
|
33914
33922
|
const l = useFederatedSearchStore();
|
|
33915
33923
|
if (l.eventsApiError = !1, l.cludoError = !1, a === "events" || !a) {
|
|
33916
33924
|
let c = `${e}?query=${n}`;
|
|
33917
|
-
c = t > 1 ? `${c}&page=${t}` : c, c = s !== "" ? `${c}&startDate=${s}` : c, c = o !== "" ? `${c}&endDate=${o}` : c, c = i ? `${c}&sort=${i.key}` : c, r.forEach((u) => {
|
|
33925
|
+
c = t > 1 ? `${c}&page=${t}` : c, c = s !== "" ? `${c}&startDate=${s}` : c, c = o !== "" ? `${c}&endDate=${o}` : c, c = i ? `${c}&sort=${i.key}` : c, c = a === "events" ? `${c}&pageSize=12` : `${c}&pageSize=6`, r.forEach((u) => {
|
|
33918
33926
|
c += `&category=${u}`;
|
|
33919
33927
|
});
|
|
33920
33928
|
try {
|
|
@@ -33959,37 +33967,37 @@ async function cludoAutocomplete(e, n) {
|
|
|
33959
33967
|
}
|
|
33960
33968
|
}
|
|
33961
33969
|
const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
33962
|
-
const e = ref(null), n = ref(void 0), t = ref(!1), a = ref(1), r = ref(void 0), s = ref(!1), o = ref(!1), i = ref(null), l = ref(""), c = ref(null), u = ref(null), d = ref([]), m = ref([]), f = ref(void 0), p = ref(!1),
|
|
33963
|
-
async function
|
|
33970
|
+
const e = ref(null), n = ref(void 0), t = ref(!1), a = ref(1), r = ref(void 0), s = ref(!1), o = ref(!1), i = ref(null), l = ref(""), c = ref(null), u = ref(null), d = ref([]), m = ref([]), f = ref(void 0), p = ref(void 0), g = ref(void 0), _ = ref(!1), v = ref(""), b = ref(""), k = ref(void 0), C = ref(void 0);
|
|
33971
|
+
async function S() {
|
|
33964
33972
|
o.value = !0;
|
|
33965
|
-
const
|
|
33973
|
+
const N = await cludoSearch(
|
|
33966
33974
|
l.value,
|
|
33967
33975
|
n.value,
|
|
33968
33976
|
a.value,
|
|
33969
33977
|
c.value,
|
|
33970
33978
|
u.value
|
|
33971
|
-
),
|
|
33979
|
+
), O = await eventSearch(
|
|
33972
33980
|
r.value,
|
|
33973
33981
|
l.value,
|
|
33974
33982
|
a.value,
|
|
33975
33983
|
u.value,
|
|
33976
33984
|
m.value,
|
|
33977
|
-
|
|
33978
|
-
|
|
33979
|
-
|
|
33985
|
+
v.value,
|
|
33986
|
+
b.value,
|
|
33987
|
+
k.value
|
|
33980
33988
|
);
|
|
33981
|
-
i.value = [...
|
|
33989
|
+
i.value = [...N.results, ...O.results], p.value = N.totalResults, g.value = O.totalResults, f.value = N.totalResults + O.totalResults, o.value = !1;
|
|
33982
33990
|
}
|
|
33983
|
-
async function
|
|
33991
|
+
async function V() {
|
|
33984
33992
|
return cludoAutocomplete(l.value, n.value);
|
|
33985
33993
|
}
|
|
33986
|
-
function
|
|
33987
|
-
const
|
|
33988
|
-
if (l.value ?
|
|
33989
|
-
window.history.pushState({}, "",
|
|
33994
|
+
function E(N) {
|
|
33995
|
+
const O = new URL(window.location);
|
|
33996
|
+
if (l.value ? O.searchParams.set("search-term", l.value) : O.searchParams.delete("search-term"), u.value ? O.searchParams.set("category", encodeURIComponent(u.value)) : O.searchParams.delete("category"), m.value.length > 0 ? O.searchParams.set("sub-category", encodeURIComponent(m.value.join(","))) : O.searchParams.delete("sub-category"), N ? (a.value = 1, O.searchParams.set("page", a.value.toString())) : a.value && a.value > 1 ? O.searchParams.set("page", a.value.toString()) : O.searchParams.delete("page"), v.value ? O.searchParams.set("start-date", v.value) : O.searchParams.delete("start-date"), b.value ? O.searchParams.set("end-date", b.value) : O.searchParams.delete("end-date"), k.value ? O.searchParams.set("sort-by", k.value.key) : O.searchParams.delete("sort-by"), !_.value)
|
|
33997
|
+
window.history.pushState({}, "", O), S();
|
|
33990
33998
|
else {
|
|
33991
|
-
const
|
|
33992
|
-
window.location.href =
|
|
33999
|
+
const R = `./${C.value}/${O.search}`;
|
|
34000
|
+
window.location.href = R;
|
|
33993
34001
|
}
|
|
33994
34002
|
}
|
|
33995
34003
|
return {
|
|
@@ -33999,8 +34007,8 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
|
33999
34007
|
cludoError: t,
|
|
34000
34008
|
eventsApi: r,
|
|
34001
34009
|
eventsApiError: s,
|
|
34002
|
-
getAutoComplete:
|
|
34003
|
-
getSearchResults:
|
|
34010
|
+
getAutoComplete: V,
|
|
34011
|
+
getSearchResults: S,
|
|
34004
34012
|
isLoading: o,
|
|
34005
34013
|
results: i,
|
|
34006
34014
|
searchTerm: l,
|
|
@@ -34009,11 +34017,13 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
|
34009
34017
|
selectedSubCategory: d,
|
|
34010
34018
|
selectedSubCategoryKey: m,
|
|
34011
34019
|
totalResults: f,
|
|
34012
|
-
|
|
34013
|
-
|
|
34014
|
-
|
|
34015
|
-
|
|
34016
|
-
|
|
34020
|
+
totalResultsCludo: p,
|
|
34021
|
+
totalResultsEvents: g,
|
|
34022
|
+
navigateToResultsPage: E,
|
|
34023
|
+
isHomePage: _,
|
|
34024
|
+
startDate: v,
|
|
34025
|
+
endDate: b,
|
|
34026
|
+
sortBy: k
|
|
34017
34027
|
};
|
|
34018
34028
|
}), __default__ = {
|
|
34019
34029
|
name: "VsDivider"
|
|
@@ -34600,7 +34610,10 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
|
34600
34610
|
}
|
|
34601
34611
|
), a = e;
|
|
34602
34612
|
provide("cludoCategories", a.cludoCategories);
|
|
34603
|
-
const r = computed$1(() =>
|
|
34613
|
+
const r = computed$1(() => {
|
|
34614
|
+
let f;
|
|
34615
|
+
return n.selectedCategoryKey ? n.selectedCategoryKey !== "events" ? f = Math.ceil(n.totalResultsCludo / 12) : n.selectedCategoryKey === "events" && (f = Math.ceil(n.totalResultsEvents / 12)) : f = n.totalResultsCludo >= n.totalResultsEvents ? Math.ceil(n.totalResultsCludo / 6) : Math.ceil(n.totalResultsEvents / 6), f;
|
|
34616
|
+
});
|
|
34604
34617
|
function s() {
|
|
34605
34618
|
// Start date is after end date
|
|
34606
34619
|
n.endDate && n.startDate > n.endDate ? (t.value.error = !0, t.value.message = a.errorMessages.incorrectDateOrder) : /* Events API down */ n.selectedCategoryKey === "events" && n.eventsApiError && !n.isLoading ? (t.value.error = !0, t.value.message = a.errorMessages.eventError) : /* Cludo down */ (n.searchTerm || n.selectedCategory) && n.selectedCategoryKey !== "events" && n.cludoError && !n.isLoading ? (t.value.error = !0, t.value.message = a.errorMessages.cludoError) : /* No Results */ n.totalResults === 0 && !n.isLoading ? (t.value.error = !0, t.value.message = a.errorMessages.noResults) : (t.value.error = !1, t.value.message = "");
|