Commit 625086b0 authored by p x's avatar p x
Browse files

init

parent 5e9d2300
Pipeline #3100 failed with stages
in 0 seconds
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M6.72.422h10.56c1.273 0 2.297 1.336 2.297 2.993v7.558c0 1.657-1.024 2.993-2.295 2.993l-2.896.042-2.56 9.57-2.212-9.57-2.895-.043c-1.273.018-2.297-1.336-2.297-2.993V3.416C4.423 1.76 5.447.423 6.718.423z" fill="#444" stroke="#000" stroke-width=".846"/></svg>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
var BASIS=function(){var e="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!==typeof __filename&&(e=e||__filename),function(t){t=t||{};var r,n,o="undefined"!==typeof t?t:{};o["ready"]=new Promise((function(e,t){r=e,readyPromiseRejectza=t}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var u=[],s=!1,c=!1,f=!1,l=!1;s="object"===typeof window,c="function"===typeof importScripts,f="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node,l=!s&&!f&&!c;var p,d,h,v,y,m="";function g(e){return o["locateFile"]?o["locateFile"](e,m):m+e}f?(m=c?require("path").dirname(m)+"/":__dirname+"/",p=function(e,t){return v||(v=require("fs")),y||(y=require("path")),e=y["normalize"](e),v["readFileSync"](e,t?null:"utf8")},h=function(e){var t=p(e,!0);return t.buffer||(t=new Uint8Array(t)),A(t.buffer),t},process["argv"].length>1&&process["argv"][1].replace(/\\/g,"/"),u=process["argv"].slice(2),process["on"]("uncaughtException",(function(e){if(!(e instanceof Qr))throw e})),process["on"]("unhandledRejection",de),function(e){process["exit"](e)},o["inspect"]=function(){return"[Emscripten Module object]"}):l?("undefined"!=typeof read&&(p=function(e){return read(e)}),h=function(e){var t;return"function"===typeof readbuffer?new Uint8Array(readbuffer(e)):(t=read(e,"binary"),A("object"===typeof t),t)},"undefined"!=typeof scriptArgs?u=scriptArgs:"undefined"!=typeof arguments&&(u=arguments),"function"===typeof quit&&function(e){quit(e)},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print)):(s||c)&&(c?m=self.location.href:"undefined"!==typeof document&&document.currentScript&&(m=document.currentScript.src),e&&(m=e),m=0!==m.indexOf("blob:")?m.substr(0,m.lastIndexOf("/")+1):"",p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},c&&(h=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),d=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var w=o["print"]||console.log.bind(console),T=o["printErr"]||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);a=null,o["arguments"]&&(u=o["arguments"]),o["thisProgram"]&&o["thisProgram"],o["quit"]&&o["quit"];var b,C=function(e){e};o["wasmBinary"]&&(b=o["wasmBinary"]);var $;o["noExitRuntime"];"object"!==typeof WebAssembly&&de("no native wasm support detected");var P=!1;function A(e,t){e||de("Assertion failed: "+t)}var _="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;function S(e,t,r){var n=t+r,o=t;while(e[o]&&!(o>=n))++o;if(o-t>16&&e.subarray&&_)return _.decode(e.subarray(t,o));var i="";while(t<o){var a=e[t++];if(128&a){var u=63&e[t++];if(192!=(224&a)){var s=63&e[t++];if(a=224==(240&a)?(15&a)<<12|u<<6|s:(7&a)<<18|u<<12|s<<6|63&e[t++],a<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|u)}else i+=String.fromCharCode(a)}return i}function W(e,t){return e?S(R,e,t):""}function E(e,t,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var u=e.charCodeAt(a);if(u>=55296&&u<=57343){var s=e.charCodeAt(++a);u=65536+((1023&u)<<10)|1023&s}if(u<=127){if(r>=i)break;t[r++]=u}else if(u<=2047){if(r+1>=i)break;t[r++]=192|u>>6,t[r++]=128|63&u}else if(u<=65535){if(r+2>=i)break;t[r++]=224|u>>12,t[r++]=128|u>>6&63,t[r++]=128|63&u}else{if(r+3>=i)break;t[r++]=240|u>>18,t[r++]=128|u>>12&63,t[r++]=128|u>>6&63,t[r++]=128|63&u}}return t[r]=0,r-o}function F(e,t,r){return E(e,R,t,r)}function k(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}var O,j,R,x,I,D,U,B,M,V="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function q(e,t){var r=e,n=r>>1,o=n+t/2;while(!(n>=o)&&I[n])++n;if(r=n<<1,r-e>32&&V)return V.decode(R.subarray(e,r));for(var i="",a=0;!(a>=t/2);++a){var u=x[e+2*a>>1];if(0==u)break;i+=String.fromCharCode(u)}return i}function H(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;r-=2;for(var n=t,o=r<2*e.length?r/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);x[t>>1]=a,t+=2}return x[t>>1]=0,t-n}function z(e){return 2*e.length}function N(e,t){var r=0,n="";while(!(r>=t/4)){var o=D[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function G(e,t,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343){var u=e.charCodeAt(++i);a=65536+((1023&a)<<10)|1023&u}if(D[t>>2]=a,t+=4,t+4>o)break}return D[t>>2]=0,t-n}function L(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t}function X(e,t){return e%t>0&&(e+=t-e%t),e}function J(e){O=e,o["HEAP8"]=j=new Int8Array(e),o["HEAP16"]=x=new Int16Array(e),o["HEAP32"]=D=new Int32Array(e),o["HEAPU8"]=R=new Uint8Array(e),o["HEAPU16"]=I=new Uint16Array(e),o["HEAPU32"]=U=new Uint32Array(e),o["HEAPF32"]=B=new Float32Array(e),o["HEAPF64"]=M=new Float64Array(e)}o["INITIAL_MEMORY"];var K,Q=[],Y=[],Z=[],ee=[];function te(){if(o["preRun"]){"function"==typeof o["preRun"]&&(o["preRun"]=[o["preRun"]]);while(o["preRun"].length)ie(o["preRun"].shift())}$e(Q)}function re(){!0,$e(Y)}function ne(){$e(Z)}function oe(){if(o["postRun"]){"function"==typeof o["postRun"]&&(o["postRun"]=[o["postRun"]]);while(o["postRun"].length)ue(o["postRun"].shift())}$e(ee)}function ie(e){Q.unshift(e)}function ae(e){Y.unshift(e)}function ue(e){ee.unshift(e)}var se=0,ce=null,fe=null;function le(e){se++,o["monitorRunDependencies"]&&o["monitorRunDependencies"](se)}function pe(e){if(se--,o["monitorRunDependencies"]&&o["monitorRunDependencies"](se),0==se&&(null!==ce&&(clearInterval(ce),ce=null),fe)){var t=fe;fe=null,t()}}function de(e){o["onAbort"]&&o["onAbort"](e),e+="",T(e),P=!0,1,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}function he(e,t){return String.prototype.startsWith?e.startsWith(t):0===e.indexOf(t)}o["preloadedImages"]={},o["preloadedAudios"]={};var ve="data:application/octet-stream;base64,";function ye(e){return he(e,ve)}var me="file://";function ge(e){return he(e,me)}var we="basis_transcoder.wasm";function Te(e){try{if(e==we&&b)return new Uint8Array(b);if(h)return h(e);throw"both async and sync fetching of the wasm failed"}catch(T){de(T)}}function be(){if(!b&&(s||c)){if("function"===typeof fetch&&!ge(we))return fetch(we,{credentials:"same-origin"}).then((function(e){if(!e["ok"])throw"failed to load wasm binary file at '"+we+"'";return e["arrayBuffer"]()})).catch((function(){return Te(we)}));if(d)return new Promise((function(e,t){d(we,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return Te(we)}))}function Ce(){var e={a:Lr};function t(e,t){var r=e.exports;o["asm"]=r,$=o["asm"]["K"],J($.buffer),K=o["asm"]["O"],ae(o["asm"]["L"]),pe("wasm-instantiate")}function r(e){t(e["instance"])}function i(t){return be().then((function(t){var r=WebAssembly.instantiate(t,e);return r})).then(t,(function(e){T("failed to asynchronously prepare wasm: "+e),de(e)}))}function a(){return b||"function"!==typeof WebAssembly.instantiateStreaming||ye(we)||ge(we)||"function"!==typeof fetch?i(r):fetch(we,{credentials:"same-origin"}).then((function(t){var n=WebAssembly.instantiateStreaming(t,e);return n.then(r,(function(e){return T("wasm streaming compile failed: "+e),T("falling back to ArrayBuffer instantiation"),i(r)}))}))}if(le("wasm-instantiate"),o["instantiateWasm"])try{var u=o["instantiateWasm"](e,t);return u}catch(s){return T("Module.instantiateWasm callback failed with error: "+s),!1}return a().catch(n),{}}function $e(e){while(e.length>0){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"===typeof r?void 0===t.arg?K.get(r)():K.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(o)}}ye(we)||(we=g(we));var Pe={};function Ae(e){while(e.length){var t=e.pop(),r=e.pop();r(t)}}function _e(e){return this["fromWireType"](U[e>>2])}var Se={},We={},Ee={},Fe=48,ke=57;function Oe(e){if(void 0===e)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=Fe&&t<=ke?"_"+e:e}function je(e,t){return e=Oe(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function Re(e,t){var r=je(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var xe=void 0;function Ie(e){throw new xe(e)}function De(e,t,r){function n(t){var n=r(t);n.length!==e.length&&Ie("Mismatched type converter count");for(var o=0;o<e.length;++o)Ne(e[o],n[o])}e.forEach((function(e){Ee[e]=t}));var o=new Array(t.length),i=[],a=0;t.forEach((function(e,t){We.hasOwnProperty(e)?o[t]=We[e]:(i.push(e),Se.hasOwnProperty(e)||(Se[e]=[]),Se[e].push((function(){o[t]=We[e],++a,a===i.length&&n(o)})))})),0===i.length&&n(o)}function Ue(e){var t=Pe[e];delete Pe[e];var r=t.rawConstructor,n=t.rawDestructor,o=t.fields,i=o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType})));De([e],i,(function(e){var i={};return o.forEach((function(t,r){var n=t.fieldName,a=e[r],u=t.getter,s=t.getterContext,c=e[r+o.length],f=t.setter,l=t.setterContext;i[n]={read:function(e){return a["fromWireType"](u(s,e))},write:function(e,t){var r=[];f(l,e,c["toWireType"](r,t)),Ae(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in i)t[r]=i[r].read(e);return n(e),t},toWireType:function(e,t){for(var o in i)if(!(o in t))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:_e,destructorFunction:n}]}))}function Be(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function Me(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);Ve=e}var Ve=void 0;function qe(e){var t="",r=e;while(R[r])t+=Ve[R[r++]];return t}var He=void 0;function ze(e){throw new He(e)}function Ne(e,t,r){if(r=r||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=t.name;if(e||ze('type "'+n+'" must have a positive integer typeid pointer'),We.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;ze("Cannot register type '"+n+"' twice")}if(We[e]=t,delete Ee[e],Se.hasOwnProperty(e)){var o=Se[e];delete Se[e],o.forEach((function(e){e()}))}}function Ge(e,t,r,n,o){var i=Be(r);t=qe(t),Ne(e,{name:t,fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=j;else if(2===r)n=x;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=D}return this["fromWireType"](n[e>>i])},destructorFunction:null})}function Le(e){if(!(this instanceof ct))return!1;if(!(e instanceof ct))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;while(t.baseClass)r=t.upcast(r),t=t.baseClass;while(n.baseClass)o=n.upcast(o),n=n.baseClass;return t===n&&r===o}function Xe(e){return{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}}function Je(e){function t(e){return e.$$.ptrType.registeredClass.name}ze(t(e)+" instance already deleted")}var Ke=!1;function Qe(e){}function Ye(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}function Ze(e){e.count.value-=1;var t=0===e.count.value;t&&Ye(e)}function et(e){return"undefined"===typeof FinalizationGroup?(et=function(e){return e},e):(Ke=new FinalizationGroup((function(e){for(var t=e.next();!t.done;t=e.next()){var r=t.value;r.ptr?Ze(r):console.warn("object already deleted: "+r.ptr)}})),et=function(e){return Ke.register(e,e.$$,e.$$),e},Qe=function(e){Ke.unregister(e.$$)},et(e))}function tt(){if(this.$$.ptr||Je(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=et(Object.create(Object.getPrototypeOf(this),{$$:{value:Xe(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function rt(){this.$$.ptr||Je(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ze("Object already scheduled for deletion"),Qe(this),Ze(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function nt(){return!this.$$.ptr}var ot=void 0,it=[];function at(){while(it.length){var e=it.pop();e.$$.deleteScheduled=!1,e["delete"]()}}function ut(){return this.$$.ptr||Je(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ze("Object already scheduled for deletion"),it.push(this),1===it.length&&ot&&ot(at),this.$$.deleteScheduled=!0,this}function st(){ct.prototype["isAliasOf"]=Le,ct.prototype["clone"]=tt,ct.prototype["delete"]=rt,ct.prototype["isDeleted"]=nt,ct.prototype["deleteLater"]=ut}function ct(){}var ft={};function lt(e,t,r){if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||ze("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].overloadTable+")!"),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}}function pt(e,t,r){o.hasOwnProperty(e)?((void 0===r||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[r])&&ze("Cannot register public name '"+e+"' twice"),lt(o,e,e),o.hasOwnProperty(r)&&ze("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[e].overloadTable[r]=t):(o[e]=t,void 0!==r&&(o[e].numArguments=r))}function dt(e,t,r,n,o,i,a,u){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=u,this.pureVirtualFunctions=[]}function ht(e,t,r){while(t!==r)t.upcast||ze("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.upcast(e),t=t.baseClass;return e}function vt(e,t){if(null===t)return this.isReference&&ze("null is not a valid "+this.name),0;t.$$||ze('Cannot pass "'+ar(t)+'" as a '+this.name),t.$$.ptr||ze("Cannot pass deleted object as a pointer of type "+this.name);var r=t.$$.ptrType.registeredClass,n=ht(t.$$.ptr,r,this.registeredClass);return n}function yt(e,t){var r;if(null===t)return this.isReference&&ze("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||ze('Cannot pass "'+ar(t)+'" as a '+this.name),t.$$.ptr||ze("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&ze("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);var n=t.$$.ptrType.registeredClass;if(r=ht(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ze("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:ze("Cannot convert argument of type "+(t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t["clone"]();r=this.rawShare(r,er((function(){o["delete"]()}))),null!==e&&e.push(this.rawDestructor,r)}break;default:ze("Unsupporting sharing policy")}return r}function mt(e,t){if(null===t)return this.isReference&&ze("null is not a valid "+this.name),0;t.$$||ze('Cannot pass "'+ar(t)+'" as a '+this.name),t.$$.ptr||ze("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&ze("Cannot convert argument of type "+t.$$.ptrType.name+" to parameter type "+this.name);var r=t.$$.ptrType.registeredClass,n=ht(t.$$.ptr,r,this.registeredClass);return n}function gt(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function wt(e){this.rawDestructor&&this.rawDestructor(e)}function Tt(e){null!==e&&e["delete"]()}function bt(e,t,r){if(t===r)return e;if(void 0===r.baseClass)return null;var n=bt(e,t,r.baseClass);return null===n?null:r.downcast(n)}function Ct(){return Object.keys(_t).length}function $t(){var e=[];for(var t in _t)_t.hasOwnProperty(t)&&e.push(_t[t]);return e}function Pt(e){ot=e,it.length&&ot&&ot(at)}function At(){o["getInheritedInstanceCount"]=Ct,o["getLiveInheritedInstances"]=$t,o["flushPendingDeletes"]=at,o["setDelayFunction"]=Pt}var _t={};function St(e,t){void 0===t&&ze("ptr should not be undefined");while(e.baseClass)t=e.upcast(t),e=e.baseClass;return t}function Wt(e,t){return t=St(e,t),_t[t]}function Et(e,t){t.ptrType&&t.ptr||Ie("makeClassHandle requires ptr and ptrType");var r=!!t.smartPtrType,n=!!t.smartPtr;return r!==n&&Ie("Both smartPtrType and smartPtr must be specified"),t.count={value:1},et(Object.create(e,{$$:{value:t}}))}function Ft(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=Wt(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r["clone"]();var n=r["clone"]();return this.destructor(e),n}function o(){return this.isSmartPointer?Et(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Et(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(t),u=ft[a];if(!u)return o.call(this);i=this.isConst?u.constPointerType:u.pointerType;var s=bt(t,this.registeredClass,i.registeredClass);return null===s?o.call(this):this.isSmartPointer?Et(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:e}):Et(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})}function kt(){Ot.prototype.getPointee=gt,Ot.prototype.destructor=wt,Ot.prototype["argPackAdvance"]=8,Ot.prototype["readValueFromPointer"]=_e,Ot.prototype["deleteObject"]=Tt,Ot.prototype["fromWireType"]=Ft}function Ot(e,t,r,n,o,i,a,u,s,c,f){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=u,this.rawConstructor=s,this.rawShare=c,this.rawDestructor=f,o||void 0!==t.baseClass?this["toWireType"]=yt:n?(this["toWireType"]=vt,this.destructorFunction=null):(this["toWireType"]=mt,this.destructorFunction=null)}function jt(e,t,r){o.hasOwnProperty(e)||Ie("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==r?o[e].overloadTable[r]=t:(o[e]=t,o[e].argCount=r)}function Rt(e,t,r){var n=o["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}function xt(e,t,r){return-1!=e.indexOf("j")?Rt(e,t,r):K.get(t).apply(null,r)}function It(e,t){var r=[];return function(){r.length=arguments.length;for(var n=0;n<arguments.length;n++)r[n]=arguments[n];return xt(e,t,r)}}function Dt(e,t){function r(){return-1!=e.indexOf("j")?It(e,t):K.get(t)}e=qe(e);var n=r();return"function"!==typeof n&&ze("unknown function pointer with signature "+e+": "+t),n}var Ut=void 0;function Bt(e){var t=Kr(e),r=qe(t);return Jr(t),r}function Mt(e,t){var r=[],n={};function o(e){n[e]||We[e]||(Ee[e]?Ee[e].forEach(o):(r.push(e),n[e]=!0))}throw t.forEach(o),new Ut(e+": "+r.map(Bt).join([", "]))}function Vt(e,t,r,n,o,i,a,u,s,c,f,l,p){f=qe(f),i=Dt(o,i),u&&(u=Dt(a,u)),c&&(c=Dt(s,c)),p=Dt(l,p);var d=Oe(f);pt(d,(function(){Mt("Cannot construct "+f+" due to unbound types",[n])})),De([e,t,r],n?[n]:[],(function(t){var r,o;t=t[0],n?(r=t.registeredClass,o=r.instancePrototype):o=ct.prototype;var a=je(d,(function(){if(Object.getPrototypeOf(this)!==s)throw new He("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new He(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new He("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),s=Object.create(o,{constructor:{value:a}});a.prototype=s;var l=new dt(f,a,s,p,r,i,u,c),h=new Ot(f,l,!0,!1,!1),v=new Ot(f+"*",l,!1,!1,!1),y=new Ot(f+" const*",l,!1,!0,!1);return ft[e]={pointerType:v,constPointerType:y},jt(d,a),[h,v,y]}))}function qt(e,t){for(var r=[],n=0;n<e;n++)r.push(D[(t>>2)+n]);return r}function Ht(e,t,r,n,o,i){A(t>0);var a=qt(t,r);o=Dt(n,o);var u=[i],s=[];De([],[e],(function(e){e=e[0];var r="constructor "+e.name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new He("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){Mt("Cannot construct "+e.name+" due to unbound types",a)},De([],a,(function(n){return e.registeredClass.constructor_body[t-1]=function(){arguments.length!==t-1&&ze(r+" called with "+arguments.length+" arguments, expected "+(t-1)),s.length=0,u.length=t;for(var e=1;e<t;++e)u[e]=n[e]["toWireType"](s,arguments[e-1]);var i=o.apply(null,u);return Ae(s),n[0]["fromWireType"](i)},[]})),[]}))}function zt(e,t){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var r=je(e.name||"unknownFunctionName",(function(){}));r.prototype=e.prototype;var n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function Nt(e,t,r,n,o){var i=t.length;i<2&&ze("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,u=!1,s=1;s<t.length;++s)if(null!==t[s]&&void 0===t[s].destructorFunction){u=!0;break}var c="void"!==t[0].name,f="",l="";for(s=0;s<i-2;++s)f+=(0!==s?", ":"")+"arg"+s,l+=(0!==s?", ":"")+"arg"+s+"Wired";var p="return function "+Oe(e)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";u&&(p+="var destructors = [];\n");var d=u?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[ze,n,o,Ae,t[0],t[1]];a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n");for(s=0;s<i-2;++s)p+="var arg"+s+"Wired = argType"+s+".toWireType("+d+", arg"+s+"); // "+t[s+2].name+"\n",h.push("argType"+s),v.push(t[s+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",u)p+="runDestructors(destructors);\n";else for(s=a?1:2;s<t.length;++s){var y=1===s?"thisWired":"arg"+(s-2)+"Wired";null!==t[s].destructorFunction&&(p+=y+"_dtor("+y+"); // "+t[s].name+"\n",h.push(y+"_dtor"),v.push(t[s].destructorFunction))}c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p);var m=zt(Function,h).apply(null,v);return m}function Gt(e,t,r,n,o,i,a,u){var s=qt(r,n);t=qe(t),i=Dt(o,i),De([],[e],(function(e){e=e[0];var n=e.name+"."+t;function o(){Mt("Cannot call "+n+" due to unbound types",s)}u&&e.registeredClass.pureVirtualFunctions.push(t);var c=e.registeredClass.instancePrototype,f=c[t];return void 0===f||void 0===f.overloadTable&&f.className!==e.name&&f.argCount===r-2?(o.argCount=r-2,o.className=e.name,c[t]=o):(lt(c,t,n),c[t].overloadTable[r-2]=o),De([],s,(function(o){var u=Nt(n,o,e,i,a);return void 0===c[t].overloadTable?(u.argCount=r-2,c[t]=u):c[t].overloadTable[r-2]=u,[]})),[]}))}function Lt(e,t,r){e=qe(e),De([],[t],(function(t){return t=t[0],o[e]=t["fromWireType"](r),[]}))}var Xt=[],Jt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Kt(e){e>4&&0===--Jt[e].refcount&&(Jt[e]=void 0,Xt.push(e))}function Qt(){for(var e=0,t=5;t<Jt.length;++t)void 0!==Jt[t]&&++e;return e}function Yt(){for(var e=5;e<Jt.length;++e)if(void 0!==Jt[e])return Jt[e];return null}function Zt(){o["count_emval_handles"]=Qt,o["get_first_emval"]=Yt}function er(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=Xt.length?Xt.pop():Jt.length;return Jt[t]={refcount:1,value:e},t}}function tr(e,t){t=qe(t),Ne(e,{name:t,fromWireType:function(e){var t=Jt[e].value;return Kt(e),t},toWireType:function(e,t){return er(t)},argPackAdvance:8,readValueFromPointer:_e,destructorFunction:null})}function rr(e,t,r){switch(t){case 0:return function(e){var t=r?j:R;return this["fromWireType"](t[e])};case 1:return function(e){var t=r?x:I;return this["fromWireType"](t[e>>1])};case 2:return function(e){var t=r?D:U;return this["fromWireType"](t[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function nr(e,t,r,n){var o=Be(r);function i(){}t=qe(t),i.values={},Ne(e,{name:t,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,t){return t.value},argPackAdvance:8,readValueFromPointer:rr(t,o,n),destructorFunction:null}),pt(t,i)}function or(e,t){var r=We[e];return void 0===r&&ze(t+" has unknown type "+Bt(e)),r}function ir(e,t,r){var n=or(e,"enum");t=qe(t);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:je(n.name+"_"+t,(function(){}))}});o.values[r]=i,o[t]=i}function ar(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}function ur(e,t){switch(t){case 2:return function(e){return this["fromWireType"](B[e>>2])};case 3:return function(e){return this["fromWireType"](M[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function sr(e,t,r){var n=Be(r);t=qe(t),Ne(e,{name:t,fromWireType:function(e){return e},toWireType:function(e,t){if("number"!==typeof t&&"boolean"!==typeof t)throw new TypeError('Cannot convert "'+ar(t)+'" to '+this.name);return t},argPackAdvance:8,readValueFromPointer:ur(t,n),destructorFunction:null})}function cr(e,t,r,n,o,i){var a=qt(t,r);e=qe(e),o=Dt(n,o),pt(e,(function(){Mt("Cannot call "+e+" due to unbound types",a)}),t-1),De([],a,(function(r){var n=[r[0],null].concat(r.slice(1));return jt(e,Nt(e,n,null,o,i),t-1),[]}))}function fr(e,t,r){switch(t){case 0:return r?function(e){return j[e]}:function(e){return R[e]};case 1:return r?function(e){return x[e>>1]}:function(e){return I[e>>1]};case 2:return r?function(e){return D[e>>2]}:function(e){return U[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function lr(e,t,r,n,o){t=qe(t),-1===o&&(o=4294967295);var i=Be(r),a=function(e){return e};if(0===n){var u=32-8*r;a=function(e){return e<<u>>>u}}var s=-1!=t.indexOf("unsigned");Ne(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!==typeof r&&"boolean"!==typeof r)throw new TypeError('Cannot convert "'+ar(r)+'" to '+this.name);if(r<n||r>o)throw new TypeError('Passing a number "'+ar(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+o+"]!");return s?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:fr(t,i,0!==n),destructorFunction:null})}function pr(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],o=n[t];function i(e){e>>=2;var t=U,r=t[e],n=t[e+1];return new o(O,n,r)}r=qe(r),Ne(e,{name:r,fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})}function dr(e,t){t=qe(t);var r="std::string"===t;Ne(e,{name:t,fromWireType:function(e){var t,n=U[e>>2];if(r)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==R[a]){var u=a-o,s=W(o,u);void 0===t?t=s:(t+=String.fromCharCode(0),t+=s),o=a+1}}else{var c=new Array(n);for(i=0;i<n;++i)c[i]=String.fromCharCode(R[e+4+i]);t=c.join("")}return Jr(e),t},toWireType:function(e,t){var n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var o="string"===typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||ze("Cannot pass non-string to std::string"),n=r&&o?function(){return k(t)}:function(){return t.length};var i=n(),a=Xr(4+i+1);if(U[a>>2]=i,r&&o)F(t,a+4,i+1);else if(o)for(var u=0;u<i;++u){var s=t.charCodeAt(u);s>255&&(Jr(a),ze("String has UTF-16 code units that do not fit in 8 bits")),R[a+4+u]=s}else for(u=0;u<i;++u)R[a+4+u]=t[u];return null!==e&&e.push(Jr,a),a},argPackAdvance:8,readValueFromPointer:_e,destructorFunction:function(e){Jr(e)}})}function hr(e,t,r){var n,o,i,a,u;r=qe(r),2===t?(n=q,o=H,a=z,i=function(){return I},u=1):4===t&&(n=N,o=G,a=L,i=function(){return U},u=2),Ne(e,{name:r,fromWireType:function(e){for(var r,o=U[e>>2],a=i(),s=e+4,c=0;c<=o;++c){var f=e+4+c*t;if(c==o||0==a[f>>u]){var l=f-s,p=n(s,l);void 0===r?r=p:(r+=String.fromCharCode(0),r+=p),s=f+t}}return Jr(e),r},toWireType:function(e,n){"string"!==typeof n&&ze("Cannot pass non-string to C++ string type "+r);var i=a(n),s=Xr(4+i+t);return U[s>>2]=i>>u,o(n,s+4,i+t),null!==e&&e.push(Jr,s),s},argPackAdvance:8,readValueFromPointer:_e,destructorFunction:function(e){Jr(e)}})}function vr(e,t,r,n,o,i){Pe[e]={name:qe(t),rawConstructor:Dt(r,n),rawDestructor:Dt(o,i),fields:[]}}function yr(e,t,r,n,o,i,a,u,s,c){Pe[e].fields.push({fieldName:qe(t),getterReturnType:r,getter:Dt(n,o),getterContext:i,setterArgumentType:a,setter:Dt(u,s),setterContext:c})}function mr(e,t){t=qe(t),Ne(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:function(){},toWireType:function(e,t){}})}function gr(e){return e||ze("Cannot use deleted val. handle = "+e),Jt[e].value}function wr(e,t,r){e=gr(e),t=or(t,"emval::as");var n=[],o=er(n);return D[r>>2]=o,t["toWireType"](n,e)}var Tr={};function br(e){var t=Tr[e];return void 0===t?qe(e):t}var Cr=[];function $r(e,t,r,n){e=Cr[e],t=gr(t),r=br(r),e(t,r,null,n)}function Pr(){return"object"===typeof globalThis?globalThis:function(){return Function}()("return this")()}function Ar(e){return 0===e?er(Pr()):(e=br(e),er(Pr()[e]))}function _r(e){var t=Cr.length;return Cr.push(e),t}function Sr(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=or(D[(t>>2)+n],"parameter "+n);return r}function Wr(e,t){for(var r=Sr(e,t),n=r[0],o=n.name+"_$"+r.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],u="",s=0;s<e-1;++s)u+=(0!==s?", ":"")+"arg"+s,i.push("argType"+s),a.push(r[1+s]);var c=Oe("methodCaller_"+o),f="return function "+c+"(handle, name, destructors, args) {\n",l=0;for(s=0;s<e-1;++s)f+=" var arg"+s+" = argType"+s+".readValueFromPointer(args"+(l?"+"+l:"")+");\n",l+=r[s+1]["argPackAdvance"];f+=" var rv = handle[name]("+u+");\n";for(s=0;s<e-1;++s)r[s+1]["deleteObject"]&&(f+=" argType"+s+".deleteObject(arg"+s+");\n");n.isVoid||(f+=" return retType.toWireType(destructors, rv);\n"),f+="};\n",i.push(f);var p=zt(Function,i).apply(null,a);return _r(p)}function Er(e){return e=br(e),er(o[e])}function Fr(e,t){return e=gr(e),t=gr(t),er(e[t])}function kr(e){e>4&&(Jt[e].refcount+=1)}function Or(e){for(var t="",r=0;r<e;++r)t+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+e+"(constructor, argTypes, args) {\n";for(r=0;r<e;++r)n+="var argType"+r+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+r+'], "parameter '+r+'");\nvar arg'+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\n";return n+="var obj = new constructor("+t+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",n)(or,o,er)}var jr={};function Rr(e,t,r,n){e=gr(e);var o=jr[t];return o||(o=Or(t),jr[t]=o),o(e,r,n)}function xr(e){return er(br(e))}function Ir(e){var t=Jt[e].value;Ae(t),Kt(e)}function Dr(){de()}function Ur(e,t,r){R.copyWithin(e,t,t+r)}function Br(e){try{return $.grow(e-O.byteLength+65535>>>16),J($.buffer),1}catch(t){}}function Mr(e){var t=R.length;e>>>=0;var r=2147483648;if(e>r)return!1;for(var n=1;n<=4;n*=2){var o=t*(1+.2/n);o=Math.min(o,e+100663296);var i=Math.min(r,X(Math.max(e,o),65536)),a=Br(i);if(a)return!0}return!1}var Vr={mappings:{},buffers:[null,[],[]],printChar:function(e,t){var r=Vr.buffers[e];0===t||10===t?((1===e?w:T)(S(r,0)),r.length=0):r.push(t)},varargs:void 0,get:function(){Vr.varargs+=4;var e=D[Vr.varargs-4>>2];return e},getStr:function(e){var t=W(e);return t},get64:function(e,t){return e}};function qr(e){return 0}function Hr(e,t,r,n,o){}function zr(e,t,r,n){for(var o=0,i=0;i<r;i++){for(var a=D[t+8*i>>2],u=D[t+(8*i+4)>>2],s=0;s<u;s++)Vr.printChar(e,R[a+s]);o+=u}return D[n>>2]=o,0}function Nr(e){C(0|e)}xe=o["InternalError"]=Re(Error,"InternalError"),Me(),He=o["BindingError"]=Re(Error,"BindingError"),st(),kt(),At(),Ut=o["UnboundTypeError"]=Re(Error,"UnboundTypeError"),Zt();var Gr,Lr={t:Ue,I:Ge,x:Vt,w:Ht,d:Gt,k:Lt,H:tr,n:nr,a:ir,A:sr,i:cr,j:lr,h:pr,B:dr,v:hr,u:vr,c:yr,J:mr,m:wr,s:$r,b:Kt,y:Ar,p:Wr,r:Er,e:Fr,g:kr,q:Rr,f:xr,l:Ir,o:Dr,E:Ur,F:Mr,G:qr,C:Hr,z:zr,D:Nr},Xr=(Ce(),o["___wasm_call_ctors"]=function(){return(o["___wasm_call_ctors"]=o["asm"]["L"]).apply(null,arguments)},o["_malloc"]=function(){return(Xr=o["_malloc"]=o["asm"]["M"]).apply(null,arguments)}),Jr=o["_free"]=function(){return(Jr=o["_free"]=o["asm"]["N"]).apply(null,arguments)},Kr=o["___getTypeName"]=function(){return(Kr=o["___getTypeName"]=o["asm"]["P"]).apply(null,arguments)};o["___embind_register_native_and_builtin_types"]=function(){return(o["___embind_register_native_and_builtin_types"]=o["asm"]["Q"]).apply(null,arguments)},o["dynCall_jiji"]=function(){return(o["dynCall_jiji"]=o["asm"]["R"]).apply(null,arguments)};function Qr(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Yr(e){function t(){Gr||(Gr=!0,o["calledRun"]=!0,P||(re(),ne(),r(o),o["onRuntimeInitialized"]&&o["onRuntimeInitialized"](),oe()))}e=e||u,se>0||(te(),se>0||(o["setStatus"]?(o["setStatus"]("Running..."),setTimeout((function(){setTimeout((function(){o["setStatus"]("")}),1),t()}),1)):t()))}if(fe=function e(){Gr||Yr(),Gr||(fe=e)},o["run"]=Yr,o["preInit"]){"function"==typeof o["preInit"]&&(o["preInit"]=[o["preInit"]]);while(o["preInit"].length>0)o["preInit"].pop()()}return Yr(),t.ready}}();"object"===typeof exports&&"object"===typeof module?module.exports=BASIS:"function"===typeof define&&define["amd"]?define([],(function(){return BASIS})):"object"===typeof exports&&(exports["BASIS"]=BASIS);
\ No newline at end of file
var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,e){var r=$jscomp.propertyToPolyfillSymbol[e];return null==r?t[e]:(r=t[r],void 0!==r?r:t[e])};$jscomp.polyfill=function(t,e,r,n){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,e,r,n):$jscomp.polyfillUnisolated(t,e,r,n))},$jscomp.polyfillUnisolated=function(t,e,r,n){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];if(!(o in r))return;r=r[o]}t=t[t.length-1],n=r[t],e=e(n),e!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})},$jscomp.polyfillIsolated=function(t,e,r,n){var o=t.split(".");t=1===o.length,n=o[0],n=!t&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var _=0;_<o.length-1;_++){var i=o[_];if(!(i in n))return;n=n[i]}o=o[o.length-1],r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?n[o]:null,e=e(r),null!=e&&(t?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:e}):e!==r&&(void 0===$jscomp.propertyToPolyfillSymbol[o]&&(r=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+r+"$"+o),$jscomp.defineProperty(n,$jscomp.propertyToPolyfillSymbol[o],{configurable:!0,writable:!0,value:e})))},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var o in n)$jscomp.owns(n,o)&&(t[o]=n[o])}return t},$jscomp.polyfill("Object.assign",(function(t){return t||$jscomp.assign}),"es6","es3"),$jscomp.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.makeIterator=function(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.polyfill("Promise",(function(t){function e(){this.batch_=null}function r(t){return t instanceof o?t:new o((function(e,r){e(t)}))}if(t&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};var n=$jscomp.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){n(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];t[e]=null;try{r()}catch(n){this.asyncThrow_(n)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var o=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(r){e.reject(r)}};o.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},o.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof o)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},o.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(r){return void this.reject_(r)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},o.prototype.reject_=function(t){this.settle_(2,t)},o.prototype.fulfill_=function(t){this.settle_(1,t)},o.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},o.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;n((function(){if(t.notifyUnhandledRejection_()){var e=$jscomp.global.console;"undefined"!==typeof e&&e.error(t.result_)}}),1)},o.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=$jscomp.global.CustomEvent,e=$jscomp.global.Event,r=$jscomp.global.dispatchEvent;return"undefined"===typeof r||("function"===typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"===typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=$jscomp.global.document.createEvent("CustomEvent"),t.initCustomEvent("unhandledrejection",!1,!0,t)),t.promise=this,t.reason=this.result_,r(t))},o.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)_.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var _=new e;return o.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},o.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(n){r.reject(n)}},o.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(r){_(r)}}:e}var n,_,i=new o((function(t,e){n=t,_=e}));return this.callWhenSettled_(r(t,n),r(e,_)),i},o.prototype.catch=function(t){return this.then(void 0,t)},o.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?_.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},o.resolve=r,o.reject=function(t){return new o((function(e,r){r(t)}))},o.race=function(t){return new o((function(e,n){for(var o=$jscomp.makeIterator(t),_=o.next();!_.done;_=o.next())r(_.value).callWhenSettled_(e,n)}))},o.all=function(t){var e=$jscomp.makeIterator(t),n=e.next();return n.done?r([]):new o((function(t,o){function _(e){return function(r){i[e]=r,p--,0==p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,r(n.value).callWhenSettled_(_(i.length-1),o),n=e.next()}while(!n.done)}))},o}),"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,o=t.length;e=Math.max(0,Math.min(0|e,r.length));for(var _=0;_<o&&e<n;)if(r[e++]!=t[_++])return!1;return _>=o}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return t=Number(t),1/0===t||-1/0===t?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(n=Math.min(n,o+r-t),t+=n-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var t="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!==typeof __filename&&(t=t||__filename),function(e){function r(t){return z.locateFile?z.locateFile(t,q):q+t}function n(t,e,r){var n=e+r;for(r=e;t[r]&&!(r>=n);)++r;if(16<r-e&&t.subarray&&st)return st.decode(t.subarray(e,r));for(n="";e<r;){var o=t[e++];if(128&o){var _=63&t[e++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&t[e++];o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&t[e++],65536>o?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}return n}function o(t,e){return t?n(it,t,e):""}function _(t){ot=t,z.HEAP8=_t=new Int8Array(t),z.HEAP16=new Int16Array(t),z.HEAP32=pt=new Int32Array(t),z.HEAPU8=it=new Uint8Array(t),z.HEAPU16=new Uint16Array(t),z.HEAPU32=new Uint32Array(t),z.HEAPF32=new Float32Array(t),z.HEAPF64=new Float64Array(t)}function i(t){throw z.onAbort&&z.onAbort(t),t="Aborted("+t+")",rt(t),ct=!0,t=new WebAssembly.RuntimeError(t+". Build with -s ASSERTIONS=1 for more info."),w(t),t}function p(t){try{if(t==ht&&tt)return new Uint8Array(tt);if(J)return J(t);throw"both async and sync fetching of the wasm failed"}catch(e){i(e)}}function a(){if(!tt&&(Y||H)){if("function"===typeof fetch&&!ht.startsWith("file://"))return fetch(ht,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ht+"'";return t.arrayBuffer()})).catch((function(){return p(ht)}));if(Z)return new Promise((function(t,e){Z(ht,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return p(ht)}))}function c(t){for(;0<t.length;){var e=t.shift();if("function"==typeof e)e(z);else{var r=e.func;"number"===typeof r?void 0===e.arg?s(r)():s(r)(e.arg):r(void 0===e.arg?null:e.arg)}}}function s(t){var e=At[t];return e||(t>=At.length&&(At.length=t+1),At[t]=e=at.get(t)),e}function u(t){this.excPtr=t,this.ptr=t-16,this.set_type=function(t){pt[this.ptr+4>>2]=t},this.get_type=function(){return pt[this.ptr+4>>2]},this.set_destructor=function(t){pt[this.ptr+8>>2]=t},this.get_destructor=function(){return pt[this.ptr+8>>2]},this.set_refcount=function(t){pt[this.ptr>>2]=t},this.set_caught=function(t){_t[this.ptr+12>>0]=t?1:0},this.get_caught=function(){return 0!=_t[this.ptr+12>>0]},this.set_rethrown=function(t){_t[this.ptr+13>>0]=t?1:0},this.get_rethrown=function(){return 0!=_t[this.ptr+13>>0]},this.init=function(t,e){this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){pt[this.ptr>>2]+=1},this.release_ref=function(){var t=pt[this.ptr>>2];return pt[this.ptr>>2]=t-1,1===t}}function y(t){function e(){if(!It&&(It=!0,z.calledRun=!0,!ct)){if(ft=!0,c(yt),$(z),z.onRuntimeInitialized&&z.onRuntimeInitialized(),z.postRun)for("function"==typeof z.postRun&&(z.postRun=[z.postRun]);z.postRun.length;)lt.unshift(z.postRun.shift());c(lt)}}if(!(0<mt)){if(z.preRun)for("function"==typeof z.preRun&&(z.preRun=[z.preRun]);z.preRun.length;)ut.unshift(z.preRun.shift());c(ut),0<mt||(z.setStatus?(z.setStatus("Running..."),setTimeout((function(){setTimeout((function(){z.setStatus("")}),1),e()}),1)):e())}}function l(){}function f(t){return(t||l).__cache__}function m(t,e){var r=f(e),n=r[t];return n||(n=Object.create((e||l).prototype),n.ptr=t,r[t]=n)}function d(t){if("string"===typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);55296<=n&&57343>=n&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),127>=n?++e:e=2047>=n?e+2:65535>=n?e+3:e+4}if(e=Array(e+1),r=0,n=e.length,0<n){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_){var i=t.charCodeAt(++o);_=65536+((1023&_)<<10)|1023&i}if(127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=_n.alloc(e,_t),_n.copy(e,_t,t),t}return t}function b(t){if("object"===typeof t){var e=_n.alloc(t,_t);return _n.copy(t,_t,e),e}return t}function h(){throw"cannot construct a VoidPtr, no constructor in IDL"}function A(){this.ptr=Et(),f(A)[this.ptr]=this}function T(){this.ptr=Ot(),f(T)[this.ptr]=this}function D(){this.ptr=St(),f(D)[this.ptr]=this}function I(){this.ptr=Mt(),f(I)[this.ptr]=this}function j(){this.ptr=Wt(),f(j)[this.ptr]=this}function E(){this.ptr=qt(),f(E)[this.ptr]=this}function G(){this.ptr=Zt(),f(G)[this.ptr]=this}function v(){this.ptr=ne(),f(v)[this.ptr]=this}function O(){this.ptr=ae(),f(O)[this.ptr]=this}function P(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=fe(),f(R)[this.ptr]=this}function S(){this.ptr=he(),f(S)[this.ptr]=this}function g(){this.ptr=Ie(),f(g)[this.ptr]=this}function M(){this.ptr=ve(),f(M)[this.ptr]=this}function N(){this.ptr=Se(),f(N)[this.ptr]=this}function U(){this.ptr=Ue(),f(U)[this.ptr]=this}function F(){this.ptr=$e(),f(F)[this.ptr]=this}function C(){this.ptr=Be(),f(C)[this.ptr]=this}function L(){this.ptr=Ke(),f(L)[this.ptr]=this}e=e||{};var $,w,z="undefined"!==typeof e?e:{},V=Object.assign;z.ready=new Promise((function(t,e){$=t,w=e}));var B=!1,W=!1;z.onRuntimeInitialized=function(){B=!0,W&&"function"===typeof z.onModuleLoaded&&z.onModuleLoaded(z)},z.onModuleParsed=function(){W=!0,B&&"function"===typeof z.onModuleLoaded&&z.onModuleLoaded(z)},z.isVersionSupported=function(t){return"string"===typeof t&&(t=t.split("."),!(2>t.length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1])))};var k,Q,x=V({},z),Y="object"===typeof window,H="function"===typeof importScripts,q="";if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){q=H?require("path").dirname(q)+"/":__dirname+"/";var X=function(){Q||(k=require("fs"),Q=require("path"))},K=function(t,e){return X(),t=Q.normalize(t),k.readFileSync(t,e?null:"utf8")},J=function(t){return t=K(t,!0),t.buffer||(t=new Uint8Array(t)),t},Z=function(t,e,r){X(),t=Q.normalize(t),k.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),z.inspect=function(){return"[Emscripten Module object]"}}else(Y||H)&&(H?q=self.location.href:"undefined"!==typeof document&&document.currentScript&&(q=document.currentScript.src),t&&(q=t),q=0!==q.indexOf("blob:")?q.substr(0,q.replace(/[?#].*/,"").lastIndexOf("/")+1):"",K=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},H&&(J=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),Z=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var tt,et=z.print||console.log.bind(console),rt=z.printErr||console.warn.bind(console);V(z,x),x=null,z.wasmBinary&&(tt=z.wasmBinary),"object"!==typeof WebAssembly&&i("no native wasm support detected");var nt,ot,_t,it,pt,at,ct=!1,st="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,ut=[],yt=[],lt=[],ft=!1,mt=0,dt=null,bt=null;z.preloadedImages={},z.preloadedAudios={};var ht="draco_decoder.wasm";ht.startsWith("data:application/octet-stream;base64,")||(ht=r(ht));var At=[],Tt={mappings:{},buffers:[null,[],[]],printChar:function(t,e){var r=Tt.buffers[t];0===e||10===e?((1===t?et:rt)(n(r,0)),r.length=0):r.push(e)},varargs:void 0,get:function(){return Tt.varargs+=4,pt[Tt.varargs-4>>2]},getStr:function(t){return o(t)},get64:function(t,e){return t}},Dt={h:function(t){return on(t+16)+16},g:function(t,e,r){throw new u(t).init(e,r),t},a:function(){i("")},f:function(t,e,r){it.copyWithin(t,e,e+r)},d:function(t){var e=it.length;if(t>>>=0,2147483648<t)return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var o=Math,i=o.min;n=Math.max(t,n),0<n%65536&&(n+=65536-n%65536),o=i.call(o,2147483648,n);t:{try{nt.grow(o-ot.byteLength+65535>>>16),_(nt.buffer);var p=1;break t}catch(a){}p=void 0}if(p)return!0}return!1},e:function(t){return 0},c:function(t,e,r,n,o){},b:function(t,e,r,n){for(var o=0,_=0;_<r;_++){var i=pt[e>>2],p=pt[e+4>>2];e+=8;for(var a=0;a<p;a++)Tt.printChar(t,it[i+a]);o+=p}return pt[n>>2]=o,0}};(function(){function t(t,e){z.asm=t.exports,nt=z.asm.i,_(nt.buffer),at=z.asm.k,yt.unshift(z.asm.j),mt--,z.monitorRunDependencies&&z.monitorRunDependencies(mt),0==mt&&(null!==dt&&(clearInterval(dt),dt=null),bt&&(t=bt,bt=null,t()))}function e(e){t(e.instance)}function r(t){return a().then((function(t){return WebAssembly.instantiate(t,n)})).then((function(t){return t})).then(t,(function(t){rt("failed to asynchronously prepare wasm: "+t),i(t)}))}var n={a:Dt};if(mt++,z.monitorRunDependencies&&z.monitorRunDependencies(mt),z.instantiateWasm)try{return z.instantiateWasm(n,t)}catch(o){return rt("Module.instantiateWasm callback failed with error: "+o),!1}(function(){return tt||"function"!==typeof WebAssembly.instantiateStreaming||ht.startsWith("data:application/octet-stream;base64,")||ht.startsWith("file://")||"function"!==typeof fetch?r(e):fetch(ht,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,n).then(e,(function(t){return rt("wasm streaming compile failed: "+t),rt("falling back to ArrayBuffer instantiation"),r(e)}))}))})().catch(w)})(),z.___wasm_call_ctors=function(){return(z.___wasm_call_ctors=z.asm.j).apply(null,arguments)};var It,jt=z._emscripten_bind_VoidPtr___destroy___0=function(){return(jt=z._emscripten_bind_VoidPtr___destroy___0=z.asm.l).apply(null,arguments)},Et=z._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Et=z._emscripten_bind_DecoderBuffer_DecoderBuffer_0=z.asm.m).apply(null,arguments)},Gt=z._emscripten_bind_DecoderBuffer_Init_2=function(){return(Gt=z._emscripten_bind_DecoderBuffer_Init_2=z.asm.n).apply(null,arguments)},vt=z._emscripten_bind_DecoderBuffer___destroy___0=function(){return(vt=z._emscripten_bind_DecoderBuffer___destroy___0=z.asm.o).apply(null,arguments)},Ot=z._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ot=z._emscripten_bind_AttributeTransformData_AttributeTransformData_0=z.asm.p).apply(null,arguments)},Pt=z._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Pt=z._emscripten_bind_AttributeTransformData_transform_type_0=z.asm.q).apply(null,arguments)},Rt=z._emscripten_bind_AttributeTransformData___destroy___0=function(){return(Rt=z._emscripten_bind_AttributeTransformData___destroy___0=z.asm.r).apply(null,arguments)},St=z._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(St=z._emscripten_bind_GeometryAttribute_GeometryAttribute_0=z.asm.s).apply(null,arguments)},gt=z._emscripten_bind_GeometryAttribute___destroy___0=function(){return(gt=z._emscripten_bind_GeometryAttribute___destroy___0=z.asm.t).apply(null,arguments)},Mt=z._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Mt=z._emscripten_bind_PointAttribute_PointAttribute_0=z.asm.u).apply(null,arguments)},Nt=z._emscripten_bind_PointAttribute_size_0=function(){return(Nt=z._emscripten_bind_PointAttribute_size_0=z.asm.v).apply(null,arguments)},Ut=z._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ut=z._emscripten_bind_PointAttribute_GetAttributeTransformData_0=z.asm.w).apply(null,arguments)},Ft=z._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Ft=z._emscripten_bind_PointAttribute_attribute_type_0=z.asm.x).apply(null,arguments)},Ct=z._emscripten_bind_PointAttribute_data_type_0=function(){return(Ct=z._emscripten_bind_PointAttribute_data_type_0=z.asm.y).apply(null,arguments)},Lt=z._emscripten_bind_PointAttribute_num_components_0=function(){return(Lt=z._emscripten_bind_PointAttribute_num_components_0=z.asm.z).apply(null,arguments)},$t=z._emscripten_bind_PointAttribute_normalized_0=function(){return($t=z._emscripten_bind_PointAttribute_normalized_0=z.asm.A).apply(null,arguments)},wt=z._emscripten_bind_PointAttribute_byte_stride_0=function(){return(wt=z._emscripten_bind_PointAttribute_byte_stride_0=z.asm.B).apply(null,arguments)},zt=z._emscripten_bind_PointAttribute_byte_offset_0=function(){return(zt=z._emscripten_bind_PointAttribute_byte_offset_0=z.asm.C).apply(null,arguments)},Vt=z._emscripten_bind_PointAttribute_unique_id_0=function(){return(Vt=z._emscripten_bind_PointAttribute_unique_id_0=z.asm.D).apply(null,arguments)},Bt=z._emscripten_bind_PointAttribute___destroy___0=function(){return(Bt=z._emscripten_bind_PointAttribute___destroy___0=z.asm.E).apply(null,arguments)},Wt=z._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Wt=z._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=z.asm.F).apply(null,arguments)},kt=z._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(kt=z._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=z.asm.G).apply(null,arguments)},Qt=z._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Qt=z._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=z.asm.H).apply(null,arguments)},xt=z._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(xt=z._emscripten_bind_AttributeQuantizationTransform_min_value_1=z.asm.I).apply(null,arguments)},Yt=z._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Yt=z._emscripten_bind_AttributeQuantizationTransform_range_0=z.asm.J).apply(null,arguments)},Ht=z._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Ht=z._emscripten_bind_AttributeQuantizationTransform___destroy___0=z.asm.K).apply(null,arguments)},qt=z._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(qt=z._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=z.asm.L).apply(null,arguments)},Xt=z._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Xt=z._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=z.asm.M).apply(null,arguments)},Kt=z._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Kt=z._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=z.asm.N).apply(null,arguments)},Jt=z._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Jt=z._emscripten_bind_AttributeOctahedronTransform___destroy___0=z.asm.O).apply(null,arguments)},Zt=z._emscripten_bind_PointCloud_PointCloud_0=function(){return(Zt=z._emscripten_bind_PointCloud_PointCloud_0=z.asm.P).apply(null,arguments)},te=z._emscripten_bind_PointCloud_num_attributes_0=function(){return(te=z._emscripten_bind_PointCloud_num_attributes_0=z.asm.Q).apply(null,arguments)},ee=z._emscripten_bind_PointCloud_num_points_0=function(){return(ee=z._emscripten_bind_PointCloud_num_points_0=z.asm.R).apply(null,arguments)},re=z._emscripten_bind_PointCloud___destroy___0=function(){return(re=z._emscripten_bind_PointCloud___destroy___0=z.asm.S).apply(null,arguments)},ne=z._emscripten_bind_Mesh_Mesh_0=function(){return(ne=z._emscripten_bind_Mesh_Mesh_0=z.asm.T).apply(null,arguments)},oe=z._emscripten_bind_Mesh_num_faces_0=function(){return(oe=z._emscripten_bind_Mesh_num_faces_0=z.asm.U).apply(null,arguments)},_e=z._emscripten_bind_Mesh_num_attributes_0=function(){return(_e=z._emscripten_bind_Mesh_num_attributes_0=z.asm.V).apply(null,arguments)},ie=z._emscripten_bind_Mesh_num_points_0=function(){return(ie=z._emscripten_bind_Mesh_num_points_0=z.asm.W).apply(null,arguments)},pe=z._emscripten_bind_Mesh___destroy___0=function(){return(pe=z._emscripten_bind_Mesh___destroy___0=z.asm.X).apply(null,arguments)},ae=z._emscripten_bind_Metadata_Metadata_0=function(){return(ae=z._emscripten_bind_Metadata_Metadata_0=z.asm.Y).apply(null,arguments)},ce=z._emscripten_bind_Metadata___destroy___0=function(){return(ce=z._emscripten_bind_Metadata___destroy___0=z.asm.Z).apply(null,arguments)},se=z._emscripten_bind_Status_code_0=function(){return(se=z._emscripten_bind_Status_code_0=z.asm._).apply(null,arguments)},ue=z._emscripten_bind_Status_ok_0=function(){return(ue=z._emscripten_bind_Status_ok_0=z.asm.$).apply(null,arguments)},ye=z._emscripten_bind_Status_error_msg_0=function(){return(ye=z._emscripten_bind_Status_error_msg_0=z.asm.aa).apply(null,arguments)},le=z._emscripten_bind_Status___destroy___0=function(){return(le=z._emscripten_bind_Status___destroy___0=z.asm.ba).apply(null,arguments)},fe=z._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(fe=z._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=z.asm.ca).apply(null,arguments)},me=z._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(me=z._emscripten_bind_DracoFloat32Array_GetValue_1=z.asm.da).apply(null,arguments)},de=z._emscripten_bind_DracoFloat32Array_size_0=function(){return(de=z._emscripten_bind_DracoFloat32Array_size_0=z.asm.ea).apply(null,arguments)},be=z._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(be=z._emscripten_bind_DracoFloat32Array___destroy___0=z.asm.fa).apply(null,arguments)},he=z._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(he=z._emscripten_bind_DracoInt8Array_DracoInt8Array_0=z.asm.ga).apply(null,arguments)},Ae=z._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ae=z._emscripten_bind_DracoInt8Array_GetValue_1=z.asm.ha).apply(null,arguments)},Te=z._emscripten_bind_DracoInt8Array_size_0=function(){return(Te=z._emscripten_bind_DracoInt8Array_size_0=z.asm.ia).apply(null,arguments)},De=z._emscripten_bind_DracoInt8Array___destroy___0=function(){return(De=z._emscripten_bind_DracoInt8Array___destroy___0=z.asm.ja).apply(null,arguments)},Ie=z._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ie=z._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=z.asm.ka).apply(null,arguments)},je=z._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(je=z._emscripten_bind_DracoUInt8Array_GetValue_1=z.asm.la).apply(null,arguments)},Ee=z._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ee=z._emscripten_bind_DracoUInt8Array_size_0=z.asm.ma).apply(null,arguments)},Ge=z._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ge=z._emscripten_bind_DracoUInt8Array___destroy___0=z.asm.na).apply(null,arguments)},ve=z._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(ve=z._emscripten_bind_DracoInt16Array_DracoInt16Array_0=z.asm.oa).apply(null,arguments)},Oe=z._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Oe=z._emscripten_bind_DracoInt16Array_GetValue_1=z.asm.pa).apply(null,arguments)},Pe=z._emscripten_bind_DracoInt16Array_size_0=function(){return(Pe=z._emscripten_bind_DracoInt16Array_size_0=z.asm.qa).apply(null,arguments)},Re=z._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Re=z._emscripten_bind_DracoInt16Array___destroy___0=z.asm.ra).apply(null,arguments)},Se=z._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Se=z._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=z.asm.sa).apply(null,arguments)},ge=z._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(ge=z._emscripten_bind_DracoUInt16Array_GetValue_1=z.asm.ta).apply(null,arguments)},Me=z._emscripten_bind_DracoUInt16Array_size_0=function(){return(Me=z._emscripten_bind_DracoUInt16Array_size_0=z.asm.ua).apply(null,arguments)},Ne=z._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ne=z._emscripten_bind_DracoUInt16Array___destroy___0=z.asm.va).apply(null,arguments)},Ue=z._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Ue=z._emscripten_bind_DracoInt32Array_DracoInt32Array_0=z.asm.wa).apply(null,arguments)},Fe=z._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Fe=z._emscripten_bind_DracoInt32Array_GetValue_1=z.asm.xa).apply(null,arguments)},Ce=z._emscripten_bind_DracoInt32Array_size_0=function(){return(Ce=z._emscripten_bind_DracoInt32Array_size_0=z.asm.ya).apply(null,arguments)},Le=z._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Le=z._emscripten_bind_DracoInt32Array___destroy___0=z.asm.za).apply(null,arguments)},$e=z._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return($e=z._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=z.asm.Aa).apply(null,arguments)},we=z._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(we=z._emscripten_bind_DracoUInt32Array_GetValue_1=z.asm.Ba).apply(null,arguments)},ze=z._emscripten_bind_DracoUInt32Array_size_0=function(){return(ze=z._emscripten_bind_DracoUInt32Array_size_0=z.asm.Ca).apply(null,arguments)},Ve=z._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Ve=z._emscripten_bind_DracoUInt32Array___destroy___0=z.asm.Da).apply(null,arguments)},Be=z._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Be=z._emscripten_bind_MetadataQuerier_MetadataQuerier_0=z.asm.Ea).apply(null,arguments)},We=z._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(We=z._emscripten_bind_MetadataQuerier_HasEntry_2=z.asm.Fa).apply(null,arguments)},ke=z._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(ke=z._emscripten_bind_MetadataQuerier_GetIntEntry_2=z.asm.Ga).apply(null,arguments)},Qe=z._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(Qe=z._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=z.asm.Ha).apply(null,arguments)},xe=z._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(xe=z._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=z.asm.Ia).apply(null,arguments)},Ye=z._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(Ye=z._emscripten_bind_MetadataQuerier_GetStringEntry_2=z.asm.Ja).apply(null,arguments)},He=z._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(He=z._emscripten_bind_MetadataQuerier_NumEntries_1=z.asm.Ka).apply(null,arguments)},qe=z._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(qe=z._emscripten_bind_MetadataQuerier_GetEntryName_2=z.asm.La).apply(null,arguments)},Xe=z._emscripten_bind_MetadataQuerier___destroy___0=function(){return(Xe=z._emscripten_bind_MetadataQuerier___destroy___0=z.asm.Ma).apply(null,arguments)},Ke=z._emscripten_bind_Decoder_Decoder_0=function(){return(Ke=z._emscripten_bind_Decoder_Decoder_0=z.asm.Na).apply(null,arguments)},Je=z._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(Je=z._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=z.asm.Oa).apply(null,arguments)},Ze=z._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(Ze=z._emscripten_bind_Decoder_DecodeArrayToMesh_3=z.asm.Pa).apply(null,arguments)},tr=z._emscripten_bind_Decoder_GetAttributeId_2=function(){return(tr=z._emscripten_bind_Decoder_GetAttributeId_2=z.asm.Qa).apply(null,arguments)},er=z._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(er=z._emscripten_bind_Decoder_GetAttributeIdByName_2=z.asm.Ra).apply(null,arguments)},rr=z._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(rr=z._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=z.asm.Sa).apply(null,arguments)},nr=z._emscripten_bind_Decoder_GetAttribute_2=function(){return(nr=z._emscripten_bind_Decoder_GetAttribute_2=z.asm.Ta).apply(null,arguments)},or=z._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(or=z._emscripten_bind_Decoder_GetAttributeByUniqueId_2=z.asm.Ua).apply(null,arguments)},_r=z._emscripten_bind_Decoder_GetMetadata_1=function(){return(_r=z._emscripten_bind_Decoder_GetMetadata_1=z.asm.Va).apply(null,arguments)},ir=z._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(ir=z._emscripten_bind_Decoder_GetAttributeMetadata_2=z.asm.Wa).apply(null,arguments)},pr=z._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(pr=z._emscripten_bind_Decoder_GetFaceFromMesh_3=z.asm.Xa).apply(null,arguments)},ar=z._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(ar=z._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=z.asm.Ya).apply(null,arguments)},cr=z._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(cr=z._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=z.asm.Za).apply(null,arguments)},sr=z._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(sr=z._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=z.asm._a).apply(null,arguments)},ur=z._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(ur=z._emscripten_bind_Decoder_GetAttributeFloat_3=z.asm.$a).apply(null,arguments)},yr=z._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(yr=z._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=z.asm.ab).apply(null,arguments)},lr=z._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(lr=z._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=z.asm.bb).apply(null,arguments)},fr=z._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(fr=z._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=z.asm.cb).apply(null,arguments)},mr=z._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(mr=z._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=z.asm.db).apply(null,arguments)},dr=z._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(dr=z._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=z.asm.eb).apply(null,arguments)},br=z._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(br=z._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=z.asm.fb).apply(null,arguments)},hr=z._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(hr=z._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=z.asm.gb).apply(null,arguments)},Ar=z._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Ar=z._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=z.asm.hb).apply(null,arguments)},Tr=z._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Tr=z._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=z.asm.ib).apply(null,arguments)},Dr=z._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Dr=z._emscripten_bind_Decoder_SkipAttributeTransform_1=z.asm.jb).apply(null,arguments)},Ir=z._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Ir=z._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=z.asm.kb).apply(null,arguments)},jr=z._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(jr=z._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=z.asm.lb).apply(null,arguments)},Er=z._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Er=z._emscripten_bind_Decoder_DecodeBufferToMesh_2=z.asm.mb).apply(null,arguments)},Gr=z._emscripten_bind_Decoder___destroy___0=function(){return(Gr=z._emscripten_bind_Decoder___destroy___0=z.asm.nb).apply(null,arguments)},vr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(vr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=z.asm.ob).apply(null,arguments)},Or=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Or=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=z.asm.pb).apply(null,arguments)},Pr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Pr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=z.asm.qb).apply(null,arguments)},Rr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Rr=z._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=z.asm.rb).apply(null,arguments)},Sr=z._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Sr=z._emscripten_enum_draco_GeometryAttribute_Type_INVALID=z.asm.sb).apply(null,arguments)},gr=z._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(gr=z._emscripten_enum_draco_GeometryAttribute_Type_POSITION=z.asm.tb).apply(null,arguments)},Mr=z._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Mr=z._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=z.asm.ub).apply(null,arguments)},Nr=z._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Nr=z._emscripten_enum_draco_GeometryAttribute_Type_COLOR=z.asm.vb).apply(null,arguments)},Ur=z._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Ur=z._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=z.asm.wb).apply(null,arguments)},Fr=z._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Fr=z._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=z.asm.xb).apply(null,arguments)},Cr=z._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Cr=z._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=z.asm.yb).apply(null,arguments)},Lr=z._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Lr=z._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=z.asm.zb).apply(null,arguments)},$r=z._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return($r=z._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=z.asm.Ab).apply(null,arguments)},wr=z._emscripten_enum_draco_DataType_DT_INVALID=function(){return(wr=z._emscripten_enum_draco_DataType_DT_INVALID=z.asm.Bb).apply(null,arguments)},zr=z._emscripten_enum_draco_DataType_DT_INT8=function(){return(zr=z._emscripten_enum_draco_DataType_DT_INT8=z.asm.Cb).apply(null,arguments)},Vr=z._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Vr=z._emscripten_enum_draco_DataType_DT_UINT8=z.asm.Db).apply(null,arguments)},Br=z._emscripten_enum_draco_DataType_DT_INT16=function(){return(Br=z._emscripten_enum_draco_DataType_DT_INT16=z.asm.Eb).apply(null,arguments)},Wr=z._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Wr=z._emscripten_enum_draco_DataType_DT_UINT16=z.asm.Fb).apply(null,arguments)},kr=z._emscripten_enum_draco_DataType_DT_INT32=function(){return(kr=z._emscripten_enum_draco_DataType_DT_INT32=z.asm.Gb).apply(null,arguments)},Qr=z._emscripten_enum_draco_DataType_DT_UINT32=function(){return(Qr=z._emscripten_enum_draco_DataType_DT_UINT32=z.asm.Hb).apply(null,arguments)},xr=z._emscripten_enum_draco_DataType_DT_INT64=function(){return(xr=z._emscripten_enum_draco_DataType_DT_INT64=z.asm.Ib).apply(null,arguments)},Yr=z._emscripten_enum_draco_DataType_DT_UINT64=function(){return(Yr=z._emscripten_enum_draco_DataType_DT_UINT64=z.asm.Jb).apply(null,arguments)},Hr=z._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Hr=z._emscripten_enum_draco_DataType_DT_FLOAT32=z.asm.Kb).apply(null,arguments)},qr=z._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(qr=z._emscripten_enum_draco_DataType_DT_FLOAT64=z.asm.Lb).apply(null,arguments)},Xr=z._emscripten_enum_draco_DataType_DT_BOOL=function(){return(Xr=z._emscripten_enum_draco_DataType_DT_BOOL=z.asm.Mb).apply(null,arguments)},Kr=z._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Kr=z._emscripten_enum_draco_DataType_DT_TYPES_COUNT=z.asm.Nb).apply(null,arguments)},Jr=z._emscripten_enum_draco_StatusCode_OK=function(){return(Jr=z._emscripten_enum_draco_StatusCode_OK=z.asm.Ob).apply(null,arguments)},Zr=z._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(Zr=z._emscripten_enum_draco_StatusCode_DRACO_ERROR=z.asm.Pb).apply(null,arguments)},tn=z._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(tn=z._emscripten_enum_draco_StatusCode_IO_ERROR=z.asm.Qb).apply(null,arguments)},en=z._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(en=z._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=z.asm.Rb).apply(null,arguments)},rn=z._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(rn=z._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=z.asm.Sb).apply(null,arguments)},nn=z._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(nn=z._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=z.asm.Tb).apply(null,arguments)},on=z._malloc=function(){return(on=z._malloc=z.asm.Ub).apply(null,arguments)};if(z._free=function(){return(z._free=z.asm.Vb).apply(null,arguments)},bt=function t(){It||y(),It||(bt=t)},z.run=y,z.preInit)for("function"==typeof z.preInit&&(z.preInit=[z.preInit]);0<z.preInit.length;)z.preInit.pop()();y(),l.prototype=Object.create(l.prototype),l.prototype.constructor=l,l.prototype.__class__=l,l.__cache__={},z.WrapperObject=l,z.getCache=f,z.wrapPointer=m,z.castObject=function(t,e){return m(t.ptr,e)},z.NULL=m(0),z.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete f(t.__class__)[t.ptr]},z.compare=function(t,e){return t.ptr===e.ptr},z.getPointer=function(t){return t.ptr},z.getClass=function(t){return t.__class__};var _n={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(_n.needed){for(var t=0;t<_n.temps.length;t++)z._free(_n.temps[t]);_n.temps.length=0,z._free(_n.buffer),_n.buffer=0,_n.size+=_n.needed,_n.needed=0}_n.buffer||(_n.size+=128,_n.buffer=z._malloc(_n.size),_n.buffer||i(void 0)),_n.pos=0},alloc:function(t,e){return _n.buffer||i(void 0),t=t.length*e.BYTES_PER_ELEMENT,t=t+7&-8,_n.pos+t>=_n.size?(0<t||i(void 0),_n.needed+=t,e=z._malloc(t),_n.temps.push(e)):(e=_n.buffer+_n.pos,_n.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,e.BYTES_PER_ELEMENT){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return h.prototype=Object.create(l.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},z.VoidPtr=h,h.prototype.__destroy__=h.prototype.__destroy__=function(){jt(this.ptr)},A.prototype=Object.create(l.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},z.DecoderBuffer=A,A.prototype.Init=A.prototype.Init=function(t,e){var r=this.ptr;_n.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"===typeof e&&(e=e.ptr),Gt(r,t,e)},A.prototype.__destroy__=A.prototype.__destroy__=function(){vt(this.ptr)},T.prototype=Object.create(l.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},z.AttributeTransformData=T,T.prototype.transform_type=T.prototype.transform_type=function(){return Pt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){Rt(this.ptr)},D.prototype=Object.create(l.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},z.GeometryAttribute=D,D.prototype.__destroy__=D.prototype.__destroy__=function(){gt(this.ptr)},I.prototype=Object.create(l.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},z.PointAttribute=I,I.prototype.size=I.prototype.size=function(){return Nt(this.ptr)},I.prototype.GetAttributeTransformData=I.prototype.GetAttributeTransformData=function(){return m(Ut(this.ptr),T)},I.prototype.attribute_type=I.prototype.attribute_type=function(){return Ft(this.ptr)},I.prototype.data_type=I.prototype.data_type=function(){return Ct(this.ptr)},I.prototype.num_components=I.prototype.num_components=function(){return Lt(this.ptr)},I.prototype.normalized=I.prototype.normalized=function(){return!!$t(this.ptr)},I.prototype.byte_stride=I.prototype.byte_stride=function(){return wt(this.ptr)},I.prototype.byte_offset=I.prototype.byte_offset=function(){return zt(this.ptr)},I.prototype.unique_id=I.prototype.unique_id=function(){return Vt(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Bt(this.ptr)},j.prototype=Object.create(l.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},z.AttributeQuantizationTransform=j,j.prototype.InitFromAttribute=j.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),!!kt(e,t)},j.prototype.quantization_bits=j.prototype.quantization_bits=function(){return Qt(this.ptr)},j.prototype.min_value=j.prototype.min_value=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),xt(e,t)},j.prototype.range=j.prototype.range=function(){return Yt(this.ptr)},j.prototype.__destroy__=j.prototype.__destroy__=function(){Ht(this.ptr)},E.prototype=Object.create(l.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},z.AttributeOctahedronTransform=E,E.prototype.InitFromAttribute=E.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),!!Xt(e,t)},E.prototype.quantization_bits=E.prototype.quantization_bits=function(){return Kt(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){Jt(this.ptr)},G.prototype=Object.create(l.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},z.PointCloud=G,G.prototype.num_attributes=G.prototype.num_attributes=function(){return te(this.ptr)},G.prototype.num_points=G.prototype.num_points=function(){return ee(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){re(this.ptr)},v.prototype=Object.create(l.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},z.Mesh=v,v.prototype.num_faces=v.prototype.num_faces=function(){return oe(this.ptr)},v.prototype.num_attributes=v.prototype.num_attributes=function(){return _e(this.ptr)},v.prototype.num_points=v.prototype.num_points=function(){return ie(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){pe(this.ptr)},O.prototype=Object.create(l.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},z.Metadata=O,O.prototype.__destroy__=O.prototype.__destroy__=function(){ce(this.ptr)},P.prototype=Object.create(l.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},z.Status=P,P.prototype.code=P.prototype.code=function(){return se(this.ptr)},P.prototype.ok=P.prototype.ok=function(){return!!ue(this.ptr)},P.prototype.error_msg=P.prototype.error_msg=function(){return o(ye(this.ptr))},P.prototype.__destroy__=P.prototype.__destroy__=function(){le(this.ptr)},R.prototype=Object.create(l.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},z.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),me(e,t)},R.prototype.size=R.prototype.size=function(){return de(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){be(this.ptr)},S.prototype=Object.create(l.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},z.DracoInt8Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),Ae(e,t)},S.prototype.size=S.prototype.size=function(){return Te(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){De(this.ptr)},g.prototype=Object.create(l.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},z.DracoUInt8Array=g,g.prototype.GetValue=g.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),je(e,t)},g.prototype.size=g.prototype.size=function(){return Ee(this.ptr)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Ge(this.ptr)},M.prototype=Object.create(l.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},z.DracoInt16Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),Oe(e,t)},M.prototype.size=M.prototype.size=function(){return Pe(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Re(this.ptr)},N.prototype=Object.create(l.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},z.DracoUInt16Array=N,N.prototype.GetValue=N.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),ge(e,t)},N.prototype.size=N.prototype.size=function(){return Me(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Ne(this.ptr)},U.prototype=Object.create(l.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},z.DracoInt32Array=U,U.prototype.GetValue=U.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),Fe(e,t)},U.prototype.size=U.prototype.size=function(){return Ce(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){Le(this.ptr)},F.prototype=Object.create(l.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},z.DracoUInt32Array=F,F.prototype.GetValue=F.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),we(e,t)},F.prototype.size=F.prototype.size=function(){return ze(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){Ve(this.ptr)},C.prototype=Object.create(l.prototype),C.prototype.constructor=C,C.prototype.__class__=C,C.__cache__={},z.MetadataQuerier=C,C.prototype.HasEntry=C.prototype.HasEntry=function(t,e){var r=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),!!We(r,t,e)},C.prototype.GetIntEntry=C.prototype.GetIntEntry=function(t,e){var r=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),ke(r,t,e)},C.prototype.GetIntEntryArray=C.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;_n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),r&&"object"===typeof r&&(r=r.ptr),Qe(n,t,e,r)},C.prototype.GetDoubleEntry=C.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),xe(r,t,e)},C.prototype.GetStringEntry=C.prototype.GetStringEntry=function(t,e){var r=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),o(Ye(r,t,e))},C.prototype.NumEntries=C.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),He(e,t)},C.prototype.GetEntryName=C.prototype.GetEntryName=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),o(qe(r,t,e))},C.prototype.__destroy__=C.prototype.__destroy__=function(){Xe(this.ptr)},L.prototype=Object.create(l.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},z.Decoder=L,L.prototype.DecodeArrayToPointCloud=L.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return _n.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),m(Je(n,t,e,r),P)},L.prototype.DecodeArrayToMesh=L.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return _n.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),m(Ze(n,t,e,r),P)},L.prototype.GetAttributeId=L.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),tr(r,t,e)},L.prototype.GetAttributeIdByName=L.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),er(r,t,e)},L.prototype.GetAttributeIdByMetadataEntry=L.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return _n.prepare(),t&&"object"===typeof t&&(t=t.ptr),e=e&&"object"===typeof e?e.ptr:d(e),r=r&&"object"===typeof r?r.ptr:d(r),rr(n,t,e,r)},L.prototype.GetAttribute=L.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),m(nr(r,t,e),I)},L.prototype.GetAttributeByUniqueId=L.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),m(or(r,t,e),I)},L.prototype.GetMetadata=L.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),m(_r(e,t),O)},L.prototype.GetAttributeMetadata=L.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),m(ir(r,t,e),O)},L.prototype.GetFaceFromMesh=L.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!pr(n,t,e,r)},L.prototype.GetTriangleStripsFromMesh=L.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),ar(r,t,e)},L.prototype.GetTrianglesUInt16Array=L.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!cr(n,t,e,r)},L.prototype.GetTrianglesUInt32Array=L.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!sr(n,t,e,r)},L.prototype.GetAttributeFloat=L.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!ur(n,t,e,r)},L.prototype.GetAttributeFloatForAllPoints=L.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!yr(n,t,e,r)},L.prototype.GetAttributeIntForAllPoints=L.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!lr(n,t,e,r)},L.prototype.GetAttributeInt8ForAllPoints=L.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!fr(n,t,e,r)},L.prototype.GetAttributeUInt8ForAllPoints=L.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!mr(n,t,e,r)},L.prototype.GetAttributeInt16ForAllPoints=L.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!dr(n,t,e,r)},L.prototype.GetAttributeUInt16ForAllPoints=L.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!br(n,t,e,r)},L.prototype.GetAttributeInt32ForAllPoints=L.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!hr(n,t,e,r)},L.prototype.GetAttributeUInt32ForAllPoints=L.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),!!Ar(n,t,e,r)},L.prototype.GetAttributeDataArrayForAllPoints=L.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),r&&"object"===typeof r&&(r=r.ptr),n&&"object"===typeof n&&(n=n.ptr),o&&"object"===typeof o&&(o=o.ptr),!!Tr(_,t,e,r,n,o)},L.prototype.SkipAttributeTransform=L.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"===typeof t&&(t=t.ptr),Dr(e,t)},L.prototype.GetEncodedGeometryType_Deprecated=L.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),Ir(e,t)},L.prototype.DecodeBufferToPointCloud=L.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),m(jr(r,t,e),P)},L.prototype.DecodeBufferToMesh=L.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"===typeof t&&(t=t.ptr),e&&"object"===typeof e&&(e=e.ptr),m(Er(r,t,e),P)},L.prototype.__destroy__=L.prototype.__destroy__=function(){Gr(this.ptr)},function(){function t(){z.ATTRIBUTE_INVALID_TRANSFORM=vr(),z.ATTRIBUTE_NO_TRANSFORM=Or(),z.ATTRIBUTE_QUANTIZATION_TRANSFORM=Pr(),z.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Rr(),z.INVALID=Sr(),z.POSITION=gr(),z.NORMAL=Mr(),z.COLOR=Nr(),z.TEX_COORD=Ur(),z.GENERIC=Fr(),z.INVALID_GEOMETRY_TYPE=Cr(),z.POINT_CLOUD=Lr(),z.TRIANGULAR_MESH=$r(),z.DT_INVALID=wr(),z.DT_INT8=zr(),z.DT_UINT8=Vr(),z.DT_INT16=Br(),z.DT_UINT16=Wr(),z.DT_INT32=kr(),z.DT_UINT32=Qr(),z.DT_INT64=xr(),z.DT_UINT64=Yr(),z.DT_FLOAT32=Hr(),z.DT_FLOAT64=qr(),z.DT_BOOL=Xr(),z.DT_TYPES_COUNT=Kr(),z.OK=Jr(),z.DRACO_ERROR=Zr(),z.IO_ERROR=tn(),z.INVALID_PARAMETER=en(),z.UNSUPPORTED_VERSION=rn(),z.UNKNOWN_VERSION=nn()}ft?t():yt.unshift(t)}(),"function"===typeof z.onModuleParsed&&z.onModuleParsed(),z.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===z.DecoderBuffer)return z.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return z.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return z.POINT_CLOUD;case 1:return z.TRIANGULAR_MESH;default:return z.INVALID_GEOMETRY_TYPE}},e.ready}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],(function(){return DracoDecoderModule})):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
\ No newline at end of file
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pako=t()}((function(){return function t(e,a,n){function r(s,h){if(!a[s]){if(!e[s]){var l="function"==typeof require&&require;if(!h&&l)return l(s,!0);if(i)return i(s,!0);var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}var _=a[s]={exports:{}};e[s][0].call(_.exports,(function(t){return r(e[s][1][t]||t)}),_,_.exports,t,e,a,n)}return a[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(t,e,a){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;a.assign=function(t){for(var e,a,n=Array.prototype.slice.call(arguments,1);n.length;){var r=n.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)e=r,a=i,Object.prototype.hasOwnProperty.call(e,a)&&(t[i]=r[i])}}return t},a.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,a,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(a,a+n),r);else for(var i=0;i<n;i++)t[r+i]=e[a+i]},flattenChunks:function(t){var e,a,n,r,i,s;for(e=n=0,a=t.length;e<a;e++)n+=t[e].length;for(s=new Uint8Array(n),e=r=0,a=t.length;e<a;e++)i=t[e],s.set(i,r),r+=i.length;return s}},i={arraySet:function(t,e,a,n,r){for(var i=0;i<n;i++)t[r+i]=e[a+i]},flattenChunks:function(t){return[].concat.apply([],t)}};a.setTyped=function(t){t?(a.Buf8=Uint8Array,a.Buf16=Uint16Array,a.Buf32=Int32Array,a.assign(a,r)):(a.Buf8=Array,a.Buf16=Array,a.Buf32=Array,a.assign(a,i))},a.setTyped(n)},{}],2:[function(t,e,a){"use strict";var n=t("./common"),r=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(t){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){i=!1}for(var s=new n.Buf8(256),h=0;h<256;h++)s[h]=252<=h?6:248<=h?5:240<=h?4:224<=h?3:192<=h?2:1;function l(t,e){if(e<65534&&(t.subarray&&i||!t.subarray&&r))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var a="",s=0;s<e;s++)a+=String.fromCharCode(t[s]);return a}s[254]=s[254]=1,a.string2buf=function(t){var e,a,r,i,s,h=t.length,l=0;for(i=0;i<h;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<h&&56320==(64512&(r=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(r-56320),i++),l+=a<128?1:a<2048?2:a<65536?3:4;for(e=new n.Buf8(l),i=s=0;s<l;i++)55296==(64512&(a=t.charCodeAt(i)))&&i+1<h&&56320==(64512&(r=t.charCodeAt(i+1)))&&(a=65536+(a-55296<<10)+(r-56320),i++),a<128?e[s++]=a:(a<2048?e[s++]=192|a>>>6:(a<65536?e[s++]=224|a>>>12:(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63),e[s++]=128|a>>>6&63),e[s++]=128|63&a);return e},a.buf2binstring=function(t){return l(t,t.length)},a.binstring2buf=function(t){for(var e=new n.Buf8(t.length),a=0,r=e.length;a<r;a++)e[a]=t.charCodeAt(a);return e},a.buf2string=function(t,e){var a,n,r,i,h=e||t.length,o=new Array(2*h);for(a=n=0;a<h;)if((r=t[a++])<128)o[n++]=r;else if(4<(i=s[r]))o[n++]=65533,a+=i-1;else{for(r&=2===i?31:3===i?15:7;1<i&&a<h;)r=r<<6|63&t[a++],i--;1<i?o[n++]=65533:r<65536?o[n++]=r:(r-=65536,o[n++]=55296|r>>10&1023,o[n++]=56320|1023&r)}return l(o,n)},a.utf8border=function(t,e){var a;for((e=e||t.length)>t.length&&(e=t.length),a=e-1;0<=a&&128==(192&t[a]);)a--;return a<0||0===a?e:a+s[t[a]]>e?a:e}},{"./common":1}],3:[function(t,e,a){"use strict";e.exports=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){for(a-=s=2e3<a?2e3:a;i=i+(r=r+e[n++]|0)|0,--s;);r%=65521,i%=65521}return r|i<<16|0}},{}],4:[function(t,e,a){"use strict";var n=function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}();e.exports=function(t,e,a,r){var i=n,s=r+a;t^=-1;for(var h=r;h<s;h++)t=t>>>8^i[255&(t^e[h])];return-1^t}},{}],5:[function(t,e,a){"use strict";var n,r=t("../utils/common"),i=t("./trees"),s=t("./adler32"),h=t("./crc32"),l=t("./messages"),o=0,_=4,d=0,u=-2,f=-1,c=4,p=2,g=8,m=9,b=286,v=30,w=19,y=2*b+1,k=15,z=3,x=258,B=x+z+1,A=42,C=113,S=1,j=2,E=3,U=4;function D(t,e){return t.msg=l[e],e}function I(t){return(t<<1)-(4<t?9:0)}function O(t){for(var e=t.length;0<=--e;)t[e]=0}function q(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(r.arraySet(t.output,e.pending_buf,e.pending_out,a,t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))}function T(t,e){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,q(t.strm)}function L(t,e){t.pending_buf[t.pending++]=e}function N(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-B?t.strstart-(t.w_size-B):0,o=t.window,_=t.w_mask,d=t.prev,u=t.strstart+x,f=o[i+s-1],c=o[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(o[(a=e)+s]===c&&o[a+s-1]===f&&o[a]===o[i]&&o[++a]===o[i+1]){i+=2,a++;do{}while(o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&o[++i]===o[++a]&&i<u);if(n=x-(u-i),i=u-x,s<n){if(t.match_start=e,h<=(s=n))break;f=o[i+s-1],c=o[i+s]}}}while((e=d[e&_])>l&&0!=--r);return s<=t.lookahead?s:t.lookahead}function H(t){var e,a,n,i,l,o,_,d,u,f,c=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-B)){for(r.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=a=t.hash_size;n=t.head[--e],t.head[e]=c<=n?n-c:0,--a;);for(e=a=c;n=t.prev[--e],t.prev[e]=c<=n?n-c:0,--a;);i+=c}if(0===t.strm.avail_in)break;if(o=t.strm,_=t.window,d=t.strstart+t.lookahead,u=i,f=void 0,f=o.avail_in,u<f&&(f=u),a=0===f?0:(o.avail_in-=f,r.arraySet(_,o.input,o.next_in,f,d),1===o.state.wrap?o.adler=s(o.adler,_,f,d):2===o.state.wrap&&(o.adler=h(o.adler,_,f,d)),o.next_in+=f,o.total_in+=f,f),t.lookahead+=a,t.lookahead+t.insert>=z)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+z-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<z)););}while(t.lookahead<B&&0!==t.strm.avail_in)}function F(t,e){for(var a,n;;){if(t.lookahead<B){if(H(t),t.lookahead<B&&e===o)return S;if(0===t.lookahead)break}if(a=0,t.lookahead>=z&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+z-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-B&&(t.match_length=R(t,a)),t.match_length>=z)if(n=i._tr_tally(t,t.strstart-t.match_start,t.match_length-z),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=z){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+z-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(T(t,!1),0===t.strm.avail_out))return S}return t.insert=t.strstart<z-1?t.strstart:z-1,e===_?(T(t,!0),0===t.strm.avail_out?E:U):t.last_lit&&(T(t,!1),0===t.strm.avail_out)?S:j}function K(t,e){for(var a,n,r;;){if(t.lookahead<B){if(H(t),t.lookahead<B&&e===o)return S;if(0===t.lookahead)break}if(a=0,t.lookahead>=z&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+z-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=z-1,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-B&&(t.match_length=R(t,a),t.match_length<=5&&(1===t.strategy||t.match_length===z&&4096<t.strstart-t.match_start)&&(t.match_length=z-1)),t.prev_length>=z&&t.match_length<=t.prev_length){for(r=t.strstart+t.lookahead-z,n=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-z),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+z-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=z-1,t.strstart++,n&&(T(t,!1),0===t.strm.avail_out))return S}else if(t.match_available){if((n=i._tr_tally(t,0,t.window[t.strstart-1]))&&T(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return S}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<z-1?t.strstart:z-1,e===_?(T(t,!0),0===t.strm.avail_out?E:U):t.last_lit&&(T(t,!1),0===t.strm.avail_out)?S:j}function M(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}function P(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*y),this.dyn_dtree=new r.Buf16(2*(2*v+1)),this.bl_tree=new r.Buf16(2*(2*w+1)),O(this.dyn_ltree),O(this.dyn_dtree),O(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(k+1),this.heap=new r.Buf16(2*b+1),O(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*b+1),O(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=p,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?A:C,t.adler=2===e.wrap?0:1,e.last_flush=o,i._tr_init(e),d):D(t,u)}function J(t){var e,a=G(t);return a===d&&((e=t.state).window_size=2*e.w_size,O(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=z-1,e.match_available=0,e.ins_h=0),a}function Q(t,e,a,n,i,s){if(!t)return u;var h=1;if(e===f&&(e=6),n<0?(h=0,n=-n):15<n&&(h=2,n-=16),i<1||m<i||a!==g||n<8||15<n||e<0||9<e||s<0||c<s)return D(t,u);8===n&&(n=9);var l=new P;return(t.state=l).strm=t,l.wrap=h,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+z-1)/z),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=s,l.method=a,J(t)}n=[new M(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(H(t),0===t.lookahead&&e===o)return S;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,T(t,!1),0===t.strm.avail_out))return S;if(t.strstart-t.block_start>=t.w_size-B&&(T(t,!1),0===t.strm.avail_out))return S}return t.insert=0,e===_?(T(t,!0),0===t.strm.avail_out?E:U):(t.strstart>t.block_start&&(T(t,!1),t.strm.avail_out),S)})),new M(4,4,8,4,F),new M(4,5,16,8,F),new M(4,6,32,32,F),new M(4,4,16,16,K),new M(8,16,32,32,K),new M(8,16,128,128,K),new M(8,32,128,256,K),new M(32,128,258,1024,K),new M(32,258,258,4096,K)],a.deflateInit=function(t,e){return Q(t,e,g,15,8,0)},a.deflateInit2=Q,a.deflateReset=J,a.deflateResetKeep=G,a.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?u:(t.state.gzhead=e,d):u},a.deflate=function(t,e){var a,r,s,l;if(!t||!t.state||5<e||e<0)return t?D(t,u):u;if(r=t.state,!t.output||!t.input&&0!==t.avail_in||666===r.status&&e!==_)return D(t,0===t.avail_out?-5:u);if(r.strm=t,a=r.last_flush,r.last_flush=e,r.status===A)if(2===r.wrap)t.adler=0,L(r,31),L(r,139),L(r,8),r.gzhead?(L(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),L(r,255&r.gzhead.time),L(r,r.gzhead.time>>8&255),L(r,r.gzhead.time>>16&255),L(r,r.gzhead.time>>24&255),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(L(r,255&r.gzhead.extra.length),L(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=h(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(L(r,0),L(r,0),L(r,0),L(r,0),L(r,0),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,3),r.status=C);else{var f=g+(r.w_bits-8<<4)<<8;f|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(f|=32),f+=31-f%31,r.status=C,N(r,f),0!==r.strstart&&(N(r,t.adler>>>16),N(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),q(t),s=r.pending,r.pending!==r.pending_buf_size));)L(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),q(t),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}L(r,l=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0)}while(0!==l);r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),q(t),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}L(r,l=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0)}while(0!==l);r.gzhead.hcrc&&r.pending>s&&(t.adler=h(t.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&q(t),r.pending+2<=r.pending_buf_size&&(L(r,255&t.adler),L(r,t.adler>>8&255),t.adler=0,r.status=C)):r.status=C),0!==r.pending){if(q(t),0===t.avail_out)return r.last_flush=-1,d}else if(0===t.avail_in&&I(e)<=I(a)&&e!==_)return D(t,-5);if(666===r.status&&0!==t.avail_in)return D(t,-5);if(0!==t.avail_in||0!==r.lookahead||e!==o&&666!==r.status){var c=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(H(t),0===t.lookahead)){if(e===o)return S;break}if(t.match_length=0,a=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(T(t,!1),0===t.strm.avail_out))return S}return t.insert=0,e===_?(T(t,!0),0===t.strm.avail_out?E:U):t.last_lit&&(T(t,!1),0===t.strm.avail_out)?S:j}(r,e):3===r.strategy?function(t,e){for(var a,n,r,s,h=t.window;;){if(t.lookahead<=x){if(H(t),t.lookahead<=x&&e===o)return S;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=z&&0<t.strstart&&(n=h[r=t.strstart-1])===h[++r]&&n===h[++r]&&n===h[++r]){s=t.strstart+x;do{}while(n===h[++r]&&n===h[++r]&&n===h[++r]&&n===h[++r]&&n===h[++r]&&n===h[++r]&&n===h[++r]&&n===h[++r]&&r<s);t.match_length=x-(s-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=z?(a=i._tr_tally(t,1,t.match_length-z),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(T(t,!1),0===t.strm.avail_out))return S}return t.insert=0,e===_?(T(t,!0),0===t.strm.avail_out?E:U):t.last_lit&&(T(t,!1),0===t.strm.avail_out)?S:j}(r,e):n[r.level].func(r,e);if(c!==E&&c!==U||(r.status=666),c===S||c===E)return 0===t.avail_out&&(r.last_flush=-1),d;if(c===j&&(1===e?i._tr_align(r):5!==e&&(i._tr_stored_block(r,0,0,!1),3===e&&(O(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),q(t),0===t.avail_out))return r.last_flush=-1,d}return e!==_?d:r.wrap<=0?1:(2===r.wrap?(L(r,255&t.adler),L(r,t.adler>>8&255),L(r,t.adler>>16&255),L(r,t.adler>>24&255),L(r,255&t.total_in),L(r,t.total_in>>8&255),L(r,t.total_in>>16&255),L(r,t.total_in>>24&255)):(N(r,t.adler>>>16),N(r,65535&t.adler)),q(t),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending?d:1)},a.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==A&&69!==e&&73!==e&&91!==e&&103!==e&&e!==C&&666!==e?D(t,u):(t.state=null,e===C?D(t,-3):d):u},a.deflateSetDictionary=function(t,e){var a,n,i,h,l,o,_,f,c=e.length;if(!t||!t.state)return u;if(2===(h=(a=t.state).wrap)||1===h&&a.status!==A||a.lookahead)return u;for(1===h&&(t.adler=s(t.adler,e,c,0)),a.wrap=0,c>=a.w_size&&(0===h&&(O(a.head),a.strstart=0,a.block_start=0,a.insert=0),f=new r.Buf8(a.w_size),r.arraySet(f,e,c-a.w_size,a.w_size,0),e=f,c=a.w_size),l=t.avail_in,o=t.next_in,_=t.input,t.avail_in=c,t.next_in=0,t.input=e,H(a);a.lookahead>=z;){for(n=a.strstart,i=a.lookahead-(z-1);a.ins_h=(a.ins_h<<a.hash_shift^a.window[n+z-1])&a.hash_mask,a.prev[n&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=n,n++,--i;);a.strstart=n,a.lookahead=z-1,H(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=z-1,a.match_available=0,t.next_in=o,t.input=_,t.avail_in=l,a.wrap=h,d},a.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":4,"./messages":6,"./trees":7}],6:[function(t,e,a){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],7:[function(t,e,a){"use strict";var n=t("../utils/common"),r=0,i=1;function s(t){for(var e=t.length;0<=--e;)t[e]=0}var h=0,l=29,o=256,_=o+1+l,d=30,u=19,f=2*_+1,c=15,p=16,g=7,m=256,b=16,v=17,w=18,y=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=new Array(2*(_+2));s(B);var A=new Array(2*d);s(A);var C=new Array(512);s(C);var S=new Array(256);s(S);var j=new Array(l);s(j);var E,U,D,I=new Array(d);function O(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function q(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function T(t){return t<256?C[t]:C[256+(t>>>7)]}function L(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function N(t,e,a){t.bi_valid>p-a?(t.bi_buf|=e<<t.bi_valid&65535,L(t,t.bi_buf),t.bi_buf=e>>p-t.bi_valid,t.bi_valid+=a-p):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)}function R(t,e,a){N(t,a[2*e],a[2*e+1])}function H(t,e){for(var a=0;a|=1&t,t>>>=1,a<<=1,0<--e;);return a>>>1}function F(t,e,a){var n,r,i=new Array(c+1),s=0;for(n=1;n<=c;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=H(i[h]++,h))}}function K(t){var e;for(e=0;e<_;e++)t.dyn_ltree[2*e]=0;for(e=0;e<d;e++)t.dyn_dtree[2*e]=0;for(e=0;e<u;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*m]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function M(t){8<t.bi_valid?L(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function P(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]}function G(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&P(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!P(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n}function J(t,e,a){var n,r,i,s,h=0;if(0!==t.last_lit)for(;n=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],r=t.pending_buf[t.l_buf+h],h++,0===n?R(t,r,e):(R(t,(i=S[r])+o+1,e),0!==(s=y[i])&&N(t,r-=j[i],s),R(t,i=T(--n),a),0!==(s=k[i])&&N(t,n-=I[i],s)),h<t.last_lit;);R(t,m,e)}function Q(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=f,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;1<=a;a--)G(t,i,a);for(r=l;a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],G(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,G(t,i,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,o=e.max_code,_=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,g=e.stat_desc.max_length,m=0;for(i=0;i<=c;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<f;a++)g<(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)&&(i=g,m++),l[2*n+1]=i,o<n||(t.bl_count[i]++,s=0,p<=n&&(s=u[n-p]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(_[2*n+1]+s)));if(0!==m){do{for(i=g-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[g]--,m-=2}while(0<m);for(i=g;0!==i;i--)for(n=t.bl_count[i];0!==n;)o<(r=t.heap[--a])||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),F(i,o,t.bl_count)}function V(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,o=4;for(0===s&&(l=138,o=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<o?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[2*b]++):h<=10?t.bl_tree[2*v]++:t.bl_tree[2*w]++,i=r,(h=0)===s?(l=138,o=3):r===s?(l=6,o=3):(l=7,o=4))}function W(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,o=4;for(0===s&&(l=138,o=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<o)for(;R(t,r,t.bl_tree),0!=--h;);else 0!==r?(r!==i&&(R(t,r,t.bl_tree),h--),R(t,b,t.bl_tree),N(t,h-3,2)):h<=10?(R(t,v,t.bl_tree),N(t,h-3,3)):(R(t,w,t.bl_tree),N(t,h-11,7));i=r,(h=0)===s?(l=138,o=3):r===s?(l=6,o=3):(l=7,o=4)}}s(I);var X=!1;function Y(t,e,a,r){var i,s,l,o;N(t,(h<<1)+(r?1:0),3),s=e,l=a,o=!0,M(i=t),o&&(L(i,l),L(i,~l)),n.arraySet(i.pending_buf,i.window,s,l,i.pending),i.pending+=l}a._tr_init=function(t){X||(function(){var t,e,a,n,r,i=new Array(c+1);for(n=a=0;n<l-1;n++)for(j[n]=a,t=0;t<1<<y[n];t++)S[a++]=n;for(S[a-1]=n,n=r=0;n<16;n++)for(I[n]=r,t=0;t<1<<k[n];t++)C[r++]=n;for(r>>=7;n<d;n++)for(I[n]=r<<7,t=0;t<1<<k[n]-7;t++)C[256+r++]=n;for(e=0;e<=c;e++)i[e]=0;for(t=0;t<=143;)B[2*t+1]=8,t++,i[8]++;for(;t<=255;)B[2*t+1]=9,t++,i[9]++;for(;t<=279;)B[2*t+1]=7,t++,i[7]++;for(;t<=287;)B[2*t+1]=8,t++,i[8]++;for(F(B,_+1,i),t=0;t<d;t++)A[2*t+1]=5,A[2*t]=H(t,5);E=new O(B,y,o+1,_,c),U=new O(A,k,0,d,c),D=new O(new Array(0),z,0,u,g)}(),X=!0),t.l_desc=new q(t.dyn_ltree,E),t.d_desc=new q(t.dyn_dtree,U),t.bl_desc=new q(t.bl_tree,D),t.bi_buf=0,t.bi_valid=0,K(t)},a._tr_stored_block=Y,a._tr_flush_block=function(t,e,a,n){var s,h,l=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return r;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return i;for(e=32;e<o;e++)if(0!==t.dyn_ltree[2*e])return i;return r}(t)),Q(t,t.l_desc),Q(t,t.d_desc),l=function(t){var e;for(V(t,t.dyn_ltree,t.l_desc.max_code),V(t,t.dyn_dtree,t.d_desc.max_code),Q(t,t.bl_desc),e=u-1;3<=e&&0===t.bl_tree[2*x[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),s=t.opt_len+3+7>>>3,(h=t.static_len+3+7>>>3)<=s&&(s=h)):s=h=a+5,a+4<=s&&-1!==e?Y(t,e,a,n):4===t.strategy||h===s?(N(t,2+(n?1:0),3),J(t,B,A)):(N(t,4+(n?1:0),3),function(t,e,a,n){var r;for(N(t,e-257,5),N(t,a-1,5),N(t,n-4,4),r=0;r<n;r++)N(t,t.bl_tree[2*x[r]+1],3);W(t,t.dyn_ltree,e-1),W(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,l+1),J(t,t.dyn_ltree,t.dyn_dtree)),K(t),n&&M(t)},a._tr_tally=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(S[a]+o+1)]++,t.dyn_dtree[2*T(e)]++),t.last_lit===t.lit_bufsize-1},a._tr_align=function(t){var e;N(t,2,3),R(t,m,B),16===(e=t).bi_valid?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":1}],8:[function(t,e,a){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/deflate.js":[function(t,e,a){"use strict";var n=t("./zlib/deflate"),r=t("./utils/common"),i=t("./utils/strings"),s=t("./zlib/messages"),h=t("./zlib/zstream"),l=Object.prototype.toString,o=0,_=-1,d=0,u=8;function f(t){if(!(this instanceof f))return new f(t);this.options=r.assign({level:_,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var a=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==o)throw new Error(s[a]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var c;if(c="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(a=n.deflateSetDictionary(this.strm,c))!==o)throw new Error(s[a]);this._dict_set=!0}}function c(t,e){var a=new f(e);if(a.push(t,!0),a.err)throw a.msg||s[a.err];return a.result}f.prototype.push=function(t,e){var a,s,h=this.strm,_=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?4:0,"string"==typeof t?h.input=i.string2buf(t):"[object ArrayBuffer]"===l.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new r.Buf8(_),h.next_out=0,h.avail_out=_),1!==(a=n.deflate(h,s))&&a!==o)return this.onEnd(a),!(this.ended=!0);0!==h.avail_out&&(0!==h.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(i.buf2binstring(r.shrinkBuf(h.output,h.next_out))):this.onData(r.shrinkBuf(h.output,h.next_out)))}while((0<h.avail_in||0===h.avail_out)&&1!==a);return 4===s?(a=n.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===o):2!==s||(this.onEnd(o),!(h.avail_out=0))},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===o&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},a.Deflate=f,a.deflate=c,a.deflateRaw=function(t,e){return(e=e||{}).raw=!0,c(t,e)},a.gzip=function(t,e){return(e=e||{}).gzip=!0,c(t,e)}},{"./utils/common":1,"./utils/strings":2,"./zlib/deflate":5,"./zlib/messages":6,"./zlib/zstream":8}]},{},[])("/lib/deflate.js")}));
\ No newline at end of file
!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pako=e()}((function(){return function e(t,i,n){function a(o,s){if(!i[o]){if(!t[o]){var f="function"==typeof require&&require;if(!s&&f)return f(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[o]={exports:{}};t[o][0].call(d.exports,(function(e){return a(t[o][1][e]||e)}),d,d.exports,e,t,i,n)}return i[o].exports}for(var r="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(e,t,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(e){for(var t,i,n=Array.prototype.slice.call(arguments,1);n.length;){var a=n.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(var r in a)t=a,i=r,Object.prototype.hasOwnProperty.call(t,i)&&(e[r]=a[r])}}return e},i.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,i,n,a){if(t.subarray&&e.subarray)e.set(t.subarray(i,i+n),a);else for(var r=0;r<n;r++)e[a+r]=t[i+r]},flattenChunks:function(e){var t,i,n,a,r,o;for(t=n=0,i=e.length;t<i;t++)n+=e[t].length;for(o=new Uint8Array(n),t=a=0,i=e.length;t<i;t++)r=e[t],o.set(r,a),a+=r.length;return o}},r={arraySet:function(e,t,i,n,a){for(var r=0;r<n;r++)e[a+r]=t[i+r]},flattenChunks:function(e){return[].concat.apply([],e)}};i.setTyped=function(e){e?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,r))},i.setTyped(n)},{}],2:[function(e,t,i){"use strict";var n=e("./common"),a=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){r=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function f(e,t){if(t<65534&&(e.subarray&&r||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var i="",o=0;o<t;o++)i+=String.fromCharCode(e[o]);return i}o[254]=o[254]=1,i.string2buf=function(e){var t,i,a,r,o,s=e.length,f=0;for(r=0;r<s;r++)55296==(64512&(i=e.charCodeAt(r)))&&r+1<s&&56320==(64512&(a=e.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(a-56320),r++),f+=i<128?1:i<2048?2:i<65536?3:4;for(t=new n.Buf8(f),r=o=0;o<f;r++)55296==(64512&(i=e.charCodeAt(r)))&&r+1<s&&56320==(64512&(a=e.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(a-56320),r++),i<128?t[o++]=i:(i<2048?t[o++]=192|i>>>6:(i<65536?t[o++]=224|i>>>12:(t[o++]=240|i>>>18,t[o++]=128|i>>>12&63),t[o++]=128|i>>>6&63),t[o++]=128|63&i);return t},i.buf2binstring=function(e){return f(e,e.length)},i.binstring2buf=function(e){for(var t=new n.Buf8(e.length),i=0,a=t.length;i<a;i++)t[i]=e.charCodeAt(i);return t},i.buf2string=function(e,t){var i,n,a,r,s=t||e.length,l=new Array(2*s);for(i=n=0;i<s;)if((a=e[i++])<128)l[n++]=a;else if(4<(r=o[a]))l[n++]=65533,i+=r-1;else{for(a&=2===r?31:3===r?15:7;1<r&&i<s;)a=a<<6|63&e[i++],r--;1<r?l[n++]=65533:a<65536?l[n++]=a:(a-=65536,l[n++]=55296|a>>10&1023,l[n++]=56320|1023&a)}return f(l,n)},i.utf8border=function(e,t){var i;for((t=t||e.length)>e.length&&(t=e.length),i=t-1;0<=i&&128==(192&e[i]);)i--;return i<0||0===i?t:i+o[e[i]]>t?i:t}},{"./common":1}],3:[function(e,t,i){"use strict";t.exports=function(e,t,i,n){for(var a=65535&e|0,r=e>>>16&65535|0,o=0;0!==i;){for(i-=o=2e3<i?2e3:i;r=r+(a=a+t[n++]|0)|0,--o;);a%=65521,r%=65521}return a|r<<16|0}},{}],4:[function(e,t,i){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(e,t,i){"use strict";var n=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();t.exports=function(e,t,i,a){var r=n,o=a+i;e^=-1;for(var s=a;s<o;s++)e=e>>>8^r[255&(e^t[s])];return-1^e}},{}],6:[function(e,t,i){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(e,t,i){"use strict";t.exports=function(e,t){var i,n,a,r,o,s,f,l,d,c,u,h,b,m,w,k,_,g,v,p,x,y,S,E,Z;i=e.state,n=e.next_in,E=e.input,a=n+(e.avail_in-5),r=e.next_out,Z=e.output,o=r-(t-e.avail_out),s=r+(e.avail_out-257),f=i.dmax,l=i.wsize,d=i.whave,c=i.wnext,u=i.window,h=i.hold,b=i.bits,m=i.lencode,w=i.distcode,k=(1<<i.lenbits)-1,_=(1<<i.distbits)-1;e:do{b<15&&(h+=E[n++]<<b,b+=8,h+=E[n++]<<b,b+=8),g=m[h&k];t:for(;;){if(h>>>=v=g>>>24,b-=v,0===(v=g>>>16&255))Z[r++]=65535&g;else{if(!(16&v)){if(0==(64&v)){g=m[(65535&g)+(h&(1<<v)-1)];continue t}if(32&v){i.mode=12;break e}e.msg="invalid literal/length code",i.mode=30;break e}p=65535&g,(v&=15)&&(b<v&&(h+=E[n++]<<b,b+=8),p+=h&(1<<v)-1,h>>>=v,b-=v),b<15&&(h+=E[n++]<<b,b+=8,h+=E[n++]<<b,b+=8),g=w[h&_];i:for(;;){if(h>>>=v=g>>>24,b-=v,!(16&(v=g>>>16&255))){if(0==(64&v)){g=w[(65535&g)+(h&(1<<v)-1)];continue i}e.msg="invalid distance code",i.mode=30;break e}if(x=65535&g,b<(v&=15)&&(h+=E[n++]<<b,(b+=8)<v&&(h+=E[n++]<<b,b+=8)),f<(x+=h&(1<<v)-1)){e.msg="invalid distance too far back",i.mode=30;break e}if(h>>>=v,b-=v,(v=r-o)<x){if(d<(v=x-v)&&i.sane){e.msg="invalid distance too far back",i.mode=30;break e}if(S=u,(y=0)===c){if(y+=l-v,v<p){for(p-=v;Z[r++]=u[y++],--v;);y=r-x,S=Z}}else if(c<v){if(y+=l+c-v,(v-=c)<p){for(p-=v;Z[r++]=u[y++],--v;);if(y=0,c<p){for(p-=v=c;Z[r++]=u[y++],--v;);y=r-x,S=Z}}}else if(y+=c-v,v<p){for(p-=v;Z[r++]=u[y++],--v;);y=r-x,S=Z}for(;2<p;)Z[r++]=S[y++],Z[r++]=S[y++],Z[r++]=S[y++],p-=3;p&&(Z[r++]=S[y++],1<p&&(Z[r++]=S[y++]))}else{for(y=r-x;Z[r++]=Z[y++],Z[r++]=Z[y++],Z[r++]=Z[y++],2<(p-=3););p&&(Z[r++]=Z[y++],1<p&&(Z[r++]=Z[y++]))}break}}break}}while(n<a&&r<s);n-=p=b>>3,h&=(1<<(b-=p<<3))-1,e.next_in=n,e.next_out=r,e.avail_in=n<a?a-n+5:5-(n-a),e.avail_out=r<s?s-r+257:257-(r-s),i.hold=h,i.bits=b}},{}],8:[function(e,t,i){"use strict";var n=e("../utils/common"),a=e("./adler32"),r=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),f=1,l=2,d=0,c=-2,u=1,h=852,b=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function w(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=u,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(h),t.distcode=t.distdyn=new n.Buf32(b),t.sane=1,t.back=-1,d):c}function _(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,k(e)):c}function g(e,t){var i,n;return e&&e.state?(n=e.state,t<0?(i=0,t=-t):(i=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?c:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,_(e))):c}function v(e,t){var i,n;return e?(n=new w,(e.state=n).window=null,(i=g(e,t))!==d&&(e.state=null),i):c}var p,x,y=!0;function S(e){if(y){var t;for(p=new n.Buf32(512),x=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(f,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,x,0,e.work,{bits:5}),y=!1}e.lencode=p,e.lenbits=9,e.distcode=x,e.distbits=5}function E(e,t,i,a){var r,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),a>=o.wsize?(n.arraySet(o.window,t,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a<(r=o.wsize-o.wnext)&&(r=a),n.arraySet(o.window,t,i-a,r,o.wnext),(a-=r)?(n.arraySet(o.window,t,i-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0}i.inflateReset=_,i.inflateReset2=g,i.inflateResetKeep=k,i.inflateInit=function(e){return v(e,15)},i.inflateInit2=v,i.inflate=function(e,t){var i,h,b,w,k,_,g,v,p,x,y,Z,B,A,z,R,N,O,C,I,D,T,U,F,L=0,H=new n.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return c;12===(i=e.state).mode&&(i.mode=13),k=e.next_out,b=e.output,g=e.avail_out,w=e.next_in,h=e.input,_=e.avail_in,v=i.hold,p=i.bits,x=_,y=g,T=d;e:for(;;)switch(i.mode){case u:if(0===i.wrap){i.mode=13;break}for(;p<16;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(2&i.wrap&&35615===v){H[i.check=0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0),p=v=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&v)<<8)+(v>>8))%31){e.msg="incorrect header check",i.mode=30;break}if(8!=(15&v)){e.msg="unknown compression method",i.mode=30;break}if(p-=4,D=8+(15&(v>>>=4)),0===i.wbits)i.wbits=D;else if(D>i.wbits){e.msg="invalid window size",i.mode=30;break}i.dmax=1<<D,e.adler=i.check=1,i.mode=512&v?10:12,p=v=0;break;case 2:for(;p<16;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(i.flags=v,8!=(255&i.flags)){e.msg="unknown compression method",i.mode=30;break}if(57344&i.flags){e.msg="unknown header flags set",i.mode=30;break}i.head&&(i.head.text=v>>8&1),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0)),p=v=0,i.mode=3;case 3:for(;p<32;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.head&&(i.head.time=v),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,H[2]=v>>>16&255,H[3]=v>>>24&255,i.check=r(i.check,H,4,0)),p=v=0,i.mode=4;case 4:for(;p<16;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.head&&(i.head.xflags=255&v,i.head.os=v>>8),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0)),p=v=0,i.mode=5;case 5:if(1024&i.flags){for(;p<16;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.length=v,i.head&&(i.head.extra_len=v),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0)),p=v=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&(_<(Z=i.length)&&(Z=_),Z&&(i.head&&(D=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,h,w,Z,D)),512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,i.length-=Z),i.length))break e;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===_)break e;for(Z=0;D=h[w+Z++],i.head&&D&&i.length<65536&&(i.head.name+=String.fromCharCode(D)),D&&Z<_;);if(512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,D)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===_)break e;for(Z=0;D=h[w+Z++],i.head&&D&&i.length<65536&&(i.head.comment+=String.fromCharCode(D)),D&&Z<_;);if(512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,D)break e}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;p<16;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(v!==(65535&i.check)){e.msg="header crc mismatch",i.mode=30;break}p=v=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=12;break;case 10:for(;p<32;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}e.adler=i.check=m(v),p=v=0,i.mode=11;case 11:if(0===i.havedict)return e.next_out=k,e.avail_out=g,e.next_in=w,e.avail_in=_,i.hold=v,i.bits=p,2;e.adler=i.check=1,i.mode=12;case 12:if(5===t||6===t)break e;case 13:if(i.last){v>>>=7&p,p-=7&p,i.mode=27;break}for(;p<3;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}switch(i.last=1&v,p-=1,3&(v>>>=1)){case 0:i.mode=14;break;case 1:if(S(i),i.mode=20,6!==t)break;v>>>=2,p-=2;break e;case 2:i.mode=17;break;case 3:e.msg="invalid block type",i.mode=30}v>>>=2,p-=2;break;case 14:for(v>>>=7&p,p-=7&p;p<32;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if((65535&v)!=(v>>>16^65535)){e.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&v,p=v=0,i.mode=15,6===t)break e;case 15:i.mode=16;case 16:if(Z=i.length){if(_<Z&&(Z=_),g<Z&&(Z=g),0===Z)break e;n.arraySet(b,h,w,Z,k),_-=Z,w+=Z,g-=Z,k+=Z,i.length-=Z;break}i.mode=12;break;case 17:for(;p<14;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(i.nlen=257+(31&v),v>>>=5,p-=5,i.ndist=1+(31&v),v>>>=5,p-=5,i.ncode=4+(15&v),v>>>=4,p-=4,286<i.nlen||30<i.ndist){e.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;p<3;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.lens[j[i.have++]]=7&v,v>>>=3,p-=3}for(;i.have<19;)i.lens[j[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,U={bits:i.lenbits},T=s(0,i.lens,0,19,i.lencode,0,i.work,U),i.lenbits=U.bits,T){e.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;R=(L=i.lencode[v&(1<<i.lenbits)-1])>>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(N<16)v>>>=z,p-=z,i.lens[i.have++]=N;else{if(16===N){for(F=z+2;p<F;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(v>>>=z,p-=z,0===i.have){e.msg="invalid bit length repeat",i.mode=30;break}D=i.lens[i.have-1],Z=3+(3&v),v>>>=2,p-=2}else if(17===N){for(F=z+3;p<F;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}p-=z,D=0,Z=3+(7&(v>>>=z)),v>>>=3,p-=3}else{for(F=z+7;p<F;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}p-=z,D=0,Z=11+(127&(v>>>=z)),v>>>=7,p-=7}if(i.have+Z>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=30;break}for(;Z--;)i.lens[i.have++]=D}}if(30===i.mode)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,U={bits:i.lenbits},T=s(f,i.lens,0,i.nlen,i.lencode,0,i.work,U),i.lenbits=U.bits,T){e.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,U={bits:i.distbits},T=s(l,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,U),i.distbits=U.bits,T){e.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===t)break e;case 20:i.mode=21;case 21:if(6<=_&&258<=g){e.next_out=k,e.avail_out=g,e.next_in=w,e.avail_in=_,i.hold=v,i.bits=p,o(e,y),k=e.next_out,b=e.output,g=e.avail_out,w=e.next_in,h=e.input,_=e.avail_in,v=i.hold,p=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;R=(L=i.lencode[v&(1<<i.lenbits)-1])>>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(R&&0==(240&R)){for(O=z,C=R,I=N;R=(L=i.lencode[I+((v&(1<<O+C)-1)>>O)])>>>16&255,N=65535&L,!(O+(z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}v>>>=O,p-=O,i.back+=O}if(v>>>=z,p-=z,i.back+=z,i.length=N,0===R){i.mode=26;break}if(32&R){i.back=-1,i.mode=12;break}if(64&R){e.msg="invalid literal/length code",i.mode=30;break}i.extra=15&R,i.mode=22;case 22:if(i.extra){for(F=i.extra;p<F;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.length+=v&(1<<i.extra)-1,v>>>=i.extra,p-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;R=(L=i.distcode[v&(1<<i.distbits)-1])>>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(0==(240&R)){for(O=z,C=R,I=N;R=(L=i.distcode[I+((v&(1<<O+C)-1)>>O)])>>>16&255,N=65535&L,!(O+(z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}v>>>=O,p-=O,i.back+=O}if(v>>>=z,p-=z,i.back+=z,64&R){e.msg="invalid distance code",i.mode=30;break}i.offset=N,i.extra=15&R,i.mode=24;case 24:if(i.extra){for(F=i.extra;p<F;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}i.offset+=v&(1<<i.extra)-1,v>>>=i.extra,p-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===g)break e;if(Z=y-g,i.offset>Z){if((Z=i.offset-Z)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=30;break}Z>i.wnext?(Z-=i.wnext,B=i.wsize-Z):B=i.wnext-Z,Z>i.length&&(Z=i.length),A=i.window}else A=b,B=k-i.offset,Z=i.length;for(g<Z&&(Z=g),g-=Z,i.length-=Z;b[k++]=A[B++],--Z;);0===i.length&&(i.mode=21);break;case 26:if(0===g)break e;b[k++]=i.length,g--,i.mode=21;break;case 27:if(i.wrap){for(;p<32;){if(0===_)break e;_--,v|=h[w++]<<p,p+=8}if(y-=g,e.total_out+=y,i.total+=y,y&&(e.adler=i.check=i.flags?r(i.check,b,y,k-y):a(i.check,b,y,k-y)),y=g,(i.flags?v:m(v))!==i.check){e.msg="incorrect data check",i.mode=30;break}p=v=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;p<32;){if(0===_)break e;_--,v+=h[w++]<<p,p+=8}if(v!==(4294967295&i.total)){e.msg="incorrect length check",i.mode=30;break}p=v=0}i.mode=29;case 29:T=1;break e;case 30:T=-3;break e;case 31:return-4;case 32:default:return c}return e.next_out=k,e.avail_out=g,e.next_in=w,e.avail_in=_,i.hold=v,i.bits=p,(i.wsize||y!==e.avail_out&&i.mode<30&&(i.mode<27||4!==t))&&E(e,e.output,e.next_out,y-e.avail_out)?(i.mode=31,-4):(x-=e.avail_in,y-=e.avail_out,e.total_in+=x,e.total_out+=y,i.total+=y,i.wrap&&y&&(e.adler=i.check=i.flags?r(i.check,b,y,e.next_out-y):a(i.check,b,y,e.next_out-y)),e.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0===x&&0===y||4===t)&&T===d&&(T=-5),T)},i.inflateEnd=function(e){if(!e||!e.state)return c;var t=e.state;return t.window&&(t.window=null),e.state=null,d},i.inflateGetHeader=function(e,t){var i;return e&&e.state?0==(2&(i=e.state).wrap)?c:((i.head=t).done=!1,d):c},i.inflateSetDictionary=function(e,t){var i,n=t.length;return e&&e.state?0!==(i=e.state).wrap&&11!==i.mode?c:11===i.mode&&a(1,t,n,0)!==i.check?-3:E(e,t,n,n)?(i.mode=31,-4):(i.havedict=1,d):c},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(e,t,i){"use strict";var n=e("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],r=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,i,f,l,d,c,u){var h,b,m,w,k,_,g,v,p,x=u.bits,y=0,S=0,E=0,Z=0,B=0,A=0,z=0,R=0,N=0,O=0,C=null,I=0,D=new n.Buf16(16),T=new n.Buf16(16),U=null,F=0;for(y=0;y<=15;y++)D[y]=0;for(S=0;S<f;S++)D[t[i+S]]++;for(B=x,Z=15;1<=Z&&0===D[Z];Z--);if(Z<B&&(B=Z),0===Z)return l[d++]=20971520,l[d++]=20971520,u.bits=1,0;for(E=1;E<Z&&0===D[E];E++);for(B<E&&(B=E),y=R=1;y<=15;y++)if(R<<=1,(R-=D[y])<0)return-1;if(0<R&&(0===e||1!==Z))return-1;for(T[1]=0,y=1;y<15;y++)T[y+1]=T[y]+D[y];for(S=0;S<f;S++)0!==t[i+S]&&(c[T[t[i+S]]++]=S);if(0===e?(C=U=c,_=19):1===e?(C=a,I-=257,U=r,F-=257,_=256):(C=o,U=s,_=-1),y=E,k=d,z=S=O=0,m=-1,w=(N=1<<(A=B))-1,1===e&&852<N||2===e&&592<N)return 1;for(;;){for(g=y-z,c[S]<_?(v=0,p=c[S]):c[S]>_?(v=U[F+c[S]],p=C[I+c[S]]):(v=96,p=0),h=1<<y-z,E=b=1<<A;l[k+(O>>z)+(b-=h)]=g<<24|v<<16|p|0,0!==b;);for(h=1<<y-1;O&h;)h>>=1;if(0!==h?(O&=h-1,O+=h):O=0,S++,0==--D[y]){if(y===Z)break;y=t[i+c[S]]}if(B<y&&(O&w)!==m){for(0===z&&(z=B),k+=E,R=1<<(A=y-z);A+z<Z&&!((R-=D[A+z])<=0);)A++,R<<=1;if(N+=1<<A,1===e&&852<N||2===e&&592<N)return 1;l[m=O&w]=B<<24|A<<16|k-d|0}}return 0!==O&&(l[k+O]=y-z<<24|64<<16|0),u.bits=B,0}},{"../utils/common":1}],10:[function(e,t,i){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(e,t,i){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(e,t,i){"use strict";var n=e("./zlib/inflate"),a=e("./utils/common"),r=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),f=e("./zlib/zstream"),l=e("./zlib/gzheader"),d=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,t.windowBits);if(i!==o.Z_OK)throw new Error(s[i]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=r.string2buf(t.dictionary):"[object ArrayBuffer]"===d.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=n.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(s[i])}function u(e,t){var i=new c(t);if(i.push(e,!0),i.err)throw i.msg||s[i.err];return i.result}c.prototype.push=function(e,t){var i,s,f,l,c,u=this.strm,h=this.options.chunkSize,b=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?u.input=r.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?u.input=new Uint8Array(e):u.input=e,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new a.Buf8(h),u.next_out=0,u.avail_out=h),(i=n.inflate(u,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&b&&(i=n.inflateSetDictionary(this.strm,b)),i===o.Z_BUF_ERROR&&!0===m&&(i=o.Z_OK,m=!1),i!==o.Z_STREAM_END&&i!==o.Z_OK)return this.onEnd(i),!(this.ended=!0);u.next_out&&(0!==u.avail_out&&i!==o.Z_STREAM_END&&(0!==u.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(f=r.utf8border(u.output,u.next_out),l=u.next_out-f,c=r.buf2string(u.output,f),u.next_out=l,u.avail_out=h-l,l&&a.arraySet(u.output,u.output,f,l,0),this.onData(c)):this.onData(a.shrinkBuf(u.output,u.next_out)))),0===u.avail_in&&0===u.avail_out&&(m=!0)}while((0<u.avail_in||0===u.avail_out)&&i!==o.Z_STREAM_END);return i===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(u.avail_out=0))},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},i.Inflate=c,i.inflate=u,i.inflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},i.ungzip=u},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")}));
\ No newline at end of file
!function(){"use strict";const{Array:t,Object:e,Math:n,Error:s,Uint8Array:r,Uint16Array:a,Uint32Array:i,Int32Array:c,DataView:o,TextEncoder:l,crypto:h,postMessage:p}=globalThis,d=[];for(let rt=0;256>rt;rt++){let t=rt;for(let e=0;8>e;e++)1&t?t=t>>>1^3988292384:t>>>=1;d[rt]=t}class u{constructor(t){this.crc=t||-1}append(t){let e=0|this.crc;for(let n=0,s=0|t.length;s>n;n++)e=e>>>8^d[255&(e^t[n])];this.crc=e}get(){return~this.crc}}const f={concat(t,e){if(0===t.length||0===e.length)return t.concat(e);const n=t[t.length-1],s=f.getPartial(n);return 32===s?t.concat(e):f._shiftRight(e,s,0|n,t.slice(0,t.length-1))},bitLength(t){const e=t.length;if(0===e)return 0;const n=t[e-1];return 32*(e-1)+f.getPartial(n)},clamp(t,e){if(32*t.length<e)return t;const s=(t=t.slice(0,n.ceil(e/32))).length;return e&=31,s>0&&e&&(t[s-1]=f.partial(e,t[s-1]&2147483648>>e-1,1)),t},partial:(t,e,n)=>32===t?e:(n?0|e:e<<32-t)+1099511627776*t,getPartial:t=>n.round(t/1099511627776)||32,_shiftRight(t,e,n,s){for(void 0===s&&(s=[]);e>=32;e-=32)s.push(n),n=0;if(0===e)return s.concat(t);for(let i=0;i<t.length;i++)s.push(n|t[i]>>>e),n=t[i]<<32-e;const r=t.length?t[t.length-1]:0,a=f.getPartial(r);return s.push(f.partial(e+a&31,e+a>32?n:s.pop(),1)),s}},g={bytes:{fromBits(t){const e=f.bitLength(t)/8,n=new r(e);let s;for(let r=0;e>r;r++)0==(3&r)&&(s=t[r/4]),n[r]=s>>>24,s<<=8;return n},toBits(t){const e=[];let n,s=0;for(n=0;n<t.length;n++)s=s<<8|t[n],3==(3&n)&&(e.push(s),s=0);return 3&n&&e.push(f.partial(8*(3&n),s)),e}}},w={sha1:function(t){t?(this._h=t._h.slice(0),this._buffer=t._buffer.slice(0),this._length=t._length):this.reset()}};w.sha1.prototype={blockSize:512,reset:function(){const t=this;return t._h=this._init.slice(0),t._buffer=[],t._length=0,t},update:function(t){const e=this;"string"==typeof t&&(t=g.utf8String.toBits(t));const n=e._buffer=f.concat(e._buffer,t),r=e._length,a=e._length=r+f.bitLength(t);if(a>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const c=new i(n);let o=0;for(let s=e.blockSize+r-(e.blockSize+r&e.blockSize-1);a>=s;s+=e.blockSize)e._block(c.subarray(16*o,16*(o+1))),o+=1;return n.splice(0,16*o),e},finalize:function(){const t=this;let e=t._buffer;const s=t._h;e=f.concat(e,[f.partial(1,1)]);for(let n=e.length+2;15&n;n++)e.push(0);for(e.push(n.floor(t._length/4294967296)),e.push(0|t._length);e.length;)t._block(e.splice(0,16));return t.reset(),s},_init:[1732584193,4023233417,2562383102,271733878,3285377520],_key:[1518500249,1859775393,2400959708,3395469782],_f:(t,e,n,s)=>t>19?t>39?t>59?t>79?void 0:e^n^s:e&n|e&s|n&s:e^n^s:e&n|~e&s,_S:(t,e)=>e<<t|e>>>32-t,_block:function(e){const s=this,r=s._h,a=t(80);for(let t=0;16>t;t++)a[t]=e[t];let i=r[0],c=r[1],o=r[2],l=r[3],h=r[4];for(let t=0;79>=t;t++){16>t||(a[t]=s._S(1,a[t-3]^a[t-8]^a[t-14]^a[t-16]));const e=s._S(5,i)+s._f(t,c,o,l)+h+a[t]+s._key[n.floor(t/20)]|0;h=l,l=o,o=s._S(30,c),c=i,i=e}r[0]=r[0]+i|0,r[1]=r[1]+c|0,r[2]=r[2]+o|0,r[3]=r[3]+l|0,r[4]=r[4]+h|0}};const y={getRandomValues(t){const e=new i(t.buffer),s=t=>{let e=987654321;const s=4294967295;return()=>(e=36969*(65535&e)+(e>>16)&s,(((e<<16)+(t=18e3*(65535&t)+(t>>16)&s)&s)/4294967296+.5)*(n.random()>.5?1:-1))};for(let r,a=0;a<t.length;a+=4){const t=s(4294967296*(r||n.random()));r=987654071*t(),e[a/4]=4294967296*t()|0}return t}},_={importKey:t=>new _.hmacSha1(g.bytes.toBits(t)),pbkdf2(t,e,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const a=1+(r>>5)<<2;let i,c,l,h,p;const d=new ArrayBuffer(a),u=new o(d);let w=0;const y=f;for(e=g.bytes.toBits(e),p=1;(a||1)>w;p++){for(i=c=t.encrypt(y.concat(e,[p])),l=1;n>l;l++)for(c=t.encrypt(c),h=0;h<c.length;h++)i[h]^=c[h];for(l=0;(a||1)>w&&l<i.length;l++)u.setInt32(w,i[l]),w+=4}return d.slice(0,r/8)},hmacSha1:class{constructor(t){const e=this,n=e._hash=w.sha1,s=[[],[]],r=n.prototype.blockSize/32;e._baseHash=[new n,new n],t.length>r&&(t=n.hash(t));for(let a=0;r>a;a++)s[0][a]=909522486^t[a],s[1][a]=1549556828^t[a];e._baseHash[0].update(s[0]),e._baseHash[1].update(s[1]),e._resultHash=new n(e._baseHash[0])}reset(){const t=this;t._resultHash=new t._hash(t._baseHash[0]),t._updated=!1}update(t){this._updated=!0,this._resultHash.update(t)}digest(){const t=this,e=t._resultHash.finalize(),n=new t._hash(t._baseHash[1]).update(e).finalize();return t.reset(),n}encrypt(t){if(this._updated)throw new s("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}},m="Invalid pasword",b=16,k={name:"PBKDF2"},v=e.assign({hash:{name:"HMAC"}},k),z=e.assign({iterations:1e3,hash:{name:"SHA-1"}},k),C=["deriveBits"],S=[8,12,16],B=[16,24,32],I=10,D=[0,0,0,0],V=void 0!==h,H=V&&void 0!==h.subtle,K=g.bytes,A=class{constructor(t){const e=this;e._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],e._tables[0][0][0]||e._precompute();const n=e._tables[0][4],r=e._tables[1],a=t.length;let i,c,o,l=1;if(4!==a&&6!==a&&8!==a)throw new s("invalid aes key size");for(e._key=[c=t.slice(0),o=[]],i=a;4*a+28>i;i++){let t=c[i-1];(i%a==0||8===a&&i%a==4)&&(t=n[t>>>24]<<24^n[t>>16&255]<<16^n[t>>8&255]<<8^n[255&t],i%a==0&&(t=t<<8^t>>>24^l<<24,l=l<<1^283*(l>>7))),c[i]=c[i-a]^t}for(let s=0;i;s++,i--){const t=c[3&s?i:i-4];o[s]=4>=i||4>s?t:r[0][n[t>>>24]]^r[1][n[t>>16&255]]^r[2][n[t>>8&255]]^r[3][n[255&t]]}}encrypt(t){return this._crypt(t,0)}decrypt(t){return this._crypt(t,1)}_precompute(){const t=this._tables[0],e=this._tables[1],n=t[4],s=e[4],r=[],a=[];let i,c,o,l;for(let h=0;256>h;h++)a[(r[h]=h<<1^283*(h>>7))^h]=h;for(let h=i=0;!n[h];h^=c||1,i=a[i]||1){let a=i^i<<1^i<<2^i<<3^i<<4;a=a>>8^255&a^99,n[h]=a,s[a]=h,l=r[o=r[c=r[h]]];let p=16843009*l^65537*o^257*c^16843008*h,d=257*r[a]^16843008*a;for(let n=0;4>n;n++)t[n][h]=d=d<<24^d>>>8,e[n][a]=p=p<<24^p>>>8}for(let h=0;5>h;h++)t[h]=t[h].slice(0),e[h]=e[h].slice(0)}_crypt(t,e){if(4!==t.length)throw new s("invalid aes block size");const n=this._key[e],r=n.length/4-2,a=[0,0,0,0],i=this._tables[e],c=i[0],o=i[1],l=i[2],h=i[3],p=i[4];let d,u,f,g=t[0]^n[0],w=t[e?3:1]^n[1],y=t[2]^n[2],_=t[e?1:3]^n[3],m=4;for(let s=0;r>s;s++)d=c[g>>>24]^o[w>>16&255]^l[y>>8&255]^h[255&_]^n[m],u=c[w>>>24]^o[y>>16&255]^l[_>>8&255]^h[255&g]^n[m+1],f=c[y>>>24]^o[_>>16&255]^l[g>>8&255]^h[255&w]^n[m+2],_=c[_>>>24]^o[g>>16&255]^l[w>>8&255]^h[255&y]^n[m+3],m+=4,g=d,w=u,y=f;for(let s=0;4>s;s++)a[e?3&-s:s]=p[g>>>24]<<24^p[w>>16&255]<<16^p[y>>8&255]<<8^p[255&_]^n[m++],d=g,g=w,w=y,y=_,_=d;return a}},R=class{constructor(t,e){this._prf=t,this._initIv=e,this._iv=e}reset(){this._iv=this._initIv}update(t){return this.calculate(this._prf,t,this._iv)}incWord(t){if(255==(t>>24&255)){let e=t>>16&255,n=t>>8&255,s=255&t;255===e?(e=0,255===n?(n=0,255===s?s=0:++s):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=s}else t+=1<<24;return t}incCounter(t){0===(t[0]=this.incWord(t[0]))&&(t[1]=this.incWord(t[1]))}calculate(t,e,n){let s;if(!(s=e.length))return[];const r=f.bitLength(e);for(let a=0;s>a;a+=4){this.incCounter(n);const s=t.encrypt(n);e[a]^=s[0],e[a+1]^=s[1],e[a+2]^=s[2],e[a+3]^=s[3]}return f.clamp(e,r)}},W=_.hmacSha1;class T{constructor(t,n,s){e.assign(this,{password:t,signed:n,strength:s-1,pendingInput:new r(0)})}async append(e){const n=this;if(n.password){const r=E(e,0,S[n.strength]+2);await(async(t,e,n)=>{await L(t,n,E(e,0,S[t.strength]));const r=E(e,S[t.strength]),a=t.keys.passwordVerification;if(a[0]!=r[0]||a[1]!=r[1])throw new s(m)})(n,r,n.password),n.password=null,n.aesCtrGladman=new R(new A(n.keys.key),t.from(D)),n.hmac=new W(n.keys.authentication),e=E(e,S[n.strength]+2)}return G(n,e,new r(e.length-I-(e.length-I)%b),0,I,!0)}flush(){const t=this,e=t.pendingInput,n=E(e,0,e.length-I),s=E(e,e.length-I);let a=new r(0);if(n.length){const e=K.toBits(n);t.hmac.update(e);const s=t.aesCtrGladman.update(e);a=K.fromBits(s)}let i=!0;if(t.signed){const e=E(K.fromBits(t.hmac.digest()),0,I);for(let t=0;I>t;t++)e[t]!=s[t]&&(i=!1)}return{valid:i,data:a}}}class U{constructor(t,n){e.assign(this,{password:t,strength:n-1,pendingInput:new r(0)})}async append(e){const n=this;let s=new r(0);n.password&&(s=await(async(t,e)=>{const n=(s=new r(S[t.strength]),V&&"function"==typeof h.getRandomValues?h.getRandomValues(s):y.getRandomValues(s));var s;return await L(t,e,n),P(n,t.keys.passwordVerification)})(n,n.password),n.password=null,n.aesCtrGladman=new R(new A(n.keys.key),t.from(D)),n.hmac=new W(n.keys.authentication));const a=new r(s.length+e.length-e.length%b);return a.set(s,0),G(n,e,a,s.length,0)}flush(){const t=this;let e=new r(0);if(t.pendingInput.length){const n=t.aesCtrGladman.update(K.toBits(t.pendingInput));t.hmac.update(n),e=K.fromBits(n)}const n=E(K.fromBits(t.hmac.digest()),0,I);return{data:P(e,n),signature:n}}}function G(t,e,n,s,a,i){const c=e.length-a;let o;for(t.pendingInput.length&&(e=P(t.pendingInput,e),n=((t,e)=>{if(e&&e>t.length){const n=t;(t=new r(e)).set(n,0)}return t})(n,c-c%b)),o=0;c-b>=o;o+=b){const r=K.toBits(E(e,o,o+b));i&&t.hmac.update(r);const a=t.aesCtrGladman.update(r);i||t.hmac.update(a),n.set(K.fromBits(a),o+s)}return t.pendingInput=E(e,o),n}async function L(t,n,s){const a=(t=>{if(void 0===l){const e=new r((t=unescape(encodeURIComponent(t))).length);for(let n=0;n<e.length;n++)e[n]=t.charCodeAt(n);return e}return(new l).encode(t)})(n),i=await((t,e,n,s,r)=>V&&H&&"function"==typeof h.subtle.importKey?h.subtle.importKey("raw",e,n,!1,r):_.importKey(e))(0,a,v,0,C),c=await(async(t,e,n)=>V&&H&&"function"==typeof h.subtle.deriveBits?await h.subtle.deriveBits(t,e,n):_.pbkdf2(e,t.salt,z.iterations,n))(e.assign({salt:s},z),i,8*(2*B[t.strength]+2)),o=new r(c);t.keys={key:K.toBits(E(o,0,B[t.strength])),authentication:K.toBits(E(o,B[t.strength],2*B[t.strength])),passwordVerification:E(o,2*B[t.strength])}}function P(t,e){let n=t;return t.length+e.length&&(n=new r(t.length+e.length),n.set(t,0),n.set(e,t.length)),n}function E(t,e,n){return t.subarray(e,n)}class M{constructor(t,n){e.assign(this,{password:t,passwordVerification:n}),O(this,t)}append(t){const e=this;if(e.password){const n=x(e,t.subarray(0,12));if(e.password=null,n[11]!=e.passwordVerification)throw new s(m);t=t.subarray(12)}return x(e,t)}flush(){return{valid:!0,data:new r(0)}}}class j{constructor(t,n){e.assign(this,{password:t,passwordVerification:n}),O(this,t)}append(t){const e=this;let n,s;if(e.password){e.password=null;const a=h.getRandomValues(new r(12));a[11]=e.passwordVerification,n=new r(t.length+a.length),n.set(F(e,a),0),s=12}else n=new r(t.length),s=0;return n.set(F(e,t),s),n}flush(){return{data:new r(0)}}}function x(t,e){const n=new r(e.length);for(let s=0;s<e.length;s++)n[s]=J(t)^e[s],q(t,n[s]);return n}function F(t,e){const n=new r(e.length);for(let s=0;s<e.length;s++)n[s]=J(t)^e[s],q(t,e[s]);return n}function O(t,e){t.keys=[305419896,591751049,878082192],t.crcKey0=new u(t.keys[0]),t.crcKey2=new u(t.keys[2]);for(let n=0;n<e.length;n++)q(t,e.charCodeAt(n))}function q(t,e){t.crcKey0.append([e]),t.keys[0]=~t.crcKey0.get(),t.keys[1]=Q(t.keys[1]+N(t.keys[0])),t.keys[1]=Q(n.imul(t.keys[1],134775813)+1),t.crcKey2.append([t.keys[1]>>>24]),t.keys[2]=~t.crcKey2.get()}function J(t){const e=2|t.keys[2];return N(n.imul(e,1^e)>>>8)}function N(t){return 255&t}function Q(t){return 4294967295&t}const X="deflate",Y="inflate",Z="Invalid signature";class ${constructor(t,{signature:n,password:s,signed:r,compressed:a,zipCrypto:i,passwordVerification:c,encryptionStrength:o},{chunkSize:l}){const h=!!s;e.assign(this,{signature:n,encrypted:h,signed:r,compressed:a,inflate:a&&new t({chunkSize:l}),crc32:r&&new u,zipCrypto:i,decrypt:h&&i?new M(s,c):new T(s,r,o)})}async append(t){const e=this;return e.encrypted&&t.length&&(t=await e.decrypt.append(t)),e.compressed&&t.length&&(t=await e.inflate.append(t)),(!e.encrypted||e.zipCrypto)&&e.signed&&t.length&&e.crc32.append(t),t}async flush(){const t=this;let e,n=new r(0);if(t.encrypted){const e=t.decrypt.flush();if(!e.valid)throw new s(Z);n=e.data}if((!t.encrypted||t.zipCrypto)&&t.signed){const n=new o(new r(4).buffer);if(e=t.crc32.get(),n.setUint32(0,e),t.signature!=n.getUint32(0,!1))throw new s(Z)}return t.compressed&&(n=await t.inflate.append(n)||new r(0),await t.inflate.flush()),{data:n,signature:e}}}class tt{constructor(t,{encrypted:n,signed:s,compressed:r,level:a,zipCrypto:i,password:c,passwordVerification:o,encryptionStrength:l},{chunkSize:h}){e.assign(this,{encrypted:n,signed:s,compressed:r,deflate:r&&new t({level:a||5,chunkSize:h}),crc32:s&&new u,zipCrypto:i,encrypt:n&&i?new j(c,o):new U(c,l)})}async append(t){const e=this;let n=t;return e.compressed&&t.length&&(n=await e.deflate.append(t)),e.encrypted&&n.length&&(n=await e.encrypt.append(n)),(!e.encrypted||e.zipCrypto)&&e.signed&&t.length&&e.crc32.append(t),n}async flush(){const t=this;let e,n=new r(0);if(t.compressed&&(n=await t.deflate.flush()||new r(0)),t.encrypted){n=await t.encrypt.append(n);const s=t.encrypt.flush();e=s.signature;const a=new r(n.length+s.data.length);a.set(n,0),a.set(s.data,n.length),n=a}return t.encrypted&&!t.zipCrypto||!t.signed||(e=t.crc32.get()),{data:n,signature:e}}}const et={init(t){t.scripts&&t.scripts.length&&importScripts.apply(void 0,t.scripts);const e=t.options;let n;self.initCodec&&self.initCodec(),e.codecType.startsWith(X)?n=self.Deflate:e.codecType.startsWith(Y)&&(n=self.Inflate),nt=((t,e,n)=>e.codecType.startsWith(X)?new tt(t,e,n):e.codecType.startsWith(Y)?new $(t,e,n):void 0)(n,e,t.config)},append:async t=>({data:await nt.append(t.data)}),flush:()=>nt.flush()};let nt;function st(t,n,s){return class{constructor(a){const i=this;i.codec=new t(e.assign({},n,a)),s(i.codec,(t=>{if(i.pendingData){const e=i.pendingData;i.pendingData=new r(e.length+t.length),i.pendingData.set(e,0),i.pendingData.set(t,e.length)}else i.pendingData=new r(t)}))}append(t){return this.codec.push(t),a(this)}flush(){return this.codec.push(new r(0),!0),a(this)}};function a(t){if(t.pendingData){const e=t.pendingData;return t.pendingData=null,e}return new r(0)}}addEventListener("message",(async t=>{const e=t.data,n=e.type,s=et[n];if(s)try{e.data&&(e.data=new r(e.data));const t=await s(e)||{};if(t.type=n,t.data)try{t.data=t.data.buffer,p(t,[t.data])}catch(e){p(t)}else p(t)}catch(t){p({type:n,error:{message:t.message,stack:t.stack}})}})),self.initCodec=()=>{const{Deflate:t,Inflate:e}=((t,e={},n)=>({Deflate:st(t.Deflate,e.deflate,n),Inflate:st(t.Inflate,e.inflate,n)}))(pako,{deflate:{raw:!0},inflate:{raw:!0}},((t,e)=>t.onData=e));self.Deflate=t,self.Inflate=e}}();
\ No newline at end of file
.cesium-animation-theme{visibility:hidden;display:block;position:absolute;z-index:-100}.cesium-animation-themeNormal{color:#222}.cesium-animation-themeHover{color:#4488b0}.cesium-animation-themeSelect{color:#242}.cesium-animation-themeDisabled{color:#333}.cesium-animation-themeKnob{color:#222}.cesium-animation-themePointer{color:#2e2}.cesium-animation-themeSwoosh{color:#8ac}.cesium-animation-themeSwooshHover{color:#aef}.cesium-animation-svgText{fill:#edffff;font-family:Sans-Serif;font-size:15px;text-anchor:middle}.cesium-animation-blank{fill:#000;fill-opacity:.01;stroke:none}.cesium-animation-rectButton{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-rectButton .cesium-animation-buttonGlow{fill:#fff;stroke:none;display:none}.cesium-animation-rectButton:hover .cesium-animation-buttonGlow{display:block}.cesium-animation-rectButton .cesium-animation-buttonPath{fill:#edffff}.cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#444;stroke-width:1.2}.cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#aef}.cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-animation-buttonDisabled{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#555}.cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-animation-buttonDisabled .cesium-animation-buttonGlow{display:none}.cesium-animation-buttonToggled .cesium-animation-buttonGlow{display:block;fill:#2e2}.cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-shuttleRingG,.cesium-animation-shuttleRingPausePointer,.cesium-animation-shuttleRingPointer{cursor:pointer}.cesium-animation-shuttleRingBack{fill:#181818;fill-opacity:.8;stroke:#333;stroke-width:1.2}.cesium-animation-shuttleRingSwoosh line{stroke:#8ac;stroke-width:3;stroke-opacity:.2;stroke-linecap:round}.cesium-animation-knobOuter{cursor:pointer;stroke:#444;stroke-width:1.2}.cesium-animation-knobInner{cursor:pointer}
\ No newline at end of file
import Color from"../../Core/Color.js";import defined from"../../Core/defined.js";import destroyObject from"../../Core/destroyObject.js";import DeveloperError from"../../Core/DeveloperError.js";import getElement from"../getElement.js";import subscribeAndEvaluate from"../subscribeAndEvaluate.js";const svgNS="http://www.w3.org/2000/svg",xlinkNS="http://www.w3.org/1999/xlink";let widgetForDrag;const gradientEnabledColor0=Color.fromCssColorString("rgba(247,250,255,0.384)"),gradientEnabledColor1=Color.fromCssColorString("rgba(143,191,255,0.216)"),gradientEnabledColor2=Color.fromCssColorString("rgba(153,197,255,0.098)"),gradientEnabledColor3=Color.fromCssColorString("rgba(255,255,255,0.086)"),gradientDisabledColor0=Color.fromCssColorString("rgba(255,255,255,0.267)"),gradientDisabledColor1=Color.fromCssColorString("rgba(255,255,255,0)"),gradientKnobColor=Color.fromCssColorString("rgba(66,67,68,0.3)"),gradientPointerColor=Color.fromCssColorString("rgba(0,0,0,0.5)");function getElementColor(t){return Color.fromCssColorString(window.getComputedStyle(t).getPropertyValue("color"))}const svgIconsById={animation_pathReset:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.316,5.318,9.833,13.682,9.833,5.5,5.5,5.5,5.5,25.5,9.833,25.5,9.833,17.318,24.316,25.682z"},animation_pathPause:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M13,5.5,7.5,5.5,7.5,25.5,13,25.5zM24.5,5.5,19,5.5,19,25.5,24.5,25.5z"},animation_pathPlay:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathPlayReverse:{tagName:"path",transform:"translate(16,16) scale(-0.85,0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathLoop:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.249,15.499c-0.009,4.832-3.918,8.741-8.75,8.75c-2.515,0-4.768-1.064-6.365-2.763l2.068-1.442l-7.901-3.703l0.744,8.694l2.193-1.529c2.244,2.594,5.562,4.242,9.26,4.242c6.767,0,12.249-5.482,12.249-12.249H24.249zM15.499,6.75c2.516,0,4.769,1.065,6.367,2.764l-2.068,1.443l7.901,3.701l-0.746-8.693l-2.192,1.529c-2.245-2.594-5.562-4.245-9.262-4.245C8.734,3.25,3.25,8.734,3.249,15.499H6.75C6.758,10.668,10.668,6.758,15.499,6.75z"},animation_pathClock:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-15.5)",d:"M15.5,2.374C8.251,2.375,2.376,8.251,2.374,15.5C2.376,22.748,8.251,28.623,15.5,28.627c7.249-0.004,13.124-5.879,13.125-13.127C28.624,8.251,22.749,2.375,15.5,2.374zM15.5,25.623C9.909,25.615,5.385,21.09,5.375,15.5C5.385,9.909,9.909,5.384,15.5,5.374c5.59,0.01,10.115,4.535,10.124,10.125C25.615,21.09,21.091,25.615,15.5,25.623zM8.625,15.5c-0.001-0.552-0.448-0.999-1.001-1c-0.553,0-1,0.448-1,1c0,0.553,0.449,1,1,1C8.176,16.5,8.624,16.053,8.625,15.5zM8.179,18.572c-0.478,0.277-0.642,0.889-0.365,1.367c0.275,0.479,0.889,0.641,1.365,0.365c0.479-0.275,0.643-0.887,0.367-1.367C9.27,18.461,8.658,18.297,8.179,18.572zM9.18,10.696c-0.479-0.276-1.09-0.112-1.366,0.366s-0.111,1.09,0.365,1.366c0.479,0.276,1.09,0.113,1.367-0.366C9.821,11.584,9.657,10.973,9.18,10.696zM22.822,12.428c0.478-0.275,0.643-0.888,0.366-1.366c-0.275-0.478-0.89-0.642-1.366-0.366c-0.479,0.278-0.642,0.89-0.366,1.367C21.732,12.54,22.344,12.705,22.822,12.428zM12.062,21.455c-0.478-0.275-1.089-0.111-1.366,0.367c-0.275,0.479-0.111,1.09,0.366,1.365c0.478,0.277,1.091,0.111,1.365-0.365C12.704,22.344,12.54,21.732,12.062,21.455zM12.062,9.545c0.479-0.276,0.642-0.888,0.366-1.366c-0.276-0.478-0.888-0.642-1.366-0.366s-0.642,0.888-0.366,1.366C10.973,9.658,11.584,9.822,12.062,9.545zM22.823,18.572c-0.48-0.275-1.092-0.111-1.367,0.365c-0.275,0.479-0.112,1.092,0.367,1.367c0.477,0.275,1.089,0.113,1.365-0.365C23.464,19.461,23.3,18.848,22.823,18.572zM19.938,7.813c-0.477-0.276-1.091-0.111-1.365,0.366c-0.275,0.48-0.111,1.091,0.366,1.367s1.089,0.112,1.366-0.366C20.581,8.702,20.418,8.089,19.938,7.813zM23.378,14.5c-0.554,0.002-1.001,0.45-1.001,1c0.001,0.552,0.448,1,1.001,1c0.551,0,1-0.447,1-1C24.378,14.949,23.929,14.5,23.378,14.5zM15.501,6.624c-0.552,0-1,0.448-1,1l-0.466,7.343l-3.004,1.96c-0.478,0.277-0.642,0.889-0.365,1.365c0.275,0.479,0.889,0.643,1.365,0.367l3.305-1.676C15.39,16.99,15.444,17,15.501,17c0.828,0,1.5-0.671,1.5-1.5l-0.5-7.876C16.501,7.072,16.053,6.624,15.501,6.624zM15.501,22.377c-0.552,0-1,0.447-1,1s0.448,1,1,1s1-0.447,1-1S16.053,22.377,15.501,22.377zM18.939,21.455c-0.479,0.277-0.643,0.889-0.366,1.367c0.275,0.477,0.888,0.643,1.366,0.365c0.478-0.275,0.642-0.889,0.366-1.365C20.028,21.344,19.417,21.18,18.939,21.455z"},animation_pathWingButton:{tagName:"path",d:"m 4.5,0.5 c -2.216,0 -4,1.784 -4,4 l 0,24 c 0,2.216 1.784,4 4,4 l 13.71875,0 C 22.478584,27.272785 27.273681,22.511272 32.5,18.25 l 0,-13.75 c 0,-2.216 -1.784,-4 -4,-4 l -24,0 z"},animation_pathPointer:{tagName:"path",d:"M-15,-65,-15,-55,15,-55,15,-65,0,-95z"},animation_pathSwooshFX:{tagName:"path",d:"m 85,0 c 0,16.617 -4.813944,35.356 -13.131081,48.4508 h 6.099803 c 8.317138,-13.0948 13.13322,-28.5955 13.13322,-45.2124 0,-46.94483 -38.402714,-85.00262 -85.7743869,-85.00262 -1.0218522,0 -2.0373001,0.0241 -3.0506131,0.0589 45.958443,1.59437 82.723058,35.77285 82.723058,81.70532 z"}};function svgFromObject(t){const e=document.createElementNS(svgNS,t.tagName);for(const o in t)if(t.hasOwnProperty(o)&&"tagName"!==o)if("children"===o){const o=t.children.length;for(let n=0;n<o;++n)e.appendChild(svgFromObject(t.children[n]))}else 0===o.indexOf("xlink:")?e.setAttributeNS(xlinkNS,o.substring(6),t[o]):"textContent"===o?e.textContent=t[o]:e.setAttribute(o,t[o]);return e}function svgText(t,e,o){const n=document.createElementNS(svgNS,"text");n.setAttribute("x",t),n.setAttribute("y",e),n.setAttribute("class","cesium-animation-svgText");const i=document.createElementNS(svgNS,"tspan");return i.textContent=o,n.appendChild(i),n}function setShuttleRingPointer(t,e,o){t.setAttribute("transform",`translate(100,100) rotate(${o})`),e.setAttribute("transform",`rotate(${o})`)}const makeColorStringScratch=new Color;function makeColorString(t,e){const o=e.alpha,n=1-o;return makeColorStringScratch.red=t.red*n+e.red*o,makeColorStringScratch.green=t.green*n+e.green*o,makeColorStringScratch.blue=t.blue*n+e.blue*o,makeColorStringScratch.toCssColorString()}function rectButton(t,e,o){const n=svgIconsById[o],i={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${t},${e})`,children:[{tagName:"rect",class:"cesium-animation-buttonGlow",width:32,height:32,rx:2,ry:2},{tagName:"rect",class:"cesium-animation-buttonMain",width:32,height:32,rx:4,ry:4},{class:"cesium-animation-buttonPath",id:o,tagName:n.tagName,transform:n.transform,d:n.d},{tagName:"title",textContent:""}]};return svgFromObject(i)}function wingButton(t,e,o){const n=svgIconsById[o],i=svgIconsById["animation_pathWingButton"],s={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${t},${e})`,children:[{class:"cesium-animation-buttonGlow",id:"animation_pathWingButton",tagName:i.tagName,d:i.d},{class:"cesium-animation-buttonMain",id:"animation_pathWingButton",tagName:i.tagName,d:i.d},{class:"cesium-animation-buttonPath",id:o,tagName:n.tagName,transform:n.transform,d:n.d},{tagName:"title",textContent:""}]};return svgFromObject(s)}function setShuttleRingFromMouseOrTouch(t,e){const o=t._viewModel,n=o.shuttleRingDragging;if(!n||widgetForDrag===t)if("mousedown"===e.type||n&&"mousemove"===e.type||"touchstart"===e.type&&1===e.touches.length||n&&"touchmove"===e.type&&1===e.touches.length){const i=t._centerX,s=t._centerY,a=t._svgNode,r=a.getBoundingClientRect();let l,c;if("touchstart"===e.type||"touchmove"===e.type?(l=e.touches[0].clientX,c=e.touches[0].clientY):(l=e.clientX,c=e.clientY),!n&&(l>r.right||l<r.left||c<r.top||c>r.bottom))return;const m=t._shuttleRingPointer.getBoundingClientRect(),d=l-i-r.left,h=c-s-r.top;let g=180*Math.atan2(h,d)/Math.PI+90;g>180&&(g-=360);const u=o.shuttleRingAngle;n||l<m.right&&l>m.left&&c>m.top&&c<m.bottom?(widgetForDrag=t,o.shuttleRingDragging=!0,o.shuttleRingAngle=g):g<u?o.slower():g>u&&o.faster(),e.preventDefault()}else t===widgetForDrag&&(widgetForDrag=void 0),o.shuttleRingDragging=!1}function SvgButton(t,e){this._viewModel=e,this.svgElement=t,this._enabled=void 0,this._toggled=void 0;const o=this;this._clickFunction=function(){const t=o._viewModel.command;t.canExecute&&t()},t.addEventListener("click",this._clickFunction,!0),this._subscriptions=[subscribeAndEvaluate(e,"toggled",this.setToggled,this),subscribeAndEvaluate(e,"tooltip",this.setTooltip,this),subscribeAndEvaluate(e.command,"canExecute",this.setEnabled,this)]}function Animation(t,e){if(!defined(t))throw new DeveloperError("container is required.");if(!defined(e))throw new DeveloperError("viewModel is required.");t=getElement(t),this._viewModel=e,this._container=t,this._centerX=0,this._centerY=0,this._defsElement=void 0,this._svgNode=void 0,this._topG=void 0,this._lastHeight=void 0,this._lastWidth=void 0;const o=t.ownerDocument,n=document.createElement("style");n.textContent=".cesium-animation-rectButton .cesium-animation-buttonGlow { filter: url(#animation_blurred); }.cesium-animation-rectButton .cesium-animation-buttonMain { fill: url(#animation_buttonNormal); }.cesium-animation-buttonToggled .cesium-animation-buttonMain { fill: url(#animation_buttonToggled); }.cesium-animation-rectButton:hover .cesium-animation-buttonMain { fill: url(#animation_buttonHovered); }.cesium-animation-buttonDisabled .cesium-animation-buttonMain { fill: url(#animation_buttonDisabled); }.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshGradient); }.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshHovered); }.cesium-animation-shuttleRingPointer { fill: url(#animation_shuttleRingPointerGradient); }.cesium-animation-shuttleRingPausePointer { fill: url(#animation_shuttleRingPointerPaused); }.cesium-animation-knobOuter { fill: url(#animation_knobOuter); }.cesium-animation-knobInner { fill: url(#animation_knobInner); }",o.head.insertBefore(n,o.head.childNodes[0]);const i=document.createElement("div");i.className="cesium-animation-theme",i.innerHTML='<div class="cesium-animation-themeNormal"></div><div class="cesium-animation-themeHover"></div><div class="cesium-animation-themeSelect"></div><div class="cesium-animation-themeDisabled"></div><div class="cesium-animation-themeKnob"></div><div class="cesium-animation-themePointer"></div><div class="cesium-animation-themeSwoosh"></div><div class="cesium-animation-themeSwooshHover"></div>',this._theme=i,this._themeNormal=i.childNodes[0],this._themeHover=i.childNodes[1],this._themeSelect=i.childNodes[2],this._themeDisabled=i.childNodes[3],this._themeKnob=i.childNodes[4],this._themePointer=i.childNodes[5],this._themeSwoosh=i.childNodes[6],this._themeSwooshHover=i.childNodes[7];const s=document.createElementNS(svgNS,"svg:svg");this._svgNode=s,s.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",xlinkNS);const a=document.createElementNS(svgNS,"g");this._topG=a,this._realtimeSVG=new SvgButton(wingButton(3,4,"animation_pathClock"),e.playRealtimeViewModel),this._playReverseSVG=new SvgButton(rectButton(44,99,"animation_pathPlayReverse"),e.playReverseViewModel),this._playForwardSVG=new SvgButton(rectButton(124,99,"animation_pathPlay"),e.playForwardViewModel),this._pauseSVG=new SvgButton(rectButton(84,99,"animation_pathPause"),e.pauseViewModel);const r=document.createElementNS(svgNS,"g");r.appendChild(this._realtimeSVG.svgElement),r.appendChild(this._playReverseSVG.svgElement),r.appendChild(this._playForwardSVG.svgElement),r.appendChild(this._pauseSVG.svgElement);const l=svgFromObject({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=l;const c=svgIconsById["animation_pathSwooshFX"],m=svgIconsById["animation_pathPointer"],d=svgFromObject({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:c.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:c.d},{tagName:c.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:c.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=d,this._shuttleRingPointer=svgFromObject({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:m.tagName,d:m.d});const h=svgFromObject({tagName:"g",transform:"translate(100,100)"});this._knobOuter=svgFromObject({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});const g=61,u=svgFromObject({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:g});this._knobDate=svgText(0,-24,""),this._knobTime=svgText(0,-7,""),this._knobStatus=svgText(0,-41,"");const p=svgFromObject({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:g}),v=document.createElementNS(svgNS,"g");v.setAttribute("class","cesium-animation-shuttleRingG"),t.appendChild(i),a.appendChild(v),a.appendChild(h),a.appendChild(r),v.appendChild(l),v.appendChild(d),v.appendChild(this._shuttleRingPointer),h.appendChild(this._knobOuter),h.appendChild(u),h.appendChild(this._knobDate),h.appendChild(this._knobTime),h.appendChild(this._knobStatus),h.appendChild(p),s.appendChild(a),t.appendChild(s);const C=this;function b(t){setShuttleRingFromMouseOrTouch(C,t)}this._mouseCallback=b,l.addEventListener("mousedown",b,!0),l.addEventListener("touchstart",b,!0),d.addEventListener("mousedown",b,!0),d.addEventListener("touchstart",b,!0),o.addEventListener("mousemove",b,!0),o.addEventListener("touchmove",b,!0),o.addEventListener("mouseup",b,!0),o.addEventListener("touchend",b,!0),o.addEventListener("touchcancel",b,!0),this._shuttleRingPointer.addEventListener("mousedown",b,!0),this._shuttleRingPointer.addEventListener("touchstart",b,!0),this._knobOuter.addEventListener("mousedown",b,!0),this._knobOuter.addEventListener("touchstart",b,!0);const f=this._knobTime.childNodes[0],_=this._knobDate.childNodes[0],N=this._knobStatus.childNodes[0];let S;this._subscriptions=[subscribeAndEvaluate(e.pauseViewModel,"toggled",(function(t){S!==t&&(S=t,S?C._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):C._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))})),subscribeAndEvaluate(e,"shuttleRingAngle",(function(t){setShuttleRingPointer(C._shuttleRingPointer,C._knobOuter,t)})),subscribeAndEvaluate(e,"dateLabel",(function(t){_.textContent!==t&&(_.textContent=t)})),subscribeAndEvaluate(e,"timeLabel",(function(t){f.textContent!==t&&(f.textContent=t)})),subscribeAndEvaluate(e,"multiplierLabel",(function(t){N.textContent!==t&&(N.textContent=t)}))],this.applyThemeChanges(),this.resize()}SvgButton.prototype.destroy=function(){this.svgElement.removeEventListener("click",this._clickFunction,!0);const t=this._subscriptions;for(let e=0,o=t.length;e<o;e++)t[e].dispose();destroyObject(this)},SvgButton.prototype.isDestroyed=function(){return!1},SvgButton.prototype.setEnabled=function(t){if(this._enabled!==t){if(this._enabled=t,!t)return void this.svgElement.setAttribute("class","cesium-animation-buttonDisabled");if(this._toggled)return void this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled");this.svgElement.setAttribute("class","cesium-animation-rectButton")}},SvgButton.prototype.setToggled=function(t){this._toggled!==t&&(this._toggled=t,this._enabled&&(t?this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled"):this.svgElement.setAttribute("class","cesium-animation-rectButton")))},SvgButton.prototype.setTooltip=function(t){this.svgElement.getElementsByTagName("title")[0].textContent=t},Object.defineProperties(Animation.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}}),Animation.prototype.isDestroyed=function(){return!1},Animation.prototype.destroy=function(){defined(this._observer)&&(this._observer.disconnect(),this._observer=void 0);const t=this._container.ownerDocument,e=this._mouseCallback;this._shuttleRingBackPanel.removeEventListener("mousedown",e,!0),this._shuttleRingBackPanel.removeEventListener("touchstart",e,!0),this._shuttleRingSwooshG.removeEventListener("mousedown",e,!0),this._shuttleRingSwooshG.removeEventListener("touchstart",e,!0),t.removeEventListener("mousemove",e,!0),t.removeEventListener("touchmove",e,!0),t.removeEventListener("mouseup",e,!0),t.removeEventListener("touchend",e,!0),t.removeEventListener("touchcancel",e,!0),this._shuttleRingPointer.removeEventListener("mousedown",e,!0),this._shuttleRingPointer.removeEventListener("touchstart",e,!0),this._knobOuter.removeEventListener("mousedown",e,!0),this._knobOuter.removeEventListener("touchstart",e,!0),this._container.removeChild(this._svgNode),this._container.removeChild(this._theme),this._realtimeSVG.destroy(),this._playReverseSVG.destroy(),this._playForwardSVG.destroy(),this._pauseSVG.destroy();const o=this._subscriptions;for(let n=0,i=o.length;n<i;n++)o[n].dispose();return destroyObject(this)},Animation.prototype.resize=function(){const t=this._container.clientWidth,e=this._container.clientHeight;if(t===this._lastWidth&&e===this._lastHeight)return;const o=this._svgNode,n=200,i=132;let s=t,a=e;0===t&&0===e?(s=n,a=i):0===t?(a=e,s=n*(e/i)):0===e&&(s=t,a=i*(t/n));const r=s/n,l=a/i;o.style.cssText=`width: ${s}px; height: ${a}px; position: absolute; bottom: 0; left: 0; overflow: hidden;`,o.setAttribute("width",s),o.setAttribute("height",a),o.setAttribute("viewBox",`0 0 ${s} ${a}`),this._topG.setAttribute("transform",`scale(${r},${l})`),this._centerX=Math.max(1,100*r),this._centerY=Math.max(1,100*l),this._lastHeight=t,this._lastWidth=e},Animation.prototype.applyThemeChanges=function(){const t=this._container.ownerDocument;if(!t.body.contains(this._container)){if(defined(this._observer))return;const e=this;return e._observer=new MutationObserver((function(){t.body.contains(e._container)&&(e._observer.disconnect(),e._observer=void 0,e.applyThemeChanges())})),void e._observer.observe(t,{childList:!0,subtree:!0})}const e=getElementColor(this._themeNormal),o=getElementColor(this._themeHover),n=getElementColor(this._themeSelect),i=getElementColor(this._themeDisabled),s=getElementColor(this._themeKnob),a=getElementColor(this._themePointer),r=getElementColor(this._themeSwoosh),l=getElementColor(this._themeSwooshHover),c=svgFromObject({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":makeColorString(e,gradientEnabledColor0)},{tagName:"stop",offset:"12%","stop-color":makeColorString(e,gradientEnabledColor1)},{tagName:"stop",offset:"46%","stop-color":makeColorString(e,gradientEnabledColor2)},{tagName:"stop",offset:"81%","stop-color":makeColorString(e,gradientEnabledColor3)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":makeColorString(o,gradientEnabledColor0)},{tagName:"stop",offset:"12%","stop-color":makeColorString(o,gradientEnabledColor1)},{tagName:"stop",offset:"46%","stop-color":makeColorString(o,gradientEnabledColor2)},{tagName:"stop",offset:"81%","stop-color":makeColorString(o,gradientEnabledColor3)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":makeColorString(n,gradientEnabledColor0)},{tagName:"stop",offset:"12%","stop-color":makeColorString(n,gradientEnabledColor1)},{tagName:"stop",offset:"46%","stop-color":makeColorString(n,gradientEnabledColor2)},{tagName:"stop",offset:"81%","stop-color":makeColorString(n,gradientEnabledColor3)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":makeColorString(i,gradientDisabledColor0)},{tagName:"stop",offset:"75%","stop-color":makeColorString(i,gradientDisabledColor1)}]},{id:"animation_blurred",tagName:"filter",width:"200%",height:"200%",x:"-50%",y:"-50%",children:[{tagName:"feGaussianBlur",stdDeviation:4,in:"SourceGraphic"}]},{id:"animation_shuttleRingSwooshGradient",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":r.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":r.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":r.toCssColorString()}]},{id:"animation_shuttleRingSwooshHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":l.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":l.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":l.toCssColorString()}]},{id:"animation_shuttleRingPointerGradient",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":a.toCssColorString()},{tagName:"stop",offset:"40%","stop-color":a.toCssColorString()},{tagName:"stop",offset:"60%","stop-color":makeColorString(a,gradientPointerColor)},{tagName:"stop",offset:"100%","stop-color":makeColorString(a,gradientPointerColor)}]},{id:"animation_shuttleRingPointerPaused",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":"#CCC"},{tagName:"stop",offset:"40%","stop-color":"#CCC"},{tagName:"stop",offset:"60%","stop-color":"#555"},{tagName:"stop",offset:"100%","stop-color":"#555"}]},{id:"animation_knobOuter",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":makeColorString(s,gradientEnabledColor0)},{tagName:"stop",offset:"60%","stop-color":makeColorString(s,gradientKnobColor)},{tagName:"stop",offset:"85%","stop-color":makeColorString(s,gradientEnabledColor1)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":makeColorString(s,gradientKnobColor)},{tagName:"stop",offset:"60%","stop-color":makeColorString(s,gradientEnabledColor0)},{tagName:"stop",offset:"85%","stop-color":makeColorString(s,gradientEnabledColor3)}]}]});defined(this._defsElement)?this._svgNode.replaceChild(c,this._defsElement):this._svgNode.appendChild(c),this._defsElement=c};export default Animation;
\ No newline at end of file
import binarySearch from"../../Core/binarySearch.js";import ClockRange from"../../Core/ClockRange.js";import ClockStep from"../../Core/ClockStep.js";import defined from"../../Core/defined.js";import DeveloperError from"../../Core/DeveloperError.js";import JulianDate from"../../Core/JulianDate.js";import knockout from"../../ThirdParty/knockout.js";import createCommand from"../createCommand.js";import ToggleButtonViewModel from"../ToggleButtonViewModel.js";const monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],realtimeShuttleRingAngle=15,maxShuttleRingAngle=105;function numberComparator(t,e){return t-e}function getTypicalMultiplierIndex(t,e){const i=binarySearch(e,t,numberComparator);return i<0?~i:i}function angleToMultiplier(t,e){if(Math.abs(t)<=realtimeShuttleRingAngle)return t/realtimeShuttleRingAngle;const i=realtimeShuttleRingAngle,o=maxShuttleRingAngle;let n;const l=0;let r;return t>0?(n=Math.log(e[e.length-1]),r=(n-l)/(o-i),Math.exp(l+r*(t-i))):(n=Math.log(-e[0]),r=(n-l)/(o-i),-Math.exp(l+r*(Math.abs(t)-i)))}function multiplierToAngle(t,e,i){if(i.clockStep===ClockStep.SYSTEM_CLOCK)return realtimeShuttleRingAngle;if(Math.abs(t)<=1)return t*realtimeShuttleRingAngle;const o=e[e.length-1];t>o?t=o:t<-o&&(t=-o);const n=realtimeShuttleRingAngle,l=maxShuttleRingAngle;let r;const a=0;let u;return t>0?(r=Math.log(o),u=(r-a)/(l-n),(Math.log(t)-a)/u+n):(r=Math.log(-e[0]),u=(r-a)/(l-n),-((Math.log(Math.abs(t))-a)/u+n))}function AnimationViewModel(t){if(!defined(t))throw new DeveloperError("clockViewModel is required.");const e=this;this._clockViewModel=t,this._allShuttleRingTicks=[],this._dateFormatter=AnimationViewModel.defaultDateFormatter,this._timeFormatter=AnimationViewModel.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,knockout.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(AnimationViewModel.defaultTicks),this.timeLabel=void 0,knockout.defineProperty(this,"timeLabel",(function(){return e._timeFormatter(e._clockViewModel.currentTime,e)})),this.dateLabel=void 0,knockout.defineProperty(this,"dateLabel",(function(){return e._dateFormatter(e._clockViewModel.currentTime,e)})),this.multiplierLabel=void 0,knockout.defineProperty(this,"multiplierLabel",(function(){const t=e._clockViewModel;if(t.clockStep===ClockStep.SYSTEM_CLOCK)return"Today";const i=t.multiplier;return i%1===0?`${i.toFixed(0)}x`:`${i.toFixed(3).replace(/0{0,3}$/,"")}x`})),this.shuttleRingAngle=void 0,knockout.defineProperty(this,"shuttleRingAngle",{get:function(){return multiplierToAngle(t.multiplier,e._allShuttleRingTicks,t)},set:function(t){t=Math.max(Math.min(t,maxShuttleRingAngle),-maxShuttleRingAngle);const i=e._allShuttleRingTicks,o=e._clockViewModel;if(o.clockStep=ClockStep.SYSTEM_CLOCK_MULTIPLIER,Math.abs(t)===maxShuttleRingAngle)return void(o.multiplier=t>0?i[i.length-1]:i[0]);let n=angleToMultiplier(t,i);if(e.snapToTicks)n=i[getTypicalMultiplierIndex(n,i)];else if(0!==n){const t=Math.abs(n);if(t>100){const e=t.toFixed(0).length-2,i=Math.pow(10,e);n=Math.round(n/i)*i|0}else t>realtimeShuttleRingAngle?n=Math.round(n):t>1?n=+n.toFixed(1):t>0&&(n=+n.toFixed(2))}o.multiplier=n}}),this._canAnimate=void 0,knockout.defineProperty(this,"_canAnimate",(function(){const t=e._clockViewModel,i=t.clockRange;if(e.shuttleRingDragging||i===ClockRange.UNBOUNDED)return!0;const o=t.multiplier,n=t.currentTime,l=t.startTime;let r=!1;if(i===ClockRange.LOOP_STOP)r=JulianDate.greaterThan(n,l)||n.equals(l)&&o>0;else{const e=t.stopTime;r=JulianDate.greaterThan(n,l)&&JulianDate.lessThan(n,e)||n.equals(l)&&o>0||n.equals(e)&&o<0}return r||(t.shouldAnimate=!1),r})),this._isSystemTimeAvailable=void 0,knockout.defineProperty(this,"_isSystemTimeAvailable",(function(){const t=e._clockViewModel,i=t.clockRange;if(i===ClockRange.UNBOUNDED)return!0;const o=t.systemTime;return JulianDate.greaterThanOrEquals(o,t.startTime)&&JulianDate.lessThanOrEquals(o,t.stopTime)})),this._isAnimating=void 0,knockout.defineProperty(this,"_isAnimating",(function(){return e._clockViewModel.shouldAnimate&&(e._canAnimate||e.shuttleRingDragging)}));const i=createCommand((function(){const t=e._clockViewModel;t.shouldAnimate?t.shouldAnimate=!1:e._canAnimate&&(t.shouldAnimate=!0)}));this._pauseViewModel=new ToggleButtonViewModel(i,{toggled:knockout.computed((function(){return!e._isAnimating})),tooltip:"Pause"});const o=createCommand((function(){const t=e._clockViewModel,i=t.multiplier;i>0&&(t.multiplier=-i),t.shouldAnimate=!0}));this._playReverseViewModel=new ToggleButtonViewModel(o,{toggled:knockout.computed((function(){return e._isAnimating&&t.multiplier<0})),tooltip:"Play Reverse"});const n=createCommand((function(){const t=e._clockViewModel,i=t.multiplier;i<0&&(t.multiplier=-i),t.shouldAnimate=!0}));this._playForwardViewModel=new ToggleButtonViewModel(n,{toggled:knockout.computed((function(){return e._isAnimating&&t.multiplier>0&&t.clockStep!==ClockStep.SYSTEM_CLOCK})),tooltip:"Play Forward"});const l=createCommand((function(){e._clockViewModel.clockStep=ClockStep.SYSTEM_CLOCK}),knockout.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new ToggleButtonViewModel(l,{toggled:knockout.computed((function(){return t.clockStep===ClockStep.SYSTEM_CLOCK})),tooltip:knockout.computed((function(){return e._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"}))}),this._slower=createCommand((function(){const t=e._clockViewModel,i=e._allShuttleRingTicks,o=t.multiplier,n=getTypicalMultiplierIndex(o,i)-1;n>=0&&(t.multiplier=i[n])})),this._faster=createCommand((function(){const t=e._clockViewModel,i=e._allShuttleRingTicks,o=t.multiplier,n=getTypicalMultiplierIndex(o,i)+1;n<i.length&&(t.multiplier=i[n])}))}AnimationViewModel.defaultDateFormatter=function(t,e){const i=JulianDate.toGregorianDate(t);return`${monthNames[i.month-1]} ${i.day} ${i.year}`},AnimationViewModel.defaultTicks=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800],AnimationViewModel.defaultTimeFormatter=function(t,e){const i=JulianDate.toGregorianDate(t),o=Math.round(i.millisecond);return Math.abs(e._clockViewModel.multiplier)<1?`${i.hour.toString().padStart(2,"0")}:${i.minute.toString().padStart(2,"0")}:${i.second.toString().padStart(2,"0")}.${o.toString().padStart(3,"0")}`:`${i.hour.toString().padStart(2,"0")}:${i.minute.toString().padStart(2,"0")}:${i.second.toString().padStart(2,"0")} UTC`},AnimationViewModel.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)},AnimationViewModel.prototype.setShuttleRingTicks=function(t){if(!defined(t))throw new DeveloperError("positiveTicks is required.");let e,i,o;const n={},l=this._sortedFilteredPositiveTicks;for(l.length=0,e=0,i=t.length;e<i;++e)o=t[e],n.hasOwnProperty(o)||(n[o]=!0,l.push(o));l.sort(numberComparator);const r=[];for(i=l.length,e=i-1;e>=0;--e)o=l[e],0!==o&&r.push(-o);Array.prototype.push.apply(r,l),this._allShuttleRingTicks=r},Object.defineProperties(AnimationViewModel.prototype,{slower:{get:function(){return this._slower}},faster:{get:function(){return this._faster}},clockViewModel:{get:function(){return this._clockViewModel}},pauseViewModel:{get:function(){return this._pauseViewModel}},playReverseViewModel:{get:function(){return this._playReverseViewModel}},playForwardViewModel:{get:function(){return this._playForwardViewModel}},playRealtimeViewModel:{get:function(){return this._playRealtimeViewModel}},dateFormatter:{get:function(){return this._dateFormatter},set:function(t){if("function"!==typeof t)throw new DeveloperError("dateFormatter must be a function");this._dateFormatter=t}},timeFormatter:{get:function(){return this._timeFormatter},set:function(t){if("function"!==typeof t)throw new DeveloperError("timeFormatter must be a function");this._timeFormatter=t}}}),AnimationViewModel._maxShuttleRingAngle=maxShuttleRingAngle,AnimationViewModel._realtimeShuttleRingAngle=realtimeShuttleRingAngle;export default AnimationViewModel;
\ No newline at end of file
.cesium-lighter .cesium-animation-themeNormal{color:#e5f2fe}.cesium-lighter .cesium-animation-themeHover{color:#abd6ff}.cesium-lighter .cesium-animation-themeSelect{color:#e5f2fe}.cesium-lighter .cesium-animation-themeDisabled{color:#efefef}.cesium-lighter .cesium-animation-themeKnob{color:#e1e2e3}.cesium-lighter .cesium-animation-themePointer{color:#fa5}.cesium-lighter .cesium-animation-themeSwoosh{color:#ace}.cesium-lighter .cesium-animation-themeSwooshHover{color:#bdf}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath,.cesium-lighter .cesium-animation-svgText{fill:#111}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow{fill:#ffaa2a}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#d3d3d3}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-lighter .cesium-animation-shuttleRingBack{fill:#fafafa;fill-opacity:1;stroke:#aeaeae;stroke-width:1.2}.cesium-lighter .cesium-animation-shuttleRingSwoosh line{stroke:#8ac}.cesium-lighter .cesium-animation-knobOuter{stroke:#a5a5a5}
\ No newline at end of file
.cesium-baseLayerPicker-selected{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.cesium-baseLayerPicker-dropDown{display:block;position:absolute;box-sizing:content-box;top:auto;right:0;width:320px;max-height:500px;margin-top:5px;background-color:rgba(38,38,38,.75);border:1px solid #444;padding:6px;overflow:auto;border-radius:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;transform:translateY(-20%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-baseLayerPicker-dropDown-visible{transform:translate(0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-baseLayerPicker-sectionTitle{display:block;font-family:sans-serif;font-size:16pt;text-align:left;color:#edffff;margin-bottom:4px}.cesium-baseLayerPicker-choices{margin-bottom:5px}.cesium-baseLayerPicker-categoryTitle{color:#edffff;font-size:11pt}.cesium-baseLayerPicker-choices{display:block;border:1px solid #888;border-radius:5px;padding:5px 0}.cesium-baseLayerPicker-item{display:inline-block;vertical-align:top;margin:2px 5px;width:64px;text-align:center;cursor:pointer}.cesium-baseLayerPicker-itemLabel{display:block;font-family:sans-serif;font-size:8pt;text-align:center;vertical-align:middle;color:#edffff;cursor:pointer;word-wrap:break-word}.cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel,.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel{text-decoration:underline}.cesium-baseLayerPicker-itemIcon{display:inline-block;position:relative;width:inherit;height:auto;background-size:100% 100%;border:1px solid #444;border-radius:9px;color:#edffff;margin:0;padding:0;cursor:pointer;box-sizing:border-box}.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon{border-color:#fff;box-shadow:0 0 8px #fff,0 0 8px #fff}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel{color:#bdecf8}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon{border:4px double #bdecf8}
\ No newline at end of file
import defined from"../../Core/defined.js";import destroyObject from"../../Core/destroyObject.js";import DeveloperError from"../../Core/DeveloperError.js";import FeatureDetection from"../../Core/FeatureDetection.js";import knockout from"../../ThirdParty/knockout.js";import getElement from"../getElement.js";import BaseLayerPickerViewModel from"./BaseLayerPickerViewModel.js";function BaseLayerPicker(e,t){if(!defined(e))throw new DeveloperError("container is required.");e=getElement(e);const i=new BaseLayerPickerViewModel(t),a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button",a.setAttribute("data-bind","attr: { title: buttonTooltip },click: toggleDropDown"),e.appendChild(a);const r=document.createElement("img");r.setAttribute("draggable","false"),r.className="cesium-baseLayerPicker-selected",r.setAttribute("data-bind","attr: { src: buttonImageUrl }, visible: !!buttonImageUrl"),a.appendChild(r);const n=document.createElement("div");n.className="cesium-baseLayerPicker-dropDown",n.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-dropDown-visible" : dropDownVisible }'),e.appendChild(n);const s=document.createElement("div");s.className="cesium-baseLayerPicker-sectionTitle",s.setAttribute("data-bind","visible: imageryProviderViewModels.length > 0"),s.innerHTML="Imagery",n.appendChild(s);const o=document.createElement("div");o.className="cesium-baseLayerPicker-section",o.setAttribute("data-bind","foreach: _imageryProviders"),n.appendChild(o);const c=document.createElement("div");c.className="cesium-baseLayerPicker-category",o.appendChild(c);const d=document.createElement("div");d.className="cesium-baseLayerPicker-categoryTitle",d.setAttribute("data-bind","text: name"),c.appendChild(d);const m=document.createElement("div");m.className="cesium-baseLayerPicker-choices",m.setAttribute("data-bind","foreach: providers"),c.appendChild(m);const l=document.createElement("div");l.className="cesium-baseLayerPicker-item",l.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedImagery },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedImagery = $data; }'),m.appendChild(l);const u=document.createElement("img");u.className="cesium-baseLayerPicker-itemIcon",u.setAttribute("data-bind","attr: { src: iconUrl }"),u.setAttribute("draggable","false"),l.appendChild(u);const p=document.createElement("div");p.className="cesium-baseLayerPicker-itemLabel",p.setAttribute("data-bind","text: name"),l.appendChild(p);const b=document.createElement("div");b.className="cesium-baseLayerPicker-sectionTitle",b.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),b.innerHTML="Terrain",n.appendChild(b);const h=document.createElement("div");h.className="cesium-baseLayerPicker-section",h.setAttribute("data-bind","foreach: _terrainProviders"),n.appendChild(h);const y=document.createElement("div");y.className="cesium-baseLayerPicker-category",h.appendChild(y);const v=document.createElement("div");v.className="cesium-baseLayerPicker-categoryTitle",v.setAttribute("data-bind","text: name"),y.appendChild(v);const k=document.createElement("div");k.className="cesium-baseLayerPicker-choices",k.setAttribute("data-bind","foreach: providers"),y.appendChild(k);const P=document.createElement("div");P.className="cesium-baseLayerPicker-item",P.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),k.appendChild(P);const L=document.createElement("img");L.className="cesium-baseLayerPicker-itemIcon",L.setAttribute("data-bind","attr: { src: iconUrl }"),L.setAttribute("draggable","false"),P.appendChild(L);const E=document.createElement("div");E.className="cesium-baseLayerPicker-itemLabel",E.setAttribute("data-bind","text: name"),P.appendChild(E),knockout.applyBindings(i,a),knockout.applyBindings(i,n),this._viewModel=i,this._container=e,this._element=a,this._dropPanel=n,this._closeDropDown=function(e){a.contains(e.target)||n.contains(e.target)||(i.dropDownVisible=!1)},FeatureDetection.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(BaseLayerPicker.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}}),BaseLayerPicker.prototype.isDestroyed=function(){return!1},BaseLayerPicker.prototype.destroy=function(){return FeatureDetection.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),knockout.cleanNode(this._element),knockout.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),destroyObject(this)};export default BaseLayerPicker;
\ No newline at end of file
import defaultValue from"../../Core/defaultValue.js";import defined from"../../Core/defined.js";import DeveloperError from"../../Core/DeveloperError.js";import EllipsoidTerrainProvider from"../../Core/EllipsoidTerrainProvider.js";import knockout from"../../ThirdParty/knockout.js";import createCommand from"../createCommand.js";function BaseLayerPickerViewModel(e){e=defaultValue(e,defaultValue.EMPTY_OBJECT);const r=e.globe,o=defaultValue(e.imageryProviderViewModels,[]),t=defaultValue(e.terrainProviderViewModels,[]);if(!defined(r))throw new DeveloperError("globe is required");this._globe=r,this.imageryProviderViewModels=o.slice(0),this.terrainProviderViewModels=t.slice(0),this.dropDownVisible=!1,knockout.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);const i=knockout.getObservable(this,"imageryProviderViewModels"),n=knockout.pureComputed((function(){const e=i(),r={};let o;for(o=0;o<e.length;o++){const t=e[o],i=t.category;defined(r[i])?r[i].push(t):r[i]=[t]}const t=Object.keys(r),n=[];for(o=0;o<t.length;o++){const e=t[o];n.push({name:e,providers:r[e]})}return n}));this._imageryProviders=n;const s=knockout.getObservable(this,"terrainProviderViewModels"),d=knockout.pureComputed((function(){const e=s(),r={};let o;for(o=0;o<e.length;o++){const t=e[o],i=t.category;defined(r[i])?r[i].push(t):r[i]=[t]}const t=Object.keys(r),i=[];for(o=0;o<t.length;o++){const e=t[o];i.push({name:e,providers:r[e]})}return i}));this._terrainProviders=d,this.buttonTooltip=void 0,knockout.defineProperty(this,"buttonTooltip",(function(){const e=this.selectedImagery,r=this.selectedTerrain,o=defined(e)?e.name:void 0,t=defined(r)?r.name:void 0;return defined(o)&&defined(t)?`${o}\n${t}`:defined(o)?o:t})),this.buttonImageUrl=void 0,knockout.defineProperty(this,"buttonImageUrl",(function(){const e=this.selectedImagery;if(defined(e))return e.iconUrl})),this.selectedImagery=void 0;const l=knockout.observable();this._currentImageryProviders=[],knockout.defineProperty(this,"selectedImagery",{get:function(){return l()},set:function(e){if(l()===e)return void(this.dropDownVisible=!1);let r;const o=this._currentImageryProviders,t=o.length,i=this._globe.imageryLayers;let n=!1;for(r=0;r<t;r++){const e=i.length;for(let t=0;t<e;t++){const e=i.get(t);if(e.imageryProvider===o[r]){i.remove(e),n=!0;break}}}if(defined(e)){const o=e.creationCommand();if(Array.isArray(o)){const e=o.length;for(r=e-1;r>=0;r--)i.addImageryProvider(o[r],0);this._currentImageryProviders=o.slice(0)}else if(this._currentImageryProviders=[o],n)i.addImageryProvider(o,0);else{const e=i.get(0);defined(e)&&i.remove(e),i.addImageryProvider(o,0)}}l(e),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;const a=knockout.observable();knockout.defineProperty(this,"selectedTerrain",{get:function(){return a()},set:function(e){if(a()===e)return void(this.dropDownVisible=!1);let r;defined(e)&&(r=e.creationCommand()),this._globe.depthTestAgainstTerrain=!(r instanceof EllipsoidTerrainProvider),this._globe.terrainProvider=r,a(e),this.dropDownVisible=!1}});const c=this;this._toggleDropDown=createCommand((function(){c.dropDownVisible=!c.dropDownVisible})),this.selectedImagery=defaultValue(e.selectedImageryProviderViewModel,o[0]),this.selectedTerrain=defaultValue(e.selectedTerrainProviderViewModel,t[0])}Object.defineProperties(BaseLayerPickerViewModel.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});export default BaseLayerPickerViewModel;
\ No newline at end of file
import defaultValue from"../../Core/defaultValue.js";import defined from"../../Core/defined.js";import DeveloperError from"../../Core/DeveloperError.js";import knockout from"../../ThirdParty/knockout.js";import createCommand from"../createCommand.js";function ProviderViewModel(e){if(!defined(e.name))throw new DeveloperError("options.name is required.");if(!defined(e.tooltip))throw new DeveloperError("options.tooltip is required.");if(!defined(e.iconUrl))throw new DeveloperError("options.iconUrl is required.");if("function"!==typeof e.creationFunction)throw new DeveloperError("options.creationFunction is required.");let o=e.creationFunction;defined(o.canExecute)||(o=createCommand(o)),this._creationCommand=o,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=defaultValue(e.category,""),knockout.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(ProviderViewModel.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});export default ProviderViewModel;
\ No newline at end of file
import buildModuleUrl from"../../Core/buildModuleUrl.js";import ArcGisMapServerImageryProvider from"../../Scene/ArcGisMapServerImageryProvider.js";import createWorldImagery from"../../Scene/createWorldImagery.js";import IonImageryProvider from"../../Scene/IonImageryProvider.js";import IonWorldImageryStyle from"../../Scene/IonWorldImageryStyle.js";import OpenStreetMapImageryProvider from"../../Scene/OpenStreetMapImageryProvider.js";import TileMapServiceImageryProvider from"../../Scene/TileMapServiceImageryProvider.js";import ProviderViewModel from"../BaseLayerPicker/ProviderViewModel.js";function createDefaultImageryProviderViewModels(){const e=[];return e.push(new ProviderViewModel({name:"Bing Maps Aerial",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return createWorldImagery({style:IonWorldImageryStyle.AERIAL})}})),e.push(new ProviderViewModel({name:"Bing Maps Aerial with Labels",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return createWorldImagery({style:IonWorldImageryStyle.AERIAL_WITH_LABELS})}})),e.push(new ProviderViewModel({name:"Bing Maps Roads",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return createWorldImagery({style:IonWorldImageryStyle.ROAD})}})),e.push(new ProviderViewModel({name:"ESRI World Imagery",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/esriWorldImagery.png"),tooltip:"World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes NASA Blue Marble: Next Generation 500m resolution imagery at small scales (above 1:1,000,000), i-cubed 15m eSAT imagery at medium-to-large scales (down to 1:70,000) for the world, and USGS 15m Landsat imagery for Antarctica. The map features 0.3m resolution imagery in the continental United States and 0.6m resolution imagery in parts of Western Europe from DigitalGlobe. In other parts of the world, 1 meter resolution imagery is available from GeoEye IKONOS, i-cubed Nationwide Prime, Getmapping, AeroGRID, IGN Spain, and IGP Portugal. Additionally, imagery at different resolutions has been contributed by the GIS User Community.\nhttp://www.esri.com",category:"Other",creationFunction:function(){return new ArcGisMapServerImageryProvider({url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",enablePickFeatures:!1})}})),e.push(new ProviderViewModel({name:"ESRI World Street Map",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/esriWorldStreetMap.png"),tooltip:"This worldwide street map presents highway-level data for the world. Street-level data includes the United States; much of Canada; Japan; most countries in Europe; Australia and New Zealand; India; parts of South America including Argentina, Brazil, Chile, Colombia, and Venezuela; Ghana; and parts of southern Africa including Botswana, Lesotho, Namibia, South Africa, and Swaziland.\nhttp://www.esri.com",category:"Other",creationFunction:function(){return new ArcGisMapServerImageryProvider({url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",enablePickFeatures:!1})}})),e.push(new ProviderViewModel({name:"ESRI National Geographic",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/esriNationalGeographic.png"),tooltip:"This web map contains the National Geographic World Map service. This map service is designed to be used as a general reference map for informational and educational purposes as well as a basemap by GIS professionals and other users for creating web maps and web mapping applications.\nhttp://www.esri.com",category:"Other",creationFunction:function(){return new ArcGisMapServerImageryProvider({url:"https://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/",enablePickFeatures:!1})}})),e.push(new ProviderViewModel({name:"Open­Street­Map",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:"OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.\nhttp://www.openstreetmap.org",category:"Other",creationFunction:function(){return new OpenStreetMapImageryProvider({url:"https://a.tile.openstreetmap.org/"})}})),e.push(new ProviderViewModel({name:"Stamen Watercolor",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/stamenWatercolor.png"),tooltip:"Reminiscent of hand drawn maps, Stamen watercolor maps apply raster effect area washes and organic edges over a paper texture to add warm pop to any map.\nhttp://maps.stamen.com",category:"Other",creationFunction:function(){return new OpenStreetMapImageryProvider({url:"https://stamen-tiles.a.ssl.fastly.net/watercolor/",credit:"Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA."})}})),e.push(new ProviderViewModel({name:"Stamen Toner",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/stamenToner.png"),tooltip:"A high contrast black and white map.\nhttp://maps.stamen.com",category:"Other",creationFunction:function(){return new OpenStreetMapImageryProvider({url:"https://stamen-tiles.a.ssl.fastly.net/toner/",credit:"Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA."})}})),e.push(new ProviderViewModel({name:"Sentinel-2",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/sentinel-2.png"),tooltip:"Sentinel-2 cloudless by EOX IT Services GmbH (Contains modified Copernicus Sentinel data 2016 and 2017).",category:"Cesium ion",creationFunction:function(){return new IonImageryProvider({assetId:3954})}})),e.push(new ProviderViewModel({name:"Blue Marble",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return new IonImageryProvider({assetId:3845})}})),e.push(new ProviderViewModel({name:"Earth at night",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/earthAtNight.png"),tooltip:"The Earth at night, also known as The Black Marble, is a 500 meter resolution global composite imagery layer released by NASA.",category:"Cesium ion",creationFunction:function(){return new IonImageryProvider({assetId:3812})}})),e.push(new ProviderViewModel({name:"Natural Earth II",iconUrl:buildModuleUrl("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:"Natural Earth II, darkened for contrast.\nhttp://www.naturalearthdata.com/",category:"Cesium ion",creationFunction:function(){return new TileMapServiceImageryProvider({url:buildModuleUrl("Assets/Textures/NaturalEarthII")})}})),e}export default createDefaultImageryProviderViewModels;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment