@everymatrix/cashier-page 1.69.3 → 1.69.69
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/components/CashierCarousel-D5kSWky0.cjs +23 -0
- package/components/CashierCarousel-DYqTne2y.js +5414 -0
- package/components/CashierCarousel-dZ9EcCOe.js +5377 -0
- package/components/CashierError-B5w8w6dD.js +438 -0
- package/components/CashierError-DNuC45d1.cjs +1 -0
- package/components/CashierError-eMZ_Y8Lb.js +438 -0
- package/components/CashierHeader-BHNvb1-z.js +397 -0
- package/components/CashierHeader-BovGOLQY.js +397 -0
- package/components/CashierHeader-DdCbhGSh.cjs +1 -0
- package/components/CashierIframeRedirect-BEiwv80W.js +398 -0
- package/components/CashierIframeRedirect-BXHKd8sC.cjs +1 -0
- package/components/CashierIframeRedirect-ZwVoUTMf.js +398 -0
- package/components/CashierMethodDetails-9BeLdmpe.js +8885 -0
- package/components/CashierMethodDetails-CW7C8Yvb.js +8904 -0
- package/components/CashierMethodDetails-DUa6HCpd.cjs +85 -0
- package/components/CashierMethodsList-BTVaeHdg.js +745 -0
- package/components/CashierMethodsList-DylKurFC.cjs +1 -0
- package/components/CashierMethodsList-PWU1R3Tc.js +733 -0
- package/components/CashierModal-C8mj7URo.js +268 -0
- package/components/CashierModal-D9NmY7iy.js +268 -0
- package/components/CashierModal-R8kFj8iv.cjs +1 -0
- package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-BngpK8X4.js} +11 -11
- package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-CX7SdGzZ.js} +12 -12
- package/components/CashierNotifications-CkPy_2A7.cjs +1 -0
- package/components/CashierPage-C6pByXUA.cjs +1 -0
- package/components/CashierPage-CstDhtmy.js +2674 -0
- package/components/CashierPage-DNab5cLz.js +2674 -0
- package/components/CashierReceiptPage-BvZCrXxs.js +1693 -0
- package/components/CashierReceiptPage-DsXAwatG.cjs +26 -0
- package/components/CashierReceiptPage-unBbB_Jc.js +1689 -0
- package/components/CashierSessionExpirationModal-BkVXKSAN.js +1184 -0
- package/components/CashierSessionExpirationModal-CpXjSA8u.cjs +2 -0
- package/components/CashierSessionExpirationModal-DoZltJgp.js +1184 -0
- package/components/CashierSpinner-BEoR90rw.js +78 -0
- package/components/CashierSpinner-Bkz2A3Ui.cjs +1 -0
- package/components/CashierSpinner-CrIWXsSn.js +78 -0
- package/components/CashierTransactionHistory-CnEbhq5N.cjs +1 -0
- package/components/CashierTransactionHistory-G-40651N.js +1305 -0
- package/components/CashierTransactionHistory-gR1A2f4c.js +1305 -0
- package/components/CashierVerifications-4yAcpmBG.js +597 -0
- package/components/CashierVerifications-DWfYckzB.cjs +1 -0
- package/components/CashierVerifications-dp3vSO1J.js +601 -0
- package/components/TxnStatusIcon-Bgj9uqou.cjs +1 -0
- package/components/TxnStatusIcon-DPAn1ZlZ.js +142 -0
- package/components/TxnStatusIcon-DqWUwgBR.js +142 -0
- package/components/TxnTypeIcons-BveshEiq.js +101 -0
- package/components/TxnTypeIcons-C4h0GmqA.js +101 -0
- package/components/TxnTypeIcons-CBpa5s-y.cjs +1 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-DfVgiF6v.js → ui-image-BWJXFWH1.js} +2 -2
- package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-BY8ZO6br.js → ui-image-DIEeZy5u.js} +2 -2
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
- package/stencil/ui-skeleton-9boHSjtG.js +29 -0
- package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
- package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
- package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
- package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
- package/components/CashierConfirmModal-4RYp7Eiq.js +0 -1120
- package/components/CashierConfirmModal-DMmJumcl.cjs +0 -4
- package/components/CashierConfirmModal-untxGhsx.js +0 -1083
- package/components/CashierError-B3QY-Z04.js +0 -3800
- package/components/CashierError-B9QN5m8g.cjs +0 -5
- package/components/CashierError-lJcr3S9j.js +0 -3800
- package/components/CashierHeader-0a_PwGVg.js +0 -401
- package/components/CashierHeader-6fDSkiu1.js +0 -401
- package/components/CashierHeader-BWRxu_17.cjs +0 -1
- package/components/CashierIframeRedirect-2c-BnFeJ.js +0 -378
- package/components/CashierIframeRedirect-Bxe3aDw_.js +0 -378
- package/components/CashierIframeRedirect-DnE9lXCw.cjs +0 -1
- package/components/CashierMethodDetails-C-Ut2IGe.js +0 -8295
- package/components/CashierMethodDetails-CoqrsZpI.cjs +0 -83
- package/components/CashierMethodDetails-rfZY5K0e.js +0 -8281
- package/components/CashierMethodsList-BamQMAO0.js +0 -864
- package/components/CashierMethodsList-C6e55bjb.js +0 -852
- package/components/CashierMethodsList-Cr6mhrvJ.cjs +0 -1
- package/components/CashierModal-BrwIBn9a.js +0 -232
- package/components/CashierModal-BuM2Yq-y.cjs +0 -1
- package/components/CashierModal-ZfKvGxFq.js +0 -232
- package/components/CashierNotifications-BLJS7gpv.cjs +0 -1
- package/components/CashierPage-BJlHrw66.js +0 -2202
- package/components/CashierPage-BoEfCJ8r.cjs +0 -1
- package/components/CashierPage-CaP6odYj.js +0 -2202
- package/components/CashierReceiptPage-B2GSh9vv.js +0 -1172
- package/components/CashierReceiptPage-BVS0odD-.cjs +0 -1
- package/components/CashierReceiptPage-BlVH86DW.js +0 -1174
- package/components/CashierSessionExpirationModal-BicBzpY2.cjs +0 -2
- package/components/CashierSessionExpirationModal-BxNZq7Gf.js +0 -1208
- package/components/CashierSessionExpirationModal-DSBOAXLu.js +0 -1208
- package/components/CashierSpinner-BAfTKICK.js +0 -71
- package/components/CashierSpinner-BhmndmKG.cjs +0 -1
- package/components/CashierSpinner-y6HodxHT.js +0 -71
- package/components/CashierTransactionHistory-BJNXnfke.js +0 -569
- package/components/CashierTransactionHistory-CuT5mUVX.js +0 -569
- package/components/CashierTransactionHistory-xR2Md4Br.cjs +0 -1
- package/components/CashierVerifications-CTbLuZeN.js +0 -623
- package/components/CashierVerifications-DbJJiIau.cjs +0 -1
- package/components/CashierVerifications-DnLBDkUg.js +0 -619
- package/components/CashierVideoModal-BZg_b6bd.cjs +0 -1
- package/components/CashierVideoModal-CVDvqrcy.js +0 -202
- package/components/CashierVideoModal-DHNu0BQz.js +0 -202
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
import { S as N, b as U, s as Z, f as C, c as F, n as v, e as k, C as c, B as R, q as b, l as E, m as L, A as B, o as y, p as H, z as P, E as G } from "./CashierConfirmModal-untxGhsx.js";
|
|
2
|
-
import { a as J, i as K, $ as Q } from "./CashierError-B3QY-Z04.js";
|
|
3
|
-
if (typeof window < "u") {
|
|
4
|
-
let i = function(e) {
|
|
5
|
-
return function(...t) {
|
|
6
|
-
try {
|
|
7
|
-
return e.apply(this, t);
|
|
8
|
-
} catch (l) {
|
|
9
|
-
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
10
|
-
return !1;
|
|
11
|
-
throw l;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
customElements.define = i(customElements.define), import("./CashierHeader-0a_PwGVg.js").then(({ default: e }) => {
|
|
16
|
-
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
if (typeof window < "u") {
|
|
20
|
-
let i = function(e) {
|
|
21
|
-
return function(...t) {
|
|
22
|
-
try {
|
|
23
|
-
return e.apply(this, t);
|
|
24
|
-
} catch (l) {
|
|
25
|
-
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
26
|
-
return !1;
|
|
27
|
-
throw l;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-y6HodxHT.js").then(({ default: e }) => {
|
|
32
|
-
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
function T(i, e) {
|
|
36
|
-
J(i, e);
|
|
37
|
-
}
|
|
38
|
-
function V(i) {
|
|
39
|
-
K({
|
|
40
|
-
fallbackLocale: "en"
|
|
41
|
-
}), Q.set(i);
|
|
42
|
-
}
|
|
43
|
-
const S = {
|
|
44
|
-
en: {
|
|
45
|
-
redirectHeader: "Deposit redirect"
|
|
46
|
-
},
|
|
47
|
-
"pt-br": {
|
|
48
|
-
redirectHeader: "Redirecionar depósito"
|
|
49
|
-
},
|
|
50
|
-
"es-mx": {
|
|
51
|
-
redirectHeader: "Redirigir depósito"
|
|
52
|
-
},
|
|
53
|
-
tr: {
|
|
54
|
-
redirectHeader: "Para yatırma yönlendirmesi"
|
|
55
|
-
},
|
|
56
|
-
"en-us": {
|
|
57
|
-
redirectHeader: "Deposit redirect"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
function W(i) {
|
|
61
|
-
F(i, "svelte-10xutbi", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
62
|
-
}
|
|
63
|
-
function D(i) {
|
|
64
|
-
let e, t, l;
|
|
65
|
-
return {
|
|
66
|
-
c() {
|
|
67
|
-
e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', b(e, "slot", "leftButton"), b(e, "class", "CashierHeaderLeftButton");
|
|
68
|
-
},
|
|
69
|
-
m(u, h) {
|
|
70
|
-
E(u, e, h), t || (l = B(
|
|
71
|
-
e,
|
|
72
|
-
"click",
|
|
73
|
-
/*close*/
|
|
74
|
-
i[9]
|
|
75
|
-
), t = !0);
|
|
76
|
-
},
|
|
77
|
-
p: v,
|
|
78
|
-
d(u) {
|
|
79
|
-
u && k(e), t = !1, l();
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function I(i) {
|
|
84
|
-
let e, t, l;
|
|
85
|
-
return {
|
|
86
|
-
c() {
|
|
87
|
-
e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', b(e, "slot", "rightButton"), b(e, "class", "CashierHeaderRightButton");
|
|
88
|
-
},
|
|
89
|
-
m(u, h) {
|
|
90
|
-
E(u, e, h), t || (l = B(
|
|
91
|
-
e,
|
|
92
|
-
"click",
|
|
93
|
-
/*close*/
|
|
94
|
-
i[9]
|
|
95
|
-
), t = !0);
|
|
96
|
-
},
|
|
97
|
-
p: v,
|
|
98
|
-
d(u) {
|
|
99
|
-
u && k(e), t = !1, l();
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function O(i) {
|
|
104
|
-
let e;
|
|
105
|
-
return {
|
|
106
|
-
c() {
|
|
107
|
-
e = y("cashier-spinner"), c(
|
|
108
|
-
e,
|
|
109
|
-
"clientstylingurl",
|
|
110
|
-
/*clientstylingurl*/
|
|
111
|
-
i[5]
|
|
112
|
-
), c(
|
|
113
|
-
e,
|
|
114
|
-
"clientstyling",
|
|
115
|
-
/*clientstyling*/
|
|
116
|
-
i[4]
|
|
117
|
-
);
|
|
118
|
-
},
|
|
119
|
-
m(t, l) {
|
|
120
|
-
E(t, e, l);
|
|
121
|
-
},
|
|
122
|
-
p(t, l) {
|
|
123
|
-
l & /*clientstylingurl*/
|
|
124
|
-
32 && c(
|
|
125
|
-
e,
|
|
126
|
-
"clientstylingurl",
|
|
127
|
-
/*clientstylingurl*/
|
|
128
|
-
t[5]
|
|
129
|
-
), l & /*clientstyling*/
|
|
130
|
-
16 && c(
|
|
131
|
-
e,
|
|
132
|
-
"clientstyling",
|
|
133
|
-
/*clientstyling*/
|
|
134
|
-
t[4]
|
|
135
|
-
);
|
|
136
|
-
},
|
|
137
|
-
d(t) {
|
|
138
|
-
t && k(e);
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
function X(i) {
|
|
143
|
-
let e, t, l, u, h, d, g, w, _, a = !!/*showbackbutton*/
|
|
144
|
-
i[3] && /*showbackbutton*/
|
|
145
|
-
i[3] !== "false" && D(i), r = (!/*showbackbutton*/
|
|
146
|
-
i[3] || /*showbackbutton*/
|
|
147
|
-
i[3] === "false") && I(i), o = (
|
|
148
|
-
/*isLoading*/
|
|
149
|
-
i[8] && O(i)
|
|
150
|
-
);
|
|
151
|
-
return {
|
|
152
|
-
c() {
|
|
153
|
-
e = y("div"), t = y("cashier-header"), a && a.c(), l = H(), r && r.c(), u = H(), o && o.c(), h = H(), d = y("iframe"), c(
|
|
154
|
-
t,
|
|
155
|
-
"lang",
|
|
156
|
-
/*lang*/
|
|
157
|
-
i[0]
|
|
158
|
-
), c(
|
|
159
|
-
t,
|
|
160
|
-
"translationurl",
|
|
161
|
-
/*translationurl*/
|
|
162
|
-
i[2]
|
|
163
|
-
), c(
|
|
164
|
-
t,
|
|
165
|
-
"title",
|
|
166
|
-
/*title*/
|
|
167
|
-
i[6]
|
|
168
|
-
), c(
|
|
169
|
-
t,
|
|
170
|
-
"showbackbutton",
|
|
171
|
-
/*showbackbutton*/
|
|
172
|
-
i[3]
|
|
173
|
-
), c(
|
|
174
|
-
t,
|
|
175
|
-
"clientstylingurl",
|
|
176
|
-
/*clientstylingurl*/
|
|
177
|
-
i[5]
|
|
178
|
-
), c(
|
|
179
|
-
t,
|
|
180
|
-
"clientstyling",
|
|
181
|
-
/*clientstyling*/
|
|
182
|
-
i[4]
|
|
183
|
-
), R(d.src, g = /*iframeurl*/
|
|
184
|
-
i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
|
|
185
|
-
},
|
|
186
|
-
m(s, f) {
|
|
187
|
-
E(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = B(
|
|
188
|
-
d,
|
|
189
|
-
"load",
|
|
190
|
-
/*load_handler*/
|
|
191
|
-
i[11]
|
|
192
|
-
), w = !0);
|
|
193
|
-
},
|
|
194
|
-
p(s, [f]) {
|
|
195
|
-
/*showbackbutton*/
|
|
196
|
-
s[3] && /*showbackbutton*/
|
|
197
|
-
s[3] !== "false" ? a ? a.p(s, f) : (a = D(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
|
|
198
|
-
s[3] || /*showbackbutton*/
|
|
199
|
-
s[3] === "false" ? r ? r.p(s, f) : (r = I(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
|
|
200
|
-
1 && c(
|
|
201
|
-
t,
|
|
202
|
-
"lang",
|
|
203
|
-
/*lang*/
|
|
204
|
-
s[0]
|
|
205
|
-
), f & /*translationurl*/
|
|
206
|
-
4 && c(
|
|
207
|
-
t,
|
|
208
|
-
"translationurl",
|
|
209
|
-
/*translationurl*/
|
|
210
|
-
s[2]
|
|
211
|
-
), f & /*title*/
|
|
212
|
-
64 && c(
|
|
213
|
-
t,
|
|
214
|
-
"title",
|
|
215
|
-
/*title*/
|
|
216
|
-
s[6]
|
|
217
|
-
), f & /*showbackbutton*/
|
|
218
|
-
8 && c(
|
|
219
|
-
t,
|
|
220
|
-
"showbackbutton",
|
|
221
|
-
/*showbackbutton*/
|
|
222
|
-
s[3]
|
|
223
|
-
), f & /*clientstylingurl*/
|
|
224
|
-
32 && c(
|
|
225
|
-
t,
|
|
226
|
-
"clientstylingurl",
|
|
227
|
-
/*clientstylingurl*/
|
|
228
|
-
s[5]
|
|
229
|
-
), f & /*clientstyling*/
|
|
230
|
-
16 && c(
|
|
231
|
-
t,
|
|
232
|
-
"clientstyling",
|
|
233
|
-
/*clientstyling*/
|
|
234
|
-
s[4]
|
|
235
|
-
), /*isLoading*/
|
|
236
|
-
s[8] ? o ? o.p(s, f) : (o = O(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
|
|
237
|
-
2 && !R(d.src, g = /*iframeurl*/
|
|
238
|
-
s[1]) && b(d, "src", g);
|
|
239
|
-
},
|
|
240
|
-
i: v,
|
|
241
|
-
o: v,
|
|
242
|
-
d(s) {
|
|
243
|
-
s && k(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
function Y(i, e, t) {
|
|
248
|
-
let { lang: l = "en" } = e, { iframeurl: u } = e, { translationurl: h = "" } = e, { showbackbutton: d = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: w = "" } = e, { title: _ = "" } = e, a = !0, r;
|
|
249
|
-
const o = () => {
|
|
250
|
-
let n = h;
|
|
251
|
-
if (n)
|
|
252
|
-
return fetch(n).then((m) => m.json()).then((m) => {
|
|
253
|
-
Object.keys(m).forEach((p) => {
|
|
254
|
-
T(p, m[p]);
|
|
255
|
-
});
|
|
256
|
-
}).catch((m) => {
|
|
257
|
-
console.log(m);
|
|
258
|
-
});
|
|
259
|
-
};
|
|
260
|
-
Object.keys(S).forEach((n) => {
|
|
261
|
-
T(n, S[n]);
|
|
262
|
-
});
|
|
263
|
-
const s = () => {
|
|
264
|
-
V(l);
|
|
265
|
-
}, f = () => {
|
|
266
|
-
let n = document.createElement("style");
|
|
267
|
-
n.innerHTML = g, r.appendChild(n);
|
|
268
|
-
}, j = () => {
|
|
269
|
-
let n = new URL(w), m = document.createElement("style");
|
|
270
|
-
fetch(n.href).then((p) => p.text()).then((p) => {
|
|
271
|
-
m.innerHTML = p, setTimeout(
|
|
272
|
-
() => {
|
|
273
|
-
r.appendChild(m);
|
|
274
|
-
},
|
|
275
|
-
1
|
|
276
|
-
);
|
|
277
|
-
});
|
|
278
|
-
}, z = () => {
|
|
279
|
-
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
280
|
-
}, M = (n) => {
|
|
281
|
-
n.target.src && t(8, a = !1);
|
|
282
|
-
}, A = (n) => M(n);
|
|
283
|
-
function q(n) {
|
|
284
|
-
P[n ? "unshift" : "push"](() => {
|
|
285
|
-
r = n, t(7, r);
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
return i.$$set = (n) => {
|
|
289
|
-
"lang" in n && t(0, l = n.lang), "iframeurl" in n && t(1, u = n.iframeurl), "translationurl" in n && t(2, h = n.translationurl), "showbackbutton" in n && t(3, d = n.showbackbutton), "clientstyling" in n && t(4, g = n.clientstyling), "clientstylingurl" in n && t(5, w = n.clientstylingurl), "title" in n && t(6, _ = n.title);
|
|
290
|
-
}, i.$$.update = () => {
|
|
291
|
-
i.$$.dirty & /*lang*/
|
|
292
|
-
1 && l && s(), i.$$.dirty & /*translationurl*/
|
|
293
|
-
4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
|
-
144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
160 && w && r && j();
|
|
296
|
-
}, [
|
|
297
|
-
l,
|
|
298
|
-
u,
|
|
299
|
-
h,
|
|
300
|
-
d,
|
|
301
|
-
g,
|
|
302
|
-
w,
|
|
303
|
-
_,
|
|
304
|
-
r,
|
|
305
|
-
a,
|
|
306
|
-
z,
|
|
307
|
-
M,
|
|
308
|
-
A,
|
|
309
|
-
q
|
|
310
|
-
];
|
|
311
|
-
}
|
|
312
|
-
class x extends N {
|
|
313
|
-
constructor(e) {
|
|
314
|
-
super(), U(
|
|
315
|
-
this,
|
|
316
|
-
e,
|
|
317
|
-
Y,
|
|
318
|
-
X,
|
|
319
|
-
Z,
|
|
320
|
-
{
|
|
321
|
-
lang: 0,
|
|
322
|
-
iframeurl: 1,
|
|
323
|
-
translationurl: 2,
|
|
324
|
-
showbackbutton: 3,
|
|
325
|
-
clientstyling: 4,
|
|
326
|
-
clientstylingurl: 5,
|
|
327
|
-
title: 6
|
|
328
|
-
},
|
|
329
|
-
W
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
get lang() {
|
|
333
|
-
return this.$$.ctx[0];
|
|
334
|
-
}
|
|
335
|
-
set lang(e) {
|
|
336
|
-
this.$$set({ lang: e }), C();
|
|
337
|
-
}
|
|
338
|
-
get iframeurl() {
|
|
339
|
-
return this.$$.ctx[1];
|
|
340
|
-
}
|
|
341
|
-
set iframeurl(e) {
|
|
342
|
-
this.$$set({ iframeurl: e }), C();
|
|
343
|
-
}
|
|
344
|
-
get translationurl() {
|
|
345
|
-
return this.$$.ctx[2];
|
|
346
|
-
}
|
|
347
|
-
set translationurl(e) {
|
|
348
|
-
this.$$set({ translationurl: e }), C();
|
|
349
|
-
}
|
|
350
|
-
get showbackbutton() {
|
|
351
|
-
return this.$$.ctx[3];
|
|
352
|
-
}
|
|
353
|
-
set showbackbutton(e) {
|
|
354
|
-
this.$$set({ showbackbutton: e }), C();
|
|
355
|
-
}
|
|
356
|
-
get clientstyling() {
|
|
357
|
-
return this.$$.ctx[4];
|
|
358
|
-
}
|
|
359
|
-
set clientstyling(e) {
|
|
360
|
-
this.$$set({ clientstyling: e }), C();
|
|
361
|
-
}
|
|
362
|
-
get clientstylingurl() {
|
|
363
|
-
return this.$$.ctx[5];
|
|
364
|
-
}
|
|
365
|
-
set clientstylingurl(e) {
|
|
366
|
-
this.$$set({ clientstylingurl: e }), C();
|
|
367
|
-
}
|
|
368
|
-
get title() {
|
|
369
|
-
return this.$$.ctx[6];
|
|
370
|
-
}
|
|
371
|
-
set title(e) {
|
|
372
|
-
this.$$set({ title: e }), C();
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
G(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
376
|
-
export {
|
|
377
|
-
x as default
|
|
378
|
-
};
|