@getmicdrop/venue-calendar 4.2.2 → 4.2.4

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.
Files changed (101) hide show
  1. package/dist/{ArrowLeftIcon-DQ-h5PcH.js → ArrowLeftIcon-BGd-X_Qm.js} +1 -1
  2. package/dist/{Badge-M6qZyfTF.js → Badge-Bv_MT-Vt.js} +10 -9
  3. package/dist/BlockPlaceholder-Wl39H9Z7.js +52 -0
  4. package/dist/Button-C4uFgl7L.js +2141 -0
  5. package/dist/{Calendar-BX22svpz.js → Calendar-DafPX3k_.js} +292 -290
  6. package/dist/CalendarFoundryView-COkX5oQx.js +22292 -0
  7. package/dist/{CalendarIcon-DR197Ioz.js → CalendarIcon-CeQ1_FWq.js} +1 -1
  8. package/dist/{CartView-B2VtVvZM.js → CartView-nvVA8vWk.js} +651 -644
  9. package/dist/Checkout-BphC7gak.js +1807 -0
  10. package/dist/{Checkout-BTqfjvDp.js → Checkout-Ow2x8cNL.js} +92 -91
  11. package/dist/{CheckoutTimer-Cng5tcGO.js → CheckoutTimer-DJlt5M2b.js} +5 -5
  12. package/dist/{ChevronDownIcon-C_RiK-BW.js → ChevronDownIcon-y7oNyepp.js} +1 -1
  13. package/dist/{ClockIcon-BOJENuPq.js → ClockIcon-BGTz8dak.js} +1 -1
  14. package/dist/{CloseIcon-Rc7tpX2a.js → CloseIcon-C9SHeORJ.js} +1 -1
  15. package/dist/CloseOutline-qpVa62mu.js +13 -0
  16. package/dist/{CollectionView-A1zP8yz5.js → CollectionView-BAIlcuqO.js} +13 -12
  17. package/dist/CropImage-B0tj2_uN.js +404 -0
  18. package/dist/Event-CTaXLze_.js +3034 -0
  19. package/dist/{EventPage-hxrPKPhm.js → EventPage-LuA-aEYZ.js} +168 -167
  20. package/dist/{Heading-B7VYbbfJ.js → Heading-Dfo3bjyn.js} +4 -3
  21. package/dist/Image-B3cEndLZ.js +87 -0
  22. package/dist/Input-iXqece97.js +487 -0
  23. package/dist/{MailIcon-rxvK4Wga.js → MailIcon-xtNog-7h.js} +1 -1
  24. package/dist/{Modal-BVD2O8hd.js → Modal-CqzRblrN.js} +2 -2
  25. package/dist/{ModalFooter-CfboEe1M.js → ModalFooter-DHhBLDbO.js} +59 -57
  26. package/dist/{PasswordInput-BAlq2j97.js → PasswordInput-Czm5Pe_p.js} +4 -4
  27. package/dist/{ScarcityBadge-h7ygRD_C.js → ScarcityBadge-CdgQmt1D.js} +4 -4
  28. package/dist/{SeriesPage-D-cwUNZM.js → SeriesPage-DfCyV1ka.js} +5 -5
  29. package/dist/{Spinner-ChTN7t75.js → Spinner-BwiDys7C.js} +3 -3
  30. package/dist/{Success-CIAX5zmz.js → Success-CsYxRkLE.js} +81 -80
  31. package/dist/{TagIcon-V0qMu9wS.js → TagIcon-DJSTnymB.js} +1 -1
  32. package/dist/{ViewTicketsEmbed-By-IcUJZ.js → ViewTicketsEmbed-CKucKt-W.js} +67 -66
  33. package/dist/{WarningCircleIcon-D32h6VDr.js → WarningCircleIcon-BKSQbu7p.js} +1 -1
  34. package/dist/{WarningTriIcon-BPDrCiKU.js → WarningTriIcon-DgwTwlxe.js} +1 -1
  35. package/dist/{__SKIP_PATHS__-DirqE5Xe.js → __SKIP_PATHS__-BTbGfN80.js} +1 -1
  36. package/dist/api/api.cjs +1 -1
  37. package/dist/api/api.mjs +187 -181
  38. package/dist/api/client.d.ts +16 -0
  39. package/dist/api/types.d.ts +528 -528
  40. package/dist/{browser-25hnscei.js → browser-Um8Y6K99.js} +7 -7
  41. package/dist/{colors-5ifWyP6H.js → colors-DeJAzg_q.js} +60 -59
  42. package/dist/{constants-Dcj3kgZE.js → constants-OTS1wmXZ.js} +76 -73
  43. package/dist/{copyToClipboard-CNxFW3ni.js → copyToClipboard-CRDdh3r8.js} +1 -1
  44. package/dist/{createI18n-08XGDh1_.js → createI18n-DBUVdZra.js} +1 -1
  45. package/dist/{event-Cp5D4ctZ.js → event-BrptLro8.js} +1 -1
  46. package/dist/{event-transform-DSuEpMxr.js → event-transform-BaJ7M1DL.js} +4 -4
  47. package/dist/{eventStatusStream-CIZVH5Lp.js → eventStatusStream-sq6uPnMe.js} +6 -6
  48. package/dist/{allowlist-BiUmz2AF.js → href-DJeJpcO9.js} +21 -4
  49. package/dist/{i18n-CEeBd5Hi.js → i18n-GzfxX0Ad.js} +11 -11
  50. package/dist/imageOptimizer-CB3wKJU8.js +47 -0
  51. package/dist/{labels-CtyfffZI.js → labels-CqodQmuY.js} +1 -1
  52. package/dist/{modalManager.svelte-BH-QJm9M.js → modalManager.svelte-OSPs3dSW.js} +2 -2
  53. package/dist/{order-totals-hcdvbJvw.js → order-totals-BAKL9cOB.js} +15 -13
  54. package/dist/{orders-tzTe2hNM.js → orders-NZP81zYT.js} +210 -198
  55. package/dist/{Input-W-QE9nWi.js → phoneUtils-BJeAIGYo.js} +694 -1132
  56. package/dist/{pixels-7kl8Fcjl.js → pixels-BBruZizp.js} +8 -7
  57. package/dist/{promo-BrMcoTYh.js → promo-DtLZRskK.js} +3 -3
  58. package/dist/{serverTotals-CpRaEe9K.js → serverTotals-BO126TTd.js} +1 -1
  59. package/dist/{shareCopyFeedback.svelte-DsyhrfiP.js → shareCopyFeedback.svelte-BRInK1hH.js} +25 -25
  60. package/dist/{showcase-state-options-B2XfybZq.js → showcase-state-options-BoJxiEsg.js} +1 -1
  61. package/dist/sortable.esm--ZtTTTPp.js +1451 -0
  62. package/dist/timezones-C5l0SSHK.js +2030 -0
  63. package/dist/{to-event-card-props-VPne8W4I.js → to-event-card-props-CO3aPBdH.js} +24 -23
  64. package/dist/{utils-DJVlBMbw.js → utils-C8GgxJMv.js} +30 -30
  65. package/dist/venue-calendar.css +1 -1
  66. package/dist/venue-calendar.es.js +1291 -1151
  67. package/dist/venue-calendar.iife.js +63 -62
  68. package/dist/venue-calendar.umd.js +60 -59
  69. package/dist/z-index-B0Vk_Mp1.js +27 -0
  70. package/package.json +220 -220
  71. package/dist/BlockPlaceholder-IOcqxTx2.js +0 -62
  72. package/dist/CalendarFoundryView-Ct39xn0Q.js +0 -23561
  73. package/dist/Checkout-CXcjQfbc.js +0 -1805
  74. package/dist/Event-C_0lUZvV.js +0 -3040
  75. package/dist/Image-DBJAfLYe.js +0 -81
  76. package/dist/cancel-Cq2Q8qW7.js +0 -59
  77. package/dist/timezones-Cq1mLtfM.js +0 -4170
  78. /package/dist/locales/{4.2.2 → 4.2.4}/flow/de.js +0 -0
  79. /package/dist/locales/{4.2.2 → 4.2.4}/flow/es.js +0 -0
  80. /package/dist/locales/{4.2.2 → 4.2.4}/flow/fr.js +0 -0
  81. /package/dist/locales/{4.2.2 → 4.2.4}/flow/id.js +0 -0
  82. /package/dist/locales/{4.2.2 → 4.2.4}/flow/it.js +0 -0
  83. /package/dist/locales/{4.2.2 → 4.2.4}/flow/ja.js +0 -0
  84. /package/dist/locales/{4.2.2 → 4.2.4}/flow/ko.js +0 -0
  85. /package/dist/locales/{4.2.2 → 4.2.4}/flow/nl.js +0 -0
  86. /package/dist/locales/{4.2.2 → 4.2.4}/flow/pl.js +0 -0
  87. /package/dist/locales/{4.2.2 → 4.2.4}/flow/pt-br.js +0 -0
  88. /package/dist/locales/{4.2.2 → 4.2.4}/flow/tr.js +0 -0
  89. /package/dist/locales/{4.2.2 → 4.2.4}/flow/zh.js +0 -0
  90. /package/dist/locales/{4.2.2 → 4.2.4}/main/de.js +0 -0
  91. /package/dist/locales/{4.2.2 → 4.2.4}/main/es.js +0 -0
  92. /package/dist/locales/{4.2.2 → 4.2.4}/main/fr.js +0 -0
  93. /package/dist/locales/{4.2.2 → 4.2.4}/main/id.js +0 -0
  94. /package/dist/locales/{4.2.2 → 4.2.4}/main/it.js +0 -0
  95. /package/dist/locales/{4.2.2 → 4.2.4}/main/ja.js +0 -0
  96. /package/dist/locales/{4.2.2 → 4.2.4}/main/ko.js +0 -0
  97. /package/dist/locales/{4.2.2 → 4.2.4}/main/nl.js +0 -0
  98. /package/dist/locales/{4.2.2 → 4.2.4}/main/pl.js +0 -0
  99. /package/dist/locales/{4.2.2 → 4.2.4}/main/pt-br.js +0 -0
  100. /package/dist/locales/{4.2.2 → 4.2.4}/main/tr.js +0 -0
  101. /package/dist/locales/{4.2.2 → 4.2.4}/main/zh.js +0 -0
