@ekyc_qoobiss/qbs-ect-cmp 1.9.11 → 1.9.12
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_16.cjs.entry.js +1 -1
- package/dist/collection/helpers/store.js +1 -1
- package/dist/esm/agreement-check_16.entry.js +1 -1
- package/dist/qbs-ect-cmp/{p-0b1d2598.entry.js → p-8d6d9219.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { FlowStatus } from '../models/FlowStatus';
|
|
|
3
3
|
import { SessionKeys } from './textValues';
|
|
4
4
|
const { state, onChange } = createStore({
|
|
5
5
|
flowStatus: FlowStatus.LANDING,
|
|
6
|
-
environment: '',
|
|
6
|
+
environment: 'PROD',
|
|
7
7
|
requestId: '',
|
|
8
8
|
initialised: false,
|
|
9
9
|
token: '',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as t,f as n,r as e,c as r,h as i,a as o}from"./p-06e42b28.js";const u=t=>!("isConnected"in t)||t.isConnected,a=(()=>{let t;return(...n)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let n of t.keys())t.set(n,t.get(n).filter(u))})(...n)}),2e3)}})(),s=t=>"function"==typeof t?t():t;var c;!function(t){t[t.LANDING=0]="LANDING",t[t.AGREEMENT=1]="AGREEMENT",t[t.PHONE=2]="PHONE",t[t.CODE=3]="CODE",t[t.CODEERROR=4]="CODEERROR",t[t.ID=5]="ID",t[t.LIVENESS=6]="LIVENESS",t[t.COMPLETE=7]="COMPLETE",t[t.ERROREND=8]="ERROREND"}(c||(c={}));class f{}f.FooterText="Qoobiss eKYC",f.VideoLenght=3100;class l extends f{}l.IdTitile="Prezintă actul tău de identitate",l.IdSubTitileFace="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",l.IdSubTitileBack="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",l.IdButton="Sunt gata!",l.SelfieTitile="Validare video",l.SelfieSubTitile="Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.",l.SelfieButton="Sunt gata!";class h extends f{}h.Title="Validarea identității la distanță este o procedură simplă și rapidă",h.Description="Asigură-te că ai:",h.IdInfo="Actul de identitate, în original",h.DeviceInfo="Un telefon mobil sau un calculator cu camera web",h.SmsInfo="Acces la un telefon mobil ce permite primirea de mesaje SMS",h.Warning="ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.",h.WarningMd="ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.",h.Terms="Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.",h.Button="Am înțeles";class d extends f{}d.Title="Este necesar să validăm numărul tău de telefon",d.Description="Introdu mai jos numarul tau de telefon:",d.Button="Trimite SMS de verificare",d.Label="Numarul tau de telefon";class v extends f{}v.Title="Introdu codul de validare primit prin sms:",v.Description=" ",v.Button="Validează",v.Error="Codul introdus nu este valid. Asigură-te că îl introduci corect";class p extends f{}p.Title="Procesul a fost finalizat.",p.Description="Vei fi redirecționat în câteva momente.",p.Message="Îți mulțumim!";class m{}m.FlowStatusKey="qbs-ect-flowstatus",m.RequestIdKey="qbs-ect-requestid",m.TokenKey="qbs-ect-token";class b extends f{}b.Button="Încerc din nou",b.Title="Încadrează actul de identitate în chenarul de pe ecran.",b.TitleBack="Încadrează spatele actului de identitate în chenarul de pe ecran.",b.TtileRotate="Întoarce actul de identitate.",b.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran. Ai grijă să încadrezi integral actul în chenraul de pe ecran și să nu apară reflexii de lumină pe suprafața acestuia.",b.IDPoseMapping={0:"",1:"Înclină actul de identitate spre spate.",2:"",3:"",4:""},b.IDPoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/id/id_rotate.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4"},b.Loading="Transferăm datele. Asteptați...";class g extends f{}g.Title="Încadrează fața în chenarul de pe ecran.",g.FinalTitle="Îndreaptă capul și încadrează fața în chenarul de pe ecran.",g.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran.",g.Loading="Transferăm datele. Asteptați...",g.FacePoseMapping={0:"Întoarce capul spre stânga.",1:"Întoarce capul spre dreapta.",2:"Înclină capul spre spate.",3:"Înclină capul spre stânga.",4:"Înclină capul spre dreapta.",5:""},g.FacePoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_back.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_left.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_right.mp4",5:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4"};class y extends f{}y.Title="Pentru începerea identificării avem nevoie de acordurile tale:",y.Button="Încep identificarea",y.Terms="Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare",y.Agreement="Îmi exprim acordul pentru prelucrarea datelor cu caracter personal";class w extends f{}w.ButtonYes="Sunt de acord",w.ButtonNo="Nu sunt de acord";class x{constructor(){this.uriEnv="/",this.uriEnv="QA"==O.environment?"/dev_":"/",this.OtpSend=this.uriEnv+"validation/otp/send",this.OtpCheck=this.uriEnv+"validation/otp/check",this.IdentityInsert=this.uriEnv+"validation/identity/insert",this.UploadCapture=this.uriEnv+"validation/upload/capture",this.GetAgreement=this.uriEnv+"validation/agreement/content",this.GenerateAgreement=this.uriEnv+"validation/agreement/generate"}}const{state:O,onChange:A}=(()=>{const e=((t,n=((t,n)=>t!==n))=>{const e=s(t);let r=new Map(Object.entries(null!=e?e:{}));const i={dispose:[],get:[],set:[],reset:[]},o=()=>{var n;r=new Map(Object.entries(null!==(n=s(t))&&void 0!==n?n:{})),i.reset.forEach((t=>t()))},u=t=>(i.get.forEach((n=>n(t))),r.get(t)),a=(t,e)=>{const o=r.get(t);n(e,o,t)&&(r.set(t,e),i.set.forEach((n=>n(t,e,o))))},c="undefined"==typeof Proxy?{}:new Proxy(e,{get:(t,n)=>u(n),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,n)=>r.has(n),set:(t,n,e)=>(a(n,e),!0)}),f=(t,n)=>(i[t].push(n),()=>{((t,n)=>{const e=t.indexOf(n);e>=0&&(t[e]=t[t.length-1],t.length--)})(i[t],n)});return{state:c,get:u,set:a,on:f,onChange:(n,e)=>{const r=f("set",((t,r)=>{t===n&&e(r)})),i=f("reset",(()=>e(s(t)[n])));return()=>{r(),i()}},use:(...t)=>{const n=t.reduce(((t,n)=>(n.set&&t.push(f("set",n.set)),n.get&&t.push(f("get",n.get)),n.reset&&t.push(f("reset",n.reset)),n.dispose&&t.push(f("dispose",n.dispose)),t)),[]);return()=>n.forEach((t=>t()))},dispose:()=>{i.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const n=r.get(t);i.set.forEach((e=>e(t,n,n)))}}})({flowStatus:c.LANDING,environment:"",requestId:"",initialised:!1,token:"",cameraIds:[],cameraId:"",hasIdBack:!1,agreementsValidation:!0,phoneValidation:!0,apiBaseUrl:"https://apiro.id-kyc.com"},void 0);return e.use((()=>{if("function"!=typeof t)return{};const e=new Map;return{dispose:()=>e.clear(),get:n=>{const r=t();r&&((t,n,e)=>{const r=t.get(n);r?r.includes(e)||r.push(e):t.set(n,[e])})(e,n,r)},set:t=>{const r=e.get(t);r&&e.set(t,r.filter(n)),a(e)},reset:()=>{e.forEach((t=>t.forEach(n))),a(e)}}})()),e})();A("flowStatus",(t=>{sessionStorage.setItem(m.FlowStatusKey,c[t])}));class C{constructor(){this.toBase64=t=>new Promise(((n,e)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>n(r.result),r.onerror=t=>e(t)})),this.urls=new x}async http(t){const n=await fetch(t);if(!n.ok)throw new Error(n.statusText);try{return await n.json()}catch(t){throw new Error("No json found in response "+t)}}async post(t,n){return await this.http(new Request(O.apiBaseUrl+t,{method:"POST",body:n,headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+O.token}}))}async get(t){return await this.http(new Request(O.apiBaseUrl+t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+O.token}}))}async SendOTPCode(t,n){let e={requestId:t,phone:n};return(await this.post(this.urls.OtpSend,JSON.stringify(e))).sent}async CheckOTPCode(t,n){let e={requestId:t,otp:n};return(await this.post(this.urls.OtpCheck,JSON.stringify(e))).valid}async AddIdentificationRequest(t,n){let e={requestId:t,clientDeviceInfo:n},r=await this.post(this.urls.IdentityInsert,JSON.stringify(e));return O.hasIdBack=r.hasIdBack,O.agreementsValidation=r.agreementsValidation,O.phoneValidation=r.phoneValidation,!0}async UploadFileForRequestB64(t,n,e){let r={requestId:t,type:n,data:await this.toBase64(e)},i=await this.post(this.urls.UploadCapture,JSON.stringify(r));return(O.hasIdBack||"IdFront"!=n)&&(!O.hasIdBack||"IdBack"!=n)||i.isValid}async GetAgreement(t){return(await this.get(this.urls.GetAgreement+"?type="+t+"&requestId="+O.requestId)).htmlText}async GenerateAgreement(t){let n={requestId:O.requestId,documentType:t};return(await this.post(this.urls.GenerateAgreement,JSON.stringify(n))).generation}}const E=class{constructor(t){e(this,t),this.apiErrorEvent=r(this,"apiError",7),this.agreementAcceptance=r(this,"agreementAcceptance",7),this.agreementType=void 0,this.htmlContent=void 0,this.apiCalls=new C}async componentDidLoad(){try{this.htmlContent=await this.apiCalls.GetAgreement(this.agreementType)}catch(t){this.apiErrorEvent.emit(t)}}async buttonClick(t){this.agreementAcceptance.emit({agreementType:this.agreementType,result:t})}render(){let t=i("div",{class:"container"},i("div",{class:"row"},i("div",{class:"scroll",innerHTML:this.htmlContent}),i("div",{class:"pos-relative"},i("div",{class:"btn-buletin"},i("div",{class:"d-flex two-buttons"},i("button",{class:"normal-button red-button",onClick:()=>this.buttonClick(!1)},w.ButtonNo),i("button",{class:"normal-button",onClick:()=>this.buttonClick(!0)},w.ButtonYes)),i("p",{class:"main-text font-size-18 text-right mb-0"},y.FooterText)))));return this.htmlContent?t:i("div",null)}};E.style="";const M=class{constructor(t){e(this,t),this.agreementsChecked=void 0,this.termsChecked=void 0,this.openAgreements=void 0,this.openTerms=void 0,this.agreementsChecked=!1,this.termsChecked=!1}componentWillLoad(){this.openAgreements=!1,this.openTerms=!1}buttonClick(){this.agreementsChecked&&this.termsChecked&&(O.flowStatus=c.PHONE)}agreementAcceptanceEmitted(t){"agreement"==t.detail.agreementType&&(this.agreementsChecked=t.detail.result,this.openAgreements=!1),"terms"==t.detail.agreementType&&(this.termsChecked=t.detail.result,this.openTerms=!1)}agreementsClicked(){this.openAgreements=!0}termsClicked(){this.openTerms=!0}render(){let t=i("agreement-check",{agreementType:"agreement"}),n=i("agreement-check",{agreementType:"terms"}),e=i("div",{class:"container"},i("div",{class:"row"},i("div",null,i("h1",{class:"text-center"},y.Title),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.agreementsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.agreementsChecked}),y.Agreement)),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.termsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.termsChecked}),y.Terms))),i("div",{class:"pos-relative"},i("div",{class:"btn-buletin"},i("button",{class:"main-button",onClick:()=>this.buttonClick()},y.Button),i("p",{class:"main-text font-size-18 text-right mb-0"},y.FooterText)))));return this.openAgreements?t:this.openTerms?n:e}};function j(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function N(t,n,e){return t(e={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},e.exports),e.exports}M.style="";var k=N((function(t){window,t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s=581)}([function(t,n,e){e.r(n),function(t,r,i,o){e.d(n,"AdadeltaOptimizer",(function(){return lh})),e.d(n,"AdagradOptimizer",(function(){return hh})),e.d(n,"AdamOptimizer",(function(){return dh})),e.d(n,"AdamaxOptimizer",(function(){return vh})),e.d(n,"Add",(function(){return gr})),e.d(n,"AddN",(function(){return yr})),e.d(n,"BroadcastTo",(function(){return Mr})),e.d(n,"DataStorage",(function(){return uo})),e.d(n,"Div",(function(){return wr})),e.d(n,"ENV",(function(){return h})),e.d(n,"Environment",(function(){return f})),e.d(n,"FromPixels",(function(){return Sr})),e.d(n,"FusedBatchNorm",(function(){return xr})),e.d(n,"Identity",(function(){return Nr})),e.d(n,"KernelBackend",(function(){return ao})),e.d(n,"MaxPoolWithArgmax",(function(){return Fr})),e.d(n,"MomentumOptimizer",(function(){return mh})),e.d(n,"NonMaxSuppressionV5",(function(){return Er})),e.d(n,"OneHot",(function(){return jr})),e.d(n,"Optimizer",(function(){return fh})),e.d(n,"PadV2",(function(){return Dr})),e.d(n,"RMSPropOptimizer",(function(){return bh})),e.d(n,"Rank",(function(){return At})),e.d(n,"Reduction",(function(){return tf})),e.d(n,"SGDOptimizer",(function(){return ph})),e.d(n,"Square",(function(){return Ar})),e.d(n,"SquaredDifference",(function(){return Or})),e.d(n,"Tensor",(function(){return Ot})),e.d(n,"TensorBuffer",(function(){return gt})),e.d(n,"Tile",(function(){return kr})),e.d(n,"Transpose",(function(){return Cr})),e.d(n,"Variable",(function(){return Nt})),e.d(n,"abs",(function(){return zr})),e.d(n,"acos",(function(){return Lr})),e.d(n,"acosh",(function(){return Br})),e.d(n,"add",(function(){return Tr})),e.d(n,"addN",(function(){return Ma})),e.d(n,"addStrict",(function(){return bi})),e.d(n,"all",(function(){return yc})),e.d(n,"any",(function(){return wc})),e.d(n,"argMax",(function(){return xc})),e.d(n,"argMin",(function(){return Oc})),e.d(n,"asin",(function(){return Pr})),e.d(n,"asinh",(function(){return Ur})),e.d(n,"atan",(function(){return $r})),e.d(n,"atan2",(function(){return gi})),e.d(n,"atanh",(function(){return Vr})),e.d(n,"avgPool",(function(){return sc})),e.d(n,"avgPool3d",(function(){return lc})),e.d(n,"backend",(function(){return fe})),e.d(n,"backend_util",(function(){return Eo})),e.d(n,"basicLSTMCell",(function(){return Lc})),e.d(n,"batchNorm",(function(){return Fa})),e.d(n,"batchNorm2d",(function(){return Ra})),e.d(n,"batchNorm3d",(function(){return La})),e.d(n,"batchNorm4d",(function(){return Ua})),e.d(n,"batchNormalization",(function(){return Sa})),e.d(n,"batchNormalization2d",(function(){return _a})),e.d(n,"batchNormalization3d",(function(){return za})),e.d(n,"batchNormalization4d",(function(){return Pa})),e.d(n,"batchToSpaceND",(function(){return er})),e.d(n,"booleanMaskAsync",(function(){return Is})),e.d(n,"broadcastTo",(function(){return $a})),e.d(n,"browser",(function(){return rh})),e.d(n,"buffer",(function(){return tr})),e.d(n,"cast",(function(){return rr})),e.d(n,"ceil",(function(){return Wr})),e.d(n,"clipByValue",(function(){return Gr})),e.d(n,"clone",(function(){return Va})),e.d(n,"complex",(function(){return Ne})),e.d(n,"concat",(function(){return Ye})),e.d(n,"concat1d",(function(){return Qe})),e.d(n,"concat2d",(function(){return Xe})),e.d(n,"concat3d",(function(){return Je})),e.d(n,"concat4d",(function(){return Ke})),e.d(n,"conv1d",(function(){return Ps})),e.d(n,"conv2d",(function(){return Us})),e.d(n,"conv2dTranspose",(function(){return Qs})),e.d(n,"conv3d",(function(){return $s})),e.d(n,"conv3dTranspose",(function(){return Xs})),e.d(n,"cos",(function(){return qr})),e.d(n,"cosh",(function(){return Hr})),e.d(n,"cumsum",(function(){return ir})),e.d(n,"customGrad",(function(){return no})),e.d(n,"deprecationWarn",(function(){return Yn})),e.d(n,"depthToSpace",(function(){return or})),e.d(n,"depthwiseConv2d",(function(){return Gs})),e.d(n,"diag",(function(){return Jc})),e.d(n,"disableDeprecationWarnings",(function(){return Hn})),e.d(n,"dispose",(function(){return te})),e.d(n,"disposeVariables",(function(){return Qn})),e.d(n,"div",(function(){return _i})),e.d(n,"divNoNan",(function(){return Xa})),e.d(n,"divStrict",(function(){return yi})),e.d(n,"dot",(function(){return Ks})),e.d(n,"dropout",(function(){return Kc})),e.d(n,"elu",(function(){return Dc})),e.d(n,"enableDebugMode",(function(){return qn})),e.d(n,"enableProdMode",(function(){return Gn})),e.d(n,"engine",(function(){return Xn})),e.d(n,"env",(function(){return l})),e.d(n,"equal",(function(){return ws})),e.d(n,"equalStrict",(function(){return xs})),e.d(n,"erf",(function(){return Yr})),e.d(n,"exp",(function(){return Qr})),e.d(n,"expandDims",(function(){return ur})),e.d(n,"expm1",(function(){return Xr})),e.d(n,"eye",(function(){return Ka})),e.d(n,"fft",(function(){return Wc})),e.d(n,"fill",(function(){return Ve})),e.d(n,"findBackend",(function(){return ae})),e.d(n,"findBackendFactory",(function(){return se})),e.d(n,"floor",(function(){return Jr})),e.d(n,"floorDiv",(function(){return wi})),e.d(n,"frame",(function(){return rf})),e.d(n,"fused",(function(){return zf})),e.d(n,"gather",(function(){return _s})),e.d(n,"gatherND",(function(){return Xc})),e.d(n,"gather_util",(function(){return Ii})),e.d(n,"getBackend",(function(){return oe})),e.d(n,"getGradient",(function(){return m})),e.d(n,"getKernel",(function(){return p})),e.d(n,"getKernelsForBackend",(function(){return b})),e.d(n,"grad",(function(){return Xi})),e.d(n,"grads",(function(){return Ji})),e.d(n,"greater",(function(){return Os})),e.d(n,"greaterEqual",(function(){return As})),e.d(n,"greaterEqualStrict",(function(){return Cs})),e.d(n,"greaterStrict",(function(){return Es})),e.d(n,"hammingWindow",(function(){return ef})),e.d(n,"hannWindow",(function(){return nf})),e.d(n,"ifft",(function(){return Gc})),e.d(n,"imag",(function(){return De})),e.d(n,"image",(function(){return kf})),e.d(n,"inTopKAsync",(function(){return af})),e.d(n,"io",(function(){return Zl})),e.d(n,"irfft",(function(){return Hc})),e.d(n,"isFinite",(function(){return ci})),e.d(n,"isInf",(function(){return si})),e.d(n,"isNaN",(function(){return ai})),e.d(n,"keep",(function(){return ne})),e.d(n,"leakyRelu",(function(){return Sc})),e.d(n,"less",(function(){return Ms})),e.d(n,"lessEqual",(function(){return js})),e.d(n,"lessEqualStrict",(function(){return Ns})),e.d(n,"lessStrict",(function(){return ks})),e.d(n,"linalg",(function(){return Of})),e.d(n,"linspace",(function(){return We})),e.d(n,"localResponseNormalization",(function(){return Ic})),e.d(n,"log",(function(){return Kr})),e.d(n,"log1p",(function(){return Zr})),e.d(n,"logSigmoid",(function(){return ti})),e.d(n,"logSoftmax",(function(){return io})),e.d(n,"logSumExp",(function(){return Ac})),e.d(n,"logicalAnd",(function(){return Wa})),e.d(n,"logicalNot",(function(){return Ga})),e.d(n,"logicalOr",(function(){return qa})),e.d(n,"logicalXor",(function(){return Ha})),e.d(n,"losses",(function(){return bf})),e.d(n,"matMul",(function(){return Js})),e.d(n,"math",(function(){return nh})),e.d(n,"max",(function(){return Cc})),e.d(n,"maxPool",(function(){return ac})),e.d(n,"maxPool3d",(function(){return fc})),e.d(n,"maxPoolWithArgmax",(function(){return hc})),e.d(n,"maximum",(function(){return xi})),e.d(n,"maximumStrict",(function(){return Oi})),e.d(n,"mean",(function(){return Ec})),e.d(n,"memory",(function(){return Jn})),e.d(n,"min",(function(){return Mc})),e.d(n,"minimum",(function(){return Ai})),e.d(n,"minimumStrict",(function(){return Ci})),e.d(n,"mod",(function(){return Ei})),e.d(n,"modStrict",(function(){return Mi})),e.d(n,"moments",(function(){return jc})),e.d(n,"movingAverage",(function(){return Pc})),e.d(n,"mul",(function(){return ji})),e.d(n,"mulStrict",(function(){return Ni})),e.d(n,"multiRNNCell",(function(){return Bc})),e.d(n,"multinomial",(function(){return Za})),e.d(n,"neg",(function(){return ni})),e.d(n,"nextFrame",(function(){return xh})),e.d(n,"norm",(function(){return zc})),e.d(n,"notEqual",(function(){return Ds})),e.d(n,"notEqualStrict",(function(){return Ss})),e.d(n,"oneHot",(function(){return ts})),e.d(n,"ones",(function(){return Ue})),e.d(n,"onesLike",(function(){return qe})),e.d(n,"op",(function(){return je})),e.d(n,"outerProduct",(function(){return Zs})),e.d(n,"pad",(function(){return ns})),e.d(n,"pad1d",(function(){return es})),e.d(n,"pad2d",(function(){return rs})),e.d(n,"pad3d",(function(){return is})),e.d(n,"pad4d",(function(){return os})),e.d(n,"pool",(function(){return cc})),e.d(n,"pow",(function(){return ki})),e.d(n,"powStrict",(function(){return Di})),e.d(n,"prelu",(function(){return Fc})),e.d(n,"print",(function(){return nr})),e.d(n,"prod",(function(){return kc})),e.d(n,"profile",(function(){return Kn})),e.d(n,"rand",(function(){return us})),e.d(n,"randomGamma",(function(){return vs})),e.d(n,"randomNormal",(function(){return ps})),e.d(n,"randomUniform",(function(){return ms})),e.d(n,"range",(function(){return Ge})),e.d(n,"ready",(function(){return ie})),e.d(n,"real",(function(){return ke})),e.d(n,"reciprocal",(function(){return ei})),e.d(n,"registerBackend",(function(){return ce})),e.d(n,"registerGradient",(function(){return y})),e.d(n,"registerKernel",(function(){return g})),e.d(n,"relu",(function(){return Tc})),e.d(n,"relu6",(function(){return _c})),e.d(n,"removeBackend",(function(){return ue})),e.d(n,"reshape",(function(){return ar})),e.d(n,"reverse",(function(){return tc})),e.d(n,"reverse1d",(function(){return nc})),e.d(n,"reverse2d",(function(){return ec})),e.d(n,"reverse3d",(function(){return rc})),e.d(n,"reverse4d",(function(){return ic})),e.d(n,"rfft",(function(){return qc})),e.d(n,"round",(function(){return ri})),e.d(n,"rsqrt",(function(){return ii})),e.d(n,"scalar",(function(){return Te})),e.d(n,"scatterND",(function(){return Vc})),e.d(n,"scatter_util",(function(){return Ui})),e.d(n,"selu",(function(){return Rc})),e.d(n,"separableConv2d",(function(){return Ys})),e.d(n,"serialization",(function(){return ah})),e.d(n,"setBackend",(function(){return re})),e.d(n,"setPlatform",(function(){return le})),e.d(n,"setdiff1dAsync",(function(){return hr})),e.d(n,"sigmoid",(function(){return oi})),e.d(n,"sign",(function(){return ui})),e.d(n,"signal",(function(){return uf})),e.d(n,"sin",(function(){return fi})),e.d(n,"sinh",(function(){return li})),e.d(n,"slice",(function(){return dc})),e.d(n,"slice1d",(function(){return vc})),e.d(n,"slice2d",(function(){return pc})),e.d(n,"slice3d",(function(){return mc})),e.d(n,"slice4d",(function(){return bc})),e.d(n,"slice_util",(function(){return Qi})),e.d(n,"softmax",(function(){return ro})),e.d(n,"softplus",(function(){return hi})),e.d(n,"spaceToBatchND",(function(){return sr})),e.d(n,"sparseToDense",(function(){return Qc})),e.d(n,"spectral",(function(){return Yc})),e.d(n,"split",(function(){return Ze})),e.d(n,"sqrt",(function(){return di})),e.d(n,"square",(function(){return bs})),e.d(n,"squaredDifference",(function(){return gs})),e.d(n,"squaredDifferenceStrict",(function(){return Si})),e.d(n,"squeeze",(function(){return cr})),e.d(n,"stack",(function(){return fr})),e.d(n,"step",(function(){return vi})),e.d(n,"stft",(function(){return of})),e.d(n,"stridedSlice",(function(){return Uc})),e.d(n,"sub",(function(){return Fi})),e.d(n,"subStrict",(function(){return Ti})),e.d(n,"sum",(function(){return Nc})),e.d(n,"sumOutType",(function(){return St})),e.d(n,"tan",(function(){return pi})),e.d(n,"tanh",(function(){return mi})),e.d(n,"tensor",(function(){return Se})),e.d(n,"tensor1d",(function(){return _e})),e.d(n,"tensor2d",(function(){return Re})),e.d(n,"tensor3d",(function(){return Ie})),e.d(n,"tensor4d",(function(){return ze})),e.d(n,"tensor5d",(function(){return Le})),e.d(n,"tensor6d",(function(){return Be})),e.d(n,"tensor_util",(function(){return It})),e.d(n,"test_util",(function(){return fs})),e.d(n,"tidy",(function(){return Zn})),e.d(n,"tile",(function(){return Ja})),e.d(n,"time",(function(){return ee})),e.d(n,"topk",(function(){return $c})),e.d(n,"train",(function(){return yh})),e.d(n,"transpose",(function(){return oo})),e.d(n,"truncatedNormal",(function(){return ys})),e.d(n,"unregisterGradient",(function(){return x})),e.d(n,"unregisterKernel",(function(){return w})),e.d(n,"unsortedSegmentSum",(function(){return Rs})),e.d(n,"unstack",(function(){return lr})),e.d(n,"util",(function(){return ht})),e.d(n,"valueAndGrad",(function(){return Ki})),e.d(n,"valueAndGrads",(function(){return Zi})),e.d(n,"variable",(function(){return Pe})),e.d(n,"variableGrads",(function(){return to})),e.d(n,"version_core",(function(){return sh})),e.d(n,"webgl",(function(){return ch})),e.d(n,"where",(function(){return Ya})),e.d(n,"whereAsync",(function(){return Qa})),e.d(n,"zeros",(function(){return $e})),e.d(n,"zerosLike",(function(){return He}));
|
|
1
|
+
import{g as t,f as n,r as e,c as r,h as i,a as o}from"./p-06e42b28.js";const u=t=>!("isConnected"in t)||t.isConnected,a=(()=>{let t;return(...n)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let n of t.keys())t.set(n,t.get(n).filter(u))})(...n)}),2e3)}})(),s=t=>"function"==typeof t?t():t;var c;!function(t){t[t.LANDING=0]="LANDING",t[t.AGREEMENT=1]="AGREEMENT",t[t.PHONE=2]="PHONE",t[t.CODE=3]="CODE",t[t.CODEERROR=4]="CODEERROR",t[t.ID=5]="ID",t[t.LIVENESS=6]="LIVENESS",t[t.COMPLETE=7]="COMPLETE",t[t.ERROREND=8]="ERROREND"}(c||(c={}));class f{}f.FooterText="Qoobiss eKYC",f.VideoLenght=3100;class l extends f{}l.IdTitile="Prezintă actul tău de identitate",l.IdSubTitileFace="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",l.IdSubTitileBack="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",l.IdButton="Sunt gata!",l.SelfieTitile="Validare video",l.SelfieSubTitile="Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.",l.SelfieButton="Sunt gata!";class h extends f{}h.Title="Validarea identității la distanță este o procedură simplă și rapidă",h.Description="Asigură-te că ai:",h.IdInfo="Actul de identitate, în original",h.DeviceInfo="Un telefon mobil sau un calculator cu camera web",h.SmsInfo="Acces la un telefon mobil ce permite primirea de mesaje SMS",h.Warning="ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.",h.WarningMd="ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.",h.Terms="Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.",h.Button="Am înțeles";class d extends f{}d.Title="Este necesar să validăm numărul tău de telefon",d.Description="Introdu mai jos numarul tau de telefon:",d.Button="Trimite SMS de verificare",d.Label="Numarul tau de telefon";class v extends f{}v.Title="Introdu codul de validare primit prin sms:",v.Description=" ",v.Button="Validează",v.Error="Codul introdus nu este valid. Asigură-te că îl introduci corect";class p extends f{}p.Title="Procesul a fost finalizat.",p.Description="Vei fi redirecționat în câteva momente.",p.Message="Îți mulțumim!";class m{}m.FlowStatusKey="qbs-ect-flowstatus",m.RequestIdKey="qbs-ect-requestid",m.TokenKey="qbs-ect-token";class b extends f{}b.Button="Încerc din nou",b.Title="Încadrează actul de identitate în chenarul de pe ecran.",b.TitleBack="Încadrează spatele actului de identitate în chenarul de pe ecran.",b.TtileRotate="Întoarce actul de identitate.",b.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran. Ai grijă să încadrezi integral actul în chenraul de pe ecran și să nu apară reflexii de lumină pe suprafața acestuia.",b.IDPoseMapping={0:"",1:"Înclină actul de identitate spre spate.",2:"",3:"",4:""},b.IDPoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/id/id_rotate.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4"},b.Loading="Transferăm datele. Asteptați...";class g extends f{}g.Title="Încadrează fața în chenarul de pe ecran.",g.FinalTitle="Îndreaptă capul și încadrează fața în chenarul de pe ecran.",g.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran.",g.Loading="Transferăm datele. Asteptați...",g.FacePoseMapping={0:"Întoarce capul spre stânga.",1:"Întoarce capul spre dreapta.",2:"Înclină capul spre spate.",3:"Înclină capul spre stânga.",4:"Înclină capul spre dreapta.",5:""},g.FacePoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_back.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_left.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_right.mp4",5:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4"};class y extends f{}y.Title="Pentru începerea identificării avem nevoie de acordurile tale:",y.Button="Încep identificarea",y.Terms="Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare",y.Agreement="Îmi exprim acordul pentru prelucrarea datelor cu caracter personal";class w extends f{}w.ButtonYes="Sunt de acord",w.ButtonNo="Nu sunt de acord";class x{constructor(){this.uriEnv="/",this.uriEnv="QA"==O.environment?"/dev_":"/",this.OtpSend=this.uriEnv+"validation/otp/send",this.OtpCheck=this.uriEnv+"validation/otp/check",this.IdentityInsert=this.uriEnv+"validation/identity/insert",this.UploadCapture=this.uriEnv+"validation/upload/capture",this.GetAgreement=this.uriEnv+"validation/agreement/content",this.GenerateAgreement=this.uriEnv+"validation/agreement/generate"}}const{state:O,onChange:A}=(()=>{const e=((t,n=((t,n)=>t!==n))=>{const e=s(t);let r=new Map(Object.entries(null!=e?e:{}));const i={dispose:[],get:[],set:[],reset:[]},o=()=>{var n;r=new Map(Object.entries(null!==(n=s(t))&&void 0!==n?n:{})),i.reset.forEach((t=>t()))},u=t=>(i.get.forEach((n=>n(t))),r.get(t)),a=(t,e)=>{const o=r.get(t);n(e,o,t)&&(r.set(t,e),i.set.forEach((n=>n(t,e,o))))},c="undefined"==typeof Proxy?{}:new Proxy(e,{get:(t,n)=>u(n),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,n)=>r.has(n),set:(t,n,e)=>(a(n,e),!0)}),f=(t,n)=>(i[t].push(n),()=>{((t,n)=>{const e=t.indexOf(n);e>=0&&(t[e]=t[t.length-1],t.length--)})(i[t],n)});return{state:c,get:u,set:a,on:f,onChange:(n,e)=>{const r=f("set",((t,r)=>{t===n&&e(r)})),i=f("reset",(()=>e(s(t)[n])));return()=>{r(),i()}},use:(...t)=>{const n=t.reduce(((t,n)=>(n.set&&t.push(f("set",n.set)),n.get&&t.push(f("get",n.get)),n.reset&&t.push(f("reset",n.reset)),n.dispose&&t.push(f("dispose",n.dispose)),t)),[]);return()=>n.forEach((t=>t()))},dispose:()=>{i.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const n=r.get(t);i.set.forEach((e=>e(t,n,n)))}}})({flowStatus:c.LANDING,environment:"PROD",requestId:"",initialised:!1,token:"",cameraIds:[],cameraId:"",hasIdBack:!1,agreementsValidation:!0,phoneValidation:!0,apiBaseUrl:"https://apiro.id-kyc.com"},void 0);return e.use((()=>{if("function"!=typeof t)return{};const e=new Map;return{dispose:()=>e.clear(),get:n=>{const r=t();r&&((t,n,e)=>{const r=t.get(n);r?r.includes(e)||r.push(e):t.set(n,[e])})(e,n,r)},set:t=>{const r=e.get(t);r&&e.set(t,r.filter(n)),a(e)},reset:()=>{e.forEach((t=>t.forEach(n))),a(e)}}})()),e})();A("flowStatus",(t=>{sessionStorage.setItem(m.FlowStatusKey,c[t])}));class C{constructor(){this.toBase64=t=>new Promise(((n,e)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>n(r.result),r.onerror=t=>e(t)})),this.urls=new x}async http(t){const n=await fetch(t);if(!n.ok)throw new Error(n.statusText);try{return await n.json()}catch(t){throw new Error("No json found in response "+t)}}async post(t,n){return await this.http(new Request(O.apiBaseUrl+t,{method:"POST",body:n,headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+O.token}}))}async get(t){return await this.http(new Request(O.apiBaseUrl+t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+O.token}}))}async SendOTPCode(t,n){let e={requestId:t,phone:n};return(await this.post(this.urls.OtpSend,JSON.stringify(e))).sent}async CheckOTPCode(t,n){let e={requestId:t,otp:n};return(await this.post(this.urls.OtpCheck,JSON.stringify(e))).valid}async AddIdentificationRequest(t,n){let e={requestId:t,clientDeviceInfo:n},r=await this.post(this.urls.IdentityInsert,JSON.stringify(e));return O.hasIdBack=r.hasIdBack,O.agreementsValidation=r.agreementsValidation,O.phoneValidation=r.phoneValidation,!0}async UploadFileForRequestB64(t,n,e){let r={requestId:t,type:n,data:await this.toBase64(e)},i=await this.post(this.urls.UploadCapture,JSON.stringify(r));return(O.hasIdBack||"IdFront"!=n)&&(!O.hasIdBack||"IdBack"!=n)||i.isValid}async GetAgreement(t){return(await this.get(this.urls.GetAgreement+"?type="+t+"&requestId="+O.requestId)).htmlText}async GenerateAgreement(t){let n={requestId:O.requestId,documentType:t};return(await this.post(this.urls.GenerateAgreement,JSON.stringify(n))).generation}}const E=class{constructor(t){e(this,t),this.apiErrorEvent=r(this,"apiError",7),this.agreementAcceptance=r(this,"agreementAcceptance",7),this.agreementType=void 0,this.htmlContent=void 0,this.apiCalls=new C}async componentDidLoad(){try{this.htmlContent=await this.apiCalls.GetAgreement(this.agreementType)}catch(t){this.apiErrorEvent.emit(t)}}async buttonClick(t){this.agreementAcceptance.emit({agreementType:this.agreementType,result:t})}render(){let t=i("div",{class:"container"},i("div",{class:"row"},i("div",{class:"scroll",innerHTML:this.htmlContent}),i("div",{class:"pos-relative"},i("div",{class:"btn-buletin"},i("div",{class:"d-flex two-buttons"},i("button",{class:"normal-button red-button",onClick:()=>this.buttonClick(!1)},w.ButtonNo),i("button",{class:"normal-button",onClick:()=>this.buttonClick(!0)},w.ButtonYes)),i("p",{class:"main-text font-size-18 text-right mb-0"},y.FooterText)))));return this.htmlContent?t:i("div",null)}};E.style="";const M=class{constructor(t){e(this,t),this.agreementsChecked=void 0,this.termsChecked=void 0,this.openAgreements=void 0,this.openTerms=void 0,this.agreementsChecked=!1,this.termsChecked=!1}componentWillLoad(){this.openAgreements=!1,this.openTerms=!1}buttonClick(){this.agreementsChecked&&this.termsChecked&&(O.flowStatus=c.PHONE)}agreementAcceptanceEmitted(t){"agreement"==t.detail.agreementType&&(this.agreementsChecked=t.detail.result,this.openAgreements=!1),"terms"==t.detail.agreementType&&(this.termsChecked=t.detail.result,this.openTerms=!1)}agreementsClicked(){this.openAgreements=!0}termsClicked(){this.openTerms=!0}render(){let t=i("agreement-check",{agreementType:"agreement"}),n=i("agreement-check",{agreementType:"terms"}),e=i("div",{class:"container"},i("div",{class:"row"},i("div",null,i("h1",{class:"text-center"},y.Title),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.agreementsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.agreementsChecked}),y.Agreement)),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.termsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.termsChecked}),y.Terms))),i("div",{class:"pos-relative"},i("div",{class:"btn-buletin"},i("button",{class:"main-button",onClick:()=>this.buttonClick()},y.Button),i("p",{class:"main-text font-size-18 text-right mb-0"},y.FooterText)))));return this.openAgreements?t:this.openTerms?n:e}};function j(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function N(t,n,e){return t(e={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},e.exports),e.exports}M.style="";var k=N((function(t){window,t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s=581)}([function(t,n,e){e.r(n),function(t,r,i,o){e.d(n,"AdadeltaOptimizer",(function(){return lh})),e.d(n,"AdagradOptimizer",(function(){return hh})),e.d(n,"AdamOptimizer",(function(){return dh})),e.d(n,"AdamaxOptimizer",(function(){return vh})),e.d(n,"Add",(function(){return gr})),e.d(n,"AddN",(function(){return yr})),e.d(n,"BroadcastTo",(function(){return Mr})),e.d(n,"DataStorage",(function(){return uo})),e.d(n,"Div",(function(){return wr})),e.d(n,"ENV",(function(){return h})),e.d(n,"Environment",(function(){return f})),e.d(n,"FromPixels",(function(){return Sr})),e.d(n,"FusedBatchNorm",(function(){return xr})),e.d(n,"Identity",(function(){return Nr})),e.d(n,"KernelBackend",(function(){return ao})),e.d(n,"MaxPoolWithArgmax",(function(){return Fr})),e.d(n,"MomentumOptimizer",(function(){return mh})),e.d(n,"NonMaxSuppressionV5",(function(){return Er})),e.d(n,"OneHot",(function(){return jr})),e.d(n,"Optimizer",(function(){return fh})),e.d(n,"PadV2",(function(){return Dr})),e.d(n,"RMSPropOptimizer",(function(){return bh})),e.d(n,"Rank",(function(){return At})),e.d(n,"Reduction",(function(){return tf})),e.d(n,"SGDOptimizer",(function(){return ph})),e.d(n,"Square",(function(){return Ar})),e.d(n,"SquaredDifference",(function(){return Or})),e.d(n,"Tensor",(function(){return Ot})),e.d(n,"TensorBuffer",(function(){return gt})),e.d(n,"Tile",(function(){return kr})),e.d(n,"Transpose",(function(){return Cr})),e.d(n,"Variable",(function(){return Nt})),e.d(n,"abs",(function(){return zr})),e.d(n,"acos",(function(){return Lr})),e.d(n,"acosh",(function(){return Br})),e.d(n,"add",(function(){return Tr})),e.d(n,"addN",(function(){return Ma})),e.d(n,"addStrict",(function(){return bi})),e.d(n,"all",(function(){return yc})),e.d(n,"any",(function(){return wc})),e.d(n,"argMax",(function(){return xc})),e.d(n,"argMin",(function(){return Oc})),e.d(n,"asin",(function(){return Pr})),e.d(n,"asinh",(function(){return Ur})),e.d(n,"atan",(function(){return $r})),e.d(n,"atan2",(function(){return gi})),e.d(n,"atanh",(function(){return Vr})),e.d(n,"avgPool",(function(){return sc})),e.d(n,"avgPool3d",(function(){return lc})),e.d(n,"backend",(function(){return fe})),e.d(n,"backend_util",(function(){return Eo})),e.d(n,"basicLSTMCell",(function(){return Lc})),e.d(n,"batchNorm",(function(){return Fa})),e.d(n,"batchNorm2d",(function(){return Ra})),e.d(n,"batchNorm3d",(function(){return La})),e.d(n,"batchNorm4d",(function(){return Ua})),e.d(n,"batchNormalization",(function(){return Sa})),e.d(n,"batchNormalization2d",(function(){return _a})),e.d(n,"batchNormalization3d",(function(){return za})),e.d(n,"batchNormalization4d",(function(){return Pa})),e.d(n,"batchToSpaceND",(function(){return er})),e.d(n,"booleanMaskAsync",(function(){return Is})),e.d(n,"broadcastTo",(function(){return $a})),e.d(n,"browser",(function(){return rh})),e.d(n,"buffer",(function(){return tr})),e.d(n,"cast",(function(){return rr})),e.d(n,"ceil",(function(){return Wr})),e.d(n,"clipByValue",(function(){return Gr})),e.d(n,"clone",(function(){return Va})),e.d(n,"complex",(function(){return Ne})),e.d(n,"concat",(function(){return Ye})),e.d(n,"concat1d",(function(){return Qe})),e.d(n,"concat2d",(function(){return Xe})),e.d(n,"concat3d",(function(){return Je})),e.d(n,"concat4d",(function(){return Ke})),e.d(n,"conv1d",(function(){return Ps})),e.d(n,"conv2d",(function(){return Us})),e.d(n,"conv2dTranspose",(function(){return Qs})),e.d(n,"conv3d",(function(){return $s})),e.d(n,"conv3dTranspose",(function(){return Xs})),e.d(n,"cos",(function(){return qr})),e.d(n,"cosh",(function(){return Hr})),e.d(n,"cumsum",(function(){return ir})),e.d(n,"customGrad",(function(){return no})),e.d(n,"deprecationWarn",(function(){return Yn})),e.d(n,"depthToSpace",(function(){return or})),e.d(n,"depthwiseConv2d",(function(){return Gs})),e.d(n,"diag",(function(){return Jc})),e.d(n,"disableDeprecationWarnings",(function(){return Hn})),e.d(n,"dispose",(function(){return te})),e.d(n,"disposeVariables",(function(){return Qn})),e.d(n,"div",(function(){return _i})),e.d(n,"divNoNan",(function(){return Xa})),e.d(n,"divStrict",(function(){return yi})),e.d(n,"dot",(function(){return Ks})),e.d(n,"dropout",(function(){return Kc})),e.d(n,"elu",(function(){return Dc})),e.d(n,"enableDebugMode",(function(){return qn})),e.d(n,"enableProdMode",(function(){return Gn})),e.d(n,"engine",(function(){return Xn})),e.d(n,"env",(function(){return l})),e.d(n,"equal",(function(){return ws})),e.d(n,"equalStrict",(function(){return xs})),e.d(n,"erf",(function(){return Yr})),e.d(n,"exp",(function(){return Qr})),e.d(n,"expandDims",(function(){return ur})),e.d(n,"expm1",(function(){return Xr})),e.d(n,"eye",(function(){return Ka})),e.d(n,"fft",(function(){return Wc})),e.d(n,"fill",(function(){return Ve})),e.d(n,"findBackend",(function(){return ae})),e.d(n,"findBackendFactory",(function(){return se})),e.d(n,"floor",(function(){return Jr})),e.d(n,"floorDiv",(function(){return wi})),e.d(n,"frame",(function(){return rf})),e.d(n,"fused",(function(){return zf})),e.d(n,"gather",(function(){return _s})),e.d(n,"gatherND",(function(){return Xc})),e.d(n,"gather_util",(function(){return Ii})),e.d(n,"getBackend",(function(){return oe})),e.d(n,"getGradient",(function(){return m})),e.d(n,"getKernel",(function(){return p})),e.d(n,"getKernelsForBackend",(function(){return b})),e.d(n,"grad",(function(){return Xi})),e.d(n,"grads",(function(){return Ji})),e.d(n,"greater",(function(){return Os})),e.d(n,"greaterEqual",(function(){return As})),e.d(n,"greaterEqualStrict",(function(){return Cs})),e.d(n,"greaterStrict",(function(){return Es})),e.d(n,"hammingWindow",(function(){return ef})),e.d(n,"hannWindow",(function(){return nf})),e.d(n,"ifft",(function(){return Gc})),e.d(n,"imag",(function(){return De})),e.d(n,"image",(function(){return kf})),e.d(n,"inTopKAsync",(function(){return af})),e.d(n,"io",(function(){return Zl})),e.d(n,"irfft",(function(){return Hc})),e.d(n,"isFinite",(function(){return ci})),e.d(n,"isInf",(function(){return si})),e.d(n,"isNaN",(function(){return ai})),e.d(n,"keep",(function(){return ne})),e.d(n,"leakyRelu",(function(){return Sc})),e.d(n,"less",(function(){return Ms})),e.d(n,"lessEqual",(function(){return js})),e.d(n,"lessEqualStrict",(function(){return Ns})),e.d(n,"lessStrict",(function(){return ks})),e.d(n,"linalg",(function(){return Of})),e.d(n,"linspace",(function(){return We})),e.d(n,"localResponseNormalization",(function(){return Ic})),e.d(n,"log",(function(){return Kr})),e.d(n,"log1p",(function(){return Zr})),e.d(n,"logSigmoid",(function(){return ti})),e.d(n,"logSoftmax",(function(){return io})),e.d(n,"logSumExp",(function(){return Ac})),e.d(n,"logicalAnd",(function(){return Wa})),e.d(n,"logicalNot",(function(){return Ga})),e.d(n,"logicalOr",(function(){return qa})),e.d(n,"logicalXor",(function(){return Ha})),e.d(n,"losses",(function(){return bf})),e.d(n,"matMul",(function(){return Js})),e.d(n,"math",(function(){return nh})),e.d(n,"max",(function(){return Cc})),e.d(n,"maxPool",(function(){return ac})),e.d(n,"maxPool3d",(function(){return fc})),e.d(n,"maxPoolWithArgmax",(function(){return hc})),e.d(n,"maximum",(function(){return xi})),e.d(n,"maximumStrict",(function(){return Oi})),e.d(n,"mean",(function(){return Ec})),e.d(n,"memory",(function(){return Jn})),e.d(n,"min",(function(){return Mc})),e.d(n,"minimum",(function(){return Ai})),e.d(n,"minimumStrict",(function(){return Ci})),e.d(n,"mod",(function(){return Ei})),e.d(n,"modStrict",(function(){return Mi})),e.d(n,"moments",(function(){return jc})),e.d(n,"movingAverage",(function(){return Pc})),e.d(n,"mul",(function(){return ji})),e.d(n,"mulStrict",(function(){return Ni})),e.d(n,"multiRNNCell",(function(){return Bc})),e.d(n,"multinomial",(function(){return Za})),e.d(n,"neg",(function(){return ni})),e.d(n,"nextFrame",(function(){return xh})),e.d(n,"norm",(function(){return zc})),e.d(n,"notEqual",(function(){return Ds})),e.d(n,"notEqualStrict",(function(){return Ss})),e.d(n,"oneHot",(function(){return ts})),e.d(n,"ones",(function(){return Ue})),e.d(n,"onesLike",(function(){return qe})),e.d(n,"op",(function(){return je})),e.d(n,"outerProduct",(function(){return Zs})),e.d(n,"pad",(function(){return ns})),e.d(n,"pad1d",(function(){return es})),e.d(n,"pad2d",(function(){return rs})),e.d(n,"pad3d",(function(){return is})),e.d(n,"pad4d",(function(){return os})),e.d(n,"pool",(function(){return cc})),e.d(n,"pow",(function(){return ki})),e.d(n,"powStrict",(function(){return Di})),e.d(n,"prelu",(function(){return Fc})),e.d(n,"print",(function(){return nr})),e.d(n,"prod",(function(){return kc})),e.d(n,"profile",(function(){return Kn})),e.d(n,"rand",(function(){return us})),e.d(n,"randomGamma",(function(){return vs})),e.d(n,"randomNormal",(function(){return ps})),e.d(n,"randomUniform",(function(){return ms})),e.d(n,"range",(function(){return Ge})),e.d(n,"ready",(function(){return ie})),e.d(n,"real",(function(){return ke})),e.d(n,"reciprocal",(function(){return ei})),e.d(n,"registerBackend",(function(){return ce})),e.d(n,"registerGradient",(function(){return y})),e.d(n,"registerKernel",(function(){return g})),e.d(n,"relu",(function(){return Tc})),e.d(n,"relu6",(function(){return _c})),e.d(n,"removeBackend",(function(){return ue})),e.d(n,"reshape",(function(){return ar})),e.d(n,"reverse",(function(){return tc})),e.d(n,"reverse1d",(function(){return nc})),e.d(n,"reverse2d",(function(){return ec})),e.d(n,"reverse3d",(function(){return rc})),e.d(n,"reverse4d",(function(){return ic})),e.d(n,"rfft",(function(){return qc})),e.d(n,"round",(function(){return ri})),e.d(n,"rsqrt",(function(){return ii})),e.d(n,"scalar",(function(){return Te})),e.d(n,"scatterND",(function(){return Vc})),e.d(n,"scatter_util",(function(){return Ui})),e.d(n,"selu",(function(){return Rc})),e.d(n,"separableConv2d",(function(){return Ys})),e.d(n,"serialization",(function(){return ah})),e.d(n,"setBackend",(function(){return re})),e.d(n,"setPlatform",(function(){return le})),e.d(n,"setdiff1dAsync",(function(){return hr})),e.d(n,"sigmoid",(function(){return oi})),e.d(n,"sign",(function(){return ui})),e.d(n,"signal",(function(){return uf})),e.d(n,"sin",(function(){return fi})),e.d(n,"sinh",(function(){return li})),e.d(n,"slice",(function(){return dc})),e.d(n,"slice1d",(function(){return vc})),e.d(n,"slice2d",(function(){return pc})),e.d(n,"slice3d",(function(){return mc})),e.d(n,"slice4d",(function(){return bc})),e.d(n,"slice_util",(function(){return Qi})),e.d(n,"softmax",(function(){return ro})),e.d(n,"softplus",(function(){return hi})),e.d(n,"spaceToBatchND",(function(){return sr})),e.d(n,"sparseToDense",(function(){return Qc})),e.d(n,"spectral",(function(){return Yc})),e.d(n,"split",(function(){return Ze})),e.d(n,"sqrt",(function(){return di})),e.d(n,"square",(function(){return bs})),e.d(n,"squaredDifference",(function(){return gs})),e.d(n,"squaredDifferenceStrict",(function(){return Si})),e.d(n,"squeeze",(function(){return cr})),e.d(n,"stack",(function(){return fr})),e.d(n,"step",(function(){return vi})),e.d(n,"stft",(function(){return of})),e.d(n,"stridedSlice",(function(){return Uc})),e.d(n,"sub",(function(){return Fi})),e.d(n,"subStrict",(function(){return Ti})),e.d(n,"sum",(function(){return Nc})),e.d(n,"sumOutType",(function(){return St})),e.d(n,"tan",(function(){return pi})),e.d(n,"tanh",(function(){return mi})),e.d(n,"tensor",(function(){return Se})),e.d(n,"tensor1d",(function(){return _e})),e.d(n,"tensor2d",(function(){return Re})),e.d(n,"tensor3d",(function(){return Ie})),e.d(n,"tensor4d",(function(){return ze})),e.d(n,"tensor5d",(function(){return Le})),e.d(n,"tensor6d",(function(){return Be})),e.d(n,"tensor_util",(function(){return It})),e.d(n,"test_util",(function(){return fs})),e.d(n,"tidy",(function(){return Zn})),e.d(n,"tile",(function(){return Ja})),e.d(n,"time",(function(){return ee})),e.d(n,"topk",(function(){return $c})),e.d(n,"train",(function(){return yh})),e.d(n,"transpose",(function(){return oo})),e.d(n,"truncatedNormal",(function(){return ys})),e.d(n,"unregisterGradient",(function(){return x})),e.d(n,"unregisterKernel",(function(){return w})),e.d(n,"unsortedSegmentSum",(function(){return Rs})),e.d(n,"unstack",(function(){return lr})),e.d(n,"util",(function(){return ht})),e.d(n,"valueAndGrad",(function(){return Ki})),e.d(n,"valueAndGrads",(function(){return Zi})),e.d(n,"variable",(function(){return Pe})),e.d(n,"variableGrads",(function(){return to})),e.d(n,"version_core",(function(){return sh})),e.d(n,"webgl",(function(){return ch})),e.d(n,"where",(function(){return Ya})),e.d(n,"whereAsync",(function(){return Qa})),e.d(n,"zeros",(function(){return $e})),e.d(n,"zerosLike",(function(){return He}));
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2020 Google LLC. All Rights Reserved.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-4c8e922b",[[1,"loader-dots"]]],["p-
|
|
1
|
+
import{p as e,b as i}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-4c8e922b",[[1,"loader-dots"]]],["p-8d6d9219",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],idSide:[32],errorMessage:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{device:[16],showTimeout:[32],showInvalid:[32],showHowTo:[32],front:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{device:[16],showTimeout:[32],showHowTo:[32],idFlow:[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{device:[16],showError:[32],showHowTo:[32],selfieFlow:[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,"end-redirect"],[0,"error-end",{message:[1]}],[0,"landing-validation",{device:[16],warningText:[32]}],[0,"sms-code-validation",{title:[32],details:[32],buttonText:[32],phoneNumber:[32],code:[32]}],[0,"id-back-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{device:[16],videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{agreementType:[1,"agreement-type"],htmlContent:[32]}],[0,"id-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{type:[1]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],device:[16],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
|