ui.shipaid.com 0.3.117 → 0.3.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.es.js CHANGED
@@ -1,6 +1,23 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ const getExcludedProducts = (store) => {
5
+ const excludedProductSkus = Array.isArray(
6
+ store == null ? void 0 : store.excludedProductSkus
7
+ ) ? store.excludedProductSkus.map((sku) => sku.trim()) : [];
8
+ const excludedProductTags = Array.isArray(
9
+ store == null ? void 0 : store.excludedProductTags
10
+ ) ? store.excludedProductTags.map((tag) => tag.toLowerCase().trim()) : [];
11
+ const excludedProductIds = Array.isArray(
12
+ store == null ? void 0 : store.excludedProductsVariantsId
13
+ ) ? store.excludedProductsVariantsId.map(
14
+ (id) => {
15
+ var _a;
16
+ return parseInt(((_a = id.match(/\d+/)) == null ? void 0 : _a[0]) ?? "", 10);
17
+ }
18
+ ) : [];
19
+ return { excludedProductSkus, excludedProductTags, excludedProductIds };
20
+ };
4
21
  function calculateProtectionTotal(store, protectionProduct, cart) {
5
22
  var _a, _b, _c;
6
23
  if (!store) throw new Error("Missing store settings.");
@@ -10,13 +27,13 @@ function calculateProtectionTotal(store, protectionProduct, cart) {
10
27
  if (!settings) {
11
28
  throw new Error("Tried to find protection variant, but protection settings for this store are missing.");
12
29
  }
13
- const excludedProductSkus = Array.isArray(store == null ? void 0 : store.excludedProductSkus) ? store.excludedProductSkus.map((sku) => sku.trim()) : [];
14
- const excludedProductIds = Array.isArray(store == null ? void 0 : store.excludedProductsVariantsId) ? store.excludedProductsVariantsId.map((id) => {
15
- var _a2;
16
- return parseInt(((_a2 = id.match(/\d+/)) == null ? void 0 : _a2[0]) ?? "", 10);
17
- }) : [];
30
+ const { excludedProductSkus, excludedProductTags, excludedProductIds } = getExcludedProducts(store);
18
31
  const isItemExcluded = (item) => {
19
- if (item.sku && excludedProductSkus.includes(item.sku.trim())) {
32
+ if (item.isVirtualProduct) {
33
+ return true;
34
+ } else if (item.sku && excludedProductSkus.includes(item.sku.trim())) {
35
+ return true;
36
+ } else if (item.tags && item.tags.some((t2) => excludedProductTags.includes(t2.toLowerCase().trim()))) {
20
37
  return true;
21
38
  } else if (item.variant_id && excludedProductIds.includes(item.variant_id)) {
22
39
  return true;
@@ -371,7 +388,7 @@ const D = (t2, i3, s3) => {
371
388
  * Copyright 2017 Google LLC
372
389
  * SPDX-License-Identifier: BSD-3-Clause
373
390
  */
374
- const t$1 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, e$4 = (t2) => (...e3) => ({ _$litDirective$: t2, values: e3 });
391
+ const t$1 = { CHILD: 2 }, e$4 = (t2) => (...e3) => ({ _$litDirective$: t2, values: e3 });
375
392
  let i$1 = class i {
376
393
  constructor(t2) {
377
394
  }
@@ -1518,7 +1535,7 @@ if (!customElements.get("checkout-package-protection")) {
1518
1535
  function pe(n2, e3, o3) {
1519
1536
  e3[0] == "-" ? n2.setProperty(e3, o3 ?? "") : n2[e3] = o3 == null ? "" : typeof o3 != "number" || $e.test(e3) ? o3 : o3 + "px";
1520
1537
  }
1521
- function q(n2, e3, o3, a2, r2) {
1538
+ function X(n2, e3, o3, a2, r2) {
1522
1539
  var l2, i3;
1523
1540
  e: if (e3 == "style") if (typeof o3 == "string") n2.style.cssText = o3;
1524
1541
  else {
@@ -1547,13 +1564,13 @@ if (!customElements.get("checkout-package-protection")) {
1547
1564
  };
1548
1565
  }
1549
1566
  function J(n2, e3, o3, a2, r2, l2, i3, d2, c2, s3) {
1550
- var h2, t2, m2, p2, b, y2, w2, f2, u2, H2, S2, k2, P2, E2, R2, M2, oe, C2 = e3.type;
1567
+ var h2, t2, m2, p2, b, y2, w2, f2, u2, H2, S2, k2, C2, E2, R2, M2, oe, P2 = e3.type;
1551
1568
  if (e3.constructor != null) return null;
1552
1569
  128 & o3.__u && (c2 = !!(32 & o3.__u), l2 = [d2 = e3.__e = o3.__e]), (h2 = g2.__b) && h2(e3);
1553
- e: if (typeof C2 == "function") try {
1554
- if (f2 = e3.props, u2 = "prototype" in C2 && C2.prototype.render, H2 = (h2 = C2.contextType) && a2[h2.__c], S2 = h2 ? H2 ? H2.props.value : h2.__ : a2, o3.__c ? w2 = (t2 = e3.__c = o3.__c).__ = t2.__E : (u2 ? e3.__c = t2 = new C2(f2, S2) : (e3.__c = t2 = new I2(f2, S2), t2.constructor = C2, t2.render = je), H2 && H2.sub(t2), t2.props = f2, t2.state || (t2.state = {}), t2.context = S2, t2.__n = a2, m2 = t2.__d = true, t2.__h = [], t2._sb = []), u2 && t2.__s == null && (t2.__s = t2.state), u2 && C2.getDerivedStateFromProps != null && (t2.__s == t2.state && (t2.__s = T2({}, t2.__s)), T2(t2.__s, C2.getDerivedStateFromProps(f2, t2.__s))), p2 = t2.props, b = t2.state, t2.__v = e3, m2) u2 && C2.getDerivedStateFromProps == null && t2.componentWillMount != null && t2.componentWillMount(), u2 && t2.componentDidMount != null && t2.__h.push(t2.componentDidMount);
1570
+ e: if (typeof P2 == "function") try {
1571
+ if (f2 = e3.props, u2 = "prototype" in P2 && P2.prototype.render, H2 = (h2 = P2.contextType) && a2[h2.__c], S2 = h2 ? H2 ? H2.props.value : h2.__ : a2, o3.__c ? w2 = (t2 = e3.__c = o3.__c).__ = t2.__E : (u2 ? e3.__c = t2 = new P2(f2, S2) : (e3.__c = t2 = new I2(f2, S2), t2.constructor = P2, t2.render = je), H2 && H2.sub(t2), t2.props = f2, t2.state || (t2.state = {}), t2.context = S2, t2.__n = a2, m2 = t2.__d = true, t2.__h = [], t2._sb = []), u2 && t2.__s == null && (t2.__s = t2.state), u2 && P2.getDerivedStateFromProps != null && (t2.__s == t2.state && (t2.__s = T2({}, t2.__s)), T2(t2.__s, P2.getDerivedStateFromProps(f2, t2.__s))), p2 = t2.props, b = t2.state, t2.__v = e3, m2) u2 && P2.getDerivedStateFromProps == null && t2.componentWillMount != null && t2.componentWillMount(), u2 && t2.componentDidMount != null && t2.__h.push(t2.componentDidMount);
1555
1572
  else {
1556
- if (u2 && C2.getDerivedStateFromProps == null && f2 !== p2 && t2.componentWillReceiveProps != null && t2.componentWillReceiveProps(f2, S2), !t2.__e && t2.shouldComponentUpdate != null && t2.shouldComponentUpdate(f2, t2.__s, S2) === false || e3.__v == o3.__v) {
1573
+ if (u2 && P2.getDerivedStateFromProps == null && f2 !== p2 && t2.componentWillReceiveProps != null && t2.componentWillReceiveProps(f2, S2), !t2.__e && t2.shouldComponentUpdate != null && t2.shouldComponentUpdate(f2, t2.__s, S2) === false || e3.__v == o3.__v) {
1557
1574
  for (e3.__v != o3.__v && (t2.props = f2, t2.state = t2.__s, t2.__d = false), e3.__e = o3.__e, e3.__k = o3.__k, e3.__k.some(function(z2) {
1558
1575
  z2 && (z2.__ = e3);
1559
1576
  }), k2 = 0; k2 < t2._sb.length; k2++) t2.__h.push(t2._sb[k2]);
@@ -1564,11 +1581,11 @@ if (!customElements.get("checkout-package-protection")) {
1564
1581
  t2.componentDidUpdate(p2, b, y2);
1565
1582
  });
1566
1583
  }
1567
- if (t2.context = S2, t2.props = f2, t2.__P = n2, t2.__e = false, P2 = g2.__r, E2 = 0, u2) {
1568
- for (t2.state = t2.__s, t2.__d = false, P2 && P2(e3), h2 = t2.render(t2.props, t2.state, t2.context), R2 = 0; R2 < t2._sb.length; R2++) t2.__h.push(t2._sb[R2]);
1584
+ if (t2.context = S2, t2.props = f2, t2.__P = n2, t2.__e = false, C2 = g2.__r, E2 = 0, u2) {
1585
+ for (t2.state = t2.__s, t2.__d = false, C2 && C2(e3), h2 = t2.render(t2.props, t2.state, t2.context), R2 = 0; R2 < t2._sb.length; R2++) t2.__h.push(t2._sb[R2]);
1569
1586
  t2._sb = [];
1570
1587
  } else do
1571
- t2.__d = false, P2 && P2(e3), h2 = t2.render(t2.props, t2.state, t2.context), t2.state = t2.__s;
1588
+ t2.__d = false, C2 && C2(e3), h2 = t2.render(t2.props, t2.state, t2.context), t2.state = t2.__s;
1572
1589
  while (t2.__d && ++E2 < 25);
1573
1590
  t2.state = t2.__s, t2.getChildContext != null && (a2 = T2(T2({}, a2), t2.getChildContext())), u2 && !m2 && t2.getSnapshotBeforeUpdate != null && (y2 = t2.getSnapshotBeforeUpdate(p2, b)), M2 = h2, h2 != null && h2.type === F && h2.key == null && (M2 = fe(h2.props.children)), d2 = _e(n2, U(M2) ? M2 : [M2], e3, o3, a2, r2, l2, i3, d2, c2, s3), t2.base = e3.__e, e3.__u &= -161, t2.__h.length && i3.push(t2), w2 && (t2.__E = t2.__ = null);
1574
1591
  } catch (z2) {
@@ -1616,13 +1633,13 @@ if (!customElements.get("checkout-package-protection")) {
1616
1633
  if (s3 == "dangerouslySetInnerHTML") t2 = p2;
1617
1634
  else if (!(s3 in f2)) {
1618
1635
  if (s3 == "value" && "defaultValue" in f2 || s3 == "checked" && "defaultChecked" in f2) continue;
1619
- q(n2, s3, null, p2, r2);
1636
+ X(n2, s3, null, p2, r2);
1620
1637
  }
1621
1638
  }
1622
- for (s3 in f2) p2 = f2[s3], s3 == "children" ? m2 = p2 : s3 == "dangerouslySetInnerHTML" ? h2 = p2 : s3 == "value" ? b = p2 : s3 == "checked" ? y2 = p2 : d2 && typeof p2 != "function" || w2[s3] === p2 || q(n2, s3, p2, w2[s3], r2);
1639
+ for (s3 in f2) p2 = f2[s3], s3 == "children" ? m2 = p2 : s3 == "dangerouslySetInnerHTML" ? h2 = p2 : s3 == "value" ? b = p2 : s3 == "checked" ? y2 = p2 : d2 && typeof p2 != "function" || w2[s3] === p2 || X(n2, s3, p2, w2[s3], r2);
1623
1640
  if (h2) d2 || t2 && (h2.__html == t2.__html || h2.__html == n2.innerHTML) || (n2.innerHTML = h2.__html), e3.__k = [];
1624
1641
  else if (t2 && (n2.innerHTML = ""), _e(e3.type == "template" ? n2.content : n2, U(m2) ? m2 : [m2], e3, o3, a2, u2 == "foreignObject" ? "http://www.w3.org/1999/xhtml" : r2, l2, i3, l2 ? l2[0] : o3.__k && $2(o3, 0), d2, c2), l2 != null) for (s3 = l2.length; s3--; ) K(l2[s3]);
1625
- d2 || (s3 = "value", u2 == "progress" && b == null ? n2.removeAttribute("value") : b != null && (b !== n2[s3] || u2 == "progress" && !b || u2 == "option" && b != w2[s3]) && q(n2, s3, b, w2[s3], r2), s3 = "checked", y2 != null && y2 != n2[s3] && q(n2, s3, y2, w2[s3], r2));
1642
+ d2 || (s3 = "value", u2 == "progress" && b == null ? n2.removeAttribute("value") : b != null && (b !== n2[s3] || u2 == "progress" && !b || u2 == "option" && b != w2[s3]) && X(n2, s3, b, w2[s3], r2), s3 = "checked", y2 != null && y2 != n2[s3] && X(n2, s3, y2, w2[s3], r2));
1626
1643
  }
1627
1644
  return n2;
1628
1645
  }
@@ -1711,14 +1728,14 @@ if (!customElements.get("checkout-package-protection")) {
1711
1728
  }
1712
1729
  }
1713
1730
  })(window, document);
1714
- var L2, v2, Z2, ve, X = 0, xe = [], x2 = g2, ye = x2.__b, we = x2.__r, ke = x2.diffed, Ee = x2.__c, Se = x2.unmount, Pe = x2.__;
1731
+ var L2, v2, Z2, ve, q = 0, xe = [], x2 = g2, ye = x2.__b, we = x2.__r, ke = x2.diffed, Ee = x2.__c, Se = x2.unmount, Ce = x2.__;
1715
1732
  function ee(n2, e3) {
1716
- x2.__h && x2.__h(v2, n2, X || e3), X = 0;
1733
+ x2.__h && x2.__h(v2, n2, q || e3), q = 0;
1717
1734
  var o3 = v2.__H || (v2.__H = { __: [], __h: [] });
1718
1735
  return n2 >= o3.__.length && o3.__.push({}), o3.__[n2];
1719
1736
  }
1720
1737
  function D2(n2) {
1721
- return X = 1, We(He, n2);
1738
+ return q = 1, We(He, n2);
1722
1739
  }
1723
1740
  function We(n2, e3, o3) {
1724
1741
  var a2 = ee(L2++, 2);
@@ -1754,7 +1771,7 @@ if (!customElements.get("checkout-package-protection")) {
1754
1771
  }
1755
1772
  return a2.__N || a2.__;
1756
1773
  }
1757
- function Ce(n2, e3) {
1774
+ function Pe(n2, e3) {
1758
1775
  var o3 = ee(L2++, 3);
1759
1776
  !x2.__s && De(o3.__H, e3) && (o3.__ = n2, o3.u = e3, v2.__H.__h.push(o3));
1760
1777
  }
@@ -1763,7 +1780,7 @@ if (!customElements.get("checkout-package-protection")) {
1763
1780
  return De(o3.__H, e3) && (o3.__ = n2(), o3.__H = e3, o3.__h = n2), o3.__;
1764
1781
  }
1765
1782
  function Te(n2, e3) {
1766
- return X = 8, Fe(function() {
1783
+ return q = 8, Fe(function() {
1767
1784
  return n2;
1768
1785
  }, e3);
1769
1786
  }
@@ -1777,7 +1794,7 @@ if (!customElements.get("checkout-package-protection")) {
1777
1794
  x2.__b = function(n2) {
1778
1795
  v2 = null, ye && ye(n2);
1779
1796
  }, x2.__ = function(n2, e3) {
1780
- n2 && e3.__k && e3.__k.__m && (n2.__m = e3.__k.__m), Pe && Pe(n2, e3);
1797
+ n2 && e3.__k && e3.__k.__m && (n2.__m = e3.__k.__m), Ce && Ce(n2, e3);
1781
1798
  }, x2.__r = function(n2) {
1782
1799
  we && we(n2), L2 = 0;
1783
1800
  var e3 = (v2 = n2.__c).__H;
@@ -1836,7 +1853,7 @@ if (!customElements.get("checkout-package-protection")) {
1836
1853
  function He(n2, e3) {
1837
1854
  return typeof e3 == "function" ? e3(n2) : e3;
1838
1855
  }
1839
- const qe = `shipaid-global-modal {
1856
+ const Xe = `shipaid-global-modal {
1840
1857
  position: relative;
1841
1858
  }
1842
1859
 
@@ -1972,14 +1989,14 @@ if (!customElements.get("checkout-package-protection")) {
1972
1989
  /* Slide 1 */
1973
1990
 
1974
1991
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-one {
1975
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753374841/Instant_Package_Protection_6_dqrfzj.png');
1992
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1756301260/Cart%20Extension/1_wuoucw.png');
1976
1993
  background-size: cover;
1977
1994
  background-position: center;
1978
1995
  }
1979
1996
 
1980
1997
  /* Slide 2 */
1981
1998
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two {
1982
- background-image: url(https://res.cloudinary.com/shipaid/image/upload/v1753366834/Instant_Package_Protection_4_bdl2sq.png);
1999
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1754503970/Cart%20Extension/Instant_Package_Protection_4_bdl2sq.png');
1983
2000
  background-size: 121%;
1984
2001
  background-position: center 100%;
1985
2002
  background-repeat: no-repeat;
@@ -2051,7 +2068,7 @@ if (!customElements.get("checkout-package-protection")) {
2051
2068
  /* Slide 3 */
2052
2069
 
2053
2070
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three {
2054
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753371403/Instant_Package_Protection_3_cu2vin.png');
2071
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753371403/Cart%20Extension/Instant_Package_Protection_3_cu2vin.png');
2055
2072
  background-size: cover;
2056
2073
  background-position: center;
2057
2074
  background-repeat: no-repeat;
@@ -2133,7 +2150,7 @@ if (!customElements.get("checkout-package-protection")) {
2133
2150
  /* Slide 4 */
2134
2151
 
2135
2152
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four {
2136
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753375495/Instant_Package_Protection_2_svqyct.png');
2153
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753375495/Cart%20Extension/Instant_Package_Protection_2_svqyct.png');
2137
2154
  background-size: cover;
2138
2155
  background-position: center;
2139
2156
  background-repeat: no-repeat;
@@ -2278,7 +2295,7 @@ if (!customElements.get("checkout-package-protection")) {
2278
2295
  top: 3rem;
2279
2296
  }
2280
2297
 
2281
- }`, Xe = ({ children: n2, onClose: e3 }) => _2("div", { class: "shipaid-global-modal", children: [_2("style", { children: qe }), _2("div", { class: "modal-overlay", children: [_2("div", { class: "modal-content", onClick: e3, children: n2 }), _2("div", { class: "modal-close", onClick: e3, children: _2("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: [_2("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _2("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] })] }), Be = ({ onChange: n2, index: e3, maxSlides: o3 }) => _2("div", { className: "logo-arrows", children: _2("div", { className: "modal-arrows", children: [_2("button", { class: "modal-arrow modal-arrow-prev", type: "button", "aria-label": "Previous slide", onClick: () => {
2298
+ }`, qe = ({ children: n2, onClose: e3 }) => _2("div", { class: "shipaid-global-modal", children: [_2("style", { children: Xe }), _2("div", { class: "modal-overlay", children: [_2("div", { class: "modal-content", onClick: e3, children: n2 }), _2("div", { class: "modal-close", onClick: e3, children: _2("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: [_2("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _2("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] })] }), Be = ({ onChange: n2, index: e3, maxSlides: o3 }) => _2("div", { className: "logo-arrows", children: _2("div", { className: "modal-arrows", children: [_2("button", { class: "modal-arrow modal-arrow-prev", type: "button", "aria-label": "Previous slide", onClick: () => {
2282
2299
  e3 > 0 && n2(e3 - 1);
2283
2300
  }, className: e3 === 0 ? "disabled" : "", children: _2("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "#222", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: _2("polyline", { points: "15 18 9 12 15 6" }) }) }), _2("button", { class: "modal-arrow modal-arrow-next", type: "button", "aria-label": "Next slide", onClick: () => {
2284
2301
  e3 < 3 && n2(e3 + 1);
@@ -2292,8 +2309,8 @@ if (!customElements.get("checkout-package-protection")) {
2292
2309
  }, p2 = () => {
2293
2310
  l2(false), c2 > 50 && e3 > 0 ? o3(e3 - 1) : c2 < -50 && e3 < n2.length - 1 && o3(e3 + 1), s3(0);
2294
2311
  }, b = 1200, y2 = 400, [, w2] = D2(0), [f2, u2] = D2(false), H2 = (k2) => {
2295
- f2 || Math.abs(k2.deltaX) > Math.abs(k2.deltaY) && (k2.preventDefault(), w2((P2) => {
2296
- const E2 = P2 + k2.deltaX;
2312
+ f2 || Math.abs(k2.deltaX) > Math.abs(k2.deltaY) && (k2.preventDefault(), w2((C2) => {
2313
+ const E2 = C2 + k2.deltaX;
2297
2314
  return E2 < -b && e3 > 0 ? (o3(e3 - 1), S2(), 0) : E2 > b && e3 < n2.length - 1 ? (o3(e3 + 1), S2(), 0) : E2;
2298
2315
  }));
2299
2316
  }, S2 = () => {
@@ -2301,10 +2318,10 @@ if (!customElements.get("checkout-package-protection")) {
2301
2318
  u2(false);
2302
2319
  }, y2);
2303
2320
  };
2304
- return _2("div", { className: "modal-boxes-container", onClick: a2, children: [_2(Be, { onChange: o3, index: e3, maxSlides: n2.length - 1 }), _2("div", { className: "modal-boxes-wrapper", style: { transform: `translateX(calc(-${e3 * 380}px + ${c2}px))`, transition: r2 ? "none" : "transform 0.3s ease", overscrollBehavior: "none", touchAction: "none", userSelect: "none" }, onPointerDown: t2, onPointerMove: m2, onPointerUp: p2, onWheel: H2, children: n2.map((k2, P2) => _2(Re, { children: k2 }, P2)) })] });
2305
- }, Ye = () => _2("div", { class: "slide slide-one" }), Ge = () => _2("div", { class: "slide slide-two", children: [_2("p", { class: "title", children: "SHIPAID" }), _2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), _2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), _2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), _2("div", { class: "footer", children: [_2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), _2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), _2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => _2("div", { class: "slide slide-three", children: [_2("p", { class: "title", children: "1 Order = 1 Tree" }), _2("div", { class: "info-bg", children: _2("div", { class: "info-section", children: [_2("div", { class: "info-left", children: [_2("p", { class: "info-title", children: "Protect your order & the environment" }), _2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), _2("div", { class: "info-right", children: [_2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753199774/Logo-tree_uz4fzn.svg", alt: "ShipAid Green Logo" }), _2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => _2("div", { class: "slide slide-four", children: [_2("div", { class: "content", children: [_2("p", { class: "title", children: "Kenya Mangroves" }), _2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), _2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", _2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), _2("div", { class: "footer", children: [_2("p", { children: "Powered by" }), _2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753376903/Copy_of_GoodAPI_Updated_Logo_zn8wuq.png", alt: "GoodAPI Logo" })] })] }), Qe = ({ carouselType: n2, open: e3 }) => {
2321
+ return _2("div", { className: "modal-boxes-container", onClick: a2, children: [_2(Be, { onChange: o3, index: e3, maxSlides: n2.length - 1 }), _2("div", { className: "modal-boxes-wrapper", style: { transform: `translateX(calc(-${e3 * 380}px + ${c2}px))`, transition: r2 ? "none" : "transform 0.3s ease", overscrollBehavior: "none", touchAction: "none", userSelect: "none" }, onPointerDown: t2, onPointerMove: m2, onPointerUp: p2, onWheel: H2, children: n2.map((k2, C2) => _2(Re, { children: k2 }, C2)) })] });
2322
+ }, Ye = () => _2("div", { class: "slide slide-one" }), Ge = () => _2("div", { class: "slide slide-two", children: [_2("p", { class: "title", children: "SHIPAID" }), _2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), _2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), _2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), _2("div", { class: "footer", children: [_2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), _2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), _2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => _2("div", { class: "slide slide-three", children: [_2("p", { class: "title", children: "1 Order = 1 Tree" }), _2("div", { class: "info-bg", children: _2("div", { class: "info-section", children: [_2("div", { class: "info-left", children: [_2("p", { class: "info-title", children: "Protect your order & the environment" }), _2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), _2("div", { class: "info-right", children: [_2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753199774/Cart%20Extension/Logo-tree_uz4fzn.svg", alt: "ShipAid Green Logo" }), _2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => _2("div", { class: "slide slide-four", children: [_2("div", { class: "content", children: [_2("p", { class: "title", children: "Kenya Mangroves" }), _2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), _2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", _2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), _2("div", { class: "footer", children: [_2("p", { children: "Powered by" }), _2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753376903/Cart%20Extension/Copy_of_GoodAPI_Updated_Logo_zn8wuq.png", alt: "GoodAPI Logo" })] })] }), Qe = ({ carouselType: n2, open: e3 }) => {
2306
2323
  const [o3, a2] = D2(e3), [r2, l2] = D2(0), i3 = [_2(Ye, {}), _2(Ge, {}), ...n2 === "green-protection" ? [_2(Ke, {}), _2(Je, {})] : []];
2307
- Ce(() => {
2324
+ Pe(() => {
2308
2325
  const t2 = () => {
2309
2326
  window.dispatchEvent(new Event("shipaid:modal-opened")), a2(true);
2310
2327
  };
@@ -2325,12 +2342,12 @@ if (!customElements.get("checkout-package-protection")) {
2325
2342
  }, [o3, r2]), h2 = Te(() => {
2326
2343
  o3 && r2 < i3.length - 1 && c2(r2 + 1);
2327
2344
  }, [o3, r2]);
2328
- return Ce(() => {
2345
+ return Pe(() => {
2329
2346
  const t2 = () => s3(), m2 = () => h2();
2330
2347
  return document.addEventListener("swiped-right", t2), document.addEventListener("swiped-left", m2), () => {
2331
2348
  document.removeEventListener("swiped-right", t2), document.removeEventListener("swiped-left", m2);
2332
2349
  };
2333
- }, [h2, s3]), _2("div", { class: o3 ? "" : "global-modal-hidden", children: _2(Xe, { onClose: d2, children: _2(Ve, { slides: i3, slideIndex: r2, onSlideIndexChange: (t2) => c2(t2), onClose: d2 }) }) });
2350
+ }, [h2, s3]), _2("div", { class: o3 ? "" : "global-modal-hidden", children: _2(qe, { onClose: d2, children: _2(Ve, { slides: i3, slideIndex: r2, onSlideIndexChange: (t2) => c2(t2), onClose: d2 }) }) });
2334
2351
  };
2335
2352
  class Ze extends HTMLElement {
2336
2353
  constructor() {
@@ -2607,6 +2624,27 @@ const CheckmarkIcon = x`
2607
2624
  />
2608
2625
  </svg>
2609
2626
  `;
2627
+ x`
2628
+ <svg
2629
+ id="Layer_1"
2630
+ data-name="Layer 1"
2631
+ xmlns="http://www.w3.org/2000/svg"
2632
+ viewBox="0 0 2000 1298.39"
2633
+ >
2634
+ <defs>
2635
+ <style>
2636
+ .cls-1 {
2637
+ fill: #406c20;
2638
+ }
2639
+ </style>
2640
+ </defs>
2641
+ <path
2642
+ class="cls-1"
2643
+ d="M1991.63,669.27,1443.91,353.05a16.74,16.74,0,0,0-16.74,0l-418.8,241.79a16.74,16.74,0,0,1-16.74,0L572.83,353.05a16.74,16.74,0,0,0-16.74,0L8.37,669.27A16.74,16.74,0,0,0,0,683.77v632.46a16.74,16.74,0,0,0,8.37,14.5L556.09,1647a16.74,16.74,0,0,0,16.74,0l418.8-241.79a16.74,16.74,0,0,1,16.74,0L1427.17,1647a16.74,16.74,0,0,0,16.74,0l547.72-316.22a16.74,16.74,0,0,0,8.37-14.5V683.77A16.74,16.74,0,0,0,1991.63,669.27Zm-1645.76,54L556.09,601.92a16.74,16.74,0,0,1,16.74,0L783.05,723.3a16.73,16.73,0,0,1,0,29L572.83,873.65a16.74,16.74,0,0,1-16.74,0L345.87,752.28A16.73,16.73,0,0,1,345.87,723.3Zm1308.26,553.4-210.22,121.38a16.74,16.74,0,0,1-16.74,0L1217,1276.7a16.73,16.73,0,0,1,0-29l210.22-121.37a16.74,16.74,0,0,1,16.74,0l210.22,121.37A16.73,16.73,0,0,1,1654.13,1276.7Zm112.19-239.91a16.73,16.73,0,0,1-25.1,14.49L1443.91,879.63a16.74,16.74,0,0,0-16.74,0L572.83,1373.12a16.74,16.74,0,0,1-16.74,0l-314-181.31a16.74,16.74,0,0,1-8.37-14.5V963.21a16.73,16.73,0,0,1,25.1-14.49l297.31,171.65a16.74,16.74,0,0,0,16.74,0l854.34-493.49a16.74,16.74,0,0,1,16.74,0l314,181.31a16.74,16.74,0,0,1,8.37,14.5Z"
2644
+ transform="translate(0 -350.8)"
2645
+ />
2646
+ </svg>
2647
+ `;
2610
2648
  const ShipAidLogo = x`
2611
2649
  <svg
2612
2650
  id="Layer_1"
@@ -2628,6 +2666,28 @@ const ShipAidLogo = x`
2628
2666
  />
2629
2667
  </svg>
2630
2668
  `;
2669
+ x`
2670
+ <svg
2671
+ version="1.0"
2672
+ width="2rem"
2673
+ height="2rem"
2674
+ viewBox="0 0 500.000000 500.000000"
2675
+ preserveAspectRatio="xMidYMid meet"
2676
+ >
2677
+ <g
2678
+ transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2679
+ fill="#0056d6"
2680
+ stroke="none"
2681
+ >
2682
+ <path
2683
+ d="M2465 4855 c-5 -2 -446 -142 -979 -312 -534 -169 -984 -317 -1000 -328 -17 -11 -41 -36 -54 -55 -24 -35 -24 -37 -18 -210 9 -274 84 -1236 170 -2176 37 -401 43 -430 103 -489 25 -24 1389 -912 1702 -1107 93 -59 125 -61 202 -15 30 18 429 275 888 572 647 418 840 547 862 578 15 21 32 62 38 90 16 83 148 1610 191 2202 11 160 21 342 23 405 2 104 0 118 -21 151 -12 21 -34 45 -49 54 -34 23 -1989 645 -2022 644 -14 0 -30 -2 -36 -4z m135 -345 c30 -11 393 -125 805 -255 413 -130 768 -242 791 -250 22 -9 54 -29 70 -46 l29 -30 -1 -182 c-1 -218 -36 -669 -135 -1747 -42 -461 -47 -488 -95 -532 -11 -9 -359 -235 -774 -503 -714 -460 -757 -486 -795 -483 -33 3 -167 85 -775 477 -404 260 -750 484 -768 498 -47 35 -70 89 -81 190 -25 219 -118 1328 -151 1781 -26 368 -26 467 0 509 10 18 29 39 42 47 13 8 374 126 803 261 429 135 812 257 850 270 75 27 95 26 185 -5z"
2684
+ />
2685
+ <path
2686
+ d="M2340 3816 c-252 -140 -776 -446 -797 -465 -17 -14 -23 -31 -23 -61 0 -30 6 -47 23 -62 26 -23 775 -457 862 -499 33 -16 76 -29 95 -29 48 0 90 22 440 224 l305 176 3 -427 c1 -235 -1 -430 -5 -434 -5 -4 -161 -96 -348 -204 l-340 -196 -60 3 c-58 4 -75 12 -388 192 -251 144 -331 195 -342 217 -12 22 -15 79 -15 291 0 145 -4 268 -8 275 -13 20 -253 153 -278 153 -13 0 -28 -9 -34 -19 -17 -32 -14 -843 4 -884 12 -28 75 -68 507 -317 l494 -285 65 0 65 0 495 286 c481 278 495 287 508 324 10 30 12 167 10 616 -3 548 -4 578 -22 598 -30 33 -297 183 -317 178 -9 -3 -138 -74 -286 -160 -393 -227 -401 -230 -466 -225 -45 4 -78 18 -200 89 -144 82 -164 101 -153 137 3 9 75 56 159 105 141 81 156 87 207 87 43 0 66 -7 105 -30 28 -16 60 -30 71 -30 23 0 236 119 268 150 34 33 13 54 -157 153 -291 169 -278 167 -447 73z"
2687
+ />
2688
+ </g>
2689
+ </svg>
2690
+ `;
2631
2691
  const ShipAidLogoText = x`
2632
2692
  <svg
2633
2693
  width="50.000000pt"
@@ -2713,6 +2773,271 @@ const ShipAidLogoText = x`
2713
2773
  </g>
2714
2774
  </svg>
2715
2775
  `;
2776
+ x`
2777
+ <svg
2778
+ viewBox="-25 -40 470 125"
2779
+ version="1.1"
2780
+ xml:space="preserve"
2781
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
2782
+ >
2783
+ <g transform="matrix(1,0,0,1,-45.4439,-231.396)">
2784
+ <g transform="matrix(1,0,0,1,41.8553,292.5)">
2785
+ <g>
2786
+ <path
2787
+ d="M25.484,0.536C36.161,0.536 47.828,-4.755 47.646,-17.047C47.646,-37.958 14.089,-31.047 14.177,-43.427C14.089,-47.646 18.036,-51.328 25.125,-51.328C31.318,-51.328 34.724,-50.068 39.302,-47.646C40.021,-47.286 40.828,-47.021 41.547,-47.021C43.88,-47.021 46.12,-48.995 46.12,-51.505C46.214,-53.391 45.047,-54.734 43.88,-55.453C39.75,-58.234 31.854,-61.104 25.125,-61.104C13.729,-61.104 3.589,-55.094 3.589,-42.979C3.589,-20.995 37.146,-27.906 37.146,-16.333C37.146,-11.932 32.214,-8.885 25.036,-9.062C19.474,-9.151 15.432,-11.036 11.667,-12.922C10.859,-13.37 9.87,-13.547 9.422,-13.547C6.911,-13.547 4.484,-11.484 4.396,-8.526C4.307,-6.729 5.385,-5.292 6.818,-4.307C10.766,-1.703 18.125,0.63 25.484,0.536Z"
2788
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2789
+ />
2790
+ </g>
2791
+ </g>
2792
+ <g transform="matrix(1,0,0,1,111.569,292.5)">
2793
+ <g>
2794
+ <path
2795
+ d="M48.901,-60.656C45.943,-60.656 43.609,-58.234 43.609,-55.365L43.609,-34.547L16.87,-34.547L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-24.943L43.609,-24.943L43.609,-5.292C43.609,-2.333 45.943,0 48.901,0C51.776,0 54.198,-2.333 54.198,-5.292L54.198,-55.365C54.198,-58.234 51.776,-60.656 48.901,-60.656Z"
2796
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2797
+ />
2798
+ </g>
2799
+ </g>
2800
+ <g transform="matrix(1,0,0,1,190.435,292.5)">
2801
+ <g>
2802
+ <path
2803
+ d="M11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0Z"
2804
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2805
+ />
2806
+ </g>
2807
+ </g>
2808
+ <g transform="matrix(1,0,0,1,232.067,292.5)">
2809
+ <g>
2810
+ <path
2811
+ d="M25.125,-60.656L11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-23.151L25.125,-23.151C35.714,-23.151 44.328,-30.865 44.328,-41.906C44.328,-52.849 35.714,-60.656 25.125,-60.656ZM24.766,-32.844L16.87,-32.844L16.87,-50.969L24.766,-50.969C29.703,-50.969 33.74,-47.198 33.74,-41.906C33.74,-36.521 29.703,-32.844 24.766,-32.844Z"
2812
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2813
+ />
2814
+ </g>
2815
+ </g>
2816
+ <g transform="matrix(1,0,0,1,298.418,292.5)">
2817
+ <g>
2818
+ <path
2819
+ d="M54.198,-4.844L32.214,-58.417C31.583,-59.849 30.151,-60.839 28.536,-60.745C26.917,-60.839 25.396,-59.849 24.854,-58.417L2.87,-4.844C2.063,-2.87 3.052,-0.63 4.938,0.089C6.729,0.896 9.063,0.177 9.87,-1.974L15.255,-15.344L41.724,-15.344L47.109,-1.974C47.917,-0.089 50.161,0.99 52.135,0.089C54.016,-0.63 54.917,-2.964 54.198,-4.844ZM18.125,-22.432L28.536,-48.276L38.854,-22.432L18.125,-22.432Z"
2820
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2821
+ />
2822
+ </g>
2823
+ </g>
2824
+ <g transform="matrix(1,0,0,1,373.874,292.5)">
2825
+ <g>
2826
+ <path
2827
+ d="M10.318,0C12.474,0 14.177,-1.703 14.177,-3.859L14.177,-56.797C14.177,-58.865 12.474,-60.656 10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0Z"
2828
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2829
+ />
2830
+ </g>
2831
+ </g>
2832
+ <g transform="matrix(1,0,0,1,412.904,292.5)">
2833
+ <g>
2834
+ <path
2835
+ d="M24.854,-60.656L10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0L24.854,0C41.724,0 55.005,-12.38 55.005,-30.328C55.005,-48.187 41.724,-60.656 24.854,-60.656ZM24.854,-7.089L14.177,-7.089L14.177,-53.568L24.854,-53.568C37.417,-53.568 47.286,-44.057 47.286,-30.328C47.286,-16.51 37.417,-7.089 24.854,-7.089Z"
2836
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2837
+ />
2838
+ </g>
2839
+ </g>
2840
+ <path
2841
+ d="M255.854,234.453C247.292,234.453 240.354,241.391 240.354,249.953C240.354,258.51 247.292,265.453 255.854,265.453C264.417,265.453 271.354,258.51 271.354,249.953C271.354,241.391 264.417,234.453 255.854,234.453ZM253.01,257.911L246.188,251.089L248.458,248.813L253.01,253.365L263.25,243.125L265.521,245.401L253.01,257.911Z"
2842
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2843
+ />
2844
+ <path
2845
+ d="M270.385,238.443L256.297,233.974C256.005,233.88 255.698,233.88 255.406,233.974L241.318,238.443C240.745,238.599 240.354,239.12 240.354,239.714C240.552,244.578 241.917,259.135 241.917,259.135C241.958,259.693 242.26,260.193 242.729,260.5L255.365,268.646C255.661,268.833 256.042,268.833 256.339,268.646L268.974,260.5C269.443,260.193 269.745,259.693 269.786,259.135C269.786,259.135 271.151,244.578 271.349,239.714C271.349,239.12 270.958,238.599 270.385,238.443"
2846
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2847
+ />
2848
+ <path
2849
+ d="M266.224,245.536C266.167,245.427 266.094,245.323 265.938,245.24L263.719,243.922C263.688,243.901 263.656,243.885 263.62,243.88C263.609,243.875 263.599,243.875 263.589,243.875C263.563,243.87 263.542,243.865 263.516,243.865C263.448,243.87 263.385,243.885 263.328,243.922L258.339,246.896L258.333,246.885L257.932,247.125C257.448,247.417 256.849,247.417 256.365,247.125L254.182,245.823C254.063,245.755 253.984,245.62 253.984,245.474C253.984,245.328 254.063,245.198 254.182,245.125L256.365,243.823C256.849,243.536 257.448,243.536 257.932,243.823L258.458,244.135C258.578,244.208 258.724,244.208 258.849,244.135L260.88,242.927C261,242.854 261.073,242.724 261.073,242.578C261.073,242.432 261,242.297 260.88,242.224L257.932,240.469C257.448,240.182 256.849,240.182 256.365,240.469L249.141,244.776C248.62,245.083 248.62,245.865 249.141,246.177L256.365,250.479C256.849,250.771 257.448,250.771 257.932,250.479L263.516,247.151L263.516,254.734L261.719,255.807L257.932,258.073C257.813,258.141 257.682,258.198 257.547,258.234C257.151,258.344 256.724,258.286 256.365,258.073L251.172,254.979C250.927,254.833 250.781,254.563 250.781,254.276L250.781,249.854C250.781,249.714 250.703,249.578 250.583,249.505L248.552,248.297C248.432,248.224 248.281,248.224 248.161,248.297C248.042,248.37 247.964,248.5 247.964,248.646L247.964,255.953C247.964,256.245 248.115,256.51 248.359,256.656L256.365,261.427C256.599,261.568 256.865,261.641 257.135,261.641L257.141,261.641C257.177,261.641 257.219,261.641 257.255,261.635C257.286,261.635 257.318,261.635 257.344,261.63C257.385,261.625 257.427,261.615 257.464,261.604C257.495,261.599 257.521,261.599 257.547,261.589C257.589,261.578 257.63,261.563 257.672,261.547C257.698,261.536 257.719,261.531 257.74,261.521C257.807,261.495 257.87,261.464 257.932,261.427L264.839,257.307L265.932,256.667C266.177,256.526 266.328,256.255 266.328,255.964L266.328,245.943C266.328,245.797 266.292,245.656 266.224,245.536"
2850
+ style="fill:white;fill-rule:nonzero;"
2851
+ />
2852
+ <path
2853
+ d="M257.911,238.047C257.677,237.911 257.417,237.833 257.146,237.833C256.88,237.833 256.615,237.911 256.38,238.047L246.734,243.797C246.25,244.089 245.953,244.62 245.953,245.198L245.953,256.698C245.953,257.276 246.25,257.807 246.734,258.094L256.38,263.844C256.62,263.99 256.885,264.063 257.156,264.063C257.432,264.063 257.698,263.99 257.932,263.849L267.536,258.12C268.021,257.833 268.323,257.302 268.323,256.724L268.323,253.401C268.318,253.255 268.396,253.125 268.516,253.052L270.563,251.833C270.682,251.76 270.828,251.76 270.953,251.833C271.073,251.906 271.146,252.036 271.146,252.182L271.146,258.37C271.146,258.635 271.083,258.896 270.964,259.13C270.932,259.281 270.771,259.458 270.542,259.646C270.536,259.651 270.531,259.651 270.526,259.656C269.948,260.12 268.995,260.599 268.823,260.703L257.932,267.193C257.693,267.339 257.411,267.411 257.13,267.411L257.12,267.411L257.12,267.406C256.859,267.401 256.604,267.328 256.38,267.193L243.927,259.771C243.443,259.479 243.146,258.948 243.146,258.37L243.146,243.526C243.146,243.266 243.177,243 243.286,242.776C243.302,242.719 243.453,242.432 243.766,242.198C243.885,242.12 244.089,242.01 244.286,241.891L256.349,234.703C256.589,234.557 256.865,234.484 257.146,234.49C257.427,234.484 257.703,234.557 257.948,234.703L269.078,241.339C269.104,241.354 269.12,241.37 269.146,241.391L269.286,241.474C269.661,241.682 270.255,241.995 270.578,242.25L270.604,242.271C270.609,242.271 270.615,242.276 270.62,242.276C270.63,242.286 270.635,242.297 270.646,242.307C270.766,242.411 270.865,242.531 270.943,242.661C270.948,242.667 270.948,242.667 270.948,242.672C271.078,242.896 271.146,243.151 271.146,243.411L271.146,248.849C271.146,248.995 271.073,249.125 270.953,249.198L268.906,250.417C268.786,250.49 268.635,250.49 268.516,250.417C268.396,250.344 268.318,250.214 268.318,250.068L268.318,245.167C268.318,244.589 268.021,244.052 267.536,243.766L257.911,238.047Z"
2854
+ style="fill:rgb(0,86,214);fill-rule:nonzero;"
2855
+ />
2856
+ </g>
2857
+ </svg>
2858
+ `;
2859
+ x`
2860
+ <svg
2861
+ viewBox="-25 -40 470 125"
2862
+ version="1.1"
2863
+ xml:space="preserve"
2864
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
2865
+ >
2866
+ <g transform="matrix(1,0,0,1,-45.4439,-231.396)">
2867
+ <g transform="matrix(1,0,0,1,41.8553,292.5)">
2868
+ <g>
2869
+ <path
2870
+ d="M25.484,0.536C36.161,0.536 47.828,-4.755 47.646,-17.047C47.646,-37.958 14.089,-31.047 14.177,-43.427C14.089,-47.646 18.036,-51.328 25.125,-51.328C31.318,-51.328 34.724,-50.068 39.302,-47.646C40.021,-47.286 40.828,-47.021 41.547,-47.021C43.88,-47.021 46.12,-48.995 46.12,-51.505C46.214,-53.391 45.047,-54.734 43.88,-55.453C39.75,-58.234 31.854,-61.104 25.125,-61.104C13.729,-61.104 3.589,-55.094 3.589,-42.979C3.589,-20.995 37.146,-27.906 37.146,-16.333C37.146,-11.932 32.214,-8.885 25.036,-9.062C19.474,-9.151 15.432,-11.036 11.667,-12.922C10.859,-13.37 9.87,-13.547 9.422,-13.547C6.911,-13.547 4.484,-11.484 4.396,-8.526C4.307,-6.729 5.385,-5.292 6.818,-4.307C10.766,-1.703 18.125,0.63 25.484,0.536Z"
2871
+ style="fill: #406c20;fill-rule:nonzero;"
2872
+ />
2873
+ </g>
2874
+ </g>
2875
+ <g transform="matrix(1,0,0,1,111.569,292.5)">
2876
+ <g>
2877
+ <path
2878
+ d="M48.901,-60.656C45.943,-60.656 43.609,-58.234 43.609,-55.365L43.609,-34.547L16.87,-34.547L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-24.943L43.609,-24.943L43.609,-5.292C43.609,-2.333 45.943,0 48.901,0C51.776,0 54.198,-2.333 54.198,-5.292L54.198,-55.365C54.198,-58.234 51.776,-60.656 48.901,-60.656Z"
2879
+ style="fill: #406c20;fill-rule:nonzero;"
2880
+ />
2881
+ </g>
2882
+ </g>
2883
+ <g transform="matrix(1,0,0,1,190.435,292.5)">
2884
+ <g>
2885
+ <path
2886
+ d="M11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0Z"
2887
+ style="fill: #406c20;fill-rule:nonzero;"
2888
+ />
2889
+ </g>
2890
+ </g>
2891
+ <g transform="matrix(1,0,0,1,232.067,292.5)">
2892
+ <g>
2893
+ <path
2894
+ d="M25.125,-60.656L11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-23.151L25.125,-23.151C35.714,-23.151 44.328,-30.865 44.328,-41.906C44.328,-52.849 35.714,-60.656 25.125,-60.656ZM24.766,-32.844L16.87,-32.844L16.87,-50.969L24.766,-50.969C29.703,-50.969 33.74,-47.198 33.74,-41.906C33.74,-36.521 29.703,-32.844 24.766,-32.844Z"
2895
+ style="fill: #406c20;fill-rule:nonzero;"
2896
+ />
2897
+ </g>
2898
+ </g>
2899
+ <g transform="matrix(1,0,0,1,298.418,292.5)">
2900
+ <g>
2901
+ <path
2902
+ d="M54.198,-4.844L32.214,-58.417C31.583,-59.849 30.151,-60.839 28.536,-60.745C26.917,-60.839 25.396,-59.849 24.854,-58.417L2.87,-4.844C2.063,-2.87 3.052,-0.63 4.938,0.089C6.729,0.896 9.063,0.177 9.87,-1.974L15.255,-15.344L41.724,-15.344L47.109,-1.974C47.917,-0.089 50.161,0.99 52.135,0.089C54.016,-0.63 54.917,-2.964 54.198,-4.844ZM18.125,-22.432L28.536,-48.276L38.854,-22.432L18.125,-22.432Z"
2903
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2904
+ />
2905
+ </g>
2906
+ </g>
2907
+ <g transform="matrix(1,0,0,1,373.874,292.5)">
2908
+ <g>
2909
+ <path
2910
+ d="M10.318,0C12.474,0 14.177,-1.703 14.177,-3.859L14.177,-56.797C14.177,-58.865 12.474,-60.656 10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0Z"
2911
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2912
+ />
2913
+ </g>
2914
+ </g>
2915
+ <g transform="matrix(1,0,0,1,412.904,292.5)">
2916
+ <g>
2917
+ <path
2918
+ d="M24.854,-60.656L10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0L24.854,0C41.724,0 55.005,-12.38 55.005,-30.328C55.005,-48.187 41.724,-60.656 24.854,-60.656ZM24.854,-7.089L14.177,-7.089L14.177,-53.568L24.854,-53.568C37.417,-53.568 47.286,-44.057 47.286,-30.328C47.286,-16.51 37.417,-7.089 24.854,-7.089Z"
2919
+ style="fill:rgb(47,52,61);fill-rule:nonzero;"
2920
+ />
2921
+ </g>
2922
+ </g>
2923
+ <path
2924
+ d="M255.854,234.453C247.292,234.453 240.354,241.391 240.354,249.953C240.354,258.51 247.292,265.453 255.854,265.453C264.417,265.453 271.354,258.51 271.354,249.953C271.354,241.391 264.417,234.453 255.854,234.453ZM253.01,257.911L246.188,251.089L248.458,248.813L253.01,253.365L263.25,243.125L265.521,245.401L253.01,257.911Z"
2925
+ style="fill: #406c20;fill-rule:nonzero;"
2926
+ />
2927
+ <path
2928
+ d="M270.385,238.443L256.297,233.974C256.005,233.88 255.698,233.88 255.406,233.974L241.318,238.443C240.745,238.599 240.354,239.12 240.354,239.714C240.552,244.578 241.917,259.135 241.917,259.135C241.958,259.693 242.26,260.193 242.729,260.5L255.365,268.646C255.661,268.833 256.042,268.833 256.339,268.646L268.974,260.5C269.443,260.193 269.745,259.693 269.786,259.135C269.786,259.135 271.151,244.578 271.349,239.714C271.349,239.12 270.958,238.599 270.385,238.443"
2929
+ style="fill: #406c20;fill-rule:nonzero;"
2930
+ />
2931
+ <path
2932
+ d="M266.224,245.536C266.167,245.427 266.094,245.323 265.938,245.24L263.719,243.922C263.688,243.901 263.656,243.885 263.62,243.88C263.609,243.875 263.599,243.875 263.589,243.875C263.563,243.87 263.542,243.865 263.516,243.865C263.448,243.87 263.385,243.885 263.328,243.922L258.339,246.896L258.333,246.885L257.932,247.125C257.448,247.417 256.849,247.417 256.365,247.125L254.182,245.823C254.063,245.755 253.984,245.62 253.984,245.474C253.984,245.328 254.063,245.198 254.182,245.125L256.365,243.823C256.849,243.536 257.448,243.536 257.932,243.823L258.458,244.135C258.578,244.208 258.724,244.208 258.849,244.135L260.88,242.927C261,242.854 261.073,242.724 261.073,242.578C261.073,242.432 261,242.297 260.88,242.224L257.932,240.469C257.448,240.182 256.849,240.182 256.365,240.469L249.141,244.776C248.62,245.083 248.62,245.865 249.141,246.177L256.365,250.479C256.849,250.771 257.448,250.771 257.932,250.479L263.516,247.151L263.516,254.734L261.719,255.807L257.932,258.073C257.813,258.141 257.682,258.198 257.547,258.234C257.151,258.344 256.724,258.286 256.365,258.073L251.172,254.979C250.927,254.833 250.781,254.563 250.781,254.276L250.781,249.854C250.781,249.714 250.703,249.578 250.583,249.505L248.552,248.297C248.432,248.224 248.281,248.224 248.161,248.297C248.042,248.37 247.964,248.5 247.964,248.646L247.964,255.953C247.964,256.245 248.115,256.51 248.359,256.656L256.365,261.427C256.599,261.568 256.865,261.641 257.135,261.641L257.141,261.641C257.177,261.641 257.219,261.641 257.255,261.635C257.286,261.635 257.318,261.635 257.344,261.63C257.385,261.625 257.427,261.615 257.464,261.604C257.495,261.599 257.521,261.599 257.547,261.589C257.589,261.578 257.63,261.563 257.672,261.547C257.698,261.536 257.719,261.531 257.74,261.521C257.807,261.495 257.87,261.464 257.932,261.427L264.839,257.307L265.932,256.667C266.177,256.526 266.328,256.255 266.328,255.964L266.328,245.943C266.328,245.797 266.292,245.656 266.224,245.536"
2933
+ style="fill:white;fill-rule:nonzero;"
2934
+ />
2935
+ <path
2936
+ d="M257.911,238.047C257.677,237.911 257.417,237.833 257.146,237.833C256.88,237.833 256.615,237.911 256.38,238.047L246.734,243.797C246.25,244.089 245.953,244.62 245.953,245.198L245.953,256.698C245.953,257.276 246.25,257.807 246.734,258.094L256.38,263.844C256.62,263.99 256.885,264.063 257.156,264.063C257.432,264.063 257.698,263.99 257.932,263.849L267.536,258.12C268.021,257.833 268.323,257.302 268.323,256.724L268.323,253.401C268.318,253.255 268.396,253.125 268.516,253.052L270.563,251.833C270.682,251.76 270.828,251.76 270.953,251.833C271.073,251.906 271.146,252.036 271.146,252.182L271.146,258.37C271.146,258.635 271.083,258.896 270.964,259.13C270.932,259.281 270.771,259.458 270.542,259.646C270.536,259.651 270.531,259.651 270.526,259.656C269.948,260.12 268.995,260.599 268.823,260.703L257.932,267.193C257.693,267.339 257.411,267.411 257.13,267.411L257.12,267.411L257.12,267.406C256.859,267.401 256.604,267.328 256.38,267.193L243.927,259.771C243.443,259.479 243.146,258.948 243.146,258.37L243.146,243.526C243.146,243.266 243.177,243 243.286,242.776C243.302,242.719 243.453,242.432 243.766,242.198C243.885,242.12 244.089,242.01 244.286,241.891L256.349,234.703C256.589,234.557 256.865,234.484 257.146,234.49C257.427,234.484 257.703,234.557 257.948,234.703L269.078,241.339C269.104,241.354 269.12,241.37 269.146,241.391L269.286,241.474C269.661,241.682 270.255,241.995 270.578,242.25L270.604,242.271C270.609,242.271 270.615,242.276 270.62,242.276C270.63,242.286 270.635,242.297 270.646,242.307C270.766,242.411 270.865,242.531 270.943,242.661C270.948,242.667 270.948,242.667 270.948,242.672C271.078,242.896 271.146,243.151 271.146,243.411L271.146,248.849C271.146,248.995 271.073,249.125 270.953,249.198L268.906,250.417C268.786,250.49 268.635,250.49 268.516,250.417C268.396,250.344 268.318,250.214 268.318,250.068L268.318,245.167C268.318,244.589 268.021,244.052 267.536,243.766L257.911,238.047Z"
2937
+ style="fill: #406c20;fill-rule:nonzero;"
2938
+ />
2939
+ </g>
2940
+ </svg>
2941
+ `;
2942
+ x`
2943
+ <svg
2944
+ version="1.0"
2945
+ viewBox="0 0 500.000000 500.000000"
2946
+ preserveAspectRatio="xMidYMid meet"
2947
+ >
2948
+ <g
2949
+ transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2950
+ fill="#0056d6"
2951
+ stroke="none"
2952
+ >
2953
+ <path
2954
+ d="M2157 4460 c-66 -17 -120 -51 -194 -121 -84 -82 -151 -115 -255 -129 -94 -12 -155 -38 -213 -91 -56 -52 -90 -107 -106 -174 -6 -27 -25 -76 -42 -108 -30 -57 -51 -78 -167 -170 -39 -31 -64 -61 -88 -108 -42 -81 -49 -147 -29 -264 18 -109 10 -179 -28 -255 -45 -89 -56 -131 -56 -212 -1 -93 18 -141 96 -242 69 -91 85 -135 94 -271 9 -127 28 -180 87 -245 46 -50 87 -78 167 -109 78 -32 146 -96 190 -178 46 -87 106 -149 176 -182 51 -24 68 -26 199 -28 138 -1 145 -3 205 -32 34 -17 82 -44 107 -61 25 -16 74 -37 110 -46 94 -24 171 -8 281 57 112 66 141 73 276 65 92 -5 121 -3 171 12 85 27 147 74 192 146 94 149 120 173 237 222 175 72 236 160 253 361 10 119 33 174 105 256 116 132 132 265 53 428 -40 83 -49 194 -23 299 33 133 -6 256 -110 345 -144 124 -170 161 -200 276 -44 169 -146 261 -320 289 -102 16 -148 41 -239 128 -95 92 -115 105 -186 126 -75 22 -137 20 -226 -9 -105 -34 -200 -34 -291 1 -76 28 -169 38 -226 24z m458 -430 c50 -6 126 -19 170 -31 100 -25 279 -112 366 -178 82 -62 202 -188 252 -264 248 -375 247 -855 -3 -1228 -54 -80 -206 -232 -285 -284 -136 -90 -286 -150 -439 -176 -105 -18 -351 -6 -451 21 -478 129 -815 565 -815 1055 0 484 328 918 795 1050 144 41 265 51 410 35z"
2955
+ />
2956
+ <path
2957
+ d="M3045 3470 c-16 -4 -39 -11 -50 -18 -11 -6 -155 -159 -320 -341 -165 -181 -305 -330 -310 -330 -6 -1 -73 51 -150 115 -77 64 -156 123 -175 131 -67 29 -145 5 -194 -61 -25 -33 -29 -119 -7 -160 14 -26 398 -346 463 -386 46 -28 115 -27 159 3 37 25 719 763 750 812 23 36 25 114 5 153 -32 62 -104 96 -171 82z"
2958
+ />
2959
+ <path
2960
+ d="M1445 1778 c-26 -78 -306 -1021 -303 -1023 2 -2 109 27 238 66 129 38 240 68 246 67 7 -2 83 -87 169 -190 87 -104 160 -188 164 -188 3 0 64 194 135 431 l129 431 -29 23 c-51 42 -110 56 -205 49 -210 -16 -386 80 -482 263 -40 76 -54 93 -62 71z"
2961
+ />
2962
+ <path
2963
+ d="M3460 1677 c-95 -174 -295 -278 -481 -249 -41 6 -83 7 -114 1 -52 -10 -145 -63 -145 -84 0 -14 236 -802 247 -826 6 -13 45 28 168 177 88 106 166 193 173 193 7 1 117 -30 244 -68 128 -39 234 -68 237 -65 4 4 -275 945 -288 971 -4 8 -21 -13 -41 -50z"
2964
+ />
2965
+ </g>
2966
+ </svg>
2967
+ `;
2968
+ x`
2969
+ <svg
2970
+ version="1.0"
2971
+ viewBox="0 0 500.000000 500.000000"
2972
+ preserveAspectRatio="xMidYMid meet"
2973
+ >
2974
+ <g
2975
+ transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2976
+ fill="#0056d6"
2977
+ stroke="none"
2978
+ >
2979
+ <path
2980
+ d="M2287 4490 c-650 -102 -1142 -559 -1295 -1205 -24 -100 -26 -128 -26 -315 0 -173 4 -220 22 -303 69 -311 206 -580 478 -940 185 -243 541 -680 814 -996 63 -74 133 -156 155 -182 29 -36 47 -49 65 -48 20 0 77 62 297 322 921 1092 1113 1383 1215 1844 32 143 32 421 0 580 -55 275 -184 539 -359 733 -231 256 -496 411 -843 491 -76 17 -133 22 -280 25 -102 1 -211 -1 -243 -6z m360 -241 c206 -23 416 -101 591 -221 102 -70 264 -233 330 -333 104 -157 177 -334 208 -508 25 -138 23 -355 -4 -484 -111 -516 -496 -902 -1012 -1015 -140 -31 -396 -30 -535 1 -382 86 -708 339 -883 686 -52 104 -95 228 -118 340 -25 126 -26 378 -1 495 56 263 175 481 361 666 291 289 659 418 1063 373z"
2981
+ />
2982
+ <path
2983
+ d="M2400 4098 c-502 -34 -925 -417 -1027 -927 -22 -111 -19 -316 7 -441 93 -457 446 -806 907 -897 115 -22 319 -22 428 1 292 63 533 216 710 451 67 88 151 265 182 380 24 90 27 117 27 280 1 206 -11 275 -75 442 -79 203 -244 406 -429 525 -114 74 -167 100 -281 136 -154 50 -272 63 -449 50z m248 -277 c50 -29 92 -56 92 -59 0 -7 -684 -394 -705 -400 -16 -4 -268 118 -260 126 4 4 167 100 363 213 l357 207 30 -18 c17 -9 72 -41 123 -69z m428 -243 c79 -45 144 -85 144 -88 0 -3 -162 -86 -360 -182 l-360 -177 -140 66 c-78 37 -137 70 -133 74 13 13 687 389 697 389 5 0 73 -37 152 -82z m-1266 -303 l130 -65 0 -220 0 -219 79 -61 c44 -33 82 -60 85 -60 3 0 7 107 8 239 l3 238 148 -70 147 -70 0 -464 c0 -254 -2 -463 -4 -463 -3 0 -168 94 -368 209 l-363 209 -3 431 c-1 237 0 431 3 431 3 0 64 -29 135 -65z m1520 -363 l0 -429 -369 -211 c-203 -117 -372 -212 -375 -212 -3 0 -5 208 -4 462 l3 462 364 178 c201 98 368 178 373 178 4 0 8 -193 8 -428z"
2984
+ />
2985
+ </g>
2986
+ </svg>
2987
+ `;
2988
+ x`
2989
+ <svg
2990
+ version="1.0"
2991
+ viewBox="0 0 500.000000 500.000000"
2992
+ preserveAspectRatio="xMidYMid meet"
2993
+ >
2994
+ <g
2995
+ transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2996
+ fill="#0056d6"
2997
+ stroke="none"
2998
+ >
2999
+ <path
3000
+ d="M1314 3708 c-92 -106 -174 -201 -182 -210 -14 -17 17 -18 636 -18 l652 0 0 210 0 210 -469 0 -469 0 -168 -192z"
3001
+ />
3002
+ <path
3003
+ d="M2570 3690 l0 -210 645 0 c355 0 645 2 645 5 0 7 -257 303 -319 368 l-45 47 -463 0 -463 0 0 -210z"
3004
+ />
3005
+ <path
3006
+ d="M1100 3170 l0 -160 83 0 82 0 115 -96 c63 -52 121 -103 128 -112 28 -36 15 -74 -58 -164 -68 -84 -70 -89 -70 -142 l0 -55 160 -3 161 -3 89 -91 c75 -76 90 -96 90 -123 0 -40 -31 -71 -71 -71 -25 0 -45 14 -103 70 l-73 70 -154 0 -155 0 -109 -44 -110 -44 -3 -185 -2 -185 121 -4 c113 -3 122 -5 140 -27 26 -32 24 -73 -4 -99 -21 -20 -34 -22 -140 -22 l-117 0 0 -285 0 -285 1395 0 1395 0 0 288 0 288 -70 69 -70 69 0 109 0 108 -75 79 c-45 47 -75 87 -75 100 0 13 30 53 75 100 l75 79 0 108 0 109 70 69 c69 69 70 70 70 122 l0 53 -110 0 c-78 0 -119 4 -139 15 -48 24 -55 72 -16 110 23 24 30 25 145 25 l120 0 0 160 0 160 -465 0 -465 0 0 -439 c0 -428 0 -439 -21 -465 -13 -17 -30 -26 -49 -26 -17 0 -102 40 -214 101 l-185 101 -184 -101 c-195 -107 -229 -117 -263 -80 -18 20 -19 45 -22 465 l-3 444 -459 0 -460 0 0 -160z m2429 -1355 c48 -24 55 -72 16 -110 -24 -25 -25 -25 -227 -25 -221 0 -239 4 -252 56 -8 31 14 71 47 84 12 5 104 9 205 9 142 1 189 -2 211 -14z m105 -356 c51 -23 55 -103 7 -128 -13 -7 -130 -11 -328 -11 -297 0 -310 1 -331 20 -32 30 -30 82 4 109 26 20 38 21 325 21 200 0 306 -4 323 -11z"
3007
+ />
3008
+ <path
3009
+ d="M2170 2965 c0 -201 2 -365 5 -365 2 0 66 34 142 76 76 41 150 78 165 81 20 4 55 -10 145 -60 65 -35 133 -72 151 -81 l32 -17 0 366 0 365 -320 0 -320 0 0 -365z"
3010
+ />
3011
+ </g>
3012
+ </svg>
3013
+ `;
3014
+ x`
3015
+ <svg
3016
+ xmlns="http://www.w3.org/2000/svg"
3017
+ version="1.0"
3018
+ viewBox="0 0 500.000000 500.000000"
3019
+ preserveAspectRatio="xMidYMid meet"
3020
+ >
3021
+ <g
3022
+ transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
3023
+ fill="#0056d6"
3024
+ stroke="none"
3025
+ >
3026
+ <path
3027
+ d="M2445 4021 c-72 -18 -132 -68 -159 -133 -10 -23 -16 -67 -16 -113 0 -52 -4 -77 -12 -80 -7 -2 -55 -19 -105 -38 -301 -111 -532 -363 -616 -672 -31 -113 -37 -229 -37 -665 l0 -435 -150 -150 -150 -150 0 -77 0 -78 1300 0 1300 0 0 73 0 72 -155 155 -155 155 0 456 c0 374 -3 472 -16 550 -57 329 -262 596 -568 740 -44 20 -102 43 -127 49 l-46 12 -6 83 c-4 54 -13 98 -26 123 -29 58 -94 109 -153 121 -54 12 -60 12 -103 2z"
3028
+ />
3029
+ <path
3030
+ d="M1371 3863 c-182 -183 -274 -321 -366 -549 -48 -118 -93 -308 -101 -420 l-7 -94 150 0 150 0 12 89 c30 232 116 443 255 626 55 70 181 198 246 248 l35 27 -105 105 c-57 58 -111 105 -118 105 -8 0 -76 -62 -151 -137z"
3031
+ />
3032
+ <path
3033
+ d="M3358 3893 l-108 -108 37 -25 c20 -13 75 -63 122 -110 194 -193 326 -452 368 -724 8 -56 17 -107 19 -113 4 -15 289 -19 298 -5 8 13 -20 208 -43 303 -56 238 -184 484 -349 673 -61 70 -218 216 -232 216 -3 0 -54 -48 -112 -107z"
3034
+ />
3035
+ <path
3036
+ d="M2194 1267 c-17 -46 48 -180 112 -231 182 -144 464 -33 491 194 l6 50 -302 0 c-242 0 -303 -3 -307 -13z"
3037
+ />
3038
+ </g>
3039
+ </svg>
3040
+ `;
2716
3041
  const TreeIcon = x`
2717
3042
  <svg width="24" height="29" viewBox="0 0 24 29" fill="none" xmlns="http://www.w3.org/2000/svg">
2718
3043
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.8389 3.5146C12.4124 2.64195 11.1688 2.64166 10.7419 3.51411L2.48315 20.3931C2.10376 21.1685 2.66827 22.0732 3.53151 22.0732H8.15214C8.80382 22.0732 9.33211 22.6015 9.33211 23.2531C9.33211 23.9048 8.80382 24.4331 8.15214 24.4331H3.53151C0.922794 24.4331 -0.783184 21.6991 0.363353 19.3559L8.62211 2.47691C9.91216 -0.159656 13.6703 -0.158781 14.9591 2.4784L23.2081 19.3574C24.3532 21.7005 22.6472 24.4331 20.0392 24.4331H12.9715L12.9715 27.075C12.9715 27.7267 12.4432 28.2549 11.7915 28.2549C11.1398 28.2549 10.6116 27.7267 10.6116 27.075L10.6115 23.2531C10.6115 22.9402 10.7359 22.6401 10.9572 22.4188C11.1784 22.1975 11.4786 22.0732 11.7915 22.0732H20.0392C20.9022 22.0732 21.4667 21.1689 21.0878 20.3936L12.8389 3.5146Z" fill="#1C4B27"/>
@@ -2765,13 +3090,16 @@ var __decorateClass = (decorators, target, key, kind) => {
2765
3090
  const formatCartDataItems = (cart) => {
2766
3091
  const formattedCartWithItems = {
2767
3092
  items: cart.lines.edges.map(({ node: l2 }) => {
3093
+ var _a, _b, _c, _d;
2768
3094
  return {
2769
3095
  id: l2.id,
2770
3096
  key: l2.id,
2771
3097
  variant_id: l2.merchandise.id,
2772
3098
  sku: l2.merchandise.sku,
2773
3099
  final_line_price: parseFloat(l2.cost.totalAmount.amount),
2774
- quantity: l2.quantity
3100
+ quantity: l2.quantity,
3101
+ tags: ((_b = (_a = l2.merchandise) == null ? void 0 : _a.product) == null ? void 0 : _b.tags) || [],
3102
+ isVirtualProduct: !(((_d = (_c = l2.merchandise) == null ? void 0 : _c.inventoryItem) == null ? void 0 : _d.requiresShipping) ?? true)
2775
3103
  };
2776
3104
  }),
2777
3105
  total_price: parseFloat(cart.cost.totalAmount.amount),
@@ -2809,6 +3137,7 @@ const StoreQuery = `query StoreByDomain ($store: String!) {
2809
3137
  widgetPollProtection
2810
3138
  widgetShowCart
2811
3139
  excludedProductSkus
3140
+ excludedProductTags
2812
3141
  excludedCustomersIdsAutoOptIn
2813
3142
  protectionSettings
2814
3143
  widgetConfigurations
@@ -3186,18 +3515,69 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3186
3515
  console.error("Error during the query ====>", error);
3187
3516
  }
3188
3517
  }
3518
+ _getProductJSONFromCookie(handle) {
3519
+ const cookieName = `${handle}_product_tags`;
3520
+ const cookie = document.cookie.split("; ").find((row) => row.startsWith(cookieName + "="));
3521
+ if (!cookie) return null;
3522
+ try {
3523
+ return JSON.parse(decodeURIComponent(cookie.split("=")[1]));
3524
+ } catch {
3525
+ return null;
3526
+ }
3527
+ }
3528
+ _storeTagsInCookie(handle, tags) {
3529
+ const cookieName = `${handle}_product_tags`;
3530
+ const expires = /* @__PURE__ */ new Date();
3531
+ expires.setDate(expires.getDate() + 1);
3532
+ document.cookie = `${cookieName}=${encodeURIComponent(
3533
+ JSON.stringify(tags)
3534
+ )}; path=/; expires=${expires.toUTCString()}`;
3535
+ }
3536
+ async _fetchProductJSON(handle) {
3537
+ try {
3538
+ const res = await fetch(`/products/${handle}.json`);
3539
+ const result = await res.json();
3540
+ if (result && result.product) {
3541
+ return JSON.stringify(result.product) || "";
3542
+ }
3543
+ return "";
3544
+ } catch {
3545
+ return "";
3546
+ }
3547
+ }
3189
3548
  /** Fetch current cart from the Shopify ajax API */
3190
3549
  async _fetchCart() {
3191
3550
  try {
3192
3551
  if (this.useCustomStoreFront && this.cartId) {
3193
3552
  const result = await this.runStoreFrontQuery(
3194
- "query getCart($cartId: ID!){ cart( id: $cartId ) { id createdAt updatedAt lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } }",
3553
+ "query getCart($cartId: ID!){ cart( id: $cartId ) { id createdAt updatedAt lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku product { tags } inventoryItem { requiresShipping tracked } } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } }",
3195
3554
  { cartId: this.cartId }
3196
3555
  );
3197
3556
  const cart2 = formatCartDataItems(result.cart);
3198
3557
  return cart2;
3199
3558
  }
3200
3559
  const cart = await this._fetch.get("/cart.js");
3560
+ if (cart && cart.items) {
3561
+ for (const item of cart.items) {
3562
+ const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3563
+ if (cachedProductJson) {
3564
+ const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3565
+ if (product) {
3566
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3567
+ item.isVirtualProduct = (product.variants || []).every(
3568
+ (variant) => !variant.requires_shipping
3569
+ );
3570
+ }
3571
+ } else {
3572
+ const productJsonString = await this._fetchProductJSON(item.handle);
3573
+ const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3574
+ if (product) {
3575
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3576
+ this._storeTagsInCookie(item.handle, productJsonString);
3577
+ }
3578
+ }
3579
+ }
3580
+ }
3201
3581
  return cart;
3202
3582
  } catch (err) {
3203
3583
  const error = err;
@@ -3259,7 +3639,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3259
3639
  let cart;
3260
3640
  if (this.useCustomStoreFront) {
3261
3641
  const cartItemAdded = await this.runStoreFrontQuery(
3262
- "mutation AddItemToCart($cartId: ID!, $lines: [CartLineInput!]!) { cartLinesAdd(cartId: $cartId, lines: $lines) { cart { id lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } } }",
3642
+ "mutation AddItemToCart($cartId: ID!, $lines: [CartLineInput!]!) { cartLinesAdd(cartId: $cartId, lines: $lines) { cart { id lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku product { tags } inventoryItem { requiresShipping tracked } } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } } }",
3263
3643
  {
3264
3644
  cartId: this.cartId,
3265
3645
  lines: [
@@ -3279,6 +3659,27 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3279
3659
  selling_plan: this._sellingPlanId
3280
3660
  };
3281
3661
  cart = await this._fetch.post("/cart/add.js", payload);
3662
+ if (cart && cart.items) {
3663
+ for (const item of cart.items) {
3664
+ const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3665
+ if (cachedProductJson) {
3666
+ const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3667
+ if (product) {
3668
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3669
+ item.isVirtualProduct = (product.variants || []).every(
3670
+ (variant) => !variant.requires_shipping
3671
+ );
3672
+ }
3673
+ } else {
3674
+ const productJsonString = await this._fetchProductJSON(item.handle);
3675
+ const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3676
+ if (product) {
3677
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3678
+ this._storeTagsInCookie(item.handle, productJsonString);
3679
+ }
3680
+ }
3681
+ }
3682
+ }
3282
3683
  }
3283
3684
  return cart;
3284
3685
  }
@@ -3287,7 +3688,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3287
3688
  let cart;
3288
3689
  if (this.useCustomStoreFront) {
3289
3690
  const cartItemUpdated = await this.runStoreFrontQuery(
3290
- "mutation RemoveItemToCart($cartId: ID!, $lines: [CartLineUpdateInput!]!) { cartLinesUpdate(cartId: $cartId, lines: $lines) { cart { id lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } } }",
3691
+ "mutation RemoveItemToCart($cartId: ID!, $lines: [CartLineUpdateInput!]!) { cartLinesUpdate(cartId: $cartId, lines: $lines) { cart { id lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id sku product { tags } inventoryItem { requiresShipping tracked } } } cost{ totalAmount{ amount currencyCode } } } } } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } } } } }",
3291
3692
  {
3292
3693
  cartId: this.cartId,
3293
3694
  lines: [
@@ -3311,6 +3712,27 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3311
3712
  selling_plan: this._sellingPlanId
3312
3713
  };
3313
3714
  cart = await this._fetch.post("/cart/change.js", payload);
3715
+ if (cart && cart.items) {
3716
+ for (const item of cart.items) {
3717
+ const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3718
+ if (cachedProductJson) {
3719
+ const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3720
+ if (product) {
3721
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3722
+ item.isVirtualProduct = (product.variants || []).every(
3723
+ (variant) => !variant.requires_shipping
3724
+ );
3725
+ }
3726
+ } else {
3727
+ const productJsonString = await this._fetchProductJSON(item.handle);
3728
+ const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3729
+ if (product) {
3730
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3731
+ this._storeTagsInCookie(item.handle, productJsonString);
3732
+ }
3733
+ }
3734
+ }
3735
+ }
3314
3736
  }
3315
3737
  return cart;
3316
3738
  }
@@ -4477,7 +4899,10 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
4477
4899
  }
4478
4900
  .prompt-product-details-icons > svg {
4479
4901
  width: 15px;
4480
- margin-top: var(--shipaid-prompt-product-details-icons-svg-margin-top, 0);
4902
+ margin-top: var(
4903
+ --shipaid-prompt-product-details-icons-svg-margin-top,
4904
+ 0
4905
+ );
4481
4906
  }
4482
4907
 
4483
4908
  .shipaid-prompt