Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
SkyID_SDK_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KHALID KHIAR
SkyID_SDK_web
Commits
c6d0b0d7
Commit
c6d0b0d7
authored
May 31, 2023
by
KHALID KHIAR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update skyid_fa_sdk_min.js
parent
518f8652
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
skyid_fa_sdk_min.js
skyid_fa_sdk_min.js
+1
-1
No files found.
skyid_fa_sdk_min.js
View file @
c6d0b0d7
const
_0x57c7f1
=
_0x4701
;(
function
(
_0x1a297e
,
_0x3fc514
){
const
_0xeee358
=
_0x4701
,
_0x3543db
=
_0x1a297e
();
while
(
!!
[]){
try
{
const
_0x3c069f
=
parseInt
(
_0xeee358
(
0xa9
))
/
0x1
*
(
parseInt
(
_0xeee358
(
0x121
))
/
0x2
)
+
parseInt
(
_0xeee358
(
0xc9
))
/
0x3
+-
parseInt
(
_0xeee358
(
0x129
))
/
0x4
*
(
parseInt
(
_0xeee358
(
0xe3
))
/
0x5
)
+-
parseInt
(
_0xeee358
(
0x12b
))
/
0x6
+
parseInt
(
_0xeee358
(
0xbd
))
/
0x7
+-
parseInt
(
_0xeee358
(
0xdc
))
/
0x8
*
(
parseInt
(
_0xeee358
(
0x12c
))
/
0x9
)
+
parseInt
(
_0xeee358
(
0xe1
))
/
0xa
;
if
(
_0x3c069f
===
_0x3fc514
)
break
;
else
_0x3543db
[
'
push
'
](
_0x3543db
[
'
shift
'
]());}
catch
(
_0x48fc9a
){
_0x3543db
[
'
push
'
](
_0x3543db
[
'
shift
'
]());}}}(
_0x42f7
,
0xdb11a
));
import
_0xec9871
from
'
./Human
'
;
import
_0x58b3ca
from
'
jquery
'
;
function
_0x42f7
(){
const
_0x46c7e0
=
[
'
getUserMedia
'
,
'
yaw
'
,
'
<svg
\
x20id=
\
x22arrow-left
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:48%;
\
x20left:
\
x2026%;
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M7.828
\
x2011H20v2H7.828l5.364
\
x205.364-1.414
\
x201.414L4
\
x2012l7.778-7.778
\
x201.414
\
x201.414z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
'
,
'
none
'
,
'
height
'
,
'
webkit-3d
'
,
'
r_sdk_data
'
,
'
scrollY
'
,
'
skyid_fa_warning_timer
'
,
'
getContext
'
,
'
opacity
'
,
'
px;
\
x20background:
\
x20white;z-index:
\
x205;
\
x22>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x20id=
\
x22skyid_fa_success_icon
\
x22
\
x20class=
\
x22checkmark
\
x20marging_top_50
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2052
\
x2052
\
x22
\
x20style=
\
x22display:
\
x20none;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<circle
\
x20class=
\
x22checkmark__circle
\
x22
\
x20cx=
\
x2226
\
x22
\
x20cy=
\
x2226
\
x22
\
x20r=
\
x2225
\
x22
\
x20fill=
\
x22none
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20class=
\
x22checkmark__check
\
x22
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M14.1
\
x2027.2l7.1
\
x207.2
\
x2016.7-16.8
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_error_icon
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20class=
\
x22text_container
\
x20marging_top_20
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<h3
\
x20id=
\
x22skyid_fa_alert_text
\
x22
\
x20style=
\
x22text-align:center;font-family:
\
x20Arial,
\
x20Helvetica,
\
x20sans-serif;
\
x22></h3>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_spinner
\
x22
\
x20align=
\
x22center
\
x22
\
x20style=
\
x22width:20%;height:20%;margin:10%;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x20align=
\
x22center
\
x22
\
x20
\
x20width=
\
x22500
\
x22
\
x20height=
\
x22500
\
x22
\
x20viewBox=
\
x220
\
x200
\
x20104
\
x20104
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22><path
\
x20d=
\
x22M12,23a9.63,9.63,0,0,1-8-9.5,9.51,9.51,0,0,1,6.79-9.1A1.66,1.66,0,0,0,12,2.81h0a1.67,1.67,0,0,0-1.94-1.64A11,11,0,0,0,12,23Z
\
x22><animateTransform
\
x20attributeName=
\
x22transform
\
x22
\
x20type=
\
x22rotate
\
x22
\
x20dur=
\
x220.75s
\
x22
\
x20values=
\
x220
\
x2012
\
x2012;360
\
x2012
\
x2012
\
x22
\
x20repeatCount=
\
x22indefinite
\
x22/></path></svg>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a</div>
\
x0a<div
\
x20>
\
x0a
\
x0a</div>
\
x0a
'
,
'
getBoundingClientRect
'
,
'
createElement
'
,
'
skyid_fa_jeton_var
'
,
'
694VrprRR
'
,
'
arrow_r
'
,
'
skyid_fa_webcame
'
,
'
skyid_fa_container
'
,
'
mediaDevices
'
,
'
<svg
\
x20id=
\
x22arrow_right
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:
\
x2048%;left:
\
x2068%;
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M16.172
\
x2011l-5.364-5.364
\
x201.414-1.414L20
\
x2012l-7.778
\
x207.778-1.414-1.414L16.172
\
x2013H4v-2z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
'
,
'
#skyid_fa_webcame
'
,
'
data:image/jpeg;base64,
'
,
'
#light
'
,
'
px;width:
'
,
'
hand
'
,
'
skyid_fa_time_freq
'
,
'
face_rotation
'
,
'
function
'
,
'
forEach
'
,
'
log
'
,
'
detect
'
,
'
style
'
,
'
pageYOffset
'
,
'
arrow_b
'
,
'
5165769AuxmCB
'
,
'
skyid_fa_canvas_warning
'
,
'
resize
'
,
'
setItem
'
,
'
18px
\
x20sans-serif
'
,
'
videoHeight
'
,
'
stringify
'
,
'
image/jpeg
'
,
'
skyid_fa_frame_check_api
'
,
'
skyid_fa_face_rot_thresh
'
,
'
left
'
,
'
arrow_t
'
,
'
1742757GOZlYg
'
,
'
px
\
x22
\
x20style=
\
x22object-fit:
\
x20cover;
\
x20width:100%
\
x20!important;
\
x20-moz-transform:rotateY(180deg)
\
x20!important;
\
x20transform:
\
x20rotateY(180deg)
\
x20!important;
\
x20-webkit-transform:rotateY(180deg)
\
x20!important;
\
x20transform:rotateY(180deg)
\
x20!important;
\
x20height:100%
\
x20!important;
\
x22
\
x20autoplay
\
x20muted
\
x20playsinline></video>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20width=
\
x22640
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20height=
\
x22480
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20className=
\
x22svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20id=
\
x22skyid_fa_canvas_overlay
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20version=
\
x221.1
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20xmlnsXlink=
\
x22http://www.w3.org/1999/xlink
\
x22
\
x20style=
\
x22width:100%
\
x20!important;
\
x20top:0%
\
x20!important;
\
x20position:
\
x20absolute
\
x20!important;
\
x20height:96%
\
x20!important;
\
x20display:
\
x20none
\
x20!important;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<!--
\
x20<defs
\
x20width=
\
x22340
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M25,2
\
x20L2,2
\
x20L2,25
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.9)
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M2,75
\
x20L2,98
\
x20L25,98
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M75,98
\
x20L98,98
\
x20L98,75
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M98,25
\
x20L98,2
\
x20L75,2
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</defs>
\
x20-->
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<defs>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<mask
\
x20id=
\
x22overlay-mask
\
x22
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<rect
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22
\
x20fill=
\
x22#fff
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<ellipse
\
x20id=
\
x22ellipse-mask
\
x22
\
x20cx=
\
x2250%
\
x22
\
x20cy=
\
x2250%
\
x22
\
x20rx=
\
x22
'
,
'
box
'
,
'
skyid_fa_bins_repo
'
,
'
#plus
'
,
'
skyid_fa_sdk_network_error_message
'
,
'
screen
'
,
'
buffer
'
,
'
\
x27);item.style.
'
,
'
#face_rotation
'
,
'
#hand
'
,
'
#arrow_t
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M11
\
x2011V5h2v6h6v2h-6v6h-2v-6H5v-2z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)
\
x22/></svg>
'
,
'
toDataURL
'
,
'
skyid_fa_text_indicator
'
,
'
skyid_fa_canvas_output
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:22%;
\
x20left:
\
x2047%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M13
\
x207.828V20h-2V7.828l-5.364
\
x205.364-1.414-1.414L12
\
x204l7.778
\
x207.778-1.414
\
x201.414L13
\
x207.828z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
,
'
stop
'
,
'
getItem
'
,
'
376YVaqrB
'
,
'
hidden
'
,
'
skyid_fa_face_det_thresh
'
,
'
css
'
,
'
userAgent
'
,
'
2256610nfreBG
'
,
'
Your
\
x20screen
\
x20resolution
\
x20is:
\
x20
'
,
'
98805rZSrfn
'
,
'
skyid_fa_face_loading_message
'
,
'
px
\
x22
\
x20height=
\
x22
'
,
'
canvas
'
,
'
skyid_fa_class_thresh
'
,
'
light
'
,
'
catch
'
,
'
skyid_fa_sdk_camera_error_message
'
,
'
atob
'
,
'
scrollX
'
,
'
min
'
,
'
clearRect
'
,
'
#skyid_fa_canvas_warning
'
,
'
width
'
,
'
right
'
,
'
parse
'
,
'
skyid_fa_sdk_access_error_message
'
,
'
down
'
,
'
getTracks
'
,
'
fadeOut
'
,
'
skyid_fa_spinner
'
,
'
offset
'
,
'
absolute
'
,
'
test
'
,
'
skyid_fa_exec_time_ms
'
,
'
videoWidth
'
,
'
999
'
,
'
show
'
,
'
block
'
,
'
srcObject
'
,
'
html
'
,
'
face
'
,
'
WebGLRenderingContext
'
,
'
hide
'
,
'
skyid_fa_success_icon
'
,
'
fadeIn
'
,
'
getElementById
'
,
'
offsetHeight
'
,
'
score
'
,
'
strokeRect
'
,
'
px
\
x20!important;width:
'
,
'
fast
'
,
'
blue
'
,
'
user
'
,
'
innerHTML
'
,
'
#skyid_fa_canvas_overlay
'
,
'
length
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M9.973
\
x2018H11v-5h2v5h1.027c.132-1.202.745-2.194
\
x201.74-3.277.113-.122.832-.867.917-.973a6
\
x206
\
x200
\
x201
\
x200-9.37-.002c.086.107.807.853.918.974.996
\
x201.084
\
x201.609
\
x202.076
\
x201.741
\
x203.278zM10
\
x2020v1h4v-1h-4zm-4.246-5a8
\
x208
\
x200
\
x201
\
x201
\
x2012.49.002C17.624
\
x2015.774
\
x2016
\
x2017
\
x2016
\
x2018.5V21a2
\
x202
\
x200
\
x200
\
x201-2
\
x202h-4a2
\
x202
\
x200
\
x200
\
x201-2-2v-2.5C8
\
x2017
\
x206.375
\
x2015.774
\
x205.754
\
x2015z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)/></svg>
'
,
'
/bin_skyid_fa_detector
'
,
'
pageXOffset
'
,
'
webgl
'
,
'
skyid_fa_nbr_valid_check
'
,
'
#arrow_b
'
,
'
moz-webgl
'
,
'
slideUp
'
,
'
charCodeAt
'
,
'
#skyid_fa_canvas_output
'
,
'
slideDown
'
,
'
plus
'
,
'
skyid_fa_sdk_loading_error_message
'
,
'
drawImage
'
,
'
000
'
,
'
1414ErAcWV
'
,
'
skyid_fa_mul_face_warning_msg
'
,
'
display
'
,
'
overflow
'
,
'
#arrow_r
'
,
'
arrow_l
'
,
'
skyid_fa_error_icon
'
,
'
cpu
'
,
'
32OVbBHa
'
,
'
#arrow_l
'
,
'
447828WGEUkG
'
,
'
173331SaElcB
'
,
'
querySelector
'
,
'
replace
'
];
_0x42f7
=
function
(){
return
_0x46c7e0
;};
return
_0x42f7
();}
let
message_variables
=
{
'
skyid_fa_sdk_access_error_message
'
:
''
,
set
'
access_err
'
(
_0x4152e2
){
const
_0x26a28b
=
_0x4701
;
this
[
_0x26a28b
(
0xf3
)]
=
_0x4152e2
;},
'
skyid_fa_sdk_loading_error_message
'
:
''
,
set
'
loading_err
'
(
_0x35d2d5
){
const
_0x234352
=
_0x4701
;
this
[
_0x234352
(
0x11e
)]
=
_0x35d2d5
;},
'
skyid_fa_sdk_network_error_message
'
:
''
,
set
'
network_err
'
(
_0x2a4def
){
const
_0x497c5e
=
_0x4701
;
this
[
_0x497c5e
(
0xce
)]
=
_0x2a4def
;},
'
skyid_fa_sdk_camera_error_message
'
:
''
,
set
'
camer_err
'
(
_0x3d87e5
){
this
[
'
skyid_fa_sdk_camera_error_message
'
]
=
_0x3d87e5
;},
'
skyid_fa_face_start_message
'
:
''
,
set
'
face_start
'
(
_0x22c9a9
){
this
[
'
skyid_fa_face_start_message
'
]
=
_0x22c9a9
;},
'
skyid_fa_face_loading_message
'
:
''
,
set
'
face_loading
'
(
_0x3e712d
){
const
_0x466411
=
_0x4701
;
this
[
_0x466411
(
0xe4
)]
=
_0x3e712d
;},
'
skyid_fa_mul_face_warning_msg
'
:
''
,
set
'
face_warning
'
(
_0x3e915b
){
const
_0x55d28c
=
_0x4701
;
this
[
_0x55d28c
(
0x122
)]
=
_0x3e915b
;}};
const
skyid_fa_sdk_msg_container
=
'
skyid_fa_msg_container
'
,
skyid_fa_sdk_video_container
=
_0x57c7f1
(
0xac
),
skyid_fa_sdk_alert_text
=
'
skyid_fa_alert_text
'
,
skyid_fa_sdk_spinner
=
_0x57c7f1
(
0xf7
),
skyid_fa_sdk_error_icon
=
_0x57c7f1
(
0x127
),
skyid_fa_sdk_success_icon
=
_0x57c7f1
(
0x105
),
skyid_fa_sdk_text_info
=
_0x57c7f1
(
0xd7
);
let
skyid_fa_video
=
null
,
skyid_fa_engine_backend
=
_0x57c7f1
(
0x128
),
skyid_fa_detector
=
null
,
skyid_fa_classifier
=
null
,
skyid_fa_time_freq
=
0x1f4
,
skyid_fa_exec_time_ms
=
0x5
*
0x3e8
,
skyid_fa_frame_nbr_time_out
=
0x0
,
skyid_fa_class_thresh
=
0.5
,
skyid_fa_face_det_thresh
=
0.5
,
skyid_fa_face_rot_thresh
=
0x0
,
skyid_fa_nbr_valid_check
=
0x2
,
skyid_fa_warning_timer
=
0x0
,
skyid_fa_bins_repo
=
''
,
skyid_fa_frame_check_api
=
''
;
var
skyid_fa_timer
=
null
;
let
skyid_fa_canvas_output
=
null
,
skyid_fa_canvas_output_ctx
=
null
;
const
skyid_fa_canvas_output_font
=
_0x57c7f1
(
0xc1
);
var
skyid_fa_check_inc
=
0x0
,
skyid_fa_frame_inc
=
0x0
,
skyid_fa_best_frame_score
=
0x0
,
skyid_fa_jeton_var
=!
[],
skyid_fa_check_api_jeton_var
=!
[],
skyid_fa_selected_frame
,
skyid_fa_face_out_inc
=
0x0
,
skyid_fa_face_far_inc
=
0x0
,
skyid_fa_face_spoof_inc
=
0x0
,
skyid_fa_face_angle_inc
=
0x0
,
skyid_fa_face_not_detected_inc
=
0x0
,
skyid_fa_face_multiple_inc
=
0x0
,
skyid_fa_face_pos_marge_x
=
0x0
,
skyid_fa_face_pos_marge_y
=
0x0
,
skyid_interval
,
realWidth
,
realHeight
,
elps_rx
;
function
show
(
_0x56dbd6
){
const
_0x1a3d2e
=
_0x57c7f1
;
let
_0xe7ee57
=
document
[
_0x1a3d2e
(
0x12d
)](
_0x56dbd6
);
_0xe7ee57
[
_0x1a3d2e
(
0xba
)][
_0x1a3d2e
(
0x123
)]
=
_0x1a3d2e
(
0xff
);}
function
hide
(
_0x45b787
){
const
_0x3f1919
=
_0x57c7f1
;
let
_0x195809
=
document
[
_0x3f1919
(
0x12d
)](
_0x45b787
);
_0x195809
[
_0x3f1919
(
0xba
)][
_0x3f1919
(
0x123
)]
=
_0x3f1919
(
0x132
);}
function
fadeOut
(
_0x2435a2
,
_0x3ea0bd
){
const
_0x59a738
=
_0x57c7f1
;
let
_0x67d250
=
document
[
_0x59a738
(
0x12d
)](
_0x2435a2
);
_0x67d250
[
_0x59a738
(
0xba
)][
_0x59a738
(
0xa4
)]
=
0x1
;
let
_0x4786ee
=
0x1
,
_0x4064f6
=
setInterval
(
function
(){
const
_0x3eba75
=
_0x59a738
;
_0x4786ee
-=
0.1
,
_0x67d250
[
_0x3eba75
(
0xba
)][
_0x3eba75
(
0xa4
)]
=
_0x4786ee
,
_0x4786ee
<=
0x0
&&
(
clearInterval
(
_0x4064f6
),
_0x67d250
[
'
style
'
][
'
display
'
]
=
'
none
'
);},
_0x3ea0bd
);}
function
fadeIn
(
_0x543e42
,
_0x227da8
){
const
_0x141f60
=
_0x57c7f1
;
let
_0x128f08
=
document
[
_0x141f60
(
0x12d
)](
_0x543e42
);
_0x128f08
[
_0x141f60
(
0xba
)][
_0x141f60
(
0xa4
)]
=
0x0
,
_0x128f08
[
_0x141f60
(
0xba
)][
_0x141f60
(
0x123
)]
=
_0x141f60
(
0xff
);
let
_0x270eab
=
0x0
;
const
_0x5975d2
=
setInterval
(
function
(){
const
_0x36a127
=
_0x141f60
;
_0x270eab
+=
0.1
,
_0x128f08
[
_0x36a127
(
0xba
)][
_0x36a127
(
0xa4
)]
=
_0x270eab
[
'
toString
'
](),
_0x270eab
>=
0x1
&&
clearInterval
(
_0x5975d2
);},
_0x227da8
);}
function
html
(
_0x4cb3ef
,
_0x162b2b
){
const
_0x2191a1
=
_0x57c7f1
;
let
_0x20dc96
=
document
[
_0x2191a1
(
0x12d
)](
_0x4cb3ef
);
_0x20dc96
[
'
innerHTML
'
]
=
_0x162b2b
;}
function
css
(
_0x55ab87
,
_0x4c933b
,
_0x432349
){
const
_0x3a41ef
=
_0x57c7f1
;
let
_0x1b9f2a
=
'
let
\
x20item
\
x20=
\
x20document.querySelector(
\
x27
'
+
_0x55ab87
+
_0x3a41ef
(
0xd1
)
+
_0x4c933b
+
'
=
\
x27
'
+
_0x432349
+
'
\
x27
'
;
const
_0x2795a0
=
new
Function
(
_0x1b9f2a
);
_0x2795a0
();}
function
offset
(
_0x34898c
){
const
_0x1f7273
=
_0x57c7f1
;
let
_0x59e971
=
document
[
_0x1f7273
(
0x12d
)](
_0x34898c
);
const
_0xfa74e9
=
_0x59e971
[
_0x1f7273
(
0xa6
)](),
_0x4cc605
=
window
[
_0x1f7273
(
0x136
)]
||
window
[
_0x1f7273
(
0xbb
)],
_0x19eaa5
=
window
[
_0x1f7273
(
0xec
)]
||
window
[
_0x1f7273
(
0x114
)],
offset
=
{
'
top
'
:
_0xfa74e9
[
'
top
'
]
+
_0x4cc605
,
'
left
'
:
_0xfa74e9
[
_0x1f7273
(
0xc7
)]
+
_0x19eaa5
};
return
offset
;}
function
slideUp
(
_0x515155
,
_0x56a0e0
){
const
_0x3d2b1d
=
_0x57c7f1
;
let
_0x15cd0d
=
document
[
_0x3d2b1d
(
0x12d
)](
_0x515155
);
_0x15cd0d
[
'
style
'
][
_0x3d2b1d
(
0x124
)]
=
_0x3d2b1d
(
0xdd
);
let
_0x5a591f
=
_0x15cd0d
[
_0x3d2b1d
(
0x108
)],
_0x35ec6e
=
_0x5a591f
/
(
_0x56a0e0
/
0x10
);
function
_0x1d2104
(){
const
_0x115eea
=
_0x3d2b1d
;
_0x5a591f
-=
_0x35ec6e
,
_0x5a591f
<=
0x0
?(
_0x15cd0d
[
_0x115eea
(
0xba
)][
_0x115eea
(
0x123
)]
=
_0x115eea
(
0x132
),
_0x15cd0d
[
_0x115eea
(
0xba
)][
'
height
'
]
=
''
):(
_0x15cd0d
[
'
style
'
][
'
height
'
]
=
_0x5a591f
+
'
px
'
,
requestAnimationFrame
(
_0x1d2104
));}
requestAnimationFrame
(
_0x1d2104
);}
function
slideDown
(
_0x471052
,
_0x100608
,
_0x26d7d6
){
const
_0x317c61
=
_0x57c7f1
;
let
_0x42aded
=
document
[
_0x317c61
(
0x12d
)](
_0x471052
);
_0x42aded
[
'
style
'
][
_0x317c61
(
0x133
)]
=
'
0px
'
,
_0x42aded
[
_0x317c61
(
0xba
)][
_0x317c61
(
0x123
)]
=
'
block
'
,
_0x42aded
[
_0x317c61
(
0xba
)][
'
overflow
'
]
=
_0x317c61
(
0xdd
);
let
_0x5e47a4
=
0x0
,
_0x11379c
=
_0x100608
/
(
_0x26d7d6
/
0x10
);
function
_0x297890
(){
const
_0x1cbd83
=
_0x317c61
;
_0x5e47a4
+=
_0x11379c
,
_0x5e47a4
>=
_0x100608
?
_0x42aded
[
_0x1cbd83
(
0xba
)][
_0x1cbd83
(
0x133
)]
=
''
:(
_0x42aded
[
'
style
'
][
'
height
'
]
=
_0x5e47a4
+
'
px
'
,
requestAnimationFrame
(
_0x297890
));}
requestAnimationFrame
(
_0x297890
);}
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i
[
_0x57c7f1
(
0xfa
)](
navigator
[
_0x57c7f1
(
0xe0
)])?(
realWidth
=
window
[
'
screen
'
][
_0x57c7f1
(
0xf0
)],
realHeight
=
window
[
_0x57c7f1
(
0xcf
)][
_0x57c7f1
(
0x133
)]
/
0x2
,
elps_rx
=
0x14
,
console
[
_0x57c7f1
(
0xb8
)](
_0x57c7f1
(
0xe2
)
+
realWidth
+
'
\
x20x
\
x20
'
+
realHeight
)):(
realWidth
=
0x280
,
realHeight
=
0x1e0
,
elps_rx
=
0xf
,
console
[
_0x57c7f1
(
0xb8
)](
_0x57c7f1
(
0xe2
)
+
realWidth
+
'
\
x20x
\
x20
'
+
realHeight
));
let
skyid_component
=
'
\
x0a<div
\
x20id=
\
x22skyid_fa_scanning_fragement
\
x22
\
x20style=
\
x22position:
\
x20relative;width:
\
x20fit-content;
\
x22
\
x20align=
\
x22center
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_container
\
x22
\
x20align=
\
x22center
\
x22
\
x20style=
\
x22height:
'
+
realHeight
+
_0x57c7f1
(
0x10b
)
+
realWidth
+
'
px;border-radius:
\
x2015px;box-shadow:
\
x20rgba(0,
\
x200,
\
x200,
\
x200.35)
\
x200px
\
x205px
\
x2015px;display:
\
x20none;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<span
\
x20id=
\
x22skyid_fa_text_indicator
\
x22
\
x20style=
\
x22color:
\
x20rgb(139,
\
x20139,
\
x20139)
\
x20!important;
\
x20top:3%
\
x20!important;
\
x20text-align:center
\
x20!important;font-family:
\
x20Arial,
\
x20Helvetica,
\
x20sans-serif;
\
x20z-index:99;padding:5px
\
x20!important;display:none
\
x20!important;
\
x20font-size:
\
x20large
\
x20!important;
\
x20font-weight:
\
x20700
\
x20!important;
\
x20
\
x22></span>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<video
\
x20id=
\
x22skyid_fa_webcame
\
x22
\
x20
\
x20align=
\
x22center
\
x22
\
x20width=
\
x22
'
+
realWidth
+
_0x57c7f1
(
0xe5
)
+
realHeight
+
_0x57c7f1
(
0xca
)
+
elps_rx
+
'
%
\
x22
\
x20ry=
\
x2230%
\
x22
\
x20
\
x20stroke=
\
x22purple
\
x22
\
x20stroke-width=
\
x2210
\
x22
\
x20/>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</mask>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</defs>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<rect
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22
\
x20mask=
\
x22url(#overlay-mask)
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face_recognition
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face
\
x22>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face_rotation
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_t
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_b
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_l
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_r
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22hand
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22light
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<!--
\
x20<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M11
\
x2011V5h2v6h6v2h-6v6h-2v-6H5v-2z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)
\
x22/></svg>
\
x20-->
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22plus
\
x22
\
x20></div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<canvas
\
x20id=
\
x22skyid_fa_canvas_output
\
x22
\
x20style=
\
x22position:
\
x20absolute;top:
\
x200%
\
x20!important;left:
\
x200%
\
x20!important;width:
\
x20640px
\
x20!important;height:
\
x20480px
\
x20!important;
\
x22>
\
x20</canvas>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<canvas
\
x20id=
\
x22skyid_fa_canvas_warning
\
x22
\
x20style=
\
x22position:
\
x20absolute;top:
\
x200%
\
x20!important;left:
\
x200%
\
x20!important;width:
\
x20640px
\
x20!important;height:
\
x20480px
\
x20!important;
\
x22>
\
x20</canvas>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_msg_container
\
x22
\
x20align=
\
x22center
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20style=
\
x22height:
'
+
realHeight
+
_0x57c7f1
(
0xb2
)
+
realWidth
+
_0x57c7f1
(
0xa5
);
function
clearAnimation
(){
const
_0x293b6b
=
_0x57c7f1
;
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xb3
))[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xb3
))[
'
style
'
][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
'
getElementById
'
](
'
arrow_t
'
)[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xc8
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xbc
))[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xbc
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
'
getElementById
'
](
_0x293b6b
(
0x126
))[
'
innerHTML
'
]
=
''
,
document
[
'
getElementById
'
](
_0x293b6b
(
0x126
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xaa
))[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xaa
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
_0x293b6b
(
0x107
)](
'
light
'
)[
'
innerHTML
'
]
=
''
,
document
[
'
getElementById
'
](
_0x293b6b
(
0xe8
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
_0x293b6b
(
0x132
),
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0x11d
))[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0x11d
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
'
none
'
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xb5
))[
_0x293b6b
(
0x10f
)]
=
''
,
document
[
_0x293b6b
(
0x107
)](
_0x293b6b
(
0xb5
))[
_0x293b6b
(
0xba
)][
_0x293b6b
(
0x123
)]
=
'
none
'
;}
function
faceRotaiton
(){
const
_0x533e26
=
_0x57c7f1
;
_0x58b3ca
(
_0x533e26
(
0xd2
))[
_0x533e26
(
0x101
)](
'
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22
\
x20viewBox=
\
x220
\
x200
\
x20512
\
x20512
\
x22><path
\
x20d=
\
x22M464
\
x2016c-17.67
\
x200-32
\
x2014.31-32
\
x2032v74.09C392.1
\
x2066.52
\
x20327.4
\
x2032
\
x20256
\
x2032C161.5
\
x2032
\
x2078.59
\
x2092.34
\
x2049.58
\
x20182.2c-5.438
\
x2016.81
\
x203.797
\
x2034.88
\
x2020.61
\
x2040.28c16.89
\
x205.5
\
x2034.88-3.812
\
x2040.3-20.59C130.9
\
x20138.5
\
x20189.4
\
x2096
\
x20256
\
x2096c50.5
\
x200
\
x2096.26
\
x2024.55
\
x20124.4
\
x2064H336c-17.67
\
x200-32
\
x2014.31-32
\
x2032s14.33
\
x2032
\
x2032
\
x2032h128c17.67
\
x200
\
x2032-14.31
\
x2032-32V48C496
\
x2030.31
\
x20481.7
\
x2016
\
x20464
\
x2016zM441.8
\
x20289.6c-16.92-5.438-34.88
\
x203.812-40.3
\
x2020.59C381.1
\
x20373.5
\
x20322.6
\
x20416
\
x20256
\
x20416c-50.5
\
x200-96.25-24.55-124.4-64H176c17.67
\
x200
\
x2032-14.31
\
x2032-32s-14.33-32-32-32h-128c-17.67
\
x200-32
\
x2014.31-32
\
x2032v144c0
\
x2017.69
\
x2014.33
\
x2032
\
x2032
\
x2032s32-14.31
\
x2032-32v-74.09C119.9
\
x20445.5
\
x20184.6
\
x20480
\
x20255.1
\
x20480c94.45
\
x200
\
x20177.4-60.34
\
x20206.4-150.2C467.9
\
x20313
\
x20458.6
\
x20294.1
\
x20441.8
\
x20289.6z
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/></svg>
\
x0a
\
x20
\
x20
\
x20
\
x20
'
),
_0x58b3ca
(
_0x533e26
(
0xd2
))[
_0x533e26
(
0x106
)](
0x1f4
,
function
(){
const
_0x4080e7
=
_0x533e26
;
_0x58b3ca
(
_0x4080e7
(
0xd2
))[
_0x4080e7
(
0xfe
)]();});}
function
hand
(){
const
_0xed2907
=
_0x57c7f1
;
_0x58b3ca
(
_0xed2907
(
0xd3
))[
_0xed2907
(
0x101
)](
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20
\
x20viewBox=
\
x220
\
x200
\
x20512
\
x20512
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M480
\
x20128v208c0
\
x2097.05-78.95
\
x20176-176
\
x20176h-37.72c-53.42
\
x200-103.7-20.8-141.4-58.58l-113.1-113.1C3.906
\
x20332.5
\
x200
\
x20322.2
\
x200
\
x20312C0
\
x20290.7
\
x2017.15
\
x20272
\
x2040
\
x20272c10.23
\
x200
\
x2020.47
\
x203.906
\
x2028.28
\
x2011.72L128
\
x20343.4V64c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0729
\
x20176C192.1
\
x20248.8
\
x20199.2
\
x20256
\
x20208
\
x20256s16.07-7.164
\
x2016.07-16L224
\
x2032c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0484
\
x20208c0
\
x208.836
\
x207.111
\
x2016
\
x2015.95
\
x2016S320
\
x20248.8
\
x20320
\
x20240L320
\
x2064c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0729
\
x20176c0
\
x208.836
\
x207.091
\
x2016
\
x2015.93
\
x2016S416
\
x20248.8
\
x20416
\
x20240V128c0-17.67
\
x2014.33-32
\
x2032-32S480
\
x20110.3
\
x20480
\
x20128z
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20</svg>
'
),
_0x58b3ca
(
'
#hand
'
)[
_0xed2907
(
0x106
)](
0x1f4
,
function
(){
const
_0x547078
=
_0xed2907
;
_0x58b3ca
(
_0x547078
(
0xd3
))[
_0x547078
(
0xfe
)]();});}
function
arrowTop
(){
const
_0x26ff52
=
_0x57c7f1
;
_0x58b3ca
(
'
#arrow_t
'
)[
_0x26ff52
(
0x101
)](
_0x26ff52
(
0xd9
)),
_0x58b3ca
(
'
#arrow_t
'
)[
'
fadeIn
'
](
0x12c
,
function
(){
const
_0x53dbb1
=
_0x26ff52
;
_0x58b3ca
(
_0x53dbb1
(
0xd4
))[
_0x53dbb1
(
0xfe
)]();}),
document
[
_0x26ff52
(
0x107
)](
'
arrow_t
'
)[
_0x26ff52
(
0x10f
)]
=
''
;}
function
arrow_b
(){
const
_0x864e22
=
_0x57c7f1
;
_0x58b3ca
(
_0x864e22
(
0x117
))[
_0x864e22
(
0x101
)](
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:73%;
\
x20left:
\
x2047%;
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M13
\
x2016.172l5.364-5.364
\
x201.414
\
x201.414L12
\
x2020l-7.778-7.778
\
x201.414-1.414L11
\
x2016.172V4h2v12.172z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
),
_0x58b3ca
(
_0x864e22
(
0x117
))[
_0x864e22
(
0x106
)](
0x12c
,
function
(){
const
_0x41f6c6
=
_0x864e22
;
_0x58b3ca
(
_0x41f6c6
(
0x117
))[
_0x41f6c6
(
0xfe
)]();});}
function
arrowLeft
(){
const
_0x9346e0
=
_0x57c7f1
;
_0x58b3ca
(
_0x9346e0
(
0x12a
))[
'
html
'
](
_0x9346e0
(
0x131
)),
_0x58b3ca
(
'
#arrow_l
'
)[
_0x9346e0
(
0xf6
)](
0x12c
,
function
(){
const
_0x3de756
=
_0x9346e0
;
_0x58b3ca
(
'
#arrow_l
'
)[
_0x3de756
(
0xfe
)]();});}
function
arrowRight
(){
const
_0x2f10e6
=
_0x57c7f1
;
_0x58b3ca
(
_0x2f10e6
(
0x125
))[
'
html
'
](
_0x2f10e6
(
0xae
)),
_0x58b3ca
(
_0x2f10e6
(
0x125
))[
_0x2f10e6
(
0xf6
)](
0x12c
,
function
(){
const
_0x114a9d
=
_0x2f10e6
;
_0x58b3ca
(
_0x114a9d
(
0x125
))[
_0x114a9d
(
0xfe
)]();});}
function
plus
(){
const
_0x4e064b
=
_0x57c7f1
;
_0x58b3ca
(
_0x4e064b
(
0xcd
))[
_0x4e064b
(
0x101
)](
_0x4e064b
(
0xd5
)),
_0x58b3ca
(
_0x4e064b
(
0xcd
))[
_0x4e064b
(
0x106
)](
0x1f4
,
function
(){
const
_0x6b2ca4
=
_0x4e064b
;
_0x58b3ca
(
'
#plus
'
)[
_0x6b2ca4
(
0xfe
)]();});}
function
light
(){
const
_0x18d755
=
_0x57c7f1
;
_0x58b3ca
(
'
#light
'
)[
_0x18d755
(
0x101
)](
_0x18d755
(
0x112
)),
_0x58b3ca
(
_0x18d755
(
0xb1
))[
_0x18d755
(
0x106
)](
0x1f4
,
function
(){
const
_0x3d2a60
=
_0x18d755
;
_0x58b3ca
(
_0x3d2a60
(
0xcd
))[
_0x3d2a60
(
0xfe
)]();});}
function
skyid_fa_start_position_canvas
(){
const
_0x151650
=
_0x57c7f1
;
_0x58b3ca
(
_0x151650
(
0x110
))[
_0x151650
(
0x104
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
hide
'
](),
document
[
'
getElementById
'
](
_0x151650
(
0xd8
))[
_0x151650
(
0xf0
)]
=
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0xf0
)](),
document
[
_0x151650
(
0x107
)](
_0x151650
(
0xbe
))[
'
width
'
]
=
_0x58b3ca
(
'
#skyid_fa_webcame
'
)[
_0x151650
(
0xf0
)](),
document
[
_0x151650
(
0x107
)](
'
skyid_fa_canvas_output
'
)[
_0x151650
(
0x133
)]
=
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0x133
)](),
document
[
_0x151650
(
0x107
)](
_0x151650
(
0xbe
))[
_0x151650
(
0x133
)]
=
_0x58b3ca
(
_0x151650
(
0xaf
))[
'
height
'
]();
let
_0x487d02
=
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0xf8
)]();
_0x58b3ca
(
'
#skyid_fa_canvas_overlay
'
)[
_0x151650
(
0xdf
)]({
'
position
'
:
_0x151650
(
0xf9
),
'
top
'
:
'
0%
'
,
'
left
'
:
'
0%
'
,
'
width
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0xf0
)](),
'
height
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0x133
)]()}),
_0x58b3ca
(
_0x151650
(
0x11b
))[
_0x151650
(
0xdf
)]({
'
position
'
:
_0x151650
(
0xf9
),
'
top
'
:
'
0%
'
,
'
left
'
:
'
0%
'
,
'
width
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0xf0
)](),
'
height
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
_0x151650
(
0x133
)]()}),
_0x58b3ca
(
_0x151650
(
0xef
))[
_0x151650
(
0xdf
)]({
'
position
'
:
_0x151650
(
0xf9
),
'
top
'
:
'
0%
'
,
'
left
'
:
'
0%
'
,
'
width
'
:
_0x58b3ca
(
'
#skyid_fa_webcame
'
)[
_0x151650
(
0xf0
)](),
'
height
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
'
height
'
]()}),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x151650
(
0xdf
)]({
'
position
'
:
_0x151650
(
0xf9
),
'
top
'
:
'
5%
'
,
'
left
'
:
'
0%
'
,
'
width
'
:
_0x58b3ca
(
_0x151650
(
0xaf
))[
'
width
'
]()
-
0xa
,
'
height
'
:
_0x58b3ca
(
'
#skyid_fa_webcame
'
)[
_0x151650
(
0x133
)]()
/
0xa
}),
_0x58b3ca
(
'
#skyid_fa_canvas_overlay
'
)[
_0x151650
(
0xfe
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
show
'
]();}
function
skyid_fa_start_camera
(){
const
_0x1d077e
=
_0x57c7f1
;
navigator
[
_0x1d077e
(
0xad
)][
_0x1d077e
(
0x12f
)]?
navigator
[
_0x1d077e
(
0xad
)][
_0x1d077e
(
0x12f
)]({
'
audio
'
:
!
[],
'
video
'
:{
'
facingMode
'
:
_0x1d077e
(
0x10e
),
'
width
'
:{
'
ideal
'
:
0x3c0
,
'
max
'
:
0x4b0
},
'
height
'
:{
'
ideal
'
:
0x2d0
,
'
max
'
:
0x4b0
}}})[
'
then
'
](
function
(
_0x43b462
){
const
_0x11f056
=
_0x1d077e
;
skyid_fa_video
[
_0x11f056
(
0x100
)]
=
_0x43b462
,
skyid_fa_video
[
'
play
'
](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_msg_container
)[
_0x11f056
(
0xf6
)](
_0x11f056
(
0x10c
),
function
(){
const
_0xf37257
=
_0x11f056
;
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_video_container
)[
_0xf37257
(
0x106
)](
'
fast
'
,
function
(){
skyid_fa_start_position_canvas
();});}),
skyid_fa_start_position_canvas
();})[
_0x1d077e
(
0xe9
)](
function
(
_0x521717
){
const
_0x41d584
=
_0x1d077e
;
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_alert_text
)[
_0x41d584
(
0x101
)](
message_variables
[
_0x41d584
(
0xea
)]),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_spinner
)[
_0x41d584
(
0x104
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_success_icon
)[
_0x41d584
(
0x104
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_error_icon
)[
_0x41d584
(
0xfe
)]();}):(
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_alert_text
)[
_0x1d077e
(
0x101
)](
message_variables
[
_0x1d077e
(
0xea
)]),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_spinner
)[
_0x1d077e
(
0x104
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_success_icon
)[
_0x1d077e
(
0x104
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_error_icon
)[
_0x1d077e
(
0xfe
)]());}
function
show_warning_text
(
_0xe97430
,
_0x3b372e
){
const
_0x523d49
=
_0x57c7f1
;
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
css
'
]({
'
background-color
'
:
_0x3b372e
}),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x523d49
(
0x119
)](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
html
'
](
_0xe97430
),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x523d49
(
0x11c
)]();}
function
skyid_fa_check_run_warnings
(
_0x535e72
){
const
_0x753386
=
_0x57c7f1
;
switch
(
_0x535e72
){
case
0x0
:
break
;
case
0x1
:
plus
();
break
;
case
0x2
:
light
();
break
;
case
0x3
:
faceRotaiton
();
break
;
case
0x4
:
case
0x5
:
show_warning_text
(
message_variables
[
_0x753386
(
0x122
)],
''
);}}
_0x58b3ca
(
window
)[
_0x57c7f1
(
0xbf
)](
function
(){
skyid_fa_start_position_canvas
();});
function
skyid_fa_base64ToArrayBuffer
(
_0x49019d
){
const
_0x432564
=
_0x57c7f1
,
_0x5bde66
=
window
[
_0x432564
(
0xeb
)](
_0x49019d
),
_0x1e1c15
=
_0x5bde66
[
_0x432564
(
0x111
)];
var
_0x2858f2
=
new
Uint8Array
(
_0x1e1c15
);
for
(
var
_0x53b3fc
=
0x0
;
_0x53b3fc
<
_0x1e1c15
;
_0x53b3fc
++
){
_0x2858f2
[
_0x53b3fc
]
=
_0x5bde66
[
_0x432564
(
0x11a
)](
_0x53b3fc
);}
return
_0x2858f2
[
_0x432564
(
0xd0
)];}
function
skyid_fa_canvas2binary
(
_0x320993
){
const
_0x179a06
=
_0x57c7f1
;
let
_0x127043
=
_0x320993
[
_0x179a06
(
0xd6
)](
_0x179a06
(
0xc4
),
0x1
);
return
_0x127043
=
_0x127043
[
_0x179a06
(
0x12e
)](
_0x179a06
(
0xb0
),
''
),
skyid_fa_base64ToArrayBuffer
(
_0x127043
);}
function
detectWebGL
(){
const
_0x172167
=
_0x57c7f1
;
if
(
!!
window
[
_0x172167
(
0x103
)]){
var
_0x4c9f3e
=
document
[
_0x172167
(
0xa7
)](
_0x172167
(
0xe6
)),
_0x3d8c04
=
[
'
webgl
'
,
'
experimental-webgl
'
,
_0x172167
(
0x118
),
_0x172167
(
0x134
)],
_0x464342
=!
[];
for
(
var
_0x5d0cf3
in
_0x3d8c04
){
try
{
_0x464342
=
_0x4c9f3e
[
_0x172167
(
0xa3
)](
_0x3d8c04
[
_0x5d0cf3
]);
if
(
_0x464342
&&
typeof
_0x464342
[
'
getParameter
'
]
===
_0x172167
(
0xb6
))
return
0x1
;}
catch
(
_0xa17284
){}}
return
0x0
;}
return
-
0x1
;};
detectWebGL
()
==
0x1
&&
(
skyid_fa_engine_backend
=
_0x57c7f1
(
0x115
));
async
function
skyid_fa_load_in_memory
(){
const
_0x131fd
=
_0x57c7f1
;
let
_0x2ffe52
=
document
[
'
createElement
'
](
_0x131fd
(
0xe6
));
_0x2ffe52
[
_0x131fd
(
0xf0
)]
=
0x64
,
_0x2ffe52
[
'
height
'
]
=
0x64
;
const
_0x34d968
=
await
skyid_fa_detector
[
_0x131fd
(
0xb9
)](
_0x2ffe52
);}
async
function
skyid_fa_setup_engines
(
_0x310c9e
){
const
_0x77ff18
=
_0x57c7f1
,
_0x2e902a
=
{
'
debug
'
:
!
[],
'
backend
'
:
skyid_fa_engine_backend
,
'
filter
'
:{
'
enabled
'
:
!
[]},
'
modelBasePath
'
:
_0x310c9e
+
_0x77ff18
(
0x113
),
'
face
'
:{
'
enabled
'
:
!!
[],
'
detector
'
:{
'
maxDetected
'
:
0x3
,
'
minConfidence
'
:
0.2
,
'
iouThreshold
'
:
0.2
,
'
rotation
'
:
!
[],
'
return
'
:
!
[]},
'
mesh
'
:{
'
enabled
'
:
!!
[]},
'
iris
'
:{
'
enabled
'
:
!
[]},
'
description
'
:{
'
enabled
'
:
!
[]},
'
emotion
'
:{
'
enabled
'
:
!
[]}},
'
body
'
:{
'
enabled
'
:
!
[]},
'
hand
'
:{
'
enabled
'
:
!
[]},
'
object
'
:{
'
enabled
'
:
!
[]}};
skyid_fa_detector
=
new
_0xec9871
(
_0x2e902a
),
await
skyid_fa_load_in_memory
();}
async
function
skyid_fa_detectFaces
(
_0x231d5b
){
const
_0x2f5afd
=
_0x57c7f1
,
_0x93e616
=
await
skyid_fa_detector
[
_0x2f5afd
(
0xb9
)](
_0x231d5b
);
return
_0x93e616
[
_0x2f5afd
(
0x102
)];}
const
skyid_fa_getFrame
=
()
=>
{
const
_0x1e60d0
=
_0x57c7f1
;
var
_0x3e9de0
=
document
[
_0x1e60d0
(
0xa7
)](
'
canvas
'
);
_0x3e9de0
[
_0x1e60d0
(
0xf0
)]
=
skyid_fa_video
[
_0x1e60d0
(
0xfc
)],
_0x3e9de0
[
'
height
'
]
=
skyid_fa_video
[
_0x1e60d0
(
0xc2
)];
const
_0x512dae
=
_0x3e9de0
[
_0x1e60d0
(
0xa3
)](
'
2d
'
);
return
_0x512dae
[
_0x1e60d0
(
0x11f
)](
skyid_fa_video
,
0x0
,
0x0
),
_0x3e9de0
;};
function
skyid_fa_crop_face
(
_0x4e17cd
,
_0x1ae3ed
){
const
_0x4ff79e
=
_0x57c7f1
,
_0x4eb407
=
[
_0x4e17cd
[
0x0
],
_0x4e17cd
[
0x1
]],
_0x5c38e9
=
[
_0x4e17cd
[
0x2
],
_0x4e17cd
[
0x3
]],
_0x52df90
=
document
[
_0x4ff79e
(
0xa7
)](
_0x4ff79e
(
0xe6
));
_0x52df90
[
'
height
'
]
=
_0x5c38e9
[
0x1
],
_0x52df90
[
_0x4ff79e
(
0xf0
)]
=
_0x5c38e9
[
0x0
];
const
_0x414078
=
_0x52df90
[
_0x4ff79e
(
0xa3
)](
'
2d
'
);
return
_0x414078
[
_0x4ff79e
(
0x11f
)](
_0x1ae3ed
,
_0x4eb407
[
0x0
],
_0x4eb407
[
0x1
],
_0x5c38e9
[
0x0
],
_0x5c38e9
[
0x1
],
0x0
,
0x0
,
_0x5c38e9
[
0x0
],
_0x5c38e9
[
0x1
]),
_0x52df90
;}
function
skyid_fa_draw_face_box
(
_0x5ef5ba
){
const
_0x71da34
=
_0x57c7f1
,
_0x4c1f1d
=
skyid_fa_video
[
_0x71da34
(
0xf0
)]
/
0x2
/
(
skyid_fa_video
[
_0x71da34
(
0xfc
)]
/
0x2
),
_0x4a1377
=
skyid_fa_video
[
_0x71da34
(
0x133
)]
/
0x2
/
(
skyid_fa_video
[
_0x71da34
(
0xc2
)]
/
0x2
),
_0x21f832
=
[
_0x5ef5ba
[
0x0
]
*
_0x4c1f1d
,
_0x5ef5ba
[
0x1
]
*
_0x4a1377
],
_0x16581
=
[
_0x5ef5ba
[
0x2
]
*
_0x4c1f1d
,
_0x5ef5ba
[
0x3
]
*
_0x4a1377
];
skyid_fa_canvas_output_ctx
[
'
strokeStyle
'
]
=
_0x71da34
(
0x10d
),
skyid_fa_canvas_output_ctx
[
'
fillStyle
'
]
=
'
rgb(10,236,40)
'
,
skyid_fa_canvas_output_ctx
[
_0x71da34
(
0x10a
)](
_0x21f832
[
0x0
],
_0x21f832
[
0x1
],
_0x16581
[
0x0
],
_0x16581
[
0x1
]);}
function
Intersect
(
_0x2c1e73
,
_0x3a8819
){
const
_0x5e1530
=
_0x57c7f1
;
let
_0x3f82fe
=
Math
[
'
max
'
](
_0x2c1e73
[
0x0
],
_0x3a8819
[
0x0
]),
_0xb83579
=
Math
[
_0x5e1530
(
0xed
)](
_0x2c1e73
[
0x0
]
+
_0x2c1e73
[
0x2
],
_0x3a8819
[
0x0
]
+
_0x3a8819
[
0x2
]),
_0x269a1b
=
Math
[
'
max
'
](
_0x2c1e73
[
0x1
],
_0x3a8819
[
0x1
]),
_0x588c70
=
Math
[
_0x5e1530
(
0xed
)](
_0x2c1e73
[
0x1
]
+
_0x2c1e73
[
0x3
],
_0x3a8819
[
0x1
]
+
_0x3a8819
[
0x3
]);
if
(
_0xb83579
>=
_0x3f82fe
&&
_0x588c70
>=
_0x269a1b
)
return
[
_0x3f82fe
,
_0x269a1b
,
_0xb83579
-
_0x3f82fe
,
_0x588c70
-
_0x269a1b
];
else
return
!
[];}
function
_0x4701
(
_0xe1c8ff
,
_0x539258
){
const
_0x42f708
=
_0x42f7
();
return
_0x4701
=
function
(
_0x4701a8
,
_0xfbfd70
){
_0x4701a8
=
_0x4701a8
-
0xa3
;
let
_0x519f33
=
_0x42f708
[
_0x4701a8
];
return
_0x519f33
;},
_0x4701
(
_0xe1c8ff
,
_0x539258
);}
function
check_area_int
(
_0x3a8505
,
_0x3a3232
){
let
_0xc4ec2c
=
_0x3a3232
[
0x2
]
*
_0x3a3232
[
0x3
]
/
(
_0x3a8505
[
0x2
]
*
_0x3a8505
[
0x3
]);
return
_0xc4ec2c
>
0.4
&&
_0xc4ec2c
<
1.1
;}
function
checkInCercle
(
_0x293072
){
const
_0x3511e6
=
_0x57c7f1
,
_0x2f4d88
=
skyid_fa_video
[
_0x3511e6
(
0xfc
)]
/
0x2
,
_0x5db8ff
=
skyid_fa_video
[
'
videoHeight
'
]
/
0x2
,
_0x2e0eca
=
_0x2f4d88
-
skyid_fa_video
[
_0x3511e6
(
0xfc
)]
*
0.17
,
_0x141a73
=
_0x2f4d88
+
skyid_fa_video
[
_0x3511e6
(
0xfc
)]
*
0.17
,
_0x5a8620
=
_0x5db8ff
-
skyid_fa_video
[
_0x3511e6
(
0xc2
)]
*
0.32
,
_0x22144a
=
_0x5db8ff
+
skyid_fa_video
[
_0x3511e6
(
0xc2
)]
*
0.32
,
_0x5e7e5d
=
[
_0x2e0eca
,
_0x5a8620
,
_0x141a73
-
_0x2e0eca
,
_0x22144a
-
_0x5a8620
],
_0x5aafb5
=
(
_0x141a73
-
_0x2e0eca
)
*
0.15
,
_0x151186
=
(
_0x22144a
-
_0x5a8620
)
*
0.15
,
_0x18d569
=
(
_0x141a73
-
_0x2e0eca
)
*
0.2
,
_0x33f428
=
(
_0x22144a
-
_0x5a8620
)
*
0.2
;
let
_0x1c9171
=
Intersect
(
_0x293072
,
_0x5e7e5d
),
_0x2882c5
=
check_area_int
(
_0x5e7e5d
,
_0x1c9171
);
var
_0x2f8d23
=
'
in
'
,
_0x5e7983
=
'
in
'
;
if
(
_0x2882c5
==!!
[])
return
[
_0x3511e6
(
0x120
),
_0x2f8d23
,
_0x5e7983
];
else
{
const
_0x7a92f2
=
_0x293072
[
0x0
]
+
_0x293072
[
0x2
]
/
0x2
,
_0x43f389
=
_0x293072
[
0x1
]
+
_0x293072
[
0x3
]
/
0x2
;
return
_0x2f8d23
=
_0x3511e6
(
0xc7
),
_0x7a92f2
>
_0x2f4d88
&&
(
_0x2f8d23
=
_0x3511e6
(
0xf1
)),
_0x5e7983
=
'
down
'
,
_0x43f389
>
_0x5db8ff
&&
(
_0x5e7983
=
'
up
'
),[
_0x3511e6
(
0xfd
),
_0x2f8d23
,
_0x5e7983
];}}
function
skyid_fa_check_progress
(
_0x40437b
){
skyid_fa_class_thresh
<
_0x40437b
&&
(
skyid_fa_check_inc
+=
0x1
),
skyid_fa_frame_inc
+=
0x1
;}
function
skyid_fa_check_face_position
(
_0x31dad5
){
const
_0x162bcb
=
_0x57c7f1
;
clearAnimation
();
if
(
_0x31dad5
[
_0x162bcb
(
0x111
)]
>
0x1
||
_0x31dad5
[
_0x162bcb
(
0x111
)]
==
0x0
)
return
skyid_fa_face_multiple_inc
+=
0x1
,
!
[];
else
{
const
_0x1bb66b
=
_0x31dad5
[
0x0
][
_0x162bcb
(
0x109
)],
_0x4bd13d
=
_0x31dad5
[
0x0
][
_0x162bcb
(
0xcb
)],
_0x1a4856
=
Math
[
'
abs
'
](
_0x31dad5
[
0x0
][
'
rotation
'
][
'
angle
'
][
_0x162bcb
(
0x130
)]);
if
(
_0x1bb66b
<
skyid_fa_face_det_thresh
)
return
light
(),
skyid_fa_face_not_detected_inc
+=
0x1
,
!
[];
if
(
_0x1a4856
>
skyid_fa_face_rot_thresh
)
return
console
[
_0x162bcb
(
0xb8
)](
'
Rotation
'
),
console
[
_0x162bcb
(
0xb8
)](
skyid_fa_face_rot_thresh
),
console
[
_0x162bcb
(
0xb8
)](
_0x1a4856
),
faceRotaiton
(),
skyid_fa_face_angle_inc
+=
0x1
,
!
[];
let
_0x569658
=
checkInCercle
(
_0x4bd13d
);
if
(
_0x569658
[
0x0
]
==
_0x162bcb
(
0xfd
))
return
skyid_fa_face_out_inc
+=
0x1
,
_0x569658
[
0x1
]
==
_0x162bcb
(
0xf1
)?(
arrowRight
(),
setTimeout
(
function
(){
const
_0x53dd73
=
_0x162bcb
;
document
[
_0x53dd73
(
0x107
)](
_0x53dd73
(
0xaa
))[
_0x53dd73
(
0x10f
)]
=
''
;},
0x3e8
)):(
arrowLeft
(),
setTimeout
(
function
(){
const
_0x5d1d9a
=
_0x162bcb
;
document
[
_0x5d1d9a
(
0x107
)](
'
arrow_l
'
)[
_0x5d1d9a
(
0x10f
)]
=
''
;},
0x3e8
)),
_0x569658
[
0x2
]
==
_0x162bcb
(
0xf4
)?(
arrow_b
(),
setTimeout
(
function
(){
const
_0x4d0033
=
_0x162bcb
;
document
[
_0x4d0033
(
0x107
)](
_0x4d0033
(
0xbc
))[
_0x4d0033
(
0x10f
)]
=
''
;},
0x1f4
)):(
arrowTop
(),
setTimeout
(
function
(){
const
_0x12d837
=
_0x162bcb
;
document
[
_0x12d837
(
0x107
)](
_0x12d837
(
0xc8
))[
_0x12d837
(
0x10f
)]
=
''
;},
0x1f4
)),
!
[];
const
_0xe7a3a2
=
skyid_fa_video
[
'
videoWidth
'
]
/
0x8
;
if
(
_0xe7a3a2
>
_0x4bd13d
[
0x2
])
return
skyid_fa_face_far_inc
+=
0x1
,
plus
(),
!
[];}
return
clearAnimation
(),
!!
[];}
function
skyid_fa_wait_clear_warning
(){
setTimeout
(()
=>
{
const
_0x3dc31d
=
_0x4701
;
_0x58b3ca
(
_0x3dc31d
(
0xef
))[
_0x3dc31d
(
0xf6
)](
0x1f4
,
function
(){
const
_0x548123
=
_0x3dc31d
,
_0x4942c7
=
document
[
'
getElementById
'
](
_0x548123
(
0xbe
)),
_0x27b81d
=
_0x4942c7
[
'
getContext
'
](
'
2d
'
);
_0x27b81d
[
_0x548123
(
0xee
)](
0x0
,
0x0
,
_0x4942c7
[
_0x548123
(
0xf0
)],
_0x4942c7
[
_0x548123
(
0x133
)]),
_0x58b3ca
(
'
#skyid_fa_canvas_warning
'
)[
_0x548123
(
0xfe
)]();});},
0xbb8
);}
function
skyid_fa_init_warning_vars
(){
skyid_fa_face_out_inc
=
0x0
,
skyid_fa_face_far_inc
=
0x0
,
skyid_fa_face_spoof_inc
=
0x0
,
skyid_fa_face_angle_inc
=
0x0
,
skyid_fa_face_not_detected_inc
=
0x0
,
skyid_fa_face_multiple_inc
=
0x0
;}
function
skyid_fa_check_face_position_display_warning
(){
skyid_fa_face_multiple_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x5
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_not_detected_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x4
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_out_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x0
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_far_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x1
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_angle_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x3
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
());}
function
skyid_fa_interupt_loop
(){
skyid_fa_timer
!=
null
&&
clearInterval
(
skyid_fa_timer
),
skyid_fa_timer
=
null
;}
function
skyid_fa_did_end_with_timeOut
(
_0x359142
){
const
_0x1a9314
=
_0x57c7f1
;
skyid_fa_frame_inc
>
skyid_fa_frame_nbr_time_out
&&
(
skyid_fa_interupt_loop
(),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x1a9314
(
0x104
)](),
_0x359142
(),
clearAnimation
());}
function
skyid_fa_did_end_with_success
(
_0x7a262c
){
skyid_fa_check_inc
>
skyid_fa_nbr_valid_check
&&
(
skyid_fa_interupt_loop
(),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
hide
'
](),
skyid_fa_check_api_jeton_var
&&
(
skyid_fa_check_api_jeton_var
=!
[],
clearAnimation
(),
_0x7a262c
(
skyid_fa_selected_frame
)));}
async
function
loadFromLocalStorage
(){
const
_0x2a0182
=
_0x57c7f1
;
skyid_fa_jeton_var
=
JSON
[
'
parse
'
](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xa8
))),
console
[
_0x2a0182
(
0xb8
)](
_0x2a0182
(
0xa8
)),
console
[
_0x2a0182
(
0xb8
)](
skyid_fa_jeton_var
);
if
(
skyid_fa_jeton_var
){
skyid_fa_time_freq
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xb4
))),
skyid_fa_exec_time_ms
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
'
skyid_fa_exec_time_ms
'
))
*
0x3e8
,
skyid_fa_frame_nbr_time_out
=
skyid_fa_exec_time_ms
/
skyid_fa_time_freq
,
skyid_fa_class_thresh
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xe7
))),
skyid_fa_face_det_thresh
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xde
))),
skyid_fa_face_rot_thresh
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xc6
))),
skyid_fa_nbr_valid_check
=
JSON
[
'
parse
'
](
localStorage
[
_0x2a0182
(
0xdb
)](
'
skyid_fa_nbr_valid_check
'
)),
skyid_fa_warning_timer
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0x137
))),
skyid_fa_bins_repo
=
JSON
[
_0x2a0182
(
0xf2
)](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xcc
))),
skyid_fa_frame_check_api
=
JSON
[
'
parse
'
](
localStorage
[
_0x2a0182
(
0xdb
)](
_0x2a0182
(
0xc5
)));
try
{
await
skyid_fa_setup_engines
(
skyid_fa_bins_repo
);}
catch
(
_0x16d256
){
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_alert_text
)[
_0x2a0182
(
0x101
)](
message_variables
[
_0x2a0182
(
0x11e
)]);}}
else
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_alert_text
)[
_0x2a0182
(
0x101
)](
message_variables
[
'
skyid_fa_sdk_access_error_message
'
]);}
async
function
skyid_fa_setup_success_imp
(
_0x12320a
){
const
_0xe20e09
=
_0x57c7f1
;
skyid_fa_jeton_var
=!!
[],
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0xa8
),
JSON
[
_0xe20e09
(
0xc3
)](
skyid_fa_jeton_var
)),
console
[
_0xe20e09
(
0xb8
)](
_0xe20e09
(
0x135
),
_0x12320a
),
localStorage
[
'
setItem
'
](
'
skyid_fa_time_freq
'
,
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xb4
)])),
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0xfb
),
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xfb
)])),
localStorage
[
'
setItem
'
](
'
skyid_fa_class_thresh
'
,
JSON
[
'
stringify
'
](
_0x12320a
[
_0xe20e09
(
0xe7
)])),
localStorage
[
_0xe20e09
(
0xc0
)](
'
skyid_fa_face_det_thresh
'
,
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xde
)])),
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0xc6
),
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xc6
)])),
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0x116
),
JSON
[
'
stringify
'
](
_0x12320a
[
'
skyid_fa_nbr_valid_check
'
])),
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0x137
),
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0x137
)])),
localStorage
[
'
setItem
'
](
_0xe20e09
(
0xcc
),
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xcc
)])),
localStorage
[
_0xe20e09
(
0xc0
)](
_0xe20e09
(
0xc5
),
JSON
[
_0xe20e09
(
0xc3
)](
_0x12320a
[
_0xe20e09
(
0xc5
)])),
await
loadFromLocalStorage
();}
function
skyid_fa_init_sdk
(
_0x315f0d
){
skyid_fa_setup_success_imp
(
_0x315f0d
);}
async
function
skyid_fa_setup_sdk
(){
const
_0x5720f8
=
_0x57c7f1
;
await
loadFromLocalStorage
(),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
'
hide
'
](),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x5720f8
(
0x101
)](
message_variables
[
'
skyid_fa_face_start_message
'
]),
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x5720f8
(
0xfe
)](),
skyid_fa_video
=
document
[
_0x5720f8
(
0x107
)](
_0x5720f8
(
0xab
)),
skyid_fa_canvas_output
=
document
[
_0x5720f8
(
0x107
)](
'
skyid_fa_canvas_output
'
),
skyid_fa_canvas_output_ctx
=
skyid_fa_canvas_output
[
_0x5720f8
(
0xa3
)](
'
2d
'
),
skyid_fa_start_camera
();}
function
skyid_fa_stop_webcam
(){
const
_0x2735bd
=
_0x57c7f1
;
skyid_fa_video
[
'
srcObject
'
][
_0x2735bd
(
0xf5
)]()[
0x0
][
_0x2735bd
(
0xda
)]();}
function
skyid_fa_start_face_scan
(
_0x313c48
,
_0x5d624d
){
const
_0x154370
=
_0x57c7f1
;
_0x58b3ca
(
'
#face
'
)[
'
hide
'
](),
clearInterval
(
skyid_interval
),
document
[
_0x154370
(
0x107
)](
_0x154370
(
0x102
))[
'
style
'
][
_0x154370
(
0x123
)]
=
_0x154370
(
0x132
),
document
[
'
getElementById
'
](
'
face
'
)[
_0x154370
(
0x10f
)]
=
''
,
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x154370
(
0x104
)](),
console
[
'
log
'
](
skyid_fa_class_thresh
),
console
[
_0x154370
(
0xb8
)](
skyid_fa_face_det_thresh
),
console
[
'
log
'
](
skyid_fa_face_rot_thresh
),
console
[
'
log
'
](
skyid_fa_nbr_valid_check
),
console
[
'
log
'
](
skyid_fa_warning_timer
),
skyid_fa_jeton_var
?(
skyid_fa_interupt_loop
(),
skyid_fa_init_warning_vars
(),
skyid_fa_check_inc
=
0x0
,
skyid_fa_frame_inc
=
0x0
,
skyid_fa_best_frame_score
=
0x0
,
skyid_fa_selected_frame
=
null
,
skyid_fa_check_api_jeton_var
=!!
[],
skyid_fa_timer
=
setInterval
(
async
()
=>
{
const
_0x37d098
=
_0x154370
,
_0x3a213d
=
skyid_fa_getFrame
(),
_0x23aab8
=
await
skyid_fa_detectFaces
(
_0x3a213d
),
_0x3b5157
=
skyid_fa_check_face_position
(
_0x23aab8
);
if
(
_0x3b5157
){
hand
();
const
_0x549f99
=
_0x23aab8
[
0x0
][
'
score
'
],
_0x3a806c
=
_0x23aab8
[
0x0
][
_0x37d098
(
0xcb
)];
if
(
!!
[]){
_0x58b3ca
(
'
#
'
+
skyid_fa_sdk_text_info
)[
_0x37d098
(
0x119
)]();
const
skyid_fa_classifier_score
=
0x1
;
_0x549f99
>
skyid_fa_face_det_thresh
&&
skyid_fa_best_frame_score
<=
_0x549f99
&&
(
skyid_fa_best_frame_score
=
_0x549f99
,
skyid_fa_selected_frame
=
_0x3a213d
),
skyid_fa_check_progress
(
skyid_fa_classifier_score
),
skyid_fa_did_end_with_success
(
_0x313c48
);}}
skyid_fa_did_end_with_timeOut
(
_0x5d624d
),
skyid_fa_check_face_position_display_warning
();},
skyid_fa_time_freq
)):(
skyid_fa_stop_webcam
(),
alert
(
message_variables
[
_0x154370
(
0xf3
)]));}
function
skyid_fa_crop_document_face
(
_0x4e60de
,
_0x1fbc40
){
const
_0x5b738e
=
_0x57c7f1
;
let
_0x62dce2
=
0x1e
;
const
_0x2be554
=
[
_0x4e60de
[
0x0
]
-
_0x62dce2
,
_0x4e60de
[
0x1
]
-
_0x62dce2
],
_0x4c2ad8
=
[
_0x4e60de
[
0x2
]
+
0x2
*
_0x62dce2
,
_0x4e60de
[
0x3
]
+
0x2
*
_0x62dce2
],
_0x6e5c9d
=
document
[
'
createElement
'
](
'
canvas
'
);
_0x6e5c9d
[
_0x5b738e
(
0x133
)]
=
_0x4c2ad8
[
0x1
],
_0x6e5c9d
[
_0x5b738e
(
0xf0
)]
=
_0x4c2ad8
[
0x0
];
const
_0x1f0545
=
_0x6e5c9d
[
_0x5b738e
(
0xa3
)](
'
2d
'
);
return
_0x1f0545
[
_0x5b738e
(
0x11f
)](
_0x1fbc40
,
_0x2be554
[
0x0
],
_0x2be554
[
0x1
],
_0x4c2ad8
[
0x0
],
_0x4c2ad8
[
0x1
],
0x0
,
0x0
,
_0x4c2ad8
[
0x0
],
_0x4c2ad8
[
0x1
]),
_0x6e5c9d
;}
async
function
get_face_from_document
(
_0x1c7904
){
const
_0xc57362
=
_0x57c7f1
,
_0x2ab44d
=
await
skyid_fa_detectFaces
(
_0x1c7904
);
console
[
'
log
'
](
_0x2ab44d
);
if
(
_0x2ab44d
[
_0xc57362
(
0x111
)]
>
0x0
){
var
_0x3fc1be
=
_0x2ab44d
[
0x0
];
_0x2ab44d
[
_0xc57362
(
0xb7
)](
_0x449965
=>
{
const
_0x518226
=
_0xc57362
;
_0x449965
[
'
box
'
][
0x2
]
>
_0x3fc1be
[
_0x518226
(
0xcb
)][
0x2
]
&&
(
_0x3fc1be
=
_0x449965
);});
if
(
_0x3fc1be
[
'
score
'
]
>
0.3
)
return
skyid_fa_crop_document_face
(
_0x3fc1be
[
'
box
'
],
_0x1c7904
);}
return
null
;}
export
{
skyid_fa_setup_sdk
,
skyid_fa_start_face_scan
,
skyid_component
,
skyid_fa_stop_webcam
,
skyid_fa_init_sdk
,
get_face_from_document
,
slideDown
,
slideUp
,
offset
,
css
,
html
,
fadeIn
,
fadeOut
,
hide
,
show
,
message_variables
};
\ No newline at end of file
const
_0x2312bb
=
_0xa8f9
;(
function
(
_0x243f5e
,
_0x318321
){
const
_0x4c0006
=
_0xa8f9
,
_0xb8a2ff
=
_0x243f5e
();
while
(
!!
[]){
try
{
const
_0x2d278e
=-
parseInt
(
_0x4c0006
(
0x199
))
/
0x1
+-
parseInt
(
_0x4c0006
(
0x153
))
/
0x2
*
(
parseInt
(
_0x4c0006
(
0x1a7
))
/
0x3
)
+
parseInt
(
_0x4c0006
(
0x1be
))
/
0x4
*
(
-
parseInt
(
_0x4c0006
(
0x1ae
))
/
0x5
)
+-
parseInt
(
_0x4c0006
(
0x1c8
))
/
0x6
*
(
parseInt
(
_0x4c0006
(
0x166
))
/
0x7
)
+-
parseInt
(
_0x4c0006
(
0x17a
))
/
0x8
+
parseInt
(
_0x4c0006
(
0x14d
))
/
0x9
*
(
parseInt
(
_0x4c0006
(
0x18c
))
/
0xa
)
+
parseInt
(
_0x4c0006
(
0x159
))
/
0xb
;
if
(
_0x2d278e
===
_0x318321
)
break
;
else
_0xb8a2ff
[
'
push
'
](
_0xb8a2ff
[
'
shift
'
]());}
catch
(
_0x2c2ca9
){
_0xb8a2ff
[
'
push
'
](
_0xb8a2ff
[
'
shift
'
]());}}}(
_0x55f1
,
0x793ed
));
import
_0x296a17
from
'
./Human
'
;
let
message_variables
=
{
'
skyid_fa_sdk_access_error_message
'
:
''
,
set
'
access_err
'
(
_0x2fae0e
){
const
_0x4df3e9
=
_0xa8f9
;
this
[
_0x4df3e9
(
0x164
)]
=
_0x2fae0e
;},
'
skyid_fa_sdk_loading_error_message
'
:
''
,
set
'
loading_err
'
(
_0x76951f
){
this
[
'
skyid_fa_sdk_loading_error_message
'
]
=
_0x76951f
;},
'
skyid_fa_sdk_network_error_message
'
:
''
,
set
'
network_err
'
(
_0x5c904f
){
const
_0x2693bb
=
_0xa8f9
;
this
[
_0x2693bb
(
0x1c2
)]
=
_0x5c904f
;},
'
skyid_fa_sdk_camera_error_message
'
:
''
,
set
'
camer_err
'
(
_0x440aa6
){
const
_0x49da32
=
_0xa8f9
;
this
[
_0x49da32
(
0x198
)]
=
_0x440aa6
;},
'
skyid_fa_face_start_message
'
:
''
,
set
'
face_start
'
(
_0x1aef0c
){
const
_0x36b819
=
_0xa8f9
;
this
[
_0x36b819
(
0x16f
)]
=
_0x1aef0c
;},
'
skyid_fa_face_loading_message
'
:
''
,
set
'
face_loading
'
(
_0x5e087e
){
this
[
'
skyid_fa_face_loading_message
'
]
=
_0x5e087e
;},
'
skyid_fa_mul_face_warning_msg
'
:
''
,
set
'
face_warning
'
(
_0x22f1e2
){
const
_0x52cfb7
=
_0xa8f9
;
this
[
_0x52cfb7
(
0x1bd
)]
=
_0x22f1e2
;}};
const
skyid_fa_sdk_msg_container
=
_0x2312bb
(
0x163
),
skyid_fa_sdk_video_container
=
'
skyid_fa_container
'
,
skyid_fa_sdk_alert_text
=
_0x2312bb
(
0x1b5
),
skyid_fa_sdk_spinner
=
_0x2312bb
(
0x13c
),
skyid_fa_sdk_error_icon
=
'
skyid_fa_error_icon
'
,
skyid_fa_sdk_success_icon
=
_0x2312bb
(
0x135
),
skyid_fa_sdk_text_info
=
_0x2312bb
(
0x17d
);
let
skyid_fa_video
=
null
,
skyid_fa_engine_backend
=
_0x2312bb
(
0x14e
),
skyid_fa_detector
=
null
,
skyid_fa_classifier
=
null
,
skyid_fa_time_freq
=
0x1f4
,
skyid_fa_exec_time_ms
=
0x5
*
0x3e8
,
skyid_fa_frame_nbr_time_out
=
0x0
,
skyid_fa_class_thresh
=
0.5
,
skyid_fa_face_det_thresh
=
0.5
,
skyid_fa_face_rot_thresh
=
0x0
,
skyid_fa_nbr_valid_check
=
0x2
,
skyid_fa_warning_timer
=
0x0
,
skyid_fa_bins_repo
=
''
,
skyid_fa_frame_check_api
=
''
;
var
skyid_fa_timer
=
null
;
let
skyid_fa_canvas_output
=
null
,
skyid_fa_canvas_output_ctx
=
null
;
const
skyid_fa_canvas_output_font
=
_0x2312bb
(
0x141
);
var
skyid_fa_check_inc
=
0x0
,
skyid_fa_frame_inc
=
0x0
,
skyid_fa_best_frame_score
=
0x0
,
skyid_fa_jeton_var
=!
[],
skyid_fa_check_api_jeton_var
=!
[],
skyid_fa_selected_frame
,
skyid_fa_face_out_inc
=
0x0
,
skyid_fa_face_far_inc
=
0x0
,
skyid_fa_face_spoof_inc
=
0x0
,
skyid_fa_face_angle_inc
=
0x0
,
skyid_fa_face_not_detected_inc
=
0x0
,
skyid_fa_face_multiple_inc
=
0x0
,
skyid_fa_face_pos_marge_x
=
0x0
,
skyid_fa_face_pos_marge_y
=
0x0
,
skyid_interval
,
realWidth
,
realHeight
,
elps_rx
;
function
show
(
_0x4773a7
){
const
_0x5af35d
=
_0x2312bb
;
let
_0x6f26f1
=
document
[
'
querySelector
'
](
_0x4773a7
);
_0x6f26f1
[
'
style
'
][
_0x5af35d
(
0x16e
)]
=
_0x5af35d
(
0x183
);}
function
hide
(
_0x52c955
){
const
_0x531c41
=
_0x2312bb
;
let
_0xd18c93
=
document
[
'
querySelector
'
](
_0x52c955
);
_0xd18c93
[
_0x531c41
(
0x1a8
)][
_0x531c41
(
0x16e
)]
=
_0x531c41
(
0x165
);}
function
fadeOut
(
_0x2a2463
,
_0x18e58e
){
const
_0x4fa29d
=
_0x2312bb
;
let
_0x4e4fd1
=
document
[
_0x4fa29d
(
0x185
)](
_0x2a2463
);
_0x4e4fd1
[
_0x4fa29d
(
0x1a8
)][
_0x4fa29d
(
0x19c
)]
=
0x1
;
let
_0x2d97d9
=
0x1
,
_0x520027
=
setInterval
(
function
(){
const
_0x2746f7
=
_0x4fa29d
;
_0x2d97d9
-=
0.1
,
_0x4e4fd1
[
_0x2746f7
(
0x1a8
)][
'
opacity
'
]
=
_0x2d97d9
,
_0x2d97d9
<=
0x0
&&
(
clearInterval
(
_0x520027
),
_0x4e4fd1
[
'
style
'
][
'
display
'
]
=
'
none
'
);},
_0x18e58e
);}
function
fadeIn
(
_0x439be6
,
_0x54b092
){
const
_0x5f5926
=
_0x2312bb
;
let
_0x336bbc
=
document
[
_0x5f5926
(
0x185
)](
_0x439be6
);
_0x336bbc
[
_0x5f5926
(
0x1a8
)][
_0x5f5926
(
0x19c
)]
=
0x0
,
_0x336bbc
[
_0x5f5926
(
0x1a8
)][
_0x5f5926
(
0x16e
)]
=
_0x5f5926
(
0x183
);
let
_0xde8c6f
=
0x0
;
const
_0x33255f
=
setInterval
(
function
(){
const
_0x14be22
=
_0x5f5926
;
_0xde8c6f
+=
0.1
,
_0x336bbc
[
_0x14be22
(
0x1a8
)][
_0x14be22
(
0x19c
)]
=
_0xde8c6f
[
_0x14be22
(
0x152
)](),
_0xde8c6f
>=
0x1
&&
clearInterval
(
_0x33255f
);},
_0x54b092
);}
function
html
(
_0x178110
,
_0x4efb0e
){
const
_0x20a53d
=
_0x2312bb
;
let
_0x198d9f
=
document
[
_0x20a53d
(
0x185
)](
_0x178110
);
_0x198d9f
[
_0x20a53d
(
0x134
)]
=
_0x4efb0e
;}
async
function
css
(
_0x2f7356
,
_0x44534d
,
_0x446f18
){
const
_0xeaf00b
=
_0x2312bb
;
let
_0xcd3bb3
=
_0xeaf00b
(
0x169
)
+
_0x2f7356
+
_0xeaf00b
(
0x1c3
)
+
_0x44534d
+
'
=
\
x27
'
+
_0x446f18
+
'
\
x27
'
;
const
_0x4b5de0
=
new
Function
(
_0xcd3bb3
);
await
_0x4b5de0
();}
async
function
cssMultiple
(
_0x2c6ce0
,...
_0x355868
){
const
_0xec0c46
=
_0x2312bb
;
var
_0xc37664
=
[],
_0x150183
=
[];
for
(
let
_0x2b2854
=
0x0
;
_0x2b2854
<
_0x355868
[
'
length
'
];
_0x2b2854
++
){
if
(
_0x2b2854
%
0x2
===
0x0
)
_0xc37664
[
_0xec0c46
(
0x17b
)](
_0x355868
[
_0x2b2854
]);
else
{
if
(
_0x2b2854
%
0x2
!=
0x0
)
_0x150183
[
'
push
'
](
_0x355868
[
_0x2b2854
]);}}
let
_0x20e60c
=
_0xec0c46
(
0x169
)
+
_0x2c6ce0
+
_0xec0c46
(
0x13f
);
for
(
let
_0x3357ed
=
0x0
;
_0x3357ed
<
_0x355868
[
'
length
'
]
/
0x2
;
_0x3357ed
++
){
_0x20e60c
+=
_0xec0c46
(
0x133
)
+
_0xc37664
[
_0x3357ed
]
+
'
=
\
x27
'
+
_0x150183
[
_0x3357ed
]
+
'
\
x27;
'
;}
const
_0x5855c5
=
new
Function
(
_0x20e60c
);
await
_0x5855c5
();}
function
offset
(
_0x1ea158
){
const
_0x299350
=
_0x2312bb
;
let
_0x3554fc
=
document
[
_0x299350
(
0x185
)](
_0x1ea158
);
const
_0x349c88
=
_0x3554fc
[
_0x299350
(
0x17c
)](),
_0x2505ed
=
window
[
'
scrollY
'
]
||
window
[
_0x299350
(
0x15c
)],
_0x9a0614
=
window
[
_0x299350
(
0x161
)]
||
window
[
'
pageXOffset
'
],
offset
=
{
'
top
'
:
_0x349c88
[
_0x299350
(
0x177
)]
+
_0x2505ed
,
'
left
'
:
_0x349c88
[
'
left
'
]
+
_0x9a0614
};
return
offset
;}
function
_0x55f1
(){
const
_0x37da3c
=
[
'
log
'
,
'
toString
'
,
'
1869328DyYgjf
'
,
'
absolute
'
,
'
offsetHeight
'
,
'
px
\
x20!important;width:
'
,
'
detect
'
,
'
down
'
,
'
40825884aKqoHs
'
,
'
#arrow_r
'
,
'
px
\
x22
\
x20height=
\
x22
'
,
'
pageYOffset
'
,
'
videoWidth
'
,
'
<svg
\
x20id=
\
x22arrow-left
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:48%;
\
x20left:
\
x2035%;
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M7.828
\
x2011H20v2H7.828l5.364
\
x205.364-1.414
\
x201.414L4
\
x2012l7.778-7.778
\
x201.414
\
x201.414z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:73%;
\
x20left:
\
x2047%;
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M13
\
x2016.172l5.364-5.364
\
x201.414
\
x201.414L12
\
x2020l-7.778-7.778
\
x201.414-1.414L11
\
x2016.172V4h2v12.172z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
,
'
data:image/jpeg;base64,
'
,
'
scrollX
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:22%;
\
x20left:
\
x2047%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M13
\
x207.828V20h-2V7.828l-5.364
\
x205.364-1.414-1.414L12
\
x204l7.778
\
x207.778-1.414
\
x201.414L13
\
x207.828z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
,
'
skyid_fa_msg_container
'
,
'
skyid_fa_sdk_access_error_message
'
,
'
none
'
,
'
41300BFxvlr
'
,
'
strokeRect
'
,
'
getContext
'
,
'
let
\
x20item
\
x20=
\
x20document.querySelector(
\
x27
'
,
'
px
\
x22
\
x20style=
\
x22object-fit:
\
x20cover;
\
x20width:100%
\
x20!important;
\
x20-moz-transform:rotateY(180deg)
\
x20!important;
\
x20transform:
\
x20rotateY(180deg)
\
x20!important;
\
x20-webkit-transform:rotateY(180deg)
\
x20!important;
\
x20transform:rotateY(180deg)
\
x20!important;
\
x20height:100%
\
x20!important;
\
x22
\
x20autoplay
\
x20muted
\
x20playsinline></video>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20width=
\
x22640
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20height=
\
x22480
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20className=
\
x22svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20id=
\
x22skyid_fa_canvas_overlay
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20version=
\
x221.1
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20xmlnsXlink=
\
x22http://www.w3.org/1999/xlink
\
x22
\
x20style=
\
x22width:100%
\
x20!important;
\
x20top:0%
\
x20!important;
\
x20position:
\
x20absolute
\
x20!important;
\
x20height:100%
\
x20!important;
\
x20display:
\
x20none
\
x20!important;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<!--
\
x20<defs
\
x20width=
\
x22340
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M25,2
\
x20L2,2
\
x20L2,25
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.9)
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M2,75
\
x20L2,98
\
x20L25,98
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M75,98
\
x20L98,98
\
x20L98,75
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M98,25
\
x20L98,2
\
x20L75,2
\
x22
\
x20fill=
\
x22none
\
x22
\
x20stroke=
\
x22black
\
x22
\
x20stroke-width=
\
x223
\
x22
\
x20/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</defs>
\
x20-->
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<defs>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<mask
\
x20id=
\
x22overlay-mask
\
x22
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<rect
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22
\
x20fill=
\
x22#fff
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<ellipse
\
x20id=
\
x22ellipse-mask
\
x22
\
x20cx=
\
x2250%
\
x22
\
x20cy=
\
x2250%
\
x22
\
x20rx=
\
x22
'
,
'
stringify
'
,
'
srcObject
'
,
'
#light
'
,
'
display
'
,
'
skyid_fa_face_start_message
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22
\
x20viewBox=
\
x220
\
x200
\
x20512
\
x20512
\
x22><path
\
x20d=
\
x22M464
\
x2016c-17.67
\
x200-32
\
x2014.31-32
\
x2032v74.09C392.1
\
x2066.52
\
x20327.4
\
x2032
\
x20256
\
x2032C161.5
\
x2032
\
x2078.59
\
x2092.34
\
x2049.58
\
x20182.2c-5.438
\
x2016.81
\
x203.797
\
x2034.88
\
x2020.61
\
x2040.28c16.89
\
x205.5
\
x2034.88-3.812
\
x2040.3-20.59C130.9
\
x20138.5
\
x20189.4
\
x2096
\
x20256
\
x2096c50.5
\
x200
\
x2096.26
\
x2024.55
\
x20124.4
\
x2064H336c-17.67
\
x200-32
\
x2014.31-32
\
x2032s14.33
\
x2032
\
x2032
\
x2032h128c17.67
\
x200
\
x2032-14.31
\
x2032-32V48C496
\
x2030.31
\
x20481.7
\
x2016
\
x20464
\
x2016zM441.8
\
x20289.6c-16.92-5.438-34.88
\
x203.812-40.3
\
x2020.59C381.1
\
x20373.5
\
x20322.6
\
x20416
\
x20256
\
x20416c-50.5
\
x200-96.25-24.55-124.4-64H176c17.67
\
x200
\
x2032-14.31
\
x2032-32s-14.33-32-32-32h-128c-17.67
\
x200-32
\
x2014.31-32
\
x2032v144c0
\
x2017.69
\
x2014.33
\
x2032
\
x2032
\
x2032s32-14.31
\
x2032-32v-74.09C119.9
\
x20445.5
\
x20184.6
\
x20480
\
x20255.1
\
x20480c94.45
\
x200
\
x20177.4-60.34
\
x20206.4-150.2C467.9
\
x20313
\
x20458.6
\
x20294.1
\
x20441.8
\
x20289.6z
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/></svg>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
'
,
'
skyid_fa_webcame
'
,
'
left
'
,
'
skyid_fa_bins_repo
'
,
'
face_rotation
'
,
'
box
'
,
'
hand
'
,
'
top
'
,
'
%
\
x22
\
x20ry=
\
x2230%
\
x22
\
x20
\
x20stroke=
\
x22purple
\
x22
\
x20stroke-width=
\
x2210
\
x22
\
x20/>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</mask>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</defs>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<rect
\
x20x=
\
x220
\
x22
\
x20y=
\
x220
\
x22
\
x20width=
\
x22100%
\
x22
\
x20height=
\
x22100%
\
x22
\
x20mask=
\
x22url(#overlay-mask)
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face_recognition
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face
\
x22>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22face_rotation
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_t
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_b
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_l
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22arrow_r
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22hand
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22light
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<!--
\
x20<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M11
\
x2011V5h2v6h6v2h-6v6h-2v-6H5v-2z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)
\
x22/></svg>
\
x20-->
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22plus
\
x22
\
x20></div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<canvas
\
x20id=
\
x22skyid_fa_canvas_output
\
x22
\
x20style=
\
x22position:
\
x20absolute;top:
\
x200%
\
x20!important;left:
\
x200%
\
x20!important;width:
\
x20640px
\
x20!important;height:
\
x20480px
\
x20!important;
\
x22>
\
x20</canvas>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<canvas
\
x20id=
\
x22skyid_fa_canvas_warning
\
x22
\
x20style=
\
x22position:
\
x20absolute;top:
\
x200%
\
x20!important;left:
\
x200%
\
x20!important;width:
\
x20640px
\
x20!important;height:
\
x20480px
\
x20!important;
\
x22>
\
x20</canvas>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_msg_container
\
x22
\
x20align=
\
x22center
\
x22
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20style=
\
x22height:
'
,
'
setItem
'
,
'
7453064YGZbyw
'
,
'
push
'
,
'
getBoundingClientRect
'
,
'
skyid_fa_text_indicator
'
,
'
skyid_fa_face_rot_thresh
'
,
'
position
'
,
'
moz-webgl
'
,
'
Rotation
'
,
'
999
'
,
'
block
'
,
'
skyid_fa_warning_timer
'
,
'
querySelector
'
,
'
right
'
,
'
skyid_fa_sdk_loading_error_message
'
,
'
forEach
'
,
'
charCodeAt
'
,
'
arrow_t
'
,
'
replace
'
,
'
4940vkZMZX
'
,
'
getUserMedia
'
,
'
arrow_r
'
,
'
getItem
'
,
'
max
'
,
'
arrow_l
'
,
'
backgroundColor
'
,
'
canvas
'
,
'
offsetWidth
'
,
'
experimental-webgl
'
,
'
Your
\
x20screen
\
x20resolution
\
x20is:
\
x20
'
,
'
getElementById
'
,
'
skyid_fa_sdk_camera_error_message
'
,
'
496639OqYZIO
'
,
'
#skyid_fa_canvas_overlay
'
,
'
stop
'
,
'
opacity
'
,
'
0px
'
,
'
min
'
,
'
skyid_fa_nbr_valid_check
'
,
'
toDataURL
'
,
'
skyid_fa_class_thresh
'
,
'
yaw
'
,
'
image/jpeg
'
,
'
atob
'
,
'
height
'
,
'
rotation
'
,
'
3fdoyAt
'
,
'
style
'
,
'
#skyid_fa_canvas_warning
'
,
'
webgl
'
,
'
000
'
,
'
videoHeight
'
,
'
\
x20x
\
x20
'
,
'
223135FTfBzX
'
,
'
parse
'
,
'
width
'
,
'
light
'
,
'
#arrow_t
'
,
'
skyid_fa_time_freq
'
,
'
getTracks
'
,
'
skyid_fa_alert_text
'
,
'
drawImage
'
,
'
getParameter
'
,
'
catch
'
,
'
\
x0a<div
\
x20id=
\
x22skyid_fa_scanning_fragement
\
x22
\
x20style=
\
x22position:
\
x20relative;width:
\
x20fit-content;
\
x22
\
x20align=
\
x22center
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_container
\
x22
\
x20align=
\
x22center
\
x22
\
x20style=
\
x22height:
'
,
'
clearRect
'
,
'
#arrow_l
'
,
'
face
'
,
'
skyid_fa_mul_face_warning_msg
'
,
'
28GRKkSS
'
,
'
#plus
'
,
'
skyid_fa_canvas_warning
'
,
'
createElement
'
,
'
skyid_fa_sdk_network_error_message
'
,
'
\
x27);item.style.
'
,
'
arrow_b
'
,
'
px;
\
x20background:
\
x20white;z-index:
\
x205;
\
x22>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x20id=
\
x22skyid_fa_success_icon
\
x22
\
x20class=
\
x22checkmark
\
x20marging_top_50
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2052
\
x2052
\
x22
\
x20style=
\
x22display:
\
x20none;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<circle
\
x20class=
\
x22checkmark__circle
\
x22
\
x20cx=
\
x2226
\
x22
\
x20cy=
\
x2226
\
x22
\
x20r=
\
x2225
\
x22
\
x20fill=
\
x22none
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20class=
\
x22checkmark__check
\
x22
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M14.1
\
x2027.2l7.1
\
x207.2
\
x2016.7-16.8
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</svg>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_error_icon
\
x22></div>
\
x0a
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20class=
\
x22text_container
\
x20marging_top_20
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<h3
\
x20id=
\
x22skyid_fa_alert_text
\
x22
\
x20style=
\
x22text-align:center;font-family:
\
x20Arial,
\
x20Helvetica,
\
x20sans-serif;
\
x22></h3>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<div
\
x20id=
\
x22skyid_fa_spinner
\
x22
\
x20align=
\
x22center
\
x22
\
x20style=
\
x22width:20%;height:20%;margin:10%;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<svg
\
x20align=
\
x22center
\
x22
\
x20
\
x20width=
\
x22500
\
x22
\
x20height=
\
x22500
\
x22
\
x20viewBox=
\
x220
\
x200
\
x20104
\
x20104
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22><path
\
x20d=
\
x22M12,23a9.63,9.63,0,0,1-8-9.5,9.51,9.51,0,0,1,6.79-9.1A1.66,1.66,0,0,0,12,2.81h0a1.67,1.67,0,0,0-1.94-1.64A11,11,0,0,0,12,23Z
\
x22><animateTransform
\
x20attributeName=
\
x22transform
\
x22
\
x20type=
\
x22rotate
\
x22
\
x20dur=
\
x220.75s
\
x22
\
x20values=
\
x220
\
x2012
\
x2012;360
\
x2012
\
x2012
\
x22
\
x20repeatCount=
\
x22indefinite
\
x22/></path></svg>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20</div>
\
x0a
\
x0a</div>
\
x0a<div
\
x20>
\
x0a
\
x0a</div>
\
x0a
'
,
'
overflow
'
,
'
abs
'
,
'
942fnmPmG
'
,
'
buffer
'
,
'
item.style.
'
,
'
innerHTML
'
,
'
skyid_fa_success_icon
'
,
'
strokeStyle
'
,
'
blue
'
,
'
plus
'
,
'
100%
'
,
'
skyid_fa_canvas_output
'
,
'
then
'
,
'
skyid_fa_spinner
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M11
\
x2011V5h2v6h6v2h-6v6h-2v-6H5v-2z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)
\
x22/></svg>
'
,
'
skyid_fa_exec_time_ms
'
,
'
\
x27)
\
x20;
'
,
'
screen
'
,
'
18px
\
x20sans-serif
'
,
'
skyid_fa_frame_check_api
'
,
'
score
'
,
'
px;width:
'
,
'
function
'
,
'
#face
'
,
'
skyid_fa_face_det_thresh
'
,
'
#face_rotation
'
,
'
skyid_fa_jeton_var
'
,
'
rgb(10,236,40)
'
,
'
length
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20
\
x20viewBox=
\
x220
\
x200
\
x20512
\
x20512
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<path
\
x20d=
\
x22M480
\
x20128v208c0
\
x2097.05-78.95
\
x20176-176
\
x20176h-37.72c-53.42
\
x200-103.7-20.8-141.4-58.58l-113.1-113.1C3.906
\
x20332.5
\
x200
\
x20322.2
\
x200
\
x20312C0
\
x20290.7
\
x2017.15
\
x20272
\
x2040
\
x20272c10.23
\
x200
\
x2020.47
\
x203.906
\
x2028.28
\
x2011.72L128
\
x20343.4V64c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0729
\
x20176C192.1
\
x20248.8
\
x20199.2
\
x20256
\
x20208
\
x20256s16.07-7.164
\
x2016.07-16L224
\
x2032c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0484
\
x20208c0
\
x208.836
\
x207.111
\
x2016
\
x2015.95
\
x2016S320
\
x20248.8
\
x20320
\
x20240L320
\
x2064c0-17.67
\
x2014.33-32
\
x2032-32s32
\
x2014.33
\
x2032
\
x2032l.0729
\
x20176c0
\
x208.836
\
x207.091
\
x2016
\
x2015.93
\
x2016S416
\
x20248.8
\
x20416
\
x20240V128c0-17.67
\
x2014.33-32
\
x2032-32S480
\
x20110.3
\
x20480
\
x20128z
\
x22
\
x20fill=
\
x22rgba(255,
\
x20255,
\
x20255,
\
x20.75)
\
x22/>
\
x0a
\
x20
\
x20
\
x20
\
x20</svg>
'
,
'
7047AUyUWI
'
,
'
cpu
'
,
'
<svg
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:50%;
\
x20left:
\
x2050%;
\
x22
\
x20viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22
\
x20width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M9.973
\
x2018H11v-5h2v5h1.027c.132-1.202.745-2.194
\
x201.74-3.277.113-.122.832-.867.917-.973a6
\
x206
\
x200
\
x201
\
x200-9.37-.002c.086.107.807.853.918.974.996
\
x201.084
\
x201.609
\
x202.076
\
x201.741
\
x203.278zM10
\
x2020v1h4v-1h-4zm-4.246-5a8
\
x208
\
x200
\
x201
\
x201
\
x2012.49.002C17.624
\
x2015.774
\
x2016
\
x2017
\
x2016
\
x2018.5V21a2
\
x202
\
x200
\
x200
\
x201-2
\
x202h-4a2
\
x202
\
x200
\
x200
\
x201-2-2v-2.5C8
\
x2017
\
x206.375
\
x2015.774
\
x205.754
\
x2015z
\
x22
\
x20fill=
\
x22rgba(255,255,255,0.55)/></svg>
'
,
'
angle
'
];
_0x55f1
=
function
(){
return
_0x37da3c
;};
return
_0x55f1
();}
function
slideUp
(
_0x24de6c
,
_0x46bc34
){
const
_0x1319c4
=
_0x2312bb
;
let
_0x66a0f9
=
document
[
_0x1319c4
(
0x185
)](
_0x24de6c
);
_0x66a0f9
[
_0x1319c4
(
0x1a8
)][
'
overflow
'
]
=
'
hidden
'
;
let
_0x39cc5e
=
_0x66a0f9
[
_0x1319c4
(
0x155
)],
_0x1df0e3
=
_0x39cc5e
/
(
_0x46bc34
/
0x10
);
function
_0x2d397c
(){
const
_0x55a243
=
_0x1319c4
;
_0x39cc5e
-=
_0x1df0e3
,
_0x39cc5e
<=
0x0
?(
_0x66a0f9
[
_0x55a243
(
0x1a8
)][
_0x55a243
(
0x16e
)]
=
_0x55a243
(
0x165
),
_0x66a0f9
[
'
style
'
][
_0x55a243
(
0x1a5
)]
=
''
):(
_0x66a0f9
[
_0x55a243
(
0x1a8
)][
_0x55a243
(
0x1a5
)]
=
_0x39cc5e
+
'
px
'
,
requestAnimationFrame
(
_0x2d397c
));}
requestAnimationFrame
(
_0x2d397c
);}
function
slideDown
(
_0x5828be
,
_0xb662e
,
_0x130ea1
){
const
_0x49091c
=
_0x2312bb
;
let
_0xf89e01
=
document
[
'
querySelector
'
](
_0x5828be
);
_0xf89e01
[
'
style
'
][
_0x49091c
(
0x1a5
)]
=
_0x49091c
(
0x19d
),
_0xf89e01
[
_0x49091c
(
0x1a8
)][
_0x49091c
(
0x16e
)]
=
'
block
'
,
_0xf89e01
[
_0x49091c
(
0x1a8
)][
_0x49091c
(
0x1c6
)]
=
'
hidden
'
;
let
_0x2c21eb
=
0x0
,
_0x547df4
=
_0xb662e
/
(
_0x130ea1
/
0x10
);
function
_0xf82c75
(){
const
_0x264b99
=
_0x49091c
;
_0x2c21eb
+=
_0x547df4
,
_0x2c21eb
>=
_0xb662e
?
_0xf89e01
[
_0x264b99
(
0x1a8
)][
_0x264b99
(
0x1a5
)]
=
''
:(
_0xf89e01
[
'
style
'
][
_0x264b99
(
0x1a5
)]
=
_0x2c21eb
+
'
px
'
,
requestAnimationFrame
(
_0xf82c75
));}
requestAnimationFrame
(
_0xf82c75
);}
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i
[
'
test
'
](
navigator
[
'
userAgent
'
])?(
realWidth
=
window
[
_0x2312bb
(
0x140
)][
_0x2312bb
(
0x1b0
)],
realHeight
=
window
[
_0x2312bb
(
0x140
)][
'
height
'
]
/
0x2
,
elps_rx
=
0x14
,
console
[
_0x2312bb
(
0x151
)](
_0x2312bb
(
0x196
)
+
realWidth
+
_0x2312bb
(
0x1ad
)
+
realHeight
)):(
realWidth
=
0x280
,
realHeight
=
0x1e0
,
elps_rx
=
0xf
,
console
[
'
log
'
](
'
Your
\
x20screen
\
x20resolution
\
x20is:
\
x20
'
+
realWidth
+
_0x2312bb
(
0x1ad
)
+
realHeight
));
let
skyid_component
=
_0x2312bb
(
0x1b9
)
+
realHeight
+
_0x2312bb
(
0x156
)
+
realWidth
+
'
px;border-radius:
\
x2015px;box-shadow:
\
x20rgba(0,
\
x200,
\
x200,
\
x200.35)
\
x200px
\
x205px
\
x2015px;display:
\
x20none;
\
x22>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<span
\
x20id=
\
x22skyid_fa_text_indicator
\
x22
\
x20style=
\
x22color:
\
x20rgb(139,
\
x20139,
\
x20139)
\
x20!important;
\
x20top:3%
\
x20!important;
\
x20text-align:center
\
x20!important;font-family:
\
x20Arial,
\
x20Helvetica,
\
x20sans-serif;
\
x20z-index:99;padding:5px
\
x20!important;display:none
\
x20!important;
\
x20font-size:
\
x20large
\
x20!important;
\
x20font-weight:
\
x20700
\
x20!important;
\
x20
\
x22></span>
\
x0a
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20
\
x20<video
\
x20id=
\
x22skyid_fa_webcame
\
x22
\
x20
\
x20align=
\
x22center
\
x22
\
x20width=
\
x22
'
+
realWidth
+
_0x2312bb
(
0x15b
)
+
realHeight
+
_0x2312bb
(
0x16a
)
+
elps_rx
+
_0x2312bb
(
0x178
)
+
realHeight
+
_0x2312bb
(
0x144
)
+
realWidth
+
_0x2312bb
(
0x1c5
);
function
clearAnimation
(){
const
_0x4fe081
=
_0x2312bb
;
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x176
))[
_0x4fe081
(
0x134
)]
=
''
,
document
[
_0x4fe081
(
0x197
)](
'
hand
'
)[
_0x4fe081
(
0x1a8
)][
'
display
'
]
=
_0x4fe081
(
0x165
),
document
[
_0x4fe081
(
0x197
)](
'
arrow_t
'
)[
_0x4fe081
(
0x134
)]
=
''
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x18a
))[
_0x4fe081
(
0x1a8
)][
_0x4fe081
(
0x16e
)]
=
'
none
'
,
document
[
'
getElementById
'
](
_0x4fe081
(
0x1c4
))[
_0x4fe081
(
0x134
)]
=
''
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x1c4
))[
'
style
'
][
'
display
'
]
=
'
none
'
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x191
))[
'
innerHTML
'
]
=
''
,
document
[
_0x4fe081
(
0x197
)](
'
arrow_l
'
)[
_0x4fe081
(
0x1a8
)][
_0x4fe081
(
0x16e
)]
=
_0x4fe081
(
0x165
),
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x18e
))[
_0x4fe081
(
0x134
)]
=
''
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x18e
))[
'
style
'
][
'
display
'
]
=
'
none
'
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x1b1
))[
_0x4fe081
(
0x134
)]
=
''
,
document
[
'
getElementById
'
](
_0x4fe081
(
0x1b1
))[
'
style
'
][
_0x4fe081
(
0x16e
)]
=
'
none
'
,
document
[
_0x4fe081
(
0x197
)](
'
plus
'
)[
'
innerHTML
'
]
=
''
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x138
))[
'
style
'
][
'
display
'
]
=
_0x4fe081
(
0x165
),
document
[
_0x4fe081
(
0x197
)](
'
face_rotation
'
)[
_0x4fe081
(
0x134
)]
=
''
,
document
[
_0x4fe081
(
0x197
)](
_0x4fe081
(
0x174
))[
_0x4fe081
(
0x1a8
)][
_0x4fe081
(
0x16e
)]
=
'
none
'
;}
function
faceRotaiton
(){
const
_0x4b2144
=
_0x2312bb
;
html
(
_0x4b2144
(
0x148
),
_0x4b2144
(
0x170
)),
fadeIn
(
'
#face_rotation
'
,
0x1f4
);}
function
hand
(){
const
_0x2c92e5
=
_0x2312bb
;
html
(
'
#hand
'
,
_0x2c92e5
(
0x14c
)),
fadeIn
(
'
#hand
'
,
0x1f4
);}
function
arrowTop
(){
const
_0x3e52ff
=
_0x2312bb
;
html
(
_0x3e52ff
(
0x1b2
),
_0x3e52ff
(
0x162
)),
fadeIn
(
_0x3e52ff
(
0x1b2
),
0xc8
);}
function
arrow_b
(){
const
_0x31a463
=
_0x2312bb
;
html
(
'
#arrow_b
'
,
_0x31a463
(
0x15f
)),
fadeIn
(
'
#arrow_b
'
,
0x12c
);}
function
arrowLeft
(){
const
_0x3ed4aa
=
_0x2312bb
;
html
(
_0x3ed4aa
(
0x1bb
),
_0x3ed4aa
(
0x15e
)),
fadeIn
(
_0x3ed4aa
(
0x1bb
),
0xc8
);}
function
arrowRight
(){
const
_0x251218
=
_0x2312bb
;
html
(
_0x251218
(
0x15a
),
'
<svg
\
x20id=
\
x22arrow_right
\
x22
\
x20style=
\
x22position:
\
x20absolute;
\
x20top:
\
x2048%;left:
\
x2062%;
\
x22
\
x20xmlns=
\
x22http://www.w3.org/2000/svg
\
x22viewBox=
\
x220
\
x200
\
x2024
\
x2024
\
x22width=
\
x2224
\
x22
\
x20height=
\
x2224
\
x22><path
\
x20fill=
\
x22none
\
x22
\
x20d=
\
x22M0
\
x200h24v24H0z
\
x22/><path
\
x20d=
\
x22M16.172
\
x2011l-5.364-5.364
\
x201.414-1.414L20
\
x2012l-7.778
\
x207.778-1.414-1.414L16.172
\
x2013H4v-2z
\
x22
\
x20fill=
\
x22rgb(251,
\
x20251,
\
x20251)
\
x22/></svg>
'
),
fadeIn
(
'
#arrow_r
'
,
0xc8
);}
function
plus
(){
const
_0x4e86a0
=
_0x2312bb
;
html
(
_0x4e86a0
(
0x1bf
),
_0x4e86a0
(
0x13d
)),
fadeIn
(
_0x4e86a0
(
0x1bf
),
0x1f4
);}
function
light
(){
const
_0x4e8347
=
_0x2312bb
;
html
(
_0x4e8347
(
0x16d
),
_0x4e8347
(
0x14f
)),
fadeIn
(
_0x4e8347
(
0x16d
),
0x1f4
);}
function
skyid_fa_start_position_canvas
(){
const
_0x2aa0a1
=
_0x2312bb
;
hide
(
'
#skyid_fa_canvas_overlay
'
),
hide
(
'
#
'
+
skyid_fa_sdk_text_info
),
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x13a
))[
_0x2aa0a1
(
0x1b0
)]
=
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
'
offsetWidth
'
],
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x1c0
))[
_0x2aa0a1
(
0x1b0
)]
=
document
[
'
getElementById
'
](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x194
)],
document
[
'
getElementById
'
](
_0x2aa0a1
(
0x13a
))[
_0x2aa0a1
(
0x1a5
)]
=
document
[
'
getElementById
'
](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x155
)],
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x1c0
))[
_0x2aa0a1
(
0x1a5
)]
=
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x155
)];
let
_0xb36cd4
=
offset
(
'
#skyid_fa_webcame
'
);
cssMultiple
(
'
#skyid_fa_canvas_overlay
'
,
_0x2aa0a1
(
0x17f
),
_0x2aa0a1
(
0x154
),
'
top
'
,
'
0%
'
,
_0x2aa0a1
(
0x172
),
'
0%
'
,
'
width
'
,
document
[
'
getElementById
'
](
'
skyid_fa_webcame
'
)[
_0x2aa0a1
(
0x194
)],
'
height
'
,
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x155
)]),
cssMultiple
(
'
#skyid_fa_canvas_output
'
,
'
position
'
,
_0x2aa0a1
(
0x154
),
'
top
'
,
'
0%
'
,
_0x2aa0a1
(
0x172
),
'
0%
'
,
_0x2aa0a1
(
0x1b0
),
document
[
_0x2aa0a1
(
0x197
)](
'
skyid_fa_webcame
'
)[
'
offsetWidth
'
],
_0x2aa0a1
(
0x1a5
),
document
[
'
getElementById
'
](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x155
)]),
cssMultiple
(
'
#skyid_fa_canvas_warning
'
,
'
position
'
,
_0x2aa0a1
(
0x154
),
_0x2aa0a1
(
0x177
),
'
0%
'
,
_0x2aa0a1
(
0x172
),
'
0%
'
,
_0x2aa0a1
(
0x1b0
),
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x194
)],
'
height
'
,
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x155
)]),
cssMultiple
(
'
#
'
+
skyid_fa_sdk_text_info
,
_0x2aa0a1
(
0x17f
),
_0x2aa0a1
(
0x154
),
_0x2aa0a1
(
0x177
),
'
5%
'
,
_0x2aa0a1
(
0x172
),
'
0%
'
,
_0x2aa0a1
(
0x1b0
),
document
[
_0x2aa0a1
(
0x197
)](
_0x2aa0a1
(
0x171
))[
_0x2aa0a1
(
0x194
)]
-
0xa
,
'
height
'
,
document
[
_0x2aa0a1
(
0x197
)](
'
skyid_fa_webcame
'
)[
_0x2aa0a1
(
0x155
)]
/
0xa
),
show
(
_0x2aa0a1
(
0x19a
)),
show
(
'
#
'
+
skyid_fa_sdk_text_info
);}
function
skyid_fa_start_camera
(){
const
_0x2958ae
=
_0x2312bb
;
navigator
[
'
mediaDevices
'
][
_0x2958ae
(
0x18d
)]?
navigator
[
'
mediaDevices
'
][
_0x2958ae
(
0x18d
)]({
'
audio
'
:
!
[],
'
video
'
:{
'
facingMode
'
:
'
user
'
,
'
width
'
:{
'
ideal
'
:
0x3c0
,
'
max
'
:
0x4b0
},
'
height
'
:{
'
ideal
'
:
0x2d0
,
'
max
'
:
0x4b0
}}})[
_0x2958ae
(
0x13b
)](
async
function
(
_0x4c9448
){
skyid_fa_video
[
'
srcObject
'
]
=
_0x4c9448
,
skyid_fa_video
[
'
play
'
](),
await
fadeOut
(
'
#
'
+
skyid_fa_sdk_msg_container
,
0x1e
),
fadeIn
(
'
#
'
+
skyid_fa_sdk_video_container
,
0x32
),
skyid_fa_start_position_canvas
(),
skyid_fa_start_position_canvas
();})[
_0x2958ae
(
0x1b8
)](
function
(
_0x55cd99
){
const
_0x4399e7
=
_0x2958ae
;
html
(
'
#
'
+
skyid_fa_sdk_alert_text
,
message_variables
[
_0x4399e7
(
0x198
)]),
hide
(
'
#
'
+
skyid_fa_sdk_spinner
),
hide
(
'
#
'
+
skyid_fa_sdk_success_icon
),
show
(
'
#
'
+
skyid_fa_sdk_error_icon
);}):(
html
(
'
#
'
+
skyid_fa_sdk_alert_text
,
message_variables
[
_0x2958ae
(
0x198
)]),
hide
(
'
#
'
+
skyid_fa_sdk_spinner
),
hide
(
'
#
'
+
skyid_fa_sdk_success_icon
),
show
(
'
#
'
+
skyid_fa_sdk_error_icon
));}
function
show_warning_text
(
_0x243af9
,
_0x1a9e43
){
const
_0x2aa1e1
=
_0x2312bb
;
cssMultiple
(
'
#
'
+
skyid_fa_sdk_text_info
,
_0x2aa1e1
(
0x192
),
_0x1a9e43
,
_0x2aa1e1
(
0x1b0
),
_0x2aa1e1
(
0x139
)),
fadeOut
(
'
#
'
+
skyid_fa_sdk_text_info
,
0x96
),
html
(
'
#
'
+
skyid_fa_sdk_text_info
,
_0x243af9
),
fadeIn
(
'
#
'
+
skyid_fa_sdk_text_info
,
0x96
);}
function
skyid_fa_check_run_warnings
(
_0x47ce94
){
const
_0x1d9ecf
=
_0x2312bb
;
switch
(
_0x47ce94
){
case
0x0
:
break
;
case
0x1
:
plus
();
break
;
case
0x2
:
light
();
break
;
case
0x3
:
faceRotaiton
();
break
;
case
0x4
:
case
0x5
:
show_warning_text
(
message_variables
[
_0x1d9ecf
(
0x1bd
)],
''
);}}
window
[
'
addEventListener
'
](
'
resize
'
,
function
(){
skyid_fa_start_position_canvas
();});
function
skyid_fa_base64ToArrayBuffer
(
_0x501ee9
){
const
_0x4c3fe9
=
_0x2312bb
,
_0x2c1a00
=
window
[
_0x4c3fe9
(
0x1a4
)](
_0x501ee9
),
_0x927eaf
=
_0x2c1a00
[
'
length
'
];
var
_0x2238cd
=
new
Uint8Array
(
_0x927eaf
);
for
(
var
_0x180b95
=
0x0
;
_0x180b95
<
_0x927eaf
;
_0x180b95
++
){
_0x2238cd
[
_0x180b95
]
=
_0x2c1a00
[
_0x4c3fe9
(
0x189
)](
_0x180b95
);}
return
_0x2238cd
[
_0x4c3fe9
(
0x132
)];}
function
skyid_fa_canvas2binary
(
_0x18f891
){
const
_0x3c0aa9
=
_0x2312bb
;
let
_0x328c81
=
_0x18f891
[
_0x3c0aa9
(
0x1a0
)](
_0x3c0aa9
(
0x1a3
),
0x1
);
return
_0x328c81
=
_0x328c81
[
_0x3c0aa9
(
0x18b
)](
_0x3c0aa9
(
0x160
),
''
),
skyid_fa_base64ToArrayBuffer
(
_0x328c81
);}
function
detectWebGL
(){
const
_0x494273
=
_0x2312bb
;
if
(
!!
window
[
'
WebGLRenderingContext
'
]){
var
_0x311099
=
document
[
'
createElement
'
](
_0x494273
(
0x193
)),
_0x354aa5
=
[
_0x494273
(
0x1aa
),
_0x494273
(
0x195
),
_0x494273
(
0x180
),
'
webkit-3d
'
],
_0x32e5c2
=!
[];
for
(
var
_0x7b34b
in
_0x354aa5
){
try
{
_0x32e5c2
=
_0x311099
[
_0x494273
(
0x168
)](
_0x354aa5
[
_0x7b34b
]);
if
(
_0x32e5c2
&&
typeof
_0x32e5c2
[
_0x494273
(
0x1b7
)]
===
_0x494273
(
0x145
))
return
0x1
;}
catch
(
_0x228ff7
){}}
return
0x0
;}
return
-
0x1
;};
detectWebGL
()
==
0x1
&&
(
skyid_fa_engine_backend
=
_0x2312bb
(
0x1aa
));
async
function
skyid_fa_load_in_memory
(){
const
_0x1db9a5
=
_0x2312bb
;
let
_0x1a1095
=
document
[
'
createElement
'
](
_0x1db9a5
(
0x193
));
_0x1a1095
[
_0x1db9a5
(
0x1b0
)]
=
0x64
,
_0x1a1095
[
_0x1db9a5
(
0x1a5
)]
=
0x64
;
const
_0xe6d59f
=
await
skyid_fa_detector
[
_0x1db9a5
(
0x157
)](
_0x1a1095
);}
async
function
skyid_fa_setup_engines
(
_0x3f9693
){
const
_0x4b8538
=
{
'
debug
'
:
!
[],
'
backend
'
:
skyid_fa_engine_backend
,
'
filter
'
:{
'
enabled
'
:
!
[]},
'
modelBasePath
'
:
_0x3f9693
+
'
/bin_skyid_fa_detector
'
,
'
face
'
:{
'
enabled
'
:
!!
[],
'
detector
'
:{
'
maxDetected
'
:
0x3
,
'
minConfidence
'
:
0.2
,
'
iouThreshold
'
:
0.2
,
'
rotation
'
:
!
[],
'
return
'
:
!
[]},
'
mesh
'
:{
'
enabled
'
:
!!
[]},
'
iris
'
:{
'
enabled
'
:
!
[]},
'
description
'
:{
'
enabled
'
:
!
[]},
'
emotion
'
:{
'
enabled
'
:
!
[]}},
'
body
'
:{
'
enabled
'
:
!
[]},
'
hand
'
:{
'
enabled
'
:
!
[]},
'
object
'
:{
'
enabled
'
:
!
[]}};
skyid_fa_detector
=
new
_0x296a17
(
_0x4b8538
),
await
skyid_fa_load_in_memory
();}
async
function
skyid_fa_detectFaces
(
_0x15c120
){
const
_0x5b686c
=
_0x2312bb
,
_0xda3456
=
await
skyid_fa_detector
[
_0x5b686c
(
0x157
)](
_0x15c120
);
return
_0xda3456
[
'
face
'
];}
const
skyid_fa_getFrame
=
()
=>
{
const
_0x529d38
=
_0x2312bb
;
var
_0x252ea4
=
document
[
_0x529d38
(
0x1c1
)](
_0x529d38
(
0x193
));
_0x252ea4
[
_0x529d38
(
0x1b0
)]
=
skyid_fa_video
[
'
videoWidth
'
],
_0x252ea4
[
'
height
'
]
=
skyid_fa_video
[
_0x529d38
(
0x1ac
)];
const
_0x45dff9
=
_0x252ea4
[
'
getContext
'
](
'
2d
'
);
return
_0x45dff9
[
_0x529d38
(
0x1b6
)](
skyid_fa_video
,
0x0
,
0x0
),
_0x252ea4
;};
function
skyid_fa_crop_face
(
_0x5101a0
,
_0x4f7316
){
const
_0x2d28c5
=
_0x2312bb
,
_0x51442d
=
[
_0x5101a0
[
0x0
],
_0x5101a0
[
0x1
]],
_0x23b143
=
[
_0x5101a0
[
0x2
],
_0x5101a0
[
0x3
]],
_0x2284f2
=
document
[
'
createElement
'
](
'
canvas
'
);
_0x2284f2
[
_0x2d28c5
(
0x1a5
)]
=
_0x23b143
[
0x1
],
_0x2284f2
[
'
width
'
]
=
_0x23b143
[
0x0
];
const
_0x3567b0
=
_0x2284f2
[
_0x2d28c5
(
0x168
)](
'
2d
'
);
return
_0x3567b0
[
_0x2d28c5
(
0x1b6
)](
_0x4f7316
,
_0x51442d
[
0x0
],
_0x51442d
[
0x1
],
_0x23b143
[
0x0
],
_0x23b143
[
0x1
],
0x0
,
0x0
,
_0x23b143
[
0x0
],
_0x23b143
[
0x1
]),
_0x2284f2
;}
function
skyid_fa_draw_face_box
(
_0x31e9e5
){
const
_0x514f18
=
_0x2312bb
,
_0x41c9cc
=
skyid_fa_video
[
_0x514f18
(
0x1b0
)]
/
0x2
/
(
skyid_fa_video
[
_0x514f18
(
0x15d
)]
/
0x2
),
_0x526da7
=
skyid_fa_video
[
_0x514f18
(
0x1a5
)]
/
0x2
/
(
skyid_fa_video
[
_0x514f18
(
0x1ac
)]
/
0x2
),
_0xbf2134
=
[
_0x31e9e5
[
0x0
]
*
_0x41c9cc
,
_0x31e9e5
[
0x1
]
*
_0x526da7
],
_0x2a2093
=
[
_0x31e9e5
[
0x2
]
*
_0x41c9cc
,
_0x31e9e5
[
0x3
]
*
_0x526da7
];
skyid_fa_canvas_output_ctx
[
_0x514f18
(
0x136
)]
=
_0x514f18
(
0x137
),
skyid_fa_canvas_output_ctx
[
'
fillStyle
'
]
=
_0x514f18
(
0x14a
),
skyid_fa_canvas_output_ctx
[
_0x514f18
(
0x167
)](
_0xbf2134
[
0x0
],
_0xbf2134
[
0x1
],
_0x2a2093
[
0x0
],
_0x2a2093
[
0x1
]);}
function
Intersect
(
_0x3300fb
,
_0x509002
){
const
_0x408228
=
_0x2312bb
;
let
_0x3327ce
=
Math
[
_0x408228
(
0x190
)](
_0x3300fb
[
0x0
],
_0x509002
[
0x0
]),
_0x3514f6
=
Math
[
'
min
'
](
_0x3300fb
[
0x0
]
+
_0x3300fb
[
0x2
],
_0x509002
[
0x0
]
+
_0x509002
[
0x2
]),
_0x4f570d
=
Math
[
_0x408228
(
0x190
)](
_0x3300fb
[
0x1
],
_0x509002
[
0x1
]),
_0x2ffd3e
=
Math
[
_0x408228
(
0x19e
)](
_0x3300fb
[
0x1
]
+
_0x3300fb
[
0x3
],
_0x509002
[
0x1
]
+
_0x509002
[
0x3
]);
if
(
_0x3514f6
>=
_0x3327ce
&&
_0x2ffd3e
>=
_0x4f570d
)
return
[
_0x3327ce
,
_0x4f570d
,
_0x3514f6
-
_0x3327ce
,
_0x2ffd3e
-
_0x4f570d
];
else
return
!
[];}
function
check_area_int
(
_0x54e064
,
_0x299b8e
){
let
_0x13c82f
=
_0x299b8e
[
0x2
]
*
_0x299b8e
[
0x3
]
/
(
_0x54e064
[
0x2
]
*
_0x54e064
[
0x3
]);
return
_0x13c82f
>
0.4
&&
_0x13c82f
<
1.1
;}
function
checkInCercle
(
_0x3babe9
){
const
_0x596cef
=
_0x2312bb
,
_0x306855
=
skyid_fa_video
[
_0x596cef
(
0x15d
)]
/
0x2
,
_0x1e6e8a
=
skyid_fa_video
[
_0x596cef
(
0x1ac
)]
/
0x2
,
_0x29c324
=
_0x306855
-
skyid_fa_video
[
'
videoWidth
'
]
*
0.17
,
_0x545404
=
_0x306855
+
skyid_fa_video
[
_0x596cef
(
0x15d
)]
*
0.17
,
_0x334b26
=
_0x1e6e8a
-
skyid_fa_video
[
_0x596cef
(
0x1ac
)]
*
0.32
,
_0x2d7126
=
_0x1e6e8a
+
skyid_fa_video
[
_0x596cef
(
0x1ac
)]
*
0.32
,
_0x36087c
=
[
_0x29c324
,
_0x334b26
,
_0x545404
-
_0x29c324
,
_0x2d7126
-
_0x334b26
],
_0x4796af
=
(
_0x545404
-
_0x29c324
)
*
0.15
,
_0x56aacb
=
(
_0x2d7126
-
_0x334b26
)
*
0.15
,
_0x227fa4
=
(
_0x545404
-
_0x29c324
)
*
0.2
,
_0x11cb35
=
(
_0x2d7126
-
_0x334b26
)
*
0.2
;
let
_0x3cc04f
=
Intersect
(
_0x3babe9
,
_0x36087c
),
_0x26231d
=
check_area_int
(
_0x36087c
,
_0x3cc04f
);
var
_0x51d964
=
'
in
'
,
_0x3cf8c0
=
'
in
'
;
if
(
_0x26231d
==!!
[])
return
[
_0x596cef
(
0x1ab
),
_0x51d964
,
_0x3cf8c0
];
else
{
const
_0x35a9ad
=
_0x3babe9
[
0x0
]
+
_0x3babe9
[
0x2
]
/
0x2
,
_0x48812
=
_0x3babe9
[
0x1
]
+
_0x3babe9
[
0x3
]
/
0x2
;
return
_0x51d964
=
_0x596cef
(
0x172
),
_0x35a9ad
>
_0x306855
&&
(
_0x51d964
=
_0x596cef
(
0x186
)),
_0x3cf8c0
=
_0x596cef
(
0x158
),
_0x48812
>
_0x1e6e8a
&&
(
_0x3cf8c0
=
'
up
'
),[
_0x596cef
(
0x182
),
_0x51d964
,
_0x3cf8c0
];}}
function
skyid_fa_check_progress
(
_0x283c57
){
skyid_fa_class_thresh
<
_0x283c57
&&
(
skyid_fa_check_inc
+=
0x1
),
skyid_fa_frame_inc
+=
0x1
;}
function
skyid_fa_check_face_position
(
_0x3a8e88
){
const
_0x59248b
=
_0x2312bb
;
clearAnimation
();
if
(
_0x3a8e88
[
_0x59248b
(
0x14b
)]
>
0x1
||
_0x3a8e88
[
_0x59248b
(
0x14b
)]
==
0x0
)
return
skyid_fa_face_multiple_inc
+=
0x1
,
!
[];
else
{
const
_0x2f1b55
=
_0x3a8e88
[
0x0
][
'
score
'
],
_0x4590d1
=
_0x3a8e88
[
0x0
][
_0x59248b
(
0x175
)],
_0xf36417
=
Math
[
_0x59248b
(
0x1c7
)](
_0x3a8e88
[
0x0
][
_0x59248b
(
0x1a6
)][
_0x59248b
(
0x150
)][
_0x59248b
(
0x1a2
)]);
if
(
_0x2f1b55
<
skyid_fa_face_det_thresh
)
return
light
(),
skyid_fa_face_not_detected_inc
+=
0x1
,
!
[];
if
(
_0xf36417
>
skyid_fa_face_rot_thresh
)
return
console
[
_0x59248b
(
0x151
)](
_0x59248b
(
0x181
)),
console
[
'
log
'
](
skyid_fa_face_rot_thresh
),
console
[
_0x59248b
(
0x151
)](
_0xf36417
),
faceRotaiton
(),
skyid_fa_face_angle_inc
+=
0x1
,
!
[];
let
_0x2765e8
=
checkInCercle
(
_0x4590d1
);
if
(
_0x2765e8
[
0x0
]
==
_0x59248b
(
0x182
))
return
skyid_fa_face_out_inc
+=
0x1
,
_0x2765e8
[
0x1
]
==
_0x59248b
(
0x186
)?(
arrowRight
(),
setTimeout
(
function
(){
const
_0xe6a1af
=
_0x59248b
;
document
[
_0xe6a1af
(
0x197
)](
_0xe6a1af
(
0x18e
))[
'
innerHTML
'
]
=
''
;},
0x3e8
)):(
arrowLeft
(),
setTimeout
(
function
(){
const
_0x31d71e
=
_0x59248b
;
document
[
_0x31d71e
(
0x197
)](
'
arrow_l
'
)[
_0x31d71e
(
0x134
)]
=
''
;},
0x3e8
)),
_0x2765e8
[
0x2
]
==
_0x59248b
(
0x158
)?(
arrow_b
(),
setTimeout
(
function
(){
const
_0x113c1b
=
_0x59248b
;
document
[
_0x113c1b
(
0x197
)](
_0x113c1b
(
0x1c4
))[
'
innerHTML
'
]
=
''
;},
0x1f4
)):(
arrowTop
(),
setTimeout
(
function
(){
const
_0x1ec1e9
=
_0x59248b
;
document
[
_0x1ec1e9
(
0x197
)](
_0x1ec1e9
(
0x18a
))[
_0x1ec1e9
(
0x134
)]
=
''
;},
0x1f4
)),
!
[];
const
_0x5046ae
=
skyid_fa_video
[
_0x59248b
(
0x15d
)]
/
0x8
;
if
(
_0x5046ae
>
_0x4590d1
[
0x2
])
return
skyid_fa_face_far_inc
+=
0x1
,
plus
(),
!
[];}
return
clearAnimation
(),
!!
[];}
function
skyid_fa_wait_clear_warning
(){
setTimeout
(
async
()
=>
{
const
_0x2792ed
=
_0xa8f9
;
await
fadeOut
(
_0x2792ed
(
0x1a9
),
0x1f4
);
const
_0x32f801
=
document
[
'
getElementById
'
](
_0x2792ed
(
0x1c0
)),
_0x3d25e1
=
_0x32f801
[
_0x2792ed
(
0x168
)](
'
2d
'
);
_0x3d25e1
[
_0x2792ed
(
0x1ba
)](
0x0
,
0x0
,
_0x32f801
[
'
width
'
],
_0x32f801
[
'
height
'
]),
show
(
'
#skyid_fa_canvas_warning
'
);},
0xbb8
);}
function
skyid_fa_init_warning_vars
(){
skyid_fa_face_out_inc
=
0x0
,
skyid_fa_face_far_inc
=
0x0
,
skyid_fa_face_spoof_inc
=
0x0
,
skyid_fa_face_angle_inc
=
0x0
,
skyid_fa_face_not_detected_inc
=
0x0
,
skyid_fa_face_multiple_inc
=
0x0
;}
function
skyid_fa_check_face_position_display_warning
(){
skyid_fa_face_multiple_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x5
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_not_detected_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x4
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_out_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x0
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_far_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x1
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
()),
skyid_fa_face_angle_inc
>
skyid_fa_warning_timer
&&
(
skyid_fa_check_run_warnings
(
0x3
),
skyid_fa_init_warning_vars
(),
skyid_fa_wait_clear_warning
());}
function
skyid_fa_interupt_loop
(){
skyid_fa_timer
!=
null
&&
clearInterval
(
skyid_fa_timer
),
skyid_fa_timer
=
null
;}
function
skyid_fa_did_end_with_timeOut
(
_0x1b08eb
){
skyid_fa_frame_inc
>
skyid_fa_frame_nbr_time_out
&&
(
skyid_fa_interupt_loop
(),
hide
(
'
#
'
+
skyid_fa_sdk_text_info
),
_0x1b08eb
(),
clearAnimation
());}
function
skyid_fa_did_end_with_success
(
_0xa610f4
){
skyid_fa_check_inc
>
skyid_fa_nbr_valid_check
&&
(
skyid_fa_interupt_loop
(),
hide
(
'
#
'
+
skyid_fa_sdk_text_info
),
skyid_fa_check_api_jeton_var
&&
(
skyid_fa_check_api_jeton_var
=!
[],
clearAnimation
(),
_0xa610f4
(
skyid_fa_selected_frame
)));}
async
function
loadFromLocalStorage
(){
const
_0x45118a
=
_0x2312bb
;
skyid_fa_jeton_var
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
'
getItem
'
](
_0x45118a
(
0x149
))),
console
[
_0x45118a
(
0x151
)](
_0x45118a
(
0x149
)),
console
[
_0x45118a
(
0x151
)](
skyid_fa_jeton_var
);
if
(
skyid_fa_jeton_var
){
skyid_fa_time_freq
=
JSON
[
'
parse
'
](
localStorage
[
_0x45118a
(
0x18f
)](
_0x45118a
(
0x1b3
))),
skyid_fa_exec_time_ms
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
_0x45118a
(
0x13e
)))
*
0x3e8
,
skyid_fa_frame_nbr_time_out
=
skyid_fa_exec_time_ms
/
skyid_fa_time_freq
,
skyid_fa_class_thresh
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
'
skyid_fa_class_thresh
'
)),
skyid_fa_face_det_thresh
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
'
skyid_fa_face_det_thresh
'
)),
skyid_fa_face_rot_thresh
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
'
skyid_fa_face_rot_thresh
'
)),
skyid_fa_nbr_valid_check
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
'
skyid_fa_nbr_valid_check
'
)),
skyid_fa_warning_timer
=
JSON
[
'
parse
'
](
localStorage
[
_0x45118a
(
0x18f
)](
_0x45118a
(
0x184
))),
skyid_fa_bins_repo
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
_0x45118a
(
0x173
))),
skyid_fa_frame_check_api
=
JSON
[
_0x45118a
(
0x1af
)](
localStorage
[
_0x45118a
(
0x18f
)](
'
skyid_fa_frame_check_api
'
));
try
{
await
skyid_fa_setup_engines
(
skyid_fa_bins_repo
);}
catch
(
_0x5172f5
){
html
(
'
#
'
+
skyid_fa_sdk_alert_text
,
message_variables
[
_0x45118a
(
0x187
)]);}}
else
html
(
'
#
'
+
skyid_fa_sdk_alert_text
,
message_variables
[
'
skyid_fa_sdk_access_error_message
'
]);}
async
function
skyid_fa_setup_success_imp
(
_0xccbc04
){
const
_0x7f8213
=
_0x2312bb
;
skyid_fa_jeton_var
=!!
[],
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x149
),
JSON
[
_0x7f8213
(
0x16b
)](
skyid_fa_jeton_var
)),
console
[
_0x7f8213
(
0x151
)](
'
r_sdk_data
'
,
_0xccbc04
),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x1b3
),
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x1b3
)])),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x13e
),
JSON
[
'
stringify
'
](
_0xccbc04
[
'
skyid_fa_exec_time_ms
'
])),
localStorage
[
_0x7f8213
(
0x179
)](
'
skyid_fa_class_thresh
'
,
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x1a1
)])),
localStorage
[
_0x7f8213
(
0x179
)](
'
skyid_fa_face_det_thresh
'
,
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x147
)])),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x17e
),
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x17e
)])),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x19f
),
JSON
[
'
stringify
'
](
_0xccbc04
[
_0x7f8213
(
0x19f
)])),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x184
),
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x184
)])),
localStorage
[
_0x7f8213
(
0x179
)](
_0x7f8213
(
0x173
),
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x173
)])),
localStorage
[
_0x7f8213
(
0x179
)](
'
skyid_fa_frame_check_api
'
,
JSON
[
_0x7f8213
(
0x16b
)](
_0xccbc04
[
_0x7f8213
(
0x142
)])),
await
loadFromLocalStorage
();}
function
_0xa8f9
(
_0x3ed18b
,
_0x198064
){
const
_0x55f185
=
_0x55f1
();
return
_0xa8f9
=
function
(
_0xa8f959
,
_0x33e963
){
_0xa8f959
=
_0xa8f959
-
0x132
;
let
_0x16f922
=
_0x55f185
[
_0xa8f959
];
return
_0x16f922
;},
_0xa8f9
(
_0x3ed18b
,
_0x198064
);}
function
skyid_fa_init_sdk
(
_0x33948d
){
skyid_fa_setup_success_imp
(
_0x33948d
);}
async
function
skyid_fa_setup_sdk
(){
const
_0x47aaf3
=
_0x2312bb
;
await
loadFromLocalStorage
(),
hide
(
'
#
'
+
skyid_fa_sdk_text_info
),
html
(
'
#
'
+
skyid_fa_sdk_text_info
,
message_variables
[
_0x47aaf3
(
0x16f
)]),
show
(
'
#
'
+
skyid_fa_sdk_text_info
),
skyid_fa_video
=
document
[
_0x47aaf3
(
0x197
)](
_0x47aaf3
(
0x171
)),
skyid_fa_canvas_output
=
document
[
_0x47aaf3
(
0x197
)](
_0x47aaf3
(
0x13a
)),
skyid_fa_canvas_output_ctx
=
skyid_fa_canvas_output
[
_0x47aaf3
(
0x168
)](
'
2d
'
),
skyid_fa_start_camera
();}
function
skyid_fa_stop_webcam
(){
const
_0xea80f2
=
_0x2312bb
;
skyid_fa_video
[
_0xea80f2
(
0x16c
)][
_0xea80f2
(
0x1b4
)]()[
0x0
][
_0xea80f2
(
0x19b
)]();}
function
skyid_fa_start_face_scan
(
_0x29c4de
,
_0x1c20e8
){
const
_0x3b3a72
=
_0x2312bb
;
hide
(
_0x3b3a72
(
0x146
)),
clearInterval
(
skyid_interval
),
document
[
'
getElementById
'
](
'
face
'
)[
_0x3b3a72
(
0x1a8
)][
_0x3b3a72
(
0x16e
)]
=
_0x3b3a72
(
0x165
),
document
[
_0x3b3a72
(
0x197
)](
_0x3b3a72
(
0x1bc
))[
_0x3b3a72
(
0x134
)]
=
''
,
hide
(
'
#
'
+
skyid_fa_sdk_text_info
),
console
[
_0x3b3a72
(
0x151
)](
skyid_fa_class_thresh
),
console
[
'
log
'
](
skyid_fa_face_det_thresh
),
console
[
_0x3b3a72
(
0x151
)](
skyid_fa_face_rot_thresh
),
console
[
_0x3b3a72
(
0x151
)](
skyid_fa_nbr_valid_check
),
console
[
'
log
'
](
skyid_fa_warning_timer
),
skyid_fa_jeton_var
?(
skyid_fa_interupt_loop
(),
skyid_fa_init_warning_vars
(),
skyid_fa_check_inc
=
0x0
,
skyid_fa_frame_inc
=
0x0
,
skyid_fa_best_frame_score
=
0x0
,
skyid_fa_selected_frame
=
null
,
skyid_fa_check_api_jeton_var
=!!
[],
skyid_fa_timer
=
setInterval
(
async
()
=>
{
const
_0x3d35cb
=
_0x3b3a72
,
_0x1bfc86
=
skyid_fa_getFrame
(),
_0x2e91cf
=
await
skyid_fa_detectFaces
(
_0x1bfc86
),
_0x472d69
=
skyid_fa_check_face_position
(
_0x2e91cf
);
if
(
_0x472d69
){
hand
();
const
_0x39675a
=
_0x2e91cf
[
0x0
][
'
score
'
],
_0x1daaa5
=
_0x2e91cf
[
0x0
][
_0x3d35cb
(
0x175
)];
if
(
!!
[]){
slideUp
(
'
#
'
+
skyid_fa_sdk_text_info
,
0x64
);
const
skyid_fa_classifier_score
=
0x1
;
_0x39675a
>
skyid_fa_face_det_thresh
&&
skyid_fa_best_frame_score
<=
_0x39675a
&&
(
skyid_fa_best_frame_score
=
_0x39675a
,
skyid_fa_selected_frame
=
_0x1bfc86
),
skyid_fa_check_progress
(
skyid_fa_classifier_score
),
skyid_fa_did_end_with_success
(
_0x29c4de
);}}
skyid_fa_did_end_with_timeOut
(
_0x1c20e8
),
skyid_fa_check_face_position_display_warning
();},
skyid_fa_time_freq
)):(
skyid_fa_stop_webcam
(),
alert
(
message_variables
[
_0x3b3a72
(
0x164
)]));}
function
skyid_fa_crop_document_face
(
_0x3ef652
,
_0x4018ec
){
const
_0x187f21
=
_0x2312bb
;
let
_0x4fb1ef
=
0x1e
;
const
_0x3feb5f
=
[
_0x3ef652
[
0x0
]
-
_0x4fb1ef
,
_0x3ef652
[
0x1
]
-
_0x4fb1ef
],
_0x49fc1b
=
[
_0x3ef652
[
0x2
]
+
0x2
*
_0x4fb1ef
,
_0x3ef652
[
0x3
]
+
0x2
*
_0x4fb1ef
],
_0x16d2b1
=
document
[
_0x187f21
(
0x1c1
)](
'
canvas
'
);
_0x16d2b1
[
'
height
'
]
=
_0x49fc1b
[
0x1
],
_0x16d2b1
[
'
width
'
]
=
_0x49fc1b
[
0x0
];
const
_0x41dec3
=
_0x16d2b1
[
_0x187f21
(
0x168
)](
'
2d
'
);
return
_0x41dec3
[
'
drawImage
'
](
_0x4018ec
,
_0x3feb5f
[
0x0
],
_0x3feb5f
[
0x1
],
_0x49fc1b
[
0x0
],
_0x49fc1b
[
0x1
],
0x0
,
0x0
,
_0x49fc1b
[
0x0
],
_0x49fc1b
[
0x1
]),
_0x16d2b1
;}
async
function
get_face_from_document
(
_0x4d482e
){
const
_0x415d44
=
_0x2312bb
,
_0x1090ea
=
await
skyid_fa_detectFaces
(
_0x4d482e
);
console
[
_0x415d44
(
0x151
)](
_0x1090ea
);
if
(
_0x1090ea
[
'
length
'
]
>
0x0
){
var
_0x40ef67
=
_0x1090ea
[
0x0
];
_0x1090ea
[
_0x415d44
(
0x188
)](
_0x3ca640
=>
{
const
_0x29e4a6
=
_0x415d44
;
_0x3ca640
[
_0x29e4a6
(
0x175
)][
0x2
]
>
_0x40ef67
[
_0x29e4a6
(
0x175
)][
0x2
]
&&
(
_0x40ef67
=
_0x3ca640
);});
if
(
_0x40ef67
[
_0x415d44
(
0x143
)]
>
0.3
)
return
skyid_fa_crop_document_face
(
_0x40ef67
[
_0x415d44
(
0x175
)],
_0x4d482e
);}
return
null
;}
export
{
skyid_fa_setup_sdk
,
skyid_fa_start_face_scan
,
skyid_component
,
skyid_fa_stop_webcam
,
skyid_fa_init_sdk
,
get_face_from_document
,
slideDown
,
slideUp
,
offset
,
css
,
html
,
fadeIn
,
fadeOut
,
hide
,
show
,
message_variables
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment