@ekyc_qoobiss/qbs-ect-cmp 3.6.26 → 3.6.27
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/i18n/en.json +100 -0
- package/dist/i18n/ro.json +100 -0
- package/dist/i18n/ru.json +100 -0
- package/dist/{collection/helpers/Cameras.js → qbs-ect-cmp/Cameras-dfbebc29.js} +9 -6
- package/dist/{collection/models/CaptureFlow.js → qbs-ect-cmp/CaptureFlow-db5d90a4.js} +6 -4
- package/dist/{collection/libs/IDML5Detector/IDPose.js → qbs-ect-cmp/IDPose-181bcb25.js} +4 -2
- package/dist/{collection/models/IDevice.js → qbs-ect-cmp/IDevice-15ecfdeb.js} +6 -4
- package/dist/qbs-ect-cmp/ML5-657ef934.js +1370 -0
- package/dist/qbs-ect-cmp/Stream-b867a2be.js +3104 -0
- package/dist/qbs-ect-cmp/_commonjsHelpers-321aa363.js +44 -0
- package/dist/qbs-ect-cmp/agreement-check.entry.js +41 -0
- package/dist/qbs-ect-cmp/agreement-info.entry.js +66 -0
- package/dist/qbs-ect-cmp/app-globals-0f993ce5.js +3 -0
- package/dist/qbs-ect-cmp/base-component-2e490fd9.js +502 -0
- package/dist/qbs-ect-cmp/camera-comp.entry.js +103 -0
- package/dist/qbs-ect-cmp/camera-error.entry.js +59 -0
- package/dist/qbs-ect-cmp/capture-error.entry.js +53 -0
- package/dist/qbs-ect-cmp/css-shim-b7d3d95f.js +4 -0
- package/dist/qbs-ect-cmp/dom-64053c71.js +73 -0
- package/dist/qbs-ect-cmp/end-redirect.entry.js +25 -0
- package/dist/qbs-ect-cmp/error-end.entry.js +19 -0
- package/dist/qbs-ect-cmp/how-to-info.entry.js +52 -0
- package/dist/{collection/components/common/id-back-capture/id-back-capture.js → qbs-ect-cmp/id-back-capture.entry.js} +30 -100
- package/dist/{collection/components/common/id-capture/id-capture.js → qbs-ect-cmp/id-capture.entry.js} +28 -98
- package/dist/{collection/components/common/id-tilt/id-tilt.js → qbs-ect-cmp/id-tilt.entry.js} +28 -98
- package/dist/qbs-ect-cmp/identification-component.entry.js +909 -0
- package/dist/qbs-ect-cmp/index-78a05b9e.js +3371 -0
- package/dist/qbs-ect-cmp/index.esm.js +1 -0
- package/dist/qbs-ect-cmp/landing-validation.entry.js +90 -0
- package/dist/{esm → qbs-ect-cmp}/loader-dots.entry.js +1 -1
- package/dist/qbs-ect-cmp/mobile-redirect.entry.js +2984 -0
- package/dist/{collection/components/flow/process-id/process-id.js → qbs-ect-cmp/process-id.entry.js} +32 -100
- package/dist/qbs-ect-cmp/qbs-ect-cmp.css +320 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +148 -1
- package/dist/{esm → qbs-ect-cmp}/random-actions.entry.js +6 -3
- package/dist/{collection/components/common/selfie-capture/selfie-capture.js → qbs-ect-cmp/selfie-capture.entry.js} +28 -99
- package/dist/{collection/components/common/selfie-tilt/selfie-tilt.js → qbs-ect-cmp/selfie-tilt.entry.js} +29 -99
- package/dist/qbs-ect-cmp/shadow-css-98135883.js +387 -0
- package/dist/qbs-ect-cmp/sms-code-validation.entry.js +106 -0
- package/dist/{esm/store-fdeed827.js → qbs-ect-cmp/textValues-6bcc85dd.js} +51 -147
- package/dist/{collection/components/flow/user-liveness/user-liveness.js → qbs-ect-cmp/user-liveness.entry.js} +25 -91
- package/dist/{collection/utils/utils.js → qbs-ect-cmp/utils-8225f0b7.js} +10 -8
- package/dist/types/components/base-component.d.ts +2 -0
- package/dist/types/components/common/agreement-check/agreement-check.d.ts +1 -0
- package/dist/types/components/common/random-actions/random-actions.d.ts +2 -0
- package/dist/types/components/flow/end-redirect/end-redirect.d.ts +1 -0
- package/dist/types/components/identification-component/identification-component.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/helpers/TranslationUtils.d.ts +9 -0
- package/dist/types/helpers/textValues.d.ts +8 -95
- package/dist/types/models/IEctStore.d.ts +1 -0
- package/dist/types/models/ITranslationValues.d.ts +101 -0
- package/package.json +1 -1
- package/dist/cjs/agreement-check_19.cjs.entry.js +0 -9970
- package/dist/cjs/index-41696e0e.js +0 -1573
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader-dots.cjs.entry.js +0 -19
- package/dist/cjs/loader.cjs.js +0 -22
- package/dist/cjs/qbs-ect-cmp.cjs.js +0 -23
- package/dist/cjs/random-actions.cjs.entry.js +0 -22
- package/dist/cjs/store-f1a0f55c.js +0 -413
- package/dist/collection/assets/canvas-masks/face_green.svg +0 -8
- package/dist/collection/assets/canvas-masks/face_white.svg +0 -8
- package/dist/collection/assets/canvas-masks/id_green.svg +0 -6
- package/dist/collection/assets/canvas-masks/id_white.svg +0 -6
- package/dist/collection/assets/complete.svg +0 -4
- package/dist/collection/assets/landing/device.svg +0 -14
- package/dist/collection/assets/landing/id.svg +0 -3
- package/dist/collection/assets/landing/info.svg +0 -3
- package/dist/collection/assets/landing/validation.svg +0 -16
- package/dist/collection/assets/loader.svg +0 -29
- package/dist/collection/collection-manifest.json +0 -32
- package/dist/collection/components/base-component.js +0 -59
- package/dist/collection/components/common/agreement-check/agreement-check.css +0 -0
- package/dist/collection/components/common/agreement-check/agreement-check.js +0 -101
- package/dist/collection/components/common/camera-error/camera-error.css +0 -0
- package/dist/collection/components/common/camera-error/camera-error.js +0 -91
- package/dist/collection/components/common/capture-error/capture-error.css +0 -0
- package/dist/collection/components/common/capture-error/capture-error.js +0 -101
- 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 +0 -122
- package/dist/collection/components/common/id-back-capture/id-back-capture.css +0 -35
- package/dist/collection/components/common/id-capture/id-capture.css +0 -35
- package/dist/collection/components/common/id-tilt/id-tilt.css +0 -35
- package/dist/collection/components/common/random-actions/random-actions.css +0 -0
- package/dist/collection/components/common/random-actions/random-actions.js +0 -20
- package/dist/collection/components/common/selfie-capture/selfie-capture.css +0 -7
- package/dist/collection/components/common/selfie-tilt/selfie-tilt.css +0 -7
- package/dist/collection/components/controls/camera/camera.css +0 -47
- package/dist/collection/components/controls/camera/camera.js +0 -289
- package/dist/collection/components/controls/loader-dots/loader-dots.css +0 -61
- package/dist/collection/components/controls/loader-dots/loader-dots.js +0 -18
- package/dist/collection/components/flow/agreement-info/agreement-info.css +0 -0
- package/dist/collection/components/flow/agreement-info/agreement-info.js +0 -106
- package/dist/collection/components/flow/end-redirect/end-redirect.css +0 -128
- package/dist/collection/components/flow/end-redirect/end-redirect.js +0 -44
- package/dist/collection/components/flow/error-end/error-end.css +0 -0
- package/dist/collection/components/flow/error-end/error-end.js +0 -61
- package/dist/collection/components/flow/landing-validation/landing-validation.css +0 -0
- package/dist/collection/components/flow/landing-validation/landing-validation.js +0 -122
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.css +0 -10
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +0 -144
- package/dist/collection/components/flow/process-id/process-id.css +0 -0
- package/dist/collection/components/flow/sms-code-validation/sms-code-validation.css +0 -0
- package/dist/collection/components/flow/sms-code-validation/sms-code-validation.js +0 -140
- package/dist/collection/components/flow/user-liveness/user-liveness.css +0 -0
- package/dist/collection/components/identification-component/identification-component.css +0 -991
- package/dist/collection/components/identification-component/identification-component.js +0 -387
- package/dist/collection/global.js +0 -0
- package/dist/collection/helpers/ApiCall.js +0 -223
- package/dist/collection/helpers/DeviceDetection.js +0 -85
- package/dist/collection/helpers/Events.js +0 -58
- package/dist/collection/helpers/ML5.js +0 -38
- package/dist/collection/helpers/Stream.js +0 -229
- package/dist/collection/helpers/canvas.js +0 -10
- package/dist/collection/helpers/index.js +0 -21
- package/dist/collection/helpers/security.js +0 -25
- package/dist/collection/helpers/store.js +0 -47
- package/dist/collection/helpers/textValues.js +0 -145
- package/dist/collection/index.js +0 -1
- package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +0 -182
- package/dist/collection/libs/FaceML5Detector/FacePose.js +0 -85
- package/dist/collection/libs/IDML5Detector/IDML5Detector.js +0 -99
- package/dist/collection/models/FlowStatus.js +0 -14
- package/dist/collection/models/FlowSteps.js +0 -30
- package/dist/collection/models/IAbortResult.js +0 -1
- package/dist/collection/models/IAddRequest.js +0 -1
- package/dist/collection/models/IAgreement.js +0 -1
- package/dist/collection/models/ICamera.js +0 -1
- package/dist/collection/models/IEctStore.js +0 -1
- package/dist/collection/models/IGeneration.js +0 -1
- package/dist/collection/models/ILinkSend.js +0 -1
- package/dist/collection/models/ILogResult.js +0 -1
- package/dist/collection/models/IOrderStatus.js +0 -1
- package/dist/collection/models/IOtpCheck.js +0 -1
- package/dist/collection/models/IOtpSend.js +0 -1
- package/dist/collection/models/IUploadFile.js +0 -1
- package/dist/collection/models/IVerificationMode.js +0 -5
- package/dist/collection/models/OrderStatuses.js +0 -8
- package/dist/esm/agreement-check_19.entry.js +0 -9948
- package/dist/esm/index-cf54a432.js +0 -1543
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -18
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/qbs-ect-cmp.js +0 -18
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -3
- package/dist/loader/index.cjs.js +0 -3
- package/dist/loader/index.d.ts +0 -21
- package/dist/loader/index.es2017.js +0 -3
- package/dist/loader/index.js +0 -4
- package/dist/loader/package.json +0 -11
- package/dist/qbs-ect-cmp/p-054dc5b3.entry.js +0 -1
- package/dist/qbs-ect-cmp/p-0b381be5.js +0 -1
- package/dist/qbs-ect-cmp/p-40480abb.entry.js +0 -1373
- package/dist/qbs-ect-cmp/p-6be3b9ca.entry.js +0 -1
- package/dist/qbs-ect-cmp/p-8942656c.js +0 -2
|
@@ -1 +1,148 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-78a05b9e.js';
|
|
2
|
+
export { s as setNonce } from './index-78a05b9e.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
10
|
+
* out of a DOM's head.
|
|
11
|
+
*
|
|
12
|
+
* @param doc The DOM containing the `head` to query against
|
|
13
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
14
|
+
* exists or the tag has no content.
|
|
15
|
+
*/
|
|
16
|
+
function queryNonceMetaTagContent(doc) {
|
|
17
|
+
var _a, _b, _c;
|
|
18
|
+
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
19
|
+
}
|
|
20
|
+
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
|
|
21
|
+
const patchBrowser = () => {
|
|
22
|
+
// NOTE!! This fn cannot use async/await!
|
|
23
|
+
if (BUILD.isDev && !BUILD.isTesting) {
|
|
24
|
+
consoleDevInfo('Running in development mode.');
|
|
25
|
+
}
|
|
26
|
+
if (BUILD.cssVarShim) {
|
|
27
|
+
// shim css vars
|
|
28
|
+
plt.$cssShim$ = win.__cssshim;
|
|
29
|
+
}
|
|
30
|
+
if (BUILD.cloneNodeFix) {
|
|
31
|
+
// opted-in to polyfill cloneNode() for slot polyfilled components
|
|
32
|
+
patchCloneNodeFix(H.prototype);
|
|
33
|
+
}
|
|
34
|
+
if (BUILD.profile && !performance.mark) {
|
|
35
|
+
// not all browsers support performance.mark/measure (Safari 10)
|
|
36
|
+
// because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
|
|
37
|
+
// simply stub the implementations out.
|
|
38
|
+
// TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
performance.mark = performance.measure = () => {
|
|
41
|
+
/*noop*/
|
|
42
|
+
};
|
|
43
|
+
performance.getEntriesByName = () => [];
|
|
44
|
+
}
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim
|
|
47
|
+
? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
|
|
48
|
+
s.getAttribute('data-stencil-namespace') === NAMESPACE)
|
|
49
|
+
: null;
|
|
50
|
+
const importMeta = import.meta.url;
|
|
51
|
+
const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
|
|
52
|
+
if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
|
|
53
|
+
// Safari < v11 support: This IF is true if it's Safari below v11.
|
|
54
|
+
// This fn cannot use async/await since Safari didn't support it until v11,
|
|
55
|
+
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
|
|
56
|
+
// so both the ESM file and nomodule file would get downloaded. Only Safari
|
|
57
|
+
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added
|
|
58
|
+
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
|
|
59
|
+
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
|
|
60
|
+
return {
|
|
61
|
+
then() {
|
|
62
|
+
/* promise noop */
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
if (!BUILD.safari10 && importMeta !== '') {
|
|
67
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
68
|
+
}
|
|
69
|
+
else if (BUILD.dynamicImportShim || BUILD.safari10) {
|
|
70
|
+
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;
|
|
71
|
+
if (BUILD.dynamicImportShim) {
|
|
72
|
+
patchDynamicImport(opts.resourcesUrl, scriptElm);
|
|
73
|
+
}
|
|
74
|
+
if (BUILD.dynamicImportShim && !win.customElements) {
|
|
75
|
+
// module support, but no custom elements support (Old Edge)
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
return import(/* webpackChunkName: "polyfills-dom" */ './dom-64053c71.js').then(() => opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return promiseResolve(opts);
|
|
81
|
+
};
|
|
82
|
+
const patchDynamicImport = (base, orgScriptElm) => {
|
|
83
|
+
const importFunctionName = getDynamicImportFunction(NAMESPACE);
|
|
84
|
+
try {
|
|
85
|
+
// test if this browser supports dynamic imports
|
|
86
|
+
// There is a caching issue in V8, that breaks using import() in Function
|
|
87
|
+
// By generating a random string, we can workaround it
|
|
88
|
+
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
|
|
89
|
+
win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
|
|
90
|
+
}
|
|
91
|
+
catch (e) {
|
|
92
|
+
// this shim is specifically for browsers that do support "esm" imports
|
|
93
|
+
// however, they do NOT support "dynamic" imports
|
|
94
|
+
// basically this code is for old Edge, v18 and below
|
|
95
|
+
const moduleMap = new Map();
|
|
96
|
+
win[importFunctionName] = (src) => {
|
|
97
|
+
var _a;
|
|
98
|
+
const url = new URL(src, base).href;
|
|
99
|
+
let mod = moduleMap.get(url);
|
|
100
|
+
if (!mod) {
|
|
101
|
+
const script = doc.createElement('script');
|
|
102
|
+
script.type = 'module';
|
|
103
|
+
script.crossOrigin = orgScriptElm.crossOrigin;
|
|
104
|
+
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
|
|
105
|
+
type: 'application/javascript',
|
|
106
|
+
}));
|
|
107
|
+
// Apply CSP nonce to the script tag if it exists
|
|
108
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
109
|
+
if (nonce != null) {
|
|
110
|
+
script.setAttribute('nonce', nonce);
|
|
111
|
+
}
|
|
112
|
+
mod = new Promise((resolve) => {
|
|
113
|
+
script.onload = () => {
|
|
114
|
+
resolve(win[importFunctionName].m);
|
|
115
|
+
script.remove();
|
|
116
|
+
};
|
|
117
|
+
});
|
|
118
|
+
moduleMap.set(url, mod);
|
|
119
|
+
doc.head.appendChild(script);
|
|
120
|
+
}
|
|
121
|
+
return mod;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
126
|
+
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
|
|
127
|
+
HTMLElementPrototype.cloneNode = function (deep) {
|
|
128
|
+
if (this.nodeName === 'TEMPLATE') {
|
|
129
|
+
return nativeCloneNodeFn.call(this, deep);
|
|
130
|
+
}
|
|
131
|
+
const clonedNode = nativeCloneNodeFn.call(this, false);
|
|
132
|
+
const srcChildNodes = this.childNodes;
|
|
133
|
+
if (deep) {
|
|
134
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
135
|
+
// Node.ATTRIBUTE_NODE === 2, and checking because IE11
|
|
136
|
+
if (srcChildNodes[i].nodeType !== 2) {
|
|
137
|
+
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return clonedNode;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
patchBrowser().then(options => {
|
|
146
|
+
globalScripts();
|
|
147
|
+
return bootstrapLazy([["identification-component",[[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"]]]]],["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["process-id",[[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"]]]]],["user-liveness",[[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"]]]]],["agreement-info",[[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]]]],["camera-error",[[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}]]],["end-redirect",[[0,"end-redirect"]]],["error-end",[[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}]]],["landing-validation",[[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}]]],["mobile-redirect",[[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}]]],["sms-code-validation",[[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}]]],["camera-comp",[[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]],["id-back-capture",[[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"]]]]],["id-capture",[[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"]]]]],["id-tilt",[[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"]]]]],["selfie-capture",[[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"]]]]],["selfie-tilt",[[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"]]]]],["agreement-check",[[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}]]],["capture-error",[[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}]]],["how-to-info",[[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}]]]], options);
|
|
148
|
+
});
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, h } from './index-78a05b9e.js';
|
|
2
|
+
import { B as BaseComponent, F as FlowSteps } from './base-component-2e490fd9.js';
|
|
3
|
+
import './textValues-6bcc85dd.js';
|
|
4
|
+
import './IDevice-15ecfdeb.js';
|
|
3
5
|
|
|
4
6
|
const randomActionsCss = "";
|
|
5
7
|
|
|
6
8
|
const RandomActions = class {
|
|
7
9
|
constructor(hostRef) {
|
|
8
10
|
registerInstance(this, hostRef);
|
|
11
|
+
this.baseComponent = new BaseComponent(FlowSteps.SelfieTilt);
|
|
9
12
|
}
|
|
10
13
|
componentWillLoad() { }
|
|
11
14
|
buttonClick() { }
|
|
12
15
|
render() {
|
|
13
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "text-center" }, h("h1", null, this.topTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
16
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "text-center" }, h("h1", null, this.topTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
14
17
|
}
|
|
15
18
|
};
|
|
16
19
|
RandomActions.style = randomActionsCss;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { h } from '
|
|
2
|
-
import { Cameras } from '
|
|
3
|
-
import { Stream } from '
|
|
4
|
-
import { SelfieCaptureValues } from '
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, i as getElement } from './index-78a05b9e.js';
|
|
2
|
+
import { C as Cameras } from './Cameras-dfbebc29.js';
|
|
3
|
+
import { a as FacePose, S as Stream, V as VerificationMode, F as FaceML5Detector } from './Stream-b867a2be.js';
|
|
4
|
+
import { a as SelfieCaptureValues, s as state } from './textValues-6bcc85dd.js';
|
|
5
|
+
import { d as delay } from './utils-8225f0b7.js';
|
|
6
|
+
import { B as BaseComponent, F as FlowSteps, a as FlowMoments } from './base-component-2e490fd9.js';
|
|
7
|
+
import './IDevice-15ecfdeb.js';
|
|
8
|
+
import './ML5-657ef934.js';
|
|
9
|
+
import './_commonjsHelpers-321aa363.js';
|
|
10
|
+
|
|
11
|
+
const selfieCaptureCss = "";
|
|
12
|
+
|
|
13
|
+
const SelfieCapture = class {
|
|
13
14
|
// @State() private animationPath: string;
|
|
14
|
-
constructor() {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
registerInstance(this, hostRef);
|
|
17
|
+
this.eventPhotoCapture = createEvent(this, "photoSelfieCapture", 7);
|
|
18
|
+
this.apiErrorEvent = createEvent(this, "apiError", 7);
|
|
15
19
|
this.photoIsReady = photos => {
|
|
16
20
|
//this.closeCamera();
|
|
17
21
|
this.eventPhotoCapture.emit(photos);
|
|
@@ -40,7 +44,7 @@ export class SelfieCapture {
|
|
|
40
44
|
this.captureWidth = Math.round((this.captureHeight * 9) / 16);
|
|
41
45
|
}
|
|
42
46
|
componentWillLoad() {
|
|
43
|
-
this.titleMesage = SelfieCaptureValues.Title;
|
|
47
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Title;
|
|
44
48
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
45
49
|
if (!navigator.mediaDevices) {
|
|
46
50
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -50,12 +54,12 @@ export class SelfieCapture {
|
|
|
50
54
|
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
51
55
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
52
56
|
this.demoVideo.play();
|
|
53
|
-
await delay(
|
|
57
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
54
58
|
this.demoEnded = true;
|
|
55
59
|
this.openCamera();
|
|
56
60
|
}
|
|
57
61
|
async openCamera() {
|
|
58
|
-
const constraints = this.cameras.GetConstraints('',
|
|
62
|
+
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
59
63
|
setTimeout(() => {
|
|
60
64
|
navigator.mediaDevices
|
|
61
65
|
.getUserMedia(constraints)
|
|
@@ -91,7 +95,7 @@ export class SelfieCapture {
|
|
|
91
95
|
if (this.verified)
|
|
92
96
|
return;
|
|
93
97
|
this.verified = true;
|
|
94
|
-
this.titleMesage = SelfieCaptureValues.Loading;
|
|
98
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Loading;
|
|
95
99
|
this.closeCamera();
|
|
96
100
|
this.demoEnded = false;
|
|
97
101
|
this.demoVideo.src = this.uploadingLink;
|
|
@@ -100,7 +104,7 @@ export class SelfieCapture {
|
|
|
100
104
|
}
|
|
101
105
|
render() {
|
|
102
106
|
let cameraStyle;
|
|
103
|
-
if (
|
|
107
|
+
if (state.device.isMobile && this.videoStarted) {
|
|
104
108
|
cameraStyle = {
|
|
105
109
|
'width': this.captureWidth + 'px',
|
|
106
110
|
'height': this.captureHeight + 'px',
|
|
@@ -113,85 +117,10 @@ export class SelfieCapture {
|
|
|
113
117
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
114
118
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
115
119
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
116
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
120
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
117
121
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
static get styleUrls() {
|
|
125
|
-
return {
|
|
126
|
-
"$": ["selfie-capture.css"]
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
static get states() {
|
|
130
|
-
return {
|
|
131
|
-
"videoStarted": {},
|
|
132
|
-
"captureTaken": {},
|
|
133
|
-
"verified": {},
|
|
134
|
-
"titleMesage": {},
|
|
135
|
-
"demoEnded": {},
|
|
136
|
-
"demoVideo": {},
|
|
137
|
-
"uploadingLink": {},
|
|
138
|
-
"captureHeight": {},
|
|
139
|
-
"captureWidth": {}
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
static get events() {
|
|
143
|
-
return [{
|
|
144
|
-
"method": "eventPhotoCapture",
|
|
145
|
-
"name": "photoSelfieCapture",
|
|
146
|
-
"bubbles": true,
|
|
147
|
-
"cancelable": true,
|
|
148
|
-
"composed": true,
|
|
149
|
-
"docs": {
|
|
150
|
-
"tags": [],
|
|
151
|
-
"text": ""
|
|
152
|
-
},
|
|
153
|
-
"complexType": {
|
|
154
|
-
"original": "any",
|
|
155
|
-
"resolved": "any",
|
|
156
|
-
"references": {}
|
|
157
|
-
}
|
|
158
|
-
}, {
|
|
159
|
-
"method": "apiErrorEvent",
|
|
160
|
-
"name": "apiError",
|
|
161
|
-
"bubbles": true,
|
|
162
|
-
"cancelable": true,
|
|
163
|
-
"composed": true,
|
|
164
|
-
"docs": {
|
|
165
|
-
"tags": [],
|
|
166
|
-
"text": ""
|
|
167
|
-
},
|
|
168
|
-
"complexType": {
|
|
169
|
-
"original": "any",
|
|
170
|
-
"resolved": "any",
|
|
171
|
-
"references": {}
|
|
172
|
-
}
|
|
173
|
-
}];
|
|
174
|
-
}
|
|
175
|
-
static get elementRef() { return "component"; }
|
|
176
|
-
static get listeners() {
|
|
177
|
-
return [{
|
|
178
|
-
"name": "videoStarted",
|
|
179
|
-
"method": "eventVideoStarted",
|
|
180
|
-
"target": undefined,
|
|
181
|
-
"capture": false,
|
|
182
|
-
"passive": false
|
|
183
|
-
}, {
|
|
184
|
-
"name": "takePhoto",
|
|
185
|
-
"method": "takePhoto",
|
|
186
|
-
"target": undefined,
|
|
187
|
-
"capture": false,
|
|
188
|
-
"passive": false
|
|
189
|
-
}, {
|
|
190
|
-
"name": "verificationFinished",
|
|
191
|
-
"method": "verificationFinished",
|
|
192
|
-
"target": undefined,
|
|
193
|
-
"capture": false,
|
|
194
|
-
"passive": false
|
|
195
|
-
}];
|
|
196
|
-
}
|
|
197
|
-
}
|
|
122
|
+
get component() { return getElement(this); }
|
|
123
|
+
};
|
|
124
|
+
SelfieCapture.style = selfieCaptureCss;
|
|
125
|
+
|
|
126
|
+
export { SelfieCapture as selfie_capture };
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { h } from '
|
|
2
|
-
import { Cameras } from '
|
|
3
|
-
import { Stream } from '
|
|
4
|
-
import { SelfieCaptureValues } from '
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, i as getElement } from './index-78a05b9e.js';
|
|
2
|
+
import { C as Cameras } from './Cameras-dfbebc29.js';
|
|
3
|
+
import { S as Stream, V as VerificationMode, a as FacePose, F as FaceML5Detector } from './Stream-b867a2be.js';
|
|
4
|
+
import { a as SelfieCaptureValues, s as state } from './textValues-6bcc85dd.js';
|
|
5
|
+
import { d as delay } from './utils-8225f0b7.js';
|
|
6
|
+
import { B as BaseComponent, F as FlowSteps, a as FlowMoments } from './base-component-2e490fd9.js';
|
|
7
|
+
import './IDevice-15ecfdeb.js';
|
|
8
|
+
import './ML5-657ef934.js';
|
|
9
|
+
import './_commonjsHelpers-321aa363.js';
|
|
10
|
+
|
|
11
|
+
const selfieTiltCss = "";
|
|
12
|
+
|
|
13
|
+
const SelfieTilt = class {
|
|
12
14
|
// @State() private animationPath: string;
|
|
13
|
-
constructor() {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
registerInstance(this, hostRef);
|
|
17
|
+
this.eventPhotoCapture = createEvent(this, "photoSelfieTiltCapture", 7);
|
|
18
|
+
this.apiErrorEvent = createEvent(this, "apiError", 7);
|
|
14
19
|
this.photoIsReady = photos => {
|
|
15
20
|
//this.closeCamera();
|
|
16
21
|
this.eventPhotoCapture.emit(photos);
|
|
@@ -39,7 +44,7 @@ export class SelfieTilt {
|
|
|
39
44
|
this.captureWidth = Math.round((this.captureHeight * 9) / 16);
|
|
40
45
|
}
|
|
41
46
|
componentWillLoad() {
|
|
42
|
-
this.titleMesage = SelfieCaptureValues.Title;
|
|
47
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Title;
|
|
43
48
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
44
49
|
if (!navigator.mediaDevices) {
|
|
45
50
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -48,16 +53,16 @@ export class SelfieTilt {
|
|
|
48
53
|
async componentDidLoad() {
|
|
49
54
|
this.mainStream = Stream.getInstance(VerificationMode.Tilt);
|
|
50
55
|
await this.baseComponent.logStep(FlowSteps.SelfieTilt, FlowMoments.Initialized);
|
|
51
|
-
this.titleMesage = SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
|
|
56
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.FacePoseMapping[Object.values(FacePose).indexOf(this.mainStream.facePose)];
|
|
52
57
|
this.demoEnded = false;
|
|
53
58
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
|
|
54
59
|
this.demoVideo.play();
|
|
55
|
-
await delay(
|
|
60
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
56
61
|
this.demoEnded = true;
|
|
57
62
|
this.openCamera();
|
|
58
63
|
}
|
|
59
64
|
async openCamera() {
|
|
60
|
-
const constraints = this.cameras.GetConstraints('',
|
|
65
|
+
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
61
66
|
setTimeout(() => {
|
|
62
67
|
navigator.mediaDevices
|
|
63
68
|
.getUserMedia(constraints)
|
|
@@ -92,7 +97,7 @@ export class SelfieTilt {
|
|
|
92
97
|
if (this.verified)
|
|
93
98
|
return;
|
|
94
99
|
this.verified = true;
|
|
95
|
-
this.titleMesage = SelfieCaptureValues.Loading;
|
|
100
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Loading;
|
|
96
101
|
this.closeCamera();
|
|
97
102
|
this.demoEnded = false;
|
|
98
103
|
this.demoVideo.src = this.uploadingLink;
|
|
@@ -101,7 +106,7 @@ export class SelfieTilt {
|
|
|
101
106
|
}
|
|
102
107
|
render() {
|
|
103
108
|
let cameraStyle;
|
|
104
|
-
if (
|
|
109
|
+
if (state.device.isMobile && this.videoStarted) {
|
|
105
110
|
cameraStyle = {
|
|
106
111
|
'width': this.captureWidth + 'px',
|
|
107
112
|
'height': this.captureHeight + 'px',
|
|
@@ -114,85 +119,10 @@ export class SelfieTilt {
|
|
|
114
119
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
115
120
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
116
121
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
117
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
122
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
118
123
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
static get styleUrls() {
|
|
126
|
-
return {
|
|
127
|
-
"$": ["selfie-tilt.css"]
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
static get states() {
|
|
131
|
-
return {
|
|
132
|
-
"videoStarted": {},
|
|
133
|
-
"captureTaken": {},
|
|
134
|
-
"verified": {},
|
|
135
|
-
"titleMesage": {},
|
|
136
|
-
"demoEnded": {},
|
|
137
|
-
"demoVideo": {},
|
|
138
|
-
"uploadingLink": {},
|
|
139
|
-
"captureHeight": {},
|
|
140
|
-
"captureWidth": {}
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
static get events() {
|
|
144
|
-
return [{
|
|
145
|
-
"method": "eventPhotoCapture",
|
|
146
|
-
"name": "photoSelfieTiltCapture",
|
|
147
|
-
"bubbles": true,
|
|
148
|
-
"cancelable": true,
|
|
149
|
-
"composed": true,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": ""
|
|
153
|
-
},
|
|
154
|
-
"complexType": {
|
|
155
|
-
"original": "any",
|
|
156
|
-
"resolved": "any",
|
|
157
|
-
"references": {}
|
|
158
|
-
}
|
|
159
|
-
}, {
|
|
160
|
-
"method": "apiErrorEvent",
|
|
161
|
-
"name": "apiError",
|
|
162
|
-
"bubbles": true,
|
|
163
|
-
"cancelable": true,
|
|
164
|
-
"composed": true,
|
|
165
|
-
"docs": {
|
|
166
|
-
"tags": [],
|
|
167
|
-
"text": ""
|
|
168
|
-
},
|
|
169
|
-
"complexType": {
|
|
170
|
-
"original": "any",
|
|
171
|
-
"resolved": "any",
|
|
172
|
-
"references": {}
|
|
173
|
-
}
|
|
174
|
-
}];
|
|
175
|
-
}
|
|
176
|
-
static get elementRef() { return "component"; }
|
|
177
|
-
static get listeners() {
|
|
178
|
-
return [{
|
|
179
|
-
"name": "videoStarted",
|
|
180
|
-
"method": "eventVideoStarted",
|
|
181
|
-
"target": undefined,
|
|
182
|
-
"capture": false,
|
|
183
|
-
"passive": false
|
|
184
|
-
}, {
|
|
185
|
-
"name": "takePhoto",
|
|
186
|
-
"method": "takePhoto",
|
|
187
|
-
"target": undefined,
|
|
188
|
-
"capture": false,
|
|
189
|
-
"passive": false
|
|
190
|
-
}, {
|
|
191
|
-
"name": "verificationFinished",
|
|
192
|
-
"method": "verificationFinished",
|
|
193
|
-
"target": undefined,
|
|
194
|
-
"capture": false,
|
|
195
|
-
"passive": false
|
|
196
|
-
}];
|
|
197
|
-
}
|
|
198
|
-
}
|
|
124
|
+
get component() { return getElement(this); }
|
|
125
|
+
};
|
|
126
|
+
SelfieTilt.style = selfieTiltCss;
|
|
127
|
+
|
|
128
|
+
export { SelfieTilt as selfie_tilt };
|