@everymatrix/player-lugas-limit 1.83.0 → 1.83.2
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/dist/cjs/{index-2079b2a6.js → index-c6f15bc2.js} +42 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/player-lugas-limit.cjs.entry.js +48 -9
- package/dist/cjs/player-lugas-limit.cjs.js +2 -2
- package/dist/collection/components/player-lugas-limit/player-lugas-limit.css +1 -3
- package/dist/collection/components/player-lugas-limit/player-lugas-limit.js +48 -9
- package/dist/collection/utils/locale.utils.js +2 -0
- package/dist/esm/{index-43ec4fd3.js → index-b24be12d.js} +42 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/player-lugas-limit.entry.js +48 -9
- package/dist/esm/player-lugas-limit.js +3 -3
- package/dist/player-lugas-limit/index-b24be12d.js +2 -0
- package/dist/player-lugas-limit/player-lugas-limit.entry.js +1 -1
- package/dist/player-lugas-limit/player-lugas-limit.esm.js +1 -1
- package/dist/types/components/player-lugas-limit/player-lugas-limit.d.ts +4 -0
- package/package.json +1 -1
- package/dist/player-lugas-limit/index-43ec4fd3.js +0 -2
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'player-lugas-limit';
|
|
24
|
-
const BUILD = /* player-lugas-limit */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional:
|
|
24
|
+
const BUILD = /* player-lugas-limit */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -263,6 +263,13 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
+
if (typeof nodeName === "function") {
|
|
267
|
+
return nodeName(
|
|
268
|
+
vnodeData === null ? {} : vnodeData,
|
|
269
|
+
vNodeChildren,
|
|
270
|
+
vdomFnUtils
|
|
271
|
+
);
|
|
272
|
+
}
|
|
266
273
|
const vnode = newVNode(nodeName, null);
|
|
267
274
|
vnode.$attrs$ = vnodeData;
|
|
268
275
|
if (vNodeChildren.length > 0) {
|
|
@@ -285,6 +292,36 @@ var newVNode = (tag, text) => {
|
|
|
285
292
|
};
|
|
286
293
|
var Host = {};
|
|
287
294
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
295
|
+
var vdomFnUtils = {
|
|
296
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
297
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
298
|
+
};
|
|
299
|
+
var convertToPublic = (node) => ({
|
|
300
|
+
vattrs: node.$attrs$,
|
|
301
|
+
vchildren: node.$children$,
|
|
302
|
+
vkey: node.$key$,
|
|
303
|
+
vname: node.$name$,
|
|
304
|
+
vtag: node.$tag$,
|
|
305
|
+
vtext: node.$text$
|
|
306
|
+
});
|
|
307
|
+
var convertToPrivate = (node) => {
|
|
308
|
+
if (typeof node.vtag === "function") {
|
|
309
|
+
const vnodeData = { ...node.vattrs };
|
|
310
|
+
if (node.vkey) {
|
|
311
|
+
vnodeData.key = node.vkey;
|
|
312
|
+
}
|
|
313
|
+
if (node.vname) {
|
|
314
|
+
vnodeData.name = node.vname;
|
|
315
|
+
}
|
|
316
|
+
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
317
|
+
}
|
|
318
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
319
|
+
vnode.$attrs$ = node.vattrs;
|
|
320
|
+
vnode.$children$ = node.vchildren;
|
|
321
|
+
vnode.$key$ = node.vkey;
|
|
322
|
+
vnode.$name$ = node.vname;
|
|
323
|
+
return vnode;
|
|
324
|
+
};
|
|
288
325
|
var parsePropertyValue = (propValue, propType) => {
|
|
289
326
|
if (propValue != null && !isComplexType(propValue)) {
|
|
290
327
|
if (propType & 4 /* Boolean */) {
|
|
@@ -1194,9 +1231,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1194
1231
|
endBootstrap();
|
|
1195
1232
|
};
|
|
1196
1233
|
|
|
1234
|
+
// src/runtime/fragment.ts
|
|
1235
|
+
var Fragment = (_, children) => children;
|
|
1236
|
+
|
|
1197
1237
|
// src/runtime/nonce.ts
|
|
1198
1238
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1199
1239
|
|
|
1240
|
+
exports.Fragment = Fragment;
|
|
1200
1241
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1201
1242
|
exports.createEvent = createEvent;
|
|
1202
1243
|
exports.h = h;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c6f15bc2.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["player-lugas-limit.cjs",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
11
|
+
return index.bootstrapLazy([["player-lugas-limit.cjs",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32],"step2DialogType":[32],"opDepositLimit":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c6f15bc2.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'de';
|
|
8
8
|
let TRANSLATIONS = {
|
|
@@ -32,6 +32,7 @@ let TRANSLATIONS = {
|
|
|
32
32
|
kycThanks: 'THANK YOU!',
|
|
33
33
|
kycSuccess: "Successful",
|
|
34
34
|
kycSure: 'Are you sure?',
|
|
35
|
+
opDepositLimitError: 'The maximum deposit you can set is {amount} {currency}. Our customer service team is happy to help if needed.',
|
|
35
36
|
setNewLimit: 'SET NEW LIMIT',
|
|
36
37
|
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
37
38
|
Close: 'CLOSE',
|
|
@@ -67,6 +68,7 @@ let TRANSLATIONS = {
|
|
|
67
68
|
kycThanks: "DANKE SCHÖN!",
|
|
68
69
|
kycSuccess: "Successful",
|
|
69
70
|
kycSure: "Sind Sie sicher?",
|
|
71
|
+
opDepositLimitError: 'Das maximale Einzahlungslimit, das Sie setzen können, beträgt {amount} {currency}. Unser Kundenservice hilft Ihnen gerne weiter, falls Sie Unterstützung benötigen.',
|
|
70
72
|
setNewLimit: "NEUES LIMIT FESTLEGEN",
|
|
71
73
|
keepExistingLimit: "AKTUELLES LIMIT BEIBEHALTEN",
|
|
72
74
|
Close: "SCHLIESSEN",
|
|
@@ -174,7 +176,7 @@ const arrowSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5v
|
|
|
174
176
|
|
|
175
177
|
const successSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjt0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eSIgdmlld0JveD0iMCAwIDkwIDY5Ij48cGF0aCBkPSJtMCAzOCAxMC0xMyAyNiAyMkw3OCAwbDEyIDExLTUzIDU4eiIgc3R5bGU9ImZpbGw6IzAwMDtmaWxsLXJ1bGU6bm9uemVybyIvPjwvc3ZnPg==';
|
|
176
178
|
|
|
177
|
-
const playerLugasLimitCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");\n:host {\n font-family: \"Roboto\", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions
|
|
179
|
+
const playerLugasLimitCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");\n:host {\n font-family: \"Roboto\", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n padding-bottom: 10px;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions > button {\n border-radius: 0;\n border-left: 0;\n border-right: 0;\n border-bottom: 0;\n border-top: 1px solid var(--emw--color-white, #E8E9EB);\n background-color: var(--emw--color-white, #FFFFFF);\n display: grid;\n text-align: left;\n font-size: 12px;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr 20px;\n color: var(--emw--color-black, #111111);\n}\n.ContainerOptions > button:last-child {\n padding-bottom: 0;\n}\n.ContainerOptions .Option {\n font-family: \"Roboto\", sans-serif;\n grid-column: 1/2;\n grid-row: 1/2;\n font-weight: 400;\n}\n.ContainerOptions .OptionSubTitle {\n font-family: \"Roboto Condensed\", sans-serif;\n font-weight: 300;\n grid-column: 1/2;\n grid-row: 2/3;\n}\n.ContainerOptions .ArrowIcon {\n grid-column: 2/3;\n grid-row: 1/3;\n margin: auto;\n}\n\ninput {\n /* Firefox */\n -moz-appearance: textfield;\n /* Chrome, Safari, Edge, Opera */\n}\ninput::-webkit-outer-spin-button, input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.ModalContainer.Close {\n display: none;\n}\n\n@container (max-width: 1300px) {\n .ModalContainer .Container {\n width: 50%;\n }\n}\n@container (max-width: 800px) {\n .ModalContainer .Container {\n width: 70%;\n }\n}\n.LoadingWrapper {\n width: 100%;\n height: 100%;\n background: var(--emw--color-white-transparency-80, rgba(255, 255, 255, 0.8));\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n width: 30px;\n height: 30px;\n}\n.spinner .path {\n stroke: var(--emw--color-primary, #6BB816);\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.DocumentIcon {\n padding: 20px 48px 0 86px;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
|
|
178
180
|
const PlayerLugasLimitStyle0 = playerLugasLimitCss;
|
|
179
181
|
|
|
180
182
|
const PlayerLugasLimit = class {
|
|
@@ -205,6 +207,17 @@ const PlayerLugasLimit = class {
|
|
|
205
207
|
this.handleClose = () => {
|
|
206
208
|
this.innerOpen = false;
|
|
207
209
|
this.hasValidation = true;
|
|
210
|
+
this.kycStep = undefined;
|
|
211
|
+
this.isUseExistingLimitOptionActive = true;
|
|
212
|
+
this.selectedPredefinedAmount = '';
|
|
213
|
+
this.errorMessageOnInitialization = '';
|
|
214
|
+
this.errorMessageOnSubmit = '';
|
|
215
|
+
this.errorMessageOnInput = '';
|
|
216
|
+
this.hasLugasError = false;
|
|
217
|
+
this.showCustomAmount = false;
|
|
218
|
+
this.newAmount = '';
|
|
219
|
+
this.errorMessageOnInitialization = '';
|
|
220
|
+
this.step2DialogType = 'default';
|
|
208
221
|
this.handleClick('Close');
|
|
209
222
|
};
|
|
210
223
|
this.userId = '';
|
|
@@ -237,6 +250,8 @@ const PlayerLugasLimit = class {
|
|
|
237
250
|
this.newAmount = '';
|
|
238
251
|
this.innerOpen = false;
|
|
239
252
|
this.closable = false;
|
|
253
|
+
this.step2DialogType = 'default';
|
|
254
|
+
this.opDepositLimit = undefined;
|
|
240
255
|
}
|
|
241
256
|
// Watchers
|
|
242
257
|
handleNewTranslations() {
|
|
@@ -358,13 +373,20 @@ const PlayerLugasLimit = class {
|
|
|
358
373
|
}
|
|
359
374
|
}
|
|
360
375
|
handleSubmissionError(error, keepLimit) {
|
|
361
|
-
var _a, _b;
|
|
376
|
+
var _a, _b, _c;
|
|
362
377
|
this.errorMessageOnSubmit = translate('LugasNotSet', this.lang);
|
|
363
378
|
if (keepLimit) {
|
|
364
379
|
this.isUseExistingLimitOptionActive = false;
|
|
365
380
|
}
|
|
366
381
|
if (error.errorCode === 3 && error.errorSourceName === 'GmLegislation') {
|
|
367
|
-
const
|
|
382
|
+
const errorCode = (_a = error.thirdPartyResponse) === null || _a === void 0 ? void 0 : _a.errorCode;
|
|
383
|
+
const errorMsg = (_c = (_b = error.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.message) !== null && _c !== void 0 ? _c : '';
|
|
384
|
+
if (errorCode === 'GmErr_LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR') {
|
|
385
|
+
this.step2DialogType = 'op-deposit-limit-error';
|
|
386
|
+
const errorDetail = error.thirdPartyResponse.errors['LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR'][0];
|
|
387
|
+
const numbers = errorDetail.match(/\d+\.\d+/g);
|
|
388
|
+
this.opDepositLimit = parseFloat(numbers[1]);
|
|
389
|
+
}
|
|
368
390
|
if (errorMsg.includes('F1002')) {
|
|
369
391
|
this.errorMessageOnSubmit = translate('LugasF1002Error', this.lang);
|
|
370
392
|
this.hasLugasError = true;
|
|
@@ -426,7 +448,7 @@ const PlayerLugasLimit = class {
|
|
|
426
448
|
renderKYC(step) {
|
|
427
449
|
switch (step) {
|
|
428
450
|
case 0:
|
|
429
|
-
this.
|
|
451
|
+
this.handleClose();
|
|
430
452
|
return;
|
|
431
453
|
case 1:
|
|
432
454
|
return (index.h("div", { class: "ValidatorContainer" }, index.h("div", { class: "Paragraphs" }, index.h("p", null, translate('kycSure', this.lang, { values: { currency: this.currency } })), index.h("p", null, translate('kyc1', this.lang, { values: { currency: this.currency } })), index.h("div", { class: "ContainerButtons" }, index.h("button", { class: "FirstButton", onClick: () => this.postPlayerSituation(this.newAmount, false) }, translate('setNewLimit', this.lang, { values: { currency: this.currency } })), index.h("button", { class: "SecondButton", onClick: () => this.postPlayerSituation(this.amount, true) }, translate('keepExistingLimit', this.lang, { values: { currency: this.currency } }))))));
|
|
@@ -435,7 +457,7 @@ const PlayerLugasLimit = class {
|
|
|
435
457
|
values: { currency: this.currency, amount: this.regularDepositLimitAmount }
|
|
436
458
|
}) }), index.h("div", { class: "ContainerOptions" }, ['BankLogin', 'UploadDocuments'].map((opt) => this.renderOption(opt))))));
|
|
437
459
|
default:
|
|
438
|
-
return (index.h("div", { class: "ValidatorContainer" }, index.h("div", { class: "Paragraphs" }, index.h("div", { class: "IconContainer" }, index.h("img", { src: successSvg, alt: "SuccessIcon" })), index.h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), index.h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), index.h("div", { class: "ContainerButtons" }, index.h("button", { class: "SecondButton", onClick:
|
|
460
|
+
return (index.h("div", { class: "ValidatorContainer" }, index.h("div", { class: "Paragraphs" }, index.h("div", { class: "IconContainer" }, index.h("img", { src: successSvg, alt: "SuccessIcon" })), index.h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), index.h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), index.h("div", { class: "ContainerButtons" }, index.h("button", { class: "SecondButton", onClick: this.handleClose }, translate('Close', this.lang, { values: { currency: this.currency } }))))));
|
|
439
461
|
}
|
|
440
462
|
}
|
|
441
463
|
renderPredefinedButtons() {
|
|
@@ -485,9 +507,26 @@ const PlayerLugasLimit = class {
|
|
|
485
507
|
return translate('LugasSetLimitDialogTitle', this.lang);
|
|
486
508
|
}
|
|
487
509
|
}
|
|
510
|
+
renderModalHeader() {
|
|
511
|
+
const titleKey = [2, 3].indexOf(this.kycStep) !== -1
|
|
512
|
+
? 'LugasSetLimitDialogTitle2'
|
|
513
|
+
: 'LugasSetLimitDialogTitle';
|
|
514
|
+
const title = translate(titleKey, this.lang);
|
|
515
|
+
return (index.h(index.Fragment, null, index.h("h2", null, title), this.closable && (index.h("button", { onClick: this.handleClose }, index.h("svg", { width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("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" }))))));
|
|
516
|
+
}
|
|
517
|
+
renderModalBody() {
|
|
518
|
+
switch (this.step2DialogType) {
|
|
519
|
+
case 'op-deposit-limit-error': {
|
|
520
|
+
return (index.h("div", { class: "ValidatorContainer" }, index.h("img", { class: "DocumentIcon", src: documentSvg, alt: "DocumentIcon" }), index.h("div", { class: "Paragraphs" }, index.h("p", { class: "KycThanks" }, translate('kycThanks', this.lang, { values: { currency: this.currency } })), index.h("p", { class: "Kyc2", innerHTML: translate('opDepositLimitError', this.lang, {
|
|
521
|
+
values: { currency: this.currency, amount: this.opDepositLimit }
|
|
522
|
+
}) }))));
|
|
523
|
+
}
|
|
524
|
+
default: {
|
|
525
|
+
return (index.h(index.Fragment, null, this.hasValidation ? this.renderValidator() : this.renderKYC(this.kycStep), this.hasValidation && (index.h("div", { class: "ModalFooter" }, index.h("hr", null), index.h("div", { class: "Paragraphs" }, this.showExistingLimit ? (index.h("p", { class: "ExistingLimit" }, translate('LugasSetLimitDialogExistingLimit.text', this.lang), index.h("span", { class: this.isUseExistingLimitOptionActive ? 'Link' : 'Link Inactive', onClick: () => this.postPlayerSituation(this.amount, true) }, translate('LugasSetLimitDialogExistingLimit.link', this.lang)))) : null, index.h("p", { class: "PrivacyNote" }, translate('LugasSetLimitDialogPrivacyNote.text', this.lang), index.h("span", { class: "Link", onClick: this.goToPrivacyPolicy }, translate('LugasSetLimitDialogPrivacyNote.link', this.lang))))))));
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
488
529
|
render() {
|
|
489
|
-
const kycConfirmation = this.renderKYC(this.kycStep);
|
|
490
|
-
const validationContainer = this.renderValidator();
|
|
491
530
|
if (this.isLoading) {
|
|
492
531
|
return (index.h("div", null, index.h("p", null, translate('loading', this.lang, { values: { currency: this.currency } }))));
|
|
493
532
|
}
|
|
@@ -495,7 +534,7 @@ const PlayerLugasLimit = class {
|
|
|
495
534
|
return (index.h("div", null, index.h("p", null, this.errorMessageOnInitialization)));
|
|
496
535
|
}
|
|
497
536
|
const className = `ModalContainer${this.innerOpen ? '' : ' Close'}`;
|
|
498
|
-
return (index.h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, index.h("div", { class: "Container" }, index.h("div", { class: "ModalHeader" },
|
|
537
|
+
return (index.h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, index.h("div", { class: "Container" }, index.h("div", { class: "ModalHeader" }, this.renderModalHeader()), index.h("div", { class: "ModalBody" }, this.renderModalBody()))));
|
|
499
538
|
}
|
|
500
539
|
static get watchers() { return {
|
|
501
540
|
"translationUrl": ["handleNewTranslations"],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c6f15bc2.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["player-lugas-limit.cjs",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
22
|
+
return index.bootstrapLazy([["player-lugas-limit.cjs",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32],"step2DialogType":[32],"opDepositLimit":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
.ModalContainer .Paragraphs .Kyc2 {
|
|
185
185
|
color: var(--emw--color-gray-150, #666666);
|
|
186
186
|
text-align: center;
|
|
187
|
+
padding-bottom: 10px;
|
|
187
188
|
}
|
|
188
189
|
.ModalContainer .LimitAmountWrapper {
|
|
189
190
|
display: flex;
|
|
@@ -236,9 +237,6 @@
|
|
|
236
237
|
height: 30px;
|
|
237
238
|
}
|
|
238
239
|
|
|
239
|
-
.ContainerOptions {
|
|
240
|
-
padding-top: 10px;
|
|
241
|
-
}
|
|
242
240
|
.ContainerOptions > button {
|
|
243
241
|
border-radius: 0;
|
|
244
242
|
border-left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
1
|
+
import { h, Fragment } from "@stencil/core";
|
|
2
2
|
import { getTranslations, translate } from "../../utils/locale.utils";
|
|
3
3
|
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
4
4
|
import DocumentIcon from "../../static/document.svg";
|
|
@@ -28,6 +28,17 @@ export class PlayerLugasLimit {
|
|
|
28
28
|
this.handleClose = () => {
|
|
29
29
|
this.innerOpen = false;
|
|
30
30
|
this.hasValidation = true;
|
|
31
|
+
this.kycStep = undefined;
|
|
32
|
+
this.isUseExistingLimitOptionActive = true;
|
|
33
|
+
this.selectedPredefinedAmount = '';
|
|
34
|
+
this.errorMessageOnInitialization = '';
|
|
35
|
+
this.errorMessageOnSubmit = '';
|
|
36
|
+
this.errorMessageOnInput = '';
|
|
37
|
+
this.hasLugasError = false;
|
|
38
|
+
this.showCustomAmount = false;
|
|
39
|
+
this.newAmount = '';
|
|
40
|
+
this.errorMessageOnInitialization = '';
|
|
41
|
+
this.step2DialogType = 'default';
|
|
31
42
|
this.handleClick('Close');
|
|
32
43
|
};
|
|
33
44
|
this.userId = '';
|
|
@@ -60,6 +71,8 @@ export class PlayerLugasLimit {
|
|
|
60
71
|
this.newAmount = '';
|
|
61
72
|
this.innerOpen = false;
|
|
62
73
|
this.closable = false;
|
|
74
|
+
this.step2DialogType = 'default';
|
|
75
|
+
this.opDepositLimit = undefined;
|
|
63
76
|
}
|
|
64
77
|
// Watchers
|
|
65
78
|
handleNewTranslations() {
|
|
@@ -181,13 +194,20 @@ export class PlayerLugasLimit {
|
|
|
181
194
|
}
|
|
182
195
|
}
|
|
183
196
|
handleSubmissionError(error, keepLimit) {
|
|
184
|
-
var _a, _b;
|
|
197
|
+
var _a, _b, _c;
|
|
185
198
|
this.errorMessageOnSubmit = translate('LugasNotSet', this.lang);
|
|
186
199
|
if (keepLimit) {
|
|
187
200
|
this.isUseExistingLimitOptionActive = false;
|
|
188
201
|
}
|
|
189
202
|
if (error.errorCode === 3 && error.errorSourceName === 'GmLegislation') {
|
|
190
|
-
const
|
|
203
|
+
const errorCode = (_a = error.thirdPartyResponse) === null || _a === void 0 ? void 0 : _a.errorCode;
|
|
204
|
+
const errorMsg = (_c = (_b = error.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.message) !== null && _c !== void 0 ? _c : '';
|
|
205
|
+
if (errorCode === 'GmErr_LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR') {
|
|
206
|
+
this.step2DialogType = 'op-deposit-limit-error';
|
|
207
|
+
const errorDetail = error.thirdPartyResponse.errors['LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR'][0];
|
|
208
|
+
const numbers = errorDetail.match(/\d+\.\d+/g);
|
|
209
|
+
this.opDepositLimit = parseFloat(numbers[1]);
|
|
210
|
+
}
|
|
191
211
|
if (errorMsg.includes('F1002')) {
|
|
192
212
|
this.errorMessageOnSubmit = translate('LugasF1002Error', this.lang);
|
|
193
213
|
this.hasLugasError = true;
|
|
@@ -249,7 +269,7 @@ export class PlayerLugasLimit {
|
|
|
249
269
|
renderKYC(step) {
|
|
250
270
|
switch (step) {
|
|
251
271
|
case 0:
|
|
252
|
-
this.
|
|
272
|
+
this.handleClose();
|
|
253
273
|
return;
|
|
254
274
|
case 1:
|
|
255
275
|
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("p", null, translate('kycSure', this.lang, { values: { currency: this.currency } })), h("p", null, translate('kyc1', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "FirstButton", onClick: () => this.postPlayerSituation(this.newAmount, false) }, translate('setNewLimit', this.lang, { values: { currency: this.currency } })), h("button", { class: "SecondButton", onClick: () => this.postPlayerSituation(this.amount, true) }, translate('keepExistingLimit', this.lang, { values: { currency: this.currency } }))))));
|
|
@@ -258,7 +278,7 @@ export class PlayerLugasLimit {
|
|
|
258
278
|
values: { currency: this.currency, amount: this.regularDepositLimitAmount }
|
|
259
279
|
}) }), h("div", { class: "ContainerOptions" }, ['BankLogin', 'UploadDocuments'].map((opt) => this.renderOption(opt))))));
|
|
260
280
|
default:
|
|
261
|
-
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("div", { class: "IconContainer" }, h("img", { src: SuccessIcon, alt: "SuccessIcon" })), h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "SecondButton", onClick:
|
|
281
|
+
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("div", { class: "IconContainer" }, h("img", { src: SuccessIcon, alt: "SuccessIcon" })), h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "SecondButton", onClick: this.handleClose }, translate('Close', this.lang, { values: { currency: this.currency } }))))));
|
|
262
282
|
}
|
|
263
283
|
}
|
|
264
284
|
renderPredefinedButtons() {
|
|
@@ -308,9 +328,26 @@ export class PlayerLugasLimit {
|
|
|
308
328
|
return translate('LugasSetLimitDialogTitle', this.lang);
|
|
309
329
|
}
|
|
310
330
|
}
|
|
331
|
+
renderModalHeader() {
|
|
332
|
+
const titleKey = [2, 3].indexOf(this.kycStep) !== -1
|
|
333
|
+
? 'LugasSetLimitDialogTitle2'
|
|
334
|
+
: 'LugasSetLimitDialogTitle';
|
|
335
|
+
const title = translate(titleKey, this.lang);
|
|
336
|
+
return (h(Fragment, null, h("h2", null, title), this.closable && (h("button", { onClick: this.handleClose }, h("svg", { width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("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" }))))));
|
|
337
|
+
}
|
|
338
|
+
renderModalBody() {
|
|
339
|
+
switch (this.step2DialogType) {
|
|
340
|
+
case 'op-deposit-limit-error': {
|
|
341
|
+
return (h("div", { class: "ValidatorContainer" }, h("img", { class: "DocumentIcon", src: DocumentIcon, alt: "DocumentIcon" }), h("div", { class: "Paragraphs" }, h("p", { class: "KycThanks" }, translate('kycThanks', this.lang, { values: { currency: this.currency } })), h("p", { class: "Kyc2", innerHTML: translate('opDepositLimitError', this.lang, {
|
|
342
|
+
values: { currency: this.currency, amount: this.opDepositLimit }
|
|
343
|
+
}) }))));
|
|
344
|
+
}
|
|
345
|
+
default: {
|
|
346
|
+
return (h(Fragment, null, this.hasValidation ? this.renderValidator() : this.renderKYC(this.kycStep), this.hasValidation && (h("div", { class: "ModalFooter" }, h("hr", null), h("div", { class: "Paragraphs" }, this.showExistingLimit ? (h("p", { class: "ExistingLimit" }, translate('LugasSetLimitDialogExistingLimit.text', this.lang), h("span", { class: this.isUseExistingLimitOptionActive ? 'Link' : 'Link Inactive', onClick: () => this.postPlayerSituation(this.amount, true) }, translate('LugasSetLimitDialogExistingLimit.link', this.lang)))) : null, h("p", { class: "PrivacyNote" }, translate('LugasSetLimitDialogPrivacyNote.text', this.lang), h("span", { class: "Link", onClick: this.goToPrivacyPolicy }, translate('LugasSetLimitDialogPrivacyNote.link', this.lang))))))));
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
311
350
|
render() {
|
|
312
|
-
const kycConfirmation = this.renderKYC(this.kycStep);
|
|
313
|
-
const validationContainer = this.renderValidator();
|
|
314
351
|
if (this.isLoading) {
|
|
315
352
|
return (h("div", null, h("p", null, translate('loading', this.lang, { values: { currency: this.currency } }))));
|
|
316
353
|
}
|
|
@@ -318,7 +355,7 @@ export class PlayerLugasLimit {
|
|
|
318
355
|
return (h("div", null, h("p", null, this.errorMessageOnInitialization)));
|
|
319
356
|
}
|
|
320
357
|
const className = `ModalContainer${this.innerOpen ? '' : ' Close'}`;
|
|
321
|
-
return (h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, h("div", { class: "Container" }, h("div", { class: "ModalHeader" },
|
|
358
|
+
return (h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, h("div", { class: "Container" }, h("div", { class: "ModalHeader" }, this.renderModalHeader()), h("div", { class: "ModalBody" }, this.renderModalBody()))));
|
|
322
359
|
}
|
|
323
360
|
static get is() { return "player-lugas-limit"; }
|
|
324
361
|
static get encapsulation() { return "shadow"; }
|
|
@@ -620,7 +657,9 @@ export class PlayerLugasLimit {
|
|
|
620
657
|
"showCustomAmount": {},
|
|
621
658
|
"newAmount": {},
|
|
622
659
|
"innerOpen": {},
|
|
623
|
-
"closable": {}
|
|
660
|
+
"closable": {},
|
|
661
|
+
"step2DialogType": {},
|
|
662
|
+
"opDepositLimit": {}
|
|
624
663
|
};
|
|
625
664
|
}
|
|
626
665
|
static get events() {
|
|
@@ -26,6 +26,7 @@ let TRANSLATIONS = {
|
|
|
26
26
|
kycThanks: 'THANK YOU!',
|
|
27
27
|
kycSuccess: "Successful",
|
|
28
28
|
kycSure: 'Are you sure?',
|
|
29
|
+
opDepositLimitError: 'The maximum deposit you can set is {amount} {currency}. Our customer service team is happy to help if needed.',
|
|
29
30
|
setNewLimit: 'SET NEW LIMIT',
|
|
30
31
|
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
31
32
|
Close: 'CLOSE',
|
|
@@ -61,6 +62,7 @@ let TRANSLATIONS = {
|
|
|
61
62
|
kycThanks: "DANKE SCHÖN!",
|
|
62
63
|
kycSuccess: "Successful",
|
|
63
64
|
kycSure: "Sind Sie sicher?",
|
|
65
|
+
opDepositLimitError: 'Das maximale Einzahlungslimit, das Sie setzen können, beträgt {amount} {currency}. Unser Kundenservice hilft Ihnen gerne weiter, falls Sie Unterstützung benötigen.',
|
|
64
66
|
setNewLimit: "NEUES LIMIT FESTLEGEN",
|
|
65
67
|
keepExistingLimit: "AKTUELLES LIMIT BEIBEHALTEN",
|
|
66
68
|
Close: "SCHLIESSEN",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const NAMESPACE = 'player-lugas-limit';
|
|
2
|
-
const BUILD = /* player-lugas-limit */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional:
|
|
2
|
+
const BUILD = /* player-lugas-limit */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -241,6 +241,13 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
+
if (typeof nodeName === "function") {
|
|
245
|
+
return nodeName(
|
|
246
|
+
vnodeData === null ? {} : vnodeData,
|
|
247
|
+
vNodeChildren,
|
|
248
|
+
vdomFnUtils
|
|
249
|
+
);
|
|
250
|
+
}
|
|
244
251
|
const vnode = newVNode(nodeName, null);
|
|
245
252
|
vnode.$attrs$ = vnodeData;
|
|
246
253
|
if (vNodeChildren.length > 0) {
|
|
@@ -263,6 +270,36 @@ var newVNode = (tag, text) => {
|
|
|
263
270
|
};
|
|
264
271
|
var Host = {};
|
|
265
272
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
273
|
+
var vdomFnUtils = {
|
|
274
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
275
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
276
|
+
};
|
|
277
|
+
var convertToPublic = (node) => ({
|
|
278
|
+
vattrs: node.$attrs$,
|
|
279
|
+
vchildren: node.$children$,
|
|
280
|
+
vkey: node.$key$,
|
|
281
|
+
vname: node.$name$,
|
|
282
|
+
vtag: node.$tag$,
|
|
283
|
+
vtext: node.$text$
|
|
284
|
+
});
|
|
285
|
+
var convertToPrivate = (node) => {
|
|
286
|
+
if (typeof node.vtag === "function") {
|
|
287
|
+
const vnodeData = { ...node.vattrs };
|
|
288
|
+
if (node.vkey) {
|
|
289
|
+
vnodeData.key = node.vkey;
|
|
290
|
+
}
|
|
291
|
+
if (node.vname) {
|
|
292
|
+
vnodeData.name = node.vname;
|
|
293
|
+
}
|
|
294
|
+
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
295
|
+
}
|
|
296
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
297
|
+
vnode.$attrs$ = node.vattrs;
|
|
298
|
+
vnode.$children$ = node.vchildren;
|
|
299
|
+
vnode.$key$ = node.vkey;
|
|
300
|
+
vnode.$name$ = node.vname;
|
|
301
|
+
return vnode;
|
|
302
|
+
};
|
|
266
303
|
var parsePropertyValue = (propValue, propType) => {
|
|
267
304
|
if (propValue != null && !isComplexType(propValue)) {
|
|
268
305
|
if (propType & 4 /* Boolean */) {
|
|
@@ -1172,7 +1209,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1172
1209
|
endBootstrap();
|
|
1173
1210
|
};
|
|
1174
1211
|
|
|
1212
|
+
// src/runtime/fragment.ts
|
|
1213
|
+
var Fragment = (_, children) => children;
|
|
1214
|
+
|
|
1175
1215
|
// src/runtime/nonce.ts
|
|
1176
1216
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1177
1217
|
|
|
1178
|
-
export { bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1218
|
+
export { Fragment as F, bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-b24be12d.js';
|
|
2
|
+
export { s as setNonce } from './index-b24be12d.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["player-lugas-limit",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
8
|
+
return bootstrapLazy([["player-lugas-limit",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32],"step2DialogType":[32],"opDepositLimit":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-b24be12d.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'de';
|
|
4
4
|
let TRANSLATIONS = {
|
|
@@ -28,6 +28,7 @@ let TRANSLATIONS = {
|
|
|
28
28
|
kycThanks: 'THANK YOU!',
|
|
29
29
|
kycSuccess: "Successful",
|
|
30
30
|
kycSure: 'Are you sure?',
|
|
31
|
+
opDepositLimitError: 'The maximum deposit you can set is {amount} {currency}. Our customer service team is happy to help if needed.',
|
|
31
32
|
setNewLimit: 'SET NEW LIMIT',
|
|
32
33
|
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
33
34
|
Close: 'CLOSE',
|
|
@@ -63,6 +64,7 @@ let TRANSLATIONS = {
|
|
|
63
64
|
kycThanks: "DANKE SCHÖN!",
|
|
64
65
|
kycSuccess: "Successful",
|
|
65
66
|
kycSure: "Sind Sie sicher?",
|
|
67
|
+
opDepositLimitError: 'Das maximale Einzahlungslimit, das Sie setzen können, beträgt {amount} {currency}. Unser Kundenservice hilft Ihnen gerne weiter, falls Sie Unterstützung benötigen.',
|
|
66
68
|
setNewLimit: "NEUES LIMIT FESTLEGEN",
|
|
67
69
|
keepExistingLimit: "AKTUELLES LIMIT BEIBEHALTEN",
|
|
68
70
|
Close: "SCHLIESSEN",
|
|
@@ -170,7 +172,7 @@ const arrowSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5v
|
|
|
170
172
|
|
|
171
173
|
const successSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjt0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eSIgdmlld0JveD0iMCAwIDkwIDY5Ij48cGF0aCBkPSJtMCAzOCAxMC0xMyAyNiAyMkw3OCAwbDEyIDExLTUzIDU4eiIgc3R5bGU9ImZpbGw6IzAwMDtmaWxsLXJ1bGU6bm9uemVybyIvPjwvc3ZnPg==';
|
|
172
174
|
|
|
173
|
-
const playerLugasLimitCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");\n:host {\n font-family: \"Roboto\", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions
|
|
175
|
+
const playerLugasLimitCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");\n:host {\n font-family: \"Roboto\", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n padding-bottom: 10px;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions > button {\n border-radius: 0;\n border-left: 0;\n border-right: 0;\n border-bottom: 0;\n border-top: 1px solid var(--emw--color-white, #E8E9EB);\n background-color: var(--emw--color-white, #FFFFFF);\n display: grid;\n text-align: left;\n font-size: 12px;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr 20px;\n color: var(--emw--color-black, #111111);\n}\n.ContainerOptions > button:last-child {\n padding-bottom: 0;\n}\n.ContainerOptions .Option {\n font-family: \"Roboto\", sans-serif;\n grid-column: 1/2;\n grid-row: 1/2;\n font-weight: 400;\n}\n.ContainerOptions .OptionSubTitle {\n font-family: \"Roboto Condensed\", sans-serif;\n font-weight: 300;\n grid-column: 1/2;\n grid-row: 2/3;\n}\n.ContainerOptions .ArrowIcon {\n grid-column: 2/3;\n grid-row: 1/3;\n margin: auto;\n}\n\ninput {\n /* Firefox */\n -moz-appearance: textfield;\n /* Chrome, Safari, Edge, Opera */\n}\ninput::-webkit-outer-spin-button, input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.ModalContainer.Close {\n display: none;\n}\n\n@container (max-width: 1300px) {\n .ModalContainer .Container {\n width: 50%;\n }\n}\n@container (max-width: 800px) {\n .ModalContainer .Container {\n width: 70%;\n }\n}\n.LoadingWrapper {\n width: 100%;\n height: 100%;\n background: var(--emw--color-white-transparency-80, rgba(255, 255, 255, 0.8));\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n width: 30px;\n height: 30px;\n}\n.spinner .path {\n stroke: var(--emw--color-primary, #6BB816);\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.DocumentIcon {\n padding: 20px 48px 0 86px;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
|
|
174
176
|
const PlayerLugasLimitStyle0 = playerLugasLimitCss;
|
|
175
177
|
|
|
176
178
|
const PlayerLugasLimit = class {
|
|
@@ -201,6 +203,17 @@ const PlayerLugasLimit = class {
|
|
|
201
203
|
this.handleClose = () => {
|
|
202
204
|
this.innerOpen = false;
|
|
203
205
|
this.hasValidation = true;
|
|
206
|
+
this.kycStep = undefined;
|
|
207
|
+
this.isUseExistingLimitOptionActive = true;
|
|
208
|
+
this.selectedPredefinedAmount = '';
|
|
209
|
+
this.errorMessageOnInitialization = '';
|
|
210
|
+
this.errorMessageOnSubmit = '';
|
|
211
|
+
this.errorMessageOnInput = '';
|
|
212
|
+
this.hasLugasError = false;
|
|
213
|
+
this.showCustomAmount = false;
|
|
214
|
+
this.newAmount = '';
|
|
215
|
+
this.errorMessageOnInitialization = '';
|
|
216
|
+
this.step2DialogType = 'default';
|
|
204
217
|
this.handleClick('Close');
|
|
205
218
|
};
|
|
206
219
|
this.userId = '';
|
|
@@ -233,6 +246,8 @@ const PlayerLugasLimit = class {
|
|
|
233
246
|
this.newAmount = '';
|
|
234
247
|
this.innerOpen = false;
|
|
235
248
|
this.closable = false;
|
|
249
|
+
this.step2DialogType = 'default';
|
|
250
|
+
this.opDepositLimit = undefined;
|
|
236
251
|
}
|
|
237
252
|
// Watchers
|
|
238
253
|
handleNewTranslations() {
|
|
@@ -354,13 +369,20 @@ const PlayerLugasLimit = class {
|
|
|
354
369
|
}
|
|
355
370
|
}
|
|
356
371
|
handleSubmissionError(error, keepLimit) {
|
|
357
|
-
var _a, _b;
|
|
372
|
+
var _a, _b, _c;
|
|
358
373
|
this.errorMessageOnSubmit = translate('LugasNotSet', this.lang);
|
|
359
374
|
if (keepLimit) {
|
|
360
375
|
this.isUseExistingLimitOptionActive = false;
|
|
361
376
|
}
|
|
362
377
|
if (error.errorCode === 3 && error.errorSourceName === 'GmLegislation') {
|
|
363
|
-
const
|
|
378
|
+
const errorCode = (_a = error.thirdPartyResponse) === null || _a === void 0 ? void 0 : _a.errorCode;
|
|
379
|
+
const errorMsg = (_c = (_b = error.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.message) !== null && _c !== void 0 ? _c : '';
|
|
380
|
+
if (errorCode === 'GmErr_LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR') {
|
|
381
|
+
this.step2DialogType = 'op-deposit-limit-error';
|
|
382
|
+
const errorDetail = error.thirdPartyResponse.errors['LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR'][0];
|
|
383
|
+
const numbers = errorDetail.match(/\d+\.\d+/g);
|
|
384
|
+
this.opDepositLimit = parseFloat(numbers[1]);
|
|
385
|
+
}
|
|
364
386
|
if (errorMsg.includes('F1002')) {
|
|
365
387
|
this.errorMessageOnSubmit = translate('LugasF1002Error', this.lang);
|
|
366
388
|
this.hasLugasError = true;
|
|
@@ -422,7 +444,7 @@ const PlayerLugasLimit = class {
|
|
|
422
444
|
renderKYC(step) {
|
|
423
445
|
switch (step) {
|
|
424
446
|
case 0:
|
|
425
|
-
this.
|
|
447
|
+
this.handleClose();
|
|
426
448
|
return;
|
|
427
449
|
case 1:
|
|
428
450
|
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("p", null, translate('kycSure', this.lang, { values: { currency: this.currency } })), h("p", null, translate('kyc1', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "FirstButton", onClick: () => this.postPlayerSituation(this.newAmount, false) }, translate('setNewLimit', this.lang, { values: { currency: this.currency } })), h("button", { class: "SecondButton", onClick: () => this.postPlayerSituation(this.amount, true) }, translate('keepExistingLimit', this.lang, { values: { currency: this.currency } }))))));
|
|
@@ -431,7 +453,7 @@ const PlayerLugasLimit = class {
|
|
|
431
453
|
values: { currency: this.currency, amount: this.regularDepositLimitAmount }
|
|
432
454
|
}) }), h("div", { class: "ContainerOptions" }, ['BankLogin', 'UploadDocuments'].map((opt) => this.renderOption(opt))))));
|
|
433
455
|
default:
|
|
434
|
-
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("div", { class: "IconContainer" }, h("img", { src: successSvg, alt: "SuccessIcon" })), h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "SecondButton", onClick:
|
|
456
|
+
return (h("div", { class: "ValidatorContainer" }, h("div", { class: "Paragraphs" }, h("div", { class: "IconContainer" }, h("img", { src: successSvg, alt: "SuccessIcon" })), h("p", { class: "ParagraphStep3" }, translate('kycSuccess', this.lang, { values: { currency: this.currency } })), h("p", { class: "ParagraphStep3" }, translate('kyc3', this.lang, { values: { currency: this.currency } })), h("div", { class: "ContainerButtons" }, h("button", { class: "SecondButton", onClick: this.handleClose }, translate('Close', this.lang, { values: { currency: this.currency } }))))));
|
|
435
457
|
}
|
|
436
458
|
}
|
|
437
459
|
renderPredefinedButtons() {
|
|
@@ -481,9 +503,26 @@ const PlayerLugasLimit = class {
|
|
|
481
503
|
return translate('LugasSetLimitDialogTitle', this.lang);
|
|
482
504
|
}
|
|
483
505
|
}
|
|
506
|
+
renderModalHeader() {
|
|
507
|
+
const titleKey = [2, 3].indexOf(this.kycStep) !== -1
|
|
508
|
+
? 'LugasSetLimitDialogTitle2'
|
|
509
|
+
: 'LugasSetLimitDialogTitle';
|
|
510
|
+
const title = translate(titleKey, this.lang);
|
|
511
|
+
return (h(Fragment, null, h("h2", null, title), this.closable && (h("button", { onClick: this.handleClose }, h("svg", { width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("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" }))))));
|
|
512
|
+
}
|
|
513
|
+
renderModalBody() {
|
|
514
|
+
switch (this.step2DialogType) {
|
|
515
|
+
case 'op-deposit-limit-error': {
|
|
516
|
+
return (h("div", { class: "ValidatorContainer" }, h("img", { class: "DocumentIcon", src: documentSvg, alt: "DocumentIcon" }), h("div", { class: "Paragraphs" }, h("p", { class: "KycThanks" }, translate('kycThanks', this.lang, { values: { currency: this.currency } })), h("p", { class: "Kyc2", innerHTML: translate('opDepositLimitError', this.lang, {
|
|
517
|
+
values: { currency: this.currency, amount: this.opDepositLimit }
|
|
518
|
+
}) }))));
|
|
519
|
+
}
|
|
520
|
+
default: {
|
|
521
|
+
return (h(Fragment, null, this.hasValidation ? this.renderValidator() : this.renderKYC(this.kycStep), this.hasValidation && (h("div", { class: "ModalFooter" }, h("hr", null), h("div", { class: "Paragraphs" }, this.showExistingLimit ? (h("p", { class: "ExistingLimit" }, translate('LugasSetLimitDialogExistingLimit.text', this.lang), h("span", { class: this.isUseExistingLimitOptionActive ? 'Link' : 'Link Inactive', onClick: () => this.postPlayerSituation(this.amount, true) }, translate('LugasSetLimitDialogExistingLimit.link', this.lang)))) : null, h("p", { class: "PrivacyNote" }, translate('LugasSetLimitDialogPrivacyNote.text', this.lang), h("span", { class: "Link", onClick: this.goToPrivacyPolicy }, translate('LugasSetLimitDialogPrivacyNote.link', this.lang))))))));
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
484
525
|
render() {
|
|
485
|
-
const kycConfirmation = this.renderKYC(this.kycStep);
|
|
486
|
-
const validationContainer = this.renderValidator();
|
|
487
526
|
if (this.isLoading) {
|
|
488
527
|
return (h("div", null, h("p", null, translate('loading', this.lang, { values: { currency: this.currency } }))));
|
|
489
528
|
}
|
|
@@ -491,7 +530,7 @@ const PlayerLugasLimit = class {
|
|
|
491
530
|
return (h("div", null, h("p", null, this.errorMessageOnInitialization)));
|
|
492
531
|
}
|
|
493
532
|
const className = `ModalContainer${this.innerOpen ? '' : ' Close'}`;
|
|
494
|
-
return (h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, h("div", { class: "Container" }, h("div", { class: "ModalHeader" },
|
|
533
|
+
return (h("div", { class: className, ref: (el) => (this.stylingContainer = el), "data-current-step": this.kycStep }, h("div", { class: "Container" }, h("div", { class: "ModalHeader" }, this.renderModalHeader()), h("div", { class: "ModalBody" }, this.renderModalBody()))));
|
|
495
534
|
}
|
|
496
535
|
static get watchers() { return {
|
|
497
536
|
"translationUrl": ["handleNewTranslations"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-b24be12d.js';
|
|
2
|
+
export { s as setNonce } from './index-b24be12d.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["player-lugas-limit",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
19
|
+
return bootstrapLazy([["player-lugas-limit",[[1,"player-lugas-limit",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"currency":[513],"flow":[513],"amount":[513],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"showExistingLimit":[516,"show-existing-limit"],"buttonTextStrategy":[513,"button-text-strategy"],"open":[516],"closeType":[513,"close-type"],"hasValidation":[32],"kycStep":[32],"isLoading":[32],"regularDepositLimitAmount":[32],"isSubmitted":[32],"isUseExistingLimitOptionActive":[32],"selectedPredefinedAmount":[32],"errorMessageOnInitialization":[32],"errorMessageOnSubmit":[32],"errorMessageOnInput":[32],"hasLugasError":[32],"showCustomAmount":[32],"newAmount":[32],"innerOpen":[32],"closable":[32],"step2DialogType":[32],"opDepositLimit":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"open":["onOpenChange"]}]]]], options);
|
|
20
20
|
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),l=(t,e)=>e in t,r=(t,e)=>(0,console.error)(t,e),s=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,d=[],y=[],v=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&f.o?$(b):f.raf(b))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},b=()=>{w(d),w(y),(m=d.length>0)&&f.raf(b)},$=t=>h().then(t),g=v(y,!0),S={},j=t=>"object"==(t=typeof t)||"function"===t;function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>P,unwrapErr:()=>L});var k=t=>({isOk:!0,isErr:!1,value:t}),E=t=>({isOk:!1,isErr:!0,value:t});function C(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>k(t))):k(n)}if(t.isErr)return E(t.value);throw"should never get here"}var M,x,P=t=>{if(t.isOk)return t.value;throw t.value},L=t=>{if(t.isErr)return t.value;throw t.value},R=(t,e,...n)=>{let o=null,l=!1,r=!1;const s=[],i=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?i(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!j(o))&&(o+=""),l&&r?s[s.length-1].i+=o:s.push(l?T(null,o):o),r=l)};if(i(n),e){const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if("function"==typeof t)return t(null===e?{}:e,s,F);const c=T(t,null);return c.u=e,s.length>0&&(c.h=s),c},T=(t,e)=>({o:0,p:t,i:e,m:null,h:null,u:null}),A={},F={forEach:(t,e)=>t.map(N).forEach(e),map:(t,e)=>t.map(N).map(e).map(U)},N=t=>({vattrs:t.u,vchildren:t.h,vkey:t.v,vname:t.$,vtag:t.p,vtext:t.i}),U=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),R(t.vtag,e,...t.vchildren||[])}const e=T(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.v=t.vkey,e.$=t.vname,e},W=(t,e,o)=>{const l=(t=>n(t).$hostElement$)(t);return{emit:t=>D(l,e,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t})}},D=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},H=new WeakMap,q=t=>"sc-"+t.S,G=(t,e,n,o,r,s)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=_(n),r=_(o);e.remove(...l.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!l.includes(t))))}else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=j(o);if((i||l&&null!==o)&&!r)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!i||4&s||r)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(z);e=e.replace(B,""),n&&f.rel(t,e,n,l),o&&f.ael(t,e,o,l)}}},V=/\s/,_=t=>t?t.split(V):[],z="Capture",B=RegExp(z+"$"),I=(t,e,n)=>{const o=11===e.m.nodeType&&e.m.host?e.m.host:e.m,l=t&&t.u||S,r=e.u||S;for(const t of J(Object.keys(l)))t in r||G(o,t,l[t],void 0,n,e.o);for(const t of J(Object.keys(r)))G(o,t,l[t],r[t],n,e.o)};function J(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var K=!1,Q=!1,X=(t,e,n)=>{const o=e.h[n];let l,r,s=0;if(null!==o.i)l=o.m=a.createTextNode(o.i);else{if(Q||(Q="svg"===o.p),l=o.m=a.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.p),Q&&"foreignObject"===o.p&&(Q=!1),I(null,o,Q),null!=M&&l["s-si"]!==M&&l.classList.add(l["s-si"]=M),o.h)for(s=0;s<o.h.length;++s)r=X(t,o,s),r&&l.appendChild(r);"svg"===o.p?Q=!1:"foreignObject"===l.tagName&&(Q=!0)}return l["s-hn"]=x,l},Y=(t,e,n,o,l,r)=>{let s,i=t;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);l<=r;++l)o[l]&&(s=X(null,n,l),s&&(o[l].m=s,ot(i,s,e)))},Z=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.m;nt(e),t&&t.remove()}}},tt=(t,e)=>t.p===e.p,et=(t,e,n=!1)=>{const o=e.m=t.m,l=t.h,r=e.h,s=e.p,i=e.i;null===i?(Q="svg"===s||"foreignObject"!==s&&Q,("slot"!==s||K)&&I(t,e,Q),null!==l&&null!==r?((t,e,n,o,l=!1)=>{let r,s=0,i=0,c=e.length-1,u=e[0],a=e[c],f=o.length-1,h=o[0],p=o[f];for(;s<=c&&i<=f;)null==u?u=e[++s]:null==a?a=e[--c]:null==h?h=o[++i]:null==p?p=o[--f]:tt(u,h)?(et(u,h,l),u=e[++s],h=o[++i]):tt(a,p)?(et(a,p,l),a=e[--c],p=o[--f]):tt(u,p)?(et(u,p,l),ot(t,u.m,a.m.nextSibling),u=e[++s],p=o[--f]):tt(a,h)?(et(a,h,l),ot(t,a.m,u.m),a=e[--c],h=o[++i]):(r=X(e&&e[i],n,i),h=o[++i],r&&ot(u.m.parentNode,r,u.m));s>c?Y(t,null==o[f+1]?null:o[f+1].m,n,o,i,f):i>f&&Z(e,s,c)})(o,l,e,r,n):null!==r?(null!==t.i&&(o.textContent=""),Y(o,null,e,r,0,r.length-1)):null!==l&&Z(l,0,l.length-1),Q&&"svg"===s&&(Q=!1)):t.i!==i&&(o.data=i)},nt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(nt)},ot=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),lt=(t,e)=>{e&&!t.j&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.j=e)))},rt=(t,e)=>{if(t.o|=16,!(4&t.o))return lt(t,t.O),g((()=>st(t,e)));t.o|=512},st=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e&&(o=pt(n,"componentWillLoad")),it(o,(()=>ut(t,n,e)))},it=(t,e)=>ct(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ct=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ut=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=q(e),l=i.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let r,s=H.get(t=t.head||t);if(s||H.set(t,s=new Set),!s.has(o)){{r=a.createElement("style"),r.innerHTML=l;const e=null!=(n=f.C)?n:O(a);null!=e&&r.setAttribute("nonce",e),t.insertBefore(r,t.querySelector("link"))}4&e.o&&(r.innerHTML+=c),s&&s.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);at(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>ft(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},at=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.k,r=t.M||T(null,null),s=(t=>t&&t.p===A)(e)?e:R(null,null,e);if(x=o.tagName,l.P&&(s.u=s.u||{},l.P.map((([t,e])=>s.u[e]=o[t]))),n&&s.u)for(const t of Object.keys(s.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(s.u[t]=o[t]);s.p=null,s.o|=4,t.M=s,s.m=r.m=o.shadowRoot||o,M=o["s-sc"],K=!!(1&l.o),et(r,s,n)})(t,e,o)}catch(e){r(e,t.$hostElement$)}return null},ft=t=>{const e=t.$hostElement$,n=t.t,o=t.O;64&t.o||(t.o|=64,mt(e),pt(n,"componentDidLoad"),t.L(e),o||ht()),t.j&&(t.j(),t.j=void 0),512&t.o&&$((()=>rt(t,!1))),t.o&=-517},ht=()=>{mt(a.documentElement),$((()=>D(u,"appload",{detail:{namespace:"player-lugas-limit"}})))},pt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t)}},mt=t=>t.classList.add("hydrated"),dt=(t,e,o)=>{var l,s;const i=t.prototype;if(e.R||e.T||t.watchers){t.watchers&&!e.T&&(e.T=t.watchers);const c=Object.entries(null!=(l=e.R)?l:{});if(c.map((([t,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(i,t,{get(){return((t,e)=>n(this).A.get(e))(0,t)},set(o){((t,e,o,l)=>{const s=n(t);if(!s)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.$hostElement$,c=s.A.get(e),u=s.o,a=s.t;if(o=((t,e)=>null==t||j(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t)(o,l.R[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(s.A.set(e,o),a)){if(l.T&&128&u){const t=l.T[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){r(t,i)}}))}2==(18&u)&&rt(s,!1)}})(this,t,o,e)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,r){f.jmp((()=>{var s;const c=o.get(t);if(this.hasOwnProperty(c))r=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==r)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&r!==l){const n=o.t,i=null==(s=e.T)?void 0:s[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,r,l,t)}))}return}}this[c]=(null!==r||"boolean"!=typeof this[c])&&r}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.T)?s:{}),...c.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const r=n[1]||t;return o.set(r,t),512&n[0]&&(null==(l=e.P)||l.push([t,r])),r}))]))}}return t},yt=t=>{pt(t,"disconnectedCallback")},vt=(t,o={})=>{var l;const h=[],m=o.exclude||[],d=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),w=a.createElement("style"),b=[];let $,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],S:o[1],R:o[2],F:o[3]};4&c.o&&(S=!0),c.R=o[2],c.P=[],c.T=null!=(l=o[4])?l:{};const u=c.S,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,k:n,A:new Map};o.N=new Promise((t=>o.L=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?b.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const e=n(t),o=e.k,l=()=>{};if(1&e.o)(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){lt(e,e.O=n);break}}o.R&&Object.entries(o.R).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.U){const t=(t=>{const e=t.S.replace(/-/g,"_"),n=t.U;if(!n)return;const o=s.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(s.set(n,t),t[e])),r)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.S}#${e.W}" was not found`);o.isProxied||(n.T=o.watchers,dt(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){r(t)}e.o&=-9,e.o|=128,l()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=q(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.O,c=()=>rt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const t=n(this);(null==t?void 0:t.t)?yt(t.t):(null==t?void 0:t.N)&&t.N.then((()=>yt(t.t)))}})()))}componentOnReady(){return n(this).N}};c.U=t[0],m.includes(u)||d.get(u)||(h.push(u),d.define(u,dt(a,c,1)))}))})),h.length>0&&(S&&(w.textContent+=c),w.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=f.C)?l:O(a);null!=t&&w.setAttribute("nonce",t),y.insertBefore(w,v?v.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):f.jmp((()=>$=setTimeout(ht,30)))},wt=(t,e)=>e,bt=t=>f.C=t;export{wt as F,vt as b,W as c,R as h,h as p,o as r,bt as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,c as t,h as i}from"./index-43ec4fd3.js";let e={en:{LugasSetLimitDialogTitle:"Monthly Central Deposit Limit",LugasSetLimitDialogTitle2:"Responsible Gaming",LugasInfoBox:"The central limit is your monthly deposit limit for all licensed websites in Germany. Note that your limit and deposit details may vary if changed on other sites.",ChooseLimit:"Choose Limit",ButtonCustomValue:"Other",ButtonMax:"Max",LugasSetLimitDialogButtonSetLimit:"SET LIMIT {amount} {currency}",invalidInputMessageLimit:"The value entered must be between {minValue} {currency} and {maxValue} {currency}.",LugasSetLimitDialogPrivacyNote:{text:"The selected limit is connected to processing player's personal data due to our legal obligations. In some cases setting a limit is a consent to processing player's personal data. For details see our ",link:"Privacy Policy"},LugasSetLimitDialogExistingLimit:{text:"If you would like to use your existing limit ",link:"click here"},LugasNotSet:"No deposit limit set. Please enter a new limit.",loading:"Loading, please wait ...",error:"It was an error while trying to fetch the data",kyc1:"All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.",kyc2:"We could not apply the desired LUGAS limit. To increase the limit, one of the following methods can be used. In the meantime, the following value will be set for the limit: {amount} {currency}",kyc3:"We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.",kycThanks:"THANK YOU!",kycSuccess:"Successful",kycSure:"Are you sure?",setNewLimit:"SET NEW LIMIT",keepExistingLimit:"KEEP EXISTING LIMIT",Close:"CLOSE",UploadDocuments:"Upload documents",UploadDocumentsSubTitle:"Last payslip as well as a current bank statement",BankLogin:"Online bank login",BankLoginSubTitle:"Log into your bank account to verify your details",LugasF1002Error:"We were unable to set your cross-provider deposit limit at LUGAS due to a technical error. Please contact our support team and provide error code F1002. We'll be happy to assist you in resolving this issue."},de:{LugasSetLimitDialogTitle:"Monatliches zentrales Einzahlungslimit",LugasSetLimitDialogTitle2:"Spielerschutz",LugasInfoBox:"Das zentrale Limit ist Ihr monatliches Einzahlungslimit für alle lizenzierten Websites in Deutschland. Beachten Sie, dass sich Ihr Limit und der verbleibende Betrag ändern können, wenn Sie auf anderen Websites Einzahlungen vornehmen oder Ihr Limit anpassen.",ChooseLimit:"Choose Limit",ButtonCustomValue:"Eigener",ButtonMax:"Max",LugasSetLimitDialogButtonSetLimit:"LIMIT SETZEN {amount} {currency}",invalidInputMessageLimit:"Der eingegebene Wert muss zwischen {minValue} und {maxValue} {currency} liegen.",LugasSetLimitDialogPrivacyNote:{text:"Das gewählte Limit steht wegen unserer rechtlichen Verpflichtungen in Verbindung mit der Verarbeitung persönlicher Daten der Spieler. In manchen Fällen gilt das Setzen eines Limits als Einwilligung zur Verarbeitung persönlicher Daten des Spielers. Mehr Infos unter ",link:"Erklärung zum Datenschutz"},LugasSetLimitDialogExistingLimit:{text:"Wenn Sie Ihr bestehendes Limit nutzen möchten, ",link:"klicken Sie hier"},LugasNotSet:"Kein Einzahlungslimit festgelegt. Bitte geben Sie ein neues Limit ein.",loading:"Lade, bitte warten ...",error:"Beim Laden der Daten ist ein Fehler aufgetreten.",kyc1:"Alle Änderungen des Einzahlungslimits müssen gemäß den gesetzlichen Anforderungen an LUGAS gemeldet werden. Bitte beachten Sie, dass eine Senkung des Limits sofort wirksam wird, während eine Erhöhung spätestens nach 8 Tagen in Kraft tritt.",kyc2:"Das gewünschte LUGAS-Limit konnte nicht gesetzt werden. Um das Limit zu erhöhen, kann eine der folgenden Methoden verwendet werden. In der Zwischenzeit wird für das Limit folgender Wert eingemeldet: {amount} {currency}",kyc3:"Wir haben Ihr gewünschtes Limit an LUGAS übermittelt. Bitte beachten Sie, dass das Limit spätestens nach 8 Tagen in Kraft tritt.",kycThanks:"DANKE SCHÖN!",kycSuccess:"Successful",kycSure:"Sind Sie sicher?",setNewLimit:"NEUES LIMIT FESTLEGEN",keepExistingLimit:"AKTUELLES LIMIT BEIBEHALTEN",Close:"SCHLIESSEN",UploadDocuments:"Dokumente hochladen",UploadDocumentsSubTitle:"Letzte Gehaltsabrechnung sowie ein aktueller Kontoauszug",BankLogin:"Online-Banking-Login",BankLoginSubTitle:"Melden Sie sich bei Ihrem Bankkonto an, um Ihre Daten zu überprüfen"}};const l=n=>new Promise((t=>{fetch(n).then((n=>n.json())).then((n=>{Object.keys(n).forEach((t=>{e[t]||(e[t]={});for(let i in n[t])e[t][i]=n[t][i]})),t(!0)}))})),a=(n,t,i)=>{let l=(a=e[t||"de"],n.split(".").reduce(((n,t)=>n&&void 0!==n[t]?n[t]:null),a));var a;if(null===l)return n;if(void 0!==i)for(const[n,t]of Object.entries(i.values)){const i=new RegExp(`{${n}}`,"g");l=l.replace(i,t)}return l};function o(n,t){if(n){const i=document.createElement("style");i.innerHTML=t,n.appendChild(i)}}function d(n,t){const i=new URL(t);fetch(i.href).then((n=>n.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,n&&n.appendChild(i)})).catch((n=>{console.error("There was an error while trying to load client styling from URL",n)}))}const s=class{constructor(i){n(this,i),this.uploadDocuments=t(this,"uploadDocuments",7),this.bankLogin=t(this,"bankLogin",7),this.closePopup=t(this,"closePopup",7),this.predefinedAmounts=[],this.displayedCurrency="",this.handleClick=n=>{switch(n){case"UploadDocuments":this.uploadDocuments.emit(),window.postMessage({type:"uploadDocuments"},window.location.href);break;case"BankLogin":this.bankLogin.emit(),window.postMessage({type:"bankLogin"},window.location.href);break;case"Close":this.closePopup.emit(),window.postMessage({type:"closePopup"},window.location.href)}},this.handleClose=()=>{this.innerOpen=!1,this.hasValidation=!0,this.handleClick("Close")},this.userId="",this.session="",this.endpoint="",this.currency="EUR",this.flow="",this.amount="",this.lang=void 0,this.clientStyling="",this.clientStylingUrl="",this.mbSource=void 0,this.translationUrl="",this.showExistingLimit=!0,this.buttonTextStrategy="",this.open=!1,this.closeType="anyTime",this.hasValidation=!0,this.kycStep=void 0,this.isLoading=!1,this.regularDepositLimitAmount="",this.isSubmitted=!1,this.isUseExistingLimitOptionActive=!0,this.selectedPredefinedAmount=void 0,this.errorMessageOnInitialization="",this.errorMessageOnSubmit="",this.errorMessageOnInput="",this.hasLugasError=!1,this.showCustomAmount=!1,this.newAmount="",this.innerOpen=!1,this.closable=!1}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then((()=>{this.isLoading=!1}))}handleClientStylingChange(n,t){n!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(n,t){n!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}onOpenChange(n){this.innerOpen=n}setScrollable(n){window.postMessage({type:n?"EnableScroll":"DisableScroll"},window.location.href)}async componentWillLoad(){this.innerOpen=this.open,this.closable="anyTime"===this.closeType,this.translationUrl.length>2&&await l(this.translationUrl),await this.fetchDepositLimitConfig(),this.displayedCurrency="EUR"===this.currency?"€":this.currency}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(n,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,n&&n.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)),this.setScrollable(!1))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.setScrollable(!0)}async fetchDepositLimitConfig(){this.isLoading=!0;try{const n=new URL("/api/v1/gm/legislation/config/month-deposit-limit/",this.endpoint),t=await fetch(n.href);if(!t.ok)throw new Error("Failed to load config");const i=await t.json();this.predefinedAmounts=i.preDefinedOptions,this.minAmount=i.minAmount,this.maxAmount=i.maxAmount}catch(n){this.errorMessageOnInitialization=a("error",this.lang),console.error(n)}finally{this.isLoading=!1}}async postPlayerSituation(n,t=!1,i=!1){if(t&&!this.isUseExistingLimitOptionActive)return;this.isSubmitted=!0,this.errorMessageOnSubmit="";const e=new URL(`v2/player/${this.userId}/limit/lugas/`,this.endpoint),l=Object.assign({softMigration:"1"===this.flow,keepLimit:t,roleLimitAmount:i?this.amount:0},n&&{amount:n}),a={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json",Authorization:`Bearer ${this.session}`},body:JSON.stringify(l)};try{const n=await fetch(e.href,a);if(!n.ok){let t;try{t=await n.json()}catch(i){t={message:n.statusText}}throw Object.assign(Object.assign({},t),{status:n.status})}const t=await n.json();this.kycStep=t.popup,this.hasValidation=!1,this.regularDepositLimitAmount=t.regulatorDepositLimitAmount||""}catch(n){this.handleSubmissionError(n,t)}finally{this.isSubmitted=!1,"limitSubmitted"===this.closeType&&(this.closable=!0)}}handleSubmissionError(n,t){var i,e;if(this.errorMessageOnSubmit=a("LugasNotSet",this.lang),t&&(this.isUseExistingLimitOptionActive=!1),3===n.errorCode&&"GmLegislation"===n.errorSourceName){const t=null!==(e=null===(i=n.thirdPartyResponse)||void 0===i?void 0:i.message)&&void 0!==e?e:"";t.includes("F1002")&&(this.errorMessageOnSubmit=a("LugasF1002Error",this.lang),this.hasLugasError=!0,this.isUseExistingLimitOptionActive=!1),console.error(n.error,t)}else console.error("Unexpected Error:",n)}handleAmountClick(n){switch(this.showCustomAmount=!1,this.errorMessageOnInput="",this.selectedPredefinedAmount=n,n){case"Other":this.newAmount="",this.showCustomAmount=!0;break;case"Max":this.newAmount=this.maxAmount.toString(),this.showCustomAmount=!0;break;default:this.newAmount=n,this.postPlayerSituation(this.newAmount,!1,!0)}}handleSubmit(n){n.preventDefault(),this.errorMessageOnInput||this.postPlayerSituation(this.newAmount,!1,!0)}handleValidatorInputChange(n){this.newAmount=n.target.value,this.isValidNumber=!isNaN(Number(this.newAmount)),this.isWithinRange=Number(this.newAmount)>=this.minAmount&&Number(this.newAmount)<=this.maxAmount,this.errorMessageOnInput=this.isWithinRange&&this.isValidNumber?"":a("invalidInputMessageLimit",this.lang,{values:{currency:this.displayedCurrency,minValue:this.minAmount,maxValue:this.maxAmount}});const t=this.newAmount.split(".");t.length>1&&(this.newAmount=`${t[0]}.${t[1].slice(0,2)}`,n.target.value=this.newAmount)}renderOption(n){return i("button",{onClick:()=>this.handleClick(n)},i("div",{class:"Option"},a(n,this.lang)),i("div",{class:"OptionSubTitle"},a(`${n}SubTitle`,this.lang)),i("img",{class:"ArrowIcon",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjgiIGZpbGw9Im5vbmUiPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0wIDcuMDYgMy4wNTUgNCAwIC45NC45NCAwbDQuMDAxIDQtNCA0TDAgNy4wNloiIG9wYWNpdHk9Ii40Ii8+PC9zdmc+",alt:"ArrowIcon"}))}renderKYC(n){switch(n){case 0:return void this.handleClick("Close");case 1:return i("div",{class:"ValidatorContainer"},i("div",{class:"Paragraphs"},i("p",null,a("kycSure",this.lang,{values:{currency:this.currency}})),i("p",null,a("kyc1",this.lang,{values:{currency:this.currency}})),i("div",{class:"ContainerButtons"},i("button",{class:"FirstButton",onClick:()=>this.postPlayerSituation(this.newAmount,!1)},a("setNewLimit",this.lang,{values:{currency:this.currency}})),i("button",{class:"SecondButton",onClick:()=>this.postPlayerSituation(this.amount,!0)},a("keepExistingLimit",this.lang,{values:{currency:this.currency}})))));case 2:return i("div",{class:"ValidatorContainer"},i("img",{class:"DocumentIcon",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0MCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTU1LjM2NCAxMTAuNzk5YzMwLjU3NyAwIDU1LjM2NS0yNC44MDMgNTUuMzY1LTU1LjRDMTEwLjcyOSAyNC44MDMgODUuOTQxIDAgNTUuMzY1IDAgMjQuNzg3IDAgMCAyNC44MDMgMCA1NS40YzAgMzAuNTk2IDI0Ljc4OCA1NS4zOTkgNTUuMzY0IDU1LjM5OVoiLz48cGF0aCBmaWxsPSJ1cmwoI2IpIiBkPSJNMjAuMTIyIDk4LjY0N0gyMDV2NTEuMzg3SDIwLjEyMnoiIG9wYWNpdHk9Ii40Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTQ2Ljc0OCAxOS42NC0zMy43MiA1MS44IDQ2LjUyOCAzMS42MTEgNDAuOTI2LTYxLjczTDY2Ljk3IDE3LjkwNmwtMjAuMjIyIDEuNzM1WiIvPjxwYXRoIG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GpvUkRDSEZ2SENnZ2dkczhkeHQ3dlRGS05JVFlqb1JEQ1BHZ3VLV0VCQTU1amIzZkRDVWFRdXlPaEVNSThlQTVrb1FjQlVtR0VJY2g0UkJDUEZydVNrUWtHVUxjSGdtSEVPTEpjVnNSa1dBSWNYd2tIRUlJSVlRNE9jVzJCVUlJSVlRUXQwWENJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVN08vd2RCTFJKM2dMSkpOd0FBQUFCSlJVNUVya0pnZ2c9PSIgaWQ9ImUiIHdpZHRoPSI1NDAiIGhlaWdodD0iMTUwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIi8+PC9kZWZzPjwvc3ZnPg==",alt:"DocumentIcon"}),i("div",{class:"Paragraphs"},i("p",{class:"KycThanks"},a("kycThanks",this.lang,{values:{currency:this.currency}})),i("p",{class:"Kyc2",innerHTML:a("kyc2",this.lang,{values:{currency:this.currency,amount:this.regularDepositLimitAmount}})}),i("div",{class:"ContainerOptions"},["BankLogin","UploadDocuments"].map((n=>this.renderOption(n))))));default:return i("div",{class:"ValidatorContainer"},i("div",{class:"Paragraphs"},i("div",{class:"IconContainer"},i("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjt0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eSIgdmlld0JveD0iMCAwIDkwIDY5Ij48cGF0aCBkPSJtMCAzOCAxMC0xMyAyNiAyMkw3OCAwbDEyIDExLTUzIDU4eiIgc3R5bGU9ImZpbGw6IzAwMDtmaWxsLXJ1bGU6bm9uemVybyIvPjwvc3ZnPg==",alt:"SuccessIcon"})),i("p",{class:"ParagraphStep3"},a("kycSuccess",this.lang,{values:{currency:this.currency}})),i("p",{class:"ParagraphStep3"},a("kyc3",this.lang,{values:{currency:this.currency}})),i("div",{class:"ContainerButtons"},i("button",{class:"SecondButton",onClick:()=>this.handleClick("Close")},a("Close",this.lang,{values:{currency:this.currency}})))))}}renderPredefinedButtons(){return this.predefinedAmounts.map((n=>i("button",{class:this.selectedPredefinedAmount===n?"Active":"",onClick:()=>this.handleAmountClick(n),disabled:this.hasLugasError},n)))}goToPrivacyPolicy(){window.postMessage({type:"GoToPrivacyPolicy"})}formatSetButtonText(){const n=Number.parseFloat(this.newAmount||"0");let t="";return t="preferInteger"===this.buttonTextStrategy&&Number.isInteger(n)?`${n}`:n.toFixed(2),a("LugasSetLimitDialogButtonSetLimit",this.lang,{values:{currency:this.displayedCurrency,amount:t}})}renderSetButton(){const n=this.hasLugasError||this.isSubmitted||!Boolean(this.newAmount)||Boolean(this.errorMessageOnInput);return i("button",{class:"PrimaryButton SetLimitBtn",type:"submit",disabled:n},this.formatSetButtonText())}renderValidator(){return i("div",{class:"ValidatorContainer"},this.errorMessageOnSubmit&&i("div",{class:"ErrorContainer"},!this.hasLugasError&&i("span",{class:"DismissError",onClick:()=>this.errorMessageOnSubmit=""},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none"},i("path",{d:"M8.18659 0.14708C8.37063 0.33182 8.38174 0.62421 8.21888 0.821452L8.18659 0.857219L4.87619 4.16727L8.18659 7.47732C8.27743 7.56861 8.32973 7.69132 8.33266 7.82007C8.3356 7.94883 8.28895 8.0738 8.20235 8.16913C8.11576 8.26446 7.99584 8.32288 7.86739 8.3323C7.73895 8.34172 7.61179 8.30143 7.51221 8.21975L7.47645 8.18746L4.1664 4.87706L0.856348 8.18746C0.765058 8.27831 0.64235 8.3306 0.513592 8.33354C0.384834 8.33647 0.25987 8.28982 0.164536 8.20322C0.0692018 8.11663 0.0107856 7.99671 0.00136402 7.86827C-0.00805761 7.73982 0.0322357 7.61266 0.113914 7.51308L0.146209 7.47732L3.4566 4.16727L0.146209 0.857219C0.0553613 0.765928 0.00306475 0.64322 0.000130477 0.514462C-0.0028038 0.385704 0.0438486 0.260741 0.130443 0.165407C0.217038 0.0700723 0.336953 0.0116562 0.4654 0.00223455C0.593846 -0.00718708 0.721002 0.0331062 0.820581 0.114785L0.856348 0.14708L4.1664 3.45748L7.47645 0.14708C7.52307 0.10045 7.57843 0.0634608 7.63935 0.0382248C7.70027 0.0129888 7.76557 0 7.83152 0C7.89746 0 7.96276 0.0129888 8.02368 0.0382248C8.0846 0.0634608 8.13996 0.10045 8.18659 0.14708Z",fill:"#111111"}))),i("p",{class:"ErrorParagraph"},i("span",{class:"ErrorIcon"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9"},i("path",{d:"M8.18659 0.14708C8.37063 0.33182 8.38174 0.62421 8.21888 0.821452L8.18659 0.857219L4.87619 4.16727L8.18659 7.47732C8.27743 7.56861 8.32973 7.69132 8.33266 7.82007C8.3356 7.94883 8.28895 8.0738 8.20235 8.16913C8.11576 8.26446 7.99584 8.32288 7.86739 8.3323C7.73895 8.34172 7.61179 8.30143 7.51221 8.21975L7.47645 8.18746L4.1664 4.87706L0.856348 8.18746C0.765058 8.27831 0.64235 8.3306 0.513592 8.33354C0.384834 8.33647 0.25987 8.28982 0.164536 8.20322C0.0692018 8.11663 0.0107856 7.99671 0.00136402 7.86827C-0.00805761 7.73982 0.0322357 7.61266 0.113914 7.51308L0.146209 7.47732L3.4566 4.16727L0.146209 0.857219C0.0553613 0.765928 0.00306475 0.64322 0.000130477 0.514462C-0.0028038 0.385704 0.0438486 0.260741 0.130443 0.165407C0.217038 0.0700723 0.336953 0.0116562 0.4654 0.00223455C0.593846 -0.00718708 0.721002 0.0331062 0.820581 0.114785L0.856348 0.14708L4.1664 3.45748L7.47645 0.14708C7.52307 0.10045 7.57843 0.0634608 7.63935 0.0382248C7.70027 0.0129888 7.76557 0 7.83152 0C7.89746 0 7.96276 0.0129888 8.02368 0.0382248C8.0846 0.0634608 8.13996 0.10045 8.18659 0.14708Z"}))),i("div",{innerHTML:this.errorMessageOnSubmit}))),i("div",{class:"Paragraphs"},i("p",null,a("LugasInfoBox",this.lang))),i("div",{class:"LimitAmountWrapper"},this.isSubmitted&&i("slot",{name:"spinner"})&&i("div",{class:"LoadingWrapper"},i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"}))),i("p",{class:"ChooseLimitLabel"},a("ChooseLimit",this.lang)),i("div",{class:"PredefinedAmounts"},i("button",{class:"Other"===this.selectedPredefinedAmount?"Active":"",onClick:()=>this.handleAmountClick("Other")},a("ButtonCustomValue",this.lang)),this.renderPredefinedButtons(),i("button",{class:"Max"===this.selectedPredefinedAmount?"Active":"",onClick:()=>this.handleAmountClick("Max")},a("ButtonMax",this.lang))),this.showCustomAmount&&i("form",{onSubmit:n=>this.handleSubmit(n)},this.showCustomAmount&&i("div",null,i("input",{class:"CustomAmountInput "+(this.errorMessageOnInput?"InvalidInput":""),type:"number",value:"Max"===this.selectedPredefinedAmount?this.maxAmount:null,step:.01,placeholder:"0.00",disabled:this.hasLugasError||"Max"===this.selectedPredefinedAmount,onInput:n=>this.handleValidatorInputChange(n)}),this.errorMessageOnInput&&i("p",{class:"InvalidParagraph"},this.errorMessageOnInput)),this.selectedPredefinedAmount&&this.renderSetButton())))}renderTitle(){switch(this.kycStep){case 2:case 3:return a("LugasSetLimitDialogTitle2",this.lang);default:return a("LugasSetLimitDialogTitle",this.lang)}}render(){const n=this.renderKYC(this.kycStep),t=this.renderValidator();return this.isLoading?i("div",null,i("p",null,a("loading",this.lang,{values:{currency:this.currency}}))):this.errorMessageOnInitialization?i("div",null,i("p",null,this.errorMessageOnInitialization)):i("div",{class:"ModalContainer"+(this.innerOpen?"":" Close"),ref:n=>this.stylingContainer=n,"data-current-step":this.kycStep},i("div",{class:"Container"},i("div",{class:"ModalHeader"},i("h2",null,this.renderTitle()),this.closable&&i("button",{onClick:this.handleClose},i("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("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"})))),i("div",{class:"ModalBody"},this.hasValidation?t:n,this.hasValidation&&i("div",{class:"ModalFooter"},i("hr",null),i("div",{class:"Paragraphs"},this.showExistingLimit?i("p",{class:"ExistingLimit"},a("LugasSetLimitDialogExistingLimit.text",this.lang),i("span",{class:this.isUseExistingLimitOptionActive?"Link":"Link Inactive",onClick:()=>this.postPlayerSituation(this.amount,!0)},a("LugasSetLimitDialogExistingLimit.link",this.lang))):null,i("p",{class:"PrivacyNote"},a("LugasSetLimitDialogPrivacyNote.text",this.lang),i("span",{class:"Link",onClick:this.goToPrivacyPolicy},a("LugasSetLimitDialogPrivacyNote.link",this.lang))))))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],open:["onOpenChange"]}}};s.style='@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");\n:host {\n font-family: "Roboto", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions {\n padding-top: 10px;\n}\n.ContainerOptions > button {\n border-radius: 0;\n border-left: 0;\n border-right: 0;\n border-bottom: 0;\n border-top: 1px solid var(--emw--color-white, #E8E9EB);\n background-color: var(--emw--color-white, #FFFFFF);\n display: grid;\n text-align: left;\n font-size: 12px;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr 20px;\n color: var(--emw--color-black, #111111);\n}\n.ContainerOptions > button:last-child {\n padding-bottom: 0;\n}\n.ContainerOptions .Option {\n font-family: "Roboto", sans-serif;\n grid-column: 1/2;\n grid-row: 1/2;\n font-weight: 400;\n}\n.ContainerOptions .OptionSubTitle {\n font-family: "Roboto Condensed", sans-serif;\n font-weight: 300;\n grid-column: 1/2;\n grid-row: 2/3;\n}\n.ContainerOptions .ArrowIcon {\n grid-column: 2/3;\n grid-row: 1/3;\n margin: auto;\n}\n\ninput {\n /* Firefox */\n -moz-appearance: textfield;\n /* Chrome, Safari, Edge, Opera */\n}\ninput::-webkit-outer-spin-button, input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.ModalContainer.Close {\n display: none;\n}\n\n@container (max-width: 1300px) {\n .ModalContainer .Container {\n width: 50%;\n }\n}\n@container (max-width: 800px) {\n .ModalContainer .Container {\n width: 70%;\n }\n}\n.LoadingWrapper {\n width: 100%;\n height: 100%;\n background: var(--emw--color-white-transparency-80, rgba(255, 255, 255, 0.8));\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n width: 30px;\n height: 30px;\n}\n.spinner .path {\n stroke: var(--emw--color-primary, #6BB816);\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.DocumentIcon {\n padding: 20px 48px 0 86px;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';export{s as player_lugas_limit}
|
|
1
|
+
import{r as n,c as t,h as i,F as e}from"./index-b24be12d.js";let a={en:{LugasSetLimitDialogTitle:"Monthly Central Deposit Limit",LugasSetLimitDialogTitle2:"Responsible Gaming",LugasInfoBox:"The central limit is your monthly deposit limit for all licensed websites in Germany. Note that your limit and deposit details may vary if changed on other sites.",ChooseLimit:"Choose Limit",ButtonCustomValue:"Other",ButtonMax:"Max",LugasSetLimitDialogButtonSetLimit:"SET LIMIT {amount} {currency}",invalidInputMessageLimit:"The value entered must be between {minValue} {currency} and {maxValue} {currency}.",LugasSetLimitDialogPrivacyNote:{text:"The selected limit is connected to processing player's personal data due to our legal obligations. In some cases setting a limit is a consent to processing player's personal data. For details see our ",link:"Privacy Policy"},LugasSetLimitDialogExistingLimit:{text:"If you would like to use your existing limit ",link:"click here"},LugasNotSet:"No deposit limit set. Please enter a new limit.",loading:"Loading, please wait ...",error:"It was an error while trying to fetch the data",kyc1:"All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.",kyc2:"We could not apply the desired LUGAS limit. To increase the limit, one of the following methods can be used. In the meantime, the following value will be set for the limit: {amount} {currency}",kyc3:"We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.",kycThanks:"THANK YOU!",kycSuccess:"Successful",kycSure:"Are you sure?",opDepositLimitError:"The maximum deposit you can set is {amount} {currency}. Our customer service team is happy to help if needed.",setNewLimit:"SET NEW LIMIT",keepExistingLimit:"KEEP EXISTING LIMIT",Close:"CLOSE",UploadDocuments:"Upload documents",UploadDocumentsSubTitle:"Last payslip as well as a current bank statement",BankLogin:"Online bank login",BankLoginSubTitle:"Log into your bank account to verify your details",LugasF1002Error:"We were unable to set your cross-provider deposit limit at LUGAS due to a technical error. Please contact our support team and provide error code F1002. We'll be happy to assist you in resolving this issue."},de:{LugasSetLimitDialogTitle:"Monatliches zentrales Einzahlungslimit",LugasSetLimitDialogTitle2:"Spielerschutz",LugasInfoBox:"Das zentrale Limit ist Ihr monatliches Einzahlungslimit für alle lizenzierten Websites in Deutschland. Beachten Sie, dass sich Ihr Limit und der verbleibende Betrag ändern können, wenn Sie auf anderen Websites Einzahlungen vornehmen oder Ihr Limit anpassen.",ChooseLimit:"Choose Limit",ButtonCustomValue:"Eigener",ButtonMax:"Max",LugasSetLimitDialogButtonSetLimit:"LIMIT SETZEN {amount} {currency}",invalidInputMessageLimit:"Der eingegebene Wert muss zwischen {minValue} und {maxValue} {currency} liegen.",LugasSetLimitDialogPrivacyNote:{text:"Das gewählte Limit steht wegen unserer rechtlichen Verpflichtungen in Verbindung mit der Verarbeitung persönlicher Daten der Spieler. In manchen Fällen gilt das Setzen eines Limits als Einwilligung zur Verarbeitung persönlicher Daten des Spielers. Mehr Infos unter ",link:"Erklärung zum Datenschutz"},LugasSetLimitDialogExistingLimit:{text:"Wenn Sie Ihr bestehendes Limit nutzen möchten, ",link:"klicken Sie hier"},LugasNotSet:"Kein Einzahlungslimit festgelegt. Bitte geben Sie ein neues Limit ein.",loading:"Lade, bitte warten ...",error:"Beim Laden der Daten ist ein Fehler aufgetreten.",kyc1:"Alle Änderungen des Einzahlungslimits müssen gemäß den gesetzlichen Anforderungen an LUGAS gemeldet werden. Bitte beachten Sie, dass eine Senkung des Limits sofort wirksam wird, während eine Erhöhung spätestens nach 8 Tagen in Kraft tritt.",kyc2:"Das gewünschte LUGAS-Limit konnte nicht gesetzt werden. Um das Limit zu erhöhen, kann eine der folgenden Methoden verwendet werden. In der Zwischenzeit wird für das Limit folgender Wert eingemeldet: {amount} {currency}",kyc3:"Wir haben Ihr gewünschtes Limit an LUGAS übermittelt. Bitte beachten Sie, dass das Limit spätestens nach 8 Tagen in Kraft tritt.",kycThanks:"DANKE SCHÖN!",kycSuccess:"Successful",kycSure:"Sind Sie sicher?",opDepositLimitError:"Das maximale Einzahlungslimit, das Sie setzen können, beträgt {amount} {currency}. Unser Kundenservice hilft Ihnen gerne weiter, falls Sie Unterstützung benötigen.",setNewLimit:"NEUES LIMIT FESTLEGEN",keepExistingLimit:"AKTUELLES LIMIT BEIBEHALTEN",Close:"SCHLIESSEN",UploadDocuments:"Dokumente hochladen",UploadDocumentsSubTitle:"Letzte Gehaltsabrechnung sowie ein aktueller Kontoauszug",BankLogin:"Online-Banking-Login",BankLoginSubTitle:"Melden Sie sich bei Ihrem Bankkonto an, um Ihre Daten zu überprüfen"}};const l=n=>new Promise((t=>{fetch(n).then((n=>n.json())).then((n=>{Object.keys(n).forEach((t=>{a[t]||(a[t]={});for(let i in n[t])a[t][i]=n[t][i]})),t(!0)}))})),o=(n,t,i)=>{let e=(l=a[t||"de"],n.split(".").reduce(((n,t)=>n&&void 0!==n[t]?n[t]:null),l));var l;if(null===e)return n;if(void 0!==i)for(const[n,t]of Object.entries(i.values)){const i=new RegExp(`{${n}}`,"g");e=e.replace(i,t)}return e};function d(n,t){if(n){const i=document.createElement("style");i.innerHTML=t,n.appendChild(i)}}function s(n,t){const i=new URL(t);fetch(i.href).then((n=>n.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,n&&n.appendChild(i)})).catch((n=>{console.error("There was an error while trying to load client styling from URL",n)}))}const r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0MCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTU1LjM2NCAxMTAuNzk5YzMwLjU3NyAwIDU1LjM2NS0yNC44MDMgNTUuMzY1LTU1LjRDMTEwLjcyOSAyNC44MDMgODUuOTQxIDAgNTUuMzY1IDAgMjQuNzg3IDAgMCAyNC44MDMgMCA1NS40YzAgMzAuNTk2IDI0Ljc4OCA1NS4zOTkgNTUuMzY0IDU1LjM5OVoiLz48cGF0aCBmaWxsPSJ1cmwoI2IpIiBkPSJNMjAuMTIyIDk4LjY0N0gyMDV2NTEuMzg3SDIwLjEyMnoiIG9wYWNpdHk9Ii40Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTQ2Ljc0OCAxOS42NC0zMy43MiA1MS44IDQ2LjUyOCAzMS42MTEgNDAuOTI2LTYxLjczTDY2Ljk3IDE3LjkwNmwtMjAuMjIyIDEuNzM1WiIvPjxwYXRoIGZpbGw9IiNEN0VEQjkiIGQ9Im01MC4yMTQgMjAuNzk3LTMzLjE3IDQ5Ljc3OSA0MS41NzkgMjguMDEgMzcuNjU4LTU2LjUzLTMyLjc3OC0yMi40MTUtMTMuMjg5IDEuMTU2WiIvPjxwYXRoIGZpbGw9InVybCgjYykiIGQ9Im00Ni43NDggMTkuNjQgMjAuNTExLTIuMDIzIDMzLjI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1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVNk9oRU1JSVlRUUowZkNJWVFRUW9pVEkrRVFRZ2doeE1tUmNBZ2hoQkRpNUVnNGhCQkNDSEZ5SkJ4Q0NDR0VPRGtTRGlHRUVFS2NIQW1IRUVJSUlVN08vd2RCTFJKM2dMSkpOd0FBQUFCSlJVNUVya0pnZ2c9PSIgaWQ9ImUiIHdpZHRoPSI1NDAiIGhlaWdodD0iMTUwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIi8+PC9kZWZzPjwvc3ZnPg==",U=class{constructor(i){n(this,i),this.uploadDocuments=t(this,"uploadDocuments",7),this.bankLogin=t(this,"bankLogin",7),this.closePopup=t(this,"closePopup",7),this.predefinedAmounts=[],this.displayedCurrency="",this.handleClick=n=>{switch(n){case"UploadDocuments":this.uploadDocuments.emit(),window.postMessage({type:"uploadDocuments"},window.location.href);break;case"BankLogin":this.bankLogin.emit(),window.postMessage({type:"bankLogin"},window.location.href);break;case"Close":this.closePopup.emit(),window.postMessage({type:"closePopup"},window.location.href)}},this.handleClose=()=>{this.innerOpen=!1,this.hasValidation=!0,this.kycStep=void 0,this.isUseExistingLimitOptionActive=!0,this.selectedPredefinedAmount="",this.errorMessageOnInitialization="",this.errorMessageOnSubmit="",this.errorMessageOnInput="",this.hasLugasError=!1,this.showCustomAmount=!1,this.newAmount="",this.errorMessageOnInitialization="",this.step2DialogType="default",this.handleClick("Close")},this.userId="",this.session="",this.endpoint="",this.currency="EUR",this.flow="",this.amount="",this.lang=void 0,this.clientStyling="",this.clientStylingUrl="",this.mbSource=void 0,this.translationUrl="",this.showExistingLimit=!0,this.buttonTextStrategy="",this.open=!1,this.closeType="anyTime",this.hasValidation=!0,this.kycStep=void 0,this.isLoading=!1,this.regularDepositLimitAmount="",this.isSubmitted=!1,this.isUseExistingLimitOptionActive=!0,this.selectedPredefinedAmount=void 0,this.errorMessageOnInitialization="",this.errorMessageOnSubmit="",this.errorMessageOnInput="",this.hasLugasError=!1,this.showCustomAmount=!1,this.newAmount="",this.innerOpen=!1,this.closable=!1,this.step2DialogType="default",this.opDepositLimit=void 0}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then((()=>{this.isLoading=!1}))}handleClientStylingChange(n,t){n!=t&&d(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(n,t){n!=t&&this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)}onOpenChange(n){this.innerOpen=n}setScrollable(n){window.postMessage({type:n?"EnableScroll":"DisableScroll"},window.location.href)}async componentWillLoad(){this.innerOpen=this.open,this.closable="anyTime"===this.closeType,this.translationUrl.length>2&&await l(this.translationUrl),await this.fetchDepositLimitConfig(),this.displayedCurrency="EUR"===this.currency?"€":this.currency}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(n,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,n&&n.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&d(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)),this.setScrollable(!1))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.setScrollable(!0)}async fetchDepositLimitConfig(){this.isLoading=!0;try{const n=new URL("/api/v1/gm/legislation/config/month-deposit-limit/",this.endpoint),t=await fetch(n.href);if(!t.ok)throw new Error("Failed to load config");const i=await t.json();this.predefinedAmounts=i.preDefinedOptions,this.minAmount=i.minAmount,this.maxAmount=i.maxAmount}catch(n){this.errorMessageOnInitialization=o("error",this.lang),console.error(n)}finally{this.isLoading=!1}}async postPlayerSituation(n,t=!1,i=!1){if(t&&!this.isUseExistingLimitOptionActive)return;this.isSubmitted=!0,this.errorMessageOnSubmit="";const e=new URL(`v2/player/${this.userId}/limit/lugas/`,this.endpoint),a=Object.assign({softMigration:"1"===this.flow,keepLimit:t,roleLimitAmount:i?this.amount:0},n&&{amount:n}),l={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json",Authorization:`Bearer ${this.session}`},body:JSON.stringify(a)};try{const n=await fetch(e.href,l);if(!n.ok){let t;try{t=await n.json()}catch(i){t={message:n.statusText}}throw Object.assign(Object.assign({},t),{status:n.status})}const t=await n.json();this.kycStep=t.popup,this.hasValidation=!1,this.regularDepositLimitAmount=t.regulatorDepositLimitAmount||""}catch(n){this.handleSubmissionError(n,t)}finally{this.isSubmitted=!1,"limitSubmitted"===this.closeType&&(this.closable=!0)}}handleSubmissionError(n,t){var i,e,a;if(this.errorMessageOnSubmit=o("LugasNotSet",this.lang),t&&(this.isUseExistingLimitOptionActive=!1),3===n.errorCode&&"GmLegislation"===n.errorSourceName){const t=null===(i=n.thirdPartyResponse)||void 0===i?void 0:i.errorCode,l=null!==(a=null===(e=n.thirdPartyResponse)||void 0===e?void 0:e.message)&&void 0!==a?a:"";if("GmErr_LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR"===t){this.step2DialogType="op-deposit-limit-error";const t=n.thirdPartyResponse.errors.LUGAS_EXCEEDS_OPERATOR_AMOUNT_ERROR[0].match(/\d+\.\d+/g);this.opDepositLimit=parseFloat(t[1])}l.includes("F1002")&&(this.errorMessageOnSubmit=o("LugasF1002Error",this.lang),this.hasLugasError=!0,this.isUseExistingLimitOptionActive=!1),console.error(n.error,l)}else console.error("Unexpected Error:",n)}handleAmountClick(n){switch(this.showCustomAmount=!1,this.errorMessageOnInput="",this.selectedPredefinedAmount=n,n){case"Other":this.newAmount="",this.showCustomAmount=!0;break;case"Max":this.newAmount=this.maxAmount.toString(),this.showCustomAmount=!0;break;default:this.newAmount=n,this.postPlayerSituation(this.newAmount,!1,!0)}}handleSubmit(n){n.preventDefault(),this.errorMessageOnInput||this.postPlayerSituation(this.newAmount,!1,!0)}handleValidatorInputChange(n){this.newAmount=n.target.value,this.isValidNumber=!isNaN(Number(this.newAmount)),this.isWithinRange=Number(this.newAmount)>=this.minAmount&&Number(this.newAmount)<=this.maxAmount,this.errorMessageOnInput=this.isWithinRange&&this.isValidNumber?"":o("invalidInputMessageLimit",this.lang,{values:{currency:this.displayedCurrency,minValue:this.minAmount,maxValue:this.maxAmount}});const t=this.newAmount.split(".");t.length>1&&(this.newAmount=`${t[0]}.${t[1].slice(0,2)}`,n.target.value=this.newAmount)}renderOption(n){return i("button",{onClick:()=>this.handleClick(n)},i("div",{class:"Option"},o(n,this.lang)),i("div",{class:"OptionSubTitle"},o(`${n}SubTitle`,this.lang)),i("img",{class:"ArrowIcon",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjgiIGZpbGw9Im5vbmUiPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0wIDcuMDYgMy4wNTUgNCAwIC45NC45NCAwbDQuMDAxIDQtNCA0TDAgNy4wNloiIG9wYWNpdHk9Ii40Ii8+PC9zdmc+",alt:"ArrowIcon"}))}renderKYC(n){switch(n){case 0:return void this.handleClose();case 1:return i("div",{class:"ValidatorContainer"},i("div",{class:"Paragraphs"},i("p",null,o("kycSure",this.lang,{values:{currency:this.currency}})),i("p",null,o("kyc1",this.lang,{values:{currency:this.currency}})),i("div",{class:"ContainerButtons"},i("button",{class:"FirstButton",onClick:()=>this.postPlayerSituation(this.newAmount,!1)},o("setNewLimit",this.lang,{values:{currency:this.currency}})),i("button",{class:"SecondButton",onClick:()=>this.postPlayerSituation(this.amount,!0)},o("keepExistingLimit",this.lang,{values:{currency:this.currency}})))));case 2:return i("div",{class:"ValidatorContainer"},i("img",{class:"DocumentIcon",src:r,alt:"DocumentIcon"}),i("div",{class:"Paragraphs"},i("p",{class:"KycThanks"},o("kycThanks",this.lang,{values:{currency:this.currency}})),i("p",{class:"Kyc2",innerHTML:o("kyc2",this.lang,{values:{currency:this.currency,amount:this.regularDepositLimitAmount}})}),i("div",{class:"ContainerOptions"},["BankLogin","UploadDocuments"].map((n=>this.renderOption(n))))));default:return i("div",{class:"ValidatorContainer"},i("div",{class:"Paragraphs"},i("div",{class:"IconContainer"},i("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjt0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eSIgdmlld0JveD0iMCAwIDkwIDY5Ij48cGF0aCBkPSJtMCAzOCAxMC0xMyAyNiAyMkw3OCAwbDEyIDExLTUzIDU4eiIgc3R5bGU9ImZpbGw6IzAwMDtmaWxsLXJ1bGU6bm9uemVybyIvPjwvc3ZnPg==",alt:"SuccessIcon"})),i("p",{class:"ParagraphStep3"},o("kycSuccess",this.lang,{values:{currency:this.currency}})),i("p",{class:"ParagraphStep3"},o("kyc3",this.lang,{values:{currency:this.currency}})),i("div",{class:"ContainerButtons"},i("button",{class:"SecondButton",onClick:this.handleClose},o("Close",this.lang,{values:{currency:this.currency}})))))}}renderPredefinedButtons(){return this.predefinedAmounts.map((n=>i("button",{class:this.selectedPredefinedAmount===n?"Active":"",onClick:()=>this.handleAmountClick(n),disabled:this.hasLugasError},n)))}goToPrivacyPolicy(){window.postMessage({type:"GoToPrivacyPolicy"})}formatSetButtonText(){const n=Number.parseFloat(this.newAmount||"0");let t="";return t="preferInteger"===this.buttonTextStrategy&&Number.isInteger(n)?`${n}`:n.toFixed(2),o("LugasSetLimitDialogButtonSetLimit",this.lang,{values:{currency:this.displayedCurrency,amount:t}})}renderSetButton(){const n=this.hasLugasError||this.isSubmitted||!Boolean(this.newAmount)||Boolean(this.errorMessageOnInput);return i("button",{class:"PrimaryButton SetLimitBtn",type:"submit",disabled:n},this.formatSetButtonText())}renderValidator(){return i("div",{class:"ValidatorContainer"},this.errorMessageOnSubmit&&i("div",{class:"ErrorContainer"},!this.hasLugasError&&i("span",{class:"DismissError",onClick:()=>this.errorMessageOnSubmit=""},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none"},i("path",{d:"M8.18659 0.14708C8.37063 0.33182 8.38174 0.62421 8.21888 0.821452L8.18659 0.857219L4.87619 4.16727L8.18659 7.47732C8.27743 7.56861 8.32973 7.69132 8.33266 7.82007C8.3356 7.94883 8.28895 8.0738 8.20235 8.16913C8.11576 8.26446 7.99584 8.32288 7.86739 8.3323C7.73895 8.34172 7.61179 8.30143 7.51221 8.21975L7.47645 8.18746L4.1664 4.87706L0.856348 8.18746C0.765058 8.27831 0.64235 8.3306 0.513592 8.33354C0.384834 8.33647 0.25987 8.28982 0.164536 8.20322C0.0692018 8.11663 0.0107856 7.99671 0.00136402 7.86827C-0.00805761 7.73982 0.0322357 7.61266 0.113914 7.51308L0.146209 7.47732L3.4566 4.16727L0.146209 0.857219C0.0553613 0.765928 0.00306475 0.64322 0.000130477 0.514462C-0.0028038 0.385704 0.0438486 0.260741 0.130443 0.165407C0.217038 0.0700723 0.336953 0.0116562 0.4654 0.00223455C0.593846 -0.00718708 0.721002 0.0331062 0.820581 0.114785L0.856348 0.14708L4.1664 3.45748L7.47645 0.14708C7.52307 0.10045 7.57843 0.0634608 7.63935 0.0382248C7.70027 0.0129888 7.76557 0 7.83152 0C7.89746 0 7.96276 0.0129888 8.02368 0.0382248C8.0846 0.0634608 8.13996 0.10045 8.18659 0.14708Z",fill:"#111111"}))),i("p",{class:"ErrorParagraph"},i("span",{class:"ErrorIcon"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9"},i("path",{d:"M8.18659 0.14708C8.37063 0.33182 8.38174 0.62421 8.21888 0.821452L8.18659 0.857219L4.87619 4.16727L8.18659 7.47732C8.27743 7.56861 8.32973 7.69132 8.33266 7.82007C8.3356 7.94883 8.28895 8.0738 8.20235 8.16913C8.11576 8.26446 7.99584 8.32288 7.86739 8.3323C7.73895 8.34172 7.61179 8.30143 7.51221 8.21975L7.47645 8.18746L4.1664 4.87706L0.856348 8.18746C0.765058 8.27831 0.64235 8.3306 0.513592 8.33354C0.384834 8.33647 0.25987 8.28982 0.164536 8.20322C0.0692018 8.11663 0.0107856 7.99671 0.00136402 7.86827C-0.00805761 7.73982 0.0322357 7.61266 0.113914 7.51308L0.146209 7.47732L3.4566 4.16727L0.146209 0.857219C0.0553613 0.765928 0.00306475 0.64322 0.000130477 0.514462C-0.0028038 0.385704 0.0438486 0.260741 0.130443 0.165407C0.217038 0.0700723 0.336953 0.0116562 0.4654 0.00223455C0.593846 -0.00718708 0.721002 0.0331062 0.820581 0.114785L0.856348 0.14708L4.1664 3.45748L7.47645 0.14708C7.52307 0.10045 7.57843 0.0634608 7.63935 0.0382248C7.70027 0.0129888 7.76557 0 7.83152 0C7.89746 0 7.96276 0.0129888 8.02368 0.0382248C8.0846 0.0634608 8.13996 0.10045 8.18659 0.14708Z"}))),i("div",{innerHTML:this.errorMessageOnSubmit}))),i("div",{class:"Paragraphs"},i("p",null,o("LugasInfoBox",this.lang))),i("div",{class:"LimitAmountWrapper"},this.isSubmitted&&i("slot",{name:"spinner"})&&i("div",{class:"LoadingWrapper"},i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"}))),i("p",{class:"ChooseLimitLabel"},o("ChooseLimit",this.lang)),i("div",{class:"PredefinedAmounts"},i("button",{class:"Other"===this.selectedPredefinedAmount?"Active":"",onClick:()=>this.handleAmountClick("Other")},o("ButtonCustomValue",this.lang)),this.renderPredefinedButtons(),i("button",{class:"Max"===this.selectedPredefinedAmount?"Active":"",onClick:()=>this.handleAmountClick("Max")},o("ButtonMax",this.lang))),this.showCustomAmount&&i("form",{onSubmit:n=>this.handleSubmit(n)},this.showCustomAmount&&i("div",null,i("input",{class:"CustomAmountInput "+(this.errorMessageOnInput?"InvalidInput":""),type:"number",value:"Max"===this.selectedPredefinedAmount?this.maxAmount:null,step:.01,placeholder:"0.00",disabled:this.hasLugasError||"Max"===this.selectedPredefinedAmount,onInput:n=>this.handleValidatorInputChange(n)}),this.errorMessageOnInput&&i("p",{class:"InvalidParagraph"},this.errorMessageOnInput)),this.selectedPredefinedAmount&&this.renderSetButton())))}renderTitle(){switch(this.kycStep){case 2:case 3:return o("LugasSetLimitDialogTitle2",this.lang);default:return o("LugasSetLimitDialogTitle",this.lang)}}renderModalHeader(){const n=-1!==[2,3].indexOf(this.kycStep)?"LugasSetLimitDialogTitle2":"LugasSetLimitDialogTitle",t=o(n,this.lang);return i(e,null,i("h2",null,t),this.closable&&i("button",{onClick:this.handleClose},i("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("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"}))))}renderModalBody(){return"op-deposit-limit-error"===this.step2DialogType?i("div",{class:"ValidatorContainer"},i("img",{class:"DocumentIcon",src:r,alt:"DocumentIcon"}),i("div",{class:"Paragraphs"},i("p",{class:"KycThanks"},o("kycThanks",this.lang,{values:{currency:this.currency}})),i("p",{class:"Kyc2",innerHTML:o("opDepositLimitError",this.lang,{values:{currency:this.currency,amount:this.opDepositLimit}})}))):i(e,null,this.hasValidation?this.renderValidator():this.renderKYC(this.kycStep),this.hasValidation&&i("div",{class:"ModalFooter"},i("hr",null),i("div",{class:"Paragraphs"},this.showExistingLimit?i("p",{class:"ExistingLimit"},o("LugasSetLimitDialogExistingLimit.text",this.lang),i("span",{class:this.isUseExistingLimitOptionActive?"Link":"Link Inactive",onClick:()=>this.postPlayerSituation(this.amount,!0)},o("LugasSetLimitDialogExistingLimit.link",this.lang))):null,i("p",{class:"PrivacyNote"},o("LugasSetLimitDialogPrivacyNote.text",this.lang),i("span",{class:"Link",onClick:this.goToPrivacyPolicy},o("LugasSetLimitDialogPrivacyNote.link",this.lang))))))}render(){return this.isLoading?i("div",null,i("p",null,o("loading",this.lang,{values:{currency:this.currency}}))):this.errorMessageOnInitialization?i("div",null,i("p",null,this.errorMessageOnInitialization)):i("div",{class:"ModalContainer"+(this.innerOpen?"":" Close"),ref:n=>this.stylingContainer=n,"data-current-step":this.kycStep},i("div",{class:"Container"},i("div",{class:"ModalHeader"},this.renderModalHeader()),i("div",{class:"ModalBody"},this.renderModalBody())))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],open:["onOpenChange"]}}};U.style='@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");\n:host {\n font-family: "Roboto", sans-serif;\n}\n\n.ModalContainer {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: var(--emw--color-black-transparency-50, rgba(0, 0, 0, 0.5));\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: var(--emw--font-size-small, 12px);\n container-type: inline-size;\n}\n.ModalContainer hr {\n border: 1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));\n margin: 10px 0px;\n}\n.ModalContainer p {\n margin: 0;\n}\n.ModalContainer button {\n width: 100%;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n padding: 10px 0;\n cursor: pointer;\n width: 100%;\n border-radius: var(--emw--border-radius-small, 4px);\n}\n.ModalContainer button.PrimaryButton {\n background: var(--emw--color-primary, #6BB816);\n border: none;\n font-weight: 500;\n}\n.ModalContainer button.PrimaryButton:not(:disabled) {\n color: var(--emw--color-white, #FFF);\n}\n.ModalContainer button.PrimaryButton:disabled {\n cursor: default;\n}\n.ModalContainer .Container {\n position: fixed;\n top: 30vh;\n width: 320px;\n background: var(--emw--color-white, #FFF);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 4px;\n transform: scale(1.1);\n}\n.ModalContainer .ModalHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--emw--color-gray-50, #F7F8FA);\n padding: 12px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.ModalContainer .ModalHeader h2 {\n font-weight: bold;\n font-size: var(--emw--font-size-small, 12px);\n margin: 0;\n}\n.ModalContainer .ModalHeader button {\n background: none;\n width: 13px;\n height: 13px;\n border: none;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.ModalContainer .ModalBody {\n background: var(--emw--color-white, #FFF);\n padding: 12px;\n container-type: inline-size;\n border-radius: 4px;\n}\n.ModalContainer .ModalBody .ErrorContainer {\n display: flex;\n align-items: center;\n color: var(--emw--color-red-100, #E10014);\n border-bottom: 1px solid var(--emw--color-gray-100, #E8E9EB);\n margin: -12px;\n padding: 12px;\n margin-bottom: 12px;\n font-weight: bold;\n position: relative;\n background: linear-gradient(180deg, var(--emw--color-gray-100, #E8E9EB) 0%, rgba(255, 255, 255, 0.47) 30%);\n}\n.ModalContainer .ModalBody .DismissError {\n position: absolute;\n right: 12px;\n cursor: pointer;\n}\n.ModalContainer .ModalBody .ErrorParagraph {\n display: flex;\n align-items: center;\n}\n.ModalContainer .ModalBody .ErrorIcon {\n background: linear-gradient(180deg, var(--emw--color-red-100, #E10014) 0%, var(--emw--color-red-150, #D60080) 100%);\n text-align: center;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-right: 6px;\n flex-shrink: 0;\n}\n.ModalContainer .ModalBody .ErrorIcon svg {\n width: 6px;\n height: 6px;\n}\n.ModalContainer .ModalBody .ErrorIcon svg path {\n fill: var(--emw--color-white, #FFF);\n}\n.ModalContainer .ModalBody .ChooseLimitLabel {\n text-transform: uppercase;\n}\n.ModalContainer .ModalBody .PredefinedAmounts {\n display: flex;\n justify-content: space-between;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button {\n background: none;\n margin: -1px 0 0 -1px;\n color: var(--emw--color-gray-150, #808080);\n border-radius: 0;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button.Active {\n font-weight: bold;\n background: var(--emw--color-gray-50, #F7F8FA);\n color: var(--emw--color-gray-200, #323233);\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:first-child {\n border-radius: 4px 0 0 4px;\n}\n.ModalContainer .ModalBody .PredefinedAmounts button:last-child {\n border-radius: 0 4px 4px 0;\n}\n.ModalContainer .ModalBody .CustomAmountInput {\n width: 100%;\n padding: 10px;\n border: 1px solid var(--emw--color-gray-100, #E8E9EB);\n border-radius: 4px;\n box-sizing: border-box;\n margin-bottom: 6px;\n color: var(--emw--color-gray-200, #323233);\n font-weight: bold;\n}\n.ModalContainer .ModalBody .CustomAmountInput.InvalidInput {\n border: 1px solid var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .InvalidParagraph {\n font-size: var(--emw--font-size-small, 12px);\n color: var(--emw--color-red, #FF0000);\n}\n.ModalContainer .ModalBody .SetLimitBtn {\n margin-top: 10px;\n border-radius: 4px;\n}\n.ModalContainer .ValidatorContainer {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.ModalContainer .Paragraphs:not(:last-child) {\n margin-bottom: 20px;\n}\n.ModalContainer .Paragraphs .KycThanks {\n font-weight: 500;\n text-align: center;\n padding-bottom: 12px;\n}\n.ModalContainer .Paragraphs .Kyc2 {\n color: var(--emw--color-gray-150, #666666);\n text-align: center;\n padding-bottom: 10px;\n}\n.ModalContainer .LimitAmountWrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n position: relative;\n}\n\n.ModalFooter {\n padding-top: 12px;\n margin: 5px 0px;\n}\n\n.Link {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n.Link.Inactive {\n cursor: default;\n color: var(--emw--color-gray-150, #808080);\n}\n\n.ContainerButtons {\n display: flex;\n justify-content: space-around;\n gap: 10px;\n padding-top: 5px;\n}\n.ContainerButtons .FirstButton {\n background-color: var(--emw--color-white, #FFF);\n font-weight: bold;\n color: var(--emw--button-color, #002554);\n font-size: var(--emw--font-size-small, 10px);\n border: 2.5px solid var(--emw--button-border-color, #DEE2E6);\n width: 100%;\n cursor: pointer;\n}\n.ContainerButtons .SecondButton {\n background-color: var(--emw--color-primary, #6BB816);\n border: none;\n cursor: pointer;\n font-weight: bold;\n font-size: var(--emw--font-size-small, 10px);\n color: var(--emw--color-white, #FFF);\n width: 100%;\n}\n.ContainerButtons button {\n width: 240px;\n height: 30px;\n}\n\n.ContainerOptions > button {\n border-radius: 0;\n border-left: 0;\n border-right: 0;\n border-bottom: 0;\n border-top: 1px solid var(--emw--color-white, #E8E9EB);\n background-color: var(--emw--color-white, #FFFFFF);\n display: grid;\n text-align: left;\n font-size: 12px;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr 20px;\n color: var(--emw--color-black, #111111);\n}\n.ContainerOptions > button:last-child {\n padding-bottom: 0;\n}\n.ContainerOptions .Option {\n font-family: "Roboto", sans-serif;\n grid-column: 1/2;\n grid-row: 1/2;\n font-weight: 400;\n}\n.ContainerOptions .OptionSubTitle {\n font-family: "Roboto Condensed", sans-serif;\n font-weight: 300;\n grid-column: 1/2;\n grid-row: 2/3;\n}\n.ContainerOptions .ArrowIcon {\n grid-column: 2/3;\n grid-row: 1/3;\n margin: auto;\n}\n\ninput {\n /* Firefox */\n -moz-appearance: textfield;\n /* Chrome, Safari, Edge, Opera */\n}\ninput::-webkit-outer-spin-button, input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.ModalContainer.Close {\n display: none;\n}\n\n@container (max-width: 1300px) {\n .ModalContainer .Container {\n width: 50%;\n }\n}\n@container (max-width: 800px) {\n .ModalContainer .Container {\n width: 70%;\n }\n}\n.LoadingWrapper {\n width: 100%;\n height: 100%;\n background: var(--emw--color-white-transparency-80, rgba(255, 255, 255, 0.8));\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n width: 30px;\n height: 30px;\n}\n.spinner .path {\n stroke: var(--emw--color-primary, #6BB816);\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.DocumentIcon {\n padding: 20px 48px 0 86px;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';export{U as player_lugas_limit}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./index-
|
|
1
|
+
import{p as e,b as t}from"./index-b24be12d.js";export{s as setNonce}from"./index-b24be12d.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["player-lugas-limit",[[1,"player-lugas-limit",{userId:[513,"user-id"],session:[513],endpoint:[513],currency:[513],flow:[513],amount:[513],lang:[513],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],translationUrl:[513,"translation-url"],showExistingLimit:[516,"show-existing-limit"],buttonTextStrategy:[513,"button-text-strategy"],open:[516],closeType:[513,"close-type"],hasValidation:[32],kycStep:[32],isLoading:[32],regularDepositLimitAmount:[32],isSubmitted:[32],isUseExistingLimitOptionActive:[32],selectedPredefinedAmount:[32],errorMessageOnInitialization:[32],errorMessageOnSubmit:[32],errorMessageOnInput:[32],hasLugasError:[32],showCustomAmount:[32],newAmount:[32],innerOpen:[32],closable:[32],step2DialogType:[32],opDepositLimit:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],open:["onOpenChange"]}]]]],e))));
|
|
@@ -30,6 +30,8 @@ export declare class PlayerLugasLimit {
|
|
|
30
30
|
newAmount: string;
|
|
31
31
|
innerOpen: boolean;
|
|
32
32
|
closable: boolean;
|
|
33
|
+
step2DialogType: 'default' | 'op-deposit-limit-error';
|
|
34
|
+
opDepositLimit: number;
|
|
33
35
|
predefinedAmounts: string[];
|
|
34
36
|
isValidNumber: boolean;
|
|
35
37
|
isWithinRange: boolean;
|
|
@@ -65,5 +67,7 @@ export declare class PlayerLugasLimit {
|
|
|
65
67
|
renderValidator(): any;
|
|
66
68
|
renderTitle(): string;
|
|
67
69
|
handleClose: () => void;
|
|
70
|
+
renderModalHeader(): any;
|
|
71
|
+
renderModalBody(): any;
|
|
68
72
|
render(): any;
|
|
69
73
|
}
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),l=(t,n)=>e.set(n.t=t,n),o=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,d=[],w=[],y=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&f.l?$(v):f.raf(v))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},v=()=>{b(d),b(w),(m=d.length>0)&&f.raf(v)},$=t=>h().then(t),g=y(w,!0),S={},j=t=>"object"==(t=typeof t)||"function"===t;function O(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,n)=>{for(var l in n)t(e,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>P,unwrapErr:()=>L});var k=t=>({isOk:!0,isErr:!1,value:t}),E=t=>({isOk:!1,isErr:!0,value:t});function C(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>k(t))):k(n)}if(t.isErr)return E(t.value);throw"should never get here"}var M,x,P=t=>{if(t.isOk)return t.value;throw t.value},L=t=>{if(t.isErr)return t.value;throw t.value},R=(t,e,...n)=>{let l=null,o=!1,s=!1;const r=[],i=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!j(l))&&(l+=""),o&&s?r[r.length-1].i+=l:r.push(o?T(null,l):l),s=o)};if(i(n),e){const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}const c=T(t,null);return c.u=e,r.length>0&&(c.h=r),c},T=(t,e)=>({l:0,p:t,i:e,m:null,h:null,u:null}),A={},N=(t,e,l)=>{const o=(t=>n(t).$hostElement$)(t);return{emit:t=>U(o,e,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:t})}},U=(t,e,n)=>{const l=f.ce(e,n);return t.dispatchEvent(l),l},W=new WeakMap,D=t=>"sc-"+t.v,F=(t,e,n,l,s,r)=>{if(n!==l){let i=o(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=q(n),s=q(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||(t[e]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!i||4&r||s)&&!o&&t.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):o(u,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(G);e=e.replace(V,""),n&&f.rel(t,e,n,o),l&&f.ael(t,e,l,o)}}},H=/\s/,q=t=>t?t.split(H):[],G="Capture",V=RegExp(G+"$"),_=(t,e,n)=>{const l=11===e.m.nodeType&&e.m.host?e.m.host:e.m,o=t&&t.u||S,s=e.u||S;for(const t of z(Object.keys(o)))t in s||F(l,t,o[t],void 0,n,e.l);for(const t of z(Object.keys(s)))F(l,t,o[t],s[t],n,e.l)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var B=!1,I=!1,J=(t,e,n)=>{const l=e.h[n];let o,s,r=0;if(null!==l.i)o=l.m=a.createTextNode(l.i);else{if(I||(I="svg"===l.p),o=l.m=a.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),I&&"foreignObject"===l.p&&(I=!1),_(null,l,I),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=J(t,l,r),s&&o.appendChild(s);"svg"===l.p?I=!1:"foreignObject"===o.tagName&&(I=!0)}return o["s-hn"]=x,o},K=(t,e,n,l,o,s)=>{let r,i=t;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=J(null,n,o),r&&(l[o].m=r,tt(i,r,e)))},Q=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.m;Z(e),t&&t.remove()}}},X=(t,e)=>t.p===e.p,Y=(t,e,n=!1)=>{const l=e.m=t.m,o=t.h,s=e.h,r=e.p,i=e.i;null===i?(I="svg"===r||"foreignObject"!==r&&I,("slot"!==r||B)&&_(t,e,I),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,r=0,i=0,c=e.length-1,u=e[0],a=e[c],f=l.length-1,h=l[0],p=l[f];for(;r<=c&&i<=f;)null==u?u=e[++r]:null==a?a=e[--c]:null==h?h=l[++i]:null==p?p=l[--f]:X(u,h)?(Y(u,h,o),u=e[++r],h=l[++i]):X(a,p)?(Y(a,p,o),a=e[--c],p=l[--f]):X(u,p)?(Y(u,p,o),tt(t,u.m,a.m.nextSibling),u=e[++r],p=l[--f]):X(a,h)?(Y(a,h,o),tt(t,a.m,u.m),a=e[--c],h=l[++i]):(s=J(e&&e[i],n,i),h=l[++i],s&&tt(u.m.parentNode,s,u.m));r>c?K(t,null==l[f+1]?null:l[f+1].m,n,l,i,f):i>f&&Q(e,r,c)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),K(l,null,e,s,0,s.length-1)):null!==o&&Q(o,0,o.length-1),I&&"svg"===r&&(I=!1)):t.i!==i&&(l.data=i)},Z=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(Z)},tt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),et=(t,e)=>{e&&!t.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.$=e)))},nt=(t,e)=>{if(t.l|=16,!(4&t.l))return et(t,t.S),g((()=>lt(t,e)));t.l|=512},lt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(l=at(n,"componentWillLoad")),ot(l,(()=>rt(t,n,e)))},ot=(t,e)=>st(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),st=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,rt=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.j,n=t.$hostElement$,l=e.l,o=((t,e)=>{var n;const l=D(e),o=i.get(l);if(t=11===t.nodeType?t:a,o)if("string"==typeof o){let s,r=W.get(t=t.head||t);if(r||W.set(t,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const e=null!=(n=f.O)?n:O(a);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.l&&(s.innerHTML+=c),r&&r.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);it(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>ct(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},it=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{const l=t.$hostElement$,o=t.j,s=t.k||T(null,null),r=(t=>t&&t.p===A)(e)?e:R(null,null,e);if(x=l.tagName,o.C&&(r.u=r.u||{},o.C.map((([t,e])=>r.u[e]=l[t]))),n&&r.u)for(const t of Object.keys(r.u))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.u[t]=l[t]);r.p=null,r.l|=4,t.k=r,r.m=s.m=l.shadowRoot||l,M=l["s-sc"],B=!!(1&o.l),Y(s,r,n)})(t,e,l)}catch(e){s(e,t.$hostElement$)}return null},ct=t=>{const e=t.$hostElement$,n=t.t,l=t.S;64&t.l||(t.l|=64,ft(e),at(n,"componentDidLoad"),t.M(e),l||ut()),t.$&&(t.$(),t.$=void 0),512&t.l&&$((()=>nt(t,!1))),t.l&=-517},ut=()=>{ft(a.documentElement),$((()=>U(u,"appload",{detail:{namespace:"player-lugas-limit"}})))},at=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},ft=t=>t.classList.add("hydrated"),ht=(t,e,l)=>{var o,r;const i=t.prototype;if(e.P||e.L||t.watchers){t.watchers&&!e.L&&(e.L=t.watchers);const c=Object.entries(null!=(o=e.P)?o:{});if(c.map((([t,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,t,{get(){return((t,e)=>n(this).R.get(e))(0,t)},set(l){((t,e,l,o)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.R.get(e),u=r.l,a=r.t;if(l=((t,e)=>null==t||j(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t)(l,o.P[e][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.R.set(e,l),a)){if(o.L&&128&u){const t=o.L[e];t&&t.map((t=>{try{a[t](l,c,e)}catch(t){s(t,i)}}))}2==(18&u)&&nt(r,!1)}})(this,t,l,e)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(t,o,s){f.jmp((()=>{var r;const c=l.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=e.L)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.L)?r:{}),...c.filter((([t,e])=>15&e[0])).map((([t,n])=>{var o;const s=n[1]||t;return l.set(s,t),512&n[0]&&(null==(o=e.C)||o.push([t,s])),s}))]))}}return t},pt=t=>{at(t,"disconnectedCallback")},mt=(t,l={})=>{var o;const h=[],m=l.exclude||[],d=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),b=a.createElement("style"),v=[];let $,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((l=>{var o;const c={l:l[0],v:l[1],P:l[2],T:l[3]};4&c.l&&(S=!0),c.P=l[2],c.C=[],c.L=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const l={l:0,$hostElement$:t,j:n,R:new Map};l.A=new Promise((t=>l.M=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,l)})(t=this,c),1&c.l)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?v.push(this):f.jmp((()=>(t=>{if(!(1&f.l)){const e=n(t),l=e.j,o=()=>{};if(1&e.l)(null==e?void 0:e.t)||(null==e?void 0:e.A)&&e.A.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){et(e,e.S=n);break}}l.P&&Object.entries(l.P).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.N){const t=(t=>{const e=t.v.replace(/-/g,"_"),n=t.N;if(!n)return;const l=r.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};l=await t,e()}else l=t;if(!l)throw Error(`Constructor for "${n.v}#${e.U}" was not found`);l.isProxied||(n.L=l.watchers,ht(l,n,2),l.isProxied=!0);const o=()=>{};e.l|=8;try{new l(e)}catch(t){s(t)}e.l&=-9,e.l|=128,o()}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=D(n);if(!i.has(e)){const l=()=>{};((t,e,n)=>{let l=i.get(t);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,i.set(t,l)})(e,t,!!(1&n.l)),l()}}}const o=e.S,c=()=>nt(e,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(t,e,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const t=n(this);(null==t?void 0:t.t)?pt(t.t):(null==t?void 0:t.A)&&t.A.then((()=>pt(t.t)))}})()))}componentOnReady(){return n(this).A}};c.N=t[0],m.includes(u)||d.get(u)||(h.push(u),d.define(u,ht(a,c,1)))}))})),h.length>0&&(S&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=f.O)?o:O(a);null!=t&&b.setAttribute("nonce",t),w.insertBefore(b,y?y.nextSibling:w.firstChild)}g=!1,v.length?v.map((t=>t.connectedCallback())):f.jmp((()=>$=setTimeout(ut,30)))},dt=t=>f.O=t;export{mt as b,N as c,R as h,h as p,l as r,dt as s}
|