@getlupa/vue 0.12.5 → 0.12.7

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.
@@ -22,15 +22,15 @@ var __async = (__this, __arguments, generator) => {
22
22
  var fulfilled = (value) => {
23
23
  try {
24
24
  step(generator.next(value));
25
- } catch (e) {
26
- reject(e);
25
+ } catch (e2) {
26
+ reject(e2);
27
27
  }
28
28
  };
29
29
  var rejected = (value) => {
30
30
  try {
31
31
  step(generator.throw(value));
32
- } catch (e) {
33
- reject(e);
32
+ } catch (e2) {
33
+ reject(e2);
34
34
  }
35
35
  };
36
36
  var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
@@ -105,7 +105,7 @@ class ApiProxy {
105
105
  const raw = localStorage.getItem(localSettingsSaveId);
106
106
  const data = JSON.parse(raw);
107
107
  Object.assign(currentSettings, data);
108
- } catch (e) {
108
+ } catch (e2) {
109
109
  }
110
110
  this.fallbacks = {
111
111
  getSettings() {
@@ -114,7 +114,7 @@ class ApiProxy {
114
114
  setSettings(value) {
115
115
  try {
116
116
  localStorage.setItem(localSettingsSaveId, JSON.stringify(value));
117
- } catch (e) {
117
+ } catch (e2) {
118
118
  }
119
119
  currentSettings = value;
120
120
  },
@@ -250,14 +250,14 @@ function corsEnabled(url) {
250
250
  xhr.open("HEAD", url, false);
251
251
  try {
252
252
  xhr.send();
253
- } catch (e) {
253
+ } catch (e2) {
254
254
  }
255
255
  return xhr.status >= 200 && xhr.status <= 299;
256
256
  }
257
257
  function click(node) {
258
258
  try {
259
259
  node.dispatchEvent(new MouseEvent("click"));
260
- } catch (e) {
260
+ } catch (e2) {
261
261
  const evt = document.createEvent("MouseEvents");
262
262
  evt.initMouseEvent("click", true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);
263
263
  node.dispatchEvent(evt);
@@ -1521,6 +1521,33 @@ const DEFAULT_PAGE_SIZE_SELECTION = [12, 24, 36, 60];
1521
1521
  const LUPA_ROUTING_EVENT = "lupaRedirect";
1522
1522
  const RATING_STAR_HTML = "&#x2606;";
1523
1523
  const RESULT_ROOT_SELECTOR = "#lupa-search-results";
1524
+ /**
1525
+ * @preserve jquery-param (c) KNOWLEDGECODE | MIT
1526
+ */
1527
+ var e = function(e2) {
1528
+ var n = [], o = function(e3, o2) {
1529
+ o2 = null == (o2 = "function" == typeof o2 ? o2() : o2) ? "" : o2, n[n.length] = encodeURIComponent(e3) + "=" + encodeURIComponent(o2);
1530
+ }, t = function(e3, r) {
1531
+ var f2, i, l;
1532
+ if (e3)
1533
+ if (Array.isArray(r))
1534
+ for (f2 = 0, i = r.length; f2 < i; f2++)
1535
+ t(e3 + "[" + ("object" == typeof r[f2] && r[f2] ? f2 : "") + "]", r[f2]);
1536
+ else if ("[object Object]" === Object.prototype.toString.call(r))
1537
+ for (l in r)
1538
+ t(e3 + "[" + l + "]", r[l]);
1539
+ else
1540
+ o(e3, r);
1541
+ else if (Array.isArray(r))
1542
+ for (f2 = 0, i = r.length; f2 < i; f2++)
1543
+ o(r[f2].name, r[f2].value);
1544
+ else
1545
+ for (l in r)
1546
+ t(l, r[l]);
1547
+ return n;
1548
+ };
1549
+ return t("", e2).join("&");
1550
+ };
1524
1551
  const production = "https://api.lupasearch.com/v1/";
1525
1552
  const staging = "https://api.staging.lupasearch.com/v1/";
1526
1553
  const Env$1 = {
@@ -1543,15 +1570,15 @@ var __awaiter = globalThis && globalThis.__awaiter || function(thisArg, _argumen
1543
1570
  function fulfilled(value) {
1544
1571
  try {
1545
1572
  step(generator.next(value));
1546
- } catch (e) {
1547
- reject(e);
1573
+ } catch (e2) {
1574
+ reject(e2);
1548
1575
  }
1549
1576
  }
1550
1577
  function rejected(value) {
1551
1578
  try {
1552
1579
  step(generator["throw"](value));
1553
- } catch (e) {
1554
- reject(e);
1580
+ } catch (e2) {
1581
+ reject(e2);
1555
1582
  }
1556
1583
  }
1557
1584
  function step(result) {
@@ -1609,8 +1636,12 @@ const queryByIds = (queryKey, ids, environment, customBaseUrl) => __awaiter(void
1609
1636
  const errors = yield res.json();
1610
1637
  return { success: false, errors };
1611
1638
  });
1612
- const recommendForSingleId = (queryKey, recommendForId, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1613
- const res = yield fetch(`${getApiUrl$1(environment, customBaseUrl)}recommendations/document/${recommendForId}?recommendationQueryKey=${queryKey}`, Object.assign(Object.assign({}, defaultConfig$1), { method: "GET" }));
1639
+ const recommendForSingleId = (queryKey, recommendForId, filters, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1640
+ let url = `${getApiUrl$1(environment, customBaseUrl)}recommendations/document/${recommendForId}?recommendationQueryKey=${queryKey}`;
1641
+ if (filters) {
1642
+ url += `&${e({ filters })}`;
1643
+ }
1644
+ const res = yield fetch(url, Object.assign(Object.assign({}, defaultConfig$1), { method: "GET" }));
1614
1645
  if (res.status < 400) {
1615
1646
  const data = yield res.json();
1616
1647
  return Object.assign(Object.assign({}, data), { success: true });
@@ -1618,9 +1649,13 @@ const recommendForSingleId = (queryKey, recommendForId, environment, customBaseU
1618
1649
  const errors = yield res.json();
1619
1650
  return { success: false, errors };
1620
1651
  });
1621
- const recommendForMultipleIds = (queryKey, recommendForIds, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1652
+ const recommendForMultipleIds = (queryKey, recommendForIds, filters, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1622
1653
  const limitedRecommendForIds = recommendForIds.slice(0, 20);
1623
- const res = yield fetch(`${getApiUrl$1(environment, customBaseUrl)}recommendations/documentsByMultipleIds?recommendationQueryKey=${queryKey}&itemId[]=${limitedRecommendForIds.join("&itemId[]=")}`, Object.assign(Object.assign({}, defaultConfig$1), { method: "GET" }));
1654
+ let url = `${getApiUrl$1(environment, customBaseUrl)}recommendations/documentsByMultipleIds?recommendationQueryKey=${queryKey}&itemId[]=${limitedRecommendForIds.join("&itemId[]=")}`;
1655
+ if (filters) {
1656
+ url += `&${e({ filters })}`;
1657
+ }
1658
+ const res = yield fetch(url, Object.assign(Object.assign({}, defaultConfig$1), { method: "GET" }));
1624
1659
  if (res.status < 400) {
1625
1660
  const data = yield res.json();
1626
1661
  return Object.assign(Object.assign({}, data), { success: true });
@@ -1628,8 +1663,8 @@ const recommendForMultipleIds = (queryKey, recommendForIds, environment, customB
1628
1663
  const errors = yield res.json();
1629
1664
  return { success: false, errors };
1630
1665
  });
1631
- const recommend = (queryKey, recommendForId, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1632
- return Array.isArray(recommendForId) ? yield recommendForMultipleIds(queryKey, recommendForId, environment, customBaseUrl) : yield recommendForSingleId(queryKey, recommendForId, environment, customBaseUrl);
1666
+ const recommend = (queryKey, recommendForId, filters, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1667
+ return Array.isArray(recommendForId) ? yield recommendForMultipleIds(queryKey, recommendForId, filters, environment, customBaseUrl) : yield recommendForSingleId(queryKey, recommendForId, filters, environment, customBaseUrl);
1633
1668
  });
1634
1669
  const suggest = (queryKey, query, environment, customBaseUrl) => __awaiter(void 0, void 0, void 0, function* () {
1635
1670
  const res = yield fetch(`${getApiUrl$1(environment, customBaseUrl)}query/${queryKey}`, Object.assign(Object.assign({}, defaultConfig$1), { body: JSON.stringify(query) }));
@@ -1647,7 +1682,7 @@ const track$1 = (queryKey, event, environment, customBaseUrl) => __awaiter(void
1647
1682
  return { success: false };
1648
1683
  }
1649
1684
  return res.json();
1650
- } catch (e) {
1685
+ } catch (e2) {
1651
1686
  return { success: false };
1652
1687
  }
1653
1688
  });
@@ -1675,8 +1710,8 @@ const LupaSearchSdk = {
1675
1710
  track: (queryKey, eventData, options = null) => {
1676
1711
  return track$1(queryKey, eventData, (options === null || options === void 0 ? void 0 : options.environment) || "production", options === null || options === void 0 ? void 0 : options.customBaseUrl);
1677
1712
  },
1678
- recommend: (queryKey, recommendForId, options = null) => {
1679
- return recommend(queryKey, recommendForId, (options === null || options === void 0 ? void 0 : options.environment) || "production", options === null || options === void 0 ? void 0 : options.customBaseUrl);
1713
+ recommend: (queryKey, recommendForId, filters, options = null) => {
1714
+ return recommend(queryKey, recommendForId, filters, (options === null || options === void 0 ? void 0 : options.environment) || "production", options === null || options === void 0 ? void 0 : options.customBaseUrl);
1680
1715
  },
1681
1716
  queryByIds: (queryKey, ids, options = null) => {
1682
1717
  return queryByIds(queryKey, ids, (options === null || options === void 0 ? void 0 : options.environment) || "production", options === null || options === void 0 ? void 0 : options.customBaseUrl);
@@ -1807,7 +1842,7 @@ const initAnalyticsTracking = (analyticsOptions) => {
1807
1842
  } else {
1808
1843
  window.sessionStorage.removeItem(TRACKING_ANALYTICS_KEY);
1809
1844
  }
1810
- } catch (e) {
1845
+ } catch (e2) {
1811
1846
  }
1812
1847
  };
1813
1848
  const initBaseTracking = (enabled) => {
@@ -1819,13 +1854,13 @@ const initBaseTracking = (enabled) => {
1819
1854
  clearSessionTracking();
1820
1855
  clearUserTracking();
1821
1856
  }
1822
- } catch (e) {
1857
+ } catch (e2) {
1823
1858
  }
1824
1859
  };
1825
1860
  const clearSessionTracking = () => {
1826
1861
  try {
1827
1862
  window.sessionStorage.removeItem(TRACKING_STORAGE_KEY);
1828
- } catch (e) {
1863
+ } catch (e2) {
1829
1864
  }
1830
1865
  };
1831
1866
  const initSessionTracking = () => {
@@ -1835,7 +1870,7 @@ const initSessionTracking = () => {
1835
1870
  }
1836
1871
  const key = getRandomString(TRACKING_KEY_LENGTH);
1837
1872
  window.sessionStorage.setItem(TRACKING_STORAGE_KEY, key);
1838
- } catch (e) {
1873
+ } catch (e2) {
1839
1874
  }
1840
1875
  };
1841
1876
  const initUserTracking = (userKey) => {
@@ -1845,19 +1880,19 @@ const initUserTracking = (userKey) => {
1845
1880
  }
1846
1881
  const key = userKey || getRandomString(TRACKING_KEY_LENGTH);
1847
1882
  window.localStorage.setItem(TRACKING_STORAGE_KEY, key);
1848
- } catch (e) {
1883
+ } catch (e2) {
1849
1884
  }
1850
1885
  };
1851
1886
  const clearUserTracking = () => {
1852
1887
  try {
1853
1888
  window.localStorage.removeItem(TRACKING_STORAGE_KEY);
1854
- } catch (e) {
1889
+ } catch (e2) {
1855
1890
  }
1856
1891
  };
1857
1892
  const isTrackingEnabled = () => {
1858
1893
  try {
1859
1894
  return Boolean(window.sessionStorage.getItem(TRACKING_STORAGE_KEY_BASE));
1860
- } catch (e) {
1895
+ } catch (e2) {
1861
1896
  return false;
1862
1897
  }
1863
1898
  };
@@ -1865,7 +1900,7 @@ const getSessionKey = () => {
1865
1900
  var _a;
1866
1901
  try {
1867
1902
  return (_a = window.sessionStorage.getItem(TRACKING_STORAGE_KEY)) != null ? _a : void 0;
1868
- } catch (e) {
1903
+ } catch (e2) {
1869
1904
  return void 0;
1870
1905
  }
1871
1906
  };
@@ -1873,7 +1908,7 @@ const getUserKey = () => {
1873
1908
  var _a;
1874
1909
  try {
1875
1910
  return (_a = window.localStorage.getItem(TRACKING_STORAGE_KEY)) != null ? _a : void 0;
1876
- } catch (e) {
1911
+ } catch (e2) {
1877
1912
  return void 0;
1878
1913
  }
1879
1914
  };
@@ -1950,7 +1985,7 @@ const trackAnalyticsEvent = (data) => {
1950
1985
  default:
1951
1986
  sendUaAnalyticsEvent(data, options);
1952
1987
  }
1953
- } catch (e) {
1988
+ } catch (e2) {
1954
1989
  console.error("Unable to send an event to google analytics");
1955
1990
  }
1956
1991
  };
@@ -2326,7 +2361,7 @@ const retrieveHistory = () => {
2326
2361
  try {
2327
2362
  const historyString = window.localStorage.getItem(HISTORY_LOCAL_STORAGE_KEY);
2328
2363
  return historyString ? JSON.parse(historyString) : [];
2329
- } catch (e) {
2364
+ } catch (e2) {
2330
2365
  return [];
2331
2366
  }
2332
2367
  };
@@ -2336,7 +2371,7 @@ const saveHistory = (items) => {
2336
2371
  HISTORY_LOCAL_STORAGE_KEY,
2337
2372
  JSON.stringify(items.slice(0, HISTORY_MAX_ITEMS))
2338
2373
  );
2339
- } catch (e) {
2374
+ } catch (e2) {
2340
2375
  }
2341
2376
  };
2342
2377
  const useHistoryStore = defineStore("history", () => {
@@ -2541,7 +2576,7 @@ const parseParam = (key, params) => {
2541
2576
  }
2542
2577
  try {
2543
2578
  return decodeURIComponent(value);
2544
- } catch (e) {
2579
+ } catch (e2) {
2545
2580
  return void 0;
2546
2581
  }
2547
2582
  };
@@ -2678,7 +2713,7 @@ const getRelativePath = (link) => {
2678
2713
  const url = new URL(link);
2679
2714
  const partialUrl = url.toString().substring(url.origin.length);
2680
2715
  return partialUrl.endsWith("/") ? partialUrl.slice(0, partialUrl.length - 1) : partialUrl;
2681
- } catch (e) {
2716
+ } catch (e2) {
2682
2717
  return (link == null ? void 0 : link.endsWith("/")) ? link.slice(0, link.length - 1) : link;
2683
2718
  }
2684
2719
  };
@@ -2789,7 +2824,7 @@ const useRedirectionStore = defineStore("redirections", () => {
2789
2824
  CACHE_KEY,
2790
2825
  JSON.stringify({ redirections: redirections.value, savedAt: Date.now() })
2791
2826
  );
2792
- } catch (e) {
2827
+ } catch (e2) {
2793
2828
  }
2794
2829
  };
2795
2830
  const tryLoadFromLocalStorage = (config) => {
@@ -2802,7 +2837,7 @@ const useRedirectionStore = defineStore("redirections", () => {
2802
2837
  redirections.value = data.redirections;
2803
2838
  return true;
2804
2839
  }
2805
- } catch (e) {
2840
+ } catch (e2) {
2806
2841
  }
2807
2842
  return false;
2808
2843
  };
@@ -2826,7 +2861,7 @@ const useRedirectionStore = defineStore("redirections", () => {
2826
2861
  }
2827
2862
  redirections.value = result;
2828
2863
  saveToLocalStorage();
2829
- } catch (e) {
2864
+ } catch (e2) {
2830
2865
  }
2831
2866
  });
2832
2867
  const redirectOnKeywordIfConfigured = (input, routingBehavior = "direct-link") => {
@@ -3247,8 +3282,8 @@ const useSearchBoxStore = defineStore("searchBox", () => {
3247
3282
  });
3248
3283
  const _hoisted_1$1f = { id: "lupa-search-box-input-container" };
3249
3284
  const _hoisted_2$R = { class: "lupa-input-clear" };
3250
- const _hoisted_3$A = { id: "lupa-search-box-input" };
3251
- const _hoisted_4$s = ["value"];
3285
+ const _hoisted_3$B = { id: "lupa-search-box-input" };
3286
+ const _hoisted_4$t = ["value"];
3252
3287
  const _hoisted_5$i = ["aria-label", "placeholder"];
3253
3288
  const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
3254
3289
  const _hoisted_7$7 = [
@@ -3349,13 +3384,13 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
3349
3384
  onClick: clear
3350
3385
  }, null, 2)
3351
3386
  ]),
3352
- createElementVNode("div", _hoisted_3$A, [
3387
+ createElementVNode("div", _hoisted_3$B, [
3353
3388
  createElementVNode("input", {
3354
3389
  class: "lupa-hint",
3355
3390
  "aria-hidden": "true",
3356
3391
  value: showHint.value ? suggestedValue.value.item.suggestion : "",
3357
3392
  disabled: ""
3358
- }, null, 8, _hoisted_4$s),
3393
+ }, null, 8, _hoisted_4$t),
3359
3394
  withDirectives(createElementVNode("input", mergeProps({
3360
3395
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event)
3361
3396
  }, inputAttributes.value, {
@@ -3488,12 +3523,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
3488
3523
  const goToResults = ({ query }) => {
3489
3524
  emit("go-to-results", { query });
3490
3525
  };
3491
- const handleKeyDown = (e) => {
3526
+ const handleKeyDown = (e2) => {
3492
3527
  if (!hasHistory.value || highlightIndex.value < -1) {
3493
3528
  return;
3494
3529
  }
3495
- if (e.key === "Enter") {
3496
- e.preventDefault();
3530
+ if (e2.key === "Enter") {
3531
+ e2.preventDefault();
3497
3532
  goToResults({ query: history.value[highlightIndex.value] });
3498
3533
  }
3499
3534
  };
@@ -3534,12 +3569,12 @@ const _hoisted_2$P = {
3534
3569
  "data-cy": "lupa-suggestion-value",
3535
3570
  class: "lupa-suggestion-value"
3536
3571
  };
3537
- const _hoisted_3$z = {
3572
+ const _hoisted_3$A = {
3538
3573
  key: 2,
3539
3574
  class: "lupa-suggestion-facet",
3540
3575
  "data-cy": "lupa-suggestion-facet"
3541
3576
  };
3542
- const _hoisted_4$r = {
3577
+ const _hoisted_4$s = {
3543
3578
  class: "lupa-suggestion-facet-label",
3544
3579
  "data-cy": "lupa-suggestion-facet-label"
3545
3580
  };
@@ -3584,8 +3619,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
3584
3619
  "data-cy": "lupa-suggestion-value",
3585
3620
  innerHTML: _ctx.suggestion.displayHighlight
3586
3621
  }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
3587
- _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$z, [
3588
- createElementVNode("span", _hoisted_4$r, toDisplayString(facetLabel.value), 1),
3622
+ _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
3623
+ createElementVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
3589
3624
  createElementVNode("span", _hoisted_5$h, toDisplayString(_ctx.suggestion.facet.title), 1)
3590
3625
  ])) : createCommentVNode("", true)
3591
3626
  ]);
@@ -3824,9 +3859,9 @@ const computeImageUrl = (imageUrl, rootImageUrl) => {
3824
3859
  }
3825
3860
  return rootImageUrl ? joinUrlParts(rootImageUrl, mainUrl) : `/${mainUrl}`;
3826
3861
  };
3827
- const replaceImageWithPlaceholder = (e, placeholder) => {
3862
+ const replaceImageWithPlaceholder = (e2, placeholder) => {
3828
3863
  var _a;
3829
- const targetImage = e == null ? void 0 : e.target;
3864
+ const targetImage = e2 == null ? void 0 : e2.target;
3830
3865
  if (targetImage && !((_a = targetImage == null ? void 0 : targetImage.src) == null ? void 0 : _a.includes(placeholder))) {
3831
3866
  targetImage.src = placeholder;
3832
3867
  }
@@ -3875,8 +3910,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3875
3910
  var _a;
3876
3911
  return Boolean((_a = hoverImages.value) == null ? void 0 : _a.length);
3877
3912
  });
3878
- const replaceWithPlaceholder = (e) => {
3879
- replaceImageWithPlaceholder(e, placeholder.value);
3913
+ const replaceWithPlaceholder = (e2) => {
3914
+ replaceImageWithPlaceholder(e2, placeholder.value);
3880
3915
  };
3881
3916
  const setNextHoverImage = () => {
3882
3917
  hoverImageIndex.value = (hoverImageIndex.value + 1) % hoverImages.value.length;
@@ -4085,8 +4120,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
4085
4120
  });
4086
4121
  const _hoisted_1$14 = ["innerHTML"];
4087
4122
  const _hoisted_2$M = { key: 0 };
4088
- const _hoisted_3$y = { key: 1 };
4089
- const _hoisted_4$q = { class: "lupa-search-box-custom-label" };
4123
+ const _hoisted_3$z = { key: 1 };
4124
+ const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
4090
4125
  const _hoisted_5$g = { class: "lupa-search-box-custom-text" };
4091
4126
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
4092
4127
  __name: "SearchBoxProductCustom",
@@ -4118,8 +4153,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
4118
4153
  key: 1,
4119
4154
  class: [className.value, "lupa-search-box-product-custom"]
4120
4155
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
4121
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$y, [
4122
- createElementVNode("div", _hoisted_4$q, toDisplayString(label.value), 1),
4156
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$z, [
4157
+ createElementVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
4123
4158
  createElementVNode("div", _hoisted_5$g, toDisplayString(text.value), 1)
4124
4159
  ]))
4125
4160
  ], 16));
@@ -4377,7 +4412,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
4377
4412
  });
4378
4413
  const _hoisted_1$12 = { class: "lupa-search-box-add-to-cart-wrapper" };
4379
4414
  const _hoisted_2$L = { class: "lupa-search-box-product-addtocart" };
4380
- const _hoisted_3$x = ["onClick", "disabled"];
4415
+ const _hoisted_3$y = ["onClick", "disabled"];
4381
4416
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4382
4417
  __name: "SearchBoxProductAddToCart",
4383
4418
  props: {
@@ -4413,7 +4448,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4413
4448
  "data-cy": "lupa-add-to-cart",
4414
4449
  type: "button",
4415
4450
  disabled: !inStockValue.value || loading.value
4416
- }, toDisplayString(label.value), 11, _hoisted_3$x)
4451
+ }, toDisplayString(label.value), 11, _hoisted_3$y)
4417
4452
  ])
4418
4453
  ]);
4419
4454
  };
@@ -4509,8 +4544,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
4509
4544
  }));
4510
4545
  const _hoisted_1$10 = { class: "lupa-badge-title" };
4511
4546
  const _hoisted_2$K = ["src"];
4512
- const _hoisted_3$w = { key: 1 };
4513
- const _hoisted_4$p = {
4547
+ const _hoisted_3$x = { key: 1 };
4548
+ const _hoisted_4$q = {
4514
4549
  key: 0,
4515
4550
  class: "lupa-badge-full-text"
4516
4551
  };
@@ -4552,9 +4587,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4552
4587
  key: 0,
4553
4588
  src: image.value
4554
4589
  }, null, 8, _hoisted_2$K)) : createCommentVNode("", true),
4555
- hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
4590
+ hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$x, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
4556
4591
  ]),
4557
- hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
4592
+ hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
4558
4593
  ], 6);
4559
4594
  };
4560
4595
  }
@@ -4723,9 +4758,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
4723
4758
  if (!props.options.elements) {
4724
4759
  return [];
4725
4760
  }
