@everymatrix/cashier-page 1.76.3 → 1.76.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 (88) hide show
  1. package/components/CashierError-DsMwtzxf.cjs +8 -0
  2. package/components/CashierError-Em-_czPe.js +4724 -0
  3. package/components/CashierError-yvKyTaTC.js +4687 -0
  4. package/components/CashierHeader-CuDEl1w1.cjs +1 -0
  5. package/components/{CashierHeader-DLG8WfO6.js → CashierHeader-Dxi8Jtj4.js} +94 -94
  6. package/components/{CashierHeader-BCdG7bez.js → CashierHeader-RLJk1gKN.js} +96 -96
  7. package/components/{CashierIframeRedirect-CnEM1gDh.js → CashierIframeRedirect-Cco7Gb7R.js} +32 -32
  8. package/components/{CashierIframeRedirect-CkRri0IY.cjs → CashierIframeRedirect-CnJ84d_e.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-Dk2xegfN.js → CashierIframeRedirect-N_09LMIf.js} +22 -22
  10. package/components/CashierMethodDetails-BdOa371S.cjs +99 -0
  11. package/components/{CashierMethodDetails-B7K0QBeJ.js → CashierMethodDetails-Dkt9M8SJ.js} +2677 -2484
  12. package/components/{CashierMethodDetails-BoS6MlUx.js → CashierMethodDetails-I1ULEoTT.js} +2856 -2663
  13. package/components/{CashierMethodsList-CRFPceug.js → CashierMethodsList-B-8ChoCF.js} +129 -129
  14. package/components/{CashierMethodsList-DhR3GOR6.js → CashierMethodsList-Ws4f-d0D.js} +93 -93
  15. package/components/CashierMethodsList-v4GpQIuZ.cjs +1 -0
  16. package/components/CashierModal-BXxFqB-I.cjs +1 -0
  17. package/components/{CashierModal-CzXlonwB.js → CashierModal-CASS0-KJ.js} +38 -38
  18. package/components/{CashierModal-DO7QbZLa.js → CashierModal-ClAusfBV.js} +38 -38
  19. package/components/{CashierNotifications-BJvuSaMv.js → CashierNotifications-B2IF5AKx.js} +32 -32
  20. package/components/{CashierNotifications-BdzVIY--.cjs → CashierNotifications-BCh3NAch.cjs} +1 -1
  21. package/components/{CashierNotifications-DVtcZTJB.js → CashierNotifications-BpwG5KTj.js} +32 -32
  22. package/components/{CashierPage-B0lu-4i9.js → CashierPage-BBV2mhMw.js} +196 -196
  23. package/components/{CashierPage-Cuva9Y9y.cjs → CashierPage-CGrBSaaJ.cjs} +1 -1
  24. package/components/{CashierPage-BrEwgGiY.js → CashierPage-DrzPS3IQ.js} +178 -178
  25. package/components/CashierReceiptPage-B5AHJwdZ.js +1640 -0
  26. package/components/CashierReceiptPage-BagkO30m.js +1638 -0
  27. package/components/CashierReceiptPage-Bp8508qg.cjs +1 -0
  28. package/components/CashierSessionExpirationModal-BJo_prcQ.js +1202 -0
  29. package/components/CashierSessionExpirationModal-D1JlHD-p.js +1202 -0
  30. package/components/CashierSessionExpirationModal-NGNJ3oLH.cjs +2 -0
  31. package/components/{CashierSpinner-DtxnAuCX.cjs → CashierSpinner-B2gn5ROq.cjs} +1 -1
  32. package/components/{CashierSpinner-DGvMA7TT.js → CashierSpinner-BUwNkgvV.js} +15 -15
  33. package/components/{CashierSpinner-nxLopx6S.js → CashierSpinner-C22FDQ97.js} +16 -16
  34. package/components/{CashierTransactionHistory-D9cuJwNg.js → CashierTransactionHistory-CVIrofQA.js} +73 -73
  35. package/components/{CashierTransactionHistory-tuj8kYsP.cjs → CashierTransactionHistory-ox8r32fd.cjs} +1 -1
  36. package/components/{CashierTransactionHistory-Bv4k6sdm.js → CashierTransactionHistory-qeDvpFLP.js} +116 -116
  37. package/components/{CashierVerifications-3sSSv6ir.js → CashierVerifications-BI0KHSGz.js} +32 -32
  38. package/components/{CashierVerifications-cWStjKKK.js → CashierVerifications-BcD3FsVC.js} +40 -40
  39. package/components/CashierVerifications-CoUPH9y3.cjs +1 -0
  40. package/components/{TxnStatusIcon-Cz9gvTZb.js → TxnStatusIcon-B04w0fo2.js} +23 -23
  41. package/components/{TxnStatusIcon-BnYqfnba.cjs → TxnStatusIcon-DFkrUixr.cjs} +1 -1
  42. package/components/{TxnStatusIcon-_w4gDvXk.js → TxnStatusIcon-nKCGcJ5M.js} +19 -19
  43. package/components/{TxnTypeIcons-BpU4tRqc.cjs → TxnTypeIcons-B37wJ04B.cjs} +1 -1
  44. package/components/{TxnTypeIcons-BoTS7N4H.js → TxnTypeIcons-CKT9qv8s.js} +14 -14
  45. package/components/{TxnTypeIcons-UBC4VGlN.js → TxnTypeIcons-CpvqiIon.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  51. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  52. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  53. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  54. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  55. package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
  56. package/stencil/{ui-image-am9MgSQ8.js → ui-image-BWJXFWH1.js} +1 -1
  57. package/stencil/{ui-image-CNNeJmP0.cjs → ui-image-ByEXiBzx.cjs} +1 -1
  58. package/stencil/{ui-image-DCPAt25-.js → ui-image-DIEeZy5u.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  62. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  63. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  64. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  65. package/stencil/{ui-skeleton-vQGsM2TX.js → ui-skeleton-4-zrLsIW.js} +2 -2
  66. package/stencil/{ui-skeleton-D1L4lwNZ.js → ui-skeleton-9boHSjtG.js} +2 -2
  67. package/stencil/{ui-skeleton-D6had8uT.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-Biyf8F-y.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-DSTcB-py.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-CzSGP5Of.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
  71. package/components/CashierError-BEeh6TaY.cjs +0 -21
  72. package/components/CashierError-CyV-JySM.js +0 -4754
  73. package/components/CashierError-Dc34a9CC.js +0 -4717
  74. package/components/CashierHeader-DGEWiZlt.cjs +0 -1
  75. package/components/CashierMethodDetails-bl4ScKF1.cjs +0 -86
  76. package/components/CashierMethodsList-DY3MlNFY.cjs +0 -1
  77. package/components/CashierModal-Cd446Ova.cjs +0 -1
  78. package/components/CashierReceiptPage-D0NlK-Nf.cjs +0 -1
  79. package/components/CashierReceiptPage-DZJjgSBw.js +0 -1607
  80. package/components/CashierReceiptPage-DvKEi_ba.js +0 -1605
  81. package/components/CashierSessionExpirationModal-B_Y3Xi95.js +0 -1212
  82. package/components/CashierSessionExpirationModal-CBFaRe-x.cjs +0 -2
  83. package/components/CashierSessionExpirationModal-XdME6XUb.js +0 -1212
  84. package/components/CashierVerifications-lbOEU8Wv.cjs +0 -1
  85. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  86. package/stencil/index-b2193545-9IBTGq1X.cjs +0 -1
  87. package/stencil/index-b2193545-B5WVVmva.js +0 -519
  88. package/stencil/index-b2193545-CfiRkmy3.js +0 -503
@@ -1,1212 +0,0 @@
1
- import { a as Cn, i as Rn, $ as xn, S as On, b as Mn, f as j, c as Ln, s as Nn, d as kn, v as cn, k as ce, t as le, o as pe, a0 as un, p as ue, q as Ut, r as vn, a4 as Dn, e as Be, g as P, w as qe, h as ve, j as h, N as zt, l as C, a1 as In, C as Ft, x as Ze, u as Ye, m as je, n as Ve, a3 as fn, a2 as Wt, V as Pn, y as Ht, z as Un, A as zn, B as Fn, X as Gt, D as ut, E as Wn, G as ft } from "./CashierError-Dc34a9CC.js";
2
- import { f as Bt } from "./CashierModal-DO7QbZLa.js";
3
- import { d as Yt, u as Hn, x as jt } from "./CashierMethodDetails-B7K0QBeJ.js";
4
- function Vt(n, t) {
5
- Cn(n, t);
6
- }
7
- function Gn(n) {
8
- Rn({
9
- fallbackLocale: "en"
10
- }), xn.set(n);
11
- }
12
- const Xt = {
13
- en: {
14
- sessionExpirationHeader: "Session Warning",
15
- sessionExpirationTitle: "Your session is about to expire!",
16
- sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
17
- sessionExpirationGeneralButton: "CONTINUE",
18
- sessionExpirationLoadingButton: "PROCESSING..."
19
- },
20
- tr: {
21
- sessionExpirationHeader: "Oturum Uyarısı",
22
- sessionExpirationTitle: "Oturumunuzun süresi dolmak üzere!",
23
- sessionExpirationGeneralText: "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
24
- sessionExpirationGeneralButton: "DEVAM ET",
25
- sessionExpirationLoadingButton: "İŞLEME..."
26
- },
27
- "en-us": {
28
- sessionExpirationHeader: "Session Warning",
29
- sessionExpirationTitle: "Your session is about to expire!",
30
- sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
31
- sessionExpirationGeneralButton: "CONTINUE",
32
- sessionExpirationLoadingButton: "PROCESSING..."
33
- }
34
- };
35
- /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
36
- const {
37
- entries: mn,
38
- setPrototypeOf: qt,
39
- isFrozen: Bn,
40
- getPrototypeOf: Yn,
41
- getOwnPropertyDescriptor: jn
42
- } = Object;
43
- let {
44
- freeze: U,
45
- seal: J,
46
- create: pn
47
- } = Object, {
48
- apply: mt,
49
- construct: pt
50
- } = typeof Reflect < "u" && Reflect;
51
- U || (U = function(t) {
52
- return t;
53
- });
54
- J || (J = function(t) {
55
- return t;
56
- });
57
- mt || (mt = function(t, i, o) {
58
- return t.apply(i, o);
59
- });
60
- pt || (pt = function(t, i) {
61
- return new t(...i);
62
- });
63
- const He = V(Array.prototype.forEach), Zt = V(Array.prototype.pop), Oe = V(Array.prototype.push), Xe = V(String.prototype.toLowerCase), st = V(String.prototype.toString), Kt = V(String.prototype.match), Me = V(String.prototype.replace), Vn = V(String.prototype.indexOf), Xn = V(String.prototype.trim), te = V(Object.prototype.hasOwnProperty), I = V(RegExp.prototype.test), Le = qn(TypeError);
64
- function V(n) {
65
- return function(t) {
66
- for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
67
- o[r - 1] = arguments[r];
68
- return mt(n, t, o);
69
- };
70
- }
71
- function qn(n) {
72
- return function() {
73
- for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
74
- i[o] = arguments[o];
75
- return pt(n, i);
76
- };
77
- }
78
- function f(n, t) {
79
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xe;
80
- qt && qt(n, null);
81
- let o = t.length;
82
- for (; o--; ) {
83
- let r = t[o];
84
- if (typeof r == "string") {
85
- const l = i(r);
86
- l !== r && (Bn(t) || (t[o] = l), r = l);
87
- }
88
- n[r] = !0;
89
- }
90
- return n;
91
- }
92
- function Zn(n) {
93
- for (let t = 0; t < n.length; t++)
94
- te(n, t) || (n[t] = null);
95
- return n;
96
- }
97
- function Te(n) {
98
- const t = pn(null);
99
- for (const [i, o] of mn(n))
100
- te(n, i) && (Array.isArray(o) ? t[i] = Zn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Te(o) : t[i] = o);
101
- return t;
102
- }
103
- function Ne(n, t) {
104
- for (; n !== null; ) {
105
- const o = jn(n, t);
106
- if (o) {
107
- if (o.get)
108
- return V(o.get);
109
- if (typeof o.value == "function")
110
- return V(o.value);
111
- }
112
- n = Yn(n);
113
- }
114
- function i() {
115
- return null;
116
- }
117
- return i;
118
- }
119
- const Jt = U(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), rt = U(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), at = U(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Kn = U(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), lt = U(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Jn = U(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = U(["#text"]), $t = U(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ct = U(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), en = U(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ge = U(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qn = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = J(/<%[\w\W]*|[\w\W]*%>/gm), ei = J(/\${[\w\W]*}/gm), ti = J(/^data-[\-\w.\u00B7-\uFFFF]/), ni = J(/^aria-[\-\w]+$/), dn = J(
120
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
121
- // eslint-disable-line no-useless-escape
122
- ), ii = J(/^(?:\w+script|data):/i), oi = J(
123
- /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
124
- // eslint-disable-line no-control-regex
125
- ), hn = J(/^html$/i), si = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
126
- var tn = /* @__PURE__ */ Object.freeze({
127
- __proto__: null,
128
- MUSTACHE_EXPR: Qn,
129
- ERB_EXPR: $n,
130
- TMPLIT_EXPR: ei,
131
- DATA_ATTR: ti,
132
- ARIA_ATTR: ni,
133
- IS_ALLOWED_URI: dn,
134
- IS_SCRIPT_OR_DATA: ii,
135
- ATTR_WHITESPACE: oi,
136
- DOCTYPE_NAME: hn,
137
- CUSTOM_ELEMENT: si
138
- });
139
- const ke = {
140
- element: 1,
141
- attribute: 2,
142
- text: 3,
143
- cdataSection: 4,
144
- entityReference: 5,
145
- // Deprecated
146
- entityNode: 6,
147
- // Deprecated
148
- progressingInstruction: 7,
149
- comment: 8,
150
- document: 9,
151
- documentType: 10,
152
- documentFragment: 11,
153
- notation: 12
154
- // Deprecated
155
- }, ri = function() {
156
- return typeof window > "u" ? null : window;
157
- }, ai = function(t, i) {
158
- if (typeof t != "object" || typeof t.createPolicy != "function")
159
- return null;
160
- let o = null;
161
- const r = "data-tt-policy-suffix";
162
- i && i.hasAttribute(r) && (o = i.getAttribute(r));
163
- const l = "dompurify" + (o ? "#" + o : "");
164
- try {
165
- return t.createPolicy(l, {
166
- createHTML(m) {
167
- return m;
168
- },
169
- createScriptURL(m) {
170
- return m;
171
- }
172
- });
173
- } catch {
174
- return console.warn("TrustedTypes policy " + l + " could not be created."), null;
175
- }
176
- };
177
- function gn() {
178
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ri();
179
- const t = (u) => gn(u);
180
- if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== ke.document)
181
- return t.isSupported = !1, t;
182
- let {
183
- document: i
184
- } = n;
185
- const o = i, r = o.currentScript, {
186
- DocumentFragment: l,
187
- HTMLTemplateElement: m,
188
- Node: N,
189
- Element: k,
190
- NodeFilter: w,
191
- NamedNodeMap: R = n.NamedNodeMap || n.MozNamedAttrMap,
192
- HTMLFormElement: de,
193
- DOMParser: he,
194
- trustedTypes: X
195
- } = n, b = k.prototype, x = Ne(b, "cloneNode"), M = Ne(b, "remove"), fe = Ne(b, "nextSibling"), z = Ne(b, "childNodes"), d = Ne(b, "parentNode");
196
- if (typeof m == "function") {
197
- const u = i.createElement("template");
198
- u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
199
- }
200
- let p, G = "";
201
- const {
202
- implementation: q,
203
- createNodeIterator: Z,
204
- createDocumentFragment: F,
205
- getElementsByTagName: Q
206
- } = i, {
207
- importNode: oe
208
- } = o;
209
- let A = {};
210
- t.isSupported = typeof mn == "function" && typeof d == "function" && q && q.createHTMLDocument !== void 0;
211
- const {
212
- MUSTACHE_EXPR: B,
213
- ERB_EXPR: $,
214
- TMPLIT_EXPR: Y,
215
- DATA_ATTR: Ee,
216
- ARIA_ATTR: K,
217
- IS_SCRIPT_OR_DATA: se,
218
- ATTR_WHITESPACE: g,
219
- CUSTOM_ELEMENT: E
220
- } = tn;
221
- let {
222
- IS_ALLOWED_URI: me
223
- } = tn, y = null;
224
- const De = f({}, [...Jt, ...rt, ...at, ...lt, ...Qt]);
225
- let S = null;
226
- const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
227
- let a = Object.seal(pn(null, {
228
- tagNameCheck: {
229
- writable: !0,
230
- configurable: !1,
231
- enumerable: !0,
232
- value: null
233
- },
234
- attributeNameCheck: {
235
- writable: !0,
236
- configurable: !1,
237
- enumerable: !0,
238
- value: null
239
- },
240
- allowCustomizedBuiltInElements: {
241
- writable: !0,
242
- configurable: !1,
243
- enumerable: !0,
244
- value: !1
245
- }
246
- })), _ = null, ee = null, W = !0, Ke = !0, dt = !1, ht = !0, _e = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Ae = !1, Pe = !1, Ue = !1, gt = !0, Tt = !1;
247
- const Tn = "user-content-";
248
- let et = !0, Ce = !1, be = {}, ye = null;
249
- const Et = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
250
- let _t = null;
251
- const At = f({}, ["audio", "video", "img", "source", "image", "track"]);
252
- let tt = null;
253
- const bt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ze = "http://www.w3.org/1998/Math/MathML", Fe = "http://www.w3.org/2000/svg", re = "http://www.w3.org/1999/xhtml";
254
- let Se = re, nt = !1, it = null;
255
- const En = f({}, [ze, Fe, re], st);
256
- let Re = null;
257
- const _n = ["application/xhtml+xml", "text/html"], An = "text/html";
258
- let O = null, we = null;
259
- const bn = i.createElement("form"), yt = function(e) {
260
- return e instanceof RegExp || e instanceof Function;
261
- }, ot = function() {
262
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
263
- if (!(we && we === e)) {
264
- if ((!e || typeof e != "object") && (e = {}), e = Te(e), Re = // eslint-disable-next-line unicorn/prefer-includes
265
- _n.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE, O = Re === "application/xhtml+xml" ? st : Xe, y = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, O) : De, S = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, O) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : En, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
266
- Te(bt),
267
- // eslint-disable-line indent
268
- e.ADD_URI_SAFE_ATTR,
269
- // eslint-disable-line indent
270
- O
271
- // eslint-disable-line indent
272
- ) : bt, _t = te(e, "ADD_DATA_URI_TAGS") ? f(
273
- Te(At),
274
- // eslint-disable-line indent
275
- e.ADD_DATA_URI_TAGS,
276
- // eslint-disable-line indent
277
- O
278
- // eslint-disable-line indent
279
- ) : At, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, O) : Et, _ = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, O) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, O) : {}, be = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, W = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, Je = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Ae = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, me = e.ALLOWED_URI_REGEXP || dn, Se = e.NAMESPACE || re, a = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (a.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (a.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (a.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (Ke = !1), Pe && (Ae = !0), be && (y = f({}, Qt), S = [], be.html === !0 && (f(y, Jt), f(S, $t)), be.svg === !0 && (f(y, rt), f(S, ct), f(S, Ge)), be.svgFilters === !0 && (f(y, at), f(S, ct), f(S, Ge)), be.mathMl === !0 && (f(y, lt), f(S, en), f(S, Ge))), e.ADD_TAGS && (y === De && (y = Te(y)), f(y, e.ADD_TAGS, O)), e.ADD_ATTR && (S === Ie && (S = Te(S)), f(S, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ye === Et && (ye = Te(ye)), f(ye, e.FORBID_CONTENTS, O)), et && (y["#text"] = !0), ge && f(y, ["html", "head", "body"]), y.table && (f(y, ["tbody"]), delete _.tbody), e.TRUSTED_TYPES_POLICY) {
280
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
281
- throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
282
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
283
- throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
284
- p = e.TRUSTED_TYPES_POLICY, G = p.createHTML("");
285
- } else
286
- p === void 0 && (p = ai(X, r)), p !== null && typeof G == "string" && (G = p.createHTML(""));
287
- U && U(e), we = e;
288
- }
289
- }, St = f({}, ["mi", "mo", "mn", "ms", "mtext"]), wt = f({}, ["foreignobject", "annotation-xml"]), yn = f({}, ["title", "style", "font", "a", "script"]), Ct = f({}, [...rt, ...at, ...Kn]), Rt = f({}, [...lt, ...Jn]), Sn = function(e) {
290
- let s = d(e);
291
- (!s || !s.tagName) && (s = {
292
- namespaceURI: Se,
293
- tagName: "template"
294
- });
295
- const c = Xe(e.tagName), T = Xe(s.tagName);
296
- return it[e.namespaceURI] ? e.namespaceURI === Fe ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === ze ? c === "svg" && (T === "annotation-xml" || St[T]) : !!Ct[c] : e.namespaceURI === ze ? s.namespaceURI === re ? c === "math" : s.namespaceURI === Fe ? c === "math" && wt[T] : !!Rt[c] : e.namespaceURI === re ? s.namespaceURI === Fe && !wt[T] || s.namespaceURI === ze && !St[T] ? !1 : !Rt[c] && (yn[c] || !Ct[c]) : !!(Re === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
297
- }, ne = function(e) {
298
- Oe(t.removed, {
299
- element: e
300
- });
301
- try {
302
- d(e).removeChild(e);
303
- } catch {
304
- M(e);
305
- }
306
- }, We = function(e, s) {
307
- try {
308
- Oe(t.removed, {
309
- attribute: s.getAttributeNode(e),
310
- from: s
311
- });
312
- } catch {
313
- Oe(t.removed, {
314
- attribute: null,
315
- from: s
316
- });
317
- }
318
- if (s.removeAttribute(e), e === "is" && !S[e])
319
- if (Ae || Pe)
320
- try {
321
- ne(s);
322
- } catch {
323
- }
324
- else
325
- try {
326
- s.setAttribute(e, "");
327
- } catch {
328
- }
329
- }, xt = function(e) {
330
- let s = null, c = null;
331
- if ($e)
332
- e = "<remove></remove>" + e;
333
- else {
334
- const L = Kt(e, /^[\r\n\t ]+/);
335
- c = L && L[0];
336
- }
337
- Re === "application/xhtml+xml" && Se === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
338
- const T = p ? p.createHTML(e) : e;
339
- if (Se === re)
340
- try {
341
- s = new he().parseFromString(T, Re);
342
- } catch {
343
- }
344
- if (!s || !s.documentElement) {
345
- s = q.createDocument(Se, "template", null);
346
- try {
347
- s.documentElement.innerHTML = nt ? G : T;
348
- } catch {
349
- }
350
- }
351
- const v = s.body || s.documentElement;
352
- return e && c && v.insertBefore(i.createTextNode(c), v.childNodes[0] || null), Se === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : v;
353
- }, Ot = function(e) {
354
- return Z.call(
355
- e.ownerDocument || e,
356
- e,
357
- // eslint-disable-next-line no-bitwise
358
- w.SHOW_ELEMENT | w.SHOW_COMMENT | w.SHOW_TEXT | w.SHOW_PROCESSING_INSTRUCTION | w.SHOW_CDATA_SECTION,
359
- null
360
- );
361
- }, Mt = function(e) {
362
- return e instanceof de && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof R) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
363
- }, Lt = function(e) {
364
- return typeof N == "function" && e instanceof N;
365
- }, ae = function(e, s, c) {
366
- A[e] && He(A[e], (T) => {
367
- T.call(t, s, c, we);
368
- });
369
- }, Nt = function(e) {
370
- let s = null;
371
- if (ae("beforeSanitizeElements", e, null), Mt(e))
372
- return ne(e), !0;
373
- const c = O(e.nodeName);
374
- if (ae("uponSanitizeElement", e, {
375
- tagName: c,
376
- allowedTags: y
377
- }), e.hasChildNodes() && !Lt(e.firstElementChild) && I(/<[/\w]/g, e.innerHTML) && I(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Je && e.nodeType === ke.comment && I(/<[/\w]/g, e.data))
378
- return ne(e), !0;
379
- if (!y[c] || _[c]) {
380
- if (!_[c] && vt(c) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
381
- return !1;
382
- if (et && !ye[c]) {
383
- const T = d(e) || e.parentNode, v = z(e) || e.childNodes;
384
- if (v && T) {
385
- const L = v.length;
386
- for (let H = L - 1; H >= 0; --H) {
387
- const ie = x(v[H], !0);
388
- ie.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ie, fe(e));
389
- }
390
- }
391
- }
392
- return ne(e), !0;
393
- }
394
- return e instanceof k && !Sn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && I(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (_e && e.nodeType === ke.text && (s = e.textContent, He([B, $, Y], (T) => {
395
- s = Me(s, T, " ");
396
- }), e.textContent !== s && (Oe(t.removed, {
397
- element: e.cloneNode()
398
- }), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
399
- }, kt = function(e, s, c) {
400
- if (gt && (s === "id" || s === "name") && (c in i || c in bn))
401
- return !1;
402
- if (!(Ke && !ee[s] && I(Ee, s))) {
403
- if (!(W && I(K, s))) {
404
- if (!S[s] || ee[s]) {
405
- if (
406
- // First condition does a very basic check if a) it's basically a valid custom element tagname AND
407
- // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
408
- // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
409
- !(vt(e) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, e) || a.tagNameCheck instanceof Function && a.tagNameCheck(e)) && (a.attributeNameCheck instanceof RegExp && I(a.attributeNameCheck, s) || a.attributeNameCheck instanceof Function && a.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
410
- // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
411
- s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
412
- )
413
- return !1;
414
- } else if (!tt[s]) {
415
- if (!I(me, Me(c, g, ""))) {
416
- if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(c, "data:") === 0 && _t[e])) {
417
- if (!(dt && !I(se, Me(c, g, "")))) {
418
- if (c)
419
- return !1;
420
- }
421
- }
422
- }
423
- }
424
- }
425
- }
426
- return !0;
427
- }, vt = function(e) {
428
- return e !== "annotation-xml" && Kt(e, E);
429
- }, Dt = function(e) {
430
- ae("beforeSanitizeAttributes", e, null);
431
- const {
432
- attributes: s
433
- } = e;
434
- if (!s)
435
- return;
436
- const c = {
437
- attrName: "",
438
- attrValue: "",
439
- keepAttr: !0,
440
- allowedAttributes: S
441
- };
442
- let T = s.length;
443
- for (; T--; ) {
444
- const v = s[T], {
445
- name: L,
446
- namespaceURI: H,
447
- value: ie
448
- } = v, xe = O(L);
449
- let D = L === "value" ? ie : Xn(ie);
450
- if (c.attrName = xe, c.attrValue = D, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), D = c.attrValue, Je && I(/((--!?|])>)|<\/(style|title)/i, D)) {
451
- We(L, e);
452
- continue;
453
- }
454
- if (c.forceKeepAttr || (We(L, e), !c.keepAttr))
455
- continue;
456
- if (!ht && I(/\/>/i, D)) {
457
- We(L, e);
458
- continue;
459
- }
460
- _e && He([B, $, Y], (Pt) => {
461
- D = Me(D, Pt, " ");
462
- });
463
- const It = O(e.nodeName);
464
- if (kt(It, xe, D)) {
465
- if (Tt && (xe === "id" || xe === "name") && (We(L, e), D = Tn + D), p && typeof X == "object" && typeof X.getAttributeType == "function" && !H)
466
- switch (X.getAttributeType(It, xe)) {
467
- case "TrustedHTML": {
468
- D = p.createHTML(D);
469
- break;
470
- }
471
- case "TrustedScriptURL": {
472
- D = p.createScriptURL(D);
473
- break;
474
- }
475
- }
476
- try {
477
- H ? e.setAttributeNS(H, L, D) : e.setAttribute(L, D), Mt(e) ? ne(e) : Zt(t.removed);
478
- } catch {
479
- }
480
- }
481
- }
482
- ae("afterSanitizeAttributes", e, null);
483
- }, wn = function u(e) {
484
- let s = null;
485
- const c = Ot(e);
486
- for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
487
- ae("uponSanitizeShadowNode", s, null), !Nt(s) && (s.content instanceof l && u(s.content), Dt(s));
488
- ae("afterSanitizeShadowDOM", e, null);
489
- };
490
- return t.sanitize = function(u) {
491
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, v = null;
492
- if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !Lt(u))
493
- if (typeof u.toString == "function") {
494
- if (u = u.toString(), typeof u != "string")
495
- throw Le("dirty is not a string, aborting");
496
- } else
497
- throw Le("toString is not a function");
498
- if (!t.isSupported)
499
- return u;
500
- if (Qe || ot(e), t.removed = [], typeof u == "string" && (Ce = !1), Ce) {
501
- if (u.nodeName) {
502
- const ie = O(u.nodeName);
503
- if (!y[ie] || _[ie])
504
- throw Le("root node is forbidden and cannot be sanitized in-place");
505
- }
506
- } else if (u instanceof N)
507
- s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === ke.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
508
- else {
509
- if (!Ae && !_e && !ge && // eslint-disable-next-line unicorn/prefer-includes
510
- u.indexOf("<") === -1)
511
- return p && Ue ? p.createHTML(u) : u;
512
- if (s = xt(u), !s)
513
- return Ae ? null : Ue ? G : "";
514
- }
515
- s && $e && ne(s.firstChild);
516
- const L = Ot(Ce ? u : s);
517
- for (; T = L.nextNode(); )
518
- Nt(T) || (T.content instanceof l && wn(T.content), Dt(T));
519
- if (Ce)
520
- return u;
521
- if (Ae) {
522
- if (Pe)
523
- for (v = F.call(s.ownerDocument); s.firstChild; )
524
- v.appendChild(s.firstChild);
525
- else
526
- v = s;
527
- return (S.shadowroot || S.shadowrootmode) && (v = oe.call(o, v, !0)), v;
528
- }
529
- let H = ge ? s.outerHTML : s.innerHTML;
530
- return ge && y["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && I(hn, s.ownerDocument.doctype.name) && (H = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
531
- ` + H), _e && He([B, $, Y], (ie) => {
532
- H = Me(H, ie, " ");
533
- }), p && Ue ? p.createHTML(H) : H;
534
- }, t.setConfig = function() {
535
- let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
536
- ot(u), Qe = !0;
537
- }, t.clearConfig = function() {
538
- we = null, Qe = !1;
539
- }, t.isValidAttribute = function(u, e, s) {
540
- we || ot({});
541
- const c = O(u), T = O(e);
542
- return kt(c, T, s);
543
- }, t.addHook = function(u, e) {
544
- typeof e == "function" && (A[u] = A[u] || [], Oe(A[u], e));
545
- }, t.removeHook = function(u) {
546
- if (A[u])
547
- return Zt(A[u]);
548
- }, t.removeHooks = function(u) {
549
- A[u] && (A[u] = []);
550
- }, t.removeAllHooks = function() {
551
- A = {};
552
- }, t;
553
- }
554
- var nn = gn();
555
- const li = "data:image/webp;base64,UklGRgQWAABXRUJQVlA4WAoAAAAQAAAAGQEAvQAAQUxQSMsKAAABGQVtGzlKft3d80e8MET0fwI4IyJg7G3vHYYaB+q4bL4HIj3S/q+37ThmZmZmjJidQ8jMzEwDYGacgFNmZsdOKWZmWusc2VqqtRR1P9E2nSqnqk7dFOIn+yd3ArectvPGlb2GOwANQAM4CvYAfNOGXBM4hj0ADaApbCUREzABn6P39//7CfNzufO5+Wf4p95+8Hl8fvfP5/55Pd79C58TMj28+udevfrH/onjlnt647Uv4GmMrMVa1lpevfyYf+gfucXuX9CbbzzBMlksRkwjfNgX9eK22hfxhbwZQ6M1gjVksRaf+mV9BV/KGzfTG1/cm0yTkREWljWtZRn3N7+0f/eBjzfQvph33tdgmazldK1pTaYhz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ySZgq3VRpjsC/CRWK35jNkZy+rB1iMABWtHSo3AAAPp43msiX1QJU3GiWA50DkFnKB+ow2EROx+Zw6dilZyEt/EBrjAS3j/w/Z99kTnYPX+51oEZ5qsirBZDk1zo9OnijJHboZu33fReZ2Be/i0FsT5whyoy59rzGaG90Ormp+4tP+kzM/JAFmq2V4mTmuqSVpfzRyqS81NoNmqcdCtt9gCDb53HcZBUDb/MXteyqFFpybkwwnsnWC8tKNGb/CzEeQtpgbksBWp/6VxS+AA2hAdWfNKazH/p4snH79oWydrA7uwt8OpBQn5JDm/4T+pQOOcW4e8kdA33hcbnUObkbxv5JfZ6k6z+sG7CgFAY0fMIMk7C28dcbGgOQciHZR+g1lGopcRD+NdsHLrFqDQmAga/x56lU+lItJ6BbrwHA+zAGj5MUz7rnHvvYxPJ33T1vI9yDVJMuumVpdTsl1fPqhaC4Nype5vNhTeNnn7XvcKgYbQkXPV4Tzmu7GHizF7cAmzy61Ndij0vQMOLgWCO4D6LH9BNwrFHYqAAAAAAAA==";
556
- function ci(n) {
557
- kn(n, "svelte-140mrml", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--mmw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
558
- }
559
- const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
560
- function ln(n) {
561
- let t, i, o, r, l, m = (
562
- /*$_*/
563
- n[8]("sessionExpirationHeader") + ""
564
- ), N, k, w, R, de, he, X, b, x, M, fe, z, d, p, G;
565
- const q = (
566
- /*#slots*/
567
- n[22].icon
568
- ), Z = Be(
569
- q,
570
- n,
571
- /*$$scope*/
572
- n[21],
573
- an
574
- ), F = Z || gi(n), Q = (
575
- /*#slots*/
576
- n[22].title
577
- ), oe = Be(
578
- Q,
579
- n,
580
- /*$$scope*/
581
- n[21],
582
- rn
583
- ), A = oe || Ti(n), B = (
584
- /*#slots*/
585
- n[22].text
586
- ), $ = Be(
587
- B,
588
- n,
589
- /*$$scope*/
590
- n[21],
591
- sn
592
- ), Y = $ || Ei(n), Ee = [Ai, _i], K = [];
593
- function se(g, E) {
594
- return (
595
- /*showLoaderButton*/
596
- g[6] ? 0 : 1
597
- );
598
- }
599
- return x = se(n), M = K[x] = Ee[x](n), {
600
- c() {
601
- t = P("div"), i = P("div"), o = P("div"), r = P("div"), l = P("div"), N = qe(m), k = ve(), w = P("div"), R = P("div"), F.c(), de = ve(), A.c(), he = ve(), Y.c(), X = ve(), b = P("button"), M.c(), h(l, "class", "CashierSessionExpirationModalHeaderTitle"), h(r, "class", "CashierSessionExpirationModalHeader"), h(b, "type", "button"), b.disabled = /*showLoaderButton*/
602
- n[6], h(b, "class", "CashierSessionExpirationButton"), h(R, "class", "CashierSessionExpiration"), h(w, "class", "CashierSessionExpirationModalContainer"), h(o, "class", "CashierSessionExpirationModalWrapper"), h(i, "class", "CashierSessionExpirationModalWindow"), h(i, "id", "CashierSessionExpirationModal"), zt(() => (
603
- /*div5_elementresize_handler*/
604
- n[24].call(i)
605
- ));
606
- },
607
- m(g, E) {
608
- ce(g, t, E), C(t, i), C(i, o), C(o, r), C(r, l), C(l, N), C(o, k), C(o, w), C(w, R), F.m(R, null), C(R, de), A.m(R, null), C(R, he), Y.m(R, null), C(R, X), C(R, b), K[x].m(b, null), n[23](R), fe = In(
609
- i,
610
- /*div5_elementresize_handler*/
611
- n[24].bind(i)
612
- ), n[25](t), d = !0, p || (G = [
613
- Ft(
614
- b,
615
- "click",
616
- /*renewSession*/
617
- n[9]
618
- ),
619
- Ft(
620
- i,
621
- "click",
622
- /*outOfModalClick*/
623
- n[10]
624
- )
625
- ], p = !0);
626
- },
627
- p(g, E) {
628
- n = g, (!d || E[0] & /*$_*/
629
- 256) && m !== (m = /*$_*/
630
- n[8]("sessionExpirationHeader") + "") && Ze(N, m), Z ? Z.p && (!d || E[0] & /*$$scope*/
631
- 2097152) && Ye(
632
- Z,
633
- q,
634
- n,
635
- /*$$scope*/
636
- n[21],
637
- d ? Ve(
638
- q,
639
- /*$$scope*/
640
- n[21],
641
- E,
642
- pi
643
- ) : je(
644
- /*$$scope*/
645
- n[21]
646
- ),
647
- an
648
- ) : F.p && (!d || E[0] & /*assetsurl*/
649
- 8) && F.p(n, d ? E : [-1, -1]), oe ? oe.p && (!d || E[0] & /*$$scope*/
650
- 2097152) && Ye(
651
- oe,
652
- Q,
653
- n,
654
- /*$$scope*/
655
- n[21],
656
- d ? Ve(
657
- Q,
658
- /*$$scope*/
659
- n[21],
660
- E,
661
- mi
662
- ) : je(
663
- /*$$scope*/
664
- n[21]
665
- ),
666
- rn
667
- ) : A.p && (!d || E[0] & /*$_*/
668
- 256) && A.p(n, d ? E : [-1, -1]), $ ? $.p && (!d || E[0] & /*$$scope*/
669
- 2097152) && Ye(
670
- $,
671
- B,
672
- n,
673
- /*$$scope*/
674
- n[21],
675
- d ? Ve(
676
- B,
677
- /*$$scope*/
678
- n[21],
679
- E,
680
- fi
681
- ) : je(
682
- /*$$scope*/
683
- n[21]
684
- ),
685
- sn
686
- ) : Y.p && (!d || E[0] & /*$_, timeLeft*/
687
- 384) && Y.p(n, d ? E : [-1, -1]);
688
- let me = x;
689
- x = se(n), x === me ? K[x].p(n, E) : (fn(), pe(K[me], 1, 1, () => {
690
- K[me] = null;
691
- }), un(), M = K[x], M ? M.p(n, E) : (M = K[x] = Ee[x](n), M.c()), le(M, 1), M.m(b, null)), (!d || E[0] & /*showLoaderButton*/
692
- 64) && (b.disabled = /*showLoaderButton*/
693
- n[6]);
694
- },
695
- i(g) {
696
- d || (le(F, g), le(A, g), le(Y, g), le(M), g && zt(() => {
697
- d && (z || (z = Wt(i, Bt, { duration: (
698
- /*duration*/
699
- n[2]
700
- ) }, !0)), z.run(1));
701
- }), d = !0);
702
- },
703
- o(g) {
704
- pe(F, g), pe(A, g), pe(Y, g), pe(M), g && (z || (z = Wt(i, Bt, { duration: (
705
- /*duration*/
706
- n[2]
707
- ) }, !1)), z.run(0)), d = !1;
708
- },
709
- d(g) {
710
- g && ue(t), F.d(g), A.d(g), Y.d(g), K[x].d(), n[23](null), fe(), g && z && z.end(), n[25](null), p = !1, Pn(G);
711
- }
712
- };
713
- }
714
- function di(n) {
715
- let t, i;
716
- return {
717
- c() {
718
- t = P("img"), ft(t.src, i = li) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
719
- },
720
- m(o, r) {
721
- ce(o, t, r);
722
- },
723
- p: ut,
724
- d(o) {
725
- o && ue(t);
726
- }
727
- };
728
- }
729
- function hi(n) {
730
- let t, i;
731
- return {
732
- c() {
733
- t = P("img"), ft(t.src, i = `${/*assetsurl*/
734
- n[3]}/set-timeout-icon.png`) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
735
- },
736
- m(o, r) {
737
- ce(o, t, r);
738
- },
739
- p(o, r) {
740
- r[0] & /*assetsurl*/
741
- 8 && !ft(t.src, i = `${/*assetsurl*/
742
- o[3]}/set-timeout-icon.png`) && h(t, "src", i);
743
- },
744
- d(o) {
745
- o && ue(t);
746
- }
747
- };
748
- }
749
- function gi(n) {
750
- let t;
751
- function i(l, m) {
752
- return (
753
- /*assetsurl*/
754
- l[3] ? hi : di
755
- );
756
- }
757
- let o = i(n), r = o(n);
758
- return {
759
- c() {
760
- r.c(), t = cn();
761
- },
762
- m(l, m) {
763
- r.m(l, m), ce(l, t, m);
764
- },
765
- p(l, m) {
766
- o === (o = i(l)) && r ? r.p(l, m) : (r.d(1), r = o(l), r && (r.c(), r.m(t.parentNode, t)));
767
- },
768
- d(l) {
769
- l && ue(t), r.d(l);
770
- }
771
- };
772
- }
773
- function Ti(n) {
774
- let t, i = (
775
- /*$_*/
776
- n[8]("sessionExpirationTitle") + ""
777
- ), o;
778
- return {
779
- c() {
780
- t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationTitle");
781
- },
782
- m(r, l) {
783
- ce(r, t, l), C(t, o);
784
- },
785
- p(r, l) {
786
- l[0] & /*$_*/
787
- 256 && i !== (i = /*$_*/
788
- r[8]("sessionExpirationTitle") + "") && Ze(o, i);
789
- },
790
- d(r) {
791
- r && ue(t);
792
- }
793
- };
794
- }
795
- function Ei(n) {
796
- let t, i = nn.sanitize(
797
- /*$_*/
798
- n[8]("sessionExpirationGeneralText", { values: { second: (
799
- /*timeLeft*/
800
- n[7]
801
- ) } })
802
- ) + "";
803
- return {
804
- c() {
805
- t = P("span"), h(t, "class", "CashierSessionExpirationText");
806
- },
807
- m(o, r) {
808
- ce(o, t, r), t.innerHTML = i;
809
- },
810
- p(o, r) {
811
- r[0] & /*$_, timeLeft*/
812
- 384 && i !== (i = nn.sanitize(
813
- /*$_*/
814
- o[8]("sessionExpirationGeneralText", { values: { second: (
815
- /*timeLeft*/
816
- o[7]
817
- ) } })
818
- ) + "") && (t.innerHTML = i);
819
- },
820
- d(o) {
821
- o && ue(t);
822
- }
823
- };
824
- }
825
- function _i(n) {
826
- let t;
827
- const i = (
828
- /*#slots*/
829
- n[22].button
830
- ), o = Be(
831
- i,
832
- n,
833
- /*$$scope*/
834
- n[21],
835
- on
836
- ), r = o || bi(n);
837
- return {
838
- c() {
839
- r.c();
840
- },
841
- m(l, m) {
842
- r.m(l, m), t = !0;
843
- },
844
- p(l, m) {
845
- o ? o.p && (!t || m[0] & /*$$scope*/
846
- 2097152) && Ye(
847
- o,
848
- i,
849
- l,
850
- /*$$scope*/
851
- l[21],
852
- t ? Ve(
853
- i,
854
- /*$$scope*/
855
- l[21],
856
- m,
857
- ui
858
- ) : je(
859
- /*$$scope*/
860
- l[21]
861
- ),
862
- on
863
- ) : r.p && (!t || m[0] & /*$_*/
864
- 256) && r.p(l, t ? m : [-1, -1]);
865
- },
866
- i(l) {
867
- t || (le(r, l), t = !0);
868
- },
869
- o(l) {
870
- pe(r, l), t = !1;
871
- },
872
- d(l) {
873
- r.d(l);
874
- }
875
- };
876
- }
877
- function Ai(n) {
878
- let t, i, o, r, l, m = (
879
- /*$_*/
880
- n[8]("sessionExpirationLoadingButton") + ""
881
- ), N;
882
- return {
883
- c() {
884
- t = P("div"), i = Gt("svg"), o = Gt("path"), r = ve(), l = P("span"), N = qe(m), h(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), h(o, "fill", "white"), h(i, "class", "CashierSessionExpirationButtonSpinner"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(i, "width", "15"), h(i, "height", "14"), h(i, "viewBox", "0 0 15 14"), h(i, "fill", "none"), h(l, "class", "CashierSessionExpirationButtonText");
885
- },
886
- m(k, w) {
887
- ce(k, t, w), C(t, i), C(i, o), C(t, r), C(t, l), C(l, N);
888
- },
889
- p(k, w) {
890
- w[0] & /*$_*/
891
- 256 && m !== (m = /*$_*/
892
- k[8]("sessionExpirationLoadingButton") + "") && Ze(N, m);
893
- },
894
- i: ut,
895
- o: ut,
896
- d(k) {
897
- k && ue(t);
898
- }
899
- };
900
- }
901
- function bi(n) {
902
- let t, i = (
903
- /*$_*/
904
- n[8]("sessionExpirationGeneralButton") + ""
905
- ), o;
906
- return {
907
- c() {
908
- t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationButtonText");
909
- },
910
- m(r, l) {
911
- ce(r, t, l), C(t, o);
912
- },
913
- p(r, l) {
914
- l[0] & /*$_*/
915
- 256 && i !== (i = /*$_*/
916
- r[8]("sessionExpirationGeneralButton") + "") && Ze(o, i);
917
- },
918
- d(r) {
919
- r && ue(t);
920
- }
921
- };
922
- }
923
- function yi(n) {
924
- let t, i, o = (
925
- /*show*/
926
- n[5] && ln(n)
927
- );
928
- return {
929
- c() {
930
- o && o.c(), t = cn();
931
- },
932
- m(r, l) {
933
- o && o.m(r, l), ce(r, t, l), i = !0;
934
- },
935
- p(r, l) {
936
- /*show*/
937
- r[5] ? o ? (o.p(r, l), l[0] & /*show*/
938
- 32 && le(o, 1)) : (o = ln(r), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (fn(), pe(o, 1, 1, () => {
939
- o = null;
940
- }), un());
941
- },
942
- i(r) {
943
- i || (le(o), i = !0);
944
- },
945
- o(r) {
946
- pe(o), i = !1;
947
- },
948
- d(r) {
949
- r && ue(t), o && o.d(r);
950
- }
951
- };
952
- }
953
- const Si = 90;
954
- function wi(n, t, i) {
955
- let o, r;
956
- Ut(n, jt, (a) => i(20, o = a)), Ut(n, Wn, (a) => i(8, r = a));
957
- let { $$slots: l = {}, $$scope: m } = t;
958
- Yt.extend(Hn);
959
- let { clientstyling: N = "" } = t, { clientstylingurl: k = "" } = t, { width: w } = t, { height: R } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: X = "en" } = t, { translationurl: b = "" } = t, { endpoint: x } = t, { currency: M } = t, { customerid: fe } = t, { selectedpaymentmethodname: z } = t, { mbsource: d = "" } = t, p, G = !1, q = !1, Z, F, Q, oe, A;
960
- var B;
961
- (function(a) {
962
- a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
963
- })(B || (B = {}));
964
- const $ = (a) => {
965
- a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
966
- }, Y = (a) => {
967
- try {
968
- return JSON.parse(atob(a.split(".")[1]));
969
- } catch {
970
- return null;
971
- }
972
- }, Ee = () => {
973
- window.postMessage(
974
- {
975
- type: "ErrorResponseCode",
976
- errorResponseCode: A
977
- },
978
- window.location.href
979
- );
980
- }, K = (a) => {
981
- i(5, G = !1);
982
- const _ = Y(a);
983
- _ && (F = _?.exp, i(7, Z = F), Q && clearInterval(Q), Q = setInterval(
984
- () => {
985
- const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
986
- i(7, Z = F - ee), Z <= Si && i(5, G = !0), ee >= F && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
987
- },
988
- 1e3
989
- ));
990
- }, se = () => {
991
- i(7, Z = 0), i(5, G = !1), clearInterval(Q);
992
- }, g = () => {
993
- if (q)
994
- return;
995
- const a = new URL(`${x}/v1/player/${fe}/payment/GetPaymentMethod`), _ = new Headers();
996
- i(6, q = !0), _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
997
- const ee = {
998
- method: "POST",
999
- mode: "cors",
1000
- headers: _,
1001
- body: JSON.stringify({
1002
- PaymentMethodName: oe || z,
1003
- Currency: M,
1004
- XPaymentSessionToken: o
1005
- })
1006
- };
1007
- fetch(a, ee).then((W) => W.json()).then((W) => {
1008
- if (W.error) {
1009
- window.postMessage(
1010
- {
1011
- type: "ShowSessionError",
1012
- error: W.error
1013
- },
1014
- window.location.href
1015
- ), se();
1016
- return;
1017
- }
1018
- if (W.ResponseCode === B.PlayerSessionIsNotValid || W.ResponseCode === B.JwtTokenError) {
1019
- A = W.ResponseCode, se(), Ee();
1020
- return;
1021
- }
1022
- if (W.ResponseCode !== B.Success) {
1023
- A = W.ResponseCode, se();
1024
- return;
1025
- }
1026
- W.XPaymentSessionToken && jt.set(W.XPaymentSessionToken);
1027
- }).finally(() => i(6, q = !1));
1028
- }, E = (a) => {
1029
- const _ = a.currentTarget;
1030
- a.target === _ && g();
1031
- }, me = () => {
1032
- fetch(b).then((_) => _.json()).then((_) => {
1033
- Object.keys(_).forEach((ee) => {
1034
- Vt(ee, _[ee]);
1035
- });
1036
- }).catch((_) => {
1037
- console.log(_);
1038
- });
1039
- };
1040
- Object.keys(Xt).forEach((a) => {
1041
- Vt(a, Xt[a]);
1042
- });
1043
- const y = () => {
1044
- Gn(X);
1045
- };
1046
- vn(() => (window.addEventListener("message", $, !1), () => {
1047
- window.removeEventListener("message", $);
1048
- })), Dn(() => {
1049
- clearInterval(Q);
1050
- });
1051
- function De(a) {
1052
- Ht[a ? "unshift" : "push"](() => {
1053
- p = a, i(4, p);
1054
- });
1055
- }
1056
- function S() {
1057
- w = this.clientWidth, R = this.clientHeight, i(0, w), i(1, R);
1058
- }
1059
- function Ie(a) {
1060
- Ht[a ? "unshift" : "push"](() => {
1061
- p = a, i(4, p);
1062
- });
1063
- }
1064
- return n.$$set = (a) => {
1065
- "clientstyling" in a && i(11, N = a.clientstyling), "clientstylingurl" in a && i(12, k = a.clientstylingurl), "width" in a && i(0, w = a.width), "height" in a && i(1, R = a.height), "duration" in a && i(2, de = a.duration), "assetsurl" in a && i(3, he = a.assetsurl), "lang" in a && i(13, X = a.lang), "translationurl" in a && i(14, b = a.translationurl), "endpoint" in a && i(15, x = a.endpoint), "currency" in a && i(16, M = a.currency), "customerid" in a && i(17, fe = a.customerid), "selectedpaymentmethodname" in a && i(18, z = a.selectedpaymentmethodname), "mbsource" in a && i(19, d = a.mbsource), "$$scope" in a && i(21, m = a.$$scope);
1066
- }, n.$$.update = () => {
1067
- n.$$.dirty[0] & /*$xPaymentSessionToken*/
1068
- 1048576 && K(o), n.$$.dirty[0] & /*lang*/
1069
- 8192 && X && y(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1070
- 2064 && N && p && Un(p, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1071
- 4112 && k && p && zn(p, k), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1072
- 524304 && d && p && Fn(p, `${d}.Style`), n.$$.dirty[0] & /*translationurl*/
1073
- 16384 && b && me();
1074
- }, [
1075
- w,
1076
- R,
1077
- de,
1078
- he,
1079
- p,
1080
- G,
1081
- q,
1082
- Z,
1083
- r,
1084
- g,
1085
- E,
1086
- N,
1087
- k,
1088
- X,
1089
- b,
1090
- x,
1091
- M,
1092
- fe,
1093
- z,
1094
- d,
1095
- o,
1096
- m,
1097
- l,
1098
- De,
1099
- S,
1100
- Ie
1101
- ];
1102
- }
1103
- class Ci extends On {
1104
- constructor(t) {
1105
- super(), Mn(
1106
- this,
1107
- t,
1108
- wi,
1109
- yi,
1110
- Nn,
1111
- {
1112
- clientstyling: 11,
1113
- clientstylingurl: 12,
1114
- width: 0,
1115
- height: 1,
1116
- duration: 2,
1117
- assetsurl: 3,
1118
- lang: 13,
1119
- translationurl: 14,
1120
- endpoint: 15,
1121
- currency: 16,
1122
- customerid: 17,
1123
- selectedpaymentmethodname: 18,
1124
- mbsource: 19
1125
- },
1126
- ci,
1127
- [-1, -1]
1128
- );
1129
- }
1130
- get clientstyling() {
1131
- return this.$$.ctx[11];
1132
- }
1133
- set clientstyling(t) {
1134
- this.$$set({ clientstyling: t }), j();
1135
- }
1136
- get clientstylingurl() {
1137
- return this.$$.ctx[12];
1138
- }
1139
- set clientstylingurl(t) {
1140
- this.$$set({ clientstylingurl: t }), j();
1141
- }
1142
- get width() {
1143
- return this.$$.ctx[0];
1144
- }
1145
- set width(t) {
1146
- this.$$set({ width: t }), j();
1147
- }
1148
- get height() {
1149
- return this.$$.ctx[1];
1150
- }
1151
- set height(t) {
1152
- this.$$set({ height: t }), j();
1153
- }
1154
- get duration() {
1155
- return this.$$.ctx[2];
1156
- }
1157
- set duration(t) {
1158
- this.$$set({ duration: t }), j();
1159
- }
1160
- get assetsurl() {
1161
- return this.$$.ctx[3];
1162
- }
1163
- set assetsurl(t) {
1164
- this.$$set({ assetsurl: t }), j();
1165
- }
1166
- get lang() {
1167
- return this.$$.ctx[13];
1168
- }
1169
- set lang(t) {
1170
- this.$$set({ lang: t }), j();
1171
- }
1172
- get translationurl() {
1173
- return this.$$.ctx[14];
1174
- }
1175
- set translationurl(t) {
1176
- this.$$set({ translationurl: t }), j();
1177
- }
1178
- get endpoint() {
1179
- return this.$$.ctx[15];
1180
- }
1181
- set endpoint(t) {
1182
- this.$$set({ endpoint: t }), j();
1183
- }
1184
- get currency() {
1185
- return this.$$.ctx[16];
1186
- }
1187
- set currency(t) {
1188
- this.$$set({ currency: t }), j();
1189
- }
1190
- get customerid() {
1191
- return this.$$.ctx[17];
1192
- }
1193
- set customerid(t) {
1194
- this.$$set({ customerid: t }), j();
1195
- }
1196
- get selectedpaymentmethodname() {
1197
- return this.$$.ctx[18];
1198
- }
1199
- set selectedpaymentmethodname(t) {
1200
- this.$$set({ selectedpaymentmethodname: t }), j();
1201
- }
1202
- get mbsource() {
1203
- return this.$$.ctx[19];
1204
- }
1205
- set mbsource(t) {
1206
- this.$$set({ mbsource: t }), j();
1207
- }
1208
- }
1209
- Ln(Ci, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1210
- export {
1211
- Ci as default
1212
- };