@everymatrix/cashier-page 1.63.2 → 1.64.0
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/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
- package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
- package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
- package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
- package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
- package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
- package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
- package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
- package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
- package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
- package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
- package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
- package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
- package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
- package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
- package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
- package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
- package/components/CashierMethodsList-CmF_WTB-.js +871 -0
- package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
- package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
- package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
- package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
- package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
- package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
- package/components/CashierPage-B453tZx8.cjs +1 -0
- package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
- package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
- package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
- package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
- package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
- package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
- package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
- package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
- package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
- package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
- package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
- package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
- package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
- package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
- package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
- package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
- package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
- package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
- package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
- 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/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
- package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
- package/components/CashierMethodsList-C0IZmP3U.js +0 -760
- package/components/CashierMethodsList-DfKVl2ns.js +0 -749
- package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
- package/components/CashierPage-DuVl1Vzu.cjs +0 -1
- package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
- package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
|
@@ -1,749 +0,0 @@
|
|
|
1
|
-
import { S as D2, b as S2, s as Z2, f as S, c as x2, n as t2, e as T, l as P, p as E, w as A2, v as T2, Q as P2, H as F2, C as b, o as g, K as n2, L as H2, m as p, q as f, x, y as A, z as N2, r as U2, B as q, J as Q, A as s2, E as B2 } from "./CashierConfirmModal-D-5CwHBA.js";
|
|
2
|
-
import { a as z2, i as O2, $ as j2, b as W2 } from "./CashierError-7Ot8GFHL.js";
|
|
3
|
-
import { d as a2, u as G2 } from "./CashierMethodDetails-jk5GNqET.js";
|
|
4
|
-
function r2(t, e) {
|
|
5
|
-
z2(t, e);
|
|
6
|
-
}
|
|
7
|
-
function I2(t) {
|
|
8
|
-
O2({
|
|
9
|
-
fallbackLocale: "en"
|
|
10
|
-
}), j2.set(t);
|
|
11
|
-
}
|
|
12
|
-
const c2 = {
|
|
13
|
-
en: {
|
|
14
|
-
generalMin: "Min",
|
|
15
|
-
generalMax: "Max",
|
|
16
|
-
showAll: "SHOW ALL",
|
|
17
|
-
showLess: "SHOW LESS",
|
|
18
|
-
error: "Error",
|
|
19
|
-
noPaymentMethods: "No payment methods available"
|
|
20
|
-
},
|
|
21
|
-
uk: {
|
|
22
|
-
generalMin: "Мін",
|
|
23
|
-
generalMax: "Макс"
|
|
24
|
-
},
|
|
25
|
-
hr: {
|
|
26
|
-
generalMin: "Minimalno",
|
|
27
|
-
generalMax: "Maksimalno",
|
|
28
|
-
showAll: "Prikaži sve",
|
|
29
|
-
showLess: "Prikaži manje"
|
|
30
|
-
},
|
|
31
|
-
tr: {
|
|
32
|
-
generalMin: "Min",
|
|
33
|
-
generalMax: "Maks",
|
|
34
|
-
showAll: "HEPSİNİ GÖSTER",
|
|
35
|
-
showLess: "DAHA AZ GÖSTER",
|
|
36
|
-
error: "Hata",
|
|
37
|
-
noPaymentMethods: "Hiçbir ödeme yöntemi mevcut değil"
|
|
38
|
-
},
|
|
39
|
-
"en-us": {
|
|
40
|
-
generalMin: "Min",
|
|
41
|
-
generalMax: "Max",
|
|
42
|
-
showAll: "SHOW ALL",
|
|
43
|
-
showLess: "SHOW LESS"
|
|
44
|
-
}
|
|
45
|
-
}, R2 = "data:image/svg+xml,%3csvg%20width='337'%20height='182'%20viewBox='0%200%20337%20182'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3810_1046)'%3e%3cmask%20id='mask0_3810_1046'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='337'%20height='182'%3e%3cpath%20d='M337%200H0V182H337V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3810_1046)'%3e%3cpath%20opacity='0.16'%20d='M309.269%20229.727C361.939%20177.104%20362.219%2092.0651%20309.895%2039.7875C257.571%20-12.49%20172.456%20-12.21%20119.786%2040.413C67.1163%2093.0359%2066.836%20178.075%20119.16%20230.352C171.484%20282.63%20256.599%20282.35%20309.269%20229.727Z'%20fill='url(%23paint0_linear_3810_1046)'/%3e%3cpath%20d='M306.91%2085.1765C306.739%2085.2338%20302.567%2086.122%20302.567%2086.122L303.5%2091.4846C303.248%2093.837%20303.341%2096.6725%20303.844%2099.6755C304.373%20102.836%20305.272%20105.672%20306.347%20107.862L307.255%20113.083C307.255%20113.083%20311.566%20111.854%20311.731%20111.798C314.285%20110.94%20315.276%20104.285%20313.945%2096.9328C312.614%2089.5809%20309.464%2084.317%20306.91%2085.1751V85.1765Z'%20fill='%23EFED85'/%3e%3cpath%20d='M306.685%20113.272C309.314%20112.85%20310.469%20106.436%20309.264%2098.9468C308.06%2091.4575%20304.952%2085.7283%20302.323%2086.1504C299.695%2086.5724%20298.54%2092.9859%20299.745%20100.475C300.949%20107.965%20304.057%20113.694%20306.685%20113.272Z'%20fill='white'/%3e%3cpath%20d='M305.827%20108.917C307.296%20108.672%20307.819%20104.485%20306.996%2099.565C306.173%2094.6451%20304.315%2090.8556%20302.847%2091.1009C301.378%2091.3461%20300.855%2095.5332%20301.678%20100.453C302.501%20105.373%20304.359%20109.162%20305.827%20108.917Z'%20fill='%23F4F3AC'/%3e%3cpath%20d='M304.62%20105.084L304.075%20103.589C303.619%20102.177%20303.262%20101.098%20302.642%20100.459L302.04%2099.8406L302.288%2099.5744C302.849%2098.9733%20303.198%2097.6789%20303.232%2095.9681L303.248%2095.1577L303.659%2096.3726C304.164%2097.8677%20304.895%2099.1162%20305.724%2099.851L306.266%20100.447L305.602%20100.9C304.866%20101.503%20304.705%20102.631%20304.648%20104.26L304.619%20105.084H304.62Z'%20fill='white'/%3e%3cpath%20opacity='0.72'%20d='M200.267%20126.95L215.345%20130.531L220.921%20107.008L213.789%20105.314L200.267%20126.95Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M206.435%2099.1181L221.513%20102.699L227.089%2079.1759L219.957%2077.4819L206.435%2099.1181Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M264.663%2061.4345L235.427%2055.1773L236.027%2047.2476L267.382%2054.2159L264.663%2061.4345Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M267.172%2054.3082L236.177%2047.334L241.326%2039.9707L265.402%2045.3879L267.172%2054.3082Z'%20fill='%23E5E8EB'/%3e%3cpath%20opacity='0.72'%20d='M255.482%20116.025L251.839%20139.685L247.535%20137.953L251.822%20114.85L255.482%20116.025ZM259.581%2088.2698L254.196%20110.232L256.849%20111.475L262.769%2088.2698H259.581ZM269.145%2060.0598L265.72%2059.8086L260.923%2082.2169L263.224%2083.7198L269.145%2060.0598Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M226.752%2081.0609L226.682%2081.044L219.685%20110.601L219.612%20110.584L213.828%20135.857L218.236%20138.931L240.91%20144.235L246.268%20142.965L251.838%20118.626L251.91%20118.643L258.982%2088.7745L259.052%2088.7913L266.134%2058.8773L233.824%2051.1924L226.752%2081.0609Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M227.064%2079.4609L226.994%2079.444L220.404%20107.182L220.33%20107.165L213.535%20135.791L246.258%20142.963L252.849%20115.225L252.923%20115.242L259.583%2087.2109L259.653%2087.2277L266.323%2059.1542L233.724%2051.4297L227.064%2079.4609Z'%20fill='white'/%3e%3cpath%20d='M226.947%2079.7684L226.879%2079.7525L220.297%20107.492L220.225%20107.476L213.438%20136.104L245.311%20143.084L251.893%20115.344L251.965%20115.361L258.617%2087.3278L258.685%2087.3441L265.347%2059.2688L233.599%2051.7358L226.947%2079.7684Z'%20fill='white'/%3e%3cpath%20opacity='0.5'%20d='M226.961%2079.7714L226.892%2079.755L220.304%20107.494L220.23%20107.476L213.438%20136.104L245.879%20143.212L252.467%20115.473L252.54%20115.49L259.197%2087.4582L259.267%2087.4745L265.934%2059.4006L233.618%2051.7397L226.961%2079.7714Z'%20fill='url(%23paint1_linear_3810_1046)'/%3e%3cpath%20opacity='0.72'%20d='M213.147%2071.0995L228.225%2074.6808L233.801%2051.1573L226.67%2049.4634L213.147%2071.0995Z'%20fill='%23335176'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='white'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='url(%23paint2_linear_3810_1046)'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='white'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='url(%23paint3_linear_3810_1046)'/%3e%3cpath%20d='M232.837%20135.937C239.26%20135.937%20244.468%20130.734%20244.468%20124.316C244.468%20117.898%20239.26%20112.695%20232.837%20112.695C226.413%20112.695%20221.205%20117.898%20221.205%20124.316C221.205%20130.734%20226.413%20135.937%20232.837%20135.937Z'%20fill='white'/%3e%3cg%20opacity='0.31'%3e%3cpath%20d='M232.966%20133.318C238.149%20133.318%20242.351%20129.12%20242.351%20123.941C242.351%20118.763%20238.149%20114.564%20232.966%20114.564C227.783%20114.564%20223.581%20118.763%20223.581%20123.941C223.581%20129.12%20227.783%20133.318%20232.966%20133.318Z'%20fill='%237EC51E'/%3e%3c/g%3e%3cpath%20d='M239.767%20108.582C246.191%20108.582%20251.399%20103.379%20251.399%2096.961C251.399%2090.5428%20246.191%2085.3398%20239.767%2085.3398C233.343%2085.3398%20228.136%2090.5428%20228.136%2096.961C228.136%20103.379%20233.343%20108.582%20239.767%20108.582Z'%20fill='white'/%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M239.897%20105.963C245.08%20105.963%20249.282%20101.765%20249.282%2096.5861C249.282%2091.4075%20245.08%2087.2095%20239.897%2087.2095C234.714%2087.2095%20230.512%2091.4075%20230.512%2096.5861C230.512%20101.765%20234.714%20105.963%20239.897%20105.963Z'%20fill='%23EFED85'/%3e%3c/g%3e%3cpath%20d='M247.767%2080.7623C254.191%2080.7623%20259.399%2075.5594%20259.399%2069.1412C259.399%2062.723%20254.191%2057.52%20247.767%2057.52C241.343%2057.52%20236.136%2062.723%20236.136%2069.1412C236.136%2075.5594%20241.343%2080.7623%20247.767%2080.7623Z'%20fill='white'/%3e%3cg%20opacity='0.47'%3e%3cpath%20d='M248.022%2085.2495C256.699%2085.2495%20263.734%2078.2215%20263.734%2069.552C263.734%2060.8825%20256.699%2053.8545%20248.022%2053.8545C239.345%2053.8545%20232.311%2060.8825%20232.311%2069.552C232.311%2078.2215%20239.345%2085.2495%20248.022%2085.2495Z'%20fill='%23FFE5BE'/%3e%3c/g%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M247.472%2080.0554C253.318%2080.0554%20258.057%2075.3206%20258.057%2069.4799C258.057%2063.6391%20253.318%2058.9043%20247.472%2058.9043C241.626%2058.9043%20236.887%2063.6391%20236.887%2069.4799C236.887%2075.3206%20241.626%2080.0554%20247.472%2080.0554Z'%20fill='%23FFA726'/%3e%3c/g%3e%3cpath%20d='M225.426%2037.6665L189.408%2042.7698L187.953%2036.5627L225.233%2031.4321L225.426%2037.6665Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M187.957%2036.5846L190.505%2032.4892L215.212%2028.6162L225.294%2031.3844L187.957%2036.5846Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M201.065%2030.5759L203.025%2034.1504L204.17%2040.6892L211.068%2039.8502L210.023%2033.7673L206.24%2029.731L201.065%2030.5759Z'%20fill='white'/%3e%3cpath%20d='M160.588%2079.8823L165.616%2087.0722L151.713%20102.497L145.829%2096.1782L160.588%2079.8823Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M171.11%20133.02L172.813%20127.332L196.181%20140.808L192.506%20144.839L171.11%20133.02Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M258.894%20156.181L262.412%20148.881L278.337%20162.727L273.605%20168.398L258.894%20156.181Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M207.241%20153.371L212.273%20153.509C212.273%20153.509%20219.934%20160.635%20222.834%20164.031C225.734%20167.426%20229.899%20173.527%20229.899%20173.527L232.334%20181.542L220.067%20166.246L207.241%20153.371Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M227.172%20185.145L215.896%20170.61L202.893%20158.016L207.257%20153.355L220.673%20166.876L232.261%20181.518L227.172%20185.145Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M220.887%20161.734L218.801%20164.233L213.988%20168.822L218.523%20174.095L223.012%20169.843L224.701%20166.281L220.887%20161.734Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3810_1046'%20x1='377.71'%20y1='128.355'%20x2='109.138'%20y2='100.506'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.294'%20stop-color='%237EC51E'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.306'%20stop-color='%237EC51E'%20stop-opacity='0.788'/%3e%3cstop%20offset='0.735'%20stop-color='%237EC51E'%20stop-opacity='0.367'/%3e%3cstop%20offset='0.931'%20stop-color='%237EC51E'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3810_1046'%20x1='222.977'%20y1='93.7971'%20x2='256.48'%20y2='101.349'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D0D2D3'%20stop-opacity='0'/%3e%3cstop%20offset='0.147'%20stop-color='%23CED2D4'%20stop-opacity='0.175'/%3e%3cstop%20offset='0.332'%20stop-color='%23CDD2D5'%20stop-opacity='0.362'/%3e%3cstop%20offset='0.513'%20stop-color='%23CDD2D5'%20stop-opacity='0.51'/%3e%3cstop%20offset='0.688'%20stop-color='%23CCD2D6'%20stop-opacity='0.615'/%3e%3cstop%20offset='0.853'%20stop-color='%23CCD2D6'%20stop-opacity='0.678'/%3e%3cstop%20offset='1'%20stop-color='%23CCD2D7'%20stop-opacity='0.7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3810_1046'%20x1='231.03'%20y1='58.5166'%20x2='200.367'%20y2='123.696'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.25'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.5'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.702'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.83'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3810_1046'%20x1='245.954'%20y1='83.3307'%20x2='285.109'%20y2='122.52'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.207'%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.432'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.656'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.837'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.952'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_3810_1046'%3e%3crect%20width='337'%20height='182'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
46
|
-
function V2(t) {
|
|
47
|
-
x2(t, "svelte-17o07ba", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);position:absolute;bottom:10%;left:5%;width:calc(100% - 125px)}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 4px)}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--mmw--color-grey-290, #666)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{top:50%;left:250px;bottom:auto;transform:translateY(-50%);padding:0 10px 0 5px;width:calc(100% - 250px);margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
|
|
48
|
-
}
|
|
49
|
-
function m2(t, e, s) {
|
|
50
|
-
const l = t.slice();
|
|
51
|
-
return l[48] = e[s], l[50] = s, l;
|
|
52
|
-
}
|
|
53
|
-
function p2(t) {
|
|
54
|
-
let e;
|
|
55
|
-
return {
|
|
56
|
-
c() {
|
|
57
|
-
e = g("cashier-spinner"), b(
|
|
58
|
-
e,
|
|
59
|
-
"clientstylingurl",
|
|
60
|
-
/*clientstylingurl*/
|
|
61
|
-
t[4]
|
|
62
|
-
), b(
|
|
63
|
-
e,
|
|
64
|
-
"clientstyling",
|
|
65
|
-
/*clientstyling*/
|
|
66
|
-
t[3]
|
|
67
|
-
);
|
|
68
|
-
},
|
|
69
|
-
m(s, l) {
|
|
70
|
-
P(s, e, l);
|
|
71
|
-
},
|
|
72
|
-
p(s, l) {
|
|
73
|
-
l[0] & /*clientstylingurl*/
|
|
74
|
-
16 && b(
|
|
75
|
-
e,
|
|
76
|
-
"clientstylingurl",
|
|
77
|
-
/*clientstylingurl*/
|
|
78
|
-
s[4]
|
|
79
|
-
), l[0] & /*clientstyling*/
|
|
80
|
-
8 && b(
|
|
81
|
-
e,
|
|
82
|
-
"clientstyling",
|
|
83
|
-
/*clientstyling*/
|
|
84
|
-
s[3]
|
|
85
|
-
);
|
|
86
|
-
},
|
|
87
|
-
d(s) {
|
|
88
|
-
s && T(e);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
function d2(t) {
|
|
93
|
-
let e, s, l, i, a = n2(
|
|
94
|
-
/*paymentMethodsToShow*/
|
|
95
|
-
t[8]
|
|
96
|
-
), r = [];
|
|
97
|
-
for (let m = 0; m < a.length; m += 1)
|
|
98
|
-
r[m] = f2(m2(t, a, m));
|
|
99
|
-
let n = (
|
|
100
|
-
/*noPaymentMethodsAvailable*/
|
|
101
|
-
t[13] && !/*showSpinner*/
|
|
102
|
-
t[12] && h2(t)
|
|
103
|
-
), c = (
|
|
104
|
-
/*methodsButtonToggleText*/
|
|
105
|
-
t[7] && u2(t)
|
|
106
|
-
);
|
|
107
|
-
return {
|
|
108
|
-
c() {
|
|
109
|
-
e = g("div"), s = g("div");
|
|
110
|
-
for (let m = 0; m < r.length; m += 1)
|
|
111
|
-
r[m].c();
|
|
112
|
-
l = E(), n && n.c(), i = E(), c && c.c(), f(s, "class", "CashierMethodList"), f(e, "class", "CashierMethodListWidget");
|
|
113
|
-
},
|
|
114
|
-
m(m, w) {
|
|
115
|
-
P(m, e, w), p(e, s);
|
|
116
|
-
for (let d = 0; d < r.length; d += 1)
|
|
117
|
-
r[d] && r[d].m(s, null);
|
|
118
|
-
p(s, l), n && n.m(s, null), p(e, i), c && c.m(e, null), t[27](e);
|
|
119
|
-
},
|
|
120
|
-
p(m, w) {
|
|
121
|
-
if (w[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
|
|
122
|
-
115008) {
|
|
123
|
-
a = n2(
|
|
124
|
-
/*paymentMethodsToShow*/
|
|
125
|
-
m[8]
|
|
126
|
-
);
|
|
127
|
-
let d;
|
|
128
|
-
for (d = 0; d < a.length; d += 1) {
|
|
129
|
-
const M = m2(m, a, d);
|
|
130
|
-
r[d] ? r[d].p(M, w) : (r[d] = f2(M), r[d].c(), r[d].m(s, l));
|
|
131
|
-
}
|
|
132
|
-
for (; d < r.length; d += 1)
|
|
133
|
-
r[d].d(1);
|
|
134
|
-
r.length = a.length;
|
|
135
|
-
}
|
|
136
|
-
/*noPaymentMethodsAvailable*/
|
|
137
|
-
m[13] && !/*showSpinner*/
|
|
138
|
-
m[12] ? n ? n.p(m, w) : (n = h2(m), n.c(), n.m(s, null)) : n && (n.d(1), n = null), /*methodsButtonToggleText*/
|
|
139
|
-
m[7] ? c ? c.p(m, w) : (c = u2(m), c.c(), c.m(e, null)) : c && (c.d(1), c = null);
|
|
140
|
-
},
|
|
141
|
-
d(m) {
|
|
142
|
-
m && T(e), H2(r, m), n && n.d(), c && c.d(), t[27](null);
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
function f2(t) {
|
|
147
|
-
let e, s, l, i, a, r, n, c, m = (
|
|
148
|
-
/*payMeth*/
|
|
149
|
-
(t[48].Label || /*payMeth*/
|
|
150
|
-
t[48].Name) + ""
|
|
151
|
-
), w, d, M, C, L = (
|
|
152
|
-
/*$_*/
|
|
153
|
-
t[14]("generalMin") + ""
|
|
154
|
-
), u, y, D = (
|
|
155
|
-
/*formatter*/
|
|
156
|
-
t[15].format(
|
|
157
|
-
/*payMeth*/
|
|
158
|
-
t[48].DisplayCurrency.MinAmountLimit
|
|
159
|
-
) + ""
|
|
160
|
-
), H, N, k = (
|
|
161
|
-
/*payMeth*/
|
|
162
|
-
t[48].DisplayCurrency.Name + ""
|
|
163
|
-
), U, Y, Z, B = (
|
|
164
|
-
/*$_*/
|
|
165
|
-
t[14]("generalMax") + ""
|
|
166
|
-
), z, G, O = (
|
|
167
|
-
/*formatter*/
|
|
168
|
-
t[15].format(
|
|
169
|
-
/*payMeth*/
|
|
170
|
-
t[48].DisplayCurrency.MaxAmountLimit
|
|
171
|
-
) + ""
|
|
172
|
-
), j, J, I = (
|
|
173
|
-
/*payMeth*/
|
|
174
|
-
t[48].DisplayCurrency.Name + ""
|
|
175
|
-
), R, V, X;
|
|
176
|
-
function K() {
|
|
177
|
-
return (
|
|
178
|
-
/*click_handler*/
|
|
179
|
-
t[25](
|
|
180
|
-
/*payMeth*/
|
|
181
|
-
t[48]
|
|
182
|
-
)
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
return {
|
|
186
|
-
c() {
|
|
187
|
-
e = g("div"), s = g("div"), l = g("img"), r = E(), n = g("div"), c = g("span"), w = A(m), d = E(), M = g("div"), C = g("span"), u = A(L), y = E(), H = A(D), N = E(), U = A(k), Y = E(), Z = g("span"), z = A(B), G = E(), j = A(O), J = E(), R = A(I), q(l.src, i = /*payMeth*/
|
|
188
|
-
t[48].LogoUrl) || f(l, "src", i), f(l, "alt", a = /*payMeth*/
|
|
189
|
-
t[48].Label), f(s, "class", "MethodLogo"), f(n, "class", "MethodTitle"), f(C, "class", "Limits"), f(Z, "class", "Limits"), f(M, "class", "MethodLimits"), f(e, "class", "SelectorWrapper"), Q(
|
|
190
|
-
e,
|
|
191
|
-
"checked",
|
|
192
|
-
/*selectedPaymentMethod*/
|
|
193
|
-
t[6] === /*payMeth*/
|
|
194
|
-
t[48].Name
|
|
195
|
-
);
|
|
196
|
-
},
|
|
197
|
-
m(W, v) {
|
|
198
|
-
P(W, e, v), p(e, s), p(s, l), p(e, r), p(e, n), p(n, c), p(c, w), p(e, d), p(e, M), p(M, C), p(C, u), p(C, y), p(C, H), p(C, N), p(C, U), p(M, Y), p(M, Z), p(Z, z), p(Z, G), p(Z, j), p(Z, J), p(Z, R), V || (X = [
|
|
199
|
-
s2(e, "click", K),
|
|
200
|
-
s2(e, "keyup", X2)
|
|
201
|
-
], V = !0);
|
|
202
|
-
},
|
|
203
|
-
p(W, v) {
|
|
204
|
-
t = W, v[0] & /*paymentMethodsToShow*/
|
|
205
|
-
256 && !q(l.src, i = /*payMeth*/
|
|
206
|
-
t[48].LogoUrl) && f(l, "src", i), v[0] & /*paymentMethodsToShow*/
|
|
207
|
-
256 && a !== (a = /*payMeth*/
|
|
208
|
-
t[48].Label) && f(l, "alt", a), v[0] & /*paymentMethodsToShow*/
|
|
209
|
-
256 && m !== (m = /*payMeth*/
|
|
210
|
-
(t[48].Label || /*payMeth*/
|
|
211
|
-
t[48].Name) + "") && x(w, m), v[0] & /*$_*/
|
|
212
|
-
16384 && L !== (L = /*$_*/
|
|
213
|
-
t[14]("generalMin") + "") && x(u, L), v[0] & /*paymentMethodsToShow*/
|
|
214
|
-
256 && D !== (D = /*formatter*/
|
|
215
|
-
t[15].format(
|
|
216
|
-
/*payMeth*/
|
|
217
|
-
t[48].DisplayCurrency.MinAmountLimit
|
|
218
|
-
) + "") && x(H, D), v[0] & /*paymentMethodsToShow*/
|
|
219
|
-
256 && k !== (k = /*payMeth*/
|
|
220
|
-
t[48].DisplayCurrency.Name + "") && x(U, k), v[0] & /*$_*/
|
|
221
|
-
16384 && B !== (B = /*$_*/
|
|
222
|
-
t[14]("generalMax") + "") && x(z, B), v[0] & /*paymentMethodsToShow*/
|
|
223
|
-
256 && O !== (O = /*formatter*/
|
|
224
|
-
t[15].format(
|
|
225
|
-
/*payMeth*/
|
|
226
|
-
t[48].DisplayCurrency.MaxAmountLimit
|
|
227
|
-
) + "") && x(j, O), v[0] & /*paymentMethodsToShow*/
|
|
228
|
-
256 && I !== (I = /*payMeth*/
|
|
229
|
-
t[48].DisplayCurrency.Name + "") && x(R, I), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
230
|
-
320 && Q(
|
|
231
|
-
e,
|
|
232
|
-
"checked",
|
|
233
|
-
/*selectedPaymentMethod*/
|
|
234
|
-
t[6] === /*payMeth*/
|
|
235
|
-
t[48].Name
|
|
236
|
-
);
|
|
237
|
-
},
|
|
238
|
-
d(W) {
|
|
239
|
-
W && T(e), V = !1, U2(X);
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
function h2(t) {
|
|
244
|
-
let e, s, l, i, a, r = (
|
|
245
|
-
/*$_*/
|
|
246
|
-
t[14]("error") + ""
|
|
247
|
-
), n, c, m, w = (
|
|
248
|
-
/*$_*/
|
|
249
|
-
t[14]("noPaymentMethods") + ""
|
|
250
|
-
), d;
|
|
251
|
-
function M(u, y) {
|
|
252
|
-
return (
|
|
253
|
-
/*assetsurl*/
|
|
254
|
-
u[1] ? Y2 : q2
|
|
255
|
-
);
|
|
256
|
-
}
|
|
257
|
-
let C = M(t), L = C(t);
|
|
258
|
-
return {
|
|
259
|
-
c() {
|
|
260
|
-
e = g("div"), s = g("div"), L.c(), l = E(), i = g("div"), a = g("p"), n = A(r), c = E(), m = g("p"), d = A(w), f(s, "class", "EmptyContentMessageImg"), f(a, "class", "EmptyContentMessageTitle"), f(m, "class", "EmptyContentMessageText"), f(i, "class", "EmptyContentMessageContent"), f(e, "class", "EmptyContentMessageWrapper"), Q(
|
|
261
|
-
e,
|
|
262
|
-
"EmptyContentMessageDesktop",
|
|
263
|
-
/*desktopView*/
|
|
264
|
-
t[11]
|
|
265
|
-
);
|
|
266
|
-
},
|
|
267
|
-
m(u, y) {
|
|
268
|
-
P(u, e, y), p(e, s), L.m(s, null), p(e, l), p(e, i), p(i, a), p(a, n), p(i, c), p(i, m), p(m, d);
|
|
269
|
-
},
|
|
270
|
-
p(u, y) {
|
|
271
|
-
C === (C = M(u)) && L ? L.p(u, y) : (L.d(1), L = C(u), L && (L.c(), L.m(s, null))), y[0] & /*$_*/
|
|
272
|
-
16384 && r !== (r = /*$_*/
|
|
273
|
-
u[14]("error") + "") && x(n, r), y[0] & /*$_*/
|
|
274
|
-
16384 && w !== (w = /*$_*/
|
|
275
|
-
u[14]("noPaymentMethods") + "") && x(d, w), y[0] & /*desktopView*/
|
|
276
|
-
2048 && Q(
|
|
277
|
-
e,
|
|
278
|
-
"EmptyContentMessageDesktop",
|
|
279
|
-
/*desktopView*/
|
|
280
|
-
u[11]
|
|
281
|
-
);
|
|
282
|
-
},
|
|
283
|
-
d(u) {
|
|
284
|
-
u && T(e), L.d();
|
|
285
|
-
}
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
function q2(t) {
|
|
289
|
-
let e, s;
|
|
290
|
-
return {
|
|
291
|
-
c() {
|
|
292
|
-
e = g("img"), q(e.src, s = R2) || f(e, "src", s), f(e, "alt", "empty-payment-method-list");
|
|
293
|
-
},
|
|
294
|
-
m(l, i) {
|
|
295
|
-
P(l, e, i);
|
|
296
|
-
},
|
|
297
|
-
p: t2,
|
|
298
|
-
d(l) {
|
|
299
|
-
l && T(e);
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
function Y2(t) {
|
|
304
|
-
let e, s;
|
|
305
|
-
return {
|
|
306
|
-
c() {
|
|
307
|
-
e = g("img"), q(e.src, s = `${/*assetsurl*/
|
|
308
|
-
t[1]}/empty-pay-meth-list.png`) || f(e, "src", s), f(e, "width", "300px"), f(e, "alt", "empty-payment-method-list");
|
|
309
|
-
},
|
|
310
|
-
m(l, i) {
|
|
311
|
-
P(l, e, i);
|
|
312
|
-
},
|
|
313
|
-
p(l, i) {
|
|
314
|
-
i[0] & /*assetsurl*/
|
|
315
|
-
2 && !q(e.src, s = `${/*assetsurl*/
|
|
316
|
-
l[1]}/empty-pay-meth-list.png`) && f(e, "src", s);
|
|
317
|
-
},
|
|
318
|
-
d(l) {
|
|
319
|
-
l && T(e);
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
function u2(t) {
|
|
324
|
-
let e, s, l, i;
|
|
325
|
-
return {
|
|
326
|
-
c() {
|
|
327
|
-
e = g("div"), s = A(
|
|
328
|
-
/*methodsButtonToggleText*/
|
|
329
|
-
t[7]
|
|
330
|
-
), f(e, "class", "ShowAllButton");
|
|
331
|
-
},
|
|
332
|
-
m(a, r) {
|
|
333
|
-
P(a, e, r), p(e, s), l || (i = s2(
|
|
334
|
-
e,
|
|
335
|
-
"click",
|
|
336
|
-
/*click_handler_1*/
|
|
337
|
-
t[26]
|
|
338
|
-
), l = !0);
|
|
339
|
-
},
|
|
340
|
-
p(a, r) {
|
|
341
|
-
r[0] & /*methodsButtonToggleText*/
|
|
342
|
-
128 && x(
|
|
343
|
-
s,
|
|
344
|
-
/*methodsButtonToggleText*/
|
|
345
|
-
a[7]
|
|
346
|
-
);
|
|
347
|
-
},
|
|
348
|
-
d(a) {
|
|
349
|
-
a && T(e), l = !1, i();
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
function g2(t) {
|
|
354
|
-
let e, s, l;
|
|
355
|
-
return {
|
|
356
|
-
c() {
|
|
357
|
-
e = g("cashier-error"), s = g("span"), l = A(
|
|
358
|
-
/*errorMessage*/
|
|
359
|
-
t[10]
|
|
360
|
-
), f(s, "slot", "text"), b(
|
|
361
|
-
e,
|
|
362
|
-
"lang",
|
|
363
|
-
/*lang*/
|
|
364
|
-
t[0]
|
|
365
|
-
), b(
|
|
366
|
-
e,
|
|
367
|
-
"assetsurl",
|
|
368
|
-
/*assetsurl*/
|
|
369
|
-
t[1]
|
|
370
|
-
), b(
|
|
371
|
-
e,
|
|
372
|
-
"translationurl",
|
|
373
|
-
/*translationurl*/
|
|
374
|
-
t[2]
|
|
375
|
-
), b(
|
|
376
|
-
e,
|
|
377
|
-
"clientstylingurl",
|
|
378
|
-
/*clientstylingurl*/
|
|
379
|
-
t[4]
|
|
380
|
-
), b(
|
|
381
|
-
e,
|
|
382
|
-
"clientstyling",
|
|
383
|
-
/*clientstyling*/
|
|
384
|
-
t[3]
|
|
385
|
-
), b(e, "hidebuttons", "true");
|
|
386
|
-
},
|
|
387
|
-
m(i, a) {
|
|
388
|
-
P(i, e, a), p(e, s), p(s, l);
|
|
389
|
-
},
|
|
390
|
-
p(i, a) {
|
|
391
|
-
a[0] & /*errorMessage*/
|
|
392
|
-
1024 && x(
|
|
393
|
-
l,
|
|
394
|
-
/*errorMessage*/
|
|
395
|
-
i[10]
|
|
396
|
-
), a[0] & /*lang*/
|
|
397
|
-
1 && b(
|
|
398
|
-
e,
|
|
399
|
-
"lang",
|
|
400
|
-
/*lang*/
|
|
401
|
-
i[0]
|
|
402
|
-
), a[0] & /*assetsurl*/
|
|
403
|
-
2 && b(
|
|
404
|
-
e,
|
|
405
|
-
"assetsurl",
|
|
406
|
-
/*assetsurl*/
|
|
407
|
-
i[1]
|
|
408
|
-
), a[0] & /*translationurl*/
|
|
409
|
-
4 && b(
|
|
410
|
-
e,
|
|
411
|
-
"translationurl",
|
|
412
|
-
/*translationurl*/
|
|
413
|
-
i[2]
|
|
414
|
-
), a[0] & /*clientstylingurl*/
|
|
415
|
-
16 && b(
|
|
416
|
-
e,
|
|
417
|
-
"clientstylingurl",
|
|
418
|
-
/*clientstylingurl*/
|
|
419
|
-
i[4]
|
|
420
|
-
), a[0] & /*clientstyling*/
|
|
421
|
-
8 && b(
|
|
422
|
-
e,
|
|
423
|
-
"clientstyling",
|
|
424
|
-
/*clientstyling*/
|
|
425
|
-
i[3]
|
|
426
|
-
);
|
|
427
|
-
},
|
|
428
|
-
d(i) {
|
|
429
|
-
i && T(e);
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
}
|
|
433
|
-
function J2(t) {
|
|
434
|
-
let e, s, l, i = (
|
|
435
|
-
/*showSpinner*/
|
|
436
|
-
t[12] && p2(t)
|
|
437
|
-
), a = (
|
|
438
|
-
/*showMethodsList*/
|
|
439
|
-
(t[9] || /*desktopView*/
|
|
440
|
-
t[11]) && d2(t)
|
|
441
|
-
), r = (
|
|
442
|
-
/*errorMessage*/
|
|
443
|
-
t[10] && g2(t)
|
|
444
|
-
);
|
|
445
|
-
return {
|
|
446
|
-
c() {
|
|
447
|
-
i && i.c(), e = E(), a && a.c(), s = E(), r && r.c(), l = A2();
|
|
448
|
-
},
|
|
449
|
-
m(n, c) {
|
|
450
|
-
i && i.m(n, c), P(n, e, c), a && a.m(n, c), P(n, s, c), r && r.m(n, c), P(n, l, c);
|
|
451
|
-
},
|
|
452
|
-
p(n, c) {
|
|
453
|
-
/*showSpinner*/
|
|
454
|
-
n[12] ? i ? i.p(n, c) : (i = p2(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null), /*showMethodsList*/
|
|
455
|
-
n[9] || /*desktopView*/
|
|
456
|
-
n[11] ? a ? a.p(n, c) : (a = d2(n), a.c(), a.m(s.parentNode, s)) : a && (a.d(1), a = null), /*errorMessage*/
|
|
457
|
-
n[10] ? r ? r.p(n, c) : (r = g2(n), r.c(), r.m(l.parentNode, l)) : r && (r.d(1), r = null);
|
|
458
|
-
},
|
|
459
|
-
i: t2,
|
|
460
|
-
o: t2,
|
|
461
|
-
d(n) {
|
|
462
|
-
n && (T(e), T(s), T(l)), i && i.d(n), a && a.d(n), r && r.d(n);
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
const X2 = () => {
|
|
467
|
-
};
|
|
468
|
-
function K2(t, e, s) {
|
|
469
|
-
let l;
|
|
470
|
-
T2(t, W2, (o) => s(14, l = o)), a2.extend(G2);
|
|
471
|
-
let { lang: i = "en" } = e, { local: a = "en-US" } = e, { endpoint: r } = e, { session: n } = e, { customerid: c } = e, { assetsurl: m } = e, { currency: w } = e, { numberofmethodsshown: d } = e, { translationurl: M = "" } = e, { clientstyling: C = "" } = e, { clientstylingurl: L = "" } = e, { ismobileview: u } = e, y = [], D, H, N = "", k = [], U = !0, Y = new Intl.NumberFormat(a, { minimumFractionDigits: 2 }), Z = "", B, z = !0, G = !1, O = !1;
|
|
472
|
-
var j;
|
|
473
|
-
(function(o) {
|
|
474
|
-
o.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", o.Success = "Success", o.JwtTokenError = "JwtTokenError";
|
|
475
|
-
})(j || (j = {})), P2();
|
|
476
|
-
const J = () => {
|
|
477
|
-
let o = M;
|
|
478
|
-
if (o)
|
|
479
|
-
return fetch(o).then((h) => h.json()).then((h) => {
|
|
480
|
-
Object.keys(h).forEach((F) => {
|
|
481
|
-
r2(F, h[F]);
|
|
482
|
-
});
|
|
483
|
-
}).catch((h) => {
|
|
484
|
-
console.log(h);
|
|
485
|
-
});
|
|
486
|
-
};
|
|
487
|
-
Object.keys(c2).forEach((o) => {
|
|
488
|
-
r2(o, c2[o]);
|
|
489
|
-
});
|
|
490
|
-
const I = () => {
|
|
491
|
-
I2(i);
|
|
492
|
-
}, R = () => {
|
|
493
|
-
s(12, G = !0);
|
|
494
|
-
const o = new URL(`${r}/v1/player/${c}/payment/GetPaymentMetadata`), h = new Headers();
|
|
495
|
-
h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", a2.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
496
|
-
const F = {
|
|
497
|
-
method: "POST",
|
|
498
|
-
headers: h,
|
|
499
|
-
body: JSON.stringify({
|
|
500
|
-
XPaymentSessionToken: n,
|
|
501
|
-
Currency: w,
|
|
502
|
-
Tags: { UserAgent: window.navigator.userAgent }
|
|
503
|
-
})
|
|
504
|
-
};
|
|
505
|
-
fetch(o, F).then((_) => _.json()).then((_) => {
|
|
506
|
-
if (_.error) {
|
|
507
|
-
s(10, Z = _.error);
|
|
508
|
-
return;
|
|
509
|
-
}
|
|
510
|
-
if (_.ResponseCode !== j.Success) {
|
|
511
|
-
B = _.ResponseCode, W();
|
|
512
|
-
return;
|
|
513
|
-
}
|
|
514
|
-
y = _.PaymentMethods?.Ordering ? V(_) : X(_), s(7, N = d && +d > 0 && y.length > +d ? l("showAll") : ""), s(8, k = N ? y.slice(0, +d) : y), s(13, O = !k.length), window.postMessage(
|
|
515
|
-
{
|
|
516
|
-
type: "StartSessionCountdown",
|
|
517
|
-
paymentMethodName: y[0].Name,
|
|
518
|
-
xPaymentSessionToken: _.XPaymentSessionToken
|
|
519
|
-
},
|
|
520
|
-
window.location.href
|
|
521
|
-
), window.postMessage({ type: "DataLoading", isDataLoaded: !1 });
|
|
522
|
-
}).finally(() => {
|
|
523
|
-
s(12, G = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 });
|
|
524
|
-
});
|
|
525
|
-
}, V = (o) => {
|
|
526
|
-
const h = [];
|
|
527
|
-
return o.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((F) => {
|
|
528
|
-
const _ = o.PaymentMethods.PaymentMethods.find(($) => $.Name === F);
|
|
529
|
-
if (_) {
|
|
530
|
-
const $ = _?.Logos.find((e2) => e2.LogoType === "Desktop") || {}, E2 = _?.Logos.find((e2) => e2.LogoType === "Mobile") || {}, l2 = z ? $ : E2;
|
|
531
|
-
h.push({
|
|
532
|
-
..._,
|
|
533
|
-
LogoUrl: l2.LogoUrl ? `https:${l2.LogoUrl}` : ""
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
}), h;
|
|
537
|
-
}, X = (o) => o.PaymentMethods.PaymentMethods.map((h) => ({
|
|
538
|
-
...h,
|
|
539
|
-
LogoUrl: h.Logos && h.Logos.length && h.Logos[0].LogoUrl ? `https:${h.Logos[0].LogoUrl}` : ""
|
|
540
|
-
})), K = (o) => {
|
|
541
|
-
s(6, H = o.Name), window.postMessage({ type: "SelectPayMeth", details: o }, window.location.href), dispatchEvent(new CustomEvent(
|
|
542
|
-
"selectPayMeth",
|
|
543
|
-
{
|
|
544
|
-
detail: o,
|
|
545
|
-
bubbles: !0,
|
|
546
|
-
cancelable: !0,
|
|
547
|
-
composed: !0
|
|
548
|
-
}
|
|
549
|
-
));
|
|
550
|
-
}, W = () => {
|
|
551
|
-
window.postMessage(
|
|
552
|
-
{
|
|
553
|
-
type: "ErrorResponseCode",
|
|
554
|
-
errorResponseCode: B
|
|
555
|
-
},
|
|
556
|
-
window.location.href
|
|
557
|
-
);
|
|
558
|
-
}, v = () => {
|
|
559
|
-
s(11, z = u === "false");
|
|
560
|
-
}, o2 = () => {
|
|
561
|
-
k == y ? y2() : L2();
|
|
562
|
-
}, L2 = () => {
|
|
563
|
-
s(8, k = y), s(7, N = l("showLess"));
|
|
564
|
-
}, y2 = () => {
|
|
565
|
-
s(8, k = y.slice(0, +d)), H && !k.find((o) => o.Name === H) && k.splice(0, 0, y.find((o) => o.Name === H)), s(7, N = l("showAll"));
|
|
566
|
-
}, w2 = () => {
|
|
567
|
-
s(9, U = !0);
|
|
568
|
-
}, C2 = (o) => {
|
|
569
|
-
s(9, U = !o.hideMethodsList);
|
|
570
|
-
}, M2 = () => {
|
|
571
|
-
let o = document.createElement("style");
|
|
572
|
-
o.innerHTML = C, D.appendChild(o);
|
|
573
|
-
}, _2 = () => {
|
|
574
|
-
let o = new URL(L), h = document.createElement("style");
|
|
575
|
-
fetch(o.href).then((F) => F.text()).then((F) => {
|
|
576
|
-
h.innerHTML = F, setTimeout(
|
|
577
|
-
() => {
|
|
578
|
-
D.appendChild(h);
|
|
579
|
-
},
|
|
580
|
-
1
|
|
581
|
-
), setTimeout(
|
|
582
|
-
() => {
|
|
583
|
-
},
|
|
584
|
-
500
|
|
585
|
-
);
|
|
586
|
-
});
|
|
587
|
-
};
|
|
588
|
-
F2(() => (window.addEventListener("message", i2, !1), () => {
|
|
589
|
-
window.removeEventListener("message", i2, !1);
|
|
590
|
-
}));
|
|
591
|
-
const i2 = (o) => {
|
|
592
|
-
switch (o.data.type) {
|
|
593
|
-
case "BackToMethodList":
|
|
594
|
-
w2();
|
|
595
|
-
break;
|
|
596
|
-
case "HideMethodsList":
|
|
597
|
-
C2(o.data.details);
|
|
598
|
-
break;
|
|
599
|
-
}
|
|
600
|
-
}, b2 = (o) => K(o), v2 = () => o2();
|
|
601
|
-
function k2(o) {
|
|
602
|
-
N2[o ? "unshift" : "push"](() => {
|
|
603
|
-
D = o, s(5, D);
|
|
604
|
-
});
|
|
605
|
-
}
|
|
606
|
-
return t.$$set = (o) => {
|
|
607
|
-
"lang" in o && s(0, i = o.lang), "local" in o && s(18, a = o.local), "endpoint" in o && s(19, r = o.endpoint), "session" in o && s(20, n = o.session), "customerid" in o && s(21, c = o.customerid), "assetsurl" in o && s(1, m = o.assetsurl), "currency" in o && s(22, w = o.currency), "numberofmethodsshown" in o && s(23, d = o.numberofmethodsshown), "translationurl" in o && s(2, M = o.translationurl), "clientstyling" in o && s(3, C = o.clientstyling), "clientstylingurl" in o && s(4, L = o.clientstylingurl), "ismobileview" in o && s(24, u = o.ismobileview);
|
|
608
|
-
}, t.$$.update = () => {
|
|
609
|
-
t.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
610
|
-
3670016 && r && n && c && R(), t.$$.dirty[0] & /*lang*/
|
|
611
|
-
1 && i && I(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
612
|
-
40 && C && D && M2(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
613
|
-
48 && L && D && _2(), t.$$.dirty[0] & /*ismobileview*/
|
|
614
|
-
16777216 && u && v(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
615
|
-
5 && i && M && J();
|
|
616
|
-
}, [
|
|
617
|
-
i,
|
|
618
|
-
m,
|
|
619
|
-
M,
|
|
620
|
-
C,
|
|
621
|
-
L,
|
|
622
|
-
D,
|
|
623
|
-
H,
|
|
624
|
-
N,
|
|
625
|
-
k,
|
|
626
|
-
U,
|
|
627
|
-
Z,
|
|
628
|
-
z,
|
|
629
|
-
G,
|
|
630
|
-
O,
|
|
631
|
-
l,
|
|
632
|
-
Y,
|
|
633
|
-
K,
|
|
634
|
-
o2,
|
|
635
|
-
a,
|
|
636
|
-
r,
|
|
637
|
-
n,
|
|
638
|
-
c,
|
|
639
|
-
w,
|
|
640
|
-
d,
|
|
641
|
-
u,
|
|
642
|
-
b2,
|
|
643
|
-
v2,
|
|
644
|
-
k2
|
|
645
|
-
];
|
|
646
|
-
}
|
|
647
|
-
class Q2 extends D2 {
|
|
648
|
-
constructor(e) {
|
|
649
|
-
super(), S2(
|
|
650
|
-
this,
|
|
651
|
-
e,
|
|
652
|
-
K2,
|
|
653
|
-
J2,
|
|
654
|
-
Z2,
|
|
655
|
-
{
|
|
656
|
-
lang: 0,
|
|
657
|
-
local: 18,
|
|
658
|
-
endpoint: 19,
|
|
659
|
-
session: 20,
|
|
660
|
-
customerid: 21,
|
|
661
|
-
assetsurl: 1,
|
|
662
|
-
currency: 22,
|
|
663
|
-
numberofmethodsshown: 23,
|
|
664
|
-
translationurl: 2,
|
|
665
|
-
clientstyling: 3,
|
|
666
|
-
clientstylingurl: 4,
|
|
667
|
-
ismobileview: 24
|
|
668
|
-
},
|
|
669
|
-
V2,
|
|
670
|
-
[-1, -1]
|
|
671
|
-
);
|
|
672
|
-
}
|
|
673
|
-
get lang() {
|
|
674
|
-
return this.$$.ctx[0];
|
|
675
|
-
}
|
|
676
|
-
set lang(e) {
|
|
677
|
-
this.$$set({ lang: e }), S();
|
|
678
|
-
}
|
|
679
|
-
get local() {
|
|
680
|
-
return this.$$.ctx[18];
|
|
681
|
-
}
|
|
682
|
-
set local(e) {
|
|
683
|
-
this.$$set({ local: e }), S();
|
|
684
|
-
}
|
|
685
|
-
get endpoint() {
|
|
686
|
-
return this.$$.ctx[19];
|
|
687
|
-
}
|
|
688
|
-
set endpoint(e) {
|
|
689
|
-
this.$$set({ endpoint: e }), S();
|
|
690
|
-
}
|
|
691
|
-
get session() {
|
|
692
|
-
return this.$$.ctx[20];
|
|
693
|
-
}
|
|
694
|
-
set session(e) {
|
|
695
|
-
this.$$set({ session: e }), S();
|
|
696
|
-
}
|
|
697
|
-
get customerid() {
|
|
698
|
-
return this.$$.ctx[21];
|
|
699
|
-
}
|
|
700
|
-
set customerid(e) {
|
|
701
|
-
this.$$set({ customerid: e }), S();
|
|
702
|
-
}
|
|
703
|
-
get assetsurl() {
|
|
704
|
-
return this.$$.ctx[1];
|
|
705
|
-
}
|
|
706
|
-
set assetsurl(e) {
|
|
707
|
-
this.$$set({ assetsurl: e }), S();
|
|
708
|
-
}
|
|
709
|
-
get currency() {
|
|
710
|
-
return this.$$.ctx[22];
|
|
711
|
-
}
|
|
712
|
-
set currency(e) {
|
|
713
|
-
this.$$set({ currency: e }), S();
|
|
714
|
-
}
|
|
715
|
-
get numberofmethodsshown() {
|
|
716
|
-
return this.$$.ctx[23];
|
|
717
|
-
}
|
|
718
|
-
set numberofmethodsshown(e) {
|
|
719
|
-
this.$$set({ numberofmethodsshown: e }), S();
|
|
720
|
-
}
|
|
721
|
-
get translationurl() {
|
|
722
|
-
return this.$$.ctx[2];
|
|
723
|
-
}
|
|
724
|
-
set translationurl(e) {
|
|
725
|
-
this.$$set({ translationurl: e }), S();
|
|
726
|
-
}
|
|
727
|
-
get clientstyling() {
|
|
728
|
-
return this.$$.ctx[3];
|
|
729
|
-
}
|
|
730
|
-
set clientstyling(e) {
|
|
731
|
-
this.$$set({ clientstyling: e }), S();
|
|
732
|
-
}
|
|
733
|
-
get clientstylingurl() {
|
|
734
|
-
return this.$$.ctx[4];
|
|
735
|
-
}
|
|
736
|
-
set clientstylingurl(e) {
|
|
737
|
-
this.$$set({ clientstylingurl: e }), S();
|
|
738
|
-
}
|
|
739
|
-
get ismobileview() {
|
|
740
|
-
return this.$$.ctx[24];
|
|
741
|
-
}
|
|
742
|
-
set ismobileview(e) {
|
|
743
|
-
this.$$set({ ismobileview: e }), S();
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
B2(Q2, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
|
|
747
|
-
export {
|
|
748
|
-
Q2 as default
|
|
749
|
-
};
|