@everymatrix/cashier-page 1.50.0 → 1.50.110
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-BDml_k6w.js +708 -0
- package/components/CashierCarousel-BVmyFDx4.cjs +1 -0
- package/components/CashierCarousel-Bd1AqAVR.cjs +1 -0
- package/components/CashierCarousel-BeapCEtK.cjs +1 -0
- package/components/CashierCarousel-Bugw5tyI.js +708 -0
- package/components/CashierCarousel-COl4VcVY.js +711 -0
- package/components/CashierCarousel-CXUvw0R7.js +711 -0
- package/components/CashierCarousel-CroFG8Xo.js +711 -0
- package/components/CashierCarousel-DfQzq9Go.js +711 -0
- package/components/CashierCarousel-Dtp7hznQ.cjs +1 -0
- package/components/CashierCarousel-YirC6RJx.js +708 -0
- package/components/CashierCarousel-YzIHQA_U.js +708 -0
- package/components/CashierError-823wzpBc.cjs +1 -0
- package/components/CashierError-BDhHDbx7.cjs +1 -0
- package/components/CashierError-BFogL6zj.js +849 -0
- package/components/CashierError-BU_nAUO7.cjs +1 -0
- package/components/CashierError-Cql8hgCS.cjs +1 -0
- package/components/CashierError-Cye53nP1.js +849 -0
- package/components/CashierError-D1XdESJ-.js +849 -0
- package/components/CashierError-DFpXjpnw.js +849 -0
- package/components/CashierError-DNPGd_Qy.js +849 -0
- package/components/CashierError-DeSxsrV5.js +849 -0
- package/components/CashierError-DhLbUDdZ.js +849 -0
- package/components/CashierError-uh3dtxeS.js +849 -0
- package/components/CashierHeader-B0bhoFUA.js +477 -0
- package/components/CashierHeader-BJUPYAsB.js +477 -0
- package/components/CashierHeader-BppY3Whf.js +477 -0
- package/components/CashierHeader-BsoummJc.js +477 -0
- package/components/CashierHeader-CHgw-pMp.js +477 -0
- package/components/CashierHeader-Ciphzksz.cjs +1 -0
- package/components/CashierHeader-D6fFga5G.js +477 -0
- package/components/CashierHeader-DFTZEscY.cjs +1 -0
- package/components/CashierHeader-DGQgK3Mi.cjs +1 -0
- package/components/CashierHeader-DGtwYREo.js +477 -0
- package/components/CashierHeader-DXiUgEC4.cjs +1 -0
- package/components/CashierHeader-qF4Dp4lm.js +477 -0
- package/components/CashierIframeRedirect-BF2MxkzL.cjs +1 -0
- package/components/CashierIframeRedirect-BR16-UED.js +387 -0
- package/components/CashierIframeRedirect-BX7-YCI8.cjs +1 -0
- package/components/CashierIframeRedirect-BaAtwDvz.js +387 -0
- package/components/CashierIframeRedirect-C2V-UdlY.js +387 -0
- package/components/CashierIframeRedirect-CsVyY3cR.js +387 -0
- package/components/CashierIframeRedirect-CwxZ7TXO.js +387 -0
- package/components/CashierIframeRedirect-DTNEJYcp.cjs +1 -0
- package/components/CashierIframeRedirect-DsTB0VPT.js +387 -0
- package/components/CashierIframeRedirect-DvPoIaeZ.cjs +1 -0
- package/components/CashierIframeRedirect-DwHUOnqx.js +387 -0
- package/components/CashierIframeRedirect-DzZ0ny59.js +387 -0
- package/components/CashierMethodDetails--VgKronF.js +11361 -0
- package/components/CashierMethodDetails-BJzw7HpC.js +11311 -0
- package/components/CashierMethodDetails-BduwgGFf.js +11312 -0
- package/components/CashierMethodDetails-CFTNshq8.js +11364 -0
- package/components/CashierMethodDetails-Cx5hAXMm.js +11319 -0
- package/components/CashierMethodDetails-DM9jw46k.cjs +85 -0
- package/components/CashierMethodDetails-DU7kvJBt.js +11315 -0
- package/components/CashierMethodDetails-DYrbrr8o.cjs +85 -0
- package/components/CashierMethodDetails-DqHPQoci.js +11360 -0
- package/components/CashierMethodDetails-LuXonXkb.cjs +85 -0
- package/components/CashierMethodDetails-Mf9CjdnH.cjs +85 -0
- package/components/CashierMethodDetails-wUxBeaoT.js +11368 -0
- package/components/CashierMethodsList-B_w3Kuar.js +969 -0
- package/components/CashierMethodsList-Bajk_fN2.cjs +1 -0
- package/components/CashierMethodsList-BmBonjbW.js +955 -0
- package/components/CashierMethodsList-Bmp_KFjq.js +955 -0
- package/components/CashierMethodsList-CZDLiDr_.cjs +1 -0
- package/components/CashierMethodsList-DNKyMqx9.cjs +1 -0
- package/components/CashierMethodsList-Da48wqYP.js +969 -0
- package/components/CashierMethodsList-DikeveqL.js +955 -0
- package/components/CashierMethodsList-DoZUls2T.js +969 -0
- package/components/CashierMethodsList-TDZO2lgt.cjs +1 -0
- package/components/CashierMethodsList-_2jprmvV.js +969 -0
- package/components/CashierMethodsList-vNXo4202.js +955 -0
- package/components/CashierModal-2KqFqz9P.js +402 -0
- package/components/CashierModal-BjBuHzUT.js +386 -0
- package/components/CashierModal-BjCLh7Ni.cjs +1 -0
- package/components/CashierModal-Bm2VVV9v.js +386 -0
- package/components/CashierModal-CD-mRbW-.js +386 -0
- package/components/CashierModal-Ci9EsZWx.cjs +1 -0
- package/components/CashierModal-CoQj_0GG.js +402 -0
- package/components/CashierModal-D3CCFA8n.js +402 -0
- package/components/CashierModal-Dg-s3ob3.cjs +1 -0
- package/components/CashierModal-IjvEDr1e.cjs +1 -0
- package/components/CashierModal-Tx-_I3C5.js +402 -0
- package/components/CashierModal-_6k8SMmv.js +386 -0
- package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-8gjVa_uU.js} +13 -13
- package/components/CashierNotifications-B-ca_1gR.js +129 -0
- package/components/CashierNotifications-B8CttXUW.cjs +1 -0
- package/components/CashierNotifications-BwSNv1p7.js +129 -0
- package/components/CashierNotifications-C1ho-Jaz.cjs +1 -0
- package/components/CashierNotifications-CKOYETVR.js +129 -0
- package/components/CashierNotifications-CMN-xRMO.cjs +1 -0
- package/components/CashierNotifications-CW1ZTrj2.js +129 -0
- package/components/CashierNotifications-DpuHjG3p.js +129 -0
- package/components/CashierNotifications-Dwb6PONf.js +129 -0
- package/components/CashierNotifications-Pv9TuEmZ.js +129 -0
- package/components/CashierNotifications-RLUOVh_a.cjs +1 -0
- package/components/CashierPage-BaIwIJHa.cjs +23 -0
- package/components/CashierPage-BuVeTvKW.js +10251 -0
- package/components/CashierPage-CJp9QSIi.cjs +23 -0
- package/components/CashierPage-CdLRZC8f.js +10304 -0
- package/components/CashierPage-CefJ-ocg.js +10251 -0
- package/components/CashierPage-D1htTrxx.js +10304 -0
- package/components/CashierPage-DA1UIZ8S.js +10304 -0
- package/components/CashierPage-DDxb0MKa.js +10304 -0
- package/components/CashierPage-Dav0dith.js +10251 -0
- package/components/CashierPage-Ditk0AIr.cjs +23 -0
- package/components/CashierPage-WcM68RV2.js +10251 -0
- package/components/CashierPage-iXK3cQSt.cjs +23 -0
- package/components/CashierReceiptPage-B0JUFD2S.cjs +29 -0
- package/components/CashierReceiptPage-B8Z2MIBL.js +2063 -0
- package/components/CashierReceiptPage-BFGN9mSN.js +2043 -0
- package/components/CashierReceiptPage-BIUhFAGF.js +2063 -0
- package/components/CashierReceiptPage-BItCN-Ho.js +2043 -0
- package/components/CashierReceiptPage-BRRJnEPY.js +2043 -0
- package/components/CashierReceiptPage-BY5K-pb-.js +2063 -0
- package/components/CashierReceiptPage-Bbk02vgF.cjs +29 -0
- package/components/CashierReceiptPage-BwxezsZt.js +2043 -0
- package/components/CashierReceiptPage-Cce54jka.cjs +29 -0
- package/components/CashierReceiptPage-M-ZC6CP_.js +2063 -0
- package/components/CashierReceiptPage-v1DECVU-.cjs +29 -0
- package/components/CashierSessionExpirationModal-BK2_wm99.cjs +2 -0
- package/components/CashierSessionExpirationModal-BShnnd_h.js +1212 -0
- package/components/CashierSessionExpirationModal-BWNXPWxc.js +1212 -0
- package/components/CashierSessionExpirationModal-CLxmnB3R.js +1212 -0
- package/components/CashierSessionExpirationModal-CSMPQDFH.cjs +2 -0
- package/components/CashierSessionExpirationModal-Comz8M40.cjs +2 -0
- package/components/CashierSessionExpirationModal-D0BpNBmZ.js +1212 -0
- package/components/CashierSessionExpirationModal-D1pgZ4Hb.js +1212 -0
- package/components/CashierSessionExpirationModal-DjUO431d.cjs +2 -0
- package/components/CashierSessionExpirationModal-DqSIsJxv.js +1212 -0
- package/components/CashierSessionExpirationModal-DukMm7cR.js +1212 -0
- package/components/CashierSessionExpirationModal-oBtX4-uP.js +1212 -0
- package/components/CashierSpinner-BJnp0qhe.js +79 -0
- package/components/CashierSpinner-BbF9Pu3y.cjs +1 -0
- package/components/CashierSpinner-BwEdDRlw.js +79 -0
- package/components/CashierSpinner-CPS-fbCS.cjs +1 -0
- package/components/CashierSpinner-CijlQ7Jb.js +79 -0
- package/components/CashierSpinner-Cp08TAwN.cjs +1 -0
- package/components/CashierSpinner-CrFft3Sn.cjs +1 -0
- package/components/CashierSpinner-CtI4X8lZ.js +79 -0
- package/components/CashierSpinner-D-uLFs59.js +79 -0
- package/components/CashierSpinner-D6_uiSDw.js +79 -0
- package/components/CashierSpinner-HGOslVca.js +79 -0
- package/components/CashierSpinner-iQ3LWBE8.js +79 -0
- package/components/CashierStepUp-B5SFdX4c.js +1161 -0
- package/components/CashierStepUp-B8jEpfpI.cjs +1 -0
- package/components/CashierStepUp-BA1TZFgZ.cjs +1 -0
- package/components/CashierStepUp-BbuAT98T.js +1161 -0
- package/components/CashierStepUp-BrKQHB8z.js +1200 -0
- package/components/CashierStepUp-Cuw-UFB4.js +1200 -0
- package/components/CashierStepUp-CxYfVJbG.js +1161 -0
- package/components/CashierStepUp-Db-BT4Wt.js +1200 -0
- package/components/CashierStepUp-DgIrjq3H.js +1200 -0
- package/components/CashierStepUp-Dmu5H4_4.cjs +1 -0
- package/components/CashierStepUp-DrhTGMAU.js +1161 -0
- package/components/CashierStepUp-DwDnE54o.cjs +1 -0
- package/components/CashierTransactionHistory-8Ijjq6-a.cjs +1 -0
- package/components/CashierTransactionHistory-B6EZhgfX.js +1415 -0
- package/components/CashierTransactionHistory-BGaRKnAl.js +1415 -0
- package/components/CashierTransactionHistory-Brkk9hj3.cjs +1 -0
- package/components/CashierTransactionHistory-C1n-D4Wb.js +1415 -0
- package/components/CashierTransactionHistory-CGxJcTl5.cjs +1 -0
- package/components/CashierTransactionHistory-CdC-Ml8p.js +1415 -0
- package/components/CashierTransactionHistory-CjRne0U9.js +1415 -0
- package/components/CashierTransactionHistory-CzZswOtC.js +1415 -0
- package/components/CashierTransactionHistory-D6IaNMgy.js +1415 -0
- package/components/CashierTransactionHistory-DYKLHPml.cjs +1 -0
- package/components/CashierTransactionHistory-DtsTfXjZ.js +1415 -0
- package/components/CashierVerifications-BDgGTdjX.js +696 -0
- package/components/CashierVerifications-BKoNok_b.js +700 -0
- package/components/CashierVerifications-BRTvf5t4.js +696 -0
- package/components/CashierVerifications-BU-pPwnt.js +696 -0
- package/components/CashierVerifications-BdgCPyvj.cjs +1 -0
- package/components/CashierVerifications-Bu_4fcwt.cjs +1 -0
- package/components/CashierVerifications-C2sK0JMU.cjs +1 -0
- package/components/CashierVerifications-CHcdLAGz.cjs +1 -0
- package/components/CashierVerifications-CMynKu53.js +696 -0
- package/components/CashierVerifications-C_sQECJN.js +700 -0
- package/components/CashierVerifications-CrLvzaUH.js +700 -0
- package/components/CashierVerifications-DtoCEJ_H.js +700 -0
- package/components/TxnStatusIcon-5dGHqNJj.js +142 -0
- package/components/TxnStatusIcon-B3gjjhUj.js +142 -0
- package/components/TxnStatusIcon-BAWpcB0g.js +142 -0
- package/components/TxnStatusIcon-CltqIISZ.js +142 -0
- package/components/TxnStatusIcon-D-oJwJ2f.js +142 -0
- package/components/TxnStatusIcon-D-vBlig8.js +142 -0
- package/components/TxnStatusIcon-D77NSDRc.js +142 -0
- package/components/TxnStatusIcon-D8rS44nE.cjs +1 -0
- package/components/TxnStatusIcon-De9rtFVI.cjs +1 -0
- package/components/TxnStatusIcon-Jv2ynILA.js +142 -0
- package/components/TxnStatusIcon-KsibSvGt.cjs +1 -0
- package/components/TxnStatusIcon-WGZKBMbi.cjs +1 -0
- package/components/TxnTypeIcons-B8JYAm1N.js +101 -0
- package/components/TxnTypeIcons-BAu7ZXcx.js +101 -0
- package/components/TxnTypeIcons-BC2MMQk1.cjs +1 -0
- package/components/TxnTypeIcons-BTTcl99h.js +101 -0
- package/components/TxnTypeIcons-C1PPXlv0.js +101 -0
- package/components/TxnTypeIcons-CQ2NkaXf.cjs +1 -0
- package/components/TxnTypeIcons-DBLDYLhO.js +101 -0
- package/components/TxnTypeIcons-DHDq_jkt.cjs +1 -0
- package/components/TxnTypeIcons-DsBV_auh.js +101 -0
- package/components/TxnTypeIcons-H_ILduEQ.js +101 -0
- package/components/TxnTypeIcons-OBZcuGyc.cjs +1 -0
- package/components/TxnTypeIcons-jcfxBCN0.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +14 -0
- package/package.json +10 -15
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
- package/stencil/index-b2193545-CF_fVoFe.js +519 -0
- package/stencil/index-b2193545-DfttkCgg.js +503 -0
- package/stencil/ui-image-BsYHwNhO.js +7 -0
- package/stencil/ui-image-CNaRr0ax.js +25 -0
- package/stencil/ui-image-IJc7Zz_R.cjs +1 -0
- package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +39 -0
- package/stencil/ui-image-b7b48fe5-HA45CrsG.js +39 -0
- package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +1 -0
- package/stencil/ui-image_2-CmVho0dS.js +157 -0
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/ui-image_2-Daq38JGa.js +157 -0
- package/stencil/ui-skeleton-B9YTz-WD.js +29 -0
- package/stencil/ui-skeleton-CQ-FgYMx.js +11 -0
- package/stencil/ui-skeleton-UxIIZ8UD.cjs +1 -0
- package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
- package/stencil/ui-skeleton-ed169f8f-BMrkXoR5.js +155 -0
- package/stencil/ui-skeleton-ed169f8f-BNn31z1X.js +155 -0
- package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
- package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
- package/components/CashierError-B6IaVYAb.cjs +0 -5
- package/components/CashierError-B6Kgc33u.js +0 -3759
- package/components/CashierHeader-DisTPfvX.js +0 -394
- package/components/CashierHeader-iNNp6cpC.cjs +0 -1
- package/components/CashierIframeRedirect-DkJY9SOb.js +0 -375
- package/components/CashierIframeRedirect-schHNvai.cjs +0 -1
- package/components/CashierMethodDetails-BSTbYrHT.js +0 -8164
- package/components/CashierMethodDetails-BjsnmtMr.cjs +0 -18
- package/components/CashierMethodsList-C75jsuOd.cjs +0 -1
- package/components/CashierMethodsList-CmTYla6n.js +0 -661
- package/components/CashierModal-FkJdngyj.cjs +0 -1
- package/components/CashierModal-XEf2DPsH.js +0 -232
- package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
- package/components/CashierPage-DiyftSnl.cjs +0 -1
- package/components/CashierPage-aTsZIWLP.js +0 -2001
- package/components/CashierReceiptPage-BLPzX5RM.cjs +0 -1
- package/components/CashierReceiptPage-BMbXsPzB.js +0 -1092
- package/components/CashierSessionExpirationModal-HOfAhCNe.js +0 -1174
- package/components/CashierSessionExpirationModal-q87nskSB.cjs +0 -2
- package/components/CashierSpinner-CQi2Ol7j.js +0 -71
- package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
- package/components/CashierVerifications-BVBxmsiH.cjs +0 -1
- package/components/CashierVerifications-DE4G3q6t.js +0 -617
- package/components/CashierVideoModal-DlhKKfRC.js +0 -191
- package/components/CashierVideoModal-DyD6vHBh.cjs +0 -1
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
import { S as U, b as q, f as C, c as Z, a as F, d as P, g as p, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-Bho8FqJK.js";
|
|
2
|
-
import { a as J, i as K, $ as Q } from "./CashierError-B6Kgc33u.js";
|
|
3
|
-
if (typeof window != "undefined") {
|
|
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-DisTPfvX.js").then(({ default: e }) => {
|
|
16
|
-
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
if (typeof window != "undefined") {
|
|
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-CQi2Ol7j.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
|
-
};
|
|
57
|
-
function W(i) {
|
|
58
|
-
P(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}");
|
|
59
|
-
}
|
|
60
|
-
function D(i) {
|
|
61
|
-
let e, t, l;
|
|
62
|
-
return {
|
|
63
|
-
c() {
|
|
64
|
-
e = p("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");
|
|
65
|
-
},
|
|
66
|
-
m(u, h) {
|
|
67
|
-
k(u, e, h), t || (l = M(
|
|
68
|
-
e,
|
|
69
|
-
"click",
|
|
70
|
-
/*close*/
|
|
71
|
-
i[9]
|
|
72
|
-
), t = !0);
|
|
73
|
-
},
|
|
74
|
-
p: v,
|
|
75
|
-
d(u) {
|
|
76
|
-
u && E(e), t = !1, l();
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function j(i) {
|
|
81
|
-
let e, t, l;
|
|
82
|
-
return {
|
|
83
|
-
c() {
|
|
84
|
-
e = p("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");
|
|
85
|
-
},
|
|
86
|
-
m(u, h) {
|
|
87
|
-
k(u, e, h), t || (l = M(
|
|
88
|
-
e,
|
|
89
|
-
"click",
|
|
90
|
-
/*close*/
|
|
91
|
-
i[9]
|
|
92
|
-
), t = !0);
|
|
93
|
-
},
|
|
94
|
-
p: v,
|
|
95
|
-
d(u) {
|
|
96
|
-
u && E(e), t = !1, l();
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
function I(i) {
|
|
101
|
-
let e;
|
|
102
|
-
return {
|
|
103
|
-
c() {
|
|
104
|
-
e = p("cashier-spinner"), c(
|
|
105
|
-
e,
|
|
106
|
-
"clientstylingurl",
|
|
107
|
-
/*clientstylingurl*/
|
|
108
|
-
i[5]
|
|
109
|
-
), c(
|
|
110
|
-
e,
|
|
111
|
-
"clientstyling",
|
|
112
|
-
/*clientstyling*/
|
|
113
|
-
i[4]
|
|
114
|
-
);
|
|
115
|
-
},
|
|
116
|
-
m(t, l) {
|
|
117
|
-
k(t, e, l);
|
|
118
|
-
},
|
|
119
|
-
p(t, l) {
|
|
120
|
-
l & /*clientstylingurl*/
|
|
121
|
-
32 && c(
|
|
122
|
-
e,
|
|
123
|
-
"clientstylingurl",
|
|
124
|
-
/*clientstylingurl*/
|
|
125
|
-
t[5]
|
|
126
|
-
), l & /*clientstyling*/
|
|
127
|
-
16 && c(
|
|
128
|
-
e,
|
|
129
|
-
"clientstyling",
|
|
130
|
-
/*clientstyling*/
|
|
131
|
-
t[4]
|
|
132
|
-
);
|
|
133
|
-
},
|
|
134
|
-
d(t) {
|
|
135
|
-
t && E(e);
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function X(i) {
|
|
140
|
-
let e, t, l, u, h, d, g, w, _, a = !!/*showbackbutton*/
|
|
141
|
-
i[3] && /*showbackbutton*/
|
|
142
|
-
i[3] !== "false" && D(i), r = (!/*showbackbutton*/
|
|
143
|
-
i[3] || /*showbackbutton*/
|
|
144
|
-
i[3] === "false") && j(i), o = (
|
|
145
|
-
/*isLoading*/
|
|
146
|
-
i[8] && I(i)
|
|
147
|
-
);
|
|
148
|
-
return {
|
|
149
|
-
c() {
|
|
150
|
-
e = p("div"), t = p("cashier-header"), a && a.c(), l = H(), r && r.c(), u = H(), o && o.c(), h = H(), d = p("iframe"), c(
|
|
151
|
-
t,
|
|
152
|
-
"lang",
|
|
153
|
-
/*lang*/
|
|
154
|
-
i[0]
|
|
155
|
-
), c(
|
|
156
|
-
t,
|
|
157
|
-
"translationurl",
|
|
158
|
-
/*translationurl*/
|
|
159
|
-
i[2]
|
|
160
|
-
), c(
|
|
161
|
-
t,
|
|
162
|
-
"title",
|
|
163
|
-
/*title*/
|
|
164
|
-
i[6]
|
|
165
|
-
), c(
|
|
166
|
-
t,
|
|
167
|
-
"showbackbutton",
|
|
168
|
-
/*showbackbutton*/
|
|
169
|
-
i[3]
|
|
170
|
-
), c(
|
|
171
|
-
t,
|
|
172
|
-
"clientstylingurl",
|
|
173
|
-
/*clientstylingurl*/
|
|
174
|
-
i[5]
|
|
175
|
-
), c(
|
|
176
|
-
t,
|
|
177
|
-
"clientstyling",
|
|
178
|
-
/*clientstyling*/
|
|
179
|
-
i[4]
|
|
180
|
-
), R(d.src, g = /*iframeurl*/
|
|
181
|
-
i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
|
|
182
|
-
},
|
|
183
|
-
m(s, f) {
|
|
184
|
-
k(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 || (_ = M(
|
|
185
|
-
d,
|
|
186
|
-
"load",
|
|
187
|
-
/*load_handler*/
|
|
188
|
-
i[11]
|
|
189
|
-
), w = !0);
|
|
190
|
-
},
|
|
191
|
-
p(s, [f]) {
|
|
192
|
-
/*showbackbutton*/
|
|
193
|
-
s[3] && /*showbackbutton*/
|
|
194
|
-
s[3] !== "false" ? a ? a.p(s, f) : (a = D(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
|
|
195
|
-
s[3] || /*showbackbutton*/
|
|
196
|
-
s[3] === "false" ? r ? r.p(s, f) : (r = j(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
|
|
197
|
-
1 && c(
|
|
198
|
-
t,
|
|
199
|
-
"lang",
|
|
200
|
-
/*lang*/
|
|
201
|
-
s[0]
|
|
202
|
-
), f & /*translationurl*/
|
|
203
|
-
4 && c(
|
|
204
|
-
t,
|
|
205
|
-
"translationurl",
|
|
206
|
-
/*translationurl*/
|
|
207
|
-
s[2]
|
|
208
|
-
), f & /*title*/
|
|
209
|
-
64 && c(
|
|
210
|
-
t,
|
|
211
|
-
"title",
|
|
212
|
-
/*title*/
|
|
213
|
-
s[6]
|
|
214
|
-
), f & /*showbackbutton*/
|
|
215
|
-
8 && c(
|
|
216
|
-
t,
|
|
217
|
-
"showbackbutton",
|
|
218
|
-
/*showbackbutton*/
|
|
219
|
-
s[3]
|
|
220
|
-
), f & /*clientstylingurl*/
|
|
221
|
-
32 && c(
|
|
222
|
-
t,
|
|
223
|
-
"clientstylingurl",
|
|
224
|
-
/*clientstylingurl*/
|
|
225
|
-
s[5]
|
|
226
|
-
), f & /*clientstyling*/
|
|
227
|
-
16 && c(
|
|
228
|
-
t,
|
|
229
|
-
"clientstyling",
|
|
230
|
-
/*clientstyling*/
|
|
231
|
-
s[4]
|
|
232
|
-
), /*isLoading*/
|
|
233
|
-
s[8] ? o ? o.p(s, f) : (o = I(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
|
|
234
|
-
2 && !R(d.src, g = /*iframeurl*/
|
|
235
|
-
s[1]) && b(d, "src", g);
|
|
236
|
-
},
|
|
237
|
-
i: v,
|
|
238
|
-
o: v,
|
|
239
|
-
d(s) {
|
|
240
|
-
s && E(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
function Y(i, e, t) {
|
|
245
|
-
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;
|
|
246
|
-
const o = () => {
|
|
247
|
-
let n = h;
|
|
248
|
-
if (n)
|
|
249
|
-
return fetch(n).then((m) => m.json()).then((m) => {
|
|
250
|
-
Object.keys(m).forEach((y) => {
|
|
251
|
-
T(y, m[y]);
|
|
252
|
-
});
|
|
253
|
-
}).catch((m) => {
|
|
254
|
-
console.log(m);
|
|
255
|
-
});
|
|
256
|
-
};
|
|
257
|
-
Object.keys(S).forEach((n) => {
|
|
258
|
-
T(n, S[n]);
|
|
259
|
-
});
|
|
260
|
-
const s = () => {
|
|
261
|
-
V(l);
|
|
262
|
-
}, f = () => {
|
|
263
|
-
let n = document.createElement("style");
|
|
264
|
-
n.innerHTML = g, r.appendChild(n);
|
|
265
|
-
}, O = () => {
|
|
266
|
-
let n = new URL(w), m = document.createElement("style");
|
|
267
|
-
fetch(n.href).then((y) => y.text()).then((y) => {
|
|
268
|
-
m.innerHTML = y, setTimeout(
|
|
269
|
-
() => {
|
|
270
|
-
r.appendChild(m);
|
|
271
|
-
},
|
|
272
|
-
1
|
|
273
|
-
);
|
|
274
|
-
});
|
|
275
|
-
}, A = () => {
|
|
276
|
-
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
277
|
-
}, B = (n) => {
|
|
278
|
-
n.target.src && t(8, a = !1);
|
|
279
|
-
}, z = (n) => B(n);
|
|
280
|
-
function N(n) {
|
|
281
|
-
G[n ? "unshift" : "push"](() => {
|
|
282
|
-
r = n, t(7, r);
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
return i.$$set = (n) => {
|
|
286
|
-
"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);
|
|
287
|
-
}, i.$$.update = () => {
|
|
288
|
-
i.$$.dirty & /*lang*/
|
|
289
|
-
1 && l && s(), i.$$.dirty & /*translationurl*/
|
|
290
|
-
4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
291
|
-
144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
292
|
-
160 && w && r && O();
|
|
293
|
-
}, [
|
|
294
|
-
l,
|
|
295
|
-
u,
|
|
296
|
-
h,
|
|
297
|
-
d,
|
|
298
|
-
g,
|
|
299
|
-
w,
|
|
300
|
-
_,
|
|
301
|
-
r,
|
|
302
|
-
a,
|
|
303
|
-
A,
|
|
304
|
-
B,
|
|
305
|
-
z,
|
|
306
|
-
N
|
|
307
|
-
];
|
|
308
|
-
}
|
|
309
|
-
class x extends U {
|
|
310
|
-
constructor(e) {
|
|
311
|
-
super(), q(
|
|
312
|
-
this,
|
|
313
|
-
e,
|
|
314
|
-
Y,
|
|
315
|
-
X,
|
|
316
|
-
F,
|
|
317
|
-
{
|
|
318
|
-
lang: 0,
|
|
319
|
-
iframeurl: 1,
|
|
320
|
-
translationurl: 2,
|
|
321
|
-
showbackbutton: 3,
|
|
322
|
-
clientstyling: 4,
|
|
323
|
-
clientstylingurl: 5,
|
|
324
|
-
title: 6
|
|
325
|
-
},
|
|
326
|
-
W
|
|
327
|
-
);
|
|
328
|
-
}
|
|
329
|
-
get lang() {
|
|
330
|
-
return this.$$.ctx[0];
|
|
331
|
-
}
|
|
332
|
-
set lang(e) {
|
|
333
|
-
this.$$set({ lang: e }), C();
|
|
334
|
-
}
|
|
335
|
-
get iframeurl() {
|
|
336
|
-
return this.$$.ctx[1];
|
|
337
|
-
}
|
|
338
|
-
set iframeurl(e) {
|
|
339
|
-
this.$$set({ iframeurl: e }), C();
|
|
340
|
-
}
|
|
341
|
-
get translationurl() {
|
|
342
|
-
return this.$$.ctx[2];
|
|
343
|
-
}
|
|
344
|
-
set translationurl(e) {
|
|
345
|
-
this.$$set({ translationurl: e }), C();
|
|
346
|
-
}
|
|
347
|
-
get showbackbutton() {
|
|
348
|
-
return this.$$.ctx[3];
|
|
349
|
-
}
|
|
350
|
-
set showbackbutton(e) {
|
|
351
|
-
this.$$set({ showbackbutton: e }), C();
|
|
352
|
-
}
|
|
353
|
-
get clientstyling() {
|
|
354
|
-
return this.$$.ctx[4];
|
|
355
|
-
}
|
|
356
|
-
set clientstyling(e) {
|
|
357
|
-
this.$$set({ clientstyling: e }), C();
|
|
358
|
-
}
|
|
359
|
-
get clientstylingurl() {
|
|
360
|
-
return this.$$.ctx[5];
|
|
361
|
-
}
|
|
362
|
-
set clientstylingurl(e) {
|
|
363
|
-
this.$$set({ clientstylingurl: e }), C();
|
|
364
|
-
}
|
|
365
|
-
get title() {
|
|
366
|
-
return this.$$.ctx[6];
|
|
367
|
-
}
|
|
368
|
-
set title(e) {
|
|
369
|
-
this.$$set({ title: e }), C();
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
Z(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
373
|
-
export {
|
|
374
|
-
x as default
|
|
375
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-KmRU3Mgr.cjs"),C=require("./CashierError-B6IaVYAb.cjs");if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-iNNp6cpC.cjs")).then(({default:e})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",e.element)})}if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-CySOWnIQ.cjs")).then(({default:e})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",e.element)})}function y(i,e){C.addMessages(i,e)}function S(i){C.init({fallbackLocale:"en"}),C.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"}};function q(i){t.append_styles(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}")}function v(i){let e,n,s;return{c(){e=t.element("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>',t.attr(e,"slot","leftButton"),t.attr(e,"class","CashierHeaderLeftButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function k(i){let e,n,s;return{c(){e=t.element("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>',t.attr(e,"slot","rightButton"),t.attr(e,"class","CashierHeaderRightButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function E(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[5]),t.set_custom_element_data(e,"clientstyling",i[4])},m(n,s){t.insert(n,e,s)},p(n,s){s&32&&t.set_custom_element_data(e,"clientstylingurl",n[5]),s&16&&t.set_custom_element_data(e,"clientstyling",n[4])},d(n){n&&t.detach(e)}}}function O(i){let e,n,s,f,m,d,g,_,w,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[8]&&E(i);return{c(){e=t.element("div"),n=t.element("cashier-header"),o&&o.c(),s=t.space(),a&&a.c(),f=t.space(),c&&c.c(),m=t.space(),d=t.element("iframe"),t.set_custom_element_data(n,"lang",i[0]),t.set_custom_element_data(n,"translationurl",i[2]),t.set_custom_element_data(n,"title",i[6]),t.set_custom_element_data(n,"showbackbutton",i[3]),t.set_custom_element_data(n,"clientstylingurl",i[5]),t.set_custom_element_data(n,"clientstyling",i[4]),t.src_url_equal(d.src,g=i[1])||t.attr(d,"src",g),t.attr(d,"frameborder","0"),t.attr(e,"class","CashierRedirectIframe")},m(r,u){t.insert(r,e,u),t.append(e,n),o&&o.m(n,null),t.append(n,s),a&&a.m(n,null),t.append(e,f),c&&c.m(e,null),t.append(e,m),t.append(e,d),i[12](e),_||(w=t.listen(d,"load",i[11]),_=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&t.set_custom_element_data(n,"lang",r[0]),u&4&&t.set_custom_element_data(n,"translationurl",r[2]),u&64&&t.set_custom_element_data(n,"title",r[6]),u&8&&t.set_custom_element_data(n,"showbackbutton",r[3]),u&32&&t.set_custom_element_data(n,"clientstylingurl",r[5]),u&16&&t.set_custom_element_data(n,"clientstyling",r[4]),r[8]?c?c.p(r,u):(c=E(r),c.c(),c.m(e,m)):c&&(c.d(1),c=null),u&2&&!t.src_url_equal(d.src,g=r[1])&&t.attr(d,"src",g)},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o&&o.d(),a&&a.d(),c&&c.d(),i[12](null),_=!1,w()}}}function j(i,e,n){let{lang:s="en"}=e,{iframeurl:f}=e,{translationurl:m=""}=e,{showbackbutton:d=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{title:w=""}=e,o=!0,a;const c=()=>{let l=m;if(l)return fetch(l).then(h=>h.json()).then(h=>{Object.keys(h).forEach(p=>{y(p,h[p])})}).catch(h=>{console.log(h)})};Object.keys(L).forEach(l=>{y(l,L[l])});const r=()=>{S(s)},u=()=>{let l=document.createElement("style");l.innerHTML=g,a.appendChild(l)},M=()=>{let l=new URL(_),h=document.createElement("style");fetch(l.href).then(p=>p.text()).then(p=>{h.innerHTML=p,setTimeout(()=>{a.appendChild(h)},1)})},B=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},b=l=>{l.target.src&&n(8,o=!1)},R=l=>b(l);function T(l){t.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(7,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=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),"clientstyling"in l&&n(4,g=l.clientstyling),"clientstylingurl"in l&&n(5,_=l.clientstylingurl),"title"in l&&n(6,w=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&r(),i.$$.dirty&4&&m&&c(),i.$$.dirty&144&&g&&a&&u(),i.$$.dirty&160&&_&&a&&M()},[s,f,m,d,g,_,w,a,o,B,b,R,T]}class H extends t.SvelteComponent{constructor(e){super(),t.init(this,e,j,O,t.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,clientstyling:4,clientstylingurl:5,title:6},q)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(e){this.$$set({iframeurl:e}),t.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get title(){return this.$$.ctx[6]}set title(e){this.$$set({title:e}),t.flush()}}t.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|