@azure/ai-vision-face-ui 1.4.4 → 1.4.5
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/FaceLivenessDetector.js +1 -1
- package/package.json +2 -2
package/FaceLivenessDetector.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var t="./";const e=t+"facelivenessdetector-assets/images/Smile.svg",s=t+"facelivenessdetector-assets/images/Brightness.svg",n=t+"facelivenessdetector-assets/images/FaceId.svg",i=t+"facelivenessdetector-assets/images/activeMotionVisualHint.png",a=t+"facelivenessdetector-assets/images/logo.svg",r=
|
|
1
|
+
var t="./";const e=t+"facelivenessdetector-assets/images/Smile.svg",s=t+"facelivenessdetector-assets/images/Brightness.svg",n=t+"facelivenessdetector-assets/images/FaceId.svg",i=t+"facelivenessdetector-assets/images/activeMotionVisualHint.png",a=t+"facelivenessdetector-assets/images/logo.svg",r=c;function o(){const t=["867504JrTDOL","817621MUfWHT","26825750wMYCmp","arc","3DpapZT","631lwSTgo","18QvMFvk","7143596BQehbL","4138PeguMP","9104085htqRuI","8593110OxPaDD","khw"];return(o=function(){return t})()}function c(t,e){const s=o();return(c=function(t,e){return s[t-=423]})(t,e)}!function(){const t=c,e=o();for(;;)try{if(970925==-parseInt(t(426))/1*(-parseInt(t(429))/2)+parseInt(t(425))/3*(parseInt(t(428))/4)+parseInt(t(430))/5+parseInt(t(431))/6+-parseInt(t(434))/7+parseInt(t(433))/8+-parseInt(t(427))/9*(parseInt(t(423))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const h=["ar",r(424),"dv","fa","ha","he",r(432),"ks","ku","ps","ur","yi"],u=f;!function(){const t=f,e=d();for(;;)try{if(644452==-parseInt(t(252))/1*(parseInt(t(206))/2)+-parseInt(t(254))/3*(-parseInt(t(264))/4)+parseInt(t(205))/5+-parseInt(t(232))/6*(parseInt(t(272))/7)+parseInt(t(241))/8+parseInt(t(233))/9+-parseInt(t(271))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var l="AzureAIVisionFace_SIMD.js";function d(){const t=["function","15369340OYUIcU","671391IBwQLV","brandingText","fontFamily","/en.json","None","_showBranding","5232375ROcJXM","16162ncsSLS","brightnessImagePath","isHTMLInit","FaceRecoEngineAdapter","_locale","authToken","appendChild","deviceCorrelationId","_fontFamily","Unexpected","isDefined","script","bind","./facelivenessdetector-assets/i18n/","faceId","undefined","_feedbackMessageStyles","_baseAssetsURL","src","fontSize","checkModuleDefined","_userCorrelationId","Failed to load locale: ","feedbackMessageStyles","statusText","locale","18vMcoiL","598743DslZOK","start","skipInstructions","_languageDictionary","showBranding","replace","cleanup","brandingImage","7023784nNUxnh","_continueButtonStyles","brightnessSVGPath","keys","_brandingImage","createElement","_mediaInfoDeviceId","AzureAIVisionFace","activeMotionVisualHint","endsWith","_skipInstructions","65lKEXsz","_brightnessImagePath","86007eFepXD"," strings file: ","AzureAIVisionFace.js","disconnectedCallback","mediaInfoDeviceId","_deviceCorrelationId","loadLanguageDictionary","logo","_brandingText","isRtl","140qRmeip","substring","validate",".wasm","length","includes"];return(d=function(){return t})()}function f(t,e){const s=d();return(f=function(t,e){return s[t-=203]})(t,e)}try{0==WebAssembly[u(266)](new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,9,1,7,0,65,0,253,15,26,11]))&&(l=u(256))}catch(t){l=u(256)}class p extends HTMLElement{constructor(){const t=u;super(),this.smilePath=e,this[t(234)]=this[t(234)][t(218)](this),this[t(253)]="",this[t(242)]="",this[t(222)]="",this._fontSize="",this[t(214)]="",this[t(236)]={},this.isRtl=!1,this._locale="en-US",this[t(223)]="./",this._mediaInfoDeviceId="",this[t(251)]=!0,this[t(259)]="",this[t(227)]="",this.isDefined=!1,this[t(208)]=!1,this[t(211)]="",this[t(220)]=n,this[t(249)]=i,this[t(243)]=s,this[t(245)]="",this[t(262)]="",this[t(204)]=!1,this[t(261)]=a}set[u(207)](t){this._brightnessImagePath=t}set[u(225)](t){this._fontSize=t}set[u(274)](t){this[u(214)]=t}set buttonStyles(t){this[u(242)]=t}set[u(229)](t){this[u(222)]=t}set[u(231)](t){const e=u;this[e(210)]=t,h[e(269)](t)&&(this[e(263)]=!0)}set languageDictionary(t){const e=u;this._languageDictionary=t||this[e(236)]}set[u(258)](t){this[u(247)]=t}set[u(235)](t){this[u(251)]=t}set[u(213)](t){this[u(259)]=t}set userCorrelationId(t){this[u(227)]=t}set[u(237)](t){this[u(204)]=Boolean(t)}set[u(240)](t){this[u(245)]=t}set[u(273)](t){const e=u;t&&t[e(268)]>30&&(t=t[e(265)](0,30)),this[e(262)]=t}[u(234)]=async t=>{const e=u;return this[e(211)]=t,this[e(216)]=await this[e(226)](1e3,30),this[e(216)]?(await this[e(260)](),Module[e(234)](this)):new Promise((t,s)=>{const n=e;s({livenessError:n(215),recognitionError:n(203)})})};async connectedCallback(){const t=u;if(this.isConnected&&(typeof Module===t(221)||void 0===Module[t(209)])){const e=this._baseAssetsURL[t(238)](/\/$/,"")+"/facelivenessdetector-assets/js/";window.Module={locateFile:function(s,n){const i=t;return s[i(269)](i(248))&&s[i(250)](i(267))?e+s:n+s}};const s=document[t(246)](t(217));s[t(224)]=e+l,document.head[t(212)](s)}}[u(257)](){const t=u;"undefined"!=typeof Module&&typeof Module[t(239)]===t(270)&&Module[t(239)]()}async[u(260)](){const t=u;if(0===Object[t(244)](this[t(236)])[t(268)]){let e=await fetch(t(219)+this[t(210)]+t(275));if(!e.ok)throw new Error(t(228)+this[t(210)]+t(255)+e[t(230)]+".");let s=await e.text();this._languageDictionary=JSON.parse(s)}}async[u(226)](t,e){const s=u;let n=0;for(;n<e;){if(n++,typeof Module!==s(221)&&void 0!==Module[s(209)])return!0;await new Promise(e=>setTimeout(e,t))}return!1}}var I=v;function g(){var t=["1863711gugmXK","4546663mljlRK","12BUwRIs","144912YdBcUr","68000jdfpBL","31670hfObnV","1002424BvfVnp","10myPXZj","define","azure-ai-vision-face-ui","1326jRTolT","3069510DNyNrD","10bavqWJ","7tFoWwF","301FHkRAs"];return(g=function(){return t})()}function v(t,e){var s=g();return(v=function(t,e){return s[t-=298]})(t,e)}!function(){for(var t=v,e=g();;)try{if(649775==-parseInt(t(307))/1*(-parseInt(t(299))/2)+parseInt(t(311))/3*(parseInt(t(300))/4)+-parseInt(t(301))/5*(-parseInt(t(305))/6)+parseInt(t(308))/7*(parseInt(t(298))/8)+parseInt(t(309))/9*(-parseInt(t(306))/10)+-parseInt(t(310))/11+parseInt(t(312))/12*(-parseInt(t(304))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),customElements[I(302)](I(303),p);export var LivenessStatus;
|
|
2
2
|
(function (LivenessStatus) {
|
|
3
3
|
LivenessStatus["RealFace"] = "RealFace";
|
|
4
4
|
LivenessStatus["SpoofFace"] = "SpoofFace";
|
package/package.json
CHANGED