@everymatrix/player-kyc-verification 1.65.2 → 1.65.3
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/loader.cjs.js +1 -1
- package/dist/cjs/player-kyc-verification.cjs.entry.js +29 -23
- package/dist/cjs/player-kyc-verification.cjs.js +1 -1
- package/dist/collection/components/player-kyc-verification/player-kyc-verification.js +29 -24
- package/dist/esm/loader.js +1 -1
- package/dist/esm/player-kyc-verification.entry.js +29 -23
- package/dist/esm/player-kyc-verification.js +1 -1
- package/dist/player-kyc-verification/{p-55485038.entry.js → p-0082bc3f.entry.js} +1 -1
- package/dist/player-kyc-verification/player-kyc-verification.esm.js +1 -1
- package/dist/types/components/player-kyc-verification/player-kyc-verification.d.ts +0 -1
- package/package.json +1 -1
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/packages/stencil/player-kyc-verification/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/packages/stencil/player-kyc-verification/stencil.config.dev.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/packages/stencil/player-kyc-verification/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/packages/stencil/player-kyc-verification/storybook/preview.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/player-kyc-verification/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
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-kyc-verification.cjs",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"
|
|
11
|
+
return index.bootstrapLazy([["player-kyc-verification.cjs",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"expandedOnDesktop":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -643,7 +643,6 @@ const PlayerKycVerificationWidget = class {
|
|
|
643
643
|
this.selectedFile = null;
|
|
644
644
|
this.uploadingStatus = undefined;
|
|
645
645
|
this.uploadSizeExceeded = false;
|
|
646
|
-
this.selectedOption = undefined;
|
|
647
646
|
this.expandedOnDesktop = false;
|
|
648
647
|
}
|
|
649
648
|
handleNewTranslations() {
|
|
@@ -719,7 +718,6 @@ const PlayerKycVerificationWidget = class {
|
|
|
719
718
|
}
|
|
720
719
|
handleOptionChange(event, verificationTypeId) {
|
|
721
720
|
const target = event.target;
|
|
722
|
-
this.selectedOption = target.value;
|
|
723
721
|
this.verificationType = this.verificationType.map((type) => {
|
|
724
722
|
if (type.type === verificationTypeId) {
|
|
725
723
|
type.optionChosen = target.value;
|
|
@@ -791,28 +789,33 @@ const PlayerKycVerificationWidget = class {
|
|
|
791
789
|
return response.json();
|
|
792
790
|
}
|
|
793
791
|
}).then((data) => {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
.
|
|
798
|
-
|
|
799
|
-
if (
|
|
800
|
-
this.
|
|
792
|
+
if (data.ResponseCode == 'Success') {
|
|
793
|
+
const formData = new FormData();
|
|
794
|
+
formData.append(documentType, this.selectedFile[0]);
|
|
795
|
+
fetch(data.Url, { method: "POST", body: formData })
|
|
796
|
+
.then(res => {
|
|
797
|
+
if (res.ok) {
|
|
798
|
+
if (this.selectedFile.length > 1) {
|
|
799
|
+
this.uploadingStatus = translate('successUploadMultipleFiles', this.language);
|
|
800
|
+
}
|
|
801
|
+
else {
|
|
802
|
+
this.uploadingStatus = translate('successUpload', this.language);
|
|
803
|
+
}
|
|
804
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
801
805
|
}
|
|
802
806
|
else {
|
|
803
|
-
this.uploadingStatus = translate('
|
|
807
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
808
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
809
|
+
console.error('File upload error:', res.status);
|
|
804
810
|
}
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}
|
|
813
|
-
.catch(error => {
|
|
814
|
-
console.error('File upload error:', error);
|
|
815
|
-
});
|
|
811
|
+
}).catch(error => {
|
|
812
|
+
console.error('File upload error:', error);
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
else {
|
|
816
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
817
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
818
|
+
}
|
|
816
819
|
})
|
|
817
820
|
.catch(error => {
|
|
818
821
|
console.error('File upload error:', error);
|
|
@@ -849,13 +852,16 @@ const PlayerKycVerificationWidget = class {
|
|
|
849
852
|
return false;
|
|
850
853
|
}
|
|
851
854
|
getFirstRequestedDocument(verificationType) {
|
|
852
|
-
var _a;
|
|
855
|
+
var _a, _b;
|
|
853
856
|
let result;
|
|
854
857
|
(_a = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
|
855
858
|
if (item.status == "Requested") {
|
|
856
859
|
result = result !== null && result !== void 0 ? result : item.code;
|
|
857
860
|
}
|
|
858
861
|
});
|
|
862
|
+
if (!result) {
|
|
863
|
+
result = (_b = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents[0]) === null || _b === void 0 ? void 0 : _b.code;
|
|
864
|
+
}
|
|
859
865
|
return result;
|
|
860
866
|
}
|
|
861
867
|
renderVerificationTypeBox(verificationType) {
|
|
@@ -876,7 +882,7 @@ const PlayerKycVerificationWidget = class {
|
|
|
876
882
|
}
|
|
877
883
|
renderDocumentsActions(selectedDocument, optionChosen, verificationType) {
|
|
878
884
|
return (index.h("div", null, this.isStatusUploaded(selectedDocument) ? (index.h("div", { class: "upload-status" }, translate('uploaded', this.language))) :
|
|
879
|
-
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (index.h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (index.h("div", { class: "documents-action" }, index.h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (index.h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), index.h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), index.h("span", null, translate('download', this.language)))) : null), index.h("div", { class: "upload-button" }, optionChosen ? (index.h("label", null, index.h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files,
|
|
885
|
+
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (index.h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (index.h("div", { class: "documents-action" }, index.h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (index.h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), index.h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), index.h("span", null, translate('download', this.language)))) : null), index.h("div", { class: "upload-button" }, optionChosen ? (index.h("label", null, index.h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files, optionChosen, verificationType.type), style: { display: 'none' } }), index.h("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), index.h("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), index.h("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" })))) : null)))));
|
|
880
886
|
}
|
|
881
887
|
;
|
|
882
888
|
renderExpandedContent(verificationType, optionChosen, status, documents, flowInfo, isVerified, isFailedOrExpired) {
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["player-kyc-verification.cjs",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"
|
|
22
|
+
return index.bootstrapLazy([["player-kyc-verification.cjs",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"expandedOnDesktop":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -27,7 +27,6 @@ export class PlayerKycVerificationWidget {
|
|
|
27
27
|
this.selectedFile = null;
|
|
28
28
|
this.uploadingStatus = undefined;
|
|
29
29
|
this.uploadSizeExceeded = false;
|
|
30
|
-
this.selectedOption = undefined;
|
|
31
30
|
this.expandedOnDesktop = false;
|
|
32
31
|
}
|
|
33
32
|
handleNewTranslations() {
|
|
@@ -103,7 +102,6 @@ export class PlayerKycVerificationWidget {
|
|
|
103
102
|
}
|
|
104
103
|
handleOptionChange(event, verificationTypeId) {
|
|
105
104
|
const target = event.target;
|
|
106
|
-
this.selectedOption = target.value;
|
|
107
105
|
this.verificationType = this.verificationType.map((type) => {
|
|
108
106
|
if (type.type === verificationTypeId) {
|
|
109
107
|
type.optionChosen = target.value;
|
|
@@ -175,28 +173,33 @@ export class PlayerKycVerificationWidget {
|
|
|
175
173
|
return response.json();
|
|
176
174
|
}
|
|
177
175
|
}).then((data) => {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
.
|
|
182
|
-
|
|
183
|
-
if (
|
|
184
|
-
this.
|
|
176
|
+
if (data.ResponseCode == 'Success') {
|
|
177
|
+
const formData = new FormData();
|
|
178
|
+
formData.append(documentType, this.selectedFile[0]);
|
|
179
|
+
fetch(data.Url, { method: "POST", body: formData })
|
|
180
|
+
.then(res => {
|
|
181
|
+
if (res.ok) {
|
|
182
|
+
if (this.selectedFile.length > 1) {
|
|
183
|
+
this.uploadingStatus = translate('successUploadMultipleFiles', this.language);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
this.uploadingStatus = translate('successUpload', this.language);
|
|
187
|
+
}
|
|
188
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
185
189
|
}
|
|
186
190
|
else {
|
|
187
|
-
this.uploadingStatus = translate('
|
|
191
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
192
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
193
|
+
console.error('File upload error:', res.status);
|
|
188
194
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
.catch(error => {
|
|
198
|
-
console.error('File upload error:', error);
|
|
199
|
-
});
|
|
195
|
+
}).catch(error => {
|
|
196
|
+
console.error('File upload error:', error);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
201
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
202
|
+
}
|
|
200
203
|
})
|
|
201
204
|
.catch(error => {
|
|
202
205
|
console.error('File upload error:', error);
|
|
@@ -233,13 +236,16 @@ export class PlayerKycVerificationWidget {
|
|
|
233
236
|
return false;
|
|
234
237
|
}
|
|
235
238
|
getFirstRequestedDocument(verificationType) {
|
|
236
|
-
var _a;
|
|
239
|
+
var _a, _b;
|
|
237
240
|
let result;
|
|
238
241
|
(_a = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
|
239
242
|
if (item.status == "Requested") {
|
|
240
243
|
result = result !== null && result !== void 0 ? result : item.code;
|
|
241
244
|
}
|
|
242
245
|
});
|
|
246
|
+
if (!result) {
|
|
247
|
+
result = (_b = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents[0]) === null || _b === void 0 ? void 0 : _b.code;
|
|
248
|
+
}
|
|
243
249
|
return result;
|
|
244
250
|
}
|
|
245
251
|
renderVerificationTypeBox(verificationType) {
|
|
@@ -260,7 +266,7 @@ export class PlayerKycVerificationWidget {
|
|
|
260
266
|
}
|
|
261
267
|
renderDocumentsActions(selectedDocument, optionChosen, verificationType) {
|
|
262
268
|
return (h("div", null, this.isStatusUploaded(selectedDocument) ? (h("div", { class: "upload-status" }, translate('uploaded', this.language))) :
|
|
263
|
-
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (h("div", { class: "documents-action" }, h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), h("span", null, translate('download', this.language)))) : null), h("div", { class: "upload-button" }, optionChosen ? (h("label", null, h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files,
|
|
269
|
+
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (h("div", { class: "documents-action" }, h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), h("span", null, translate('download', this.language)))) : null), h("div", { class: "upload-button" }, optionChosen ? (h("label", null, h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files, optionChosen, verificationType.type), style: { display: 'none' } }), h("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), h("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" })))) : null)))));
|
|
264
270
|
}
|
|
265
271
|
;
|
|
266
272
|
renderExpandedContent(verificationType, optionChosen, status, documents, flowInfo, isVerified, isFailedOrExpired) {
|
|
@@ -519,7 +525,6 @@ export class PlayerKycVerificationWidget {
|
|
|
519
525
|
"selectedFile": {},
|
|
520
526
|
"uploadingStatus": {},
|
|
521
527
|
"uploadSizeExceeded": {},
|
|
522
|
-
"selectedOption": {},
|
|
523
528
|
"expandedOnDesktop": {}
|
|
524
529
|
};
|
|
525
530
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["player-kyc-verification",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"
|
|
8
|
+
return bootstrapLazy([["player-kyc-verification",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"expandedOnDesktop":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -639,7 +639,6 @@ const PlayerKycVerificationWidget = class {
|
|
|
639
639
|
this.selectedFile = null;
|
|
640
640
|
this.uploadingStatus = undefined;
|
|
641
641
|
this.uploadSizeExceeded = false;
|
|
642
|
-
this.selectedOption = undefined;
|
|
643
642
|
this.expandedOnDesktop = false;
|
|
644
643
|
}
|
|
645
644
|
handleNewTranslations() {
|
|
@@ -715,7 +714,6 @@ const PlayerKycVerificationWidget = class {
|
|
|
715
714
|
}
|
|
716
715
|
handleOptionChange(event, verificationTypeId) {
|
|
717
716
|
const target = event.target;
|
|
718
|
-
this.selectedOption = target.value;
|
|
719
717
|
this.verificationType = this.verificationType.map((type) => {
|
|
720
718
|
if (type.type === verificationTypeId) {
|
|
721
719
|
type.optionChosen = target.value;
|
|
@@ -787,28 +785,33 @@ const PlayerKycVerificationWidget = class {
|
|
|
787
785
|
return response.json();
|
|
788
786
|
}
|
|
789
787
|
}).then((data) => {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
.
|
|
794
|
-
|
|
795
|
-
if (
|
|
796
|
-
this.
|
|
788
|
+
if (data.ResponseCode == 'Success') {
|
|
789
|
+
const formData = new FormData();
|
|
790
|
+
formData.append(documentType, this.selectedFile[0]);
|
|
791
|
+
fetch(data.Url, { method: "POST", body: formData })
|
|
792
|
+
.then(res => {
|
|
793
|
+
if (res.ok) {
|
|
794
|
+
if (this.selectedFile.length > 1) {
|
|
795
|
+
this.uploadingStatus = translate('successUploadMultipleFiles', this.language);
|
|
796
|
+
}
|
|
797
|
+
else {
|
|
798
|
+
this.uploadingStatus = translate('successUpload', this.language);
|
|
799
|
+
}
|
|
800
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
797
801
|
}
|
|
798
802
|
else {
|
|
799
|
-
this.uploadingStatus = translate('
|
|
803
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
804
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
805
|
+
console.error('File upload error:', res.status);
|
|
800
806
|
}
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}
|
|
809
|
-
.catch(error => {
|
|
810
|
-
console.error('File upload error:', error);
|
|
811
|
-
});
|
|
807
|
+
}).catch(error => {
|
|
808
|
+
console.error('File upload error:', error);
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
else {
|
|
812
|
+
this.uploadingStatus = translate('failedUpload', this.language);
|
|
813
|
+
this.handleDocumentsStatus(verificationTypeId, this.uploadingStatus, documentType);
|
|
814
|
+
}
|
|
812
815
|
})
|
|
813
816
|
.catch(error => {
|
|
814
817
|
console.error('File upload error:', error);
|
|
@@ -845,13 +848,16 @@ const PlayerKycVerificationWidget = class {
|
|
|
845
848
|
return false;
|
|
846
849
|
}
|
|
847
850
|
getFirstRequestedDocument(verificationType) {
|
|
848
|
-
var _a;
|
|
851
|
+
var _a, _b;
|
|
849
852
|
let result;
|
|
850
853
|
(_a = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
|
851
854
|
if (item.status == "Requested") {
|
|
852
855
|
result = result !== null && result !== void 0 ? result : item.code;
|
|
853
856
|
}
|
|
854
857
|
});
|
|
858
|
+
if (!result) {
|
|
859
|
+
result = (_b = verificationType === null || verificationType === void 0 ? void 0 : verificationType.documents[0]) === null || _b === void 0 ? void 0 : _b.code;
|
|
860
|
+
}
|
|
855
861
|
return result;
|
|
856
862
|
}
|
|
857
863
|
renderVerificationTypeBox(verificationType) {
|
|
@@ -872,7 +878,7 @@ const PlayerKycVerificationWidget = class {
|
|
|
872
878
|
}
|
|
873
879
|
renderDocumentsActions(selectedDocument, optionChosen, verificationType) {
|
|
874
880
|
return (h("div", null, this.isStatusUploaded(selectedDocument) ? (h("div", { class: "upload-status" }, translate('uploaded', this.language))) :
|
|
875
|
-
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (h("div", { class: "documents-action" }, h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), h("span", null, translate('download', this.language)))) : null), h("div", { class: "upload-button" }, optionChosen ? (h("label", null, h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files,
|
|
881
|
+
(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded) ? (h("div", { class: "upload-status" }, selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.statusUploaded)) : (h("div", { class: "documents-action" }, h("div", { class: "sample-file" }, (selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleType) === "FileDownload" ? (h("button", { class: "download-button", onClick: () => this.downloadPDF(selectedDocument === null || selectedDocument === void 0 ? void 0 : selectedDocument.sampleUrl) }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), h("span", null, translate('download', this.language)))) : null), h("div", { class: "upload-button" }, optionChosen ? (h("label", null, h("input", { type: "file", accept: "*", onChange: ($event) => this.handleFileSelection($event.target.files, optionChosen, verificationType.type), style: { display: 'none' } }), h("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), h("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), h("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" })))) : null)))));
|
|
876
882
|
}
|
|
877
883
|
;
|
|
878
884
|
renderExpandedContent(verificationType, optionChosen, status, documents, flowInfo, isVerified, isFailedOrExpired) {
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["player-kyc-verification",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"
|
|
19
|
+
return bootstrapLazy([["player-kyc-verification",[[1,"player-kyc-verification",{"userId":[1,"user-id"],"session":[1],"language":[1],"endpoint":[1],"translationUrl":[1,"translation-url"],"clientStyling":[1,"client-styling"],"verifiedIcon":[1,"verified-icon"],"failedIcon":[1,"failed-icon"],"defaultIcon":[1,"default-icon"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"verificationType":[32],"isLoading":[32],"selectedFile":[32],"uploadingStatus":[32],"uploadSizeExceeded":[32],"expandedOnDesktop":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
20
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,F as n}from"./p-25ea8e6b.js";let t={en:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account Verification",kycDescription:"We require some documents to protect your account and to comply with legal and license requirements.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Recheck:"Recheck",Biometric:"Biometric",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},de:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account-Verifizierung",kycDescription:"Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Dokument bereits hochgeladen.",Unknown:"Unbekannt",Passport:"Reisepass",IdCardFront:"Personalausweis (Vorderseite)",IdCardBack:"Personalausweis (Rückseite)",BirthCertificate:"Geburtsurkunde",DrivingLicenseFront:"Führerschein (Vorderseite)",DrivingLicenseBack:"Führerschein (Rückseite)",ResidentialPermit:"Wohnberechtigungsschein",CreditDebitCardFront:"Kredit-/Debitkarte (Vorderseite)",CreditDebitCardBack:"Kredit-/Debitkarte (Rückseite)",UtilityBill:"Nebenkostenabrechnung",TaxBill:"Steuerbescheid",CertifiedCopy:"Beglaubigte Kopie",Selfie:"Selfie",BankStatement:"Kontoauszug",RentAgreement:"Mietvertrag",InsuranceAgreement:"Versicherungsvertrag",Other:"Sonstige",IncomeAndOrSavingsFromEmployment:"Einkommen und/oder Ersparnisse aus Beschäftigung",SaleOfSharesOrOtherInvestments:"Verkauf von Aktien oder anderen Anlagen",DividendsProfitsFromCompany:"Dividenden/Gewinne aus dem Unternehmen",CompanySale:"Firmenverkauf",IndividualOwnsPolicyCompanyPays:"Einzelperson besitzt die Police/Unternehmen zahlt",SaleOfProperty:"Immobilienverkauf",Inheritance:"Erbschaft",MaturityOrSurrenderOfLifeAssurance:"Fälligkeit oder Rückkauf einer Lebensversicherung",InsuranceClaims:"Versicherungsansprüche",CompensationPayment:"Entschädigungszahlung",LotteryBettingCasinoWin:"Lotterie-/Wett-/Casinogewinn",Loan:"Darlehen",Gift:"Geschenk",Ewallet:"E-Wallet",Voucher:"Gutschein"},ro:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Verificarea contului",kycDescription:"Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Document deja încărcat.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},fr:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Vérification de compte",kycDescription:"Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document déjà téléchargé.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},ar:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"التحقق من الحساب",kycDescription:"نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},hr:{loading:"Učitavanje, molimo pričekajte ...",noVerificationRequired:"Trenutačno nije potrebna provjera vašeg računa.",verificationComplete:"Provjera dovršena",verificationFailed:"Provjera nije uspjela",verificationExpired:"Provjera je istekla",fileSizeExceeded:"Premašena je maksimalna veličina datoteke. Maksimalna veličina datoteke je: 50mb",uploading:"Prijenos…",successUpload:"Vaš dokument je učitan i uskoro će biti pregledan",successUploadMultipleFiles:"Vaši su dokumenti učitani i uskoro će biti pregledani",failedUpload:"Prijenos nije uspio pokušajte ponovo",chooseDocument:"Odaberite Dokument",kycTitle:"Verifikacija računa",kycDescription:"Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",download:"Preuzmi",Age:"Dob",Aml:"AML",Documents:"Dokumenti",Pep:"Politički izložena osoba",Sanction:"Sankcija",Biometric:"Verifikacija",Recheck:"Ponovna provjera",ProofOfAddress:"Potvrda adrese",SourceOfWealth:"Izvor sredstava",SocialMedia:"Društvene mreže",ProofOfPayment:"Platna metoda",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Dokument je već učitan.",Unknown:"Nepoznato",Passport:"Putovnica",IdCardFront:"Prednja strana osobne iskaznice",IdCardBack:"Stražnja strana osobne iskaznice",BirthCertificate:"Rodni list",DrivingLicenseFront:"Vozačka dozvola (prednja strana)",DrivingLicenseBack:"Vozačka dozvola (stražnja strana)",ResidentialPermit:"Boravišna dozvola",CreditDebitCardFront:"Kreditna/debitna kartica (prednja strana)",CreditDebitCardBack:"Kreditna/debitna kartica (stražnja strana)",UtilityBill:"Račun za komunalne usluge",TaxBill:"Porezni račun",CertifiedCopy:"Ovjereni primjerak",Selfie:"Selfie",BankStatement:"Bankovni izvod",RentAgreement:"Ugovor o najmu",InsuranceAgreement:"Ugovor o osiguranju",Other:"Ostalo",IncomeAndOrSavingsFromEmployment:"Prihod/Ušteđevina ",SaleOfSharesOrOtherInvestments:"Prodaja dionica ili drugih investicija",DividendsProfitsFromCompany:"Dividende/dobit od tvrtke",CompanySale:"Prodaja tvrtke",IndividualOwnsPolicyCompanyPays:"Osoba posjeduje policu/tvrtka plaća",SaleOfProperty:"Prodaja nekretnine",Inheritance:"Nasljeđe",MaturityOrSurrenderOfLifeAssurance:"Dospijeće ili predaja životnog osiguranja",InsuranceClaims:"Zahtjevi za osiguranje",CompensationPayment:"Isplata odštete",LotteryBettingCasinoWin:"Dobitak na lutriji/kladionici/kasinu",Loan:"Zajam",Gift:"Poklon",Ewallet:"Elektronički novčanik",Voucher:"Vaučer"},"pt-br":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Carregando, espere por favor…",noVerificationRequired:"Não há necessidade de verificação para sua conta no momento",verificationComplete:"Verificação completa",verificationFailed:"Verificação de falha",verificationExpired:"A verificação expirou",fileSizeExceeded:"Tamanho máximo do arquivo excedido. O tamanho máximo do arquivo é: 50 MB",uploading:"Carregando...",successUpload:"Seu documento foi carregado e será analisado em breve",successUploadMultipleFiles:"Seus documentos foram enviados e serão revisados em breve",failedUpload:"Falha no upload do arquivo, tente novamente",chooseDocument:"Escolha um arquivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento já carregado.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},"es-mx":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Cargando, espere por favor…",noVerificationRequired:"No hay verificación requerida para su cuenta al momento",verificationComplete:"Verificación completa",verificationFailed:"Verificación fallo",verificationExpired:"Verificación expiro",fileSizeExceeded:"Tamaño máximo de archivo se excedió. El tamaño máximo del archivo es: 50mb",uploading:"Cargando ...",successUpload:"Su documento ha sido cargado y será revisado en breve",successUploadMultipleFiles:"Sus documento han sido cargados y serán revisado en breve",failedUpload:"La carga del archivo falló, por favor intente de nuevo",chooseDocument:"Elija un archivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento ya subido.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"}};const o=e=>new Promise((i=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((i=>{t[i]||(t[i]={});for(let n in e[i])t[i][n]=e[i][n]})),i(!0)}))})),r=(e,i,n)=>{let o=t[void 0!==i&&i in t?i:"en"][e];if(void 0!==n)for(const[e,i]of Object.entries(n.values)){const n=new RegExp(`{${e}}`,"g");o=o.replace(n,i)}return o};function a(e,i){if(e){const n=document.createElement("style");n.innerHTML=i,e.appendChild(n)}}function s(e,i){const n=new URL(i);fetch(n.href).then((e=>e.text())).then((i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}const d=class{constructor(i){var n;e(this,i),this.scriptInjected=!1,this.MAX_UPLOAD_SIZE=5e7,this.userAgent=window.navigator.userAgent,this.isMobile=!!((n=this.userAgent).toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),this.handleToggleScreen=()=>{this.toggleScreen(this.isMobile)},this.userId="",this.session="",this.language=void 0,this.endpoint="",this.translationUrl="",this.clientStyling="",this.verifiedIcon="",this.failedIcon="",this.defaultIcon="",this.clientStylingUrl="",this.mbSource=void 0,this.verificationType=[],this.isLoading=!1,this.selectedFile=null,this.uploadingStatus=void 0,this.uploadSizeExceeded=!1,this.selectedOption=void 0,this.expandedOnDesktop=!1}handleNewTranslations(){this.isLoading=!0,o(this.translationUrl).then((()=>{this.isLoading=!1}))}async componentWillLoad(){this.translationUrl.length>2&&await o(this.translationUrl)}handleClientStylingChange(e,i){e!=i&&a(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,i){e!=i&&this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)}async componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(i,(i=>{n.innerHTML=i,e&&e.appendChild(n)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&a(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))),window.innerWidth>700&&(this.expandedOnDesktop=!0);try{let e=new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);const i={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json"},body:JSON.stringify({})};fetch(e.href,i).then((e=>{if(200===e.status)return e.json();throw new Error("HTTP status "+e.status)})).then((e=>{this.verificationType=e.verifications})).catch((e=>{console.error(e)}))}catch(e){console.error("Error fetching verification types:",e)}}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleOptionChange(e,i){const n=e.target;this.selectedOption=n.value,this.verificationType=this.verificationType.map((e=>(e.type===i&&(e.optionChosen=n.value),e)))}handleDocumentsStatus(e,i,n){this.verificationType=this.verificationType.map((t=>{if(t.type===e){const e=t.documents.find((e=>e.code===n));e&&(e.statusUploaded=i)}return t}))}downloadPDF(e){const i=document.createElement("a");i.href=e,i.download="file.pdf",i.target="_blank",i.dispatchEvent(new MouseEvent("click"))}toggleVerificationType(e,i){this.expandedOnDesktop=!1,this.verificationType=this.verificationType.map((n=>{var t;return n.type===e&&(null===(t=n.flowInfo)||void 0===t?void 0:t.type)==i&&(n.expanded=!n.expanded),n}))}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}checkFileSize(e){let i=0;return Object.keys(e).forEach((n=>{i+=e[n].size})),i<=this.MAX_UPLOAD_SIZE}handleFileSelection(e,i,n){if(e&&e.length>0)if(this.selectedFile=e,this.checkFileSize(this.selectedFile)){const e={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":this.session},body:JSON.stringify({DocumentCode:i})};fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,e).then((e=>{if(e.ok)return this.uploadingStatus=r("uploading",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),e.json()})).then((e=>{const t=new FormData;t.append(i,this.selectedFile[0]),fetch(e.Url,{method:"POST",body:t}).then((e=>{e.ok?(this.uploadingStatus=r(this.selectedFile.length>1?"successUploadMultipleFiles":"successUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i)):(this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),console.error("File upload error:",e.status))})).catch((e=>{console.error("File upload error:",e)}))})).catch((e=>{console.error("File upload error:",e)}))}else console.error(r("fileSizeExceeded",this.language)),this.uploadingStatus=r("fileSizeExceeded",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),this.uploadSizeExceeded=!0}importScript(e){return new Promise(((i,n)=>{fetch(e).then((e=>e.text())).then((e=>{if(new Function(e)(),this.scriptInjected)i(!0);else{const e=document.createElement("script");e.src="https://test.insic.de/frontend3/static/js/avs-loader.min.js",document.head.appendChild(e),this.scriptInjected=!0,i(!0)}})).catch((e=>{n(e)}))}))}isStatusUploaded(e){return!(!e||"Uploaded"!==e.status)}getFirstRequestedDocument(e){var i;let n;return null===(i=null==e?void 0:e.documents)||void 0===i||i.forEach((e=>{"Requested"==e.status&&(n=null!=n?n:e.code)})),n}renderVerificationTypeBox(e){this.expandedOnDesktop&&(e.expanded=!0);let n=this.getFirstRequestedDocument(e),t=e.expanded,o=e.type.trim(),a=e.optionChosen||n,s=e.status,d=e.documents,c=e.flowInfo;const l="Verified"===s,f="Failed"===s||"Expired"===s;return i("div",{class:`verification-box ${t?"expanded":""} ${f?"failed":""} ${l?"success":""}`},i("div",{class:"box box-header "+(t?"expanded":""),onClick:()=>{var i;return this.toggleVerificationType(e.type,null===(i=e.flowInfo)||void 0===i?void 0:i.type)}},i("div",{class:"box-icon"},i("div",null,l?this.verifiedIcon?i("img",{class:"CustomVerifiedIcon",src:this.verifiedIcon,alt:""}):i("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"#388D79"}),i("circle",{cx:"50",cy:"50",r:"34",fill:"none",stroke:"#fff","stroke-width":"12px"}),i("polyline",{points:"30,50 45,63 70,35",fill:"none",stroke:"#fff","stroke-width":"8px"})):f?this.failedIcon?i("img",{class:"CustomFailedIcon",src:this.failedIcon,alt:""}):i("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"red"}),i("line",{x1:"30",y1:"30",x2:"70",y2:"70",stroke:"#fff","stroke-width":"10px"}),i("line",{x1:"30",y1:"70",x2:"70",y2:"30",stroke:"#fff","stroke-width":"10px"})):this.defaultIcon?i("img",{class:"CustomDefaultIcon",src:this.defaultIcon,alt:""}):i("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M9 13H15",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M9 17H12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M14 2V6C14 7.10457 14.8954 8 16 8H20",stroke:"#000000","stroke-width":"2","stroke-linejoin":"round"})))),i("div",{class:"box-title"},r(o,this.language)),i("div",{class:"chevron-icon"},i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("path",{d:t?"M6 15l6-6 6 6":"M6 9l6 6 6-6"})))),t?this.renderExpandedContent(e,a,s,d,c,l,f):i("div",{class:"box box-content"},i("div",{id:"__avs-wrapper"})))}renderDocumentsActions(e,n,t){return i("div",null,this.isStatusUploaded(e)?i("div",{class:"upload-status"},r("uploaded",this.language)):(null==e?void 0:e.statusUploaded)?i("div",{class:"upload-status"},null==e?void 0:e.statusUploaded):i("div",{class:"documents-action"},i("div",{class:"sample-file"},"FileDownload"===(null==e?void 0:e.sampleType)?i("button",{class:"download-button",onClick:()=>this.downloadPDF(null==e?void 0:e.sampleUrl)},i("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i("path",{d:"M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"})),i("span",null,r("download",this.language))):null),i("div",{class:"upload-button"},n?i("label",null,i("input",{type:"file",accept:"*",onChange:e=>this.handleFileSelection(e.target.files,this.selectedOption,t.type),style:{display:"none"}}),i("svg",{width:"100",height:"100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i("line",{x1:"30",y1:"50",x2:"70",y2:"50",stroke:"white","stroke-width":"6"}),i("line",{x1:"50",y1:"30",x2:"50",y2:"70",stroke:"white","stroke-width":"6"}))):null)))}renderExpandedContent(e,t,o,a,s,d,c){return"Widget"===(null==s?void 0:s.type)||"Redirect"===(null==s?void 0:s.type)&&"Manual"!==e.vendorName&&"Verified"!==o?i("div",null,i("hr",{style:{margin:"5px"}}),i("iframe",{src:s.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"})):i("div",{class:"box box-content"},i(n,null,d?i("div",{class:"verification-status"},r("verificationComplete",this.language)):c?i("div",{class:"verification-status"},r("Failed"===o?"verificationFailed":"verificationExpired",this.language)):a.length>0?i("div",{class:"documents-dropdown"},i("select",{class:"nice-select",onChange:i=>this.handleOptionChange(i,e.type)},a.map((e=>i("option",{selected:e.code==t,value:e.code},r(e.type,this.language))))),this.renderDocumentsActions(a.find((e=>e.code===t)),t,e)):null))}render(){return this.isLoading?i("div",null,i("p",null,r("loading",this.language))):i("div",{class:"ModalContainer",ref:e=>this.stylingContainer=e},i("div",{class:"player-kyc-verification-widget"},this.isMobile?i("div",{class:"MenuReturnButton",onClick:this.handleToggleScreen},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i("defs",null),i("g",{transform:"translate(-20 -158)"},i("g",{transform:"translate(20 158)"},i("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i("h2",null,r("kycTitle",this.language))):i("h2",null,r("kycTitle",this.language)),0===this.verificationType.length?i("div",{class:"no-verification-description",style:{padding:"24px",fontSize:"18px"}},r("noVerificationRequired",this.language)):i(n,null,i("div",{class:"widget-description"},r("kycDescription",this.language)),i("div",{class:"verification-types"},this.verificationType.map((e=>e?this.renderVerificationTypeBox(e):null))))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};d.style=':host {\n font-family: inherit;\n}\n\nbutton, select {\n font-family: inherit;\n}\n\n.ModalContainer {\n container-type: inline-size;\n}\n\n.player-kyc-verification-widget {\n padding: 20px;\n align-items: center;\n}\n.player-kyc-verification-widget h2 {\n margin: 15px;\n}\n.player-kyc-verification-widget .widget-description {\n margin: 24px 0px;\n}\n.player-kyc-verification-widget .verification-types {\n width: 100%;\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 34px;\n}\n.player-kyc-verification-widget .verification-types .verification-box {\n transition: height 0.3s, border-color 0.3s;\n border: solid 1px var(--emw--color-gray-100, #E6E6E6);\n border-radius: 2px;\n display: flex;\n flex-direction: column;\n padding: 0px 14px;\n border-width: 2px 2px 8px 2px;\n align-self: start;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box {\n flex-shrink: 0;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header {\n display: flex;\n padding: 14px 0px;\n justify-content: space-between;\n cursor: pointer;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {\n flex-grow: 1;\n display: flex;\n justify-content: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {\n height: 24px;\n width: 24px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {\n flex-grow: 1;\n font-size: 18px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {\n flex-grow: 10;\n width: 14px;\n height: 14px;\n display: flex;\n justify-content: flex-end;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {\n width: 20px;\n height: 22px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content {\n flex-grow: 1;\n border-top: 0.4px solid var(--emw--color-gray-100, #E6E6E6);\n padding: 10px 0px;\n flex-grow: 1;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .upload-status {\n text-align: center;\n padding: 20px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown {\n display: flex;\n flex-direction: column;\n width: 100%;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown svg {\n margin: 16px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .nice-select {\n cursor: pointer;\n width: 100%;\n height: 30px;\n padding: 4px 14px;\n font-size: 14px;\n border: 1px solid var(--emw--color-gray-150, #828282);\n border-radius: 2px;\n background-color: var(--emw--color-white, #FFFFFF);\n color: #333;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n padding-right: 30px;\n background-repeat: no-repeat;\n background-position: right 10px center;\n background-image: url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23333" d="M10 18.4l-6.5-6.5h13z"/><path fill="%23333" d="M10 1.6l6.5 6.5H3.5z"/></svg>\');\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button {\n font-family: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--emw--color-white, #FFFFFF);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n border: none;\n font-size: 16px;\n padding: 10px 0px 0px 0px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button svg {\n margin-right: 10px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded {\n border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));\n min-height: 120px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.failed {\n border-color: var(--emw--color-error, var(--emw--color-red, #FD2839));\n}\n.player-kyc-verification-widget .verification-types .verification-box.success {\n border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content .verification-status {\n margin: 12px 0px 16px;\n font-size: 18px;\n text-align: center;\n color: var(--emw--color-gray-150, #828282);\n}\n\n.MenuReturnButton {\n display: flex;\n align-items: center;\n}\n\n@container (min-width: 700px) {\n .player-kyc-verification-widget {\n padding: 100px 60px;\n }\n}\n@container (max-width: 700px) {\n .player-kyc-verification-widget h2 {\n margin: 15px;\n text-align: center;\n }\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: 1fr;\n grid-gap: 16px;\n }\n}\n@container (max-width: 475px) {\n .player-kyc-verification-widget .verification-types {\n display: block;\n }\n .player-kyc-verification-widget .verification-types .verification-box {\n margin-bottom: 20px;\n }\n}\n@container (max-width: 1240px) and (min-width: 701px) {\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: repeat(2, 1fr);\n }\n}';export{d as player_kyc_verification}
|
|
1
|
+
import{r as e,h as i,F as n}from"./p-25ea8e6b.js";let t={en:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account Verification",kycDescription:"We require some documents to protect your account and to comply with legal and license requirements.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Recheck:"Recheck",Biometric:"Biometric",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},de:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account-Verifizierung",kycDescription:"Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Dokument bereits hochgeladen.",Unknown:"Unbekannt",Passport:"Reisepass",IdCardFront:"Personalausweis (Vorderseite)",IdCardBack:"Personalausweis (Rückseite)",BirthCertificate:"Geburtsurkunde",DrivingLicenseFront:"Führerschein (Vorderseite)",DrivingLicenseBack:"Führerschein (Rückseite)",ResidentialPermit:"Wohnberechtigungsschein",CreditDebitCardFront:"Kredit-/Debitkarte (Vorderseite)",CreditDebitCardBack:"Kredit-/Debitkarte (Rückseite)",UtilityBill:"Nebenkostenabrechnung",TaxBill:"Steuerbescheid",CertifiedCopy:"Beglaubigte Kopie",Selfie:"Selfie",BankStatement:"Kontoauszug",RentAgreement:"Mietvertrag",InsuranceAgreement:"Versicherungsvertrag",Other:"Sonstige",IncomeAndOrSavingsFromEmployment:"Einkommen und/oder Ersparnisse aus Beschäftigung",SaleOfSharesOrOtherInvestments:"Verkauf von Aktien oder anderen Anlagen",DividendsProfitsFromCompany:"Dividenden/Gewinne aus dem Unternehmen",CompanySale:"Firmenverkauf",IndividualOwnsPolicyCompanyPays:"Einzelperson besitzt die Police/Unternehmen zahlt",SaleOfProperty:"Immobilienverkauf",Inheritance:"Erbschaft",MaturityOrSurrenderOfLifeAssurance:"Fälligkeit oder Rückkauf einer Lebensversicherung",InsuranceClaims:"Versicherungsansprüche",CompensationPayment:"Entschädigungszahlung",LotteryBettingCasinoWin:"Lotterie-/Wett-/Casinogewinn",Loan:"Darlehen",Gift:"Geschenk",Ewallet:"E-Wallet",Voucher:"Gutschein"},ro:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Verificarea contului",kycDescription:"Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Document deja încărcat.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},fr:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Vérification de compte",kycDescription:"Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document déjà téléchargé.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},ar:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"التحقق من الحساب",kycDescription:"نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},hr:{loading:"Učitavanje, molimo pričekajte ...",noVerificationRequired:"Trenutačno nije potrebna provjera vašeg računa.",verificationComplete:"Provjera dovršena",verificationFailed:"Provjera nije uspjela",verificationExpired:"Provjera je istekla",fileSizeExceeded:"Premašena je maksimalna veličina datoteke. Maksimalna veličina datoteke je: 50mb",uploading:"Prijenos…",successUpload:"Vaš dokument je učitan i uskoro će biti pregledan",successUploadMultipleFiles:"Vaši su dokumenti učitani i uskoro će biti pregledani",failedUpload:"Prijenos nije uspio pokušajte ponovo",chooseDocument:"Odaberite Dokument",kycTitle:"Verifikacija računa",kycDescription:"Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",download:"Preuzmi",Age:"Dob",Aml:"AML",Documents:"Dokumenti",Pep:"Politički izložena osoba",Sanction:"Sankcija",Biometric:"Verifikacija",Recheck:"Ponovna provjera",ProofOfAddress:"Potvrda adrese",SourceOfWealth:"Izvor sredstava",SocialMedia:"Društvene mreže",ProofOfPayment:"Platna metoda",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Dokument je već učitan.",Unknown:"Nepoznato",Passport:"Putovnica",IdCardFront:"Prednja strana osobne iskaznice",IdCardBack:"Stražnja strana osobne iskaznice",BirthCertificate:"Rodni list",DrivingLicenseFront:"Vozačka dozvola (prednja strana)",DrivingLicenseBack:"Vozačka dozvola (stražnja strana)",ResidentialPermit:"Boravišna dozvola",CreditDebitCardFront:"Kreditna/debitna kartica (prednja strana)",CreditDebitCardBack:"Kreditna/debitna kartica (stražnja strana)",UtilityBill:"Račun za komunalne usluge",TaxBill:"Porezni račun",CertifiedCopy:"Ovjereni primjerak",Selfie:"Selfie",BankStatement:"Bankovni izvod",RentAgreement:"Ugovor o najmu",InsuranceAgreement:"Ugovor o osiguranju",Other:"Ostalo",IncomeAndOrSavingsFromEmployment:"Prihod/Ušteđevina ",SaleOfSharesOrOtherInvestments:"Prodaja dionica ili drugih investicija",DividendsProfitsFromCompany:"Dividende/dobit od tvrtke",CompanySale:"Prodaja tvrtke",IndividualOwnsPolicyCompanyPays:"Osoba posjeduje policu/tvrtka plaća",SaleOfProperty:"Prodaja nekretnine",Inheritance:"Nasljeđe",MaturityOrSurrenderOfLifeAssurance:"Dospijeće ili predaja životnog osiguranja",InsuranceClaims:"Zahtjevi za osiguranje",CompensationPayment:"Isplata odštete",LotteryBettingCasinoWin:"Dobitak na lutriji/kladionici/kasinu",Loan:"Zajam",Gift:"Poklon",Ewallet:"Elektronički novčanik",Voucher:"Vaučer"},"pt-br":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Carregando, espere por favor…",noVerificationRequired:"Não há necessidade de verificação para sua conta no momento",verificationComplete:"Verificação completa",verificationFailed:"Verificação de falha",verificationExpired:"A verificação expirou",fileSizeExceeded:"Tamanho máximo do arquivo excedido. O tamanho máximo do arquivo é: 50 MB",uploading:"Carregando...",successUpload:"Seu documento foi carregado e será analisado em breve",successUploadMultipleFiles:"Seus documentos foram enviados e serão revisados em breve",failedUpload:"Falha no upload do arquivo, tente novamente",chooseDocument:"Escolha um arquivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento já carregado.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},"es-mx":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Cargando, espere por favor…",noVerificationRequired:"No hay verificación requerida para su cuenta al momento",verificationComplete:"Verificación completa",verificationFailed:"Verificación fallo",verificationExpired:"Verificación expiro",fileSizeExceeded:"Tamaño máximo de archivo se excedió. El tamaño máximo del archivo es: 50mb",uploading:"Cargando ...",successUpload:"Su documento ha sido cargado y será revisado en breve",successUploadMultipleFiles:"Sus documento han sido cargados y serán revisado en breve",failedUpload:"La carga del archivo falló, por favor intente de nuevo",chooseDocument:"Elija un archivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento ya subido.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"}};const o=e=>new Promise((i=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((i=>{t[i]||(t[i]={});for(let n in e[i])t[i][n]=e[i][n]})),i(!0)}))})),r=(e,i,n)=>{let o=t[void 0!==i&&i in t?i:"en"][e];if(void 0!==n)for(const[e,i]of Object.entries(n.values)){const n=new RegExp(`{${e}}`,"g");o=o.replace(n,i)}return o};function a(e,i){if(e){const n=document.createElement("style");n.innerHTML=i,e.appendChild(n)}}function s(e,i){const n=new URL(i);fetch(n.href).then((e=>e.text())).then((i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}const d=class{constructor(i){var n;e(this,i),this.scriptInjected=!1,this.MAX_UPLOAD_SIZE=5e7,this.userAgent=window.navigator.userAgent,this.isMobile=!!((n=this.userAgent).toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),this.handleToggleScreen=()=>{this.toggleScreen(this.isMobile)},this.userId="",this.session="",this.language=void 0,this.endpoint="",this.translationUrl="",this.clientStyling="",this.verifiedIcon="",this.failedIcon="",this.defaultIcon="",this.clientStylingUrl="",this.mbSource=void 0,this.verificationType=[],this.isLoading=!1,this.selectedFile=null,this.uploadingStatus=void 0,this.uploadSizeExceeded=!1,this.expandedOnDesktop=!1}handleNewTranslations(){this.isLoading=!0,o(this.translationUrl).then((()=>{this.isLoading=!1}))}async componentWillLoad(){this.translationUrl.length>2&&await o(this.translationUrl)}handleClientStylingChange(e,i){e!=i&&a(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,i){e!=i&&this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)}async componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(i,(i=>{n.innerHTML=i,e&&e.appendChild(n)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&a(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))),window.innerWidth>700&&(this.expandedOnDesktop=!0);try{let e=new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);const i={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json"},body:JSON.stringify({})};fetch(e.href,i).then((e=>{if(200===e.status)return e.json();throw new Error("HTTP status "+e.status)})).then((e=>{this.verificationType=e.verifications})).catch((e=>{console.error(e)}))}catch(e){console.error("Error fetching verification types:",e)}}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleOptionChange(e,i){const n=e.target;this.verificationType=this.verificationType.map((e=>(e.type===i&&(e.optionChosen=n.value),e)))}handleDocumentsStatus(e,i,n){this.verificationType=this.verificationType.map((t=>{if(t.type===e){const e=t.documents.find((e=>e.code===n));e&&(e.statusUploaded=i)}return t}))}downloadPDF(e){const i=document.createElement("a");i.href=e,i.download="file.pdf",i.target="_blank",i.dispatchEvent(new MouseEvent("click"))}toggleVerificationType(e,i){this.expandedOnDesktop=!1,this.verificationType=this.verificationType.map((n=>{var t;return n.type===e&&(null===(t=n.flowInfo)||void 0===t?void 0:t.type)==i&&(n.expanded=!n.expanded),n}))}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}checkFileSize(e){let i=0;return Object.keys(e).forEach((n=>{i+=e[n].size})),i<=this.MAX_UPLOAD_SIZE}handleFileSelection(e,i,n){if(e&&e.length>0)if(this.selectedFile=e,this.checkFileSize(this.selectedFile)){const e={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":this.session},body:JSON.stringify({DocumentCode:i})};fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,e).then((e=>{if(e.ok)return this.uploadingStatus=r("uploading",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),e.json()})).then((e=>{if("Success"==e.ResponseCode){const t=new FormData;t.append(i,this.selectedFile[0]),fetch(e.Url,{method:"POST",body:t}).then((e=>{e.ok?(this.uploadingStatus=r(this.selectedFile.length>1?"successUploadMultipleFiles":"successUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i)):(this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),console.error("File upload error:",e.status))})).catch((e=>{console.error("File upload error:",e)}))}else this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i)})).catch((e=>{console.error("File upload error:",e)}))}else console.error(r("fileSizeExceeded",this.language)),this.uploadingStatus=r("fileSizeExceeded",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,i),this.uploadSizeExceeded=!0}importScript(e){return new Promise(((i,n)=>{fetch(e).then((e=>e.text())).then((e=>{if(new Function(e)(),this.scriptInjected)i(!0);else{const e=document.createElement("script");e.src="https://test.insic.de/frontend3/static/js/avs-loader.min.js",document.head.appendChild(e),this.scriptInjected=!0,i(!0)}})).catch((e=>{n(e)}))}))}isStatusUploaded(e){return!(!e||"Uploaded"!==e.status)}getFirstRequestedDocument(e){var i,n;let t;return null===(i=null==e?void 0:e.documents)||void 0===i||i.forEach((e=>{"Requested"==e.status&&(t=null!=t?t:e.code)})),t||(t=null===(n=null==e?void 0:e.documents[0])||void 0===n?void 0:n.code),t}renderVerificationTypeBox(e){this.expandedOnDesktop&&(e.expanded=!0);let n=this.getFirstRequestedDocument(e),t=e.expanded,o=e.type.trim(),a=e.optionChosen||n,s=e.status,d=e.documents,c=e.flowInfo;const l="Verified"===s,f="Failed"===s||"Expired"===s;return i("div",{class:`verification-box ${t?"expanded":""} ${f?"failed":""} ${l?"success":""}`},i("div",{class:"box box-header "+(t?"expanded":""),onClick:()=>{var i;return this.toggleVerificationType(e.type,null===(i=e.flowInfo)||void 0===i?void 0:i.type)}},i("div",{class:"box-icon"},i("div",null,l?this.verifiedIcon?i("img",{class:"CustomVerifiedIcon",src:this.verifiedIcon,alt:""}):i("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"#388D79"}),i("circle",{cx:"50",cy:"50",r:"34",fill:"none",stroke:"#fff","stroke-width":"12px"}),i("polyline",{points:"30,50 45,63 70,35",fill:"none",stroke:"#fff","stroke-width":"8px"})):f?this.failedIcon?i("img",{class:"CustomFailedIcon",src:this.failedIcon,alt:""}):i("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"red"}),i("line",{x1:"30",y1:"30",x2:"70",y2:"70",stroke:"#fff","stroke-width":"10px"}),i("line",{x1:"30",y1:"70",x2:"70",y2:"30",stroke:"#fff","stroke-width":"10px"})):this.defaultIcon?i("img",{class:"CustomDefaultIcon",src:this.defaultIcon,alt:""}):i("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M9 13H15",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M9 17H12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M14 2V6C14 7.10457 14.8954 8 16 8H20",stroke:"#000000","stroke-width":"2","stroke-linejoin":"round"})))),i("div",{class:"box-title"},r(o,this.language)),i("div",{class:"chevron-icon"},i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("path",{d:t?"M6 15l6-6 6 6":"M6 9l6 6 6-6"})))),t?this.renderExpandedContent(e,a,s,d,c,l,f):i("div",{class:"box box-content"},i("div",{id:"__avs-wrapper"})))}renderDocumentsActions(e,n,t){return i("div",null,this.isStatusUploaded(e)?i("div",{class:"upload-status"},r("uploaded",this.language)):(null==e?void 0:e.statusUploaded)?i("div",{class:"upload-status"},null==e?void 0:e.statusUploaded):i("div",{class:"documents-action"},i("div",{class:"sample-file"},"FileDownload"===(null==e?void 0:e.sampleType)?i("button",{class:"download-button",onClick:()=>this.downloadPDF(null==e?void 0:e.sampleUrl)},i("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i("path",{d:"M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"})),i("span",null,r("download",this.language))):null),i("div",{class:"upload-button"},n?i("label",null,i("input",{type:"file",accept:"*",onChange:e=>this.handleFileSelection(e.target.files,n,t.type),style:{display:"none"}}),i("svg",{width:"100",height:"100",xmlns:"http://www.w3.org/2000/svg"},i("circle",{cx:"50",cy:"50",r:"40",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i("line",{x1:"30",y1:"50",x2:"70",y2:"50",stroke:"white","stroke-width":"6"}),i("line",{x1:"50",y1:"30",x2:"50",y2:"70",stroke:"white","stroke-width":"6"}))):null)))}renderExpandedContent(e,t,o,a,s,d,c){return"Widget"===(null==s?void 0:s.type)||"Redirect"===(null==s?void 0:s.type)&&"Manual"!==e.vendorName&&"Verified"!==o?i("div",null,i("hr",{style:{margin:"5px"}}),i("iframe",{src:s.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"})):i("div",{class:"box box-content"},i(n,null,d?i("div",{class:"verification-status"},r("verificationComplete",this.language)):c?i("div",{class:"verification-status"},r("Failed"===o?"verificationFailed":"verificationExpired",this.language)):a.length>0?i("div",{class:"documents-dropdown"},i("select",{class:"nice-select",onChange:i=>this.handleOptionChange(i,e.type)},a.map((e=>i("option",{selected:e.code==t,value:e.code},r(e.type,this.language))))),this.renderDocumentsActions(a.find((e=>e.code===t)),t,e)):null))}render(){return this.isLoading?i("div",null,i("p",null,r("loading",this.language))):i("div",{class:"ModalContainer",ref:e=>this.stylingContainer=e},i("div",{class:"player-kyc-verification-widget"},this.isMobile?i("div",{class:"MenuReturnButton",onClick:this.handleToggleScreen},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i("defs",null),i("g",{transform:"translate(-20 -158)"},i("g",{transform:"translate(20 158)"},i("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i("h2",null,r("kycTitle",this.language))):i("h2",null,r("kycTitle",this.language)),0===this.verificationType.length?i("div",{class:"no-verification-description",style:{padding:"24px",fontSize:"18px"}},r("noVerificationRequired",this.language)):i(n,null,i("div",{class:"widget-description"},r("kycDescription",this.language)),i("div",{class:"verification-types"},this.verificationType.map((e=>e?this.renderVerificationTypeBox(e):null))))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};d.style=':host {\n font-family: inherit;\n}\n\nbutton, select {\n font-family: inherit;\n}\n\n.ModalContainer {\n container-type: inline-size;\n}\n\n.player-kyc-verification-widget {\n padding: 20px;\n align-items: center;\n}\n.player-kyc-verification-widget h2 {\n margin: 15px;\n}\n.player-kyc-verification-widget .widget-description {\n margin: 24px 0px;\n}\n.player-kyc-verification-widget .verification-types {\n width: 100%;\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 34px;\n}\n.player-kyc-verification-widget .verification-types .verification-box {\n transition: height 0.3s, border-color 0.3s;\n border: solid 1px var(--emw--color-gray-100, #E6E6E6);\n border-radius: 2px;\n display: flex;\n flex-direction: column;\n padding: 0px 14px;\n border-width: 2px 2px 8px 2px;\n align-self: start;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box {\n flex-shrink: 0;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header {\n display: flex;\n padding: 14px 0px;\n justify-content: space-between;\n cursor: pointer;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {\n flex-grow: 1;\n display: flex;\n justify-content: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {\n height: 24px;\n width: 24px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {\n flex-grow: 1;\n font-size: 18px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {\n flex-grow: 10;\n width: 14px;\n height: 14px;\n display: flex;\n justify-content: flex-end;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {\n width: 20px;\n height: 22px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content {\n flex-grow: 1;\n border-top: 0.4px solid var(--emw--color-gray-100, #E6E6E6);\n padding: 10px 0px;\n flex-grow: 1;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .upload-status {\n text-align: center;\n padding: 20px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown {\n display: flex;\n flex-direction: column;\n width: 100%;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown svg {\n margin: 16px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .nice-select {\n cursor: pointer;\n width: 100%;\n height: 30px;\n padding: 4px 14px;\n font-size: 14px;\n border: 1px solid var(--emw--color-gray-150, #828282);\n border-radius: 2px;\n background-color: var(--emw--color-white, #FFFFFF);\n color: #333;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n padding-right: 30px;\n background-repeat: no-repeat;\n background-position: right 10px center;\n background-image: url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23333" d="M10 18.4l-6.5-6.5h13z"/><path fill="%23333" d="M10 1.6l6.5 6.5H3.5z"/></svg>\');\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button {\n font-family: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--emw--color-white, #FFFFFF);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n border: none;\n font-size: 16px;\n padding: 10px 0px 0px 0px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button svg {\n margin-right: 10px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded {\n border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));\n min-height: 120px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.failed {\n border-color: var(--emw--color-error, var(--emw--color-red, #FD2839));\n}\n.player-kyc-verification-widget .verification-types .verification-box.success {\n border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content .verification-status {\n margin: 12px 0px 16px;\n font-size: 18px;\n text-align: center;\n color: var(--emw--color-gray-150, #828282);\n}\n\n.MenuReturnButton {\n display: flex;\n align-items: center;\n}\n\n@container (min-width: 700px) {\n .player-kyc-verification-widget {\n padding: 100px 60px;\n }\n}\n@container (max-width: 700px) {\n .player-kyc-verification-widget h2 {\n margin: 15px;\n text-align: center;\n }\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: 1fr;\n grid-gap: 16px;\n }\n}\n@container (max-width: 475px) {\n .player-kyc-verification-widget .verification-types {\n display: block;\n }\n .player-kyc-verification-widget .verification-types .verification-box {\n margin-bottom: 20px;\n }\n}\n@container (max-width: 1240px) and (min-width: 701px) {\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: repeat(2, 1fr);\n }\n}';export{d as player_kyc_verification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as n}from"./p-25ea8e6b.js";export{s as setNonce}from"./p-25ea8e6b.js";import{g as i}from"./p-e1255160.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["p-
|
|
1
|
+
import{p as e,b as n}from"./p-25ea8e6b.js";export{s as setNonce}from"./p-25ea8e6b.js";import{g as i}from"./p-e1255160.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["p-0082bc3f",[[1,"player-kyc-verification",{userId:[1,"user-id"],session:[1],language:[1],endpoint:[1],translationUrl:[1,"translation-url"],clientStyling:[1,"client-styling"],verifiedIcon:[1,"verified-icon"],failedIcon:[1,"failed-icon"],defaultIcon:[1,"default-icon"],clientStylingUrl:[1,"client-styling-url"],mbSource:[1,"mb-source"],verificationType:[32],isLoading:[32],selectedFile:[32],uploadingStatus:[32],uploadSizeExceeded:[32],expandedOnDesktop:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e))));
|
|
@@ -45,7 +45,6 @@ export declare class PlayerKycVerificationWidget {
|
|
|
45
45
|
selectedFile: FileList | null;
|
|
46
46
|
uploadingStatus: string;
|
|
47
47
|
uploadSizeExceeded: boolean;
|
|
48
|
-
selectedOption: string;
|
|
49
48
|
expandedOnDesktop: boolean;
|
|
50
49
|
private stylingContainer;
|
|
51
50
|
private stylingSubscription;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|