4726
- return props.options.elements.filter((e) => {
4761
+ return props.options.elements.filter((e2) => {
4727
4762
  var _a;
4728
- return !e.display || e.display((_a = props.options.product) != null ? _a : {});
4763
+ return !e2.display || e2.display((_a = props.options.product) != null ? _a : {});
4729
4764
  }).map((x) => {
4730
4765
  var _a;
4731
4766
  return __spreadProps(__spreadValues({}, x), {
@@ -4772,8 +4807,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
4772
4807
  }));
4773
4808
  const _hoisted_1$W = ["href"];
4774
4809
  const _hoisted_2$I = { class: "lupa-search-box-product-image-section" };
4775
- const _hoisted_3$v = { class: "lupa-search-box-product-details-section" };
4776
- const _hoisted_4$o = {
4810
+ const _hoisted_3$w = { class: "lupa-search-box-product-details-section" };
4811
+ const _hoisted_4$p = {
4777
4812
  key: 0,
4778
4813
  class: "lupa-search-box-product-add-to-cart-section"
4779
4814
  };
@@ -4799,17 +4834,17 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4799
4834
  });
4800
4835
  const imageElements = computed(() => {
4801
4836
  var _a, _b;
4802
- return (_b = (_a = props.panelOptions.elements) == null ? void 0 : _a.filter((e) => e.type === DocumentElementType.IMAGE)) != null ? _b : [];
4837
+ return (_b = (_a = props.panelOptions.elements) == null ? void 0 : _a.filter((e2) => e2.type === DocumentElementType.IMAGE)) != null ? _b : [];
4803
4838
  });
4804
4839
  const detailElements = computed(() => {
4805
4840
  var _a, _b;
4806
4841
  return (_b = (_a = props.panelOptions.elements) == null ? void 0 : _a.filter(
4807
- (e) => e.type !== DocumentElementType.IMAGE && e.type !== DocumentElementType.ADDTOCART
4842
+ (e2) => e2.type !== DocumentElementType.IMAGE && e2.type !== DocumentElementType.ADDTOCART
4808
4843
  )) != null ? _b : [];
4809
4844
  });
4810
4845
  const addToCartElement = computed(() => {
4811
4846
  var _a;
4812
- return (_a = props.panelOptions.elements) == null ? void 0 : _a.find((e) => e.type === DocumentElementType.ADDTOCART);
4847
+ return (_a = props.panelOptions.elements) == null ? void 0 : _a.find((e2) => e2.type === DocumentElementType.ADDTOCART);
4813
4848
  });
4814
4849
  const customDocumentHtmlAttributes = computed(() => {
4815
4850
  var _a, _b, _c;
@@ -4848,7 +4883,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4848
4883
  }, null, 8, ["item", "element", "labels", "link"]);
4849
4884
  }), 128))
4850
4885
  ]),
4851
- createElementVNode("div", _hoisted_3$v, [
4886
+ createElementVNode("div", _hoisted_3$w, [
4852
4887
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
4853
4888
  var _a;
4854
4889
  return openBlock(), createBlock(_sfc_main$16, {
@@ -4872,7 +4907,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4872
4907
  ]), 1032, ["item", "element", "labels", "link"]);
4873
4908
  }), 128))
4874
4909
  ]),
4875
- addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
4910
+ addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
4876
4911
  createVNode(_sfc_main$16, {
4877
4912
  class: "lupa-search-box-product-element",
4878
4913
  item: _ctx.item,
@@ -5258,11 +5293,11 @@ const _hoisted_1$T = {
5258
5293
  id: "lupa-search-box-panel"
5259
5294
  };
5260
5295
  const _hoisted_2$G = ["data-cy"];
5261
- const _hoisted_3$u = {
5296
+ const _hoisted_3$v = {
5262
5297
  key: 0,
5263
5298
  class: "lupa-panel-title lupa-panel-title-top-results"
5264
5299
  };
5265
- const _hoisted_4$n = {
5300
+ const _hoisted_4$o = {
5266
5301
  key: 1,
5267
5302
  class: "lupa-panel-title"
5268
5303
  };
@@ -5343,14 +5378,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
5343
5378
  window.removeEventListener("keydown", handleNavigation);
5344
5379
  searchBoxStore.resetHighlightIndex();
5345
5380
  });
5346
- const handleNavigation = (e) => {
5347
- switch (e.key) {
5381
+ const handleNavigation = (e2) => {
5382
+ switch (e2.key) {
5348
5383
  case "ArrowDown":
5349
- e.preventDefault();
5384
+ e2.preventDefault();
5350
5385
  highlightChange({ action: "down" });
5351
5386
  break;
5352
5387
  case "ArrowUp":
5353
- e.preventDefault();
5388
+ e2.preventDefault();
5354
5389
  highlightChange({ action: "up" });
5355
5390
  break;
5356
5391
  }
@@ -5444,8 +5479,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
5444
5479
  ]),
5445
5480
  "data-cy": "lupa-panel-" + panel.type + "-index"
5446
5481
  }, [
5447
- ((_a2 = panel.labels) == null ? void 0 : _a2.topResultsTitle) && showTopResultsPanelTitle(panel.queryKey) ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString((_b = panel.labels) == null ? void 0 : _b.topResultsTitle), 1)) : createCommentVNode("", true),
5448
- ((_c = panel.labels) == null ? void 0 : _c.title) && showPanelTitle(panel) ? (openBlock(), createElementBlock("div", _hoisted_4$n, toDisplayString((_d = panel.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
5482
+ ((_a2 = panel.labels) == null ? void 0 : _a2.topResultsTitle) && showTopResultsPanelTitle(panel.queryKey) ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString((_b = panel.labels) == null ? void 0 : _b.topResultsTitle), 1)) : createCommentVNode("", true),
5483
+ ((_c = panel.labels) == null ? void 0 : _c.title) && showPanelTitle(panel) ? (openBlock(), createElementBlock("div", _hoisted_4$o, toDisplayString((_d = panel.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
5449
5484
  panel.queryKey && canShowPanel(panel) ? (openBlock(), createBlock(resolveDynamicComponent(getComponent(panel.type)), {
5450
5485
  key: 2,
5451
5486
  panel,
@@ -5500,11 +5535,11 @@ const getElements = (selectors = []) => {
5500
5535
  };
5501
5536
  const bindSearchTriggers = (triggers = [], event) => {
5502
5537
  const elements = getElements(triggers);
5503
- elements.forEach((e) => e == null ? void 0 : e.addEventListener(BIND_EVENT, event));
5538
+ elements.forEach((e2) => e2 == null ? void 0 : e2.addEventListener(BIND_EVENT, event));
5504
5539
  };
5505
5540
  const unbindSearchTriggers = (triggers = [], event) => {
5506
5541
  const elements = getElements(triggers);
5507
- elements.forEach((e) => e == null ? void 0 : e.removeEventListener(BIND_EVENT, event));
5542
+ elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
5508
5543
  };
5509
5544
  const _hoisted_1$S = { id: "lupa-search-box" };
5510
5545
  const _hoisted_2$F = { class: "lupa-search-box-wrapper" };
@@ -5583,12 +5618,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
5583
5618
  window.removeEventListener("click", handleMouseClick);
5584
5619
  unbindSearchTriggers(searchTriggers.value, handleCurrentValueSearch);
5585
5620
  });
5586
- const handleMouseClick = (e) => {
5621
+ const handleMouseClick = (e2) => {
5587
5622
  var _a2, _b;
5588
5623
  const el = document.getElementById("lupa-search-box");
5589
- const elementClass = (_b = (_a2 = e.target) == null ? void 0 : _a2.className) != null ? _b : "";
5624
+ const elementClass = (_b = (_a2 = e2.target) == null ? void 0 : _a2.className) != null ? _b : "";
5590
5625
  const hasLupaClass = typeof elementClass.includes == "function" && elementClass.includes("lupa-search-box");
5591
- const isOutsideElement = el && !el.contains(e.target) && !hasLupaClass;
5626
+ const isOutsideElement = el && !el.contains(e2.target) && !hasLupaClass;
5592
5627
  if (!isOutsideElement) {
5593
5628
  return;
5594
5629
  }
@@ -5599,20 +5634,20 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
5599
5634
  opened.value = false;
5600
5635
  suggestedValue.value = defaultSuggestedValue;
5601
5636
  };
5602
- const handleKeyDown = (e) => {
5637
+ const handleKeyDown = (e2) => {
5603
5638
  var _a2, _b;
5604
5639
  if (!opened.value) {
5605
5640
  return;
5606
5641
  }
5607
- switch (e.key) {
5642
+ switch (e2.key) {
5608
5643
  case "Tab":
5609
5644
  if ((_b = (_a2 = suggestedValue == null ? void 0 : suggestedValue.value) == null ? void 0 : _a2.item) == null ? void 0 : _b.suggestion) {
5610
- e.preventDefault();
5645
+ e2.preventDefault();
5611
5646
  selectSuggestion(__spreadProps(__spreadValues({}, suggestedValue.value), { override: true }));
5612
5647
  }
5613
5648
  break;
5614
5649
  case "Enter":
5615
- e.preventDefault();
5650
+ e2.preventDefault();
5616
5651
  handleSearch();
5617
5652
  resetValues();
5618
5653
  break;
@@ -5873,8 +5908,8 @@ const getInitialSearchResults = (options, getQueryParamName, defaultData) => __a
5873
5908
  try {
5874
5909
  const result = yield LupaSearchSdk.query(options.queryKey, query, options.options);
5875
5910
  return result;
5876
- } catch (e) {
5877
- options.options.onError(e);
5911
+ } catch (e2) {
5912
+ options.options.onError(e2);
5878
5913
  }
5879
5914
  });
5880
5915
  const _hoisted_1$R = {
@@ -5885,11 +5920,11 @@ const _hoisted_2$E = {
5885
5920
  key: 0,
5886
5921
  "data-cy": "suggested-search-text-label"
5887
5922
  };
5888
- const _hoisted_3$t = {
5923
+ const _hoisted_3$u = {
5889
5924
  key: 1,
5890
5925
  "data-cy": "did-you-mean-label"
5891
5926
  };
5892
- const _hoisted_4$m = { key: 1 };
5927
+ const _hoisted_4$n = { key: 1 };
5893
5928
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
5894
5929
  __name: "SearchResultsDidYouMean",
5895
5930
  props: {
@@ -5932,7 +5967,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
5932
5967
  ]);
5933
5968
  }), 128))
5934
5969
  ])) : createCommentVNode("", true),
5935
- didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
5970
+ didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
5936
5971
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.didYouMean.split(" "), (label, index) => {
5937
5972
  return openBlock(), createElementBlock("span", { key: index }, [
5938
5973
  label.includes("{1}") ? (openBlock(), createElementBlock("span", {
@@ -5940,7 +5975,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
5940
5975
  class: "lupa-did-you-mean lupa-highlighted-search-text",
5941
5976
  "data-cy": "did-you-mean-value",
5942
5977
  onClick: _cache[0] || (_cache[0] = ($event) => goToResults({ searchText: didYouMeanValue.value }))
5943
- }, toDisplayString(didYouMeanValue.value) + " ", 1)) : (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString(label) + " ", 1))
5978
+ }, toDisplayString(didYouMeanValue.value) + " ", 1)) : (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString(label) + " ", 1))
5944
5979
  ]);
5945
5980
  }), 128))
5946
5981
  ])) : createCommentVNode("", true)
@@ -5986,11 +6021,11 @@ const _hoisted_1$P = {
5986
6021
  "data-cy": "lupa-result-page-title"
5987
6022
  };
5988
6023
  const _hoisted_2$C = { key: 0 };
5989
- const _hoisted_3$s = {
6024
+ const _hoisted_3$t = {
5990
6025
  key: 1,
5991
6026
  class: "lupa-results-total-count"
5992
6027
  };
5993
- const _hoisted_4$l = { class: "lupa-results-total-count-number" };
6028
+ const _hoisted_4$m = { class: "lupa-results-total-count-number" };
5994
6029
  const _hoisted_5$e = ["innerHTML"];
5995
6030
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
5996
6031
  __name: "SearchResultsTitle",
@@ -6034,9 +6069,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
6034
6069
  showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$P, [
6035
6070
  createTextVNode(toDisplayString(_ctx.options.labels.searchResults), 1),
6036
6071
  queryText.value ? (openBlock(), createElementBlock("span", _hoisted_2$C, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
6037
- showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$s, [
6072
+ showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$t, [
6038
6073
  createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
6039
- createElementVNode("span", _hoisted_4$l, toDisplayString(unref(totalItems)), 1),
6074
+ createElementVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
6040
6075
  createTextVNode(")")
6041
6076
  ])) : createCommentVNode("", true)
6042
6077
  ])) : createCommentVNode("", true),
@@ -6058,7 +6093,7 @@ const _hoisted_2$B = {
6058
6093
  class: "lupa-current-filter-label",
6059
6094
  "data-cy": "lupa-current-filter-label"
6060
6095
  };
6061
- const _hoisted_3$r = {
6096
+ const _hoisted_3$s = {
6062
6097
  class: "lupa-current-filter-value",
6063
6098
  "data-cy": "lupa-current-filter-value"
6064
6099
  };
@@ -6080,7 +6115,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
6080
6115
  onClick: handleClick
6081
6116
  }, "⨉"),
6082
6117
  createElementVNode("div", _hoisted_2$B, toDisplayString(_ctx.filter.label) + ": ", 1),
6083
- createElementVNode("div", _hoisted_3$r, toDisplayString(_ctx.filter.value), 1)
6118
+ createElementVNode("div", _hoisted_3$s, toDisplayString(_ctx.filter.value), 1)
6084
6119
  ]);
6085
6120
  };
6086
6121
  }
@@ -6090,11 +6125,11 @@ const _hoisted_2$A = {
6090
6125
  key: 0,
6091
6126
  class: "lupa-filter-count"
6092
6127
  };
6093
- const _hoisted_3$q = {
6128
+ const _hoisted_3$r = {
6094
6129
  key: 0,
6095
6130
  class: "filter-values"
6096
6131
  };
6097
- const _hoisted_4$k = { class: "lupa-current-filter-list" };
6132
+ const _hoisted_4$l = { class: "lupa-current-filter-list" };
6098
6133
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
6099
6134
  __name: "CurrentFilters",
6100
6135
  props: {
@@ -6177,8 +6212,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
6177
6212
  class: normalizeClass(["lupa-filter-title-caret", isOpen.value && "open"])
6178
6213
  }, null, 2)) : createCommentVNode("", true)
6179
6214
  ]),
6180
- !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
6181
- createElementVNode("div", _hoisted_4$k, [
6215
+ !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
6216
+ createElementVNode("div", _hoisted_4$l, [
6182
6217
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
6183
6218
  return openBlock(), createBlock(_sfc_main$R, {
6184
6219
  key: filter.key + "_" + filter.value,
@@ -6245,8 +6280,8 @@ const _hoisted_1$L = {
6245
6280
  "data-cy": "lupa-category-filter"
6246
6281
  };
6247
6282
  const _hoisted_2$z = { class: "lupa-category-back" };
6248
- const _hoisted_3$p = ["href"];
6249
- const _hoisted_4$j = ["href"];
6283
+ const _hoisted_3$q = ["href"];
6284
+ const _hoisted_4$k = ["href"];
6250
6285
  const _hoisted_5$d = { class: "lupa-child-category-list" };
6251
6286
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
6252
6287
  __name: "CategoryFilter",
@@ -6341,7 +6376,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6341
6376
  "data-cy": "lupa-category-back",
6342
6377
  href: backUrlLink.value,
6343
6378
  onClick: handleNavigationBack
6344
- }, toDisplayString(backTitle.value), 9, _hoisted_3$p)) : createCommentVNode("", true)
6379
+ }, toDisplayString(backTitle.value), 9, _hoisted_3$q)) : createCommentVNode("", true)
6345
6380
  ]),
6346
6381
  createElementVNode("div", {
6347
6382
  class: normalizeClass(["lupa-current-category", { "lupa-current-category-active": isActive }])
@@ -6351,7 +6386,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6351
6386
  href: parentUrlLink.value,
6352
6387
  class: normalizeClass({ "lupa-title-category": !hasBackButton.value }),
6353
6388
  onClick: handleNavigationParent
6354
- }, toDisplayString(parentTitle.value), 11, _hoisted_4$j)
6389
+ }, toDisplayString(parentTitle.value), 11, _hoisted_4$k)
6355
6390
  ], 2),
6356
6391
  createElementVNode("div", _hoisted_5$d, [
6357
6392
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
@@ -6371,8 +6406,8 @@ const _hoisted_1$K = {
6371
6406
  "data-cy": "lupa-search-result-facet-term-values"
6372
6407
  };
6373
6408
  const _hoisted_2$y = ["placeholder"];
6374
- const _hoisted_3$o = { class: "lupa-terms-list" };
6375
- const _hoisted_4$i = ["onClick"];
6409
+ const _hoisted_3$p = { class: "lupa-terms-list" };
6410
+ const _hoisted_4$j = ["onClick"];
6376
6411
  const _hoisted_5$c = { class: "lupa-term-checkbox-wrapper" };
6377
6412
  const _hoisted_6$8 = { class: "lupa-term-checkbox-label" };
6378
6413
  const _hoisted_7$6 = { class: "lupa-term-label" };
@@ -6463,7 +6498,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6463
6498
  }, null, 8, _hoisted_2$y)), [
6464
6499
  [vModelText, termFilter.value]
6465
6500
  ]) : createCommentVNode("", true),
6466
- createElementVNode("div", _hoisted_3$o, [
6501
+ createElementVNode("div", _hoisted_3$p, [
6467
6502
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
6468
6503
  return openBlock(), createElementBlock("div", {
6469
6504
  class: normalizeClass(["lupa-facet-term", { checked: isChecked(item) }]),
@@ -6480,7 +6515,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6480
6515
  createElementVNode("span", _hoisted_7$6, toDisplayString(item.title), 1),
6481
6516
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_8$2, "(" + toDisplayString(item.count) + ")", 1)) : createCommentVNode("", true)
6482
6517
  ])
6483
- ], 10, _hoisted_4$i);
6518
+ ], 10, _hoisted_4$j);
6484
6519
  }), 128))
6485
6520
  ]),
6486
6521
  displayShowMore.value ? (openBlock(), createElementBlock("div", {
@@ -6495,50 +6530,50 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6495
6530
  };
6496
6531
  }
6497
6532
  });
