@everymatrix/cashier-page 1.98.28 → 1.98.30
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-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
- package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
- package/components/CashierCarousel-DACE1tKH.cjs +1 -0
- package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
- package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
- package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
- package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
- package/components/CashierHeader-CHEzsRF0.cjs +1 -0
- package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
- package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
- package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
- package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
- package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
- package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
- package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
- package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
- package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
- package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
- package/components/CashierPage-BOWMSZ9v.cjs +23 -0
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
- package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
- package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
- package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
- package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
- package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
- package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
- package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
- package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
- package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
- package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
- package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
- package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
- package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
- package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
- package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
- package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
- package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
- package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
- package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
- package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.js} +1 -1
- 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/components/CashierCarousel-BSgX_-9d.cjs +0 -1
- package/components/CashierCarousel-BSxRIpNj.js +0 -708
- package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
- package/components/CashierCarousel-BsryNC67.js +0 -711
- package/components/CashierCarousel-CLl1dEO0.js +0 -711
- package/components/CashierCarousel-D0dDvgaj.js +0 -708
- package/components/CashierCarousel-DVLQpSbh.js +0 -711
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierCarousel-DucLdPiP.cjs +0 -1
- package/components/CashierCarousel-jiScaw1m.js +0 -708
- package/components/CashierError-B19WWS6q.js +0 -849
- package/components/CashierError-C9QJqSOU.cjs +0 -1
- package/components/CashierError-CJMwmI7N.js +0 -849
- package/components/CashierError-CL9tcScj.js +0 -849
- package/components/CashierError-CpI-ZvDt.js +0 -849
- package/components/CashierError-DY-spTTl.js +0 -849
- package/components/CashierError-f4ZqXuJH.js +0 -849
- package/components/CashierError-mFSpkELc.cjs +0 -1
- package/components/CashierError-nb2MHtLH.cjs +0 -1
- package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
- package/components/CashierHeader-CmmEk0QP.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierHeader-DEksQqYQ.js +0 -477
- package/components/CashierHeader-DwvRD5WU.js +0 -477
- package/components/CashierHeader-J44Qka8M.js +0 -477
- package/components/CashierHeader-SrIA_1me.cjs +0 -1
- package/components/CashierHeader-TK2-BiHl.js +0 -477
- package/components/CashierHeader-jQ2-E617.js +0 -477
- package/components/CashierHeader-vy8HyWPz.js +0 -477
- package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
- package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
- package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
- package/components/CashierIframeRedirect-CyY79191.js +0 -387
- package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
- package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
- package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
- package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
- package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
- package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
- package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
- package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
- package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
- package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
- package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
- package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
- package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierMethodsList-BxvD9zAR.js +0 -969
- package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
- package/components/CashierMethodsList-CMaD5FXj.js +0 -955
- package/components/CashierMethodsList-C_ldRYq_.js +0 -969
- package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
- package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
- package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
- package/components/CashierMethodsList-KXr3hScy.js +0 -955
- package/components/CashierMethodsList-u11i0SYf.js +0 -969
- package/components/CashierModal-B-UWvltM.js +0 -386
- package/components/CashierModal-BitlQX-o.cjs +0 -1
- package/components/CashierModal-C0Xof_AE.js +0 -402
- package/components/CashierModal-CcawnfUI.cjs +0 -1
- package/components/CashierModal-CevNAvJE.js +0 -386
- package/components/CashierModal-DJ3Q9obn.js +0 -402
- package/components/CashierModal-Dsi_oVHh.js +0 -402
- package/components/CashierModal-DwEKUjMK.cjs +0 -1
- package/components/CashierModal-aBGB4ejQ.js +0 -386
- package/components/CashierNotifications-BanZGIkE.js +0 -129
- package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
- package/components/CashierNotifications-CY2B13Wf.js +0 -129
- package/components/CashierNotifications-CyCI6ksG.js +0 -129
- package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
- package/components/CashierNotifications-DquKOU8w.js +0 -129
- package/components/CashierNotifications-Du8trHf6.js +0 -129
- package/components/CashierNotifications-WS_5AwbR.js +0 -129
- package/components/CashierNotifications-wQG099OX.cjs +0 -1
- package/components/CashierPage-895aolw0.js +0 -10288
- package/components/CashierPage-BKglURO0.js +0 -10233
- package/components/CashierPage-BU42FSzD.js +0 -10307
- package/components/CashierPage-BkADSeGN.cjs +0 -23
- package/components/CashierPage-Bmy89dKm.cjs +0 -23
- package/components/CashierPage-Cdtyq0lf.js +0 -10307
- package/components/CashierPage-DEYpTaJv.cjs +0 -23
- package/components/CashierPage-DYXRnLVw.js +0 -10254
- package/components/CashierPage-TRzKwGkj.cjs +0 -23
- package/components/CashierPage-mGP6lkFv.js +0 -10254
- package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
- package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
- package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
- package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
- package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
- package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
- package/components/CashierReceiptPage-DWyirru6.js +0 -2063
- package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
- package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
- package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
- package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
- package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
- package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
- package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
- package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
- package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
- package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
- package/components/CashierSpinner-BQv2AMHG.js +0 -79
- package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
- package/components/CashierSpinner-BvhJgDvg.js +0 -79
- package/components/CashierSpinner-CFUNSysS.js +0 -79
- package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
- package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
- package/components/CashierSpinner-DrZub22H.js +0 -79
- package/components/CashierSpinner-bOYmQpsr.js +0 -79
- package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
- package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
- package/components/CashierStepUp-CKae09kD.js +0 -1201
- package/components/CashierStepUp-CNHvoNU1.js +0 -1161
- package/components/CashierStepUp-CVfdA9uX.js +0 -1201
- package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
- package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
- package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierStepUp-DfYWcQde.js +0 -1161
- package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
- package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
- package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
- package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
- package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
- package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
- package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
- package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
- package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
- package/components/CashierVerifications-BI_yu8fO.js +0 -722
- package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
- package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
- package/components/CashierVerifications-Bu0ALHD1.js +0 -722
- package/components/CashierVerifications-C3vBxGTw.js +0 -726
- package/components/CashierVerifications-CBtYGTLV.js +0 -726
- package/components/CashierVerifications-CJjMkvTK.js +0 -722
- package/components/CashierVerifications-D692oxDO.js +0 -726
- package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
- package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
- package/components/TxnStatusIcon-B99-DjyY.js +0 -142
- package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
- package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
- package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
- package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
- package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
- package/components/TxnStatusIcon-_ohfqibs.js +0 -142
- package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
- package/components/TxnTypeIcons-BL543vM-.js +0 -101
- package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
- package/components/TxnTypeIcons-CM9KOumw.js +0 -101
- package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
- package/components/TxnTypeIcons-DFX30GCY.js +0 -101
- package/components/TxnTypeIcons-Dv_tv357.js +0 -101
- package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
- package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
- package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-Cdtyq0lf.js";
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-vy8HyWPz.js";
|
|
3
|
-
function R(i, e) {
|
|
4
|
-
U(i, e);
|
|
5
|
-
}
|
|
6
|
-
function ee(i) {
|
|
7
|
-
Z({
|
|
8
|
-
fallbackLocale: "en"
|
|
9
|
-
}), J.set(i);
|
|
10
|
-
}
|
|
11
|
-
const F = {
|
|
12
|
-
en: {
|
|
13
|
-
redirectHeader: "Deposit redirect"
|
|
14
|
-
},
|
|
15
|
-
tr: {
|
|
16
|
-
redirectHeader: "Para yatırma yönlendirmesi"
|
|
17
|
-
},
|
|
18
|
-
fr: {
|
|
19
|
-
redirectHeader: "Redirection du dépôt"
|
|
20
|
-
},
|
|
21
|
-
da: {
|
|
22
|
-
redirectHeader: "Indbetaling omdirigering"
|
|
23
|
-
},
|
|
24
|
-
de: {
|
|
25
|
-
redirectHeader: "Einzahlungsweiterleitung"
|
|
26
|
-
},
|
|
27
|
-
nl: {
|
|
28
|
-
redirectHeader: "Stortingsomleiding"
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
if (typeof window != "undefined") {
|
|
32
|
-
let i = function(e) {
|
|
33
|
-
return function(...t) {
|
|
34
|
-
try {
|
|
35
|
-
return e.apply(this, t);
|
|
36
|
-
} catch (s) {
|
|
37
|
-
if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
38
|
-
return !1;
|
|
39
|
-
throw s;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-BQv2AMHG.js").then(({ default: e }) => {
|
|
44
|
-
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function te(i) {
|
|
48
|
-
Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}");
|
|
49
|
-
}
|
|
50
|
-
function I(i) {
|
|
51
|
-
let e, t, s;
|
|
52
|
-
return {
|
|
53
|
-
c() {
|
|
54
|
-
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
55
|
-
},
|
|
56
|
-
m(f, d) {
|
|
57
|
-
v(f, e, d), t || (s = H(
|
|
58
|
-
e,
|
|
59
|
-
"click",
|
|
60
|
-
/*close*/
|
|
61
|
-
i[10]
|
|
62
|
-
), t = !0);
|
|
63
|
-
},
|
|
64
|
-
p: L,
|
|
65
|
-
d(f) {
|
|
66
|
-
f && k(e), t = !1, s();
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function j(i) {
|
|
71
|
-
let e, t, s;
|
|
72
|
-
return {
|
|
73
|
-
c() {
|
|
74
|
-
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
75
|
-
},
|
|
76
|
-
m(f, d) {
|
|
77
|
-
v(f, e, d), t || (s = H(
|
|
78
|
-
e,
|
|
79
|
-
"click",
|
|
80
|
-
/*close*/
|
|
81
|
-
i[10]
|
|
82
|
-
), t = !0);
|
|
83
|
-
},
|
|
84
|
-
p: L,
|
|
85
|
-
d(f) {
|
|
86
|
-
f && k(e), t = !1, s();
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
function z(i) {
|
|
91
|
-
let e;
|
|
92
|
-
return {
|
|
93
|
-
c() {
|
|
94
|
-
e = p("cashier-spinner"), a(
|
|
95
|
-
e,
|
|
96
|
-
"clientstylingurl",
|
|
97
|
-
/*clientstylingurl*/
|
|
98
|
-
i[6]
|
|
99
|
-
), a(
|
|
100
|
-
e,
|
|
101
|
-
"clientstyling",
|
|
102
|
-
/*clientstyling*/
|
|
103
|
-
i[5]
|
|
104
|
-
), a(
|
|
105
|
-
e,
|
|
106
|
-
"mbsource",
|
|
107
|
-
/*mbsource*/
|
|
108
|
-
i[4]
|
|
109
|
-
);
|
|
110
|
-
},
|
|
111
|
-
m(t, s) {
|
|
112
|
-
v(t, e, s);
|
|
113
|
-
},
|
|
114
|
-
p(t, s) {
|
|
115
|
-
s & /*clientstylingurl*/
|
|
116
|
-
64 && a(
|
|
117
|
-
e,
|
|
118
|
-
"clientstylingurl",
|
|
119
|
-
/*clientstylingurl*/
|
|
120
|
-
t[6]
|
|
121
|
-
), s & /*clientstyling*/
|
|
122
|
-
32 && a(
|
|
123
|
-
e,
|
|
124
|
-
"clientstyling",
|
|
125
|
-
/*clientstyling*/
|
|
126
|
-
t[5]
|
|
127
|
-
), s & /*mbsource*/
|
|
128
|
-
16 && a(
|
|
129
|
-
e,
|
|
130
|
-
"mbsource",
|
|
131
|
-
/*mbsource*/
|
|
132
|
-
t[4]
|
|
133
|
-
);
|
|
134
|
-
},
|
|
135
|
-
d(t) {
|
|
136
|
-
t && k(e);
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
function ie(i) {
|
|
141
|
-
let e, t, s, f, d, g, m, h, C, o = !!/*showbackbutton*/
|
|
142
|
-
i[3] && /*showbackbutton*/
|
|
143
|
-
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
144
|
-
i[3] || /*showbackbutton*/
|
|
145
|
-
i[3] === "false") && j(i), c = (
|
|
146
|
-
/*isLoading*/
|
|
147
|
-
i[9] && z(i)
|
|
148
|
-
);
|
|
149
|
-
return {
|
|
150
|
-
c() {
|
|
151
|
-
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
|
|
152
|
-
t,
|
|
153
|
-
"lang",
|
|
154
|
-
/*lang*/
|
|
155
|
-
i[0]
|
|
156
|
-
), a(
|
|
157
|
-
t,
|
|
158
|
-
"translationurl",
|
|
159
|
-
/*translationurl*/
|
|
160
|
-
i[2]
|
|
161
|
-
), a(
|
|
162
|
-
t,
|
|
163
|
-
"title",
|
|
164
|
-
/*title*/
|
|
165
|
-
i[7]
|
|
166
|
-
), a(
|
|
167
|
-
t,
|
|
168
|
-
"showbackbutton",
|
|
169
|
-
/*showbackbutton*/
|
|
170
|
-
i[3]
|
|
171
|
-
), a(
|
|
172
|
-
t,
|
|
173
|
-
"clientstylingurl",
|
|
174
|
-
/*clientstylingurl*/
|
|
175
|
-
i[6]
|
|
176
|
-
), a(
|
|
177
|
-
t,
|
|
178
|
-
"clientstyling",
|
|
179
|
-
/*clientstyling*/
|
|
180
|
-
i[5]
|
|
181
|
-
), a(
|
|
182
|
-
t,
|
|
183
|
-
"mbsource",
|
|
184
|
-
/*mbsource*/
|
|
185
|
-
i[4]
|
|
186
|
-
), B(g.src, m = /*iframeurl*/
|
|
187
|
-
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
188
|
-
},
|
|
189
|
-
m(l, u) {
|
|
190
|
-
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (C = H(
|
|
191
|
-
g,
|
|
192
|
-
"load",
|
|
193
|
-
/*load_handler*/
|
|
194
|
-
i[12]
|
|
195
|
-
), h = !0);
|
|
196
|
-
},
|
|
197
|
-
p(l, [u]) {
|
|
198
|
-
/*showbackbutton*/
|
|
199
|
-
l[3] && /*showbackbutton*/
|
|
200
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
201
|
-
l[3] || /*showbackbutton*/
|
|
202
|
-
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
203
|
-
1 && a(
|
|
204
|
-
t,
|
|
205
|
-
"lang",
|
|
206
|
-
/*lang*/
|
|
207
|
-
l[0]
|
|
208
|
-
), u & /*translationurl*/
|
|
209
|
-
4 && a(
|
|
210
|
-
t,
|
|
211
|
-
"translationurl",
|
|
212
|
-
/*translationurl*/
|
|
213
|
-
l[2]
|
|
214
|
-
), u & /*title*/
|
|
215
|
-
128 && a(
|
|
216
|
-
t,
|
|
217
|
-
"title",
|
|
218
|
-
/*title*/
|
|
219
|
-
l[7]
|
|
220
|
-
), u & /*showbackbutton*/
|
|
221
|
-
8 && a(
|
|
222
|
-
t,
|
|
223
|
-
"showbackbutton",
|
|
224
|
-
/*showbackbutton*/
|
|
225
|
-
l[3]
|
|
226
|
-
), u & /*clientstylingurl*/
|
|
227
|
-
64 && a(
|
|
228
|
-
t,
|
|
229
|
-
"clientstylingurl",
|
|
230
|
-
/*clientstylingurl*/
|
|
231
|
-
l[6]
|
|
232
|
-
), u & /*clientstyling*/
|
|
233
|
-
32 && a(
|
|
234
|
-
t,
|
|
235
|
-
"clientstyling",
|
|
236
|
-
/*clientstyling*/
|
|
237
|
-
l[5]
|
|
238
|
-
), u & /*mbsource*/
|
|
239
|
-
16 && a(
|
|
240
|
-
t,
|
|
241
|
-
"mbsource",
|
|
242
|
-
/*mbsource*/
|
|
243
|
-
l[4]
|
|
244
|
-
), /*isLoading*/
|
|
245
|
-
l[9] ? c ? c.p(l, u) : (c = z(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
|
-
2 && !B(g.src, m = /*iframeurl*/
|
|
247
|
-
l[1]) && w(g, "src", m);
|
|
248
|
-
},
|
|
249
|
-
i: L,
|
|
250
|
-
o: L,
|
|
251
|
-
d(l) {
|
|
252
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, C();
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
function ne(i, e, t) {
|
|
257
|
-
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
|
-
const u = () => {
|
|
259
|
-
let n = d;
|
|
260
|
-
if (n)
|
|
261
|
-
return fetch(n).then((y) => y.json()).then((y) => {
|
|
262
|
-
Object.keys(y).forEach((M) => {
|
|
263
|
-
R(M, y[M]);
|
|
264
|
-
});
|
|
265
|
-
}).catch((y) => {
|
|
266
|
-
console.log(y);
|
|
267
|
-
});
|
|
268
|
-
};
|
|
269
|
-
Object.keys(F).forEach((n) => {
|
|
270
|
-
R(n, F[n]);
|
|
271
|
-
});
|
|
272
|
-
const A = () => {
|
|
273
|
-
ee(s);
|
|
274
|
-
}, O = () => {
|
|
275
|
-
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
276
|
-
}, E = (n) => {
|
|
277
|
-
n.target.src && t(9, l = !1);
|
|
278
|
-
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
279
|
-
V(() => (T(), () => {
|
|
280
|
-
D();
|
|
281
|
-
}));
|
|
282
|
-
const q = (n) => E(n);
|
|
283
|
-
function N(n) {
|
|
284
|
-
W[n ? "unshift" : "push"](() => {
|
|
285
|
-
r = n, t(8, r);
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
return i.$$set = (n) => {
|
|
289
|
-
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
290
|
-
}, i.$$.update = () => {
|
|
291
|
-
i.$$.dirty & /*lang*/
|
|
292
|
-
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
|
-
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
|
-
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
|
-
272 && m && r && $(r, `${m}.Style`, c);
|
|
297
|
-
}, [
|
|
298
|
-
s,
|
|
299
|
-
f,
|
|
300
|
-
d,
|
|
301
|
-
g,
|
|
302
|
-
m,
|
|
303
|
-
h,
|
|
304
|
-
C,
|
|
305
|
-
o,
|
|
306
|
-
r,
|
|
307
|
-
l,
|
|
308
|
-
O,
|
|
309
|
-
E,
|
|
310
|
-
q,
|
|
311
|
-
N
|
|
312
|
-
];
|
|
313
|
-
}
|
|
314
|
-
class le extends P {
|
|
315
|
-
constructor(e) {
|
|
316
|
-
super(), G(
|
|
317
|
-
this,
|
|
318
|
-
e,
|
|
319
|
-
ne,
|
|
320
|
-
ie,
|
|
321
|
-
K,
|
|
322
|
-
{
|
|
323
|
-
lang: 0,
|
|
324
|
-
iframeurl: 1,
|
|
325
|
-
translationurl: 2,
|
|
326
|
-
showbackbutton: 3,
|
|
327
|
-
mbsource: 4,
|
|
328
|
-
clientstyling: 5,
|
|
329
|
-
clientstylingurl: 6,
|
|
330
|
-
title: 7
|
|
331
|
-
},
|
|
332
|
-
te
|
|
333
|
-
);
|
|
334
|
-
}
|
|
335
|
-
get lang() {
|
|
336
|
-
return this.$$.ctx[0];
|
|
337
|
-
}
|
|
338
|
-
set lang(e) {
|
|
339
|
-
this.$$set({ lang: e }), b();
|
|
340
|
-
}
|
|
341
|
-
get iframeurl() {
|
|
342
|
-
return this.$$.ctx[1];
|
|
343
|
-
}
|
|
344
|
-
set iframeurl(e) {
|
|
345
|
-
this.$$set({ iframeurl: e }), b();
|
|
346
|
-
}
|
|
347
|
-
get translationurl() {
|
|
348
|
-
return this.$$.ctx[2];
|
|
349
|
-
}
|
|
350
|
-
set translationurl(e) {
|
|
351
|
-
this.$$set({ translationurl: e }), b();
|
|
352
|
-
}
|
|
353
|
-
get showbackbutton() {
|
|
354
|
-
return this.$$.ctx[3];
|
|
355
|
-
}
|
|
356
|
-
set showbackbutton(e) {
|
|
357
|
-
this.$$set({ showbackbutton: e }), b();
|
|
358
|
-
}
|
|
359
|
-
get mbsource() {
|
|
360
|
-
return this.$$.ctx[4];
|
|
361
|
-
}
|
|
362
|
-
set mbsource(e) {
|
|
363
|
-
this.$$set({ mbsource: e }), b();
|
|
364
|
-
}
|
|
365
|
-
get clientstyling() {
|
|
366
|
-
return this.$$.ctx[5];
|
|
367
|
-
}
|
|
368
|
-
set clientstyling(e) {
|
|
369
|
-
this.$$set({ clientstyling: e }), b();
|
|
370
|
-
}
|
|
371
|
-
get clientstylingurl() {
|
|
372
|
-
return this.$$.ctx[6];
|
|
373
|
-
}
|
|
374
|
-
set clientstylingurl(e) {
|
|
375
|
-
this.$$set({ clientstylingurl: e }), b();
|
|
376
|
-
}
|
|
377
|
-
get title() {
|
|
378
|
-
return this.$$.ctx[7];
|
|
379
|
-
}
|
|
380
|
-
set title(e) {
|
|
381
|
-
this.$$set({ title: e }), b();
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
385
|
-
export {
|
|
386
|
-
le as default
|
|
387
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-TRzKwGkj.cjs"),w=require("./CashierHeader-9Jv4Zu9U.cjs");function y(i,t){e.addMessages(i,t)}function q(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-D6D1AmR0.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function I(i){e.append_styles(i,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function k(i){let t,n,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function S(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,r){e.insert(n,t,r)},p(n,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),r&32&&e.set_custom_element_data(t,"clientstyling",n[5]),r&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function T(i){let t,n,r,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[9]&&S(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),f=e.space(),c&&c.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,r),a&&a.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(n,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(n,"lang",s[0]),u&4&&e.set_custom_element_data(n,"translationurl",s[2]),u&128&&e.set_custom_element_data(n,"title",s[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(n,"clientstyling",s[5]),u&16&&e.set_custom_element_data(n,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:r="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>C(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,r=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&r&&E(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,f,m,d,h,g,_,o,a,s,M,C,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,T,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},I)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|