@zappar/zappar-cv 3.0.1-alpha.8 → 3.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/additional.d.ts +17 -2
- package/lib/deserializer.d.ts +5 -1
- package/lib/deserializer.js +12 -0
- package/lib/direct.js +1 -1
- package/lib/drawaxis.d.ts +2 -0
- package/lib/drawaxis.js +137 -0
- package/lib/drawgrid.js +5 -2
- package/lib/drawpoints.d.ts +1 -0
- package/lib/drawpoints.js +2 -2
- package/lib/drawpointswithtype.d.ts +13 -0
- package/lib/drawpointswithtype.js +190 -0
- package/lib/drawpolygon.d.ts +5 -0
- package/lib/drawpolygon.js +94 -0
- package/lib/gen/zappar-bridge.d.ts +44 -11
- package/lib/gen/zappar-bridge.js +3 -0
- package/lib/gen/zappar-client.d.ts +1 -0
- package/lib/gen/zappar-client.js +347 -47
- package/lib/gen/zappar-cwrap.js +251 -41
- package/lib/gen/zappar-native.d.ts +56 -13
- package/lib/gen/zappar-native.js +23 -1
- package/lib/gen/zappar-server.d.ts +3 -0
- package/lib/gen/zappar-server.js +166 -21
- package/lib/gen/zappar.d.ts +51 -13
- package/lib/gen/zappar.js +3 -0
- package/lib/html-element-source.d.ts +4 -0
- package/lib/html-element-source.js +30 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/mstp-camera-source.js +2 -1
- package/lib/native.js +59 -4
- package/lib/permission.d.ts +3 -2
- package/lib/permission.js +52 -23
- package/lib/pipeline.d.ts +1 -1
- package/lib/pipeline.js +3 -2
- package/lib/sequencesource.js +1 -1
- package/lib/serializer.d.ts +5 -1
- package/lib/serializer.js +4 -0
- package/lib/tr.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/worker-client.js +4 -1
- package/lib/worker-imagebitmap.js +1 -1
- package/lib/worker-server.d.ts +1 -1
- package/lib/worker-server.js +5 -5
- package/lib/worker.js +1 -1
- package/lib/workerinterface.d.ts +1 -0
- package/lib/zappar-cv.js +1 -212
- package/lib/zappar-cv.wasm +0 -0
- package/package.json +1 -1
- package/umd/751.zappar-cv.js +1 -1
- package/umd/867.zappar-cv.js +1 -1
- package/umd/{5a86c8fa5c139c48ad64.wasm → ad30381eac4454d1944a.wasm} +0 -0
- package/umd/zappar-cv.js +1 -1
- package/umd/zappar-cv.worker.js +1 -1
package/umd/zappar-cv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ZCV=t():e.ZCV=t()}(self,(()=>(()=>{var e={238:function(e,t,r){var i;!function(a,n){"use strict";var o="function",s="undefined",_="object",c="string",l="model",d="name",h="type",u="vendor",f="version",p="architecture",m="console",b="mobile",g="tablet",v="smarttv",E="wearable",w="embedded",y="Amazon",A="Apple",T="ASUS",R="BlackBerry",x="Browser",k="Chrome",S="Firefox",N="Google",I="Huawei",L="LG",F="Microsoft",M="Motorola",z="Opera",P="Samsung",C="Sharp",D="Sony",j="Xiaomi",U="Zebra",B="Facebook",O=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},V=function(e,t){return typeof e===c&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},K=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},W=function(e,t){for(var r,i,a,s,c,l,d=0;d<t.length&&!c;){var h=t[d],u=t[d+1];for(r=i=0;r<h.length&&!c;)if(c=h[r++].exec(e))for(a=0;a<u.length;a++)l=c[++i],typeof(s=u[a])===_&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):n:this[s[0]]=l?s[1].call(this,l,s[2]):n:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):n):this[s]=l||n;d+=2}},Z=function(e,t){for(var r in t)if(typeof t[r]===_&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(V(t[r][i],e))return"?"===r?n:r}else if(V(t[r],e))return"?"===r?n:r;return e},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,f],[/opios[\/ ]+([\w\.]+)/i],[f,[d,z+" Mini"]],[/\bopr\/([\w\.]+)/i],[f,[d,z]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[d,"UC"+x]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[f,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+x],f],[/\bfocus\/([\w\.]+)/i],[f,[d,S+" Focus"]],[/\bopt\/([\w\.]+)/i],[f,[d,z+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[d,z+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[d,"MIUI "+x]],[/fxios\/([-\w\.]+)/i],[f,[d,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+x]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+x],f],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,B],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[d,k+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,k+" WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[d,"Android "+x]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,f],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[f,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[f,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[f,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[d,S+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,f],[/(cobalt)\/([\w\.]+)/i],[d,[f,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,G]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[u,P],[h,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[u,P],[h,b]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[u,A],[h,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[u,A],[h,g]],[/(macintosh);/i],[l,[u,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[u,I],[h,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[u,I],[h,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[u,j],[h,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[u,j],[h,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[u,"OPPO"],[h,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[u,"Vivo"],[h,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[u,"Realme"],[h,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[u,M],[h,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[u,M],[h,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[u,L],[h,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[u,L],[h,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[u,"Lenovo"],[h,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[u,"Nokia"],[h,b]],[/(pixel c)\b/i],[l,[u,N],[h,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[u,N],[h,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[u,D],[h,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[u,D],[h,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[u,"OnePlus"],[h,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[u,y],[h,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[u,y],[h,b]],[/(playbook);[-\w\),; ]+(rim)/i],[l,u,[h,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[u,R],[h,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[u,T],[h,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[u,T],[h,b]],[/(nexus 9)/i],[l,[u,"HTC"],[h,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[l,/_/g," "],[h,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[u,"Acer"],[h,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[u,"Meizu"],[h,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[u,C],[h,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[u,l,[h,b]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[u,l,[h,g]],[/(surface duo)/i],[l,[u,F],[h,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[u,"Fairphone"],[h,b]],[/(u304aa)/i],[l,[u,"AT&T"],[h,b]],[/\bsie-(\w*)/i],[l,[u,"Siemens"],[h,b]],[/\b(rct\w+) b/i],[l,[u,"RCA"],[h,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[u,"Dell"],[h,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[u,"Verizon"],[h,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[u,"Barnes & Noble"],[h,g]],[/\b(tm\d{3}\w+) b/i],[l,[u,"NuVision"],[h,g]],[/\b(k88) b/i],[l,[u,"ZTE"],[h,g]],[/\b(nx\d{3}j) b/i],[l,[u,"ZTE"],[h,b]],[/\b(gen\d{3}) b.+49h/i],[l,[u,"Swiss"],[h,b]],[/\b(zur\d{3}) b/i],[l,[u,"Swiss"],[h,g]],[/\b((zeki)?tb.*\b) b/i],[l,[u,"Zeki"],[h,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],l,[h,g]],[/\b(ns-?\w{0,9}) b/i],[l,[u,"Insignia"],[h,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[u,"NextBook"],[h,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],l,[h,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],l,[h,b]],[/\b(ph-1) /i],[l,[u,"Essential"],[h,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[u,"Envizen"],[h,g]],[/\b(trio[-\w\. ]+) b/i],[l,[u,"MachSpeed"],[h,g]],[/\btu_(1491) b/i],[l,[u,"Rotor"],[h,g]],[/(shield[\w ]+) b/i],[l,[u,"Nvidia"],[h,g]],[/(sprint) (\w+)/i],[u,l,[h,b]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[u,F],[h,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[u,U],[h,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[u,U],[h,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,l,[h,m]],[/droid.+; (shield) bui/i],[l,[u,"Nvidia"],[h,m]],[/(playstation [345portablevi]+)/i],[l,[u,D],[h,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[u,F],[h,m]],[/smart-tv.+(samsung)/i],[u,[h,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[u,P],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,L],[h,v]],[/(apple) ?tv/i],[u,[l,A+" TV"],[h,v]],[/crkey/i],[[l,k+"cast"],[u,N],[h,v]],[/droid.+aft(\w)( bui|\))/i],[l,[u,y],[h,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[u,C],[h,v]],[/(bravia[\w ]+)( bui|\))/i],[l,[u,D],[h,v]],[/(mitv-\w{5}) bui/i],[l,[u,j],[h,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[u,K],[l,K],[h,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,v]],[/((pebble))app/i],[u,l,[h,E]],[/droid.+; (glass) \d/i],[l,[u,N],[h,E]],[/droid.+; (wt63?0{2,3})\)/i],[l,[u,U],[h,E]],[/(quest( 2)?)/i],[l,[u,B],[h,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[h,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[h,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[h,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,b]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[f,Z,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[f,Z,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[f,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,f],[/\(bb(10);/i],[f,[d,R]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[d,S+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[d,k+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,f],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,f]]},X=function(e,t){if(typeof e===_&&(t=e,e=n),!(this instanceof X))return new X(e,t).getResult();var r=e||(typeof a!==s&&a.navigator&&a.navigator.userAgent?a.navigator.userAgent:""),i=t?function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r}(Y,t):Y;return this.getBrowser=function(){var e,t={};return t[d]=n,t[f]=n,W.call(t,r,i.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:n,t},this.getCPU=function(){var e={};return e[p]=n,W.call(e,r,i.cpu),e},this.getDevice=function(){var e={};return e[u]=n,e[l]=n,e[h]=n,W.call(e,r,i.device),e},this.getEngine=function(){var e={};return e[d]=n,e[f]=n,W.call(e,r,i.engine),e},this.getOS=function(){var e={};return e[d]=n,e[f]=n,W.call(e,r,i.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>350?K(e,350):e,this},this.setUA(r),this};X.VERSION="1.0.33",X.BROWSER=O([d,f,"major"]),X.CPU=O([p]),X.DEVICE=O([l,u,h,m,b,v,g,E,w]),X.ENGINE=X.OS=O([d,f]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):r.amdO?(i=function(){return X}.call(t,r,t,e))===n||(e.exports=i):typeof a!==s&&(a.UAParser=X);var q=typeof a!==s&&(a.jQuery||a.Zepto);if(q&&!q.ua){var $=new X;q.ua=$.getResult(),q.ua.get=function(){return $.getUA()},q.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var r in t)q.ua[r]=t[r]}}}("object"==typeof window?window:this)},276:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var i=r(477),a=r.n(i);function n(){return a()('(()=>{var e={238:function(e,r,t){var a;!function(i,_){"use strict";var n="function",o="undefined",s="object",c="string",l="model",d="name",h="type",u="vendor",f="version",p="architecture",b="console",m="mobile",E="tablet",v="smarttv",w="wearable",g="embedded",y="Amazon",N="Apple",k="ASUS",S="BlackBerry",j="Browser",z="Chrome",I="Firefox",R="Google",A="Huawei",x="LG",L="Microsoft",T="Motorola",P="Opera",F="Samsung",M="Sharp",K="Sony",C="Xiaomi",O="Zebra",B="Facebook",D=function(e){for(var r={},t=0;t<e.length;t++)r[e[t].toUpperCase()]=e[t];return r},U=function(e,r){return typeof e===c&&-1!==Z(r).indexOf(Z(e))},Z=function(e){return e.toLowerCase()},V=function(e,r){if(typeof e===c)return e=e.replace(/^\\s\\s*/,""),typeof r===o?e:e.substring(0,350)},G=function(e,r){for(var t,a,i,o,c,l,d=0;d<r.length&&!c;){var h=r[d],u=r[d+1];for(t=a=0;t<h.length&&!c;)if(c=h[t++].exec(e))for(i=0;i<u.length;i++)l=c[++a],typeof(o=u[i])===s&&o.length>0?2===o.length?typeof o[1]==n?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==n||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[1],o[2]):_:this[o[0]]=l?o[1].call(this,l,o[2]):_:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):_):this[o]=l||_;d+=2}},H=function(e,r){for(var t in r)if(typeof r[t]===s&&r[t].length>0){for(var a=0;a<r[t].length;a++)if(U(r[t][a],e))return"?"===t?_:t}else if(U(r[t],e))return"?"===t?_:t;return e},W={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[f,[d,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[f,[d,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[d,f],[/opios[\\/ ]+([\\w\\.]+)/i],[f,[d,P+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[f,[d,P]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[d,f],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[f,[d,"UC"+j]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[f,[d,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[f,[d,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[f,[d,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[f,[d,"IE"]],[/yabrowser\\/([\\w\\.]+)/i],[f,[d,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[d,/(.+)/,"$1 Secure "+j],f],[/\\bfocus\\/([\\w\\.]+)/i],[f,[d,I+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[f,[d,P+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[f,[d,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[f,[d,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[f,[d,P+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[f,[d,"MIUI "+j]],[/fxios\\/([-\\w\\.]+)/i],[f,[d,I]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+j]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[d,/(.+)/,"$1 "+j],f],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[d,/_/g," "],f],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[d,f],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[d],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[d,B],f],[/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[d,f],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[f,[d,"GSA"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[f,[d,z+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[d,z+" WebView"],f],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[f,[d,"Android "+j]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[d,f],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[f,[d,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[f,d],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[d,[f,H,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[d,f],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[d,"Netscape"],f],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[f,[d,I+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i],[d,f],[/(cobalt)\\/([\\w\\.]+)/i],[d,[f,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,Z]],[/((?:i[346]|x)86)[;\\)]/i],[[p,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[p,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[p,/ower/,"",Z]],[/(sun4\\w)[;\\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[p,Z]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[u,F],[h,E]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[l,[u,F],[h,m]],[/\\((ip(?:hone|od)[\\w ]*);/i],[l,[u,N],[h,m]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[l,[u,N],[h,E]],[/(macintosh);/i],[l,[u,N]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[l,[u,A],[h,E]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[l,[u,A],[h,m]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[l,/_/g," "],[u,C],[h,m]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[l,/_/g," "],[u,C],[h,E]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[l,[u,"OPPO"],[h,m]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[l,[u,"Vivo"],[h,m]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[l,[u,"Realme"],[h,m]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[l,[u,T],[h,m]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[l,[u,T],[h,E]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[u,x],[h,E]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[l,[u,x],[h,m]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[l,[u,"Lenovo"],[h,E]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[l,/_/g," "],[u,"Nokia"],[h,m]],[/(pixel c)\\b/i],[l,[u,R],[h,E]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[l,[u,R],[h,m]],[/droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[l,[u,K],[h,m]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[l,"Xperia Tablet"],[u,K],[h,E]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[l,[u,"OnePlus"],[h,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[l,[u,y],[h,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[l,/(.+)/g,"Fire Phone $1"],[u,y],[h,m]],[/(playbook);[-\\w\\),; ]+(rim)/i],[l,u,[h,E]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[l,[u,S],[h,m]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[l,[u,k],[h,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[l,[u,k],[h,m]],[/(nexus 9)/i],[l,[u,"HTC"],[h,E]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i],[u,[l,/_/g," "],[h,m]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[l,[u,"Acer"],[h,E]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[l,[u,"Meizu"],[h,m]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[l,[u,M],[h,m]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[u,l,[h,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[u,l,[h,E]],[/(surface duo)/i],[l,[u,L],[h,E]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[l,[u,"Fairphone"],[h,m]],[/(u304aa)/i],[l,[u,"AT&T"],[h,m]],[/\\bsie-(\\w*)/i],[l,[u,"Siemens"],[h,m]],[/\\b(rct\\w+) b/i],[l,[u,"RCA"],[h,E]],[/\\b(venue[\\d ]{2,7}) b/i],[l,[u,"Dell"],[h,E]],[/\\b(q(?:mv|ta)\\w+) b/i],[l,[u,"Verizon"],[h,E]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[l,[u,"Barnes & Noble"],[h,E]],[/\\b(tm\\d{3}\\w+) b/i],[l,[u,"NuVision"],[h,E]],[/\\b(k88) b/i],[l,[u,"ZTE"],[h,E]],[/\\b(nx\\d{3}j) b/i],[l,[u,"ZTE"],[h,m]],[/\\b(gen\\d{3}) b.+49h/i],[l,[u,"Swiss"],[h,m]],[/\\b(zur\\d{3}) b/i],[l,[u,"Swiss"],[h,E]],[/\\b((zeki)?tb.*\\b) b/i],[l,[u,"Zeki"],[h,E]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[u,"Dragon Touch"],l,[h,E]],[/\\b(ns-?\\w{0,9}) b/i],[l,[u,"Insignia"],[h,E]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[l,[u,"NextBook"],[h,E]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],l,[h,m]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[u,"LvTel"],l,[h,m]],[/\\b(ph-1) /i],[l,[u,"Essential"],[h,m]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[l,[u,"Envizen"],[h,E]],[/\\b(trio[-\\w\\. ]+) b/i],[l,[u,"MachSpeed"],[h,E]],[/\\btu_(1491) b/i],[l,[u,"Rotor"],[h,E]],[/(shield[\\w ]+) b/i],[l,[u,"Nvidia"],[h,E]],[/(sprint) (\\w+)/i],[u,l,[h,m]],[/(kin\\.[onetw]{3})/i],[[l,/\\./g," "],[u,L],[h,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[l,[u,O],[h,E]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[l,[u,O],[h,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,l,[h,b]],[/droid.+; (shield) bui/i],[l,[u,"Nvidia"],[h,b]],[/(playstation [345portablevi]+)/i],[l,[u,K],[h,b]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[l,[u,L],[h,b]],[/smart-tv.+(samsung)/i],[u,[h,v]],[/hbbtv.+maple;(\\d+)/i],[[l,/^/,"SmartTV"],[u,F],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[u,x],[h,v]],[/(apple) ?tv/i],[u,[l,N+" TV"],[h,v]],[/crkey/i],[[l,z+"cast"],[u,R],[h,v]],[/droid.+aft(\\w)( bui|\\))/i],[l,[u,y],[h,v]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[l,[u,M],[h,v]],[/(bravia[\\w ]+)( bui|\\))/i],[l,[u,K],[h,v]],[/(mitv-\\w{5}) bui/i],[l,[u,C],[h,v]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i],[[u,V],[l,V],[h,v]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,v]],[/((pebble))app/i],[u,l,[h,w]],[/droid.+; (glass) \\d/i],[l,[u,R],[h,w]],[/droid.+; (wt63?0{2,3})\\)/i],[l,[u,O],[h,w]],[/(quest( 2)?)/i],[l,[u,B],[h,w]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[u,[h,g]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[l,[h,m]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[l,[h,E]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,E]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,m]],[/(android[-\\w\\. ]{0,9});.+buil/i],[l,[u,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[f,[d,"EdgeHTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[f,[d,"Blink"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i],[d,f],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[f,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,f],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[d,[f,H,W]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[d,"Windows"],[f,H,W]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/cfnetwork\\/.+darwin/i],[[f,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[d,"Mac OS"],[f,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[f,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[d,f],[/\\(bb(10);/i],[f,[d,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[f,[d,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[f,[d,I+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[f,[d,"webOS"]],[/crkey\\/([\\d\\.]+)/i],[f,[d,z+"cast"]],[/(cros) [\\w]+ ([\\w\\.]+\\w)/i],[[d,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux) ?([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[d,f],[/(sunos) ?([\\w\\.\\d]*)/i],[[d,"Solaris"],f],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\\w\\.]*)/i],[d,f]]},X=function(e,r){if(typeof e===s&&(r=e,e=_),!(this instanceof X))return new X(e,r).getResult();var t=e||(typeof i!==o&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),a=r?function(e,r){var t={};for(var a in e)r[a]&&r[a].length%2==0?t[a]=r[a].concat(e[a]):t[a]=e[a];return t}(Y,r):Y;return this.getBrowser=function(){var e,r={};return r[d]=_,r[f]=_,G.call(r,t,a.browser),r.major=typeof(e=r.version)===c?e.replace(/[^\\d\\.]/g,"").split(".")[0]:_,r},this.getCPU=function(){var e={};return e[p]=_,G.call(e,t,a.cpu),e},this.getDevice=function(){var e={};return e[u]=_,e[l]=_,e[h]=_,G.call(e,t,a.device),e},this.getEngine=function(){var e={};return e[d]=_,e[f]=_,G.call(e,t,a.engine),e},this.getOS=function(){var e={};return e[d]=_,e[f]=_,G.call(e,t,a.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return t},this.setUA=function(e){return t=typeof e===c&&e.length>350?V(e,350):e,this},this.setUA(t),this};X.VERSION="1.0.33",X.BROWSER=D([d,f,"major"]),X.CPU=D([p]),X.DEVICE=D([l,u,h,b,m,v,E,w,g]),X.ENGINE=X.OS=D([d,f]),typeof r!==o?(e.exports&&(r=e.exports=X),r.UAParser=X):t.amdO?(a=function(){return X}.call(r,t,r,e))===_||(e.exports=a):typeof i!==o&&(i.UAParser=X);var q=typeof i!==o&&(i.jQuery||i.Zepto);if(q&&!q.ua){var $=new X;q.ua=$.getResult(),q.ua.get=function(){return $.getUA()},q.ua.set=function(e){$.setUA(e);var r=$.getResult();for(var t in r)q.ua[t]=r[t]}}}("object"==typeof window?window:this)},751:(e,r,t)=>{"use strict";e.exports=t.p+"5a86c8fa5c139c48ad64.wasm"}},r={};function t(a){var i=r[a];if(void 0!==i)return i.exports;var _=r[a]={exports:{}};return e[a].call(_.exports,_,_.exports,t),_.exports}t.m=e,t.amdO={},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var r=t.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var i=a.length-1;i>-1&&!e;)e=a[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\\?.*$/,"").replace(/\\/[^\\/]+$/,"/"),t.p=e})(),t.b=self.location+"",(()=>{"use strict";var e;const r=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(r={}){var t,a,i=r;i.ready=new Promise(((e,r)=>{t=e,a=r}));var _,n=Object.assign({},i),o="./this.program",s=(e,r)=>{throw r},c="";c=self.location.href,e&&(c=e),c=c.startsWith("blob:")?"":c.substr(0,c.replace(/[?#].*/,"").lastIndexOf("/")+1),_=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)};var l,d=i.print||console.log.bind(console),h=i.printErr||console.error.bind(console);Object.assign(i,n),n=null,i.thisProgram&&(o=i.thisProgram),i.quit&&(s=i.quit),i.wasmBinary&&(l=i.wasmBinary),"object"!=typeof WebAssembly&&K("no native wasm support detected");var u,f,p,b,m,E,v,w,g,y,N=!1;function k(){var e=u.buffer;i.HEAP8=p=new Int8Array(e),i.HEAP16=m=new Int16Array(e),i.HEAPU8=b=new Uint8Array(e),i.HEAPU16=E=new Uint16Array(e),i.HEAP32=v=new Int32Array(e),i.HEAPU32=w=new Uint32Array(e),i.HEAPF32=g=new Float32Array(e),i.HEAPF64=y=new Float64Array(e)}var S=[],j=[],z=[];function I(){var e=i.preRun.shift();S.unshift(e)}var R,A,x,L=0,T=null,P=null;function F(){L++,i.monitorRunDependencies?.(L)}function M(){if(L--,i.monitorRunDependencies?.(L),0==L&&(null!==T&&(clearInterval(T),T=null),P)){var e=P;P=null,e()}}function K(e){throw i.onAbort?.(e),h(e="Aborted("+e+")"),N=!0,f=1,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),a(e),e}if(!(R="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")){var C=R;R=i.locateFile?i.locateFile(C,c):c+C}function O(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var B=e=>{for(;0<e.length;)e.shift()(i)},D=i.noExitRuntime||!0,U=[],Z=0,V=0;class G{constructor(e){this.Rj=e,this.Gj=e-24}}var H=e=>{var r=V;if(!r)return ht(0),0;var t=new G(r);w[t.Gj+16>>2]=r;var a=w[t.Gj+4>>2];if(!a)return ht(0),r;for(var i in e){var _=e[i];if(0===_||_===a)break;if(Et(_,a,t.Gj+16))return ht(_),r}return ht(a),r},W=()=>{var e=U.pop();e||K("no exception to throw");var r=e.Rj;throw 0==p[e.Gj+13>>0]&&(U.push(e),p[e.Gj+13>>0]=1,p[e.Gj+12>>0]=0,Z++),V=r},Y=(e,r)=>{for(var t=0,a=e.length-1;0<=a;a--){var i=e[a];"."===i?e.splice(a,1):".."===i?(e.splice(a,1),t++):t&&(e.splice(a,1),t--)}if(r)for(;t;t--)e.unshift("..");return e},X=e=>{var r="/"===e.charAt(0),t="/"===e.substr(-1);return(e=Y(e.split("/").filter((e=>!!e)),!r).join("/"))||r||(e="."),e&&t&&(e+="/"),(r?"/":"")+e},q=e=>{var r=/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/.exec(e).slice(1);return e=r[0],r=r[1],e||r?(r&&=r.substr(0,r.length-1),e+r):"."},$=e=>{if("/"===e)return"/";var r=(e=(e=X(e)).replace(/\\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},J=e=>(J=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);K("initRandomDevice")})())(e);function Q(){for(var e="",r=!1,t=arguments.length-1;-1<=t&&!r;t--){if("string"!=typeof(r=0<=t?arguments[t]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return(r?"/":"")+(e=Y(e.split("/").filter((e=>!!e)),!r).join("/"))||"."}var ee="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,re=(e,r,t)=>{var a=r+t;for(t=r;e[t]&&!(t>=a);)++t;if(16<t-r&&e.buffer&&ee)return ee.decode(e.subarray(r,t));for(a="";r<t;){var i=e[r++];if(128&i){var _=63&e[r++];if(192==(224&i))a+=String.fromCharCode((31&i)<<6|_);else{var n=63&e[r++];65536>(i=224==(240&i)?(15&i)<<12|_<<6|n:(7&i)<<18|_<<12|n<<6|63&e[r++])?a+=String.fromCharCode(i):(i-=65536,a+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else a+=String.fromCharCode(i)}return a},te=[],ae=e=>{for(var r=0,t=0;t<e.length;++t){var a=e.charCodeAt(t);127>=a?r++:2047>=a?r+=2:55296<=a&&57343>=a?(r+=4,++t):r+=3}return r},ie=(e,r,t,a)=>{if(!(0<a))return 0;var i=t;a=t+a-1;for(var _=0;_<e.length;++_){var n=e.charCodeAt(_);if(55296<=n&&57343>=n&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++_)),127>=n){if(t>=a)break;r[t++]=n}else{if(2047>=n){if(t+1>=a)break;r[t++]=192|n>>6}else{if(65535>=n){if(t+2>=a)break;r[t++]=224|n>>12}else{if(t+3>=a)break;r[t++]=240|n>>18,r[t++]=128|n>>12&63}r[t++]=128|n>>6&63}r[t++]=128|63&n}}return r[t]=0,t-i};function _e(e,r){var t=Array(ae(e)+1);return e=ie(e,t,0,t.length),r&&(t.length=e),t}var ne=[];function oe(e,r){ne[e]={input:[],Hj:[],Pj:r},Ce(e,se)}var se={open(e){var r=ne[e.node.$j];if(!r)throw new ge(43);e.Ej=r,e.seekable=!1},close(e){e.Ej.Pj.dk(e.Ej)},dk(e){e.Ej.Pj.dk(e.Ej)},read(e,r,t,a){if(!e.Ej||!e.Ej.Pj.tk)throw new ge(60);for(var i=0,_=0;_<a;_++){try{var n=e.Ej.Pj.tk(e.Ej)}catch(e){throw new ge(29)}if(void 0===n&&0===i)throw new ge(6);if(null==n)break;i++,r[t+_]=n}return i&&(e.node.timestamp=Date.now()),i},write(e,r,t,a){if(!e.Ej||!e.Ej.Pj.nk)throw new ge(60);try{for(var i=0;i<a;i++)e.Ej.Pj.nk(e.Ej,r[t+i])}catch(e){throw new ge(29)}return a&&(e.node.timestamp=Date.now()),i}},ce={tk(){e:{if(!te.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\\n"),!e){e=null;break e}te=_e(e,!0)}e=te.shift()}return e},nk(e,r){null===r||10===r?(d(re(e.Hj,0)),e.Hj=[]):0!=r&&e.Hj.push(r)},dk(e){e.Hj&&0<e.Hj.length&&(d(re(e.Hj,0)),e.Hj=[])},Jk:()=>({$k:25856,bl:5,Zk:191,al:35387,Yk:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),Kk:()=>0,Lk:()=>[24,80]},le={nk(e,r){null===r||10===r?(h(re(e.Hj,0)),e.Hj=[]):0!=r&&e.Hj.push(r)},dk(e){e.Hj&&0<e.Hj.length&&(h(re(e.Hj,0)),e.Hj=[])}};function de(e,r){var t=e.Cj?e.Cj.length:0;t>=r||(r=Math.max(r,t*(1048576>t?2:1.125)>>>0),0!=t&&(r=Math.max(r,256)),t=e.Cj,e.Cj=new Uint8Array(r),0<e.Fj&&e.Cj.set(t.subarray(0,e.Fj),0))}var he={Lj:null,Oj:()=>he.createNode(null,"/",16895,0),createNode(e,r,t,a){if(24576==(61440&t)||4096==(61440&t))throw new ge(63);return he.Lj||(he.Lj={dir:{node:{Kj:he.Bj.Kj,Mj:he.Bj.Mj,Zj:he.Bj.Zj,ek:he.Bj.ek,yk:he.Bj.yk,kk:he.Bj.kk,gk:he.Bj.gk,fk:he.Bj.fk,hk:he.Bj.hk},stream:{Tj:he.Dj.Tj}},file:{node:{Kj:he.Bj.Kj,Mj:he.Bj.Mj},stream:{Tj:he.Dj.Tj,read:he.Dj.read,write:he.Dj.write,bk:he.Dj.bk,vk:he.Dj.vk,xk:he.Dj.xk}},link:{node:{Kj:he.Bj.Kj,Mj:he.Bj.Mj,ak:he.Bj.ak},stream:{}},rk:{node:{Kj:he.Bj.Kj,Mj:he.Bj.Mj},stream:Ke}}),Re((t=Ie(e,r,t,a)).mode)?(t.Bj=he.Lj.dir.node,t.Dj=he.Lj.dir.stream,t.Cj={}):32768==(61440&t.mode)?(t.Bj=he.Lj.file.node,t.Dj=he.Lj.file.stream,t.Fj=0,t.Cj=null):40960==(61440&t.mode)?(t.Bj=he.Lj.link.node,t.Dj=he.Lj.link.stream):8192==(61440&t.mode)&&(t.Bj=he.Lj.rk.node,t.Dj=he.Lj.rk.stream),t.timestamp=Date.now(),e&&(e.Cj[r]=t,e.timestamp=t.timestamp),t},gl:e=>e.Cj?e.Cj.subarray?e.Cj.subarray(0,e.Fj):new Uint8Array(e.Cj):new Uint8Array(0),Bj:{Kj(e){var r={};return r.Dk=8192==(61440&e.mode)?e.id:1,r.uk=e.id,r.mode=e.mode,r.Pk=1,r.uid=0,r.Fk=0,r.$j=e.$j,Re(e.mode)?r.size=4096:32768==(61440&e.mode)?r.size=e.Fj:40960==(61440&e.mode)?r.size=e.link.length:r.size=0,r.zk=new Date(e.timestamp),r.Ok=new Date(e.timestamp),r.Ck=new Date(e.timestamp),r.Ak=4096,r.Bk=Math.ceil(r.size/r.Ak),r},Mj(e,r){if(void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&(r=r.size,e.Fj!=r))if(0==r)e.Cj=null,e.Fj=0;else{var t=e.Cj;e.Cj=new Uint8Array(r),t&&e.Cj.set(t.subarray(0,Math.min(r,e.Fj))),e.Fj=r}},Zj(){throw ye[44]},ek:(e,r,t,a)=>he.createNode(e,r,t,a),yk(e,r,t){if(Re(e.mode)){try{var a=ze(r,t)}catch(e){}if(a)for(var i in a.Cj)throw new ge(55)}delete e.parent.Cj[e.name],e.parent.timestamp=Date.now(),e.name=t,r.Cj[t]=e,r.timestamp=e.parent.timestamp,e.parent=r},kk(e,r){delete e.Cj[r],e.timestamp=Date.now()},gk(e,r){var t,a=ze(e,r);for(t in a.Cj)throw new ge(55);delete e.Cj[r],e.timestamp=Date.now()},fk(e){var r,t=[".",".."];for(r of Object.keys(e.Cj))t.push(r);return t},hk:(e,r,t)=>((e=he.createNode(e,r,41471,0)).link=t,e),ak(e){if(40960!=(61440&e.mode))throw new ge(28);return e.link}},Dj:{read(e,r,t,a,i){var _=e.node.Cj;if(i>=e.node.Fj)return 0;if(8<(e=Math.min(e.node.Fj-i,a))&&_.subarray)r.set(_.subarray(i,i+e),t);else for(a=0;a<e;a++)r[t+a]=_[i+a];return e},write(e,r,t,a,i,_){if(r.buffer===p.buffer&&(_=!1),!a)return 0;if((e=e.node).timestamp=Date.now(),r.subarray&&(!e.Cj||e.Cj.subarray)){if(_)return e.Cj=r.subarray(t,t+a),e.Fj=a;if(0===e.Fj&&0===i)return e.Cj=r.slice(t,t+a),e.Fj=a;if(i+a<=e.Fj)return e.Cj.set(r.subarray(t,t+a),i),a}if(de(e,i+a),e.Cj.subarray&&r.subarray)e.Cj.set(r.subarray(t,t+a),i);else for(_=0;_<a;_++)e.Cj[i+_]=r[t+_];return e.Fj=Math.max(e.Fj,i+a),a},Tj(e,r,t){if(1===t?r+=e.position:2===t&&32768==(61440&e.node.mode)&&(r+=e.node.Fj),0>r)throw new ge(28);return r},bk(e,r,t){de(e.node,r+t),e.node.Fj=Math.max(e.node.Fj,r+t)},vk(e,r,t,a,i){if(32768!=(61440&e.node.mode))throw new ge(43);if(e=e.node.Cj,2&i||e.buffer!==p.buffer){if((0<t||t+r<e.length)&&(e=e.subarray?e.subarray(t,t+r):Array.prototype.slice.call(e,t,t+r)),t=!0,K(),!(r=void 0))throw new ge(48);p.set(e,r)}else t=!1,r=e.byteOffset;return{Gj:r,Wj:t}},xk:(e,r,t,a)=>(he.Dj.write(e,r,0,a,t,!1),0)}},ue=i.preloadPlugins||[],fe=(e,r)=>{var t=0;return e&&(t|=365),r&&(t|=146),t},pe=null,be={},me=[],Ee=1,ve=null,we=!0,ge=class{constructor(e){this.name="ErrnoError",this.Ij=e}},ye={};function Ne(e,r={}){if(!(e=Q(e)))return{path:"",node:null};if(8<(r=Object.assign({sk:!0,pk:0},r)).pk)throw new ge(32);e=e.split("/").filter((e=>!!e));for(var t=pe,a="/",i=0;i<e.length;i++){var _=i===e.length-1;if(_&&r.parent)break;if(t=ze(t,e[i]),a=X(a+"/"+e[i]),t.Xj&&(!_||_&&r.sk)&&(t=t.Xj.root),!_||r.ck)for(_=0;40960==(61440&t.mode);)if(t=Ve(a),t=Ne(a=Q(q(a),t),{pk:r.pk+1}).node,40<_++)throw new ge(32)}return{path:a,node:t}}function ke(e){for(var r;;){if(e===e.parent)return e=e.Oj.wk,r?"/"!==e[e.length-1]?`${e}/${r}`:e+r:e;r=r?`${e.name}/${r}`:e.name,e=e.parent}}function Se(e,r){for(var t=0,a=0;a<r.length;a++)t=(t<<5)-t+r.charCodeAt(a)|0;return(e+t>>>0)%ve.length}function je(e){var r=Se(e.parent.id,e.name);if(ve[r]===e)ve[r]=e.Yj;else for(r=ve[r];r;){if(r.Yj===e){r.Yj=e.Yj;break}r=r.Yj}}function ze(e,r){var t=Re(e.mode)?(t=xe(e,"x"))?t:e.Bj.Zj?0:2:54;if(t)throw new ge(t);for(t=ve[Se(e.id,r)];t;t=t.Yj){var a=t.name;if(t.parent.id===e.id&&a===r)return t}return e.Bj.Zj(e,r)}function Ie(e,r,t,a){return r=Se((e=new it(e,r,t,a)).parent.id,e.name),e.Yj=ve[r],ve[r]=e}function Re(e){return 16384==(61440&e)}function Ae(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r}function xe(e,r){return we?0:!r.includes("r")||292&e.mode?r.includes("w")&&!(146&e.mode)||r.includes("x")&&!(73&e.mode)?2:0:2}function Le(e,r){try{return ze(e,r),20}catch(e){}return xe(e,"wx")}function Te(e,r,t){try{var a=ze(e,r)}catch(e){return e.Ij}if(e=xe(e,"wx"))return e;if(t){if(!Re(a.mode))return 54;if(a===a.parent||"/"===ke(a))return 10}else if(Re(a.mode))return 31;return 0}function Pe(e){if(!(e=me[e]))throw new ge(8);return e}function Fe(e,r=-1){return Xe||((Xe=function(){this.Jj={}}).prototype={},Object.defineProperties(Xe.prototype,{object:{get(){return this.node},set(e){this.node=e}},flags:{get(){return this.Jj.flags},set(e){this.Jj.flags=e}},position:{get(){return this.Jj.position},set(e){this.Jj.position=e}}})),e=Object.assign(new Xe,e),-1==r&&(r=function(){for(var e=0;4096>=e;e++)if(!me[e])return e;throw new ge(33)}()),e.Qj=r,me[r]=e}var Me,Ke={open(e){e.Dj=be[e.node.$j].Dj,e.Dj.open?.(e)},Tj(){throw new ge(70)}};function Ce(e,r){be[e]={Dj:r}}function Oe(e,r){var t="/"===r;if(t&&pe)throw new ge(10);if(!t&&r){var a=Ne(r,{sk:!1});if(r=a.path,(a=a.node).Xj)throw new ge(10);if(!Re(a.mode))throw new ge(54)}r={type:e,kl:{},wk:r,Nk:[]},(e=e.Oj(r)).Oj=r,r.root=e,t?pe=e:a&&(a.Xj=r,a.Oj&&a.Oj.Nk.push(r))}function Be(e,r,t){var a=Ne(e,{parent:!0}).node;if(!(e=$(e))||"."===e||".."===e)throw new ge(28);var i=Le(a,e);if(i)throw new ge(i);if(!a.Bj.ek)throw new ge(63);return a.Bj.ek(a,e,r,t)}function De(e){return Be(e,16895,0)}function Ue(e,r,t){void 0===t&&(t=r,r=438),Be(e,8192|r,t)}function Ze(e,r){if(!Q(e))throw new ge(44);var t=Ne(r,{parent:!0}).node;if(!t)throw new ge(44);var a=Le(t,r=$(r));if(a)throw new ge(a);if(!t.Bj.hk)throw new ge(63);t.Bj.hk(t,r,e)}function Ve(e){if(!(e=Ne(e).node))throw new ge(44);if(!e.Bj.ak)throw new ge(28);return Q(ke(e.parent),e.Bj.ak(e))}function Ge(e,r,t){if(""===e)throw new ge(44);if("string"==typeof r){var a={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===a)throw Error(`Unknown file open mode: ${r}`);r=a}if(t=64&r?4095&(void 0===t?438:t)|32768:0,"object"==typeof e)var _=e;else{e=X(e);try{_=Ne(e,{ck:!(131072&r)}).node}catch(e){}}if(a=!1,64&r)if(_){if(128&r)throw new ge(20)}else _=Be(e,t,0),a=!0;if(!_)throw new ge(44);if(8192==(61440&_.mode)&&(r&=-513),65536&r&&!Re(_.mode))throw new ge(54);if(!a&&(t=_?40960==(61440&_.mode)?32:Re(_.mode)&&("r"!==Ae(r)||512&r)?31:xe(_,Ae(r)):44))throw new ge(t);if(512&r&&!a){if(!(t="string"==typeof(t=_)?Ne(t,{ck:!0}).node:t).Bj.Mj)throw new ge(63);if(Re(t.mode))throw new ge(31);if(32768!=(61440&t.mode))throw new ge(28);if(a=xe(t,"w"))throw new ge(a);t.Bj.Mj(t,{size:0,timestamp:Date.now()})}return r&=-131713,(_=Fe({node:_,path:ke(_),flags:r,seekable:!0,position:0,Dj:_.Dj,Uk:[],error:!1})).Dj.open&&_.Dj.open(_),!i.logReadFiles||1&r||(qe||={},e in qe||(qe[e]=1)),_}function He(e,r,t){if(null===e.Qj)throw new ge(8);if(!e.seekable||!e.Dj.Tj)throw new ge(70);if(0!=t&&1!=t&&2!=t)throw new ge(28);return e.position=e.Dj.Tj(e,r,t),e.Uk=[],e.position}function We(e,r,t){e=X("/dev/"+e);var a=fe(!!r,!!t);Ye||=64;var i=Ye++<<8|0;Ce(i,{open(e){e.seekable=!1},close(){t?.buffer?.length&&t(10)},read(e,t,a,i){for(var _=0,n=0;n<i;n++){try{var o=r()}catch(e){throw new ge(29)}if(void 0===o&&0===_)throw new ge(6);if(null==o)break;_++,t[a+n]=o}return _&&(e.node.timestamp=Date.now()),_},write(e,r,a,i){for(var _=0;_<i;_++)try{t(r[a+_])}catch(e){throw new ge(29)}return i&&(e.node.timestamp=Date.now()),_}}),Ue(e,a,i)}var Ye,Xe,qe,$e={},Je=(e,r)=>e?re(b,e,r):"";function Qe(e,r){if("/"===r.charAt(0))return r;if(e=-100===e?"/":Pe(e).path,0==r.length)throw new ge(44);return X(e+"/"+r)}var er=void 0;function rr(){var e=v[+er>>2];return er+=4,e}var tr,ar=e=>0==e%4&&(0!=e%100||0==e%400),ir=[0,31,60,91,121,152,182,213,244,274,305,335],_r=[0,31,59,90,120,151,181,212,243,273,304,334],nr=e=>{var r=ae(e)+1,t=ct(r);return t&&ie(e,b,t,r),t},or=e=>{f=e,D||(i.onExit?.(e),N=!0),s(e,new O(e))},sr=e=>{if(!N)try{if(e(),!D)try{f=e=f,or(e)}catch(e){e instanceof O||"unwind"==e||s(1,e)}}catch(e){e instanceof O||"unwind"==e||s(1,e)}},cr=(e,r)=>{setTimeout((()=>{sr(e)}),r)};tr=()=>performance.now();var lr,dr,hr,ur=!1,fr=null,pr=0,br=null,mr=0,Er=0,vr=0,wr=[],gr={},yr=!1,Nr=!1,kr=[],Sr=!1,jr=void 0,zr=void 0;function Ir(){return!!yr&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0)}var Rr=0;function Ar(e){if("function"==typeof requestAnimationFrame)requestAnimationFrame(e);else{var r=Date.now();if(0===Rr)Rr=r+1e3/60;else for(;r+2>=Rr;)Rr+=1e3/60;setTimeout(e,Math.max(Rr-r,0))}}function xr(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]}var Lr=[];function Tr(){var e=i.canvas;Lr.forEach((r=>r(e.width,e.height)))}function Pr(e,r,t){r&&t?(e.Vk=r,e.Gk=t):(r=e.Vk,t=e.Gk);var a=r,_=t;if(i.forcedAspectRatio&&0<i.forcedAspectRatio&&(a/_<i.forcedAspectRatio?a=Math.round(_*i.forcedAspectRatio):_=Math.round(a/i.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var n=Math.min(screen.width/a,screen.height/_);a=Math.round(a*n),_=Math.round(_*n)}zr?(e.width!=a&&(e.width=a),e.height!=_&&(e.height=_),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=r&&(e.width=r),e.height!=t&&(e.height=t),void 0!==e.style&&(a!=r||_!=t?(e.style.setProperty("width",a+"px","important"),e.style.setProperty("height",_+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}var Fr,Mr,Kr,Cr,Or,Br=[],Dr=e=>{var r=Br[e];return r||(e>=Br.length&&(Br.length=e+1),Br[e]=r=Kr.get(e)),r};function Ur(e,r,t,a,i){function _(){var r=0,t=0;y.response&&v&&0===w[e+12>>2]&&(t=y.response.byteLength),0<t&&(r=ct(t),b.set(new Uint8Array(y.response),r)),w[e+12>>2]=r,Zr(e+16,t),Zr(e+24,0),(r=y.response?y.response.byteLength:0)&&Zr(e+32,r),E[e+40>>1]=y.readyState,E[e+42>>1]=y.status,y.statusText&&ie(y.statusText,b,e+44,64)}var n=w[e+8>>2];if(n){var o=n?re(b,n):"",s=e+112,c=Je(s+0);c||="GET";var l=w[s+56>>2],d=w[s+68>>2],h=w[s+72>>2];n=w[s+76>>2];var u=w[s+80>>2],f=w[s+84>>2],p=w[s+88>>2],m=w[s+52>>2],v=!!(1&m),g=!!(2&m);m=!!(64&m),d=d?d?re(b,d):"":void 0,h=h?h?re(b,h):"":void 0;var y=new XMLHttpRequest;if(y.withCredentials=!!b[s+60>>0],y.open(c,o,!m,d,h),m||(y.timeout=l),y.Jj=o,y.responseType="arraybuffer",u&&(o=u?re(b,u):"",y.overrideMimeType(o)),n)for(;(s=w[n>>2])&&(o=w[n+4>>2]);)n+=8,s=s?re(b,s):"",o=o?re(b,o):"",y.setRequestHeader(s,o);var N=Cr.bk(y);w[e>>2]=N,n=f&&p?b.slice(f,f+p):null,y.onload=a=>{Cr.has(N)&&(_(),200<=y.status&&300>y.status?r?.(e,y,a):t?.(e,y,a))},y.onerror=r=>{Cr.has(N)&&(_(),t?.(e,y,r))},y.ontimeout=r=>{Cr.has(N)&&t?.(e,y,r)},y.onprogress=r=>{if(Cr.has(N)){var t=v&&g&&y.response?y.response.byteLength:0,i=0;0<t&&v&&g&&(i=ct(t),b.set(new Uint8Array(y.response),i)),w[e+12>>2]=i,Zr(e+16,t),Zr(e+24,r.loaded-t),Zr(e+32,r.total),E[e+40>>1]=y.readyState,3<=y.readyState&&0===y.status&&0<r.loaded&&(y.status=200),E[e+42>>1]=y.status,y.statusText&&ie(y.statusText,b,e+44,64),a?.(e,y,r),i&&st(i)}},y.onreadystatechange=r=>{Cr.has(N)&&(E[e+40>>1]=y.readyState,2<=y.readyState&&(E[e+42>>1]=y.status),i?.(e,y,r))};try{y.send(n)}catch(r){t?.(e,y,r)}}else t(e,0,"no url specified!")}var Zr=(e,r)=>{w[e>>2]=r,w[e+4>>2]=(r-w[e>>2])/4294967296};function Vr(e,r,t,a){var i=Or;if(i){var _=w[e+112+64>>2];_||=w[e+8>>2];var n=_?re(b,_):"";try{var o=i.transaction(["FILES"],"readwrite").objectStore("FILES").put(r,n);o.onsuccess=()=>{E[e+40>>1]=4,E[e+42>>1]=200,ie("OK",b,e+44,64),t(e,0,n)},o.onerror=r=>{E[e+40>>1]=4,E[e+42>>1]=413,ie("Payload Too Large",b,e+44,64),a(e,0,r)}}catch(r){a(e,0,r)}}else a(e,0,"IndexedDB not available!")}var Gr,Hr,Wr,Yr={},Xr=()=>{if(!Gr){var e,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:o||"./this.program"};for(e in Yr)void 0===Yr[e]?delete r[e]:r[e]=Yr[e];var t=[];for(e in r)t.push(`${e}=${r[e]}`);Gr=t}return Gr},qr=1,$r=[],Jr=[],Qr=e=>{for(var r=qr++,t=e.length;t<r;t++)e[t]=null;return r},et=e=>{if(e||=Wr,!e.Hk){e.Hk=!0;var r=e.lk;(e=>{var r=e.getExtension("ANGLE_instanced_arrays");r&&(e.vertexAttribDivisor=(e,t)=>r.vertexAttribDivisorANGLE(e,t),e.drawArraysInstanced=(e,t,a,i)=>r.drawArraysInstancedANGLE(e,t,a,i),e.drawElementsInstanced=(e,t,a,i,_)=>r.drawElementsInstancedANGLE(e,t,a,i,_))})(r),(e=>{var r=e.getExtension("OES_vertex_array_object");r&&(e.createVertexArray=()=>r.createVertexArrayOES(),e.deleteVertexArray=e=>r.deleteVertexArrayOES(e),e.bindVertexArray=e=>r.bindVertexArrayOES(e),e.isVertexArray=e=>r.isVertexArrayOES(e))})(r),(e=>{var r=e.getExtension("WEBGL_draw_buffers");r&&(e.drawBuffers=(e,t)=>r.drawBuffersWEBGL(e,t))})(r),r.dl=r.getExtension("EXT_disjoint_timer_query"),r.hl=r.getExtension("WEBGL_multi_draw"),function(e){var r="ANGLE_instanced_arrays EXT_blend_minmax EXT_disjoint_timer_query EXT_frag_depth EXT_shader_texture_lod EXT_sRGB OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_depth_texture WEBGL_draw_buffers EXT_color_buffer_half_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic KHR_parallel_shader_compile OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context WEBGL_multi_draw".split(" ");return(e.getSupportedExtensions()||[]).filter((e=>r.includes(e)))}(r).forEach((e=>{e.includes("lose_context")||e.includes("debug")||r.getExtension(e)}))}},rt={},tt=[31,29,31,30,31,30,31,31,30,31,30,31],at=[31,28,31,30,31,30,31,31,30,31,30,31];function it(e,r,t,a){e||=this,this.parent=e,this.Oj=e.Oj,this.Xj=null,this.id=Ee++,this.name=r,this.mode=t,this.Bj={},this.Dj={},this.$j=a}Object.defineProperties(it.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}}}),[44].forEach((e=>{ye[e]=new ge(e),ye[e].stack="<generic error, no stack>"})),ve=Array(4096),Oe(he,"/"),De("/tmp"),De("/home"),De("/home/web_user"),function(){De("/dev"),Ce(259,{read:()=>0,write:(e,r,t,a)=>a}),Ue("/dev/null",259),oe(1280,ce),oe(1536,le),Ue("/dev/tty",1280),Ue("/dev/tty1",1536);var e=new Uint8Array(1024),r=0,t=()=>(0===r&&(r=J(e).byteLength),e[--r]);We("random",t),We("urandom",t),De("/dev/shm"),De("/dev/shm/tmp")}(),function(){De("/proc");var e=De("/proc/self");De("/proc/self/fd"),Oe({Oj(){var r=Ie(e,"fd",16895,73);return r.Bj={Zj(e,r){var t=Pe(+r);return(e={parent:null,Oj:{wk:"fake"},Bj:{ak:()=>t.path}}).parent=e}},r}},"/proc/self/fd")}(),i.requestFullscreen=function(e,r){function t(){yr=!1;var e=a.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(a.exitFullscreen=Ir,jr&&a.requestPointerLock(),yr=!0,zr?("undefined"!=typeof SDL&&(v[SDL.screen>>2]=8388608|w[SDL.screen>>2]),Pr(i.canvas),Tr()):Pr(a)):(e.parentNode.insertBefore(a,e),e.parentNode.removeChild(e),zr?("undefined"!=typeof SDL&&(v[SDL.screen>>2]=-8388609&w[SDL.screen>>2]),Pr(i.canvas),Tr()):Pr(a)),i.onFullScreen?.(yr),i.onFullscreen?.(yr)}void 0===(jr=e)&&(jr=!0),void 0===(zr=r)&&(zr=!1);var a=i.canvas;Sr||(Sr=!0,document.addEventListener("fullscreenchange",t,!1),document.addEventListener("mozfullscreenchange",t,!1),document.addEventListener("webkitfullscreenchange",t,!1),document.addEventListener("MSFullscreenChange",t,!1));var _=document.createElement("div");a.parentNode.insertBefore(_,a),_.appendChild(a),_.requestFullscreen=_.requestFullscreen||_.mozRequestFullScreen||_.msRequestFullscreen||(_.webkitRequestFullscreen?()=>_.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(_.webkitRequestFullScreen?()=>_.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),_.requestFullscreen()},i.requestAnimationFrame=Ar,i.setCanvasSize=function(e,r,t){Pr(i.canvas,e,r),t||Tr()},i.pauseMainLoop=function(){fr=null,pr++},i.resumeMainLoop=function(){pr++;var e=mr,r=Er,t=br;br=null,(e=>{!br||K("emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),br=e;var r=pr;ur=!1,dr=function(){if(!N)if(0<wr.length){var t=wr.shift();if(t.fl(t.Xk),hr){var a=hr,_=0==a%1?a-1:Math.floor(a);hr=t.cl?_:(8*a+(_+.5))/9}i.setStatus&&(t=i.statusMessage||"Please wait...",_=gr.el,(a=hr)?a<_?i.setStatus(t+" ("+(_-a)+"/"+_+")"):i.setStatus(t):i.setStatus("")),r<pr||setTimeout(dr,0)}else r<pr||(vr=vr+1|0,1==mr&&1<Er&&0!=vr%Er?fr():(0==mr&&(lr=tr()),N||i.preMainLoop&&!1===i.preMainLoop()||(sr(e),i.postMainLoop?.()),r<pr||("object"==typeof SDL&&SDL.audio?.ll?.(),fr())))}})(t),((e,r)=>{if(mr=e,Er=r,br)if(ur||=!0,0==e)fr=function(){var e=0|Math.max(0,lr+r-tr());setTimeout(dr,e)};else if(1==e)fr=function(){Ar(dr)};else if(2==e){if(void 0===Fr)if("undefined"==typeof setImmediate){var t=[];addEventListener("message",(e=>{"setimmediate"!==e.data&&"setimmediate"!==e.data.target||(e.stopPropagation(),t.shift()())}),!0),Fr=function(e){t.push(e),void 0===i.setImmediates&&(i.setImmediates=[]),i.setImmediates.push(e),postMessage({target:"setimmediate"})}}else Fr=setImmediate;fr=function(){Fr(dr)}}})(e,r),fr()},i.getUserMedia=function(e){let r;(r=window).getUserMedia||(r.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},i.createContext=function(e,r,t,a){if(r&&i.mk&&e==i.canvas)return i.mk;var _;if(r){var n={antialias:!1,alpha:!1,Mk:1};if(a)for(var o in a)n[o]=a[o];if(void 0!==rt&&(_=((e,r)=>{e.Jj||(e.Jj=e.getContext,e.getContext=function(r,t){return"webgl"==r==(t=e.Jj(r,t))instanceof WebGLRenderingContext?t:null});var t=e.getContext("webgl",r);return t?((e,r)=>{var t=Qr(Jr),a={handle:t,attributes:r,version:r.Mk,lk:e};return e.canvas&&(e.canvas.Wk=a),Jr[t]=a,(void 0===r.Ek||r.Ek)&&et(a),t})(t,r):0})(e,n)))var s=Jr[_].lk}else s=e.getContext("2d");return s?(t&&(r||void 0===_t||K("cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),i.mk=s,r&&(Wr=Jr[_],i.mk=_t=Wr?.lk),i.nl=r,kr.forEach((e=>e())),function(){function e(){Nr=document.pointerLockElement===i.canvas||document.mozPointerLockElement===i.canvas||document.webkitPointerLockElement===i.canvas||document.msPointerLockElement===i.canvas}if(!Mr){Mr=!0,ue.push({canHandle:function(e){return!i.jl&&/\\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,r,t,a){var i=new Blob([e],{type:xr(r)});i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:xr(r)}));var _=URL.createObjectURL(i),n=new Image;n.onload=()=>{n.complete||K(`Image ${r} could not be decoded`);var a=document.createElement("canvas");a.width=n.width,a.height=n.height,a.getContext("2d").drawImage(n,0,0),URL.revokeObjectURL(_),t?.(e)},n.onerror=()=>{h(`Image ${_} could not be decoded`),a?.()},n.src=_}}),ue.push({canHandle:function(e){return!i.il&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,r,t){function a(){i||(i=!0,t?.(e))}var i=!1,_=URL.createObjectURL(new Blob([e],{type:xr(r)})),n=new Audio;n.addEventListener("canplaythrough",(()=>a()),!1),n.onerror=function(){if(!i){h(`warning: browser could not fully decode audio ${r}, trying slower base64 approach`);for(var t="",_=0,o=0,s=0;s<e.length;s++)for(_=_<<8|e[s],o+=8;6<=o;){var c=_>>o-6&63;o-=6,t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[c]}2==o?(t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(3&_)<<4],t+="=="):4==o&&(t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(15&_)<<2],t+="="),n.src="data:audio/x-"+r.substr(-3)+";base64,"+t,a()}},n.src=_,cr((()=>{a()}),1e4)}});var r=i.canvas;r&&(r.requestPointerLock=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||(()=>{}),r.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||(()=>{}),r.exitPointerLock=r.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",e,!1),document.addEventListener("mozpointerlockchange",e,!1),document.addEventListener("webkitpointerlockchange",e,!1),document.addEventListener("mspointerlockchange",e,!1),i.elementPointerLock&&r.addEventListener("click",(e=>{!Nr&&i.canvas.requestPointerLock&&(i.canvas.requestPointerLock(),e.preventDefault())}),!1))}}()),s):null},Cr=new class{constructor(){this.Wj=[void 0],this.Jj=[]}get(e){return this.Wj[e]}has(e){return void 0!==this.Wj[e]}bk(e){var r=this.Jj.pop()||this.Wj.length;return this.Wj[r]=e,r}},F(),function(e,r){try{var t=indexedDB.open("emscripten_filesystem",1)}catch(e){return void r()}t.onupgradeneeded=e=>{(e=e.target.result).objectStoreNames.contains("FILES")&&e.deleteObjectStore("FILES"),e.createObjectStore("FILES")},t.onsuccess=e=>(e=>{Or=e,M()})(e.target.result),t.onerror=r}(0,(()=>{Or=!1,M()}));var _t,nt={r:e=>{if(e=new G(e),0==p[e.Gj+12>>0]&&(p[e.Gj+12>>0]=1,Z--),p[e.Gj+13>>0]=0,U.push(e),mt(e.Rj),vt(w[e.Gj+4>>2]))e=w[e.Rj>>2];else{var r=w[e.Gj+16>>2];e=0!==r?r:e.Rj}return e},dc:()=>{if(!U.length)return 0;var e=U[U.length-1];return mt(e.Rj),e.Rj},w:()=>{dt(0,0);var e=U.pop();bt(e.Rj),V=0},a:()=>H([]),i:e=>H([e]),D:(e,r)=>H([e,r]),Ka:W,cc:e=>{e&&(e=new G(e),U.push(e),p[e.Gj+13>>0]=1,W())},n:(e,r,t)=>{var a=new G(e);throw w[a.Gj+16>>2]=0,w[a.Gj+4>>2]=r,w[a.Gj+8>>2]=t,Z++,V=e},ta:()=>Z,c:e=>{throw V||=e,V},T:function(e,r,t){er=t;try{var a=Pe(e);switch(r){case 0:var i=rr();if(0>i)break;for(;me[i];)i++;return Fe(a,i).Qj;case 1:case 2:case 13:case 14:return 0;case 3:return a.flags;case 4:return i=rr(),a.flags|=i,0;case 12:return i=rr(),m[i+0>>1]=2,0}return-28}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},jc:function(e,r,t){try{var a=Pe(e);if(!a.Sj){var i=Ne(a.path,{ck:!0}).node;if(!i.Bj.fk)throw new ge(54);var _=i.Bj.fk(i);a.Sj=_}e=0;for(var n=He(a,0,1),o=Math.floor(n/280);o<a.Sj.length&&e+280<=t;){var s=a.Sj[o];if("."===s)var c=a.node.id,l=4;else if(".."===s)c=Ne(a.path,{parent:!0}).node.id,l=4;else{var d=ze(a.node,s);c=d.id,l=8192==(61440&d.mode)?2:Re(d.mode)?4:40960==(61440&d.mode)?10:8}x=[c>>>0,(A=c,1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+e>>2]=x[0],v[r+e+4>>2]=x[1],x=[280*(o+1)>>>0,(A=280*(o+1),1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+e+8>>2]=x[0],v[r+e+12>>2]=x[1],m[r+e+16>>1]=280,p[r+e+18>>0]=l,ie(s,b,r+e+19,256),e+=280,o+=1}return He(a,280*o,0),e}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},qc:function(e,r,t){er=t;try{var a=Pe(e);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return a.Ej?0:-59;case 21505:if(!a.Ej)return-59;if(a.Ej.Pj.Jk){e=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var i=rr();v[i>>2]=25856,v[i+4>>2]=5,v[i+8>>2]=191,v[i+12>>2]=35387;for(var _=0;32>_;_++)p[i+_+17>>0]=e[_]||0}return 0;case 21506:case 21507:case 21508:if(!a.Ej)return-59;if(a.Ej.Pj.Kk)for(i=rr(),e=[],_=0;32>_;_++)e.push(p[i+_+17>>0]);return 0;case 21519:return a.Ej?(i=rr(),v[i>>2]=0):-59;case 21520:return a.Ej?-28:-59;case 21531:if(i=rr(),!a.Dj.Ik)throw new ge(59);return a.Dj.Ik(a,r,i);case 21523:return a.Ej?(a.Ej.Pj.Lk&&(_=[24,80],i=rr(),m[i>>1]=_[0],m[i+2>>1]=_[1]),0):-59;default:return-28}}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},Oa:function(e,r,t,a){er=a;try{return Ge(r=Qe(e,r=r?re(b,r):""),t,a?rr():0).Qj}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},hc:function(e,r,t,a){try{if(r=Qe(e,r=r?re(b,r):""),0>=a)return-28;var i=Ve(r),_=Math.min(a,ae(i)),n=p[t+_];return ie(i,b,t,a+1),p[t+_]=n,_}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},mc:function(e,r){try{var t=Ne(e=e?re(b,e):"",{ck:!0}).node;if(!t)throw new ge(44);if(!t.Bj.Kj)throw new ge(63);var a=t.Bj.Kj(t);v[r>>2]=a.Dk,v[r+4>>2]=a.mode,w[r+8>>2]=a.Pk,v[r+12>>2]=a.uid,v[r+16>>2]=a.Fk,v[r+20>>2]=a.$j,x=[a.size>>>0,(A=a.size,1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+24>>2]=x[0],v[r+28>>2]=x[1],v[r+32>>2]=4096,v[r+36>>2]=a.Bk;var i=a.zk.getTime(),_=a.Ok.getTime(),n=a.Ck.getTime();return x=[Math.floor(i/1e3)>>>0,(A=Math.floor(i/1e3),1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+40>>2]=x[0],v[r+44>>2]=x[1],w[r+48>>2]=i%1e3*1e3,x=[Math.floor(_/1e3)>>>0,(A=Math.floor(_/1e3),1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+56>>2]=x[0],v[r+60>>2]=x[1],w[r+64>>2]=_%1e3*1e3,x=[Math.floor(n/1e3)>>>0,(A=Math.floor(n/1e3),1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+72>>2]=x[0],v[r+76>>2]=x[1],w[r+80>>2]=n%1e3*1e3,x=[a.uk>>>0,(A=a.uk,1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[r+88>>2]=x[0],v[r+92>>2]=x[1],0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},ic:function(e,r){try{return Ze(e=e?re(b,e):"",r=r?re(b,r):""),0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},fc:function(e,r,t){try{if(r=Qe(e,r=r?re(b,r):""),0===t){var a=r,i=Ne(a,{parent:!0}).node;if(!i)throw new ge(44);var _=$(a),n=ze(i,_),o=Te(i,_,!1);if(o)throw new ge(o);if(!i.Bj.kk)throw new ge(63);if(n.Xj)throw new ge(10);i.Bj.kk(i,_),je(n)}else if(512===t){a=Ne(i=r,{parent:!0}).node;var s=$(i),c=ze(a,s),l=Te(a,s,!0);if(l)throw new ge(l);if(!a.Bj.gk)throw new ge(63);if(c.Xj)throw new ge(10);a.Bj.gk(a,s),je(c)}else K("Invalid flags passed to unlinkat");return 0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.Ij}},rc:function(e){if(Cr.has(e)){var r=Cr.get(e),t=Cr;t.Wj[e]=void 0,t.Jj.push(e),0<r.readyState&&4>r.readyState&&r.abort()}},oc:()=>1,xb:function(e,r,t){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),v[t>>2]=e.getUTCSeconds(),v[t+4>>2]=e.getUTCMinutes(),v[t+8>>2]=e.getUTCHours(),v[t+12>>2]=e.getUTCDate(),v[t+16>>2]=e.getUTCMonth(),v[t+20>>2]=e.getUTCFullYear()-1900,v[t+24>>2]=e.getUTCDay(),v[t+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},yb:function(e,r,t){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),v[t>>2]=e.getSeconds(),v[t+4>>2]=e.getMinutes(),v[t+8>>2]=e.getHours(),v[t+12>>2]=e.getDate(),v[t+16>>2]=e.getMonth(),v[t+20>>2]=e.getFullYear()-1900,v[t+24>>2]=e.getDay(),v[t+28>>2]=(ar(e.getFullYear())?ir:_r)[e.getMonth()]+e.getDate()-1|0,v[t+36>>2]=-60*e.getTimezoneOffset(),r=new Date(e.getFullYear(),6,1).getTimezoneOffset();var a=new Date(e.getFullYear(),0,1).getTimezoneOffset();v[t+32>>2]=0|(r!=a&&e.getTimezoneOffset()==Math.min(a,r))},gc:(e,r,t)=>{function a(e){return(e=e.toTimeString().match(/\\(([A-Za-z ]+)\\)$/))?e[1]:"GMT"}var i=(new Date).getFullYear(),_=new Date(i,0,1),n=new Date(i,6,1);i=_.getTimezoneOffset();var o=n.getTimezoneOffset();w[e>>2]=60*Math.max(i,o),v[r>>2]=Number(i!=o),e=a(_),r=a(n),e=nr(e),r=nr(r),o<i?(w[t>>2]=e,w[t+4>>2]=r):(w[t>>2]=r,w[t+4>>2]=e)},G:()=>{K("")},sb:function(){self.postMessage({t:"gfx"})},ub:function(){var e=new URL(location.origin).hostname;if(0===e.length&&(e=new URL(location.href.replace("blob:","")).hostname),/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(e))0===e.indexOf("10.")&&(e="10.*"),0===e.indexOf("192.168.")&&(e="192.168.*"),0===e.indexOf("172.")&&(e="172.*"),0===e.indexOf("127.")&&(e="127.*");else{var r=new RegExp("("+String.fromCharCode(92)+".ngrok"+String.fromCharCode(92)+".io)$","i");r.test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".ngrok-free"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".arweb"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.arweb.app")}r=ae(e)+1;var t=ct(r);return ie(e,b,t,r+1),t},tb:function(){self.postMessage({t:"licerr"})},Ja:(e,r,t)=>{function a(){Dr(e)(r)}0<=t?cr(a,t):function(e){Ar((()=>{sr(e)}))}(a)},ua:()=>Date.now(),ac:()=>2147483648,nc:tr,tc:()=>!1,pc:(e,r,t)=>b.copyWithin(e,r,r+t),ec:e=>{var r=b.length;if(2147483648<(e>>>=0))return!1;for(var t=1;4>=t;t*=2){var a=r*(1+.2/t);a=Math.min(a,e+100663296);var i=Math;a=Math.max(e,a);e:{i=(i.min.call(i,2147483648,a+(65536-a%65536)%65536)-u.buffer.byteLength+65535)/65536;try{u.grow(i),k();var _=1;break e}catch(e){}_=void 0}if(_)return!0}return!1},sc:function(e,r,t,a,i){function _(e){h?e():sr(e)}var n=e+112,o=w[n+36>>2],s=w[n+40>>2],c=w[n+44>>2],l=w[n+48>>2],d=w[n+52>>2],h=!!(64&d),u=e=>{_((()=>{o?Dr(o)(e):r?.(e)}))},f=e=>{_((()=>{c?Dr(c)(e):a?.(e)}))},p=e=>{_((()=>{s?Dr(s)(e):t?.(e)}))},m=e=>{_((()=>{l?Dr(l)(e):i?.(e)}))},v=e=>{Ur(e,u,p,f,m)},g=(e,t)=>{Vr(e,t.response,(e=>{_((()=>{o?Dr(o)(e):r?.(e)}))}),(e=>{_((()=>{o?Dr(o)(e):r?.(e)}))}))},y=Je(n+0),N=!!(16&d),k=!!(4&d);if(d=!!(32&d),"EM_IDB_STORE"===y)v=w[n+84>>2],Vr(e,b.slice(v,v+w[n+88>>2]),u,p);else if("EM_IDB_DELETE"===y)!function(e,r,t){var a=Or;if(a){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(b,i):"";try{var _=a.transaction(["FILES"],"readwrite").objectStore("FILES").delete(i);_.onsuccess=t=>{t=t.target.result,w[e+12>>2]=0,Zr(e+16,0),Zr(e+24,0),Zr(e+32,0),E[e+40>>1]=4,E[e+42>>1]=200,ie("OK",b,e+44,64),r(e,0,t)},_.onerror=r=>{E[e+40>>1]=4,E[e+42>>1]=404,ie("Not Found",b,e+44,64),t(e,0,r)}}catch(r){t(e,0,r)}}else t(e,0,"IndexedDB not available!")}(e,u,p);else if(N){if(d)return 0;Ur(e,k?g:u,p,f,m)}else!function(e,r,t){var a=Or;if(a){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(b,i):"";try{var _=a.transaction(["FILES"],"readonly").objectStore("FILES").get(i);_.onsuccess=a=>{if(a.target.result){var i=(a=a.target.result).byteLength||a.length,_=ct(i);b.set(new Uint8Array(a),_),w[e+12>>2]=_,Zr(e+16,i),Zr(e+24,0),Zr(e+32,i),E[e+40>>1]=4,E[e+42>>1]=200,ie("OK",b,e+44,64),r(e,0,a)}else E[e+40>>1]=4,E[e+42>>1]=404,ie("Not Found",b,e+44,64),t(e,0,"no data")},_.onerror=r=>{E[e+40>>1]=4,E[e+42>>1]=404,ie("Not Found",b,e+44,64),t(e,0,r)}}catch(r){t(e,0,r)}}else t(e,0,"IndexedDB not available!")}(e,u,d?p:k?e=>{Ur(e,g,p,f,m)}:v);return e},kc:(e,r)=>{var t=0;return Xr().forEach(((a,i)=>{var _=r+t;for(i=w[e+4*i>>2]=_,_=0;_<a.length;++_)p[i++>>0]=a.charCodeAt(_);p[i>>0]=0,t+=a.length+1})),0},lc:(e,r)=>{var t=Xr();w[e>>2]=t.length;var a=0;return t.forEach((e=>a+=e.length+1)),w[r>>2]=a,0},uc:e=>{f=e,or(e)},ca:function(e){try{var r=Pe(e);if(null===r.Qj)throw new ge(8);r.Sj&&(r.Sj=null);try{r.Dj.close&&r.Dj.close(r)}catch(e){throw e}finally{me[r.Qj]=null}return r.Qj=null,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.Ij}},Pa:function(e,r,t,a){try{e:{var i=Pe(e);e=r;for(var _,n=r=0;n<t;n++){var o=w[e>>2],s=w[e+4>>2];e+=8;var c=i,l=_,d=p;if(0>s||0>l)throw new ge(28);if(null===c.Qj)throw new ge(8);if(1==(2097155&c.flags))throw new ge(8);if(Re(c.node.mode))throw new ge(31);if(!c.Dj.read)throw new ge(28);var h=void 0!==l;if(h){if(!c.seekable)throw new ge(70)}else l=c.position;var u=c.Dj.read(c,d,o,s,l);h||(c.position+=u);var f=u;if(0>f){var b=-1;break e}if(r+=f,f<s)break;void 0!==_&&(_+=f)}b=r}return w[a>>2]=b,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.Ij}},zb:function(e,r,t,a,i){r=t+2097152>>>0<4194305-!!r?(r>>>0)+4294967296*t:NaN;try{if(isNaN(r))return 61;var _=Pe(e);return He(_,r,a),x=[_.position>>>0,(A=_.position,1<=+Math.abs(A)?0<A?+Math.floor(A/4294967296)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)],v[i>>2]=x[0],v[i+4>>2]=x[1],_.Sj&&0===r&&0===a&&(_.Sj=null),0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.Ij}},va:function(e,r,t,a){try{e:{var i=Pe(e);e=r;for(var _,n=r=0;n<t;n++){var o=w[e>>2],s=w[e+4>>2];e+=8;var c=i,l=o,d=s,h=_,u=p;if(0>d||0>h)throw new ge(28);if(null===c.Qj)throw new ge(8);if(0==(2097155&c.flags))throw new ge(8);if(Re(c.node.mode))throw new ge(31);if(!c.Dj.write)throw new ge(28);c.seekable&&1024&c.flags&&He(c,0,2);var f=void 0!==h;if(f){if(!c.seekable)throw new ge(70)}else h=c.position;var b=c.Dj.write(c,u,l,d,h,void 0);f||(c.position+=b);var m=b;if(0>m){var E=-1;break e}r+=m,void 0!==_&&(_+=m)}E=r}return w[a>>2]=E,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.Ij}},Ma:(e,r)=>{_t.bindTexture(e,$r[r])},Na:(e,r)=>{for(var t=0;t<e;t++){var a=_t.createTexture(),i=a&&Qr($r);a?(a.name=i,$r[i]=a):Hr||=1282,v[r+4*t>>2]=i}},ra:(e,r,t,a,i,_,n,o,s)=>{var c=_t,l=c.texImage2D;if(s){var d=o-5120;d=1==d?b:4==d?v:6==d?g:5==d||28922==d?w:E;var h=31-Math.clz32(d.BYTES_PER_ELEMENT);s=d.subarray(s>>h,s+i*(a*({5:3,6:4,8:2,29502:3,29504:4}[n-6402]||1)*(1<<h)+4-1&-4)>>h)}else s=null;l.call(c,e,r,t,a,i,_,n,o,s)},sa:function(e,r,t){_t.texParameteri(e,r,t)},z:function(e){var r=ut();try{return Dr(e)()}catch(e){if(ft(r),e!==e+0)throw e;dt(1,0)}},da:function(e,r){var t=ut();try{return Dr(e)(r)}catch(e){if(ft(t),e!==e+0)throw e;dt(1,0)}},wa:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},W:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},V:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},ib:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},za:function(e,r,t,a,i,_,n,o){var s=ut();try{return Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},Mb:function(e,r,t,a,i){var _=ut();try{return Ft(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Ab:function(e,r,t,a,i){var _=ut();try{return Wt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Q:function(e,r){var t=ut();try{return Dr(e)(r)}catch(e){if(ft(t),e!==e+0)throw e;dt(1,0)}},fa:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},ga:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},ab:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},t:function(e){var r=ut();try{return Dr(e)()}catch(e){if(ft(r),e!==e+0)throw e;dt(1,0)}},Ra:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Ya:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},b:function(e,r){var t=ut();try{return Dr(e)(r)}catch(e){if(ft(t),e!==e+0)throw e;dt(1,0)}},q:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},Aa:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},wc:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},ya:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},ha:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},_a:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Za:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},e:function(e,r,t){var a=ut();try{return Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},U:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},jb:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},vc:function(e,r,t,a,i,_,n,o){var s=ut();try{return Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},Xa:function(e,r,t,a,i,_,n,o,s,c,l,d,h){var u=ut();try{return Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h)}catch(e){if(ft(u),e!==e+0)throw e;dt(1,0)}},$a:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},mb:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},d:function(e,r,t,a){var i=ut();try{return Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Ta:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},l:function(e,r,t,a,i){var _=ut();try{return Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Sa:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},ia:function(e,r,t,a,i,_,n){var o=ut();try{return Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},Ga:function(e,r,t,a,i,_,n,o,s){var c=ut();try{return Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},s:function(e,r,t,a,i,_){var n=ut();try{return Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},B:function(e,r,t,a,i,_,n){var o=ut();try{return Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},x:function(e,r,t,a,i,_,n,o){var s=ut();try{return Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},pb:function(e,r,t,a,i,_,n,o,s,c,l){var d=ut();try{return Dr(e)(r,t,a,i,_,n,o,s,c,l)}catch(e){if(ft(d),e!==e+0)throw e;dt(1,0)}},H:function(e,r,t,a,i,_,n,o,s){var c=ut();try{return Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},ba:function(e,r,t,a,i,_,n,o,s,c){var l=ut();try{return Dr(e)(r,t,a,i,_,n,o,s,c)}catch(e){if(ft(l),e!==e+0)throw e;dt(1,0)}},M:function(e,r,t,a,i,_,n,o,s,c,l){var d=ut();try{return Dr(e)(r,t,a,i,_,n,o,s,c,l)}catch(e){if(ft(d),e!==e+0)throw e;dt(1,0)}},ka:function(e,r,t,a,i,_,n,o,s,c,l,d){var h=ut();try{return Dr(e)(r,t,a,i,_,n,o,s,c,l,d)}catch(e){if(ft(h),e!==e+0)throw e;dt(1,0)}},wb:function(e,r,t,a,i,_,n){var o=ut();try{return Yt(e,r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},Jb:function(e,r,t,a,i,_,n,o,s){var c=ut();try{return Ct(e,r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},Cb:function(e,r,t,a,i,_){var n=ut();try{return Gt(e,r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Rb:function(e,r,t,a,i){var _=ut();try{return xt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Xb:function(e,r,t,a){var i=ut();try{return St(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Vb:function(e,r,t,a,i){var _=ut();try{return jt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Lb:function(e,r,t,a,i,_){var n=ut();try{return Mt(e,r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Ib:function(e,r,t,a,i,_,n){var o=ut();try{return Ot(e,r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},Tb:function(e,r,t,a,i,_){var n=ut();try{return It(e,r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Ob:function(e,r,t,a,i,_,n,o,s,c,l,d,h){var u=ut();try{return Tt(e,r,t,a,i,_,n,o,s,c,l,d,h)}catch(e){if(ft(u),e!==e+0)throw e;dt(1,0)}},Db:function(e,r,t,a){var i=ut();try{return Vt(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},_b:function(e){var r=ut();try{return wt(e)}catch(e){if(ft(r),e!==e+0)throw e;dt(1,0)}},Qb:function(e,r){var t=ut();try{return Lt(e,r)}catch(e){if(ft(t),e!==e+0)throw e;dt(1,0)}},Gb:function(e,r,t){var a=ut();try{return Dt(e,r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},Hb:function(e,r,t,a){var i=ut();try{return Bt(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},vb:function(e,r,t,a,i){var _=ut();try{return Xt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Ub:function(e,r,t,a){var i=ut();try{return At(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Sb:function(e,r,t,a,i){var _=ut();try{return Rt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Bb:function(e,r,t){var a=ut();try{return Ht(e,r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},m:function(e){var r=ut();try{Dr(e)()}catch(e){if(ft(r),e!==e+0)throw e;dt(1,0)}},Ea:function(e,r,t){var a=ut();try{Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},L:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},g:function(e,r){var t=ut();try{Dr(e)(r)}catch(e){if(ft(t),e!==e+0)throw e;dt(1,0)}},Qa:function(e,r,t){var a=ut();try{Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},gb:function(e,r,t,a){var i=ut();try{Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Ua:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},ma:function(e,r,t,a,i,_,n){var o=ut();try{Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},Wa:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},La:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},aa:function(e,r,t,a){var i=ut();try{Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},R:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},ob:function(e,r,t){var a=ut();try{Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},Va:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},cb:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},f:function(e,r,t){var a=ut();try{Dr(e)(r,t)}catch(e){if(ft(a),e!==e+0)throw e;dt(1,0)}},u:function(e,r,t,a){var i=ut();try{Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},O:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},N:function(e,r,t,a){var i=ut();try{Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},_:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Ba:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},db:function(e,r,t,a,i,_,n,o,s){var c=ut();try{Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},P:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},h:function(e,r,t,a){var i=ut();try{Dr(e)(r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},ea:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},xa:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},kb:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Ca:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},ja:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Ia:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},Y:function(e,r,t,a,i,_,n,o,s,c,l,d){var h=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d)}catch(e){if(ft(h),e!==e+0)throw e;dt(1,0)}},qb:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},pa:function(e,r,t,a,i,_,n){var o=ut();try{Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},j:function(e,r,t,a,i){var _=ut();try{Dr(e)(r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},na:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},hb:function(e,r,t,a,i,_,n,o,s){var c=ut();try{Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},rb:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},bb:function(e,r,t,a,i,_,n,o,s,c,l){var d=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l)}catch(e){if(ft(d),e!==e+0)throw e;dt(1,0)}},Ha:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},qa:function(e,r,t,a,i,_,n){var o=ut();try{Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},fb:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},nb:function(e,r,t,a,i,_,n,o,s){var c=ut();try{Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},k:function(e,r,t,a,i,_){var n=ut();try{Dr(e)(r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},X:function(e,r,t,a,i,_,n){var o=ut();try{Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},lb:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},$:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},o:function(e,r,t,a,i,_,n){var o=ut();try{Dr(e)(r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},y:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},oa:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},p:function(e,r,t,a,i,_,n,o){var s=ut();try{Dr(e)(r,t,a,i,_,n,o)}catch(e){if(ft(s),e!==e+0)throw e;dt(1,0)}},v:function(e,r,t,a,i,_,n,o,s,c,l,d,h){var u=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h)}catch(e){if(ft(u),e!==e+0)throw e;dt(1,0)}},S:function(e,r,t,a,i,_,n,o,s,c){var l=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c)}catch(e){if(ft(l),e!==e+0)throw e;dt(1,0)}},Z:function(e,r,t,a,i,_,n,o,s,c,l,d,h){var u=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h)}catch(e){if(ft(u),e!==e+0)throw e;dt(1,0)}},C:function(e,r,t,a,i,_,n,o,s){var c=ut();try{Dr(e)(r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},F:function(e,r,t,a,i,_,n,o,s,c){var l=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c)}catch(e){if(ft(l),e!==e+0)throw e;dt(1,0)}},I:function(e,r,t,a,i,_,n,o,s,c,l){var d=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l)}catch(e){if(ft(d),e!==e+0)throw e;dt(1,0)}},Da:function(e,r,t,a,i,_,n,o,s,c,l,d){var h=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d)}catch(e){if(ft(h),e!==e+0)throw e;dt(1,0)}},K:function(e,r,t,a,i,_,n,o,s,c,l,d,h,u){var f=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h,u)}catch(e){if(ft(f),e!==e+0)throw e;dt(1,0)}},E:function(e,r,t,a,i,_,n,o,s,c,l,d){var h=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d)}catch(e){if(ft(h),e!==e+0)throw e;dt(1,0)}},J:function(e,r,t,a,i,_,n,o,s,c,l,d,h){var u=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h)}catch(e){if(ft(u),e!==e+0)throw e;dt(1,0)}},Fa:function(e,r,t,a,i,_,n,o,s,c,l,d,h,u){var f=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h,u)}catch(e){if(ft(f),e!==e+0)throw e;dt(1,0)}},eb:function(e,r,t,a,i,_,n,o,s,c,l,d,h,u,f){var p=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h,u,f)}catch(e){if(ft(p),e!==e+0)throw e;dt(1,0)}},la:function(e,r,t,a,i,_,n,o,s,c,l,d,h,u,f,p){var b=ut();try{Dr(e)(r,t,a,i,_,n,o,s,c,l,d,h,u,f,p)}catch(e){if(ft(b),e!==e+0)throw e;dt(1,0)}},Kb:function(e,r,t,a,i,_,n,o,s){var c=ut();try{Kt(e,r,t,a,i,_,n,o,s)}catch(e){if(ft(c),e!==e+0)throw e;dt(1,0)}},Zb:function(e,r,t,a,i,_){var n=ut();try{Nt(e,r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},$b:function(e,r,t,a,i){var _=ut();try{gt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Nb:function(e,r,t,a,i,_){var n=ut();try{Pt(e,r,t,a,i,_)}catch(e){if(ft(n),e!==e+0)throw e;dt(1,0)}},Wb:function(e,r,t,a,i,_,n){var o=ut();try{yt(e,r,t,a,i,_,n)}catch(e){if(ft(o),e!==e+0)throw e;dt(1,0)}},Yb:function(e,r,t,a){var i=ut();try{kt(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Pb:function(e,r,t,a,i){var _=ut();try{zt(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},Eb:function(e,r,t,a){var i=ut();try{Zt(e,r,t,a)}catch(e){if(ft(i),e!==e+0)throw e;dt(1,0)}},Fb:function(e,r,t,a,i){var _=ut();try{Ut(e,r,t,a,i)}catch(e){if(ft(_),e!==e+0)throw e;dt(1,0)}},A:e=>e,bc:(e,r,t,a)=>((e,r,t,a)=>{function i(e,r,t){for(e="number"==typeof e?e.toString():e||"";e.length<r;)e=t[0]+e;return e}function _(e,r){return i(e,r,"0")}function n(e,r){function t(e){return 0>e?-1:0<e?1:0}var a;return 0===(a=t(e.getFullYear()-r.getFullYear()))&&0===(a=t(e.getMonth()-r.getMonth()))&&(a=t(e.getDate()-r.getDate())),a}function o(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function s(e){var r=e.Uj;for(e=new Date(new Date(e.Vj+1900,0,1).getTime());0<r;){var t=e.getMonth(),a=(ar(e.getFullYear())?tt:at)[t];if(!(r>a-e.getDate())){e.setDate(e.getDate()+r);break}r-=a-e.getDate()+1,e.setDate(1),11>t?e.setMonth(t+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return t=new Date(e.getFullYear()+1,0,4),r=o(new Date(e.getFullYear(),0,4)),t=o(t),0>=n(r,e)?0>=n(t,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var c=w[a+40>>2];for(var l in a={Sk:v[a>>2],Rk:v[a+4>>2],ik:v[a+8>>2],qk:v[a+12>>2],jk:v[a+16>>2],Vj:v[a+20>>2],Nj:v[a+24>>2],Uj:v[a+28>>2],ml:v[a+32>>2],Qk:v[a+36>>2],Tk:c&&c?re(b,c):""},t=t?re(b,t):"",c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})t=t.replace(new RegExp(l,"g"),c[l]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(l in c={"%a":e=>d[e.Nj].substring(0,3),"%A":e=>d[e.Nj],"%b":e=>h[e.jk].substring(0,3),"%B":e=>h[e.jk],"%C":e=>_((e.Vj+1900)/100|0,2),"%d":e=>_(e.qk,2),"%e":e=>i(e.qk,2," "),"%g":e=>s(e).toString().substring(2),"%G":s,"%H":e=>_(e.ik,2),"%I":e=>(0==(e=e.ik)?e=12:12<e&&(e-=12),_(e,2)),"%j":e=>{for(var r=0,t=0;t<=e.jk-1;r+=(ar(e.Vj+1900)?tt:at)[t++]);return _(e.qk+r,3)},"%m":e=>_(e.jk+1,2),"%M":e=>_(e.Rk,2),"%n":()=>"\\n","%p":e=>0<=e.ik&&12>e.ik?"AM":"PM","%S":e=>_(e.Sk,2),"%t":()=>"\\t","%u":e=>e.Nj||7,"%U":e=>_(Math.floor((e.Uj+7-e.Nj)/7),2),"%V":e=>{var r=Math.floor((e.Uj+7-(e.Nj+6)%7)/7);if(2>=(e.Nj+371-e.Uj-2)%7&&r++,r)53==r&&(4==(t=(e.Nj+371-e.Uj)%7)||3==t&&ar(e.Vj)||(r=1));else{r=52;var t=(e.Nj+7-e.Uj-1)%7;(4==t||5==t&&ar(e.Vj%400-1))&&r++}return _(r,2)},"%w":e=>e.Nj,"%W":e=>_(Math.floor((e.Uj+7-(e.Nj+6)%7)/7),2),"%y":e=>(e.Vj+1900).toString().substring(2),"%Y":e=>e.Vj+1900,"%z":e=>{var r=0<=(e=e.Qk);return e=Math.abs(e)/60,(r?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":e=>e.Tk,"%%":()=>"%"},t=t.replace(/%%/g,"\\0\\0"),c)t.includes(l)&&(t=t.replace(new RegExp(l,"g"),c[l](a)));return(l=_e(t=t.replace(/\\0\\0/g,"%"),!1)).length>r?0:(p.set(l,e),l.length-1)})(e,r,t,a)},ot=function(){function e(e){return ot=e.exports,u=ot.xc,k(),Kr=ot.Cc,j.unshift(ot.yc),M(),ot}var r={a:nt};if(F(),i.instantiateWasm)try{return i.instantiateWasm(r,e)}catch(e){h(`Module.instantiateWasm callback failed with error: ${e}`),a(e)}return r=function(e){if(R==R&&l)var r=new Uint8Array(l);else{if(!_)throw\'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)\';r=_(R)}return r=new WebAssembly.Module(r),[new WebAssembly.Instance(r,e),r]}(r),e(r[0])}();i._zappar_has_initialized=ot.zc,i._zappar_invert=ot.Ac,i._zappar_loaded=ot.Bc,i._zappar_pipeline_create=ot.Dc,i._zappar_pipeline_destroy=ot.Ec,i._zappar_pipeline_camera_frame_submit=ot.Fc,i._zappar_pipeline_camera_frame_submit_raw_pointer=ot.Gc,i._zappar_pipeline_frame_update=ot.Hc,i._zappar_pipeline_camera_frame_user_data=ot.Ic,i._zappar_pipeline_camera_model=ot.Jc,i._zappar_pipeline_frame_number=ot.Kc,i._zappar_pipeline_camera_frame_data_raw_size=ot.Lc,i._zappar_pipeline_camera_frame_data_raw_width=ot.Mc,i._zappar_pipeline_camera_frame_data_raw_height=ot.Nc,i._zappar_pipeline_camera_frame_data_raw=ot.Oc,i._zappar_pipeline_motion_accelerometer_submit=ot.Pc,i._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=ot.Qc,i._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=ot.Rc,i._zappar_pipeline_motion_rotation_rate_submit_int=ot.Sc,i._zappar_pipeline_motion_attitude_submit_int=ot.Tc,i._zappar_pipeline_motion_rotation_rate_submit=ot.Uc,i._zappar_pipeline_motion_attitude_submit=ot.Vc,i._zappar_pipeline_motion_attitude_matrix_submit=ot.Wc,i._zappar_pipeline_camera_frame_user_facing=ot.Xc,i._zappar_pipeline_camera_frame_texture_matrix=ot.Yc,i._zappar_pipeline_camera_pose_with_attitude=ot.Zc,i._zappar_pipeline_camera_pose_with_origin=ot._c,i._zappar_pipeline_camera_frame_camera_attitude=ot.$c,i._zappar_pipeline_camera_frame_device_attitude=ot.ad,i._zappar_pipeline_camera_frame_texture_gl=ot.bd,i._zappar_pipeline_camera_frame_upload_gl=ot.cd,i._zappar_pipeline_sequence_record_start=ot.dd,i._zappar_pipeline_sequence_record_stop=ot.ed,i._zappar_pipeline_sequence_record_clear=ot.fd,i._zappar_pipeline_sequence_record_device_attitude_matrices_set=ot.gd,i._zappar_pipeline_sequence_record_data_size=ot.hd,i._zappar_pipeline_sequence_record_data=ot.id,i._zappar_pipeline_process_gl=ot.jd,i._zappar_pipeline_camera_pose_default=ot.kd,i._zappar_instant_world_tracker_create=ot.ld,i._zappar_instant_world_tracker_destroy=ot.md,i._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=ot.nd,i._zappar_instant_world_tracker_anchor_pose_raw=ot.od,i._zappar_instant_world_tracker_enabled_set=ot.pd,i._zappar_instant_world_tracker_enabled=ot.qd,i._zappar_image_tracker_create=ot.rd,i._zappar_image_tracker_destroy=ot.sd,i._zappar_image_tracker_target_load_from_memory=ot.td,i.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=ot.ud;var st=i._free=ot.vd;i._zappar_image_tracker_anchor_count=ot.wd,i._zappar_image_tracker_anchor_id=ot.xd,i._zappar_image_tracker_anchor_pose_raw=ot.yd,i._zappar_image_tracker_enabled_set=ot.zd,i._zappar_image_tracker_enabled=ot.Ad,i._zappar_image_tracker_target_loaded_version=ot.Bd,i.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=ot.Cd,i.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=ot.Dd,i.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=ot.Ed,i.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=ot.Fd,i.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=ot.Gd,i.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=ot.Hd,i.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=ot.Id,i.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=ot.Jd,i.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=ot.Kd,i.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=ot.Ld,i.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=ot.Md,i.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=ot.Nd,i.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=ot.Od,i.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=ot.Pd,i.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=ot.Qd,i.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=ot.Rd,i.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=ot.Sd,i.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=ot.Td,i.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=ot.Ud,i.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=ot.Vd,i.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=ot.Wd,i._zappar_face_tracker_create=ot.Xd,i._zappar_face_tracker_destroy=ot.Yd,i._zappar_face_tracker_model_load_from_memory=ot.Zd,i._zappar_face_tracker_anchor_count=ot._d,i._zappar_face_tracker_anchor_id=ot.$d,i._zappar_face_tracker_anchor_pose_raw=ot.ae,i._zappar_face_tracker_anchor_identity_coefficients=ot.be,i._zappar_face_tracker_anchor_expression_coefficients=ot.ce,i._zappar_face_tracker_enabled_set=ot.de,i._zappar_face_tracker_enabled=ot.ee,i._zappar_face_tracker_max_faces_set=ot.fe,i._zappar_face_tracker_max_faces=ot.ge,i._zappar_face_tracker_model_loaded_version=ot.he,i._zappar_face_landmark_create=ot.ie,i._zappar_face_landmark_destroy=ot.je,i.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=ot.ke,i._zappar_face_landmark_anchor_pose=ot.le,i._zappar_barcode_finder_create=ot.me,i._zappar_barcode_finder_destroy=ot.ne,i._zappar_barcode_finder_found_number=ot.oe,i._zappar_barcode_finder_found_text=ot.pe,i._zappar_barcode_finder_enabled_set=ot.qe,i._zappar_barcode_finder_enabled=ot.re,i._zappar_barcode_finder_found_format=ot.se,i._zappar_barcode_finder_formats=ot.te,i._zappar_barcode_finder_formats_set=ot.ue,i._zappar_zapcode_tracker_create=ot.ve,i._zappar_zapcode_tracker_destroy=ot.we,i._zappar_zapcode_tracker_target_load_from_memory=ot.xe,i.__Z44zappar_zapcode_tracker_target_load_from_fileP25zappar_zapcode_tracker_tiPKc=ot.ye,i._zappar_zapcode_tracker_anchor_count=ot.ze,i._zappar_zapcode_tracker_anchor_id=ot.Ae,i._zappar_zapcode_tracker_anchor_pose_raw=ot.Be,i._zappar_zapcode_tracker_enabled_set=ot.Ce,i._zappar_zapcode_tracker_enabled=ot.De,i._zappar_zapcode_tracker_target_loaded_version=ot.Ee;var ct=i._malloc=ot.Fe;i._zappar_face_mesh_create=ot.Ge,i._zappar_face_mesh_destroy=ot.He,i.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=ot.Ie,i.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=ot.Je,i.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=ot.Ke,i.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=ot.Le,i.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=ot.Me,i.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=ot.Ne,i.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=ot.Oe,i.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=ot.Pe,i.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=ot.Qe,i.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=ot.Re,i.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=ot.Se,i._zappar_camera_source_create=ot.Te,i._zappar_camera_source_destroy=ot.Ue,i._zappar_camera_source_start=ot.Ve,i._zappar_camera_source_pause=ot.We,i._zappar_camera_default_device_id=ot.Xe,i._zappar_sequence_source_create=ot.Ye,i.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=ot.Ze,i.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=ot._e,i.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=ot.$e,i._zappar_sequence_source_destroy=ot.af,i._zappar_sequence_source_max_playback_fps_set=ot.bf,i._zappar_log_level_set=ot.cf,i._zappar_log_level=ot.df,i.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=ot.ef,i._zappar_world_tracker_create=ot.ff,i._zappar_world_tracker_destroy=ot.gf,i._zappar_world_tracker_world_anchor_valid=ot.hf,i._zappar_world_tracker_plane_count=ot.jf,i._zappar_world_tracker_plane_pose_raw=ot.kf,i._zappar_world_tracker_world_anchor_pose_raw=ot.lf,i._zappar_world_tracker_ground_anchor_valid=ot.mf,i._zappar_world_tracker_ground_anchor_pose_raw=ot.nf,i._zappar_world_tracker_reset=ot.of,i._zappar_world_tracker_enabled_set=ot.pf,i._zappar_world_tracker_quality=ot.qf,i._zappar_world_tracker_enabled=ot.rf,i._zappar_world_tracker_debug_enabled=ot.sf,i._zappar_world_tracker_debug_enabled_set=ot.tf,i._zappar_world_tracker_debug_tracks_data=ot.uf,i._zappar_world_tracker_debug_tracks_data_size=ot.vf,i._zappar_world_tracker_debug_projections_data=ot.wf,i._zappar_world_tracker_debug_projections_data_size=ot.xf,i._worker_message_send_count=ot.yf,i._worker_message_send_clear=ot.zf,i._worker_message_send_data_size=ot.Af,i._worker_message_send_reference=ot.Bf,i._worker_message_send_data=ot.Cf,i._worker_message_receive=ot.Df,i._ceres_worker=ot.Ef,i._data_download_clear=ot.Ff,i._data_download_size=ot.Gf,i._data_download=ot.Hf,i._data_should_record_set=ot.If,i._zappar_analytics_project_id_set=ot.Jf,i.__ZN5boost13serialization16singleton_module8get_lockEv=ot.Kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem19InitializationInputEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Lf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Pf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Sf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Tf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Uf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Vf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Wf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Xf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Yf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Zf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot._f,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.$f,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ag,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.bg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem10ParametersEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.cg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.dg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem20InitializationResultEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.eg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem19InitializationInputEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.fg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.gg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ig,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.jg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.kg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.lg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.mg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ng,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.og,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.pg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.qg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.rg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.sg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.tg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ug,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.vg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.wg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.xg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem10ParametersEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.yg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.zg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem20InitializationResultEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Ag,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Bg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Cg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Dg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Eg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Fg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Gg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ig,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Jg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Kg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Lg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Mg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ng,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Og,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Pg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Qg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Rg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Sg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Tg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26bitsetILm1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ug,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Vg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Wg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Xg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Yg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Zg,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam5Pose3EE11instantiateEv=ot._g,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.$g,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam5Pose3EE11instantiateEv=ot.ah,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.bh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam5Pose3EE11instantiateEv=ot.ch,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam5Pose3EE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.dh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=ot.eh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.fh,i.__ZN5boost13serialization18void_cast_registerIN5gtsam21LinearContainerFactorENS2_15NonlinearFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.gh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.hh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ih,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.jh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.kh,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.lh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=ot.mh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.nh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.oh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ph,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.qh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.rh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.sh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=ot.th,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.uh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.vh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.wh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.xh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.yh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.zh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam13HessianFactorEE11instantiateEv=ot.Ah,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Bh,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.Ch,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=ot.Dh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Eh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Fh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=ot.Gh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Hh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Ih,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE11instantiateEv=ot.Jh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Kh,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.Lh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=ot.Mh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Nh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Oh,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=ot.Ph,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Qh,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Rh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Sh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Th,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Uh,i.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel8DiagonalENS3_8GaussianEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.Vh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Wh,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Xh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Yh,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Zh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot._h,i.__ZN5boost13serialization18void_cast_registerIN5gtsam15NonlinearFactorENS2_6FactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.$h,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ai,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.bi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ci,i.__ZN5boost13serialization18void_cast_registerIN5gtsam14GaussianFactorENS2_6FactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.di,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ei,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.fi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.gi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.hi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ii,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ji,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ki,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.li,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.mi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIyRKN5gtsam5ValueENS4_4lessIyEENS4_9allocatorINS4_4pairIKyS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ni,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKyRKN5gtsam5ValueEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.oi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.pi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIyRKN5gtsam5ValueENS4_4lessIyEENS4_9allocatorINS4_4pairIKyS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.qi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKyRKN5gtsam5ValueEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ri,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.si,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.ti,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.ui,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.vi,i.__ZN5boost13serialization18void_cast_registerIN5gtsam14JacobianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.wi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.xi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.yi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.zi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Ai,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=ot.Bi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ci,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Di,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ei,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Fi,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Gi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Hi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ii,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ji,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Ki,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=ot.Li,i.__ZN5boost13serialization18void_cast_registerIN5gtsam13HessianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=ot.Mi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=ot.Ni,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Oi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=ot.Pi;var lt,dt=ot.Qi,ht=ot.Ri,ut=ot.Si,ft=ot.Ti,pt=ot.Ui,bt=ot.Vi,mt=ot.Wi,Et=ot.Xi,vt=ot.Yi,wt=i.dynCall_j=ot.Zi,gt=i.dynCall_viij=ot._i,yt=i.dynCall_viijii=ot.$i,Nt=i.dynCall_viiij=ot.aj,kt=i.dynCall_vij=ot.bj,St=i.dynCall_iij=ot.cj,jt=i.dynCall_iiji=ot.dj,zt=i.dynCall_viji=ot.ej,It=i.dynCall_iijj=ot.fj,Rt=i.dynCall_jiji=ot.gj,At=i.dynCall_jij=ot.hj,xt=i.dynCall_iiij=ot.ij,Lt=i.dynCall_ji=ot.jj,Tt=i.dynCall_iijjjjji=ot.kj,Pt=i.dynCall_viiji=ot.lj,Ft=i.dynCall_diji=ot.mj,Mt=i.dynCall_iijii=ot.nj,Kt=i.dynCall_viiiijii=ot.oj,Ct=i.dynCall_iiiiijii=ot.pj,Ot=i.dynCall_iijiii=ot.qj,Bt=i.dynCall_jiii=ot.rj,Dt=i.dynCall_jii=ot.sj,Ut=i.dynCall_vjii=ot.tj,Zt=i.dynCall_vji=ot.uj,Vt=i.dynCall_iji=ot.vj,Gt=i.dynCall_iiiij=ot.wj,Ht=i.dynCall_jj=ot.xj,Wt=i.dynCall_djj=ot.yj,Yt=i.dynCall_iiiiij=ot.zj,Xt=i.dynCall_jiiii=ot.Aj;function qt(){function e(){if(!lt&&(lt=!0,i.calledRun=!0,!N)){if(i.noFSInit||Me||(Me=!0,i.stdin=i.stdin,i.stdout=i.stdout,i.stderr=i.stderr,i.stdin?We("stdin",i.stdin):Ze("/dev/tty","/dev/stdin"),i.stdout?We("stdout",null,i.stdout):Ze("/dev/tty","/dev/stdout"),i.stderr?We("stderr",null,i.stderr):Ze("/dev/tty1","/dev/stderr"),Ge("/dev/stdin",0),Ge("/dev/stdout",1),Ge("/dev/stderr",1)),we=!1,B(j),t(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();z.unshift(e)}B(z)}}if(!(0<L)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)I();B(S),0<L||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}}if(i.___start_em_js=681716,i.___stop_em_js=682881,i.cwrap=(e,r,t,a)=>{var _=!t||t.every((e=>"number"===e||"boolean"===e));return"string"!==r&&_&&!a?i["_"+e]:function(){return((e,r,t,a)=>{var _={string:e=>{var r=0;if(null!=e&&0!==e){r=ae(e)+1;var t=pt(r);ie(e,b,t,r),r=t}return r},array:e=>{var r=pt(e.length);return p.set(e,r),r}};e=i["_"+e];var n,o=[],s=0;if(a)for(var c=0;c<a.length;c++){var l=_[t[c]];l?(0===s&&(s=ut()),o[c]=l(a[c])):o[c]=a[c]}return n=t=e.apply(null,o),0!==s&&ft(s),"string"===r?n?re(b,n):"":"boolean"===r?!!n:n})(e,r,t,arguments)}},i.setValue=function(e,r,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":p[e>>0]=r;break;case"i16":m[e>>1]=r;break;case"i32":v[e>>2]=r;break;case"i64":K("to do setValue(i64) use WASM_BIGINT");case"float":g[e>>2]=r;break;case"double":y[e>>3]=r;break;case"*":w[e>>2]=r;break;default:K(`invalid type for setValue: ${t}`)}},i.getValue=function(e,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":return p[e>>0];case"i16":return m[e>>1];case"i32":return v[e>>2];case"i64":K("to do getValue(i64) use WASM_BIGINT");case"float":return g[e>>2];case"double":return y[e>>3];case"*":return w[e>>2];default:K(`invalid type for getValue: ${r}`)}},i.UTF8ToString=Je,P=function e(){lt||qt(),lt||(P=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return qt(),r});class a{constructor(e){this._messageSender=e,this._freeBufferPool=[],this._buffer=new ArrayBuffer(16),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1,this._timeoutSet=!1,this._appender={int:e=>this.int(e),bool:e=>this.int(e?1:0),float:e=>this.float(e),string:e=>this.string(e),dataWithLength:e=>this.arrayBuffer(e),type:e=>this.int(e),matrix4x4:e=>this.float32ArrayBuffer(e),matrix3x3:e=>this.float32ArrayBuffer(e),floatArray:e=>this.float32ArrayBuffer(e),identityCoefficients:e=>this.float32ArrayBuffer(e),expressionCoefficients:e=>this.float32ArrayBuffer(e),cameraModel:e=>this.float32ArrayBuffer(e),timestamp:e=>this.double(e),barcodeFormat:e=>this.int(e),faceLandmarkName:e=>this.int(e),instantTrackerTransformOrientation:e=>this.int(e),logLevel:e=>this.int(e)},this._freeBufferPool.push(new ArrayBuffer(16)),this._freeBufferPool.push(new ArrayBuffer(16))}bufferReturn(e){this._freeBufferPool.push(e)}_ensureArrayBuffer(e){let r,t=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=t)return;if(!r){let e=t;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,r=new ArrayBuffer(e)}let a=this._buffer?this._i32View:void 0;this._buffer=r,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),a&&this._i32View.set(a.subarray(0,this._offset))}sendMessage(e,r){this._ensureArrayBuffer(4),this._startOffset=this._offset,this._i32View[this._offset+1]=e,this._offset+=2,r(this._appender),this._i32View[this._startOffset]=this._offset-this._startOffset,this._startOffset=-1,this._sendOneTime()}_sendOneTime(){!1===this._timeoutSet&&(this._timeoutSet=!0,setTimeout((()=>{this._timeoutSet=!1,this._send()}),0))}_send(){0!==this._freeBufferPool.length?(this._i32View[0]=this._offset,this._messageSender(this._buffer),this._buffer=void 0,this._buffer=this._freeBufferPool.pop(),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1):this._sendOneTime()}int(e){this._ensureArrayBuffer(1),this._i32View[this._offset]=e,this._offset++}double(e){this._ensureArrayBuffer(2),this._offset%2==1&&this._offset++,this._f64View[this._offset/2]=e,this._offset+=2}float(e){this._ensureArrayBuffer(1),this._f32View[this._offset]=e,this._offset++}int32Array(e){this._ensureArrayBuffer(e.length);for(let r=0;r<e.length;++r)this._i32View[this._offset+r]=e[r];this._offset+=e.length}float32Array(e){this._ensureArrayBuffer(e.length);for(let r=0;r<e.length;++r)this._f32View[this._offset+r]=e[r];this._offset+=e.length}booleanArray(e){this._ensureArrayBuffer(e.length);for(let r=0;r<e.length;++r)this._i32View[this._offset+r]=e[r]?1:0;this._offset+=e.length}uint8ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8View.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}arrayBuffer(e){let r=new Uint8Array(e);this.uint8ArrayBuffer(r)}uint8ClampedArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8cView.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}float32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._f32View.set(e,this._offset),this._offset+=e.length}uint16ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++;let r=2*this._offset;this._u16View.set(e,r),this._offset+=e.length>>1,0!=(1&e.length)&&this._offset++}int32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._i32View.set(e,this._offset),this._offset+=e.length}uint32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._u32View.set(e,this._offset),this._offset+=e.length}string(e){let r=(new TextEncoder).encode(e);this._ensureArrayBuffer(r.byteLength/4),this._i32View[this._offset]=r.byteLength,this._offset++,this._u8View.set(r,4*this._offset),this._offset+=r.byteLength>>2,0!=(3&r.byteLength)&&this._offset++}}class i{constructor(){this._buffer=new ArrayBuffer(0),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,this._startOffset=-1,this._processor={int:()=>this._i32View[this._startOffset++],bool:()=>1===this._i32View[this._startOffset++],type:()=>this._i32View[this._startOffset++],float:()=>this._f32View[this._startOffset++],timestamp:()=>{this._startOffset%2==1&&this._startOffset++;let e=this._f64View[this._startOffset/2];return this._startOffset+=2,e},string:()=>{let e=this._i32View[this._startOffset++],r=(new TextDecoder).decode(new Uint8Array(this._buffer,4*this._startOffset,e));return this._startOffset+=e>>2,0!=(3&e)&&this._startOffset++,r},dataWithLength:()=>{let e=this._i32View[this._startOffset++],r=new Uint8Array(e);return r.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=r.byteLength>>2,0!=(3&r.byteLength)&&this._startOffset++,r.buffer},floatArray:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+e)),this._startOffset+=e,r},matrix4x4:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+16)),this._startOffset+=e,r},matrix3x3:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+9)),this._startOffset+=e,r},identityCoefficients:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+50)),this._startOffset+=e,r},expressionCoefficients:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+29)),this._startOffset+=e,r},cameraModel:()=>{let e=this._i32View[this._startOffset++],r=new Float32Array(e);return r.set(this._f32View.subarray(this._startOffset,this._startOffset+6)),this._startOffset+=e,r},barcodeFormat:()=>this._i32View[this._startOffset++],faceLandmarkName:()=>this._i32View[this._startOffset++],instantTrackerTransformOrientation:()=>this._i32View[this._startOffset++],logLevel:()=>this._i32View[this._startOffset++]}}setData(e){this._buffer=e,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,e.byteLength>=4&&(this._offset=1,this._length=this._i32View[0]),this._startOffset=-1}hasMessage(){return this._offset+1<this._length}forMessages(e){for(;this.hasMessage();){let r=this._i32View[this._offset],t=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=r,e(t,this._processor)}}}class _{constructor(e,r){this._impl=e,this._sender=r,this._deserializer=new i,this.serializersByPipelineId=new Map,this._pipeline_id_by_pipeline_id=new Map,this._pipeline_by_instance=new Map,this._pipeline_id_by_camera_source_id=new Map,this._camera_source_by_instance=new Map,this._pipeline_id_by_sequence_source_id=new Map,this._sequence_source_by_instance=new Map,this._pipeline_id_by_image_tracker_id=new Map,this._image_tracker_by_instance=new Map,this._pipeline_id_by_face_tracker_id=new Map,this._face_tracker_by_instance=new Map,this._pipeline_id_by_face_mesh_id=new Map,this._face_mesh_by_instance=new Map,this._pipeline_id_by_face_landmark_id=new Map,this._face_landmark_by_instance=new Map,this._pipeline_id_by_barcode_finder_id=new Map,this._barcode_finder_by_instance=new Map,this._pipeline_id_by_instant_world_tracker_id=new Map,this._instant_world_tracker_by_instance=new Map,this._pipeline_id_by_zapcode_tracker_id=new Map,this._zapcode_tracker_by_instance=new Map,this._pipeline_id_by_world_tracker_id=new Map,this._world_tracker_by_instance=new Map}processBuffer(e){this._deserializer.setData(e),this._deserializer.forMessages(((e,r)=>{switch(e){case 38:this._impl.log_level_set(r.logLevel());break;case 35:this._impl.analytics_project_id_set(r.string(),r.string());break;case 31:{let e=r.type(),t=this._impl.pipeline_create();this._pipeline_by_instance.set(e,t),this._pipeline_id_by_pipeline_id.set(e,e),this.serializersByPipelineId.set(e,new a((r=>{this._sender(e,r)})));break}case 32:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_destroy(t),this._pipeline_by_instance.delete(e);break}case 9:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_frame_update(t);break}case 8:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_camera_frame_submit(t,r.dataWithLength(),r.int(),r.int(),r.int(),r.matrix4x4(),r.cameraModel(),r.bool());break}case 10:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_accelerometer_submit(t,r.timestamp(),r.float(),r.float(),r.float());break}case 12:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_accelerometer_with_gravity_submit_int(t,r.timestamp(),r.timestamp(),r.float(),r.float(),r.float());break}case 11:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_accelerometer_without_gravity_submit_int(t,r.timestamp(),r.timestamp(),r.float(),r.float(),r.float());break}case 15:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_rotation_rate_submit(t,r.timestamp(),r.float(),r.float(),r.float());break}case 13:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_rotation_rate_submit_int(t,r.timestamp(),r.timestamp(),r.float(),r.float(),r.float());break}case 16:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_attitude_submit(t,r.timestamp(),r.float(),r.float(),r.float());break}case 14:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_attitude_submit_int(t,r.timestamp(),r.timestamp(),r.float(),r.float(),r.float());break}case 17:{let e=r.type(),t=this._pipeline_by_instance.get(e);if(void 0===t)return;this._impl.pipeline_motion_attitude_matrix_submit(t,r.matrix4x4());break}case 33:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=r.string(),_=this._impl.camera_source_create(a,i);this._camera_source_by_instance.set(e,_),this._pipeline_id_by_camera_source_id.set(e,t);break}case 34:{let e=r.type(),t=this._camera_source_by_instance.get(e);if(void 0===t)return;this._impl.camera_source_destroy(t),this._camera_source_by_instance.delete(e);break}case 39:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.sequence_source_create(a);this._sequence_source_by_instance.set(e,i),this._pipeline_id_by_sequence_source_id.set(e,t);break}case 40:{let e=r.type(),t=this._sequence_source_by_instance.get(e);if(void 0===t)return;this._impl.sequence_source_destroy(t),this._sequence_source_by_instance.delete(e);break}case 2:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.image_tracker_create(a);this._image_tracker_by_instance.set(e,i),this._pipeline_id_by_image_tracker_id.set(e,t);break}case 18:{let e=r.type(),t=this._image_tracker_by_instance.get(e);if(void 0===t)return;this._impl.image_tracker_destroy(t),this._image_tracker_by_instance.delete(e);break}case 4:{let e=r.type(),t=this._image_tracker_by_instance.get(e);if(void 0===t)return;this._impl.image_tracker_target_load_from_memory(t,r.dataWithLength());break}case 3:{let e=r.type(),t=this._image_tracker_by_instance.get(e);if(void 0===t)return;this._impl.image_tracker_enabled_set(t,r.bool());break}case 24:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.face_tracker_create(a);this._face_tracker_by_instance.set(e,i),this._pipeline_id_by_face_tracker_id.set(e,t);break}case 25:{let e=r.type(),t=this._face_tracker_by_instance.get(e);if(void 0===t)return;this._impl.face_tracker_destroy(t),this._face_tracker_by_instance.delete(e);break}case 26:{let e=r.type(),t=this._face_tracker_by_instance.get(e);if(void 0===t)return;this._impl.face_tracker_model_load_from_memory(t,r.dataWithLength());break}case 27:{let e=r.type(),t=this._face_tracker_by_instance.get(e);if(void 0===t)return;this._impl.face_tracker_enabled_set(t,r.bool());break}case 28:{let e=r.type(),t=this._face_tracker_by_instance.get(e);if(void 0===t)return;this._impl.face_tracker_max_faces_set(t,r.int());break}case 29:{let e=r.type(),t=this._impl.face_mesh_create();this._face_mesh_by_instance.set(e,t);break}case 30:{let e=r.type(),t=this._face_mesh_by_instance.get(e);if(void 0===t)return;this._impl.face_mesh_destroy(t),this._face_mesh_by_instance.delete(e);break}case 36:{let e=r.type(),t=r.faceLandmarkName(),a=this._impl.face_landmark_create(t);this._face_landmark_by_instance.set(e,a);break}case 37:{let e=r.type(),t=this._face_landmark_by_instance.get(e);if(void 0===t)return;this._impl.face_landmark_destroy(t),this._face_landmark_by_instance.delete(e);break}case 20:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.barcode_finder_create(a);this._barcode_finder_by_instance.set(e,i),this._pipeline_id_by_barcode_finder_id.set(e,t);break}case 21:{let e=r.type(),t=this._barcode_finder_by_instance.get(e);if(void 0===t)return;this._impl.barcode_finder_destroy(t),this._barcode_finder_by_instance.delete(e);break}case 22:{let e=r.type(),t=this._barcode_finder_by_instance.get(e);if(void 0===t)return;this._impl.barcode_finder_enabled_set(t,r.bool());break}case 23:{let e=r.type(),t=this._barcode_finder_by_instance.get(e);if(void 0===t)return;this._impl.barcode_finder_formats_set(t,r.barcodeFormat());break}case 5:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.instant_world_tracker_create(a);this._instant_world_tracker_by_instance.set(e,i),this._pipeline_id_by_instant_world_tracker_id.set(e,t);break}case 19:{let e=r.type(),t=this._instant_world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.instant_world_tracker_destroy(t),this._instant_world_tracker_by_instance.delete(e);break}case 6:{let e=r.type(),t=this._instant_world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.instant_world_tracker_enabled_set(t,r.bool());break}case 7:{let e=r.type(),t=this._instant_world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(t,r.float(),r.float(),r.float(),r.instantTrackerTransformOrientation());break}case 41:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.zapcode_tracker_create(a);this._zapcode_tracker_by_instance.set(e,i),this._pipeline_id_by_zapcode_tracker_id.set(e,t);break}case 44:{let e=r.type(),t=this._zapcode_tracker_by_instance.get(e);if(void 0===t)return;this._impl.zapcode_tracker_destroy(t),this._zapcode_tracker_by_instance.delete(e);break}case 43:{let e=r.type(),t=this._zapcode_tracker_by_instance.get(e);if(void 0===t)return;this._impl.zapcode_tracker_target_load_from_memory(t,r.dataWithLength());break}case 42:{let e=r.type(),t=this._zapcode_tracker_by_instance.get(e);if(void 0===t)return;this._impl.zapcode_tracker_enabled_set(t,r.bool());break}case 45:{let e=r.type(),t=r.type(),a=this._pipeline_by_instance.get(t),i=this._impl.world_tracker_create(a);this._world_tracker_by_instance.set(e,i),this._pipeline_id_by_world_tracker_id.set(e,t);break}case 46:{let e=r.type(),t=this._world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.world_tracker_destroy(t),this._world_tracker_by_instance.delete(e);break}case 47:{let e=r.type(),t=this._world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.world_tracker_enabled_set(t,r.bool());break}case 48:{let e=r.type(),t=this._world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.world_tracker_reset(t);break}case 49:{let e=r.type(),t=this._world_tracker_by_instance.get(e);if(void 0===t)return;this._impl.world_tracker_debug_enabled_set(t,r.bool());break}}}))}exploreState(){for(let[e,r]of this._pipeline_by_instance){let t=this._pipeline_id_by_pipeline_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);a&&(a.sendMessage(7,(t=>{t.type(e),t.int(this._impl.pipeline_frame_number(r))})),a.sendMessage(6,(t=>{t.type(e),t.cameraModel(this._impl.pipeline_camera_model(r))})),a.sendMessage(5,(t=>{t.type(e),t.int(this._impl.pipeline_camera_frame_user_data(r))})),a.sendMessage(11,(t=>{t.type(e),t.matrix4x4(this._impl.pipeline_camera_frame_camera_attitude(r))})),a.sendMessage(12,(t=>{t.type(e),t.matrix4x4(this._impl.pipeline_camera_frame_device_attitude(r))})))}for(let[e,r]of this._camera_source_by_instance){let r=this._pipeline_id_by_camera_source_id.get(e);r&&this.serializersByPipelineId.get(r)}for(let[e,r]of this._sequence_source_by_instance){let r=this._pipeline_id_by_sequence_source_id.get(e);r&&this.serializersByPipelineId.get(r)}for(let[e,r]of this._image_tracker_by_instance){let t=this._pipeline_id_by_image_tracker_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);if(a){a.sendMessage(19,(t=>{t.type(e),t.int(this._impl.image_tracker_target_loaded_version(r))})),a.sendMessage(1,(t=>{t.type(e),t.int(this._impl.image_tracker_anchor_count(r))}));for(let t=0;t<this._impl.image_tracker_anchor_count(r);t++)a.sendMessage(2,(a=>{a.type(e),a.int(t),a.string(this._impl.image_tracker_anchor_id(r,t))}));for(let t=0;t<this._impl.image_tracker_anchor_count(r);t++)a.sendMessage(3,(a=>{a.type(e),a.int(t),a.matrix4x4(this._impl.image_tracker_anchor_pose_raw(r,t))}))}}for(let[e,r]of this._face_tracker_by_instance){let t=this._pipeline_id_by_face_tracker_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);if(a){a.sendMessage(18,(t=>{t.type(e),t.int(this._impl.face_tracker_model_loaded_version(r))})),a.sendMessage(13,(t=>{t.type(e),t.int(this._impl.face_tracker_anchor_count(r))}));for(let t=0;t<this._impl.face_tracker_anchor_count(r);t++)a.sendMessage(14,(a=>{a.type(e),a.int(t),a.string(this._impl.face_tracker_anchor_id(r,t))}));for(let t=0;t<this._impl.face_tracker_anchor_count(r);t++)a.sendMessage(15,(a=>{a.type(e),a.int(t),a.matrix4x4(this._impl.face_tracker_anchor_pose_raw(r,t))}));for(let t=0;t<this._impl.face_tracker_anchor_count(r);t++)a.sendMessage(16,(a=>{a.type(e),a.int(t),a.identityCoefficients(this._impl.face_tracker_anchor_identity_coefficients(r,t))}));for(let t=0;t<this._impl.face_tracker_anchor_count(r);t++)a.sendMessage(17,(a=>{a.type(e),a.int(t),a.expressionCoefficients(this._impl.face_tracker_anchor_expression_coefficients(r,t))}))}}for(let[e,r]of this._face_mesh_by_instance){let r=this._pipeline_id_by_face_mesh_id.get(e);r&&this.serializersByPipelineId.get(r)}for(let[e,r]of this._face_landmark_by_instance){let r=this._pipeline_id_by_face_landmark_id.get(e);r&&this.serializersByPipelineId.get(r)}for(let[e,r]of this._barcode_finder_by_instance){let t=this._pipeline_id_by_barcode_finder_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);if(a){a.sendMessage(8,(t=>{t.type(e),t.int(this._impl.barcode_finder_found_number(r))}));for(let t=0;t<this._impl.barcode_finder_found_number(r);t++)a.sendMessage(9,(a=>{a.type(e),a.int(t),a.string(this._impl.barcode_finder_found_text(r,t))}));for(let t=0;t<this._impl.barcode_finder_found_number(r);t++)a.sendMessage(10,(a=>{a.type(e),a.int(t),a.barcodeFormat(this._impl.barcode_finder_found_format(r,t))}))}}for(let[e,r]of this._instant_world_tracker_by_instance){let t=this._pipeline_id_by_instant_world_tracker_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);a&&a.sendMessage(4,(t=>{t.type(e),t.matrix4x4(this._impl.instant_world_tracker_anchor_pose_raw(r))}))}for(let[e,r]of this._zapcode_tracker_by_instance){let t=this._pipeline_id_by_zapcode_tracker_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);if(a){a.sendMessage(24,(t=>{t.type(e),t.int(this._impl.zapcode_tracker_target_loaded_version(r))})),a.sendMessage(21,(t=>{t.type(e),t.int(this._impl.zapcode_tracker_anchor_count(r))}));for(let t=0;t<this._impl.zapcode_tracker_anchor_count(r);t++)a.sendMessage(22,(a=>{a.type(e),a.int(t),a.string(this._impl.zapcode_tracker_anchor_id(r,t))}));for(let t=0;t<this._impl.zapcode_tracker_anchor_count(r);t++)a.sendMessage(23,(a=>{a.type(e),a.int(t),a.matrix4x4(this._impl.zapcode_tracker_anchor_pose_raw(r,t))}))}}for(let[e,r]of this._world_tracker_by_instance){let t=this._pipeline_id_by_world_tracker_id.get(e);if(!t)continue;let a=this.serializersByPipelineId.get(t);if(a){a.sendMessage(31,(t=>{t.type(e),t.int(this._impl.world_tracker_quality(r))})),a.sendMessage(25,(t=>{t.type(e),t.int(this._impl.world_tracker_plane_count(r))}));for(let t=0;t<this._impl.world_tracker_plane_count(r);t++)a.sendMessage(26,(a=>{a.type(e),a.int(t),a.matrix4x4(this._impl.world_tracker_plane_pose_raw(r,t))}));a.sendMessage(27,(t=>{t.type(e),t.bool(this._impl.world_tracker_world_anchor_valid(r))})),a.sendMessage(28,(t=>{t.type(e),t.matrix4x4(this._impl.world_tracker_world_anchor_pose_raw(r))})),a.sendMessage(27,(t=>{t.type(e),t.bool(this._impl.world_tracker_ground_anchor_valid(r))})),a.sendMessage(30,(t=>{t.type(e),t.matrix4x4(this._impl.world_tracker_ground_anchor_pose_raw(r))})),a.sendMessage(33,(t=>{t.type(e),t.int(this._impl.world_tracker_debug_tracks_data_size(r))})),a.sendMessage(32,(t=>{t.type(e),t.floatArray(this._impl.world_tracker_debug_tracks_data(r))})),a.sendMessage(35,(t=>{t.type(e),t.int(this._impl.world_tracker_debug_projections_data_size(r))})),a.sendMessage(34,(t=>{t.type(e),t.floatArray(this._impl.world_tracker_debug_projections_data(r))}))}}}}class n{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let r=this._funcs.indexOf(e);r>-1&&this._funcs.splice(r,1)}emit(){for(var e=0,r=this._funcs.length;e<r;e++)this._funcs[e]()}}class o{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let r=this._funcs.indexOf(e);r>-1&&this._funcs.splice(r,1)}emit(e){for(var r=0,t=this._funcs.length;r<t;r++)this._funcs[r](e)}}var s,c,l,d,h,u,f,p,b="undefined"!=typeof Float32Array?Float32Array:Array;function m(){var e=new b(16);return b!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function E(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}Math.random,Math.PI,Math.hypot||(Math.hypot=function(){for(var e=0,r=arguments.length;r--;)e+=arguments[r]*arguments[r];return Math.sqrt(e)}),function(e){e[e.UNKNOWN=131072]="UNKNOWN",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=4]="CODE_39",e[e.CODE_93=8]="CODE_93",e[e.CODE_128=16]="CODE_128",e[e.DATA_MATRIX=32]="DATA_MATRIX",e[e.EAN_8=64]="EAN_8",e[e.EAN_13=128]="EAN_13",e[e.ITF=256]="ITF",e[e.MAXICODE=512]="MAXICODE",e[e.PDF_417=1024]="PDF_417",e[e.QR_CODE=2048]="QR_CODE",e[e.RSS_14=4096]="RSS_14",e[e.RSS_EXPANDED=8192]="RSS_EXPANDED",e[e.UPC_A=16384]="UPC_A",e[e.UPC_E=32768]="UPC_E",e[e.UPC_EAN_EXTENSION=65536]="UPC_EAN_EXTENSION",e[e.ALL=131071]="ALL"}(s||(s={})),function(e){e[e.EYE_LEFT=0]="EYE_LEFT",e[e.EYE_RIGHT=1]="EYE_RIGHT",e[e.EAR_LEFT=2]="EAR_LEFT",e[e.EAR_RIGHT=3]="EAR_RIGHT",e[e.NOSE_BRIDGE=4]="NOSE_BRIDGE",e[e.NOSE_TIP=5]="NOSE_TIP",e[e.NOSE_BASE=6]="NOSE_BASE",e[e.LIP_TOP=7]="LIP_TOP",e[e.LIP_BOTTOM=8]="LIP_BOTTOM",e[e.MOUTH_CENTER=9]="MOUTH_CENTER",e[e.CHIN=10]="CHIN",e[e.EYEBROW_LEFT=11]="EYEBROW_LEFT",e[e.EYEBROW_RIGHT=12]="EYEBROW_RIGHT"}(c||(c={})),function(e){e[e.WORLD=3]="WORLD",e[e.MINUS_Z_AWAY_FROM_USER=4]="MINUS_Z_AWAY_FROM_USER",e[e.MINUS_Z_HEADING=5]="MINUS_Z_HEADING",e[e.UNCHANGED=6]="UNCHANGED"}(l||(l={})),function(e){e[e.LOG_LEVEL_NONE=0]="LOG_LEVEL_NONE",e[e.LOG_LEVEL_ERROR=1]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_WARNING=2]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_VERBOSE=3]="LOG_LEVEL_VERBOSE"}(d||(d={})),function(e){e[e.FRAME_PIXEL_FORMAT_I420=0]="FRAME_PIXEL_FORMAT_I420",e[e.FRAME_PIXEL_FORMAT_I420A=1]="FRAME_PIXEL_FORMAT_I420A",e[e.FRAME_PIXEL_FORMAT_I422=2]="FRAME_PIXEL_FORMAT_I422",e[e.FRAME_PIXEL_FORMAT_I444=3]="FRAME_PIXEL_FORMAT_I444",e[e.FRAME_PIXEL_FORMAT_NV12=4]="FRAME_PIXEL_FORMAT_NV12",e[e.FRAME_PIXEL_FORMAT_RGBA=5]="FRAME_PIXEL_FORMAT_RGBA",e[e.FRAME_PIXEL_FORMAT_BGRA=6]="FRAME_PIXEL_FORMAT_BGRA",e[e.FRAME_PIXEL_FORMAT_Y=7]="FRAME_PIXEL_FORMAT_Y"}(h||(h={})),function(e){e[e.IMAGE_TRACKER_TYPE_PLANAR=0]="IMAGE_TRACKER_TYPE_PLANAR",e[e.IMAGE_TRACKER_TYPE_CYLINDRICAL=1]="IMAGE_TRACKER_TYPE_CYLINDRICAL",e[e.IMAGE_TRACKER_TYPE_CONICAL=2]="IMAGE_TRACKER_TYPE_CONICAL"}(u||(u={})),function(e){e[e.WORLD_TRACKER_QUALITY_INITIALIZING=0]="WORLD_TRACKER_QUALITY_INITIALIZING",e[e.WORLD_TRACKER_QUALITY_GOOD=1]="WORLD_TRACKER_QUALITY_GOOD",e[e.WORLD_TRACKER_QUALITY_ORIENTATION_ONLY=2]="WORLD_TRACKER_QUALITY_ORIENTATION_ONLY"}(f||(f={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HIGH=1]="HIGH"}(p||(p={}));const v=new Map;class w{constructor(e){this._gl=e,this._viewports=[],this._underlyingViewport=this._gl.viewport,this._viewports.push(this._gl.getParameter(this._gl.VIEWPORT)),this._gl.viewport=(e,r,t,a)=>{this._viewports[this._viewports.length-1]=[e,r,t,a],this._underlyingViewport.call(this._gl,e,r,t,a)}}static get(e){let r=v.get(e);return r||(r=new w(e),v.set(e,r)),r}push(){this._viewports.push(this._viewports[this._viewports.length-1])}pop(){const e=this._viewports.pop(),r=this._viewports[this._viewports.length-1];e&&e[0]===r[0]&&e[1]===r[1]&&e[2]===r[2]&&e[3]===r[3]||this._underlyingViewport.call(this._gl,r[0],r[1],r[2],r[3])}}var g,y=t(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(g||(g={}));let N={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,getDataSize:e=>e===p.HIGH?[640,480]:[320,240],videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=N,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),N.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),N.preferImageBitmapCamera=!0));let k=new y.UAParser,S=(k.getOS().name||"unknown").toLowerCase(),j=(k.getEngine().name||"unknown").toLowerCase();function z(e){N.forceWindowOrientation=!0,N.preferMediaStreamTrackProcessorCamera=!1,N.intervalMultiplier=1e3,N.trustSensorIntervals=!0;let r=e.split(".");if(r.length>=2){const e=parseInt(r[0]),t=parseInt(r[1]);(e<11||11===e&&t<3)&&(N.blacklisted=!0),(e<12||12===e&&t<2)&&(N.videoElementInDOM=!0),(12===e&&t>=2||e>=13)&&(N.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(N.showSafariPermissionsResetIfNecessary=!0),(e>=12&&t>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(N.requestHighFrameRate=!0,e<14&&(N.videoHeight=360,N.getDataSize=e=>e===p.HIGH?[640,360]:[320,180])),16===e&&t>=4&&(N.ios164CameraSelection=!0),e>=17&&(N.relyOnConstraintsForCameraSelection=!0)}}function I(e,r,t){let a=e.createShader(r);if(!a)throw new Error("Unable to create shader");e.shaderSource(a,t),e.compileShader(a);let i=e.getShaderInfoLog(a);if(i&&i.trim().length>0)throw new Error("Shader compile error: "+i);return a}"webkit"===j&&"ios"!==S&&(N.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&z("15.0")),"webkit"===j&&"ios"===S&&(N.deviceMotionMutliplier=1,z(k.getOS().version||"15.0"));class R{constructor(e){this._gl=e,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._computedTransformRotation=-1,this._computedFrontCameraRotation=!1,this._cameraUvTransform=m(),this._framebufferWidth=0,this._framebufferHeight=0,this._framebufferId=null,this._renderTexture=null,this._isWebGL2=!1,this._isWebGL2=e.getParameter(e.VERSION).indexOf("WebGL 2")>=0,this._isWebGL2||(this._instancedArraysExtension=this._gl.getExtension("ANGLE_instanced_arrays"))}resetGLContext(){this._framebufferId=null,this._renderTexture=null,this._vertexBuffer=void 0,this._indexBuffer=void 0,this._greyscaleShader=void 0}destroy(){this.resetGLContext()}uploadFrame(e,r,t,a,i){let _=this._gl;const n=w.get(_);n.push();const o=_.isEnabled(_.SCISSOR_TEST),s=_.isEnabled(_.DEPTH_TEST),c=_.isEnabled(_.BLEND),l=_.isEnabled(_.CULL_FACE),d=_.isEnabled(_.STENCIL_TEST),h=_.getParameter(_.ACTIVE_TEXTURE),u=_.getParameter(_.UNPACK_FLIP_Y_WEBGL),f=_.getParameter(_.CURRENT_PROGRAM);_.activeTexture(_.TEXTURE0);const p=_.getParameter(_.TEXTURE_BINDING_2D),b=_.getParameter(_.FRAMEBUFFER_BINDING),m=_.getParameter(_.ARRAY_BUFFER_BINDING),E=_.getParameter(_.ELEMENT_ARRAY_BUFFER_BINDING);_.disable(_.SCISSOR_TEST),_.disable(_.DEPTH_TEST),_.disable(_.BLEND),_.disable(_.CULL_FACE),_.disable(_.STENCIL_TEST),_.pixelStorei(_.UNPACK_FLIP_Y_WEBGL,!1),_.bindTexture(_.TEXTURE_2D,e);const v=_.RGBA,g=_.RGBA,y=_.UNSIGNED_BYTE;_.texImage2D(_.TEXTURE_2D,0,v,g,y,r);let k=0,S=0;"undefined"!=typeof HTMLVideoElement&&r instanceof HTMLVideoElement?(k=r.videoWidth,S=r.videoHeight):(k=r.width,S=r.height),S>k&&(S=[k,k=S][0]),this._updateTransforms(t,a);const[j,z]=N.getDataSize(i);let I=this._getFramebuffer(_,j/4,z),R=this._getVertexBuffer(_),A=this._getIndexBuffer(_),x=this._getGreyscaleShader(_);const L=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),T=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),P=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),F=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),M=_.getVertexAttribOffset(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),K=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED),C=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),O=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),B=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),D=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),U=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),Z=_.getVertexAttribOffset(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),V=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),G=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED);let H=0,W=0;this._isWebGL2?(H=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),W=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),_.vertexAttribDivisor(x.aVertexPositionLoc,0),_.vertexAttribDivisor(x.aTextureCoordLoc,0)):this._instancedArraysExtension&&(H=_.getVertexAttrib(x.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),W=_.getVertexAttrib(x.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aTextureCoordLoc,0)),_.bindFramebuffer(_.FRAMEBUFFER,I),_.viewport(0,0,this._framebufferWidth,this._framebufferHeight),_.clear(_.COLOR_BUFFER_BIT),_.bindBuffer(_.ARRAY_BUFFER,R),_.vertexAttribPointer(x.aVertexPositionLoc,2,_.FLOAT,!1,16,0),_.enableVertexAttribArray(x.aVertexPositionLoc),_.vertexAttribPointer(x.aTextureCoordLoc,2,_.FLOAT,!1,16,8),_.enableVertexAttribArray(x.aTextureCoordLoc),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,A),_.useProgram(x.program),_.uniform1f(x.uTexWidthLoc,j),_.uniformMatrix4fv(x.uUvTransformLoc,!1,this._cameraUvTransform),_.activeTexture(_.TEXTURE0),_.bindTexture(_.TEXTURE_2D,e),_.uniform1i(x.uSamplerLoc,0),_.drawElements(_.TRIANGLES,6,_.UNSIGNED_SHORT,0),_.bindBuffer(_.ARRAY_BUFFER,C),_.vertexAttribPointer(x.aVertexPositionLoc,L,T,P,F,M),_.bindBuffer(_.ARRAY_BUFFER,V),_.vertexAttribPointer(x.aTextureCoordLoc,O,B,D,U,Z),_.bindBuffer(_.ARRAY_BUFFER,m),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,E),K||_.disableVertexAttribArray(x.aVertexPositionLoc),G||_.disableVertexAttribArray(x.aTextureCoordLoc),this._isWebGL2?(_.vertexAttribDivisor(x.aVertexPositionLoc,H),_.vertexAttribDivisor(x.aTextureCoordLoc,W)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aVertexPositionLoc,H),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aTextureCoordLoc,W)),_.bindFramebuffer(_.FRAMEBUFFER,b),_.useProgram(f),_.bindTexture(_.TEXTURE_2D,p),_.activeTexture(h),_.pixelStorei(_.UNPACK_FLIP_Y_WEBGL,u),n.pop(),c&&_.enable(_.BLEND),l&&_.enable(_.CULL_FACE),s&&_.enable(_.DEPTH_TEST),o&&_.enable(_.SCISSOR_TEST),d&&_.enable(_.STENCIL_TEST)}readFrame(e,r,t){let a=this._gl,i=new Uint8Array(r);const _=a.getParameter(a.FRAMEBUFFER_BINDING),[n,o]=N.getDataSize(t);let s=this._getFramebuffer(a,n/4,o);return a.bindFramebuffer(a.FRAMEBUFFER,s),a.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,a.RGBA,a.UNSIGNED_BYTE,i),a.bindFramebuffer(a.FRAMEBUFFER,_),{uvTransform:this._cameraUvTransform,data:r,texture:e,dataWidth:n,dataHeight:o,userFacing:this._computedFrontCameraRotation}}_updateTransforms(e,r){e==this._computedTransformRotation&&r==this._computedFrontCameraRotation||(this._computedTransformRotation=e,this._computedFrontCameraRotation=r,this._cameraUvTransform=this._getCameraUvTransform())}_getCameraUvTransform(){switch(this._computedTransformRotation){case 270:return new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]);case 180:return new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);case 90:return new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1])}return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}_getFramebuffer(e,r,t){if(this._framebufferWidth===r&&this._framebufferHeight===t&&this._framebufferId)return this._framebufferId;if(this._framebufferId&&(e.deleteFramebuffer(this._framebufferId),this._framebufferId=null),this._renderTexture&&(e.deleteTexture(this._renderTexture),this._renderTexture=null),this._framebufferId=e.createFramebuffer(),!this._framebufferId)throw new Error("Unable to create framebuffer");if(e.bindFramebuffer(e.FRAMEBUFFER,this._framebufferId),this._renderTexture=e.createTexture(),!this._renderTexture)throw new Error("Unable to create render texture");e.activeTexture(e.TEXTURE0);const a=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,r,t,0,e.RGBA,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameterf(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this._renderTexture,0);let i=e.checkFramebufferStatus(e.FRAMEBUFFER);if(i!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+i.toString());return this._framebufferWidth=r,this._framebufferHeight=t,e.bindTexture(e.TEXTURE_2D,a),e.bindFramebuffer(e.FRAMEBUFFER,null),this._framebufferId}_getVertexBuffer(e){if(this._vertexBuffer)return this._vertexBuffer;if(this._vertexBuffer=e.createBuffer(),!this._vertexBuffer)throw new Error("Unable to create vertex buffer");e.bindBuffer(e.ARRAY_BUFFER,this._vertexBuffer);let r=new Float32Array([-1,-1,0,0,-1,1,0,1,1,1,1,1,1,-1,1,0]);return e.bufferData(e.ARRAY_BUFFER,r,e.STATIC_DRAW),this._vertexBuffer}_getIndexBuffer(e){if(this._indexBuffer)return this._indexBuffer;if(this._indexBuffer=e.createBuffer(),!this._indexBuffer)throw new Error("Unable to create index buffer");e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this._indexBuffer);let r=new Uint16Array([0,1,2,0,2,3]);return e.bufferData(e.ELEMENT_ARRAY_BUFFER,r,e.STATIC_DRAW),this._indexBuffer}_getGreyscaleShader(e){if(this._greyscaleShader)return this._greyscaleShader;let r=e.createProgram();if(!r)throw new Error("Unable to create program");let t=I(e,e.VERTEX_SHADER,P),a=I(e,e.FRAGMENT_SHADER,F);e.attachShader(r,t),e.attachShader(r,a),function(e,r){e.linkProgram(r);let t=e.getProgramInfoLog(r);if(t&&t.trim().length>0)throw new Error("Unable to link: "+t)}(e,r);let i=e.getUniformLocation(r,"uTexWidth");if(!i)throw new Error("Unable to get uniform location uTexWidth");let _=e.getUniformLocation(r,"uUvTransform");if(!_)throw new Error("Unable to get uniform location uUvTransform");let n=e.getUniformLocation(r,"uSampler");if(!n)throw new Error("Unable to get uniform location uSampler");return this._greyscaleShader={program:r,aVertexPositionLoc:e.getAttribLocation(r,"aVertexPosition"),aTextureCoordLoc:e.getAttribLocation(r,"aTextureCoord"),uTexWidthLoc:i,uUvTransformLoc:_,uSamplerLoc:n},this._greyscaleShader}}let A,x,L,T,P="\\n attribute vec4 aVertexPosition;\\n attribute vec2 aTextureCoord;\\n\\n varying highp vec2 vTextureCoord1;\\n varying highp vec2 vTextureCoord2;\\n varying highp vec2 vTextureCoord3;\\n varying highp vec2 vTextureCoord4;\\n\\n uniform float uTexWidth;\\n\\tuniform mat4 uUvTransform;\\n\\n void main(void) {\\n highp vec2 offset1 = vec2(1.5 / uTexWidth, 0);\\n highp vec2 offset2 = vec2(0.5 / uTexWidth, 0);\\n\\n gl_Position = aVertexPosition;\\n vTextureCoord1 = (uUvTransform * vec4(aTextureCoord - offset1, 0, 1)).xy;\\n vTextureCoord2 = (uUvTransform * vec4(aTextureCoord - offset2, 0, 1)).xy;\\n vTextureCoord3 = (uUvTransform * vec4(aTextureCoord + offset2, 0, 1)).xy;\\n vTextureCoord4 = (uUvTransform * vec4(aTextureCoord + offset1, 0, 1)).xy;\\n }\\n",F="\\n varying highp vec2 vTextureCoord1;\\n varying highp vec2 vTextureCoord2;\\n varying highp vec2 vTextureCoord3;\\n varying highp vec2 vTextureCoord4;\\n\\n uniform sampler2D uSampler;\\n\\n const lowp vec3 colorWeights = vec3(77.0 / 256.0, 150.0 / 256.0, 29.0 / 256.0);\\n\\n void main(void) {\\n lowp vec4 outpx;\\n\\n outpx.r = dot(colorWeights, texture2D(uSampler, vTextureCoord1).xyz);\\n outpx.g = dot(colorWeights, texture2D(uSampler, vTextureCoord2).xyz);\\n outpx.b = dot(colorWeights, texture2D(uSampler, vTextureCoord3).xyz);\\n outpx.a = dot(colorWeights, texture2D(uSampler, vTextureCoord4).xyz);\\n\\n gl_FragColor = outpx;\\n }\\n";var M=function(e,r,t,a){return new(t||(t=Promise))((function(i,_){function n(e){try{s(a.next(e))}catch(e){_(e)}}function o(e){try{s(a.throw(e))}catch(e){_(e)}}function s(e){var r;e.done?i(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(n,o)}s((a=a.apply(e,r||[])).next())}))};let K,C=new class{constructor(){this.onOutgoingMessage=new n,this.onIncomingMessage=new o,this._outgoingMessages=[]}postIncomingMessage(e){this.onIncomingMessage.emit(e)}postOutgoingMessage(e,r){this._outgoingMessages.push({msg:e,transferables:r}),this.onOutgoingMessage.emit()}getOutgoingMessages(){let e=this._outgoingMessages;return this._outgoingMessages=[],e}},O=0,B=!1;const D=new Map,U=new Map;function Z(e,t,a){return M(this,void 0,void 0,(function*(){let i=r({locateFile:(r,t)=>r.endsWith("zappar-cv.wasm")?e:t+r,instantiateWasm:(e,r)=>{const a=new WebAssembly.Instance(t,e);return r(a),a.exports},onRuntimeInitialized:()=>{let e=function(e){let r=e.cwrap("zappar_log_level","number",[]),t=e.cwrap("zappar_log_level_set",null,["number"]),a=e.cwrap("zappar_analytics_project_id_set",null,["string","string"]),i=e.cwrap("zappar_pipeline_create","number",[]),_=e.cwrap("zappar_pipeline_destroy",null,["number"]),n=e.cwrap("zappar_pipeline_camera_frame_data_raw","number",["number"]),o=e.cwrap("zappar_pipeline_camera_frame_data_raw_size","number",["number"]),s=e.cwrap("zappar_pipeline_camera_frame_data_raw_width","number",["number"]),c=e.cwrap("zappar_pipeline_camera_frame_data_raw_height","number",["number"]),l=e.cwrap("zappar_pipeline_frame_update",null,["number"]),d=e.cwrap("zappar_pipeline_frame_number","number",["number"]),h=e.cwrap("zappar_pipeline_camera_model","number",["number"]),u=e.cwrap("zappar_pipeline_camera_frame_user_data","number",["number"]),f=e.cwrap("zappar_pipeline_camera_frame_submit",null,["number","number","number","number","number","number","number","number","number"]),p=e.cwrap("zappar_pipeline_camera_frame_submit_raw_pointer",null,["number","number","number","number","number","number","number","number","number","number","number","number","number"]),b=e.cwrap("zappar_pipeline_camera_frame_camera_attitude","number",["number"]),m=e.cwrap("zappar_pipeline_camera_frame_device_attitude","number",["number"]),E=e.cwrap("zappar_pipeline_motion_accelerometer_submit",null,["number","number","number","number","number"]),v=e.cwrap("zappar_pipeline_motion_accelerometer_with_gravity_submit_int",null,["number","number","number","number","number","number"]),w=e.cwrap("zappar_pipeline_motion_accelerometer_without_gravity_submit_int",null,["number","number","number","number","number","number"]),g=e.cwrap("zappar_pipeline_motion_rotation_rate_submit",null,["number","number","number","number","number"]),y=e.cwrap("zappar_pipeline_motion_rotation_rate_submit_int",null,["number","number","number","number","number","number"]),N=e.cwrap("zappar_pipeline_motion_attitude_submit",null,["number","number","number","number","number"]),k=e.cwrap("zappar_pipeline_motion_attitude_submit_int",null,["number","number","number","number","number","number"]),S=e.cwrap("zappar_pipeline_motion_attitude_matrix_submit",null,["number","number"]),j=e.cwrap("zappar_camera_source_create","number",["number","string"]),z=e.cwrap("zappar_camera_source_destroy",null,["number"]),I=e.cwrap("zappar_sequence_source_create","number",["number"]),R=e.cwrap("zappar_sequence_source_destroy",null,["number"]),A=e.cwrap("zappar_image_tracker_create","number",["number"]),x=e.cwrap("zappar_image_tracker_destroy",null,["number"]),L=e.cwrap("zappar_image_tracker_target_load_from_memory",null,["number","number","number"]),T=e.cwrap("zappar_image_tracker_target_loaded_version","number",["number"]),P=e.cwrap("zappar_image_tracker_enabled","number",["number"]),F=e.cwrap("zappar_image_tracker_enabled_set",null,["number","number"]),M=e.cwrap("zappar_image_tracker_anchor_count","number",["number"]),K=e.cwrap("zappar_image_tracker_anchor_id","string",["number","number"]),C=e.cwrap("zappar_image_tracker_anchor_pose_raw","number",["number","number"]),O=e.cwrap("zappar_face_tracker_create","number",["number"]),B=e.cwrap("zappar_face_tracker_destroy",null,["number"]),D=e.cwrap("zappar_face_tracker_model_load_from_memory",null,["number","number","number"]),U=e.cwrap("zappar_face_tracker_model_loaded_version","number",["number"]),Z=e.cwrap("zappar_face_tracker_enabled_set",null,["number","number"]),V=e.cwrap("zappar_face_tracker_enabled","number",["number"]),G=e.cwrap("zappar_face_tracker_max_faces_set",null,["number","number"]),H=e.cwrap("zappar_face_tracker_max_faces","number",["number"]),W=e.cwrap("zappar_face_tracker_anchor_count","number",["number"]),Y=e.cwrap("zappar_face_tracker_anchor_id","string",["number","number"]),X=e.cwrap("zappar_face_tracker_anchor_pose_raw","number",["number","number"]),q=e.cwrap("zappar_face_tracker_anchor_identity_coefficients","number",["number","number"]),$=e.cwrap("zappar_face_tracker_anchor_expression_coefficients","number",["number","number"]),J=e.cwrap("zappar_face_mesh_create","number",[]),Q=e.cwrap("zappar_face_mesh_destroy",null,["number"]),ee=e.cwrap("zappar_face_landmark_create","number",["number"]),re=e.cwrap("zappar_face_landmark_destroy",null,["number"]),te=e.cwrap("zappar_barcode_finder_create","number",["number"]),ae=e.cwrap("zappar_barcode_finder_destroy",null,["number"]),ie=e.cwrap("zappar_barcode_finder_enabled_set",null,["number","number"]),_e=e.cwrap("zappar_barcode_finder_enabled","number",["number"]),ne=e.cwrap("zappar_barcode_finder_found_number","number",["number"]),oe=e.cwrap("zappar_barcode_finder_found_text","string",["number","number"]),se=e.cwrap("zappar_barcode_finder_found_format","number",["number","number"]),ce=e.cwrap("zappar_barcode_finder_formats","number",["number"]),le=e.cwrap("zappar_barcode_finder_formats_set",null,["number","number"]),de=e.cwrap("zappar_instant_world_tracker_create","number",["number"]),he=e.cwrap("zappar_instant_world_tracker_destroy",null,["number"]),ue=e.cwrap("zappar_instant_world_tracker_enabled_set",null,["number","number"]),fe=e.cwrap("zappar_instant_world_tracker_enabled","number",["number"]),pe=e.cwrap("zappar_instant_world_tracker_anchor_pose_raw","number",["number"]),be=e.cwrap("zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw",null,["number","number","number","number","number"]),me=e.cwrap("zappar_zapcode_tracker_create","number",["number"]),Ee=e.cwrap("zappar_zapcode_tracker_destroy",null,["number"]),ve=e.cwrap("zappar_zapcode_tracker_target_load_from_memory",null,["number","number","number"]),we=e.cwrap("zappar_zapcode_tracker_target_loaded_version","number",["number"]),ge=e.cwrap("zappar_zapcode_tracker_enabled","number",["number"]),ye=e.cwrap("zappar_zapcode_tracker_enabled_set",null,["number","number"]),Ne=e.cwrap("zappar_zapcode_tracker_anchor_count","number",["number"]),ke=e.cwrap("zappar_zapcode_tracker_anchor_id","string",["number","number"]),Se=e.cwrap("zappar_zapcode_tracker_anchor_pose_raw","number",["number","number"]),je=e.cwrap("zappar_world_tracker_create","number",["number"]),ze=e.cwrap("zappar_world_tracker_destroy",null,["number"]),Ie=e.cwrap("zappar_world_tracker_enabled","number",["number"]),Re=e.cwrap("zappar_world_tracker_enabled_set",null,["number","number"]),Ae=e.cwrap("zappar_world_tracker_quality","number",["number"]),xe=e.cwrap("zappar_world_tracker_plane_count","number",["number"]),Le=e.cwrap("zappar_world_tracker_plane_pose_raw","number",["number","number"]),Te=e.cwrap("zappar_world_tracker_world_anchor_valid","number",["number"]),Pe=e.cwrap("zappar_world_tracker_world_anchor_pose_raw","number",["number"]),Fe=e.cwrap("zappar_world_tracker_ground_anchor_valid","number",["number"]),Me=e.cwrap("zappar_world_tracker_ground_anchor_pose_raw","number",["number"]),Ke=e.cwrap("zappar_world_tracker_reset",null,["number"]),Ce=e.cwrap("zappar_world_tracker_debug_enabled","number",["number"]),Oe=e.cwrap("zappar_world_tracker_debug_enabled_set",null,["number","number"]),Be=e.cwrap("zappar_world_tracker_debug_tracks_data_size","number",["number"]),De=e.cwrap("zappar_world_tracker_debug_tracks_data","number",["number"]),Ue=e.cwrap("zappar_world_tracker_debug_projections_data_size","number",["number"]),Ze=e.cwrap("zappar_world_tracker_debug_projections_data","number",["number"]),Ve=32,Ge=e._malloc(Ve),He=(e._malloc(64),new Map),We=(r,t)=>{let a=He.get(r);return(!a||a[0]<t)&&(a&&e._free(a[1]),a=[t,e._malloc(t)],He.set(r,a)),a[1]};return{log_level:()=>r(),log_level_set:e=>t(e),analytics_project_id_set:(e,r)=>a(e,r),pipeline_create:()=>i(),pipeline_destroy:()=>{_()},pipeline_camera_frame_data_raw:e=>n(e),pipeline_camera_frame_data_raw_size:e=>o(e),pipeline_camera_frame_data_raw_width:e=>s(e),pipeline_camera_frame_data_raw_height:e=>c(e),pipeline_frame_update:e=>l(e),pipeline_frame_number:e=>d(e),pipeline_camera_model:r=>{let t=h(r),a=new Float32Array(6);return a.set(e.HEAPF32.subarray(t/4,6+t/4)),t=a,t},pipeline_camera_frame_user_data:e=>u(e),pipeline_camera_frame_submit:(r,t,a,i,_,n,o,s)=>{Ve<t.byteLength&&(e._free(Ge),Ve=t.byteLength,Ge=e._malloc(Ve));let c=Ge,l=t.byteLength;e.HEAPU8.set(new Uint8Array(t),Ge);let d=a,h=i,u=_,p=We(4,n.byteLength);e.HEAPF32.set(n,p/4);let b=We(5,o.byteLength);return e.HEAPF32.set(o,b/4),f(r,c,l,d,h,u,p,b,s?1:0)},pipeline_camera_frame_submit_raw_pointer:(r,t,a,i,_,n,o,s,c,l,d,h,u)=>{let f=t,b=a,m=i,E=_,v=n,w=o,g=We(6,s.byteLength);e.HEAPF32.set(s,g/4);let y=c,N=We(8,l.byteLength);return e.HEAPF32.set(l,N/4),p(r,f,b,m,E,v,w,g,y,N,d?1:0,h,u?1:0)},pipeline_camera_frame_camera_attitude:r=>{let t=b(r),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(t/4,16+t/4)),t=a,t},pipeline_camera_frame_device_attitude:r=>{let t=m(r),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(t/4,16+t/4)),t=a,t},pipeline_motion_accelerometer_submit:(e,r,t,a,i)=>E(e,r,t,a,i),pipeline_motion_accelerometer_with_gravity_submit_int:(e,r,t,a,i,_)=>v(e,r,t,a,i,_),pipeline_motion_accelerometer_without_gravity_submit_int:(e,r,t,a,i,_)=>w(e,r,t,a,i,_),pipeline_motion_rotation_rate_submit:(e,r,t,a,i)=>g(e,r,t,a,i),pipeline_motion_rotation_rate_submit_int:(e,r,t,a,i,_)=>y(e,r,t,a,i,_),pipeline_motion_attitude_submit:(e,r,t,a,i)=>N(e,r,t,a,i),pipeline_motion_attitude_submit_int:(e,r,t,a,i,_)=>k(e,r,t,a,i,_),pipeline_motion_attitude_matrix_submit:(r,t)=>{let a=We(0,t.byteLength);return e.HEAPF32.set(t,a/4),S(r,a)},camera_source_create:(e,r)=>j(e,r),camera_source_destroy:()=>{z()},sequence_source_create:e=>I(e),sequence_source_destroy:()=>{R()},image_tracker_create:e=>A(e),image_tracker_destroy:()=>{x()},image_tracker_target_load_from_memory:(r,t)=>{Ve<t.byteLength&&(e._free(Ge),Ve=t.byteLength,Ge=e._malloc(Ve));let a=Ge,i=t.byteLength;return e.HEAPU8.set(new Uint8Array(t),Ge),L(r,a,i)},image_tracker_target_loaded_version:e=>T(e),image_tracker_enabled:e=>{let r=P(e);return r=1===r,r},image_tracker_enabled_set:(e,r)=>F(e,r?1:0),image_tracker_anchor_count:e=>M(e),image_tracker_anchor_id:(e,r)=>K(e,r),image_tracker_anchor_pose_raw:(r,t)=>{let a=C(r,t),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_create:e=>O(e),face_tracker_destroy:()=>{B()},face_tracker_model_load_from_memory:(r,t)=>{Ve<t.byteLength&&(e._free(Ge),Ve=t.byteLength,Ge=e._malloc(Ve));let a=Ge,i=t.byteLength;return e.HEAPU8.set(new Uint8Array(t),Ge),D(r,a,i)},face_tracker_model_loaded_version:e=>U(e),face_tracker_enabled_set:(e,r)=>Z(e,r?1:0),face_tracker_enabled:e=>{let r=V(e);return r=1===r,r},face_tracker_max_faces_set:(e,r)=>G(e,r),face_tracker_max_faces:e=>H(e),face_tracker_anchor_count:e=>W(e),face_tracker_anchor_id:(e,r)=>Y(e,r),face_tracker_anchor_pose_raw:(r,t)=>{let a=X(r,t),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_anchor_identity_coefficients:(r,t)=>{let a=q(r,t),i=new Float32Array(50);return i.set(e.HEAPF32.subarray(a/4,50+a/4)),a=i,a},face_tracker_anchor_expression_coefficients:(r,t)=>{let a=$(r,t),i=new Float32Array(29);return i.set(e.HEAPF32.subarray(a/4,29+a/4)),a=i,a},face_mesh_create:()=>J(),face_mesh_destroy:()=>{Q()},face_landmark_create:e=>ee(e),face_landmark_destroy:()=>{re()},barcode_finder_create:e=>te(e),barcode_finder_destroy:()=>{ae()},barcode_finder_enabled_set:(e,r)=>ie(e,r?1:0),barcode_finder_enabled:e=>{let r=_e(e);return r=1===r,r},barcode_finder_found_number:e=>ne(e),barcode_finder_found_text:(e,r)=>oe(e,r),barcode_finder_found_format:(e,r)=>se(e,r),barcode_finder_formats:e=>ce(e),barcode_finder_formats_set:(e,r)=>le(e,r),instant_world_tracker_create:e=>de(e),instant_world_tracker_destroy:()=>{he()},instant_world_tracker_enabled_set:(e,r)=>ue(e,r?1:0),instant_world_tracker_enabled:e=>{let r=fe(e);return r=1===r,r},instant_world_tracker_anchor_pose_raw:r=>{let t=pe(r),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(t/4,16+t/4)),t=a,t},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,r,t,a,i)=>be(e,r,t,a,i),zapcode_tracker_create:e=>me(e),zapcode_tracker_destroy:()=>{Ee()},zapcode_tracker_target_load_from_memory:(r,t)=>{Ve<t.byteLength&&(e._free(Ge),Ve=t.byteLength,Ge=e._malloc(Ve));let a=Ge,i=t.byteLength;return e.HEAPU8.set(new Uint8Array(t),Ge),ve(r,a,i)},zapcode_tracker_target_loaded_version:e=>we(e),zapcode_tracker_enabled:e=>{let r=ge(e);return r=1===r,r},zapcode_tracker_enabled_set:(e,r)=>ye(e,r?1:0),zapcode_tracker_anchor_count:e=>Ne(e),zapcode_tracker_anchor_id:(e,r)=>ke(e,r),zapcode_tracker_anchor_pose_raw:(r,t)=>{let a=Se(r,t),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},world_tracker_create:e=>je(e),world_tracker_destroy:()=>{ze()},world_tracker_enabled:e=>{let r=Ie(e);return r=1===r,r},world_tracker_enabled_set:(e,r)=>Re(e,r?1:0),world_tracker_quality:e=>Ae(e),world_tracker_plane_count:e=>xe(e),world_tracker_plane_pose_raw:(r,t)=>{let a=Le(r,t),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},world_tracker_world_anchor_valid:e=>{let r=Te(e);return r=1===r,r},world_tracker_world_anchor_pose_raw:r=>{let t=Pe(r),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(t/4,16+t/4)),t=a,t},world_tracker_ground_anchor_valid:e=>{let r=Fe(e);return r=1===r,r},world_tracker_ground_anchor_pose_raw:r=>{let t=Me(r),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(t/4,16+t/4)),t=a,t},world_tracker_reset:e=>Ke(e),world_tracker_debug_enabled:e=>{let r=Ce(e);return r=1===r,r},world_tracker_debug_enabled_set:(e,r)=>Oe(e,r?1:0),world_tracker_debug_tracks_data_size:e=>Be(e),world_tracker_debug_tracks_data:r=>{let t=De(r),a=Be(r),i=new Float32Array(a);return i.set(e.HEAPF32.subarray(t/4,a+t/4)),t=i,t},world_tracker_debug_projections_data_size:e=>Ue(e),world_tracker_debug_projections_data:r=>{let t=Ze(r),a=Ue(r),i=new Float32Array(a);return i.set(e.HEAPF32.subarray(t/4,a+t/4)),t=i,t}}}(i);const r=function(e){return{worker_message_send_count:e.cwrap("worker_message_send_count","number",[]),worker_message_send_clear:e.cwrap("worker_message_send_clear",null,[]),worker_message_send_data_size:e.cwrap("worker_message_send_data_size","number",["number"]),worker_message_send_data:e.cwrap("worker_message_send_data","number",["number"]),worker_message_send_reference:e.cwrap("worker_message_send_reference","number",["number"]),worker_message_receive:e.cwrap("worker_message_receive",null,["number","number","number"])}}(i),t=a?function(e){return{data_download_clear:e.cwrap("data_download_clear",null,[]),data_download_size:e.cwrap("data_download_size","number",[]),data_download:e.cwrap("data_download","number",[]),data_should_record_set:e.cwrap("data_should_record_set",null,["number"])}}(i):void 0;null==t||t.data_should_record_set(1);let n=new _(e,((e,r)=>{C.postOutgoingMessage({p:e,t:"zappar",d:r},[r])}));C.postOutgoingMessage("loaded",[]),C.onIncomingMessage.bind((a=>{var _,o,s;switch(a.t){case"zappar":n.processBuffer(a.d),C.postOutgoingMessage({t:"buf",d:a.d},[a.d]);break;case"buf":null===(_=n.serializersByPipelineId.get(a.p))||void 0===_||_.bufferReturn(a.d);break;case"cameraFrameC2S":{let _,o=a,s=n._pipeline_by_instance.get(o.p);s&&(e.pipeline_camera_frame_submit(s,o.d,o.width,o.height,o.token,o.c2d,o.cm,o.userFacing),e.pipeline_frame_update(s),_=e.pipeline_camera_frame_device_attitude(s),n.exploreState(),Q(i,r),t&&ee(i,t));let c={token:o.token,d:o.d,p:o.p,t:"cameraFrameRecycleS2C",att:_};C.postOutgoingMessage(c,[o.d]);break}case"rawenabled":B=a.v;break;case"rawrequest":{const e=a,r=D.get(e.p),t={t:"raw",token:e.token,p:e.p,data:r&&null!==(s=null===(o=r.ready.find((r=>r.token===e.token)))||void 0===o?void 0:o.data)&&void 0!==s?s:null};C.postOutgoingMessage(t,[]);break}case"cameraProfileC2S":{let e=a;U.set(e.source,e.p);break}case"streamC2S":{let _=a;(function(e,r,t,a,i,_,n,o,s){return M(this,void 0,void 0,(function*(){for(;;){let c;try{c=yield t.getReader()}catch(e){yield $(1e3);continue}try{return void(yield q(e,r,c,a,i,_,n,o,s))}catch(e){}return void(yield $(1e3))}}))})(i,e,_.s,_.p,_.userFacing,n,_.source,r,t).then((()=>{let e={t:"streamEndedS2C",p:_.p,source:_.source};C.postOutgoingMessage(e,[])})).catch((e=>{}));break}case"cameraToScreenC2S":O=a.r;break;case"imageBitmapC2S":!function(e,r,t,a){const[i,_]=function(){if(!L||!T){const e=new OffscreenCanvas(1,1);if(T=e.getContext("webgl"),!T)throw new Error("Unable to get offscreen GL context");L=new R(T)}return[L,T]}();if(x||(x=_.createTexture(),_.bindTexture(_.TEXTURE_2D,x),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_S,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_T,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_MIN_FILTER,_.LINEAR)),!x)return;const[n,o]=N.getDataSize(e.cp);(!A||A.byteLength<n*o)&&(A=new ArrayBuffer(n*o)),i.uploadFrame(x,e.i,e.r,e.userFacing,e.cp);let s=i.readFrame(x,A,e.cp),c={t:"imageBitmapS2C",dataWidth:s.dataWidth,dataHeight:s.dataHeight,frame:e.i,userFacing:s.userFacing,uvTransform:s.uvTransform||m(),tokenId:e.tokenId,p:e.p};a.postOutgoingMessage(c,[e.i]);let l=t._pipeline_by_instance.get(e.p);l&&(r.pipeline_camera_frame_submit(l,A,s.dataWidth,s.dataHeight,e.tokenId,e.cameraToDevice,e.cameraModel,s.userFacing),r.pipeline_frame_update(l),t.exploreState())}(a,e,n,C);break;case"sensorDataC2S":{const r=a,t=n._pipeline_by_instance.get(r.p);if(!t)break;switch(r.sensor){case"accel":e.pipeline_motion_accelerometer_submit(t,r.timestamp,r.x,r.y,r.z);break;case"accel_w_gravity_int":e.pipeline_motion_accelerometer_with_gravity_submit_int(t,r.timestamp,r.interval,r.x,r.y,r.z);break;case"accel_wo_gravity_int":e.pipeline_motion_accelerometer_without_gravity_submit_int(t,r.timestamp,r.interval,r.x,r.y,r.z);break;case"attitude_int":e.pipeline_motion_attitude_submit_int(t,r.timestamp,r.interval,r.x,r.y,r.z);break;case"attitude":e.pipeline_motion_attitude_submit(t,r.timestamp,r.x,r.y,r.z);break;case"rotation_rate_int":e.pipeline_motion_rotation_rate_submit_int(t,r.timestamp,r.interval,r.x,r.y,r.z);break;case"rotation_rate":e.pipeline_motion_rotation_rate_submit(t,r.timestamp,r.x,r.y,r.z)}break}case"attitudeMatrixC2S":{const r=a,t=n._pipeline_by_instance.get(r.p);if(!t)break;e.pipeline_motion_attitude_matrix_submit(t,r.m);break}}}))}})}))}let V=0,G=0,H=1;function W(e){return new Promise(((r,t)=>{const a=setTimeout((()=>{t("Frame timeout")}),2e3);e.read().then((e=>{clearTimeout(a),r(e)}))}))}const Y=m(),X=new Float32Array([300,300,160,120,0,0]);function q(e,r,t,a,i,_,n,o,s){var c,l;return M(this,void 0,void 0,(function*(){for(;;){let u=yield W(t);if(u.done)return void(null===(c=u.value)||void 0===c||c.close());let f=u.value,b=f.allocationSize();b>G&&(V>0&&e._free(V),V=e._malloc(b),G=b),yield f.copyTo(e.HEAPU8.subarray(V,V+G));let m=H;H++;const v=f.visibleRect.width,w=f.visibleRect.height;let g,y=v,N=w;switch(O){case 270:g=new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]),y=w,N=v;break;case 180:g=new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);break;case 90:g=new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1]),y=w,N=v;break;default:g=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}let k=!1;U.get(n)!==p.HIGH&&(y/=2,N/=2,k=!0);let S=f.clone();i?(h=[-1,1,-1],(d=Y)[0]=h[0],d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=h[1],d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=h[2],d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):E(Y);let j=300*y/320;X[0]=j,X[1]=j,X[2]=.5*y,X[3]=.5*N;const z={token:m,d:S,p:a,t:"videoFrameS2C",userFacing:i,uvTransform:g,w:y,h:N,cameraToDevice:Y,cameraModel:X,source:n};C.postOutgoingMessage(z,[z.d,z.uvTransform.buffer]);const I=_._pipeline_by_instance.get(a);if(I){try{r.pipeline_camera_frame_submit_raw_pointer(I,V,b,J(f.format),v,w,m,Y,O,X,i,null!==(l=f.timestamp)&&void 0!==l?l:-1,k),Q(e,o),s&&ee(e,s)}catch(e){console.log("Exception during camera processing",e)}if(r.pipeline_frame_update(I),B){let t=D.get(a);if(t||(t={available:[],ready:[]},D.set(a,t)),t.ready.length>4){const e=t.ready.splice(0,1);for(const r of e)t.available.push(new Uint8Array(r.data.data))}const i=r.pipeline_camera_frame_data_raw_size(I);let _;for(;!_||_.byteLength<i;)t.available.length<1&&t.available.push(new Uint8Array(i)),_=t.available.pop();const n=r.pipeline_camera_frame_data_raw(I);_.set(e.HEAPU8.subarray(n,n+i)),t.ready.push({token:m,data:{data:_,width:r.pipeline_camera_frame_data_raw_width(a),height:r.pipeline_camera_frame_data_raw_height(a)}})}_.exploreState()}f.close()}var d,h}))}function $(e){return new Promise((r=>{setTimeout(r,e)}))}function J(e){switch(e){case"I420":return h.FRAME_PIXEL_FORMAT_I420;case"I420A":return h.FRAME_PIXEL_FORMAT_I420A;case"I422":return h.FRAME_PIXEL_FORMAT_I422;case"I444":return h.FRAME_PIXEL_FORMAT_I444;case"NV12":return h.FRAME_PIXEL_FORMAT_NV12;case"RGBA":case"RGBX":return h.FRAME_PIXEL_FORMAT_RGBA;case"BGRA":case"BGRX":return h.FRAME_PIXEL_FORMAT_BGRA}return h.FRAME_PIXEL_FORMAT_Y}function Q(e,r){const t=r.worker_message_send_count();if(0!==t){K||(K=new MessageChannel,K.port1.start(),K.port1.addEventListener("message",(t=>{if("msgrec"!==t.data.t)return;const a=t.data.data,i=e._malloc(a.byteLength);e.HEAPU8.set(a,i),r.worker_message_receive(t.data.reference,a.byteLength,i),e._free(i)})),C.postOutgoingMessage({t:"setupCeresWorker",port:K.port2},[K.port2]));for(let a=0;a<t;a++){const t=r.worker_message_send_reference(a),i=r.worker_message_send_data_size(a),_=r.worker_message_send_data(a),n=e.HEAPU8.slice(_,_+i);K.port1.postMessage({t:"msgsend",data:n,reference:t},[n.buffer])}r.worker_message_send_clear()}}function ee(e,r){const t=r.data_download_size();if(0===t)return;const a=r.data_download(),i=e.HEAPU8.slice(a,a+t);C.postOutgoingMessage({t:"_z_datadownload",data:i},[i.buffer]),r.data_download_clear()}const re=self;C.onOutgoingMessage.bind((()=>{let e=C.getOutgoingMessages();for(let r of e)re.postMessage(r.msg,r.transferables)}));let te=e=>{var r;e&&e.data&&"wasm"===e.data.t&&(Z(location.href.startsWith("blob")?e.data.url:new URL(t(751),t.b).toString(),e.data.module,null!==(r=e.data.shouldRecordData)&&void 0!==r&&r),re.removeEventListener("message",te))};re.addEventListener("message",te),re.addEventListener("message",(e=>{C.postIncomingMessage(e.data)}))})()})();',"Worker",void 0,r.p+"zappar-cv.worker.js")}},477:e=>{"use strict";e.exports=function(e,t,r,i){var a=self||window;try{try{var n;try{n=new a.Blob([e])}catch(t){(n=new(a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder)).append(e),n=n.getBlob()}var o=a.URL||a.webkitURL,s=o.createObjectURL(n),_=new a[t](s,r);return o.revokeObjectURL(s),_}catch(i){return new a[t]("data:application/javascript,".concat(encodeURIComponent(e)),r)}}catch(e){if(!i)throw Error("Inline worker is not supported");return new a[t](i,r)}}},698:(e,t,r)=>{"use strict";e.exports=r.p+"b4f46e148a3b3b5aef90.zbin"},825:(e,t,r)=>{"use strict";e.exports=r.p+"f7b62a3a53b5c9b3222b.zbin"},367:(e,t,r)=>{"use strict";e.exports=r.p+"482727c0e7dd40d73f5a.zbin"},751:(e,t,r)=>{"use strict";e.exports=r.p+"5a86c8fa5c139c48ad64.wasm"}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i].call(n.exports,n,n.exports,r),n.exports}r.m=e,r.amdO={},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.u=e=>e+".zappar-cv.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var a=i.length-1;a>-1&&!e;)e=i[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),r.b=document.baseURI||self.location.href;var i={};return(()=>{"use strict";var e,t,a,n,o,s,_,c;r.r(i),r.d(i,{barcode_format_t:()=>e,camera_profile_t:()=>c,face_landmark_name_t:()=>t,image_target_type_t:()=>s,initialize:()=>Yt,instant_world_tracker_transform_orientation_t:()=>a,log_level_t:()=>n,world_tracker_quality_t:()=>_}),function(e){e[e.UNKNOWN=131072]="UNKNOWN",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=4]="CODE_39",e[e.CODE_93=8]="CODE_93",e[e.CODE_128=16]="CODE_128",e[e.DATA_MATRIX=32]="DATA_MATRIX",e[e.EAN_8=64]="EAN_8",e[e.EAN_13=128]="EAN_13",e[e.ITF=256]="ITF",e[e.MAXICODE=512]="MAXICODE",e[e.PDF_417=1024]="PDF_417",e[e.QR_CODE=2048]="QR_CODE",e[e.RSS_14=4096]="RSS_14",e[e.RSS_EXPANDED=8192]="RSS_EXPANDED",e[e.UPC_A=16384]="UPC_A",e[e.UPC_E=32768]="UPC_E",e[e.UPC_EAN_EXTENSION=65536]="UPC_EAN_EXTENSION",e[e.ALL=131071]="ALL"}(e||(e={})),function(e){e[e.EYE_LEFT=0]="EYE_LEFT",e[e.EYE_RIGHT=1]="EYE_RIGHT",e[e.EAR_LEFT=2]="EAR_LEFT",e[e.EAR_RIGHT=3]="EAR_RIGHT",e[e.NOSE_BRIDGE=4]="NOSE_BRIDGE",e[e.NOSE_TIP=5]="NOSE_TIP",e[e.NOSE_BASE=6]="NOSE_BASE",e[e.LIP_TOP=7]="LIP_TOP",e[e.LIP_BOTTOM=8]="LIP_BOTTOM",e[e.MOUTH_CENTER=9]="MOUTH_CENTER",e[e.CHIN=10]="CHIN",e[e.EYEBROW_LEFT=11]="EYEBROW_LEFT",e[e.EYEBROW_RIGHT=12]="EYEBROW_RIGHT"}(t||(t={})),function(e){e[e.WORLD=3]="WORLD",e[e.MINUS_Z_AWAY_FROM_USER=4]="MINUS_Z_AWAY_FROM_USER",e[e.MINUS_Z_HEADING=5]="MINUS_Z_HEADING",e[e.UNCHANGED=6]="UNCHANGED"}(a||(a={})),function(e){e[e.LOG_LEVEL_NONE=0]="LOG_LEVEL_NONE",e[e.LOG_LEVEL_ERROR=1]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_WARNING=2]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_VERBOSE=3]="LOG_LEVEL_VERBOSE"}(n||(n={})),function(e){e[e.FRAME_PIXEL_FORMAT_I420=0]="FRAME_PIXEL_FORMAT_I420",e[e.FRAME_PIXEL_FORMAT_I420A=1]="FRAME_PIXEL_FORMAT_I420A",e[e.FRAME_PIXEL_FORMAT_I422=2]="FRAME_PIXEL_FORMAT_I422",e[e.FRAME_PIXEL_FORMAT_I444=3]="FRAME_PIXEL_FORMAT_I444",e[e.FRAME_PIXEL_FORMAT_NV12=4]="FRAME_PIXEL_FORMAT_NV12",e[e.FRAME_PIXEL_FORMAT_RGBA=5]="FRAME_PIXEL_FORMAT_RGBA",e[e.FRAME_PIXEL_FORMAT_BGRA=6]="FRAME_PIXEL_FORMAT_BGRA",e[e.FRAME_PIXEL_FORMAT_Y=7]="FRAME_PIXEL_FORMAT_Y"}(o||(o={})),function(e){e[e.IMAGE_TRACKER_TYPE_PLANAR=0]="IMAGE_TRACKER_TYPE_PLANAR",e[e.IMAGE_TRACKER_TYPE_CYLINDRICAL=1]="IMAGE_TRACKER_TYPE_CYLINDRICAL",e[e.IMAGE_TRACKER_TYPE_CONICAL=2]="IMAGE_TRACKER_TYPE_CONICAL"}(s||(s={})),function(e){e[e.WORLD_TRACKER_QUALITY_INITIALIZING=0]="WORLD_TRACKER_QUALITY_INITIALIZING",e[e.WORLD_TRACKER_QUALITY_GOOD=1]="WORLD_TRACKER_QUALITY_GOOD",e[e.WORLD_TRACKER_QUALITY_ORIENTATION_ONLY=2]="WORLD_TRACKER_QUALITY_ORIENTATION_ONLY"}(_||(_={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HIGH=1]="HIGH"}(c||(c={}));class l{constructor(e){this._messageSender=e,this._freeBufferPool=[],this._buffer=new ArrayBuffer(16),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1,this._timeoutSet=!1,this._appender={int:e=>this.int(e),bool:e=>this.int(e?1:0),float:e=>this.float(e),string:e=>this.string(e),dataWithLength:e=>this.arrayBuffer(e),type:e=>this.int(e),matrix4x4:e=>this.float32ArrayBuffer(e),matrix3x3:e=>this.float32ArrayBuffer(e),floatArray:e=>this.float32ArrayBuffer(e),identityCoefficients:e=>this.float32ArrayBuffer(e),expressionCoefficients:e=>this.float32ArrayBuffer(e),cameraModel:e=>this.float32ArrayBuffer(e),timestamp:e=>this.double(e),barcodeFormat:e=>this.int(e),faceLandmarkName:e=>this.int(e),instantTrackerTransformOrientation:e=>this.int(e),logLevel:e=>this.int(e)},this._freeBufferPool.push(new ArrayBuffer(16)),this._freeBufferPool.push(new ArrayBuffer(16))}bufferReturn(e){this._freeBufferPool.push(e)}_ensureArrayBuffer(e){let t,r=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=r)return;if(!t){let e=r;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,t=new ArrayBuffer(e)}let i=this._buffer?this._i32View:void 0;this._buffer=t,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),i&&this._i32View.set(i.subarray(0,this._offset))}sendMessage(e,t){this._ensureArrayBuffer(4),this._startOffset=this._offset,this._i32View[this._offset+1]=e,this._offset+=2,t(this._appender),this._i32View[this._startOffset]=this._offset-this._startOffset,this._startOffset=-1,this._sendOneTime()}_sendOneTime(){!1===this._timeoutSet&&(this._timeoutSet=!0,setTimeout((()=>{this._timeoutSet=!1,this._send()}),0))}_send(){0!==this._freeBufferPool.length?(this._i32View[0]=this._offset,this._messageSender(this._buffer),this._buffer=void 0,this._buffer=this._freeBufferPool.pop(),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1):this._sendOneTime()}int(e){this._ensureArrayBuffer(1),this._i32View[this._offset]=e,this._offset++}double(e){this._ensureArrayBuffer(2),this._offset%2==1&&this._offset++,this._f64View[this._offset/2]=e,this._offset+=2}float(e){this._ensureArrayBuffer(1),this._f32View[this._offset]=e,this._offset++}int32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t];this._offset+=e.length}float32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._f32View[this._offset+t]=e[t];this._offset+=e.length}booleanArray(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t]?1:0;this._offset+=e.length}uint8ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8View.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}arrayBuffer(e){let t=new Uint8Array(e);this.uint8ArrayBuffer(t)}uint8ClampedArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8cView.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}float32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._f32View.set(e,this._offset),this._offset+=e.length}uint16ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++;let t=2*this._offset;this._u16View.set(e,t),this._offset+=e.length>>1,0!=(1&e.length)&&this._offset++}int32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._i32View.set(e,this._offset),this._offset+=e.length}uint32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._u32View.set(e,this._offset),this._offset+=e.length}string(e){let t=(new TextEncoder).encode(e);this._ensureArrayBuffer(t.byteLength/4),this._i32View[this._offset]=t.byteLength,this._offset++,this._u8View.set(t,4*this._offset),this._offset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._offset++}}class d{constructor(){this._buffer=new ArrayBuffer(0),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,this._startOffset=-1,this._processor={int:()=>this._i32View[this._startOffset++],bool:()=>1===this._i32View[this._startOffset++],type:()=>this._i32View[this._startOffset++],float:()=>this._f32View[this._startOffset++],timestamp:()=>{this._startOffset%2==1&&this._startOffset++;let e=this._f64View[this._startOffset/2];return this._startOffset+=2,e},string:()=>{let e=this._i32View[this._startOffset++],t=(new TextDecoder).decode(new Uint8Array(this._buffer,4*this._startOffset,e));return this._startOffset+=e>>2,0!=(3&e)&&this._startOffset++,t},dataWithLength:()=>{let e=this._i32View[this._startOffset++],t=new Uint8Array(e);return t.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._startOffset++,t.buffer},floatArray:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+e)),this._startOffset+=e,t},matrix4x4:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+16)),this._startOffset+=e,t},matrix3x3:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+9)),this._startOffset+=e,t},identityCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+50)),this._startOffset+=e,t},expressionCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+29)),this._startOffset+=e,t},cameraModel:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+6)),this._startOffset+=e,t},barcodeFormat:()=>this._i32View[this._startOffset++],faceLandmarkName:()=>this._i32View[this._startOffset++],instantTrackerTransformOrientation:()=>this._i32View[this._startOffset++],logLevel:()=>this._i32View[this._startOffset++]}}setData(e){this._buffer=e,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,e.byteLength>=4&&(this._offset=1,this._length=this._i32View[0]),this._startOffset=-1}hasMessage(){return this._offset+1<this._length}forMessages(e){for(;this.hasMessage();){let t=this._i32View[this._offset],r=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=t,e(r,this._processor)}}}class h{constructor(e){this._messageSender=e,this._globalState={log_level:1},this.serializer=new l((e=>{this._messageSender(e)})),this.deserializer=new d,this._latestId=1,this._pipeline_state_by_instance=new Map,this._camera_source_state_by_instance=new Map,this._sequence_source_state_by_instance=new Map,this._image_tracker_state_by_instance=new Map,this._face_tracker_state_by_instance=new Map,this._face_mesh_state_by_instance=new Map,this._face_landmark_state_by_instance=new Map,this._barcode_finder_state_by_instance=new Map,this._instant_world_tracker_state_by_instance=new Map,this._zapcode_tracker_state_by_instance=new Map,this._world_tracker_state_by_instance=new Map,this.impl={log_level:()=>this._globalState.log_level,log_level_set:e=>{this.serializer.sendMessage(38,(t=>{t.logLevel(e)}))},analytics_project_id_set:(e,t)=>{this.serializer.sendMessage(35,(r=>{r.string(e),r.string(t)}))},pipeline_create:()=>{let e=this._latestId++,t={current_frame_user_data:0,camera_model:new Float32Array([300,300,160,120,0,0]),camera_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),camera_frame_camera_attitude:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),camera_frame_device_attitude:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),frame_number:0};return this._pipeline_state_by_instance.set(e,t),this.serializer.sendMessage(31,(t=>{t.type(e)})),e},pipeline_destroy:e=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this._pipeline_state_by_instance.delete(e),this.serializer.sendMessage(32,(t=>{t.type(e)}))},pipeline_frame_update:e=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(9,(t=>{t.type(e)}))},pipeline_frame_number:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.frame_number},pipeline_camera_model:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_model},pipeline_camera_frame_user_data:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.current_frame_user_data},pipeline_camera_frame_submit:(e,t,r,i,a,n,o,s)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(8,(_=>{_.type(e),_.dataWithLength(t),_.int(r),_.int(i),_.int(a),_.matrix4x4(n),_.cameraModel(o),_.bool(s)}))},pipeline_camera_frame_camera_attitude:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_frame_camera_attitude},pipeline_camera_frame_device_attitude:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_frame_device_attitude},pipeline_motion_accelerometer_submit:(e,t,r,i,a)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(10,(n=>{n.type(e),n.timestamp(t),n.float(r),n.float(i),n.float(a)}))},pipeline_motion_accelerometer_with_gravity_submit_int:(e,t,r,i,a,n)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(12,(o=>{o.type(e),o.timestamp(t),o.timestamp(r),o.float(i),o.float(a),o.float(n)}))},pipeline_motion_accelerometer_without_gravity_submit_int:(e,t,r,i,a,n)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(11,(o=>{o.type(e),o.timestamp(t),o.timestamp(r),o.float(i),o.float(a),o.float(n)}))},pipeline_motion_rotation_rate_submit:(e,t,r,i,a)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(15,(n=>{n.type(e),n.timestamp(t),n.float(r),n.float(i),n.float(a)}))},pipeline_motion_rotation_rate_submit_int:(e,t,r,i,a,n)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(13,(o=>{o.type(e),o.timestamp(t),o.timestamp(r),o.float(i),o.float(a),o.float(n)}))},pipeline_motion_attitude_submit:(e,t,r,i,a)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(16,(n=>{n.type(e),n.timestamp(t),n.float(r),n.float(i),n.float(a)}))},pipeline_motion_attitude_submit_int:(e,t,r,i,a,n)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(14,(o=>{o.type(e),o.timestamp(t),o.timestamp(r),o.float(i),o.float(a),o.float(n)}))},pipeline_motion_attitude_matrix_submit:(e,t)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(17,(r=>{r.type(e),r.matrix4x4(t)}))},camera_source_create:(e,t)=>{let r=this._latestId++;return this._camera_source_state_by_instance.set(r,{}),this.serializer.sendMessage(33,(i=>{i.type(r),i.type(e),i.string(t)})),r},camera_source_destroy:e=>{if(!this._camera_source_state_by_instance.get(e))throw new Error("This object has been destroyed");this._camera_source_state_by_instance.delete(e),this.serializer.sendMessage(34,(t=>{t.type(e)}))},sequence_source_create:e=>{let t=this._latestId++;return this._sequence_source_state_by_instance.set(t,{}),this.serializer.sendMessage(39,(r=>{r.type(t),r.type(e)})),t},sequence_source_destroy:e=>{if(!this._sequence_source_state_by_instance.get(e))throw new Error("This object has been destroyed");this._sequence_source_state_by_instance.delete(e),this.serializer.sendMessage(40,(t=>{t.type(e)}))},image_tracker_create:e=>{let t=this._latestId++;return this._image_tracker_state_by_instance.set(t,{enabled:!0,target_loaded_version:-1,anchor_count:0,anchor_id:[],anchor_pose:[]}),this.serializer.sendMessage(2,(r=>{r.type(t),r.type(e)})),t},image_tracker_destroy:e=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._image_tracker_state_by_instance.delete(e),this.serializer.sendMessage(18,(t=>{t.type(e)}))},image_tracker_target_load_from_memory:(e,t)=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(4,(r=>{r.type(e),r.dataWithLength(t)}))},image_tracker_target_loaded_version:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.target_loaded_version},image_tracker_enabled:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},image_tracker_enabled_set:(e,t)=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(3,(r=>{r.type(e),r.bool(t)}))},image_tracker_anchor_count:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},image_tracker_anchor_id:(e,t)=>{let r=this._image_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_id[t]},image_tracker_anchor_pose_raw:(e,t)=>{let r=this._image_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_pose[t]},face_tracker_create:e=>{let t=this._latestId++;return this._face_tracker_state_by_instance.set(t,{enabled:!0,model_loaded:-1,max_faces:1,anchor_count:0,anchor_id:[],anchor_pose:[],anchor_identity_coefficients:[],anchor_expression_coefficients:[]}),this.serializer.sendMessage(24,(r=>{r.type(t),r.type(e)})),t},face_tracker_destroy:e=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_tracker_state_by_instance.delete(e),this.serializer.sendMessage(25,(t=>{t.type(e)}))},face_tracker_model_load_from_memory:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(26,(r=>{r.type(e),r.dataWithLength(t)}))},face_tracker_model_loaded_version:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.model_loaded},face_tracker_enabled_set:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(27,(r=>{r.type(e),r.bool(t)}))},face_tracker_enabled:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},face_tracker_max_faces_set:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(28,(r=>{r.type(e),r.int(t)}))},face_tracker_max_faces:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.max_faces},face_tracker_anchor_count:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},face_tracker_anchor_id:(e,t)=>{let r=this._face_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_id[t]},face_tracker_anchor_pose_raw:(e,t)=>{let r=this._face_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_pose[t]},face_tracker_anchor_identity_coefficients:(e,t)=>{let r=this._face_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_identity_coefficients[t]},face_tracker_anchor_expression_coefficients:(e,t)=>{let r=this._face_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_expression_coefficients[t]},face_mesh_create:()=>{let e=this._latestId++;return this._face_mesh_state_by_instance.set(e,{}),this.serializer.sendMessage(29,(t=>{t.type(e)})),e},face_mesh_destroy:e=>{if(!this._face_mesh_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_mesh_state_by_instance.delete(e),this.serializer.sendMessage(30,(t=>{t.type(e)}))},face_landmark_create:e=>{let t=this._latestId++;return this._face_landmark_state_by_instance.set(t,{}),this.serializer.sendMessage(36,(r=>{r.type(t),r.faceLandmarkName(e)})),t},face_landmark_destroy:e=>{if(!this._face_landmark_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_landmark_state_by_instance.delete(e),this.serializer.sendMessage(37,(t=>{t.type(e)}))},barcode_finder_create:e=>{let t=this._latestId++;return this._barcode_finder_state_by_instance.set(t,{enabled:!0,number_found:0,found_text:[],found_format:[],formats:131071}),this.serializer.sendMessage(20,(r=>{r.type(t),r.type(e)})),t},barcode_finder_destroy:e=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this._barcode_finder_state_by_instance.delete(e),this.serializer.sendMessage(21,(t=>{t.type(e)}))},barcode_finder_enabled_set:(e,t)=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(22,(r=>{r.type(e),r.bool(t)}))},barcode_finder_enabled:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},barcode_finder_found_number:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.number_found},barcode_finder_found_text:(e,t)=>{let r=this._barcode_finder_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.found_text[t]},barcode_finder_found_format:(e,t)=>{let r=this._barcode_finder_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.found_format[t]},barcode_finder_formats:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.formats},barcode_finder_formats_set:(e,t)=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(23,(r=>{r.type(e),r.barcodeFormat(t)}))},instant_world_tracker_create:e=>{let t=this._latestId++,r={enabled:!0,pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};return this._instant_world_tracker_state_by_instance.set(t,r),this.serializer.sendMessage(5,(r=>{r.type(t),r.type(e)})),t},instant_world_tracker_destroy:e=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._instant_world_tracker_state_by_instance.delete(e),this.serializer.sendMessage(19,(t=>{t.type(e)}))},instant_world_tracker_enabled_set:(e,t)=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(6,(r=>{r.type(e),r.bool(t)}))},instant_world_tracker_enabled:e=>{let t=this._instant_world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},instant_world_tracker_anchor_pose_raw:e=>{let t=this._instant_world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.pose},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,t,r,i,a)=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(7,(n=>{n.type(e),n.float(t),n.float(r),n.float(i),n.instantTrackerTransformOrientation(a)}))},zapcode_tracker_create:e=>{let t=this._latestId++;return this._zapcode_tracker_state_by_instance.set(t,{enabled:!0,target_loaded_version:-1,anchor_count:0,anchor_id:[],anchor_pose:[]}),this.serializer.sendMessage(41,(r=>{r.type(t),r.type(e)})),t},zapcode_tracker_destroy:e=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._zapcode_tracker_state_by_instance.delete(e),this.serializer.sendMessage(44,(t=>{t.type(e)}))},zapcode_tracker_target_load_from_memory:(e,t)=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(43,(r=>{r.type(e),r.dataWithLength(t)}))},zapcode_tracker_target_loaded_version:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.target_loaded_version},zapcode_tracker_enabled:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},zapcode_tracker_enabled_set:(e,t)=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(42,(r=>{r.type(e),r.bool(t)}))},zapcode_tracker_anchor_count:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},zapcode_tracker_anchor_id:(e,t)=>{let r=this._zapcode_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_id[t]},zapcode_tracker_anchor_pose_raw:(e,t)=>{let r=this._zapcode_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.anchor_pose[t]},world_tracker_create:e=>{let t=this._latestId++,r={enabled:!0,plane_count:0,plane_pose:[],world_anchor_valid:!1,world_anchor_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),ground_anchor_valid:!1,ground_anchor_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),debug_enabled:!1,debug_tracks_data:new Float32Array([]),debug_tracks_data_size:0,debug_projections_data:new Float32Array([]),debug_projections_data_size:0,quality:0};return this._world_tracker_state_by_instance.set(t,r),this.serializer.sendMessage(45,(r=>{r.type(t),r.type(e)})),t},world_tracker_destroy:e=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._world_tracker_state_by_instance.delete(e),this.serializer.sendMessage(46,(t=>{t.type(e)}))},world_tracker_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},world_tracker_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(47,(r=>{r.type(e),r.bool(t)}))},world_tracker_quality:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.quality},world_tracker_plane_count:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.plane_count},world_tracker_plane_pose_raw:(e,t)=>{let r=this._world_tracker_state_by_instance.get(e);if(!r)throw new Error("This object has been destroyed");return r.plane_pose[t]},world_tracker_world_anchor_valid:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_valid},world_tracker_world_anchor_pose_raw:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_pose},world_tracker_ground_anchor_valid:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_valid},world_tracker_ground_anchor_pose_raw:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.ground_anchor_pose},world_tracker_reset:e=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(48,(t=>{t.type(e)}))},world_tracker_debug_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.debug_enabled},world_tracker_debug_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(49,(r=>{r.type(e),r.bool(t)}))},world_tracker_debug_tracks_data_size:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.debug_tracks_data_size},world_tracker_debug_tracks_data:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.debug_tracks_data},world_tracker_debug_projections_data_size:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.debug_projections_data_size},world_tracker_debug_projections_data:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.debug_projections_data}}}processMessages(e){this.deserializer.setData(e),this.deserializer.forMessages(((e,t)=>{switch(e){case 7:{let e=t.type(),r=this._pipeline_state_by_instance.get(e);if(!r)return;r.frame_number=t.int();break}case 6:{let e=t.type(),r=this._pipeline_state_by_instance.get(e);if(!r)return;r.camera_model=t.cameraModel();break}case 5:{let e=t.type(),r=this._pipeline_state_by_instance.get(e);if(!r)return;r.current_frame_user_data=t.int();break}case 11:{let e=t.type(),r=this._pipeline_state_by_instance.get(e);if(!r)return;r.camera_frame_camera_attitude=t.matrix4x4();break}case 12:{let e=t.type(),r=this._pipeline_state_by_instance.get(e);if(!r)return;r.camera_frame_device_attitude=t.matrix4x4();break}case 19:{let e=t.type(),r=this._image_tracker_state_by_instance.get(e);if(!r)return;r.target_loaded_version=t.int();break}case 1:{let e=t.type(),r=this._image_tracker_state_by_instance.get(e);if(!r)return;r.anchor_count=t.int();break}case 2:{let e=t.type(),r=this._image_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_id[i]=t.string();break}case 3:{let e=t.type(),r=this._image_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_pose[i]=t.matrix4x4();break}case 18:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;r.model_loaded=t.int();break}case 13:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;r.anchor_count=t.int();break}case 14:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_id[i]=t.string();break}case 15:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_pose[i]=t.matrix4x4();break}case 16:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_identity_coefficients[i]=t.identityCoefficients();break}case 17:{let e=t.type(),r=this._face_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_expression_coefficients[i]=t.expressionCoefficients();break}case 8:{let e=t.type(),r=this._barcode_finder_state_by_instance.get(e);if(!r)return;r.number_found=t.int();break}case 9:{let e=t.type(),r=this._barcode_finder_state_by_instance.get(e);if(!r)return;let i=t.int();r.found_text[i]=t.string();break}case 10:{let e=t.type(),r=this._barcode_finder_state_by_instance.get(e);if(!r)return;let i=t.int();r.found_format[i]=t.barcodeFormat();break}case 4:{let e=t.type(),r=this._instant_world_tracker_state_by_instance.get(e);if(!r)return;r.pose=t.matrix4x4();break}case 24:{let e=t.type(),r=this._zapcode_tracker_state_by_instance.get(e);if(!r)return;r.target_loaded_version=t.int();break}case 21:{let e=t.type(),r=this._zapcode_tracker_state_by_instance.get(e);if(!r)return;r.anchor_count=t.int();break}case 22:{let e=t.type(),r=this._zapcode_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_id[i]=t.string();break}case 23:{let e=t.type(),r=this._zapcode_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.anchor_pose[i]=t.matrix4x4();break}case 31:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.quality=t.int();break}case 25:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.plane_count=t.int();break}case 26:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;let i=t.int();r.plane_pose[i]=t.matrix4x4();break}case 27:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.world_anchor_valid=t.bool();break}case 28:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.world_anchor_pose=t.matrix4x4();break}case 27:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.world_anchor_valid=t.bool();break}case 30:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.ground_anchor_pose=t.matrix4x4();break}case 33:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.debug_tracks_data_size=t.int();break}case 32:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.debug_tracks_data=t.floatArray();break}case 35:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.debug_projections_data_size=t.int();break}case 34:{let e=t.type(),r=this._world_tracker_state_by_instance.get(e);if(!r)return;r.debug_projections_data=t.floatArray();break}}}))}}function u(e,t,r){let i=e.createShader(t);if(!i)throw new Error("Unable to create shader");e.shaderSource(i,r),e.compileShader(i);let a=e.getShaderInfoLog(i);if(a&&a.trim().length>0)throw new Error("Shader compile error: "+a);return i}function f(e,t){e.linkProgram(t);let r=e.getProgramInfoLog(t);if(r&&r.trim().length>0)throw new Error("Unable to link: "+r)}let p,m,b,g={};function v(e){if(b)return b;if(b=e.createBuffer(),!b)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,b),e.bufferData(e.ARRAY_BUFFER,new Float32Array([0,1,0,0,1,1,1,0]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),b}let E="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 projMatrix;\nuniform mat4 cameraMatrix;\nuniform mat4 modelViewMatrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = projMatrix * cameraMatrix * modelViewMatrix * position;\n vTextureCoord = textureCoord;\n}",w="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2D(skinSampler, vTextureCoord);\n}";function y(e){if(p)return p;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,E),i=u(e,e.FRAGMENT_SHADER,w);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"projMatrix");if(!a)throw new Error("Unable to get uniform location projMatrix");let n=e.getUniformLocation(t,"modelViewMatrix");if(!n)throw new Error("Unable to get uniform location modelViewMatrix");let o=e.getUniformLocation(t,"cameraMatrix");if(!o)throw new Error("Unable to get uniform location cameraMatrix");let s=e.getUniformLocation(t,"skinSampler");if(!s)throw new Error("Unable to get uniform location skinSampler");return p={prog:t,unif_matrix:n,unif_proj:a,unif_camera:o,unif_skinSampler:s,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},p}var A=1e-6,T="undefined"!=typeof Float32Array?Float32Array:Array;function R(){var e=new T(16);return T!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function x(e,t){var r=t[0],i=t[1],a=t[2],n=t[3],o=t[4],s=t[5],_=t[6],c=t[7],l=t[8],d=t[9],h=t[10],u=t[11],f=t[12],p=t[13],m=t[14],b=t[15],g=r*s-i*o,v=r*_-a*o,E=r*c-n*o,w=i*_-a*s,y=i*c-n*s,A=a*c-n*_,T=l*p-d*f,R=l*m-h*f,x=l*b-u*f,k=d*m-h*p,S=d*b-u*p,N=h*b-u*m,I=g*N-v*S+E*k+w*x-y*R+A*T;return I?(I=1/I,e[0]=(s*N-_*S+c*k)*I,e[1]=(a*S-i*N-n*k)*I,e[2]=(p*A-m*y+b*w)*I,e[3]=(h*y-d*A-u*w)*I,e[4]=(_*x-o*N-c*R)*I,e[5]=(r*N-a*x+n*R)*I,e[6]=(m*E-f*A-b*v)*I,e[7]=(l*A-h*E+u*v)*I,e[8]=(o*S-s*x+c*T)*I,e[9]=(i*x-r*S-n*T)*I,e[10]=(f*y-p*E+b*g)*I,e[11]=(d*E-l*y-u*g)*I,e[12]=(s*R-o*k-_*T)*I,e[13]=(r*k-i*R+a*T)*I,e[14]=(p*v-f*w-m*g)*I,e[15]=(l*w-d*v+h*g)*I,e):null}function k(e,t,r){var i=t[0],a=t[1],n=t[2],o=t[3],s=t[4],_=t[5],c=t[6],l=t[7],d=t[8],h=t[9],u=t[10],f=t[11],p=t[12],m=t[13],b=t[14],g=t[15],v=r[0],E=r[1],w=r[2],y=r[3];return e[0]=v*i+E*s+w*d+y*p,e[1]=v*a+E*_+w*h+y*m,e[2]=v*n+E*c+w*u+y*b,e[3]=v*o+E*l+w*f+y*g,v=r[4],E=r[5],w=r[6],y=r[7],e[4]=v*i+E*s+w*d+y*p,e[5]=v*a+E*_+w*h+y*m,e[6]=v*n+E*c+w*u+y*b,e[7]=v*o+E*l+w*f+y*g,v=r[8],E=r[9],w=r[10],y=r[11],e[8]=v*i+E*s+w*d+y*p,e[9]=v*a+E*_+w*h+y*m,e[10]=v*n+E*c+w*u+y*b,e[11]=v*o+E*l+w*f+y*g,v=r[12],E=r[13],w=r[14],y=r[15],e[12]=v*i+E*s+w*d+y*p,e[13]=v*a+E*_+w*h+y*m,e[14]=v*n+E*c+w*u+y*b,e[15]=v*o+E*l+w*f+y*g,e}function S(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}function N(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function I(e,t,r){var i,a,n,o=r[0],s=r[1],_=r[2],c=Math.hypot(o,s,_);return c<A?null:(o*=c=1/c,s*=c,_*=c,i=Math.sin(t),n=1-(a=Math.cos(t)),e[0]=o*o*n+a,e[1]=s*o*n+_*i,e[2]=_*o*n-s*i,e[3]=0,e[4]=o*s*n-_*i,e[5]=s*s*n+a,e[6]=_*s*n+o*i,e[7]=0,e[8]=o*_*n+s*i,e[9]=s*_*n-o*i,e[10]=_*_*n+a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}function L(){var e=new T(3);return T!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function F(e,t){var r=t[0],i=t[1],a=t[2],n=r*r+i*i+a*a;return n>0&&(n=1/Math.sqrt(n)),e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function M(e,t,r){var i=t[0],a=t[1],n=t[2],o=r[0],s=r[1],_=r[2];return e[0]=a*_-n*s,e[1]=n*o-i*_,e[2]=i*s-a*o,e}function z(e,t,r){var i=t[0],a=t[1],n=t[2],o=r[3]*i+r[7]*a+r[11]*n+r[15];return o=o||1,e[0]=(r[0]*i+r[4]*a+r[8]*n+r[12])/o,e[1]=(r[1]*i+r[5]*a+r[9]*n+r[13])/o,e[2]=(r[2]*i+r[6]*a+r[10]*n+r[14])/o,e}Math.random,Math.PI,Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)}),L();var P,C=r(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(P||(P={}));let D={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,getDataSize:e=>e===c.HIGH?[640,480]:[320,240],videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=D,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),D.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),D.preferImageBitmapCamera=!0));let j=new C.UAParser,U=(j.getOS().name||"unknown").toLowerCase(),B=(j.getEngine().name||"unknown").toLowerCase();function O(e){D.forceWindowOrientation=!0,D.preferMediaStreamTrackProcessorCamera=!1,D.intervalMultiplier=1e3,D.trustSensorIntervals=!0;let t=e.split(".");if(t.length>=2){const e=parseInt(t[0]),r=parseInt(t[1]);(e<11||11===e&&r<3)&&(D.blacklisted=!0),(e<12||12===e&&r<2)&&(D.videoElementInDOM=!0),(12===e&&r>=2||e>=13)&&(D.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(D.showSafariPermissionsResetIfNecessary=!0),(e>=12&&r>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(D.requestHighFrameRate=!0,e<14&&(D.videoHeight=360,D.getDataSize=e=>e===c.HIGH?[640,360]:[320,180])),16===e&&r>=4&&(D.ios164CameraSelection=!0),e>=17&&(D.relyOnConstraintsForCameraSelection=!0)}}function V(e,t,r,i=.01,a=100){let n=2*e[2],o=2*e[3],s=R();!function(e,t,r,i,a,n,o){var s=1/(r-t),_=1/(a-i),c=1/(n-o);e[0]=2*n*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*n*_,e[6]=0,e[7]=0,e[8]=(r+t)*s,e[9]=(a+i)*_,e[10]=(o+n)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*n*2*c,e[15]=0}(s,i*(-.5-e[2])/e[0],i*(n-.5-e[2])/e[0],i*(o-.5-e[3])/e[1],i*(-.5-e[3])/e[1],i,a),s[4]*=-1,s[5]*=-1,s[6]*=-1,s[7]*=-1;let _=R();N(_,[.5*n,.5*o,1]),k(s,_,s),I(_,G(!1)*Math.PI/180,[0,0,1]),k(s,_,s);let c=L();c[0]=n,c[1]=o,c[2]=0,z(c,c,_);let l=Math.abs(c[0]),d=Math.abs(c[1]),h=1;return h=l/t>d/r?r/d:t/l,N(_,[h,h,1]),k(s,_,s),N(_,[2/t,2/r,1]),k(s,_,s),I(_,G(!1)*Math.PI/-180,[0,0,1]),k(s,s,_),s}function G(e){if(window.screen.orientation&&!D.forceWindowOrientation)switch(window.screen.orientation.type){case"portrait-primary":return e?90:270;case"landscape-secondary":return 180;case"portrait-secondary":return e?270:90;default:return 0}else if(void 0!==window.orientation)switch(window.orientation){case 0:return e?90:270;case 90:return 0;case 180:return e?270:90;case-90:return 180}return 0}"webkit"===B&&"ios"!==U&&(D.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&O("15.0")),"webkit"===B&&"ios"===U&&(D.deviceMotionMutliplier=1,O(j.getOS().version||"15.0"));class K{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(){for(var e=0,t=this._funcs.length;e<t;e++)this._funcs[e]()}}class W{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(e){for(var t=0,r=this._funcs.length;t<r;t++)this._funcs[t](e)}}var Z=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};let H=new class{constructor(){this.onOutgoingMessage=new K,this.onIncomingMessage=new W,this._outgoingMessages=[]}postIncomingMessage(e){this.onIncomingMessage.emit(e)}postOutgoingMessage(e,t){this._outgoingMessages.push({msg:e,transferables:t}),this.onOutgoingMessage.emit()}getOutgoingMessages(){let e=this._outgoingMessages;return this._outgoingMessages=[],e}};const Y=Z(void 0,void 0,void 0,(function*(){const e=yield fetch(new URL(r(751),r.b).toString());return yield WebAssembly.compileStreaming(e)}));var X;!function(e){e[e.PermissionTitle=0]="PermissionTitle",e[e.PermissionDescription=1]="PermissionDescription",e[e.PermissionButton=2]="PermissionButton"}(X||(X={}));const[q,$]=function(e){const[t,r]=e.toLowerCase().split("-");return[t,r||""]}(navigator.language);function J(e){switch(q){case"es":switch(e){case X.PermissionTitle:return"Ya casi...";case X.PermissionDescription:return"Para brindar esta experiencia de realidad aumentada, necesitamos acceso a la cámara y los sensores de movimiento de su dispositivo.";case X.PermissionButton:return"Permitir acceso"}break;case"de":switch(e){case X.PermissionTitle:return"Fast am Ziel..";case X.PermissionDescription:return"Um dir dieses Augmented Reality Erlebnis zu liefern, brauchen wir Zugriff auf die Kamera und Bewegungssensoren deines Gerätes.";case X.PermissionButton:return"Gewähre Zugriff"}break;case"pt":switch(e){case X.PermissionTitle:return"Está quase!";case X.PermissionDescription:return"Esta experiência de realidade aumentada precisa de acesso à câmera e aos sensores de movimento deste dispositivo.";case X.PermissionButton:return"Permitir acesso"}}switch(e){case X.PermissionTitle:return"Almost there...";case X.PermissionDescription:return"In order to provide this augmented reality experience, we need access to your device's camera and motion sensors.";case X.PermissionButton:return"Grant Access"}return""}var Q=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};let ee=new C.UAParser,te=!1,re=!1,ie=!1,ae=!1;function ne(){return Q(this,void 0,void 0,(function*(){if(navigator.permissions&&navigator.permissions.query)try{let e=yield navigator.permissions.query({name:"camera"});ie="denied"===e.state,te="granted"===e.state}catch(e){}}))}function oe(){return te}function se(){return re}function _e(){return ie}function ce(){return ae}function le(){return ie||ae}function de(){return te&&re}function he(){return Q(this,void 0,void 0,(function*(){yield fe(),yield ue()}))}function ue(){return Q(this,void 0,void 0,(function*(){try{(yield navigator.mediaDevices.getUserMedia({video:!0})).getTracks().forEach((e=>e.stop())),te=!0,ie=!1}catch(e){te=!1,ie=!0}}))}function fe(){return Q(this,void 0,void 0,(function*(){if(window.DeviceOrientationEvent&&window.DeviceOrientationEvent.requestPermission&&"granted"!==(yield window.DeviceOrientationEvent.requestPermission()))return re=!1,ae=!0,!1;re=!0,ae=!1}))}function pe(){return Q(this,void 0,void 0,(function*(){if(yield ne(),de())return!0;let e=document.createElement("div");e.classList.add("zappar-permission-request"),e.innerHTML=`\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-inner {\n max-width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">${J(X.PermissionTitle)}</div>\n <div class="zappar-text">${J(X.PermissionDescription)}</div>\n <button id="zappar-permission-request-button">${J(X.PermissionButton)}</button>\n </div>\n`,document.body.append(e);let t=e.querySelector("#zappar-permission-request-button");return yield new Promise((r=>{null==t||t.addEventListener("click",(()=>Q(this,void 0,void 0,(function*(){for(yield he(),e.remove();;){if(yield new Promise((e=>requestAnimationFrame((()=>e())))),le())return void r(!1);if(de())return void r(!0)}}))))}))}))}function me(){"Chrome"===ee.getBrowser().name?function(){let e=document.createElement("div");e.classList.add("zappar-permission-request"),e.innerHTML='\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-inner {\n width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">Permission is Needed</div>\n <div class="zappar-text">Permission to access your device\'s camera and motion sensors is necessary for this experience.<br/><br/>To grant access, please tap the ! button in the address bar of your browser, then "Site settings", and finally "Clear and reset". You can then reload the page to try again.</div>\n <button id="zappar-permission-reload-button">Reload</button>\n </div>\n',document.body.append(e);let t=e.querySelector("#zappar-permission-reload-button");null==t||t.addEventListener("click",(()=>window.location.reload()))}():function(){let e=document.createElement("div");e.classList.add("zappar-permission-request"),e.innerHTML='\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-inner {\n max-width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">Permission is Needed</div>\n <div class="zappar-text">Permission to access your device\'s camera and motion sensors is necessary for this experience. Please reload the page to try again.</div>\n <button id="zappar-permission-reload-button">Reload</button>\n </div>\n',document.body.append(e);let t=e.querySelector("#zappar-permission-reload-button");null==t||t.addEventListener("click",(()=>window.location.reload()))}()}window.DeviceOrientationEvent&&window.DeviceOrientationEvent.requestPermission||(re=!0),ne();let be=n.LOG_LEVEL_ERROR;function ge(...e){be>=n.LOG_LEVEL_VERBOSE&&console.log("[Zappar] INFO",...e)}function ve(...e){be>=n.LOG_LEVEL_ERROR&&console.error("[Zappar] ERROR",...e)}function Ee(...e){be>=n.LOG_LEVEL_VERBOSE&&console.log("[Zappar] WARN",...e)}let we=1,ye=new Map;function Ae(e){return ye.get(e)}class Te{constructor(){this.render_mean_=new Float32Array,this.render_identity_=new Float32Array(50),this.render_expression_=new Float32Array(29),this.render_uvs_=new Float32Array,this.render_indices_=new Uint16Array,this.vertices_=new Float32Array,this.normals_=new Float32Array,this.normalsCalculated_=!1,this.modelVersion_=-1,this.mirrored_=!1}loadFromMemory(e,t,r,i,a){let n=0,o=new Uint16Array(e),s=new Int32Array(e),_=new Float32Array(e),c=()=>{let e=s[n++]*s[n++],t=_.subarray(n,n+e);return n+=e,t},l=()=>{let e=s[n++],t=o.subarray(2*n,2*n+e);return n+=e/2,t};this.render_mean_=c(),this.render_identity_=c(),this.render_expression_=c(),this.render_uvs_=c();let d=l(),h=n<s.length?l():new Uint16Array,u=n<s.length?l():new Uint16Array,f=n<s.length?l():new Uint16Array,p=n<s.length?l():new Uint16Array;if(t||r||i||a){let e=d.length;t&&(e+=h.length),r&&(e+=u.length),i&&(e+=f.length),a&&(e+=p.length),this.render_indices_=new Uint16Array(e),this.render_indices_.set(d,0);let n=d.length;t&&(this.render_indices_.set(h,n),n+=h.length),r&&(this.render_indices_.set(u,n),n+=u.length),i&&(this.render_indices_.set(f,n),n+=f.length),a&&(this.render_indices_.set(p,n),n+=p.length)}else this.render_indices_=d;this.vertices_=new Float32Array(this.render_mean_),this.normals_=new Float32Array(this.vertices_.length),this.modelVersion_++}getVertices(){return this.vertices_}getUVs(){return this.render_uvs_}getIndices(){if(this.mirrored_){if(!this.render_indices_reversed){this.render_indices_reversed=new Uint16Array(this.render_indices_.length);for(let e=0;e<this.render_indices_.length;e+=3)this.render_indices_reversed[e]=this.render_indices_[e+2],this.render_indices_reversed[e+1]=this.render_indices_[e+1],this.render_indices_reversed[e+2]=this.render_indices_[e]}return this.render_indices_reversed}return this.render_indices_}getNormals(){return this.normalsCalculated_||this.calculateNormals(),this.normals_}getModelVersion(){return this.modelVersion_}getLandmarkDataForVertex(e){let t=[this.render_mean_[3*e],this.render_mean_[3*e+1],this.render_mean_[3*e+2]],r=[];for(let t=0;t<50;t++)r.push(this.render_identity_[3*e*50+t]),r.push(this.render_identity_[50*(3*e+1)+t]),r.push(this.render_identity_[50*(3*e+2)+t]);let i=[];for(let t=0;t<29;t++)i.push(this.render_expression_[3*e*29+t]),i.push(this.render_expression_[29*(3*e+1)+t]),i.push(this.render_expression_[29*(3*e+2)+t]);return{mean:t,identity:r,expression:i}}update(e,t,r){if(0!==this.render_mean_.length&&0!==this.render_identity_.length&&0!==this.render_expression_.length){this.mirrored_=r,this.vertices_.set(this.render_mean_);for(let t=0;t<e.length;t++)for(let r=0;r<this.vertices_.length;r++)this.vertices_[r]+=e[t]*this.render_identity_[r*e.length+t];for(let e=0;e<t.length;e++)for(let r=0;r<this.vertices_.length;r++)this.vertices_[r]+=t[e]*this.render_expression_[r*t.length+e];if(r)for(let e=0;e<this.vertices_.length;e+=3)this.vertices_[e]*=-1;this.normalsCalculated_=!1}}calculateNormals(){let e=this.getIndices(),t=this.vertices_,r=new Float32Array(e.length);if(!t)return;let i=e.length,a=this.normals_,n=new Float32Array([0,0,0]),o=new Float32Array([0,0,0]),s=new Float32Array([0,0,0]);for(let a=0;a<i;a+=3){let i=3*e[a],h=3*e[a+1],u=3*e[a+2];n[0]=t[h]-t[i],n[1]=t[h+1]-t[i+1],n[2]=t[h+2]-t[i+2],o[0]=t[u]-t[i],o[1]=t[u+1]-t[i+1],o[2]=t[u+2]-t[i+2],M(s,n,o);let f=(c=void 0,l=void 0,d=void 0,c=(_=s)[0],l=_[1],d=_[2],Math.hypot(c,l,d));r[a]=s[0]/f,r[a+1]=s[1]/f,r[a+2]=s[2]/f}var _,c,l,d;a.fill(0);for(let t=0;t<i;t+=3){let i=3*e[t],n=3*e[t+1],o=3*e[t+2];a[i]+=r[t],a[i+1]+=r[t+1],a[i+2]+=r[t+2],a[n]+=r[t],a[n+1]+=r[t+1],a[n+2]+=r[t+2],a[o]+=r[t],a[o+1]+=r[t+1],a[o+2]+=r[t+2]}let h=a.length/3;for(let e=0;e<h;e++){let t=3*e;n[0]=a[t],n[1]=a[t+1],n[2]=a[t+2],F(o,n),a[t]=o[0],a[t+1]=o[1],a[t+2]=o[2]}this.normalsCalculated_=!0}}let Re=R();class xe{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._vbo=void 0,this._shader&&this._gl.deleteProgram(this._shader.prog),this._shader=void 0}_generate(e,t){if(this._vbo)return this._vbo;if(this._vbo||(this._vbo=e.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");let r=new Float32Array([-1,-1,0,0,0,-1,1,0,0,1,1,-1,0,1,0,1,-1,0,1,0,-1,1,0,0,1,1,1,0,1,1]);return e.bindBuffer(e.ARRAY_BUFFER,this._vbo),e.bufferData(e.ARRAY_BUFFER,new Float32Array(r),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),this._vbo}drawCameraFrame(e,t,r,i){if(!r.texture)return;let a=this._gl;const n=a.isEnabled(a.DEPTH_TEST),o=a.isEnabled(a.SCISSOR_TEST),s=a.isEnabled(a.CULL_FACE),_=a.isEnabled(a.STENCIL_TEST),c=a.isEnabled(a.BLEND),l=a.getParameter(a.TEXTURE_BINDING_2D),d=a.getParameter(a.FRAMEBUFFER_BINDING),h=a.getParameter(a.CURRENT_PROGRAM),u=a.getParameter(a.ACTIVE_TEXTURE);a.disable(a.DEPTH_TEST),a.disable(a.SCISSOR_TEST),a.disable(a.CULL_FACE),a.disable(a.STENCIL_TEST),a.disable(a.BLEND);let f=this._getCameraShader(a),p=this._generate(a,r);a.activeTexture(a.TEXTURE0),a.useProgram(f.prog),a.uniformMatrix4fv(f.unif_skinTexTransform,!1,Ne(r.dataWidth,r.dataHeight,e,t,r.uvTransform||Re,i)),a.uniform1i(f.unif_skinSampler,0),a.bindTexture(a.TEXTURE_2D,r.texture),a.bindBuffer(a.ARRAY_BUFFER,p),a.vertexAttribPointer(f.attr_position,3,a.FLOAT,!1,20,0),a.enableVertexAttribArray(f.attr_position),a.vertexAttribPointer(f.attr_texCoord,2,a.FLOAT,!1,20,12),a.enableVertexAttribArray(f.attr_texCoord),a.drawArrays(a.TRIANGLES,0,6),a.disableVertexAttribArray(f.attr_position),a.disableVertexAttribArray(f.attr_texCoord),a.bindFramebuffer(a.FRAMEBUFFER,d),a.useProgram(h),a.bindTexture(a.TEXTURE_2D,l),a.activeTexture(u),c&&a.enable(a.BLEND),s&&a.enable(a.CULL_FACE),n&&a.enable(a.DEPTH_TEST),o&&a.enable(a.SCISSOR_TEST),_&&a.enable(a.STENCIL_TEST)}_getCameraShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,ke),i=u(e,e.FRAGMENT_SHADER,Se);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"skinTexTransform");if(!a)throw new Error("Unable to get uniform location skinTexTransform");let n=e.getUniformLocation(t,"skinSampler");if(!n)throw new Error("Unable to get uniform location skinSampler");return this._shader={prog:t,unif_skinTexTransform:a,unif_skinSampler:n,attr_position:e.getAttribLocation(t,"position"),attr_texCoord:e.getAttribLocation(t,"texCoord")},this._shader}}let ke="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nattribute vec4 position;\nattribute vec4 texCoord;\nvarying vec4 skinTexVarying;\nuniform mat4 skinTexTransform;\n\nvoid main()\n{\n gl_Position = position;\n skinTexVarying = skinTexTransform * texCoord;\n}",Se="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying vec4 skinTexVarying;\nuniform lowp sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2DProj(skinSampler, skinTexVarying);\n}";function Ne(e,t,r,i,a,n){let o=R(),s=R();S(s,[-.5,-.5,0]),k(o,s,o),n&&(N(s,[-1,1,1]),k(o,s,o)),I(s,-1*function(){if(window.screen.orientation&&!D.forceWindowOrientation)switch(window.screen.orientation.type){case"portrait-primary":return 270;case"landscape-secondary":return 180;case"portrait-secondary":return 90;default:return 0}else if(void 0!==window.orientation)switch(window.orientation){case 0:return 270;case 90:return 0;case 180:return 90;case-90:return 180}return 0}()*Math.PI/180,[0,0,1]),k(o,s,o);let _=L();_[0]=r,_[1]=i,_[2]=0,z(_,_,s);let c=Math.abs(_[0]),l=Math.abs(_[1]);N(s,[1,-1,1]),k(o,s,o);let d=c/l,h=e/t;return N(s,d>h?[1,h/d,1]:[d/h,1,1]),k(o,s,o),S(s,[.5,.5,0]),k(o,s,o),k(o,a,o),o}class Ie{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._normalbo&&this._gl.deleteBuffer(this._normalbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._normalbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateNormalBO(e,t){if(this._normalbo||(this._normalbo=t.createBuffer()),!this._normalbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._normalbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._normalbo}drawFace(e,t){let r=this._gl,i=this._getShader(r),a=this._generateVBO(t.getVertices(),r),n=this._generateNormalBO(t.getNormals(),r),o=this._generateIBO(t.getIndices(),r);r.enable(r.DEPTH_TEST),r.enable(r.CULL_FACE),r.useProgram(i.prog),r.uniformMatrix4fv(i.unif_matrix,!1,e),r.bindBuffer(r.ARRAY_BUFFER,a),r.vertexAttribPointer(i.attr_position,3,r.FLOAT,!1,12,0),r.enableVertexAttribArray(i.attr_position),r.bindBuffer(r.ARRAY_BUFFER,n),r.vertexAttribPointer(i.attr_normal,3,r.FLOAT,!1,12,0),r.enableVertexAttribArray(i.attr_normal),r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,o),r.drawElements(r.TRIANGLES,t.getIndices().length,r.UNSIGNED_SHORT,0),r.disableVertexAttribArray(i.attr_position),r.disableVertexAttribArray(i.attr_normal),r.bindBuffer(r.ARRAY_BUFFER,null),r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,Le),i=u(e,e.FRAGMENT_SHADER,Fe);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"matrix");if(!a)throw new Error("Unable to get uniform location mattrix");return this._shader={prog:t,unif_matrix:a,attr_position:e.getAttribLocation(t,"position"),attr_normal:e.getAttribLocation(t,"normal")},this._shader}}let Le="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nattribute vec4 position;\nattribute vec3 normal;\nvarying highp vec3 vnormal;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vnormal = normal;\n}",Fe="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying vec4 skinTexVarying;\nvarying highp vec3 vnormal;\nuniform lowp sampler2D skinSampler;\n\nvoid main()\n{\n vec3 normal2 = 0.5 * vnormal + 0.5;\n gl_FragColor = vec4(normal2.x , normal2.y, normal2.z, 1.0);\n}";class Me{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._uvbo&&this._gl.deleteBuffer(this._uvbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._uvbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateUVBO(e,t){if(this._uvbo||(this._uvbo=t.createBuffer()),!this._uvbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._uvbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._uvbo}drawFace(e,t,r,i,a,n){let o=this._gl,s=this._getShader(o),_=this._generateVBO(t,o),c=this._generateUVBO(i,o),l=this._generateIBO(a,o);o.enable(o.DEPTH_TEST),o.enable(o.CULL_FACE),o.useProgram(s.prog),o.uniformMatrix4fv(s.unif_matrix,!1,e),o.uniformMatrix4fv(s.unif_uvmatrix,!1,r),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,n),o.uniform1i(s.unif_sampler,0),o.bindBuffer(o.ARRAY_BUFFER,_),o.vertexAttribPointer(s.attr_position,3,o.FLOAT,!1,12,0),o.enableVertexAttribArray(s.attr_position),o.bindBuffer(o.ARRAY_BUFFER,c),o.vertexAttribPointer(s.attr_uv,3,o.FLOAT,!1,12,0),o.enableVertexAttribArray(s.attr_uv),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,l),o.drawElements(o.TRIANGLES,6912,o.UNSIGNED_SHORT,0),o.disableVertexAttribArray(s.attr_position),o.disableVertexAttribArray(s.attr_uv),o.bindBuffer(o.ARRAY_BUFFER,null),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,ze),i=u(e,e.FRAGMENT_SHADER,Pe);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"matrix");if(!a)throw new Error("Unable to get uniform location matrix");let n=e.getUniformLocation(t,"uvmatrix");if(!n)throw new Error("Unable to get uniform location matrix");let o=e.getUniformLocation(t,"uSampler");if(!o)throw new Error("Unable to get uniform location sampler");return this._shader={prog:t,unif_matrix:a,unif_sampler:o,unif_uvmatrix:n,attr_position:e.getAttribLocation(t,"position"),attr_uv:e.getAttribLocation(t,"uv"),attr_texturecoord:e.getAttribLocation(t,"aTextureCoord")},this._shader}}let ze="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nuniform mat4 uvmatrix;\nattribute vec4 position;\nattribute vec3 normal;\nattribute vec3 uv;\n\n// varying highp vec3 vnormal;\n\nvarying highp vec2 vTextureCoord;\nvarying highp float vAlpha;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vec4 ret = uvmatrix * vec4(uv.x, uv.y, uv.z, 1.0);\n ret.x /= ret.w * 2.0;\n ret.y /= ret.w * 2.0;\n ret.x += 0.5;\n ret.y += 0.0;\n vAlpha = 1.0;\n vTextureCoord = ret.xy;\n}",Pe="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nvarying highp vec3 vnormal;\nvarying highp float vAlpha;\nuniform lowp sampler2D uSampler;\n\nvoid main()\n{\n // vec3 normal2 = 0.5 * vnormal + 0.5;\n vec4 p = texture2D(uSampler, vTextureCoord);\n p.a = vAlpha;\n gl_FragColor = p; // vec4(normal2.x , normal2.y, normal2.z, 1.0);\n}";var Ce;!function(e){e[e.CAMERA_FRAME=0]="CAMERA_FRAME",e[e.ACCELEROMETER=1]="ACCELEROMETER",e[e.ROTATION_RATE=2]="ROTATION_RATE",e[e.ATTITUDE=3]="ATTITUDE",e[e.ATTITUDE_MATRIX=4]="ATTITUDE_MATRIX",e[e.ACCELEROMETER_WO_GRAVITY_INT=5]="ACCELEROMETER_WO_GRAVITY_INT",e[e.ACCELEROMETER_W_GRAVITY_INT=6]="ACCELEROMETER_W_GRAVITY_INT",e[e.ROTATION_RATE_INT=7]="ROTATION_RATE_INT",e[e.ATTITUDE_INT=8]="ATTITUDE_INT"}(Ce||(Ce={}));class De{constructor(e){this._insertionByte=0,this._numberPackets=0,this._started=!1,this._hasLoggedUnsuppored=!1,this._data=new ArrayBuffer(this._estimatedSize(e,320,240)),this._dataView=new DataView(this._data),this._dataUint8=new Uint8Array(this._data),this._dataFloat32=new Float32Array(this._data)}_estimatedSize(e,t,r){return De.headerSizeBytes+(De.psbPacketType+De.cameraPacketSizeBytes+t*r)*e}start(){this._started=!0,this._insertionByte=0,this._numberPackets=0,this._growArrayBuffer(De.headerSizeBytes);let e=(new TextEncoder).encode("UAR1");this._dataUint8.set(e),this._dataView.setUint32(4,0,!0),this._insertionByte+=8}stop(){this._started=!1;let e=this._data.slice(0,this._insertionByte);this._data=e,this._dataUint8=new Uint8Array(this._data),this._dataFloat32=new Float32Array(this._data),this._dataView=new DataView(this._data)}data(){return this._dataUint8}appendCameraFrame(e){if(!this._started)return;if(!e.data){if(this._hasLoggedUnsuppored)return;return this._hasLoggedUnsuppored=!0,void ve("Unable to record frames from this camera source")}if(e.data.byteLength!==e.dataWidth*e.dataHeight)return void ve("Unable to record frame to sequence: greyscale array doesn't match dimensions");let t=De.psbPacketType+De.cameraPacketSizeBytes+e.dataWidth*e.dataHeight;this._growArrayBuffer(t),this._dataView.setUint32(this._insertionByte,Ce.CAMERA_FRAME,!0),this._insertionByte+=De.psbPacketType,this._dataView.setUint32(this._insertionByte,e.dataWidth,!0),this._insertionByte+=De.psbCameraFrameWidth,this._dataView.setUint32(this._insertionByte,e.dataHeight,!0),this._insertionByte+=De.psbCameraFrameHeight,this._dataFloat32.set(e.cameraToDevice,this._insertionByte/4),this._insertionByte+=De.psbCameraToDeviceTransform,this._dataFloat32.set(e.cameraModel,this._insertionByte/4),this._insertionByte+=De.psbCameraModel,this._dataView.setUint32(this._insertionByte,e.userFacing?1:0,!0),this._insertionByte+=De.psbFlags,this._dataUint8.set(new Uint8Array(e.data),this._insertionByte),this._insertionByte+=e.data.byteLength,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}appendAccelerometer(e,t,r,i){this._appendTimestampedVec3(Ce.ACCELEROMETER,e,t,r,i)}appendRotationRate(e,t,r,i){this._appendTimestampedVec3(Ce.ROTATION_RATE,e,t,r,i)}appendAttitude(e,t,r,i){this._appendTimestampedVec3(Ce.ATTITUDE,e,t,r,i)}appendAccelerometerWithoutGravityInt(e,t,r,i,a){this._appendSensorWithInterval(Ce.ACCELEROMETER_WO_GRAVITY_INT,e,t,r,i,a)}appendAccelerometerWithGravityInt(e,t,r,i,a){this._appendSensorWithInterval(Ce.ACCELEROMETER_W_GRAVITY_INT,e,t,r,i,a)}appendRotationRateInt(e,t,r,i,a){this._appendSensorWithInterval(Ce.ROTATION_RATE_INT,e,t,r,i,a)}appendAttitudeInt(e,t,r,i,a){this._appendSensorWithInterval(Ce.ATTITUDE_INT,e,t,r,i,a)}_appendSensorWithInterval(e,t,r,i,a,n){if(!this._started)return;let o=De.psbPacketType+De.sensorWithIntervalPacketSizeBytes;this._growArrayBuffer(o),this._dataView.setUint32(this._insertionByte,e,!0),this._insertionByte+=De.psbPacketType,this._dataView.setUint32(this._insertionByte,t,!0),this._insertionByte+=4,this._dataView.setUint32(this._insertionByte,r,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,i,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,a,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,n,!0),this._insertionByte+=4,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}_appendTimestampedVec3(e,t,r,i,a){if(!this._started)return;let n=De.psbPacketType+De.accelerometerPacketSizeBytes;this._growArrayBuffer(n),this._dataView.setUint32(this._insertionByte,e,!0),this._insertionByte+=De.psbPacketType,this._dataView.setUint32(this._insertionByte,t,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,r,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,i,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,a,!0),this._insertionByte+=4,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}appendAttitudeMatrix(e){if(!this._started)return;let t=De.psbPacketType+De.attitudeMatrixPacketSizeBytes;this._growArrayBuffer(t),this._dataView.setUint32(this._insertionByte,Ce.ATTITUDE_MATRIX,!0),this._insertionByte+=De.psbPacketType,this._dataFloat32.set(e,this._insertionByte/4),this._insertionByte+=De.attitudeMatrixPacketSizeBytes,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}_growArrayBuffer(e){for(;this._insertionByte+e>this._data.byteLength;){let e=Math.max(2*this._data.byteLength,this._estimatedSize(50,320,240)),t=new ArrayBuffer(e),r=new Uint8Array(t);r.set(this._dataUint8),this._data=t,this._dataUint8=r,this._dataFloat32=new Float32Array(this._data),this._dataView=new DataView(this._data)}}}De.headerSizeBytes=8,De.psbPacketType=4,De.psbCameraFrameWidth=4,De.psbCameraFrameHeight=4,De.psbFlags=4,De.psbCameraToDeviceTransform=64,De.psbCameraModel=24,De.cameraPacketSizeBytes=De.psbCameraFrameWidth+De.psbCameraFrameHeight+De.psbCameraToDeviceTransform+De.psbCameraModel+De.psbFlags,De.accelerometerPacketSizeBytes=16,De.sensorWithIntervalPacketSizeBytes=20,De.rotationRatePacketSizeBytes=16,De.attitudePacketSizeBytes=16,De.attitudeMatrixPacketSizeBytes=64;class je{constructor(e){this._data=e,this.dataByPacket=new Map,this.dataByCameraFrame=new Map,this.numberPackets=0,this.numberCameraFrames=0,this.numberAccelerometerPackets=0,this.numberRotationRatePackets=0,this.numberAttitudePackets=0,this.numberAttitudeMatrixPackets=0;let t=new TextDecoder,r="";try{r=t.decode(this._data.slice(0,4))}catch(e){throw new Error("Unable to decode header - perhaps this isn't a sequence file?")}if("UAR1"!==r)throw new Error(`Invalid - perhaps this isn't a sequence file: ${r}`);let i=0,a=new DataView(this._data);this.numberPackets=a.getUint32(4,!0),i+=De.headerSizeBytes;for(let e=0;e<this.numberPackets;e++){let t=a.getUint32(i,!0);switch(i+=De.psbPacketType,t){case Ce.CAMERA_FRAME:{let t=a.getUint32(i,!0);i+=De.psbCameraFrameWidth;let r=a.getUint32(i,!0);i+=De.psbCameraFrameHeight;let n=new Float32Array(this._data,i,De.psbCameraToDeviceTransform/4);i+=De.psbCameraToDeviceTransform;let o=new Float32Array(this._data,i,De.psbCameraModel/4);i+=De.psbCameraModel;let s=a.getUint32(i,!0);i+=De.psbFlags;let _=1===s,c=new Uint8Array(this._data,i,t*r);i+=t*r;let l={type:Ce.CAMERA_FRAME,width:t,height:r,cameraToDevice:n,cameraModel:o,userFacing:_,greyscale:c};this.dataByPacket.set(e,l),this.dataByCameraFrame.set(this.numberCameraFrames,l),this.numberCameraFrames++;break}case Ce.ACCELEROMETER:{let t=a.getUint32(i,!0);i+=4;let r=a.getFloat32(i,!0);i+=4;let n=a.getFloat32(i,!0);i+=4;let o=a.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:Ce.ACCELEROMETER,t,x:r,y:n,z:o}),this.numberAccelerometerPackets++;break}case Ce.ROTATION_RATE:{let t=a.getUint32(i,!0);i+=4;let r=a.getFloat32(i,!0);i+=4;let n=a.getFloat32(i,!0);i+=4;let o=a.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:Ce.ROTATION_RATE,t,x:r,y:n,z:o}),this.numberRotationRatePackets++;break}case Ce.ATTITUDE:{let t=a.getUint32(i,!0);i+=4;let r=a.getFloat32(i,!0);i+=4;let n=a.getFloat32(i,!0);i+=4;let o=a.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:Ce.ATTITUDE,t,x:r,y:n,z:o}),this.numberAttitudePackets++;break}case Ce.ATTITUDE_MATRIX:{let t=new Float32Array(this._data,i,De.attitudeMatrixPacketSizeBytes/4);i+=De.attitudeMatrixPacketSizeBytes,this.dataByPacket.set(e,{type:Ce.ATTITUDE_MATRIX,attitude:t}),this.numberAttitudeMatrixPackets++;break}case Ce.ACCELEROMETER_WO_GRAVITY_INT:case Ce.ACCELEROMETER_W_GRAVITY_INT:case Ce.ATTITUDE_INT:case Ce.ROTATION_RATE_INT:{let r=a.getUint32(i,!0);i+=4;let n=a.getUint32(i,!0);i+=4;let o=a.getFloat32(i,!0);i+=4;let s=a.getFloat32(i,!0);i+=4;let _=a.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:t,t:r,int:n,x:o,y:s,z:_}),this.numberAccelerometerPackets++;break}}}}}class Ue{}const Be=new Map;class Oe{constructor(e){this._gl=e,this._viewports=[],this._underlyingViewport=this._gl.viewport,this._viewports.push(this._gl.getParameter(this._gl.VIEWPORT)),this._gl.viewport=(e,t,r,i)=>{this._viewports[this._viewports.length-1]=[e,t,r,i],this._underlyingViewport.call(this._gl,e,t,r,i)}}static get(e){let t=Be.get(e);return t||(t=new Oe(e),Be.set(e,t)),t}push(){this._viewports.push(this._viewports[this._viewports.length-1])}pop(){const e=this._viewports.pop(),t=this._viewports[this._viewports.length-1];e&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]||this._underlyingViewport.call(this._gl,t[0],t[1],t[2],t[3])}}class Ve{constructor(e){this._gl=e,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._computedTransformRotation=-1,this._computedFrontCameraRotation=!1,this._cameraUvTransform=R(),this._framebufferWidth=0,this._framebufferHeight=0,this._framebufferId=null,this._renderTexture=null,this._isWebGL2=!1,this._isWebGL2=e.getParameter(e.VERSION).indexOf("WebGL 2")>=0,this._isWebGL2||(this._instancedArraysExtension=this._gl.getExtension("ANGLE_instanced_arrays"))}resetGLContext(){this._framebufferId=null,this._renderTexture=null,this._vertexBuffer=void 0,this._indexBuffer=void 0,this._greyscaleShader=void 0}destroy(){this.resetGLContext()}uploadFrame(e,t,r,i,a){let n=this._gl;const o=Oe.get(n);o.push();const s=n.isEnabled(n.SCISSOR_TEST),_=n.isEnabled(n.DEPTH_TEST),c=n.isEnabled(n.BLEND),l=n.isEnabled(n.CULL_FACE),d=n.isEnabled(n.STENCIL_TEST),h=n.getParameter(n.ACTIVE_TEXTURE),u=n.getParameter(n.UNPACK_FLIP_Y_WEBGL),f=n.getParameter(n.CURRENT_PROGRAM);n.activeTexture(n.TEXTURE0);const p=n.getParameter(n.TEXTURE_BINDING_2D),m=n.getParameter(n.FRAMEBUFFER_BINDING),b=n.getParameter(n.ARRAY_BUFFER_BINDING),g=n.getParameter(n.ELEMENT_ARRAY_BUFFER_BINDING);n.disable(n.SCISSOR_TEST),n.disable(n.DEPTH_TEST),n.disable(n.BLEND),n.disable(n.CULL_FACE),n.disable(n.STENCIL_TEST),n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!1),n.bindTexture(n.TEXTURE_2D,e);const v=n.RGBA,E=n.RGBA,w=n.UNSIGNED_BYTE;n.texImage2D(n.TEXTURE_2D,0,v,E,w,t);let y=0,A=0;"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement?(y=t.videoWidth,A=t.videoHeight):(y=t.width,A=t.height),A>y&&(A=[y,y=A][0]),this._updateTransforms(r,i);const[T,R]=D.getDataSize(a);let x=this._getFramebuffer(n,T/4,R),k=this._getVertexBuffer(n),S=this._getIndexBuffer(n),N=this._getGreyscaleShader(n);const I=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_SIZE),L=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_TYPE),F=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_NORMALIZED),M=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_STRIDE),z=n.getVertexAttribOffset(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_POINTER),P=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_ENABLED),C=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),j=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_SIZE),U=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_TYPE),B=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_NORMALIZED),O=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_STRIDE),V=n.getVertexAttribOffset(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_POINTER),G=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),K=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_ENABLED);let W=0,Z=0;this._isWebGL2?(W=n.getVertexAttrib(N.aVertexPositionLoc,n.VERTEX_ATTRIB_ARRAY_DIVISOR),Z=n.getVertexAttrib(N.aTextureCoordLoc,n.VERTEX_ATTRIB_ARRAY_DIVISOR),n.vertexAttribDivisor(N.aVertexPositionLoc,0),n.vertexAttribDivisor(N.aTextureCoordLoc,0)):this._instancedArraysExtension&&(W=n.getVertexAttrib(N.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),Z=n.getVertexAttrib(N.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(N.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(N.aTextureCoordLoc,0)),n.bindFramebuffer(n.FRAMEBUFFER,x),n.viewport(0,0,this._framebufferWidth,this._framebufferHeight),n.clear(n.COLOR_BUFFER_BIT),n.bindBuffer(n.ARRAY_BUFFER,k),n.vertexAttribPointer(N.aVertexPositionLoc,2,n.FLOAT,!1,16,0),n.enableVertexAttribArray(N.aVertexPositionLoc),n.vertexAttribPointer(N.aTextureCoordLoc,2,n.FLOAT,!1,16,8),n.enableVertexAttribArray(N.aTextureCoordLoc),n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,S),n.useProgram(N.program),n.uniform1f(N.uTexWidthLoc,T),n.uniformMatrix4fv(N.uUvTransformLoc,!1,this._cameraUvTransform),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,e),n.uniform1i(N.uSamplerLoc,0),n.drawElements(n.TRIANGLES,6,n.UNSIGNED_SHORT,0),n.bindBuffer(n.ARRAY_BUFFER,C),n.vertexAttribPointer(N.aVertexPositionLoc,I,L,F,M,z),n.bindBuffer(n.ARRAY_BUFFER,G),n.vertexAttribPointer(N.aTextureCoordLoc,j,U,B,O,V),n.bindBuffer(n.ARRAY_BUFFER,b),n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,g),P||n.disableVertexAttribArray(N.aVertexPositionLoc),K||n.disableVertexAttribArray(N.aTextureCoordLoc),this._isWebGL2?(n.vertexAttribDivisor(N.aVertexPositionLoc,W),n.vertexAttribDivisor(N.aTextureCoordLoc,Z)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(N.aVertexPositionLoc,W),this._instancedArraysExtension.vertexAttribDivisorANGLE(N.aTextureCoordLoc,Z)),n.bindFramebuffer(n.FRAMEBUFFER,m),n.useProgram(f),n.bindTexture(n.TEXTURE_2D,p),n.activeTexture(h),n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,u),o.pop(),c&&n.enable(n.BLEND),l&&n.enable(n.CULL_FACE),_&&n.enable(n.DEPTH_TEST),s&&n.enable(n.SCISSOR_TEST),d&&n.enable(n.STENCIL_TEST)}readFrame(e,t,r){let i=this._gl,a=new Uint8Array(t);const n=i.getParameter(i.FRAMEBUFFER_BINDING),[o,s]=D.getDataSize(r);let _=this._getFramebuffer(i,o/4,s);return i.bindFramebuffer(i.FRAMEBUFFER,_),i.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,i.RGBA,i.UNSIGNED_BYTE,a),i.bindFramebuffer(i.FRAMEBUFFER,n),{uvTransform:this._cameraUvTransform,data:t,texture:e,dataWidth:o,dataHeight:s,userFacing:this._computedFrontCameraRotation}}_updateTransforms(e,t){e==this._computedTransformRotation&&t==this._computedFrontCameraRotation||(this._computedTransformRotation=e,this._computedFrontCameraRotation=t,this._cameraUvTransform=this._getCameraUvTransform())}_getCameraUvTransform(){switch(this._computedTransformRotation){case 270:return new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]);case 180:return new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);case 90:return new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1])}return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}_getFramebuffer(e,t,r){if(this._framebufferWidth===t&&this._framebufferHeight===r&&this._framebufferId)return this._framebufferId;if(this._framebufferId&&(e.deleteFramebuffer(this._framebufferId),this._framebufferId=null),this._renderTexture&&(e.deleteTexture(this._renderTexture),this._renderTexture=null),this._framebufferId=e.createFramebuffer(),!this._framebufferId)throw new Error("Unable to create framebuffer");if(e.bindFramebuffer(e.FRAMEBUFFER,this._framebufferId),this._renderTexture=e.createTexture(),!this._renderTexture)throw new Error("Unable to create render texture");e.activeTexture(e.TEXTURE0);const i=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,t,r,0,e.RGBA,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameterf(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this._renderTexture,0);let a=e.checkFramebufferStatus(e.FRAMEBUFFER);if(a!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+a.toString());return this._framebufferWidth=t,this._framebufferHeight=r,e.bindTexture(e.TEXTURE_2D,i),e.bindFramebuffer(e.FRAMEBUFFER,null),this._framebufferId}_getVertexBuffer(e){if(this._vertexBuffer)return this._vertexBuffer;if(this._vertexBuffer=e.createBuffer(),!this._vertexBuffer)throw new Error("Unable to create vertex buffer");e.bindBuffer(e.ARRAY_BUFFER,this._vertexBuffer);let t=new Float32Array([-1,-1,0,0,-1,1,0,1,1,1,1,1,1,-1,1,0]);return e.bufferData(e.ARRAY_BUFFER,t,e.STATIC_DRAW),this._vertexBuffer}_getIndexBuffer(e){if(this._indexBuffer)return this._indexBuffer;if(this._indexBuffer=e.createBuffer(),!this._indexBuffer)throw new Error("Unable to create index buffer");e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this._indexBuffer);let t=new Uint16Array([0,1,2,0,2,3]);return e.bufferData(e.ELEMENT_ARRAY_BUFFER,t,e.STATIC_DRAW),this._indexBuffer}_getGreyscaleShader(e){if(this._greyscaleShader)return this._greyscaleShader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,Ge),i=u(e,e.FRAGMENT_SHADER,Ke);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"uTexWidth");if(!a)throw new Error("Unable to get uniform location uTexWidth");let n=e.getUniformLocation(t,"uUvTransform");if(!n)throw new Error("Unable to get uniform location uUvTransform");let o=e.getUniformLocation(t,"uSampler");if(!o)throw new Error("Unable to get uniform location uSampler");return this._greyscaleShader={program:t,aVertexPositionLoc:e.getAttribLocation(t,"aVertexPosition"),aTextureCoordLoc:e.getAttribLocation(t,"aTextureCoord"),uTexWidthLoc:a,uUvTransformLoc:n,uSamplerLoc:o},this._greyscaleShader}}let Ge="\n attribute vec4 aVertexPosition;\n attribute vec2 aTextureCoord;\n\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform float uTexWidth;\n\tuniform mat4 uUvTransform;\n\n void main(void) {\n highp vec2 offset1 = vec2(1.5 / uTexWidth, 0);\n highp vec2 offset2 = vec2(0.5 / uTexWidth, 0);\n\n gl_Position = aVertexPosition;\n vTextureCoord1 = (uUvTransform * vec4(aTextureCoord - offset1, 0, 1)).xy;\n vTextureCoord2 = (uUvTransform * vec4(aTextureCoord - offset2, 0, 1)).xy;\n vTextureCoord3 = (uUvTransform * vec4(aTextureCoord + offset2, 0, 1)).xy;\n vTextureCoord4 = (uUvTransform * vec4(aTextureCoord + offset1, 0, 1)).xy;\n }\n",Ke="\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform sampler2D uSampler;\n\n const lowp vec3 colorWeights = vec3(77.0 / 256.0, 150.0 / 256.0, 29.0 / 256.0);\n\n void main(void) {\n lowp vec4 outpx;\n\n outpx.r = dot(colorWeights, texture2D(uSampler, vTextureCoord1).xyz);\n outpx.g = dot(colorWeights, texture2D(uSampler, vTextureCoord2).xyz);\n outpx.b = dot(colorWeights, texture2D(uSampler, vTextureCoord3).xyz);\n outpx.a = dot(colorWeights, texture2D(uSampler, vTextureCoord4).xyz);\n\n gl_FragColor = outpx;\n }\n",We=1,Ze=new Map;class He extends Ue{constructor(e,t){super(),this._video=e,this._pipeline=t,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._cameraToDeviceTransform=R(),this._cameraToDeviceTransformUserFacing=R(),this._cameraModel=new Float32Array([300,300,160,120,0,0]),this._profile=c.DEFAULT,N(this._cameraToDeviceTransformUserFacing,[-1,1,-1]);let r=this._video;this._video instanceof HTMLVideoElement?r.addEventListener("loadedmetadata",(()=>{this._hadFrames=!0})):this._hadFrames=!0,this._resetGLContext=this._resetGLContext.bind(this);let i=ht.get(this._pipeline);i&&i.onGLContextReset.bind(this._resetGLContext)}static createVideoElementSource(e,t){let r=We++;return Ze.set(r,new He(t,e)),ge("html_element_source_t initialized"),r}static getVideoElementSource(e){return Ze.get(e)}_resetGLContext(){var e,t;this._currentVideoTexture=void 0,null===(t=null===(e=this._imageProcessor)||void 0===e?void 0:e.resetGLContext)||void 0===t||t.call(e)}destroy(){let e=ht.get(this._pipeline);e&&e.onGLContextReset.unbind(this._resetGLContext),this.pause(),this._resetGLContext()}pause(){this._isPaused=!0;let e=ht.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0)}start(){var e;this._isPaused&&(this._isUploadFrame=!0,this._video instanceof HTMLVideoElement&&(this._hadFrames=!1)),this._isPaused=!1;let t=ht.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this)}getFrame(e){let t=ht.get(this._pipeline);if(!t)return;let r=t.glContext;if(r&&!this._isPaused&&this._hadFrames)try{let i=this._processFrame(r,this._cameraToScreenRotation,e);if(i){let e=t.registerToken(i);t.sendDataToWorker(i.data||new ArrayBuffer(0),e,i.dataWidth,i.dataHeight,i.userFacing,i.cameraToDevice,i.cameraModel),i.data=void 0}}catch(e){console.log("Unable to process frame")}}_processFrame(e,t,r){let i=ht.get(this._pipeline);if(!i)return;if(this._imageProcessor||(this._imageProcessor=new Ve(e)),this._isUploadFrame){if(this._currentVideoTexture||(this._currentVideoTexture=i.getVideoTexture()),!this._currentVideoTexture)return;return this._imageProcessor.uploadFrame(this._currentVideoTexture,this._video,t,this._isUserFacing,this._profile),void(this._isUploadFrame=!this._isUploadFrame)}if(r||!this._currentVideoTexture)return;this._isUploadFrame=!this._isUploadFrame;const[a,n]=D.getDataSize(this._profile);let o=a*n,s=i.cameraPixelArrays.pop();for(;s&&s.byteLength!==o;)s=i.cameraPixelArrays.pop();s||(s=new ArrayBuffer(o));let _=this._currentVideoTexture;this._currentVideoTexture=void 0;let c=300*a/320;return this._cameraModel[0]=c,this._cameraModel[1]=c,this._cameraModel[2]=.5*a,this._cameraModel[3]=.5*n,Object.assign(Object.assign({},this._imageProcessor.readFrame(_,s,this._profile)),{cameraModel:this._cameraModel,cameraSource:this,cameraToDevice:this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform})}uploadGL(){}setProfile(e){this._profile=e}}var Ye=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};let Xe=document.createElement("video");Xe.setAttribute("playsinline",""),Xe.setAttribute("webkit-playsinline",""),D.videoElementInDOM&&(Xe.style.width="0px",Xe.style.height="0px",document.body.appendChild(Xe));class qe extends He{constructor(e,t,r){super(Xe,t),this._impl=e,this._deviceId=r,this._currentStream=null,this._activeDeviceId=null,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();const i=e.interval*D.intervalMultiplier;D.trustSensorIntervals&&(-1===this._lastTimestamp?this._lastTimestamp=r:(this._lastTimestamp+=i,r=this._lastTimestamp)),null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(r,i,e.acceleration.x*D.deviceMotionMutliplier,e.acceleration.y*D.deviceMotionMutliplier,e.acceleration.z*D.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(r,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(r,i,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(r,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(r,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()}}destroy(){nt(this._impl),super.destroy()}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){super.pause(),this._stopDeviceMotion(),this._syncCamera()}start(){super.start(),this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return Ye(this,void 0,void 0,(function*(){let e,t;if(this._deviceId!==qe.DEFAULT_DEVICE_ID&&this._deviceId!==qe.USER_DEFAULT_DEVICE_ID)e=this._deviceId;else if(t=this._deviceId===qe.DEFAULT_DEVICE_ID?"environment":"user",D.ios164CameraSelection){if(!this._explicitEnvironmentCameraId||!this._explicitUserCameraId){(yield navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:t}})).getTracks().forEach((e=>e.stop()));let e=yield navigator.mediaDevices.enumerateDevices();e=e.filter((e=>"videoinput"===e.kind)),e.length>=2&&(this._explicitUserCameraId=e[0].deviceId,this._explicitEnvironmentCameraId=e[1].deviceId)}e="environment"===t?this._explicitEnvironmentCameraId:this._explicitUserCameraId}let r={audio:!1,video:{facingMode:t,width:D.videoWidth,height:D.videoHeight,frameRate:D.requestHighFrameRate?60:void 0,deviceId:e}};if(e||D.relyOnConstraintsForCameraSelection)return r;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return r;let i=yield navigator.mediaDevices.enumerateDevices(),a=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){a=!0;let r=e.getCapabilities();if(r&&r.facingMode&&r.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),a&&0!==i.length?("object"==typeof r.video&&(ge("choosing device ID",i[i.length-1].deviceId),r.video.deviceId=i[i.length-1].deviceId),r):r}))}getFrame(e){this._cameraToScreenRotation=G(!1),super.getFrame(e)}_getUserMedia(){return Ye(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,r)=>{navigator.getUserMedia(e,t,r)}))}))}_syncCamera(){return Ye(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();e.length>0&&(this._isUserFacing="user"===e[0].getSettings().facingMode)}if(!(this._video instanceof HTMLVideoElement))return;this._video.src="",this._video.loop=!1,this._video.muted=!0,this._video.srcObject=this._currentStream,this._video.play()}}))}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,this._deviceOrientationListener=e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(r,0,e.alpha,e.beta,e.gamma)},window.addEventListener("deviceorientation",this._deviceOrientationListener))}_startDeviceMotion(){window.addEventListener("devicemotion",this._deviceMotionListener,!1),this._startDeviceOrientation()}_stopDeviceMotion(){window.removeEventListener("devicemotion",this._deviceMotionListener),this._deviceOrientationListener&&window.removeEventListener("deviceorientation",this._deviceOrientationListener)}}qe.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",qe.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";var $e=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};class Je extends Ue{constructor(e,t,r){super(),this._impl=e,this._pipeline=t,this._deviceId=r,this._currentStream=null,this._activeDeviceId=null,this._isPaused=!0,this._isUserFacing=!1,this._hadFrames=!1,this._canvas=new OffscreenCanvas(640,480),this._context=this._canvas.getContext("2d"),this._lastFrameTime=-1,this._video=document.createElement("video"),this._cameraToDeviceTransform=R(),this._cameraToDeviceTransformUserFacing=R(),this._cameraModel=new Float32Array([300,300,160,120,0,0]),this._profile=c.DEFAULT,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now(),i=e.interval;this._lastTimestamp>-1&&!D.trustSensorIntervals&&(i=Math.max(r-this._lastTimestamp,i)),this._lastTimestamp=r,i*=D.intervalMultiplier,null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(r,i,e.acceleration.x*D.deviceMotionMutliplier,e.acceleration.y*D.deviceMotionMutliplier,e.acceleration.z*D.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(r,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(r,i,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(r,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(r,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()},ge("Using ImageBitmap camera source"),N(this._cameraToDeviceTransformUserFacing,[-1,1,-1]),this._video.muted=!0,this._video.setAttribute("playsinline",""),this._video.setAttribute("webkit-playsinline",""),D.videoElementInDOM&&(this._video.style.width="0px",this._video.style.height="0px",document.body.appendChild(this._video)),this._video.addEventListener("loadedmetadata",(()=>{this._hadFrames=!0}))}destroy(){this.pause(),nt(this._impl)}setProfile(e){this._profile=e}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){this._isPaused=!0;let e=ht.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0),this._stopDeviceMotion(),this._syncCamera()}start(){var e;let t=ht.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this),this._isPaused=!1,this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return $e(this,void 0,void 0,(function*(){let e,t;this._deviceId!==Je.DEFAULT_DEVICE_ID&&this._deviceId!==Je.USER_DEFAULT_DEVICE_ID?e=this._deviceId:t=this._deviceId===Je.DEFAULT_DEVICE_ID?"environment":"user";let r={audio:!1,video:{facingMode:t,width:D.videoWidth,height:D.videoHeight,frameRate:D.requestHighFrameRate?60:void 0,deviceId:e}};if(e)return r;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return r;let i=yield navigator.mediaDevices.enumerateDevices(),a=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){a=!0;let r=e.getCapabilities();if(r&&r.facingMode&&r.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),a&&0!==i.length?("object"==typeof r.video&&(ge("choosing device ID",i[i.length-1].deviceId),r.video.deviceId=i[i.length-1].deviceId),r):r}))}getFrame(e){var t,r;if(!this._context)return;if(!this._hadFrames)return;if(e)return;let i=performance.now();if(i<this._lastFrameTime+25)return;this._lastFrameTime=i,this._canvas.width!==this._video.videoWidth&&(this._canvas.width=this._video.videoWidth),this._canvas.height!==this._video.videoHeight&&(this._canvas.height=this._video.videoHeight),this._context.drawImage(this._video,0,0);const a=this._canvas.transferToImageBitmap();let n=G(!1),o=ht.get(this._pipeline);if(!o)return;const[s,_]=D.getDataSize(this._profile);let c=300*s/320;this._cameraModel[0]=c,this._cameraModel[1]=c,this._cameraModel[2]=.5*s,this._cameraModel[3]=.5*_;let l=o.registerToken({dataWidth:this._canvas.width,dataHeight:this._canvas.height,texture:void 0,userFacing:this._isUserFacing,cameraSource:this,cameraModel:this._cameraModel.slice(),cameraToDevice:this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform});null===(r=null===(t=ht.get(this._pipeline))||void 0===t?void 0:t.sendImageBitmapToWorker)||void 0===r||r.call(t,a,n,this._isUserFacing,l,this._cameraModel,this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform,this._profile)}_getUserMedia(){return $e(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,r)=>{navigator.getUserMedia(e,t,r)}))}))}_syncCamera(){return $e(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();e.length>0&&(this._isUserFacing="user"===e[0].getSettings().facingMode)}this._video.src="",this._video.loop=!1,this._video.muted=!0,this._video.srcObject=this._currentStream,this._video.play()}}))}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,window.addEventListener("deviceorientation",(e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(r,0,e.alpha,e.beta,e.gamma)})))}_startDeviceMotion(){window.addEventListener("devicemotion",this._deviceMotionListener,!1)}_stopDeviceMotion(){window.removeEventListener("devicemotion",this._deviceMotionListener)}uploadGL(e){const t=ht.get(this._pipeline),r=null==t?void 0:t.glContext;if(!e||e.texture||!e.frame||!t||!r)return;let i=t.getVideoTexture();i&&(r.bindTexture(r.TEXTURE_2D,i),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,e.frame),r.bindTexture(r.TEXTURE_2D,null),e.texture=i,e.frame.close(),delete e.frame)}}Je.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",Je.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";var Qe=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};class et extends Ue{constructor(e,t,r){super(),this._impl=e,this._pipeline=t,this._deviceId=r,this._currentStream=null,this._activeDeviceId=null,this._isPaused=!0,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();const i=e.interval*D.intervalMultiplier;D.trustSensorIntervals&&(-1===this._lastTimestamp?this._lastTimestamp=r:(this._lastTimestamp+=i,r=this._lastTimestamp)),null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(r,i,e.acceleration.x*D.deviceMotionMutliplier,e.acceleration.y*D.deviceMotionMutliplier,e.acceleration.z*D.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(r,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(r,i,e.accelerationIncludingGravity.x*D.deviceMotionMutliplier,e.accelerationIncludingGravity.y*D.deviceMotionMutliplier,e.accelerationIncludingGravity.z*D.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(r,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(r,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()},this._lastAccelerometerTimestamp=-1,this._accelerometerReading=()=>{var e;if(!this._accelerometer||void 0===this._accelerometer.x||void 0===this._accelerometer.y||void 0===this._accelerometer.z)return;let t=ht.get(this._pipeline);if(!t)return;const r=null!==(e=this._accelerometer.timestamp)&&void 0!==e?e:performance.now(),i=this._lastAccelerometerTimestamp>-1?r-this._lastAccelerometerTimestamp:30;this._lastAccelerometerTimestamp=r,t.motionAccelerometerSubmit(r,this._accelerometer.x*D.deviceMotionMutliplier,this._accelerometer.y*D.deviceMotionMutliplier,this._accelerometer.z*D.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(r,i,this._accelerometer.x*D.deviceMotionMutliplier,this._accelerometer.y*D.deviceMotionMutliplier,this._accelerometer.z*D.deviceMotionMutliplier)},this._lastLinearAccelerationTimestamp=-1,this._linearAccelerationReading=()=>{var e;if(!this._linearAcceleration||void 0===this._linearAcceleration.x||void 0===this._linearAcceleration.y||void 0===this._linearAcceleration.z)return;let t=ht.get(this._pipeline);if(!t)return;const r=null!==(e=this._linearAcceleration.timestamp)&&void 0!==e?e:performance.now(),i=this._lastLinearAccelerationTimestamp>-1?r-this._lastLinearAccelerationTimestamp:30;this._lastLinearAccelerationTimestamp=r,t.motionAccelerometerWithoutGravitySubmitInt(r,i,this._linearAcceleration.x*D.deviceMotionMutliplier,this._linearAcceleration.y*D.deviceMotionMutliplier,this._linearAcceleration.z*D.deviceMotionMutliplier)},this._lastGyroscopeReading=-1,this._gyroscopeReading=()=>{var e;if(!this._gyroscope||void 0===this._gyroscope.x||void 0===this._gyroscope.y||void 0===this._gyroscope.z)return;let t=ht.get(this._pipeline);if(!t)return;const r=null!==(e=this._gyroscope.timestamp)&&void 0!==e?e:performance.now(),i=this._lastGyroscopeReading>-1?r-this._lastGyroscopeReading:30;this._lastGyroscopeReading=r,t.motionRotationRateSubmit(r,-this._gyroscope.x,-this._gyroscope.y,-this._gyroscope.z),t.motionRotationRateSubmitInt(r,i,180*this._gyroscope.x/Math.PI,180*this._gyroscope.y/Math.PI,180*this._gyroscope.z/Math.PI)},ge("Using MSTP camera source")}destroy(){this.pause(),nt(this._impl)}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){this._isPaused=!0;let e=ht.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0),this._stopDeviceMotion(),this._syncCamera()}start(){var e;let t=ht.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this),this._isPaused=!1,this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return Qe(this,void 0,void 0,(function*(){let e,t;this._deviceId!==et.DEFAULT_DEVICE_ID&&this._deviceId!==et.USER_DEFAULT_DEVICE_ID?e=this._deviceId:t=this._deviceId===et.DEFAULT_DEVICE_ID?"environment":"user";let r={audio:!1,video:{facingMode:t,width:D.videoWidth,height:D.videoHeight,frameRate:D.requestHighFrameRate?60:30,deviceId:e}};if(e)return r;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return r;let i=yield navigator.mediaDevices.enumerateDevices(),a=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){a=!0;let r=e.getCapabilities();if(r&&r.facingMode&&r.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),a&&0!==i.length?("object"==typeof r.video&&(ge("choosing device ID",i[i.length-1].deviceId),r.video.deviceId=i[i.length-1].deviceId),r):r}))}getFrame(e){var t,r;let i=G(!1);i!=this._cameraToScreenRotation&&(null===(r=null===(t=ht.get(this._pipeline))||void 0===t?void 0:t.sendCameraToScreenRotationToWorker)||void 0===r||r.call(t,i),this._cameraToScreenRotation=i)}_getUserMedia(){return Qe(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,r)=>{navigator.getUserMedia(e,t,r)}))}))}streamEnded(){console.log("MSTP stream ended"),this._stop(),this._syncCamera()}_syncCamera(){return Qe(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();if(e.length>0){this._isUserFacing="user"===e[0].getSettings().facingMode;let t=new MediaStreamTrackProcessor({track:e[0]});const r=this._currentStream;if(yield(1e3,new Promise((e=>{setTimeout(e,1e3)}))),r!==this._currentStream)return;let i=ht.get(this._pipeline);i&&i.sendCameraStreamToWorker(this._impl,t.readable,this._isUserFacing)}}}}))}setProfile(e){let t=ht.get(this._pipeline);t&&t.sendCameraProfileToWorker(this._impl,e)}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,window.addEventListener("deviceorientation",(e=>{let t=ht.get(this._pipeline);if(!t)return;let r=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(r,0,e.alpha,e.beta,e.gamma)})))}_startDeviceMotion(){try{this._accelerometer=new Accelerometer({frequency:60}),this._linearAcceleration=new LinearAccelerationSensor({frequency:60}),this._gyroscope=new Gyroscope({frequency:60}),this._accelerometer.addEventListener("reading",this._accelerometerReading),this._accelerometer.start(),this._linearAcceleration.addEventListener("reading",this._linearAccelerationReading),this._linearAcceleration.start(),this._gyroscope.addEventListener("reading",this._gyroscopeReading),this._gyroscope.start()}catch(e){window.addEventListener("devicemotion",this._deviceMotionListener,!1)}}_stopDeviceMotion(){this._accelerometer&&(this._accelerometer.stop(),this._accelerometer.removeEventListener("reading",this._accelerometerReading),delete this._accelerometer),this._linearAcceleration&&(this._linearAcceleration.stop(),this._linearAcceleration.removeEventListener("reading",this._linearAccelerationReading),delete this._linearAcceleration),this._gyroscope&&(this._gyroscope.stop(),this._gyroscope.removeEventListener("reading",this._gyroscopeReading),delete this._gyroscope),window.removeEventListener("devicemotion",this._deviceMotionListener)}uploadGL(e){const t=ht.get(this._pipeline),r=null==t?void 0:t.glContext;if(!e||e.texture||!e.frame||!t||!r)return;let i=t.getVideoTexture();i&&(r.bindTexture(r.TEXTURE_2D,i),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,e.frame),r.bindTexture(r.TEXTURE_2D,null),e.texture=i,e.frame.close(),delete e.frame)}}et.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",et.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";let tt=1,rt=new Map;function it(e,t){rt.set(e,t)}function at(e){return rt.get(e)}function nt(e){rt.delete(e)}class ot{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._uvbo&&this._gl.deleteBuffer(this._uvbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._uvbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateUVBO(e,t){if(this._uvbo||(this._uvbo=t.createBuffer()),!this._uvbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._uvbo),t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._uvbo}draw(e,t,r){var i;const a=t.getPreviewMesh(r),n=null===(i=t.getTargetInfo(r).preview)||void 0===i?void 0:i.image;if(!a||!n)return;if(!n.complete)return;let o=this._gl,s=this._getShader(o),_=this._generateVBO(a.vertices,o),c=this._generateUVBO(a.uvs,o),l=this._generateIBO(a.indices,o);o.enable(o.DEPTH_TEST),o.enable(o.CULL_FACE),o.useProgram(s.prog),o.uniformMatrix4fv(s.unif_matrix,!1,e),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,function(e,t){let r=st.get(t);if(r)return r;if(r=e.createTexture()||void 0,!r)throw new Error("Unable to create texture");st.set(t,r),e.bindTexture(e.TEXTURE_2D,r),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE);const i=e.RGBA,a=e.RGBA,n=e.UNSIGNED_BYTE;return e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,a,n,t),t.addEventListener("load",(()=>{if(!r)return;e.bindTexture(e.TEXTURE_2D,r);const i=e.RGBA,a=e.RGBA,n=e.UNSIGNED_BYTE;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,a,n,t)})),r}(o,n)),o.uniform1i(s.unif_skinSampler,0),o.bindBuffer(o.ARRAY_BUFFER,_),o.vertexAttribPointer(s.attr_position,3,o.FLOAT,!1,0,0),o.enableVertexAttribArray(s.attr_position),o.bindBuffer(o.ARRAY_BUFFER,c),o.vertexAttribPointer(s.attr_textureCoord,2,o.FLOAT,!1,0,0),o.enableVertexAttribArray(s.attr_textureCoord),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,l),o.drawElements(o.TRIANGLES,a.indices.length,o.UNSIGNED_SHORT,0),o.disableVertexAttribArray(s.attr_position),o.disableVertexAttribArray(s.attr_textureCoord),o.bindBuffer(o.ARRAY_BUFFER,null),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,_t),i=u(e,e.FRAGMENT_SHADER,ct);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"matrix");if(!a)throw new Error("Unable to get uniform location mattrix");let n=e.getUniformLocation(t,"skinSampler");if(!n)throw new Error("Unable to get uniform location skinSampler");return this._shader={prog:t,unif_matrix:a,unif_skinSampler:n,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},this._shader}}const st=new Map;let _t="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vTextureCoord = textureCoord;\n}",ct="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2D(skinSampler, vTextureCoord);\n}",lt=new Map,dt=R();class ht{constructor(e,t,r){this._client=e,this._impl=t,this._mgr=r,this.pendingMessages=[],this.cameraTokens=new Map,this.nextCameraToken=1,this.tokensInFlight=0,this.videoTextures=[],this.cameraPixelArrays=[],this._sequenceRecordDeviceAttitudeMatrices=!0,this._sequenceRecorderFirstCameraToken=0,this._cameraFrameDataPromises=new Map,this._cameraFrameDataResolves=new Map,this._cameraFrameDataRejects=new Map,this._cameraFrameDataEnabled=!1,this.onGLContextReset=new K}static create(e,t){let r=e.pipeline_create();return lt.set(r,new ht(e,r,t)),r}static get(e){return lt.get(e)}frameUpdate(e){for(let t of this.pendingMessages)e.processMessages(t),this._mgr.postOutgoingMessage({t:"buf",p:this._impl,d:t},[t]);this.pendingMessages=[],this.cleanOldFrames()}cleanOldFrames(){var e,t;let r=this._client.pipeline_camera_frame_user_data(this._impl);if(r)for(let i of this.cameraTokens)i[0]<r&&(i[1].texture&&this.videoTextures.push(i[1].texture),null===(t=null===(e=i[1].frame)||void 0===e?void 0:e.close)||void 0===t||t.call(e),i[1].data&&(this.cameraPixelArrays.push(i[1].data),i[1].data=void 0),this.cameraTokens.delete(i[0]))}cameraFrameDataRawResult(e){var t,r;let i=this.cameraTokens.get(e.token);i&&(null===e.data?null===(t=this._cameraFrameDataRejects.get(i))||void 0===t||t(new Error("Raw camera data not available")):(i.data=e.data.data,null===(r=this._cameraFrameDataResolves.get(i))||void 0===r||r(e.data)),this._cameraFrameDataRejects.delete(i),this._cameraFrameDataResolves.delete(i),this._cameraFrameDataPromises.delete(i))}cameraTokenReturn(e){let t=this.cameraTokens.get(e.token);if(this._sequenceRecorder&&this._sequenceRecordDeviceAttitudeMatrices&&e.token>=this._sequenceRecorderFirstCameraToken&&t&&(e.att&&this._sequenceRecorder.appendAttitudeMatrix(e.att),t.data=e.d,this._sequenceRecorder.appendCameraFrame(t)),t&&!t.data&&e.d){t.data=e.d;const r=this._cameraFrameDataResolves.get(t);r&&r({data:t.data,width:t.dataWidth,height:t.dataHeight}),this._cameraFrameDataRejects.delete(t),this._cameraFrameDataResolves.delete(t),this._cameraFrameDataPromises.delete(t)}this.tokensInFlight--}sequenceRecordStart(e){this._sequenceRecorder||(this._sequenceRecorder=new De(e)),this._sequenceRecorder.start(),this._sequenceRecorderFirstCameraToken=this.nextCameraToken}sequenceRecordStop(){var e;null===(e=this._sequenceRecorder)||void 0===e||e.stop()}sequenceRecordData(){var e;return(null===(e=this._sequenceRecorder)||void 0===e?void 0:e.data())||new Uint8Array(0)}sequenceRecordClear(){delete this._sequenceRecorder}sequenceRecordDeviceAttitudeMatrices(e){this._sequenceRecordDeviceAttitudeMatrices=e}getVideoTexture(){return this.videoTextures.pop()}getCameraFrameDataRaw(){if(!this._cameraFrameDataEnabled)throw new Error("Raw camera frame data is not enabled.");const e=this.getCurrentCameraInfo();if(!e)return Promise.resolve(void 0);if(e.data)return Promise.resolve({data:e.data.slice(0),width:e.dataWidth,height:e.dataHeight});let t=this._cameraFrameDataPromises.get(e);return t||(t=new Promise(((t,r)=>{if(void 0!==e.remoteToken){const t={t:"rawrequest",token:e.remoteToken,p:this._impl};this._mgr.postOutgoingMessage(t,[])}this._cameraFrameDataResolves.set(e,t),this._cameraFrameDataRejects.set(e,r)})),this._cameraFrameDataPromises.set(e,t)),t}setCameraFrameDataRawEnabled(e){this._cameraFrameDataEnabled=e;const t={t:"rawenabled",v:e};this._mgr.postOutgoingMessage(t,[])}destroy(){this._client.pipeline_destroy(this._impl),lt.delete(this._impl)}getCurrentCameraInfo(){let e=this._client.pipeline_camera_frame_user_data(this._impl);if(e)return this.cameraTokens.get(e)}cameraFrameDrawGL(e,t,r){if(!this.glContext)return;let i=this.getCurrentCameraInfo();i&&(this._cameraDraw||(this._cameraDraw=new xe(this.glContext)),this._cameraDraw.drawCameraFrame(e,t,i,!0===r))}glContextLost(){this._cameraDraw&&this._cameraDraw.dispose(),this._faceDraw&&this._faceDraw.dispose(),this._imageTargetPreviewDraw&&this._imageTargetPreviewDraw.dispose(),this._faceProjectDraw&&this._faceProjectDraw.dispose(),delete this._cameraDraw,delete this._faceDraw,delete this._imageTargetPreviewDraw,delete this._faceProjectDraw,p=void 0,m=void 0,b=void 0,g={},this.onGLContextReset.emit();for(let e of this.videoTextures)this.glContext&&this.glContext.deleteTexture(e);this.videoTextures=[];for(let e of this.cameraTokens)this.glContext&&e[1].texture&&this.glContext.deleteTexture(e[1].texture),e[1].texture=void 0;this.glContext=void 0}glContextSet(e,t){this.glContextLost(),this.glContext=e,t=t||[];for(let r=0;r<4;r++){let i=t[r]||e.createTexture();i&&(e.bindTexture(e.TEXTURE_2D,i),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),this.videoTextures.push(i))}e.bindTexture(e.TEXTURE_2D,null)}drawFace(e,t,r,i){if(!this.glContext)return;this._faceDraw||(this._faceDraw=new Ie(this.glContext));let a=R();k(a,e,t),k(a,a,r),this._faceDraw.drawFace(a,i)}drawImageTargetPreview(e,t,r,i,a){if(!this.glContext)return;this._imageTargetPreviewDraw||(this._imageTargetPreviewDraw=new ot(this.glContext));let n=R();k(n,e,t),k(n,n,r),this._imageTargetPreviewDraw.draw(n,a,i)}drawFaceProject(e,t,r,i,a,n){this.glContext&&(this._faceProjectDraw||(this._faceProjectDraw=new Me(this.glContext)),this._faceProjectDraw.drawFace(e,t,r,i,a,n))}cameraFrameTexture(){var e;return null===(e=this.getCurrentCameraInfo())||void 0===e?void 0:e.texture}cameraFrameTextureMatrix(e,t,r){let i=this.getCurrentCameraInfo();return i?Ne(i.dataWidth,i.dataHeight,e,t,i.uvTransform||dt,r):R()}cameraFrameUserFacing(){var e;return(null===(e=this.getCurrentCameraInfo())||void 0===e?void 0:e.userFacing)||!1}cameraPoseWithAttitude(e){let t=ut(this.getCurrentCameraInfo(),this._client.pipeline_camera_frame_camera_attitude(this._impl));if(e){let e=R();N(e,[-1,1,1]),k(t,e,t),k(t,t,e)}return x(t,t),t}videoFrameFromWorker(e){let t=this.nextCameraToken++;const r=at(e.source);r&&(this.cameraTokens.set(t,{dataWidth:e.w,dataHeight:e.h,texture:void 0,frame:e.d,userFacing:e.userFacing,uvTransform:e.uvTransform,cameraModel:e.cameraModel,cameraToDevice:e.cameraToDevice,cameraSource:r,remoteToken:e.token}),this.cleanOldFrames())}imageBitmapFromWorker(e){let t=this.cameraTokens.get(e.tokenId);t&&(t.dataWidth=e.dataWidth,t.dataHeight=e.dataHeight,t.frame=e.frame,t.userFacing=e.userFacing,t.uvTransform=e.uvTransform,this.tokensInFlight--,this.cleanOldFrames())}uploadGL(){var e,t;let r=this.getCurrentCameraInfo();null===(t=null===(e=null==r?void 0:r.cameraSource)||void 0===e?void 0:e.uploadGL)||void 0===t||t.call(e,r)}registerToken(e){let t=this.nextCameraToken++;return this.cameraTokens.set(t,e),this.tokensInFlight++,t}processGL(){this.glContext?this.currentCameraSource&&(this.tokensInFlight>0?this.currentCameraSource.getFrame(!0):this.currentCameraSource.getFrame(!1)):ve("no GL context for camera frames - please call pipeline_gl_context_set")}motionAccelerometerSubmit(e,t,r,i){var a;this._sequenceRecordDeviceAttitudeMatrices||null===(a=this._sequenceRecorder)||void 0===a||a.appendAccelerometer(e,t,r,i);const n={t:"sensorDataC2S",sensor:"accel",interval:0,timestamp:e,x:t,y:r,z:i,p:this._impl};this._mgr.postOutgoingMessage(n,[])}motionAccelerometerWithoutGravitySubmitInt(e,t,r,i,a){var n;null===(n=this._sequenceRecorder)||void 0===n||n.appendAccelerometerWithoutGravityInt(e,t,r,i,a);const o={t:"sensorDataC2S",sensor:"accel_wo_gravity_int",interval:t,timestamp:e,x:r,y:i,z:a,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionAccelerometerWithGravitySubmitInt(e,t,r,i,a){var n;null===(n=this._sequenceRecorder)||void 0===n||n.appendAccelerometerWithGravityInt(e,t,r,i,a);const o={t:"sensorDataC2S",sensor:"accel_w_gravity_int",interval:t,timestamp:e,x:r,y:i,z:a,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionRotationRateSubmitInt(e,t,r,i,a){var n;null===(n=this._sequenceRecorder)||void 0===n||n.appendRotationRateInt(e,t,r,i,a);const o={t:"sensorDataC2S",sensor:"rotation_rate_int",interval:t,timestamp:e,x:r,y:i,z:a,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionAttitudeSubmitInt(e,t,r,i,a){var n;null===(n=this._sequenceRecorder)||void 0===n||n.appendAttitudeInt(e,t,r,i,a);const o={t:"sensorDataC2S",sensor:"attitude_int",interval:t,timestamp:e,x:r,y:i,z:a,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionRotationRateSubmit(e,t,r,i){var a;this._sequenceRecordDeviceAttitudeMatrices||null===(a=this._sequenceRecorder)||void 0===a||a.appendRotationRate(e,t,r,i);const n={t:"sensorDataC2S",sensor:"rotation_rate",interval:0,timestamp:e,x:t,y:r,z:i,p:this._impl};this._mgr.postOutgoingMessage(n,[])}motionAttitudeSubmit(e,t,r,i){var a;this._sequenceRecordDeviceAttitudeMatrices||null===(a=this._sequenceRecorder)||void 0===a||a.appendAttitude(e,t,r,i);const n={t:"sensorDataC2S",sensor:"attitude",interval:0,timestamp:e,x:t,y:r,z:i,p:this._impl};this._mgr.postOutgoingMessage(n,[])}motionAttitudeMatrix(e){const t={t:"attitudeMatrixC2S",p:this._impl,m:e};this._mgr.postOutgoingMessage(t,[])}sendCameraStreamToWorker(e,t,r){let i={t:"streamC2S",p:this._impl,s:t,userFacing:r,source:e};this._mgr.postOutgoingMessage(i,[i.s])}sendCameraProfileToWorker(e,t){let r={t:"cameraProfileC2S",p:this._impl,source:e,profile:t};this._mgr.postOutgoingMessage(r,[])}sendCameraToScreenRotationToWorker(e){let t={p:this._impl,t:"cameraToScreenC2S",r:e};this._mgr.postOutgoingMessage(t,[])}sendImageBitmapToWorker(e,t,r,i,a,n,o){let s={p:this._impl,t:"imageBitmapC2S",i:e,r:t,tokenId:i,userFacing:r,cameraModel:a,cameraToDevice:n,cp:o};this._mgr.postOutgoingMessage(s,[e])}sendDataToWorker(e,t,r,i,a,n,o){let s={d:e,p:this._impl,width:r,height:i,token:t,userFacing:a,c2d:n,cm:o,t:"cameraFrameC2S"};this._mgr.postOutgoingMessage(s,[e])}}function ut(e,t){let r=!1;r=!!e&&e.userFacing;let i=R();return I(i,G(r)*Math.PI/180,[0,0,1]),k(i,i,t),i}const ft={0:[{mean:[.235,.2344,.7305],identity:[.008,.0087,.0024,-.0026,6e-4,-.0022,5e-4,.0033,.0026,.0017,-.0055,-8e-4,.0011,.0059,0,2e-4,.001,-.001,-.0044,-.0011,-1e-4,.0024,.0019,-9e-4,4e-4,-.0015,0,.0038,.0013,3e-4,.002,-.0021,.0018,.0023,.0011,.0012,-.0011,-.0017,9e-4,-.0012,-8e-4,7e-4,-.0017,.0029,-.0029,8e-4,-.0027,8e-4,-.0017,4e-4,9e-4,-.001,-3e-4,8e-4,-.0016,-3e-4,-7e-4,.0016,-9e-4,.0021,-5e-4,.0011,-.0024,-1e-4,6e-4,1e-4,-.0026,-4e-4,-3e-4,-9e-4,5e-4,3e-4,-8e-4,-.001,-4e-4,-8e-4,.0022,-.0014,-1e-4,-.0023,0,-.0018,7e-4,-.0036,.0017,.0017,-.0018,-2e-4,-4e-4,-9e-4,-8e-4,3e-4,.0012,9e-4,-4e-4,-.0016,5e-4,-.0013,.0011,.0023,.0029,.0024,.0017,-.0027,-4e-4,-.001,-.0018,-.0015,-.001,.001,-.0013,-1e-4,-2e-4,7e-4,3e-4,3e-4,-.0016,9e-4,-.0021,4e-4,.0014,.002,-7e-4,-4e-4,2e-4,-4e-4,-6e-4,-9e-4,.0015,4e-4,-4e-4,5e-4,-.0015,9e-4,3e-4,3e-4,-2e-4,-8e-4,-9e-4,.0023,4e-4,1e-4,-4e-4,-1e-4,7e-4,2e-4,.001,1e-4,-.0029,-5e-4],expression:[0,3e-4,.0052,-7e-4,-.0051,-.0103,0,.0019,.0027,-.0054,.0135,.035,-5e-4,-6e-4,.0025,-.0045,-.0557,-.003,-.0191,-.1199,.0548,-.0036,-.0682,-.0167,2e-4,-.0085,-.0085,.0044,.0041,-.0568,.0044,.179,.0065,-.0017,-.1006,.0036,-.0267,-.3279,.0301,-.0011,-.0173,-.001,.0046,.2808,.0207,.0162,.238,-.0225,.0017,.1041,.0203,5e-4,.0161,.0031,-.0436,.6504,.0873,-.0099,.1039,.0048,-.0254,.2534,-.0042,.003,-.0106,-.0153,-.0118,.0252,9e-4,-.0071,.0099,.007,-.0724,.0461,-.0235,.0833,.004,.0141,-.0219,.0132,-.0042,-.0179,.0045,-.0215,.3638,.0054,-.0445]},{mean:[.2358,.1466,.7183],identity:[.0077,.0093,1e-4,-.0022,0,-.0041,5e-4,.0022,.0028,.0018,-.0038,-.0013,.001,.0044,-2e-4,0,.0017,-.0016,-.0043,-2e-4,-1e-4,.0023,9e-4,5e-4,-7e-4,-4e-4,-.0017,.003,7e-4,6e-4,.0011,-.0018,5e-4,.0018,-8e-4,4e-4,-.0023,-6e-4,-3e-4,-.0015,-.0014,-1e-4,-.0018,.0027,-.0026,3e-4,-.0031,.0011,-.0026,-.0011,.0012,-.0013,-2e-4,7e-4,-.0021,.0021,4e-4,.0012,-.001,.002,-3e-4,2e-4,-.0026,-3e-4,.001,1e-4,-.0018,-.001,9e-4,-.0011,.001,4e-4,-8e-4,-7e-4,-.001,-3e-4,7e-4,-5e-4,-6e-4,-.0019,-5e-4,-.002,7e-4,-.0027,.0014,.0013,6e-4,-5e-4,-3e-4,-3e-4,-.001,0,.0019,1e-4,6e-4,-.0012,4e-4,-9e-4,4e-4,.0025,3e-4,.0024,.0017,-9e-4,-.0015,-.0015,-.001,-.0023,-.001,-5e-4,-4e-4,8e-4,9e-4,7e-4,2e-4,7e-4,-9e-4,9e-4,-.0013,1e-4,9e-4,2e-4,6e-4,-6e-4,-8e-4,-4e-4,-7e-4,8e-4,.0019,3e-4,.0015,2e-4,-.0015,-3e-4,0,6e-4,3e-4,6e-4,-6e-4,2e-4,5e-4,-4e-4,.0012,-4e-4,2e-4,-8e-4,6e-4,-4e-4,2e-4,-.0021],expression:[-.0034,.0054,.0069,.004,6e-4,-.0104,-3e-4,.0036,.0025,.0065,.0296,.0208,-9e-4,.0154,.0029,-.0167,.0124,.004,-.0102,.0351,.028,-.019,.0146,-.0035,-.0023,-.0069,-.0051,-.01,.0262,-.028,.0112,.082,.023,-.0019,-.066,-.0104,-.0408,.0164,.0075,-.0074,.0367,.0041,.0517,-.0207,.0045,.0291,-.0672,-.0129,.0345,-.1558,-.0106,.0037,-.0437,-.0021,.0854,-.1121,.0187,.0041,.0072,.0011,.0193,-.0143,-.0119,.005,-.02,-.0122,-.008,.0527,.0036,-.006,.0222,.007,-.0429,.046,-.0046,.0226,-.0059,.0202,-.0173,.0087,0,-.0067,-.0095,-.0153,.1506,-.0017,.0021]}],1:[{mean:[-.2271,.2323,.7319],identity:[-.0084,.0097,.0018,.0041,2e-4,-.002,-.0012,.0036,.0019,-9e-4,-.0063,-.001,-3e-4,.0053,6e-4,1e-4,5e-4,-.0015,.0044,-.0025,-.0015,-.002,.0016,-6e-4,2e-4,-.0013,0,-.0022,2e-4,2e-4,-.0025,-.0014,.0015,8e-4,2e-4,.0012,6e-4,-6e-4,.0017,0,3e-4,-1e-4,.0024,.0025,-.0029,-.0015,-.0015,1e-4,.0031,-.0016,7e-4,.0019,6e-4,.002,9e-4,.001,-.0014,-.002,-.0015,.0029,1e-4,5e-4,-.0023,8e-4,-.0011,.0019,.0017,-3e-4,-.0011,-3e-4,.0011,-8e-4,.0019,-.0022,1e-4,.0015,.0017,-8e-4,-.0011,-.0022,3e-4,.0022,6e-4,-.003,-2e-4,0,-.0017,-2e-4,0,1e-4,4e-4,.0012,.0019,-.0014,4e-4,-.0017,-.0012,-.0011,.0021,-.0029,.0026,.0018,-.0023,-.0029,1e-4,.0014,-.0019,-4e-4,-4e-4,.0023,-.0016,0,-9e-4,.0014,-.0015,.0015,-.0016,-.0011,-.0022,1e-4,-.0018,.0027,-.0013,4e-4,-1e-4,-5e-4,.0011,-2e-4,.0015,5e-4,-9e-4,-1e-4,.0029,6e-4,0,-3e-4,7e-4,-8e-4,-5e-4,.0025,3e-4,2e-4,-8e-4,-1e-4,3e-4,0,.0014,2e-4,-.0024,1e-4],expression:[-.0025,-9e-4,.006,.004,-.0027,-.0113,-8e-4,.001,.0031,-.0016,.0144,.0382,-3e-4,-5e-4,.0035,-.0044,-.0511,-.0014,-7e-4,-.1007,.0582,-6e-4,-.0606,-.0165,5e-4,-.0087,-.0093,.0036,.0057,-.0576,-.0039,.1488,.0127,.0016,-.0666,-9e-4,-.0153,.3162,-.0445,-.0021,.0023,.0043,-.0033,.2382,.0063,-.0217,.167,-.039,.0097,-.1144,-.0189,-.0145,.6831,.0632,-.0012,-.1959,-.0133,4e-4,.1108,-3e-4,.0062,.2593,-.0161,-.0018,-.0051,-.012,.0162,.016,-.0022,-.0052,-.0201,.0101,.0115,.0365,-.024,-.0059,.0188,-.0336,.0352,.0224,-.0229,.0146,.0086,-.0273,-.0032,.0103,-.0112]},{mean:[-.2288,.1541,.7202],identity:[-.0082,.0101,2e-4,.0036,-7e-4,-.0037,-8e-4,.0024,.0022,-.0013,-.0045,-.0013,-6e-4,.0045,-4e-4,4e-4,.0012,-.0014,.0042,-.001,-7e-4,-.0019,3e-4,-2e-4,.0012,-4e-4,-.0012,-.0018,-4e-4,-1e-4,-.0014,-.0012,1e-4,1e-4,-.0017,.001,.0015,-1e-4,6e-4,1e-4,0,-6e-4,.0028,.0021,-.0025,-.002,-.0015,7e-4,.0028,-.0023,9e-4,.0013,1e-4,.0016,.0012,.0032,-6e-4,-.0013,-.0011,.0021,3e-4,-5e-4,-.0024,4e-4,-4e-4,.0014,.0015,-8e-4,-3e-4,3e-4,.0017,-6e-4,.002,-.0018,-3e-4,9e-4,1e-4,2e-4,-6e-4,-.0015,-4e-4,.0022,7e-4,-.0023,0,-2e-4,-2e-4,-3e-4,-1e-4,6e-4,-2e-4,6e-4,.0022,-3e-4,.0013,-.0014,-5e-4,-3e-4,.0013,-.0027,6e-4,.0025,-.0023,-8e-4,-.0013,.0017,-9e-4,-.0019,1e-4,8e-4,-7e-4,-4e-4,0,.001,-.001,.0019,-8e-4,-.0015,-6e-4,-2e-4,-.0011,8e-4,1e-4,9e-4,-8e-4,-4e-4,6e-4,7e-4,.0021,-4e-4,7e-4,-5e-4,.0021,-7e-4,-4e-4,-9e-4,8e-4,3e-4,1e-4,3e-4,1e-4,9e-4,.001,-5e-4,5e-4,-.001,.001,4e-4,-5e-4,-.0012],expression:[8e-4,.0037,.0078,-4e-4,5e-4,-.012,-2e-4,-.0046,.0033,-.0089,.0295,.0221,-.0024,-.0084,.0013,.0057,.0125,.0049,-.0036,.0373,.0285,.0115,.0135,-.0035,.0048,.0108,-.0033,.0106,.0281,-.0301,-.0082,.0803,.0244,-7e-4,-.0725,-.0105,-.0247,-.0036,-.0143,-.0045,-.029,2e-4,-.0303,.0093,-.0021,-.0196,-.0754,-.0211,.0326,.1246,.006,-.0804,-.1499,.0109,.0182,-.0029,-.0014,-.0035,.0072,-8e-4,-.0152,-.0108,-.0166,-.0073,-.0144,-.0095,.0101,.047,-.0018,-.004,-.0189,.0027,.0104,.0298,-.0042,-.0096,.0191,-.0217,.0228,.0226,-.0105,.0047,-.0048,-.0172,.0061,-.0043,-.0016]}],2:{mean:[.5396,.2028,.2496],identity:[.0204,.0146,-.0182,-.0052,.0158,-.0038,-.0025,-.0108,-.006,.0085,-.0044,.0029,.0042,.001,.0095,.0015,-.0034,-.0064,-.0057,7e-4,.0026,7e-4,.0037,-6e-4,.0037,.0026,.0024,5e-4,-.0019,-.0013,.003,-.0028,.0018,-9e-4,.002,-.0047,.004,-.003,.0031,-.0027,-.0026,-.0017,.0016,.0014,-4e-4,.0021,-.002,0,.0017,7e-4,-4e-4,-7e-4,-.0018,-9e-4,2e-4,-.0012,1e-4,-5e-4,-.0011,4e-4,2e-4,.0011,1e-4,8e-4,.0017,-.0013,.0025,.0017,.001,2e-4,3e-4,5e-4,-4e-4,-1e-4,-5e-4,7e-4,-.0022,-.0029,6e-4,-8e-4,-6e-4,6e-4,-5e-4,5e-4,.0013,3e-4,-5e-4,-.003,7e-4,2e-4,.0016,-4e-4,0,0,4e-4,1e-4,.0014,.0012,1e-4,4e-4,-1e-4,8e-4,9e-4,4e-4,-4e-4,9e-4,-2e-4,.001,9e-4,4e-4,1e-4,7e-4,7e-4,.001,-.0017,-8e-4,2e-4,.0017,-3e-4,-1e-4,4e-4,5e-4,7e-4,5e-4,-1e-4,-6e-4,-1e-4,1e-4,-3e-4,-7e-4,-2e-4,-5e-4,0,-3e-4,3e-4,8e-4,-2e-4,-3e-4,5e-4,1e-4,-7e-4,-.001,-2e-4,3e-4,4e-4,-1e-4,7e-4,0,4e-4,4e-4],expression:[1e-4,-4e-4,1e-4,0,5e-4,2e-4,0,0,3e-4,-2e-4,3e-4,5e-4,-1e-4,2e-4,8e-4,1e-4,-2e-4,-5e-4,-3e-4,6e-4,5e-4,0,1e-4,2e-4,1e-4,-1e-4,-6e-4,-2e-4,5e-4,0,-4e-4,4e-4,.0016,4e-4,-4e-4,-.0015,0,1e-4,1e-4,-3e-4,3e-4,.0019,-2e-4,7e-4,4e-4,4e-4,-8e-4,-.0015,.0013,-.0016,-.0069,4e-4,-6e-4,-.0019,0,-1e-4,5e-4,-3e-4,2e-4,.0014,-3e-4,6e-4,.0011,4e-4,-3e-4,-.0032,-6e-4,8e-4,.0025,-3e-4,3e-4,.0015,-1e-4,1e-4,3e-4,-1e-4,0,0,-3e-4,4e-4,.0019,1e-4,0,-8e-4,-1e-4,1e-4,5e-4]},3:{mean:[-.5464,.2141,.26],identity:[-.0207,.0172,-.0176,.0068,.0148,-.0051,.0042,-.0101,-.0058,-.0087,-.0059,.0045,-.0056,.0017,.0097,-.0048,-.004,-.0044,.0019,2e-4,.0041,-.0052,.0041,2e-4,-.0027,6e-4,.002,-.0027,-.0033,-6e-4,-.004,9e-4,-.0012,-1e-4,-.0026,.0021,-.003,-.0025,.0052,.0025,.0022,-1e-4,-8e-4,.0013,.001,4e-4,.0018,.0014,6e-4,-5e-4,-.0015,-.0039,.0014,-1e-4,8e-4,-2e-4,6e-4,-5e-4,-.0038,-.0012,-.0018,-3e-4,.001,9e-4,.0012,.0024,-.0024,-7e-4,-.0016,-.0016,3e-4,-.001,-.0014,-.0014,.001,-3e-4,-7e-4,-.0012,3e-4,6e-4,3e-4,-5e-4,3e-4,.0012,6e-4,-8e-4,4e-4,4e-4,8e-4,-2e-4,-.0014,3e-4,0,.0023,-3e-4,-.0012,-.0013,.0011,-2e-4,-.0014,-1e-4,.0014,0,3e-4,3e-4,-8e-4,-5e-4,-7e-4,-7e-4,-2e-4,3e-4,5e-4,2e-4,-1e-4,.0011,-.0014,1e-4,-.0015,-1e-4,-3e-4,0,-.001,-1e-4,-8e-4,8e-4,-8e-4,-2e-4,-.0011,-3e-4,-4e-4,1e-4,-2e-4,3e-4,-7e-4,0,3e-4,1e-4,-8e-4,5e-4,1e-4,4e-4,.0014,-6e-4,-.001,-3e-4,-2e-4,1e-4,-1e-4,-1e-4,7e-4],expression:[-3e-4,-1e-4,6e-4,4e-4,0,-7e-4,0,-3e-4,-2e-4,-4e-4,.0012,8e-4,1e-4,-5e-4,-7e-4,-4e-4,0,1e-4,-4e-4,.0017,7e-4,0,1e-4,3e-4,0,4e-4,4e-4,5e-4,1e-4,-.001,-7e-4,.0022,.0026,5e-4,-.0024,-.0023,0,1e-4,3e-4,0,-.0013,-.0015,6e-4,.0014,8e-4,-2e-4,-.0025,-.0023,-3e-4,.0049,.006,-2e-4,-7e-4,-2e-4,0,-.0019,-.0018,-2e-4,.0017,.0017,3e-4,.0015,7e-4,1e-4,-.0023,-.0036,2e-4,.0023,.0017,0,-5e-4,-3e-4,-3e-4,4e-4,2e-4,-1e-4,-3e-4,-5e-4,1e-4,.0018,.0025,1e-4,-6e-4,-.0011,0,1e-4,1e-4]},4:{mean:[.0018,.1864,.853],identity:[-.0011,.0134,.0085,9e-4,-.0025,-7e-4,-3e-4,.0033,4e-4,-5e-4,-.0047,-.002,7e-4,.0026,-.0069,-1e-4,.0036,.0072,5e-4,-8e-4,-.0047,4e-4,-8e-4,-.001,0,2e-4,-.0036,-2e-4,-.001,-.0048,-1e-4,.0018,.0044,-7e-4,-2e-4,.0043,3e-4,.002,-.0031,0,-7e-4,.0013,0,.0037,.0033,-.0016,-.0012,.002,-1e-4,-.0027,.0051,5e-4,8e-4,7e-4,-.0017,.0054,.0023,-3e-4,.0032,1e-4,0,7e-4,-5e-4,-.0011,2e-4,8e-4,0,-.0033,-8e-4,-7e-4,7e-4,.0033,5e-4,-3e-4,.0029,-1e-4,-.0024,-.0011,-.002,-.0015,-.0019,2e-4,7e-4,.0031,6e-4,.0012,0,0,-.0021,0,-9e-4,-.0011,-.0011,-2e-4,.0015,.001,.0013,8e-4,.001,-3e-4,9e-4,.0027,-2e-4,-.0011,-.0011,6e-4,7e-4,2e-4,1e-4,-5e-4,-.0022,.0011,-.0014,9e-4,3e-4,2e-4,0,-6e-4,-4e-4,-.0011,-7e-4,.001,-.0012,6e-4,-.0012,-.0015,3e-4,-9e-4,-.0013,-.0013,7e-4,.001,-.0011,-.0013,.0015,4e-4,1e-4,4e-4,-1e-4,-.0016,-.0016,9e-4,-7e-4,-.0024,5e-4,-1e-4,-.0017,-2e-4,3e-4,-9e-4],expression:[-.0017,.0019,.0097,.003,-.0103,-.0093,9e-4,6e-4,.0023,-.0017,-.0204,.0376,.0033,-.0034,.0033,-.0026,-.0322,.0396,-.0032,-.0947,.0942,-7e-4,-.0175,.0266,-.001,-6e-4,.0016,.0025,.0157,-.0142,-.0022,.037,.015,.0021,-.0102,-.0107,.0036,.0055,-.0051,.0021,3e-4,-3e-4,4e-4,-.0177,.0074,-6e-4,-.0357,.0149,-.0066,9e-4,.0013,-.0031,.0016,.0095,.002,.0052,.0035,-3e-4,.0053,-.0082,.002,.0022,-.0071,-.0011,5e-4,.0055,.0011,3e-4,-.0126,-4e-4,3e-4,-.0023,-.0015,.0059,.0063,-.0042,-.0023,.0055,.0019,.0017,-.0075,6e-4,-8e-4,.0018,.0012,.0012,-5e-4]},5:{mean:[-.002,-.0469,1.0039],identity:[-.0017,.0018,.0156,6e-4,-.0038,5e-4,4e-4,.0013,.002,-4e-4,-.0015,-.0051,5e-4,-7e-4,-.0055,-1e-4,-9e-4,.008,-2e-4,.0036,-.0053,4e-4,-.0026,-.0016,7e-4,9e-4,-.009,-3e-4,7e-4,-.0084,.0015,.0021,.0032,-.0015,.0018,.0046,-3e-4,-4e-4,-1e-4,8e-4,-.0044,-7e-4,-8e-4,7e-4,.0048,-.0024,-3e-4,.0024,2e-4,-.0051,.0058,-6e-4,.0028,.0018,-.0021,.0035,.0057,.0011,.0065,0,-2e-4,.0011,.003,-.0027,8e-4,7e-4,3e-4,-.0039,-.002,-2e-4,-.0015,.0034,.0012,-.0025,.0024,-2e-4,4e-4,-.0042,-.0024,-.001,-.0023,.0016,-7e-4,.0039,1e-4,-5e-4,.0018,3e-4,-2e-4,-9e-4,-.0015,3e-4,-7e-4,-1e-4,-2e-4,.0023,.0032,.002,-.0013,.0013,-.0038,.0045,1e-4,-.0031,1e-4,.0019,-1e-4,.0016,.0013,0,-.002,.0023,2e-4,.0011,.0018,-.0024,6e-4,-.0017,.002,-8e-4,-.0021,7e-4,.0011,8e-4,4e-4,-.001,.0012,2e-4,-6e-4,-.0027,-5e-4,.001,-9e-4,1e-4,-1e-4,8e-4,-.0011,.0022,-.001,-5e-4,-.0011,.0016,-.0015,8e-4,-3e-4,9e-4,.0013,-7e-4,-7e-4,-2e-4],expression:[-.0018,-.0168,.0088,.0389,.1026,.0414,.2201,-.0262,-.0016,-.0017,.0612,-.0298,-.0323,.0093,.0013,-.005,.2207,.1315,-4e-4,.0858,-.0303,-.0133,.015,-.008,.1454,.0114,.0177,-.0077,.1022,.0356,-.0023,.1088,.0232,.003,-.0706,.0347,-1e-4,.004,-.0011,.0397,-.0096,-.0033,.0029,-.01,-.0083,-6e-4,-.0135,.0016,-.0087,-.0019,.0022,-.004,-.0087,.0105,8e-4,-.005,.0069,.0028,.0409,-.0391,.003,.0103,.0051,.0026,.0776,-.0083,-.0062,-.0567,.0268,.0175,.0017,.0156,-.0043,.0299,-.0395,-.0015,.0051,-.0148,.0125,.0035,.0603,.0109,-.0645,-.0257,.002,6e-4,-8e-4]},6:{mean:[-6e-4,-.1542,.8789],identity:[-7e-4,-.0032,.01,0,-.0027,.0031,6e-4,5e-4,-6e-4,-3e-4,.0013,-.0049,-2e-4,-.002,-.0046,8e-4,-.0011,.0054,2e-4,.0043,-.0027,3e-4,-.0022,-.0019,8e-4,.0032,-.0069,0,4e-4,-.0071,.0016,.0027,.0039,-.0017,9e-4,.0031,-1e-4,-5e-4,-4e-4,7e-4,-.0026,-.0012,-5e-4,6e-4,2e-4,-.0014,-.0013,.0019,-2e-4,-.0053,.0031,-6e-4,.0016,.0023,-.0013,.0021,.0029,8e-4,.0052,0,4e-4,0,.0037,-.0026,3e-4,.002,-2e-4,-.0024,4e-4,-4e-4,-.0012,8e-4,7e-4,-.0023,5e-4,0,.0014,-.0022,-.0016,0,-.0012,8e-4,-7e-4,.0014,-6e-4,-.0012,-3e-4,2e-4,.0012,-3e-4,-.002,-1e-4,1e-4,-2e-4,-.0016,9e-4,.002,.0019,0,6e-4,-.0022,.0016,1e-4,-.0017,-.0013,.001,9e-4,-1e-4,.0011,3e-4,-7e-4,.0014,8e-4,.0013,.0011,-.002,0,-.0015,.0014,.001,-.0015,7e-4,3e-4,.001,-1e-4,.0012,7e-4,6e-4,-4e-4,-.0013,-.0012,-9e-4,-.0011,2e-4,-5e-4,5e-4,4e-4,2e-4,1e-4,0,5e-4,5e-4,-.0014,.0015,-9e-4,5e-4,.0014,-8e-4,-8e-4,.0012],expression:[8e-4,.0481,.1653,.0784,.1008,-.3992,.5088,-.02,.0542,.001,.3723,-.0151,-.0986,.0283,-.0033,-.0121,.2634,.1202,.0036,-.0529,-.0245,-.0297,-.1085,.0495,.3264,.0083,4e-4,-.0314,.1459,-.1142,-.003,1e-4,.1154,-.0035,-.0285,-.0184,-1e-4,.0012,.0035,.079,-.0103,.0043,.011,-.004,-.0774,-.0047,-.023,.0284,-.0048,-.001,.0149,-.0039,.0046,.0528,-6e-4,.0063,.0376,.0096,.0558,-.0295,0,-.0311,-.0634,.0062,.0176,-.0154,-.0109,-.1149,.0192,.0326,.0121,.0237,.0034,.0262,-.0778,.0014,-.0045,-.0203,.0077,.0588,.0575,.008,-.0557,-.0095,.0032,.0054,-.0042]},7:{mean:[.0038,-.2927,.833],identity:[6e-4,-.0109,.0073,-6e-4,-.0044,.0017,-1e-4,-.0022,-6e-4,-3e-4,.0065,-.0014,-6e-4,-.0051,-.0046,3e-4,-.0029,.003,2e-4,.0038,-6e-4,0,-.0012,6e-4,-4e-4,.0053,-.0075,-2e-4,-7e-4,-.0063,.0014,.0026,.0019,-.0022,.0018,.0028,-1e-4,-.0012,.0011,9e-4,.0019,-.0019,-1e-4,.0012,-.0022,-3e-4,-.0012,4e-4,-8e-4,3e-4,-3e-4,0,.0017,.0021,-4e-4,.0012,.0022,-3e-4,.0026,-3e-4,4e-4,-.0026,.0032,-.0019,3e-4,.0015,1e-4,-.0015,.0013,-1e-4,1e-4,-.0029,0,-2e-4,-.0028,-7e-4,.0019,-3e-4,-2e-4,.0012,9e-4,4e-4,-.001,-.002,-.0016,.0011,-1e-4,3e-4,.0021,2e-4,-.0014,-9e-4,-1e-4,0,-2e-4,-.001,.0015,.0018,1e-4,7e-4,8e-4,.0017,.001,-9e-4,1e-4,4e-4,.0023,-1e-4,.0012,1e-4,-8e-4,2e-4,.0018,6e-4,3e-4,1e-4,.0012,-3e-4,.002,-6e-4,0,-1e-4,-.0022,4e-4,5e-4,.0011,2e-4,-.0013,-.0023,6e-4,6e-4,-5e-4,-5e-4,9e-4,2e-4,2e-4,.0011,-3e-4,.0011,.0015,.0011,3e-4,2e-4,8e-4,-4e-4,-8e-4,3e-4,0,.0012,-1e-4],expression:[.026,.1107,.3257,.1917,.3206,-1.1348,1.0791,-.035,.1549,-.0103,.6953,1e-4,-.3262,.068,.0219,-.0044,.3643,.2178,.0168,-.2478,-.1321,-.0414,-.3782,-.0617,.5088,-.0031,-.0311,-.0497,.0948,-.385,.0148,-.2224,-.1415,-.0074,.0863,-.203,3e-4,-.0081,.0057,.1164,-.0039,.0015,-.0024,.0505,.1532,.0039,-.0148,-.0753,.0163,.0058,-.0339,.0036,.0252,-.0569,-.0041,.0163,-.0361,.0035,-.018,.1266,0,-.0163,-.0046,.0133,-.1656,.2134,.0191,.0057,.0734,.0681,.0039,-.0144,.029,-.074,-.046,.0122,.0072,-.0162,-.0349,-.1234,.0212,-.0355,.0535,.1218,.0043,-.024,.0016]},8:{mean:[-.0018,-.3037,.8491],identity:[2e-4,-.0112,.0077,-4e-4,-.0044,.0024,1e-4,-.0021,-4e-4,-4e-4,.0066,-.002,-4e-4,-.0052,-.0044,3e-4,-.0032,.0039,4e-4,.0042,-3e-4,2e-4,-.0012,-2e-4,-2e-4,.0052,-.0083,-1e-4,-8e-4,-.0056,.0017,.0024,.0019,-.0023,.002,.0027,-2e-4,-.0013,.002,9e-4,.0017,-.0028,-2e-4,.0012,-.0026,0,-.0016,2e-4,-5e-4,3e-4,-.001,-1e-4,.0016,.0016,-3e-4,.0012,.0012,-3e-4,.0027,-3e-4,3e-4,-.0026,.0037,-.0017,1e-4,.0016,1e-4,-.0015,.0024,1e-4,2e-4,-.0039,0,-3e-4,-.0033,-6e-4,.0017,-4e-4,-4e-4,.0012,.0018,2e-4,-.0012,-.002,-.0017,.0013,-.001,3e-4,.0021,4e-4,-.0012,-6e-4,-2e-4,0,-4e-4,-9e-4,.0016,.0017,4e-4,7e-4,7e-4,.001,9e-4,-8e-4,5e-4,5e-4,.0023,.001,.0013,2e-4,-4e-4,2e-4,.0017,8e-4,3e-4,-1e-4,9e-4,-4e-4,.0019,-5e-4,3e-4,0,-.0025,3e-4,3e-4,.0011,1e-4,-.0015,-.001,7e-4,7e-4,-7e-4,-7e-4,8e-4,0,1e-4,.0013,-4e-4,.0012,.0014,.0017,4e-4,2e-4,3e-4,-3e-4,-9e-4,1e-4,0,.001,-4e-4],expression:[-.0092,2.8809,1.416,.2018,1.1982,-.9351,1.4492,-.1902,.1749,.0305,-.167,-.1572,-.7354,-.0492,.0115,.0608,.2971,.1179,.0046,-.0997,-.0041,-.0104,.3379,-.1854,.009,.0366,-.0583,.0269,-.0029,-.4175,-8e-4,.1794,.0752,-.0135,.1158,.1234,5e-4,.003,-.0032,.1034,-.0504,-.0055,-.0076,-.0772,.224,.0047,.0229,-.1044,.0162,-.0161,-.0241,-.0083,-.1388,-.0434,-.0125,-.0997,-.0327,-.0111,.1576,-.3911,.0199,.2522,.142,.0059,-.0721,-.0045,.031,-.1136,-.1685,.0641,.0142,.0312,.0426,-.1366,.1011,.0101,-.0157,.0018,-.0103,-.0344,.0907,.0016,.1168,-.0806,.0104,-.0057,.0111]},9:[{mean:[.0038,-.2927,.833],identity:[6e-4,-.0109,.0073,-6e-4,-.0044,.0017,-1e-4,-.0022,-6e-4,-3e-4,.0065,-.0014,-6e-4,-.0051,-.0046,3e-4,-.0029,.003,2e-4,.0038,-6e-4,0,-.0012,6e-4,-4e-4,.0053,-.0075,-2e-4,-7e-4,-.0063,.0014,.0026,.0019,-.0022,.0018,.0028,-1e-4,-.0012,.0011,9e-4,.0019,-.0019,-1e-4,.0012,-.0022,-3e-4,-.0012,4e-4,-8e-4,3e-4,-3e-4,0,.0017,.0021,-4e-4,.0012,.0022,-3e-4,.0026,-3e-4,4e-4,-.0026,.0032,-.0019,3e-4,.0015,1e-4,-.0015,.0013,-1e-4,1e-4,-.0029,0,-2e-4,-.0028,-7e-4,.0019,-3e-4,-2e-4,.0012,9e-4,4e-4,-.001,-.002,-.0016,.0011,-1e-4,3e-4,.0021,2e-4,-.0014,-9e-4,-1e-4,0,-2e-4,-.001,.0015,.0018,1e-4,7e-4,8e-4,.0017,.001,-9e-4,1e-4,4e-4,.0023,-1e-4,.0012,1e-4,-8e-4,2e-4,.0018,6e-4,3e-4,1e-4,.0012,-3e-4,.002,-6e-4,0,-1e-4,-.0022,4e-4,5e-4,.0011,2e-4,-.0013,-.0023,6e-4,6e-4,-5e-4,-5e-4,9e-4,2e-4,2e-4,.0011,-3e-4,.0011,.0015,.0011,3e-4,2e-4,8e-4,-4e-4,-8e-4,3e-4,0,.0012,-1e-4],expression:[.026,.1107,.3257,.1917,.3206,-1.1348,1.0791,-.035,.1549,-.0103,.6953,1e-4,-.3262,.068,.0219,-.0044,.3643,.2178,.0168,-.2478,-.1321,-.0414,-.3782,-.0617,.5088,-.0031,-.0311,-.0497,.0948,-.385,.0148,-.2224,-.1415,-.0074,.0863,-.203,3e-4,-.0081,.0057,.1164,-.0039,.0015,-.0024,.0505,.1532,.0039,-.0148,-.0753,.0163,.0058,-.0339,.0036,.0252,-.0569,-.0041,.0163,-.0361,.0035,-.018,.1266,0,-.0163,-.0046,.0133,-.1656,.2134,.0191,.0057,.0734,.0681,.0039,-.0144,.029,-.074,-.046,.0122,.0072,-.0162,-.0349,-.1234,.0212,-.0355,.0535,.1218,.0043,-.024,.0016]},{mean:[-.0018,-.3037,.8491],identity:[2e-4,-.0112,.0077,-4e-4,-.0044,.0024,1e-4,-.0021,-4e-4,-4e-4,.0066,-.002,-4e-4,-.0052,-.0044,3e-4,-.0032,.0039,4e-4,.0042,-3e-4,2e-4,-.0012,-2e-4,-2e-4,.0052,-.0083,-1e-4,-8e-4,-.0056,.0017,.0024,.0019,-.0023,.002,.0027,-2e-4,-.0013,.002,9e-4,.0017,-.0028,-2e-4,.0012,-.0026,0,-.0016,2e-4,-5e-4,3e-4,-.001,-1e-4,.0016,.0016,-3e-4,.0012,.0012,-3e-4,.0027,-3e-4,3e-4,-.0026,.0037,-.0017,1e-4,.0016,1e-4,-.0015,.0024,1e-4,2e-4,-.0039,0,-3e-4,-.0033,-6e-4,.0017,-4e-4,-4e-4,.0012,.0018,2e-4,-.0012,-.002,-.0017,.0013,-.001,3e-4,.0021,4e-4,-.0012,-6e-4,-2e-4,0,-4e-4,-9e-4,.0016,.0017,4e-4,7e-4,7e-4,.001,9e-4,-8e-4,5e-4,5e-4,.0023,.001,.0013,2e-4,-4e-4,2e-4,.0017,8e-4,3e-4,-1e-4,9e-4,-4e-4,.0019,-5e-4,3e-4,0,-.0025,3e-4,3e-4,.0011,1e-4,-.0015,-.001,7e-4,7e-4,-7e-4,-7e-4,8e-4,0,1e-4,.0013,-4e-4,.0012,.0014,.0017,4e-4,2e-4,3e-4,-3e-4,-9e-4,1e-4,0,.001,-4e-4],expression:[-.0092,2.8809,1.416,.2018,1.1982,-.9351,1.4492,-.1902,.1749,.0305,-.167,-.1572,-.7354,-.0492,.0115,.0608,.2971,.1179,.0046,-.0997,-.0041,-.0104,.3379,-.1854,.009,.0366,-.0583,.0269,-.0029,-.4175,-8e-4,.1794,.0752,-.0135,.1158,.1234,5e-4,.003,-.0032,.1034,-.0504,-.0055,-.0076,-.0772,.224,.0047,.0229,-.1044,.0162,-.0161,-.0241,-.0083,-.1388,-.0434,-.0125,-.0997,-.0327,-.0111,.1576,-.3911,.0199,.2522,.142,.0059,-.0721,-.0045,.031,-.1136,-.1685,.0641,.0142,.0312,.0426,-.1366,.1011,.0101,-.0157,.0018,-.0103,-.0344,.0907,.0016,.1168,-.0806,.0104,-.0057,.0111]}],10:{mean:[-.007,-.6338,.7695],identity:[1e-4,-.0296,.0089,-6e-4,-.0073,-.0065,-1e-4,-.0029,-.0031,-2e-4,.0128,.0065,0,-.0116,-.014,-1e-4,-.0037,-.0052,-5e-4,.0028,.003,-4e-4,.0041,.0015,6e-4,.0088,-.0076,-.0011,-.0015,-.0073,7e-4,-.0011,.0019,-.0011,-5e-4,.0031,-1e-4,-.0018,9e-4,.0018,.0038,.0068,-4e-4,-1e-4,.0061,.0024,.0024,-.0066,-6e-4,.0051,.0014,.002,.005,-.0035,1e-4,-.0034,-.004,-7e-4,.001,-8e-4,1e-4,-5e-4,-.0021,2e-4,.0045,-.0043,-.0012,-.0024,-.0014,6e-4,.0034,.0027,-8e-4,-.0053,.0014,1e-4,.0013,-.0018,6e-4,-.0015,.0029,-2e-4,-.0035,1e-4,-.002,.0012,.0048,.0011,1e-4,-2e-4,-3e-4,-.0012,.0033,6e-4,.002,-.0033,4e-4,.0028,2e-4,8e-4,-1e-4,-.0018,8e-4,.0017,1e-4,9e-4,8e-4,3e-4,.0019,-.001,.001,-7e-4,-.0013,0,1e-4,.0032,-1e-4,1e-4,.0011,-4e-4,5e-4,-7e-4,.0018,-3e-4,2e-4,7e-4,8e-4,-.0014,7e-4,.0015,-6e-4,-1e-4,-4e-4,.0019,-9e-4,-6e-4,-6e-4,-.0012,2e-4,-.0012,-8e-4,4e-4,6e-4,-.0011,3e-4,9e-4,-4e-4,6e-4,-7e-4,-4e-4],expression:[-.0603,2.0527,1.9014,.1025,.6143,.3804,.7881,-.1023,-.0764,.0454,-.2487,-.5073,-.6704,-.031,-.0181,.0466,.0651,-.0726,-.0033,-.0022,.2944,.0101,.1669,-.5225,-.4685,.0236,.0079,.011,.2173,.4529,.0121,-.2104,-.0673,.0225,-.4023,.0317,-9e-4,.0076,-.0032,.0333,.0523,.0129,-.001,-.0319,-.0139,.0015,-.0044,.0247,-5e-4,.0161,.0061,.0074,.0776,-.0176,.007,.055,-.017,.0052,-.1819,.0294,-.0161,-.0337,.0226,-.008,-.0297,.1967,-.0095,.0383,.2039,.0434,.0271,-.0064,-.0037,-.0294,-.024,.0024,-.0137,-.0209,-.0031,.0628,.1003,-.0126,-.056,-.0097,-.0012,-.0041,.0162]},11:{mean:[.2505,.3833,.7793],identity:[.0098,.012,.0077,-6e-4,-3e-4,0,1e-4,.0082,-7e-4,.0019,-.0036,-.0012,2e-4,.0119,-.0039,.001,1e-4,.0031,-.0036,-.0059,-7e-4,.0026,.0028,-.0011,9e-4,-.0032,8e-4,.0029,.0043,3e-4,.0025,-9e-4,.0047,.0016,.0022,.0018,-.001,.0025,-.003,-.001,.0033,.0034,4e-4,-.0052,.0024,-2e-4,.001,-.0014,-6e-4,.0038,-.0015,-6e-4,-.001,-.0011,-4e-4,-.001,4e-4,-7e-4,.0036,-8e-4,-2e-4,-.0019,5e-4,3e-4,-6e-4,-.0024,-.0017,-.0014,6e-4,-4e-4,-.0031,-.0013,-6e-4,.0042,2e-4,-2e-4,-.002,-3e-4,8e-4,.0018,-5e-4,-6e-4,-2e-4,-6e-4,.0025,.0019,.001,8e-4,-.0015,-.0012,-1e-4,-6e-4,-4e-4,.0023,-.001,6e-4,-2e-4,-.001,0,-9e-4,-.002,-.0011,1e-4,0,-1e-4,5e-4,6e-4,9e-4,-6e-4,5e-4,8e-4,-1e-4,-2e-4,-.0017,-6e-4,-4e-4,4e-4,-6e-4,.0012,4e-4,3e-4,-7e-4,3e-4,-2e-4,6e-4,1e-4,5e-4,-.0019,-6e-4,4e-4,7e-4,-1e-4,1e-4,5e-4,.001,-6e-4,-.002,-7e-4,-5e-4,5e-4,3e-4,7e-4,.0014,0,5e-4,-5e-4,-2e-4,3e-4,-6e-4,-1e-4],expression:[-9e-4,-3e-4,.0032,-.003,-.0034,-.0031,.0014,0,4e-4,-.0139,-.0764,.0275,-.002,-.0089,.0031,-.0503,-.0771,.038,-.1323,-.3523,.1368,-.0474,-.0564,.0296,-.0045,.007,-.0013,.0153,.1259,-.0464,.0866,.2175,-.0786,-.0413,-.1248,.0448,-.1777,-.4607,.1782,-5e-4,-.005,.0016,.0629,.1506,-.0624,.0545,.2576,-.0864,-.0231,-.0552,.0244,-.0136,-.0359,.0169,-.1158,-.2996,.1214,-.0235,-.0354,.0165,-.0745,-.1079,.0475,-.0116,-.0039,.0012,.0013,-.0108,-8e-4,.0044,-.0027,-1e-4,-.0694,.0363,.0071,.1462,-.136,.0047,.009,-.0177,.0038,-.0271,.0118,.0011,-.0399,-.0111,.0123]},12:{mean:[-.2981,.3828,.7563],identity:[-.0116,.014,.0054,.0018,5e-4,0,-4e-4,.0068,-.0013,-.0019,-.0048,-5e-4,5e-4,.0108,-.0036,-.0029,-.0018,.0029,.0043,-.0077,6e-4,-.0017,.002,-.0011,-.0014,-.0035,.0015,-.0024,.0011,4e-4,-.0048,2e-4,.0029,-1e-4,-1e-4,.003,.0019,.0035,-.0016,-4e-4,.0039,.0019,1e-4,-.0064,.004,3e-4,.002,-.0021,.0017,.0011,-.001,.0026,.0025,-5e-4,2e-4,-3e-4,-5e-4,-7e-4,9e-4,-4e-4,-.001,-.0022,.001,9e-4,-.0014,7e-4,.0011,-.001,-5e-4,-8e-4,-.0017,-.0021,9e-4,.0036,5e-4,4e-4,-.0031,6e-4,-.0015,.0027,2e-4,1e-4,-.0011,2e-4,-.0011,-.0018,4e-4,-.0013,-2e-4,7e-4,9e-4,-3e-4,.001,-.0021,8e-4,6e-4,-9e-4,4e-4,-7e-4,8e-4,-.002,-.0013,0,7e-4,-.0012,-1e-4,.0014,.0014,-1e-4,.0013,6e-4,6e-4,-.0014,-.0015,-9e-4,1e-4,1e-4,9e-4,7e-4,0,1e-4,-.001,-4e-4,0,-5e-4,1e-4,-3e-4,4e-4,-5e-4,-1e-4,-.0011,2e-4,0,1e-4,8e-4,8e-4,0,-7e-4,-8e-4,0,2e-4,-1e-4,.001,3e-4,4e-4,-2e-4,0,5e-4,.0018,-1e-4],expression:[0,-4e-4,.0028,.0036,-8e-4,-.0026,-.0015,-8e-4,3e-4,.0075,-.0608,.025,.0019,-.0076,.0033,.0379,-.0437,.0335,.0964,-.2452,.1233,.0368,-.0251,.0253,.0033,.0097,-.0021,-.0095,.1171,-.0475,-.064,.1548,-.0718,.0228,-.0831,.0343,-.1924,.6206,-.2771,.0021,-.0143,.0056,-.0705,.2522,-.1116,-.0692,.4229,-.1592,-.0093,.05,-.0185,.0948,-.3196,.1437,-.0184,.0194,-.0131,.0205,-.0353,.0201,.0676,-.135,.0672,.0137,-.0311,.0118,3e-4,-.0077,-2e-4,-.0151,4e-4,-.0058,.029,-.0139,.0163,.1324,.1819,-.0039,.0406,.0501,.0017,.0331,.0161,.0062,-.0235,-.0446,.0047]}};let pt=1,mt=new Map;function bt(e){return mt.get(e)}class gt{constructor(e){this._name=e,this.anchor_pose=R()}_getVertex(e,t,r){let i=r.mean.slice();for(let t=0;t<50;t++)i[0]+=e[t]*r.identity[3*t+0],i[1]+=e[t]*r.identity[3*t+1],i[2]+=e[t]*r.identity[3*t+2];for(let e=0;e<29;e++)i[0]+=t[e]*r.expression[3*e+0],i[1]+=t[e]*r.expression[3*e+1],i[2]+=t[e]*r.expression[3*e+2];return i}update(e,t,r){let i,a=ft[this._name.toString()];if(a){if(Array.isArray(a)){i=this._getVertex(e,t,a[0]);let r=this._getVertex(e,t,a[1]);i[0]=.5*(i[0]+r[0]),i[1]=.5*(i[1]+r[1]),i[2]=.5*(i[2]+r[2])}else i=this._getVertex(e,t,a);r&&(i[0]*=-1),S(this.anchor_pose,i)}}}const vt={incompatible:()=>!("function"==typeof Promise&&"object"==typeof WebAssembly&&navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices&&navigator.mediaDevices.getUserMedia),incompatible_ui:()=>{const e=document.createElement("div");e.append(function(){let e=document.createElement("div"),t="a recent web browser";navigator.userAgent.match(/Android/i)?(t="Chrome for Android",window.location.href="googlechrome://navigate?url="+encodeURI(window.location.href),setTimeout((()=>{window.location.href="samsunginternet://open?url="+encodeURI(window.location.href)}),2e3)):navigator.userAgent.match(/iPhone|iPod|iPad/i)&&(t="Safari",e.classList.add("zee-launcher-browser-safari")),e.classList.add("zee-launcher-unsupported"),e.innerHTML=`\n <style>.zee-launcher-unsupported {\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n align-items: center;\n }\n .zee-launcher-browser-logo {\n background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 210 211' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(-82 -146)' fill-rule='nonzero' stroke='%23ffffff' stroke-width='2'%3E%3Cg transform='translate(83 146.5)'%3E%3Cpath d='m55.146 88.785l-32.039-49.472c19.962-24.947 49.904-38.684 80.517-38.81 17.739-0.12642 35.855 4.4246 52.336 13.99 18.2 10.619 32.039 25.874 40.846 43.404l-86.095-4.5511c-24.365-1.4327-47.556 12.347-55.565 35.439zm13.797 16.224c0 19.468 15.684 35.229 35.059 35.229 19.374 0 35.059-15.76 35.059-35.229 0-19.468-15.684-35.229-35.059-35.229-19.374 0-35.059 15.718-35.059 35.229zm132.06-37.588l-58.585 3.034c15.894 18.668 16.145 45.595 2.7678 66.243l-47.01 72.648c19.5 1.0535 39.588-3.2447 57.788-13.864 45.039-26.126 63.282-80.908 45.039-128.06zm-144.93 57.647l-39.126-77.326c-10.694 16.434-16.942 36.156-16.942 57.267 0 52.253 38.078 95.53 87.856 103.2l26.713-52.59c-24.155 4.5511-47.472-8.765-58.501-30.551z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");\n width: 211px;\n height: 211px;\n margin-bottom: 25%;\n margin-top: -60px;\n background-repeat: no-repeat;\n }\n .zee-launcher-browser-safari .zee-launcher-browser-logo {\n background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 211 211' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(-82 -146)' fill-rule='nonzero' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m180 251.86c0-4.0385 2.9377-7.855 7.2552-7.855 3.9614 0 7.7448 2.8402 7.7448 7.145 0 4.0385-2.8487 7.855-7.1662 7.855-4.0059 0-7.8338-2.9734-7.8338-7.145zm112-0.35503c0 57.728-46.772 104.5-104.5 104.5s-104.5-46.772-104.5-104.5 46.772-104.5 104.5-104.5 104.5 46.772 104.5 104.5zm-12-1c0-51.649-41.851-93.5-93.5-93.5s-93.5 41.851-93.5 93.5 41.851 93.5 93.5 93.5 93.5-41.851 93.5-93.5zm-30.624 40.983c0 1.5095 5.4495 4.2768 6.8328 5.1154-11.486 17.401-29.26 29.938-49.423 34.928l-1.8444-7.757c-0.12576-1.0482-0.79646-1.174-1.7606-1.174-0.79646 0-1.2576 1.174-1.1737 1.7611l1.8444 7.8828c-5.5753 1.174-11.234 1.7611-16.935 1.7611-15.217 0-30.182-4.2768-43.177-12.202 0.71263-1.174 5.1141-7.5474 5.1141-8.4698 0-0.79666-0.71263-1.5095-1.5091-1.5095-1.6348 0-5.1141 6.9603-6.1621 8.344-17.522-11.615-30.182-29.602-35.044-50.148l8.0066-1.761c0.92222-0.25158 1.1737-0.92246 1.1737-1.7611 0-0.79667-1.1737-1.2579-1.8444-1.174l-7.8389 1.803c-1.048-5.3251-1.6348-10.692-1.6348-16.143 0-15.556 4.4015-30.86 12.66-43.984 1.1737 0.71281 6.749 4.5284 7.6712 4.5284 0.79646 0 1.5091-0.58702 1.5091-1.3837 0-1.6353-6.1621-4.7381-7.5455-5.7024 11.821-17.275 29.805-29.728 50.219-34.34l1.7606 7.757c0.25152 0.92246 0.92222 1.174 1.7606 1.174 0.83838 0 1.2576-1.174 1.1737-1.8449l-1.7606-7.6732c5.1141-0.92246 10.312-1.5095 15.552-1.5095 15.552 0 30.727 4.4026 43.973 12.663-0.79646 1.174-4.5273 6.6249-4.5273 7.5474 0 0.79667 0.58687 1.5095 1.3833 1.5095 1.6348 0 4.7369-6.0379 5.5753-7.4216 17.187 11.615 29.469 29.351 34.248 49.561l-6.4975 1.3837c-1.048 0.25158-1.1737 0.92246-1.1737 1.8449 0 0.79667 1.1737 1.2579 1.7606 1.174l6.6232-1.5095c1.048 5.3251 1.6348 10.776 1.6348 16.227 0 15.221-4.1919 30.189-12.073 43.062-1.1737-0.58702-6.0364-4.0672-6.9586-4.0672-0.8803 0-1.5929 0.71281-1.5929 1.5095zm-14.876-98.483c-5.2178 4.88-53.863 49.48-55.228 51.8l-38.772 64.2c5.0974-4.76 53.863-49.6 55.108-51.72l38.892-64.28z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");\n }\n .zee-launcher-unsupported-message {\n text-align: center;\n width: 250px;\n font-family: sans-serif;\n color: #ffffff;\n }\n .zee-launcher-unsupported-message-copy {\n border: 1px solid #ffffff;\n border-radius: 5px;\n margin-top: 10px;\n }\n #zee-launcher-unsupported-message-input {\n border: none;\n padding: 10px;\n border-radius: 0px;\n border-right: 1px solid #344B60;\n height: 40px;\n color: #ffffff;\n background-color: black;\n box-sizing: border-box;\n width: calc(100% - 65px);\n margin-left: 5px;\n }\n #zee-launcher-unsupported-message-button {\n background: none;\n border: none;\n outline: none;\n text-transform: uppercase;\n color: #ffffff;\n height: 40px;\n display: inline-block;\n width: 59px;\n }\n .zee-launcher-unsupported-message-before-copy {\n height: 100px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 20px;\n }\n .zee-launcher-unsupported-message-copied .zee-launcher-unsupported-message-before-copy {\n display: none;\n }\n .zee-launcher-unsupported-message-after-copy {\n display: none;\n }\n .zee-launcher-unsupported-message-copied .zee-launcher-unsupported-message-after-copy {\n height: 100px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 20px;\n }\n </style>\n <div class="zee-launcher-browser-logo"></div>\n <div class="zee-launcher-unsupported-message">Open with ${t} to access this content.</div>\n <div class="zee-launcher-unsupported-message-before-copy">\n <div class="zee-launcher-unsupported-message ">Tap below to copy the address for easy pasting into ${t}.</div>\n <div class="zee-launcher-unsupported-message-copy"><input id="zee-launcher-unsupported-message-input" type="text/"><button id="zee-launcher-unsupported-message-button">Copy</button></div>\n </div>\n <div class="zee-launcher-unsupported-message zee-launcher-unsupported-message-after-copy">COPIED! Now paste into ${t}'s address bar to experience the content.</div>\n `;let r=e.querySelector("#zee-launcher-unsupported-message-input")||document.createElement("input");r.value=window.location.href;let i=()=>{if(navigator.userAgent.match(/iPhone|iPod|iPad/i)){let e=document.createRange();e.selectNodeContents(r);let t=window.getSelection();if(!t)return;t.removeAllRanges(),t.addRange(e),r.setSelectionRange(0,999999999)}else r.select();document.execCommand("copy"),r.blur(),e.classList.toggle("zee-launcher-unsupported-message-copied",!0)};return(e.querySelector("#zee-launcher-unsupported-message-button")||document.createElement("button")).addEventListener("click",i),r.addEventListener("click",i),e}()),Object.assign(e.style,{position:"fixed",width:"100%",height:"100%",top:"0px",left:"0px",zIndex:1001,backgroundColor:"rgba(0, 0, 0, 0.9)",fontFamily:"sans-serif",color:"white",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),e.classList.add("zee_launcher_compatibility"),document.body.append(e)}};let Et=1,wt=new Map;class yt extends Ue{constructor(e,t){super(),this._impl=e,this._pipeline=t,this._packetNumber=0,this._motionUpdatesQueued=0,this._motionUpdatesSent=0,this._minFrameGapMs=0,this._lastUpdateTime=0}static create(e){let t=Et++;return wt.set(t,new yt(t,e)),ge("sequence_source_source_t initialized"),t}static get(e){return wt.get(e)}loadFromMemory(e){try{this._decoder=new je(e),this._packetNumber=0,this._lastUpdateTime=0}catch(e){ve("Unable to decode sequence:",e)}}maxPlaybackFpsSet(e){this._minFrameGapMs=e<=0?0:1e3/e}setTime(e){e<0?delete this._time:this._time=e}getFrame(e){var t;let r=ht.get(this._pipeline);if(!r)return;if(!this._decoder)return;if(this._submitMotionUpdates(r),this._motionUpdatesQueued>this._motionUpdatesSent)return;if(e)return;let i=null!==(t=this._time)&&void 0!==t?t:performance.now();if(i<this._lastUpdateTime+this._minFrameGapMs)return;if(this._packetNumber>=this._decoder.numberPackets)return;let a=this._decoder.dataByPacket.get(this._packetNumber);if(a.type!=Ce.CAMERA_FRAME)return;this._packetNumber++;let n=r.cameraPixelArrays.pop();for(;n&&n.byteLength!==a.greyscale.byteLength;)n=r.cameraPixelArrays.pop();n||(n=new ArrayBuffer(a.greyscale.byteLength)),new Uint8Array(n).set(a.greyscale),this._lastUpdateTime=i;let o={data:n,cameraSourceData:a.greyscale,cameraModel:a.cameraModel,cameraToDevice:a.cameraToDevice,dataWidth:a.width,dataHeight:a.height,texture:void 0,userFacing:a.userFacing,uvTransform:R(),cameraSource:this};this._submitMotionUpdates(r);const s=r.registerToken(o);r.sendDataToWorker(o.data||new ArrayBuffer(0),s,o.dataWidth,o.dataHeight,o.userFacing,o.cameraToDevice,o.cameraModel)}destroy(){wt.delete(this._impl),this.pause()}start(){var e;let t=ht.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this)}pause(){let e=ht.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0)}uploadGL(e){let t=ht.get(this._pipeline);if(!t)return;let r=null==t?void 0:t.glContext;r&&(e.texture||(e.texture=t.getVideoTexture()),e.texture&&e.cameraSourceData&&(r.bindTexture(r.TEXTURE_2D,e.texture),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),r.texImage2D(r.TEXTURE_2D,0,r.LUMINANCE,e.dataWidth,e.dataHeight,0,r.LUMINANCE,r.UNSIGNED_BYTE,new Uint8Array(e.cameraSourceData)),r.bindTexture(r.TEXTURE_2D,null)))}_submitMotionUpdates(e){let t=!1;for(;this._packetNumber<this._decoder.numberPackets;){let r=this._decoder.dataByPacket.get(this._packetNumber);if(r.type==Ce.CAMERA_FRAME)break;switch(r.type){case Ce.ACCELEROMETER:e.motionAccelerometerSubmit(r.t,r.x,r.y,r.z),t=!0;break;case Ce.ROTATION_RATE:e.motionRotationRateSubmit(r.t,r.x,r.y,r.z),t=!0;break;case Ce.ATTITUDE:e.motionAttitudeSubmit(r.t,r.x,r.y,r.z),t=!0;break;case Ce.ATTITUDE_MATRIX:e.motionAttitudeMatrix(r.attitude),t=!0;break;case Ce.ACCELEROMETER_WO_GRAVITY_INT:e.motionAccelerometerWithoutGravitySubmitInt(r.t,r.int,r.x,r.y,r.z),t=!0;break;case Ce.ACCELEROMETER_W_GRAVITY_INT:e.motionAccelerometerWithGravitySubmitInt(r.t,r.int,r.x,r.y,r.z),t=!0;break;case Ce.ATTITUDE_INT:e.motionAttitudeSubmitInt(r.t,r.int,r.x,r.y,r.z),t=!0;break;case Ce.ROTATION_RATE_INT:e.motionRotationRateSubmitInt(r.t,r.int,r.x,r.y,r.z),t=!0}this._packetNumber++}t&&(this._motionUpdatesQueued++,setTimeout((()=>{this._motionUpdatesSent++}),0))}}const At='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="80.408" viewBox="0 0 250 80.408"><defs><filter id="a" x="0" y="1.182" width="250" height="79.226" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="b"/><feFlood flood-opacity="0.161"/><feComposite operator="in" in2="b"/><feComposite in="SourceGraphic"/></filter><filter id="c" x="6.929" y="0" width="111.975" height="40.988" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="d"/><feFlood flood-opacity="0.161"/><feComposite operator="in" in2="d"/><feComposite in="SourceGraphic"/></filter></defs><g transform="translate(-26.873 -414.029)"><g transform="translate(44 423.332)"><g transform="translate(0 0.635)" style="isolation:isolate"><g transform="translate(0 0)"><g transform="matrix(1, 0, 0, 1, -17.13, -9.94)" filter="url(#a)"><path d="M55.766,44.97V11.8h8.272v2.6h.089a8.258,8.258,0,0,1,7.046-3.357,11.4,11.4,0,0,1,8.5,3.686,12.667,12.667,0,0,1,3.278,8.622,12.509,12.509,0,0,1-3.25,8.57,11.353,11.353,0,0,1-8.429,3.6,9.533,9.533,0,0,1-7.229-2.95V43.378l-8.269,1.594h0Zm8-21.671a4.958,4.958,0,0,0,5.319,5.15A4.957,4.957,0,0,0,74.4,23.3a5.321,5.321,0,0,0-10.638,0ZM16.105,18.412H2.752V11.038H30.9L14.887,37.16H38.22L0,44.534ZM131.469,38.45a.761.761,0,0,1-.484-.166.582.582,0,0,1-.228-.419l-.553-3.586a12.243,12.243,0,0,1-1.782-.721l-2.789,2.084a.718.718,0,0,1-.5.176.688.688,0,0,1-.495-.214,25.864,25.864,0,0,1-3.264-3.274.754.754,0,0,1,.018-.9c.2-.277.543-.713,1.01-1.3.483-.6.832-1.05,1.068-1.374a9.614,9.614,0,0,1-.811-1.929l-3.62-.527a.631.631,0,0,1-.416-.243.728.728,0,0,1-.159-.458V21.283a.743.743,0,0,1,.159-.448.6.6,0,0,1,.376-.253l3.68-.546a9.511,9.511,0,0,1,.772-1.792c-.523-.733-1.235-1.638-2.117-2.69a.731.731,0,0,1-.2-.467.82.82,0,0,1,.178-.449,19.577,19.577,0,0,1,1.949-2.095c.953-.924,1.582-1.393,1.87-1.393a.861.861,0,0,1,.515.195l2.729,2.084a11.551,11.551,0,0,1,1.8-.741,31.446,31.446,0,0,1,.573-3.623.666.666,0,0,1,.712-.546h4.392a.757.757,0,0,1,.485.166.58.58,0,0,1,.228.419l.553,3.584a12.576,12.576,0,0,1,1.782.722l2.809-2.085a.641.641,0,0,1,.475-.176.776.776,0,0,1,.5.195,27.035,27.035,0,0,1,3.264,3.313.625.625,0,0,1,.139.429.742.742,0,0,1-.159.447c-.2.271-.525.7-1.008,1.3-.467.581-.827,1.043-1.069,1.373a11.8,11.8,0,0,1,.812,1.91l3.62.545a.626.626,0,0,1,.416.244.736.736,0,0,1,.158.457v4.325a.755.755,0,0,1-.158.449.6.6,0,0,1-.4.253l-3.66.545a12.692,12.692,0,0,1-.772,1.774c.465.653,1.177,1.559,2.117,2.688a.751.751,0,0,1,.2.488.648.648,0,0,1-.178.448,19.638,19.638,0,0,1-1.958,2.1c-.947.918-1.573,1.384-1.861,1.384a.976.976,0,0,1-.515-.176l-2.731-2.1a11.361,11.361,0,0,1-1.8.741,31.849,31.849,0,0,1-.573,3.625.668.668,0,0,1-.713.546Zm-1.385-18.491a4.935,4.935,0,0,0,0,7.053,5.12,5.12,0,0,0,7.163,0,4.931,4.931,0,0,0,0-7.053,5.117,5.117,0,0,0-7.163,0Zm69.969,14.868a18.523,18.523,0,0,1-4.932-2.073l1.705-6.1A13.441,13.441,0,0,0,200.779,29a12.14,12.14,0,0,0,4.344.818,4.644,4.644,0,0,0,2.351-.482,1.538,1.538,0,0,0,.806-1.4q0-1.5-3.25-2.242-1.061-.246-1.705-.425a12.335,12.335,0,0,1-5.358-2.589,5.5,5.5,0,0,1-1.671-4.157,6.323,6.323,0,0,1,2.547-5.267,10.993,10.993,0,0,1,6.9-1.972,21.351,21.351,0,0,1,4.552.5,25.439,25.439,0,0,1,4.736,1.557l-1.705,5.491a14.244,14.244,0,0,0-3.319-1.636,10.6,10.6,0,0,0-3.364-.561,4.227,4.227,0,0,0-2.121.426,1.357,1.357,0,0,0-.714,1.232q0,1.211,3.227,2.04.737.2,1.106.291,4.264,1.187,5.935,2.79a5.728,5.728,0,0,1,1.67,4.337A6.781,6.781,0,0,1,213,33.37a11.48,11.48,0,0,1-7.259,2.14A22.577,22.577,0,0,1,200.053,34.827ZM30.568,31.834a12.566,12.566,0,0,1-3.292-8.59,12.567,12.567,0,0,1,3.247-8.568,11.3,11.3,0,0,1,8.423-3.638,9.519,9.519,0,0,1,7.217,3V11.8h8.264V34.735H46.163V32.186h-.09c-1.32,2.071-3.951,3.308-7.038,3.308A11.412,11.412,0,0,1,30.568,31.834Zm5.245-8.545a4.95,4.95,0,0,0,5.312,5.141,4.95,4.95,0,0,0,5.312-5.141A5.023,5.023,0,0,0,41.125,18.1,5.023,5.023,0,0,0,35.813,23.289Zm69.2,11.554-3.527-10.452q-.282-.892-.505-1.8t-.412-1.8a30.821,30.821,0,0,1-.917,3.454l-.047.16L96.1,34.842H90.176l-9.925-23.1h8.632l3.552,10.223q.4,1.12.634,1.955t.377,1.635a23.558,23.558,0,0,1,.917-3.179q.093-.274.141-.411l3.528-10.223h5.056l3.5,10.2.07.183a20.724,20.724,0,0,1,.988,3.43q.141-.732.364-1.532t.647-2.058l3.574-10.223h8.678l-9.971,23.1Zm80.154-.092-8.587-9.841v9.841h-7.888V1.5L176.583,0V22.28l8.272-9.665h9.96L184.584,23.266l11.156,11.485Zm-35.09,0V11.782h8.272v3.761h.091a8.131,8.131,0,0,1,7.546-4.074h1.593V19.3a6.8,6.8,0,0,0-3.5-.761c-4.593,0-5.728,3-5.728,6.941v9.268Z" transform="translate(17.13 15.31)"/></g><g transform="matrix(1, 0, 0, 1, -17.13, -9.94)" filter="url(#c)"><path d="M3.576-12.852v-4.3H6.628a2.867,2.867,0,0,1,1.945.55A2.034,2.034,0,0,1,9.188-15a2.06,2.06,0,0,1-.615,1.608,2.784,2.784,0,0,1-1.945.542ZM2.017-18.464V-6.748H3.576v-4.792H7.153a3.569,3.569,0,0,0,2.683-.9A3.478,3.478,0,0,0,10.747-15a3.45,3.45,0,0,0-.911-2.552,3.638,3.638,0,0,0-2.683-.911Zm11.421,7.483a4.221,4.221,0,0,1,.205-1.37,2.957,2.957,0,0,1,.566-1.009,2.411,2.411,0,0,1,.845-.624A2.515,2.515,0,0,1,16.08-14.2a2.515,2.515,0,0,1,1.026.213,2.411,2.411,0,0,1,.845.624,2.957,2.957,0,0,1,.566,1.009,4.221,4.221,0,0,1,.205,1.37,4.221,4.221,0,0,1-.205,1.37,2.867,2.867,0,0,1-.566,1,2.457,2.457,0,0,1-.845.615,2.515,2.515,0,0,1-1.026.213,2.515,2.515,0,0,1-1.026-.213,2.457,2.457,0,0,1-.845-.615,2.867,2.867,0,0,1-.566-1A4.221,4.221,0,0,1,13.438-10.981Zm-1.477,0a5.573,5.573,0,0,0,.263,1.739,3.97,3.97,0,0,0,.788,1.4,3.623,3.623,0,0,0,1.3.935,4.4,4.4,0,0,0,1.772.336A4.381,4.381,0,0,0,17.86-6.9a3.641,3.641,0,0,0,1.288-.935,3.97,3.97,0,0,0,.788-1.4,5.573,5.573,0,0,0,.263-1.739,5.65,5.65,0,0,0-.263-1.748,3.96,3.96,0,0,0-.788-1.411,3.729,3.729,0,0,0-1.288-.944,4.29,4.29,0,0,0-1.78-.345,4.3,4.3,0,0,0-1.772.345,3.71,3.71,0,0,0-1.3.944,3.96,3.96,0,0,0-.788,1.411A5.65,5.65,0,0,0,11.961-10.981Zm18.28,4.234,2.708-8.484H31.5L29.6-8.29h-.033L27.8-15.231H26.27L24.564-8.29h-.033l-1.92-6.941H21.068l2.724,8.484H25.3l1.707-6.744h.033l1.723,6.744ZM40.169-11.8H35.3a2.905,2.905,0,0,1,.213-.927A2.473,2.473,0,0,1,36-13.492a2.255,2.255,0,0,1,.747-.517,2.429,2.429,0,0,1,.976-.189,2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,40.169-11.8Zm1.346,2.363H40.136a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.105,5.105,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,41.515-9.439Zm1.526-5.793v8.484h1.395v-3.774a5.8,5.8,0,0,1,.164-1.452,2.784,2.784,0,0,1,.525-1.075,2.251,2.251,0,0,1,.952-.673,3.945,3.945,0,0,1,1.428-.23v-1.477a3.135,3.135,0,0,0-1.871.459,3.779,3.779,0,0,0-1.247,1.526h-.033v-1.789ZM54.15-11.8H49.276a2.905,2.905,0,0,1,.213-.927,2.473,2.473,0,0,1,.492-.763,2.255,2.255,0,0,1,.747-.517A2.429,2.429,0,0,1,51.7-14.2a2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,54.15-11.8ZM55.5-9.439H54.117a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.1,5.1,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,55.5-9.439Zm2.593-1.477a5.581,5.581,0,0,1,.131-1.214,3.212,3.212,0,0,1,.427-1.05,2.221,2.221,0,0,1,.788-.738,2.4,2.4,0,0,1,1.2-.279,2.589,2.589,0,0,1,1.231.271,2.389,2.389,0,0,1,.829.714,2.985,2.985,0,0,1,.468,1.026,4.889,4.889,0,0,1,.148,1.206,4.919,4.919,0,0,1-.139,1.165,3.053,3.053,0,0,1-.451,1.026,2.4,2.4,0,0,1-.8.73,2.4,2.4,0,0,1-1.2.279,2.491,2.491,0,0,1-1.173-.263,2.332,2.332,0,0,1-.82-.706,3.122,3.122,0,0,1-.476-1.009A4.338,4.338,0,0,1,58.088-10.916Zm6.564,4.168V-18.464H63.257V-14.1h-.033a2.247,2.247,0,0,0-.566-.632,3.216,3.216,0,0,0-.714-.41,3.583,3.583,0,0,0-.755-.222,4.132,4.132,0,0,0-.706-.066,3.861,3.861,0,0,0-1.7.353,3.487,3.487,0,0,0-1.214.952,4.018,4.018,0,0,0-.722,1.4,5.985,5.985,0,0,0-.238,1.707,5.8,5.8,0,0,0,.246,1.707,4.218,4.218,0,0,0,.73,1.411,3.529,3.529,0,0,0,1.214.968,3.827,3.827,0,0,0,1.715.361,4.135,4.135,0,0,0,1.625-.312A2.053,2.053,0,0,0,63.224-7.9h.033v1.149Zm6.761-11.716V-6.748h1.395V-7.88h.033a2.247,2.247,0,0,0,.566.632,2.982,2.982,0,0,0,.714.4,3.874,3.874,0,0,0,.763.213,4.193,4.193,0,0,0,.7.066,3.94,3.94,0,0,0,1.7-.345,3.4,3.4,0,0,0,1.214-.944,4.018,4.018,0,0,0,.722-1.4,5.985,5.985,0,0,0,.238-1.707,5.8,5.8,0,0,0-.246-1.707,4.312,4.312,0,0,0-.73-1.419,3.488,3.488,0,0,0-1.214-.976,3.827,3.827,0,0,0-1.715-.361,4.043,4.043,0,0,0-1.625.32,2.088,2.088,0,0,0-1.083,1.026h-.033v-4.381Zm6.564,7.4a5.581,5.581,0,0,1-.131,1.214,3.212,3.212,0,0,1-.427,1.05,2.243,2.243,0,0,1-.779.738,2.385,2.385,0,0,1-1.206.279A2.589,2.589,0,0,1,74.2-8.052a2.389,2.389,0,0,1-.829-.714,2.985,2.985,0,0,1-.468-1.026A4.889,4.889,0,0,1,72.758-11a4.919,4.919,0,0,1,.139-1.165,3.053,3.053,0,0,1,.451-1.026,2.4,2.4,0,0,1,.8-.73,2.4,2.4,0,0,1,1.2-.279,2.491,2.491,0,0,1,1.173.263,2.332,2.332,0,0,1,.82.706,3.122,3.122,0,0,1,.476,1.009A4.338,4.338,0,0,1,77.976-11.063Zm6.449,5.448a8.871,8.871,0,0,1-.484,1.05,2.871,2.871,0,0,1-.525.7,1.782,1.782,0,0,1-.64.394,2.462,2.462,0,0,1-.812.123,3.721,3.721,0,0,1-.492-.033A2.324,2.324,0,0,1,81-3.5v-1.28a2.342,2.342,0,0,0,.418.139,1.765,1.765,0,0,0,.4.057,1.2,1.2,0,0,0,.714-.205,1.255,1.255,0,0,0,.435-.583L83.539-6.8l-3.364-8.434h1.575L84.228-8.29h.033l2.379-6.941h1.477Z" transform="translate(17.85 28.4)"/></g></g></g><g transform="translate(0 0)"><g transform="translate(0 5.371)"><path d="M11.76,24.456A11.41,11.41,0,0,1,3.292,20.8,12.564,12.564,0,0,1,0,12.206,12.569,12.569,0,0,1,3.246,3.638,11.307,11.307,0,0,1,11.67,0a9.519,9.519,0,0,1,7.217,3V.759h8.264V23.7H18.887V21.148H18.8C17.478,23.219,14.846,24.456,11.76,24.456ZM13.849,7.064A5.023,5.023,0,0,0,8.537,12.25a4.95,4.95,0,0,0,5.312,5.141A4.95,4.95,0,0,0,19.16,12.25,5.023,5.023,0,0,0,13.849,7.064Z" transform="translate(27.277 11.038)" fill="#fff"/><path d="M0,33.931V.758H8.271v2.6H8.36A8.258,8.258,0,0,1,15.406,0,11.4,11.4,0,0,1,23.9,3.686a12.665,12.665,0,0,1,3.278,8.622,12.508,12.508,0,0,1-3.25,8.57,11.351,11.351,0,0,1-8.429,3.6,9.535,9.535,0,0,1-7.229-2.95V32.337L0,33.931ZM13.317,7.07A5.028,5.028,0,0,0,8,12.259a4.957,4.957,0,0,0,5.319,5.15,4.957,4.957,0,0,0,5.319-5.15A5.028,5.028,0,0,0,13.317,7.07Z" transform="translate(55.766 11.041)" fill="#fff"/><path d="M22.836,0l3.5,10.2.07.183a20.748,20.748,0,0,1,.988,3.43q.141-.731.364-1.532t.647-2.058L31.985,0h8.678L30.691,23.1H24.764L21.237,12.647q-.282-.891-.505-1.8t-.412-1.8A30.927,30.927,0,0,1,19.4,12.51l-.047.16L15.851,23.1H9.925L0,0H8.631l3.552,10.223q.4,1.121.635,1.955t.377,1.635a23.522,23.522,0,0,1,.917-3.179q.093-.274.141-.411L17.78,0h5.056" transform="translate(80.251 11.743)" fill="#fff"/><path d="M0,34.75V1.5L7.888,0V22.28l8.272-9.665H26.12L15.889,23.266,27.045,34.75H16.475L7.888,24.91v9.84H0" transform="translate(168.695 0)" fill="#fff"/><path d="M0,21.47l1.705-6.1a13.453,13.453,0,0,0,3.952,2.342A12.145,12.145,0,0,0,10,18.534a4.643,4.643,0,0,0,2.351-.482,1.539,1.539,0,0,0,.807-1.4q0-1.5-3.25-2.241-1.06-.246-1.705-.426A12.325,12.325,0,0,1,2.846,11.4,5.5,5.5,0,0,1,1.176,7.239,6.324,6.324,0,0,1,3.722,1.972,11,11,0,0,1,10.624,0a21.365,21.365,0,0,1,4.551.5,25.45,25.45,0,0,1,4.736,1.558l-1.706,5.49a14.24,14.24,0,0,0-3.319-1.636,10.6,10.6,0,0,0-3.364-.56A4.22,4.22,0,0,0,9.4,5.782a1.356,1.356,0,0,0-.714,1.233q0,1.211,3.227,2.04.737.2,1.106.291,4.264,1.188,5.935,2.79a5.728,5.728,0,0,1,1.671,4.337,6.782,6.782,0,0,1-2.743,5.614,11.478,11.478,0,0,1-7.259,2.14,22.565,22.565,0,0,1-5.693-.683A18.517,18.517,0,0,1,0,21.47" transform="translate(195.121 11.284)" fill="#fff"/><path d="M8.273,4.075h.091A8.13,8.13,0,0,1,15.909,0H17.5V7.834A6.8,6.8,0,0,0,14,7.074c-4.593,0-5.728,3-5.728,6.941v9.268H0V.313H8.273V4.075" transform="translate(150.08 11.469)" fill="#fff"/><path d="M17.392,29.929H13a.76.76,0,0,1-.485-.166.579.579,0,0,1-.227-.419l-.553-3.586a12.3,12.3,0,0,1-1.781-.721L7.163,27.123a.719.719,0,0,1-.495.176.687.687,0,0,1-.495-.214A25.873,25.873,0,0,1,2.91,23.81a.753.753,0,0,1,.019-.9c.2-.277.542-.713,1.009-1.3.483-.6.832-1.05,1.068-1.374a9.591,9.591,0,0,1-.811-1.929l-3.62-.526a.63.63,0,0,1-.416-.243A.729.729,0,0,1,0,17.089V12.762a.746.746,0,0,1,.159-.448.6.6,0,0,1,.376-.253l3.68-.546a9.5,9.5,0,0,1,.772-1.792C4.464,8.991,3.752,8.085,2.87,7.034a.732.732,0,0,1-.2-.468.82.82,0,0,1,.179-.449A19.622,19.622,0,0,1,4.8,4.023C5.751,3.1,6.38,2.631,6.668,2.631a.859.859,0,0,1,.515.194L9.913,4.91a11.536,11.536,0,0,1,1.8-.741A31.372,31.372,0,0,1,12.287.546.665.665,0,0,1,13,0h4.392a.755.755,0,0,1,.485.166.581.581,0,0,1,.229.419l.553,3.584a12.543,12.543,0,0,1,1.781.722L23.25,2.807a.641.641,0,0,1,.475-.176.775.775,0,0,1,.495.194,27.092,27.092,0,0,1,3.264,3.313.625.625,0,0,1,.139.429.745.745,0,0,1-.159.448c-.2.271-.525.695-1.008,1.3-.467.581-.827,1.043-1.069,1.373a11.784,11.784,0,0,1,.812,1.91l3.62.545a.625.625,0,0,1,.416.244.736.736,0,0,1,.157.458v4.325a.754.754,0,0,1-.157.449.606.606,0,0,1-.4.253l-3.66.545a12.628,12.628,0,0,1-.772,1.774c.465.654,1.177,1.559,2.117,2.688a.752.752,0,0,1,.2.488.648.648,0,0,1-.177.448,19.641,19.641,0,0,1-1.959,2.1c-.947.918-1.573,1.384-1.86,1.384a.978.978,0,0,1-.515-.176l-2.731-2.1a11.429,11.429,0,0,1-1.8.741,32.016,32.016,0,0,1-.573,3.624A.668.668,0,0,1,17.392,29.929ZM15.2,9.976a4.938,4.938,0,0,0-3.582,1.463,4.935,4.935,0,0,0,0,7.053,5.12,5.12,0,0,0,7.163,0,4.932,4.932,0,0,0,0-7.053A4.938,4.938,0,0,0,15.2,9.976Z" transform="translate(118.47 8.521)" fill="#fff"/><path d="M0,33.5,16.106,7.374H2.752V0H30.9L14.887,26.122H38.22L0,33.5" transform="translate(0 11.038)" fill="#fff"/></g><path d="M3.576-12.852v-4.3H6.628a2.867,2.867,0,0,1,1.945.55A2.034,2.034,0,0,1,9.188-15a2.06,2.06,0,0,1-.615,1.608,2.784,2.784,0,0,1-1.945.542ZM2.017-18.464V-6.748H3.576v-4.792H7.153a3.569,3.569,0,0,0,2.683-.9A3.478,3.478,0,0,0,10.747-15a3.45,3.45,0,0,0-.911-2.552,3.638,3.638,0,0,0-2.683-.911Zm11.421,7.483a4.221,4.221,0,0,1,.205-1.37,2.957,2.957,0,0,1,.566-1.009,2.411,2.411,0,0,1,.845-.624A2.515,2.515,0,0,1,16.08-14.2a2.515,2.515,0,0,1,1.026.213,2.411,2.411,0,0,1,.845.624,2.957,2.957,0,0,1,.566,1.009,4.221,4.221,0,0,1,.205,1.37,4.221,4.221,0,0,1-.205,1.37,2.867,2.867,0,0,1-.566,1,2.457,2.457,0,0,1-.845.615,2.515,2.515,0,0,1-1.026.213,2.515,2.515,0,0,1-1.026-.213,2.457,2.457,0,0,1-.845-.615,2.867,2.867,0,0,1-.566-1A4.221,4.221,0,0,1,13.438-10.981Zm-1.477,0a5.573,5.573,0,0,0,.263,1.739,3.97,3.97,0,0,0,.788,1.4,3.623,3.623,0,0,0,1.3.935,4.4,4.4,0,0,0,1.772.336A4.381,4.381,0,0,0,17.86-6.9a3.641,3.641,0,0,0,1.288-.935,3.97,3.97,0,0,0,.788-1.4,5.573,5.573,0,0,0,.263-1.739,5.65,5.65,0,0,0-.263-1.748,3.96,3.96,0,0,0-.788-1.411,3.729,3.729,0,0,0-1.288-.944,4.29,4.29,0,0,0-1.78-.345,4.3,4.3,0,0,0-1.772.345,3.71,3.71,0,0,0-1.3.944,3.96,3.96,0,0,0-.788,1.411A5.65,5.65,0,0,0,11.961-10.981Zm18.28,4.234,2.708-8.484H31.5L29.6-8.29h-.033L27.8-15.231H26.27L24.564-8.29h-.033l-1.92-6.941H21.068l2.724,8.484H25.3l1.707-6.744h.033l1.723,6.744ZM40.169-11.8H35.3a2.905,2.905,0,0,1,.213-.927A2.473,2.473,0,0,1,36-13.492a2.255,2.255,0,0,1,.747-.517,2.429,2.429,0,0,1,.976-.189,2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,40.169-11.8Zm1.346,2.363H40.136a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.105,5.105,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,41.515-9.439Zm1.526-5.793v8.484h1.395v-3.774a5.8,5.8,0,0,1,.164-1.452,2.784,2.784,0,0,1,.525-1.075,2.251,2.251,0,0,1,.952-.673,3.945,3.945,0,0,1,1.428-.23v-1.477a3.135,3.135,0,0,0-1.871.459,3.779,3.779,0,0,0-1.247,1.526h-.033v-1.789ZM54.15-11.8H49.276a2.905,2.905,0,0,1,.213-.927,2.473,2.473,0,0,1,.492-.763,2.255,2.255,0,0,1,.747-.517A2.429,2.429,0,0,1,51.7-14.2a2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,54.15-11.8ZM55.5-9.439H54.117a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.1,5.1,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,55.5-9.439Zm2.593-1.477a5.581,5.581,0,0,1,.131-1.214,3.212,3.212,0,0,1,.427-1.05,2.221,2.221,0,0,1,.788-.738,2.4,2.4,0,0,1,1.2-.279,2.589,2.589,0,0,1,1.231.271,2.389,2.389,0,0,1,.829.714,2.985,2.985,0,0,1,.468,1.026,4.889,4.889,0,0,1,.148,1.206,4.919,4.919,0,0,1-.139,1.165,3.053,3.053,0,0,1-.451,1.026,2.4,2.4,0,0,1-.8.73,2.4,2.4,0,0,1-1.2.279,2.491,2.491,0,0,1-1.173-.263,2.332,2.332,0,0,1-.82-.706,3.122,3.122,0,0,1-.476-1.009A4.338,4.338,0,0,1,58.088-10.916Zm6.564,4.168V-18.464H63.257V-14.1h-.033a2.247,2.247,0,0,0-.566-.632,3.216,3.216,0,0,0-.714-.41,3.583,3.583,0,0,0-.755-.222,4.132,4.132,0,0,0-.706-.066,3.861,3.861,0,0,0-1.7.353,3.487,3.487,0,0,0-1.214.952,4.018,4.018,0,0,0-.722,1.4,5.985,5.985,0,0,0-.238,1.707,5.8,5.8,0,0,0,.246,1.707,4.218,4.218,0,0,0,.73,1.411,3.529,3.529,0,0,0,1.214.968,3.827,3.827,0,0,0,1.715.361,4.135,4.135,0,0,0,1.625-.312A2.053,2.053,0,0,0,63.224-7.9h.033v1.149Zm6.761-11.716V-6.748h1.395V-7.88h.033a2.247,2.247,0,0,0,.566.632,2.982,2.982,0,0,0,.714.4,3.874,3.874,0,0,0,.763.213,4.193,4.193,0,0,0,.7.066,3.94,3.94,0,0,0,1.7-.345,3.4,3.4,0,0,0,1.214-.944,4.018,4.018,0,0,0,.722-1.4,5.985,5.985,0,0,0,.238-1.707,5.8,5.8,0,0,0-.246-1.707,4.312,4.312,0,0,0-.73-1.419,3.488,3.488,0,0,0-1.214-.976,3.827,3.827,0,0,0-1.715-.361,4.043,4.043,0,0,0-1.625.32,2.088,2.088,0,0,0-1.083,1.026h-.033v-4.381Zm6.564,7.4a5.581,5.581,0,0,1-.131,1.214,3.212,3.212,0,0,1-.427,1.05,2.243,2.243,0,0,1-.779.738,2.385,2.385,0,0,1-1.206.279A2.589,2.589,0,0,1,74.2-8.052a2.389,2.389,0,0,1-.829-.714,2.985,2.985,0,0,1-.468-1.026A4.889,4.889,0,0,1,72.758-11a4.919,4.919,0,0,1,.139-1.165,3.053,3.053,0,0,1,.451-1.026,2.4,2.4,0,0,1,.8-.73,2.4,2.4,0,0,1,1.2-.279,2.491,2.491,0,0,1,1.173.263,2.332,2.332,0,0,1,.82.706,3.122,3.122,0,0,1,.476,1.009A4.338,4.338,0,0,1,77.976-11.063Zm6.449,5.448a8.871,8.871,0,0,1-.484,1.05,2.871,2.871,0,0,1-.525.7,1.782,1.782,0,0,1-.64.394,2.462,2.462,0,0,1-.812.123,3.721,3.721,0,0,1-.492-.033A2.324,2.324,0,0,1,81-3.5v-1.28a2.342,2.342,0,0,0,.418.139,1.765,1.765,0,0,0,.4.057,1.2,1.2,0,0,0,.714-.205,1.255,1.255,0,0,0,.435-.583L83.539-6.8l-3.364-8.434h1.575L84.228-8.29h.033l2.379-6.941h1.477Z" transform="translate(0.722 18.464)" fill="#fff"/></g></g></g></svg>';function Tt(){var e=new T(2);return T!=Float32Array&&(e[0]=0,e[1]=0),e}function Rt(e,t){return e[0]=t[0],e[1]=t[1],e}function xt(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function kt(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function St(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function Nt(e){var t=e[0],r=e[1];return Math.hypot(t,r)}function It(){return{indices:new Uint16Array(0),vertices:new Float32Array(0),normals:new Float32Array(0),uvs:new Float32Array(0)}}function Lt(e){const t=2*e.trainedWidth/(e.trainedHeight*e.topRadius);return Ft(e,2,!1,0,0,0,Tt(),e.trainedWidth/e.trainedHeight,t,e.physicalScaleFactor)}function Ft(e,t,r,i,a,n,o,_,c,l){isNaN(_)&&(_=1);const d=[],h=[],u=l>0?l:1,f=2*u/t,p=64;for(let t=0;t<=p;++t){const i=t*c/p+(2*Math.PI-c)/2,a=e.bottomRadius*Math.sin(i)*f,n=e.bottomRadius*Math.cos(i)*f,o=e.topRadius*Math.sin(i)*f,s=e.topRadius*Math.cos(i)*f,_=-1*u,l=u;r?(d.push(a,_,n),d.push(o,l,s)):(d.push(o,l,-s),d.push(a,_,-n))}for(let t=0;t<=p;++t)if(e.type==s.IMAGE_TRACKER_TYPE_CYLINDRICAL){const e=1-t/p;h.push(e,1),h.push(e,0)}else{let e=2*-(t/p-.5)*i;r&&(e=-e+i,e>i&&(e=e-i-i));const s=Tt();s[0]=Math.sin(e),s[1]=Math.cos(e),r&&(s[1]*=-1);const c=Tt();Rt(c,s),St(c,c,a),xt(c,o,c);const l=Tt();Rt(l,s),St(l,l,n),xt(l,o,l),h.push((l[0]+_)/(2*_),1-(1-l[1])/2),h.push((c[0]+_)/(2*_),1-(1-c[1])/2)}const m=[];for(let e=0;e<p;++e){const t=2*e;m.push(t+1,t+2,t+3),m.push(t+0,t+2,t+1)}return{vertices:new Float32Array(d),indices:new Uint16Array(m),normals:new Float32Array(0),uvs:new Float32Array(h)}}Tt();const Mt=new TextDecoder;class zt{constructor(e,t=!1){this._data=e,this._paddingBytes=t,this.truncatedChunks=!1,this._view=new DataView(this._data),this.root=this._parse()}_parse(){if("RIFF"!==Mt.decode(this._data.slice(0,4)))throw new Error("Not a valid ZPT file");return this._parseChunk(0)}_parseChunk(e){const t=Mt.decode(this._data.slice(e,e+4)),r=this._view.getUint32(e+4,!0),i=new Uint8Array(this._data,e+8,r);let a,n;if(i.byteLength!==r&&(this.truncatedChunks=!0),"RIFF"===t||"LIST"===t){n=Mt.decode(this._data.slice(e+8,e+12)),a=[];let t=4;for(;t<i.byteLength-1;){const r=this._parseChunk(e+8+t);a.push(r),t+=r.data.byteLength+8,this._paddingBytes&&1&r.data.byteLength&&t++}}return{ident:t,data:i,subident:n,subchunks:a}}find(e,t=this.root){if(t.ident===e)return t;if(t.subchunks)for(let r of t.subchunks){const t=this.find(e,r);if(t)return t}}has(e){return void 0!==this.find(e)}}let Pt=new Map;const Ct=new TextDecoder;class Dt{constructor(e,t){this._client=e,this._impl=t,this._targets=[]}static create(e,t){let r=t.image_tracker_create(e);return Pt.set(r,new Dt(t,r)),r}static get(e){return Pt.get(e)}destroy(){this._client.image_tracker_destroy(this._impl),Pt.delete(this._impl)}loadFromMemory(e){this._targets.push({data:e}),this._client.image_tracker_target_load_from_memory(this._impl,e)}targetCount(){return this._targets.length}getTargetInfo(e){let t=this._targets[e];if(t&&t.info)return t.info;t.info={topRadius:-1,bottomRadius:-1,sideLength:-1,physicalScaleFactor:-1,trainedWidth:0,trainedHeight:0,type:s.IMAGE_TRACKER_TYPE_PLANAR};try{const e=new zt(t.data,!1),r=e.find("IMG ");if(r){let i="image/png";const a=e.find("IMGM");a&&(i=Ct.decode(a.data)),t.info.preview={mimeType:i,compressed:r.data}}const i=e.find("ODLE");if(i){const e=Ct.decode(i.data);this._parseOdle(e,t.info)}}catch(e){}return t.info}_parseOdle(e,t){let r=0,i="0";return[i,r]=jt(r,e),"1"===i?this._parseOdleV1(e,r,t):"3"===i?this._parseOdleV3(e,r,t):void 0}_parseOdleV1(e,t,r){let i="0";if([i,t]=jt(t,e),"0"!==i&&"1"!==i)return;let a="";if([a,t]=jt(t,e),0!==a.length)return;let n="";[n,t]=jt(t,e);const o=n.split(" ");o.length<5||(r.trainedWidth=parseInt(o[3].replace("[","")),r.trainedHeight=parseInt(o[4].replace("]","")))}_parseOdleV3(e,t,r){let i="0";if([i,t]=jt(t,e),"0"!==i&&"1"!==i)return;let a="0";[a,t]=jt(t,e);const n=parseInt(a);if(isNaN(n)||n<1)return;let o="";if([o,t]=jt(t,e),0!==o.length)return;let s="";[s,t]=jt(t,e);const _=s.split(" ");if(_.length<6)return;const c=parseInt(_[0]);0!==c&&1!==c&&2!==c||(r.type=c),r.trainedWidth=parseInt(_[4].replace("[","")),r.trainedHeight=parseInt(_[5].replace("]","")),_.length>=7&&(r.physicalScaleFactor=parseFloat(_[6]),isNaN(r.physicalScaleFactor)&&(r.physicalScaleFactor=-1)),_.length>=8&&(r.topRadius=parseFloat(_[7]),isNaN(r.topRadius)&&(r.topRadius=-1),r.bottomRadius=r.topRadius),_.length>=9&&(r.bottomRadius=parseFloat(_[8]),isNaN(r.bottomRadius)&&(r.bottomRadius=-1)),_.length>=10&&(r.sideLength=parseFloat(_[9]),isNaN(r.sideLength)&&(r.sideLength=-1))}getDecodedPreview(e){const t=this.getTargetInfo(e);if(t.preview){if(!t.preview.image){const e=new Blob([t.preview.compressed],{type:t.preview.mimeType});t.preview.image=new Image,t.preview.image.src=URL.createObjectURL(e)}return t.preview.image}}getPreviewMesh(e){const t=this.getTargetInfo(e);return t.previewMesh||(t.previewMesh=function(e){switch(e.type){case s.IMAGE_TRACKER_TYPE_PLANAR:return function(e){const t=e.trainedWidth/e.trainedHeight;if(isNaN(t))return It();const r=e.physicalScaleFactor>0?e.physicalScaleFactor:1;return{vertices:new Float32Array([-1*t*r,-1*r,0,-1*t*r,r,0,t*r,r,0,t*r,-1*r,0]),indices:new Uint16Array([0,2,1,0,3,2]),uvs:new Float32Array([0,0,0,1,1,1,1,0]),normals:new Float32Array([0,0,1,0,0,1,0,0,1,0,0,1])}}(e);case s.IMAGE_TRACKER_TYPE_CYLINDRICAL:return Lt(e);case s.IMAGE_TRACKER_TYPE_CONICAL:return function(e){const t=e.topRadius-e.bottomRadius;if(0===t)return console.warn("Conical target has matching radii, using cylindrical preview mesh with a defined image size instead."),Lt(e);const r=Math.sqrt(e.sideLength*e.sideLength-t*t),i=e.bottomRadius>e.topRadius;let a=e.trainedWidth/e.trainedHeight;isNaN(a)&&(a=1);const n=!(e.bottomRadius>0&&e.topRadius>0),o=e.sideLength<2*Math.abs(e.topRadius-e.bottomRadius),s=Tt(),_=Tt(),c=Tt();if(n)if(o)if(i){c[1]=a-1;const e=Math.acos((2-a)/a);s[0]=a*Math.sin(e),s[1]=a-1+a*Math.cos(e),Rt(_,c)}else{c[1]=1-a;const e=Math.PI+Math.acos((2-a)/a);s[0]=a*Math.sin(e),s[1]=1-a+a*Math.cos(e),Rt(_,c)}else i?(c[1]=1,Rt(_,c),s[0]=a,s[1]=1-Math.sqrt(4-Math.pow(a,2))):(c[1]=-1,Rt(_,c),s[0]=-a,s[1]=Math.sqrt(4-Math.pow(a,2))-1);else if(o)if(i){c[1]=a-1;const t=Math.acos((2-a)/a);s[0]=a*Math.sin(t),s[1]=a-1+a*Math.cos(t),_[0]=(a-e.sideLength)*Math.sin(t),_[1]=a-1+(a-e.sideLength)*Math.cos(t)}else{c[1]=1-a;const t=Math.PI+Math.acos((2-a)/a);s[0]=a*Math.sin(t),s[1]=1-a+a*Math.cos(t),_[0]=(a-e.sideLength)*Math.sin(t),_[1]=1-a+(a-e.sideLength)*Math.cos(t)}else{const t=i?e.topRadius/e.bottomRadius:e.bottomRadius/e.topRadius;i?(_[0]=t*a,_[1]=1,s[0]=a,s[1]=1-Math.sqrt(e.sideLength*e.sideLength-(_[0]-s[0])*(_[0]-s[0])),c[1]=s[1]+s[0]/(s[0]-_[0])*(_[1]-s[1])):(_[0]=-t*a,_[1]=-1,s[0]=-a,s[1]=Math.sqrt(e.sideLength*e.sideLength-(_[0]-s[0])*(_[0]-s[0]))-1,c[1]=s[1]- -s[0]/(_[0]-s[0])*(s[1]-_[1]))}const l=Tt();kt(l,s,c);const d=Tt();kt(d,_,c);const h=Nt(l),u=Nt(d);let f=2*Math.abs(Math.atan(l[0]/l[1]));o&&(f=2*Math.PI-f);let p=h*f/e.topRadius,m=Math.abs(Math.atan(l[0]/l[1]));return o&&(m=Math.PI-m),Ft(e,r,i,m,u,h,c,a,p,e.physicalScaleFactor)}(e)}return It()}(t)),t.previewMesh}}function jt(e,t){let r=t.indexOf("\n",e);return[t.substring(e,r>=0?r:void 0).replace("\r",""),r+1]}let Ut,Bt,Ot;let Vt="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 projMatrix;\nuniform mat4 cameraMatrix;\nuniform mat4 modelViewMatrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = projMatrix * cameraMatrix * modelViewMatrix * position;\n vTextureCoord = textureCoord;\n}",Gt="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n vec2 pixels = 100.0 * vTextureCoord + 0.5;\n if ((int(mod(pixels.x, 10.0)) == 0) || (int(mod(pixels.y, 10.0)) == 0)) {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n } else {\n discard;\n }\n}";var Kt=function(e,t,r,i){return new(r||(r=Promise))((function(a,n){function o(e){try{_(i.next(e))}catch(e){n(e)}}function s(e){try{_(i.throw(e))}catch(e){n(e)}}function _(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}_((i=i.apply(e,t||[])).next())}))};let Wt;function Zt(e){if(Wt)return Wt;let t=!1;(function(e){return Z(this,void 0,void 0,(function*(){var t;function i(){let t=H.getOutgoingMessages();for(let r of t)e.postMessage(r.msg,r.transferables)}e||(e=new Worker(new URL(r.p+r.u(751),r.b),{type:void 0})),e.postMessage({t:"wasm",url:new URL(r(751),r.b).toString(),module:yield Y,shouldRecordData:window.location.href.indexOf("_zrecorddata")>=0}),yield(t=e,new Promise((e=>{let r=i=>{"loaded"===i.data&&(t.removeEventListener("message",r),e())};t.addEventListener("message",r)}))),H.onOutgoingMessage.bind(i),i(),e.addEventListener("message",(e=>{H.postIncomingMessage(e.data)}))}))})(null==e?void 0:e.worker).then((()=>{ge("Fully loaded"),t=!0}));let i=new h((e=>{H.postOutgoingMessage({t:"zappar",d:e},[e])}));const a=function(){let e=window.localStorage.getItem("z_uar_lid");if(null===e){const t=new Uint8Array(8);window.crypto.getRandomValues(t),e="";for(let r=0;r<t.byteLength;r++){const i=t[r].toString(16);1===i.length?e+="0"+i:2===i.length&&(e+=i)}}return e}();let n=!1;if(window.location.hostname.toLowerCase().indexOf(".zappar.io")>0||window.location.hostname.toLowerCase().indexOf(".webar.run")>0||window.location.hostname.toLowerCase().indexOf(".arweb.app")>0){let e=window.location.pathname.split("/");e.length>1&&e[1].length>0&&i.impl.analytics_project_id_set(".wiz"+e[1],a)}return H.onIncomingMessage.bind((e=>{var t,a,n,o,s,_,c,l;switch(e.t){case"zappar":null===(t=ht.get(e.p))||void 0===t||t.pendingMessages.push(e.d);break;case"buf":i.serializer.bufferReturn(e.d);break;case"cameraFrameRecycleS2C":{let t=e;null===(n=null===(a=ht.get(t.p))||void 0===a?void 0:a.cameraTokenReturn)||void 0===n||n.call(a,e);break}case"videoFrameS2C":{let t=e;null===(s=null===(o=ht.get(t.p))||void 0===o?void 0:o.videoFrameFromWorker)||void 0===s||s.call(o,t);break}case"imageBitmapS2C":{let t=e;null===(c=null===(_=ht.get(t.p))||void 0===_?void 0:_.imageBitmapFromWorker)||void 0===c||c.call(_,t);break}case"raw":{let t=e;null===(l=ht.get(t.p))||void 0===l||l.cameraFrameDataRawResult(t);break}case"streamEndedS2C":{const t=at(e.source);t instanceof et&&t.streamEnded();break}case"setupCeresWorker":!function(e,t){Z(this,void 0,void 0,(function*(){t||(t=new Worker(new URL(r.p+r.u(25),r.b),{type:void 0})),t.postMessage({t:"wasm",url:new URL(r(751),r.b).toString(),module:yield Y,port:e},[e])}))}(e.port);break;case"_z_datadownload":{let t=new Blob([e.data],{type:"application/octet-stream"}),r=URL.createObjectURL(t),i=document.createElement("a");i.download="sequencedata.bin",i.href=r,i.click();break}case"licerr":{let e=document.createElement("div");e.innerHTML="Visit <a href='https://docs.zap.works/universal-ar/licensing/' style='color: white;'>our licensing page</a> to find out about hosting on your own domain.",e.style.position="absolute",e.style.bottom="20px",e.style.width="80%",e.style.backgroundColor="black",e.style.color="white",e.style.borderRadius="10px",e.style.padding="10px",e.style.fontFamily="sans-serif",e.style.textAlign="center",e.style.left="10%",e.style.zIndex=Number.MAX_SAFE_INTEGER.toString();let t=document.createElement("span");t.innerText=" (30)",e.append(t);let r=30;setInterval((function(){r--,r>=0&&(t.innerText=" ("+r.toString()+")")}),1e3),document.body.append(e)}case"gfx":{let e=document.createElement("div");e.innerHTML=At,e.style.position="absolute",e.style.bottom="20px",e.style.width="250px",e.style.left="50%",e.style.marginLeft="-125px",e.style.zIndex=Number.MAX_SAFE_INTEGER.toString(),e.style.opacity="0",e.style.transition="opacity 0.5s",document.body.append(e),setTimeout((function(){e.style.opacity="1"}),500),setTimeout((function(){e.style.opacity="0"}),3e3),setTimeout((function(){e.remove()}),4e3)}}})),Wt=Object.assign(Object.assign({},i.impl),{loaded:()=>t,camera_default_device_id:e=>e?qe.USER_DEFAULT_DEVICE_ID:qe.DEFAULT_DEVICE_ID,camera_source_create:(e,t)=>function(e,t){let r=tt++;return D.preferMediaStreamTrackProcessorCamera&&"MediaStreamTrackProcessor"in window&&"MediaStreamTrackGenerator"in window?it(r,new et(r,e,t)):D.preferImageBitmapCamera&&"undefined"!=typeof OffscreenCanvas?it(r,new Je(r,e,t)):it(r,new qe(r,e,t)),ge("camera_source_t initialized"),r}(e,t),camera_source_destroy:e=>{var t;return null===(t=at(e))||void 0===t?void 0:t.destroy()},camera_source_pause:e=>{var t;return null===(t=at(e))||void 0===t?void 0:t.pause()},camera_source_start:e=>{var t;return null===(t=at(e))||void 0===t?void 0:t.start()},camera_source_profile_set:(e,t)=>{var r;return null===(r=at(e))||void 0===r?void 0:r.setProfile(t)},camera_count:()=>2,camera_id:e=>0===e?qe.DEFAULT_DEVICE_ID:qe.USER_DEFAULT_DEVICE_ID,camera_name:e=>0===e?"Rear-facing Camera":"User-facing Camera",camera_user_facing:e=>0!==e,pose_from_raw:(e,t)=>{let r=ut(void 0,e);if(t){let e=R();N(e,[-1,1,1]),k(r,e,r),k(r,r,e)}return r},pipeline_create:()=>ht.create(i.impl,H),pipeline_frame_update:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.frameUpdate(i)},pipeline_camera_frame_draw_gl:(e,t,r,i)=>{var a;null===(a=ht.get(e))||void 0===a||a.cameraFrameDrawGL(t,r,i)},pipeline_camera_frame_data_width:e=>{var t,r;const i=null===(t=ht.get(e))||void 0===t?void 0:t.getCurrentCameraInfo();return null!==(r=null==i?void 0:i.dataWidth)&&void 0!==r?r:0},pipeline_camera_frame_data_height:e=>{var t,r;const i=null===(t=ht.get(e))||void 0===t?void 0:t.getCurrentCameraInfo();return null!==(r=null==i?void 0:i.dataHeight)&&void 0!==r?r:0},draw_plane:(e,t,r,i,a)=>{!function(e,t,r,i,a){let n=y(e),o=function(e){if(m)return m;if(m=e.createBuffer(),!m)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,m),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-.5,.125,0,-.5,-.125,0,.5,.125,0,.5,-.125,0]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),m}(e),s=v(e);e.disable(e.DEPTH_TEST),e.useProgram(n.prog),e.uniformMatrix4fv(n.unif_proj,!1,t),e.uniformMatrix4fv(n.unif_camera,!1,r),e.uniformMatrix4fv(n.unif_matrix,!1,i),e.bindBuffer(e.ARRAY_BUFFER,o),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,function(e,t){if(g[t])return g[t];let r=e.createTexture();if(!r)throw new Error("Unable to create texture");g[t]=r,e.bindTexture(e.TEXTURE_2D,r);const i=e.RGBA,a=e.RGBA,n=e.UNSIGNED_BYTE,o=new Uint8Array([0,0,255,255]);e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,1,1,0,a,n,o);const s=new Image;return s.onload=function(){e.bindTexture(e.TEXTURE_2D,r),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,a,n,s),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR)},s.src=t,r}(e,a)),e.uniform1i(n.unif_skinSampler,0),e.vertexAttribPointer(n.attr_position,3,e.FLOAT,!1,12,0),e.enableVertexAttribArray(n.attr_position),e.bindBuffer(e.ARRAY_BUFFER,s),e.vertexAttribPointer(n.attr_textureCoord,2,e.FLOAT,!1,8,0),e.enableVertexAttribArray(n.attr_textureCoord),e.drawArrays(e.TRIANGLE_STRIP,0,4),e.disableVertexAttribArray(n.attr_position),e.disableVertexAttribArray(n.attr_textureCoord),e.bindBuffer(e.ARRAY_BUFFER,null)}(e,t,r,i,a)},draw_grid:(e,t,r,i)=>{!function(e,t,r,i){let a=function(e){if(Ut)return Ut;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=u(e,e.VERTEX_SHADER,Vt),i=u(e,e.FRAGMENT_SHADER,Gt);e.attachShader(t,r),e.attachShader(t,i),f(e,t);let a=e.getUniformLocation(t,"projMatrix");if(!a)throw new Error("Unable to get uniform location projMatrix");let n=e.getUniformLocation(t,"modelViewMatrix");if(!n)throw new Error("Unable to get uniform location modelViewMatrix");let o=e.getUniformLocation(t,"cameraMatrix");if(!o)throw new Error("Unable to get uniform location cameraMatrix");return Ut={prog:t,unif_matrix:n,unif_proj:a,unif_camera:o,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},Ut}(e),n=function(e){if(Bt)return Bt;if(Bt=e.createBuffer(),!Bt)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,Bt),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-.5,0,.5,-.5,0,-.5,.5,0,.5,.5,0,-.5]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),Bt}(e),o=function(e){if(Ot)return Ot;if(Ot=e.createBuffer(),!Ot)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,Ot),e.bufferData(e.ARRAY_BUFFER,new Float32Array([0,1,0,0,1,1,1,0]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),Ot}(e);e.disable(e.DEPTH_TEST),e.useProgram(a.prog),e.uniformMatrix4fv(a.unif_proj,!1,t),e.uniformMatrix4fv(a.unif_camera,!1,r),e.uniformMatrix4fv(a.unif_matrix,!1,i),e.bindBuffer(e.ARRAY_BUFFER,n),e.vertexAttribPointer(a.attr_position,3,e.FLOAT,!1,12,0),e.enableVertexAttribArray(a.attr_position),e.bindBuffer(e.ARRAY_BUFFER,o),e.vertexAttribPointer(a.attr_textureCoord,2,e.FLOAT,!1,8,0),e.enableVertexAttribArray(a.attr_textureCoord),e.drawArrays(e.TRIANGLE_STRIP,0,4),e.disableVertexAttribArray(a.attr_position),e.disableVertexAttribArray(a.attr_textureCoord),e.bindBuffer(e.ARRAY_BUFFER,null)}(e,t,r,i)},pipeline_draw_face:(e,t,r,i,a)=>{var n;let o=Ae(a);if(!o)return Ee("attempting to call draw_face on a destroyed zappar_face_mesh_t"),new Uint16Array;null===(n=ht.get(e))||void 0===n||n.drawFace(t,r,i,o)},pipeline_draw_face_project:(e,t,r,i,a,n,o)=>{var s;null===(s=ht.get(e))||void 0===s||s.drawFaceProject(t,r,i,a,n,o)},pipeline_draw_image_target_preview:(e,t,r,i,a,n)=>{var o;let s=Dt.get(a);s?null===(o=ht.get(e))||void 0===o||o.drawImageTargetPreview(t,r,i,n,s):Ee("image tracker not found")},projection_matrix_from_camera_model:V,projection_matrix_from_camera_model_ext:V,pipeline_process_gl:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.processGL()},pipeline_gl_context_set:(e,t,r)=>{var i;return null===(i=ht.get(e))||void 0===i?void 0:i.glContextSet(t,r)},pipeline_gl_context_lost:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.glContextLost()},pipeline_camera_frame_upload_gl:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.uploadGL()},pipeline_camera_frame_texture_gl:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.cameraFrameTexture()},pipeline_camera_frame_texture_matrix:(e,t,r,i)=>{var a;return(null===(a=ht.get(e))||void 0===a?void 0:a.cameraFrameTextureMatrix(t,r,i))||R()},pipeline_camera_frame_user_facing:e=>{var t;return(null===(t=ht.get(e))||void 0===t?void 0:t.cameraFrameUserFacing())||!1},pipeline_camera_pose_default:()=>R(),pipeline_camera_pose_with_attitude:(e,t)=>{var r;return(null===(r=ht.get(e))||void 0===r?void 0:r.cameraPoseWithAttitude(t))||R()},pipeline_camera_pose_with_origin:(e,t)=>{let r=R();return x(r,t),r},pipeline_sequence_record_clear:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.sequenceRecordClear()},pipeline_sequence_record_start:(e,t)=>{var r;return null===(r=ht.get(e))||void 0===r?void 0:r.sequenceRecordStart(t)},pipeline_sequence_record_stop:e=>{var t;return null===(t=ht.get(e))||void 0===t?void 0:t.sequenceRecordStop()},pipeline_sequence_record_device_attitude_matrices_set:(e,t)=>{var r;return null===(r=ht.get(e))||void 0===r?void 0:r.sequenceRecordDeviceAttitudeMatrices(t)},pipeline_sequence_record_data:e=>{var t;return(null===(t=ht.get(e))||void 0===t?void 0:t.sequenceRecordData())||new Uint8Array(0)},pipeline_sequence_record_data_size:e=>{var t;return(null===(t=ht.get(e))||void 0===t?void 0:t.sequenceRecordData().byteLength)||0},pipeline_camera_frame_data_raw:e=>{var t;return(null===(t=ht.get(e))||void 0===t?void 0:t.getCameraFrameDataRaw())||Promise.reject()},pipeline_camera_frame_data_raw_enabled_set:(e,t)=>{var r;return null===(r=ht.get(e))||void 0===r?void 0:r.setCameraFrameDataRawEnabled(t)},instant_world_tracker_anchor_pose_camera_relative:(e,t)=>{let r=ut(void 0,i.impl.instant_world_tracker_anchor_pose_raw(e));if(t){let e=R();N(e,[-1,1,1]),k(r,e,r),k(r,r,e)}return r},instant_world_tracker_anchor_pose:(e,t,r)=>{let a=ut(void 0,i.impl.instant_world_tracker_anchor_pose_raw(e));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return k(a,t,a),a},instant_world_tracker_anchor_pose_set_from_camera_offset:(e,t,r,a,n)=>{let o=G(!1)*Math.PI/180,s=R();I(s,-o,[0,0,1]);let _=L();z(_,[t,r,a],s),i.impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(e,_[0],_[1],_[2],n)},image_tracker_create:e=>Dt.create(e,i.impl),image_tracker_destroy:e=>{var t;return null===(t=Dt.get(e))||void 0===t?void 0:t.destroy()},image_tracker_target_type:(e,t)=>{let r=Dt.get(e);return r?r.getTargetInfo(t).type:(Ee("attempting to call image_tracker_target_type on a destroyed zappar_image_tracker_t"),s.IMAGE_TRACKER_TYPE_PLANAR)},image_tracker_target_count:e=>{let t=Dt.get(e);return t?t.targetCount():(Ee("attempting to call image_tracker_target_count on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_load_from_memory:(e,t)=>{let r=Dt.get(e);if(!r)return Ee("attempting to call image_tracker_target_load_from_memory on a destroyed zappar_image_tracker_t"),0;r.loadFromMemory(t)},image_tracker_target_preview_compressed:(e,t)=>{var r;let i=Dt.get(e);return i?(null===(r=i.getTargetInfo(t).preview)||void 0===r?void 0:r.compressed)||new Uint8Array(0):(Ee("attempting to call image_tracker_target_preview_compressed on a destroyed zappar_image_tracker_t"),new Uint8Array(0))},image_tracker_target_preview_compressed_mimetype:(e,t)=>{var r;let i=Dt.get(e);return i?(null===(r=i.getTargetInfo(t).preview)||void 0===r?void 0:r.mimeType)||"":(Ee("attempting to call image_tracker_target_preview_compressed_mimetype on a destroyed zappar_image_tracker_t"),"")},image_tracker_target_preview_compressed_size:(e,t)=>{var r,i;let a=Dt.get(e);return a?(null===(i=null===(r=a.getTargetInfo(t).preview)||void 0===r?void 0:r.compressed)||void 0===i?void 0:i.byteLength)||0:(Ee("attempting to call image_tracker_target_preview_compressed_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_physical_scale_factor:(e,t)=>{let r=Dt.get(e);return r?r.getTargetInfo(t).physicalScaleFactor:(Ee("attempting to call image_tracker_target_physical_scale_factor on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_radius_top:(e,t)=>{let r=Dt.get(e);return r?r.getTargetInfo(t).topRadius:(Ee("attempting to call image_tracker_target_radius_top on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_radius_bottom:(e,t)=>{let r=Dt.get(e);return r?r.getTargetInfo(t).bottomRadius:(Ee("attempting to call image_tracker_target_radius_bottom on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_side_length:(e,t)=>{let r=Dt.get(e);return r?r.getTargetInfo(t).sideLength:(Ee("attempting to call image_tracker_target_side_length on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_image:(e,t)=>{let r=Dt.get(e);return r?r.getDecodedPreview(t):(Ee("attempting to call image_tracker_target_image on a destroyed zappar_image_tracker_t"),new Image)},image_tracker_anchor_pose_camera_relative:(e,t,r)=>{let a=ut(void 0,i.impl.image_tracker_anchor_pose_raw(e,t));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return a},image_tracker_anchor_pose:(e,t,r,a)=>{let n=ut(void 0,i.impl.image_tracker_anchor_pose_raw(e,t));if(a){let e=R();N(e,[-1,1,1]),k(n,e,n),k(n,n,e)}return k(n,r,n),n},image_tracker_target_preview_mesh_indices:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).indices:(Ee("attempting to call image_tracker_target_preview_mesh_indices on a destroyed zappar_image_tracker_t"),new Uint16Array)},image_tracker_target_preview_mesh_vertices:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).vertices:(Ee("attempting to call image_tracker_target_preview_mesh_vertices on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_uvs:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).uvs:(Ee("attempting to call image_tracker_target_preview_mesh_uvs on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_normals:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).normals:(Ee("attempting to call image_tracker_target_preview_mesh_normals on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_indices_size:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).indices.length:(Ee("attempting to call image_tracker_target_preview_mesh_indices_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_vertices_size:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).vertices.length:(Ee("attempting to call image_tracker_target_preview_mesh_vertices_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_uvs_size:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).uvs.length:(Ee("attempting to call image_tracker_target_preview_mesh_uvs_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_normals_size:(e,t)=>{let r=Dt.get(e);return r?r.getPreviewMesh(t).normals.length:(Ee("attempting to call image_tracker_target_preview_mesh_normals_size on a destroyed zappar_image_tracker_t"),0)},zapcode_tracker_anchor_pose_camera_relative:(e,t,r)=>{let a=ut(void 0,i.impl.zapcode_tracker_anchor_pose_raw(e,t));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return a},zapcode_tracker_anchor_pose:(e,t,r,a)=>{let n=ut(void 0,i.impl.zapcode_tracker_anchor_pose_raw(e,t));if(a){let e=R();N(e,[-1,1,1]),k(n,e,n),k(n,n,e)}return k(n,r,n),n},face_tracker_anchor_pose_camera_relative:(e,t,r)=>{let a=ut(void 0,i.impl.face_tracker_anchor_pose_raw(e,t));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return a},face_tracker_anchor_pose:(e,t,r,a)=>{let n=ut(void 0,i.impl.face_tracker_anchor_pose_raw(e,t));if(a){let e=R();N(e,[-1,1,1]),k(n,e,n),k(n,n,e)}return k(n,r,n),n},face_tracker_model_load_default:e=>Kt(this,void 0,void 0,(function*(){yield function(e){return Kt(this,void 0,void 0,(function*(){let t=new URL(r(367),r.b),i=yield fetch(t.toString()),a=yield i.arrayBuffer();null==Wt||Wt.face_tracker_model_load_from_memory(e,a)}))}(e)})),face_mesh_create:()=>function(){let e=we++;return ye.set(e,new Te),ge("face_mesh_t initialized"),e}(),face_mesh_destroy:e=>{!function(e){ye.delete(e)}(e)},face_mesh_indices:e=>{let t=Ae(e);return t?t.getIndices():(Ee("attempting to call face_mesh_indices on a destroyed zappar_face_mesh_t"),new Uint16Array)},face_mesh_indices_size:e=>{let t=Ae(e);return t?t.getIndices().length:(Ee("attempting to call face_mesh_indices_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_uvs:e=>{let t=Ae(e);return t?t.getUVs():(Ee("attempting to call face_mesh_uvs on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_uvs_size:e=>{let t=Ae(e);return t?t.getUVs().length:(Ee("attempting to call face_mesh_uvs_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_vertices:e=>{let t=Ae(e);return t?t.getVertices():(Ee("attempting to call face_mesh_vertices on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_vertices_size:e=>{let t=Ae(e);return t?t.getVertices().length:(Ee("attempting to call face_mesh_vertices_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_normals:e=>{let t=Ae(e);return t?t.getNormals():(Ee("attempting to call face_mesh_normals on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_normals_size:e=>{let t=Ae(e);return t?t.getNormals().length:(Ee("attempting to call face_mesh_normals_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_load_from_memory:(e,t,r,i,a,n)=>{let o=Ae(e);o?o.loadFromMemory(t,r,i,a,n):Ee("attempting to call face_mesh_load_from_memory on a destroyed zappar_face_mesh_t")},face_mesh_update:(e,t,r,i)=>{let a=Ae(e);a?a.update(t,r,i):Ee("attempting to call face_mesh_update on a destroyed zappar_face_mesh_t")},face_mesh_load_default:e=>Kt(this,void 0,void 0,(function*(){let t=Ae(e);if(!t)return void Ee("attempting to call face_mesh_load_default on a destroyed zappar_face_mesh_t");let i=new URL(r(698),r.b),a=yield fetch(i.toString());t.loadFromMemory(yield a.arrayBuffer(),!1,!1,!1,!1)})),face_mesh_load_default_face:(e,t,i,a)=>Kt(this,void 0,void 0,(function*(){let n=Ae(e);if(!n)return void Ee("attempting to call face_mesh_load_default_face on a destroyed zappar_face_mesh_t");let o=new URL(r(698),r.b),s=yield fetch(o.toString());n.loadFromMemory(yield s.arrayBuffer(),t,i,a,!1)})),face_mesh_load_default_full_head_simplified:(e,t,i,a,n)=>Kt(this,void 0,void 0,(function*(){let o=Ae(e);if(!o)return void Ee("attempting to call face_mesh_load_default_full_head_simplified on a destroyed zappar_face_mesh_t");let s=new URL(r(825),r.b),_=yield fetch(s.toString());o.loadFromMemory(yield _.arrayBuffer(),t,i,a,n)})),face_mesh_loaded_version:e=>{let t=Ae(e);return t?t.getModelVersion():(Ee("attempting to call face_mesh_load_default on a destroyed zappar_face_mesh_t"),-1)},face_landmark_create:e=>function(e){let t=pt++;return mt.set(t,new gt(e)),ge("face_landmark_t initialized"),t}(e),face_landmark_destroy:e=>{!function(e){mt.delete(e)}(e)},face_landmark_update:(e,t,r,i)=>{let a=bt(e);a?a.update(t,r,i):Ee("attempting to call face_landmark_update on a destroyed zappar_face_landmark_t")},face_landmark_anchor_pose:e=>{let t=bt(e);return t?t.anchor_pose:(Ee("attempting to call face_landmark_anchor_pose on a destroyed zappar_face_landmark_t"),R())},world_tracker_plane_pose_camera_relative:(e,t,r)=>{let a=ut(void 0,i.impl.world_tracker_plane_pose_raw(e,t));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return a},world_tracker_plane_pose:(e,t,r,a)=>{let n=ut(void 0,i.impl.world_tracker_plane_pose_raw(e,t));if(a){let e=R();N(e,[-1,1,1]),k(n,e,n),k(n,n,e)}return k(n,r,n),n},world_tracker_world_anchor_pose:(e,t,r)=>{let a=ut(void 0,i.impl.world_tracker_world_anchor_pose_raw(e));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return k(a,t,a),a},world_tracker_world_anchor_pose_camera_relative:(e,t)=>{let r=ut(void 0,i.impl.world_tracker_world_anchor_pose_raw(e));if(t){let e=R();N(e,[-1,1,1]),k(r,e,r),k(r,r,e)}return r},world_tracker_ground_anchor_pose:(e,t,r)=>{let a=ut(void 0,i.impl.world_tracker_ground_anchor_pose_raw(e));if(r){let e=R();N(e,[-1,1,1]),k(a,e,a),k(a,a,e)}return k(a,t,a),a},world_tracker_ground_anchor_pose_camera_relative:(e,t)=>{let r=ut(void 0,i.impl.world_tracker_ground_anchor_pose_raw(e));if(t){let e=R();N(e,[-1,1,1]),k(r,e,r),k(r,r,e)}return r},html_element_source_create:(e,t)=>He.createVideoElementSource(e,t),html_element_source_start:e=>{var t;return null===(t=He.getVideoElementSource(e))||void 0===t?void 0:t.start()},html_element_source_pause:e=>{var t;return null===(t=He.getVideoElementSource(e))||void 0===t?void 0:t.pause()},html_element_source_destroy:e=>{var t;return null===(t=He.getVideoElementSource(e))||void 0===t?void 0:t.destroy()},sequence_source_create:e=>yt.create(e),sequence_source_load_from_memory:(e,t)=>{var r;return null===(r=yt.get(e))||void 0===r?void 0:r.loadFromMemory(t)},sequence_source_pause:e=>{var t;return null===(t=yt.get(e))||void 0===t?void 0:t.pause()},sequence_source_start:e=>{var t;return null===(t=yt.get(e))||void 0===t?void 0:t.start()},sequence_source_max_playback_fps_set:(e,t)=>{var r;return null===(r=yt.get(e))||void 0===r?void 0:r.maxPlaybackFpsSet(t)},sequence_source_time_set:(e,t)=>{var r;return null===(r=yt.get(e))||void 0===r?void 0:r.setTime(t)},sequence_source_destroy:e=>{var t;return null===(t=yt.get(e))||void 0===t?void 0:t.destroy()},permission_granted_all:de,permission_granted_camera:oe,permission_granted_motion:se,permission_denied_any:le,permission_denied_camera:_e,permission_denied_motion:ce,permission_request_motion:fe,permission_request_camera:ue,permission_request_all:he,permission_request_ui:pe,permission_request_ui_promise:pe,permission_denied_ui:me,browser_incompatible:vt.incompatible,browser_incompatible_ui:vt.incompatible_ui,log_level_set:e=>{!function(e){be=e}(e),i.impl.log_level_set(e)},cookies_permitted:e=>{var t;e?n||(t=a,window.localStorage.setItem("z_uar_lid",t),n=!0):window.localStorage.removeItem("z_uar_lid")}}),Wt}const Ht="3.0.1-alpha.8";function Yt(e){return function(e){return console.log(`Zappar CV v${Ht}`),Zt(e)}(Object.assign(Object.assign({},e),{worker:(null==e?void 0:e.worker)||new(r(276).Z)}))}})(),i})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ZCV=t():e.ZCV=t()}(self,(()=>(()=>{var e={238:function(e,t,a){var i;!function(r,o){"use strict";var _="function",s="undefined",n="object",c="string",l="model",d="name",E="type",h="vendor",b="version",p="architecture",v="console",u="mobile",m="tablet",f="smarttv",g="wearable",N="embedded",y="Amazon",S="Apple",w="ASUS",I="BlackBerry",R="Browser",A="Chrome",P="Firefox",z="Google",L="Huawei",T="LG",x="Microsoft",M="Motorola",k="Opera",G="Samsung",j="Sharp",K="Sony",F="Xiaomi",C="Zebra",Z="Facebook",B=function(e){for(var t={},a=0;a<e.length;a++)t[e[a].toUpperCase()]=e[a];return t},D=function(e,t){return typeof e===c&&-1!==U(t).indexOf(U(e))},U=function(e){return e.toLowerCase()},O=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},V=function(e,t){for(var a,i,r,s,c,l,d=0;d<t.length&&!c;){var E=t[d],h=t[d+1];for(a=i=0;a<E.length&&!c;)if(c=E[a++].exec(e))for(r=0;r<h.length;r++)l=c[++i],typeof(s=h[r])===n&&s.length>0?2===s.length?typeof s[1]==_?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==_||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;d+=2}},q=function(e,t){for(var a in t)if(typeof t[a]===n&&t[a].length>0){for(var i=0;i<t[a].length;i++)if(D(t[a][i],e))return"?"===a?o:a}else if(D(t[a],e))return"?"===a?o:a;return e},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,b],[/opios[\/ ]+([\w\.]+)/i],[b,[d,k+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[d,k]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[d,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[b,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[b,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+R],b],[/\bfocus\/([\w\.]+)/i],[b,[d,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[d,k+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[d,k+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[d,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[b,[d,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+R],b],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,Z],b],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[d,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,A+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[d,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[b,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[d,P+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,b],[/(cobalt)\/([\w\.]+)/i],[d,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,U]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",U]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[h,G],[E,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,G],[E,u]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[h,S],[E,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,S],[E,m]],[/(macintosh);/i],[l,[h,S]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[h,L],[E,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[h,L],[E,u]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[h,F],[E,u]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[h,F],[E,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[h,"OPPO"],[E,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[E,u]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[h,"Realme"],[E,u]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[h,M],[E,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,M],[E,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,T],[E,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,T],[E,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[h,"Lenovo"],[E,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[h,"Nokia"],[E,u]],[/(pixel c)\b/i],[l,[h,z],[E,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,z],[E,u]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[h,K],[E,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,K],[E,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,"OnePlus"],[E,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,y],[E,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,y],[E,u]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[E,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,I],[E,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,w],[E,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,w],[E,u]],[/(nexus 9)/i],[l,[h,"HTC"],[E,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[E,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[E,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[E,u]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,j],[E,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,l,[E,u]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,l,[E,m]],[/(surface duo)/i],[l,[h,x],[E,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[E,u]],[/(u304aa)/i],[l,[h,"AT&T"],[E,u]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[E,u]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[E,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[E,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[E,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[E,m]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[E,m]],[/\b(k88) b/i],[l,[h,"ZTE"],[E,m]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[E,u]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[E,u]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[E,m]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[E,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[E,m]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[E,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[E,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[E,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[E,u]],[/\b(ph-1) /i],[l,[h,"Essential"],[E,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[E,m]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[E,m]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[E,m]],[/(shield[\w ]+) b/i],[l,[h,"Nvidia"],[E,m]],[/(sprint) (\w+)/i],[h,l,[E,u]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,x],[E,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,C],[E,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,C],[E,u]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[E,v]],[/droid.+; (shield) bui/i],[l,[h,"Nvidia"],[E,v]],[/(playstation [345portablevi]+)/i],[l,[h,K],[E,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,x],[E,v]],[/smart-tv.+(samsung)/i],[h,[E,f]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,G],[E,f]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,T],[E,f]],[/(apple) ?tv/i],[h,[l,S+" TV"],[E,f]],[/crkey/i],[[l,A+"cast"],[h,z],[E,f]],[/droid.+aft(\w)( bui|\))/i],[l,[h,y],[E,f]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[h,j],[E,f]],[/(bravia[\w ]+)( bui|\))/i],[l,[h,K],[E,f]],[/(mitv-\w{5}) bui/i],[l,[h,F],[E,f]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,O],[l,O],[E,f]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[E,f]],[/((pebble))app/i],[h,l,[E,g]],[/droid.+; (glass) \d/i],[l,[h,z],[E,g]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,C],[E,g]],[/(quest( 2)?)/i],[l,[h,Z],[E,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[E,N]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[E,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[E,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[E,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[E,u]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[b,q,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[b,q,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,b],[/\(bb(10);/i],[b,[d,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[d,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[b,[d,A+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],b],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,b],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,b]]},Y=function(e,t){if(typeof e===n&&(t=e,e=o),!(this instanceof Y))return new Y(e,t).getResult();var a=e||(typeof r!==s&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=t?function(e,t){var a={};for(var i in e)t[i]&&t[i].length%2==0?a[i]=t[i].concat(e[i]):a[i]=e[i];return a}(W,t):W;return this.getBrowser=function(){var e,t={};return t[d]=o,t[b]=o,V.call(t,a,i.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,t},this.getCPU=function(){var e={};return e[p]=o,V.call(e,a,i.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[l]=o,e[E]=o,V.call(e,a,i.device),e},this.getEngine=function(){var e={};return e[d]=o,e[b]=o,V.call(e,a,i.engine),e},this.getOS=function(){var e={};return e[d]=o,e[b]=o,V.call(e,a,i.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return a},this.setUA=function(e){return a=typeof e===c&&e.length>350?O(e,350):e,this},this.setUA(a),this};Y.VERSION="1.0.33",Y.BROWSER=B([d,b,"major"]),Y.CPU=B([p]),Y.DEVICE=B([l,h,E,v,u,f,m,g,N]),Y.ENGINE=Y.OS=B([d,b]),typeof t!==s?(e.exports&&(t=e.exports=Y),t.UAParser=Y):a.amdO?(i=function(){return Y}.call(t,a,t,e))===o||(e.exports=i):typeof r!==s&&(r.UAParser=Y);var X=typeof r!==s&&(r.jQuery||r.Zepto);if(X&&!X.ua){var J=new Y;X.ua=J.getResult(),X.ua.get=function(){return J.getUA()},X.ua.set=function(e){J.setUA(e);var t=J.getResult();for(var a in t)X.ua[a]=t[a]}}}("object"==typeof window?window:this)},276:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var i=a(477),r=a.n(i);function o(){return r()('(()=>{var e={238:function(e,a,i){var r;!function(t,_){"use strict";var o="function",s="undefined",n="object",c="string",E="model",l="name",b="type",d="vendor",v="version",h="architecture",p="console",N="mobile",m="tablet",u="smarttv",S="wearable",g="embedded",f="Amazon",I="Apple",y="ASUS",z="BlackBerry",w="Browser",P="Chrome",K="Firefox",R="Google",L="Huawei",j="LG",M="Microsoft",Z="Motorola",k="Opera",A="Samsung",x="Sharp",F="Sony",T="Xiaomi",C="Zebra",B="Facebook",O=function(e){for(var a={},i=0;i<e.length;i++)a[e[i].toUpperCase()]=e[i];return a},D=function(e,a){return typeof e===c&&-1!==V(a).indexOf(V(e))},V=function(e){return e.toLowerCase()},G=function(e,a){if(typeof e===c)return e=e.replace(/^\\s\\s*/,""),typeof a===s?e:e.substring(0,350)},U=function(e,a){for(var i,r,t,s,c,E,l=0;l<a.length&&!c;){var b=a[l],d=a[l+1];for(i=r=0;i<b.length&&!c;)if(c=b[i++].exec(e))for(t=0;t<d.length;t++)E=c[++r],typeof(s=d[t])===n&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,E):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=E?E.replace(s[1],s[2]):_:this[s[0]]=E?s[1].call(this,E,s[2]):_:4===s.length&&(this[s[0]]=E?s[3].call(this,E.replace(s[1],s[2])):_):this[s]=E||_;l+=2}},q=function(e,a){for(var i in a)if(typeof a[i]===n&&a[i].length>0){for(var r=0;r<a[i].length;r++)if(D(a[i][r],e))return"?"===i?_:i}else if(D(a[i],e))return"?"===i?_:i;return e},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[l,v],[/opios[\\/ ]+([\\w\\.]+)/i],[v,[l,k+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[v,[l,k]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[l,v],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[v,[l,"UC"+w]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[v,[l,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[v,[l,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[v,[l,"IE"]],[/yabrowser\\/([\\w\\.]+)/i],[v,[l,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[l,/(.+)/,"$1 Secure "+w],v],[/\\bfocus\\/([\\w\\.]+)/i],[v,[l,K+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[v,[l,k+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[v,[l,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[v,[l,k+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[v,[l,"MIUI "+w]],[/fxios\\/([-\\w\\.]+)/i],[v,[l,K]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+w]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[l,/(.+)/,"$1 "+w],v],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[l,/_/g," "],v],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[l,v],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[l],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[l,B],v],[/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[l,v],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[v,[l,"GSA"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[v,[l,P+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[l,P+" WebView"],v],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+w]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[l,v],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[l,[v,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[l,v],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[l,"Netscape"],v],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[v,[l,K+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i],[l,v],[/(cobalt)\\/([\\w\\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,V]],[/((?:i[346]|x)86)[;\\)]/i],[[h,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[h,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[h,/ower/,"",V]],[/(sun4\\w)[;\\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[h,V]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[E,[d,A],[b,m]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[E,[d,A],[b,N]],[/\\((ip(?:hone|od)[\\w ]*);/i],[E,[d,I],[b,N]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[E,[d,I],[b,m]],[/(macintosh);/i],[E,[d,I]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[E,[d,L],[b,m]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[E,[d,L],[b,N]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[E,/_/g," "],[d,T],[b,N]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[E,/_/g," "],[d,T],[b,m]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[E,[d,"OPPO"],[b,N]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[E,[d,"Vivo"],[b,N]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[E,[d,"Realme"],[b,N]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[E,[d,Z],[b,N]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[E,[d,Z],[b,m]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[E,[d,j],[b,m]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[E,[d,j],[b,N]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[E,[d,"Lenovo"],[b,m]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[E,/_/g," "],[d,"Nokia"],[b,N]],[/(pixel c)\\b/i],[E,[d,R],[b,m]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[E,[d,R],[b,N]],[/droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[E,[d,F],[b,N]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[E,"Xperia Tablet"],[d,F],[b,m]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[E,[d,"OnePlus"],[b,N]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[E,[d,f],[b,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[E,/(.+)/g,"Fire Phone $1"],[d,f],[b,N]],[/(playbook);[-\\w\\),; ]+(rim)/i],[E,d,[b,m]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[E,[d,z],[b,N]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[E,[d,y],[b,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[E,[d,y],[b,N]],[/(nexus 9)/i],[E,[d,"HTC"],[b,m]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i],[d,[E,/_/g," "],[b,N]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[E,[d,"Acer"],[b,m]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[E,[d,"Meizu"],[b,N]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[E,[d,x],[b,N]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[d,E,[b,N]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[d,E,[b,m]],[/(surface duo)/i],[E,[d,M],[b,m]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[E,[d,"Fairphone"],[b,N]],[/(u304aa)/i],[E,[d,"AT&T"],[b,N]],[/\\bsie-(\\w*)/i],[E,[d,"Siemens"],[b,N]],[/\\b(rct\\w+) b/i],[E,[d,"RCA"],[b,m]],[/\\b(venue[\\d ]{2,7}) b/i],[E,[d,"Dell"],[b,m]],[/\\b(q(?:mv|ta)\\w+) b/i],[E,[d,"Verizon"],[b,m]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[E,[d,"Barnes & Noble"],[b,m]],[/\\b(tm\\d{3}\\w+) b/i],[E,[d,"NuVision"],[b,m]],[/\\b(k88) b/i],[E,[d,"ZTE"],[b,m]],[/\\b(nx\\d{3}j) b/i],[E,[d,"ZTE"],[b,N]],[/\\b(gen\\d{3}) b.+49h/i],[E,[d,"Swiss"],[b,N]],[/\\b(zur\\d{3}) b/i],[E,[d,"Swiss"],[b,m]],[/\\b((zeki)?tb.*\\b) b/i],[E,[d,"Zeki"],[b,m]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[d,"Dragon Touch"],E,[b,m]],[/\\b(ns-?\\w{0,9}) b/i],[E,[d,"Insignia"],[b,m]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[E,[d,"NextBook"],[b,m]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],E,[b,N]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[d,"LvTel"],E,[b,N]],[/\\b(ph-1) /i],[E,[d,"Essential"],[b,N]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[E,[d,"Envizen"],[b,m]],[/\\b(trio[-\\w\\. ]+) b/i],[E,[d,"MachSpeed"],[b,m]],[/\\btu_(1491) b/i],[E,[d,"Rotor"],[b,m]],[/(shield[\\w ]+) b/i],[E,[d,"Nvidia"],[b,m]],[/(sprint) (\\w+)/i],[d,E,[b,N]],[/(kin\\.[onetw]{3})/i],[[E,/\\./g," "],[d,M],[b,N]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[E,[d,C],[b,m]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[E,[d,C],[b,N]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,E,[b,p]],[/droid.+; (shield) bui/i],[E,[d,"Nvidia"],[b,p]],[/(playstation [345portablevi]+)/i],[E,[d,F],[b,p]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[E,[d,M],[b,p]],[/smart-tv.+(samsung)/i],[d,[b,u]],[/hbbtv.+maple;(\\d+)/i],[[E,/^/,"SmartTV"],[d,A],[b,u]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[d,j],[b,u]],[/(apple) ?tv/i],[d,[E,I+" TV"],[b,u]],[/crkey/i],[[E,P+"cast"],[d,R],[b,u]],[/droid.+aft(\\w)( bui|\\))/i],[E,[d,f],[b,u]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[E,[d,x],[b,u]],[/(bravia[\\w ]+)( bui|\\))/i],[E,[d,F],[b,u]],[/(mitv-\\w{5}) bui/i],[E,[d,T],[b,u]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i],[[d,G],[E,G],[b,u]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[b,u]],[/((pebble))app/i],[d,E,[b,S]],[/droid.+; (glass) \\d/i],[E,[d,R],[b,S]],[/droid.+; (wt63?0{2,3})\\)/i],[E,[d,C],[b,S]],[/(quest( 2)?)/i],[E,[d,B],[b,S]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[d,[b,g]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[E,[b,N]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[E,[b,m]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[b,m]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[b,N]],[/(android[-\\w\\. ]{0,9});.+buil/i],[E,[d,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[v,[l,"EdgeHTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[v,[l,"Blink"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i],[l,v],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[l,[v,q,H]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[l,"Windows"],[v,q,H]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/cfnetwork\\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[l,"Mac OS"],[v,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[l,v],[/\\(bb(10);/i],[v,[l,z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[v,[l,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[v,[l,K+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[v,[l,"webOS"]],[/crkey\\/([\\d\\.]+)/i],[v,[l,P+"cast"]],[/(cros) [\\w]+ ([\\w\\.]+\\w)/i],[[l,"Chromium OS"],v],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux) ?([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[l,v],[/(sunos) ?([\\w\\.\\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\\w\\.]*)/i],[l,v]]},X=function(e,a){if(typeof e===n&&(a=e,e=_),!(this instanceof X))return new X(e,a).getResult();var i=e||(typeof t!==s&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:""),r=a?function(e,a){var i={};for(var r in e)a[r]&&a[r].length%2==0?i[r]=a[r].concat(e[r]):i[r]=e[r];return i}(W,a):W;return this.getBrowser=function(){var e,a={};return a[l]=_,a[v]=_,U.call(a,i,r.browser),a.major=typeof(e=a.version)===c?e.replace(/[^\\d\\.]/g,"").split(".")[0]:_,a},this.getCPU=function(){var e={};return e[h]=_,U.call(e,i,r.cpu),e},this.getDevice=function(){var e={};return e[d]=_,e[E]=_,e[b]=_,U.call(e,i,r.device),e},this.getEngine=function(){var e={};return e[l]=_,e[v]=_,U.call(e,i,r.engine),e},this.getOS=function(){var e={};return e[l]=_,e[v]=_,U.call(e,i,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===c&&e.length>350?G(e,350):e,this},this.setUA(i),this};X.VERSION="1.0.33",X.BROWSER=O([l,v,"major"]),X.CPU=O([h]),X.DEVICE=O([E,d,b,p,N,u,m,S,g]),X.ENGINE=X.OS=O([l,v]),typeof a!==s?(e.exports&&(a=e.exports=X),a.UAParser=X):i.amdO?(r=function(){return X}.call(a,i,a,e))===_||(e.exports=r):typeof t!==s&&(t.UAParser=X);var Y=typeof t!==s&&(t.jQuery||t.Zepto);if(Y&&!Y.ua){var J=new X;Y.ua=J.getResult(),Y.ua.get=function(){return J.getUA()},Y.ua.set=function(e){J.setUA(e);var a=J.getResult();for(var i in a)Y.ua[i]=a[i]}}}("object"==typeof window?window:this)},751:(e,a,i)=>{"use strict";e.exports=i.p+"ad30381eac4454d1944a.wasm"}},a={};function i(r){var t=a[r];if(void 0!==t)return t.exports;var _=a[r]={exports:{}};return e[r].call(_.exports,_,_.exports,i),_.exports}i.m=e,i.amdO={},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var a=i.g.document;if(!e&&a&&(a.currentScript&&(e=a.currentScript.src),!e)){var r=a.getElementsByTagName("script");if(r.length)for(var t=r.length-1;t>-1&&!e;)e=r[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\\?.*$/,"").replace(/\\/[^\\/]+$/,"/"),i.p=e})(),i.b=self.location+"",(()=>{"use strict";var e,a=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(a={}){var i,r,t=a;t.ready=new Promise(((e,a)=>{i=e,r=a}));var _,o,s,n=Object.assign({},t),c="./this.program",E=(e,a)=>{throw a},l="";l=self.location.href,e&&(l=e),l=l.startsWith("blob:")?"":l.substr(0,l.replace(/[?#].*/,"").lastIndexOf("/")+1),_=e=>{var a=new XMLHttpRequest;return a.open("GET",e,!1),a.send(null),a.responseText},s=e=>{var a=new XMLHttpRequest;return a.open("GET",e,!1),a.responseType="arraybuffer",a.send(null),new Uint8Array(a.response)},o=(e,a,i)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?a(r.response):i()},r.onerror=i,r.send(null)};var b,d,v=t.print||console.log.bind(console),h=t.printErr||console.error.bind(console);Object.assign(t,n),n=null,t.arguments&&t.arguments,t.thisProgram&&(c=t.thisProgram),t.quit&&(E=t.quit),t.wasmBinary&&(b=t.wasmBinary),"object"!=typeof WebAssembly&&O("no native wasm support detected");var p,N,m,u,S,g,f,I,y,z=!1;function w(e,a){e||O(a)}function P(){var e=d.buffer;t.HEAP8=N=new Int8Array(e),t.HEAP16=u=new Int16Array(e),t.HEAPU8=m=new Uint8Array(e),t.HEAPU16=S=new Uint16Array(e),t.HEAP32=g=new Int32Array(e),t.HEAPU32=f=new Uint32Array(e),t.HEAPF32=I=new Float32Array(e),t.HEAPF64=y=new Float64Array(e)}var K,R,L,j,M=[],Z=[],k=[],A=!1,x=0,F=null,T=null;function C(e){x++,t.monitorRunDependencies?.(x)}function B(e){if(x--,t.monitorRunDependencies?.(x),0==x&&(null!==F&&(clearInterval(F),F=null),T)){var a=T;T=null,a()}}function O(e){t.onAbort?.(e),h(e="Aborted("+e+")"),z=!0,p=1,e+=". Build with -sASSERTIONS for more info.",A&&He();var a=new WebAssembly.RuntimeError(e);throw r(a),a}function D(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}(K="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")||(R=K,K=t.locateFile?t.locateFile(R,l):l+R);var V=e=>{for(;e.length>0;)e.shift()(t)},G=t.noExitRuntime||!0,U={isAbs:e=>"/"===e.charAt(0),splitPath:e=>/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/.exec(e).slice(1),normalizeArray:(e,a)=>{for(var i=0,r=e.length-1;r>=0;r--){var t=e[r];"."===t?e.splice(r,1):".."===t?(e.splice(r,1),i++):i&&(e.splice(r,1),i--)}if(a)for(;i;i--)e.unshift("..");return e},normalize:e=>{var a=U.isAbs(e),i="/"===e.substr(-1);return(e=U.normalizeArray(e.split("/").filter((e=>!!e)),!a).join("/"))||a||(e="."),e&&i&&(e+="/"),(a?"/":"")+e},dirname:e=>{var a=U.splitPath(e),i=a[0],r=a[1];return i||r?(r&&(r=r.substr(0,r.length-1)),i+r):"."},basename:e=>{if("/"===e)return"/";var a=(e=(e=U.normalize(e)).replace(/\\/$/,"")).lastIndexOf("/");return-1===a?e:e.substr(a+1)},join:function(){var e=Array.prototype.slice.call(arguments);return U.normalize(e.join("/"))},join2:(e,a)=>U.normalize(e+"/"+a)},q=e=>(q=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);O("initRandomDevice")})())(e),H={resolve:function(){for(var e="",a=!1,i=arguments.length-1;i>=-1&&!a;i--){var r=i>=0?arguments[i]:oe.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,a=U.isAbs(r)}return(a?"/":"")+(e=U.normalizeArray(e.split("/").filter((e=>!!e)),!a).join("/"))||"."},relative:(e,a)=>{function i(e){for(var a=0;a<e.length&&""===e[a];a++);for(var i=e.length-1;i>=0&&""===e[i];i--);return a>i?[]:e.slice(a,i-a+1)}e=H.resolve(e).substr(1),a=H.resolve(a).substr(1);for(var r=i(e.split("/")),t=i(a.split("/")),_=Math.min(r.length,t.length),o=_,s=0;s<_;s++)if(r[s]!==t[s]){o=s;break}var n=[];for(s=o;s<r.length;s++)n.push("..");return(n=n.concat(t.slice(o))).join("/")}},W="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,X=(e,a,i)=>{for(var r=a+i,t=a;e[t]&&!(t>=r);)++t;if(t-a>16&&e.buffer&&W)return W.decode(e.subarray(a,t));for(var _="";a<t;){var o=e[a++];if(128&o){var s=63&e[a++];if(192!=(224&o)){var n=63&e[a++];if((o=224==(240&o)?(15&o)<<12|s<<6|n:(7&o)<<18|s<<12|n<<6|63&e[a++])<65536)_+=String.fromCharCode(o);else{var c=o-65536;_+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else _+=String.fromCharCode((31&o)<<6|s)}else _+=String.fromCharCode(o)}return _},Y=[],J=e=>{for(var a=0,i=0;i<e.length;++i){var r=e.charCodeAt(i);r<=127?a++:r<=2047?a+=2:r>=55296&&r<=57343?(a+=4,++i):a+=3}return a},$=(e,a,i,r)=>{if(!(r>0))return 0;for(var t=i,_=i+r-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++o)),s<=127){if(i>=_)break;a[i++]=s}else if(s<=2047){if(i+1>=_)break;a[i++]=192|s>>6,a[i++]=128|63&s}else if(s<=65535){if(i+2>=_)break;a[i++]=224|s>>12,a[i++]=128|s>>6&63,a[i++]=128|63&s}else{if(i+3>=_)break;a[i++]=240|s>>18,a[i++]=128|s>>12&63,a[i++]=128|s>>6&63,a[i++]=128|63&s}}return a[i]=0,i-t};function Q(e,a,i){var r=i>0?i:J(e)+1,t=new Array(r),_=$(e,t,0,t.length);return a&&(t.length=_),t}var ee,ae={ttys:[],init(){},shutdown(){},register(e,a){ae.ttys[e]={input:[],output:[],ops:a},oe.registerDevice(e,ae.stream_ops)},stream_ops:{open(e){var a=ae.ttys[e.node.rdev];if(!a)throw new oe.ErrnoError(43);e.tty=a,e.seekable=!1},close(e){e.tty.ops.fsync(e.tty)},fsync(e){e.tty.ops.fsync(e.tty)},read(e,a,i,r,t){if(!e.tty||!e.tty.ops.get_char)throw new oe.ErrnoError(60);for(var _=0,o=0;o<r;o++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new oe.ErrnoError(29)}if(void 0===s&&0===_)throw new oe.ErrnoError(6);if(null==s)break;_++,a[i+o]=s}return _&&(e.node.timestamp=Date.now()),_},write(e,a,i,r,t){if(!e.tty||!e.tty.ops.put_char)throw new oe.ErrnoError(60);try{for(var _=0;_<r;_++)e.tty.ops.put_char(e.tty,a[i+_])}catch(e){throw new oe.ErrnoError(29)}return r&&(e.node.timestamp=Date.now()),_}},default_tty_ops:{get_char:e=>(()=>{if(!Y.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\\n"),!e)return null;Y=Q(e,!0)}return Y.shift()})(),put_char(e,a){null===a||10===a?(v(X(e.output,0)),e.output=[]):0!=a&&e.output.push(a)},fsync(e){e.output&&e.output.length>0&&(v(X(e.output,0)),e.output=[])},ioctl_tcgets:e=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(e,a,i)=>0,ioctl_tiocgwinsz:e=>[24,80]},default_tty1_ops:{put_char(e,a){null===a||10===a?(h(X(e.output,0)),e.output=[]):0!=a&&e.output.push(a)},fsync(e){e.output&&e.output.length>0&&(h(X(e.output,0)),e.output=[])}}},ie=e=>{O()},re={ops_table:null,mount:e=>re.createNode(null,"/",16895,0),createNode(e,a,i,r){if(oe.isBlkdev(i)||oe.isFIFO(i))throw new oe.ErrnoError(63);re.ops_table||={dir:{node:{getattr:re.node_ops.getattr,setattr:re.node_ops.setattr,lookup:re.node_ops.lookup,mknod:re.node_ops.mknod,rename:re.node_ops.rename,unlink:re.node_ops.unlink,rmdir:re.node_ops.rmdir,readdir:re.node_ops.readdir,symlink:re.node_ops.symlink},stream:{llseek:re.stream_ops.llseek}},file:{node:{getattr:re.node_ops.getattr,setattr:re.node_ops.setattr},stream:{llseek:re.stream_ops.llseek,read:re.stream_ops.read,write:re.stream_ops.write,allocate:re.stream_ops.allocate,mmap:re.stream_ops.mmap,msync:re.stream_ops.msync}},link:{node:{getattr:re.node_ops.getattr,setattr:re.node_ops.setattr,readlink:re.node_ops.readlink},stream:{}},chrdev:{node:{getattr:re.node_ops.getattr,setattr:re.node_ops.setattr},stream:oe.chrdev_stream_ops}};var t=oe.createNode(e,a,i,r);return oe.isDir(t.mode)?(t.node_ops=re.ops_table.dir.node,t.stream_ops=re.ops_table.dir.stream,t.contents={}):oe.isFile(t.mode)?(t.node_ops=re.ops_table.file.node,t.stream_ops=re.ops_table.file.stream,t.usedBytes=0,t.contents=null):oe.isLink(t.mode)?(t.node_ops=re.ops_table.link.node,t.stream_ops=re.ops_table.link.stream):oe.isChrdev(t.mode)&&(t.node_ops=re.ops_table.chrdev.node,t.stream_ops=re.ops_table.chrdev.stream),t.timestamp=Date.now(),e&&(e.contents[a]=t,e.timestamp=t.timestamp),t},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,a){var i=e.contents?e.contents.length:0;if(!(i>=a)){a=Math.max(a,i*(i<1048576?2:1.125)>>>0),0!=i&&(a=Math.max(a,256));var r=e.contents;e.contents=new Uint8Array(a),e.usedBytes>0&&e.contents.set(r.subarray(0,e.usedBytes),0)}},resizeFileStorage(e,a){if(e.usedBytes!=a)if(0==a)e.contents=null,e.usedBytes=0;else{var i=e.contents;e.contents=new Uint8Array(a),i&&e.contents.set(i.subarray(0,Math.min(a,e.usedBytes))),e.usedBytes=a}},node_ops:{getattr(e){var a={};return a.dev=oe.isChrdev(e.mode)?e.id:1,a.ino=e.id,a.mode=e.mode,a.nlink=1,a.uid=0,a.gid=0,a.rdev=e.rdev,oe.isDir(e.mode)?a.size=4096:oe.isFile(e.mode)?a.size=e.usedBytes:oe.isLink(e.mode)?a.size=e.link.length:a.size=0,a.atime=new Date(e.timestamp),a.mtime=new Date(e.timestamp),a.ctime=new Date(e.timestamp),a.blksize=4096,a.blocks=Math.ceil(a.size/a.blksize),a},setattr(e,a){void 0!==a.mode&&(e.mode=a.mode),void 0!==a.timestamp&&(e.timestamp=a.timestamp),void 0!==a.size&&re.resizeFileStorage(e,a.size)},lookup(e,a){throw oe.genericErrors[44]},mknod:(e,a,i,r)=>re.createNode(e,a,i,r),rename(e,a,i){if(oe.isDir(e.mode)){var r;try{r=oe.lookupNode(a,i)}catch(e){}if(r)for(var t in r.contents)throw new oe.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=i,a.contents[i]=e,a.timestamp=e.parent.timestamp,e.parent=a},unlink(e,a){delete e.contents[a],e.timestamp=Date.now()},rmdir(e,a){var i=oe.lookupNode(e,a);for(var r in i.contents)throw new oe.ErrnoError(55);delete e.contents[a],e.timestamp=Date.now()},readdir(e){var a=[".",".."];for(var i of Object.keys(e.contents))a.push(i);return a},symlink(e,a,i){var r=re.createNode(e,a,41471,0);return r.link=i,r},readlink(e){if(!oe.isLink(e.mode))throw new oe.ErrnoError(28);return e.link}},stream_ops:{read(e,a,i,r,t){var _=e.node.contents;if(t>=e.node.usedBytes)return 0;var o=Math.min(e.node.usedBytes-t,r);if(o>8&&_.subarray)a.set(_.subarray(t,t+o),i);else for(var s=0;s<o;s++)a[i+s]=_[t+s];return o},write(e,a,i,r,t,_){if(a.buffer===N.buffer&&(_=!1),!r)return 0;var o=e.node;if(o.timestamp=Date.now(),a.subarray&&(!o.contents||o.contents.subarray)){if(_)return o.contents=a.subarray(i,i+r),o.usedBytes=r,r;if(0===o.usedBytes&&0===t)return o.contents=a.slice(i,i+r),o.usedBytes=r,r;if(t+r<=o.usedBytes)return o.contents.set(a.subarray(i,i+r),t),r}if(re.expandFileStorage(o,t+r),o.contents.subarray&&a.subarray)o.contents.set(a.subarray(i,i+r),t);else for(var s=0;s<r;s++)o.contents[t+s]=a[i+s];return o.usedBytes=Math.max(o.usedBytes,t+r),r},llseek(e,a,i){var r=a;if(1===i?r+=e.position:2===i&&oe.isFile(e.node.mode)&&(r+=e.node.usedBytes),r<0)throw new oe.ErrnoError(28);return r},allocate(e,a,i){re.expandFileStorage(e.node,a+i),e.node.usedBytes=Math.max(e.node.usedBytes,a+i)},mmap(e,a,i,r,t){if(!oe.isFile(e.node.mode))throw new oe.ErrnoError(43);var _,o,s=e.node.contents;if(2&t||s.buffer!==N.buffer){if((i>0||i+a<s.length)&&(s=s.subarray?s.subarray(i,i+a):Array.prototype.slice.call(s,i,i+a)),o=!0,!(_=ie()))throw new oe.ErrnoError(48);N.set(s,_)}else o=!1,_=s.byteOffset;return{ptr:_,allocated:o}},msync:(e,a,i,r,t)=>(re.stream_ops.write(e,a,0,r,i,!1),0)}},te=t.preloadPlugins||[],_e=(e,a)=>{var i=0;return e&&(i|=365),a&&(i|=146),i},oe={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:class{constructor(e){this.name="ErrnoError",this.errno=e}},genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(e,a={}){if(!(e=H.resolve(e)))return{path:"",node:null};if((a=Object.assign({follow_mount:!0,recurse_count:0},a)).recurse_count>8)throw new oe.ErrnoError(32);for(var i=e.split("/").filter((e=>!!e)),r=oe.root,t="/",_=0;_<i.length;_++){var o=_===i.length-1;if(o&&a.parent)break;if(r=oe.lookupNode(r,i[_]),t=U.join2(t,i[_]),oe.isMountpoint(r)&&(!o||o&&a.follow_mount)&&(r=r.mounted.root),!o||a.follow)for(var s=0;oe.isLink(r.mode);){var n=oe.readlink(t);if(t=H.resolve(U.dirname(t),n),r=oe.lookupPath(t,{recurse_count:a.recurse_count+1}).node,s++>40)throw new oe.ErrnoError(32)}}return{path:t,node:r}},getPath(e){for(var a;;){if(oe.isRoot(e)){var i=e.mount.mountpoint;return a?"/"!==i[i.length-1]?`${i}/${a}`:i+a:i}a=a?`${e.name}/${a}`:e.name,e=e.parent}},hashName(e,a){for(var i=0,r=0;r<a.length;r++)i=(i<<5)-i+a.charCodeAt(r)|0;return(e+i>>>0)%oe.nameTable.length},hashAddNode(e){var a=oe.hashName(e.parent.id,e.name);e.name_next=oe.nameTable[a],oe.nameTable[a]=e},hashRemoveNode(e){var a=oe.hashName(e.parent.id,e.name);if(oe.nameTable[a]===e)oe.nameTable[a]=e.name_next;else for(var i=oe.nameTable[a];i;){if(i.name_next===e){i.name_next=e.name_next;break}i=i.name_next}},lookupNode(e,a){var i=oe.mayLookup(e);if(i)throw new oe.ErrnoError(i);for(var r=oe.hashName(e.id,a),t=oe.nameTable[r];t;t=t.name_next){var _=t.name;if(t.parent.id===e.id&&_===a)return t}return oe.lookup(e,a)},createNode(e,a,i,r){var t=new oe.FSNode(e,a,i,r);return oe.hashAddNode(t),t},destroyNode(e){oe.hashRemoveNode(e)},isRoot:e=>e===e.parent,isMountpoint:e=>!!e.mounted,isFile:e=>32768==(61440&e),isDir:e=>16384==(61440&e),isLink:e=>40960==(61440&e),isChrdev:e=>8192==(61440&e),isBlkdev:e=>24576==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>49152==(49152&e),flagsToPermissionString(e){var a=["r","w","rw"][3&e];return 512&e&&(a+="w"),a},nodePermissions:(e,a)=>oe.ignorePermissions||(!a.includes("r")||292&e.mode)&&(!a.includes("w")||146&e.mode)&&(!a.includes("x")||73&e.mode)?0:2,mayLookup:e=>oe.isDir(e.mode)?oe.nodePermissions(e,"x")||(e.node_ops.lookup?0:2):54,mayCreate(e,a){try{return oe.lookupNode(e,a),20}catch(e){}return oe.nodePermissions(e,"wx")},mayDelete(e,a,i){var r;try{r=oe.lookupNode(e,a)}catch(e){return e.errno}var t=oe.nodePermissions(e,"wx");if(t)return t;if(i){if(!oe.isDir(r.mode))return 54;if(oe.isRoot(r)||oe.getPath(r)===oe.cwd())return 10}else if(oe.isDir(r.mode))return 31;return 0},mayOpen:(e,a)=>e?oe.isLink(e.mode)?32:oe.isDir(e.mode)&&("r"!==oe.flagsToPermissionString(a)||512&a)?31:oe.nodePermissions(e,oe.flagsToPermissionString(a)):44,MAX_OPEN_FDS:4096,nextfd(){for(var e=0;e<=oe.MAX_OPEN_FDS;e++)if(!oe.streams[e])return e;throw new oe.ErrnoError(33)},getStreamChecked(e){var a=oe.getStream(e);if(!a)throw new oe.ErrnoError(8);return a},getStream:e=>oe.streams[e],createStream:(e,a=-1)=>(oe.FSStream||(oe.FSStream=function(){this.shared={}},oe.FSStream.prototype={},Object.defineProperties(oe.FSStream.prototype,{object:{get(){return this.node},set(e){this.node=e}},isRead:{get(){return 1!=(2097155&this.flags)}},isWrite:{get(){return 0!=(2097155&this.flags)}},isAppend:{get(){return 1024&this.flags}},flags:{get(){return this.shared.flags},set(e){this.shared.flags=e}},position:{get(){return this.shared.position},set(e){this.shared.position=e}}})),e=Object.assign(new oe.FSStream,e),-1==a&&(a=oe.nextfd()),e.fd=a,oe.streams[a]=e,e),closeStream(e){oe.streams[e]=null},chrdev_stream_ops:{open(e){var a=oe.getDevice(e.node.rdev);e.stream_ops=a.stream_ops,e.stream_ops.open?.(e)},llseek(){throw new oe.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,a)=>e<<8|a,registerDevice(e,a){oe.devices[e]={stream_ops:a}},getDevice:e=>oe.devices[e],getMounts(e){for(var a=[],i=[e];i.length;){var r=i.pop();a.push(r),i.push.apply(i,r.mounts)}return a},syncfs(e,a){"function"==typeof e&&(a=e,e=!1),oe.syncFSRequests++,oe.syncFSRequests>1&&h(`warning: ${oe.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var i=oe.getMounts(oe.root.mount),r=0;function t(e){return oe.syncFSRequests--,a(e)}function _(e){if(e)return _.errored?void 0:(_.errored=!0,t(e));++r>=i.length&&t(null)}i.forEach((a=>{if(!a.type.syncfs)return _(null);a.type.syncfs(a,e,_)}))},mount(e,a,i){var r,t="/"===i,_=!i;if(t&&oe.root)throw new oe.ErrnoError(10);if(!t&&!_){var o=oe.lookupPath(i,{follow_mount:!1});if(i=o.path,r=o.node,oe.isMountpoint(r))throw new oe.ErrnoError(10);if(!oe.isDir(r.mode))throw new oe.ErrnoError(54)}var s={type:e,opts:a,mountpoint:i,mounts:[]},n=e.mount(s);return n.mount=s,s.root=n,t?oe.root=n:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),n},unmount(e){var a=oe.lookupPath(e,{follow_mount:!1});if(!oe.isMountpoint(a.node))throw new oe.ErrnoError(28);var i=a.node,r=i.mounted,t=oe.getMounts(r);Object.keys(oe.nameTable).forEach((e=>{for(var a=oe.nameTable[e];a;){var i=a.name_next;t.includes(a.mount)&&oe.destroyNode(a),a=i}})),i.mounted=null;var _=i.mount.mounts.indexOf(r);i.mount.mounts.splice(_,1)},lookup:(e,a)=>e.node_ops.lookup(e,a),mknod(e,a,i){var r=oe.lookupPath(e,{parent:!0}).node,t=U.basename(e);if(!t||"."===t||".."===t)throw new oe.ErrnoError(28);var _=oe.mayCreate(r,t);if(_)throw new oe.ErrnoError(_);if(!r.node_ops.mknod)throw new oe.ErrnoError(63);return r.node_ops.mknod(r,t,a,i)},create:(e,a)=>(a=void 0!==a?a:438,a&=4095,a|=32768,oe.mknod(e,a,0)),mkdir:(e,a)=>(a=void 0!==a?a:511,a&=1023,a|=16384,oe.mknod(e,a,0)),mkdirTree(e,a){for(var i=e.split("/"),r="",t=0;t<i.length;++t)if(i[t]){r+="/"+i[t];try{oe.mkdir(r,a)}catch(e){if(20!=e.errno)throw e}}},mkdev:(e,a,i)=>(void 0===i&&(i=a,a=438),a|=8192,oe.mknod(e,a,i)),symlink(e,a){if(!H.resolve(e))throw new oe.ErrnoError(44);var i=oe.lookupPath(a,{parent:!0}).node;if(!i)throw new oe.ErrnoError(44);var r=U.basename(a),t=oe.mayCreate(i,r);if(t)throw new oe.ErrnoError(t);if(!i.node_ops.symlink)throw new oe.ErrnoError(63);return i.node_ops.symlink(i,r,e)},rename(e,a){var i,r,t=U.dirname(e),_=U.dirname(a),o=U.basename(e),s=U.basename(a);if(i=oe.lookupPath(e,{parent:!0}).node,r=oe.lookupPath(a,{parent:!0}).node,!i||!r)throw new oe.ErrnoError(44);if(i.mount!==r.mount)throw new oe.ErrnoError(75);var n,c=oe.lookupNode(i,o),E=H.relative(e,_);if("."!==E.charAt(0))throw new oe.ErrnoError(28);if("."!==(E=H.relative(a,t)).charAt(0))throw new oe.ErrnoError(55);try{n=oe.lookupNode(r,s)}catch(e){}if(c!==n){var l=oe.isDir(c.mode),b=oe.mayDelete(i,o,l);if(b)throw new oe.ErrnoError(b);if(b=n?oe.mayDelete(r,s,l):oe.mayCreate(r,s))throw new oe.ErrnoError(b);if(!i.node_ops.rename)throw new oe.ErrnoError(63);if(oe.isMountpoint(c)||n&&oe.isMountpoint(n))throw new oe.ErrnoError(10);if(r!==i&&(b=oe.nodePermissions(i,"w")))throw new oe.ErrnoError(b);oe.hashRemoveNode(c);try{i.node_ops.rename(c,r,s)}catch(e){throw e}finally{oe.hashAddNode(c)}}},rmdir(e){var a=oe.lookupPath(e,{parent:!0}).node,i=U.basename(e),r=oe.lookupNode(a,i),t=oe.mayDelete(a,i,!0);if(t)throw new oe.ErrnoError(t);if(!a.node_ops.rmdir)throw new oe.ErrnoError(63);if(oe.isMountpoint(r))throw new oe.ErrnoError(10);a.node_ops.rmdir(a,i),oe.destroyNode(r)},readdir(e){var a=oe.lookupPath(e,{follow:!0}).node;if(!a.node_ops.readdir)throw new oe.ErrnoError(54);return a.node_ops.readdir(a)},unlink(e){var a=oe.lookupPath(e,{parent:!0}).node;if(!a)throw new oe.ErrnoError(44);var i=U.basename(e),r=oe.lookupNode(a,i),t=oe.mayDelete(a,i,!1);if(t)throw new oe.ErrnoError(t);if(!a.node_ops.unlink)throw new oe.ErrnoError(63);if(oe.isMountpoint(r))throw new oe.ErrnoError(10);a.node_ops.unlink(a,i),oe.destroyNode(r)},readlink(e){var a=oe.lookupPath(e).node;if(!a)throw new oe.ErrnoError(44);if(!a.node_ops.readlink)throw new oe.ErrnoError(28);return H.resolve(oe.getPath(a.parent),a.node_ops.readlink(a))},stat(e,a){var i=oe.lookupPath(e,{follow:!a}).node;if(!i)throw new oe.ErrnoError(44);if(!i.node_ops.getattr)throw new oe.ErrnoError(63);return i.node_ops.getattr(i)},lstat:e=>oe.stat(e,!0),chmod(e,a,i){var r;if(!(r="string"==typeof e?oe.lookupPath(e,{follow:!i}).node:e).node_ops.setattr)throw new oe.ErrnoError(63);r.node_ops.setattr(r,{mode:4095&a|-4096&r.mode,timestamp:Date.now()})},lchmod(e,a){oe.chmod(e,a,!0)},fchmod(e,a){var i=oe.getStreamChecked(e);oe.chmod(i.node,a)},chown(e,a,i,r){var t;if(!(t="string"==typeof e?oe.lookupPath(e,{follow:!r}).node:e).node_ops.setattr)throw new oe.ErrnoError(63);t.node_ops.setattr(t,{timestamp:Date.now()})},lchown(e,a,i){oe.chown(e,a,i,!0)},fchown(e,a,i){var r=oe.getStreamChecked(e);oe.chown(r.node,a,i)},truncate(e,a){if(a<0)throw new oe.ErrnoError(28);var i;if(!(i="string"==typeof e?oe.lookupPath(e,{follow:!0}).node:e).node_ops.setattr)throw new oe.ErrnoError(63);if(oe.isDir(i.mode))throw new oe.ErrnoError(31);if(!oe.isFile(i.mode))throw new oe.ErrnoError(28);var r=oe.nodePermissions(i,"w");if(r)throw new oe.ErrnoError(r);i.node_ops.setattr(i,{size:a,timestamp:Date.now()})},ftruncate(e,a){var i=oe.getStreamChecked(e);if(0==(2097155&i.flags))throw new oe.ErrnoError(28);oe.truncate(i.node,a)},utime(e,a,i){var r=oe.lookupPath(e,{follow:!0}).node;r.node_ops.setattr(r,{timestamp:Math.max(a,i)})},open(e,a,i){if(""===e)throw new oe.ErrnoError(44);var r;if(i=void 0===i?438:i,i=64&(a="string"==typeof a?(e=>{var a={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===a)throw new Error(`Unknown file open mode: ${e}`);return a})(a):a)?4095&i|32768:0,"object"==typeof e)r=e;else{e=U.normalize(e);try{r=oe.lookupPath(e,{follow:!(131072&a)}).node}catch(e){}}var _=!1;if(64&a)if(r){if(128&a)throw new oe.ErrnoError(20)}else r=oe.mknod(e,i,0),_=!0;if(!r)throw new oe.ErrnoError(44);if(oe.isChrdev(r.mode)&&(a&=-513),65536&a&&!oe.isDir(r.mode))throw new oe.ErrnoError(54);if(!_){var o=oe.mayOpen(r,a);if(o)throw new oe.ErrnoError(o)}512&a&&!_&&oe.truncate(r,0),a&=-131713;var s=oe.createStream({node:r,path:oe.getPath(r),flags:a,seekable:!0,position:0,stream_ops:r.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),!t.logReadFiles||1&a||(oe.readFiles||(oe.readFiles={}),e in oe.readFiles||(oe.readFiles[e]=1)),s},close(e){if(oe.isClosed(e))throw new oe.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{oe.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,a,i){if(oe.isClosed(e))throw new oe.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new oe.ErrnoError(70);if(0!=i&&1!=i&&2!=i)throw new oe.ErrnoError(28);return e.position=e.stream_ops.llseek(e,a,i),e.ungotten=[],e.position},read(e,a,i,r,t){if(r<0||t<0)throw new oe.ErrnoError(28);if(oe.isClosed(e))throw new oe.ErrnoError(8);if(1==(2097155&e.flags))throw new oe.ErrnoError(8);if(oe.isDir(e.node.mode))throw new oe.ErrnoError(31);if(!e.stream_ops.read)throw new oe.ErrnoError(28);var _=void 0!==t;if(_){if(!e.seekable)throw new oe.ErrnoError(70)}else t=e.position;var o=e.stream_ops.read(e,a,i,r,t);return _||(e.position+=o),o},write(e,a,i,r,t,_){if(r<0||t<0)throw new oe.ErrnoError(28);if(oe.isClosed(e))throw new oe.ErrnoError(8);if(0==(2097155&e.flags))throw new oe.ErrnoError(8);if(oe.isDir(e.node.mode))throw new oe.ErrnoError(31);if(!e.stream_ops.write)throw new oe.ErrnoError(28);e.seekable&&1024&e.flags&&oe.llseek(e,0,2);var o=void 0!==t;if(o){if(!e.seekable)throw new oe.ErrnoError(70)}else t=e.position;var s=e.stream_ops.write(e,a,i,r,t,_);return o||(e.position+=s),s},allocate(e,a,i){if(oe.isClosed(e))throw new oe.ErrnoError(8);if(a<0||i<=0)throw new oe.ErrnoError(28);if(0==(2097155&e.flags))throw new oe.ErrnoError(8);if(!oe.isFile(e.node.mode)&&!oe.isDir(e.node.mode))throw new oe.ErrnoError(43);if(!e.stream_ops.allocate)throw new oe.ErrnoError(138);e.stream_ops.allocate(e,a,i)},mmap(e,a,i,r,t){if(0!=(2&r)&&0==(2&t)&&2!=(2097155&e.flags))throw new oe.ErrnoError(2);if(1==(2097155&e.flags))throw new oe.ErrnoError(2);if(!e.stream_ops.mmap)throw new oe.ErrnoError(43);return e.stream_ops.mmap(e,a,i,r,t)},msync:(e,a,i,r,t)=>e.stream_ops.msync?e.stream_ops.msync(e,a,i,r,t):0,munmap:e=>0,ioctl(e,a,i){if(!e.stream_ops.ioctl)throw new oe.ErrnoError(59);return e.stream_ops.ioctl(e,a,i)},readFile(e,a={}){if(a.flags=a.flags||0,a.encoding=a.encoding||"binary","utf8"!==a.encoding&&"binary"!==a.encoding)throw new Error(`Invalid encoding type "${a.encoding}"`);var i,r=oe.open(e,a.flags),t=oe.stat(e).size,_=new Uint8Array(t);return oe.read(r,_,0,t,0),"utf8"===a.encoding?i=X(_,0):"binary"===a.encoding&&(i=_),oe.close(r),i},writeFile(e,a,i={}){i.flags=i.flags||577;var r=oe.open(e,i.flags,i.mode);if("string"==typeof a){var t=new Uint8Array(J(a)+1),_=$(a,t,0,t.length);oe.write(r,t,0,_,void 0,i.canOwn)}else{if(!ArrayBuffer.isView(a))throw new Error("Unsupported data type");oe.write(r,a,0,a.byteLength,void 0,i.canOwn)}oe.close(r)},cwd:()=>oe.currentPath,chdir(e){var a=oe.lookupPath(e,{follow:!0});if(null===a.node)throw new oe.ErrnoError(44);if(!oe.isDir(a.node.mode))throw new oe.ErrnoError(54);var i=oe.nodePermissions(a.node,"x");if(i)throw new oe.ErrnoError(i);oe.currentPath=a.path},createDefaultDirectories(){oe.mkdir("/tmp"),oe.mkdir("/home"),oe.mkdir("/home/web_user")},createDefaultDevices(){oe.mkdir("/dev"),oe.registerDevice(oe.makedev(1,3),{read:()=>0,write:(e,a,i,r,t)=>r}),oe.mkdev("/dev/null",oe.makedev(1,3)),ae.register(oe.makedev(5,0),ae.default_tty_ops),ae.register(oe.makedev(6,0),ae.default_tty1_ops),oe.mkdev("/dev/tty",oe.makedev(5,0)),oe.mkdev("/dev/tty1",oe.makedev(6,0));var e=new Uint8Array(1024),a=0,i=()=>(0===a&&(a=q(e).byteLength),e[--a]);oe.createDevice("/dev","random",i),oe.createDevice("/dev","urandom",i),oe.mkdir("/dev/shm"),oe.mkdir("/dev/shm/tmp")},createSpecialDirectories(){oe.mkdir("/proc");var e=oe.mkdir("/proc/self");oe.mkdir("/proc/self/fd"),oe.mount({mount(){var a=oe.createNode(e,"fd",16895,73);return a.node_ops={lookup(e,a){var i=+a,r=oe.getStreamChecked(i),t={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>r.path}};return t.parent=t,t}},a}},{},"/proc/self/fd")},createStandardStreams(){t.stdin?oe.createDevice("/dev","stdin",t.stdin):oe.symlink("/dev/tty","/dev/stdin"),t.stdout?oe.createDevice("/dev","stdout",null,t.stdout):oe.symlink("/dev/tty","/dev/stdout"),t.stderr?oe.createDevice("/dev","stderr",null,t.stderr):oe.symlink("/dev/tty1","/dev/stderr"),oe.open("/dev/stdin",0),oe.open("/dev/stdout",1),oe.open("/dev/stderr",1)},staticInit(){[44].forEach((e=>{oe.genericErrors[e]=new oe.ErrnoError(e),oe.genericErrors[e].stack="<generic error, no stack>"})),oe.nameTable=new Array(4096),oe.mount(re,{},"/"),oe.createDefaultDirectories(),oe.createDefaultDevices(),oe.createSpecialDirectories(),oe.filesystems={MEMFS:re}},init(e,a,i){oe.init.initialized=!0,t.stdin=e||t.stdin,t.stdout=a||t.stdout,t.stderr=i||t.stderr,oe.createStandardStreams()},quit(){oe.init.initialized=!1;for(var e=0;e<oe.streams.length;e++){var a=oe.streams[e];a&&oe.close(a)}},findObject(e,a){var i=oe.analyzePath(e,a);return i.exists?i.object:null},analyzePath(e,a){try{e=(r=oe.lookupPath(e,{follow:!a})).path}catch(e){}var i={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var r=oe.lookupPath(e,{parent:!0});i.parentExists=!0,i.parentPath=r.path,i.parentObject=r.node,i.name=U.basename(e),r=oe.lookupPath(e,{follow:!a}),i.exists=!0,i.path=r.path,i.object=r.node,i.name=r.node.name,i.isRoot="/"===r.path}catch(e){i.error=e.errno}return i},createPath(e,a,i,r){e="string"==typeof e?e:oe.getPath(e);for(var t=a.split("/").reverse();t.length;){var _=t.pop();if(_){var o=U.join2(e,_);try{oe.mkdir(o)}catch(e){}e=o}}return o},createFile(e,a,i,r,t){var _=U.join2("string"==typeof e?e:oe.getPath(e),a),o=_e(r,t);return oe.create(_,o)},createDataFile(e,a,i,r,t,_){var o=a;e&&(e="string"==typeof e?e:oe.getPath(e),o=a?U.join2(e,a):e);var s=_e(r,t),n=oe.create(o,s);if(i){if("string"==typeof i){for(var c=new Array(i.length),E=0,l=i.length;E<l;++E)c[E]=i.charCodeAt(E);i=c}oe.chmod(n,146|s);var b=oe.open(n,577);oe.write(b,i,0,i.length,0,_),oe.close(b),oe.chmod(n,s)}},createDevice(e,a,i,r){var t=U.join2("string"==typeof e?e:oe.getPath(e),a),_=_e(!!i,!!r);oe.createDevice.major||(oe.createDevice.major=64);var o=oe.makedev(oe.createDevice.major++,0);return oe.registerDevice(o,{open(e){e.seekable=!1},close(e){r?.buffer?.length&&r(10)},read(e,a,r,t,_){for(var o=0,s=0;s<t;s++){var n;try{n=i()}catch(e){throw new oe.ErrnoError(29)}if(void 0===n&&0===o)throw new oe.ErrnoError(6);if(null==n)break;o++,a[r+s]=n}return o&&(e.node.timestamp=Date.now()),o},write(e,a,i,t,_){for(var o=0;o<t;o++)try{r(a[i+o])}catch(e){throw new oe.ErrnoError(29)}return t&&(e.node.timestamp=Date.now()),o}}),oe.mkdev(t,_,o)},forceLoadFile(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!_)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Q(_(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new oe.ErrnoError(29)}},createLazyFile(e,a,i,r,t){function _(){this.lengthKnown=!1,this.chunks=[]}if(_.prototype.get=function(e){if(!(e>this.length-1||e<0)){var a=e%this.chunkSize,i=e/this.chunkSize|0;return this.getter(i)[a]}},_.prototype.setDataGetter=function(e){this.getter=e},_.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",i,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn\'t load "+i+". Status: "+e.status);var a,r=Number(e.getResponseHeader("Content-length")),t=(a=e.getResponseHeader("Accept-Ranges"))&&"bytes"===a,_=(a=e.getResponseHeader("Content-Encoding"))&&"gzip"===a,o=1048576;t||(o=r);var s=this;s.setDataGetter((e=>{var a=e*o,t=(e+1)*o-1;if(t=Math.min(t,r-1),void 0===s.chunks[e]&&(s.chunks[e]=((e,a)=>{if(e>a)throw new Error("invalid range ("+e+", "+a+") or no bytes requested!");if(a>r-1)throw new Error("only "+r+" bytes available! programmer error!");var t=new XMLHttpRequest;if(t.open("GET",i,!1),r!==o&&t.setRequestHeader("Range","bytes="+e+"-"+a),t.responseType="arraybuffer",t.overrideMimeType&&t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn\'t load "+i+". Status: "+t.status);return void 0!==t.response?new Uint8Array(t.response||[]):Q(t.responseText||"",!0)})(a,t)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!_&&r||(o=r=1,r=this.getter(0).length,o=r,v("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=o,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){var o=new _;Object.defineProperties(o,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:o}}else s={isDevice:!1,url:i};var n=oe.createFile(e,a,s,r,t);s.contents?n.contents=s.contents:s.url&&(n.contents=null,n.url=s.url),Object.defineProperties(n,{usedBytes:{get:function(){return this.contents.length}}});var c={};function E(e,a,i,r,t){var _=e.node.contents;if(t>=_.length)return 0;var o=Math.min(_.length-t,r);if(_.slice)for(var s=0;s<o;s++)a[i+s]=_[t+s];else for(s=0;s<o;s++)a[i+s]=_.get(t+s);return o}return Object.keys(n.stream_ops).forEach((e=>{var a=n.stream_ops[e];c[e]=function(){return oe.forceLoadFile(n),a.apply(null,arguments)}})),c.read=(e,a,i,r,t)=>(oe.forceLoadFile(n),E(e,a,i,r,t)),c.mmap=(e,a,i,r,t)=>{oe.forceLoadFile(n);var _=ie();if(!_)throw new oe.ErrnoError(48);return E(e,N,_,a,i),{ptr:_,allocated:!0}},n.stream_ops=c,n}},se=(e,a)=>e?X(m,e,a):"",ne={DEFAULT_POLLMASK:5,calculateAt(e,a,i){if(U.isAbs(a))return a;var r;if(r=-100===e?oe.cwd():ne.getStreamFromFD(e).path,0==a.length){if(!i)throw new oe.ErrnoError(44);return r}return U.join2(r,a)},doStat(e,a,i){var r=e(a);g[i>>2]=r.dev,g[i+4>>2]=r.mode,f[i+8>>2]=r.nlink,g[i+12>>2]=r.uid,g[i+16>>2]=r.gid,g[i+20>>2]=r.rdev,j=[r.size>>>0,(L=r.size,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[i+24>>2]=j[0],g[i+28>>2]=j[1],g[i+32>>2]=4096,g[i+36>>2]=r.blocks;var t=r.atime.getTime(),_=r.mtime.getTime(),o=r.ctime.getTime();return j=[Math.floor(t/1e3)>>>0,(L=Math.floor(t/1e3),+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[i+40>>2]=j[0],g[i+44>>2]=j[1],f[i+48>>2]=t%1e3*1e3,j=[Math.floor(_/1e3)>>>0,(L=Math.floor(_/1e3),+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[i+56>>2]=j[0],g[i+60>>2]=j[1],f[i+64>>2]=_%1e3*1e3,j=[Math.floor(o/1e3)>>>0,(L=Math.floor(o/1e3),+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[i+72>>2]=j[0],g[i+76>>2]=j[1],f[i+80>>2]=o%1e3*1e3,j=[r.ino>>>0,(L=r.ino,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[i+88>>2]=j[0],g[i+92>>2]=j[1],0},doMsync(e,a,i,r,t){if(!oe.isFile(a.node.mode))throw new oe.ErrnoError(43);if(2&r)return 0;var _=m.slice(e,e+i);oe.msync(a,_,t,i,r)},varargs:void 0,get(){var e=g[+ne.varargs>>2];return ne.varargs+=4,e},getp:()=>ne.get(),getStr:e=>se(e),getStreamFromFD:e=>oe.getStreamChecked(e)},ce=(e,a,i)=>$(e,m,a,i),Ee=(e,a)=>a+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*a:NaN,le=e=>e%4==0&&(e%100!=0||e%400==0),be=[0,31,60,91,121,152,182,213,244,274,305,335],de=[0,31,59,90,120,151,181,212,243,273,304,334],ve=e=>{var a=J(e)+1,i=qe(a);return i&&ce(e,i,a),i},he=e=>{if(e instanceof D||"unwind"==e)return p;E(1,e)},pe=()=>G||!1,Ne=(e,a)=>{var i;p=e,p=i=e,pe()||(t.onExit?.(i),z=!0),E(i,new D(i))},me=e=>{if(!z)try{e(),(()=>{if(!pe())try{Ne(p)}catch(e){he(e)}})()}catch(e){he(e)}},ue=(e,a)=>setTimeout((()=>{me(e)}),a),Se=(e,a)=>{if(fe.mainLoop.timingMode=e,fe.mainLoop.timingValue=a,!fe.mainLoop.func)return 1;if(fe.mainLoop.running||(fe.mainLoop.running=!0),0==e)fe.mainLoop.scheduler=function(){var e=0|Math.max(0,fe.mainLoop.tickStartTime+a-ee());setTimeout(fe.mainLoop.runner,e)},fe.mainLoop.method="timeout";else if(1==e)fe.mainLoop.scheduler=function(){fe.requestAnimationFrame(fe.mainLoop.runner)},fe.mainLoop.method="rAF";else if(2==e){if(void 0===fe.setImmediate)if("undefined"==typeof setImmediate){var i=[],r="setimmediate";addEventListener("message",(e=>{e.data!==r&&e.data.target!==r||(e.stopPropagation(),i.shift()())}),!0),fe.setImmediate=function(e){i.push(e),void 0===t.setImmediates&&(t.setImmediates=[]),t.setImmediates.push(e),postMessage({target:r})}}else fe.setImmediate=setImmediate;fe.mainLoop.scheduler=function(){fe.setImmediate(fe.mainLoop.runner)},fe.mainLoop.method="immediate"}return 0};ee=()=>performance.now();var ge,fe={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause(){fe.mainLoop.scheduler=null,fe.mainLoop.currentlyRunningMainloop++},resume(){fe.mainLoop.currentlyRunningMainloop++;var e=fe.mainLoop.timingMode,a=fe.mainLoop.timingValue,i=fe.mainLoop.func;fe.mainLoop.func=null,((e,a,i,r,t)=>{w(!fe.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),fe.mainLoop.func=e,fe.mainLoop.arg=r;var _=fe.mainLoop.currentlyRunningMainloop;function o(){return!(_<fe.mainLoop.currentlyRunningMainloop)}fe.mainLoop.running=!1,fe.mainLoop.runner=function(){if(!z)if(fe.mainLoop.queue.length>0){Date.now();var a=fe.mainLoop.queue.shift();if(a.func(a.arg),fe.mainLoop.remainingBlockers){var i=fe.mainLoop.remainingBlockers,r=i%1==0?i-1:Math.floor(i);a.counted?fe.mainLoop.remainingBlockers=r:(r+=.5,fe.mainLoop.remainingBlockers=(8*i+r)/9)}if(fe.mainLoop.updateStatus(),!o())return;setTimeout(fe.mainLoop.runner,0)}else o()&&(fe.mainLoop.currentFrameNumber=fe.mainLoop.currentFrameNumber+1|0,1==fe.mainLoop.timingMode&&fe.mainLoop.timingValue>1&&fe.mainLoop.currentFrameNumber%fe.mainLoop.timingValue!=0?fe.mainLoop.scheduler():(0==fe.mainLoop.timingMode&&(fe.mainLoop.tickStartTime=ee()),fe.mainLoop.runIter(e),o()&&("object"==typeof SDL&&SDL.audio?.queueNewAudioData?.(),fe.mainLoop.scheduler())))}})(i,0,0,fe.mainLoop.arg),Se(e,a),fe.mainLoop.scheduler()},updateStatus(){if(t.setStatus){var e=t.statusMessage||"Please wait...",a=fe.mainLoop.remainingBlockers,i=fe.mainLoop.expectedBlockers;a?a<i?t.setStatus(e+" ("+(i-a)+"/"+i+")"):t.setStatus(e):t.setStatus("")}},runIter(e){if(!z){if(t.preMainLoop&&!1===t.preMainLoop())return;me(e),t.postMainLoop?.()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init(){if(!fe.initted){fe.initted=!0;var e={canHandle:function(e){return!t.noImageDecoding&&/\\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,a,i,r){var t=new Blob([e],{type:fe.getMimetype(a)});t.size!==e.length&&(t=new Blob([new Uint8Array(e).buffer],{type:fe.getMimetype(a)}));var _=URL.createObjectURL(t),o=new Image;o.onload=()=>{w(o.complete,`Image ${a} could not be decoded`);var r=document.createElement("canvas");r.width=o.width,r.height=o.height,r.getContext("2d").drawImage(o,0,0),Be[a]=r,URL.revokeObjectURL(_),i?.(e)},o.onerror=e=>{h(`Image ${_} could not be decoded`),r?.()},o.src=_}};te.push(e);var a={canHandle:function(e){return!t.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,a,i,r){var t=!1;function _(r){t||(t=!0,Oe[a]=r,i?.(e))}var o=new Blob([e],{type:fe.getMimetype(a)}),s=URL.createObjectURL(o),n=new Audio;n.addEventListener("canplaythrough",(()=>_(n)),!1),n.onerror=function(i){t||(h(`warning: browser could not fully decode audio ${a}, trying slower base64 approach`),n.src="data:audio/x-"+a.substr(-3)+";base64,"+function(e){for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="",r=0,t=0,_=0;_<e.length;_++)for(r=r<<8|e[_],t+=8;t>=6;){var o=r>>t-6&63;t-=6,i+=a[o]}return 2==t?(i+=a[(3&r)<<4],i+="=="):4==t&&(i+=a[(15&r)<<2],i+="="),i}(e),_(n))},n.src=s,ue((()=>{_(n)}),1e4)}};te.push(a);var i=t.canvas;i&&(i.requestPointerLock=i.requestPointerLock||i.mozRequestPointerLock||i.webkitRequestPointerLock||i.msRequestPointerLock||(()=>{}),i.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||(()=>{}),i.exitPointerLock=i.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",r,!1),document.addEventListener("mozpointerlockchange",r,!1),document.addEventListener("webkitpointerlockchange",r,!1),document.addEventListener("mspointerlockchange",r,!1),t.elementPointerLock&&i.addEventListener("click",(e=>{!fe.pointerLock&&t.canvas.requestPointerLock&&(t.canvas.requestPointerLock(),e.preventDefault())}),!1))}function r(){fe.pointerLock=document.pointerLockElement===t.canvas||document.mozPointerLockElement===t.canvas||document.webkitPointerLockElement===t.canvas||document.msPointerLockElement===t.canvas}},createContext(e,a,i,r){if(a&&t.ctx&&e==t.canvas)return t.ctx;var _,o;if(a){var s={antialias:!1,alpha:!1,majorVersion:1};if(r)for(var n in r)s[n]=r[n];void 0!==Ze&&(o=Ze.createContext(e,s))&&(_=Ze.getContext(o).GLctx)}else _=e.getContext("2d");return _?(i&&(a||w(void 0===Ce,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),t.ctx=_,a&&Ze.makeContextCurrent(o),t.useWebGL=a,fe.moduleContextCreatedCallbacks.forEach((e=>e())),fe.init()),_):null},destroyContext(e,a,i){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen(e,a){fe.lockPointer=e,fe.resizeCanvas=a,void 0===fe.lockPointer&&(fe.lockPointer=!0),void 0===fe.resizeCanvas&&(fe.resizeCanvas=!1);var i=t.canvas;function r(){fe.isFullscreen=!1;var e=i.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(i.exitFullscreen=fe.exitFullscreen,fe.lockPointer&&i.requestPointerLock(),fe.isFullscreen=!0,fe.resizeCanvas?fe.setFullscreenCanvasSize():fe.updateCanvasDimensions(i)):(e.parentNode.insertBefore(i,e),e.parentNode.removeChild(e),fe.resizeCanvas?fe.setWindowedCanvasSize():fe.updateCanvasDimensions(i)),t.onFullScreen?.(fe.isFullscreen),t.onFullscreen?.(fe.isFullscreen)}fe.fullscreenHandlersInstalled||(fe.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",r,!1),document.addEventListener("mozfullscreenchange",r,!1),document.addEventListener("webkitfullscreenchange",r,!1),document.addEventListener("MSFullscreenChange",r,!1));var _=document.createElement("div");i.parentNode.insertBefore(_,i),_.appendChild(i),_.requestFullscreen=_.requestFullscreen||_.mozRequestFullScreen||_.msRequestFullscreen||(_.webkitRequestFullscreen?()=>_.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(_.webkitRequestFullScreen?()=>_.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),_.requestFullscreen()},exitFullscreen:()=>!!fe.isFullscreen&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0),nextRAF:0,fakeRequestAnimationFrame(e){var a=Date.now();if(0===fe.nextRAF)fe.nextRAF=a+1e3/60;else for(;a+2>=fe.nextRAF;)fe.nextRAF+=1e3/60;var i=Math.max(fe.nextRAF-a,0);setTimeout(e,i)},requestAnimationFrame(e){"function"!=typeof requestAnimationFrame?(0,fe.fakeRequestAnimationFrame)(e):requestAnimationFrame(e)},safeSetTimeout:(e,a)=>ue(e,a),safeRequestAnimationFrame:e=>fe.requestAnimationFrame((()=>{me(e)})),getMimetype:e=>({jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]),getUserMedia(e){window.getUserMedia||=navigator.getUserMedia||navigator.mozGetUserMedia,window.getUserMedia(e)},getMovementX:e=>e.movementX||e.mozMovementX||e.webkitMovementX||0,getMovementY:e=>e.movementY||e.mozMovementY||e.webkitMovementY||0,getMouseWheelDelta(e){var a=0;switch(e.type){case"DOMMouseScroll":a=e.detail/3;break;case"mousewheel":a=e.wheelDelta/120;break;case"wheel":switch(a=e.deltaY,e.deltaMode){case 0:a/=100;break;case 1:a/=3;break;case 2:a*=80;break;default:throw"unrecognized mouse wheel delta mode: "+e.deltaMode}break;default:throw"unrecognized mouse wheel event: "+e.type}return a},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseCoords(e,a){var i=t.canvas.getBoundingClientRect(),r=t.canvas.width,_=t.canvas.height,o=void 0!==window.scrollX?window.scrollX:window.pageXOffset,s=void 0!==window.scrollY?window.scrollY:window.pageYOffset,n=e-(o+i.left),c=a-(s+i.top);return{x:n*=r/i.width,y:c*=_/i.height}},setMouseCoords(e,a){const{x:i,y:r}=fe.calculateMouseCoords(e,a);fe.mouseMovementX=i-fe.mouseX,fe.mouseMovementY=r-fe.mouseY,fe.mouseX=i,fe.mouseY=r},calculateMouseEvent(e){if(fe.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?fe.mouseMovementX=fe.mouseMovementY=0:(fe.mouseMovementX=fe.getMovementX(e),fe.mouseMovementY=fe.getMovementY(e)),"undefined"!=typeof SDL?(fe.mouseX=SDL.mouseX+fe.mouseMovementX,fe.mouseY=SDL.mouseY+fe.mouseMovementY):(fe.mouseX+=fe.mouseMovementX,fe.mouseY+=fe.mouseMovementY);else{if("touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var a=e.touch;if(void 0===a)return;var i=fe.calculateMouseCoords(a.pageX,a.pageY);if("touchstart"===e.type)fe.lastTouches[a.identifier]=i,fe.touches[a.identifier]=i;else if("touchend"===e.type||"touchmove"===e.type){var r=fe.touches[a.identifier];r||=i,fe.lastTouches[a.identifier]=r,fe.touches[a.identifier]=i}return}fe.setMouseCoords(e.pageX,e.pageY)}},resizeListeners:[],updateResizeListeners(){var e=t.canvas;fe.resizeListeners.forEach((a=>a(e.width,e.height)))},setCanvasSize(e,a,i){var r=t.canvas;fe.updateCanvasDimensions(r,e,a),i||fe.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize(){if("undefined"!=typeof SDL){var e=f[SDL.screen>>2];e|=8388608,g[SDL.screen>>2]=e}fe.updateCanvasDimensions(t.canvas),fe.updateResizeListeners()},setWindowedCanvasSize(){if("undefined"!=typeof SDL){var e=f[SDL.screen>>2];e&=-8388609,g[SDL.screen>>2]=e}fe.updateCanvasDimensions(t.canvas),fe.updateResizeListeners()},updateCanvasDimensions(e,a,i){a&&i?(e.widthNative=a,e.heightNative=i):(a=e.widthNative,i=e.heightNative);var r=a,_=i;if(t.forcedAspectRatio&&t.forcedAspectRatio>0&&(r/_<t.forcedAspectRatio?r=Math.round(_*t.forcedAspectRatio):_=Math.round(r/t.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var o=Math.min(screen.width/r,screen.height/_);r=Math.round(r*o),_=Math.round(_*o)}fe.resizeCanvas?(e.width!=r&&(e.width=r),e.height!=_&&(e.height=_),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=a&&(e.width=a),e.height!=i&&(e.height=i),void 0!==e.style&&(r!=a||_!=i?(e.style.setProperty("width",r+"px","important"),e.style.setProperty("height",_+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}},Ie=[],ye=e=>{var a=Ie[e];return a||(e>=Ie.length&&(Ie.length=e+1),Ie[e]=a=ge.get(e)),a},ze=e=>{var a=(e-d.buffer.byteLength+65535)/65536;try{return d.grow(a),P(),1}catch(e){}};class we{constructor(){this.allocated=[void 0],this.freelist=[]}get(e){return this.allocated[e]}has(e){return void 0!==this.allocated[e]}allocate(e){var a=this.freelist.pop()||this.allocated.length;return this.allocated[a]=e,a}free(e){this.allocated[e]=void 0,this.freelist.push(e)}}var Pe={openDatabase(e,a,i,r){try{var t=indexedDB.open(e,a)}catch(e){return r(e)}t.onupgradeneeded=e=>{var a=e.target.result;a.objectStoreNames.contains("FILES")&&a.deleteObjectStore("FILES"),a.createObjectStore("FILES")},t.onsuccess=e=>i(e.target.result),t.onerror=r},init(){Pe.xhrs=new we,C(),Pe.openDatabase("emscripten_filesystem",1,(e=>{Pe.dbInstance=e,B()}),(()=>{Pe.dbInstance=!1,B()}))}};function Ke(e,a,i,r,t){var _=f[e+8>>2];if(_){var o=se(_),s=e+112,n=se(s+0);n||="GET";var c=f[s+56>>2],E=f[s+68>>2],l=f[s+72>>2],b=f[s+76>>2],d=f[s+80>>2],v=f[s+84>>2],h=f[s+88>>2],p=f[s+52>>2],N=!!(1&p),u=!!(2&p),g=!!(64&p),I=E?se(E):void 0,y=l?se(l):void 0,z=new XMLHttpRequest;if(z.withCredentials=!!m[s+60>>0],z.open(n,o,!g,I,y),g||(z.timeout=c),z.url_=o,z.responseType="arraybuffer",d){var w=se(d);z.overrideMimeType(w)}if(b)for(;;){var P=f[b>>2];if(!P)break;var K=f[b+4>>2];if(!K)break;b+=8;var R=se(P),L=se(K);z.setRequestHeader(R,L)}var j=Pe.xhrs.allocate(z);f[e>>2]=j;var M=v&&h?m.slice(v,v+h):null;z.onload=r=>{Pe.xhrs.has(j)&&(Z(),z.status>=200&&z.status<300?a?.(e,z,r):i?.(e,z,r))},z.onerror=a=>{Pe.xhrs.has(j)&&(Z(),i?.(e,z,a))},z.ontimeout=a=>{Pe.xhrs.has(j)&&i?.(e,z,a)},z.onprogress=a=>{if(Pe.xhrs.has(j)){var i=N&&u&&z.response?z.response.byteLength:0,t=0;i>0&&N&&u&&(t=qe(i),m.set(new Uint8Array(z.response),t)),f[e+12>>2]=t,Re(e+16,i),Re(e+24,a.loaded-i),Re(e+32,a.total),S[e+40>>1]=z.readyState,z.readyState>=3&&0===z.status&&a.loaded>0&&(z.status=200),S[e+42>>1]=z.status,z.statusText&&ce(z.statusText,e+44,64),r?.(e,z,a),t&&Ue(t)}},z.onreadystatechange=a=>{Pe.xhrs.has(j)&&(S[e+40>>1]=z.readyState,z.readyState>=2&&(S[e+42>>1]=z.status),t?.(e,z,a))};try{z.send(M)}catch(a){i?.(e,z,a)}}else i(e,0,"no url specified!");function Z(){var a=0,i=0;z.response&&N&&0===f[e+12>>2]&&(i=z.response.byteLength),i>0&&(a=qe(i),m.set(new Uint8Array(z.response),a)),f[e+12>>2]=a,Re(e+16,i),Re(e+24,0);var r=z.response?z.response.byteLength:0;r&&Re(e+32,r),S[e+40>>1]=z.readyState,S[e+42>>1]=z.status,z.statusText&&ce(z.statusText,e+44,64)}}var Re=(e,a)=>{f[e>>2]=a;var i=f[e>>2];f[e+4>>2]=(a-i)/4294967296};function Le(e,a,i,r,t){if(e){var _=f[a+112+64>>2];_||=f[a+8>>2];var o=se(_);try{var s=e.transaction(["FILES"],"readwrite").objectStore("FILES").put(i,o);s.onsuccess=e=>{S[a+40>>1]=4,S[a+42>>1]=200,ce("OK",a+44,64),r(a,0,o)},s.onerror=e=>{S[a+40>>1]=4,S[a+42>>1]=413,ce("Payload Too Large",a+44,64),t(a,0,e)}}catch(e){t(a,0,e)}}else t(a,0,"IndexedDB not available!")}var je={},Me=()=>{if(!Me.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:c||"./this.program"};for(var a in je)void 0===je[a]?delete e[a]:e[a]=je[a];var i=[];for(var a in e)i.push(`${a}=${e[a]}`);Me.strings=i}return Me.strings},Ze={counter:1,buffers:[],programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],stringCache:{},unpackAlignment:4,recordError:function(e){Ze.lastError||(Ze.lastError=e)},getNewId:e=>{for(var a=Ze.counter++,i=e.length;i<a;i++)e[i]=null;return a},getSource:(e,a,i,r)=>{for(var t="",_=0;_<a;++_){var o=r?f[r+4*_>>2]:void 0;t+=se(f[i+4*_>>2],o)}return t},createContext:(e,a)=>{if(!e.getContextSafariWebGL2Fixed){function r(a,i){var r=e.getContextSafariWebGL2Fixed(a,i);return"webgl"==a==r instanceof WebGLRenderingContext?r:null}e.getContextSafariWebGL2Fixed=e.getContext,e.getContext=r}var i=e.getContext("webgl",a);return i?Ze.registerContext(i,a):0},registerContext:(e,a)=>{var i=Ze.getNewId(Ze.contexts),r={handle:i,attributes:a,version:a.majorVersion,GLctx:e};return e.canvas&&(e.canvas.GLctxObject=r),Ze.contexts[i]=r,(void 0===a.enableExtensionsByDefault||a.enableExtensionsByDefault)&&Ze.initExtensions(r),i},makeContextCurrent:e=>(Ze.currentContext=Ze.contexts[e],t.ctx=Ce=Ze.currentContext?.GLctx,!(e&&!Ce)),getContext:e=>Ze.contexts[e],deleteContext:e=>{Ze.currentContext===Ze.contexts[e]&&(Ze.currentContext=null),"object"==typeof JSEvents&&JSEvents.removeAllHandlersOnTarget(Ze.contexts[e].GLctx.canvas),Ze.contexts[e]&&Ze.contexts[e].GLctx.canvas&&(Ze.contexts[e].GLctx.canvas.GLctxObject=void 0),Ze.contexts[e]=null},initExtensions:e=>{if(e||=Ze.currentContext,!e.initExtensionsDone){e.initExtensionsDone=!0;var a=e.GLctx;(e=>{var a=e.getExtension("ANGLE_instanced_arrays");a&&(e.vertexAttribDivisor=(e,i)=>a.vertexAttribDivisorANGLE(e,i),e.drawArraysInstanced=(e,i,r,t)=>a.drawArraysInstancedANGLE(e,i,r,t),e.drawElementsInstanced=(e,i,r,t,_)=>a.drawElementsInstancedANGLE(e,i,r,t,_))})(a),(e=>{var a=e.getExtension("OES_vertex_array_object");a&&(e.createVertexArray=()=>a.createVertexArrayOES(),e.deleteVertexArray=e=>a.deleteVertexArrayOES(e),e.bindVertexArray=e=>a.bindVertexArrayOES(e),e.isVertexArray=e=>a.isVertexArrayOES(e))})(a),(e=>{var a=e.getExtension("WEBGL_draw_buffers");a&&(e.drawBuffers=(e,i)=>a.drawBuffersWEBGL(e,i))})(a),a.disjointTimerQueryExt=a.getExtension("EXT_disjoint_timer_query"),(e=>{e.multiDrawWebgl=e.getExtension("WEBGL_multi_draw")})(a),function(e){var a=["ANGLE_instanced_arrays","EXT_blend_minmax","EXT_disjoint_timer_query","EXT_frag_depth","EXT_shader_texture_lod","EXT_sRGB","OES_element_index_uint","OES_fbo_render_mipmap","OES_standard_derivatives","OES_texture_float","OES_texture_half_float","OES_texture_half_float_linear","OES_vertex_array_object","WEBGL_color_buffer_float","WEBGL_depth_texture","WEBGL_draw_buffers","EXT_color_buffer_half_float","EXT_float_blend","EXT_texture_compression_bptc","EXT_texture_compression_rgtc","EXT_texture_filter_anisotropic","KHR_parallel_shader_compile","OES_texture_float_linear","WEBGL_compressed_texture_s3tc","WEBGL_compressed_texture_s3tc_srgb","WEBGL_debug_renderer_info","WEBGL_debug_shaders","WEBGL_lose_context","WEBGL_multi_draw"];return(e.getSupportedExtensions()||[]).filter((e=>a.includes(e)))}(a).forEach((e=>{e.includes("lose_context")||e.includes("debug")||a.getExtension(e)}))}}},ke=[31,29,31,30,31,30,31,31,30,31,30,31],Ae=[31,28,31,30,31,30,31,31,30,31,30,31],xe=(e,a)=>{N.set(e,a)},Fe=e=>t["_"+e],Te=function(e,a,i,r){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=oe.nextInode++,this.name=a,this.mode=i,this.node_ops={},this.stream_ops={},this.rdev=r};Object.defineProperties(Te.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return oe.isDir(this.mode)}},isDevice:{get:function(){return oe.isChrdev(this.mode)}}}),oe.FSNode=Te,oe.createPreloadedFile=(e,a,i,r,t,_,s,n,c,E)=>{var l=a?H.resolve(U.join2(e,a)):e;function b(i){function o(i){E?.(),n||((e,a,i,r,t,_)=>{oe.createDataFile(e,a,i,r,t,_)})(e,a,i,r,t,c),_?.(),B()}((e,a,i,r)=>{void 0!==fe&&fe.init();var t=!1;return te.forEach((_=>{t||_.canHandle(a)&&(_.handle(e,a,i,r),t=!0)})),t})(i,l,o,(()=>{s?.(),B()}))||o(i)}C(),"string"==typeof i?((e,a,i,r)=>{var t=`al ${e}`;o(e,(e=>{a(new Uint8Array(e)),t&&B()}),(a=>{if(!i)throw`Loading data file "${e}" failed.`;i()})),t&&C()})(i,b,s):b(i)},oe.staticInit(),t.requestFullscreen=fe.requestFullscreen,t.requestAnimationFrame=fe.requestAnimationFrame,t.setCanvasSize=fe.setCanvasSize,t.pauseMainLoop=fe.mainLoop.pause,t.resumeMainLoop=fe.mainLoop.resume,t.getUserMedia=fe.getUserMedia,t.createContext=fe.createContext;var Ce,Be={},Oe={};Pe.init();var De,Ve={a:function(e,a,i){ne.varargs=i;try{var r=ne.getStreamFromFD(e);switch(a){case 0:if((t=ne.get())<0)return-28;for(;oe.streams[t];)t++;return oe.createStream(r,t).fd;case 1:case 2:case 13:case 14:return 0;case 3:return r.flags;case 4:var t=ne.get();return r.flags|=t,0;case 12:return t=ne.getp(),u[t+0>>1]=2,0}return-28}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},A:function(e,a,i){try{var r=ne.getStreamFromFD(e);r.getdents||=oe.readdir(r.path);for(var t=280,_=0,o=oe.llseek(r,0,1),s=Math.floor(o/t);s<r.getdents.length&&_+t<=i;){var n,c,E=r.getdents[s];if("."===E)n=r.node.id,c=4;else if(".."===E)n=oe.lookupPath(r.path,{parent:!0}).node.id,c=4;else{var l=oe.lookupNode(r.node,E);n=l.id,c=oe.isChrdev(l.mode)?2:oe.isDir(l.mode)?4:oe.isLink(l.mode)?10:8}j=[n>>>0,(L=n,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[a+_>>2]=j[0],g[a+_+4>>2]=j[1],j=[(s+1)*t>>>0,(L=(s+1)*t,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[a+_+8>>2]=j[0],g[a+_+12>>2]=j[1],u[a+_+16>>1]=280,N[a+_+18>>0]=c,ce(E,a+_+19,256),_+=t,s+=1}return oe.llseek(r,s*t,0),_}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},H:function(e,a,i){ne.varargs=i;try{var r=ne.getStreamFromFD(e);switch(a){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return r.tty?0:-59;case 21505:if(!r.tty)return-59;if(r.tty.ops.ioctl_tcgets){var t=r.tty.ops.ioctl_tcgets(r),_=ne.getp();g[_>>2]=t.c_iflag||0,g[_+4>>2]=t.c_oflag||0,g[_+8>>2]=t.c_cflag||0,g[_+12>>2]=t.c_lflag||0;for(var o=0;o<32;o++)N[_+o+17>>0]=t.c_cc[o]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!r.tty)return-59;if(r.tty.ops.ioctl_tcsets){_=ne.getp();var s=g[_>>2],n=g[_+4>>2],c=g[_+8>>2],E=g[_+12>>2],l=[];for(o=0;o<32;o++)l.push(N[_+o+17>>0]);return r.tty.ops.ioctl_tcsets(r.tty,a,{c_iflag:s,c_oflag:n,c_cflag:c,c_lflag:E,c_cc:l})}return 0;case 21519:return r.tty?(_=ne.getp(),g[_>>2]=0,0):-59;case 21520:return r.tty?-28:-59;case 21531:return _=ne.getp(),oe.ioctl(r,a,_);case 21523:if(!r.tty)return-59;if(r.tty.ops.ioctl_tiocgwinsz){var b=r.tty.ops.ioctl_tiocgwinsz(r.tty);_=ne.getp(),u[_>>1]=b[0],u[_+2>>1]=b[1]}return 0;default:return-28}}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},i:function(e,a,i,r){ne.varargs=r;try{a=ne.getStr(a),a=ne.calculateAt(e,a);var t=r?ne.get():0;return oe.open(a,i,t).fd}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},y:function(e,a,i,r){try{if(a=ne.getStr(a),a=ne.calculateAt(e,a),r<=0)return-28;var t=oe.readlink(a),_=Math.min(r,J(t)),o=N[i+_];return ce(t,i,r+1),N[i+_]=o,_}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},D:function(e,a){try{return e=ne.getStr(e),ne.doStat(oe.stat,e,a)}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},z:function(e,a){try{return e=ne.getStr(e),a=ne.getStr(a),oe.symlink(e,a),0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},w:function(e,a,i){try{return a=ne.getStr(a),a=ne.calculateAt(e,a),0===i?oe.unlink(a):512===i?oe.rmdir(a):O("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return-e.errno}},I:function(e){if(Pe.xhrs.has(e)){var a=Pe.xhrs.get(e);Pe.xhrs.free(e),a.readyState>0&&a.readyState<4&&a.abort()}},F:()=>1,q:function(e,a,i){var r=Ee(e,a),t=new Date(1e3*r);g[i>>2]=t.getUTCSeconds(),g[i+4>>2]=t.getUTCMinutes(),g[i+8>>2]=t.getUTCHours(),g[i+12>>2]=t.getUTCDate(),g[i+16>>2]=t.getUTCMonth(),g[i+20>>2]=t.getUTCFullYear()-1900,g[i+24>>2]=t.getUTCDay();var _=Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0),o=(t.getTime()-_)/864e5|0;g[i+28>>2]=o},r:function(e,a,i){var r=Ee(e,a),t=new Date(1e3*r);g[i>>2]=t.getSeconds(),g[i+4>>2]=t.getMinutes(),g[i+8>>2]=t.getHours(),g[i+12>>2]=t.getDate(),g[i+16>>2]=t.getMonth(),g[i+20>>2]=t.getFullYear()-1900,g[i+24>>2]=t.getDay();var _=0|(e=>(le(e.getFullYear())?be:de)[e.getMonth()]+e.getDate()-1)(t);g[i+28>>2]=_,g[i+36>>2]=-60*t.getTimezoneOffset();var o=new Date(t.getFullYear(),0,1),s=new Date(t.getFullYear(),6,1).getTimezoneOffset(),n=o.getTimezoneOffset(),c=0|(s!=n&&t.getTimezoneOffset()==Math.min(n,s));g[i+32>>2]=c},x:(e,a,i)=>{var r=(new Date).getFullYear(),t=new Date(r,0,1),_=new Date(r,6,1),o=t.getTimezoneOffset(),s=_.getTimezoneOffset(),n=Math.max(o,s);function c(e){var a=e.toTimeString().match(/\\(([A-Za-z ]+)\\)$/);return a?a[1]:"GMT"}f[e>>2]=60*n,g[a>>2]=Number(o!=s);var E=c(t),l=c(_),b=ve(E),d=ve(l);s<o?(f[i>>2]=b,f[i+4>>2]=d):(f[i>>2]=d,f[i+4>>2]=b)},b:()=>{O("")},n:function(){self.postMessage({t:"gfx"})},p:function(){var e=new URL(location.origin).hostname;if(0===e.length&&(e=new URL(location.href.replace("blob:","")).hostname),/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(e))0===e.indexOf("10.")&&(e="10.*"),0===e.indexOf("192.168.")&&(e="192.168.*"),0===e.indexOf("172.")&&(e="172.*"),0===e.indexOf("127.")&&(e="127.*");else{var a=new RegExp("("+String.fromCharCode(92)+".ngrok"+String.fromCharCode(92)+".io)$","i");a.test(e)&&(e="*.ngrok.io"),(a=new RegExp("("+String.fromCharCode(92)+".ngrok-free"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.ngrok.io"),(a=new RegExp("("+String.fromCharCode(92)+".arweb"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.arweb.app")}var i=J(e)+1,r=qe(i);return ce(e,r,i+1),r},o:function(){self.postMessage({t:"licerr"})},h:(e,a,i)=>{function r(){ye(e)(a)}i>=0?ue(r,i):fe.safeRequestAnimationFrame(r)},f:()=>Date.now(),t:()=>2147483648,E:ee,K:()=>!1,G:(e,a,i)=>m.copyWithin(e,a,a+i),v:e=>{var a=m.length,i=2147483648;if((e>>>=0)>i)return!1;for(var r,t=1;t<=4;t*=2){var _=a*(1+.2/t);_=Math.min(_,e+100663296);var o=Math.min(i,(r=Math.max(e,_))+(65536-r%65536)%65536);if(ze(o))return!0}return!1},J:function(e,a,i,r,t){var _=e+112,o=f[_+36>>2],s=f[_+40>>2],n=f[_+44>>2],c=f[_+48>>2],E=f[_+52>>2],l=!!(64&E);function b(e){l?e():me(e)}var d=(e,i,r)=>{b((()=>{o?ye(o)(e):a?.(e)}))},v=(e,a,i)=>{b((()=>{n?ye(n)(e):r?.(e)}))},h=(e,a,r)=>{b((()=>{s?ye(s)(e):i?.(e)}))},p=(e,a,i)=>{b((()=>{c?ye(c)(e):t?.(e)}))},N=(e,i,r)=>{Le(Pe.dbInstance,e,i.response,((e,i,r)=>{b((()=>{o?ye(o)(e):a?.(e)}))}),((e,i,r)=>{b((()=>{o?ye(o)(e):a?.(e)}))}))},u=se(_+0),g=!!(16&E),I=!!(4&E),y=!!(32&E);if("EM_IDB_STORE"===u){var z=f[_+84>>2],w=f[_+88>>2];Le(Pe.dbInstance,e,m.slice(z,z+w),d,h)}else if("EM_IDB_DELETE"===u)!function(e,a,i,r){if(e){var t=f[a+112+64>>2];t||=f[a+8>>2];var _=se(t);try{var o=e.transaction(["FILES"],"readwrite").objectStore("FILES").delete(_);o.onsuccess=e=>{var r=e.target.result;f[a+12>>2]=0,Re(a+16,0),Re(a+24,0),Re(a+32,0),S[a+40>>1]=4,S[a+42>>1]=200,ce("OK",a+44,64),i(a,0,r)},o.onerror=e=>{S[a+40>>1]=4,S[a+42>>1]=404,ce("Not Found",a+44,64),r(a,0,e)}}catch(e){r(a,0,e)}}else r(a,0,"IndexedDB not available!")}(Pe.dbInstance,e,d,h);else if(g){if(y)return 0;Ke(e,I?N:d,h,v,p)}else!function(e,a,i,r){if(e){var t=f[a+112+64>>2];t||=f[a+8>>2];var _=se(t);try{var o=e.transaction(["FILES"],"readonly").objectStore("FILES").get(_);o.onsuccess=e=>{if(e.target.result){var t=e.target.result,_=t.byteLength||t.length,o=qe(_);m.set(new Uint8Array(t),o),f[a+12>>2]=o,Re(a+16,_),Re(a+24,0),Re(a+32,_),S[a+40>>1]=4,S[a+42>>1]=200,ce("OK",a+44,64),i(a,0,t)}else S[a+40>>1]=4,S[a+42>>1]=404,ce("Not Found",a+44,64),r(a,0,"no data")},o.onerror=e=>{S[a+40>>1]=4,S[a+42>>1]=404,ce("Not Found",a+44,64),r(a,0,e)}}catch(e){r(a,0,e)}}else r(a,0,"IndexedDB not available!")}(Pe.dbInstance,e,d,y?h:I?(e,a,i)=>{Ke(e,N,h,v,p)}:(e,a,i)=>{Ke(e,d,h,v,p)});return e},B:(e,a)=>{var i=0;return Me().forEach(((r,t)=>{var _=a+i;f[e+4*t>>2]=_,((e,a)=>{for(var i=0;i<e.length;++i)N[a++>>0]=e.charCodeAt(i);N[a>>0]=0})(r,_),i+=r.length+1})),0},C:(e,a)=>{var i=Me();f[e>>2]=i.length;var r=0;return i.forEach((e=>r+=e.length+1)),f[a>>2]=r,0},m:Ne,c:function(e){try{var a=ne.getStreamFromFD(e);return oe.close(a),0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return e.errno}},j:function(e,a,i,r){try{var t=((e,a,i,r)=>{for(var t=0,_=0;_<i;_++){var o=f[a>>2],s=f[a+4>>2];a+=8;var n=oe.read(e,N,o,s,r);if(n<0)return-1;if(t+=n,n<s)break;void 0!==r&&(r+=n)}return t})(ne.getStreamFromFD(e),a,i);return f[r>>2]=t,0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return e.errno}},s:function(e,a,i,r,t){var _=Ee(a,i);try{if(isNaN(_))return 61;var o=ne.getStreamFromFD(e);return oe.llseek(o,_,r),j=[o.position>>>0,(L=o.position,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],g[t>>2]=j[0],g[t+4>>2]=j[1],o.getdents&&0===_&&0===r&&(o.getdents=null),0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return e.errno}},g:function(e,a,i,r){try{var t=((e,a,i,r)=>{for(var t=0,_=0;_<i;_++){var o=f[a>>2],s=f[a+4>>2];a+=8;var n=oe.write(e,N,o,s,r);if(n<0)return-1;t+=n,void 0!==r&&(r+=n)}return t})(ne.getStreamFromFD(e),a,i);return f[r>>2]=t,0}catch(e){if(void 0===oe||"ErrnoError"!==e.name)throw e;return e.errno}},k:(e,a)=>{Ce.bindTexture(e,Ze.textures[a])},l:(e,a)=>{((e,a,i,r)=>{for(var t=0;t<e;t++){var _=Ce.createTexture(),o=_&&Ze.getNewId(r);_?(_.name=o,r[o]=_):Ze.recordError(1282),g[a+4*t>>2]=o}})(e,a,0,Ze.textures)},d:(e,a,i,r,t,_,o,s,n)=>{Ce.texImage2D(e,a,i,r,t,_,o,s,n?((e,a,i,r,t,_)=>{var o=(e=>1==(e-=5120)?m:4==e?g:6==e?I:5==e||28922==e?f:S)(e),s=(e=>31-Math.clz32(e.BYTES_PER_ELEMENT))(o),n=1<<s,c=(e=>({5:3,6:4,8:2,29502:3,29504:4}[e-6402]||1))(a)*n,E=((e,a,i,r)=>{var t;return a*(e*i+(t=r)-1&-t)})(i,r,c,Ze.unpackAlignment);return o.subarray(t>>s,t+E>>s)})(s,o,r,t,n):null)},e:function(e,a,i){Ce.texParameteri(e,a,i)},u:(e,a,i,r,t)=>((e,a,i,r)=>{var t=f[r+40>>2],_={tm_sec:g[r>>2],tm_min:g[r+4>>2],tm_hour:g[r+8>>2],tm_mday:g[r+12>>2],tm_mon:g[r+16>>2],tm_year:g[r+20>>2],tm_wday:g[r+24>>2],tm_yday:g[r+28>>2],tm_isdst:g[r+32>>2],tm_gmtoff:g[r+36>>2],tm_zone:t?se(t):""},o=se(i),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var n in s)o=o.replace(new RegExp(n,"g"),s[n]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],E=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(e,a,i){for(var r="number"==typeof e?e.toString():e||"";r.length<a;)r=i[0]+r;return r}function b(e,a){return l(e,a,"0")}function d(e,a){function i(e){return e<0?-1:e>0?1:0}var r;return 0===(r=i(e.getFullYear()-a.getFullYear()))&&0===(r=i(e.getMonth()-a.getMonth()))&&(r=i(e.getDate()-a.getDate())),r}function v(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function h(e){var a=((e,a)=>{for(var i=new Date(e.getTime());a>0;){var r=le(i.getFullYear()),t=i.getMonth(),_=(r?ke:Ae)[t];if(!(a>_-i.getDate()))return i.setDate(i.getDate()+a),i;a-=_-i.getDate()+1,i.setDate(1),t<11?i.setMonth(t+1):(i.setMonth(0),i.setFullYear(i.getFullYear()+1))}return i})(new Date(e.tm_year+1900,0,1),e.tm_yday),i=new Date(a.getFullYear(),0,4),r=new Date(a.getFullYear()+1,0,4),t=v(i),_=v(r);return d(t,a)<=0?d(_,a)<=0?a.getFullYear()+1:a.getFullYear():a.getFullYear()-1}var p={"%a":e=>c[e.tm_wday].substring(0,3),"%A":e=>c[e.tm_wday],"%b":e=>E[e.tm_mon].substring(0,3),"%B":e=>E[e.tm_mon],"%C":e=>b((e.tm_year+1900)/100|0,2),"%d":e=>b(e.tm_mday,2),"%e":e=>l(e.tm_mday,2," "),"%g":e=>h(e).toString().substring(2),"%G":h,"%H":e=>b(e.tm_hour,2),"%I":e=>{var a=e.tm_hour;return 0==a?a=12:a>12&&(a-=12),b(a,2)},"%j":e=>b(e.tm_mday+((e,a)=>{for(var i=0,r=0;r<=a;i+=e[r++]);return i})(le(e.tm_year+1900)?ke:Ae,e.tm_mon-1),3),"%m":e=>b(e.tm_mon+1,2),"%M":e=>b(e.tm_min,2),"%n":()=>"\\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>b(e.tm_sec,2),"%t":()=>"\\t","%u":e=>e.tm_wday||7,"%U":e=>{var a=e.tm_yday+7-e.tm_wday;return b(Math.floor(a/7),2)},"%V":e=>{var a=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&a++,a){if(53==a){var i=(e.tm_wday+371-e.tm_yday)%7;4==i||3==i&&le(e.tm_year)||(a=1)}}else{a=52;var r=(e.tm_wday+7-e.tm_yday-1)%7;(4==r||5==r&&le(e.tm_year%400-1))&&a++}return b(a,2)},"%w":e=>e.tm_wday,"%W":e=>{var a=e.tm_yday+7-(e.tm_wday+6)%7;return b(Math.floor(a/7),2)},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z":e=>{var a=e.tm_gmtoff,i=a>=0;return a=(a=Math.abs(a)/60)/60*100+a%60,(i?"+":"-")+String("0000"+a).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var n in o=o.replace(/%%/g,"\\0\\0"),p)o.includes(n)&&(o=o.replace(new RegExp(n,"g"),p[n](_)));var N=Q(o=o.replace(/\\0\\0/g,"%"),!1);return N.length>a?0:(xe(N,e),N.length-1)})(e,a,i,r)},Ge=function(){var e={a:Ve};function a(e,a){var i;return Ge=e.exports,d=Ge.L,P(),ge=Ge.Q,i=Ge.M,Z.unshift(i),B(),Ge}if(C(),t.instantiateWasm)try{return t.instantiateWasm(e,a)}catch(e){h(`Module.instantiateWasm callback failed with error: ${e}`),r(e)}return a(function(e,a){var i,r=function(e){if(e==K&&b)return new Uint8Array(b);if(s)return s(e);throw\'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)\'}(e);return i=new WebAssembly.Module(r),[new WebAssembly.Instance(i,a),i]}(K,e)[0])}(),Ue=(Ge.M,t._zappar_has_initialized=Ge.N,t._zappar_invert=Ge.O,t._zappar_loaded=Ge.P,t._zappar_pipeline_create=Ge.R,t._zappar_pipeline_destroy=Ge.S,t._zappar_pipeline_camera_frame_submit=Ge.T,t._zappar_pipeline_camera_frame_submit_raw_pointer=Ge.U,t._zappar_pipeline_frame_update=Ge.V,t._zappar_pipeline_camera_frame_user_data=Ge.W,t._zappar_pipeline_camera_model=Ge.X,t._zappar_pipeline_frame_number=Ge.Y,t._zappar_pipeline_camera_frame_data_raw_size=Ge.Z,t._zappar_pipeline_camera_frame_data_raw_width=Ge._,t._zappar_pipeline_camera_frame_data_raw_height=Ge.$,t._zappar_pipeline_camera_frame_data_raw=Ge.aa,t._zappar_pipeline_motion_accelerometer_submit=Ge.ba,t._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=Ge.ca,t._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=Ge.da,t._zappar_pipeline_motion_rotation_rate_submit_int=Ge.ea,t._zappar_pipeline_motion_attitude_submit_int=Ge.fa,t._zappar_pipeline_motion_rotation_rate_submit=Ge.ga,t._zappar_pipeline_motion_attitude_submit=Ge.ha,t._zappar_pipeline_motion_attitude_matrix_submit=Ge.ia,t._zappar_pipeline_camera_frame_user_facing=Ge.ja,t._zappar_pipeline_camera_frame_texture_matrix=Ge.ka,t._zappar_pipeline_camera_pose_with_attitude=Ge.la,t._zappar_pipeline_camera_pose_with_origin=Ge.ma,t._zappar_pipeline_camera_frame_camera_attitude=Ge.na,t._zappar_pipeline_camera_frame_device_attitude=Ge.oa,t._zappar_pipeline_camera_frame_texture_gl=Ge.pa,t._zappar_pipeline_camera_frame_upload_gl=Ge.qa,t._zappar_pipeline_sequence_record_start=Ge.ra,t._zappar_pipeline_sequence_record_stop=Ge.sa,t._zappar_pipeline_sequence_record_clear=Ge.ta,t._zappar_pipeline_sequence_record_device_attitude_matrices_set=Ge.ua,t._zappar_pipeline_sequence_record_data_size=Ge.va,t._zappar_pipeline_sequence_record_data=Ge.wa,t._zappar_pipeline_process_gl=Ge.xa,t._zappar_pipeline_camera_pose_default=Ge.ya,t._zappar_instant_world_tracker_create=Ge.za,t._zappar_instant_world_tracker_destroy=Ge.Aa,t._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=Ge.Ba,t._zappar_instant_world_tracker_anchor_pose_raw=Ge.Ca,t._zappar_instant_world_tracker_enabled_set=Ge.Da,t._zappar_instant_world_tracker_enabled=Ge.Ea,t._zappar_custom_anchor_create=Ge.Fa,t._zappar_custom_anchor_destroy=Ge.Ga,t._zappar_custom_anchor_pose_set_from_camera_offset_raw=Ge.Ha,t._zappar_custom_anchor_pose_set_from_anchor_offset=Ge.Ia,t._zappar_custom_anchor_pose_raw=Ge.Ja,t._zappar_custom_anchor_enabled_set=Ge.Ka,t._zappar_custom_anchor_enabled=Ge.La,t._zappar_custom_anchor_id=Ge.Ma,t._zappar_custom_anchor_status=Ge.Na,t._zappar_image_tracker_create=Ge.Oa,t._zappar_image_tracker_destroy=Ge.Pa,t._zappar_image_tracker_target_load_from_memory=Ge.Qa,t.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=Ge.Ra,t._free=Ge.Sa),qe=(t._zappar_image_tracker_anchor_count=Ge.Ta,t._zappar_image_tracker_anchor_id=Ge.Ua,t._zappar_image_tracker_anchor_pose_raw=Ge.Va,t._zappar_image_tracker_enabled_set=Ge.Wa,t._zappar_image_tracker_enabled=Ge.Xa,t._zappar_image_tracker_target_loaded_version=Ge.Ya,t.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=Ge.Za,t.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=Ge._a,t.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=Ge.$a,t.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=Ge.ab,t.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=Ge.bb,t.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=Ge.cb,t.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=Ge.db,t.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=Ge.eb,t.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=Ge.fb,t.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=Ge.gb,t.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=Ge.hb,t.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=Ge.ib,t.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=Ge.jb,t.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=Ge.kb,t.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=Ge.lb,t.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=Ge.mb,t.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=Ge.nb,t.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=Ge.ob,t.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=Ge.pb,t.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=Ge.qb,t.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=Ge.rb,t._zappar_face_tracker_create=Ge.sb,t._zappar_face_tracker_destroy=Ge.tb,t._zappar_face_tracker_model_load_from_memory=Ge.ub,t._zappar_face_tracker_anchor_count=Ge.vb,t._zappar_face_tracker_anchor_id=Ge.wb,t._zappar_face_tracker_anchor_pose_raw=Ge.xb,t._zappar_face_tracker_anchor_identity_coefficients=Ge.yb,t._zappar_face_tracker_anchor_expression_coefficients=Ge.zb,t._zappar_face_tracker_enabled_set=Ge.Ab,t._zappar_face_tracker_enabled=Ge.Bb,t._zappar_face_tracker_max_faces_set=Ge.Cb,t._zappar_face_tracker_max_faces=Ge.Db,t._zappar_face_tracker_model_loaded_version=Ge.Eb,t._zappar_face_landmark_create=Ge.Fb,t._zappar_face_landmark_destroy=Ge.Gb,t.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=Ge.Hb,t._zappar_face_landmark_anchor_pose=Ge.Ib,t._zappar_barcode_finder_create=Ge.Jb,t._zappar_barcode_finder_destroy=Ge.Kb,t._zappar_barcode_finder_found_number=Ge.Lb,t._zappar_barcode_finder_found_text=Ge.Mb,t._zappar_barcode_finder_enabled_set=Ge.Nb,t._zappar_barcode_finder_enabled=Ge.Ob,t._zappar_barcode_finder_found_format=Ge.Pb,t._zappar_barcode_finder_formats=Ge.Qb,t._zappar_barcode_finder_formats_set=Ge.Rb,t._zappar_zapcode_tracker_create=Ge.Sb,t._zappar_zapcode_tracker_destroy=Ge.Tb,t._zappar_zapcode_tracker_target_load_from_memory=Ge.Ub,t.__Z44zappar_zapcode_tracker_target_load_from_fileP25zappar_zapcode_tracker_tiPKc=Ge.Vb,t._zappar_zapcode_tracker_anchor_count=Ge.Wb,t._zappar_zapcode_tracker_anchor_id=Ge.Xb,t._zappar_zapcode_tracker_anchor_pose_raw=Ge.Yb,t._zappar_zapcode_tracker_enabled_set=Ge.Zb,t._zappar_zapcode_tracker_enabled=Ge._b,t._zappar_zapcode_tracker_target_loaded_version=Ge.$b,t._malloc=Ge.ac),He=(t._zappar_face_mesh_create=Ge.bc,t._zappar_face_mesh_destroy=Ge.cc,t.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=Ge.dc,t.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=Ge.ec,t.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=Ge.fc,t.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=Ge.gc,t.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=Ge.hc,t.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=Ge.ic,t.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=Ge.jc,t.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=Ge.kc,t.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=Ge.lc,t.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=Ge.mc,t.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=Ge.nc,t._zappar_camera_source_create=Ge.oc,t._zappar_camera_source_destroy=Ge.pc,t._zappar_camera_source_start=Ge.qc,t._zappar_camera_source_pause=Ge.rc,t._zappar_camera_default_device_id=Ge.sc,t._zappar_sequence_source_create=Ge.tc,t.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=Ge.uc,t.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=Ge.vc,t.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=Ge.wc,t._zappar_sequence_source_destroy=Ge.xc,t._zappar_sequence_source_max_playback_fps_set=Ge.yc,t._zappar_log_level_set=Ge.zc,t._zappar_log_level=Ge.Ac,t.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=Ge.Bc,t._zappar_world_tracker_create=Ge.Cc,t._zappar_world_tracker_destroy=Ge.Dc,t._zappar_world_tracker_world_anchor_status=Ge.Ec,t._zappar_world_tracker_world_anchor_id=Ge.Fc,t._zappar_world_tracker_plane_anchor_count=Ge.Gc,t._zappar_world_tracker_plane_anchor_id=Ge.Hc,t._zappar_world_tracker_plane_anchor_pose_raw=Ge.Ic,t._zappar_world_tracker_world_anchor_pose_raw=Ge.Jc,t._zappar_world_tracker_ground_anchor_status=Ge.Kc,t._zappar_world_tracker_ground_anchor_id=Ge.Lc,t._zappar_world_tracker_ground_anchor_pose_raw=Ge.Mc,t._zappar_world_tracker_reset=Ge.Nc,t._zappar_world_tracker_enabled_set=Ge.Oc,t._zappar_world_tracker_quality=Ge.Pc,t._zappar_world_tracker_enabled=Ge.Qc,t._zappar_world_tracker_tracks_data_enabled=Ge.Rc,t._zappar_world_tracker_projections_data_enabled=Ge.Sc,t._zappar_world_tracker_tracks_data_enabled_set=Ge.Tc,t._zappar_world_tracker_projections_data_enabled_set=Ge.Uc,t._zappar_world_tracker_tracks_data=Ge.Vc,t._zappar_world_tracker_tracks_data_size=Ge.Wc,t._zappar_world_tracker_tracks_type_data=Ge.Xc,t._zappar_world_tracker_tracks_type_data_size=Ge.Yc,t._zappar_world_tracker_projections_data=Ge.Zc,t._zappar_world_tracker_projections_data_size=Ge._c,t._zappar_world_tracker_horizontal_plane_detection_enabled=Ge.$c,t._zappar_world_tracker_horizontal_plane_detection_enabled_set=Ge.ad,t._zappar_world_tracker_vertical_plane_detection_enabled=Ge.bd,t._zappar_world_tracker_vertical_plane_detection_enabled_set=Ge.cd,t._zappar_world_tracker_vertical_plane_detection_supported=Ge.dd,t._zappar_world_tracker_plane_anchor_orientation=Ge.ed,t._zappar_world_tracker_plane_anchor_polygon_data=Ge.fd,t._zappar_world_tracker_plane_anchor_polygon_data_size=Ge.gd,t._zappar_world_tracker_plane_anchor_polygon_version=Ge.hd,t._zappar_world_tracker_plane_anchor_status=Ge.id,t._worker_message_send_count=Ge.jd,t._worker_message_send_clear=Ge.kd,t._worker_message_send_data_size=Ge.ld,t._worker_message_send_reference=Ge.md,t._worker_message_send_data=Ge.nd,t._worker_message_receive=Ge.od,t.__ZN5boost13serialization16singleton_module8get_lockEv=Ge.pd,t._ceres_worker=Ge.qd,t._data_download_clear=Ge.rd,t._data_download_size=Ge.sd,t._data_download=Ge.td,t._data_should_record_set=Ge.ud,t._zappar_analytics_project_id_set=Ge.vd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.wd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.yd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ad,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiNS4_10shared_ptrI10SLAMSystemEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Bd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiNS4_10shared_ptrI10SLAMSystemEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Cd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI10SLAMSystemEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive10SLAMSystemE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ed,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Fd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gd,t.__ZN5boost13serialization18void_cast_registerIN5gtsam7Cal3_S2ENS2_4Cal3EEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Hd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Id,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Jd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIi9SLAMFrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKi9SLAMFrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ld,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive9SLAMFrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Md,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiN2cv8KeyPointENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Nd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiN2cv8KeyPointEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Od,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN2cv8KeyPointEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN2cv6Point_IfEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Rd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Sd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Td,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ud,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorI7SLAMImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Vd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive7SLAMImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Wd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI15SLAMFrameSharedEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Xd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive15SLAMFrameSharedE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIN2cv8KeyPointENS4_9allocatorIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Zd,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN2cv3MatEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge._d,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorI16SLAMRelocFeatureNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.$d,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive16SLAMRelocFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ae,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive15SLAMFrameSharedE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.be,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIi16SLAMWorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ce,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKi16SLAMWorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.de,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive16SLAMWorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ee,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorNS4_4lessISB_EENS9_INS4_4pairIKSB_SC_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.fe,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ge,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive10SLAMAnchorE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.he,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ie,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.je,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIN2cv6Point_IfEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ke,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS9_ISB_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.le,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.me,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ne,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.oe,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pe,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qe,t.__ZN5boost13serialization18void_cast_registerIN5gtsam20NonlinearFactorGraphENS2_11FactorGraphINS2_15NonlinearFactorEEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.re,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.se,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.te,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ue,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI18SLAMInitializationEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ve,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive18SLAMInitializationE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.we,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI25SLAMInitializationComputeEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xe,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive18SLAMInitializationE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ye,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI9SLAMRelocEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ze,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive9SLAMRelocE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ae,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorINS4_10shared_ptrI12SLAMRelocMapEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Be,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI12SLAMRelocMapEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ce,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive12SLAMRelocMapE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.De,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive12SLAMRelocMapE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ee,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive9SLAMRelocE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Fe,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive10SLAMSystemE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ge,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam4Cal3EE11instantiateEv=Ge.He,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam4Cal3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ie,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam4Cal3EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Je,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam4Cal3EE11instantiateEv=Ge.Ke,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Le,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam4Cal3EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Me,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam4Cal3EE11instantiateEv=Ge.Ne,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Oe,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam4Cal3EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Pe,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam4Cal3EE11instantiateEv=Ge.Qe,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam4Cal3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Re,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam4Cal3EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Se,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam4Cal3EE11instantiateEv=Ge.Te,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam4Cal3EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ue,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Ge.Ve,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.We,t.__ZN5boost13serialization18void_cast_registerIN5gtsam14JacobianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Xe,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ye,t.__ZN5boost13serialization18void_cast_registerIN5gtsam14GaussianFactorENS2_6FactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Ze,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._e,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$e,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.af,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.bf,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.cf,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.df,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ef,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel8DiagonalENS3_8GaussianEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.ff,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.gf,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel8GaussianENS3_4BaseEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.hf,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.jf,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.kf,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.lf,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.mf,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.nf,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Ge.of,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.sf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.tf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.uf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.wf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.yf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zf,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Af,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Bf,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Cf,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Df,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Ge.Ef,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ff,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Hf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.If,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Lf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Mf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Nf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Of,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qf,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Rf,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Sf,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Tf,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam14JacobianFactorEE11instantiateEv=Ge.Uf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Wf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Xf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Yf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zf,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._f,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$f,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ag,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.bg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.cg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.eg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fg,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.gg,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.hg,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam14JacobianFactorEE11instantiateEv=Ge.ig,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.jg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.kg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.lg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ng,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.og,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.sg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.tg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ug,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.vg,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.wg,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam13HessianFactorEE11instantiateEv=Ge.xg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.yg,t.__ZN5boost13serialization18void_cast_registerIN5gtsam13HessianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.zg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ag,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Bg,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=Ge.Cg,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dg,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Eg,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Fg,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=Ge.Gg,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Hg,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ig,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Jg,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam13HessianFactorEE11instantiateEv=Ge.Kg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Lg,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mg,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ng,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam13HessianFactorEE11instantiateEv=Ge.Og,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pg,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qg,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Rg,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Ge.Sg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Tg,t.__ZN5boost13serialization18void_cast_registerIN5gtsam21LinearContainerFactorENS2_15NonlinearFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Ug,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Wg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Xg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Yg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zg,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._g,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$g,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.ah,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Ge.bh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ch,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.dh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.eh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.fh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.gh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.hh,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ih,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.jh,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.kh,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Ge.lh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.nh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.oh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ph,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.sh,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.th,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.uh,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE11instantiateEv=Ge.vh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.wh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.xh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.yh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.zh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ah,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Bh,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ch,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Dh,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Eh,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE11instantiateEv=Ge.Fh,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gh,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Hh,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ih,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jh,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Kh,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE11instantiateEv=Ge.Lh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mh,t.__ZN5boost13serialization18void_cast_registerIN5gtsam23GenericProjectionFactorINS2_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS2_7Cal3_S2EEENS2_17NoiseModelFactorNIJS4_S7_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Nh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Oh,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17NoiseModelFactorNIJNS2_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEENS2_16NoiseModelFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Ph,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam16NoiseModelFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Qh,t.__ZN5boost13serialization18void_cast_registerIN5gtsam16NoiseModelFactorENS2_15NonlinearFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Rh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Sh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Th,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Uh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vh,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Wh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Xh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Yh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam4Rot3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zh,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._h,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.$h,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE11instantiateEv=Ge.ai,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.bi,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ci,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam16NoiseModelFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.di,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ei,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.fi,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.gi,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.hi,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ii,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ji,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ki,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.li,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mi,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ni,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE11instantiateEv=Ge.oi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam16NoiseModelFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ri,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.si,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ti,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ui,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vi,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.wi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.yi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zi,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ai,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Bi,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE11instantiateEv=Ge.Ci,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Di,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ei,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam16NoiseModelFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Fi,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gi,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Hi,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ii,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ji,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ki,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__28optionalIN5gtsam5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Li,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mi,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam4Rot3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ni,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Oi,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Pi,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE11instantiateEv=Ge.Qi,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ri,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Si,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam16NoiseModelFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ti,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ui,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Vi,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Wi,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam23GenericProjectionFactorINS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Xi,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE11instantiateEv=Ge.Yi,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zi,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17PoseRotationPriorINS2_5Pose3EEENS2_17NoiseModelFactorNIJS4_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge._i,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$i,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17NoiseModelFactorNIJNS2_5Pose3EEEENS2_16NoiseModelFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.aj,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.bj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE11instantiateEv=Ge.cj,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.dj,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ej,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.fj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE11instantiateEv=Ge.gj,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.hj,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ij,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam17PoseRotationPriorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.jj,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE11instantiateEv=Ge.kj,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.lj,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.mj,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.nj,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE11instantiateEv=Ge.oj,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pj,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qj,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam17PoseRotationPriorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.rj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.sj,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.tj,t.__ZN5boost13serialization18void_cast_registerIN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEENS2_17NoiseModelFactorNIJS6_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.uj,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.vj,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEENS2_16NoiseModelFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.wj,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.xj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.yj,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zj,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Aj,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Bj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Cj,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dj,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ej,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Fj,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Gj,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Hj,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ij,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Jj,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Kj,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Lj,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17NoiseModelFactorNIJN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Mj,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Nj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE11instantiateEv=Ge.Oj,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Pj,t.__ZN5boost13serialization18void_cast_registerIN5gtsam11PriorFactorINS2_5Pose3EEENS2_17NoiseModelFactorNIJS4_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Qj,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Rj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE11instantiateEv=Ge.Sj,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Tj,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Uj,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE11instantiateEv=Ge.Vj,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Wj,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Xj,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE11instantiateEv=Ge.Yj,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zj,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge._j,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE11instantiateEv=Ge.$j,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ak,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.bk,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.ck,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dk,t.__ZN5boost13serialization18void_cast_registerIN5gtsam11PriorFactorINS2_7imuBias12ConstantBiasEEENS2_17NoiseModelFactorNIJS5_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.ek,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17NoiseModelFactorNIJNS4_7imuBias12ConstantBiasEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fk,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17NoiseModelFactorNIJNS2_7imuBias12ConstantBiasEEEENS2_16NoiseModelFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.gk,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7imuBias12ConstantBiasEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.hk,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.ik,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.jk,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.kk,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_7imuBias12ConstantBiasEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.lk,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mk,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.nk,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.ok,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pk,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_7imuBias12ConstantBiasEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qk,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rk,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.sk,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.tk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.uk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17NoiseModelFactorNIJNS4_7imuBias12ConstantBiasEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.vk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam7imuBias12ConstantBiasEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.wk,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.xk,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.yk,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zk,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17NoiseModelFactorNIJNS4_7imuBias12ConstantBiasEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ak,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam11PriorFactorINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Bk,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE11instantiateEv=Ge.Ck,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Dk,t.__ZN5boost13serialization18void_cast_registerIN5gtsam20PreintegrationParamsENS2_27PreintegratedRotationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Ek,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam27PreintegratedRotationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Fk,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gk,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Hk,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE11instantiateEv=Ge.Ik,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jk,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kk,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Lk,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Mk,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam20PreintegrationParamsEE11instantiateEv=Ge.Nk,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ok,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pk,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qk,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam20PreintegrationParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Rk,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam20PreintegrationParamsEE11instantiateEv=Ge.Sk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam20PreintegrationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Tk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam27PreintegratedRotationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Uk,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vk,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam20PreintegrationParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Wk,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam20PreintegrationParamsEE11instantiateEv=Ge.Xk,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yk,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Zk,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam20PreintegrationParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge._k,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE11instantiateEv=Ge.$k,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.al,t.__ZN5boost13serialization18void_cast_registerIN5gtsam28PreintegrationCombinedParamsENS2_20PreintegrationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.bl,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.cl,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.dl,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE11instantiateEv=Ge.el,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.fl,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.gl,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.hl,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam28PreintegrationCombinedParamsEE11instantiateEv=Ge.il,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.jl,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.kl,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ll,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam28PreintegrationCombinedParamsEE11instantiateEv=Ge.ml,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam28PreintegrationCombinedParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.nl,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ol,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam28PreintegrationCombinedParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.pl,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam28PreintegrationCombinedParamsEE11instantiateEv=Ge.ql,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rl,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.sl,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.tl,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam21TangentPreintegrationEE11instantiateEv=Ge.ul,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam21TangentPreintegrationEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.vl,t.__ZN5boost13serialization18void_cast_registerIN5gtsam21TangentPreintegrationENS2_18PreintegrationBaseEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.wl,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam18PreintegrationBaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.xl,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam20PreintegrationParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.yl,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi9ELi1ELi0ELi9ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.zl,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi9ELi3ELi0ELi9ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Al,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam21TangentPreintegrationEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Bl,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam21TangentPreintegrationEE11instantiateEv=Ge.Cl,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam21TangentPreintegrationEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dl,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam18PreintegrationBaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.El,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam20PreintegrationParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Fl,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi9ELi1ELi0ELi9ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gl,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi9ELi3ELi0ELi9ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Hl,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam21TangentPreintegrationEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Il,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam21TangentPreintegrationEE11instantiateEv=Ge.Jl,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam21TangentPreintegrationEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kl,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam18PreintegrationBaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ll,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam20PreintegrationParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ml,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi9ELi1ELi0ELi9ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Nl,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi9ELi3ELi0ELi9ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ol,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam21TangentPreintegrationEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Pl,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam21TangentPreintegrationEE11instantiateEv=Ge.Ql,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam21TangentPreintegrationEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Rl,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam18PreintegrationBaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Sl,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam20PreintegrationParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Tl,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi9ELi1ELi0ELi9ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ul,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi9ELi3ELi0ELi9ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vl,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam21TangentPreintegrationEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Wl,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam21TangentPreintegrationEE11instantiateEv=Ge.Xl,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam21TangentPreintegrationEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yl,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam18PreintegrationBaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Zl,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam20PreintegrationParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge._l,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi9ELi1ELi0ELi9ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.$l,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi9ELi3ELi0ELi9ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.am,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam21TangentPreintegrationEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.bm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE11instantiateEv=Ge.cm,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dm,t.__ZN5boost13serialization18void_cast_registerIN5gtsam33PreintegratedCombinedMeasurementsENS2_21TangentPreintegrationEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.em,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi15ELi15ELi0ELi15ELi15EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fm,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.gm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE11instantiateEv=Ge.hm,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.im,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi15ELi15ELi0ELi15ELi15EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.jm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.km,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE11instantiateEv=Ge.lm,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mm,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi15ELi15ELi0ELi15ELi15EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.nm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam33PreintegratedCombinedMeasurementsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.om,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam33PreintegratedCombinedMeasurementsEE11instantiateEv=Ge.pm,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam33PreintegratedCombinedMeasurementsEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.qm,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi15ELi15ELi0ELi15ELi15EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.rm,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam33PreintegratedCombinedMeasurementsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.sm,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam33PreintegratedCombinedMeasurementsEE11instantiateEv=Ge.tm,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam33PreintegratedCombinedMeasurementsEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.um,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi15ELi15ELi0ELi15ELi15EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vm,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam33PreintegratedCombinedMeasurementsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.wm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam17CombinedImuFactorEE11instantiateEv=Ge.xm,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17CombinedImuFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ym,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17CombinedImuFactorENS2_17NoiseModelFactorNIJNS2_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES5_S8_NS2_7imuBias12ConstantBiasESA_EEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.zm,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES6_S9_NS4_7imuBias12ConstantBiasESB_EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Am,t.__ZN5boost13serialization18void_cast_registerIN5gtsam17NoiseModelFactorNIJNS2_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES4_S7_NS2_7imuBias12ConstantBiasES9_EEENS2_16NoiseModelFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Bm,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam17CombinedImuFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Cm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam17CombinedImuFactorEE11instantiateEv=Ge.Dm,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17CombinedImuFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Em,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES6_S9_NS4_7imuBias12ConstantBiasESB_EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Fm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam17CombinedImuFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Gm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam17CombinedImuFactorEE11instantiateEv=Ge.Hm,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17CombinedImuFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Im,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES6_S9_NS4_7imuBias12ConstantBiasESB_EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam17CombinedImuFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Km,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam17CombinedImuFactorEE11instantiateEv=Ge.Lm,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17CombinedImuFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mm,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES6_S9_NS4_7imuBias12ConstantBiasESB_EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Nm,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam17CombinedImuFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Om,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam17CombinedImuFactorEE11instantiateEv=Ge.Pm,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17CombinedImuFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qm,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam17NoiseModelFactorNIJNS4_5Pose3EN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEES6_S9_NS4_7imuBias12ConstantBiasESB_EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Rm,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam17CombinedImuFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Sm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE11instantiateEv=Ge.Tm,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Um,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE11instantiateEv=Ge.Vm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Wm,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE11instantiateEv=Ge.Xm,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ym,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE11instantiateEv=Ge.Zm,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge._m,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE11instantiateEv=Ge.$m,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel4BaseEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.an,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE11instantiateEv=Ge.bn,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.cn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE11instantiateEv=Ge.dn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.en,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE11instantiateEv=Ge.fn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.gn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE11instantiateEv=Ge.hn,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.jn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE11instantiateEv=Ge.kn,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ln,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel8GaussianEE11instantiateEv=Ge.mn,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8GaussianEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.nn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel8GaussianEE11instantiateEv=Ge.on,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8GaussianEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.pn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel8GaussianEE11instantiateEv=Ge.qn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8GaussianEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.rn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel8GaussianEE11instantiateEv=Ge.sn,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8GaussianEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.tn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel8GaussianEE11instantiateEv=Ge.un,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8GaussianEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.vn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE11instantiateEv=Ge.wn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE11instantiateEv=Ge.xn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE11instantiateEv=Ge.yn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel8DiagonalEE11instantiateEv=Ge.zn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel8DiagonalEE11instantiateEv=Ge.An,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel11ConstrainedEE11instantiateEv=Ge.Bn,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel11ConstrainedEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Cn,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel11ConstrainedENS3_8DiagonalEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Dn,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel11ConstrainedEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.En,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel11ConstrainedEE11instantiateEv=Ge.Fn,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel11ConstrainedEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel11ConstrainedEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Hn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel11ConstrainedEE11instantiateEv=Ge.In,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel11ConstrainedEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel11ConstrainedEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Kn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel11ConstrainedEE11instantiateEv=Ge.Ln,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel11ConstrainedEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mn,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel11ConstrainedEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Nn,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel11ConstrainedEE11instantiateEv=Ge.On,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel11ConstrainedEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pn,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel11ConstrainedEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Qn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel4UnitEE11instantiateEv=Ge.Rn,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel4UnitEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Sn,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel4UnitENS3_9IsotropicEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Tn,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel9IsotropicEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Un,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel9IsotropicENS3_8DiagonalEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Vn,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel4UnitEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Wn,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel4UnitEE11instantiateEv=Ge.Xn,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel4UnitEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yn,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel9IsotropicEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Zn,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel4UnitEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge._n,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel4UnitEE11instantiateEv=Ge.$n,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel4UnitEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ao,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel9IsotropicEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.bo,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel4UnitEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.co,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel4UnitEE11instantiateEv=Ge.eo,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel4UnitEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fo,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel9IsotropicEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.go,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel4UnitEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.ho,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel4UnitEE11instantiateEv=Ge.io,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel4UnitEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.jo,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel9IsotropicEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ko,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel4UnitEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.lo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel9IsotropicEE11instantiateEv=Ge.mo,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel9IsotropicEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.no,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel9IsotropicEE11instantiateEv=Ge.oo,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel9IsotropicEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.po,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel9IsotropicEE11instantiateEv=Ge.qo,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel9IsotropicEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ro,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel9IsotropicEE11instantiateEv=Ge.so,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel9IsotropicEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.to,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel9IsotropicEE11instantiateEv=Ge.uo,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel9IsotropicEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.vo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel6RobustEE11instantiateEv=Ge.wo,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel6RobustEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.xo,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel6RobustENS3_4BaseEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.yo,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel10mEstimator4BaseEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.zo,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel6RobustEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ao,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel6RobustEE11instantiateEv=Ge.Bo,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel6RobustEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Co,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel10mEstimator4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Do,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel6RobustEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Eo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel6RobustEE11instantiateEv=Ge.Fo,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel6RobustEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Go,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel10mEstimator4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ho,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel6RobustEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Io,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel6RobustEE11instantiateEv=Ge.Jo,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel6RobustEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ko,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel10mEstimator4BaseEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Lo,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel6RobustEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Mo,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel6RobustEE11instantiateEv=Ge.No,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel6RobustEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Oo,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel10mEstimator4BaseEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Po,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel6RobustEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Qo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam10noiseModel10mEstimator5HuberEE11instantiateEv=Ge.Ro,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel10mEstimator5HuberEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.So,t.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel10mEstimator5HuberENS4_4BaseEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.To,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel10mEstimator4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Uo,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel10mEstimator5HuberEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Vo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE11instantiateEv=Ge.Wo,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Xo,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel10mEstimator4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yo,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Zo,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE11instantiateEv=Ge._o,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.$o,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel10mEstimator4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ap,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel10mEstimator5HuberEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.bp,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam10noiseModel10mEstimator5HuberEE11instantiateEv=Ge.cp,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel10mEstimator5HuberEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dp,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel10mEstimator4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ep,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel10mEstimator5HuberEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.fp,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam10noiseModel10mEstimator5HuberEE11instantiateEv=Ge.gp,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel10mEstimator5HuberEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.hp,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel10mEstimator4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ip,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel10mEstimator5HuberEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.jp,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE11instantiateEv=Ge.kp,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.lp,t.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueINS2_7Cal3_S2EEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.mp,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5ValueEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.np,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.op,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE11instantiateEv=Ge.pp,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qp,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rp,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.sp,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE11instantiateEv=Ge.tp,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.up,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vp,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.wp,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE11instantiateEv=Ge.xp,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.yp,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam5ValueEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.zp,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ap,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE11instantiateEv=Ge.Bp,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Cp,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dp,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7Cal3_S2EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ep,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Fp,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gp,t.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Hp,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ip,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Jp,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kp,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Lp,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Mp,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Np,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Op,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Pp,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Qp,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Rp,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE11instantiateEv=Ge.Sp,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Tp,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Up,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE11instantiateEv=Ge.Vp,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Wp,t.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueINS2_5Pose3EEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.Xp,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Yp,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE11instantiateEv=Ge.Zp,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge._p,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.$p,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE11instantiateEv=Ge.aq,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.bq,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.cq,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueINS4_5Pose3EEEE11instantiateEv=Ge.dq,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.eq,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_5Pose3EEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.fq,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueINS4_5Pose3EEEE11instantiateEv=Ge.gq,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.hq,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_5Pose3EEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.iq,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.jq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.kq,t.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueINS2_7imuBias12ConstantBiasEEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.lq,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.mq,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.nq,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.oq,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.pq,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.qq,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rq,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.sq,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.tq,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.uq,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.vq,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE11instantiateEv=Ge.wq,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xq,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueINS4_7imuBias12ConstantBiasEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.yq,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveE10SLAMSystemE11instantiateEv=Ge.zq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE10SLAMSystemE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Aq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi9SLAMFrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Bq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi9SLAMFrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Cq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE9SLAMFrameE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Dq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN2cv8KeyPointENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Eq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN2cv8KeyPointEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Fq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv8KeyPointEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv6Point_IfEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Hq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI7SLAMImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Iq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE7SLAMImuE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Jq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI15SLAMFrameSharedEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Kq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE15SLAMFrameSharedE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Lq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIN2cv8KeyPointENS4_9allocatorIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv3MatEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Nq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI16SLAMRelocFeatureNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Oq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE16SLAMRelocFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Pq,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE15SLAMFrameSharedE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Qq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI10SLAMSystemEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Rq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi16SLAMWorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Sq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi16SLAMWorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Tq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE16SLAMWorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Uq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorNS4_4lessISB_EENS9_INS4_4pairIKSB_SC_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Vq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Wq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE10SLAMAnchorE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Xq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Yq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zq,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIN2cv6Point_IfEENS4_9allocatorIS8_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._q,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS9_ISB_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$q,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20NonlinearFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ar,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.br,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.cr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI18SLAMInitializationEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.er,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE18SLAMInitializationE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI25SLAMInitializationComputeEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.gr,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE18SLAMInitializationE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.hr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI9SLAMRelocEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ir,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE9SLAMRelocE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.jr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorINS4_10shared_ptrI12SLAMRelocMapEENS4_9allocatorIS8_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.kr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI12SLAMRelocMapEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.lr,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12SLAMRelocMapE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.mr,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE12SLAMRelocMapE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.nr,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE9SLAMRelocE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.or,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE10SLAMSystemE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.pr,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveE10SLAMSystemE11instantiateEv=Ge.qr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE10SLAMSystemE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi9SLAMFrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.sr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi9SLAMFrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.tr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE9SLAMFrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ur,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN2cv8KeyPointENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN2cv8KeyPointEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.wr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv8KeyPointEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv6Point_IfEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.yr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI7SLAMImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE7SLAMImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ar,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI15SLAMFrameSharedEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Br,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE15SLAMFrameSharedE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Cr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIN2cv8KeyPointENS4_9allocatorIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Dr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv3MatEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Er,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI16SLAMRelocFeatureNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Fr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE16SLAMRelocFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gr,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE15SLAMFrameSharedE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Hr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI10SLAMSystemEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ir,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi16SLAMWorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Jr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi16SLAMWorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Kr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE16SLAMWorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Lr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorNS4_4lessISB_EENS9_INS4_4pairIKSB_SC_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Mr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Nr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE10SLAMAnchorE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Or,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Pr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIN2cv6Point_IfEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Rr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS9_ISB_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Sr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Tr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ur,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Vr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Wr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI18SLAMInitializationEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Xr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE18SLAMInitializationE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Yr,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI25SLAMInitializationComputeEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Zr,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE18SLAMInitializationE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge._r,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI9SLAMRelocEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.$r,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE9SLAMRelocE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.as,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorINS4_10shared_ptrI12SLAMRelocMapEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.bs,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI12SLAMRelocMapEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.cs,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12SLAMRelocMapE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ds,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE12SLAMRelocMapE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.es,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE9SLAMRelocE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.fs,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE10SLAMSystemE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.gs,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveE10SLAMSystemE11instantiateEv=Ge.hs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE10SLAMSystemE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.is,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi9SLAMFrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.js,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi9SLAMFrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ks,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9SLAMFrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ls,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN2cv8KeyPointENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ms,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN2cv8KeyPointEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ns,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN2cv8KeyPointEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.os,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN2cv6Point_IfEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ps,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI7SLAMImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE7SLAMImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.rs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI15SLAMFrameSharedEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ss,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE15SLAMFrameSharedE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ts,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIN2cv8KeyPointENS4_9allocatorIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.us,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN2cv3MatEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.vs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI16SLAMRelocFeatureNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ws,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE16SLAMRelocFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xs,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE15SLAMFrameSharedE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.ys,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI10SLAMSystemEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi16SLAMWorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.As,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi16SLAMWorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Bs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE16SLAMWorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Cs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorNS4_4lessISB_EENS9_INS4_4pairIKSB_SC_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ds,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Es,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE10SLAMAnchorE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Fs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Gs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Hs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIN2cv6Point_IfEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Is,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS9_ISB_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Js,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ks,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ls,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ms,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ns,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI18SLAMInitializationEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Os,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE18SLAMInitializationE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ps,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI25SLAMInitializationComputeEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qs,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE18SLAMInitializationE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Rs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI9SLAMRelocEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ss,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9SLAMRelocE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ts,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorINS4_10shared_ptrI12SLAMRelocMapEENS4_9allocatorIS8_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Us,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI12SLAMRelocMapEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Vs,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE12SLAMRelocMapE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ws,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE12SLAMRelocMapE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Xs,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE9SLAMRelocE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Ys,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE10SLAMSystemE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Zs,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchive10SLAMSystemE11instantiateEv=Ge._s,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive10SLAMSystemE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.$s,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIi9SLAMFrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.at,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKi9SLAMFrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.bt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive9SLAMFrameE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ct,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiN2cv8KeyPointENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.dt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiN2cv8KeyPointEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.et,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN2cv8KeyPointEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ft,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN2cv6Point_IfEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.gt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorI7SLAMImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ht,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive7SLAMImuE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.it,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI15SLAMFrameSharedEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.jt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive15SLAMFrameSharedE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.kt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIN2cv8KeyPointENS4_9allocatorIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.lt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN2cv3MatEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.mt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorI16SLAMRelocFeatureNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.nt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive16SLAMRelocFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ot,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive15SLAMFrameSharedE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.pt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI10SLAMSystemEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.qt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIi16SLAMWorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.rt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKi16SLAMWorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.st,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive16SLAMWorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.tt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorNS4_4lessISB_EENS9_INS4_4pairIKSB_SC_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.ut,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE10SLAMAnchorEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.vt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive10SLAMAnchorE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.wt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.xt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.yt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIN2cv6Point_IfEENS4_9allocatorIS8_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.zt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS9_ISB_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.At,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam20NonlinearFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Bt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ct,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Dt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Et,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI18SLAMInitializationEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ft,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive18SLAMInitializationE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI25SLAMInitializationComputeEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ht,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive18SLAMInitializationE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.It,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI9SLAMRelocEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Jt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive9SLAMRelocE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Kt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorINS4_10shared_ptrI12SLAMRelocMapEENS4_9allocatorIS8_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Lt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI12SLAMRelocMapEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mt,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive12SLAMRelocMapE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Nt,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive12SLAMRelocMapE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ot,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive9SLAMRelocE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Pt,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive10SLAMSystemE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Qt,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchive10SLAMSystemE11instantiateEv=Ge.Rt,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveE12SLAMRelocMapE11instantiateEv=Ge.St,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveE12SLAMRelocMapE11instantiateEv=Ge.Tt,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveE12SLAMRelocMapE11instantiateEv=Ge.Ut,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchive12SLAMRelocMapE11instantiateEv=Ge.Vt,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchive12SLAMRelocMapE11instantiateEv=Ge.Wt,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveE18SLAMInitializationE11instantiateEv=Ge.Xt,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveE18SLAMInitializationE11instantiateEv=Ge.Yt,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveE18SLAMInitializationE11instantiateEv=Ge.Zt,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchive18SLAMInitializationE11instantiateEv=Ge._t,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchive18SLAMInitializationE11instantiateEv=Ge.$t,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveE32SLAMInitializationCoupledComputeE11instantiateEv=Ge.au,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE32SLAMInitializationCoupledComputeE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.bu,t.__ZN5boost13serialization18void_cast_registerI32SLAMInitializationCoupledCompute25SLAMInitializationComputeEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Ge.cu,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE25SLAMInitializationComputeE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.du,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE14SLAMParametersE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.eu,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.fu,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.gu,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrI24SLAMInitializationOutputEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.hu,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE24SLAMInitializationOutputE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.iu,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE24SLAMInitializationOutputE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.ju,t.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveE32SLAMInitializationCoupledComputeE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.ku,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveE32SLAMInitializationCoupledComputeE11instantiateEv=Ge.lu,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE32SLAMInitializationCoupledComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.mu,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE25SLAMInitializationComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.nu,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE14SLAMParametersE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ou,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.pu,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.qu,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrI24SLAMInitializationOutputEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.ru,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE24SLAMInitializationOutputE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.su,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE24SLAMInitializationOutputE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.tu,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveE32SLAMInitializationCoupledComputeE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.uu,t.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveE32SLAMInitializationCoupledComputeE11instantiateEv=Ge.vu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE32SLAMInitializationCoupledComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.wu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE25SLAMInitializationComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.xu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE14SLAMParametersE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.yu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.zu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Au,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrI24SLAMInitializationOutputEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Bu,t.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE24SLAMInitializationOutputE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Cu,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE24SLAMInitializationOutputE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Du,t.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveE32SLAMInitializationCoupledComputeE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Eu,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchive32SLAMInitializationCoupledComputeE11instantiateEv=Ge.Fu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive32SLAMInitializationCoupledComputeE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Gu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive25SLAMInitializationComputeE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Hu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive14SLAMParametersE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Iu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ju,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Ku,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrI24SLAMInitializationOutputEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Lu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive24SLAMInitializationOutputE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Mu,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive24SLAMInitializationOutputE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Nu,t.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchive32SLAMInitializationCoupledComputeE15load_object_ptrERNS1_14basic_iarchiveEPvj=Ge.Ou,t.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchive32SLAMInitializationCoupledComputeE11instantiateEv=Ge.Pu,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive32SLAMInitializationCoupledComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Qu,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive25SLAMInitializationComputeE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Ru,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive14SLAMParametersE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Su,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Tu,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Uu,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrI24SLAMInitializationOutputEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Vu,t.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive24SLAMInitializationOutputE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.Wu,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive24SLAMInitializationOutputE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Xu,t.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchive32SLAMInitializationCoupledComputeE15save_object_ptrERNS1_14basic_oarchiveEPKv=Ge.Yu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiNS4_10shared_ptrI10SLAMSystemEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.Zu,t.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiNS4_10shared_ptrI10SLAMSystemEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge._u,t.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE23SLAMInitializationInputE16save_object_dataERNS1_14basic_oarchiveEPKv=Ge.$u,t.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE23SLAMInitializationInputE16load_object_dataERNS1_14basic_iarchiveEPvj=Ge.av,Ge.htons,Ge.ntohs,Ge.bv),We=Ge.cv,Xe=Ge.dv,Ye=Ge.ev;function Je(){function e(){De||(De=!0,t.calledRun=!0,z||(A=!0,t.noFSInit||oe.init.initialized||oe.init(),oe.ignorePermissions=!1,ae.init(),V(Z),i(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)e=t.postRun.shift(),k.unshift(e);var e;V(k)}()))}x>0||(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)e=t.preRun.shift(),M.unshift(e);var e;V(M)}(),x>0||(t.setStatus?(t.setStatus("Running..."),setTimeout((function(){setTimeout((function(){t.setStatus("")}),1),e()}),1)):e()))}if(t.___start_em_js=1020068,t.___stop_em_js=1021233,t.cwrap=(e,a,i,r)=>{var t=!i||i.every((e=>"number"===e||"boolean"===e));return"string"!==a&&t&&!r?Fe(e):function(){return((e,a,i,r,t)=>{var _={string:e=>{var a=0;return null!=e&&0!==e&&(a=(e=>{var a=J(e)+1,i=Ye(a);return ce(e,i,a),i})(e)),a},array:e=>{var a=Ye(e.length);return xe(e,a),a}},o=Fe(e),s=[],n=0;if(r)for(var c=0;c<r.length;c++){var E=_[i[c]];E?(0===n&&(n=We()),s[c]=E(r[c])):s[c]=r[c]}return function(e){return 0!==n&&Xe(n),function(e){return"string"===a?se(e):"boolean"===a?Boolean(e):e}(e)}(o.apply(null,s))})(e,a,i,arguments)}},t.setValue=function(e,a,i="i8"){switch(i.endsWith("*")&&(i="*"),i){case"i1":case"i8":N[e>>0]=a;break;case"i16":u[e>>1]=a;break;case"i32":g[e>>2]=a;break;case"i64":O("to do setValue(i64) use WASM_BIGINT");case"float":I[e>>2]=a;break;case"double":y[e>>3]=a;break;case"*":f[e>>2]=a;break;default:O(`invalid type for setValue: ${i}`)}},t.getValue=function(e,a="i8"){switch(a.endsWith("*")&&(a="*"),a){case"i1":case"i8":return N[e>>0];case"i16":return u[e>>1];case"i32":return g[e>>2];case"i64":O("to do getValue(i64) use WASM_BIGINT");case"float":return I[e>>2];case"double":return y[e>>3];case"*":return f[e>>2];default:O(`invalid type for getValue: ${a}`)}},t.UTF8ToString=se,T=function e(){De||Je(),De||(T=e)},t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.pop()();return Je(),a});const r=a;class t{constructor(e){this._messageSender=e,this._freeBufferPool=[],this._buffer=new ArrayBuffer(16),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1,this._timeoutSet=!1,this._appender={int:e=>this.int(e),bool:e=>this.int(e?1:0),float:e=>this.float(e),string:e=>this.string(e),dataWithLength:e=>this.arrayBuffer(e),type:e=>this.int(e),matrix4x4:e=>this.float32ArrayBuffer(e),matrix3x3:e=>this.float32ArrayBuffer(e),floatArray:e=>this.float32ArrayBuffer(e),ucharArray:e=>this.uint8ArrayBuffer(e),identityCoefficients:e=>this.float32ArrayBuffer(e),expressionCoefficients:e=>this.float32ArrayBuffer(e),cameraModel:e=>this.float32ArrayBuffer(e),timestamp:e=>this.double(e),barcodeFormat:e=>this.int(e),faceLandmarkName:e=>this.int(e),instantTrackerTransformOrientation:e=>this.int(e),transformOrientation:e=>this.int(e),planeOrientation:e=>this.int(e),anchorStatus:e=>this.int(e),logLevel:e=>this.int(e)},this._freeBufferPool.push(new ArrayBuffer(16)),this._freeBufferPool.push(new ArrayBuffer(16))}bufferReturn(e){this._freeBufferPool.push(e)}_ensureArrayBuffer(e){let a,i=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=i)return;if(!a){let e=i;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,a=new ArrayBuffer(e)}let r=this._buffer?this._i32View:void 0;this._buffer=a,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),r&&this._i32View.set(r.subarray(0,this._offset))}sendMessage(e,a){this._ensureArrayBuffer(4),this._startOffset=this._offset,this._i32View[this._offset+1]=e,this._offset+=2,a(this._appender),this._i32View[this._startOffset]=this._offset-this._startOffset,this._startOffset=-1,this._sendOneTime()}_sendOneTime(){!1===this._timeoutSet&&(this._timeoutSet=!0,setTimeout((()=>{this._timeoutSet=!1,this._send()}),0))}_send(){0!==this._freeBufferPool.length?(this._i32View[0]=this._offset,this._messageSender(this._buffer),this._buffer=void 0,this._buffer=this._freeBufferPool.pop(),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1):this._sendOneTime()}int(e){this._ensureArrayBuffer(1),this._i32View[this._offset]=e,this._offset++}double(e){this._ensureArrayBuffer(2),this._offset%2==1&&this._offset++,this._f64View[this._offset/2]=e,this._offset+=2}float(e){this._ensureArrayBuffer(1),this._f32View[this._offset]=e,this._offset++}int32Array(e){this._ensureArrayBuffer(e.length);for(let a=0;a<e.length;++a)this._i32View[this._offset+a]=e[a];this._offset+=e.length}float32Array(e){this._ensureArrayBuffer(e.length);for(let a=0;a<e.length;++a)this._f32View[this._offset+a]=e[a];this._offset+=e.length}booleanArray(e){this._ensureArrayBuffer(e.length);for(let a=0;a<e.length;++a)this._i32View[this._offset+a]=e[a]?1:0;this._offset+=e.length}uint8ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8View.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}arrayBuffer(e){let a=new Uint8Array(e);this.uint8ArrayBuffer(a)}uint8ClampedArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8cView.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}float32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._f32View.set(e,this._offset),this._offset+=e.length}uint16ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++;let a=2*this._offset;this._u16View.set(e,a),this._offset+=e.length>>1,0!=(1&e.length)&&this._offset++}int32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._i32View.set(e,this._offset),this._offset+=e.length}uint32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._u32View.set(e,this._offset),this._offset+=e.length}string(e){let a=(new TextEncoder).encode(e);this._ensureArrayBuffer(a.byteLength/4),this._i32View[this._offset]=a.byteLength,this._offset++,this._u8View.set(a,4*this._offset),this._offset+=a.byteLength>>2,0!=(3&a.byteLength)&&this._offset++}}class _{constructor(){this._buffer=new ArrayBuffer(0),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,this._startOffset=-1,this._processor={int:()=>this._i32View[this._startOffset++],bool:()=>1===this._i32View[this._startOffset++],type:()=>this._i32View[this._startOffset++],float:()=>this._f32View[this._startOffset++],timestamp:()=>{this._startOffset%2==1&&this._startOffset++;let e=this._f64View[this._startOffset/2];return this._startOffset+=2,e},string:()=>{let e=this._i32View[this._startOffset++],a=(new TextDecoder).decode(new Uint8Array(this._buffer,4*this._startOffset,e));return this._startOffset+=e>>2,0!=(3&e)&&this._startOffset++,a},dataWithLength:()=>{let e=this._i32View[this._startOffset++],a=new Uint8Array(e);return a.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=a.byteLength>>2,0!=(3&a.byteLength)&&this._startOffset++,a.buffer},ucharArray:()=>{let e=this._i32View[this._startOffset++],a=new Uint8Array(e);return a.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=a.byteLength>>2,0!=(3&a.byteLength)&&this._startOffset++,a},floatArray:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+e)),this._startOffset+=e,a},matrix4x4:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+16)),this._startOffset+=e,a},matrix3x3:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+9)),this._startOffset+=e,a},identityCoefficients:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+50)),this._startOffset+=e,a},expressionCoefficients:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+29)),this._startOffset+=e,a},cameraModel:()=>{let e=this._i32View[this._startOffset++],a=new Float32Array(e);return a.set(this._f32View.subarray(this._startOffset,this._startOffset+6)),this._startOffset+=e,a},barcodeFormat:()=>this._i32View[this._startOffset++],faceLandmarkName:()=>this._i32View[this._startOffset++],instantTrackerTransformOrientation:()=>this._i32View[this._startOffset++],transformOrientation:()=>this._i32View[this._startOffset++],planeOrientation:()=>this._i32View[this._startOffset++],anchorStatus:()=>this._i32View[this._startOffset++],logLevel:()=>this._i32View[this._startOffset++]}}setData(e){this._buffer=e,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,e.byteLength>=4&&(this._offset=1,this._length=this._i32View[0]),this._startOffset=-1}hasMessage(){return this._offset+1<this._length}forMessages(e){for(;this.hasMessage();){let a=this._i32View[this._offset],i=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=a,e(i,this._processor)}}}class o{constructor(e,a){this._impl=e,this._sender=a,this._deserializer=new _,this.serializersByPipelineId=new Map,this._pipeline_id_by_pipeline_id=new Map,this._pipeline_by_instance=new Map,this._pipeline_id_by_camera_source_id=new Map,this._camera_source_by_instance=new Map,this._pipeline_id_by_sequence_source_id=new Map,this._sequence_source_by_instance=new Map,this._pipeline_id_by_image_tracker_id=new Map,this._image_tracker_by_instance=new Map,this._pipeline_id_by_face_tracker_id=new Map,this._face_tracker_by_instance=new Map,this._pipeline_id_by_face_mesh_id=new Map,this._face_mesh_by_instance=new Map,this._pipeline_id_by_face_landmark_id=new Map,this._face_landmark_by_instance=new Map,this._pipeline_id_by_barcode_finder_id=new Map,this._barcode_finder_by_instance=new Map,this._pipeline_id_by_instant_world_tracker_id=new Map,this._instant_world_tracker_by_instance=new Map,this._pipeline_id_by_zapcode_tracker_id=new Map,this._zapcode_tracker_by_instance=new Map,this._pipeline_id_by_world_tracker_id=new Map,this._world_tracker_by_instance=new Map,this._pipeline_id_by_custom_anchor_id=new Map,this._custom_anchor_by_instance=new Map}processBuffer(e){this._deserializer.setData(e),this._deserializer.forMessages(((e,a)=>{switch(e){case 38:this._impl.log_level_set(a.logLevel());break;case 35:this._impl.analytics_project_id_set(a.string(),a.string());break;case 31:{let e=a.type(),i=this._impl.pipeline_create();this._pipeline_by_instance.set(e,i),this._pipeline_id_by_pipeline_id.set(e,e),this.serializersByPipelineId.set(e,new t((a=>{this._sender(e,a)})));break}case 32:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_destroy(i),this._pipeline_by_instance.delete(e);break}case 9:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_frame_update(i);break}case 8:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_camera_frame_submit(i,a.dataWithLength(),a.int(),a.int(),a.int(),a.matrix4x4(),a.cameraModel(),a.bool(),a.float());break}case 10:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_accelerometer_submit(i,a.timestamp(),a.float(),a.float(),a.float());break}case 12:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_accelerometer_with_gravity_submit_int(i,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 11:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_accelerometer_without_gravity_submit_int(i,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 15:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_rotation_rate_submit(i,a.timestamp(),a.float(),a.float(),a.float());break}case 13:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_rotation_rate_submit_int(i,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 16:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_attitude_submit(i,a.timestamp(),a.float(),a.float(),a.float());break}case 14:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_attitude_submit_int(i,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 17:{let e=a.type(),i=this._pipeline_by_instance.get(e);if(void 0===i)return;this._impl.pipeline_motion_attitude_matrix_submit(i,a.matrix4x4());break}case 33:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=a.string(),_=this._impl.camera_source_create(r,t);this._camera_source_by_instance.set(e,_),this._pipeline_id_by_camera_source_id.set(e,i);break}case 34:{let e=a.type(),i=this._camera_source_by_instance.get(e);if(void 0===i)return;this._impl.camera_source_destroy(i),this._camera_source_by_instance.delete(e);break}case 39:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.sequence_source_create(r);this._sequence_source_by_instance.set(e,t),this._pipeline_id_by_sequence_source_id.set(e,i);break}case 40:{let e=a.type(),i=this._sequence_source_by_instance.get(e);if(void 0===i)return;this._impl.sequence_source_destroy(i),this._sequence_source_by_instance.delete(e);break}case 2:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.image_tracker_create(r);this._image_tracker_by_instance.set(e,t),this._pipeline_id_by_image_tracker_id.set(e,i);break}case 18:{let e=a.type(),i=this._image_tracker_by_instance.get(e);if(void 0===i)return;this._impl.image_tracker_destroy(i),this._image_tracker_by_instance.delete(e);break}case 4:{let e=a.type(),i=this._image_tracker_by_instance.get(e);if(void 0===i)return;this._impl.image_tracker_target_load_from_memory(i,a.dataWithLength());break}case 3:{let e=a.type(),i=this._image_tracker_by_instance.get(e);if(void 0===i)return;this._impl.image_tracker_enabled_set(i,a.bool());break}case 24:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.face_tracker_create(r);this._face_tracker_by_instance.set(e,t),this._pipeline_id_by_face_tracker_id.set(e,i);break}case 25:{let e=a.type(),i=this._face_tracker_by_instance.get(e);if(void 0===i)return;this._impl.face_tracker_destroy(i),this._face_tracker_by_instance.delete(e);break}case 26:{let e=a.type(),i=this._face_tracker_by_instance.get(e);if(void 0===i)return;this._impl.face_tracker_model_load_from_memory(i,a.dataWithLength());break}case 27:{let e=a.type(),i=this._face_tracker_by_instance.get(e);if(void 0===i)return;this._impl.face_tracker_enabled_set(i,a.bool());break}case 28:{let e=a.type(),i=this._face_tracker_by_instance.get(e);if(void 0===i)return;this._impl.face_tracker_max_faces_set(i,a.int());break}case 29:{let e=a.type(),i=this._impl.face_mesh_create();this._face_mesh_by_instance.set(e,i);break}case 30:{let e=a.type(),i=this._face_mesh_by_instance.get(e);if(void 0===i)return;this._impl.face_mesh_destroy(i),this._face_mesh_by_instance.delete(e);break}case 36:{let e=a.type(),i=a.faceLandmarkName(),r=this._impl.face_landmark_create(i);this._face_landmark_by_instance.set(e,r);break}case 37:{let e=a.type(),i=this._face_landmark_by_instance.get(e);if(void 0===i)return;this._impl.face_landmark_destroy(i),this._face_landmark_by_instance.delete(e);break}case 20:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.barcode_finder_create(r);this._barcode_finder_by_instance.set(e,t),this._pipeline_id_by_barcode_finder_id.set(e,i);break}case 21:{let e=a.type(),i=this._barcode_finder_by_instance.get(e);if(void 0===i)return;this._impl.barcode_finder_destroy(i),this._barcode_finder_by_instance.delete(e);break}case 22:{let e=a.type(),i=this._barcode_finder_by_instance.get(e);if(void 0===i)return;this._impl.barcode_finder_enabled_set(i,a.bool());break}case 23:{let e=a.type(),i=this._barcode_finder_by_instance.get(e);if(void 0===i)return;this._impl.barcode_finder_formats_set(i,a.barcodeFormat());break}case 5:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.instant_world_tracker_create(r);this._instant_world_tracker_by_instance.set(e,t),this._pipeline_id_by_instant_world_tracker_id.set(e,i);break}case 19:{let e=a.type(),i=this._instant_world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.instant_world_tracker_destroy(i),this._instant_world_tracker_by_instance.delete(e);break}case 6:{let e=a.type(),i=this._instant_world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.instant_world_tracker_enabled_set(i,a.bool());break}case 7:{let e=a.type(),i=this._instant_world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(i,a.float(),a.float(),a.float(),a.instantTrackerTransformOrientation());break}case 41:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.zapcode_tracker_create(r);this._zapcode_tracker_by_instance.set(e,t),this._pipeline_id_by_zapcode_tracker_id.set(e,i);break}case 44:{let e=a.type(),i=this._zapcode_tracker_by_instance.get(e);if(void 0===i)return;this._impl.zapcode_tracker_destroy(i),this._zapcode_tracker_by_instance.delete(e);break}case 43:{let e=a.type(),i=this._zapcode_tracker_by_instance.get(e);if(void 0===i)return;this._impl.zapcode_tracker_target_load_from_memory(i,a.dataWithLength());break}case 42:{let e=a.type(),i=this._zapcode_tracker_by_instance.get(e);if(void 0===i)return;this._impl.zapcode_tracker_enabled_set(i,a.bool());break}case 45:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=this._impl.world_tracker_create(r);this._world_tracker_by_instance.set(e,t),this._pipeline_id_by_world_tracker_id.set(e,i);break}case 46:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_destroy(i),this._world_tracker_by_instance.delete(e);break}case 47:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_enabled_set(i,a.bool());break}case 48:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_horizontal_plane_detection_enabled_set(i,a.bool());break}case 49:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_vertical_plane_detection_enabled_set(i,a.bool());break}case 50:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_reset(i);break}case 51:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_tracks_data_enabled_set(i,a.bool());break}case 52:{let e=a.type(),i=this._world_tracker_by_instance.get(e);if(void 0===i)return;this._impl.world_tracker_projections_data_enabled_set(i,a.bool());break}case 53:{let e=a.type(),i=a.type(),r=this._pipeline_by_instance.get(i),t=a.type(),_=this._world_tracker_by_instance.get(t),o=a.string(),s=this._impl.custom_anchor_create(r,_,o);this._custom_anchor_by_instance.set(e,s),this._pipeline_id_by_custom_anchor_id.set(e,i);break}case 54:{let e=a.type(),i=this._custom_anchor_by_instance.get(e);if(void 0===i)return;this._impl.custom_anchor_destroy(i),this._custom_anchor_by_instance.delete(e);break}case 55:{let e=a.type(),i=this._custom_anchor_by_instance.get(e);if(void 0===i)return;this._impl.custom_anchor_enabled_set(i,a.bool());break}case 56:{let e=a.type(),i=this._custom_anchor_by_instance.get(e);if(void 0===i)return;this._impl.custom_anchor_pose_set_from_camera_offset_raw(i,a.float(),a.float(),a.float(),a.transformOrientation());break}case 57:{let e=a.type(),i=this._custom_anchor_by_instance.get(e);if(void 0===i)return;this._impl.custom_anchor_pose_set_from_anchor_offset(i,a.string(),a.float(),a.float(),a.float(),a.transformOrientation());break}}}))}exploreState(){for(let[e,a]of this._pipeline_by_instance){let i=this._pipeline_id_by_pipeline_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);r&&(r.sendMessage(7,(i=>{i.type(e),i.int(this._impl.pipeline_frame_number(a))})),r.sendMessage(6,(i=>{i.type(e),i.cameraModel(this._impl.pipeline_camera_model(a))})),r.sendMessage(5,(i=>{i.type(e),i.int(this._impl.pipeline_camera_frame_user_data(a))})),r.sendMessage(11,(i=>{i.type(e),i.matrix4x4(this._impl.pipeline_camera_frame_camera_attitude(a))})),r.sendMessage(12,(i=>{i.type(e),i.matrix4x4(this._impl.pipeline_camera_frame_device_attitude(a))})))}for(let[e,a]of this._camera_source_by_instance){let a=this._pipeline_id_by_camera_source_id.get(e);a&&this.serializersByPipelineId.get(a)}for(let[e,a]of this._sequence_source_by_instance){let a=this._pipeline_id_by_sequence_source_id.get(e);a&&this.serializersByPipelineId.get(a)}for(let[e,a]of this._image_tracker_by_instance){let i=this._pipeline_id_by_image_tracker_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);if(r){r.sendMessage(19,(i=>{i.type(e),i.int(this._impl.image_tracker_target_loaded_version(a))})),r.sendMessage(1,(i=>{i.type(e),i.int(this._impl.image_tracker_anchor_count(a))}));for(let i=0;i<this._impl.image_tracker_anchor_count(a);i++)r.sendMessage(2,(r=>{r.type(e),r.int(i),r.string(this._impl.image_tracker_anchor_id(a,i))}));for(let i=0;i<this._impl.image_tracker_anchor_count(a);i++)r.sendMessage(3,(r=>{r.type(e),r.int(i),r.matrix4x4(this._impl.image_tracker_anchor_pose_raw(a,i))}))}}for(let[e,a]of this._face_tracker_by_instance){let i=this._pipeline_id_by_face_tracker_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);if(r){r.sendMessage(18,(i=>{i.type(e),i.int(this._impl.face_tracker_model_loaded_version(a))})),r.sendMessage(13,(i=>{i.type(e),i.int(this._impl.face_tracker_anchor_count(a))}));for(let i=0;i<this._impl.face_tracker_anchor_count(a);i++)r.sendMessage(14,(r=>{r.type(e),r.int(i),r.string(this._impl.face_tracker_anchor_id(a,i))}));for(let i=0;i<this._impl.face_tracker_anchor_count(a);i++)r.sendMessage(15,(r=>{r.type(e),r.int(i),r.matrix4x4(this._impl.face_tracker_anchor_pose_raw(a,i))}));for(let i=0;i<this._impl.face_tracker_anchor_count(a);i++)r.sendMessage(16,(r=>{r.type(e),r.int(i),r.identityCoefficients(this._impl.face_tracker_anchor_identity_coefficients(a,i))}));for(let i=0;i<this._impl.face_tracker_anchor_count(a);i++)r.sendMessage(17,(r=>{r.type(e),r.int(i),r.expressionCoefficients(this._impl.face_tracker_anchor_expression_coefficients(a,i))}))}}for(let[e,a]of this._face_mesh_by_instance){let a=this._pipeline_id_by_face_mesh_id.get(e);a&&this.serializersByPipelineId.get(a)}for(let[e,a]of this._face_landmark_by_instance){let a=this._pipeline_id_by_face_landmark_id.get(e);a&&this.serializersByPipelineId.get(a)}for(let[e,a]of this._barcode_finder_by_instance){let i=this._pipeline_id_by_barcode_finder_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);if(r){r.sendMessage(8,(i=>{i.type(e),i.int(this._impl.barcode_finder_found_number(a))}));for(let i=0;i<this._impl.barcode_finder_found_number(a);i++)r.sendMessage(9,(r=>{r.type(e),r.int(i),r.string(this._impl.barcode_finder_found_text(a,i))}));for(let i=0;i<this._impl.barcode_finder_found_number(a);i++)r.sendMessage(10,(r=>{r.type(e),r.int(i),r.barcodeFormat(this._impl.barcode_finder_found_format(a,i))}))}}for(let[e,a]of this._instant_world_tracker_by_instance){let i=this._pipeline_id_by_instant_world_tracker_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);r&&r.sendMessage(4,(i=>{i.type(e),i.matrix4x4(this._impl.instant_world_tracker_anchor_pose_raw(a))}))}for(let[e,a]of this._zapcode_tracker_by_instance){let i=this._pipeline_id_by_zapcode_tracker_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);if(r){r.sendMessage(24,(i=>{i.type(e),i.int(this._impl.zapcode_tracker_target_loaded_version(a))})),r.sendMessage(21,(i=>{i.type(e),i.int(this._impl.zapcode_tracker_anchor_count(a))}));for(let i=0;i<this._impl.zapcode_tracker_anchor_count(a);i++)r.sendMessage(22,(r=>{r.type(e),r.int(i),r.string(this._impl.zapcode_tracker_anchor_id(a,i))}));for(let i=0;i<this._impl.zapcode_tracker_anchor_count(a);i++)r.sendMessage(23,(r=>{r.type(e),r.int(i),r.matrix4x4(this._impl.zapcode_tracker_anchor_pose_raw(a,i))}))}}for(let[e,a]of this._world_tracker_by_instance){let i=this._pipeline_id_by_world_tracker_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);if(r){r.sendMessage(40,(i=>{i.type(e),i.int(this._impl.world_tracker_quality(a))})),r.sendMessage(25,(i=>{i.type(e),i.int(this._impl.world_tracker_plane_anchor_count(a))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(33,(r=>{r.type(e),r.int(i),r.string(this._impl.world_tracker_plane_anchor_id(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(26,(r=>{r.type(e),r.int(i),r.matrix4x4(this._impl.world_tracker_plane_anchor_pose_raw(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(28,(r=>{r.type(e),r.int(i),r.anchorStatus(this._impl.world_tracker_plane_anchor_status(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(29,(r=>{r.type(e),r.int(i),r.int(this._impl.world_tracker_plane_anchor_polygon_data_size(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(30,(r=>{r.type(e),r.int(i),r.floatArray(this._impl.world_tracker_plane_anchor_polygon_data(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(31,(r=>{r.type(e),r.int(i),r.int(this._impl.world_tracker_plane_anchor_polygon_version(a,i))}));for(let i=0;i<this._impl.world_tracker_plane_anchor_count(a);i++)r.sendMessage(32,(r=>{r.type(e),r.int(i),r.planeOrientation(this._impl.world_tracker_plane_anchor_orientation(a,i))}));r.sendMessage(36,(i=>{i.type(e),i.anchorStatus(this._impl.world_tracker_world_anchor_status(a))})),r.sendMessage(35,(i=>{i.type(e),i.string(this._impl.world_tracker_world_anchor_id(a))})),r.sendMessage(34,(i=>{i.type(e),i.matrix4x4(this._impl.world_tracker_world_anchor_pose_raw(a))})),r.sendMessage(38,(i=>{i.type(e),i.string(this._impl.world_tracker_ground_anchor_id(a))})),r.sendMessage(39,(i=>{i.type(e),i.anchorStatus(this._impl.world_tracker_ground_anchor_status(a))})),r.sendMessage(37,(i=>{i.type(e),i.matrix4x4(this._impl.world_tracker_ground_anchor_pose_raw(a))})),r.sendMessage(43,(i=>{i.type(e),i.int(this._impl.world_tracker_tracks_data_size(a))})),r.sendMessage(42,(i=>{i.type(e),i.floatArray(this._impl.world_tracker_tracks_data(a))})),r.sendMessage(45,(i=>{i.type(e),i.int(this._impl.world_tracker_tracks_type_data_size(a))})),r.sendMessage(44,(i=>{i.type(e),i.ucharArray(this._impl.world_tracker_tracks_type_data(a))})),r.sendMessage(48,(i=>{i.type(e),i.int(this._impl.world_tracker_projections_data_size(a))})),r.sendMessage(47,(i=>{i.type(e),i.floatArray(this._impl.world_tracker_projections_data(a))}))}}for(let[e,a]of this._custom_anchor_by_instance){let i=this._pipeline_id_by_custom_anchor_id.get(e);if(!i)continue;let r=this.serializersByPipelineId.get(i);r&&(r.sendMessage(50,(i=>{i.type(e),i.anchorStatus(this._impl.custom_anchor_status(a))})),r.sendMessage(49,(i=>{i.type(e),i.matrix4x4(this._impl.custom_anchor_pose_raw(a))})))}}}class s{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let a=this._funcs.indexOf(e);a>-1&&this._funcs.splice(a,1)}emit(){for(var e=0,a=this._funcs.length;e<a;e++)this._funcs[e]()}}class n{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let a=this._funcs.indexOf(e);a>-1&&this._funcs.splice(a,1)}emit(e){for(var a=0,i=this._funcs.length;a<i;a++)this._funcs[a](e)}}var c,E,l,b,d,v,h,p,N,m,u,S="undefined"!=typeof Float32Array?Float32Array:Array;function g(){var e=new S(16);return S!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function f(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}Math.random,Math.PI,Math.hypot||(Math.hypot=function(){for(var e=0,a=arguments.length;a--;)e+=arguments[a]*arguments[a];return Math.sqrt(e)}),function(e){e[e.UNKNOWN=131072]="UNKNOWN",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=4]="CODE_39",e[e.CODE_93=8]="CODE_93",e[e.CODE_128=16]="CODE_128",e[e.DATA_MATRIX=32]="DATA_MATRIX",e[e.EAN_8=64]="EAN_8",e[e.EAN_13=128]="EAN_13",e[e.ITF=256]="ITF",e[e.MAXICODE=512]="MAXICODE",e[e.PDF_417=1024]="PDF_417",e[e.QR_CODE=2048]="QR_CODE",e[e.RSS_14=4096]="RSS_14",e[e.RSS_EXPANDED=8192]="RSS_EXPANDED",e[e.UPC_A=16384]="UPC_A",e[e.UPC_E=32768]="UPC_E",e[e.UPC_EAN_EXTENSION=65536]="UPC_EAN_EXTENSION",e[e.ALL=131071]="ALL"}(c||(c={})),function(e){e[e.EYE_LEFT=0]="EYE_LEFT",e[e.EYE_RIGHT=1]="EYE_RIGHT",e[e.EAR_LEFT=2]="EAR_LEFT",e[e.EAR_RIGHT=3]="EAR_RIGHT",e[e.NOSE_BRIDGE=4]="NOSE_BRIDGE",e[e.NOSE_TIP=5]="NOSE_TIP",e[e.NOSE_BASE=6]="NOSE_BASE",e[e.LIP_TOP=7]="LIP_TOP",e[e.LIP_BOTTOM=8]="LIP_BOTTOM",e[e.MOUTH_CENTER=9]="MOUTH_CENTER",e[e.CHIN=10]="CHIN",e[e.EYEBROW_LEFT=11]="EYEBROW_LEFT",e[e.EYEBROW_RIGHT=12]="EYEBROW_RIGHT"}(E||(E={})),function(e){e[e.WORLD=3]="WORLD",e[e.MINUS_Z_AWAY_FROM_USER=4]="MINUS_Z_AWAY_FROM_USER",e[e.MINUS_Z_HEADING=5]="MINUS_Z_HEADING",e[e.UNCHANGED=6]="UNCHANGED"}(l||(l={})),function(e){e[e.UNCHANGED=0]="UNCHANGED",e[e.WORLD=1]="WORLD",e[e.PARENT=2]="PARENT",e[e.Z_TOWARDS_CAMERA=3]="Z_TOWARDS_CAMERA"}(b||(b={})),function(e){e[e.LOG_LEVEL_NONE=0]="LOG_LEVEL_NONE",e[e.LOG_LEVEL_ERROR=1]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_WARNING=2]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_VERBOSE=3]="LOG_LEVEL_VERBOSE"}(d||(d={})),function(e){e[e.FRAME_PIXEL_FORMAT_I420=0]="FRAME_PIXEL_FORMAT_I420",e[e.FRAME_PIXEL_FORMAT_I420A=1]="FRAME_PIXEL_FORMAT_I420A",e[e.FRAME_PIXEL_FORMAT_I422=2]="FRAME_PIXEL_FORMAT_I422",e[e.FRAME_PIXEL_FORMAT_I444=3]="FRAME_PIXEL_FORMAT_I444",e[e.FRAME_PIXEL_FORMAT_NV12=4]="FRAME_PIXEL_FORMAT_NV12",e[e.FRAME_PIXEL_FORMAT_RGBA=5]="FRAME_PIXEL_FORMAT_RGBA",e[e.FRAME_PIXEL_FORMAT_BGRA=6]="FRAME_PIXEL_FORMAT_BGRA",e[e.FRAME_PIXEL_FORMAT_Y=7]="FRAME_PIXEL_FORMAT_Y"}(v||(v={})),function(e){e[e.IMAGE_TRACKER_TYPE_PLANAR=0]="IMAGE_TRACKER_TYPE_PLANAR",e[e.IMAGE_TRACKER_TYPE_CYLINDRICAL=1]="IMAGE_TRACKER_TYPE_CYLINDRICAL",e[e.IMAGE_TRACKER_TYPE_CONICAL=2]="IMAGE_TRACKER_TYPE_CONICAL"}(h||(h={})),function(e){e[e.WORLD_TRACKER_QUALITY_INITIALIZING=0]="WORLD_TRACKER_QUALITY_INITIALIZING",e[e.WORLD_TRACKER_QUALITY_GOOD=1]="WORLD_TRACKER_QUALITY_GOOD",e[e.WORLD_TRACKER_QUALITY_LIMITED=2]="WORLD_TRACKER_QUALITY_LIMITED"}(p||(p={})),function(e){e[e.ANCHOR_STATUS_INITIALIZING=0]="ANCHOR_STATUS_INITIALIZING",e[e.ANCHOR_STATUS_TRACKING=1]="ANCHOR_STATUS_TRACKING",e[e.ANCHOR_STATUS_PAUSED=2]="ANCHOR_STATUS_PAUSED",e[e.ANCHOR_STATUS_STOPPED=3]="ANCHOR_STATUS_STOPPED"}(N||(N={})),function(e){e[e.PLANE_ORIENTATION_HORIZONTAL=0]="PLANE_ORIENTATION_HORIZONTAL",e[e.PLANE_ORIENTATION_VERTICAL=1]="PLANE_ORIENTATION_VERTICAL"}(m||(m={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HIGH=1]="HIGH"}(u||(u={}));const I=new Map;class y{constructor(e){this._gl=e,this._viewports=[],this._underlyingViewport=this._gl.viewport,this._viewports.push(this._gl.getParameter(this._gl.VIEWPORT)),this._gl.viewport=(e,a,i,r)=>{this._viewports[this._viewports.length-1]=[e,a,i,r],this._underlyingViewport.call(this._gl,e,a,i,r)}}static get(e){let a=I.get(e);return a||(a=new y(e),I.set(e,a)),a}push(){this._viewports.push(this._viewports[this._viewports.length-1])}pop(){const e=this._viewports.pop(),a=this._viewports[this._viewports.length-1];e&&e[0]===a[0]&&e[1]===a[1]&&e[2]===a[2]&&e[3]===a[3]||this._underlyingViewport.call(this._gl,a[0],a[1],a[2],a[3])}}var z,w=i(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(z||(z={}));let P={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,getDataSize:e=>e===u.HIGH?[640,480]:[320,240],videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=P,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),P.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),P.preferImageBitmapCamera=!0));let K=new w.UAParser,R=(K.getOS().name||"unknown").toLowerCase(),L=(K.getEngine().name||"unknown").toLowerCase();function j(e){P.forceWindowOrientation=!0,P.preferMediaStreamTrackProcessorCamera=!1,P.intervalMultiplier=1e3,P.trustSensorIntervals=!0;let a=e.split(".");if(a.length>=2){const e=parseInt(a[0]),i=parseInt(a[1]);(e<11||11===e&&i<3)&&(P.blacklisted=!0),(e<12||12===e&&i<2)&&(P.videoElementInDOM=!0),(12===e&&i>=2||e>=13)&&(P.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(P.showSafariPermissionsResetIfNecessary=!0),(e>=12&&i>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(P.requestHighFrameRate=!0,e<14&&(P.videoHeight=360,P.getDataSize=e=>e===u.HIGH?[640,360]:[320,180])),16===e&&i>=4&&(P.ios164CameraSelection=!0),e>=17&&(P.relyOnConstraintsForCameraSelection=!0)}}function M(e,a,i){let r=e.createShader(a);if(!r)throw new Error("Unable to create shader");e.shaderSource(r,i),e.compileShader(r);let t=e.getShaderInfoLog(r);if(t&&t.trim().length>0)throw new Error("Shader compile error: "+t);return r}"webkit"===L&&"ios"!==R&&(P.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&j("15.0")),"webkit"===L&&"ios"===R&&(P.deviceMotionMutliplier=1,j(K.getOS().version||"15.0"));class Z{constructor(e){this._gl=e,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._computedTransformRotation=-1,this._computedFrontCameraRotation=!1,this._cameraUvTransform=g(),this._framebufferWidth=0,this._framebufferHeight=0,this._framebufferId=null,this._renderTexture=null,this._isWebGL2=!1,this._isWebGL2=e.getParameter(e.VERSION).indexOf("WebGL 2")>=0,this._isWebGL2||(this._instancedArraysExtension=this._gl.getExtension("ANGLE_instanced_arrays"))}resetGLContext(){this._framebufferId=null,this._renderTexture=null,this._vertexBuffer=void 0,this._indexBuffer=void 0,this._greyscaleShader=void 0}destroy(){this.resetGLContext()}uploadFrame(e,a,i,r,t){let _=this._gl;const o=y.get(_);o.push();const s=_.isEnabled(_.SCISSOR_TEST),n=_.isEnabled(_.DEPTH_TEST),c=_.isEnabled(_.BLEND),E=_.isEnabled(_.CULL_FACE),l=_.isEnabled(_.STENCIL_TEST),b=_.getParameter(_.ACTIVE_TEXTURE),d=_.getParameter(_.UNPACK_FLIP_Y_WEBGL),v=_.getParameter(_.CURRENT_PROGRAM);_.activeTexture(_.TEXTURE0);const h=_.getParameter(_.TEXTURE_BINDING_2D),p=_.getParameter(_.FRAMEBUFFER_BINDING),N=_.getParameter(_.ARRAY_BUFFER_BINDING),m=_.getParameter(_.ELEMENT_ARRAY_BUFFER_BINDING);_.disable(_.SCISSOR_TEST),_.disable(_.DEPTH_TEST),_.disable(_.BLEND),_.disable(_.CULL_FACE),_.disable(_.STENCIL_TEST),_.pixelStorei(_.UNPACK_FLIP_Y_WEBGL,!1),_.bindTexture(_.TEXTURE_2D,e);const u=_.RGBA,S=_.RGBA,g=_.UNSIGNED_BYTE;_.texImage2D(_.TEXTURE_2D,0,u,S,g,a);let f=0,I=0;"undefined"!=typeof HTMLVideoElement&&a instanceof HTMLVideoElement?(f=a.videoWidth,I=a.videoHeight):(f=a.width,I=a.height),I>f&&(I=[f,f=I][0]),this._updateTransforms(i,r);const[z,w]=P.getDataSize(t);let K=this._getFramebuffer(_,z/4,w),R=this._getVertexBuffer(_),L=this._getIndexBuffer(_),j=this._getGreyscaleShader(_);const M=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),Z=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),k=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),A=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),x=_.getVertexAttribOffset(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),F=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED),T=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),C=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),B=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),O=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),D=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),V=_.getVertexAttribOffset(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),G=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),U=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED);let q=0,H=0;this._isWebGL2?(q=_.getVertexAttrib(j.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),H=_.getVertexAttrib(j.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),_.vertexAttribDivisor(j.aVertexPositionLoc,0),_.vertexAttribDivisor(j.aTextureCoordLoc,0)):this._instancedArraysExtension&&(q=_.getVertexAttrib(j.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),H=_.getVertexAttrib(j.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(j.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(j.aTextureCoordLoc,0)),_.bindFramebuffer(_.FRAMEBUFFER,K),_.viewport(0,0,this._framebufferWidth,this._framebufferHeight),_.clear(_.COLOR_BUFFER_BIT),_.bindBuffer(_.ARRAY_BUFFER,R),_.vertexAttribPointer(j.aVertexPositionLoc,2,_.FLOAT,!1,16,0),_.enableVertexAttribArray(j.aVertexPositionLoc),_.vertexAttribPointer(j.aTextureCoordLoc,2,_.FLOAT,!1,16,8),_.enableVertexAttribArray(j.aTextureCoordLoc),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,L),_.useProgram(j.program),_.uniform1f(j.uTexWidthLoc,z),_.uniformMatrix4fv(j.uUvTransformLoc,!1,this._cameraUvTransform),_.activeTexture(_.TEXTURE0),_.bindTexture(_.TEXTURE_2D,e),_.uniform1i(j.uSamplerLoc,0),_.drawElements(_.TRIANGLES,6,_.UNSIGNED_SHORT,0),_.bindBuffer(_.ARRAY_BUFFER,T),_.vertexAttribPointer(j.aVertexPositionLoc,M,Z,k,A,x),_.bindBuffer(_.ARRAY_BUFFER,G),_.vertexAttribPointer(j.aTextureCoordLoc,C,B,O,D,V),_.bindBuffer(_.ARRAY_BUFFER,N),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,m),F||_.disableVertexAttribArray(j.aVertexPositionLoc),U||_.disableVertexAttribArray(j.aTextureCoordLoc),this._isWebGL2?(_.vertexAttribDivisor(j.aVertexPositionLoc,q),_.vertexAttribDivisor(j.aTextureCoordLoc,H)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(j.aVertexPositionLoc,q),this._instancedArraysExtension.vertexAttribDivisorANGLE(j.aTextureCoordLoc,H)),_.bindFramebuffer(_.FRAMEBUFFER,p),_.useProgram(v),_.bindTexture(_.TEXTURE_2D,h),_.activeTexture(b),_.pixelStorei(_.UNPACK_FLIP_Y_WEBGL,d),o.pop(),c&&_.enable(_.BLEND),E&&_.enable(_.CULL_FACE),n&&_.enable(_.DEPTH_TEST),s&&_.enable(_.SCISSOR_TEST),l&&_.enable(_.STENCIL_TEST)}readFrame(e,a,i){let r=this._gl,t=new Uint8Array(a);const _=r.getParameter(r.FRAMEBUFFER_BINDING),[o,s]=P.getDataSize(i);let n=this._getFramebuffer(r,o/4,s);return r.bindFramebuffer(r.FRAMEBUFFER,n),r.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,r.RGBA,r.UNSIGNED_BYTE,t),r.bindFramebuffer(r.FRAMEBUFFER,_),{uvTransform:this._cameraUvTransform,data:a,texture:e,dataWidth:o,dataHeight:s,userFacing:this._computedFrontCameraRotation}}_updateTransforms(e,a){e==this._computedTransformRotation&&a==this._computedFrontCameraRotation||(this._computedTransformRotation=e,this._computedFrontCameraRotation=a,this._cameraUvTransform=this._getCameraUvTransform())}_getCameraUvTransform(){switch(this._computedTransformRotation){case 270:return new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]);case 180:return new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);case 90:return new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1])}return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}_getFramebuffer(e,a,i){if(this._framebufferWidth===a&&this._framebufferHeight===i&&this._framebufferId)return this._framebufferId;if(this._framebufferId&&(e.deleteFramebuffer(this._framebufferId),this._framebufferId=null),this._renderTexture&&(e.deleteTexture(this._renderTexture),this._renderTexture=null),this._framebufferId=e.createFramebuffer(),!this._framebufferId)throw new Error("Unable to create framebuffer");if(e.bindFramebuffer(e.FRAMEBUFFER,this._framebufferId),this._renderTexture=e.createTexture(),!this._renderTexture)throw new Error("Unable to create render texture");e.activeTexture(e.TEXTURE0);const r=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,a,i,0,e.RGBA,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameterf(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this._renderTexture,0);let t=e.checkFramebufferStatus(e.FRAMEBUFFER);if(t!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+t.toString());return this._framebufferWidth=a,this._framebufferHeight=i,e.bindTexture(e.TEXTURE_2D,r),e.bindFramebuffer(e.FRAMEBUFFER,null),this._framebufferId}_getVertexBuffer(e){if(this._vertexBuffer)return this._vertexBuffer;if(this._vertexBuffer=e.createBuffer(),!this._vertexBuffer)throw new Error("Unable to create vertex buffer");e.bindBuffer(e.ARRAY_BUFFER,this._vertexBuffer);let a=new Float32Array([-1,-1,0,0,-1,1,0,1,1,1,1,1,1,-1,1,0]);return e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW),this._vertexBuffer}_getIndexBuffer(e){if(this._indexBuffer)return this._indexBuffer;if(this._indexBuffer=e.createBuffer(),!this._indexBuffer)throw new Error("Unable to create index buffer");e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this._indexBuffer);let a=new Uint16Array([0,1,2,0,2,3]);return e.bufferData(e.ELEMENT_ARRAY_BUFFER,a,e.STATIC_DRAW),this._indexBuffer}_getGreyscaleShader(e){if(this._greyscaleShader)return this._greyscaleShader;let a=e.createProgram();if(!a)throw new Error("Unable to create program");let i=M(e,e.VERTEX_SHADER,T),r=M(e,e.FRAGMENT_SHADER,C);e.attachShader(a,i),e.attachShader(a,r),function(e,a){e.linkProgram(a);let i=e.getProgramInfoLog(a);if(i&&i.trim().length>0)throw new Error("Unable to link: "+i)}(e,a);let t=e.getUniformLocation(a,"uTexWidth");if(!t)throw new Error("Unable to get uniform location uTexWidth");let _=e.getUniformLocation(a,"uUvTransform");if(!_)throw new Error("Unable to get uniform location uUvTransform");let o=e.getUniformLocation(a,"uSampler");if(!o)throw new Error("Unable to get uniform location uSampler");return this._greyscaleShader={program:a,aVertexPositionLoc:e.getAttribLocation(a,"aVertexPosition"),aTextureCoordLoc:e.getAttribLocation(a,"aTextureCoord"),uTexWidthLoc:t,uUvTransformLoc:_,uSamplerLoc:o},this._greyscaleShader}}let k,A,x,F,T="\\n attribute vec4 aVertexPosition;\\n attribute vec2 aTextureCoord;\\n\\n varying highp vec2 vTextureCoord1;\\n varying highp vec2 vTextureCoord2;\\n varying highp vec2 vTextureCoord3;\\n varying highp vec2 vTextureCoord4;\\n\\n uniform float uTexWidth;\\n\\tuniform mat4 uUvTransform;\\n\\n void main(void) {\\n highp vec2 offset1 = vec2(1.5 / uTexWidth, 0);\\n highp vec2 offset2 = vec2(0.5 / uTexWidth, 0);\\n\\n gl_Position = aVertexPosition;\\n vTextureCoord1 = (uUvTransform * vec4(aTextureCoord - offset1, 0, 1)).xy;\\n vTextureCoord2 = (uUvTransform * vec4(aTextureCoord - offset2, 0, 1)).xy;\\n vTextureCoord3 = (uUvTransform * vec4(aTextureCoord + offset2, 0, 1)).xy;\\n vTextureCoord4 = (uUvTransform * vec4(aTextureCoord + offset1, 0, 1)).xy;\\n }\\n",C="\\n varying highp vec2 vTextureCoord1;\\n varying highp vec2 vTextureCoord2;\\n varying highp vec2 vTextureCoord3;\\n varying highp vec2 vTextureCoord4;\\n\\n uniform sampler2D uSampler;\\n\\n const lowp vec3 colorWeights = vec3(77.0 / 256.0, 150.0 / 256.0, 29.0 / 256.0);\\n\\n void main(void) {\\n lowp vec4 outpx;\\n\\n outpx.r = dot(colorWeights, texture2D(uSampler, vTextureCoord1).xyz);\\n outpx.g = dot(colorWeights, texture2D(uSampler, vTextureCoord2).xyz);\\n outpx.b = dot(colorWeights, texture2D(uSampler, vTextureCoord3).xyz);\\n outpx.a = dot(colorWeights, texture2D(uSampler, vTextureCoord4).xyz);\\n\\n gl_FragColor = outpx;\\n }\\n";var B=function(e,a,i,r){return new(i||(i=Promise))((function(t,_){function o(e){try{n(r.next(e))}catch(e){_(e)}}function s(e){try{n(r.throw(e))}catch(e){_(e)}}function n(e){var a;e.done?t(e.value):(a=e.value,a instanceof i?a:new i((function(e){e(a)}))).then(o,s)}n((r=r.apply(e,a||[])).next())}))};let O,D=new class{constructor(){this.onOutgoingMessage=new s,this.onIncomingMessage=new n,this._outgoingMessages=[]}postIncomingMessage(e){this.onIncomingMessage.emit(e)}postOutgoingMessage(e,a){this._outgoingMessages.push({msg:e,transferables:a}),this.onOutgoingMessage.emit()}getOutgoingMessages(){let e=this._outgoingMessages;return this._outgoingMessages=[],e}},V=0,G=!1;const U=new Map,q=new Map;function H(e,a,i){return B(this,void 0,void 0,(function*(){let t=r({locateFile:(a,i)=>a.endsWith("zappar-cv.wasm")?e:i+a,instantiateWasm:(e,i)=>{const r=new WebAssembly.Instance(a,e);return i(r),r.exports},onRuntimeInitialized:()=>{let e=function(e){let a=e.cwrap("zappar_log_level","number",[]),i=e.cwrap("zappar_log_level_set",null,["number"]),r=e.cwrap("zappar_analytics_project_id_set",null,["string","string"]),t=e.cwrap("zappar_pipeline_create","number",[]),_=e.cwrap("zappar_pipeline_destroy",null,["number"]),o=e.cwrap("zappar_pipeline_camera_frame_data_raw","number",["number"]),s=e.cwrap("zappar_pipeline_camera_frame_data_raw_size","number",["number"]),n=e.cwrap("zappar_pipeline_camera_frame_data_raw_width","number",["number"]),c=e.cwrap("zappar_pipeline_camera_frame_data_raw_height","number",["number"]),E=e.cwrap("zappar_pipeline_frame_update",null,["number"]),l=e.cwrap("zappar_pipeline_frame_number","number",["number"]),b=e.cwrap("zappar_pipeline_camera_model","number",["number"]),d=e.cwrap("zappar_pipeline_camera_frame_user_data","number",["number"]),v=e.cwrap("zappar_pipeline_camera_frame_submit",null,["number","number","number","number","number","number","number","number","number","number"]),h=e.cwrap("zappar_pipeline_camera_frame_submit_raw_pointer",null,["number","number","number","number","number","number","number","number","number","number","number","number","number"]),p=e.cwrap("zappar_pipeline_camera_frame_camera_attitude","number",["number"]),N=e.cwrap("zappar_pipeline_camera_frame_device_attitude","number",["number"]),m=e.cwrap("zappar_pipeline_motion_accelerometer_submit",null,["number","number","number","number","number"]),u=e.cwrap("zappar_pipeline_motion_accelerometer_with_gravity_submit_int",null,["number","number","number","number","number","number"]),S=e.cwrap("zappar_pipeline_motion_accelerometer_without_gravity_submit_int",null,["number","number","number","number","number","number"]),g=e.cwrap("zappar_pipeline_motion_rotation_rate_submit",null,["number","number","number","number","number"]),f=e.cwrap("zappar_pipeline_motion_rotation_rate_submit_int",null,["number","number","number","number","number","number"]),I=e.cwrap("zappar_pipeline_motion_attitude_submit",null,["number","number","number","number","number"]),y=e.cwrap("zappar_pipeline_motion_attitude_submit_int",null,["number","number","number","number","number","number"]),z=e.cwrap("zappar_pipeline_motion_attitude_matrix_submit",null,["number","number"]),w=e.cwrap("zappar_camera_source_create","number",["number","string"]),P=e.cwrap("zappar_camera_source_destroy",null,["number"]),K=e.cwrap("zappar_sequence_source_create","number",["number"]),R=e.cwrap("zappar_sequence_source_destroy",null,["number"]),L=e.cwrap("zappar_image_tracker_create","number",["number"]),j=e.cwrap("zappar_image_tracker_destroy",null,["number"]),M=e.cwrap("zappar_image_tracker_target_load_from_memory",null,["number","number","number"]),Z=e.cwrap("zappar_image_tracker_target_loaded_version","number",["number"]),k=e.cwrap("zappar_image_tracker_enabled","number",["number"]),A=e.cwrap("zappar_image_tracker_enabled_set",null,["number","number"]),x=e.cwrap("zappar_image_tracker_anchor_count","number",["number"]),F=e.cwrap("zappar_image_tracker_anchor_id","string",["number","number"]),T=e.cwrap("zappar_image_tracker_anchor_pose_raw","number",["number","number"]),C=e.cwrap("zappar_face_tracker_create","number",["number"]),B=e.cwrap("zappar_face_tracker_destroy",null,["number"]),O=e.cwrap("zappar_face_tracker_model_load_from_memory",null,["number","number","number"]),D=e.cwrap("zappar_face_tracker_model_loaded_version","number",["number"]),V=e.cwrap("zappar_face_tracker_enabled_set",null,["number","number"]),G=e.cwrap("zappar_face_tracker_enabled","number",["number"]),U=e.cwrap("zappar_face_tracker_max_faces_set",null,["number","number"]),q=e.cwrap("zappar_face_tracker_max_faces","number",["number"]),H=e.cwrap("zappar_face_tracker_anchor_count","number",["number"]),W=e.cwrap("zappar_face_tracker_anchor_id","string",["number","number"]),X=e.cwrap("zappar_face_tracker_anchor_pose_raw","number",["number","number"]),Y=e.cwrap("zappar_face_tracker_anchor_identity_coefficients","number",["number","number"]),J=e.cwrap("zappar_face_tracker_anchor_expression_coefficients","number",["number","number"]),$=e.cwrap("zappar_face_mesh_create","number",[]),Q=e.cwrap("zappar_face_mesh_destroy",null,["number"]),ee=e.cwrap("zappar_face_landmark_create","number",["number"]),ae=e.cwrap("zappar_face_landmark_destroy",null,["number"]),ie=e.cwrap("zappar_barcode_finder_create","number",["number"]),re=e.cwrap("zappar_barcode_finder_destroy",null,["number"]),te=e.cwrap("zappar_barcode_finder_enabled_set",null,["number","number"]),_e=e.cwrap("zappar_barcode_finder_enabled","number",["number"]),oe=e.cwrap("zappar_barcode_finder_found_number","number",["number"]),se=e.cwrap("zappar_barcode_finder_found_text","string",["number","number"]),ne=e.cwrap("zappar_barcode_finder_found_format","number",["number","number"]),ce=e.cwrap("zappar_barcode_finder_formats","number",["number"]),Ee=e.cwrap("zappar_barcode_finder_formats_set",null,["number","number"]),le=e.cwrap("zappar_instant_world_tracker_create","number",["number"]),be=e.cwrap("zappar_instant_world_tracker_destroy",null,["number"]),de=e.cwrap("zappar_instant_world_tracker_enabled_set",null,["number","number"]),ve=e.cwrap("zappar_instant_world_tracker_enabled","number",["number"]),he=e.cwrap("zappar_instant_world_tracker_anchor_pose_raw","number",["number"]),pe=e.cwrap("zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw",null,["number","number","number","number","number"]),Ne=e.cwrap("zappar_zapcode_tracker_create","number",["number"]),me=e.cwrap("zappar_zapcode_tracker_destroy",null,["number"]),ue=e.cwrap("zappar_zapcode_tracker_target_load_from_memory",null,["number","number","number"]),Se=e.cwrap("zappar_zapcode_tracker_target_loaded_version","number",["number"]),ge=e.cwrap("zappar_zapcode_tracker_enabled","number",["number"]),fe=e.cwrap("zappar_zapcode_tracker_enabled_set",null,["number","number"]),Ie=e.cwrap("zappar_zapcode_tracker_anchor_count","number",["number"]),ye=e.cwrap("zappar_zapcode_tracker_anchor_id","string",["number","number"]),ze=e.cwrap("zappar_zapcode_tracker_anchor_pose_raw","number",["number","number"]),we=e.cwrap("zappar_world_tracker_create","number",["number"]),Pe=e.cwrap("zappar_world_tracker_destroy",null,["number"]),Ke=e.cwrap("zappar_world_tracker_enabled","number",["number"]),Re=e.cwrap("zappar_world_tracker_enabled_set",null,["number","number"]),Le=e.cwrap("zappar_world_tracker_quality","number",["number"]),je=e.cwrap("zappar_world_tracker_horizontal_plane_detection_enabled","number",["number"]),Me=e.cwrap("zappar_world_tracker_horizontal_plane_detection_enabled_set",null,["number","number"]),Ze=e.cwrap("zappar_world_tracker_vertical_plane_detection_enabled","number",["number"]),ke=e.cwrap("zappar_world_tracker_vertical_plane_detection_enabled_set",null,["number","number"]),Ae=e.cwrap("zappar_world_tracker_plane_anchor_count","number",["number"]),xe=e.cwrap("zappar_world_tracker_plane_anchor_id","string",["number","number"]),Fe=e.cwrap("zappar_world_tracker_plane_anchor_pose_raw","number",["number","number"]),Te=e.cwrap("zappar_world_tracker_plane_anchor_status","number",["number","number"]),Ce=e.cwrap("zappar_world_tracker_plane_anchor_polygon_data_size","number",["number","number"]),Be=e.cwrap("zappar_world_tracker_plane_anchor_polygon_data","number",["number","number"]),Oe=e.cwrap("zappar_world_tracker_plane_anchor_polygon_version","number",["number","number"]),De=e.cwrap("zappar_world_tracker_plane_anchor_orientation","number",["number","number"]),Ve=e.cwrap("zappar_world_tracker_world_anchor_status","number",["number"]),Ge=e.cwrap("zappar_world_tracker_world_anchor_id","string",["number"]),Ue=e.cwrap("zappar_world_tracker_world_anchor_pose_raw","number",["number"]),qe=e.cwrap("zappar_world_tracker_ground_anchor_id","string",["number"]),He=e.cwrap("zappar_world_tracker_ground_anchor_status","number",["number"]),We=e.cwrap("zappar_world_tracker_ground_anchor_pose_raw","number",["number"]),Xe=e.cwrap("zappar_world_tracker_reset",null,["number"]),Ye=e.cwrap("zappar_world_tracker_tracks_data_enabled","number",["number"]),Je=e.cwrap("zappar_world_tracker_tracks_data_enabled_set",null,["number","number"]),$e=e.cwrap("zappar_world_tracker_tracks_data_size","number",["number"]),Qe=e.cwrap("zappar_world_tracker_tracks_data","number",["number"]),ea=e.cwrap("zappar_world_tracker_tracks_type_data_size","number",["number"]),aa=e.cwrap("zappar_world_tracker_tracks_type_data","number",["number"]),ia=e.cwrap("zappar_world_tracker_projections_data_enabled","number",["number"]),ra=e.cwrap("zappar_world_tracker_projections_data_enabled_set",null,["number","number"]),ta=e.cwrap("zappar_world_tracker_projections_data_size","number",["number"]),_a=e.cwrap("zappar_world_tracker_projections_data","number",["number"]),oa=e.cwrap("zappar_custom_anchor_create","number",["number","number","string"]),sa=e.cwrap("zappar_custom_anchor_destroy",null,["number"]),na=e.cwrap("zappar_custom_anchor_status","number",["number"]),ca=e.cwrap("zappar_custom_anchor_enabled_set",null,["number","number"]),Ea=e.cwrap("zappar_custom_anchor_enabled","number",["number"]),la=e.cwrap("zappar_custom_anchor_pose_raw","number",["number"]),ba=e.cwrap("zappar_custom_anchor_pose_set_from_camera_offset_raw",null,["number","number","number","number","number"]),da=e.cwrap("zappar_custom_anchor_pose_set_from_anchor_offset",null,["number","string","number","number","number","number"]),va=32,ha=e._malloc(va),pa=(e._malloc(64),new Map),Na=(a,i)=>{let r=pa.get(a);return(!r||r[0]<i)&&(r&&e._free(r[1]),r=[i,e._malloc(i)],pa.set(a,r)),r[1]};return{log_level:()=>a(),log_level_set:e=>i(e),analytics_project_id_set:(e,a)=>r(e,a),pipeline_create:()=>t(),pipeline_destroy:()=>{_()},pipeline_camera_frame_data_raw:e=>o(e),pipeline_camera_frame_data_raw_size:e=>s(e),pipeline_camera_frame_data_raw_width:e=>n(e),pipeline_camera_frame_data_raw_height:e=>c(e),pipeline_frame_update:e=>E(e),pipeline_frame_number:e=>l(e),pipeline_camera_model:a=>{let i=b(a),r=new Float32Array(6);return r.set(e.HEAPF32.subarray(i/4,6+i/4)),i=r,i},pipeline_camera_frame_user_data:e=>d(e),pipeline_camera_frame_submit:(a,i,r,t,_,o,s,n,c)=>{va<i.byteLength&&(e._free(ha),va=i.byteLength,ha=e._malloc(va));let E=ha,l=i.byteLength;e.HEAPU8.set(new Uint8Array(i),ha);let b=r,d=t,h=_,p=Na(4,o.byteLength);e.HEAPF32.set(o,p/4);let N=Na(5,s.byteLength);return e.HEAPF32.set(s,N/4),v(a,E,l,b,d,h,p,N,n?1:0,c)},pipeline_camera_frame_submit_raw_pointer:(a,i,r,t,_,o,s,n,c,E,l,b,d)=>{let v=i,p=r,N=t,m=_,u=o,S=s,g=Na(6,n.byteLength);e.HEAPF32.set(n,g/4);let f=c,I=Na(8,E.byteLength);return e.HEAPF32.set(E,I/4),h(a,v,p,N,m,u,S,g,f,I,l?1:0,b,d?1:0)},pipeline_camera_frame_camera_attitude:a=>{let i=p(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},pipeline_camera_frame_device_attitude:a=>{let i=N(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},pipeline_motion_accelerometer_submit:(e,a,i,r,t)=>m(e,a,i,r,t),pipeline_motion_accelerometer_with_gravity_submit_int:(e,a,i,r,t,_)=>u(e,a,i,r,t,_),pipeline_motion_accelerometer_without_gravity_submit_int:(e,a,i,r,t,_)=>S(e,a,i,r,t,_),pipeline_motion_rotation_rate_submit:(e,a,i,r,t)=>g(e,a,i,r,t),pipeline_motion_rotation_rate_submit_int:(e,a,i,r,t,_)=>f(e,a,i,r,t,_),pipeline_motion_attitude_submit:(e,a,i,r,t)=>I(e,a,i,r,t),pipeline_motion_attitude_submit_int:(e,a,i,r,t,_)=>y(e,a,i,r,t,_),pipeline_motion_attitude_matrix_submit:(a,i)=>{let r=Na(0,i.byteLength);return e.HEAPF32.set(i,r/4),z(a,r)},camera_source_create:(e,a)=>w(e,a),camera_source_destroy:()=>{P()},sequence_source_create:e=>K(e),sequence_source_destroy:()=>{R()},image_tracker_create:e=>L(e),image_tracker_destroy:()=>{j()},image_tracker_target_load_from_memory:(a,i)=>{va<i.byteLength&&(e._free(ha),va=i.byteLength,ha=e._malloc(va));let r=ha,t=i.byteLength;return e.HEAPU8.set(new Uint8Array(i),ha),M(a,r,t)},image_tracker_target_loaded_version:e=>Z(e),image_tracker_enabled:e=>{let a=k(e);return a=1===a,a},image_tracker_enabled_set:(e,a)=>A(e,a?1:0),image_tracker_anchor_count:e=>x(e),image_tracker_anchor_id:(e,a)=>F(e,a),image_tracker_anchor_pose_raw:(a,i)=>{let r=T(a,i),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},face_tracker_create:e=>C(e),face_tracker_destroy:()=>{B()},face_tracker_model_load_from_memory:(a,i)=>{va<i.byteLength&&(e._free(ha),va=i.byteLength,ha=e._malloc(va));let r=ha,t=i.byteLength;return e.HEAPU8.set(new Uint8Array(i),ha),O(a,r,t)},face_tracker_model_loaded_version:e=>D(e),face_tracker_enabled_set:(e,a)=>V(e,a?1:0),face_tracker_enabled:e=>{let a=G(e);return a=1===a,a},face_tracker_max_faces_set:(e,a)=>U(e,a),face_tracker_max_faces:e=>q(e),face_tracker_anchor_count:e=>H(e),face_tracker_anchor_id:(e,a)=>W(e,a),face_tracker_anchor_pose_raw:(a,i)=>{let r=X(a,i),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},face_tracker_anchor_identity_coefficients:(a,i)=>{let r=Y(a,i),t=new Float32Array(50);return t.set(e.HEAPF32.subarray(r/4,50+r/4)),r=t,r},face_tracker_anchor_expression_coefficients:(a,i)=>{let r=J(a,i),t=new Float32Array(29);return t.set(e.HEAPF32.subarray(r/4,29+r/4)),r=t,r},face_mesh_create:()=>$(),face_mesh_destroy:()=>{Q()},face_landmark_create:e=>ee(e),face_landmark_destroy:()=>{ae()},barcode_finder_create:e=>ie(e),barcode_finder_destroy:()=>{re()},barcode_finder_enabled_set:(e,a)=>te(e,a?1:0),barcode_finder_enabled:e=>{let a=_e(e);return a=1===a,a},barcode_finder_found_number:e=>oe(e),barcode_finder_found_text:(e,a)=>se(e,a),barcode_finder_found_format:(e,a)=>ne(e,a),barcode_finder_formats:e=>ce(e),barcode_finder_formats_set:(e,a)=>Ee(e,a),instant_world_tracker_create:e=>le(e),instant_world_tracker_destroy:()=>{be()},instant_world_tracker_enabled_set:(e,a)=>de(e,a?1:0),instant_world_tracker_enabled:e=>{let a=ve(e);return a=1===a,a},instant_world_tracker_anchor_pose_raw:a=>{let i=he(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,a,i,r,t)=>pe(e,a,i,r,t),zapcode_tracker_create:e=>Ne(e),zapcode_tracker_destroy:()=>{me()},zapcode_tracker_target_load_from_memory:(a,i)=>{va<i.byteLength&&(e._free(ha),va=i.byteLength,ha=e._malloc(va));let r=ha,t=i.byteLength;return e.HEAPU8.set(new Uint8Array(i),ha),ue(a,r,t)},zapcode_tracker_target_loaded_version:e=>Se(e),zapcode_tracker_enabled:e=>{let a=ge(e);return a=1===a,a},zapcode_tracker_enabled_set:(e,a)=>fe(e,a?1:0),zapcode_tracker_anchor_count:e=>Ie(e),zapcode_tracker_anchor_id:(e,a)=>ye(e,a),zapcode_tracker_anchor_pose_raw:(a,i)=>{let r=ze(a,i),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},world_tracker_create:e=>we(e),world_tracker_destroy:()=>{Pe()},world_tracker_enabled:e=>{let a=Ke(e);return a=1===a,a},world_tracker_enabled_set:(e,a)=>Re(e,a?1:0),world_tracker_quality:e=>Le(e),world_tracker_horizontal_plane_detection_enabled:e=>{let a=je(e);return a=1===a,a},world_tracker_horizontal_plane_detection_enabled_set:(e,a)=>Me(e,a?1:0),world_tracker_vertical_plane_detection_enabled:e=>{let a=Ze(e);return a=1===a,a},world_tracker_vertical_plane_detection_enabled_set:(e,a)=>ke(e,a?1:0),world_tracker_plane_anchor_count:e=>Ae(e),world_tracker_plane_anchor_id:(e,a)=>xe(e,a),world_tracker_plane_anchor_pose_raw:(a,i)=>{let r=Fe(a,i),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},world_tracker_plane_anchor_status:(e,a)=>Te(e,a),world_tracker_plane_anchor_polygon_data_size:(e,a)=>Ce(e,a),world_tracker_plane_anchor_polygon_data:(a,i)=>{let r=Be(a,i),t=Ce(a,i),_=new Float32Array(t);return _.set(e.HEAPF32.subarray(r/4,t+r/4)),r=_,r},world_tracker_plane_anchor_polygon_version:(e,a)=>Oe(e,a),world_tracker_plane_anchor_orientation:(e,a)=>De(e,a),world_tracker_world_anchor_status:e=>Ve(e),world_tracker_world_anchor_id:e=>Ge(e),world_tracker_world_anchor_pose_raw:a=>{let i=Ue(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},world_tracker_ground_anchor_id:e=>qe(e),world_tracker_ground_anchor_status:e=>He(e),world_tracker_ground_anchor_pose_raw:a=>{let i=We(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},world_tracker_reset:e=>Xe(e),world_tracker_tracks_data_enabled:e=>{let a=Ye(e);return a=1===a,a},world_tracker_tracks_data_enabled_set:(e,a)=>Je(e,a?1:0),world_tracker_tracks_data_size:e=>$e(e),world_tracker_tracks_data:a=>{let i=Qe(a),r=$e(a),t=new Float32Array(r);return t.set(e.HEAPF32.subarray(i/4,r+i/4)),i=t,i},world_tracker_tracks_type_data_size:e=>ea(e),world_tracker_tracks_type_data:a=>{let i=aa(a),r=ea(a),t=new Uint8Array(r);return t.set(e.HEAPU8.subarray(i,r+i)),i=t,i},world_tracker_projections_data_enabled:e=>{let a=ia(e);return a=1===a,a},world_tracker_projections_data_enabled_set:(e,a)=>ra(e,a?1:0),world_tracker_projections_data_size:e=>ta(e),world_tracker_projections_data:a=>{let i=_a(a),r=ta(a),t=new Float32Array(r);return t.set(e.HEAPF32.subarray(i/4,r+i/4)),i=t,i},custom_anchor_create:(e,a,i)=>oa(e,a,i),custom_anchor_destroy:()=>{sa()},custom_anchor_status:e=>na(e),custom_anchor_enabled_set:(e,a)=>ca(e,a?1:0),custom_anchor_enabled:e=>{let a=Ea(e);return a=1===a,a},custom_anchor_pose_raw:a=>{let i=la(a),r=new Float32Array(16);return r.set(e.HEAPF32.subarray(i/4,16+i/4)),i=r,i},custom_anchor_pose_set_from_camera_offset_raw:(e,a,i,r,t)=>ba(e,a,i,r,t),custom_anchor_pose_set_from_anchor_offset:(e,a,i,r,t,_)=>da(e,a,i,r,t,_)}}(t);const a=function(e){return{worker_message_send_count:e.cwrap("worker_message_send_count","number",[]),worker_message_send_clear:e.cwrap("worker_message_send_clear",null,[]),worker_message_send_data_size:e.cwrap("worker_message_send_data_size","number",["number"]),worker_message_send_data:e.cwrap("worker_message_send_data","number",["number"]),worker_message_send_reference:e.cwrap("worker_message_send_reference","number",["number"]),worker_message_receive:e.cwrap("worker_message_receive",null,["number","number","number"])}}(t),r=i>0?function(e){return{data_download_clear:e.cwrap("data_download_clear",null,[]),data_download_size:e.cwrap("data_download_size","number",[]),data_download:e.cwrap("data_download","number",[]),data_should_record_set:e.cwrap("data_should_record_set",null,["number"])}}(t):void 0;null==r||r.data_should_record_set(i);let _=new o(e,((e,a)=>{D.postOutgoingMessage({p:e,t:"zappar",d:a},[a])}));D.postOutgoingMessage("loaded",[]),D.onIncomingMessage.bind((i=>{var o,s,n;switch(i.t){case"zappar":_.processBuffer(i.d),D.postOutgoingMessage({t:"buf",d:i.d},[i.d]);break;case"buf":null===(o=_.serializersByPipelineId.get(i.p))||void 0===o||o.bufferReturn(i.d);break;case"cameraFrameC2S":{let o,s=i,n=_._pipeline_by_instance.get(s.p);n&&(e.pipeline_camera_frame_submit(n,s.d,s.width,s.height,s.token,s.c2d,s.cm,s.userFacing,s.captureTime),e.pipeline_frame_update(n),o=e.pipeline_camera_frame_device_attitude(n),_.exploreState(),re(t,a),r&&te(t,r));let c={token:s.token,d:s.d,p:s.p,t:"cameraFrameRecycleS2C",att:o};D.postOutgoingMessage(c,[s.d]);break}case"rawenabled":G=i.v;break;case"rawrequest":{const e=i,a=U.get(e.p),r={t:"raw",token:e.token,p:e.p,data:a&&null!==(n=null===(s=a.ready.find((a=>a.token===e.token)))||void 0===s?void 0:s.data)&&void 0!==n?n:null};D.postOutgoingMessage(r,[]);break}case"cameraProfileC2S":{let e=i;q.set(e.source,e.p);break}case"streamC2S":{let o=i;(function(e,a,i,r,t,_,o,s,n){return B(this,void 0,void 0,(function*(){for(;;){let c;try{c=yield i.getReader()}catch(e){yield ae(1e3);continue}try{return void(yield ee(e,a,c,r,t,_,o,s,n))}catch(e){}return void(yield ae(1e3))}}))})(t,e,o.s,o.p,o.userFacing,_,o.source,a,r).then((()=>{let e={t:"streamEndedS2C",p:o.p,source:o.source};D.postOutgoingMessage(e,[])})).catch((e=>{}));break}case"cameraToScreenC2S":V=i.r;break;case"imageBitmapC2S":!function(e,a,i,r){const[t,_]=function(){if(!x||!F){const e=new OffscreenCanvas(1,1);if(F=e.getContext("webgl"),!F)throw new Error("Unable to get offscreen GL context");x=new Z(F)}return[x,F]}();if(A||(A=_.createTexture(),_.bindTexture(_.TEXTURE_2D,A),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_S,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_T,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_MIN_FILTER,_.LINEAR)),!A)return;const[o,s]=P.getDataSize(e.cp);(!k||k.byteLength<o*s)&&(k=new ArrayBuffer(o*s)),t.uploadFrame(A,e.i,e.r,e.userFacing,e.cp);let n=t.readFrame(A,k,e.cp),c={t:"imageBitmapS2C",dataWidth:n.dataWidth,dataHeight:n.dataHeight,frame:e.i,userFacing:n.userFacing,uvTransform:n.uvTransform||g(),tokenId:e.tokenId,p:e.p};r.postOutgoingMessage(c,[e.i]);let E=i._pipeline_by_instance.get(e.p);E&&(a.pipeline_camera_frame_submit(E,k,n.dataWidth,n.dataHeight,e.tokenId,e.cameraToDevice,e.cameraModel,n.userFacing,performance.now()),a.pipeline_frame_update(E),i.exploreState())}(i,e,_,D);break;case"sensorDataC2S":{const a=i,r=_._pipeline_by_instance.get(a.p);if(!r)break;switch(a.sensor){case"accel":e.pipeline_motion_accelerometer_submit(r,a.timestamp,a.x,a.y,a.z);break;case"accel_w_gravity_int":e.pipeline_motion_accelerometer_with_gravity_submit_int(r,a.timestamp,a.interval,a.x,a.y,a.z);break;case"accel_wo_gravity_int":e.pipeline_motion_accelerometer_without_gravity_submit_int(r,a.timestamp,a.interval,a.x,a.y,a.z);break;case"attitude_int":e.pipeline_motion_attitude_submit_int(r,a.timestamp,a.interval,a.x,a.y,a.z);break;case"attitude":e.pipeline_motion_attitude_submit(r,a.timestamp,a.x,a.y,a.z);break;case"rotation_rate_int":e.pipeline_motion_rotation_rate_submit_int(r,a.timestamp,a.interval,a.x,a.y,a.z);break;case"rotation_rate":e.pipeline_motion_rotation_rate_submit(r,a.timestamp,a.x,a.y,a.z)}break}case"attitudeMatrixC2S":{const a=i,r=_._pipeline_by_instance.get(a.p);if(!r)break;e.pipeline_motion_attitude_matrix_submit(r,a.m);break}}}))}})}))}let W=0,X=0,Y=1;function J(e){return new Promise(((a,i)=>{const r=setTimeout((()=>{i("Frame timeout")}),2e3);e.read().then((e=>{clearTimeout(r),a(e)}))}))}const $=g(),Q=new Float32Array([300,300,160,120,0,0]);function ee(e,a,i,r,t,_,o,s,n){var c,E;return B(this,void 0,void 0,(function*(){for(;;){let d=yield J(i);if(d.done)return void(null===(c=d.value)||void 0===c||c.close());let v=d.value,h=v.allocationSize();h>X&&(W>0&&e._free(W),W=e._malloc(h),X=h),yield v.copyTo(e.HEAPU8.subarray(W,W+X));let p=Y;Y++;const N=v.visibleRect.width,m=v.visibleRect.height;let S,g=N,I=m;switch(V){case 270:S=new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]),g=m,I=N;break;case 180:S=new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);break;case 90:S=new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1]),g=m,I=N;break;default:S=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}let y=!1;q.get(o)!==u.HIGH&&(g/=2,I/=2,y=!0);let z=v.clone();t?(b=[-1,1,-1],(l=$)[0]=b[0],l[1]=0,l[2]=0,l[3]=0,l[4]=0,l[5]=b[1],l[6]=0,l[7]=0,l[8]=0,l[9]=0,l[10]=b[2],l[11]=0,l[12]=0,l[13]=0,l[14]=0,l[15]=1):f($);let w=240*g/320;Q[0]=w,Q[1]=w,Q[2]=.5*g,Q[3]=.5*I;const P={token:p,d:z,p:r,t:"videoFrameS2C",userFacing:t,uvTransform:S,w:g,h:I,cameraToDevice:$,cameraModel:Q,source:o};D.postOutgoingMessage(P,[P.d,P.uvTransform.buffer]);const K=_._pipeline_by_instance.get(r);if(K){try{a.pipeline_camera_frame_submit_raw_pointer(K,W,h,ie(v.format),N,m,p,$,V,Q,t,1e-6*(null!==(E=v.timestamp)&&void 0!==E?E:-1),y),re(e,s),n&&te(e,n)}catch(e){console.log("Exception during camera processing",e)}if(a.pipeline_frame_update(K),G){let i=U.get(r);if(i||(i={available:[],ready:[]},U.set(r,i)),i.ready.length>4){const e=i.ready.splice(0,1);for(const a of e)i.available.push(new Uint8Array(a.data.data))}const t=a.pipeline_camera_frame_data_raw_size(K);let _;for(;!_||_.byteLength<t;)i.available.length<1&&i.available.push(new Uint8Array(t)),_=i.available.pop();const o=a.pipeline_camera_frame_data_raw(K);_.set(e.HEAPU8.subarray(o,o+t)),i.ready.push({token:p,data:{data:_,width:a.pipeline_camera_frame_data_raw_width(r),height:a.pipeline_camera_frame_data_raw_height(r)}})}_.exploreState()}v.close()}var l,b}))}function ae(e){return new Promise((a=>{setTimeout(a,e)}))}function ie(e){switch(e){case"I420":return v.FRAME_PIXEL_FORMAT_I420;case"I420A":return v.FRAME_PIXEL_FORMAT_I420A;case"I422":return v.FRAME_PIXEL_FORMAT_I422;case"I444":return v.FRAME_PIXEL_FORMAT_I444;case"NV12":return v.FRAME_PIXEL_FORMAT_NV12;case"RGBA":case"RGBX":return v.FRAME_PIXEL_FORMAT_RGBA;case"BGRA":case"BGRX":return v.FRAME_PIXEL_FORMAT_BGRA}return v.FRAME_PIXEL_FORMAT_Y}function re(e,a){const i=a.worker_message_send_count();if(0!==i){O||(O=new MessageChannel,O.port1.start(),O.port1.addEventListener("message",(i=>{if("msgrec"!==i.data.t)return;const r=i.data.data,t=e._malloc(r.byteLength);e.HEAPU8.set(r,t),a.worker_message_receive(i.data.reference,r.byteLength,t),e._free(t)})),D.postOutgoingMessage({t:"setupCeresWorker",port:O.port2},[O.port2]));for(let r=0;r<i;r++){const i=a.worker_message_send_reference(r),t=a.worker_message_send_data_size(r),_=a.worker_message_send_data(r),o=e.HEAPU8.slice(_,_+t);O.port1.postMessage({t:"msgsend",data:o,reference:i},[o.buffer])}a.worker_message_send_clear()}}function te(e,a){const i=a.data_download_size();if(0===i)return;const r=a.data_download(),t=e.HEAPU8.slice(r,r+i);D.postOutgoingMessage({t:"_z_datadownload",data:t},[t.buffer]),a.data_download_clear()}const _e=self;D.onOutgoingMessage.bind((()=>{let e=D.getOutgoingMessages();for(let a of e)_e.postMessage(a.msg,a.transferables)}));let oe=e=>{var a;e&&e.data&&"wasm"===e.data.t&&(H(location.href.startsWith("blob")?e.data.url:new URL(i(751),i.b).toString(),e.data.module,null!==(a=e.data.shouldRecordData)&&void 0!==a?a:0),_e.removeEventListener("message",oe))};_e.addEventListener("message",oe),_e.addEventListener("message",(e=>{D.postIncomingMessage(e.data)}))})()})();',"Worker",void 0,a.p+"zappar-cv.worker.js")}},477:e=>{"use strict";e.exports=function(e,t,a,i){var r=self||window;try{try{var o;try{o=new r.Blob([e])}catch(t){(o=new(r.BlobBuilder||r.WebKitBlobBuilder||r.MozBlobBuilder||r.MSBlobBuilder)).append(e),o=o.getBlob()}var _=r.URL||r.webkitURL,s=_.createObjectURL(o),n=new r[t](s,a);return _.revokeObjectURL(s),n}catch(i){return new r[t]("data:application/javascript,".concat(encodeURIComponent(e)),a)}}catch(e){if(!i)throw Error("Inline worker is not supported");return new r[t](i,a)}}},698:(e,t,a)=>{"use strict";e.exports=a.p+"b4f46e148a3b3b5aef90.zbin"},825:(e,t,a)=>{"use strict";e.exports=a.p+"f7b62a3a53b5c9b3222b.zbin"},367:(e,t,a)=>{"use strict";e.exports=a.p+"482727c0e7dd40d73f5a.zbin"},751:(e,t,a)=>{"use strict";e.exports=a.p+"ad30381eac4454d1944a.wasm"}},t={};function a(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,a),o.exports}a.m=e,a.amdO={},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.u=e=>e+".zappar-cv.js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&!e;)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),a.b=document.baseURI||self.location.href;var i={};return(()=>{"use strict";var e,t,r,o,_,s,n,c,l,d,E;a.r(i),a.d(i,{anchor_status_t:()=>l,barcode_format_t:()=>e,camera_profile_t:()=>E,face_landmark_name_t:()=>t,image_target_type_t:()=>n,initialize:()=>sa,instant_world_tracker_transform_orientation_t:()=>r,log_level_t:()=>_,plane_orientation_t:()=>d,transform_orientation_t:()=>o,world_tracker_quality_t:()=>c}),function(e){e[e.UNKNOWN=131072]="UNKNOWN",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=4]="CODE_39",e[e.CODE_93=8]="CODE_93",e[e.CODE_128=16]="CODE_128",e[e.DATA_MATRIX=32]="DATA_MATRIX",e[e.EAN_8=64]="EAN_8",e[e.EAN_13=128]="EAN_13",e[e.ITF=256]="ITF",e[e.MAXICODE=512]="MAXICODE",e[e.PDF_417=1024]="PDF_417",e[e.QR_CODE=2048]="QR_CODE",e[e.RSS_14=4096]="RSS_14",e[e.RSS_EXPANDED=8192]="RSS_EXPANDED",e[e.UPC_A=16384]="UPC_A",e[e.UPC_E=32768]="UPC_E",e[e.UPC_EAN_EXTENSION=65536]="UPC_EAN_EXTENSION",e[e.ALL=131071]="ALL"}(e||(e={})),function(e){e[e.EYE_LEFT=0]="EYE_LEFT",e[e.EYE_RIGHT=1]="EYE_RIGHT",e[e.EAR_LEFT=2]="EAR_LEFT",e[e.EAR_RIGHT=3]="EAR_RIGHT",e[e.NOSE_BRIDGE=4]="NOSE_BRIDGE",e[e.NOSE_TIP=5]="NOSE_TIP",e[e.NOSE_BASE=6]="NOSE_BASE",e[e.LIP_TOP=7]="LIP_TOP",e[e.LIP_BOTTOM=8]="LIP_BOTTOM",e[e.MOUTH_CENTER=9]="MOUTH_CENTER",e[e.CHIN=10]="CHIN",e[e.EYEBROW_LEFT=11]="EYEBROW_LEFT",e[e.EYEBROW_RIGHT=12]="EYEBROW_RIGHT"}(t||(t={})),function(e){e[e.WORLD=3]="WORLD",e[e.MINUS_Z_AWAY_FROM_USER=4]="MINUS_Z_AWAY_FROM_USER",e[e.MINUS_Z_HEADING=5]="MINUS_Z_HEADING",e[e.UNCHANGED=6]="UNCHANGED"}(r||(r={})),function(e){e[e.UNCHANGED=0]="UNCHANGED",e[e.WORLD=1]="WORLD",e[e.PARENT=2]="PARENT",e[e.Z_TOWARDS_CAMERA=3]="Z_TOWARDS_CAMERA"}(o||(o={})),function(e){e[e.LOG_LEVEL_NONE=0]="LOG_LEVEL_NONE",e[e.LOG_LEVEL_ERROR=1]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_WARNING=2]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_VERBOSE=3]="LOG_LEVEL_VERBOSE"}(_||(_={})),function(e){e[e.FRAME_PIXEL_FORMAT_I420=0]="FRAME_PIXEL_FORMAT_I420",e[e.FRAME_PIXEL_FORMAT_I420A=1]="FRAME_PIXEL_FORMAT_I420A",e[e.FRAME_PIXEL_FORMAT_I422=2]="FRAME_PIXEL_FORMAT_I422",e[e.FRAME_PIXEL_FORMAT_I444=3]="FRAME_PIXEL_FORMAT_I444",e[e.FRAME_PIXEL_FORMAT_NV12=4]="FRAME_PIXEL_FORMAT_NV12",e[e.FRAME_PIXEL_FORMAT_RGBA=5]="FRAME_PIXEL_FORMAT_RGBA",e[e.FRAME_PIXEL_FORMAT_BGRA=6]="FRAME_PIXEL_FORMAT_BGRA",e[e.FRAME_PIXEL_FORMAT_Y=7]="FRAME_PIXEL_FORMAT_Y"}(s||(s={})),function(e){e[e.IMAGE_TRACKER_TYPE_PLANAR=0]="IMAGE_TRACKER_TYPE_PLANAR",e[e.IMAGE_TRACKER_TYPE_CYLINDRICAL=1]="IMAGE_TRACKER_TYPE_CYLINDRICAL",e[e.IMAGE_TRACKER_TYPE_CONICAL=2]="IMAGE_TRACKER_TYPE_CONICAL"}(n||(n={})),function(e){e[e.WORLD_TRACKER_QUALITY_INITIALIZING=0]="WORLD_TRACKER_QUALITY_INITIALIZING",e[e.WORLD_TRACKER_QUALITY_GOOD=1]="WORLD_TRACKER_QUALITY_GOOD",e[e.WORLD_TRACKER_QUALITY_LIMITED=2]="WORLD_TRACKER_QUALITY_LIMITED"}(c||(c={})),function(e){e[e.ANCHOR_STATUS_INITIALIZING=0]="ANCHOR_STATUS_INITIALIZING",e[e.ANCHOR_STATUS_TRACKING=1]="ANCHOR_STATUS_TRACKING",e[e.ANCHOR_STATUS_PAUSED=2]="ANCHOR_STATUS_PAUSED",e[e.ANCHOR_STATUS_STOPPED=3]="ANCHOR_STATUS_STOPPED"}(l||(l={})),function(e){e[e.PLANE_ORIENTATION_HORIZONTAL=0]="PLANE_ORIENTATION_HORIZONTAL",e[e.PLANE_ORIENTATION_VERTICAL=1]="PLANE_ORIENTATION_VERTICAL"}(d||(d={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HIGH=1]="HIGH"}(E||(E={}));class h{constructor(e){this._messageSender=e,this._freeBufferPool=[],this._buffer=new ArrayBuffer(16),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1,this._timeoutSet=!1,this._appender={int:e=>this.int(e),bool:e=>this.int(e?1:0),float:e=>this.float(e),string:e=>this.string(e),dataWithLength:e=>this.arrayBuffer(e),type:e=>this.int(e),matrix4x4:e=>this.float32ArrayBuffer(e),matrix3x3:e=>this.float32ArrayBuffer(e),floatArray:e=>this.float32ArrayBuffer(e),ucharArray:e=>this.uint8ArrayBuffer(e),identityCoefficients:e=>this.float32ArrayBuffer(e),expressionCoefficients:e=>this.float32ArrayBuffer(e),cameraModel:e=>this.float32ArrayBuffer(e),timestamp:e=>this.double(e),barcodeFormat:e=>this.int(e),faceLandmarkName:e=>this.int(e),instantTrackerTransformOrientation:e=>this.int(e),transformOrientation:e=>this.int(e),planeOrientation:e=>this.int(e),anchorStatus:e=>this.int(e),logLevel:e=>this.int(e)},this._freeBufferPool.push(new ArrayBuffer(16)),this._freeBufferPool.push(new ArrayBuffer(16))}bufferReturn(e){this._freeBufferPool.push(e)}_ensureArrayBuffer(e){let t,a=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=a)return;if(!t){let e=a;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,t=new ArrayBuffer(e)}let i=this._buffer?this._i32View:void 0;this._buffer=t,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),i&&this._i32View.set(i.subarray(0,this._offset))}sendMessage(e,t){this._ensureArrayBuffer(4),this._startOffset=this._offset,this._i32View[this._offset+1]=e,this._offset+=2,t(this._appender),this._i32View[this._startOffset]=this._offset-this._startOffset,this._startOffset=-1,this._sendOneTime()}_sendOneTime(){!1===this._timeoutSet&&(this._timeoutSet=!0,setTimeout((()=>{this._timeoutSet=!1,this._send()}),0))}_send(){0!==this._freeBufferPool.length?(this._i32View[0]=this._offset,this._messageSender(this._buffer),this._buffer=void 0,this._buffer=this._freeBufferPool.pop(),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1):this._sendOneTime()}int(e){this._ensureArrayBuffer(1),this._i32View[this._offset]=e,this._offset++}double(e){this._ensureArrayBuffer(2),this._offset%2==1&&this._offset++,this._f64View[this._offset/2]=e,this._offset+=2}float(e){this._ensureArrayBuffer(1),this._f32View[this._offset]=e,this._offset++}int32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t];this._offset+=e.length}float32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._f32View[this._offset+t]=e[t];this._offset+=e.length}booleanArray(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t]?1:0;this._offset+=e.length}uint8ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8View.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}arrayBuffer(e){let t=new Uint8Array(e);this.uint8ArrayBuffer(t)}uint8ClampedArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8cView.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}float32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._f32View.set(e,this._offset),this._offset+=e.length}uint16ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++;let t=2*this._offset;this._u16View.set(e,t),this._offset+=e.length>>1,0!=(1&e.length)&&this._offset++}int32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._i32View.set(e,this._offset),this._offset+=e.length}uint32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._u32View.set(e,this._offset),this._offset+=e.length}string(e){let t=(new TextEncoder).encode(e);this._ensureArrayBuffer(t.byteLength/4),this._i32View[this._offset]=t.byteLength,this._offset++,this._u8View.set(t,4*this._offset),this._offset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._offset++}}class b{constructor(){this._buffer=new ArrayBuffer(0),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,this._startOffset=-1,this._processor={int:()=>this._i32View[this._startOffset++],bool:()=>1===this._i32View[this._startOffset++],type:()=>this._i32View[this._startOffset++],float:()=>this._f32View[this._startOffset++],timestamp:()=>{this._startOffset%2==1&&this._startOffset++;let e=this._f64View[this._startOffset/2];return this._startOffset+=2,e},string:()=>{let e=this._i32View[this._startOffset++],t=(new TextDecoder).decode(new Uint8Array(this._buffer,4*this._startOffset,e));return this._startOffset+=e>>2,0!=(3&e)&&this._startOffset++,t},dataWithLength:()=>{let e=this._i32View[this._startOffset++],t=new Uint8Array(e);return t.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._startOffset++,t.buffer},ucharArray:()=>{let e=this._i32View[this._startOffset++],t=new Uint8Array(e);return t.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._startOffset++,t},floatArray:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+e)),this._startOffset+=e,t},matrix4x4:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+16)),this._startOffset+=e,t},matrix3x3:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+9)),this._startOffset+=e,t},identityCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+50)),this._startOffset+=e,t},expressionCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+29)),this._startOffset+=e,t},cameraModel:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+6)),this._startOffset+=e,t},barcodeFormat:()=>this._i32View[this._startOffset++],faceLandmarkName:()=>this._i32View[this._startOffset++],instantTrackerTransformOrientation:()=>this._i32View[this._startOffset++],transformOrientation:()=>this._i32View[this._startOffset++],planeOrientation:()=>this._i32View[this._startOffset++],anchorStatus:()=>this._i32View[this._startOffset++],logLevel:()=>this._i32View[this._startOffset++]}}setData(e){this._buffer=e,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,e.byteLength>=4&&(this._offset=1,this._length=this._i32View[0]),this._startOffset=-1}hasMessage(){return this._offset+1<this._length}forMessages(e){for(;this.hasMessage();){let t=this._i32View[this._offset],a=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=t,e(a,this._processor)}}}class p{constructor(e){this._messageSender=e,this._globalState={log_level:1},this.serializer=new h((e=>{this._messageSender(e)})),this.deserializer=new b,this._latestId=1,this._pipeline_state_by_instance=new Map,this._camera_source_state_by_instance=new Map,this._sequence_source_state_by_instance=new Map,this._image_tracker_state_by_instance=new Map,this._face_tracker_state_by_instance=new Map,this._face_mesh_state_by_instance=new Map,this._face_landmark_state_by_instance=new Map,this._barcode_finder_state_by_instance=new Map,this._instant_world_tracker_state_by_instance=new Map,this._zapcode_tracker_state_by_instance=new Map,this._world_tracker_state_by_instance=new Map,this._custom_anchor_state_by_instance=new Map,this.impl={log_level:()=>this._globalState.log_level,log_level_set:e=>{this.serializer.sendMessage(38,(t=>{t.logLevel(e)}))},analytics_project_id_set:(e,t)=>{this.serializer.sendMessage(35,(a=>{a.string(e),a.string(t)}))},pipeline_create:()=>{let e=this._latestId++,t={current_frame_user_data:0,camera_model:new Float32Array([300,300,160,120,0,0]),camera_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),camera_frame_camera_attitude:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),camera_frame_device_attitude:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),frame_number:0};return this._pipeline_state_by_instance.set(e,t),this.serializer.sendMessage(31,(t=>{t.type(e)})),e},pipeline_destroy:e=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this._pipeline_state_by_instance.delete(e),this.serializer.sendMessage(32,(t=>{t.type(e)}))},pipeline_frame_update:e=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(9,(t=>{t.type(e)}))},pipeline_frame_number:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.frame_number},pipeline_camera_model:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_model},pipeline_camera_frame_user_data:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.current_frame_user_data},pipeline_camera_frame_submit:(e,t,a,i,r,o,_,s,n)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(8,(c=>{c.type(e),c.dataWithLength(t),c.int(a),c.int(i),c.int(r),c.matrix4x4(o),c.cameraModel(_),c.bool(s),c.float(n)}))},pipeline_camera_frame_camera_attitude:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_frame_camera_attitude},pipeline_camera_frame_device_attitude:e=>{let t=this._pipeline_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.camera_frame_device_attitude},pipeline_motion_accelerometer_submit:(e,t,a,i,r)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(10,(o=>{o.type(e),o.timestamp(t),o.float(a),o.float(i),o.float(r)}))},pipeline_motion_accelerometer_with_gravity_submit_int:(e,t,a,i,r,o)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(12,(_=>{_.type(e),_.timestamp(t),_.timestamp(a),_.float(i),_.float(r),_.float(o)}))},pipeline_motion_accelerometer_without_gravity_submit_int:(e,t,a,i,r,o)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(11,(_=>{_.type(e),_.timestamp(t),_.timestamp(a),_.float(i),_.float(r),_.float(o)}))},pipeline_motion_rotation_rate_submit:(e,t,a,i,r)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(15,(o=>{o.type(e),o.timestamp(t),o.float(a),o.float(i),o.float(r)}))},pipeline_motion_rotation_rate_submit_int:(e,t,a,i,r,o)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(13,(_=>{_.type(e),_.timestamp(t),_.timestamp(a),_.float(i),_.float(r),_.float(o)}))},pipeline_motion_attitude_submit:(e,t,a,i,r)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(16,(o=>{o.type(e),o.timestamp(t),o.float(a),o.float(i),o.float(r)}))},pipeline_motion_attitude_submit_int:(e,t,a,i,r,o)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(14,(_=>{_.type(e),_.timestamp(t),_.timestamp(a),_.float(i),_.float(r),_.float(o)}))},pipeline_motion_attitude_matrix_submit:(e,t)=>{if(!this._pipeline_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(17,(a=>{a.type(e),a.matrix4x4(t)}))},camera_source_create:(e,t)=>{let a=this._latestId++;return this._camera_source_state_by_instance.set(a,{}),this.serializer.sendMessage(33,(i=>{i.type(a),i.type(e),i.string(t)})),a},camera_source_destroy:e=>{if(!this._camera_source_state_by_instance.get(e))throw new Error("This object has been destroyed");this._camera_source_state_by_instance.delete(e),this.serializer.sendMessage(34,(t=>{t.type(e)}))},sequence_source_create:e=>{let t=this._latestId++;return this._sequence_source_state_by_instance.set(t,{}),this.serializer.sendMessage(39,(a=>{a.type(t),a.type(e)})),t},sequence_source_destroy:e=>{if(!this._sequence_source_state_by_instance.get(e))throw new Error("This object has been destroyed");this._sequence_source_state_by_instance.delete(e),this.serializer.sendMessage(40,(t=>{t.type(e)}))},image_tracker_create:e=>{let t=this._latestId++;return this._image_tracker_state_by_instance.set(t,{enabled:!0,target_loaded_version:-1,anchor_count:0,anchor_id:[],anchor_pose:[]}),this.serializer.sendMessage(2,(a=>{a.type(t),a.type(e)})),t},image_tracker_destroy:e=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._image_tracker_state_by_instance.delete(e),this.serializer.sendMessage(18,(t=>{t.type(e)}))},image_tracker_target_load_from_memory:(e,t)=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(4,(a=>{a.type(e),a.dataWithLength(t)}))},image_tracker_target_loaded_version:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.target_loaded_version},image_tracker_enabled:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},image_tracker_enabled_set:(e,t)=>{if(!this._image_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(3,(a=>{a.type(e),a.bool(t)}))},image_tracker_anchor_count:e=>{let t=this._image_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},image_tracker_anchor_id:(e,t)=>{let a=this._image_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_id[t]},image_tracker_anchor_pose_raw:(e,t)=>{let a=this._image_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_pose[t]},face_tracker_create:e=>{let t=this._latestId++;return this._face_tracker_state_by_instance.set(t,{enabled:!0,model_loaded:-1,max_faces:1,anchor_count:0,anchor_id:[],anchor_pose:[],anchor_identity_coefficients:[],anchor_expression_coefficients:[]}),this.serializer.sendMessage(24,(a=>{a.type(t),a.type(e)})),t},face_tracker_destroy:e=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_tracker_state_by_instance.delete(e),this.serializer.sendMessage(25,(t=>{t.type(e)}))},face_tracker_model_load_from_memory:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(26,(a=>{a.type(e),a.dataWithLength(t)}))},face_tracker_model_loaded_version:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.model_loaded},face_tracker_enabled_set:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(27,(a=>{a.type(e),a.bool(t)}))},face_tracker_enabled:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},face_tracker_max_faces_set:(e,t)=>{if(!this._face_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(28,(a=>{a.type(e),a.int(t)}))},face_tracker_max_faces:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.max_faces},face_tracker_anchor_count:e=>{let t=this._face_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},face_tracker_anchor_id:(e,t)=>{let a=this._face_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_id[t]},face_tracker_anchor_pose_raw:(e,t)=>{let a=this._face_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_pose[t]},face_tracker_anchor_identity_coefficients:(e,t)=>{let a=this._face_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_identity_coefficients[t]},face_tracker_anchor_expression_coefficients:(e,t)=>{let a=this._face_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_expression_coefficients[t]},face_mesh_create:()=>{let e=this._latestId++;return this._face_mesh_state_by_instance.set(e,{}),this.serializer.sendMessage(29,(t=>{t.type(e)})),e},face_mesh_destroy:e=>{if(!this._face_mesh_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_mesh_state_by_instance.delete(e),this.serializer.sendMessage(30,(t=>{t.type(e)}))},face_landmark_create:e=>{let t=this._latestId++;return this._face_landmark_state_by_instance.set(t,{}),this.serializer.sendMessage(36,(a=>{a.type(t),a.faceLandmarkName(e)})),t},face_landmark_destroy:e=>{if(!this._face_landmark_state_by_instance.get(e))throw new Error("This object has been destroyed");this._face_landmark_state_by_instance.delete(e),this.serializer.sendMessage(37,(t=>{t.type(e)}))},barcode_finder_create:e=>{let t=this._latestId++;return this._barcode_finder_state_by_instance.set(t,{enabled:!0,number_found:0,found_text:[],found_format:[],formats:131071}),this.serializer.sendMessage(20,(a=>{a.type(t),a.type(e)})),t},barcode_finder_destroy:e=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this._barcode_finder_state_by_instance.delete(e),this.serializer.sendMessage(21,(t=>{t.type(e)}))},barcode_finder_enabled_set:(e,t)=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(22,(a=>{a.type(e),a.bool(t)}))},barcode_finder_enabled:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},barcode_finder_found_number:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.number_found},barcode_finder_found_text:(e,t)=>{let a=this._barcode_finder_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.found_text[t]},barcode_finder_found_format:(e,t)=>{let a=this._barcode_finder_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.found_format[t]},barcode_finder_formats:e=>{let t=this._barcode_finder_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.formats},barcode_finder_formats_set:(e,t)=>{if(!this._barcode_finder_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(23,(a=>{a.type(e),a.barcodeFormat(t)}))},instant_world_tracker_create:e=>{let t=this._latestId++,a={enabled:!0,pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};return this._instant_world_tracker_state_by_instance.set(t,a),this.serializer.sendMessage(5,(a=>{a.type(t),a.type(e)})),t},instant_world_tracker_destroy:e=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._instant_world_tracker_state_by_instance.delete(e),this.serializer.sendMessage(19,(t=>{t.type(e)}))},instant_world_tracker_enabled_set:(e,t)=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(6,(a=>{a.type(e),a.bool(t)}))},instant_world_tracker_enabled:e=>{let t=this._instant_world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},instant_world_tracker_anchor_pose_raw:e=>{let t=this._instant_world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.pose},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,t,a,i,r)=>{if(!this._instant_world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(7,(o=>{o.type(e),o.float(t),o.float(a),o.float(i),o.instantTrackerTransformOrientation(r)}))},zapcode_tracker_create:e=>{let t=this._latestId++;return this._zapcode_tracker_state_by_instance.set(t,{enabled:!0,target_loaded_version:-1,anchor_count:0,anchor_id:[],anchor_pose:[]}),this.serializer.sendMessage(41,(a=>{a.type(t),a.type(e)})),t},zapcode_tracker_destroy:e=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._zapcode_tracker_state_by_instance.delete(e),this.serializer.sendMessage(44,(t=>{t.type(e)}))},zapcode_tracker_target_load_from_memory:(e,t)=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(43,(a=>{a.type(e),a.dataWithLength(t)}))},zapcode_tracker_target_loaded_version:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.target_loaded_version},zapcode_tracker_enabled:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},zapcode_tracker_enabled_set:(e,t)=>{if(!this._zapcode_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(42,(a=>{a.type(e),a.bool(t)}))},zapcode_tracker_anchor_count:e=>{let t=this._zapcode_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.anchor_count},zapcode_tracker_anchor_id:(e,t)=>{let a=this._zapcode_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_id[t]},zapcode_tracker_anchor_pose_raw:(e,t)=>{let a=this._zapcode_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.anchor_pose[t]},world_tracker_create:e=>{let t=this._latestId++,a={enabled:!0,horizontal_plane_detection_enabled:!0,vertical_plane_detection_enabled:!1,plane_anchor_count:0,plane_anchor_pose:[],plane_anchor_status:[],plane_anchor_polygon_version:[],plane_anchor_polygon_data:[],plane_anchor_polygon_data_size:[],plane_anchor_id:[],plane_anchor_orientation:[],world_anchor_status:0,world_anchor_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),world_anchor_id:"",ground_anchor_status:0,ground_anchor_pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),ground_anchor_id:"",tracks_data_enabled:!1,tracks_data:new Float32Array([]),tracks_data_size:0,tracks_type_data:new Uint8Array([]),tracks_type_data_size:0,projections_data_enabled:!1,projections_data:new Float32Array([]),projections_data_size:0,quality:0};return this._world_tracker_state_by_instance.set(t,a),this.serializer.sendMessage(45,(a=>{a.type(t),a.type(e)})),t},world_tracker_destroy:e=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this._world_tracker_state_by_instance.delete(e),this.serializer.sendMessage(46,(t=>{t.type(e)}))},world_tracker_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},world_tracker_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(47,(a=>{a.type(e),a.bool(t)}))},world_tracker_quality:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.quality},world_tracker_horizontal_plane_detection_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.horizontal_plane_detection_enabled},world_tracker_horizontal_plane_detection_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(48,(a=>{a.type(e),a.bool(t)}))},world_tracker_vertical_plane_detection_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.vertical_plane_detection_enabled},world_tracker_vertical_plane_detection_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(49,(a=>{a.type(e),a.bool(t)}))},world_tracker_plane_anchor_count:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.plane_anchor_count},world_tracker_plane_anchor_id:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_id[t]},world_tracker_plane_anchor_pose_raw:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_pose[t]},world_tracker_plane_anchor_status:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_status[t]},world_tracker_plane_anchor_polygon_data_size:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_polygon_data_size[t]},world_tracker_plane_anchor_polygon_data:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_polygon_data[t]},world_tracker_plane_anchor_polygon_version:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_polygon_version[t]},world_tracker_plane_anchor_orientation:(e,t)=>{let a=this._world_tracker_state_by_instance.get(e);if(!a)throw new Error("This object has been destroyed");return a.plane_anchor_orientation[t]},world_tracker_world_anchor_status:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_status},world_tracker_world_anchor_id:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_id},world_tracker_world_anchor_pose_raw:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.world_anchor_pose},world_tracker_ground_anchor_id:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.ground_anchor_id},world_tracker_ground_anchor_status:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.ground_anchor_status},world_tracker_ground_anchor_pose_raw:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.ground_anchor_pose},world_tracker_reset:e=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(50,(t=>{t.type(e)}))},world_tracker_tracks_data_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.tracks_data_enabled},world_tracker_tracks_data_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(51,(a=>{a.type(e),a.bool(t)}))},world_tracker_tracks_data_size:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.tracks_data_size},world_tracker_tracks_data:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.tracks_data},world_tracker_tracks_type_data_size:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.tracks_type_data_size},world_tracker_tracks_type_data:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.tracks_type_data},world_tracker_projections_data_enabled:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.projections_data_enabled},world_tracker_projections_data_enabled_set:(e,t)=>{if(!this._world_tracker_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(52,(a=>{a.type(e),a.bool(t)}))},world_tracker_projections_data_size:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.projections_data_size},world_tracker_projections_data:e=>{let t=this._world_tracker_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.projections_data},custom_anchor_create:(e,t,a)=>{let i=this._latestId++,r={enabled:!0,pose:new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),status:0};return this._custom_anchor_state_by_instance.set(i,r),this.serializer.sendMessage(53,(r=>{r.type(i),r.type(e),r.type(t),r.string(a)})),i},custom_anchor_destroy:e=>{if(!this._custom_anchor_state_by_instance.get(e))throw new Error("This object has been destroyed");this._custom_anchor_state_by_instance.delete(e),this.serializer.sendMessage(54,(t=>{t.type(e)}))},custom_anchor_status:e=>{let t=this._custom_anchor_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.status},custom_anchor_enabled_set:(e,t)=>{if(!this._custom_anchor_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(55,(a=>{a.type(e),a.bool(t)}))},custom_anchor_enabled:e=>{let t=this._custom_anchor_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.enabled},custom_anchor_pose_raw:e=>{let t=this._custom_anchor_state_by_instance.get(e);if(!t)throw new Error("This object has been destroyed");return t.pose},custom_anchor_pose_set_from_camera_offset_raw:(e,t,a,i,r)=>{if(!this._custom_anchor_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(56,(o=>{o.type(e),o.float(t),o.float(a),o.float(i),o.transformOrientation(r)}))},custom_anchor_pose_set_from_anchor_offset:(e,t,a,i,r,o)=>{if(!this._custom_anchor_state_by_instance.get(e))throw new Error("This object has been destroyed");this.serializer.sendMessage(57,(_=>{_.type(e),_.string(t),_.float(a),_.float(i),_.float(r),_.transformOrientation(o)}))}}}processMessages(e){this.deserializer.setData(e),this.deserializer.forMessages(((e,t)=>{switch(e){case 7:{let e=t.type(),a=this._pipeline_state_by_instance.get(e);if(!a)return;a.frame_number=t.int();break}case 6:{let e=t.type(),a=this._pipeline_state_by_instance.get(e);if(!a)return;a.camera_model=t.cameraModel();break}case 5:{let e=t.type(),a=this._pipeline_state_by_instance.get(e);if(!a)return;a.current_frame_user_data=t.int();break}case 11:{let e=t.type(),a=this._pipeline_state_by_instance.get(e);if(!a)return;a.camera_frame_camera_attitude=t.matrix4x4();break}case 12:{let e=t.type(),a=this._pipeline_state_by_instance.get(e);if(!a)return;a.camera_frame_device_attitude=t.matrix4x4();break}case 19:{let e=t.type(),a=this._image_tracker_state_by_instance.get(e);if(!a)return;a.target_loaded_version=t.int();break}case 1:{let e=t.type(),a=this._image_tracker_state_by_instance.get(e);if(!a)return;a.anchor_count=t.int();break}case 2:{let e=t.type(),a=this._image_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_id[i]=t.string();break}case 3:{let e=t.type(),a=this._image_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_pose[i]=t.matrix4x4();break}case 18:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;a.model_loaded=t.int();break}case 13:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;a.anchor_count=t.int();break}case 14:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_id[i]=t.string();break}case 15:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_pose[i]=t.matrix4x4();break}case 16:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_identity_coefficients[i]=t.identityCoefficients();break}case 17:{let e=t.type(),a=this._face_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_expression_coefficients[i]=t.expressionCoefficients();break}case 8:{let e=t.type(),a=this._barcode_finder_state_by_instance.get(e);if(!a)return;a.number_found=t.int();break}case 9:{let e=t.type(),a=this._barcode_finder_state_by_instance.get(e);if(!a)return;let i=t.int();a.found_text[i]=t.string();break}case 10:{let e=t.type(),a=this._barcode_finder_state_by_instance.get(e);if(!a)return;let i=t.int();a.found_format[i]=t.barcodeFormat();break}case 4:{let e=t.type(),a=this._instant_world_tracker_state_by_instance.get(e);if(!a)return;a.pose=t.matrix4x4();break}case 24:{let e=t.type(),a=this._zapcode_tracker_state_by_instance.get(e);if(!a)return;a.target_loaded_version=t.int();break}case 21:{let e=t.type(),a=this._zapcode_tracker_state_by_instance.get(e);if(!a)return;a.anchor_count=t.int();break}case 22:{let e=t.type(),a=this._zapcode_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_id[i]=t.string();break}case 23:{let e=t.type(),a=this._zapcode_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.anchor_pose[i]=t.matrix4x4();break}case 40:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.quality=t.int();break}case 25:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.plane_anchor_count=t.int();break}case 33:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_id[i]=t.string();break}case 26:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_pose[i]=t.matrix4x4();break}case 28:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_status[i]=t.anchorStatus();break}case 29:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_polygon_data_size[i]=t.int();break}case 30:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_polygon_data[i]=t.floatArray();break}case 31:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_polygon_version[i]=t.int();break}case 32:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;let i=t.int();a.plane_anchor_orientation[i]=t.planeOrientation();break}case 36:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.world_anchor_status=t.anchorStatus();break}case 35:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.world_anchor_id=t.string();break}case 34:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.world_anchor_pose=t.matrix4x4();break}case 38:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.ground_anchor_id=t.string();break}case 39:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.ground_anchor_status=t.anchorStatus();break}case 37:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.ground_anchor_pose=t.matrix4x4();break}case 43:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.tracks_data_size=t.int();break}case 42:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.tracks_data=t.floatArray();break}case 45:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.tracks_type_data_size=t.int();break}case 44:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.tracks_type_data=t.ucharArray();break}case 48:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.projections_data_size=t.int();break}case 47:{let e=t.type(),a=this._world_tracker_state_by_instance.get(e);if(!a)return;a.projections_data=t.floatArray();break}case 50:{let e=t.type(),a=this._custom_anchor_state_by_instance.get(e);if(!a)return;a.status=t.anchorStatus();break}case 49:{let e=t.type(),a=this._custom_anchor_state_by_instance.get(e);if(!a)return;a.pose=t.matrix4x4();break}}}))}}function v(e,t,a){let i=e.createShader(t);if(!i)throw new Error("Unable to create shader");e.shaderSource(i,a),e.compileShader(i);let r=e.getShaderInfoLog(i);if(r&&r.trim().length>0)throw new Error("Shader compile error: "+r);return i}function u(e,t){e.linkProgram(t);let a=e.getProgramInfoLog(t);if(a&&a.trim().length>0)throw new Error("Unable to link: "+a)}let m,f,g,N={};function y(e){if(g)return g;if(g=e.createBuffer(),!g)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,g),e.bufferData(e.ARRAY_BUFFER,new Float32Array([0,1,0,0,1,1,1,0]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),g}let S="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 projMatrix;\nuniform mat4 cameraMatrix;\nuniform mat4 modelViewMatrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = projMatrix * cameraMatrix * modelViewMatrix * position;\n vTextureCoord = textureCoord;\n}",w="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2D(skinSampler, vTextureCoord);\n}";function I(e){if(m)return m;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,S),i=v(e,e.FRAGMENT_SHADER,w);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"projMatrix");if(!r)throw new Error("Unable to get uniform location projMatrix");let o=e.getUniformLocation(t,"modelViewMatrix");if(!o)throw new Error("Unable to get uniform location modelViewMatrix");let _=e.getUniformLocation(t,"cameraMatrix");if(!_)throw new Error("Unable to get uniform location cameraMatrix");let s=e.getUniformLocation(t,"skinSampler");if(!s)throw new Error("Unable to get uniform location skinSampler");return m={prog:t,unif_matrix:o,unif_proj:r,unif_camera:_,unif_skinSampler:s,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},m}var R=1e-6,A="undefined"!=typeof Float32Array?Float32Array:Array;function P(){var e=new A(16);return A!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function z(e,t){var a=t[0],i=t[1],r=t[2],o=t[3],_=t[4],s=t[5],n=t[6],c=t[7],l=t[8],d=t[9],E=t[10],h=t[11],b=t[12],p=t[13],v=t[14],u=t[15],m=a*s-i*_,f=a*n-r*_,g=a*c-o*_,N=i*n-r*s,y=i*c-o*s,S=r*c-o*n,w=l*p-d*b,I=l*v-E*b,R=l*u-h*b,A=d*v-E*p,P=d*u-h*p,z=E*u-h*v,L=m*z-f*P+g*A+N*R-y*I+S*w;return L?(L=1/L,e[0]=(s*z-n*P+c*A)*L,e[1]=(r*P-i*z-o*A)*L,e[2]=(p*S-v*y+u*N)*L,e[3]=(E*y-d*S-h*N)*L,e[4]=(n*R-_*z-c*I)*L,e[5]=(a*z-r*R+o*I)*L,e[6]=(v*g-b*S-u*f)*L,e[7]=(l*S-E*g+h*f)*L,e[8]=(_*P-s*R+c*w)*L,e[9]=(i*R-a*P-o*w)*L,e[10]=(b*y-p*g+u*m)*L,e[11]=(d*g-l*y-h*m)*L,e[12]=(s*I-_*A-n*w)*L,e[13]=(a*A-i*I+r*w)*L,e[14]=(p*f-b*N-v*m)*L,e[15]=(l*N-d*f+E*m)*L,e):null}function L(e,t,a){var i=t[0],r=t[1],o=t[2],_=t[3],s=t[4],n=t[5],c=t[6],l=t[7],d=t[8],E=t[9],h=t[10],b=t[11],p=t[12],v=t[13],u=t[14],m=t[15],f=a[0],g=a[1],N=a[2],y=a[3];return e[0]=f*i+g*s+N*d+y*p,e[1]=f*r+g*n+N*E+y*v,e[2]=f*o+g*c+N*h+y*u,e[3]=f*_+g*l+N*b+y*m,f=a[4],g=a[5],N=a[6],y=a[7],e[4]=f*i+g*s+N*d+y*p,e[5]=f*r+g*n+N*E+y*v,e[6]=f*o+g*c+N*h+y*u,e[7]=f*_+g*l+N*b+y*m,f=a[8],g=a[9],N=a[10],y=a[11],e[8]=f*i+g*s+N*d+y*p,e[9]=f*r+g*n+N*E+y*v,e[10]=f*o+g*c+N*h+y*u,e[11]=f*_+g*l+N*b+y*m,f=a[12],g=a[13],N=a[14],y=a[15],e[12]=f*i+g*s+N*d+y*p,e[13]=f*r+g*n+N*E+y*v,e[14]=f*o+g*c+N*h+y*u,e[15]=f*_+g*l+N*b+y*m,e}function T(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}function x(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function M(e,t,a){var i,r,o,_=a[0],s=a[1],n=a[2],c=Math.hypot(_,s,n);return c<R?null:(_*=c=1/c,s*=c,n*=c,i=Math.sin(t),o=1-(r=Math.cos(t)),e[0]=_*_*o+r,e[1]=s*_*o+n*i,e[2]=n*_*o-s*i,e[3]=0,e[4]=_*s*o-n*i,e[5]=s*s*o+r,e[6]=n*s*o+_*i,e[7]=0,e[8]=_*n*o+s*i,e[9]=s*n*o-_*i,e[10]=n*n*o+r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}function k(){var e=new A(3);return A!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function G(e,t){var a=t[0],i=t[1],r=t[2],o=a*a+i*i+r*r;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e}function j(e,t,a){var i=t[0],r=t[1],o=t[2],_=a[0],s=a[1],n=a[2];return e[0]=r*n-o*s,e[1]=o*_-i*n,e[2]=i*s-r*_,e}function K(e,t,a){var i=t[0],r=t[1],o=t[2],_=a[3]*i+a[7]*r+a[11]*o+a[15];return _=_||1,e[0]=(a[0]*i+a[4]*r+a[8]*o+a[12])/_,e[1]=(a[1]*i+a[5]*r+a[9]*o+a[13])/_,e[2]=(a[2]*i+a[6]*r+a[10]*o+a[14])/_,e}Math.random,Math.PI,Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)}),k();var F,C=a(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(F||(F={}));let Z={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,getDataSize:e=>e===E.HIGH?[640,480]:[320,240],videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=Z,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),Z.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),Z.preferImageBitmapCamera=!0));let B=new C.UAParser,D=(B.getOS().name||"unknown").toLowerCase(),U=(B.getEngine().name||"unknown").toLowerCase();function O(e){Z.forceWindowOrientation=!0,Z.preferMediaStreamTrackProcessorCamera=!1,Z.intervalMultiplier=1e3,Z.trustSensorIntervals=!0;let t=e.split(".");if(t.length>=2){const e=parseInt(t[0]),a=parseInt(t[1]);(e<11||11===e&&a<3)&&(Z.blacklisted=!0),(e<12||12===e&&a<2)&&(Z.videoElementInDOM=!0),(12===e&&a>=2||e>=13)&&(Z.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(Z.showSafariPermissionsResetIfNecessary=!0),(e>=12&&a>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(Z.requestHighFrameRate=!0,e<14&&(Z.videoHeight=360,Z.getDataSize=e=>e===E.HIGH?[640,360]:[320,180])),16===e&&a>=4&&(Z.ios164CameraSelection=!0),e>=17&&(Z.relyOnConstraintsForCameraSelection=!0)}}function V(e,t,a,i=.01,r=100){let o=2*e[2],_=2*e[3],s=P();!function(e,t,a,i,r,o,_){var s=1/(a-t),n=1/(r-i),c=1/(o-_);e[0]=2*o*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*o*n,e[6]=0,e[7]=0,e[8]=(a+t)*s,e[9]=(r+i)*n,e[10]=(_+o)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=_*o*2*c,e[15]=0}(s,i*(-.5-e[2])/e[0],i*(o-.5-e[2])/e[0],i*(_-.5-e[3])/e[1],i*(-.5-e[3])/e[1],i,r),s[4]*=-1,s[5]*=-1,s[6]*=-1,s[7]*=-1;let n=P();x(n,[.5*o,.5*_,1]),L(s,n,s),M(n,q(!1)*Math.PI/180,[0,0,1]),L(s,n,s);let c=k();c[0]=o,c[1]=_,c[2]=0,K(c,c,n);let l=Math.abs(c[0]),d=Math.abs(c[1]),E=1;return E=l/t>d/a?a/d:t/l,x(n,[E,E,1]),L(s,n,s),x(n,[2/t,2/a,1]),L(s,n,s),M(n,q(!1)*Math.PI/-180,[0,0,1]),L(s,s,n),s}function q(e){if(window.screen.orientation&&!Z.forceWindowOrientation)switch(window.screen.orientation.type){case"portrait-primary":return e?90:270;case"landscape-secondary":return 180;case"portrait-secondary":return e?270:90;default:return 0}else if(void 0!==window.orientation)switch(window.orientation){case 0:return e?90:270;case 90:return 0;case 180:return e?270:90;case-90:return 180}return 0}"webkit"===U&&"ios"!==D&&(Z.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&O("15.0")),"webkit"===U&&"ios"===D&&(Z.deviceMotionMutliplier=1,O(B.getOS().version||"15.0"));class H{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(){for(var e=0,t=this._funcs.length;e<t;e++)this._funcs[e]()}}class W{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(e){for(var t=0,a=this._funcs.length;t<a;t++)this._funcs[t](e)}}var Y,X=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};let J=new class{constructor(){this.onOutgoingMessage=new H,this.onIncomingMessage=new W,this._outgoingMessages=[]}postIncomingMessage(e){this.onIncomingMessage.emit(e)}postOutgoingMessage(e,t){this._outgoingMessages.push({msg:e,transferables:t}),this.onOutgoingMessage.emit()}getOutgoingMessages(){let e=this._outgoingMessages;return this._outgoingMessages=[],e}};const $=new URLSearchParams(window.location.search),Q=parseInt(null!==(Y=$.get("_zrecorddata"))&&void 0!==Y?Y:"0"),ee=X(void 0,void 0,void 0,(function*(){const e=yield fetch(new URL(a(751),a.b).toString());return yield WebAssembly.compileStreaming(e)}));var te;!function(e){e[e.PermissionTitle=0]="PermissionTitle",e[e.PermissionDescription=1]="PermissionDescription",e[e.PermissionButton=2]="PermissionButton"}(te||(te={}));const[ae,ie]=function(e){const[t,a]=e.toLowerCase().split("-");return[t,a||""]}(navigator.language);function re(e){switch(ae){case"es":switch(e){case te.PermissionTitle:return"Ya casi...";case te.PermissionDescription:return"Para brindar esta experiencia de realidad aumentada, necesitamos acceso a la cámara y los sensores de movimiento de su dispositivo.";case te.PermissionButton:return"Permitir acceso"}break;case"de":switch(e){case te.PermissionTitle:return"Fast am Ziel..";case te.PermissionDescription:return"Um dir dieses Augmented Reality Erlebnis zu liefern, brauchen wir Zugriff auf die Kamera und Bewegungssensoren deines Gerätes.";case te.PermissionButton:return"Gewähre Zugriff"}break;case"pt":switch(e){case te.PermissionTitle:return"Está quase!";case te.PermissionDescription:return"Esta experiência de realidade aumentada precisa de acesso à câmera e aos sensores de movimento deste dispositivo.";case te.PermissionButton:return"Permitir acesso"}}switch(e){case te.PermissionTitle:return"Almost there...";case te.PermissionDescription:return"In order to provide this immersive experience, we need access to your device's camera and motion sensors.";case te.PermissionButton:return"Grant Access"}return""}var oe=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};let _e=new C.UAParser,se=!1,ne=!1,ce=!1,le=!1;function de(){return oe(this,void 0,void 0,(function*(){if(navigator.permissions&&navigator.permissions.query)try{let e=yield navigator.permissions.query({name:"camera"});ce="denied"===e.state,se="granted"===e.state}catch(e){}}))}function Ee(){return se}function he(){return ne}function be(){return ce}function pe(){return le}function ve(){return ce||le}function ue(){return se&&ne}function me(){return oe(this,void 0,void 0,(function*(){yield ge(),yield fe()}))}function fe(){return oe(this,void 0,void 0,(function*(){try{(yield navigator.mediaDevices.getUserMedia({video:!0})).getTracks().forEach((e=>e.stop())),se=!0,ce=!1}catch(e){se=!1,ce=!0}}))}function ge(){return oe(this,void 0,void 0,(function*(){if(window.DeviceOrientationEvent&&window.DeviceOrientationEvent.requestPermission&&"granted"!==(yield window.DeviceOrientationEvent.requestPermission()))return ne=!1,le=!0,!1;ne=!0,le=!1}))}function Ne(e){var t,a,i;return oe(this,void 0,void 0,(function*(){if(yield de(),ue())return!0;let r=document.createElement("div");function o(){return oe(this,void 0,void 0,(function*(){for(yield me(),r.remove();;){if(yield new Promise((e=>requestAnimationFrame((()=>e())))),ve())return!1;if(ue())return!0}return!1}))}r.classList.add("zappar-permission-request"),r.classList.add("zappar-permission-request-without-button"),r.innerHTML=`\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-permission-request-without-button {\n justify-content: flex-start;\n }\n\n .zappar-permission-request-without-button #zappar-permission-request-button {\n display: none;\n }\n\n .zappar-permission-request-without-button .zappar-inner {\n max-width: 300px;\n }\n\n .zappar-inner {\n margin-top: 30%;\n margin-bottom: 30%;\n max-width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:re(te.PermissionTitle)}</div>\n <div class="zappar-text">${null!==(a=null==e?void 0:e.description)&&void 0!==a?a:re(te.PermissionDescription)}</div>\n <button id="zappar-permission-request-button">${null!==(i=null==e?void 0:e.button)&&void 0!==i?i:re(te.PermissionButton)}</button>\n </div>\n`,document.body.append(r);try{return yield o()}catch(e){r.classList.remove("zappar-permission-request-without-button");let t=r.querySelector("#zappar-permission-request-button");return yield new Promise((e=>oe(this,void 0,void 0,(function*(){null==t||t.addEventListener("click",(()=>oe(this,void 0,void 0,(function*(){e(yield o())}))))}))))}}))}function ye(e){"Chrome"===_e.getBrowser().name?function(e){var t,a,i,r;let o=document.createElement("div");o.classList.add("zappar-permission-request"),o.innerHTML=`\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-inner {\n width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Permission is Needed"}</div>\n <div class="zappar-text">${null!==(i=null!==(a=null==e?void 0:e.descriptionChrome)&&void 0!==a?a:null==e?void 0:e.description)&&void 0!==i?i:'Permission to access your device\'s camera and motion sensors is necessary for this experience.<br/><br/>To grant access, please tap the <svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 -960 960 960" width="16px" fill="white"><path d="M696-144q-60.48 0-102.24-41.76T552-288q0-60.48 41.76-102.24T696-432q60.48 0 102.24 41.76T840-288q0 60.48-41.76 102.24T696-144Zm.12-72Q726-216 747-237.12q21-21.12 21-51T746.88-339q-21.12-21-51-21T645-338.88q-21 21.12-21 51T645.12-237q21.12 21 51 21ZM168-252v-72h312v72H168Zm96-276q-60.48 0-102.24-41.76T120-672q0-60.48 41.76-102.24T264-816q60.48 0 102.24 41.76T408-672q0 60.48-41.76 102.24T264-528Zm.12-72Q294-600 315-621.12q21-21.12 21-51T314.88-723q-21.12-21-51-21T213-722.88q-21 21.12-21 51T213.12-621q21.12 21 51 21ZM480-636v-72h312v72H480Zm216 348ZM264-672Z"/></svg> button in the address bar of your browser, then "Permissions", and finally "Reset permissions". You can then reload the page to try again.'}</div>\n <button id="zappar-permission-reload-button">${null!==(r=null==e?void 0:e.button)&&void 0!==r?r:"Reload"}</button>\n </div>\n`,document.body.append(o);let _=o.querySelector("#zappar-permission-reload-button");null==_||_.addEventListener("click",(()=>window.location.reload()))}(e):function(e){var t,a,i,r;let o=document.createElement("div");o.classList.add("zappar-permission-request"),o.innerHTML=`\n <style>\n .zappar-permission-request {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.9);\n font-family: sans-serif;\n color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .zappar-inner {\n max-width: 400px;\n text-align: center;\n }\n .zappar-title {\n font-size: 20px;\n }\n .zappar-text {\n font-size: 14px;\n padding: 15px;\n }\n .zappar-inner > button {\n background: none;\n outline: none;\n border: 2px solid white;\n border-radius: 10px;\n color: white;\n padding: 10px 40px;\n text-transform: uppercase;\n }\n </style>\n <div class="zappar-inner">\n <div class="zappar-title">${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Permission is Needed"}</div>\n <div class="zappar-text">${null!==(i=null!==(a=null==e?void 0:e.descriptionIOS)&&void 0!==a?a:null==e?void 0:e.description)&&void 0!==i?i:"Permission to access your device's camera and motion sensors is necessary for this experience. Please reload the page to try again."}</div>\n <button id="zappar-permission-reload-button">${null!==(r=null==e?void 0:e.button)&&void 0!==r?r:"Reload"}</button>\n </div>\n`,document.body.append(o);let _=o.querySelector("#zappar-permission-reload-button");null==_||_.addEventListener("click",(()=>window.location.reload()))}(e)}window.DeviceOrientationEvent&&window.DeviceOrientationEvent.requestPermission||(ne=!0),de();let Se=_.LOG_LEVEL_ERROR;function we(...e){Se>=_.LOG_LEVEL_VERBOSE&&console.log("[Zappar] INFO",...e)}function Ie(...e){Se>=_.LOG_LEVEL_ERROR&&console.error("[Zappar] ERROR",...e)}function Re(...e){Se>=_.LOG_LEVEL_VERBOSE&&console.log("[Zappar] WARN",...e)}let Ae=1,Pe=new Map;function ze(e){return Pe.get(e)}class Le{constructor(){this.render_mean_=new Float32Array,this.render_identity_=new Float32Array(50),this.render_expression_=new Float32Array(29),this.render_uvs_=new Float32Array,this.render_indices_=new Uint16Array,this.vertices_=new Float32Array,this.normals_=new Float32Array,this.normalsCalculated_=!1,this.modelVersion_=-1,this.mirrored_=!1}loadFromMemory(e,t,a,i,r){let o=0,_=new Uint16Array(e),s=new Int32Array(e),n=new Float32Array(e),c=()=>{let e=s[o++]*s[o++],t=n.subarray(o,o+e);return o+=e,t},l=()=>{let e=s[o++],t=_.subarray(2*o,2*o+e);return o+=e/2,t};this.render_mean_=c(),this.render_identity_=c(),this.render_expression_=c(),this.render_uvs_=c();let d=l(),E=o<s.length?l():new Uint16Array,h=o<s.length?l():new Uint16Array,b=o<s.length?l():new Uint16Array,p=o<s.length?l():new Uint16Array;if(t||a||i||r){let e=d.length;t&&(e+=E.length),a&&(e+=h.length),i&&(e+=b.length),r&&(e+=p.length),this.render_indices_=new Uint16Array(e),this.render_indices_.set(d,0);let o=d.length;t&&(this.render_indices_.set(E,o),o+=E.length),a&&(this.render_indices_.set(h,o),o+=h.length),i&&(this.render_indices_.set(b,o),o+=b.length),r&&(this.render_indices_.set(p,o),o+=p.length)}else this.render_indices_=d;this.vertices_=new Float32Array(this.render_mean_),this.normals_=new Float32Array(this.vertices_.length),this.modelVersion_++}getVertices(){return this.vertices_}getUVs(){return this.render_uvs_}getIndices(){if(this.mirrored_){if(!this.render_indices_reversed){this.render_indices_reversed=new Uint16Array(this.render_indices_.length);for(let e=0;e<this.render_indices_.length;e+=3)this.render_indices_reversed[e]=this.render_indices_[e+2],this.render_indices_reversed[e+1]=this.render_indices_[e+1],this.render_indices_reversed[e+2]=this.render_indices_[e]}return this.render_indices_reversed}return this.render_indices_}getNormals(){return this.normalsCalculated_||this.calculateNormals(),this.normals_}getModelVersion(){return this.modelVersion_}getLandmarkDataForVertex(e){let t=[this.render_mean_[3*e],this.render_mean_[3*e+1],this.render_mean_[3*e+2]],a=[];for(let t=0;t<50;t++)a.push(this.render_identity_[3*e*50+t]),a.push(this.render_identity_[50*(3*e+1)+t]),a.push(this.render_identity_[50*(3*e+2)+t]);let i=[];for(let t=0;t<29;t++)i.push(this.render_expression_[3*e*29+t]),i.push(this.render_expression_[29*(3*e+1)+t]),i.push(this.render_expression_[29*(3*e+2)+t]);return{mean:t,identity:a,expression:i}}update(e,t,a){if(0!==this.render_mean_.length&&0!==this.render_identity_.length&&0!==this.render_expression_.length){this.mirrored_=a,this.vertices_.set(this.render_mean_);for(let t=0;t<e.length;t++)for(let a=0;a<this.vertices_.length;a++)this.vertices_[a]+=e[t]*this.render_identity_[a*e.length+t];for(let e=0;e<t.length;e++)for(let a=0;a<this.vertices_.length;a++)this.vertices_[a]+=t[e]*this.render_expression_[a*t.length+e];if(a)for(let e=0;e<this.vertices_.length;e+=3)this.vertices_[e]*=-1;this.normalsCalculated_=!1}}calculateNormals(){let e=this.getIndices(),t=this.vertices_,a=new Float32Array(e.length);if(!t)return;let i=e.length,r=this.normals_,o=new Float32Array([0,0,0]),_=new Float32Array([0,0,0]),s=new Float32Array([0,0,0]);for(let r=0;r<i;r+=3){let i=3*e[r],E=3*e[r+1],h=3*e[r+2];o[0]=t[E]-t[i],o[1]=t[E+1]-t[i+1],o[2]=t[E+2]-t[i+2],_[0]=t[h]-t[i],_[1]=t[h+1]-t[i+1],_[2]=t[h+2]-t[i+2],j(s,o,_);let b=(c=void 0,l=void 0,d=void 0,c=(n=s)[0],l=n[1],d=n[2],Math.hypot(c,l,d));a[r]=s[0]/b,a[r+1]=s[1]/b,a[r+2]=s[2]/b}var n,c,l,d;r.fill(0);for(let t=0;t<i;t+=3){let i=3*e[t],o=3*e[t+1],_=3*e[t+2];r[i]+=a[t],r[i+1]+=a[t+1],r[i+2]+=a[t+2],r[o]+=a[t],r[o+1]+=a[t+1],r[o+2]+=a[t+2],r[_]+=a[t],r[_+1]+=a[t+1],r[_+2]+=a[t+2]}let E=r.length/3;for(let e=0;e<E;e++){let t=3*e;o[0]=r[t],o[1]=r[t+1],o[2]=r[t+2],G(_,o),r[t]=_[0],r[t+1]=_[1],r[t+2]=_[2]}this.normalsCalculated_=!0}}let Te=P();class xe{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._vbo=void 0,this._shader&&this._gl.deleteProgram(this._shader.prog),this._shader=void 0}_generate(e,t){if(this._vbo)return this._vbo;if(this._vbo||(this._vbo=e.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");let a=new Float32Array([-1,-1,0,0,0,-1,1,0,0,1,1,-1,0,1,0,1,-1,0,1,0,-1,1,0,0,1,1,1,0,1,1]);return e.bindBuffer(e.ARRAY_BUFFER,this._vbo),e.bufferData(e.ARRAY_BUFFER,new Float32Array(a),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),this._vbo}drawCameraFrame(e,t,a,i){if(!a.texture)return;let r=this._gl;const o=r.isEnabled(r.DEPTH_TEST),_=r.isEnabled(r.SCISSOR_TEST),s=r.isEnabled(r.CULL_FACE),n=r.isEnabled(r.STENCIL_TEST),c=r.isEnabled(r.BLEND),l=r.getParameter(r.TEXTURE_BINDING_2D),d=r.getParameter(r.FRAMEBUFFER_BINDING),E=r.getParameter(r.CURRENT_PROGRAM),h=r.getParameter(r.ACTIVE_TEXTURE);r.disable(r.DEPTH_TEST),r.disable(r.SCISSOR_TEST),r.disable(r.CULL_FACE),r.disable(r.STENCIL_TEST),r.disable(r.BLEND);let b=this._getCameraShader(r),p=this._generate(r,a);r.activeTexture(r.TEXTURE0),r.useProgram(b.prog),r.uniformMatrix4fv(b.unif_skinTexTransform,!1,Ge(a.dataWidth,a.dataHeight,e,t,a.uvTransform||Te,i)),r.uniform1i(b.unif_skinSampler,0),r.bindTexture(r.TEXTURE_2D,a.texture),r.bindBuffer(r.ARRAY_BUFFER,p),r.vertexAttribPointer(b.attr_position,3,r.FLOAT,!1,20,0),r.enableVertexAttribArray(b.attr_position),r.vertexAttribPointer(b.attr_texCoord,2,r.FLOAT,!1,20,12),r.enableVertexAttribArray(b.attr_texCoord),r.drawArrays(r.TRIANGLES,0,6),r.disableVertexAttribArray(b.attr_position),r.disableVertexAttribArray(b.attr_texCoord),r.bindFramebuffer(r.FRAMEBUFFER,d),r.useProgram(E),r.bindTexture(r.TEXTURE_2D,l),r.activeTexture(h),c&&r.enable(r.BLEND),s&&r.enable(r.CULL_FACE),o&&r.enable(r.DEPTH_TEST),_&&r.enable(r.SCISSOR_TEST),n&&r.enable(r.STENCIL_TEST)}_getCameraShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,Me),i=v(e,e.FRAGMENT_SHADER,ke);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"skinTexTransform");if(!r)throw new Error("Unable to get uniform location skinTexTransform");let o=e.getUniformLocation(t,"skinSampler");if(!o)throw new Error("Unable to get uniform location skinSampler");return this._shader={prog:t,unif_skinTexTransform:r,unif_skinSampler:o,attr_position:e.getAttribLocation(t,"position"),attr_texCoord:e.getAttribLocation(t,"texCoord")},this._shader}}let Me="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nattribute vec4 position;\nattribute vec4 texCoord;\nvarying vec4 skinTexVarying;\nuniform mat4 skinTexTransform;\n\nvoid main()\n{\n gl_Position = position;\n skinTexVarying = skinTexTransform * texCoord;\n}",ke="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying vec4 skinTexVarying;\nuniform lowp sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2DProj(skinSampler, skinTexVarying);\n}";function Ge(e,t,a,i,r,o){let _=P(),s=P();T(s,[-.5,-.5,0]),L(_,s,_),o&&(x(s,[-1,1,1]),L(_,s,_)),M(s,-1*function(){if(window.screen.orientation&&!Z.forceWindowOrientation)switch(window.screen.orientation.type){case"portrait-primary":return 270;case"landscape-secondary":return 180;case"portrait-secondary":return 90;default:return 0}else if(void 0!==window.orientation)switch(window.orientation){case 0:return 270;case 90:return 0;case 180:return 90;case-90:return 180}return 0}()*Math.PI/180,[0,0,1]),L(_,s,_);let n=k();n[0]=a,n[1]=i,n[2]=0,K(n,n,s);let c=Math.abs(n[0]),l=Math.abs(n[1]);x(s,[1,-1,1]),L(_,s,_);let d=c/l,E=e/t;return x(s,d>E?[1,E/d,1]:[d/E,1,1]),L(_,s,_),T(s,[.5,.5,0]),L(_,s,_),L(_,r,_),_}class je{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._normalbo&&this._gl.deleteBuffer(this._normalbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._normalbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateNormalBO(e,t){if(this._normalbo||(this._normalbo=t.createBuffer()),!this._normalbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._normalbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._normalbo}drawFace(e,t){let a=this._gl,i=this._getShader(a),r=this._generateVBO(t.getVertices(),a),o=this._generateNormalBO(t.getNormals(),a),_=this._generateIBO(t.getIndices(),a);a.enable(a.DEPTH_TEST),a.enable(a.CULL_FACE),a.useProgram(i.prog),a.uniformMatrix4fv(i.unif_matrix,!1,e),a.bindBuffer(a.ARRAY_BUFFER,r),a.vertexAttribPointer(i.attr_position,3,a.FLOAT,!1,12,0),a.enableVertexAttribArray(i.attr_position),a.bindBuffer(a.ARRAY_BUFFER,o),a.vertexAttribPointer(i.attr_normal,3,a.FLOAT,!1,12,0),a.enableVertexAttribArray(i.attr_normal),a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,_),a.drawElements(a.TRIANGLES,t.getIndices().length,a.UNSIGNED_SHORT,0),a.disableVertexAttribArray(i.attr_position),a.disableVertexAttribArray(i.attr_normal),a.bindBuffer(a.ARRAY_BUFFER,null),a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,Ke),i=v(e,e.FRAGMENT_SHADER,Fe);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"matrix");if(!r)throw new Error("Unable to get uniform location mattrix");return this._shader={prog:t,unif_matrix:r,attr_position:e.getAttribLocation(t,"position"),attr_normal:e.getAttribLocation(t,"normal")},this._shader}}let Ke="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nattribute vec4 position;\nattribute vec3 normal;\nvarying highp vec3 vnormal;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vnormal = normal;\n}",Fe="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying vec4 skinTexVarying;\nvarying highp vec3 vnormal;\nuniform lowp sampler2D skinSampler;\n\nvoid main()\n{\n vec3 normal2 = 0.5 * vnormal + 0.5;\n gl_FragColor = vec4(normal2.x , normal2.y, normal2.z, 1.0);\n}";class Ce{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._uvbo&&this._gl.deleteBuffer(this._uvbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._uvbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateUVBO(e,t){if(this._uvbo||(this._uvbo=t.createBuffer()),!this._uvbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._uvbo),t.bufferData(t.ARRAY_BUFFER,e,t.STREAM_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._uvbo}drawFace(e,t,a,i,r,o){let _=this._gl,s=this._getShader(_),n=this._generateVBO(t,_),c=this._generateUVBO(i,_),l=this._generateIBO(r,_);_.enable(_.DEPTH_TEST),_.enable(_.CULL_FACE),_.useProgram(s.prog),_.uniformMatrix4fv(s.unif_matrix,!1,e),_.uniformMatrix4fv(s.unif_uvmatrix,!1,a),_.activeTexture(_.TEXTURE0),_.bindTexture(_.TEXTURE_2D,o),_.uniform1i(s.unif_sampler,0),_.bindBuffer(_.ARRAY_BUFFER,n),_.vertexAttribPointer(s.attr_position,3,_.FLOAT,!1,12,0),_.enableVertexAttribArray(s.attr_position),_.bindBuffer(_.ARRAY_BUFFER,c),_.vertexAttribPointer(s.attr_uv,3,_.FLOAT,!1,12,0),_.enableVertexAttribArray(s.attr_uv),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,l),_.drawElements(_.TRIANGLES,6912,_.UNSIGNED_SHORT,0),_.disableVertexAttribArray(s.attr_position),_.disableVertexAttribArray(s.attr_uv),_.bindBuffer(_.ARRAY_BUFFER,null),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,Ze),i=v(e,e.FRAGMENT_SHADER,Be);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"matrix");if(!r)throw new Error("Unable to get uniform location matrix");let o=e.getUniformLocation(t,"uvmatrix");if(!o)throw new Error("Unable to get uniform location matrix");let _=e.getUniformLocation(t,"uSampler");if(!_)throw new Error("Unable to get uniform location sampler");return this._shader={prog:t,unif_matrix:r,unif_sampler:_,unif_uvmatrix:o,attr_position:e.getAttribLocation(t,"position"),attr_uv:e.getAttribLocation(t,"uv"),attr_texturecoord:e.getAttribLocation(t,"aTextureCoord")},this._shader}}let Ze="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nuniform mat4 uvmatrix;\nattribute vec4 position;\nattribute vec3 normal;\nattribute vec3 uv;\n\n// varying highp vec3 vnormal;\n\nvarying highp vec2 vTextureCoord;\nvarying highp float vAlpha;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vec4 ret = uvmatrix * vec4(uv.x, uv.y, uv.z, 1.0);\n ret.x /= ret.w * 2.0;\n ret.y /= ret.w * 2.0;\n ret.x += 0.5;\n ret.y += 0.0;\n vAlpha = 1.0;\n vTextureCoord = ret.xy;\n}",Be="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nvarying highp vec3 vnormal;\nvarying highp float vAlpha;\nuniform lowp sampler2D uSampler;\n\nvoid main()\n{\n // vec3 normal2 = 0.5 * vnormal + 0.5;\n vec4 p = texture2D(uSampler, vTextureCoord);\n p.a = vAlpha;\n gl_FragColor = p; // vec4(normal2.x , normal2.y, normal2.z, 1.0);\n}";var De;!function(e){e[e.CAMERA_FRAME=0]="CAMERA_FRAME",e[e.ACCELEROMETER=1]="ACCELEROMETER",e[e.ROTATION_RATE=2]="ROTATION_RATE",e[e.ATTITUDE=3]="ATTITUDE",e[e.ATTITUDE_MATRIX=4]="ATTITUDE_MATRIX",e[e.ACCELEROMETER_WO_GRAVITY_INT=5]="ACCELEROMETER_WO_GRAVITY_INT",e[e.ACCELEROMETER_W_GRAVITY_INT=6]="ACCELEROMETER_W_GRAVITY_INT",e[e.ROTATION_RATE_INT=7]="ROTATION_RATE_INT",e[e.ATTITUDE_INT=8]="ATTITUDE_INT"}(De||(De={}));class Ue{constructor(e){this._insertionByte=0,this._numberPackets=0,this._started=!1,this._hasLoggedUnsuppored=!1,this._data=new ArrayBuffer(this._estimatedSize(e,320,240)),this._dataView=new DataView(this._data),this._dataUint8=new Uint8Array(this._data),this._dataFloat32=new Float32Array(this._data)}_estimatedSize(e,t,a){return Ue.headerSizeBytes+(Ue.psbPacketType+Ue.cameraPacketSizeBytes+t*a)*e}start(){this._started=!0,this._insertionByte=0,this._numberPackets=0,this._growArrayBuffer(Ue.headerSizeBytes);let e=(new TextEncoder).encode("UAR1");this._dataUint8.set(e),this._dataView.setUint32(4,0,!0),this._insertionByte+=8}stop(){this._started=!1;let e=this._data.slice(0,this._insertionByte);this._data=e,this._dataUint8=new Uint8Array(this._data),this._dataFloat32=new Float32Array(this._data),this._dataView=new DataView(this._data)}data(){return this._dataUint8}appendCameraFrame(e){if(!this._started)return;if(!e.data){if(this._hasLoggedUnsuppored)return;return this._hasLoggedUnsuppored=!0,void Ie("Unable to record frames from this camera source")}if(e.data.byteLength!==e.dataWidth*e.dataHeight)return void Ie("Unable to record frame to sequence: greyscale array doesn't match dimensions");let t=Ue.psbPacketType+Ue.cameraPacketSizeBytes+e.dataWidth*e.dataHeight;this._growArrayBuffer(t),this._dataView.setUint32(this._insertionByte,De.CAMERA_FRAME,!0),this._insertionByte+=Ue.psbPacketType,this._dataView.setUint32(this._insertionByte,e.dataWidth,!0),this._insertionByte+=Ue.psbCameraFrameWidth,this._dataView.setUint32(this._insertionByte,e.dataHeight,!0),this._insertionByte+=Ue.psbCameraFrameHeight,this._dataFloat32.set(e.cameraToDevice,this._insertionByte/4),this._insertionByte+=Ue.psbCameraToDeviceTransform,this._dataFloat32.set(e.cameraModel,this._insertionByte/4),this._insertionByte+=Ue.psbCameraModel,this._dataView.setUint32(this._insertionByte,e.userFacing?1:0,!0),this._insertionByte+=Ue.psbFlags,this._dataUint8.set(new Uint8Array(e.data),this._insertionByte),this._insertionByte+=e.data.byteLength,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}appendAccelerometer(e,t,a,i){this._appendTimestampedVec3(De.ACCELEROMETER,e,t,a,i)}appendRotationRate(e,t,a,i){this._appendTimestampedVec3(De.ROTATION_RATE,e,t,a,i)}appendAttitude(e,t,a,i){this._appendTimestampedVec3(De.ATTITUDE,e,t,a,i)}appendAccelerometerWithoutGravityInt(e,t,a,i,r){this._appendSensorWithInterval(De.ACCELEROMETER_WO_GRAVITY_INT,e,t,a,i,r)}appendAccelerometerWithGravityInt(e,t,a,i,r){this._appendSensorWithInterval(De.ACCELEROMETER_W_GRAVITY_INT,e,t,a,i,r)}appendRotationRateInt(e,t,a,i,r){this._appendSensorWithInterval(De.ROTATION_RATE_INT,e,t,a,i,r)}appendAttitudeInt(e,t,a,i,r){this._appendSensorWithInterval(De.ATTITUDE_INT,e,t,a,i,r)}_appendSensorWithInterval(e,t,a,i,r,o){if(!this._started)return;let _=Ue.psbPacketType+Ue.sensorWithIntervalPacketSizeBytes;this._growArrayBuffer(_),this._dataView.setUint32(this._insertionByte,e,!0),this._insertionByte+=Ue.psbPacketType,this._dataView.setUint32(this._insertionByte,t,!0),this._insertionByte+=4,this._dataView.setUint32(this._insertionByte,a,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,i,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,r,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,o,!0),this._insertionByte+=4,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}_appendTimestampedVec3(e,t,a,i,r){if(!this._started)return;let o=Ue.psbPacketType+Ue.accelerometerPacketSizeBytes;this._growArrayBuffer(o),this._dataView.setUint32(this._insertionByte,e,!0),this._insertionByte+=Ue.psbPacketType,this._dataView.setUint32(this._insertionByte,t,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,a,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,i,!0),this._insertionByte+=4,this._dataView.setFloat32(this._insertionByte,r,!0),this._insertionByte+=4,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}appendAttitudeMatrix(e){if(!this._started)return;let t=Ue.psbPacketType+Ue.attitudeMatrixPacketSizeBytes;this._growArrayBuffer(t),this._dataView.setUint32(this._insertionByte,De.ATTITUDE_MATRIX,!0),this._insertionByte+=Ue.psbPacketType,this._dataFloat32.set(e,this._insertionByte/4),this._insertionByte+=Ue.attitudeMatrixPacketSizeBytes,this._numberPackets++,this._dataView.setUint32(4,this._numberPackets,!0)}_growArrayBuffer(e){for(;this._insertionByte+e>this._data.byteLength;){let e=Math.max(2*this._data.byteLength,this._estimatedSize(50,320,240)),t=new ArrayBuffer(e),a=new Uint8Array(t);a.set(this._dataUint8),this._data=t,this._dataUint8=a,this._dataFloat32=new Float32Array(this._data),this._dataView=new DataView(this._data)}}}Ue.headerSizeBytes=8,Ue.psbPacketType=4,Ue.psbCameraFrameWidth=4,Ue.psbCameraFrameHeight=4,Ue.psbFlags=4,Ue.psbCameraToDeviceTransform=64,Ue.psbCameraModel=24,Ue.cameraPacketSizeBytes=Ue.psbCameraFrameWidth+Ue.psbCameraFrameHeight+Ue.psbCameraToDeviceTransform+Ue.psbCameraModel+Ue.psbFlags,Ue.accelerometerPacketSizeBytes=16,Ue.sensorWithIntervalPacketSizeBytes=20,Ue.rotationRatePacketSizeBytes=16,Ue.attitudePacketSizeBytes=16,Ue.attitudeMatrixPacketSizeBytes=64;class Oe{constructor(e){this._data=e,this.dataByPacket=new Map,this.dataByCameraFrame=new Map,this.numberPackets=0,this.numberCameraFrames=0,this.numberAccelerometerPackets=0,this.numberRotationRatePackets=0,this.numberAttitudePackets=0,this.numberAttitudeMatrixPackets=0;let t=new TextDecoder,a="";try{a=t.decode(this._data.slice(0,4))}catch(e){throw new Error("Unable to decode header - perhaps this isn't a sequence file?")}if("UAR1"!==a)throw new Error(`Invalid - perhaps this isn't a sequence file: ${a}`);let i=0,r=new DataView(this._data);this.numberPackets=r.getUint32(4,!0),i+=Ue.headerSizeBytes;for(let e=0;e<this.numberPackets;e++){let t=r.getUint32(i,!0);switch(i+=Ue.psbPacketType,t){case De.CAMERA_FRAME:{let t=r.getUint32(i,!0);i+=Ue.psbCameraFrameWidth;let a=r.getUint32(i,!0);i+=Ue.psbCameraFrameHeight;let o=new Float32Array(this._data,i,Ue.psbCameraToDeviceTransform/4);i+=Ue.psbCameraToDeviceTransform;let _=new Float32Array(this._data,i,Ue.psbCameraModel/4);i+=Ue.psbCameraModel;let s=r.getUint32(i,!0);i+=Ue.psbFlags;let n=1===s,c=new Uint8Array(this._data,i,t*a);i+=t*a;let l={type:De.CAMERA_FRAME,width:t,height:a,cameraToDevice:o,cameraModel:_,userFacing:n,greyscale:c};this.dataByPacket.set(e,l),this.dataByCameraFrame.set(this.numberCameraFrames,l),this.numberCameraFrames++;break}case De.ACCELEROMETER:{let t=r.getUint32(i,!0);i+=4;let a=r.getFloat32(i,!0);i+=4;let o=r.getFloat32(i,!0);i+=4;let _=r.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:De.ACCELEROMETER,t,x:a,y:o,z:_}),this.numberAccelerometerPackets++;break}case De.ROTATION_RATE:{let t=r.getUint32(i,!0);i+=4;let a=r.getFloat32(i,!0);i+=4;let o=r.getFloat32(i,!0);i+=4;let _=r.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:De.ROTATION_RATE,t,x:a,y:o,z:_}),this.numberRotationRatePackets++;break}case De.ATTITUDE:{let t=r.getUint32(i,!0);i+=4;let a=r.getFloat32(i,!0);i+=4;let o=r.getFloat32(i,!0);i+=4;let _=r.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:De.ATTITUDE,t,x:a,y:o,z:_}),this.numberAttitudePackets++;break}case De.ATTITUDE_MATRIX:{let t=new Float32Array(this._data,i,Ue.attitudeMatrixPacketSizeBytes/4);i+=Ue.attitudeMatrixPacketSizeBytes,this.dataByPacket.set(e,{type:De.ATTITUDE_MATRIX,attitude:t}),this.numberAttitudeMatrixPackets++;break}case De.ACCELEROMETER_WO_GRAVITY_INT:case De.ACCELEROMETER_W_GRAVITY_INT:case De.ATTITUDE_INT:case De.ROTATION_RATE_INT:{let a=r.getUint32(i,!0);i+=4;let o=r.getUint32(i,!0);i+=4;let _=r.getFloat32(i,!0);i+=4;let s=r.getFloat32(i,!0);i+=4;let n=r.getFloat32(i,!0);i+=4,this.dataByPacket.set(e,{type:t,t:a,int:o,x:_,y:s,z:n}),this.numberAccelerometerPackets++;break}}}}}class Ve{}const qe=new Map;class He{constructor(e){this._gl=e,this._viewports=[],this._underlyingViewport=this._gl.viewport,this._viewports.push(this._gl.getParameter(this._gl.VIEWPORT)),this._gl.viewport=(e,t,a,i)=>{this._viewports[this._viewports.length-1]=[e,t,a,i],this._underlyingViewport.call(this._gl,e,t,a,i)}}static get(e){let t=qe.get(e);return t||(t=new He(e),qe.set(e,t)),t}push(){this._viewports.push(this._viewports[this._viewports.length-1])}pop(){const e=this._viewports.pop(),t=this._viewports[this._viewports.length-1];e&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]||this._underlyingViewport.call(this._gl,t[0],t[1],t[2],t[3])}}class We{constructor(e){this._gl=e,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._computedTransformRotation=-1,this._computedFrontCameraRotation=!1,this._cameraUvTransform=P(),this._framebufferWidth=0,this._framebufferHeight=0,this._framebufferId=null,this._renderTexture=null,this._isWebGL2=!1,this._isWebGL2=e.getParameter(e.VERSION).indexOf("WebGL 2")>=0,this._isWebGL2||(this._instancedArraysExtension=this._gl.getExtension("ANGLE_instanced_arrays"))}resetGLContext(){this._framebufferId=null,this._renderTexture=null,this._vertexBuffer=void 0,this._indexBuffer=void 0,this._greyscaleShader=void 0}destroy(){this.resetGLContext()}uploadFrame(e,t,a,i,r){let o=this._gl;const _=He.get(o);_.push();const s=o.isEnabled(o.SCISSOR_TEST),n=o.isEnabled(o.DEPTH_TEST),c=o.isEnabled(o.BLEND),l=o.isEnabled(o.CULL_FACE),d=o.isEnabled(o.STENCIL_TEST),E=o.getParameter(o.ACTIVE_TEXTURE),h=o.getParameter(o.UNPACK_FLIP_Y_WEBGL),b=o.getParameter(o.CURRENT_PROGRAM);o.activeTexture(o.TEXTURE0);const p=o.getParameter(o.TEXTURE_BINDING_2D),v=o.getParameter(o.FRAMEBUFFER_BINDING),u=o.getParameter(o.ARRAY_BUFFER_BINDING),m=o.getParameter(o.ELEMENT_ARRAY_BUFFER_BINDING);o.disable(o.SCISSOR_TEST),o.disable(o.DEPTH_TEST),o.disable(o.BLEND),o.disable(o.CULL_FACE),o.disable(o.STENCIL_TEST),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1),o.bindTexture(o.TEXTURE_2D,e);const f=o.RGBA,g=o.RGBA,N=o.UNSIGNED_BYTE;o.texImage2D(o.TEXTURE_2D,0,f,g,N,t);let y=0,S=0;"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement?(y=t.videoWidth,S=t.videoHeight):(y=t.width,S=t.height),S>y&&(S=[y,y=S][0]),this._updateTransforms(a,i);const[w,I]=Z.getDataSize(r);let R=this._getFramebuffer(o,w/4,I),A=this._getVertexBuffer(o),P=this._getIndexBuffer(o),z=this._getGreyscaleShader(o);const L=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_SIZE),T=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_TYPE),x=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_NORMALIZED),M=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_STRIDE),k=o.getVertexAttribOffset(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_POINTER),G=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_ENABLED),j=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),K=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_SIZE),F=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_TYPE),C=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_NORMALIZED),B=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_STRIDE),D=o.getVertexAttribOffset(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_POINTER),U=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),O=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_ENABLED);let V=0,q=0;this._isWebGL2?(V=o.getVertexAttrib(z.aVertexPositionLoc,o.VERTEX_ATTRIB_ARRAY_DIVISOR),q=o.getVertexAttrib(z.aTextureCoordLoc,o.VERTEX_ATTRIB_ARRAY_DIVISOR),o.vertexAttribDivisor(z.aVertexPositionLoc,0),o.vertexAttribDivisor(z.aTextureCoordLoc,0)):this._instancedArraysExtension&&(V=o.getVertexAttrib(z.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),q=o.getVertexAttrib(z.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(z.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(z.aTextureCoordLoc,0)),o.bindFramebuffer(o.FRAMEBUFFER,R),o.viewport(0,0,this._framebufferWidth,this._framebufferHeight),o.clear(o.COLOR_BUFFER_BIT),o.bindBuffer(o.ARRAY_BUFFER,A),o.vertexAttribPointer(z.aVertexPositionLoc,2,o.FLOAT,!1,16,0),o.enableVertexAttribArray(z.aVertexPositionLoc),o.vertexAttribPointer(z.aTextureCoordLoc,2,o.FLOAT,!1,16,8),o.enableVertexAttribArray(z.aTextureCoordLoc),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,P),o.useProgram(z.program),o.uniform1f(z.uTexWidthLoc,w),o.uniformMatrix4fv(z.uUvTransformLoc,!1,this._cameraUvTransform),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,e),o.uniform1i(z.uSamplerLoc,0),o.drawElements(o.TRIANGLES,6,o.UNSIGNED_SHORT,0),o.bindBuffer(o.ARRAY_BUFFER,j),o.vertexAttribPointer(z.aVertexPositionLoc,L,T,x,M,k),o.bindBuffer(o.ARRAY_BUFFER,U),o.vertexAttribPointer(z.aTextureCoordLoc,K,F,C,B,D),o.bindBuffer(o.ARRAY_BUFFER,u),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,m),G||o.disableVertexAttribArray(z.aVertexPositionLoc),O||o.disableVertexAttribArray(z.aTextureCoordLoc),this._isWebGL2?(o.vertexAttribDivisor(z.aVertexPositionLoc,V),o.vertexAttribDivisor(z.aTextureCoordLoc,q)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(z.aVertexPositionLoc,V),this._instancedArraysExtension.vertexAttribDivisorANGLE(z.aTextureCoordLoc,q)),o.bindFramebuffer(o.FRAMEBUFFER,v),o.useProgram(b),o.bindTexture(o.TEXTURE_2D,p),o.activeTexture(E),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,h),_.pop(),c&&o.enable(o.BLEND),l&&o.enable(o.CULL_FACE),n&&o.enable(o.DEPTH_TEST),s&&o.enable(o.SCISSOR_TEST),d&&o.enable(o.STENCIL_TEST)}readFrame(e,t,a){let i=this._gl,r=new Uint8Array(t);const o=i.getParameter(i.FRAMEBUFFER_BINDING),[_,s]=Z.getDataSize(a);let n=this._getFramebuffer(i,_/4,s);return i.bindFramebuffer(i.FRAMEBUFFER,n),i.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,i.RGBA,i.UNSIGNED_BYTE,r),i.bindFramebuffer(i.FRAMEBUFFER,o),{uvTransform:this._cameraUvTransform,data:t,texture:e,dataWidth:_,dataHeight:s,userFacing:this._computedFrontCameraRotation}}_updateTransforms(e,t){e==this._computedTransformRotation&&t==this._computedFrontCameraRotation||(this._computedTransformRotation=e,this._computedFrontCameraRotation=t,this._cameraUvTransform=this._getCameraUvTransform())}_getCameraUvTransform(){switch(this._computedTransformRotation){case 270:return new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]);case 180:return new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);case 90:return new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1])}return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}_getFramebuffer(e,t,a){if(this._framebufferWidth===t&&this._framebufferHeight===a&&this._framebufferId)return this._framebufferId;if(this._framebufferId&&(e.deleteFramebuffer(this._framebufferId),this._framebufferId=null),this._renderTexture&&(e.deleteTexture(this._renderTexture),this._renderTexture=null),this._framebufferId=e.createFramebuffer(),!this._framebufferId)throw new Error("Unable to create framebuffer");if(e.bindFramebuffer(e.FRAMEBUFFER,this._framebufferId),this._renderTexture=e.createTexture(),!this._renderTexture)throw new Error("Unable to create render texture");e.activeTexture(e.TEXTURE0);const i=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,t,a,0,e.RGBA,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameterf(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this._renderTexture,0);let r=e.checkFramebufferStatus(e.FRAMEBUFFER);if(r!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+r.toString());return this._framebufferWidth=t,this._framebufferHeight=a,e.bindTexture(e.TEXTURE_2D,i),e.bindFramebuffer(e.FRAMEBUFFER,null),this._framebufferId}_getVertexBuffer(e){if(this._vertexBuffer)return this._vertexBuffer;if(this._vertexBuffer=e.createBuffer(),!this._vertexBuffer)throw new Error("Unable to create vertex buffer");e.bindBuffer(e.ARRAY_BUFFER,this._vertexBuffer);let t=new Float32Array([-1,-1,0,0,-1,1,0,1,1,1,1,1,1,-1,1,0]);return e.bufferData(e.ARRAY_BUFFER,t,e.STATIC_DRAW),this._vertexBuffer}_getIndexBuffer(e){if(this._indexBuffer)return this._indexBuffer;if(this._indexBuffer=e.createBuffer(),!this._indexBuffer)throw new Error("Unable to create index buffer");e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this._indexBuffer);let t=new Uint16Array([0,1,2,0,2,3]);return e.bufferData(e.ELEMENT_ARRAY_BUFFER,t,e.STATIC_DRAW),this._indexBuffer}_getGreyscaleShader(e){if(this._greyscaleShader)return this._greyscaleShader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,Ye),i=v(e,e.FRAGMENT_SHADER,Xe);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"uTexWidth");if(!r)throw new Error("Unable to get uniform location uTexWidth");let o=e.getUniformLocation(t,"uUvTransform");if(!o)throw new Error("Unable to get uniform location uUvTransform");let _=e.getUniformLocation(t,"uSampler");if(!_)throw new Error("Unable to get uniform location uSampler");return this._greyscaleShader={program:t,aVertexPositionLoc:e.getAttribLocation(t,"aVertexPosition"),aTextureCoordLoc:e.getAttribLocation(t,"aTextureCoord"),uTexWidthLoc:r,uUvTransformLoc:o,uSamplerLoc:_},this._greyscaleShader}}let Ye="\n attribute vec4 aVertexPosition;\n attribute vec2 aTextureCoord;\n\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform float uTexWidth;\n\tuniform mat4 uUvTransform;\n\n void main(void) {\n highp vec2 offset1 = vec2(1.5 / uTexWidth, 0);\n highp vec2 offset2 = vec2(0.5 / uTexWidth, 0);\n\n gl_Position = aVertexPosition;\n vTextureCoord1 = (uUvTransform * vec4(aTextureCoord - offset1, 0, 1)).xy;\n vTextureCoord2 = (uUvTransform * vec4(aTextureCoord - offset2, 0, 1)).xy;\n vTextureCoord3 = (uUvTransform * vec4(aTextureCoord + offset2, 0, 1)).xy;\n vTextureCoord4 = (uUvTransform * vec4(aTextureCoord + offset1, 0, 1)).xy;\n }\n",Xe="\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform sampler2D uSampler;\n\n const lowp vec3 colorWeights = vec3(77.0 / 256.0, 150.0 / 256.0, 29.0 / 256.0);\n\n void main(void) {\n lowp vec4 outpx;\n\n outpx.r = dot(colorWeights, texture2D(uSampler, vTextureCoord1).xyz);\n outpx.g = dot(colorWeights, texture2D(uSampler, vTextureCoord2).xyz);\n outpx.b = dot(colorWeights, texture2D(uSampler, vTextureCoord3).xyz);\n outpx.a = dot(colorWeights, texture2D(uSampler, vTextureCoord4).xyz);\n\n gl_FragColor = outpx;\n }\n",Je=1,$e=new Map;class Qe extends Ve{constructor(e,t){super(),this._video=e,this._pipeline=t,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._cameraToDeviceTransform=P(),this._cameraToDeviceTransformUserFacing=P(),this._cameraModel=new Float32Array([300,300,160,120,0,0]),this._profile=E.DEFAULT,this._waitingForFrame=!1,this._lastPresentedFrames=-1,x(this._cameraToDeviceTransformUserFacing,[-1,1,-1]);let a=this._video;this._video instanceof HTMLVideoElement?a.addEventListener("loadedmetadata",(()=>{this._hadFrames=!0})):this._hadFrames=!0,this._resetGLContext=this._resetGLContext.bind(this);let i=mt.get(this._pipeline);i&&i.onGLContextReset.bind(this._resetGLContext)}static createVideoElementSource(e,t){let a=Je++;return $e.set(a,new Qe(t,e)),we("html_element_source_t initialized"),a}static getVideoElementSource(e){return $e.get(e)}_resetGLContext(){var e,t;this._currentVideoTexture=void 0,null===(t=null===(e=this._imageProcessor)||void 0===e?void 0:e.resetGLContext)||void 0===t||t.call(e)}destroy(){let e=mt.get(this._pipeline);e&&e.onGLContextReset.unbind(this._resetGLContext),this.pause(),this._resetGLContext()}pause(){this._isPaused=!0;let e=mt.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0)}start(){var e;this._isPaused&&(this._isUploadFrame=!0,this._video instanceof HTMLVideoElement&&(this._hadFrames=!1)),this._isPaused=!1;let t=mt.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this)}getFrame(e){var t;let a=mt.get(this._pipeline);if(!a)return;let i=a.glContext;if(i&&!this._isPaused&&this._hadFrames)try{let r=this._processFrame(i,this._cameraToScreenRotation,e);if(r){let e=a.registerToken(r);a.sendDataToWorker(r.data||new ArrayBuffer(0),e,r.dataWidth,r.dataHeight,r.userFacing,r.cameraToDevice,r.cameraModel,null!==(t=this._frameTime)&&void 0!==t?t:performance.now()),r.data=void 0}}catch(e){console.log("Unable to process frame")}}_requestVideoFrameCallback(){const e=this._video;(null==e?void 0:e.requestVideoFrameCallback)&&(e.requestVideoFrameCallback(((e,t)=>{var a;if("object"==typeof t&&(this._frameTime=(null!==(a=t.captureTime)&&void 0!==a?a:-1)/1e3),"object"==typeof t&&"number"==typeof t.presentedFrames){if(this._lastPresentedFrames===t.presentedFrames)return console.log("Avoided identical frame"),void this._requestVideoFrameCallback();this._lastPresentedFrames=t.presentedFrames}this._waitingForFrame=!1})),this._waitingForFrame=!0)}_processFrame(e,t,a){let i=mt.get(this._pipeline);if(!i)return;if(this._imageProcessor||(this._imageProcessor=new We(e)),this._isUploadFrame){if(this._waitingForFrame)return;if(this._currentVideoTexture||(this._currentVideoTexture=i.getVideoTexture()),!this._currentVideoTexture)return;return this._imageProcessor.uploadFrame(this._currentVideoTexture,this._video,t,this._isUserFacing,this._profile),this._requestVideoFrameCallback(),void(this._isUploadFrame=!this._isUploadFrame)}if(a||!this._currentVideoTexture)return;this._isUploadFrame=!this._isUploadFrame;const[r,o]=Z.getDataSize(this._profile);let _=r*o,s=i.cameraPixelArrays.pop();for(;s&&s.byteLength!==_;)s=i.cameraPixelArrays.pop();s||(s=new ArrayBuffer(_));let n=this._currentVideoTexture;this._currentVideoTexture=void 0;let c=240*r/320;return this._cameraModel[0]=c,this._cameraModel[1]=c,this._cameraModel[2]=.5*r,this._cameraModel[3]=.5*o,Object.assign(Object.assign({},this._imageProcessor.readFrame(n,s,this._profile)),{cameraModel:this._cameraModel,cameraSource:this,cameraToDevice:this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform})}uploadGL(){}setProfile(e){this._profile=e}}var et=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};let tt=document.createElement("video");tt.setAttribute("playsinline",""),tt.setAttribute("webkit-playsinline",""),Z.videoElementInDOM&&(tt.style.width="0px",tt.style.height="0px",document.body.appendChild(tt));class at extends Qe{constructor(e,t,a){super(tt,t),this._impl=e,this._deviceId=a,this._currentStream=null,this._activeDeviceId=null,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();const i=e.interval*Z.intervalMultiplier;Z.trustSensorIntervals&&(-1===this._lastTimestamp?this._lastTimestamp=a:(this._lastTimestamp+=i,a=this._lastTimestamp)),null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(a,i,e.acceleration.x*Z.deviceMotionMutliplier,e.acceleration.y*Z.deviceMotionMutliplier,e.acceleration.z*Z.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(a,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(a,i,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(a,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(a,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()}}destroy(){dt(this._impl),super.destroy()}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){super.pause(),this._stopDeviceMotion(),this._syncCamera()}start(){super.start(),this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return et(this,void 0,void 0,(function*(){let e,t;if(this._deviceId!==at.DEFAULT_DEVICE_ID&&this._deviceId!==at.USER_DEFAULT_DEVICE_ID)e=this._deviceId;else if(t=this._deviceId===at.DEFAULT_DEVICE_ID?"environment":"user",Z.ios164CameraSelection){if(!this._explicitEnvironmentCameraId||!this._explicitUserCameraId){(yield navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:t}})).getTracks().forEach((e=>e.stop()));let e=yield navigator.mediaDevices.enumerateDevices();e=e.filter((e=>"videoinput"===e.kind)),e.length>=2&&(this._explicitUserCameraId=e[0].deviceId,this._explicitEnvironmentCameraId=e[1].deviceId)}e="environment"===t?this._explicitEnvironmentCameraId:this._explicitUserCameraId}let a={audio:!1,video:{facingMode:t,width:Z.videoWidth,height:Z.videoHeight,frameRate:Z.requestHighFrameRate?60:void 0,deviceId:e}};if(e||Z.relyOnConstraintsForCameraSelection)return a;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return a;let i=yield navigator.mediaDevices.enumerateDevices(),r=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){r=!0;let a=e.getCapabilities();if(a&&a.facingMode&&a.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),r&&0!==i.length?("object"==typeof a.video&&(we("choosing device ID",i[i.length-1].deviceId),a.video.deviceId=i[i.length-1].deviceId),a):a}))}getFrame(e){this._cameraToScreenRotation=q(!1),super.getFrame(e)}_getUserMedia(){return et(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,a)=>{navigator.getUserMedia(e,t,a)}))}))}_syncCamera(){return et(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();e.length>0&&(this._isUserFacing="user"===e[0].getSettings().facingMode)}if(!(this._video instanceof HTMLVideoElement))return;this._video.src="",this._video.loop=!1,this._video.muted=!0,this._video.srcObject=this._currentStream,this._video.play()}}))}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,this._deviceOrientationListener=e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(a,0,e.alpha,e.beta,e.gamma)},window.addEventListener("deviceorientation",this._deviceOrientationListener))}_startDeviceMotion(){window.addEventListener("devicemotion",this._deviceMotionListener,!1),this._startDeviceOrientation()}_stopDeviceMotion(){window.removeEventListener("devicemotion",this._deviceMotionListener),this._deviceOrientationListener&&window.removeEventListener("deviceorientation",this._deviceOrientationListener)}}at.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",at.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";var it=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};class rt extends Ve{constructor(e,t,a){super(),this._impl=e,this._pipeline=t,this._deviceId=a,this._currentStream=null,this._activeDeviceId=null,this._isPaused=!0,this._isUserFacing=!1,this._hadFrames=!1,this._canvas=new OffscreenCanvas(640,480),this._context=this._canvas.getContext("2d"),this._lastFrameTime=-1,this._video=document.createElement("video"),this._cameraToDeviceTransform=P(),this._cameraToDeviceTransformUserFacing=P(),this._cameraModel=new Float32Array([300,300,160,120,0,0]),this._profile=E.DEFAULT,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now(),i=e.interval;this._lastTimestamp>-1&&!Z.trustSensorIntervals&&(i=Math.max(a-this._lastTimestamp,i)),this._lastTimestamp=a,i*=Z.intervalMultiplier,null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(a,i,e.acceleration.x*Z.deviceMotionMutliplier,e.acceleration.y*Z.deviceMotionMutliplier,e.acceleration.z*Z.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(a,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(a,i,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(a,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(a,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()},we("Using ImageBitmap camera source"),x(this._cameraToDeviceTransformUserFacing,[-1,1,-1]),this._video.muted=!0,this._video.setAttribute("playsinline",""),this._video.setAttribute("webkit-playsinline",""),Z.videoElementInDOM&&(this._video.style.width="0px",this._video.style.height="0px",document.body.appendChild(this._video)),this._video.addEventListener("loadedmetadata",(()=>{this._hadFrames=!0}))}destroy(){this.pause(),dt(this._impl)}setProfile(e){this._profile=e}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){this._isPaused=!0;let e=mt.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0),this._stopDeviceMotion(),this._syncCamera()}start(){var e;let t=mt.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this),this._isPaused=!1,this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return it(this,void 0,void 0,(function*(){let e,t;this._deviceId!==rt.DEFAULT_DEVICE_ID&&this._deviceId!==rt.USER_DEFAULT_DEVICE_ID?e=this._deviceId:t=this._deviceId===rt.DEFAULT_DEVICE_ID?"environment":"user";let a={audio:!1,video:{facingMode:t,width:Z.videoWidth,height:Z.videoHeight,frameRate:Z.requestHighFrameRate?60:void 0,deviceId:e}};if(e)return a;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return a;let i=yield navigator.mediaDevices.enumerateDevices(),r=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){r=!0;let a=e.getCapabilities();if(a&&a.facingMode&&a.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),r&&0!==i.length?("object"==typeof a.video&&(we("choosing device ID",i[i.length-1].deviceId),a.video.deviceId=i[i.length-1].deviceId),a):a}))}getFrame(e){var t,a;if(!this._context)return;if(!this._hadFrames)return;if(e)return;let i=performance.now();if(i<this._lastFrameTime+25)return;this._lastFrameTime=i,this._canvas.width!==this._video.videoWidth&&(this._canvas.width=this._video.videoWidth),this._canvas.height!==this._video.videoHeight&&(this._canvas.height=this._video.videoHeight),this._context.drawImage(this._video,0,0);const r=this._canvas.transferToImageBitmap();let o=q(!1),_=mt.get(this._pipeline);if(!_)return;const[s,n]=Z.getDataSize(this._profile);let c=300*s/320;this._cameraModel[0]=c,this._cameraModel[1]=c,this._cameraModel[2]=.5*s,this._cameraModel[3]=.5*n;let l=_.registerToken({dataWidth:this._canvas.width,dataHeight:this._canvas.height,texture:void 0,userFacing:this._isUserFacing,cameraSource:this,cameraModel:this._cameraModel.slice(),cameraToDevice:this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform});null===(a=null===(t=mt.get(this._pipeline))||void 0===t?void 0:t.sendImageBitmapToWorker)||void 0===a||a.call(t,r,o,this._isUserFacing,l,this._cameraModel,this._isUserFacing?this._cameraToDeviceTransformUserFacing:this._cameraToDeviceTransform,this._profile)}_getUserMedia(){return it(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,a)=>{navigator.getUserMedia(e,t,a)}))}))}_syncCamera(){return it(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();e.length>0&&(this._isUserFacing="user"===e[0].getSettings().facingMode)}this._video.src="",this._video.loop=!1,this._video.muted=!0,this._video.srcObject=this._currentStream,this._video.play()}}))}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,window.addEventListener("deviceorientation",(e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(a,0,e.alpha,e.beta,e.gamma)})))}_startDeviceMotion(){window.addEventListener("devicemotion",this._deviceMotionListener,!1)}_stopDeviceMotion(){window.removeEventListener("devicemotion",this._deviceMotionListener)}uploadGL(e){const t=mt.get(this._pipeline),a=null==t?void 0:t.glContext;if(!e||e.texture||!e.frame||!t||!a)return;let i=t.getVideoTexture();i&&(a.bindTexture(a.TEXTURE_2D,i),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,e.frame),a.bindTexture(a.TEXTURE_2D,null),e.texture=i,e.frame.close(),delete e.frame)}}rt.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",rt.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";var ot=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};class _t extends Ve{constructor(e,t,a){super(),this._impl=e,this._pipeline=t,this._deviceId=a,this._currentStream=null,this._activeDeviceId=null,this._isPaused=!0,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._hasStartedOrientation=!1,this._lastTimestamp=-1,this._deviceMotionListener=e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();const i=e.interval*Z.intervalMultiplier;Z.trustSensorIntervals&&(-1===this._lastTimestamp?this._lastTimestamp=a:(this._lastTimestamp+=i,a=this._lastTimestamp)),null!==e.acceleration&&null!==e.acceleration.x&&null!==e.acceleration.y&&null!==e.acceleration.z&&t.motionAccelerometerWithoutGravitySubmitInt(a,i,e.acceleration.x*Z.deviceMotionMutliplier,e.acceleration.y*Z.deviceMotionMutliplier,e.acceleration.z*Z.deviceMotionMutliplier),null!==e.accelerationIncludingGravity&&null!==e.accelerationIncludingGravity.x&&null!==e.accelerationIncludingGravity.y&&null!==e.accelerationIncludingGravity.z&&(t.motionAccelerometerSubmit(a,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(a,i,e.accelerationIncludingGravity.x*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.y*Z.deviceMotionMutliplier,e.accelerationIncludingGravity.z*Z.deviceMotionMutliplier)),null!==e.rotationRate&&null!==e.rotationRate.alpha&&null!==e.rotationRate.beta&&null!==e.rotationRate.gamma&&this._hasStartedOrientation?(t.motionRotationRateSubmit(a,e.rotationRate.alpha*Math.PI/-180,e.rotationRate.beta*Math.PI/-180,e.rotationRate.gamma*Math.PI/-180),t.motionRotationRateSubmitInt(a,i,e.rotationRate.alpha,e.rotationRate.beta,e.rotationRate.gamma)):this._hasStartedOrientation||this._startDeviceOrientation()},this._lastAccelerometerTimestamp=-1,this._accelerometerReading=()=>{var e;if(!this._accelerometer||void 0===this._accelerometer.x||void 0===this._accelerometer.y||void 0===this._accelerometer.z)return;let t=mt.get(this._pipeline);if(!t)return;const a=null!==(e=this._accelerometer.timestamp)&&void 0!==e?e:performance.now(),i=this._lastAccelerometerTimestamp>-1?a-this._lastAccelerometerTimestamp:30;this._lastAccelerometerTimestamp=a,t.motionAccelerometerSubmit(a,this._accelerometer.x*Z.deviceMotionMutliplier,this._accelerometer.y*Z.deviceMotionMutliplier,this._accelerometer.z*Z.deviceMotionMutliplier),t.motionAccelerometerWithGravitySubmitInt(a,i,this._accelerometer.x*Z.deviceMotionMutliplier,this._accelerometer.y*Z.deviceMotionMutliplier,this._accelerometer.z*Z.deviceMotionMutliplier)},this._lastLinearAccelerationTimestamp=-1,this._linearAccelerationReading=()=>{var e;if(!this._linearAcceleration||void 0===this._linearAcceleration.x||void 0===this._linearAcceleration.y||void 0===this._linearAcceleration.z)return;let t=mt.get(this._pipeline);if(!t)return;const a=null!==(e=this._linearAcceleration.timestamp)&&void 0!==e?e:performance.now(),i=this._lastLinearAccelerationTimestamp>-1?a-this._lastLinearAccelerationTimestamp:30;this._lastLinearAccelerationTimestamp=a,t.motionAccelerometerWithoutGravitySubmitInt(a,i,this._linearAcceleration.x*Z.deviceMotionMutliplier,this._linearAcceleration.y*Z.deviceMotionMutliplier,this._linearAcceleration.z*Z.deviceMotionMutliplier)},this._lastGyroscopeReading=-1,this._gyroscopeReading=()=>{var e;if(!this._gyroscope||void 0===this._gyroscope.x||void 0===this._gyroscope.y||void 0===this._gyroscope.z)return;let t=mt.get(this._pipeline);if(!t)return;const a=null!==(e=this._gyroscope.timestamp)&&void 0!==e?e:performance.now(),i=this._lastGyroscopeReading>-1?a-this._lastGyroscopeReading:30;this._lastGyroscopeReading=a,t.motionRotationRateSubmit(a,-this._gyroscope.x,-this._gyroscope.y,-this._gyroscope.z),t.motionRotationRateSubmitInt(a,i,180*this._gyroscope.x/Math.PI,180*this._gyroscope.y/Math.PI,180*this._gyroscope.z/Math.PI)},we("Using MSTP camera source")}destroy(){this.pause(),dt(this._impl)}_stop(){this._currentStream&&(this._currentStream.getTracks().forEach((e=>e.stop())),this._currentStream=null)}pause(){this._isPaused=!0;let e=mt.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0),this._stopDeviceMotion(),this._syncCamera()}start(){var e;let t=mt.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this),this._isPaused=!1,this._startDeviceMotion(),this._syncCamera()}_getConstraints(){return ot(this,void 0,void 0,(function*(){let e,t;this._deviceId!==_t.DEFAULT_DEVICE_ID&&this._deviceId!==_t.USER_DEFAULT_DEVICE_ID?e=this._deviceId:t=this._deviceId===_t.DEFAULT_DEVICE_ID?"environment":"user";let a={audio:!1,video:{facingMode:t,width:Z.videoWidth,height:Z.videoHeight,frameRate:Z.requestHighFrameRate?60:30,deviceId:e}};if(e)return a;if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return a;let i=yield navigator.mediaDevices.enumerateDevices(),r=!1;return i=i.filter((e=>{if("videoinput"!==e.kind)return!1;if(e.getCapabilities){r=!0;let a=e.getCapabilities();if(a&&a.facingMode&&a.facingMode.indexOf("user"===t?"user":"environment")<0)return!1}return!0})),r&&0!==i.length?("object"==typeof a.video&&(we("choosing device ID",i[i.length-1].deviceId),a.video.deviceId=i[i.length-1].deviceId),a):a}))}getFrame(e){var t,a;let i=q(!1);i!=this._cameraToScreenRotation&&(null===(a=null===(t=mt.get(this._pipeline))||void 0===t?void 0:t.sendCameraToScreenRotationToWorker)||void 0===a||a.call(t,i),this._cameraToScreenRotation=i)}_getUserMedia(){return ot(this,void 0,void 0,(function*(){let e=yield this._getConstraints();return navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?yield navigator.mediaDevices.getUserMedia(e):yield new Promise(((t,a)=>{navigator.getUserMedia(e,t,a)}))}))}streamEnded(){console.log("MSTP stream ended"),this._stop(),this._syncCamera()}_syncCamera(){return ot(this,void 0,void 0,(function*(){if(this._currentStream&&this._isPaused)this._stop();else if(this._currentStream&&this._activeDeviceId!==this._deviceId&&this._stop(),!this._isPaused){if(this._activeDeviceId=this._deviceId,this._currentStream=yield this._getUserMedia(),this._isPaused)return void(yield this._syncCamera());if(this._isUserFacing=!1,this._currentStream){let e=this._currentStream.getVideoTracks();if(e.length>0){this._isUserFacing="user"===e[0].getSettings().facingMode;let t=new MediaStreamTrackProcessor({track:e[0],maxBufferSize:1});const a=this._currentStream;if(yield(1e3,new Promise((e=>{setTimeout(e,1e3)}))),a!==this._currentStream)return;let i=mt.get(this._pipeline);i&&i.sendCameraStreamToWorker(this._impl,t.readable,this._isUserFacing)}}}}))}setProfile(e){let t=mt.get(this._pipeline);t&&t.sendCameraProfileToWorker(this._impl,e)}_startDeviceOrientation(){this._hasStartedOrientation||(this._hasStartedOrientation=!0,window.addEventListener("deviceorientation",(e=>{let t=mt.get(this._pipeline);if(!t)return;let a=void 0!==e.timeStamp&&null!==e.timeStamp?e.timeStamp:performance.now();null!==e.alpha&&null!==e.beta&&null!==e.gamma&&t.motionAttitudeSubmitInt(a,0,e.alpha,e.beta,e.gamma)})))}_startDeviceMotion(){try{this._accelerometer=new Accelerometer({frequency:60}),this._linearAcceleration=new LinearAccelerationSensor({frequency:60}),this._gyroscope=new Gyroscope({frequency:60}),this._accelerometer.addEventListener("reading",this._accelerometerReading),this._accelerometer.start(),this._linearAcceleration.addEventListener("reading",this._linearAccelerationReading),this._linearAcceleration.start(),this._gyroscope.addEventListener("reading",this._gyroscopeReading),this._gyroscope.start()}catch(e){window.addEventListener("devicemotion",this._deviceMotionListener,!1)}}_stopDeviceMotion(){this._accelerometer&&(this._accelerometer.stop(),this._accelerometer.removeEventListener("reading",this._accelerometerReading),delete this._accelerometer),this._linearAcceleration&&(this._linearAcceleration.stop(),this._linearAcceleration.removeEventListener("reading",this._linearAccelerationReading),delete this._linearAcceleration),this._gyroscope&&(this._gyroscope.stop(),this._gyroscope.removeEventListener("reading",this._gyroscopeReading),delete this._gyroscope),window.removeEventListener("devicemotion",this._deviceMotionListener)}uploadGL(e){const t=mt.get(this._pipeline),a=null==t?void 0:t.glContext;if(!e||e.texture||!e.frame||!t||!a)return;let i=t.getVideoTexture();i&&(a.bindTexture(a.TEXTURE_2D,i),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,e.frame),a.bindTexture(a.TEXTURE_2D,null),e.texture=i,e.frame.close(),delete e.frame)}}_t.USER_DEFAULT_DEVICE_ID="Simulated User Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b",_t.DEFAULT_DEVICE_ID="Simulated Default Device ID: a908df7f-5661-4d20-b227-a1c15d2fdb4b";let st=1,nt=new Map;function ct(e,t){nt.set(e,t)}function lt(e){return nt.get(e)}function dt(e){nt.delete(e)}class Et{constructor(e){this._gl=e}dispose(){this._vbo&&this._gl.deleteBuffer(this._vbo),this._uvbo&&this._gl.deleteBuffer(this._uvbo),this._ibo&&this._gl.deleteBuffer(this._ibo),this._shader&&this._gl.deleteProgram(this._shader.prog),this._vbo=void 0,this._uvbo=void 0,this._ibo=void 0,this._shader=void 0}_generateIBO(e,t){if(this._ibo&&this._lastIndices===e)return this._ibo;if(this._lastIndices=e,this._ibo||(this._ibo=t.createBuffer()),!this._ibo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this._ibo),t.bufferData(t.ELEMENT_ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this._ibo}_generateVBO(e,t){if(this._vbo||(this._vbo=t.createBuffer()),!this._vbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._vbo),t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._vbo}_generateUVBO(e,t){if(this._uvbo||(this._uvbo=t.createBuffer()),!this._uvbo)throw new Error("Unable to create buffer object");return t.bindBuffer(t.ARRAY_BUFFER,this._uvbo),t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),t.bindBuffer(t.ARRAY_BUFFER,null),this._uvbo}draw(e,t,a){var i;const r=t.getPreviewMesh(a),o=null===(i=t.getTargetInfo(a).preview)||void 0===i?void 0:i.image;if(!r||!o)return;if(!o.complete)return;let _=this._gl,s=this._getShader(_),n=this._generateVBO(r.vertices,_),c=this._generateUVBO(r.uvs,_),l=this._generateIBO(r.indices,_);_.enable(_.DEPTH_TEST),_.enable(_.CULL_FACE),_.useProgram(s.prog),_.uniformMatrix4fv(s.unif_matrix,!1,e),_.activeTexture(_.TEXTURE0),_.bindTexture(_.TEXTURE_2D,function(e,t){let a=ht.get(t);if(a)return a;if(a=e.createTexture()||void 0,!a)throw new Error("Unable to create texture");ht.set(t,a),e.bindTexture(e.TEXTURE_2D,a),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE);const i=e.RGBA,r=e.RGBA,o=e.UNSIGNED_BYTE;return e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,r,o,t),t.addEventListener("load",(()=>{if(!a)return;e.bindTexture(e.TEXTURE_2D,a);const i=e.RGBA,r=e.RGBA,o=e.UNSIGNED_BYTE;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,r,o,t)})),a}(_,o)),_.uniform1i(s.unif_skinSampler,0),_.bindBuffer(_.ARRAY_BUFFER,n),_.vertexAttribPointer(s.attr_position,3,_.FLOAT,!1,0,0),_.enableVertexAttribArray(s.attr_position),_.bindBuffer(_.ARRAY_BUFFER,c),_.vertexAttribPointer(s.attr_textureCoord,2,_.FLOAT,!1,0,0),_.enableVertexAttribArray(s.attr_textureCoord),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,l),_.drawElements(_.TRIANGLES,r.indices.length,_.UNSIGNED_SHORT,0),_.disableVertexAttribArray(s.attr_position),_.disableVertexAttribArray(s.attr_textureCoord),_.bindBuffer(_.ARRAY_BUFFER,null),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,null)}_getShader(e){if(this._shader)return this._shader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,bt),i=v(e,e.FRAGMENT_SHADER,pt);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"matrix");if(!r)throw new Error("Unable to get uniform location mattrix");let o=e.getUniformLocation(t,"skinSampler");if(!o)throw new Error("Unable to get uniform location skinSampler");return this._shader={prog:t,unif_matrix:r,unif_skinSampler:o,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},this._shader}}const ht=new Map;let bt="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 matrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = matrix * position;\n vTextureCoord = textureCoord;\n}",pt="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n gl_FragColor = texture2D(skinSampler, vTextureCoord);\n}",vt=new Map,ut=P();class mt{constructor(e,t,a){this._client=e,this._impl=t,this._mgr=a,this.pendingMessages=[],this.cameraTokens=new Map,this.nextCameraToken=1,this.tokensInFlight=0,this.videoTextures=[],this.cameraPixelArrays=[],this._sequenceRecordDeviceAttitudeMatrices=!0,this._sequenceRecorderFirstCameraToken=0,this._cameraFrameDataPromises=new Map,this._cameraFrameDataResolves=new Map,this._cameraFrameDataRejects=new Map,this._cameraFrameDataEnabled=!1,this.onGLContextReset=new H}static create(e,t){let a=e.pipeline_create();return vt.set(a,new mt(e,a,t)),a}static get(e){return vt.get(e)}frameUpdate(e){for(let t of this.pendingMessages)e.processMessages(t),this._mgr.postOutgoingMessage({t:"buf",p:this._impl,d:t},[t]);this.pendingMessages=[],this.cleanOldFrames()}cleanOldFrames(){var e,t;let a=this._client.pipeline_camera_frame_user_data(this._impl);if(a)for(let i of this.cameraTokens)i[0]<a&&(i[1].texture&&this.videoTextures.push(i[1].texture),null===(t=null===(e=i[1].frame)||void 0===e?void 0:e.close)||void 0===t||t.call(e),i[1].data&&(this.cameraPixelArrays.push(i[1].data),i[1].data=void 0),this.cameraTokens.delete(i[0]))}cameraFrameDataRawResult(e){var t,a;let i=this.cameraTokens.get(e.token);i&&(null===e.data?null===(t=this._cameraFrameDataRejects.get(i))||void 0===t||t(new Error("Raw camera data not available")):(i.data=e.data.data,null===(a=this._cameraFrameDataResolves.get(i))||void 0===a||a(e.data)),this._cameraFrameDataRejects.delete(i),this._cameraFrameDataResolves.delete(i),this._cameraFrameDataPromises.delete(i))}cameraTokenReturn(e){let t=this.cameraTokens.get(e.token);if(this._sequenceRecorder&&this._sequenceRecordDeviceAttitudeMatrices&&e.token>=this._sequenceRecorderFirstCameraToken&&t&&(e.att&&this._sequenceRecorder.appendAttitudeMatrix(e.att),t.data=e.d,this._sequenceRecorder.appendCameraFrame(t)),t&&!t.data&&e.d){t.data=e.d;const a=this._cameraFrameDataResolves.get(t);a&&a({data:t.data,width:t.dataWidth,height:t.dataHeight}),this._cameraFrameDataRejects.delete(t),this._cameraFrameDataResolves.delete(t),this._cameraFrameDataPromises.delete(t)}this.tokensInFlight--}sequenceRecordStart(e){this._sequenceRecorder||(this._sequenceRecorder=new Ue(e)),this._sequenceRecorder.start(),this._sequenceRecorderFirstCameraToken=this.nextCameraToken}sequenceRecordStop(){var e;null===(e=this._sequenceRecorder)||void 0===e||e.stop()}sequenceRecordData(){var e;return(null===(e=this._sequenceRecorder)||void 0===e?void 0:e.data())||new Uint8Array(0)}sequenceRecordClear(){delete this._sequenceRecorder}sequenceRecordDeviceAttitudeMatrices(e){this._sequenceRecordDeviceAttitudeMatrices=e}getVideoTexture(){return this.videoTextures.pop()}getCameraFrameDataRaw(){if(!this._cameraFrameDataEnabled)throw new Error("Raw camera frame data is not enabled.");const e=this.getCurrentCameraInfo();if(!e)return Promise.resolve(void 0);if(e.data)return Promise.resolve({data:e.data.slice(0),width:e.dataWidth,height:e.dataHeight});let t=this._cameraFrameDataPromises.get(e);return t||(t=new Promise(((t,a)=>{if(void 0!==e.remoteToken){const t={t:"rawrequest",token:e.remoteToken,p:this._impl};this._mgr.postOutgoingMessage(t,[])}this._cameraFrameDataResolves.set(e,t),this._cameraFrameDataRejects.set(e,a)})),this._cameraFrameDataPromises.set(e,t)),t}setCameraFrameDataRawEnabled(e){this._cameraFrameDataEnabled=e;const t={t:"rawenabled",v:e};this._mgr.postOutgoingMessage(t,[])}destroy(){this._client.pipeline_destroy(this._impl),vt.delete(this._impl)}getCurrentCameraInfo(){let e=this._client.pipeline_camera_frame_user_data(this._impl);if(e)return this.cameraTokens.get(e)}cameraFrameDrawGL(e,t,a){if(!this.glContext)return;let i=this.getCurrentCameraInfo();i&&(this._cameraDraw||(this._cameraDraw=new xe(this.glContext)),this._cameraDraw.drawCameraFrame(e,t,i,!0===a))}glContextLost(){this._cameraDraw&&this._cameraDraw.dispose(),this._faceDraw&&this._faceDraw.dispose(),this._imageTargetPreviewDraw&&this._imageTargetPreviewDraw.dispose(),this._faceProjectDraw&&this._faceProjectDraw.dispose(),delete this._cameraDraw,delete this._faceDraw,delete this._imageTargetPreviewDraw,delete this._faceProjectDraw,m=void 0,f=void 0,g=void 0,N={},this.onGLContextReset.emit();for(let e of this.videoTextures)this.glContext&&this.glContext.deleteTexture(e);this.videoTextures=[];for(let e of this.cameraTokens)this.glContext&&e[1].texture&&this.glContext.deleteTexture(e[1].texture),e[1].texture=void 0;this.glContext=void 0}glContextSet(e,t){this.glContextLost(),this.glContext=e,t=t||[];for(let a=0;a<4;a++){let i=t[a]||e.createTexture();i&&(e.bindTexture(e.TEXTURE_2D,i),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),this.videoTextures.push(i))}e.bindTexture(e.TEXTURE_2D,null)}drawFace(e,t,a,i){if(!this.glContext)return;this._faceDraw||(this._faceDraw=new je(this.glContext));let r=P();L(r,e,t),L(r,r,a),this._faceDraw.drawFace(r,i)}drawImageTargetPreview(e,t,a,i,r){if(!this.glContext)return;this._imageTargetPreviewDraw||(this._imageTargetPreviewDraw=new Et(this.glContext));let o=P();L(o,e,t),L(o,o,a),this._imageTargetPreviewDraw.draw(o,r,i)}drawFaceProject(e,t,a,i,r,o){this.glContext&&(this._faceProjectDraw||(this._faceProjectDraw=new Ce(this.glContext)),this._faceProjectDraw.drawFace(e,t,a,i,r,o))}cameraFrameTexture(){var e;return null===(e=this.getCurrentCameraInfo())||void 0===e?void 0:e.texture}cameraFrameTextureMatrix(e,t,a){let i=this.getCurrentCameraInfo();return i?Ge(i.dataWidth,i.dataHeight,e,t,i.uvTransform||ut,a):P()}cameraFrameUserFacing(){var e;return(null===(e=this.getCurrentCameraInfo())||void 0===e?void 0:e.userFacing)||!1}cameraPoseWithAttitude(e){let t=ft(this.getCurrentCameraInfo(),this._client.pipeline_camera_frame_camera_attitude(this._impl));if(e){let e=P();x(e,[-1,1,1]),L(t,e,t),L(t,t,e)}return z(t,t),t}videoFrameFromWorker(e){let t=this.nextCameraToken++;const a=lt(e.source);a&&(this.cameraTokens.set(t,{dataWidth:e.w,dataHeight:e.h,texture:void 0,frame:e.d,userFacing:e.userFacing,uvTransform:e.uvTransform,cameraModel:e.cameraModel,cameraToDevice:e.cameraToDevice,cameraSource:a,remoteToken:e.token}),this.cleanOldFrames())}imageBitmapFromWorker(e){let t=this.cameraTokens.get(e.tokenId);t&&(t.dataWidth=e.dataWidth,t.dataHeight=e.dataHeight,t.frame=e.frame,t.userFacing=e.userFacing,t.uvTransform=e.uvTransform,this.tokensInFlight--,this.cleanOldFrames())}uploadGL(){var e,t;let a=this.getCurrentCameraInfo();null===(t=null===(e=null==a?void 0:a.cameraSource)||void 0===e?void 0:e.uploadGL)||void 0===t||t.call(e,a)}registerToken(e){let t=this.nextCameraToken++;return this.cameraTokens.set(t,e),this.tokensInFlight++,t}processGL(){this.glContext?this.currentCameraSource&&(this.tokensInFlight>0?this.currentCameraSource.getFrame(!0):this.currentCameraSource.getFrame(!1)):Ie("no GL context for camera frames - please call pipeline_gl_context_set")}motionAccelerometerSubmit(e,t,a,i){var r;this._sequenceRecordDeviceAttitudeMatrices||null===(r=this._sequenceRecorder)||void 0===r||r.appendAccelerometer(e,t,a,i);const o={t:"sensorDataC2S",sensor:"accel",interval:0,timestamp:e,x:t,y:a,z:i,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionAccelerometerWithoutGravitySubmitInt(e,t,a,i,r){var o;null===(o=this._sequenceRecorder)||void 0===o||o.appendAccelerometerWithoutGravityInt(e,t,a,i,r);const _={t:"sensorDataC2S",sensor:"accel_wo_gravity_int",interval:t,timestamp:e,x:a,y:i,z:r,p:this._impl};this._mgr.postOutgoingMessage(_,[])}motionAccelerometerWithGravitySubmitInt(e,t,a,i,r){var o;null===(o=this._sequenceRecorder)||void 0===o||o.appendAccelerometerWithGravityInt(e,t,a,i,r);const _={t:"sensorDataC2S",sensor:"accel_w_gravity_int",interval:t,timestamp:e,x:a,y:i,z:r,p:this._impl};this._mgr.postOutgoingMessage(_,[])}motionRotationRateSubmitInt(e,t,a,i,r){var o;null===(o=this._sequenceRecorder)||void 0===o||o.appendRotationRateInt(e,t,a,i,r);const _={t:"sensorDataC2S",sensor:"rotation_rate_int",interval:t,timestamp:e,x:a,y:i,z:r,p:this._impl};this._mgr.postOutgoingMessage(_,[])}motionAttitudeSubmitInt(e,t,a,i,r){var o;null===(o=this._sequenceRecorder)||void 0===o||o.appendAttitudeInt(e,t,a,i,r);const _={t:"sensorDataC2S",sensor:"attitude_int",interval:t,timestamp:e,x:a,y:i,z:r,p:this._impl};this._mgr.postOutgoingMessage(_,[])}motionRotationRateSubmit(e,t,a,i){var r;this._sequenceRecordDeviceAttitudeMatrices||null===(r=this._sequenceRecorder)||void 0===r||r.appendRotationRate(e,t,a,i);const o={t:"sensorDataC2S",sensor:"rotation_rate",interval:0,timestamp:e,x:t,y:a,z:i,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionAttitudeSubmit(e,t,a,i){var r;this._sequenceRecordDeviceAttitudeMatrices||null===(r=this._sequenceRecorder)||void 0===r||r.appendAttitude(e,t,a,i);const o={t:"sensorDataC2S",sensor:"attitude",interval:0,timestamp:e,x:t,y:a,z:i,p:this._impl};this._mgr.postOutgoingMessage(o,[])}motionAttitudeMatrix(e){const t={t:"attitudeMatrixC2S",p:this._impl,m:e};this._mgr.postOutgoingMessage(t,[])}sendCameraStreamToWorker(e,t,a){let i={t:"streamC2S",p:this._impl,s:t,userFacing:a,source:e};this._mgr.postOutgoingMessage(i,[i.s])}sendCameraProfileToWorker(e,t){let a={t:"cameraProfileC2S",p:this._impl,source:e,profile:t};this._mgr.postOutgoingMessage(a,[])}sendCameraToScreenRotationToWorker(e){let t={p:this._impl,t:"cameraToScreenC2S",r:e};this._mgr.postOutgoingMessage(t,[])}sendImageBitmapToWorker(e,t,a,i,r,o,_){let s={p:this._impl,t:"imageBitmapC2S",i:e,r:t,tokenId:i,userFacing:a,cameraModel:r,cameraToDevice:o,cp:_};this._mgr.postOutgoingMessage(s,[e])}sendDataToWorker(e,t,a,i,r,o,_,s){let n={d:e,p:this._impl,width:a,height:i,token:t,userFacing:r,c2d:o,cm:_,t:"cameraFrameC2S",captureTime:s};this._mgr.postOutgoingMessage(n,[e])}}function ft(e,t){let a=!1;a=!!e&&e.userFacing;let i=P();return M(i,q(a)*Math.PI/180,[0,0,1]),L(i,i,t),i}const gt={0:[{mean:[.235,.2344,.7305],identity:[.008,.0087,.0024,-.0026,6e-4,-.0022,5e-4,.0033,.0026,.0017,-.0055,-8e-4,.0011,.0059,0,2e-4,.001,-.001,-.0044,-.0011,-1e-4,.0024,.0019,-9e-4,4e-4,-.0015,0,.0038,.0013,3e-4,.002,-.0021,.0018,.0023,.0011,.0012,-.0011,-.0017,9e-4,-.0012,-8e-4,7e-4,-.0017,.0029,-.0029,8e-4,-.0027,8e-4,-.0017,4e-4,9e-4,-.001,-3e-4,8e-4,-.0016,-3e-4,-7e-4,.0016,-9e-4,.0021,-5e-4,.0011,-.0024,-1e-4,6e-4,1e-4,-.0026,-4e-4,-3e-4,-9e-4,5e-4,3e-4,-8e-4,-.001,-4e-4,-8e-4,.0022,-.0014,-1e-4,-.0023,0,-.0018,7e-4,-.0036,.0017,.0017,-.0018,-2e-4,-4e-4,-9e-4,-8e-4,3e-4,.0012,9e-4,-4e-4,-.0016,5e-4,-.0013,.0011,.0023,.0029,.0024,.0017,-.0027,-4e-4,-.001,-.0018,-.0015,-.001,.001,-.0013,-1e-4,-2e-4,7e-4,3e-4,3e-4,-.0016,9e-4,-.0021,4e-4,.0014,.002,-7e-4,-4e-4,2e-4,-4e-4,-6e-4,-9e-4,.0015,4e-4,-4e-4,5e-4,-.0015,9e-4,3e-4,3e-4,-2e-4,-8e-4,-9e-4,.0023,4e-4,1e-4,-4e-4,-1e-4,7e-4,2e-4,.001,1e-4,-.0029,-5e-4],expression:[0,3e-4,.0052,-7e-4,-.0051,-.0103,0,.0019,.0027,-.0054,.0135,.035,-5e-4,-6e-4,.0025,-.0045,-.0557,-.003,-.0191,-.1199,.0548,-.0036,-.0682,-.0167,2e-4,-.0085,-.0085,.0044,.0041,-.0568,.0044,.179,.0065,-.0017,-.1006,.0036,-.0267,-.3279,.0301,-.0011,-.0173,-.001,.0046,.2808,.0207,.0162,.238,-.0225,.0017,.1041,.0203,5e-4,.0161,.0031,-.0436,.6504,.0873,-.0099,.1039,.0048,-.0254,.2534,-.0042,.003,-.0106,-.0153,-.0118,.0252,9e-4,-.0071,.0099,.007,-.0724,.0461,-.0235,.0833,.004,.0141,-.0219,.0132,-.0042,-.0179,.0045,-.0215,.3638,.0054,-.0445]},{mean:[.2358,.1466,.7183],identity:[.0077,.0093,1e-4,-.0022,0,-.0041,5e-4,.0022,.0028,.0018,-.0038,-.0013,.001,.0044,-2e-4,0,.0017,-.0016,-.0043,-2e-4,-1e-4,.0023,9e-4,5e-4,-7e-4,-4e-4,-.0017,.003,7e-4,6e-4,.0011,-.0018,5e-4,.0018,-8e-4,4e-4,-.0023,-6e-4,-3e-4,-.0015,-.0014,-1e-4,-.0018,.0027,-.0026,3e-4,-.0031,.0011,-.0026,-.0011,.0012,-.0013,-2e-4,7e-4,-.0021,.0021,4e-4,.0012,-.001,.002,-3e-4,2e-4,-.0026,-3e-4,.001,1e-4,-.0018,-.001,9e-4,-.0011,.001,4e-4,-8e-4,-7e-4,-.001,-3e-4,7e-4,-5e-4,-6e-4,-.0019,-5e-4,-.002,7e-4,-.0027,.0014,.0013,6e-4,-5e-4,-3e-4,-3e-4,-.001,0,.0019,1e-4,6e-4,-.0012,4e-4,-9e-4,4e-4,.0025,3e-4,.0024,.0017,-9e-4,-.0015,-.0015,-.001,-.0023,-.001,-5e-4,-4e-4,8e-4,9e-4,7e-4,2e-4,7e-4,-9e-4,9e-4,-.0013,1e-4,9e-4,2e-4,6e-4,-6e-4,-8e-4,-4e-4,-7e-4,8e-4,.0019,3e-4,.0015,2e-4,-.0015,-3e-4,0,6e-4,3e-4,6e-4,-6e-4,2e-4,5e-4,-4e-4,.0012,-4e-4,2e-4,-8e-4,6e-4,-4e-4,2e-4,-.0021],expression:[-.0034,.0054,.0069,.004,6e-4,-.0104,-3e-4,.0036,.0025,.0065,.0296,.0208,-9e-4,.0154,.0029,-.0167,.0124,.004,-.0102,.0351,.028,-.019,.0146,-.0035,-.0023,-.0069,-.0051,-.01,.0262,-.028,.0112,.082,.023,-.0019,-.066,-.0104,-.0408,.0164,.0075,-.0074,.0367,.0041,.0517,-.0207,.0045,.0291,-.0672,-.0129,.0345,-.1558,-.0106,.0037,-.0437,-.0021,.0854,-.1121,.0187,.0041,.0072,.0011,.0193,-.0143,-.0119,.005,-.02,-.0122,-.008,.0527,.0036,-.006,.0222,.007,-.0429,.046,-.0046,.0226,-.0059,.0202,-.0173,.0087,0,-.0067,-.0095,-.0153,.1506,-.0017,.0021]}],1:[{mean:[-.2271,.2323,.7319],identity:[-.0084,.0097,.0018,.0041,2e-4,-.002,-.0012,.0036,.0019,-9e-4,-.0063,-.001,-3e-4,.0053,6e-4,1e-4,5e-4,-.0015,.0044,-.0025,-.0015,-.002,.0016,-6e-4,2e-4,-.0013,0,-.0022,2e-4,2e-4,-.0025,-.0014,.0015,8e-4,2e-4,.0012,6e-4,-6e-4,.0017,0,3e-4,-1e-4,.0024,.0025,-.0029,-.0015,-.0015,1e-4,.0031,-.0016,7e-4,.0019,6e-4,.002,9e-4,.001,-.0014,-.002,-.0015,.0029,1e-4,5e-4,-.0023,8e-4,-.0011,.0019,.0017,-3e-4,-.0011,-3e-4,.0011,-8e-4,.0019,-.0022,1e-4,.0015,.0017,-8e-4,-.0011,-.0022,3e-4,.0022,6e-4,-.003,-2e-4,0,-.0017,-2e-4,0,1e-4,4e-4,.0012,.0019,-.0014,4e-4,-.0017,-.0012,-.0011,.0021,-.0029,.0026,.0018,-.0023,-.0029,1e-4,.0014,-.0019,-4e-4,-4e-4,.0023,-.0016,0,-9e-4,.0014,-.0015,.0015,-.0016,-.0011,-.0022,1e-4,-.0018,.0027,-.0013,4e-4,-1e-4,-5e-4,.0011,-2e-4,.0015,5e-4,-9e-4,-1e-4,.0029,6e-4,0,-3e-4,7e-4,-8e-4,-5e-4,.0025,3e-4,2e-4,-8e-4,-1e-4,3e-4,0,.0014,2e-4,-.0024,1e-4],expression:[-.0025,-9e-4,.006,.004,-.0027,-.0113,-8e-4,.001,.0031,-.0016,.0144,.0382,-3e-4,-5e-4,.0035,-.0044,-.0511,-.0014,-7e-4,-.1007,.0582,-6e-4,-.0606,-.0165,5e-4,-.0087,-.0093,.0036,.0057,-.0576,-.0039,.1488,.0127,.0016,-.0666,-9e-4,-.0153,.3162,-.0445,-.0021,.0023,.0043,-.0033,.2382,.0063,-.0217,.167,-.039,.0097,-.1144,-.0189,-.0145,.6831,.0632,-.0012,-.1959,-.0133,4e-4,.1108,-3e-4,.0062,.2593,-.0161,-.0018,-.0051,-.012,.0162,.016,-.0022,-.0052,-.0201,.0101,.0115,.0365,-.024,-.0059,.0188,-.0336,.0352,.0224,-.0229,.0146,.0086,-.0273,-.0032,.0103,-.0112]},{mean:[-.2288,.1541,.7202],identity:[-.0082,.0101,2e-4,.0036,-7e-4,-.0037,-8e-4,.0024,.0022,-.0013,-.0045,-.0013,-6e-4,.0045,-4e-4,4e-4,.0012,-.0014,.0042,-.001,-7e-4,-.0019,3e-4,-2e-4,.0012,-4e-4,-.0012,-.0018,-4e-4,-1e-4,-.0014,-.0012,1e-4,1e-4,-.0017,.001,.0015,-1e-4,6e-4,1e-4,0,-6e-4,.0028,.0021,-.0025,-.002,-.0015,7e-4,.0028,-.0023,9e-4,.0013,1e-4,.0016,.0012,.0032,-6e-4,-.0013,-.0011,.0021,3e-4,-5e-4,-.0024,4e-4,-4e-4,.0014,.0015,-8e-4,-3e-4,3e-4,.0017,-6e-4,.002,-.0018,-3e-4,9e-4,1e-4,2e-4,-6e-4,-.0015,-4e-4,.0022,7e-4,-.0023,0,-2e-4,-2e-4,-3e-4,-1e-4,6e-4,-2e-4,6e-4,.0022,-3e-4,.0013,-.0014,-5e-4,-3e-4,.0013,-.0027,6e-4,.0025,-.0023,-8e-4,-.0013,.0017,-9e-4,-.0019,1e-4,8e-4,-7e-4,-4e-4,0,.001,-.001,.0019,-8e-4,-.0015,-6e-4,-2e-4,-.0011,8e-4,1e-4,9e-4,-8e-4,-4e-4,6e-4,7e-4,.0021,-4e-4,7e-4,-5e-4,.0021,-7e-4,-4e-4,-9e-4,8e-4,3e-4,1e-4,3e-4,1e-4,9e-4,.001,-5e-4,5e-4,-.001,.001,4e-4,-5e-4,-.0012],expression:[8e-4,.0037,.0078,-4e-4,5e-4,-.012,-2e-4,-.0046,.0033,-.0089,.0295,.0221,-.0024,-.0084,.0013,.0057,.0125,.0049,-.0036,.0373,.0285,.0115,.0135,-.0035,.0048,.0108,-.0033,.0106,.0281,-.0301,-.0082,.0803,.0244,-7e-4,-.0725,-.0105,-.0247,-.0036,-.0143,-.0045,-.029,2e-4,-.0303,.0093,-.0021,-.0196,-.0754,-.0211,.0326,.1246,.006,-.0804,-.1499,.0109,.0182,-.0029,-.0014,-.0035,.0072,-8e-4,-.0152,-.0108,-.0166,-.0073,-.0144,-.0095,.0101,.047,-.0018,-.004,-.0189,.0027,.0104,.0298,-.0042,-.0096,.0191,-.0217,.0228,.0226,-.0105,.0047,-.0048,-.0172,.0061,-.0043,-.0016]}],2:{mean:[.5396,.2028,.2496],identity:[.0204,.0146,-.0182,-.0052,.0158,-.0038,-.0025,-.0108,-.006,.0085,-.0044,.0029,.0042,.001,.0095,.0015,-.0034,-.0064,-.0057,7e-4,.0026,7e-4,.0037,-6e-4,.0037,.0026,.0024,5e-4,-.0019,-.0013,.003,-.0028,.0018,-9e-4,.002,-.0047,.004,-.003,.0031,-.0027,-.0026,-.0017,.0016,.0014,-4e-4,.0021,-.002,0,.0017,7e-4,-4e-4,-7e-4,-.0018,-9e-4,2e-4,-.0012,1e-4,-5e-4,-.0011,4e-4,2e-4,.0011,1e-4,8e-4,.0017,-.0013,.0025,.0017,.001,2e-4,3e-4,5e-4,-4e-4,-1e-4,-5e-4,7e-4,-.0022,-.0029,6e-4,-8e-4,-6e-4,6e-4,-5e-4,5e-4,.0013,3e-4,-5e-4,-.003,7e-4,2e-4,.0016,-4e-4,0,0,4e-4,1e-4,.0014,.0012,1e-4,4e-4,-1e-4,8e-4,9e-4,4e-4,-4e-4,9e-4,-2e-4,.001,9e-4,4e-4,1e-4,7e-4,7e-4,.001,-.0017,-8e-4,2e-4,.0017,-3e-4,-1e-4,4e-4,5e-4,7e-4,5e-4,-1e-4,-6e-4,-1e-4,1e-4,-3e-4,-7e-4,-2e-4,-5e-4,0,-3e-4,3e-4,8e-4,-2e-4,-3e-4,5e-4,1e-4,-7e-4,-.001,-2e-4,3e-4,4e-4,-1e-4,7e-4,0,4e-4,4e-4],expression:[1e-4,-4e-4,1e-4,0,5e-4,2e-4,0,0,3e-4,-2e-4,3e-4,5e-4,-1e-4,2e-4,8e-4,1e-4,-2e-4,-5e-4,-3e-4,6e-4,5e-4,0,1e-4,2e-4,1e-4,-1e-4,-6e-4,-2e-4,5e-4,0,-4e-4,4e-4,.0016,4e-4,-4e-4,-.0015,0,1e-4,1e-4,-3e-4,3e-4,.0019,-2e-4,7e-4,4e-4,4e-4,-8e-4,-.0015,.0013,-.0016,-.0069,4e-4,-6e-4,-.0019,0,-1e-4,5e-4,-3e-4,2e-4,.0014,-3e-4,6e-4,.0011,4e-4,-3e-4,-.0032,-6e-4,8e-4,.0025,-3e-4,3e-4,.0015,-1e-4,1e-4,3e-4,-1e-4,0,0,-3e-4,4e-4,.0019,1e-4,0,-8e-4,-1e-4,1e-4,5e-4]},3:{mean:[-.5464,.2141,.26],identity:[-.0207,.0172,-.0176,.0068,.0148,-.0051,.0042,-.0101,-.0058,-.0087,-.0059,.0045,-.0056,.0017,.0097,-.0048,-.004,-.0044,.0019,2e-4,.0041,-.0052,.0041,2e-4,-.0027,6e-4,.002,-.0027,-.0033,-6e-4,-.004,9e-4,-.0012,-1e-4,-.0026,.0021,-.003,-.0025,.0052,.0025,.0022,-1e-4,-8e-4,.0013,.001,4e-4,.0018,.0014,6e-4,-5e-4,-.0015,-.0039,.0014,-1e-4,8e-4,-2e-4,6e-4,-5e-4,-.0038,-.0012,-.0018,-3e-4,.001,9e-4,.0012,.0024,-.0024,-7e-4,-.0016,-.0016,3e-4,-.001,-.0014,-.0014,.001,-3e-4,-7e-4,-.0012,3e-4,6e-4,3e-4,-5e-4,3e-4,.0012,6e-4,-8e-4,4e-4,4e-4,8e-4,-2e-4,-.0014,3e-4,0,.0023,-3e-4,-.0012,-.0013,.0011,-2e-4,-.0014,-1e-4,.0014,0,3e-4,3e-4,-8e-4,-5e-4,-7e-4,-7e-4,-2e-4,3e-4,5e-4,2e-4,-1e-4,.0011,-.0014,1e-4,-.0015,-1e-4,-3e-4,0,-.001,-1e-4,-8e-4,8e-4,-8e-4,-2e-4,-.0011,-3e-4,-4e-4,1e-4,-2e-4,3e-4,-7e-4,0,3e-4,1e-4,-8e-4,5e-4,1e-4,4e-4,.0014,-6e-4,-.001,-3e-4,-2e-4,1e-4,-1e-4,-1e-4,7e-4],expression:[-3e-4,-1e-4,6e-4,4e-4,0,-7e-4,0,-3e-4,-2e-4,-4e-4,.0012,8e-4,1e-4,-5e-4,-7e-4,-4e-4,0,1e-4,-4e-4,.0017,7e-4,0,1e-4,3e-4,0,4e-4,4e-4,5e-4,1e-4,-.001,-7e-4,.0022,.0026,5e-4,-.0024,-.0023,0,1e-4,3e-4,0,-.0013,-.0015,6e-4,.0014,8e-4,-2e-4,-.0025,-.0023,-3e-4,.0049,.006,-2e-4,-7e-4,-2e-4,0,-.0019,-.0018,-2e-4,.0017,.0017,3e-4,.0015,7e-4,1e-4,-.0023,-.0036,2e-4,.0023,.0017,0,-5e-4,-3e-4,-3e-4,4e-4,2e-4,-1e-4,-3e-4,-5e-4,1e-4,.0018,.0025,1e-4,-6e-4,-.0011,0,1e-4,1e-4]},4:{mean:[.0018,.1864,.853],identity:[-.0011,.0134,.0085,9e-4,-.0025,-7e-4,-3e-4,.0033,4e-4,-5e-4,-.0047,-.002,7e-4,.0026,-.0069,-1e-4,.0036,.0072,5e-4,-8e-4,-.0047,4e-4,-8e-4,-.001,0,2e-4,-.0036,-2e-4,-.001,-.0048,-1e-4,.0018,.0044,-7e-4,-2e-4,.0043,3e-4,.002,-.0031,0,-7e-4,.0013,0,.0037,.0033,-.0016,-.0012,.002,-1e-4,-.0027,.0051,5e-4,8e-4,7e-4,-.0017,.0054,.0023,-3e-4,.0032,1e-4,0,7e-4,-5e-4,-.0011,2e-4,8e-4,0,-.0033,-8e-4,-7e-4,7e-4,.0033,5e-4,-3e-4,.0029,-1e-4,-.0024,-.0011,-.002,-.0015,-.0019,2e-4,7e-4,.0031,6e-4,.0012,0,0,-.0021,0,-9e-4,-.0011,-.0011,-2e-4,.0015,.001,.0013,8e-4,.001,-3e-4,9e-4,.0027,-2e-4,-.0011,-.0011,6e-4,7e-4,2e-4,1e-4,-5e-4,-.0022,.0011,-.0014,9e-4,3e-4,2e-4,0,-6e-4,-4e-4,-.0011,-7e-4,.001,-.0012,6e-4,-.0012,-.0015,3e-4,-9e-4,-.0013,-.0013,7e-4,.001,-.0011,-.0013,.0015,4e-4,1e-4,4e-4,-1e-4,-.0016,-.0016,9e-4,-7e-4,-.0024,5e-4,-1e-4,-.0017,-2e-4,3e-4,-9e-4],expression:[-.0017,.0019,.0097,.003,-.0103,-.0093,9e-4,6e-4,.0023,-.0017,-.0204,.0376,.0033,-.0034,.0033,-.0026,-.0322,.0396,-.0032,-.0947,.0942,-7e-4,-.0175,.0266,-.001,-6e-4,.0016,.0025,.0157,-.0142,-.0022,.037,.015,.0021,-.0102,-.0107,.0036,.0055,-.0051,.0021,3e-4,-3e-4,4e-4,-.0177,.0074,-6e-4,-.0357,.0149,-.0066,9e-4,.0013,-.0031,.0016,.0095,.002,.0052,.0035,-3e-4,.0053,-.0082,.002,.0022,-.0071,-.0011,5e-4,.0055,.0011,3e-4,-.0126,-4e-4,3e-4,-.0023,-.0015,.0059,.0063,-.0042,-.0023,.0055,.0019,.0017,-.0075,6e-4,-8e-4,.0018,.0012,.0012,-5e-4]},5:{mean:[-.002,-.0469,1.0039],identity:[-.0017,.0018,.0156,6e-4,-.0038,5e-4,4e-4,.0013,.002,-4e-4,-.0015,-.0051,5e-4,-7e-4,-.0055,-1e-4,-9e-4,.008,-2e-4,.0036,-.0053,4e-4,-.0026,-.0016,7e-4,9e-4,-.009,-3e-4,7e-4,-.0084,.0015,.0021,.0032,-.0015,.0018,.0046,-3e-4,-4e-4,-1e-4,8e-4,-.0044,-7e-4,-8e-4,7e-4,.0048,-.0024,-3e-4,.0024,2e-4,-.0051,.0058,-6e-4,.0028,.0018,-.0021,.0035,.0057,.0011,.0065,0,-2e-4,.0011,.003,-.0027,8e-4,7e-4,3e-4,-.0039,-.002,-2e-4,-.0015,.0034,.0012,-.0025,.0024,-2e-4,4e-4,-.0042,-.0024,-.001,-.0023,.0016,-7e-4,.0039,1e-4,-5e-4,.0018,3e-4,-2e-4,-9e-4,-.0015,3e-4,-7e-4,-1e-4,-2e-4,.0023,.0032,.002,-.0013,.0013,-.0038,.0045,1e-4,-.0031,1e-4,.0019,-1e-4,.0016,.0013,0,-.002,.0023,2e-4,.0011,.0018,-.0024,6e-4,-.0017,.002,-8e-4,-.0021,7e-4,.0011,8e-4,4e-4,-.001,.0012,2e-4,-6e-4,-.0027,-5e-4,.001,-9e-4,1e-4,-1e-4,8e-4,-.0011,.0022,-.001,-5e-4,-.0011,.0016,-.0015,8e-4,-3e-4,9e-4,.0013,-7e-4,-7e-4,-2e-4],expression:[-.0018,-.0168,.0088,.0389,.1026,.0414,.2201,-.0262,-.0016,-.0017,.0612,-.0298,-.0323,.0093,.0013,-.005,.2207,.1315,-4e-4,.0858,-.0303,-.0133,.015,-.008,.1454,.0114,.0177,-.0077,.1022,.0356,-.0023,.1088,.0232,.003,-.0706,.0347,-1e-4,.004,-.0011,.0397,-.0096,-.0033,.0029,-.01,-.0083,-6e-4,-.0135,.0016,-.0087,-.0019,.0022,-.004,-.0087,.0105,8e-4,-.005,.0069,.0028,.0409,-.0391,.003,.0103,.0051,.0026,.0776,-.0083,-.0062,-.0567,.0268,.0175,.0017,.0156,-.0043,.0299,-.0395,-.0015,.0051,-.0148,.0125,.0035,.0603,.0109,-.0645,-.0257,.002,6e-4,-8e-4]},6:{mean:[-6e-4,-.1542,.8789],identity:[-7e-4,-.0032,.01,0,-.0027,.0031,6e-4,5e-4,-6e-4,-3e-4,.0013,-.0049,-2e-4,-.002,-.0046,8e-4,-.0011,.0054,2e-4,.0043,-.0027,3e-4,-.0022,-.0019,8e-4,.0032,-.0069,0,4e-4,-.0071,.0016,.0027,.0039,-.0017,9e-4,.0031,-1e-4,-5e-4,-4e-4,7e-4,-.0026,-.0012,-5e-4,6e-4,2e-4,-.0014,-.0013,.0019,-2e-4,-.0053,.0031,-6e-4,.0016,.0023,-.0013,.0021,.0029,8e-4,.0052,0,4e-4,0,.0037,-.0026,3e-4,.002,-2e-4,-.0024,4e-4,-4e-4,-.0012,8e-4,7e-4,-.0023,5e-4,0,.0014,-.0022,-.0016,0,-.0012,8e-4,-7e-4,.0014,-6e-4,-.0012,-3e-4,2e-4,.0012,-3e-4,-.002,-1e-4,1e-4,-2e-4,-.0016,9e-4,.002,.0019,0,6e-4,-.0022,.0016,1e-4,-.0017,-.0013,.001,9e-4,-1e-4,.0011,3e-4,-7e-4,.0014,8e-4,.0013,.0011,-.002,0,-.0015,.0014,.001,-.0015,7e-4,3e-4,.001,-1e-4,.0012,7e-4,6e-4,-4e-4,-.0013,-.0012,-9e-4,-.0011,2e-4,-5e-4,5e-4,4e-4,2e-4,1e-4,0,5e-4,5e-4,-.0014,.0015,-9e-4,5e-4,.0014,-8e-4,-8e-4,.0012],expression:[8e-4,.0481,.1653,.0784,.1008,-.3992,.5088,-.02,.0542,.001,.3723,-.0151,-.0986,.0283,-.0033,-.0121,.2634,.1202,.0036,-.0529,-.0245,-.0297,-.1085,.0495,.3264,.0083,4e-4,-.0314,.1459,-.1142,-.003,1e-4,.1154,-.0035,-.0285,-.0184,-1e-4,.0012,.0035,.079,-.0103,.0043,.011,-.004,-.0774,-.0047,-.023,.0284,-.0048,-.001,.0149,-.0039,.0046,.0528,-6e-4,.0063,.0376,.0096,.0558,-.0295,0,-.0311,-.0634,.0062,.0176,-.0154,-.0109,-.1149,.0192,.0326,.0121,.0237,.0034,.0262,-.0778,.0014,-.0045,-.0203,.0077,.0588,.0575,.008,-.0557,-.0095,.0032,.0054,-.0042]},7:{mean:[.0038,-.2927,.833],identity:[6e-4,-.0109,.0073,-6e-4,-.0044,.0017,-1e-4,-.0022,-6e-4,-3e-4,.0065,-.0014,-6e-4,-.0051,-.0046,3e-4,-.0029,.003,2e-4,.0038,-6e-4,0,-.0012,6e-4,-4e-4,.0053,-.0075,-2e-4,-7e-4,-.0063,.0014,.0026,.0019,-.0022,.0018,.0028,-1e-4,-.0012,.0011,9e-4,.0019,-.0019,-1e-4,.0012,-.0022,-3e-4,-.0012,4e-4,-8e-4,3e-4,-3e-4,0,.0017,.0021,-4e-4,.0012,.0022,-3e-4,.0026,-3e-4,4e-4,-.0026,.0032,-.0019,3e-4,.0015,1e-4,-.0015,.0013,-1e-4,1e-4,-.0029,0,-2e-4,-.0028,-7e-4,.0019,-3e-4,-2e-4,.0012,9e-4,4e-4,-.001,-.002,-.0016,.0011,-1e-4,3e-4,.0021,2e-4,-.0014,-9e-4,-1e-4,0,-2e-4,-.001,.0015,.0018,1e-4,7e-4,8e-4,.0017,.001,-9e-4,1e-4,4e-4,.0023,-1e-4,.0012,1e-4,-8e-4,2e-4,.0018,6e-4,3e-4,1e-4,.0012,-3e-4,.002,-6e-4,0,-1e-4,-.0022,4e-4,5e-4,.0011,2e-4,-.0013,-.0023,6e-4,6e-4,-5e-4,-5e-4,9e-4,2e-4,2e-4,.0011,-3e-4,.0011,.0015,.0011,3e-4,2e-4,8e-4,-4e-4,-8e-4,3e-4,0,.0012,-1e-4],expression:[.026,.1107,.3257,.1917,.3206,-1.1348,1.0791,-.035,.1549,-.0103,.6953,1e-4,-.3262,.068,.0219,-.0044,.3643,.2178,.0168,-.2478,-.1321,-.0414,-.3782,-.0617,.5088,-.0031,-.0311,-.0497,.0948,-.385,.0148,-.2224,-.1415,-.0074,.0863,-.203,3e-4,-.0081,.0057,.1164,-.0039,.0015,-.0024,.0505,.1532,.0039,-.0148,-.0753,.0163,.0058,-.0339,.0036,.0252,-.0569,-.0041,.0163,-.0361,.0035,-.018,.1266,0,-.0163,-.0046,.0133,-.1656,.2134,.0191,.0057,.0734,.0681,.0039,-.0144,.029,-.074,-.046,.0122,.0072,-.0162,-.0349,-.1234,.0212,-.0355,.0535,.1218,.0043,-.024,.0016]},8:{mean:[-.0018,-.3037,.8491],identity:[2e-4,-.0112,.0077,-4e-4,-.0044,.0024,1e-4,-.0021,-4e-4,-4e-4,.0066,-.002,-4e-4,-.0052,-.0044,3e-4,-.0032,.0039,4e-4,.0042,-3e-4,2e-4,-.0012,-2e-4,-2e-4,.0052,-.0083,-1e-4,-8e-4,-.0056,.0017,.0024,.0019,-.0023,.002,.0027,-2e-4,-.0013,.002,9e-4,.0017,-.0028,-2e-4,.0012,-.0026,0,-.0016,2e-4,-5e-4,3e-4,-.001,-1e-4,.0016,.0016,-3e-4,.0012,.0012,-3e-4,.0027,-3e-4,3e-4,-.0026,.0037,-.0017,1e-4,.0016,1e-4,-.0015,.0024,1e-4,2e-4,-.0039,0,-3e-4,-.0033,-6e-4,.0017,-4e-4,-4e-4,.0012,.0018,2e-4,-.0012,-.002,-.0017,.0013,-.001,3e-4,.0021,4e-4,-.0012,-6e-4,-2e-4,0,-4e-4,-9e-4,.0016,.0017,4e-4,7e-4,7e-4,.001,9e-4,-8e-4,5e-4,5e-4,.0023,.001,.0013,2e-4,-4e-4,2e-4,.0017,8e-4,3e-4,-1e-4,9e-4,-4e-4,.0019,-5e-4,3e-4,0,-.0025,3e-4,3e-4,.0011,1e-4,-.0015,-.001,7e-4,7e-4,-7e-4,-7e-4,8e-4,0,1e-4,.0013,-4e-4,.0012,.0014,.0017,4e-4,2e-4,3e-4,-3e-4,-9e-4,1e-4,0,.001,-4e-4],expression:[-.0092,2.8809,1.416,.2018,1.1982,-.9351,1.4492,-.1902,.1749,.0305,-.167,-.1572,-.7354,-.0492,.0115,.0608,.2971,.1179,.0046,-.0997,-.0041,-.0104,.3379,-.1854,.009,.0366,-.0583,.0269,-.0029,-.4175,-8e-4,.1794,.0752,-.0135,.1158,.1234,5e-4,.003,-.0032,.1034,-.0504,-.0055,-.0076,-.0772,.224,.0047,.0229,-.1044,.0162,-.0161,-.0241,-.0083,-.1388,-.0434,-.0125,-.0997,-.0327,-.0111,.1576,-.3911,.0199,.2522,.142,.0059,-.0721,-.0045,.031,-.1136,-.1685,.0641,.0142,.0312,.0426,-.1366,.1011,.0101,-.0157,.0018,-.0103,-.0344,.0907,.0016,.1168,-.0806,.0104,-.0057,.0111]},9:[{mean:[.0038,-.2927,.833],identity:[6e-4,-.0109,.0073,-6e-4,-.0044,.0017,-1e-4,-.0022,-6e-4,-3e-4,.0065,-.0014,-6e-4,-.0051,-.0046,3e-4,-.0029,.003,2e-4,.0038,-6e-4,0,-.0012,6e-4,-4e-4,.0053,-.0075,-2e-4,-7e-4,-.0063,.0014,.0026,.0019,-.0022,.0018,.0028,-1e-4,-.0012,.0011,9e-4,.0019,-.0019,-1e-4,.0012,-.0022,-3e-4,-.0012,4e-4,-8e-4,3e-4,-3e-4,0,.0017,.0021,-4e-4,.0012,.0022,-3e-4,.0026,-3e-4,4e-4,-.0026,.0032,-.0019,3e-4,.0015,1e-4,-.0015,.0013,-1e-4,1e-4,-.0029,0,-2e-4,-.0028,-7e-4,.0019,-3e-4,-2e-4,.0012,9e-4,4e-4,-.001,-.002,-.0016,.0011,-1e-4,3e-4,.0021,2e-4,-.0014,-9e-4,-1e-4,0,-2e-4,-.001,.0015,.0018,1e-4,7e-4,8e-4,.0017,.001,-9e-4,1e-4,4e-4,.0023,-1e-4,.0012,1e-4,-8e-4,2e-4,.0018,6e-4,3e-4,1e-4,.0012,-3e-4,.002,-6e-4,0,-1e-4,-.0022,4e-4,5e-4,.0011,2e-4,-.0013,-.0023,6e-4,6e-4,-5e-4,-5e-4,9e-4,2e-4,2e-4,.0011,-3e-4,.0011,.0015,.0011,3e-4,2e-4,8e-4,-4e-4,-8e-4,3e-4,0,.0012,-1e-4],expression:[.026,.1107,.3257,.1917,.3206,-1.1348,1.0791,-.035,.1549,-.0103,.6953,1e-4,-.3262,.068,.0219,-.0044,.3643,.2178,.0168,-.2478,-.1321,-.0414,-.3782,-.0617,.5088,-.0031,-.0311,-.0497,.0948,-.385,.0148,-.2224,-.1415,-.0074,.0863,-.203,3e-4,-.0081,.0057,.1164,-.0039,.0015,-.0024,.0505,.1532,.0039,-.0148,-.0753,.0163,.0058,-.0339,.0036,.0252,-.0569,-.0041,.0163,-.0361,.0035,-.018,.1266,0,-.0163,-.0046,.0133,-.1656,.2134,.0191,.0057,.0734,.0681,.0039,-.0144,.029,-.074,-.046,.0122,.0072,-.0162,-.0349,-.1234,.0212,-.0355,.0535,.1218,.0043,-.024,.0016]},{mean:[-.0018,-.3037,.8491],identity:[2e-4,-.0112,.0077,-4e-4,-.0044,.0024,1e-4,-.0021,-4e-4,-4e-4,.0066,-.002,-4e-4,-.0052,-.0044,3e-4,-.0032,.0039,4e-4,.0042,-3e-4,2e-4,-.0012,-2e-4,-2e-4,.0052,-.0083,-1e-4,-8e-4,-.0056,.0017,.0024,.0019,-.0023,.002,.0027,-2e-4,-.0013,.002,9e-4,.0017,-.0028,-2e-4,.0012,-.0026,0,-.0016,2e-4,-5e-4,3e-4,-.001,-1e-4,.0016,.0016,-3e-4,.0012,.0012,-3e-4,.0027,-3e-4,3e-4,-.0026,.0037,-.0017,1e-4,.0016,1e-4,-.0015,.0024,1e-4,2e-4,-.0039,0,-3e-4,-.0033,-6e-4,.0017,-4e-4,-4e-4,.0012,.0018,2e-4,-.0012,-.002,-.0017,.0013,-.001,3e-4,.0021,4e-4,-.0012,-6e-4,-2e-4,0,-4e-4,-9e-4,.0016,.0017,4e-4,7e-4,7e-4,.001,9e-4,-8e-4,5e-4,5e-4,.0023,.001,.0013,2e-4,-4e-4,2e-4,.0017,8e-4,3e-4,-1e-4,9e-4,-4e-4,.0019,-5e-4,3e-4,0,-.0025,3e-4,3e-4,.0011,1e-4,-.0015,-.001,7e-4,7e-4,-7e-4,-7e-4,8e-4,0,1e-4,.0013,-4e-4,.0012,.0014,.0017,4e-4,2e-4,3e-4,-3e-4,-9e-4,1e-4,0,.001,-4e-4],expression:[-.0092,2.8809,1.416,.2018,1.1982,-.9351,1.4492,-.1902,.1749,.0305,-.167,-.1572,-.7354,-.0492,.0115,.0608,.2971,.1179,.0046,-.0997,-.0041,-.0104,.3379,-.1854,.009,.0366,-.0583,.0269,-.0029,-.4175,-8e-4,.1794,.0752,-.0135,.1158,.1234,5e-4,.003,-.0032,.1034,-.0504,-.0055,-.0076,-.0772,.224,.0047,.0229,-.1044,.0162,-.0161,-.0241,-.0083,-.1388,-.0434,-.0125,-.0997,-.0327,-.0111,.1576,-.3911,.0199,.2522,.142,.0059,-.0721,-.0045,.031,-.1136,-.1685,.0641,.0142,.0312,.0426,-.1366,.1011,.0101,-.0157,.0018,-.0103,-.0344,.0907,.0016,.1168,-.0806,.0104,-.0057,.0111]}],10:{mean:[-.007,-.6338,.7695],identity:[1e-4,-.0296,.0089,-6e-4,-.0073,-.0065,-1e-4,-.0029,-.0031,-2e-4,.0128,.0065,0,-.0116,-.014,-1e-4,-.0037,-.0052,-5e-4,.0028,.003,-4e-4,.0041,.0015,6e-4,.0088,-.0076,-.0011,-.0015,-.0073,7e-4,-.0011,.0019,-.0011,-5e-4,.0031,-1e-4,-.0018,9e-4,.0018,.0038,.0068,-4e-4,-1e-4,.0061,.0024,.0024,-.0066,-6e-4,.0051,.0014,.002,.005,-.0035,1e-4,-.0034,-.004,-7e-4,.001,-8e-4,1e-4,-5e-4,-.0021,2e-4,.0045,-.0043,-.0012,-.0024,-.0014,6e-4,.0034,.0027,-8e-4,-.0053,.0014,1e-4,.0013,-.0018,6e-4,-.0015,.0029,-2e-4,-.0035,1e-4,-.002,.0012,.0048,.0011,1e-4,-2e-4,-3e-4,-.0012,.0033,6e-4,.002,-.0033,4e-4,.0028,2e-4,8e-4,-1e-4,-.0018,8e-4,.0017,1e-4,9e-4,8e-4,3e-4,.0019,-.001,.001,-7e-4,-.0013,0,1e-4,.0032,-1e-4,1e-4,.0011,-4e-4,5e-4,-7e-4,.0018,-3e-4,2e-4,7e-4,8e-4,-.0014,7e-4,.0015,-6e-4,-1e-4,-4e-4,.0019,-9e-4,-6e-4,-6e-4,-.0012,2e-4,-.0012,-8e-4,4e-4,6e-4,-.0011,3e-4,9e-4,-4e-4,6e-4,-7e-4,-4e-4],expression:[-.0603,2.0527,1.9014,.1025,.6143,.3804,.7881,-.1023,-.0764,.0454,-.2487,-.5073,-.6704,-.031,-.0181,.0466,.0651,-.0726,-.0033,-.0022,.2944,.0101,.1669,-.5225,-.4685,.0236,.0079,.011,.2173,.4529,.0121,-.2104,-.0673,.0225,-.4023,.0317,-9e-4,.0076,-.0032,.0333,.0523,.0129,-.001,-.0319,-.0139,.0015,-.0044,.0247,-5e-4,.0161,.0061,.0074,.0776,-.0176,.007,.055,-.017,.0052,-.1819,.0294,-.0161,-.0337,.0226,-.008,-.0297,.1967,-.0095,.0383,.2039,.0434,.0271,-.0064,-.0037,-.0294,-.024,.0024,-.0137,-.0209,-.0031,.0628,.1003,-.0126,-.056,-.0097,-.0012,-.0041,.0162]},11:{mean:[.2505,.3833,.7793],identity:[.0098,.012,.0077,-6e-4,-3e-4,0,1e-4,.0082,-7e-4,.0019,-.0036,-.0012,2e-4,.0119,-.0039,.001,1e-4,.0031,-.0036,-.0059,-7e-4,.0026,.0028,-.0011,9e-4,-.0032,8e-4,.0029,.0043,3e-4,.0025,-9e-4,.0047,.0016,.0022,.0018,-.001,.0025,-.003,-.001,.0033,.0034,4e-4,-.0052,.0024,-2e-4,.001,-.0014,-6e-4,.0038,-.0015,-6e-4,-.001,-.0011,-4e-4,-.001,4e-4,-7e-4,.0036,-8e-4,-2e-4,-.0019,5e-4,3e-4,-6e-4,-.0024,-.0017,-.0014,6e-4,-4e-4,-.0031,-.0013,-6e-4,.0042,2e-4,-2e-4,-.002,-3e-4,8e-4,.0018,-5e-4,-6e-4,-2e-4,-6e-4,.0025,.0019,.001,8e-4,-.0015,-.0012,-1e-4,-6e-4,-4e-4,.0023,-.001,6e-4,-2e-4,-.001,0,-9e-4,-.002,-.0011,1e-4,0,-1e-4,5e-4,6e-4,9e-4,-6e-4,5e-4,8e-4,-1e-4,-2e-4,-.0017,-6e-4,-4e-4,4e-4,-6e-4,.0012,4e-4,3e-4,-7e-4,3e-4,-2e-4,6e-4,1e-4,5e-4,-.0019,-6e-4,4e-4,7e-4,-1e-4,1e-4,5e-4,.001,-6e-4,-.002,-7e-4,-5e-4,5e-4,3e-4,7e-4,.0014,0,5e-4,-5e-4,-2e-4,3e-4,-6e-4,-1e-4],expression:[-9e-4,-3e-4,.0032,-.003,-.0034,-.0031,.0014,0,4e-4,-.0139,-.0764,.0275,-.002,-.0089,.0031,-.0503,-.0771,.038,-.1323,-.3523,.1368,-.0474,-.0564,.0296,-.0045,.007,-.0013,.0153,.1259,-.0464,.0866,.2175,-.0786,-.0413,-.1248,.0448,-.1777,-.4607,.1782,-5e-4,-.005,.0016,.0629,.1506,-.0624,.0545,.2576,-.0864,-.0231,-.0552,.0244,-.0136,-.0359,.0169,-.1158,-.2996,.1214,-.0235,-.0354,.0165,-.0745,-.1079,.0475,-.0116,-.0039,.0012,.0013,-.0108,-8e-4,.0044,-.0027,-1e-4,-.0694,.0363,.0071,.1462,-.136,.0047,.009,-.0177,.0038,-.0271,.0118,.0011,-.0399,-.0111,.0123]},12:{mean:[-.2981,.3828,.7563],identity:[-.0116,.014,.0054,.0018,5e-4,0,-4e-4,.0068,-.0013,-.0019,-.0048,-5e-4,5e-4,.0108,-.0036,-.0029,-.0018,.0029,.0043,-.0077,6e-4,-.0017,.002,-.0011,-.0014,-.0035,.0015,-.0024,.0011,4e-4,-.0048,2e-4,.0029,-1e-4,-1e-4,.003,.0019,.0035,-.0016,-4e-4,.0039,.0019,1e-4,-.0064,.004,3e-4,.002,-.0021,.0017,.0011,-.001,.0026,.0025,-5e-4,2e-4,-3e-4,-5e-4,-7e-4,9e-4,-4e-4,-.001,-.0022,.001,9e-4,-.0014,7e-4,.0011,-.001,-5e-4,-8e-4,-.0017,-.0021,9e-4,.0036,5e-4,4e-4,-.0031,6e-4,-.0015,.0027,2e-4,1e-4,-.0011,2e-4,-.0011,-.0018,4e-4,-.0013,-2e-4,7e-4,9e-4,-3e-4,.001,-.0021,8e-4,6e-4,-9e-4,4e-4,-7e-4,8e-4,-.002,-.0013,0,7e-4,-.0012,-1e-4,.0014,.0014,-1e-4,.0013,6e-4,6e-4,-.0014,-.0015,-9e-4,1e-4,1e-4,9e-4,7e-4,0,1e-4,-.001,-4e-4,0,-5e-4,1e-4,-3e-4,4e-4,-5e-4,-1e-4,-.0011,2e-4,0,1e-4,8e-4,8e-4,0,-7e-4,-8e-4,0,2e-4,-1e-4,.001,3e-4,4e-4,-2e-4,0,5e-4,.0018,-1e-4],expression:[0,-4e-4,.0028,.0036,-8e-4,-.0026,-.0015,-8e-4,3e-4,.0075,-.0608,.025,.0019,-.0076,.0033,.0379,-.0437,.0335,.0964,-.2452,.1233,.0368,-.0251,.0253,.0033,.0097,-.0021,-.0095,.1171,-.0475,-.064,.1548,-.0718,.0228,-.0831,.0343,-.1924,.6206,-.2771,.0021,-.0143,.0056,-.0705,.2522,-.1116,-.0692,.4229,-.1592,-.0093,.05,-.0185,.0948,-.3196,.1437,-.0184,.0194,-.0131,.0205,-.0353,.0201,.0676,-.135,.0672,.0137,-.0311,.0118,3e-4,-.0077,-2e-4,-.0151,4e-4,-.0058,.029,-.0139,.0163,.1324,.1819,-.0039,.0406,.0501,.0017,.0331,.0161,.0062,-.0235,-.0446,.0047]}};let Nt=1,yt=new Map;function St(e){return yt.get(e)}class wt{constructor(e){this._name=e,this.anchor_pose=P()}_getVertex(e,t,a){let i=a.mean.slice();for(let t=0;t<50;t++)i[0]+=e[t]*a.identity[3*t+0],i[1]+=e[t]*a.identity[3*t+1],i[2]+=e[t]*a.identity[3*t+2];for(let e=0;e<29;e++)i[0]+=t[e]*a.expression[3*e+0],i[1]+=t[e]*a.expression[3*e+1],i[2]+=t[e]*a.expression[3*e+2];return i}update(e,t,a){let i,r=gt[this._name.toString()];if(r){if(Array.isArray(r)){i=this._getVertex(e,t,r[0]);let a=this._getVertex(e,t,r[1]);i[0]=.5*(i[0]+a[0]),i[1]=.5*(i[1]+a[1]),i[2]=.5*(i[2]+a[2])}else i=this._getVertex(e,t,r);a&&(i[0]*=-1),T(this.anchor_pose,i)}}}const It={incompatible:()=>!("function"==typeof Promise&&"object"==typeof WebAssembly&&navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices&&navigator.mediaDevices.getUserMedia),incompatible_ui:()=>{const e=document.createElement("div");e.append(function(){let e=document.createElement("div"),t="a recent web browser";navigator.userAgent.match(/Android/i)?(t="Chrome for Android",window.location.href="googlechrome://navigate?url="+encodeURI(window.location.href),setTimeout((()=>{window.location.href="samsunginternet://open?url="+encodeURI(window.location.href)}),2e3)):navigator.userAgent.match(/iPhone|iPod|iPad/i)&&(t="Safari",e.classList.add("zee-launcher-browser-safari")),e.classList.add("zee-launcher-unsupported"),e.innerHTML=`\n <style>.zee-launcher-unsupported {\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n align-items: center;\n }\n .zee-launcher-browser-logo {\n background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 210 211' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(-82 -146)' fill-rule='nonzero' stroke='%23ffffff' stroke-width='2'%3E%3Cg transform='translate(83 146.5)'%3E%3Cpath d='m55.146 88.785l-32.039-49.472c19.962-24.947 49.904-38.684 80.517-38.81 17.739-0.12642 35.855 4.4246 52.336 13.99 18.2 10.619 32.039 25.874 40.846 43.404l-86.095-4.5511c-24.365-1.4327-47.556 12.347-55.565 35.439zm13.797 16.224c0 19.468 15.684 35.229 35.059 35.229 19.374 0 35.059-15.76 35.059-35.229 0-19.468-15.684-35.229-35.059-35.229-19.374 0-35.059 15.718-35.059 35.229zm132.06-37.588l-58.585 3.034c15.894 18.668 16.145 45.595 2.7678 66.243l-47.01 72.648c19.5 1.0535 39.588-3.2447 57.788-13.864 45.039-26.126 63.282-80.908 45.039-128.06zm-144.93 57.647l-39.126-77.326c-10.694 16.434-16.942 36.156-16.942 57.267 0 52.253 38.078 95.53 87.856 103.2l26.713-52.59c-24.155 4.5511-47.472-8.765-58.501-30.551z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");\n width: 211px;\n height: 211px;\n margin-bottom: 25%;\n margin-top: -60px;\n background-repeat: no-repeat;\n }\n .zee-launcher-browser-safari .zee-launcher-browser-logo {\n background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 211 211' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(-82 -146)' fill-rule='nonzero' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m180 251.86c0-4.0385 2.9377-7.855 7.2552-7.855 3.9614 0 7.7448 2.8402 7.7448 7.145 0 4.0385-2.8487 7.855-7.1662 7.855-4.0059 0-7.8338-2.9734-7.8338-7.145zm112-0.35503c0 57.728-46.772 104.5-104.5 104.5s-104.5-46.772-104.5-104.5 46.772-104.5 104.5-104.5 104.5 46.772 104.5 104.5zm-12-1c0-51.649-41.851-93.5-93.5-93.5s-93.5 41.851-93.5 93.5 41.851 93.5 93.5 93.5 93.5-41.851 93.5-93.5zm-30.624 40.983c0 1.5095 5.4495 4.2768 6.8328 5.1154-11.486 17.401-29.26 29.938-49.423 34.928l-1.8444-7.757c-0.12576-1.0482-0.79646-1.174-1.7606-1.174-0.79646 0-1.2576 1.174-1.1737 1.7611l1.8444 7.8828c-5.5753 1.174-11.234 1.7611-16.935 1.7611-15.217 0-30.182-4.2768-43.177-12.202 0.71263-1.174 5.1141-7.5474 5.1141-8.4698 0-0.79666-0.71263-1.5095-1.5091-1.5095-1.6348 0-5.1141 6.9603-6.1621 8.344-17.522-11.615-30.182-29.602-35.044-50.148l8.0066-1.761c0.92222-0.25158 1.1737-0.92246 1.1737-1.7611 0-0.79667-1.1737-1.2579-1.8444-1.174l-7.8389 1.803c-1.048-5.3251-1.6348-10.692-1.6348-16.143 0-15.556 4.4015-30.86 12.66-43.984 1.1737 0.71281 6.749 4.5284 7.6712 4.5284 0.79646 0 1.5091-0.58702 1.5091-1.3837 0-1.6353-6.1621-4.7381-7.5455-5.7024 11.821-17.275 29.805-29.728 50.219-34.34l1.7606 7.757c0.25152 0.92246 0.92222 1.174 1.7606 1.174 0.83838 0 1.2576-1.174 1.1737-1.8449l-1.7606-7.6732c5.1141-0.92246 10.312-1.5095 15.552-1.5095 15.552 0 30.727 4.4026 43.973 12.663-0.79646 1.174-4.5273 6.6249-4.5273 7.5474 0 0.79667 0.58687 1.5095 1.3833 1.5095 1.6348 0 4.7369-6.0379 5.5753-7.4216 17.187 11.615 29.469 29.351 34.248 49.561l-6.4975 1.3837c-1.048 0.25158-1.1737 0.92246-1.1737 1.8449 0 0.79667 1.1737 1.2579 1.7606 1.174l6.6232-1.5095c1.048 5.3251 1.6348 10.776 1.6348 16.227 0 15.221-4.1919 30.189-12.073 43.062-1.1737-0.58702-6.0364-4.0672-6.9586-4.0672-0.8803 0-1.5929 0.71281-1.5929 1.5095zm-14.876-98.483c-5.2178 4.88-53.863 49.48-55.228 51.8l-38.772 64.2c5.0974-4.76 53.863-49.6 55.108-51.72l38.892-64.28z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");\n }\n .zee-launcher-unsupported-message {\n text-align: center;\n width: 250px;\n font-family: sans-serif;\n color: #ffffff;\n }\n .zee-launcher-unsupported-message-copy {\n border: 1px solid #ffffff;\n border-radius: 5px;\n margin-top: 10px;\n }\n #zee-launcher-unsupported-message-input {\n border: none;\n padding: 10px;\n border-radius: 0px;\n border-right: 1px solid #344B60;\n height: 40px;\n color: #ffffff;\n background-color: black;\n box-sizing: border-box;\n width: calc(100% - 65px);\n margin-left: 5px;\n }\n #zee-launcher-unsupported-message-button {\n background: none;\n border: none;\n outline: none;\n text-transform: uppercase;\n color: #ffffff;\n height: 40px;\n display: inline-block;\n width: 59px;\n }\n .zee-launcher-unsupported-message-before-copy {\n height: 100px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 20px;\n }\n .zee-launcher-unsupported-message-copied .zee-launcher-unsupported-message-before-copy {\n display: none;\n }\n .zee-launcher-unsupported-message-after-copy {\n display: none;\n }\n .zee-launcher-unsupported-message-copied .zee-launcher-unsupported-message-after-copy {\n height: 100px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 20px;\n }\n </style>\n <div class="zee-launcher-browser-logo"></div>\n <div class="zee-launcher-unsupported-message">Open with ${t} to access this content.</div>\n <div class="zee-launcher-unsupported-message-before-copy">\n <div class="zee-launcher-unsupported-message ">Tap below to copy the address for easy pasting into ${t}.</div>\n <div class="zee-launcher-unsupported-message-copy"><input id="zee-launcher-unsupported-message-input" type="text/"><button id="zee-launcher-unsupported-message-button">Copy</button></div>\n </div>\n <div class="zee-launcher-unsupported-message zee-launcher-unsupported-message-after-copy">COPIED! Now paste into ${t}'s address bar to experience the content.</div>\n `;let a=e.querySelector("#zee-launcher-unsupported-message-input")||document.createElement("input");a.value=window.location.href;let i=()=>{if(navigator.userAgent.match(/iPhone|iPod|iPad/i)){let e=document.createRange();e.selectNodeContents(a);let t=window.getSelection();if(!t)return;t.removeAllRanges(),t.addRange(e),a.setSelectionRange(0,999999999)}else a.select();document.execCommand("copy"),a.blur(),e.classList.toggle("zee-launcher-unsupported-message-copied",!0)};return(e.querySelector("#zee-launcher-unsupported-message-button")||document.createElement("button")).addEventListener("click",i),a.addEventListener("click",i),e}()),Object.assign(e.style,{position:"fixed",width:"100%",height:"100%",top:"0px",left:"0px",zIndex:1001,backgroundColor:"rgba(0, 0, 0, 0.9)",fontFamily:"sans-serif",color:"white",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),e.classList.add("zee_launcher_compatibility"),document.body.append(e)}};let Rt=1,At=new Map;class Pt extends Ve{constructor(e,t){super(),this._impl=e,this._pipeline=t,this._packetNumber=0,this._motionUpdatesQueued=0,this._motionUpdatesSent=0,this._minFrameGapMs=0,this._lastUpdateTime=0}static create(e){let t=Rt++;return At.set(t,new Pt(t,e)),we("sequence_source_source_t initialized"),t}static get(e){return At.get(e)}loadFromMemory(e){try{this._decoder=new Oe(e),this._packetNumber=0,this._lastUpdateTime=0}catch(e){Ie("Unable to decode sequence:",e)}}maxPlaybackFpsSet(e){this._minFrameGapMs=e<=0?0:1e3/e}setTime(e){e<0?delete this._time:this._time=e}getFrame(e){var t;let a=mt.get(this._pipeline);if(!a)return;if(!this._decoder)return;if(this._submitMotionUpdates(a),this._motionUpdatesQueued>this._motionUpdatesSent)return;if(e)return;let i=null!==(t=this._time)&&void 0!==t?t:performance.now();if(i<this._lastUpdateTime+this._minFrameGapMs)return;if(this._packetNumber>=this._decoder.numberPackets)return;let r=this._decoder.dataByPacket.get(this._packetNumber);if(r.type!=De.CAMERA_FRAME)return;this._packetNumber++;let o=a.cameraPixelArrays.pop();for(;o&&o.byteLength!==r.greyscale.byteLength;)o=a.cameraPixelArrays.pop();o||(o=new ArrayBuffer(r.greyscale.byteLength)),new Uint8Array(o).set(r.greyscale),this._lastUpdateTime=i;let _={data:o,cameraSourceData:r.greyscale,cameraModel:r.cameraModel,cameraToDevice:r.cameraToDevice,dataWidth:r.width,dataHeight:r.height,texture:void 0,userFacing:r.userFacing,uvTransform:P(),cameraSource:this};this._submitMotionUpdates(a);const s=a.registerToken(_);a.sendDataToWorker(_.data||new ArrayBuffer(0),s,_.dataWidth,_.dataHeight,_.userFacing,_.cameraToDevice,_.cameraModel,-1)}destroy(){At.delete(this._impl),this.pause()}start(){var e;let t=mt.get(this._pipeline);t&&t.currentCameraSource!==this&&(null===(e=t.currentCameraSource)||void 0===e||e.pause(),t.currentCameraSource=this)}pause(){let e=mt.get(this._pipeline);e&&e.currentCameraSource===this&&(e.currentCameraSource=void 0)}uploadGL(e){let t=mt.get(this._pipeline);if(!t)return;let a=null==t?void 0:t.glContext;a&&(e.texture||(e.texture=t.getVideoTexture()),e.texture&&e.cameraSourceData&&(a.bindTexture(a.TEXTURE_2D,e.texture),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.LUMINANCE,e.dataWidth,e.dataHeight,0,a.LUMINANCE,a.UNSIGNED_BYTE,new Uint8Array(e.cameraSourceData)),a.bindTexture(a.TEXTURE_2D,null)))}_submitMotionUpdates(e){let t=!1;for(;this._packetNumber<this._decoder.numberPackets;){let a=this._decoder.dataByPacket.get(this._packetNumber);if(a.type==De.CAMERA_FRAME)break;switch(a.type){case De.ACCELEROMETER:e.motionAccelerometerSubmit(a.t,a.x,a.y,a.z),t=!0;break;case De.ROTATION_RATE:e.motionRotationRateSubmit(a.t,a.x,a.y,a.z),t=!0;break;case De.ATTITUDE:e.motionAttitudeSubmit(a.t,a.x,a.y,a.z),t=!0;break;case De.ATTITUDE_MATRIX:e.motionAttitudeMatrix(a.attitude),t=!0;break;case De.ACCELEROMETER_WO_GRAVITY_INT:e.motionAccelerometerWithoutGravitySubmitInt(a.t,a.int,a.x,a.y,a.z),t=!0;break;case De.ACCELEROMETER_W_GRAVITY_INT:e.motionAccelerometerWithGravitySubmitInt(a.t,a.int,a.x,a.y,a.z),t=!0;break;case De.ATTITUDE_INT:e.motionAttitudeSubmitInt(a.t,a.int,a.x,a.y,a.z),t=!0;break;case De.ROTATION_RATE_INT:e.motionRotationRateSubmitInt(a.t,a.int,a.x,a.y,a.z),t=!0}this._packetNumber++}t&&(this._motionUpdatesQueued++,setTimeout((()=>{this._motionUpdatesSent++}),0))}}const zt='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="80.408" viewBox="0 0 250 80.408"><defs><filter id="a" x="0" y="1.182" width="250" height="79.226" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="b"/><feFlood flood-opacity="0.161"/><feComposite operator="in" in2="b"/><feComposite in="SourceGraphic"/></filter><filter id="c" x="6.929" y="0" width="111.975" height="40.988" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="d"/><feFlood flood-opacity="0.161"/><feComposite operator="in" in2="d"/><feComposite in="SourceGraphic"/></filter></defs><g transform="translate(-26.873 -414.029)"><g transform="translate(44 423.332)"><g transform="translate(0 0.635)" style="isolation:isolate"><g transform="translate(0 0)"><g transform="matrix(1, 0, 0, 1, -17.13, -9.94)" filter="url(#a)"><path d="M55.766,44.97V11.8h8.272v2.6h.089a8.258,8.258,0,0,1,7.046-3.357,11.4,11.4,0,0,1,8.5,3.686,12.667,12.667,0,0,1,3.278,8.622,12.509,12.509,0,0,1-3.25,8.57,11.353,11.353,0,0,1-8.429,3.6,9.533,9.533,0,0,1-7.229-2.95V43.378l-8.269,1.594h0Zm8-21.671a4.958,4.958,0,0,0,5.319,5.15A4.957,4.957,0,0,0,74.4,23.3a5.321,5.321,0,0,0-10.638,0ZM16.105,18.412H2.752V11.038H30.9L14.887,37.16H38.22L0,44.534ZM131.469,38.45a.761.761,0,0,1-.484-.166.582.582,0,0,1-.228-.419l-.553-3.586a12.243,12.243,0,0,1-1.782-.721l-2.789,2.084a.718.718,0,0,1-.5.176.688.688,0,0,1-.495-.214,25.864,25.864,0,0,1-3.264-3.274.754.754,0,0,1,.018-.9c.2-.277.543-.713,1.01-1.3.483-.6.832-1.05,1.068-1.374a9.614,9.614,0,0,1-.811-1.929l-3.62-.527a.631.631,0,0,1-.416-.243.728.728,0,0,1-.159-.458V21.283a.743.743,0,0,1,.159-.448.6.6,0,0,1,.376-.253l3.68-.546a9.511,9.511,0,0,1,.772-1.792c-.523-.733-1.235-1.638-2.117-2.69a.731.731,0,0,1-.2-.467.82.82,0,0,1,.178-.449,19.577,19.577,0,0,1,1.949-2.095c.953-.924,1.582-1.393,1.87-1.393a.861.861,0,0,1,.515.195l2.729,2.084a11.551,11.551,0,0,1,1.8-.741,31.446,31.446,0,0,1,.573-3.623.666.666,0,0,1,.712-.546h4.392a.757.757,0,0,1,.485.166.58.58,0,0,1,.228.419l.553,3.584a12.576,12.576,0,0,1,1.782.722l2.809-2.085a.641.641,0,0,1,.475-.176.776.776,0,0,1,.5.195,27.035,27.035,0,0,1,3.264,3.313.625.625,0,0,1,.139.429.742.742,0,0,1-.159.447c-.2.271-.525.7-1.008,1.3-.467.581-.827,1.043-1.069,1.373a11.8,11.8,0,0,1,.812,1.91l3.62.545a.626.626,0,0,1,.416.244.736.736,0,0,1,.158.457v4.325a.755.755,0,0,1-.158.449.6.6,0,0,1-.4.253l-3.66.545a12.692,12.692,0,0,1-.772,1.774c.465.653,1.177,1.559,2.117,2.688a.751.751,0,0,1,.2.488.648.648,0,0,1-.178.448,19.638,19.638,0,0,1-1.958,2.1c-.947.918-1.573,1.384-1.861,1.384a.976.976,0,0,1-.515-.176l-2.731-2.1a11.361,11.361,0,0,1-1.8.741,31.849,31.849,0,0,1-.573,3.625.668.668,0,0,1-.713.546Zm-1.385-18.491a4.935,4.935,0,0,0,0,7.053,5.12,5.12,0,0,0,7.163,0,4.931,4.931,0,0,0,0-7.053,5.117,5.117,0,0,0-7.163,0Zm69.969,14.868a18.523,18.523,0,0,1-4.932-2.073l1.705-6.1A13.441,13.441,0,0,0,200.779,29a12.14,12.14,0,0,0,4.344.818,4.644,4.644,0,0,0,2.351-.482,1.538,1.538,0,0,0,.806-1.4q0-1.5-3.25-2.242-1.061-.246-1.705-.425a12.335,12.335,0,0,1-5.358-2.589,5.5,5.5,0,0,1-1.671-4.157,6.323,6.323,0,0,1,2.547-5.267,10.993,10.993,0,0,1,6.9-1.972,21.351,21.351,0,0,1,4.552.5,25.439,25.439,0,0,1,4.736,1.557l-1.705,5.491a14.244,14.244,0,0,0-3.319-1.636,10.6,10.6,0,0,0-3.364-.561,4.227,4.227,0,0,0-2.121.426,1.357,1.357,0,0,0-.714,1.232q0,1.211,3.227,2.04.737.2,1.106.291,4.264,1.187,5.935,2.79a5.728,5.728,0,0,1,1.67,4.337A6.781,6.781,0,0,1,213,33.37a11.48,11.48,0,0,1-7.259,2.14A22.577,22.577,0,0,1,200.053,34.827ZM30.568,31.834a12.566,12.566,0,0,1-3.292-8.59,12.567,12.567,0,0,1,3.247-8.568,11.3,11.3,0,0,1,8.423-3.638,9.519,9.519,0,0,1,7.217,3V11.8h8.264V34.735H46.163V32.186h-.09c-1.32,2.071-3.951,3.308-7.038,3.308A11.412,11.412,0,0,1,30.568,31.834Zm5.245-8.545a4.95,4.95,0,0,0,5.312,5.141,4.95,4.95,0,0,0,5.312-5.141A5.023,5.023,0,0,0,41.125,18.1,5.023,5.023,0,0,0,35.813,23.289Zm69.2,11.554-3.527-10.452q-.282-.892-.505-1.8t-.412-1.8a30.821,30.821,0,0,1-.917,3.454l-.047.16L96.1,34.842H90.176l-9.925-23.1h8.632l3.552,10.223q.4,1.12.634,1.955t.377,1.635a23.558,23.558,0,0,1,.917-3.179q.093-.274.141-.411l3.528-10.223h5.056l3.5,10.2.07.183a20.724,20.724,0,0,1,.988,3.43q.141-.732.364-1.532t.647-2.058l3.574-10.223h8.678l-9.971,23.1Zm80.154-.092-8.587-9.841v9.841h-7.888V1.5L176.583,0V22.28l8.272-9.665h9.96L184.584,23.266l11.156,11.485Zm-35.09,0V11.782h8.272v3.761h.091a8.131,8.131,0,0,1,7.546-4.074h1.593V19.3a6.8,6.8,0,0,0-3.5-.761c-4.593,0-5.728,3-5.728,6.941v9.268Z" transform="translate(17.13 15.31)"/></g><g transform="matrix(1, 0, 0, 1, -17.13, -9.94)" filter="url(#c)"><path d="M3.576-12.852v-4.3H6.628a2.867,2.867,0,0,1,1.945.55A2.034,2.034,0,0,1,9.188-15a2.06,2.06,0,0,1-.615,1.608,2.784,2.784,0,0,1-1.945.542ZM2.017-18.464V-6.748H3.576v-4.792H7.153a3.569,3.569,0,0,0,2.683-.9A3.478,3.478,0,0,0,10.747-15a3.45,3.45,0,0,0-.911-2.552,3.638,3.638,0,0,0-2.683-.911Zm11.421,7.483a4.221,4.221,0,0,1,.205-1.37,2.957,2.957,0,0,1,.566-1.009,2.411,2.411,0,0,1,.845-.624A2.515,2.515,0,0,1,16.08-14.2a2.515,2.515,0,0,1,1.026.213,2.411,2.411,0,0,1,.845.624,2.957,2.957,0,0,1,.566,1.009,4.221,4.221,0,0,1,.205,1.37,4.221,4.221,0,0,1-.205,1.37,2.867,2.867,0,0,1-.566,1,2.457,2.457,0,0,1-.845.615,2.515,2.515,0,0,1-1.026.213,2.515,2.515,0,0,1-1.026-.213,2.457,2.457,0,0,1-.845-.615,2.867,2.867,0,0,1-.566-1A4.221,4.221,0,0,1,13.438-10.981Zm-1.477,0a5.573,5.573,0,0,0,.263,1.739,3.97,3.97,0,0,0,.788,1.4,3.623,3.623,0,0,0,1.3.935,4.4,4.4,0,0,0,1.772.336A4.381,4.381,0,0,0,17.86-6.9a3.641,3.641,0,0,0,1.288-.935,3.97,3.97,0,0,0,.788-1.4,5.573,5.573,0,0,0,.263-1.739,5.65,5.65,0,0,0-.263-1.748,3.96,3.96,0,0,0-.788-1.411,3.729,3.729,0,0,0-1.288-.944,4.29,4.29,0,0,0-1.78-.345,4.3,4.3,0,0,0-1.772.345,3.71,3.71,0,0,0-1.3.944,3.96,3.96,0,0,0-.788,1.411A5.65,5.65,0,0,0,11.961-10.981Zm18.28,4.234,2.708-8.484H31.5L29.6-8.29h-.033L27.8-15.231H26.27L24.564-8.29h-.033l-1.92-6.941H21.068l2.724,8.484H25.3l1.707-6.744h.033l1.723,6.744ZM40.169-11.8H35.3a2.905,2.905,0,0,1,.213-.927A2.473,2.473,0,0,1,36-13.492a2.255,2.255,0,0,1,.747-.517,2.429,2.429,0,0,1,.976-.189,2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,40.169-11.8Zm1.346,2.363H40.136a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.105,5.105,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,41.515-9.439Zm1.526-5.793v8.484h1.395v-3.774a5.8,5.8,0,0,1,.164-1.452,2.784,2.784,0,0,1,.525-1.075,2.251,2.251,0,0,1,.952-.673,3.945,3.945,0,0,1,1.428-.23v-1.477a3.135,3.135,0,0,0-1.871.459,3.779,3.779,0,0,0-1.247,1.526h-.033v-1.789ZM54.15-11.8H49.276a2.905,2.905,0,0,1,.213-.927,2.473,2.473,0,0,1,.492-.763,2.255,2.255,0,0,1,.747-.517A2.429,2.429,0,0,1,51.7-14.2a2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,54.15-11.8ZM55.5-9.439H54.117a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.1,5.1,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,55.5-9.439Zm2.593-1.477a5.581,5.581,0,0,1,.131-1.214,3.212,3.212,0,0,1,.427-1.05,2.221,2.221,0,0,1,.788-.738,2.4,2.4,0,0,1,1.2-.279,2.589,2.589,0,0,1,1.231.271,2.389,2.389,0,0,1,.829.714,2.985,2.985,0,0,1,.468,1.026,4.889,4.889,0,0,1,.148,1.206,4.919,4.919,0,0,1-.139,1.165,3.053,3.053,0,0,1-.451,1.026,2.4,2.4,0,0,1-.8.73,2.4,2.4,0,0,1-1.2.279,2.491,2.491,0,0,1-1.173-.263,2.332,2.332,0,0,1-.82-.706,3.122,3.122,0,0,1-.476-1.009A4.338,4.338,0,0,1,58.088-10.916Zm6.564,4.168V-18.464H63.257V-14.1h-.033a2.247,2.247,0,0,0-.566-.632,3.216,3.216,0,0,0-.714-.41,3.583,3.583,0,0,0-.755-.222,4.132,4.132,0,0,0-.706-.066,3.861,3.861,0,0,0-1.7.353,3.487,3.487,0,0,0-1.214.952,4.018,4.018,0,0,0-.722,1.4,5.985,5.985,0,0,0-.238,1.707,5.8,5.8,0,0,0,.246,1.707,4.218,4.218,0,0,0,.73,1.411,3.529,3.529,0,0,0,1.214.968,3.827,3.827,0,0,0,1.715.361,4.135,4.135,0,0,0,1.625-.312A2.053,2.053,0,0,0,63.224-7.9h.033v1.149Zm6.761-11.716V-6.748h1.395V-7.88h.033a2.247,2.247,0,0,0,.566.632,2.982,2.982,0,0,0,.714.4,3.874,3.874,0,0,0,.763.213,4.193,4.193,0,0,0,.7.066,3.94,3.94,0,0,0,1.7-.345,3.4,3.4,0,0,0,1.214-.944,4.018,4.018,0,0,0,.722-1.4,5.985,5.985,0,0,0,.238-1.707,5.8,5.8,0,0,0-.246-1.707,4.312,4.312,0,0,0-.73-1.419,3.488,3.488,0,0,0-1.214-.976,3.827,3.827,0,0,0-1.715-.361,4.043,4.043,0,0,0-1.625.32,2.088,2.088,0,0,0-1.083,1.026h-.033v-4.381Zm6.564,7.4a5.581,5.581,0,0,1-.131,1.214,3.212,3.212,0,0,1-.427,1.05,2.243,2.243,0,0,1-.779.738,2.385,2.385,0,0,1-1.206.279A2.589,2.589,0,0,1,74.2-8.052a2.389,2.389,0,0,1-.829-.714,2.985,2.985,0,0,1-.468-1.026A4.889,4.889,0,0,1,72.758-11a4.919,4.919,0,0,1,.139-1.165,3.053,3.053,0,0,1,.451-1.026,2.4,2.4,0,0,1,.8-.73,2.4,2.4,0,0,1,1.2-.279,2.491,2.491,0,0,1,1.173.263,2.332,2.332,0,0,1,.82.706,3.122,3.122,0,0,1,.476,1.009A4.338,4.338,0,0,1,77.976-11.063Zm6.449,5.448a8.871,8.871,0,0,1-.484,1.05,2.871,2.871,0,0,1-.525.7,1.782,1.782,0,0,1-.64.394,2.462,2.462,0,0,1-.812.123,3.721,3.721,0,0,1-.492-.033A2.324,2.324,0,0,1,81-3.5v-1.28a2.342,2.342,0,0,0,.418.139,1.765,1.765,0,0,0,.4.057,1.2,1.2,0,0,0,.714-.205,1.255,1.255,0,0,0,.435-.583L83.539-6.8l-3.364-8.434h1.575L84.228-8.29h.033l2.379-6.941h1.477Z" transform="translate(17.85 28.4)"/></g></g></g><g transform="translate(0 0)"><g transform="translate(0 5.371)"><path d="M11.76,24.456A11.41,11.41,0,0,1,3.292,20.8,12.564,12.564,0,0,1,0,12.206,12.569,12.569,0,0,1,3.246,3.638,11.307,11.307,0,0,1,11.67,0a9.519,9.519,0,0,1,7.217,3V.759h8.264V23.7H18.887V21.148H18.8C17.478,23.219,14.846,24.456,11.76,24.456ZM13.849,7.064A5.023,5.023,0,0,0,8.537,12.25a4.95,4.95,0,0,0,5.312,5.141A4.95,4.95,0,0,0,19.16,12.25,5.023,5.023,0,0,0,13.849,7.064Z" transform="translate(27.277 11.038)" fill="#fff"/><path d="M0,33.931V.758H8.271v2.6H8.36A8.258,8.258,0,0,1,15.406,0,11.4,11.4,0,0,1,23.9,3.686a12.665,12.665,0,0,1,3.278,8.622,12.508,12.508,0,0,1-3.25,8.57,11.351,11.351,0,0,1-8.429,3.6,9.535,9.535,0,0,1-7.229-2.95V32.337L0,33.931ZM13.317,7.07A5.028,5.028,0,0,0,8,12.259a4.957,4.957,0,0,0,5.319,5.15,4.957,4.957,0,0,0,5.319-5.15A5.028,5.028,0,0,0,13.317,7.07Z" transform="translate(55.766 11.041)" fill="#fff"/><path d="M22.836,0l3.5,10.2.07.183a20.748,20.748,0,0,1,.988,3.43q.141-.731.364-1.532t.647-2.058L31.985,0h8.678L30.691,23.1H24.764L21.237,12.647q-.282-.891-.505-1.8t-.412-1.8A30.927,30.927,0,0,1,19.4,12.51l-.047.16L15.851,23.1H9.925L0,0H8.631l3.552,10.223q.4,1.121.635,1.955t.377,1.635a23.522,23.522,0,0,1,.917-3.179q.093-.274.141-.411L17.78,0h5.056" transform="translate(80.251 11.743)" fill="#fff"/><path d="M0,34.75V1.5L7.888,0V22.28l8.272-9.665H26.12L15.889,23.266,27.045,34.75H16.475L7.888,24.91v9.84H0" transform="translate(168.695 0)" fill="#fff"/><path d="M0,21.47l1.705-6.1a13.453,13.453,0,0,0,3.952,2.342A12.145,12.145,0,0,0,10,18.534a4.643,4.643,0,0,0,2.351-.482,1.539,1.539,0,0,0,.807-1.4q0-1.5-3.25-2.241-1.06-.246-1.705-.426A12.325,12.325,0,0,1,2.846,11.4,5.5,5.5,0,0,1,1.176,7.239,6.324,6.324,0,0,1,3.722,1.972,11,11,0,0,1,10.624,0a21.365,21.365,0,0,1,4.551.5,25.45,25.45,0,0,1,4.736,1.558l-1.706,5.49a14.24,14.24,0,0,0-3.319-1.636,10.6,10.6,0,0,0-3.364-.56A4.22,4.22,0,0,0,9.4,5.782a1.356,1.356,0,0,0-.714,1.233q0,1.211,3.227,2.04.737.2,1.106.291,4.264,1.188,5.935,2.79a5.728,5.728,0,0,1,1.671,4.337,6.782,6.782,0,0,1-2.743,5.614,11.478,11.478,0,0,1-7.259,2.14,22.565,22.565,0,0,1-5.693-.683A18.517,18.517,0,0,1,0,21.47" transform="translate(195.121 11.284)" fill="#fff"/><path d="M8.273,4.075h.091A8.13,8.13,0,0,1,15.909,0H17.5V7.834A6.8,6.8,0,0,0,14,7.074c-4.593,0-5.728,3-5.728,6.941v9.268H0V.313H8.273V4.075" transform="translate(150.08 11.469)" fill="#fff"/><path d="M17.392,29.929H13a.76.76,0,0,1-.485-.166.579.579,0,0,1-.227-.419l-.553-3.586a12.3,12.3,0,0,1-1.781-.721L7.163,27.123a.719.719,0,0,1-.495.176.687.687,0,0,1-.495-.214A25.873,25.873,0,0,1,2.91,23.81a.753.753,0,0,1,.019-.9c.2-.277.542-.713,1.009-1.3.483-.6.832-1.05,1.068-1.374a9.591,9.591,0,0,1-.811-1.929l-3.62-.526a.63.63,0,0,1-.416-.243A.729.729,0,0,1,0,17.089V12.762a.746.746,0,0,1,.159-.448.6.6,0,0,1,.376-.253l3.68-.546a9.5,9.5,0,0,1,.772-1.792C4.464,8.991,3.752,8.085,2.87,7.034a.732.732,0,0,1-.2-.468.82.82,0,0,1,.179-.449A19.622,19.622,0,0,1,4.8,4.023C5.751,3.1,6.38,2.631,6.668,2.631a.859.859,0,0,1,.515.194L9.913,4.91a11.536,11.536,0,0,1,1.8-.741A31.372,31.372,0,0,1,12.287.546.665.665,0,0,1,13,0h4.392a.755.755,0,0,1,.485.166.581.581,0,0,1,.229.419l.553,3.584a12.543,12.543,0,0,1,1.781.722L23.25,2.807a.641.641,0,0,1,.475-.176.775.775,0,0,1,.495.194,27.092,27.092,0,0,1,3.264,3.313.625.625,0,0,1,.139.429.745.745,0,0,1-.159.448c-.2.271-.525.695-1.008,1.3-.467.581-.827,1.043-1.069,1.373a11.784,11.784,0,0,1,.812,1.91l3.62.545a.625.625,0,0,1,.416.244.736.736,0,0,1,.157.458v4.325a.754.754,0,0,1-.157.449.606.606,0,0,1-.4.253l-3.66.545a12.628,12.628,0,0,1-.772,1.774c.465.654,1.177,1.559,2.117,2.688a.752.752,0,0,1,.2.488.648.648,0,0,1-.177.448,19.641,19.641,0,0,1-1.959,2.1c-.947.918-1.573,1.384-1.86,1.384a.978.978,0,0,1-.515-.176l-2.731-2.1a11.429,11.429,0,0,1-1.8.741,32.016,32.016,0,0,1-.573,3.624A.668.668,0,0,1,17.392,29.929ZM15.2,9.976a4.938,4.938,0,0,0-3.582,1.463,4.935,4.935,0,0,0,0,7.053,5.12,5.12,0,0,0,7.163,0,4.932,4.932,0,0,0,0-7.053A4.938,4.938,0,0,0,15.2,9.976Z" transform="translate(118.47 8.521)" fill="#fff"/><path d="M0,33.5,16.106,7.374H2.752V0H30.9L14.887,26.122H38.22L0,33.5" transform="translate(0 11.038)" fill="#fff"/></g><path d="M3.576-12.852v-4.3H6.628a2.867,2.867,0,0,1,1.945.55A2.034,2.034,0,0,1,9.188-15a2.06,2.06,0,0,1-.615,1.608,2.784,2.784,0,0,1-1.945.542ZM2.017-18.464V-6.748H3.576v-4.792H7.153a3.569,3.569,0,0,0,2.683-.9A3.478,3.478,0,0,0,10.747-15a3.45,3.45,0,0,0-.911-2.552,3.638,3.638,0,0,0-2.683-.911Zm11.421,7.483a4.221,4.221,0,0,1,.205-1.37,2.957,2.957,0,0,1,.566-1.009,2.411,2.411,0,0,1,.845-.624A2.515,2.515,0,0,1,16.08-14.2a2.515,2.515,0,0,1,1.026.213,2.411,2.411,0,0,1,.845.624,2.957,2.957,0,0,1,.566,1.009,4.221,4.221,0,0,1,.205,1.37,4.221,4.221,0,0,1-.205,1.37,2.867,2.867,0,0,1-.566,1,2.457,2.457,0,0,1-.845.615,2.515,2.515,0,0,1-1.026.213,2.515,2.515,0,0,1-1.026-.213,2.457,2.457,0,0,1-.845-.615,2.867,2.867,0,0,1-.566-1A4.221,4.221,0,0,1,13.438-10.981Zm-1.477,0a5.573,5.573,0,0,0,.263,1.739,3.97,3.97,0,0,0,.788,1.4,3.623,3.623,0,0,0,1.3.935,4.4,4.4,0,0,0,1.772.336A4.381,4.381,0,0,0,17.86-6.9a3.641,3.641,0,0,0,1.288-.935,3.97,3.97,0,0,0,.788-1.4,5.573,5.573,0,0,0,.263-1.739,5.65,5.65,0,0,0-.263-1.748,3.96,3.96,0,0,0-.788-1.411,3.729,3.729,0,0,0-1.288-.944,4.29,4.29,0,0,0-1.78-.345,4.3,4.3,0,0,0-1.772.345,3.71,3.71,0,0,0-1.3.944,3.96,3.96,0,0,0-.788,1.411A5.65,5.65,0,0,0,11.961-10.981Zm18.28,4.234,2.708-8.484H31.5L29.6-8.29h-.033L27.8-15.231H26.27L24.564-8.29h-.033l-1.92-6.941H21.068l2.724,8.484H25.3l1.707-6.744h.033l1.723,6.744ZM40.169-11.8H35.3a2.905,2.905,0,0,1,.213-.927A2.473,2.473,0,0,1,36-13.492a2.255,2.255,0,0,1,.747-.517,2.429,2.429,0,0,1,.976-.189,2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,40.169-11.8Zm1.346,2.363H40.136a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.105,5.105,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,41.515-9.439Zm1.526-5.793v8.484h1.395v-3.774a5.8,5.8,0,0,1,.164-1.452,2.784,2.784,0,0,1,.525-1.075,2.251,2.251,0,0,1,.952-.673,3.945,3.945,0,0,1,1.428-.23v-1.477a3.135,3.135,0,0,0-1.871.459,3.779,3.779,0,0,0-1.247,1.526h-.033v-1.789ZM54.15-11.8H49.276a2.905,2.905,0,0,1,.213-.927,2.473,2.473,0,0,1,.492-.763,2.255,2.255,0,0,1,.747-.517A2.429,2.429,0,0,1,51.7-14.2a2.386,2.386,0,0,1,.96.189,2.415,2.415,0,0,1,.755.509,2.391,2.391,0,0,1,.509.763A2.854,2.854,0,0,1,54.15-11.8ZM55.5-9.439H54.117a1.983,1.983,0,0,1-.747,1.247,2.414,2.414,0,0,1-1.452.41,2.889,2.889,0,0,1-1.2-.23,2.348,2.348,0,0,1-.837-.615,2.4,2.4,0,0,1-.476-.886,3.367,3.367,0,0,1-.131-1.058h6.35a6.754,6.754,0,0,0-.139-1.625,4.7,4.7,0,0,0-.624-1.575,3.716,3.716,0,0,0-1.2-1.19,3.48,3.48,0,0,0-1.879-.468,3.858,3.858,0,0,0-1.6.328,3.76,3.76,0,0,0-1.264.919,4.236,4.236,0,0,0-.829,1.395,5.1,5.1,0,0,0-.3,1.772,6.8,6.8,0,0,0,.287,1.789,3.9,3.9,0,0,0,.763,1.411,3.478,3.478,0,0,0,1.255.919,4.358,4.358,0,0,0,1.764.328,3.851,3.851,0,0,0,2.4-.722A3.39,3.39,0,0,0,55.5-9.439Zm2.593-1.477a5.581,5.581,0,0,1,.131-1.214,3.212,3.212,0,0,1,.427-1.05,2.221,2.221,0,0,1,.788-.738,2.4,2.4,0,0,1,1.2-.279,2.589,2.589,0,0,1,1.231.271,2.389,2.389,0,0,1,.829.714,2.985,2.985,0,0,1,.468,1.026,4.889,4.889,0,0,1,.148,1.206,4.919,4.919,0,0,1-.139,1.165,3.053,3.053,0,0,1-.451,1.026,2.4,2.4,0,0,1-.8.73,2.4,2.4,0,0,1-1.2.279,2.491,2.491,0,0,1-1.173-.263,2.332,2.332,0,0,1-.82-.706,3.122,3.122,0,0,1-.476-1.009A4.338,4.338,0,0,1,58.088-10.916Zm6.564,4.168V-18.464H63.257V-14.1h-.033a2.247,2.247,0,0,0-.566-.632,3.216,3.216,0,0,0-.714-.41,3.583,3.583,0,0,0-.755-.222,4.132,4.132,0,0,0-.706-.066,3.861,3.861,0,0,0-1.7.353,3.487,3.487,0,0,0-1.214.952,4.018,4.018,0,0,0-.722,1.4,5.985,5.985,0,0,0-.238,1.707,5.8,5.8,0,0,0,.246,1.707,4.218,4.218,0,0,0,.73,1.411,3.529,3.529,0,0,0,1.214.968,3.827,3.827,0,0,0,1.715.361,4.135,4.135,0,0,0,1.625-.312A2.053,2.053,0,0,0,63.224-7.9h.033v1.149Zm6.761-11.716V-6.748h1.395V-7.88h.033a2.247,2.247,0,0,0,.566.632,2.982,2.982,0,0,0,.714.4,3.874,3.874,0,0,0,.763.213,4.193,4.193,0,0,0,.7.066,3.94,3.94,0,0,0,1.7-.345,3.4,3.4,0,0,0,1.214-.944,4.018,4.018,0,0,0,.722-1.4,5.985,5.985,0,0,0,.238-1.707,5.8,5.8,0,0,0-.246-1.707,4.312,4.312,0,0,0-.73-1.419,3.488,3.488,0,0,0-1.214-.976,3.827,3.827,0,0,0-1.715-.361,4.043,4.043,0,0,0-1.625.32,2.088,2.088,0,0,0-1.083,1.026h-.033v-4.381Zm6.564,7.4a5.581,5.581,0,0,1-.131,1.214,3.212,3.212,0,0,1-.427,1.05,2.243,2.243,0,0,1-.779.738,2.385,2.385,0,0,1-1.206.279A2.589,2.589,0,0,1,74.2-8.052a2.389,2.389,0,0,1-.829-.714,2.985,2.985,0,0,1-.468-1.026A4.889,4.889,0,0,1,72.758-11a4.919,4.919,0,0,1,.139-1.165,3.053,3.053,0,0,1,.451-1.026,2.4,2.4,0,0,1,.8-.73,2.4,2.4,0,0,1,1.2-.279,2.491,2.491,0,0,1,1.173.263,2.332,2.332,0,0,1,.82.706,3.122,3.122,0,0,1,.476,1.009A4.338,4.338,0,0,1,77.976-11.063Zm6.449,5.448a8.871,8.871,0,0,1-.484,1.05,2.871,2.871,0,0,1-.525.7,1.782,1.782,0,0,1-.64.394,2.462,2.462,0,0,1-.812.123,3.721,3.721,0,0,1-.492-.033A2.324,2.324,0,0,1,81-3.5v-1.28a2.342,2.342,0,0,0,.418.139,1.765,1.765,0,0,0,.4.057,1.2,1.2,0,0,0,.714-.205,1.255,1.255,0,0,0,.435-.583L83.539-6.8l-3.364-8.434h1.575L84.228-8.29h.033l2.379-6.941h1.477Z" transform="translate(0.722 18.464)" fill="#fff"/></g></g></g></svg>';function Lt(){var e=new A(2);return A!=Float32Array&&(e[0]=0,e[1]=0),e}function Tt(e,t){return e[0]=t[0],e[1]=t[1],e}function xt(e,t,a){return e[0]=t[0]+a[0],e[1]=t[1]+a[1],e}function Mt(e,t,a){return e[0]=t[0]-a[0],e[1]=t[1]-a[1],e}function kt(e,t,a){return e[0]=t[0]*a,e[1]=t[1]*a,e}function Gt(e){var t=e[0],a=e[1];return Math.hypot(t,a)}function jt(){return{indices:new Uint16Array(0),vertices:new Float32Array(0),normals:new Float32Array(0),uvs:new Float32Array(0)}}function Kt(e){const t=2*e.trainedWidth/(e.trainedHeight*e.topRadius);return Ft(e,2,!1,0,0,0,Lt(),e.trainedWidth/e.trainedHeight,t,e.physicalScaleFactor)}function Ft(e,t,a,i,r,o,_,s,c,l){isNaN(s)&&(s=1);const d=[],E=[],h=l>0?l:1,b=2*h/t,p=64;for(let t=0;t<=p;++t){const i=t*c/p+(2*Math.PI-c)/2,r=e.bottomRadius*Math.sin(i)*b,o=e.bottomRadius*Math.cos(i)*b,_=e.topRadius*Math.sin(i)*b,s=e.topRadius*Math.cos(i)*b,n=-1*h,l=h;a?(d.push(r,n,o),d.push(_,l,s)):(d.push(_,l,-s),d.push(r,n,-o))}for(let t=0;t<=p;++t)if(e.type==n.IMAGE_TRACKER_TYPE_CYLINDRICAL){const e=1-t/p;E.push(e,1),E.push(e,0)}else{let e=2*-(t/p-.5)*i;a&&(e=-e+i,e>i&&(e=e-i-i));const n=Lt();n[0]=Math.sin(e),n[1]=Math.cos(e),a&&(n[1]*=-1);const c=Lt();Tt(c,n),kt(c,c,r),xt(c,_,c);const l=Lt();Tt(l,n),kt(l,l,o),xt(l,_,l),E.push((l[0]+s)/(2*s),1-(1-l[1])/2),E.push((c[0]+s)/(2*s),1-(1-c[1])/2)}const v=[];for(let e=0;e<p;++e){const t=2*e;v.push(t+1,t+2,t+3),v.push(t+0,t+2,t+1)}return{vertices:new Float32Array(d),indices:new Uint16Array(v),normals:new Float32Array(0),uvs:new Float32Array(E)}}Lt();const Ct=new TextDecoder;class Zt{constructor(e,t=!1){this._data=e,this._paddingBytes=t,this.truncatedChunks=!1,this._view=new DataView(this._data),this.root=this._parse()}_parse(){if("RIFF"!==Ct.decode(this._data.slice(0,4)))throw new Error("Not a valid ZPT file");return this._parseChunk(0)}_parseChunk(e){const t=Ct.decode(this._data.slice(e,e+4)),a=this._view.getUint32(e+4,!0),i=new Uint8Array(this._data,e+8,a);let r,o;if(i.byteLength!==a&&(this.truncatedChunks=!0),"RIFF"===t||"LIST"===t){o=Ct.decode(this._data.slice(e+8,e+12)),r=[];let t=4;for(;t<i.byteLength-1;){const a=this._parseChunk(e+8+t);r.push(a),t+=a.data.byteLength+8,this._paddingBytes&&1&a.data.byteLength&&t++}}return{ident:t,data:i,subident:o,subchunks:r}}find(e,t=this.root){if(t.ident===e)return t;if(t.subchunks)for(let a of t.subchunks){const t=this.find(e,a);if(t)return t}}has(e){return void 0!==this.find(e)}}let Bt=new Map;const Dt=new TextDecoder;class Ut{constructor(e,t){this._client=e,this._impl=t,this._targets=[]}static create(e,t){let a=t.image_tracker_create(e);return Bt.set(a,new Ut(t,a)),a}static get(e){return Bt.get(e)}destroy(){this._client.image_tracker_destroy(this._impl),Bt.delete(this._impl)}loadFromMemory(e){this._targets.push({data:e}),this._client.image_tracker_target_load_from_memory(this._impl,e)}targetCount(){return this._targets.length}getTargetInfo(e){let t=this._targets[e];if(t&&t.info)return t.info;t.info={topRadius:-1,bottomRadius:-1,sideLength:-1,physicalScaleFactor:-1,trainedWidth:0,trainedHeight:0,type:n.IMAGE_TRACKER_TYPE_PLANAR};try{const e=new Zt(t.data,!1),a=e.find("IMG ");if(a){let i="image/png";const r=e.find("IMGM");r&&(i=Dt.decode(r.data)),t.info.preview={mimeType:i,compressed:a.data}}const i=e.find("ODLE");if(i){const e=Dt.decode(i.data);this._parseOdle(e,t.info)}}catch(e){}return t.info}_parseOdle(e,t){let a=0,i="0";return[i,a]=Ot(a,e),"1"===i?this._parseOdleV1(e,a,t):"3"===i?this._parseOdleV3(e,a,t):void 0}_parseOdleV1(e,t,a){let i="0";if([i,t]=Ot(t,e),"0"!==i&&"1"!==i)return;let r="";if([r,t]=Ot(t,e),0!==r.length)return;let o="";[o,t]=Ot(t,e);const _=o.split(" ");_.length<5||(a.trainedWidth=parseInt(_[3].replace("[","")),a.trainedHeight=parseInt(_[4].replace("]","")))}_parseOdleV3(e,t,a){let i="0";if([i,t]=Ot(t,e),"0"!==i&&"1"!==i)return;let r="0";[r,t]=Ot(t,e);const o=parseInt(r);if(isNaN(o)||o<1)return;let _="";if([_,t]=Ot(t,e),0!==_.length)return;let s="";[s,t]=Ot(t,e);const n=s.split(" ");if(n.length<6)return;const c=parseInt(n[0]);0!==c&&1!==c&&2!==c||(a.type=c),a.trainedWidth=parseInt(n[4].replace("[","")),a.trainedHeight=parseInt(n[5].replace("]","")),n.length>=7&&(a.physicalScaleFactor=parseFloat(n[6]),isNaN(a.physicalScaleFactor)&&(a.physicalScaleFactor=-1)),n.length>=8&&(a.topRadius=parseFloat(n[7]),isNaN(a.topRadius)&&(a.topRadius=-1),a.bottomRadius=a.topRadius),n.length>=9&&(a.bottomRadius=parseFloat(n[8]),isNaN(a.bottomRadius)&&(a.bottomRadius=-1)),n.length>=10&&(a.sideLength=parseFloat(n[9]),isNaN(a.sideLength)&&(a.sideLength=-1))}getDecodedPreview(e){const t=this.getTargetInfo(e);if(t.preview){if(!t.preview.image){const e=new Blob([t.preview.compressed],{type:t.preview.mimeType});t.preview.image=new Image,t.preview.image.src=URL.createObjectURL(e)}return t.preview.image}}getPreviewMesh(e){const t=this.getTargetInfo(e);return t.previewMesh||(t.previewMesh=function(e){switch(e.type){case n.IMAGE_TRACKER_TYPE_PLANAR:return function(e){const t=e.trainedWidth/e.trainedHeight;if(isNaN(t))return jt();const a=e.physicalScaleFactor>0?e.physicalScaleFactor:1;return{vertices:new Float32Array([-1*t*a,-1*a,0,-1*t*a,a,0,t*a,a,0,t*a,-1*a,0]),indices:new Uint16Array([0,2,1,0,3,2]),uvs:new Float32Array([0,0,0,1,1,1,1,0]),normals:new Float32Array([0,0,1,0,0,1,0,0,1,0,0,1])}}(e);case n.IMAGE_TRACKER_TYPE_CYLINDRICAL:return Kt(e);case n.IMAGE_TRACKER_TYPE_CONICAL:return function(e){const t=e.topRadius-e.bottomRadius;if(0===t)return console.warn("Conical target has matching radii, using cylindrical preview mesh with a defined image size instead."),Kt(e);const a=Math.sqrt(e.sideLength*e.sideLength-t*t),i=e.bottomRadius>e.topRadius;let r=e.trainedWidth/e.trainedHeight;isNaN(r)&&(r=1);const o=!(e.bottomRadius>0&&e.topRadius>0),_=e.sideLength<2*Math.abs(e.topRadius-e.bottomRadius),s=Lt(),n=Lt(),c=Lt();if(o)if(_)if(i){c[1]=r-1;const e=Math.acos((2-r)/r);s[0]=r*Math.sin(e),s[1]=r-1+r*Math.cos(e),Tt(n,c)}else{c[1]=1-r;const e=Math.PI+Math.acos((2-r)/r);s[0]=r*Math.sin(e),s[1]=1-r+r*Math.cos(e),Tt(n,c)}else i?(c[1]=1,Tt(n,c),s[0]=r,s[1]=1-Math.sqrt(4-Math.pow(r,2))):(c[1]=-1,Tt(n,c),s[0]=-r,s[1]=Math.sqrt(4-Math.pow(r,2))-1);else if(_)if(i){c[1]=r-1;const t=Math.acos((2-r)/r);s[0]=r*Math.sin(t),s[1]=r-1+r*Math.cos(t),n[0]=(r-e.sideLength)*Math.sin(t),n[1]=r-1+(r-e.sideLength)*Math.cos(t)}else{c[1]=1-r;const t=Math.PI+Math.acos((2-r)/r);s[0]=r*Math.sin(t),s[1]=1-r+r*Math.cos(t),n[0]=(r-e.sideLength)*Math.sin(t),n[1]=1-r+(r-e.sideLength)*Math.cos(t)}else{const t=i?e.topRadius/e.bottomRadius:e.bottomRadius/e.topRadius;i?(n[0]=t*r,n[1]=1,s[0]=r,s[1]=1-Math.sqrt(e.sideLength*e.sideLength-(n[0]-s[0])*(n[0]-s[0])),c[1]=s[1]+s[0]/(s[0]-n[0])*(n[1]-s[1])):(n[0]=-t*r,n[1]=-1,s[0]=-r,s[1]=Math.sqrt(e.sideLength*e.sideLength-(n[0]-s[0])*(n[0]-s[0]))-1,c[1]=s[1]- -s[0]/(n[0]-s[0])*(s[1]-n[1]))}const l=Lt();Mt(l,s,c);const d=Lt();Mt(d,n,c);const E=Gt(l),h=Gt(d);let b=2*Math.abs(Math.atan(l[0]/l[1]));_&&(b=2*Math.PI-b);let p=E*b/e.topRadius,v=Math.abs(Math.atan(l[0]/l[1]));return _&&(v=Math.PI-v),Ft(e,a,i,v,h,E,c,r,p,e.physicalScaleFactor)}(e)}return jt()}(t)),t.previewMesh}}function Ot(e,t){let a=t.indexOf("\n",e);return[t.substring(e,a>=0?a:void 0).replace("\r",""),a+1]}let Vt,qt,Ht;const Wt=10;let Yt,Xt,Jt,$t="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 projMatrix;\nuniform mat4 cameraMatrix;\nuniform mat4 modelViewMatrix;\nattribute vec4 position;\nattribute vec2 textureCoord;\n\nvarying highp vec2 vTextureCoord;\n\nvoid main()\n{\n gl_Position = projMatrix * cameraMatrix * modelViewMatrix * position;\n vTextureCoord = textureCoord;\n}",Qt="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec2 vTextureCoord;\nuniform sampler2D skinSampler;\n\nvoid main()\n{\n vec2 pixels = 500.0 * vTextureCoord + 0.5;\n if ((int(mod(pixels.x, 50.0)) == 0) || (int(mod(pixels.y, 50.0)) == 0)) {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n } else {\n discard;\n }\n}";P();let ea="\n#ifndef GL_ES\n#define highp\n#define mediump\n#define lowp\n#endif\n\nuniform mat4 projMatrix;\nuniform mat4 cameraMatrix;\nuniform mat4 modelViewMatrix;\nattribute vec4 position;\nattribute vec4 color;\n\nvarying highp vec4 vColor;\n\nvoid main()\n{\n gl_Position = projMatrix * cameraMatrix * modelViewMatrix * position;\n vColor = color;\n}",ta="\n#define highp mediump\n#ifdef GL_ES\n // define default precision for float, vec, mat.\n precision highp float;\n#else\n#define highp\n#define mediump\n#define lowp\n#endif\n\nvarying highp vec4 vColor;\n\nvoid main()\n{\n gl_FragColor = vColor;\n}";var aa=function(e,t,a,i){return new(a||(a=Promise))((function(r,o){function _(e){try{n(i.next(e))}catch(e){o(e)}}function s(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(_,s)}n((i=i.apply(e,t||[])).next())}))};let ia;const ra=new Map;function oa(e){if(ia)return ia;let t=!1;(function(e){return X(this,void 0,void 0,(function*(){var t;function i(){let t=J.getOutgoingMessages();for(let a of t)e.postMessage(a.msg,a.transferables)}e||(e=new Worker(new URL(a.p+a.u(751),a.b),{type:void 0})),e.postMessage({t:"wasm",url:new URL(a(751),a.b).toString(),module:yield ee,shouldRecordData:Q}),yield(t=e,new Promise((e=>{let a=i=>{"loaded"===i.data&&(t.removeEventListener("message",a),e())};t.addEventListener("message",a)}))),J.onOutgoingMessage.bind(i),i(),e.addEventListener("message",(e=>{J.postIncomingMessage(e.data)}))}))})(null==e?void 0:e.worker).then((()=>{we("Fully loaded"),t=!0}));let i=new p((e=>{J.postOutgoingMessage({t:"zappar",d:e},[e])}));const r=function(){let e=window.localStorage.getItem("z_uar_lid");if(null===e){const t=new Uint8Array(8);window.crypto.getRandomValues(t),e="";for(let a=0;a<t.byteLength;a++){const i=t[a].toString(16);1===i.length?e+="0"+i:2===i.length&&(e+=i)}}return e}();let o=!1;if(window.location.hostname.toLowerCase().indexOf(".zappar.io")>0||window.location.hostname.toLowerCase().indexOf(".webar.run")>0||window.location.hostname.toLowerCase().indexOf(".arweb.app")>0){let e=window.location.pathname.split("/");e.length>1&&e[1].length>0&&i.impl.analytics_project_id_set(".wiz"+e[1],r)}J.onIncomingMessage.bind((e=>{var t,r,o,_,s,n,c,l;switch(e.t){case"zappar":null===(t=mt.get(e.p))||void 0===t||t.pendingMessages.push(e.d);break;case"buf":i.serializer.bufferReturn(e.d);break;case"cameraFrameRecycleS2C":{let t=e;null===(o=null===(r=mt.get(t.p))||void 0===r?void 0:r.cameraTokenReturn)||void 0===o||o.call(r,e);break}case"videoFrameS2C":{let t=e;null===(s=null===(_=mt.get(t.p))||void 0===_?void 0:_.videoFrameFromWorker)||void 0===s||s.call(_,t);break}case"imageBitmapS2C":{let t=e;null===(c=null===(n=mt.get(t.p))||void 0===n?void 0:n.imageBitmapFromWorker)||void 0===c||c.call(n,t);break}case"raw":{let t=e;null===(l=mt.get(t.p))||void 0===l||l.cameraFrameDataRawResult(t);break}case"streamEndedS2C":{const t=lt(e.source);t instanceof _t&&t.streamEnded();break}case"setupCeresWorker":!function(e,t){X(this,void 0,void 0,(function*(){t||(t=new Worker(new URL(a.p+a.u(25),a.b),{type:void 0})),t.postMessage({t:"wasm",url:new URL(a(751),a.b).toString(),module:yield ee,port:e},[e])}))}(e.port);break;case"_z_datadownload":{let t=new Blob([e.data],{type:"application/octet-stream"}),a=URL.createObjectURL(t),i=document.createElement("a");i.download="sequencedata.bin",i.href=a,i.click();break}case"licerr":{let e=document.createElement("div");e.innerHTML="Visit <a href='https://docs.zap.works/universal-ar/licensing/' style='color: white;'>our licensing page</a> to find out about hosting on your own domain.",e.style.position="absolute",e.style.bottom="20px",e.style.width="80%",e.style.backgroundColor="black",e.style.color="white",e.style.borderRadius="10px",e.style.padding="10px",e.style.fontFamily="sans-serif",e.style.textAlign="center",e.style.left="10%",e.style.zIndex=Number.MAX_SAFE_INTEGER.toString();let t=document.createElement("span");t.innerText=" (30)",e.append(t);let a=30;setInterval((function(){a--,a>=0&&(t.innerText=" ("+a.toString()+")")}),1e3),document.body.append(e)}case"gfx":{let e=document.createElement("div");e.innerHTML=zt,e.style.position="absolute",e.style.bottom="20px",e.style.width="250px",e.style.left="50%",e.style.marginLeft="-125px",e.style.zIndex=Number.MAX_SAFE_INTEGER.toString(),e.style.opacity="0",e.style.transition="opacity 0.5s",document.body.append(e),setTimeout((function(){e.style.opacity="1"}),500),setTimeout((function(){e.style.opacity="0"}),3e3),setTimeout((function(){e.remove()}),4e3)}}}));const _=new Map;return ia=Object.assign(Object.assign({},i.impl),{loaded:()=>t,camera_default_device_id:e=>e?at.USER_DEFAULT_DEVICE_ID:at.DEFAULT_DEVICE_ID,camera_source_create:(e,t)=>function(e,t){let a=st++;return Z.preferMediaStreamTrackProcessorCamera&&"MediaStreamTrackProcessor"in window&&"MediaStreamTrackGenerator"in window?ct(a,new _t(a,e,t)):Z.preferImageBitmapCamera&&"undefined"!=typeof OffscreenCanvas?ct(a,new rt(a,e,t)):ct(a,new at(a,e,t)),we("camera_source_t initialized"),a}(e,t),camera_source_destroy:e=>{var t;return null===(t=lt(e))||void 0===t?void 0:t.destroy()},camera_source_pause:e=>{var t;return null===(t=lt(e))||void 0===t?void 0:t.pause()},camera_source_start:e=>{var t;return null===(t=lt(e))||void 0===t?void 0:t.start()},camera_source_profile_set:(e,t)=>{var a;return null===(a=lt(e))||void 0===a?void 0:a.setProfile(t)},camera_count:()=>2,camera_id:e=>0===e?at.DEFAULT_DEVICE_ID:at.USER_DEFAULT_DEVICE_ID,camera_name:e=>0===e?"Rear-facing Camera":"User-facing Camera",camera_user_facing:e=>0!==e,pose_from_raw:(e,t)=>{let a=ft(void 0,e);if(t){let e=P();x(e,[-1,1,1]),L(a,e,a),L(a,a,e)}return a},pipeline_create:()=>mt.create(i.impl,J),pipeline_frame_update:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.frameUpdate(i)},pipeline_camera_frame_draw_gl:(e,t,a,i)=>{var r;null===(r=mt.get(e))||void 0===r||r.cameraFrameDrawGL(t,a,i)},pipeline_camera_frame_data_width:e=>{var t,a;const i=null===(t=mt.get(e))||void 0===t?void 0:t.getCurrentCameraInfo();return null!==(a=null==i?void 0:i.dataWidth)&&void 0!==a?a:0},pipeline_camera_frame_data_height:e=>{var t,a;const i=null===(t=mt.get(e))||void 0===t?void 0:t.getCurrentCameraInfo();return null!==(a=null==i?void 0:i.dataHeight)&&void 0!==a?a:0},draw_plane:(e,t,a,i,r)=>{!function(e,t,a,i,r){let o=I(e),_=function(e){if(f)return f;if(f=e.createBuffer(),!f)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,f),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-.5,.125,0,-.5,-.125,0,.5,.125,0,.5,-.125,0]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),f}(e),s=y(e);e.disable(e.DEPTH_TEST),e.useProgram(o.prog),e.uniformMatrix4fv(o.unif_proj,!1,t),e.uniformMatrix4fv(o.unif_camera,!1,a),e.uniformMatrix4fv(o.unif_matrix,!1,i),e.bindBuffer(e.ARRAY_BUFFER,_),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,function(e,t){if(N[t])return N[t];let a=e.createTexture();if(!a)throw new Error("Unable to create texture");N[t]=a,e.bindTexture(e.TEXTURE_2D,a);const i=e.RGBA,r=e.RGBA,o=e.UNSIGNED_BYTE,_=new Uint8Array([0,0,255,255]);e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,1,1,0,r,o,_);const s=new Image;return s.onload=function(){e.bindTexture(e.TEXTURE_2D,a),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,i,r,o,s),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR)},s.src=t,a}(e,r)),e.uniform1i(o.unif_skinSampler,0),e.vertexAttribPointer(o.attr_position,3,e.FLOAT,!1,12,0),e.enableVertexAttribArray(o.attr_position),e.bindBuffer(e.ARRAY_BUFFER,s),e.vertexAttribPointer(o.attr_textureCoord,2,e.FLOAT,!1,8,0),e.enableVertexAttribArray(o.attr_textureCoord),e.drawArrays(e.TRIANGLE_STRIP,0,4),e.disableVertexAttribArray(o.attr_position),e.disableVertexAttribArray(o.attr_textureCoord),e.bindBuffer(e.ARRAY_BUFFER,null)}(e,t,a,i,r)},draw_grid:(e,t,a,i)=>{!function(e,t,a,i){let r=function(e){if(Vt)return Vt;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,$t),i=v(e,e.FRAGMENT_SHADER,Qt);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"projMatrix");if(!r)throw new Error("Unable to get uniform location projMatrix");let o=e.getUniformLocation(t,"modelViewMatrix");if(!o)throw new Error("Unable to get uniform location modelViewMatrix");let _=e.getUniformLocation(t,"cameraMatrix");if(!_)throw new Error("Unable to get uniform location cameraMatrix");return Vt={prog:t,unif_matrix:o,unif_proj:r,unif_camera:_,attr_position:e.getAttribLocation(t,"position"),attr_textureCoord:e.getAttribLocation(t,"textureCoord")},Vt}(e),o=function(e){if(qt)return qt;if(qt=e.createBuffer(),!qt)throw new Error("Unable to create buffer object");let t=[-.5,0,.5,-.5,0,-.5,.5,0,.5,.5,0,-.5];return t=t.map((e=>e*Wt)),e.bindBuffer(e.ARRAY_BUFFER,qt),e.bufferData(e.ARRAY_BUFFER,new Float32Array(t),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),qt}(e),_=function(e){if(Ht)return Ht;if(Ht=e.createBuffer(),!Ht)throw new Error("Unable to create buffer object");let t=[0,1,0,0,1,1,1,0];return t=t.map((e=>e*Wt)),e.bindBuffer(e.ARRAY_BUFFER,Ht),e.bufferData(e.ARRAY_BUFFER,new Float32Array(t),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),Ht}(e);e.disable(e.DEPTH_TEST),e.useProgram(r.prog),e.uniformMatrix4fv(r.unif_proj,!1,t),e.uniformMatrix4fv(r.unif_camera,!1,a),e.uniformMatrix4fv(r.unif_matrix,!1,i),e.bindBuffer(e.ARRAY_BUFFER,o),e.vertexAttribPointer(r.attr_position,3,e.FLOAT,!1,12,0),e.enableVertexAttribArray(r.attr_position),e.bindBuffer(e.ARRAY_BUFFER,_),e.vertexAttribPointer(r.attr_textureCoord,2,e.FLOAT,!1,8,0),e.enableVertexAttribArray(r.attr_textureCoord),e.drawArrays(e.TRIANGLE_STRIP,0,4),e.disableVertexAttribArray(r.attr_position),e.disableVertexAttribArray(r.attr_textureCoord),e.bindBuffer(e.ARRAY_BUFFER,null)}(e,t,a,i)},draw_axis:(e,t,a,i)=>{!function(e,t,a,i){let r=function(e){if(Yt)return Yt;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let a=v(e,e.VERTEX_SHADER,ea),i=v(e,e.FRAGMENT_SHADER,ta);e.attachShader(t,a),e.attachShader(t,i),u(e,t);let r=e.getUniformLocation(t,"projMatrix");if(!r)throw new Error("Unable to get uniform location projMatrix");let o=e.getUniformLocation(t,"modelViewMatrix");if(!o)throw new Error("Unable to get uniform location modelViewMatrix");let _=e.getUniformLocation(t,"cameraMatrix");if(!_)throw new Error("Unable to get uniform location cameraMatrix");return Yt={prog:t,unif_matrix:o,unif_proj:r,unif_camera:_,attr_position:e.getAttribLocation(t,"position"),attr_color:e.getAttribLocation(t,"color")},Yt}(e),o=function(e){if(Xt)return Xt;if(Xt=e.createBuffer(),!Xt)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,Xt),e.bufferData(e.ARRAY_BUFFER,new Float32Array([0,0,0,.1,0,0,0,0,0,0,.1,0,0,0,0,0,0,.1]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),Xt}(e),_=function(e){if(Jt)return Jt;if(Jt=e.createBuffer(),!Jt)throw new Error("Unable to create buffer object");return e.bindBuffer(e.ARRAY_BUFFER,Jt),e.bufferData(e.ARRAY_BUFFER,new Float32Array([1,0,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0,1,1]),e.STATIC_DRAW),e.bindBuffer(e.ARRAY_BUFFER,null),Jt}(e);e.disable(e.DEPTH_TEST),e.useProgram(r.prog),e.uniformMatrix4fv(r.unif_proj,!1,t),e.uniformMatrix4fv(r.unif_camera,!1,a),e.uniformMatrix4fv(r.unif_matrix,!1,i),e.bindBuffer(e.ARRAY_BUFFER,o),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,null),e.vertexAttribPointer(r.attr_position,3,e.FLOAT,!1,12,0),e.enableVertexAttribArray(r.attr_position),e.bindBuffer(e.ARRAY_BUFFER,_),e.vertexAttribPointer(r.attr_color,4,e.FLOAT,!1,16,0),e.enableVertexAttribArray(r.attr_color),e.lineWidth(2),e.drawArrays(e.LINES,0,6),e.disableVertexAttribArray(r.attr_position),e.disableVertexAttribArray(r.attr_color),e.bindBuffer(e.ARRAY_BUFFER,null)}(e,t,a,i)},pipeline_draw_face:(e,t,a,i,r)=>{var o;let _=ze(r);if(!_)return Re("attempting to call draw_face on a destroyed zappar_face_mesh_t"),new Uint16Array;null===(o=mt.get(e))||void 0===o||o.drawFace(t,a,i,_)},pipeline_draw_face_project:(e,t,a,i,r,o,_)=>{var s;null===(s=mt.get(e))||void 0===s||s.drawFaceProject(t,a,i,r,o,_)},pipeline_draw_image_target_preview:(e,t,a,i,r,o)=>{var _;let s=Ut.get(r);s?null===(_=mt.get(e))||void 0===_||_.drawImageTargetPreview(t,a,i,o,s):Re("image tracker not found")},projection_matrix_from_camera_model:V,projection_matrix_from_camera_model_ext:V,pipeline_process_gl:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.processGL()},pipeline_gl_context_set:(e,t,a)=>{var i;return null===(i=mt.get(e))||void 0===i?void 0:i.glContextSet(t,a)},pipeline_gl_context_lost:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.glContextLost()},pipeline_camera_frame_upload_gl:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.uploadGL()},pipeline_camera_frame_texture_gl:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.cameraFrameTexture()},pipeline_camera_frame_texture_matrix:(e,t,a,i)=>{var r;return(null===(r=mt.get(e))||void 0===r?void 0:r.cameraFrameTextureMatrix(t,a,i))||P()},pipeline_camera_frame_user_facing:e=>{var t;return(null===(t=mt.get(e))||void 0===t?void 0:t.cameraFrameUserFacing())||!1},pipeline_camera_pose_default:()=>P(),pipeline_camera_pose_with_attitude:(e,t)=>{var a;return(null===(a=mt.get(e))||void 0===a?void 0:a.cameraPoseWithAttitude(t))||P()},pipeline_camera_pose_with_origin:(e,t)=>{let a=P();return z(a,t),a},pipeline_sequence_record_clear:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.sequenceRecordClear()},pipeline_sequence_record_start:(e,t)=>{var a;return null===(a=mt.get(e))||void 0===a?void 0:a.sequenceRecordStart(t)},pipeline_sequence_record_stop:e=>{var t;return null===(t=mt.get(e))||void 0===t?void 0:t.sequenceRecordStop()},pipeline_sequence_record_device_attitude_matrices_set:(e,t)=>{var a;return null===(a=mt.get(e))||void 0===a?void 0:a.sequenceRecordDeviceAttitudeMatrices(t)},pipeline_sequence_record_data:e=>{var t;return(null===(t=mt.get(e))||void 0===t?void 0:t.sequenceRecordData())||new Uint8Array(0)},pipeline_sequence_record_data_size:e=>{var t;return(null===(t=mt.get(e))||void 0===t?void 0:t.sequenceRecordData().byteLength)||0},pipeline_camera_frame_data_raw:e=>{var t;return(null===(t=mt.get(e))||void 0===t?void 0:t.getCameraFrameDataRaw())||Promise.reject()},pipeline_camera_frame_data_raw_enabled_set:(e,t)=>{var a;return null===(a=mt.get(e))||void 0===a?void 0:a.setCameraFrameDataRawEnabled(t)},instant_world_tracker_anchor_pose_camera_relative:(e,t)=>{let a=ft(void 0,i.impl.instant_world_tracker_anchor_pose_raw(e));if(t){let e=P();x(e,[-1,1,1]),L(a,e,a),L(a,a,e)}return a},instant_world_tracker_anchor_pose:(e,t,a)=>{let r=ft(void 0,i.impl.instant_world_tracker_anchor_pose_raw(e));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return L(r,t,r),r},instant_world_tracker_anchor_pose_set_from_camera_offset:(e,t,a,r,o)=>{let _=q(!1)*Math.PI/180,s=P();M(s,-_,[0,0,1]);let n=k();K(n,[t,a,r],s),i.impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(e,n[0],n[1],n[2],o)},custom_anchor_pose_camera_relative:(e,t)=>{let a=ft(void 0,i.impl.custom_anchor_pose_raw(e));if(t){let e=P();x(e,[-1,1,1]),L(a,e,a),L(a,a,e)}return a},custom_anchor_pose:(e,t,a)=>{let r=ft(void 0,i.impl.custom_anchor_pose_raw(e));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return L(r,t,r),r},custom_anchor_create:(e,t,a)=>{const r=i.impl.custom_anchor_create(e,t,a);return _.set(r,a),r},custom_anchor_id:e=>_.get(e)||(Re("attempting to call custom_anchor_id on a destroyed zappar_custom_anchor_t"),""),custom_anchor_pose_set_from_camera_offset:(e,t,a,r,o)=>{let _=q(!1)*Math.PI/180,s=P();M(s,-_,[0,0,1]);let n=k();K(n,[t,a,r],s),i.impl.custom_anchor_pose_set_from_camera_offset_raw(e,n[0],n[1],n[2],o)},image_tracker_create:e=>Ut.create(e,i.impl),image_tracker_destroy:e=>{var t;return null===(t=Ut.get(e))||void 0===t?void 0:t.destroy()},image_tracker_target_type:(e,t)=>{let a=Ut.get(e);return a?a.getTargetInfo(t).type:(Re("attempting to call image_tracker_target_type on a destroyed zappar_image_tracker_t"),n.IMAGE_TRACKER_TYPE_PLANAR)},image_tracker_target_count:e=>{let t=Ut.get(e);return t?t.targetCount():(Re("attempting to call image_tracker_target_count on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_load_from_memory:(e,t)=>{let a=Ut.get(e);if(!a)return Re("attempting to call image_tracker_target_load_from_memory on a destroyed zappar_image_tracker_t"),0;a.loadFromMemory(t)},image_tracker_target_preview_compressed:(e,t)=>{var a;let i=Ut.get(e);return i?(null===(a=i.getTargetInfo(t).preview)||void 0===a?void 0:a.compressed)||new Uint8Array(0):(Re("attempting to call image_tracker_target_preview_compressed on a destroyed zappar_image_tracker_t"),new Uint8Array(0))},image_tracker_target_preview_compressed_mimetype:(e,t)=>{var a;let i=Ut.get(e);return i?(null===(a=i.getTargetInfo(t).preview)||void 0===a?void 0:a.mimeType)||"":(Re("attempting to call image_tracker_target_preview_compressed_mimetype on a destroyed zappar_image_tracker_t"),"")},image_tracker_target_preview_compressed_size:(e,t)=>{var a,i;let r=Ut.get(e);return r?(null===(i=null===(a=r.getTargetInfo(t).preview)||void 0===a?void 0:a.compressed)||void 0===i?void 0:i.byteLength)||0:(Re("attempting to call image_tracker_target_preview_compressed_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_physical_scale_factor:(e,t)=>{let a=Ut.get(e);return a?a.getTargetInfo(t).physicalScaleFactor:(Re("attempting to call image_tracker_target_physical_scale_factor on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_radius_top:(e,t)=>{let a=Ut.get(e);return a?a.getTargetInfo(t).topRadius:(Re("attempting to call image_tracker_target_radius_top on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_radius_bottom:(e,t)=>{let a=Ut.get(e);return a?a.getTargetInfo(t).bottomRadius:(Re("attempting to call image_tracker_target_radius_bottom on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_side_length:(e,t)=>{let a=Ut.get(e);return a?a.getTargetInfo(t).sideLength:(Re("attempting to call image_tracker_target_side_length on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_image:(e,t)=>{let a=Ut.get(e);return a?a.getDecodedPreview(t):(Re("attempting to call image_tracker_target_image on a destroyed zappar_image_tracker_t"),new Image)},image_tracker_anchor_pose_camera_relative:(e,t,a)=>{let r=ft(void 0,i.impl.image_tracker_anchor_pose_raw(e,t));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return r},image_tracker_anchor_pose:(e,t,a,r)=>{let o=ft(void 0,i.impl.image_tracker_anchor_pose_raw(e,t));if(r){let e=P();x(e,[-1,1,1]),L(o,e,o),L(o,o,e)}return L(o,a,o),o},image_tracker_target_preview_mesh_indices:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).indices:(Re("attempting to call image_tracker_target_preview_mesh_indices on a destroyed zappar_image_tracker_t"),new Uint16Array)},image_tracker_target_preview_mesh_vertices:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).vertices:(Re("attempting to call image_tracker_target_preview_mesh_vertices on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_uvs:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).uvs:(Re("attempting to call image_tracker_target_preview_mesh_uvs on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_normals:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).normals:(Re("attempting to call image_tracker_target_preview_mesh_normals on a destroyed zappar_image_tracker_t"),new Float32Array)},image_tracker_target_preview_mesh_indices_size:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).indices.length:(Re("attempting to call image_tracker_target_preview_mesh_indices_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_vertices_size:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).vertices.length:(Re("attempting to call image_tracker_target_preview_mesh_vertices_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_uvs_size:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).uvs.length:(Re("attempting to call image_tracker_target_preview_mesh_uvs_size on a destroyed zappar_image_tracker_t"),0)},image_tracker_target_preview_mesh_normals_size:(e,t)=>{let a=Ut.get(e);return a?a.getPreviewMesh(t).normals.length:(Re("attempting to call image_tracker_target_preview_mesh_normals_size on a destroyed zappar_image_tracker_t"),0)},zapcode_tracker_anchor_pose_camera_relative:(e,t,a)=>{let r=ft(void 0,i.impl.zapcode_tracker_anchor_pose_raw(e,t));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return r},zapcode_tracker_anchor_pose:(e,t,a,r)=>{let o=ft(void 0,i.impl.zapcode_tracker_anchor_pose_raw(e,t));if(r){let e=P();x(e,[-1,1,1]),L(o,e,o),L(o,o,e)}return L(o,a,o),o},face_tracker_anchor_pose_camera_relative:(e,t,a)=>{let r=ft(void 0,i.impl.face_tracker_anchor_pose_raw(e,t));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return r},face_tracker_anchor_pose:(e,t,a,r)=>{let o=ft(void 0,i.impl.face_tracker_anchor_pose_raw(e,t));if(r){let e=P();x(e,[-1,1,1]),L(o,e,o),L(o,o,e)}return L(o,a,o),o},face_tracker_model_load_default:e=>aa(this,void 0,void 0,(function*(){yield function(e){return aa(this,void 0,void 0,(function*(){let t=new URL(a(367),a.b),i=yield fetch(t.toString()),r=yield i.arrayBuffer();null==ia||ia.face_tracker_model_load_from_memory(e,r)}))}(e)})),face_mesh_create:()=>function(){let e=Ae++;return Pe.set(e,new Le),we("face_mesh_t initialized"),e}(),face_mesh_destroy:e=>{!function(e){Pe.delete(e)}(e)},face_mesh_indices:e=>{let t=ze(e);return t?t.getIndices():(Re("attempting to call face_mesh_indices on a destroyed zappar_face_mesh_t"),new Uint16Array)},face_mesh_indices_size:e=>{let t=ze(e);return t?t.getIndices().length:(Re("attempting to call face_mesh_indices_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_uvs:e=>{let t=ze(e);return t?t.getUVs():(Re("attempting to call face_mesh_uvs on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_uvs_size:e=>{let t=ze(e);return t?t.getUVs().length:(Re("attempting to call face_mesh_uvs_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_vertices:e=>{let t=ze(e);return t?t.getVertices():(Re("attempting to call face_mesh_vertices on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_vertices_size:e=>{let t=ze(e);return t?t.getVertices().length:(Re("attempting to call face_mesh_vertices_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_normals:e=>{let t=ze(e);return t?t.getNormals():(Re("attempting to call face_mesh_normals on a destroyed zappar_face_mesh_t"),new Float32Array)},face_mesh_normals_size:e=>{let t=ze(e);return t?t.getNormals().length:(Re("attempting to call face_mesh_normals_size on a destroyed zappar_face_mesh_t"),0)},face_mesh_load_from_memory:(e,t,a,i,r,o)=>{let _=ze(e);_?_.loadFromMemory(t,a,i,r,o):Re("attempting to call face_mesh_load_from_memory on a destroyed zappar_face_mesh_t")},face_mesh_update:(e,t,a,i)=>{let r=ze(e);r?r.update(t,a,i):Re("attempting to call face_mesh_update on a destroyed zappar_face_mesh_t")},face_mesh_load_default:e=>aa(this,void 0,void 0,(function*(){let t=ze(e);if(!t)return void Re("attempting to call face_mesh_load_default on a destroyed zappar_face_mesh_t");let i=new URL(a(698),a.b),r=yield fetch(i.toString());t.loadFromMemory(yield r.arrayBuffer(),!1,!1,!1,!1)})),face_mesh_load_default_face:(e,t,i,r)=>aa(this,void 0,void 0,(function*(){let o=ze(e);if(!o)return void Re("attempting to call face_mesh_load_default_face on a destroyed zappar_face_mesh_t");let _=new URL(a(698),a.b),s=yield fetch(_.toString());o.loadFromMemory(yield s.arrayBuffer(),t,i,r,!1)})),face_mesh_load_default_full_head_simplified:(e,t,i,r,o)=>aa(this,void 0,void 0,(function*(){let _=ze(e);if(!_)return void Re("attempting to call face_mesh_load_default_full_head_simplified on a destroyed zappar_face_mesh_t");let s=new URL(a(825),a.b),n=yield fetch(s.toString());_.loadFromMemory(yield n.arrayBuffer(),t,i,r,o)})),face_mesh_loaded_version:e=>{let t=ze(e);return t?t.getModelVersion():(Re("attempting to call face_mesh_load_default on a destroyed zappar_face_mesh_t"),-1)},face_landmark_create:e=>function(e){let t=Nt++;return yt.set(t,new wt(e)),we("face_landmark_t initialized"),t}(e),face_landmark_destroy:e=>{!function(e){yt.delete(e)}(e)},face_landmark_update:(e,t,a,i)=>{let r=St(e);r?r.update(t,a,i):Re("attempting to call face_landmark_update on a destroyed zappar_face_landmark_t")},face_landmark_anchor_pose:e=>{let t=St(e);return t?t.anchor_pose:(Re("attempting to call face_landmark_anchor_pose on a destroyed zappar_face_landmark_t"),P())},world_tracker_create:e=>{const t=i.impl.world_tracker_create(e);return ra.set(t,e),t},world_tracker_points_data_matrix:(e,t,a,i)=>{const r=ra.get(e);return void 0!==r&&ia?function(e,t,a,i,r){let o=P(),_=P();return T(_,[-.5*e,-.5*t,0]),L(o,_,o),x(_,[2/e,2/-t,1]),L(o,_,o),r&&(x(_,[-1,1,1]),L(o,_,o)),x(_,[1,(a>i?a/i:i/a)/(e/t),1]),L(o,_,o),M(_,function(){if(window.screen.orientation&&!Z.forceWindowOrientation)switch(window.screen.orientation.type){case"portrait-primary":return 270;case"landscape-secondary":return 180;case"portrait-secondary":return 90;default:return 0}else if(void 0!==window.orientation)switch(window.orientation){case 0:return 270;case 90:return 0;case 180:return 90;case-90:return 180}return 0}()*Math.PI/180,[0,0,1]),L(o,_,o),o}(ia.pipeline_camera_frame_data_width(r),ia.pipeline_camera_frame_data_height(r),t,a,i):P()},world_tracker_plane_anchor_pose_camera_relative:(e,t,a)=>{let r=ft(void 0,i.impl.world_tracker_plane_anchor_pose_raw(e,t));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return r},world_tracker_plane_anchor_pose:(e,t,a,r)=>{let o=ft(void 0,i.impl.world_tracker_plane_anchor_pose_raw(e,t));if(r){let e=P();x(e,[-1,1,1]),L(o,e,o),L(o,o,e)}return L(o,a,o),o},world_tracker_world_anchor_pose:(e,t,a)=>{let r=ft(void 0,i.impl.world_tracker_world_anchor_pose_raw(e));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return L(r,t,r),r},world_tracker_world_anchor_pose_camera_relative:(e,t)=>{let a=ft(void 0,i.impl.world_tracker_world_anchor_pose_raw(e));if(t){let e=P();x(e,[-1,1,1]),L(a,e,a),L(a,a,e)}return a},world_tracker_ground_anchor_pose:(e,t,a)=>{let r=ft(void 0,i.impl.world_tracker_ground_anchor_pose_raw(e));if(a){let e=P();x(e,[-1,1,1]),L(r,e,r),L(r,r,e)}return L(r,t,r),r},world_tracker_ground_anchor_pose_camera_relative:(e,t)=>{let a=ft(void 0,i.impl.world_tracker_ground_anchor_pose_raw(e));if(t){let e=P();x(e,[-1,1,1]),L(a,e,a),L(a,a,e)}return a},world_tracker_vertical_plane_detection_supported:e=>!1,html_element_source_create:(e,t)=>Qe.createVideoElementSource(e,t),html_element_source_start:e=>{var t;return null===(t=Qe.getVideoElementSource(e))||void 0===t?void 0:t.start()},html_element_source_pause:e=>{var t;return null===(t=Qe.getVideoElementSource(e))||void 0===t?void 0:t.pause()},html_element_source_destroy:e=>{var t;return null===(t=Qe.getVideoElementSource(e))||void 0===t?void 0:t.destroy()},sequence_source_create:e=>Pt.create(e),sequence_source_load_from_memory:(e,t)=>{var a;return null===(a=Pt.get(e))||void 0===a?void 0:a.loadFromMemory(t)},sequence_source_pause:e=>{var t;return null===(t=Pt.get(e))||void 0===t?void 0:t.pause()},sequence_source_start:e=>{var t;return null===(t=Pt.get(e))||void 0===t?void 0:t.start()},sequence_source_max_playback_fps_set:(e,t)=>{var a;return null===(a=Pt.get(e))||void 0===a?void 0:a.maxPlaybackFpsSet(t)},sequence_source_time_set:(e,t)=>{var a;return null===(a=Pt.get(e))||void 0===a?void 0:a.setTime(t)},sequence_source_destroy:e=>{var t;return null===(t=Pt.get(e))||void 0===t?void 0:t.destroy()},permission_granted_all:ue,permission_granted_camera:Ee,permission_granted_motion:he,permission_denied_any:ve,permission_denied_camera:be,permission_denied_motion:pe,permission_request_motion:ge,permission_request_camera:fe,permission_request_all:me,permission_request_ui:Ne,permission_request_ui_promise:Ne,permission_denied_ui:ye,browser_incompatible:It.incompatible,browser_incompatible_ui:It.incompatible_ui,log_level_set:e=>{!function(e){Se=e}(e),i.impl.log_level_set(e)},cookies_permitted:e=>{var t;e?o||(t=r,window.localStorage.setItem("z_uar_lid",t),o=!0):window.localStorage.removeItem("z_uar_lid")}}),ia}const _a="3.0.1-beta.1";function sa(e){return function(e){return console.log(`Zappar CV v${_a}`),oa(e)}(Object.assign(Object.assign({},e),{worker:(null==e?void 0:e.worker)||new(a(276).Z)}))}})(),i})()));
|