@zappar/zappar-cv 3.0.1-alpha.1 → 3.0.1-alpha.13
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 +8 -1
- package/lib/camera-frame-data.d.ts +5 -0
- package/lib/camera-frame-data.js +1 -0
- package/lib/data-download.d.ts +8 -0
- package/lib/data-download.js +8 -0
- package/lib/deserializer.d.ts +1 -0
- package/lib/deserializer.js +7 -0
- package/lib/direct.js +1 -1
- package/lib/drawgrid.d.ts +2 -0
- package/lib/drawgrid.js +136 -0
- package/lib/drawpoints.d.ts +11 -0
- package/lib/drawpoints.js +180 -0
- package/lib/gen/zappar-bridge.d.ts +141 -0
- package/lib/gen/zappar-bridge.js +8 -0
- package/lib/gen/zappar-client.d.ts +3 -2
- package/lib/gen/zappar-client.js +214 -18
- package/lib/gen/zappar-cwrap.js +179 -3
- package/lib/gen/zappar-native.d.ts +29 -1
- package/lib/gen/zappar-native.js +6 -0
- package/lib/gen/zappar-server.d.ts +3 -0
- package/lib/gen/zappar-server.js +108 -10
- package/lib/gen/zappar.d.ts +26 -0
- package/lib/gen/zappar.js +1 -0
- package/lib/html-element-source.d.ts +3 -1
- package/lib/html-element-source.js +13 -6
- package/lib/image-process-gl.d.ts +3 -2
- package/lib/image-process-gl.js +9 -7
- package/lib/imagebitmap-camera-source.d.ts +3 -1
- package/lib/imagebitmap-camera-source.js +10 -4
- package/lib/imagetracker.d.ts +3 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -1
- package/lib/mstp-camera-source.d.ts +2 -1
- package/lib/mstp-camera-source.js +5 -0
- package/lib/native.js +67 -3
- package/lib/pipeline.d.ts +14 -4
- package/lib/pipeline.js +84 -5
- package/lib/profile.d.ts +2 -2
- package/lib/profile.js +3 -3
- package/lib/serializer.d.ts +1 -0
- package/lib/serializer.js +1 -0
- package/lib/source.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/worker-client.js +5 -1
- package/lib/worker-imagebitmap.js +5 -4
- package/lib/worker-server.d.ts +1 -1
- package/lib/worker-server.js +84 -12
- package/lib/worker.js +2 -1
- package/lib/workerinterface.d.ts +24 -1
- package/lib/zappar-cv.js +1 -174
- package/lib/zappar-cv.wasm +0 -0
- package/package.json +1 -1
- package/umd/751.zappar-cv.js +1 -0
- package/umd/{501114eb92cddf5f56fe.wasm → 7a7455e00ac55a4f34d3.wasm} +0 -0
- package/umd/867.zappar-cv.js +1 -1
- package/umd/zappar-cv.js +1 -1
- package/umd/zappar-cv.worker.js +1 -1
- package/umd/429.zappar-cv.js +0 -1
package/umd/zappar-cv.worker.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={238:function(e,t,r){var a;!function(i,n){"use strict";var _="function",o="undefined",s="object",c="string",h="model",l="name",f="type",u="vendor",d="version",p="architecture",m="console",b="mobile",g="tablet",w="smarttv",v="wearable",E="embedded",y="Amazon",A="Apple",k="ASUS",R="BlackBerry",N="Browser",S="Chrome",T="Firefox",x="Google",I="Huawei",L="LG",z="Microsoft",P="Motorola",M="Opera",F="Samsung",O="Sharp",C="Sony",V="Xiaomi",B="Zebra",U="Facebook",j=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},D=function(e,t){return typeof e===c&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},W=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,350)},Z=function(e,t){for(var r,a,i,o,c,h,l=0;l<t.length&&!c;){var f=t[l],u=t[l+1];for(r=a=0;r<f.length&&!c;)if(c=f[r++].exec(e))for(i=0;i<u.length;i++)h=c[++a],typeof(o=u[i])===s&&o.length>0?2===o.length?typeof o[1]==_?this[o[0]]=o[1].call(this,h):this[o[0]]=o[1]:3===o.length?typeof o[1]!==_||o[1].exec&&o[1].test?this[o[0]]=h?h.replace(o[1],o[2]):n:this[o[0]]=h?o[1].call(this,h,o[2]):n:4===o.length&&(this[o[0]]=h?o[3].call(this,h.replace(o[1],o[2])):n):this[o]=h||n;l+=2}},X=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var a=0;a<t[r].length;a++)if(D(t[r][a],e))return"?"===r?n:r}else if(D(t[r],e))return"?"===r?n:r;return e},G={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],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,M+" Mini"]],[/\bopr\/([\w\.]+)/i],[d,[l,M]],[/(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,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UC"+N]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+N],d],[/\bfocus\/([\w\.]+)/i],[d,[l,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[d,[l,M+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,M+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI "+N]],[/fxios\/([-\w\.]+)/i],[d,[l,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+N]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+N],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,U],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,S+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android "+N]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,X,{"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,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,T+" 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,d],[/(cobalt)\/([\w\.]+)/i],[l,[d,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,K]],[/((?: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/,"",K]],[/(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,K]]],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],[h,[u,F],[f,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[u,F],[f,b]],[/\((ip(?:hone|od)[\w ]*);/i],[h,[u,A],[f,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[u,A],[f,g]],[/(macintosh);/i],[h,[u,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[u,I],[f,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[u,I],[f,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],[[h,/_/g," "],[u,V],[f,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[u,V],[f,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[u,"OPPO"],[f,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[u,"Vivo"],[f,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[u,"Realme"],[f,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],[h,[u,P],[f,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[u,P],[f,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[u,L],[f,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[u,L],[f,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[u,"Lenovo"],[f,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[u,"Nokia"],[f,b]],[/(pixel c)\b/i],[h,[u,x],[f,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[u,x],[f,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],[h,[u,C],[f,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[u,C],[f,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[u,"OnePlus"],[f,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[u,y],[f,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[u,y],[f,b]],[/(playbook);[-\w\),; ]+(rim)/i],[h,u,[f,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[u,R],[f,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[u,k],[f,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[u,k],[f,b]],[/(nexus 9)/i],[h,[u,"HTC"],[f,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[h,/_/g," "],[f,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[u,"Acer"],[f,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[u,"Meizu"],[f,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[u,O],[f,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,h,[f,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,h,[f,g]],[/(surface duo)/i],[h,[u,z],[f,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[u,"Fairphone"],[f,b]],[/(u304aa)/i],[h,[u,"AT&T"],[f,b]],[/\bsie-(\w*)/i],[h,[u,"Siemens"],[f,b]],[/\b(rct\w+) b/i],[h,[u,"RCA"],[f,g]],[/\b(venue[\d ]{2,7}) b/i],[h,[u,"Dell"],[f,g]],[/\b(q(?:mv|ta)\w+) b/i],[h,[u,"Verizon"],[f,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[u,"Barnes & Noble"],[f,g]],[/\b(tm\d{3}\w+) b/i],[h,[u,"NuVision"],[f,g]],[/\b(k88) b/i],[h,[u,"ZTE"],[f,g]],[/\b(nx\d{3}j) b/i],[h,[u,"ZTE"],[f,b]],[/\b(gen\d{3}) b.+49h/i],[h,[u,"Swiss"],[f,b]],[/\b(zur\d{3}) b/i],[h,[u,"Swiss"],[f,g]],[/\b((zeki)?tb.*\b) b/i],[h,[u,"Zeki"],[f,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],h,[f,g]],[/\b(ns-?\w{0,9}) b/i],[h,[u,"Insignia"],[f,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[u,"NextBook"],[f,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],h,[f,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],h,[f,b]],[/\b(ph-1) /i],[h,[u,"Essential"],[f,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[u,"Envizen"],[f,g]],[/\b(trio[-\w\. ]+) b/i],[h,[u,"MachSpeed"],[f,g]],[/\btu_(1491) b/i],[h,[u,"Rotor"],[f,g]],[/(shield[\w ]+) b/i],[h,[u,"Nvidia"],[f,g]],[/(sprint) (\w+)/i],[u,h,[f,b]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[u,z],[f,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[u,B],[f,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[u,B],[f,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,h,[f,m]],[/droid.+; (shield) bui/i],[h,[u,"Nvidia"],[f,m]],[/(playstation [345portablevi]+)/i],[h,[u,C],[f,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[u,z],[f,m]],[/smart-tv.+(samsung)/i],[u,[f,w]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[u,F],[f,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,L],[f,w]],[/(apple) ?tv/i],[u,[h,A+" TV"],[f,w]],[/crkey/i],[[h,S+"cast"],[u,x],[f,w]],[/droid.+aft(\w)( bui|\))/i],[h,[u,y],[f,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[u,O],[f,w]],[/(bravia[\w ]+)( bui|\))/i],[h,[u,C],[f,w]],[/(mitv-\w{5}) bui/i],[h,[u,V],[f,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[u,W],[h,W],[f,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,w]],[/((pebble))app/i],[u,h,[f,v]],[/droid.+; (glass) \d/i],[h,[u,x],[f,v]],[/droid.+; (wt63?0{2,3})\)/i],[h,[u,B],[f,v]],[/(quest( 2)?)/i],[h,[u,U],[f,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[f,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[f,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[f,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,b]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[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,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[d,X,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[d,X,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,R]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[l,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,S+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(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,d],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,d]]},H=function(e,t){if(typeof e===s&&(t=e,e=n),!(this instanceof H))return new H(e,t).getResult();var r=e||(typeof i!==o&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),a=t?function(e,t){var r={};for(var a in e)t[a]&&t[a].length%2==0?r[a]=t[a].concat(e[a]):r[a]=e[a];return r}(Y,t):Y;return this.getBrowser=function(){var e,t={};return t[l]=n,t[d]=n,Z.call(t,r,a.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,Z.call(e,r,a.cpu),e},this.getDevice=function(){var e={};return e[u]=n,e[h]=n,e[f]=n,Z.call(e,r,a.device),e},this.getEngine=function(){var e={};return e[l]=n,e[d]=n,Z.call(e,r,a.engine),e},this.getOS=function(){var e={};return e[l]=n,e[d]=n,Z.call(e,r,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 r},this.setUA=function(e){return r=typeof e===c&&e.length>350?W(e,350):e,this},this.setUA(r),this};H.VERSION="1.0.33",H.BROWSER=j([l,d,"major"]),H.CPU=j([p]),H.DEVICE=j([h,u,f,m,b,w,g,v,E]),H.ENGINE=H.OS=j([l,d]),typeof t!==o?(e.exports&&(t=e.exports=H),t.UAParser=H):r.amdO?(a=function(){return H}.call(t,r,t,e))===n||(e.exports=a):typeof i!==o&&(i.UAParser=H);var q=typeof i!==o&&(i.jQuery||i.Zepto);if(q&&!q.ua){var $=new H;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)},751:(e,t,r)=>{"use strict";e.exports=r.p+"501114eb92cddf5f56fe.wasm"}},t={};function r(a){var i=t[a];if(void 0!==i)return i.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,r),n.exports}r.m=e,r.amdO={},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),(()=>{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 a=t.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(/\/[^\/]+$/,"/"),r.p=e})(),r.b=self.location+"",(()=>{"use strict";var e;const t=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t={}){var r,a,i=t;i.ready=new Promise(((e,t)=>{r=e,a=t}));var n,_=Object.assign({},i),o="./this.program",s=(e,t)=>{throw t},c="";c=self.location.href,e&&(c=e),c=c.startsWith("blob:")?"":c.substr(0,c.replace(/[?#].*/,"").lastIndexOf("/")+1),n=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)};var h,l=i.print||console.log.bind(console),f=i.printErr||console.error.bind(console);Object.assign(i,_),_=null,i.thisProgram&&(o=i.thisProgram),i.quit&&(s=i.quit),i.wasmBinary&&(h=i.wasmBinary),"object"!=typeof WebAssembly&&C("no native wasm support detected");var u,d,p,m,b,g,w,v,E,y,A=!1;function k(){var e=u.buffer;i.HEAP8=p=new Int8Array(e),i.HEAP16=b=new Int16Array(e),i.HEAPU8=m=new Uint8Array(e),i.HEAPU16=g=new Uint16Array(e),i.HEAP32=w=new Int32Array(e),i.HEAPU32=v=new Uint32Array(e),i.HEAPF32=E=new Float32Array(e),i.HEAPF64=y=new Float64Array(e)}var R=[],N=[],S=[];function T(){var e=i.preRun.shift();R.unshift(e)}var x,I,L,z=0,P=null,M=null;function F(){z++,i.monitorRunDependencies?.(z)}function O(){if(z--,i.monitorRunDependencies?.(z),0==z&&(null!==P&&(clearInterval(P),P=null),M)){var e=M;M=null,e()}}function C(e){throw i.onAbort?.(e),f(e="Aborted("+e+")"),A=!0,d=1,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),a(e),e}if(!(x="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")){var V=x;x=i.locateFile?i.locateFile(V,c):c+V}function B(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var U=e=>{for(;0<e.length;)e.shift()(i)},j=i.noExitRuntime||!0,D=[],K=0,W=0;class Z{constructor(e){this.lh=e,this.$g=e-24}}var X=e=>{var t=W;if(!t)return fr(0),0;var r=new Z(t);v[r.$g+16>>2]=t;var a=v[r.$g+4>>2];if(!a)return fr(0),t;for(var i in e){var n=e[i];if(0===n||n===a)break;if(gr(n,a,r.$g+16))return fr(n),t}return fr(a),t},G=()=>{var e=D.pop();e||C("no exception to throw");var t=e.lh;throw 0==p[e.$g+13>>0]&&(D.push(e),p[e.$g+13>>0]=1,p[e.$g+12>>0]=0,K++),W=t},Y=(e,t)=>{for(var r=0,a=e.length-1;0<=a;a--){var i=e[a];"."===i?e.splice(a,1):".."===i?(e.splice(a,1),r++):r&&(e.splice(a,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},H=e=>{var t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=Y(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},q=e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return e=t[0],t=t[1],e||t?(t&&=t.substr(0,t.length-1),e+t):"."},$=e=>{if("/"===e)return"/";var t=(e=(e=H(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},J=e=>(J=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);C("initRandomDevice")})())(e);function Q(){for(var e="",t=!1,r=arguments.length-1;-1<=r&&!t;r--){if("string"!=typeof(t=0<=r?arguments[r]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!t)return"";e=t+"/"+e,t="/"===t.charAt(0)}return(t?"/":"")+(e=Y(e.split("/").filter((e=>!!e)),!t).join("/"))||"."}var ee="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,te=(e,t,r)=>{var a=t+r;for(r=t;e[r]&&!(r>=a);)++r;if(16<r-t&&e.buffer&&ee)return ee.decode(e.subarray(t,r));for(a="";t<r;){var i=e[t++];if(128&i){var n=63&e[t++];if(192==(224&i))a+=String.fromCharCode((31&i)<<6|n);else{var _=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|n<<6|_:(7&i)<<18|n<<12|_<<6|63&e[t++])?a+=String.fromCharCode(i):(i-=65536,a+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else a+=String.fromCharCode(i)}return a},re=[],ae=e=>{for(var t=0,r=0;r<e.length;++r){var a=e.charCodeAt(r);127>=a?t++:2047>=a?t+=2:55296<=a&&57343>=a?(t+=4,++r):t+=3}return t},ie=(e,t,r,a)=>{if(!(0<a))return 0;var i=r;a=r+a-1;for(var n=0;n<e.length;++n){var _=e.charCodeAt(n);if(55296<=_&&57343>=_&&(_=65536+((1023&_)<<10)|1023&e.charCodeAt(++n)),127>=_){if(r>=a)break;t[r++]=_}else{if(2047>=_){if(r+1>=a)break;t[r++]=192|_>>6}else{if(65535>=_){if(r+2>=a)break;t[r++]=224|_>>12}else{if(r+3>=a)break;t[r++]=240|_>>18,t[r++]=128|_>>12&63}t[r++]=128|_>>6&63}t[r++]=128|63&_}}return t[r]=0,r-i};function ne(e,t){var r=Array(ae(e)+1);return e=ie(e,r,0,r.length),t&&(r.length=e),r}var _e=[];function oe(e,t){_e[e]={input:[],ah:[],jh:t},Ve(e,se)}var se={open(e){var t=_e[e.node.uh];if(!t)throw new Ee(43);e.Yg=t,e.seekable=!1},close(e){e.Yg.jh.yh(e.Yg)},yh(e){e.Yg.jh.yh(e.Yg)},read(e,t,r,a){if(!e.Yg||!e.Yg.jh.Nh)throw new Ee(60);for(var i=0,n=0;n<a;n++){try{var _=e.Yg.jh.Nh(e.Yg)}catch(e){throw new Ee(29)}if(void 0===_&&0===i)throw new Ee(6);if(null==_)break;i++,t[r+n]=_}return i&&(e.node.timestamp=Date.now()),i},write(e,t,r,a){if(!e.Yg||!e.Yg.jh.Ih)throw new Ee(60);try{for(var i=0;i<a;i++)e.Yg.jh.Ih(e.Yg,t[r+i])}catch(e){throw new Ee(29)}return a&&(e.node.timestamp=Date.now()),i}},ce={Nh(){e:{if(!re.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}re=ne(e,!0)}e=re.shift()}return e},Ih(e,t){null===t||10===t?(l(te(e.ah,0)),e.ah=[]):0!=t&&e.ah.push(t)},yh(e){e.ah&&0<e.ah.length&&(l(te(e.ah,0)),e.ah=[])},ci:()=>({ui:25856,wi:5,ti:191,vi:35387,si:[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]}),di:()=>0,ei:()=>[24,80]},he={Ih(e,t){null===t||10===t?(f(te(e.ah,0)),e.ah=[]):0!=t&&e.ah.push(t)},yh(e){e.ah&&0<e.ah.length&&(f(te(e.ah,0)),e.ah=[])}};function le(e,t){var r=e.Wg?e.Wg.length:0;r>=t||(t=Math.max(t,r*(1048576>r?2:1.125)>>>0),0!=r&&(t=Math.max(t,256)),r=e.Wg,e.Wg=new Uint8Array(t),0<e.Zg&&e.Wg.set(r.subarray(0,e.Zg),0))}var fe={fh:null,ih:()=>fe.createNode(null,"/",16895,0),createNode(e,t,r,a){if(24576==(61440&r)||4096==(61440&r))throw new Ee(63);return fe.fh||(fe.fh={dir:{node:{eh:fe.Vg.eh,gh:fe.Vg.gh,th:fe.Vg.th,zh:fe.Vg.zh,Sh:fe.Vg.Sh,Fh:fe.Vg.Fh,Bh:fe.Vg.Bh,Ah:fe.Vg.Ah,Ch:fe.Vg.Ch},stream:{nh:fe.Xg.nh}},file:{node:{eh:fe.Vg.eh,gh:fe.Vg.gh},stream:{nh:fe.Xg.nh,read:fe.Xg.read,write:fe.Xg.write,wh:fe.Xg.wh,Ph:fe.Xg.Ph,Rh:fe.Xg.Rh}},link:{node:{eh:fe.Vg.eh,gh:fe.Vg.gh,vh:fe.Vg.vh},stream:{}},Lh:{node:{eh:fe.Vg.eh,gh:fe.Vg.gh},stream:Ce}}),xe((r=Te(e,t,r,a)).mode)?(r.Vg=fe.fh.dir.node,r.Xg=fe.fh.dir.stream,r.Wg={}):32768==(61440&r.mode)?(r.Vg=fe.fh.file.node,r.Xg=fe.fh.file.stream,r.Zg=0,r.Wg=null):40960==(61440&r.mode)?(r.Vg=fe.fh.link.node,r.Xg=fe.fh.link.stream):8192==(61440&r.mode)&&(r.Vg=fe.fh.Lh.node,r.Xg=fe.fh.Lh.stream),r.timestamp=Date.now(),e&&(e.Wg[t]=r,e.timestamp=r.timestamp),r},Bi:e=>e.Wg?e.Wg.subarray?e.Wg.subarray(0,e.Zg):new Uint8Array(e.Wg):new Uint8Array(0),Vg:{eh(e){var t={};return t.Xh=8192==(61440&e.mode)?e.id:1,t.Oh=e.id,t.mode=e.mode,t.ii=1,t.uid=0,t.Zh=0,t.uh=e.uh,xe(e.mode)?t.size=4096:32768==(61440&e.mode)?t.size=e.Zg:40960==(61440&e.mode)?t.size=e.link.length:t.size=0,t.Th=new Date(e.timestamp),t.hi=new Date(e.timestamp),t.Wh=new Date(e.timestamp),t.Uh=4096,t.Vh=Math.ceil(t.size/t.Uh),t},gh(e,t){if(void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&(t=t.size,e.Zg!=t))if(0==t)e.Wg=null,e.Zg=0;else{var r=e.Wg;e.Wg=new Uint8Array(t),r&&e.Wg.set(r.subarray(0,Math.min(t,e.Zg))),e.Zg=t}},th(){throw ye[44]},zh:(e,t,r,a)=>fe.createNode(e,t,r,a),Sh(e,t,r){if(xe(e.mode)){try{var a=Se(t,r)}catch(e){}if(a)for(var i in a.Wg)throw new Ee(55)}delete e.parent.Wg[e.name],e.parent.timestamp=Date.now(),e.name=r,t.Wg[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},Fh(e,t){delete e.Wg[t],e.timestamp=Date.now()},Bh(e,t){var r,a=Se(e,t);for(r in a.Wg)throw new Ee(55);delete e.Wg[t],e.timestamp=Date.now()},Ah(e){var t,r=[".",".."];for(t of Object.keys(e.Wg))r.push(t);return r},Ch:(e,t,r)=>((e=fe.createNode(e,t,41471,0)).link=r,e),vh(e){if(40960!=(61440&e.mode))throw new Ee(28);return e.link}},Xg:{read(e,t,r,a,i){var n=e.node.Wg;if(i>=e.node.Zg)return 0;if(8<(e=Math.min(e.node.Zg-i,a))&&n.subarray)t.set(n.subarray(i,i+e),r);else for(a=0;a<e;a++)t[r+a]=n[i+a];return e},write(e,t,r,a,i,n){if(t.buffer===p.buffer&&(n=!1),!a)return 0;if((e=e.node).timestamp=Date.now(),t.subarray&&(!e.Wg||e.Wg.subarray)){if(n)return e.Wg=t.subarray(r,r+a),e.Zg=a;if(0===e.Zg&&0===i)return e.Wg=t.slice(r,r+a),e.Zg=a;if(i+a<=e.Zg)return e.Wg.set(t.subarray(r,r+a),i),a}if(le(e,i+a),e.Wg.subarray&&t.subarray)e.Wg.set(t.subarray(r,r+a),i);else for(n=0;n<a;n++)e.Wg[i+n]=t[r+n];return e.Zg=Math.max(e.Zg,i+a),a},nh(e,t,r){if(1===r?t+=e.position:2===r&&32768==(61440&e.node.mode)&&(t+=e.node.Zg),0>t)throw new Ee(28);return t},wh(e,t,r){le(e.node,t+r),e.node.Zg=Math.max(e.node.Zg,t+r)},Ph(e,t,r,a,i){if(32768!=(61440&e.node.mode))throw new Ee(43);if(e=e.node.Wg,2&i||e.buffer!==p.buffer){if((0<r||r+t<e.length)&&(e=e.subarray?e.subarray(r,r+t):Array.prototype.slice.call(e,r,r+t)),r=!0,C(),!(t=void 0))throw new Ee(48);p.set(e,t)}else r=!1,t=e.byteOffset;return{$g:t,qh:r}},Rh:(e,t,r,a)=>(fe.Xg.write(e,t,0,a,r,!1),0)}},ue=i.preloadPlugins||[],de=(e,t)=>{var r=0;return e&&(r|=365),t&&(r|=146),r},pe=null,me={},be=[],ge=1,we=null,ve=!0,Ee=class{constructor(e){this.name="ErrnoError",this.bh=e}},ye={};function Ae(e,t={}){if(!(e=Q(e)))return{path:"",node:null};if(8<(t=Object.assign({Mh:!0,Jh:0},t)).Jh)throw new Ee(32);e=e.split("/").filter((e=>!!e));for(var r=pe,a="/",i=0;i<e.length;i++){var n=i===e.length-1;if(n&&t.parent)break;if(r=Se(r,e[i]),a=H(a+"/"+e[i]),r.rh&&(!n||n&&t.Mh)&&(r=r.rh.root),!n||t.xh)for(n=0;40960==(61440&r.mode);)if(r=We(a),r=Ae(a=Q(q(a),r),{Jh:t.Jh+1}).node,40<n++)throw new Ee(32)}return{path:a,node:r}}function ke(e){for(var t;;){if(e===e.parent)return e=e.ih.Qh,t?"/"!==e[e.length-1]?`${e}/${t}`:e+t:e;t=t?`${e.name}/${t}`:e.name,e=e.parent}}function Re(e,t){for(var r=0,a=0;a<t.length;a++)r=(r<<5)-r+t.charCodeAt(a)|0;return(e+r>>>0)%we.length}function Ne(e){var t=Re(e.parent.id,e.name);if(we[t]===e)we[t]=e.sh;else for(t=we[t];t;){if(t.sh===e){t.sh=e.sh;break}t=t.sh}}function Se(e,t){var r=xe(e.mode)?(r=Le(e,"x"))?r:e.Vg.th?0:2:54;if(r)throw new Ee(r);for(r=we[Re(e.id,t)];r;r=r.sh){var a=r.name;if(r.parent.id===e.id&&a===t)return r}return e.Vg.th(e,t)}function Te(e,t,r,a){return t=Re((e=new ir(e,t,r,a)).parent.id,e.name),e.sh=we[t],we[t]=e}function xe(e){return 16384==(61440&e)}function Ie(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t}function Le(e,t){return ve?0:!t.includes("r")||292&e.mode?t.includes("w")&&!(146&e.mode)||t.includes("x")&&!(73&e.mode)?2:0:2}function ze(e,t){try{return Se(e,t),20}catch(e){}return Le(e,"wx")}function Pe(e,t,r){try{var a=Se(e,t)}catch(e){return e.bh}if(e=Le(e,"wx"))return e;if(r){if(!xe(a.mode))return 54;if(a===a.parent||"/"===ke(a))return 10}else if(xe(a.mode))return 31;return 0}function Me(e){if(!(e=be[e]))throw new Ee(8);return e}function Fe(e,t=-1){return He||((He=function(){this.dh={}}).prototype={},Object.defineProperties(He.prototype,{object:{get(){return this.node},set(e){this.node=e}},flags:{get(){return this.dh.flags},set(e){this.dh.flags=e}},position:{get(){return this.dh.position},set(e){this.dh.position=e}}})),e=Object.assign(new He,e),-1==t&&(t=function(){for(var e=0;4096>=e;e++)if(!be[e])return e;throw new Ee(33)}()),e.kh=t,be[t]=e}var Oe,Ce={open(e){e.Xg=me[e.node.uh].Xg,e.Xg.open?.(e)},nh(){throw new Ee(70)}};function Ve(e,t){me[e]={Xg:t}}function Be(e,t){var r="/"===t;if(r&&pe)throw new Ee(10);if(!r&&t){var a=Ae(t,{Mh:!1});if(t=a.path,(a=a.node).rh)throw new Ee(10);if(!xe(a.mode))throw new Ee(54)}t={type:e,Fi:{},Qh:t,gi:[]},(e=e.ih(t)).ih=t,t.root=e,r?pe=e:a&&(a.rh=t,a.ih&&a.ih.gi.push(t))}function Ue(e,t,r){var a=Ae(e,{parent:!0}).node;if(!(e=$(e))||"."===e||".."===e)throw new Ee(28);var i=ze(a,e);if(i)throw new Ee(i);if(!a.Vg.zh)throw new Ee(63);return a.Vg.zh(a,e,t,r)}function je(e){return Ue(e,16895,0)}function De(e,t,r){void 0===r&&(r=t,t=438),Ue(e,8192|t,r)}function Ke(e,t){if(!Q(e))throw new Ee(44);var r=Ae(t,{parent:!0}).node;if(!r)throw new Ee(44);var a=ze(r,t=$(t));if(a)throw new Ee(a);if(!r.Vg.Ch)throw new Ee(63);r.Vg.Ch(r,t,e)}function We(e){if(!(e=Ae(e).node))throw new Ee(44);if(!e.Vg.vh)throw new Ee(28);return Q(ke(e.parent),e.Vg.vh(e))}function Ze(e,t,r){if(""===e)throw new Ee(44);if("string"==typeof t){var a={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[t];if(void 0===a)throw Error(`Unknown file open mode: ${t}`);t=a}if(r=64&t?4095&(void 0===r?438:r)|32768:0,"object"==typeof e)var n=e;else{e=H(e);try{n=Ae(e,{xh:!(131072&t)}).node}catch(e){}}if(a=!1,64&t)if(n){if(128&t)throw new Ee(20)}else n=Ue(e,r,0),a=!0;if(!n)throw new Ee(44);if(8192==(61440&n.mode)&&(t&=-513),65536&t&&!xe(n.mode))throw new Ee(54);if(!a&&(r=n?40960==(61440&n.mode)?32:xe(n.mode)&&("r"!==Ie(t)||512&t)?31:Le(n,Ie(t)):44))throw new Ee(r);if(512&t&&!a){if(!(r="string"==typeof(r=n)?Ae(r,{xh:!0}).node:r).Vg.gh)throw new Ee(63);if(xe(r.mode))throw new Ee(31);if(32768!=(61440&r.mode))throw new Ee(28);if(a=Le(r,"w"))throw new Ee(a);r.Vg.gh(r,{size:0,timestamp:Date.now()})}return t&=-131713,(n=Fe({node:n,path:ke(n),flags:t,seekable:!0,position:0,Xg:n.Xg,ni:[],error:!1})).Xg.open&&n.Xg.open(n),!i.logReadFiles||1&t||(qe||={},e in qe||(qe[e]=1)),n}function Xe(e,t,r){if(null===e.kh)throw new Ee(8);if(!e.seekable||!e.Xg.nh)throw new Ee(70);if(0!=r&&1!=r&&2!=r)throw new Ee(28);return e.position=e.Xg.nh(e,t,r),e.ni=[],e.position}function Ge(e,t,r){e=H("/dev/"+e);var a=de(!!t,!!r);Ye||=64;var i=Ye++<<8|0;Ve(i,{open(e){e.seekable=!1},close(){r?.buffer?.length&&r(10)},read(e,r,a,i){for(var n=0,_=0;_<i;_++){try{var o=t()}catch(e){throw new Ee(29)}if(void 0===o&&0===n)throw new Ee(6);if(null==o)break;n++,r[a+_]=o}return n&&(e.node.timestamp=Date.now()),n},write(e,t,a,i){for(var n=0;n<i;n++)try{r(t[a+n])}catch(e){throw new Ee(29)}return i&&(e.node.timestamp=Date.now()),n}}),De(e,a,i)}var Ye,He,qe,$e={},Je=(e,t)=>e?te(m,e,t):"";function Qe(e,t){if("/"===t.charAt(0))return t;if(e=-100===e?"/":Me(e).path,0==t.length)throw new Ee(44);return H(e+"/"+t)}var et=void 0;function tt(){var e=w[+et>>2];return et+=4,e}var rt,at=e=>0==e%4&&(0!=e%100||0==e%400),it=[0,31,60,91,121,152,182,213,244,274,305,335],nt=[0,31,59,90,120,151,181,212,243,273,304,334],_t=e=>{var t=ae(e)+1,r=cr(t);return r&&ie(e,m,r,t),r},ot=e=>{d=e,j||(i.onExit?.(e),A=!0),s(e,new B(e))},st=e=>{if(!A)try{if(e(),!j)try{d=e=d,ot(e)}catch(e){e instanceof B||"unwind"==e||s(1,e)}}catch(e){e instanceof B||"unwind"==e||s(1,e)}},ct=(e,t)=>{setTimeout((()=>{st(e)}),t)};rt=()=>performance.now();var ht,lt,ft,ut=!1,dt=null,pt=0,mt=null,bt=0,gt=0,wt=0,vt=[],Et={},yt=!1,At=!1,kt=[],Rt=!1,Nt=void 0,St=void 0;function Tt(){return!!yt&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0)}var xt=0;function It(e){if("function"==typeof requestAnimationFrame)requestAnimationFrame(e);else{var t=Date.now();if(0===xt)xt=t+1e3/60;else for(;t+2>=xt;)xt+=1e3/60;setTimeout(e,Math.max(xt-t,0))}}function Lt(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 zt=[];function Pt(){var e=i.canvas;zt.forEach((t=>t(e.width,e.height)))}function Mt(e,t,r){t&&r?(e.oi=t,e.$h=r):(t=e.oi,r=e.$h);var a=t,n=r;if(i.forcedAspectRatio&&0<i.forcedAspectRatio&&(a/n<i.forcedAspectRatio?a=Math.round(n*i.forcedAspectRatio):n=Math.round(a/i.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var _=Math.min(screen.width/a,screen.height/n);a=Math.round(a*_),n=Math.round(n*_)}St?(e.width!=a&&(e.width=a),e.height!=n&&(e.height=n),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=t&&(e.width=t),e.height!=r&&(e.height=r),void 0!==e.style&&(a!=t||n!=r?(e.style.setProperty("width",a+"px","important"),e.style.setProperty("height",n+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}var Ft,Ot,Ct,Vt,Bt,Ut=[],jt=e=>{var t=Ut[e];return t||(e>=Ut.length&&(Ut.length=e+1),Ut[e]=t=Ct.get(e)),t};function Dt(e,t,r,a,i){function n(){var t=0,r=0;y.response&&w&&0===v[e+12>>2]&&(r=y.response.byteLength),0<r&&(t=cr(r),m.set(new Uint8Array(y.response),t)),v[e+12>>2]=t,Kt(e+16,r),Kt(e+24,0),(t=y.response?y.response.byteLength:0)&&Kt(e+32,t),g[e+40>>1]=y.readyState,g[e+42>>1]=y.status,y.statusText&&ie(y.statusText,m,e+44,64)}var _=v[e+8>>2];if(_){var o=_?te(m,_):"",s=e+112,c=Je(s+0);c||="GET";var h=v[s+56>>2],l=v[s+68>>2],f=v[s+72>>2];_=v[s+76>>2];var u=v[s+80>>2],d=v[s+84>>2],p=v[s+88>>2],b=v[s+52>>2],w=!!(1&b),E=!!(2&b);b=!!(64&b),l=l?l?te(m,l):"":void 0,f=f?f?te(m,f):"":void 0;var y=new XMLHttpRequest;if(y.withCredentials=!!m[s+60>>0],y.open(c,o,!b,l,f),b||(y.timeout=h),y.dh=o,y.responseType="arraybuffer",u&&(o=u?te(m,u):"",y.overrideMimeType(o)),_)for(;(s=v[_>>2])&&(o=v[_+4>>2]);)_+=8,s=s?te(m,s):"",o=o?te(m,o):"",y.setRequestHeader(s,o);var A=Vt.wh(y);v[e>>2]=A,_=d&&p?m.slice(d,d+p):null,y.onload=a=>{Vt.has(A)&&(n(),200<=y.status&&300>y.status?t?.(e,y,a):r?.(e,y,a))},y.onerror=t=>{Vt.has(A)&&(n(),r?.(e,y,t))},y.ontimeout=t=>{Vt.has(A)&&r?.(e,y,t)},y.onprogress=t=>{if(Vt.has(A)){var r=w&&E&&y.response?y.response.byteLength:0,i=0;0<r&&w&&E&&(i=cr(r),m.set(new Uint8Array(y.response),i)),v[e+12>>2]=i,Kt(e+16,r),Kt(e+24,t.loaded-r),Kt(e+32,t.total),g[e+40>>1]=y.readyState,3<=y.readyState&&0===y.status&&0<t.loaded&&(y.status=200),g[e+42>>1]=y.status,y.statusText&&ie(y.statusText,m,e+44,64),a?.(e,y,t),i&&sr(i)}},y.onreadystatechange=t=>{Vt.has(A)&&(g[e+40>>1]=y.readyState,2<=y.readyState&&(g[e+42>>1]=y.status),i?.(e,y,t))};try{y.send(_)}catch(t){r?.(e,y,t)}}else r(e,0,"no url specified!")}var Kt=(e,t)=>{v[e>>2]=t,v[e+4>>2]=(t-v[e>>2])/4294967296};function Wt(e,t,r,a){var i=Bt;if(i){var n=v[e+112+64>>2];n||=v[e+8>>2];var _=n?te(m,n):"";try{var o=i.transaction(["FILES"],"readwrite").objectStore("FILES").put(t,_);o.onsuccess=()=>{g[e+40>>1]=4,g[e+42>>1]=200,ie("OK",m,e+44,64),r(e,0,_)},o.onerror=t=>{g[e+40>>1]=4,g[e+42>>1]=413,ie("Payload Too Large",m,e+44,64),a(e,0,t)}}catch(t){a(e,0,t)}}else a(e,0,"IndexedDB not available!")}var Zt,Xt,Gt,Yt={},Ht=()=>{if(!Zt){var e,t={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 Yt)void 0===Yt[e]?delete t[e]:t[e]=Yt[e];var r=[];for(e in t)r.push(`${e}=${t[e]}`);Zt=r}return Zt},qt=1,$t=[],Jt=[],Qt=e=>{for(var t=qt++,r=e.length;r<t;r++)e[r]=null;return t},er=e=>{if(e||=Gt,!e.ai){e.ai=!0;var t=e.Gh;(e=>{var t=e.getExtension("ANGLE_instanced_arrays");t&&(e.vertexAttribDivisor=(e,r)=>t.vertexAttribDivisorANGLE(e,r),e.drawArraysInstanced=(e,r,a,i)=>t.drawArraysInstancedANGLE(e,r,a,i),e.drawElementsInstanced=(e,r,a,i,n)=>t.drawElementsInstancedANGLE(e,r,a,i,n))})(t),(e=>{var t=e.getExtension("OES_vertex_array_object");t&&(e.createVertexArray=()=>t.createVertexArrayOES(),e.deleteVertexArray=e=>t.deleteVertexArrayOES(e),e.bindVertexArray=e=>t.bindVertexArrayOES(e),e.isVertexArray=e=>t.isVertexArrayOES(e))})(t),(e=>{var t=e.getExtension("WEBGL_draw_buffers");t&&(e.drawBuffers=(e,r)=>t.drawBuffersWEBGL(e,r))})(t),t.yi=t.getExtension("EXT_disjoint_timer_query"),t.Ci=t.getExtension("WEBGL_multi_draw"),function(e){var t="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=>t.includes(e)))}(t).forEach((e=>{e.includes("lose_context")||e.includes("debug")||t.getExtension(e)}))}},tr={},rr=[31,29,31,30,31,30,31,31,30,31,30,31],ar=[31,28,31,30,31,30,31,31,30,31,30,31];function ir(e,t,r,a){e||=this,this.parent=e,this.ih=e.ih,this.rh=null,this.id=ge++,this.name=t,this.mode=r,this.Vg={},this.Xg={},this.uh=a}Object.defineProperties(ir.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 Ee(e),ye[e].stack="<generic error, no stack>"})),we=Array(4096),Be(fe,"/"),je("/tmp"),je("/home"),je("/home/web_user"),function(){je("/dev"),Ve(259,{read:()=>0,write:(e,t,r,a)=>a}),De("/dev/null",259),oe(1280,ce),oe(1536,he),De("/dev/tty",1280),De("/dev/tty1",1536);var e=new Uint8Array(1024),t=0,r=()=>(0===t&&(t=J(e).byteLength),e[--t]);Ge("random",r),Ge("urandom",r),je("/dev/shm"),je("/dev/shm/tmp")}(),function(){je("/proc");var e=je("/proc/self");je("/proc/self/fd"),Be({ih(){var t=Te(e,"fd",16895,73);return t.Vg={th(e,t){var r=Me(+t);return(e={parent:null,ih:{Qh:"fake"},Vg:{vh:()=>r.path}}).parent=e}},t}},"/proc/self/fd")}(),i.requestFullscreen=function(e,t){function r(){yt=!1;var e=a.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(a.exitFullscreen=Tt,Nt&&a.requestPointerLock(),yt=!0,St?("undefined"!=typeof SDL&&(w[SDL.screen>>2]=8388608|v[SDL.screen>>2]),Mt(i.canvas),Pt()):Mt(a)):(e.parentNode.insertBefore(a,e),e.parentNode.removeChild(e),St?("undefined"!=typeof SDL&&(w[SDL.screen>>2]=-8388609&v[SDL.screen>>2]),Mt(i.canvas),Pt()):Mt(a)),i.onFullScreen?.(yt),i.onFullscreen?.(yt)}void 0===(Nt=e)&&(Nt=!0),void 0===(St=t)&&(St=!1);var a=i.canvas;Rt||(Rt=!0,document.addEventListener("fullscreenchange",r,!1),document.addEventListener("mozfullscreenchange",r,!1),document.addEventListener("webkitfullscreenchange",r,!1),document.addEventListener("MSFullscreenChange",r,!1));var n=document.createElement("div");a.parentNode.insertBefore(n,a),n.appendChild(a),n.requestFullscreen=n.requestFullscreen||n.mozRequestFullScreen||n.msRequestFullscreen||(n.webkitRequestFullscreen?()=>n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(n.webkitRequestFullScreen?()=>n.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),n.requestFullscreen()},i.requestAnimationFrame=It,i.setCanvasSize=function(e,t,r){Mt(i.canvas,e,t),r||Pt()},i.pauseMainLoop=function(){dt=null,pt++},i.resumeMainLoop=function(){pt++;var e=bt,t=gt,r=mt;mt=null,(e=>{!mt||C("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."),mt=e;var t=pt;ut=!1,lt=function(){if(!A)if(0<vt.length){var r=vt.shift();if(r.Ai(r.ri),ft){var a=ft,n=0==a%1?a-1:Math.floor(a);ft=r.xi?n:(8*a+(n+.5))/9}i.setStatus&&(r=i.statusMessage||"Please wait...",n=Et.zi,(a=ft)?a<n?i.setStatus(r+" ("+(n-a)+"/"+n+")"):i.setStatus(r):i.setStatus("")),t<pt||setTimeout(lt,0)}else t<pt||(wt=wt+1|0,1==bt&&1<gt&&0!=wt%gt?dt():(0==bt&&(ht=rt()),A||i.preMainLoop&&!1===i.preMainLoop()||(st(e),i.postMainLoop?.()),t<pt||("object"==typeof SDL&&SDL.audio?.Gi?.(),dt())))}})(r),((e,t)=>{if(bt=e,gt=t,mt)if(ut||=!0,0==e)dt=function(){var e=0|Math.max(0,ht+t-rt());setTimeout(lt,e)};else if(1==e)dt=function(){It(lt)};else if(2==e){if(void 0===Ft)if("undefined"==typeof setImmediate){var r=[];addEventListener("message",(e=>{"setimmediate"!==e.data&&"setimmediate"!==e.data.target||(e.stopPropagation(),r.shift()())}),!0),Ft=function(e){r.push(e),void 0===i.setImmediates&&(i.setImmediates=[]),i.setImmediates.push(e),postMessage({target:"setimmediate"})}}else Ft=setImmediate;dt=function(){Ft(lt)}}})(e,t),dt()},i.getUserMedia=function(e){let t;(t=window).getUserMedia||(t.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},i.createContext=function(e,t,r,a){if(t&&i.Hh&&e==i.canvas)return i.Hh;var n;if(t){var _={antialias:!1,alpha:!1,fi:1};if(a)for(var o in a)_[o]=a[o];if(void 0!==tr&&(n=((e,t)=>{e.dh||(e.dh=e.getContext,e.getContext=function(t,r){return"webgl"==t==(r=e.dh(t,r))instanceof WebGLRenderingContext?r:null});var r=e.getContext("webgl",t);return r?((e,t)=>{var r=Qt(Jt),a={handle:r,attributes:t,version:t.fi,Gh:e};return e.canvas&&(e.canvas.pi=a),Jt[r]=a,(void 0===t.Yh||t.Yh)&&er(a),r})(r,t):0})(e,_)))var s=Jt[n].Gh}else s=e.getContext("2d");return s?(r&&(t||void 0===nr||C("cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),i.Hh=s,t&&(Gt=Jt[n],i.Hh=nr=Gt?.Gh),i.Ii=t,kt.forEach((e=>e())),function(){function e(){At=document.pointerLockElement===i.canvas||document.mozPointerLockElement===i.canvas||document.webkitPointerLockElement===i.canvas||document.msPointerLockElement===i.canvas}if(!Ot){Ot=!0,ue.push({canHandle:function(e){return!i.Ei&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,t,r,a){var i=new Blob([e],{type:Lt(t)});i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Lt(t)}));var n=URL.createObjectURL(i),_=new Image;_.onload=()=>{_.complete||C(`Image ${t} could not be decoded`);var a=document.createElement("canvas");a.width=_.width,a.height=_.height,a.getContext("2d").drawImage(_,0,0),URL.revokeObjectURL(n),r?.(e)},_.onerror=()=>{f(`Image ${n} could not be decoded`),a?.()},_.src=n}}),ue.push({canHandle:function(e){return!i.Di&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,t,r){function a(){i||(i=!0,r?.(e))}var i=!1,n=URL.createObjectURL(new Blob([e],{type:Lt(t)})),_=new Audio;_.addEventListener("canplaythrough",(()=>a()),!1),_.onerror=function(){if(!i){f(`warning: browser could not fully decode audio ${t}, trying slower base64 approach`);for(var r="",n=0,o=0,s=0;s<e.length;s++)for(n=n<<8|e[s],o+=8;6<=o;){var c=n>>o-6&63;o-=6,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[c]}2==o?(r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(3&n)<<4],r+="=="):4==o&&(r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(15&n)<<2],r+="="),_.src="data:audio/x-"+t.substr(-3)+";base64,"+r,a()}},_.src=n,ct((()=>{a()}),1e4)}});var t=i.canvas;t&&(t.requestPointerLock=t.requestPointerLock||t.mozRequestPointerLock||t.webkitRequestPointerLock||t.msRequestPointerLock||(()=>{}),t.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||(()=>{}),t.exitPointerLock=t.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&&t.addEventListener("click",(e=>{!At&&i.canvas.requestPointerLock&&(i.canvas.requestPointerLock(),e.preventDefault())}),!1))}}()),s):null},Vt=new class{constructor(){this.qh=[void 0],this.dh=[]}get(e){return this.qh[e]}has(e){return void 0!==this.qh[e]}wh(e){var t=this.dh.pop()||this.qh.length;return this.qh[t]=e,t}},F(),function(e,t){try{var r=indexedDB.open("emscripten_filesystem",1)}catch(e){return void t()}r.onupgradeneeded=e=>{(e=e.target.result).objectStoreNames.contains("FILES")&&e.deleteObjectStore("FILES"),e.createObjectStore("FILES")},r.onsuccess=e=>(e=>{Bt=e,O()})(e.target.result),r.onerror=t}(0,(()=>{Bt=!1,O()}));var nr,_r={q:e=>{if(e=new Z(e),0==p[e.$g+12>>0]&&(p[e.$g+12>>0]=1,K--),p[e.$g+13>>0]=0,D.push(e),br(e.lh),wr(v[e.$g+4>>2]))e=v[e.lh>>2];else{var t=v[e.$g+16>>2];e=0!==t?t:e.lh}return e},Lb:()=>{if(!D.length)return 0;var e=D[D.length-1];return br(e.lh),e.lh},y:()=>{lr(0,0);var e=D.pop();mr(e.lh),W=0},a:()=>X([]),i:e=>X([e]),G:(e,t)=>X([e,t]),Fa:G,Kb:e=>{e&&(e=new Z(e),D.push(e),p[e.$g+13>>0]=1,G())},n:(e,t,r)=>{var a=new Z(e);throw v[a.$g+16>>2]=0,v[a.$g+4>>2]=t,v[a.$g+8>>2]=r,K++,W=e},Mb:()=>K,d:e=>{throw W||=e,W},Q:function(e,t,r){et=r;try{var a=Me(e);switch(t){case 0:var i=tt();if(0>i)break;for(;be[i];)i++;return Fe(a,i).kh;case 1:case 2:case 13:case 14:return 0;case 3:return a.flags;case 4:return i=tt(),a.flags|=i,0;case 12:return i=tt(),b[i+0>>1]=2,0}return-28}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Sb:function(e,t,r){try{var a=Me(e);if(!a.mh){var i=Ae(a.path,{xh:!0}).node;if(!i.Vg.Ah)throw new Ee(54);var n=i.Vg.Ah(i);a.mh=n}e=0;for(var _=Xe(a,0,1),o=Math.floor(_/280);o<a.mh.length&&e+280<=r;){var s=a.mh[o];if("."===s)var c=a.node.id,h=4;else if(".."===s)c=Ae(a.path,{parent:!0}).node.id,h=4;else{var l=Se(a.node,s);c=l.id,h=8192==(61440&l.mode)?2:xe(l.mode)?4:40960==(61440&l.mode)?10:8}L=[c>>>0,(I=c,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+e>>2]=L[0],w[t+e+4>>2]=L[1],L=[280*(o+1)>>>0,(I=280*(o+1),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+e+8>>2]=L[0],w[t+e+12>>2]=L[1],b[t+e+16>>1]=280,p[t+e+18>>0]=h,ie(s,m,t+e+19,256),e+=280,o+=1}return Xe(a,280*o,0),e}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Zb:function(e,t,r){et=r;try{var a=Me(e);switch(t){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return a.Yg?0:-59;case 21505:if(!a.Yg)return-59;if(a.Yg.jh.ci){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=tt();w[i>>2]=25856,w[i+4>>2]=5,w[i+8>>2]=191,w[i+12>>2]=35387;for(var n=0;32>n;n++)p[i+n+17>>0]=e[n]||0}return 0;case 21506:case 21507:case 21508:if(!a.Yg)return-59;if(a.Yg.jh.di)for(i=tt(),e=[],n=0;32>n;n++)e.push(p[i+n+17>>0]);return 0;case 21519:return a.Yg?(i=tt(),w[i>>2]=0):-59;case 21520:return a.Yg?-28:-59;case 21531:if(i=tt(),!a.Xg.bi)throw new Ee(59);return a.Xg.bi(a,t,i);case 21523:return a.Yg?(a.Yg.jh.ei&&(n=[24,80],i=tt(),b[i>>1]=n[0],b[i+2>>1]=n[1]),0):-59;default:return-28}}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Ja:function(e,t,r,a){et=a;try{return Ze(t=Qe(e,t=t?te(m,t):""),r,a?tt():0).kh}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Qb:function(e,t,r,a){try{if(t=Qe(e,t=t?te(m,t):""),0>=a)return-28;var i=We(t),n=Math.min(a,ae(i)),_=p[r+n];return ie(i,m,r,a+1),p[r+n]=_,n}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Vb:function(e,t){try{var r=Ae(e=e?te(m,e):"",{xh:!0}).node;if(!r)throw new Ee(44);if(!r.Vg.eh)throw new Ee(63);var a=r.Vg.eh(r);w[t>>2]=a.Xh,w[t+4>>2]=a.mode,v[t+8>>2]=a.ii,w[t+12>>2]=a.uid,w[t+16>>2]=a.Zh,w[t+20>>2]=a.uh,L=[a.size>>>0,(I=a.size,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+24>>2]=L[0],w[t+28>>2]=L[1],w[t+32>>2]=4096,w[t+36>>2]=a.Vh;var i=a.Th.getTime(),n=a.hi.getTime(),_=a.Wh.getTime();return L=[Math.floor(i/1e3)>>>0,(I=Math.floor(i/1e3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+40>>2]=L[0],w[t+44>>2]=L[1],v[t+48>>2]=i%1e3*1e3,L=[Math.floor(n/1e3)>>>0,(I=Math.floor(n/1e3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+56>>2]=L[0],w[t+60>>2]=L[1],v[t+64>>2]=n%1e3*1e3,L=[Math.floor(_/1e3)>>>0,(I=Math.floor(_/1e3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+72>>2]=L[0],w[t+76>>2]=L[1],v[t+80>>2]=_%1e3*1e3,L=[a.Oh>>>0,(I=a.Oh,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[t+88>>2]=L[0],w[t+92>>2]=L[1],0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Rb:function(e,t){try{return Ke(e=e?te(m,e):"",t=t?te(m,t):""),0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},Ob:function(e,t,r){try{if(t=Qe(e,t=t?te(m,t):""),0===r){var a=t,i=Ae(a,{parent:!0}).node;if(!i)throw new Ee(44);var n=$(a),_=Se(i,n),o=Pe(i,n,!1);if(o)throw new Ee(o);if(!i.Vg.Fh)throw new Ee(63);if(_.rh)throw new Ee(10);i.Vg.Fh(i,n),Ne(_)}else if(512===r){a=Ae(i=t,{parent:!0}).node;var s=$(i),c=Se(a,s),h=Pe(a,s,!0);if(h)throw new Ee(h);if(!a.Vg.Bh)throw new Ee(63);if(c.rh)throw new Ee(10);a.Vg.Bh(a,s),Ne(c)}else C("Invalid flags passed to unlinkat");return 0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return-e.bh}},_b:function(e){if(Vt.has(e)){var t=Vt.get(e),r=Vt;r.qh[e]=void 0,r.dh.push(e),0<t.readyState&&4>t.readyState&&t.abort()}},Xb:()=>1,kb:function(e,t,r){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),w[r>>2]=e.getUTCSeconds(),w[r+4>>2]=e.getUTCMinutes(),w[r+8>>2]=e.getUTCHours(),w[r+12>>2]=e.getUTCDate(),w[r+16>>2]=e.getUTCMonth(),w[r+20>>2]=e.getUTCFullYear()-1900,w[r+24>>2]=e.getUTCDay(),w[r+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},lb:function(e,t,r){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),w[r>>2]=e.getSeconds(),w[r+4>>2]=e.getMinutes(),w[r+8>>2]=e.getHours(),w[r+12>>2]=e.getDate(),w[r+16>>2]=e.getMonth(),w[r+20>>2]=e.getFullYear()-1900,w[r+24>>2]=e.getDay(),w[r+28>>2]=(at(e.getFullYear())?it:nt)[e.getMonth()]+e.getDate()-1|0,w[r+36>>2]=-60*e.getTimezoneOffset(),t=new Date(e.getFullYear(),6,1).getTimezoneOffset();var a=new Date(e.getFullYear(),0,1).getTimezoneOffset();w[r+32>>2]=0|(t!=a&&e.getTimezoneOffset()==Math.min(a,t))},Pb:(e,t,r)=>{function a(e){return(e=e.toTimeString().match(/\(([A-Za-z ]+)\)$/))?e[1]:"GMT"}var i=(new Date).getFullYear(),n=new Date(i,0,1),_=new Date(i,6,1);i=n.getTimezoneOffset();var o=_.getTimezoneOffset();v[e>>2]=60*Math.max(i,o),w[t>>2]=Number(i!=o),e=a(n),t=a(_),e=_t(e),t=_t(t),o<i?(v[r>>2]=e,v[r+4>>2]=t):(v[r>>2]=t,v[r+4>>2]=e)},F:()=>{C("")},fb:function(){self.postMessage({t:"gfx"})},hb: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 t=new RegExp("("+String.fromCharCode(92)+".ngrok"+String.fromCharCode(92)+".io)$","i");t.test(e)&&(e="*.ngrok.io"),(t=new RegExp("("+String.fromCharCode(92)+".ngrok-free"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.ngrok.io"),(t=new RegExp("("+String.fromCharCode(92)+".arweb"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.arweb.app")}t=ae(e)+1;var r=cr(t);return ie(e,m,r,t+1),r},gb:function(){self.postMessage({t:"licerr"})},Ea:(e,t,r)=>{function a(){jt(e)(t)}0<=r?ct(a,r):function(e){It((()=>{st(e)}))}(a)},na:()=>Date.now(),Ib:()=>2147483648,Wb:rt,ac:()=>!1,Yb:(e,t,r)=>m.copyWithin(e,t,t+r),Nb:e=>{var t=m.length;if(2147483648<(e>>>=0))return!1;for(var r=1;4>=r;r*=2){var a=t*(1+.2/r);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 n=1;break e}catch(e){}n=void 0}if(n)return!0}return!1},$b:function(e,t,r,a,i){function n(e){f?e():st(e)}var _=e+112,o=v[_+36>>2],s=v[_+40>>2],c=v[_+44>>2],h=v[_+48>>2],l=v[_+52>>2],f=!!(64&l),u=e=>{n((()=>{o?jt(o)(e):t?.(e)}))},d=e=>{n((()=>{c?jt(c)(e):a?.(e)}))},p=e=>{n((()=>{s?jt(s)(e):r?.(e)}))},b=e=>{n((()=>{h?jt(h)(e):i?.(e)}))},w=e=>{Dt(e,u,p,d,b)},E=(e,r)=>{Wt(e,r.response,(e=>{n((()=>{o?jt(o)(e):t?.(e)}))}),(e=>{n((()=>{o?jt(o)(e):t?.(e)}))}))},y=Je(_+0),A=!!(16&l),k=!!(4&l);if(l=!!(32&l),"EM_IDB_STORE"===y)w=v[_+84>>2],Wt(e,m.slice(w,w+v[_+88>>2]),u,p);else if("EM_IDB_DELETE"===y)!function(e,t,r){var a=Bt;if(a){var i=v[e+112+64>>2];i||=v[e+8>>2],i=i?te(m,i):"";try{var n=a.transaction(["FILES"],"readwrite").objectStore("FILES").delete(i);n.onsuccess=r=>{r=r.target.result,v[e+12>>2]=0,Kt(e+16,0),Kt(e+24,0),Kt(e+32,0),g[e+40>>1]=4,g[e+42>>1]=200,ie("OK",m,e+44,64),t(e,0,r)},n.onerror=t=>{g[e+40>>1]=4,g[e+42>>1]=404,ie("Not Found",m,e+44,64),r(e,0,t)}}catch(t){r(e,0,t)}}else r(e,0,"IndexedDB not available!")}(e,u,p);else if(A){if(l)return 0;Dt(e,k?E:u,p,d,b)}else!function(e,t,r){var a=Bt;if(a){var i=v[e+112+64>>2];i||=v[e+8>>2],i=i?te(m,i):"";try{var n=a.transaction(["FILES"],"readonly").objectStore("FILES").get(i);n.onsuccess=a=>{if(a.target.result){var i=(a=a.target.result).byteLength||a.length,n=cr(i);m.set(new Uint8Array(a),n),v[e+12>>2]=n,Kt(e+16,i),Kt(e+24,0),Kt(e+32,i),g[e+40>>1]=4,g[e+42>>1]=200,ie("OK",m,e+44,64),t(e,0,a)}else g[e+40>>1]=4,g[e+42>>1]=404,ie("Not Found",m,e+44,64),r(e,0,"no data")},n.onerror=t=>{g[e+40>>1]=4,g[e+42>>1]=404,ie("Not Found",m,e+44,64),r(e,0,t)}}catch(t){r(e,0,t)}}else r(e,0,"IndexedDB not available!")}(e,u,l?p:k?e=>{Dt(e,E,p,d,b)}:w);return e},Tb:(e,t)=>{var r=0;return Ht().forEach(((a,i)=>{var n=t+r;for(i=v[e+4*i>>2]=n,n=0;n<a.length;++n)p[i++>>0]=a.charCodeAt(n);p[i>>0]=0,r+=a.length+1})),0},Ub:(e,t)=>{var r=Ht();v[e>>2]=r.length;var a=0;return r.forEach((e=>a+=e.length+1)),v[t>>2]=a,0},cc:e=>{d=e,ot(e)},Z:function(e){try{var t=Me(e);if(null===t.kh)throw new Ee(8);t.mh&&(t.mh=null);try{t.Xg.close&&t.Xg.close(t)}catch(e){throw e}finally{be[t.kh]=null}return t.kh=null,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.bh}},Ka:function(e,t,r,a){try{e:{var i=Me(e);e=t;for(var n,_=t=0;_<r;_++){var o=v[e>>2],s=v[e+4>>2];e+=8;var c=i,h=n,l=p;if(0>s||0>h)throw new Ee(28);if(null===c.kh)throw new Ee(8);if(1==(2097155&c.flags))throw new Ee(8);if(xe(c.node.mode))throw new Ee(31);if(!c.Xg.read)throw new Ee(28);var f=void 0!==h;if(f){if(!c.seekable)throw new Ee(70)}else h=c.position;var u=c.Xg.read(c,l,o,s,h);f||(c.position+=u);var d=u;if(0>d){var m=-1;break e}if(t+=d,d<s)break;void 0!==n&&(n+=d)}m=t}return v[a>>2]=m,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.bh}},mb:function(e,t,r,a,i){t=r+2097152>>>0<4194305-!!t?(t>>>0)+4294967296*r:NaN;try{if(isNaN(t))return 61;var n=Me(e);return Xe(n,t,a),L=[n.position>>>0,(I=n.position,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)],w[i>>2]=L[0],w[i+4>>2]=L[1],n.mh&&0===t&&0===a&&(n.mh=null),0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.bh}},oa:function(e,t,r,a){try{e:{var i=Me(e);e=t;for(var n,_=t=0;_<r;_++){var o=v[e>>2],s=v[e+4>>2];e+=8;var c=i,h=o,l=s,f=n,u=p;if(0>l||0>f)throw new Ee(28);if(null===c.kh)throw new Ee(8);if(0==(2097155&c.flags))throw new Ee(8);if(xe(c.node.mode))throw new Ee(31);if(!c.Xg.write)throw new Ee(28);c.seekable&&1024&c.flags&&Xe(c,0,2);var d=void 0!==f;if(d){if(!c.seekable)throw new Ee(70)}else f=c.position;var m=c.Xg.write(c,u,h,l,f,void 0);d||(c.position+=m);var b=m;if(0>b){var g=-1;break e}t+=b,void 0!==n&&(n+=b)}g=t}return v[a>>2]=g,0}catch(e){if(void 0===$e||"ErrnoError"!==e.name)throw e;return e.bh}},Ha:(e,t)=>{nr.bindTexture(e,$t[t])},Ia:(e,t)=>{for(var r=0;r<e;r++){var a=nr.createTexture(),i=a&&Qt($t);a?(a.name=i,$t[i]=a):Xt||=1282,w[t+4*r>>2]=i}},la:(e,t,r,a,i,n,_,o,s)=>{var c=nr,h=c.texImage2D;if(s){var l=o-5120;l=1==l?m:4==l?w:6==l?E:5==l||28922==l?v:g;var f=31-Math.clz32(l.BYTES_PER_ELEMENT);s=l.subarray(s>>f,s+i*(a*({5:3,6:4,8:2,29502:3,29504:4}[_-6402]||1)*(1<<f)+4-1&-4)>>f)}else s=null;h.call(c,e,t,r,a,i,n,_,o,s)},ma:function(e,t,r){nr.texParameteri(e,t,r)},w:function(e){var t=ur();try{return jt(e)()}catch(e){if(dr(t),e!==e+0)throw e;lr(1,0)}},fa:function(e,t){var r=ur();try{return jt(e)(t)}catch(e){if(dr(r),e!==e+0)throw e;lr(1,0)}},bc:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},Aa:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},P:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Ya:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},da:function(e,t,r,a,i,n,_,o){var s=ur();try{return jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},yb:function(e,t,r,a,i){var n=ur();try{return Lr(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},nb:function(e,t,r,a,i){var n=ur();try{return Ur(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Y:function(e,t){var r=ur();try{return jt(e)(t)}catch(e){if(dr(r),e!==e+0)throw e;lr(1,0)}},aa:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},Ca:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Sa:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},s:function(e){var t=ur();try{return jt(e)()}catch(e){if(dr(t),e!==e+0)throw e;lr(1,0)}},La:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},ta:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},b:function(e,t){var r=ur();try{return jt(e)(t)}catch(e){if(dr(r),e!==e+0)throw e;lr(1,0)}},r:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},ea:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},ga:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Ra:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Oa:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},bb:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},va:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},ua:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},f:function(e,t,r){var a=ur();try{return jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},T:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Za:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},ec:function(e,t,r,a,i,n,_,o){var s=ur();try{return jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},sa:function(e,t,r,a,i,n,_,o,s,c,h,l,f){var u=ur();try{return jt(e)(t,r,a,i,n,_,o,s,c,h,l,f)}catch(e){if(dr(u),e!==e+0)throw e;lr(1,0)}},wa:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},c:function(e,t,r,a){var i=ur();try{return jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Na:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},l:function(e,t,r,a,i){var n=ur();try{return jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Ma:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},u:function(e,t,r,a,i,n){var _=ur();try{return jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},B:function(e,t,r,a,i,n,_){var o=ur();try{return jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},x:function(e,t,r,a,i,n,_,o){var s=ur();try{return jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},L:function(e,t,r,a,i,n,_,o,s){var c=ur();try{return jt(e)(t,r,a,i,n,_,o,s)}catch(e){if(dr(c),e!==e+0)throw e;lr(1,0)}},$:function(e,t,r,a,i,n,_,o,s,c){var h=ur();try{return jt(e)(t,r,a,i,n,_,o,s,c)}catch(e){if(dr(h),e!==e+0)throw e;lr(1,0)}},K:function(e,t,r,a,i,n,_,o,s,c,h){var l=ur();try{return jt(e)(t,r,a,i,n,_,o,s,c,h)}catch(e){if(dr(l),e!==e+0)throw e;lr(1,0)}},ba:function(e,t,r,a,i,n,_,o,s,c,h,l){var f=ur();try{return jt(e)(t,r,a,i,n,_,o,s,c,h,l)}catch(e){if(dr(f),e!==e+0)throw e;lr(1,0)}},jb:function(e,t,r,a,i,n,_){var o=ur();try{return jr(e,t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},pb:function(e,t,r,a,i,n){var _=ur();try{return Vr(e,t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},wb:function(e,t,r,a,i,n,_,o,s){var c=ur();try{return zr(e,t,r,a,i,n,_,o,s)}catch(e){if(dr(c),e!==e+0)throw e;lr(1,0)}},Ab:function(e,t,r,a,i,n,_,o,s,c,h){var l=ur();try{return Tr(e,t,r,a,i,n,_,o,s,c,h)}catch(e){if(dr(l),e!==e+0)throw e;lr(1,0)}},Fb:function(e,t,r,a){var i=ur();try{return Ar(e,t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Cb:function(e,t,r,a,i){var n=ur();try{return Rr(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},xb:function(e,t,r,a,i,n,_,o,s,c,h,l,f,u,d){var p=ur();try{return xr(e,t,r,a,i,n,_,o,s,c,h,l,f,u,d)}catch(e){if(dr(p),e!==e+0)throw e;lr(1,0)}},qb:function(e,t,r,a){var i=ur();try{return Cr(e,t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},Gb:function(e){var t=ur();try{return vr(e)}catch(e){if(dr(t),e!==e+0)throw e;lr(1,0)}},Bb:function(e,t){var r=ur();try{return Sr(e,t)}catch(e){if(dr(r),e!==e+0)throw e;lr(1,0)}},ub:function(e,t,r){var a=ur();try{return Mr(e,t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},vb:function(e,t,r,a){var i=ur();try{return Pr(e,t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},ib:function(e,t,r,a,i){var n=ur();try{return Dr(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},ob:function(e,t,r){var a=ur();try{return Br(e,t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},m:function(e){var t=ur();try{jt(e)()}catch(e){if(dr(t),e!==e+0)throw e;lr(1,0)}},ab:function(e,t,r){var a=ur();try{jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},cb:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},g:function(e,t){var r=ur();try{jt(e)(t)}catch(e){if(dr(r),e!==e+0)throw e;lr(1,0)}},Pa:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},_:function(e,t,r,a,i,n,_){var o=ur();try{jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},ra:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},Ga:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},dc:function(e,t,r,a){var i=ur();try{jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},S:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Qa:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},Ua:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},e:function(e,t,r){var a=ur();try{jt(e)(t,r)}catch(e){if(dr(a),e!==e+0)throw e;lr(1,0)}},t:function(e,t,r,a){var i=ur();try{jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},R:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},M:function(e,t,r,a){var i=ur();try{jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},X:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},xa:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},Va:function(e,t,r,a,i,n,_,o,s){var c=ur();try{jt(e)(t,r,a,i,n,_,o,s)}catch(e){if(dr(c),e!==e+0)throw e;lr(1,0)}},N:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},h:function(e,t,r,a){var i=ur();try{jt(e)(t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},ha:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},qa:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},_a:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},Xa:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},Da:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},V:function(e,t,r,a,i,n,_,o,s,c,h,l){var f=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l)}catch(e){if(dr(f),e!==e+0)throw e;lr(1,0)}},db:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},ja:function(e,t,r,a,i,n,_){var o=ur();try{jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},k:function(e,t,r,a,i){var n=ur();try{jt(e)(t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},ya:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},eb:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},Ta:function(e,t,r,a,i,n,_,o,s,c,h){var l=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h)}catch(e){if(dr(l),e!==e+0)throw e;lr(1,0)}},ka:function(e,t,r,a,i,n,_){var o=ur();try{jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},Wa:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},j:function(e,t,r,a,i,n){var _=ur();try{jt(e)(t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},U:function(e,t,r,a,i,n,_){var o=ur();try{jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},$a:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},Ba:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},o:function(e,t,r,a,i,n,_){var o=ur();try{jt(e)(t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},z:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},ia:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},p:function(e,t,r,a,i,n,_,o){var s=ur();try{jt(e)(t,r,a,i,n,_,o)}catch(e){if(dr(s),e!==e+0)throw e;lr(1,0)}},v:function(e,t,r,a,i,n,_,o,s,c,h,l,f){var u=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f)}catch(e){if(dr(u),e!==e+0)throw e;lr(1,0)}},O:function(e,t,r,a,i,n,_,o,s,c){var h=ur();try{jt(e)(t,r,a,i,n,_,o,s,c)}catch(e){if(dr(h),e!==e+0)throw e;lr(1,0)}},W:function(e,t,r,a,i,n,_,o,s,c,h,l,f){var u=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f)}catch(e){if(dr(u),e!==e+0)throw e;lr(1,0)}},C:function(e,t,r,a,i,n,_,o,s){var c=ur();try{jt(e)(t,r,a,i,n,_,o,s)}catch(e){if(dr(c),e!==e+0)throw e;lr(1,0)}},E:function(e,t,r,a,i,n,_,o,s,c){var h=ur();try{jt(e)(t,r,a,i,n,_,o,s,c)}catch(e){if(dr(h),e!==e+0)throw e;lr(1,0)}},H:function(e,t,r,a,i,n,_,o,s,c,h){var l=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h)}catch(e){if(dr(l),e!==e+0)throw e;lr(1,0)}},za:function(e,t,r,a,i,n,_,o,s,c,h,l){var f=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l)}catch(e){if(dr(f),e!==e+0)throw e;lr(1,0)}},I:function(e,t,r,a,i,n,_,o,s,c,h,l,f,u){var d=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f,u)}catch(e){if(dr(d),e!==e+0)throw e;lr(1,0)}},D:function(e,t,r,a,i,n,_,o,s,c,h,l){var f=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l)}catch(e){if(dr(f),e!==e+0)throw e;lr(1,0)}},J:function(e,t,r,a,i,n,_,o,s,c,h,l,f){var u=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f)}catch(e){if(dr(u),e!==e+0)throw e;lr(1,0)}},pa:function(e,t,r,a,i,n,_,o,s,c,h,l,f,u,d){var p=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f,u,d)}catch(e){if(dr(p),e!==e+0)throw e;lr(1,0)}},ca:function(e,t,r,a,i,n,_,o,s,c,h,l,f,u,d,p){var m=ur();try{jt(e)(t,r,a,i,n,_,o,s,c,h,l,f,u,d,p)}catch(e){if(dr(m),e!==e+0)throw e;lr(1,0)}},Hb:function(e,t,r,a,i){var n=ur();try{Er(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},zb:function(e,t,r,a,i,n){var _=ur();try{Ir(e,t,r,a,i,n)}catch(e){if(dr(_),e!==e+0)throw e;lr(1,0)}},Db:function(e,t,r,a,i,n,_){var o=ur();try{yr(e,t,r,a,i,n,_)}catch(e){if(dr(o),e!==e+0)throw e;lr(1,0)}},Eb:function(e,t,r,a){var i=ur();try{kr(e,t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},tb:function(e,t,r,a,i){var n=ur();try{Nr(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},rb:function(e,t,r,a){var i=ur();try{Or(e,t,r,a)}catch(e){if(dr(i),e!==e+0)throw e;lr(1,0)}},sb:function(e,t,r,a,i){var n=ur();try{Fr(e,t,r,a,i)}catch(e){if(dr(n),e!==e+0)throw e;lr(1,0)}},A:e=>e,Jb:(e,t,r,a)=>((e,t,r,a)=>{function i(e,t,r){for(e="number"==typeof e?e.toString():e||"";e.length<t;)e=r[0]+e;return e}function n(e,t){return i(e,t,"0")}function _(e,t){function r(e){return 0>e?-1:0<e?1:0}var a;return 0===(a=r(e.getFullYear()-t.getFullYear()))&&0===(a=r(e.getMonth()-t.getMonth()))&&(a=r(e.getDate()-t.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 t=e.oh;for(e=new Date(new Date(e.ph+1900,0,1).getTime());0<t;){var r=e.getMonth(),a=(at(e.getFullYear())?rr:ar)[r];if(!(t>a-e.getDate())){e.setDate(e.getDate()+t);break}t-=a-e.getDate()+1,e.setDate(1),11>r?e.setMonth(r+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return r=new Date(e.getFullYear()+1,0,4),t=o(new Date(e.getFullYear(),0,4)),r=o(r),0>=_(t,e)?0>=_(r,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var c=v[a+40>>2];for(var h in a={li:w[a>>2],ki:w[a+4>>2],Dh:w[a+8>>2],Kh:w[a+12>>2],Eh:w[a+16>>2],ph:w[a+20>>2],hh:w[a+24>>2],oh:w[a+28>>2],Hi:w[a+32>>2],ji:w[a+36>>2],mi:c&&c?te(m,c):""},r=r?te(m,r):"",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"})r=r.replace(new RegExp(h,"g"),c[h]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),f="January February March April May June July August September October November December".split(" ");for(h in c={"%a":e=>l[e.hh].substring(0,3),"%A":e=>l[e.hh],"%b":e=>f[e.Eh].substring(0,3),"%B":e=>f[e.Eh],"%C":e=>n((e.ph+1900)/100|0,2),"%d":e=>n(e.Kh,2),"%e":e=>i(e.Kh,2," "),"%g":e=>s(e).toString().substring(2),"%G":s,"%H":e=>n(e.Dh,2),"%I":e=>(0==(e=e.Dh)?e=12:12<e&&(e-=12),n(e,2)),"%j":e=>{for(var t=0,r=0;r<=e.Eh-1;t+=(at(e.ph+1900)?rr:ar)[r++]);return n(e.Kh+t,3)},"%m":e=>n(e.Eh+1,2),"%M":e=>n(e.ki,2),"%n":()=>"\n","%p":e=>0<=e.Dh&&12>e.Dh?"AM":"PM","%S":e=>n(e.li,2),"%t":()=>"\t","%u":e=>e.hh||7,"%U":e=>n(Math.floor((e.oh+7-e.hh)/7),2),"%V":e=>{var t=Math.floor((e.oh+7-(e.hh+6)%7)/7);if(2>=(e.hh+371-e.oh-2)%7&&t++,t)53==t&&(4==(r=(e.hh+371-e.oh)%7)||3==r&&at(e.ph)||(t=1));else{t=52;var r=(e.hh+7-e.oh-1)%7;(4==r||5==r&&at(e.ph%400-1))&&t++}return n(t,2)},"%w":e=>e.hh,"%W":e=>n(Math.floor((e.oh+7-(e.hh+6)%7)/7),2),"%y":e=>(e.ph+1900).toString().substring(2),"%Y":e=>e.ph+1900,"%z":e=>{var t=0<=(e=e.ji);return e=Math.abs(e)/60,(t?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":e=>e.mi,"%%":()=>"%"},r=r.replace(/%%/g,"\0\0"),c)r.includes(h)&&(r=r.replace(new RegExp(h,"g"),c[h](a)));return(h=ne(r=r.replace(/\0\0/g,"%"),!1)).length>t?0:(p.set(h,e),h.length-1)})(e,t,r,a)},or=function(){function e(e){return or=e.exports,u=or.fc,k(),Ct=or.kc,N.unshift(or.gc),O(),or}var t={a:_r};if(F(),i.instantiateWasm)try{return i.instantiateWasm(t,e)}catch(e){f(`Module.instantiateWasm callback failed with error: ${e}`),a(e)}return t=function(e){if(x==x&&h)var t=new Uint8Array(h);else{if(!n)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)';t=n(x)}return t=new WebAssembly.Module(t),[new WebAssembly.Instance(t,e),t]}(t),e(t[0])}();i._zappar_has_initialized=or.hc,i._zappar_invert=or.ic,i._zappar_loaded=or.jc,i._zappar_pipeline_create=or.lc,i._zappar_pipeline_destroy=or.mc,i._zappar_pipeline_camera_frame_submit=or.nc,i._zappar_pipeline_camera_frame_submit_raw_pointer=or.oc,i._zappar_pipeline_frame_update=or.pc,i._zappar_pipeline_camera_frame_user_data=or.qc,i._zappar_pipeline_camera_model=or.rc,i._zappar_pipeline_frame_number=or.sc,i._zappar_pipeline_motion_accelerometer_submit=or.tc,i._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=or.uc,i._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=or.vc,i._zappar_pipeline_motion_rotation_rate_submit_int=or.wc,i._zappar_pipeline_motion_attitude_submit_int=or.xc,i._zappar_pipeline_motion_rotation_rate_submit=or.yc,i._zappar_pipeline_motion_attitude_submit=or.zc,i._zappar_pipeline_motion_attitude_matrix_submit=or.Ac,i._zappar_pipeline_camera_frame_user_facing=or.Bc,i._zappar_pipeline_camera_frame_texture_matrix=or.Cc,i._zappar_pipeline_camera_pose_with_attitude=or.Dc,i._zappar_pipeline_camera_pose_with_origin=or.Ec,i._zappar_pipeline_camera_frame_camera_attitude=or.Fc,i._zappar_pipeline_camera_frame_device_attitude=or.Gc,i._zappar_pipeline_camera_frame_texture_gl=or.Hc,i._zappar_pipeline_camera_frame_upload_gl=or.Ic,i._zappar_pipeline_sequence_record_start=or.Jc,i._zappar_pipeline_sequence_record_stop=or.Kc,i._zappar_pipeline_sequence_record_clear=or.Lc,i._zappar_pipeline_sequence_record_device_attitude_matrices_set=or.Mc,i._zappar_pipeline_sequence_record_data_size=or.Nc,i._zappar_pipeline_sequence_record_data=or.Oc,i._zappar_pipeline_process_gl=or.Pc,i._zappar_pipeline_camera_pose_default=or.Qc,i._zappar_instant_world_tracker_create=or.Rc,i._zappar_instant_world_tracker_destroy=or.Sc,i._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=or.Tc,i._zappar_instant_world_tracker_anchor_pose_raw=or.Uc,i._zappar_instant_world_tracker_enabled_set=or.Vc,i._zappar_instant_world_tracker_enabled=or.Wc,i._zappar_image_tracker_create=or.Xc,i._zappar_image_tracker_destroy=or.Yc,i._zappar_image_tracker_target_load_from_memory=or.Zc,i.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=or._c;var sr=i._free=or.$c;i._zappar_image_tracker_anchor_count=or.ad,i._zappar_image_tracker_anchor_id=or.bd,i._zappar_image_tracker_anchor_pose_raw=or.cd,i._zappar_image_tracker_enabled_set=or.dd,i._zappar_image_tracker_enabled=or.ed,i._zappar_image_tracker_target_loaded_version=or.fd,i.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=or.gd,i.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=or.hd,i.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=or.id,i.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=or.jd,i.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=or.kd,i.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=or.ld,i.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=or.md,i.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=or.nd,i.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=or.od,i.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=or.pd,i.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=or.qd,i.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=or.rd,i.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=or.sd,i.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=or.td,i.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=or.ud,i.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=or.vd,i.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=or.wd,i.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=or.xd,i.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=or.yd,i.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=or.zd,i.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=or.Ad,i._zappar_face_tracker_create=or.Bd,i._zappar_face_tracker_destroy=or.Cd,i._zappar_face_tracker_model_load_from_memory=or.Dd,i._zappar_face_tracker_anchor_count=or.Ed,i._zappar_face_tracker_anchor_id=or.Fd,i._zappar_face_tracker_anchor_pose_raw=or.Gd,i._zappar_face_tracker_anchor_identity_coefficients=or.Hd,i._zappar_face_tracker_anchor_expression_coefficients=or.Id,i._zappar_face_tracker_enabled_set=or.Jd,i._zappar_face_tracker_enabled=or.Kd,i._zappar_face_tracker_max_faces_set=or.Ld,i._zappar_face_tracker_max_faces=or.Md,i._zappar_face_tracker_model_loaded_version=or.Nd,i._zappar_face_landmark_create=or.Od,i._zappar_face_landmark_destroy=or.Pd,i.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=or.Qd,i._zappar_face_landmark_anchor_pose=or.Rd,i._zappar_barcode_finder_create=or.Sd,i._zappar_barcode_finder_destroy=or.Td,i._zappar_barcode_finder_found_number=or.Ud,i._zappar_barcode_finder_found_text=or.Vd,i._zappar_barcode_finder_enabled_set=or.Wd,i._zappar_barcode_finder_enabled=or.Xd,i._zappar_barcode_finder_found_format=or.Yd,i._zappar_barcode_finder_formats=or.Zd,i._zappar_barcode_finder_formats_set=or._d;var cr=i._malloc=or.$d;i._zappar_face_mesh_create=or.ae,i._zappar_face_mesh_destroy=or.be,i.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=or.ce,i.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=or.de,i.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=or.ee,i.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=or.fe,i.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=or.ge,i.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=or.he,i.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=or.ie,i.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=or.je,i.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=or.ke,i.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=or.le,i.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=or.me,i._zappar_camera_source_create=or.ne,i._zappar_camera_source_destroy=or.oe,i._zappar_camera_source_start=or.pe,i._zappar_camera_source_pause=or.qe,i._zappar_camera_default_device_id=or.re,i._zappar_sequence_source_create=or.se,i.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=or.te,i.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=or.ue,i.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=or.ve,i._zappar_sequence_source_destroy=or.we,i._zappar_sequence_source_max_playback_fps_set=or.xe,i._zappar_log_level_set=or.ye,i._zappar_log_level=or.ze,i.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=or.Ae,i._zappar_world_tracker_create=or.Be,i._zappar_world_tracker_destroy=or.Ce,i._zappar_world_tracker_world_anchor_valid=or.De,i._zappar_world_tracker_plane_count=or.Ee,i._zappar_world_tracker_plane_pose_raw=or.Fe,i._zappar_world_tracker_world_anchor_pose_raw=or.Ge,i._zappar_world_tracker_ground_anchor_valid=or.He,i._zappar_world_tracker_ground_anchor_pose_raw=or.Ie,i._zappar_world_tracker_reset=or.Je,i._zappar_world_tracker_enabled_set=or.Ke,i._zappar_world_tracker_quality=or.Le,i._zappar_world_tracker_enabled=or.Me,i._worker_message_send_count=or.Ne,i._worker_message_send_clear=or.Oe,i._worker_message_send_data_size=or.Pe,i._worker_message_send_reference=or.Qe,i._worker_message_send_data=or.Re,i._worker_message_receive=or.Se,i._ceres_worker=or.Te,i._zappar_analytics_project_id_set=or.Ue,i.__ZN5boost13serialization16singleton_module8get_lockEv=or.Ve,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem19InitializationInputEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.We,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Xe,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Ye,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Ze,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or._e,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.$e,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.af,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=or.bf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.cf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.df,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7imuBias12ConstantBiasEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.ef,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.ff,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.gf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=or.hf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.jf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=or.lf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=or.of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.pf,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=or.qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.sf,i.__ZN5boost13serialization18void_cast_registerIN5gtsam28PreintegrationCombinedParamsENS2_20PreintegrationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=or.tf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.uf,i.__ZN5boost13serialization18void_cast_registerIN5gtsam20PreintegrationParamsENS2_27PreintegratedRotationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=or.vf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam27PreintegratedRotationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.wf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.xf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.yf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.zf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Af,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=or.Bf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem10ParametersEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Cf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.Df,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem20InitializationResultEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Ef,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Ff,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Gf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Hf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.If,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Jf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Kf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Lf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Mf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Nf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Of,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Pf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Qf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Rf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Sf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Tf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Uf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Vf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem19InitializationInputEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Wf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Xf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Yf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.Zf,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=or._f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.$f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.ag,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.bg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.cg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.dg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.eg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.fg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.gg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=or.hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem10ParametersEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.ig,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.jg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem20InitializationResultEE16load_object_dataERNS1_14basic_iarchiveEPvj=or.kg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=or.lg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.mg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=or.ng,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=or.og;var hr,lr=or.pg,fr=or.qg,ur=or.rg,dr=or.sg,pr=or.tg,mr=or.ug,br=or.vg,gr=or.wg,wr=or.xg,vr=i.dynCall_j=or.yg,Er=i.dynCall_viij=or.zg,yr=i.dynCall_viijii=or.Ag,Ar=i.dynCall_iij=or.Bg,kr=i.dynCall_vij=or.Cg,Rr=i.dynCall_iiji=or.Dg,Nr=i.dynCall_viji=or.Eg,Sr=i.dynCall_ji=or.Fg,Tr=i.dynCall_iiiijjji=or.Gg,xr=i.dynCall_iijjjjjji=or.Hg,Ir=i.dynCall_viiji=or.Ig,Lr=i.dynCall_diji=or.Jg,zr=i.dynCall_iiiijji=or.Kg,Pr=i.dynCall_jiii=or.Lg,Mr=i.dynCall_jii=or.Mg,Fr=i.dynCall_vjii=or.Ng,Or=i.dynCall_vji=or.Og,Cr=i.dynCall_iji=or.Pg,Vr=i.dynCall_iiiij=or.Qg,Br=i.dynCall_jj=or.Rg,Ur=i.dynCall_djj=or.Sg,jr=i.dynCall_iiiiij=or.Tg,Dr=i.dynCall_jiiii=or.Ug;function Kr(){function e(){if(!hr&&(hr=!0,i.calledRun=!0,!A)){if(i.noFSInit||Oe||(Oe=!0,i.stdin=i.stdin,i.stdout=i.stdout,i.stderr=i.stderr,i.stdin?Ge("stdin",i.stdin):Ke("/dev/tty","/dev/stdin"),i.stdout?Ge("stdout",null,i.stdout):Ke("/dev/tty","/dev/stdout"),i.stderr?Ge("stderr",null,i.stderr):Ke("/dev/tty1","/dev/stderr"),Ze("/dev/stdin",0),Ze("/dev/stdout",1),Ze("/dev/stderr",1)),ve=!1,U(N),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();S.unshift(e)}U(S)}}if(!(0<z)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)T();U(R),0<z||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}}if(i.___start_em_js=624444,i.___stop_em_js=625609,i.cwrap=(e,t,r,a)=>{var n=!r||r.every((e=>"number"===e||"boolean"===e));return"string"!==t&&n&&!a?i["_"+e]:function(){return((e,t,r,a)=>{var n={string:e=>{var t=0;if(null!=e&&0!==e){t=ae(e)+1;var r=pr(t);ie(e,m,r,t),t=r}return t},array:e=>{var t=pr(e.length);return p.set(e,t),t}};e=i["_"+e];var _,o=[],s=0;if(a)for(var c=0;c<a.length;c++){var h=n[r[c]];h?(0===s&&(s=ur()),o[c]=h(a[c])):o[c]=a[c]}return _=r=e.apply(null,o),0!==s&&dr(s),"string"===t?_?te(m,_):"":"boolean"===t?!!_:_})(e,t,r,arguments)}},i.setValue=function(e,t,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":p[e>>0]=t;break;case"i16":b[e>>1]=t;break;case"i32":w[e>>2]=t;break;case"i64":C("to do setValue(i64) use WASM_BIGINT");case"float":E[e>>2]=t;break;case"double":y[e>>3]=t;break;case"*":v[e>>2]=t;break;default:C(`invalid type for setValue: ${r}`)}},i.getValue=function(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return p[e>>0];case"i16":return b[e>>1];case"i32":return w[e>>2];case"i64":C("to do getValue(i64) use WASM_BIGINT");case"float":return E[e>>2];case"double":return y[e>>3];case"*":return v[e>>2];default:C(`invalid type for getValue: ${t}`)}},i.UTF8ToString=Je,M=function e(){hr||Kr(),hr||(M=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return Kr(),t});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),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 a=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),a&&this._i32View.set(a.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 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++],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},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 n{constructor(e,t){this._impl=e,this._sender=t,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_world_tracker_id=new Map,this._world_tracker_by_instance=new Map}processBuffer(e){this._deserializer.setData(e),this._deserializer.forMessages(((e,t)=>{switch(e){case 38:this._impl.log_level_set(t.logLevel());break;case 35:this._impl.analytics_project_id_set(t.string(),t.string());break;case 31:{let e=t.type(),r=this._impl.pipeline_create();this._pipeline_by_instance.set(e,r),this._pipeline_id_by_pipeline_id.set(e,e),this.serializersByPipelineId.set(e,new a((t=>{this._sender(e,t)})));break}case 32:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_destroy(r),this._pipeline_by_instance.delete(e);break}case 9:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_frame_update(r);break}case 8:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_camera_frame_submit(r,t.dataWithLength(),t.int(),t.int(),t.int(),t.matrix4x4(),t.cameraModel(),t.bool());break}case 10:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 12:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_with_gravity_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 11:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_without_gravity_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 15:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 13:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 16:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 14:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 17:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_matrix_submit(r,t.matrix4x4());break}case 33:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=t.string(),n=this._impl.camera_source_create(a,i);this._camera_source_by_instance.set(e,n),this._pipeline_id_by_camera_source_id.set(e,r);break}case 34:{let e=t.type(),r=this._camera_source_by_instance.get(e);if(void 0===r)return;this._impl.camera_source_destroy(r),this._camera_source_by_instance.delete(e);break}case 39:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.sequence_source_create(a);this._sequence_source_by_instance.set(e,i),this._pipeline_id_by_sequence_source_id.set(e,r);break}case 40:{let e=t.type(),r=this._sequence_source_by_instance.get(e);if(void 0===r)return;this._impl.sequence_source_destroy(r),this._sequence_source_by_instance.delete(e);break}case 2:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.image_tracker_create(a);this._image_tracker_by_instance.set(e,i),this._pipeline_id_by_image_tracker_id.set(e,r);break}case 18:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_destroy(r),this._image_tracker_by_instance.delete(e);break}case 4:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_target_load_from_memory(r,t.dataWithLength());break}case 3:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_enabled_set(r,t.bool());break}case 24:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.face_tracker_create(a);this._face_tracker_by_instance.set(e,i),this._pipeline_id_by_face_tracker_id.set(e,r);break}case 25:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_destroy(r),this._face_tracker_by_instance.delete(e);break}case 26:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_model_load_from_memory(r,t.dataWithLength());break}case 27:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_enabled_set(r,t.bool());break}case 28:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_max_faces_set(r,t.int());break}case 29:{let e=t.type(),r=this._impl.face_mesh_create();this._face_mesh_by_instance.set(e,r);break}case 30:{let e=t.type(),r=this._face_mesh_by_instance.get(e);if(void 0===r)return;this._impl.face_mesh_destroy(r),this._face_mesh_by_instance.delete(e);break}case 36:{let e=t.type(),r=t.faceLandmarkName(),a=this._impl.face_landmark_create(r);this._face_landmark_by_instance.set(e,a);break}case 37:{let e=t.type(),r=this._face_landmark_by_instance.get(e);if(void 0===r)return;this._impl.face_landmark_destroy(r),this._face_landmark_by_instance.delete(e);break}case 20:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.barcode_finder_create(a);this._barcode_finder_by_instance.set(e,i),this._pipeline_id_by_barcode_finder_id.set(e,r);break}case 21:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_destroy(r),this._barcode_finder_by_instance.delete(e);break}case 22:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_enabled_set(r,t.bool());break}case 23:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_formats_set(r,t.barcodeFormat());break}case 5:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),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,r);break}case 19:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_destroy(r),this._instant_world_tracker_by_instance.delete(e);break}case 6:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_enabled_set(r,t.bool());break}case 7:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(r,t.float(),t.float(),t.float(),t.instantTrackerTransformOrientation());break}case 41:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.world_tracker_create(a);this._world_tracker_by_instance.set(e,i),this._pipeline_id_by_world_tracker_id.set(e,r);break}case 42:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_destroy(r),this._world_tracker_by_instance.delete(e);break}case 43:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_enabled_set(r,t.bool());break}case 44:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_reset(r);break}}}))}exploreState(){for(let[e,t]of this._pipeline_by_instance){let r=this._pipeline_id_by_pipeline_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);a&&(a.sendMessage(7,(r=>{r.type(e),r.int(this._impl.pipeline_frame_number(t))})),a.sendMessage(6,(r=>{r.type(e),r.cameraModel(this._impl.pipeline_camera_model(t))})),a.sendMessage(5,(r=>{r.type(e),r.int(this._impl.pipeline_camera_frame_user_data(t))})),a.sendMessage(11,(r=>{r.type(e),r.matrix4x4(this._impl.pipeline_camera_frame_camera_attitude(t))})),a.sendMessage(12,(r=>{r.type(e),r.matrix4x4(this._impl.pipeline_camera_frame_device_attitude(t))})))}for(let[e,t]of this._camera_source_by_instance){let t=this._pipeline_id_by_camera_source_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._sequence_source_by_instance){let t=this._pipeline_id_by_sequence_source_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._image_tracker_by_instance){let r=this._pipeline_id_by_image_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(19,(r=>{r.type(e),r.int(this._impl.image_tracker_target_loaded_version(t))})),a.sendMessage(1,(r=>{r.type(e),r.int(this._impl.image_tracker_anchor_count(t))}));for(let r=0;r<this._impl.image_tracker_anchor_count(t);r++)a.sendMessage(2,(a=>{a.type(e),a.int(r),a.string(this._impl.image_tracker_anchor_id(t,r))}));for(let r=0;r<this._impl.image_tracker_anchor_count(t);r++)a.sendMessage(3,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.image_tracker_anchor_pose_raw(t,r))}))}}for(let[e,t]of this._face_tracker_by_instance){let r=this._pipeline_id_by_face_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(18,(r=>{r.type(e),r.int(this._impl.face_tracker_model_loaded_version(t))})),a.sendMessage(13,(r=>{r.type(e),r.int(this._impl.face_tracker_anchor_count(t))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(14,(a=>{a.type(e),a.int(r),a.string(this._impl.face_tracker_anchor_id(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(15,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.face_tracker_anchor_pose_raw(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(16,(a=>{a.type(e),a.int(r),a.identityCoefficients(this._impl.face_tracker_anchor_identity_coefficients(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(17,(a=>{a.type(e),a.int(r),a.expressionCoefficients(this._impl.face_tracker_anchor_expression_coefficients(t,r))}))}}for(let[e,t]of this._face_mesh_by_instance){let t=this._pipeline_id_by_face_mesh_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._face_landmark_by_instance){let t=this._pipeline_id_by_face_landmark_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._barcode_finder_by_instance){let r=this._pipeline_id_by_barcode_finder_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(8,(r=>{r.type(e),r.int(this._impl.barcode_finder_found_number(t))}));for(let r=0;r<this._impl.barcode_finder_found_number(t);r++)a.sendMessage(9,(a=>{a.type(e),a.int(r),a.string(this._impl.barcode_finder_found_text(t,r))}));for(let r=0;r<this._impl.barcode_finder_found_number(t);r++)a.sendMessage(10,(a=>{a.type(e),a.int(r),a.barcodeFormat(this._impl.barcode_finder_found_format(t,r))}))}}for(let[e,t]of this._instant_world_tracker_by_instance){let r=this._pipeline_id_by_instant_world_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);a&&a.sendMessage(4,(r=>{r.type(e),r.matrix4x4(this._impl.instant_world_tracker_anchor_pose_raw(t))}))}for(let[e,t]of this._world_tracker_by_instance){let r=this._pipeline_id_by_world_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(27,(r=>{r.type(e),r.int(this._impl.world_tracker_quality(t))})),a.sendMessage(21,(r=>{r.type(e),r.int(this._impl.world_tracker_plane_count(t))}));for(let r=0;r<this._impl.world_tracker_plane_count(t);r++)a.sendMessage(22,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.world_tracker_plane_pose_raw(t,r))}));a.sendMessage(23,(r=>{r.type(e),r.bool(this._impl.world_tracker_world_anchor_valid(t))})),a.sendMessage(24,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_world_anchor_pose_raw(t))})),a.sendMessage(23,(r=>{r.type(e),r.bool(this._impl.world_tracker_ground_anchor_valid(t))})),a.sendMessage(26,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_ground_anchor_pose_raw(t))}))}}}}class _{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 o{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 s,c,h,l,f,u,d,p="undefined"!=typeof Float32Array?Float32Array:Array;function m(){var e=new p(16);return p!=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 b(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,t=arguments.length;t--;)e+=arguments[t]*arguments[t];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"}(h||(h={})),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"}(l||(l={})),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"}(f||(f={})),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"}(d||(d={}));const g=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,t,r,a)=>{this._viewports[this._viewports.length-1]=[e,t,r,a],this._underlyingViewport.call(this._gl,e,t,r,a)}}static get(e){let t=g.get(e);return t||(t=new w(e),g.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])}}var v,E=r(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(v||(v={}));let y={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,dataWidth:320,dataHeight:240,videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=y,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),y.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),y.preferImageBitmapCamera=!0));let A=new E.UAParser,k=(A.getOS().name||"unknown").toLowerCase(),R=(A.getEngine().name||"unknown").toLowerCase();function N(e){y.forceWindowOrientation=!0,y.preferMediaStreamTrackProcessorCamera=!1,y.intervalMultiplier=1e3,y.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)&&(y.blacklisted=!0),(e<12||12===e&&r<2)&&(y.videoElementInDOM=!0),(12===e&&r>=2||e>=13)&&(y.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(y.showSafariPermissionsResetIfNecessary=!0),(e>=12&&r>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(y.requestHighFrameRate=!0,e<14&&(y.videoHeight=360,y.dataHeight=180)),16===e&&r>=4&&(y.ios164CameraSelection=!0),e>=17&&(y.relyOnConstraintsForCameraSelection=!0)}}function S(e,t,r){let a=e.createShader(t);if(!a)throw new Error("Unable to create shader");e.shaderSource(a,r),e.compileShader(a);let i=e.getShaderInfoLog(a);if(i&&i.trim().length>0)throw new Error("Shader compile error: "+i);return a}"webkit"===R&&"ios"!==k&&(y.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&N("15.0")),"webkit"===R&&"ios"===k&&(y.deviceMotionMutliplier=1,N(A.getOS().version||"15.0"));class T{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,t,r,a){let i=this._gl;const n=w.get(i);n.push();const _=i.isEnabled(i.SCISSOR_TEST),o=i.isEnabled(i.DEPTH_TEST),s=i.isEnabled(i.BLEND),c=i.isEnabled(i.CULL_FACE),h=i.isEnabled(i.STENCIL_TEST),l=i.getParameter(i.ACTIVE_TEXTURE),f=i.getParameter(i.UNPACK_FLIP_Y_WEBGL),u=i.getParameter(i.CURRENT_PROGRAM);i.activeTexture(i.TEXTURE0);const d=i.getParameter(i.TEXTURE_BINDING_2D),p=i.getParameter(i.FRAMEBUFFER_BINDING),m=i.getParameter(i.ARRAY_BUFFER_BINDING),b=i.getParameter(i.ELEMENT_ARRAY_BUFFER_BINDING);i.disable(i.SCISSOR_TEST),i.disable(i.DEPTH_TEST),i.disable(i.BLEND),i.disable(i.CULL_FACE),i.disable(i.STENCIL_TEST),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,!1),i.bindTexture(i.TEXTURE_2D,e);const g=i.RGBA,v=i.RGBA,E=i.UNSIGNED_BYTE;i.texImage2D(i.TEXTURE_2D,0,g,v,E,t);let A=0,k=0;"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement?(A=t.videoWidth,k=t.videoHeight):(A=t.width,k=t.height),k>A&&(k=[A,A=k][0]),this._updateTransforms(r,a);let R=this._getFramebuffer(i,y.dataWidth/4,y.dataHeight),N=this._getVertexBuffer(i),S=this._getIndexBuffer(i),T=this._getGreyscaleShader(i);const x=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_SIZE),I=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_TYPE),L=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_NORMALIZED),z=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_STRIDE),P=i.getVertexAttribOffset(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_POINTER),M=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_ENABLED),F=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),O=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_SIZE),C=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_TYPE),V=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_NORMALIZED),B=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_STRIDE),U=i.getVertexAttribOffset(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_POINTER),j=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),D=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_ENABLED);let K=0,W=0;this._isWebGL2?(K=i.getVertexAttrib(T.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_DIVISOR),W=i.getVertexAttrib(T.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_DIVISOR),i.vertexAttribDivisor(T.aVertexPositionLoc,0),i.vertexAttribDivisor(T.aTextureCoordLoc,0)):this._instancedArraysExtension&&(K=i.getVertexAttrib(T.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),W=i.getVertexAttrib(T.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(T.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(T.aTextureCoordLoc,0)),i.bindFramebuffer(i.FRAMEBUFFER,R),i.viewport(0,0,this._framebufferWidth,this._framebufferHeight),i.clear(i.COLOR_BUFFER_BIT),i.bindBuffer(i.ARRAY_BUFFER,N),i.vertexAttribPointer(T.aVertexPositionLoc,2,i.FLOAT,!1,16,0),i.enableVertexAttribArray(T.aVertexPositionLoc),i.vertexAttribPointer(T.aTextureCoordLoc,2,i.FLOAT,!1,16,8),i.enableVertexAttribArray(T.aTextureCoordLoc),i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,S),i.useProgram(T.program),i.uniform1f(T.uTexWidthLoc,y.dataWidth),i.uniformMatrix4fv(T.uUvTransformLoc,!1,this._cameraUvTransform),i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,e),i.uniform1i(T.uSamplerLoc,0),i.drawElements(i.TRIANGLES,6,i.UNSIGNED_SHORT,0),i.bindBuffer(i.ARRAY_BUFFER,F),i.vertexAttribPointer(T.aVertexPositionLoc,x,I,L,z,P),i.bindBuffer(i.ARRAY_BUFFER,j),i.vertexAttribPointer(T.aTextureCoordLoc,O,C,V,B,U),i.bindBuffer(i.ARRAY_BUFFER,m),i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,b),M||i.disableVertexAttribArray(T.aVertexPositionLoc),D||i.disableVertexAttribArray(T.aTextureCoordLoc),this._isWebGL2?(i.vertexAttribDivisor(T.aVertexPositionLoc,K),i.vertexAttribDivisor(T.aTextureCoordLoc,W)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(T.aVertexPositionLoc,K),this._instancedArraysExtension.vertexAttribDivisorANGLE(T.aTextureCoordLoc,W)),i.bindFramebuffer(i.FRAMEBUFFER,p),i.useProgram(u),i.bindTexture(i.TEXTURE_2D,d),i.activeTexture(l),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,f),n.pop(),s&&i.enable(i.BLEND),c&&i.enable(i.CULL_FACE),o&&i.enable(i.DEPTH_TEST),_&&i.enable(i.SCISSOR_TEST),h&&i.enable(i.STENCIL_TEST)}readFrame(e,t){let r=this._gl,a=new Uint8Array(t);const i=r.getParameter(r.FRAMEBUFFER_BINDING);let n=this._getFramebuffer(r,y.dataWidth/4,y.dataHeight);return r.bindFramebuffer(r.FRAMEBUFFER,n),r.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,r.RGBA,r.UNSIGNED_BYTE,a),r.bindFramebuffer(r.FRAMEBUFFER,i),{uvTransform:this._cameraUvTransform,data:t,texture:e,dataWidth:y.dataWidth,dataHeight:y.dataHeight,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 a=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 i=e.checkFramebufferStatus(e.FRAMEBUFFER);if(i!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+i.toString());return this._framebufferWidth=t,this._framebufferHeight=r,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 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=S(e,e.VERTEX_SHADER,P),a=S(e,e.FRAGMENT_SHADER,M);e.attachShader(t,r),e.attachShader(t,a),function(e,t){e.linkProgram(t);let r=e.getProgramInfoLog(t);if(r&&r.trim().length>0)throw new Error("Unable to link: "+r)}(e,t);let i=e.getUniformLocation(t,"uTexWidth");if(!i)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 _=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:i,uUvTransformLoc:n,uSamplerLoc:_},this._greyscaleShader}}let x,I,L,z,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",M="\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 F=function(e,t,r,a){return new(r||(r=Promise))((function(i,n){function _(e){try{s(a.next(e))}catch(e){n(e)}}function o(e){try{s(a.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(_,o)}s((a=a.apply(e,t||[])).next())}))};let O,C=new class{constructor(){this.onOutgoingMessage=new _,this.onIncomingMessage=new o,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}},V=0;function B(e,r){return F(this,void 0,void 0,(function*(){let a=t({locateFile:(t,r)=>t.endsWith("zappar-cv.wasm")?e:r+t,instantiateWasm:(e,t)=>{const a=new WebAssembly.Instance(r,e);return t(a),a.exports},onRuntimeInitialized:()=>{let e=function(e){let t=e.cwrap("zappar_log_level","number",[]),r=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",[]),n=e.cwrap("zappar_pipeline_destroy",null,["number"]),_=e.cwrap("zappar_pipeline_frame_update",null,["number"]),o=e.cwrap("zappar_pipeline_frame_number","number",["number"]),s=e.cwrap("zappar_pipeline_camera_model","number",["number"]),c=e.cwrap("zappar_pipeline_camera_frame_user_data","number",["number"]),h=e.cwrap("zappar_pipeline_camera_frame_submit",null,["number","number","number","number","number","number","number","number","number"]),l=e.cwrap("zappar_pipeline_camera_frame_submit_raw_pointer",null,["number","number","number","number","number","number","number","number","number","number","number","number"]),f=e.cwrap("zappar_pipeline_camera_frame_camera_attitude","number",["number"]),u=e.cwrap("zappar_pipeline_camera_frame_device_attitude","number",["number"]),d=e.cwrap("zappar_pipeline_motion_accelerometer_submit",null,["number","number","number","number","number"]),p=e.cwrap("zappar_pipeline_motion_accelerometer_with_gravity_submit_int",null,["number","number","number","number","number","number"]),m=e.cwrap("zappar_pipeline_motion_accelerometer_without_gravity_submit_int",null,["number","number","number","number","number","number"]),b=e.cwrap("zappar_pipeline_motion_rotation_rate_submit",null,["number","number","number","number","number"]),g=e.cwrap("zappar_pipeline_motion_rotation_rate_submit_int",null,["number","number","number","number","number","number"]),w=e.cwrap("zappar_pipeline_motion_attitude_submit",null,["number","number","number","number","number"]),v=e.cwrap("zappar_pipeline_motion_attitude_submit_int",null,["number","number","number","number","number","number"]),E=e.cwrap("zappar_pipeline_motion_attitude_matrix_submit",null,["number","number"]),y=e.cwrap("zappar_camera_source_create","number",["number","string"]),A=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"]),N=e.cwrap("zappar_image_tracker_create","number",["number"]),S=e.cwrap("zappar_image_tracker_destroy",null,["number"]),T=e.cwrap("zappar_image_tracker_target_load_from_memory",null,["number","number","number"]),x=e.cwrap("zappar_image_tracker_target_loaded_version","number",["number"]),I=e.cwrap("zappar_image_tracker_enabled","number",["number"]),L=e.cwrap("zappar_image_tracker_enabled_set",null,["number","number"]),z=e.cwrap("zappar_image_tracker_anchor_count","number",["number"]),P=e.cwrap("zappar_image_tracker_anchor_id","string",["number","number"]),M=e.cwrap("zappar_image_tracker_anchor_pose_raw","number",["number","number"]),F=e.cwrap("zappar_face_tracker_create","number",["number"]),O=e.cwrap("zappar_face_tracker_destroy",null,["number"]),C=e.cwrap("zappar_face_tracker_model_load_from_memory",null,["number","number","number"]),V=e.cwrap("zappar_face_tracker_model_loaded_version","number",["number"]),B=e.cwrap("zappar_face_tracker_enabled_set",null,["number","number"]),U=e.cwrap("zappar_face_tracker_enabled","number",["number"]),j=e.cwrap("zappar_face_tracker_max_faces_set",null,["number","number"]),D=e.cwrap("zappar_face_tracker_max_faces","number",["number"]),K=e.cwrap("zappar_face_tracker_anchor_count","number",["number"]),W=e.cwrap("zappar_face_tracker_anchor_id","string",["number","number"]),Z=e.cwrap("zappar_face_tracker_anchor_pose_raw","number",["number","number"]),X=e.cwrap("zappar_face_tracker_anchor_identity_coefficients","number",["number","number"]),G=e.cwrap("zappar_face_tracker_anchor_expression_coefficients","number",["number","number"]),Y=e.cwrap("zappar_face_mesh_create","number",[]),H=e.cwrap("zappar_face_mesh_destroy",null,["number"]),q=e.cwrap("zappar_face_landmark_create","number",["number"]),$=e.cwrap("zappar_face_landmark_destroy",null,["number"]),J=e.cwrap("zappar_barcode_finder_create","number",["number"]),Q=e.cwrap("zappar_barcode_finder_destroy",null,["number"]),ee=e.cwrap("zappar_barcode_finder_enabled_set",null,["number","number"]),te=e.cwrap("zappar_barcode_finder_enabled","number",["number"]),re=e.cwrap("zappar_barcode_finder_found_number","number",["number"]),ae=e.cwrap("zappar_barcode_finder_found_text","string",["number","number"]),ie=e.cwrap("zappar_barcode_finder_found_format","number",["number","number"]),ne=e.cwrap("zappar_barcode_finder_formats","number",["number"]),_e=e.cwrap("zappar_barcode_finder_formats_set",null,["number","number"]),oe=e.cwrap("zappar_instant_world_tracker_create","number",["number"]),se=e.cwrap("zappar_instant_world_tracker_destroy",null,["number"]),ce=e.cwrap("zappar_instant_world_tracker_enabled_set",null,["number","number"]),he=e.cwrap("zappar_instant_world_tracker_enabled","number",["number"]),le=e.cwrap("zappar_instant_world_tracker_anchor_pose_raw","number",["number"]),fe=e.cwrap("zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw",null,["number","number","number","number","number"]),ue=e.cwrap("zappar_world_tracker_create","number",["number"]),de=e.cwrap("zappar_world_tracker_destroy",null,["number"]),pe=e.cwrap("zappar_world_tracker_enabled","number",["number"]),me=e.cwrap("zappar_world_tracker_enabled_set",null,["number","number"]),be=e.cwrap("zappar_world_tracker_quality","number",["number"]),ge=e.cwrap("zappar_world_tracker_plane_count","number",["number"]),we=e.cwrap("zappar_world_tracker_plane_pose_raw","number",["number","number"]),ve=e.cwrap("zappar_world_tracker_world_anchor_valid","number",["number"]),Ee=e.cwrap("zappar_world_tracker_world_anchor_pose_raw","number",["number"]),ye=e.cwrap("zappar_world_tracker_ground_anchor_valid","number",["number"]),Ae=e.cwrap("zappar_world_tracker_ground_anchor_pose_raw","number",["number"]),ke=e.cwrap("zappar_world_tracker_reset",null,["number"]),Re=32,Ne=e._malloc(Re),Se=(e._malloc(64),new Map),Te=(t,r)=>{let a=Se.get(t);return(!a||a[0]<r)&&(a&&e._free(a[1]),a=[r,e._malloc(r)],Se.set(t,a)),a[1]};return{log_level:()=>t(),log_level_set:e=>r(e),analytics_project_id_set:(e,t)=>a(e,t),pipeline_create:()=>i(),pipeline_destroy:()=>{n()},pipeline_frame_update:e=>_(e),pipeline_frame_number:e=>o(e),pipeline_camera_model:t=>{let r=s(t),a=new Float32Array(6);return a.set(e.HEAPF32.subarray(r/4,6+r/4)),r=a,r},pipeline_camera_frame_user_data:e=>c(e),pipeline_camera_frame_submit:(t,r,a,i,n,_,o,s)=>{Re<r.byteLength&&(e._free(Ne),Re=r.byteLength,Ne=e._malloc(Re));let c=Ne,l=r.byteLength;e.HEAPU8.set(new Uint8Array(r),Ne);let f=a,u=i,d=n,p=Te(4,_.byteLength);e.HEAPF32.set(_,p/4);let m=Te(5,o.byteLength);return e.HEAPF32.set(o,m/4),h(t,c,l,f,u,d,p,m,s?1:0)},pipeline_camera_frame_submit_raw_pointer:(t,r,a,i,n,_,o,s,c,h,f,u)=>{let d=r,p=a,m=i,b=n,g=_,w=o,v=Te(6,s.byteLength);e.HEAPF32.set(s,v/4);let E=c,y=Te(8,h.byteLength);return e.HEAPF32.set(h,y/4),l(t,d,p,m,b,g,w,v,E,y,f?1:0,u)},pipeline_camera_frame_camera_attitude:t=>{let r=f(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},pipeline_camera_frame_device_attitude:t=>{let r=u(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},pipeline_motion_accelerometer_submit:(e,t,r,a,i)=>d(e,t,r,a,i),pipeline_motion_accelerometer_with_gravity_submit_int:(e,t,r,a,i,n)=>p(e,t,r,a,i,n),pipeline_motion_accelerometer_without_gravity_submit_int:(e,t,r,a,i,n)=>m(e,t,r,a,i,n),pipeline_motion_rotation_rate_submit:(e,t,r,a,i)=>b(e,t,r,a,i),pipeline_motion_rotation_rate_submit_int:(e,t,r,a,i,n)=>g(e,t,r,a,i,n),pipeline_motion_attitude_submit:(e,t,r,a,i)=>w(e,t,r,a,i),pipeline_motion_attitude_submit_int:(e,t,r,a,i,n)=>v(e,t,r,a,i,n),pipeline_motion_attitude_matrix_submit:(t,r)=>{let a=Te(0,r.byteLength);return e.HEAPF32.set(r,a/4),E(t,a)},camera_source_create:(e,t)=>y(e,t),camera_source_destroy:()=>{A()},sequence_source_create:e=>k(e),sequence_source_destroy:()=>{R()},image_tracker_create:e=>N(e),image_tracker_destroy:()=>{S()},image_tracker_target_load_from_memory:(t,r)=>{Re<r.byteLength&&(e._free(Ne),Re=r.byteLength,Ne=e._malloc(Re));let a=Ne,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),Ne),T(t,a,i)},image_tracker_target_loaded_version:e=>x(e),image_tracker_enabled:e=>{let t=I(e);return t=1===t,t},image_tracker_enabled_set:(e,t)=>L(e,t?1:0),image_tracker_anchor_count:e=>z(e),image_tracker_anchor_id:(e,t)=>P(e,t),image_tracker_anchor_pose_raw:(t,r)=>{let a=M(t,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_create:e=>F(e),face_tracker_destroy:()=>{O()},face_tracker_model_load_from_memory:(t,r)=>{Re<r.byteLength&&(e._free(Ne),Re=r.byteLength,Ne=e._malloc(Re));let a=Ne,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),Ne),C(t,a,i)},face_tracker_model_loaded_version:e=>V(e),face_tracker_enabled_set:(e,t)=>B(e,t?1:0),face_tracker_enabled:e=>{let t=U(e);return t=1===t,t},face_tracker_max_faces_set:(e,t)=>j(e,t),face_tracker_max_faces:e=>D(e),face_tracker_anchor_count:e=>K(e),face_tracker_anchor_id:(e,t)=>W(e,t),face_tracker_anchor_pose_raw:(t,r)=>{let a=Z(t,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_anchor_identity_coefficients:(t,r)=>{let a=X(t,r),i=new Float32Array(50);return i.set(e.HEAPF32.subarray(a/4,50+a/4)),a=i,a},face_tracker_anchor_expression_coefficients:(t,r)=>{let a=G(t,r),i=new Float32Array(29);return i.set(e.HEAPF32.subarray(a/4,29+a/4)),a=i,a},face_mesh_create:()=>Y(),face_mesh_destroy:()=>{H()},face_landmark_create:e=>q(e),face_landmark_destroy:()=>{$()},barcode_finder_create:e=>J(e),barcode_finder_destroy:()=>{Q()},barcode_finder_enabled_set:(e,t)=>ee(e,t?1:0),barcode_finder_enabled:e=>{let t=te(e);return t=1===t,t},barcode_finder_found_number:e=>re(e),barcode_finder_found_text:(e,t)=>ae(e,t),barcode_finder_found_format:(e,t)=>ie(e,t),barcode_finder_formats:e=>ne(e),barcode_finder_formats_set:(e,t)=>_e(e,t),instant_world_tracker_create:e=>oe(e),instant_world_tracker_destroy:()=>{se()},instant_world_tracker_enabled_set:(e,t)=>ce(e,t?1:0),instant_world_tracker_enabled:e=>{let t=he(e);return t=1===t,t},instant_world_tracker_anchor_pose_raw:t=>{let r=le(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,t,r,a,i)=>fe(e,t,r,a,i),world_tracker_create:e=>ue(e),world_tracker_destroy:()=>{de()},world_tracker_enabled:e=>{let t=pe(e);return t=1===t,t},world_tracker_enabled_set:(e,t)=>me(e,t?1:0),world_tracker_quality:e=>be(e),world_tracker_plane_count:e=>ge(e),world_tracker_plane_pose_raw:(t,r)=>{let a=we(t,r),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 t=ve(e);return t=1===t,t},world_tracker_world_anchor_pose_raw:t=>{let r=Ee(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},world_tracker_ground_anchor_valid:e=>{let t=ye(e);return t=1===t,t},world_tracker_ground_anchor_pose_raw:t=>{let r=Ae(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},world_tracker_reset:e=>ke(e)}}(a);const t=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"])}}(a);let r=new n(e,((e,t)=>{C.postOutgoingMessage({p:e,t:"zappar",d:t},[t])}));C.postOutgoingMessage("loaded",[]),C.onIncomingMessage.bind((i=>{var n;switch(i.t){case"zappar":r.processBuffer(i.d),C.postOutgoingMessage({t:"buf",d:i.d},[i.d]);break;case"buf":null===(n=r.serializersByPipelineId.get(i.p))||void 0===n||n.bufferReturn(i.d);break;case"cameraFrameC2S":{let n,_=i,o=r._pipeline_by_instance.get(_.p);o&&(e.pipeline_camera_frame_submit(o,_.d,_.width,_.height,_.token,_.c2d,_.cm,_.userFacing),e.pipeline_frame_update(o),n=e.pipeline_camera_frame_device_attitude(o),r.exploreState(),H(a,t));let s={token:_.token,d:_.d,p:_.p,t:"cameraFrameRecycleS2C",att:n};C.postOutgoingMessage(s,[_.d]);break}case"streamC2S":{let n=i;(function(e,t,r,a,i,n,_,o){return F(this,void 0,void 0,(function*(){for(;;){let s;try{s=yield r.getReader()}catch(e){yield G(1e3);continue}try{return void(yield X(e,t,s,a,i,n,_,o))}catch(e){}return void(yield G(1e3))}}))})(a,e,n.s,n.p,n.userFacing,r,n.source,t).then((()=>{let e={t:"streamEndedS2C",p:n.p,source:n.source};C.postOutgoingMessage(e,[])})).catch((e=>{}));break}case"cameraToScreenC2S":V=i.r;break;case"imageBitmapC2S":!function(e,t,r,a){const[i,n]=function(){if(!L||!z){const e=new OffscreenCanvas(1,1);if(z=e.getContext("webgl"),!z)throw new Error("Unable to get offscreen GL context");L=new T(z)}return[L,z]}();if(I||(I=n.createTexture(),n.bindTexture(n.TEXTURE_2D,I),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR)),!I)return;(!x||x.byteLength<y.dataWidth*y.dataHeight)&&(x=new ArrayBuffer(y.dataWidth*y.dataHeight)),i.uploadFrame(I,e.i,e.r,e.userFacing);let _=i.readFrame(I,x),o={t:"imageBitmapS2C",dataWidth:_.dataWidth,dataHeight:_.dataHeight,frame:e.i,userFacing:_.userFacing,uvTransform:_.uvTransform||m(),tokenId:e.tokenId,p:e.p};a.postOutgoingMessage(o,[e.i]);let s=r._pipeline_by_instance.get(e.p);s&&(t.pipeline_camera_frame_submit(s,x,_.dataWidth,_.dataHeight,e.tokenId,e.cameraToDevice,e.cameraModel,_.userFacing),t.pipeline_frame_update(s),r.exploreState())}(i,e,r,C);break;case"sensorDataC2S":{const t=i,a=r._pipeline_by_instance.get(t.p);if(!a)break;switch(t.sensor){case"accel":e.pipeline_motion_accelerometer_submit(a,t.timestamp,t.x,t.y,t.z);break;case"accel_w_gravity_int":e.pipeline_motion_accelerometer_with_gravity_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"accel_wo_gravity_int":e.pipeline_motion_accelerometer_without_gravity_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"attitude_int":e.pipeline_motion_attitude_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"attitude":e.pipeline_motion_attitude_submit(a,t.timestamp,t.x,t.y,t.z);break;case"rotation_rate_int":e.pipeline_motion_rotation_rate_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"rotation_rate":e.pipeline_motion_rotation_rate_submit(a,t.timestamp,t.x,t.y,t.z)}break}case"attitudeMatrixC2S":{const t=i,a=r._pipeline_by_instance.get(t.p);if(!a)break;e.pipeline_motion_attitude_matrix_submit(a,t.m);break}}}))}})}))}let U=0,j=0,D=1;function K(e){return new Promise(((t,r)=>{const a=setTimeout((()=>{r("Frame timeout")}),2e3);e.read().then((e=>{clearTimeout(a),t(e)}))}))}const W=m(),Z=new Float32Array([300,300,160,120,0,0]);function X(e,t,r,a,i,n,_,o){var s,c;return F(this,void 0,void 0,(function*(){for(;;){let f=yield K(r);if(f.done)return void(null===(s=f.value)||void 0===s||s.close());let u=f.value,d=u.allocationSize();d>j&&(U>0&&e._free(U),U=e._malloc(d),j=d),yield u.copyTo(e.HEAPU8.subarray(U,U+j));let p=D;D++;const m=u.visibleRect.width,g=u.visibleRect.height;let w,v=m,E=g;switch(V){case 270:w=new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]),v=g,E=m;break;case 180:w=new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);break;case 90:w=new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1]),v=g,E=m;break;default:w=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}let A=u.clone();i?(l=[-1,1,-1],(h=W)[0]=l[0],h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=l[1],h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=l[2],h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1):b(W);let k=300*y.dataWidth/320;Z[0]=k,Z[1]=k,Z[2]=.5*y.dataWidth,Z[3]=.5*y.dataHeight;const R={token:p,d:A,p:a,t:"videoFrameS2C",userFacing:i,uvTransform:w,w:v,h:E,cameraToDevice:W,cameraModel:Z,source:_};C.postOutgoingMessage(R,[R.d,R.uvTransform.buffer]);const N=n._pipeline_by_instance.get(a);if(N){try{t.pipeline_camera_frame_submit_raw_pointer(N,U,d,Y(u.format),m,g,p,W,V,Z,i,null!==(c=u.timestamp)&&void 0!==c?c:-1),H(e,o)}catch(e){console.log("Exception during camera processing",e)}t.pipeline_frame_update(N),n.exploreState()}u.close()}var h,l}))}function G(e){return new Promise((t=>{setTimeout(t,e)}))}function Y(e){switch(e){case"I420":return f.FRAME_PIXEL_FORMAT_I420;case"I420A":return f.FRAME_PIXEL_FORMAT_I420A;case"I422":return f.FRAME_PIXEL_FORMAT_I422;case"I444":return f.FRAME_PIXEL_FORMAT_I444;case"NV12":return f.FRAME_PIXEL_FORMAT_NV12;case"RGBA":case"RGBX":return f.FRAME_PIXEL_FORMAT_RGBA;case"BGRA":case"BGRX":return f.FRAME_PIXEL_FORMAT_BGRA}return f.FRAME_PIXEL_FORMAT_Y}function H(e,t){const r=t.worker_message_send_count();if(0!==r){O||(O=new MessageChannel,O.port1.start(),O.port1.addEventListener("message",(r=>{if("msgrec"!==r.data.t)return;const a=r.data.data,i=e._malloc(a.byteLength);e.HEAPU8.set(a,i),t.worker_message_receive(r.data.reference,a.byteLength,i),e._free(i)})),C.postOutgoingMessage({t:"setupCeresWorker",port:O.port2},[O.port2]));for(let a=0;a<r;a++){const r=t.worker_message_send_reference(a),i=t.worker_message_send_data_size(a),n=t.worker_message_send_data(a),_=e.HEAPU8.slice(n,n+i);O.port1.postMessage({t:"msgsend",data:_,reference:r},[_.buffer])}t.worker_message_send_clear()}}const q=self;C.onOutgoingMessage.bind((()=>{let e=C.getOutgoingMessages();for(let t of e)q.postMessage(t.msg,t.transferables)}));let $=e=>{e&&e.data&&"wasm"===e.data.t&&(B(location.href.startsWith("blob")?e.data.url:new URL(r(751),r.b).toString(),e.data.module),q.removeEventListener("message",$))};q.addEventListener("message",$),q.addEventListener("message",(e=>{C.postIncomingMessage(e.data)}))})()})();
|
|
1
|
+
(()=>{var e={238:function(e,a,r){var t;!function(i,_){"use strict";var o="function",s="undefined",n="object",c="string",l="model",E="name",d="type",h="vendor",b="version",v="architecture",p="console",u="mobile",m="tablet",f="smarttv",N="wearable",g="embedded",S="Amazon",y="Apple",w="ASUS",I="BlackBerry",z="Browser",R="Chrome",L="Firefox",k="Google",j="Huawei",x="LG",P="Microsoft",K="Motorola",F="Opera",A="Samsung",Z="Sharp",M="Sony",T="Xiaomi",C="Zebra",D="Facebook",O=function(e){for(var a={},r=0;r<e.length;r++)a[e[r].toUpperCase()]=e[r];return a},G=function(e,a){return typeof e===c&&-1!==V(a).indexOf(V(e))},V=function(e){return e.toLowerCase()},B=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 r,t,i,s,c,l,E=0;E<a.length&&!c;){var d=a[E],h=a[E+1];for(r=t=0;r<d.length&&!c;)if(c=d[r++].exec(e))for(i=0;i<h.length;i++)l=c[++t],typeof(s=h[i])===n&&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]):_:this[s[0]]=l?s[1].call(this,l,s[2]):_:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):_):this[s]=l||_;E+=2}},q=function(e,a){for(var r in a)if(typeof a[r]===n&&a[r].length>0){for(var t=0;t<a[r].length;t++)if(G(a[r][t],e))return"?"===r?_:r}else if(G(a[r],e))return"?"===r?_: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"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[E,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[E,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[E,b],[/opios[\/ ]+([\w\.]+)/i],[b,[E,F+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[E,F]],[/(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],[E,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[E,"UC"+z]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[b,[E,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[E,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[E,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[E,"IE"]],[/yabrowser\/([\w\.]+)/i],[b,[E,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[E,/(.+)/,"$1 Secure "+z],b],[/\bfocus\/([\w\.]+)/i],[b,[E,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[E,F+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[E,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[E,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[E,F+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[E,"MIUI "+z]],[/fxios\/([-\w\.]+)/i],[b,[E,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[E,"360 "+z]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[E,/(.+)/,"$1 "+z],b],[/(comodo_dragon)\/([\w\.]+)/i],[[E,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[E,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[E],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[E,D],b],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[E,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[E,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[E,R+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[E,R+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[E,"Android "+z]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[E,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[E,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,E],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[E,[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],[E,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[E,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[E,L+" 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],[E,b],[/(cobalt)\/([\w\.]+)/i],[E,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,V]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,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],[l,[h,A],[d,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,A],[d,u]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[h,y],[d,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,y],[d,m]],[/(macintosh);/i],[l,[h,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[h,j],[d,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[h,j],[d,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,T],[d,u]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[h,T],[d,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"],[d,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[d,u]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[h,"Realme"],[d,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,K],[d,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,K],[d,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,x],[d,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,x],[d,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[h,"Lenovo"],[d,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[h,"Nokia"],[d,u]],[/(pixel c)\b/i],[l,[h,k],[d,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,k],[d,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,M],[d,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,M],[d,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,"OnePlus"],[d,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,S],[d,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,S],[d,u]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[d,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,I],[d,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,w],[d,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,w],[d,u]],[/(nexus 9)/i],[l,[h,"HTC"],[d,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[d,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[d,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[d,u]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,Z],[d,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,[d,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,[d,m]],[/(surface duo)/i],[l,[h,P],[d,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[d,u]],[/(u304aa)/i],[l,[h,"AT&T"],[d,u]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[d,u]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[d,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[d,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[d,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[d,m]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[d,m]],[/\b(k88) b/i],[l,[h,"ZTE"],[d,m]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[d,u]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[d,u]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[d,m]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[d,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[d,m]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[d,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[d,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[d,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[d,u]],[/\b(ph-1) /i],[l,[h,"Essential"],[d,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[d,m]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[d,m]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[d,m]],[/(shield[\w ]+) b/i],[l,[h,"Nvidia"],[d,m]],[/(sprint) (\w+)/i],[h,l,[d,u]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,P],[d,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,C],[d,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,C],[d,u]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[d,p]],[/droid.+; (shield) bui/i],[l,[h,"Nvidia"],[d,p]],[/(playstation [345portablevi]+)/i],[l,[h,M],[d,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,P],[d,p]],[/smart-tv.+(samsung)/i],[h,[d,f]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,A],[d,f]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,x],[d,f]],[/(apple) ?tv/i],[h,[l,y+" TV"],[d,f]],[/crkey/i],[[l,R+"cast"],[h,k],[d,f]],[/droid.+aft(\w)( bui|\))/i],[l,[h,S],[d,f]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[h,Z],[d,f]],[/(bravia[\w ]+)( bui|\))/i],[l,[h,M],[d,f]],[/(mitv-\w{5}) bui/i],[l,[h,T],[d,f]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,B],[l,B],[d,f]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,f]],[/((pebble))app/i],[h,l,[d,N]],[/droid.+; (glass) \d/i],[l,[h,k],[d,N]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,C],[d,N]],[/(quest( 2)?)/i],[l,[h,D],[d,N]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[d,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[d,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,u]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[E,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[E,"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],[E,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,E]],os:[[/microsoft (windows) (vista|xp)/i],[E,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[E,[b,q,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[E,"Windows"],[b,q,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[E,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[E,"Mac OS"],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,E],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[E,b],[/\(bb(10);/i],[b,[E,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[E,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[E,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[E,"webOS"]],[/crkey\/([\d\.]+)/i],[b,[E,R+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[E,"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],[E,b],[/(sunos) ?([\w\.\d]*)/i],[[E,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[E,b]]},X=function(e,a){if(typeof e===n&&(a=e,e=_),!(this instanceof X))return new X(e,a).getResult();var r=e||(typeof i!==s&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),t=a?function(e,a){var r={};for(var t in e)a[t]&&a[t].length%2==0?r[t]=a[t].concat(e[t]):r[t]=e[t];return r}(W,a):W;return this.getBrowser=function(){var e,a={};return a[E]=_,a[b]=_,U.call(a,r,t.browser),a.major=typeof(e=a.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:_,a},this.getCPU=function(){var e={};return e[v]=_,U.call(e,r,t.cpu),e},this.getDevice=function(){var e={};return e[h]=_,e[l]=_,e[d]=_,U.call(e,r,t.device),e},this.getEngine=function(){var e={};return e[E]=_,e[b]=_,U.call(e,r,t.engine),e},this.getOS=function(){var e={};return e[E]=_,e[b]=_,U.call(e,r,t.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?B(e,350):e,this},this.setUA(r),this};X.VERSION="1.0.33",X.BROWSER=O([E,b,"major"]),X.CPU=O([v]),X.DEVICE=O([l,h,d,p,u,f,m,N,g]),X.ENGINE=X.OS=O([E,b]),typeof a!==s?(e.exports&&(a=e.exports=X),a.UAParser=X):r.amdO?(t=function(){return X}.call(a,r,a,e))===_||(e.exports=t):typeof i!==s&&(i.UAParser=X);var Y=typeof i!==s&&(i.jQuery||i.Zepto);if(Y&&!Y.ua){var $=new X;Y.ua=$.getResult(),Y.ua.get=function(){return $.getUA()},Y.ua.set=function(e){$.setUA(e);var a=$.getResult();for(var r in a)Y.ua[r]=a[r]}}}("object"==typeof window?window:this)},751:(e,a,r)=>{"use strict";e.exports=r.p+"7a7455e00ac55a4f34d3.wasm"}},a={};function r(t){var i=a[t];if(void 0!==i)return i.exports;var _=a[t]={exports:{}};return e[t].call(_.exports,_,_.exports,r),_.exports}r.m=e,r.amdO={},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,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var a=r.g.document;if(!e&&a&&(a.currentScript&&(e=a.currentScript.src),!e)){var t=a.getElementsByTagName("script");if(t.length)for(var i=t.length-1;i>-1&&!e;)e=t[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),r.b=self.location+"",(()=>{"use strict";var e,a=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(a={}){var r,t,i=a;i.ready=new Promise(((e,a)=>{r=e,t=a}));var _,o,s,n=Object.assign({},i),c="./this.program",l=(e,a)=>{throw a},E="";E=self.location.href,e&&(E=e),E=E.startsWith("blob:")?"":E.substr(0,E.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,r)=>{var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="arraybuffer",t.onload=()=>{200==t.status||0==t.status&&t.response?a(t.response):r()},t.onerror=r,t.send(null)};var d,h,b=i.print||console.log.bind(console),v=i.printErr||console.error.bind(console);Object.assign(i,n),n=null,i.arguments&&i.arguments,i.thisProgram&&(c=i.thisProgram),i.quit&&(l=i.quit),i.wasmBinary&&(d=i.wasmBinary),"object"!=typeof WebAssembly&&D("no native wasm support detected");var p,u,m,f,N,g,S,y,w,I=!1;function z(e,a){e||D(a)}function R(){var e=h.buffer;i.HEAP8=u=new Int8Array(e),i.HEAP16=f=new Int16Array(e),i.HEAPU8=m=new Uint8Array(e),i.HEAPU16=N=new Uint16Array(e),i.HEAP32=g=new Int32Array(e),i.HEAPU32=S=new Uint32Array(e),i.HEAPF32=y=new Float32Array(e),i.HEAPF64=w=new Float64Array(e)}var L,k,j,x,P=[],K=[],F=[],A=0,Z=null,M=null;function T(e){A++,i.monitorRunDependencies?.(A)}function C(e){if(A--,i.monitorRunDependencies?.(A),0==A&&(null!==Z&&(clearInterval(Z),Z=null),M)){var a=M;M=null,a()}}function D(e){i.onAbort?.(e),v(e="Aborted("+e+")"),I=!0,p=1,e+=". Build with -sASSERTIONS for more info.";var a=new WebAssembly.RuntimeError(e);throw t(a),a}function O(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}(L="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")||(k=L,L=i.locateFile?i.locateFile(k,E):E+k);var G=e=>{for(;e.length>0;)e.shift()(i)},V=i.noExitRuntime||!0,B=[],U=0,q=0;class H{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){S[this.ptr+4>>2]=e}get_type(){return S[this.ptr+4>>2]}set_destructor(e){S[this.ptr+8>>2]=e}get_destructor(){return S[this.ptr+8>>2]}set_caught(e){e=e?1:0,u[this.ptr+12>>0]=e}get_caught(){return 0!=u[this.ptr+12>>0]}set_rethrown(e){e=e?1:0,u[this.ptr+13>>0]=e}get_rethrown(){return 0!=u[this.ptr+13>>0]}init(e,a){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(a)}set_adjusted_ptr(e){S[this.ptr+16>>2]=e}get_adjusted_ptr(){return S[this.ptr+16>>2]}get_exception_ptr(){if(oa(this.get_type()))return S[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var W=e=>{var a=q;if(!a)return Je(0),0;var r=new H(a);r.set_adjusted_ptr(a);var t=r.get_type();if(!t)return Je(0),a;for(var i in e){var _=e[i];if(0===_||_===t)break;var o=r.ptr+16;if(_a(_,t,o))return Je(_),a}return Je(t),a},X=()=>{var e=B.pop();e||D("no exception to throw");var a=e.excPtr;throw e.get_rethrown()||(B.push(e),e.set_rethrown(!0),e.set_caught(!1),U++),q=a},Y={isAbs:e=>"/"===e.charAt(0),splitPath:e=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1),normalizeArray:(e,a)=>{for(var r=0,t=e.length-1;t>=0;t--){var i=e[t];"."===i?e.splice(t,1):".."===i?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(a)for(;r;r--)e.unshift("..");return e},normalize:e=>{var a=Y.isAbs(e),r="/"===e.substr(-1);return(e=Y.normalizeArray(e.split("/").filter((e=>!!e)),!a).join("/"))||a||(e="."),e&&r&&(e+="/"),(a?"/":"")+e},dirname:e=>{var a=Y.splitPath(e),r=a[0],t=a[1];return r||t?(t&&(t=t.substr(0,t.length-1)),r+t):"."},basename:e=>{if("/"===e)return"/";var a=(e=(e=Y.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===a?e:e.substr(a+1)},join:function(){var e=Array.prototype.slice.call(arguments);return Y.normalize(e.join("/"))},join2:(e,a)=>Y.normalize(e+"/"+a)},$=e=>($=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);D("initRandomDevice")})())(e),J={resolve:function(){for(var e="",a=!1,r=arguments.length-1;r>=-1&&!a;r--){var t=r>=0?arguments[r]:Ee.cwd();if("string"!=typeof t)throw new TypeError("Arguments to path.resolve must be strings");if(!t)return"";e=t+"/"+e,a=Y.isAbs(t)}return(a?"/":"")+(e=Y.normalizeArray(e.split("/").filter((e=>!!e)),!a).join("/"))||"."},relative:(e,a)=>{function r(e){for(var a=0;a<e.length&&""===e[a];a++);for(var r=e.length-1;r>=0&&""===e[r];r--);return a>r?[]:e.slice(a,r-a+1)}e=J.resolve(e).substr(1),a=J.resolve(a).substr(1);for(var t=r(e.split("/")),i=r(a.split("/")),_=Math.min(t.length,i.length),o=_,s=0;s<_;s++)if(t[s]!==i[s]){o=s;break}var n=[];for(s=o;s<t.length;s++)n.push("..");return(n=n.concat(i.slice(o))).join("/")}},Q="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,ee=(e,a,r)=>{for(var t=a+r,i=a;e[i]&&!(i>=t);)++i;if(i-a>16&&e.buffer&&Q)return Q.decode(e.subarray(a,i));for(var _="";a<i;){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 _},ae=[],re=e=>{for(var a=0,r=0;r<e.length;++r){var t=e.charCodeAt(r);t<=127?a++:t<=2047?a+=2:t>=55296&&t<=57343?(a+=4,++r):a+=3}return a},te=(e,a,r,t)=>{if(!(t>0))return 0;for(var i=r,_=r+t-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(r>=_)break;a[r++]=s}else if(s<=2047){if(r+1>=_)break;a[r++]=192|s>>6,a[r++]=128|63&s}else if(s<=65535){if(r+2>=_)break;a[r++]=224|s>>12,a[r++]=128|s>>6&63,a[r++]=128|63&s}else{if(r+3>=_)break;a[r++]=240|s>>18,a[r++]=128|s>>12&63,a[r++]=128|s>>6&63,a[r++]=128|63&s}}return a[r]=0,r-i};function ie(e,a,r){var t=r>0?r:re(e)+1,i=new Array(t),_=te(e,i,0,i.length);return a&&(i.length=_),i}var _e,oe={ttys:[],init(){},shutdown(){},register(e,a){oe.ttys[e]={input:[],output:[],ops:a},Ee.registerDevice(e,oe.stream_ops)},stream_ops:{open(e){var a=oe.ttys[e.node.rdev];if(!a)throw new Ee.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,r,t,i){if(!e.tty||!e.tty.ops.get_char)throw new Ee.ErrnoError(60);for(var _=0,o=0;o<t;o++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new Ee.ErrnoError(29)}if(void 0===s&&0===_)throw new Ee.ErrnoError(6);if(null==s)break;_++,a[r+o]=s}return _&&(e.node.timestamp=Date.now()),_},write(e,a,r,t,i){if(!e.tty||!e.tty.ops.put_char)throw new Ee.ErrnoError(60);try{for(var _=0;_<t;_++)e.tty.ops.put_char(e.tty,a[r+_])}catch(e){throw new Ee.ErrnoError(29)}return t&&(e.node.timestamp=Date.now()),_}},default_tty_ops:{get_char:e=>(()=>{if(!ae.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;ae=ie(e,!0)}return ae.shift()})(),put_char(e,a){null===a||10===a?(b(ee(e.output,0)),e.output=[]):0!=a&&e.output.push(a)},fsync(e){e.output&&e.output.length>0&&(b(ee(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,r)=>0,ioctl_tiocgwinsz:e=>[24,80]},default_tty1_ops:{put_char(e,a){null===a||10===a?(v(ee(e.output,0)),e.output=[]):0!=a&&e.output.push(a)},fsync(e){e.output&&e.output.length>0&&(v(ee(e.output,0)),e.output=[])}}},se=e=>{D()},ne={ops_table:null,mount:e=>ne.createNode(null,"/",16895,0),createNode(e,a,r,t){if(Ee.isBlkdev(r)||Ee.isFIFO(r))throw new Ee.ErrnoError(63);ne.ops_table||={dir:{node:{getattr:ne.node_ops.getattr,setattr:ne.node_ops.setattr,lookup:ne.node_ops.lookup,mknod:ne.node_ops.mknod,rename:ne.node_ops.rename,unlink:ne.node_ops.unlink,rmdir:ne.node_ops.rmdir,readdir:ne.node_ops.readdir,symlink:ne.node_ops.symlink},stream:{llseek:ne.stream_ops.llseek}},file:{node:{getattr:ne.node_ops.getattr,setattr:ne.node_ops.setattr},stream:{llseek:ne.stream_ops.llseek,read:ne.stream_ops.read,write:ne.stream_ops.write,allocate:ne.stream_ops.allocate,mmap:ne.stream_ops.mmap,msync:ne.stream_ops.msync}},link:{node:{getattr:ne.node_ops.getattr,setattr:ne.node_ops.setattr,readlink:ne.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ne.node_ops.getattr,setattr:ne.node_ops.setattr},stream:Ee.chrdev_stream_ops}};var i=Ee.createNode(e,a,r,t);return Ee.isDir(i.mode)?(i.node_ops=ne.ops_table.dir.node,i.stream_ops=ne.ops_table.dir.stream,i.contents={}):Ee.isFile(i.mode)?(i.node_ops=ne.ops_table.file.node,i.stream_ops=ne.ops_table.file.stream,i.usedBytes=0,i.contents=null):Ee.isLink(i.mode)?(i.node_ops=ne.ops_table.link.node,i.stream_ops=ne.ops_table.link.stream):Ee.isChrdev(i.mode)&&(i.node_ops=ne.ops_table.chrdev.node,i.stream_ops=ne.ops_table.chrdev.stream),i.timestamp=Date.now(),e&&(e.contents[a]=i,e.timestamp=i.timestamp),i},getFileDataAsTypedArray:e=>e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0),expandFileStorage(e,a){var r=e.contents?e.contents.length:0;if(!(r>=a)){a=Math.max(a,r*(r<1048576?2:1.125)>>>0),0!=r&&(a=Math.max(a,256));var t=e.contents;e.contents=new Uint8Array(a),e.usedBytes>0&&e.contents.set(t.subarray(0,e.usedBytes),0)}},resizeFileStorage(e,a){if(e.usedBytes!=a)if(0==a)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(a),r&&e.contents.set(r.subarray(0,Math.min(a,e.usedBytes))),e.usedBytes=a}},node_ops:{getattr(e){var a={};return a.dev=Ee.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,Ee.isDir(e.mode)?a.size=4096:Ee.isFile(e.mode)?a.size=e.usedBytes:Ee.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&&ne.resizeFileStorage(e,a.size)},lookup(e,a){throw Ee.genericErrors[44]},mknod:(e,a,r,t)=>ne.createNode(e,a,r,t),rename(e,a,r){if(Ee.isDir(e.mode)){var t;try{t=Ee.lookupNode(a,r)}catch(e){}if(t)for(var i in t.contents)throw new Ee.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,a.contents[r]=e,a.timestamp=e.parent.timestamp,e.parent=a},unlink(e,a){delete e.contents[a],e.timestamp=Date.now()},rmdir(e,a){var r=Ee.lookupNode(e,a);for(var t in r.contents)throw new Ee.ErrnoError(55);delete e.contents[a],e.timestamp=Date.now()},readdir(e){var a=[".",".."];for(var r of Object.keys(e.contents))a.push(r);return a},symlink(e,a,r){var t=ne.createNode(e,a,41471,0);return t.link=r,t},readlink(e){if(!Ee.isLink(e.mode))throw new Ee.ErrnoError(28);return e.link}},stream_ops:{read(e,a,r,t,i){var _=e.node.contents;if(i>=e.node.usedBytes)return 0;var o=Math.min(e.node.usedBytes-i,t);if(o>8&&_.subarray)a.set(_.subarray(i,i+o),r);else for(var s=0;s<o;s++)a[r+s]=_[i+s];return o},write(e,a,r,t,i,_){if(a.buffer===u.buffer&&(_=!1),!t)return 0;var o=e.node;if(o.timestamp=Date.now(),a.subarray&&(!o.contents||o.contents.subarray)){if(_)return o.contents=a.subarray(r,r+t),o.usedBytes=t,t;if(0===o.usedBytes&&0===i)return o.contents=a.slice(r,r+t),o.usedBytes=t,t;if(i+t<=o.usedBytes)return o.contents.set(a.subarray(r,r+t),i),t}if(ne.expandFileStorage(o,i+t),o.contents.subarray&&a.subarray)o.contents.set(a.subarray(r,r+t),i);else for(var s=0;s<t;s++)o.contents[i+s]=a[r+s];return o.usedBytes=Math.max(o.usedBytes,i+t),t},llseek(e,a,r){var t=a;if(1===r?t+=e.position:2===r&&Ee.isFile(e.node.mode)&&(t+=e.node.usedBytes),t<0)throw new Ee.ErrnoError(28);return t},allocate(e,a,r){ne.expandFileStorage(e.node,a+r),e.node.usedBytes=Math.max(e.node.usedBytes,a+r)},mmap(e,a,r,t,i){if(!Ee.isFile(e.node.mode))throw new Ee.ErrnoError(43);var _,o,s=e.node.contents;if(2&i||s.buffer!==u.buffer){if((r>0||r+a<s.length)&&(s=s.subarray?s.subarray(r,r+a):Array.prototype.slice.call(s,r,r+a)),o=!0,!(_=se()))throw new Ee.ErrnoError(48);u.set(s,_)}else o=!1,_=s.byteOffset;return{ptr:_,allocated:o}},msync:(e,a,r,t,i)=>(ne.stream_ops.write(e,a,0,t,r,!1),0)}},ce=i.preloadPlugins||[],le=(e,a)=>{var r=0;return e&&(r|=365),a&&(r|=146),r},Ee={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=J.resolve(e)))return{path:"",node:null};if((a=Object.assign({follow_mount:!0,recurse_count:0},a)).recurse_count>8)throw new Ee.ErrnoError(32);for(var r=e.split("/").filter((e=>!!e)),t=Ee.root,i="/",_=0;_<r.length;_++){var o=_===r.length-1;if(o&&a.parent)break;if(t=Ee.lookupNode(t,r[_]),i=Y.join2(i,r[_]),Ee.isMountpoint(t)&&(!o||o&&a.follow_mount)&&(t=t.mounted.root),!o||a.follow)for(var s=0;Ee.isLink(t.mode);){var n=Ee.readlink(i);if(i=J.resolve(Y.dirname(i),n),t=Ee.lookupPath(i,{recurse_count:a.recurse_count+1}).node,s++>40)throw new Ee.ErrnoError(32)}}return{path:i,node:t}},getPath(e){for(var a;;){if(Ee.isRoot(e)){var r=e.mount.mountpoint;return a?"/"!==r[r.length-1]?`${r}/${a}`:r+a:r}a=a?`${e.name}/${a}`:e.name,e=e.parent}},hashName(e,a){for(var r=0,t=0;t<a.length;t++)r=(r<<5)-r+a.charCodeAt(t)|0;return(e+r>>>0)%Ee.nameTable.length},hashAddNode(e){var a=Ee.hashName(e.parent.id,e.name);e.name_next=Ee.nameTable[a],Ee.nameTable[a]=e},hashRemoveNode(e){var a=Ee.hashName(e.parent.id,e.name);if(Ee.nameTable[a]===e)Ee.nameTable[a]=e.name_next;else for(var r=Ee.nameTable[a];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode(e,a){var r=Ee.mayLookup(e);if(r)throw new Ee.ErrnoError(r);for(var t=Ee.hashName(e.id,a),i=Ee.nameTable[t];i;i=i.name_next){var _=i.name;if(i.parent.id===e.id&&_===a)return i}return Ee.lookup(e,a)},createNode(e,a,r,t){var i=new Ee.FSNode(e,a,r,t);return Ee.hashAddNode(i),i},destroyNode(e){Ee.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)=>Ee.ignorePermissions||(!a.includes("r")||292&e.mode)&&(!a.includes("w")||146&e.mode)&&(!a.includes("x")||73&e.mode)?0:2,mayLookup:e=>Ee.isDir(e.mode)?Ee.nodePermissions(e,"x")||(e.node_ops.lookup?0:2):54,mayCreate(e,a){try{return Ee.lookupNode(e,a),20}catch(e){}return Ee.nodePermissions(e,"wx")},mayDelete(e,a,r){var t;try{t=Ee.lookupNode(e,a)}catch(e){return e.errno}var i=Ee.nodePermissions(e,"wx");if(i)return i;if(r){if(!Ee.isDir(t.mode))return 54;if(Ee.isRoot(t)||Ee.getPath(t)===Ee.cwd())return 10}else if(Ee.isDir(t.mode))return 31;return 0},mayOpen:(e,a)=>e?Ee.isLink(e.mode)?32:Ee.isDir(e.mode)&&("r"!==Ee.flagsToPermissionString(a)||512&a)?31:Ee.nodePermissions(e,Ee.flagsToPermissionString(a)):44,MAX_OPEN_FDS:4096,nextfd(){for(var e=0;e<=Ee.MAX_OPEN_FDS;e++)if(!Ee.streams[e])return e;throw new Ee.ErrnoError(33)},getStreamChecked(e){var a=Ee.getStream(e);if(!a)throw new Ee.ErrnoError(8);return a},getStream:e=>Ee.streams[e],createStream:(e,a=-1)=>(Ee.FSStream||(Ee.FSStream=function(){this.shared={}},Ee.FSStream.prototype={},Object.defineProperties(Ee.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 Ee.FSStream,e),-1==a&&(a=Ee.nextfd()),e.fd=a,Ee.streams[a]=e,e),closeStream(e){Ee.streams[e]=null},chrdev_stream_ops:{open(e){var a=Ee.getDevice(e.node.rdev);e.stream_ops=a.stream_ops,e.stream_ops.open?.(e)},llseek(){throw new Ee.ErrnoError(70)}},major:e=>e>>8,minor:e=>255&e,makedev:(e,a)=>e<<8|a,registerDevice(e,a){Ee.devices[e]={stream_ops:a}},getDevice:e=>Ee.devices[e],getMounts(e){for(var a=[],r=[e];r.length;){var t=r.pop();a.push(t),r.push.apply(r,t.mounts)}return a},syncfs(e,a){"function"==typeof e&&(a=e,e=!1),Ee.syncFSRequests++,Ee.syncFSRequests>1&&v(`warning: ${Ee.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var r=Ee.getMounts(Ee.root.mount),t=0;function i(e){return Ee.syncFSRequests--,a(e)}function _(e){if(e)return _.errored?void 0:(_.errored=!0,i(e));++t>=r.length&&i(null)}r.forEach((a=>{if(!a.type.syncfs)return _(null);a.type.syncfs(a,e,_)}))},mount(e,a,r){var t,i="/"===r,_=!r;if(i&&Ee.root)throw new Ee.ErrnoError(10);if(!i&&!_){var o=Ee.lookupPath(r,{follow_mount:!1});if(r=o.path,t=o.node,Ee.isMountpoint(t))throw new Ee.ErrnoError(10);if(!Ee.isDir(t.mode))throw new Ee.ErrnoError(54)}var s={type:e,opts:a,mountpoint:r,mounts:[]},n=e.mount(s);return n.mount=s,s.root=n,i?Ee.root=n:t&&(t.mounted=s,t.mount&&t.mount.mounts.push(s)),n},unmount(e){var a=Ee.lookupPath(e,{follow_mount:!1});if(!Ee.isMountpoint(a.node))throw new Ee.ErrnoError(28);var r=a.node,t=r.mounted,i=Ee.getMounts(t);Object.keys(Ee.nameTable).forEach((e=>{for(var a=Ee.nameTable[e];a;){var r=a.name_next;i.includes(a.mount)&&Ee.destroyNode(a),a=r}})),r.mounted=null;var _=r.mount.mounts.indexOf(t);r.mount.mounts.splice(_,1)},lookup:(e,a)=>e.node_ops.lookup(e,a),mknod(e,a,r){var t=Ee.lookupPath(e,{parent:!0}).node,i=Y.basename(e);if(!i||"."===i||".."===i)throw new Ee.ErrnoError(28);var _=Ee.mayCreate(t,i);if(_)throw new Ee.ErrnoError(_);if(!t.node_ops.mknod)throw new Ee.ErrnoError(63);return t.node_ops.mknod(t,i,a,r)},create:(e,a)=>(a=void 0!==a?a:438,a&=4095,a|=32768,Ee.mknod(e,a,0)),mkdir:(e,a)=>(a=void 0!==a?a:511,a&=1023,a|=16384,Ee.mknod(e,a,0)),mkdirTree(e,a){for(var r=e.split("/"),t="",i=0;i<r.length;++i)if(r[i]){t+="/"+r[i];try{Ee.mkdir(t,a)}catch(e){if(20!=e.errno)throw e}}},mkdev:(e,a,r)=>(void 0===r&&(r=a,a=438),a|=8192,Ee.mknod(e,a,r)),symlink(e,a){if(!J.resolve(e))throw new Ee.ErrnoError(44);var r=Ee.lookupPath(a,{parent:!0}).node;if(!r)throw new Ee.ErrnoError(44);var t=Y.basename(a),i=Ee.mayCreate(r,t);if(i)throw new Ee.ErrnoError(i);if(!r.node_ops.symlink)throw new Ee.ErrnoError(63);return r.node_ops.symlink(r,t,e)},rename(e,a){var r,t,i=Y.dirname(e),_=Y.dirname(a),o=Y.basename(e),s=Y.basename(a);if(r=Ee.lookupPath(e,{parent:!0}).node,t=Ee.lookupPath(a,{parent:!0}).node,!r||!t)throw new Ee.ErrnoError(44);if(r.mount!==t.mount)throw new Ee.ErrnoError(75);var n,c=Ee.lookupNode(r,o),l=J.relative(e,_);if("."!==l.charAt(0))throw new Ee.ErrnoError(28);if("."!==(l=J.relative(a,i)).charAt(0))throw new Ee.ErrnoError(55);try{n=Ee.lookupNode(t,s)}catch(e){}if(c!==n){var E=Ee.isDir(c.mode),d=Ee.mayDelete(r,o,E);if(d)throw new Ee.ErrnoError(d);if(d=n?Ee.mayDelete(t,s,E):Ee.mayCreate(t,s))throw new Ee.ErrnoError(d);if(!r.node_ops.rename)throw new Ee.ErrnoError(63);if(Ee.isMountpoint(c)||n&&Ee.isMountpoint(n))throw new Ee.ErrnoError(10);if(t!==r&&(d=Ee.nodePermissions(r,"w")))throw new Ee.ErrnoError(d);Ee.hashRemoveNode(c);try{r.node_ops.rename(c,t,s)}catch(e){throw e}finally{Ee.hashAddNode(c)}}},rmdir(e){var a=Ee.lookupPath(e,{parent:!0}).node,r=Y.basename(e),t=Ee.lookupNode(a,r),i=Ee.mayDelete(a,r,!0);if(i)throw new Ee.ErrnoError(i);if(!a.node_ops.rmdir)throw new Ee.ErrnoError(63);if(Ee.isMountpoint(t))throw new Ee.ErrnoError(10);a.node_ops.rmdir(a,r),Ee.destroyNode(t)},readdir(e){var a=Ee.lookupPath(e,{follow:!0}).node;if(!a.node_ops.readdir)throw new Ee.ErrnoError(54);return a.node_ops.readdir(a)},unlink(e){var a=Ee.lookupPath(e,{parent:!0}).node;if(!a)throw new Ee.ErrnoError(44);var r=Y.basename(e),t=Ee.lookupNode(a,r),i=Ee.mayDelete(a,r,!1);if(i)throw new Ee.ErrnoError(i);if(!a.node_ops.unlink)throw new Ee.ErrnoError(63);if(Ee.isMountpoint(t))throw new Ee.ErrnoError(10);a.node_ops.unlink(a,r),Ee.destroyNode(t)},readlink(e){var a=Ee.lookupPath(e).node;if(!a)throw new Ee.ErrnoError(44);if(!a.node_ops.readlink)throw new Ee.ErrnoError(28);return J.resolve(Ee.getPath(a.parent),a.node_ops.readlink(a))},stat(e,a){var r=Ee.lookupPath(e,{follow:!a}).node;if(!r)throw new Ee.ErrnoError(44);if(!r.node_ops.getattr)throw new Ee.ErrnoError(63);return r.node_ops.getattr(r)},lstat:e=>Ee.stat(e,!0),chmod(e,a,r){var t;if(!(t="string"==typeof e?Ee.lookupPath(e,{follow:!r}).node:e).node_ops.setattr)throw new Ee.ErrnoError(63);t.node_ops.setattr(t,{mode:4095&a|-4096&t.mode,timestamp:Date.now()})},lchmod(e,a){Ee.chmod(e,a,!0)},fchmod(e,a){var r=Ee.getStreamChecked(e);Ee.chmod(r.node,a)},chown(e,a,r,t){var i;if(!(i="string"==typeof e?Ee.lookupPath(e,{follow:!t}).node:e).node_ops.setattr)throw new Ee.ErrnoError(63);i.node_ops.setattr(i,{timestamp:Date.now()})},lchown(e,a,r){Ee.chown(e,a,r,!0)},fchown(e,a,r){var t=Ee.getStreamChecked(e);Ee.chown(t.node,a,r)},truncate(e,a){if(a<0)throw new Ee.ErrnoError(28);var r;if(!(r="string"==typeof e?Ee.lookupPath(e,{follow:!0}).node:e).node_ops.setattr)throw new Ee.ErrnoError(63);if(Ee.isDir(r.mode))throw new Ee.ErrnoError(31);if(!Ee.isFile(r.mode))throw new Ee.ErrnoError(28);var t=Ee.nodePermissions(r,"w");if(t)throw new Ee.ErrnoError(t);r.node_ops.setattr(r,{size:a,timestamp:Date.now()})},ftruncate(e,a){var r=Ee.getStreamChecked(e);if(0==(2097155&r.flags))throw new Ee.ErrnoError(28);Ee.truncate(r.node,a)},utime(e,a,r){var t=Ee.lookupPath(e,{follow:!0}).node;t.node_ops.setattr(t,{timestamp:Math.max(a,r)})},open(e,a,r){if(""===e)throw new Ee.ErrnoError(44);var t;if(r=void 0===r?438:r,r=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&r|32768:0,"object"==typeof e)t=e;else{e=Y.normalize(e);try{t=Ee.lookupPath(e,{follow:!(131072&a)}).node}catch(e){}}var _=!1;if(64&a)if(t){if(128&a)throw new Ee.ErrnoError(20)}else t=Ee.mknod(e,r,0),_=!0;if(!t)throw new Ee.ErrnoError(44);if(Ee.isChrdev(t.mode)&&(a&=-513),65536&a&&!Ee.isDir(t.mode))throw new Ee.ErrnoError(54);if(!_){var o=Ee.mayOpen(t,a);if(o)throw new Ee.ErrnoError(o)}512&a&&!_&&Ee.truncate(t,0),a&=-131713;var s=Ee.createStream({node:t,path:Ee.getPath(t),flags:a,seekable:!0,position:0,stream_ops:t.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),!i.logReadFiles||1&a||(Ee.readFiles||(Ee.readFiles={}),e in Ee.readFiles||(Ee.readFiles[e]=1)),s},close(e){if(Ee.isClosed(e))throw new Ee.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{Ee.closeStream(e.fd)}e.fd=null},isClosed:e=>null===e.fd,llseek(e,a,r){if(Ee.isClosed(e))throw new Ee.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ee.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ee.ErrnoError(28);return e.position=e.stream_ops.llseek(e,a,r),e.ungotten=[],e.position},read(e,a,r,t,i){if(t<0||i<0)throw new Ee.ErrnoError(28);if(Ee.isClosed(e))throw new Ee.ErrnoError(8);if(1==(2097155&e.flags))throw new Ee.ErrnoError(8);if(Ee.isDir(e.node.mode))throw new Ee.ErrnoError(31);if(!e.stream_ops.read)throw new Ee.ErrnoError(28);var _=void 0!==i;if(_){if(!e.seekable)throw new Ee.ErrnoError(70)}else i=e.position;var o=e.stream_ops.read(e,a,r,t,i);return _||(e.position+=o),o},write(e,a,r,t,i,_){if(t<0||i<0)throw new Ee.ErrnoError(28);if(Ee.isClosed(e))throw new Ee.ErrnoError(8);if(0==(2097155&e.flags))throw new Ee.ErrnoError(8);if(Ee.isDir(e.node.mode))throw new Ee.ErrnoError(31);if(!e.stream_ops.write)throw new Ee.ErrnoError(28);e.seekable&&1024&e.flags&&Ee.llseek(e,0,2);var o=void 0!==i;if(o){if(!e.seekable)throw new Ee.ErrnoError(70)}else i=e.position;var s=e.stream_ops.write(e,a,r,t,i,_);return o||(e.position+=s),s},allocate(e,a,r){if(Ee.isClosed(e))throw new Ee.ErrnoError(8);if(a<0||r<=0)throw new Ee.ErrnoError(28);if(0==(2097155&e.flags))throw new Ee.ErrnoError(8);if(!Ee.isFile(e.node.mode)&&!Ee.isDir(e.node.mode))throw new Ee.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ee.ErrnoError(138);e.stream_ops.allocate(e,a,r)},mmap(e,a,r,t,i){if(0!=(2&t)&&0==(2&i)&&2!=(2097155&e.flags))throw new Ee.ErrnoError(2);if(1==(2097155&e.flags))throw new Ee.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ee.ErrnoError(43);return e.stream_ops.mmap(e,a,r,t,i)},msync:(e,a,r,t,i)=>e.stream_ops.msync?e.stream_ops.msync(e,a,r,t,i):0,munmap:e=>0,ioctl(e,a,r){if(!e.stream_ops.ioctl)throw new Ee.ErrnoError(59);return e.stream_ops.ioctl(e,a,r)},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 r,t=Ee.open(e,a.flags),i=Ee.stat(e).size,_=new Uint8Array(i);return Ee.read(t,_,0,i,0),"utf8"===a.encoding?r=ee(_,0):"binary"===a.encoding&&(r=_),Ee.close(t),r},writeFile(e,a,r={}){r.flags=r.flags||577;var t=Ee.open(e,r.flags,r.mode);if("string"==typeof a){var i=new Uint8Array(re(a)+1),_=te(a,i,0,i.length);Ee.write(t,i,0,_,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(a))throw new Error("Unsupported data type");Ee.write(t,a,0,a.byteLength,void 0,r.canOwn)}Ee.close(t)},cwd:()=>Ee.currentPath,chdir(e){var a=Ee.lookupPath(e,{follow:!0});if(null===a.node)throw new Ee.ErrnoError(44);if(!Ee.isDir(a.node.mode))throw new Ee.ErrnoError(54);var r=Ee.nodePermissions(a.node,"x");if(r)throw new Ee.ErrnoError(r);Ee.currentPath=a.path},createDefaultDirectories(){Ee.mkdir("/tmp"),Ee.mkdir("/home"),Ee.mkdir("/home/web_user")},createDefaultDevices(){Ee.mkdir("/dev"),Ee.registerDevice(Ee.makedev(1,3),{read:()=>0,write:(e,a,r,t,i)=>t}),Ee.mkdev("/dev/null",Ee.makedev(1,3)),oe.register(Ee.makedev(5,0),oe.default_tty_ops),oe.register(Ee.makedev(6,0),oe.default_tty1_ops),Ee.mkdev("/dev/tty",Ee.makedev(5,0)),Ee.mkdev("/dev/tty1",Ee.makedev(6,0));var e=new Uint8Array(1024),a=0,r=()=>(0===a&&(a=$(e).byteLength),e[--a]);Ee.createDevice("/dev","random",r),Ee.createDevice("/dev","urandom",r),Ee.mkdir("/dev/shm"),Ee.mkdir("/dev/shm/tmp")},createSpecialDirectories(){Ee.mkdir("/proc");var e=Ee.mkdir("/proc/self");Ee.mkdir("/proc/self/fd"),Ee.mount({mount(){var a=Ee.createNode(e,"fd",16895,73);return a.node_ops={lookup(e,a){var r=+a,t=Ee.getStreamChecked(r),i={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>t.path}};return i.parent=i,i}},a}},{},"/proc/self/fd")},createStandardStreams(){i.stdin?Ee.createDevice("/dev","stdin",i.stdin):Ee.symlink("/dev/tty","/dev/stdin"),i.stdout?Ee.createDevice("/dev","stdout",null,i.stdout):Ee.symlink("/dev/tty","/dev/stdout"),i.stderr?Ee.createDevice("/dev","stderr",null,i.stderr):Ee.symlink("/dev/tty1","/dev/stderr"),Ee.open("/dev/stdin",0),Ee.open("/dev/stdout",1),Ee.open("/dev/stderr",1)},staticInit(){[44].forEach((e=>{Ee.genericErrors[e]=new Ee.ErrnoError(e),Ee.genericErrors[e].stack="<generic error, no stack>"})),Ee.nameTable=new Array(4096),Ee.mount(ne,{},"/"),Ee.createDefaultDirectories(),Ee.createDefaultDevices(),Ee.createSpecialDirectories(),Ee.filesystems={MEMFS:ne}},init(e,a,r){Ee.init.initialized=!0,i.stdin=e||i.stdin,i.stdout=a||i.stdout,i.stderr=r||i.stderr,Ee.createStandardStreams()},quit(){Ee.init.initialized=!1;for(var e=0;e<Ee.streams.length;e++){var a=Ee.streams[e];a&&Ee.close(a)}},findObject(e,a){var r=Ee.analyzePath(e,a);return r.exists?r.object:null},analyzePath(e,a){try{e=(t=Ee.lookupPath(e,{follow:!a})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var t=Ee.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=t.path,r.parentObject=t.node,r.name=Y.basename(e),t=Ee.lookupPath(e,{follow:!a}),r.exists=!0,r.path=t.path,r.object=t.node,r.name=t.node.name,r.isRoot="/"===t.path}catch(e){r.error=e.errno}return r},createPath(e,a,r,t){e="string"==typeof e?e:Ee.getPath(e);for(var i=a.split("/").reverse();i.length;){var _=i.pop();if(_){var o=Y.join2(e,_);try{Ee.mkdir(o)}catch(e){}e=o}}return o},createFile(e,a,r,t,i){var _=Y.join2("string"==typeof e?e:Ee.getPath(e),a),o=le(t,i);return Ee.create(_,o)},createDataFile(e,a,r,t,i,_){var o=a;e&&(e="string"==typeof e?e:Ee.getPath(e),o=a?Y.join2(e,a):e);var s=le(t,i),n=Ee.create(o,s);if(r){if("string"==typeof r){for(var c=new Array(r.length),l=0,E=r.length;l<E;++l)c[l]=r.charCodeAt(l);r=c}Ee.chmod(n,146|s);var d=Ee.open(n,577);Ee.write(d,r,0,r.length,0,_),Ee.close(d),Ee.chmod(n,s)}},createDevice(e,a,r,t){var i=Y.join2("string"==typeof e?e:Ee.getPath(e),a),_=le(!!r,!!t);Ee.createDevice.major||(Ee.createDevice.major=64);var o=Ee.makedev(Ee.createDevice.major++,0);return Ee.registerDevice(o,{open(e){e.seekable=!1},close(e){t?.buffer?.length&&t(10)},read(e,a,t,i,_){for(var o=0,s=0;s<i;s++){var n;try{n=r()}catch(e){throw new Ee.ErrnoError(29)}if(void 0===n&&0===o)throw new Ee.ErrnoError(6);if(null==n)break;o++,a[t+s]=n}return o&&(e.node.timestamp=Date.now()),o},write(e,a,r,i,_){for(var o=0;o<i;o++)try{t(a[r+o])}catch(e){throw new Ee.ErrnoError(29)}return i&&(e.node.timestamp=Date.now()),o}}),Ee.mkdev(i,_,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=ie(_(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new Ee.ErrnoError(29)}},createLazyFile(e,a,r,t,i){function _(){this.lengthKnown=!1,this.chunks=[]}if(_.prototype.get=function(e){if(!(e>this.length-1||e<0)){var a=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[a]}},_.prototype.setDataGetter=function(e){this.getter=e},_.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var a,t=Number(e.getResponseHeader("Content-length")),i=(a=e.getResponseHeader("Accept-Ranges"))&&"bytes"===a,_=(a=e.getResponseHeader("Content-Encoding"))&&"gzip"===a,o=1048576;i||(o=t);var s=this;s.setDataGetter((e=>{var a=e*o,i=(e+1)*o-1;if(i=Math.min(i,t-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>t-1)throw new Error("only "+t+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",r,!1),t!==o&&i.setRequestHeader("Range","bytes="+e+"-"+a),i.responseType="arraybuffer",i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+r+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):ie(i.responseText||"",!0)})(a,i)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!_&&t||(o=t=1,t=this.getter(0).length,o=t,b("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=t,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:r};var n=Ee.createFile(e,a,s,t,i);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 l(e,a,r,t,i){var _=e.node.contents;if(i>=_.length)return 0;var o=Math.min(_.length-i,t);if(_.slice)for(var s=0;s<o;s++)a[r+s]=_[i+s];else for(s=0;s<o;s++)a[r+s]=_.get(i+s);return o}return Object.keys(n.stream_ops).forEach((e=>{var a=n.stream_ops[e];c[e]=function(){return Ee.forceLoadFile(n),a.apply(null,arguments)}})),c.read=(e,a,r,t,i)=>(Ee.forceLoadFile(n),l(e,a,r,t,i)),c.mmap=(e,a,r,t,i)=>{Ee.forceLoadFile(n);var _=se();if(!_)throw new Ee.ErrnoError(48);return l(e,u,_,a,r),{ptr:_,allocated:!0}},n.stream_ops=c,n}},de=(e,a)=>e?ee(m,e,a):"",he={DEFAULT_POLLMASK:5,calculateAt(e,a,r){if(Y.isAbs(a))return a;var t;if(t=-100===e?Ee.cwd():he.getStreamFromFD(e).path,0==a.length){if(!r)throw new Ee.ErrnoError(44);return t}return Y.join2(t,a)},doStat(e,a,r){var t=e(a);g[r>>2]=t.dev,g[r+4>>2]=t.mode,S[r+8>>2]=t.nlink,g[r+12>>2]=t.uid,g[r+16>>2]=t.gid,g[r+20>>2]=t.rdev,x=[t.size>>>0,(j=t.size,+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[r+24>>2]=x[0],g[r+28>>2]=x[1],g[r+32>>2]=4096,g[r+36>>2]=t.blocks;var i=t.atime.getTime(),_=t.mtime.getTime(),o=t.ctime.getTime();return x=[Math.floor(i/1e3)>>>0,(j=Math.floor(i/1e3),+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[r+40>>2]=x[0],g[r+44>>2]=x[1],S[r+48>>2]=i%1e3*1e3,x=[Math.floor(_/1e3)>>>0,(j=Math.floor(_/1e3),+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[r+56>>2]=x[0],g[r+60>>2]=x[1],S[r+64>>2]=_%1e3*1e3,x=[Math.floor(o/1e3)>>>0,(j=Math.floor(o/1e3),+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[r+72>>2]=x[0],g[r+76>>2]=x[1],S[r+80>>2]=o%1e3*1e3,x=[t.ino>>>0,(j=t.ino,+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[r+88>>2]=x[0],g[r+92>>2]=x[1],0},doMsync(e,a,r,t,i){if(!Ee.isFile(a.node.mode))throw new Ee.ErrnoError(43);if(2&t)return 0;var _=m.slice(e,e+r);Ee.msync(a,_,i,r,t)},varargs:void 0,get(){var e=g[+he.varargs>>2];return he.varargs+=4,e},getp:()=>he.get(),getStr:e=>de(e),getStreamFromFD:e=>Ee.getStreamChecked(e)},be=(e,a,r)=>te(e,m,a,r),ve=(e,a)=>a+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*a:NaN,pe=e=>e%4==0&&(e%100!=0||e%400==0),ue=[0,31,60,91,121,152,182,213,244,274,305,335],me=[0,31,59,90,120,151,181,212,243,273,304,334],fe=e=>{var a=re(e)+1,r=$e(a);return r&&be(e,r,a),r},Ne=e=>{if(e instanceof O||"unwind"==e)return p;l(1,e)},ge=()=>V||!1,Se=(e,a)=>{var r;p=e,p=r=e,ge()||(i.onExit?.(r),I=!0),l(r,new O(r))},ye=e=>{if(!I)try{e(),(()=>{if(!ge())try{Se(p)}catch(e){Ne(e)}})()}catch(e){Ne(e)}},we=(e,a)=>setTimeout((()=>{ye(e)}),a),Ie=(e,a)=>{if(Re.mainLoop.timingMode=e,Re.mainLoop.timingValue=a,!Re.mainLoop.func)return 1;if(Re.mainLoop.running||(Re.mainLoop.running=!0),0==e)Re.mainLoop.scheduler=function(){var e=0|Math.max(0,Re.mainLoop.tickStartTime+a-_e());setTimeout(Re.mainLoop.runner,e)},Re.mainLoop.method="timeout";else if(1==e)Re.mainLoop.scheduler=function(){Re.requestAnimationFrame(Re.mainLoop.runner)},Re.mainLoop.method="rAF";else if(2==e){if(void 0===Re.setImmediate)if("undefined"==typeof setImmediate){var r=[],t="setimmediate";addEventListener("message",(e=>{e.data!==t&&e.data.target!==t||(e.stopPropagation(),r.shift()())}),!0),Re.setImmediate=function(e){r.push(e),void 0===i.setImmediates&&(i.setImmediates=[]),i.setImmediates.push(e),postMessage({target:t})}}else Re.setImmediate=setImmediate;Re.mainLoop.scheduler=function(){Re.setImmediate(Re.mainLoop.runner)},Re.mainLoop.method="immediate"}return 0};_e=()=>performance.now();var ze,Re={mainLoop:{running:!1,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause(){Re.mainLoop.scheduler=null,Re.mainLoop.currentlyRunningMainloop++},resume(){Re.mainLoop.currentlyRunningMainloop++;var e=Re.mainLoop.timingMode,a=Re.mainLoop.timingValue,r=Re.mainLoop.func;Re.mainLoop.func=null,((e,a,r,t,i)=>{z(!Re.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."),Re.mainLoop.func=e,Re.mainLoop.arg=t;var _=Re.mainLoop.currentlyRunningMainloop;function o(){return!(_<Re.mainLoop.currentlyRunningMainloop)}Re.mainLoop.running=!1,Re.mainLoop.runner=function(){if(!I)if(Re.mainLoop.queue.length>0){Date.now();var a=Re.mainLoop.queue.shift();if(a.func(a.arg),Re.mainLoop.remainingBlockers){var r=Re.mainLoop.remainingBlockers,t=r%1==0?r-1:Math.floor(r);a.counted?Re.mainLoop.remainingBlockers=t:(t+=.5,Re.mainLoop.remainingBlockers=(8*r+t)/9)}if(Re.mainLoop.updateStatus(),!o())return;setTimeout(Re.mainLoop.runner,0)}else o()&&(Re.mainLoop.currentFrameNumber=Re.mainLoop.currentFrameNumber+1|0,1==Re.mainLoop.timingMode&&Re.mainLoop.timingValue>1&&Re.mainLoop.currentFrameNumber%Re.mainLoop.timingValue!=0?Re.mainLoop.scheduler():(0==Re.mainLoop.timingMode&&(Re.mainLoop.tickStartTime=_e()),Re.mainLoop.runIter(e),o()&&("object"==typeof SDL&&SDL.audio?.queueNewAudioData?.(),Re.mainLoop.scheduler())))}})(r,0,0,Re.mainLoop.arg),Ie(e,a),Re.mainLoop.scheduler()},updateStatus(){if(i.setStatus){var e=i.statusMessage||"Please wait...",a=Re.mainLoop.remainingBlockers,r=Re.mainLoop.expectedBlockers;a?a<r?i.setStatus(e+" ("+(r-a)+"/"+r+")"):i.setStatus(e):i.setStatus("")}},runIter(e){if(!I){if(i.preMainLoop&&!1===i.preMainLoop())return;ye(e),i.postMainLoop?.()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init(){if(!Re.initted){Re.initted=!0;var e={canHandle:function(e){return!i.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,a,r,t){var i=new Blob([e],{type:Re.getMimetype(a)});i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Re.getMimetype(a)}));var _=URL.createObjectURL(i),o=new Image;o.onload=()=>{z(o.complete,`Image ${a} could not be decoded`);var t=document.createElement("canvas");t.width=o.width,t.height=o.height,t.getContext("2d").drawImage(o,0,0),Ue[a]=t,URL.revokeObjectURL(_),r?.(e)},o.onerror=e=>{v(`Image ${_} could not be decoded`),t?.()},o.src=_}};ce.push(e);var a={canHandle:function(e){return!i.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,a,r,t){var i=!1;function _(t){i||(i=!0,qe[a]=t,r?.(e))}var o=new Blob([e],{type:Re.getMimetype(a)}),s=URL.createObjectURL(o),n=new Audio;n.addEventListener("canplaythrough",(()=>_(n)),!1),n.onerror=function(r){i||(v(`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+/",r="",t=0,i=0,_=0;_<e.length;_++)for(t=t<<8|e[_],i+=8;i>=6;){var o=t>>i-6&63;i-=6,r+=a[o]}return 2==i?(r+=a[(3&t)<<4],r+="=="):4==i&&(r+=a[(15&t)<<2],r+="="),r}(e),_(n))},n.src=s,we((()=>{_(n)}),1e4)}};ce.push(a);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",t,!1),document.addEventListener("mozpointerlockchange",t,!1),document.addEventListener("webkitpointerlockchange",t,!1),document.addEventListener("mspointerlockchange",t,!1),i.elementPointerLock&&r.addEventListener("click",(e=>{!Re.pointerLock&&i.canvas.requestPointerLock&&(i.canvas.requestPointerLock(),e.preventDefault())}),!1))}function t(){Re.pointerLock=document.pointerLockElement===i.canvas||document.mozPointerLockElement===i.canvas||document.webkitPointerLockElement===i.canvas||document.msPointerLockElement===i.canvas}},createContext(e,a,r,t){if(a&&i.ctx&&e==i.canvas)return i.ctx;var _,o;if(a){var s={antialias:!1,alpha:!1,majorVersion:1};if(t)for(var n in t)s[n]=t[n];void 0!==Te&&(o=Te.createContext(e,s))&&(_=Te.getContext(o).GLctx)}else _=e.getContext("2d");return _?(r&&(a||z(void 0===Be,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),i.ctx=_,a&&Te.makeContextCurrent(o),i.useWebGL=a,Re.moduleContextCreatedCallbacks.forEach((e=>e())),Re.init()),_):null},destroyContext(e,a,r){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen(e,a){Re.lockPointer=e,Re.resizeCanvas=a,void 0===Re.lockPointer&&(Re.lockPointer=!0),void 0===Re.resizeCanvas&&(Re.resizeCanvas=!1);var r=i.canvas;function t(){Re.isFullscreen=!1;var e=r.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(r.exitFullscreen=Re.exitFullscreen,Re.lockPointer&&r.requestPointerLock(),Re.isFullscreen=!0,Re.resizeCanvas?Re.setFullscreenCanvasSize():Re.updateCanvasDimensions(r)):(e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e),Re.resizeCanvas?Re.setWindowedCanvasSize():Re.updateCanvasDimensions(r)),i.onFullScreen?.(Re.isFullscreen),i.onFullscreen?.(Re.isFullscreen)}Re.fullscreenHandlersInstalled||(Re.fullscreenHandlersInstalled=!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");r.parentNode.insertBefore(_,r),_.appendChild(r),_.requestFullscreen=_.requestFullscreen||_.mozRequestFullScreen||_.msRequestFullscreen||(_.webkitRequestFullscreen?()=>_.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(_.webkitRequestFullScreen?()=>_.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),_.requestFullscreen()},exitFullscreen:()=>!!Re.isFullscreen&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0),nextRAF:0,fakeRequestAnimationFrame(e){var a=Date.now();if(0===Re.nextRAF)Re.nextRAF=a+1e3/60;else for(;a+2>=Re.nextRAF;)Re.nextRAF+=1e3/60;var r=Math.max(Re.nextRAF-a,0);setTimeout(e,r)},requestAnimationFrame(e){"function"!=typeof requestAnimationFrame?(0,Re.fakeRequestAnimationFrame)(e):requestAnimationFrame(e)},safeSetTimeout:(e,a)=>we(e,a),safeRequestAnimationFrame:e=>Re.requestAnimationFrame((()=>{ye(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 r=i.canvas.getBoundingClientRect(),t=i.canvas.width,_=i.canvas.height,o=void 0!==window.scrollX?window.scrollX:window.pageXOffset,s=void 0!==window.scrollY?window.scrollY:window.pageYOffset,n=e-(o+r.left),c=a-(s+r.top);return{x:n*=t/r.width,y:c*=_/r.height}},setMouseCoords(e,a){const{x:r,y:t}=Re.calculateMouseCoords(e,a);Re.mouseMovementX=r-Re.mouseX,Re.mouseMovementY=t-Re.mouseY,Re.mouseX=r,Re.mouseY=t},calculateMouseEvent(e){if(Re.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Re.mouseMovementX=Re.mouseMovementY=0:(Re.mouseMovementX=Re.getMovementX(e),Re.mouseMovementY=Re.getMovementY(e)),"undefined"!=typeof SDL?(Re.mouseX=SDL.mouseX+Re.mouseMovementX,Re.mouseY=SDL.mouseY+Re.mouseMovementY):(Re.mouseX+=Re.mouseMovementX,Re.mouseY+=Re.mouseMovementY);else{if("touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var a=e.touch;if(void 0===a)return;var r=Re.calculateMouseCoords(a.pageX,a.pageY);if("touchstart"===e.type)Re.lastTouches[a.identifier]=r,Re.touches[a.identifier]=r;else if("touchend"===e.type||"touchmove"===e.type){var t=Re.touches[a.identifier];t||=r,Re.lastTouches[a.identifier]=t,Re.touches[a.identifier]=r}return}Re.setMouseCoords(e.pageX,e.pageY)}},resizeListeners:[],updateResizeListeners(){var e=i.canvas;Re.resizeListeners.forEach((a=>a(e.width,e.height)))},setCanvasSize(e,a,r){var t=i.canvas;Re.updateCanvasDimensions(t,e,a),r||Re.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize(){if("undefined"!=typeof SDL){var e=S[SDL.screen>>2];e|=8388608,g[SDL.screen>>2]=e}Re.updateCanvasDimensions(i.canvas),Re.updateResizeListeners()},setWindowedCanvasSize(){if("undefined"!=typeof SDL){var e=S[SDL.screen>>2];e&=-8388609,g[SDL.screen>>2]=e}Re.updateCanvasDimensions(i.canvas),Re.updateResizeListeners()},updateCanvasDimensions(e,a,r){a&&r?(e.widthNative=a,e.heightNative=r):(a=e.widthNative,r=e.heightNative);var t=a,_=r;if(i.forcedAspectRatio&&i.forcedAspectRatio>0&&(t/_<i.forcedAspectRatio?t=Math.round(_*i.forcedAspectRatio):_=Math.round(t/i.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var o=Math.min(screen.width/t,screen.height/_);t=Math.round(t*o),_=Math.round(_*o)}Re.resizeCanvas?(e.width!=t&&(e.width=t),e.height!=_&&(e.height=_),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=a&&(e.width=a),e.height!=r&&(e.height=r),void 0!==e.style&&(t!=a||_!=r?(e.style.setProperty("width",t+"px","important"),e.style.setProperty("height",_+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}},Le=[],ke=e=>{var a=Le[e];return a||(e>=Le.length&&(Le.length=e+1),Le[e]=a=ze.get(e)),a},je=e=>{var a=(e-h.buffer.byteLength+65535)/65536;try{return h.grow(a),R(),1}catch(e){}};class xe{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,r,t){try{var i=indexedDB.open(e,a)}catch(e){return t(e)}i.onupgradeneeded=e=>{var a=e.target.result;a.objectStoreNames.contains("FILES")&&a.deleteObjectStore("FILES"),a.createObjectStore("FILES")},i.onsuccess=e=>r(e.target.result),i.onerror=t},init(){Pe.xhrs=new xe,T(),Pe.openDatabase("emscripten_filesystem",1,(e=>{Pe.dbInstance=e,C()}),(()=>{Pe.dbInstance=!1,C()}))}};function Ke(e,a,r,t,i){var _=S[e+8>>2];if(_){var o=de(_),s=e+112,n=de(s+0);n||="GET";var c=S[s+56>>2],l=S[s+68>>2],E=S[s+72>>2],d=S[s+76>>2],h=S[s+80>>2],b=S[s+84>>2],v=S[s+88>>2],p=S[s+52>>2],u=!!(1&p),f=!!(2&p),g=!!(64&p),y=l?de(l):void 0,w=E?de(E):void 0,I=new XMLHttpRequest;if(I.withCredentials=!!m[s+60>>0],I.open(n,o,!g,y,w),g||(I.timeout=c),I.url_=o,I.responseType="arraybuffer",h){var z=de(h);I.overrideMimeType(z)}if(d)for(;;){var R=S[d>>2];if(!R)break;var L=S[d+4>>2];if(!L)break;d+=8;var k=de(R),j=de(L);I.setRequestHeader(k,j)}var x=Pe.xhrs.allocate(I);S[e>>2]=x;var P=b&&v?m.slice(b,b+v):null;I.onload=t=>{Pe.xhrs.has(x)&&(K(),I.status>=200&&I.status<300?a?.(e,I,t):r?.(e,I,t))},I.onerror=a=>{Pe.xhrs.has(x)&&(K(),r?.(e,I,a))},I.ontimeout=a=>{Pe.xhrs.has(x)&&r?.(e,I,a)},I.onprogress=a=>{if(Pe.xhrs.has(x)){var r=u&&f&&I.response?I.response.byteLength:0,i=0;r>0&&u&&f&&(i=$e(r),m.set(new Uint8Array(I.response),i)),S[e+12>>2]=i,Fe(e+16,r),Fe(e+24,a.loaded-r),Fe(e+32,a.total),N[e+40>>1]=I.readyState,I.readyState>=3&&0===I.status&&a.loaded>0&&(I.status=200),N[e+42>>1]=I.status,I.statusText&&be(I.statusText,e+44,64),t?.(e,I,a),i&&Ye(i)}},I.onreadystatechange=a=>{Pe.xhrs.has(x)&&(N[e+40>>1]=I.readyState,I.readyState>=2&&(N[e+42>>1]=I.status),i?.(e,I,a))};try{I.send(P)}catch(a){r?.(e,I,a)}}else r(e,0,"no url specified!");function K(){var a=0,r=0;I.response&&u&&0===S[e+12>>2]&&(r=I.response.byteLength),r>0&&(a=$e(r),m.set(new Uint8Array(I.response),a)),S[e+12>>2]=a,Fe(e+16,r),Fe(e+24,0);var t=I.response?I.response.byteLength:0;t&&Fe(e+32,t),N[e+40>>1]=I.readyState,N[e+42>>1]=I.status,I.statusText&&be(I.statusText,e+44,64)}}var Fe=(e,a)=>{S[e>>2]=a;var r=S[e>>2];S[e+4>>2]=(a-r)/4294967296};function Ae(e,a,r,t,i){if(e){var _=S[a+112+64>>2];_||=S[a+8>>2];var o=de(_);try{var s=e.transaction(["FILES"],"readwrite").objectStore("FILES").put(r,o);s.onsuccess=e=>{N[a+40>>1]=4,N[a+42>>1]=200,be("OK",a+44,64),t(a,0,o)},s.onerror=e=>{N[a+40>>1]=4,N[a+42>>1]=413,be("Payload Too Large",a+44,64),i(a,0,e)}}catch(e){i(a,0,e)}}else i(a,0,"IndexedDB not available!")}var Ze={},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 Ze)void 0===Ze[a]?delete e[a]:e[a]=Ze[a];var r=[];for(var a in e)r.push(`${a}=${e[a]}`);Me.strings=r}return Me.strings},Te={counter:1,buffers:[],programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],stringCache:{},unpackAlignment:4,recordError:function(e){Te.lastError||(Te.lastError=e)},getNewId:e=>{for(var a=Te.counter++,r=e.length;r<a;r++)e[r]=null;return a},getSource:(e,a,r,t)=>{for(var i="",_=0;_<a;++_){var o=t?S[t+4*_>>2]:void 0;i+=de(S[r+4*_>>2],o)}return i},createContext:(e,a)=>{if(!e.getContextSafariWebGL2Fixed){function t(a,r){var t=e.getContextSafariWebGL2Fixed(a,r);return"webgl"==a==t instanceof WebGLRenderingContext?t:null}e.getContextSafariWebGL2Fixed=e.getContext,e.getContext=t}var r=e.getContext("webgl",a);return r?Te.registerContext(r,a):0},registerContext:(e,a)=>{var r=Te.getNewId(Te.contexts),t={handle:r,attributes:a,version:a.majorVersion,GLctx:e};return e.canvas&&(e.canvas.GLctxObject=t),Te.contexts[r]=t,(void 0===a.enableExtensionsByDefault||a.enableExtensionsByDefault)&&Te.initExtensions(t),r},makeContextCurrent:e=>(Te.currentContext=Te.contexts[e],i.ctx=Be=Te.currentContext?.GLctx,!(e&&!Be)),getContext:e=>Te.contexts[e],deleteContext:e=>{Te.currentContext===Te.contexts[e]&&(Te.currentContext=null),"object"==typeof JSEvents&&JSEvents.removeAllHandlersOnTarget(Te.contexts[e].GLctx.canvas),Te.contexts[e]&&Te.contexts[e].GLctx.canvas&&(Te.contexts[e].GLctx.canvas.GLctxObject=void 0),Te.contexts[e]=null},initExtensions:e=>{if(e||=Te.currentContext,!e.initExtensionsDone){e.initExtensionsDone=!0;var a=e.GLctx;(e=>{var a=e.getExtension("ANGLE_instanced_arrays");a&&(e.vertexAttribDivisor=(e,r)=>a.vertexAttribDivisorANGLE(e,r),e.drawArraysInstanced=(e,r,t,i)=>a.drawArraysInstancedANGLE(e,r,t,i),e.drawElementsInstanced=(e,r,t,i,_)=>a.drawElementsInstancedANGLE(e,r,t,i,_))})(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,r)=>a.drawBuffersWEBGL(e,r))})(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)}))}}},Ce=[31,29,31,30,31,30,31,31,30,31,30,31],De=[31,28,31,30,31,30,31,31,30,31,30,31],Oe=(e,a)=>{u.set(e,a)},Ge=e=>i["_"+e],Ve=function(e,a,r,t){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ee.nextInode++,this.name=a,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=t};Object.defineProperties(Ve.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 Ee.isDir(this.mode)}},isDevice:{get:function(){return Ee.isChrdev(this.mode)}}}),Ee.FSNode=Ve,Ee.createPreloadedFile=(e,a,r,t,i,_,s,n,c,l)=>{var E=a?J.resolve(Y.join2(e,a)):e;function d(r){function o(r){l?.(),n||((e,a,r,t,i,_)=>{Ee.createDataFile(e,a,r,t,i,_)})(e,a,r,t,i,c),_?.(),C()}((e,a,r,t)=>{void 0!==Re&&Re.init();var i=!1;return ce.forEach((_=>{i||_.canHandle(a)&&(_.handle(e,a,r,t),i=!0)})),i})(r,E,o,(()=>{s?.(),C()}))||o(r)}T(),"string"==typeof r?((e,a,r,t)=>{var i=`al ${e}`;o(e,(e=>{a(new Uint8Array(e)),i&&C()}),(a=>{if(!r)throw`Loading data file "${e}" failed.`;r()})),i&&T()})(r,d,s):d(r)},Ee.staticInit(),i.requestFullscreen=Re.requestFullscreen,i.requestAnimationFrame=Re.requestAnimationFrame,i.setCanvasSize=Re.setCanvasSize,i.pauseMainLoop=Re.mainLoop.pause,i.resumeMainLoop=Re.mainLoop.resume,i.getUserMedia=Re.getUserMedia,i.createContext=Re.createContext;var Be,Ue={},qe={};Pe.init();var He,We={q:e=>{var a=new H(e);return a.get_caught()||(a.set_caught(!0),U--),a.set_rethrown(!1),B.push(a),ia(a.excPtr),a.get_exception_ptr()},cc:()=>{if(!B.length)return 0;var e=B[B.length-1];return ia(e.excPtr),e.excPtr},w:()=>{Qe(0,0);var e=B.pop();ta(e.excPtr),q=0},a:()=>W([]),i:e=>W([e]),D:(e,a)=>W([e,a]),Ka:X,bc:e=>{if(e){var a=new H(e);B.push(a),a.set_rethrown(!0),X()}},n:(e,a,r)=>{throw new H(e).init(a,r),U++,q=e},dc:()=>U,c:e=>{throw q||(q=e),q},T:function(e,a,r){he.varargs=r;try{var t=he.getStreamFromFD(e);switch(a){case 0:if((i=he.get())<0)return-28;for(;Ee.streams[i];)i++;return Ee.createStream(t,i).fd;case 1:case 2:case 13:case 14:return 0;case 3:return t.flags;case 4:var i=he.get();return t.flags|=i,0;case 12:return i=he.getp(),f[i+0>>1]=2,0}return-28}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},jc:function(e,a,r){try{var t=he.getStreamFromFD(e);t.getdents||=Ee.readdir(t.path);for(var i=280,_=0,o=Ee.llseek(t,0,1),s=Math.floor(o/i);s<t.getdents.length&&_+i<=r;){var n,c,l=t.getdents[s];if("."===l)n=t.node.id,c=4;else if(".."===l)n=Ee.lookupPath(t.path,{parent:!0}).node.id,c=4;else{var E=Ee.lookupNode(t.node,l);n=E.id,c=Ee.isChrdev(E.mode)?2:Ee.isDir(E.mode)?4:Ee.isLink(E.mode)?10:8}x=[n>>>0,(j=n,+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[a+_>>2]=x[0],g[a+_+4>>2]=x[1],x=[(s+1)*i>>>0,(j=(s+1)*i,+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[a+_+8>>2]=x[0],g[a+_+12>>2]=x[1],f[a+_+16>>1]=280,u[a+_+18>>0]=c,be(l,a+_+19,256),_+=i,s+=1}return Ee.llseek(t,s*i,0),_}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},qc:function(e,a,r){he.varargs=r;try{var t=he.getStreamFromFD(e);switch(a){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return t.tty?0:-59;case 21505:if(!t.tty)return-59;if(t.tty.ops.ioctl_tcgets){var i=t.tty.ops.ioctl_tcgets(t),_=he.getp();g[_>>2]=i.c_iflag||0,g[_+4>>2]=i.c_oflag||0,g[_+8>>2]=i.c_cflag||0,g[_+12>>2]=i.c_lflag||0;for(var o=0;o<32;o++)u[_+o+17>>0]=i.c_cc[o]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!t.tty)return-59;if(t.tty.ops.ioctl_tcsets){_=he.getp();var s=g[_>>2],n=g[_+4>>2],c=g[_+8>>2],l=g[_+12>>2],E=[];for(o=0;o<32;o++)E.push(u[_+o+17>>0]);return t.tty.ops.ioctl_tcsets(t.tty,a,{c_iflag:s,c_oflag:n,c_cflag:c,c_lflag:l,c_cc:E})}return 0;case 21519:return t.tty?(_=he.getp(),g[_>>2]=0,0):-59;case 21520:return t.tty?-28:-59;case 21531:return _=he.getp(),Ee.ioctl(t,a,_);case 21523:if(!t.tty)return-59;if(t.tty.ops.ioctl_tiocgwinsz){var d=t.tty.ops.ioctl_tiocgwinsz(t.tty);_=he.getp(),f[_>>1]=d[0],f[_+2>>1]=d[1]}return 0;default:return-28}}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},Oa:function(e,a,r,t){he.varargs=t;try{a=he.getStr(a),a=he.calculateAt(e,a);var i=t?he.get():0;return Ee.open(a,r,i).fd}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},gc:function(e,a,r,t){try{if(a=he.getStr(a),a=he.calculateAt(e,a),t<=0)return-28;var i=Ee.readlink(a),_=Math.min(t,re(i)),o=u[r+_];return be(i,r,t+1),u[r+_]=o,_}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},mc:function(e,a){try{return e=he.getStr(e),he.doStat(Ee.stat,e,a)}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},hc:function(e,a){try{return e=he.getStr(e),a=he.getStr(a),Ee.symlink(e,a),0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},ic:function(e,a,r){try{return a=he.getStr(a),a=he.calculateAt(e,a),0===r?Ee.unlink(a):512===r?Ee.rmdir(a):D("Invalid flags passed to unlinkat"),0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return-e.errno}},rc: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()}},oc:()=>1,wb:function(e,a,r){var t=ve(e,a),i=new Date(1e3*t);g[r>>2]=i.getUTCSeconds(),g[r+4>>2]=i.getUTCMinutes(),g[r+8>>2]=i.getUTCHours(),g[r+12>>2]=i.getUTCDate(),g[r+16>>2]=i.getUTCMonth(),g[r+20>>2]=i.getUTCFullYear()-1900,g[r+24>>2]=i.getUTCDay();var _=Date.UTC(i.getUTCFullYear(),0,1,0,0,0,0),o=(i.getTime()-_)/864e5|0;g[r+28>>2]=o},xb:function(e,a,r){var t=ve(e,a),i=new Date(1e3*t);g[r>>2]=i.getSeconds(),g[r+4>>2]=i.getMinutes(),g[r+8>>2]=i.getHours(),g[r+12>>2]=i.getDate(),g[r+16>>2]=i.getMonth(),g[r+20>>2]=i.getFullYear()-1900,g[r+24>>2]=i.getDay();var _=0|(e=>(pe(e.getFullYear())?ue:me)[e.getMonth()]+e.getDate()-1)(i);g[r+28>>2]=_,g[r+36>>2]=-60*i.getTimezoneOffset();var o=new Date(i.getFullYear(),0,1),s=new Date(i.getFullYear(),6,1).getTimezoneOffset(),n=o.getTimezoneOffset(),c=0|(s!=n&&i.getTimezoneOffset()==Math.min(n,s));g[r+32>>2]=c},fc:(e,a,r)=>{var t=(new Date).getFullYear(),i=new Date(t,0,1),_=new Date(t,6,1),o=i.getTimezoneOffset(),s=_.getTimezoneOffset(),n=Math.max(o,s);function c(e){var a=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return a?a[1]:"GMT"}S[e>>2]=60*n,g[a>>2]=Number(o!=s);var l=c(i),E=c(_),d=fe(l),h=fe(E);s<o?(S[r>>2]=d,S[r+4>>2]=h):(S[r>>2]=h,S[r+4>>2]=d)},G:()=>{D("")},rb:function(){self.postMessage({t:"gfx"})},tb: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 r=re(e)+1,t=$e(r);return be(e,t,r+1),t},sb:function(){self.postMessage({t:"licerr"})},Ja:(e,a,r)=>{function t(){ke(e)(a)}r>=0?we(t,r):Re.safeRequestAnimationFrame(t)},ta:()=>Date.now(),$b:()=>2147483648,nc:_e,tc:()=>!1,pc:(e,a,r)=>m.copyWithin(e,a,a+r),ec:e=>{var a=m.length,r=2147483648;if((e>>>=0)>r)return!1;for(var t,i=1;i<=4;i*=2){var _=a*(1+.2/i);_=Math.min(_,e+100663296);var o=Math.min(r,(t=Math.max(e,_))+(65536-t%65536)%65536);if(je(o))return!0}return!1},sc:function(e,a,r,t,i){var _=e+112,o=S[_+36>>2],s=S[_+40>>2],n=S[_+44>>2],c=S[_+48>>2],l=S[_+52>>2],E=!!(64&l);function d(e){E?e():ye(e)}var h=(e,r,t)=>{d((()=>{o?ke(o)(e):a?.(e)}))},b=(e,a,r)=>{d((()=>{n?ke(n)(e):t?.(e)}))},v=(e,a,t)=>{d((()=>{s?ke(s)(e):r?.(e)}))},p=(e,a,r)=>{d((()=>{c?ke(c)(e):i?.(e)}))},u=(e,r,t)=>{Ae(Pe.dbInstance,e,r.response,((e,r,t)=>{d((()=>{o?ke(o)(e):a?.(e)}))}),((e,r,t)=>{d((()=>{o?ke(o)(e):a?.(e)}))}))},f=de(_+0),g=!!(16&l),y=!!(4&l),w=!!(32&l);if("EM_IDB_STORE"===f){var I=S[_+84>>2],z=S[_+88>>2];Ae(Pe.dbInstance,e,m.slice(I,I+z),h,v)}else if("EM_IDB_DELETE"===f)!function(e,a,r,t){if(e){var i=S[a+112+64>>2];i||=S[a+8>>2];var _=de(i);try{var o=e.transaction(["FILES"],"readwrite").objectStore("FILES").delete(_);o.onsuccess=e=>{var t=e.target.result;S[a+12>>2]=0,Fe(a+16,0),Fe(a+24,0),Fe(a+32,0),N[a+40>>1]=4,N[a+42>>1]=200,be("OK",a+44,64),r(a,0,t)},o.onerror=e=>{N[a+40>>1]=4,N[a+42>>1]=404,be("Not Found",a+44,64),t(a,0,e)}}catch(e){t(a,0,e)}}else t(a,0,"IndexedDB not available!")}(Pe.dbInstance,e,h,v);else if(g){if(w)return 0;Ke(e,y?u:h,v,b,p)}else!function(e,a,r,t){if(e){var i=S[a+112+64>>2];i||=S[a+8>>2];var _=de(i);try{var o=e.transaction(["FILES"],"readonly").objectStore("FILES").get(_);o.onsuccess=e=>{if(e.target.result){var i=e.target.result,_=i.byteLength||i.length,o=$e(_);m.set(new Uint8Array(i),o),S[a+12>>2]=o,Fe(a+16,_),Fe(a+24,0),Fe(a+32,_),N[a+40>>1]=4,N[a+42>>1]=200,be("OK",a+44,64),r(a,0,i)}else N[a+40>>1]=4,N[a+42>>1]=404,be("Not Found",a+44,64),t(a,0,"no data")},o.onerror=e=>{N[a+40>>1]=4,N[a+42>>1]=404,be("Not Found",a+44,64),t(a,0,e)}}catch(e){t(a,0,e)}}else t(a,0,"IndexedDB not available!")}(Pe.dbInstance,e,h,w?v:y?(e,a,r)=>{Ke(e,u,v,b,p)}:(e,a,r)=>{Ke(e,h,v,b,p)});return e},kc:(e,a)=>{var r=0;return Me().forEach(((t,i)=>{var _=a+r;S[e+4*i>>2]=_,((e,a)=>{for(var r=0;r<e.length;++r)u[a++>>0]=e.charCodeAt(r);u[a>>0]=0})(t,_),r+=t.length+1})),0},lc:(e,a)=>{var r=Me();S[e>>2]=r.length;var t=0;return r.forEach((e=>t+=e.length+1)),S[a>>2]=t,0},uc:Se,ca:function(e){try{var a=he.getStreamFromFD(e);return Ee.close(a),0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return e.errno}},Pa:function(e,a,r,t){try{var i=((e,a,r,t)=>{for(var i=0,_=0;_<r;_++){var o=S[a>>2],s=S[a+4>>2];a+=8;var n=Ee.read(e,u,o,s,t);if(n<0)return-1;if(i+=n,n<s)break;void 0!==t&&(t+=n)}return i})(he.getStreamFromFD(e),a,r);return S[t>>2]=i,0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return e.errno}},yb:function(e,a,r,t,i){var _=ve(a,r);try{if(isNaN(_))return 61;var o=he.getStreamFromFD(e);return Ee.llseek(o,_,t),x=[o.position>>>0,(j=o.position,+Math.abs(j)>=1?j>0?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],g[i>>2]=x[0],g[i+4>>2]=x[1],o.getdents&&0===_&&0===t&&(o.getdents=null),0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return e.errno}},ua:function(e,a,r,t){try{var i=((e,a,r,t)=>{for(var i=0,_=0;_<r;_++){var o=S[a>>2],s=S[a+4>>2];a+=8;var n=Ee.write(e,u,o,s,t);if(n<0)return-1;i+=n,void 0!==t&&(t+=n)}return i})(he.getStreamFromFD(e),a,r);return S[t>>2]=i,0}catch(e){if(void 0===Ee||"ErrnoError"!==e.name)throw e;return e.errno}},Ma:(e,a)=>{Be.bindTexture(e,Te.textures[a])},Na:(e,a)=>{((e,a,r,t)=>{for(var i=0;i<e;i++){var _=Be.createTexture(),o=_&&Te.getNewId(t);_?(_.name=o,t[o]=_):Te.recordError(1282),g[a+4*i>>2]=o}})(e,a,0,Te.textures)},ra:(e,a,r,t,i,_,o,s,n)=>{Be.texImage2D(e,a,r,t,i,_,o,s,n?((e,a,r,t,i,_)=>{var o=(e=>1==(e-=5120)?m:4==e?g:6==e?y:5==e||28922==e?S:N)(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,l=((e,a,r,t)=>{var i;return a*(e*r+(i=t)-1&-i)})(r,t,c,Te.unpackAlignment);return o.subarray(i>>s,i+l>>s)})(s,o,t,i,n):null)},sa:function(e,a,r){Be.texParameteri(e,a,r)},z:function(e){var a=ea();try{return ke(e)()}catch(e){if(aa(a),e!==e+0)throw e;Qe(1,0)}},da:function(e,a){var r=ea();try{return ke(e)(a)}catch(e){if(aa(r),e!==e+0)throw e;Qe(1,0)}},va:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},V:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},U:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},hb:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},ya:function(e,a,r,t,i,_,o,s){var n=ea();try{return ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},Lb:function(e,a,r,t,i){var _=ea();try{return Sa(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},zb:function(e,a,r,t,i){var _=ea();try{return Fa(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Q:function(e,a){var r=ea();try{return ke(e)(a)}catch(e){if(aa(r),e!==e+0)throw e;Qe(1,0)}},fa:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},ga:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},$a:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},t:function(e){var a=ea();try{return ke(e)()}catch(e){if(aa(a),e!==e+0)throw e;Qe(1,0)}},Ra:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Ya:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},b:function(e,a){var r=ea();try{return ke(e)(a)}catch(e){if(aa(r),e!==e+0)throw e;Qe(1,0)}},r:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},za:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},wc:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},xa:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},ha:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},_a:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Za:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},g:function(e,a,r){var t=ea();try{return ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},W:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},ib:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},vc:function(e,a,r,t,i,_,o,s){var n=ea();try{return ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},Xa:function(e,a,r,t,i,_,o,s,n,c,l,E,d){var h=ea();try{return ke(e)(a,r,t,i,_,o,s,n,c,l,E,d)}catch(e){if(aa(h),e!==e+0)throw e;Qe(1,0)}},Aa:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},lb:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},e:function(e,a,r,t){var i=ea();try{return ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Ta:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},m:function(e,a,r,t,i){var _=ea();try{return ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Sa:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},ia:function(e,a,r,t,i,_,o){var s=ea();try{return ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},Ga:function(e,a,r,t,i,_,o,s,n){var c=ea();try{return ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},s:function(e,a,r,t,i,_){var o=ea();try{return ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},A:function(e,a,r,t,i,_,o){var s=ea();try{return ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},x:function(e,a,r,t,i,_,o,s){var n=ea();try{return ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},ob:function(e,a,r,t,i,_,o,s,n,c,l){var E=ea();try{return ke(e)(a,r,t,i,_,o,s,n,c,l)}catch(e){if(aa(E),e!==e+0)throw e;Qe(1,0)}},H:function(e,a,r,t,i,_,o,s,n){var c=ea();try{return ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},ba:function(e,a,r,t,i,_,o,s,n,c){var l=ea();try{return ke(e)(a,r,t,i,_,o,s,n,c)}catch(e){if(aa(l),e!==e+0)throw e;Qe(1,0)}},M:function(e,a,r,t,i,_,o,s,n,c,l){var E=ea();try{return ke(e)(a,r,t,i,_,o,s,n,c,l)}catch(e){if(aa(E),e!==e+0)throw e;Qe(1,0)}},ka:function(e,a,r,t,i,_,o,s,n,c,l,E){var d=ea();try{return ke(e)(a,r,t,i,_,o,s,n,c,l,E)}catch(e){if(aa(d),e!==e+0)throw e;Qe(1,0)}},vb:function(e,a,r,t,i,_,o){var s=ea();try{return Aa(e,a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},Ib:function(e,a,r,t,i,_,o,s,n){var c=ea();try{return Ia(e,a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},Bb:function(e,a,r,t,i,_){var o=ea();try{return Pa(e,a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Qb:function(e,a,r,t,i){var _=ea();try{return ma(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Wb:function(e,a,r,t){var i=ea();try{return da(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Ub:function(e,a,r,t,i){var _=ea();try{return ha(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Kb:function(e,a,r,t,i,_){var o=ea();try{return ya(e,a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Hb:function(e,a,r,t,i,_,o){var s=ea();try{return za(e,a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},Sb:function(e,a,r,t,i,_){var o=ea();try{return va(e,a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Nb:function(e,a,r,t,i,_,o,s,n,c,l,E,d){var h=ea();try{return Na(e,a,r,t,i,_,o,s,n,c,l,E,d)}catch(e){if(aa(h),e!==e+0)throw e;Qe(1,0)}},Cb:function(e,a,r,t){var i=ea();try{return xa(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Zb:function(e){var a=ea();try{return sa(e)}catch(e){if(aa(a),e!==e+0)throw e;Qe(1,0)}},Pb:function(e,a){var r=ea();try{return fa(e,a)}catch(e){if(aa(r),e!==e+0)throw e;Qe(1,0)}},Fb:function(e,a,r){var t=ea();try{return La(e,a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},Gb:function(e,a,r,t){var i=ea();try{return Ra(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},ub:function(e,a,r,t,i){var _=ea();try{return Za(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Tb:function(e,a,r,t){var i=ea();try{return ua(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Rb:function(e,a,r,t,i){var _=ea();try{return pa(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Ab:function(e,a,r){var t=ea();try{return Ka(e,a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},l:function(e){var a=ea();try{ke(e)()}catch(e){if(aa(a),e!==e+0)throw e;Qe(1,0)}},Ea:function(e,a,r){var t=ea();try{ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},L:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},d:function(e,a){var r=ea();try{ke(e)(a)}catch(e){if(aa(r),e!==e+0)throw e;Qe(1,0)}},Qa:function(e,a,r){var t=ea();try{ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},fb:function(e,a,r,t){var i=ea();try{ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Ua:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},ma:function(e,a,r,t,i,_,o){var s=ea();try{ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},Wa:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},La:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},aa:function(e,a,r,t){var i=ea();try{ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},R:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},nb:function(e,a,r){var t=ea();try{ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},Va:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},bb:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},f:function(e,a,r){var t=ea();try{ke(e)(a,r)}catch(e){if(aa(t),e!==e+0)throw e;Qe(1,0)}},u:function(e,a,r,t){var i=ea();try{ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},O:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},N:function(e,a,r,t){var i=ea();try{ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},_:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Ba:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},cb:function(e,a,r,t,i,_,o,s,n){var c=ea();try{ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},P:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},h:function(e,a,r,t){var i=ea();try{ke(e)(a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},ea:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},wa:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},jb:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Ca:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},ja:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Ia:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},Y:function(e,a,r,t,i,_,o,s,n,c,l,E){var d=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E)}catch(e){if(aa(d),e!==e+0)throw e;Qe(1,0)}},pb:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},pa:function(e,a,r,t,i,_,o){var s=ea();try{ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},j:function(e,a,r,t,i){var _=ea();try{ke(e)(a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},na:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},gb:function(e,a,r,t,i,_,o,s,n){var c=ea();try{ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},qb:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},ab:function(e,a,r,t,i,_,o,s,n,c,l){var E=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l)}catch(e){if(aa(E),e!==e+0)throw e;Qe(1,0)}},Ha:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},qa:function(e,a,r,t,i,_,o){var s=ea();try{ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},eb:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},mb:function(e,a,r,t,i,_,o,s,n){var c=ea();try{ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},k:function(e,a,r,t,i,_){var o=ea();try{ke(e)(a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},X:function(e,a,r,t,i,_,o){var s=ea();try{ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},kb:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},$:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},o:function(e,a,r,t,i,_,o){var s=ea();try{ke(e)(a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},y:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},oa:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},p:function(e,a,r,t,i,_,o,s){var n=ea();try{ke(e)(a,r,t,i,_,o,s)}catch(e){if(aa(n),e!==e+0)throw e;Qe(1,0)}},v:function(e,a,r,t,i,_,o,s,n,c,l,E,d){var h=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d)}catch(e){if(aa(h),e!==e+0)throw e;Qe(1,0)}},S:function(e,a,r,t,i,_,o,s,n,c){var l=ea();try{ke(e)(a,r,t,i,_,o,s,n,c)}catch(e){if(aa(l),e!==e+0)throw e;Qe(1,0)}},Z:function(e,a,r,t,i,_,o,s,n,c,l,E,d){var h=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d)}catch(e){if(aa(h),e!==e+0)throw e;Qe(1,0)}},C:function(e,a,r,t,i,_,o,s,n){var c=ea();try{ke(e)(a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},F:function(e,a,r,t,i,_,o,s,n,c){var l=ea();try{ke(e)(a,r,t,i,_,o,s,n,c)}catch(e){if(aa(l),e!==e+0)throw e;Qe(1,0)}},I:function(e,a,r,t,i,_,o,s,n,c,l){var E=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l)}catch(e){if(aa(E),e!==e+0)throw e;Qe(1,0)}},Da:function(e,a,r,t,i,_,o,s,n,c,l,E){var d=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E)}catch(e){if(aa(d),e!==e+0)throw e;Qe(1,0)}},K:function(e,a,r,t,i,_,o,s,n,c,l,E,d,h){var b=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d,h)}catch(e){if(aa(b),e!==e+0)throw e;Qe(1,0)}},E:function(e,a,r,t,i,_,o,s,n,c,l,E){var d=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E)}catch(e){if(aa(d),e!==e+0)throw e;Qe(1,0)}},J:function(e,a,r,t,i,_,o,s,n,c,l,E,d){var h=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d)}catch(e){if(aa(h),e!==e+0)throw e;Qe(1,0)}},Fa:function(e,a,r,t,i,_,o,s,n,c,l,E,d,h){var b=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d,h)}catch(e){if(aa(b),e!==e+0)throw e;Qe(1,0)}},db:function(e,a,r,t,i,_,o,s,n,c,l,E,d,h,b){var v=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d,h,b)}catch(e){if(aa(v),e!==e+0)throw e;Qe(1,0)}},la:function(e,a,r,t,i,_,o,s,n,c,l,E,d,h,b,v){var p=ea();try{ke(e)(a,r,t,i,_,o,s,n,c,l,E,d,h,b,v)}catch(e){if(aa(p),e!==e+0)throw e;Qe(1,0)}},Jb:function(e,a,r,t,i,_,o,s,n){var c=ea();try{wa(e,a,r,t,i,_,o,s,n)}catch(e){if(aa(c),e!==e+0)throw e;Qe(1,0)}},Yb:function(e,a,r,t,i,_){var o=ea();try{la(e,a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},_b:function(e,a,r,t,i){var _=ea();try{na(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Mb:function(e,a,r,t,i,_){var o=ea();try{ga(e,a,r,t,i,_)}catch(e){if(aa(o),e!==e+0)throw e;Qe(1,0)}},Vb:function(e,a,r,t,i,_,o){var s=ea();try{ca(e,a,r,t,i,_,o)}catch(e){if(aa(s),e!==e+0)throw e;Qe(1,0)}},Xb:function(e,a,r,t){var i=ea();try{Ea(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Ob:function(e,a,r,t,i){var _=ea();try{ba(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},Db:function(e,a,r,t){var i=ea();try{ja(e,a,r,t)}catch(e){if(aa(i),e!==e+0)throw e;Qe(1,0)}},Eb:function(e,a,r,t,i){var _=ea();try{ka(e,a,r,t,i)}catch(e){if(aa(_),e!==e+0)throw e;Qe(1,0)}},B:e=>e,ac:(e,a,r,t,i)=>((e,a,r,t)=>{var i=S[t+40>>2],_={tm_sec:g[t>>2],tm_min:g[t+4>>2],tm_hour:g[t+8>>2],tm_mday:g[t+12>>2],tm_mon:g[t+16>>2],tm_year:g[t+20>>2],tm_wday:g[t+24>>2],tm_yday:g[t+28>>2],tm_isdst:g[t+32>>2],tm_gmtoff:g[t+36>>2],tm_zone:i?de(i):""},o=de(r),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"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function E(e,a,r){for(var t="number"==typeof e?e.toString():e||"";t.length<a;)t=r[0]+t;return t}function d(e,a){return E(e,a,"0")}function h(e,a){function r(e){return e<0?-1:e>0?1:0}var t;return 0===(t=r(e.getFullYear()-a.getFullYear()))&&0===(t=r(e.getMonth()-a.getMonth()))&&(t=r(e.getDate()-a.getDate())),t}function b(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 v(e){var a=((e,a)=>{for(var r=new Date(e.getTime());a>0;){var t=pe(r.getFullYear()),i=r.getMonth(),_=(t?Ce:De)[i];if(!(a>_-r.getDate()))return r.setDate(r.getDate()+a),r;a-=_-r.getDate()+1,r.setDate(1),i<11?r.setMonth(i+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r})(new Date(e.tm_year+1900,0,1),e.tm_yday),r=new Date(a.getFullYear(),0,4),t=new Date(a.getFullYear()+1,0,4),i=b(r),_=b(t);return h(i,a)<=0?h(_,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=>l[e.tm_mon].substring(0,3),"%B":e=>l[e.tm_mon],"%C":e=>d((e.tm_year+1900)/100|0,2),"%d":e=>d(e.tm_mday,2),"%e":e=>E(e.tm_mday,2," "),"%g":e=>v(e).toString().substring(2),"%G":v,"%H":e=>d(e.tm_hour,2),"%I":e=>{var a=e.tm_hour;return 0==a?a=12:a>12&&(a-=12),d(a,2)},"%j":e=>d(e.tm_mday+((e,a)=>{for(var r=0,t=0;t<=a;r+=e[t++]);return r})(pe(e.tm_year+1900)?Ce:De,e.tm_mon-1),3),"%m":e=>d(e.tm_mon+1,2),"%M":e=>d(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>d(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U":e=>{var a=e.tm_yday+7-e.tm_wday;return d(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 r=(e.tm_wday+371-e.tm_yday)%7;4==r||3==r&&pe(e.tm_year)||(a=1)}}else{a=52;var t=(e.tm_wday+7-e.tm_yday-1)%7;(4==t||5==t&&pe(e.tm_year%400-1))&&a++}return d(a,2)},"%w":e=>e.tm_wday,"%W":e=>{var a=e.tm_yday+7-(e.tm_wday+6)%7;return d(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,r=a>=0;return a=(a=Math.abs(a)/60)/60*100+a%60,(r?"+":"-")+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 u=ie(o=o.replace(/\0\0/g,"%"),!1);return u.length>a?0:(Oe(u,e),u.length-1)})(e,a,r,t)},Xe=function(){var e={a:We};function a(e,a){var r;return Xe=e.exports,h=Xe.xc,R(),ze=Xe.Cc,r=Xe.yc,K.unshift(r),C(),Xe}if(T(),i.instantiateWasm)try{return i.instantiateWasm(e,a)}catch(e){v(`Module.instantiateWasm callback failed with error: ${e}`),t(e)}return a(function(e,a){var r,t=function(e){if(e==L&&d)return new Uint8Array(d);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 r=new WebAssembly.Module(t),[new WebAssembly.Instance(r,a),r]}(L,e)[0])}(),Ye=(Xe.yc,i._zappar_has_initialized=Xe.zc,i._zappar_invert=Xe.Ac,i._zappar_loaded=Xe.Bc,i._zappar_pipeline_create=Xe.Dc,i._zappar_pipeline_destroy=Xe.Ec,i._zappar_pipeline_camera_frame_submit=Xe.Fc,i._zappar_pipeline_camera_frame_submit_raw_pointer=Xe.Gc,i._zappar_pipeline_frame_update=Xe.Hc,i._zappar_pipeline_camera_frame_user_data=Xe.Ic,i._zappar_pipeline_camera_model=Xe.Jc,i._zappar_pipeline_frame_number=Xe.Kc,i._zappar_pipeline_camera_frame_data_raw_size=Xe.Lc,i._zappar_pipeline_camera_frame_data_raw_width=Xe.Mc,i._zappar_pipeline_camera_frame_data_raw_height=Xe.Nc,i._zappar_pipeline_camera_frame_data_raw=Xe.Oc,i._zappar_pipeline_motion_accelerometer_submit=Xe.Pc,i._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=Xe.Qc,i._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=Xe.Rc,i._zappar_pipeline_motion_rotation_rate_submit_int=Xe.Sc,i._zappar_pipeline_motion_attitude_submit_int=Xe.Tc,i._zappar_pipeline_motion_rotation_rate_submit=Xe.Uc,i._zappar_pipeline_motion_attitude_submit=Xe.Vc,i._zappar_pipeline_motion_attitude_matrix_submit=Xe.Wc,i._zappar_pipeline_camera_frame_user_facing=Xe.Xc,i._zappar_pipeline_camera_frame_texture_matrix=Xe.Yc,i._zappar_pipeline_camera_pose_with_attitude=Xe.Zc,i._zappar_pipeline_camera_pose_with_origin=Xe._c,i._zappar_pipeline_camera_frame_camera_attitude=Xe.$c,i._zappar_pipeline_camera_frame_device_attitude=Xe.ad,i._zappar_pipeline_camera_frame_texture_gl=Xe.bd,i._zappar_pipeline_camera_frame_upload_gl=Xe.cd,i._zappar_pipeline_sequence_record_start=Xe.dd,i._zappar_pipeline_sequence_record_stop=Xe.ed,i._zappar_pipeline_sequence_record_clear=Xe.fd,i._zappar_pipeline_sequence_record_device_attitude_matrices_set=Xe.gd,i._zappar_pipeline_sequence_record_data_size=Xe.hd,i._zappar_pipeline_sequence_record_data=Xe.id,i._zappar_pipeline_process_gl=Xe.jd,i._zappar_pipeline_camera_pose_default=Xe.kd,Xe.__cxa_free_exception,i._zappar_instant_world_tracker_create=Xe.ld,i._zappar_instant_world_tracker_destroy=Xe.md,i._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=Xe.nd,i._zappar_instant_world_tracker_anchor_pose_raw=Xe.od,i._zappar_instant_world_tracker_enabled_set=Xe.pd,i._zappar_instant_world_tracker_enabled=Xe.qd,i._zappar_image_tracker_create=Xe.rd,i._zappar_image_tracker_destroy=Xe.sd,i._zappar_image_tracker_target_load_from_memory=Xe.td,i.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=Xe.ud,i._free=Xe.vd),$e=(i._zappar_image_tracker_anchor_count=Xe.wd,i._zappar_image_tracker_anchor_id=Xe.xd,i._zappar_image_tracker_anchor_pose_raw=Xe.yd,i._zappar_image_tracker_enabled_set=Xe.zd,i._zappar_image_tracker_enabled=Xe.Ad,i._zappar_image_tracker_target_loaded_version=Xe.Bd,i.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=Xe.Cd,i.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=Xe.Dd,i.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=Xe.Ed,i.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=Xe.Fd,i.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=Xe.Gd,i.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=Xe.Hd,i.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=Xe.Id,i.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=Xe.Jd,i.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=Xe.Kd,i.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=Xe.Ld,i.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=Xe.Md,i.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=Xe.Nd,i.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=Xe.Od,i.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=Xe.Pd,i.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=Xe.Qd,i.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=Xe.Rd,i.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=Xe.Sd,i.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=Xe.Td,i.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=Xe.Ud,i.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=Xe.Vd,i.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=Xe.Wd,i._zappar_face_tracker_create=Xe.Xd,i._zappar_face_tracker_destroy=Xe.Yd,i._zappar_face_tracker_model_load_from_memory=Xe.Zd,i._zappar_face_tracker_anchor_count=Xe._d,i._zappar_face_tracker_anchor_id=Xe.$d,i._zappar_face_tracker_anchor_pose_raw=Xe.ae,i._zappar_face_tracker_anchor_identity_coefficients=Xe.be,i._zappar_face_tracker_anchor_expression_coefficients=Xe.ce,i._zappar_face_tracker_enabled_set=Xe.de,i._zappar_face_tracker_enabled=Xe.ee,i._zappar_face_tracker_max_faces_set=Xe.fe,i._zappar_face_tracker_max_faces=Xe.ge,i._zappar_face_tracker_model_loaded_version=Xe.he,i._zappar_face_landmark_create=Xe.ie,i._zappar_face_landmark_destroy=Xe.je,i.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=Xe.ke,i._zappar_face_landmark_anchor_pose=Xe.le,i._zappar_barcode_finder_create=Xe.me,i._zappar_barcode_finder_destroy=Xe.ne,i._zappar_barcode_finder_found_number=Xe.oe,i._zappar_barcode_finder_found_text=Xe.pe,i._zappar_barcode_finder_enabled_set=Xe.qe,i._zappar_barcode_finder_enabled=Xe.re,i._zappar_barcode_finder_found_format=Xe.se,i._zappar_barcode_finder_formats=Xe.te,i._zappar_barcode_finder_formats_set=Xe.ue,i._zappar_zapcode_tracker_create=Xe.ve,i._zappar_zapcode_tracker_destroy=Xe.we,i._zappar_zapcode_tracker_target_load_from_memory=Xe.xe,i.__Z44zappar_zapcode_tracker_target_load_from_fileP25zappar_zapcode_tracker_tiPKc=Xe.ye,i._zappar_zapcode_tracker_anchor_count=Xe.ze,i._zappar_zapcode_tracker_anchor_id=Xe.Ae,i._zappar_zapcode_tracker_anchor_pose_raw=Xe.Be,i._zappar_zapcode_tracker_enabled_set=Xe.Ce,i._zappar_zapcode_tracker_enabled=Xe.De,i._zappar_zapcode_tracker_target_loaded_version=Xe.Ee,i._malloc=Xe.Fe),Je=(i._zappar_face_mesh_create=Xe.Ge,i._zappar_face_mesh_destroy=Xe.He,i.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=Xe.Ie,i.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=Xe.Je,i.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=Xe.Ke,i.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=Xe.Le,i.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=Xe.Me,i.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=Xe.Ne,i.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=Xe.Oe,i.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=Xe.Pe,i.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=Xe.Qe,i.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=Xe.Re,i.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=Xe.Se,i._zappar_camera_source_create=Xe.Te,i._zappar_camera_source_destroy=Xe.Ue,i._zappar_camera_source_start=Xe.Ve,i._zappar_camera_source_pause=Xe.We,i._zappar_camera_default_device_id=Xe.Xe,i._zappar_sequence_source_create=Xe.Ye,i.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=Xe.Ze,i.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=Xe._e,i.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=Xe.$e,i._zappar_sequence_source_destroy=Xe.af,i._zappar_sequence_source_max_playback_fps_set=Xe.bf,i._zappar_log_level_set=Xe.cf,i._zappar_log_level=Xe.df,i.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=Xe.ef,i._zappar_world_tracker_create=Xe.ff,i._zappar_world_tracker_destroy=Xe.gf,i._zappar_world_tracker_world_anchor_valid=Xe.hf,i._zappar_world_tracker_plane_count=Xe.jf,i._zappar_world_tracker_plane_pose_raw=Xe.kf,i._zappar_world_tracker_world_anchor_pose_raw=Xe.lf,i._zappar_world_tracker_ground_anchor_valid=Xe.mf,i._zappar_world_tracker_ground_anchor_pose_raw=Xe.nf,i._zappar_world_tracker_reset=Xe.of,i._zappar_world_tracker_enabled_set=Xe.pf,i._zappar_world_tracker_quality=Xe.qf,i._zappar_world_tracker_enabled=Xe.rf,i._zappar_world_tracker_tracks_data_enabled=Xe.sf,i._zappar_world_tracker_projections_data_enabled=Xe.tf,i._zappar_world_tracker_tracks_data_enabled_set=Xe.uf,i._zappar_world_tracker_projections_data_enabled_set=Xe.vf,i._zappar_world_tracker_tracks_data=Xe.wf,i._zappar_world_tracker_tracks_data_size=Xe.xf,i._zappar_world_tracker_projections_data=Xe.yf,i._zappar_world_tracker_projections_data_size=Xe.zf,i._worker_message_send_count=Xe.Af,i._worker_message_send_clear=Xe.Bf,i._worker_message_send_data_size=Xe.Cf,i._worker_message_send_reference=Xe.Df,i._worker_message_send_data=Xe.Ef,i._worker_message_receive=Xe.Ff,i.__ZN5boost13serialization16singleton_module8get_lockEv=Xe.Gf,i._ceres_worker=Xe.Hf,i._data_download_clear=Xe.If,i._data_download_size=Xe.Jf,i._data_download=Xe.Kf,i._data_should_record_set=Xe.Lf,i._zappar_analytics_project_id_set=Xe.Mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem19InitializationInputEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Pf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Tf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Uf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam4Rot3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Vf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Wf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Xf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Yf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Zf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe._f,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.$f,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ag,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.bg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.cg,i.__ZN5boost13serialization18void_cast_registerIN5gtsam7Cal3_S2ENS2_4Cal3EEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.dg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam4Cal3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.eg,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.fg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem10ParametersEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.gg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem20InitializationResultEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ig,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem19InitializationInputEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.jg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.kg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.lg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.mg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ng,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.og,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.qg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.rg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.sg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.tg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ug,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.wg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.xg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.yg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.zg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ag,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Bg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Cg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem10ParametersEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Dg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Eg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem20InitializationResultEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Fg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Gg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ig,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive11VectorArrayIdLin1EEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Jg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Kg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiNS4_10shared_ptrIN10SLAMExport6SystemEEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Lg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiNS4_10shared_ptrIN10SLAMExport6SystemEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Mg,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN10SLAMExport6SystemEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ng,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN10SLAMExport6SystemEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Og,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN10SLAMExport6SystemEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Pg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Qg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Rg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Tg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ug,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vg,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Wg,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Xg,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Yg,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Zg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe._g,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.$g,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ah,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.bh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ch,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.dh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.eh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fh,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.gh,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.hh,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ih,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.jh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.kh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.lh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.mh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.nh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.oh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ph,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.qh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam4Rot3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.rh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26bitsetILm1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.sh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.th,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.uh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.vh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.wh,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.xh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.yh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.zh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ah,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Bh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ch,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Dh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Eh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Fh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26bitsetILm1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Gh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ih,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Jh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Kh,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Lh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Mh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Nh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Oh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ph,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Qh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Rh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam4Rot3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Th,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26bitsetILm1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Uh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Vh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Wh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Xh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Yh,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Zh,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe._h,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.$h,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ai,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.bi,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ci,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.di,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ei,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam4Rot3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.fi,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26bitsetILm1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.gi,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.hi,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ii,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ji,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ki,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchive12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.li,Xe.mi),Qe=(i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE9RecordingE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ni,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.oi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE11SensorEventE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.pi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveE11VectorArrayIdLin1EEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.qi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ri,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive9RecordingE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.si,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ti,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive11SensorEventE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ui,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchive11VectorArrayIdLin1EEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.vi,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.wi,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiNS4_10shared_ptrIN10SLAMExport6SystemEEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.xi,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiNS4_10shared_ptrIN10SLAMExport6SystemEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.yi,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN10SLAMExport6SystemEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.zi,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN10SLAMExport6SystemEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ai,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN10SLAMExport6SystemEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Bi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ci,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Di,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ei,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN10SLAMExport5FrameEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Fi,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMExport5FrameEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Gi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hi,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ii,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ji,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN10SLAMExport5FrameEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ki,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMExport5FrameEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Li,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Mi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ni,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Oi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKiN10SLAMExport5FrameEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Pi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN10SLAMExport5FrameEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Qi,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ri,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Si,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam4Cal3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ti,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Ui,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Wi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Xi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKiN10SLAMExport5FrameEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Yi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN10SLAMExport5FrameEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Zi,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe._i,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.$i,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.aj,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.bj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.cj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.dj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ej,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKiN10SLAMExport5FrameEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN10SLAMExport5FrameEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.gj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ij,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam4Cal3EE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.jj,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.kj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.lj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.mj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIiN10SLAMExport5FrameENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS7_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.nj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKiN10SLAMExport5FrameEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.oj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN10SLAMExport5FrameEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.qj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.rj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam4Cal3EE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.sj,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.tj,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam8NavStateEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.uj,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam8NavStateEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vj,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam8NavStateEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.wj,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam8NavStateEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.xj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam8NavStateEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.yj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam8NavStateEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.zj,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam6FactorEE11instantiateEv=Xe.Aj,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Bj,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Cj,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam6FactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Dj,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam6FactorEE11instantiateEv=Xe.Ej,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Fj,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Gj,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam6FactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Hj,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam6FactorEE11instantiateEv=Xe.Ij,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Jj,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Kj,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam6FactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Lj,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam6FactorEE11instantiateEv=Xe.Mj,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Nj,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Oj,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam6FactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Pj,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam6FactorEE11instantiateEv=Xe.Qj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam6FactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Rj,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIyNS4_9allocatorIyEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sj,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam6FactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Tj,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam6FactorEE11instantiateEv=Xe.Uj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam6FactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vj,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIyNS4_9allocatorIyEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Wj,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam6FactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Xj,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Xe.Yj,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Zj,i.__ZN5boost13serialization18void_cast_registerIN5gtsam14JacobianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe._j,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.$j,i.__ZN5boost13serialization18void_cast_registerIN5gtsam14GaussianFactorENS2_6FactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.ak,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.bk,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ck,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.dk,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ek,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fk,i.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel8DiagonalENS3_8GaussianEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.gk,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hk,i.__ZN5boost13serialization18void_cast_registerIN5gtsam10noiseModel8GaussianENS3_4BaseEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.ik,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.jk,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.kk,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.lk,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.mk,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.nk,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Xe.ok,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.qk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.rk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.sk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.tk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.uk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.wk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.xk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.yk,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.zk,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Ak,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Bk,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Xe.Ck,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Dk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ek,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Fk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Gk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Hk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ik,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Jk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Kk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam10noiseModel4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Lk,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Mk,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Nk,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Ok,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE11instantiateEv=Xe.Pk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Qk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Rk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Sk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Tk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Uk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Wk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Xk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Yk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Zk,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe._k,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.$k,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.al,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam14JacobianFactorEE11instantiateEv=Xe.bl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam14JacobianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.cl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam14GaussianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.dl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam19VerticalBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.el,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorIlNS4_9allocatorIlEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.gl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8DiagonalEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.il,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8GaussianEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.jl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam10noiseModel4BaseEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.kl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ll,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam10noiseModel8DiagonalEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.ml,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam14JacobianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.nl,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam14JacobianFactorEE11instantiateEv=Xe.ol,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam14JacobianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam14GaussianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ql,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam19VerticalBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.rl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.sl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorIlNS4_9allocatorIlEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.tl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam10noiseModel8DiagonalEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ul,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8DiagonalEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8GaussianEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.wl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam10noiseModel4BaseEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.xl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__28optionalIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.yl,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam10noiseModel8DiagonalEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.zl,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam14JacobianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Al,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam13HessianFactorEE11instantiateEv=Xe.Bl,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Cl,i.__ZN5boost13serialization18void_cast_registerIN5gtsam13HessianFactorENS2_14GaussianFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.Dl,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.El,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Fl,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=Xe.Gl,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hl,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Il,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Jl,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam13HessianFactorEE11instantiateEv=Xe.Kl,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ll,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ml,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Nl,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam13HessianFactorEE11instantiateEv=Xe.Ol,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Pl,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ql,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Rl,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam13HessianFactorEE11instantiateEv=Xe.Sl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam13HessianFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Tl,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam20SymmetricBlockMatrixEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ul,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam13HessianFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Vl,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam13HessianFactorEE11instantiateEv=Xe.Wl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam13HessianFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Xl,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam20SymmetricBlockMatrixEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Yl,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam13HessianFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Zl,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Xe._l,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.$l,i.__ZN5boost13serialization18void_cast_registerIN5gtsam21LinearContainerFactorENS2_15NonlinearFactorEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.am,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.bm,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.cm,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.dm,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.em,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fm,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.gm,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hm,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.im,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Xe.jm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.km,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.lm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.mm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.nm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.om,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.qm,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.rm,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.sm,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Xe.tm,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.um,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.vm,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.wm,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.xm,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.ym,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.zm,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Am,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Bm,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Cm,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE11instantiateEv=Xe.Dm,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Em,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Fm,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Gm,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hm,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Im,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Jm,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Km,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Lm,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Mm,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE11instantiateEv=Xe.Nm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Om,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam15NonlinearFactorEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Pm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Qm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__28optionalIN5gtsam6ValuesEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Rm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam6ValuesEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Tm,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Um,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Vm,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam21LinearContainerFactorEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Wm,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE11instantiateEv=Xe.Xm,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Ym,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam15NonlinearFactorEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Zm,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe._m,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__28optionalIN5gtsam6ValuesEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.$m,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam6ValuesEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.an,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__23mapIyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS8_EEEENS4_4lessIyEENS4_9allocatorINS4_4pairIKySB_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.bn,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__24pairIKyNS4_10unique_ptrIN5gtsam5ValueENS4_14default_deleteIS9_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.cn,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210unique_ptrIN5gtsam5ValueENS4_14default_deleteIS7_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.dn,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam21LinearContainerFactorEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.en,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.fn,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.gn,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.hn,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.jn,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.kn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.ln,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.mn,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.nn,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.on,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.pn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.qn,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.rn,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.sn,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.tn,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.un,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.vn,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.wn,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.xn,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.yn,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.zn,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.An,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Bn,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Cn,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Dn,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.En,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE11instantiateEv=Xe.Fn,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Gn,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam15NonlinearFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Hn,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__210shared_ptrIN5gtsam15NonlinearFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.In,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam11FactorGraphINS4_15NonlinearFactorEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Jn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe.Kn,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20NonlinearFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ln,i.__ZN5boost13serialization18void_cast_registerIN5gtsam20NonlinearFactorGraphENS2_11FactorGraphINS2_15NonlinearFactorEEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.Mn,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam20NonlinearFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Nn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe.On,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Pn,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam20NonlinearFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Qn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe.Rn,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam20NonlinearFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Sn,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam20NonlinearFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Tn,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe.Un,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vn,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam20NonlinearFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Wn,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe.Xn,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam20NonlinearFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Yn,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam20NonlinearFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Zn,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam20NonlinearFactorGraphEE11instantiateEv=Xe._n,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam20NonlinearFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.$n,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam20NonlinearFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.ao,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.bo,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam19GaussianFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.co,i.__ZN5boost13serialization18void_cast_registerIN5gtsam19GaussianFactorGraphENS2_11FactorGraphINS2_14GaussianFactorEEEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.eo,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fo,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.go,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam19GaussianFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.ho,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.io,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam19GaussianFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.jo,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.ko,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.lo,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam19GaussianFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.mo,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.no,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam19GaussianFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.oo,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.po,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.qo,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam19GaussianFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.ro,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.so,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam19GaussianFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.to,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.uo,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vo,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam19GaussianFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.wo,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.xo,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam19GaussianFactorGraphEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.yo,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.zo,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ao,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam19GaussianFactorGraphEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Bo,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam19GaussianFactorGraphEE11instantiateEv=Xe.Co,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam19GaussianFactorGraphEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Do,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam11FactorGraphINS4_14GaussianFactorEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Eo,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveNSt3__26vectorINS4_10shared_ptrIN5gtsam14GaussianFactorEEENS4_9allocatorIS9_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Fo,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam19GaussianFactorGraphEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Go,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.Ho,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Io,i.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.Jo,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5ValueEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ko,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.Lo,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.Mo,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.No,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Oo,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Po,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.Qo,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Ro,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam5ValueEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.So,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.To,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.Uo,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Vo,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.Wo,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.Xo,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.Yo,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.Zo,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam5ValueEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe._o,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.$o,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE11instantiateEv=Xe.ap,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.bp,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam5ValueEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.cp,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.dp,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_iarchiveEN5gtsam12GenericValueIdEEE11instantiateEv=Xe.ep,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIdEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.fp,i.__ZN5boost13serialization18void_cast_registerIN5gtsam12GenericValueIdEENS2_5ValueEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=Xe.gp,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam12GenericValueIdEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.hp,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_15binary_oarchiveEN5gtsam12GenericValueIdEEE11instantiateEv=Xe.ip,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIdEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.jp,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam12GenericValueIdEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.kp,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_iarchiveEN5gtsam12GenericValueIdEEE11instantiateEv=Xe.lp,i.__ZNK5boost7archive6detail11iserializerINS0_12xml_iarchiveEN5gtsam12GenericValueIdEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.mp,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_12xml_iarchiveEN5gtsam12GenericValueIdEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.np,i.__ZN5boost7archive6detail25ptr_serialization_supportINS0_12xml_oarchiveEN5gtsam12GenericValueIdEEE11instantiateEv=Xe.op,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIdEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.pp,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_12xml_oarchiveEN5gtsam12GenericValueIdEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.qp,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_iarchiveN5gtsam12GenericValueIdEEE11instantiateEv=Xe.rp,i.__ZNK5boost7archive6detail11iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIdEEE16load_object_dataERNS1_14basic_iarchiveEPvj=Xe.sp,i.__ZNK5boost7archive6detail19pointer_iserializerI24portable_binary_iarchiveN5gtsam12GenericValueIdEEE15load_object_ptrERNS1_14basic_iarchiveEPvj=Xe.tp,i.__ZN5boost7archive6detail25ptr_serialization_supportI24portable_binary_oarchiveN5gtsam12GenericValueIdEEE11instantiateEv=Xe.up,i.__ZNK5boost7archive6detail11oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIdEEE16save_object_dataERNS1_14basic_oarchiveEPKv=Xe.vp,i.__ZNK5boost7archive6detail19pointer_oserializerI24portable_binary_oarchiveN5gtsam12GenericValueIdEEE15save_object_ptrERNS1_14basic_oarchiveEPKv=Xe.wp,Xe.htons,Xe.ntohs,Xe.xp),ea=Xe.yp,aa=Xe.zp,ra=Xe.Ap,ta=Xe.Bp,ia=Xe.Cp,_a=Xe.Dp,oa=Xe.Ep,sa=i.dynCall_j=Xe.Fp,na=i.dynCall_viij=Xe.Gp,ca=i.dynCall_viijii=Xe.Hp,la=i.dynCall_viiij=Xe.Ip,Ea=i.dynCall_vij=Xe.Jp,da=i.dynCall_iij=Xe.Kp,ha=i.dynCall_iiji=Xe.Lp,ba=i.dynCall_viji=Xe.Mp,va=i.dynCall_iijj=Xe.Np,pa=i.dynCall_jiji=Xe.Op,ua=i.dynCall_jij=Xe.Pp,ma=i.dynCall_iiij=Xe.Qp,fa=i.dynCall_ji=Xe.Rp,Na=i.dynCall_iijjjjji=Xe.Sp,ga=i.dynCall_viiji=Xe.Tp,Sa=i.dynCall_diji=Xe.Up,ya=i.dynCall_iijii=Xe.Vp,wa=i.dynCall_viiiijii=Xe.Wp,Ia=i.dynCall_iiiiijii=Xe.Xp,za=i.dynCall_iijiii=Xe.Yp,Ra=i.dynCall_jiii=Xe.Zp,La=i.dynCall_jii=Xe._p,ka=i.dynCall_vjii=Xe.$p,ja=i.dynCall_vji=Xe.aq,xa=i.dynCall_iji=Xe.bq,Pa=i.dynCall_iiiij=Xe.cq,Ka=i.dynCall_jj=Xe.dq,Fa=i.dynCall_djj=Xe.eq,Aa=i.dynCall_iiiiij=Xe.fq,Za=i.dynCall_jiiii=Xe.gq;function Ma(){function e(){He||(He=!0,i.calledRun=!0,I||(i.noFSInit||Ee.init.initialized||Ee.init(),Ee.ignorePermissions=!1,oe.init(),G(K),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)e=i.postRun.shift(),F.unshift(e);var e;G(F)}()))}A>0||(function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)e=i.preRun.shift(),P.unshift(e);var e;G(P)}(),A>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e()))}if(i.___start_em_js=793252,i.___stop_em_js=794417,i.cwrap=(e,a,r,t)=>{var i=!r||r.every((e=>"number"===e||"boolean"===e));return"string"!==a&&i&&!t?Ge(e):function(){return((e,a,r,t,i)=>{var _={string:e=>{var a=0;return null!=e&&0!==e&&(a=(e=>{var a=re(e)+1,r=ra(a);return be(e,r,a),r})(e)),a},array:e=>{var a=ra(e.length);return Oe(e,a),a}},o=Ge(e),s=[],n=0;if(t)for(var c=0;c<t.length;c++){var l=_[r[c]];l?(0===n&&(n=ea()),s[c]=l(t[c])):s[c]=t[c]}return function(e){return 0!==n&&aa(n),function(e){return"string"===a?de(e):"boolean"===a?Boolean(e):e}(e)}(o.apply(null,s))})(e,a,r,arguments)}},i.setValue=function(e,a,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":u[e>>0]=a;break;case"i16":f[e>>1]=a;break;case"i32":g[e>>2]=a;break;case"i64":D("to do setValue(i64) use WASM_BIGINT");case"float":y[e>>2]=a;break;case"double":w[e>>3]=a;break;case"*":S[e>>2]=a;break;default:D(`invalid type for setValue: ${r}`)}},i.getValue=function(e,a="i8"){switch(a.endsWith("*")&&(a="*"),a){case"i1":case"i8":return u[e>>0];case"i16":return f[e>>1];case"i32":return g[e>>2];case"i64":D("to do getValue(i64) use WASM_BIGINT");case"float":return y[e>>2];case"double":return w[e>>3];case"*":return S[e>>2];default:D(`invalid type for getValue: ${a}`)}},i.UTF8ToString=de,M=function e(){He||Ma(),He||(M=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Ma(),a});const t=a;class i{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 a,r=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=r)return;if(!a){let e=r;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,a=new ArrayBuffer(e)}let t=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),t&&this._i32View.set(t.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},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++],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],r=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=a,e(r,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}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(),r=this._impl.pipeline_create();this._pipeline_by_instance.set(e,r),this._pipeline_id_by_pipeline_id.set(e,e),this.serializersByPipelineId.set(e,new i((a=>{this._sender(e,a)})));break}case 32:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_destroy(r),this._pipeline_by_instance.delete(e);break}case 9:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_frame_update(r);break}case 8:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_camera_frame_submit(r,a.dataWithLength(),a.int(),a.int(),a.int(),a.matrix4x4(),a.cameraModel(),a.bool());break}case 10:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_submit(r,a.timestamp(),a.float(),a.float(),a.float());break}case 12:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_with_gravity_submit_int(r,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 11:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_without_gravity_submit_int(r,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 15:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit(r,a.timestamp(),a.float(),a.float(),a.float());break}case 13:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit_int(r,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 16:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit(r,a.timestamp(),a.float(),a.float(),a.float());break}case 14:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit_int(r,a.timestamp(),a.timestamp(),a.float(),a.float(),a.float());break}case 17:{let e=a.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_matrix_submit(r,a.matrix4x4());break}case 33:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=a.string(),_=this._impl.camera_source_create(t,i);this._camera_source_by_instance.set(e,_),this._pipeline_id_by_camera_source_id.set(e,r);break}case 34:{let e=a.type(),r=this._camera_source_by_instance.get(e);if(void 0===r)return;this._impl.camera_source_destroy(r),this._camera_source_by_instance.delete(e);break}case 39:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.sequence_source_create(t);this._sequence_source_by_instance.set(e,i),this._pipeline_id_by_sequence_source_id.set(e,r);break}case 40:{let e=a.type(),r=this._sequence_source_by_instance.get(e);if(void 0===r)return;this._impl.sequence_source_destroy(r),this._sequence_source_by_instance.delete(e);break}case 2:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.image_tracker_create(t);this._image_tracker_by_instance.set(e,i),this._pipeline_id_by_image_tracker_id.set(e,r);break}case 18:{let e=a.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_destroy(r),this._image_tracker_by_instance.delete(e);break}case 4:{let e=a.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_target_load_from_memory(r,a.dataWithLength());break}case 3:{let e=a.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_enabled_set(r,a.bool());break}case 24:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.face_tracker_create(t);this._face_tracker_by_instance.set(e,i),this._pipeline_id_by_face_tracker_id.set(e,r);break}case 25:{let e=a.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_destroy(r),this._face_tracker_by_instance.delete(e);break}case 26:{let e=a.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_model_load_from_memory(r,a.dataWithLength());break}case 27:{let e=a.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_enabled_set(r,a.bool());break}case 28:{let e=a.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_max_faces_set(r,a.int());break}case 29:{let e=a.type(),r=this._impl.face_mesh_create();this._face_mesh_by_instance.set(e,r);break}case 30:{let e=a.type(),r=this._face_mesh_by_instance.get(e);if(void 0===r)return;this._impl.face_mesh_destroy(r),this._face_mesh_by_instance.delete(e);break}case 36:{let e=a.type(),r=a.faceLandmarkName(),t=this._impl.face_landmark_create(r);this._face_landmark_by_instance.set(e,t);break}case 37:{let e=a.type(),r=this._face_landmark_by_instance.get(e);if(void 0===r)return;this._impl.face_landmark_destroy(r),this._face_landmark_by_instance.delete(e);break}case 20:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.barcode_finder_create(t);this._barcode_finder_by_instance.set(e,i),this._pipeline_id_by_barcode_finder_id.set(e,r);break}case 21:{let e=a.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_destroy(r),this._barcode_finder_by_instance.delete(e);break}case 22:{let e=a.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_enabled_set(r,a.bool());break}case 23:{let e=a.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_formats_set(r,a.barcodeFormat());break}case 5:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.instant_world_tracker_create(t);this._instant_world_tracker_by_instance.set(e,i),this._pipeline_id_by_instant_world_tracker_id.set(e,r);break}case 19:{let e=a.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_destroy(r),this._instant_world_tracker_by_instance.delete(e);break}case 6:{let e=a.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_enabled_set(r,a.bool());break}case 7:{let e=a.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(r,a.float(),a.float(),a.float(),a.instantTrackerTransformOrientation());break}case 41:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.zapcode_tracker_create(t);this._zapcode_tracker_by_instance.set(e,i),this._pipeline_id_by_zapcode_tracker_id.set(e,r);break}case 44:{let e=a.type(),r=this._zapcode_tracker_by_instance.get(e);if(void 0===r)return;this._impl.zapcode_tracker_destroy(r),this._zapcode_tracker_by_instance.delete(e);break}case 43:{let e=a.type(),r=this._zapcode_tracker_by_instance.get(e);if(void 0===r)return;this._impl.zapcode_tracker_target_load_from_memory(r,a.dataWithLength());break}case 42:{let e=a.type(),r=this._zapcode_tracker_by_instance.get(e);if(void 0===r)return;this._impl.zapcode_tracker_enabled_set(r,a.bool());break}case 45:{let e=a.type(),r=a.type(),t=this._pipeline_by_instance.get(r),i=this._impl.world_tracker_create(t);this._world_tracker_by_instance.set(e,i),this._pipeline_id_by_world_tracker_id.set(e,r);break}case 46:{let e=a.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_destroy(r),this._world_tracker_by_instance.delete(e);break}case 47:{let e=a.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_enabled_set(r,a.bool());break}case 48:{let e=a.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_reset(r);break}case 49:{let e=a.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_tracks_data_enabled_set(r,a.bool());break}case 50:{let e=a.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_projections_data_enabled_set(r,a.bool());break}}}))}exploreState(){for(let[e,a]of this._pipeline_by_instance){let r=this._pipeline_id_by_pipeline_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);t&&(t.sendMessage(7,(r=>{r.type(e),r.int(this._impl.pipeline_frame_number(a))})),t.sendMessage(6,(r=>{r.type(e),r.cameraModel(this._impl.pipeline_camera_model(a))})),t.sendMessage(5,(r=>{r.type(e),r.int(this._impl.pipeline_camera_frame_user_data(a))})),t.sendMessage(11,(r=>{r.type(e),r.matrix4x4(this._impl.pipeline_camera_frame_camera_attitude(a))})),t.sendMessage(12,(r=>{r.type(e),r.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 r=this._pipeline_id_by_image_tracker_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);if(t){t.sendMessage(19,(r=>{r.type(e),r.int(this._impl.image_tracker_target_loaded_version(a))})),t.sendMessage(1,(r=>{r.type(e),r.int(this._impl.image_tracker_anchor_count(a))}));for(let r=0;r<this._impl.image_tracker_anchor_count(a);r++)t.sendMessage(2,(t=>{t.type(e),t.int(r),t.string(this._impl.image_tracker_anchor_id(a,r))}));for(let r=0;r<this._impl.image_tracker_anchor_count(a);r++)t.sendMessage(3,(t=>{t.type(e),t.int(r),t.matrix4x4(this._impl.image_tracker_anchor_pose_raw(a,r))}))}}for(let[e,a]of this._face_tracker_by_instance){let r=this._pipeline_id_by_face_tracker_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);if(t){t.sendMessage(18,(r=>{r.type(e),r.int(this._impl.face_tracker_model_loaded_version(a))})),t.sendMessage(13,(r=>{r.type(e),r.int(this._impl.face_tracker_anchor_count(a))}));for(let r=0;r<this._impl.face_tracker_anchor_count(a);r++)t.sendMessage(14,(t=>{t.type(e),t.int(r),t.string(this._impl.face_tracker_anchor_id(a,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(a);r++)t.sendMessage(15,(t=>{t.type(e),t.int(r),t.matrix4x4(this._impl.face_tracker_anchor_pose_raw(a,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(a);r++)t.sendMessage(16,(t=>{t.type(e),t.int(r),t.identityCoefficients(this._impl.face_tracker_anchor_identity_coefficients(a,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(a);r++)t.sendMessage(17,(t=>{t.type(e),t.int(r),t.expressionCoefficients(this._impl.face_tracker_anchor_expression_coefficients(a,r))}))}}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 r=this._pipeline_id_by_barcode_finder_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);if(t){t.sendMessage(8,(r=>{r.type(e),r.int(this._impl.barcode_finder_found_number(a))}));for(let r=0;r<this._impl.barcode_finder_found_number(a);r++)t.sendMessage(9,(t=>{t.type(e),t.int(r),t.string(this._impl.barcode_finder_found_text(a,r))}));for(let r=0;r<this._impl.barcode_finder_found_number(a);r++)t.sendMessage(10,(t=>{t.type(e),t.int(r),t.barcodeFormat(this._impl.barcode_finder_found_format(a,r))}))}}for(let[e,a]of this._instant_world_tracker_by_instance){let r=this._pipeline_id_by_instant_world_tracker_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);t&&t.sendMessage(4,(r=>{r.type(e),r.matrix4x4(this._impl.instant_world_tracker_anchor_pose_raw(a))}))}for(let[e,a]of this._zapcode_tracker_by_instance){let r=this._pipeline_id_by_zapcode_tracker_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);if(t){t.sendMessage(24,(r=>{r.type(e),r.int(this._impl.zapcode_tracker_target_loaded_version(a))})),t.sendMessage(21,(r=>{r.type(e),r.int(this._impl.zapcode_tracker_anchor_count(a))}));for(let r=0;r<this._impl.zapcode_tracker_anchor_count(a);r++)t.sendMessage(22,(t=>{t.type(e),t.int(r),t.string(this._impl.zapcode_tracker_anchor_id(a,r))}));for(let r=0;r<this._impl.zapcode_tracker_anchor_count(a);r++)t.sendMessage(23,(t=>{t.type(e),t.int(r),t.matrix4x4(this._impl.zapcode_tracker_anchor_pose_raw(a,r))}))}}for(let[e,a]of this._world_tracker_by_instance){let r=this._pipeline_id_by_world_tracker_id.get(e);if(!r)continue;let t=this.serializersByPipelineId.get(r);if(t){t.sendMessage(31,(r=>{r.type(e),r.int(this._impl.world_tracker_quality(a))})),t.sendMessage(25,(r=>{r.type(e),r.int(this._impl.world_tracker_plane_count(a))}));for(let r=0;r<this._impl.world_tracker_plane_count(a);r++)t.sendMessage(26,(t=>{t.type(e),t.int(r),t.matrix4x4(this._impl.world_tracker_plane_pose_raw(a,r))}));t.sendMessage(27,(r=>{r.type(e),r.bool(this._impl.world_tracker_world_anchor_valid(a))})),t.sendMessage(28,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_world_anchor_pose_raw(a))})),t.sendMessage(27,(r=>{r.type(e),r.bool(this._impl.world_tracker_ground_anchor_valid(a))})),t.sendMessage(30,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_ground_anchor_pose_raw(a))})),t.sendMessage(34,(r=>{r.type(e),r.int(this._impl.world_tracker_tracks_data_size(a))})),t.sendMessage(33,(r=>{r.type(e),r.floatArray(this._impl.world_tracker_tracks_data(a))})),t.sendMessage(37,(r=>{r.type(e),r.int(this._impl.world_tracker_projections_data_size(a))})),t.sendMessage(36,(r=>{r.type(e),r.floatArray(this._impl.world_tracker_projections_data(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,r=this._funcs.length;a<r;a++)this._funcs[a](e)}}var c,l,E,d,h,b,v,p,u="undefined"!=typeof Float32Array?Float32Array:Array;function m(){var e=new u(16);return u!=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"}(l||(l={})),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"}(E||(E={})),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"}(b||(b={})),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"}(v||(v={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HIGH=1]="HIGH"}(p||(p={}));const N=new Map;class g{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,r,t)=>{this._viewports[this._viewports.length-1]=[e,a,r,t],this._underlyingViewport.call(this._gl,e,a,r,t)}}static get(e){let a=N.get(e);return a||(a=new g(e),N.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 S,y=r(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(S||(S={}));let w={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=w,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),w.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),w.preferImageBitmapCamera=!0));let I=new y.UAParser,z=(I.getOS().name||"unknown").toLowerCase(),R=(I.getEngine().name||"unknown").toLowerCase();function L(e){w.forceWindowOrientation=!0,w.preferMediaStreamTrackProcessorCamera=!1,w.intervalMultiplier=1e3,w.trustSensorIntervals=!0;let a=e.split(".");if(a.length>=2){const e=parseInt(a[0]),r=parseInt(a[1]);(e<11||11===e&&r<3)&&(w.blacklisted=!0),(e<12||12===e&&r<2)&&(w.videoElementInDOM=!0),(12===e&&r>=2||e>=13)&&(w.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(w.showSafariPermissionsResetIfNecessary=!0),(e>=12&&r>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(w.requestHighFrameRate=!0,e<14&&(w.videoHeight=360,w.getDataSize=e=>e===p.HIGH?[640,360]:[320,180])),16===e&&r>=4&&(w.ios164CameraSelection=!0),e>=17&&(w.relyOnConstraintsForCameraSelection=!0)}}function k(e,a,r){let t=e.createShader(a);if(!t)throw new Error("Unable to create shader");e.shaderSource(t,r),e.compileShader(t);let i=e.getShaderInfoLog(t);if(i&&i.trim().length>0)throw new Error("Shader compile error: "+i);return t}"webkit"===R&&"ios"!==z&&(w.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&L("15.0")),"webkit"===R&&"ios"===z&&(w.deviceMotionMutliplier=1,L(I.getOS().version||"15.0"));class j{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,a,r,t,i){let _=this._gl;const o=g.get(_);o.push();const s=_.isEnabled(_.SCISSOR_TEST),n=_.isEnabled(_.DEPTH_TEST),c=_.isEnabled(_.BLEND),l=_.isEnabled(_.CULL_FACE),E=_.isEnabled(_.STENCIL_TEST),d=_.getParameter(_.ACTIVE_TEXTURE),h=_.getParameter(_.UNPACK_FLIP_Y_WEBGL),b=_.getParameter(_.CURRENT_PROGRAM);_.activeTexture(_.TEXTURE0);const v=_.getParameter(_.TEXTURE_BINDING_2D),p=_.getParameter(_.FRAMEBUFFER_BINDING),u=_.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 f=_.RGBA,N=_.RGBA,S=_.UNSIGNED_BYTE;_.texImage2D(_.TEXTURE_2D,0,f,N,S,a);let y=0,I=0;"undefined"!=typeof HTMLVideoElement&&a instanceof HTMLVideoElement?(y=a.videoWidth,I=a.videoHeight):(y=a.width,I=a.height),I>y&&(I=[y,y=I][0]),this._updateTransforms(r,t);const[z,R]=w.getDataSize(i);let L=this._getFramebuffer(_,z/4,R),k=this._getVertexBuffer(_),j=this._getIndexBuffer(_),x=this._getGreyscaleShader(_);const P=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),K=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),F=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),A=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),Z=_.getVertexAttribOffset(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),M=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED),T=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),C=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_SIZE),D=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_TYPE),O=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_NORMALIZED),G=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_STRIDE),V=_.getVertexAttribOffset(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_POINTER),B=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),U=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_ENABLED);let q=0,H=0;this._isWebGL2?(q=_.getVertexAttrib(x.aVertexPositionLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),H=_.getVertexAttrib(x.aTextureCoordLoc,_.VERTEX_ATTRIB_ARRAY_DIVISOR),_.vertexAttribDivisor(x.aVertexPositionLoc,0),_.vertexAttribDivisor(x.aTextureCoordLoc,0)):this._instancedArraysExtension&&(q=_.getVertexAttrib(x.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),H=_.getVertexAttrib(x.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aTextureCoordLoc,0)),_.bindFramebuffer(_.FRAMEBUFFER,L),_.viewport(0,0,this._framebufferWidth,this._framebufferHeight),_.clear(_.COLOR_BUFFER_BIT),_.bindBuffer(_.ARRAY_BUFFER,k),_.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,j),_.useProgram(x.program),_.uniform1f(x.uTexWidthLoc,z),_.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,T),_.vertexAttribPointer(x.aVertexPositionLoc,P,K,F,A,Z),_.bindBuffer(_.ARRAY_BUFFER,B),_.vertexAttribPointer(x.aTextureCoordLoc,C,D,O,G,V),_.bindBuffer(_.ARRAY_BUFFER,u),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,m),M||_.disableVertexAttribArray(x.aVertexPositionLoc),U||_.disableVertexAttribArray(x.aTextureCoordLoc),this._isWebGL2?(_.vertexAttribDivisor(x.aVertexPositionLoc,q),_.vertexAttribDivisor(x.aTextureCoordLoc,H)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aVertexPositionLoc,q),this._instancedArraysExtension.vertexAttribDivisorANGLE(x.aTextureCoordLoc,H)),_.bindFramebuffer(_.FRAMEBUFFER,p),_.useProgram(b),_.bindTexture(_.TEXTURE_2D,v),_.activeTexture(d),_.pixelStorei(_.UNPACK_FLIP_Y_WEBGL,h),o.pop(),c&&_.enable(_.BLEND),l&&_.enable(_.CULL_FACE),n&&_.enable(_.DEPTH_TEST),s&&_.enable(_.SCISSOR_TEST),E&&_.enable(_.STENCIL_TEST)}readFrame(e,a,r){let t=this._gl,i=new Uint8Array(a);const _=t.getParameter(t.FRAMEBUFFER_BINDING),[o,s]=w.getDataSize(r);let n=this._getFramebuffer(t,o/4,s);return t.bindFramebuffer(t.FRAMEBUFFER,n),t.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,t.RGBA,t.UNSIGNED_BYTE,i),t.bindFramebuffer(t.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,r){if(this._framebufferWidth===a&&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 t=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,a,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 i=e.checkFramebufferStatus(e.FRAMEBUFFER);if(i!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+i.toString());return this._framebufferWidth=a,this._framebufferHeight=r,e.bindTexture(e.TEXTURE_2D,t),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 r=k(e,e.VERTEX_SHADER,A),t=k(e,e.FRAGMENT_SHADER,Z);e.attachShader(a,r),e.attachShader(a,t),function(e,a){e.linkProgram(a);let r=e.getProgramInfoLog(a);if(r&&r.trim().length>0)throw new Error("Unable to link: "+r)}(e,a);let i=e.getUniformLocation(a,"uTexWidth");if(!i)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:i,uUvTransformLoc:_,uSamplerLoc:o},this._greyscaleShader}}let x,P,K,F,A="\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",Z="\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,a,r,t){return new(r||(r=Promise))((function(i,_){function o(e){try{n(t.next(e))}catch(e){_(e)}}function s(e){try{n(t.throw(e))}catch(e){_(e)}}function n(e){var a;e.done?i(e.value):(a=e.value,a instanceof r?a:new r((function(e){e(a)}))).then(o,s)}n((t=t.apply(e,a||[])).next())}))};let T,C=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}},D=0,O=!1;const G=new Map,V=new Map;function B(e,a,r){return M(this,void 0,void 0,(function*(){let i=t({locateFile:(a,r)=>a.endsWith("zappar-cv.wasm")?e:r+a,instantiateWasm:(e,r)=>{const t=new WebAssembly.Instance(a,e);return r(t),t.exports},onRuntimeInitialized:()=>{let e=function(e){let a=e.cwrap("zappar_log_level","number",[]),r=e.cwrap("zappar_log_level_set",null,["number"]),t=e.cwrap("zappar_analytics_project_id_set",null,["string","string"]),i=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"]),l=e.cwrap("zappar_pipeline_frame_update",null,["number"]),E=e.cwrap("zappar_pipeline_frame_number","number",["number"]),d=e.cwrap("zappar_pipeline_camera_model","number",["number"]),h=e.cwrap("zappar_pipeline_camera_frame_user_data","number",["number"]),b=e.cwrap("zappar_pipeline_camera_frame_submit",null,["number","number","number","number","number","number","number","number","number"]),v=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"]),u=e.cwrap("zappar_pipeline_camera_frame_device_attitude","number",["number"]),m=e.cwrap("zappar_pipeline_motion_accelerometer_submit",null,["number","number","number","number","number"]),f=e.cwrap("zappar_pipeline_motion_accelerometer_with_gravity_submit_int",null,["number","number","number","number","number","number"]),N=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"]),S=e.cwrap("zappar_pipeline_motion_rotation_rate_submit_int",null,["number","number","number","number","number","number"]),y=e.cwrap("zappar_pipeline_motion_attitude_submit",null,["number","number","number","number","number"]),w=e.cwrap("zappar_pipeline_motion_attitude_submit_int",null,["number","number","number","number","number","number"]),I=e.cwrap("zappar_pipeline_motion_attitude_matrix_submit",null,["number","number"]),z=e.cwrap("zappar_camera_source_create","number",["number","string"]),R=e.cwrap("zappar_camera_source_destroy",null,["number"]),L=e.cwrap("zappar_sequence_source_create","number",["number"]),k=e.cwrap("zappar_sequence_source_destroy",null,["number"]),j=e.cwrap("zappar_image_tracker_create","number",["number"]),x=e.cwrap("zappar_image_tracker_destroy",null,["number"]),P=e.cwrap("zappar_image_tracker_target_load_from_memory",null,["number","number","number"]),K=e.cwrap("zappar_image_tracker_target_loaded_version","number",["number"]),F=e.cwrap("zappar_image_tracker_enabled","number",["number"]),A=e.cwrap("zappar_image_tracker_enabled_set",null,["number","number"]),Z=e.cwrap("zappar_image_tracker_anchor_count","number",["number"]),M=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"]),D=e.cwrap("zappar_face_tracker_destroy",null,["number"]),O=e.cwrap("zappar_face_tracker_model_load_from_memory",null,["number","number","number"]),G=e.cwrap("zappar_face_tracker_model_loaded_version","number",["number"]),V=e.cwrap("zappar_face_tracker_enabled_set",null,["number","number"]),B=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"]),$=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"]),ae=e.cwrap("zappar_face_landmark_destroy",null,["number"]),re=e.cwrap("zappar_barcode_finder_create","number",["number"]),te=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"]),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"]),le=e.cwrap("zappar_barcode_finder_formats_set",null,["number","number"]),Ee=e.cwrap("zappar_instant_world_tracker_create","number",["number"]),de=e.cwrap("zappar_instant_world_tracker_destroy",null,["number"]),he=e.cwrap("zappar_instant_world_tracker_enabled_set",null,["number","number"]),be=e.cwrap("zappar_instant_world_tracker_enabled","number",["number"]),ve=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"]),ue=e.cwrap("zappar_zapcode_tracker_create","number",["number"]),me=e.cwrap("zappar_zapcode_tracker_destroy",null,["number"]),fe=e.cwrap("zappar_zapcode_tracker_target_load_from_memory",null,["number","number","number"]),Ne=e.cwrap("zappar_zapcode_tracker_target_loaded_version","number",["number"]),ge=e.cwrap("zappar_zapcode_tracker_enabled","number",["number"]),Se=e.cwrap("zappar_zapcode_tracker_enabled_set",null,["number","number"]),ye=e.cwrap("zappar_zapcode_tracker_anchor_count","number",["number"]),we=e.cwrap("zappar_zapcode_tracker_anchor_id","string",["number","number"]),Ie=e.cwrap("zappar_zapcode_tracker_anchor_pose_raw","number",["number","number"]),ze=e.cwrap("zappar_world_tracker_create","number",["number"]),Re=e.cwrap("zappar_world_tracker_destroy",null,["number"]),Le=e.cwrap("zappar_world_tracker_enabled","number",["number"]),ke=e.cwrap("zappar_world_tracker_enabled_set",null,["number","number"]),je=e.cwrap("zappar_world_tracker_quality","number",["number"]),xe=e.cwrap("zappar_world_tracker_plane_count","number",["number"]),Pe=e.cwrap("zappar_world_tracker_plane_pose_raw","number",["number","number"]),Ke=e.cwrap("zappar_world_tracker_world_anchor_valid","number",["number"]),Fe=e.cwrap("zappar_world_tracker_world_anchor_pose_raw","number",["number"]),Ae=e.cwrap("zappar_world_tracker_ground_anchor_valid","number",["number"]),Ze=e.cwrap("zappar_world_tracker_ground_anchor_pose_raw","number",["number"]),Me=e.cwrap("zappar_world_tracker_reset",null,["number"]),Te=e.cwrap("zappar_world_tracker_tracks_data_enabled","number",["number"]),Ce=e.cwrap("zappar_world_tracker_tracks_data_enabled_set",null,["number","number"]),De=e.cwrap("zappar_world_tracker_tracks_data_size","number",["number"]),Oe=e.cwrap("zappar_world_tracker_tracks_data","number",["number"]),Ge=e.cwrap("zappar_world_tracker_projections_data_enabled","number",["number"]),Ve=e.cwrap("zappar_world_tracker_projections_data_enabled_set",null,["number","number"]),Be=e.cwrap("zappar_world_tracker_projections_data_size","number",["number"]),Ue=e.cwrap("zappar_world_tracker_projections_data","number",["number"]),qe=32,He=e._malloc(qe),We=(e._malloc(64),new Map),Xe=(a,r)=>{let t=We.get(a);return(!t||t[0]<r)&&(t&&e._free(t[1]),t=[r,e._malloc(r)],We.set(a,t)),t[1]};return{log_level:()=>a(),log_level_set:e=>r(e),analytics_project_id_set:(e,a)=>t(e,a),pipeline_create:()=>i(),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=>l(e),pipeline_frame_number:e=>E(e),pipeline_camera_model:a=>{let r=d(a),t=new Float32Array(6);return t.set(e.HEAPF32.subarray(r/4,6+r/4)),r=t,r},pipeline_camera_frame_user_data:e=>h(e),pipeline_camera_frame_submit:(a,r,t,i,_,o,s,n)=>{qe<r.byteLength&&(e._free(He),qe=r.byteLength,He=e._malloc(qe));let c=He,l=r.byteLength;e.HEAPU8.set(new Uint8Array(r),He);let E=t,d=i,h=_,v=Xe(4,o.byteLength);e.HEAPF32.set(o,v/4);let p=Xe(5,s.byteLength);return e.HEAPF32.set(s,p/4),b(a,c,l,E,d,h,v,p,n?1:0)},pipeline_camera_frame_submit_raw_pointer:(a,r,t,i,_,o,s,n,c,l,E,d,h)=>{let b=r,p=t,u=i,m=_,f=o,N=s,g=Xe(6,n.byteLength);e.HEAPF32.set(n,g/4);let S=c,y=Xe(8,l.byteLength);return e.HEAPF32.set(l,y/4),v(a,b,p,u,m,f,N,g,S,y,E?1:0,d,h?1:0)},pipeline_camera_frame_camera_attitude:a=>{let r=p(a),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},pipeline_camera_frame_device_attitude:a=>{let r=u(a),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},pipeline_motion_accelerometer_submit:(e,a,r,t,i)=>m(e,a,r,t,i),pipeline_motion_accelerometer_with_gravity_submit_int:(e,a,r,t,i,_)=>f(e,a,r,t,i,_),pipeline_motion_accelerometer_without_gravity_submit_int:(e,a,r,t,i,_)=>N(e,a,r,t,i,_),pipeline_motion_rotation_rate_submit:(e,a,r,t,i)=>g(e,a,r,t,i),pipeline_motion_rotation_rate_submit_int:(e,a,r,t,i,_)=>S(e,a,r,t,i,_),pipeline_motion_attitude_submit:(e,a,r,t,i)=>y(e,a,r,t,i),pipeline_motion_attitude_submit_int:(e,a,r,t,i,_)=>w(e,a,r,t,i,_),pipeline_motion_attitude_matrix_submit:(a,r)=>{let t=Xe(0,r.byteLength);return e.HEAPF32.set(r,t/4),I(a,t)},camera_source_create:(e,a)=>z(e,a),camera_source_destroy:()=>{R()},sequence_source_create:e=>L(e),sequence_source_destroy:()=>{k()},image_tracker_create:e=>j(e),image_tracker_destroy:()=>{x()},image_tracker_target_load_from_memory:(a,r)=>{qe<r.byteLength&&(e._free(He),qe=r.byteLength,He=e._malloc(qe));let t=He,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),He),P(a,t,i)},image_tracker_target_loaded_version:e=>K(e),image_tracker_enabled:e=>{let a=F(e);return a=1===a,a},image_tracker_enabled_set:(e,a)=>A(e,a?1:0),image_tracker_anchor_count:e=>Z(e),image_tracker_anchor_id:(e,a)=>M(e,a),image_tracker_anchor_pose_raw:(a,r)=>{let t=T(a,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(t/4,16+t/4)),t=i,t},face_tracker_create:e=>C(e),face_tracker_destroy:()=>{D()},face_tracker_model_load_from_memory:(a,r)=>{qe<r.byteLength&&(e._free(He),qe=r.byteLength,He=e._malloc(qe));let t=He,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),He),O(a,t,i)},face_tracker_model_loaded_version:e=>G(e),face_tracker_enabled_set:(e,a)=>V(e,a?1:0),face_tracker_enabled:e=>{let a=B(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,r)=>{let t=X(a,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(t/4,16+t/4)),t=i,t},face_tracker_anchor_identity_coefficients:(a,r)=>{let t=Y(a,r),i=new Float32Array(50);return i.set(e.HEAPF32.subarray(t/4,50+t/4)),t=i,t},face_tracker_anchor_expression_coefficients:(a,r)=>{let t=$(a,r),i=new Float32Array(29);return i.set(e.HEAPF32.subarray(t/4,29+t/4)),t=i,t},face_mesh_create:()=>J(),face_mesh_destroy:()=>{Q()},face_landmark_create:e=>ee(e),face_landmark_destroy:()=>{ae()},barcode_finder_create:e=>re(e),barcode_finder_destroy:()=>{te()},barcode_finder_enabled_set:(e,a)=>ie(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)=>le(e,a),instant_world_tracker_create:e=>Ee(e),instant_world_tracker_destroy:()=>{de()},instant_world_tracker_enabled_set:(e,a)=>he(e,a?1:0),instant_world_tracker_enabled:e=>{let a=be(e);return a=1===a,a},instant_world_tracker_anchor_pose_raw:a=>{let r=ve(a),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,a,r,t,i)=>pe(e,a,r,t,i),zapcode_tracker_create:e=>ue(e),zapcode_tracker_destroy:()=>{me()},zapcode_tracker_target_load_from_memory:(a,r)=>{qe<r.byteLength&&(e._free(He),qe=r.byteLength,He=e._malloc(qe));let t=He,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),He),fe(a,t,i)},zapcode_tracker_target_loaded_version:e=>Ne(e),zapcode_tracker_enabled:e=>{let a=ge(e);return a=1===a,a},zapcode_tracker_enabled_set:(e,a)=>Se(e,a?1:0),zapcode_tracker_anchor_count:e=>ye(e),zapcode_tracker_anchor_id:(e,a)=>we(e,a),zapcode_tracker_anchor_pose_raw:(a,r)=>{let t=Ie(a,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(t/4,16+t/4)),t=i,t},world_tracker_create:e=>ze(e),world_tracker_destroy:()=>{Re()},world_tracker_enabled:e=>{let a=Le(e);return a=1===a,a},world_tracker_enabled_set:(e,a)=>ke(e,a?1:0),world_tracker_quality:e=>je(e),world_tracker_plane_count:e=>xe(e),world_tracker_plane_pose_raw:(a,r)=>{let t=Pe(a,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(t/4,16+t/4)),t=i,t},world_tracker_world_anchor_valid:e=>{let a=Ke(e);return a=1===a,a},world_tracker_world_anchor_pose_raw:a=>{let r=Fe(a),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},world_tracker_ground_anchor_valid:e=>{let a=Ae(e);return a=1===a,a},world_tracker_ground_anchor_pose_raw:a=>{let r=Ze(a),t=new Float32Array(16);return t.set(e.HEAPF32.subarray(r/4,16+r/4)),r=t,r},world_tracker_reset:e=>Me(e),world_tracker_tracks_data_enabled:e=>{let a=Te(e);return a=1===a,a},world_tracker_tracks_data_enabled_set:(e,a)=>Ce(e,a?1:0),world_tracker_tracks_data_size:e=>De(e),world_tracker_tracks_data:a=>{let r=Oe(a),t=De(a),i=new Float32Array(t);return i.set(e.HEAPF32.subarray(r/4,t+r/4)),r=i,r},world_tracker_projections_data_enabled:e=>{let a=Ge(e);return a=1===a,a},world_tracker_projections_data_enabled_set:(e,a)=>Ve(e,a?1:0),world_tracker_projections_data_size:e=>Be(e),world_tracker_projections_data:a=>{let r=Ue(a),t=Be(a),i=new Float32Array(t);return i.set(e.HEAPF32.subarray(r/4,t+r/4)),r=i,r}}}(i);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"])}}(i),t=r>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"])}}(i):void 0;null==t||t.data_should_record_set(r);let _=new o(e,((e,a)=>{C.postOutgoingMessage({p:e,t:"zappar",d:a},[a])}));C.postOutgoingMessage("loaded",[]),C.onIncomingMessage.bind((r=>{var o,s,n;switch(r.t){case"zappar":_.processBuffer(r.d),C.postOutgoingMessage({t:"buf",d:r.d},[r.d]);break;case"buf":null===(o=_.serializersByPipelineId.get(r.p))||void 0===o||o.bufferReturn(r.d);break;case"cameraFrameC2S":{let o,s=r,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),e.pipeline_frame_update(n),o=e.pipeline_camera_frame_device_attitude(n),_.exploreState(),ee(i,a),t&&ae(i,t));let c={token:s.token,d:s.d,p:s.p,t:"cameraFrameRecycleS2C",att:o};C.postOutgoingMessage(c,[s.d]);break}case"rawenabled":O=r.v;break;case"rawrequest":{const e=r,a=G.get(e.p),t={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};C.postOutgoingMessage(t,[]);break}case"cameraProfileC2S":{let e=r;V.set(e.source,e.p);break}case"streamC2S":{let o=r;(function(e,a,r,t,i,_,o,s,n){return M(this,void 0,void 0,(function*(){for(;;){let c;try{c=yield r.getReader()}catch(e){yield J(1e3);continue}try{return void(yield $(e,a,c,t,i,_,o,s,n))}catch(e){}return void(yield J(1e3))}}))})(i,e,o.s,o.p,o.userFacing,_,o.source,a,t).then((()=>{let e={t:"streamEndedS2C",p:o.p,source:o.source};C.postOutgoingMessage(e,[])})).catch((e=>{}));break}case"cameraToScreenC2S":D=r.r;break;case"imageBitmapC2S":!function(e,a,r,t){const[i,_]=function(){if(!K||!F){const e=new OffscreenCanvas(1,1);if(F=e.getContext("webgl"),!F)throw new Error("Unable to get offscreen GL context");K=new j(F)}return[K,F]}();if(P||(P=_.createTexture(),_.bindTexture(_.TEXTURE_2D,P),_.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)),!P)return;const[o,s]=w.getDataSize(e.cp);(!x||x.byteLength<o*s)&&(x=new ArrayBuffer(o*s)),i.uploadFrame(P,e.i,e.r,e.userFacing,e.cp);let n=i.readFrame(P,x,e.cp),c={t:"imageBitmapS2C",dataWidth:n.dataWidth,dataHeight:n.dataHeight,frame:e.i,userFacing:n.userFacing,uvTransform:n.uvTransform||m(),tokenId:e.tokenId,p:e.p};t.postOutgoingMessage(c,[e.i]);let l=r._pipeline_by_instance.get(e.p);l&&(a.pipeline_camera_frame_submit(l,x,n.dataWidth,n.dataHeight,e.tokenId,e.cameraToDevice,e.cameraModel,n.userFacing),a.pipeline_frame_update(l),r.exploreState())}(r,e,_,C);break;case"sensorDataC2S":{const a=r,t=_._pipeline_by_instance.get(a.p);if(!t)break;switch(a.sensor){case"accel":e.pipeline_motion_accelerometer_submit(t,a.timestamp,a.x,a.y,a.z);break;case"accel_w_gravity_int":e.pipeline_motion_accelerometer_with_gravity_submit_int(t,a.timestamp,a.interval,a.x,a.y,a.z);break;case"accel_wo_gravity_int":e.pipeline_motion_accelerometer_without_gravity_submit_int(t,a.timestamp,a.interval,a.x,a.y,a.z);break;case"attitude_int":e.pipeline_motion_attitude_submit_int(t,a.timestamp,a.interval,a.x,a.y,a.z);break;case"attitude":e.pipeline_motion_attitude_submit(t,a.timestamp,a.x,a.y,a.z);break;case"rotation_rate_int":e.pipeline_motion_rotation_rate_submit_int(t,a.timestamp,a.interval,a.x,a.y,a.z);break;case"rotation_rate":e.pipeline_motion_rotation_rate_submit(t,a.timestamp,a.x,a.y,a.z)}break}case"attitudeMatrixC2S":{const a=r,t=_._pipeline_by_instance.get(a.p);if(!t)break;e.pipeline_motion_attitude_matrix_submit(t,a.m);break}}}))}})}))}let U=0,q=0,H=1;function W(e){return new Promise(((a,r)=>{const t=setTimeout((()=>{r("Frame timeout")}),2e3);e.read().then((e=>{clearTimeout(t),a(e)}))}))}const X=m(),Y=new Float32Array([300,300,160,120,0,0]);function $(e,a,r,t,i,_,o,s,n){var c,l;return M(this,void 0,void 0,(function*(){for(;;){let h=yield W(r);if(h.done)return void(null===(c=h.value)||void 0===c||c.close());let b=h.value,v=b.allocationSize();v>q&&(U>0&&e._free(U),U=e._malloc(v),q=v),yield b.copyTo(e.HEAPU8.subarray(U,U+q));let u=H;H++;const m=b.visibleRect.width,N=b.visibleRect.height;let g,S=m,y=N;switch(D){case 270:g=new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]),S=N,y=m;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]),S=N,y=m;break;default:g=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}let w=!1;V.get(o)!==p.HIGH&&(S/=2,y/=2,w=!0);let I=b.clone();i?(d=[-1,1,-1],(E=X)[0]=d[0],E[1]=0,E[2]=0,E[3]=0,E[4]=0,E[5]=d[1],E[6]=0,E[7]=0,E[8]=0,E[9]=0,E[10]=d[2],E[11]=0,E[12]=0,E[13]=0,E[14]=0,E[15]=1):f(X);let z=300*S/320;Y[0]=z,Y[1]=z,Y[2]=.5*S,Y[3]=.5*y;const R={token:u,d:I,p:t,t:"videoFrameS2C",userFacing:i,uvTransform:g,w:S,h:y,cameraToDevice:X,cameraModel:Y,source:o};C.postOutgoingMessage(R,[R.d,R.uvTransform.buffer]);const L=_._pipeline_by_instance.get(t);if(L){try{a.pipeline_camera_frame_submit_raw_pointer(L,U,v,Q(b.format),m,N,u,X,D,Y,i,null!==(l=b.timestamp)&&void 0!==l?l:-1,w),ee(e,s),n&&ae(e,n)}catch(e){console.log("Exception during camera processing",e)}if(a.pipeline_frame_update(L),O){let r=G.get(t);if(r||(r={available:[],ready:[]},G.set(t,r)),r.ready.length>4){const e=r.ready.splice(0,1);for(const a of e)r.available.push(new Uint8Array(a.data.data))}const i=a.pipeline_camera_frame_data_raw_size(L);let _;for(;!_||_.byteLength<i;)r.available.length<1&&r.available.push(new Uint8Array(i)),_=r.available.pop();const o=a.pipeline_camera_frame_data_raw(L);_.set(e.HEAPU8.subarray(o,o+i)),r.ready.push({token:u,data:{data:_,width:a.pipeline_camera_frame_data_raw_width(t),height:a.pipeline_camera_frame_data_raw_height(t)}})}_.exploreState()}b.close()}var E,d}))}function J(e){return new Promise((a=>{setTimeout(a,e)}))}function Q(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 ee(e,a){const r=a.worker_message_send_count();if(0!==r){T||(T=new MessageChannel,T.port1.start(),T.port1.addEventListener("message",(r=>{if("msgrec"!==r.data.t)return;const t=r.data.data,i=e._malloc(t.byteLength);e.HEAPU8.set(t,i),a.worker_message_receive(r.data.reference,t.byteLength,i),e._free(i)})),C.postOutgoingMessage({t:"setupCeresWorker",port:T.port2},[T.port2]));for(let t=0;t<r;t++){const r=a.worker_message_send_reference(t),i=a.worker_message_send_data_size(t),_=a.worker_message_send_data(t),o=e.HEAPU8.slice(_,_+i);T.port1.postMessage({t:"msgsend",data:o,reference:r},[o.buffer])}a.worker_message_send_clear()}}function ae(e,a){const r=a.data_download_size();if(0===r)return;const t=a.data_download(),i=e.HEAPU8.slice(t,t+r);C.postOutgoingMessage({t:"_z_datadownload",data:i},[i.buffer]),a.data_download_clear()}const re=self;C.onOutgoingMessage.bind((()=>{let e=C.getOutgoingMessages();for(let a of e)re.postMessage(a.msg,a.transferables)}));let te=e=>{var a;e&&e.data&&"wasm"===e.data.t&&(B(location.href.startsWith("blob")?e.data.url:new URL(r(751),r.b).toString(),e.data.module,null!==(a=e.data.shouldRecordData)&&void 0!==a?a:0),re.removeEventListener("message",te))};re.addEventListener("message",te),re.addEventListener("message",(e=>{C.postIncomingMessage(e.data)}))})()})();
|