@ekyc_qoobiss/qbs-ect-cmp 3.6.27 → 3.6.28
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/agreement-check_19.cjs.entry.js +9498 -0
- package/dist/cjs/base-component-aa9e52bf.js +832 -0
- package/dist/cjs/index-41696e0e.js +1573 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader-dots.cjs.entry.js +19 -0
- package/dist/cjs/loader.cjs.js +22 -0
- package/dist/cjs/qbs-ect-cmp.cjs.js +23 -0
- package/dist/cjs/random-actions.cjs.entry.js +23 -0
- package/dist/collection/assets/canvas-masks/face_green.svg +8 -0
- package/dist/collection/assets/canvas-masks/face_white.svg +8 -0
- package/dist/collection/assets/canvas-masks/id_green.svg +6 -0
- package/dist/collection/assets/canvas-masks/id_white.svg +6 -0
- package/dist/collection/assets/complete.svg +4 -0
- package/dist/collection/assets/landing/device.svg +14 -0
- package/dist/collection/assets/landing/id.svg +3 -0
- package/dist/collection/assets/landing/info.svg +3 -0
- package/dist/collection/assets/landing/validation.svg +16 -0
- package/dist/collection/assets/loader.svg +29 -0
- package/dist/collection/collection-manifest.json +32 -0
- package/dist/collection/components/base-component.js +63 -0
- package/dist/collection/components/common/agreement-check/agreement-check.css +0 -0
- package/dist/collection/components/common/agreement-check/agreement-check.js +104 -0
- package/dist/collection/components/common/camera-error/camera-error.css +0 -0
- package/dist/{qbs-ect-cmp/camera-error.entry.js → collection/components/common/camera-error/camera-error.js} +52 -20
- package/dist/collection/components/common/capture-error/capture-error.css +0 -0
- package/dist/{qbs-ect-cmp/capture-error.entry.js → collection/components/common/capture-error/capture-error.js} +63 -16
- package/dist/collection/components/common/how-to-info/how-to-info.css +0 -0
- package/dist/collection/components/common/how-to-info/how-to-info.js +121 -0
- package/dist/collection/components/common/id-back-capture/id-back-capture.css +35 -0
- package/dist/{qbs-ect-cmp/id-back-capture.entry.js → collection/components/common/id-back-capture/id-back-capture.js} +94 -24
- package/dist/collection/components/common/id-capture/id-capture.css +35 -0
- package/dist/{qbs-ect-cmp/id-capture.entry.js → collection/components/common/id-capture/id-capture.js} +94 -24
- package/dist/collection/components/common/id-tilt/id-tilt.css +35 -0
- package/dist/{qbs-ect-cmp/id-tilt.entry.js → collection/components/common/id-tilt/id-tilt.js} +94 -24
- package/dist/collection/components/common/random-actions/random-actions.css +0 -0
- package/dist/collection/components/common/random-actions/random-actions.js +24 -0
- package/dist/collection/components/common/selfie-capture/selfie-capture.css +7 -0
- package/dist/{qbs-ect-cmp/selfie-capture.entry.js → collection/components/common/selfie-capture/selfie-capture.js} +95 -24
- package/dist/collection/components/common/selfie-tilt/selfie-tilt.css +7 -0
- package/dist/{qbs-ect-cmp/selfie-tilt.entry.js → collection/components/common/selfie-tilt/selfie-tilt.js} +95 -24
- package/dist/collection/components/controls/camera/camera.css +47 -0
- package/dist/collection/components/controls/camera/camera.js +289 -0
- package/dist/collection/components/controls/loader-dots/loader-dots.css +61 -0
- package/dist/collection/components/controls/loader-dots/loader-dots.js +18 -0
- package/dist/collection/components/flow/agreement-info/agreement-info.css +0 -0
- package/dist/{qbs-ect-cmp/agreement-info.entry.js → collection/components/flow/agreement-info/agreement-info.js} +57 -18
- package/dist/collection/components/flow/end-redirect/end-redirect.css +128 -0
- package/dist/collection/components/flow/end-redirect/end-redirect.js +47 -0
- package/dist/collection/components/flow/error-end/error-end.css +0 -0
- package/dist/collection/components/flow/error-end/error-end.js +61 -0
- package/dist/collection/components/flow/landing-validation/landing-validation.css +0 -0
- package/dist/collection/components/flow/landing-validation/landing-validation.js +122 -0
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.css +10 -0
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +143 -0
- package/dist/collection/components/flow/process-id/process-id.css +0 -0
- package/dist/{qbs-ect-cmp/process-id.entry.js → collection/components/flow/process-id/process-id.js} +100 -32
- package/dist/collection/components/flow/sms-code-validation/sms-code-validation.css +0 -0
- package/dist/{qbs-ect-cmp/sms-code-validation.entry.js → collection/components/flow/sms-code-validation/sms-code-validation.js} +63 -30
- package/dist/collection/components/flow/user-liveness/user-liveness.css +0 -0
- package/dist/{qbs-ect-cmp/user-liveness.entry.js → collection/components/flow/user-liveness/user-liveness.js} +91 -25
- package/dist/collection/components/identification-component/identification-component.css +991 -0
- package/dist/collection/components/identification-component/identification-component.js +408 -0
- package/dist/collection/global.js +0 -0
- package/dist/collection/helpers/ApiCall.js +223 -0
- package/dist/{qbs-ect-cmp/Cameras-dfbebc29.js → collection/helpers/Cameras.js} +6 -9
- package/dist/collection/helpers/DeviceDetection.js +85 -0
- package/dist/collection/helpers/Events.js +58 -0
- package/dist/collection/helpers/ML5.js +38 -0
- package/dist/collection/helpers/Stream.js +229 -0
- package/dist/collection/helpers/TranslationUtils.js +37 -0
- package/dist/collection/helpers/canvas.js +10 -0
- package/dist/collection/helpers/index.js +21 -0
- package/dist/collection/helpers/security.js +25 -0
- package/dist/collection/helpers/store.js +48 -0
- package/dist/collection/helpers/textValues.js +48 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +182 -0
- package/dist/collection/libs/FaceML5Detector/FacePose.js +85 -0
- package/dist/collection/libs/IDML5Detector/IDML5Detector.js +99 -0
- package/dist/{qbs-ect-cmp/IDPose-181bcb25.js → collection/libs/IDML5Detector/IDPose.js} +2 -4
- package/dist/{qbs-ect-cmp/CaptureFlow-db5d90a4.js → collection/models/CaptureFlow.js} +4 -6
- package/dist/collection/models/FlowStatus.js +14 -0
- package/dist/collection/models/FlowSteps.js +30 -0
- package/dist/collection/models/IAbortResult.js +1 -0
- package/dist/collection/models/IAddRequest.js +1 -0
- package/dist/collection/models/IAgreement.js +1 -0
- package/dist/collection/models/ICamera.js +1 -0
- package/dist/{qbs-ect-cmp/IDevice-15ecfdeb.js → collection/models/IDevice.js} +4 -6
- package/dist/collection/models/IEctStore.js +1 -0
- package/dist/collection/models/IGeneration.js +1 -0
- package/dist/collection/models/ILinkSend.js +1 -0
- package/dist/collection/models/ILogResult.js +1 -0
- package/dist/collection/models/IOrderStatus.js +1 -0
- package/dist/collection/models/IOtpCheck.js +1 -0
- package/dist/collection/models/IOtpSend.js +1 -0
- package/dist/collection/models/ITranslationValues.js +1 -0
- package/dist/collection/models/IUploadFile.js +1 -0
- package/dist/collection/models/IVerificationMode.js +5 -0
- package/dist/collection/models/OrderStatuses.js +8 -0
- package/dist/{qbs-ect-cmp/utils-8225f0b7.js → collection/utils/utils.js} +8 -10
- package/dist/esm/agreement-check_19.entry.js +9476 -0
- package/dist/{qbs-ect-cmp/base-component-2e490fd9.js → esm/base-component-b7f50d31.js} +384 -62
- package/dist/esm/index-cf54a432.js +1543 -0
- package/dist/esm/index.js +1 -0
- package/dist/{qbs-ect-cmp → esm}/loader-dots.entry.js +1 -1
- package/dist/esm/loader.js +18 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/qbs-ect-cmp.js +18 -0
- package/dist/{qbs-ect-cmp → esm}/random-actions.entry.js +2 -4
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/qbs-ect-cmp/index.esm.js +0 -1
- package/dist/qbs-ect-cmp/p-054dc5b3.entry.js +1 -0
- package/dist/qbs-ect-cmp/p-215a7e76.entry.js +1 -0
- package/dist/qbs-ect-cmp/p-7bedffaa.js +1 -0
- package/dist/qbs-ect-cmp/p-8942656c.js +2 -0
- package/dist/qbs-ect-cmp/p-c32a782a.entry.js +1373 -0
- package/dist/qbs-ect-cmp/qbs-ect-cmp.css +1 -320
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -148
- package/package.json +1 -1
- package/dist/qbs-ect-cmp/ML5-657ef934.js +0 -1370
- package/dist/qbs-ect-cmp/Stream-b867a2be.js +0 -3104
- package/dist/qbs-ect-cmp/_commonjsHelpers-321aa363.js +0 -44
- package/dist/qbs-ect-cmp/agreement-check.entry.js +0 -41
- package/dist/qbs-ect-cmp/app-globals-0f993ce5.js +0 -3
- package/dist/qbs-ect-cmp/camera-comp.entry.js +0 -103
- package/dist/qbs-ect-cmp/css-shim-b7d3d95f.js +0 -4
- package/dist/qbs-ect-cmp/dom-64053c71.js +0 -73
- package/dist/qbs-ect-cmp/end-redirect.entry.js +0 -25
- package/dist/qbs-ect-cmp/error-end.entry.js +0 -19
- package/dist/qbs-ect-cmp/how-to-info.entry.js +0 -52
- package/dist/qbs-ect-cmp/identification-component.entry.js +0 -909
- package/dist/qbs-ect-cmp/index-78a05b9e.js +0 -3371
- package/dist/qbs-ect-cmp/landing-validation.entry.js +0 -90
- package/dist/qbs-ect-cmp/mobile-redirect.entry.js +0 -2984
- package/dist/qbs-ect-cmp/shadow-css-98135883.js +0 -387
- package/dist/qbs-ect-cmp/textValues-6bcc85dd.js +0 -302
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-41696e0e.js');
|
|
6
|
+
|
|
7
|
+
const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
|
|
8
|
+
|
|
9
|
+
const LoaderDots = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return index.h("i", null);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
LoaderDots.style = loaderDotsCss;
|
|
18
|
+
|
|
19
|
+
exports.loader_dots = LoaderDots;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-41696e0e.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.setNonce = index.setNonce;
|
|
22
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-41696e0e.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchBrowser = () => {
|
|
11
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('qbs-ect-cmp.cjs.js', document.baseURI).href));
|
|
12
|
+
const opts = {};
|
|
13
|
+
if (importMeta !== '') {
|
|
14
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
15
|
+
}
|
|
16
|
+
return index.promiseResolve(opts);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
patchBrowser().then(options => {
|
|
20
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-41696e0e.js');
|
|
6
|
+
const baseComponent = require('./base-component-aa9e52bf.js');
|
|
7
|
+
|
|
8
|
+
const randomActionsCss = "";
|
|
9
|
+
|
|
10
|
+
const RandomActions = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.baseComponent = new baseComponent.BaseComponent(baseComponent.FlowSteps.SelfieTilt);
|
|
14
|
+
}
|
|
15
|
+
componentWillLoad() { }
|
|
16
|
+
buttonClick() { }
|
|
17
|
+
render() {
|
|
18
|
+
return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle)), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
RandomActions.style = randomActionsCss;
|
|
22
|
+
|
|
23
|
+
exports.random_actions = RandomActions;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="150" height="224.99999999999997" xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" version="1.1" xml:space="preserve">
|
|
2
|
+
<g>
|
|
3
|
+
<title>Layer 1</title>
|
|
4
|
+
<g stroke="null" id="Layer 1">
|
|
5
|
+
<path stroke="#4ca585" id="svg_1" stroke-linejoin="round" fill="none" d="m74.27765,6.92761c-11.37597,-0.01713 -33.56551,5.10433 -46.81316,19.49481c-6.74143,7.32292 -18.12269,23.06967 -19.26758,59.61369c-0.51906,16.56921 5.04524,60.62533 10.24006,76.46775c3.6313,11.07468 27.48215,43.93349 44.4906,53.68251c4.80791,2.75546 11.29668,2.68251 12.42255,2.68251c1.18876,-0.08457 7.33026,0.07294 12.13765,-2.68251c17.00846,-9.74902 40.40208,-42.76851 44.4906,-53.68251c4.40038,-11.74491 10.75965,-59.89854 10.24006,-76.46775c-1.14489,-36.54402 -12.52615,-52.29077 -19.26758,-59.61369c-13.24765,-14.39048 -35.30663,-19.52933 -46.77827,-19.49481c-0.74688,0.00222 -1.89494,0 -1.89494,0z" stroke-width="7"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="150" height="224.99999999999997" xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" version="1.1" xml:space="preserve">
|
|
2
|
+
<g>
|
|
3
|
+
<title>Layer 1</title>
|
|
4
|
+
<g stroke="null" id="Layer 1">
|
|
5
|
+
<path stroke="#ffffff" id="svg_1" stroke-linejoin="round" fill="none" d="m74.27765,6.92761c-11.37597,-0.01713 -33.56551,5.10433 -46.81316,19.49481c-6.74143,7.32292 -18.12269,23.06967 -19.26758,59.61369c-0.51906,16.56921 5.04524,60.62533 10.24006,76.46775c3.6313,11.07468 27.48215,43.93349 44.4906,53.68251c4.80791,2.75546 11.29668,2.68251 12.42255,2.68251c1.18876,-0.08457 7.33026,0.07294 12.13765,-2.68251c17.00846,-9.74902 40.40208,-42.76851 44.4906,-53.68251c4.40038,-11.74491 10.75965,-59.89854 10.24006,-76.46775c-1.14489,-36.54402 -12.52615,-52.29077 -19.26758,-59.61369c-13.24765,-14.39048 -35.30663,-19.52933 -46.77827,-19.49481c-0.74688,0.00222 -1.89494,0 -1.89494,0z" stroke-width="7"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="335" height="238" viewBox="0 0 335 238" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M334.886 46.9241H327.908V7.97537H288.273V0.993164H334.886V46.9241Z" fill="#4ca585"/>
|
|
3
|
+
<path d="M335.001 237.007H289.07V230.025H328.019V190.39H335.001V237.007Z" fill="#4ca585"/>
|
|
4
|
+
<path d="M46.7271 237.007H0.109863V191.072H7.09207V230.025H46.7271V237.007Z" fill="#4ca585"/>
|
|
5
|
+
<path d="M6.98172 47.6104H-0.000488281V0.993164H45.9305V7.97537H6.98172V47.6104Z" fill="#4ca585"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="335" height="238" viewBox="0 0 335 238" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M334.886 46.9241H327.908V7.97537H288.273V0.993164H334.886V46.9241Z" fill="#E6E6E6"/>
|
|
3
|
+
<path d="M335.001 237.007H289.07V230.025H328.019V190.39H335.001V237.007Z" fill="#E6E6E6"/>
|
|
4
|
+
<path d="M46.7271 237.007H0.109863V191.072H7.09207V230.025H46.7271V237.007Z" fill="#E6E6E6"/>
|
|
5
|
+
<path d="M6.98172 47.6104H-0.000488281V0.993164H45.9305V7.97537H6.98172V47.6104Z" fill="#E6E6E6"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="83" height="84" viewBox="0 0 83 84" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M41.5 83.7062C30.4147 83.7062 19.9929 79.3804 12.1546 71.525C4.31641 63.6697 0 53.2251 0 42.1156C0 31.0061 4.31641 20.5615 12.1546 12.7061C19.9929 4.85075 30.4147 0.524902 41.5 0.524902C52.5853 0.524902 63.0071 4.85075 70.8453 12.7061C78.6836 20.5615 83 31.0061 83 42.1156C83 53.2251 78.6836 63.6697 70.8453 71.525C63.0071 79.3804 52.5853 83.7062 41.5 83.7062ZM41.5 4.76313C20.9483 4.76313 4.22899 21.5189 4.22899 42.1156C4.22899 62.7122 20.9483 79.468 41.5 79.468C62.0517 79.468 78.771 62.7122 78.771 42.1156C78.771 21.5189 62.0517 4.76313 41.5 4.76313Z" fill="#5DC1AC"/>
|
|
3
|
+
<path d="M37.4676 62.662H37.463C34.9605 62.662 32.6095 61.6826 30.8408 59.9084L18.9438 47.9666C15.3002 44.3088 15.3017 38.3574 18.95 34.7028C20.7234 32.9255 23.0744 31.9508 25.5753 31.9508C28.0761 31.9508 30.4271 32.9271 32.1958 34.6996L37.4817 39.997L50.8103 26.6393C54.4601 22.9815 60.4 22.9815 64.0514 26.6393C67.7013 30.2971 67.7013 36.2501 64.0514 39.9094L44.0882 59.9163C42.3195 61.6888 39.9685 62.6651 37.4676 62.6651V62.662ZM25.5753 36.189C24.2046 36.189 22.9152 36.7241 21.9457 37.6957C19.9413 39.7045 19.9413 42.9649 21.9379 44.9706L33.835 56.9124C34.8044 57.8855 36.0939 58.4222 37.4645 58.4222H37.4661C38.8367 58.4222 40.1262 57.8871 41.0956 56.9155L61.0588 36.9087C63.0601 34.903 63.0601 31.6395 61.0588 29.6338C59.0575 27.6281 55.8011 27.6281 53.7997 29.6338L52.3042 28.135L53.7997 29.6338L38.9757 44.4903C38.1498 45.3179 36.8104 45.3179 35.9846 44.4903L29.2032 37.6941C28.2338 36.7225 26.9443 36.1875 25.5737 36.1875L25.5753 36.189Z" fill="#5DC1AC"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="46" height="32" viewBox="0 0 46 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_14_1592)">
|
|
3
|
+
<path d="M30.157 31.6543H3.47738C1.77874 31.6543 0.397705 30.3085 0.397705 28.6549V26.4672C0.397705 25.9891 0.788253 25.6042 1.27056 25.6042H16.7654C17.003 25.6042 17.2289 25.6999 17.3936 25.8678L18.5205 27.027H27.0255C27.5078 27.027 27.8984 27.4118 27.8984 27.8899C27.8984 28.3681 27.5078 28.7529 27.0255 28.7529H18.1488C17.9112 28.7529 17.6853 28.6573 17.5206 28.4893L16.3937 27.3302H2.14341V28.6549C2.14341 29.357 2.74099 29.926 3.47738 29.926H30.157C30.6393 29.926 31.0298 30.3109 31.0298 30.789C31.0298 31.2671 30.6393 31.652 30.157 31.652V31.6543ZM29.9005 27.3302H29.2347C28.7524 27.3302 28.3618 26.9453 28.3618 26.4672C28.3618 25.9891 28.7524 25.6042 29.2347 25.6042H29.9005C30.3828 25.6042 30.7734 25.9891 30.7734 26.4672C30.7734 26.9453 30.3828 27.3302 29.9005 27.3302Z" fill="#6E7488"/>
|
|
4
|
+
<path d="M3.32207 24.837C2.83977 24.837 2.44922 24.4522 2.44922 23.9741V3.67816C2.44922 1.96857 3.85378 0.576172 5.58066 0.576172H40.4194C42.1463 0.576172 43.5508 1.96857 43.5508 3.67816V7.03438C43.5508 7.51251 43.1603 7.89967 42.678 7.89967C42.1957 7.89967 41.8051 7.51251 41.8051 7.03438V3.67816C41.8051 2.93415 41.1699 2.30442 40.4194 2.30442H5.58066C4.83015 2.30442 4.19492 2.93415 4.19492 3.67816V23.9741C4.19492 24.4522 3.80437 24.837 3.32207 24.837Z" fill="#6E7488"/>
|
|
5
|
+
<path d="M39.9582 5.50915H3.32207C2.83977 5.50915 2.44922 5.12198 2.44922 4.64386C2.44922 4.16573 2.83977 3.77856 3.32207 3.77856H39.9582C40.4405 3.77856 40.8311 4.16573 40.8311 4.64386C40.8311 5.12198 40.4405 5.50915 39.9582 5.50915Z" fill="#6E7488"/>
|
|
6
|
+
<path d="M43.3956 31.6543H33.8531C32.6438 31.6543 31.698 30.7167 31.698 29.5179V10.9526C31.698 9.7468 32.665 8.76489 33.8531 8.76489H43.3956C44.5908 8.76489 45.6024 9.76779 45.6024 10.9526V17.7677C45.6024 18.2458 45.2119 18.6306 44.7296 18.6306C44.2473 18.6306 43.8567 18.2458 43.8567 17.7677V10.9526C43.8567 10.717 43.6332 10.4955 43.3956 10.4955H33.8531C33.6296 10.4955 33.4437 10.7054 33.4437 10.9526V29.5179C33.4437 29.7512 33.6202 29.9261 33.8531 29.9261H43.3956C43.6473 29.9261 43.8567 29.7395 43.8567 29.5179V20.6667C43.8567 20.1886 44.2473 19.8038 44.7296 19.8038C45.2119 19.8038 45.6024 20.1886 45.6024 20.6667V29.5179C45.6024 30.6957 44.6119 31.6543 43.3956 31.6543Z" fill="#6E7488"/>
|
|
7
|
+
<path d="M38.9302 29.1612H38.3138C37.8315 29.1612 37.4409 28.7764 37.4409 28.2983C37.4409 27.8201 37.8315 27.4353 38.3138 27.4353H38.9302C39.4125 27.4353 39.803 27.8201 39.803 28.2983C39.803 28.7764 39.4125 29.1612 38.9302 29.1612Z" fill="#6E7488"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_14_1592">
|
|
11
|
+
<rect width="45.2047" height="31.0782" fill="white" transform="translate(0.397705 0.576172)"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="46" height="39" viewBox="0 0 46 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M33.2206 1.75122C34.3606 1.2684 35.6806 1.8042 36.1628 2.94563L37.2792 5.58801H38.831L37.4792 2.38824C37.0968 1.48316 36.3853 0.781493 35.4759 0.412211C34.5664 0.0429276 33.5677 0.0504961 32.6637 0.433339L20.4932 5.58816H24.1618L33.2206 1.75137V1.75122ZM16.6788 19.5205C17.4295 19.8384 18.1037 20.2934 18.6824 20.8729C19.2612 21.4524 19.7155 22.1272 20.0331 22.879C20.3621 23.6578 20.5289 24.4845 20.5289 25.3363C20.5289 25.7314 20.2089 26.0518 19.8142 26.0518C19.4196 26.0518 19.0996 25.7314 19.0996 25.3363C19.0996 22.6449 16.9127 20.4552 14.2246 20.4552C11.5366 20.4552 9.34966 22.6449 9.34966 25.3363C9.34966 25.7314 9.02966 26.0518 8.63502 26.0518C8.24037 26.0518 7.92037 25.7314 7.92037 25.3363C7.92037 24.4844 8.08714 23.6576 8.41612 22.879C8.7336 22.1274 9.18809 21.4524 9.76683 20.8729C10.2753 20.3639 10.8574 19.9509 11.5004 19.6425C11.332 19.5181 11.1719 19.3803 11.0213 19.2296C10.232 18.4391 9.79722 17.3883 9.79722 16.2704C9.79722 15.1525 10.2319 14.1017 11.0213 13.3113C11.8108 12.521 12.8604 12.0856 13.9768 12.0856C15.0931 12.0856 16.1427 12.5208 16.9322 13.3113C17.7215 14.1017 18.1563 15.1526 18.1563 16.2704C18.1563 17.3882 17.7216 18.4391 16.9322 19.2296C16.8363 19.3256 16.7364 19.4162 16.6333 19.5016L16.6501 19.5085L16.6788 19.5205ZM11.2265 16.2704C11.2265 17.7888 12.4602 19.0241 13.9768 19.0241C15.4933 19.0241 16.727 17.7888 16.727 16.2704C16.727 14.752 15.4933 13.5167 13.9768 13.5167C12.4602 13.5167 11.2265 14.752 11.2265 16.2704ZM23.9384 12.0856H36.2099C36.6045 12.0856 36.9245 12.406 36.9245 12.8012C36.9245 13.1963 36.6045 13.5167 36.2099 13.5167H23.9384C23.5437 13.5167 23.2237 13.1963 23.2237 12.8012C23.2237 12.406 23.5437 12.0856 23.9384 12.0856ZM23.9384 18.3541H36.2099C36.6045 18.3541 36.9245 18.6745 36.9245 19.0697C36.9245 19.4648 36.6045 19.7852 36.2099 19.7852H23.9384C23.5437 19.7852 23.2237 19.4648 23.2237 19.0697C23.2237 18.6745 23.5437 18.3541 23.9384 18.3541ZM36.2099 24.6207H23.9384C23.5437 24.6207 23.2237 24.9411 23.2237 25.3363C23.2237 25.7314 23.5437 26.0518 23.9384 26.0518H36.2099C36.6045 26.0518 36.9245 25.7314 36.9245 25.3363C36.9245 24.9411 36.6045 24.6207 36.2099 24.6207ZM42.8436 15.0856L45.0723 20.3607L45.0726 20.3606C45.4549 21.2657 45.4625 22.2657 45.0937 23.1763C44.7249 24.0868 44.0241 24.7992 43.1201 25.1821L42.8439 25.2991V28.8268C42.8439 29.8095 42.4617 30.7333 41.7677 31.4282C41.0737 32.1231 40.151 32.5058 39.1696 32.5058H25.8291L13.3362 37.7971C12.4322 38.18 11.4335 38.1876 10.524 37.8183C9.61458 37.449 8.90308 36.7473 8.52072 35.8422L7.11111 32.5059H6.83048C5.84906 32.5059 4.92638 32.1232 4.23236 31.4284C3.53835 30.7335 3.15614 29.8096 3.15614 28.827V23.1447L0.927479 17.8696C0.545116 16.9645 0.537557 15.9645 0.906376 15.0539C1.2752 14.1433 1.97598 13.4309 2.87992 13.0481L3.15614 12.9311V9.31237C3.15614 8.32972 3.53835 7.40588 4.23236 6.71099C4.92638 6.01611 5.84906 5.63342 6.83048 5.63342H39.1693C40.1507 5.63342 41.0733 6.01611 41.7674 6.71099C42.4614 7.40588 42.8436 8.32972 42.8436 9.31237V15.0856ZM2.24386 17.3119L3.15614 19.4713V14.5093C2.21236 15.0757 1.80307 16.2687 2.24386 17.3119ZM9.83694 35.2845C10.3191 36.426 11.6391 36.9618 12.7791 36.479L22.1603 32.5056H8.66292L9.83694 35.2845ZM39.1694 31.0745C40.4072 31.0745 41.4143 30.0663 41.4143 28.8268V9.31237C41.4143 8.07286 40.4072 7.06451 39.1694 7.06451H6.83048C5.59268 7.06451 4.58559 8.07286 4.58559 9.31237V28.8268C4.58559 30.0662 5.59268 31.0745 6.83048 31.0745H39.1694ZM42.8436 18.7587V23.7207C43.7874 23.1543 44.1965 21.9613 43.7559 20.9181L42.8436 18.7587Z" fill="#6E7488"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="6" height="28" viewBox="0 0 6 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0.34486 27.8848V8.79386H5.6396V27.8848H0.34486ZM3.00466 6.33292C2.21749 6.33292 1.54218 6.07191 0.978738 5.54989C0.423577 5.01959 0.145996 4.38571 0.145996 3.64826C0.145996 2.91909 0.423577 2.2935 0.978738 1.77148C1.54218 1.24118 2.21749 0.976029 3.00466 0.976029C3.79183 0.976029 4.46299 1.24118 5.01816 1.77148C5.5816 2.2935 5.86333 2.91909 5.86333 3.64826C5.86333 4.38571 5.5816 5.01959 5.01816 5.54989C4.46299 6.07191 3.79183 6.33292 3.00466 6.33292Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="40" height="44" viewBox="0 0 40 44" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_14_1601)">
|
|
3
|
+
<path d="M16.7514 29.4111L16.7228 23.2731H14.9596C13.0283 23.2731 11.4565 21.7537 11.4565 19.8864V3.90013C11.4565 2.03279 12.9934 0.513428 14.8818 0.513428H36.3152C38.2036 0.513428 39.7396 2.03279 39.7396 3.90013V19.8864C39.7396 21.7537 38.2036 23.2731 36.3152 23.2731H24.8006C24.7415 23.2731 24.6852 23.2912 24.6422 23.3246L16.7514 29.4111ZM14.8818 2.14034C13.8817 2.14034 13.0676 2.9294 13.0676 3.90013V19.8864C13.0676 20.8571 13.9166 21.6462 14.9605 21.6462H17.1799C17.8123 21.6462 18.3285 22.1568 18.3312 22.785L18.3464 26.1338L23.6654 22.0312C23.9874 21.7827 24.3909 21.6462 24.8006 21.6462H36.3152C37.3153 21.6462 38.1294 20.8571 38.1294 19.8864V3.90013C38.1294 2.9294 37.3153 2.14034 36.3152 2.14034H14.8818Z" fill="#6E7488"/>
|
|
4
|
+
<path d="M17.4769 43.7171H5.38168C2.55758 43.7171 0.260376 41.396 0.260376 38.5426V11.5656C0.260376 8.71218 2.55758 6.39111 5.38168 6.39111H9.53866V8.01803H5.38168C3.44587 8.01803 1.87057 9.6097 1.87057 11.5656V38.5426C1.87057 40.4985 3.44587 42.0902 5.38168 42.0902H17.4769C19.4127 42.0902 20.988 40.4985 20.988 38.5426V28.9284H22.5982V38.5426C22.5982 41.396 20.301 43.7171 17.4769 43.7171Z" fill="#6E7488"/>
|
|
5
|
+
<path d="M9.38935 11.8423H1.06555V13.4692H9.38935V11.8423Z" fill="#6E7488"/>
|
|
6
|
+
<path d="M21.7923 36.9131H1.06555V38.54H21.7923V36.9131Z" fill="#6E7488"/>
|
|
7
|
+
<path d="M24.3843 12.7C24.3843 13.3723 24.9216 13.9311 25.5985 13.9311C26.2754 13.9311 26.8127 13.3723 26.8127 12.7C26.8127 12.0276 26.2754 11.4689 25.5985 11.4689C24.9216 11.4689 24.3843 12.0276 24.3843 12.7ZM25.2025 12.7C25.2025 12.4818 25.3801 12.3041 25.5985 12.3041C25.8169 12.3041 25.9945 12.4818 25.9945 12.7C25.9945 12.9181 25.8169 13.0958 25.5985 13.0958C25.3801 13.0958 25.2025 12.9181 25.2025 12.7Z" fill="#6E7488" stroke="#6E7488" stroke-width="0.744891"/>
|
|
8
|
+
<path d="M30.2401 12.7C30.2401 13.3723 30.7774 13.9311 31.4543 13.9311C32.1312 13.9311 32.6685 13.3723 32.6685 12.7C32.6685 12.0276 32.1312 11.4689 31.4543 11.4689C30.7774 11.4689 30.2401 12.0276 30.2401 12.7ZM31.0583 12.7C31.0583 12.4818 31.2359 12.3041 31.4543 12.3041C31.6727 12.3041 31.8503 12.4818 31.8503 12.7C31.8503 12.9181 31.6727 13.0958 31.4543 13.0958C31.2359 13.0958 31.0583 12.9181 31.0583 12.7Z" fill="#6E7488" stroke="#6E7488" stroke-width="0.744891"/>
|
|
9
|
+
<path d="M18.5286 12.7C18.5286 13.3723 19.0659 13.9311 19.7428 13.9311C20.4197 13.9311 20.957 13.3723 20.957 12.7C20.957 12.0276 20.4197 11.4689 19.7428 11.4689C19.0659 11.4689 18.5286 12.0276 18.5286 12.7ZM19.3468 12.7C19.3468 12.4818 19.5244 12.3041 19.7428 12.3041C19.9612 12.3041 20.1387 12.4818 20.1387 12.7C20.1387 12.9181 19.9612 13.0958 19.7428 13.0958C19.5244 13.0958 19.3468 12.9181 19.3468 12.7Z" fill="#6E7488" stroke="#6E7488" stroke-width="0.744891"/>
|
|
10
|
+
</g>
|
|
11
|
+
<defs>
|
|
12
|
+
<clipPath id="clip0_14_1601">
|
|
13
|
+
<rect width="39.4792" height="43.2037" fill="white" transform="translate(0.260376 0.513428)"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
</defs>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<svg id="spinnerLoaderRef" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" width="100" height="100" overflow="visible" fill="#000000" stroke="#030303" class="single-loader">
|
|
2
|
+
<defs>
|
|
3
|
+
<circle id="spinner" r="4" cx="50" cy="50" transform="translate(0 -30)"/>
|
|
4
|
+
</defs>
|
|
5
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(0 50 50)">
|
|
6
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0s" repeatCount="indefinite"/>
|
|
7
|
+
</use>
|
|
8
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(45 50 50)">
|
|
9
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.125s" repeatCount="indefinite"/>
|
|
10
|
+
</use>
|
|
11
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(90 50 50)">
|
|
12
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.25s" repeatCount="indefinite"/>
|
|
13
|
+
</use>
|
|
14
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(135 50 50)">
|
|
15
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.375s" repeatCount="indefinite"/>
|
|
16
|
+
</use>
|
|
17
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(180 50 50)">
|
|
18
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.5s" repeatCount="indefinite"/>
|
|
19
|
+
</use>
|
|
20
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(225 50 50)">
|
|
21
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.625s" repeatCount="indefinite"/>
|
|
22
|
+
</use>
|
|
23
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(270 50 50)">
|
|
24
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.75s" repeatCount="indefinite"/>
|
|
25
|
+
</use>
|
|
26
|
+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#spinner" transform="rotate(315 50 50)">
|
|
27
|
+
<animate attributeName="opacity" values="0;1;0" dur="1s" begin="0.875s" repeatCount="indefinite"/>
|
|
28
|
+
</use>
|
|
29
|
+
</svg>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/common/agreement-check/agreement-check.js",
|
|
4
|
+
"./components/common/camera-error/camera-error.js",
|
|
5
|
+
"./components/common/capture-error/capture-error.js",
|
|
6
|
+
"./components/common/how-to-info/how-to-info.js",
|
|
7
|
+
"./components/common/id-back-capture/id-back-capture.js",
|
|
8
|
+
"./components/common/id-capture/id-capture.js",
|
|
9
|
+
"./components/common/id-tilt/id-tilt.js",
|
|
10
|
+
"./components/common/random-actions/random-actions.js",
|
|
11
|
+
"./components/common/selfie-capture/selfie-capture.js",
|
|
12
|
+
"./components/common/selfie-tilt/selfie-tilt.js",
|
|
13
|
+
"./components/controls/camera/camera.js",
|
|
14
|
+
"./components/controls/loader-dots/loader-dots.js",
|
|
15
|
+
"./components/flow/agreement-info/agreement-info.js",
|
|
16
|
+
"./components/flow/end-redirect/end-redirect.js",
|
|
17
|
+
"./components/flow/error-end/error-end.js",
|
|
18
|
+
"./components/flow/landing-validation/landing-validation.js",
|
|
19
|
+
"./components/flow/mobile-redirect/mobile-redirect.js",
|
|
20
|
+
"./components/flow/process-id/process-id.js",
|
|
21
|
+
"./components/flow/sms-code-validation/sms-code-validation.js",
|
|
22
|
+
"./components/flow/user-liveness/user-liveness.js",
|
|
23
|
+
"./components/identification-component/identification-component.js"
|
|
24
|
+
],
|
|
25
|
+
"compiler": {
|
|
26
|
+
"name": "@stencil/core",
|
|
27
|
+
"version": "2.22.3",
|
|
28
|
+
"typescriptVersion": "4.9.4"
|
|
29
|
+
},
|
|
30
|
+
"collections": [],
|
|
31
|
+
"bundles": []
|
|
32
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ApiCall } from '../helpers/ApiCall';
|
|
2
|
+
import { DeviceDetection } from '../helpers/DeviceDetection';
|
|
3
|
+
import Events from '../helpers/Events';
|
|
4
|
+
import store from '../helpers/store';
|
|
5
|
+
import { FlowMoments } from '../models/FlowSteps';
|
|
6
|
+
import { Translations } from '../helpers/TranslationUtils';
|
|
7
|
+
export class BaseComponent {
|
|
8
|
+
constructor(step) {
|
|
9
|
+
this.apiErrorEvent = null;
|
|
10
|
+
this.processError = null;
|
|
11
|
+
this.apiCall = new ApiCall();
|
|
12
|
+
if (step)
|
|
13
|
+
this.flowStep = step;
|
|
14
|
+
if (!store.device) {
|
|
15
|
+
store.device = new DeviceDetection().getDevice();
|
|
16
|
+
}
|
|
17
|
+
Translations.getValues().then(data => {
|
|
18
|
+
this.translations = data;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
setEventEmitter(event) {
|
|
22
|
+
this.apiErrorEvent = event;
|
|
23
|
+
}
|
|
24
|
+
setErrorCallback(callback) {
|
|
25
|
+
this.processError = callback;
|
|
26
|
+
}
|
|
27
|
+
async logStep(step, moment) {
|
|
28
|
+
Events.flowEvent(step, moment);
|
|
29
|
+
try {
|
|
30
|
+
await this.apiCall.AddStep(step, moment);
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
if (this.apiErrorEvent)
|
|
34
|
+
this.apiErrorEvent.emit(e);
|
|
35
|
+
else
|
|
36
|
+
this.processError(e, `${step}-${moment}`);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
async initialize() {
|
|
40
|
+
Events.flowEvent(this.flowStep, FlowMoments.Initialized);
|
|
41
|
+
try {
|
|
42
|
+
await this.apiCall.AddStep(this.flowStep, FlowMoments.Initialized);
|
|
43
|
+
}
|
|
44
|
+
catch (e) {
|
|
45
|
+
if (this.apiErrorEvent)
|
|
46
|
+
this.apiErrorEvent.emit(e);
|
|
47
|
+
else
|
|
48
|
+
this.processError(e, `${this.flowStep}-${FlowMoments.Initialized}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
async finalize() {
|
|
52
|
+
Events.flowEvent(this.flowStep, FlowMoments.Finalized);
|
|
53
|
+
try {
|
|
54
|
+
await this.apiCall.AddStep(this.flowStep, FlowMoments.Finalized);
|
|
55
|
+
}
|
|
56
|
+
catch (e) {
|
|
57
|
+
if (this.apiErrorEvent)
|
|
58
|
+
this.apiErrorEvent.emit(e);
|
|
59
|
+
else
|
|
60
|
+
this.processError(e, `${this.flowStep}-${FlowMoments.Finalized}`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { ApiCall } from '../../../helpers/ApiCall';
|
|
3
|
+
import { FlowSteps } from '../../../models/FlowSteps';
|
|
4
|
+
import { BaseComponent } from '../../base-component';
|
|
5
|
+
export class AgreementCheck {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.agreementType = undefined;
|
|
8
|
+
this.htmlContent = undefined;
|
|
9
|
+
this.buttonEnabled = undefined;
|
|
10
|
+
this.scrollClass = 'scroll';
|
|
11
|
+
this.apiCalls = new ApiCall();
|
|
12
|
+
this.buttonEnabled = true;
|
|
13
|
+
this.baseComponent = new BaseComponent(FlowSteps.CameraError);
|
|
14
|
+
this.baseComponent.setEventEmitter(this.apiErrorEvent);
|
|
15
|
+
}
|
|
16
|
+
async componentDidLoad() {
|
|
17
|
+
try {
|
|
18
|
+
this.htmlContent = await this.apiCalls.GetAgreement(this.agreementType);
|
|
19
|
+
}
|
|
20
|
+
catch (e) {
|
|
21
|
+
this.apiErrorEvent.emit(e);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
async buttonClick(result) {
|
|
25
|
+
this.buttonEnabled = false;
|
|
26
|
+
this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, this.baseComponent.translations.AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, this.baseComponent.translations.AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
30
|
+
return this.htmlContent ? content : h("div", null);
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "agreement-check"; }
|
|
33
|
+
static get originalStyleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["agreement-check.css"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get styleUrls() {
|
|
39
|
+
return {
|
|
40
|
+
"$": ["agreement-check.css"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
static get properties() {
|
|
44
|
+
return {
|
|
45
|
+
"agreementType": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "string",
|
|
50
|
+
"resolved": "string",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": ""
|
|
58
|
+
},
|
|
59
|
+
"attribute": "agreement-type",
|
|
60
|
+
"reflect": false
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
static get states() {
|
|
65
|
+
return {
|
|
66
|
+
"htmlContent": {},
|
|
67
|
+
"buttonEnabled": {},
|
|
68
|
+
"scrollClass": {}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static get events() {
|
|
72
|
+
return [{
|
|
73
|
+
"method": "apiErrorEvent",
|
|
74
|
+
"name": "apiError",
|
|
75
|
+
"bubbles": true,
|
|
76
|
+
"cancelable": true,
|
|
77
|
+
"composed": true,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": ""
|
|
81
|
+
},
|
|
82
|
+
"complexType": {
|
|
83
|
+
"original": "any",
|
|
84
|
+
"resolved": "any",
|
|
85
|
+
"references": {}
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
"method": "agreementAcceptance",
|
|
89
|
+
"name": "agreementAcceptance",
|
|
90
|
+
"bubbles": true,
|
|
91
|
+
"cancelable": true,
|
|
92
|
+
"composed": true,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": ""
|
|
96
|
+
},
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "any",
|
|
99
|
+
"resolved": "any",
|
|
100
|
+
"references": {}
|
|
101
|
+
}
|
|
102
|
+
}];
|
|
103
|
+
}
|
|
104
|
+
}
|
|
File without changes
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
constructor(
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.apiErrorEvent = createEvent(this, "apiError", 7);
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { SessionKeys } from '../../../helpers/textValues';
|
|
3
|
+
import store from '../../../helpers/store';
|
|
4
|
+
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
|
+
import { FlowSteps } from '../../../models/FlowSteps';
|
|
6
|
+
import { MobileOS } from '../../../models/IDevice';
|
|
7
|
+
import { BaseComponent } from '../../base-component';
|
|
8
|
+
export class CameraError {
|
|
9
|
+
constructor() {
|
|
12
10
|
this.title = undefined;
|
|
13
11
|
this.description = undefined;
|
|
14
12
|
this.buttonDisabled = undefined;
|
|
@@ -24,7 +22,7 @@ const CameraError = class {
|
|
|
24
22
|
}
|
|
25
23
|
async componentDidLoad() {
|
|
26
24
|
await this.baseComponent.initialize();
|
|
27
|
-
if (
|
|
25
|
+
if (store.device.mobileOS != MobileOS.iOS) {
|
|
28
26
|
this.demoVideo.src = this.baseComponent.translations.CameraErrorValues.HowToLink;
|
|
29
27
|
this.demoVideo.loop = true;
|
|
30
28
|
this.demoVideo.play();
|
|
@@ -33,7 +31,7 @@ const CameraError = class {
|
|
|
33
31
|
var loaded = sessionStorage.getItem(SessionKeys.RefreshDoneKey);
|
|
34
32
|
if (loaded === 'true') {
|
|
35
33
|
sessionStorage.setItem(SessionKeys.RefreshDoneKey, 'false');
|
|
36
|
-
|
|
34
|
+
store.flowStatus = FlowStatus.LANDING;
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
37
|
}
|
|
@@ -42,18 +40,52 @@ const CameraError = class {
|
|
|
42
40
|
}
|
|
43
41
|
async buttonClick() {
|
|
44
42
|
this.buttonDisabled = true;
|
|
45
|
-
if (
|
|
43
|
+
if (store.device.mobileOS == MobileOS.iOS) {
|
|
46
44
|
sessionStorage.setItem(SessionKeys.RefreshDoneKey, 'true');
|
|
47
45
|
window.location.reload();
|
|
48
46
|
}
|
|
49
47
|
else {
|
|
50
|
-
|
|
48
|
+
store.flowStatus = FlowStatus.LANDING;
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
51
|
render() {
|
|
54
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.title), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.description)), h("div", { hidden:
|
|
52
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.title), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.description)), h("div", { hidden: store.device.mobileOS == MobileOS.iOS }, h("video", { id: "howtoPermissions", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: this.buttonDisabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
55
53
|
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
static get is() { return "camera-error"; }
|
|
55
|
+
static get originalStyleUrls() {
|
|
56
|
+
return {
|
|
57
|
+
"$": ["camera-error.css"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get styleUrls() {
|
|
61
|
+
return {
|
|
62
|
+
"$": ["camera-error.css"]
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
static get states() {
|
|
66
|
+
return {
|
|
67
|
+
"title": {},
|
|
68
|
+
"description": {},
|
|
69
|
+
"buttonDisabled": {},
|
|
70
|
+
"demoVideo": {}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static get events() {
|
|
74
|
+
return [{
|
|
75
|
+
"method": "apiErrorEvent",
|
|
76
|
+
"name": "apiError",
|
|
77
|
+
"bubbles": true,
|
|
78
|
+
"cancelable": true,
|
|
79
|
+
"composed": true,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": ""
|
|
83
|
+
},
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "any",
|
|
86
|
+
"resolved": "any",
|
|
87
|
+
"references": {}
|
|
88
|
+
}
|
|
89
|
+
}];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
File without changes
|