ui.shipaid.com 0.3.6 → 0.3.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.
package/dist/widget.es.js CHANGED
@@ -29,10 +29,10 @@ function calculateProtectionTotal(store, protectionProduct, cart) {
29
29
  if (!((_c = settings.rules) == null ? void 0 : _c.length))
30
30
  return settings.defaultFee;
31
31
  const formattedCartTotal = cartTotal / 100;
32
- const sortedRules = settings.rules.sort((a2, b2) => {
33
- if (!a2.rangeLower || !b2.rangeLower)
32
+ const sortedRules = settings.rules.sort((a2, b) => {
33
+ if (!a2.rangeLower || !b.rangeLower)
34
34
  return 0;
35
- return a2.rangeLower - b2.rangeLower;
35
+ return a2.rangeLower - b.rangeLower;
36
36
  });
37
37
  const rule = sortedRules.find((rule2) => {
38
38
  const lower = Boolean(rule2.rangeLower && rule2.rangeLower < formattedCartTotal);
@@ -59,7 +59,7 @@ function findProtectionVariant(store, protectionProduct, protectionFee) {
59
59
  return [];
60
60
  const formattedPrice = Number(variant.price);
61
61
  return [{ ...variant, formattedPrice }];
62
- }).sort((a2, b2) => a2.formattedPrice - b2.formattedPrice);
62
+ }).sort((a2, b) => a2.formattedPrice - b.formattedPrice);
63
63
  const matchingVariant = formattedVariants.find((variant) => variant.formattedPrice >= protectionFee);
64
64
  if (!matchingVariant) {
65
65
  return formattedVariants[formattedVariants.length - 1];
@@ -89,11 +89,11 @@ const i$3 = (i2, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2
89
89
  "function" == typeof e2.initializer && (this[e2.key] = e2.initializer.call(this));
90
90
  }, finisher(n2) {
91
91
  n2.createProperty(e2.key, i2);
92
- } };
93
- function e$6(e2) {
94
- return (n2, t2) => void 0 !== t2 ? ((i2, e3, n3) => {
95
- e3.constructor.createProperty(n3, i2);
96
- })(e2, n2, t2) : i$3(e2, n2);
92
+ } }, e$6 = (i2, e2, n2) => {
93
+ e2.constructor.createProperty(n2, i2);
94
+ };
95
+ function n$7(n2) {
96
+ return (t2, o3) => void 0 !== o3 ? e$6(n2, t2, o3) : i$3(n2, t2);
97
97
  }
98
98
  /**
99
99
  * @license
@@ -101,7 +101,7 @@ function e$6(e2) {
101
101
  * SPDX-License-Identifier: BSD-3-Clause
102
102
  */
103
103
  function t$3(t2) {
104
- return e$6({ ...t2, state: true });
104
+ return n$7({ ...t2, state: true });
105
105
  }
106
106
  /**
107
107
  * @license
@@ -189,10 +189,10 @@ const e$4 = window, r$2 = e$4.trustedTypes, h$2 = r$2 ? r$2.emptyScript : "", o$
189
189
  }
190
190
  }
191
191
  return s3;
192
- } }, a$1 = (t2, i2) => i2 !== t2 && (i2 == i2 || t2 == t2), l$3 = { attribute: true, type: String, converter: n$4, reflect: false, hasChanged: a$1 };
193
- let d$1 = class d extends HTMLElement {
192
+ } }, a$1 = (t2, i2) => i2 !== t2 && (i2 == i2 || t2 == t2), l$3 = { attribute: true, type: String, converter: n$4, reflect: false, hasChanged: a$1 }, d$1 = "finalized";
193
+ let u$1 = class u extends HTMLElement {
194
194
  constructor() {
195
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this.u();
195
+ super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this._$Eu();
196
196
  }
197
197
  static addInitializer(t2) {
198
198
  var i2;
@@ -224,9 +224,9 @@ let d$1 = class d extends HTMLElement {
224
224
  return this.elementProperties.get(t2) || l$3;
225
225
  }
226
226
  static finalize() {
227
- if (this.hasOwnProperty("finalized"))
227
+ if (this.hasOwnProperty(d$1))
228
228
  return false;
229
- this.finalized = true;
229
+ this[d$1] = true;
230
230
  const t2 = Object.getPrototypeOf(this);
231
231
  if (t2.finalize(), void 0 !== t2.h && (this.h = [...t2.h]), this.elementProperties = new Map(t2.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
232
232
  const t3 = this.properties, i2 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
@@ -249,7 +249,7 @@ let d$1 = class d extends HTMLElement {
249
249
  const s3 = i2.attribute;
250
250
  return false === s3 ? void 0 : "string" == typeof s3 ? s3 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
251
251
  }
252
- u() {
252
+ _$Eu() {
253
253
  var t2;
254
254
  this._$E_ = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), null === (t2 = this.constructor.h) || void 0 === t2 || t2.forEach((t3) => t3(this));
255
255
  }
@@ -369,95 +369,95 @@ let d$1 = class d extends HTMLElement {
369
369
  firstUpdated(t2) {
370
370
  }
371
371
  };
372
- d$1.finalized = true, d$1.elementProperties = /* @__PURE__ */ new Map(), d$1.elementStyles = [], d$1.shadowRootOptions = { mode: "open" }, null == o$3 || o$3({ ReactiveElement: d$1 }), (null !== (s$3 = e$4.reactiveElementVersions) && void 0 !== s$3 ? s$3 : e$4.reactiveElementVersions = []).push("1.6.1");
372
+ u$1[d$1] = true, u$1.elementProperties = /* @__PURE__ */ new Map(), u$1.elementStyles = [], u$1.shadowRootOptions = { mode: "open" }, null == o$3 || o$3({ ReactiveElement: u$1 }), (null !== (s$3 = e$4.reactiveElementVersions) && void 0 !== s$3 ? s$3 : e$4.reactiveElementVersions = []).push("1.6.3");
373
373
  /**
374
374
  * @license
375
375
  * Copyright 2017 Google LLC
376
376
  * SPDX-License-Identifier: BSD-3-Clause
377
377
  */
378
378
  var t$1;
379
- const i$1 = window, s$2 = i$1.trustedTypes, e$3 = s$2 ? s$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o$2 = `lit$${(Math.random() + "").slice(9)}$`, n$3 = "?" + o$2, l$2 = `<${n$3}>`, h$1 = document, r$1 = (t2 = "") => h$1.createComment(t2), d2 = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, u = Array.isArray, c$1 = (t2) => u(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, a = /-->/g, f = />/g, _ = RegExp(`>|[
380
- \f\r](?:([^\\s"'>=/]+)([
381
- \f\r]*=[
382
- \f\r]*(?:[^
383
- \f\r"'\`<>=]|("|')|))|$)`, "g"), m = /'/g, p = /"/g, $ = /^(?:script|style|textarea|title)$/i, g = (t2) => (i2, ...s3) => ({ _$litType$: t2, strings: i2, values: s3 }), y = g(1), x = Symbol.for("lit-noChange"), b = Symbol.for("lit-nothing"), T = /* @__PURE__ */ new WeakMap(), A = h$1.createTreeWalker(h$1, 129, null, false), E = (t2, i2) => {
384
- const s3 = t2.length - 1, n2 = [];
385
- let h2, r2 = 2 === i2 ? "<svg>" : "", d3 = v;
379
+ const i$1 = window, s$2 = i$1.trustedTypes, e$3 = s$2 ? s$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o$2 = "$lit$", n$3 = `lit$${(Math.random() + "").slice(9)}$`, l$2 = "?" + n$3, h$1 = `<${l$2}>`, r$1 = document, u2 = () => r$1.createComment(""), d = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c$1 = Array.isArray, v = (t2) => c$1(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^
380
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, w = (t2) => (i2, ...s3) => ({ _$litType$: t2, strings: i2, values: s3 }), x = w(1), T = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), E = /* @__PURE__ */ new WeakMap(), C = r$1.createTreeWalker(r$1, 129, null, false);
381
+ function P(t2, i2) {
382
+ if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
383
+ throw Error("invalid template strings array");
384
+ return void 0 !== e$3 ? e$3.createHTML(i2) : i2;
385
+ }
386
+ const V = (t2, i2) => {
387
+ const s3 = t2.length - 1, e2 = [];
388
+ let l2, r2 = 2 === i2 ? "<svg>" : "", u3 = f;
386
389
  for (let i3 = 0; i3 < s3; i3++) {
387
390
  const s4 = t2[i3];
388
- let e2, u3, c2 = -1, g2 = 0;
389
- for (; g2 < s4.length && (d3.lastIndex = g2, u3 = d3.exec(s4), null !== u3); )
390
- g2 = d3.lastIndex, d3 === v ? "!--" === u3[1] ? d3 = a : void 0 !== u3[1] ? d3 = f : void 0 !== u3[2] ? ($.test(u3[2]) && (h2 = RegExp("</" + u3[2], "g")), d3 = _) : void 0 !== u3[3] && (d3 = _) : d3 === _ ? ">" === u3[0] ? (d3 = null != h2 ? h2 : v, c2 = -1) : void 0 === u3[1] ? c2 = -2 : (c2 = d3.lastIndex - u3[2].length, e2 = u3[1], d3 = void 0 === u3[3] ? _ : '"' === u3[3] ? p : m) : d3 === p || d3 === m ? d3 = _ : d3 === a || d3 === f ? d3 = v : (d3 = _, h2 = void 0);
391
- const y2 = d3 === _ && t2[i3 + 1].startsWith("/>") ? " " : "";
392
- r2 += d3 === v ? s4 + l$2 : c2 >= 0 ? (n2.push(e2), s4.slice(0, c2) + "$lit$" + s4.slice(c2) + o$2 + y2) : s4 + o$2 + (-2 === c2 ? (n2.push(void 0), i3) : y2);
391
+ let d2, c2, v2 = -1, a2 = 0;
392
+ for (; a2 < s4.length && (u3.lastIndex = a2, c2 = u3.exec(s4), null !== c2); )
393
+ a2 = u3.lastIndex, u3 === f ? "!--" === c2[1] ? u3 = _ : void 0 !== c2[1] ? u3 = m : void 0 !== c2[2] ? (y.test(c2[2]) && (l2 = RegExp("</" + c2[2], "g")), u3 = p) : void 0 !== c2[3] && (u3 = p) : u3 === p ? ">" === c2[0] ? (u3 = null != l2 ? l2 : f, v2 = -1) : void 0 === c2[1] ? v2 = -2 : (v2 = u3.lastIndex - c2[2].length, d2 = c2[1], u3 = void 0 === c2[3] ? p : '"' === c2[3] ? $ : g) : u3 === $ || u3 === g ? u3 = p : u3 === _ || u3 === m ? u3 = f : (u3 = p, l2 = void 0);
394
+ const w2 = u3 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
395
+ r2 += u3 === f ? s4 + h$1 : v2 >= 0 ? (e2.push(d2), s4.slice(0, v2) + o$2 + s4.slice(v2) + n$3 + w2) : s4 + n$3 + (-2 === v2 ? (e2.push(void 0), i3) : w2);
393
396
  }
394
- const u2 = r2 + (t2[s3] || "<?>") + (2 === i2 ? "</svg>" : "");
395
- if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
396
- throw Error("invalid template strings array");
397
- return [void 0 !== e$3 ? e$3.createHTML(u2) : u2, n2];
397
+ return [P(t2, r2 + (t2[s3] || "<?>") + (2 === i2 ? "</svg>" : "")), e2];
398
398
  };
399
- class C {
399
+ class N {
400
400
  constructor({ strings: t2, _$litType$: i2 }, e2) {
401
- let l2;
401
+ let h2;
402
402
  this.parts = [];
403
- let h2 = 0, d3 = 0;
404
- const u2 = t2.length - 1, c2 = this.parts, [v2, a2] = E(t2, i2);
405
- if (this.el = C.createElement(v2, e2), A.currentNode = this.el.content, 2 === i2) {
403
+ let r2 = 0, d2 = 0;
404
+ const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V(t2, i2);
405
+ if (this.el = N.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
406
406
  const t3 = this.el.content, i3 = t3.firstChild;
407
407
  i3.remove(), t3.append(...i3.childNodes);
408
408
  }
409
- for (; null !== (l2 = A.nextNode()) && c2.length < u2; ) {
410
- if (1 === l2.nodeType) {
411
- if (l2.hasAttributes()) {
409
+ for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
410
+ if (1 === h2.nodeType) {
411
+ if (h2.hasAttributes()) {
412
412
  const t3 = [];
413
- for (const i3 of l2.getAttributeNames())
414
- if (i3.endsWith("$lit$") || i3.startsWith(o$2)) {
415
- const s3 = a2[d3++];
413
+ for (const i3 of h2.getAttributeNames())
414
+ if (i3.endsWith(o$2) || i3.startsWith(n$3)) {
415
+ const s3 = f2[d2++];
416
416
  if (t3.push(i3), void 0 !== s3) {
417
- const t4 = l2.getAttribute(s3.toLowerCase() + "$lit$").split(o$2), i4 = /([.?@])?(.*)/.exec(s3);
418
- c2.push({ type: 1, index: h2, name: i4[2], strings: t4, ctor: "." === i4[1] ? M : "?" === i4[1] ? k : "@" === i4[1] ? H : S });
417
+ const t4 = h2.getAttribute(s3.toLowerCase() + o$2).split(n$3), i4 = /([.?@])?(.*)/.exec(s3);
418
+ v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? H : "?" === i4[1] ? L : "@" === i4[1] ? z : k });
419
419
  } else
420
- c2.push({ type: 6, index: h2 });
420
+ v2.push({ type: 6, index: r2 });
421
421
  }
422
422
  for (const i3 of t3)
423
- l2.removeAttribute(i3);
423
+ h2.removeAttribute(i3);
424
424
  }
425
- if ($.test(l2.tagName)) {
426
- const t3 = l2.textContent.split(o$2), i3 = t3.length - 1;
425
+ if (y.test(h2.tagName)) {
426
+ const t3 = h2.textContent.split(n$3), i3 = t3.length - 1;
427
427
  if (i3 > 0) {
428
- l2.textContent = s$2 ? s$2.emptyScript : "";
428
+ h2.textContent = s$2 ? s$2.emptyScript : "";
429
429
  for (let s3 = 0; s3 < i3; s3++)
430
- l2.append(t3[s3], r$1()), A.nextNode(), c2.push({ type: 2, index: ++h2 });
431
- l2.append(t3[i3], r$1());
430
+ h2.append(t3[s3], u2()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
431
+ h2.append(t3[i3], u2());
432
432
  }
433
433
  }
434
- } else if (8 === l2.nodeType)
435
- if (l2.data === n$3)
436
- c2.push({ type: 2, index: h2 });
434
+ } else if (8 === h2.nodeType)
435
+ if (h2.data === l$2)
436
+ v2.push({ type: 2, index: r2 });
437
437
  else {
438
438
  let t3 = -1;
439
- for (; -1 !== (t3 = l2.data.indexOf(o$2, t3 + 1)); )
440
- c2.push({ type: 7, index: h2 }), t3 += o$2.length - 1;
439
+ for (; -1 !== (t3 = h2.data.indexOf(n$3, t3 + 1)); )
440
+ v2.push({ type: 7, index: r2 }), t3 += n$3.length - 1;
441
441
  }
442
- h2++;
442
+ r2++;
443
443
  }
444
444
  }
445
445
  static createElement(t2, i2) {
446
- const s3 = h$1.createElement("template");
446
+ const s3 = r$1.createElement("template");
447
447
  return s3.innerHTML = t2, s3;
448
448
  }
449
449
  }
450
- function P(t2, i2, s3 = t2, e2) {
450
+ function S(t2, i2, s3 = t2, e2) {
451
451
  var o3, n2, l2, h2;
452
- if (i2 === x)
452
+ if (i2 === T)
453
453
  return i2;
454
454
  let r2 = void 0 !== e2 ? null === (o3 = s3._$Co) || void 0 === o3 ? void 0 : o3[e2] : s3._$Cl;
455
- const u2 = d2(i2) ? void 0 : i2._$litDirective$;
456
- return (null == r2 ? void 0 : r2.constructor) !== u2 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u2 ? r2 = void 0 : (r2 = new u2(t2), r2._$AT(t2, s3, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s3)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s3._$Cl = r2), void 0 !== r2 && (i2 = P(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
455
+ const u3 = d(i2) ? void 0 : i2._$litDirective$;
456
+ return (null == r2 ? void 0 : r2.constructor) !== u3 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u3 ? r2 = void 0 : (r2 = new u3(t2), r2._$AT(t2, s3, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s3)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s3._$Cl = r2), void 0 !== r2 && (i2 = S(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
457
457
  }
458
- class V {
458
+ class M {
459
459
  constructor(t2, i2) {
460
- this.u = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
460
+ this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
461
461
  }
462
462
  get parentNode() {
463
463
  return this._$AM.parentNode;
@@ -465,39 +465,39 @@ class V {
465
465
  get _$AU() {
466
466
  return this._$AM._$AU;
467
467
  }
468
- v(t2) {
468
+ u(t2) {
469
469
  var i2;
470
- const { el: { content: s3 }, parts: e2 } = this._$AD, o3 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : h$1).importNode(s3, true);
471
- A.currentNode = o3;
472
- let n2 = A.nextNode(), l2 = 0, r2 = 0, d3 = e2[0];
473
- for (; void 0 !== d3; ) {
474
- if (l2 === d3.index) {
470
+ const { el: { content: s3 }, parts: e2 } = this._$AD, o3 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : r$1).importNode(s3, true);
471
+ C.currentNode = o3;
472
+ let n2 = C.nextNode(), l2 = 0, h2 = 0, u3 = e2[0];
473
+ for (; void 0 !== u3; ) {
474
+ if (l2 === u3.index) {
475
475
  let i3;
476
- 2 === d3.type ? i3 = new N(n2, n2.nextSibling, this, t2) : 1 === d3.type ? i3 = new d3.ctor(n2, d3.name, d3.strings, this, t2) : 6 === d3.type && (i3 = new I(n2, this, t2)), this.u.push(i3), d3 = e2[++r2];
476
+ 2 === u3.type ? i3 = new R(n2, n2.nextSibling, this, t2) : 1 === u3.type ? i3 = new u3.ctor(n2, u3.name, u3.strings, this, t2) : 6 === u3.type && (i3 = new Z(n2, this, t2)), this._$AV.push(i3), u3 = e2[++h2];
477
477
  }
478
- l2 !== (null == d3 ? void 0 : d3.index) && (n2 = A.nextNode(), l2++);
478
+ l2 !== (null == u3 ? void 0 : u3.index) && (n2 = C.nextNode(), l2++);
479
479
  }
480
- return o3;
480
+ return C.currentNode = r$1, o3;
481
481
  }
482
- p(t2) {
482
+ v(t2) {
483
483
  let i2 = 0;
484
- for (const s3 of this.u)
484
+ for (const s3 of this._$AV)
485
485
  void 0 !== s3 && (void 0 !== s3.strings ? (s3._$AI(t2, s3, i2), i2 += s3.strings.length - 2) : s3._$AI(t2[i2])), i2++;
486
486
  }
487
487
  }
488
- class N {
488
+ class R {
489
489
  constructor(t2, i2, s3, e2) {
490
490
  var o3;
491
- this.type = 2, this._$AH = b, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s3, this.options = e2, this._$Cm = null === (o3 = null == e2 ? void 0 : e2.isConnected) || void 0 === o3 || o3;
491
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s3, this.options = e2, this._$Cp = null === (o3 = null == e2 ? void 0 : e2.isConnected) || void 0 === o3 || o3;
492
492
  }
493
493
  get _$AU() {
494
494
  var t2, i2;
495
- return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$Cm;
495
+ return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$Cp;
496
496
  }
497
497
  get parentNode() {
498
498
  let t2 = this._$AA.parentNode;
499
499
  const i2 = this._$AM;
500
- return void 0 !== i2 && 11 === t2.nodeType && (t2 = i2.parentNode), t2;
500
+ return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
501
501
  }
502
502
  get startNode() {
503
503
  return this._$AA;
@@ -506,37 +506,37 @@ class N {
506
506
  return this._$AB;
507
507
  }
508
508
  _$AI(t2, i2 = this) {
509
- t2 = P(this, t2, i2), d2(t2) ? t2 === b || null == t2 || "" === t2 ? (this._$AH !== b && this._$AR(), this._$AH = b) : t2 !== this._$AH && t2 !== x && this.g(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : c$1(t2) ? this.k(t2) : this.g(t2);
509
+ t2 = S(this, t2, i2), d(t2) ? t2 === A || null == t2 || "" === t2 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.g(t2) : void 0 !== t2.nodeType ? this.$(t2) : v(t2) ? this.T(t2) : this._(t2);
510
510
  }
511
- O(t2, i2 = this._$AB) {
512
- return this._$AA.parentNode.insertBefore(t2, i2);
511
+ k(t2) {
512
+ return this._$AA.parentNode.insertBefore(t2, this._$AB);
513
513
  }
514
- T(t2) {
515
- this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
514
+ $(t2) {
515
+ this._$AH !== t2 && (this._$AR(), this._$AH = this.k(t2));
516
516
  }
517
- g(t2) {
518
- this._$AH !== b && d2(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(h$1.createTextNode(t2)), this._$AH = t2;
517
+ _(t2) {
518
+ this._$AH !== A && d(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r$1.createTextNode(t2)), this._$AH = t2;
519
519
  }
520
- $(t2) {
520
+ g(t2) {
521
521
  var i2;
522
- const { values: s3, _$litType$: e2 } = t2, o3 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = C.createElement(e2.h, this.options)), e2);
522
+ const { values: s3, _$litType$: e2 } = t2, o3 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = N.createElement(P(e2.h, e2.h[0]), this.options)), e2);
523
523
  if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o3)
524
- this._$AH.p(s3);
524
+ this._$AH.v(s3);
525
525
  else {
526
- const t3 = new V(o3, this), i3 = t3.v(this.options);
527
- t3.p(s3), this.T(i3), this._$AH = t3;
526
+ const t3 = new M(o3, this), i3 = t3.u(this.options);
527
+ t3.v(s3), this.$(i3), this._$AH = t3;
528
528
  }
529
529
  }
530
530
  _$AC(t2) {
531
- let i2 = T.get(t2.strings);
532
- return void 0 === i2 && T.set(t2.strings, i2 = new C(t2)), i2;
531
+ let i2 = E.get(t2.strings);
532
+ return void 0 === i2 && E.set(t2.strings, i2 = new N(t2)), i2;
533
533
  }
534
- k(t2) {
535
- u(this._$AH) || (this._$AH = [], this._$AR());
534
+ T(t2) {
535
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
536
536
  const i2 = this._$AH;
537
537
  let s3, e2 = 0;
538
538
  for (const o3 of t2)
539
- e2 === i2.length ? i2.push(s3 = new N(this.O(r$1()), this.O(r$1()), this, this.options)) : s3 = i2[e2], s3._$AI(o3), e2++;
539
+ e2 === i2.length ? i2.push(s3 = new R(this.k(u2()), this.k(u2()), this, this.options)) : s3 = i2[e2], s3._$AI(o3), e2++;
540
540
  e2 < i2.length && (this._$AR(s3 && s3._$AB.nextSibling, e2), i2.length = e2);
541
541
  }
542
542
  _$AR(t2 = this._$AA.nextSibling, i2) {
@@ -548,12 +548,12 @@ class N {
548
548
  }
549
549
  setConnected(t2) {
550
550
  var i2;
551
- void 0 === this._$AM && (this._$Cm = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
551
+ void 0 === this._$AM && (this._$Cp = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
552
552
  }
553
553
  }
554
- class S {
554
+ class k {
555
555
  constructor(t2, i2, s3, e2, o3) {
556
- this.type = 1, this._$AH = b, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o3, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = b;
556
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o3, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = A;
557
557
  }
558
558
  get tagName() {
559
559
  return this.element.tagName;
@@ -565,45 +565,45 @@ class S {
565
565
  const o3 = this.strings;
566
566
  let n2 = false;
567
567
  if (void 0 === o3)
568
- t2 = P(this, t2, i2, 0), n2 = !d2(t2) || t2 !== this._$AH && t2 !== x, n2 && (this._$AH = t2);
568
+ t2 = S(this, t2, i2, 0), n2 = !d(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
569
569
  else {
570
570
  const e3 = t2;
571
571
  let l2, h2;
572
572
  for (t2 = o3[0], l2 = 0; l2 < o3.length - 1; l2++)
573
- h2 = P(this, e3[s3 + l2], i2, l2), h2 === x && (h2 = this._$AH[l2]), n2 || (n2 = !d2(h2) || h2 !== this._$AH[l2]), h2 === b ? t2 = b : t2 !== b && (t2 += (null != h2 ? h2 : "") + o3[l2 + 1]), this._$AH[l2] = h2;
573
+ h2 = S(this, e3[s3 + l2], i2, l2), h2 === T && (h2 = this._$AH[l2]), n2 || (n2 = !d(h2) || h2 !== this._$AH[l2]), h2 === A ? t2 = A : t2 !== A && (t2 += (null != h2 ? h2 : "") + o3[l2 + 1]), this._$AH[l2] = h2;
574
574
  }
575
575
  n2 && !e2 && this.j(t2);
576
576
  }
577
577
  j(t2) {
578
- t2 === b ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
578
+ t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
579
579
  }
580
580
  }
581
- class M extends S {
581
+ class H extends k {
582
582
  constructor() {
583
583
  super(...arguments), this.type = 3;
584
584
  }
585
585
  j(t2) {
586
- this.element[this.name] = t2 === b ? void 0 : t2;
586
+ this.element[this.name] = t2 === A ? void 0 : t2;
587
587
  }
588
588
  }
589
- const R = s$2 ? s$2.emptyScript : "";
590
- class k extends S {
589
+ const I = s$2 ? s$2.emptyScript : "";
590
+ class L extends k {
591
591
  constructor() {
592
592
  super(...arguments), this.type = 4;
593
593
  }
594
594
  j(t2) {
595
- t2 && t2 !== b ? this.element.setAttribute(this.name, R) : this.element.removeAttribute(this.name);
595
+ t2 && t2 !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
596
596
  }
597
597
  }
598
- class H extends S {
598
+ class z extends k {
599
599
  constructor(t2, i2, s3, e2, o3) {
600
600
  super(t2, i2, s3, e2, o3), this.type = 5;
601
601
  }
602
602
  _$AI(t2, i2 = this) {
603
603
  var s3;
604
- if ((t2 = null !== (s3 = P(this, t2, i2, 0)) && void 0 !== s3 ? s3 : b) === x)
604
+ if ((t2 = null !== (s3 = S(this, t2, i2, 0)) && void 0 !== s3 ? s3 : A) === T)
605
605
  return;
606
- const e2 = this._$AH, o3 = t2 === b && e2 !== b || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== b && (e2 === b || o3);
606
+ const e2 = this._$AH, o3 = t2 === A && e2 !== A || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A && (e2 === A || o3);
607
607
  o3 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
608
608
  }
609
609
  handleEvent(t2) {
@@ -611,7 +611,7 @@ class H extends S {
611
611
  "function" == typeof this._$AH ? this._$AH.call(null !== (s3 = null === (i2 = this.options) || void 0 === i2 ? void 0 : i2.host) && void 0 !== s3 ? s3 : this.element, t2) : this._$AH.handleEvent(t2);
612
612
  }
613
613
  }
614
- class I {
614
+ class Z {
615
615
  constructor(t2, i2, s3) {
616
616
  this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s3;
617
617
  }
@@ -619,18 +619,18 @@ class I {
619
619
  return this._$AM._$AU;
620
620
  }
621
621
  _$AI(t2) {
622
- P(this, t2);
622
+ S(this, t2);
623
623
  }
624
624
  }
625
- const z = i$1.litHtmlPolyfillSupport;
626
- null == z || z(C, N), (null !== (t$1 = i$1.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$1.litHtmlVersions = []).push("2.6.1");
627
- const Z = (t2, i2, s3) => {
625
+ const B = i$1.litHtmlPolyfillSupport;
626
+ null == B || B(N, R), (null !== (t$1 = i$1.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$1.litHtmlVersions = []).push("2.8.0");
627
+ const D = (t2, i2, s3) => {
628
628
  var e2, o3;
629
629
  const n2 = null !== (e2 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== e2 ? e2 : i2;
630
630
  let l2 = n2._$litPart$;
631
631
  if (void 0 === l2) {
632
632
  const t3 = null !== (o3 = null == s3 ? void 0 : s3.renderBefore) && void 0 !== o3 ? o3 : null;
633
- n2._$litPart$ = l2 = new N(i2.insertBefore(r$1(), t3), t3, void 0, null != s3 ? s3 : {});
633
+ n2._$litPart$ = l2 = new R(i2.insertBefore(u2(), t3), t3, void 0, null != s3 ? s3 : {});
634
634
  }
635
635
  return l2._$AI(t2), l2;
636
636
  };
@@ -640,9 +640,9 @@ const Z = (t2, i2, s3) => {
640
640
  * SPDX-License-Identifier: BSD-3-Clause
641
641
  */
642
642
  var l$1, o$1;
643
- let s$1 = class s extends d$1 {
643
+ let s$1 = class s extends u$1 {
644
644
  constructor() {
645
- super(...arguments), this.renderOptions = { host: this }, this._$Dt = void 0;
645
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
646
646
  }
647
647
  createRenderRoot() {
648
648
  var t2, e2;
@@ -651,24 +651,24 @@ let s$1 = class s extends d$1 {
651
651
  }
652
652
  update(t2) {
653
653
  const i2 = this.render();
654
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Dt = Z(i2, this.renderRoot, this.renderOptions);
654
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i2, this.renderRoot, this.renderOptions);
655
655
  }
656
656
  connectedCallback() {
657
657
  var t2;
658
- super.connectedCallback(), null === (t2 = this._$Dt) || void 0 === t2 || t2.setConnected(true);
658
+ super.connectedCallback(), null === (t2 = this._$Do) || void 0 === t2 || t2.setConnected(true);
659
659
  }
660
660
  disconnectedCallback() {
661
661
  var t2;
662
- super.disconnectedCallback(), null === (t2 = this._$Dt) || void 0 === t2 || t2.setConnected(false);
662
+ super.disconnectedCallback(), null === (t2 = this._$Do) || void 0 === t2 || t2.setConnected(false);
663
663
  }
664
664
  render() {
665
- return x;
665
+ return T;
666
666
  }
667
667
  };
668
668
  s$1.finalized = true, s$1._$litElement$ = true, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, { LitElement: s$1 });
669
669
  const n$2 = globalThis.litElementPolyfillSupport;
670
670
  null == n$2 || n$2({ LitElement: s$1 });
671
- (null !== (o$1 = globalThis.litElementVersions) && void 0 !== o$1 ? o$1 : globalThis.litElementVersions = []).push("3.2.0");
671
+ (null !== (o$1 = globalThis.litElementVersions) && void 0 !== o$1 ? o$1 : globalThis.litElementVersions = []).push("3.3.3");
672
672
  const LANG_CHANGED_EVENT = "langChanged";
673
673
  function interpolate(text, values, config) {
674
674
  return Object.entries(extract(values || {})).reduce((text2, [key, value]) => text2.replace(new RegExp(`{{[  ]*${key}[  ]*}}`, `gm`), String(extract(value))), text);
@@ -889,21 +889,21 @@ const translate = e$2(TranslateDirective);
889
889
  */
890
890
  class e extends i {
891
891
  constructor(i2) {
892
- if (super(i2), this.it = b, i2.type !== t.CHILD)
892
+ if (super(i2), this.et = A, i2.type !== t.CHILD)
893
893
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
894
894
  }
895
895
  render(r2) {
896
- if (r2 === b || null == r2)
897
- return this._t = void 0, this.it = r2;
898
- if (r2 === x)
896
+ if (r2 === A || null == r2)
897
+ return this.ft = void 0, this.et = r2;
898
+ if (r2 === T)
899
899
  return r2;
900
900
  if ("string" != typeof r2)
901
901
  throw Error(this.constructor.directiveName + "() called with a non-string value");
902
- if (r2 === this.it)
903
- return this._t;
904
- this.it = r2;
902
+ if (r2 === this.et)
903
+ return this.ft;
904
+ this.et = r2;
905
905
  const s3 = [r2];
906
- return s3.raw = s3, this._t = { _$litType$: this.constructor.resultType, strings: s3, values: [] };
906
+ return s3.raw = s3, this.ft = { _$litType$: this.constructor.resultType, strings: s3, values: [] };
907
907
  }
908
908
  }
909
909
  e.directiveName = "unsafeHTML", e.resultType = 1;
@@ -1162,7 +1162,7 @@ const styles$1 = i$2`
1162
1162
  z-index: -1;
1163
1163
  }
1164
1164
  `;
1165
- const CheckmarkIcon = y`
1165
+ const CheckmarkIcon = x`
1166
1166
  <svg
1167
1167
  version="1.0"
1168
1168
  viewBox="0 0 500.000000 500.000000"
@@ -1182,7 +1182,7 @@ const CheckmarkIcon = y`
1182
1182
  </g>
1183
1183
  </svg>
1184
1184
  `;
1185
- const ShipAidLogo = y`
1185
+ const ShipAidLogo = x`
1186
1186
  <svg
1187
1187
  version="1.0"
1188
1188
  width="500.000000pt"
@@ -1204,7 +1204,7 @@ const ShipAidLogo = y`
1204
1204
  </g>
1205
1205
  </svg>
1206
1206
  `;
1207
- const ShipAidLogoText = y`
1207
+ const ShipAidLogoText = x`
1208
1208
  <svg
1209
1209
  viewBox="0 0 423 62"
1210
1210
  version="1.1"
@@ -1287,7 +1287,7 @@ const ShipAidLogoText = y`
1287
1287
  </g>
1288
1288
  </svg>
1289
1289
  `;
1290
- const CheckmarkRibbon = y`
1290
+ const CheckmarkRibbon = x`
1291
1291
  <svg
1292
1292
  version="1.0"
1293
1293
  viewBox="0 0 500.000000 500.000000"
@@ -1313,7 +1313,7 @@ const CheckmarkRibbon = y`
1313
1313
  </g>
1314
1314
  </svg>
1315
1315
  `;
1316
- const MapIcon = y`
1316
+ const MapIcon = x`
1317
1317
  <svg
1318
1318
  version="1.0"
1319
1319
  viewBox="0 0 500.000000 500.000000"
@@ -1333,7 +1333,7 @@ const MapIcon = y`
1333
1333
  </g>
1334
1334
  </svg>
1335
1335
  `;
1336
- const BoxIcon = y`
1336
+ const BoxIcon = x`
1337
1337
  <svg
1338
1338
  version="1.0"
1339
1339
  viewBox="0 0 500.000000 500.000000"
@@ -1359,7 +1359,7 @@ const BoxIcon = y`
1359
1359
  </g>
1360
1360
  </svg>
1361
1361
  `;
1362
- const BellIcon = y`
1362
+ const BellIcon = x`
1363
1363
  <svg
1364
1364
  xmlns="http://www.w3.org/2000/svg"
1365
1365
  version="1.0"
@@ -1407,7 +1407,7 @@ let LearnMorePopup = class extends s$1 {
1407
1407
  this.dispatchEvent(event);
1408
1408
  }
1409
1409
  render() {
1410
- return y`
1410
+ return x`
1411
1411
  <div class=${`shipaid-popup ${this.active && "active"}`}>
1412
1412
  <div class="blocker" @click=${this.handleClosePopup}></div>
1413
1413
  <button
@@ -1459,7 +1459,7 @@ let LearnMorePopup = class extends s$1 {
1459
1459
  </a>
1460
1460
  </div>
1461
1461
  <div class="footer-date">
1462
- <p>ShipAid &copy; ${new Date().getFullYear()}</p>
1462
+ <p>ShipAid &copy; ${(/* @__PURE__ */ new Date()).getFullYear()}</p>
1463
1463
  </div>
1464
1464
  </div>
1465
1465
  </div>
@@ -1472,7 +1472,7 @@ let LearnMorePopup = class extends s$1 {
1472
1472
  };
1473
1473
  LearnMorePopup.styles = styles$1;
1474
1474
  __decorateClass$1([
1475
- e$6({ type: Boolean, attribute: true })
1475
+ n$7({ type: Boolean, attribute: true })
1476
1476
  ], LearnMorePopup.prototype, "active", 2);
1477
1477
  LearnMorePopup = __decorateClass$1([
1478
1478
  e$7("shipaid-popup-learn-more")
@@ -1591,8 +1591,10 @@ const styles = i$2`
1591
1591
  position: relative;
1592
1592
  }
1593
1593
  .shipaid-prompt .prompt-product .prompt-product-image svg {
1594
- height: 35px;
1595
- width: auto;
1594
+ height: var(--shipaid-logo-height, 35px);
1595
+ max-height: var(--shipaid-logo-max-height, 35px);
1596
+ width: var(--shipaid-logo-width, auto);
1597
+ max-width: var(--shipaid-logo-max-width, 50px);
1596
1598
  }
1597
1599
  .shipaid-prompt
1598
1600
  .prompt-product
@@ -2021,7 +2023,7 @@ let ShipAidWidget = class extends s$1 {
2021
2023
  }
2022
2024
  /** Templates */
2023
2025
  learnMorePopupTemplate() {
2024
- return y`
2026
+ return x`
2025
2027
  <shipaid-popup-learn-more
2026
2028
  ?active=${this._popup === "learn-more"}
2027
2029
  @close=${() => {
@@ -2032,7 +2034,7 @@ let ShipAidWidget = class extends s$1 {
2032
2034
  }
2033
2035
  promptTemplate() {
2034
2036
  var _a;
2035
- return y`
2037
+ return x`
2036
2038
  <div class="shipaid-prompt">
2037
2039
  <div class="prompt-product">
2038
2040
  <div class="prompt-product-image">
@@ -2056,13 +2058,13 @@ let ShipAidWidget = class extends s$1 {
2056
2058
  </p>
2057
2059
  ${n(
2058
2060
  !this.disableActions,
2059
- () => y`
2061
+ () => x`
2060
2062
  <button
2061
2063
  class="prompt-product-actions-button"
2062
2064
  @click=${this._updateProtection}
2063
2065
  ?disabled=${this._state.loading}
2064
2066
  >
2065
- ${this._state.loading ? translate("actions.loading") : this._hasProtectionInCart ? translate("actions.remove") : y`+ ${translate("actions.add")}`}
2067
+ ${this._state.loading ? translate("actions.loading") : this._hasProtectionInCart ? translate("actions.remove") : x`+ ${translate("actions.add")}`}
2066
2068
  </button>
2067
2069
  `
2068
2070
  )}
@@ -2070,7 +2072,7 @@ let ShipAidWidget = class extends s$1 {
2070
2072
  </div>
2071
2073
  ${n(
2072
2074
  this._state.error,
2073
- () => y`<p class="error">${this._state.error}</p>`
2075
+ () => x`<p class="error">${this._state.error}</p>`
2074
2076
  )}
2075
2077
  <div class="prompt-footer">
2076
2078
  <a
@@ -2176,7 +2178,7 @@ let ShipAidWidget = class extends s$1 {
2176
2178
  setInterval(async () => {
2177
2179
  const lastUpdated = this._cartLastUpdated;
2178
2180
  if (lastUpdated) {
2179
- const now = new Date();
2181
+ const now = /* @__PURE__ */ new Date();
2180
2182
  const msAgo = now.getTime() - lastUpdated.getTime();
2181
2183
  if (msAgo < this.pollingInterval)
2182
2184
  return;
@@ -2194,7 +2196,7 @@ let ShipAidWidget = class extends s$1 {
2194
2196
  this,
2195
2197
  async () => {
2196
2198
  var _a, _b, _c;
2197
- this._cartLastUpdated = new Date();
2199
+ this._cartLastUpdated = /* @__PURE__ */ new Date();
2198
2200
  if (!((_a = this._cart) == null ? void 0 : _a.items))
2199
2201
  return;
2200
2202
  const protectionCartItemIndex = (_b = this._cart.items) == null ? void 0 : _b.findIndex((item) => {
@@ -2259,8 +2261,8 @@ let ShipAidWidget = class extends s$1 {
2259
2261
  },
2260
2262
  [this._store, this._cart]
2261
2263
  );
2262
- Z(this.learnMorePopupTemplate(), document.body);
2263
- return y`
2264
+ D(this.learnMorePopupTemplate(), document.body);
2265
+ return x`
2264
2266
  <div class="shipaid">
2265
2267
  ${n(
2266
2268
  this._hasFinishedSetup,
@@ -2269,10 +2271,10 @@ let ShipAidWidget = class extends s$1 {
2269
2271
  return n(
2270
2272
  this._shouldShowWidget && this.planActive && ((_a = this._store) == null ? void 0 : _a.widgetShowCart),
2271
2273
  () => this.promptTemplate(),
2272
- () => b
2274
+ () => A
2273
2275
  );
2274
2276
  },
2275
- () => y`<p>
2277
+ () => x`<p>
2276
2278
  <slot name="loading" default>${translate("loading")}</slot>
2277
2279
  </p>`
2278
2280
  )}
@@ -2282,22 +2284,22 @@ let ShipAidWidget = class extends s$1 {
2282
2284
  };
2283
2285
  ShipAidWidget.styles = styles;
2284
2286
  __decorateClass([
2285
- e$6({ type: Boolean, attribute: true })
2287
+ n$7({ type: Boolean, attribute: true })
2286
2288
  ], ShipAidWidget.prototype, "disablePolling", 2);
2287
2289
  __decorateClass([
2288
- e$6({ type: Boolean, attribute: true })
2290
+ n$7({ type: Boolean, attribute: true })
2289
2291
  ], ShipAidWidget.prototype, "disableActions", 2);
2290
2292
  __decorateClass([
2291
- e$6({ type: Number, attribute: true })
2293
+ n$7({ type: Number, attribute: true })
2292
2294
  ], ShipAidWidget.prototype, "pollingInterval", 2);
2293
2295
  __decorateClass([
2294
- e$6({ type: Boolean, attribute: true })
2296
+ n$7({ type: Boolean, attribute: true })
2295
2297
  ], ShipAidWidget.prototype, "disableRefresh", 2);
2296
2298
  __decorateClass([
2297
- e$6({ type: String, attribute: true })
2299
+ n$7({ type: String, attribute: true })
2298
2300
  ], ShipAidWidget.prototype, "lang", 2);
2299
2301
  __decorateClass([
2300
- e$6({ type: String, attribute: true })
2302
+ n$7({ type: String, attribute: true })
2301
2303
  ], ShipAidWidget.prototype, "currency", 2);
2302
2304
  __decorateClass([
2303
2305
  t$3()