6498
- function u(e) {
6499
- return -1 !== [null, void 0, false].indexOf(e);
6533
+ function u(e2) {
6534
+ return -1 !== [null, void 0, false].indexOf(e2);
6500
6535
  }
6501
- function c(e) {
6502
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6536
+ function c(e2) {
6537
+ return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
6503
6538
  }
6504
- function p(e) {
6539
+ function p(e2) {
6505
6540
  var t = { exports: {} };
6506
- return e(t, t.exports), t.exports;
6541
+ return e2(t, t.exports), t.exports;
6507
6542
  }
6508
- var d = p(function(e, t) {
6509
- e.exports = function() {
6510
- var e2 = ["decimals", "thousand", "mark", "prefix", "suffix", "encoder", "decoder", "negativeBefore", "negative", "edit", "undo"];
6511
- function t2(e3) {
6512
- return e3.split("").reverse().join("");
6543
+ var d = p(function(e2, t) {
6544
+ e2.exports = function() {
6545
+ var e3 = ["decimals", "thousand", "mark", "prefix", "suffix", "encoder", "decoder", "negativeBefore", "negative", "edit", "undo"];
6546
+ function t2(e4) {
6547
+ return e4.split("").reverse().join("");
6513
6548
  }
6514
- function r(e3, t3) {
6515
- return e3.substring(0, t3.length) === t3;
6549
+ function r(e4, t3) {
6550
+ return e4.substring(0, t3.length) === t3;
6516
6551
  }
6517
- function i(e3, t3) {
6518
- return e3.slice(-1 * t3.length) === t3;
6552
+ function i(e4, t3) {
6553
+ return e4.slice(-1 * t3.length) === t3;
6519
6554
  }
6520
- function n(e3, t3, r2) {
6521
- if ((e3[t3] || e3[r2]) && e3[t3] === e3[r2])
6555
+ function n(e4, t3, r2) {
6556
+ if ((e4[t3] || e4[r2]) && e4[t3] === e4[r2])
6522
6557
  throw new Error(t3);
6523
6558
  }
6524
- function o(e3) {
6525
- return "number" == typeof e3 && isFinite(e3);
6559
+ function o(e4) {
6560
+ return "number" == typeof e4 && isFinite(e4);
6526
6561
  }
6527
- function a(e3, t3) {
6528
- return e3 = e3.toString().split("e"), (+((e3 = (e3 = Math.round(+(e3[0] + "e" + (e3[1] ? +e3[1] + t3 : t3)))).toString().split("e"))[0] + "e" + (e3[1] ? +e3[1] - t3 : -t3))).toFixed(t3);
6562
+ function a(e4, t3) {
6563
+ return e4 = e4.toString().split("e"), (+((e4 = (e4 = Math.round(+(e4[0] + "e" + (e4[1] ? +e4[1] + t3 : t3)))).toString().split("e"))[0] + "e" + (e4[1] ? +e4[1] - t3 : -t3))).toFixed(t3);
6529
6564
  }
6530
- function s(e3, r2, i2, n2, s2, l2, u3, c3, p3, d2, f2, h2) {
6565
+ function s(e4, r2, i2, n2, s2, l2, u3, c3, p3, d2, f2, h2) {
6531
6566
  var m2, v, g, b = h2, y = "", S = "";
6532
- return l2 && (h2 = l2(h2)), !!o(h2) && (false !== e3 && 0 === parseFloat(h2.toFixed(e3)) && (h2 = 0), h2 < 0 && (m2 = true, h2 = Math.abs(h2)), false !== e3 && (h2 = a(h2, e3)), -1 !== (h2 = h2.toString()).indexOf(".") ? (g = (v = h2.split("."))[0], i2 && (y = i2 + v[1])) : g = h2, r2 && (g = t2(g).match(/.{1,3}/g), g = t2(g.join(t2(r2)))), m2 && c3 && (S += c3), n2 && (S += n2), m2 && p3 && (S += p3), S += g, S += y, s2 && (S += s2), d2 && (S = d2(S, b)), S);
6567
+ return l2 && (h2 = l2(h2)), !!o(h2) && (false !== e4 && 0 === parseFloat(h2.toFixed(e4)) && (h2 = 0), h2 < 0 && (m2 = true, h2 = Math.abs(h2)), false !== e4 && (h2 = a(h2, e4)), -1 !== (h2 = h2.toString()).indexOf(".") ? (g = (v = h2.split("."))[0], i2 && (y = i2 + v[1])) : g = h2, r2 && (g = t2(g).match(/.{1,3}/g), g = t2(g.join(t2(r2)))), m2 && c3 && (S += c3), n2 && (S += n2), m2 && p3 && (S += p3), S += g, S += y, s2 && (S += s2), d2 && (S = d2(S, b)), S);
6533
6568
  }
6534
- function l(e3, t3, n2, a2, s2, l2, u3, c3, p3, d2, f2, h2) {
6569
+ function l(e4, t3, n2, a2, s2, l2, u3, c3, p3, d2, f2, h2) {
6535
6570
  var m2, v = "";
6536
6571
  return f2 && (h2 = f2(h2)), !(!h2 || "string" != typeof h2) && (c3 && r(h2, c3) && (h2 = h2.replace(c3, ""), m2 = true), a2 && r(h2, a2) && (h2 = h2.replace(a2, "")), p3 && r(h2, p3) && (h2 = h2.replace(p3, ""), m2 = true), s2 && i(h2, s2) && (h2 = h2.slice(0, -1 * s2.length)), t3 && (h2 = h2.split(t3).join("")), n2 && (h2 = h2.replace(n2, ".")), m2 && (v += "-"), "" !== (v = (v += h2).replace(/[^0-9\.\-.]/g, "")) && (v = Number(v), u3 && (v = u3(v)), !!o(v) && v));
6537
6572
  }
6538
6573
  function u2(t3) {
6539
6574
  var r2, i2, o2, a2 = {};
6540
- for (void 0 === t3.suffix && (t3.suffix = t3.postfix), r2 = 0; r2 < e2.length; r2 += 1)
6541
- if (void 0 === (o2 = t3[i2 = e2[r2]]))
6575
+ for (void 0 === t3.suffix && (t3.suffix = t3.postfix), r2 = 0; r2 < e3.length; r2 += 1)
6576
+ if (void 0 === (o2 = t3[i2 = e3[r2]]))
6542
6577
  "negative" !== i2 || a2.negativeBefore ? "mark" === i2 && "." !== a2.thousand ? a2[i2] = "." : a2[i2] = false : a2[i2] = "-";
6543
6578
  else if ("decimals" === i2) {
6544
6579
  if (!(o2 >= 0 && o2 < 8))
@@ -6557,385 +6592,385 @@ var d = p(function(e, t) {
6557
6592
  }
6558
6593
  function c2(t3, r2, i2) {
6559
6594
  var n2, o2 = [];
6560
- for (n2 = 0; n2 < e2.length; n2 += 1)
6561
- o2.push(t3[e2[n2]]);
6595
+ for (n2 = 0; n2 < e3.length; n2 += 1)
6596
+ o2.push(t3[e3[n2]]);
6562
6597
  return o2.push(i2), r2.apply("", o2);
6563
6598
  }
6564
- function p2(e3) {
6599
+ function p2(e4) {
6565
6600
  if (!(this instanceof p2))
6566
- return new p2(e3);
6567
- "object" == typeof e3 && (e3 = u2(e3), this.to = function(t3) {
6568
- return c2(e3, s, t3);
6601
+ return new p2(e4);
6602
+ "object" == typeof e4 && (e4 = u2(e4), this.to = function(t3) {
6603
+ return c2(e4, s, t3);
6569
6604
  }, this.from = function(t3) {
6570
- return c2(e3, l, t3);
6605
+ return c2(e4, l, t3);
6571
6606
  });
6572
6607
  }
6573
6608
  return p2;
6574
6609
  }();
6575
6610
  });
6576
- var f = c(p(function(e, t) {
6577
- !function(e2) {
6578
- function t2(e3) {
6579
- return r(e3) && "function" == typeof e3.from;
6611
+ var f = c(p(function(e2, t) {
6612
+ !function(e3) {
6613
+ function t2(e4) {
6614
+ return r(e4) && "function" == typeof e4.from;
6580
6615
  }
6581
- function r(e3) {
6582
- return "object" == typeof e3 && "function" == typeof e3.to;
6616
+ function r(e4) {
6617
+ return "object" == typeof e4 && "function" == typeof e4.to;
6583
6618
  }
6584
- function i(e3) {
6585
- e3.parentElement.removeChild(e3);
6619
+ function i(e4) {
6620
+ e4.parentElement.removeChild(e4);
6586
6621
  }
6587
- function n(e3) {
6588
- return null != e3;
6622
+ function n(e4) {
6623
+ return null != e4;
6589
6624
  }
6590
- function o(e3) {
6591
- e3.preventDefault();
6625
+ function o(e4) {
6626
+ e4.preventDefault();
6592
6627
  }
6593
- function a(e3) {
6594
- return e3.filter(function(e4) {
6595
- return !this[e4] && (this[e4] = true);
6628
+ function a(e4) {
6629
+ return e4.filter(function(e5) {
6630
+ return !this[e5] && (this[e5] = true);
6596
6631
  }, {});
6597
6632
  }
6598
- function s(e3, t3) {
6599
- return Math.round(e3 / t3) * t3;
6633
+ function s(e4, t3) {
6634
+ return Math.round(e4 / t3) * t3;
6600
6635
  }
6601
- function l(e3, t3) {
6602
- var r2 = e3.getBoundingClientRect(), i2 = e3.ownerDocument, n2 = i2.documentElement, o2 = g(i2);
6636
+ function l(e4, t3) {
6637
+ var r2 = e4.getBoundingClientRect(), i2 = e4.ownerDocument, n2 = i2.documentElement, o2 = g(i2);
6603
6638
  return /webkit.*Chrome.*Mobile/i.test(navigator.userAgent) && (o2.x = 0), t3 ? r2.top + o2.y - n2.clientTop : r2.left + o2.x - n2.clientLeft;
6604
6639
  }
6605
- function u2(e3) {
6606
- return "number" == typeof e3 && !isNaN(e3) && isFinite(e3);
6640
+ function u2(e4) {
6641
+ return "number" == typeof e4 && !isNaN(e4) && isFinite(e4);
6607
6642
  }
6608
- function c2(e3, t3, r2) {
6609
- r2 > 0 && (h2(e3, t3), setTimeout(function() {
6610
- m2(e3, t3);
6643
+ function c2(e4, t3, r2) {
6644
+ r2 > 0 && (h2(e4, t3), setTimeout(function() {
6645
+ m2(e4, t3);
6611
6646
  }, r2));
6612
6647
  }
6613
- function p2(e3) {
6614
- return Math.max(Math.min(e3, 100), 0);
6648
+ function p2(e4) {
6649
+ return Math.max(Math.min(e4, 100), 0);
6615
6650
  }
6616
- function d2(e3) {
6617
- return Array.isArray(e3) ? e3 : [e3];
6651
+ function d2(e4) {
6652
+ return Array.isArray(e4) ? e4 : [e4];
6618
6653
  }
6619
- function f2(e3) {
6620
- var t3 = (e3 = String(e3)).split(".");
6654
+ function f2(e4) {
6655
+ var t3 = (e4 = String(e4)).split(".");
6621
6656
  return t3.length > 1 ? t3[1].length : 0;
6622
6657
  }
6623
- function h2(e3, t3) {
6624
- e3.classList && !/\s/.test(t3) ? e3.classList.add(t3) : e3.className += " " + t3;
6658
+ function h2(e4, t3) {
6659
+ e4.classList && !/\s/.test(t3) ? e4.classList.add(t3) : e4.className += " " + t3;
6625
6660
  }
6626
- function m2(e3, t3) {
6627
- e3.classList && !/\s/.test(t3) ? e3.classList.remove(t3) : e3.className = e3.className.replace(new RegExp("(^|\\b)" + t3.split(" ").join("|") + "(\\b|$)", "gi"), " ");
6661
+ function m2(e4, t3) {
6662
+ e4.classList && !/\s/.test(t3) ? e4.classList.remove(t3) : e4.className = e4.className.replace(new RegExp("(^|\\b)" + t3.split(" ").join("|") + "(\\b|$)", "gi"), " ");
6628
6663
  }
6629
- function v(e3, t3) {
6630
- return e3.classList ? e3.classList.contains(t3) : new RegExp("\\b" + t3 + "\\b").test(e3.className);
6664
+ function v(e4, t3) {
6665
+ return e4.classList ? e4.classList.contains(t3) : new RegExp("\\b" + t3 + "\\b").test(e4.className);
6631
6666
  }
6632
- function g(e3) {
6633
- var t3 = void 0 !== window.pageXOffset, r2 = "CSS1Compat" === (e3.compatMode || "");
6634
- return { x: t3 ? window.pageXOffset : r2 ? e3.documentElement.scrollLeft : e3.body.scrollLeft, y: t3 ? window.pageYOffset : r2 ? e3.documentElement.scrollTop : e3.body.scrollTop };
6667
+ function g(e4) {
6668
+ var t3 = void 0 !== window.pageXOffset, r2 = "CSS1Compat" === (e4.compatMode || "");
6669
+ return { x: t3 ? window.pageXOffset : r2 ? e4.documentElement.scrollLeft : e4.body.scrollLeft, y: t3 ? window.pageYOffset : r2 ? e4.documentElement.scrollTop : e4.body.scrollTop };
6635
6670
  }
6636
6671
  function b() {
6637
6672
  return window.navigator.pointerEnabled ? { start: "pointerdown", move: "pointermove", end: "pointerup" } : window.navigator.msPointerEnabled ? { start: "MSPointerDown", move: "MSPointerMove", end: "MSPointerUp" } : { start: "mousedown touchstart", move: "mousemove touchmove", end: "mouseup touchend" };
6638
6673
  }
6639
6674
  function y() {
6640
- var e3 = false;
6675
+ var e4 = false;
6641
6676
  try {
6642
6677
  var t3 = Object.defineProperty({}, "passive", { get: function() {
6643
- e3 = true;
6678
+ e4 = true;
6644
6679
  } });
6645
6680
  window.addEventListener("test", null, t3);
6646
- } catch (e4) {
6681
+ } catch (e5) {
6647
6682
  }
6648
- return e3;
6683
+ return e4;
6649
6684
  }
6650
6685
  function S() {
6651
6686
  return window.CSS && CSS.supports && CSS.supports("touch-action", "none");
6652
6687
  }
6653
- function x(e3, t3) {
6654
- return 100 / (t3 - e3);
6688
+ function x(e4, t3) {
6689
+ return 100 / (t3 - e4);
6655
6690
  }
6656
- function w(e3, t3, r2) {
6657
- return 100 * t3 / (e3[r2 + 1] - e3[r2]);
6691
+ function w(e4, t3, r2) {
6692
+ return 100 * t3 / (e4[r2 + 1] - e4[r2]);
6658
6693
  }
6659
- function E(e3, t3) {
6660
- return w(e3, e3[0] < 0 ? t3 + Math.abs(e3[0]) : t3 - e3[0], 0);
6694
+ function E(e4, t3) {
6695
+ return w(e4, e4[0] < 0 ? t3 + Math.abs(e4[0]) : t3 - e4[0], 0);
6661
6696
  }
6662
- function P(e3, t3) {
6663
- return t3 * (e3[1] - e3[0]) / 100 + e3[0];
6697
+ function P(e4, t3) {
6698
+ return t3 * (e4[1] - e4[0]) / 100 + e4[0];
6664
6699
  }
6665
- function N(e3, t3) {
6666
- for (var r2 = 1; e3 >= t3[r2]; )
6700
+ function N(e4, t3) {
6701
+ for (var r2 = 1; e4 >= t3[r2]; )
6667
6702
  r2 += 1;
6668
6703
  return r2;
6669
6704
  }
6670
- function C(e3, t3, r2) {
6671
- if (r2 >= e3.slice(-1)[0])
6705
+ function C(e4, t3, r2) {
6706
+ if (r2 >= e4.slice(-1)[0])
6672
6707
  return 100;
6673
- var i2 = N(r2, e3), n2 = e3[i2 - 1], o2 = e3[i2], a2 = t3[i2 - 1], s2 = t3[i2];
6708
+ var i2 = N(r2, e4), n2 = e4[i2 - 1], o2 = e4[i2], a2 = t3[i2 - 1], s2 = t3[i2];
6674
6709
  return a2 + E([n2, o2], r2) / x(a2, s2);
6675
6710
  }
6676
- function k(e3, t3, r2) {
6711
+ function k(e4, t3, r2) {
6677
6712
  if (r2 >= 100)
6678
- return e3.slice(-1)[0];
6679
- var i2 = N(r2, t3), n2 = e3[i2 - 1], o2 = e3[i2], a2 = t3[i2 - 1];
6713
+ return e4.slice(-1)[0];
6714
+ var i2 = N(r2, t3), n2 = e4[i2 - 1], o2 = e4[i2], a2 = t3[i2 - 1];
6680
6715
  return P([n2, o2], (r2 - a2) * x(a2, t3[i2]));
6681
6716
  }
6682
- function V(e3, t3, r2, i2) {
6717
+ function V(e4, t3, r2, i2) {
6683
6718
  if (100 === i2)
6684
6719
  return i2;
6685
- var n2 = N(i2, e3), o2 = e3[n2 - 1], a2 = e3[n2];
6686
- return r2 ? i2 - o2 > (a2 - o2) / 2 ? a2 : o2 : t3[n2 - 1] ? e3[n2 - 1] + s(i2 - e3[n2 - 1], t3[n2 - 1]) : i2;
6720
+ var n2 = N(i2, e4), o2 = e4[n2 - 1], a2 = e4[n2];
6721
+ return r2 ? i2 - o2 > (a2 - o2) / 2 ? a2 : o2 : t3[n2 - 1] ? e4[n2 - 1] + s(i2 - e4[n2 - 1], t3[n2 - 1]) : i2;
6687
6722
  }
6688
6723
  var A, M;
6689
- e2.PipsMode = void 0, (M = e2.PipsMode || (e2.PipsMode = {})).Range = "range", M.Steps = "steps", M.Positions = "positions", M.Count = "count", M.Values = "values", e2.PipsType = void 0, (A = e2.PipsType || (e2.PipsType = {}))[A.None = -1] = "None", A[A.NoValue = 0] = "NoValue", A[A.LargeValue = 1] = "LargeValue", A[A.SmallValue = 2] = "SmallValue";
6724
+ e3.PipsMode = void 0, (M = e3.PipsMode || (e3.PipsMode = {})).Range = "range", M.Steps = "steps", M.Positions = "positions", M.Count = "count", M.Values = "values", e3.PipsType = void 0, (A = e3.PipsType || (e3.PipsType = {}))[A.None = -1] = "None", A[A.NoValue = 0] = "NoValue", A[A.LargeValue = 1] = "LargeValue", A[A.SmallValue = 2] = "SmallValue";
6690
6725
  var L = function() {
6691
- function e3(e4, t3, r2) {
6726
+ function e4(e5, t3, r2) {
6692
6727
  var i2;
6693
6728
  this.xPct = [], this.xVal = [], this.xSteps = [], this.xNumSteps = [], this.xHighestCompleteStep = [], this.xSteps = [r2 || false], this.xNumSteps = [false], this.snap = t3;
6694
6729
  var n2 = [];
6695
- for (Object.keys(e4).forEach(function(t4) {
6696
- n2.push([d2(e4[t4]), t4]);
6697
- }), n2.sort(function(e5, t4) {
6698
- return e5[0][0] - t4[0][0];
6730
+ for (Object.keys(e5).forEach(function(t4) {
6731
+ n2.push([d2(e5[t4]), t4]);
6732
+ }), n2.sort(function(e6, t4) {
6733
+ return e6[0][0] - t4[0][0];
6699
6734
  }), i2 = 0; i2 < n2.length; i2++)
6700
6735
  this.handleEntryPoint(n2[i2][1], n2[i2][0]);
6701
6736
  for (this.xNumSteps = this.xSteps.slice(0), i2 = 0; i2 < this.xNumSteps.length; i2++)
6702
6737
  this.handleStepPoint(i2, this.xNumSteps[i2]);
6703
6738
  }
6704
- return e3.prototype.getDistance = function(e4) {
6739
+ return e4.prototype.getDistance = function(e5) {
6705
6740
  for (var t3 = [], r2 = 0; r2 < this.xNumSteps.length - 1; r2++)
6706
- t3[r2] = w(this.xVal, e4, r2);
6741
+ t3[r2] = w(this.xVal, e5, r2);
6707
6742
  return t3;
6708
- }, e3.prototype.getAbsoluteDistance = function(e4, t3, r2) {
6743
+ }, e4.prototype.getAbsoluteDistance = function(e5, t3, r2) {
6709
6744
  var i2, n2 = 0;
6710
- if (e4 < this.xPct[this.xPct.length - 1])
6711
- for (; e4 > this.xPct[n2 + 1]; )
6745
+ if (e5 < this.xPct[this.xPct.length - 1])
6746
+ for (; e5 > this.xPct[n2 + 1]; )
6712
6747
  n2++;
6713
6748
  else
6714
- e4 === this.xPct[this.xPct.length - 1] && (n2 = this.xPct.length - 2);
6715
- r2 || e4 !== this.xPct[n2 + 1] || n2++, null === t3 && (t3 = []);
6749
+ e5 === this.xPct[this.xPct.length - 1] && (n2 = this.xPct.length - 2);
6750
+ r2 || e5 !== this.xPct[n2 + 1] || n2++, null === t3 && (t3 = []);
6716
6751
  var o2 = 1, a2 = t3[n2], s2 = 0, l2 = 0, u3 = 0, c3 = 0;
6717
- for (i2 = r2 ? (e4 - this.xPct[n2]) / (this.xPct[n2 + 1] - this.xPct[n2]) : (this.xPct[n2 + 1] - e4) / (this.xPct[n2 + 1] - this.xPct[n2]); a2 > 0; )
6752
+ for (i2 = r2 ? (e5 - this.xPct[n2]) / (this.xPct[n2 + 1] - this.xPct[n2]) : (this.xPct[n2 + 1] - e5) / (this.xPct[n2 + 1] - this.xPct[n2]); a2 > 0; )
6718
6753
  s2 = this.xPct[n2 + 1 + c3] - this.xPct[n2 + c3], t3[n2 + c3] * o2 + 100 - 100 * i2 > 100 ? (l2 = s2 * i2, o2 = (a2 - 100 * i2) / t3[n2 + c3], i2 = 1) : (l2 = t3[n2 + c3] * s2 / 100 * o2, o2 = 0), r2 ? (u3 -= l2, this.xPct.length + c3 >= 1 && c3--) : (u3 += l2, this.xPct.length - c3 >= 1 && c3++), a2 = t3[n2 + c3] * o2;
6719
- return e4 + u3;
6720
- }, e3.prototype.toStepping = function(e4) {
6721
- return e4 = C(this.xVal, this.xPct, e4);
6722
- }, e3.prototype.fromStepping = function(e4) {
6723
- return k(this.xVal, this.xPct, e4);
6724
- }, e3.prototype.getStep = function(e4) {
6725
- return e4 = V(this.xPct, this.xSteps, this.snap, e4);
6726
- }, e3.prototype.getDefaultStep = function(e4, t3, r2) {
6727
- var i2 = N(e4, this.xPct);
6728
- return (100 === e4 || t3 && e4 === this.xPct[i2 - 1]) && (i2 = Math.max(i2 - 1, 1)), (this.xVal[i2] - this.xVal[i2 - 1]) / r2;
6729
- }, e3.prototype.getNearbySteps = function(e4) {
6730
- var t3 = N(e4, this.xPct);
6754
+ return e5 + u3;
6755
+ }, e4.prototype.toStepping = function(e5) {
6756
+ return e5 = C(this.xVal, this.xPct, e5);
6757
+ }, e4.prototype.fromStepping = function(e5) {
6758
+ return k(this.xVal, this.xPct, e5);
6759
+ }, e4.prototype.getStep = function(e5) {
6760
+ return e5 = V(this.xPct, this.xSteps, this.snap, e5);
6761
+ }, e4.prototype.getDefaultStep = function(e5, t3, r2) {
6762
+ var i2 = N(e5, this.xPct);
6763
+ return (100 === e5 || t3 && e5 === this.xPct[i2 - 1]) && (i2 = Math.max(i2 - 1, 1)), (this.xVal[i2] - this.xVal[i2 - 1]) / r2;
6764
+ }, e4.prototype.getNearbySteps = function(e5) {
6765
+ var t3 = N(e5, this.xPct);
6731
6766
  return { stepBefore: { startValue: this.xVal[t3 - 2], step: this.xNumSteps[t3 - 2], highestStep: this.xHighestCompleteStep[t3 - 2] }, thisStep: { startValue: this.xVal[t3 - 1], step: this.xNumSteps[t3 - 1], highestStep: this.xHighestCompleteStep[t3 - 1] }, stepAfter: { startValue: this.xVal[t3], step: this.xNumSteps[t3], highestStep: this.xHighestCompleteStep[t3] } };
6732
- }, e3.prototype.countStepDecimals = function() {
6733
- var e4 = this.xNumSteps.map(f2);
6734
- return Math.max.apply(null, e4);
6735
- }, e3.prototype.hasNoSize = function() {
6767
+ }, e4.prototype.countStepDecimals = function() {
6768
+ var e5 = this.xNumSteps.map(f2);
6769
+ return Math.max.apply(null, e5);
6770
+ }, e4.prototype.hasNoSize = function() {
6736
6771
  return this.xVal[0] === this.xVal[this.xVal.length - 1];
6737
- }, e3.prototype.convert = function(e4) {
6738
- return this.getStep(this.toStepping(e4));
6739
- }, e3.prototype.handleEntryPoint = function(e4, t3) {
6772
+ }, e4.prototype.convert = function(e5) {
6773
+ return this.getStep(this.toStepping(e5));
6774
+ }, e4.prototype.handleEntryPoint = function(e5, t3) {
6740
6775
  var r2;
6741
- if (!u2(r2 = "min" === e4 ? 0 : "max" === e4 ? 100 : parseFloat(e4)) || !u2(t3[0]))
6776
+ if (!u2(r2 = "min" === e5 ? 0 : "max" === e5 ? 100 : parseFloat(e5)) || !u2(t3[0]))
6742
6777
  throw new Error("noUiSlider: 'range' value isn't numeric.");
6743
6778
  this.xPct.push(r2), this.xVal.push(t3[0]);
6744
6779
  var i2 = Number(t3[1]);
6745
6780
  r2 ? this.xSteps.push(!isNaN(i2) && i2) : isNaN(i2) || (this.xSteps[0] = i2), this.xHighestCompleteStep.push(0);
6746
- }, e3.prototype.handleStepPoint = function(e4, t3) {
6781
+ }, e4.prototype.handleStepPoint = function(e5, t3) {
6747
6782
  if (t3)
6748
- if (this.xVal[e4] !== this.xVal[e4 + 1]) {
6749
- this.xSteps[e4] = w([this.xVal[e4], this.xVal[e4 + 1]], t3, 0) / x(this.xPct[e4], this.xPct[e4 + 1]);
6750
- var r2 = (this.xVal[e4 + 1] - this.xVal[e4]) / this.xNumSteps[e4], i2 = Math.ceil(Number(r2.toFixed(3)) - 1), n2 = this.xVal[e4] + this.xNumSteps[e4] * i2;
6751
- this.xHighestCompleteStep[e4] = n2;
6783
+ if (this.xVal[e5] !== this.xVal[e5 + 1]) {
6784
+ this.xSteps[e5] = w([this.xVal[e5], this.xVal[e5 + 1]], t3, 0) / x(this.xPct[e5], this.xPct[e5 + 1]);
6785
+ var r2 = (this.xVal[e5 + 1] - this.xVal[e5]) / this.xNumSteps[e5], i2 = Math.ceil(Number(r2.toFixed(3)) - 1), n2 = this.xVal[e5] + this.xNumSteps[e5] * i2;
6786
+ this.xHighestCompleteStep[e5] = n2;
6752
6787
  } else
6753
- this.xSteps[e4] = this.xHighestCompleteStep[e4] = this.xVal[e4];
6754
- }, e3;
6755
- }(), U = { to: function(e3) {
6756
- return void 0 === e3 ? "" : e3.toFixed(2);
6788
+ this.xSteps[e5] = this.xHighestCompleteStep[e5] = this.xVal[e5];
6789
+ }, e4;
6790
+ }(), U = { to: function(e4) {
6791
+ return void 0 === e4 ? "" : e4.toFixed(2);
6757
6792
  }, from: Number }, O = { target: "target", base: "base", origin: "origin", handle: "handle", handleLower: "handle-lower", handleUpper: "handle-upper", touchArea: "touch-area", horizontal: "horizontal", vertical: "vertical", background: "background", connect: "connect", connects: "connects", ltr: "ltr", rtl: "rtl", textDirectionLtr: "txt-dir-ltr", textDirectionRtl: "txt-dir-rtl", draggable: "draggable", drag: "state-drag", tap: "state-tap", active: "active", tooltip: "tooltip", pips: "pips", pipsHorizontal: "pips-horizontal", pipsVertical: "pips-vertical", marker: "marker", markerHorizontal: "marker-horizontal", markerVertical: "marker-vertical", markerNormal: "marker-normal", markerLarge: "marker-large", markerSub: "marker-sub", value: "value", valueHorizontal: "value-horizontal", valueVertical: "value-vertical", valueNormal: "value-normal", valueLarge: "value-large", valueSub: "value-sub" }, D = { tooltips: ".__tooltips", aria: ".__aria" };
6758
- function j(e3, t3) {
6793
+ function j(e4, t3) {
6759
6794
  if (!u2(t3))
6760
6795
  throw new Error("noUiSlider: 'step' is not numeric.");
6761
- e3.singleStep = t3;
6796
+ e4.singleStep = t3;
6762
6797
  }
6763
- function F(e3, t3) {
6798
+ function F(e4, t3) {
6764
6799
  if (!u2(t3))
6765
6800
  throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");
6766
- e3.keyboardPageMultiplier = t3;
6801
+ e4.keyboardPageMultiplier = t3;
6767
6802
  }
6768
- function T(e3, t3) {
6803
+ function T(e4, t3) {
6769
6804
  if (!u2(t3))
6770
6805
  throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");
6771
- e3.keyboardMultiplier = t3;
6806
+ e4.keyboardMultiplier = t3;
6772
6807
  }
6773
- function z(e3, t3) {
6808
+ function z(e4, t3) {
6774
6809
  if (!u2(t3))
6775
6810
  throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");
6776
- e3.keyboardDefaultStep = t3;
6811
+ e4.keyboardDefaultStep = t3;
6777
6812
  }
6778
- function H(e3, t3) {
6813
+ function H(e4, t3) {
6779
6814
  if ("object" != typeof t3 || Array.isArray(t3))
6780
6815
  throw new Error("noUiSlider: 'range' is not an object.");
6781
6816
  if (void 0 === t3.min || void 0 === t3.max)
6782
6817
  throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");
6783
- e3.spectrum = new L(t3, e3.snap || false, e3.singleStep);
6818
+ e4.spectrum = new L(t3, e4.snap || false, e4.singleStep);
6784
6819
  }
6785
- function q(e3, t3) {
6820
+ function q(e4, t3) {
6786
6821
  if (t3 = d2(t3), !Array.isArray(t3) || !t3.length)
6787
6822
  throw new Error("noUiSlider: 'start' option is incorrect.");
6788
- e3.handles = t3.length, e3.start = t3;
6823
+ e4.handles = t3.length, e4.start = t3;
6789
6824
  }
6790
- function R(e3, t3) {
6825
+ function R(e4, t3) {
6791
6826
  if ("boolean" != typeof t3)
6792
6827
  throw new Error("noUiSlider: 'snap' option must be a boolean.");
6793
- e3.snap = t3;
6828
+ e4.snap = t3;
6794
6829
  }
6795
- function B(e3, t3) {
6830
+ function B(e4, t3) {
6796
6831
  if ("boolean" != typeof t3)
6797
6832
  throw new Error("noUiSlider: 'animate' option must be a boolean.");
6798
- e3.animate = t3;
6833
+ e4.animate = t3;
6799
6834
  }
6800
- function _(e3, t3) {
6835
+ function _(e4, t3) {
6801
6836
  if ("number" != typeof t3)
6802
6837
  throw new Error("noUiSlider: 'animationDuration' option must be a number.");
6803
- e3.animationDuration = t3;
6838
+ e4.animationDuration = t3;
6804
6839
  }
6805
- function $(e3, t3) {
6840
+ function $(e4, t3) {
6806
6841
  var r2, i2 = [false];
6807
6842
  if ("lower" === t3 ? t3 = [true, false] : "upper" === t3 && (t3 = [false, true]), true === t3 || false === t3) {
6808
- for (r2 = 1; r2 < e3.handles; r2++)
6843
+ for (r2 = 1; r2 < e4.handles; r2++)
6809
6844
  i2.push(t3);
6810
6845
  i2.push(false);
6811
6846
  } else {
6812
- if (!Array.isArray(t3) || !t3.length || t3.length !== e3.handles + 1)
6847
+ if (!Array.isArray(t3) || !t3.length || t3.length !== e4.handles + 1)
6813
6848
  throw new Error("noUiSlider: 'connect' option doesn't match handle count.");
6814
6849
  i2 = t3;
6815
6850
  }
6816
- e3.connect = i2;
6851
+ e4.connect = i2;
6817
6852
  }
6818
- function X(e3, t3) {
6853
+ function X(e4, t3) {
6819
6854
  switch (t3) {
6820
6855
  case "horizontal":
6821
- e3.ort = 0;
6856
+ e4.ort = 0;
6822
6857
  break;
6823
6858
  case "vertical":
6824
- e3.ort = 1;
6859
+ e4.ort = 1;
6825
6860
  break;
6826
6861
  default:
6827
6862
  throw new Error("noUiSlider: 'orientation' option is invalid.");
6828
6863
  }
6829
6864
  }
6830
- function Y(e3, t3) {
6865
+ function Y(e4, t3) {
6831
6866
  if (!u2(t3))
6832
6867
  throw new Error("noUiSlider: 'margin' option must be numeric.");
6833
- 0 !== t3 && (e3.margin = e3.spectrum.getDistance(t3));
6868
+ 0 !== t3 && (e4.margin = e4.spectrum.getDistance(t3));
6834
6869
  }
6835
- function I(e3, t3) {
6870
+ function I(e4, t3) {
6836
6871
  if (!u2(t3))
6837
6872
  throw new Error("noUiSlider: 'limit' option must be numeric.");
6838
- if (e3.limit = e3.spectrum.getDistance(t3), !e3.limit || e3.handles < 2)
6873
+ if (e4.limit = e4.spectrum.getDistance(t3), !e4.limit || e4.handles < 2)
6839
6874
  throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.");
6840
6875
  }
6841
- function W(e3, t3) {
6876
+ function W(e4, t3) {
6842
6877
  var r2;
6843
6878
  if (!u2(t3) && !Array.isArray(t3))
6844
6879
  throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");
6845
6880
  if (Array.isArray(t3) && 2 !== t3.length && !u2(t3[0]) && !u2(t3[1]))
6846
6881
  throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");
6847
6882
  if (0 !== t3) {
6848
- for (Array.isArray(t3) || (t3 = [t3, t3]), e3.padding = [e3.spectrum.getDistance(t3[0]), e3.spectrum.getDistance(t3[1])], r2 = 0; r2 < e3.spectrum.xNumSteps.length - 1; r2++)
6849
- if (e3.padding[0][r2] < 0 || e3.padding[1][r2] < 0)
6883
+ for (Array.isArray(t3) || (t3 = [t3, t3]), e4.padding = [e4.spectrum.getDistance(t3[0]), e4.spectrum.getDistance(t3[1])], r2 = 0; r2 < e4.spectrum.xNumSteps.length - 1; r2++)
6884
+ if (e4.padding[0][r2] < 0 || e4.padding[1][r2] < 0)
6850
6885
  throw new Error("noUiSlider: 'padding' option must be a positive number(s).");
6851
- var i2 = t3[0] + t3[1], n2 = e3.spectrum.xVal[0];
6852
- if (i2 / (e3.spectrum.xVal[e3.spectrum.xVal.length - 1] - n2) > 1)
6886
+ var i2 = t3[0] + t3[1], n2 = e4.spectrum.xVal[0];
6887
+ if (i2 / (e4.spectrum.xVal[e4.spectrum.xVal.length - 1] - n2) > 1)
6853
6888
  throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.");
6854
6889
  }
6855
6890
  }
6856
- function G(e3, t3) {
6891
+ function G(e4, t3) {
6857
6892
  switch (t3) {
6858
6893
  case "ltr":
6859
- e3.dir = 0;
6894
+ e4.dir = 0;
6860
6895
  break;
6861
6896
  case "rtl":
6862
- e3.dir = 1;
6897
+ e4.dir = 1;
6863
6898
  break;
6864
6899
  default:
6865
6900
  throw new Error("noUiSlider: 'direction' option was not recognized.");
6866
6901
  }
6867
6902
  }
6868
- function J(e3, t3) {
6903
+ function J(e4, t3) {
6869
6904
  if ("string" != typeof t3)
6870
6905
  throw new Error("noUiSlider: 'behaviour' must be a string containing options.");
6871
6906
  var r2 = t3.indexOf("tap") >= 0, i2 = t3.indexOf("drag") >= 0, n2 = t3.indexOf("fixed") >= 0, o2 = t3.indexOf("snap") >= 0, a2 = t3.indexOf("hover") >= 0, s2 = t3.indexOf("unconstrained") >= 0, l2 = t3.indexOf("drag-all") >= 0, u3 = t3.indexOf("smooth-steps") >= 0;
6872
6907
  if (n2) {
6873
- if (2 !== e3.handles)
6908
+ if (2 !== e4.handles)
6874
6909
  throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");
6875
- Y(e3, e3.start[1] - e3.start[0]);
6910
+ Y(e4, e4.start[1] - e4.start[0]);
6876
6911
  }
6877
- if (s2 && (e3.margin || e3.limit))
6912
+ if (s2 && (e4.margin || e4.limit))
6878
6913
  throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");
6879
- e3.events = { tap: r2 || o2, drag: i2, dragAll: l2, smoothSteps: u3, fixed: n2, snap: o2, hover: a2, unconstrained: s2 };
6914
+ e4.events = { tap: r2 || o2, drag: i2, dragAll: l2, smoothSteps: u3, fixed: n2, snap: o2, hover: a2, unconstrained: s2 };
6880
6915
  }
6881
- function K(e3, t3) {
6916
+ function K(e4, t3) {
6882
6917
  if (false !== t3)
6883
6918
  if (true === t3 || r(t3)) {
6884
- e3.tooltips = [];
6885
- for (var i2 = 0; i2 < e3.handles; i2++)
6886
- e3.tooltips.push(t3);
6919
+ e4.tooltips = [];
6920
+ for (var i2 = 0; i2 < e4.handles; i2++)
6921
+ e4.tooltips.push(t3);
6887
6922
  } else {
6888
- if ((t3 = d2(t3)).length !== e3.handles)
6923
+ if ((t3 = d2(t3)).length !== e4.handles)
6889
6924
  throw new Error("noUiSlider: must pass a formatter for all handles.");
6890
- t3.forEach(function(e4) {
6891
- if ("boolean" != typeof e4 && !r(e4))
6925
+ t3.forEach(function(e5) {
6926
+ if ("boolean" != typeof e5 && !r(e5))
6892
6927
  throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.");
6893
- }), e3.tooltips = t3;
6928
+ }), e4.tooltips = t3;
6894
6929
  }
6895
6930
  }
6896
- function Q(e3, t3) {
6897
- if (t3.length !== e3.handles)
6931
+ function Q(e4, t3) {
6932
+ if (t3.length !== e4.handles)
6898
6933
  throw new Error("noUiSlider: must pass a attributes for all handles.");
6899
- e3.handleAttributes = t3;
6934
+ e4.handleAttributes = t3;
6900
6935
  }
6901
- function Z(e3, t3) {
6936
+ function Z(e4, t3) {
6902
6937
  if (!r(t3))
6903
6938
  throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");
6904
- e3.ariaFormat = t3;
6939
+ e4.ariaFormat = t3;
6905
6940
  }
6906
- function ee(e3, r2) {
6941
+ function ee(e4, r2) {
6907
6942
  if (!t2(r2))
6908
6943
  throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");
6909
- e3.format = r2;
6944
+ e4.format = r2;
6910
6945
  }
6911
- function te(e3, t3) {
6946
+ function te(e4, t3) {
6912
6947
  if ("boolean" != typeof t3)
6913
6948
  throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");
6914
- e3.keyboardSupport = t3;
6949
+ e4.keyboardSupport = t3;
6915
6950
  }
6916
- function re(e3, t3) {
6917
- e3.documentElement = t3;
6951
+ function re(e4, t3) {
6952
+ e4.documentElement = t3;
6918
6953
  }
6919
- function ie(e3, t3) {
6954
+ function ie(e4, t3) {
6920
6955
  if ("string" != typeof t3 && false !== t3)
6921
6956
  throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");
6922
- e3.cssPrefix = t3;
6957
+ e4.cssPrefix = t3;
6923
6958
  }
6924
- function ne(e3, t3) {
6959
+ function ne(e4, t3) {
6925
6960
  if ("object" != typeof t3)
6926
6961
  throw new Error("noUiSlider: 'cssClasses' must be an object.");
6927
- "string" == typeof e3.cssPrefix ? (e3.cssClasses = {}, Object.keys(t3).forEach(function(r2) {
6928
- e3.cssClasses[r2] = e3.cssPrefix + t3[r2];
6929
- })) : e3.cssClasses = t3;
6962
+ "string" == typeof e4.cssPrefix ? (e4.cssClasses = {}, Object.keys(t3).forEach(function(r2) {
6963
+ e4.cssClasses[r2] = e4.cssPrefix + t3[r2];
6964
+ })) : e4.cssClasses = t3;
6930
6965
  }
6931
- function oe(e3) {
6966
+ function oe(e4) {
6932
6967
  var t3 = { margin: null, limit: null, padding: null, animate: true, animationDuration: 300, ariaFormat: U, format: U }, r2 = { step: { r: false, t: j }, keyboardPageMultiplier: { r: false, t: F }, keyboardMultiplier: { r: false, t: T }, keyboardDefaultStep: { r: false, t: z }, start: { r: true, t: q }, connect: { r: true, t: $ }, direction: { r: true, t: G }, snap: { r: false, t: R }, animate: { r: false, t: B }, animationDuration: { r: false, t: _ }, range: { r: true, t: H }, orientation: { r: false, t: X }, margin: { r: false, t: Y }, limit: { r: false, t: I }, padding: { r: false, t: W }, behaviour: { r: true, t: J }, ariaFormat: { r: false, t: Z }, format: { r: false, t: ee }, tooltips: { r: false, t: K }, keyboardSupport: { r: true, t: te }, documentElement: { r: false, t: re }, cssPrefix: { r: true, t: ie }, cssClasses: { r: true, t: ne }, handleAttributes: { r: false, t: Q } }, i2 = { connect: false, direction: "ltr", behaviour: "tap", orientation: "horizontal", keyboardSupport: true, cssPrefix: "noUi-", cssClasses: O, keyboardPageMultiplier: 5, keyboardMultiplier: 1, keyboardDefaultStep: 10 };
6933
- e3.format && !e3.ariaFormat && (e3.ariaFormat = e3.format), Object.keys(r2).forEach(function(o3) {
6934
- if (n(e3[o3]) || void 0 !== i2[o3])
6935
- r2[o3].t(t3, n(e3[o3]) ? e3[o3] : i2[o3]);
6968
+ e4.format && !e4.ariaFormat && (e4.ariaFormat = e4.format), Object.keys(r2).forEach(function(o3) {
6969
+ if (n(e4[o3]) || void 0 !== i2[o3])
6970
+ r2[o3].t(t3, n(e4[o3]) ? e4[o3] : i2[o3]);
6936
6971
  else if (r2[o3].r)
6937
6972
  throw new Error("noUiSlider: '" + o3 + "' is required.");
6938
- }), t3.pips = e3.pips;
6973
+ }), t3.pips = e4.pips;
6939
6974
  var o2 = document.createElement("div"), a2 = void 0 !== o2.style.msTransform, s2 = void 0 !== o2.style.transform;
6940
6975
  t3.transformRule = s2 ? "transform" : a2 ? "msTransform" : "webkitTransform";
6941
6976
  var l2 = [["left", "top"], ["right", "bottom"]];
@@ -6943,226 +6978,226 @@ var f = c(p(function(e, t) {
6943
6978
  }
6944
6979
  function ae(t3, r2, s2) {
6945
6980
  var u3, f3, x2, w2, E2, P2 = b(), N2 = S() && y(), C2 = t3, k2 = r2.spectrum, V2 = [], A2 = [], M2 = [], L2 = 0, U2 = {}, O2 = t3.ownerDocument, j2 = r2.documentElement || O2.documentElement, F2 = O2.body, T2 = "rtl" === O2.dir || 1 === r2.ort ? 0 : 100;
6946
- function z2(e3, t4) {
6981
+ function z2(e4, t4) {
6947
6982
  var r3 = O2.createElement("div");
6948
- return t4 && h2(r3, t4), e3.appendChild(r3), r3;
6983
+ return t4 && h2(r3, t4), e4.appendChild(r3), r3;
6949
6984
  }
6950
- function H2(e3, t4) {
6951
- var i2 = z2(e3, r2.cssClasses.origin), n2 = z2(i2, r2.cssClasses.handle);
6952
- if (z2(n2, r2.cssClasses.touchArea), n2.setAttribute("data-handle", String(t4)), r2.keyboardSupport && (n2.setAttribute("tabindex", "0"), n2.addEventListener("keydown", function(e4) {
6953
- return fe(e4, t4);
6985
+ function H2(e4, t4) {
6986
+ var i2 = z2(e4, r2.cssClasses.origin), n2 = z2(i2, r2.cssClasses.handle);
6987
+ if (z2(n2, r2.cssClasses.touchArea), n2.setAttribute("data-handle", String(t4)), r2.keyboardSupport && (n2.setAttribute("tabindex", "0"), n2.addEventListener("keydown", function(e5) {
6988
+ return fe(e5, t4);
6954
6989
  })), void 0 !== r2.handleAttributes) {
6955
6990
  var o2 = r2.handleAttributes[t4];
6956
- Object.keys(o2).forEach(function(e4) {
6957
- n2.setAttribute(e4, o2[e4]);
6991
+ Object.keys(o2).forEach(function(e5) {
6992
+ n2.setAttribute(e5, o2[e5]);
6958
6993
  });
6959
6994
  }
6960
6995
  return n2.setAttribute("role", "slider"), n2.setAttribute("aria-orientation", r2.ort ? "vertical" : "horizontal"), 0 === t4 ? h2(n2, r2.cssClasses.handleLower) : t4 === r2.handles - 1 && h2(n2, r2.cssClasses.handleUpper), i2;
6961
6996
  }
6962
- function q2(e3, t4) {
6963
- return !!t4 && z2(e3, r2.cssClasses.connect);
6997
+ function q2(e4, t4) {
6998
+ return !!t4 && z2(e4, r2.cssClasses.connect);
6964
6999
  }
6965
- function R2(e3, t4) {
7000
+ function R2(e4, t4) {
6966
7001
  var i2 = z2(t4, r2.cssClasses.connects);
6967
- f3 = [], (x2 = []).push(q2(i2, e3[0]));
7002
+ f3 = [], (x2 = []).push(q2(i2, e4[0]));
6968
7003
  for (var n2 = 0; n2 < r2.handles; n2++)
6969
- f3.push(H2(t4, n2)), M2[n2] = n2, x2.push(q2(i2, e3[n2 + 1]));
7004
+ f3.push(H2(t4, n2)), M2[n2] = n2, x2.push(q2(i2, e4[n2 + 1]));
6970
7005
  }
6971
- function B2(e3) {
6972
- return h2(e3, r2.cssClasses.target), 0 === r2.dir ? h2(e3, r2.cssClasses.ltr) : h2(e3, r2.cssClasses.rtl), 0 === r2.ort ? h2(e3, r2.cssClasses.horizontal) : h2(e3, r2.cssClasses.vertical), h2(e3, "rtl" === getComputedStyle(e3).direction ? r2.cssClasses.textDirectionRtl : r2.cssClasses.textDirectionLtr), z2(e3, r2.cssClasses.base);
7006
+ function B2(e4) {
7007
+ return h2(e4, r2.cssClasses.target), 0 === r2.dir ? h2(e4, r2.cssClasses.ltr) : h2(e4, r2.cssClasses.rtl), 0 === r2.ort ? h2(e4, r2.cssClasses.horizontal) : h2(e4, r2.cssClasses.vertical), h2(e4, "rtl" === getComputedStyle(e4).direction ? r2.cssClasses.textDirectionRtl : r2.cssClasses.textDirectionLtr), z2(e4, r2.cssClasses.base);
6973
7008
  }
6974
- function _2(e3, t4) {
6975
- return !(!r2.tooltips || !r2.tooltips[t4]) && z2(e3.firstChild, r2.cssClasses.tooltip);
7009
+ function _2(e4, t4) {
7010
+ return !(!r2.tooltips || !r2.tooltips[t4]) && z2(e4.firstChild, r2.cssClasses.tooltip);
6976
7011
  }
6977
7012
  function $2() {
6978
7013
  return C2.hasAttribute("disabled");
6979
7014
  }
6980
- function X2(e3) {
6981
- return f3[e3].hasAttribute("disabled");
7015
+ function X2(e4) {
7016
+ return f3[e4].hasAttribute("disabled");
6982
7017
  }
6983
7018
  function Y2() {
6984
- E2 && (ge("update" + D.tooltips), E2.forEach(function(e3) {
6985
- e3 && i(e3);
7019
+ E2 && (ge("update" + D.tooltips), E2.forEach(function(e4) {
7020
+ e4 && i(e4);
6986
7021
  }), E2 = null);
6987
7022
  }
6988
7023
  function I2() {
6989
- Y2(), E2 = f3.map(_2), me("update" + D.tooltips, function(e3, t4, i2) {
7024
+ Y2(), E2 = f3.map(_2), me("update" + D.tooltips, function(e4, t4, i2) {
6990
7025
  if (E2 && r2.tooltips && false !== E2[t4]) {
6991
- var n2 = e3[t4];
7026
+ var n2 = e4[t4];
6992
7027
  true !== r2.tooltips[t4] && (n2 = r2.tooltips[t4].to(i2[t4])), E2[t4].innerHTML = n2;
6993
7028
  }
6994
7029
  });
6995
7030
  }
6996
7031
  function W2() {
6997
- ge("update" + D.aria), me("update" + D.aria, function(e3, t4, i2, n2, o2) {
6998
- M2.forEach(function(e4) {
6999
- var t5 = f3[e4], n3 = ye(A2, e4, 0, true, true, true), a2 = ye(A2, e4, 100, true, true, true), s3 = o2[e4], l2 = String(r2.ariaFormat.to(i2[e4]));
7032
+ ge("update" + D.aria), me("update" + D.aria, function(e4, t4, i2, n2, o2) {
7033
+ M2.forEach(function(e5) {
7034
+ var t5 = f3[e5], n3 = ye(A2, e5, 0, true, true, true), a2 = ye(A2, e5, 100, true, true, true), s3 = o2[e5], l2 = String(r2.ariaFormat.to(i2[e5]));
7000
7035
  n3 = k2.fromStepping(n3).toFixed(1), a2 = k2.fromStepping(a2).toFixed(1), s3 = k2.fromStepping(s3).toFixed(1), t5.children[0].setAttribute("aria-valuemin", n3), t5.children[0].setAttribute("aria-valuemax", a2), t5.children[0].setAttribute("aria-valuenow", s3), t5.children[0].setAttribute("aria-valuetext", l2);
7001
7036
  });
7002
7037
  });
7003
7038
  }
7004
7039
  function G2(t4) {
7005
- if (t4.mode === e2.PipsMode.Range || t4.mode === e2.PipsMode.Steps)
7040
+ if (t4.mode === e3.PipsMode.Range || t4.mode === e3.PipsMode.Steps)
7006
7041
  return k2.xVal;
7007
- if (t4.mode === e2.PipsMode.Count) {
7042
+ if (t4.mode === e3.PipsMode.Count) {
7008
7043
  if (t4.values < 2)
7009
7044
  throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");
7010
7045
  for (var r3 = t4.values - 1, i2 = 100 / r3, n2 = []; r3--; )
7011
7046
  n2[r3] = r3 * i2;
7012
7047
  return n2.push(100), J2(n2, t4.stepped);
7013
7048
  }
7014
- return t4.mode === e2.PipsMode.Positions ? J2(t4.values, t4.stepped) : t4.mode === e2.PipsMode.Values ? t4.stepped ? t4.values.map(function(e3) {
7015
- return k2.fromStepping(k2.getStep(k2.toStepping(e3)));
7049
+ return t4.mode === e3.PipsMode.Positions ? J2(t4.values, t4.stepped) : t4.mode === e3.PipsMode.Values ? t4.stepped ? t4.values.map(function(e4) {
7050
+ return k2.fromStepping(k2.getStep(k2.toStepping(e4)));
7016
7051
  }) : t4.values : [];
7017
7052
  }
7018
- function J2(e3, t4) {
7019
- return e3.map(function(e4) {
7020
- return k2.fromStepping(t4 ? k2.getStep(e4) : e4);
7053
+ function J2(e4, t4) {
7054
+ return e4.map(function(e5) {
7055
+ return k2.fromStepping(t4 ? k2.getStep(e5) : e5);
7021
7056
  });
7022
7057
  }
7023
7058
  function K2(t4) {
7024
- function r3(e3, t5) {
7025
- return Number((e3 + t5).toFixed(7));
7059
+ function r3(e4, t5) {
7060
+ return Number((e4 + t5).toFixed(7));
7026
7061
  }
7027
7062
  var i2 = G2(t4), n2 = {}, o2 = k2.xVal[0], s3 = k2.xVal[k2.xVal.length - 1], l2 = false, u4 = false, c3 = 0;
7028
- return (i2 = a(i2.slice().sort(function(e3, t5) {
7029
- return e3 - t5;
7063
+ return (i2 = a(i2.slice().sort(function(e4, t5) {
7064
+ return e4 - t5;
7030
7065
  })))[0] !== o2 && (i2.unshift(o2), l2 = true), i2[i2.length - 1] !== s3 && (i2.push(s3), u4 = true), i2.forEach(function(o3, a2) {
7031
- var s4, p3, d3, f4, h3, m3, v2, g2, b2, y2, S2 = o3, x3 = i2[a2 + 1], w3 = t4.mode === e2.PipsMode.Steps;
7066
+ var s4, p3, d3, f4, h3, m3, v2, g2, b2, y2, S2 = o3, x3 = i2[a2 + 1], w3 = t4.mode === e3.PipsMode.Steps;
7032
7067
  for (w3 && (s4 = k2.xNumSteps[a2]), s4 || (s4 = x3 - S2), void 0 === x3 && (x3 = S2), s4 = Math.max(s4, 1e-7), p3 = S2; p3 <= x3; p3 = r3(p3, s4)) {
7033
7068
  for (g2 = (h3 = (f4 = k2.toStepping(p3)) - c3) / (t4.density || 1), y2 = h3 / (b2 = Math.round(g2)), d3 = 1; d3 <= b2; d3 += 1)
7034
7069
  n2[(m3 = c3 + d3 * y2).toFixed(5)] = [k2.fromStepping(m3), 0];
7035
- v2 = i2.indexOf(p3) > -1 ? e2.PipsType.LargeValue : w3 ? e2.PipsType.SmallValue : e2.PipsType.NoValue, !a2 && l2 && p3 !== x3 && (v2 = 0), p3 === x3 && u4 || (n2[f4.toFixed(5)] = [p3, v2]), c3 = f4;
7070
+ v2 = i2.indexOf(p3) > -1 ? e3.PipsType.LargeValue : w3 ? e3.PipsType.SmallValue : e3.PipsType.NoValue, !a2 && l2 && p3 !== x3 && (v2 = 0), p3 === x3 && u4 || (n2[f4.toFixed(5)] = [p3, v2]), c3 = f4;
7036
7071
  }
7037
7072
  }), n2;
7038
7073
  }
7039
7074
  function Q2(t4, i2, n2) {
7040
- var o2, a2, s3 = O2.createElement("div"), l2 = ((o2 = {})[e2.PipsType.None] = "", o2[e2.PipsType.NoValue] = r2.cssClasses.valueNormal, o2[e2.PipsType.LargeValue] = r2.cssClasses.valueLarge, o2[e2.PipsType.SmallValue] = r2.cssClasses.valueSub, o2), u4 = ((a2 = {})[e2.PipsType.None] = "", a2[e2.PipsType.NoValue] = r2.cssClasses.markerNormal, a2[e2.PipsType.LargeValue] = r2.cssClasses.markerLarge, a2[e2.PipsType.SmallValue] = r2.cssClasses.markerSub, a2), c3 = [r2.cssClasses.valueHorizontal, r2.cssClasses.valueVertical], p3 = [r2.cssClasses.markerHorizontal, r2.cssClasses.markerVertical];
7041
- function d3(e3, t5) {
7075
+ var o2, a2, s3 = O2.createElement("div"), l2 = ((o2 = {})[e3.PipsType.None] = "", o2[e3.PipsType.NoValue] = r2.cssClasses.valueNormal, o2[e3.PipsType.LargeValue] = r2.cssClasses.valueLarge, o2[e3.PipsType.SmallValue] = r2.cssClasses.valueSub, o2), u4 = ((a2 = {})[e3.PipsType.None] = "", a2[e3.PipsType.NoValue] = r2.cssClasses.markerNormal, a2[e3.PipsType.LargeValue] = r2.cssClasses.markerLarge, a2[e3.PipsType.SmallValue] = r2.cssClasses.markerSub, a2), c3 = [r2.cssClasses.valueHorizontal, r2.cssClasses.valueVertical], p3 = [r2.cssClasses.markerHorizontal, r2.cssClasses.markerVertical];
7076
+ function d3(e4, t5) {
7042
7077
  var i3 = t5 === r2.cssClasses.value, n3 = i3 ? l2 : u4;
7043
- return t5 + " " + (i3 ? c3 : p3)[r2.ort] + " " + n3[e3];
7078
+ return t5 + " " + (i3 ? c3 : p3)[r2.ort] + " " + n3[e4];
7044
7079
  }
7045
7080
  function f4(t5, o3, a3) {
7046
- if ((a3 = i2 ? i2(o3, a3) : a3) !== e2.PipsType.None) {
7081
+ if ((a3 = i2 ? i2(o3, a3) : a3) !== e3.PipsType.None) {
7047
7082
  var l3 = z2(s3, false);
7048
- l3.className = d3(a3, r2.cssClasses.marker), l3.style[r2.style] = t5 + "%", a3 > e2.PipsType.NoValue && ((l3 = z2(s3, false)).className = d3(a3, r2.cssClasses.value), l3.setAttribute("data-value", String(o3)), l3.style[r2.style] = t5 + "%", l3.innerHTML = String(n2.to(o3)));
7083
+ l3.className = d3(a3, r2.cssClasses.marker), l3.style[r2.style] = t5 + "%", a3 > e3.PipsType.NoValue && ((l3 = z2(s3, false)).className = d3(a3, r2.cssClasses.value), l3.setAttribute("data-value", String(o3)), l3.style[r2.style] = t5 + "%", l3.innerHTML = String(n2.to(o3)));
7049
7084
  }
7050
7085
  }
7051
- return h2(s3, r2.cssClasses.pips), h2(s3, 0 === r2.ort ? r2.cssClasses.pipsHorizontal : r2.cssClasses.pipsVertical), Object.keys(t4).forEach(function(e3) {
7052
- f4(e3, t4[e3][0], t4[e3][1]);
7086
+ return h2(s3, r2.cssClasses.pips), h2(s3, 0 === r2.ort ? r2.cssClasses.pipsHorizontal : r2.cssClasses.pipsVertical), Object.keys(t4).forEach(function(e4) {
7087
+ f4(e4, t4[e4][0], t4[e4][1]);
7053
7088
  }), s3;
7054
7089
  }
7055
7090
  function Z2() {
7056
7091
  w2 && (i(w2), w2 = null);
7057
7092
  }
7058
- function ee2(e3) {
7093
+ function ee2(e4) {
7059
7094
  Z2();
7060
- var t4 = K2(e3), r3 = e3.filter, i2 = e3.format || { to: function(e4) {
7061
- return String(Math.round(e4));
7095
+ var t4 = K2(e4), r3 = e4.filter, i2 = e4.format || { to: function(e5) {
7096
+ return String(Math.round(e5));
7062
7097
  } };
7063
7098
  return w2 = C2.appendChild(Q2(t4, r3, i2));
7064
7099
  }
7065
7100
  function te2() {
7066
- var e3 = u3.getBoundingClientRect(), t4 = "offset" + ["Width", "Height"][r2.ort];
7067
- return 0 === r2.ort ? e3.width || u3[t4] : e3.height || u3[t4];
7101
+ var e4 = u3.getBoundingClientRect(), t4 = "offset" + ["Width", "Height"][r2.ort];
7102
+ return 0 === r2.ort ? e4.width || u3[t4] : e4.height || u3[t4];
7068
7103
  }
7069
- function re2(e3, t4, i2, n2) {
7104
+ function re2(e4, t4, i2, n2) {
7070
7105
  var o2 = function(o3) {
7071
7106
  var a3 = ie2(o3, n2.pageOffset, n2.target || t4);
7072
- return !!a3 && !($2() && !n2.doNotReject) && !(v(C2, r2.cssClasses.tap) && !n2.doNotReject) && !(e3 === P2.start && void 0 !== a3.buttons && a3.buttons > 1) && (!n2.hover || !a3.buttons) && (N2 || a3.preventDefault(), a3.calcPoint = a3.points[r2.ort], void i2(a3, n2));
7107
+ return !!a3 && !($2() && !n2.doNotReject) && !(v(C2, r2.cssClasses.tap) && !n2.doNotReject) && !(e4 === P2.start && void 0 !== a3.buttons && a3.buttons > 1) && (!n2.hover || !a3.buttons) && (N2 || a3.preventDefault(), a3.calcPoint = a3.points[r2.ort], void i2(a3, n2));
7073
7108
  }, a2 = [];
7074
- return e3.split(" ").forEach(function(e4) {
7075
- t4.addEventListener(e4, o2, !!N2 && { passive: true }), a2.push([e4, o2]);
7109
+ return e4.split(" ").forEach(function(e5) {
7110
+ t4.addEventListener(e5, o2, !!N2 && { passive: true }), a2.push([e5, o2]);
7076
7111
  }), a2;
7077
7112
  }
7078
- function ie2(e3, t4, r3) {
7079
- var i2 = 0 === e3.type.indexOf("touch"), n2 = 0 === e3.type.indexOf("mouse"), o2 = 0 === e3.type.indexOf("pointer"), a2 = 0, s3 = 0;
7080
- if (0 === e3.type.indexOf("MSPointer") && (o2 = true), "mousedown" === e3.type && !e3.buttons && !e3.touches)
7113
+ function ie2(e4, t4, r3) {
7114
+ var i2 = 0 === e4.type.indexOf("touch"), n2 = 0 === e4.type.indexOf("mouse"), o2 = 0 === e4.type.indexOf("pointer"), a2 = 0, s3 = 0;
7115
+ if (0 === e4.type.indexOf("MSPointer") && (o2 = true), "mousedown" === e4.type && !e4.buttons && !e4.touches)
7081
7116
  return false;
7082
7117
  if (i2) {
7083
7118
  var l2 = function(t5) {
7084
7119
  var i3 = t5.target;
7085
- return i3 === r3 || r3.contains(i3) || e3.composed && e3.composedPath().shift() === r3;
7120
+ return i3 === r3 || r3.contains(i3) || e4.composed && e4.composedPath().shift() === r3;
7086
7121
  };
7087
- if ("touchstart" === e3.type) {
7088
- var u4 = Array.prototype.filter.call(e3.touches, l2);
7122
+ if ("touchstart" === e4.type) {
7123
+ var u4 = Array.prototype.filter.call(e4.touches, l2);
7089
7124
  if (u4.length > 1)
7090
7125
  return false;
7091
7126
  a2 = u4[0].pageX, s3 = u4[0].pageY;
7092
7127
  } else {
7093
- var c3 = Array.prototype.find.call(e3.changedTouches, l2);
7128
+ var c3 = Array.prototype.find.call(e4.changedTouches, l2);
7094
7129
  if (!c3)
7095
7130
  return false;
7096
7131
  a2 = c3.pageX, s3 = c3.pageY;
7097
7132
  }
7098
7133
  }
7099
- return t4 = t4 || g(O2), (n2 || o2) && (a2 = e3.clientX + t4.x, s3 = e3.clientY + t4.y), e3.pageOffset = t4, e3.points = [a2, s3], e3.cursor = n2 || o2, e3;
7134
+ return t4 = t4 || g(O2), (n2 || o2) && (a2 = e4.clientX + t4.x, s3 = e4.clientY + t4.y), e4.pageOffset = t4, e4.points = [a2, s3], e4.cursor = n2 || o2, e4;
7100
7135
  }
7101
- function ne2(e3) {
7102
- var t4 = 100 * (e3 - l(u3, r2.ort)) / te2();
7136
+ function ne2(e4) {
7137
+ var t4 = 100 * (e4 - l(u3, r2.ort)) / te2();
7103
7138
  return t4 = p2(t4), r2.dir ? 100 - t4 : t4;
7104
7139
  }
7105
- function ae2(e3) {
7140
+ function ae2(e4) {
7106
7141
  var t4 = 100, r3 = false;
7107
7142
  return f3.forEach(function(i2, n2) {
7108
7143
  if (!X2(n2)) {
7109
- var o2 = A2[n2], a2 = Math.abs(o2 - e3);
7110
- (a2 < t4 || a2 <= t4 && e3 > o2 || 100 === a2 && 100 === t4) && (r3 = n2, t4 = a2);
7144
+ var o2 = A2[n2], a2 = Math.abs(o2 - e4);
7145
+ (a2 < t4 || a2 <= t4 && e4 > o2 || 100 === a2 && 100 === t4) && (r3 = n2, t4 = a2);
7111
7146
  }
7112
7147
  }), r3;
7113
7148
  }
7114
- function se2(e3, t4) {
7115
- "mouseout" === e3.type && "HTML" === e3.target.nodeName && null === e3.relatedTarget && ue(e3, t4);
7149
+ function se2(e4, t4) {
7150
+ "mouseout" === e4.type && "HTML" === e4.target.nodeName && null === e4.relatedTarget && ue(e4, t4);
7116
7151
  }
7117
- function le2(e3, t4) {
7118
- if (-1 === navigator.appVersion.indexOf("MSIE 9") && 0 === e3.buttons && 0 !== t4.buttonsProperty)
7119
- return ue(e3, t4);
7120
- var i2 = (r2.dir ? -1 : 1) * (e3.calcPoint - t4.startCalcPoint);
7152
+ function le2(e4, t4) {
7153
+ if (-1 === navigator.appVersion.indexOf("MSIE 9") && 0 === e4.buttons && 0 !== t4.buttonsProperty)
7154
+ return ue(e4, t4);
7155
+ var i2 = (r2.dir ? -1 : 1) * (e4.calcPoint - t4.startCalcPoint);
7121
7156
  xe(i2 > 0, 100 * i2 / t4.baseSize, t4.locations, t4.handleNumbers, t4.connect);
7122
7157
  }
7123
- function ue(e3, t4) {
7124
- t4.handle && (m2(t4.handle, r2.cssClasses.active), L2 -= 1), t4.listeners.forEach(function(e4) {
7125
- j2.removeEventListener(e4[0], e4[1]);
7126
- }), 0 === L2 && (m2(C2, r2.cssClasses.drag), Pe(), e3.cursor && (F2.style.cursor = "", F2.removeEventListener("selectstart", o))), r2.events.smoothSteps && (t4.handleNumbers.forEach(function(e4) {
7127
- Ne(e4, A2[e4], true, true, false, false);
7128
- }), t4.handleNumbers.forEach(function(e4) {
7129
- be("update", e4);
7130
- })), t4.handleNumbers.forEach(function(e4) {
7131
- be("change", e4), be("set", e4), be("end", e4);
7158
+ function ue(e4, t4) {
7159
+ t4.handle && (m2(t4.handle, r2.cssClasses.active), L2 -= 1), t4.listeners.forEach(function(e5) {
7160
+ j2.removeEventListener(e5[0], e5[1]);
7161
+ }), 0 === L2 && (m2(C2, r2.cssClasses.drag), Pe(), e4.cursor && (F2.style.cursor = "", F2.removeEventListener("selectstart", o))), r2.events.smoothSteps && (t4.handleNumbers.forEach(function(e5) {
7162
+ Ne(e5, A2[e5], true, true, false, false);
7163
+ }), t4.handleNumbers.forEach(function(e5) {
7164
+ be("update", e5);
7165
+ })), t4.handleNumbers.forEach(function(e5) {
7166
+ be("change", e5), be("set", e5), be("end", e5);
7132
7167
  });
7133
7168
  }
7134
- function ce(e3, t4) {
7169
+ function ce(e4, t4) {
7135
7170
  if (!t4.handleNumbers.some(X2)) {
7136
7171
  var i2;
7137
- 1 === t4.handleNumbers.length && (i2 = f3[t4.handleNumbers[0]].children[0], L2 += 1, h2(i2, r2.cssClasses.active)), e3.stopPropagation();
7138
- var n2 = [], a2 = re2(P2.move, j2, le2, { target: e3.target, handle: i2, connect: t4.connect, listeners: n2, startCalcPoint: e3.calcPoint, baseSize: te2(), pageOffset: e3.pageOffset, handleNumbers: t4.handleNumbers, buttonsProperty: e3.buttons, locations: A2.slice() }), s3 = re2(P2.end, j2, ue, { target: e3.target, handle: i2, listeners: n2, doNotReject: true, handleNumbers: t4.handleNumbers }), l2 = re2("mouseout", j2, se2, { target: e3.target, handle: i2, listeners: n2, doNotReject: true, handleNumbers: t4.handleNumbers });
7139
- n2.push.apply(n2, a2.concat(s3, l2)), e3.cursor && (F2.style.cursor = getComputedStyle(e3.target).cursor, f3.length > 1 && h2(C2, r2.cssClasses.drag), F2.addEventListener("selectstart", o, false)), t4.handleNumbers.forEach(function(e4) {
7140
- be("start", e4);
7172
+ 1 === t4.handleNumbers.length && (i2 = f3[t4.handleNumbers[0]].children[0], L2 += 1, h2(i2, r2.cssClasses.active)), e4.stopPropagation();
7173
+ var n2 = [], a2 = re2(P2.move, j2, le2, { target: e4.target, handle: i2, connect: t4.connect, listeners: n2, startCalcPoint: e4.calcPoint, baseSize: te2(), pageOffset: e4.pageOffset, handleNumbers: t4.handleNumbers, buttonsProperty: e4.buttons, locations: A2.slice() }), s3 = re2(P2.end, j2, ue, { target: e4.target, handle: i2, listeners: n2, doNotReject: true, handleNumbers: t4.handleNumbers }), l2 = re2("mouseout", j2, se2, { target: e4.target, handle: i2, listeners: n2, doNotReject: true, handleNumbers: t4.handleNumbers });
7174
+ n2.push.apply(n2, a2.concat(s3, l2)), e4.cursor && (F2.style.cursor = getComputedStyle(e4.target).cursor, f3.length > 1 && h2(C2, r2.cssClasses.drag), F2.addEventListener("selectstart", o, false)), t4.handleNumbers.forEach(function(e5) {
7175
+ be("start", e5);
7141
7176
  });
7142
7177
  }
7143
7178
  }
7144
- function pe(e3) {
7145
- e3.stopPropagation();
7146
- var t4 = ne2(e3.calcPoint), i2 = ae2(t4);
7147
- false !== i2 && (r2.events.snap || c2(C2, r2.cssClasses.tap, r2.animationDuration), Ne(i2, t4, true, true), Pe(), be("slide", i2, true), be("update", i2, true), r2.events.snap ? ce(e3, { handleNumbers: [i2] }) : (be("change", i2, true), be("set", i2, true)));
7179
+ function pe(e4) {
7180
+ e4.stopPropagation();
7181
+ var t4 = ne2(e4.calcPoint), i2 = ae2(t4);
7182
+ false !== i2 && (r2.events.snap || c2(C2, r2.cssClasses.tap, r2.animationDuration), Ne(i2, t4, true, true), Pe(), be("slide", i2, true), be("update", i2, true), r2.events.snap ? ce(e4, { handleNumbers: [i2] }) : (be("change", i2, true), be("set", i2, true)));
7148
7183
  }
7149
- function de(e3) {
7150
- var t4 = ne2(e3.calcPoint), r3 = k2.getStep(t4), i2 = k2.fromStepping(r3);
7151
- Object.keys(U2).forEach(function(e4) {
7152
- "hover" === e4.split(".")[0] && U2[e4].forEach(function(e5) {
7153
- e5.call(Te, i2);
7184
+ function de(e4) {
7185
+ var t4 = ne2(e4.calcPoint), r3 = k2.getStep(t4), i2 = k2.fromStepping(r3);
7186
+ Object.keys(U2).forEach(function(e5) {
7187
+ "hover" === e5.split(".")[0] && U2[e5].forEach(function(e6) {
7188
+ e6.call(Te, i2);
7154
7189
  });
7155
7190
  });
7156
7191
  }
7157
- function fe(e3, t4) {
7192
+ function fe(e4, t4) {
7158
7193
  if ($2() || X2(t4))
7159
7194
  return false;
7160
7195
  var i2 = ["Left", "Right"], n2 = ["Down", "Up"], o2 = ["PageDown", "PageUp"], a2 = ["Home", "End"];
7161
7196
  r2.dir && !r2.ort ? i2.reverse() : r2.ort && !r2.dir && (n2.reverse(), o2.reverse());
7162
- var s3, l2 = e3.key.replace("Arrow", ""), u4 = l2 === o2[0], c3 = l2 === o2[1], p3 = l2 === n2[0] || l2 === i2[0] || u4, d3 = l2 === n2[1] || l2 === i2[1] || c3, f4 = l2 === a2[0], h3 = l2 === a2[1];
7197
+ var s3, l2 = e4.key.replace("Arrow", ""), u4 = l2 === o2[0], c3 = l2 === o2[1], p3 = l2 === n2[0] || l2 === i2[0] || u4, d3 = l2 === n2[1] || l2 === i2[1] || c3, f4 = l2 === a2[0], h3 = l2 === a2[1];
7163
7198
  if (!(p3 || d3 || f4 || h3))
7164
7199
  return true;
7165
- if (e3.preventDefault(), d3 || p3) {
7200
+ if (e4.preventDefault(), d3 || p3) {
7166
7201
  var m3 = p3 ? 0 : 1, v2 = Oe(t4)[m3];
7167
7202
  if (null === v2)
7168
7203
  return false;
@@ -7171,133 +7206,133 @@ var f = c(p(function(e, t) {
7171
7206
  s3 = h3 ? r2.spectrum.xVal[r2.spectrum.xVal.length - 1] : r2.spectrum.xVal[0];
7172
7207
  return Ne(t4, k2.toStepping(s3), true, true), be("slide", t4), be("update", t4), be("change", t4), be("set", t4), false;
7173
7208
  }
7174
- function he(e3) {
7175
- e3.fixed || f3.forEach(function(e4, t4) {
7176
- re2(P2.start, e4.children[0], ce, { handleNumbers: [t4] });
7177
- }), e3.tap && re2(P2.start, u3, pe, {}), e3.hover && re2(P2.move, u3, de, { hover: true }), e3.drag && x2.forEach(function(t4, i2) {
7209
+ function he(e4) {
7210
+ e4.fixed || f3.forEach(function(e5, t4) {
7211
+ re2(P2.start, e5.children[0], ce, { handleNumbers: [t4] });
7212
+ }), e4.tap && re2(P2.start, u3, pe, {}), e4.hover && re2(P2.move, u3, de, { hover: true }), e4.drag && x2.forEach(function(t4, i2) {
7178
7213
  if (false !== t4 && 0 !== i2 && i2 !== x2.length - 1) {
7179
7214
  var n2 = f3[i2 - 1], o2 = f3[i2], a2 = [t4], s3 = [n2, o2], l2 = [i2 - 1, i2];
7180
- h2(t4, r2.cssClasses.draggable), e3.fixed && (a2.push(n2.children[0]), a2.push(o2.children[0])), e3.dragAll && (s3 = f3, l2 = M2), a2.forEach(function(e4) {
7181
- re2(P2.start, e4, ce, { handles: s3, handleNumbers: l2, connect: t4 });
7215
+ h2(t4, r2.cssClasses.draggable), e4.fixed && (a2.push(n2.children[0]), a2.push(o2.children[0])), e4.dragAll && (s3 = f3, l2 = M2), a2.forEach(function(e5) {
7216
+ re2(P2.start, e5, ce, { handles: s3, handleNumbers: l2, connect: t4 });
7182
7217
  });
7183
7218
  }
7184
7219
  });
7185
7220
  }
7186
- function me(e3, t4) {
7187
- U2[e3] = U2[e3] || [], U2[e3].push(t4), "update" === e3.split(".")[0] && f3.forEach(function(e4, t5) {
7221
+ function me(e4, t4) {
7222
+ U2[e4] = U2[e4] || [], U2[e4].push(t4), "update" === e4.split(".")[0] && f3.forEach(function(e5, t5) {
7188
7223
  be("update", t5);
7189
7224
  });
7190
7225
  }
7191
- function ve(e3) {
7192
- return e3 === D.aria || e3 === D.tooltips;
7226
+ function ve(e4) {
7227
+ return e4 === D.aria || e4 === D.tooltips;
7193
7228
  }
7194
- function ge(e3) {
7195
- var t4 = e3 && e3.split(".")[0], r3 = t4 ? e3.substring(t4.length) : e3;
7196
- Object.keys(U2).forEach(function(e4) {
7197
- var i2 = e4.split(".")[0], n2 = e4.substring(i2.length);
7198
- t4 && t4 !== i2 || r3 && r3 !== n2 || ve(n2) && r3 !== n2 || delete U2[e4];
7229
+ function ge(e4) {
7230
+ var t4 = e4 && e4.split(".")[0], r3 = t4 ? e4.substring(t4.length) : e4;
7231
+ Object.keys(U2).forEach(function(e5) {
7232
+ var i2 = e5.split(".")[0], n2 = e5.substring(i2.length);
7233
+ t4 && t4 !== i2 || r3 && r3 !== n2 || ve(n2) && r3 !== n2 || delete U2[e5];
7199
7234
  });
7200
7235
  }
7201
- function be(e3, t4, i2) {
7236
+ function be(e4, t4, i2) {
7202
7237
  Object.keys(U2).forEach(function(n2) {
7203
7238
  var o2 = n2.split(".")[0];
7204
- e3 === o2 && U2[n2].forEach(function(e4) {
7205
- e4.call(Te, V2.map(r2.format.to), t4, V2.slice(), i2 || false, A2.slice(), Te);
7239
+ e4 === o2 && U2[n2].forEach(function(e5) {
7240
+ e5.call(Te, V2.map(r2.format.to), t4, V2.slice(), i2 || false, A2.slice(), Te);
7206
7241
  });
7207
7242
  });
7208
7243
  }
7209
- function ye(e3, t4, i2, n2, o2, a2, s3) {
7244
+ function ye(e4, t4, i2, n2, o2, a2, s3) {
7210
7245
  var l2;
7211
- return f3.length > 1 && !r2.events.unconstrained && (n2 && t4 > 0 && (l2 = k2.getAbsoluteDistance(e3[t4 - 1], r2.margin, false), i2 = Math.max(i2, l2)), o2 && t4 < f3.length - 1 && (l2 = k2.getAbsoluteDistance(e3[t4 + 1], r2.margin, true), i2 = Math.min(i2, l2))), f3.length > 1 && r2.limit && (n2 && t4 > 0 && (l2 = k2.getAbsoluteDistance(e3[t4 - 1], r2.limit, false), i2 = Math.min(i2, l2)), o2 && t4 < f3.length - 1 && (l2 = k2.getAbsoluteDistance(e3[t4 + 1], r2.limit, true), i2 = Math.max(i2, l2))), r2.padding && (0 === t4 && (l2 = k2.getAbsoluteDistance(0, r2.padding[0], false), i2 = Math.max(i2, l2)), t4 === f3.length - 1 && (l2 = k2.getAbsoluteDistance(100, r2.padding[1], true), i2 = Math.min(i2, l2))), s3 || (i2 = k2.getStep(i2)), !((i2 = p2(i2)) === e3[t4] && !a2) && i2;
7246
+ return f3.length > 1 && !r2.events.unconstrained && (n2 && t4 > 0 && (l2 = k2.getAbsoluteDistance(e4[t4 - 1], r2.margin, false), i2 = Math.max(i2, l2)), o2 && t4 < f3.length - 1 && (l2 = k2.getAbsoluteDistance(e4[t4 + 1], r2.margin, true), i2 = Math.min(i2, l2))), f3.length > 1 && r2.limit && (n2 && t4 > 0 && (l2 = k2.getAbsoluteDistance(e4[t4 - 1], r2.limit, false), i2 = Math.min(i2, l2)), o2 && t4 < f3.length - 1 && (l2 = k2.getAbsoluteDistance(e4[t4 + 1], r2.limit, true), i2 = Math.max(i2, l2))), r2.padding && (0 === t4 && (l2 = k2.getAbsoluteDistance(0, r2.padding[0], false), i2 = Math.max(i2, l2)), t4 === f3.length - 1 && (l2 = k2.getAbsoluteDistance(100, r2.padding[1], true), i2 = Math.min(i2, l2))), s3 || (i2 = k2.getStep(i2)), !((i2 = p2(i2)) === e4[t4] && !a2) && i2;
7212
7247
  }
7213
- function Se(e3, t4) {
7248
+ function Se(e4, t4) {
7214
7249
  var i2 = r2.ort;
7215
- return (i2 ? t4 : e3) + ", " + (i2 ? e3 : t4);
7250
+ return (i2 ? t4 : e4) + ", " + (i2 ? e4 : t4);
7216
7251
  }
7217
- function xe(e3, t4, i2, n2, o2) {
7218
- var a2 = i2.slice(), s3 = n2[0], l2 = r2.events.smoothSteps, u4 = [!e3, e3], c3 = [e3, !e3];
7219
- n2 = n2.slice(), e3 && n2.reverse(), n2.length > 1 ? n2.forEach(function(e4, r3) {
7220
- var i3 = ye(a2, e4, a2[e4] + t4, u4[r3], c3[r3], false, l2);
7221
- false === i3 ? t4 = 0 : (t4 = i3 - a2[e4], a2[e4] = i3);
7252
+ function xe(e4, t4, i2, n2, o2) {
7253
+ var a2 = i2.slice(), s3 = n2[0], l2 = r2.events.smoothSteps, u4 = [!e4, e4], c3 = [e4, !e4];
7254
+ n2 = n2.slice(), e4 && n2.reverse(), n2.length > 1 ? n2.forEach(function(e5, r3) {
7255
+ var i3 = ye(a2, e5, a2[e5] + t4, u4[r3], c3[r3], false, l2);
7256
+ false === i3 ? t4 = 0 : (t4 = i3 - a2[e5], a2[e5] = i3);
7222
7257
  }) : u4 = c3 = [true];
7223
7258
  var p3 = false;
7224
- n2.forEach(function(e4, r3) {
7225
- p3 = Ne(e4, i2[e4] + t4, u4[r3], c3[r3], false, l2) || p3;
7226
- }), p3 && (n2.forEach(function(e4) {
7227
- be("update", e4), be("slide", e4);
7259
+ n2.forEach(function(e5, r3) {
7260
+ p3 = Ne(e5, i2[e5] + t4, u4[r3], c3[r3], false, l2) || p3;
7261
+ }), p3 && (n2.forEach(function(e5) {
7262
+ be("update", e5), be("slide", e5);
7228
7263
  }), null != o2 && be("drag", s3));
7229
7264
  }
7230
- function we(e3, t4) {
7231
- return r2.dir ? 100 - e3 - t4 : e3;
7265
+ function we(e4, t4) {
7266
+ return r2.dir ? 100 - e4 - t4 : e4;
7232
7267
  }
7233
- function Ee(e3, t4) {
7234
- A2[e3] = t4, V2[e3] = k2.fromStepping(t4);
7268
+ function Ee(e4, t4) {
7269
+ A2[e4] = t4, V2[e4] = k2.fromStepping(t4);
7235
7270
  var i2 = "translate(" + Se(we(t4, 0) - T2 + "%", "0") + ")";
7236
- f3[e3].style[r2.transformRule] = i2, Ce(e3), Ce(e3 + 1);
7271
+ f3[e4].style[r2.transformRule] = i2, Ce(e4), Ce(e4 + 1);
7237
7272
  }
7238
7273
  function Pe() {
7239
- M2.forEach(function(e3) {
7240
- var t4 = A2[e3] > 50 ? -1 : 1, r3 = 3 + (f3.length + t4 * e3);
7241
- f3[e3].style.zIndex = String(r3);
7274
+ M2.forEach(function(e4) {
7275
+ var t4 = A2[e4] > 50 ? -1 : 1, r3 = 3 + (f3.length + t4 * e4);
7276
+ f3[e4].style.zIndex = String(r3);
7242
7277
  });
7243
7278
  }
7244
- function Ne(e3, t4, r3, i2, n2, o2) {
7245
- return n2 || (t4 = ye(A2, e3, t4, r3, i2, false, o2)), false !== t4 && (Ee(e3, t4), true);
7279
+ function Ne(e4, t4, r3, i2, n2, o2) {
7280
+ return n2 || (t4 = ye(A2, e4, t4, r3, i2, false, o2)), false !== t4 && (Ee(e4, t4), true);
7246
7281
  }
7247
- function Ce(e3) {
7248
- if (x2[e3]) {
7282
+ function Ce(e4) {
7283
+ if (x2[e4]) {
7249
7284
  var t4 = 0, i2 = 100;
7250
- 0 !== e3 && (t4 = A2[e3 - 1]), e3 !== x2.length - 1 && (i2 = A2[e3]);
7285
+ 0 !== e4 && (t4 = A2[e4 - 1]), e4 !== x2.length - 1 && (i2 = A2[e4]);
7251
7286
  var n2 = i2 - t4, o2 = "translate(" + Se(we(t4, n2) + "%", "0") + ")", a2 = "scale(" + Se(n2 / 100, "1") + ")";
7252
- x2[e3].style[r2.transformRule] = o2 + " " + a2;
7287
+ x2[e4].style[r2.transformRule] = o2 + " " + a2;
7253
7288
  }
7254
7289
  }
7255
- function ke(e3, t4) {
7256
- return null === e3 || false === e3 || void 0 === e3 ? A2[t4] : ("number" == typeof e3 && (e3 = String(e3)), false !== (e3 = r2.format.from(e3)) && (e3 = k2.toStepping(e3)), false === e3 || isNaN(e3) ? A2[t4] : e3);
7290
+ function ke(e4, t4) {
7291
+ return null === e4 || false === e4 || void 0 === e4 ? A2[t4] : ("number" == typeof e4 && (e4 = String(e4)), false !== (e4 = r2.format.from(e4)) && (e4 = k2.toStepping(e4)), false === e4 || isNaN(e4) ? A2[t4] : e4);
7257
7292
  }
7258
- function Ve(e3, t4, i2) {
7259
- var n2 = d2(e3), o2 = void 0 === A2[0];
7260
- t4 = void 0 === t4 || t4, r2.animate && !o2 && c2(C2, r2.cssClasses.tap, r2.animationDuration), M2.forEach(function(e4) {
7261
- Ne(e4, ke(n2[e4], e4), true, false, i2);
7293
+ function Ve(e4, t4, i2) {
7294
+ var n2 = d2(e4), o2 = void 0 === A2[0];
7295
+ t4 = void 0 === t4 || t4, r2.animate && !o2 && c2(C2, r2.cssClasses.tap, r2.animationDuration), M2.forEach(function(e5) {
7296
+ Ne(e5, ke(n2[e5], e5), true, false, i2);
7262
7297
  });
7263
7298
  var a2 = 1 === M2.length ? 0 : 1;
7264
7299
  if (o2 && k2.hasNoSize() && (i2 = true, A2[0] = 0, M2.length > 1)) {
7265
7300
  var s3 = 100 / (M2.length - 1);
7266
- M2.forEach(function(e4) {
7267
- A2[e4] = e4 * s3;
7301
+ M2.forEach(function(e5) {
7302
+ A2[e5] = e5 * s3;
7268
7303
  });
7269
7304
  }
7270
7305
  for (; a2 < M2.length; ++a2)
7271
- M2.forEach(function(e4) {
7272
- Ne(e4, A2[e4], true, true, i2);
7306
+ M2.forEach(function(e5) {
7307
+ Ne(e5, A2[e5], true, true, i2);
7273
7308
  });
7274
- Pe(), M2.forEach(function(e4) {
7275
- be("update", e4), null !== n2[e4] && t4 && be("set", e4);
7309
+ Pe(), M2.forEach(function(e5) {
7310
+ be("update", e5), null !== n2[e5] && t4 && be("set", e5);
7276
7311
  });
7277
7312
  }
7278
- function Ae(e3) {
7279
- Ve(r2.start, e3);
7313
+ function Ae(e4) {
7314
+ Ve(r2.start, e4);
7280
7315
  }
7281
- function Me(e3, t4, r3, i2) {
7282
- if (!((e3 = Number(e3)) >= 0 && e3 < M2.length))
7283
- throw new Error("noUiSlider: invalid handle number, got: " + e3);
7284
- Ne(e3, ke(t4, e3), true, true, i2), be("update", e3), r3 && be("set", e3);
7316
+ function Me(e4, t4, r3, i2) {
7317
+ if (!((e4 = Number(e4)) >= 0 && e4 < M2.length))
7318
+ throw new Error("noUiSlider: invalid handle number, got: " + e4);
7319
+ Ne(e4, ke(t4, e4), true, true, i2), be("update", e4), r3 && be("set", e4);
7285
7320
  }
7286
- function Le(e3) {
7287
- if (void 0 === e3 && (e3 = false), e3)
7321
+ function Le(e4) {
7322
+ if (void 0 === e4 && (e4 = false), e4)
7288
7323
  return 1 === V2.length ? V2[0] : V2.slice(0);
7289
7324
  var t4 = V2.map(r2.format.to);
7290
7325
  return 1 === t4.length ? t4[0] : t4;
7291
7326
  }
7292
7327
  function Ue() {
7293
- for (ge(D.aria), ge(D.tooltips), Object.keys(r2.cssClasses).forEach(function(e3) {
7294
- m2(C2, r2.cssClasses[e3]);
7328
+ for (ge(D.aria), ge(D.tooltips), Object.keys(r2.cssClasses).forEach(function(e4) {
7329
+ m2(C2, r2.cssClasses[e4]);
7295
7330
  }); C2.firstChild; )
7296
7331
  C2.removeChild(C2.firstChild);
7297
7332
  delete C2.noUiSlider;
7298
7333
  }
7299
- function Oe(e3) {
7300
- var t4 = A2[e3], i2 = k2.getNearbySteps(t4), n2 = V2[e3], o2 = i2.thisStep.step, a2 = null;
7334
+ function Oe(e4) {
7335
+ var t4 = A2[e4], i2 = k2.getNearbySteps(t4), n2 = V2[e4], o2 = i2.thisStep.step, a2 = null;
7301
7336
  if (r2.snap)
7302
7337
  return [n2 - i2.stepBefore.startValue || null, i2.stepAfter.startValue - n2 || null];
7303
7338
  false !== o2 && n2 + o2 > i2.stepAfter.startValue && (o2 = i2.stepAfter.startValue - n2), a2 = n2 > i2.thisStep.startValue ? i2.thisStep.step : false !== i2.stepBefore.step && n2 - i2.stepBefore.highestStep, 100 === t4 ? o2 = null : 0 === t4 && (a2 = null);
@@ -7307,22 +7342,22 @@ var f = c(p(function(e, t) {
7307
7342
  function De() {
7308
7343
  return M2.map(Oe);
7309
7344
  }
7310
- function je(e3, t4) {
7345
+ function je(e4, t4) {
7311
7346
  var i2 = Le(), o2 = ["margin", "limit", "padding", "range", "animate", "snap", "step", "format", "pips", "tooltips"];
7312
7347
  o2.forEach(function(t5) {
7313
- void 0 !== e3[t5] && (s2[t5] = e3[t5]);
7348
+ void 0 !== e4[t5] && (s2[t5] = e4[t5]);
7314
7349
  });
7315
7350
  var a2 = oe(s2);
7316
7351
  o2.forEach(function(t5) {
7317
- void 0 !== e3[t5] && (r2[t5] = a2[t5]);
7318
- }), k2 = a2.spectrum, r2.margin = a2.margin, r2.limit = a2.limit, r2.padding = a2.padding, r2.pips ? ee2(r2.pips) : Z2(), r2.tooltips ? I2() : Y2(), A2 = [], Ve(n(e3.start) ? e3.start : i2, t4);
7352
+ void 0 !== e4[t5] && (r2[t5] = a2[t5]);
7353
+ }), k2 = a2.spectrum, r2.margin = a2.margin, r2.limit = a2.limit, r2.padding = a2.padding, r2.pips ? ee2(r2.pips) : Z2(), r2.tooltips ? I2() : Y2(), A2 = [], Ve(n(e4.start) ? e4.start : i2, t4);
7319
7354
  }
7320
7355
  function Fe() {
7321
7356
  u3 = B2(C2), R2(r2.connect, u3), he(r2.events), Ve(r2.start), r2.pips && ee2(r2.pips), r2.tooltips && I2(), W2();
7322
7357
  }
7323
7358
  Fe();
7324
- var Te = { destroy: Ue, steps: De, on: me, off: ge, get: Le, set: Ve, setHandle: Me, reset: Ae, __moveHandles: function(e3, t4, r3) {
7325
- xe(e3, t4, A2, r3);
7359
+ var Te = { destroy: Ue, steps: De, on: me, off: ge, get: Le, set: Ve, setHandle: Me, reset: Ae, __moveHandles: function(e4, t4, r3) {
7360
+ xe(e4, t4, A2, r3);
7326
7361
  }, options: s2, updateOptions: je, target: C2, removePips: Z2, removeTooltips: Y2, getPositions: function() {
7327
7362
  return A2.slice();
7328
7363
  }, getTooltips: function() {
@@ -7332,30 +7367,30 @@ var f = c(p(function(e, t) {
7332
7367
  }, pips: ee2 };
7333
7368
  return Te;
7334
7369
  }
7335
- function se(e3, t3) {
7336
- if (!e3 || !e3.nodeName)
7337
- throw new Error("noUiSlider: create requires a single element, got: " + e3);
7338
- if (e3.noUiSlider)
7370
+ function se(e4, t3) {
7371
+ if (!e4 || !e4.nodeName)
7372
+ throw new Error("noUiSlider: create requires a single element, got: " + e4);
7373
+ if (e4.noUiSlider)
7339
7374
  throw new Error("noUiSlider: Slider was already initialized.");
7340
- var r2 = ae(e3, oe(t3), t3);
7341
- return e3.noUiSlider = r2, r2;
7375
+ var r2 = ae(e4, oe(t3), t3);
7376
+ return e4.noUiSlider = r2, r2;
7342
7377
  }
7343
7378
  var le = { __spectrum: L, cssClasses: O, create: se };
7344
- e2.create = se, e2.cssClasses = O, e2.default = le, Object.defineProperty(e2, "__esModule", { value: true });
7379
+ e3.create = se, e3.cssClasses = O, e3.default = le, Object.defineProperty(e3, "__esModule", { value: true });
7345
7380
  }(t);
7346
7381
  }));
7347
- function h(e, t) {
7348
- if (!Array.isArray(e) || !Array.isArray(t))
7382
+ function h(e2, t) {
7383
+ if (!Array.isArray(e2) || !Array.isArray(t))
7349
7384
  return false;
7350
7385
  const r = t.slice().sort();
7351
- return e.length === t.length && e.slice().sort().every(function(e2, t2) {
7352
- return e2 === r[t2];
7386
+ return e2.length === t.length && e2.slice().sort().every(function(e3, t2) {
7387
+ return e3 === r[t2];
7353
7388
  });
7354
7389
  }
7355
- var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide", "drag", "update", "change", "set", "end"], props: __spreadProps(__spreadValues({}, { value: { validator: function(e) {
7356
- return (e2) => "number" == typeof e2 || e2 instanceof Array || null == e2 || false === e2;
7357
- }, required: false }, modelValue: { validator: function(e) {
7358
- return (e2) => "number" == typeof e2 || e2 instanceof Array || null == e2 || false === e2;
7390
+ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide", "drag", "update", "change", "set", "end"], props: __spreadProps(__spreadValues({}, { value: { validator: function(e2) {
7391
+ return (e3) => "number" == typeof e3 || e3 instanceof Array || null == e3 || false === e3;
7392
+ }, required: false }, modelValue: { validator: function(e2) {
7393
+ return (e3) => "number" == typeof e3 || e3 instanceof Array || null == e3 || false === e3;
7359
7394
  }, required: false } }), { id: { type: [String, Number], required: false }, disabled: { type: Boolean, required: false, default: false }, min: { type: Number, required: false, default: 0 }, max: { type: Number, required: false, default: 100 }, step: { type: Number, required: false, default: 1 }, orientation: { type: String, required: false, default: "horizontal" }, direction: { type: String, required: false, default: "ltr" }, tooltips: { type: Boolean, required: false, default: true }, options: { type: Object, required: false, default: () => ({}) }, merge: { type: Number, required: false, default: -1 }, format: { type: [Object, Function, Boolean], required: false, default: null }, classes: { type: Object, required: false, default: () => ({}) }, showTooltip: { type: String, required: false, default: "always" }, tooltipPosition: { type: String, required: false, default: null }, lazy: { type: Boolean, required: false, default: true }, ariaLabelledby: { type: String, required: false, default: void 0 }, aria: { required: false, type: Object, default: () => ({}) } }), setup(a, s) {
7360
7395
  const l = function(r, i, n) {
7361
7396
  const { value: o, modelValue: a2, min: s2 } = toRefs(r);
@@ -7367,37 +7402,37 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
7367
7402
  }(a), c2 = function(t, i, n) {
7368
7403
  const { classes: o, showTooltip: a2, tooltipPosition: s2, orientation: l2 } = toRefs(t), u2 = computed(() => __spreadValues({ target: "slider-target", focused: "slider-focused", tooltipFocus: "slider-tooltip-focus", tooltipDrag: "slider-tooltip-drag", ltr: "slider-ltr", rtl: "slider-rtl", horizontal: "slider-horizontal", vertical: "slider-vertical", textDirectionRtl: "slider-txt-dir-rtl", textDirectionLtr: "slider-txt-dir-ltr", base: "slider-base", connects: "slider-connects", connect: "slider-connect", origin: "slider-origin", handle: "slider-handle", handleLower: "slider-handle-lower", handleUpper: "slider-handle-upper", touchArea: "slider-touch-area", tooltip: "slider-tooltip", tooltipTop: "slider-tooltip-top", tooltipBottom: "slider-tooltip-bottom", tooltipLeft: "slider-tooltip-left", tooltipRight: "slider-tooltip-right", tooltipHidden: "slider-tooltip-hidden", active: "slider-active", draggable: "slider-draggable", tap: "slider-state-tap", drag: "slider-state-drag", pips: "slider-pips", pipsHorizontal: "slider-pips-horizontal", pipsVertical: "slider-pips-vertical", marker: "slider-marker", markerHorizontal: "slider-marker-horizontal", markerVertical: "slider-marker-vertical", markerNormal: "slider-marker-normal", markerLarge: "slider-marker-large", markerSub: "slider-marker-sub", value: "slider-value", valueHorizontal: "slider-value-horizontal", valueVertical: "slider-value-vertical", valueNormal: "slider-value-normal", valueLarge: "slider-value-large", valueSub: "slider-value-sub" }, o.value));
7369
7404
  return { classList: computed(() => {
7370
- const e = __spreadValues({}, u2.value);
7371
- return Object.keys(e).forEach((t2) => {
7372
- e[t2] = Array.isArray(e[t2]) ? e[t2].filter((e2) => null !== e2).join(" ") : e[t2];
7373
- }), "always" !== a2.value && (e.target += ` ${"drag" === a2.value ? e.tooltipDrag : e.tooltipFocus}`), "horizontal" === l2.value && (e.tooltip += "bottom" === s2.value ? ` ${e.tooltipBottom}` : ` ${e.tooltipTop}`), "vertical" === l2.value && (e.tooltip += "right" === s2.value ? ` ${e.tooltipRight}` : ` ${e.tooltipLeft}`), e;
7405
+ const e2 = __spreadValues({}, u2.value);
7406
+ return Object.keys(e2).forEach((t2) => {
7407
+ e2[t2] = Array.isArray(e2[t2]) ? e2[t2].filter((e3) => null !== e3).join(" ") : e2[t2];
7408
+ }), "always" !== a2.value && (e2.target += ` ${"drag" === a2.value ? e2.tooltipDrag : e2.tooltipFocus}`), "horizontal" === l2.value && (e2.tooltip += "bottom" === s2.value ? ` ${e2.tooltipBottom}` : ` ${e2.tooltipTop}`), "vertical" === l2.value && (e2.tooltip += "right" === s2.value ? ` ${e2.tooltipRight}` : ` ${e2.tooltipLeft}`), e2;
7374
7409
  }) };
7375
7410
  }(a), p2 = function(t, i, n) {
7376
- const { format: o, step: a2 } = toRefs(t), s2 = n.value, l2 = n.classList, u2 = computed(() => o && o.value ? "function" == typeof o.value ? { to: o.value } : d(__spreadValues({}, o.value)) : d({ decimals: a2.value >= 0 ? 0 : 2 })), c3 = computed(() => Array.isArray(s2.value) ? s2.value.map((e) => u2.value) : u2.value);
7377
- return { tooltipFormat: u2, tooltipsFormat: c3, tooltipsMerge: (e, t2, r) => {
7378
- var i2 = "rtl" === getComputedStyle(e).direction, n2 = "rtl" === e.noUiSlider.options.direction, o2 = "vertical" === e.noUiSlider.options.orientation, a3 = e.noUiSlider.getTooltips(), s3 = e.noUiSlider.getOrigins();
7379
- a3.forEach(function(e2, t3) {
7380
- e2 && s3[t3].appendChild(e2);
7381
- }), e.noUiSlider.on("update", function(e2, s4, c4, p3, d2) {
7411
+ const { format: o, step: a2 } = toRefs(t), s2 = n.value, l2 = n.classList, u2 = computed(() => o && o.value ? "function" == typeof o.value ? { to: o.value } : d(__spreadValues({}, o.value)) : d({ decimals: a2.value >= 0 ? 0 : 2 })), c3 = computed(() => Array.isArray(s2.value) ? s2.value.map((e2) => u2.value) : u2.value);
7412
+ return { tooltipFormat: u2, tooltipsFormat: c3, tooltipsMerge: (e2, t2, r) => {
7413
+ var i2 = "rtl" === getComputedStyle(e2).direction, n2 = "rtl" === e2.noUiSlider.options.direction, o2 = "vertical" === e2.noUiSlider.options.orientation, a3 = e2.noUiSlider.getTooltips(), s3 = e2.noUiSlider.getOrigins();
7414
+ a3.forEach(function(e3, t3) {
7415
+ e3 && s3[t3].appendChild(e3);
7416
+ }), e2.noUiSlider.on("update", function(e3, s4, c4, p3, d2) {
7382
7417
  var f2 = [[]], h2 = [[]], m3 = [[]], v = 0;
7383
- a3[0] && (f2[0][0] = 0, h2[0][0] = d2[0], m3[0][0] = u2.value.to(parseFloat(e2[0])));
7384
- for (var g = 1; g < e2.length; g++)
7385
- (!a3[g] || e2[g] - e2[g - 1] > t2) && (f2[++v] = [], m3[v] = [], h2[v] = []), a3[g] && (f2[v].push(g), m3[v].push(u2.value.to(parseFloat(e2[g]))), h2[v].push(d2[g]));
7386
- f2.forEach(function(e3, t3) {
7387
- for (var s5 = e3.length, u3 = 0; u3 < s5; u3++) {
7388
- var c5 = e3[u3];
7418
+ a3[0] && (f2[0][0] = 0, h2[0][0] = d2[0], m3[0][0] = u2.value.to(parseFloat(e3[0])));
7419
+ for (var g = 1; g < e3.length; g++)
7420
+ (!a3[g] || e3[g] - e3[g - 1] > t2) && (f2[++v] = [], m3[v] = [], h2[v] = []), a3[g] && (f2[v].push(g), m3[v].push(u2.value.to(parseFloat(e3[g]))), h2[v].push(d2[g]));
7421
+ f2.forEach(function(e4, t3) {
7422
+ for (var s5 = e4.length, u3 = 0; u3 < s5; u3++) {
7423
+ var c5 = e4[u3];
7389
7424
  if (u3 === s5 - 1) {
7390
7425
  var p4 = 0;
7391
- h2[t3].forEach(function(e4) {
7392
- p4 += 1e3 - e4;
7426
+ h2[t3].forEach(function(e5) {
7427
+ p4 += 1e3 - e5;
7393
7428
  });
7394
7429
  var d3 = o2 ? "bottom" : "right", f3 = n2 ? 0 : s5 - 1, v2 = 1e3 - h2[t3][f3];
7395
- p4 = (i2 && !o2 ? 100 : 0) + p4 / s5 - v2, a3[c5].innerHTML = m3[t3].join(r), a3[c5].style.display = "block", a3[c5].style[d3] = p4 + "%", l2.value.tooltipHidden.split(" ").forEach((e4) => {
7396
- a3[c5].classList.contains(e4) && a3[c5].classList.remove(e4);
7430
+ p4 = (i2 && !o2 ? 100 : 0) + p4 / s5 - v2, a3[c5].innerHTML = m3[t3].join(r), a3[c5].style.display = "block", a3[c5].style[d3] = p4 + "%", l2.value.tooltipHidden.split(" ").forEach((e5) => {
7431
+ a3[c5].classList.contains(e5) && a3[c5].classList.remove(e5);
7397
7432
  });
7398
7433
  } else
7399
- a3[c5].style.display = "none", l2.value.tooltipHidden.split(" ").forEach((e4) => {
7400
- a3[c5].classList.add(e4);
7434
+ a3[c5].style.display = "none", l2.value.tooltipHidden.split(" ").forEach((e5) => {
7435
+ a3[c5].classList.add(e5);
7401
7436
  });
7402
7437
  }
7403
7438
  });
@@ -7405,32 +7440,32 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
7405
7440
  } };
7406
7441
  }(a, 0, { value: l.value, classList: c2.classList }), m2 = function(a2, s2, l2) {
7407
7442
  const { orientation: c3, direction: p3, tooltips: d2, step: m3, min: v, max: g, merge: b, id: y, disabled: S, options: x, classes: w, format: E, lazy: P, ariaLabelledby: N, aria: C } = toRefs(a2), k = l2.value, V = l2.initialValue, A = l2.tooltipsFormat, M = l2.tooltipsMerge, L = l2.tooltipFormat, U = l2.classList, O = ref(null), D = ref(null), j = ref(false), F = computed(() => {
7408
- let e = { cssPrefix: "", cssClasses: U.value, orientation: c3.value, direction: p3.value, tooltips: !!d2.value && A.value, connect: "lower", start: u(k.value) ? v.value : k.value, range: { min: v.value, max: g.value } };
7409
- if (m3.value > 0 && (e.step = m3.value), Array.isArray(k.value) && (e.connect = true), N && N.value || C && Object.keys(C.value).length) {
7443
+ let e2 = { cssPrefix: "", cssClasses: U.value, orientation: c3.value, direction: p3.value, tooltips: !!d2.value && A.value, connect: "lower", start: u(k.value) ? v.value : k.value, range: { min: v.value, max: g.value } };
7444
+ if (m3.value > 0 && (e2.step = m3.value), Array.isArray(k.value) && (e2.connect = true), N && N.value || C && Object.keys(C.value).length) {
7410
7445
  let t = Array.isArray(k.value) ? k.value : [k.value];
7411
- e.handleAttributes = t.map((e2) => Object.assign({}, C.value, N && N.value ? { "aria-labelledby": N.value } : {}));
7446
+ e2.handleAttributes = t.map((e3) => Object.assign({}, C.value, N && N.value ? { "aria-labelledby": N.value } : {}));
7412
7447
  }
7413
- return E.value && (e.ariaFormat = L.value), e;
7448
+ return E.value && (e2.ariaFormat = L.value), e2;
7414
7449
  }), T = computed(() => {
7415
- let e = { id: y && y.value ? y.value : void 0 };
7416
- return S.value && (e.disabled = true), e;
7450
+ let e2 = { id: y && y.value ? y.value : void 0 };
7451
+ return S.value && (e2.disabled = true), e2;
7417
7452
  }), z = computed(() => Array.isArray(k.value)), H = () => {
7418
- let e = D.value.get();
7419
- return Array.isArray(e) ? e.map((e2) => parseFloat(e2)) : parseFloat(e);
7420
- }, q = function(e) {
7453
+ let e2 = D.value.get();
7454
+ return Array.isArray(e2) ? e2.map((e3) => parseFloat(e3)) : parseFloat(e2);
7455
+ }, q = function(e2) {
7421
7456
  let t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
7422
- D.value.set(e, t);
7423
- }, R = (e) => {
7424
- s2.emit("input", e), s2.emit("update:modelValue", e), s2.emit("update", e);
7457
+ D.value.set(e2, t);
7458
+ }, R = (e2) => {
7459
+ s2.emit("input", e2), s2.emit("update:modelValue", e2), s2.emit("update", e2);
7425
7460
  }, B = () => {
7426
7461
  D.value = f.create(O.value, Object.assign({}, F.value, x.value)), d2.value && z.value && b.value >= 0 && M(O.value, b.value, " - "), D.value.on("set", () => {
7427
- const e = H();
7428
- s2.emit("change", e), s2.emit("set", e), P.value && R(e);
7462
+ const e2 = H();
7463
+ s2.emit("change", e2), s2.emit("set", e2), P.value && R(e2);
7429
7464
  }), D.value.on("update", () => {
7430
7465
  if (!j.value)
7431
7466
  return;
7432
- const e = H();
7433
- z.value && h(k.value, e) || !z.value && k.value == e ? s2.emit("update", e) : P.value || R(e);
7467
+ const e2 = H();
7468
+ z.value && h(k.value, e2) || !z.value && k.value == e2 ? s2.emit("update", e2) : P.value || R(e2);
7434
7469
  }), D.value.on("start", () => {
7435
7470
  s2.emit("start", H());
7436
7471
  }), D.value.on("end", () => {
@@ -7439,48 +7474,48 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
7439
7474
  s2.emit("slide", H());
7440
7475
  }), D.value.on("drag", () => {
7441
7476
  s2.emit("drag", H());
7442
- }), O.value.querySelectorAll("[data-handle]").forEach((e) => {
7443
- e.onblur = () => {
7444
- O.value && U.value.focused.split(" ").forEach((e2) => {
7445
- O.value.classList.remove(e2);
7477
+ }), O.value.querySelectorAll("[data-handle]").forEach((e2) => {
7478
+ e2.onblur = () => {
7479
+ O.value && U.value.focused.split(" ").forEach((e3) => {
7480
+ O.value.classList.remove(e3);
7446
7481
  });
7447
- }, e.onfocus = () => {
7448
- U.value.focused.split(" ").forEach((e2) => {
7449
- O.value.classList.add(e2);
7482
+ }, e2.onfocus = () => {
7483
+ U.value.focused.split(" ").forEach((e3) => {
7484
+ O.value.classList.add(e3);
7450
7485
  });
7451
7486
  };
7452
7487
  }), j.value = true;
7453
7488
  }, _ = () => {
7454
7489
  D.value.off(), D.value.destroy(), D.value = null;
7455
- }, $ = (e, t) => {
7490
+ }, $ = (e2, t) => {
7456
7491
  j.value = false, _(), B();
7457
7492
  };
7458
- return onMounted(B), onUnmounted(_), watch(z, $, { immediate: false }), watch(v, $, { immediate: false }), watch(g, $, { immediate: false }), watch(m3, $, { immediate: false }), watch(c3, $, { immediate: false }), watch(p3, $, { immediate: false }), watch(d2, $, { immediate: false }), watch(b, $, { immediate: false }), watch(E, $, { immediate: false, deep: true }), watch(x, $, { immediate: false, deep: true }), watch(w, $, { immediate: false, deep: true }), watch(k, (e, t) => {
7459
- t && ("object" == typeof t && "object" == typeof e && e && Object.keys(t) > Object.keys(e) || "object" == typeof t && "object" != typeof e || u(e)) && $();
7460
- }, { immediate: false }), watch(k, (e) => {
7461
- if (u(e))
7493
+ return onMounted(B), onUnmounted(_), watch(z, $, { immediate: false }), watch(v, $, { immediate: false }), watch(g, $, { immediate: false }), watch(m3, $, { immediate: false }), watch(c3, $, { immediate: false }), watch(p3, $, { immediate: false }), watch(d2, $, { immediate: false }), watch(b, $, { immediate: false }), watch(E, $, { immediate: false, deep: true }), watch(x, $, { immediate: false, deep: true }), watch(w, $, { immediate: false, deep: true }), watch(k, (e2, t) => {
7494
+ t && ("object" == typeof t && "object" == typeof e2 && e2 && Object.keys(t) > Object.keys(e2) || "object" == typeof t && "object" != typeof e2 || u(e2)) && $();
7495
+ }, { immediate: false }), watch(k, (e2) => {
7496
+ if (u(e2))
7462
7497
  return void q(v.value, false);
7463
7498
  let t = H();
7464
- z.value && !Array.isArray(t) && (t = [t]), (z.value && !h(e, t) || !z.value && e != t) && q(e, false);
7499
+ z.value && !Array.isArray(t) && (t = [t]), (z.value && !h(e2, t) || !z.value && e2 != t) && q(e2, false);
7465
7500
  }, { deep: true }), { slider: O, slider$: D, isRange: z, sliderProps: T, init: B, destroy: _, refresh: $, update: q, reset: () => {
7466
7501
  R(V.value);
7467
7502
  } };
7468
7503
  }(a, s, { value: l.value, initialValue: l.initialValue, tooltipFormat: p2.tooltipFormat, tooltipsFormat: p2.tooltipsFormat, tooltipsMerge: p2.tooltipsMerge, classList: c2.classList });
7469
7504
  return __spreadValues(__spreadValues(__spreadValues({}, c2), p2), m2);
7470
7505
  } };
7471
- m.render = function(e, t, r, i, n, o) {
7472
- return openBlock(), createElementBlock("div", mergeProps(e.sliderProps, { ref: "slider" }), null, 16);
7506
+ m.render = function(e2, t, r, i, n, o) {
7507
+ return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
7473
7508
  }, m.__file = "src/Slider.vue";
7474
7509
  const _hoisted_1$J = { class: "lupa-search-result-facet-stats-values" };
7475
7510
  const _hoisted_2$x = {
7476
7511
  key: 0,
7477
7512
  class: "lupa-stats-facet-summary"
7478
7513
  };
7479
- const _hoisted_3$n = {
7514
+ const _hoisted_3$o = {
7480
7515
  key: 1,
7481
7516
  class: "lupa-stats-facet-summary-input"
7482
7517
  };
7483
- const _hoisted_4$h = {
7518
+ const _hoisted_4$i = {
7484
7519
  key: 0,
7485
7520
  class: "lupa-stats-range-label"
7486
7521
  };
@@ -7673,9 +7708,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
7673
7708
  };
7674
7709
  return (_ctx, _cache) => {
7675
7710
  return openBlock(), createElementBlock("div", _hoisted_1$J, [
7676
- !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$n, [
7711
+ !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
7677
7712
  createElementVNode("div", null, [
7678
- rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$h, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
7713
+ rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
7679
7714
  createElementVNode("div", _hoisted_5$b, [
7680
7715
  withDirectives(createElementVNode("input", {
7681
7716
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -7741,8 +7776,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
7741
7776
  });
7742
7777
  const _hoisted_1$I = { class: "lupa-term-checkbox-wrapper" };
7743
7778
  const _hoisted_2$w = { class: "lupa-term-checkbox-label" };
7744
- const _hoisted_3$m = { class: "lupa-term-label" };
7745
- const _hoisted_4$g = {
7779
+ const _hoisted_3$n = { class: "lupa-term-label" };
7780
+ const _hoisted_4$h = {
7746
7781
  key: 0,
7747
7782
  class: "lupa-term-count"
7748
7783
  };
@@ -7802,8 +7837,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
7802
7837
  }, null, 2)
7803
7838
  ]),
7804
7839
  createElementVNode("div", _hoisted_2$w, [
7805
- createElementVNode("span", _hoisted_3$m, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
7806
- _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$g, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
7840
+ createElementVNode("span", _hoisted_3$n, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
7841
+ _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$h, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
7807
7842
  ])
7808
7843
  ]),
7809
7844
  showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
@@ -7827,7 +7862,7 @@ const _hoisted_1$H = {
7827
7862
  "data-cy": "lupa-search-result-facet-term-values"
7828
7863
  };
7829
7864
  const _hoisted_2$v = { key: 0 };
7830
- const _hoisted_3$l = ["placeholder"];
7865
+ const _hoisted_3$m = ["placeholder"];
7831
7866
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
7832
7867
  __name: "HierarchyFacet",
7833
7868
  props: {
@@ -7885,7 +7920,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7885
7920
  "data-cy": "lupa-term-filter",
7886
7921
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
7887
7922
  placeholder: _ctx.options.labels.facetFilter
7888
- }, null, 8, _hoisted_3$l), [
7923
+ }, null, 8, _hoisted_3$m), [
7889
7924
  [vModelText, termFilter.value]
7890
7925
  ])
7891
7926
  ])) : createCommentVNode("", true),
@@ -7989,12 +8024,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
7989
8024
  onBeforeUnmount(() => {
7990
8025
  window.removeEventListener("click", handleMouseClick);
7991
8026
  });
7992
- const handleMouseClick = (e) => {
8027
+ const handleMouseClick = (e2) => {
7993
8028
  const el = facetPanel.value;
7994
8029
  if (!el) {
7995
8030
  return;
7996
8031
  }
7997
- const isOutsideElement = el && !el.contains(e.target);
8032
+ const isOutsideElement = el && !el.contains(e2.target);
7998
8033
  if (isOutsideElement) {
7999
8034
  isOpen.value = false;
8000
8035
  }
@@ -8314,8 +8349,8 @@ const _hoisted_1$B = {
8314
8349
  class: "lupa-mobile-filter-sidebar"
8315
8350
  };
8316
8351
  const _hoisted_2$r = ["onClick"];
8317
- const _hoisted_3$k = { class: "lupa-mobile-sidebar-content" };
8318
- const _hoisted_4$f = { class: "lupa-sidebar-top" };
8352
+ const _hoisted_3$l = { class: "lupa-mobile-sidebar-content" };
8353
+ const _hoisted_4$g = { class: "lupa-sidebar-top" };
8319
8354
  const _hoisted_5$9 = { class: "lupa-sidebar-title" };
8320
8355
  const _hoisted_6$6 = {
8321
8356
  key: 0,
@@ -8358,8 +8393,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
8358
8393
  class: "lupa-sidebar-close",
8359
8394
  onClick: withModifiers(handleMobileToggle, ["stop"])
8360
8395
  }, null, 8, _hoisted_2$r),
8361
- createElementVNode("div", _hoisted_3$k, [
8362
- createElementVNode("div", _hoisted_4$f, [
8396
+ createElementVNode("div", _hoisted_3$l, [
8397
+ createElementVNode("div", _hoisted_4$g, [
8363
8398
  createElementVNode("div", _hoisted_5$9, [
8364
8399
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
8365
8400
  isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
@@ -8383,11 +8418,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
8383
8418
  });
8384
8419
  const _hoisted_1$A = { id: "lupa-search-results-breadcrumbs" };
8385
8420
  const _hoisted_2$q = ["href", "onClick"];
8386
- const _hoisted_3$j = {
8421
+ const _hoisted_3$k = {
8387
8422
  key: 1,
8388
8423
  class: "lupa-search-results-breadcrumb-text"
8389
8424
  };
8390
- const _hoisted_4$e = { key: 2 };
8425
+ const _hoisted_4$f = { key: 2 };
8391
8426
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
8392
8427
  __name: "SearchResultsBreadcrumbs",
8393
8428
  props: {
@@ -8423,12 +8458,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
8423
8458
  key: 0,
8424
8459
  class: "lupa-search-results-breadcrumb-link",
8425
8460
  href: breadcrumb.link,
8426
- onClick: (e) => {
8461
+ onClick: (e2) => {
8427
8462
  var _a;
8428
- return handleNavigation(e, (_a = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a : "");
8463
+ return handleNavigation(e2, (_a = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a : "");
8429
8464
  }
8430
- }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$q)) : (openBlock(), createElementBlock("span", _hoisted_3$j, toDisplayString(getLabel(breadcrumb.label)), 1)),
8431
- index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$e, " / ")) : createCommentVNode("", true)
8465
+ }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$q)) : (openBlock(), createElementBlock("span", _hoisted_3$k, toDisplayString(getLabel(breadcrumb.label)), 1)),
8466
+ index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, " / ")) : createCommentVNode("", true)
8432
8467
  ]);
8433
8468
  }), 128))
8434
8469
  ]);
@@ -8533,8 +8568,8 @@ const _hoisted_2$p = {
8533
8568
  key: 0,
8534
8569
  class: "lupa-page-number-separator"
8535
8570
  };
8536
- const _hoisted_3$i = ["onClick"];
8537
- const _hoisted_4$d = {
8571
+ const _hoisted_3$j = ["onClick"];
8572
+ const _hoisted_4$e = {
8538
8573
  key: 0,
8539
8574
  class: "lupa-page-number-separator"
8540
8575
  };
@@ -8637,10 +8672,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8637
8672
  page === _ctx.options.selectedPage ? "lupa-page-number-selected" : ""
8638
8673
  ]),
8639
8674
  "data-cy": "lupa-page-number"
8640
- }, toDisplayString(page), 11, _hoisted_3$i);
8675
+ }, toDisplayString(page), 11, _hoisted_3$j);
8641
8676
  }), 128)),
8642
8677
  showLastPage.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
8643
- showLastPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_4$d, "...")) : createCommentVNode("", true),
8678
+ showLastPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, "...")) : createCommentVNode("", true),
8644
8679
  createElementVNode("div", {
8645
8680
  class: "lupa-page-number lupa-page-number-last",
8646
8681
  onClick: _cache[2] || (_cache[2] = () => {
@@ -8664,8 +8699,8 @@ const _hoisted_1$v = {
8664
8699
  "data-cy": "lupa-search-results-page-size"
8665
8700
  };
8666
8701
  const _hoisted_2$o = { id: "lupa-select" };
8667
- const _hoisted_3$h = { class: "lupa-select-label" };
8668
- const _hoisted_4$c = ["aria-label"];
8702
+ const _hoisted_3$i = { class: "lupa-select-label" };
8703
+ const _hoisted_4$d = ["aria-label"];
8669
8704
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
8670
8705
  __name: "SearchResultsPageSize",
8671
8706
  props: {
@@ -8685,8 +8720,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8685
8720
  var _a, _b;
8686
8721
  return (_b = (_a = props.labels) == null ? void 0 : _a.pageSize) != null ? _b : "";
8687
8722
  });
8688
- const handleSelect = (e) => {
8689
- const value = e.target.value;
8723
+ const handleSelect = (e2) => {
8724
+ const value = e2.target.value;
8690
8725
  paramsStore.appendParams({
8691
8726
  params: [{ name: optionsStore.getQueryParamName(QUERY_PARAMS.LIMIT), value }],
8692
8727
  paramsToRemove: [optionsStore.getQueryParamName(QUERY_PARAMS.PAGE)]
@@ -8695,7 +8730,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8695
8730
  return (_ctx, _cache) => {
8696
8731
  return openBlock(), createElementBlock("div", _hoisted_1$v, [
8697
8732
  createElementVNode("div", _hoisted_2$o, [
8698
- createElementVNode("label", _hoisted_3$h, toDisplayString(label.value), 1),
8733
+ createElementVNode("label", _hoisted_3$i, toDisplayString(label.value), 1),
8699
8734
  createElementVNode("select", {
8700
8735
  class: "lupa-select-dropdown",
8701
8736
  "aria-label": label.value,
@@ -8707,7 +8742,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8707
8742
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options.sizes, (option) => {
8708
8743
  return openBlock(), createElementBlock("option", { key: option }, toDisplayString(prefixLabel.value) + toDisplayString(option), 1);
8709
8744
  }), 128))
8710
- ], 40, _hoisted_4$c)
8745
+ ], 40, _hoisted_4$d)
8711
8746
  ])
8712
8747
  ]);
8713
8748
  };
@@ -8718,8 +8753,8 @@ const _hoisted_1$u = {
8718
8753
  class: "lupa-search-results-sort"
8719
8754
  };
8720
8755
  const _hoisted_2$n = { id: "lupa-select" };
8721
- const _hoisted_3$g = { class: "lupa-select-label" };
8722
- const _hoisted_4$b = ["aria-label"];
8756
+ const _hoisted_3$h = { class: "lupa-select-label" };
8757
+ const _hoisted_4$c = ["aria-label"];
8723
8758
  const _hoisted_5$8 = ["value"];
8724
8759
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
8725
8760
  __name: "SearchResultsSort",
@@ -8772,7 +8807,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8772
8807
  return (_ctx, _cache) => {
8773
8808
  return openBlock(), createElementBlock("div", _hoisted_1$u, [
8774
8809
  createElementVNode("div", _hoisted_2$n, [
8775
- createElementVNode("label", _hoisted_3$g, toDisplayString(_ctx.options.label), 1),
8810
+ createElementVNode("label", _hoisted_3$h, toDisplayString(_ctx.options.label), 1),
8776
8811
  withDirectives(createElementVNode("select", {
8777
8812
  class: "lupa-select-dropdown",
8778
8813
  "aria-label": _ctx.options.label,
@@ -8787,7 +8822,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8787
8822
  value: option.key
8788
8823
  }, toDisplayString(option.label), 9, _hoisted_5$8);
8789
8824
  }), 128))
8790
- ], 40, _hoisted_4$b), [
8825
+ ], 40, _hoisted_4$c), [
8791
8826
  [vModelSelect, selectedKey.value]
8792
8827
  ])
8793
8828
  ])
@@ -8800,8 +8835,8 @@ const _hoisted_2$m = {
8800
8835
  key: 0,
8801
8836
  class: "lupa-toolbar-right-title"
8802
8837
  };
8803
- const _hoisted_3$f = { key: 2 };
8804
- const _hoisted_4$a = { key: 4 };
8838
+ const _hoisted_3$g = { key: 2 };
8839
+ const _hoisted_4$b = { key: 4 };
8805
8840
  const _hoisted_5$7 = { key: 6 };
8806
8841
  const _hoisted_6$5 = { class: "lupa-toolbar-right" };
8807
8842
  const _hoisted_7$3 = {
@@ -8919,13 +8954,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8919
8954
  }, [
8920
8955
  createElementVNode("div", _hoisted_1$t, [
8921
8956
  toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
8922
- showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$f)),
8957
+ showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
8923
8958
  showItemSummary.value ? (openBlock(), createBlock(_sfc_main$T, {
8924
8959
  key: 3,
8925
8960
  label: searchSummaryLabel.value,
8926
8961
  clearable: unref(hasAnyFilter) && showFilterClear.value,
8927
8962
  onClear: handleClearAll
8928
- }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$a)),
8963
+ }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
8929
8964
  displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$z, {
8930
8965
  key: 5,
8931
8966
  options: paginationOptions.value.pageSelect,
@@ -8973,11 +9008,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8973
9008
  });
8974
9009
  const _hoisted_1$s = ["innerHTML"];
8975
9010
  const _hoisted_2$l = ["title"];
8976
- const _hoisted_3$e = {
9011
+ const _hoisted_3$f = {
8977
9012
  key: 0,
8978
9013
  class: "lupa-search-results-product-title-text"
8979
9014
  };
8980
- const _hoisted_4$9 = ["href"];
9015
+ const _hoisted_4$a = ["href"];
8981
9016
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
8982
9017
  __name: "SearchResultsProductTitle",
8983
9018
  props: {
@@ -9017,13 +9052,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9017
9052
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
9018
9053
  title: title.value
9019
9054
  }, [
9020
- !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_3$e, toDisplayString(title.value), 1)) : createCommentVNode("", true),
9055
+ !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(title.value), 1)) : createCommentVNode("", true),
9021
9056
  _ctx.options.link ? (openBlock(), createElementBlock("a", {
9022
9057
  key: 1,
9023
9058
  href: _ctx.link,
9024
9059
  class: "lupa-search-results-product-title-text lupa-title-link",
9025
9060
  onClick: handleNavigation
9026
- }, toDisplayString(title.value), 9, _hoisted_4$9)) : createCommentVNode("", true)
9061
+ }, toDisplayString(title.value), 9, _hoisted_4$a)) : createCommentVNode("", true)
9027
9062
  ], 12, _hoisted_2$l));
9028
9063
  };
9029
9064
  }
@@ -9063,8 +9098,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9063
9098
  });
9064
9099
  const _hoisted_1$q = { id: "lupa-search-results-rating" };
9065
9100
  const _hoisted_2$k = { class: "lupa-ratings" };
9066
- const _hoisted_3$d = { class: "lupa-ratings-base" };
9067
- const _hoisted_4$8 = ["innerHTML"];
9101
+ const _hoisted_3$e = { class: "lupa-ratings-base" };
9102
+ const _hoisted_4$9 = ["innerHTML"];
9068
9103
  const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
9069
9104
  const _hoisted_6$4 = ["innerHTML"];
9070
9105
  const _hoisted_7$2 = ["href"];
@@ -9102,13 +9137,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9102
9137
  return (_ctx, _cache) => {
9103
9138
  return openBlock(), createElementBlock("div", _hoisted_1$q, [
9104
9139
  createElementVNode("div", _hoisted_2$k, [
9105
- createElementVNode("div", _hoisted_3$d, [
9140
+ createElementVNode("div", _hoisted_3$e, [
9106
9141
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
9107
9142
  return openBlock(), createElementBlock("div", {
9108
9143
  key: index,
9109
9144
  innerHTML: star,
9110
9145
  class: "lupa-rating lupa-rating-not-highlighted"
9111
- }, null, 8, _hoisted_4$8);
9146
+ }, null, 8, _hoisted_4$9);
9112
9147
  }), 128))
9113
9148
  ]),
9114
9149
  createElementVNode("div", _hoisted_5$6, [
@@ -9190,7 +9225,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9190
9225
  });
9191
9226
  const _hoisted_1$n = { class: "lupa-search-results-add-to-cart-wrapper" };
9192
9227
  const _hoisted_2$j = { class: "lupa-search-results-product-addtocart" };
9193
- const _hoisted_3$c = ["onClick", "disabled"];
9228
+ const _hoisted_3$d = ["onClick", "disabled"];
9194
9229
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
9195
9230
  __name: "SearchResultsProductAddToCart",
9196
9231
  props: {
@@ -9225,7 +9260,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9225
9260
  class: normalizeClass(loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart"),
9226
9261
  "data-cy": "lupa-add-to-cart",
9227
9262
  disabled: !inStockValue.value || loading.value
9228
- }, toDisplayString(label.value), 11, _hoisted_3$c)
9263
+ }, toDisplayString(label.value), 11, _hoisted_3$d)
9229
9264
  ])
9230
9265
  ]);
9231
9266
  };
@@ -9233,8 +9268,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9233
9268
  });
9234
9269
  const _hoisted_1$m = ["innerHTML"];
9235
9270
  const _hoisted_2$i = { key: 0 };
9236
- const _hoisted_3$b = { key: 1 };
9237
- const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
9271
+ const _hoisted_3$c = { key: 1 };
9272
+ const _hoisted_4$8 = { class: "lupa-search-box-custom-label" };
9238
9273
  const _hoisted_5$5 = { class: "lupa-search-box-custom-text" };
9239
9274
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
9240
9275
  __name: "SearchResultsProductCustom",
@@ -9278,8 +9313,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9278
9313
  key: 1,
9279
9314
  class: className.value
9280
9315
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
9281
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$b, [
9282
- createElementVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
9316
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$c, [
9317
+ createElementVNode("div", _hoisted_4$8, toDisplayString(label.value), 1),
9283
9318
  createElementVNode("div", _hoisted_5$5, toDisplayString(text.value), 1)
9284
9319
  ]))
9285
9320
  ], 16));
@@ -9321,8 +9356,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9321
9356
  });
9322
9357
  const _hoisted_1$k = { id: "lupa-search-results-rating" };
9323
9358
  const _hoisted_2$h = ["innerHTML"];
9324
- const _hoisted_3$a = { class: "lupa-ratings" };
9325
- const _hoisted_4$6 = ["href"];
9359
+ const _hoisted_3$b = { class: "lupa-ratings" };
9360
+ const _hoisted_4$7 = ["href"];
9326
9361
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
9327
9362
  __name: "SearchResultsProductSingleStarRating",
9328
9363
  props: {
@@ -9356,11 +9391,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9356
9391
  innerHTML: star.value,
9357
9392
  class: "lupa-rating lupa-rating-highlighted"
9358
9393
  }, null, 8, _hoisted_2$h),
9359
- createElementVNode("div", _hoisted_3$a, toDisplayString(rating.value), 1),
9394
+ createElementVNode("div", _hoisted_3$b, toDisplayString(rating.value), 1),
9360
9395
  createElementVNode("a", {
9361
9396
  href: ratingLink.value,
9362
9397
  class: "lupa-total-ratings"
9363
- }, toDisplayString(totalRatings.value), 9, _hoisted_4$6)
9398
+ }, toDisplayString(totalRatings.value), 9, _hoisted_4$7)
9364
9399
  ]);
9365
9400
  };
9366
9401
  }
@@ -9455,14 +9490,15 @@ const _hoisted_2$g = {
9455
9490
  key: 0,
9456
9491
  class: "lupa-out-of-stock"
9457
9492
  };
9458
- const _hoisted_3$9 = { class: "lupa-search-result-product-details-section" };
9493
+ const _hoisted_3$a = { class: "lupa-search-result-product-details-section" };
9459
9494
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
9460
9495
  __name: "SearchResultsProductCard",
9461
9496
  props: {
9462
9497
  product: {},
9463
9498
  options: {},
9464
9499
  isAdditionalPanel: { type: Boolean },
9465
- clickTrackingSettings: {}
9500
+ clickTrackingSettings: {},
9501
+ lupaClickTrackingType: {}
9466
9502
  },
9467
9503
  setup(__props) {
9468
9504
  const props = __props;
@@ -9486,11 +9522,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9486
9522
  });
9487
9523
  const imageElements = computed(() => {
9488
9524
  var _a, _b;
9489
- return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e) => e.type === DocumentElementType.IMAGE && !e.group)) != null ? _b : [];
9525
+ return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e2) => e2.type === DocumentElementType.IMAGE && !e2.group)) != null ? _b : [];
9490
9526
  });
9491
9527
  const detailElements = computed(() => {
9492
9528
  var _a, _b;
9493
- return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e) => e.type !== DocumentElementType.IMAGE && !e.group)) != null ? _b : [];
9529
+ return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e2) => e2.type !== DocumentElementType.IMAGE && !e2.group)) != null ? _b : [];
9494
9530
  });
9495
9531
  const labels = computed(() => {
9496
9532
  return props.options.labels;
@@ -9509,7 +9545,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9509
9545
  var _a;
9510
9546
  return [
9511
9547
  ...Array.from(
9512
- new Set((_a = props.options.elements) == null ? void 0 : _a.map((e) => e.group).filter((g) => Boolean(g)))
9548
+ new Set((_a = props.options.elements) == null ? void 0 : _a.map((e2) => e2.group).filter((g) => Boolean(g)))
9513
9549
  )
9514
9550
  ];
9515
9551
  });
@@ -9545,7 +9581,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9545
9581
  });
9546
9582
  const getGroupElements = (group) => {
9547
9583
  var _a, _b;
9548
- return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e) => e.group === group)) != null ? _b : [];
9584
+ return (_b = (_a = props.options.elements) == null ? void 0 : _a.filter((e2) => e2.group === group)) != null ? _b : [];
9549
9585
  };
9550
9586
  onMounted(() => {
9551
9587
  checkIfIsInStock();
@@ -9554,16 +9590,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9554
9590
  isInStock.value = props.options.isInStock ? yield props.options.isInStock(props.product) : true;
9555
9591
  });
9556
9592
  const handleClick = () => {
9557
- var _a, _b, _c;
9593
+ var _a, _b, _c, _d;
9558
9594
  trackingStore.trackEvent({
9559
9595
  queryKey: props.options.queryKey,
9560
9596
  data: {
9561
9597
  itemId: id.value,
9562
9598
  searchQuery: query.value,
9563
- type: "itemClick",
9599
+ type: (_a = props.lupaClickTrackingType) != null ? _a : "itemClick",
9564
9600
  analytics: {
9565
9601
  type: clickTrackingType.value,
9566
- label: (_a = trackingLabel.value) != null ? _a : "",
9602
+ label: (_b = trackingLabel.value) != null ? _b : "",
9567
9603
  listLabel: trackingListLabel.value,
9568
9604
  items: [props.product],
9569
9605
  itemId: id.value
@@ -9571,7 +9607,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9571
9607
  options: { allowEmptySearchQuery: true }
9572
9608
  }
9573
9609
  });
9574
- (_c = (_b = searchResultOptions.value.callbacks) == null ? void 0 : _b.onProductClick) == null ? void 0 : _c.call(_b, {
9610
+ (_d = (_c = searchResultOptions.value.callbacks) == null ? void 0 : _c.onProductClick) == null ? void 0 : _d.call(_c, {
9575
9611
  queryKey: query.value,
9576
9612
  hasResults: true,
9577
9613
  productId: id.value
@@ -9632,7 +9668,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9632
9668
  }, null, 8, ["options"]),
9633
9669
  ((_a = labels.value) == null ? void 0 : _a.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
9634
9670
  ], 8, _hoisted_1$j),
9635
- createElementVNode("div", _hoisted_3$9, [
9671
+ createElementVNode("div", _hoisted_3$a, [
9636
9672
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
9637
9673
  return openBlock(), createBlock(_sfc_main$l, {
9638
9674
  class: "lupa-search-results-product-element",
@@ -9675,11 +9711,11 @@ const _hoisted_1$i = {
9675
9711
  "data-cy": "lupa-search-results-similar-queries"
9676
9712
  };
9677
9713
  const _hoisted_2$f = { class: "lupa-similar-queries-label" };
9678
- const _hoisted_3$8 = {
9714
+ const _hoisted_3$9 = {
9679
9715
  class: "lupa-similar-query-label",
9680
9716
  "data-cy": "lupa-similar-query-label"
9681
9717
  };
9682
- const _hoisted_4$5 = ["onClick"];
9718
+ const _hoisted_4$6 = ["onClick"];
9683
9719
  const _hoisted_5$4 = ["innerHTML"];
9684
9720
  const _hoisted_6$3 = { key: 0 };
9685
9721
  const _hoisted_7$1 = {
@@ -9720,7 +9756,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
9720
9756
  createElementVNode("div", _hoisted_2$f, toDisplayString(_ctx.labels.similarQueries), 1),
9721
9757
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
9722
9758
  return openBlock(), createElementBlock("div", { key: index }, [
9723
- createElementVNode("div", _hoisted_3$8, [
9759
+ createElementVNode("div", _hoisted_3$9, [
9724
9760
  createElementVNode("span", null, toDisplayString(similarQueryLabel.value), 1),
9725
9761
  createElementVNode("span", {
9726
9762
  id: "lupa-similar-query-text-component",
@@ -9732,7 +9768,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
9732
9768
  innerHTML: getSimilarQueryContent(similarQuery.displayQuery)
9733
9769
  }, null, 8, _hoisted_5$4),
9734
9770
  similarQuery.count ? (openBlock(), createElementBlock("span", _hoisted_6$3, " (" + toDisplayString(similarQuery.count) + ")", 1)) : createCommentVNode("", true)
9735
- ], 8, _hoisted_4$5)
9771
+ ], 8, _hoisted_4$6)
9736
9772
  ]),
9737
9773
  createElementVNode("div", _hoisted_7$1, [
9738
9774
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
@@ -9909,7 +9945,7 @@ const _hoisted_1$e = {
9909
9945
  "data-cy": "lupa-search-results-similar-results"
9910
9946
  };
9911
9947
  const _hoisted_2$c = { class: "lupa-similar-results-label" };
9912
- const _hoisted_3$7 = {
9948
+ const _hoisted_3$8 = {
9913
9949
  class: "lupa-products",
9914
9950
  "data-cy": "lupa-products"
9915
9951
  };
@@ -9931,7 +9967,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
9931
9967
  return (_ctx, _cache) => {
9932
9968
  return openBlock(), createElementBlock("div", _hoisted_1$e, [
9933
9969
  createElementVNode("div", _hoisted_2$c, toDisplayString(_ctx.labels.similarResultsLabel), 1),
9934
- createElementVNode("div", _hoisted_3$7, [
9970
+ createElementVNode("div", _hoisted_3$8, [
9935
9971
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
9936
9972
  return openBlock(), createBlock(_sfc_main$k, {
9937
9973
  style: normalizeStyle(_ctx.columnSize),
@@ -9950,12 +9986,12 @@ const _hoisted_2$b = {
9950
9986
  class: "lupa-products",
9951
9987
  "data-cy": "lupa-products"
9952
9988
  };
9953
- const _hoisted_3$6 = {
9989
+ const _hoisted_3$7 = {
9954
9990
  key: 1,
9955
9991
  class: "lupa-empty-results",
9956
9992
  "data-cy": "lupa-no-results-in-page"
9957
9993
  };
9958
- const _hoisted_4$4 = {
9994
+ const _hoisted_4$5 = {
9959
9995
  key: 3,
9960
9996
  class: "lupa-empty-results",
9961
9997
  "data-cy": "lupa-no-results"
@@ -10129,7 +10165,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10129
10165
  }, null, 8, ["style", "product", "options"]);
10130
10166
  }), 128))
10131
10167
  ]),
10132
- unref(isPageEmpty) && _ctx.options.labels.noItemsInPage ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
10168
+ unref(isPageEmpty) && _ctx.options.labels.noItemsInPage ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
10133
10169
  createTextVNode(toDisplayString(_ctx.options.labels.noItemsInPage) + " ", 1),
10134
10170
  _ctx.options.labels.backToFirstPage ? (openBlock(), createElementBlock("span", {
10135
10171
  key: 0,
@@ -10147,7 +10183,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10147
10183
  location: "bottom",
10148
10184
  sdkOptions: _ctx.options.options
10149
10185
  }, null, 8, ["options", "sdkOptions"])
10150
- ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
10186
+ ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
10151
10187
  createTextVNode(toDisplayString(_ctx.options.labels.emptyResults) + " ", 1),
10152
10188
  createElementVNode("span", null, toDisplayString(unref(currentQueryText)), 1)
10153
10189
  ])) : createCommentVNode("", true),
@@ -10175,7 +10211,7 @@ const _hoisted_2$a = {
10175
10211
  key: 0,
10176
10212
  class: "lupa-category-back"
10177
10213
  };
10178
- const _hoisted_3$5 = ["href"];
10214
+ const _hoisted_3$6 = ["href"];
10179
10215
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
10180
10216
  __name: "CategoryTopFilters",
10181
10217
  props: {
@@ -10214,7 +10250,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
10214
10250
  "data-cy": "lupa-category-back",
10215
10251
  href: backUrlLink.value,
10216
10252
  onClick: handleNavigationBack
10217
- }, toDisplayString(backTitle.value), 9, _hoisted_3$5)
10253
+ }, toDisplayString(backTitle.value), 9, _hoisted_3$6)
10218
10254
  ])) : createCommentVNode("", true),
10219
10255
  createVNode(_sfc_main$w, {
10220
10256
  class: "lupa-toolbar-mobile",
@@ -10235,8 +10271,8 @@ const _hoisted_2$9 = {
10235
10271
  id: "lupa-search-results",
10236
10272
  class: "top-layout-wrapper"
10237
10273
  };
10238
- const _hoisted_3$4 = { class: "search-content" };
10239
- const _hoisted_4$3 = { id: "lupa-search-results" };
10274
+ const _hoisted_3$5 = { class: "search-content" };
10275
+ const _hoisted_4$4 = { id: "lupa-search-results" };
10240
10276
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
10241
10277
  __name: "SearchResults",
10242
10278
  props: {
@@ -10476,7 +10512,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
10476
10512
  ref: searchResultsFilters,
10477
10513
  onFilter: handleParamsChange
10478
10514
  }, null, 8, ["options"])) : createCommentVNode("", true),
10479
- createElementVNode("div", _hoisted_3$4, [
10515
+ createElementVNode("div", _hoisted_3$5, [
10480
10516
  createVNode(_sfc_main$U, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
10481
10517
  createVNode(_sfc_main$S, {
10482
10518
  options: _ctx.options,
@@ -10499,7 +10535,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
10499
10535
  options: _ctx.options,
10500
10536
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
10501
10537
  }, null, 8, ["options", "is-product-list"]),
10502
- createElementVNode("div", _hoisted_4$3, [
10538
+ createElementVNode("div", _hoisted_4$4, [
10503
10539
  showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$F, {
10504
10540
  key: 0,
10505
10541
  options: (_e = _ctx.options.filters) != null ? _e : {},
@@ -10951,7 +10987,7 @@ lodash.exports;
10951
10987
  return types;
10952
10988
  }
10953
10989
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
10954
- } catch (e) {
10990
+ } catch (e2) {
10955
10991
  }
10956
10992
  }();
10957
10993
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
@@ -11323,7 +11359,7 @@ lodash.exports;
11323
11359
  var func = getNative(Object2, "defineProperty");
11324
11360
  func({}, "", {});
11325
11361
  return func;
11326
- } catch (e) {
11362
+ } catch (e2) {
11327
11363
  }
11328
11364
  }();
11329
11365
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
@@ -13355,7 +13391,7 @@ lodash.exports;
13355
13391
  try {
13356
13392
  value[symToStringTag] = undefined$1;
13357
13393
  var unmasked = true;
13358
- } catch (e) {
13394
+ } catch (e2) {
13359
13395
  }
13360
13396
  var result2 = nativeObjectToString.call(value);
13361
13397
  if (unmasked) {
@@ -13712,11 +13748,11 @@ lodash.exports;
13712
13748
  if (func != null) {
13713
13749
  try {
13714
13750
  return funcToString.call(func);
13715
- } catch (e) {
13751
+ } catch (e2) {
13716
13752
  }
13717
13753
  try {
13718
13754
  return func + "";
13719
- } catch (e) {
13755
+ } catch (e2) {
13720
13756
  }
13721
13757
  }
13722
13758
  return "";
@@ -15403,8 +15439,8 @@ lodash.exports;
15403
15439
  var attempt = baseRest(function(func, args) {
15404
15440
  try {
15405
15441
  return apply(func, undefined$1, args);
15406
- } catch (e) {
15407
- return isError(e) ? e : new Error2(e);
15442
+ } catch (e2) {
15443
+ return isError(e2) ? e2 : new Error2(e2);
15408
15444
  }
15409
15445
  });
15410
15446
  var bindAll = flatRest(function(object, methodNames) {
@@ -16547,8 +16583,8 @@ var Carousel = defineComponent({
16547
16583
  const tolerance = Math.sign(dragged.x) * 0.4;
16548
16584
  const draggedSlides = Math.round(dragged.x / slideWidth.value + tolerance) * direction;
16549
16585
  if (draggedSlides && !isTouch) {
16550
- const captureClick = (e) => {
16551
- e.stopPropagation();
16586
+ const captureClick = (e2) => {
16587
+ e2.stopPropagation();
16552
16588
  window.removeEventListener("click", captureClick, true);
16553
16589
  };
16554
16590
  window.addEventListener("click", captureClick, true);
@@ -16852,9 +16888,18 @@ var Slide = defineComponent({
16852
16888
  const _hoisted_1$8 = { class: "lupa-search-product-recommendations-wrapper" };
16853
16889
  const _hoisted_2$6 = {
16854
16890
  key: 0,
16891
+ class: "lupa-recommendation-section-title"
16892
+ };
16893
+ const _hoisted_3$4 = {
16894
+ key: 1,
16855
16895
  class: "lupa-recommended-products",
16856
16896
  "data-cy": "lupa-recommended-products"
16857
16897
  };
16898
+ const _hoisted_4$3 = {
16899
+ key: 1,
16900
+ class: "lupa-products",
16901
+ "data-cy": "lupa-products"
16902
+ };
16858
16903
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16859
16904
  __name: "Recommendations",
16860
16905
  props: {
@@ -16863,6 +16908,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16863
16908
  setup(__props, { expose: __expose }) {
16864
16909
  const props = __props;
16865
16910
  const optionsStore = useOptionsStore();
16911
+ const searchResultStore = useSearchResultStore();
16912
+ const screenStore = useScreenStore();
16913
+ const { columnCount } = storeToRefs(searchResultStore);
16866
16914
  const recommendations = ref([]);
16867
16915
  const recommendationsType = ref(
16868
16916
  "recommendations_lupasearch"
@@ -16879,15 +16927,35 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16879
16927
  eventLabel: recommendationsType.value
16880
16928
  };
16881
16929
  });
16930
+ const layoutType = computed(() => {
16931
+ var _a;
16932
+ return (_a = props.options.layoutType) != null ? _a : "carousel";
16933
+ });
16934
+ const columnSize = computed(() => `width: ${100 / columnCount.value}%`);
16935
+ const title = computed(() => {
16936
+ var _a, _b;
16937
+ return (_b = (_a = props.options.recommendationLabels) == null ? void 0 : _a.title) != null ? _b : "";
16938
+ });
16882
16939
  onMounted(() => {
16883
16940
  loadRecommendations();
16941
+ window.addEventListener("resize", handleResize);
16942
+ handleResize();
16884
16943
  optionsStore.setSearchResultOptions({
16885
16944
  options: props.options
16886
16945
  });
16887
16946
  });
16947
+ onBeforeUnmount(() => {
16948
+ window.removeEventListener("resize", handleResize);
16949
+ });
16888
16950
  const getProductKeyAction = (index, product) => {
16889
16951
  return getProductKey(index.toString(), product, props.options.idKey);
16890
16952
  };
16953
+ const handleResize = () => {
16954
+ const doc = document.documentElement;
16955
+ doc.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
16956
+ screenStore.setScreenWidth({ width: window.innerWidth });
16957
+ searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
16958
+ };
16891
16959
  const loadRecommendations = () => {
16892
16960
  var _a, _b, _c, _d, _e;
16893
16961
  if ((_a = props.options.abTesting) == null ? void 0 : _a.enabled) {
@@ -16929,6 +16997,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16929
16997
  const result = yield LupaSearchSdk.recommend(
16930
16998
  props.options.queryKey,
16931
16999
  props.options.itemId,
17000
+ props.options.recommendationFilters,
16932
17001
  props.options.options
16933
17002
  );
16934
17003
  if (!result.success) {
@@ -16942,8 +17011,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16942
17011
  __expose({ fetch: fetch2 });
16943
17012
  return (_ctx, _cache) => {
16944
17013
  return openBlock(), createElementBlock("div", _hoisted_1$8, [
16945
- !loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
16946
- createVNode(unref(Carousel), mergeProps(carouselOptions.value, { "wrap-around": true }), {
17014
+ title.value ? (openBlock(), createElementBlock("h2", _hoisted_2$6, toDisplayString(title.value), 1)) : createCommentVNode("", true),
17015
+ !loading.value ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
17016
+ layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": true }), {
16947
17017
  addons: withCtx(() => [
16948
17018
  createVNode(unref(Navigation))
16949
17019
  ]),
@@ -16964,7 +17034,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16964
17034
  }), 128))
16965
17035
  ]),
16966
17036
  _: 1
16967
- }, 16)
17037
+ }, 16)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
17038
+ (openBlock(true), createElementBlock(Fragment, null, renderList(recommendations.value, (product, index) => {
17039
+ return openBlock(), createBlock(_sfc_main$k, {
17040
+ style: normalizeStyle(columnSize.value),
17041
+ key: getProductKeyAction(index, product),
17042
+ product,
17043
+ options: _ctx.options,
17044
+ "lupa-click-tracking-type": `recommendedItemClick`
17045
+ }, null, 8, ["style", "product", "options"]);
17046
+ }), 128))
17047
+ ]))
16968
17048
  ])) : createCommentVNode("", true)
16969
17049
  ]);
16970
17050
  };
@@ -17077,9 +17157,9 @@ const suggestSearchChatPhrases = (options, request, chatSettings) => __async(voi
17077
17157
  const errors = yield res.json();
17078
17158
  (_b = options == null ? void 0 : options.onError) == null ? void 0 : _b.call(options, errors);
17079
17159
  return { success: false, errors };
17080
- } catch (e) {
17081
- (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e);
17082
- return { success: false, errors: [e] };
17160
+ } catch (e2) {
17161
+ (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e2);
17162
+ return { success: false, errors: [e2] };
17083
17163
  }
17084
17164
  });
17085
17165
  const suggestPhraseAlternatives = (options, request, chatSettings) => __async(void 0, null, function* () {
@@ -17101,9 +17181,9 @@ const suggestPhraseAlternatives = (options, request, chatSettings) => __async(vo
17101
17181
  const errors = yield res.json();
17102
17182
  (_b = options == null ? void 0 : options.onError) == null ? void 0 : _b.call(options, errors);
17103
17183
  return { success: false, errors };
17104
- } catch (e) {
17105
- (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e);
17106
- return { success: false, errors: [e] };
17184
+ } catch (e2) {
17185
+ (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e2);
17186
+ return { success: false, errors: [e2] };
17107
17187
  }
17108
17188
  });
17109
17189
  const suggestBestProductMatches = (options, request, chatSettings) => __async(void 0, null, function* () {
@@ -17122,9 +17202,9 @@ const suggestBestProductMatches = (options, request, chatSettings) => __async(vo
17122
17202
  const errors = yield res.json();
17123
17203
  (_b = options == null ? void 0 : options.onError) == null ? void 0 : _b.call(options, errors);
17124
17204
  return { success: false, errors };
17125
- } catch (e) {
17126
- (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e);
17127
- return { success: false, errors: [e] };
17205
+ } catch (e2) {
17206
+ (_c = options == null ? void 0 : options.onError) == null ? void 0 : _c.call(options, e2);
17207
+ return { success: false, errors: [e2] };
17128
17208
  }
17129
17209
  });
17130
17210
  const prepareChatHistory = (chatLog) => {