@@ -1,5 +1,5 @@
1
- import { tt as e } from "./timezones-Cq1mLtfM.js";
2
- import { I as t, j as n } from "./orders-tzTe2hNM.js";
1
+ import { x as e } from "./Button-C4uFgl7L.js";
2
+ import { M as t, R as n } from "./orders-NZP81zYT.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -53,8 +53,8 @@ function s(e, t, n = {}) {
53
53
  };
54
54
  }
55
55
  function c(e, r) {
56
- let o = t(), c = `${n()}/events/${e}/stream`;
57
- return s(o ? `${n()}/events/${e}/stream?widget_key=${encodeURIComponent(o)}` : c, (e) => {
56
+ let o = n(), c = `${t()}/events/${e}/stream`;
57
+ return s(o ? `${t()}/events/${e}/stream?widget_key=${encodeURIComponent(o)}` : c, (e) => {
58
58
  r.onChange?.(e), i.has(e.action) ? r.onUnavailable?.(e.action) : a.has(e.action) && r.onAvailable?.(e.action);
59
59
  }, {
60
60
  keylessUrl: c,
@@ -62,8 +62,8 @@ function c(e, r) {
62
62
  });
63
63
  }
64
64
  function l(e, r) {
65
- let i = t(), a = `${n()}/venues/${e}/stream`;
66
- return s(i ? `${n()}/venues/${e}/stream?widget_key=${encodeURIComponent(i)}` : a, (e) => {
65
+ let i = n(), a = `${t()}/venues/${e}/stream`;
66
+ return s(i ? `${t()}/venues/${e}/stream?widget_key=${encodeURIComponent(i)}` : a, (e) => {
67
67
  let t = e.eventId ?? (e.entityType === "event" ? e.entityId : void 0);
68
68
  t && r.onEventChange?.(t, e);
69
69
  }, {
@@ -1,6 +1,6 @@
1
- import { Z as e } from "./timezones-Cq1mLtfM.js";
2
- import { J as t } from "./constants-Dcj3kgZE.js";
3
- import { t as n } from "./Image-DBJAfLYe.js";
1
+ import { _ as e } from "./Button-C4uFgl7L.js";
2
+ import { J as t } from "./constants-OTS1wmXZ.js";
3
+ import { t as n } from "./Image-B3cEndLZ.js";
4
4
  import "svelte/internal/disclose-version";
5
5
  import * as r from "svelte/internal/client";
6
6
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/UserIcon.svelte
@@ -95,4 +95,21 @@ var d = [
95
95
  "mailto:"
96
96
  ], m = Object.fromEntries(d.map((e) => [e, f[e] ?? []]));
97
97
  //#endregion
98
- export { s as i, m as n, u as r, p as t };
98
+ //#region node_modules/@getmicdrop/svelte-components/dist/richtext/href.js
99
+ function h(e) {
100
+ return e.replace(/&#x([0-9a-f]+);?/gi, (e, t) => g(parseInt(t, 16), e)).replace(/&#(\d+);?/g, (e, t) => g(Number(t), e)).replace(/[\u0000-\u0020\u007F]+/g, "");
101
+ }
102
+ function g(e, t) {
103
+ return Number.isFinite(e) && e >= 0 && e <= 1114111 ? String.fromCodePoint(e) : t;
104
+ }
105
+ function _(e) {
106
+ let t = h(e).trim();
107
+ if (t === "") return !1;
108
+ if (t.startsWith("/") || t.startsWith("#") || t.startsWith("?")) return !0;
109
+ let n = t.match(/^([a-z][a-z0-9+.-]*):/i);
110
+ if (n) return p.includes(n[1].toLowerCase() + ":");
111
+ let r = t.split(/[?#]/)[0];
112
+ return !r.includes(":") && !r.includes("&");
113
+ }
114
+ //#endregion
115
+ export { s as a, u as i, p as n, m as r, _ as t };
@@ -1,9 +1,9 @@
1
- import { I as e, J as t, k as n, w as r } from "./timezones-Cq1mLtfM.js";
2
- import { C as i, K as a, O as o, g as s, h as c, n as l, r as u, v as d } from "./constants-Dcj3kgZE.js";
1
+ import { E as e, R as t, m as n, y as r } from "./timezones-C5l0SSHK.js";
2
+ import { C as i, K as a, O as o, g as s, h as c, n as l, r as u, v as d } from "./constants-OTS1wmXZ.js";
3
3
  import { t as f } from "./Text-CqjLjIF8.js";
4
- import { E as p } from "./colors-5ifWyP6H.js";
5
- import { t as m } from "./createI18n-08XGDh1_.js";
6
- import { t as h } from "./labels-CtyfffZI.js";
4
+ import { E as p } from "./colors-DeJAzg_q.js";
5
+ import { t as m } from "./createI18n-DBUVdZra.js";
6
+ import { t as h } from "./labels-CqodQmuY.js";
7
7
  import "svelte/internal/disclose-version";
8
8
  import * as g from "svelte/internal/client";
9
9
  //#region src/lib/api/cta.ts
@@ -19,8 +19,8 @@ function _(t, i, o = {}) {
19
19
  disabled: !0,
20
20
  reason: "postponed"
21
21
  };
22
- let d = n(t.endDateTime || t.startDateTime);
23
- if (d && r(d, u) < 0) return {
22
+ let d = r(t.endDateTime || t.startDateTime);
23
+ if (d && n(d, u) < 0) return {
24
24
  text: "Sales ended",
25
25
  disabled: !0,
26
26
  reason: "event_past"
@@ -62,8 +62,8 @@ function _(t, i, o = {}) {
62
62
  };
63
63
  let _ = !1, v = !0, y = !0, b = null;
64
64
  for (let e of g) {
65
- let t = n(e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart), i = n(e.salesEnd || e.saleEnd || e.onSaleEnd), a = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity, o = e.soldOut || a != null && a <= 0, s = t ? r(t, u) > 0 : !1, c = i ? r(i, u) < 0 : !1;
66
- !o && !s && !c && (_ = !0), o || (v = !1), s || (y = !1), s && t && !o && !c && (!b || r(t, b) < 0) && (b = t);
65
+ let t = r(e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart), i = r(e.salesEnd || e.saleEnd || e.onSaleEnd), a = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity, o = e.soldOut || a != null && a <= 0, s = t ? n(t, u) > 0 : !1, c = i ? n(i, u) < 0 : !1;
66
+ !o && !s && !c && (_ = !0), o || (v = !1), s || (y = !1), s && t && !o && !c && (!b || n(t, b) < 0) && (b = t);
67
67
  }
68
68
  if (_) return {
69
69
  text: c ? "Reserve a spot" : "Get tickets",
@@ -76,12 +76,12 @@ function _(t, i, o = {}) {
76
76
  disabled: !1,
77
77
  reason: "hidden_only"
78
78
  };
79
- let e = r(b, u), t = e / 36e5, n = e / 864e5, i = (e) => a(e, {
79
+ let e = n(b, u), t = e / 36e5, r = e / 864e5, i = (e) => a(e, {
80
80
  hour: "numeric",
81
81
  minute: "2-digit",
82
82
  hour12: !0
83
83
  }, "en-US"), o;
84
- return o = t < 24 ? i(b) : n <= 7 ? a(b, {
84
+ return o = t < 24 ? i(b) : r <= 7 ? a(b, {
85
85
  weekday: "short",
86
86
  hour: "numeric",
87
87
  minute: "2-digit",
@@ -0,0 +1,47 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as e from "svelte/internal/client";
3
+ //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/PlusOutline.svelte
4
+ var t = e.from_svg("<svg aria-hidden=\"true\" fill=\"none\" stroke-width=\"2\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 4.5v15m7.5-7.5h-15\"></path></svg>");
5
+ function n(n, r) {
6
+ let i = e.prop(r, "size", 3, "24"), a = e.prop(r, "color", 3, "currentColor"), o = e.prop(r, "class", 3, "");
7
+ var s = t();
8
+ e.template_effect(() => {
9
+ e.set_class(s, 0, e.clsx(o())), e.set_attribute(s, "width", i()), e.set_attribute(s, "height", i()), e.set_attribute(s, "stroke", a());
10
+ }), e.append(n, s);
11
+ }
12
+ //#endregion
13
+ //#region node_modules/@getmicdrop/svelte-components/dist/utils/imageOptimizer.js
14
+ function r(e) {
15
+ return new Promise((t, n) => {
16
+ let r = new Image();
17
+ r.addEventListener("load", () => t(r)), r.addEventListener("error", (e) => n(e)), e.startsWith("blob:") || r.setAttribute("crossOrigin", "anonymous"), r.src = e;
18
+ });
19
+ }
20
+ function i() {
21
+ let e = document.createElement("canvas");
22
+ return e.width = 1, e.height = 1, e.toDataURL("image/webp").indexOf("data:image/webp") === 0;
23
+ }
24
+ async function a(e, t = {}) {
25
+ let { maxSize: n = 1e3, quality: a, forceSquare: o = !1 } = t, s = URL.createObjectURL(e);
26
+ try {
27
+ let t = await r(s), c = document.createElement("canvas"), l = c.getContext("2d"), u, d, f = 0, p = 0, m = t.width, h = t.height;
28
+ if (o) {
29
+ let e = Math.min(t.width, t.height);
30
+ f = (t.width - e) / 2, p = (t.height - e) / 2, m = e, h = e, u = n, d = n;
31
+ } else {
32
+ let e = t.width / t.height;
33
+ t.width > t.height ? (u = Math.min(t.width, n), d = Math.round(u / e)) : (d = Math.min(t.height, n), u = Math.round(d * e)), t.width <= n && t.height <= n && (u = t.width, d = t.height);
34
+ }
35
+ c.width = u, c.height = d, l.imageSmoothingEnabled = !0, l.imageSmoothingQuality = "high", l.drawImage(t, f, p, m, h, 0, 0, u, d);
36
+ let g = i(), _ = g ? "image/webp" : "image/jpeg", v = a ?? (g ? .8 : .85), y = g ? "webp" : "jpg", b = `${e.name.replace(/\.[^.]+$/, "")}.${y}`;
37
+ return new Promise((e) => {
38
+ c.toBlob((t) => {
39
+ e(new File([t], b, { type: _ }));
40
+ }, _, v);
41
+ });
42
+ } finally {
43
+ URL.revokeObjectURL(s);
44
+ }
45
+ }
46
+ //#endregion
47
+ export { n as i, a as n, i as r, r as t };
@@ -1,4 +1,4 @@
1
- import { i as e, n as t, r as n, t as r } from "./colors-5ifWyP6H.js";
1
+ import { i as e, n as t, r as n, t as r } from "./colors-DeJAzg_q.js";
2
2
  //#region src/lib/core/theme-engine.js
3
3
  var i = {
4
4
  primary: t.defaultThemePrimary,
@@ -1,5 +1,5 @@
1
- import { at as e } from "./timezones-Cq1mLtfM.js";
2
- import { o as t } from "./ModalFooter-CfboEe1M.js";
1
+ import { B as e } from "./timezones-C5l0SSHK.js";
2
+ import { o as t } from "./ModalFooter-DHhBLDbO.js";
3
3
  import "svelte/internal/disclose-version";
4
4
  import * as n from "svelte/internal/client";
5
5
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalHeader.svelte
@@ -1,8 +1,12 @@
1
- import { q as e } from "./timezones-Cq1mLtfM.js";
2
- import { D as t, O as n } from "./constants-Dcj3kgZE.js";
3
- import { n as r } from "./promo-BrMcoTYh.js";
4
- var i = .25, a = .029, o = .3;
1
+ import { L as e } from "./timezones-C5l0SSHK.js";
2
+ import { D as t, O as n } from "./constants-OTS1wmXZ.js";
3
+ import { n as r } from "./promo-DtLZRskK.js";
4
+ var i = .029, a = .3;
5
+ function o(e) {
6
+ return e.discountedPrice ?? e.price;
7
+ }
5
8
  function s(e, r = {}) {
9
+ if (e <= 0) return 0;
6
10
  let i = r.serviceFeePercentage ?? 5, a = (r.serviceFeeCents ?? 150) / 100;
7
11
  switch (t(r.serviceFeeChargeType)) {
8
12
  case "percentage": return n(i / 100 * e);
@@ -11,7 +15,7 @@ function s(e, r = {}) {
11
15
  }
12
16
  }
13
17
  function c(e, t) {
14
- return (a * (e + t) + o) / .971;
18
+ return (i * (e + t) + a) / .971;
15
19
  }
16
20
  function l(e = {}) {
17
21
  return e.absorbServiceFee === !0;
@@ -20,21 +24,19 @@ function u(e) {
20
24
  return n(e.serviceFee + e.cardProcessing);
21
25
  }
22
26
  function d(e, t = {}) {
23
- let r = n(e.reduce((e, t) => e + t.price * t.quantity, 0));
27
+ let r = n(e.reduce((e, t) => e + o(t) * t.quantity, 0));
24
28
  if (r <= 0 || l(t)) return {
25
29
  face: r,
26
30
  serviceFee: 0,
27
31
  cardProcessing: 0,
28
32
  total: r
29
33
  };
30
- let a = e.reduce((e, n) => e + Math.min(s(n.price, t), 10) * n.quantity, 0), o = c(r, a), u = r * i;
31
- a + o > u && (a = Math.max(0, u - o), o = c(r, a));
32
- let d = n(o), f = n(a);
33
- return f + d > u && (f = Math.max(0, Math.floor((u - d) * 100) / 100)), {
34
+ let i = e.reduce((e, n) => e + Math.min(s(o(n), t), 10) * n.quantity, 0), a = c(r, i), u = n(a), d = n(i);
35
+ return {
34
36
  face: r,
35
- serviceFee: f,
36
- cardProcessing: d,
37
- total: n(r + f + d)
37
+ serviceFee: d,
38
+ cardProcessing: u,
39
+ total: n(r + d + u)
38
40
  };
39
41
  }
40
42
  //#endregion