@gjsify/example-dom-three-geometry-teapot 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gjs.js +18 -18
- package/dist/gjs.node.mjs +20 -20
- package/package.json +7 -7
package/dist/gjs.js
CHANGED
|
@@ -12,7 +12,7 @@ if(globalThis.__gjsifyBundleUrl??=import.meta.url,Symbol.dispose||(Symbol.dispos
|
|
|
12
12
|
`),n){if(r){let e=t.indexOf(`
|
|
13
13
|
`);t=e===-1?t+`
|
|
14
14
|
`+r:t.slice(0,e+1)+r+t.slice(e+1)}}else if(this.canvas){let e=this.canvas.getGlArea().get_use_es(),n=/\b(attribute|varying)\b/.test(t)?e?`100`:`120`:this._getGlslVersion(e);n?t=`#version `+n+`
|
|
15
|
-
`+r+t:r&&(t=r+t)}else r&&(t=r+t);return t}};function installShaderLifecycleMethods(e){Object.assign(e,pn)}const mn={createProgram(){let e=this._gl.createProgram();if(e<=0)return null;let t=new WebGLProgram$1(e,this);return this._programs[e]=t,t},deleteProgram(e){this._deleteLinkable(`deleteProgram`,e,WebGLProgram$1)},useProgram(e){if(!checkObject(e))throw TypeError(`useProgram(WebGLProgram)`);if(e)this._checkWrapper(e,WebGLProgram$1)&&(this._activeProgram!==e&&(this._switchActiveProgram(this._activeProgram),this._activeProgram=e,e._refCount+=1),this._gl.useProgram(e._|0));else{this._switchActiveProgram(this._activeProgram),this._activeProgram=null,this._gl.useProgram(0);return}},linkProgram(e){if(!checkObject(e))throw TypeError(`linkProgram(WebGLProgram)`);if(this._checkWrapper(e,WebGLProgram$1)){e._linkCount+=1,e._attributes=[];let t=this.getError();for(let t of e._references)t instanceof WebGLShader$1&&t._needsRecompile&&(this._gl.compileShader(t._|0),t._needsRecompile=!1);this._gl.linkProgram(e._|0);let n=this.getError();n===this.NO_ERROR&&(e._linkStatus=this._fixupLink(e)),this.getError(),this.setError(t||n)}},validateProgram(e){if(this._checkWrapper(e,WebGLProgram$1)){this._gl.validateProgram(e._|0);let t=this.getError();t===this.NO_ERROR&&(e._linkInfoLog=this._gl.getProgramInfoLog(e._|0)),this.getError(),this.setError(t)}},attachShader(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`attachShader(WebGLProgram, WebGLShader)`);if(!e||!t){this.setError(this.INVALID_VALUE);return}else if(e instanceof WebGLProgram$1&&t instanceof WebGLShader$1&&this._checkOwns(e)&&this._checkOwns(t)&&!e._linked(t)){this._saveError(),this._gl.attachShader(e._|0,t._|0);let n=this.getError();this._restoreError(n),n===this.NO_ERROR&&e._link(t);return}this.setError(this.INVALID_OPERATION)},detachShader(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`detachShader(WebGLProgram, WebGLShader)`);this._checkWrapper(e,WebGLProgram$1)&&this._checkWrapper(t,WebGLShader$1)&&(e._linked(t)?(this._gl.detachShader(e._,t._),e._unlink(t)):this.setError(this.INVALID_OPERATION))},bindAttribLocation(e,t,n){if(!checkObject(e)||typeof n!=`string`)throw TypeError(`bindAttribLocation(WebGLProgram, GLint, String)`);n+=``,!isValidString(n)||n.length>256?this.setError(this.INVALID_VALUE):/^_?webgl_a/.test(n)?this.setError(this.INVALID_OPERATION):this._checkWrapper(e,WebGLProgram$1)&&this._gl.bindAttribLocation(e._|0,t|0,n)},getAttachedShaders(e){if(!checkObject(e)||typeof e==`object`&&e&&!(e instanceof WebGLProgram$1))throw TypeError(`getAttachedShaders(WebGLProgram)`);if(!e)this.setError(this.INVALID_VALUE);else if(this._checkWrapper(e,WebGLProgram$1))return e._references.filter(e=>e instanceof WebGLShader$1);return null},getProgramInfoLog(e){if(!checkObject(e))throw TypeError(`getProgramInfoLog(WebGLProgram)`);return this._checkWrapper(e,WebGLProgram$1)?e._linkInfoLog:null},getProgramParameter(e,t=0){if(!checkObject(e))throw TypeError(`getProgramParameter(WebGLProgram, GLenum)`);if(this._checkWrapper(e,WebGLProgram$1)){switch(t){case this.DELETE_STATUS:return e._pendingDelete;case this.LINK_STATUS:return e._linkStatus;case this.VALIDATE_STATUS:return!!this._gl.getProgramParameter(e._,t);case this.ATTACHED_SHADERS:return this._gl.getProgramParameter(e._,t);case this.ACTIVE_ATTRIBUTES:return e._linkStatus?e._attributes.length:this._gl.getProgramParameter(e._,t);case this.ACTIVE_UNIFORMS:return e._linkStatus?e._uniforms.length:this._gl.getProgramParameter(e._,t)}this.setError(this.INVALID_ENUM)}return null},_switchActiveProgram(e){e&&(--e._refCount,e._checkDelete())},_fixupLink(e){if(!this._gl.getProgramParameter(e._,this.LINK_STATUS))return e._linkInfoLog=this._gl.getProgramInfoLog(e._),!1;let t=this.getProgramParameter(e,this.ACTIVE_ATTRIBUTES),n=Array.from({length:t});e._attributes.length=t;for(let r=0;r<t;++r)n[r]=this.getActiveAttrib(e,r)?.name,e._attributes[r]=this.getAttribLocation(e,n[r])|0;for(let t=0;t<n.length;++t)if(n[t].length>256)return e._linkInfoLog=`attribute `+n[t]+` is too long`,!1;for(let r=0;r<t;++r)e._attributes[r]<0||this._gl.bindAttribLocation(e._|0,e._attributes[r],n[r]);if(this._gl.linkProgram(e._|0),!this._gl.getProgramParameter(e._|0,this.LINK_STATUS))return e._linkInfoLog=this._gl.getProgramInfoLog(e._),!1;let r=this.getProgramParameter(e,this.ACTIVE_UNIFORMS);e._uniforms.length=r;for(let t=0;t<r;++t){let n=this.getActiveUniform(e,t);n&&(e._uniforms[t]=n)}for(let t=0;t<e._uniforms.length;++t)if(e._uniforms[t].name.length>256)return e._linkInfoLog=`uniform `+e._uniforms[t].name+` is too long`,!1;return e._linkInfoLog=``,!0},_deleteLinkable(e,t,n){if(!checkObject(t))throw TypeError(e+`(`+n.name+`)`);if(t instanceof n&&this._checkOwns(t)){t._pendingDelete=!0,t._checkDelete();return}this.setError(this.INVALID_OPERATION)}};function installProgramLifecycleMethods(e){Object.assign(e,mn)}var WebGLActiveInfo=class{constructor(e){this.size=e.size,this.type=e.type,this.name=e.name}};const hn={getActiveAttrib(e,t){if(!checkObject(e))throw TypeError(`getActiveAttrib(WebGLProgram)`);if(!e)throw TypeError(`getActiveAttrib(WebGLProgram, GLuint)`);if(this._checkWrapper(e,WebGLProgram$1)){if(t>=(e._linkStatus?e._attributes.length:this._gl.getProgramParameter(e._|0,this.ACTIVE_ATTRIBUTES)))return this._gl.getError(),this.setError(this.INVALID_VALUE),null;let n=this._gl.getActiveAttrib(e._|0,t|0);if(n)return new WebGLActiveInfo(n)}return null},getActiveUniform(e,t){if(!checkObject(e))throw TypeError(`getActiveUniform(WebGLProgram, GLint)`);if(!e)throw TypeError(`getActiveUniform(WebGLProgram, GLuint)`);if(this._checkWrapper(e,WebGLProgram$1)){if(t>=(e._linkStatus?e._uniforms.length:this._gl.getProgramParameter(e._|0,this.ACTIVE_UNIFORMS)))return this.setError(this.INVALID_VALUE),null;let n=this._gl.getActiveUniform(e._|0,t|0);if(n)return new WebGLActiveInfo(n)}return null},getAttribLocation(e,t){if(!checkObject(e))throw TypeError(`getAttribLocation(WebGLProgram, String)`);if(t+=``,!isValidString(t)||t.length>256)this.setError(this.INVALID_VALUE);else if(this._checkWrapper(e,WebGLProgram$1))return this._gl.getAttribLocation(e._|0,t+``);return-1},getUniform(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`getUniform(WebGLProgram, WebGLUniformLocation)`);if(!e)return this.setError(this.INVALID_VALUE),null;if(!t)return null;if(this._checkWrapper(e,WebGLProgram$1)){if(!checkUniform(e,t))return this.setError(this.INVALID_OPERATION),null;let n=this._gl.getUniform(e._|0,t._|0);if(!n)return null;switch(t._activeInfo.type){case this.FLOAT:return n[0];case this.FLOAT_VEC2:return new Float32Array(n.slice(0,2));case this.FLOAT_VEC3:return new Float32Array(n.slice(0,3));case this.FLOAT_VEC4:return new Float32Array(n.slice(0,4));case this.INT:return n[0]|0;case this.INT_VEC2:return new Int32Array(n.slice(0,2));case this.INT_VEC3:return new Int32Array(n.slice(0,3));case this.INT_VEC4:return new Int32Array(n.slice(0,4));case this.BOOL:return!!n[0];case this.BOOL_VEC2:return[!!n[0],!!n[1]];case this.BOOL_VEC3:return[!!n[0],!!n[1],!!n[2]];case this.BOOL_VEC4:return[!!n[0],!!n[1],!!n[2],!!n[3]];case this.FLOAT_MAT2:return new Float32Array(n.slice(0,4));case this.FLOAT_MAT3:return new Float32Array(n.slice(0,9));case this.FLOAT_MAT4:return new Float32Array(n.slice(0,16));case this.SAMPLER_2D:case this.SAMPLER_CUBE:return n[0]|0;default:return null}}return null},getUniformLocation(e,t){if(!checkObject(e))throw TypeError(`getUniformLocation(WebGLProgram, String)`);if(t+=``,!isValidString(t))return this.setError(this.INVALID_VALUE),null;if(this._checkWrapper(e,WebGLProgram$1)){let n=this._gl.getUniformLocation(e._|0,t);if(n!==null&&n>=0){let r=t;/\[\d+\]$/.test(t)&&(r=t.replace(/\[\d+\]$/,`[0]`));let i=r+`[0]`,a=null;for(let t=0;t<e._uniforms.length;++t){let n=e._uniforms[t];if(n.name===r||n.name===i){a={size:n.size,type:n.type,name:n.name};break}}a||={name:r,type:0,size:1};let o=new WebGLUniformLocation(n,e,a),s=t.match(/\[(\d+)\]$/),c=s?+s[1]:-1;if(a.name.endsWith(`[0]`)&&(c===-1||c===0)){let t=a.name.replace(/\[0\]$/,``),n=[];this._saveError();for(let r=0;this.getError()===this.NO_ERROR;++r){let i=this._gl.getUniformLocation(e._|0,t+`[`+r+`]`);if(this.getError()!==this.NO_ERROR||i==null||i<0)break;n.push(i)}this._restoreError(this.NO_ERROR),o._array=n}else if(c>0&&c>=a.size)return null;return o}}return null}};function installIntrospectionMethods(e){Object.assign(e,hn)}const gn={uniform1f(e,t){this._checkUniformValid(e,t,`uniform1f`,1,`f`)&&this._gl.uniform1f(e?._||0,t)},uniform1i(e,t){this._gl.uniform1i(e?._||0,t)},uniform2f(e,t,n){this._checkUniformValid(e,t,`uniform2f`,2,`f`)&&this._gl.uniform2f(e?._||0,t,n)},uniform2i(e,t,n){this._checkUniformValid(e,t,`uniform2i`,2,`i`)&&this._gl.uniform2i(e?._||0,t,n)},uniform3f(e,t,n,r){this._checkUniformValid(e,t,`uniform3f`,3,`f`)&&this._gl.uniform3f(e?._||0,t,n,r)},uniform3i(e,t,n,r){this._checkUniformValid(e,t,`uniform3i`,3,`i`)&&this._gl.uniform3i(e?._||0,t,n,r)},uniform4f(e,t,n,r,i){if(!this._checkUniformValid(e,t,`uniform4f`,4,`f`)){k.error(`uniform4f is not valid!`);return}this._gl.uniform4f(e?._||0,t,n,r,i)},uniform4i(e,t,n,r,i){this._checkUniformValid(e,t,`uniform4i`,4,`i`)&&this._gl.uniform4i(e?._||0,t,n,r,i)},uniform1fv(e,t){if(!(!e||!this._checkUniformValueValid(e,t,`uniform1fv`,1,`f`))){if(e?._array){let n=e._array;for(let e=0;e<n.length&&e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform1f(r,t[e])}return}this._gl.uniform1f(e?._|0,t[0])}},uniform1iv(e,t){if(this._checkUniformValueValid(e,t,`uniform1iv`,1,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform1i(r,t[e])}return}this.uniform1i(e,t[0])}},uniform2fv(e,t){if(this._checkUniformValueValid(e,t,`uniform2fv`,2,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&2*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform2f(r,t[2*e],t[2*e+1])}return}this._gl.uniform2f(e?._||0,t[0],t[1])}},uniform2iv(e,t){if(this._checkUniformValueValid(e,t,`uniform2iv`,2,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&2*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform2i(r,t[2*e],t[2*e+1])}return}this.uniform2i(e,t[0],t[1])}},uniform3fv(e,t){if(this._checkUniformValueValid(e,t,`uniform3fv`,3,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&3*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform3f(r,t[3*e],t[3*e+1],t[3*e+2])}return}this._gl.uniform3f(e?._||0,t[0],t[1],t[2])}},uniform3iv(e,t){if(this._checkUniformValueValid(e,t,`uniform3iv`,3,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&3*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform3i(r,t[3*e],t[3*e+1],t[3*e+2])}return}this.uniform3i(e,t[0],t[1],t[2])}},uniform4fv(e,t){if(this._checkUniformValueValid(e,t,`uniform4fv`,4,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&4*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform4f(r,t[4*e],t[4*e+1],t[4*e+2],t[4*e+3])}return}this._gl.uniform4f(e?._||0,t[0],t[1],t[2],t[3])}},uniform4iv(e,t){if(this._checkUniformValueValid(e,t,`uniform4iv`,4,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&4*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform4i(r,t[4*e],t[4*e+1],t[4*e+2],t[4*e+3])}return}this.uniform4i(e,t[0],t[1],t[2],t[3])}},uniformMatrix2fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix2fv`,2))return;let r=new Float32Array(n);this._gl.uniformMatrix2fv(e?._||0,!!t,listToArray(r))},uniformMatrix3fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix3fv`,3))return;let r=new Float32Array(n);this._gl.uniformMatrix3fv(e?._||0,!!t,listToArray(r))},uniformMatrix4fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix4fv`,4))return;let r=new Float32Array(n);this._gl.uniformMatrix4fv(e?._||0,!!t,listToArray(r))},_checkLocation(e){return e instanceof WebGLUniformLocation?e._program._ctx!==this||e._linkCount!==e._program._linkCount?(this.setError(this.INVALID_OPERATION),!1):!0:(this.setError(this.INVALID_VALUE),!1)},_checkLocationActive(e){return e&&this._checkLocation(e)?e._program===this._activeProgram?!0:(this.setError(this.INVALID_OPERATION),!1):!1},_checkUniformValid(e,t,n,r,i){if(!checkObject(e))throw TypeError(`${n}(WebGLUniformLocation, ...)`);if(!e)return!1;if(this._checkLocationActive(e)){let n=e._activeInfo.type;if(n===this.SAMPLER_2D||n===this.SAMPLER_CUBE){if(r!==1)return this.setError(this.INVALID_VALUE),!1;if(i!==`i`)return this.setError(this.INVALID_OPERATION),!1;if(t<0||t>=this._textureUnits.length)return this.setError(this.INVALID_VALUE),!1}return uniformTypeSize(this,n)>r?(this.setError(this.INVALID_OPERATION),!1):!0}return!1},_checkUniformValueValid(e,t,n,r,i){if(!checkObject(e)||!checkObject(t))throw TypeError(`${n}v(WebGLUniformLocation, Array)`);if(!e||!this._checkLocationActive(e))return!1;if(typeof t!=`object`||!t||typeof t.length!=`number`)throw TypeError(`Second argument to ${n} must be array`);return uniformTypeSize(this,e._activeInfo.type)>r?(this.setError(this.INVALID_OPERATION),!1):t.length>=r&&t.length%r===0?e._array||t.length===r?!0:(this.setError(this.INVALID_OPERATION),!1):(this.setError(this.INVALID_VALUE),!1)},_checkUniformMatrix(e,t,n,r,i){if(!checkObject(e)||typeof n!=`object`)throw TypeError(r+`(WebGLUniformLocation, Boolean, Array)`);return t||typeof n!=`object`||!n||!n.length||n.length%i*i!==0?(this.setError(this.INVALID_VALUE),!1):!e||!this._checkLocationActive(e)?!1:n.length===i*i||e._array?!0:(this.setError(this.INVALID_VALUE),!1)}};function installUniformsMethods(e){Object.assign(e,gn)}function installShaderProgramMethods(e){installShaderLifecycleMethods(e),installProgramLifecycleMethods(e),installIntrospectionMethods(e),installUniformsMethods(e)}function installAllContextMethods(e){installStateMethods(e),installBufferBindingMethods(e),installTextureManagementMethods(e),installFramebufferMethods(e),installShaderProgramMethods(e),installDrawingMethods(e)}var EXTBlendMinMax=class{constructor(){this.MIN_EXT=32775,this.MAX_EXT=32776}};function getEXTBlendMinMax(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`EXT_blend_minmax`)>=0&&(t=new EXTBlendMinMax),t}var EXTColorBufferFloat=class{};function getEXTColorBufferFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`EXT_color_buffer_float`)>=0?new EXTColorBufferFloat:null}var EXTColorBufferHalfFloat=class{};function getEXTColorBufferHalfFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`EXT_color_buffer_half_float`)>=0?new EXTColorBufferHalfFloat:null}var EXTTextureFilterAnisotropic=class{constructor(){this.TEXTURE_MAX_ANISOTROPY_EXT=34046,this.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047}};function getEXTTextureFilterAnisotropic(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`EXT_texture_filter_anisotropic`)>=0&&(t=new EXTTextureFilterAnisotropic),t}var OESElementIndexUint=class{};function getOESElementIndexUint(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_element_index_uint`)>=0&&(t=new OESElementIndexUint),t}var OESStandardDerivatives=class{constructor(){this.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723}};function getOESStandardDerivatives(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_standard_derivatives`)>=0&&(t=new OESStandardDerivatives),t}var OESTextureFloatLinear=class{};function getOESTextureFloatLinear(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_texture_float_linear`)>=0&&(t=new OESTextureFloatLinear),t}var OESTextureFloat=class{};function getOESTextureFloat(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_texture_float`)>=0&&(t=new OESTextureFloat),t}var OESTextureHalfFloat=class{constructor(){this.HALF_FLOAT_OES=36193}};function getOESTextureHalfFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`OES_texture_half_float`)>=0||e._native2?new OESTextureHalfFloat:null}var STACKGLDestroyContext=class{constructor(e){this.destroy=e.destroy.bind(e)}};function getSTACKGLDestroyContext(e){return new STACKGLDestroyContext(e)}var STACKGLResizeDrawingBuffer=class{constructor(e){this.resize=e.resize.bind(e)}};function getSTACKGLResizeDrawingBuffer(e){return new STACKGLResizeDrawingBuffer(e)}var WebGLContextAttributes=class{constructor(e,t,n,r,i,a,o,s){this.alpha=e,this.depth=t,this.stencil=n,this.antialias=r,this.premultipliedAlpha=i,this.preserveDrawingBuffer=a,this.preferLowPowerToHighPerformance=o,this.failIfMajorPerformanceCaveat=s}},WebGLTextureUnit=class{constructor(e,t){this._mode=0,this._bind2D=null,this._bindCube=null,this._ctx=e,this._idx=t}},WebGLVertexArrayObjectAttribute=class{constructor(e,t){this._isPointer=!1,this._pointerBuffer=null,this._pointerOffset=0,this._pointerSize=0,this._pointerStride=0,this._pointerType=0,this._pointerNormal=!1,this._divisor=0,this._inputSize=4,this._inputStride=0,this._ctx=e,this._idx=t,this._pointerType=e.FLOAT,this._clear()}_clear(){this._isPointer=!1,this._pointerBuffer=null,this._pointerOffset=0,this._pointerSize=0,this._pointerStride=0,this._pointerType=this._ctx.FLOAT,this._pointerNormal=!1,this._divisor=0,this._inputSize=4,this._inputStride=0}},WebGLVertexArrayGlobalAttribute=class{constructor(e){this._idx=0,this._idx=e,this._data=new Float32Array([0,0,0,1])}},WebGLVertexArrayObjectState=class{constructor(e){this._elementArrayBufferBinding=null;let t=e.getParameter(e.MAX_VERTEX_ATTRIBS);this._attribs=Array.from({length:t});for(let n=0;n<t;++n)this._attribs[n]=new WebGLVertexArrayObjectAttribute(e,n);this._elementArrayBufferBinding=null}setElementArrayBuffer(e){if(e!==null&&!(e instanceof WebGLBuffer))throw TypeError(`setElementArrayBuffer(WebGLBuffer?)`);let t=this._elementArrayBufferBinding;t!==e&&(t&&(--t._refCount,t._checkDelete()),e&&(e._refCount+=1),this._elementArrayBufferBinding=e)}cleanUp(){let e=this._elementArrayBufferBinding;e&&(--e._refCount,e._checkDelete(),this._elementArrayBufferBinding=null);for(let e=0;e<this._attribs.length;++e){let t=this._attribs[e];t._pointerBuffer&&(--t._pointerBuffer._refCount,t._pointerBuffer._checkDelete()),t._clear()}}releaseArrayBuffer(e){if(e)for(let t=0;t<this._attribs.length;++t){let n=this._attribs[t];n._pointerBuffer===e&&(--n._pointerBuffer._refCount,n._pointerBuffer._checkDelete(),n._clear())}}setVertexAttribPointer(e,t,n,r,i,a,o,s,c){let l=this._attribs[t];e!==l._pointerBuffer&&(l._pointerBuffer&&(--l._pointerBuffer._refCount,l._pointerBuffer._checkDelete()),e&&(e._refCount+=1),l._pointerBuffer=e),l._pointerSize=n,l._pointerOffset=r,l._pointerStride=i,l._pointerType=a,l._pointerNormal=o,l._inputStride=s,l._inputSize=c}},WebGLVertexArrayGlobalState=class{constructor(e){this._arrayBufferBinding=null;let t=e.getParameter(e.MAX_VERTEX_ATTRIBS);this._attribs=Array.from({length:t});for(let e=0;e<t;++e)this._attribs[e]=new WebGLVertexArrayGlobalAttribute(e);this._arrayBufferBinding=null}setArrayBuffer(e){if(e!==null&&!(e instanceof WebGLBuffer))throw TypeError(`setArrayBuffer(WebGLBuffer?)`);let t=this._arrayBufferBinding;t!==e&&(t&&(--t._refCount,t._checkDelete()),e&&(e._refCount+=1),this._arrayBufferBinding=e)}},_n=d;let vn=0;const yn={oes_element_index_uint:getOESElementIndexUint,oes_texture_float:getOESTextureFloat,oes_texture_float_linear:getOESTextureFloatLinear,oes_standard_derivatives:getOESStandardDerivatives,stackgl_destroy_context:getSTACKGLDestroyContext,stackgl_resize_drawingbuffer:getSTACKGLResizeDrawingBuffer,ext_blend_minmax:getEXTBlendMinMax,ext_color_buffer_float:getEXTColorBufferFloat,ext_color_buffer_half_float:getEXTColorBufferHalfFloat,ext_texture_filter_anisotropic:getEXTTextureFilterAnisotropic,oes_texture_half_float:getOESTextureHalfFloat};var WebGLContextBase=class{get drawingBufferHeight(){return this.canvas.height||0}get drawingBufferWidth(){return this.canvas.width||0}constructor(e,t={}){this.drawingBufferColorSpace=`srgb`,this.unpackColorSpace=`srgb`,this.RGBA8=32856,this.DEFAULT_ATTACHMENTS=[],this.DEFAULT_COLOR_ATTACHMENTS=[],this._=0,this._extensions={},this._programs={},this._shaders={},this._textures={},this._framebuffers={},this._renderbuffers={},this._buffers={},this._activeProgram=null,this._activeFramebuffer=null,this._activeRenderbuffer=null,this._checkStencil=!1,this._stencilState=!0,this._activeTextureUnit=0,this._errorStack=[],this._maxTextureSize=0,this._maxTextureLevel=0,this._maxCubeMapSize=0,this._maxCubeMapLevel=0,this._maxRenderbufferSize=0,this._unpackAlignment=4,this._packAlignment=4,this._unpackFlipY=!1,this._unpackPremultAlpha=!1,this._viewport=new Int32Array([0,0,0,0]),this._scissorBox=new Int32Array([0,0,0,0]),this._gtkFboId=0,this._textureUnits=[],this._drawingBuffer=null,this.canvas=e,this._contextAttributes=new WebGLContextAttributes(flag(t,`alpha`,!0),flag(t,`depth`,!0),flag(t,`stencil`,!1),!1,flag(t,`premultipliedAlpha`,!0),flag(t,`preserveDrawingBuffer`,!1),flag(t,`preferLowPowerToHighPerformance`,!1),flag(t,`failIfMajorPerformanceCaveat`,!1)),this._contextAttributes.premultipliedAlpha=this._contextAttributes.premultipliedAlpha&&this._contextAttributes.alpha}_init(){let e=this._gl.getParameterx(36006);this._gtkFboId=e?.deepUnpack()|0,this._initGLConstants(),this.DEFAULT_ATTACHMENTS=[this.COLOR_ATTACHMENT0,this.DEPTH_ATTACHMENT,this.STENCIL_ATTACHMENT,this.DEPTH_STENCIL_ATTACHMENT],this.DEFAULT_COLOR_ATTACHMENTS=[this.COLOR_ATTACHMENT0];let t=this.drawingBufferWidth||0,n=this.drawingBufferHeight||0;this._=vn++;let r=this.getParameter(this.MAX_COMBINED_TEXTURE_IMAGE_UNITS);this._textureUnits=Array.from({length:r});for(let e=0;e<r;++e)this._textureUnits[e]=new WebGLTextureUnit(this,e);this.activeTexture(this.TEXTURE0),this._defaultVertexObjectState=new WebGLVertexArrayObjectState(this),this._vertexObjectState=this._defaultVertexObjectState,this._vertexGlobalState=new WebGLVertexArrayGlobalState(this),this._maxTextureSize=this.getParameter(this.MAX_TEXTURE_SIZE),this._maxTextureLevel=tn.log2(tn.nextPow2(this._maxTextureSize)),this._maxCubeMapSize=this.getParameter(this.MAX_CUBE_MAP_TEXTURE_SIZE),this._maxCubeMapLevel=tn.log2(tn.nextPow2(this._maxCubeMapSize)),this._maxRenderbufferSize=this.getParameter(this.MAX_RENDERBUFFER_SIZE),this._unpackAlignment=4,this._packAlignment=4,this._unpackFlipY=!1,this._unpackPremultAlpha=!1,this.bindBuffer(this.ARRAY_BUFFER,null),this.bindBuffer(this.ELEMENT_ARRAY_BUFFER,null),this.bindFramebuffer(this.FRAMEBUFFER,null),this.bindRenderbuffer(this.RENDERBUFFER,null),this.viewport(0,0,t,n),this.scissor(0,0,t,n),this.clearDepth(1),this.clearColor(0,0,0,0),this.clearStencil(0),this.clear(this.COLOR_BUFFER_BIT|this.DEPTH_BUFFER_BIT|this.STENCIL_BUFFER_BIT),this.disable(this.DEPTH_TEST),this.disable(this.STENCIL_TEST),this.disable(this.BLEND),this.disable(this.CULL_FACE),this.disable(this.POLYGON_OFFSET_FILL),this.disable(this.SCISSOR_TEST),this._gl.colorMask(!0,!0,!0,!0)}_initGLConstants(){let e=new _n.WebGLRenderingContextBase().get_webgl_constants();for(let[t,n]of Object.entries(e))Object.defineProperty(this,t,{value:n})}_getGlslVersion(e){return e?`100`:`120`}_checkOwns(e){return typeof e==`object`&&!!e&&e._ctx===this}_checkValid(e,t){return e instanceof t&&e._!==0}_checkWrapper(e,t){return this._checkValid(e,t)?this._checkOwns(e)?!0:(this.setError(this.INVALID_OPERATION),!1):(this.setError(this.INVALID_VALUE),!1)}_isObject(e,t,n){if(e!=null&&!(e instanceof n))throw TypeError(t+`(`+n.name+`)`);return!!(this._checkValid(e,n)&&this._checkOwns(e))}_checkStencilState(){return this._checkStencil?(this._checkStencil=!1,this._stencilState=!0,(this.getParameter(this.STENCIL_WRITEMASK)!==this.getParameter(this.STENCIL_BACK_WRITEMASK)||this.getParameter(this.STENCIL_VALUE_MASK)!==this.getParameter(this.STENCIL_BACK_VALUE_MASK)||this.getParameter(this.STENCIL_REF)!==this.getParameter(this.STENCIL_BACK_REF))&&(this.setError(this.INVALID_OPERATION),this._stencilState=!1),this._stencilState):this._stencilState}_validGLSLIdentifier(e){return!(e.indexOf(`webgl_`)===0||e.indexOf(`_webgl_`)===0||e.length>256)}_getParameterDirect(e){return this._gl.getParameterx(e)?.deepUnpack()}getContextAttributes(){return this._contextAttributes}getExtension(e){let t=e.toLowerCase();if(t in this._extensions)return this._extensions[t];let n=yn[t]?yn[t](this):null;return n&&(this._extensions[t]=n),n}getSupportedExtensions(){let e=[`ANGLE_instanced_arrays`,`STACKGL_resize_drawingbuffer`,`STACKGL_destroy_context`],t=this._gl.getSupportedExtensions();return t?(t.indexOf(`GL_OES_element_index_uint`)>=0&&e.push(`OES_element_index_uint`),t.indexOf(`GL_OES_standard_derivatives`)>=0&&e.push(`OES_standard_derivatives`),t.indexOf(`GL_OES_texture_float`)>=0&&e.push(`OES_texture_float`),t.indexOf(`GL_OES_texture_float_linear`)>=0&&e.push(`OES_texture_float_linear`),(t.indexOf(`GL_OES_texture_half_float`)>=0||t.indexOf(`GL_ARB_half_float_pixel`)>=0)&&e.push(`OES_texture_half_float`),(t.indexOf(`GL_EXT_color_buffer_float`)>=0||t.indexOf(`GL_ARB_color_buffer_float`)>=0)&&e.push(`EXT_color_buffer_float`),t.indexOf(`GL_EXT_color_buffer_half_float`)>=0&&e.push(`EXT_color_buffer_half_float`),t.indexOf(`EXT_draw_buffers`)>=0&&e.push(`WEBGL_draw_buffers`),t.indexOf(`EXT_blend_minmax`)>=0&&e.push(`EXT_blend_minmax`),t.indexOf(`EXT_texture_filter_anisotropic`)>=0&&e.push(`EXT_texture_filter_anisotropic`),t.indexOf(`GL_OES_vertex_array_object`)>=0&&e.push(`OES_vertex_array_object`),e):e}getParameter(e=0){switch(e){case this.ARRAY_BUFFER_BINDING:return this._vertexGlobalState._arrayBufferBinding;case this.ELEMENT_ARRAY_BUFFER_BINDING:return this._vertexObjectState._elementArrayBufferBinding;case this.CURRENT_PROGRAM:return this._activeProgram;case this.FRAMEBUFFER_BINDING:return this._activeFramebuffer;case this.RENDERBUFFER_BINDING:return this._activeRenderbuffer;case this.TEXTURE_BINDING_2D:return this._getActiveTextureUnit()._bind2D;case this.TEXTURE_BINDING_CUBE_MAP:return this._getActiveTextureUnit()._bindCube;case this.VERSION:return`WebGL 1.0 0.0.1`;case this.VENDOR:return``;case this.RENDERER:return`ANGLE`;case this.SHADING_LANGUAGE_VERSION:return`WebGL GLSL ES 1.0 `;case this.COMPRESSED_TEXTURE_FORMATS:return new Uint32Array;case this.SCISSOR_BOX:return new Int32Array(this._scissorBox);case this.VIEWPORT:return new Int32Array(this._viewport);case this.MAX_VIEWPORT_DIMS:return new Int32Array([32767,32767]);case this.ALIASED_LINE_WIDTH_RANGE:case this.ALIASED_POINT_SIZE_RANGE:return new Float32Array([1,1]);case this.DEPTH_RANGE:return new Float32Array([0,1]);case this.BLEND_COLOR:case this.COLOR_CLEAR_VALUE:return new Float32Array(this._gl.getParameterfv(e,4));case this.COLOR_WRITEMASK:{let t=this._gl.getParameteriv(e,4);return[!!t[0],!!t[1],!!t[2],!!t[3]]}case this.DEPTH_CLEAR_VALUE:case this.LINE_WIDTH:case this.POLYGON_OFFSET_FACTOR:case this.POLYGON_OFFSET_UNITS:case this.SAMPLE_COVERAGE_VALUE:return this._gl.getParameterf(e);case this.BLEND:case this.CULL_FACE:case this.DEPTH_TEST:case this.DEPTH_WRITEMASK:case this.DITHER:case this.POLYGON_OFFSET_FILL:case this.SAMPLE_COVERAGE_INVERT:case this.SCISSOR_TEST:case this.STENCIL_TEST:case this.UNPACK_PREMULTIPLY_ALPHA_WEBGL:return!!this._gl.getParameteri(e);case this.UNPACK_FLIP_Y_WEBGL:return this._unpackFlipY;case this.ACTIVE_TEXTURE:case this.ALPHA_BITS:case this.BLEND_DST_ALPHA:case this.BLEND_DST_RGB:case this.BLEND_EQUATION_ALPHA:case this.BLEND_EQUATION_RGB:case this.BLEND_SRC_ALPHA:case this.BLEND_SRC_RGB:case this.BLUE_BITS:case this.CULL_FACE_MODE:case this.DEPTH_BITS:case this.DEPTH_FUNC:case this.FRONT_FACE:case this.GENERATE_MIPMAP_HINT:case this.GREEN_BITS:return this._gl.getParameteri(e);case this.MAX_RENDERBUFFER_SIZE:return this._maxRenderbufferSize;case this.MAX_COMBINED_TEXTURE_IMAGE_UNITS:case this.MAX_CUBE_MAP_TEXTURE_SIZE:case this.MAX_FRAGMENT_UNIFORM_VECTORS:case this.MAX_TEXTURE_IMAGE_UNITS:case this.MAX_TEXTURE_SIZE:case this.MAX_VARYING_VECTORS:case this.MAX_VERTEX_ATTRIBS:case this.MAX_VERTEX_TEXTURE_IMAGE_UNITS:case this.MAX_VERTEX_UNIFORM_VECTORS:case this.PACK_ALIGNMENT:case this.RED_BITS:case this.SAMPLE_BUFFERS:case this.SAMPLES:case this.STENCIL_BACK_FAIL:case this.STENCIL_BACK_FUNC:case this.STENCIL_BACK_PASS_DEPTH_FAIL:case this.STENCIL_BACK_PASS_DEPTH_PASS:case this.STENCIL_BACK_REF:case this.STENCIL_BACK_VALUE_MASK:case this.STENCIL_BACK_WRITEMASK:case this.STENCIL_BITS:case this.STENCIL_CLEAR_VALUE:case this.STENCIL_FAIL:case this.STENCIL_FUNC:case this.STENCIL_PASS_DEPTH_FAIL:case this.STENCIL_PASS_DEPTH_PASS:case this.STENCIL_REF:case this.STENCIL_VALUE_MASK:case this.STENCIL_WRITEMASK:case this.SUBPIXEL_BITS:case this.UNPACK_ALIGNMENT:case this.UNPACK_COLORSPACE_CONVERSION_WEBGL:return this._gl.getParameteri(e);case this.IMPLEMENTATION_COLOR_READ_FORMAT:case this.IMPLEMENTATION_COLOR_READ_TYPE:return this._getParameterDirect(e);default:if(this._extensions.webgl_draw_buffers){let t=this._extensions.webgl_draw_buffers;switch(e){case t.DRAW_BUFFER0_WEBGL:case t.DRAW_BUFFER1_WEBGL:case t.DRAW_BUFFER2_WEBGL:case t.DRAW_BUFFER3_WEBGL:case t.DRAW_BUFFER4_WEBGL:case t.DRAW_BUFFER5_WEBGL:case t.DRAW_BUFFER6_WEBGL:case t.DRAW_BUFFER7_WEBGL:case t.DRAW_BUFFER8_WEBGL:case t.DRAW_BUFFER9_WEBGL:case t.DRAW_BUFFER10_WEBGL:case t.DRAW_BUFFER11_WEBGL:case t.DRAW_BUFFER12_WEBGL:case t.DRAW_BUFFER13_WEBGL:case t.DRAW_BUFFER14_WEBGL:case t.DRAW_BUFFER15_WEBGL:return t._buffersState.length===1&&t._buffersState[0]===this.BACK?this.BACK:this._getParameterDirect(e);case t.MAX_DRAW_BUFFERS_WEBGL:case t.MAX_COLOR_ATTACHMENTS_WEBGL:return this._getParameterDirect(e)}}let t=this._extensions.oes_standard_derivatives;if(t&&e===t.FRAGMENT_SHADER_DERIVATIVE_HINT_OES)return this._getParameterDirect(e);let n=this._extensions.ext_texture_filter_anisotropic;if(n&&e===n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)return this._getParameterDirect(e);let r=this._extensions.oes_vertex_array_object;return r&&e===r.VERTEX_ARRAY_BINDING_OES?r._activeVertexArrayObject:(this.setError(this.INVALID_ENUM),null)}}destroy(){warnNotImplemented(`destroy`)}};installAllContextMethods(WebGLContextBase.prototype);var WebGLRenderingContext$1=class extends WebGLContextBase{static{__name(this,`WebGLRenderingContext`)}get _gl(){return this._native}constructor(e,t={}){super(e,t),this._attrib0Buffer=null,this._native=new _n.WebGLRenderingContext({}),this._init();let n=this.createBuffer();this._attrib0Buffer=n}_beginAttrib0Hack(){this._native.bindBuffer(this.ARRAY_BUFFER,this._attrib0Buffer?._||0);let e=new Uint8Array(this._vertexGlobalState._attribs[0]._data.buffer);this._native.bufferData(this.ARRAY_BUFFER,Uint8ArrayToVariant(e),this.STREAM_DRAW),this._native.enableVertexAttribArray(0),this._native.vertexAttribPointer(0,4,this.FLOAT,!1,0,0),this._native._vertexAttribDivisor(0,1)}_endAttrib0Hack(){let e=this._vertexObjectState._attribs[0];e._pointerBuffer?this._native.bindBuffer(this.ARRAY_BUFFER,e._pointerBuffer._):this._native.bindBuffer(this.ARRAY_BUFFER,0),this._native.vertexAttribPointer(0,e._inputSize,e._pointerType,e._pointerNormal,e._inputStride,e._pointerOffset),this._native._vertexAttribDivisor(0,e._divisor),this._native.disableVertexAttribArray(0),this._vertexGlobalState._arrayBufferBinding?this._native.bindBuffer(this.ARRAY_BUFFER,this._vertexGlobalState._arrayBufferBinding._):this._native.bindBuffer(this.ARRAY_BUFFER,0)}drawArrays(e=0,t=0,n=0){if(t<0||n<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let r=vertexCount(this,e,n);if(r<0){this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk()||n===0)return;let i=t;if(n>0&&(i=n+t-1>>>0),this._checkVertexAttribState(i)){let n=this._extensions.webgl_draw_buffers;if(this._vertexObjectState._attribs[0]._isPointer||n&&n._buffersState&&n._buffersState.length>0)return this._native.drawArrays(e,t,r);this._beginAttrib0Hack(),this._native._drawArraysInstanced(e,t,r,1),this._endAttrib0Hack()}}drawElements(e=0,t=0,n=0,r=0){if(t<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=this._vertexObjectState._elementArrayBufferBinding;if(!i){this.setError(this.INVALID_OPERATION);return}let a=null,o=r;if(n===this.UNSIGNED_SHORT){if(o%2){this.setError(this.INVALID_OPERATION);return}o>>=1,a=new Uint16Array(i._elements.buffer)}else if(this._extensions.oes_element_index_uint&&n===this.UNSIGNED_INT){if(o%4){this.setError(this.INVALID_OPERATION);return}o>>=2,a=new Uint32Array(i._elements.buffer)}else if(n===this.UNSIGNED_BYTE)a=i._elements;else{this.setError(this.INVALID_ENUM);return}let s=t;switch(e){case this.TRIANGLES:t%3&&(s-=t%3);break;case this.LINES:t%2&&(s-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk())return;if(t===0){this._checkVertexAttribState(0);return}if(t+o>>>0>a.length){this.setError(this.INVALID_OPERATION);return}let c=-1;for(let e=o;e<o+t;++e)c=Math.max(c,a[e]);if(c<0){this._checkVertexAttribState(0);return}if(this._checkVertexAttribState(c)&&s>0){if(this._vertexObjectState._attribs[0]._isPointer)return this._native.drawElements(e,s,n,r);this._beginAttrib0Hack(),this._native._drawElementsInstanced(e,s,n,r,1),this._endAttrib0Hack()}}},WebGLQuery=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._queries[this._|0],e._native2.deleteQuery(this._|0)}},WebGLSampler=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._samplers[this._|0],e._native2.deleteSampler(this._|0)}},WebGLSync=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._syncs[this._|0],e._native2.deleteSync(this._|0)}},WebGLTransformFeedback=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._transformFeedbacks[this._|0],e._native2.deleteTransformFeedback(this._|0)}},WebGLVertexArrayObject=class extends Linkable{constructor(e,t){super(e),this._ctx=t,this._objectState=new WebGLVertexArrayObjectState(t)}_performDelete(){let e=this._ctx;e._vertexObjectState===this._objectState&&(e._vertexObjectState=e._defaultVertexObjectState),this._objectState.cleanUp(),delete e._vertexArrayObjects[this._|0],e._native2.deleteVertexArray(this._|0)}};const bn={createVertexArray(){let e=this._native2.createVertexArray();if(!e)return null;let t=new WebGLVertexArrayObject(e,this);return this._vertexArrayObjects[e]=t,t},deleteVertexArray(e){!e||!(e instanceof WebGLVertexArrayObject)||(e._pendingDelete=!0,e._checkDelete())},isVertexArray(e){return!e||!(e instanceof WebGLVertexArrayObject)?!1:this._native2.isVertexArray(e._)},bindVertexArray(e){e===null?(this._native2.bindVertexArray(0),this._vertexObjectState=this._defaultVertexObjectState):e instanceof WebGLVertexArrayObject?(this._native2.bindVertexArray(e._),this._vertexObjectState=e._objectState):this.setError(this.INVALID_OPERATION)},createQuery(){let e=this._native2.createQuery();if(!e)return null;let t=new WebGLQuery(e,this);return this._queries[e]=t,t},deleteQuery(e){!e||!(e instanceof WebGLQuery)||(e._pendingDelete=!0,e._checkDelete())},isQuery(e){return!e||!(e instanceof WebGLQuery)?!1:this._native2.isQuery(e._)},beginQuery(e,t){t instanceof WebGLQuery&&this._native2.beginQuery(e,t._)},endQuery(e){this._native2.endQuery(e)},getQuery(e,t){return warnNotImplemented(`WebGL2RenderingContext.getQuery`),null},getQueryParameter(e,t){return e instanceof WebGLQuery?this._native2.getQueryParameter(e._,t):null},createSampler(){let e=this._native2.createSampler();if(!e)return null;let t=new WebGLSampler(e,this);return this._samplers[e]=t,t},deleteSampler(e){!e||!(e instanceof WebGLSampler)||(e._pendingDelete=!0,e._checkDelete())},isSampler(e){return!e||!(e instanceof WebGLSampler)?!1:this._native2.isSampler(e._)},bindSampler(e,t){this._native2.bindSampler(e,t?t._:0)},samplerParameteri(e,t,n){e instanceof WebGLSampler&&this._native2.samplerParameteri(e._,t,n)},samplerParameterf(e,t,n){e instanceof WebGLSampler&&this._native2.samplerParameterf(e._,t,n)},getSamplerParameter(e,t){return e instanceof WebGLSampler?t===33082||t===33083?this._native2.getSamplerParameterf(e._,t):this._native2.getSamplerParameteri(e._,t):null},fenceSync(e,t){let n=this._native2.fenceSync(e,t);if(!n)return null;let r=new WebGLSync(n,this);return this._syncs[n]=r,r},isSync(e){return!e||!(e instanceof WebGLSync)?!1:this._native2.isSync(e._)},deleteSync(e){!e||!(e instanceof WebGLSync)||(e._pendingDelete=!0,e._checkDelete())},clientWaitSync(e,t,n){return e instanceof WebGLSync?this._native2.clientWaitSync(e._,t,n):37148},waitSync(e,t,n){e instanceof WebGLSync&&this._native2.waitSync(e._,t,n)},getSyncParameter(e,t){return e instanceof WebGLSync?this._native2.getSyncParameter(e._,t):null},createTransformFeedback(){let e=this._native2.createTransformFeedback();if(!e)return null;let t=new WebGLTransformFeedback(e,this);return this._transformFeedbacks[e]=t,t},deleteTransformFeedback(e){!e||!(e instanceof WebGLTransformFeedback)||(e._pendingDelete=!0,e._checkDelete())},isTransformFeedback(e){return!e||!(e instanceof WebGLTransformFeedback)?!1:this._native2.isTransformFeedback(e._)},bindTransformFeedback(e,t){this._native2.bindTransformFeedback(e,t?t._:0)},beginTransformFeedback(e){this._native2.beginTransformFeedback(e)},endTransformFeedback(){this._native2.endTransformFeedback()},pauseTransformFeedback(){this._native2.pauseTransformFeedback()},resumeTransformFeedback(){this._native2.resumeTransformFeedback()},transformFeedbackVaryings(e,t,n){this._native2.transformFeedbackVaryings(e._,t,n)},getTransformFeedbackVarying(e,t){let n=this._native2.getTransformFeedbackVarying(e._,t).deepUnpack();return new WebGLActiveInfo({size:n.size,type:n.type,name:n.name})}};function installObjectLifecycleMethods(e){Object.assign(e,bn)}const xn={texImage3D(e,t,n,r,i,a,o,s,c,l){l===null?this._native2.texImage3DNull(e,t,n,r,i,a,o,s,c):this._native2.texImage3D(e,t,n,r,i,a,o,s,c,Uint8ArrayToVariant(new Uint8Array(l.buffer,l.byteOffset,l.byteLength)))},texSubImage3D(e,t,n,r,i,a,o,s,c,l,u){u!==null&&this._native2.texSubImage3D(e,t,n,r,i,a,o,s,c,l,Uint8ArrayToVariant(new Uint8Array(u.buffer,u.byteOffset,u.byteLength)))},compressedTexImage3D(e,t,n,r,i,a,o,s,c){this._native2.compressedTexImage3D(e,t,n,r,i,a,o,Uint8ArrayToVariant(new Uint8Array(c.buffer,c.byteOffset,c.byteLength)))},compressedTexSubImage3D(e,t,n,r,i,a,o,s,c,l,u){this._native2.compressedTexSubImage3D(e,t,n,r,i,a,o,s,c,Uint8ArrayToVariant(new Uint8Array(u.buffer,u.byteOffset,u.byteLength)))},copyTexSubImage3D(e,t,n,r,i,a,o,s,c){this._native2.copyTexSubImage3D(e,t,n,r,i,a,o,s,c)},texStorage2D(e,t,n,r,i){this._native2.texStorage2D(e,t,n,r,i);let a=this._getTexImage(e);if(a){for(let e=0;e<t;e++)a._levelWidth[e]=Math.max(1,r>>e),a._levelHeight[e]=Math.max(1,i>>e);a._format=this.RGBA,a._type=this.UNSIGNED_BYTE}},texStorage3D(e,t,n,r,i,a){this._native2.texStorage3D(e,t,n,r,i,a)}};function installTexImage3DMethods(e){Object.assign(e,xn)}const Sn={uniform1ui(e,t){e&&this._native2.uniform1ui(e._,t)},uniform2ui(e,t,n){e&&this._native2.uniform2ui(e._,t,n)},uniform3ui(e,t,n,r){e&&this._native2.uniform3ui(e._,t,n,r)},uniform4ui(e,t,n,r,i){e&&this._native2.uniform4ui(e._,t,n,r,i)},uniform1uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform1uiv(e._,i.length,i)},uniform2uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform2uiv(e._,i.length/2,i)},uniform3uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform3uiv(e._,i.length/3,i)},uniform4uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform4uiv(e._,i.length/4,i)},uniformMatrix2x3fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix2x3fv(e._,t,a)},uniformMatrix3x2fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix3x2fv(e._,t,a)},uniformMatrix2x4fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix2x4fv(e._,t,a)},uniformMatrix4x2fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix4x2fv(e._,t,a)},uniformMatrix3x4fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix3x4fv(e._,t,a)},uniformMatrix4x3fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix4x3fv(e._,t,a)}};function installUniformMethods(e){Object.assign(e,Sn)}const Cn={clearBufferfv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferfv==`function`){i.clearBufferfv(e,t,Array.from(n));return}let a=n;if(e===6144){let e=this.getParameter(this.COLOR_CLEAR_VALUE);this.clearColor(a[0]??0,a[1]??0,a[2]??0,a[3]??0),this.clear(this.COLOR_BUFFER_BIT),e&&this.clearColor(e[0],e[1],e[2],e[3])}else if(e===6145){let e=this.getParameter(this.DEPTH_CLEAR_VALUE);this.clearDepth(a[0]??1),this.clear(this.DEPTH_BUFFER_BIT),e!==null&&this.clearDepth(e)}},clearBufferiv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferiv==`function`){i.clearBufferiv(e,t,Array.from(n));return}if(e===6146){let e=n,t=this.getParameter(this.STENCIL_CLEAR_VALUE);this.clearStencil(e[0]??0),this.clear(this.STENCIL_BUFFER_BIT),t!==null&&this.clearStencil(t)}},clearBufferuiv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferuiv==`function`){i.clearBufferuiv(e,t,Array.from(n));return}},clearBufferfi(e,t,n,r){let i=this._native2;if(typeof i.clearBufferfi==`function`){i.clearBufferfi(e,t,n,r);return}if(e===34041){let e=this.getParameter(this.DEPTH_CLEAR_VALUE),t=this.getParameter(this.STENCIL_CLEAR_VALUE);this.clearDepth(n),this.clearStencil(r),this.clear(this.DEPTH_BUFFER_BIT|this.STENCIL_BUFFER_BIT),e!==null&&this.clearDepth(e),t!==null&&this.clearStencil(t)}}};function installClearBufferMethods(e){Object.assign(e,Cn)}function debugGlEnabled(){return globalThis.__GJSIFY_DEBUG_GL===!0}const wn={drawArraysInstanced(e,t,n,r){if(t<0||n<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=vertexCount(this,e,n);if(i<0){this.setError(this.INVALID_ENUM);return}if(this._framebufferOk()&&!(n===0||r===0)&&this._checkVertexAttribState(n+t-1>>>0)){if(debugGlEnabled()){let e=this,t=e.__drawInstCount=(e.__drawInstCount|0)+1;(t<=5||t%100==0)&&k.log(`[WebGL] drawArraysInstanced #${t} count=${i} instances=${r} fbo=${this._activeFramebuffer?._??`_gtkFbo`}`)}this._native2.drawArraysInstanced(e,t,i,r)}},drawElementsInstanced(e,t,n,r,i){if(t<0||r<0||i<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let a=this._vertexObjectState._elementArrayBufferBinding;if(!a){this.setError(this.INVALID_OPERATION);return}let o=null,s=r;if(n===this.UNSIGNED_SHORT){if(s%2){this.setError(this.INVALID_OPERATION);return}s>>=1,o=new Uint16Array(a._elements.buffer)}else if(n===this.UNSIGNED_INT){if(s%4){this.setError(this.INVALID_OPERATION);return}s>>=2,o=new Uint32Array(a._elements.buffer)}else if(n===this.UNSIGNED_BYTE)o=a._elements;else{this.setError(this.INVALID_ENUM);return}let c=t;switch(e){case this.TRIANGLES:t%3&&(c-=t%3);break;case this.LINES:t%2&&(c-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk())return;if(c===0||i===0){this._checkVertexAttribState(0);return}if(c+s>>>0>o.length){this.setError(this.INVALID_OPERATION);return}let l=0;for(let e=s;e<s+c;++e)o[e]>l&&(l=o[e]);this._checkVertexAttribState(l)&&this._native2.drawElementsInstanced(e,c,n,r,i)},vertexAttribDivisor(e,t){this._native2.vertexAttribDivisor(e,t)},vertexAttribIPointer(e,t,n,r,i){this._native2.vertexAttribIPointer(e,t,n,r,i)},drawBuffers(e){let t=!1;for(let n=0;n<e.length;n++)if(e[n]===1029){t=!0;break}if(!t){this._native2.drawBuffers(e);return}this._native2.drawBuffers(e.map(e=>e===1029?this.COLOR_ATTACHMENT0:e))},drawRangeElements(e,t,n,r,i,a){if(r<0||a<0){this.setError(this.INVALID_VALUE);return}if(n<t){this.setError(this.INVALID_VALUE);return}this.drawElements(e,r,i,a)},blitFramebuffer(e,t,n,r,i,a,o,s,c,l){if(debugGlEnabled()){let e=this._gl.getError();e!==0&&k.log(`[WebGL] blitFramebuffer PRE-ERROR 0x${e.toString(16)}`)}if(this._native2.blitFramebuffer(e,t,n,r,i,a,o,s,c,l),debugGlEnabled()){let i=this._gl.getError(),a=this,o=a.__blitCount=(a.__blitCount|0)+1;o<=5&&k.log(`[WebGL] blitFramebuffer #${o} src=(${e},${t},${n},${r}) readFbo=${this._activeReadFramebuffer?._??`_gtkFbo`} err=${i===0?`OK`:`0x`+i.toString(16)}`)}},framebufferTextureLayer(e,t,n,r,i){this._native2.framebufferTextureLayer(e,t,n?n._:0,r,i)},invalidateFramebuffer(e,t){this._native2.invalidateFramebuffer(e,t)},invalidateSubFramebuffer(e,t,n,r,i,a){this._native2.invalidateSubFramebuffer(e,t,n,r,i,a)},readBuffer(e){this._native2.readBuffer(e)},renderbufferStorageMultisample(e,t,n,r,i){if(e!==this.RENDERBUFFER){this.setError(this.INVALID_ENUM);return}let a=this._activeRenderbuffer;if(!a){this.setError(this.INVALID_OPERATION);return}this._saveError(),this._native2.renderbufferStorageMultisample(e,t,n,r,i);let o=this.getError();this._restoreError(o),o===this.NO_ERROR&&(a._width=r,a._height=i,a._format=n)}};function installInstancedAndFramebufferOpsMethods(e){Object.assign(e,wn)}var Tn=class WebGL2RenderingContext extends WebGLContextBase{get _gl(){return this._native2}constructor(e,t={}){super(e,t),this._queries={},this._samplers={},this._transformFeedbacks={},this._vertexArrayObjects={},this._syncs={},this._activeReadFramebuffer=null,this._activeDrawFramebuffer=null,this._native2=new _n.WebGL2RenderingContext({}),this._init()}_getGlslVersion(e){return e?`300 es`:`130`}_validFramebufferAttachment(e){return super._validFramebufferAttachment(e)?!0:e>=36065&&e<=36079}static{this._WGL2_ALL_COLOR_ATTACHMENTS=[36064,36065,36066,36067,36068,36069,36070,36071,36072,36073,36074,36075,36076,36077,36078,36079]}_getColorAttachments(){return WebGL2RenderingContext._WGL2_ALL_COLOR_ATTACHMENTS}_preCheckFramebufferStatus(e){let t=e._attachments,n=0,r=0,i=[this.COLOR_ATTACHMENT0,this.DEPTH_ATTACHMENT,this.STENCIL_ATTACHMENT,this.DEPTH_STENCIL_ATTACHMENT,...WebGL2RenderingContext._WGL2_ALL_COLOR_ATTACHMENTS];for(let a of i){let i=t[a];if(i){if(i instanceof WebGLTexture){let t=e._attachmentLevel[a]??0,o=i._levelWidth[t]??0,s=i._levelHeight[t]??0;if(o>0&&s>0){n=o,r=s;break}}else if(i instanceof WebGLRenderbuffer&&i._width>0&&i._height>0){n=i._width,r=i._height;break}}}return n>0&&r>0?(e._width=n,e._height=r,this.FRAMEBUFFER_COMPLETE):this.FRAMEBUFFER_INCOMPLETE_ATTACHMENT}_updateFramebufferAttachments(e){if(super._updateFramebufferAttachments(e),e)for(let t=1;t<=15;t++){let n=36064+t;if(!(n in e._attachments))continue;let r=e._attachments[n];if(r instanceof WebGLTexture){let t=e._attachmentFace[n]||this.TEXTURE_2D,i=e._attachmentLevel[n]??0;this._gl.framebufferTexture2D(this.FRAMEBUFFER,n,t,r._|0,i|0)}else r instanceof WebGLRenderbuffer?this._gl.framebufferRenderbuffer(this.FRAMEBUFFER,n,this.RENDERBUFFER,r._|0):this._gl.framebufferTexture2D(this.FRAMEBUFFER,n,this.TEXTURE_2D,0,0)}}bindBuffer(e,t){if(e===35345||e===35982||e===36662||e===36663){let n=t?t._|0:0;this._gl.bindBuffer(e,n);return}super.bindBuffer(e,t)}bindFramebuffer(e,t){if(e===36008||e===36009){if(!checkObject(t))throw TypeError(`bindFramebuffer(GLenum, WebGLFramebuffer)`);if(t&&t._pendingDelete||t&&!this._checkWrapper(t,WebGLFramebuffer))return;let n=t?t._|0:this._gtkFboId;if(this._gl.bindFramebuffer(e,n),e===36008){let e=this._activeReadFramebuffer;e!==t&&(e&&(--e._refCount,e._checkDelete()),t&&(t._refCount+=1)),this._activeReadFramebuffer=t}else{let e=this._activeDrawFramebuffer;e!==t&&(e&&(--e._refCount,e._checkDelete()),t&&(t._refCount+=1)),this._activeDrawFramebuffer=t,this._activeFramebuffer=t}return}super.bindFramebuffer(this.FRAMEBUFFER,t),this._activeReadFramebuffer=t,this._activeDrawFramebuffer=t}deleteFramebuffer(e){this._activeReadFramebuffer===e&&this.bindFramebuffer(36008,null),this._activeDrawFramebuffer===e&&this.bindFramebuffer(36009,null),super.deleteFramebuffer(e)}bufferData(e,t,n){let r=e===35345||e===35982||e===36662||e===36663,i=n===35041||n===35043||n===35045||n===35042||n===35044||n===35046?this.STATIC_DRAW:n;if(r){if(typeof t==`number`)t>=0&&this._gl.bufferDataSizeOnly(e,t,i);else if(typeof t==`object`&&t){let n=arrayToUint8Array(t);this._gl.bufferData(e,Uint8ArrayToVariant(n),i)}return}super.bufferData(e,t,i)}bufferSubData(e,t,n){if(e===35345||e===35982||e===36662||e===36663){if(t<0){this.setError(this.INVALID_VALUE);return}if(!n){this.setError(this.INVALID_VALUE);return}let r=arrayToUint8Array(n);this._gl.bufferSubData(e,t,Uint8ArrayToVariant(r));return}super.bufferSubData(e,t,n)}bindTexture(e,t){if(e===32879||e===35866){let n=t,r=n?n._|0:0;this._gl.bindTexture(e,r),n&&(n._binding=e);return}super.bindTexture(e,t)}texParameteri(e,t,n){if(e===32879||e===35866){this._gl.texParameteri(e,t,n);return}if(t===32882||t===34892||t===34893||t===33084||t===33085||t===33083||t===33082){this._gl.texParameteri(e,t,n);return}super.texParameteri(e,t,n)}drawArrays(e,t,n){if(t<0||n<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let r=vertexCount(this,e,n);if(r<0){this.setError(this.INVALID_ENUM);return}this._framebufferOk()&&n!==0&&this._checkVertexAttribState(n+t-1>>>0)&&this._native2.drawArrays(e,t,r)}drawElements(e=0,t=0,n=0,r=0){if(t<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=this._vertexObjectState._elementArrayBufferBinding;if(!i){this.setError(this.INVALID_OPERATION);return}let a=null,o=r;if(n===this.UNSIGNED_SHORT){if(o%2){this.setError(this.INVALID_OPERATION);return}o>>=1,a=new Uint16Array(i._elements.buffer)}else if(n===this.UNSIGNED_INT){if(o%4){this.setError(this.INVALID_OPERATION);return}o>>=2,a=new Uint32Array(i._elements.buffer)}else if(n===this.UNSIGNED_BYTE)a=i._elements;else{this.setError(this.INVALID_ENUM);return}let s=t;switch(e){case this.TRIANGLES:t%3&&(s-=t%3);break;case this.LINES:t%2&&(s-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk()||t===0)return;let c=0;for(let e=o;e<o+s;++e)e<a.length&&a[e]>c&&(c=a[e]);this._checkVertexAttribState(c)&&this._native2.drawElements(e,s,n,r)}bindBufferBase(e,t,n){this._native2.bindBufferBase(e,t,n?n._:0)}bindBufferRange(e,t,n,r,i){this._native2.bindBufferRange(e,t,n?n._:0,r,i)}copyBufferSubData(e,t,n,r,i){this._native2.copyBufferSubData(e,t,n,r,i)}getBufferSubData(e,t,n,r,i){let a=i===void 0?n.byteLength-(r??0):i,o=this._native2.getBufferSubData(e,t,a),s=new Uint8Array(n.buffer,n.byteOffset+(r??0)*(n instanceof Uint8Array?1:n.BYTES_PER_ELEMENT??1));s.set(o.subarray(0,s.byteLength))}texImage2D(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c){let u=0,d=0,f=0,p=0;if(arguments.length===6)if(s=i,f=r,a instanceof l.Pixbuf){let e=a;u=e.get_width(),d=e.get_height(),c=e.get_pixels()}else{let e=extractImageData(a);if(e==null)throw TypeError(`texImage2D(GLenum, GLint, GLenum, GLint, GLenum, GLenum, ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement)`);u=e.width,d=e.height,c=e.data}else arguments.length>=9&&(u=r,d=i,p=a,f=o);let m=this._getTexImage(e);if(!m){this.setError(this.INVALID_OPERATION);return}let h=convertPixels(c);if(this._unpackPremultAlpha&&h&&f===this.RGBA&&(h=premultiplyAlpha(h)),this._unpackFlipY&&h&&u>0&&d>0){let e=this._computePixelSize(s,f);if(e>0){let t=this._computeRowStride(u,e),n=new Uint8Array(h.length);for(let e=0;e<d;e++){let r=e*t,i=(d-1-e)*t;n.set(h.subarray(r,r+t),i)}h=n}}this._saveError(),this._gl.texImage2D(e,t,n,u,d,p,f,s,Uint8ArrayToVariant(h));let g=this.getError();if(this._restoreError(g),g!==this.NO_ERROR)return;m._levelWidth[t]=u,m._levelHeight[t]=d,m._format=f,m._type=s;let _=this._activeFramebuffer;if(_){let e=!1,t=this._getAttachments();for(let n=0;n<t.length;++n)if(_._attachments[t[n]]===m){e=!0;break}e&&this._activeFramebuffer&&this._updateFramebufferAttachments(this._activeFramebuffer)}}texSubImage2D(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c){let u=0,d=0,f=0;if(arguments.length===7)if(s=a,f=i,o instanceof l.Pixbuf){let e=o;u=e.get_width(),d=e.get_height(),c=e.get_pixels()}else{let e=extractImageData(o);if(e==null)throw TypeError(`texSubImage2D(GLenum, GLint, GLint, GLint, GLenum, GLenum, ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement)`);u=e.width,d=e.height,c=e.data}else u=i,d=a,f=o;if(!this._getTexImage(e)){this.setError(this.INVALID_OPERATION);return}let p=convertPixels(c);if(!p){this.setError(this.INVALID_OPERATION);return}if(this._unpackPremultAlpha&&p&&f===this.RGBA&&(p=premultiplyAlpha(p)),this._unpackFlipY&&p&&u>0&&d>0){let e=this._computePixelSize(s,f);if(e>0){let t=this._computeRowStride(u,e),n=new Uint8Array(p.length);for(let e=0;e<d;e++){let r=e*t,i=(d-1-e)*t;n.set(p.subarray(r,r+t),i)}p=n}}this._gl.texSubImage2D(e,t,n,r,u,d,f,s,Uint8ArrayToVariant(p))}getUniform(e,t){let n=t?._activeInfo?.type,r=5125,i=36294,a=36295,o=n===r||n===i||n===a||n===36296,s=e;if(!o)return super.getUniform(s,t);if(!e||!t)return null;let c=this._native2.getUniformi(s._|0,t._|0);return c?n===r?c[0]>>>0:n===i?new Uint32Array([c[0]>>>0,c[1]>>>0]):n===a?new Uint32Array([c[0]>>>0,c[1]>>>0,c[2]>>>0]):new Uint32Array([c[0]>>>0,c[1]>>>0,c[2]>>>0,c[3]>>>0]):null}getUniformBlockIndex(e,t){return this._native2.getUniformBlockIndex(e._,t)}uniformBlockBinding(e,t,n){this._native2.uniformBlockBinding(e._,t,n)}getActiveUniformBlockName(e,t){let n=this._native2.getActiveUniformBlockName(e._,t);return n.length>0?n:null}getActiveUniformBlockParameter(e,t,n){return this._native2.getActiveUniformBlockParameter(e._,t,n)}getActiveUniforms(e,t,n){return this._native2.getActiveUniforms(e._,t,n)}getFragDataLocation(e,t){return this._native2.getFragDataLocation(e._,t)}getIndexedParameter(e,t){return this._native2.getIndexedParameteri(e,t)}getInternalformatParameter(e,t,n){return this._native2.getInternalformatParameter(e,t,n)}getParameter(e){if(e===7938)return`WebGL 2.0`;if(e===35724)return`WebGL GLSL ES 3.00`;if(e===7939)return warnNotImplemented(`WebGL2RenderingContext.getParameter(GL_EXTENSIONS)`),``;if(e===36006)return this._activeDrawFramebuffer;if(e===36010)return this._activeReadFramebuffer;switch(e){case 36183:case 35071:case 32883:case 36063:case 34852:case 36203:case 33001:case 33e3:case 37157:case 35373:case 35657:case 35077:case 35978:case 35979:case 35968:case 35376:case 35375:case 35659:case 37154:case 35371:case 35658:case 35379:case 35374:case 35377:case 35076:case 3330:case 3332:case 3331:case 35053:case 35055:case 3074:case 32874:case 35869:case 36389:case 35983:case 35368:case 35380:case 32878:case 3314:case 32877:case 3316:case 3315:case 34045:return this._native2.getParameterx(e)?.deepUnpack()|0;case 35977:case 36388:case 36387:return!!this._native2.getParameterx(e)?.deepUnpack()}return super.getParameter(e)}getStringi(e,t){let n=this._native2.getStringi(e,t);return n.length>0?n:null}renderbufferStorage(e,t,n,r){if(e!==this.RENDERBUFFER){this.setError(this.INVALID_ENUM);return}let i=this._activeRenderbuffer;if(!i){this.setError(this.INVALID_OPERATION);return}if(n<0||r<0){this.setError(this.INVALID_VALUE);return}for(;this._gl.getError()!==this.NO_ERROR;);if(this._gl.renderbufferStorage(e,t,n,r),this._gl.getError()!==this.NO_ERROR)return;i._width=n,i._height=r,i._format=t;let a=this._activeFramebuffer;if(a){let e=this._getAttachments(),t=!1;for(let n=0;n<e.length;++n)if(a._attachments[e[n]]===i){t=!0;break}t&&this._updateFramebufferAttachments(a)}}getSupportedExtensions(){let e=super.getSupportedExtensions();for(let t of[`EXT_color_buffer_float`,`EXT_color_buffer_half_float`,`OES_texture_half_float`])e.indexOf(t)===-1&&e.push(t);return e}readPixels(e,t,n,r,i,a,o){if(!o)return;if(n<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._framebufferOk())return;let s=i===6408||i===32856?4:i===6407?3:i===33319?2:1,c=a===5126?4:a===5131||a===36193?2:a===5125||a===5124?4:a===5123||a===5122?2:1,l=n*r*s*c,u=new Uint8Array(l);this._saveError();let d=this._gl.readPixels(e,t,n,r,i,a,Uint8ArrayToVariant(u)),f=this.getError();if(this._restoreError(f),f!==this.NO_ERROR)return;let p=d&&d.length>0?d:u;if(o instanceof Uint8Array)o.set(p);else if(o instanceof Float32Array){let e=new Float32Array(p.buffer,0,o.length);o.set(e)}}_framebufferOk(){return!0}};installObjectLifecycleMethods(Tn.prototype),installTexImage3DMethods(Tn.prototype),installUniformMethods(Tn.prototype),installClearBufferMethods(Tn.prototype),installInstancedAndFramebufferOpsMethods(Tn.prototype);function defineGlobalIfMissing(e,t){globalThis[e]===void 0&&Object.defineProperty(globalThis,e,{value:t,writable:!0,configurable:!0})}defineGlobalIfMissing(`WebGLRenderingContext`,WebGLRenderingContext$1),defineGlobalIfMissing(`WebGL2RenderingContext`,Tn);const En=Symbol(`abort`),Dn=Symbol(`internal`);var On=class AbortSignal extends EventTarget{#e=!1;reason=void 0;onabort=null;constructor(e){if(super(),e!==Dn)throw TypeError(`Illegal constructor.`)}get aborted(){if(!(this instanceof AbortSignal))throw TypeError(`'get aborted' called on an object that is not a valid instance of AbortSignal.`);return this.#e}get[Symbol.toStringTag](){return`AbortSignal`}throwIfAborted(){if(this.#e)throw this.reason}[En](e){if(this.#e)return;this.#e=!0,this.reason=e??new Fe(`The operation was aborted.`,`AbortError`);let t=new Event(`abort`);typeof this.onabort==`function`&&this.onabort.call(this,t),this.dispatchEvent(t)}static abort(e){let t=new AbortSignal(Dn);return t[En](e),t}static timeout(e){let t=new AbortSignal(Dn);return setTimeout(()=>{t[En](new Fe(`The operation timed out.`,`TimeoutError`))},e),t}static any(e){let t=new AbortSignal(Dn);for(let n of e)if(n.aborted)return t[En](n.reason),t;let onAbort=()=>{if(!t.aborted){let n=e.find(e=>e.aborted);t[En](n?.reason)}};for(let t of e)t.addEventListener(`abort`,onAbort,{once:!0});return t}},kn=class AbortController{signal;constructor(){this.signal=new On(Dn)}abort(e){if(!(this instanceof AbortController))throw TypeError(`'abort' called on an object that is not a valid instance of AbortController.`);this.signal[En](e)}};const An=globalThis;globalThis.AbortController===void 0&&(An.AbortController=kn),globalThis.AbortSignal===void 0&&(An.AbortSignal=On);const jn={CustomEvent:CustomEvent$1,MessageEvent,ErrorEvent,CloseEvent,ProgressEvent:ProgressEvent$1};for(let[e,t]of Object.entries(jn))globalThis[e]===void 0&&Object.defineProperty(globalThis,e,{value:t,writable:!0,configurable:!0});const Mn=globalThis;globalThis.DOMException===void 0&&(Mn.DOMException=Fe);const F=Symbol(`kState`),Nn=Symbol(`kType`);function isBrandCheck(e){return t=>typeof t==`object`&&!!t&&t[F]!==void 0&&t[Nn]===e}function dequeueValue(e){let t=e[F].queue.shift();if(t===void 0)throw Error(`dequeueValue called on an empty queue`);let{value:n,size:r}=t;return e[F].queueTotalSize=Math.max(0,e[F].queueTotalSize-r),n}function resetQueue(e){e[F].queue=[],e[F].queueTotalSize=0}function peekQueueValue(e){return e[F].queue[0].value}function enqueueValueWithSize(e,t,n){if(n=+n,typeof n!=`number`||n<0||Number.isNaN(n)||n===1/0)throw RangeError(`Invalid size: ${n}`);e[F].queue.push({value:t,size:n}),e[F].queueTotalSize+=n}function extractHighWaterMark(e,t){if(e===void 0)return t;if(e=+e,typeof e!=`number`||Number.isNaN(e)||e<0)throw RangeError(`Invalid highWaterMark: ${e}`);return e}function extractSizeAlgorithm(e){if(e===void 0)return()=>1;if(typeof e!=`function`)throw TypeError(`strategy.size must be a function`);return e}function transferArrayBuffer(e){return typeof ArrayBuffer.prototype.transfer==`function`?e.transfer():e.slice(0)}function isDetachedBuffer(e){if(typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||e.byteLength!==0)return!1;try{return e.slice(0,0),!1}catch{return!0}}function typedArrayConstructorByTag(e){switch(e){case`Int8Array`:return Int8Array;case`Uint8Array`:return Uint8Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Int16Array`:return Int16Array;case`Uint16Array`:return Uint16Array;case`Int32Array`:return Int32Array;case`Uint32Array`:return Uint32Array;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return typeof BigInt64Array<`u`?BigInt64Array:void 0;case`BigUint64Array`:return typeof BigUint64Array<`u`?BigUint64Array:void 0;default:return}}function elementSizeByTag(e){switch(e){case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:return 1;case`Int16Array`:case`Uint16Array`:return 2;case`Int32Array`:case`Uint32Array`:case`Float32Array`:return 4;case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:return 8;default:return 1}}function setPromiseHandled(e){e.then(()=>{},()=>{})}function createPromiseCallback(e,t,n){if(typeof t!=`function`)throw TypeError(`${e} must be a function`);return async(...e)=>t.call(n,...e)}async function nonOpFlush(){}function nonOpStart(){}async function nonOpPull(){}async function nonOpCancel(){}async function nonOpWrite(){}const Pn={__proto__:Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype),next:void 0,return:void 0};function createAsyncFromSyncIterator(e){let t={[Symbol.iterator]:()=>e.iterator},n=(async function*(){return yield*t})();return{iterator:n,nextMethod:n.next,done:!1}}function getIterator(e,t=`sync`,n){if(n===void 0)if(t===`async`){if(n=e[Symbol.asyncIterator],n==null){let t=e[Symbol.iterator];if(t===void 0)throw TypeError(`Object is not iterable`);return createAsyncFromSyncIterator(getIterator(e,`sync`,t))}}else n=e[Symbol.iterator];if(n===void 0)throw TypeError(`Object is not iterable`);let r=n.call(e);if(typeof r!=`object`||!r)throw TypeError(`The iterator method must return an object`);return{iterator:r,nextMethod:r.next,done:!1}}function iteratorNext(e,t){let n;if(n=t===void 0?e.nextMethod.call(e.iterator):e.nextMethod.call(e.iterator,t),typeof n!=`object`||!n)throw TypeError(`The iterator.next() method must return an object`);return n}const Fn=typeof globalThis.AbortController==`function`?globalThis.AbortController:class AbortControllerShim{signal={aborted:!1,reason:void 0,addEventListener(){},removeEventListener(){}};abort(e){this.signal.aborted=!0,this.signal.reason=e}},In=Symbol(`kAbort`),Ln=Symbol(`kCloseSentinel`),Rn=Symbol(`kError`),zn=Symbol(`kSkipThrow`);var WritableStream=class{[Nn]=`WritableStream`;[F];constructor(e={},t={}){if(e!=null&&typeof e!=`object`)throw TypeError(`sink must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`strategy must be an object`);let n=e?.type;if(n!==void 0)throw RangeError(`Invalid type: ${n}`);this[F]=createWritableStreamState();let r=extractSizeAlgorithm(t?.size),i=extractHighWaterMark(t?.highWaterMark,1);setupWritableStreamDefaultControllerFromSink(this,e,i,r)}get locked(){if(!Bn(this))throw TypeError(`Invalid this`);return isWritableStreamLocked(this)}abort(e){return Bn(this)?isWritableStreamLocked(this)?Promise.reject(TypeError(`WritableStream is locked`)):writableStreamAbort(this,e):Promise.reject(TypeError(`Invalid this`))}close(){return Bn(this)?isWritableStreamLocked(this)?Promise.reject(TypeError(`WritableStream is locked`)):writableStreamCloseQueuedOrInFlight(this)?Promise.reject(TypeError(`Failure closing WritableStream`)):writableStreamClose(this):Promise.reject(TypeError(`Invalid this`))}getWriter(){if(!Bn(this))throw TypeError(`Invalid this`);return new WritableStreamDefaultWriter(this)}get[Symbol.toStringTag](){return`WritableStream`}},WritableStreamDefaultWriter=class{[Nn]=`WritableStreamDefaultWriter`;[F];constructor(e){if(!Bn(e))throw TypeError(`Expected a WritableStream`);this[F]={stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0},ready:{promise:void 0,resolve:void 0,reject:void 0}},setupWritableStreamDefaultWriter(this,e)}get closed(){return Vn(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}get desiredSize(){if(!Vn(this))throw TypeError(`Invalid this`);if(this[F].stream===void 0)throw TypeError(`Writer is not bound to a WritableStream`);return writableStreamDefaultWriterGetDesiredSize(this)}get ready(){return Vn(this)?this[F].ready.promise:Promise.reject(TypeError(`Invalid this`))}abort(e){return Vn(this)?this[F].stream===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamDefaultWriterAbort(this,e):Promise.reject(TypeError(`Invalid this`))}close(){if(!Vn(this))return Promise.reject(TypeError(`Invalid this`));let{stream:e}=this[F];return e===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamCloseQueuedOrInFlight(e)?Promise.reject(TypeError(`Failure to close WritableStream`)):writableStreamDefaultWriterClose(this)}releaseLock(){if(!Vn(this))throw TypeError(`Invalid this`);let{stream:e}=this[F];e!==void 0&&writableStreamDefaultWriterRelease(this)}write(e){return Vn(this)?this[F].stream===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamDefaultWriterWrite(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`WritableStreamDefaultWriter`}},WritableStreamDefaultController=class{[Nn]=`WritableStreamDefaultController`;[F];constructor(e){if(e!==zn)throw TypeError(`Illegal constructor`)}[In](e){let t=this[F].abortAlgorithm(e);return writableStreamDefaultControllerClearAlgorithms(this),t}[Rn](){resetQueue(this)}get signal(){if(!Hn(this))throw TypeError(`Invalid this`);return this[F].abortController.signal}error(e){if(!Hn(this))throw TypeError(`Invalid this`);this[F].stream[F].state===`writable`&&writableStreamDefaultControllerError(this,e)}get[Symbol.toStringTag](){return`WritableStreamDefaultController`}};const Bn=isBrandCheck(`WritableStream`),Vn=isBrandCheck(`WritableStreamDefaultWriter`),Hn=isBrandCheck(`WritableStreamDefaultController`);function createEmptyPromiseRecord(){return{promise:void 0,resolve:void 0,reject:void 0}}function createWritableStreamState(){return{close:Promise.withResolvers(),closeRequest:createEmptyPromiseRecord(),inFlightWriteRequest:createEmptyPromiseRecord(),inFlightCloseRequest:createEmptyPromiseRecord(),pendingAbortRequest:{abort:createEmptyPromiseRecord(),reason:void 0,wasAlreadyErroring:!1},backpressure:!1,controller:void 0,state:`writable`,storedError:void 0,writeRequests:[],writer:void 0}}function isWritableStreamLocked(e){return e[F].writer!==void 0}function setupWritableStreamDefaultWriter(e,t){if(isWritableStreamLocked(t))throw TypeError(`WritableStream is locked`);switch(e[F].stream=t,t[F].writer=e,t[F].state){case`writable`:!writableStreamCloseQueuedOrInFlight(t)&&t[F].backpressure?e[F].ready=Promise.withResolvers():e[F].ready={promise:Promise.resolve(),resolve:void 0,reject:void 0},e[F].close=Promise.withResolvers();break;case`erroring`:e[F].ready={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise),e[F].close=Promise.withResolvers();break;case`closed`:e[F].ready={promise:Promise.resolve(),resolve:void 0,reject:void 0},e[F].close={promise:Promise.resolve(),resolve:void 0,reject:void 0};break;default:e[F].ready={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},e[F].close={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise),setPromiseHandled(e[F].close.promise)}}function writableStreamAbort(e,t){let{state:n,controller:r}=e[F];if(n===`closed`||n===`errored`)return Promise.resolve();if(r[F].abortController.abort(t),e[F].pendingAbortRequest.abort.promise!==void 0)return e[F].pendingAbortRequest.abort.promise;let i=!1;n===`erroring`&&(i=!0,t=void 0);let a=Promise.withResolvers();return e[F].pendingAbortRequest={abort:a,reason:t,wasAlreadyErroring:i},i||writableStreamStartErroring(e,t),a.promise}function writableStreamClose(e){let{state:t,writer:n,backpressure:r,controller:i}=e[F];if(t===`closed`||t===`errored`)return Promise.reject(TypeError(`WritableStream is closed`));e[F].closeRequest=Promise.withResolvers();let{promise:a}=e[F].closeRequest;return n!==void 0&&r&&t===`writable`&&n[F].ready.resolve?.(),writableStreamDefaultControllerClose(i),a}function writableStreamUpdateBackpressure(e,t){let{writer:n}=e[F];n!==void 0&&e[F].backpressure!==t&&(t?n[F].ready=Promise.withResolvers():n[F].ready.resolve?.()),e[F].backpressure=t}function writableStreamStartErroring(e,t){let{controller:n,writer:r}=e[F];e[F].state=`erroring`,e[F].storedError=t,r!==void 0&&writableStreamDefaultWriterEnsureReadyPromiseRejected(r,t),!writableStreamHasOperationMarkedInFlight(e)&&n[F].started&&writableStreamFinishErroring(e)}function writableStreamRejectCloseAndClosedPromiseIfNeeded(e){e[F].closeRequest.promise!==void 0&&(e[F].closeRequest.reject?.(e[F].storedError),e[F].closeRequest={promise:void 0,resolve:void 0,reject:void 0}),setPromiseHandled(e[F].close.promise),e[F].close.reject?.(e[F].storedError);let{writer:t}=e[F];t!==void 0&&(setPromiseHandled(t[F].close.promise),t[F].close.reject?.(e[F].storedError))}function writableStreamMarkFirstWriteRequestInFlight(e){let t=e[F].writeRequests.shift();e[F].inFlightWriteRequest=t}function writableStreamMarkCloseRequestInFlight(e){e[F].inFlightCloseRequest=e[F].closeRequest,e[F].closeRequest={promise:void 0,resolve:void 0,reject:void 0}}function writableStreamHasOperationMarkedInFlight(e){return e[F].inFlightWriteRequest.promise!==void 0||e[F].inFlightCloseRequest.promise!==void 0}function writableStreamFinishInFlightWriteWithError(e,t){e[F].inFlightWriteRequest.reject?.(t),e[F].inFlightWriteRequest={promise:void 0,resolve:void 0,reject:void 0},writableStreamDealWithRejection(e,t)}function writableStreamFinishInFlightWrite(e){e[F].inFlightWriteRequest.resolve?.(),e[F].inFlightWriteRequest={promise:void 0,resolve:void 0,reject:void 0}}function writableStreamFinishInFlightCloseWithError(e,t){e[F].inFlightCloseRequest.reject?.(t),e[F].inFlightCloseRequest={promise:void 0,resolve:void 0,reject:void 0},e[F].pendingAbortRequest.abort.promise!==void 0&&(e[F].pendingAbortRequest.abort.reject?.(t),e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1}),writableStreamDealWithRejection(e,t)}function writableStreamFinishInFlightClose(e){e[F].inFlightCloseRequest.resolve?.(),e[F].inFlightCloseRequest={promise:void 0,resolve:void 0,reject:void 0},e[F].state===`erroring`&&(e[F].storedError=void 0,e[F].pendingAbortRequest.abort.promise!==void 0&&(e[F].pendingAbortRequest.abort.resolve?.(),e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1})),e[F].state=`closed`,e[F].writer!==void 0&&e[F].writer[F].close.resolve?.(),e[F].close.resolve?.()}function writableStreamFinishErroring(e){e[F].state=`errored`,e[F].controller[Rn]();let t=e[F].storedError;for(let n of e[F].writeRequests)n.reject?.(t);if(e[F].writeRequests=[],e[F].pendingAbortRequest.abort.promise===void 0){writableStreamRejectCloseAndClosedPromiseIfNeeded(e);return}let n=e[F].pendingAbortRequest;if(e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1},n.wasAlreadyErroring){n.abort.reject?.(t),writableStreamRejectCloseAndClosedPromiseIfNeeded(e);return}e[F].controller[In](n.reason).then(()=>{n.abort.resolve?.(),writableStreamRejectCloseAndClosedPromiseIfNeeded(e)},t=>{n.abort.reject?.(t),writableStreamRejectCloseAndClosedPromiseIfNeeded(e)})}function writableStreamDealWithRejection(e,t){if(e[F].state===`writable`){writableStreamStartErroring(e,t);return}writableStreamFinishErroring(e)}function writableStreamCloseQueuedOrInFlight(e){return e[F].closeRequest.promise!==void 0||e[F].inFlightCloseRequest.promise!==void 0}function writableStreamAddWriteRequest(e){let{promise:t,resolve:n,reject:r}=Promise.withResolvers();return e[F].writeRequests.push({promise:t,resolve:n,reject:r}),t}function writableStreamDefaultWriterWrite(e,t){let{stream:n}=e[F],{controller:r}=n[F],i=writableStreamDefaultControllerGetChunkSize(r,t);if(n!==e[F].stream)return Promise.reject(TypeError(`Mismatched WritableStreams`));let{state:a}=n[F];if(a===`errored`)return Promise.reject(n[F].storedError);if(writableStreamCloseQueuedOrInFlight(n)||a===`closed`)return Promise.reject(TypeError(`WritableStream is closed`));if(a===`erroring`)return Promise.reject(n[F].storedError);let o=writableStreamAddWriteRequest(n);return writableStreamDefaultControllerWrite(r,t,i),o}function writableStreamDefaultWriterRelease(e){let{stream:t}=e[F],n=TypeError(`Writer has been released`);writableStreamDefaultWriterEnsureReadyPromiseRejected(e,n),writableStreamDefaultWriterEnsureClosedPromiseRejected(e,n),t[F].writer=void 0,e[F].stream=void 0}function writableStreamDefaultWriterGetDesiredSize(e){let{stream:t}=e[F];switch(t[F].state){case`errored`:case`erroring`:return null;case`closed`:return 0}return writableStreamDefaultControllerGetDesiredSize(t[F].controller)}function writableStreamDefaultWriterEnsureReadyPromiseRejected(e,t){e[F].ready.reject?(e[F].ready.reject(t),e[F].ready.resolve=void 0,e[F].ready.reject=void 0):e[F].ready={promise:Promise.reject(t),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise)}function writableStreamDefaultWriterEnsureClosedPromiseRejected(e,t){e[F].close.reject?(e[F].close.reject(t),e[F].close.resolve=void 0,e[F].close.reject=void 0):e[F].close={promise:Promise.reject(t),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise)}function writableStreamDefaultWriterCloseWithErrorPropagation(e){let{stream:t}=e[F],{state:n}=t[F];return writableStreamCloseQueuedOrInFlight(t)||n===`closed`?Promise.resolve():n===`errored`?Promise.reject(t[F].storedError):writableStreamDefaultWriterClose(e)}function writableStreamDefaultWriterClose(e){return writableStreamClose(e[F].stream)}function writableStreamDefaultWriterAbort(e,t){return writableStreamAbort(e[F].stream,t)}function writableStreamDefaultControllerWrite(e,t,n){try{enqueueValueWithSize(e,t,n)}catch(t){writableStreamDefaultControllerErrorIfNeeded(e,t);return}let{stream:r}=e[F];!writableStreamCloseQueuedOrInFlight(r)&&r[F].state===`writable`&&writableStreamUpdateBackpressure(r,writableStreamDefaultControllerGetBackpressure(e)),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)}function writableStreamDefaultControllerProcessWrite(e,t){let{stream:n,writeAlgorithm:r}=e[F];writableStreamMarkFirstWriteRequestInFlight(n),r(t,e).then(()=>{writableStreamFinishInFlightWrite(n);let{state:t}=n[F];dequeueValue(e),!writableStreamCloseQueuedOrInFlight(n)&&t===`writable`&&writableStreamUpdateBackpressure(n,writableStreamDefaultControllerGetBackpressure(e)),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)},t=>{n[F].state===`writable`&&writableStreamDefaultControllerClearAlgorithms(e),writableStreamFinishInFlightWriteWithError(n,t)})}function writableStreamDefaultControllerProcessClose(e){let{closeAlgorithm:t,stream:n}=e[F];writableStreamMarkCloseRequestInFlight(n),dequeueValue(e);let r=t();writableStreamDefaultControllerClearAlgorithms(e),r.then(()=>writableStreamFinishInFlightClose(n),e=>writableStreamFinishInFlightCloseWithError(n,e))}function writableStreamDefaultControllerGetDesiredSize(e){return e[F].highWaterMark-e[F].queueTotalSize}function writableStreamDefaultControllerGetChunkSize(e,t){let{sizeAlgorithm:n}=e[F];if(n===void 0)return 1;try{return n(t)}catch(t){return writableStreamDefaultControllerErrorIfNeeded(e,t),1}}function writableStreamDefaultControllerErrorIfNeeded(e,t){e[F].stream[F].state===`writable`&&writableStreamDefaultControllerError(e,t)}function writableStreamDefaultControllerError(e,t){writableStreamDefaultControllerClearAlgorithms(e),writableStreamStartErroring(e[F].stream,t)}function writableStreamDefaultControllerClose(e){enqueueValueWithSize(e,Ln,0),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)}function writableStreamDefaultControllerClearAlgorithms(e){e[F].writeAlgorithm=void 0,e[F].closeAlgorithm=void 0,e[F].abortAlgorithm=void 0,e[F].sizeAlgorithm=void 0}function writableStreamDefaultControllerGetBackpressure(e){return writableStreamDefaultControllerGetDesiredSize(e)<=0}function writableStreamDefaultControllerAdvanceQueueIfNeeded(e){let{queue:t,started:n,stream:r}=e[F];if(!n||r[F].inFlightWriteRequest.promise!==void 0)return;if(r[F].state===`erroring`){writableStreamFinishErroring(r);return}if(!t.length)return;let i=peekQueueValue(e);i===Ln?writableStreamDefaultControllerProcessClose(e):writableStreamDefaultControllerProcessWrite(e,i)}function setupWritableStreamDefaultControllerFromSink(e,t,n,r){let i=new WritableStreamDefaultController(zn),a=t?.start,o=t?.write,s=t?.close,c=t?.abort;setupWritableStreamDefaultController(e,i,a?a.bind(t,i):nonOpStart,o?createPromiseCallback(`sink.write`,o,t):nonOpWrite,s?createPromiseCallback(`sink.close`,s,t):nonOpCancel,c?createPromiseCallback(`sink.abort`,c,t):nonOpCancel,n,r)}function setupWritableStreamDefaultController(e,t,n,r,i,a,o,s){t[F]={abortAlgorithm:a,closeAlgorithm:i,highWaterMark:o,queue:[],queueTotalSize:0,abortController:new Fn,sizeAlgorithm:s,started:!1,stream:e,writeAlgorithm:r},e[F].controller=t,writableStreamUpdateBackpressure(e,writableStreamDefaultControllerGetBackpressure(t));let c=n();new Promise(e=>e(c)).then(()=>{t[F].started=!0,writableStreamDefaultControllerAdvanceQueueIfNeeded(t)},n=>{t[F].started=!0,writableStreamDealWithRejection(e,n)})}function createWritableStream(e,t,n,r,i=1,a=()=>1){let o=Object.create(WritableStream.prototype);return o[Nn]=`WritableStream`,o[F]=createWritableStreamState(),setupWritableStreamDefaultController(o,new WritableStreamDefaultController(zn),e,t,n,r,i,a),o}const Un=Symbol(`kCancel`),Wn=Symbol(`kClose`),Gn=Symbol(`kChunk`),Kn=Symbol(`kError`),qn=Symbol(`kPull`),Jn=Symbol(`kRelease`),Yn=Symbol(`kSkipThrow`);let Xn,Zn;function lazyReadableReleasedError(){return Xn||(Xn=TypeError(`Reader released`),Xn)}function lazyReadableReleasingError(){return Zn||(Zn=TypeError(`Releasing reader`),Zn)}function createAbortError(){if(typeof globalThis.DOMException==`function`)return new DOMException(`The operation was aborted`,`AbortError`);let e=Error(`The operation was aborted`);return e.name=`AbortError`,e}function createReadableStreamState(){return{disturbed:!1,reader:void 0,state:`readable`,storedError:void 0,controller:void 0,closedPromise:Promise.withResolvers()}}var ReadableStream$1=class{static{__name(this,`ReadableStream`)}[Nn]=`ReadableStream`;[F];constructor(e={},t={}){if(e!=null&&typeof e!=`object`)throw TypeError(`source must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`strategy must be an object`);this[F]=createReadableStreamState();let n=t?.size,r=t?.highWaterMark,i=e?.type;if(i!==void 0){if(`${i}`==`bytes`){if(n!==void 0)throw RangeError(`strategy.size must not be set for a byte stream`);setupReadableByteStreamControllerFromSource(this,e,extractHighWaterMark(r,0));return}throw RangeError(`Invalid type: ${i}`)}setupReadableStreamDefaultControllerFromSource(this,e,extractHighWaterMark(r,1),extractSizeAlgorithm(n))}get locked(){if(!Qn(this))throw TypeError(`Invalid this`);return isReadableStreamLocked(this)}static from(e){return readableStreamFromIterable(e)}cancel(e=void 0){return Qn(this)?isReadableStreamLocked(this)?Promise.reject(TypeError(`ReadableStream is locked`)):readableStreamCancel(this,e):Promise.reject(TypeError(`Invalid this`))}getReader(e={}){if(!Qn(this))throw TypeError(`Invalid this`);if(e!=null&&typeof e!=`object`)throw TypeError(`options must be an object`);let t=e?.mode;if(t===void 0)return new ReadableStreamDefaultReader(this);if(`${t}`==`byob`)return new ReadableStreamBYOBReader(this);throw RangeError(`Invalid mode: ${t}`)}pipeThrough(e,t={}){if(!Qn(this))throw TypeError(`Invalid this`);let n=e?.readable;if(!Qn(n))throw TypeError(`transform.readable must be a ReadableStream`);let r=e?.writable;if(!Bn(r))throw TypeError(`transform.writable must be a WritableStream`);if(t!=null&&typeof t!=`object`)throw TypeError(`options must be an object`);let i=t?.preventAbort,a=t?.preventCancel,o=t?.preventClose,s=t?.signal;if(s!==void 0&&!(s instanceof Object&&`aborted`in s))throw TypeError(`options.signal must be an AbortSignal`);if(isReadableStreamLocked(this))throw TypeError(`The ReadableStream is locked`);if(isWritableStreamLocked(r))throw TypeError(`The WritableStream is locked`);return setPromiseHandled(readableStreamPipeTo(this,r,!!o,!!i,!!a,s)),n}pipeTo(e,t={}){try{if(!Qn(this))throw TypeError(`Invalid this`);if(!Bn(e))throw TypeError(`destination must be a WritableStream`);if(t!=null&&typeof t!=`object`)throw TypeError(`options must be an object`);let n=t?.preventAbort,r=t?.preventCancel,i=t?.preventClose,a=t?.signal;if(a!==void 0&&!(a instanceof Object&&`aborted`in a))throw TypeError(`options.signal must be an AbortSignal`);if(isReadableStreamLocked(this))throw TypeError(`The ReadableStream is locked`);if(isWritableStreamLocked(e))throw TypeError(`The WritableStream is locked`);return readableStreamPipeTo(this,e,!!i,!!n,!!r,a)}catch(e){return Promise.reject(e)}}tee(){if(!Qn(this))throw TypeError(`Invalid this`);let e=this[F].controller;return tr(e)?readableByteStreamTee(this):readableStreamDefaultTee(this,!1)}values(e={}){if(!Qn(this))throw TypeError(`Invalid this`);if(e!=null&&typeof e!=`object`)throw TypeError(`options must be an object`);let t=!!e?.preventCancel,n=new ReadableStreamDefaultReader(this),r={done:!1,current:void 0},i=!1;function nextSteps(){if(r.done)return Promise.resolve({done:!0,value:void 0});if(n[F].stream===void 0)return Promise.reject(TypeError(`The reader is not bound to a ReadableStream`));let{promise:e,resolve:t,reject:i}=Promise.withResolvers();return readableStreamDefaultReaderRead(n,{[Gn](e){r.current=void 0,t({value:e,done:!1})},[Wn](){r.current=void 0,r.done=!0,readableStreamReaderGenericRelease(n),t({done:!0,value:void 0})},[Kn](e){r.current=void 0,r.done=!0,readableStreamReaderGenericRelease(n),i(e)}}),e}async function returnSteps(e){if(r.done)return{done:!0,value:e};if(r.done=!0,n[F].stream===void 0)throw TypeError(`The reader is not bound to a ReadableStream`);if(!t){let t=readableStreamReaderGenericCancel(n,e);return readableStreamReaderGenericRelease(n),await t,{done:!0,value:e}}return readableStreamReaderGenericRelease(n),{done:!0,value:e}}return Object.setPrototypeOf({next(){return i||=(r.current=Promise.resolve(),!0),r.current=r.current===void 0?nextSteps():r.current.then(nextSteps,nextSteps),r.current},return(e){return i=!0,r.current=r.current===void 0?returnSteps(e):r.current.then(()=>returnSteps(e),()=>returnSteps(e)),r.current},[Symbol.asyncIterator](){return this}},Pn)}[Symbol.asyncIterator](){return this.values()}get[Symbol.toStringTag](){return`ReadableStream`}},DefaultReadRequest=class{[F];constructor(){this[F]=Promise.withResolvers()}[Gn](e){this[F].resolve?.({value:e,done:!1})}[Wn](){this[F].resolve?.({value:void 0,done:!0})}[Kn](e){this[F].reject?.(e)}get promise(){return this[F].promise}},ReadableStreamDefaultReader=class{[Nn]=`ReadableStreamDefaultReader`;[F];constructor(e){if(!Qn(e))throw TypeError(`Expected a ReadableStream`);this[F]={readRequests:[],readIntoRequests:[],stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0}},setupReadableStreamDefaultReader(this,e)}read(){if(!er(this))return Promise.reject(TypeError(`Invalid this`));if(this[F].stream===void 0)return Promise.reject(TypeError(`The reader is not attached to a stream`));let e=this[F].stream,t=e[F].controller;if(e[F].state===`readable`&&$n(t)&&t[F].queue.length>0){e[F].disturbed=!0;let n=dequeueValue(t);return t[F].closeRequested&&!t[F].queue.length?(readableStreamDefaultControllerClearAlgorithms(t),readableStreamClose(e)):readableStreamDefaultControllerCallPullIfNeeded(t),Promise.resolve({value:n,done:!1})}let n=new DefaultReadRequest;return readableStreamDefaultReaderRead(this,n),n.promise}releaseLock(){if(!er(this))throw TypeError(`Invalid this`);this[F].stream!==void 0&&readableStreamDefaultReaderRelease(this)}get closed(){return er(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}cancel(e=void 0){return er(this)?this[F].stream===void 0?Promise.reject(TypeError(`The reader is not attached to a stream`)):readableStreamReaderGenericCancel(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`ReadableStreamDefaultReader`}},ReadableStreamDefaultController=class{[Nn]=`ReadableStreamDefaultController`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get desiredSize(){return readableStreamDefaultControllerGetDesiredSize(this)}close(){if(!readableStreamDefaultControllerCanCloseOrEnqueue(this))throw TypeError(`Controller is already closed`);readableStreamDefaultControllerClose(this)}enqueue(e=void 0){if(!readableStreamDefaultControllerCanCloseOrEnqueue(this))throw TypeError(`Controller is already closed`);readableStreamDefaultControllerEnqueue(this,e)}error(e=void 0){readableStreamDefaultControllerError(this,e)}[Un](e){return readableStreamDefaultControllerCancelSteps(this,e)}[qn](e){readableStreamDefaultControllerPullSteps(this,e)}[Jn](){}get[Symbol.toStringTag](){return`ReadableStreamDefaultController`}};const Qn=isBrandCheck(`ReadableStream`),$n=isBrandCheck(`ReadableStreamDefaultController`),er=isBrandCheck(`ReadableStreamDefaultReader`);function isReadableStreamLocked(e){return e[F].reader!==void 0}function readableStreamCancel(e,t){switch(e[F].disturbed=!0,e[F].state){case`closed`:return Promise.resolve();case`errored`:return Promise.reject(e[F].storedError)}readableStreamClose(e);let n=e[F].reader;if(n!==void 0&&readableStreamHasBYOBReader(e)){let e=n[F].readIntoRequests;n[F].readIntoRequests=[];for(let t=0;t<e.length;t++)e[t][Wn](void 0)}return e[F].controller[Un](t).then(()=>{})}function readableStreamClose(e){e[F].state=`closed`,e[F].closedPromise.resolve();let{reader:t}=e[F];if(t!==void 0&&(t[F].close.resolve?.(),readableStreamHasDefaultReader(e))){for(let e=0;e<t[F].readRequests.length;e++)t[F].readRequests[e][Wn]();t[F].readRequests=[]}}function readableStreamError(e,t){e[F].state=`errored`,e[F].storedError=t,setPromiseHandled(e[F].closedPromise.promise),e[F].closedPromise.reject(t);let{reader:n}=e[F];if(n!==void 0){if(setPromiseHandled(n[F].close.promise),n[F].close.reject?.(t),readableStreamHasDefaultReader(e)){for(let e=0;e<n[F].readRequests.length;e++)n[F].readRequests[e][Kn](t);n[F].readRequests=[]}else if(readableStreamHasBYOBReader(e)){for(let e=0;e<n[F].readIntoRequests.length;e++)n[F].readIntoRequests[e][Kn](t);n[F].readIntoRequests=[]}}}function readableStreamHasDefaultReader(e){let{reader:t}=e[F];return t===void 0?!1:t[F]!==void 0&&t[Nn]===`ReadableStreamDefaultReader`}function readableStreamGetNumReadRequests(e){return e[F].reader[F].readRequests.length}function readableStreamFulfillReadRequest(e,t,n){let{reader:r}=e[F],i=r[F].readRequests.shift();n?i[Wn]():i[Gn](t)}function readableStreamAddReadRequest(e,t){e[F].reader[F].readRequests.push(t)}function readableStreamReaderGenericCancel(e,t){let{stream:n}=e[F];return readableStreamCancel(n,t)}function readableStreamReaderGenericInitialize(e,t){switch(e[F].stream=t,t[F].reader=e,t[F].state){case`readable`:e[F].close=Promise.withResolvers();break;case`closed`:e[F].close={promise:Promise.resolve(),resolve:void 0,reject:void 0};break;case`errored`:e[F].close={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise);break}}function readableStreamReaderGenericRelease(e){let{stream:t}=e[F],n=lazyReadableReleasedError();t[F].state===`readable`?e[F].close.reject?.(n):e[F].close={promise:Promise.reject(n),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise),t[F].controller[Jn](),t[F].reader=void 0,e[F].stream=void 0}function readableStreamDefaultReaderRelease(e){readableStreamReaderGenericRelease(e),readableStreamDefaultReaderErrorReadRequests(e,lazyReadableReleasingError())}function readableStreamDefaultReaderErrorReadRequests(e,t){for(let n=0;n<e[F].readRequests.length;++n)e[F].readRequests[n][Kn](t);e[F].readRequests=[]}function readableStreamDefaultReaderRead(e,t){let{stream:n}=e[F];switch(n[F].disturbed=!0,n[F].state){case`closed`:t[Wn]();break;case`errored`:t[Kn](n[F].storedError);break;case`readable`:n[F].controller[qn](t);break}}function setupReadableStreamDefaultReader(e,t){if(isReadableStreamLocked(t))throw TypeError(`ReadableStream is locked`);readableStreamReaderGenericInitialize(e,t),e[F].readRequests=[]}function readableStreamDefaultControllerClose(e){readableStreamDefaultControllerCanCloseOrEnqueue(e)&&(e[F].closeRequested=!0,e[F].queue.length||(readableStreamDefaultControllerClearAlgorithms(e),readableStreamClose(e[F].stream)))}function readableStreamDefaultControllerEnqueue(e,t){if(!readableStreamDefaultControllerCanCloseOrEnqueue(e))return;let{stream:n}=e[F];if(isReadableStreamLocked(n)&&readableStreamGetNumReadRequests(n))readableStreamFulfillReadRequest(n,t,!1);else try{enqueueValueWithSize(e,t,e[F].sizeAlgorithm(t))}catch(t){throw readableStreamDefaultControllerError(e,t),t}readableStreamDefaultControllerCallPullIfNeeded(e)}function readableStreamDefaultControllerCanCloseOrEnqueue(e){let{stream:t}=e[F];return!e[F].closeRequested&&t[F].state===`readable`}function readableStreamDefaultControllerGetDesiredSize(e){let{stream:t,highWaterMark:n,queueTotalSize:r}=e[F];switch(t[F].state){case`errored`:return null;case`closed`:return 0;default:return n-r}}function readableStreamDefaultControllerHasBackpressure(e){return!readableStreamDefaultControllerShouldCallPull(e)}function readableStreamDefaultControllerShouldCallPull(e){let{stream:t}=e[F];if(!readableStreamDefaultControllerCanCloseOrEnqueue(e)||!e[F].started)return!1;if(isReadableStreamLocked(t)&&readableStreamGetNumReadRequests(t))return!0;let n=readableStreamDefaultControllerGetDesiredSize(e);return n!==null&&n>0}function readableStreamDefaultControllerCallPullIfNeeded(e){if(readableStreamDefaultControllerShouldCallPull(e)){if(e[F].pulling){e[F].pullAgain=!0;return}e[F].pulling=!0,e[F].pullAlgorithm(e).then(()=>{e[F].pulling=!1,e[F].pullAgain&&(e[F].pullAgain=!1,readableStreamDefaultControllerCallPullIfNeeded(e))},t=>readableStreamDefaultControllerError(e,t))}}function readableStreamDefaultControllerClearAlgorithms(e){e[F].pullAlgorithm=void 0,e[F].cancelAlgorithm=void 0,e[F].sizeAlgorithm=void 0}function readableStreamDefaultControllerError(e,t){let{stream:n}=e[F];n[F].state===`readable`&&(resetQueue(e),readableStreamDefaultControllerClearAlgorithms(e),readableStreamError(n,t))}function readableStreamDefaultControllerCancelSteps(e,t){resetQueue(e);let n=e[F].cancelAlgorithm?.(t)??Promise.resolve();return readableStreamDefaultControllerClearAlgorithms(e),n}function readableStreamDefaultControllerPullSteps(e,t){let{stream:n,queue:r}=e[F];if(r.length){let i=dequeueValue(e);e[F].closeRequested&&!r.length?(readableStreamDefaultControllerClearAlgorithms(e),readableStreamClose(n)):readableStreamDefaultControllerCallPullIfNeeded(e),t[Gn](i);return}readableStreamAddReadRequest(n,t),readableStreamDefaultControllerCallPullIfNeeded(e)}function setupReadableStreamDefaultController(e,t,n,r,i,a,o){t[F]={cancelAlgorithm:i,closeRequested:!1,highWaterMark:a,pullAgain:!1,pullAlgorithm:r,pulling:!1,queue:[],queueTotalSize:0,started:!1,sizeAlgorithm:o,stream:e},e[F].controller=t;let s=n();new Promise(e=>e(s)).then(()=>{t[F].started=!0,readableStreamDefaultControllerCallPullIfNeeded(t)},e=>readableStreamDefaultControllerError(t,e))}function setupReadableStreamDefaultControllerFromSource(e,t,n,r){let i=new ReadableStreamDefaultController(Yn),a=t?.start,o=t?.pull,s=t?.cancel;setupReadableStreamDefaultController(e,i,a?a.bind(t,i):nonOpStart,o?createPromiseCallback(`source.pull`,o,t):nonOpPull,s?createPromiseCallback(`source.cancel`,s,t):nonOpCancel,n,r)}function createReadableStream(e,t,n,r=1,i=()=>1){let a=Object.create(ReadableStream$1.prototype);return a[Nn]=`ReadableStream`,a[F]=createReadableStreamState(),setupReadableStreamDefaultController(a,new ReadableStreamDefaultController(Yn),e,t,n,r,i),a}function readableStreamFromIterable(e){let t,n=getIterator(e,`async`),r=nonOpStart;async function pullAlgorithm(){let e=iteratorNext(n);return Promise.resolve(e).then(e=>{if(typeof e!=`object`||!e)throw TypeError(`The promise returned by the iterator.next() method must fulfill with an object`);e.done?readableStreamDefaultControllerClose(t[F].controller):readableStreamDefaultControllerEnqueue(t[F].controller,e.value)})}async function cancelAlgorithm(e){let t=n.iterator,r=t.return;if(r===void 0)return Promise.resolve();let i=r.call(t,e);return Promise.resolve(i).then(e=>{if(typeof e!=`object`||!e)throw TypeError(`The promise returned by the iterator.return() method must fulfill with an object`)})}return t=createReadableStream(r,pullAlgorithm,cancelAlgorithm,0),t}function readableStreamPipeTo(e,t,n,r,i,a){let o,s;try{o=new ReadableStreamDefaultReader(e),s=new WritableStreamDefaultWriter(t)}catch(e){return Promise.reject(e)}e[F].disturbed=!0;let c=!1,{promise:l,resolve:u,reject:d}=Promise.withResolvers(),f={currentWrite:Promise.resolve()},p;function finalize(e,t){writableStreamDefaultWriterRelease(s),readableStreamReaderGenericRelease(o),a!==void 0&&p&&(a.removeEventListener(`abort`,p),p=void 0),e?d(t):u()}async function waitForCurrentWrite(){let e=f.currentWrite;await e,e!==f.currentWrite&&await waitForCurrentWrite()}function shutdownWithAnAction(e,n,r){if(c)return;if(c=!0,t[F].state===`writable`&&!writableStreamCloseQueuedOrInFlight(t)){waitForCurrentWrite().then(complete,e=>finalize(!0,e));return}complete();function complete(){e().then(()=>finalize(!!n,r),e=>finalize(!0,e))}}function shutdown(e,n){if(!c){if(c=!0,t[F].state===`writable`&&!writableStreamCloseQueuedOrInFlight(t)){waitForCurrentWrite().then(()=>finalize(!!e,n),e=>finalize(!0,e));return}finalize(!!e,n)}}function abortAlgorithm(){let n;n=a.reason&&a.reason.name===`AbortError`?createAbortError():a.reason;let o=[];r||o.push(()=>t[F].state===`writable`?writableStreamAbort(t,n):Promise.resolve()),i||o.push(()=>e[F].state===`readable`?readableStreamCancel(e,n):Promise.resolve()),shutdownWithAnAction(()=>Promise.all(o.map(e=>e())).then(()=>void 0),!0,n)}function watchErrored(e,t,n){e[F].state===`errored`?n(e[F].storedError):t.then(void 0,n)}function watchClosed(e,t,n){e[F].state===`closed`?n():t.then(n,()=>{})}class PipeToReadRequest{[Gn](e){A(()=>{f.currentWrite=writableStreamDefaultWriterWrite(s,e),setPromiseHandled(f.currentWrite),m.resolve(!1)})}[Wn](){m.resolve(!0)}[Kn](e){m.reject(e)}}let m={resolve:null,reject:null};async function step(){if(c||t[F].backpressure&&(await s[F].ready.promise,c))return!0;let n=e[F].controller;if(e[F].state===`readable`&&$n(n)&&n[F].queue.length>0){for(;n[F].queue.length>0;){if(c)return!0;let r=dequeueValue(n);if(n[F].closeRequested&&!n[F].queue.length&&(readableStreamDefaultControllerClearAlgorithms(n),readableStreamClose(e)),f.currentWrite=writableStreamDefaultWriterWrite(s,r),setPromiseHandled(f.currentWrite),t[F].backpressure||t[F].state!==`writable`||writableStreamCloseQueuedOrInFlight(t))break}return readableStreamDefaultControllerCallPullIfNeeded(n),e[F].state===`closed`}let{promise:r,resolve:i,reject:a}=Promise.withResolvers();return m={resolve:i,reject:a},readableStreamDefaultReaderRead(o,new PipeToReadRequest),r}async function run(){for(;!await step(););}if(a!==void 0){if(a.aborted)return abortAlgorithm(),l;p=abortAlgorithm,a.addEventListener(`abort`,p,{once:!0})}if(setPromiseHandled(run()),watchErrored(e,o[F].close.promise,e=>{if(!r)return shutdownWithAnAction(()=>writableStreamAbort(t,e),!0,e);shutdown(!0,e)}),watchErrored(t,s[F].close.promise,t=>{if(!i)return shutdownWithAnAction(()=>readableStreamCancel(e,t),!0,t);shutdown(!0,t)}),watchClosed(e,o[F].close.promise,()=>{if(!n)return shutdownWithAnAction(()=>writableStreamDefaultWriterCloseWithErrorPropagation(s));shutdown()}),writableStreamCloseQueuedOrInFlight(t)||t[F].state===`closed`){let t=TypeError(`Destination WritableStream is closed`);i?shutdown(!0,t):shutdownWithAnAction(()=>readableStreamCancel(e,t),!0,t)}return l}function readableStreamDefaultTee(e,t){let n=new ReadableStreamDefaultReader(e),r=!1,i=!1,a=!1,o,s,c,l,u=Promise.withResolvers();async function pullAlgorithm(){r||(r=!0,readableStreamDefaultReaderRead(n,{[Gn](e){A(()=>{r=!1;let n=e,o=e;if(!a&&t)try{o=structuredClone(o)}catch{}i||readableStreamDefaultControllerEnqueue(c[F].controller,n),a||readableStreamDefaultControllerEnqueue(l[F].controller,o)})},[Wn](){A(()=>{r=!1,i||readableStreamDefaultControllerClose(c[F].controller),a||readableStreamDefaultControllerClose(l[F].controller),(!i||!a)&&u.resolve(void 0)})},[Kn](){r=!1}}))}function cancel1Algorithm(t){if(i=!0,o=t,a){let t=[o,s];u.resolve(readableStreamCancel(e,t))}return u.promise}function cancel2Algorithm(t){if(a=!0,s=t,i){let t=[o,s];u.resolve(readableStreamCancel(e,t))}return u.promise}return c=createReadableStream(nonOpStart,pullAlgorithm,cancel1Algorithm),l=createReadableStream(nonOpStart,pullAlgorithm,cancel2Algorithm),n[F].close.promise.then(void 0,e=>{readableStreamDefaultControllerError(c[F].controller,e),readableStreamDefaultControllerError(l[F].controller,e),(!i||!a)&&u.resolve(void 0)}),[c,l]}var BYOBReadIntoRequest=class{[F];constructor(){this[F]=Promise.withResolvers()}[Gn](e){this[F].resolve?.({value:e,done:!1})}[Wn](e){this[F].resolve?.({value:e,done:!0})}[Kn](e){this[F].reject?.(e)}get promise(){return this[F].promise}},ReadableStreamBYOBReader=class{[Nn]=`ReadableStreamBYOBReader`;[F];constructor(e){if(!Qn(e))throw TypeError(`Expected a ReadableStream`);this[F]={readRequests:[],readIntoRequests:[],stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0}},setupReadableStreamBYOBReader(this,e)}read(e,t={}){if(!nr(this))return Promise.reject(TypeError(`Invalid this`));if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))return Promise.reject(TypeError(`view must be an ArrayBufferView`));let n=e.buffer,r=e.byteLength;if(r===0)return Promise.reject(TypeError(`view must have non-zero byteLength`));if(n.byteLength===0)return isDetachedBuffer(n)?Promise.reject(TypeError(`view's buffer has been detached`)):Promise.reject(TypeError(`view's buffer must have non-zero byteLength`));let i=t?.min??1;if(typeof i!=`number`||i<1||!Number.isInteger(i)||Number.isNaN(i))return Promise.reject(TypeError(`options.min must be a positive integer`));let a=e[Symbol.toStringTag];if(a!==void 0&&a!==`DataView`){if(i>e.length)return Promise.reject(RangeError(`options.min must be smaller or equal to view size`))}else if(i>r)return Promise.reject(RangeError(`options.min must be smaller or equal to view size`));if(this[F].stream===void 0)return Promise.reject(TypeError(`Reader has no associated stream`));let o=new BYOBReadIntoRequest;return readableStreamBYOBReaderRead(this,e,i,o),o.promise}releaseLock(){if(!nr(this))throw TypeError(`Invalid this`);this[F].stream!==void 0&&readableStreamBYOBReaderRelease(this)}get closed(){return nr(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}cancel(e=void 0){return nr(this)?this[F].stream===void 0?Promise.reject(TypeError(`Reader has no associated stream`)):readableStreamReaderGenericCancel(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`ReadableStreamBYOBReader`}},ReadableStreamBYOBRequest=class{[Nn]=`ReadableStreamBYOBRequest`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get view(){if(!rr(this))throw TypeError(`Invalid this`);return this[F].view}respond(e){if(!rr(this))throw TypeError(`Invalid this`);if(this[F].controller===void 0)throw TypeError(`BYOB request has been invalidated`);if(e=+e,!Number.isInteger(e)||e<0||!Number.isFinite(e))throw RangeError(`bytesWritten must be a non-negative integer`);let t=this[F].view;if(isDetachedBuffer(t.buffer))throw TypeError(`The BYOB request's buffer has been detached`);readableByteStreamControllerRespond(this[F].controller,e)}respondWithNewView(e){if(!rr(this))throw TypeError(`Invalid this`);if(this[F].controller===void 0)throw TypeError(`BYOB request has been invalidated`);if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))throw TypeError(`view must be an ArrayBufferView`);if(isDetachedBuffer(e.buffer))throw TypeError(`The given view's buffer has been detached`);readableByteStreamControllerRespondWithNewView(this[F].controller,e)}get[Symbol.toStringTag](){return`ReadableStreamBYOBRequest`}},ReadableByteStreamController=class{[Nn]=`ReadableByteStreamController`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get byobRequest(){if(!tr(this))throw TypeError(`Invalid this`);return readableByteStreamControllerGetBYOBRequest(this)}get desiredSize(){if(!tr(this))throw TypeError(`Invalid this`);return readableByteStreamControllerGetDesiredSize(this)}close(){if(!tr(this))throw TypeError(`Invalid this`);if(this[F].closeRequested)throw TypeError(`Close already requested`);if(this[F].stream[F].state!==`readable`)throw TypeError(`Stream is not in a readable state`);readableByteStreamControllerClose(this)}enqueue(e){if(!tr(this))throw TypeError(`Invalid this`);if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))throw TypeError(`chunk must be an ArrayBufferView`);if(e.byteLength===0)throw TypeError(`chunk length must be non-zero`);if(e.buffer.byteLength===0)throw TypeError(`chunk's buffer length must be non-zero`);if(this[F].closeRequested)throw TypeError(`Cannot enqueue after close has been requested`);if(this[F].stream[F].state!==`readable`)throw TypeError(`Stream is not in a readable state`);readableByteStreamControllerEnqueue(this,e)}error(e=void 0){if(!tr(this))throw TypeError(`Invalid this`);readableByteStreamControllerError(this,e)}[Un](e){return readableByteStreamControllerCancelSteps(this,e)}[qn](e){readableByteStreamControllerPullSteps(this,e)}[Jn](){if(this[F].pendingPullIntos.length>0){let e=this[F].pendingPullIntos[0];e.readerType=`none`,this[F].pendingPullIntos=[e]}}get[Symbol.toStringTag](){return`ReadableByteStreamController`}};const tr=isBrandCheck(`ReadableByteStreamController`),nr=isBrandCheck(`ReadableStreamBYOBReader`),rr=isBrandCheck(`ReadableStreamBYOBRequest`);function readableStreamHasBYOBReader(e){let{reader:t}=e[F];return t===void 0?!1:t[F]!==void 0&&t[Nn]===`ReadableStreamBYOBReader`}function readableStreamGetNumReadIntoRequests(e){return e[F].reader[F].readIntoRequests.length}function readableStreamAddReadIntoRequest(e,t){e[F].reader[F].readIntoRequests.push(t)}function readableStreamFulfillReadIntoRequest(e,t,n){let{reader:r}=e[F],i=r[F].readIntoRequests.shift();n?i[Wn](t):i[Gn](t)}function setupReadableStreamBYOBReader(e,t){if(isReadableStreamLocked(t))throw TypeError(`ReadableStream is locked`);if(!tr(t[F].controller))throw TypeError(`Cannot use a BYOB reader with a non-byte stream`);readableStreamReaderGenericInitialize(e,t),e[F].readIntoRequests=[]}function readableStreamBYOBReaderRead(e,t,n,r){let{stream:i}=e[F];i[F].disturbed=!0,i[F].state===`errored`?r[Kn](i[F].storedError):readableByteStreamControllerPullInto(i[F].controller,t,n,r)}function readableStreamBYOBReaderRelease(e){readableStreamReaderGenericRelease(e);let t=TypeError(`Reader was released`);for(let n=0;n<e[F].readIntoRequests.length;n++)e[F].readIntoRequests[n][Kn](t);e[F].readIntoRequests=[]}function readableByteStreamControllerClearAlgorithms(e){e[F].pullAlgorithm=void 0,e[F].cancelAlgorithm=void 0}function readableByteStreamControllerClearPendingPullIntos(e){readableByteStreamControllerInvalidateBYOBRequest(e),e[F].pendingPullIntos=[]}function readableByteStreamControllerInvalidateBYOBRequest(e){let t=e[F].byobRequest;t!=null&&(t[F].controller=void 0,t[F].view=null,e[F].byobRequest=null)}function readableByteStreamControllerError(e,t){let{stream:n}=e[F];n[F].state===`readable`&&(readableByteStreamControllerClearPendingPullIntos(e),resetQueue(e),readableByteStreamControllerClearAlgorithms(e),readableStreamError(n,t))}function readableByteStreamControllerGetDesiredSize(e){let t=e[F].stream[F].state;return t===`errored`?null:t===`closed`?0:e[F].highWaterMark-e[F].queueTotalSize}function readableByteStreamControllerShouldCallPull(e){let{stream:t}=e[F];if(t[F].state!==`readable`||e[F].closeRequested||!e[F].started)return!1;if(readableStreamHasDefaultReader(t)&&readableStreamGetNumReadRequests(t)>0||readableStreamHasBYOBReader(t)&&readableStreamGetNumReadIntoRequests(t)>0)return!0;let n=readableByteStreamControllerGetDesiredSize(e);return n!==null&&n>0}function readableByteStreamControllerCallPullIfNeeded(e){if(readableByteStreamControllerShouldCallPull(e)){if(e[F].pulling){e[F].pullAgain=!0;return}e[F].pulling=!0,e[F].pullAlgorithm(e).then(()=>{e[F].pulling=!1,e[F].pullAgain&&(e[F].pullAgain=!1,readableByteStreamControllerCallPullIfNeeded(e))},t=>readableByteStreamControllerError(e,t))}}function readableByteStreamControllerHandleQueueDrain(e){e[F].queueTotalSize===0&&e[F].closeRequested?(readableByteStreamControllerClearAlgorithms(e),readableStreamClose(e[F].stream)):readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerEnqueueChunkToQueue(e,t,n,r){e[F].queue.push({buffer:t,byteOffset:n,byteLength:r}),e[F].queueTotalSize+=r}function readableByteStreamControllerEnqueueClonedChunkToQueue(e,t,n,r){let i;try{i=t.slice(n,n+r)}catch(t){readableByteStreamControllerError(e,t);return}readableByteStreamControllerEnqueueChunkToQueue(e,i,0,r)}function readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,t){t.bytesFilled>0&&readableByteStreamControllerEnqueueClonedChunkToQueue(e,t.buffer,t.byteOffset,t.bytesFilled),readableByteStreamControllerShiftPendingPullInto(e)}function readableByteStreamControllerShiftPendingPullInto(e){return e[F].pendingPullIntos.shift()}function readableByteStreamControllerFillHeadPullIntoDescriptor(e,t,n){n.bytesFilled+=t}function readableByteStreamControllerConvertPullIntoDescriptor(e){let t=e.bytesFilled,n=e.elementSize,r=transferArrayBuffer(e.buffer);return e.buffer=r,new e.viewConstructor(r,e.byteOffset,t/n)}function readableByteStreamControllerCommitPullIntoDescriptor(e,t){let n=!1;e[F].state===`closed`&&(n=!0);let r=readableByteStreamControllerConvertPullIntoDescriptor(t);t.readerType==="default"?readableStreamFulfillReadRequest(e,r,n):readableStreamFulfillReadIntoRequest(e,r,n)}function readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,t){let n=Math.min(e[F].queueTotalSize,t.byteLength-t.bytesFilled),r=t.bytesFilled+n,i=n,a=!1,o=r-r%t.elementSize;o>=t.minimumFill&&(i=o-t.bytesFilled,a=!0);let s=e[F].queue;for(;i>0;){let n=s[0],r=Math.min(i,n.byteLength),a=t.byteOffset+t.bytesFilled,o=new Uint8Array(t.buffer,a,r),c=new Uint8Array(n.buffer,n.byteOffset,r);o.set(c),n.byteLength===r?s.shift():(n.byteOffset+=r,n.byteLength-=r),e[F].queueTotalSize-=r,readableByteStreamControllerFillHeadPullIntoDescriptor(e,r,t),i-=r}return a}function readableByteStreamControllerFillReadRequestFromQueue(e,t){let n=e[F].queue.shift();e[F].queueTotalSize-=n.byteLength,readableByteStreamControllerHandleQueueDrain(e);let r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t[Gn](r)}function readableByteStreamControllerProcessReadRequestsUsingQueue(e){let t=e[F].stream[F].reader;for(;t[F].readRequests.length!==0;){if(e[F].queueTotalSize===0)return;readableByteStreamControllerFillReadRequestFromQueue(e,t[F].readRequests.shift())}}function readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e){for(;e[F].pendingPullIntos.length!==0;){if(e[F].queueTotalSize===0)return;let t=e[F].pendingPullIntos[0];readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,t)&&(readableByteStreamControllerShiftPendingPullInto(e),readableByteStreamControllerCommitPullIntoDescriptor(e[F].stream,t))}}function readableByteStreamControllerGetBYOBRequest(e){if(e[F].byobRequest===null&&e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0],n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=new ReadableStreamBYOBRequest(Yn);r[F]={controller:e,view:n},e[F].byobRequest=r}return e[F].byobRequest}function readableByteStreamControllerEnqueue(e,t){let{stream:n}=e[F];if(e[F].closeRequested||n[F].state!==`readable`)return;let r=t.buffer,i=t.byteLength,a=t.byteOffset;if(isDetachedBuffer(r))throw TypeError(`chunk's buffer is detached`);let o=transferArrayBuffer(r);if(e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0];if(isDetachedBuffer(t.buffer))throw TypeError(`BYOB request's buffer has been detached`);readableByteStreamControllerInvalidateBYOBRequest(e),t.buffer=transferArrayBuffer(t.buffer),t.readerType===`none`&&readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,t)}readableStreamHasDefaultReader(n)?(readableByteStreamControllerProcessReadRequestsUsingQueue(e),readableStreamGetNumReadRequests(n)===0?readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i):(e[F].pendingPullIntos.length!==0&&readableByteStreamControllerShiftPendingPullInto(e),readableStreamFulfillReadRequest(n,new Uint8Array(o,a,i),!1))):readableStreamHasBYOBReader(n)?(readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e)):readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerClose(e){let{stream:t}=e[F];if(!(e[F].closeRequested||t[F].state!==`readable`)){if(e[F].queueTotalSize>0){e[F].closeRequested=!0;return}if(e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0];if(t.bytesFilled%t.elementSize!==0){let t=TypeError(`Insufficient bytes to fill elements in the given buffer`);throw readableByteStreamControllerError(e,t),t}}readableByteStreamControllerClearAlgorithms(e),readableStreamClose(t)}}function readableByteStreamControllerPullInto(e,t,n,r){let i=e[F].stream,a=t[Symbol.toStringTag],o,s;if(a===void 0||a===`DataView`)o=DataView,s=1;else{let e=typedArrayConstructorByTag(a);if(!e){r[Kn](TypeError(`Unsupported typed array: ${a}`));return}o=e,s=elementSizeByTag(a)}let c=t.buffer,l=t.byteLength,u=t.byteOffset,d=n*s,f;try{f=transferArrayBuffer(c)}catch(e){r[Kn](e);return}let p={buffer:f,bufferByteLength:f.byteLength,byteOffset:u,byteLength:l,bytesFilled:0,minimumFill:d,elementSize:s,viewConstructor:o,readerType:`byob`};if(e[F].pendingPullIntos.length!==0){e[F].pendingPullIntos.push(p),readableStreamAddReadIntoRequest(i,r);return}if(i[F].state===`closed`){let e=new o(p.buffer,p.byteOffset,0);r[Wn](e);return}if(e[F].queueTotalSize>0){if(readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,p)){let t=readableByteStreamControllerConvertPullIntoDescriptor(p);readableByteStreamControllerHandleQueueDrain(e),r[Gn](t);return}if(e[F].closeRequested){let t=TypeError(`Insufficient bytes to fill elements in the given buffer`);readableByteStreamControllerError(e,t),r[Kn](t);return}}e[F].pendingPullIntos.push(p),readableStreamAddReadIntoRequest(i,r),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerRespond(e,t){let n=e[F].pendingPullIntos[0];if(e[F].stream[F].state===`closed`){if(t!==0)throw TypeError(`bytesWritten must be 0 when calling respond() on a closed stream`)}else{if(t===0)throw TypeError(`bytesWritten must be greater than 0 when calling respond() on a readable stream`);if(n.bytesFilled+t>n.byteLength)throw RangeError(`bytesWritten out of range`)}n.buffer=transferArrayBuffer(n.buffer),readableByteStreamControllerRespondInternal(e,t)}function readableByteStreamControllerRespondWithNewView(e,t){let n=e[F].pendingPullIntos[0],r=e[F].stream[F].state,i=t.byteLength,a=t.byteOffset,o=t.buffer;if(r===`closed`){if(i!==0)throw TypeError(`view's length must be 0 when calling respondWithNewView() on a closed stream`)}else if(i===0)throw TypeError(`view's length must be greater than 0 when calling respondWithNewView() on a readable stream`);if(n.byteOffset+n.bytesFilled!==a)throw RangeError(`The region specified by view does not match byobRequest`);if(n.bufferByteLength!==o.byteLength)throw RangeError(`The buffer of view has different capacity than byobRequest`);if(n.bytesFilled+i>n.byteLength)throw RangeError(`The region specified by view is larger than byobRequest`);n.buffer=transferArrayBuffer(o),readableByteStreamControllerRespondInternal(e,i)}function readableByteStreamControllerRespondInternal(e,t){let n=e[F].pendingPullIntos[0];readableByteStreamControllerInvalidateBYOBRequest(e),e[F].stream[F].state===`closed`?readableByteStreamControllerRespondInClosedState(e,n):readableByteStreamControllerRespondInReadableState(e,t,n),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerRespondInClosedState(e,t){t.readerType===`none`&&readableByteStreamControllerShiftPendingPullInto(e);let n=e[F].stream;if(readableStreamHasBYOBReader(n))for(;readableStreamGetNumReadIntoRequests(n)>0;)readableByteStreamControllerCommitPullIntoDescriptor(n,readableByteStreamControllerShiftPendingPullInto(e))}function readableByteStreamControllerRespondInReadableState(e,t,n){if(readableByteStreamControllerFillHeadPullIntoDescriptor(e,t,n),n.readerType===`none`){readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,n),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e);return}if(n.bytesFilled<n.minimumFill)return;readableByteStreamControllerShiftPendingPullInto(e);let r=n.bytesFilled%n.elementSize;if(r>0){let t=n.byteOffset+n.bytesFilled;readableByteStreamControllerEnqueueClonedChunkToQueue(e,n.buffer,t-r,r)}n.bytesFilled-=r,readableByteStreamControllerCommitPullIntoDescriptor(e[F].stream,n),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e)}function readableByteStreamControllerCancelSteps(e,t){readableByteStreamControllerClearPendingPullIntos(e),resetQueue(e);let n=e[F].cancelAlgorithm?.(t)??Promise.resolve();return readableByteStreamControllerClearAlgorithms(e),n}function readableByteStreamControllerPullSteps(e,t){let n=e[F].stream;if(e[F].queueTotalSize>0){readableByteStreamControllerFillReadRequestFromQueue(e,t);return}let r=e[F].autoAllocateChunkSize;if(r!==void 0){let n;try{n=new ArrayBuffer(r)}catch(e){t[Kn](e);return}let i={buffer:n,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:`default`};e[F].pendingPullIntos.push(i)}readableStreamAddReadRequest(n,t),readableByteStreamControllerCallPullIfNeeded(e)}function setupReadableByteStreamController(e,t,n,r,i,a,o){t[F]={cancelAlgorithm:i,closeRequested:!1,highWaterMark:a,pullAgain:!1,pullAlgorithm:r,pulling:!1,queue:[],queueTotalSize:0,started:!1,stream:e,byobRequest:null,pendingPullIntos:[],autoAllocateChunkSize:o},e[F].controller=t;let s=n();new Promise(e=>e(s)).then(()=>{t[F].started=!0,readableByteStreamControllerCallPullIfNeeded(t)},e=>readableByteStreamControllerError(t,e))}function setupReadableByteStreamControllerFromSource(e,t,n){let r=new ReadableByteStreamController(Yn),i=t?.start,a=t?.pull,o=t?.cancel,s=t?.autoAllocateChunkSize;if(s!==void 0&&(s===0||!Number.isInteger(s)||s<0))throw TypeError(`autoAllocateChunkSize must be a positive integer`);setupReadableByteStreamController(e,r,i?i.bind(t,r):nonOpStart,a?createPromiseCallback(`source.pull`,a,t):nonOpPull,o?createPromiseCallback(`source.cancel`,o,t):nonOpCancel,n,s)}function readableByteStreamTee(e){let t=new ReadableStreamDefaultReader(e),n=!1,r=!1,i=!1,a,o,s=Promise.withResolvers(),c,l,u,d;function pullAlgorithm(){return n?Promise.resolve():(n=!0,t.read().then(e=>{if(n=!1,e.done){r||u.close(),i||d.close();return}let t=e.value,a=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));r||u.enqueue(a),i||d.enqueue(new Uint8Array(a))},()=>{}),Promise.resolve())}return c=new ReadableStream$1({type:`bytes`,pull:pullAlgorithm,cancel(t){if(r=!0,a=t,i){let t=readableStreamCancel(e,[a,o]);return s.resolve(),t}return s.promise}}),l=new ReadableStream$1({type:`bytes`,pull:pullAlgorithm,cancel(t){if(i=!0,o=t,r){let t=readableStreamCancel(e,[a,o]);return s.resolve(),t}return s.promise}}),u=c[F].controller,d=l[F].controller,t.closed.catch(e=>{u.error(e),d.error(e),(!r||!i)&&s.resolve()}),[c,l]}const ir=Symbol(`kSkipThrow`);var TransformStream=class{[Nn]=`TransformStream`;[F];constructor(e={},t={},n={}){if(e!=null&&typeof e!=`object`)throw TypeError(`transformer must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`writableStrategy must be an object`);if(n!=null&&typeof n!=`object`)throw TypeError(`readableStrategy must be an object`);let r=e?.readableType,i=e?.writableType,a=e?.start;if(r!==void 0)throw RangeError(`Invalid readableType: ${r}`);if(i!==void 0)throw RangeError(`Invalid writableType: ${i}`);let o=extractHighWaterMark(n?.highWaterMark,0),s=extractSizeAlgorithm(n?.size),c=extractHighWaterMark(t?.highWaterMark,1),l=extractSizeAlgorithm(t?.size),u=Promise.withResolvers();initializeTransformStream(this,u,c,l,o,s),setupTransformStreamDefaultControllerFromTransformer(this,e),a===void 0?u.resolve():u.resolve(a.call(e,this[F].controller))}get readable(){if(!ar(this))throw TypeError(`Invalid this`);return this[F].readable}get writable(){if(!ar(this))throw TypeError(`Invalid this`);return this[F].writable}get[Symbol.toStringTag](){return`TransformStream`}},TransformStreamDefaultController=class{[Nn]=`TransformStreamDefaultController`;[F];constructor(e){if(e!==ir)throw TypeError(`Illegal constructor`)}get desiredSize(){if(!or(this))throw TypeError(`Invalid this`);let{stream:e}=this[F],{readable:t}=e[F],n=t[F].controller;return readableStreamDefaultControllerGetDesiredSize(n)}enqueue(e){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerEnqueue(this,e)}error(e){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerError(this,e)}terminate(){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerTerminate(this)}get[Symbol.toStringTag](){return`TransformStreamDefaultController`}};const ar=isBrandCheck(`TransformStream`),or=isBrandCheck(`TransformStreamDefaultController`);async function defaultTransformAlgorithm(e,t){transformStreamDefaultControllerEnqueue(t,e)}function initializeTransformStream(e,t,n,r,i,a){let startAlgorithm=()=>t.promise,o=createWritableStream(startAlgorithm,t=>transformStreamDefaultSinkWriteAlgorithm(e,t),()=>transformStreamDefaultSinkCloseAlgorithm(e),t=>transformStreamDefaultSinkAbortAlgorithm(e,t),n,r);e[F]={readable:createReadableStream(startAlgorithm,()=>transformStreamDefaultSourcePullAlgorithm(e),t=>transformStreamDefaultSourceCancelAlgorithm(e,t),i,a),writable:o,controller:void 0,backpressure:void 0,backpressureChange:{promise:void 0,resolve:void 0,reject:void 0}},transformStreamSetBackpressure(e,!0)}function transformStreamError(e,t){let{readable:n}=e[F];readableStreamDefaultControllerError(n[F].controller,t),transformStreamErrorWritableAndUnblockWrite(e,t)}function transformStreamErrorWritableAndUnblockWrite(e,t){let{controller:n,writable:r}=e[F];transformStreamDefaultControllerClearAlgorithms(n),writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e)}function transformStreamUnblockWrite(e){e[F].backpressure&&transformStreamSetBackpressure(e,!1)}function transformStreamSetBackpressure(e,t){e[F].backpressureChange.promise!==void 0&&e[F].backpressureChange.resolve?.(),e[F].backpressureChange=Promise.withResolvers(),e[F].backpressure=t}function setupTransformStreamDefaultController(e,t,n,r,i){t[F]={stream:e,transformAlgorithm:n,flushAlgorithm:r,cancelAlgorithm:i,finishPromise:void 0},e[F].controller=t}function setupTransformStreamDefaultControllerFromTransformer(e,t){let n=new TransformStreamDefaultController(ir),r=t?.transform,i=t?.flush,a=t?.cancel;setupTransformStreamDefaultController(e,n,r?createPromiseCallback(`transformer.transform`,r,t):defaultTransformAlgorithm,i?createPromiseCallback(`transformer.flush`,i,t):nonOpFlush,a?createPromiseCallback(`transformer.cancel`,a,t):nonOpCancel)}function transformStreamDefaultControllerClearAlgorithms(e){e[F].transformAlgorithm=void 0,e[F].flushAlgorithm=void 0,e[F].cancelAlgorithm=void 0}function transformStreamDefaultControllerEnqueue(e,t){let{stream:n}=e[F],{readable:r}=n[F],i=r[F].controller;if(!readableStreamDefaultControllerCanCloseOrEnqueue(i))throw TypeError(`Unable to enqueue`);try{readableStreamDefaultControllerEnqueue(i,t)}catch(e){throw transformStreamErrorWritableAndUnblockWrite(n,e),r[F].storedError}readableStreamDefaultControllerHasBackpressure(i)!==n[F].backpressure&&transformStreamSetBackpressure(n,!0)}function transformStreamDefaultControllerError(e,t){transformStreamError(e[F].stream,t)}async function transformStreamDefaultControllerPerformTransform(e,t){try{let n=e[F].transformAlgorithm;if(n===void 0)return;await n(t,e)}catch(t){throw transformStreamError(e[F].stream,t),t}}function transformStreamDefaultControllerTerminate(e){let{stream:t}=e[F],{readable:n}=t[F];readableStreamDefaultControllerClose(n[F].controller),transformStreamErrorWritableAndUnblockWrite(t,TypeError(`TransformStream has been terminated`))}function transformStreamDefaultSinkWriteAlgorithm(e,t){let{controller:n}=e[F];return e[F].backpressure?e[F].backpressureChange.promise.then(()=>{let{writable:r}=e[F];if(r[F].state===`erroring`)throw r[F].storedError;return transformStreamDefaultControllerPerformTransform(n,t)}):transformStreamDefaultControllerPerformTransform(n,t)}async function transformStreamDefaultSinkAbortAlgorithm(e,t){let{controller:n,readable:r}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:i,resolve:a,reject:o}=Promise.withResolvers();n[F].finishPromise=i;let s=n[F].cancelAlgorithm(t);return transformStreamDefaultControllerClearAlgorithms(n),s.then(()=>{r[F].state===`errored`?o(r[F].storedError):(readableStreamDefaultControllerError(r[F].controller,t),a())},e=>{readableStreamDefaultControllerError(r[F].controller,e),o(e)}),n[F].finishPromise}function transformStreamDefaultSinkCloseAlgorithm(e){let{readable:t,controller:n}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:r,resolve:i,reject:a}=Promise.withResolvers();n[F].finishPromise=r;let o=n[F].flushAlgorithm(n);return transformStreamDefaultControllerClearAlgorithms(n),o.then(()=>{t[F].state===`errored`?a(t[F].storedError):(readableStreamDefaultControllerClose(t[F].controller),i())},e=>{readableStreamDefaultControllerError(t[F].controller,e),a(e)}),n[F].finishPromise}function transformStreamDefaultSourcePullAlgorithm(e){return transformStreamSetBackpressure(e,!1),e[F].backpressureChange.promise}function transformStreamDefaultSourceCancelAlgorithm(e,t){let{controller:n,writable:r}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:i,resolve:a,reject:o}=Promise.withResolvers();n[F].finishPromise=i;let s=n[F].cancelAlgorithm(t);return transformStreamDefaultControllerClearAlgorithms(n),s.then(()=>{r[F].state===`errored`?o(r[F].storedError):(writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e),a())},t=>{writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e),o(t)}),n[F].finishPromise}const sr=Object.defineProperty(e=>e.byteLength,"name",{value:`size`}),cr=Object.defineProperty(()=>1,"name",{value:`size`});var ByteLengthQueuingStrategy=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`init must be an object`);if(e.highWaterMark===void 0)throw TypeError(`init.highWaterMark is required`);this.#e=+e.highWaterMark}get highWaterMark(){return this.#e}get size(){return sr}get[Symbol.toStringTag](){return`ByteLengthQueuingStrategy`}},CountQueuingStrategy=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`init must be an object`);if(e.highWaterMark===void 0)throw TypeError(`init.highWaterMark is required`);this.#e=+e.highWaterMark}get highWaterMark(){return this.#e}get size(){return cr}get[Symbol.toStringTag](){return`CountQueuingStrategy`}},TextEncoderStream=class{#e=null;#t=new TextEncoder;#n;constructor(){this.#n=new TransformStream({transform:(e,t)=>{if(e=String(e),e===``)return;this.#e!==null&&(e=this.#e+e);let n=e.charCodeAt(e.length-1);55296<=n&&n<=56319?(this.#e=e.slice(-1),e=e.slice(0,-1)):this.#e=null,e&&t.enqueue(this.#t.encode(e))},flush:e=>{this.#e!==null&&e.enqueue(new Uint8Array([239,191,189]))}})}get encoding(){return`utf-8`}get readable(){return this.#n.readable}get writable(){return this.#n.writable}};function hasStreamingSupport(){try{return new TextDecoder().decode(new Uint8Array([195]),{stream:!0}),!0}catch{return!1}}const lr=hasStreamingSupport();function incompleteUtf8Tail(e){let t=e.length;if(t===0)return 0;for(let n=1;n<=Math.min(3,t);n++){let r=e[t-n];if(!(r&128))return 0;if((r&192)!=128){let e;if((r&224)==192)e=2;else if((r&240)==224)e=3;else if((r&248)==240)e=4;else return 0;return n<e?n:0}}return 0}var TextDecoderStream=class{#e;#t;constructor(e,t){if(this.#e=new TextDecoder(e,t),lr)this.#t=new TransformStream({transform:(e,t)=>{let n=toUint8Array(e),r=this.#e.decode(n,{stream:!0});r&&t.enqueue(r)},flush:e=>{let t=this.#e.decode();t&&e.enqueue(t)},cancel:()=>{this.#e.decode()}});else{let e=new Uint8Array;this.#t=new TransformStream({transform:(t,n)=>{let r=toUint8Array(t),i;e.length>0?(i=new Uint8Array(e.length+r.length),i.set(e,0),i.set(r,e.length)):i=r;let a=incompleteUtf8Tail(i),o;if(a>0?(o=i.slice(0,i.length-a),e=i.slice(i.length-a)):(o=i,e=new Uint8Array),o.length>0){let e=this.#e.decode(o);e&&n.enqueue(e)}},flush:t=>{if(e.length>0){let n=this.#e.decode(e);n&&t.enqueue(n),e=new Uint8Array}},cancel:()=>{e=new Uint8Array}})}}get encoding(){return this.#e.encoding}get fatal(){return this.#e.fatal}get ignoreBOM(){return this.#e.ignoreBOM}get readable(){return this.#t.readable}get writable(){return this.#t.writable}};function toUint8Array(e){if(e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw TypeError(`chunk must be a BufferSource`)}function isNativeStreamUsable$3(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}__name(isNativeStreamUsable$3,`isNativeStreamUsable`);const ur=isNativeStreamUsable$3(globalThis.ReadableStream,`getReader`)?globalThis.ReadableStream:ReadableStream$1,dr=isNativeStreamUsable$3(globalThis.WritableStream,`getWriter`)?globalThis.WritableStream:WritableStream,fr=isNativeStreamUsable$3(globalThis.TransformStream,`readable`)?globalThis.TransformStream:TransformStream,pr=typeof globalThis.ByteLengthQueuingStrategy==`function`?globalThis.ByteLengthQueuingStrategy:ByteLengthQueuingStrategy,mr=typeof globalThis.CountQueuingStrategy==`function`?globalThis.CountQueuingStrategy:CountQueuingStrategy,hr=typeof globalThis.TextEncoderStream==`function`?globalThis.TextEncoderStream:TextEncoderStream,gr=typeof globalThis.TextDecoderStream==`function`?globalThis.TextDecoderStream:TextDecoderStream,_r=globalThis;globalThis.ByteLengthQueuingStrategy===void 0&&(_r.ByteLengthQueuingStrategy=pr),globalThis.CountQueuingStrategy===void 0&&(_r.CountQueuingStrategy=mr);const vr=globalThis;function isNativeStreamUsable$2(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}__name(isNativeStreamUsable$2,`isNativeStreamUsable`),isNativeStreamUsable$2(globalThis.ReadableStream,`getReader`)||(vr.ReadableStream=ur),vr.ReadableStreamBYOBReader===void 0&&(vr.ReadableStreamBYOBReader=ReadableStreamBYOBReader),vr.ReadableStreamBYOBRequest===void 0&&(vr.ReadableStreamBYOBRequest=ReadableStreamBYOBRequest),vr.ReadableByteStreamController===void 0&&(vr.ReadableByteStreamController=ReadableByteStreamController),vr.ReadableStreamDefaultController===void 0&&(vr.ReadableStreamDefaultController=ReadableStreamDefaultController),vr.ReadableStreamDefaultReader===void 0&&(vr.ReadableStreamDefaultReader=ReadableStreamDefaultReader);const yr=globalThis;globalThis.TextEncoderStream===void 0&&(yr.TextEncoderStream=hr),globalThis.TextDecoderStream===void 0&&(yr.TextDecoderStream=gr);function isNativeStreamUsable$1(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(__name(isNativeStreamUsable$1,`isNativeStreamUsable`),!isNativeStreamUsable$1(globalThis.TransformStream,`readable`)){let e=globalThis;e.TransformStream=fr}function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(!isNativeStreamUsable(globalThis.WritableStream,`getWriter`)){let e=globalThis;e.WritableStream=dr}function variantKindFor(e,t){switch(e){case`s`:case`b`:case`i`:case`u`:case`d`:return e}if(typeof t==`string`)return`s`;if(typeof t==`boolean`)return`b`;if(typeof t==`number`)return Number.isInteger(t)?`i`:`d`;throw Error(`Cannot build a GLib.Variant from ${typeof t}`)}function buildVariant(e,t){switch(variantKindFor(e?.dup_string()??null,t)){case`s`:return gt.Variant.new_string(String(t));case`b`:return gt.Variant.new_boolean(!!t);case`i`:return gt.Variant.new_int32(Number(t));case`u`:return gt.Variant.new_uint32(Number(t));case`d`:return gt.Variant.new_double(Number(t))}}function describeActions(e){return e?e.list_actions().sort((e,t)=>e.localeCompare(t)).map(t=>({name:t,enabled:e.get_action_enabled(t),parameterType:e.get_action_parameter_type(t)?.dup_string()??null,stateType:e.get_action_state_type(t)?.dup_string()??null})):[]}function activateAction(e,t,n){let r=e.get_action_parameter_type(t),i=n==null?null:buildVariant(r,n);e.activate_action(t,i)}function changeActionState(e,t,n){e.change_action_state(t,buildVariant(e.get_action_state_type(t),n))}var br=a,xr=p;const Sr=new Map;function swapCss(e,t){let n=br.Display.get_default();if(!n)return!1;let r=Sr.get(e);return r||(r=new xr.CssProvider,xr.StyleContext.add_provider_for_display(n,r,xr.STYLE_PROVIDER_PRIORITY_USER+1),Sr.set(e,r)),r.load_from_string(t),!0}function dumpCss(){return{providers:[...Sr.keys()]}}const Cr=`org.gjsify.Devtools`;function formatDbusErrorMessage(e,t){return`${e}: ${t}`}const wr={GetStatus:`read-only`,Screenshot:`read-only`,ListActions:`read-only`,ActivateAction:`mutating`,ChangeActionState:`mutating`,PresentWindow:`read-only`,ResizeWindow:`mutating`,ListToplevels:`read-only`,DumpTree:`read-only`,GetProperty:`read-only`,SetProperty:`mutating`,GetFocused:`read-only`,ActivateWidget:`mutating`,EmitSignal:`mutating`,DumpGSettings:`read-only`,DumpCss:`read-only`,SwapCss:`mutating`};function buildDevtoolsIfaceXml(e=[]){return`<node>
|
|
15
|
+
`+r+t:r&&(t=r+t)}else r&&(t=r+t);return t}};function installShaderLifecycleMethods(e){Object.assign(e,pn)}const mn={createProgram(){let e=this._gl.createProgram();if(e<=0)return null;let t=new WebGLProgram$1(e,this);return this._programs[e]=t,t},deleteProgram(e){this._deleteLinkable(`deleteProgram`,e,WebGLProgram$1)},useProgram(e){if(!checkObject(e))throw TypeError(`useProgram(WebGLProgram)`);if(e)this._checkWrapper(e,WebGLProgram$1)&&(this._activeProgram!==e&&(this._switchActiveProgram(this._activeProgram),this._activeProgram=e,e._refCount+=1),this._gl.useProgram(e._|0));else{this._switchActiveProgram(this._activeProgram),this._activeProgram=null,this._gl.useProgram(0);return}},linkProgram(e){if(!checkObject(e))throw TypeError(`linkProgram(WebGLProgram)`);if(this._checkWrapper(e,WebGLProgram$1)){e._linkCount+=1,e._attributes=[];let t=this.getError();for(let t of e._references)t instanceof WebGLShader$1&&t._needsRecompile&&(this._gl.compileShader(t._|0),t._needsRecompile=!1);this._gl.linkProgram(e._|0);let n=this.getError();n===this.NO_ERROR&&(e._linkStatus=this._fixupLink(e)),this.getError(),this.setError(t||n)}},validateProgram(e){if(this._checkWrapper(e,WebGLProgram$1)){this._gl.validateProgram(e._|0);let t=this.getError();t===this.NO_ERROR&&(e._linkInfoLog=this._gl.getProgramInfoLog(e._|0)),this.getError(),this.setError(t)}},attachShader(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`attachShader(WebGLProgram, WebGLShader)`);if(!e||!t){this.setError(this.INVALID_VALUE);return}else if(e instanceof WebGLProgram$1&&t instanceof WebGLShader$1&&this._checkOwns(e)&&this._checkOwns(t)&&!e._linked(t)){this._saveError(),this._gl.attachShader(e._|0,t._|0);let n=this.getError();this._restoreError(n),n===this.NO_ERROR&&e._link(t);return}this.setError(this.INVALID_OPERATION)},detachShader(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`detachShader(WebGLProgram, WebGLShader)`);this._checkWrapper(e,WebGLProgram$1)&&this._checkWrapper(t,WebGLShader$1)&&(e._linked(t)?(this._gl.detachShader(e._,t._),e._unlink(t)):this.setError(this.INVALID_OPERATION))},bindAttribLocation(e,t,n){if(!checkObject(e)||typeof n!=`string`)throw TypeError(`bindAttribLocation(WebGLProgram, GLint, String)`);n+=``,!isValidString(n)||n.length>256?this.setError(this.INVALID_VALUE):/^_?webgl_a/.test(n)?this.setError(this.INVALID_OPERATION):this._checkWrapper(e,WebGLProgram$1)&&this._gl.bindAttribLocation(e._|0,t|0,n)},getAttachedShaders(e){if(!checkObject(e)||typeof e==`object`&&e&&!(e instanceof WebGLProgram$1))throw TypeError(`getAttachedShaders(WebGLProgram)`);if(!e)this.setError(this.INVALID_VALUE);else if(this._checkWrapper(e,WebGLProgram$1))return e._references.filter(e=>e instanceof WebGLShader$1);return null},getProgramInfoLog(e){if(!checkObject(e))throw TypeError(`getProgramInfoLog(WebGLProgram)`);return this._checkWrapper(e,WebGLProgram$1)?e._linkInfoLog:null},getProgramParameter(e,t=0){if(!checkObject(e))throw TypeError(`getProgramParameter(WebGLProgram, GLenum)`);if(this._checkWrapper(e,WebGLProgram$1)){switch(t){case this.DELETE_STATUS:return e._pendingDelete;case this.LINK_STATUS:return e._linkStatus;case this.VALIDATE_STATUS:return!!this._gl.getProgramParameter(e._,t);case this.ATTACHED_SHADERS:return this._gl.getProgramParameter(e._,t);case this.ACTIVE_ATTRIBUTES:return e._linkStatus?e._attributes.length:this._gl.getProgramParameter(e._,t);case this.ACTIVE_UNIFORMS:return e._linkStatus?e._uniforms.length:this._gl.getProgramParameter(e._,t)}this.setError(this.INVALID_ENUM)}return null},_switchActiveProgram(e){e&&(--e._refCount,e._checkDelete())},_fixupLink(e){if(!this._gl.getProgramParameter(e._,this.LINK_STATUS))return e._linkInfoLog=this._gl.getProgramInfoLog(e._),!1;let t=this.getProgramParameter(e,this.ACTIVE_ATTRIBUTES),n=Array.from({length:t});e._attributes.length=t;for(let r=0;r<t;++r)n[r]=this.getActiveAttrib(e,r)?.name,e._attributes[r]=this.getAttribLocation(e,n[r])|0;for(let t=0;t<n.length;++t)if(n[t].length>256)return e._linkInfoLog=`attribute `+n[t]+` is too long`,!1;for(let r=0;r<t;++r)e._attributes[r]<0||this._gl.bindAttribLocation(e._|0,e._attributes[r],n[r]);if(this._gl.linkProgram(e._|0),!this._gl.getProgramParameter(e._|0,this.LINK_STATUS))return e._linkInfoLog=this._gl.getProgramInfoLog(e._),!1;let r=this.getProgramParameter(e,this.ACTIVE_UNIFORMS);e._uniforms.length=r;for(let t=0;t<r;++t){let n=this.getActiveUniform(e,t);n&&(e._uniforms[t]=n)}for(let t=0;t<e._uniforms.length;++t)if(e._uniforms[t].name.length>256)return e._linkInfoLog=`uniform `+e._uniforms[t].name+` is too long`,!1;return e._linkInfoLog=``,!0},_deleteLinkable(e,t,n){if(!checkObject(t))throw TypeError(e+`(`+n.name+`)`);if(t instanceof n&&this._checkOwns(t)){t._pendingDelete=!0,t._checkDelete();return}this.setError(this.INVALID_OPERATION)}};function installProgramLifecycleMethods(e){Object.assign(e,mn)}var WebGLActiveInfo=class{constructor(e){this.size=e.size,this.type=e.type,this.name=e.name}};const hn={getActiveAttrib(e,t){if(!checkObject(e))throw TypeError(`getActiveAttrib(WebGLProgram)`);if(!e)throw TypeError(`getActiveAttrib(WebGLProgram, GLuint)`);if(this._checkWrapper(e,WebGLProgram$1)){if(t>=(e._linkStatus?e._attributes.length:this._gl.getProgramParameter(e._|0,this.ACTIVE_ATTRIBUTES)))return this._gl.getError(),this.setError(this.INVALID_VALUE),null;let n=this._gl.getActiveAttrib(e._|0,t|0);if(n)return new WebGLActiveInfo(n)}return null},getActiveUniform(e,t){if(!checkObject(e))throw TypeError(`getActiveUniform(WebGLProgram, GLint)`);if(!e)throw TypeError(`getActiveUniform(WebGLProgram, GLuint)`);if(this._checkWrapper(e,WebGLProgram$1)){if(t>=(e._linkStatus?e._uniforms.length:this._gl.getProgramParameter(e._|0,this.ACTIVE_UNIFORMS)))return this.setError(this.INVALID_VALUE),null;let n=this._gl.getActiveUniform(e._|0,t|0);if(n)return new WebGLActiveInfo(n)}return null},getAttribLocation(e,t){if(!checkObject(e))throw TypeError(`getAttribLocation(WebGLProgram, String)`);if(t+=``,!isValidString(t)||t.length>256)this.setError(this.INVALID_VALUE);else if(this._checkWrapper(e,WebGLProgram$1))return this._gl.getAttribLocation(e._|0,t+``);return-1},getUniform(e,t){if(!checkObject(e)||!checkObject(t))throw TypeError(`getUniform(WebGLProgram, WebGLUniformLocation)`);if(!e)return this.setError(this.INVALID_VALUE),null;if(!t)return null;if(this._checkWrapper(e,WebGLProgram$1)){if(!checkUniform(e,t))return this.setError(this.INVALID_OPERATION),null;let n=this._gl.getUniform(e._|0,t._|0);if(!n)return null;switch(t._activeInfo.type){case this.FLOAT:return n[0];case this.FLOAT_VEC2:return new Float32Array(n.slice(0,2));case this.FLOAT_VEC3:return new Float32Array(n.slice(0,3));case this.FLOAT_VEC4:return new Float32Array(n.slice(0,4));case this.INT:return n[0]|0;case this.INT_VEC2:return new Int32Array(n.slice(0,2));case this.INT_VEC3:return new Int32Array(n.slice(0,3));case this.INT_VEC4:return new Int32Array(n.slice(0,4));case this.BOOL:return!!n[0];case this.BOOL_VEC2:return[!!n[0],!!n[1]];case this.BOOL_VEC3:return[!!n[0],!!n[1],!!n[2]];case this.BOOL_VEC4:return[!!n[0],!!n[1],!!n[2],!!n[3]];case this.FLOAT_MAT2:return new Float32Array(n.slice(0,4));case this.FLOAT_MAT3:return new Float32Array(n.slice(0,9));case this.FLOAT_MAT4:return new Float32Array(n.slice(0,16));case this.SAMPLER_2D:case this.SAMPLER_CUBE:return n[0]|0;default:return null}}return null},getUniformLocation(e,t){if(!checkObject(e))throw TypeError(`getUniformLocation(WebGLProgram, String)`);if(t+=``,!isValidString(t))return this.setError(this.INVALID_VALUE),null;if(this._checkWrapper(e,WebGLProgram$1)){let n=this._gl.getUniformLocation(e._|0,t);if(n!==null&&n>=0){let r=t;/\[\d+\]$/.test(t)&&(r=t.replace(/\[\d+\]$/,`[0]`));let i=r+`[0]`,a=null;for(let t=0;t<e._uniforms.length;++t){let n=e._uniforms[t];if(n.name===r||n.name===i){a={size:n.size,type:n.type,name:n.name};break}}a||={name:r,type:0,size:1};let o=new WebGLUniformLocation(n,e,a),s=t.match(/\[(\d+)\]$/),c=s?+s[1]:-1;if(a.name.endsWith(`[0]`)&&(c===-1||c===0)){let t=a.name.replace(/\[0\]$/,``),n=[];this._saveError();for(let r=0;this.getError()===this.NO_ERROR;++r){let i=this._gl.getUniformLocation(e._|0,t+`[`+r+`]`);if(this.getError()!==this.NO_ERROR||i==null||i<0)break;n.push(i)}this._restoreError(this.NO_ERROR),o._array=n}else if(c>0&&c>=a.size)return null;return o}}return null}};function installIntrospectionMethods(e){Object.assign(e,hn)}const gn={uniform1f(e,t){this._checkUniformValid(e,t,`uniform1f`,1,`f`)&&this._gl.uniform1f(e?._||0,t)},uniform1i(e,t){this._gl.uniform1i(e?._||0,t)},uniform2f(e,t,n){this._checkUniformValid(e,t,`uniform2f`,2,`f`)&&this._gl.uniform2f(e?._||0,t,n)},uniform2i(e,t,n){this._checkUniformValid(e,t,`uniform2i`,2,`i`)&&this._gl.uniform2i(e?._||0,t,n)},uniform3f(e,t,n,r){this._checkUniformValid(e,t,`uniform3f`,3,`f`)&&this._gl.uniform3f(e?._||0,t,n,r)},uniform3i(e,t,n,r){this._checkUniformValid(e,t,`uniform3i`,3,`i`)&&this._gl.uniform3i(e?._||0,t,n,r)},uniform4f(e,t,n,r,i){if(!this._checkUniformValid(e,t,`uniform4f`,4,`f`)){k.error(`uniform4f is not valid!`);return}this._gl.uniform4f(e?._||0,t,n,r,i)},uniform4i(e,t,n,r,i){this._checkUniformValid(e,t,`uniform4i`,4,`i`)&&this._gl.uniform4i(e?._||0,t,n,r,i)},uniform1fv(e,t){if(!(!e||!this._checkUniformValueValid(e,t,`uniform1fv`,1,`f`))){if(e?._array){let n=e._array;for(let e=0;e<n.length&&e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform1f(r,t[e])}return}this._gl.uniform1f(e?._|0,t[0])}},uniform1iv(e,t){if(this._checkUniformValueValid(e,t,`uniform1iv`,1,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform1i(r,t[e])}return}this.uniform1i(e,t[0])}},uniform2fv(e,t){if(this._checkUniformValueValid(e,t,`uniform2fv`,2,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&2*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform2f(r,t[2*e],t[2*e+1])}return}this._gl.uniform2f(e?._||0,t[0],t[1])}},uniform2iv(e,t){if(this._checkUniformValueValid(e,t,`uniform2iv`,2,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&2*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform2i(r,t[2*e],t[2*e+1])}return}this.uniform2i(e,t[0],t[1])}},uniform3fv(e,t){if(this._checkUniformValueValid(e,t,`uniform3fv`,3,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&3*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform3f(r,t[3*e],t[3*e+1],t[3*e+2])}return}this._gl.uniform3f(e?._||0,t[0],t[1],t[2])}},uniform3iv(e,t){if(this._checkUniformValueValid(e,t,`uniform3iv`,3,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&3*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform3i(r,t[3*e],t[3*e+1],t[3*e+2])}return}this.uniform3i(e,t[0],t[1],t[2])}},uniform4fv(e,t){if(this._checkUniformValueValid(e,t,`uniform4fv`,4,`f`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&4*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform4f(r,t[4*e],t[4*e+1],t[4*e+2],t[4*e+3])}return}this._gl.uniform4f(e?._||0,t[0],t[1],t[2],t[3])}},uniform4iv(e,t){if(this._checkUniformValueValid(e,t,`uniform4iv`,4,`i`)){if(e?._array){let n=e._array;for(let e=0;e<n.length&&4*e<t.length;++e){let r=n[e];r!=null&&this._gl.uniform4i(r,t[4*e],t[4*e+1],t[4*e+2],t[4*e+3])}return}this.uniform4i(e,t[0],t[1],t[2],t[3])}},uniformMatrix2fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix2fv`,2))return;let r=new Float32Array(n);this._gl.uniformMatrix2fv(e?._||0,!!t,listToArray(r))},uniformMatrix3fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix3fv`,3))return;let r=new Float32Array(n);this._gl.uniformMatrix3fv(e?._||0,!!t,listToArray(r))},uniformMatrix4fv(e,t,n){if(!this._checkUniformMatrix(e,t,n,`uniformMatrix4fv`,4))return;let r=new Float32Array(n);this._gl.uniformMatrix4fv(e?._||0,!!t,listToArray(r))},_checkLocation(e){return e instanceof WebGLUniformLocation?e._program._ctx!==this||e._linkCount!==e._program._linkCount?(this.setError(this.INVALID_OPERATION),!1):!0:(this.setError(this.INVALID_VALUE),!1)},_checkLocationActive(e){return e&&this._checkLocation(e)?e._program===this._activeProgram?!0:(this.setError(this.INVALID_OPERATION),!1):!1},_checkUniformValid(e,t,n,r,i){if(!checkObject(e))throw TypeError(`${n}(WebGLUniformLocation, ...)`);if(!e)return!1;if(this._checkLocationActive(e)){let n=e._activeInfo.type;if(n===this.SAMPLER_2D||n===this.SAMPLER_CUBE){if(r!==1)return this.setError(this.INVALID_VALUE),!1;if(i!==`i`)return this.setError(this.INVALID_OPERATION),!1;if(t<0||t>=this._textureUnits.length)return this.setError(this.INVALID_VALUE),!1}return uniformTypeSize(this,n)>r?(this.setError(this.INVALID_OPERATION),!1):!0}return!1},_checkUniformValueValid(e,t,n,r,i){if(!checkObject(e)||!checkObject(t))throw TypeError(`${n}v(WebGLUniformLocation, Array)`);if(!e||!this._checkLocationActive(e))return!1;if(typeof t!=`object`||!t||typeof t.length!=`number`)throw TypeError(`Second argument to ${n} must be array`);return uniformTypeSize(this,e._activeInfo.type)>r?(this.setError(this.INVALID_OPERATION),!1):t.length>=r&&t.length%r===0?e._array||t.length===r?!0:(this.setError(this.INVALID_OPERATION),!1):(this.setError(this.INVALID_VALUE),!1)},_checkUniformMatrix(e,t,n,r,i){if(!checkObject(e)||typeof n!=`object`)throw TypeError(r+`(WebGLUniformLocation, Boolean, Array)`);return t||typeof n!=`object`||!n||!n.length||n.length%i*i!==0?(this.setError(this.INVALID_VALUE),!1):!e||!this._checkLocationActive(e)?!1:n.length===i*i||e._array?!0:(this.setError(this.INVALID_VALUE),!1)}};function installUniformsMethods(e){Object.assign(e,gn)}function installShaderProgramMethods(e){installShaderLifecycleMethods(e),installProgramLifecycleMethods(e),installIntrospectionMethods(e),installUniformsMethods(e)}function installAllContextMethods(e){installStateMethods(e),installBufferBindingMethods(e),installTextureManagementMethods(e),installFramebufferMethods(e),installShaderProgramMethods(e),installDrawingMethods(e)}var EXTBlendMinMax=class{constructor(){this.MIN_EXT=32775,this.MAX_EXT=32776}};function getEXTBlendMinMax(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`EXT_blend_minmax`)>=0&&(t=new EXTBlendMinMax),t}var EXTColorBufferFloat=class{};function getEXTColorBufferFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`EXT_color_buffer_float`)>=0?new EXTColorBufferFloat:null}var EXTColorBufferHalfFloat=class{};function getEXTColorBufferHalfFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`EXT_color_buffer_half_float`)>=0?new EXTColorBufferHalfFloat:null}var EXTTextureFilterAnisotropic=class{constructor(){this.TEXTURE_MAX_ANISOTROPY_EXT=34046,this.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047}};function getEXTTextureFilterAnisotropic(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`EXT_texture_filter_anisotropic`)>=0&&(t=new EXTTextureFilterAnisotropic),t}var OESElementIndexUint=class{};function getOESElementIndexUint(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_element_index_uint`)>=0&&(t=new OESElementIndexUint),t}var OESStandardDerivatives=class{constructor(){this.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723}};function getOESStandardDerivatives(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_standard_derivatives`)>=0&&(t=new OESStandardDerivatives),t}var OESTextureFloatLinear=class{};function getOESTextureFloatLinear(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_texture_float_linear`)>=0&&(t=new OESTextureFloatLinear),t}var OESTextureFloat=class{};function getOESTextureFloat(e){let t=null,n=e.getSupportedExtensions();return n&&n.indexOf(`OES_texture_float`)>=0&&(t=new OESTextureFloat),t}var OESTextureHalfFloat=class{constructor(){this.HALF_FLOAT_OES=36193}};function getOESTextureHalfFloat(e){let t=e.getSupportedExtensions();return t&&t.indexOf(`OES_texture_half_float`)>=0||e._native2?new OESTextureHalfFloat:null}var STACKGLDestroyContext=class{constructor(e){this.destroy=e.destroy.bind(e)}};function getSTACKGLDestroyContext(e){return new STACKGLDestroyContext(e)}var STACKGLResizeDrawingBuffer=class{constructor(e){this.resize=e.resize.bind(e)}};function getSTACKGLResizeDrawingBuffer(e){return new STACKGLResizeDrawingBuffer(e)}var WebGLContextAttributes=class{constructor(e,t,n,r,i,a,o,s){this.alpha=e,this.depth=t,this.stencil=n,this.antialias=r,this.premultipliedAlpha=i,this.preserveDrawingBuffer=a,this.preferLowPowerToHighPerformance=o,this.failIfMajorPerformanceCaveat=s}},WebGLTextureUnit=class{constructor(e,t){this._mode=0,this._bind2D=null,this._bindCube=null,this._ctx=e,this._idx=t}},WebGLVertexArrayObjectAttribute=class{constructor(e,t){this._isPointer=!1,this._pointerBuffer=null,this._pointerOffset=0,this._pointerSize=0,this._pointerStride=0,this._pointerType=0,this._pointerNormal=!1,this._divisor=0,this._inputSize=4,this._inputStride=0,this._ctx=e,this._idx=t,this._pointerType=e.FLOAT,this._clear()}_clear(){this._isPointer=!1,this._pointerBuffer=null,this._pointerOffset=0,this._pointerSize=0,this._pointerStride=0,this._pointerType=this._ctx.FLOAT,this._pointerNormal=!1,this._divisor=0,this._inputSize=4,this._inputStride=0}},WebGLVertexArrayGlobalAttribute=class{constructor(e){this._idx=0,this._idx=e,this._data=new Float32Array([0,0,0,1])}},WebGLVertexArrayObjectState=class{constructor(e){this._elementArrayBufferBinding=null;let t=e.getParameter(e.MAX_VERTEX_ATTRIBS);this._attribs=Array.from({length:t});for(let n=0;n<t;++n)this._attribs[n]=new WebGLVertexArrayObjectAttribute(e,n);this._elementArrayBufferBinding=null}setElementArrayBuffer(e){if(e!==null&&!(e instanceof WebGLBuffer))throw TypeError(`setElementArrayBuffer(WebGLBuffer?)`);let t=this._elementArrayBufferBinding;t!==e&&(t&&(--t._refCount,t._checkDelete()),e&&(e._refCount+=1),this._elementArrayBufferBinding=e)}cleanUp(){let e=this._elementArrayBufferBinding;e&&(--e._refCount,e._checkDelete(),this._elementArrayBufferBinding=null);for(let e=0;e<this._attribs.length;++e){let t=this._attribs[e];t._pointerBuffer&&(--t._pointerBuffer._refCount,t._pointerBuffer._checkDelete()),t._clear()}}releaseArrayBuffer(e){if(e)for(let t=0;t<this._attribs.length;++t){let n=this._attribs[t];n._pointerBuffer===e&&(--n._pointerBuffer._refCount,n._pointerBuffer._checkDelete(),n._clear())}}setVertexAttribPointer(e,t,n,r,i,a,o,s,c){let l=this._attribs[t];e!==l._pointerBuffer&&(l._pointerBuffer&&(--l._pointerBuffer._refCount,l._pointerBuffer._checkDelete()),e&&(e._refCount+=1),l._pointerBuffer=e),l._pointerSize=n,l._pointerOffset=r,l._pointerStride=i,l._pointerType=a,l._pointerNormal=o,l._inputStride=s,l._inputSize=c}},WebGLVertexArrayGlobalState=class{constructor(e){this._arrayBufferBinding=null;let t=e.getParameter(e.MAX_VERTEX_ATTRIBS);this._attribs=Array.from({length:t});for(let e=0;e<t;++e)this._attribs[e]=new WebGLVertexArrayGlobalAttribute(e);this._arrayBufferBinding=null}setArrayBuffer(e){if(e!==null&&!(e instanceof WebGLBuffer))throw TypeError(`setArrayBuffer(WebGLBuffer?)`);let t=this._arrayBufferBinding;t!==e&&(t&&(--t._refCount,t._checkDelete()),e&&(e._refCount+=1),this._arrayBufferBinding=e)}},_n=d;let vn=0;const yn={oes_element_index_uint:getOESElementIndexUint,oes_texture_float:getOESTextureFloat,oes_texture_float_linear:getOESTextureFloatLinear,oes_standard_derivatives:getOESStandardDerivatives,stackgl_destroy_context:getSTACKGLDestroyContext,stackgl_resize_drawingbuffer:getSTACKGLResizeDrawingBuffer,ext_blend_minmax:getEXTBlendMinMax,ext_color_buffer_float:getEXTColorBufferFloat,ext_color_buffer_half_float:getEXTColorBufferHalfFloat,ext_texture_filter_anisotropic:getEXTTextureFilterAnisotropic,oes_texture_half_float:getOESTextureHalfFloat};var WebGLContextBase=class{get drawingBufferHeight(){return this.canvas.height||0}get drawingBufferWidth(){return this.canvas.width||0}constructor(e,t={}){this.drawingBufferColorSpace=`srgb`,this.unpackColorSpace=`srgb`,this.RGBA8=32856,this.DEFAULT_ATTACHMENTS=[],this.DEFAULT_COLOR_ATTACHMENTS=[],this._=0,this._extensions={},this._programs={},this._shaders={},this._textures={},this._framebuffers={},this._renderbuffers={},this._buffers={},this._activeProgram=null,this._activeFramebuffer=null,this._activeRenderbuffer=null,this._checkStencil=!1,this._stencilState=!0,this._activeTextureUnit=0,this._errorStack=[],this._maxTextureSize=0,this._maxTextureLevel=0,this._maxCubeMapSize=0,this._maxCubeMapLevel=0,this._maxRenderbufferSize=0,this._unpackAlignment=4,this._packAlignment=4,this._unpackFlipY=!1,this._unpackPremultAlpha=!1,this._viewport=new Int32Array([0,0,0,0]),this._scissorBox=new Int32Array([0,0,0,0]),this._gtkFboId=0,this._textureUnits=[],this._drawingBuffer=null,this.canvas=e,this._contextAttributes=new WebGLContextAttributes(flag(t,`alpha`,!0),flag(t,`depth`,!0),flag(t,`stencil`,!1),!1,flag(t,`premultipliedAlpha`,!0),flag(t,`preserveDrawingBuffer`,!1),flag(t,`preferLowPowerToHighPerformance`,!1),flag(t,`failIfMajorPerformanceCaveat`,!1)),this._contextAttributes.premultipliedAlpha=this._contextAttributes.premultipliedAlpha&&this._contextAttributes.alpha}_init(){let e=this._gl.getParameterx(36006);this._gtkFboId=e?.deepUnpack()|0,this._initGLConstants(),this.DEFAULT_ATTACHMENTS=[this.COLOR_ATTACHMENT0,this.DEPTH_ATTACHMENT,this.STENCIL_ATTACHMENT,this.DEPTH_STENCIL_ATTACHMENT],this.DEFAULT_COLOR_ATTACHMENTS=[this.COLOR_ATTACHMENT0];let t=this.drawingBufferWidth||0,n=this.drawingBufferHeight||0;this._=vn++;let r=this.getParameter(this.MAX_COMBINED_TEXTURE_IMAGE_UNITS);this._textureUnits=Array.from({length:r});for(let e=0;e<r;++e)this._textureUnits[e]=new WebGLTextureUnit(this,e);this.activeTexture(this.TEXTURE0),this._defaultVertexObjectState=new WebGLVertexArrayObjectState(this),this._vertexObjectState=this._defaultVertexObjectState,this._vertexGlobalState=new WebGLVertexArrayGlobalState(this),this._maxTextureSize=this.getParameter(this.MAX_TEXTURE_SIZE),this._maxTextureLevel=tn.log2(tn.nextPow2(this._maxTextureSize)),this._maxCubeMapSize=this.getParameter(this.MAX_CUBE_MAP_TEXTURE_SIZE),this._maxCubeMapLevel=tn.log2(tn.nextPow2(this._maxCubeMapSize)),this._maxRenderbufferSize=this.getParameter(this.MAX_RENDERBUFFER_SIZE),this._unpackAlignment=4,this._packAlignment=4,this._unpackFlipY=!1,this._unpackPremultAlpha=!1,this.bindBuffer(this.ARRAY_BUFFER,null),this.bindBuffer(this.ELEMENT_ARRAY_BUFFER,null),this.bindFramebuffer(this.FRAMEBUFFER,null),this.bindRenderbuffer(this.RENDERBUFFER,null),this.viewport(0,0,t,n),this.scissor(0,0,t,n),this.clearDepth(1),this.clearColor(0,0,0,0),this.clearStencil(0),this.clear(this.COLOR_BUFFER_BIT|this.DEPTH_BUFFER_BIT|this.STENCIL_BUFFER_BIT),this.disable(this.DEPTH_TEST),this.disable(this.STENCIL_TEST),this.disable(this.BLEND),this.disable(this.CULL_FACE),this.disable(this.POLYGON_OFFSET_FILL),this.disable(this.SCISSOR_TEST),this._gl.colorMask(!0,!0,!0,!0)}_initGLConstants(){let e=new _n.WebGLRenderingContextBase().get_webgl_constants();for(let[t,n]of Object.entries(e))Object.defineProperty(this,t,{value:n})}_getGlslVersion(e){return e?`100`:`120`}_checkOwns(e){return typeof e==`object`&&!!e&&e._ctx===this}_checkValid(e,t){return e instanceof t&&e._!==0}_checkWrapper(e,t){return this._checkValid(e,t)?this._checkOwns(e)?!0:(this.setError(this.INVALID_OPERATION),!1):(this.setError(this.INVALID_VALUE),!1)}_isObject(e,t,n){if(e!=null&&!(e instanceof n))throw TypeError(t+`(`+n.name+`)`);return!!(this._checkValid(e,n)&&this._checkOwns(e))}_checkStencilState(){return this._checkStencil?(this._checkStencil=!1,this._stencilState=!0,(this.getParameter(this.STENCIL_WRITEMASK)!==this.getParameter(this.STENCIL_BACK_WRITEMASK)||this.getParameter(this.STENCIL_VALUE_MASK)!==this.getParameter(this.STENCIL_BACK_VALUE_MASK)||this.getParameter(this.STENCIL_REF)!==this.getParameter(this.STENCIL_BACK_REF))&&(this.setError(this.INVALID_OPERATION),this._stencilState=!1),this._stencilState):this._stencilState}_validGLSLIdentifier(e){return!(e.indexOf(`webgl_`)===0||e.indexOf(`_webgl_`)===0||e.length>256)}_getParameterDirect(e){return this._gl.getParameterx(e)?.deepUnpack()}getContextAttributes(){return this._contextAttributes}getExtension(e){let t=e.toLowerCase();if(t in this._extensions)return this._extensions[t];let n=yn[t]?yn[t](this):null;return n&&(this._extensions[t]=n),n}getSupportedExtensions(){let e=[`ANGLE_instanced_arrays`,`STACKGL_resize_drawingbuffer`,`STACKGL_destroy_context`],t=this._gl.getSupportedExtensions();return t?(t.indexOf(`GL_OES_element_index_uint`)>=0&&e.push(`OES_element_index_uint`),t.indexOf(`GL_OES_standard_derivatives`)>=0&&e.push(`OES_standard_derivatives`),t.indexOf(`GL_OES_texture_float`)>=0&&e.push(`OES_texture_float`),t.indexOf(`GL_OES_texture_float_linear`)>=0&&e.push(`OES_texture_float_linear`),(t.indexOf(`GL_OES_texture_half_float`)>=0||t.indexOf(`GL_ARB_half_float_pixel`)>=0)&&e.push(`OES_texture_half_float`),(t.indexOf(`GL_EXT_color_buffer_float`)>=0||t.indexOf(`GL_ARB_color_buffer_float`)>=0)&&e.push(`EXT_color_buffer_float`),t.indexOf(`GL_EXT_color_buffer_half_float`)>=0&&e.push(`EXT_color_buffer_half_float`),t.indexOf(`EXT_draw_buffers`)>=0&&e.push(`WEBGL_draw_buffers`),t.indexOf(`EXT_blend_minmax`)>=0&&e.push(`EXT_blend_minmax`),t.indexOf(`EXT_texture_filter_anisotropic`)>=0&&e.push(`EXT_texture_filter_anisotropic`),t.indexOf(`GL_OES_vertex_array_object`)>=0&&e.push(`OES_vertex_array_object`),e):e}getParameter(e=0){switch(e){case this.ARRAY_BUFFER_BINDING:return this._vertexGlobalState._arrayBufferBinding;case this.ELEMENT_ARRAY_BUFFER_BINDING:return this._vertexObjectState._elementArrayBufferBinding;case this.CURRENT_PROGRAM:return this._activeProgram;case this.FRAMEBUFFER_BINDING:return this._activeFramebuffer;case this.RENDERBUFFER_BINDING:return this._activeRenderbuffer;case this.TEXTURE_BINDING_2D:return this._getActiveTextureUnit()._bind2D;case this.TEXTURE_BINDING_CUBE_MAP:return this._getActiveTextureUnit()._bindCube;case this.VERSION:return`WebGL 1.0 0.0.1`;case this.VENDOR:return``;case this.RENDERER:return`ANGLE`;case this.SHADING_LANGUAGE_VERSION:return`WebGL GLSL ES 1.0 `;case this.COMPRESSED_TEXTURE_FORMATS:return new Uint32Array;case this.SCISSOR_BOX:return new Int32Array(this._scissorBox);case this.VIEWPORT:return new Int32Array(this._viewport);case this.MAX_VIEWPORT_DIMS:return new Int32Array([32767,32767]);case this.ALIASED_LINE_WIDTH_RANGE:case this.ALIASED_POINT_SIZE_RANGE:return new Float32Array([1,1]);case this.DEPTH_RANGE:return new Float32Array([0,1]);case this.BLEND_COLOR:case this.COLOR_CLEAR_VALUE:return new Float32Array(this._gl.getParameterfv(e,4));case this.COLOR_WRITEMASK:{let t=this._gl.getParameteriv(e,4);return[!!t[0],!!t[1],!!t[2],!!t[3]]}case this.DEPTH_CLEAR_VALUE:case this.LINE_WIDTH:case this.POLYGON_OFFSET_FACTOR:case this.POLYGON_OFFSET_UNITS:case this.SAMPLE_COVERAGE_VALUE:return this._gl.getParameterf(e);case this.BLEND:case this.CULL_FACE:case this.DEPTH_TEST:case this.DEPTH_WRITEMASK:case this.DITHER:case this.POLYGON_OFFSET_FILL:case this.SAMPLE_COVERAGE_INVERT:case this.SCISSOR_TEST:case this.STENCIL_TEST:case this.UNPACK_PREMULTIPLY_ALPHA_WEBGL:return!!this._gl.getParameteri(e);case this.UNPACK_FLIP_Y_WEBGL:return this._unpackFlipY;case this.ACTIVE_TEXTURE:case this.ALPHA_BITS:case this.BLEND_DST_ALPHA:case this.BLEND_DST_RGB:case this.BLEND_EQUATION_ALPHA:case this.BLEND_EQUATION_RGB:case this.BLEND_SRC_ALPHA:case this.BLEND_SRC_RGB:case this.BLUE_BITS:case this.CULL_FACE_MODE:case this.DEPTH_BITS:case this.DEPTH_FUNC:case this.FRONT_FACE:case this.GENERATE_MIPMAP_HINT:case this.GREEN_BITS:return this._gl.getParameteri(e);case this.MAX_RENDERBUFFER_SIZE:return this._maxRenderbufferSize;case this.MAX_COMBINED_TEXTURE_IMAGE_UNITS:case this.MAX_CUBE_MAP_TEXTURE_SIZE:case this.MAX_FRAGMENT_UNIFORM_VECTORS:case this.MAX_TEXTURE_IMAGE_UNITS:case this.MAX_TEXTURE_SIZE:case this.MAX_VARYING_VECTORS:case this.MAX_VERTEX_ATTRIBS:case this.MAX_VERTEX_TEXTURE_IMAGE_UNITS:case this.MAX_VERTEX_UNIFORM_VECTORS:case this.PACK_ALIGNMENT:case this.RED_BITS:case this.SAMPLE_BUFFERS:case this.SAMPLES:case this.STENCIL_BACK_FAIL:case this.STENCIL_BACK_FUNC:case this.STENCIL_BACK_PASS_DEPTH_FAIL:case this.STENCIL_BACK_PASS_DEPTH_PASS:case this.STENCIL_BACK_REF:case this.STENCIL_BACK_VALUE_MASK:case this.STENCIL_BACK_WRITEMASK:case this.STENCIL_BITS:case this.STENCIL_CLEAR_VALUE:case this.STENCIL_FAIL:case this.STENCIL_FUNC:case this.STENCIL_PASS_DEPTH_FAIL:case this.STENCIL_PASS_DEPTH_PASS:case this.STENCIL_REF:case this.STENCIL_VALUE_MASK:case this.STENCIL_WRITEMASK:case this.SUBPIXEL_BITS:case this.UNPACK_ALIGNMENT:case this.UNPACK_COLORSPACE_CONVERSION_WEBGL:return this._gl.getParameteri(e);case this.IMPLEMENTATION_COLOR_READ_FORMAT:case this.IMPLEMENTATION_COLOR_READ_TYPE:return this._getParameterDirect(e);default:if(this._extensions.webgl_draw_buffers){let t=this._extensions.webgl_draw_buffers;switch(e){case t.DRAW_BUFFER0_WEBGL:case t.DRAW_BUFFER1_WEBGL:case t.DRAW_BUFFER2_WEBGL:case t.DRAW_BUFFER3_WEBGL:case t.DRAW_BUFFER4_WEBGL:case t.DRAW_BUFFER5_WEBGL:case t.DRAW_BUFFER6_WEBGL:case t.DRAW_BUFFER7_WEBGL:case t.DRAW_BUFFER8_WEBGL:case t.DRAW_BUFFER9_WEBGL:case t.DRAW_BUFFER10_WEBGL:case t.DRAW_BUFFER11_WEBGL:case t.DRAW_BUFFER12_WEBGL:case t.DRAW_BUFFER13_WEBGL:case t.DRAW_BUFFER14_WEBGL:case t.DRAW_BUFFER15_WEBGL:return t._buffersState.length===1&&t._buffersState[0]===this.BACK?this.BACK:this._getParameterDirect(e);case t.MAX_DRAW_BUFFERS_WEBGL:case t.MAX_COLOR_ATTACHMENTS_WEBGL:return this._getParameterDirect(e)}}let t=this._extensions.oes_standard_derivatives;if(t&&e===t.FRAGMENT_SHADER_DERIVATIVE_HINT_OES)return this._getParameterDirect(e);let n=this._extensions.ext_texture_filter_anisotropic;if(n&&e===n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)return this._getParameterDirect(e);let r=this._extensions.oes_vertex_array_object;return r&&e===r.VERTEX_ARRAY_BINDING_OES?r._activeVertexArrayObject:(this.setError(this.INVALID_ENUM),null)}}destroy(){warnNotImplemented(`destroy`)}};installAllContextMethods(WebGLContextBase.prototype);var WebGLRenderingContext$1=class extends WebGLContextBase{static{__name(this,`WebGLRenderingContext`)}get _gl(){return this._native}constructor(e,t={}){super(e,t),this._attrib0Buffer=null,this._native=new _n.WebGLRenderingContext({}),this._init();let n=this.createBuffer();this._attrib0Buffer=n}_beginAttrib0Hack(){this._native.bindBuffer(this.ARRAY_BUFFER,this._attrib0Buffer?._||0);let e=new Uint8Array(this._vertexGlobalState._attribs[0]._data.buffer);this._native.bufferData(this.ARRAY_BUFFER,Uint8ArrayToVariant(e),this.STREAM_DRAW),this._native.enableVertexAttribArray(0),this._native.vertexAttribPointer(0,4,this.FLOAT,!1,0,0),this._native._vertexAttribDivisor(0,1)}_endAttrib0Hack(){let e=this._vertexObjectState._attribs[0];e._pointerBuffer?this._native.bindBuffer(this.ARRAY_BUFFER,e._pointerBuffer._):this._native.bindBuffer(this.ARRAY_BUFFER,0),this._native.vertexAttribPointer(0,e._inputSize,e._pointerType,e._pointerNormal,e._inputStride,e._pointerOffset),this._native._vertexAttribDivisor(0,e._divisor),this._native.disableVertexAttribArray(0),this._vertexGlobalState._arrayBufferBinding?this._native.bindBuffer(this.ARRAY_BUFFER,this._vertexGlobalState._arrayBufferBinding._):this._native.bindBuffer(this.ARRAY_BUFFER,0)}drawArrays(e=0,t=0,n=0){if(t<0||n<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let r=vertexCount(this,e,n);if(r<0){this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk()||n===0)return;let i=t;if(n>0&&(i=n+t-1>>>0),this._checkVertexAttribState(i)){let n=this._extensions.webgl_draw_buffers;if(this._vertexObjectState._attribs[0]._isPointer||n&&n._buffersState&&n._buffersState.length>0)return this._native.drawArrays(e,t,r);this._beginAttrib0Hack(),this._native._drawArraysInstanced(e,t,r,1),this._endAttrib0Hack()}}drawElements(e=0,t=0,n=0,r=0){if(t<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=this._vertexObjectState._elementArrayBufferBinding;if(!i){this.setError(this.INVALID_OPERATION);return}let a=null,o=r;if(n===this.UNSIGNED_SHORT){if(o%2){this.setError(this.INVALID_OPERATION);return}o>>=1,a=new Uint16Array(i._elements.buffer)}else if(this._extensions.oes_element_index_uint&&n===this.UNSIGNED_INT){if(o%4){this.setError(this.INVALID_OPERATION);return}o>>=2,a=new Uint32Array(i._elements.buffer)}else if(n===this.UNSIGNED_BYTE)a=i._elements;else{this.setError(this.INVALID_ENUM);return}let s=t;switch(e){case this.TRIANGLES:t%3&&(s-=t%3);break;case this.LINES:t%2&&(s-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk())return;if(t===0){this._checkVertexAttribState(0);return}if(t+o>>>0>a.length){this.setError(this.INVALID_OPERATION);return}let c=-1;for(let e=o;e<o+t;++e)c=Math.max(c,a[e]);if(c<0){this._checkVertexAttribState(0);return}if(this._checkVertexAttribState(c)&&s>0){if(this._vertexObjectState._attribs[0]._isPointer)return this._native.drawElements(e,s,n,r);this._beginAttrib0Hack(),this._native._drawElementsInstanced(e,s,n,r,1),this._endAttrib0Hack()}}},WebGLQuery=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._queries[this._|0],e._native2.deleteQuery(this._|0)}},WebGLSampler=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._samplers[this._|0],e._native2.deleteSampler(this._|0)}},WebGLSync=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._syncs[this._|0],e._native2.deleteSync(this._|0)}},WebGLTransformFeedback=class extends Linkable{constructor(e,t){super(e),this._ctx=t}_performDelete(){let e=this._ctx;delete e._transformFeedbacks[this._|0],e._native2.deleteTransformFeedback(this._|0)}},WebGLVertexArrayObject=class extends Linkable{constructor(e,t){super(e),this._ctx=t,this._objectState=new WebGLVertexArrayObjectState(t)}_performDelete(){let e=this._ctx;e._vertexObjectState===this._objectState&&(e._vertexObjectState=e._defaultVertexObjectState),this._objectState.cleanUp(),delete e._vertexArrayObjects[this._|0],e._native2.deleteVertexArray(this._|0)}};const bn={createVertexArray(){let e=this._native2.createVertexArray();if(!e)return null;let t=new WebGLVertexArrayObject(e,this);return this._vertexArrayObjects[e]=t,t},deleteVertexArray(e){!e||!(e instanceof WebGLVertexArrayObject)||(e._pendingDelete=!0,e._checkDelete())},isVertexArray(e){return!e||!(e instanceof WebGLVertexArrayObject)?!1:this._native2.isVertexArray(e._)},bindVertexArray(e){e===null?(this._native2.bindVertexArray(0),this._vertexObjectState=this._defaultVertexObjectState):e instanceof WebGLVertexArrayObject?(this._native2.bindVertexArray(e._),this._vertexObjectState=e._objectState):this.setError(this.INVALID_OPERATION)},createQuery(){let e=this._native2.createQuery();if(!e)return null;let t=new WebGLQuery(e,this);return this._queries[e]=t,t},deleteQuery(e){!e||!(e instanceof WebGLQuery)||(e._pendingDelete=!0,e._checkDelete())},isQuery(e){return!e||!(e instanceof WebGLQuery)?!1:this._native2.isQuery(e._)},beginQuery(e,t){t instanceof WebGLQuery&&this._native2.beginQuery(e,t._)},endQuery(e){this._native2.endQuery(e)},getQuery(e,t){return warnNotImplemented(`WebGL2RenderingContext.getQuery`),null},getQueryParameter(e,t){return e instanceof WebGLQuery?this._native2.getQueryParameter(e._,t):null},createSampler(){let e=this._native2.createSampler();if(!e)return null;let t=new WebGLSampler(e,this);return this._samplers[e]=t,t},deleteSampler(e){!e||!(e instanceof WebGLSampler)||(e._pendingDelete=!0,e._checkDelete())},isSampler(e){return!e||!(e instanceof WebGLSampler)?!1:this._native2.isSampler(e._)},bindSampler(e,t){this._native2.bindSampler(e,t?t._:0)},samplerParameteri(e,t,n){e instanceof WebGLSampler&&this._native2.samplerParameteri(e._,t,n)},samplerParameterf(e,t,n){e instanceof WebGLSampler&&this._native2.samplerParameterf(e._,t,n)},getSamplerParameter(e,t){return e instanceof WebGLSampler?t===33082||t===33083?this._native2.getSamplerParameterf(e._,t):this._native2.getSamplerParameteri(e._,t):null},fenceSync(e,t){let n=this._native2.fenceSync(e,t);if(!n)return null;let r=new WebGLSync(n,this);return this._syncs[n]=r,r},isSync(e){return!e||!(e instanceof WebGLSync)?!1:this._native2.isSync(e._)},deleteSync(e){!e||!(e instanceof WebGLSync)||(e._pendingDelete=!0,e._checkDelete())},clientWaitSync(e,t,n){return e instanceof WebGLSync?this._native2.clientWaitSync(e._,t,n):37148},waitSync(e,t,n){e instanceof WebGLSync&&this._native2.waitSync(e._,t,n)},getSyncParameter(e,t){return e instanceof WebGLSync?this._native2.getSyncParameter(e._,t):null},createTransformFeedback(){let e=this._native2.createTransformFeedback();if(!e)return null;let t=new WebGLTransformFeedback(e,this);return this._transformFeedbacks[e]=t,t},deleteTransformFeedback(e){!e||!(e instanceof WebGLTransformFeedback)||(e._pendingDelete=!0,e._checkDelete())},isTransformFeedback(e){return!e||!(e instanceof WebGLTransformFeedback)?!1:this._native2.isTransformFeedback(e._)},bindTransformFeedback(e,t){this._native2.bindTransformFeedback(e,t?t._:0)},beginTransformFeedback(e){this._native2.beginTransformFeedback(e)},endTransformFeedback(){this._native2.endTransformFeedback()},pauseTransformFeedback(){this._native2.pauseTransformFeedback()},resumeTransformFeedback(){this._native2.resumeTransformFeedback()},transformFeedbackVaryings(e,t,n){this._native2.transformFeedbackVaryings(e._,t,n)},getTransformFeedbackVarying(e,t){let n=this._native2.getTransformFeedbackVarying(e._,t).deepUnpack();return new WebGLActiveInfo({size:n.size,type:n.type,name:n.name})}};function installObjectLifecycleMethods(e){Object.assign(e,bn)}const xn={texImage3D(e,t,n,r,i,a,o,s,c,l){l===null?this._native2.texImage3DNull(e,t,n,r,i,a,o,s,c):this._native2.texImage3D(e,t,n,r,i,a,o,s,c,Uint8ArrayToVariant(new Uint8Array(l.buffer,l.byteOffset,l.byteLength)))},texSubImage3D(e,t,n,r,i,a,o,s,c,l,u){u!==null&&this._native2.texSubImage3D(e,t,n,r,i,a,o,s,c,l,Uint8ArrayToVariant(new Uint8Array(u.buffer,u.byteOffset,u.byteLength)))},compressedTexImage3D(e,t,n,r,i,a,o,s,c){this._native2.compressedTexImage3D(e,t,n,r,i,a,o,Uint8ArrayToVariant(new Uint8Array(c.buffer,c.byteOffset,c.byteLength)))},compressedTexSubImage3D(e,t,n,r,i,a,o,s,c,l,u){this._native2.compressedTexSubImage3D(e,t,n,r,i,a,o,s,c,Uint8ArrayToVariant(new Uint8Array(u.buffer,u.byteOffset,u.byteLength)))},copyTexSubImage3D(e,t,n,r,i,a,o,s,c){this._native2.copyTexSubImage3D(e,t,n,r,i,a,o,s,c)},texStorage2D(e,t,n,r,i){this._native2.texStorage2D(e,t,n,r,i);let a=this._getTexImage(e);if(a){for(let e=0;e<t;e++)a._levelWidth[e]=Math.max(1,r>>e),a._levelHeight[e]=Math.max(1,i>>e);a._format=this.RGBA,a._type=this.UNSIGNED_BYTE}},texStorage3D(e,t,n,r,i,a){this._native2.texStorage3D(e,t,n,r,i,a)}};function installTexImage3DMethods(e){Object.assign(e,xn)}const Sn={uniform1ui(e,t){e&&this._native2.uniform1ui(e._,t)},uniform2ui(e,t,n){e&&this._native2.uniform2ui(e._,t,n)},uniform3ui(e,t,n,r){e&&this._native2.uniform3ui(e._,t,n,r)},uniform4ui(e,t,n,r,i){e&&this._native2.uniform4ui(e._,t,n,r,i)},uniform1uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform1uiv(e._,i.length,i)},uniform2uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform2uiv(e._,i.length/2,i)},uniform3uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform3uiv(e._,i.length/3,i)},uniform4uiv(e,t,n,r){if(!e)return;let i=t instanceof Uint32Array?t:new Uint32Array(t);this._native2.uniform4uiv(e._,i.length/4,i)},uniformMatrix2x3fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix2x3fv(e._,t,a)},uniformMatrix3x2fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix3x2fv(e._,t,a)},uniformMatrix2x4fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix2x4fv(e._,t,a)},uniformMatrix4x2fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix4x2fv(e._,t,a)},uniformMatrix3x4fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix3x4fv(e._,t,a)},uniformMatrix4x3fv(e,t,n,r,i){if(!e)return;let a=n instanceof Float32Array?n:new Float32Array(n);this._native2.uniformMatrix4x3fv(e._,t,a)}};function installUniformMethods(e){Object.assign(e,Sn)}const Cn={clearBufferfv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferfv==`function`){i.clearBufferfv(e,t,Array.from(n));return}let a=n;if(e===6144){let e=this.getParameter(this.COLOR_CLEAR_VALUE);this.clearColor(a[0]??0,a[1]??0,a[2]??0,a[3]??0),this.clear(this.COLOR_BUFFER_BIT),e&&this.clearColor(e[0],e[1],e[2],e[3])}else if(e===6145){let e=this.getParameter(this.DEPTH_CLEAR_VALUE);this.clearDepth(a[0]??1),this.clear(this.DEPTH_BUFFER_BIT),e!==null&&this.clearDepth(e)}},clearBufferiv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferiv==`function`){i.clearBufferiv(e,t,Array.from(n));return}if(e===6146){let e=n,t=this.getParameter(this.STENCIL_CLEAR_VALUE);this.clearStencil(e[0]??0),this.clear(this.STENCIL_BUFFER_BIT),t!==null&&this.clearStencil(t)}},clearBufferuiv(e,t,n,r){let i=this._native2;if(typeof i.clearBufferuiv==`function`){i.clearBufferuiv(e,t,Array.from(n));return}},clearBufferfi(e,t,n,r){let i=this._native2;if(typeof i.clearBufferfi==`function`){i.clearBufferfi(e,t,n,r);return}if(e===34041){let e=this.getParameter(this.DEPTH_CLEAR_VALUE),t=this.getParameter(this.STENCIL_CLEAR_VALUE);this.clearDepth(n),this.clearStencil(r),this.clear(this.DEPTH_BUFFER_BIT|this.STENCIL_BUFFER_BIT),e!==null&&this.clearDepth(e),t!==null&&this.clearStencil(t)}}};function installClearBufferMethods(e){Object.assign(e,Cn)}function debugGlEnabled(){return globalThis.__GJSIFY_DEBUG_GL===!0}const wn={drawArraysInstanced(e,t,n,r){if(t<0||n<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=vertexCount(this,e,n);if(i<0){this.setError(this.INVALID_ENUM);return}if(this._framebufferOk()&&!(n===0||r===0)&&this._checkVertexAttribState(n+t-1>>>0)){if(debugGlEnabled()){let e=this,t=e.__drawInstCount=(e.__drawInstCount|0)+1;(t<=5||t%100==0)&&k.log(`[WebGL] drawArraysInstanced #${t} count=${i} instances=${r} fbo=${this._activeFramebuffer?._??`_gtkFbo`}`)}this._native2.drawArraysInstanced(e,t,i,r)}},drawElementsInstanced(e,t,n,r,i){if(t<0||r<0||i<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let a=this._vertexObjectState._elementArrayBufferBinding;if(!a){this.setError(this.INVALID_OPERATION);return}let o=null,s=r;if(n===this.UNSIGNED_SHORT){if(s%2){this.setError(this.INVALID_OPERATION);return}s>>=1,o=new Uint16Array(a._elements.buffer)}else if(n===this.UNSIGNED_INT){if(s%4){this.setError(this.INVALID_OPERATION);return}s>>=2,o=new Uint32Array(a._elements.buffer)}else if(n===this.UNSIGNED_BYTE)o=a._elements;else{this.setError(this.INVALID_ENUM);return}let c=t;switch(e){case this.TRIANGLES:t%3&&(c-=t%3);break;case this.LINES:t%2&&(c-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk())return;if(c===0||i===0){this._checkVertexAttribState(0);return}if(c+s>>>0>o.length){this.setError(this.INVALID_OPERATION);return}let l=0;for(let e=s;e<s+c;++e)o[e]>l&&(l=o[e]);this._checkVertexAttribState(l)&&this._native2.drawElementsInstanced(e,c,n,r,i)},vertexAttribDivisor(e,t){this._native2.vertexAttribDivisor(e,t)},vertexAttribIPointer(e,t,n,r,i){this._native2.vertexAttribIPointer(e,t,n,r,i)},drawBuffers(e){let t=!1;for(let n=0;n<e.length;n++)if(e[n]===1029){t=!0;break}if(!t){this._native2.drawBuffers(e);return}this._native2.drawBuffers(e.map(e=>e===1029?this.COLOR_ATTACHMENT0:e))},drawRangeElements(e,t,n,r,i,a){if(r<0||a<0){this.setError(this.INVALID_VALUE);return}if(n<t){this.setError(this.INVALID_VALUE);return}this.drawElements(e,r,i,a)},blitFramebuffer(e,t,n,r,i,a,o,s,c,l){if(debugGlEnabled()){let e=this._gl.getError();e!==0&&k.log(`[WebGL] blitFramebuffer PRE-ERROR 0x${e.toString(16)}`)}if(this._native2.blitFramebuffer(e,t,n,r,i,a,o,s,c,l),debugGlEnabled()){let i=this._gl.getError(),a=this,o=a.__blitCount=(a.__blitCount|0)+1;o<=5&&k.log(`[WebGL] blitFramebuffer #${o} src=(${e},${t},${n},${r}) readFbo=${this._activeReadFramebuffer?._??`_gtkFbo`} err=${i===0?`OK`:`0x`+i.toString(16)}`)}},framebufferTextureLayer(e,t,n,r,i){this._native2.framebufferTextureLayer(e,t,n?n._:0,r,i)},invalidateFramebuffer(e,t){this._native2.invalidateFramebuffer(e,t)},invalidateSubFramebuffer(e,t,n,r,i,a){this._native2.invalidateSubFramebuffer(e,t,n,r,i,a)},readBuffer(e){this._native2.readBuffer(e)},renderbufferStorageMultisample(e,t,n,r,i){if(e!==this.RENDERBUFFER){this.setError(this.INVALID_ENUM);return}let a=this._activeRenderbuffer;if(!a){this.setError(this.INVALID_OPERATION);return}this._saveError(),this._native2.renderbufferStorageMultisample(e,t,n,r,i);let o=this.getError();this._restoreError(o),o===this.NO_ERROR&&(a._width=r,a._height=i,a._format=n)}};function installInstancedAndFramebufferOpsMethods(e){Object.assign(e,wn)}var Tn=class WebGL2RenderingContext extends WebGLContextBase{get _gl(){return this._native2}constructor(e,t={}){super(e,t),this._queries={},this._samplers={},this._transformFeedbacks={},this._vertexArrayObjects={},this._syncs={},this._activeReadFramebuffer=null,this._activeDrawFramebuffer=null,this._native2=new _n.WebGL2RenderingContext({}),this._init()}_getGlslVersion(e){return e?`300 es`:`130`}_validFramebufferAttachment(e){return super._validFramebufferAttachment(e)?!0:e>=36065&&e<=36079}static{this._WGL2_ALL_COLOR_ATTACHMENTS=[36064,36065,36066,36067,36068,36069,36070,36071,36072,36073,36074,36075,36076,36077,36078,36079]}_getColorAttachments(){return WebGL2RenderingContext._WGL2_ALL_COLOR_ATTACHMENTS}_preCheckFramebufferStatus(e){let t=e._attachments,n=0,r=0,i=[this.COLOR_ATTACHMENT0,this.DEPTH_ATTACHMENT,this.STENCIL_ATTACHMENT,this.DEPTH_STENCIL_ATTACHMENT,...WebGL2RenderingContext._WGL2_ALL_COLOR_ATTACHMENTS];for(let a of i){let i=t[a];if(i){if(i instanceof WebGLTexture){let t=e._attachmentLevel[a]??0,o=i._levelWidth[t]??0,s=i._levelHeight[t]??0;if(o>0&&s>0){n=o,r=s;break}}else if(i instanceof WebGLRenderbuffer&&i._width>0&&i._height>0){n=i._width,r=i._height;break}}}return n>0&&r>0?(e._width=n,e._height=r,this.FRAMEBUFFER_COMPLETE):this.FRAMEBUFFER_INCOMPLETE_ATTACHMENT}_updateFramebufferAttachments(e){if(super._updateFramebufferAttachments(e),e)for(let t=1;t<=15;t++){let n=36064+t;if(!(n in e._attachments))continue;let r=e._attachments[n];if(r instanceof WebGLTexture){let t=e._attachmentFace[n]||this.TEXTURE_2D,i=e._attachmentLevel[n]??0;this._gl.framebufferTexture2D(this.FRAMEBUFFER,n,t,r._|0,i|0)}else r instanceof WebGLRenderbuffer?this._gl.framebufferRenderbuffer(this.FRAMEBUFFER,n,this.RENDERBUFFER,r._|0):this._gl.framebufferTexture2D(this.FRAMEBUFFER,n,this.TEXTURE_2D,0,0)}}bindBuffer(e,t){if(e===35345||e===35982||e===36662||e===36663){let n=t?t._|0:0;this._gl.bindBuffer(e,n);return}super.bindBuffer(e,t)}bindFramebuffer(e,t){if(e===36008||e===36009){if(!checkObject(t))throw TypeError(`bindFramebuffer(GLenum, WebGLFramebuffer)`);if(t&&t._pendingDelete||t&&!this._checkWrapper(t,WebGLFramebuffer))return;let n=t?t._|0:this._gtkFboId;if(this._gl.bindFramebuffer(e,n),e===36008){let e=this._activeReadFramebuffer;e!==t&&(e&&(--e._refCount,e._checkDelete()),t&&(t._refCount+=1)),this._activeReadFramebuffer=t}else{let e=this._activeDrawFramebuffer;e!==t&&(e&&(--e._refCount,e._checkDelete()),t&&(t._refCount+=1)),this._activeDrawFramebuffer=t,this._activeFramebuffer=t}return}super.bindFramebuffer(this.FRAMEBUFFER,t),this._activeReadFramebuffer=t,this._activeDrawFramebuffer=t}deleteFramebuffer(e){this._activeReadFramebuffer===e&&this.bindFramebuffer(36008,null),this._activeDrawFramebuffer===e&&this.bindFramebuffer(36009,null),super.deleteFramebuffer(e)}bufferData(e,t,n){let r=e===35345||e===35982||e===36662||e===36663,i=n===35041||n===35043||n===35045||n===35042||n===35044||n===35046?this.STATIC_DRAW:n;if(r){if(typeof t==`number`)t>=0&&this._gl.bufferDataSizeOnly(e,t,i);else if(typeof t==`object`&&t){let n=arrayToUint8Array(t);this._gl.bufferData(e,Uint8ArrayToVariant(n),i)}return}super.bufferData(e,t,i)}bufferSubData(e,t,n){if(e===35345||e===35982||e===36662||e===36663){if(t<0){this.setError(this.INVALID_VALUE);return}if(!n){this.setError(this.INVALID_VALUE);return}let r=arrayToUint8Array(n);this._gl.bufferSubData(e,t,Uint8ArrayToVariant(r));return}super.bufferSubData(e,t,n)}bindTexture(e,t){if(e===32879||e===35866){let n=t,r=n?n._|0:0;this._gl.bindTexture(e,r),n&&(n._binding=e);return}super.bindTexture(e,t)}texParameteri(e,t,n){if(e===32879||e===35866){this._gl.texParameteri(e,t,n);return}if(t===32882||t===34892||t===34893||t===33084||t===33085||t===33083||t===33082){this._gl.texParameteri(e,t,n);return}super.texParameteri(e,t,n)}drawArrays(e,t,n){if(t<0||n<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let r=vertexCount(this,e,n);if(r<0){this.setError(this.INVALID_ENUM);return}this._framebufferOk()&&n!==0&&this._checkVertexAttribState(n+t-1>>>0)&&this._native2.drawArrays(e,t,r)}drawElements(e=0,t=0,n=0,r=0){if(t<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._checkStencilState())return;let i=this._vertexObjectState._elementArrayBufferBinding;if(!i){this.setError(this.INVALID_OPERATION);return}let a=null,o=r;if(n===this.UNSIGNED_SHORT){if(o%2){this.setError(this.INVALID_OPERATION);return}o>>=1,a=new Uint16Array(i._elements.buffer)}else if(n===this.UNSIGNED_INT){if(o%4){this.setError(this.INVALID_OPERATION);return}o>>=2,a=new Uint32Array(i._elements.buffer)}else if(n===this.UNSIGNED_BYTE)a=i._elements;else{this.setError(this.INVALID_ENUM);return}let s=t;switch(e){case this.TRIANGLES:t%3&&(s-=t%3);break;case this.LINES:t%2&&(s-=t%2);break;case this.POINTS:break;case this.LINE_LOOP:case this.LINE_STRIP:if(t<2){this.setError(this.INVALID_OPERATION);return}break;case this.TRIANGLE_FAN:case this.TRIANGLE_STRIP:if(t<3){this.setError(this.INVALID_OPERATION);return}break;default:this.setError(this.INVALID_ENUM);return}if(!this._framebufferOk()||t===0)return;let c=0;for(let e=o;e<o+s;++e)e<a.length&&a[e]>c&&(c=a[e]);this._checkVertexAttribState(c)&&this._native2.drawElements(e,s,n,r)}bindBufferBase(e,t,n){this._native2.bindBufferBase(e,t,n?n._:0)}bindBufferRange(e,t,n,r,i){this._native2.bindBufferRange(e,t,n?n._:0,r,i)}copyBufferSubData(e,t,n,r,i){this._native2.copyBufferSubData(e,t,n,r,i)}getBufferSubData(e,t,n,r,i){let a=i===void 0?n.byteLength-(r??0):i,o=this._native2.getBufferSubData(e,t,a),s=new Uint8Array(n.buffer,n.byteOffset+(r??0)*(n instanceof Uint8Array?1:n.BYTES_PER_ELEMENT??1));s.set(o.subarray(0,s.byteLength))}texImage2D(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c){let u=0,d=0,f=0,p=0;if(arguments.length===6)if(s=i,f=r,a instanceof l.Pixbuf){let e=a;u=e.get_width(),d=e.get_height(),c=e.get_pixels()}else{let e=extractImageData(a);if(e==null)throw TypeError(`texImage2D(GLenum, GLint, GLenum, GLint, GLenum, GLenum, ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement)`);u=e.width,d=e.height,c=e.data}else arguments.length>=9&&(u=r,d=i,p=a,f=o);let m=this._getTexImage(e);if(!m){this.setError(this.INVALID_OPERATION);return}let h=convertPixels(c);if(this._unpackPremultAlpha&&h&&f===this.RGBA&&(h=premultiplyAlpha(h)),this._unpackFlipY&&h&&u>0&&d>0){let e=this._computePixelSize(s,f);if(e>0){let t=this._computeRowStride(u,e),n=new Uint8Array(h.length);for(let e=0;e<d;e++){let r=e*t,i=(d-1-e)*t;n.set(h.subarray(r,r+t),i)}h=n}}this._saveError(),this._gl.texImage2D(e,t,n,u,d,p,f,s,Uint8ArrayToVariant(h));let g=this.getError();if(this._restoreError(g),g!==this.NO_ERROR)return;m._levelWidth[t]=u,m._levelHeight[t]=d,m._format=f,m._type=s;let _=this._activeFramebuffer;if(_){let e=!1,t=this._getAttachments();for(let n=0;n<t.length;++n)if(_._attachments[t[n]]===m){e=!0;break}e&&this._activeFramebuffer&&this._updateFramebufferAttachments(this._activeFramebuffer)}}texSubImage2D(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c){let u=0,d=0,f=0;if(arguments.length===7)if(s=a,f=i,o instanceof l.Pixbuf){let e=o;u=e.get_width(),d=e.get_height(),c=e.get_pixels()}else{let e=extractImageData(o);if(e==null)throw TypeError(`texSubImage2D(GLenum, GLint, GLint, GLint, GLenum, GLenum, ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement)`);u=e.width,d=e.height,c=e.data}else u=i,d=a,f=o;if(!this._getTexImage(e)){this.setError(this.INVALID_OPERATION);return}let p=convertPixels(c);if(!p){this.setError(this.INVALID_OPERATION);return}if(this._unpackPremultAlpha&&p&&f===this.RGBA&&(p=premultiplyAlpha(p)),this._unpackFlipY&&p&&u>0&&d>0){let e=this._computePixelSize(s,f);if(e>0){let t=this._computeRowStride(u,e),n=new Uint8Array(p.length);for(let e=0;e<d;e++){let r=e*t,i=(d-1-e)*t;n.set(p.subarray(r,r+t),i)}p=n}}this._gl.texSubImage2D(e,t,n,r,u,d,f,s,Uint8ArrayToVariant(p))}getUniform(e,t){let n=t?._activeInfo?.type,r=5125,i=36294,a=36295,o=n===r||n===i||n===a||n===36296,s=e;if(!o)return super.getUniform(s,t);if(!e||!t)return null;let c=this._native2.getUniformi(s._|0,t._|0);return c?n===r?c[0]>>>0:n===i?new Uint32Array([c[0]>>>0,c[1]>>>0]):n===a?new Uint32Array([c[0]>>>0,c[1]>>>0,c[2]>>>0]):new Uint32Array([c[0]>>>0,c[1]>>>0,c[2]>>>0,c[3]>>>0]):null}getUniformBlockIndex(e,t){return this._native2.getUniformBlockIndex(e._,t)}uniformBlockBinding(e,t,n){this._native2.uniformBlockBinding(e._,t,n)}getActiveUniformBlockName(e,t){let n=this._native2.getActiveUniformBlockName(e._,t);return n.length>0?n:null}getActiveUniformBlockParameter(e,t,n){return this._native2.getActiveUniformBlockParameter(e._,t,n)}getActiveUniforms(e,t,n){return this._native2.getActiveUniforms(e._,t,n)}getFragDataLocation(e,t){return this._native2.getFragDataLocation(e._,t)}getIndexedParameter(e,t){return this._native2.getIndexedParameteri(e,t)}getInternalformatParameter(e,t,n){return this._native2.getInternalformatParameter(e,t,n)}getParameter(e){if(e===7938)return`WebGL 2.0`;if(e===35724)return`WebGL GLSL ES 3.00`;if(e===7939)return warnNotImplemented(`WebGL2RenderingContext.getParameter(GL_EXTENSIONS)`),``;if(e===36006)return this._activeDrawFramebuffer;if(e===36010)return this._activeReadFramebuffer;switch(e){case 36183:case 35071:case 32883:case 36063:case 34852:case 36203:case 33001:case 33e3:case 37157:case 35373:case 35657:case 35077:case 35978:case 35979:case 35968:case 35376:case 35375:case 35659:case 37154:case 35371:case 35658:case 35379:case 35374:case 35377:case 35076:case 3330:case 3332:case 3331:case 35053:case 35055:case 3074:case 32874:case 35869:case 36389:case 35983:case 35368:case 35380:case 32878:case 3314:case 32877:case 3316:case 3315:case 34045:return this._native2.getParameterx(e)?.deepUnpack()|0;case 35977:case 36388:case 36387:return!!this._native2.getParameterx(e)?.deepUnpack()}return super.getParameter(e)}getStringi(e,t){let n=this._native2.getStringi(e,t);return n.length>0?n:null}renderbufferStorage(e,t,n,r){if(e!==this.RENDERBUFFER){this.setError(this.INVALID_ENUM);return}let i=this._activeRenderbuffer;if(!i){this.setError(this.INVALID_OPERATION);return}if(n<0||r<0){this.setError(this.INVALID_VALUE);return}for(;this._gl.getError()!==this.NO_ERROR;);if(this._gl.renderbufferStorage(e,t,n,r),this._gl.getError()!==this.NO_ERROR)return;i._width=n,i._height=r,i._format=t;let a=this._activeFramebuffer;if(a){let e=this._getAttachments(),t=!1;for(let n=0;n<e.length;++n)if(a._attachments[e[n]]===i){t=!0;break}t&&this._updateFramebufferAttachments(a)}}getSupportedExtensions(){let e=super.getSupportedExtensions();for(let t of[`EXT_color_buffer_float`,`EXT_color_buffer_half_float`,`OES_texture_half_float`])e.indexOf(t)===-1&&e.push(t);return e}readPixels(e,t,n,r,i,a,o){if(!o)return;if(n<0||r<0){this.setError(this.INVALID_VALUE);return}if(!this._framebufferOk())return;let s=i===6408||i===32856?4:i===6407?3:i===33319?2:1,c=a===5126?4:a===5131||a===36193?2:a===5125||a===5124?4:a===5123||a===5122?2:1,l=n*r*s*c,u=new Uint8Array(l);this._saveError();let d=this._gl.readPixels(e,t,n,r,i,a,Uint8ArrayToVariant(u)),f=this.getError();if(this._restoreError(f),f!==this.NO_ERROR)return;let p=d&&d.length>0?d:u;if(o instanceof Uint8Array)o.set(p);else if(o instanceof Float32Array){let e=new Float32Array(p.buffer,0,o.length);o.set(e)}}_framebufferOk(){return!0}};installObjectLifecycleMethods(Tn.prototype),installTexImage3DMethods(Tn.prototype),installUniformMethods(Tn.prototype),installClearBufferMethods(Tn.prototype),installInstancedAndFramebufferOpsMethods(Tn.prototype);function defineGlobalIfMissing(e,t){globalThis[e]===void 0&&Object.defineProperty(globalThis,e,{value:t,writable:!0,configurable:!0})}defineGlobalIfMissing(`WebGLRenderingContext`,WebGLRenderingContext$1),defineGlobalIfMissing(`WebGL2RenderingContext`,Tn);const En=Symbol(`abort`),Dn=Symbol(`internal`);var On=class AbortSignal extends EventTarget{#e=!1;reason=void 0;onabort=null;constructor(e){if(super(),e!==Dn)throw TypeError(`Illegal constructor.`)}get aborted(){if(!(this instanceof AbortSignal))throw TypeError(`'get aborted' called on an object that is not a valid instance of AbortSignal.`);return this.#e}get[Symbol.toStringTag](){return`AbortSignal`}throwIfAborted(){if(this.#e)throw this.reason}[En](e){if(this.#e)return;this.#e=!0,this.reason=e??new Fe(`The operation was aborted.`,`AbortError`);let t=new Event(`abort`);typeof this.onabort==`function`&&this.onabort.call(this,t),this.dispatchEvent(t)}static abort(e){let t=new AbortSignal(Dn);return t[En](e),t}static timeout(e){let t=new AbortSignal(Dn);return setTimeout(()=>{t[En](new Fe(`The operation timed out.`,`TimeoutError`))},e),t}static any(e){let t=new AbortSignal(Dn);for(let n of e)if(n.aborted)return t[En](n.reason),t;let onAbort=()=>{if(!t.aborted){let n=e.find(e=>e.aborted);t[En](n?.reason)}};for(let t of e)t.addEventListener(`abort`,onAbort,{once:!0});return t}},kn=class AbortController{signal;constructor(){this.signal=new On(Dn)}abort(e){if(!(this instanceof AbortController))throw TypeError(`'abort' called on an object that is not a valid instance of AbortController.`);this.signal[En](e)}};const An=globalThis;globalThis.AbortController===void 0&&(An.AbortController=kn),globalThis.AbortSignal===void 0&&(An.AbortSignal=On);const jn={CustomEvent:CustomEvent$1,MessageEvent,ErrorEvent,CloseEvent,ProgressEvent:ProgressEvent$1};for(let[e,t]of Object.entries(jn))globalThis[e]===void 0&&Object.defineProperty(globalThis,e,{value:t,writable:!0,configurable:!0});const Mn=globalThis;globalThis.DOMException===void 0&&(Mn.DOMException=Fe);const F=Symbol(`kState`),Nn=Symbol(`kType`);function isBrandCheck(e){return t=>typeof t==`object`&&!!t&&t[F]!==void 0&&t[Nn]===e}function dequeueValue(e){let t=e[F].queue.shift();if(t===void 0)throw Error(`dequeueValue called on an empty queue`);let{value:n,size:r}=t;return e[F].queueTotalSize=Math.max(0,e[F].queueTotalSize-r),n}function resetQueue(e){e[F].queue=[],e[F].queueTotalSize=0}function peekQueueValue(e){return e[F].queue[0].value}function enqueueValueWithSize(e,t,n){if(n=+n,typeof n!=`number`||n<0||Number.isNaN(n)||n===1/0)throw RangeError(`Invalid size: ${n}`);e[F].queue.push({value:t,size:n}),e[F].queueTotalSize+=n}function extractHighWaterMark(e,t){if(e===void 0)return t;if(e=+e,typeof e!=`number`||Number.isNaN(e)||e<0)throw RangeError(`Invalid highWaterMark: ${e}`);return e}function extractSizeAlgorithm(e){if(e===void 0)return()=>1;if(typeof e!=`function`)throw TypeError(`strategy.size must be a function`);return e}function transferArrayBuffer(e){return typeof ArrayBuffer.prototype.transfer==`function`?e.transfer():e.slice(0)}function isDetachedBuffer(e){if(typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||e.byteLength!==0)return!1;try{return e.slice(0,0),!1}catch{return!0}}function typedArrayConstructorByTag(e){switch(e){case`Int8Array`:return Int8Array;case`Uint8Array`:return Uint8Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Int16Array`:return Int16Array;case`Uint16Array`:return Uint16Array;case`Int32Array`:return Int32Array;case`Uint32Array`:return Uint32Array;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return typeof BigInt64Array<`u`?BigInt64Array:void 0;case`BigUint64Array`:return typeof BigUint64Array<`u`?BigUint64Array:void 0;default:return}}function elementSizeByTag(e){switch(e){case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:return 1;case`Int16Array`:case`Uint16Array`:return 2;case`Int32Array`:case`Uint32Array`:case`Float32Array`:return 4;case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:return 8;default:return 1}}function setPromiseHandled(e){e.then(()=>{},()=>{})}function createPromiseCallback(e,t,n){if(typeof t!=`function`)throw TypeError(`${e} must be a function`);return async(...e)=>t.call(n,...e)}async function nonOpFlush(){}function nonOpStart(){}async function nonOpPull(){}async function nonOpCancel(){}async function nonOpWrite(){}const Pn={__proto__:Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype),next:void 0,return:void 0};function createAsyncFromSyncIterator(e){let t={[Symbol.iterator]:()=>e.iterator},n=(async function*(){return yield*t})();return{iterator:n,nextMethod:n.next,done:!1}}function getIterator(e,t=`sync`,n){if(n===void 0)if(t===`async`){if(n=e[Symbol.asyncIterator],n==null){let t=e[Symbol.iterator];if(t===void 0)throw TypeError(`Object is not iterable`);return createAsyncFromSyncIterator(getIterator(e,`sync`,t))}}else n=e[Symbol.iterator];if(n===void 0)throw TypeError(`Object is not iterable`);let r=n.call(e);if(typeof r!=`object`||!r)throw TypeError(`The iterator method must return an object`);return{iterator:r,nextMethod:r.next,done:!1}}function iteratorNext(e,t){let n;if(n=t===void 0?e.nextMethod.call(e.iterator):e.nextMethod.call(e.iterator,t),typeof n!=`object`||!n)throw TypeError(`The iterator.next() method must return an object`);return n}const Fn=typeof globalThis.AbortController==`function`?globalThis.AbortController:class AbortControllerShim{signal={aborted:!1,reason:void 0,addEventListener(){},removeEventListener(){}};abort(e){this.signal.aborted=!0,this.signal.reason=e}},In=Symbol(`kAbort`),Ln=Symbol(`kCloseSentinel`),Rn=Symbol(`kError`),zn=Symbol(`kSkipThrow`);var WritableStream=class{[Nn]=`WritableStream`;[F];constructor(e={},t={}){if(e!=null&&typeof e!=`object`)throw TypeError(`sink must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`strategy must be an object`);let n=e?.type;if(n!==void 0)throw RangeError(`Invalid type: ${n}`);this[F]=createWritableStreamState();let r=extractSizeAlgorithm(t?.size),i=extractHighWaterMark(t?.highWaterMark,1);setupWritableStreamDefaultControllerFromSink(this,e,i,r)}get locked(){if(!Bn(this))throw TypeError(`Invalid this`);return isWritableStreamLocked(this)}abort(e){return Bn(this)?isWritableStreamLocked(this)?Promise.reject(TypeError(`WritableStream is locked`)):writableStreamAbort(this,e):Promise.reject(TypeError(`Invalid this`))}close(){return Bn(this)?isWritableStreamLocked(this)?Promise.reject(TypeError(`WritableStream is locked`)):writableStreamCloseQueuedOrInFlight(this)?Promise.reject(TypeError(`Failure closing WritableStream`)):writableStreamClose(this):Promise.reject(TypeError(`Invalid this`))}getWriter(){if(!Bn(this))throw TypeError(`Invalid this`);return new WritableStreamDefaultWriter(this)}get[Symbol.toStringTag](){return`WritableStream`}},WritableStreamDefaultWriter=class{[Nn]=`WritableStreamDefaultWriter`;[F];constructor(e){if(!Bn(e))throw TypeError(`Expected a WritableStream`);this[F]={stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0},ready:{promise:void 0,resolve:void 0,reject:void 0}},setupWritableStreamDefaultWriter(this,e)}get closed(){return Vn(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}get desiredSize(){if(!Vn(this))throw TypeError(`Invalid this`);if(this[F].stream===void 0)throw TypeError(`Writer is not bound to a WritableStream`);return writableStreamDefaultWriterGetDesiredSize(this)}get ready(){return Vn(this)?this[F].ready.promise:Promise.reject(TypeError(`Invalid this`))}abort(e){return Vn(this)?this[F].stream===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamDefaultWriterAbort(this,e):Promise.reject(TypeError(`Invalid this`))}close(){if(!Vn(this))return Promise.reject(TypeError(`Invalid this`));let{stream:e}=this[F];return e===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamCloseQueuedOrInFlight(e)?Promise.reject(TypeError(`Failure to close WritableStream`)):writableStreamDefaultWriterClose(this)}releaseLock(){if(!Vn(this))throw TypeError(`Invalid this`);let{stream:e}=this[F];e!==void 0&&writableStreamDefaultWriterRelease(this)}write(e){return Vn(this)?this[F].stream===void 0?Promise.reject(TypeError(`Writer is not bound to a WritableStream`)):writableStreamDefaultWriterWrite(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`WritableStreamDefaultWriter`}},WritableStreamDefaultController=class{[Nn]=`WritableStreamDefaultController`;[F];constructor(e){if(e!==zn)throw TypeError(`Illegal constructor`)}[In](e){let t=this[F].abortAlgorithm(e);return writableStreamDefaultControllerClearAlgorithms(this),t}[Rn](){resetQueue(this)}get signal(){if(!Hn(this))throw TypeError(`Invalid this`);return this[F].abortController.signal}error(e){if(!Hn(this))throw TypeError(`Invalid this`);this[F].stream[F].state===`writable`&&writableStreamDefaultControllerError(this,e)}get[Symbol.toStringTag](){return`WritableStreamDefaultController`}};const Bn=isBrandCheck(`WritableStream`),Vn=isBrandCheck(`WritableStreamDefaultWriter`),Hn=isBrandCheck(`WritableStreamDefaultController`);function createEmptyPromiseRecord(){return{promise:void 0,resolve:void 0,reject:void 0}}function createWritableStreamState(){return{close:Promise.withResolvers(),closeRequest:createEmptyPromiseRecord(),inFlightWriteRequest:createEmptyPromiseRecord(),inFlightCloseRequest:createEmptyPromiseRecord(),pendingAbortRequest:{abort:createEmptyPromiseRecord(),reason:void 0,wasAlreadyErroring:!1},backpressure:!1,controller:void 0,state:`writable`,storedError:void 0,writeRequests:[],writer:void 0}}function isWritableStreamLocked(e){return e[F].writer!==void 0}function setupWritableStreamDefaultWriter(e,t){if(isWritableStreamLocked(t))throw TypeError(`WritableStream is locked`);switch(e[F].stream=t,t[F].writer=e,t[F].state){case`writable`:!writableStreamCloseQueuedOrInFlight(t)&&t[F].backpressure?e[F].ready=Promise.withResolvers():e[F].ready={promise:Promise.resolve(),resolve:void 0,reject:void 0},e[F].close=Promise.withResolvers();break;case`erroring`:e[F].ready={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise),e[F].close=Promise.withResolvers();break;case`closed`:e[F].ready={promise:Promise.resolve(),resolve:void 0,reject:void 0},e[F].close={promise:Promise.resolve(),resolve:void 0,reject:void 0};break;default:e[F].ready={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},e[F].close={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise),setPromiseHandled(e[F].close.promise)}}function writableStreamAbort(e,t){let{state:n,controller:r}=e[F];if(n===`closed`||n===`errored`)return Promise.resolve();if(r[F].abortController.abort(t),e[F].pendingAbortRequest.abort.promise!==void 0)return e[F].pendingAbortRequest.abort.promise;let i=!1;n===`erroring`&&(i=!0,t=void 0);let a=Promise.withResolvers();return e[F].pendingAbortRequest={abort:a,reason:t,wasAlreadyErroring:i},i||writableStreamStartErroring(e,t),a.promise}function writableStreamClose(e){let{state:t,writer:n,backpressure:r,controller:i}=e[F];if(t===`closed`||t===`errored`)return Promise.reject(TypeError(`WritableStream is closed`));e[F].closeRequest=Promise.withResolvers();let{promise:a}=e[F].closeRequest;return n!==void 0&&r&&t===`writable`&&n[F].ready.resolve?.(),writableStreamDefaultControllerClose(i),a}function writableStreamUpdateBackpressure(e,t){let{writer:n}=e[F];n!==void 0&&e[F].backpressure!==t&&(t?n[F].ready=Promise.withResolvers():n[F].ready.resolve?.()),e[F].backpressure=t}function writableStreamStartErroring(e,t){let{controller:n,writer:r}=e[F];e[F].state=`erroring`,e[F].storedError=t,r!==void 0&&writableStreamDefaultWriterEnsureReadyPromiseRejected(r,t),!writableStreamHasOperationMarkedInFlight(e)&&n[F].started&&writableStreamFinishErroring(e)}function writableStreamRejectCloseAndClosedPromiseIfNeeded(e){e[F].closeRequest.promise!==void 0&&(e[F].closeRequest.reject?.(e[F].storedError),e[F].closeRequest={promise:void 0,resolve:void 0,reject:void 0}),setPromiseHandled(e[F].close.promise),e[F].close.reject?.(e[F].storedError);let{writer:t}=e[F];t!==void 0&&(setPromiseHandled(t[F].close.promise),t[F].close.reject?.(e[F].storedError))}function writableStreamMarkFirstWriteRequestInFlight(e){let t=e[F].writeRequests.shift();e[F].inFlightWriteRequest=t}function writableStreamMarkCloseRequestInFlight(e){e[F].inFlightCloseRequest=e[F].closeRequest,e[F].closeRequest={promise:void 0,resolve:void 0,reject:void 0}}function writableStreamHasOperationMarkedInFlight(e){return e[F].inFlightWriteRequest.promise!==void 0||e[F].inFlightCloseRequest.promise!==void 0}function writableStreamFinishInFlightWriteWithError(e,t){e[F].inFlightWriteRequest.reject?.(t),e[F].inFlightWriteRequest={promise:void 0,resolve:void 0,reject:void 0},writableStreamDealWithRejection(e,t)}function writableStreamFinishInFlightWrite(e){e[F].inFlightWriteRequest.resolve?.(),e[F].inFlightWriteRequest={promise:void 0,resolve:void 0,reject:void 0}}function writableStreamFinishInFlightCloseWithError(e,t){e[F].inFlightCloseRequest.reject?.(t),e[F].inFlightCloseRequest={promise:void 0,resolve:void 0,reject:void 0},e[F].pendingAbortRequest.abort.promise!==void 0&&(e[F].pendingAbortRequest.abort.reject?.(t),e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1}),writableStreamDealWithRejection(e,t)}function writableStreamFinishInFlightClose(e){e[F].inFlightCloseRequest.resolve?.(),e[F].inFlightCloseRequest={promise:void 0,resolve:void 0,reject:void 0},e[F].state===`erroring`&&(e[F].storedError=void 0,e[F].pendingAbortRequest.abort.promise!==void 0&&(e[F].pendingAbortRequest.abort.resolve?.(),e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1})),e[F].state=`closed`,e[F].writer!==void 0&&e[F].writer[F].close.resolve?.(),e[F].close.resolve?.()}function writableStreamFinishErroring(e){e[F].state=`errored`,e[F].controller[Rn]();let t=e[F].storedError;for(let n of e[F].writeRequests)n.reject?.(t);if(e[F].writeRequests=[],e[F].pendingAbortRequest.abort.promise===void 0){writableStreamRejectCloseAndClosedPromiseIfNeeded(e);return}let n=e[F].pendingAbortRequest;if(e[F].pendingAbortRequest={abort:{promise:void 0,resolve:void 0,reject:void 0},reason:void 0,wasAlreadyErroring:!1},n.wasAlreadyErroring){n.abort.reject?.(t),writableStreamRejectCloseAndClosedPromiseIfNeeded(e);return}e[F].controller[In](n.reason).then(()=>{n.abort.resolve?.(),writableStreamRejectCloseAndClosedPromiseIfNeeded(e)},t=>{n.abort.reject?.(t),writableStreamRejectCloseAndClosedPromiseIfNeeded(e)})}function writableStreamDealWithRejection(e,t){if(e[F].state===`writable`){writableStreamStartErroring(e,t);return}writableStreamFinishErroring(e)}function writableStreamCloseQueuedOrInFlight(e){return e[F].closeRequest.promise!==void 0||e[F].inFlightCloseRequest.promise!==void 0}function writableStreamAddWriteRequest(e){let{promise:t,resolve:n,reject:r}=Promise.withResolvers();return e[F].writeRequests.push({promise:t,resolve:n,reject:r}),t}function writableStreamDefaultWriterWrite(e,t){let{stream:n}=e[F],{controller:r}=n[F],i=writableStreamDefaultControllerGetChunkSize(r,t);if(n!==e[F].stream)return Promise.reject(TypeError(`Mismatched WritableStreams`));let{state:a}=n[F];if(a===`errored`)return Promise.reject(n[F].storedError);if(writableStreamCloseQueuedOrInFlight(n)||a===`closed`)return Promise.reject(TypeError(`WritableStream is closed`));if(a===`erroring`)return Promise.reject(n[F].storedError);let o=writableStreamAddWriteRequest(n);return writableStreamDefaultControllerWrite(r,t,i),o}function writableStreamDefaultWriterRelease(e){let{stream:t}=e[F],n=TypeError(`Writer has been released`);writableStreamDefaultWriterEnsureReadyPromiseRejected(e,n),writableStreamDefaultWriterEnsureClosedPromiseRejected(e,n),t[F].writer=void 0,e[F].stream=void 0}function writableStreamDefaultWriterGetDesiredSize(e){let{stream:t}=e[F];switch(t[F].state){case`errored`:case`erroring`:return null;case`closed`:return 0}return writableStreamDefaultControllerGetDesiredSize(t[F].controller)}function writableStreamDefaultWriterEnsureReadyPromiseRejected(e,t){e[F].ready.reject?(e[F].ready.reject(t),e[F].ready.resolve=void 0,e[F].ready.reject=void 0):e[F].ready={promise:Promise.reject(t),resolve:void 0,reject:void 0},setPromiseHandled(e[F].ready.promise)}function writableStreamDefaultWriterEnsureClosedPromiseRejected(e,t){e[F].close.reject?(e[F].close.reject(t),e[F].close.resolve=void 0,e[F].close.reject=void 0):e[F].close={promise:Promise.reject(t),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise)}function writableStreamDefaultWriterCloseWithErrorPropagation(e){let{stream:t}=e[F],{state:n}=t[F];return writableStreamCloseQueuedOrInFlight(t)||n===`closed`?Promise.resolve():n===`errored`?Promise.reject(t[F].storedError):writableStreamDefaultWriterClose(e)}function writableStreamDefaultWriterClose(e){return writableStreamClose(e[F].stream)}function writableStreamDefaultWriterAbort(e,t){return writableStreamAbort(e[F].stream,t)}function writableStreamDefaultControllerWrite(e,t,n){try{enqueueValueWithSize(e,t,n)}catch(t){writableStreamDefaultControllerErrorIfNeeded(e,t);return}let{stream:r}=e[F];!writableStreamCloseQueuedOrInFlight(r)&&r[F].state===`writable`&&writableStreamUpdateBackpressure(r,writableStreamDefaultControllerGetBackpressure(e)),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)}function writableStreamDefaultControllerProcessWrite(e,t){let{stream:n,writeAlgorithm:r}=e[F];writableStreamMarkFirstWriteRequestInFlight(n),r(t,e).then(()=>{writableStreamFinishInFlightWrite(n);let{state:t}=n[F];dequeueValue(e),!writableStreamCloseQueuedOrInFlight(n)&&t===`writable`&&writableStreamUpdateBackpressure(n,writableStreamDefaultControllerGetBackpressure(e)),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)},t=>{n[F].state===`writable`&&writableStreamDefaultControllerClearAlgorithms(e),writableStreamFinishInFlightWriteWithError(n,t)})}function writableStreamDefaultControllerProcessClose(e){let{closeAlgorithm:t,stream:n}=e[F];writableStreamMarkCloseRequestInFlight(n),dequeueValue(e);let r=t();writableStreamDefaultControllerClearAlgorithms(e),r.then(()=>writableStreamFinishInFlightClose(n),e=>writableStreamFinishInFlightCloseWithError(n,e))}function writableStreamDefaultControllerGetDesiredSize(e){return e[F].highWaterMark-e[F].queueTotalSize}function writableStreamDefaultControllerGetChunkSize(e,t){let{sizeAlgorithm:n}=e[F];if(n===void 0)return 1;try{return n(t)}catch(t){return writableStreamDefaultControllerErrorIfNeeded(e,t),1}}function writableStreamDefaultControllerErrorIfNeeded(e,t){e[F].stream[F].state===`writable`&&writableStreamDefaultControllerError(e,t)}function writableStreamDefaultControllerError(e,t){writableStreamDefaultControllerClearAlgorithms(e),writableStreamStartErroring(e[F].stream,t)}function writableStreamDefaultControllerClose(e){enqueueValueWithSize(e,Ln,0),writableStreamDefaultControllerAdvanceQueueIfNeeded(e)}function writableStreamDefaultControllerClearAlgorithms(e){e[F].writeAlgorithm=void 0,e[F].closeAlgorithm=void 0,e[F].abortAlgorithm=void 0,e[F].sizeAlgorithm=void 0}function writableStreamDefaultControllerGetBackpressure(e){return writableStreamDefaultControllerGetDesiredSize(e)<=0}function writableStreamDefaultControllerAdvanceQueueIfNeeded(e){let{queue:t,started:n,stream:r}=e[F];if(!n||r[F].inFlightWriteRequest.promise!==void 0)return;if(r[F].state===`erroring`){writableStreamFinishErroring(r);return}if(!t.length)return;let i=peekQueueValue(e);i===Ln?writableStreamDefaultControllerProcessClose(e):writableStreamDefaultControllerProcessWrite(e,i)}function setupWritableStreamDefaultControllerFromSink(e,t,n,r){let i=new WritableStreamDefaultController(zn),a=t?.start,o=t?.write,s=t?.close,c=t?.abort;setupWritableStreamDefaultController(e,i,a?a.bind(t,i):nonOpStart,o?createPromiseCallback(`sink.write`,o,t):nonOpWrite,s?createPromiseCallback(`sink.close`,s,t):nonOpCancel,c?createPromiseCallback(`sink.abort`,c,t):nonOpCancel,n,r)}function setupWritableStreamDefaultController(e,t,n,r,i,a,o,s){t[F]={abortAlgorithm:a,closeAlgorithm:i,highWaterMark:o,queue:[],queueTotalSize:0,abortController:new Fn,sizeAlgorithm:s,started:!1,stream:e,writeAlgorithm:r},e[F].controller=t,writableStreamUpdateBackpressure(e,writableStreamDefaultControllerGetBackpressure(t));let c=n();new Promise(e=>e(c)).then(()=>{t[F].started=!0,writableStreamDefaultControllerAdvanceQueueIfNeeded(t)},n=>{t[F].started=!0,writableStreamDealWithRejection(e,n)})}function createWritableStream(e,t,n,r,i=1,a=()=>1){let o=Object.create(WritableStream.prototype);return o[Nn]=`WritableStream`,o[F]=createWritableStreamState(),setupWritableStreamDefaultController(o,new WritableStreamDefaultController(zn),e,t,n,r,i,a),o}const Un=Symbol(`kCancel`),Wn=Symbol(`kClose`),Gn=Symbol(`kChunk`),Kn=Symbol(`kError`),qn=Symbol(`kPull`),Jn=Symbol(`kRelease`),Yn=Symbol(`kSkipThrow`);let Xn,Zn;function lazyReadableReleasedError(){return Xn||(Xn=TypeError(`Reader released`),Xn)}function lazyReadableReleasingError(){return Zn||(Zn=TypeError(`Releasing reader`),Zn)}function createAbortError(){if(typeof globalThis.DOMException==`function`)return new DOMException(`The operation was aborted`,`AbortError`);let e=Error(`The operation was aborted`);return e.name=`AbortError`,e}function createReadableStreamState(){return{disturbed:!1,reader:void 0,state:`readable`,storedError:void 0,controller:void 0,closedPromise:Promise.withResolvers()}}var ReadableStream$1=class{static{__name(this,`ReadableStream`)}[Nn]=`ReadableStream`;[F];constructor(e={},t={}){if(e!=null&&typeof e!=`object`)throw TypeError(`source must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`strategy must be an object`);this[F]=createReadableStreamState();let n=t?.size,r=t?.highWaterMark,i=e?.type;if(i!==void 0){if(`${i}`==`bytes`){if(n!==void 0)throw RangeError(`strategy.size must not be set for a byte stream`);setupReadableByteStreamControllerFromSource(this,e,extractHighWaterMark(r,0));return}throw RangeError(`Invalid type: ${i}`)}setupReadableStreamDefaultControllerFromSource(this,e,extractHighWaterMark(r,1),extractSizeAlgorithm(n))}get locked(){if(!Qn(this))throw TypeError(`Invalid this`);return isReadableStreamLocked(this)}static from(e){return readableStreamFromIterable(e)}cancel(e=void 0){return Qn(this)?isReadableStreamLocked(this)?Promise.reject(TypeError(`ReadableStream is locked`)):readableStreamCancel(this,e):Promise.reject(TypeError(`Invalid this`))}getReader(e={}){if(!Qn(this))throw TypeError(`Invalid this`);if(e!=null&&typeof e!=`object`)throw TypeError(`options must be an object`);let t=e?.mode;if(t===void 0)return new ReadableStreamDefaultReader(this);if(`${t}`==`byob`)return new ReadableStreamBYOBReader(this);throw RangeError(`Invalid mode: ${t}`)}pipeThrough(e,t={}){if(!Qn(this))throw TypeError(`Invalid this`);let n=e?.readable;if(!Qn(n))throw TypeError(`transform.readable must be a ReadableStream`);let r=e?.writable;if(!Bn(r))throw TypeError(`transform.writable must be a WritableStream`);if(t!=null&&typeof t!=`object`)throw TypeError(`options must be an object`);let i=t?.preventAbort,a=t?.preventCancel,o=t?.preventClose,s=t?.signal;if(s!==void 0&&!(s instanceof Object&&`aborted`in s))throw TypeError(`options.signal must be an AbortSignal`);if(isReadableStreamLocked(this))throw TypeError(`The ReadableStream is locked`);if(isWritableStreamLocked(r))throw TypeError(`The WritableStream is locked`);return setPromiseHandled(readableStreamPipeTo(this,r,!!o,!!i,!!a,s)),n}pipeTo(e,t={}){try{if(!Qn(this))throw TypeError(`Invalid this`);if(!Bn(e))throw TypeError(`destination must be a WritableStream`);if(t!=null&&typeof t!=`object`)throw TypeError(`options must be an object`);let n=t?.preventAbort,r=t?.preventCancel,i=t?.preventClose,a=t?.signal;if(a!==void 0&&!(a instanceof Object&&`aborted`in a))throw TypeError(`options.signal must be an AbortSignal`);if(isReadableStreamLocked(this))throw TypeError(`The ReadableStream is locked`);if(isWritableStreamLocked(e))throw TypeError(`The WritableStream is locked`);return readableStreamPipeTo(this,e,!!i,!!n,!!r,a)}catch(e){return Promise.reject(e)}}tee(){if(!Qn(this))throw TypeError(`Invalid this`);let e=this[F].controller;return tr(e)?readableByteStreamTee(this):readableStreamDefaultTee(this,!1)}values(e={}){if(!Qn(this))throw TypeError(`Invalid this`);if(e!=null&&typeof e!=`object`)throw TypeError(`options must be an object`);let t=!!e?.preventCancel,n=new ReadableStreamDefaultReader(this),r={done:!1,current:void 0},i=!1;function nextSteps(){if(r.done)return Promise.resolve({done:!0,value:void 0});if(n[F].stream===void 0)return Promise.reject(TypeError(`The reader is not bound to a ReadableStream`));let{promise:e,resolve:t,reject:i}=Promise.withResolvers();return readableStreamDefaultReaderRead(n,{[Gn](e){r.current=void 0,t({value:e,done:!1})},[Wn](){r.current=void 0,r.done=!0,readableStreamReaderGenericRelease(n),t({done:!0,value:void 0})},[Kn](e){r.current=void 0,r.done=!0,readableStreamReaderGenericRelease(n),i(e)}}),e}async function returnSteps(e){if(r.done)return{done:!0,value:e};if(r.done=!0,n[F].stream===void 0)throw TypeError(`The reader is not bound to a ReadableStream`);if(!t){let t=readableStreamReaderGenericCancel(n,e);return readableStreamReaderGenericRelease(n),await t,{done:!0,value:e}}return readableStreamReaderGenericRelease(n),{done:!0,value:e}}return Object.setPrototypeOf({next(){return i||=(r.current=Promise.resolve(),!0),r.current=r.current===void 0?nextSteps():r.current.then(nextSteps,nextSteps),r.current},return(e){return i=!0,r.current=r.current===void 0?returnSteps(e):r.current.then(()=>returnSteps(e),()=>returnSteps(e)),r.current},[Symbol.asyncIterator](){return this}},Pn)}[Symbol.asyncIterator](){return this.values()}get[Symbol.toStringTag](){return`ReadableStream`}},DefaultReadRequest=class{[F];constructor(){this[F]=Promise.withResolvers()}[Gn](e){this[F].resolve?.({value:e,done:!1})}[Wn](){this[F].resolve?.({value:void 0,done:!0})}[Kn](e){this[F].reject?.(e)}get promise(){return this[F].promise}},ReadableStreamDefaultReader=class{[Nn]=`ReadableStreamDefaultReader`;[F];constructor(e){if(!Qn(e))throw TypeError(`Expected a ReadableStream`);this[F]={readRequests:[],readIntoRequests:[],stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0}},setupReadableStreamDefaultReader(this,e)}read(){if(!er(this))return Promise.reject(TypeError(`Invalid this`));if(this[F].stream===void 0)return Promise.reject(TypeError(`The reader is not attached to a stream`));let e=this[F].stream,t=e[F].controller;if(e[F].state===`readable`&&$n(t)&&t[F].queue.length>0){e[F].disturbed=!0;let n=dequeueValue(t);return t[F].closeRequested&&!t[F].queue.length?(readableStreamDefaultControllerClearAlgorithms(t),readableStreamClose(e)):readableStreamDefaultControllerCallPullIfNeeded(t),Promise.resolve({value:n,done:!1})}let n=new DefaultReadRequest;return readableStreamDefaultReaderRead(this,n),n.promise}releaseLock(){if(!er(this))throw TypeError(`Invalid this`);this[F].stream!==void 0&&readableStreamDefaultReaderRelease(this)}get closed(){return er(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}cancel(e=void 0){return er(this)?this[F].stream===void 0?Promise.reject(TypeError(`The reader is not attached to a stream`)):readableStreamReaderGenericCancel(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`ReadableStreamDefaultReader`}},ReadableStreamDefaultController=class{[Nn]=`ReadableStreamDefaultController`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get desiredSize(){return readableStreamDefaultControllerGetDesiredSize(this)}close(){if(!readableStreamDefaultControllerCanCloseOrEnqueue(this))throw TypeError(`Controller is already closed`);readableStreamDefaultControllerClose(this)}enqueue(e=void 0){if(!readableStreamDefaultControllerCanCloseOrEnqueue(this))throw TypeError(`Controller is already closed`);readableStreamDefaultControllerEnqueue(this,e)}error(e=void 0){readableStreamDefaultControllerError(this,e)}[Un](e){return readableStreamDefaultControllerCancelSteps(this,e)}[qn](e){readableStreamDefaultControllerPullSteps(this,e)}[Jn](){}get[Symbol.toStringTag](){return`ReadableStreamDefaultController`}};const Qn=isBrandCheck(`ReadableStream`),$n=isBrandCheck(`ReadableStreamDefaultController`),er=isBrandCheck(`ReadableStreamDefaultReader`);function isReadableStreamLocked(e){return e[F].reader!==void 0}function readableStreamCancel(e,t){switch(e[F].disturbed=!0,e[F].state){case`closed`:return Promise.resolve();case`errored`:return Promise.reject(e[F].storedError)}readableStreamClose(e);let n=e[F].reader;if(n!==void 0&&readableStreamHasBYOBReader(e)){let e=n[F].readIntoRequests;n[F].readIntoRequests=[];for(let t=0;t<e.length;t++)e[t][Wn](void 0)}return e[F].controller[Un](t).then(()=>{})}function readableStreamClose(e){e[F].state=`closed`,e[F].closedPromise.resolve();let{reader:t}=e[F];if(t!==void 0&&(t[F].close.resolve?.(),readableStreamHasDefaultReader(e))){for(let e=0;e<t[F].readRequests.length;e++)t[F].readRequests[e][Wn]();t[F].readRequests=[]}}function readableStreamError(e,t){e[F].state=`errored`,e[F].storedError=t,setPromiseHandled(e[F].closedPromise.promise),e[F].closedPromise.reject(t);let{reader:n}=e[F];if(n!==void 0){if(setPromiseHandled(n[F].close.promise),n[F].close.reject?.(t),readableStreamHasDefaultReader(e)){for(let e=0;e<n[F].readRequests.length;e++)n[F].readRequests[e][Kn](t);n[F].readRequests=[]}else if(readableStreamHasBYOBReader(e)){for(let e=0;e<n[F].readIntoRequests.length;e++)n[F].readIntoRequests[e][Kn](t);n[F].readIntoRequests=[]}}}function readableStreamHasDefaultReader(e){let{reader:t}=e[F];return t===void 0?!1:t[F]!==void 0&&t[Nn]===`ReadableStreamDefaultReader`}function readableStreamGetNumReadRequests(e){return e[F].reader[F].readRequests.length}function readableStreamFulfillReadRequest(e,t,n){let{reader:r}=e[F],i=r[F].readRequests.shift();n?i[Wn]():i[Gn](t)}function readableStreamAddReadRequest(e,t){e[F].reader[F].readRequests.push(t)}function readableStreamReaderGenericCancel(e,t){let{stream:n}=e[F];return readableStreamCancel(n,t)}function readableStreamReaderGenericInitialize(e,t){switch(e[F].stream=t,t[F].reader=e,t[F].state){case`readable`:e[F].close=Promise.withResolvers();break;case`closed`:e[F].close={promise:Promise.resolve(),resolve:void 0,reject:void 0};break;case`errored`:e[F].close={promise:Promise.reject(t[F].storedError),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise);break}}function readableStreamReaderGenericRelease(e){let{stream:t}=e[F],n=lazyReadableReleasedError();t[F].state===`readable`?e[F].close.reject?.(n):e[F].close={promise:Promise.reject(n),resolve:void 0,reject:void 0},setPromiseHandled(e[F].close.promise),t[F].controller[Jn](),t[F].reader=void 0,e[F].stream=void 0}function readableStreamDefaultReaderRelease(e){readableStreamReaderGenericRelease(e),readableStreamDefaultReaderErrorReadRequests(e,lazyReadableReleasingError())}function readableStreamDefaultReaderErrorReadRequests(e,t){for(let n=0;n<e[F].readRequests.length;++n)e[F].readRequests[n][Kn](t);e[F].readRequests=[]}function readableStreamDefaultReaderRead(e,t){let{stream:n}=e[F];switch(n[F].disturbed=!0,n[F].state){case`closed`:t[Wn]();break;case`errored`:t[Kn](n[F].storedError);break;case`readable`:n[F].controller[qn](t);break}}function setupReadableStreamDefaultReader(e,t){if(isReadableStreamLocked(t))throw TypeError(`ReadableStream is locked`);readableStreamReaderGenericInitialize(e,t),e[F].readRequests=[]}function readableStreamDefaultControllerClose(e){readableStreamDefaultControllerCanCloseOrEnqueue(e)&&(e[F].closeRequested=!0,e[F].queue.length||(readableStreamDefaultControllerClearAlgorithms(e),readableStreamClose(e[F].stream)))}function readableStreamDefaultControllerEnqueue(e,t){if(!readableStreamDefaultControllerCanCloseOrEnqueue(e))return;let{stream:n}=e[F];if(isReadableStreamLocked(n)&&readableStreamGetNumReadRequests(n))readableStreamFulfillReadRequest(n,t,!1);else try{enqueueValueWithSize(e,t,e[F].sizeAlgorithm(t))}catch(t){throw readableStreamDefaultControllerError(e,t),t}readableStreamDefaultControllerCallPullIfNeeded(e)}function readableStreamDefaultControllerCanCloseOrEnqueue(e){let{stream:t}=e[F];return!e[F].closeRequested&&t[F].state===`readable`}function readableStreamDefaultControllerGetDesiredSize(e){let{stream:t,highWaterMark:n,queueTotalSize:r}=e[F];switch(t[F].state){case`errored`:return null;case`closed`:return 0;default:return n-r}}function readableStreamDefaultControllerHasBackpressure(e){return!readableStreamDefaultControllerShouldCallPull(e)}function readableStreamDefaultControllerShouldCallPull(e){let{stream:t}=e[F];if(!readableStreamDefaultControllerCanCloseOrEnqueue(e)||!e[F].started)return!1;if(isReadableStreamLocked(t)&&readableStreamGetNumReadRequests(t))return!0;let n=readableStreamDefaultControllerGetDesiredSize(e);return n!==null&&n>0}function readableStreamDefaultControllerCallPullIfNeeded(e){if(readableStreamDefaultControllerShouldCallPull(e)){if(e[F].pulling){e[F].pullAgain=!0;return}e[F].pulling=!0,e[F].pullAlgorithm(e).then(()=>{e[F].pulling=!1,e[F].pullAgain&&(e[F].pullAgain=!1,readableStreamDefaultControllerCallPullIfNeeded(e))},t=>readableStreamDefaultControllerError(e,t))}}function readableStreamDefaultControllerClearAlgorithms(e){e[F].pullAlgorithm=void 0,e[F].cancelAlgorithm=void 0,e[F].sizeAlgorithm=void 0}function readableStreamDefaultControllerError(e,t){let{stream:n}=e[F];n[F].state===`readable`&&(resetQueue(e),readableStreamDefaultControllerClearAlgorithms(e),readableStreamError(n,t))}function readableStreamDefaultControllerCancelSteps(e,t){resetQueue(e);let n=e[F].cancelAlgorithm?.(t)??Promise.resolve();return readableStreamDefaultControllerClearAlgorithms(e),n}function readableStreamDefaultControllerPullSteps(e,t){let{stream:n,queue:r}=e[F];if(r.length){let i=dequeueValue(e);e[F].closeRequested&&!r.length?(readableStreamDefaultControllerClearAlgorithms(e),readableStreamClose(n)):readableStreamDefaultControllerCallPullIfNeeded(e),t[Gn](i);return}readableStreamAddReadRequest(n,t),readableStreamDefaultControllerCallPullIfNeeded(e)}function setupReadableStreamDefaultController(e,t,n,r,i,a,o){t[F]={cancelAlgorithm:i,closeRequested:!1,highWaterMark:a,pullAgain:!1,pullAlgorithm:r,pulling:!1,queue:[],queueTotalSize:0,started:!1,sizeAlgorithm:o,stream:e},e[F].controller=t;let s=n();new Promise(e=>e(s)).then(()=>{t[F].started=!0,readableStreamDefaultControllerCallPullIfNeeded(t)},e=>readableStreamDefaultControllerError(t,e))}function setupReadableStreamDefaultControllerFromSource(e,t,n,r){let i=new ReadableStreamDefaultController(Yn),a=t?.start,o=t?.pull,s=t?.cancel;setupReadableStreamDefaultController(e,i,a?a.bind(t,i):nonOpStart,o?createPromiseCallback(`source.pull`,o,t):nonOpPull,s?createPromiseCallback(`source.cancel`,s,t):nonOpCancel,n,r)}function createReadableStream(e,t,n,r=1,i=()=>1){let a=Object.create(ReadableStream$1.prototype);return a[Nn]=`ReadableStream`,a[F]=createReadableStreamState(),setupReadableStreamDefaultController(a,new ReadableStreamDefaultController(Yn),e,t,n,r,i),a}function readableStreamFromIterable(e){let t,n=getIterator(e,`async`),r=nonOpStart;async function pullAlgorithm(){let e=iteratorNext(n);return Promise.resolve(e).then(e=>{if(typeof e!=`object`||!e)throw TypeError(`The promise returned by the iterator.next() method must fulfill with an object`);e.done?readableStreamDefaultControllerClose(t[F].controller):readableStreamDefaultControllerEnqueue(t[F].controller,e.value)})}async function cancelAlgorithm(e){let t=n.iterator,r=t.return;if(r===void 0)return Promise.resolve();let i=r.call(t,e);return Promise.resolve(i).then(e=>{if(typeof e!=`object`||!e)throw TypeError(`The promise returned by the iterator.return() method must fulfill with an object`)})}return t=createReadableStream(r,pullAlgorithm,cancelAlgorithm,0),t}function readableStreamPipeTo(e,t,n,r,i,a){let o,s;try{o=new ReadableStreamDefaultReader(e),s=new WritableStreamDefaultWriter(t)}catch(e){return Promise.reject(e)}e[F].disturbed=!0;let c=!1,{promise:l,resolve:u,reject:d}=Promise.withResolvers(),f={currentWrite:Promise.resolve()},p;function finalize(e,t){writableStreamDefaultWriterRelease(s),readableStreamReaderGenericRelease(o),a!==void 0&&p&&(a.removeEventListener(`abort`,p),p=void 0),e?d(t):u()}async function waitForCurrentWrite(){let e=f.currentWrite;await e,e!==f.currentWrite&&await waitForCurrentWrite()}function shutdownWithAnAction(e,n,r){if(c)return;if(c=!0,t[F].state===`writable`&&!writableStreamCloseQueuedOrInFlight(t)){waitForCurrentWrite().then(complete,e=>finalize(!0,e));return}complete();function complete(){e().then(()=>finalize(!!n,r),e=>finalize(!0,e))}}function shutdown(e,n){if(!c){if(c=!0,t[F].state===`writable`&&!writableStreamCloseQueuedOrInFlight(t)){waitForCurrentWrite().then(()=>finalize(!!e,n),e=>finalize(!0,e));return}finalize(!!e,n)}}function abortAlgorithm(){let n;n=a.reason&&a.reason.name===`AbortError`?createAbortError():a.reason;let o=[];r||o.push(()=>t[F].state===`writable`?writableStreamAbort(t,n):Promise.resolve()),i||o.push(()=>e[F].state===`readable`?readableStreamCancel(e,n):Promise.resolve()),shutdownWithAnAction(()=>Promise.all(o.map(e=>e())).then(()=>void 0),!0,n)}function watchErrored(e,t,n){e[F].state===`errored`?n(e[F].storedError):t.then(void 0,n)}function watchClosed(e,t,n){e[F].state===`closed`?n():t.then(n,()=>{})}class PipeToReadRequest{[Gn](e){A(()=>{f.currentWrite=writableStreamDefaultWriterWrite(s,e),setPromiseHandled(f.currentWrite),m.resolve(!1)})}[Wn](){m.resolve(!0)}[Kn](e){m.reject(e)}}let m={resolve:null,reject:null};async function step(){if(c||t[F].backpressure&&(await s[F].ready.promise,c))return!0;let n=e[F].controller;if(e[F].state===`readable`&&$n(n)&&n[F].queue.length>0){for(;n[F].queue.length>0;){if(c)return!0;let r=dequeueValue(n);if(n[F].closeRequested&&!n[F].queue.length&&(readableStreamDefaultControllerClearAlgorithms(n),readableStreamClose(e)),f.currentWrite=writableStreamDefaultWriterWrite(s,r),setPromiseHandled(f.currentWrite),t[F].backpressure||t[F].state!==`writable`||writableStreamCloseQueuedOrInFlight(t))break}return readableStreamDefaultControllerCallPullIfNeeded(n),e[F].state===`closed`}let{promise:r,resolve:i,reject:a}=Promise.withResolvers();return m={resolve:i,reject:a},readableStreamDefaultReaderRead(o,new PipeToReadRequest),r}async function run(){for(;!await step(););}if(a!==void 0){if(a.aborted)return abortAlgorithm(),l;p=abortAlgorithm,a.addEventListener(`abort`,p,{once:!0})}if(setPromiseHandled(run()),watchErrored(e,o[F].close.promise,e=>{if(!r)return shutdownWithAnAction(()=>writableStreamAbort(t,e),!0,e);shutdown(!0,e)}),watchErrored(t,s[F].close.promise,t=>{if(!i)return shutdownWithAnAction(()=>readableStreamCancel(e,t),!0,t);shutdown(!0,t)}),watchClosed(e,o[F].close.promise,()=>{if(!n)return shutdownWithAnAction(()=>writableStreamDefaultWriterCloseWithErrorPropagation(s));shutdown()}),writableStreamCloseQueuedOrInFlight(t)||t[F].state===`closed`){let t=TypeError(`Destination WritableStream is closed`);i?shutdown(!0,t):shutdownWithAnAction(()=>readableStreamCancel(e,t),!0,t)}return l}function readableStreamDefaultTee(e,t){let n=new ReadableStreamDefaultReader(e),r=!1,i=!1,a=!1,o,s,c,l,u=Promise.withResolvers();async function pullAlgorithm(){r||(r=!0,readableStreamDefaultReaderRead(n,{[Gn](e){A(()=>{r=!1;let n=e,o=e;if(!a&&t)try{o=structuredClone(o)}catch{}i||readableStreamDefaultControllerEnqueue(c[F].controller,n),a||readableStreamDefaultControllerEnqueue(l[F].controller,o)})},[Wn](){A(()=>{r=!1,i||readableStreamDefaultControllerClose(c[F].controller),a||readableStreamDefaultControllerClose(l[F].controller),(!i||!a)&&u.resolve(void 0)})},[Kn](){r=!1}}))}function cancel1Algorithm(t){if(i=!0,o=t,a){let t=[o,s];u.resolve(readableStreamCancel(e,t))}return u.promise}function cancel2Algorithm(t){if(a=!0,s=t,i){let t=[o,s];u.resolve(readableStreamCancel(e,t))}return u.promise}return c=createReadableStream(nonOpStart,pullAlgorithm,cancel1Algorithm),l=createReadableStream(nonOpStart,pullAlgorithm,cancel2Algorithm),n[F].close.promise.then(void 0,e=>{readableStreamDefaultControllerError(c[F].controller,e),readableStreamDefaultControllerError(l[F].controller,e),(!i||!a)&&u.resolve(void 0)}),[c,l]}var BYOBReadIntoRequest=class{[F];constructor(){this[F]=Promise.withResolvers()}[Gn](e){this[F].resolve?.({value:e,done:!1})}[Wn](e){this[F].resolve?.({value:e,done:!0})}[Kn](e){this[F].reject?.(e)}get promise(){return this[F].promise}},ReadableStreamBYOBReader=class{[Nn]=`ReadableStreamBYOBReader`;[F];constructor(e){if(!Qn(e))throw TypeError(`Expected a ReadableStream`);this[F]={readRequests:[],readIntoRequests:[],stream:void 0,close:{promise:void 0,resolve:void 0,reject:void 0}},setupReadableStreamBYOBReader(this,e)}read(e,t={}){if(!nr(this))return Promise.reject(TypeError(`Invalid this`));if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))return Promise.reject(TypeError(`view must be an ArrayBufferView`));let n=e.buffer,r=e.byteLength;if(r===0)return Promise.reject(TypeError(`view must have non-zero byteLength`));if(n.byteLength===0)return isDetachedBuffer(n)?Promise.reject(TypeError(`view's buffer has been detached`)):Promise.reject(TypeError(`view's buffer must have non-zero byteLength`));let i=t?.min??1;if(typeof i!=`number`||i<1||!Number.isInteger(i)||Number.isNaN(i))return Promise.reject(TypeError(`options.min must be a positive integer`));let a=e[Symbol.toStringTag];if(a!==void 0&&a!==`DataView`){if(i>e.length)return Promise.reject(RangeError(`options.min must be smaller or equal to view size`))}else if(i>r)return Promise.reject(RangeError(`options.min must be smaller or equal to view size`));if(this[F].stream===void 0)return Promise.reject(TypeError(`Reader has no associated stream`));let o=new BYOBReadIntoRequest;return readableStreamBYOBReaderRead(this,e,i,o),o.promise}releaseLock(){if(!nr(this))throw TypeError(`Invalid this`);this[F].stream!==void 0&&readableStreamBYOBReaderRelease(this)}get closed(){return nr(this)?this[F].close.promise:Promise.reject(TypeError(`Invalid this`))}cancel(e=void 0){return nr(this)?this[F].stream===void 0?Promise.reject(TypeError(`Reader has no associated stream`)):readableStreamReaderGenericCancel(this,e):Promise.reject(TypeError(`Invalid this`))}get[Symbol.toStringTag](){return`ReadableStreamBYOBReader`}},ReadableStreamBYOBRequest=class{[Nn]=`ReadableStreamBYOBRequest`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get view(){if(!rr(this))throw TypeError(`Invalid this`);return this[F].view}respond(e){if(!rr(this))throw TypeError(`Invalid this`);if(this[F].controller===void 0)throw TypeError(`BYOB request has been invalidated`);if(e=+e,!Number.isInteger(e)||e<0||!Number.isFinite(e))throw RangeError(`bytesWritten must be a non-negative integer`);let t=this[F].view;if(isDetachedBuffer(t.buffer))throw TypeError(`The BYOB request's buffer has been detached`);readableByteStreamControllerRespond(this[F].controller,e)}respondWithNewView(e){if(!rr(this))throw TypeError(`Invalid this`);if(this[F].controller===void 0)throw TypeError(`BYOB request has been invalidated`);if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))throw TypeError(`view must be an ArrayBufferView`);if(isDetachedBuffer(e.buffer))throw TypeError(`The given view's buffer has been detached`);readableByteStreamControllerRespondWithNewView(this[F].controller,e)}get[Symbol.toStringTag](){return`ReadableStreamBYOBRequest`}},ReadableByteStreamController=class{[Nn]=`ReadableByteStreamController`;[F];constructor(e){if(e!==Yn)throw TypeError(`Illegal constructor`)}get byobRequest(){if(!tr(this))throw TypeError(`Invalid this`);return readableByteStreamControllerGetBYOBRequest(this)}get desiredSize(){if(!tr(this))throw TypeError(`Invalid this`);return readableByteStreamControllerGetDesiredSize(this)}close(){if(!tr(this))throw TypeError(`Invalid this`);if(this[F].closeRequested)throw TypeError(`Close already requested`);if(this[F].stream[F].state!==`readable`)throw TypeError(`Stream is not in a readable state`);readableByteStreamControllerClose(this)}enqueue(e){if(!tr(this))throw TypeError(`Invalid this`);if(typeof e!=`object`||!e||!ArrayBuffer.isView(e))throw TypeError(`chunk must be an ArrayBufferView`);if(e.byteLength===0)throw TypeError(`chunk length must be non-zero`);if(e.buffer.byteLength===0)throw TypeError(`chunk's buffer length must be non-zero`);if(this[F].closeRequested)throw TypeError(`Cannot enqueue after close has been requested`);if(this[F].stream[F].state!==`readable`)throw TypeError(`Stream is not in a readable state`);readableByteStreamControllerEnqueue(this,e)}error(e=void 0){if(!tr(this))throw TypeError(`Invalid this`);readableByteStreamControllerError(this,e)}[Un](e){return readableByteStreamControllerCancelSteps(this,e)}[qn](e){readableByteStreamControllerPullSteps(this,e)}[Jn](){if(this[F].pendingPullIntos.length>0){let e=this[F].pendingPullIntos[0];e.readerType=`none`,this[F].pendingPullIntos=[e]}}get[Symbol.toStringTag](){return`ReadableByteStreamController`}};const tr=isBrandCheck(`ReadableByteStreamController`),nr=isBrandCheck(`ReadableStreamBYOBReader`),rr=isBrandCheck(`ReadableStreamBYOBRequest`);function readableStreamHasBYOBReader(e){let{reader:t}=e[F];return t===void 0?!1:t[F]!==void 0&&t[Nn]===`ReadableStreamBYOBReader`}function readableStreamGetNumReadIntoRequests(e){return e[F].reader[F].readIntoRequests.length}function readableStreamAddReadIntoRequest(e,t){e[F].reader[F].readIntoRequests.push(t)}function readableStreamFulfillReadIntoRequest(e,t,n){let{reader:r}=e[F],i=r[F].readIntoRequests.shift();n?i[Wn](t):i[Gn](t)}function setupReadableStreamBYOBReader(e,t){if(isReadableStreamLocked(t))throw TypeError(`ReadableStream is locked`);if(!tr(t[F].controller))throw TypeError(`Cannot use a BYOB reader with a non-byte stream`);readableStreamReaderGenericInitialize(e,t),e[F].readIntoRequests=[]}function readableStreamBYOBReaderRead(e,t,n,r){let{stream:i}=e[F];i[F].disturbed=!0,i[F].state===`errored`?r[Kn](i[F].storedError):readableByteStreamControllerPullInto(i[F].controller,t,n,r)}function readableStreamBYOBReaderRelease(e){readableStreamReaderGenericRelease(e);let t=TypeError(`Reader was released`);for(let n=0;n<e[F].readIntoRequests.length;n++)e[F].readIntoRequests[n][Kn](t);e[F].readIntoRequests=[]}function readableByteStreamControllerClearAlgorithms(e){e[F].pullAlgorithm=void 0,e[F].cancelAlgorithm=void 0}function readableByteStreamControllerClearPendingPullIntos(e){readableByteStreamControllerInvalidateBYOBRequest(e),e[F].pendingPullIntos=[]}function readableByteStreamControllerInvalidateBYOBRequest(e){let t=e[F].byobRequest;t!=null&&(t[F].controller=void 0,t[F].view=null,e[F].byobRequest=null)}function readableByteStreamControllerError(e,t){let{stream:n}=e[F];n[F].state===`readable`&&(readableByteStreamControllerClearPendingPullIntos(e),resetQueue(e),readableByteStreamControllerClearAlgorithms(e),readableStreamError(n,t))}function readableByteStreamControllerGetDesiredSize(e){let t=e[F].stream[F].state;return t===`errored`?null:t===`closed`?0:e[F].highWaterMark-e[F].queueTotalSize}function readableByteStreamControllerShouldCallPull(e){let{stream:t}=e[F];if(t[F].state!==`readable`||e[F].closeRequested||!e[F].started)return!1;if(readableStreamHasDefaultReader(t)&&readableStreamGetNumReadRequests(t)>0||readableStreamHasBYOBReader(t)&&readableStreamGetNumReadIntoRequests(t)>0)return!0;let n=readableByteStreamControllerGetDesiredSize(e);return n!==null&&n>0}function readableByteStreamControllerCallPullIfNeeded(e){if(readableByteStreamControllerShouldCallPull(e)){if(e[F].pulling){e[F].pullAgain=!0;return}e[F].pulling=!0,e[F].pullAlgorithm(e).then(()=>{e[F].pulling=!1,e[F].pullAgain&&(e[F].pullAgain=!1,readableByteStreamControllerCallPullIfNeeded(e))},t=>readableByteStreamControllerError(e,t))}}function readableByteStreamControllerHandleQueueDrain(e){e[F].queueTotalSize===0&&e[F].closeRequested?(readableByteStreamControllerClearAlgorithms(e),readableStreamClose(e[F].stream)):readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerEnqueueChunkToQueue(e,t,n,r){e[F].queue.push({buffer:t,byteOffset:n,byteLength:r}),e[F].queueTotalSize+=r}function readableByteStreamControllerEnqueueClonedChunkToQueue(e,t,n,r){let i;try{i=t.slice(n,n+r)}catch(t){readableByteStreamControllerError(e,t);return}readableByteStreamControllerEnqueueChunkToQueue(e,i,0,r)}function readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,t){t.bytesFilled>0&&readableByteStreamControllerEnqueueClonedChunkToQueue(e,t.buffer,t.byteOffset,t.bytesFilled),readableByteStreamControllerShiftPendingPullInto(e)}function readableByteStreamControllerShiftPendingPullInto(e){return e[F].pendingPullIntos.shift()}function readableByteStreamControllerFillHeadPullIntoDescriptor(e,t,n){n.bytesFilled+=t}function readableByteStreamControllerConvertPullIntoDescriptor(e){let t=e.bytesFilled,n=e.elementSize,r=transferArrayBuffer(e.buffer);return e.buffer=r,new e.viewConstructor(r,e.byteOffset,t/n)}function readableByteStreamControllerCommitPullIntoDescriptor(e,t){let n=!1;e[F].state===`closed`&&(n=!0);let r=readableByteStreamControllerConvertPullIntoDescriptor(t);t.readerType==="default"?readableStreamFulfillReadRequest(e,r,n):readableStreamFulfillReadIntoRequest(e,r,n)}function readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,t){let n=Math.min(e[F].queueTotalSize,t.byteLength-t.bytesFilled),r=t.bytesFilled+n,i=n,a=!1,o=r-r%t.elementSize;o>=t.minimumFill&&(i=o-t.bytesFilled,a=!0);let s=e[F].queue;for(;i>0;){let n=s[0],r=Math.min(i,n.byteLength),a=t.byteOffset+t.bytesFilled,o=new Uint8Array(t.buffer,a,r),c=new Uint8Array(n.buffer,n.byteOffset,r);o.set(c),n.byteLength===r?s.shift():(n.byteOffset+=r,n.byteLength-=r),e[F].queueTotalSize-=r,readableByteStreamControllerFillHeadPullIntoDescriptor(e,r,t),i-=r}return a}function readableByteStreamControllerFillReadRequestFromQueue(e,t){let n=e[F].queue.shift();e[F].queueTotalSize-=n.byteLength,readableByteStreamControllerHandleQueueDrain(e);let r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t[Gn](r)}function readableByteStreamControllerProcessReadRequestsUsingQueue(e){let t=e[F].stream[F].reader;for(;t[F].readRequests.length!==0;){if(e[F].queueTotalSize===0)return;readableByteStreamControllerFillReadRequestFromQueue(e,t[F].readRequests.shift())}}function readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e){for(;e[F].pendingPullIntos.length!==0;){if(e[F].queueTotalSize===0)return;let t=e[F].pendingPullIntos[0];readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,t)&&(readableByteStreamControllerShiftPendingPullInto(e),readableByteStreamControllerCommitPullIntoDescriptor(e[F].stream,t))}}function readableByteStreamControllerGetBYOBRequest(e){if(e[F].byobRequest===null&&e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0],n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=new ReadableStreamBYOBRequest(Yn);r[F]={controller:e,view:n},e[F].byobRequest=r}return e[F].byobRequest}function readableByteStreamControllerEnqueue(e,t){let{stream:n}=e[F];if(e[F].closeRequested||n[F].state!==`readable`)return;let r=t.buffer,i=t.byteLength,a=t.byteOffset;if(isDetachedBuffer(r))throw TypeError(`chunk's buffer is detached`);let o=transferArrayBuffer(r);if(e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0];if(isDetachedBuffer(t.buffer))throw TypeError(`BYOB request's buffer has been detached`);readableByteStreamControllerInvalidateBYOBRequest(e),t.buffer=transferArrayBuffer(t.buffer),t.readerType===`none`&&readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,t)}readableStreamHasDefaultReader(n)?(readableByteStreamControllerProcessReadRequestsUsingQueue(e),readableStreamGetNumReadRequests(n)===0?readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i):(e[F].pendingPullIntos.length!==0&&readableByteStreamControllerShiftPendingPullInto(e),readableStreamFulfillReadRequest(n,new Uint8Array(o,a,i),!1))):readableStreamHasBYOBReader(n)?(readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e)):readableByteStreamControllerEnqueueChunkToQueue(e,o,a,i),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerClose(e){let{stream:t}=e[F];if(!(e[F].closeRequested||t[F].state!==`readable`)){if(e[F].queueTotalSize>0){e[F].closeRequested=!0;return}if(e[F].pendingPullIntos.length!==0){let t=e[F].pendingPullIntos[0];if(t.bytesFilled%t.elementSize!==0){let t=TypeError(`Insufficient bytes to fill elements in the given buffer`);throw readableByteStreamControllerError(e,t),t}}readableByteStreamControllerClearAlgorithms(e),readableStreamClose(t)}}function readableByteStreamControllerPullInto(e,t,n,r){let i=e[F].stream,a=t[Symbol.toStringTag],o,s;if(a===void 0||a===`DataView`)o=DataView,s=1;else{let e=typedArrayConstructorByTag(a);if(!e){r[Kn](TypeError(`Unsupported typed array: ${a}`));return}o=e,s=elementSizeByTag(a)}let c=t.buffer,l=t.byteLength,u=t.byteOffset,d=n*s,f;try{f=transferArrayBuffer(c)}catch(e){r[Kn](e);return}let p={buffer:f,bufferByteLength:f.byteLength,byteOffset:u,byteLength:l,bytesFilled:0,minimumFill:d,elementSize:s,viewConstructor:o,readerType:`byob`};if(e[F].pendingPullIntos.length!==0){e[F].pendingPullIntos.push(p),readableStreamAddReadIntoRequest(i,r);return}if(i[F].state===`closed`){let e=new o(p.buffer,p.byteOffset,0);r[Wn](e);return}if(e[F].queueTotalSize>0){if(readableByteStreamControllerFillPullIntoDescriptorFromQueue(e,p)){let t=readableByteStreamControllerConvertPullIntoDescriptor(p);readableByteStreamControllerHandleQueueDrain(e),r[Gn](t);return}if(e[F].closeRequested){let t=TypeError(`Insufficient bytes to fill elements in the given buffer`);readableByteStreamControllerError(e,t),r[Kn](t);return}}e[F].pendingPullIntos.push(p),readableStreamAddReadIntoRequest(i,r),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerRespond(e,t){let n=e[F].pendingPullIntos[0];if(e[F].stream[F].state===`closed`){if(t!==0)throw TypeError(`bytesWritten must be 0 when calling respond() on a closed stream`)}else{if(t===0)throw TypeError(`bytesWritten must be greater than 0 when calling respond() on a readable stream`);if(n.bytesFilled+t>n.byteLength)throw RangeError(`bytesWritten out of range`)}n.buffer=transferArrayBuffer(n.buffer),readableByteStreamControllerRespondInternal(e,t)}function readableByteStreamControllerRespondWithNewView(e,t){let n=e[F].pendingPullIntos[0],r=e[F].stream[F].state,i=t.byteLength,a=t.byteOffset,o=t.buffer;if(r===`closed`){if(i!==0)throw TypeError(`view's length must be 0 when calling respondWithNewView() on a closed stream`)}else if(i===0)throw TypeError(`view's length must be greater than 0 when calling respondWithNewView() on a readable stream`);if(n.byteOffset+n.bytesFilled!==a)throw RangeError(`The region specified by view does not match byobRequest`);if(n.bufferByteLength!==o.byteLength)throw RangeError(`The buffer of view has different capacity than byobRequest`);if(n.bytesFilled+i>n.byteLength)throw RangeError(`The region specified by view is larger than byobRequest`);n.buffer=transferArrayBuffer(o),readableByteStreamControllerRespondInternal(e,i)}function readableByteStreamControllerRespondInternal(e,t){let n=e[F].pendingPullIntos[0];readableByteStreamControllerInvalidateBYOBRequest(e),e[F].stream[F].state===`closed`?readableByteStreamControllerRespondInClosedState(e,n):readableByteStreamControllerRespondInReadableState(e,t,n),readableByteStreamControllerCallPullIfNeeded(e)}function readableByteStreamControllerRespondInClosedState(e,t){t.readerType===`none`&&readableByteStreamControllerShiftPendingPullInto(e);let n=e[F].stream;if(readableStreamHasBYOBReader(n))for(;readableStreamGetNumReadIntoRequests(n)>0;)readableByteStreamControllerCommitPullIntoDescriptor(n,readableByteStreamControllerShiftPendingPullInto(e))}function readableByteStreamControllerRespondInReadableState(e,t,n){if(readableByteStreamControllerFillHeadPullIntoDescriptor(e,t,n),n.readerType===`none`){readableByteStreamControllerEnqueueDetachedPullIntoToQueue(e,n),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e);return}if(n.bytesFilled<n.minimumFill)return;readableByteStreamControllerShiftPendingPullInto(e);let r=n.bytesFilled%n.elementSize;if(r>0){let t=n.byteOffset+n.bytesFilled;readableByteStreamControllerEnqueueClonedChunkToQueue(e,n.buffer,t-r,r)}n.bytesFilled-=r,readableByteStreamControllerCommitPullIntoDescriptor(e[F].stream,n),readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(e)}function readableByteStreamControllerCancelSteps(e,t){readableByteStreamControllerClearPendingPullIntos(e),resetQueue(e);let n=e[F].cancelAlgorithm?.(t)??Promise.resolve();return readableByteStreamControllerClearAlgorithms(e),n}function readableByteStreamControllerPullSteps(e,t){let n=e[F].stream;if(e[F].queueTotalSize>0){readableByteStreamControllerFillReadRequestFromQueue(e,t);return}let r=e[F].autoAllocateChunkSize;if(r!==void 0){let n;try{n=new ArrayBuffer(r)}catch(e){t[Kn](e);return}let i={buffer:n,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:`default`};e[F].pendingPullIntos.push(i)}readableStreamAddReadRequest(n,t),readableByteStreamControllerCallPullIfNeeded(e)}function setupReadableByteStreamController(e,t,n,r,i,a,o){t[F]={cancelAlgorithm:i,closeRequested:!1,highWaterMark:a,pullAgain:!1,pullAlgorithm:r,pulling:!1,queue:[],queueTotalSize:0,started:!1,stream:e,byobRequest:null,pendingPullIntos:[],autoAllocateChunkSize:o},e[F].controller=t;let s=n();new Promise(e=>e(s)).then(()=>{t[F].started=!0,readableByteStreamControllerCallPullIfNeeded(t)},e=>readableByteStreamControllerError(t,e))}function setupReadableByteStreamControllerFromSource(e,t,n){let r=new ReadableByteStreamController(Yn),i=t?.start,a=t?.pull,o=t?.cancel,s=t?.autoAllocateChunkSize;if(s!==void 0&&(s===0||!Number.isInteger(s)||s<0))throw TypeError(`autoAllocateChunkSize must be a positive integer`);setupReadableByteStreamController(e,r,i?i.bind(t,r):nonOpStart,a?createPromiseCallback(`source.pull`,a,t):nonOpPull,o?createPromiseCallback(`source.cancel`,o,t):nonOpCancel,n,s)}function readableByteStreamTee(e){let t=new ReadableStreamDefaultReader(e),n=!1,r=!1,i=!1,a,o,s=Promise.withResolvers(),c,l,u,d;function pullAlgorithm(){return n?Promise.resolve():(n=!0,t.read().then(e=>{if(n=!1,e.done){r||u.close(),i||d.close();return}let t=e.value,a=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));r||u.enqueue(a),i||d.enqueue(new Uint8Array(a))},()=>{}),Promise.resolve())}return c=new ReadableStream$1({type:`bytes`,pull:pullAlgorithm,cancel(t){if(r=!0,a=t,i){let t=readableStreamCancel(e,[a,o]);return s.resolve(),t}return s.promise}}),l=new ReadableStream$1({type:`bytes`,pull:pullAlgorithm,cancel(t){if(i=!0,o=t,r){let t=readableStreamCancel(e,[a,o]);return s.resolve(),t}return s.promise}}),u=c[F].controller,d=l[F].controller,t.closed.catch(e=>{u.error(e),d.error(e),(!r||!i)&&s.resolve()}),[c,l]}const ir=Symbol(`kSkipThrow`);var TransformStream=class{[Nn]=`TransformStream`;[F];constructor(e={},t={},n={}){if(e!=null&&typeof e!=`object`)throw TypeError(`transformer must be an object`);if(t!=null&&typeof t!=`object`)throw TypeError(`writableStrategy must be an object`);if(n!=null&&typeof n!=`object`)throw TypeError(`readableStrategy must be an object`);let r=e?.readableType,i=e?.writableType,a=e?.start;if(r!==void 0)throw RangeError(`Invalid readableType: ${r}`);if(i!==void 0)throw RangeError(`Invalid writableType: ${i}`);let o=extractHighWaterMark(n?.highWaterMark,0),s=extractSizeAlgorithm(n?.size),c=extractHighWaterMark(t?.highWaterMark,1),l=extractSizeAlgorithm(t?.size),u=Promise.withResolvers();initializeTransformStream(this,u,c,l,o,s),setupTransformStreamDefaultControllerFromTransformer(this,e),a===void 0?u.resolve():u.resolve(a.call(e,this[F].controller))}get readable(){if(!ar(this))throw TypeError(`Invalid this`);return this[F].readable}get writable(){if(!ar(this))throw TypeError(`Invalid this`);return this[F].writable}get[Symbol.toStringTag](){return`TransformStream`}},TransformStreamDefaultController=class{[Nn]=`TransformStreamDefaultController`;[F];constructor(e){if(e!==ir)throw TypeError(`Illegal constructor`)}get desiredSize(){if(!or(this))throw TypeError(`Invalid this`);let{stream:e}=this[F],{readable:t}=e[F],n=t[F].controller;return readableStreamDefaultControllerGetDesiredSize(n)}enqueue(e){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerEnqueue(this,e)}error(e){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerError(this,e)}terminate(){if(!or(this))throw TypeError(`Invalid this`);transformStreamDefaultControllerTerminate(this)}get[Symbol.toStringTag](){return`TransformStreamDefaultController`}};const ar=isBrandCheck(`TransformStream`),or=isBrandCheck(`TransformStreamDefaultController`);async function defaultTransformAlgorithm(e,t){transformStreamDefaultControllerEnqueue(t,e)}function initializeTransformStream(e,t,n,r,i,a){let startAlgorithm=()=>t.promise,o=createWritableStream(startAlgorithm,t=>transformStreamDefaultSinkWriteAlgorithm(e,t),()=>transformStreamDefaultSinkCloseAlgorithm(e),t=>transformStreamDefaultSinkAbortAlgorithm(e,t),n,r);e[F]={readable:createReadableStream(startAlgorithm,()=>transformStreamDefaultSourcePullAlgorithm(e),t=>transformStreamDefaultSourceCancelAlgorithm(e,t),i,a),writable:o,controller:void 0,backpressure:void 0,backpressureChange:{promise:void 0,resolve:void 0,reject:void 0}},transformStreamSetBackpressure(e,!0)}function transformStreamError(e,t){let{readable:n}=e[F];readableStreamDefaultControllerError(n[F].controller,t),transformStreamErrorWritableAndUnblockWrite(e,t)}function transformStreamErrorWritableAndUnblockWrite(e,t){let{controller:n,writable:r}=e[F];transformStreamDefaultControllerClearAlgorithms(n),writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e)}function transformStreamUnblockWrite(e){e[F].backpressure&&transformStreamSetBackpressure(e,!1)}function transformStreamSetBackpressure(e,t){e[F].backpressureChange.promise!==void 0&&e[F].backpressureChange.resolve?.(),e[F].backpressureChange=Promise.withResolvers(),e[F].backpressure=t}function setupTransformStreamDefaultController(e,t,n,r,i){t[F]={stream:e,transformAlgorithm:n,flushAlgorithm:r,cancelAlgorithm:i,finishPromise:void 0},e[F].controller=t}function setupTransformStreamDefaultControllerFromTransformer(e,t){let n=new TransformStreamDefaultController(ir),r=t?.transform,i=t?.flush,a=t?.cancel;setupTransformStreamDefaultController(e,n,r?createPromiseCallback(`transformer.transform`,r,t):defaultTransformAlgorithm,i?createPromiseCallback(`transformer.flush`,i,t):nonOpFlush,a?createPromiseCallback(`transformer.cancel`,a,t):nonOpCancel)}function transformStreamDefaultControllerClearAlgorithms(e){e[F].transformAlgorithm=void 0,e[F].flushAlgorithm=void 0,e[F].cancelAlgorithm=void 0}function transformStreamDefaultControllerEnqueue(e,t){let{stream:n}=e[F],{readable:r}=n[F],i=r[F].controller;if(!readableStreamDefaultControllerCanCloseOrEnqueue(i))throw TypeError(`Unable to enqueue`);try{readableStreamDefaultControllerEnqueue(i,t)}catch(e){throw transformStreamErrorWritableAndUnblockWrite(n,e),r[F].storedError}readableStreamDefaultControllerHasBackpressure(i)!==n[F].backpressure&&transformStreamSetBackpressure(n,!0)}function transformStreamDefaultControllerError(e,t){transformStreamError(e[F].stream,t)}async function transformStreamDefaultControllerPerformTransform(e,t){try{let n=e[F].transformAlgorithm;if(n===void 0)return;await n(t,e)}catch(t){throw transformStreamError(e[F].stream,t),t}}function transformStreamDefaultControllerTerminate(e){let{stream:t}=e[F],{readable:n}=t[F];readableStreamDefaultControllerClose(n[F].controller),transformStreamErrorWritableAndUnblockWrite(t,TypeError(`TransformStream has been terminated`))}function transformStreamDefaultSinkWriteAlgorithm(e,t){let{controller:n}=e[F];return e[F].backpressure?e[F].backpressureChange.promise.then(()=>{let{writable:r}=e[F];if(r[F].state===`erroring`)throw r[F].storedError;return transformStreamDefaultControllerPerformTransform(n,t)}):transformStreamDefaultControllerPerformTransform(n,t)}async function transformStreamDefaultSinkAbortAlgorithm(e,t){let{controller:n,readable:r}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:i,resolve:a,reject:o}=Promise.withResolvers();n[F].finishPromise=i;let s=n[F].cancelAlgorithm(t);return transformStreamDefaultControllerClearAlgorithms(n),s.then(()=>{r[F].state===`errored`?o(r[F].storedError):(readableStreamDefaultControllerError(r[F].controller,t),a())},e=>{readableStreamDefaultControllerError(r[F].controller,e),o(e)}),n[F].finishPromise}function transformStreamDefaultSinkCloseAlgorithm(e){let{readable:t,controller:n}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:r,resolve:i,reject:a}=Promise.withResolvers();n[F].finishPromise=r;let o=n[F].flushAlgorithm(n);return transformStreamDefaultControllerClearAlgorithms(n),o.then(()=>{t[F].state===`errored`?a(t[F].storedError):(readableStreamDefaultControllerClose(t[F].controller),i())},e=>{readableStreamDefaultControllerError(t[F].controller,e),a(e)}),n[F].finishPromise}function transformStreamDefaultSourcePullAlgorithm(e){return transformStreamSetBackpressure(e,!1),e[F].backpressureChange.promise}function transformStreamDefaultSourceCancelAlgorithm(e,t){let{controller:n,writable:r}=e[F];if(n[F].finishPromise!==void 0)return n[F].finishPromise;let{promise:i,resolve:a,reject:o}=Promise.withResolvers();n[F].finishPromise=i;let s=n[F].cancelAlgorithm(t);return transformStreamDefaultControllerClearAlgorithms(n),s.then(()=>{r[F].state===`errored`?o(r[F].storedError):(writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e),a())},t=>{writableStreamDefaultControllerErrorIfNeeded(r[F].controller,t),transformStreamUnblockWrite(e),o(t)}),n[F].finishPromise}const sr=Object.defineProperty(e=>e.byteLength,"name",{value:`size`}),cr=Object.defineProperty(()=>1,"name",{value:`size`});var ByteLengthQueuingStrategy=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`init must be an object`);if(e.highWaterMark===void 0)throw TypeError(`init.highWaterMark is required`);this.#e=+e.highWaterMark}get highWaterMark(){return this.#e}get size(){return sr}get[Symbol.toStringTag](){return`ByteLengthQueuingStrategy`}},CountQueuingStrategy=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`init must be an object`);if(e.highWaterMark===void 0)throw TypeError(`init.highWaterMark is required`);this.#e=+e.highWaterMark}get highWaterMark(){return this.#e}get size(){return cr}get[Symbol.toStringTag](){return`CountQueuingStrategy`}},TextEncoderStream=class{#e=null;#t=new TextEncoder;#n;constructor(){this.#n=new TransformStream({transform:(e,t)=>{if(e=String(e),e===``)return;this.#e!==null&&(e=this.#e+e);let n=e.charCodeAt(e.length-1);55296<=n&&n<=56319?(this.#e=e.slice(-1),e=e.slice(0,-1)):this.#e=null,e&&t.enqueue(this.#t.encode(e))},flush:e=>{this.#e!==null&&e.enqueue(new Uint8Array([239,191,189]))}})}get encoding(){return`utf-8`}get readable(){return this.#n.readable}get writable(){return this.#n.writable}};function hasStreamingSupport(){try{return new TextDecoder().decode(new Uint8Array([195]),{stream:!0}),!0}catch{return!1}}const lr=hasStreamingSupport();function incompleteUtf8Tail(e){let t=e.length;if(t===0)return 0;for(let n=1;n<=Math.min(3,t);n++){let r=e[t-n];if(!(r&128))return 0;if((r&192)!=128){let e;if((r&224)==192)e=2;else if((r&240)==224)e=3;else if((r&248)==240)e=4;else return 0;return n<e?n:0}}return 0}var TextDecoderStream=class{#e;#t;constructor(e,t){if(this.#e=new TextDecoder(e,t),lr)this.#t=new TransformStream({transform:(e,t)=>{let n=toUint8Array(e),r=this.#e.decode(n,{stream:!0});r&&t.enqueue(r)},flush:e=>{let t=this.#e.decode();t&&e.enqueue(t)},cancel:()=>{this.#e.decode()}});else{let e=new Uint8Array;this.#t=new TransformStream({transform:(t,n)=>{let r=toUint8Array(t),i;e.length>0?(i=new Uint8Array(e.length+r.length),i.set(e,0),i.set(r,e.length)):i=r;let a=incompleteUtf8Tail(i),o;if(a>0?(o=i.slice(0,i.length-a),e=i.slice(i.length-a)):(o=i,e=new Uint8Array),o.length>0){let e=this.#e.decode(o);e&&n.enqueue(e)}},flush:t=>{if(e.length>0){let n=this.#e.decode(e);n&&t.enqueue(n),e=new Uint8Array}},cancel:()=>{e=new Uint8Array}})}}get encoding(){return this.#e.encoding}get fatal(){return this.#e.fatal}get ignoreBOM(){return this.#e.ignoreBOM}get readable(){return this.#t.readable}get writable(){return this.#t.writable}};function toUint8Array(e){if(e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw TypeError(`chunk must be a BufferSource`)}function isNativeStreamUsable$3(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}__name(isNativeStreamUsable$3,`isNativeStreamUsable`);const ur=isNativeStreamUsable$3(globalThis.ReadableStream,`getReader`)?globalThis.ReadableStream:ReadableStream$1,dr=isNativeStreamUsable$3(globalThis.WritableStream,`getWriter`)?globalThis.WritableStream:WritableStream,fr=isNativeStreamUsable$3(globalThis.TransformStream,`readable`)?globalThis.TransformStream:TransformStream,pr=typeof globalThis.ByteLengthQueuingStrategy==`function`?globalThis.ByteLengthQueuingStrategy:ByteLengthQueuingStrategy,mr=typeof globalThis.CountQueuingStrategy==`function`?globalThis.CountQueuingStrategy:CountQueuingStrategy,hr=typeof globalThis.TextEncoderStream==`function`?globalThis.TextEncoderStream:TextEncoderStream,gr=typeof globalThis.TextDecoderStream==`function`?globalThis.TextDecoderStream:TextDecoderStream,_r=globalThis;globalThis.ByteLengthQueuingStrategy===void 0&&(_r.ByteLengthQueuingStrategy=pr),globalThis.CountQueuingStrategy===void 0&&(_r.CountQueuingStrategy=mr);const vr=globalThis;function isNativeStreamUsable$2(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}__name(isNativeStreamUsable$2,`isNativeStreamUsable`),isNativeStreamUsable$2(globalThis.ReadableStream,`getReader`)||(vr.ReadableStream=ur),vr.ReadableStreamBYOBReader===void 0&&(vr.ReadableStreamBYOBReader=ReadableStreamBYOBReader),vr.ReadableStreamBYOBRequest===void 0&&(vr.ReadableStreamBYOBRequest=ReadableStreamBYOBRequest),vr.ReadableByteStreamController===void 0&&(vr.ReadableByteStreamController=ReadableByteStreamController),vr.ReadableStreamDefaultController===void 0&&(vr.ReadableStreamDefaultController=ReadableStreamDefaultController),vr.ReadableStreamDefaultReader===void 0&&(vr.ReadableStreamDefaultReader=ReadableStreamDefaultReader);const yr=globalThis;globalThis.TextEncoderStream===void 0&&(yr.TextEncoderStream=hr),globalThis.TextDecoderStream===void 0&&(yr.TextDecoderStream=gr);function isNativeStreamUsable$1(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(__name(isNativeStreamUsable$1,`isNativeStreamUsable`),!isNativeStreamUsable$1(globalThis.TransformStream,`readable`)){let e=globalThis;e.TransformStream=fr}function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(!isNativeStreamUsable(globalThis.WritableStream,`getWriter`)){let e=globalThis;e.WritableStream=dr}function variantKindFor(e,t){switch(e){case`s`:case`b`:case`i`:case`u`:case`d`:return e}if(typeof t==`string`)return`s`;if(typeof t==`boolean`)return`b`;if(typeof t==`number`)return Number.isInteger(t)?`i`:`d`;throw Error(`Cannot build a GLib.Variant from ${typeof t}`)}function buildVariant(e,t){switch(variantKindFor(e?.dup_string()??null,t)){case`s`:return gt.Variant.new_string(String(t));case`b`:return gt.Variant.new_boolean(!!t);case`i`:return gt.Variant.new_int32(Number(t));case`u`:return gt.Variant.new_uint32(Number(t));case`d`:return gt.Variant.new_double(Number(t))}}function describeActions(e){return e?e.list_actions().sort((e,t)=>e.localeCompare(t)).map(t=>({name:t,enabled:e.get_action_enabled(t),parameterType:e.get_action_parameter_type(t)?.dup_string()??null,stateType:e.get_action_state_type(t)?.dup_string()??null})):[]}function activateAction(e,t,n){let r=e.get_action_parameter_type(t),i=n==null?null:buildVariant(r,n);e.activate_action(t,i)}function changeActionState(e,t,n){e.change_action_state(t,buildVariant(e.get_action_state_type(t),n))}var br=a,xr=p;const Sr=new Map;function swapCss(e,t){let n=br.Display.get_default();if(!n)return!1;let r=Sr.get(e);return r||(r=new xr.CssProvider,xr.StyleContext.add_provider_for_display(n,r,xr.STYLE_PROVIDER_PRIORITY_USER+1),Sr.set(e,r)),r.load_from_string(t),!0}function dumpCss(){return{providers:[...Sr.keys()]}}const Cr=`org.gjsify.Devtools`;function formatDbusErrorMessage(e,t){return`${e}: ${t}`}const wr={GetStatus:`read-only`,Screenshot:`read-only`,ListActions:`read-only`,ActivateAction:`mutating`,ChangeActionState:`mutating`,PresentWindow:`read-only`,ResizeWindow:`mutating`,ListToplevels:`read-only`,DumpTree:`read-only`,GetProperty:`read-only`,SetProperty:`mutating`,GetFocused:`read-only`,ActivateWidget:`mutating`,EmitSignal:`mutating`,DumpGSettings:`read-only`,DumpCss:`read-only`,SwapCss:`mutating`};function sanitizeInstanceId(e){let t=e.toLowerCase().replace(/[^a-z0-9]/g,``);return/^[a-z]/.test(t)?t:`i${t||`0`}`}function resolveBusAddress(e,t){let n=`/${e.replace(/\./g,`/`)}`,r=t&&t!=="default"?sanitizeInstanceId(t):`default`;return r==="default"?{busName:e,objectPath:`${n}/devtools`,instance:`default`}:{busName:`${e}.${r}`,objectPath:`${n}/${r}/devtools`,instance:r}}const Tr=`GJSIFY_DEVTOOLS_ADDRESS`;function isDevtoolsEnabledValue(e){if(e==null)return!1;let t=e.toLowerCase();return t!==``&&t!==`0`&&t!==`false`}function devtoolsAddressFilePath(e,t,n){let{busName:r}=resolveBusAddress(t,n);return`${e}/gjsify-devtools/${r}.address`}function buildDevtoolsIfaceXml(e=[]){return`<node>
|
|
16
16
|
<interface name="${Cr}">
|
|
17
17
|
<method name="GetStatus">
|
|
18
18
|
<arg type="s" direction="out" name="status_json"/>
|
|
@@ -75,23 +75,23 @@ if(globalThis.__gjsifyBundleUrl??=import.meta.url,Symbol.dispose||(Symbol.dispos
|
|
|
75
75
|
</method>${e.length>0?`\n${e.join(`
|
|
76
76
|
`)}`:``}
|
|
77
77
|
</interface>
|
|
78
|
-
</node>`}var Tr=m;function captureWidgetPng(e){let t=e.get_native()?.get_renderer();if(!t)return null;let n=e.get_width(),r=e.get_height();if(n<=0||r<=0)return null;let i=xr.WidgetPaintable.new(e),a=xr.Snapshot.new();i.snapshot(a,n,r);let o=a.to_node();if(!o)return null;let s=new Tr.Rect;s.init(0,0,n,r);let c=t.render_texture(o,s).save_to_png_bytes().get_data();return c?new Uint8Array(c):null}function dumpGSettings(e){let t=_t.SettingsSchemaSource.get_default()?.lookup(e,!0);if(!t)throw Error(formatDbusErrorMessage(`not-found`,`GSettings schema '${e}' is not installed`));let n=new _t.Settings({settings_schema:t}),r={};for(let e of t.list_keys())r[e]=n.get_value(e).recursiveUnpack();return r}function parseWidgetPath(e){let t=e.split(`/`).filter(e=>e.length>0);if(t.length===0)return null;let n=t[0].match(/^toplevel:(\d+)$/);if(!n)return null;let r=[];for(let e of t.slice(1)){let t=e.match(/^child:(\d+)$/);if(!t)return null;r.push(Number(t[1]))}return{toplevel:Number(n[1]),children:r}}function buildWidgetPath(e,t){return[`toplevel:${e}`,...t.map(e=>`child:${e}`)].join(`/`)}function widgetType(e){let t=e;return typeof t.$typeName==`string`&&t.$typeName.length>0?t.$typeName:t.constructor?.$gtype?.name??`GtkWidget`}function activateWidget(e){let t=e;if(typeof t.activate==`function`&&t.activate()===!0)return!0;let n=typeof t.get_parent==`function`?t.get_parent():null;if(n&&widgetType(n)===`GtkListBox`){let t=n,r=!1;return typeof t.select_row==`function`&&(t.select_row(e),r=!0),typeof t.emit==`function`&&(t.emit(`row-activated`,e),r=!0),r}return!1}function nthChild(e,t){let n=e.get_first_child(),r=0;for(;n&&r<t;)n=n.get_next_sibling(),r++;return r===t?n:null}function listToplevels(){let e=xr.Window.get_toplevels(),t=e.get_n_items(),n=[];for(let r=0;r<t;r++){let t=e.get_item(r);t&&n.push({path:`toplevel:${r}`,type:widgetType(t),title:t.get_title?.()??null,mapped:t.get_mapped(),focused:t.is_active??!1})}return n}function resolveWidgetPath(e){let t=parseWidgetPath(e);if(!t)return null;let n=xr.Window.get_toplevels().get_item(t.toplevel);if(!n)return null;for(let e of t.children)if(n=nthChild(n,e),!n)return null;return n}function dumpTree(e,t,n){let r={path:n,type:widgetType(e),name:e.get_name()||null,cssClasses:e.get_css_classes(),mapped:e.get_mapped(),visible:e.get_visible(),children:[]};if(t<=0)return r;let i=e.get_first_child(),a=0;for(;i;)r.children.push(dumpTree(i,t-1,`${n}/child:${a}`)),i=i.get_next_sibling(),a++;return r}function jsonSafe(e){let t=typeof e;return e==null||t===`string`||t===`number`||t===`boolean`?e??null:`[${t}]`}function getWidgetProperty(e,t){let n=e,r=t.replace(/-/g,`_`),i=t.replace(/[-_]([a-z])/g,(e,t)=>t.toUpperCase());for(let e of[t,r,i])if(e in n)return jsonSafe(n[e])}function childIndex(e,t){let n=e.get_first_child(),r=0;for(;n;){if(n===t)return r;n=n.get_next_sibling(),r++}return-1}function pathOfWidget(e){let t=[],n=e,r=n.get_parent();for(;r;){let e=childIndex(r,n);if(e<0)return null;t.unshift(e),n=r,r=n.get_parent()}let i=xr.Window.get_toplevels(),a=i.get_n_items();for(let e=0;e<a;e++)if(i.get_item(e)===n)return buildWidgetPath(e,t);return null}function frameDelay(e){return new Promise(t=>{gt.timeout_add(gt.PRIORITY_DEFAULT,e,()=>(t(),gt.SOURCE_REMOVE))})}async function captureWidgetWhenRenderable(e,t=12,n=50){for(let r=0;r<t;r++){let t=captureWidgetPng(e);if(t)return t;await frameDelay(n)}return captureWidgetPng(e)}var DevtoolsService=class{constructor(e,t){this._app=e,this._options=t,this._exported=null,this._kinds=new Map,this._extensions=t.extend??[];for(let[e,t]of Object.entries(wr))this._kinds.set(e,t);for(let e of this._extensions){for(let[t,n]of Object.entries(e.methodKinds))this._kinds.set(t,n);for(let[t,n]of Object.entries(e.handlers)){let e=n;this[t]=(...n)=>(this._guard(t),e(...n))}}}export(e,t){if(this._exported)return;let n=buildDevtoolsIfaceXml(this._extensions.flatMap(e=>e.methodsXml??[])),r=_t.DBusExportedObject.wrapJSObject(n,this);r.export(e,t),this._exported=r}unexport(){this._exported?.unexport(),this._exported=null}GetStatus(){let e=this._app.get_active_window(),t={appId:this._app.get_application_id()??`unknown`,instance:this._options.instance??`default`,activeWindow:e?{id:e.get_name()||`window`,title:e.get_title()??``,mapped:e.get_mapped()}:null,toplevelCount:xr.Window.get_toplevels().get_n_items(),focusedWidget:null,paused:this._isPaused()};for(let e of this._extensions){let n=e.contributeStatus?.();n&&Object.assign(t,n)}return JSON.stringify(t)}async ScreenshotAsync(e,t){try{let e=await this._captureActiveWindowPng();t.return_value(new gt.Variant(`(ay)`,[e]))}catch(e){t.return_dbus_error(`org.gjsify.Devtools.Error.Screenshot`,e instanceof Error?e.message:String(e))}}async _captureActiveWindowPng(){let e=this._app.get_active_window();if(!e)return new Uint8Array;let t=captureWidgetPng(e);return t||=(e.present(),await captureWidgetWhenRenderable(e)),t??new Uint8Array}ListActions(){let e={app:describeActions(this._actionGroup(`app`)),win:describeActions(this._actionGroup(`win`))};return JSON.stringify(e)}ActivateAction(e,t,n){this._guard(`ActivateAction`);let r=this._scope(e);activateAction(this._requireGroup(r,t),t,this._parseValue(n))}ChangeActionState(e,t,n){this._guard(`ChangeActionState`);let r=this._scope(e);changeActionState(this._requireGroup(r,t),t,this._parseValue(n))}PresentWindow(){this._app.get_active_window()?.present()}ResizeWindow(e,t){this._guard(`ResizeWindow`);let n=this._app.get_active_window();if(!n)throw Error(formatDbusErrorMessage(`unavailable`,`no active window to resize`));let r=Math.max(1,Math.round(e)),i=Math.max(1,Math.round(t));return n.is_maximized()&&n.unmaximize(),n.is_fullscreen()&&n.unfullscreen(),n.set_default_size(r,i),[r,i]}ListToplevels(){return JSON.stringify(listToplevels())}DumpTree(e,t){let n=this._resolveRootWidget(e);if(!n)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e||`active window`}'`));return JSON.stringify(dumpTree(n.widget,t>0?t:8,n.path))}GetProperty(e,t){let n=this._resolveRootWidget(e);if(!n)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e}'`));let r=getWidgetProperty(n.widget,t);if(r===void 0)throw Error(formatDbusErrorMessage(`not-found`,`widget has no property '${t}'`));return JSON.stringify(r)}GetFocused(){let e=this._app.get_active_window(),t=e?e.get_focus():null;return JSON.stringify(t?{path:pathOfWidget(t),name:t.get_name()||null,type:widgetType(t)}:null)}ActivateWidget(e){this._guard(`ActivateWidget`);let t=this._resolveRootWidget(e);if(!t)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e}'`));return activateWidget(t.widget)}DumpGSettings(e){return JSON.stringify(dumpGSettings(e))}DumpCss(){return JSON.stringify(dumpCss())}SwapCss(e,t){return this._guard(`SwapCss`),swapCss(e,t)}_resolveRootWidget(e){if(!e||e===`window`||e===`active`){let e=this._app.get_active_window();return e?{widget:e,path:pathOfWidget(e)??`toplevel:0`}:null}let t=resolveWidgetPath(e);return t?{widget:t,path:e}:null}_isPaused(){return this._options.paused?.()??!1}_guard(e){let t=this._kinds.get(e);if(!t)throw Error(formatDbusErrorMessage(`internal`,`unclassified devtools method '${e}'`));if(t===`mutating`&&this._isPaused())throw Error(formatDbusErrorMessage(`paused`,`${e} rejected — external control is paused. Read-only methods keep working.`))}_scope(e){return e===`app`?`app`:`win`}_actionGroup(e){if(e===`app`)return this._app;if(this._options.winActionGroup)return this._options.winActionGroup;let t=this._app.get_active_window();return t instanceof xr.ApplicationWindow?t:null}_requireGroup(e,t){let n=this._actionGroup(e);if(!n)throw Error(formatDbusErrorMessage(`unavailable`,`no '${e}' action group`));if(!n.has_action(t))throw Error(formatDbusErrorMessage(`not-found`,`unknown action ${e}.${t}`));return n}_parseValue(e){if(!e||e===`null`)return null;try{return JSON.parse(e)}catch{throw Error(formatDbusErrorMessage(`invalid-params`,`value_json is not valid JSON: ${e}`))}}};const Er=new Set;function envEnabled(){let e=gt.getenv(`GJSIFY_DEVTOOLS`);if(e==null)return!1;let t=e.toLowerCase();return t!==``&&t!==`0`&&t!==`false`}function envInstance(){let e=gt.getenv(`GJSIFY_DEVTOOLS_INSTANCE`);return e&&e!==``?e:void 0}function installDevtools(e,t={}){if(!(t.enabled??envEnabled()))return null;let n=new DevtoolsService(e,{...t,instance:t.instance??envInstance()}),r=e.get_dbus_connection(),i=e.get_dbus_object_path();if(r&&i){let t=`${i}/devtools`;n.export(r,t),k.log(`[gjsify-devtools] exported ${Cr} at ${t} (dest ${e.get_application_id()??`?`})`)}else k.error(`[gjsify-devtools] no session-bus connection yet — call installDevtools() from the GtkApplication "startup" handler`);return Er.add(n),n}function notifyElementResize(e,t,n){e._allocatedClientWidth=t,e._allocatedClientHeight=n,e._fireResizeSubscribers(t,n);let r=e.parentNode;for(;r;)r instanceof Element&&(r._allocatedClientWidth=t,r._allocatedClientHeight=n,r._fireResizeSubscribers(t,n)),r=r.parentNode}var HTMLCanvasElement$1=class extends lt{static{__name(this,`HTMLCanvasElement`)}constructor(e){super(),this.gtkGlArea=e}get width(){return this.gtkGlArea.get_allocated_width()*this.scaleFactor}set width(e){}get height(){return this.gtkGlArea.get_allocated_height()*this.scaleFactor}set height(e){}get scaleFactor(){return this.gtkGlArea.get_scale_factor()||1}get clientWidth(){return this.gtkGlArea.get_allocated_width()}get clientHeight(){return this.gtkGlArea.get_allocated_height()}get offsetWidth(){return this.clientWidth}get offsetHeight(){return this.clientHeight}getGlArea(){return this.gtkGlArea}getContext(e,t){return e===`webgl`||e===`experimental-webgl`?(this._webgl||=(this.gtkGlArea.make_current(),new WebGLRenderingContext$1(this,t)),this._webgl):e===`webgl2`?(this._webgl2||=(this.gtkGlArea.make_current(),new Tn(this,t)),this._webgl2):super.getContext(e,t)}};const Dr={Return:`Enter`,KP_Enter:`Enter`,Tab:`Tab`,ISO_Left_Tab:`Tab`,BackSpace:`Backspace`,Escape:`Escape`,Delete:`Delete`,KP_Delete:`Delete`,Insert:`Insert`,KP_Insert:`Insert`,Home:`Home`,KP_Home:`Home`,End:`End`,KP_End:`End`,Page_Up:`PageUp`,KP_Page_Up:`PageUp`,Page_Down:`PageDown`,KP_Page_Down:`PageDown`,Left:`ArrowLeft`,KP_Left:`ArrowLeft`,Up:`ArrowUp`,KP_Up:`ArrowUp`,Right:`ArrowRight`,KP_Right:`ArrowRight`,Down:`ArrowDown`,KP_Down:`ArrowDown`,Shift_L:`Shift`,Shift_R:`Shift`,Control_L:`Control`,Control_R:`Control`,Alt_L:`Alt`,Alt_R:`Alt`,Super_L:`Meta`,Super_R:`Meta`,Meta_L:`Meta`,Meta_R:`Meta`,Caps_Lock:`CapsLock`,Num_Lock:`NumLock`,Scroll_Lock:`ScrollLock`,Print:`PrintScreen`,Pause:`Pause`,Menu:`ContextMenu`,space:` `,F1:`F1`,F2:`F2`,F3:`F3`,F4:`F4`,F5:`F5`,F6:`F6`,F7:`F7`,F8:`F8`,F9:`F9`,F10:`F10`,F11:`F11`,F12:`F12`,KP_Add:`+`,KP_Subtract:`-`,KP_Multiply:`*`,KP_Divide:`/`,KP_Decimal:`.`,KP_Separator:`,`,KP_0:`0`,KP_1:`1`,KP_2:`2`,KP_3:`3`,KP_4:`4`,KP_5:`5`,KP_6:`6`,KP_7:`7`,KP_8:`8`,KP_9:`9`},Or={Return:`Enter`,KP_Enter:`NumpadEnter`,Tab:`Tab`,ISO_Left_Tab:`Tab`,BackSpace:`Backspace`,Escape:`Escape`,Delete:`Delete`,KP_Delete:`NumpadDecimal`,Insert:`Insert`,KP_Insert:`Numpad0`,Home:`Home`,KP_Home:`Numpad7`,End:`End`,KP_End:`Numpad1`,Page_Up:`PageUp`,KP_Page_Up:`Numpad9`,Page_Down:`PageDown`,KP_Page_Down:`Numpad3`,Left:`ArrowLeft`,KP_Left:`Numpad4`,Up:`ArrowUp`,KP_Up:`Numpad8`,Right:`ArrowRight`,KP_Right:`Numpad6`,Down:`ArrowDown`,KP_Down:`Numpad2`,Shift_L:`ShiftLeft`,Shift_R:`ShiftRight`,Control_L:`ControlLeft`,Control_R:`ControlRight`,Alt_L:`AltLeft`,Alt_R:`AltRight`,Super_L:`MetaLeft`,Super_R:`MetaRight`,Meta_L:`MetaLeft`,Meta_R:`MetaRight`,Caps_Lock:`CapsLock`,Num_Lock:`NumLock`,Scroll_Lock:`ScrollLock`,Print:`PrintScreen`,Pause:`Pause`,Menu:`ContextMenu`,space:`Space`,F1:`F1`,F2:`F2`,F3:`F3`,F4:`F4`,F5:`F5`,F6:`F6`,F7:`F7`,F8:`F8`,F9:`F9`,F10:`F10`,F11:`F11`,F12:`F12`,KP_Add:`NumpadAdd`,KP_Subtract:`NumpadSubtract`,KP_Multiply:`NumpadMultiply`,KP_Divide:`NumpadDivide`,KP_Decimal:`NumpadDecimal`,KP_Separator:`NumpadComma`,KP_0:`Numpad0`,KP_1:`Numpad1`,KP_2:`Numpad2`,KP_3:`Numpad3`,KP_4:`Numpad4`,KP_5:`Numpad5`,KP_6:`Numpad6`,KP_7:`Numpad7`,KP_8:`Numpad8`,KP_9:`Numpad9`};function gdkKeyvalToKey(e){let t=a.keyval_name(e);if(t&&Dr[t])return Dr[t];let n=a.keyval_to_unicode(e);return n>0?String.fromCodePoint(n):t??`Unidentified`}function gdkKeyvalToCode(e){let t=a.keyval_name(e);if(t&&Or[t])return Or[t];let n=a.keyval_to_unicode(e);if(n>=97&&n<=122)return`Key`+String.fromCodePoint(n-32);if(n>=65&&n<=90)return`Key`+String.fromCodePoint(n);if(n>=48&&n<=57)return`Digit`+String.fromCodePoint(n);if(t){let e={minus:`Minus`,equal:`Equal`,bracketleft:`BracketLeft`,bracketright:`BracketRight`,backslash:`Backslash`,semicolon:`Semicolon`,apostrophe:`Quote`,grave:`Backquote`,comma:`Comma`,period:`Period`,slash:`Slash`};if(e[t])return e[t]}return t??`Unidentified`}function gdkKeyvalToLocation(e){let t=a.keyval_name(e);return t?t.startsWith(`KP_`)?3:t.endsWith(`_L`)?1:t.endsWith(`_R`)?2:0:0}function getGlobalEventTarget(){return globalThis.__gjsify_globalEventTarget}function extractModifiers(e){let t=e.get_current_event_state();return{shiftKey:!!(t&a.ModifierType.SHIFT_MASK),ctrlKey:!!(t&a.ModifierType.CONTROL_MASK),altKey:!!(t&a.ModifierType.ALT_MASK),metaKey:!!(t&a.ModifierType.SUPER_MASK)}}function gtkButtonToDom(e){return e===1?0:e===2?1:e===3?2:e-1}function buttonsFromModifiers(e){let t=e.get_current_event_state(),n=0;return t&a.ModifierType.BUTTON1_MASK&&(n|=1),t&a.ModifierType.BUTTON3_MASK&&(n|=2),t&a.ModifierType.BUTTON2_MASK&&(n|=4),n}function attachEventControllers(e,t,n){e.set_focusable(!0),e.set_can_focus(!0);let r={lastX:0,lastY:0,buttonsPressed:0,pressedKeys:new Set},i=new p.EventControllerMotion;i.connect(`motion`,(n,a,o)=>{let s=t();if(!s)return;let c=e.get_allocated_width(),l=e.get_allocated_height(),u=Math.max(0,Math.min(a,c)),d=Math.max(0,Math.min(o,l)),f=u-r.lastX,p=d-r.lastY,m=extractModifiers(i),h=buttonsFromModifiers(i),g={...m,clientX:u,clientY:d,offsetX:u,offsetY:d,screenX:u,screenY:d,movementX:f,movementY:p,buttons:h,button:0,bubbles:!0,cancelable:!0};s.dispatchEvent(new PointerEvent(`pointermove`,{...g,pointerId:1,pointerType:`mouse`,isPrimary:!0})),s.dispatchEvent(new MouseEvent(`mousemove`,g)),r.lastX=u,r.lastY=d}),i.connect(`enter`,(e,n,a)=>{let o=t();if(!o)return;r.lastX=n,r.lastY=a;let s={...extractModifiers(i),clientX:n,clientY:a,offsetX:n,offsetY:a,screenX:n,screenY:a,bubbles:!1,cancelable:!1};o.dispatchEvent(new PointerEvent(`pointerenter`,{...s,pointerId:1,pointerType:`mouse`,isPrimary:!0})),o.dispatchEvent(new MouseEvent(`mouseenter`,s)),o.dispatchEvent(new MouseEvent(`mouseover`,{...s,bubbles:!0}))}),i.connect(`leave`,()=>{let e=t();if(!e)return;let n={...extractModifiers(i),clientX:r.lastX,clientY:r.lastY,bubbles:!1,cancelable:!1};e.dispatchEvent(new PointerEvent(`pointerleave`,{...n,pointerId:1,pointerType:`mouse`,isPrimary:!0})),e.dispatchEvent(new MouseEvent(`mouseleave`,n)),e.dispatchEvent(new MouseEvent(`mouseout`,{...n,bubbles:!0}))}),e.add_controller(i);let o=new p.GestureClick;o.set_button(0),o.connect(`pressed`,(n,i,a,s)=>{let c=t();if(!c)return;let l=gtkButtonToDom(o.get_current_button()),u=extractModifiers(o);r.buttonsPressed|=1<<l;let d={...u,clientX:a,clientY:s,offsetX:a,offsetY:s,screenX:a,screenY:s,button:l,buttons:r.buttonsPressed,detail:i,bubbles:!0,cancelable:!0};c.dispatchEvent(new PointerEvent(`pointerdown`,{...d,pointerId:1,pointerType:`mouse`,isPrimary:!0})),c.dispatchEvent(new MouseEvent(`mousedown`,d)),e.grab_focus()}),o.connect(`released`,(e,n,i,a)=>{let s=t();if(!s)return;let c=gtkButtonToDom(o.get_current_button()),l=extractModifiers(o);r.buttonsPressed&=~(1<<c);let u={...l,clientX:i,clientY:a,offsetX:i,offsetY:a,screenX:i,screenY:a,button:c,buttons:r.buttonsPressed,detail:n,bubbles:!0,cancelable:!0};s.dispatchEvent(new PointerEvent(`pointerup`,{...u,pointerId:1,pointerType:`mouse`,isPrimary:!0})),s.dispatchEvent(new MouseEvent(`mouseup`,u)),c===0&&(s.dispatchEvent(new MouseEvent(`click`,u)),n===2&&s.dispatchEvent(new MouseEvent(`dblclick`,u))),c===2&&s.dispatchEvent(new MouseEvent(`contextmenu`,{...u,cancelable:!0}))}),e.add_controller(o);let s=new p.EventControllerScroll({flags:p.EventControllerScrollFlags.BOTH_AXES});s.connect(`scroll`,(e,n,i)=>{let a=t();if(!a)return;let o={...extractModifiers(s),clientX:r.lastX,clientY:r.lastY,offsetX:r.lastX,offsetY:r.lastY,screenX:r.lastX,screenY:r.lastY,deltaX:n*100,deltaY:i*100,deltaZ:0,deltaMode:0,bubbles:!0,cancelable:!0};return a.dispatchEvent(new WheelEvent(`wheel`,o)),!1}),e.add_controller(s);let c=new p.EventControllerKey;c.connect(`key-pressed`,(e,i,o,s)=>{let c=t();if(!c)return!1;let l=r.pressedKeys.has(i);r.pressedKeys.add(i);let u=gdkKeyvalToKey(i),d={key:u,code:gdkKeyvalToCode(i),location:gdkKeyvalToLocation(i),repeat:l,altKey:!!(s&a.ModifierType.ALT_MASK),ctrlKey:!!(s&a.ModifierType.CONTROL_MASK),metaKey:!!(s&a.ModifierType.SUPER_MASK),shiftKey:!!(s&a.ModifierType.SHIFT_MASK),keyCode:u.length===1?u.toUpperCase().charCodeAt(0):0,which:u.length===1?u.toUpperCase().charCodeAt(0):0,bubbles:!0,cancelable:!0},f=new KeyboardEvent(`keydown`,d);return c.dispatchEvent(f),getGlobalEventTarget()?.dispatchEvent(new KeyboardEvent(`keydown`,d)),n?.captureKeys===!0}),c.connect(`key-released`,(e,n,i,o)=>{let s=t();if(!s)return;r.pressedKeys.delete(n);let c=gdkKeyvalToKey(n),l={key:c,code:gdkKeyvalToCode(n),location:gdkKeyvalToLocation(n),repeat:!1,altKey:!!(o&a.ModifierType.ALT_MASK),ctrlKey:!!(o&a.ModifierType.CONTROL_MASK),metaKey:!!(o&a.ModifierType.SUPER_MASK),shiftKey:!!(o&a.ModifierType.SHIFT_MASK),keyCode:c.length===1?c.toUpperCase().charCodeAt(0):0,which:c.length===1?c.toUpperCase().charCodeAt(0):0,bubbles:!0,cancelable:!0};s.dispatchEvent(new KeyboardEvent(`keyup`,l)),getGlobalEventTarget()?.dispatchEvent(new KeyboardEvent(`keyup`,l))}),e.add_controller(c);let l=new p.EventControllerFocus;l.connect(`enter`,()=>{let e=t();e&&(e.dispatchEvent(new FocusEvent(`focus`,{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0,cancelable:!1})))}),l.connect(`leave`,()=>{let e=t();e&&(r.pressedKeys.clear(),e.dispatchEvent(new FocusEvent(`blur`,{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,cancelable:!1})),getGlobalEventTarget()?.dispatchEvent(new FocusEvent(`blur`,{bubbles:!1,cancelable:!1})))}),e.add_controller(l)}const kr=g.registerClass({GTypeName:`GjsifyWebGLBridge`},class WebGLBridge extends p.GLArea{constructor(e){super(e),this._canvas=null,this._readyCallbacks=[],this._resizeCallbacks=[],this._renderTag=null,this._tickCallbackId=null,this._frameCallback=null,this._lastFrameCallback=null,this._lastFrameTime=0,this._replaying=!1,this._frameCallbackId=0,this._nextFrameId=1,this._timeOrigin=s.get_monotonic_time(),this.set_use_es(!0),this.set_required_version(3,2),this.set_has_depth_buffer(!0),this.set_has_stencil_buffer(!0),attachEventControllers(this,()=>this._canvas,{captureKeys:!0}),this._tickCallbackId=this.add_tick_callback((e,t)=>(this._frameCallback!==null&&this.queue_render(),s.SOURCE_CONTINUE));let t=this.connect(`render`,()=>{this.disconnect(t),this.make_current(),this._canvas=new HTMLCanvasElement$1(this);{let e=globalThis;e.document?.body&&e.document.body.appendChild(this._canvas)}this._canvas.getContext(`webgl2`);let e=this._canvas.getContext(`webgl`);if(e){for(let t of this._readyCallbacks)t(this._canvas,e);this._readyCallbacks=[]}return this._renderTag=this.connect(`render`,e=>{let t=(s.get_monotonic_time()-this._timeOrigin)/1e3;if(this._frameCallback!==null){globalThis.__GJSIFY_DEBUG_RAF===!0&&k.log(`[rAF] frame callback fires t=${t.toFixed(1)}`);let e=this._frameCallback;this._frameCallback=null,this._frameCallbackId=0,this._lastFrameCallback=e,this._lastFrameTime=t,e(t)}else if(this._lastFrameCallback!==null){this._replaying=!0;try{this._lastFrameCallback(this._lastFrameTime)}finally{this._replaying=!1}}return!0}),!0});this.connect(`resize`,()=>{let e=this.get_allocated_width(),t=this.get_allocated_height();this._canvas&&(this._canvas.dispatchEvent(new Event(`resize`)),notifyElementResize(this._canvas,e,t));for(let n of this._resizeCallbacks)n(e,t);this._frameCallback&&this.requestAnimationFrame(this._frameCallback)}),this.connect(`unrealize`,()=>{this._renderTag!==null&&(this.disconnect(this._renderTag),this._renderTag=null),this._tickCallbackId!==null&&(this.remove_tick_callback(this._tickCallbackId),this._tickCallbackId=null),this._frameCallback=null,this._lastFrameCallback=null,this._lastFrameTime=0,this._replaying=!1,this._canvas=null})}get canvas(){return this._canvas}onReady(e){if(this._canvas){let t=this._canvas.getContext(`webgl`);if(t){e(this._canvas,t);return}}this._readyCallbacks.push(e)}onWebGLReady(e){this.onReady(e)}onResize(e){this._resizeCallbacks.push(e)}requestAnimationFrame(e){let t=this._nextFrameId++;return this._replaying?t:(this._frameCallback=e,this._frameCallbackId=t,this.queue_render(),t)}cancelAnimationFrame(e){e!==0&&e===this._frameCallbackId&&(this._frameCallback=null,this._frameCallbackId=0,this._lastFrameCallback=null,this._lastFrameTime=0)}installGlobals(){let e=globalThis;e.requestAnimationFrame=e=>this.requestAnimationFrame(e),e.cancelAnimationFrame=e=>this.cancelAnimationFrame(e),e.WebGLRenderingContext=WebGLRenderingContext$1,e.WebGL2RenderingContext=Tn,Object.defineProperty(globalThis,"devicePixelRatio",{get:()=>this.get_scale_factor()||1,configurable:!0});let t=this._timeOrigin;e.performance={now:()=>(s.get_monotonic_time()-t)/1e3,timeOrigin:Date.now()}}});globalThis.imports
|
|
78
|
+
</node>`}function isWin32(){return gt.DIR_SEPARATOR===92}function defaultListenAddress(){return isWin32()?`nonce-tcp:host=127.0.0.1`:`unix:tmpdir=${gt.get_tmp_dir()}`}var DevtoolsPeerServerError=class extends Error{constructor(e,t,n,r){super(e),this.address=t,this.reason=n,this.name=`DevtoolsPeerServerError`,this.cause=r}};function isAddressInUse(e){return e instanceof gt.Error&&e.matches(_t.io_error_quark(),_t.IOErrorEnum.ADDRESS_IN_USE)}function unixSocketPath(e){if(!e.startsWith(`unix:`))return null;for(let t of e.slice(5).split(`,`)){let e=t.indexOf(`=`);if(!(e<0||t.slice(0,e)!==`path`))try{return decodeURIComponent(t.slice(e+1))}catch{return null}}return null}function inspectExistingSocket(e){try{if((_t.File.new_for_path(e).query_info(`unix::mode`,_t.FileQueryInfoFlags.NONE,null).get_attribute_uint32(`unix::mode`)&61440)!=49152)return`not-a-socket`}catch{return`not-a-socket`}let t=new _t.SocketClient;t.set_timeout(2);let n;try{n=t.connect(_t.UnixSocketAddress.new(e),null)}catch{return`dead`}return n.close(null),`live`}function clearReclaimableSocket(e){let t=unixSocketPath(e);if(!t||!gt.file_test(t,gt.FileTest.EXISTS))return;let n=inspectExistingSocket(t);if(n===`live`)throw new DevtoolsPeerServerError(`cannot listen on ${e}: another process is already listening there. Stop it, or point ${Tr} (or options.address) at a different socket — GJSIFY_DEVTOOLS_INSTANCE=<label> lets two devtools-enabled apps run side by side.`,e,`address-in-use`);if(n===`not-a-socket`)throw new DevtoolsPeerServerError(`cannot listen on ${e}: ${t} already exists and is not a socket, so it will NOT be removed. Point ${Tr} (or options.address) at a free path.`,e,`occupied-by-other-file`);try{_t.File.new_for_path(t).delete(null)}catch(n){throw new DevtoolsPeerServerError(`cannot listen on ${e}: ${t} is a socket nothing listens on, but removing it failed (${n}). Delete it by hand, or point ${Tr} at a free path.`,e,`address-in-use`,n)}k.log(`[gjsify-devtools] reclaimed the stale socket ${t}: nothing was listening on it (an abnormal exit — Ctrl-C, SIGKILL, a crash — leaves the inode behind).`)}function flagsForAddress(e){return e.startsWith(`tcp:`)||e.startsWith(`nonce-tcp:`)?_t.DBusServerFlags.NONE:_t.DBusServerFlags.AUTHENTICATION_REQUIRE_SAME_USER}function startDevtoolsPeerServer(e,t,n){let r=n&&n!==``?n:defaultListenAddress();clearReclaimableSocket(r);let i;try{i=_t.DBusServer.new_sync(r,flagsForAddress(r),_t.dbus_generate_guid(),null,null)}catch(e){let t=isAddressInUse(e);throw new DevtoolsPeerServerError(t?`cannot listen on ${r}: the address is already in use (${e}). Stop whatever holds it, or point ${Tr} (or options.address) at a different address.`:`cannot listen on ${r}: ${e}. Check the address form — \`unix:path=/tmp/app.sock\`, \`unix:tmpdir=/tmp\` or \`nonce-tcp:host=127.0.0.1\`.`,r,t?`address-in-use`:`listen-failed`,e)}let a=new Set;i.connect(`new-connection`,(n,r)=>(a.add(r),r.connect(`closed`,()=>{e.unexport(r),a.delete(r)}),e.export(r,t),!0)),i.start();let o=!1;return{address:i.get_client_address(),objectPath:t,get connectionCount(){return a.size},stop(){if(!o){o=!0,i.stop();for(let t of a)e.unexport(t),!t.is_closed()&&t.close(null,(e,t)=>{try{e.close_finish(t)}catch{}});a.clear()}}}}function writeDevtoolsAddressFile(e,t){try{if(gt.mkdir_with_parents(gt.path_get_dirname(e),448),!gt.file_set_contents(e,`${t}\n`))return null}catch(t){return k.error(`[gjsify-devtools] could not publish the peer address to ${e}: ${t}`),null}try{_t.File.new_for_path(e).set_attribute_uint32(`unix::mode`,384,_t.FileQueryInfoFlags.NONE,null)}catch(t){k.error(`[gjsify-devtools] could not restrict ${e} to the current user: ${t}`)}return e}function removeDevtoolsAddressFile(e){try{_t.File.new_for_path(e).delete(null)}catch{}}var Er=m;function captureWidgetPng(e){let t=e.get_native()?.get_renderer();if(!t)return null;let n=e.get_width(),r=e.get_height();if(n<=0||r<=0)return null;let i=xr.WidgetPaintable.new(e),a=xr.Snapshot.new();i.snapshot(a,n,r);let o=a.to_node();if(!o)return null;let s=new Er.Rect;s.init(0,0,n,r);let c=t.render_texture(o,s).save_to_png_bytes().get_data();return c?new Uint8Array(c):null}function dumpGSettings(e){let t=_t.SettingsSchemaSource.get_default()?.lookup(e,!0);if(!t)throw Error(formatDbusErrorMessage(`not-found`,`GSettings schema '${e}' is not installed`));let n=new _t.Settings({settings_schema:t}),r={};for(let e of t.list_keys())r[e]=n.get_value(e).recursiveUnpack();return r}function parseWidgetPath(e){let t=e.split(`/`).filter(e=>e.length>0);if(t.length===0)return null;let n=t[0].match(/^toplevel:(\d+)$/);if(!n)return null;let r=[];for(let e of t.slice(1)){let t=e.match(/^child:(\d+)$/);if(!t)return null;r.push(Number(t[1]))}return{toplevel:Number(n[1]),children:r}}function buildWidgetPath(e,t){return[`toplevel:${e}`,...t.map(e=>`child:${e}`)].join(`/`)}function widgetType(e){let t=e;return typeof t.$typeName==`string`&&t.$typeName.length>0?t.$typeName:t.constructor?.$gtype?.name??`GtkWidget`}function activateWidget(e){let t=e;if(typeof t.activate==`function`&&t.activate()===!0)return!0;let n=typeof t.get_parent==`function`?t.get_parent():null;if(n&&widgetType(n)===`GtkListBox`){let t=n,r=!1;return typeof t.select_row==`function`&&(t.select_row(e),r=!0),typeof t.emit==`function`&&(t.emit(`row-activated`,e),r=!0),r}return!1}function nthChild(e,t){let n=e.get_first_child(),r=0;for(;n&&r<t;)n=n.get_next_sibling(),r++;return r===t?n:null}function listToplevels(){let e=xr.Window.get_toplevels(),t=e.get_n_items(),n=[];for(let r=0;r<t;r++){let t=e.get_item(r);t&&n.push({path:`toplevel:${r}`,type:widgetType(t),title:t.get_title?.()??null,mapped:t.get_mapped(),focused:t.is_active??!1})}return n}function resolveWidgetPath(e){let t=parseWidgetPath(e);if(!t)return null;let n=xr.Window.get_toplevels().get_item(t.toplevel);if(!n)return null;for(let e of t.children)if(n=nthChild(n,e),!n)return null;return n}function dumpTree(e,t,n){let r={path:n,type:widgetType(e),name:e.get_name()||null,cssClasses:e.get_css_classes(),mapped:e.get_mapped(),visible:e.get_visible(),children:[]};if(t<=0)return r;let i=e.get_first_child(),a=0;for(;i;)r.children.push(dumpTree(i,t-1,`${n}/child:${a}`)),i=i.get_next_sibling(),a++;return r}function jsonSafe(e){let t=typeof e;return e==null||t===`string`||t===`number`||t===`boolean`?e??null:`[${t}]`}function getWidgetProperty(e,t){let n=e,r=t.replace(/-/g,`_`),i=t.replace(/[-_]([a-z])/g,(e,t)=>t.toUpperCase());for(let e of[t,r,i])if(e in n)return jsonSafe(n[e])}function childIndex(e,t){let n=e.get_first_child(),r=0;for(;n;){if(n===t)return r;n=n.get_next_sibling(),r++}return-1}function pathOfWidget(e){let t=[],n=e,r=n.get_parent();for(;r;){let e=childIndex(r,n);if(e<0)return null;t.unshift(e),n=r,r=n.get_parent()}let i=xr.Window.get_toplevels(),a=i.get_n_items();for(let e=0;e<a;e++)if(i.get_item(e)===n)return buildWidgetPath(e,t);return null}function frameDelay(e){return new Promise(t=>{gt.timeout_add(gt.PRIORITY_DEFAULT,e,()=>(t(),gt.SOURCE_REMOVE))})}async function captureWidgetWhenRenderable(e,t=12,n=50){for(let r=0;r<t;r++){let t=captureWidgetPng(e);if(t)return t;await frameDelay(n)}return captureWidgetPng(e)}var DevtoolsService=class{constructor(e,t){this._app=e,this._options=t,this._exported=new Map,this._peer=null,this._addressFile=null,this._kinds=new Map,this._extensions=t.extend??[];for(let[e,t]of Object.entries(wr))this._kinds.set(e,t);for(let e of this._extensions){for(let[t,n]of Object.entries(e.methodKinds))this._kinds.set(t,n);for(let[t,n]of Object.entries(e.handlers)){let e=n;this[t]=(...n)=>(this._guard(t),e(...n))}}}export(e,t){if(this._exported.has(e))return;let n=buildDevtoolsIfaceXml(this._extensions.flatMap(e=>e.methodsXml??[])),r=_t.DBusExportedObject.wrapJSObject(n,this);r.export(e,t),this._exported.set(e,r)}unexport(e){if(e){this._exported.get(e)?.unexport(),this._exported.delete(e);return}for(let e of this._exported.values())e.unexport();this._exported.clear(),this._peer?.stop(),this._peer=null,this._addressFile&&=(removeDevtoolsAddressFile(this._addressFile),null)}attachPeerServer(e,t){this._peer=e,this._addressFile=t??null}get peerAddress(){return this._peer?.address??null}get addressFile(){return this._addressFile}GetStatus(){let e=this._app.get_active_window(),t={appId:this._app.get_application_id()??`unknown`,instance:this._options.instance??`default`,activeWindow:e?{id:e.get_name()||`window`,title:e.get_title()??``,mapped:e.get_mapped()}:null,toplevelCount:xr.Window.get_toplevels().get_n_items(),focusedWidget:null,paused:this._isPaused()};for(let e of this._extensions){let n=e.contributeStatus?.();n&&Object.assign(t,n)}return JSON.stringify(t)}async ScreenshotAsync(e,t){try{let e=await this._captureActiveWindowPng();t.return_value(new gt.Variant(`(ay)`,[e]))}catch(e){t.return_dbus_error(`org.gjsify.Devtools.Error.Screenshot`,e instanceof Error?e.message:String(e))}}async _captureActiveWindowPng(){let e=this._app.get_active_window();if(!e)return new Uint8Array;let t=captureWidgetPng(e);return t||=(e.present(),await captureWidgetWhenRenderable(e)),t??new Uint8Array}ListActions(){let e={app:describeActions(this._actionGroup(`app`)),win:describeActions(this._actionGroup(`win`))};return JSON.stringify(e)}ActivateAction(e,t,n){this._guard(`ActivateAction`);let r=this._scope(e);activateAction(this._requireGroup(r,t),t,this._parseValue(n))}ChangeActionState(e,t,n){this._guard(`ChangeActionState`);let r=this._scope(e);changeActionState(this._requireGroup(r,t),t,this._parseValue(n))}PresentWindow(){this._app.get_active_window()?.present()}ResizeWindow(e,t){this._guard(`ResizeWindow`);let n=this._app.get_active_window();if(!n)throw Error(formatDbusErrorMessage(`unavailable`,`no active window to resize`));let r=Math.max(1,Math.round(e)),i=Math.max(1,Math.round(t));return n.is_maximized()&&n.unmaximize(),n.is_fullscreen()&&n.unfullscreen(),n.set_default_size(r,i),[r,i]}ListToplevels(){return JSON.stringify(listToplevels())}DumpTree(e,t){let n=this._resolveRootWidget(e);if(!n)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e||`active window`}'`));return JSON.stringify(dumpTree(n.widget,t>0?t:8,n.path))}GetProperty(e,t){let n=this._resolveRootWidget(e);if(!n)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e}'`));let r=getWidgetProperty(n.widget,t);if(r===void 0)throw Error(formatDbusErrorMessage(`not-found`,`widget has no property '${t}'`));return JSON.stringify(r)}GetFocused(){let e=this._app.get_active_window(),t=e?e.get_focus():null;return JSON.stringify(t?{path:pathOfWidget(t),name:t.get_name()||null,type:widgetType(t)}:null)}ActivateWidget(e){this._guard(`ActivateWidget`);let t=this._resolveRootWidget(e);if(!t)throw Error(formatDbusErrorMessage(`not-found`,`no widget at '${e}'`));return activateWidget(t.widget)}DumpGSettings(e){return JSON.stringify(dumpGSettings(e))}DumpCss(){return JSON.stringify(dumpCss())}SwapCss(e,t){return this._guard(`SwapCss`),swapCss(e,t)}_resolveRootWidget(e){if(!e||e===`window`||e===`active`){let e=this._app.get_active_window();return e?{widget:e,path:pathOfWidget(e)??`toplevel:0`}:null}let t=resolveWidgetPath(e);return t?{widget:t,path:e}:null}_isPaused(){return this._options.paused?.()??!1}_guard(e){let t=this._kinds.get(e);if(!t)throw Error(formatDbusErrorMessage(`internal`,`unclassified devtools method '${e}'`));if(t===`mutating`&&this._isPaused())throw Error(formatDbusErrorMessage(`paused`,`${e} rejected — external control is paused. Read-only methods keep working.`))}_scope(e){return e===`app`?`app`:`win`}_actionGroup(e){if(e===`app`)return this._app;if(this._options.winActionGroup)return this._options.winActionGroup;let t=this._app.get_active_window();return t instanceof xr.ApplicationWindow?t:null}_requireGroup(e,t){let n=this._actionGroup(e);if(!n)throw Error(formatDbusErrorMessage(`unavailable`,`no '${e}' action group`));if(!n.has_action(t))throw Error(formatDbusErrorMessage(`not-found`,`unknown action ${e}.${t}`));return n}_parseValue(e){if(!e||e===`null`)return null;try{return JSON.parse(e)}catch{throw Error(formatDbusErrorMessage(`invalid-params`,`value_json is not valid JSON: ${e}`))}}};const Dr=`DBUS_SESSION_BUS_ADDRESS`,Or=new Set;function envEnabled(){return isDevtoolsEnabledValue(gt.getenv(`GJSIFY_DEVTOOLS`))}function envValue(e){let t=gt.getenv(e);return t&&t!==``?t:null}function sessionBusUsable(){if(!envValue(Dr))return!1;try{return _t.bus_get_sync(_t.BusType.SESSION,null),!0}catch{return!1}}function chooseDevtoolsTransport(e){return e.requestedAddress?{kind:`peer`,address:e.requestedAddress,reason:`requested`}:e.hasAppConnection?{kind:`session-bus`}:e.sessionBusUsable?{kind:`unregistered`}:{kind:`peer`,address:null,reason:`no-session-bus`}}function describeMissingConnection(e,t){return e?t?`[gjsify-devtools] the session bus answers but this application is not registered on it yet — call installDevtools() from the GtkApplication "startup" handler (the bus connection and object path exist only after registration).`:`[gjsify-devtools] ${Dr} is set (${e}) but no bus answers there — using the bus-less peer transport instead. On macOS this is the usual state: Homebrew's dbus listens on launchd, so the advertised address only works while that socket is live.`:`[gjsify-devtools] this machine has no session bus (${Dr} is unset) — using the bus-less peer transport instead. Point the bridge at the address below, or set ${Tr} on both the app and \`gjsify debug\` to pin it yourself.`}function installDevtools(e,t={}){if(!(t.enabled??envEnabled()))return null;let n=t.instance??envValue(`GJSIFY_DEVTOOLS_INSTANCE`)??void 0,r=new DevtoolsService(e,{...t,instance:n});try{return exportDevtools(e,r,t,n)}catch(e){return r.unexport(),k.error(`[gjsify-devtools] devtools stayed OFF, the app is unaffected — ${describeInstallFailure(e)}`),null}}function describeInstallFailure(e){return e instanceof DevtoolsPeerServerError||e instanceof Error?e.message:String(e)}function exportDevtools(e,t,n,r){let i=e.get_is_registered(),a=i?e.get_dbus_connection():null,o=i?e.get_dbus_object_path():null,s=envValue(Dr),c=!!(a&&o),l=c||sessionBusUsable(),u=chooseDevtoolsTransport({requestedAddress:n.address??envValue(Tr),hasAppConnection:c,sessionBusUsable:l}),d=e.get_application_id()??`unknown`,f=`${o??`/${d.replace(/\./g,`/`)}`}/devtools`;if((u.kind===`unregistered`||u.kind===`peer`&&u.reason===`no-session-bus`)&&k.error(describeMissingConnection(s,l)),u.kind===`session-bus`&&a)t.export(a,f),k.log(`[gjsify-devtools] exported ${Cr} at ${f} (dest ${d})`);else if(u.kind===`peer`){let n=startDevtoolsPeerServer(t,f,u.address??void 0),i=writeDevtoolsAddressFile(devtoolsAddressFilePath(gt.get_user_runtime_dir(),d,r),n.address);t.attachPeerServer(n,i),k.log(`[gjsify-devtools] exported ${Cr} at ${f} (peer address ${n.address}${i?`, published to ${i}`:``})`),i&&e.connect(`shutdown`,()=>removeDevtoolsAddressFile(i))}return Or.add(t),t}function notifyElementResize(e,t,n){e._allocatedClientWidth=t,e._allocatedClientHeight=n,e._fireResizeSubscribers(t,n);let r=e.parentNode;for(;r;)r instanceof Element&&(r._allocatedClientWidth=t,r._allocatedClientHeight=n,r._fireResizeSubscribers(t,n)),r=r.parentNode}var HTMLCanvasElement$1=class extends lt{static{__name(this,`HTMLCanvasElement`)}constructor(e){super(),this.gtkGlArea=e}get width(){return this.gtkGlArea.get_allocated_width()*this.scaleFactor}set width(e){}get height(){return this.gtkGlArea.get_allocated_height()*this.scaleFactor}set height(e){}get scaleFactor(){return this.gtkGlArea.get_scale_factor()||1}get clientWidth(){return this.gtkGlArea.get_allocated_width()}get clientHeight(){return this.gtkGlArea.get_allocated_height()}get offsetWidth(){return this.clientWidth}get offsetHeight(){return this.clientHeight}getGlArea(){return this.gtkGlArea}getContext(e,t){return e===`webgl`||e===`experimental-webgl`?(this._webgl||=(this.gtkGlArea.make_current(),new WebGLRenderingContext$1(this,t)),this._webgl):e===`webgl2`?(this._webgl2||=(this.gtkGlArea.make_current(),new Tn(this,t)),this._webgl2):super.getContext(e,t)}};const kr={Return:`Enter`,KP_Enter:`Enter`,Tab:`Tab`,ISO_Left_Tab:`Tab`,BackSpace:`Backspace`,Escape:`Escape`,Delete:`Delete`,KP_Delete:`Delete`,Insert:`Insert`,KP_Insert:`Insert`,Home:`Home`,KP_Home:`Home`,End:`End`,KP_End:`End`,Page_Up:`PageUp`,KP_Page_Up:`PageUp`,Page_Down:`PageDown`,KP_Page_Down:`PageDown`,Left:`ArrowLeft`,KP_Left:`ArrowLeft`,Up:`ArrowUp`,KP_Up:`ArrowUp`,Right:`ArrowRight`,KP_Right:`ArrowRight`,Down:`ArrowDown`,KP_Down:`ArrowDown`,Shift_L:`Shift`,Shift_R:`Shift`,Control_L:`Control`,Control_R:`Control`,Alt_L:`Alt`,Alt_R:`Alt`,Super_L:`Meta`,Super_R:`Meta`,Meta_L:`Meta`,Meta_R:`Meta`,Caps_Lock:`CapsLock`,Num_Lock:`NumLock`,Scroll_Lock:`ScrollLock`,Print:`PrintScreen`,Pause:`Pause`,Menu:`ContextMenu`,space:` `,F1:`F1`,F2:`F2`,F3:`F3`,F4:`F4`,F5:`F5`,F6:`F6`,F7:`F7`,F8:`F8`,F9:`F9`,F10:`F10`,F11:`F11`,F12:`F12`,KP_Add:`+`,KP_Subtract:`-`,KP_Multiply:`*`,KP_Divide:`/`,KP_Decimal:`.`,KP_Separator:`,`,KP_0:`0`,KP_1:`1`,KP_2:`2`,KP_3:`3`,KP_4:`4`,KP_5:`5`,KP_6:`6`,KP_7:`7`,KP_8:`8`,KP_9:`9`},Ar={Return:`Enter`,KP_Enter:`NumpadEnter`,Tab:`Tab`,ISO_Left_Tab:`Tab`,BackSpace:`Backspace`,Escape:`Escape`,Delete:`Delete`,KP_Delete:`NumpadDecimal`,Insert:`Insert`,KP_Insert:`Numpad0`,Home:`Home`,KP_Home:`Numpad7`,End:`End`,KP_End:`Numpad1`,Page_Up:`PageUp`,KP_Page_Up:`Numpad9`,Page_Down:`PageDown`,KP_Page_Down:`Numpad3`,Left:`ArrowLeft`,KP_Left:`Numpad4`,Up:`ArrowUp`,KP_Up:`Numpad8`,Right:`ArrowRight`,KP_Right:`Numpad6`,Down:`ArrowDown`,KP_Down:`Numpad2`,Shift_L:`ShiftLeft`,Shift_R:`ShiftRight`,Control_L:`ControlLeft`,Control_R:`ControlRight`,Alt_L:`AltLeft`,Alt_R:`AltRight`,Super_L:`MetaLeft`,Super_R:`MetaRight`,Meta_L:`MetaLeft`,Meta_R:`MetaRight`,Caps_Lock:`CapsLock`,Num_Lock:`NumLock`,Scroll_Lock:`ScrollLock`,Print:`PrintScreen`,Pause:`Pause`,Menu:`ContextMenu`,space:`Space`,F1:`F1`,F2:`F2`,F3:`F3`,F4:`F4`,F5:`F5`,F6:`F6`,F7:`F7`,F8:`F8`,F9:`F9`,F10:`F10`,F11:`F11`,F12:`F12`,KP_Add:`NumpadAdd`,KP_Subtract:`NumpadSubtract`,KP_Multiply:`NumpadMultiply`,KP_Divide:`NumpadDivide`,KP_Decimal:`NumpadDecimal`,KP_Separator:`NumpadComma`,KP_0:`Numpad0`,KP_1:`Numpad1`,KP_2:`Numpad2`,KP_3:`Numpad3`,KP_4:`Numpad4`,KP_5:`Numpad5`,KP_6:`Numpad6`,KP_7:`Numpad7`,KP_8:`Numpad8`,KP_9:`Numpad9`};function gdkKeyvalToKey(e){let t=a.keyval_name(e);if(t&&kr[t])return kr[t];let n=a.keyval_to_unicode(e);return n>0?String.fromCodePoint(n):t??`Unidentified`}function gdkKeyvalToCode(e){let t=a.keyval_name(e);if(t&&Ar[t])return Ar[t];let n=a.keyval_to_unicode(e);if(n>=97&&n<=122)return`Key`+String.fromCodePoint(n-32);if(n>=65&&n<=90)return`Key`+String.fromCodePoint(n);if(n>=48&&n<=57)return`Digit`+String.fromCodePoint(n);if(t){let e={minus:`Minus`,equal:`Equal`,bracketleft:`BracketLeft`,bracketright:`BracketRight`,backslash:`Backslash`,semicolon:`Semicolon`,apostrophe:`Quote`,grave:`Backquote`,comma:`Comma`,period:`Period`,slash:`Slash`};if(e[t])return e[t]}return t??`Unidentified`}function gdkKeyvalToLocation(e){let t=a.keyval_name(e);return t?t.startsWith(`KP_`)?3:t.endsWith(`_L`)?1:t.endsWith(`_R`)?2:0:0}function getGlobalEventTarget(){return globalThis.__gjsify_globalEventTarget}function extractModifiers(e){let t=e.get_current_event_state();return{shiftKey:!!(t&a.ModifierType.SHIFT_MASK),ctrlKey:!!(t&a.ModifierType.CONTROL_MASK),altKey:!!(t&a.ModifierType.ALT_MASK),metaKey:!!(t&a.ModifierType.SUPER_MASK)}}function gtkButtonToDom(e){return e===1?0:e===2?1:e===3?2:e-1}function buttonsFromModifiers(e){let t=e.get_current_event_state(),n=0;return t&a.ModifierType.BUTTON1_MASK&&(n|=1),t&a.ModifierType.BUTTON3_MASK&&(n|=2),t&a.ModifierType.BUTTON2_MASK&&(n|=4),n}function attachEventControllers(e,t,n){e.set_focusable(!0),e.set_can_focus(!0);let r={lastX:0,lastY:0,buttonsPressed:0,pressedKeys:new Set},i=new p.EventControllerMotion;i.connect(`motion`,(n,a,o)=>{let s=t();if(!s)return;let c=e.get_allocated_width(),l=e.get_allocated_height(),u=Math.max(0,Math.min(a,c)),d=Math.max(0,Math.min(o,l)),f=u-r.lastX,p=d-r.lastY,m=extractModifiers(i),h=buttonsFromModifiers(i),g={...m,clientX:u,clientY:d,offsetX:u,offsetY:d,screenX:u,screenY:d,movementX:f,movementY:p,buttons:h,button:0,bubbles:!0,cancelable:!0};s.dispatchEvent(new PointerEvent(`pointermove`,{...g,pointerId:1,pointerType:`mouse`,isPrimary:!0})),s.dispatchEvent(new MouseEvent(`mousemove`,g)),r.lastX=u,r.lastY=d}),i.connect(`enter`,(e,n,a)=>{let o=t();if(!o)return;r.lastX=n,r.lastY=a;let s={...extractModifiers(i),clientX:n,clientY:a,offsetX:n,offsetY:a,screenX:n,screenY:a,bubbles:!1,cancelable:!1};o.dispatchEvent(new PointerEvent(`pointerenter`,{...s,pointerId:1,pointerType:`mouse`,isPrimary:!0})),o.dispatchEvent(new MouseEvent(`mouseenter`,s)),o.dispatchEvent(new MouseEvent(`mouseover`,{...s,bubbles:!0}))}),i.connect(`leave`,()=>{let e=t();if(!e)return;let n={...extractModifiers(i),clientX:r.lastX,clientY:r.lastY,bubbles:!1,cancelable:!1};e.dispatchEvent(new PointerEvent(`pointerleave`,{...n,pointerId:1,pointerType:`mouse`,isPrimary:!0})),e.dispatchEvent(new MouseEvent(`mouseleave`,n)),e.dispatchEvent(new MouseEvent(`mouseout`,{...n,bubbles:!0}))}),e.add_controller(i);let o=new p.GestureClick;o.set_button(0),o.connect(`pressed`,(n,i,a,s)=>{let c=t();if(!c)return;let l=gtkButtonToDom(o.get_current_button()),u=extractModifiers(o);r.buttonsPressed|=1<<l;let d={...u,clientX:a,clientY:s,offsetX:a,offsetY:s,screenX:a,screenY:s,button:l,buttons:r.buttonsPressed,detail:i,bubbles:!0,cancelable:!0};c.dispatchEvent(new PointerEvent(`pointerdown`,{...d,pointerId:1,pointerType:`mouse`,isPrimary:!0})),c.dispatchEvent(new MouseEvent(`mousedown`,d)),e.grab_focus()}),o.connect(`released`,(e,n,i,a)=>{let s=t();if(!s)return;let c=gtkButtonToDom(o.get_current_button()),l=extractModifiers(o);r.buttonsPressed&=~(1<<c);let u={...l,clientX:i,clientY:a,offsetX:i,offsetY:a,screenX:i,screenY:a,button:c,buttons:r.buttonsPressed,detail:n,bubbles:!0,cancelable:!0};s.dispatchEvent(new PointerEvent(`pointerup`,{...u,pointerId:1,pointerType:`mouse`,isPrimary:!0})),s.dispatchEvent(new MouseEvent(`mouseup`,u)),c===0&&(s.dispatchEvent(new MouseEvent(`click`,u)),n===2&&s.dispatchEvent(new MouseEvent(`dblclick`,u))),c===2&&s.dispatchEvent(new MouseEvent(`contextmenu`,{...u,cancelable:!0}))}),e.add_controller(o);let s=new p.EventControllerScroll({flags:p.EventControllerScrollFlags.BOTH_AXES});s.connect(`scroll`,(e,n,i)=>{let a=t();if(!a)return;let o={...extractModifiers(s),clientX:r.lastX,clientY:r.lastY,offsetX:r.lastX,offsetY:r.lastY,screenX:r.lastX,screenY:r.lastY,deltaX:n*100,deltaY:i*100,deltaZ:0,deltaMode:0,bubbles:!0,cancelable:!0};return a.dispatchEvent(new WheelEvent(`wheel`,o)),!1}),e.add_controller(s);let c=new p.EventControllerKey;c.connect(`key-pressed`,(e,i,o,s)=>{let c=t();if(!c)return!1;let l=r.pressedKeys.has(i);r.pressedKeys.add(i);let u=gdkKeyvalToKey(i),d={key:u,code:gdkKeyvalToCode(i),location:gdkKeyvalToLocation(i),repeat:l,altKey:!!(s&a.ModifierType.ALT_MASK),ctrlKey:!!(s&a.ModifierType.CONTROL_MASK),metaKey:!!(s&a.ModifierType.SUPER_MASK),shiftKey:!!(s&a.ModifierType.SHIFT_MASK),keyCode:u.length===1?u.toUpperCase().charCodeAt(0):0,which:u.length===1?u.toUpperCase().charCodeAt(0):0,bubbles:!0,cancelable:!0},f=new KeyboardEvent(`keydown`,d);return c.dispatchEvent(f),getGlobalEventTarget()?.dispatchEvent(new KeyboardEvent(`keydown`,d)),n?.captureKeys===!0}),c.connect(`key-released`,(e,n,i,o)=>{let s=t();if(!s)return;r.pressedKeys.delete(n);let c=gdkKeyvalToKey(n),l={key:c,code:gdkKeyvalToCode(n),location:gdkKeyvalToLocation(n),repeat:!1,altKey:!!(o&a.ModifierType.ALT_MASK),ctrlKey:!!(o&a.ModifierType.CONTROL_MASK),metaKey:!!(o&a.ModifierType.SUPER_MASK),shiftKey:!!(o&a.ModifierType.SHIFT_MASK),keyCode:c.length===1?c.toUpperCase().charCodeAt(0):0,which:c.length===1?c.toUpperCase().charCodeAt(0):0,bubbles:!0,cancelable:!0};s.dispatchEvent(new KeyboardEvent(`keyup`,l)),getGlobalEventTarget()?.dispatchEvent(new KeyboardEvent(`keyup`,l))}),e.add_controller(c);let l=new p.EventControllerFocus;l.connect(`enter`,()=>{let e=t();e&&(e.dispatchEvent(new FocusEvent(`focus`,{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0,cancelable:!1})))}),l.connect(`leave`,()=>{let e=t();e&&(r.pressedKeys.clear(),e.dispatchEvent(new FocusEvent(`blur`,{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,cancelable:!1})),getGlobalEventTarget()?.dispatchEvent(new FocusEvent(`blur`,{bubbles:!1,cancelable:!1})))}),e.add_controller(l)}const jr=g.registerClass({GTypeName:`GjsifyWebGLBridge`},class WebGLBridge extends p.GLArea{constructor(e){super(e),this._canvas=null,this._readyCallbacks=[],this._resizeCallbacks=[],this._renderTag=null,this._tickCallbackId=null,this._frameCallback=null,this._lastFrameCallback=null,this._lastFrameTime=0,this._replaying=!1,this._frameCallbackId=0,this._nextFrameId=1,this._timeOrigin=s.get_monotonic_time(),this.set_allowed_apis(a.GLAPI.GL|a.GLAPI.GLES),this.set_required_version(3,2),this.set_has_depth_buffer(!0),this.set_has_stencil_buffer(!0),attachEventControllers(this,()=>this._canvas,{captureKeys:!0}),this._tickCallbackId=this.add_tick_callback((e,t)=>(this._frameCallback!==null&&this.queue_render(),s.SOURCE_CONTINUE));let t=this.connect(`render`,()=>{this.disconnect(t),this.make_current(),this._canvas=new HTMLCanvasElement$1(this);{let e=globalThis;e.document?.body&&e.document.body.appendChild(this._canvas)}this._canvas.getContext(`webgl2`);let e=this._canvas.getContext(`webgl`);if(e){for(let t of this._readyCallbacks)t(this._canvas,e);this._readyCallbacks=[]}return this._renderTag=this.connect(`render`,e=>{let t=(s.get_monotonic_time()-this._timeOrigin)/1e3;if(this._frameCallback!==null){globalThis.__GJSIFY_DEBUG_RAF===!0&&k.log(`[rAF] frame callback fires t=${t.toFixed(1)}`);let e=this._frameCallback;this._frameCallback=null,this._frameCallbackId=0,this._lastFrameCallback=e,this._lastFrameTime=t,e(t)}else if(this._lastFrameCallback!==null){this._replaying=!0;try{this._lastFrameCallback(this._lastFrameTime)}finally{this._replaying=!1}}return!0}),!0});this.connect(`resize`,()=>{let e=this.get_allocated_width(),t=this.get_allocated_height();this._canvas&&(this._canvas.dispatchEvent(new Event(`resize`)),notifyElementResize(this._canvas,e,t));for(let n of this._resizeCallbacks)n(e,t);this._frameCallback&&this.requestAnimationFrame(this._frameCallback)}),this.connect(`unrealize`,()=>{this._renderTag!==null&&(this.disconnect(this._renderTag),this._renderTag=null),this._tickCallbackId!==null&&(this.remove_tick_callback(this._tickCallbackId),this._tickCallbackId=null),this._frameCallback=null,this._lastFrameCallback=null,this._lastFrameTime=0,this._replaying=!1,this._canvas=null})}get canvas(){return this._canvas}onReady(e){if(this._canvas){let t=this._canvas.getContext(`webgl`);if(t){e(this._canvas,t);return}}this._readyCallbacks.push(e)}onWebGLReady(e){this.onReady(e)}onResize(e){this._resizeCallbacks.push(e)}requestAnimationFrame(e){let t=this._nextFrameId++;return this._replaying?t:(this._frameCallback=e,this._frameCallbackId=t,this.queue_render(),t)}cancelAnimationFrame(e){e!==0&&e===this._frameCallbackId&&(this._frameCallback=null,this._frameCallbackId=0,this._lastFrameCallback=null,this._lastFrameTime=0)}installGlobals(){let e=globalThis;e.requestAnimationFrame=e=>this.requestAnimationFrame(e),e.cancelAnimationFrame=e=>this.cancelAnimationFrame(e),e.WebGLRenderingContext=WebGLRenderingContext$1,e.WebGL2RenderingContext=Tn,Object.defineProperty(globalThis,"devicePixelRatio",{get:()=>this.get_scale_factor()||1,configurable:!0});let t=this._timeOrigin;e.performance={now:()=>(s.get_monotonic_time()-t)/1e3,timeOrigin:Date.now()}}});globalThis.imports
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
* Copyright 2010-2026 Three.js Authors
|
|
82
82
|
* SPDX-License-Identifier: MIT
|
|
83
83
|
*/
|
|
84
|
-
;const Ar={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},jr={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},Mr=1e3,Nr=1001,Pr=1002,Fr=1003,Ir=1006,Lr=1008,Rr=1009,zr=1012,Br=1014,Vr=1015,Hr=1016,Ur=1017,Wr=1018,Gr=1020,Kr=1023,qr=1026,Jr=1027,Yr=1029,Xr=1030,Zr=1031,Qr=1033,$r=2300,ei=2301,ti=2302,ni=2303,ri=2400,ii=2401,ai=2402,oi=`srgb`,si=`srgb-linear`,ci=`linear`,li=`srgb`,ui=7680,di=2e3;function arrayNeedsUint32(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}function isTypedArray(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function createElementNS(e){return document.createElementNS(`http://www.w3.org/1999/xhtml`,e)}function createCanvasElement(){let e=createElementNS(`canvas`);return e.style.display=`block`,e}const fi={};function log(...e){let t=`THREE.`+e.shift();k.log(t,...e)}function enhanceLogMessage(e){let t=e[0];if(typeof t==`string`&&t.startsWith(`TSL:`)){let t=e[1];t&&t.isStackTrace?e[0]+=` `+t.getLocation():e[1]=`Stack trace not available. Enable "THREE.Node.captureStackTrace" to capture stack traces.`}return e}function warn(...e){e=enhanceLogMessage(e);let t=`THREE.`+e.shift();{let n=e[0];n&&n.isStackTrace?k.warn(n.getError(t)):k.warn(t,...e)}}function error(...e){e=enhanceLogMessage(e);let t=`THREE.`+e.shift();{let n=e[0];n&&n.isStackTrace?k.error(n.getError(t)):k.error(t,...e)}}function warnOnce(...e){let t=e.join(` `);t in fi||(fi[t]=!0,warn(...e))}function probeAsync(e,t,n){return new Promise(function(r,i){function probe(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:i();break;case e.TIMEOUT_EXPIRED:setTimeout(probe,n);break;default:r()}}setTimeout(probe,n)})}const pi={0:1,2:6,4:7,3:5,1:0,6:2,7:4,5:3};var EventDispatcher=class{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let n=this._listeners;n[e]===void 0&&(n[e]=[]),n[e].indexOf(t)===-1&&n[e].push(t)}hasEventListener(e,t){let n=this._listeners;return n===void 0?!1:n[e]!==void 0&&n[e].indexOf(t)!==-1}removeEventListener(e,t){let n=this._listeners;if(n===void 0)return;let r=n[e];if(r!==void 0){let e=r.indexOf(t);e!==-1&&r.splice(e,1)}}dispatchEvent(e){let t=this._listeners;if(t===void 0)return;let n=t[e.type];if(n!==void 0){e.target=this;let t=n.slice(0);for(let n=0,r=t.length;n<r;n++)t[n].call(this,e);e.target=null}}};const mi=`00.01.02.03.04.05.06.07.08.09.0a.0b.0c.0d.0e.0f.10.11.12.13.14.15.16.17.18.19.1a.1b.1c.1d.1e.1f.20.21.22.23.24.25.26.27.28.29.2a.2b.2c.2d.2e.2f.30.31.32.33.34.35.36.37.38.39.3a.3b.3c.3d.3e.3f.40.41.42.43.44.45.46.47.48.49.4a.4b.4c.4d.4e.4f.50.51.52.53.54.55.56.57.58.59.5a.5b.5c.5d.5e.5f.60.61.62.63.64.65.66.67.68.69.6a.6b.6c.6d.6e.6f.70.71.72.73.74.75.76.77.78.79.7a.7b.7c.7d.7e.7f.80.81.82.83.84.85.86.87.88.89.8a.8b.8c.8d.8e.8f.90.91.92.93.94.95.96.97.98.99.9a.9b.9c.9d.9e.9f.a0.a1.a2.a3.a4.a5.a6.a7.a8.a9.aa.ab.ac.ad.ae.af.b0.b1.b2.b3.b4.b5.b6.b7.b8.b9.ba.bb.bc.bd.be.bf.c0.c1.c2.c3.c4.c5.c6.c7.c8.c9.ca.cb.cc.cd.ce.cf.d0.d1.d2.d3.d4.d5.d6.d7.d8.d9.da.db.dc.dd.de.df.e0.e1.e2.e3.e4.e5.e6.e7.e8.e9.ea.eb.ec.ed.ee.ef.f0.f1.f2.f3.f4.f5.f6.f7.f8.f9.fa.fb.fc.fd.fe.ff`.split(`.`);let hi=1234567;const gi=Math.PI/180,_i=180/Math.PI;function generateUUID(){let e=Math.random()*4294967295|0,t=Math.random()*4294967295|0,n=Math.random()*4294967295|0,r=Math.random()*4294967295|0;return(mi[e&255]+mi[e>>8&255]+mi[e>>16&255]+mi[e>>24&255]+`-`+mi[t&255]+mi[t>>8&255]+`-`+mi[t>>16&15|64]+mi[t>>24&255]+`-`+mi[n&63|128]+mi[n>>8&255]+`-`+mi[n>>16&255]+mi[n>>24&255]+mi[r&255]+mi[r>>8&255]+mi[r>>16&255]+mi[r>>24&255]).toLowerCase()}function clamp(e,t,n){return Math.max(t,Math.min(n,e))}function euclideanModulo(e,t){return(e%t+t)%t}function mapLinear(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)}function inverseLerp(e,t,n){return e===t?0:(n-e)/(t-e)}function lerp(e,t,n){return(1-n)*e+n*t}function damp(e,t,n,r){return lerp(e,t,1-Math.exp(-n*r))}function pingpong(e,t=1){return t-Math.abs(euclideanModulo(e,t*2)-t)}function smoothstep(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*(3-2*e))}function smootherstep(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*e*(e*(e*6-15)+10))}function randInt(e,t){return e+Math.floor(Math.random()*(t-e+1))}function randFloat(e,t){return e+Math.random()*(t-e)}function randFloatSpread(e){return e*(.5-Math.random())}function seededRandom(e){e!==void 0&&(hi=e);let t=hi+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}function degToRad(e){return e*gi}function radToDeg(e){return e*_i}function isPowerOfTwo(e){return(e&e-1)==0&&e!==0}function ceilPowerOfTwo(e){return 2**Math.ceil(Math.log(e)/Math.LN2)}function floorPowerOfTwo(e){return 2**Math.floor(Math.log(e)/Math.LN2)}function setQuaternionFromProperEuler(e,t,n,r,i){let a=Math.cos,o=Math.sin,s=a(n/2),c=o(n/2),l=a((t+r)/2),u=o((t+r)/2),d=a((t-r)/2),f=o((t-r)/2),p=a((r-t)/2),m=o((r-t)/2);switch(i){case`XYX`:e.set(s*u,c*d,c*f,s*l);break;case`YZY`:e.set(c*f,s*u,c*d,s*l);break;case`ZXZ`:e.set(c*d,c*f,s*u,s*l);break;case`XZX`:e.set(s*u,c*m,c*p,s*l);break;case`YXY`:e.set(c*p,s*u,c*m,s*l);break;case`ZYZ`:e.set(c*m,c*p,s*u,s*l);break;default:warn(`MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: `+i)}}function denormalize(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error(`THREE.MathUtils: Invalid component type.`)}}function normalize(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(e*4294967295);case Uint16Array:return Math.round(e*65535);case Uint8Array:return Math.round(e*255);case Int32Array:return Math.round(e*2147483647);case Int16Array:return Math.round(e*32767);case Int8Array:return Math.round(e*127);default:throw Error(`THREE.MathUtils: Invalid component type.`)}}const vi={DEG2RAD:gi,RAD2DEG:_i,generateUUID,clamp,euclideanModulo,mapLinear,inverseLerp,lerp,damp,pingpong,smoothstep,smootherstep,randInt,randFloat,randFloatSpread,seededRandom,degToRad,radToDeg,isPowerOfTwo,ceilPowerOfTwo,floorPowerOfTwo,setQuaternionFromProperEuler,normalize,denormalize};var yi=class Vector2{static{Vector2.prototype.isVector2=!0}constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error(`THREE.Vector2: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error(`THREE.Vector2: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(clamp(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,a=this.y-e.y;return this.x=i*n-a*r+e.x,this.y=i*r+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}},Quaternion=class{constructor(e=0,t=0,n=0,r=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=n,this._w=r}static slerpFlat(e,t,n,r,i,a,o){let s=n[r+0],c=n[r+1],l=n[r+2],u=n[r+3],d=i[a+0],f=i[a+1],p=i[a+2],m=i[a+3];if(u!==m||s!==d||c!==f||l!==p){let e=s*d+c*f+l*p+u*m;e<0&&(d=-d,f=-f,p=-p,m=-m,e=-e);let t=1-o;if(e<.9995){let n=Math.acos(e),r=Math.sin(n);t=Math.sin(t*n)/r,o=Math.sin(o*n)/r,s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o}else{s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o;let e=1/Math.sqrt(s*s+c*c+l*l+u*u);s*=e,c*=e,l*=e,u*=e}}e[t]=s,e[t+1]=c,e[t+2]=l,e[t+3]=u}static multiplyQuaternionsFlat(e,t,n,r,i,a){let o=n[r],s=n[r+1],c=n[r+2],l=n[r+3],u=i[a],d=i[a+1],f=i[a+2],p=i[a+3];return e[t]=o*p+l*u+s*f-c*d,e[t+1]=s*p+l*d+c*u-o*f,e[t+2]=c*p+l*f+o*d-s*u,e[t+3]=l*p-o*u-s*d-c*f,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,r=e._y,i=e._z,a=e._order,o=Math.cos,s=Math.sin,c=o(n/2),l=o(r/2),u=o(i/2),d=s(n/2),f=s(r/2),p=s(i/2);switch(a){case`XYZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`YXZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`ZXY`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`ZYX`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`YZX`:this._x=d*l*u+c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u-d*f*p;break;case`XZY`:this._x=d*l*u-c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u+d*f*p;break;default:warn(`Quaternion: .setFromEuler() encountered an unknown order: `+a)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],r=t[4],i=t[8],a=t[1],o=t[5],s=t[9],c=t[2],l=t[6],u=t[10],d=n+o+u;if(d>0){let e=.5/Math.sqrt(d+1);this._w=.25/e,this._x=(l-s)*e,this._y=(i-c)*e,this._z=(a-r)*e}else if(n>o&&n>u){let e=2*Math.sqrt(1+n-o-u);this._w=(l-s)/e,this._x=.25*e,this._y=(r+a)/e,this._z=(i+c)/e}else if(o>u){let e=2*Math.sqrt(1+o-n-u);this._w=(i-c)/e,this._x=(r+a)/e,this._y=.25*e,this._z=(s+l)/e}else{let e=2*Math.sqrt(1+u-n-o);this._w=(a-r)/e,this._x=(i+c)/e,this._y=(s+l)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return n<1e-8?(n=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(clamp(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(n===0)return this;let r=Math.min(1,t/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x*=e,this._y*=e,this._z*=e,this._w*=e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=t._x,s=t._y,c=t._z,l=t._w;return this._x=n*l+a*o+r*c-i*s,this._y=r*l+a*s+i*o-n*c,this._z=i*l+a*c+n*s-r*o,this._w=a*l-n*o-r*s-i*c,this._onChangeCallback(),this}slerp(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=this.dot(e);o<0&&(n=-n,r=-r,i=-i,a=-a,o=-o);let s=1-t;if(o<.9995){let e=Math.acos(o),c=Math.sin(e);s=Math.sin(s*e)/c,t=Math.sin(t*e)/c,this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this._onChangeCallback()}else this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this.normalize();return this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),r=Math.sqrt(1-n),i=Math.sqrt(n);return this.set(r*Math.sin(e),r*Math.cos(e),i*Math.sin(t),i*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}},I=class Vector3{static{Vector3.prototype.isVector3=!0}constructor(e=0,t=0,n=0){this.x=e,this.y=t,this.z=n}set(e,t,n){return n===void 0&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error(`THREE.Vector3: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error(`THREE.Vector3: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(xi.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(xi.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=e.elements,a=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*a,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*a,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,r=this.z,i=e.x,a=e.y,o=e.z,s=e.w,c=2*(a*r-o*n),l=2*(o*t-i*r),u=2*(i*n-a*t);return this.x=t+s*c+a*u-o*l,this.y=n+s*l+o*c-i*u,this.z=r+s*u+i*l-a*c,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this.z=clamp(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this.z=clamp(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,r=e.y,i=e.z,a=t.x,o=t.y,s=t.z;return this.x=r*s-i*o,this.y=i*a-n*s,this.z=n*o-r*a,this}projectOnVector(e){let t=e.lengthSq();if(t===0)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return bi.copy(this).projectOnVector(e),this.sub(bi)}reflect(e){return this.sub(bi.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(clamp(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=Math.random()*2-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}};const bi=new I,xi=new Quaternion;var Si=class Matrix3{static{Matrix3.prototype.isMatrix3=!0}constructor(e,t,n,r,i,a,o,s,c){this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,n,r,i,a,o,s,c)}set(e,t,n,r,i,a,o,s,c){let l=this.elements;return l[0]=e,l[1]=r,l[2]=o,l[3]=t,l[4]=i,l[5]=s,l[6]=n,l[7]=a,l[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[3],s=n[6],c=n[1],l=n[4],u=n[7],d=n[2],f=n[5],p=n[8],m=r[0],h=r[3],g=r[6],_=r[1],v=r[4],y=r[7],b=r[2],x=r[5],S=r[8];return i[0]=a*m+o*_+s*b,i[3]=a*h+o*v+s*x,i[6]=a*g+o*y+s*S,i[1]=c*m+l*_+u*b,i[4]=c*h+l*v+u*x,i[7]=c*g+l*y+u*S,i[2]=d*m+f*_+p*b,i[5]=d*h+f*v+p*x,i[8]=d*g+f*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8];return t*a*l-t*o*c-n*i*l+n*o*s+r*i*c-r*a*s}invert(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=l*a-o*c,d=o*s-l*i,f=c*i-a*s,p=t*u+n*d+r*f;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);let m=1/p;return e[0]=u*m,e[1]=(r*c-l*n)*m,e[2]=(o*n-r*a)*m,e[3]=d*m,e[4]=(l*t-r*s)*m,e[5]=(r*i-o*t)*m,e[6]=f*m,e[7]=(n*s-c*t)*m,e[8]=(a*t-n*i)*m,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,r,i,a,o){let s=Math.cos(i),c=Math.sin(i);return this.set(n*s,n*c,-n*(s*a+c*o)+a+e,-r*c,r*s,-r*(-c*a+s*o)+o+t,0,0,1),this}scale(e,t){return warnOnce(`Matrix3: .scale() is deprecated. Use .makeScale() instead.`),this.premultiply(Ci.makeScale(e,t)),this}rotate(e){return warnOnce(`Matrix3: .rotate() is deprecated. Use .makeRotation() instead.`),this.premultiply(Ci.makeRotation(-e)),this}translate(e,t){return warnOnce(`Matrix3: .translate() is deprecated. Use .makeTranslation() instead.`),this.premultiply(Ci.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}};const Ci=new Si,wi=new Si().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Ti=new Si().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function createColorManagement(){let e={enabled:!0,workingColorSpace:si,spaces:{},convert:function(e,t,n){return this.enabled===!1||t===n||!t||!n?e:(this.spaces[t].transfer===`srgb`&&(e.r=SRGBToLinear(e.r),e.g=SRGBToLinear(e.g),e.b=SRGBToLinear(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===`srgb`&&(e.r=LinearToSRGB(e.r),e.g=LinearToSRGB(e.g),e.b=LinearToSRGB(e.b)),e)},workingToColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},colorSpaceToWorking:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return e===``?ci:this.spaces[e].transfer},getToneMappingMode:function(e){return this.spaces[e].outputColorSpaceConfig.toneMappingMode||`standard`},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(t,n){return warnOnce(`ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace().`),e.workingToColorSpace(t,n)},toWorkingColorSpace:function(t,n){return warnOnce(`ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking().`),e.colorSpaceToWorking(t,n)}},t=[.64,.33,.3,.6,.15,.06],n=[.2126,.7152,.0722],r=[.3127,.329];return e.define({[si]:{primaries:t,whitePoint:r,transfer:ci,toXYZ:wi,fromXYZ:Ti,luminanceCoefficients:n,workingColorSpaceConfig:{unpackColorSpace:oi},outputColorSpaceConfig:{drawingBufferColorSpace:oi}},[oi]:{primaries:t,whitePoint:r,transfer:li,toXYZ:wi,fromXYZ:Ti,luminanceCoefficients:n,outputColorSpaceConfig:{drawingBufferColorSpace:oi}}}),e}const Ei=createColorManagement();function SRGBToLinear(e){return e<.04045?e*.0773993808:(e*.9478672986+.0521327014)**2.4}function LinearToSRGB(e){return e<.0031308?e*12.92:1.055*e**.41666-.055}let Di;var ImageUtils=class{static getDataURL(e,t=`image/png`){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>`u`)return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{Di===void 0&&(Di=createElementNS(`canvas`)),Di.width=e.width,Di.height=e.height;let t=Di.getContext(`2d`);e instanceof ImageData?t.putImageData(e,0,0):t.drawImage(e,0,0,e.width,e.height),n=Di}return n.toDataURL(t)}static sRGBToLinear(e){if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap){let t=createElementNS(`canvas`);t.width=e.width,t.height=e.height;let n=t.getContext(`2d`);n.drawImage(e,0,0,e.width,e.height);let r=n.getImageData(0,0,e.width,e.height),i=r.data;for(let e=0;e<i.length;e++)i[e]=SRGBToLinear(i[e]/255)*255;return n.putImageData(r,0,0),t}else if(e.data){let t=e.data.slice(0);for(let e=0;e<t.length;e++)t instanceof Uint8Array||t instanceof Uint8ClampedArray?t[e]=Math.floor(SRGBToLinear(t[e]/255)*255):t[e]=SRGBToLinear(t[e]);return{data:t,width:e.width,height:e.height}}else return warn(`ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.`),e}};let Oi=0;var Source=class{constructor(e=null){this.isSource=!0,Object.defineProperty(this,"id",{value:Oi++}),this.uuid=generateUUID(),this.data=e,this.dataReady=!0,this.version=0}getSize(e){let t=this.data;return typeof HTMLVideoElement<`u`&&t instanceof HTMLVideoElement?e.set(t.videoWidth,t.videoHeight,0):typeof VideoFrame<`u`&&t instanceof VideoFrame?e.set(t.displayWidth,t.displayHeight,0):t===null?e.set(0,0,0):e.set(t.width,t.height,t.depth||0),e}set needsUpdate(e){e===!0&&this.version++}toJSON(e){let t=e===void 0||typeof e==`string`;if(!t&&e.images[this.uuid]!==void 0)return e.images[this.uuid];let n={uuid:this.uuid,url:``},r=this.data;if(r!==null){let e;if(Array.isArray(r)){e=[];for(let t=0,n=r.length;t<n;t++)r[t].isDataTexture?e.push(serializeImage(r[t].image)):e.push(serializeImage(r[t]))}else e=serializeImage(r);n.url=e}return t||(e.images[this.uuid]=n),n}};function serializeImage(e){return typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap?ImageUtils.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(warn(`Texture: Unable to serialize Texture.`),{})}let ki=0;const Ai=new I;var ji=class Texture extends EventDispatcher{constructor(e=Texture.DEFAULT_IMAGE,t=Texture.DEFAULT_MAPPING,n=Nr,r=Nr,i=Ir,a=Lr,o=Kr,s=Rr,c=Texture.DEFAULT_ANISOTROPY,l=``){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:ki++}),this.uuid=generateUUID(),this.name=``,this.source=new Source(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=a,this.anisotropy=c,this.format=o,this.internalFormat=null,this.type=s,this.offset=new yi(0,0),this.repeat=new yi(1,1),this.center=new yi(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Si,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=l,this.userData={},this.updateRanges=[],this.version=0,this.onUpdate=null,this.renderTarget=null,this.isRenderTargetTexture=!1,this.isArrayTexture=!!(e&&e.depth&&e.depth>1),this.pmremVersion=0,this.normalized=!1}get width(){return this.source.getSize(Ai).x}get height(){return this.source.getSize(Ai).y}get depth(){return this.source.getSize(Ai).z}get image(){return this.source.data}set image(e){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.normalized=e.normalized,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.renderTarget=e.renderTarget,this.isRenderTargetTexture=e.isRenderTargetTexture,this.isArrayTexture=e.isArrayTexture,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}setValues(e){for(let t in e){let n=e[t];if(n===void 0){warn(`Texture.setValues(): parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){warn(`Texture.setValues(): property '${t}' does not exist.`);continue}r&&n&&r.isVector2&&n.isVector2||r&&n&&r.isVector3&&n.isVector3||r&&n&&r.isMatrix3&&n.isMatrix3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;if(!t&&e.textures[this.uuid]!==void 0)return e.textures[this.uuid];let n={metadata:{version:4.7,type:`Texture`,generator:`Texture.toJSON`},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,normalized:this.normalized,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:`dispose`})}transformUv(e){if(this.mapping!==300)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case Mr:e.x-=Math.floor(e.x);break;case Nr:e.x=e.x<0?0:1;break;case Pr:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x-=Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case Mr:e.y-=Math.floor(e.y);break;case Nr:e.y=e.y<0?0:1;break;case Pr:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y-=Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){e===!0&&this.pmremVersion++}};ji.DEFAULT_IMAGE=null,ji.DEFAULT_MAPPING=300,ji.DEFAULT_ANISOTROPY=1;var Mi=class Vector4{static{Vector4.prototype.isVector4=!0}constructor(e=0,t=0,n=0,r=1){this.x=e,this.y=t,this.z=n,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error(`THREE.Vector4: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error(`THREE.Vector4: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w===void 0?1:e.w,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r+a[12]*i,this.y=a[1]*t+a[5]*n+a[9]*r+a[13]*i,this.z=a[2]*t+a[6]*n+a[10]*r+a[14]*i,this.w=a[3]*t+a[7]*n+a[11]*r+a[15]*i,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,r,i,a=.01,o=.1,s=e.elements,c=s[0],l=s[4],u=s[8],d=s[1],f=s[5],p=s[9],m=s[2],h=s[6],g=s[10];if(Math.abs(l-d)<a&&Math.abs(u-m)<a&&Math.abs(p-h)<a){if(Math.abs(l+d)<o&&Math.abs(u+m)<o&&Math.abs(p+h)<o&&Math.abs(c+f+g-3)<o)return this.set(1,0,0,0),this;t=Math.PI;let e=(c+1)/2,s=(f+1)/2,_=(g+1)/2,v=(l+d)/4,y=(u+m)/4,b=(p+h)/4;return e>s&&e>_?e<a?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(e),r=v/n,i=y/n):s>_?s<a?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(s),n=v/r,i=b/r):_<a?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(_),n=y/i,r=b/i),this.set(n,r,i,t),this}let _=Math.sqrt((h-p)*(h-p)+(u-m)*(u-m)+(d-l)*(d-l));return Math.abs(_)<.001&&(_=1),this.x=(h-p)/_,this.y=(u-m)/_,this.z=(d-l)/_,this.w=Math.acos((c+f+g-1)/2),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this.z=clamp(this.z,e.z,t.z),this.w=clamp(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this.z=clamp(this.z,e,t),this.w=clamp(this.w,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}},RenderTarget=class extends EventDispatcher{constructor(e=1,t=1,n={}){super(),n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:Ir,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1,depth:1,multiview:!1,useArrayDepthTexture:!1},n),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=n.depth,this.scissor=new Mi(0,0,e,t),this.scissorTest=!1,this.viewport=new Mi(0,0,e,t),this.textures=[];let r=new ji({width:e,height:t,depth:n.depth}),i=n.count;for(let e=0;e<i;e++)this.textures[e]=r.clone(),this.textures[e].isRenderTargetTexture=!0,this.textures[e].renderTarget=this;this._setTextureOptions(n),this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.resolveDepthBuffer=n.resolveDepthBuffer,this.resolveStencilBuffer=n.resolveStencilBuffer,this._depthTexture=null,this.depthTexture=n.depthTexture,this.samples=n.samples,this.multiview=n.multiview,this.useArrayDepthTexture=n.useArrayDepthTexture}_setTextureOptions(e={}){let t={minFilter:Ir,generateMipmaps:!1,flipY:!1,internalFormat:null};e.mapping!==void 0&&(t.mapping=e.mapping),e.wrapS!==void 0&&(t.wrapS=e.wrapS),e.wrapT!==void 0&&(t.wrapT=e.wrapT),e.wrapR!==void 0&&(t.wrapR=e.wrapR),e.magFilter!==void 0&&(t.magFilter=e.magFilter),e.minFilter!==void 0&&(t.minFilter=e.minFilter),e.format!==void 0&&(t.format=e.format),e.type!==void 0&&(t.type=e.type),e.anisotropy!==void 0&&(t.anisotropy=e.anisotropy),e.colorSpace!==void 0&&(t.colorSpace=e.colorSpace),e.flipY!==void 0&&(t.flipY=e.flipY),e.generateMipmaps!==void 0&&(t.generateMipmaps=e.generateMipmaps),e.internalFormat!==void 0&&(t.internalFormat=e.internalFormat);for(let e=0;e<this.textures.length;e++)this.textures[e].setValues(t)}get texture(){return this.textures[0]}set texture(e){this.textures[0]=e}set depthTexture(e){this._depthTexture!==null&&(this._depthTexture.renderTarget=null),e!==null&&(e.renderTarget=this),this._depthTexture=e}get depthTexture(){return this._depthTexture}setSize(e,t,n=1){if(this.width!==e||this.height!==t||this.depth!==n){this.width=e,this.height=t,this.depth=n;for(let r=0,i=this.textures.length;r<i;r++)this.textures[r].image.width=e,this.textures[r].image.height=t,this.textures[r].image.depth=n,this.textures[r].isData3DTexture!==!0&&(this.textures[r].isArrayTexture=this.textures[r].image.depth>1);this.dispose()}this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.textures.length=0;for(let t=0,n=e.textures.length;t<n;t++){this.textures[t]=e.textures[t].clone(),this.textures[t].isRenderTargetTexture=!0,this.textures[t].renderTarget=this;let n=Object.assign({},e.textures[t].image);this.textures[t].source=new Source(n)}return this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.resolveDepthBuffer=e.resolveDepthBuffer,this.resolveStencilBuffer=e.resolveStencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this.multiview=e.multiview,this.useArrayDepthTexture=e.useArrayDepthTexture,this}dispose(){this.dispatchEvent({type:`dispose`})}},WebGLRenderTarget=class extends RenderTarget{constructor(e=1,t=1,n={}){super(e,t,n),this.isWebGLRenderTarget=!0}},DataArrayTexture=class extends ji{constructor(e=null,t=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=Fr,this.minFilter=Fr,this.wrapR=Nr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}},Data3DTexture=class extends ji{constructor(e=null,t=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=Fr,this.minFilter=Fr,this.wrapR=Nr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}},Ni=class Matrix4{static{Matrix4.prototype.isMatrix4=!0}constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h)}set(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){let g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=r,g[1]=i,g[5]=a,g[9]=o,g[13]=s,g[2]=c,g[6]=l,g[10]=u,g[14]=d,g[3]=f,g[7]=p,g[11]=m,g[15]=h,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Matrix4().fromArray(this.elements)}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){let t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return this.determinantAffine()===0?(e.set(1,0,0),t.set(0,1,0),n.set(0,0,1),this):(e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this)}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){if(e.determinantAffine()===0)return this.identity();let t=this.elements,n=e.elements,r=1/Pi.setFromMatrixColumn(e,0).length(),i=1/Pi.setFromMatrixColumn(e,1).length(),a=1/Pi.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){let t=this.elements,n=e.x,r=e.y,i=e.z,a=Math.cos(n),o=Math.sin(n),s=Math.cos(r),c=Math.sin(r),l=Math.cos(i),u=Math.sin(i);if(e.order===`XYZ`){let e=a*l,n=a*u,r=o*l,i=o*u;t[0]=s*l,t[4]=-s*u,t[8]=c,t[1]=n+r*c,t[5]=e-i*c,t[9]=-o*s,t[2]=i-e*c,t[6]=r+n*c,t[10]=a*s}else if(e.order===`YXZ`){let e=s*l,n=s*u,r=c*l,i=c*u;t[0]=e+i*o,t[4]=r*o-n,t[8]=a*c,t[1]=a*u,t[5]=a*l,t[9]=-o,t[2]=n*o-r,t[6]=i+e*o,t[10]=a*s}else if(e.order===`ZXY`){let e=s*l,n=s*u,r=c*l,i=c*u;t[0]=e-i*o,t[4]=-a*u,t[8]=r+n*o,t[1]=n+r*o,t[5]=a*l,t[9]=i-e*o,t[2]=-a*c,t[6]=o,t[10]=a*s}else if(e.order===`ZYX`){let e=a*l,n=a*u,r=o*l,i=o*u;t[0]=s*l,t[4]=r*c-n,t[8]=e*c+i,t[1]=s*u,t[5]=i*c+e,t[9]=n*c-r,t[2]=-c,t[6]=o*s,t[10]=a*s}else if(e.order===`YZX`){let e=a*s,n=a*c,r=o*s,i=o*c;t[0]=s*l,t[4]=i-e*u,t[8]=r*u+n,t[1]=u,t[5]=a*l,t[9]=-o*l,t[2]=-c*l,t[6]=n*u+r,t[10]=e-i*u}else if(e.order===`XZY`){let e=a*s,n=a*c,r=o*s,i=o*c;t[0]=s*l,t[4]=-u,t[8]=c*l,t[1]=e*u+i,t[5]=a*l,t[9]=n*u-r,t[2]=r*u-n,t[6]=o*l,t[10]=i*u+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Ii,e,Li)}lookAt(e,t,n){let r=this.elements;return Bi.subVectors(e,t),Bi.lengthSq()===0&&(Bi.z=1),Bi.normalize(),Ri.crossVectors(n,Bi),Ri.lengthSq()===0&&(Math.abs(n.z)===1?Bi.x+=1e-4:Bi.z+=1e-4,Bi.normalize(),Ri.crossVectors(n,Bi)),Ri.normalize(),zi.crossVectors(Bi,Ri),r[0]=Ri.x,r[4]=zi.x,r[8]=Bi.x,r[1]=Ri.y,r[5]=zi.y,r[9]=Bi.y,r[2]=Ri.z,r[6]=zi.z,r[10]=Bi.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[4],s=n[8],c=n[12],l=n[1],u=n[5],d=n[9],f=n[13],p=n[2],m=n[6],h=n[10],g=n[14],_=n[3],v=n[7],y=n[11],b=n[15],x=r[0],S=r[4],C=r[8],w=r[12],T=r[1],E=r[5],D=r[9],O=r[13],ee=r[2],te=r[6],ne=r[10],k=r[14],A=r[3],re=r[7],ie=r[11],ae=r[15];return i[0]=a*x+o*T+s*ee+c*A,i[4]=a*S+o*E+s*te+c*re,i[8]=a*C+o*D+s*ne+c*ie,i[12]=a*w+o*O+s*k+c*ae,i[1]=l*x+u*T+d*ee+f*A,i[5]=l*S+u*E+d*te+f*re,i[9]=l*C+u*D+d*ne+f*ie,i[13]=l*w+u*O+d*k+f*ae,i[2]=p*x+m*T+h*ee+g*A,i[6]=p*S+m*E+h*te+g*re,i[10]=p*C+m*D+h*ne+g*ie,i[14]=p*w+m*O+h*k+g*ae,i[3]=_*x+v*T+y*ee+b*A,i[7]=_*S+v*E+y*te+b*re,i[11]=_*C+v*D+y*ne+b*ie,i[15]=_*w+v*O+y*k+b*ae,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[4],r=e[8],i=e[12],a=e[1],o=e[5],s=e[9],c=e[13],l=e[2],u=e[6],d=e[10],f=e[14],p=e[3],m=e[7],h=e[11],g=e[15],_=s*f-c*d,v=o*f-c*u,y=o*d-s*u,b=a*f-c*l,x=a*d-s*l,S=a*u-o*l;return t*(m*_-h*v+g*y)-n*(p*_-h*b+g*x)+r*(p*v-m*b+g*S)-i*(p*y-m*x+h*S)}determinantAffine(){let e=this.elements,t=e[0],n=e[4],r=e[8],i=e[1],a=e[5],o=e[9],s=e[2],c=e[6],l=e[10];return t*(a*l-o*c)-n*(i*l-o*s)+r*(i*c-a*s)}transpose(){let e=this.elements,t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,n){let r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this}invert(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=e[9],d=e[10],f=e[11],p=e[12],m=e[13],h=e[14],g=e[15],_=t*o-n*a,v=t*s-r*a,y=t*c-i*a,b=n*s-r*o,x=n*c-i*o,S=r*c-i*s,C=l*m-u*p,w=l*h-d*p,T=l*g-f*p,E=u*h-d*m,D=u*g-f*m,O=d*g-f*h,ee=_*O-v*D+y*E+b*T-x*w+S*C;if(ee===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let te=1/ee;return e[0]=(o*O-s*D+c*E)*te,e[1]=(r*D-n*O-i*E)*te,e[2]=(m*S-h*x+g*b)*te,e[3]=(d*x-u*S-f*b)*te,e[4]=(s*T-a*O-c*w)*te,e[5]=(t*O-r*T+i*w)*te,e[6]=(h*y-p*S-g*v)*te,e[7]=(l*S-d*y+f*v)*te,e[8]=(a*D-o*T+c*C)*te,e[9]=(n*T-t*D-i*C)*te,e[10]=(p*x-m*y+g*_)*te,e[11]=(u*y-l*x-f*_)*te,e[12]=(o*w-a*E-s*C)*te,e[13]=(t*E-n*w+r*C)*te,e[14]=(m*v-p*b-h*_)*te,e[15]=(l*b-u*v+d*_)*te,this}scale(e){let t=this.elements,n=e.x,r=e.y,i=e.z;return t[0]*=n,t[4]*=r,t[8]*=i,t[1]*=n,t[5]*=r,t[9]*=i,t[2]*=n,t[6]*=r,t[10]*=i,t[3]*=n,t[7]*=r,t[11]*=i,this}getMaxScaleOnAxis(){let e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let n=Math.cos(t),r=Math.sin(t),i=1-n,a=e.x,o=e.y,s=e.z,c=i*a,l=i*o;return this.set(c*a+n,c*o-r*s,c*s+r*o,0,c*o+r*s,l*o+n,l*s-r*a,0,c*s-r*o,l*s+r*a,i*s*s+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,r,i,a){return this.set(1,n,i,0,e,1,a,0,t,r,1,0,0,0,0,1),this}compose(e,t,n){let r=this.elements,i=t._x,a=t._y,o=t._z,s=t._w,c=i+i,l=a+a,u=o+o,d=i*c,f=i*l,p=i*u,m=a*l,h=a*u,g=o*u,_=s*c,v=s*l,y=s*u,b=n.x,x=n.y,S=n.z;return r[0]=(1-(m+g))*b,r[1]=(f+y)*b,r[2]=(p-v)*b,r[3]=0,r[4]=(f-y)*x,r[5]=(1-(d+g))*x,r[6]=(h+_)*x,r[7]=0,r[8]=(p+v)*S,r[9]=(h-_)*S,r[10]=(1-(d+m))*S,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,n){let r=this.elements;e.x=r[12],e.y=r[13],e.z=r[14];let i=this.determinantAffine();if(i===0)return n.set(1,1,1),t.identity(),this;let a=Pi.set(r[0],r[1],r[2]).length(),o=Pi.set(r[4],r[5],r[6]).length(),s=Pi.set(r[8],r[9],r[10]).length();i<0&&(a=-a),Fi.copy(this);let c=1/a,l=1/o,u=1/s;return Fi.elements[0]*=c,Fi.elements[1]*=c,Fi.elements[2]*=c,Fi.elements[4]*=l,Fi.elements[5]*=l,Fi.elements[6]*=l,Fi.elements[8]*=u,Fi.elements[9]*=u,Fi.elements[10]*=u,t.setFromRotationMatrix(Fi),n.x=a,n.y=o,n.z=s,this}makePerspective(e,t,n,r,i,a,o=di,s=!1){let c=this.elements,l=2*i/(t-e),u=2*i/(n-r),d=(t+e)/(t-e),f=(n+r)/(n-r),p,m;if(s)p=i/(a-i),m=a*i/(a-i);else if(o===2e3)p=-(a+i)/(a-i),m=-2*a*i/(a-i);else if(o===2001)p=-a/(a-i),m=-a*i/(a-i);else throw Error(`THREE.Matrix4.makePerspective(): Invalid coordinate system: `+o);return c[0]=l,c[4]=0,c[8]=d,c[12]=0,c[1]=0,c[5]=u,c[9]=f,c[13]=0,c[2]=0,c[6]=0,c[10]=p,c[14]=m,c[3]=0,c[7]=0,c[11]=-1,c[15]=0,this}makeOrthographic(e,t,n,r,i,a,o=di,s=!1){let c=this.elements,l=2/(t-e),u=2/(n-r),d=-(t+e)/(t-e),f=-(n+r)/(n-r),p,m;if(s)p=1/(a-i),m=a/(a-i);else if(o===2e3)p=-2/(a-i),m=-(a+i)/(a-i);else if(o===2001)p=-1/(a-i),m=-i/(a-i);else throw Error(`THREE.Matrix4.makeOrthographic(): Invalid coordinate system: `+o);return c[0]=l,c[4]=0,c[8]=0,c[12]=d,c[1]=0,c[5]=u,c[9]=0,c[13]=f,c[2]=0,c[6]=0,c[10]=p,c[14]=m,c[3]=0,c[7]=0,c[11]=0,c[15]=1,this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}};const Pi=new I,Fi=new Ni,Ii=new I(0,0,0),Li=new I(1,1,1),Ri=new I,zi=new I,Bi=new I,Vi=new Ni,Hi=new Quaternion;var Ui=class Euler{constructor(e=0,t=0,n=0,r=Euler.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,r=this._order){return this._x=e,this._y=t,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){let r=e.elements,i=r[0],a=r[4],o=r[8],s=r[1],c=r[5],l=r[9],u=r[2],d=r[6],f=r[10];switch(t){case`XYZ`:this._y=Math.asin(clamp(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-l,f),this._z=Math.atan2(-a,i)):(this._x=Math.atan2(d,c),this._z=0);break;case`YXZ`:this._x=Math.asin(-clamp(l,-1,1)),Math.abs(l)<.9999999?(this._y=Math.atan2(o,f),this._z=Math.atan2(s,c)):(this._y=Math.atan2(-u,i),this._z=0);break;case`ZXY`:this._x=Math.asin(clamp(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-u,f),this._z=Math.atan2(-a,c)):(this._y=0,this._z=Math.atan2(s,i));break;case`ZYX`:this._y=Math.asin(-clamp(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(d,f),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-a,c));break;case`YZX`:this._z=Math.asin(clamp(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-l,c),this._y=Math.atan2(-u,i)):(this._x=0,this._y=Math.atan2(o,f));break;case`XZY`:this._z=Math.asin(-clamp(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(o,i)):(this._x=Math.atan2(-l,f),this._y=0);break;default:warn(`Euler: .setFromRotationMatrix() encountered an unknown order: `+t)}return this._order=t,n===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return Vi.makeRotationFromQuaternion(e),this.setFromRotationMatrix(Vi,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Hi.setFromEuler(this),this.setFromQuaternion(Hi,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}};Ui.DEFAULT_ORDER=`XYZ`;var Layers=class{constructor(){this.mask=1}set(e){this.mask=(1<<e|0)>>>0}enable(e){this.mask|=1<<e|0}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e|0}disable(e){this.mask&=~(1<<e|0)}disableAll(){this.mask=0}test(e){return(this.mask&e.mask)!==0}isEnabled(e){return(this.mask&(1<<e|0))!=0}};let Wi=0;const Gi=new I,Ki=new Quaternion,qi=new Ni,Ji=new I,Yi=new I,Xi=new I,Zi=new Quaternion,Qi=new I(1,0,0),$i=new I(0,1,0),ea=new I(0,0,1),ta={type:`added`},na={type:`removed`},ra={type:`childadded`,child:null},ia={type:`childremoved`,child:null};var aa=class Object3D extends EventDispatcher{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:Wi++}),this.uuid=generateUUID(),this.name=``,this.type=`Object3D`,this.parent=null,this.children=[],this.up=Object3D.DEFAULT_UP.clone();let e=new I,t=new Ui,n=new Quaternion,r=new I(1,1,1);function onRotationChange(){n.setFromEuler(t,!1)}function onQuaternionChange(){t.setFromQuaternion(n,void 0,!1)}t._onChange(onRotationChange),n._onChange(onQuaternionChange),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new Ni},normalMatrix:{value:new Si}}),this.matrix=new Ni,this.matrixWorld=new Ni,this.matrixAutoUpdate=Object3D.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new Layers,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.static=!1,this.userData={},this.pivot=null}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return Ki.setFromAxisAngle(e,t),this.quaternion.multiply(Ki),this}rotateOnWorldAxis(e,t){return Ki.setFromAxisAngle(e,t),this.quaternion.premultiply(Ki),this}rotateX(e){return this.rotateOnAxis(Qi,e)}rotateY(e){return this.rotateOnAxis($i,e)}rotateZ(e){return this.rotateOnAxis(ea,e)}translateOnAxis(e,t){return Gi.copy(e).applyQuaternion(this.quaternion),this.position.add(Gi.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(Qi,e)}translateY(e){return this.translateOnAxis($i,e)}translateZ(e){return this.translateOnAxis(ea,e)}localToWorld(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(qi.copy(this.matrixWorld).invert())}lookAt(e,t,n){e.isVector3?Ji.copy(e):Ji.set(e,t,n);let r=this.parent;this.updateWorldMatrix(!0,!1),Yi.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?qi.lookAt(Yi,Ji,this.up):qi.lookAt(Ji,Yi,this.up),this.quaternion.setFromRotationMatrix(qi),r&&(qi.extractRotation(r.matrixWorld),Ki.setFromRotationMatrix(qi),this.quaternion.premultiply(Ki.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(error(`Object3D.add: object can't be added as a child of itself.`,e),this):(e&&e.isObject3D?(e.removeFromParent(),e.parent=this,this.children.push(e),e.dispatchEvent(ta),ra.child=e,this.dispatchEvent(ra),ra.child=null):error(`Object3D.add: object not an instance of THREE.Object3D.`,e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}let t=this.children.indexOf(e);return t!==-1&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(na),ia.child=e,this.dispatchEvent(ia),ia.child=null),this}removeFromParent(){let e=this.parent;return e!==null&&e.remove(this),this}clear(){return this.remove(...this.children)}attach(e){return this.updateWorldMatrix(!0,!1),qi.copy(this.matrixWorld).invert(),e.parent!==null&&(e.parent.updateWorldMatrix(!0,!1),qi.multiply(e.parent.matrixWorld)),e.applyMatrix4(qi),e.removeFromParent(),e.parent=this,this.children.push(e),e.updateWorldMatrix(!1,!0),e.dispatchEvent(ta),ra.child=e,this.dispatchEvent(ra),ra.child=null,this}getObjectById(e){return this.getObjectByProperty(`id`,e)}getObjectByName(e){return this.getObjectByProperty(`name`,e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n].getObjectByProperty(e,t);if(r!==void 0)return r}}getObjectsByProperty(e,t,n=[]){this[e]===t&&n.push(this);let r=this.children;for(let i=0,a=r.length;i<a;i++)r[i].getObjectsByProperty(e,t,n);return n}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Yi,e,Xi),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Yi,Zi,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);let t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverse(e)}traverseVisible(e){if(this.visible===!1)return;e(this);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverseVisible(e)}traverseAncestors(e){let t=this.parent;t!==null&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale);let e=this.pivot;if(e!==null){let t=e.x,n=e.y,r=e.z,i=this.matrix.elements;i[12]+=t-i[0]*t-i[4]*n-i[8]*r,i[13]+=n-i[1]*t-i[5]*n-i[9]*r,i[14]+=r-i[2]*t-i[6]*n-i[10]*r}this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,e=!0);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].updateMatrixWorld(e)}updateWorldMatrix(e,t,n=!1){let r=this.parent;if(e===!0&&r!==null&&r.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||n)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,n=!0),t===!0){let e=this.children;for(let t=0,r=e.length;t<r;t++)e[t].updateWorldMatrix(!1,!0,n)}}toJSON(e){let t=e===void 0||typeof e==`string`,n={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.7,type:`Object`,generator:`Object3D.toJSON`});let r={};r.uuid=this.uuid,r.type=this.type,this.name!==``&&(r.name=this.name),this.castShadow===!0&&(r.castShadow=!0),this.receiveShadow===!0&&(r.receiveShadow=!0),this.visible===!1&&(r.visible=!1),this.frustumCulled===!1&&(r.frustumCulled=!1),this.renderOrder!==0&&(r.renderOrder=this.renderOrder),this.static!==!1&&(r.static=this.static),Object.keys(this.userData).length>0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.pivot!==null&&(r.pivot=this.pivot.toArray()),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.morphTargetDictionary!==void 0&&(r.morphTargetDictionary=Object.assign({},this.morphTargetDictionary)),this.morphTargetInfluences!==void 0&&(r.morphTargetInfluences=this.morphTargetInfluences.slice()),this.isInstancedMesh&&(r.type=`InstancedMesh`,r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type=`BatchedMesh`,r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.geometryInfo=this._geometryInfo.map(e=>({...e,boundingBox:e.boundingBox?e.boundingBox.toJSON():void 0,boundingSphere:e.boundingSphere?e.boundingSphere.toJSON():void 0})),r.instanceInfo=this._instanceInfo.map(e=>({...e})),r.availableInstanceIds=this._availableInstanceIds.slice(),r.availableGeometryIds=this._availableGeometryIds.slice(),r.nextIndexStart=this._nextIndexStart,r.nextVertexStart=this._nextVertexStart,r.geometryCount=this._geometryCount,r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.matricesTexture=this._matricesTexture.toJSON(e),r.indirectTexture=this._indirectTexture.toJSON(e),this._colorsTexture!==null&&(r.colorsTexture=this._colorsTexture.toJSON(e)),this.boundingSphere!==null&&(r.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(r.boundingBox=this.boundingBox.toJSON()));function serialize(t,n){return t[n.uuid]===void 0&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=serialize(e.geometries,this.geometry);let t=this.geometry.parameters;if(t!==void 0&&t.shapes!==void 0){let n=t.shapes;if(Array.isArray(n))for(let t=0,r=n.length;t<r;t++){let r=n[t];serialize(e.shapes,r)}else serialize(e.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(serialize(e.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){let t=[];for(let n=0,r=this.material.length;n<r;n++)t.push(serialize(e.materials,this.material[n]));r.material=t}else r.material=serialize(e.materials,this.material);if(this.children.length>0){r.children=[];for(let t=0;t<this.children.length;t++)r.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){r.animations=[];for(let t=0;t<this.animations.length;t++){let n=this.animations[t];r.animations.push(serialize(e.animations,n))}}if(t){let t=extractFromCache(e.geometries),r=extractFromCache(e.materials),i=extractFromCache(e.textures),a=extractFromCache(e.images),o=extractFromCache(e.shapes),s=extractFromCache(e.skeletons),c=extractFromCache(e.animations),l=extractFromCache(e.nodes);t.length>0&&(n.geometries=t),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),a.length>0&&(n.images=a),o.length>0&&(n.shapes=o),s.length>0&&(n.skeletons=s),c.length>0&&(n.animations=c),l.length>0&&(n.nodes=l)}return n.object=r,n;function extractFromCache(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.pivot=e.pivot===null?null:e.pivot.clone(),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.static=e.static,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let t=0;t<e.children.length;t++){let n=e.children[t];this.add(n.clone())}return this}};aa.DEFAULT_UP=new I(0,1,0),aa.DEFAULT_MATRIX_AUTO_UPDATE=!0,aa.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;var Group=class extends aa{constructor(){super(),this.isGroup=!0,this.type=`Group`}};const oa={type:`move`};var WebXRController=class{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Group,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Group,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new I,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new I),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Group,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new I,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new I,this._grip.eventsEnabled=!1),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){let t=this._hand;if(t)for(let n of e.hand.values())this._getHandJoint(t,n)}return this.dispatchEvent({type:`connected`,data:e}),this}disconnect(e){return this.dispatchEvent({type:`disconnected`,data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,n){let r=null,i=null,a=null,o=this._targetRay,s=this._grip,c=this._hand;if(e&&t.session.visibilityState!==`visible-blurred`){if(c&&e.hand){a=!0;for(let r of e.hand.values()){let e=t.getJointPose(r,n),i=this._getHandJoint(c,r);e!==null&&(i.matrix.fromArray(e.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.matrixWorldNeedsUpdate=!0,i.jointRadius=e.radius),i.visible=e!==null}let r=c.joints[`index-finger-tip`],i=c.joints[`thumb-tip`],o=r.position.distanceTo(i.position);c.inputState.pinching&&o>.025?(c.inputState.pinching=!1,this.dispatchEvent({type:`pinchend`,handedness:e.handedness,target:this})):!c.inputState.pinching&&o<=.015&&(c.inputState.pinching=!0,this.dispatchEvent({type:`pinchstart`,handedness:e.handedness,target:this}))}else s!==null&&e.gripSpace&&(i=t.getPose(e.gripSpace,n),i!==null&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,s.eventsEnabled&&s.dispatchEvent({type:`gripUpdated`,data:e,target:this})));o!==null&&(r=t.getPose(e.targetRaySpace,n),r===null&&i!==null&&(r=i),r!==null&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(oa)))}return o!==null&&(o.visible=r!==null),s!==null&&(s.visible=i!==null),c!==null&&(c.visible=a!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){let n=new Group;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}};const sa={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ca={h:0,s:0,l:0},la={h:0,s:0,l:0};function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*6*(2/3-n):e}var Color=class{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){if(t===void 0&&n===void 0){let t=e;t&&t.isColor?this.copy(t):typeof t==`number`?this.setHex(t):typeof t==`string`&&this.setStyle(t)}else this.setRGB(e,t,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=oi){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Ei.colorSpaceToWorking(this,t),this}setRGB(e,t,n,r=Ei.workingColorSpace){return this.r=e,this.g=t,this.b=n,Ei.colorSpaceToWorking(this,r),this}setHSL(e,t,n,r=Ei.workingColorSpace){if(e=euclideanModulo(e,1),t=clamp(t,0,1),n=clamp(n,0,1),t===0)this.r=this.g=this.b=n;else{let r=n<=.5?n*(1+t):n+t-n*t,i=2*n-r;this.r=hue2rgb(i,r,e+1/3),this.g=hue2rgb(i,r,e),this.b=hue2rgb(i,r,e-1/3)}return Ei.colorSpaceToWorking(this,r),this}setStyle(e,t=oi){function handleAlpha(t){t!==void 0&&parseFloat(t)<1&&warn(`Color: Alpha component of `+e+` will be ignored.`)}let n;if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let r,i=n[1],a=n[2];switch(i){case`rgb`:case`rgba`:if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case`hsl`:case`hsla`:if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:warn(`Color: Unknown color model `+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){let r=n[1],i=r.length;if(i===3)return this.setRGB(parseInt(r.charAt(0),16)/15,parseInt(r.charAt(1),16)/15,parseInt(r.charAt(2),16)/15,t);if(i===6)return this.setHex(parseInt(r,16),t);warn(`Color: Invalid hex color `+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=oi){let n=sa[e.toLowerCase()];return n===void 0?warn(`Color: Unknown color `+e):this.setHex(n,t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=SRGBToLinear(e.r),this.g=SRGBToLinear(e.g),this.b=SRGBToLinear(e.b),this}copyLinearToSRGB(e){return this.r=LinearToSRGB(e.r),this.g=LinearToSRGB(e.g),this.b=LinearToSRGB(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=oi){return Ei.workingToColorSpace(ua.copy(this),e),Math.round(clamp(ua.r*255,0,255))*65536+Math.round(clamp(ua.g*255,0,255))*256+Math.round(clamp(ua.b*255,0,255))}getHexString(e=oi){return(`000000`+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Ei.workingColorSpace){Ei.workingToColorSpace(ua.copy(this),t);let n=ua.r,r=ua.g,i=ua.b,a=Math.max(n,r,i),o=Math.min(n,r,i),s,c,l=(o+a)/2;if(o===a)s=0,c=0;else{let e=a-o;switch(c=l<=.5?e/(a+o):e/(2-a-o),a){case n:s=(r-i)/e+(r<i?6:0);break;case r:s=(i-n)/e+2;break;case i:s=(n-r)/e+4;break}s/=6}return e.h=s,e.s=c,e.l=l,e}getRGB(e,t=Ei.workingColorSpace){return Ei.workingToColorSpace(ua.copy(this),t),e.r=ua.r,e.g=ua.g,e.b=ua.b,e}getStyle(e=oi){Ei.workingToColorSpace(ua.copy(this),e);let t=ua.r,n=ua.g,r=ua.b;return e===`srgb`?`rgb(${Math.round(t*255)},${Math.round(n*255)},${Math.round(r*255)})`:`color(${e} ${t.toFixed(3)} ${n.toFixed(3)} ${r.toFixed(3)})`}offsetHSL(e,t,n){return this.getHSL(ca),this.setHSL(ca.h+e,ca.s+t,ca.l+n)}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,n){return this.r=e.r+(t.r-e.r)*n,this.g=e.g+(t.g-e.g)*n,this.b=e.b+(t.b-e.b)*n,this}lerpHSL(e,t){this.getHSL(ca),e.getHSL(la);let n=lerp(ca.h,la.h,t),r=lerp(ca.s,la.s,t),i=lerp(ca.l,la.l,t);return this.setHSL(n,r,i),this}setFromVector3(e){return this.r=e.x,this.g=e.y,this.b=e.z,this}applyMatrix3(e){let t=this.r,n=this.g,r=this.b,i=e.elements;return this.r=i[0]*t+i[3]*n+i[6]*r,this.g=i[1]*t+i[4]*n+i[7]*r,this.b=i[2]*t+i[5]*n+i[8]*r,this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}};const ua=new Color;Color.NAMES=sa;var Scene=class extends aa{constructor(){super(),this.isScene=!0,this.type=`Scene`,this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new Ui,this.environmentIntensity=1,this.environmentRotation=new Ui,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}};const da=new I,fa=new I,pa=new I,ma=new I,ha=new I,ga=new I,_a=new I,va=new I,ya=new I,ba=new I,xa=new Mi,Sa=new Mi,Ca=new Mi;var wa=class Triangle{constructor(e=new I,t=new I,n=new I){this.a=e,this.b=t,this.c=n}static getNormal(e,t,n,r){r.subVectors(n,t),da.subVectors(e,t),r.cross(da);let i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(e,t,n,r,i){da.subVectors(r,t),fa.subVectors(n,t),pa.subVectors(e,t);let a=da.dot(da),o=da.dot(fa),s=da.dot(pa),c=fa.dot(fa),l=fa.dot(pa),u=a*c-o*o;if(u===0)return i.set(0,0,0),null;let d=1/u,f=(c*s-o*l)*d,p=(a*l-o*s)*d;return i.set(1-f-p,p,f)}static containsPoint(e,t,n,r){return this.getBarycoord(e,t,n,r,ma)===null?!1:ma.x>=0&&ma.y>=0&&ma.x+ma.y<=1}static getInterpolation(e,t,n,r,i,a,o,s){return this.getBarycoord(e,t,n,r,ma)===null?(s.x=0,s.y=0,`z`in s&&(s.z=0),`w`in s&&(s.w=0),null):(s.setScalar(0),s.addScaledVector(i,ma.x),s.addScaledVector(a,ma.y),s.addScaledVector(o,ma.z),s)}static getInterpolatedAttribute(e,t,n,r,i,a){return xa.setScalar(0),Sa.setScalar(0),Ca.setScalar(0),xa.fromBufferAttribute(e,t),Sa.fromBufferAttribute(e,n),Ca.fromBufferAttribute(e,r),a.setScalar(0),a.addScaledVector(xa,i.x),a.addScaledVector(Sa,i.y),a.addScaledVector(Ca,i.z),a}static isFrontFacing(e,t,n,r){return da.subVectors(n,t),fa.subVectors(e,t),da.cross(fa).dot(r)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,n,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,r),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return da.subVectors(this.c,this.b),fa.subVectors(this.a,this.b),da.cross(fa).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Triangle.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Triangle.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,r,i){return Triangle.getInterpolation(e,this.a,this.b,this.c,t,n,r,i)}containsPoint(e){return Triangle.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Triangle.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n=this.a,r=this.b,i=this.c,a,o;ha.subVectors(r,n),ga.subVectors(i,n),va.subVectors(e,n);let s=ha.dot(va),c=ga.dot(va);if(s<=0&&c<=0)return t.copy(n);ya.subVectors(e,r);let l=ha.dot(ya),u=ga.dot(ya);if(l>=0&&u<=l)return t.copy(r);let d=s*u-l*c;if(d<=0&&s>=0&&l<=0)return a=s/(s-l),t.copy(n).addScaledVector(ha,a);ba.subVectors(e,i);let f=ha.dot(ba),p=ga.dot(ba);if(p>=0&&f<=p)return t.copy(i);let m=f*c-s*p;if(m<=0&&c>=0&&p<=0)return o=c/(c-p),t.copy(n).addScaledVector(ga,o);let h=l*p-f*u;if(h<=0&&u-l>=0&&f-p>=0)return _a.subVectors(i,r),o=(u-l)/(u-l+(f-p)),t.copy(r).addScaledVector(_a,o);let g=1/(h+m+d);return a=m*g,o=d*g,t.copy(n).addScaledVector(ha,a).addScaledVector(ga,o)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}},Box3=class{constructor(e=new I(1/0,1/0,1/0),t=new I(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t+=3)this.expandByPoint(Ea.fromArray(e,t));return this}setFromBufferAttribute(e){this.makeEmpty();for(let t=0,n=e.count;t<n;t++)this.expandByPoint(Ea.fromBufferAttribute(e,t));return this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){let n=Ea.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}setFromObject(e,t=!1){return this.makeEmpty(),this.expandByObject(e,t)}clone(){return new this.constructor().copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e,t=!1){e.updateWorldMatrix(!1,!1);let n=e.geometry;if(n!==void 0){let r=n.getAttribute(`position`);if(t===!0&&r!==void 0&&e.isInstancedMesh!==!0)for(let t=0,n=r.count;t<n;t++)e.isMesh===!0?e.getVertexPosition(t,Ea):Ea.fromBufferAttribute(r,t),Ea.applyMatrix4(e.matrixWorld),this.expandByPoint(Ea);else e.boundingBox===void 0?(n.boundingBox===null&&n.computeBoundingBox(),Da.copy(n.boundingBox)):(e.boundingBox===null&&e.computeBoundingBox(),Da.copy(e.boundingBox)),Da.applyMatrix4(e.matrixWorld),this.union(Da)}let r=e.children;for(let e=0,n=r.length;e<n;e++)this.expandByObject(r[e],t);return this}containsPoint(e){return e.x>=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,Ea),Ea.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Pa),Fa.subVectors(this.max,Pa),Oa.subVectors(e.a,Pa),ka.subVectors(e.b,Pa),Aa.subVectors(e.c,Pa),ja.subVectors(ka,Oa),Ma.subVectors(Aa,ka),Na.subVectors(Oa,Aa);let t=[0,-ja.z,ja.y,0,-Ma.z,Ma.y,0,-Na.z,Na.y,ja.z,0,-ja.x,Ma.z,0,-Ma.x,Na.z,0,-Na.x,-ja.y,ja.x,0,-Ma.y,Ma.x,0,-Na.y,Na.x,0];return!satForAxes(t,Oa,ka,Aa,Fa)||(t=[1,0,0,0,1,0,0,0,1],!satForAxes(t,Oa,ka,Aa,Fa))?!1:(Ia.crossVectors(ja,Ma),t=[Ia.x,Ia.y,Ia.z],satForAxes(t,Oa,ka,Aa,Fa))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Ea).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(Ea).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(Ta[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Ta[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Ta[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Ta[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Ta[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Ta[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Ta[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Ta[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Ta),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(e){return this.min.fromArray(e.min),this.max.fromArray(e.max),this}};const Ta=[new I,new I,new I,new I,new I,new I,new I,new I],Ea=new I,Da=new Box3,Oa=new I,ka=new I,Aa=new I,ja=new I,Ma=new I,Na=new I,Pa=new I,Fa=new I,Ia=new I,La=new I;function satForAxes(e,t,n,r,i){for(let a=0,o=e.length-3;a<=o;a+=3){La.fromArray(e,a);let o=i.x*Math.abs(La.x)+i.y*Math.abs(La.y)+i.z*Math.abs(La.z),s=t.dot(La),c=n.dot(La),l=r.dot(La);if(Math.max(-Math.max(s,c,l),Math.min(s,c,l))>o)return!1}return!0}const Ra=new I,za=new yi;let Ba=0;var BufferAttribute=class extends EventDispatcher{constructor(e,t,n=!1){if(super(),Array.isArray(e))throw TypeError(`THREE.BufferAttribute: array should be a Typed Array.`);this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:Ba++}),this.name=``,this.array=e,this.itemSize=t,this.count=e===void 0?0:e.length/t,this.normalized=n,this.usage=35044,this.updateRanges=[],this.gpuType=Vr,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[e+r]=t.array[n+r];return this}copyArray(e){return this.array.set(e),this}applyMatrix3(e){if(this.itemSize===2)for(let t=0,n=this.count;t<n;t++)za.fromBufferAttribute(this,t),za.applyMatrix3(e),this.setXY(t,za.x,za.y);else if(this.itemSize===3)for(let t=0,n=this.count;t<n;t++)Ra.fromBufferAttribute(this,t),Ra.applyMatrix3(e),this.setXYZ(t,Ra.x,Ra.y,Ra.z);return this}applyMatrix4(e){for(let t=0,n=this.count;t<n;t++)Ra.fromBufferAttribute(this,t),Ra.applyMatrix4(e),this.setXYZ(t,Ra.x,Ra.y,Ra.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)Ra.fromBufferAttribute(this,t),Ra.applyNormalMatrix(e),this.setXYZ(t,Ra.x,Ra.y,Ra.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)Ra.fromBufferAttribute(this,t),Ra.transformDirection(e),this.setXYZ(t,Ra.x,Ra.y,Ra.z);return this}set(e,t=0){return this.array.set(e,t),this}getComponent(e,t){let n=this.array[e*this.itemSize+t];return this.normalized&&(n=denormalize(n,this.array)),n}setComponent(e,t,n){return this.normalized&&(n=normalize(n,this.array)),this.array[e*this.itemSize+t]=n,this}getX(e){let t=this.array[e*this.itemSize];return this.normalized&&(t=denormalize(t,this.array)),t}setX(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize]=t,this}getY(e){let t=this.array[e*this.itemSize+1];return this.normalized&&(t=denormalize(t,this.array)),t}setY(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+1]=t,this}getZ(e){let t=this.array[e*this.itemSize+2];return this.normalized&&(t=denormalize(t,this.array)),t}setZ(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+2]=t,this}getW(e){let t=this.array[e*this.itemSize+3];return this.normalized&&(t=denormalize(t,this.array)),t}setW(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+3]=t,this}setXY(e,t,n){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array)),this.array[e+0]=t,this.array[e+1]=n,this}setXYZ(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array),r=normalize(r,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array),r=normalize(r,this.array),i=normalize(i,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this.array[e+3]=i,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){let e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return this.name!==``&&(e.name=this.name),this.usage!==35044&&(e.usage=this.usage),e}dispose(){this.dispatchEvent({type:`dispose`})}},Uint16BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Uint16Array(e),t,n)}},Uint32BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Uint32Array(e),t,n)}},Float32BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Float32Array(e),t,n)}};const Va=new Box3,Ha=new I,Ua=new I;var Sphere=class{constructor(e=new I,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let n=this.center;t===void 0?Va.setFromPoints(e).getCenter(n):n.copy(t);let r=0;for(let t=0,i=e.length;t<i;t++)r=Math.max(r,n.distanceToSquared(e[t]));return this.radius=Math.sqrt(r),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){let t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){let n=this.center.distanceToSquared(e);return t.copy(e),n>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius*=e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Ha.subVectors(e,this.center);let t=Ha.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(Ha,n/e),this.radius+=n}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Ua.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Ha.copy(e.center).add(Ua)),this.expandByPoint(Ha.copy(e.center).sub(Ua))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(e){return this.radius=e.radius,this.center.fromArray(e.center),this}};let Wa=0;const Ga=new Ni,Ka=new aa,qa=new I,Ja=new Box3,Ya=new Box3,Xa=new I;var Za=class BufferGeometry extends EventDispatcher{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Wa++}),this.uuid=generateUUID(),this.name=``,this.type=`BufferGeometry`,this.index=null,this.indirect=null,this.indirectOffset=0,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={},this._transformed=!1}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(arrayNeedsUint32(e)?Uint32BufferAttribute:Uint16BufferAttribute)(e,1):this.index=e,this}setIndirect(e,t=0){return this.indirect=e,this.indirectOffset=t,this}getIndirect(){return this.indirect}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return this.attributes[e]!==void 0}addGroup(e,t,n=0){this.groups.push({start:e,count:t,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){let t=this.attributes.position;t!==void 0&&(t.applyMatrix4(e),t.needsUpdate=!0);let n=this.attributes.normal;if(n!==void 0){let t=new Si().getNormalMatrix(e);n.applyNormalMatrix(t),n.needsUpdate=!0}let r=this.attributes.tangent;return r!==void 0&&(r.transformDirection(e),r.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this._transformed=!0,this}applyQuaternion(e){return Ga.makeRotationFromQuaternion(e),this.applyMatrix4(Ga),this}rotateX(e){return Ga.makeRotationX(e),this.applyMatrix4(Ga),this}rotateY(e){return Ga.makeRotationY(e),this.applyMatrix4(Ga),this}rotateZ(e){return Ga.makeRotationZ(e),this.applyMatrix4(Ga),this}translate(e,t,n){return Ga.makeTranslation(e,t,n),this.applyMatrix4(Ga),this}scale(e,t,n){return Ga.makeScale(e,t,n),this.applyMatrix4(Ga),this}lookAt(e){return Ka.lookAt(e),Ka.updateMatrix(),this.applyMatrix4(Ka.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(qa).negate(),this.translate(qa.x,qa.y,qa.z),this}setFromPoints(e){let t=this.getAttribute(`position`);if(t===void 0){let t=[];for(let n=0,r=e.length;n<r;n++){let r=e[n];t.push(r.x,r.y,r.z||0)}this.setAttribute(`position`,new Float32BufferAttribute(t,3))}else{let n=Math.min(e.length,t.count);for(let r=0;r<n;r++){let n=e[r];t.setXYZ(r,n.x,n.y,n.z||0)}e.length>t.count&&warn(`BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry.`),t.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new Box3);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){error(`BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.`,this),this.boundingBox.set(new I(-1/0,-1/0,-1/0),new I(1/0,1/0,1/0));return}if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){let n=t[e];Ja.setFromBufferAttribute(n),this.morphTargetsRelative?(Xa.addVectors(this.boundingBox.min,Ja.min),this.boundingBox.expandByPoint(Xa),Xa.addVectors(this.boundingBox.max,Ja.max),this.boundingBox.expandByPoint(Xa)):(this.boundingBox.expandByPoint(Ja.min),this.boundingBox.expandByPoint(Ja.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&error(`BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.`,this)}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Sphere);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){error(`BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.`,this),this.boundingSphere.set(new I,1/0);return}if(e){let n=this.boundingSphere.center;if(Ja.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){let n=t[e];Ya.setFromBufferAttribute(n),this.morphTargetsRelative?(Xa.addVectors(Ja.min,Ya.min),Ja.expandByPoint(Xa),Xa.addVectors(Ja.max,Ya.max),Ja.expandByPoint(Xa)):(Ja.expandByPoint(Ya.min),Ja.expandByPoint(Ya.max))}Ja.getCenter(n);let r=0;for(let t=0,i=e.count;t<i;t++)Xa.fromBufferAttribute(e,t),r=Math.max(r,n.distanceToSquared(Xa));if(t)for(let i=0,a=t.length;i<a;i++){let a=t[i],o=this.morphTargetsRelative;for(let t=0,i=a.count;t<i;t++)Xa.fromBufferAttribute(a,t),o&&(qa.fromBufferAttribute(e,t),Xa.add(qa)),r=Math.max(r,n.distanceToSquared(Xa))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&error(`BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.`,this)}}computeTangents(){let e=this.index,t=this.attributes;if(e===null||t.position===void 0||t.normal===void 0||t.uv===void 0){error(`BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)`);return}let n=t.position,r=t.normal,i=t.uv,a=this.getAttribute(`tangent`);(a===void 0||a.count!==n.count)&&(a=new BufferAttribute(new Float32Array(4*n.count),4),this.setAttribute(`tangent`,a));let o=[],s=[];for(let e=0;e<n.count;e++)o[e]=new I,s[e]=new I;let c=new I,l=new I,u=new I,d=new yi,f=new yi,p=new yi,m=new I,h=new I;function handleTriangle(e,t,r){c.fromBufferAttribute(n,e),l.fromBufferAttribute(n,t),u.fromBufferAttribute(n,r),d.fromBufferAttribute(i,e),f.fromBufferAttribute(i,t),p.fromBufferAttribute(i,r),l.sub(c),u.sub(c),f.sub(d),p.sub(d);let a=1/(f.x*p.y-p.x*f.y);isFinite(a)&&(m.copy(l).multiplyScalar(p.y).addScaledVector(u,-f.y).multiplyScalar(a),h.copy(u).multiplyScalar(f.x).addScaledVector(l,-p.x).multiplyScalar(a),o[e].add(m),o[t].add(m),o[r].add(m),s[e].add(h),s[t].add(h),s[r].add(h))}let g=this.groups;g.length===0&&(g=[{start:0,count:e.count}]);for(let t=0,n=g.length;t<n;++t){let n=g[t],r=n.start,i=n.count;for(let t=r,n=r+i;t<n;t+=3)handleTriangle(e.getX(t+0),e.getX(t+1),e.getX(t+2))}let _=new I,v=new I,y=new I,b=new I;function handleVertex(e){y.fromBufferAttribute(r,e),b.copy(y);let t=o[e];_.copy(t),_.sub(y.multiplyScalar(y.dot(t))).normalize(),v.crossVectors(b,t);let n=v.dot(s[e])<0?-1:1;a.setXYZW(e,_.x,_.y,_.z,n)}for(let t=0,n=g.length;t<n;++t){let n=g[t],r=n.start,i=n.count;for(let t=r,n=r+i;t<n;t+=3)handleVertex(e.getX(t+0)),handleVertex(e.getX(t+1)),handleVertex(e.getX(t+2))}this._transformed=!0}computeVertexNormals(){let e=this.index,t=this.getAttribute(`position`);if(t!==void 0){let n=this.getAttribute(`normal`);if(n===void 0||n.count!==t.count)n=new BufferAttribute(new Float32Array(t.count*3),3),this.setAttribute(`normal`,n);else for(let e=0,t=n.count;e<t;e++)n.setXYZ(e,0,0,0);let r=new I,i=new I,a=new I,o=new I,s=new I,c=new I,l=new I,u=new I;if(e)for(let d=0,f=e.count;d<f;d+=3){let f=e.getX(d+0),p=e.getX(d+1),m=e.getX(d+2);r.fromBufferAttribute(t,f),i.fromBufferAttribute(t,p),a.fromBufferAttribute(t,m),l.subVectors(a,i),u.subVectors(r,i),l.cross(u),o.fromBufferAttribute(n,f),s.fromBufferAttribute(n,p),c.fromBufferAttribute(n,m),o.add(l),s.add(l),c.add(l),n.setXYZ(f,o.x,o.y,o.z),n.setXYZ(p,s.x,s.y,s.z),n.setXYZ(m,c.x,c.y,c.z)}else for(let e=0,o=t.count;e<o;e+=3)r.fromBufferAttribute(t,e+0),i.fromBufferAttribute(t,e+1),a.fromBufferAttribute(t,e+2),l.subVectors(a,i),u.subVectors(r,i),l.cross(u),n.setXYZ(e+0,l.x,l.y,l.z),n.setXYZ(e+1,l.x,l.y,l.z),n.setXYZ(e+2,l.x,l.y,l.z);this.normalizeNormals(),n.needsUpdate=!0}}normalizeNormals(){let e=this.attributes.normal;for(let t=0,n=e.count;t<n;t++)Xa.fromBufferAttribute(e,t),Xa.normalize(),e.setXYZ(t,Xa.x,Xa.y,Xa.z)}toNonIndexed(){function convertBufferAttribute(e,t){let n=e.array,r=e.itemSize,i=e.normalized,a=new n.constructor(t.length*r),o=0,s=0;for(let i=0,c=t.length;i<c;i++){o=e.isInterleavedBufferAttribute?t[i]*e.data.stride+e.offset:t[i]*r;for(let e=0;e<r;e++)a[s++]=n[o++]}return new BufferAttribute(a,r,i)}if(this.index===null)return warn(`BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.`),this;let e=new BufferGeometry,t=this.index.array,n=this.attributes;for(let r in n){let i=n[r],a=convertBufferAttribute(i,t);e.setAttribute(r,a)}let r=this.morphAttributes;for(let n in r){let i=[],a=r[n];for(let e=0,n=a.length;e<n;e++){let n=a[e],r=convertBufferAttribute(n,t);i.push(r)}e.morphAttributes[n]=i}e.morphTargetsRelative=this.morphTargetsRelative;let i=this.groups;for(let t=0,n=i.length;t<n;t++){let n=i[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){let e={metadata:{version:4.7,type:`BufferGeometry`,generator:`BufferGeometry.toJSON`}};if(e.uuid=this.uuid,e.type=this.parameters!==void 0&&this._transformed===!0?`BufferGeometry`:this.type,this.name!==``&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),this.parameters!==void 0&&this._transformed!==!0){let t=this.parameters;for(let n in t)t[n]!==void 0&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let r=n[t];e.data.attributes[t]=r.toJSON(e.data)}let r={},i=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,r=n.length;t<r;t++){let r=n[t];a.push(r.toJSON(e.data))}a.length>0&&(r[t]=a,i=!0)}i&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let o=this.boundingSphere;return o!==null&&(e.data.boundingSphere=o.toJSON()),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;n!==null&&this.setIndex(n.clone());let r=e.attributes;for(let e in r){let n=r[e];this.setAttribute(e,n.clone(t))}let i=e.morphAttributes;for(let e in i){let n=[],r=i[e];for(let e=0,i=r.length;e<i;e++)n.push(r[e].clone(t));this.morphAttributes[e]=n}this.morphTargetsRelative=e.morphTargetsRelative;let a=e.groups;for(let e=0,t=a.length;e<t;e++){let t=a[e];this.addGroup(t.start,t.count,t.materialIndex)}let o=e.boundingBox;o!==null&&(this.boundingBox=o.clone());let s=e.boundingSphere;return s!==null&&(this.boundingSphere=s.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this._transformed=e._transformed,this}dispose(){this.dispatchEvent({type:`dispose`})}};let Qa=0;var Material=class extends EventDispatcher{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:Qa++}),this.uuid=generateUUID(),this.name=``,this.type=`Material`,this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=100,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new Color(0,0,0),this.blendAlpha=0,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=ui,this.stencilZFail=ui,this.stencilZPass=ui,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(let t in e){let n=e[t];if(n===void 0){warn(`Material: parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){warn(`Material: '${t}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(n):r&&r.isVector2&&n&&n.isVector2||r&&r.isEuler&&n&&n.isEuler||r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;t&&(e={textures:{},images:{}});let n={metadata:{version:4.7,type:`Material`,generator:`Material.toJSON`}};n.uuid=this.uuid,n.type=this.type,this.name!==``&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(n.sheenColorMap=this.sheenColorMap.toJSON(e).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(n.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(e).uuid),this.dispersion!==void 0&&(n.dispersion=this.dispersion),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(n.combine=this.combine)),this.envMapRotation!==void 0&&(n.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==1&&(n.blending=this.blending),this.side!==0&&(n.side=this.side),this.vertexColors===!0&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=!0),this.blendSrc!==204&&(n.blendSrc=this.blendSrc),this.blendDst!==205&&(n.blendDst=this.blendDst),this.blendEquation!==100&&(n.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(n.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(n.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==3&&(n.depthFunc=this.depthFunc),this.depthTest===!1&&(n.depthTest=this.depthTest),this.depthWrite===!1&&(n.depthWrite=this.depthWrite),this.colorWrite===!1&&(n.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==519&&(n.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(n.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==7680&&(n.stencilFail=this.stencilFail),this.stencilZFail!==7680&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==7680&&(n.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(n.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=!0),this.alphaToCoverage===!0&&(n.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=!0),this.forceSinglePass===!0&&(n.forceSinglePass=!0),this.allowOverride===!1&&(n.allowOverride=!1),this.wireframe===!0&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!==`round`&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!==`round`&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function extractFromCache(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}if(t){let t=extractFromCache(e.textures),r=extractFromCache(e.images);t.length>0&&(n.textures=t),r.length>0&&(n.images=r)}return n}fromJSON(e,t){if(e.uuid!==void 0&&(this.uuid=e.uuid),e.name!==void 0&&(this.name=e.name),e.color!==void 0&&this.color!==void 0&&this.color.setHex(e.color),e.roughness!==void 0&&(this.roughness=e.roughness),e.metalness!==void 0&&(this.metalness=e.metalness),e.sheen!==void 0&&(this.sheen=e.sheen),e.sheenColor!==void 0&&(this.sheenColor=new Color().setHex(e.sheenColor)),e.sheenRoughness!==void 0&&(this.sheenRoughness=e.sheenRoughness),e.emissive!==void 0&&this.emissive!==void 0&&this.emissive.setHex(e.emissive),e.specular!==void 0&&this.specular!==void 0&&this.specular.setHex(e.specular),e.specularIntensity!==void 0&&(this.specularIntensity=e.specularIntensity),e.specularColor!==void 0&&this.specularColor!==void 0&&this.specularColor.setHex(e.specularColor),e.shininess!==void 0&&(this.shininess=e.shininess),e.clearcoat!==void 0&&(this.clearcoat=e.clearcoat),e.clearcoatRoughness!==void 0&&(this.clearcoatRoughness=e.clearcoatRoughness),e.dispersion!==void 0&&(this.dispersion=e.dispersion),e.iridescence!==void 0&&(this.iridescence=e.iridescence),e.iridescenceIOR!==void 0&&(this.iridescenceIOR=e.iridescenceIOR),e.iridescenceThicknessRange!==void 0&&(this.iridescenceThicknessRange=e.iridescenceThicknessRange),e.transmission!==void 0&&(this.transmission=e.transmission),e.thickness!==void 0&&(this.thickness=e.thickness),e.attenuationDistance!==void 0&&(this.attenuationDistance=e.attenuationDistance),e.attenuationColor!==void 0&&this.attenuationColor!==void 0&&this.attenuationColor.setHex(e.attenuationColor),e.anisotropy!==void 0&&(this.anisotropy=e.anisotropy),e.anisotropyRotation!==void 0&&(this.anisotropyRotation=e.anisotropyRotation),e.fog!==void 0&&(this.fog=e.fog),e.flatShading!==void 0&&(this.flatShading=e.flatShading),e.blending!==void 0&&(this.blending=e.blending),e.combine!==void 0&&(this.combine=e.combine),e.side!==void 0&&(this.side=e.side),e.shadowSide!==void 0&&(this.shadowSide=e.shadowSide),e.opacity!==void 0&&(this.opacity=e.opacity),e.transparent!==void 0&&(this.transparent=e.transparent),e.alphaTest!==void 0&&(this.alphaTest=e.alphaTest),e.alphaHash!==void 0&&(this.alphaHash=e.alphaHash),e.depthFunc!==void 0&&(this.depthFunc=e.depthFunc),e.depthTest!==void 0&&(this.depthTest=e.depthTest),e.depthWrite!==void 0&&(this.depthWrite=e.depthWrite),e.colorWrite!==void 0&&(this.colorWrite=e.colorWrite),e.blendSrc!==void 0&&(this.blendSrc=e.blendSrc),e.blendDst!==void 0&&(this.blendDst=e.blendDst),e.blendEquation!==void 0&&(this.blendEquation=e.blendEquation),e.blendSrcAlpha!==void 0&&(this.blendSrcAlpha=e.blendSrcAlpha),e.blendDstAlpha!==void 0&&(this.blendDstAlpha=e.blendDstAlpha),e.blendEquationAlpha!==void 0&&(this.blendEquationAlpha=e.blendEquationAlpha),e.blendColor!==void 0&&this.blendColor!==void 0&&this.blendColor.setHex(e.blendColor),e.blendAlpha!==void 0&&(this.blendAlpha=e.blendAlpha),e.stencilWriteMask!==void 0&&(this.stencilWriteMask=e.stencilWriteMask),e.stencilFunc!==void 0&&(this.stencilFunc=e.stencilFunc),e.stencilRef!==void 0&&(this.stencilRef=e.stencilRef),e.stencilFuncMask!==void 0&&(this.stencilFuncMask=e.stencilFuncMask),e.stencilFail!==void 0&&(this.stencilFail=e.stencilFail),e.stencilZFail!==void 0&&(this.stencilZFail=e.stencilZFail),e.stencilZPass!==void 0&&(this.stencilZPass=e.stencilZPass),e.stencilWrite!==void 0&&(this.stencilWrite=e.stencilWrite),e.wireframe!==void 0&&(this.wireframe=e.wireframe),e.wireframeLinewidth!==void 0&&(this.wireframeLinewidth=e.wireframeLinewidth),e.wireframeLinecap!==void 0&&(this.wireframeLinecap=e.wireframeLinecap),e.wireframeLinejoin!==void 0&&(this.wireframeLinejoin=e.wireframeLinejoin),e.rotation!==void 0&&(this.rotation=e.rotation),e.linewidth!==void 0&&(this.linewidth=e.linewidth),e.dashSize!==void 0&&(this.dashSize=e.dashSize),e.gapSize!==void 0&&(this.gapSize=e.gapSize),e.scale!==void 0&&(this.scale=e.scale),e.polygonOffset!==void 0&&(this.polygonOffset=e.polygonOffset),e.polygonOffsetFactor!==void 0&&(this.polygonOffsetFactor=e.polygonOffsetFactor),e.polygonOffsetUnits!==void 0&&(this.polygonOffsetUnits=e.polygonOffsetUnits),e.dithering!==void 0&&(this.dithering=e.dithering),e.alphaToCoverage!==void 0&&(this.alphaToCoverage=e.alphaToCoverage),e.premultipliedAlpha!==void 0&&(this.premultipliedAlpha=e.premultipliedAlpha),e.forceSinglePass!==void 0&&(this.forceSinglePass=e.forceSinglePass),e.allowOverride!==void 0&&(this.allowOverride=e.allowOverride),e.visible!==void 0&&(this.visible=e.visible),e.toneMapped!==void 0&&(this.toneMapped=e.toneMapped),e.userData!==void 0&&(this.userData=e.userData),e.vertexColors!==void 0&&(typeof e.vertexColors==`number`?this.vertexColors=e.vertexColors>0:this.vertexColors=e.vertexColors),e.size!==void 0&&(this.size=e.size),e.sizeAttenuation!==void 0&&(this.sizeAttenuation=e.sizeAttenuation),e.map!==void 0&&(this.map=t[e.map]||null),e.matcap!==void 0&&(this.matcap=t[e.matcap]||null),e.alphaMap!==void 0&&(this.alphaMap=t[e.alphaMap]||null),e.bumpMap!==void 0&&(this.bumpMap=t[e.bumpMap]||null),e.bumpScale!==void 0&&(this.bumpScale=e.bumpScale),e.normalMap!==void 0&&(this.normalMap=t[e.normalMap]||null),e.normalMapType!==void 0&&(this.normalMapType=e.normalMapType),e.normalScale!==void 0){let t=e.normalScale;Array.isArray(t)===!1&&(t=[t,t]),this.normalScale=new yi().fromArray(t)}return e.displacementMap!==void 0&&(this.displacementMap=t[e.displacementMap]||null),e.displacementScale!==void 0&&(this.displacementScale=e.displacementScale),e.displacementBias!==void 0&&(this.displacementBias=e.displacementBias),e.roughnessMap!==void 0&&(this.roughnessMap=t[e.roughnessMap]||null),e.metalnessMap!==void 0&&(this.metalnessMap=t[e.metalnessMap]||null),e.emissiveMap!==void 0&&(this.emissiveMap=t[e.emissiveMap]||null),e.emissiveIntensity!==void 0&&(this.emissiveIntensity=e.emissiveIntensity),e.specularMap!==void 0&&(this.specularMap=t[e.specularMap]||null),e.specularIntensityMap!==void 0&&(this.specularIntensityMap=t[e.specularIntensityMap]||null),e.specularColorMap!==void 0&&(this.specularColorMap=t[e.specularColorMap]||null),e.envMap!==void 0&&(this.envMap=t[e.envMap]||null),e.envMapRotation!==void 0&&this.envMapRotation.fromArray(e.envMapRotation),e.envMapIntensity!==void 0&&(this.envMapIntensity=e.envMapIntensity),e.reflectivity!==void 0&&(this.reflectivity=e.reflectivity),e.refractionRatio!==void 0&&(this.refractionRatio=e.refractionRatio),e.lightMap!==void 0&&(this.lightMap=t[e.lightMap]||null),e.lightMapIntensity!==void 0&&(this.lightMapIntensity=e.lightMapIntensity),e.aoMap!==void 0&&(this.aoMap=t[e.aoMap]||null),e.aoMapIntensity!==void 0&&(this.aoMapIntensity=e.aoMapIntensity),e.gradientMap!==void 0&&(this.gradientMap=t[e.gradientMap]||null),e.clearcoatMap!==void 0&&(this.clearcoatMap=t[e.clearcoatMap]||null),e.clearcoatRoughnessMap!==void 0&&(this.clearcoatRoughnessMap=t[e.clearcoatRoughnessMap]||null),e.clearcoatNormalMap!==void 0&&(this.clearcoatNormalMap=t[e.clearcoatNormalMap]||null),e.clearcoatNormalScale!==void 0&&(this.clearcoatNormalScale=new yi().fromArray(e.clearcoatNormalScale)),e.iridescenceMap!==void 0&&(this.iridescenceMap=t[e.iridescenceMap]||null),e.iridescenceThicknessMap!==void 0&&(this.iridescenceThicknessMap=t[e.iridescenceThicknessMap]||null),e.transmissionMap!==void 0&&(this.transmissionMap=t[e.transmissionMap]||null),e.thicknessMap!==void 0&&(this.thicknessMap=t[e.thicknessMap]||null),e.anisotropyMap!==void 0&&(this.anisotropyMap=t[e.anisotropyMap]||null),e.sheenColorMap!==void 0&&(this.sheenColorMap=t[e.sheenColorMap]||null),e.sheenRoughnessMap!==void 0&&(this.sheenRoughnessMap=t[e.sheenRoughnessMap]||null),this}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(t!==null){let e=t.length;n=Array(e);for(let r=0;r!==e;++r)n[r]=t[r].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.allowOverride=e.allowOverride,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:`dispose`})}set needsUpdate(e){e===!0&&this.version++}};const $a=new I,eo=new I,to=new I,no=new I,ro=new I,io=new I,ao=new I;var Ray=class{constructor(e=new I,t=new I(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,$a)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=$a.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):($a.copy(this.origin).addScaledVector(this.direction,t),$a.distanceToSquared(e))}distanceSqToSegment(e,t,n,r){eo.copy(e).add(t).multiplyScalar(.5),to.copy(t).sub(e).normalize(),no.copy(this.origin).sub(eo);let i=e.distanceTo(t)*.5,a=-this.direction.dot(to),o=no.dot(this.direction),s=-no.dot(to),c=no.lengthSq(),l=Math.abs(1-a*a),u,d,f,p;if(l>0)if(u=a*s-o,d=a*o-s,p=i*l,u>=0)if(d>=-p)if(d<=p){let e=1/l;u*=e,d*=e,f=u*(u+a*d+2*o)+d*(a*u+d+2*s)+c}else d=i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d=-i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d<=-p?(u=Math.max(0,-(-a*i+o)),d=u>0?-i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c):d<=p?(u=0,d=Math.min(Math.max(-i,-s),i),f=d*(d+2*s)+c):(u=Math.max(0,-(a*i+o)),d=u>0?i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c);else d=a>0?-i:i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;return n&&n.copy(this.origin).addScaledVector(this.direction,u),r&&r.copy(eo).addScaledVector(to,d),f}intersectSphere(e,t){$a.subVectors(e.center,this.origin);let n=$a.dot(this.direction),r=$a.dot($a)-n*n,i=e.radius*e.radius;if(r>i)return null;let a=Math.sqrt(i-r),o=n-a,s=n+a;return s<0?null:o<0?this.at(s,t):this.at(o,t)}intersectsSphere(e){return e.radius<0?!1:this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return n===null?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,r,i,a,o,s,c=1/this.direction.x,l=1/this.direction.y,u=1/this.direction.z,d=this.origin;return c>=0?(n=(e.min.x-d.x)*c,r=(e.max.x-d.x)*c):(n=(e.max.x-d.x)*c,r=(e.min.x-d.x)*c),l>=0?(i=(e.min.y-d.y)*l,a=(e.max.y-d.y)*l):(i=(e.max.y-d.y)*l,a=(e.min.y-d.y)*l),n>a||i>r||((i>n||isNaN(n))&&(n=i),(a<r||isNaN(r))&&(r=a),u>=0?(o=(e.min.z-d.z)*u,s=(e.max.z-d.z)*u):(o=(e.max.z-d.z)*u,s=(e.min.z-d.z)*u),n>s||o>r)||((o>n||n!==n)&&(n=o),(s<r||r!==r)&&(r=s),r<0)?null:this.at(n>=0?n:r,t)}intersectsBox(e){return this.intersectBox(e,$a)!==null}intersectTriangle(e,t,n,r,i){ro.subVectors(t,e),io.subVectors(n,e),ao.crossVectors(ro,io);let a=this.direction.dot(ao),o;if(a>0){if(r)return null;o=1}else if(a<0)o=-1,a=-a;else return null;no.subVectors(this.origin,e);let s=o*this.direction.dot(io.crossVectors(no,io));if(s<0)return null;let c=o*this.direction.dot(ro.cross(no));if(c<0||s+c>a)return null;let l=-o*no.dot(ao);return l<0?null:this.at(l/a,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},MeshBasicMaterial=class extends Material{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type=`MeshBasicMaterial`,this.color=new Color(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Ui,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}};const oo=new Ni,so=new Ray,co=new Sphere,lo=new I,uo=new I,fo=new I,po=new I,mo=new I,ho=new I,go=new I,_o=new I;var Mesh=class extends aa{constructor(e=new Za,t=new MeshBasicMaterial){super(),this.isMesh=!0,this.type=`Mesh`,this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.count=1,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),e.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),e.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}updateMorphTargets(){let e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){let n=e[t[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e<t;e++){let t=n[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}getVertexPosition(e,t){let n=this.geometry,r=n.attributes.position,i=n.morphAttributes.position,a=n.morphTargetsRelative;t.fromBufferAttribute(r,e);let o=this.morphTargetInfluences;if(i&&o){ho.set(0,0,0);for(let n=0,r=i.length;n<r;n++){let r=o[n],s=i[n];r!==0&&(mo.fromBufferAttribute(s,e),a?ho.addScaledVector(mo,r):ho.addScaledVector(mo.sub(t),r))}t.add(ho)}return t}raycast(e,t){let n=this.geometry,r=this.material,i=this.matrixWorld;r!==void 0&&(n.boundingSphere===null&&n.computeBoundingSphere(),co.copy(n.boundingSphere),co.applyMatrix4(i),so.copy(e.ray).recast(e.near),!(co.containsPoint(so.origin)===!1&&(so.intersectSphere(co,lo)===null||so.origin.distanceToSquared(lo)>(e.far-e.near)**2))&&(oo.copy(i).invert(),so.copy(e.ray).applyMatrix4(oo),!(n.boundingBox!==null&&so.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(e,t,so)))}_computeIntersections(e,t,n){let r,i=this.geometry,a=this.material,o=i.index,s=i.attributes.position,c=i.attributes.uv,l=i.attributes.uv1,u=i.attributes.normal,d=i.groups,f=i.drawRange;if(o!==null)if(Array.isArray(a))for(let i=0,s=d.length;i<s;i++){let s=d[i],p=a[s.materialIndex],m=Math.max(s.start,f.start),h=Math.min(o.count,Math.min(s.start+s.count,f.start+f.count));for(let i=m,a=h;i<a;i+=3){let a=o.getX(i),d=o.getX(i+1),f=o.getX(i+2);r=checkGeometryIntersection(this,p,e,n,c,l,u,a,d,f),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=s.materialIndex,t.push(r))}}else{let i=Math.max(0,f.start),s=Math.min(o.count,f.start+f.count);for(let d=i,f=s;d<f;d+=3){let i=o.getX(d),s=o.getX(d+1),f=o.getX(d+2);r=checkGeometryIntersection(this,a,e,n,c,l,u,i,s,f),r&&(r.faceIndex=Math.floor(d/3),t.push(r))}}else if(s!==void 0)if(Array.isArray(a))for(let i=0,o=d.length;i<o;i++){let o=d[i],p=a[o.materialIndex],m=Math.max(o.start,f.start),h=Math.min(s.count,Math.min(o.start+o.count,f.start+f.count));for(let i=m,a=h;i<a;i+=3){let a=i,s=i+1,d=i+2;r=checkGeometryIntersection(this,p,e,n,c,l,u,a,s,d),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=o.materialIndex,t.push(r))}}else{let i=Math.max(0,f.start),o=Math.min(s.count,f.start+f.count);for(let s=i,d=o;s<d;s+=3){let i=s,o=s+1,d=s+2;r=checkGeometryIntersection(this,a,e,n,c,l,u,i,o,d),r&&(r.faceIndex=Math.floor(s/3),t.push(r))}}}};function checkIntersection$1(e,t,n,r,i,a,o,s){let c;if(c=t.side===1?r.intersectTriangle(o,a,i,!0,s):r.intersectTriangle(i,a,o,t.side===0,s),c===null)return null;_o.copy(s),_o.applyMatrix4(e.matrixWorld);let l=n.ray.origin.distanceTo(_o);return l<n.near||l>n.far?null:{distance:l,point:_o.clone(),object:e}}function checkGeometryIntersection(e,t,n,r,i,a,o,s,c,l){e.getVertexPosition(s,uo),e.getVertexPosition(c,fo),e.getVertexPosition(l,po);let u=checkIntersection$1(e,t,n,r,uo,fo,po,go);if(u){let e=new I;wa.getBarycoord(go,uo,fo,po,e),i&&(u.uv=wa.getInterpolatedAttribute(i,s,c,l,e,new yi)),a&&(u.uv1=wa.getInterpolatedAttribute(a,s,c,l,e,new yi)),o&&(u.normal=wa.getInterpolatedAttribute(o,s,c,l,e,new I),u.normal.dot(r.direction)>0&&u.normal.multiplyScalar(-1));let t={a:s,b:c,c:l,normal:new I,materialIndex:0};wa.getNormal(uo,fo,po,t.normal),u.face=t,u.barycoord=e}return u}var DataTexture=class extends ji{constructor(e=null,t=1,n=1,r,i,a,o,s,c=Fr,l=Fr,u,d){super(null,a,o,s,c,l,r,i,u,d),this.isDataTexture=!0,this.image={data:e,width:t,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}};const vo=new I,yo=new I,bo=new Si;var Plane=class{constructor(e=new I(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){let r=vo.subVectors(n,t).cross(yo.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){let e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t,n=!0){let r=e.delta(vo),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;let a=-(e.start.dot(this.normal)+this.constant)/i;return n===!0&&(a<0||a>1)?null:t.copy(e.start).addScaledVector(r,a)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||bo.getNormalMatrix(e),r=this.coplanarPoint(vo).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}};const xo=new Sphere,So=new yi(.5,.5),Co=new I;var Frustum=class{constructor(e=new Plane,t=new Plane,n=new Plane,r=new Plane,i=new Plane,a=new Plane){this.planes=[e,t,n,r,i,a]}set(e,t,n,r,i,a){let o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(i),o[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=di,n=!1){let r=this.planes,i=e.elements,a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14],b=i[15];if(r[0].setComponents(c-a,f-l,g-p,b-_).normalize(),r[1].setComponents(c+a,f+l,g+p,b+_).normalize(),r[2].setComponents(c+o,f+u,g+m,b+v).normalize(),r[3].setComponents(c-o,f-u,g-m,b-v).normalize(),n)r[4].setComponents(s,d,h,y).normalize(),r[5].setComponents(c-s,f-d,g-h,b-y).normalize();else if(r[4].setComponents(c-s,f-d,g-h,b-y).normalize(),t===2e3)r[5].setComponents(c+s,f+d,g+h,b+y).normalize();else if(t===2001)r[5].setComponents(s,d,h,y).normalize();else throw Error(`THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: `+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),xo.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),xo.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(xo)}intersectsSprite(e){xo.center.set(0,0,0);let t=So.distanceTo(e.center);return xo.radius=.7071067811865476+t,xo.applyMatrix4(e.matrixWorld),this.intersectsSphere(xo)}intersectsSphere(e){let t=this.planes,n=e.center,r=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)<r)return!1;return!0}intersectsBox(e){let t=this.planes;for(let n=0;n<6;n++){let r=t[n];if(Co.x=r.normal.x>0?e.max.x:e.min.x,Co.y=r.normal.y>0?e.max.y:e.min.y,Co.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(Co)<0)return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}},CubeTexture=class extends ji{constructor(e=[],t=301,n,r,i,a,o,s,c,l){super(e,t,n,r,i,a,o,s,c,l),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}},DepthTexture=class extends ji{constructor(e,t,n=Br,r,i,a,o=Fr,s=Fr,c,l=qr,u=1){if(l!==1026&&l!==1027)throw Error(`THREE.DepthTexture: format must be either THREE.DepthFormat or THREE.DepthStencilFormat`);super({width:e,height:t,depth:u},r,i,a,o,s,l,n,c),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new Source(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return this.compareFunction!==null&&(t.compareFunction=this.compareFunction),t}},CubeDepthTexture=class extends DepthTexture{constructor(e,t=Br,n=301,r,i,a=Fr,o=Fr,s,c=qr){let l={width:e,height:e,depth:1},u=[l,l,l,l,l,l];super(e,e,t,n,r,i,a,o,s,c),this.image=u,this.isCubeDepthTexture=!0,this.isCubeTexture=!0}get images(){return this.image}set images(e){this.image=e}},ExternalTexture=class extends ji{constructor(e=null){super(),this.sourceTexture=e,this.isExternalTexture=!0}copy(e){return super.copy(e),this.sourceTexture=e.sourceTexture,this}},wo=class BoxGeometry extends Za{constructor(e=1,t=1,n=1,r=1,i=1,a=1){super(),this.type=`BoxGeometry`,this.parameters={width:e,height:t,depth:n,widthSegments:r,heightSegments:i,depthSegments:a};let o=this;r=Math.floor(r),i=Math.floor(i),a=Math.floor(a);let s=[],c=[],l=[],u=[],d=0,f=0;buildPlane(`z`,`y`,`x`,-1,-1,n,t,e,a,i,0),buildPlane(`z`,`y`,`x`,1,-1,n,t,-e,a,i,1),buildPlane(`x`,`z`,`y`,1,1,e,n,t,r,a,2),buildPlane(`x`,`z`,`y`,1,-1,e,n,-t,r,a,3),buildPlane(`x`,`y`,`z`,1,-1,e,t,n,r,i,4),buildPlane(`x`,`y`,`z`,-1,-1,e,t,-n,r,i,5),this.setIndex(s),this.setAttribute(`position`,new Float32BufferAttribute(c,3)),this.setAttribute(`normal`,new Float32BufferAttribute(l,3)),this.setAttribute(`uv`,new Float32BufferAttribute(u,2));function buildPlane(e,t,n,r,i,a,p,m,h,g,_){let v=a/h,y=p/g,b=a/2,x=p/2,S=m/2,C=h+1,w=g+1,T=0,E=0,D=new I;for(let a=0;a<w;a++){let o=a*y-x;for(let s=0;s<C;s++)D[e]=(s*v-b)*r,D[t]=o*i,D[n]=S,c.push(D.x,D.y,D.z),D[e]=0,D[t]=0,D[n]=m>0?1:-1,l.push(D.x,D.y,D.z),u.push(s/h),u.push(1-a/g),T+=1}for(let e=0;e<g;e++)for(let t=0;t<h;t++){let n=d+t+C*e,r=d+t+C*(e+1),i=d+(t+1)+C*(e+1),a=d+(t+1)+C*e;s.push(n,r,a),s.push(r,i,a),E+=6}o.addGroup(f,E,_),f+=E,d+=T}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new BoxGeometry(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}},To=class PlaneGeometry extends Za{constructor(e=1,t=1,n=1,r=1){super(),this.type=`PlaneGeometry`,this.parameters={width:e,height:t,widthSegments:n,heightSegments:r};let i=e/2,a=t/2,o=Math.floor(n),s=Math.floor(r),c=o+1,l=s+1,u=e/o,d=t/s,f=[],p=[],m=[],h=[];for(let e=0;e<l;e++){let t=e*d-a;for(let n=0;n<c;n++){let r=n*u-i;p.push(r,-t,0),m.push(0,0,1),h.push(n/o),h.push(1-e/s)}}for(let e=0;e<s;e++)for(let t=0;t<o;t++){let n=t+c*e,r=t+c*(e+1),i=t+1+c*(e+1),a=t+1+c*e;f.push(n,r,a),f.push(r,i,a)}this.setIndex(f),this.setAttribute(`position`,new Float32BufferAttribute(p,3)),this.setAttribute(`normal`,new Float32BufferAttribute(m,3)),this.setAttribute(`uv`,new Float32BufferAttribute(h,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new PlaneGeometry(e.width,e.height,e.widthSegments,e.heightSegments)}};function cloneUniforms(e){let t={};for(let n in e){t[n]={};for(let r in e[n]){let i=e[n][r];if(isThreeObject(i))i.isRenderTargetTexture?(warn(`UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms().`),t[n][r]=null):t[n][r]=i.clone();else if(Array.isArray(i))if(isThreeObject(i[0])){let e=[];for(let t=0,n=i.length;t<n;t++)e[t]=i[t].clone();t[n][r]=e}else t[n][r]=i.slice();else t[n][r]=i}}return t}function mergeUniforms(e){let t={};for(let n=0;n<e.length;n++){let r=cloneUniforms(e[n]);for(let e in r)t[e]=r[e]}return t}function isThreeObject(e){return e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||e.isTexture||e.isQuaternion)}function cloneUniformsGroups(e){let t=[];for(let n=0;n<e.length;n++)t.push(e[n].clone());return t}function getUnlitUniformColorSpace(e){let t=e.getRenderTarget();return t===null?e.outputColorSpace:t.isXRRenderTarget===!0?t.texture.colorSpace:Ei.workingColorSpace}const Eo={clone:cloneUniforms,merge:mergeUniforms};var Do=`void main() {
|
|
84
|
+
;const Mr={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},Nr={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},Pr=1e3,Fr=1001,Ir=1002,Lr=1003,Rr=1006,zr=1008,Br=1009,Vr=1012,Hr=1014,Ur=1015,Wr=1016,Gr=1017,Kr=1018,qr=1020,Jr=1023,Yr=1026,Xr=1027,Zr=1029,Qr=1030,$r=1031,ei=1033,ti=2300,ni=2301,ri=2302,ii=2303,ai=2400,oi=2401,si=2402,ci=`srgb`,li=`srgb-linear`,ui=`linear`,di=`srgb`,fi=7680,pi=2e3;function arrayNeedsUint32(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}function isTypedArray(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function createElementNS(e){return document.createElementNS(`http://www.w3.org/1999/xhtml`,e)}function createCanvasElement(){let e=createElementNS(`canvas`);return e.style.display=`block`,e}const mi={};function log(...e){let t=`THREE.`+e.shift();k.log(t,...e)}function enhanceLogMessage(e){let t=e[0];if(typeof t==`string`&&t.startsWith(`TSL:`)){let t=e[1];t&&t.isStackTrace?e[0]+=` `+t.getLocation():e[1]=`Stack trace not available. Enable "THREE.Node.captureStackTrace" to capture stack traces.`}return e}function warn(...e){e=enhanceLogMessage(e);let t=`THREE.`+e.shift();{let n=e[0];n&&n.isStackTrace?k.warn(n.getError(t)):k.warn(t,...e)}}function error(...e){e=enhanceLogMessage(e);let t=`THREE.`+e.shift();{let n=e[0];n&&n.isStackTrace?k.error(n.getError(t)):k.error(t,...e)}}function warnOnce(...e){let t=e.join(` `);t in mi||(mi[t]=!0,warn(...e))}function probeAsync(e,t,n){return new Promise(function(r,i){function probe(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:i();break;case e.TIMEOUT_EXPIRED:setTimeout(probe,n);break;default:r()}}setTimeout(probe,n)})}const hi={0:1,2:6,4:7,3:5,1:0,6:2,7:4,5:3};var EventDispatcher=class{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let n=this._listeners;n[e]===void 0&&(n[e]=[]),n[e].indexOf(t)===-1&&n[e].push(t)}hasEventListener(e,t){let n=this._listeners;return n===void 0?!1:n[e]!==void 0&&n[e].indexOf(t)!==-1}removeEventListener(e,t){let n=this._listeners;if(n===void 0)return;let r=n[e];if(r!==void 0){let e=r.indexOf(t);e!==-1&&r.splice(e,1)}}dispatchEvent(e){let t=this._listeners;if(t===void 0)return;let n=t[e.type];if(n!==void 0){e.target=this;let t=n.slice(0);for(let n=0,r=t.length;n<r;n++)t[n].call(this,e);e.target=null}}};const gi=`00.01.02.03.04.05.06.07.08.09.0a.0b.0c.0d.0e.0f.10.11.12.13.14.15.16.17.18.19.1a.1b.1c.1d.1e.1f.20.21.22.23.24.25.26.27.28.29.2a.2b.2c.2d.2e.2f.30.31.32.33.34.35.36.37.38.39.3a.3b.3c.3d.3e.3f.40.41.42.43.44.45.46.47.48.49.4a.4b.4c.4d.4e.4f.50.51.52.53.54.55.56.57.58.59.5a.5b.5c.5d.5e.5f.60.61.62.63.64.65.66.67.68.69.6a.6b.6c.6d.6e.6f.70.71.72.73.74.75.76.77.78.79.7a.7b.7c.7d.7e.7f.80.81.82.83.84.85.86.87.88.89.8a.8b.8c.8d.8e.8f.90.91.92.93.94.95.96.97.98.99.9a.9b.9c.9d.9e.9f.a0.a1.a2.a3.a4.a5.a6.a7.a8.a9.aa.ab.ac.ad.ae.af.b0.b1.b2.b3.b4.b5.b6.b7.b8.b9.ba.bb.bc.bd.be.bf.c0.c1.c2.c3.c4.c5.c6.c7.c8.c9.ca.cb.cc.cd.ce.cf.d0.d1.d2.d3.d4.d5.d6.d7.d8.d9.da.db.dc.dd.de.df.e0.e1.e2.e3.e4.e5.e6.e7.e8.e9.ea.eb.ec.ed.ee.ef.f0.f1.f2.f3.f4.f5.f6.f7.f8.f9.fa.fb.fc.fd.fe.ff`.split(`.`);let _i=1234567;const vi=Math.PI/180,yi=180/Math.PI;function generateUUID(){let e=Math.random()*4294967295|0,t=Math.random()*4294967295|0,n=Math.random()*4294967295|0,r=Math.random()*4294967295|0;return(gi[e&255]+gi[e>>8&255]+gi[e>>16&255]+gi[e>>24&255]+`-`+gi[t&255]+gi[t>>8&255]+`-`+gi[t>>16&15|64]+gi[t>>24&255]+`-`+gi[n&63|128]+gi[n>>8&255]+`-`+gi[n>>16&255]+gi[n>>24&255]+gi[r&255]+gi[r>>8&255]+gi[r>>16&255]+gi[r>>24&255]).toLowerCase()}function clamp(e,t,n){return Math.max(t,Math.min(n,e))}function euclideanModulo(e,t){return(e%t+t)%t}function mapLinear(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)}function inverseLerp(e,t,n){return e===t?0:(n-e)/(t-e)}function lerp(e,t,n){return(1-n)*e+n*t}function damp(e,t,n,r){return lerp(e,t,1-Math.exp(-n*r))}function pingpong(e,t=1){return t-Math.abs(euclideanModulo(e,t*2)-t)}function smoothstep(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*(3-2*e))}function smootherstep(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*e*(e*(e*6-15)+10))}function randInt(e,t){return e+Math.floor(Math.random()*(t-e+1))}function randFloat(e,t){return e+Math.random()*(t-e)}function randFloatSpread(e){return e*(.5-Math.random())}function seededRandom(e){e!==void 0&&(_i=e);let t=_i+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}function degToRad(e){return e*vi}function radToDeg(e){return e*yi}function isPowerOfTwo(e){return(e&e-1)==0&&e!==0}function ceilPowerOfTwo(e){return 2**Math.ceil(Math.log(e)/Math.LN2)}function floorPowerOfTwo(e){return 2**Math.floor(Math.log(e)/Math.LN2)}function setQuaternionFromProperEuler(e,t,n,r,i){let a=Math.cos,o=Math.sin,s=a(n/2),c=o(n/2),l=a((t+r)/2),u=o((t+r)/2),d=a((t-r)/2),f=o((t-r)/2),p=a((r-t)/2),m=o((r-t)/2);switch(i){case`XYX`:e.set(s*u,c*d,c*f,s*l);break;case`YZY`:e.set(c*f,s*u,c*d,s*l);break;case`ZXZ`:e.set(c*d,c*f,s*u,s*l);break;case`XZX`:e.set(s*u,c*m,c*p,s*l);break;case`YXY`:e.set(c*p,s*u,c*m,s*l);break;case`ZYZ`:e.set(c*m,c*p,s*u,s*l);break;default:warn(`MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: `+i)}}function denormalize(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error(`THREE.MathUtils: Invalid component type.`)}}function normalize(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(e*4294967295);case Uint16Array:return Math.round(e*65535);case Uint8Array:return Math.round(e*255);case Int32Array:return Math.round(e*2147483647);case Int16Array:return Math.round(e*32767);case Int8Array:return Math.round(e*127);default:throw Error(`THREE.MathUtils: Invalid component type.`)}}const bi={DEG2RAD:vi,RAD2DEG:yi,generateUUID,clamp,euclideanModulo,mapLinear,inverseLerp,lerp,damp,pingpong,smoothstep,smootherstep,randInt,randFloat,randFloatSpread,seededRandom,degToRad,radToDeg,isPowerOfTwo,ceilPowerOfTwo,floorPowerOfTwo,setQuaternionFromProperEuler,normalize,denormalize};var xi=class Vector2{static{Vector2.prototype.isVector2=!0}constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error(`THREE.Vector2: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error(`THREE.Vector2: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(clamp(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,a=this.y-e.y;return this.x=i*n-a*r+e.x,this.y=i*r+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}},Quaternion=class{constructor(e=0,t=0,n=0,r=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=n,this._w=r}static slerpFlat(e,t,n,r,i,a,o){let s=n[r+0],c=n[r+1],l=n[r+2],u=n[r+3],d=i[a+0],f=i[a+1],p=i[a+2],m=i[a+3];if(u!==m||s!==d||c!==f||l!==p){let e=s*d+c*f+l*p+u*m;e<0&&(d=-d,f=-f,p=-p,m=-m,e=-e);let t=1-o;if(e<.9995){let n=Math.acos(e),r=Math.sin(n);t=Math.sin(t*n)/r,o=Math.sin(o*n)/r,s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o}else{s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o;let e=1/Math.sqrt(s*s+c*c+l*l+u*u);s*=e,c*=e,l*=e,u*=e}}e[t]=s,e[t+1]=c,e[t+2]=l,e[t+3]=u}static multiplyQuaternionsFlat(e,t,n,r,i,a){let o=n[r],s=n[r+1],c=n[r+2],l=n[r+3],u=i[a],d=i[a+1],f=i[a+2],p=i[a+3];return e[t]=o*p+l*u+s*f-c*d,e[t+1]=s*p+l*d+c*u-o*f,e[t+2]=c*p+l*f+o*d-s*u,e[t+3]=l*p-o*u-s*d-c*f,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,r=e._y,i=e._z,a=e._order,o=Math.cos,s=Math.sin,c=o(n/2),l=o(r/2),u=o(i/2),d=s(n/2),f=s(r/2),p=s(i/2);switch(a){case`XYZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`YXZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`ZXY`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`ZYX`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`YZX`:this._x=d*l*u+c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u-d*f*p;break;case`XZY`:this._x=d*l*u-c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u+d*f*p;break;default:warn(`Quaternion: .setFromEuler() encountered an unknown order: `+a)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],r=t[4],i=t[8],a=t[1],o=t[5],s=t[9],c=t[2],l=t[6],u=t[10],d=n+o+u;if(d>0){let e=.5/Math.sqrt(d+1);this._w=.25/e,this._x=(l-s)*e,this._y=(i-c)*e,this._z=(a-r)*e}else if(n>o&&n>u){let e=2*Math.sqrt(1+n-o-u);this._w=(l-s)/e,this._x=.25*e,this._y=(r+a)/e,this._z=(i+c)/e}else if(o>u){let e=2*Math.sqrt(1+o-n-u);this._w=(i-c)/e,this._x=(r+a)/e,this._y=.25*e,this._z=(s+l)/e}else{let e=2*Math.sqrt(1+u-n-o);this._w=(a-r)/e,this._x=(i+c)/e,this._y=(s+l)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return n<1e-8?(n=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(clamp(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(n===0)return this;let r=Math.min(1,t/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x*=e,this._y*=e,this._z*=e,this._w*=e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=t._x,s=t._y,c=t._z,l=t._w;return this._x=n*l+a*o+r*c-i*s,this._y=r*l+a*s+i*o-n*c,this._z=i*l+a*c+n*s-r*o,this._w=a*l-n*o-r*s-i*c,this._onChangeCallback(),this}slerp(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=this.dot(e);o<0&&(n=-n,r=-r,i=-i,a=-a,o=-o);let s=1-t;if(o<.9995){let e=Math.acos(o),c=Math.sin(e);s=Math.sin(s*e)/c,t=Math.sin(t*e)/c,this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this._onChangeCallback()}else this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this.normalize();return this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),r=Math.sqrt(1-n),i=Math.sqrt(n);return this.set(r*Math.sin(e),r*Math.cos(e),i*Math.sin(t),i*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}},I=class Vector3{static{Vector3.prototype.isVector3=!0}constructor(e=0,t=0,n=0){this.x=e,this.y=t,this.z=n}set(e,t,n){return n===void 0&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error(`THREE.Vector3: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error(`THREE.Vector3: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(Ci.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(Ci.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=e.elements,a=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*a,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*a,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,r=this.z,i=e.x,a=e.y,o=e.z,s=e.w,c=2*(a*r-o*n),l=2*(o*t-i*r),u=2*(i*n-a*t);return this.x=t+s*c+a*u-o*l,this.y=n+s*l+o*c-i*u,this.z=r+s*u+i*l-a*c,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this.z=clamp(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this.z=clamp(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,r=e.y,i=e.z,a=t.x,o=t.y,s=t.z;return this.x=r*s-i*o,this.y=i*a-n*s,this.z=n*o-r*a,this}projectOnVector(e){let t=e.lengthSq();if(t===0)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return Si.copy(this).projectOnVector(e),this.sub(Si)}reflect(e){return this.sub(Si.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(clamp(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=Math.random()*2-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}};const Si=new I,Ci=new Quaternion;var wi=class Matrix3{static{Matrix3.prototype.isMatrix3=!0}constructor(e,t,n,r,i,a,o,s,c){this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,n,r,i,a,o,s,c)}set(e,t,n,r,i,a,o,s,c){let l=this.elements;return l[0]=e,l[1]=r,l[2]=o,l[3]=t,l[4]=i,l[5]=s,l[6]=n,l[7]=a,l[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[3],s=n[6],c=n[1],l=n[4],u=n[7],d=n[2],f=n[5],p=n[8],m=r[0],h=r[3],g=r[6],_=r[1],v=r[4],y=r[7],b=r[2],x=r[5],S=r[8];return i[0]=a*m+o*_+s*b,i[3]=a*h+o*v+s*x,i[6]=a*g+o*y+s*S,i[1]=c*m+l*_+u*b,i[4]=c*h+l*v+u*x,i[7]=c*g+l*y+u*S,i[2]=d*m+f*_+p*b,i[5]=d*h+f*v+p*x,i[8]=d*g+f*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8];return t*a*l-t*o*c-n*i*l+n*o*s+r*i*c-r*a*s}invert(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=l*a-o*c,d=o*s-l*i,f=c*i-a*s,p=t*u+n*d+r*f;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);let m=1/p;return e[0]=u*m,e[1]=(r*c-l*n)*m,e[2]=(o*n-r*a)*m,e[3]=d*m,e[4]=(l*t-r*s)*m,e[5]=(r*i-o*t)*m,e[6]=f*m,e[7]=(n*s-c*t)*m,e[8]=(a*t-n*i)*m,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,r,i,a,o){let s=Math.cos(i),c=Math.sin(i);return this.set(n*s,n*c,-n*(s*a+c*o)+a+e,-r*c,r*s,-r*(-c*a+s*o)+o+t,0,0,1),this}scale(e,t){return warnOnce(`Matrix3: .scale() is deprecated. Use .makeScale() instead.`),this.premultiply(Ti.makeScale(e,t)),this}rotate(e){return warnOnce(`Matrix3: .rotate() is deprecated. Use .makeRotation() instead.`),this.premultiply(Ti.makeRotation(-e)),this}translate(e,t){return warnOnce(`Matrix3: .translate() is deprecated. Use .makeTranslation() instead.`),this.premultiply(Ti.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}};const Ti=new wi,Ei=new wi().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Di=new wi().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function createColorManagement(){let e={enabled:!0,workingColorSpace:li,spaces:{},convert:function(e,t,n){return this.enabled===!1||t===n||!t||!n?e:(this.spaces[t].transfer===`srgb`&&(e.r=SRGBToLinear(e.r),e.g=SRGBToLinear(e.g),e.b=SRGBToLinear(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===`srgb`&&(e.r=LinearToSRGB(e.r),e.g=LinearToSRGB(e.g),e.b=LinearToSRGB(e.b)),e)},workingToColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},colorSpaceToWorking:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return e===``?ui:this.spaces[e].transfer},getToneMappingMode:function(e){return this.spaces[e].outputColorSpaceConfig.toneMappingMode||`standard`},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(t,n){return warnOnce(`ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace().`),e.workingToColorSpace(t,n)},toWorkingColorSpace:function(t,n){return warnOnce(`ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking().`),e.colorSpaceToWorking(t,n)}},t=[.64,.33,.3,.6,.15,.06],n=[.2126,.7152,.0722],r=[.3127,.329];return e.define({[li]:{primaries:t,whitePoint:r,transfer:ui,toXYZ:Ei,fromXYZ:Di,luminanceCoefficients:n,workingColorSpaceConfig:{unpackColorSpace:ci},outputColorSpaceConfig:{drawingBufferColorSpace:ci}},[ci]:{primaries:t,whitePoint:r,transfer:di,toXYZ:Ei,fromXYZ:Di,luminanceCoefficients:n,outputColorSpaceConfig:{drawingBufferColorSpace:ci}}}),e}const Oi=createColorManagement();function SRGBToLinear(e){return e<.04045?e*.0773993808:(e*.9478672986+.0521327014)**2.4}function LinearToSRGB(e){return e<.0031308?e*12.92:1.055*e**.41666-.055}let ki;var ImageUtils=class{static getDataURL(e,t=`image/png`){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>`u`)return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{ki===void 0&&(ki=createElementNS(`canvas`)),ki.width=e.width,ki.height=e.height;let t=ki.getContext(`2d`);e instanceof ImageData?t.putImageData(e,0,0):t.drawImage(e,0,0,e.width,e.height),n=ki}return n.toDataURL(t)}static sRGBToLinear(e){if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap){let t=createElementNS(`canvas`);t.width=e.width,t.height=e.height;let n=t.getContext(`2d`);n.drawImage(e,0,0,e.width,e.height);let r=n.getImageData(0,0,e.width,e.height),i=r.data;for(let e=0;e<i.length;e++)i[e]=SRGBToLinear(i[e]/255)*255;return n.putImageData(r,0,0),t}else if(e.data){let t=e.data.slice(0);for(let e=0;e<t.length;e++)t instanceof Uint8Array||t instanceof Uint8ClampedArray?t[e]=Math.floor(SRGBToLinear(t[e]/255)*255):t[e]=SRGBToLinear(t[e]);return{data:t,width:e.width,height:e.height}}else return warn(`ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.`),e}};let Ai=0;var Source=class{constructor(e=null){this.isSource=!0,Object.defineProperty(this,"id",{value:Ai++}),this.uuid=generateUUID(),this.data=e,this.dataReady=!0,this.version=0}getSize(e){let t=this.data;return typeof HTMLVideoElement<`u`&&t instanceof HTMLVideoElement?e.set(t.videoWidth,t.videoHeight,0):typeof VideoFrame<`u`&&t instanceof VideoFrame?e.set(t.displayWidth,t.displayHeight,0):t===null?e.set(0,0,0):e.set(t.width,t.height,t.depth||0),e}set needsUpdate(e){e===!0&&this.version++}toJSON(e){let t=e===void 0||typeof e==`string`;if(!t&&e.images[this.uuid]!==void 0)return e.images[this.uuid];let n={uuid:this.uuid,url:``},r=this.data;if(r!==null){let e;if(Array.isArray(r)){e=[];for(let t=0,n=r.length;t<n;t++)r[t].isDataTexture?e.push(serializeImage(r[t].image)):e.push(serializeImage(r[t]))}else e=serializeImage(r);n.url=e}return t||(e.images[this.uuid]=n),n}};function serializeImage(e){return typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap?ImageUtils.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(warn(`Texture: Unable to serialize Texture.`),{})}let ji=0;const Mi=new I;var Ni=class Texture extends EventDispatcher{constructor(e=Texture.DEFAULT_IMAGE,t=Texture.DEFAULT_MAPPING,n=Fr,r=Fr,i=Rr,a=zr,o=Jr,s=Br,c=Texture.DEFAULT_ANISOTROPY,l=``){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:ji++}),this.uuid=generateUUID(),this.name=``,this.source=new Source(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=a,this.anisotropy=c,this.format=o,this.internalFormat=null,this.type=s,this.offset=new xi(0,0),this.repeat=new xi(1,1),this.center=new xi(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new wi,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=l,this.userData={},this.updateRanges=[],this.version=0,this.onUpdate=null,this.renderTarget=null,this.isRenderTargetTexture=!1,this.isArrayTexture=!!(e&&e.depth&&e.depth>1),this.pmremVersion=0,this.normalized=!1}get width(){return this.source.getSize(Mi).x}get height(){return this.source.getSize(Mi).y}get depth(){return this.source.getSize(Mi).z}get image(){return this.source.data}set image(e){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.normalized=e.normalized,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.renderTarget=e.renderTarget,this.isRenderTargetTexture=e.isRenderTargetTexture,this.isArrayTexture=e.isArrayTexture,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}setValues(e){for(let t in e){let n=e[t];if(n===void 0){warn(`Texture.setValues(): parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){warn(`Texture.setValues(): property '${t}' does not exist.`);continue}r&&n&&r.isVector2&&n.isVector2||r&&n&&r.isVector3&&n.isVector3||r&&n&&r.isMatrix3&&n.isMatrix3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;if(!t&&e.textures[this.uuid]!==void 0)return e.textures[this.uuid];let n={metadata:{version:4.7,type:`Texture`,generator:`Texture.toJSON`},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,normalized:this.normalized,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:`dispose`})}transformUv(e){if(this.mapping!==300)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case Pr:e.x-=Math.floor(e.x);break;case Fr:e.x=e.x<0?0:1;break;case Ir:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x-=Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case Pr:e.y-=Math.floor(e.y);break;case Fr:e.y=e.y<0?0:1;break;case Ir:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y-=Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){e===!0&&this.pmremVersion++}};Ni.DEFAULT_IMAGE=null,Ni.DEFAULT_MAPPING=300,Ni.DEFAULT_ANISOTROPY=1;var Pi=class Vector4{static{Vector4.prototype.isVector4=!0}constructor(e=0,t=0,n=0,r=1){this.x=e,this.y=t,this.z=n,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error(`THREE.Vector4: index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error(`THREE.Vector4: index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w===void 0?1:e.w,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r+a[12]*i,this.y=a[1]*t+a[5]*n+a[9]*r+a[13]*i,this.z=a[2]*t+a[6]*n+a[10]*r+a[14]*i,this.w=a[3]*t+a[7]*n+a[11]*r+a[15]*i,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,r,i,a=.01,o=.1,s=e.elements,c=s[0],l=s[4],u=s[8],d=s[1],f=s[5],p=s[9],m=s[2],h=s[6],g=s[10];if(Math.abs(l-d)<a&&Math.abs(u-m)<a&&Math.abs(p-h)<a){if(Math.abs(l+d)<o&&Math.abs(u+m)<o&&Math.abs(p+h)<o&&Math.abs(c+f+g-3)<o)return this.set(1,0,0,0),this;t=Math.PI;let e=(c+1)/2,s=(f+1)/2,_=(g+1)/2,v=(l+d)/4,y=(u+m)/4,b=(p+h)/4;return e>s&&e>_?e<a?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(e),r=v/n,i=y/n):s>_?s<a?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(s),n=v/r,i=b/r):_<a?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(_),n=y/i,r=b/i),this.set(n,r,i,t),this}let _=Math.sqrt((h-p)*(h-p)+(u-m)*(u-m)+(d-l)*(d-l));return Math.abs(_)<.001&&(_=1),this.x=(h-p)/_,this.y=(u-m)/_,this.z=(d-l)/_,this.w=Math.acos((c+f+g-1)/2),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=clamp(this.x,e.x,t.x),this.y=clamp(this.y,e.y,t.y),this.z=clamp(this.z,e.z,t.z),this.w=clamp(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=clamp(this.x,e,t),this.y=clamp(this.y,e,t),this.z=clamp(this.z,e,t),this.w=clamp(this.w,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(clamp(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}},RenderTarget=class extends EventDispatcher{constructor(e=1,t=1,n={}){super(),n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:Rr,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1,depth:1,multiview:!1,useArrayDepthTexture:!1},n),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=n.depth,this.scissor=new Pi(0,0,e,t),this.scissorTest=!1,this.viewport=new Pi(0,0,e,t),this.textures=[];let r=new Ni({width:e,height:t,depth:n.depth}),i=n.count;for(let e=0;e<i;e++)this.textures[e]=r.clone(),this.textures[e].isRenderTargetTexture=!0,this.textures[e].renderTarget=this;this._setTextureOptions(n),this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.resolveDepthBuffer=n.resolveDepthBuffer,this.resolveStencilBuffer=n.resolveStencilBuffer,this._depthTexture=null,this.depthTexture=n.depthTexture,this.samples=n.samples,this.multiview=n.multiview,this.useArrayDepthTexture=n.useArrayDepthTexture}_setTextureOptions(e={}){let t={minFilter:Rr,generateMipmaps:!1,flipY:!1,internalFormat:null};e.mapping!==void 0&&(t.mapping=e.mapping),e.wrapS!==void 0&&(t.wrapS=e.wrapS),e.wrapT!==void 0&&(t.wrapT=e.wrapT),e.wrapR!==void 0&&(t.wrapR=e.wrapR),e.magFilter!==void 0&&(t.magFilter=e.magFilter),e.minFilter!==void 0&&(t.minFilter=e.minFilter),e.format!==void 0&&(t.format=e.format),e.type!==void 0&&(t.type=e.type),e.anisotropy!==void 0&&(t.anisotropy=e.anisotropy),e.colorSpace!==void 0&&(t.colorSpace=e.colorSpace),e.flipY!==void 0&&(t.flipY=e.flipY),e.generateMipmaps!==void 0&&(t.generateMipmaps=e.generateMipmaps),e.internalFormat!==void 0&&(t.internalFormat=e.internalFormat);for(let e=0;e<this.textures.length;e++)this.textures[e].setValues(t)}get texture(){return this.textures[0]}set texture(e){this.textures[0]=e}set depthTexture(e){this._depthTexture!==null&&(this._depthTexture.renderTarget=null),e!==null&&(e.renderTarget=this),this._depthTexture=e}get depthTexture(){return this._depthTexture}setSize(e,t,n=1){if(this.width!==e||this.height!==t||this.depth!==n){this.width=e,this.height=t,this.depth=n;for(let r=0,i=this.textures.length;r<i;r++)this.textures[r].image.width=e,this.textures[r].image.height=t,this.textures[r].image.depth=n,this.textures[r].isData3DTexture!==!0&&(this.textures[r].isArrayTexture=this.textures[r].image.depth>1);this.dispose()}this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.textures.length=0;for(let t=0,n=e.textures.length;t<n;t++){this.textures[t]=e.textures[t].clone(),this.textures[t].isRenderTargetTexture=!0,this.textures[t].renderTarget=this;let n=Object.assign({},e.textures[t].image);this.textures[t].source=new Source(n)}return this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.resolveDepthBuffer=e.resolveDepthBuffer,this.resolveStencilBuffer=e.resolveStencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this.multiview=e.multiview,this.useArrayDepthTexture=e.useArrayDepthTexture,this}dispose(){this.dispatchEvent({type:`dispose`})}},WebGLRenderTarget=class extends RenderTarget{constructor(e=1,t=1,n={}){super(e,t,n),this.isWebGLRenderTarget=!0}},DataArrayTexture=class extends Ni{constructor(e=null,t=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=Lr,this.minFilter=Lr,this.wrapR=Fr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}},Data3DTexture=class extends Ni{constructor(e=null,t=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=Lr,this.minFilter=Lr,this.wrapR=Fr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}},Fi=class Matrix4{static{Matrix4.prototype.isMatrix4=!0}constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h)}set(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){let g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=r,g[1]=i,g[5]=a,g[9]=o,g[13]=s,g[2]=c,g[6]=l,g[10]=u,g[14]=d,g[3]=f,g[7]=p,g[11]=m,g[15]=h,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Matrix4().fromArray(this.elements)}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){let t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return this.determinantAffine()===0?(e.set(1,0,0),t.set(0,1,0),n.set(0,0,1),this):(e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this)}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){if(e.determinantAffine()===0)return this.identity();let t=this.elements,n=e.elements,r=1/Ii.setFromMatrixColumn(e,0).length(),i=1/Ii.setFromMatrixColumn(e,1).length(),a=1/Ii.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){let t=this.elements,n=e.x,r=e.y,i=e.z,a=Math.cos(n),o=Math.sin(n),s=Math.cos(r),c=Math.sin(r),l=Math.cos(i),u=Math.sin(i);if(e.order===`XYZ`){let e=a*l,n=a*u,r=o*l,i=o*u;t[0]=s*l,t[4]=-s*u,t[8]=c,t[1]=n+r*c,t[5]=e-i*c,t[9]=-o*s,t[2]=i-e*c,t[6]=r+n*c,t[10]=a*s}else if(e.order===`YXZ`){let e=s*l,n=s*u,r=c*l,i=c*u;t[0]=e+i*o,t[4]=r*o-n,t[8]=a*c,t[1]=a*u,t[5]=a*l,t[9]=-o,t[2]=n*o-r,t[6]=i+e*o,t[10]=a*s}else if(e.order===`ZXY`){let e=s*l,n=s*u,r=c*l,i=c*u;t[0]=e-i*o,t[4]=-a*u,t[8]=r+n*o,t[1]=n+r*o,t[5]=a*l,t[9]=i-e*o,t[2]=-a*c,t[6]=o,t[10]=a*s}else if(e.order===`ZYX`){let e=a*l,n=a*u,r=o*l,i=o*u;t[0]=s*l,t[4]=r*c-n,t[8]=e*c+i,t[1]=s*u,t[5]=i*c+e,t[9]=n*c-r,t[2]=-c,t[6]=o*s,t[10]=a*s}else if(e.order===`YZX`){let e=a*s,n=a*c,r=o*s,i=o*c;t[0]=s*l,t[4]=i-e*u,t[8]=r*u+n,t[1]=u,t[5]=a*l,t[9]=-o*l,t[2]=-c*l,t[6]=n*u+r,t[10]=e-i*u}else if(e.order===`XZY`){let e=a*s,n=a*c,r=o*s,i=o*c;t[0]=s*l,t[4]=-u,t[8]=c*l,t[1]=e*u+i,t[5]=a*l,t[9]=n*u-r,t[2]=r*u-n,t[6]=o*l,t[10]=i*u+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Ri,e,zi)}lookAt(e,t,n){let r=this.elements;return Hi.subVectors(e,t),Hi.lengthSq()===0&&(Hi.z=1),Hi.normalize(),Bi.crossVectors(n,Hi),Bi.lengthSq()===0&&(Math.abs(n.z)===1?Hi.x+=1e-4:Hi.z+=1e-4,Hi.normalize(),Bi.crossVectors(n,Hi)),Bi.normalize(),Vi.crossVectors(Hi,Bi),r[0]=Bi.x,r[4]=Vi.x,r[8]=Hi.x,r[1]=Bi.y,r[5]=Vi.y,r[9]=Hi.y,r[2]=Bi.z,r[6]=Vi.z,r[10]=Hi.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[4],s=n[8],c=n[12],l=n[1],u=n[5],d=n[9],f=n[13],p=n[2],m=n[6],h=n[10],g=n[14],_=n[3],v=n[7],y=n[11],b=n[15],x=r[0],S=r[4],C=r[8],w=r[12],T=r[1],E=r[5],D=r[9],O=r[13],ee=r[2],te=r[6],ne=r[10],k=r[14],A=r[3],re=r[7],ie=r[11],ae=r[15];return i[0]=a*x+o*T+s*ee+c*A,i[4]=a*S+o*E+s*te+c*re,i[8]=a*C+o*D+s*ne+c*ie,i[12]=a*w+o*O+s*k+c*ae,i[1]=l*x+u*T+d*ee+f*A,i[5]=l*S+u*E+d*te+f*re,i[9]=l*C+u*D+d*ne+f*ie,i[13]=l*w+u*O+d*k+f*ae,i[2]=p*x+m*T+h*ee+g*A,i[6]=p*S+m*E+h*te+g*re,i[10]=p*C+m*D+h*ne+g*ie,i[14]=p*w+m*O+h*k+g*ae,i[3]=_*x+v*T+y*ee+b*A,i[7]=_*S+v*E+y*te+b*re,i[11]=_*C+v*D+y*ne+b*ie,i[15]=_*w+v*O+y*k+b*ae,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[4],r=e[8],i=e[12],a=e[1],o=e[5],s=e[9],c=e[13],l=e[2],u=e[6],d=e[10],f=e[14],p=e[3],m=e[7],h=e[11],g=e[15],_=s*f-c*d,v=o*f-c*u,y=o*d-s*u,b=a*f-c*l,x=a*d-s*l,S=a*u-o*l;return t*(m*_-h*v+g*y)-n*(p*_-h*b+g*x)+r*(p*v-m*b+g*S)-i*(p*y-m*x+h*S)}determinantAffine(){let e=this.elements,t=e[0],n=e[4],r=e[8],i=e[1],a=e[5],o=e[9],s=e[2],c=e[6],l=e[10];return t*(a*l-o*c)-n*(i*l-o*s)+r*(i*c-a*s)}transpose(){let e=this.elements,t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,n){let r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this}invert(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=e[9],d=e[10],f=e[11],p=e[12],m=e[13],h=e[14],g=e[15],_=t*o-n*a,v=t*s-r*a,y=t*c-i*a,b=n*s-r*o,x=n*c-i*o,S=r*c-i*s,C=l*m-u*p,w=l*h-d*p,T=l*g-f*p,E=u*h-d*m,D=u*g-f*m,O=d*g-f*h,ee=_*O-v*D+y*E+b*T-x*w+S*C;if(ee===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let te=1/ee;return e[0]=(o*O-s*D+c*E)*te,e[1]=(r*D-n*O-i*E)*te,e[2]=(m*S-h*x+g*b)*te,e[3]=(d*x-u*S-f*b)*te,e[4]=(s*T-a*O-c*w)*te,e[5]=(t*O-r*T+i*w)*te,e[6]=(h*y-p*S-g*v)*te,e[7]=(l*S-d*y+f*v)*te,e[8]=(a*D-o*T+c*C)*te,e[9]=(n*T-t*D-i*C)*te,e[10]=(p*x-m*y+g*_)*te,e[11]=(u*y-l*x-f*_)*te,e[12]=(o*w-a*E-s*C)*te,e[13]=(t*E-n*w+r*C)*te,e[14]=(m*v-p*b-h*_)*te,e[15]=(l*b-u*v+d*_)*te,this}scale(e){let t=this.elements,n=e.x,r=e.y,i=e.z;return t[0]*=n,t[4]*=r,t[8]*=i,t[1]*=n,t[5]*=r,t[9]*=i,t[2]*=n,t[6]*=r,t[10]*=i,t[3]*=n,t[7]*=r,t[11]*=i,this}getMaxScaleOnAxis(){let e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let n=Math.cos(t),r=Math.sin(t),i=1-n,a=e.x,o=e.y,s=e.z,c=i*a,l=i*o;return this.set(c*a+n,c*o-r*s,c*s+r*o,0,c*o+r*s,l*o+n,l*s-r*a,0,c*s-r*o,l*s+r*a,i*s*s+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,r,i,a){return this.set(1,n,i,0,e,1,a,0,t,r,1,0,0,0,0,1),this}compose(e,t,n){let r=this.elements,i=t._x,a=t._y,o=t._z,s=t._w,c=i+i,l=a+a,u=o+o,d=i*c,f=i*l,p=i*u,m=a*l,h=a*u,g=o*u,_=s*c,v=s*l,y=s*u,b=n.x,x=n.y,S=n.z;return r[0]=(1-(m+g))*b,r[1]=(f+y)*b,r[2]=(p-v)*b,r[3]=0,r[4]=(f-y)*x,r[5]=(1-(d+g))*x,r[6]=(h+_)*x,r[7]=0,r[8]=(p+v)*S,r[9]=(h-_)*S,r[10]=(1-(d+m))*S,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,n){let r=this.elements;e.x=r[12],e.y=r[13],e.z=r[14];let i=this.determinantAffine();if(i===0)return n.set(1,1,1),t.identity(),this;let a=Ii.set(r[0],r[1],r[2]).length(),o=Ii.set(r[4],r[5],r[6]).length(),s=Ii.set(r[8],r[9],r[10]).length();i<0&&(a=-a),Li.copy(this);let c=1/a,l=1/o,u=1/s;return Li.elements[0]*=c,Li.elements[1]*=c,Li.elements[2]*=c,Li.elements[4]*=l,Li.elements[5]*=l,Li.elements[6]*=l,Li.elements[8]*=u,Li.elements[9]*=u,Li.elements[10]*=u,t.setFromRotationMatrix(Li),n.x=a,n.y=o,n.z=s,this}makePerspective(e,t,n,r,i,a,o=pi,s=!1){let c=this.elements,l=2*i/(t-e),u=2*i/(n-r),d=(t+e)/(t-e),f=(n+r)/(n-r),p,m;if(s)p=i/(a-i),m=a*i/(a-i);else if(o===2e3)p=-(a+i)/(a-i),m=-2*a*i/(a-i);else if(o===2001)p=-a/(a-i),m=-a*i/(a-i);else throw Error(`THREE.Matrix4.makePerspective(): Invalid coordinate system: `+o);return c[0]=l,c[4]=0,c[8]=d,c[12]=0,c[1]=0,c[5]=u,c[9]=f,c[13]=0,c[2]=0,c[6]=0,c[10]=p,c[14]=m,c[3]=0,c[7]=0,c[11]=-1,c[15]=0,this}makeOrthographic(e,t,n,r,i,a,o=pi,s=!1){let c=this.elements,l=2/(t-e),u=2/(n-r),d=-(t+e)/(t-e),f=-(n+r)/(n-r),p,m;if(s)p=1/(a-i),m=a/(a-i);else if(o===2e3)p=-2/(a-i),m=-(a+i)/(a-i);else if(o===2001)p=-1/(a-i),m=-i/(a-i);else throw Error(`THREE.Matrix4.makeOrthographic(): Invalid coordinate system: `+o);return c[0]=l,c[4]=0,c[8]=0,c[12]=d,c[1]=0,c[5]=u,c[9]=0,c[13]=f,c[2]=0,c[6]=0,c[10]=p,c[14]=m,c[3]=0,c[7]=0,c[11]=0,c[15]=1,this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}};const Ii=new I,Li=new Fi,Ri=new I(0,0,0),zi=new I(1,1,1),Bi=new I,Vi=new I,Hi=new I,Ui=new Fi,Wi=new Quaternion;var Gi=class Euler{constructor(e=0,t=0,n=0,r=Euler.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,r=this._order){return this._x=e,this._y=t,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){let r=e.elements,i=r[0],a=r[4],o=r[8],s=r[1],c=r[5],l=r[9],u=r[2],d=r[6],f=r[10];switch(t){case`XYZ`:this._y=Math.asin(clamp(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-l,f),this._z=Math.atan2(-a,i)):(this._x=Math.atan2(d,c),this._z=0);break;case`YXZ`:this._x=Math.asin(-clamp(l,-1,1)),Math.abs(l)<.9999999?(this._y=Math.atan2(o,f),this._z=Math.atan2(s,c)):(this._y=Math.atan2(-u,i),this._z=0);break;case`ZXY`:this._x=Math.asin(clamp(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-u,f),this._z=Math.atan2(-a,c)):(this._y=0,this._z=Math.atan2(s,i));break;case`ZYX`:this._y=Math.asin(-clamp(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(d,f),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-a,c));break;case`YZX`:this._z=Math.asin(clamp(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-l,c),this._y=Math.atan2(-u,i)):(this._x=0,this._y=Math.atan2(o,f));break;case`XZY`:this._z=Math.asin(-clamp(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(o,i)):(this._x=Math.atan2(-l,f),this._y=0);break;default:warn(`Euler: .setFromRotationMatrix() encountered an unknown order: `+t)}return this._order=t,n===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return Ui.makeRotationFromQuaternion(e),this.setFromRotationMatrix(Ui,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Wi.setFromEuler(this),this.setFromQuaternion(Wi,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}};Gi.DEFAULT_ORDER=`XYZ`;var Layers=class{constructor(){this.mask=1}set(e){this.mask=(1<<e|0)>>>0}enable(e){this.mask|=1<<e|0}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e|0}disable(e){this.mask&=~(1<<e|0)}disableAll(){this.mask=0}test(e){return(this.mask&e.mask)!==0}isEnabled(e){return(this.mask&(1<<e|0))!=0}};let Ki=0;const qi=new I,Ji=new Quaternion,Yi=new Fi,Xi=new I,Zi=new I,Qi=new I,$i=new Quaternion,ea=new I(1,0,0),ta=new I(0,1,0),na=new I(0,0,1),ra={type:`added`},ia={type:`removed`},aa={type:`childadded`,child:null},oa={type:`childremoved`,child:null};var sa=class Object3D extends EventDispatcher{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:Ki++}),this.uuid=generateUUID(),this.name=``,this.type=`Object3D`,this.parent=null,this.children=[],this.up=Object3D.DEFAULT_UP.clone();let e=new I,t=new Gi,n=new Quaternion,r=new I(1,1,1);function onRotationChange(){n.setFromEuler(t,!1)}function onQuaternionChange(){t.setFromQuaternion(n,void 0,!1)}t._onChange(onRotationChange),n._onChange(onQuaternionChange),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new Fi},normalMatrix:{value:new wi}}),this.matrix=new Fi,this.matrixWorld=new Fi,this.matrixAutoUpdate=Object3D.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new Layers,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.static=!1,this.userData={},this.pivot=null}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return Ji.setFromAxisAngle(e,t),this.quaternion.multiply(Ji),this}rotateOnWorldAxis(e,t){return Ji.setFromAxisAngle(e,t),this.quaternion.premultiply(Ji),this}rotateX(e){return this.rotateOnAxis(ea,e)}rotateY(e){return this.rotateOnAxis(ta,e)}rotateZ(e){return this.rotateOnAxis(na,e)}translateOnAxis(e,t){return qi.copy(e).applyQuaternion(this.quaternion),this.position.add(qi.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(ea,e)}translateY(e){return this.translateOnAxis(ta,e)}translateZ(e){return this.translateOnAxis(na,e)}localToWorld(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(Yi.copy(this.matrixWorld).invert())}lookAt(e,t,n){e.isVector3?Xi.copy(e):Xi.set(e,t,n);let r=this.parent;this.updateWorldMatrix(!0,!1),Zi.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Yi.lookAt(Zi,Xi,this.up):Yi.lookAt(Xi,Zi,this.up),this.quaternion.setFromRotationMatrix(Yi),r&&(Yi.extractRotation(r.matrixWorld),Ji.setFromRotationMatrix(Yi),this.quaternion.premultiply(Ji.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(error(`Object3D.add: object can't be added as a child of itself.`,e),this):(e&&e.isObject3D?(e.removeFromParent(),e.parent=this,this.children.push(e),e.dispatchEvent(ra),aa.child=e,this.dispatchEvent(aa),aa.child=null):error(`Object3D.add: object not an instance of THREE.Object3D.`,e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}let t=this.children.indexOf(e);return t!==-1&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(ia),oa.child=e,this.dispatchEvent(oa),oa.child=null),this}removeFromParent(){let e=this.parent;return e!==null&&e.remove(this),this}clear(){return this.remove(...this.children)}attach(e){return this.updateWorldMatrix(!0,!1),Yi.copy(this.matrixWorld).invert(),e.parent!==null&&(e.parent.updateWorldMatrix(!0,!1),Yi.multiply(e.parent.matrixWorld)),e.applyMatrix4(Yi),e.removeFromParent(),e.parent=this,this.children.push(e),e.updateWorldMatrix(!1,!0),e.dispatchEvent(ra),aa.child=e,this.dispatchEvent(aa),aa.child=null,this}getObjectById(e){return this.getObjectByProperty(`id`,e)}getObjectByName(e){return this.getObjectByProperty(`name`,e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n].getObjectByProperty(e,t);if(r!==void 0)return r}}getObjectsByProperty(e,t,n=[]){this[e]===t&&n.push(this);let r=this.children;for(let i=0,a=r.length;i<a;i++)r[i].getObjectsByProperty(e,t,n);return n}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Zi,e,Qi),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Zi,$i,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);let t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverse(e)}traverseVisible(e){if(this.visible===!1)return;e(this);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverseVisible(e)}traverseAncestors(e){let t=this.parent;t!==null&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale);let e=this.pivot;if(e!==null){let t=e.x,n=e.y,r=e.z,i=this.matrix.elements;i[12]+=t-i[0]*t-i[4]*n-i[8]*r,i[13]+=n-i[1]*t-i[5]*n-i[9]*r,i[14]+=r-i[2]*t-i[6]*n-i[10]*r}this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,e=!0);let t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].updateMatrixWorld(e)}updateWorldMatrix(e,t,n=!1){let r=this.parent;if(e===!0&&r!==null&&r.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||n)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,n=!0),t===!0){let e=this.children;for(let t=0,r=e.length;t<r;t++)e[t].updateWorldMatrix(!1,!0,n)}}toJSON(e){let t=e===void 0||typeof e==`string`,n={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.7,type:`Object`,generator:`Object3D.toJSON`});let r={};r.uuid=this.uuid,r.type=this.type,this.name!==``&&(r.name=this.name),this.castShadow===!0&&(r.castShadow=!0),this.receiveShadow===!0&&(r.receiveShadow=!0),this.visible===!1&&(r.visible=!1),this.frustumCulled===!1&&(r.frustumCulled=!1),this.renderOrder!==0&&(r.renderOrder=this.renderOrder),this.static!==!1&&(r.static=this.static),Object.keys(this.userData).length>0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.pivot!==null&&(r.pivot=this.pivot.toArray()),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.morphTargetDictionary!==void 0&&(r.morphTargetDictionary=Object.assign({},this.morphTargetDictionary)),this.morphTargetInfluences!==void 0&&(r.morphTargetInfluences=this.morphTargetInfluences.slice()),this.isInstancedMesh&&(r.type=`InstancedMesh`,r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type=`BatchedMesh`,r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.geometryInfo=this._geometryInfo.map(e=>({...e,boundingBox:e.boundingBox?e.boundingBox.toJSON():void 0,boundingSphere:e.boundingSphere?e.boundingSphere.toJSON():void 0})),r.instanceInfo=this._instanceInfo.map(e=>({...e})),r.availableInstanceIds=this._availableInstanceIds.slice(),r.availableGeometryIds=this._availableGeometryIds.slice(),r.nextIndexStart=this._nextIndexStart,r.nextVertexStart=this._nextVertexStart,r.geometryCount=this._geometryCount,r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.matricesTexture=this._matricesTexture.toJSON(e),r.indirectTexture=this._indirectTexture.toJSON(e),this._colorsTexture!==null&&(r.colorsTexture=this._colorsTexture.toJSON(e)),this.boundingSphere!==null&&(r.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(r.boundingBox=this.boundingBox.toJSON()));function serialize(t,n){return t[n.uuid]===void 0&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=serialize(e.geometries,this.geometry);let t=this.geometry.parameters;if(t!==void 0&&t.shapes!==void 0){let n=t.shapes;if(Array.isArray(n))for(let t=0,r=n.length;t<r;t++){let r=n[t];serialize(e.shapes,r)}else serialize(e.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(serialize(e.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){let t=[];for(let n=0,r=this.material.length;n<r;n++)t.push(serialize(e.materials,this.material[n]));r.material=t}else r.material=serialize(e.materials,this.material);if(this.children.length>0){r.children=[];for(let t=0;t<this.children.length;t++)r.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){r.animations=[];for(let t=0;t<this.animations.length;t++){let n=this.animations[t];r.animations.push(serialize(e.animations,n))}}if(t){let t=extractFromCache(e.geometries),r=extractFromCache(e.materials),i=extractFromCache(e.textures),a=extractFromCache(e.images),o=extractFromCache(e.shapes),s=extractFromCache(e.skeletons),c=extractFromCache(e.animations),l=extractFromCache(e.nodes);t.length>0&&(n.geometries=t),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),a.length>0&&(n.images=a),o.length>0&&(n.shapes=o),s.length>0&&(n.skeletons=s),c.length>0&&(n.animations=c),l.length>0&&(n.nodes=l)}return n.object=r,n;function extractFromCache(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.pivot=e.pivot===null?null:e.pivot.clone(),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.static=e.static,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let t=0;t<e.children.length;t++){let n=e.children[t];this.add(n.clone())}return this}};sa.DEFAULT_UP=new I(0,1,0),sa.DEFAULT_MATRIX_AUTO_UPDATE=!0,sa.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;var Group=class extends sa{constructor(){super(),this.isGroup=!0,this.type=`Group`}};const ca={type:`move`};var WebXRController=class{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Group,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Group,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new I,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new I),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Group,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new I,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new I,this._grip.eventsEnabled=!1),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){let t=this._hand;if(t)for(let n of e.hand.values())this._getHandJoint(t,n)}return this.dispatchEvent({type:`connected`,data:e}),this}disconnect(e){return this.dispatchEvent({type:`disconnected`,data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,n){let r=null,i=null,a=null,o=this._targetRay,s=this._grip,c=this._hand;if(e&&t.session.visibilityState!==`visible-blurred`){if(c&&e.hand){a=!0;for(let r of e.hand.values()){let e=t.getJointPose(r,n),i=this._getHandJoint(c,r);e!==null&&(i.matrix.fromArray(e.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.matrixWorldNeedsUpdate=!0,i.jointRadius=e.radius),i.visible=e!==null}let r=c.joints[`index-finger-tip`],i=c.joints[`thumb-tip`],o=r.position.distanceTo(i.position);c.inputState.pinching&&o>.025?(c.inputState.pinching=!1,this.dispatchEvent({type:`pinchend`,handedness:e.handedness,target:this})):!c.inputState.pinching&&o<=.015&&(c.inputState.pinching=!0,this.dispatchEvent({type:`pinchstart`,handedness:e.handedness,target:this}))}else s!==null&&e.gripSpace&&(i=t.getPose(e.gripSpace,n),i!==null&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,s.eventsEnabled&&s.dispatchEvent({type:`gripUpdated`,data:e,target:this})));o!==null&&(r=t.getPose(e.targetRaySpace,n),r===null&&i!==null&&(r=i),r!==null&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(ca)))}return o!==null&&(o.visible=r!==null),s!==null&&(s.visible=i!==null),c!==null&&(c.visible=a!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){let n=new Group;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}};const la={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ua={h:0,s:0,l:0},da={h:0,s:0,l:0};function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*6*(2/3-n):e}var Color=class{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){if(t===void 0&&n===void 0){let t=e;t&&t.isColor?this.copy(t):typeof t==`number`?this.setHex(t):typeof t==`string`&&this.setStyle(t)}else this.setRGB(e,t,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=ci){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Oi.colorSpaceToWorking(this,t),this}setRGB(e,t,n,r=Oi.workingColorSpace){return this.r=e,this.g=t,this.b=n,Oi.colorSpaceToWorking(this,r),this}setHSL(e,t,n,r=Oi.workingColorSpace){if(e=euclideanModulo(e,1),t=clamp(t,0,1),n=clamp(n,0,1),t===0)this.r=this.g=this.b=n;else{let r=n<=.5?n*(1+t):n+t-n*t,i=2*n-r;this.r=hue2rgb(i,r,e+1/3),this.g=hue2rgb(i,r,e),this.b=hue2rgb(i,r,e-1/3)}return Oi.colorSpaceToWorking(this,r),this}setStyle(e,t=ci){function handleAlpha(t){t!==void 0&&parseFloat(t)<1&&warn(`Color: Alpha component of `+e+` will be ignored.`)}let n;if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let r,i=n[1],a=n[2];switch(i){case`rgb`:case`rgba`:if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case`hsl`:case`hsla`:if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return handleAlpha(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:warn(`Color: Unknown color model `+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){let r=n[1],i=r.length;if(i===3)return this.setRGB(parseInt(r.charAt(0),16)/15,parseInt(r.charAt(1),16)/15,parseInt(r.charAt(2),16)/15,t);if(i===6)return this.setHex(parseInt(r,16),t);warn(`Color: Invalid hex color `+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=ci){let n=la[e.toLowerCase()];return n===void 0?warn(`Color: Unknown color `+e):this.setHex(n,t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=SRGBToLinear(e.r),this.g=SRGBToLinear(e.g),this.b=SRGBToLinear(e.b),this}copyLinearToSRGB(e){return this.r=LinearToSRGB(e.r),this.g=LinearToSRGB(e.g),this.b=LinearToSRGB(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=ci){return Oi.workingToColorSpace(fa.copy(this),e),Math.round(clamp(fa.r*255,0,255))*65536+Math.round(clamp(fa.g*255,0,255))*256+Math.round(clamp(fa.b*255,0,255))}getHexString(e=ci){return(`000000`+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Oi.workingColorSpace){Oi.workingToColorSpace(fa.copy(this),t);let n=fa.r,r=fa.g,i=fa.b,a=Math.max(n,r,i),o=Math.min(n,r,i),s,c,l=(o+a)/2;if(o===a)s=0,c=0;else{let e=a-o;switch(c=l<=.5?e/(a+o):e/(2-a-o),a){case n:s=(r-i)/e+(r<i?6:0);break;case r:s=(i-n)/e+2;break;case i:s=(n-r)/e+4;break}s/=6}return e.h=s,e.s=c,e.l=l,e}getRGB(e,t=Oi.workingColorSpace){return Oi.workingToColorSpace(fa.copy(this),t),e.r=fa.r,e.g=fa.g,e.b=fa.b,e}getStyle(e=ci){Oi.workingToColorSpace(fa.copy(this),e);let t=fa.r,n=fa.g,r=fa.b;return e===`srgb`?`rgb(${Math.round(t*255)},${Math.round(n*255)},${Math.round(r*255)})`:`color(${e} ${t.toFixed(3)} ${n.toFixed(3)} ${r.toFixed(3)})`}offsetHSL(e,t,n){return this.getHSL(ua),this.setHSL(ua.h+e,ua.s+t,ua.l+n)}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,n){return this.r=e.r+(t.r-e.r)*n,this.g=e.g+(t.g-e.g)*n,this.b=e.b+(t.b-e.b)*n,this}lerpHSL(e,t){this.getHSL(ua),e.getHSL(da);let n=lerp(ua.h,da.h,t),r=lerp(ua.s,da.s,t),i=lerp(ua.l,da.l,t);return this.setHSL(n,r,i),this}setFromVector3(e){return this.r=e.x,this.g=e.y,this.b=e.z,this}applyMatrix3(e){let t=this.r,n=this.g,r=this.b,i=e.elements;return this.r=i[0]*t+i[3]*n+i[6]*r,this.g=i[1]*t+i[4]*n+i[7]*r,this.b=i[2]*t+i[5]*n+i[8]*r,this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}};const fa=new Color;Color.NAMES=la;var Scene=class extends sa{constructor(){super(),this.isScene=!0,this.type=`Scene`,this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new Gi,this.environmentIntensity=1,this.environmentRotation=new Gi,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}};const pa=new I,ma=new I,ha=new I,ga=new I,_a=new I,va=new I,ya=new I,ba=new I,xa=new I,Sa=new I,Ca=new Pi,wa=new Pi,Ta=new Pi;var Ea=class Triangle{constructor(e=new I,t=new I,n=new I){this.a=e,this.b=t,this.c=n}static getNormal(e,t,n,r){r.subVectors(n,t),pa.subVectors(e,t),r.cross(pa);let i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(e,t,n,r,i){pa.subVectors(r,t),ma.subVectors(n,t),ha.subVectors(e,t);let a=pa.dot(pa),o=pa.dot(ma),s=pa.dot(ha),c=ma.dot(ma),l=ma.dot(ha),u=a*c-o*o;if(u===0)return i.set(0,0,0),null;let d=1/u,f=(c*s-o*l)*d,p=(a*l-o*s)*d;return i.set(1-f-p,p,f)}static containsPoint(e,t,n,r){return this.getBarycoord(e,t,n,r,ga)===null?!1:ga.x>=0&&ga.y>=0&&ga.x+ga.y<=1}static getInterpolation(e,t,n,r,i,a,o,s){return this.getBarycoord(e,t,n,r,ga)===null?(s.x=0,s.y=0,`z`in s&&(s.z=0),`w`in s&&(s.w=0),null):(s.setScalar(0),s.addScaledVector(i,ga.x),s.addScaledVector(a,ga.y),s.addScaledVector(o,ga.z),s)}static getInterpolatedAttribute(e,t,n,r,i,a){return Ca.setScalar(0),wa.setScalar(0),Ta.setScalar(0),Ca.fromBufferAttribute(e,t),wa.fromBufferAttribute(e,n),Ta.fromBufferAttribute(e,r),a.setScalar(0),a.addScaledVector(Ca,i.x),a.addScaledVector(wa,i.y),a.addScaledVector(Ta,i.z),a}static isFrontFacing(e,t,n,r){return pa.subVectors(n,t),ma.subVectors(e,t),pa.cross(ma).dot(r)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,n,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,r),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return pa.subVectors(this.c,this.b),ma.subVectors(this.a,this.b),pa.cross(ma).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Triangle.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Triangle.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,r,i){return Triangle.getInterpolation(e,this.a,this.b,this.c,t,n,r,i)}containsPoint(e){return Triangle.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Triangle.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n=this.a,r=this.b,i=this.c,a,o;_a.subVectors(r,n),va.subVectors(i,n),ba.subVectors(e,n);let s=_a.dot(ba),c=va.dot(ba);if(s<=0&&c<=0)return t.copy(n);xa.subVectors(e,r);let l=_a.dot(xa),u=va.dot(xa);if(l>=0&&u<=l)return t.copy(r);let d=s*u-l*c;if(d<=0&&s>=0&&l<=0)return a=s/(s-l),t.copy(n).addScaledVector(_a,a);Sa.subVectors(e,i);let f=_a.dot(Sa),p=va.dot(Sa);if(p>=0&&f<=p)return t.copy(i);let m=f*c-s*p;if(m<=0&&c>=0&&p<=0)return o=c/(c-p),t.copy(n).addScaledVector(va,o);let h=l*p-f*u;if(h<=0&&u-l>=0&&f-p>=0)return ya.subVectors(i,r),o=(u-l)/(u-l+(f-p)),t.copy(r).addScaledVector(ya,o);let g=1/(h+m+d);return a=m*g,o=d*g,t.copy(n).addScaledVector(_a,a).addScaledVector(va,o)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}},Box3=class{constructor(e=new I(1/0,1/0,1/0),t=new I(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t+=3)this.expandByPoint(Oa.fromArray(e,t));return this}setFromBufferAttribute(e){this.makeEmpty();for(let t=0,n=e.count;t<n;t++)this.expandByPoint(Oa.fromBufferAttribute(e,t));return this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){let n=Oa.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}setFromObject(e,t=!1){return this.makeEmpty(),this.expandByObject(e,t)}clone(){return new this.constructor().copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e,t=!1){e.updateWorldMatrix(!1,!1);let n=e.geometry;if(n!==void 0){let r=n.getAttribute(`position`);if(t===!0&&r!==void 0&&e.isInstancedMesh!==!0)for(let t=0,n=r.count;t<n;t++)e.isMesh===!0?e.getVertexPosition(t,Oa):Oa.fromBufferAttribute(r,t),Oa.applyMatrix4(e.matrixWorld),this.expandByPoint(Oa);else e.boundingBox===void 0?(n.boundingBox===null&&n.computeBoundingBox(),ka.copy(n.boundingBox)):(e.boundingBox===null&&e.computeBoundingBox(),ka.copy(e.boundingBox)),ka.applyMatrix4(e.matrixWorld),this.union(ka)}let r=e.children;for(let e=0,n=r.length;e<n;e++)this.expandByObject(r[e],t);return this}containsPoint(e){return e.x>=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,Oa),Oa.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Ia),La.subVectors(this.max,Ia),Aa.subVectors(e.a,Ia),ja.subVectors(e.b,Ia),Ma.subVectors(e.c,Ia),Na.subVectors(ja,Aa),Pa.subVectors(Ma,ja),Fa.subVectors(Aa,Ma);let t=[0,-Na.z,Na.y,0,-Pa.z,Pa.y,0,-Fa.z,Fa.y,Na.z,0,-Na.x,Pa.z,0,-Pa.x,Fa.z,0,-Fa.x,-Na.y,Na.x,0,-Pa.y,Pa.x,0,-Fa.y,Fa.x,0];return!satForAxes(t,Aa,ja,Ma,La)||(t=[1,0,0,0,1,0,0,0,1],!satForAxes(t,Aa,ja,Ma,La))?!1:(Ra.crossVectors(Na,Pa),t=[Ra.x,Ra.y,Ra.z],satForAxes(t,Aa,ja,Ma,La))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Oa).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(Oa).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(Da[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Da[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Da[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Da[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Da[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Da[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Da[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Da[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Da),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(e){return this.min.fromArray(e.min),this.max.fromArray(e.max),this}};const Da=[new I,new I,new I,new I,new I,new I,new I,new I],Oa=new I,ka=new Box3,Aa=new I,ja=new I,Ma=new I,Na=new I,Pa=new I,Fa=new I,Ia=new I,La=new I,Ra=new I,za=new I;function satForAxes(e,t,n,r,i){for(let a=0,o=e.length-3;a<=o;a+=3){za.fromArray(e,a);let o=i.x*Math.abs(za.x)+i.y*Math.abs(za.y)+i.z*Math.abs(za.z),s=t.dot(za),c=n.dot(za),l=r.dot(za);if(Math.max(-Math.max(s,c,l),Math.min(s,c,l))>o)return!1}return!0}const Ba=new I,Va=new xi;let Ha=0;var BufferAttribute=class extends EventDispatcher{constructor(e,t,n=!1){if(super(),Array.isArray(e))throw TypeError(`THREE.BufferAttribute: array should be a Typed Array.`);this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:Ha++}),this.name=``,this.array=e,this.itemSize=t,this.count=e===void 0?0:e.length/t,this.normalized=n,this.usage=35044,this.updateRanges=[],this.gpuType=Ur,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[e+r]=t.array[n+r];return this}copyArray(e){return this.array.set(e),this}applyMatrix3(e){if(this.itemSize===2)for(let t=0,n=this.count;t<n;t++)Va.fromBufferAttribute(this,t),Va.applyMatrix3(e),this.setXY(t,Va.x,Va.y);else if(this.itemSize===3)for(let t=0,n=this.count;t<n;t++)Ba.fromBufferAttribute(this,t),Ba.applyMatrix3(e),this.setXYZ(t,Ba.x,Ba.y,Ba.z);return this}applyMatrix4(e){for(let t=0,n=this.count;t<n;t++)Ba.fromBufferAttribute(this,t),Ba.applyMatrix4(e),this.setXYZ(t,Ba.x,Ba.y,Ba.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)Ba.fromBufferAttribute(this,t),Ba.applyNormalMatrix(e),this.setXYZ(t,Ba.x,Ba.y,Ba.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)Ba.fromBufferAttribute(this,t),Ba.transformDirection(e),this.setXYZ(t,Ba.x,Ba.y,Ba.z);return this}set(e,t=0){return this.array.set(e,t),this}getComponent(e,t){let n=this.array[e*this.itemSize+t];return this.normalized&&(n=denormalize(n,this.array)),n}setComponent(e,t,n){return this.normalized&&(n=normalize(n,this.array)),this.array[e*this.itemSize+t]=n,this}getX(e){let t=this.array[e*this.itemSize];return this.normalized&&(t=denormalize(t,this.array)),t}setX(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize]=t,this}getY(e){let t=this.array[e*this.itemSize+1];return this.normalized&&(t=denormalize(t,this.array)),t}setY(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+1]=t,this}getZ(e){let t=this.array[e*this.itemSize+2];return this.normalized&&(t=denormalize(t,this.array)),t}setZ(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+2]=t,this}getW(e){let t=this.array[e*this.itemSize+3];return this.normalized&&(t=denormalize(t,this.array)),t}setW(e,t){return this.normalized&&(t=normalize(t,this.array)),this.array[e*this.itemSize+3]=t,this}setXY(e,t,n){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array)),this.array[e+0]=t,this.array[e+1]=n,this}setXYZ(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array),r=normalize(r,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=normalize(t,this.array),n=normalize(n,this.array),r=normalize(r,this.array),i=normalize(i,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this.array[e+3]=i,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){let e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return this.name!==``&&(e.name=this.name),this.usage!==35044&&(e.usage=this.usage),e}dispose(){this.dispatchEvent({type:`dispose`})}},Uint16BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Uint16Array(e),t,n)}},Uint32BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Uint32Array(e),t,n)}},Float32BufferAttribute=class extends BufferAttribute{constructor(e,t,n){super(new Float32Array(e),t,n)}};const Ua=new Box3,Wa=new I,Ga=new I;var Sphere=class{constructor(e=new I,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let n=this.center;t===void 0?Ua.setFromPoints(e).getCenter(n):n.copy(t);let r=0;for(let t=0,i=e.length;t<i;t++)r=Math.max(r,n.distanceToSquared(e[t]));return this.radius=Math.sqrt(r),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){let t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){let n=this.center.distanceToSquared(e);return t.copy(e),n>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius*=e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Wa.subVectors(e,this.center);let t=Wa.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(Wa,n/e),this.radius+=n}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Ga.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Wa.copy(e.center).add(Ga)),this.expandByPoint(Wa.copy(e.center).sub(Ga))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(e){return this.radius=e.radius,this.center.fromArray(e.center),this}};let Ka=0;const qa=new Fi,Ja=new sa,Ya=new I,Xa=new Box3,Za=new Box3,Qa=new I;var $a=class BufferGeometry extends EventDispatcher{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Ka++}),this.uuid=generateUUID(),this.name=``,this.type=`BufferGeometry`,this.index=null,this.indirect=null,this.indirectOffset=0,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={},this._transformed=!1}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(arrayNeedsUint32(e)?Uint32BufferAttribute:Uint16BufferAttribute)(e,1):this.index=e,this}setIndirect(e,t=0){return this.indirect=e,this.indirectOffset=t,this}getIndirect(){return this.indirect}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return this.attributes[e]!==void 0}addGroup(e,t,n=0){this.groups.push({start:e,count:t,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){let t=this.attributes.position;t!==void 0&&(t.applyMatrix4(e),t.needsUpdate=!0);let n=this.attributes.normal;if(n!==void 0){let t=new wi().getNormalMatrix(e);n.applyNormalMatrix(t),n.needsUpdate=!0}let r=this.attributes.tangent;return r!==void 0&&(r.transformDirection(e),r.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this._transformed=!0,this}applyQuaternion(e){return qa.makeRotationFromQuaternion(e),this.applyMatrix4(qa),this}rotateX(e){return qa.makeRotationX(e),this.applyMatrix4(qa),this}rotateY(e){return qa.makeRotationY(e),this.applyMatrix4(qa),this}rotateZ(e){return qa.makeRotationZ(e),this.applyMatrix4(qa),this}translate(e,t,n){return qa.makeTranslation(e,t,n),this.applyMatrix4(qa),this}scale(e,t,n){return qa.makeScale(e,t,n),this.applyMatrix4(qa),this}lookAt(e){return Ja.lookAt(e),Ja.updateMatrix(),this.applyMatrix4(Ja.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Ya).negate(),this.translate(Ya.x,Ya.y,Ya.z),this}setFromPoints(e){let t=this.getAttribute(`position`);if(t===void 0){let t=[];for(let n=0,r=e.length;n<r;n++){let r=e[n];t.push(r.x,r.y,r.z||0)}this.setAttribute(`position`,new Float32BufferAttribute(t,3))}else{let n=Math.min(e.length,t.count);for(let r=0;r<n;r++){let n=e[r];t.setXYZ(r,n.x,n.y,n.z||0)}e.length>t.count&&warn(`BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry.`),t.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new Box3);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){error(`BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.`,this),this.boundingBox.set(new I(-1/0,-1/0,-1/0),new I(1/0,1/0,1/0));return}if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){let n=t[e];Xa.setFromBufferAttribute(n),this.morphTargetsRelative?(Qa.addVectors(this.boundingBox.min,Xa.min),this.boundingBox.expandByPoint(Qa),Qa.addVectors(this.boundingBox.max,Xa.max),this.boundingBox.expandByPoint(Qa)):(this.boundingBox.expandByPoint(Xa.min),this.boundingBox.expandByPoint(Xa.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&error(`BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.`,this)}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new Sphere);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){error(`BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.`,this),this.boundingSphere.set(new I,1/0);return}if(e){let n=this.boundingSphere.center;if(Xa.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){let n=t[e];Za.setFromBufferAttribute(n),this.morphTargetsRelative?(Qa.addVectors(Xa.min,Za.min),Xa.expandByPoint(Qa),Qa.addVectors(Xa.max,Za.max),Xa.expandByPoint(Qa)):(Xa.expandByPoint(Za.min),Xa.expandByPoint(Za.max))}Xa.getCenter(n);let r=0;for(let t=0,i=e.count;t<i;t++)Qa.fromBufferAttribute(e,t),r=Math.max(r,n.distanceToSquared(Qa));if(t)for(let i=0,a=t.length;i<a;i++){let a=t[i],o=this.morphTargetsRelative;for(let t=0,i=a.count;t<i;t++)Qa.fromBufferAttribute(a,t),o&&(Ya.fromBufferAttribute(e,t),Qa.add(Ya)),r=Math.max(r,n.distanceToSquared(Qa))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&error(`BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.`,this)}}computeTangents(){let e=this.index,t=this.attributes;if(e===null||t.position===void 0||t.normal===void 0||t.uv===void 0){error(`BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)`);return}let n=t.position,r=t.normal,i=t.uv,a=this.getAttribute(`tangent`);(a===void 0||a.count!==n.count)&&(a=new BufferAttribute(new Float32Array(4*n.count),4),this.setAttribute(`tangent`,a));let o=[],s=[];for(let e=0;e<n.count;e++)o[e]=new I,s[e]=new I;let c=new I,l=new I,u=new I,d=new xi,f=new xi,p=new xi,m=new I,h=new I;function handleTriangle(e,t,r){c.fromBufferAttribute(n,e),l.fromBufferAttribute(n,t),u.fromBufferAttribute(n,r),d.fromBufferAttribute(i,e),f.fromBufferAttribute(i,t),p.fromBufferAttribute(i,r),l.sub(c),u.sub(c),f.sub(d),p.sub(d);let a=1/(f.x*p.y-p.x*f.y);isFinite(a)&&(m.copy(l).multiplyScalar(p.y).addScaledVector(u,-f.y).multiplyScalar(a),h.copy(u).multiplyScalar(f.x).addScaledVector(l,-p.x).multiplyScalar(a),o[e].add(m),o[t].add(m),o[r].add(m),s[e].add(h),s[t].add(h),s[r].add(h))}let g=this.groups;g.length===0&&(g=[{start:0,count:e.count}]);for(let t=0,n=g.length;t<n;++t){let n=g[t],r=n.start,i=n.count;for(let t=r,n=r+i;t<n;t+=3)handleTriangle(e.getX(t+0),e.getX(t+1),e.getX(t+2))}let _=new I,v=new I,y=new I,b=new I;function handleVertex(e){y.fromBufferAttribute(r,e),b.copy(y);let t=o[e];_.copy(t),_.sub(y.multiplyScalar(y.dot(t))).normalize(),v.crossVectors(b,t);let n=v.dot(s[e])<0?-1:1;a.setXYZW(e,_.x,_.y,_.z,n)}for(let t=0,n=g.length;t<n;++t){let n=g[t],r=n.start,i=n.count;for(let t=r,n=r+i;t<n;t+=3)handleVertex(e.getX(t+0)),handleVertex(e.getX(t+1)),handleVertex(e.getX(t+2))}this._transformed=!0}computeVertexNormals(){let e=this.index,t=this.getAttribute(`position`);if(t!==void 0){let n=this.getAttribute(`normal`);if(n===void 0||n.count!==t.count)n=new BufferAttribute(new Float32Array(t.count*3),3),this.setAttribute(`normal`,n);else for(let e=0,t=n.count;e<t;e++)n.setXYZ(e,0,0,0);let r=new I,i=new I,a=new I,o=new I,s=new I,c=new I,l=new I,u=new I;if(e)for(let d=0,f=e.count;d<f;d+=3){let f=e.getX(d+0),p=e.getX(d+1),m=e.getX(d+2);r.fromBufferAttribute(t,f),i.fromBufferAttribute(t,p),a.fromBufferAttribute(t,m),l.subVectors(a,i),u.subVectors(r,i),l.cross(u),o.fromBufferAttribute(n,f),s.fromBufferAttribute(n,p),c.fromBufferAttribute(n,m),o.add(l),s.add(l),c.add(l),n.setXYZ(f,o.x,o.y,o.z),n.setXYZ(p,s.x,s.y,s.z),n.setXYZ(m,c.x,c.y,c.z)}else for(let e=0,o=t.count;e<o;e+=3)r.fromBufferAttribute(t,e+0),i.fromBufferAttribute(t,e+1),a.fromBufferAttribute(t,e+2),l.subVectors(a,i),u.subVectors(r,i),l.cross(u),n.setXYZ(e+0,l.x,l.y,l.z),n.setXYZ(e+1,l.x,l.y,l.z),n.setXYZ(e+2,l.x,l.y,l.z);this.normalizeNormals(),n.needsUpdate=!0}}normalizeNormals(){let e=this.attributes.normal;for(let t=0,n=e.count;t<n;t++)Qa.fromBufferAttribute(e,t),Qa.normalize(),e.setXYZ(t,Qa.x,Qa.y,Qa.z)}toNonIndexed(){function convertBufferAttribute(e,t){let n=e.array,r=e.itemSize,i=e.normalized,a=new n.constructor(t.length*r),o=0,s=0;for(let i=0,c=t.length;i<c;i++){o=e.isInterleavedBufferAttribute?t[i]*e.data.stride+e.offset:t[i]*r;for(let e=0;e<r;e++)a[s++]=n[o++]}return new BufferAttribute(a,r,i)}if(this.index===null)return warn(`BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.`),this;let e=new BufferGeometry,t=this.index.array,n=this.attributes;for(let r in n){let i=n[r],a=convertBufferAttribute(i,t);e.setAttribute(r,a)}let r=this.morphAttributes;for(let n in r){let i=[],a=r[n];for(let e=0,n=a.length;e<n;e++){let n=a[e],r=convertBufferAttribute(n,t);i.push(r)}e.morphAttributes[n]=i}e.morphTargetsRelative=this.morphTargetsRelative;let i=this.groups;for(let t=0,n=i.length;t<n;t++){let n=i[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){let e={metadata:{version:4.7,type:`BufferGeometry`,generator:`BufferGeometry.toJSON`}};if(e.uuid=this.uuid,e.type=this.parameters!==void 0&&this._transformed===!0?`BufferGeometry`:this.type,this.name!==``&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),this.parameters!==void 0&&this._transformed!==!0){let t=this.parameters;for(let n in t)t[n]!==void 0&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let r=n[t];e.data.attributes[t]=r.toJSON(e.data)}let r={},i=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,r=n.length;t<r;t++){let r=n[t];a.push(r.toJSON(e.data))}a.length>0&&(r[t]=a,i=!0)}i&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let o=this.boundingSphere;return o!==null&&(e.data.boundingSphere=o.toJSON()),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;n!==null&&this.setIndex(n.clone());let r=e.attributes;for(let e in r){let n=r[e];this.setAttribute(e,n.clone(t))}let i=e.morphAttributes;for(let e in i){let n=[],r=i[e];for(let e=0,i=r.length;e<i;e++)n.push(r[e].clone(t));this.morphAttributes[e]=n}this.morphTargetsRelative=e.morphTargetsRelative;let a=e.groups;for(let e=0,t=a.length;e<t;e++){let t=a[e];this.addGroup(t.start,t.count,t.materialIndex)}let o=e.boundingBox;o!==null&&(this.boundingBox=o.clone());let s=e.boundingSphere;return s!==null&&(this.boundingSphere=s.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this._transformed=e._transformed,this}dispose(){this.dispatchEvent({type:`dispose`})}};let eo=0;var Material=class extends EventDispatcher{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:eo++}),this.uuid=generateUUID(),this.name=``,this.type=`Material`,this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=100,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new Color(0,0,0),this.blendAlpha=0,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=fi,this.stencilZFail=fi,this.stencilZPass=fi,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(let t in e){let n=e[t];if(n===void 0){warn(`Material: parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){warn(`Material: '${t}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(n):r&&r.isVector2&&n&&n.isVector2||r&&r.isEuler&&n&&n.isEuler||r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;t&&(e={textures:{},images:{}});let n={metadata:{version:4.7,type:`Material`,generator:`Material.toJSON`}};n.uuid=this.uuid,n.type=this.type,this.name!==``&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(n.sheenColorMap=this.sheenColorMap.toJSON(e).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(n.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(e).uuid),this.dispersion!==void 0&&(n.dispersion=this.dispersion),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(n.combine=this.combine)),this.envMapRotation!==void 0&&(n.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==1&&(n.blending=this.blending),this.side!==0&&(n.side=this.side),this.vertexColors===!0&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=!0),this.blendSrc!==204&&(n.blendSrc=this.blendSrc),this.blendDst!==205&&(n.blendDst=this.blendDst),this.blendEquation!==100&&(n.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(n.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(n.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==3&&(n.depthFunc=this.depthFunc),this.depthTest===!1&&(n.depthTest=this.depthTest),this.depthWrite===!1&&(n.depthWrite=this.depthWrite),this.colorWrite===!1&&(n.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==519&&(n.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(n.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==7680&&(n.stencilFail=this.stencilFail),this.stencilZFail!==7680&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==7680&&(n.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(n.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=!0),this.alphaToCoverage===!0&&(n.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=!0),this.forceSinglePass===!0&&(n.forceSinglePass=!0),this.allowOverride===!1&&(n.allowOverride=!1),this.wireframe===!0&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!==`round`&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!==`round`&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function extractFromCache(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}if(t){let t=extractFromCache(e.textures),r=extractFromCache(e.images);t.length>0&&(n.textures=t),r.length>0&&(n.images=r)}return n}fromJSON(e,t){if(e.uuid!==void 0&&(this.uuid=e.uuid),e.name!==void 0&&(this.name=e.name),e.color!==void 0&&this.color!==void 0&&this.color.setHex(e.color),e.roughness!==void 0&&(this.roughness=e.roughness),e.metalness!==void 0&&(this.metalness=e.metalness),e.sheen!==void 0&&(this.sheen=e.sheen),e.sheenColor!==void 0&&(this.sheenColor=new Color().setHex(e.sheenColor)),e.sheenRoughness!==void 0&&(this.sheenRoughness=e.sheenRoughness),e.emissive!==void 0&&this.emissive!==void 0&&this.emissive.setHex(e.emissive),e.specular!==void 0&&this.specular!==void 0&&this.specular.setHex(e.specular),e.specularIntensity!==void 0&&(this.specularIntensity=e.specularIntensity),e.specularColor!==void 0&&this.specularColor!==void 0&&this.specularColor.setHex(e.specularColor),e.shininess!==void 0&&(this.shininess=e.shininess),e.clearcoat!==void 0&&(this.clearcoat=e.clearcoat),e.clearcoatRoughness!==void 0&&(this.clearcoatRoughness=e.clearcoatRoughness),e.dispersion!==void 0&&(this.dispersion=e.dispersion),e.iridescence!==void 0&&(this.iridescence=e.iridescence),e.iridescenceIOR!==void 0&&(this.iridescenceIOR=e.iridescenceIOR),e.iridescenceThicknessRange!==void 0&&(this.iridescenceThicknessRange=e.iridescenceThicknessRange),e.transmission!==void 0&&(this.transmission=e.transmission),e.thickness!==void 0&&(this.thickness=e.thickness),e.attenuationDistance!==void 0&&(this.attenuationDistance=e.attenuationDistance),e.attenuationColor!==void 0&&this.attenuationColor!==void 0&&this.attenuationColor.setHex(e.attenuationColor),e.anisotropy!==void 0&&(this.anisotropy=e.anisotropy),e.anisotropyRotation!==void 0&&(this.anisotropyRotation=e.anisotropyRotation),e.fog!==void 0&&(this.fog=e.fog),e.flatShading!==void 0&&(this.flatShading=e.flatShading),e.blending!==void 0&&(this.blending=e.blending),e.combine!==void 0&&(this.combine=e.combine),e.side!==void 0&&(this.side=e.side),e.shadowSide!==void 0&&(this.shadowSide=e.shadowSide),e.opacity!==void 0&&(this.opacity=e.opacity),e.transparent!==void 0&&(this.transparent=e.transparent),e.alphaTest!==void 0&&(this.alphaTest=e.alphaTest),e.alphaHash!==void 0&&(this.alphaHash=e.alphaHash),e.depthFunc!==void 0&&(this.depthFunc=e.depthFunc),e.depthTest!==void 0&&(this.depthTest=e.depthTest),e.depthWrite!==void 0&&(this.depthWrite=e.depthWrite),e.colorWrite!==void 0&&(this.colorWrite=e.colorWrite),e.blendSrc!==void 0&&(this.blendSrc=e.blendSrc),e.blendDst!==void 0&&(this.blendDst=e.blendDst),e.blendEquation!==void 0&&(this.blendEquation=e.blendEquation),e.blendSrcAlpha!==void 0&&(this.blendSrcAlpha=e.blendSrcAlpha),e.blendDstAlpha!==void 0&&(this.blendDstAlpha=e.blendDstAlpha),e.blendEquationAlpha!==void 0&&(this.blendEquationAlpha=e.blendEquationAlpha),e.blendColor!==void 0&&this.blendColor!==void 0&&this.blendColor.setHex(e.blendColor),e.blendAlpha!==void 0&&(this.blendAlpha=e.blendAlpha),e.stencilWriteMask!==void 0&&(this.stencilWriteMask=e.stencilWriteMask),e.stencilFunc!==void 0&&(this.stencilFunc=e.stencilFunc),e.stencilRef!==void 0&&(this.stencilRef=e.stencilRef),e.stencilFuncMask!==void 0&&(this.stencilFuncMask=e.stencilFuncMask),e.stencilFail!==void 0&&(this.stencilFail=e.stencilFail),e.stencilZFail!==void 0&&(this.stencilZFail=e.stencilZFail),e.stencilZPass!==void 0&&(this.stencilZPass=e.stencilZPass),e.stencilWrite!==void 0&&(this.stencilWrite=e.stencilWrite),e.wireframe!==void 0&&(this.wireframe=e.wireframe),e.wireframeLinewidth!==void 0&&(this.wireframeLinewidth=e.wireframeLinewidth),e.wireframeLinecap!==void 0&&(this.wireframeLinecap=e.wireframeLinecap),e.wireframeLinejoin!==void 0&&(this.wireframeLinejoin=e.wireframeLinejoin),e.rotation!==void 0&&(this.rotation=e.rotation),e.linewidth!==void 0&&(this.linewidth=e.linewidth),e.dashSize!==void 0&&(this.dashSize=e.dashSize),e.gapSize!==void 0&&(this.gapSize=e.gapSize),e.scale!==void 0&&(this.scale=e.scale),e.polygonOffset!==void 0&&(this.polygonOffset=e.polygonOffset),e.polygonOffsetFactor!==void 0&&(this.polygonOffsetFactor=e.polygonOffsetFactor),e.polygonOffsetUnits!==void 0&&(this.polygonOffsetUnits=e.polygonOffsetUnits),e.dithering!==void 0&&(this.dithering=e.dithering),e.alphaToCoverage!==void 0&&(this.alphaToCoverage=e.alphaToCoverage),e.premultipliedAlpha!==void 0&&(this.premultipliedAlpha=e.premultipliedAlpha),e.forceSinglePass!==void 0&&(this.forceSinglePass=e.forceSinglePass),e.allowOverride!==void 0&&(this.allowOverride=e.allowOverride),e.visible!==void 0&&(this.visible=e.visible),e.toneMapped!==void 0&&(this.toneMapped=e.toneMapped),e.userData!==void 0&&(this.userData=e.userData),e.vertexColors!==void 0&&(typeof e.vertexColors==`number`?this.vertexColors=e.vertexColors>0:this.vertexColors=e.vertexColors),e.size!==void 0&&(this.size=e.size),e.sizeAttenuation!==void 0&&(this.sizeAttenuation=e.sizeAttenuation),e.map!==void 0&&(this.map=t[e.map]||null),e.matcap!==void 0&&(this.matcap=t[e.matcap]||null),e.alphaMap!==void 0&&(this.alphaMap=t[e.alphaMap]||null),e.bumpMap!==void 0&&(this.bumpMap=t[e.bumpMap]||null),e.bumpScale!==void 0&&(this.bumpScale=e.bumpScale),e.normalMap!==void 0&&(this.normalMap=t[e.normalMap]||null),e.normalMapType!==void 0&&(this.normalMapType=e.normalMapType),e.normalScale!==void 0){let t=e.normalScale;Array.isArray(t)===!1&&(t=[t,t]),this.normalScale=new xi().fromArray(t)}return e.displacementMap!==void 0&&(this.displacementMap=t[e.displacementMap]||null),e.displacementScale!==void 0&&(this.displacementScale=e.displacementScale),e.displacementBias!==void 0&&(this.displacementBias=e.displacementBias),e.roughnessMap!==void 0&&(this.roughnessMap=t[e.roughnessMap]||null),e.metalnessMap!==void 0&&(this.metalnessMap=t[e.metalnessMap]||null),e.emissiveMap!==void 0&&(this.emissiveMap=t[e.emissiveMap]||null),e.emissiveIntensity!==void 0&&(this.emissiveIntensity=e.emissiveIntensity),e.specularMap!==void 0&&(this.specularMap=t[e.specularMap]||null),e.specularIntensityMap!==void 0&&(this.specularIntensityMap=t[e.specularIntensityMap]||null),e.specularColorMap!==void 0&&(this.specularColorMap=t[e.specularColorMap]||null),e.envMap!==void 0&&(this.envMap=t[e.envMap]||null),e.envMapRotation!==void 0&&this.envMapRotation.fromArray(e.envMapRotation),e.envMapIntensity!==void 0&&(this.envMapIntensity=e.envMapIntensity),e.reflectivity!==void 0&&(this.reflectivity=e.reflectivity),e.refractionRatio!==void 0&&(this.refractionRatio=e.refractionRatio),e.lightMap!==void 0&&(this.lightMap=t[e.lightMap]||null),e.lightMapIntensity!==void 0&&(this.lightMapIntensity=e.lightMapIntensity),e.aoMap!==void 0&&(this.aoMap=t[e.aoMap]||null),e.aoMapIntensity!==void 0&&(this.aoMapIntensity=e.aoMapIntensity),e.gradientMap!==void 0&&(this.gradientMap=t[e.gradientMap]||null),e.clearcoatMap!==void 0&&(this.clearcoatMap=t[e.clearcoatMap]||null),e.clearcoatRoughnessMap!==void 0&&(this.clearcoatRoughnessMap=t[e.clearcoatRoughnessMap]||null),e.clearcoatNormalMap!==void 0&&(this.clearcoatNormalMap=t[e.clearcoatNormalMap]||null),e.clearcoatNormalScale!==void 0&&(this.clearcoatNormalScale=new xi().fromArray(e.clearcoatNormalScale)),e.iridescenceMap!==void 0&&(this.iridescenceMap=t[e.iridescenceMap]||null),e.iridescenceThicknessMap!==void 0&&(this.iridescenceThicknessMap=t[e.iridescenceThicknessMap]||null),e.transmissionMap!==void 0&&(this.transmissionMap=t[e.transmissionMap]||null),e.thicknessMap!==void 0&&(this.thicknessMap=t[e.thicknessMap]||null),e.anisotropyMap!==void 0&&(this.anisotropyMap=t[e.anisotropyMap]||null),e.sheenColorMap!==void 0&&(this.sheenColorMap=t[e.sheenColorMap]||null),e.sheenRoughnessMap!==void 0&&(this.sheenRoughnessMap=t[e.sheenRoughnessMap]||null),this}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(t!==null){let e=t.length;n=Array(e);for(let r=0;r!==e;++r)n[r]=t[r].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.allowOverride=e.allowOverride,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:`dispose`})}set needsUpdate(e){e===!0&&this.version++}};const to=new I,no=new I,ro=new I,io=new I,ao=new I,oo=new I,so=new I;var Ray=class{constructor(e=new I,t=new I(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,to)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=to.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(to.copy(this.origin).addScaledVector(this.direction,t),to.distanceToSquared(e))}distanceSqToSegment(e,t,n,r){no.copy(e).add(t).multiplyScalar(.5),ro.copy(t).sub(e).normalize(),io.copy(this.origin).sub(no);let i=e.distanceTo(t)*.5,a=-this.direction.dot(ro),o=io.dot(this.direction),s=-io.dot(ro),c=io.lengthSq(),l=Math.abs(1-a*a),u,d,f,p;if(l>0)if(u=a*s-o,d=a*o-s,p=i*l,u>=0)if(d>=-p)if(d<=p){let e=1/l;u*=e,d*=e,f=u*(u+a*d+2*o)+d*(a*u+d+2*s)+c}else d=i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d=-i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d<=-p?(u=Math.max(0,-(-a*i+o)),d=u>0?-i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c):d<=p?(u=0,d=Math.min(Math.max(-i,-s),i),f=d*(d+2*s)+c):(u=Math.max(0,-(a*i+o)),d=u>0?i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c);else d=a>0?-i:i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;return n&&n.copy(this.origin).addScaledVector(this.direction,u),r&&r.copy(no).addScaledVector(ro,d),f}intersectSphere(e,t){to.subVectors(e.center,this.origin);let n=to.dot(this.direction),r=to.dot(to)-n*n,i=e.radius*e.radius;if(r>i)return null;let a=Math.sqrt(i-r),o=n-a,s=n+a;return s<0?null:o<0?this.at(s,t):this.at(o,t)}intersectsSphere(e){return e.radius<0?!1:this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return n===null?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,r,i,a,o,s,c=1/this.direction.x,l=1/this.direction.y,u=1/this.direction.z,d=this.origin;return c>=0?(n=(e.min.x-d.x)*c,r=(e.max.x-d.x)*c):(n=(e.max.x-d.x)*c,r=(e.min.x-d.x)*c),l>=0?(i=(e.min.y-d.y)*l,a=(e.max.y-d.y)*l):(i=(e.max.y-d.y)*l,a=(e.min.y-d.y)*l),n>a||i>r||((i>n||isNaN(n))&&(n=i),(a<r||isNaN(r))&&(r=a),u>=0?(o=(e.min.z-d.z)*u,s=(e.max.z-d.z)*u):(o=(e.max.z-d.z)*u,s=(e.min.z-d.z)*u),n>s||o>r)||((o>n||n!==n)&&(n=o),(s<r||r!==r)&&(r=s),r<0)?null:this.at(n>=0?n:r,t)}intersectsBox(e){return this.intersectBox(e,to)!==null}intersectTriangle(e,t,n,r,i){ao.subVectors(t,e),oo.subVectors(n,e),so.crossVectors(ao,oo);let a=this.direction.dot(so),o;if(a>0){if(r)return null;o=1}else if(a<0)o=-1,a=-a;else return null;io.subVectors(this.origin,e);let s=o*this.direction.dot(oo.crossVectors(io,oo));if(s<0)return null;let c=o*this.direction.dot(ao.cross(io));if(c<0||s+c>a)return null;let l=-o*io.dot(so);return l<0?null:this.at(l/a,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},MeshBasicMaterial=class extends Material{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type=`MeshBasicMaterial`,this.color=new Color(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Gi,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}};const co=new Fi,lo=new Ray,uo=new Sphere,fo=new I,po=new I,mo=new I,ho=new I,go=new I,_o=new I,vo=new I,yo=new I;var Mesh=class extends sa{constructor(e=new $a,t=new MeshBasicMaterial){super(),this.isMesh=!0,this.type=`Mesh`,this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.count=1,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),e.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),e.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}updateMorphTargets(){let e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){let n=e[t[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e<t;e++){let t=n[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}getVertexPosition(e,t){let n=this.geometry,r=n.attributes.position,i=n.morphAttributes.position,a=n.morphTargetsRelative;t.fromBufferAttribute(r,e);let o=this.morphTargetInfluences;if(i&&o){_o.set(0,0,0);for(let n=0,r=i.length;n<r;n++){let r=o[n],s=i[n];r!==0&&(go.fromBufferAttribute(s,e),a?_o.addScaledVector(go,r):_o.addScaledVector(go.sub(t),r))}t.add(_o)}return t}raycast(e,t){let n=this.geometry,r=this.material,i=this.matrixWorld;r!==void 0&&(n.boundingSphere===null&&n.computeBoundingSphere(),uo.copy(n.boundingSphere),uo.applyMatrix4(i),lo.copy(e.ray).recast(e.near),!(uo.containsPoint(lo.origin)===!1&&(lo.intersectSphere(uo,fo)===null||lo.origin.distanceToSquared(fo)>(e.far-e.near)**2))&&(co.copy(i).invert(),lo.copy(e.ray).applyMatrix4(co),!(n.boundingBox!==null&&lo.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(e,t,lo)))}_computeIntersections(e,t,n){let r,i=this.geometry,a=this.material,o=i.index,s=i.attributes.position,c=i.attributes.uv,l=i.attributes.uv1,u=i.attributes.normal,d=i.groups,f=i.drawRange;if(o!==null)if(Array.isArray(a))for(let i=0,s=d.length;i<s;i++){let s=d[i],p=a[s.materialIndex],m=Math.max(s.start,f.start),h=Math.min(o.count,Math.min(s.start+s.count,f.start+f.count));for(let i=m,a=h;i<a;i+=3){let a=o.getX(i),d=o.getX(i+1),f=o.getX(i+2);r=checkGeometryIntersection(this,p,e,n,c,l,u,a,d,f),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=s.materialIndex,t.push(r))}}else{let i=Math.max(0,f.start),s=Math.min(o.count,f.start+f.count);for(let d=i,f=s;d<f;d+=3){let i=o.getX(d),s=o.getX(d+1),f=o.getX(d+2);r=checkGeometryIntersection(this,a,e,n,c,l,u,i,s,f),r&&(r.faceIndex=Math.floor(d/3),t.push(r))}}else if(s!==void 0)if(Array.isArray(a))for(let i=0,o=d.length;i<o;i++){let o=d[i],p=a[o.materialIndex],m=Math.max(o.start,f.start),h=Math.min(s.count,Math.min(o.start+o.count,f.start+f.count));for(let i=m,a=h;i<a;i+=3){let a=i,s=i+1,d=i+2;r=checkGeometryIntersection(this,p,e,n,c,l,u,a,s,d),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=o.materialIndex,t.push(r))}}else{let i=Math.max(0,f.start),o=Math.min(s.count,f.start+f.count);for(let s=i,d=o;s<d;s+=3){let i=s,o=s+1,d=s+2;r=checkGeometryIntersection(this,a,e,n,c,l,u,i,o,d),r&&(r.faceIndex=Math.floor(s/3),t.push(r))}}}};function checkIntersection$1(e,t,n,r,i,a,o,s){let c;if(c=t.side===1?r.intersectTriangle(o,a,i,!0,s):r.intersectTriangle(i,a,o,t.side===0,s),c===null)return null;yo.copy(s),yo.applyMatrix4(e.matrixWorld);let l=n.ray.origin.distanceTo(yo);return l<n.near||l>n.far?null:{distance:l,point:yo.clone(),object:e}}function checkGeometryIntersection(e,t,n,r,i,a,o,s,c,l){e.getVertexPosition(s,po),e.getVertexPosition(c,mo),e.getVertexPosition(l,ho);let u=checkIntersection$1(e,t,n,r,po,mo,ho,vo);if(u){let e=new I;Ea.getBarycoord(vo,po,mo,ho,e),i&&(u.uv=Ea.getInterpolatedAttribute(i,s,c,l,e,new xi)),a&&(u.uv1=Ea.getInterpolatedAttribute(a,s,c,l,e,new xi)),o&&(u.normal=Ea.getInterpolatedAttribute(o,s,c,l,e,new I),u.normal.dot(r.direction)>0&&u.normal.multiplyScalar(-1));let t={a:s,b:c,c:l,normal:new I,materialIndex:0};Ea.getNormal(po,mo,ho,t.normal),u.face=t,u.barycoord=e}return u}var DataTexture=class extends Ni{constructor(e=null,t=1,n=1,r,i,a,o,s,c=Lr,l=Lr,u,d){super(null,a,o,s,c,l,r,i,u,d),this.isDataTexture=!0,this.image={data:e,width:t,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}};const bo=new I,xo=new I,So=new wi;var Plane=class{constructor(e=new I(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){let r=bo.subVectors(n,t).cross(xo.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){let e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t,n=!0){let r=e.delta(bo),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;let a=-(e.start.dot(this.normal)+this.constant)/i;return n===!0&&(a<0||a>1)?null:t.copy(e.start).addScaledVector(r,a)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||So.getNormalMatrix(e),r=this.coplanarPoint(bo).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}};const Co=new Sphere,wo=new xi(.5,.5),To=new I;var Frustum=class{constructor(e=new Plane,t=new Plane,n=new Plane,r=new Plane,i=new Plane,a=new Plane){this.planes=[e,t,n,r,i,a]}set(e,t,n,r,i,a){let o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(i),o[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=pi,n=!1){let r=this.planes,i=e.elements,a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14],b=i[15];if(r[0].setComponents(c-a,f-l,g-p,b-_).normalize(),r[1].setComponents(c+a,f+l,g+p,b+_).normalize(),r[2].setComponents(c+o,f+u,g+m,b+v).normalize(),r[3].setComponents(c-o,f-u,g-m,b-v).normalize(),n)r[4].setComponents(s,d,h,y).normalize(),r[5].setComponents(c-s,f-d,g-h,b-y).normalize();else if(r[4].setComponents(c-s,f-d,g-h,b-y).normalize(),t===2e3)r[5].setComponents(c+s,f+d,g+h,b+y).normalize();else if(t===2001)r[5].setComponents(s,d,h,y).normalize();else throw Error(`THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: `+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),Co.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),Co.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(Co)}intersectsSprite(e){Co.center.set(0,0,0);let t=wo.distanceTo(e.center);return Co.radius=.7071067811865476+t,Co.applyMatrix4(e.matrixWorld),this.intersectsSphere(Co)}intersectsSphere(e){let t=this.planes,n=e.center,r=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)<r)return!1;return!0}intersectsBox(e){let t=this.planes;for(let n=0;n<6;n++){let r=t[n];if(To.x=r.normal.x>0?e.max.x:e.min.x,To.y=r.normal.y>0?e.max.y:e.min.y,To.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(To)<0)return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}},CubeTexture=class extends Ni{constructor(e=[],t=301,n,r,i,a,o,s,c,l){super(e,t,n,r,i,a,o,s,c,l),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}},DepthTexture=class extends Ni{constructor(e,t,n=Hr,r,i,a,o=Lr,s=Lr,c,l=Yr,u=1){if(l!==1026&&l!==1027)throw Error(`THREE.DepthTexture: format must be either THREE.DepthFormat or THREE.DepthStencilFormat`);super({width:e,height:t,depth:u},r,i,a,o,s,l,n,c),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new Source(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return this.compareFunction!==null&&(t.compareFunction=this.compareFunction),t}},CubeDepthTexture=class extends DepthTexture{constructor(e,t=Hr,n=301,r,i,a=Lr,o=Lr,s,c=Yr){let l={width:e,height:e,depth:1},u=[l,l,l,l,l,l];super(e,e,t,n,r,i,a,o,s,c),this.image=u,this.isCubeDepthTexture=!0,this.isCubeTexture=!0}get images(){return this.image}set images(e){this.image=e}},ExternalTexture=class extends Ni{constructor(e=null){super(),this.sourceTexture=e,this.isExternalTexture=!0}copy(e){return super.copy(e),this.sourceTexture=e.sourceTexture,this}},Eo=class BoxGeometry extends $a{constructor(e=1,t=1,n=1,r=1,i=1,a=1){super(),this.type=`BoxGeometry`,this.parameters={width:e,height:t,depth:n,widthSegments:r,heightSegments:i,depthSegments:a};let o=this;r=Math.floor(r),i=Math.floor(i),a=Math.floor(a);let s=[],c=[],l=[],u=[],d=0,f=0;buildPlane(`z`,`y`,`x`,-1,-1,n,t,e,a,i,0),buildPlane(`z`,`y`,`x`,1,-1,n,t,-e,a,i,1),buildPlane(`x`,`z`,`y`,1,1,e,n,t,r,a,2),buildPlane(`x`,`z`,`y`,1,-1,e,n,-t,r,a,3),buildPlane(`x`,`y`,`z`,1,-1,e,t,n,r,i,4),buildPlane(`x`,`y`,`z`,-1,-1,e,t,-n,r,i,5),this.setIndex(s),this.setAttribute(`position`,new Float32BufferAttribute(c,3)),this.setAttribute(`normal`,new Float32BufferAttribute(l,3)),this.setAttribute(`uv`,new Float32BufferAttribute(u,2));function buildPlane(e,t,n,r,i,a,p,m,h,g,_){let v=a/h,y=p/g,b=a/2,x=p/2,S=m/2,C=h+1,w=g+1,T=0,E=0,D=new I;for(let a=0;a<w;a++){let o=a*y-x;for(let s=0;s<C;s++)D[e]=(s*v-b)*r,D[t]=o*i,D[n]=S,c.push(D.x,D.y,D.z),D[e]=0,D[t]=0,D[n]=m>0?1:-1,l.push(D.x,D.y,D.z),u.push(s/h),u.push(1-a/g),T+=1}for(let e=0;e<g;e++)for(let t=0;t<h;t++){let n=d+t+C*e,r=d+t+C*(e+1),i=d+(t+1)+C*(e+1),a=d+(t+1)+C*e;s.push(n,r,a),s.push(r,i,a),E+=6}o.addGroup(f,E,_),f+=E,d+=T}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new BoxGeometry(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}},Do=class PlaneGeometry extends $a{constructor(e=1,t=1,n=1,r=1){super(),this.type=`PlaneGeometry`,this.parameters={width:e,height:t,widthSegments:n,heightSegments:r};let i=e/2,a=t/2,o=Math.floor(n),s=Math.floor(r),c=o+1,l=s+1,u=e/o,d=t/s,f=[],p=[],m=[],h=[];for(let e=0;e<l;e++){let t=e*d-a;for(let n=0;n<c;n++){let r=n*u-i;p.push(r,-t,0),m.push(0,0,1),h.push(n/o),h.push(1-e/s)}}for(let e=0;e<s;e++)for(let t=0;t<o;t++){let n=t+c*e,r=t+c*(e+1),i=t+1+c*(e+1),a=t+1+c*e;f.push(n,r,a),f.push(r,i,a)}this.setIndex(f),this.setAttribute(`position`,new Float32BufferAttribute(p,3)),this.setAttribute(`normal`,new Float32BufferAttribute(m,3)),this.setAttribute(`uv`,new Float32BufferAttribute(h,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new PlaneGeometry(e.width,e.height,e.widthSegments,e.heightSegments)}};function cloneUniforms(e){let t={};for(let n in e){t[n]={};for(let r in e[n]){let i=e[n][r];if(isThreeObject(i))i.isRenderTargetTexture?(warn(`UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms().`),t[n][r]=null):t[n][r]=i.clone();else if(Array.isArray(i))if(isThreeObject(i[0])){let e=[];for(let t=0,n=i.length;t<n;t++)e[t]=i[t].clone();t[n][r]=e}else t[n][r]=i.slice();else t[n][r]=i}}return t}function mergeUniforms(e){let t={};for(let n=0;n<e.length;n++){let r=cloneUniforms(e[n]);for(let e in r)t[e]=r[e]}return t}function isThreeObject(e){return e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||e.isTexture||e.isQuaternion)}function cloneUniformsGroups(e){let t=[];for(let n=0;n<e.length;n++)t.push(e[n].clone());return t}function getUnlitUniformColorSpace(e){let t=e.getRenderTarget();return t===null?e.outputColorSpace:t.isXRRenderTarget===!0?t.texture.colorSpace:Oi.workingColorSpace}const Oo={clone:cloneUniforms,merge:mergeUniforms};var ko=`void main() {
|
|
85
85
|
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
86
|
-
}`,
|
|
86
|
+
}`,Ao=`void main() {
|
|
87
87
|
gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );
|
|
88
|
-
}`,ShaderMaterial=class extends Material{constructor(e){super(),this.isShaderMaterial=!0,this.type=`ShaderMaterial`,this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=Do,this.fragmentShader=Oo,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=cloneUniforms(e.uniforms),this.uniformsGroups=cloneUniformsGroups(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this.defaultAttributeValues=Object.assign({},e.defaultAttributeValues),this.index0AttributeName=e.index0AttributeName,this.uniformsNeedUpdate=e.uniformsNeedUpdate,this}toJSON(e){let t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(let n in this.uniforms){let r=this.uniforms[n].value;r&&r.isTexture?t.uniforms[n]={type:`t`,value:r.toJSON(e).uuid}:r&&r.isColor?t.uniforms[n]={type:`c`,value:r.getHex()}:r&&r.isVector2?t.uniforms[n]={type:`v2`,value:r.toArray()}:r&&r.isVector3?t.uniforms[n]={type:`v3`,value:r.toArray()}:r&&r.isVector4?t.uniforms[n]={type:`v4`,value:r.toArray()}:r&&r.isMatrix3?t.uniforms[n]={type:`m3`,value:r.toArray()}:r&&r.isMatrix4?t.uniforms[n]={type:`m4`,value:r.toArray()}:t.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)this.extensions[e]===!0&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}fromJSON(e,t){if(super.fromJSON(e,t),e.uniforms!==void 0)for(let n in e.uniforms){let r=e.uniforms[n];switch(this.uniforms[n]={},r.type){case`t`:this.uniforms[n].value=t[r.value]||null;break;case`c`:this.uniforms[n].value=new Color().setHex(r.value);break;case`v2`:this.uniforms[n].value=new yi().fromArray(r.value);break;case`v3`:this.uniforms[n].value=new I().fromArray(r.value);break;case`v4`:this.uniforms[n].value=new Mi().fromArray(r.value);break;case`m3`:this.uniforms[n].value=new Si().fromArray(r.value);break;case`m4`:this.uniforms[n].value=new Ni().fromArray(r.value);break;default:this.uniforms[n].value=r.value}}if(e.defines!==void 0&&(this.defines=e.defines),e.vertexShader!==void 0&&(this.vertexShader=e.vertexShader),e.fragmentShader!==void 0&&(this.fragmentShader=e.fragmentShader),e.glslVersion!==void 0&&(this.glslVersion=e.glslVersion),e.extensions!==void 0)for(let t in e.extensions)this.extensions[t]=e.extensions[t];return e.lights!==void 0&&(this.lights=e.lights),e.clipping!==void 0&&(this.clipping=e.clipping),this}},RawShaderMaterial=class extends ShaderMaterial{constructor(e){super(e),this.isRawShaderMaterial=!0,this.type=`RawShaderMaterial`}},MeshPhongMaterial=class extends Material{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type=`MeshPhongMaterial`,this.color=new Color(16777215),this.specular=new Color(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Color(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new yi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Ui,this.combine=0,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},MeshLambertMaterial=class extends Material{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type=`MeshLambertMaterial`,this.color=new Color(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Color(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new yi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Ui,this.combine=0,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},MeshDepthMaterial=class extends Material{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type=`MeshDepthMaterial`,this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}},MeshDistanceMaterial=class extends Material{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type=`MeshDistanceMaterial`,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}};function convertArray(e,t){return!e||e.constructor===t?e:typeof t.BYTES_PER_ELEMENT==`number`?new t(e):Array.prototype.slice.call(e)}var Interpolant=class{constructor(e,t,n,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=r===void 0?new t.constructor(n):r,this.sampleValues=t,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(e){let t=this.parameterPositions,n=this._cachedIndex,r=t[n],i=t[n-1];validate_interval:{seek:{let a;linear_scan:{forward_scan:if(!(e<r)){for(let a=n+2;;){if(r===void 0){if(e<i)break forward_scan;return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===a)break;if(i=r,r=t[++n],e<r)break seek}a=t.length;break linear_scan}if(!(e>=i)){let o=t[1];e<o&&(n=2,i=o);for(let a=n-2;;){if(i===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(n===a)break;if(r=i,i=t[--n-1],e>=i)break seek}a=n,n=0;break linear_scan}break validate_interval}for(;n<a;){let r=n+a>>>1;e<t[r]?a=r:n=r+1}if(r=t[n],i=t[n-1],i===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(r===void 0)return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){let t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r;for(let e=0;e!==r;++e)t[e]=n[i+e];return t}interpolate_(){throw Error(`THREE.Interpolant: Call to abstract method.`)}intervalChanged_(){}},CubicInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:ri,endingEnd:ri}}intervalChanged_(e,t,n){let r=this.parameterPositions,i=e-2,a=e+1,o=r[i],s=r[a];if(o===void 0)switch(this.getSettings_().endingStart){case ii:i=e,o=2*t-n;break;case ai:i=r.length-2,o=t+r[i]-r[i+1];break;default:i=e,o=n}if(s===void 0)switch(this.getSettings_().endingEnd){case ii:a=e,s=2*n-t;break;case ai:a=1,s=n+r[1]-r[0];break;default:a=e-1,s=t}let c=(n-t)*.5,l=this.valueSize;this._weightPrev=c/(t-o),this._weightNext=c/(s-n),this._offsetPrev=i*l,this._offsetNext=a*l}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=this._offsetPrev,u=this._offsetNext,d=this._weightPrev,f=this._weightNext,p=(n-t)/(r-t),m=p*p,h=m*p,g=-d*h+2*d*m-d*p,_=(1+d)*h+(-1.5-2*d)*m+(-.5+d)*p+1,v=(-1-f)*h+(1.5+f)*m+.5*p,y=f*h-f*m;for(let e=0;e!==o;++e)i[e]=g*a[l+e]+_*a[c+e]+v*a[s+e]+y*a[u+e];return i}},LinearInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=(n-t)/(r-t),u=1-l;for(let e=0;e!==o;++e)i[e]=a[c+e]*u+a[s+e]*l;return i}},DiscreteInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e){return this.copySampleValue_(e-1)}},BezierInterpolant=class extends Interpolant{interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=this.inTangents,u=this.outTangents;if(!l||!u){let e=(n-t)/(r-t),l=1-e;for(let t=0;t!==o;++t)i[t]=a[c+t]*l+a[s+t]*e;return i}let d=o*2,f=e-1;for(let p=0;p!==o;++p){let o=a[c+p],m=a[s+p],h=f*d+p*2,g=u[h],_=u[h+1],v=e*d+p*2,y=l[v],b=l[v+1],x=(n-t)/(r-t),S,C,w,T,E;for(let e=0;e<8;e++){S=x*x,C=S*x,w=1-x,T=w*w,E=T*w;let e=E*t+3*T*x*g+3*w*S*y+C*r-n;if(Math.abs(e)<1e-10)break;let i=3*T*(g-t)+6*w*x*(y-g)+3*S*(r-y);if(Math.abs(i)<1e-10)break;x-=e/i,x=Math.max(0,Math.min(1,x))}i[p]=E*o+3*T*x*_+3*w*S*b+C*m}return i}},KeyframeTrack=class{constructor(e,t,n,r){if(e===void 0)throw Error(`THREE.KeyframeTrack: track name is undefined`);if(t===void 0||t.length===0)throw Error(`THREE.KeyframeTrack: no keyframes in track named `+e);this.name=e,this.times=convertArray(t,this.TimeBufferType),this.values=convertArray(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){let t=e.constructor,n;if(t.toJSON!==this.toJSON)n=t.toJSON(e);else{n={name:e.name,times:convertArray(e.times,Array),values:convertArray(e.values,Array)};let t=e.getInterpolation();t!==e.DefaultInterpolation&&(n.interpolation=t)}return n.type=e.ValueTypeName,n}InterpolantFactoryMethodDiscrete(e){return new DiscreteInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new LinearInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new CubicInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodBezier(e){let t=new BezierInterpolant(this.times,this.values,this.getValueSize(),e);return this.settings&&(t.inTangents=this.settings.inTangents,t.outTangents=this.settings.outTangents),t}setInterpolation(e){let t;switch(e){case $r:t=this.InterpolantFactoryMethodDiscrete;break;case ei:t=this.InterpolantFactoryMethodLinear;break;case ti:t=this.InterpolantFactoryMethodSmooth;break;case ni:t=this.InterpolantFactoryMethodBezier;break}if(t===void 0){let t=`unsupported interpolation for `+this.ValueTypeName+` keyframe track named `+this.name;if(this.createInterpolant===void 0)if(e!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw Error(t);return warn(`KeyframeTrack:`,t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return $r;case this.InterpolantFactoryMethodLinear:return ei;case this.InterpolantFactoryMethodSmooth:return ti;case this.InterpolantFactoryMethodBezier:return ni}}getValueSize(){return this.values.length/this.times.length}shift(e){if(e!==0){let t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]+=e}return this}scale(e){if(e!==1){let t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]*=e}return this}trim(e,t){let n=this.times,r=n.length,i=0,a=r-1;for(;i!==r&&n[i]<e;)++i;for(;a!==-1&&n[a]>t;)--a;if(++a,i!==0||a!==r){i>=a&&(a=Math.max(a,1),i=a-1);let e=this.getValueSize();this.times=n.slice(i,a),this.values=this.values.slice(i*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(error(`KeyframeTrack: Invalid value size in track.`,this),e=!1);let n=this.times,r=this.values,i=n.length;i===0&&(error(`KeyframeTrack: Track is empty.`,this),e=!1);let a=null;for(let t=0;t!==i;t++){let r=n[t];if(typeof r==`number`&&isNaN(r)){error(`KeyframeTrack: Time is not a valid number.`,this,t,r),e=!1;break}if(a!==null&&a>r){error(`KeyframeTrack: Out of order keys.`,this,t,r,a),e=!1;break}a=r}if(r!==void 0&&isTypedArray(r))for(let t=0,n=r.length;t!==n;++t){let n=r[t];if(isNaN(n)){error(`KeyframeTrack: Value is not a valid number.`,this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===ti,i=e.length-1,a=1;for(let o=1;o<i;++o){let i=!1,s=e[o];if(s!==e[o+1]&&(o!==1||s!==e[0]))if(r)i=!0;else{let e=o*n,r=e-n,a=e+n;for(let o=0;o!==n;++o){let n=t[e+o];if(n!==t[r+o]||n!==t[a+o]){i=!0;break}}}if(i){if(o!==a){e[a]=e[o];let r=o*n,i=a*n;for(let e=0;e!==n;++e)t[i+e]=t[r+e]}++a}}if(i>0){e[a]=e[i];for(let e=i*n,r=a*n,o=0;o!==n;++o)t[r+o]=t[e+o];++a}return a===e.length?(this.times=e,this.values=t):(this.times=e.slice(0,a),this.values=t.slice(0,a*n)),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=this.constructor,r=new n(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}};KeyframeTrack.prototype.ValueTypeName=``,KeyframeTrack.prototype.TimeBufferType=Float32Array,KeyframeTrack.prototype.ValueBufferType=Float32Array,KeyframeTrack.prototype.DefaultInterpolation=ei;var BooleanKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n){super(e,t,n)}};BooleanKeyframeTrack.prototype.ValueTypeName=`bool`,BooleanKeyframeTrack.prototype.ValueBufferType=Array,BooleanKeyframeTrack.prototype.DefaultInterpolation=$r,BooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0,BooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var ColorKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};ColorKeyframeTrack.prototype.ValueTypeName=`color`;var NumberKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};NumberKeyframeTrack.prototype.ValueTypeName=`number`;var QuaternionLinearInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=(n-t)/(r-t),c=e*o;for(let e=c+o;c!==e;c+=4)Quaternion.slerpFlat(i,0,a,c-o,a,c,s);return i}},QuaternionKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}InterpolantFactoryMethodLinear(e){return new QuaternionLinearInterpolant(this.times,this.values,this.getValueSize(),e)}};QuaternionKeyframeTrack.prototype.ValueTypeName=`quaternion`,QuaternionKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var StringKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n){super(e,t,n)}};StringKeyframeTrack.prototype.ValueTypeName=`string`,StringKeyframeTrack.prototype.ValueBufferType=Array,StringKeyframeTrack.prototype.DefaultInterpolation=$r,StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0,StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var VectorKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};VectorKeyframeTrack.prototype.ValueTypeName=`vector`;const ko={enabled:!1,files:{},add:function(e,t){this.enabled!==!1&&(isBlobURL(e)||(this.files[e]=t))},get:function(e){if(this.enabled!==!1&&!isBlobURL(e))return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};function isBlobURL(e){try{let t=e.slice(e.indexOf(`:`)+1);return new URL(t).protocol===`blob:`}catch{return!1}}var LoadingManager=class{constructor(e,t,n){let r=this,i=!1,a=0,o=0,s,c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=n,this._abortController=null,this.itemStart=function(e){o++,i===!1&&r.onStart!==void 0&&r.onStart(e,a,o),i=!0},this.itemEnd=function(e){a++,r.onProgress!==void 0&&r.onProgress(e,a,o),a===o&&(i=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(e){r.onError!==void 0&&r.onError(e)},this.resolveURL=function(e){return e=e.normalize(`NFC`),s?s(e):e},this.setURLModifier=function(e){return s=e,this},this.addHandler=function(e,t){return c.push(e,t),this},this.removeHandler=function(e){let t=c.indexOf(e);return t!==-1&&c.splice(t,2),this},this.getHandler=function(e){for(let t=0,n=c.length;t<n;t+=2){let n=c[t],r=c[t+1];if(n.global&&(n.lastIndex=0),n.test(e))return r}return null},this.abort=function(){return this.abortController.abort(),this._abortController=null,this}}get abortController(){return this._abortController||=new AbortController,this._abortController}};const Ao=new LoadingManager;var Loader=class{constructor(e){this.manager=e===void 0?Ao:e,this.crossOrigin=`anonymous`,this.withCredentials=!1,this.path=``,this.resourcePath=``,this.requestHeader={},typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}load(){}loadAsync(e,t){let n=this;return new Promise(function(r,i){n.load(e,r,t,i)})}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}abort(){return this}};Loader.DEFAULT_MATERIAL_NAME=`__DEFAULT`;const jo=new WeakMap;var ImageLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let i=this,a=ko.get(`image:${e}`);if(a!==void 0){if(a.complete===!0)i.manager.itemStart(e),setTimeout(function(){t&&t(a),i.manager.itemEnd(e)},0);else{let e=jo.get(a);e===void 0&&(e=[],jo.set(a,e)),e.push({onLoad:t,onError:r})}return a}let o=createElementNS(`img`);function onImageLoad(){removeEventListeners(),t&&t(this);let n=jo.get(this)||[];for(let e=0;e<n.length;e++){let t=n[e];t.onLoad&&t.onLoad(this)}jo.delete(this),i.manager.itemEnd(e)}function onImageError(t){removeEventListeners(),r&&r(t),ko.remove(`image:${e}`);let n=jo.get(this)||[];for(let e=0;e<n.length;e++){let r=n[e];r.onError&&r.onError(t)}jo.delete(this),i.manager.itemError(e),i.manager.itemEnd(e)}function removeEventListeners(){o.removeEventListener(`load`,onImageLoad,!1),o.removeEventListener(`error`,onImageError,!1)}return o.addEventListener(`load`,onImageLoad,!1),o.addEventListener(`error`,onImageError,!1),e.slice(0,5)!==`data:`&&this.crossOrigin!==void 0&&(o.crossOrigin=this.crossOrigin),ko.add(`image:${e}`,o),i.manager.itemStart(e),o.src=e,o}},CubeTextureLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){let i=new CubeTexture;i.colorSpace=oi;let a=new ImageLoader(this.manager);a.setCrossOrigin(this.crossOrigin),a.setPath(this.path);let o=0;function loadTexture(n){a.load(e[n],function(e){i.images[n]=e,o++,o===6&&(i.needsUpdate=!0,t&&t(i))},void 0,r)}for(let t=0;t<e.length;++t)loadTexture(t);return i}},TextureLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){let i=new ji,a=new ImageLoader(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,function(e){i.image=e,i.needsUpdate=!0,t!==void 0&&t(i)},n,r),i}},Light=class extends aa{constructor(e,t=1){super(),this.isLight=!0,this.type=`Light`,this.color=new Color(e),this.intensity=t}dispose(){this.dispatchEvent({type:`dispose`})}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){let t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,t}};const Mo=new Ni,No=new I,Po=new I;var LightShadow=class{constructor(e){this.camera=e,this.intensity=1,this.bias=0,this.biasNode=null,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new yi(512,512),this.mapType=Rr,this.map=null,this.mapPass=null,this.matrix=new Ni,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Frustum,this._frameExtents=new yi(1,1),this._viewportCount=1,this._viewports=[new Mi(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){let t=this.camera,n=this.matrix;No.setFromMatrixPosition(e.matrixWorld),t.position.copy(No),Po.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(Po),t.updateMatrixWorld(),Mo.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Mo,t.coordinateSystem,t.reversedDepth),t.coordinateSystem===2001||t.reversedDepth?n.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1):n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(Mo)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.intensity=e.intensity,this.bias=e.bias,this.radius=e.radius,this.autoUpdate=e.autoUpdate,this.needsUpdate=e.needsUpdate,this.normalBias=e.normalBias,this.blurSamples=e.blurSamples,this.mapSize.copy(e.mapSize),this.biasNode=e.biasNode,this}clone(){return new this.constructor().copy(this)}toJSON(){let e={};return this.intensity!==1&&(e.intensity=this.intensity),this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}};const Fo=new I,Io=new Quaternion,Lo=new I;var Camera=class extends aa{constructor(){super(),this.isCamera=!0,this.type=`Camera`,this.matrixWorldInverse=new Ni,this.projectionMatrix=new Ni,this.projectionMatrixInverse=new Ni,this.coordinateSystem=di,this._reversedDepth=!1}get reversedDepth(){return this._reversedDepth}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorld.decompose(Fo,Io,Lo),Lo.x===1&&Lo.y===1&&Lo.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(Fo,Io,Lo.set(1,1,1)).invert()}updateWorldMatrix(e,t,n=!1){super.updateWorldMatrix(e,t,n),this.matrixWorld.decompose(Fo,Io,Lo),Lo.x===1&&Lo.y===1&&Lo.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(Fo,Io,Lo.set(1,1,1)).invert()}clone(){return new this.constructor().copy(this)}};const Ro=new I,zo=new yi,Bo=new yi;var PerspectiveCamera=class extends Camera{constructor(e=50,t=1,n=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type=`PerspectiveCamera`,this.fov=e,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=_i*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(gi*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return _i*2*Math.atan(Math.tan(gi*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){Ro.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Ro.x,Ro.y).multiplyScalar(-e/Ro.z),Ro.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(Ro.x,Ro.y).multiplyScalar(-e/Ro.z)}getViewSize(e,t){return this.getViewBounds(e,zo,Bo),t.subVectors(Bo,zo)}setViewOffset(e,t,n,r,i,a){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(gi*.5*this.fov)/this.zoom,n=2*t,r=this.aspect*n,i=-.5*r,a=this.view;if(this.view!==null&&this.view.enabled){let e=a.fullWidth,o=a.fullHeight;i+=a.offsetX*r/e,t-=a.offsetY*n/o,r*=a.width/e,n*=a.height/o}let o=this.filmOffset;o!==0&&(i+=e*o/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,t,t-n,e,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}},OrthographicCamera=class extends Camera{constructor(e=-1,t=1,n=1,r=-1,i=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type=`OrthographicCamera`,this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=n,this.bottom=r,this.near=i,this.far=a,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,n,r,i,a){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2,i=n-e,a=n+e,o=r+t,s=r-t;if(this.view!==null&&this.view.enabled){let e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=e*this.view.offsetX,a=i+e*this.view.width,o-=t*this.view.offsetY,s=o-t*this.view.height}this.projectionMatrix.makeOrthographic(i,a,o,s,this.near,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}},DirectionalLightShadow=class extends LightShadow{constructor(){super(new OrthographicCamera(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}},DirectionalLight=class extends Light{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type=`DirectionalLight`,this.position.copy(aa.DEFAULT_UP),this.updateMatrix(),this.target=new aa,this.shadow=new DirectionalLightShadow}dispose(){super.dispose(),this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}toJSON(e){let t=super.toJSON(e);return t.object.shadow=this.shadow.toJSON(),t.object.target=this.target.uuid,t}},AmbientLight=class extends Light{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type=`AmbientLight`}},CubeCamera=class extends aa{constructor(e,t,n){super(),this.type=`CubeCamera`,this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;let r=new PerspectiveCamera(-90,1,e,t);r.layers=this.layers,this.add(r);let i=new PerspectiveCamera(-90,1,e,t);i.layers=this.layers,this.add(i);let a=new PerspectiveCamera(-90,1,e,t);a.layers=this.layers,this.add(a);let o=new PerspectiveCamera(-90,1,e,t);o.layers=this.layers,this.add(o);let s=new PerspectiveCamera(-90,1,e,t);s.layers=this.layers,this.add(s);let c=new PerspectiveCamera(-90,1,e,t);c.layers=this.layers,this.add(c)}updateCoordinateSystem(){let e=this.coordinateSystem,t=this.children.concat(),[n,r,i,a,o,s]=t;for(let e of t)this.remove(e);if(e===2e3)n.up.set(0,1,0),n.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),i.up.set(0,0,-1),i.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),o.up.set(0,1,0),o.lookAt(0,0,1),s.up.set(0,1,0),s.lookAt(0,0,-1);else if(e===2001)n.up.set(0,-1,0),n.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),i.up.set(0,0,1),i.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),o.up.set(0,-1,0),o.lookAt(0,0,1),s.up.set(0,-1,0),s.lookAt(0,0,-1);else throw Error(`THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: `+e);for(let e of t)this.add(e),e.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:r}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());let[i,a,o,s,c,l]=this.children,u=e.getRenderTarget(),d=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;let m=n.texture.generateMipmaps;n.texture.generateMipmaps=!1;let h=!1;h=e.isWebGLRenderer===!0?e.state.buffers.depth.getReversed():e.reversedDepthBuffer,e.setRenderTarget(n,0,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,i),e.setRenderTarget(n,1,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,a),e.setRenderTarget(n,2,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,o),e.setRenderTarget(n,3,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,s),e.setRenderTarget(n,4,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,c),n.texture.generateMipmaps=m,e.setRenderTarget(n,5,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,l),e.setRenderTarget(u,d,f),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}},ArrayCamera=class extends PerspectiveCamera{constructor(e=[]){super(),this.isArrayCamera=!0,this.isMultiViewCamera=!1,this.cameras=e}};const Vo=RegExp(`[\\[\\]\\.:\\/]`,`g`),Ho=RegExp(`^((?:[^\\[\\]\\.:\\/]+[\\/:])*)([^\\[\\]:\\/]+)?(?:\\.([^\\[\\]\\.:\\/]+)(?:\\[(.+)\\])?)?\\.([^\\[\\]\\.:\\/]+)(?:\\[(.+)\\])?$`),Uo=[`material`,`materials`,`bones`,`map`];var Composite=class{constructor(e,t,n){let r=n||Wo.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();let n=this._targetGroup.nCachedObjects_,r=this._bindings[n];r!==void 0&&r.getValue(e,t)}setValue(e,t){let n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(e,t)}bind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()}unbind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}},Wo=class PropertyBinding{constructor(e,t,n){this.path=t,this.parsedPath=n||PropertyBinding.parseTrackName(t),this.node=PropertyBinding.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new PropertyBinding.Composite(e,t,n):new PropertyBinding(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,`_`).replace(Vo,``)}static parseTrackName(e){let t=Ho.exec(e);if(t===null)throw Error(`THREE.PropertyBinding: Cannot parse trackName: `+e);let n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(`.`);if(r!==void 0&&r!==-1){let e=n.nodeName.substring(r+1);Uo.indexOf(e)!==-1&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=e)}if(n.propertyName===null||n.propertyName.length===0)throw Error(`THREE.PropertyBinding: can not parse propertyName from trackName: `+e);return n}static findNode(e,t){if(t===void 0||t===``||t===`.`||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){let n=e.skeleton.getBoneByName(t);if(n!==void 0)return n}if(e.children){let searchNodeSubtree=function(e){for(let n=0;n<e.length;n++){let r=e[n];if(r.name===t||r.uuid===t)return r;let i=searchNodeSubtree(r.children);if(i)return i}return null},n=searchNodeSubtree(e.children);if(n)return n}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)e[t++]=n[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node,t=this.parsedPath,n=t.objectName,r=t.propertyName,i=t.propertyIndex;if(e||(e=PropertyBinding.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e){warn(`PropertyBinding: No target node found for track: `+this.path+`.`);return}if(n){let r=t.objectIndex;switch(n){case`materials`:if(!e.material){error(`PropertyBinding: Can not bind to material as node does not have a material.`,this);return}if(!e.material.materials){error(`PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.`,this);return}e=e.material.materials;break;case`bones`:if(!e.skeleton){error(`PropertyBinding: Can not bind to bones as node does not have a skeleton.`,this);return}e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===r){r=t;break}break;case`map`:if(`map`in e){e=e.map;break}if(!e.material){error(`PropertyBinding: Can not bind to material as node does not have a material.`,this);return}if(!e.material.map){error(`PropertyBinding: Can not bind to material.map as node.material does not have a map.`,this);return}e=e.material.map;break;default:if(e[n]===void 0){error(`PropertyBinding: Can not bind to objectName of node undefined.`,this);return}e=e[n]}if(r!==void 0){if(e[r]===void 0){error(`PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.`,this,e);return}e=e[r]}}let a=e[r];if(a===void 0){let n=t.nodeName;error(`PropertyBinding: Trying to update property for track: `+n+`.`+r+` but it wasn't found.`,e);return}let o=this.Versioning.None;this.targetObject=e,e.isMaterial===!0?o=this.Versioning.NeedsUpdate:e.isObject3D===!0&&(o=this.Versioning.MatrixWorldNeedsUpdate);let s=this.BindingType.Direct;if(i!==void 0){if(r===`morphTargetInfluences`){if(!e.geometry){error(`PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.`,this);return}if(!e.geometry.morphAttributes){error(`PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.`,this);return}e.morphTargetDictionary[i]!==void 0&&(i=e.morphTargetDictionary[i])}s=this.BindingType.ArrayElement,this.resolvedProperty=a,this.propertyIndex=i}else a.fromArray!==void 0&&a.toArray!==void 0?(s=this.BindingType.HasFromToArray,this.resolvedProperty=a):Array.isArray(a)?(s=this.BindingType.EntireArray,this.resolvedProperty=a):this.propertyName=r;this.getValue=this.GetterByBindingType[s],this.setValue=this.SetterByBindingTypeAndVersioning[s][o]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}};Wo.Composite=Composite,Wo.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Wo.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Wo.prototype.GetterByBindingType=[Wo.prototype._getValue_direct,Wo.prototype._getValue_array,Wo.prototype._getValue_arrayElement,Wo.prototype._getValue_toArray],Wo.prototype.SetterByBindingTypeAndVersioning=[[Wo.prototype._setValue_direct,Wo.prototype._setValue_direct_setNeedsUpdate,Wo.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Wo.prototype._setValue_array,Wo.prototype._setValue_array_setNeedsUpdate,Wo.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Wo.prototype._setValue_arrayElement,Wo.prototype._setValue_arrayElement_setNeedsUpdate,Wo.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Wo.prototype._setValue_fromArray,Wo.prototype._setValue_fromArray_setNeedsUpdate,Wo.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];var Spherical=class{constructor(e=1,t=0,n=0){this.radius=e,this.phi=t,this.theta=n}set(e,t,n){return this.radius=e,this.phi=t,this.theta=n,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){let e=1e-6;return this.phi=clamp(this.phi,e,Math.PI-e),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+t*t+n*n),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,n),this.phi=Math.acos(clamp(t/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}};(class Matrix2{static{Matrix2.prototype.isMatrix2=!0}constructor(e,t,n,r){this.elements=[1,0,0,1],e!==void 0&&this.set(e,t,n,r)}identity(){return this.set(1,0,0,1),this}fromArray(e,t=0){for(let n=0;n<4;n++)this.elements[n]=e[n+t];return this}set(e,t,n,r){let i=this.elements;return i[0]=e,i[2]=t,i[1]=n,i[3]=r,this}});var Controls=class extends EventDispatcher{constructor(e,t=null){super(),this.object=e,this.domElement=t,this.enabled=!0,this.state=-1,this.keys={},this.mouseButtons={LEFT:null,MIDDLE:null,RIGHT:null},this.touches={ONE:null,TWO:null}}connect(e){if(e===void 0){warn(`Controls: connect() now requires an element.`);return}this.domElement!==null&&this.disconnect(),this.domElement=e}disconnect(){}dispose(){}update(){}};function getByteLength(e,t,n,r){let i=getTextureTypeByteLength(r);switch(n){case 1021:return e*t;case 1028:return e*t/i.components*i.byteLength;case Yr:return e*t/i.components*i.byteLength;case Xr:return e*t*2/i.components*i.byteLength;case Zr:return e*t*2/i.components*i.byteLength;case 1022:return e*t*3/i.components*i.byteLength;case Kr:return e*t*4/i.components*i.byteLength;case Qr:return e*t*4/i.components*i.byteLength;case 33776:case 33777:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case 33778:case 33779:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 35841:case 35843:return Math.max(e,16)*Math.max(t,8)/4;case 35840:case 35842:return Math.max(e,8)*Math.max(t,8)/2;case 36196:case 37492:case 37488:case 37489:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case 37496:case 37490:case 37491:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 37808:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 37809:return Math.floor((e+4)/5)*Math.floor((t+3)/4)*16;case 37810:return Math.floor((e+4)/5)*Math.floor((t+4)/5)*16;case 37811:return Math.floor((e+5)/6)*Math.floor((t+4)/5)*16;case 37812:return Math.floor((e+5)/6)*Math.floor((t+5)/6)*16;case 37813:return Math.floor((e+7)/8)*Math.floor((t+4)/5)*16;case 37814:return Math.floor((e+7)/8)*Math.floor((t+5)/6)*16;case 37815:return Math.floor((e+7)/8)*Math.floor((t+7)/8)*16;case 37816:return Math.floor((e+9)/10)*Math.floor((t+4)/5)*16;case 37817:return Math.floor((e+9)/10)*Math.floor((t+5)/6)*16;case 37818:return Math.floor((e+9)/10)*Math.floor((t+7)/8)*16;case 37819:return Math.floor((e+9)/10)*Math.floor((t+9)/10)*16;case 37820:return Math.floor((e+11)/12)*Math.floor((t+9)/10)*16;case 37821:return Math.floor((e+11)/12)*Math.floor((t+11)/12)*16;case 36492:case 36494:case 36495:return Math.ceil(e/4)*Math.ceil(t/4)*16;case 36283:case 36284:return Math.ceil(e/4)*Math.ceil(t/4)*8;case 36285:case 36286:return Math.ceil(e/4)*Math.ceil(t/4)*16}throw Error(`Unable to determine texture byte length for ${n} format.`)}function getTextureTypeByteLength(e){switch(e){case Rr:case 1010:return{byteLength:1,components:1};case zr:case 1011:case Hr:return{byteLength:2,components:1};case Ur:case Wr:return{byteLength:2,components:4};case Br:case 1013:case Vr:return{byteLength:4,components:1};case 35902:case 35899:return{byteLength:4,components:3}}throw Error(`THREE.TextureUtils: Unknown texture type ${e}.`)}typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`register`,{detail:{revision:`185`}})),typeof globalThis<`u`&&(globalThis.__THREE__?warn(`WARNING: Multiple instances of Three.js being imported.`):globalThis.__THREE__=`185`);
|
|
88
|
+
}`,ShaderMaterial=class extends Material{constructor(e){super(),this.isShaderMaterial=!0,this.type=`ShaderMaterial`,this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=ko,this.fragmentShader=Ao,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=cloneUniforms(e.uniforms),this.uniformsGroups=cloneUniformsGroups(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this.defaultAttributeValues=Object.assign({},e.defaultAttributeValues),this.index0AttributeName=e.index0AttributeName,this.uniformsNeedUpdate=e.uniformsNeedUpdate,this}toJSON(e){let t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(let n in this.uniforms){let r=this.uniforms[n].value;r&&r.isTexture?t.uniforms[n]={type:`t`,value:r.toJSON(e).uuid}:r&&r.isColor?t.uniforms[n]={type:`c`,value:r.getHex()}:r&&r.isVector2?t.uniforms[n]={type:`v2`,value:r.toArray()}:r&&r.isVector3?t.uniforms[n]={type:`v3`,value:r.toArray()}:r&&r.isVector4?t.uniforms[n]={type:`v4`,value:r.toArray()}:r&&r.isMatrix3?t.uniforms[n]={type:`m3`,value:r.toArray()}:r&&r.isMatrix4?t.uniforms[n]={type:`m4`,value:r.toArray()}:t.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)this.extensions[e]===!0&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}fromJSON(e,t){if(super.fromJSON(e,t),e.uniforms!==void 0)for(let n in e.uniforms){let r=e.uniforms[n];switch(this.uniforms[n]={},r.type){case`t`:this.uniforms[n].value=t[r.value]||null;break;case`c`:this.uniforms[n].value=new Color().setHex(r.value);break;case`v2`:this.uniforms[n].value=new xi().fromArray(r.value);break;case`v3`:this.uniforms[n].value=new I().fromArray(r.value);break;case`v4`:this.uniforms[n].value=new Pi().fromArray(r.value);break;case`m3`:this.uniforms[n].value=new wi().fromArray(r.value);break;case`m4`:this.uniforms[n].value=new Fi().fromArray(r.value);break;default:this.uniforms[n].value=r.value}}if(e.defines!==void 0&&(this.defines=e.defines),e.vertexShader!==void 0&&(this.vertexShader=e.vertexShader),e.fragmentShader!==void 0&&(this.fragmentShader=e.fragmentShader),e.glslVersion!==void 0&&(this.glslVersion=e.glslVersion),e.extensions!==void 0)for(let t in e.extensions)this.extensions[t]=e.extensions[t];return e.lights!==void 0&&(this.lights=e.lights),e.clipping!==void 0&&(this.clipping=e.clipping),this}},RawShaderMaterial=class extends ShaderMaterial{constructor(e){super(e),this.isRawShaderMaterial=!0,this.type=`RawShaderMaterial`}},MeshPhongMaterial=class extends Material{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type=`MeshPhongMaterial`,this.color=new Color(16777215),this.specular=new Color(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Color(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new xi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Gi,this.combine=0,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},MeshLambertMaterial=class extends Material{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type=`MeshLambertMaterial`,this.color=new Color(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Color(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new xi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Gi,this.combine=0,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},MeshDepthMaterial=class extends Material{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type=`MeshDepthMaterial`,this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}},MeshDistanceMaterial=class extends Material{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type=`MeshDistanceMaterial`,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}};function convertArray(e,t){return!e||e.constructor===t?e:typeof t.BYTES_PER_ELEMENT==`number`?new t(e):Array.prototype.slice.call(e)}var Interpolant=class{constructor(e,t,n,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=r===void 0?new t.constructor(n):r,this.sampleValues=t,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(e){let t=this.parameterPositions,n=this._cachedIndex,r=t[n],i=t[n-1];validate_interval:{seek:{let a;linear_scan:{forward_scan:if(!(e<r)){for(let a=n+2;;){if(r===void 0){if(e<i)break forward_scan;return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===a)break;if(i=r,r=t[++n],e<r)break seek}a=t.length;break linear_scan}if(!(e>=i)){let o=t[1];e<o&&(n=2,i=o);for(let a=n-2;;){if(i===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(n===a)break;if(r=i,i=t[--n-1],e>=i)break seek}a=n,n=0;break linear_scan}break validate_interval}for(;n<a;){let r=n+a>>>1;e<t[r]?a=r:n=r+1}if(r=t[n],i=t[n-1],i===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(r===void 0)return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){let t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r;for(let e=0;e!==r;++e)t[e]=n[i+e];return t}interpolate_(){throw Error(`THREE.Interpolant: Call to abstract method.`)}intervalChanged_(){}},CubicInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:ai,endingEnd:ai}}intervalChanged_(e,t,n){let r=this.parameterPositions,i=e-2,a=e+1,o=r[i],s=r[a];if(o===void 0)switch(this.getSettings_().endingStart){case oi:i=e,o=2*t-n;break;case si:i=r.length-2,o=t+r[i]-r[i+1];break;default:i=e,o=n}if(s===void 0)switch(this.getSettings_().endingEnd){case oi:a=e,s=2*n-t;break;case si:a=1,s=n+r[1]-r[0];break;default:a=e-1,s=t}let c=(n-t)*.5,l=this.valueSize;this._weightPrev=c/(t-o),this._weightNext=c/(s-n),this._offsetPrev=i*l,this._offsetNext=a*l}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=this._offsetPrev,u=this._offsetNext,d=this._weightPrev,f=this._weightNext,p=(n-t)/(r-t),m=p*p,h=m*p,g=-d*h+2*d*m-d*p,_=(1+d)*h+(-1.5-2*d)*m+(-.5+d)*p+1,v=(-1-f)*h+(1.5+f)*m+.5*p,y=f*h-f*m;for(let e=0;e!==o;++e)i[e]=g*a[l+e]+_*a[c+e]+v*a[s+e]+y*a[u+e];return i}},LinearInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=(n-t)/(r-t),u=1-l;for(let e=0;e!==o;++e)i[e]=a[c+e]*u+a[s+e]*l;return i}},DiscreteInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e){return this.copySampleValue_(e-1)}},BezierInterpolant=class extends Interpolant{interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,c=s-o,l=this.inTangents,u=this.outTangents;if(!l||!u){let e=(n-t)/(r-t),l=1-e;for(let t=0;t!==o;++t)i[t]=a[c+t]*l+a[s+t]*e;return i}let d=o*2,f=e-1;for(let p=0;p!==o;++p){let o=a[c+p],m=a[s+p],h=f*d+p*2,g=u[h],_=u[h+1],v=e*d+p*2,y=l[v],b=l[v+1],x=(n-t)/(r-t),S,C,w,T,E;for(let e=0;e<8;e++){S=x*x,C=S*x,w=1-x,T=w*w,E=T*w;let e=E*t+3*T*x*g+3*w*S*y+C*r-n;if(Math.abs(e)<1e-10)break;let i=3*T*(g-t)+6*w*x*(y-g)+3*S*(r-y);if(Math.abs(i)<1e-10)break;x-=e/i,x=Math.max(0,Math.min(1,x))}i[p]=E*o+3*T*x*_+3*w*S*b+C*m}return i}},KeyframeTrack=class{constructor(e,t,n,r){if(e===void 0)throw Error(`THREE.KeyframeTrack: track name is undefined`);if(t===void 0||t.length===0)throw Error(`THREE.KeyframeTrack: no keyframes in track named `+e);this.name=e,this.times=convertArray(t,this.TimeBufferType),this.values=convertArray(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){let t=e.constructor,n;if(t.toJSON!==this.toJSON)n=t.toJSON(e);else{n={name:e.name,times:convertArray(e.times,Array),values:convertArray(e.values,Array)};let t=e.getInterpolation();t!==e.DefaultInterpolation&&(n.interpolation=t)}return n.type=e.ValueTypeName,n}InterpolantFactoryMethodDiscrete(e){return new DiscreteInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new LinearInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new CubicInterpolant(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodBezier(e){let t=new BezierInterpolant(this.times,this.values,this.getValueSize(),e);return this.settings&&(t.inTangents=this.settings.inTangents,t.outTangents=this.settings.outTangents),t}setInterpolation(e){let t;switch(e){case ti:t=this.InterpolantFactoryMethodDiscrete;break;case ni:t=this.InterpolantFactoryMethodLinear;break;case ri:t=this.InterpolantFactoryMethodSmooth;break;case ii:t=this.InterpolantFactoryMethodBezier;break}if(t===void 0){let t=`unsupported interpolation for `+this.ValueTypeName+` keyframe track named `+this.name;if(this.createInterpolant===void 0)if(e!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw Error(t);return warn(`KeyframeTrack:`,t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return ti;case this.InterpolantFactoryMethodLinear:return ni;case this.InterpolantFactoryMethodSmooth:return ri;case this.InterpolantFactoryMethodBezier:return ii}}getValueSize(){return this.values.length/this.times.length}shift(e){if(e!==0){let t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]+=e}return this}scale(e){if(e!==1){let t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]*=e}return this}trim(e,t){let n=this.times,r=n.length,i=0,a=r-1;for(;i!==r&&n[i]<e;)++i;for(;a!==-1&&n[a]>t;)--a;if(++a,i!==0||a!==r){i>=a&&(a=Math.max(a,1),i=a-1);let e=this.getValueSize();this.times=n.slice(i,a),this.values=this.values.slice(i*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(error(`KeyframeTrack: Invalid value size in track.`,this),e=!1);let n=this.times,r=this.values,i=n.length;i===0&&(error(`KeyframeTrack: Track is empty.`,this),e=!1);let a=null;for(let t=0;t!==i;t++){let r=n[t];if(typeof r==`number`&&isNaN(r)){error(`KeyframeTrack: Time is not a valid number.`,this,t,r),e=!1;break}if(a!==null&&a>r){error(`KeyframeTrack: Out of order keys.`,this,t,r,a),e=!1;break}a=r}if(r!==void 0&&isTypedArray(r))for(let t=0,n=r.length;t!==n;++t){let n=r[t];if(isNaN(n)){error(`KeyframeTrack: Value is not a valid number.`,this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===ri,i=e.length-1,a=1;for(let o=1;o<i;++o){let i=!1,s=e[o];if(s!==e[o+1]&&(o!==1||s!==e[0]))if(r)i=!0;else{let e=o*n,r=e-n,a=e+n;for(let o=0;o!==n;++o){let n=t[e+o];if(n!==t[r+o]||n!==t[a+o]){i=!0;break}}}if(i){if(o!==a){e[a]=e[o];let r=o*n,i=a*n;for(let e=0;e!==n;++e)t[i+e]=t[r+e]}++a}}if(i>0){e[a]=e[i];for(let e=i*n,r=a*n,o=0;o!==n;++o)t[r+o]=t[e+o];++a}return a===e.length?(this.times=e,this.values=t):(this.times=e.slice(0,a),this.values=t.slice(0,a*n)),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=this.constructor,r=new n(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}};KeyframeTrack.prototype.ValueTypeName=``,KeyframeTrack.prototype.TimeBufferType=Float32Array,KeyframeTrack.prototype.ValueBufferType=Float32Array,KeyframeTrack.prototype.DefaultInterpolation=ni;var BooleanKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n){super(e,t,n)}};BooleanKeyframeTrack.prototype.ValueTypeName=`bool`,BooleanKeyframeTrack.prototype.ValueBufferType=Array,BooleanKeyframeTrack.prototype.DefaultInterpolation=ti,BooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0,BooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var ColorKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};ColorKeyframeTrack.prototype.ValueTypeName=`color`;var NumberKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};NumberKeyframeTrack.prototype.ValueTypeName=`number`;var QuaternionLinearInterpolant=class extends Interpolant{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=(n-t)/(r-t),c=e*o;for(let e=c+o;c!==e;c+=4)Quaternion.slerpFlat(i,0,a,c-o,a,c,s);return i}},QuaternionKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}InterpolantFactoryMethodLinear(e){return new QuaternionLinearInterpolant(this.times,this.values,this.getValueSize(),e)}};QuaternionKeyframeTrack.prototype.ValueTypeName=`quaternion`,QuaternionKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var StringKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n){super(e,t,n)}};StringKeyframeTrack.prototype.ValueTypeName=`string`,StringKeyframeTrack.prototype.ValueBufferType=Array,StringKeyframeTrack.prototype.DefaultInterpolation=ti,StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0,StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;var VectorKeyframeTrack=class extends KeyframeTrack{constructor(e,t,n,r){super(e,t,n,r)}};VectorKeyframeTrack.prototype.ValueTypeName=`vector`;const jo={enabled:!1,files:{},add:function(e,t){this.enabled!==!1&&(isBlobURL(e)||(this.files[e]=t))},get:function(e){if(this.enabled!==!1&&!isBlobURL(e))return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};function isBlobURL(e){try{let t=e.slice(e.indexOf(`:`)+1);return new URL(t).protocol===`blob:`}catch{return!1}}var LoadingManager=class{constructor(e,t,n){let r=this,i=!1,a=0,o=0,s,c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=n,this._abortController=null,this.itemStart=function(e){o++,i===!1&&r.onStart!==void 0&&r.onStart(e,a,o),i=!0},this.itemEnd=function(e){a++,r.onProgress!==void 0&&r.onProgress(e,a,o),a===o&&(i=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(e){r.onError!==void 0&&r.onError(e)},this.resolveURL=function(e){return e=e.normalize(`NFC`),s?s(e):e},this.setURLModifier=function(e){return s=e,this},this.addHandler=function(e,t){return c.push(e,t),this},this.removeHandler=function(e){let t=c.indexOf(e);return t!==-1&&c.splice(t,2),this},this.getHandler=function(e){for(let t=0,n=c.length;t<n;t+=2){let n=c[t],r=c[t+1];if(n.global&&(n.lastIndex=0),n.test(e))return r}return null},this.abort=function(){return this.abortController.abort(),this._abortController=null,this}}get abortController(){return this._abortController||=new AbortController,this._abortController}};const Mo=new LoadingManager;var Loader=class{constructor(e){this.manager=e===void 0?Mo:e,this.crossOrigin=`anonymous`,this.withCredentials=!1,this.path=``,this.resourcePath=``,this.requestHeader={},typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}load(){}loadAsync(e,t){let n=this;return new Promise(function(r,i){n.load(e,r,t,i)})}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}abort(){return this}};Loader.DEFAULT_MATERIAL_NAME=`__DEFAULT`;const No=new WeakMap;var ImageLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let i=this,a=jo.get(`image:${e}`);if(a!==void 0){if(a.complete===!0)i.manager.itemStart(e),setTimeout(function(){t&&t(a),i.manager.itemEnd(e)},0);else{let e=No.get(a);e===void 0&&(e=[],No.set(a,e)),e.push({onLoad:t,onError:r})}return a}let o=createElementNS(`img`);function onImageLoad(){removeEventListeners(),t&&t(this);let n=No.get(this)||[];for(let e=0;e<n.length;e++){let t=n[e];t.onLoad&&t.onLoad(this)}No.delete(this),i.manager.itemEnd(e)}function onImageError(t){removeEventListeners(),r&&r(t),jo.remove(`image:${e}`);let n=No.get(this)||[];for(let e=0;e<n.length;e++){let r=n[e];r.onError&&r.onError(t)}No.delete(this),i.manager.itemError(e),i.manager.itemEnd(e)}function removeEventListeners(){o.removeEventListener(`load`,onImageLoad,!1),o.removeEventListener(`error`,onImageError,!1)}return o.addEventListener(`load`,onImageLoad,!1),o.addEventListener(`error`,onImageError,!1),e.slice(0,5)!==`data:`&&this.crossOrigin!==void 0&&(o.crossOrigin=this.crossOrigin),jo.add(`image:${e}`,o),i.manager.itemStart(e),o.src=e,o}},CubeTextureLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){let i=new CubeTexture;i.colorSpace=ci;let a=new ImageLoader(this.manager);a.setCrossOrigin(this.crossOrigin),a.setPath(this.path);let o=0;function loadTexture(n){a.load(e[n],function(e){i.images[n]=e,o++,o===6&&(i.needsUpdate=!0,t&&t(i))},void 0,r)}for(let t=0;t<e.length;++t)loadTexture(t);return i}},TextureLoader=class extends Loader{constructor(e){super(e)}load(e,t,n,r){let i=new Ni,a=new ImageLoader(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,function(e){i.image=e,i.needsUpdate=!0,t!==void 0&&t(i)},n,r),i}},Light=class extends sa{constructor(e,t=1){super(),this.isLight=!0,this.type=`Light`,this.color=new Color(e),this.intensity=t}dispose(){this.dispatchEvent({type:`dispose`})}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){let t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,t}};const Po=new Fi,Fo=new I,Io=new I;var LightShadow=class{constructor(e){this.camera=e,this.intensity=1,this.bias=0,this.biasNode=null,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new xi(512,512),this.mapType=Br,this.map=null,this.mapPass=null,this.matrix=new Fi,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Frustum,this._frameExtents=new xi(1,1),this._viewportCount=1,this._viewports=[new Pi(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){let t=this.camera,n=this.matrix;Fo.setFromMatrixPosition(e.matrixWorld),t.position.copy(Fo),Io.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(Io),t.updateMatrixWorld(),Po.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Po,t.coordinateSystem,t.reversedDepth),t.coordinateSystem===2001||t.reversedDepth?n.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1):n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(Po)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.intensity=e.intensity,this.bias=e.bias,this.radius=e.radius,this.autoUpdate=e.autoUpdate,this.needsUpdate=e.needsUpdate,this.normalBias=e.normalBias,this.blurSamples=e.blurSamples,this.mapSize.copy(e.mapSize),this.biasNode=e.biasNode,this}clone(){return new this.constructor().copy(this)}toJSON(){let e={};return this.intensity!==1&&(e.intensity=this.intensity),this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}};const Lo=new I,Ro=new Quaternion,zo=new I;var Camera=class extends sa{constructor(){super(),this.isCamera=!0,this.type=`Camera`,this.matrixWorldInverse=new Fi,this.projectionMatrix=new Fi,this.projectionMatrixInverse=new Fi,this.coordinateSystem=pi,this._reversedDepth=!1}get reversedDepth(){return this._reversedDepth}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorld.decompose(Lo,Ro,zo),zo.x===1&&zo.y===1&&zo.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(Lo,Ro,zo.set(1,1,1)).invert()}updateWorldMatrix(e,t,n=!1){super.updateWorldMatrix(e,t,n),this.matrixWorld.decompose(Lo,Ro,zo),zo.x===1&&zo.y===1&&zo.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(Lo,Ro,zo.set(1,1,1)).invert()}clone(){return new this.constructor().copy(this)}};const Bo=new I,Vo=new xi,Ho=new xi;var PerspectiveCamera=class extends Camera{constructor(e=50,t=1,n=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type=`PerspectiveCamera`,this.fov=e,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=yi*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(vi*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return yi*2*Math.atan(Math.tan(vi*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){Bo.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Bo.x,Bo.y).multiplyScalar(-e/Bo.z),Bo.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(Bo.x,Bo.y).multiplyScalar(-e/Bo.z)}getViewSize(e,t){return this.getViewBounds(e,Vo,Ho),t.subVectors(Ho,Vo)}setViewOffset(e,t,n,r,i,a){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(vi*.5*this.fov)/this.zoom,n=2*t,r=this.aspect*n,i=-.5*r,a=this.view;if(this.view!==null&&this.view.enabled){let e=a.fullWidth,o=a.fullHeight;i+=a.offsetX*r/e,t-=a.offsetY*n/o,r*=a.width/e,n*=a.height/o}let o=this.filmOffset;o!==0&&(i+=e*o/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,t,t-n,e,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}},OrthographicCamera=class extends Camera{constructor(e=-1,t=1,n=1,r=-1,i=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type=`OrthographicCamera`,this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=n,this.bottom=r,this.near=i,this.far=a,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,n,r,i,a){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2,i=n-e,a=n+e,o=r+t,s=r-t;if(this.view!==null&&this.view.enabled){let e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=e*this.view.offsetX,a=i+e*this.view.width,o-=t*this.view.offsetY,s=o-t*this.view.height}this.projectionMatrix.makeOrthographic(i,a,o,s,this.near,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}},DirectionalLightShadow=class extends LightShadow{constructor(){super(new OrthographicCamera(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}},DirectionalLight=class extends Light{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type=`DirectionalLight`,this.position.copy(sa.DEFAULT_UP),this.updateMatrix(),this.target=new sa,this.shadow=new DirectionalLightShadow}dispose(){super.dispose(),this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}toJSON(e){let t=super.toJSON(e);return t.object.shadow=this.shadow.toJSON(),t.object.target=this.target.uuid,t}},AmbientLight=class extends Light{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type=`AmbientLight`}},CubeCamera=class extends sa{constructor(e,t,n){super(),this.type=`CubeCamera`,this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;let r=new PerspectiveCamera(-90,1,e,t);r.layers=this.layers,this.add(r);let i=new PerspectiveCamera(-90,1,e,t);i.layers=this.layers,this.add(i);let a=new PerspectiveCamera(-90,1,e,t);a.layers=this.layers,this.add(a);let o=new PerspectiveCamera(-90,1,e,t);o.layers=this.layers,this.add(o);let s=new PerspectiveCamera(-90,1,e,t);s.layers=this.layers,this.add(s);let c=new PerspectiveCamera(-90,1,e,t);c.layers=this.layers,this.add(c)}updateCoordinateSystem(){let e=this.coordinateSystem,t=this.children.concat(),[n,r,i,a,o,s]=t;for(let e of t)this.remove(e);if(e===2e3)n.up.set(0,1,0),n.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),i.up.set(0,0,-1),i.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),o.up.set(0,1,0),o.lookAt(0,0,1),s.up.set(0,1,0),s.lookAt(0,0,-1);else if(e===2001)n.up.set(0,-1,0),n.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),i.up.set(0,0,1),i.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),o.up.set(0,-1,0),o.lookAt(0,0,1),s.up.set(0,-1,0),s.lookAt(0,0,-1);else throw Error(`THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: `+e);for(let e of t)this.add(e),e.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:r}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());let[i,a,o,s,c,l]=this.children,u=e.getRenderTarget(),d=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;let m=n.texture.generateMipmaps;n.texture.generateMipmaps=!1;let h=!1;h=e.isWebGLRenderer===!0?e.state.buffers.depth.getReversed():e.reversedDepthBuffer,e.setRenderTarget(n,0,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,i),e.setRenderTarget(n,1,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,a),e.setRenderTarget(n,2,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,o),e.setRenderTarget(n,3,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,s),e.setRenderTarget(n,4,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,c),n.texture.generateMipmaps=m,e.setRenderTarget(n,5,r),h&&e.autoClear===!1&&e.clearDepth(),e.render(t,l),e.setRenderTarget(u,d,f),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}},ArrayCamera=class extends PerspectiveCamera{constructor(e=[]){super(),this.isArrayCamera=!0,this.isMultiViewCamera=!1,this.cameras=e}};const Uo=RegExp(`[\\[\\]\\.:\\/]`,`g`),Wo=RegExp(`^((?:[^\\[\\]\\.:\\/]+[\\/:])*)([^\\[\\]:\\/]+)?(?:\\.([^\\[\\]\\.:\\/]+)(?:\\[(.+)\\])?)?\\.([^\\[\\]\\.:\\/]+)(?:\\[(.+)\\])?$`),Go=[`material`,`materials`,`bones`,`map`];var Composite=class{constructor(e,t,n){let r=n||Ko.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();let n=this._targetGroup.nCachedObjects_,r=this._bindings[n];r!==void 0&&r.getValue(e,t)}setValue(e,t){let n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(e,t)}bind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()}unbind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}},Ko=class PropertyBinding{constructor(e,t,n){this.path=t,this.parsedPath=n||PropertyBinding.parseTrackName(t),this.node=PropertyBinding.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new PropertyBinding.Composite(e,t,n):new PropertyBinding(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,`_`).replace(Uo,``)}static parseTrackName(e){let t=Wo.exec(e);if(t===null)throw Error(`THREE.PropertyBinding: Cannot parse trackName: `+e);let n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(`.`);if(r!==void 0&&r!==-1){let e=n.nodeName.substring(r+1);Go.indexOf(e)!==-1&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=e)}if(n.propertyName===null||n.propertyName.length===0)throw Error(`THREE.PropertyBinding: can not parse propertyName from trackName: `+e);return n}static findNode(e,t){if(t===void 0||t===``||t===`.`||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){let n=e.skeleton.getBoneByName(t);if(n!==void 0)return n}if(e.children){let searchNodeSubtree=function(e){for(let n=0;n<e.length;n++){let r=e[n];if(r.name===t||r.uuid===t)return r;let i=searchNodeSubtree(r.children);if(i)return i}return null},n=searchNodeSubtree(e.children);if(n)return n}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)e[t++]=n[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){let n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node,t=this.parsedPath,n=t.objectName,r=t.propertyName,i=t.propertyIndex;if(e||(e=PropertyBinding.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e){warn(`PropertyBinding: No target node found for track: `+this.path+`.`);return}if(n){let r=t.objectIndex;switch(n){case`materials`:if(!e.material){error(`PropertyBinding: Can not bind to material as node does not have a material.`,this);return}if(!e.material.materials){error(`PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.`,this);return}e=e.material.materials;break;case`bones`:if(!e.skeleton){error(`PropertyBinding: Can not bind to bones as node does not have a skeleton.`,this);return}e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===r){r=t;break}break;case`map`:if(`map`in e){e=e.map;break}if(!e.material){error(`PropertyBinding: Can not bind to material as node does not have a material.`,this);return}if(!e.material.map){error(`PropertyBinding: Can not bind to material.map as node.material does not have a map.`,this);return}e=e.material.map;break;default:if(e[n]===void 0){error(`PropertyBinding: Can not bind to objectName of node undefined.`,this);return}e=e[n]}if(r!==void 0){if(e[r]===void 0){error(`PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.`,this,e);return}e=e[r]}}let a=e[r];if(a===void 0){let n=t.nodeName;error(`PropertyBinding: Trying to update property for track: `+n+`.`+r+` but it wasn't found.`,e);return}let o=this.Versioning.None;this.targetObject=e,e.isMaterial===!0?o=this.Versioning.NeedsUpdate:e.isObject3D===!0&&(o=this.Versioning.MatrixWorldNeedsUpdate);let s=this.BindingType.Direct;if(i!==void 0){if(r===`morphTargetInfluences`){if(!e.geometry){error(`PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.`,this);return}if(!e.geometry.morphAttributes){error(`PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.`,this);return}e.morphTargetDictionary[i]!==void 0&&(i=e.morphTargetDictionary[i])}s=this.BindingType.ArrayElement,this.resolvedProperty=a,this.propertyIndex=i}else a.fromArray!==void 0&&a.toArray!==void 0?(s=this.BindingType.HasFromToArray,this.resolvedProperty=a):Array.isArray(a)?(s=this.BindingType.EntireArray,this.resolvedProperty=a):this.propertyName=r;this.getValue=this.GetterByBindingType[s],this.setValue=this.SetterByBindingTypeAndVersioning[s][o]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}};Ko.Composite=Composite,Ko.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Ko.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Ko.prototype.GetterByBindingType=[Ko.prototype._getValue_direct,Ko.prototype._getValue_array,Ko.prototype._getValue_arrayElement,Ko.prototype._getValue_toArray],Ko.prototype.SetterByBindingTypeAndVersioning=[[Ko.prototype._setValue_direct,Ko.prototype._setValue_direct_setNeedsUpdate,Ko.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Ko.prototype._setValue_array,Ko.prototype._setValue_array_setNeedsUpdate,Ko.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Ko.prototype._setValue_arrayElement,Ko.prototype._setValue_arrayElement_setNeedsUpdate,Ko.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Ko.prototype._setValue_fromArray,Ko.prototype._setValue_fromArray_setNeedsUpdate,Ko.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];var Spherical=class{constructor(e=1,t=0,n=0){this.radius=e,this.phi=t,this.theta=n}set(e,t,n){return this.radius=e,this.phi=t,this.theta=n,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){let e=1e-6;return this.phi=clamp(this.phi,e,Math.PI-e),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+t*t+n*n),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,n),this.phi=Math.acos(clamp(t/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}};(class Matrix2{static{Matrix2.prototype.isMatrix2=!0}constructor(e,t,n,r){this.elements=[1,0,0,1],e!==void 0&&this.set(e,t,n,r)}identity(){return this.set(1,0,0,1),this}fromArray(e,t=0){for(let n=0;n<4;n++)this.elements[n]=e[n+t];return this}set(e,t,n,r){let i=this.elements;return i[0]=e,i[2]=t,i[1]=n,i[3]=r,this}});var Controls=class extends EventDispatcher{constructor(e,t=null){super(),this.object=e,this.domElement=t,this.enabled=!0,this.state=-1,this.keys={},this.mouseButtons={LEFT:null,MIDDLE:null,RIGHT:null},this.touches={ONE:null,TWO:null}}connect(e){if(e===void 0){warn(`Controls: connect() now requires an element.`);return}this.domElement!==null&&this.disconnect(),this.domElement=e}disconnect(){}dispose(){}update(){}};function getByteLength(e,t,n,r){let i=getTextureTypeByteLength(r);switch(n){case 1021:return e*t;case 1028:return e*t/i.components*i.byteLength;case Zr:return e*t/i.components*i.byteLength;case Qr:return e*t*2/i.components*i.byteLength;case $r:return e*t*2/i.components*i.byteLength;case 1022:return e*t*3/i.components*i.byteLength;case Jr:return e*t*4/i.components*i.byteLength;case ei:return e*t*4/i.components*i.byteLength;case 33776:case 33777:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case 33778:case 33779:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 35841:case 35843:return Math.max(e,16)*Math.max(t,8)/4;case 35840:case 35842:return Math.max(e,8)*Math.max(t,8)/2;case 36196:case 37492:case 37488:case 37489:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case 37496:case 37490:case 37491:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 37808:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case 37809:return Math.floor((e+4)/5)*Math.floor((t+3)/4)*16;case 37810:return Math.floor((e+4)/5)*Math.floor((t+4)/5)*16;case 37811:return Math.floor((e+5)/6)*Math.floor((t+4)/5)*16;case 37812:return Math.floor((e+5)/6)*Math.floor((t+5)/6)*16;case 37813:return Math.floor((e+7)/8)*Math.floor((t+4)/5)*16;case 37814:return Math.floor((e+7)/8)*Math.floor((t+5)/6)*16;case 37815:return Math.floor((e+7)/8)*Math.floor((t+7)/8)*16;case 37816:return Math.floor((e+9)/10)*Math.floor((t+4)/5)*16;case 37817:return Math.floor((e+9)/10)*Math.floor((t+5)/6)*16;case 37818:return Math.floor((e+9)/10)*Math.floor((t+7)/8)*16;case 37819:return Math.floor((e+9)/10)*Math.floor((t+9)/10)*16;case 37820:return Math.floor((e+11)/12)*Math.floor((t+9)/10)*16;case 37821:return Math.floor((e+11)/12)*Math.floor((t+11)/12)*16;case 36492:case 36494:case 36495:return Math.ceil(e/4)*Math.ceil(t/4)*16;case 36283:case 36284:return Math.ceil(e/4)*Math.ceil(t/4)*8;case 36285:case 36286:return Math.ceil(e/4)*Math.ceil(t/4)*16}throw Error(`Unable to determine texture byte length for ${n} format.`)}function getTextureTypeByteLength(e){switch(e){case Br:case 1010:return{byteLength:1,components:1};case Vr:case 1011:case Wr:return{byteLength:2,components:1};case Gr:case Kr:return{byteLength:2,components:4};case Hr:case 1013:case Ur:return{byteLength:4,components:1};case 35902:case 35899:return{byteLength:4,components:3}}throw Error(`THREE.TextureUtils: Unknown texture type ${e}.`)}typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`register`,{detail:{revision:`185`}})),typeof globalThis<`u`&&(globalThis.__THREE__?warn(`WARNING: Multiple instances of Three.js being imported.`):globalThis.__THREE__=`185`);
|
|
89
89
|
/**
|
|
90
90
|
* @license
|
|
91
91
|
* Copyright 2010-2026 Three.js Authors
|
|
92
92
|
* SPDX-License-Identifier: MIT
|
|
93
93
|
*/
|
|
94
|
-
function WebGLAnimation(){let e=null,t=!1,n=null,r=null;function onAnimationFrame(t,i){n(t,i),r=e.requestAnimationFrame(onAnimationFrame)}return{start:function(){t!==!0&&n!==null&&e!==null&&(r=e.requestAnimationFrame(onAnimationFrame),t=!0)},stop:function(){e!==null&&e.cancelAnimationFrame(r),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function WebGLAttributes(e){let t=new WeakMap;function createBuffer(t,n){let r=t.array,i=t.usage,a=r.byteLength,o=e.createBuffer();e.bindBuffer(n,o),e.bufferData(n,r,i),t.onUploadCallback();let s;if(r instanceof Float32Array)s=e.FLOAT;else if(typeof Float16Array<`u`&&r instanceof Float16Array)s=e.HALF_FLOAT;else if(r instanceof Uint16Array)s=t.isFloat16BufferAttribute?e.HALF_FLOAT:e.UNSIGNED_SHORT;else if(r instanceof Int16Array)s=e.SHORT;else if(r instanceof Uint32Array)s=e.UNSIGNED_INT;else if(r instanceof Int32Array)s=e.INT;else if(r instanceof Int8Array)s=e.BYTE;else if(r instanceof Uint8Array)s=e.UNSIGNED_BYTE;else if(r instanceof Uint8ClampedArray)s=e.UNSIGNED_BYTE;else throw Error(`THREE.WebGLAttributes: Unsupported buffer data format: `+r);return{buffer:o,type:s,bytesPerElement:r.BYTES_PER_ELEMENT,version:t.version,size:a}}function updateBuffer(t,n,r){let i=n.array,a=n.updateRanges;if(e.bindBuffer(r,t),a.length===0)e.bufferSubData(r,0,i);else{a.sort((e,t)=>e.start-t.start);let t=0;for(let e=1;e<a.length;e++){let n=a[t],r=a[e];r.start<=n.start+n.count+1?n.count=Math.max(n.count,r.start+r.count-n.start):(++t,a[t]=r)}a.length=t+1;for(let t=0,n=a.length;t<n;t++){let n=a[t];e.bufferSubData(r,n.start*i.BYTES_PER_ELEMENT,i,n.start,n.count)}n.clearUpdateRanges()}n.onUploadCallback()}function get(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)}function remove(n){n.isInterleavedBufferAttribute&&(n=n.data);let r=t.get(n);r&&(e.deleteBuffer(r.buffer),t.delete(n))}function update(e,n){if(e.isInterleavedBufferAttribute&&(e=e.data),e.isGLBufferAttribute){let n=t.get(e);(!n||n.version<e.version)&&t.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version});return}let r=t.get(e);if(r===void 0)t.set(e,createBuffer(e,n));else if(r.version<e.version){if(r.size!==e.array.byteLength)throw Error(`THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.`);updateBuffer(r.buffer,e,n),r.version=e.version}}return{get,remove,update}}const
|
|
94
|
+
function WebGLAnimation(){let e=null,t=!1,n=null,r=null;function onAnimationFrame(t,i){n(t,i),r=e.requestAnimationFrame(onAnimationFrame)}return{start:function(){t!==!0&&n!==null&&e!==null&&(r=e.requestAnimationFrame(onAnimationFrame),t=!0)},stop:function(){e!==null&&e.cancelAnimationFrame(r),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function WebGLAttributes(e){let t=new WeakMap;function createBuffer(t,n){let r=t.array,i=t.usage,a=r.byteLength,o=e.createBuffer();e.bindBuffer(n,o),e.bufferData(n,r,i),t.onUploadCallback();let s;if(r instanceof Float32Array)s=e.FLOAT;else if(typeof Float16Array<`u`&&r instanceof Float16Array)s=e.HALF_FLOAT;else if(r instanceof Uint16Array)s=t.isFloat16BufferAttribute?e.HALF_FLOAT:e.UNSIGNED_SHORT;else if(r instanceof Int16Array)s=e.SHORT;else if(r instanceof Uint32Array)s=e.UNSIGNED_INT;else if(r instanceof Int32Array)s=e.INT;else if(r instanceof Int8Array)s=e.BYTE;else if(r instanceof Uint8Array)s=e.UNSIGNED_BYTE;else if(r instanceof Uint8ClampedArray)s=e.UNSIGNED_BYTE;else throw Error(`THREE.WebGLAttributes: Unsupported buffer data format: `+r);return{buffer:o,type:s,bytesPerElement:r.BYTES_PER_ELEMENT,version:t.version,size:a}}function updateBuffer(t,n,r){let i=n.array,a=n.updateRanges;if(e.bindBuffer(r,t),a.length===0)e.bufferSubData(r,0,i);else{a.sort((e,t)=>e.start-t.start);let t=0;for(let e=1;e<a.length;e++){let n=a[t],r=a[e];r.start<=n.start+n.count+1?n.count=Math.max(n.count,r.start+r.count-n.start):(++t,a[t]=r)}a.length=t+1;for(let t=0,n=a.length;t<n;t++){let n=a[t];e.bufferSubData(r,n.start*i.BYTES_PER_ELEMENT,i,n.start,n.count)}n.clearUpdateRanges()}n.onUploadCallback()}function get(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)}function remove(n){n.isInterleavedBufferAttribute&&(n=n.data);let r=t.get(n);r&&(e.deleteBuffer(r.buffer),t.delete(n))}function update(e,n){if(e.isInterleavedBufferAttribute&&(e=e.data),e.isGLBufferAttribute){let n=t.get(e);(!n||n.version<e.version)&&t.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version});return}let r=t.get(e);if(r===void 0)t.set(e,createBuffer(e,n));else if(r.version<e.version){if(r.size!==e.array.byteLength)throw Error(`THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.`);updateBuffer(r.buffer,e,n),r.version=e.version}}return{get,remove,update}}const qo={alphahash_fragment:`#ifdef USE_ALPHAHASH
|
|
95
95
|
if ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;
|
|
96
96
|
#endif`,alphahash_pars_fragment:`#ifdef USE_ALPHAHASH
|
|
97
97
|
const float ALPHA_HASH_SCALE = 0.05;
|
|
@@ -3757,7 +3757,7 @@ void main() {
|
|
|
3757
3757
|
#include <tonemapping_fragment>
|
|
3758
3758
|
#include <colorspace_fragment>
|
|
3759
3759
|
#include <fog_fragment>
|
|
3760
|
-
}`},L={common:{diffuse:{value:new Color(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Si},alphaMap:{value:null},alphaMapTransform:{value:new Si},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Si}},envmap:{envMap:{value:null},envMapRotation:{value:new Si},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98},dfgLUT:{value:null}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Si}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Si}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Si},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Si},normalScale:{value:new yi(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Si},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Si}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Si}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Si}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Color(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null},probesSH:{value:null},probesMin:{value:new I},probesMax:{value:new I},probesResolution:{value:new I}},points:{diffuse:{value:new Color(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Si},alphaTest:{value:0},uvTransform:{value:new Si}},sprite:{diffuse:{value:new Color(16777215)},opacity:{value:1},center:{value:new yi(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Si},alphaMap:{value:null},alphaMapTransform:{value:new Si},alphaTest:{value:0}}},Ko={basic:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.fog]),vertexShader:Go.meshbasic_vert,fragmentShader:Go.meshbasic_frag},lambert:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.fog,L.lights,{emissive:{value:new Color(0)},envMapIntensity:{value:1}}]),vertexShader:Go.meshlambert_vert,fragmentShader:Go.meshlambert_frag},phong:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.fog,L.lights,{emissive:{value:new Color(0)},specular:{value:new Color(1118481)},shininess:{value:30},envMapIntensity:{value:1}}]),vertexShader:Go.meshphong_vert,fragmentShader:Go.meshphong_frag},standard:{uniforms:mergeUniforms([L.common,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.roughnessmap,L.metalnessmap,L.fog,L.lights,{emissive:{value:new Color(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Go.meshphysical_vert,fragmentShader:Go.meshphysical_frag},toon:{uniforms:mergeUniforms([L.common,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.gradientmap,L.fog,L.lights,{emissive:{value:new Color(0)}}]),vertexShader:Go.meshtoon_vert,fragmentShader:Go.meshtoon_frag},matcap:{uniforms:mergeUniforms([L.common,L.bumpmap,L.normalmap,L.displacementmap,L.fog,{matcap:{value:null}}]),vertexShader:Go.meshmatcap_vert,fragmentShader:Go.meshmatcap_frag},points:{uniforms:mergeUniforms([L.points,L.fog]),vertexShader:Go.points_vert,fragmentShader:Go.points_frag},dashed:{uniforms:mergeUniforms([L.common,L.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Go.linedashed_vert,fragmentShader:Go.linedashed_frag},depth:{uniforms:mergeUniforms([L.common,L.displacementmap]),vertexShader:Go.depth_vert,fragmentShader:Go.depth_frag},normal:{uniforms:mergeUniforms([L.common,L.bumpmap,L.normalmap,L.displacementmap,{opacity:{value:1}}]),vertexShader:Go.meshnormal_vert,fragmentShader:Go.meshnormal_frag},sprite:{uniforms:mergeUniforms([L.sprite,L.fog]),vertexShader:Go.sprite_vert,fragmentShader:Go.sprite_frag},background:{uniforms:{uvTransform:{value:new Si},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Go.background_vert,fragmentShader:Go.background_frag},backgroundCube:{uniforms:{envMap:{value:null},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Si}},vertexShader:Go.backgroundCube_vert,fragmentShader:Go.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Go.cube_vert,fragmentShader:Go.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Go.equirect_vert,fragmentShader:Go.equirect_frag},distance:{uniforms:mergeUniforms([L.common,L.displacementmap,{referencePosition:{value:new I},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Go.distance_vert,fragmentShader:Go.distance_frag},shadow:{uniforms:mergeUniforms([L.lights,L.fog,{color:{value:new Color(0)},opacity:{value:1}}]),vertexShader:Go.shadow_vert,fragmentShader:Go.shadow_frag}};Ko.physical={uniforms:mergeUniforms([Ko.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Si},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Si},clearcoatNormalScale:{value:new yi(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Si},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Si},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Si},sheen:{value:0},sheenColor:{value:new Color(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Si},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Si},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Si},transmissionSamplerSize:{value:new yi},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Si},attenuationDistance:{value:0},attenuationColor:{value:new Color(0)},specularColor:{value:new Color(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Si},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Si},anisotropyVector:{value:new yi},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Si}}]),vertexShader:Go.meshphysical_vert,fragmentShader:Go.meshphysical_frag};const qo={r:0,b:0,g:0},Jo=new Ni,Yo=new Si;Yo.set(-1,0,0,0,1,0,0,0,1);function WebGLBackground(e,t,n,r,i,a){let o=new Color(0),s=i===!0?0:1,c,l,u=null,d=0,f=null;function getBackground(e){let n=e.isScene===!0?e.background:null;if(n&&n.isTexture){let r=e.backgroundBlurriness>0;n=t.get(n,r)}return n}function render(t){let r=!1,i=getBackground(t);i===null?setClear(o,s):i&&i.isColor&&(setClear(i,1),r=!0);let c=e.xr.getEnvironmentBlendMode();c===`additive`?n.buffers.color.setClear(0,0,0,1,a):c===`alpha-blend`&&n.buffers.color.setClear(0,0,0,0,a),(e.autoClear||r)&&(n.buffers.depth.setTest(!0),n.buffers.depth.setMask(!0),n.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))}function addToRenderList(t,n){let i=getBackground(n);i&&(i.isCubeTexture||i.mapping===306)?(l===void 0&&(l=new Mesh(new wo(1,1,1),new ShaderMaterial({name:`BackgroundCubeMaterial`,uniforms:cloneUniforms(Ko.backgroundCube.uniforms),vertexShader:Ko.backgroundCube.vertexShader,fragmentShader:Ko.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),l.geometry.deleteAttribute(`normal`),l.geometry.deleteAttribute(`uv`),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),l.material.uniforms.envMap.value=i,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(Jo.makeRotationFromEuler(n.backgroundRotation)).transpose(),i.isCubeTexture&&i.isRenderTargetTexture===!1&&l.material.uniforms.backgroundRotation.value.premultiply(Yo),l.material.toneMapped=Ei.getTransfer(i.colorSpace)!==li,(u!==i||d!==i.version||f!==e.toneMapping)&&(l.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(c===void 0&&(c=new Mesh(new To(2,2),new ShaderMaterial({name:`BackgroundMaterial`,uniforms:cloneUniforms(Ko.background.uniforms),vertexShader:Ko.background.vertexShader,fragmentShader:Ko.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),c.geometry.deleteAttribute(`normal`),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=i,c.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,c.material.toneMapped=Ei.getTransfer(i.colorSpace)!==li,i.matrixAutoUpdate===!0&&i.updateMatrix(),c.material.uniforms.uvTransform.value.copy(i.matrix),(u!==i||d!==i.version||f!==e.toneMapping)&&(c.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),c.layers.enableAll(),t.unshift(c,c.geometry,c.material,0,0,null))}function setClear(t,r){t.getRGB(qo,getUnlitUniformColorSpace(e)),n.buffers.color.setClear(qo.r,qo.g,qo.b,r,a)}function dispose(){l!==void 0&&(l.geometry.dispose(),l.material.dispose(),l=void 0),c!==void 0&&(c.geometry.dispose(),c.material.dispose(),c=void 0)}return{getClearColor:function(){return o},setClearColor:function(e,t=1){o.set(e),s=t,setClear(o,s)},getClearAlpha:function(){return s},setClearAlpha:function(e){s=e,setClear(o,s)},render,addToRenderList,dispose}}function WebGLBindingStates(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),r={},i=createBindingState(null),a=i,o=!1;function setup(n,r,i,s,c){let l=!1,u=getBindingState(n,s,i,r);a!==u&&(a=u,bindVertexArrayObject(a.object)),l=needsUpdate(n,s,i,c),l&&saveCache(n,s,i,c),c!==null&&t.update(c,e.ELEMENT_ARRAY_BUFFER),(l||o)&&(o=!1,setupVertexAttributes(n,r,i,s),c!==null&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(c).buffer))}function createVertexArrayObject(){return e.createVertexArray()}function bindVertexArrayObject(t){return e.bindVertexArray(t)}function deleteVertexArrayObject(t){return e.deleteVertexArray(t)}function getBindingState(e,t,n,i){let a=i.wireframe===!0,o=r[t.id];o===void 0&&(o={},r[t.id]=o);let s=e.isInstancedMesh===!0?e.id:0,c=o[s];c===void 0&&(c={},o[s]=c);let l=c[n.id];l===void 0&&(l={},c[n.id]=l);let u=l[a];return u===void 0&&(u=createBindingState(createVertexArrayObject()),l[a]=u),u}function createBindingState(e){let t=[],r=[],i=[];for(let e=0;e<n;e++)t[e]=0,r[e]=0,i[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:r,attributeDivisors:i,object:e,attributes:{},index:null}}function needsUpdate(e,t,n,r){let i=a.attributes,o=t.attributes,s=0,c=n.getAttributes();for(let t in c)if(c[t].location>=0){let n=i[t],r=o[t];if(r===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(r=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(r=e.instanceColor)),n===void 0||n.attribute!==r||r&&n.data!==r.data)return!0;s++}return a.attributesNum!==s||a.index!==r}function saveCache(e,t,n,r){let i={},o=t.attributes,s=0,c=n.getAttributes();for(let t in c)if(c[t].location>=0){let n=o[t];n===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(n=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(n=e.instanceColor));let r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[t]=r,s++}a.attributes=i,a.attributesNum=s,a.index=r}function initAttributes(){let e=a.newAttributes;for(let t=0,n=e.length;t<n;t++)e[t]=0}function enableAttribute(e){enableAttributeAndDivisor(e,0)}function enableAttributeAndDivisor(t,n){let r=a.newAttributes,i=a.enabledAttributes,o=a.attributeDivisors;r[t]=1,i[t]===0&&(e.enableVertexAttribArray(t),i[t]=1),o[t]!==n&&(e.vertexAttribDivisor(t,n),o[t]=n)}function disableUnusedAttributes(){let t=a.newAttributes,n=a.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==t[r]&&(e.disableVertexAttribArray(r),n[r]=0)}function vertexAttribPointer(t,n,r,i,a,o,s){s===!0?e.vertexAttribIPointer(t,n,r,a,o):e.vertexAttribPointer(t,n,r,i,a,o)}function setupVertexAttributes(n,r,i,a){initAttributes();let o=a.attributes,s=i.getAttributes(),c=r.defaultAttributeValues;for(let r in s){let i=s[r];if(i.location>=0){let s=o[r];if(s===void 0&&(r===`instanceMatrix`&&n.instanceMatrix&&(s=n.instanceMatrix),r===`instanceColor`&&n.instanceColor&&(s=n.instanceColor)),s!==void 0){let r=s.normalized,o=s.itemSize,c=t.get(s);if(c===void 0)continue;let l=c.buffer,u=c.type,d=c.bytesPerElement,f=u===e.INT||u===e.UNSIGNED_INT||s.gpuType===1013;if(s.isInterleavedBufferAttribute){let t=s.data,c=t.stride,p=s.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e<i.locationSize;e++)enableAttributeAndDivisor(i.location+e,t.meshPerAttribute);n.isInstancedMesh!==!0&&a._maxInstanceCount===void 0&&(a._maxInstanceCount=t.meshPerAttribute*t.count)}else for(let e=0;e<i.locationSize;e++)enableAttribute(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)vertexAttribPointer(i.location+e,o/i.locationSize,u,r,c*d,(p+o/i.locationSize*e)*d,f)}else{if(s.isInstancedBufferAttribute){for(let e=0;e<i.locationSize;e++)enableAttributeAndDivisor(i.location+e,s.meshPerAttribute);n.isInstancedMesh!==!0&&a._maxInstanceCount===void 0&&(a._maxInstanceCount=s.meshPerAttribute*s.count)}else for(let e=0;e<i.locationSize;e++)enableAttribute(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)vertexAttribPointer(i.location+e,o/i.locationSize,u,r,o*d,o/i.locationSize*e*d,f)}}else if(c!==void 0){let t=c[r];if(t!==void 0)switch(t.length){case 2:e.vertexAttrib2fv(i.location,t);break;case 3:e.vertexAttrib3fv(i.location,t);break;case 4:e.vertexAttrib4fv(i.location,t);break;default:e.vertexAttrib1fv(i.location,t)}}}}disableUnusedAttributes()}function dispose(){reset();for(let e in r){let t=r[e];for(let e in t){let n=t[e];for(let e in n){let t=n[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete n[e]}}delete r[e]}}function releaseStatesOfGeometry(e){if(r[e.id]===void 0)return;let t=r[e.id];for(let e in t){let n=t[e];for(let e in n){let t=n[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete n[e]}}delete r[e.id]}function releaseStatesOfProgram(e){for(let t in r){let n=r[t];for(let t in n){let r=n[t];if(r[e.id]===void 0)continue;let i=r[e.id];for(let e in i)deleteVertexArrayObject(i[e].object),delete i[e];delete r[e.id]}}}function releaseStatesOfObject(e){for(let t in r){let n=r[t],i=e.isInstancedMesh===!0?e.id:0,a=n[i];if(a!==void 0){for(let e in a){let t=a[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete a[e]}delete n[i],Object.keys(n).length===0&&delete r[t]}}}function reset(){resetDefaultState(),o=!0,a!==i&&(a=i,bindVertexArrayObject(a.object))}function resetDefaultState(){i.geometry=null,i.program=null,i.wireframe=!1}return{setup,reset,resetDefaultState,dispose,releaseStatesOfGeometry,releaseStatesOfObject,releaseStatesOfProgram,initAttributes,enableAttribute,disableUnusedAttributes}}function WebGLBufferRenderer(e,t,n){let r;function setMode(e){r=e}function render(t,i){e.drawArrays(r,t,i),n.update(i,r,1)}function renderInstances(t,i,a){a!==0&&(e.drawArraysInstanced(r,t,i,a),n.update(i,r,a))}function renderMultiDraw(e,i,a){if(a===0)return;t.get(`WEBGL_multi_draw`).multiDrawArraysWEBGL(r,e,0,i,0,a);let o=0;for(let e=0;e<a;e++)o+=i[e];n.update(o,r,1)}this.setMode=setMode,this.render=render,this.renderInstances=renderInstances,this.renderMultiDraw=renderMultiDraw}function WebGLCapabilities(e,t,n,r){let i;function getMaxAnisotropy(){if(i!==void 0)return i;if(t.has(`EXT_texture_filter_anisotropic`)===!0){let n=t.get(`EXT_texture_filter_anisotropic`);i=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i}function textureFormatReadable(t){return!(t!==1023&&r.convert(t)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT))}function textureTypeReadable(n){let i=n===1016&&(t.has(`EXT_color_buffer_half_float`)||t.has(`EXT_color_buffer_float`));return!(n!==1009&&r.convert(n)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)&&n!==1015&&!i)}function getMaxPrecision(t){if(t===`highp`){if(e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return`highp`;t=`mediump`}return t===`mediump`&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?`mediump`:`lowp`}let a=n.precision===void 0?`highp`:n.precision,o=getMaxPrecision(a);o!==a&&(warn(`WebGLRenderer:`,a,`not supported, using`,o,`instead.`),a=o);let s=n.logarithmicDepthBuffer===!0,c=n.reversedDepthBuffer===!0&&t.has(`EXT_clip_control`);n.reversedDepthBuffer===!0&&c===!1&&warn(`WebGLRenderer: Unable to use reversed depth buffer due to missing EXT_clip_control extension. Fallback to default depth buffer.`);let l=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),u=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS),d=e.getParameter(e.MAX_TEXTURE_SIZE),f=e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),p=e.getParameter(e.MAX_VERTEX_ATTRIBS),m=e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),h=e.getParameter(e.MAX_VARYING_VECTORS),g=e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),_=e.getParameter(e.MAX_SAMPLES),v=e.getParameter(e.SAMPLES);return{isWebGL2:!0,getMaxAnisotropy,getMaxPrecision,textureFormatReadable,textureTypeReadable,precision:a,logarithmicDepthBuffer:s,reversedDepthBuffer:c,maxTextures:l,maxVertexTextures:u,maxTextureSize:d,maxCubemapSize:f,maxAttributes:p,maxVertexUniforms:m,maxVaryings:h,maxFragmentUniforms:g,maxSamples:_,samples:v}}function WebGLClipping(e){let t=this,n=null,r=0,i=!1,a=!1,o=new Plane,s=new Si,c={value:null,needsUpdate:!1};this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){let n=e.length!==0||t||r!==0||i;return i=t,r=e.length,n},this.beginShadows=function(){a=!0,projectPlanes(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(e,t){n=projectPlanes(e,t,0)},this.setState=function(t,o,s){let l=t.clippingPlanes,u=t.clipIntersection,d=t.clipShadows,f=e.get(t);if(!i||l===null||l.length===0||a&&!d)a?projectPlanes(null):resetGlobalState();else{let e=a?0:r,t=e*4,i=f.clippingState||null;c.value=i,i=projectPlanes(l,o,t,s);for(let e=0;e!==t;++e)i[e]=n[e];f.clippingState=i,this.numIntersection=u?this.numPlanes:0,this.numPlanes+=e}};function resetGlobalState(){c.value!==n&&(c.value=n,c.needsUpdate=r>0),t.numPlanes=r,t.numIntersection=0}function projectPlanes(e,n,r,i){let a=e===null?0:e.length,l=null;if(a!==0){if(l=c.value,i!==!0||l===null){let t=r+a*4,i=n.matrixWorldInverse;s.getNormalMatrix(i),(l===null||l.length<t)&&(l=new Float32Array(t));for(let t=0,n=r;t!==a;++t,n+=4)o.copy(e[t]).applyMatrix4(i,s),o.normal.toArray(l,n),l[n+3]=o.constant}c.value=l,c.needsUpdate=!0}return t.numPlanes=a,t.numIntersection=0,l}}const Xo=[.125,.215,.35,.446,.526,.582],Zo=new OrthographicCamera,Qo=new Color;let $o=null,es=0,ts=0,ns=!1;const rs=new I;var PMREMGenerator=class{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._sizeLods=[],this._sigmas=[],this._lodMeshes=[],this._backgroundBox=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._blurMaterial=null,this._ggxMaterial=null}fromScene(e,t=0,n=.1,r=100,i={}){let{size:a=256,position:o=rs}=i;$o=this._renderer.getRenderTarget(),es=this._renderer.getActiveCubeFace(),ts=this._renderer.getActiveMipmapLevel(),ns=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(a);let s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(e,n,r,s,o),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=2**this._lodMax}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodMeshes.length;e++)this._lodMeshes[e].geometry.dispose()}_cleanup(e){this._renderer.setRenderTarget($o,es,ts),this._renderer.xr.enabled=ns,e.scissorTest=!1,_setViewport(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===301||e.mapping===302?this._setSize(e.image.length===0?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),$o=this._renderer.getRenderTarget(),es=this._renderer.getActiveCubeFace(),ts=this._renderer.getActiveMipmapLevel(),ns=this._renderer.xr.enabled,this._renderer.xr.enabled=!1;let n=t||this._allocateTargets();return this._textureToCubeUV(e,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){let e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,n={magFilter:Ir,minFilter:Ir,generateMipmaps:!1,type:Hr,format:Kr,colorSpace:si,depthBuffer:!1},r=_createRenderTarget(e,t,n);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=_createRenderTarget(e,t,n);let{_lodMax:r}=this;({lodMeshes:this._lodMeshes,sizeLods:this._sizeLods,sigmas:this._sigmas}=_createPlanes(r)),this._blurMaterial=_getBlurShader(r,e,t),this._ggxMaterial=_getGGXShader(r,e,t)}return r}_compileMaterial(e){let t=new Mesh(new Za,e);this._renderer.compile(t,Zo)}_sceneToCubeUV(e,t,n,r,i){let a=new PerspectiveCamera(90,1,t,n),o=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],c=this._renderer,l=c.autoClear,u=c.toneMapping;c.getClearColor(Qo),c.toneMapping=0,c.autoClear=!1,c.state.buffers.depth.getReversed()&&(c.setRenderTarget(r),c.clearDepth(),c.setRenderTarget(null)),this._backgroundBox===null&&(this._backgroundBox=new Mesh(new wo,new MeshBasicMaterial({name:`PMREM.Background`,side:1,depthWrite:!1,depthTest:!1})));let d=this._backgroundBox,f=d.material,p=!1,m=e.background;m?m.isColor&&(f.color.copy(m),e.background=null,p=!0):(f.color.copy(Qo),p=!0);for(let t=0;t<6;t++){let n=t%3;n===0?(a.up.set(0,o[t],0),a.position.set(i.x,i.y,i.z),a.lookAt(i.x+s[t],i.y,i.z)):n===1?(a.up.set(0,0,o[t]),a.position.set(i.x,i.y,i.z),a.lookAt(i.x,i.y+s[t],i.z)):(a.up.set(0,o[t],0),a.position.set(i.x,i.y,i.z),a.lookAt(i.x,i.y,i.z+s[t]));let l=this._cubeSize;_setViewport(r,n*l,t>2?l:0,l,l),c.setRenderTarget(r),p&&c.render(d,a),c.render(e,a)}c.toneMapping=u,c.autoClear=l,e.background=m}_textureToCubeUV(e,t){let n=this._renderer,r=e.mapping===301||e.mapping===302;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial());let i=r?this._cubemapMaterial:this._equirectMaterial,a=this._lodMeshes[0];a.material=i;let o=i.uniforms;o.envMap.value=e;let s=this._cubeSize;_setViewport(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,Zo)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let r=this._lodMeshes.length;for(let t=1;t<r;t++)this._applyGGXFilter(e,t-1,t);t.autoClear=n}_applyGGXFilter(e,t,n){let r=this._renderer,i=this._pingPongRenderTarget,a=this._ggxMaterial,o=this._lodMeshes[n];o.material=a;let s=a.uniforms,c=n/(this._lodMeshes.length-1),l=t/(this._lodMeshes.length-1),u=Math.sqrt(c*c-l*l)*(0+c*1.25),{_lodMax:d}=this,f=this._sizeLods[n],p=3*f*(n>d-4?n-d+4:0),m=4*(this._cubeSize-f);s.envMap.value=e.texture,s.roughness.value=u,s.mipInt.value=d-t,_setViewport(i,p,m,3*f,2*f),r.setRenderTarget(i),r.render(o,Zo),s.envMap.value=i.texture,s.roughness.value=0,s.mipInt.value=d-n,_setViewport(e,p,m,3*f,2*f),r.setRenderTarget(e),r.render(o,Zo)}_blur(e,t,n,r,i){let a=this._pingPongRenderTarget;this._halfBlur(e,a,t,n,r,`latitudinal`,i),this._halfBlur(a,e,n,n,r,`longitudinal`,i)}_halfBlur(e,t,n,r,i,a,o){let s=this._renderer,c=this._blurMaterial;a!==`latitudinal`&&a!==`longitudinal`&&error(`blur direction must be either latitudinal or longitudinal!`);let l=this._lodMeshes[r];l.material=c;let u=c.uniforms,d=this._sizeLods[n]-1,f=isFinite(i)?Math.PI/(2*d):2*Math.PI/39,p=i/f,m=isFinite(i)?1+Math.floor(3*p):20;m>20&&warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${m} samples when the maximum is set to 20`);let h=[],g=0;for(let e=0;e<20;++e){let t=e/p,n=Math.exp(-t*t/2);h.push(n),e===0?g+=n:e<m&&(g+=2*n)}for(let e=0;e<h.length;e++)h[e]=h[e]/g;u.envMap.value=e.texture,u.samples.value=m,u.weights.value=h,u.latitudinal.value=a===`latitudinal`,o&&(u.poleAxis.value=o);let{_lodMax:_}=this;u.dTheta.value=f,u.mipInt.value=_-n;let v=this._sizeLods[r];_setViewport(t,3*v*(r>_-4?r-_+4:0),4*(this._cubeSize-v),3*v,2*v),s.setRenderTarget(t),s.render(l,Zo)}};function _createPlanes(e){let t=[],n=[],r=[],i=e,a=e-4+1+Xo.length;for(let o=0;o<a;o++){let a=2**i;t.push(a);let s=1/a;o>e-4?s=Xo[o-e+4-1]:o===0&&(s=0),n.push(s);let c=1/(a-2),l=-c,u=1+c,d=[l,l,u,l,u,u,l,l,u,u,l,u],f=new Float32Array(108),p=new Float32Array(72),m=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,r=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];f.set(r,18*e),p.set(d,12*e);let i=[e,e,e,e,e,e];m.set(i,6*e)}let h=new Za;h.setAttribute(`position`,new BufferAttribute(f,3)),h.setAttribute(`uv`,new BufferAttribute(p,2)),h.setAttribute(`faceIndex`,new BufferAttribute(m,1)),r.push(new Mesh(h,null)),i>4&&i--}return{lodMeshes:r,sizeLods:t,sigmas:n}}function _createRenderTarget(e,t,n){let r=new WebGLRenderTarget(e,t,n);return r.texture.mapping=306,r.texture.name=`PMREM.cubeUv`,r.scissorTest=!0,r}function _setViewport(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function _getGGXShader(e,t,n){return new ShaderMaterial({name:`PMREMGGXConvolution`,defines:{GGX_SAMPLES:256,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},roughness:{value:0},mipInt:{value:0}},vertexShader:_getCommonVertexShader(),fragmentShader:`
|
|
3760
|
+
}`},L={common:{diffuse:{value:new Color(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new wi},alphaMap:{value:null},alphaMapTransform:{value:new wi},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new wi}},envmap:{envMap:{value:null},envMapRotation:{value:new wi},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98},dfgLUT:{value:null}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new wi}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new wi}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new wi},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new wi},normalScale:{value:new xi(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new wi},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new wi}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new wi}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new wi}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Color(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null},probesSH:{value:null},probesMin:{value:new I},probesMax:{value:new I},probesResolution:{value:new I}},points:{diffuse:{value:new Color(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new wi},alphaTest:{value:0},uvTransform:{value:new wi}},sprite:{diffuse:{value:new Color(16777215)},opacity:{value:1},center:{value:new xi(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new wi},alphaMap:{value:null},alphaMapTransform:{value:new wi},alphaTest:{value:0}}},Jo={basic:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.fog]),vertexShader:qo.meshbasic_vert,fragmentShader:qo.meshbasic_frag},lambert:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.fog,L.lights,{emissive:{value:new Color(0)},envMapIntensity:{value:1}}]),vertexShader:qo.meshlambert_vert,fragmentShader:qo.meshlambert_frag},phong:{uniforms:mergeUniforms([L.common,L.specularmap,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.fog,L.lights,{emissive:{value:new Color(0)},specular:{value:new Color(1118481)},shininess:{value:30},envMapIntensity:{value:1}}]),vertexShader:qo.meshphong_vert,fragmentShader:qo.meshphong_frag},standard:{uniforms:mergeUniforms([L.common,L.envmap,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.roughnessmap,L.metalnessmap,L.fog,L.lights,{emissive:{value:new Color(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:qo.meshphysical_vert,fragmentShader:qo.meshphysical_frag},toon:{uniforms:mergeUniforms([L.common,L.aomap,L.lightmap,L.emissivemap,L.bumpmap,L.normalmap,L.displacementmap,L.gradientmap,L.fog,L.lights,{emissive:{value:new Color(0)}}]),vertexShader:qo.meshtoon_vert,fragmentShader:qo.meshtoon_frag},matcap:{uniforms:mergeUniforms([L.common,L.bumpmap,L.normalmap,L.displacementmap,L.fog,{matcap:{value:null}}]),vertexShader:qo.meshmatcap_vert,fragmentShader:qo.meshmatcap_frag},points:{uniforms:mergeUniforms([L.points,L.fog]),vertexShader:qo.points_vert,fragmentShader:qo.points_frag},dashed:{uniforms:mergeUniforms([L.common,L.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:qo.linedashed_vert,fragmentShader:qo.linedashed_frag},depth:{uniforms:mergeUniforms([L.common,L.displacementmap]),vertexShader:qo.depth_vert,fragmentShader:qo.depth_frag},normal:{uniforms:mergeUniforms([L.common,L.bumpmap,L.normalmap,L.displacementmap,{opacity:{value:1}}]),vertexShader:qo.meshnormal_vert,fragmentShader:qo.meshnormal_frag},sprite:{uniforms:mergeUniforms([L.sprite,L.fog]),vertexShader:qo.sprite_vert,fragmentShader:qo.sprite_frag},background:{uniforms:{uvTransform:{value:new wi},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:qo.background_vert,fragmentShader:qo.background_frag},backgroundCube:{uniforms:{envMap:{value:null},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new wi}},vertexShader:qo.backgroundCube_vert,fragmentShader:qo.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:qo.cube_vert,fragmentShader:qo.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:qo.equirect_vert,fragmentShader:qo.equirect_frag},distance:{uniforms:mergeUniforms([L.common,L.displacementmap,{referencePosition:{value:new I},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:qo.distance_vert,fragmentShader:qo.distance_frag},shadow:{uniforms:mergeUniforms([L.lights,L.fog,{color:{value:new Color(0)},opacity:{value:1}}]),vertexShader:qo.shadow_vert,fragmentShader:qo.shadow_frag}};Jo.physical={uniforms:mergeUniforms([Jo.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new wi},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new wi},clearcoatNormalScale:{value:new xi(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new wi},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new wi},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new wi},sheen:{value:0},sheenColor:{value:new Color(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new wi},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new wi},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new wi},transmissionSamplerSize:{value:new xi},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new wi},attenuationDistance:{value:0},attenuationColor:{value:new Color(0)},specularColor:{value:new Color(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new wi},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new wi},anisotropyVector:{value:new xi},anisotropyMap:{value:null},anisotropyMapTransform:{value:new wi}}]),vertexShader:qo.meshphysical_vert,fragmentShader:qo.meshphysical_frag};const Yo={r:0,b:0,g:0},Xo=new Fi,Zo=new wi;Zo.set(-1,0,0,0,1,0,0,0,1);function WebGLBackground(e,t,n,r,i,a){let o=new Color(0),s=i===!0?0:1,c,l,u=null,d=0,f=null;function getBackground(e){let n=e.isScene===!0?e.background:null;if(n&&n.isTexture){let r=e.backgroundBlurriness>0;n=t.get(n,r)}return n}function render(t){let r=!1,i=getBackground(t);i===null?setClear(o,s):i&&i.isColor&&(setClear(i,1),r=!0);let c=e.xr.getEnvironmentBlendMode();c===`additive`?n.buffers.color.setClear(0,0,0,1,a):c===`alpha-blend`&&n.buffers.color.setClear(0,0,0,0,a),(e.autoClear||r)&&(n.buffers.depth.setTest(!0),n.buffers.depth.setMask(!0),n.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))}function addToRenderList(t,n){let i=getBackground(n);i&&(i.isCubeTexture||i.mapping===306)?(l===void 0&&(l=new Mesh(new Eo(1,1,1),new ShaderMaterial({name:`BackgroundCubeMaterial`,uniforms:cloneUniforms(Jo.backgroundCube.uniforms),vertexShader:Jo.backgroundCube.vertexShader,fragmentShader:Jo.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),l.geometry.deleteAttribute(`normal`),l.geometry.deleteAttribute(`uv`),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),l.material.uniforms.envMap.value=i,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(Xo.makeRotationFromEuler(n.backgroundRotation)).transpose(),i.isCubeTexture&&i.isRenderTargetTexture===!1&&l.material.uniforms.backgroundRotation.value.premultiply(Zo),l.material.toneMapped=Oi.getTransfer(i.colorSpace)!==di,(u!==i||d!==i.version||f!==e.toneMapping)&&(l.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(c===void 0&&(c=new Mesh(new Do(2,2),new ShaderMaterial({name:`BackgroundMaterial`,uniforms:cloneUniforms(Jo.background.uniforms),vertexShader:Jo.background.vertexShader,fragmentShader:Jo.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),c.geometry.deleteAttribute(`normal`),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=i,c.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,c.material.toneMapped=Oi.getTransfer(i.colorSpace)!==di,i.matrixAutoUpdate===!0&&i.updateMatrix(),c.material.uniforms.uvTransform.value.copy(i.matrix),(u!==i||d!==i.version||f!==e.toneMapping)&&(c.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),c.layers.enableAll(),t.unshift(c,c.geometry,c.material,0,0,null))}function setClear(t,r){t.getRGB(Yo,getUnlitUniformColorSpace(e)),n.buffers.color.setClear(Yo.r,Yo.g,Yo.b,r,a)}function dispose(){l!==void 0&&(l.geometry.dispose(),l.material.dispose(),l=void 0),c!==void 0&&(c.geometry.dispose(),c.material.dispose(),c=void 0)}return{getClearColor:function(){return o},setClearColor:function(e,t=1){o.set(e),s=t,setClear(o,s)},getClearAlpha:function(){return s},setClearAlpha:function(e){s=e,setClear(o,s)},render,addToRenderList,dispose}}function WebGLBindingStates(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),r={},i=createBindingState(null),a=i,o=!1;function setup(n,r,i,s,c){let l=!1,u=getBindingState(n,s,i,r);a!==u&&(a=u,bindVertexArrayObject(a.object)),l=needsUpdate(n,s,i,c),l&&saveCache(n,s,i,c),c!==null&&t.update(c,e.ELEMENT_ARRAY_BUFFER),(l||o)&&(o=!1,setupVertexAttributes(n,r,i,s),c!==null&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(c).buffer))}function createVertexArrayObject(){return e.createVertexArray()}function bindVertexArrayObject(t){return e.bindVertexArray(t)}function deleteVertexArrayObject(t){return e.deleteVertexArray(t)}function getBindingState(e,t,n,i){let a=i.wireframe===!0,o=r[t.id];o===void 0&&(o={},r[t.id]=o);let s=e.isInstancedMesh===!0?e.id:0,c=o[s];c===void 0&&(c={},o[s]=c);let l=c[n.id];l===void 0&&(l={},c[n.id]=l);let u=l[a];return u===void 0&&(u=createBindingState(createVertexArrayObject()),l[a]=u),u}function createBindingState(e){let t=[],r=[],i=[];for(let e=0;e<n;e++)t[e]=0,r[e]=0,i[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:r,attributeDivisors:i,object:e,attributes:{},index:null}}function needsUpdate(e,t,n,r){let i=a.attributes,o=t.attributes,s=0,c=n.getAttributes();for(let t in c)if(c[t].location>=0){let n=i[t],r=o[t];if(r===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(r=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(r=e.instanceColor)),n===void 0||n.attribute!==r||r&&n.data!==r.data)return!0;s++}return a.attributesNum!==s||a.index!==r}function saveCache(e,t,n,r){let i={},o=t.attributes,s=0,c=n.getAttributes();for(let t in c)if(c[t].location>=0){let n=o[t];n===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(n=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(n=e.instanceColor));let r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[t]=r,s++}a.attributes=i,a.attributesNum=s,a.index=r}function initAttributes(){let e=a.newAttributes;for(let t=0,n=e.length;t<n;t++)e[t]=0}function enableAttribute(e){enableAttributeAndDivisor(e,0)}function enableAttributeAndDivisor(t,n){let r=a.newAttributes,i=a.enabledAttributes,o=a.attributeDivisors;r[t]=1,i[t]===0&&(e.enableVertexAttribArray(t),i[t]=1),o[t]!==n&&(e.vertexAttribDivisor(t,n),o[t]=n)}function disableUnusedAttributes(){let t=a.newAttributes,n=a.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==t[r]&&(e.disableVertexAttribArray(r),n[r]=0)}function vertexAttribPointer(t,n,r,i,a,o,s){s===!0?e.vertexAttribIPointer(t,n,r,a,o):e.vertexAttribPointer(t,n,r,i,a,o)}function setupVertexAttributes(n,r,i,a){initAttributes();let o=a.attributes,s=i.getAttributes(),c=r.defaultAttributeValues;for(let r in s){let i=s[r];if(i.location>=0){let s=o[r];if(s===void 0&&(r===`instanceMatrix`&&n.instanceMatrix&&(s=n.instanceMatrix),r===`instanceColor`&&n.instanceColor&&(s=n.instanceColor)),s!==void 0){let r=s.normalized,o=s.itemSize,c=t.get(s);if(c===void 0)continue;let l=c.buffer,u=c.type,d=c.bytesPerElement,f=u===e.INT||u===e.UNSIGNED_INT||s.gpuType===1013;if(s.isInterleavedBufferAttribute){let t=s.data,c=t.stride,p=s.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e<i.locationSize;e++)enableAttributeAndDivisor(i.location+e,t.meshPerAttribute);n.isInstancedMesh!==!0&&a._maxInstanceCount===void 0&&(a._maxInstanceCount=t.meshPerAttribute*t.count)}else for(let e=0;e<i.locationSize;e++)enableAttribute(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)vertexAttribPointer(i.location+e,o/i.locationSize,u,r,c*d,(p+o/i.locationSize*e)*d,f)}else{if(s.isInstancedBufferAttribute){for(let e=0;e<i.locationSize;e++)enableAttributeAndDivisor(i.location+e,s.meshPerAttribute);n.isInstancedMesh!==!0&&a._maxInstanceCount===void 0&&(a._maxInstanceCount=s.meshPerAttribute*s.count)}else for(let e=0;e<i.locationSize;e++)enableAttribute(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)vertexAttribPointer(i.location+e,o/i.locationSize,u,r,o*d,o/i.locationSize*e*d,f)}}else if(c!==void 0){let t=c[r];if(t!==void 0)switch(t.length){case 2:e.vertexAttrib2fv(i.location,t);break;case 3:e.vertexAttrib3fv(i.location,t);break;case 4:e.vertexAttrib4fv(i.location,t);break;default:e.vertexAttrib1fv(i.location,t)}}}}disableUnusedAttributes()}function dispose(){reset();for(let e in r){let t=r[e];for(let e in t){let n=t[e];for(let e in n){let t=n[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete n[e]}}delete r[e]}}function releaseStatesOfGeometry(e){if(r[e.id]===void 0)return;let t=r[e.id];for(let e in t){let n=t[e];for(let e in n){let t=n[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete n[e]}}delete r[e.id]}function releaseStatesOfProgram(e){for(let t in r){let n=r[t];for(let t in n){let r=n[t];if(r[e.id]===void 0)continue;let i=r[e.id];for(let e in i)deleteVertexArrayObject(i[e].object),delete i[e];delete r[e.id]}}}function releaseStatesOfObject(e){for(let t in r){let n=r[t],i=e.isInstancedMesh===!0?e.id:0,a=n[i];if(a!==void 0){for(let e in a){let t=a[e];for(let e in t)deleteVertexArrayObject(t[e].object),delete t[e];delete a[e]}delete n[i],Object.keys(n).length===0&&delete r[t]}}}function reset(){resetDefaultState(),o=!0,a!==i&&(a=i,bindVertexArrayObject(a.object))}function resetDefaultState(){i.geometry=null,i.program=null,i.wireframe=!1}return{setup,reset,resetDefaultState,dispose,releaseStatesOfGeometry,releaseStatesOfObject,releaseStatesOfProgram,initAttributes,enableAttribute,disableUnusedAttributes}}function WebGLBufferRenderer(e,t,n){let r;function setMode(e){r=e}function render(t,i){e.drawArrays(r,t,i),n.update(i,r,1)}function renderInstances(t,i,a){a!==0&&(e.drawArraysInstanced(r,t,i,a),n.update(i,r,a))}function renderMultiDraw(e,i,a){if(a===0)return;t.get(`WEBGL_multi_draw`).multiDrawArraysWEBGL(r,e,0,i,0,a);let o=0;for(let e=0;e<a;e++)o+=i[e];n.update(o,r,1)}this.setMode=setMode,this.render=render,this.renderInstances=renderInstances,this.renderMultiDraw=renderMultiDraw}function WebGLCapabilities(e,t,n,r){let i;function getMaxAnisotropy(){if(i!==void 0)return i;if(t.has(`EXT_texture_filter_anisotropic`)===!0){let n=t.get(`EXT_texture_filter_anisotropic`);i=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i}function textureFormatReadable(t){return!(t!==1023&&r.convert(t)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT))}function textureTypeReadable(n){let i=n===1016&&(t.has(`EXT_color_buffer_half_float`)||t.has(`EXT_color_buffer_float`));return!(n!==1009&&r.convert(n)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)&&n!==1015&&!i)}function getMaxPrecision(t){if(t===`highp`){if(e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return`highp`;t=`mediump`}return t===`mediump`&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?`mediump`:`lowp`}let a=n.precision===void 0?`highp`:n.precision,o=getMaxPrecision(a);o!==a&&(warn(`WebGLRenderer:`,a,`not supported, using`,o,`instead.`),a=o);let s=n.logarithmicDepthBuffer===!0,c=n.reversedDepthBuffer===!0&&t.has(`EXT_clip_control`);n.reversedDepthBuffer===!0&&c===!1&&warn(`WebGLRenderer: Unable to use reversed depth buffer due to missing EXT_clip_control extension. Fallback to default depth buffer.`);let l=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),u=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS),d=e.getParameter(e.MAX_TEXTURE_SIZE),f=e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),p=e.getParameter(e.MAX_VERTEX_ATTRIBS),m=e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),h=e.getParameter(e.MAX_VARYING_VECTORS),g=e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),_=e.getParameter(e.MAX_SAMPLES),v=e.getParameter(e.SAMPLES);return{isWebGL2:!0,getMaxAnisotropy,getMaxPrecision,textureFormatReadable,textureTypeReadable,precision:a,logarithmicDepthBuffer:s,reversedDepthBuffer:c,maxTextures:l,maxVertexTextures:u,maxTextureSize:d,maxCubemapSize:f,maxAttributes:p,maxVertexUniforms:m,maxVaryings:h,maxFragmentUniforms:g,maxSamples:_,samples:v}}function WebGLClipping(e){let t=this,n=null,r=0,i=!1,a=!1,o=new Plane,s=new wi,c={value:null,needsUpdate:!1};this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){let n=e.length!==0||t||r!==0||i;return i=t,r=e.length,n},this.beginShadows=function(){a=!0,projectPlanes(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(e,t){n=projectPlanes(e,t,0)},this.setState=function(t,o,s){let l=t.clippingPlanes,u=t.clipIntersection,d=t.clipShadows,f=e.get(t);if(!i||l===null||l.length===0||a&&!d)a?projectPlanes(null):resetGlobalState();else{let e=a?0:r,t=e*4,i=f.clippingState||null;c.value=i,i=projectPlanes(l,o,t,s);for(let e=0;e!==t;++e)i[e]=n[e];f.clippingState=i,this.numIntersection=u?this.numPlanes:0,this.numPlanes+=e}};function resetGlobalState(){c.value!==n&&(c.value=n,c.needsUpdate=r>0),t.numPlanes=r,t.numIntersection=0}function projectPlanes(e,n,r,i){let a=e===null?0:e.length,l=null;if(a!==0){if(l=c.value,i!==!0||l===null){let t=r+a*4,i=n.matrixWorldInverse;s.getNormalMatrix(i),(l===null||l.length<t)&&(l=new Float32Array(t));for(let t=0,n=r;t!==a;++t,n+=4)o.copy(e[t]).applyMatrix4(i,s),o.normal.toArray(l,n),l[n+3]=o.constant}c.value=l,c.needsUpdate=!0}return t.numPlanes=a,t.numIntersection=0,l}}const Qo=[.125,.215,.35,.446,.526,.582],$o=new OrthographicCamera,es=new Color;let ts=null,ns=0,rs=0,is=!1;const as=new I;var PMREMGenerator=class{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._sizeLods=[],this._sigmas=[],this._lodMeshes=[],this._backgroundBox=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._blurMaterial=null,this._ggxMaterial=null}fromScene(e,t=0,n=.1,r=100,i={}){let{size:a=256,position:o=as}=i;ts=this._renderer.getRenderTarget(),ns=this._renderer.getActiveCubeFace(),rs=this._renderer.getActiveMipmapLevel(),is=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(a);let s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(e,n,r,s,o),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=2**this._lodMax}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodMeshes.length;e++)this._lodMeshes[e].geometry.dispose()}_cleanup(e){this._renderer.setRenderTarget(ts,ns,rs),this._renderer.xr.enabled=is,e.scissorTest=!1,_setViewport(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===301||e.mapping===302?this._setSize(e.image.length===0?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),ts=this._renderer.getRenderTarget(),ns=this._renderer.getActiveCubeFace(),rs=this._renderer.getActiveMipmapLevel(),is=this._renderer.xr.enabled,this._renderer.xr.enabled=!1;let n=t||this._allocateTargets();return this._textureToCubeUV(e,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){let e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,n={magFilter:Rr,minFilter:Rr,generateMipmaps:!1,type:Wr,format:Jr,colorSpace:li,depthBuffer:!1},r=_createRenderTarget(e,t,n);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=_createRenderTarget(e,t,n);let{_lodMax:r}=this;({lodMeshes:this._lodMeshes,sizeLods:this._sizeLods,sigmas:this._sigmas}=_createPlanes(r)),this._blurMaterial=_getBlurShader(r,e,t),this._ggxMaterial=_getGGXShader(r,e,t)}return r}_compileMaterial(e){let t=new Mesh(new $a,e);this._renderer.compile(t,$o)}_sceneToCubeUV(e,t,n,r,i){let a=new PerspectiveCamera(90,1,t,n),o=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],c=this._renderer,l=c.autoClear,u=c.toneMapping;c.getClearColor(es),c.toneMapping=0,c.autoClear=!1,c.state.buffers.depth.getReversed()&&(c.setRenderTarget(r),c.clearDepth(),c.setRenderTarget(null)),this._backgroundBox===null&&(this._backgroundBox=new Mesh(new Eo,new MeshBasicMaterial({name:`PMREM.Background`,side:1,depthWrite:!1,depthTest:!1})));let d=this._backgroundBox,f=d.material,p=!1,m=e.background;m?m.isColor&&(f.color.copy(m),e.background=null,p=!0):(f.color.copy(es),p=!0);for(let t=0;t<6;t++){let n=t%3;n===0?(a.up.set(0,o[t],0),a.position.set(i.x,i.y,i.z),a.lookAt(i.x+s[t],i.y,i.z)):n===1?(a.up.set(0,0,o[t]),a.position.set(i.x,i.y,i.z),a.lookAt(i.x,i.y+s[t],i.z)):(a.up.set(0,o[t],0),a.position.set(i.x,i.y,i.z),a.lookAt(i.x,i.y,i.z+s[t]));let l=this._cubeSize;_setViewport(r,n*l,t>2?l:0,l,l),c.setRenderTarget(r),p&&c.render(d,a),c.render(e,a)}c.toneMapping=u,c.autoClear=l,e.background=m}_textureToCubeUV(e,t){let n=this._renderer,r=e.mapping===301||e.mapping===302;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial());let i=r?this._cubemapMaterial:this._equirectMaterial,a=this._lodMeshes[0];a.material=i;let o=i.uniforms;o.envMap.value=e;let s=this._cubeSize;_setViewport(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,$o)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let r=this._lodMeshes.length;for(let t=1;t<r;t++)this._applyGGXFilter(e,t-1,t);t.autoClear=n}_applyGGXFilter(e,t,n){let r=this._renderer,i=this._pingPongRenderTarget,a=this._ggxMaterial,o=this._lodMeshes[n];o.material=a;let s=a.uniforms,c=n/(this._lodMeshes.length-1),l=t/(this._lodMeshes.length-1),u=Math.sqrt(c*c-l*l)*(0+c*1.25),{_lodMax:d}=this,f=this._sizeLods[n],p=3*f*(n>d-4?n-d+4:0),m=4*(this._cubeSize-f);s.envMap.value=e.texture,s.roughness.value=u,s.mipInt.value=d-t,_setViewport(i,p,m,3*f,2*f),r.setRenderTarget(i),r.render(o,$o),s.envMap.value=i.texture,s.roughness.value=0,s.mipInt.value=d-n,_setViewport(e,p,m,3*f,2*f),r.setRenderTarget(e),r.render(o,$o)}_blur(e,t,n,r,i){let a=this._pingPongRenderTarget;this._halfBlur(e,a,t,n,r,`latitudinal`,i),this._halfBlur(a,e,n,n,r,`longitudinal`,i)}_halfBlur(e,t,n,r,i,a,o){let s=this._renderer,c=this._blurMaterial;a!==`latitudinal`&&a!==`longitudinal`&&error(`blur direction must be either latitudinal or longitudinal!`);let l=this._lodMeshes[r];l.material=c;let u=c.uniforms,d=this._sizeLods[n]-1,f=isFinite(i)?Math.PI/(2*d):2*Math.PI/39,p=i/f,m=isFinite(i)?1+Math.floor(3*p):20;m>20&&warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${m} samples when the maximum is set to 20`);let h=[],g=0;for(let e=0;e<20;++e){let t=e/p,n=Math.exp(-t*t/2);h.push(n),e===0?g+=n:e<m&&(g+=2*n)}for(let e=0;e<h.length;e++)h[e]=h[e]/g;u.envMap.value=e.texture,u.samples.value=m,u.weights.value=h,u.latitudinal.value=a===`latitudinal`,o&&(u.poleAxis.value=o);let{_lodMax:_}=this;u.dTheta.value=f,u.mipInt.value=_-n;let v=this._sizeLods[r];_setViewport(t,3*v*(r>_-4?r-_+4:0),4*(this._cubeSize-v),3*v,2*v),s.setRenderTarget(t),s.render(l,$o)}};function _createPlanes(e){let t=[],n=[],r=[],i=e,a=e-4+1+Qo.length;for(let o=0;o<a;o++){let a=2**i;t.push(a);let s=1/a;o>e-4?s=Qo[o-e+4-1]:o===0&&(s=0),n.push(s);let c=1/(a-2),l=-c,u=1+c,d=[l,l,u,l,u,u,l,l,u,u,l,u],f=new Float32Array(108),p=new Float32Array(72),m=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,r=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];f.set(r,18*e),p.set(d,12*e);let i=[e,e,e,e,e,e];m.set(i,6*e)}let h=new $a;h.setAttribute(`position`,new BufferAttribute(f,3)),h.setAttribute(`uv`,new BufferAttribute(p,2)),h.setAttribute(`faceIndex`,new BufferAttribute(m,1)),r.push(new Mesh(h,null)),i>4&&i--}return{lodMeshes:r,sizeLods:t,sigmas:n}}function _createRenderTarget(e,t,n){let r=new WebGLRenderTarget(e,t,n);return r.texture.mapping=306,r.texture.name=`PMREM.cubeUv`,r.scissorTest=!0,r}function _setViewport(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function _getGGXShader(e,t,n){return new ShaderMaterial({name:`PMREMGGXConvolution`,defines:{GGX_SAMPLES:256,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},roughness:{value:0},mipInt:{value:0}},vertexShader:_getCommonVertexShader(),fragmentShader:`
|
|
3761
3761
|
|
|
3762
3762
|
precision highp float;
|
|
3763
3763
|
precision highp int;
|
|
@@ -4046,7 +4046,7 @@ void main() {
|
|
|
4046
4046
|
gl_FragColor = texture2D( tEquirect, sampleUV );
|
|
4047
4047
|
|
|
4048
4048
|
}
|
|
4049
|
-
`},r=new
|
|
4049
|
+
`},r=new Eo(5,5,5),i=new ShaderMaterial({name:`CubemapFromEquirect`,uniforms:cloneUniforms(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:1,blending:0});i.uniforms.tEquirect.value=t;let a=new Mesh(r,i),o=t.minFilter;return t.minFilter===1008&&(t.minFilter=Rr),new CubeCamera(1,10,this).update(e,a),t.minFilter=o,a.geometry.dispose(),a.material.dispose(),this}clear(e,t=!0,n=!0,r=!0){let i=e.getRenderTarget();for(let i=0;i<6;i++)e.setRenderTarget(this,i),e.clear(t,n,r);e.setRenderTarget(i)}};function WebGLEnvironments(e){let t=new WeakMap,n=new WeakMap,r=null;function get(e,t=!1){return e==null?null:t?getPMREM(e):getCube(e)}function getCube(n){if(n&&n.isTexture){let r=n.mapping;if(r===303||r===304)if(t.has(n)){let e=t.get(n).texture;return mapTextureMapping(e,n.mapping)}else{let r=n.image;if(r&&r.height>0){let i=new WebGLCubeRenderTarget(r.height);return i.fromEquirectangularTexture(e,n),t.set(n,i),n.addEventListener(`dispose`,onCubemapDispose),mapTextureMapping(i.texture,n.mapping)}else return null}}return n}function getPMREM(t){if(t&&t.isTexture){let i=t.mapping,a=i===303||i===304,o=i===301||i===302;if(a||o){let i=n.get(t),s=i===void 0?0:i.texture.pmremVersion;if(t.isRenderTargetTexture&&t.pmremVersion!==s)return r===null&&(r=new PMREMGenerator(e)),i=a?r.fromEquirectangular(t,i):r.fromCubemap(t,i),i.texture.pmremVersion=t.pmremVersion,n.set(t,i),i.texture;if(i!==void 0)return i.texture;{let s=t.image;return a&&s&&s.height>0||o&&s&&isCubeTextureComplete(s)?(r===null&&(r=new PMREMGenerator(e)),i=a?r.fromEquirectangular(t):r.fromCubemap(t),i.texture.pmremVersion=t.pmremVersion,n.set(t,i),t.addEventListener(`dispose`,onPMREMDispose),i.texture):null}}}return t}function mapTextureMapping(e,t){return t===303?e.mapping=301:t===304&&(e.mapping=302),e}function isCubeTextureComplete(e){let t=0;for(let n=0;n<6;n++)e[n]!==void 0&&t++;return t===6}function onCubemapDispose(e){let n=e.target;n.removeEventListener(`dispose`,onCubemapDispose);let r=t.get(n);r!==void 0&&(t.delete(n),r.dispose())}function onPMREMDispose(e){let t=e.target;t.removeEventListener(`dispose`,onPMREMDispose);let r=n.get(t);r!==void 0&&(n.delete(t),r.dispose())}function dispose(){t=new WeakMap,n=new WeakMap,r!==null&&(r.dispose(),r=null)}return{get,dispose}}function WebGLExtensions(e){let t={};function getExtension(n){if(t[n]!==void 0)return t[n];let r=e.getExtension(n);return t[n]=r,r}return{has:function(e){return getExtension(e)!==null},init:function(){getExtension(`EXT_color_buffer_float`),getExtension(`WEBGL_clip_cull_distance`),getExtension(`OES_texture_float_linear`),getExtension(`EXT_color_buffer_half_float`),getExtension(`WEBGL_multisampled_render_to_texture`),getExtension(`WEBGL_render_shared_exponent`)},get:function(e){let t=getExtension(e);return t===null&&warnOnce(`WebGLRenderer: `+e+` extension not supported.`),t}}}function WebGLGeometries(e,t,n,r){let i={},a=new WeakMap;function onGeometryDispose(e){let o=e.target;o.index!==null&&t.remove(o.index);for(let e in o.attributes)t.remove(o.attributes[e]);o.removeEventListener(`dispose`,onGeometryDispose),delete i[o.id];let s=a.get(o);s&&(t.remove(s),a.delete(o)),r.releaseStatesOfGeometry(o),o.isInstancedBufferGeometry===!0&&delete o._maxInstanceCount,n.memory.geometries--}function get(e,t){return i[t.id]===!0?t:(t.addEventListener(`dispose`,onGeometryDispose),i[t.id]=!0,n.memory.geometries++,t)}function update(n){let r=n.attributes;for(let n in r)t.update(r[n],e.ARRAY_BUFFER)}function updateWireframeAttribute(e){let n=[],r=e.index,i=e.attributes.position,o=0;if(i===void 0)return;if(r!==null){let e=r.array;o=r.version;for(let t=0,r=e.length;t<r;t+=3){let r=e[t+0],i=e[t+1],a=e[t+2];n.push(r,i,i,a,a,r)}}else{let e=i.array;o=i.version;for(let t=0,r=e.length/3-1;t<r;t+=3){let e=t+0,r=t+1,i=t+2;n.push(e,r,r,i,i,e)}}let s=new(i.count>=65535?Uint32BufferAttribute:Uint16BufferAttribute)(n,1);s.version=o;let c=a.get(e);c&&t.remove(c),a.set(e,s)}function getWireframeAttribute(e){let t=a.get(e);if(t){let n=e.index;n!==null&&t.version<n.version&&updateWireframeAttribute(e)}else updateWireframeAttribute(e);return a.get(e)}return{get,update,getWireframeAttribute}}function WebGLIndexedBufferRenderer(e,t,n){let r;function setMode(e){r=e}let i,a;function setIndex(e){i=e.type,a=e.bytesPerElement}function render(t,o){e.drawElements(r,o,i,t*a),n.update(o,r,1)}function renderInstances(t,o,s){s!==0&&(e.drawElementsInstanced(r,o,i,t*a,s),n.update(o,r,s))}function renderMultiDraw(e,a,o){if(o===0)return;t.get(`WEBGL_multi_draw`).multiDrawElementsWEBGL(r,a,0,i,e,0,o);let s=0;for(let e=0;e<o;e++)s+=a[e];n.update(s,r,1)}this.setMode=setMode,this.setIndex=setIndex,this.render=render,this.renderInstances=renderInstances,this.renderMultiDraw=renderMultiDraw}function WebGLInfo(e){let t={geometries:0,textures:0},n={frame:0,calls:0,triangles:0,points:0,lines:0};function update(t,r,i){switch(n.calls++,r){case e.TRIANGLES:n.triangles+=t/3*i;break;case e.LINES:n.lines+=t/2*i;break;case e.LINE_STRIP:n.lines+=i*(t-1);break;case e.LINE_LOOP:n.lines+=i*t;break;case e.POINTS:n.points+=i*t;break;default:error(`WebGLInfo: Unknown draw mode:`,r);break}}function reset(){n.calls=0,n.triangles=0,n.points=0,n.lines=0}return{memory:t,render:n,programs:null,autoReset:!0,reset,update}}function WebGLMorphtargets(e,t,n){let r=new WeakMap,i=new Pi;function update(a,o,s){let c=a.morphTargetInfluences,l=o.morphAttributes.position||o.morphAttributes.normal||o.morphAttributes.color,u=l===void 0?0:l.length,d=r.get(o);if(d===void 0||d.count!==u){d!==void 0&&d.texture.dispose();let e=o.morphAttributes.position!==void 0,n=o.morphAttributes.normal!==void 0,a=o.morphAttributes.color!==void 0,s=o.morphAttributes.position||[],c=o.morphAttributes.normal||[],l=o.morphAttributes.color||[],f=0;e===!0&&(f=1),n===!0&&(f=2),a===!0&&(f=3);let p=o.attributes.position.count*f,m=1;p>t.maxTextureSize&&(m=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);let h=new Float32Array(p*m*4*u),g=new DataArrayTexture(h,p,m,u);g.type=Ur,g.needsUpdate=!0;let _=f*4;for(let t=0;t<u;t++){let r=s[t],o=c[t],u=l[t],d=p*m*4*t;for(let t=0;t<r.count;t++){let s=t*_;e===!0&&(i.fromBufferAttribute(r,t),h[d+s+0]=i.x,h[d+s+1]=i.y,h[d+s+2]=i.z,h[d+s+3]=0),n===!0&&(i.fromBufferAttribute(o,t),h[d+s+4]=i.x,h[d+s+5]=i.y,h[d+s+6]=i.z,h[d+s+7]=0),a===!0&&(i.fromBufferAttribute(u,t),h[d+s+8]=i.x,h[d+s+9]=i.y,h[d+s+10]=i.z,h[d+s+11]=u.itemSize===4?i.w:1)}}d={count:u,texture:g,size:new xi(p,m)},r.set(o,d);function disposeTexture(){g.dispose(),r.delete(o),o.removeEventListener(`dispose`,disposeTexture)}o.addEventListener(`dispose`,disposeTexture)}if(a.isInstancedMesh===!0&&a.morphTexture!==null)s.getUniforms().setValue(e,`morphTexture`,a.morphTexture,n);else{let t=0;for(let e=0;e<c.length;e++)t+=c[e];let n=o.morphTargetsRelative?1:1-t;s.getUniforms().setValue(e,`morphTargetBaseInfluence`,n),s.getUniforms().setValue(e,`morphTargetInfluences`,c)}s.getUniforms().setValue(e,`morphTargetsTexture`,d.texture,n),s.getUniforms().setValue(e,`morphTargetsTextureSize`,d.size)}return{update}}function WebGLObjects(e,t,n,r,i){let a=new WeakMap;function update(r){let o=i.render.frame,s=r.geometry,c=t.get(r,s);if(a.get(c)!==o&&(t.update(c),a.set(c,o)),r.isInstancedMesh&&(r.hasEventListener(`dispose`,onInstancedMeshDispose)===!1&&r.addEventListener(`dispose`,onInstancedMeshDispose),a.get(r)!==o&&(n.update(r.instanceMatrix,e.ARRAY_BUFFER),r.instanceColor!==null&&n.update(r.instanceColor,e.ARRAY_BUFFER),a.set(r,o))),r.isSkinnedMesh){let e=r.skeleton;a.get(e)!==o&&(e.update(),a.set(e,o))}return c}function dispose(){a=new WeakMap}function onInstancedMeshDispose(e){let t=e.target;t.removeEventListener(`dispose`,onInstancedMeshDispose),r.releaseStatesOfObject(t),n.remove(t.instanceMatrix),t.instanceColor!==null&&n.remove(t.instanceColor)}return{update,dispose}}const os={1:`LINEAR_TONE_MAPPING`,2:`REINHARD_TONE_MAPPING`,3:`CINEON_TONE_MAPPING`,4:`ACES_FILMIC_TONE_MAPPING`,6:`AGX_TONE_MAPPING`,7:`NEUTRAL_TONE_MAPPING`,5:`CUSTOM_TONE_MAPPING`};function WebGLOutput(e,t,n,r,i,a){let o=new WebGLRenderTarget(t,n,{type:e,depthBuffer:i,stencilBuffer:a,samples:r?4:0,depthTexture:i?new DepthTexture(t,n):void 0}),s=new WebGLRenderTarget(t,n,{type:Wr,depthBuffer:!1,stencilBuffer:!1}),c=new $a;c.setAttribute(`position`,new Float32BufferAttribute([-1,3,0,-1,-1,0,3,-1,0],3)),c.setAttribute(`uv`,new Float32BufferAttribute([0,2,0,0,2,0],2));let l=new RawShaderMaterial({uniforms:{tDiffuse:{value:null}},vertexShader:`
|
|
4050
4050
|
precision highp float;
|
|
4051
4051
|
|
|
4052
4052
|
uniform mat4 modelViewMatrix;
|
|
@@ -4092,17 +4092,17 @@ void main() {
|
|
|
4092
4092
|
#ifdef SRGB_TRANSFER
|
|
4093
4093
|
gl_FragColor = sRGBTransferOETF( gl_FragColor );
|
|
4094
4094
|
#endif
|
|
4095
|
-
}`,depthTest:!1,depthWrite:!1}),u=new Mesh(c,l),d=new OrthographicCamera(-1,1,1,-1,0,1),f=null,p=null,m=!1,h,g=null,_=[],v=!1;this.setSize=function(e,t){o.setSize(e,t),s.setSize(e,t);for(let n=0;n<_.length;n++){let r=_[n];r.setSize&&r.setSize(e,t)}},this.setEffects=function(e){_=e,v=_.length>0&&_[0].isRenderPass===!0;let t=o.width,n=o.height;for(let e=0;e<_.length;e++){let r=_[e];r.setSize&&r.setSize(t,n)}},this.begin=function(e,t){if(m||e.toneMapping===0&&_.length===0)return!1;if(g=t,t!==null){let e=t.width,n=t.height;(o.width!==e||o.height!==n)&&this.setSize(e,n)}return v===!1&&e.setRenderTarget(o),h=e.toneMapping,e.toneMapping=0,!0},this.hasRenderPass=function(){return v},this.end=function(e,t){e.toneMapping=h,m=!0;let n=o,r=s;for(let i=0;i<_.length;i++){let a=_[i];if(a.enabled!==!1&&(a.render(e,r,n,t),a.needsSwap!==!1)){let e=n;n=r,r=e}}if(f!==e.outputColorSpace||p!==e.toneMapping){f=e.outputColorSpace,p=e.toneMapping,l.defines={},Ei.getTransfer(f)===`srgb`&&(l.defines.SRGB_TRANSFER=``);let t=is[p];t&&(l.defines[t]=``),l.needsUpdate=!0}l.uniforms.tDiffuse.value=n.texture,e.setRenderTarget(g),e.render(u,d),g=null,m=!1},this.isCompositing=function(){return m},this.dispose=function(){o.depthTexture&&o.depthTexture.dispose(),o.dispose(),s.dispose(),c.dispose(),l.dispose()}}const as=new ji,os=new DepthTexture(1,1),ss=new DataArrayTexture,cs=new Data3DTexture,ls=new CubeTexture,us=[],ds=[],fs=new Float32Array(16),ps=new Float32Array(9),ms=new Float32Array(4);function flatten(e,t,n){let r=e[0];if(r<=0||r>0)return e;let i=t*n,a=us[i];if(a===void 0&&(a=new Float32Array(i),us[i]=a),t!==0){r.toArray(a,0);for(let r=1,i=0;r!==t;++r)i+=n,e[r].toArray(a,i)}return a}function arraysEqual(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function copyArray(e,t){for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}function allocTexUnits(e,t){let n=ds[t];n===void 0&&(n=new Int32Array(t),ds[t]=n);for(let r=0;r!==t;++r)n[r]=e.allocateTextureUnit();return n}function setValueV1f(e,t){let n=this.cache;n[0]!==t&&(e.uniform1f(this.addr,t),n[0]=t)}function setValueV2f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2f(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2fv(this.addr,t),copyArray(n,t)}}function setValueV3f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3f(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else if(t.r!==void 0)(n[0]!==t.r||n[1]!==t.g||n[2]!==t.b)&&(e.uniform3f(this.addr,t.r,t.g,t.b),n[0]=t.r,n[1]=t.g,n[2]=t.b);else{if(arraysEqual(n,t))return;e.uniform3fv(this.addr,t),copyArray(n,t)}}function setValueV4f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4fv(this.addr,t),copyArray(n,t)}}function setValueM2(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix2fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;ms.set(r),e.uniformMatrix2fv(this.addr,!1,ms),copyArray(n,r)}}function setValueM3(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix3fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;ps.set(r),e.uniformMatrix3fv(this.addr,!1,ps),copyArray(n,r)}}function setValueM4(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix4fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;fs.set(r),e.uniformMatrix4fv(this.addr,!1,fs),copyArray(n,r)}}function setValueV1i(e,t){let n=this.cache;n[0]!==t&&(e.uniform1i(this.addr,t),n[0]=t)}function setValueV2i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2i(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2iv(this.addr,t),copyArray(n,t)}}function setValueV3i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3i(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(arraysEqual(n,t))return;e.uniform3iv(this.addr,t),copyArray(n,t)}}function setValueV4i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4iv(this.addr,t),copyArray(n,t)}}function setValueV1ui(e,t){let n=this.cache;n[0]!==t&&(e.uniform1ui(this.addr,t),n[0]=t)}function setValueV2ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2ui(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2uiv(this.addr,t),copyArray(n,t)}}function setValueV3ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3ui(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(arraysEqual(n,t))return;e.uniform3uiv(this.addr,t),copyArray(n,t)}}function setValueV4ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4uiv(this.addr,t),copyArray(n,t)}}function setValueT1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i);let a;this.type===e.SAMPLER_2D_SHADOW?(os.compareFunction=n.isReversedDepthBuffer()?518:515,a=os):a=as,n.setTexture2D(t||a,i)}function setValueT3D1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(t||cs,i)}function setValueT6(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(t||ls,i)}function setValueT2DArray1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(t||ss,i)}function getSingularSetter(e){switch(e){case 5126:return setValueV1f;case 35664:return setValueV2f;case 35665:return setValueV3f;case 35666:return setValueV4f;case 35674:return setValueM2;case 35675:return setValueM3;case 35676:return setValueM4;case 5124:case 35670:return setValueV1i;case 35667:case 35671:return setValueV2i;case 35668:case 35672:return setValueV3i;case 35669:case 35673:return setValueV4i;case 5125:return setValueV1ui;case 36294:return setValueV2ui;case 36295:return setValueV3ui;case 36296:return setValueV4ui;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1;case 35679:case 36299:case 36307:return setValueT3D1;case 35680:case 36300:case 36308:case 36293:return setValueT6;case 36289:case 36303:case 36311:case 36292:return setValueT2DArray1}}function setValueV1fArray(e,t){e.uniform1fv(this.addr,t)}function setValueV2fArray(e,t){let n=flatten(t,this.size,2);e.uniform2fv(this.addr,n)}function setValueV3fArray(e,t){let n=flatten(t,this.size,3);e.uniform3fv(this.addr,n)}function setValueV4fArray(e,t){let n=flatten(t,this.size,4);e.uniform4fv(this.addr,n)}function setValueM2Array(e,t){let n=flatten(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,n)}function setValueM3Array(e,t){let n=flatten(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,n)}function setValueM4Array(e,t){let n=flatten(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,n)}function setValueV1iArray(e,t){e.uniform1iv(this.addr,t)}function setValueV2iArray(e,t){e.uniform2iv(this.addr,t)}function setValueV3iArray(e,t){e.uniform3iv(this.addr,t)}function setValueV4iArray(e,t){e.uniform4iv(this.addr,t)}function setValueV1uiArray(e,t){e.uniform1uiv(this.addr,t)}function setValueV2uiArray(e,t){e.uniform2uiv(this.addr,t)}function setValueV3uiArray(e,t){e.uniform3uiv(this.addr,t)}function setValueV4uiArray(e,t){e.uniform4uiv(this.addr,t)}function setValueT1Array(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));let o;o=this.type===e.SAMPLER_2D_SHADOW?os:as;for(let e=0;e!==i;++e)n.setTexture2D(t[e]||o,a[e])}function setValueT3DArray(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTexture3D(t[e]||cs,a[e])}function setValueT6Array(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTextureCube(t[e]||ls,a[e])}function setValueT2DArrayArray(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTexture2DArray(t[e]||ss,a[e])}function getPureArraySetter(e){switch(e){case 5126:return setValueV1fArray;case 35664:return setValueV2fArray;case 35665:return setValueV3fArray;case 35666:return setValueV4fArray;case 35674:return setValueM2Array;case 35675:return setValueM3Array;case 35676:return setValueM4Array;case 5124:case 35670:return setValueV1iArray;case 35667:case 35671:return setValueV2iArray;case 35668:case 35672:return setValueV3iArray;case 35669:case 35673:return setValueV4iArray;case 5125:return setValueV1uiArray;case 36294:return setValueV2uiArray;case 36295:return setValueV3uiArray;case 36296:return setValueV4uiArray;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1Array;case 35679:case 36299:case 36307:return setValueT3DArray;case 35680:case 36300:case 36308:case 36293:return setValueT6Array;case 36289:case 36303:case 36311:case 36292:return setValueT2DArrayArray}}var SingleUniform=class{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.setValue=getSingularSetter(t.type)}},PureArrayUniform=class{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.size=t.size,this.setValue=getPureArraySetter(t.type)}},StructuredUniform=class{constructor(e){this.id=e,this.seq=[],this.map={}}setValue(e,t,n){let r=this.seq;for(let i=0,a=r.length;i!==a;++i){let a=r[i];a.setValue(e,t[a.id],n)}}};const hs=/(\w+)(\])?(\[|\.)?/g;function addUniform(e,t){e.seq.push(t),e.map[t.id]=t}function parseUniform(e,t,n){let r=e.name,i=r.length;for(hs.lastIndex=0;;){let a=hs.exec(r),o=hs.lastIndex,s=a[1],c=a[2]===`]`,l=a[3];if(c&&(s|=0),l===void 0||l===`[`&&o+2===i){addUniform(n,l===void 0?new SingleUniform(s,e,t):new PureArrayUniform(s,e,t));break}else{let e=n.map[s];e===void 0&&(e=new StructuredUniform(s),addUniform(n,e)),n=e}}}var WebGLUniforms=class{constructor(e,t){this.seq=[],this.map={};let n=e.getProgramParameter(t,e.ACTIVE_UNIFORMS);for(let r=0;r<n;++r){let n=e.getActiveUniform(t,r);parseUniform(n,e.getUniformLocation(t,n.name),this)}let r=[],i=[];for(let t of this.seq)t.type===e.SAMPLER_2D_SHADOW||t.type===e.SAMPLER_CUBE_SHADOW||t.type===e.SAMPLER_2D_ARRAY_SHADOW?r.push(t):i.push(t);r.length>0&&(this.seq=r.concat(i))}setValue(e,t,n,r){let i=this.map[t];i!==void 0&&i.setValue(e,n,r)}setOptional(e,t,n){let r=t[n];r!==void 0&&this.setValue(e,n,r)}static upload(e,t,n,r){for(let i=0,a=t.length;i!==a;++i){let a=t[i],o=n[a.id];o.needsUpdate!==!1&&a.setValue(e,o.value,r)}}static seqWithValue(e,t){let n=[];for(let r=0,i=e.length;r!==i;++r){let i=e[r];i.id in t&&n.push(i)}return n}};function WebGLShader(e,t,n){let r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}let gs=0;function handleSource(e,t){let n=e.split(`
|
|
4095
|
+
}`,depthTest:!1,depthWrite:!1}),u=new Mesh(c,l),d=new OrthographicCamera(-1,1,1,-1,0,1),f=null,p=null,m=!1,h,g=null,_=[],v=!1;this.setSize=function(e,t){o.setSize(e,t),s.setSize(e,t);for(let n=0;n<_.length;n++){let r=_[n];r.setSize&&r.setSize(e,t)}},this.setEffects=function(e){_=e,v=_.length>0&&_[0].isRenderPass===!0;let t=o.width,n=o.height;for(let e=0;e<_.length;e++){let r=_[e];r.setSize&&r.setSize(t,n)}},this.begin=function(e,t){if(m||e.toneMapping===0&&_.length===0)return!1;if(g=t,t!==null){let e=t.width,n=t.height;(o.width!==e||o.height!==n)&&this.setSize(e,n)}return v===!1&&e.setRenderTarget(o),h=e.toneMapping,e.toneMapping=0,!0},this.hasRenderPass=function(){return v},this.end=function(e,t){e.toneMapping=h,m=!0;let n=o,r=s;for(let i=0;i<_.length;i++){let a=_[i];if(a.enabled!==!1&&(a.render(e,r,n,t),a.needsSwap!==!1)){let e=n;n=r,r=e}}if(f!==e.outputColorSpace||p!==e.toneMapping){f=e.outputColorSpace,p=e.toneMapping,l.defines={},Oi.getTransfer(f)===`srgb`&&(l.defines.SRGB_TRANSFER=``);let t=os[p];t&&(l.defines[t]=``),l.needsUpdate=!0}l.uniforms.tDiffuse.value=n.texture,e.setRenderTarget(g),e.render(u,d),g=null,m=!1},this.isCompositing=function(){return m},this.dispose=function(){o.depthTexture&&o.depthTexture.dispose(),o.dispose(),s.dispose(),c.dispose(),l.dispose()}}const ss=new Ni,cs=new DepthTexture(1,1),ls=new DataArrayTexture,us=new Data3DTexture,ds=new CubeTexture,fs=[],ps=[],ms=new Float32Array(16),hs=new Float32Array(9),gs=new Float32Array(4);function flatten(e,t,n){let r=e[0];if(r<=0||r>0)return e;let i=t*n,a=fs[i];if(a===void 0&&(a=new Float32Array(i),fs[i]=a),t!==0){r.toArray(a,0);for(let r=1,i=0;r!==t;++r)i+=n,e[r].toArray(a,i)}return a}function arraysEqual(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function copyArray(e,t){for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}function allocTexUnits(e,t){let n=ps[t];n===void 0&&(n=new Int32Array(t),ps[t]=n);for(let r=0;r!==t;++r)n[r]=e.allocateTextureUnit();return n}function setValueV1f(e,t){let n=this.cache;n[0]!==t&&(e.uniform1f(this.addr,t),n[0]=t)}function setValueV2f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2f(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2fv(this.addr,t),copyArray(n,t)}}function setValueV3f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3f(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else if(t.r!==void 0)(n[0]!==t.r||n[1]!==t.g||n[2]!==t.b)&&(e.uniform3f(this.addr,t.r,t.g,t.b),n[0]=t.r,n[1]=t.g,n[2]=t.b);else{if(arraysEqual(n,t))return;e.uniform3fv(this.addr,t),copyArray(n,t)}}function setValueV4f(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4fv(this.addr,t),copyArray(n,t)}}function setValueM2(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix2fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;gs.set(r),e.uniformMatrix2fv(this.addr,!1,gs),copyArray(n,r)}}function setValueM3(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix3fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;hs.set(r),e.uniformMatrix3fv(this.addr,!1,hs),copyArray(n,r)}}function setValueM4(e,t){let n=this.cache,r=t.elements;if(r===void 0){if(arraysEqual(n,t))return;e.uniformMatrix4fv(this.addr,!1,t),copyArray(n,t)}else{if(arraysEqual(n,r))return;ms.set(r),e.uniformMatrix4fv(this.addr,!1,ms),copyArray(n,r)}}function setValueV1i(e,t){let n=this.cache;n[0]!==t&&(e.uniform1i(this.addr,t),n[0]=t)}function setValueV2i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2i(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2iv(this.addr,t),copyArray(n,t)}}function setValueV3i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3i(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(arraysEqual(n,t))return;e.uniform3iv(this.addr,t),copyArray(n,t)}}function setValueV4i(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4iv(this.addr,t),copyArray(n,t)}}function setValueV1ui(e,t){let n=this.cache;n[0]!==t&&(e.uniform1ui(this.addr,t),n[0]=t)}function setValueV2ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y)&&(e.uniform2ui(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(arraysEqual(n,t))return;e.uniform2uiv(this.addr,t),copyArray(n,t)}}function setValueV3ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z)&&(e.uniform3ui(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(arraysEqual(n,t))return;e.uniform3uiv(this.addr,t),copyArray(n,t)}}function setValueV4ui(e,t){let n=this.cache;if(t.x!==void 0)(n[0]!==t.x||n[1]!==t.y||n[2]!==t.z||n[3]!==t.w)&&(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(arraysEqual(n,t))return;e.uniform4uiv(this.addr,t),copyArray(n,t)}}function setValueT1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i);let a;this.type===e.SAMPLER_2D_SHADOW?(cs.compareFunction=n.isReversedDepthBuffer()?518:515,a=cs):a=ss,n.setTexture2D(t||a,i)}function setValueT3D1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(t||us,i)}function setValueT6(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(t||ds,i)}function setValueT2DArray1(e,t,n){let r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(t||ls,i)}function getSingularSetter(e){switch(e){case 5126:return setValueV1f;case 35664:return setValueV2f;case 35665:return setValueV3f;case 35666:return setValueV4f;case 35674:return setValueM2;case 35675:return setValueM3;case 35676:return setValueM4;case 5124:case 35670:return setValueV1i;case 35667:case 35671:return setValueV2i;case 35668:case 35672:return setValueV3i;case 35669:case 35673:return setValueV4i;case 5125:return setValueV1ui;case 36294:return setValueV2ui;case 36295:return setValueV3ui;case 36296:return setValueV4ui;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1;case 35679:case 36299:case 36307:return setValueT3D1;case 35680:case 36300:case 36308:case 36293:return setValueT6;case 36289:case 36303:case 36311:case 36292:return setValueT2DArray1}}function setValueV1fArray(e,t){e.uniform1fv(this.addr,t)}function setValueV2fArray(e,t){let n=flatten(t,this.size,2);e.uniform2fv(this.addr,n)}function setValueV3fArray(e,t){let n=flatten(t,this.size,3);e.uniform3fv(this.addr,n)}function setValueV4fArray(e,t){let n=flatten(t,this.size,4);e.uniform4fv(this.addr,n)}function setValueM2Array(e,t){let n=flatten(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,n)}function setValueM3Array(e,t){let n=flatten(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,n)}function setValueM4Array(e,t){let n=flatten(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,n)}function setValueV1iArray(e,t){e.uniform1iv(this.addr,t)}function setValueV2iArray(e,t){e.uniform2iv(this.addr,t)}function setValueV3iArray(e,t){e.uniform3iv(this.addr,t)}function setValueV4iArray(e,t){e.uniform4iv(this.addr,t)}function setValueV1uiArray(e,t){e.uniform1uiv(this.addr,t)}function setValueV2uiArray(e,t){e.uniform2uiv(this.addr,t)}function setValueV3uiArray(e,t){e.uniform3uiv(this.addr,t)}function setValueV4uiArray(e,t){e.uniform4uiv(this.addr,t)}function setValueT1Array(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));let o;o=this.type===e.SAMPLER_2D_SHADOW?cs:ss;for(let e=0;e!==i;++e)n.setTexture2D(t[e]||o,a[e])}function setValueT3DArray(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTexture3D(t[e]||us,a[e])}function setValueT6Array(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTextureCube(t[e]||ds,a[e])}function setValueT2DArrayArray(e,t,n){let r=this.cache,i=t.length,a=allocTexUnits(n,i);arraysEqual(r,a)||(e.uniform1iv(this.addr,a),copyArray(r,a));for(let e=0;e!==i;++e)n.setTexture2DArray(t[e]||ls,a[e])}function getPureArraySetter(e){switch(e){case 5126:return setValueV1fArray;case 35664:return setValueV2fArray;case 35665:return setValueV3fArray;case 35666:return setValueV4fArray;case 35674:return setValueM2Array;case 35675:return setValueM3Array;case 35676:return setValueM4Array;case 5124:case 35670:return setValueV1iArray;case 35667:case 35671:return setValueV2iArray;case 35668:case 35672:return setValueV3iArray;case 35669:case 35673:return setValueV4iArray;case 5125:return setValueV1uiArray;case 36294:return setValueV2uiArray;case 36295:return setValueV3uiArray;case 36296:return setValueV4uiArray;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1Array;case 35679:case 36299:case 36307:return setValueT3DArray;case 35680:case 36300:case 36308:case 36293:return setValueT6Array;case 36289:case 36303:case 36311:case 36292:return setValueT2DArrayArray}}var SingleUniform=class{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.setValue=getSingularSetter(t.type)}},PureArrayUniform=class{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.size=t.size,this.setValue=getPureArraySetter(t.type)}},StructuredUniform=class{constructor(e){this.id=e,this.seq=[],this.map={}}setValue(e,t,n){let r=this.seq;for(let i=0,a=r.length;i!==a;++i){let a=r[i];a.setValue(e,t[a.id],n)}}};const _s=/(\w+)(\])?(\[|\.)?/g;function addUniform(e,t){e.seq.push(t),e.map[t.id]=t}function parseUniform(e,t,n){let r=e.name,i=r.length;for(_s.lastIndex=0;;){let a=_s.exec(r),o=_s.lastIndex,s=a[1],c=a[2]===`]`,l=a[3];if(c&&(s|=0),l===void 0||l===`[`&&o+2===i){addUniform(n,l===void 0?new SingleUniform(s,e,t):new PureArrayUniform(s,e,t));break}else{let e=n.map[s];e===void 0&&(e=new StructuredUniform(s),addUniform(n,e)),n=e}}}var WebGLUniforms=class{constructor(e,t){this.seq=[],this.map={};let n=e.getProgramParameter(t,e.ACTIVE_UNIFORMS);for(let r=0;r<n;++r){let n=e.getActiveUniform(t,r);parseUniform(n,e.getUniformLocation(t,n.name),this)}let r=[],i=[];for(let t of this.seq)t.type===e.SAMPLER_2D_SHADOW||t.type===e.SAMPLER_CUBE_SHADOW||t.type===e.SAMPLER_2D_ARRAY_SHADOW?r.push(t):i.push(t);r.length>0&&(this.seq=r.concat(i))}setValue(e,t,n,r){let i=this.map[t];i!==void 0&&i.setValue(e,n,r)}setOptional(e,t,n){let r=t[n];r!==void 0&&this.setValue(e,n,r)}static upload(e,t,n,r){for(let i=0,a=t.length;i!==a;++i){let a=t[i],o=n[a.id];o.needsUpdate!==!1&&a.setValue(e,o.value,r)}}static seqWithValue(e,t){let n=[];for(let r=0,i=e.length;r!==i;++r){let i=e[r];i.id in t&&n.push(i)}return n}};function WebGLShader(e,t,n){let r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}let vs=0;function handleSource(e,t){let n=e.split(`
|
|
4096
4096
|
`),r=[],i=Math.max(t-6,0),a=Math.min(t+6,n.length);for(let e=i;e<a;e++){let i=e+1;r.push(`${i===t?`>`:` `} ${i}: ${n[e]}`)}return r.join(`
|
|
4097
|
-
`)}const
|
|
4097
|
+
`)}const ys=new wi;function getEncodingComponents(e){Oi._getMatrix(ys,Oi.workingColorSpace,e);let t=`mat3( ${ys.elements.map(e=>e.toFixed(4))} )`;switch(Oi.getTransfer(e)){case ui:return[t,`LinearTransferOETF`];case di:return[t,`sRGBTransferOETF`];default:return warn(`WebGLProgram: Unsupported color space: `,e),[t,`LinearTransferOETF`]}}function getShaderErrors(e,t,n){let r=e.getShaderParameter(t,e.COMPILE_STATUS),i=(e.getShaderInfoLog(t)||``).trim();if(r&&i===``)return``;let a=/ERROR: 0:(\d+)/.exec(i);if(a){let r=parseInt(a[1]);return n.toUpperCase()+`
|
|
4098
4098
|
|
|
4099
4099
|
`+i+`
|
|
4100
4100
|
|
|
4101
4101
|
`+handleSource(e.getShaderSource(t),r)}else return i}function getTexelEncodingFunction(e,t){let n=getEncodingComponents(t);return[`vec4 ${e}( vec4 value ) {`,` return ${n[1]}( vec4( value.rgb * ${n[0]}, value.a ) );`,`}`].join(`
|
|
4102
|
-
`)}const
|
|
4102
|
+
`)}const bs={1:`Linear`,2:`Reinhard`,3:`Cineon`,4:`ACESFilmic`,6:`AgX`,7:`Neutral`,5:`Custom`};function getToneMappingFunction(e,t){let n=bs[t];return n===void 0?(warn(`WebGLProgram: Unsupported toneMapping:`,t),`vec3 `+e+`( vec3 color ) { return LinearToneMapping( color ); }`):`vec3 `+e+`( vec3 color ) { return `+n+`ToneMapping( color ); }`}const xs=new I;function getLuminanceFunction(){return Oi.getLuminanceCoefficients(xs),[`float luminance( const in vec3 rgb ) {`,` const vec3 weights = vec3( ${xs.x.toFixed(4)}, ${xs.y.toFixed(4)}, ${xs.z.toFixed(4)} );`,` return dot( weights, rgb );`,`}`].join(`
|
|
4103
4103
|
`)}function generateVertexExtensions(e){return[e.extensionClipCullDistance?`#extension GL_ANGLE_clip_cull_distance : require`:``,e.extensionMultiDraw?`#extension GL_ANGLE_multi_draw : require`:``].filter(filterEmptyLine).join(`
|
|
4104
4104
|
`)}function generateDefines(e){let t=[];for(let n in e){let r=e[n];r!==!1&&t.push(`#define `+n+` `+r)}return t.join(`
|
|
4105
|
-
`)}function fetchAttributeLocations(e,t){let n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let i=0;i<r;i++){let r=e.getActiveAttrib(t,i),a=r.name,o=1;r.type===e.FLOAT_MAT2&&(o=2),r.type===e.FLOAT_MAT3&&(o=3),r.type===e.FLOAT_MAT4&&(o=4),n[a]={type:r.type,location:e.getAttribLocation(t,a),locationSize:o}}return n}function filterEmptyLine(e){return e!==``}function replaceLightNums(e,t){let n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function replaceClippingPlaneNums(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const
|
|
4105
|
+
`)}function fetchAttributeLocations(e,t){let n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let i=0;i<r;i++){let r=e.getActiveAttrib(t,i),a=r.name,o=1;r.type===e.FLOAT_MAT2&&(o=2),r.type===e.FLOAT_MAT3&&(o=3),r.type===e.FLOAT_MAT4&&(o=4),n[a]={type:r.type,location:e.getAttribLocation(t,a),locationSize:o}}return n}function filterEmptyLine(e){return e!==``}function replaceLightNums(e,t){let n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function replaceClippingPlaneNums(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const Ss=/^[ \t]*#include +<([\w\d./]+)>/gm;function resolveIncludes(e){return e.replace(Ss,includeReplacer)}const Cs=new Map;function includeReplacer(e,t){let n=qo[t];if(n===void 0){let e=Cs.get(t);if(e!==void 0)n=qo[e],warn(`WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.`,t,e);else throw Error(`THREE.WebGLProgram: Can not resolve #include <`+t+`>`)}return resolveIncludes(n)}const ws=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function unrollLoops(e){return e.replace(ws,loopReplacer)}function loopReplacer(e,t,n,r){let i=``;for(let e=parseInt(t);e<parseInt(n);e++)i+=r.replace(/\[\s*i\s*\]/g,`[ `+e+` ]`).replace(/UNROLLED_LOOP_INDEX/g,e);return i}function generatePrecision(e){let t=`precision ${e.precision} float;
|
|
4106
4106
|
precision ${e.precision} int;
|
|
4107
4107
|
precision ${e.precision} sampler2D;
|
|
4108
4108
|
precision ${e.precision} samplerCube;
|
|
@@ -4122,14 +4122,14 @@ void main() {
|
|
|
4122
4122
|
`;return e.precision===`highp`?t+=`
|
|
4123
4123
|
#define HIGH_PRECISION`:e.precision===`mediump`?t+=`
|
|
4124
4124
|
#define MEDIUM_PRECISION`:e.precision===`lowp`&&(t+=`
|
|
4125
|
-
#define LOW_PRECISION`),t}const
|
|
4125
|
+
#define LOW_PRECISION`),t}const Ts={1:`SHADOWMAP_TYPE_PCF`,3:`SHADOWMAP_TYPE_VSM`};function generateShadowMapTypeDefine(e){return Ts[e.shadowMapType]||`SHADOWMAP_TYPE_BASIC`}const Es={301:`ENVMAP_TYPE_CUBE`,302:`ENVMAP_TYPE_CUBE`,306:`ENVMAP_TYPE_CUBE_UV`};function generateEnvMapTypeDefine(e){return e.envMap===!1?`ENVMAP_TYPE_CUBE`:Es[e.envMapMode]||`ENVMAP_TYPE_CUBE`}const Ds={302:`ENVMAP_MODE_REFRACTION`};function generateEnvMapModeDefine(e){return e.envMap===!1?`ENVMAP_MODE_REFLECTION`:Ds[e.envMapMode]||`ENVMAP_MODE_REFLECTION`}const Os={0:`ENVMAP_BLENDING_MULTIPLY`,1:`ENVMAP_BLENDING_MIX`,2:`ENVMAP_BLENDING_ADD`};function generateEnvMapBlendingDefine(e){return e.envMap===!1?`ENVMAP_BLENDING_NONE`:Os[e.combine]||`ENVMAP_BLENDING_NONE`}function generateCubeUVSize(e){let t=e.envMapCubeUVHeight;if(t===null)return null;let n=Math.log2(t)-2,r=1/t;return{texelWidth:1/(3*Math.max(2**n,112)),texelHeight:r,maxMip:n}}function WebGLProgram(e,t,n,r){let i=e.getContext(),a=n.defines,o=n.vertexShader,s=n.fragmentShader,c=generateShadowMapTypeDefine(n),l=generateEnvMapTypeDefine(n),u=generateEnvMapModeDefine(n),d=generateEnvMapBlendingDefine(n),f=generateCubeUVSize(n),p=generateVertexExtensions(n),m=generateDefines(a),h=i.createProgram(),g,_,v=n.glslVersion?`#version `+n.glslVersion+`
|
|
4126
4126
|
`:``;n.isRawShaderMaterial?(g=[`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m].filter(filterEmptyLine).join(`
|
|
4127
4127
|
`),g.length>0&&(g+=`
|
|
4128
4128
|
`),_=[`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m].filter(filterEmptyLine).join(`
|
|
4129
4129
|
`),_.length>0&&(_+=`
|
|
4130
4130
|
`)):(g=[generatePrecision(n),`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m,n.extensionClipCullDistance?`#define USE_CLIP_DISTANCE`:``,n.batching?`#define USE_BATCHING`:``,n.batchingColor?`#define USE_BATCHING_COLOR`:``,n.instancing?`#define USE_INSTANCING`:``,n.instancingColor?`#define USE_INSTANCING_COLOR`:``,n.instancingMorph?`#define USE_INSTANCING_MORPH`:``,n.useFog&&n.fog?`#define USE_FOG`:``,n.useFog&&n.fogExp2?`#define FOG_EXP2`:``,n.map?`#define USE_MAP`:``,n.envMap?`#define USE_ENVMAP`:``,n.envMap?`#define `+u:``,n.lightMap?`#define USE_LIGHTMAP`:``,n.aoMap?`#define USE_AOMAP`:``,n.bumpMap?`#define USE_BUMPMAP`:``,n.normalMap?`#define USE_NORMALMAP`:``,n.normalMapObjectSpace?`#define USE_NORMALMAP_OBJECTSPACE`:``,n.normalMapTangentSpace?`#define USE_NORMALMAP_TANGENTSPACE`:``,n.displacementMap?`#define USE_DISPLACEMENTMAP`:``,n.emissiveMap?`#define USE_EMISSIVEMAP`:``,n.anisotropy?`#define USE_ANISOTROPY`:``,n.anisotropyMap?`#define USE_ANISOTROPYMAP`:``,n.clearcoatMap?`#define USE_CLEARCOATMAP`:``,n.clearcoatRoughnessMap?`#define USE_CLEARCOAT_ROUGHNESSMAP`:``,n.clearcoatNormalMap?`#define USE_CLEARCOAT_NORMALMAP`:``,n.iridescenceMap?`#define USE_IRIDESCENCEMAP`:``,n.iridescenceThicknessMap?`#define USE_IRIDESCENCE_THICKNESSMAP`:``,n.specularMap?`#define USE_SPECULARMAP`:``,n.specularColorMap?`#define USE_SPECULAR_COLORMAP`:``,n.specularIntensityMap?`#define USE_SPECULAR_INTENSITYMAP`:``,n.roughnessMap?`#define USE_ROUGHNESSMAP`:``,n.metalnessMap?`#define USE_METALNESSMAP`:``,n.alphaMap?`#define USE_ALPHAMAP`:``,n.alphaHash?`#define USE_ALPHAHASH`:``,n.transmission?`#define USE_TRANSMISSION`:``,n.transmissionMap?`#define USE_TRANSMISSIONMAP`:``,n.thicknessMap?`#define USE_THICKNESSMAP`:``,n.sheenColorMap?`#define USE_SHEEN_COLORMAP`:``,n.sheenRoughnessMap?`#define USE_SHEEN_ROUGHNESSMAP`:``,n.mapUv?`#define MAP_UV `+n.mapUv:``,n.alphaMapUv?`#define ALPHAMAP_UV `+n.alphaMapUv:``,n.lightMapUv?`#define LIGHTMAP_UV `+n.lightMapUv:``,n.aoMapUv?`#define AOMAP_UV `+n.aoMapUv:``,n.emissiveMapUv?`#define EMISSIVEMAP_UV `+n.emissiveMapUv:``,n.bumpMapUv?`#define BUMPMAP_UV `+n.bumpMapUv:``,n.normalMapUv?`#define NORMALMAP_UV `+n.normalMapUv:``,n.displacementMapUv?`#define DISPLACEMENTMAP_UV `+n.displacementMapUv:``,n.metalnessMapUv?`#define METALNESSMAP_UV `+n.metalnessMapUv:``,n.roughnessMapUv?`#define ROUGHNESSMAP_UV `+n.roughnessMapUv:``,n.anisotropyMapUv?`#define ANISOTROPYMAP_UV `+n.anisotropyMapUv:``,n.clearcoatMapUv?`#define CLEARCOATMAP_UV `+n.clearcoatMapUv:``,n.clearcoatNormalMapUv?`#define CLEARCOAT_NORMALMAP_UV `+n.clearcoatNormalMapUv:``,n.clearcoatRoughnessMapUv?`#define CLEARCOAT_ROUGHNESSMAP_UV `+n.clearcoatRoughnessMapUv:``,n.iridescenceMapUv?`#define IRIDESCENCEMAP_UV `+n.iridescenceMapUv:``,n.iridescenceThicknessMapUv?`#define IRIDESCENCE_THICKNESSMAP_UV `+n.iridescenceThicknessMapUv:``,n.sheenColorMapUv?`#define SHEEN_COLORMAP_UV `+n.sheenColorMapUv:``,n.sheenRoughnessMapUv?`#define SHEEN_ROUGHNESSMAP_UV `+n.sheenRoughnessMapUv:``,n.specularMapUv?`#define SPECULARMAP_UV `+n.specularMapUv:``,n.specularColorMapUv?`#define SPECULAR_COLORMAP_UV `+n.specularColorMapUv:``,n.specularIntensityMapUv?`#define SPECULAR_INTENSITYMAP_UV `+n.specularIntensityMapUv:``,n.transmissionMapUv?`#define TRANSMISSIONMAP_UV `+n.transmissionMapUv:``,n.thicknessMapUv?`#define THICKNESSMAP_UV `+n.thicknessMapUv:``,n.vertexTangents&&n.flatShading===!1?`#define USE_TANGENT`:``,n.vertexNormals?`#define HAS_NORMAL`:``,n.vertexColors?`#define USE_COLOR`:``,n.vertexAlphas?`#define USE_COLOR_ALPHA`:``,n.vertexUv1s?`#define USE_UV1`:``,n.vertexUv2s?`#define USE_UV2`:``,n.vertexUv3s?`#define USE_UV3`:``,n.pointsUvs?`#define USE_POINTS_UV`:``,n.flatShading?`#define FLAT_SHADED`:``,n.skinning?`#define USE_SKINNING`:``,n.morphTargets?`#define USE_MORPHTARGETS`:``,n.morphNormals&&n.flatShading===!1?`#define USE_MORPHNORMALS`:``,n.morphColors?`#define USE_MORPHCOLORS`:``,n.morphTargetsCount>0?`#define MORPHTARGETS_TEXTURE_STRIDE `+n.morphTextureStride:``,n.morphTargetsCount>0?`#define MORPHTARGETS_COUNT `+n.morphTargetsCount:``,n.doubleSided?`#define DOUBLE_SIDED`:``,n.flipSided?`#define FLIP_SIDED`:``,n.shadowMapEnabled?`#define USE_SHADOWMAP`:``,n.shadowMapEnabled?`#define `+c:``,n.sizeAttenuation?`#define USE_SIZEATTENUATION`:``,n.numLightProbes>0?`#define USE_LIGHT_PROBES`:``,n.logarithmicDepthBuffer?`#define USE_LOGARITHMIC_DEPTH_BUFFER`:``,n.reversedDepthBuffer?`#define USE_REVERSED_DEPTH_BUFFER`:``,`uniform mat4 modelMatrix;`,`uniform mat4 modelViewMatrix;`,`uniform mat4 projectionMatrix;`,`uniform mat4 viewMatrix;`,`uniform mat3 normalMatrix;`,`uniform vec3 cameraPosition;`,`uniform bool isOrthographic;`,`#ifdef USE_INSTANCING`,` attribute mat4 instanceMatrix;`,`#endif`,`#ifdef USE_INSTANCING_COLOR`,` attribute vec3 instanceColor;`,`#endif`,`#ifdef USE_INSTANCING_MORPH`,` uniform sampler2D morphTexture;`,`#endif`,`attribute vec3 position;`,`attribute vec3 normal;`,`attribute vec2 uv;`,`#ifdef USE_UV1`,` attribute vec2 uv1;`,`#endif`,`#ifdef USE_UV2`,` attribute vec2 uv2;`,`#endif`,`#ifdef USE_UV3`,` attribute vec2 uv3;`,`#endif`,`#ifdef USE_TANGENT`,` attribute vec4 tangent;`,`#endif`,`#if defined( USE_COLOR_ALPHA )`,` attribute vec4 color;`,`#elif defined( USE_COLOR )`,` attribute vec3 color;`,`#endif`,`#ifdef USE_SKINNING`,` attribute vec4 skinIndex;`,` attribute vec4 skinWeight;`,`#endif`,`
|
|
4131
4131
|
`].filter(filterEmptyLine).join(`
|
|
4132
|
-
`),_=[generatePrecision(n),`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m,n.useFog&&n.fog?`#define USE_FOG`:``,n.useFog&&n.fogExp2?`#define FOG_EXP2`:``,n.alphaToCoverage?`#define ALPHA_TO_COVERAGE`:``,n.map?`#define USE_MAP`:``,n.matcap?`#define USE_MATCAP`:``,n.envMap?`#define USE_ENVMAP`:``,n.envMap?`#define `+l:``,n.envMap?`#define `+u:``,n.envMap?`#define `+d:``,f?`#define CUBEUV_TEXEL_WIDTH `+f.texelWidth:``,f?`#define CUBEUV_TEXEL_HEIGHT `+f.texelHeight:``,f?`#define CUBEUV_MAX_MIP `+f.maxMip+`.0`:``,n.lightMap?`#define USE_LIGHTMAP`:``,n.aoMap?`#define USE_AOMAP`:``,n.bumpMap?`#define USE_BUMPMAP`:``,n.normalMap?`#define USE_NORMALMAP`:``,n.normalMapObjectSpace?`#define USE_NORMALMAP_OBJECTSPACE`:``,n.normalMapTangentSpace?`#define USE_NORMALMAP_TANGENTSPACE`:``,n.packedNormalMap?`#define USE_PACKED_NORMALMAP`:``,n.emissiveMap?`#define USE_EMISSIVEMAP`:``,n.anisotropy?`#define USE_ANISOTROPY`:``,n.anisotropyMap?`#define USE_ANISOTROPYMAP`:``,n.clearcoat?`#define USE_CLEARCOAT`:``,n.clearcoatMap?`#define USE_CLEARCOATMAP`:``,n.clearcoatRoughnessMap?`#define USE_CLEARCOAT_ROUGHNESSMAP`:``,n.clearcoatNormalMap?`#define USE_CLEARCOAT_NORMALMAP`:``,n.dispersion?`#define USE_DISPERSION`:``,n.iridescence?`#define USE_IRIDESCENCE`:``,n.iridescenceMap?`#define USE_IRIDESCENCEMAP`:``,n.iridescenceThicknessMap?`#define USE_IRIDESCENCE_THICKNESSMAP`:``,n.specularMap?`#define USE_SPECULARMAP`:``,n.specularColorMap?`#define USE_SPECULAR_COLORMAP`:``,n.specularIntensityMap?`#define USE_SPECULAR_INTENSITYMAP`:``,n.roughnessMap?`#define USE_ROUGHNESSMAP`:``,n.metalnessMap?`#define USE_METALNESSMAP`:``,n.alphaMap?`#define USE_ALPHAMAP`:``,n.alphaTest?`#define USE_ALPHATEST`:``,n.alphaHash?`#define USE_ALPHAHASH`:``,n.sheen?`#define USE_SHEEN`:``,n.sheenColorMap?`#define USE_SHEEN_COLORMAP`:``,n.sheenRoughnessMap?`#define USE_SHEEN_ROUGHNESSMAP`:``,n.transmission?`#define USE_TRANSMISSION`:``,n.transmissionMap?`#define USE_TRANSMISSIONMAP`:``,n.thicknessMap?`#define USE_THICKNESSMAP`:``,n.vertexTangents&&n.flatShading===!1?`#define USE_TANGENT`:``,n.vertexColors||n.instancingColor?`#define USE_COLOR`:``,n.vertexAlphas||n.batchingColor?`#define USE_COLOR_ALPHA`:``,n.vertexUv1s?`#define USE_UV1`:``,n.vertexUv2s?`#define USE_UV2`:``,n.vertexUv3s?`#define USE_UV3`:``,n.pointsUvs?`#define USE_POINTS_UV`:``,n.gradientMap?`#define USE_GRADIENTMAP`:``,n.flatShading?`#define FLAT_SHADED`:``,n.doubleSided?`#define DOUBLE_SIDED`:``,n.flipSided?`#define FLIP_SIDED`:``,n.shadowMapEnabled?`#define USE_SHADOWMAP`:``,n.shadowMapEnabled?`#define `+c:``,n.premultipliedAlpha?`#define PREMULTIPLIED_ALPHA`:``,n.numLightProbes>0?`#define USE_LIGHT_PROBES`:``,n.numLightProbeGrids>0?`#define USE_LIGHT_PROBES_GRID`:``,n.decodeVideoTexture?`#define DECODE_VIDEO_TEXTURE`:``,n.decodeVideoTextureEmissive?`#define DECODE_VIDEO_TEXTURE_EMISSIVE`:``,n.logarithmicDepthBuffer?`#define USE_LOGARITHMIC_DEPTH_BUFFER`:``,n.reversedDepthBuffer?`#define USE_REVERSED_DEPTH_BUFFER`:``,`uniform mat4 viewMatrix;`,`uniform vec3 cameraPosition;`,`uniform bool isOrthographic;`,n.toneMapping===0?``:`#define TONE_MAPPING`,n.toneMapping===0?``:
|
|
4132
|
+
`),_=[generatePrecision(n),`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m,n.useFog&&n.fog?`#define USE_FOG`:``,n.useFog&&n.fogExp2?`#define FOG_EXP2`:``,n.alphaToCoverage?`#define ALPHA_TO_COVERAGE`:``,n.map?`#define USE_MAP`:``,n.matcap?`#define USE_MATCAP`:``,n.envMap?`#define USE_ENVMAP`:``,n.envMap?`#define `+l:``,n.envMap?`#define `+u:``,n.envMap?`#define `+d:``,f?`#define CUBEUV_TEXEL_WIDTH `+f.texelWidth:``,f?`#define CUBEUV_TEXEL_HEIGHT `+f.texelHeight:``,f?`#define CUBEUV_MAX_MIP `+f.maxMip+`.0`:``,n.lightMap?`#define USE_LIGHTMAP`:``,n.aoMap?`#define USE_AOMAP`:``,n.bumpMap?`#define USE_BUMPMAP`:``,n.normalMap?`#define USE_NORMALMAP`:``,n.normalMapObjectSpace?`#define USE_NORMALMAP_OBJECTSPACE`:``,n.normalMapTangentSpace?`#define USE_NORMALMAP_TANGENTSPACE`:``,n.packedNormalMap?`#define USE_PACKED_NORMALMAP`:``,n.emissiveMap?`#define USE_EMISSIVEMAP`:``,n.anisotropy?`#define USE_ANISOTROPY`:``,n.anisotropyMap?`#define USE_ANISOTROPYMAP`:``,n.clearcoat?`#define USE_CLEARCOAT`:``,n.clearcoatMap?`#define USE_CLEARCOATMAP`:``,n.clearcoatRoughnessMap?`#define USE_CLEARCOAT_ROUGHNESSMAP`:``,n.clearcoatNormalMap?`#define USE_CLEARCOAT_NORMALMAP`:``,n.dispersion?`#define USE_DISPERSION`:``,n.iridescence?`#define USE_IRIDESCENCE`:``,n.iridescenceMap?`#define USE_IRIDESCENCEMAP`:``,n.iridescenceThicknessMap?`#define USE_IRIDESCENCE_THICKNESSMAP`:``,n.specularMap?`#define USE_SPECULARMAP`:``,n.specularColorMap?`#define USE_SPECULAR_COLORMAP`:``,n.specularIntensityMap?`#define USE_SPECULAR_INTENSITYMAP`:``,n.roughnessMap?`#define USE_ROUGHNESSMAP`:``,n.metalnessMap?`#define USE_METALNESSMAP`:``,n.alphaMap?`#define USE_ALPHAMAP`:``,n.alphaTest?`#define USE_ALPHATEST`:``,n.alphaHash?`#define USE_ALPHAHASH`:``,n.sheen?`#define USE_SHEEN`:``,n.sheenColorMap?`#define USE_SHEEN_COLORMAP`:``,n.sheenRoughnessMap?`#define USE_SHEEN_ROUGHNESSMAP`:``,n.transmission?`#define USE_TRANSMISSION`:``,n.transmissionMap?`#define USE_TRANSMISSIONMAP`:``,n.thicknessMap?`#define USE_THICKNESSMAP`:``,n.vertexTangents&&n.flatShading===!1?`#define USE_TANGENT`:``,n.vertexColors||n.instancingColor?`#define USE_COLOR`:``,n.vertexAlphas||n.batchingColor?`#define USE_COLOR_ALPHA`:``,n.vertexUv1s?`#define USE_UV1`:``,n.vertexUv2s?`#define USE_UV2`:``,n.vertexUv3s?`#define USE_UV3`:``,n.pointsUvs?`#define USE_POINTS_UV`:``,n.gradientMap?`#define USE_GRADIENTMAP`:``,n.flatShading?`#define FLAT_SHADED`:``,n.doubleSided?`#define DOUBLE_SIDED`:``,n.flipSided?`#define FLIP_SIDED`:``,n.shadowMapEnabled?`#define USE_SHADOWMAP`:``,n.shadowMapEnabled?`#define `+c:``,n.premultipliedAlpha?`#define PREMULTIPLIED_ALPHA`:``,n.numLightProbes>0?`#define USE_LIGHT_PROBES`:``,n.numLightProbeGrids>0?`#define USE_LIGHT_PROBES_GRID`:``,n.decodeVideoTexture?`#define DECODE_VIDEO_TEXTURE`:``,n.decodeVideoTextureEmissive?`#define DECODE_VIDEO_TEXTURE_EMISSIVE`:``,n.logarithmicDepthBuffer?`#define USE_LOGARITHMIC_DEPTH_BUFFER`:``,n.reversedDepthBuffer?`#define USE_REVERSED_DEPTH_BUFFER`:``,`uniform mat4 viewMatrix;`,`uniform vec3 cameraPosition;`,`uniform bool isOrthographic;`,n.toneMapping===0?``:`#define TONE_MAPPING`,n.toneMapping===0?``:qo.tonemapping_pars_fragment,n.toneMapping===0?``:getToneMappingFunction(`toneMapping`,n.toneMapping),n.dithering?`#define DITHERING`:``,n.opaque?`#define OPAQUE`:``,qo.colorspace_pars_fragment,getTexelEncodingFunction(`linearToOutputTexel`,n.outputColorSpace),getLuminanceFunction(),n.useDepthPacking?`#define DEPTH_PACKING `+n.depthPacking:``,`
|
|
4133
4133
|
`].filter(filterEmptyLine).join(`
|
|
4134
4134
|
`)),o=resolveIncludes(o),o=replaceLightNums(o,n),o=replaceClippingPlaneNums(o,n),s=resolveIncludes(s),s=replaceLightNums(s,n),s=replaceClippingPlaneNums(s,n),o=unrollLoops(o),s=unrollLoops(s),n.isRawShaderMaterial!==!0&&(v=`#version 300 es
|
|
4135
4135
|
`,g=[p,`#define attribute in`,`#define varying out`,`#define texture2D texture`].join(`
|
|
@@ -4143,7 +4143,7 @@ Material Type: `+t.type+`
|
|
|
4143
4143
|
|
|
4144
4144
|
Program Info Log: `+o+`
|
|
4145
4145
|
`+e+`
|
|
4146
|
-
`+n)}else o===``?(s===``||c===``)&&(u=!1):warn(`WebGLProgram: Program Info Log:`,o);u&&(t.diagnostics={runnable:l,programLog:o,vertexShader:{log:s,prefix:g},fragmentShader:{log:c,prefix:_}})}i.deleteShader(x),i.deleteShader(S),C=new WebGLUniforms(i,h),w=fetchAttributeLocations(i,h)}let C;this.getUniforms=function(){return C===void 0&&onFirstUse(this),C};let w;this.getAttributes=function(){return w===void 0&&onFirstUse(this),w};let T=n.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return T===!1&&(T=i.getProgramParameter(h,37297)),T},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(h),this.program=void 0},this.type=n.shaderType,this.name=n.shaderName,this.id=gs++,this.cacheKey=t,this.usedTimes=1,this.program=h,this.vertexShader=x,this.fragmentShader=S,this}let Ds=0;var WebGLShaderCache=class{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e,t,n){let r=this._getShaderCacheForMaterial(e);return r.has(t)===!1&&(r.add(t),t.usedTimes++),r.has(n)===!1&&(r.add(n),n.usedTimes++),this}remove(e){let t=this.materialCache.get(e);for(let e of t)e.usedTimes--,e.usedTimes===0&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderStage(e){return this._getShaderStage(e.vertexShader)}getFragmentShaderStage(e){return this._getShaderStage(e.fragmentShader)}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){let t=this.materialCache,n=t.get(e);return n===void 0&&(n=new Set,t.set(e,n)),n}_getShaderStage(e){let t=this.shaderCache,n=t.get(e);return n===void 0&&(n=new WebGLShaderStage(e),t.set(e,n)),n}},WebGLShaderStage=class{constructor(e){this.id=Ds++,this.code=e,this.usedTimes=0}};function isPackedRGFormat(e){return e===1030||e===37490||e===36285}function WebGLPrograms(e,t,n,r,i,a){let o=new Layers,s=new WebGLShaderCache,c=new Set,l=[],u=new Map,d=r.logarithmicDepthBuffer,f=r.precision,p={MeshDepthMaterial:`depth`,MeshDistanceMaterial:`distance`,MeshNormalMaterial:`normal`,MeshBasicMaterial:`basic`,MeshLambertMaterial:`lambert`,MeshPhongMaterial:`phong`,MeshToonMaterial:`toon`,MeshStandardMaterial:`physical`,MeshPhysicalMaterial:`physical`,MeshMatcapMaterial:`matcap`,LineBasicMaterial:`basic`,LineDashedMaterial:`dashed`,PointsMaterial:`points`,ShadowMaterial:`shadow`,SpriteMaterial:`sprite`};function getChannel(e){return c.add(e),e===0?`uv`:`uv${e}`}function getParameters(i,o,l,u,m,h){let g=u.fog,_=m.geometry,v=i.isMeshStandardMaterial||i.isMeshLambertMaterial||i.isMeshPhongMaterial?u.environment:null,y=i.isMeshStandardMaterial||i.isMeshLambertMaterial&&!i.envMap||i.isMeshPhongMaterial&&!i.envMap,b=t.get(i.envMap||v,y),x=b&&b.mapping===306?b.image.height:null,S=p[i.type];i.precision!==null&&(f=r.getMaxPrecision(i.precision),f!==i.precision&&warn(`WebGLProgram.getParameters:`,i.precision,`not supported, using`,f,`instead.`));let C=_.morphAttributes.position||_.morphAttributes.normal||_.morphAttributes.color,w=C===void 0?0:C.length,T=0;_.morphAttributes.position!==void 0&&(T=1),_.morphAttributes.normal!==void 0&&(T=2),_.morphAttributes.color!==void 0&&(T=3);let E,D,O,ee;if(S){let e=Ko[S];E=e.vertexShader,D=e.fragmentShader}else{E=i.vertexShader,D=i.fragmentShader;let e=s.getVertexShaderStage(i),t=s.getFragmentShaderStage(i);s.update(i,e,t),O=e.id,ee=t.id}let te=e.getRenderTarget(),ne=e.state.buffers.depth.getReversed(),k=m.isInstancedMesh===!0,A=m.isBatchedMesh===!0,re=!!i.map,ie=!!i.matcap,ae=!!b,oe=!!i.aoMap,se=!!i.lightMap,ce=!!i.bumpMap&&i.wireframe===!1,le=!!i.normalMap,ue=!!i.displacementMap,de=!!i.emissiveMap,fe=!!i.metalnessMap,pe=!!i.roughnessMap,me=i.anisotropy>0,he=i.clearcoat>0,ge=i.dispersion>0,_e=i.iridescence>0,ve=i.sheen>0,ye=i.transmission>0,be=me&&!!i.anisotropyMap,xe=he&&!!i.clearcoatMap,Se=he&&!!i.clearcoatNormalMap,Ce=he&&!!i.clearcoatRoughnessMap,we=_e&&!!i.iridescenceMap,Te=_e&&!!i.iridescenceThicknessMap,j=ve&&!!i.sheenColorMap,Ee=ve&&!!i.sheenRoughnessMap,De=!!i.specularMap,M=!!i.specularColorMap,Oe=!!i.specularIntensityMap,ke=ye&&!!i.transmissionMap,N=ye&&!!i.thicknessMap,P=!!i.gradientMap,Ae=!!i.alphaMap,je=i.alphaTest>0,Me=!!i.alphaHash,Ne=!!i.extensions,Pe=0;i.toneMapped&&(te===null||te.isXRRenderTarget===!0)&&(Pe=e.toneMapping);let Fe={shaderID:S,shaderType:i.type,shaderName:i.name,vertexShader:E,fragmentShader:D,defines:i.defines,customVertexShaderID:O,customFragmentShaderID:ee,isRawShaderMaterial:i.isRawShaderMaterial===!0,glslVersion:i.glslVersion,precision:f,batching:A,batchingColor:A&&m._colorsTexture!==null,instancing:k,instancingColor:k&&m.instanceColor!==null,instancingMorph:k&&m.morphTexture!==null,outputColorSpace:te===null?e.outputColorSpace:te.isXRRenderTarget===!0?te.texture.colorSpace:Ei.workingColorSpace,alphaToCoverage:!!i.alphaToCoverage,map:re,matcap:ie,envMap:ae,envMapMode:ae&&b.mapping,envMapCubeUVHeight:x,aoMap:oe,lightMap:se,bumpMap:ce,normalMap:le,displacementMap:ue,emissiveMap:de,normalMapObjectSpace:le&&i.normalMapType===1,normalMapTangentSpace:le&&i.normalMapType===0,packedNormalMap:le&&i.normalMapType===0&&isPackedRGFormat(i.normalMap.format),metalnessMap:fe,roughnessMap:pe,anisotropy:me,anisotropyMap:be,clearcoat:he,clearcoatMap:xe,clearcoatNormalMap:Se,clearcoatRoughnessMap:Ce,dispersion:ge,iridescence:_e,iridescenceMap:we,iridescenceThicknessMap:Te,sheen:ve,sheenColorMap:j,sheenRoughnessMap:Ee,specularMap:De,specularColorMap:M,specularIntensityMap:Oe,transmission:ye,transmissionMap:ke,thicknessMap:N,gradientMap:P,opaque:i.transparent===!1&&i.blending===1&&i.alphaToCoverage===!1,alphaMap:Ae,alphaTest:je,alphaHash:Me,combine:i.combine,mapUv:re&&getChannel(i.map.channel),aoMapUv:oe&&getChannel(i.aoMap.channel),lightMapUv:se&&getChannel(i.lightMap.channel),bumpMapUv:ce&&getChannel(i.bumpMap.channel),normalMapUv:le&&getChannel(i.normalMap.channel),displacementMapUv:ue&&getChannel(i.displacementMap.channel),emissiveMapUv:de&&getChannel(i.emissiveMap.channel),metalnessMapUv:fe&&getChannel(i.metalnessMap.channel),roughnessMapUv:pe&&getChannel(i.roughnessMap.channel),anisotropyMapUv:be&&getChannel(i.anisotropyMap.channel),clearcoatMapUv:xe&&getChannel(i.clearcoatMap.channel),clearcoatNormalMapUv:Se&&getChannel(i.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:Ce&&getChannel(i.clearcoatRoughnessMap.channel),iridescenceMapUv:we&&getChannel(i.iridescenceMap.channel),iridescenceThicknessMapUv:Te&&getChannel(i.iridescenceThicknessMap.channel),sheenColorMapUv:j&&getChannel(i.sheenColorMap.channel),sheenRoughnessMapUv:Ee&&getChannel(i.sheenRoughnessMap.channel),specularMapUv:De&&getChannel(i.specularMap.channel),specularColorMapUv:M&&getChannel(i.specularColorMap.channel),specularIntensityMapUv:Oe&&getChannel(i.specularIntensityMap.channel),transmissionMapUv:ke&&getChannel(i.transmissionMap.channel),thicknessMapUv:N&&getChannel(i.thicknessMap.channel),alphaMapUv:Ae&&getChannel(i.alphaMap.channel),vertexTangents:!!_.attributes.tangent&&(le||me),vertexNormals:!!_.attributes.normal,vertexColors:i.vertexColors,vertexAlphas:i.vertexColors===!0&&!!_.attributes.color&&_.attributes.color.itemSize===4,pointsUvs:m.isPoints===!0&&!!_.attributes.uv&&(re||Ae),fog:!!g,useFog:i.fog===!0,fogExp2:!!g&&g.isFogExp2,flatShading:i.wireframe===!1&&(i.flatShading===!0||_.attributes.normal===void 0&&le===!1&&(i.isMeshLambertMaterial||i.isMeshPhongMaterial||i.isMeshStandardMaterial||i.isMeshPhysicalMaterial)),sizeAttenuation:i.sizeAttenuation===!0,logarithmicDepthBuffer:d,reversedDepthBuffer:ne,skinning:m.isSkinnedMesh===!0,hasPositionAttribute:_.attributes.position!==void 0,morphTargets:_.morphAttributes.position!==void 0,morphNormals:_.morphAttributes.normal!==void 0,morphColors:_.morphAttributes.color!==void 0,morphTargetsCount:w,morphTextureStride:T,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numLightProbeGrids:h.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:i.dithering,shadowMapEnabled:e.shadowMap.enabled&&l.length>0,shadowMapType:e.shadowMap.type,toneMapping:Pe,decodeVideoTexture:re&&i.map.isVideoTexture===!0&&Ei.getTransfer(i.map.colorSpace)===`srgb`,decodeVideoTextureEmissive:de&&i.emissiveMap.isVideoTexture===!0&&Ei.getTransfer(i.emissiveMap.colorSpace)===`srgb`,premultipliedAlpha:i.premultipliedAlpha,doubleSided:i.side===2,flipSided:i.side===1,useDepthPacking:i.depthPacking>=0,depthPacking:i.depthPacking||0,index0AttributeName:i.index0AttributeName,extensionClipCullDistance:Ne&&i.extensions.clipCullDistance===!0&&n.has(`WEBGL_clip_cull_distance`),extensionMultiDraw:(Ne&&i.extensions.multiDraw===!0||A)&&n.has(`WEBGL_multi_draw`),rendererExtensionParallelShaderCompile:n.has(`KHR_parallel_shader_compile`),customProgramCacheKey:i.customProgramCacheKey()};return Fe.vertexUv1s=c.has(1),Fe.vertexUv2s=c.has(2),Fe.vertexUv3s=c.has(3),c.clear(),Fe}function getProgramCacheKey(t){let n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.customVertexShaderID),n.push(t.customFragmentShaderID)),t.defines!==void 0)for(let e in t.defines)n.push(e),n.push(t.defines[e]);return t.isRawShaderMaterial===!1&&(getProgramCacheKeyParameters(n,t),getProgramCacheKeyBooleans(n,t),n.push(e.outputColorSpace)),n.push(t.customProgramCacheKey),n.join()}function getProgramCacheKeyParameters(e,t){e.push(t.precision),e.push(t.outputColorSpace),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.anisotropyMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.numLightProbes),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}function getProgramCacheKeyBooleans(e,t){o.disableAll(),t.instancing&&o.enable(0),t.instancingColor&&o.enable(1),t.instancingMorph&&o.enable(2),t.matcap&&o.enable(3),t.envMap&&o.enable(4),t.normalMapObjectSpace&&o.enable(5),t.normalMapTangentSpace&&o.enable(6),t.clearcoat&&o.enable(7),t.iridescence&&o.enable(8),t.alphaTest&&o.enable(9),t.vertexColors&&o.enable(10),t.vertexAlphas&&o.enable(11),t.vertexUv1s&&o.enable(12),t.vertexUv2s&&o.enable(13),t.vertexUv3s&&o.enable(14),t.vertexTangents&&o.enable(15),t.anisotropy&&o.enable(16),t.alphaHash&&o.enable(17),t.batching&&o.enable(18),t.dispersion&&o.enable(19),t.batchingColor&&o.enable(20),t.gradientMap&&o.enable(21),t.packedNormalMap&&o.enable(22),t.vertexNormals&&o.enable(23),e.push(o.mask),o.disableAll(),t.fog&&o.enable(0),t.useFog&&o.enable(1),t.flatShading&&o.enable(2),t.logarithmicDepthBuffer&&o.enable(3),t.reversedDepthBuffer&&o.enable(4),t.skinning&&o.enable(5),t.morphTargets&&o.enable(6),t.morphNormals&&o.enable(7),t.morphColors&&o.enable(8),t.premultipliedAlpha&&o.enable(9),t.shadowMapEnabled&&o.enable(10),t.doubleSided&&o.enable(11),t.flipSided&&o.enable(12),t.useDepthPacking&&o.enable(13),t.dithering&&o.enable(14),t.transmission&&o.enable(15),t.sheen&&o.enable(16),t.opaque&&o.enable(17),t.pointsUvs&&o.enable(18),t.decodeVideoTexture&&o.enable(19),t.decodeVideoTextureEmissive&&o.enable(20),t.alphaToCoverage&&o.enable(21),t.numLightProbeGrids>0&&o.enable(22),t.hasPositionAttribute&&o.enable(23),e.push(o.mask)}function getUniforms(e){let t=p[e.type],n;if(t){let e=Ko[t];n=Eo.clone(e.uniforms)}else n=e.uniforms;return n}function acquireProgram(t,n){let r=u.get(n);return r===void 0?(r=new WebGLProgram(e,n,t,i),l.push(r),u.set(n,r)):++r.usedTimes,r}function releaseProgram(e){if(--e.usedTimes===0){let t=l.indexOf(e);l[t]=l[l.length-1],l.pop(),u.delete(e.cacheKey),e.destroy()}}function releaseShaderCache(e){s.remove(e)}function dispose(){s.dispose()}return{getParameters,getProgramCacheKey,getUniforms,acquireProgram,releaseProgram,releaseShaderCache,programs:l,dispose}}function WebGLProperties(){let e=new WeakMap;function has(t){return e.has(t)}function get(t){let n=e.get(t);return n===void 0&&(n={},e.set(t,n)),n}function remove(t){e.delete(t)}function update(t,n,r){e.get(t)[n]=r}function dispose(){e=new WeakMap}return{has,get,remove,update,dispose}}function painterSortStable(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.material.id===t.material.id?e.materialVariant===t.materialVariant?e.z===t.z?e.id-t.id:e.z-t.z:e.materialVariant-t.materialVariant:e.material.id-t.material.id:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function reversePainterSortStable(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.z===t.z?e.id-t.id:t.z-e.z:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function WebGLRenderList(){let e=[],t=0,n=[],r=[],i=[];function init(){t=0,n.length=0,r.length=0,i.length=0}function materialVariant(e){let t=0;return e.isInstancedMesh&&(t+=2),e.isSkinnedMesh&&(t+=1),t}function getNextRenderItem(n,r,i,a,o,s){let c=e[t];return c===void 0?(c={id:n.id,object:n,geometry:r,material:i,materialVariant:materialVariant(n),groupOrder:a,renderOrder:n.renderOrder,z:o,group:s},e[t]=c):(c.id=n.id,c.object=n,c.geometry=r,c.material=i,c.materialVariant=materialVariant(n),c.groupOrder=a,c.renderOrder=n.renderOrder,c.z=o,c.group=s),t++,c}function push(e,t,a,o,s,c){let l=getNextRenderItem(e,t,a,o,s,c);a.transmission>0?r.push(l):a.transparent===!0?i.push(l):n.push(l)}function unshift(e,t,a,o,s,c){let l=getNextRenderItem(e,t,a,o,s,c);a.transmission>0?r.unshift(l):a.transparent===!0?i.unshift(l):n.unshift(l)}function sort(e,t,a){n.length>1&&n.sort(e||painterSortStable),r.length>1&&r.sort(t||reversePainterSortStable),i.length>1&&i.sort(t||reversePainterSortStable),a&&(n.reverse(),r.reverse(),i.reverse())}function finish(){for(let n=t,r=e.length;n<r;n++){let t=e[n];if(t.id===null)break;t.id=null,t.object=null,t.geometry=null,t.material=null,t.group=null}}return{opaque:n,transmissive:r,transparent:i,init,push,unshift,finish,sort}}function WebGLRenderLists(){let e=new WeakMap;function get(t,n){let r=e.get(t),i;return r===void 0?(i=new WebGLRenderList,e.set(t,[i])):n>=r.length?(i=new WebGLRenderList,r.push(i)):i=r[n],i}function dispose(){e=new WeakMap}return{get,dispose}}function UniformsCache(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={direction:new I,color:new Color};break;case`SpotLight`:n={position:new I,direction:new I,color:new Color,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case`PointLight`:n={position:new I,color:new Color,distance:0,decay:0};break;case`HemisphereLight`:n={direction:new I,skyColor:new Color,groundColor:new Color};break;case`RectAreaLight`:n={color:new Color,position:new I,halfWidth:new I,halfHeight:new I};break}return e[t.id]=n,n}}}function ShadowUniformsCache(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new yi};break;case`SpotLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new yi};break;case`PointLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new yi,shadowCameraNear:1,shadowCameraFar:1e3};break}return e[t.id]=n,n}}}let Os=0;function shadowCastingAndTexturingLightsFirst(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+ +!!t.map-!!e.map}function WebGLLights(e){let t=new UniformsCache,n=ShadowUniformsCache(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new I);let i=new I,a=new Ni,o=new Ni;function setup(i){let a=0,o=0,s=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0;i.sort(shadowCastingAndTexturingLightsFirst);for(let e=0,y=i.length;e<y;e++){let y=i[e],b=y.color,x=y.intensity,S=y.distance,C=null;if(y.shadow&&y.shadow.map&&(C=y.shadow.map.texture.format===1030?y.shadow.map.texture:y.shadow.map.depthTexture||y.shadow.map.texture),y.isAmbientLight)a+=b.r*x,o+=b.g*x,s+=b.b*x;else if(y.isLightProbe){for(let e=0;e<9;e++)r.probe[e].addScaledVector(y.sh.coefficients[e],x);v++}else if(y.isDirectionalLight){let e=t.get(y);if(e.color.copy(y.color).multiplyScalar(y.intensity),y.castShadow){let e=y.shadow,t=n.get(y);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,r.directionalShadow[c]=t,r.directionalShadowMap[c]=C,r.directionalShadowMatrix[c]=y.shadow.matrix,p++}r.directional[c]=e,c++}else if(y.isSpotLight){let e=t.get(y);e.position.setFromMatrixPosition(y.matrixWorld),e.color.copy(b).multiplyScalar(x),e.distance=S,e.coneCos=Math.cos(y.angle),e.penumbraCos=Math.cos(y.angle*(1-y.penumbra)),e.decay=y.decay,r.spot[u]=e;let i=y.shadow;if(y.map&&(r.spotLightMap[g]=y.map,g++,i.updateMatrices(y),y.castShadow&&_++),r.spotLightMatrix[u]=i.matrix,y.castShadow){let e=n.get(y);e.shadowIntensity=i.intensity,e.shadowBias=i.bias,e.shadowNormalBias=i.normalBias,e.shadowRadius=i.radius,e.shadowMapSize=i.mapSize,r.spotShadow[u]=e,r.spotShadowMap[u]=C,h++}u++}else if(y.isRectAreaLight){let e=t.get(y);e.color.copy(b).multiplyScalar(x),e.halfWidth.set(y.width*.5,0,0),e.halfHeight.set(0,y.height*.5,0),r.rectArea[d]=e,d++}else if(y.isPointLight){let e=t.get(y);if(e.color.copy(y.color).multiplyScalar(y.intensity),e.distance=y.distance,e.decay=y.decay,y.castShadow){let e=y.shadow,t=n.get(y);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,t.shadowCameraNear=e.camera.near,t.shadowCameraFar=e.camera.far,r.pointShadow[l]=t,r.pointShadowMap[l]=C,r.pointShadowMatrix[l]=y.shadow.matrix,m++}r.point[l]=e,l++}else if(y.isHemisphereLight){let e=t.get(y);e.skyColor.copy(y.color).multiplyScalar(x),e.groundColor.copy(y.groundColor).multiplyScalar(x),r.hemi[f]=e,f++}}d>0&&(e.has(`OES_texture_float_linear`)===!0?(r.rectAreaLTC1=L.LTC_FLOAT_1,r.rectAreaLTC2=L.LTC_FLOAT_2):(r.rectAreaLTC1=L.LTC_HALF_1,r.rectAreaLTC2=L.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=o,r.ambient[2]=s;let y=r.hash;(y.directionalLength!==c||y.pointLength!==l||y.spotLength!==u||y.rectAreaLength!==d||y.hemiLength!==f||y.numDirectionalShadows!==p||y.numPointShadows!==m||y.numSpotShadows!==h||y.numSpotMaps!==g||y.numLightProbes!==v)&&(r.directional.length=c,r.spot.length=u,r.rectArea.length=d,r.point.length=l,r.hemi.length=f,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=m,r.pointShadowMap.length=m,r.spotShadow.length=h,r.spotShadowMap.length=h,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=m,r.spotLightMatrix.length=h+g-_,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=_,r.numLightProbes=v,y.directionalLength=c,y.pointLength=l,y.spotLength=u,y.rectAreaLength=d,y.hemiLength=f,y.numDirectionalShadows=p,y.numPointShadows=m,y.numSpotShadows=h,y.numSpotMaps=g,y.numLightProbes=v,r.version=Os++)}function setupView(e,t){let n=0,s=0,c=0,l=0,u=0,d=t.matrixWorldInverse;for(let t=0,f=e.length;t<f;t++){let f=e[t];if(f.isDirectionalLight){let e=r.directional[n];e.direction.setFromMatrixPosition(f.matrixWorld),i.setFromMatrixPosition(f.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),n++}else if(f.isSpotLight){let e=r.spot[c];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),e.direction.setFromMatrixPosition(f.matrixWorld),i.setFromMatrixPosition(f.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),c++}else if(f.isRectAreaLight){let e=r.rectArea[l];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),o.identity(),a.copy(f.matrixWorld),a.premultiply(d),o.extractRotation(a),e.halfWidth.set(f.width*.5,0,0),e.halfHeight.set(0,f.height*.5,0),e.halfWidth.applyMatrix4(o),e.halfHeight.applyMatrix4(o),l++}else if(f.isPointLight){let e=r.point[s];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),s++}else if(f.isHemisphereLight){let e=r.hemi[u];e.direction.setFromMatrixPosition(f.matrixWorld),e.direction.transformDirection(d),u++}}}return{setup,setupView,state:r}}function WebGLRenderState(e){let t=new WebGLLights(e),n=[],r=[],i=[];function init(e){a.camera=e,n.length=0,r.length=0,i.length=0}function pushLight(e){n.push(e)}function pushShadow(e){r.push(e)}function pushLightProbeGrid(e){i.push(e)}function setupLights(){t.setup(n)}function setupLightsView(e){t.setupView(n,e)}let a={lightsArray:n,shadowsArray:r,lightProbeGridArray:i,camera:null,lights:t,transmissionRenderTarget:{},textureUnits:0};return{init,state:a,setupLights,setupLightsView,pushLight,pushShadow,pushLightProbeGrid}}function WebGLRenderStates(e){let t=new WeakMap;function get(n,r=0){let i=t.get(n),a;return i===void 0?(a=new WebGLRenderState(e),t.set(n,[a])):r>=i.length?(a=new WebGLRenderState(e),i.push(a)):a=i[r],a}function dispose(){t=new WeakMap}return{get,dispose}}const ks=[new I(1,0,0),new I(-1,0,0),new I(0,1,0),new I(0,-1,0),new I(0,0,1),new I(0,0,-1)],As=[new I(0,-1,0),new I(0,-1,0),new I(0,0,1),new I(0,0,-1),new I(0,-1,0),new I(0,-1,0)],js=new Ni,Ms=new I,Ns=new I;function WebGLShadowMap(e,t,n){let r=new Frustum,i=new yi,a=new yi,o=new Mi,s=new MeshDepthMaterial,c=new MeshDistanceMaterial,l={},u=n.maxTextureSize,d={0:1,1:0,2:2},f=new ShaderMaterial({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new yi},radius:{value:4}},vertexShader:`void main() {
|
|
4146
|
+
`+n)}else o===``?(s===``||c===``)&&(u=!1):warn(`WebGLProgram: Program Info Log:`,o);u&&(t.diagnostics={runnable:l,programLog:o,vertexShader:{log:s,prefix:g},fragmentShader:{log:c,prefix:_}})}i.deleteShader(x),i.deleteShader(S),C=new WebGLUniforms(i,h),w=fetchAttributeLocations(i,h)}let C;this.getUniforms=function(){return C===void 0&&onFirstUse(this),C};let w;this.getAttributes=function(){return w===void 0&&onFirstUse(this),w};let T=n.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return T===!1&&(T=i.getProgramParameter(h,37297)),T},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(h),this.program=void 0},this.type=n.shaderType,this.name=n.shaderName,this.id=vs++,this.cacheKey=t,this.usedTimes=1,this.program=h,this.vertexShader=x,this.fragmentShader=S,this}let ks=0;var WebGLShaderCache=class{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e,t,n){let r=this._getShaderCacheForMaterial(e);return r.has(t)===!1&&(r.add(t),t.usedTimes++),r.has(n)===!1&&(r.add(n),n.usedTimes++),this}remove(e){let t=this.materialCache.get(e);for(let e of t)e.usedTimes--,e.usedTimes===0&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderStage(e){return this._getShaderStage(e.vertexShader)}getFragmentShaderStage(e){return this._getShaderStage(e.fragmentShader)}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){let t=this.materialCache,n=t.get(e);return n===void 0&&(n=new Set,t.set(e,n)),n}_getShaderStage(e){let t=this.shaderCache,n=t.get(e);return n===void 0&&(n=new WebGLShaderStage(e),t.set(e,n)),n}},WebGLShaderStage=class{constructor(e){this.id=ks++,this.code=e,this.usedTimes=0}};function isPackedRGFormat(e){return e===1030||e===37490||e===36285}function WebGLPrograms(e,t,n,r,i,a){let o=new Layers,s=new WebGLShaderCache,c=new Set,l=[],u=new Map,d=r.logarithmicDepthBuffer,f=r.precision,p={MeshDepthMaterial:`depth`,MeshDistanceMaterial:`distance`,MeshNormalMaterial:`normal`,MeshBasicMaterial:`basic`,MeshLambertMaterial:`lambert`,MeshPhongMaterial:`phong`,MeshToonMaterial:`toon`,MeshStandardMaterial:`physical`,MeshPhysicalMaterial:`physical`,MeshMatcapMaterial:`matcap`,LineBasicMaterial:`basic`,LineDashedMaterial:`dashed`,PointsMaterial:`points`,ShadowMaterial:`shadow`,SpriteMaterial:`sprite`};function getChannel(e){return c.add(e),e===0?`uv`:`uv${e}`}function getParameters(i,o,l,u,m,h){let g=u.fog,_=m.geometry,v=i.isMeshStandardMaterial||i.isMeshLambertMaterial||i.isMeshPhongMaterial?u.environment:null,y=i.isMeshStandardMaterial||i.isMeshLambertMaterial&&!i.envMap||i.isMeshPhongMaterial&&!i.envMap,b=t.get(i.envMap||v,y),x=b&&b.mapping===306?b.image.height:null,S=p[i.type];i.precision!==null&&(f=r.getMaxPrecision(i.precision),f!==i.precision&&warn(`WebGLProgram.getParameters:`,i.precision,`not supported, using`,f,`instead.`));let C=_.morphAttributes.position||_.morphAttributes.normal||_.morphAttributes.color,w=C===void 0?0:C.length,T=0;_.morphAttributes.position!==void 0&&(T=1),_.morphAttributes.normal!==void 0&&(T=2),_.morphAttributes.color!==void 0&&(T=3);let E,D,O,ee;if(S){let e=Jo[S];E=e.vertexShader,D=e.fragmentShader}else{E=i.vertexShader,D=i.fragmentShader;let e=s.getVertexShaderStage(i),t=s.getFragmentShaderStage(i);s.update(i,e,t),O=e.id,ee=t.id}let te=e.getRenderTarget(),ne=e.state.buffers.depth.getReversed(),k=m.isInstancedMesh===!0,A=m.isBatchedMesh===!0,re=!!i.map,ie=!!i.matcap,ae=!!b,oe=!!i.aoMap,se=!!i.lightMap,ce=!!i.bumpMap&&i.wireframe===!1,le=!!i.normalMap,ue=!!i.displacementMap,de=!!i.emissiveMap,fe=!!i.metalnessMap,pe=!!i.roughnessMap,me=i.anisotropy>0,he=i.clearcoat>0,ge=i.dispersion>0,_e=i.iridescence>0,ve=i.sheen>0,ye=i.transmission>0,be=me&&!!i.anisotropyMap,xe=he&&!!i.clearcoatMap,Se=he&&!!i.clearcoatNormalMap,Ce=he&&!!i.clearcoatRoughnessMap,we=_e&&!!i.iridescenceMap,Te=_e&&!!i.iridescenceThicknessMap,j=ve&&!!i.sheenColorMap,Ee=ve&&!!i.sheenRoughnessMap,De=!!i.specularMap,M=!!i.specularColorMap,Oe=!!i.specularIntensityMap,ke=ye&&!!i.transmissionMap,N=ye&&!!i.thicknessMap,P=!!i.gradientMap,Ae=!!i.alphaMap,je=i.alphaTest>0,Me=!!i.alphaHash,Ne=!!i.extensions,Pe=0;i.toneMapped&&(te===null||te.isXRRenderTarget===!0)&&(Pe=e.toneMapping);let Fe={shaderID:S,shaderType:i.type,shaderName:i.name,vertexShader:E,fragmentShader:D,defines:i.defines,customVertexShaderID:O,customFragmentShaderID:ee,isRawShaderMaterial:i.isRawShaderMaterial===!0,glslVersion:i.glslVersion,precision:f,batching:A,batchingColor:A&&m._colorsTexture!==null,instancing:k,instancingColor:k&&m.instanceColor!==null,instancingMorph:k&&m.morphTexture!==null,outputColorSpace:te===null?e.outputColorSpace:te.isXRRenderTarget===!0?te.texture.colorSpace:Oi.workingColorSpace,alphaToCoverage:!!i.alphaToCoverage,map:re,matcap:ie,envMap:ae,envMapMode:ae&&b.mapping,envMapCubeUVHeight:x,aoMap:oe,lightMap:se,bumpMap:ce,normalMap:le,displacementMap:ue,emissiveMap:de,normalMapObjectSpace:le&&i.normalMapType===1,normalMapTangentSpace:le&&i.normalMapType===0,packedNormalMap:le&&i.normalMapType===0&&isPackedRGFormat(i.normalMap.format),metalnessMap:fe,roughnessMap:pe,anisotropy:me,anisotropyMap:be,clearcoat:he,clearcoatMap:xe,clearcoatNormalMap:Se,clearcoatRoughnessMap:Ce,dispersion:ge,iridescence:_e,iridescenceMap:we,iridescenceThicknessMap:Te,sheen:ve,sheenColorMap:j,sheenRoughnessMap:Ee,specularMap:De,specularColorMap:M,specularIntensityMap:Oe,transmission:ye,transmissionMap:ke,thicknessMap:N,gradientMap:P,opaque:i.transparent===!1&&i.blending===1&&i.alphaToCoverage===!1,alphaMap:Ae,alphaTest:je,alphaHash:Me,combine:i.combine,mapUv:re&&getChannel(i.map.channel),aoMapUv:oe&&getChannel(i.aoMap.channel),lightMapUv:se&&getChannel(i.lightMap.channel),bumpMapUv:ce&&getChannel(i.bumpMap.channel),normalMapUv:le&&getChannel(i.normalMap.channel),displacementMapUv:ue&&getChannel(i.displacementMap.channel),emissiveMapUv:de&&getChannel(i.emissiveMap.channel),metalnessMapUv:fe&&getChannel(i.metalnessMap.channel),roughnessMapUv:pe&&getChannel(i.roughnessMap.channel),anisotropyMapUv:be&&getChannel(i.anisotropyMap.channel),clearcoatMapUv:xe&&getChannel(i.clearcoatMap.channel),clearcoatNormalMapUv:Se&&getChannel(i.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:Ce&&getChannel(i.clearcoatRoughnessMap.channel),iridescenceMapUv:we&&getChannel(i.iridescenceMap.channel),iridescenceThicknessMapUv:Te&&getChannel(i.iridescenceThicknessMap.channel),sheenColorMapUv:j&&getChannel(i.sheenColorMap.channel),sheenRoughnessMapUv:Ee&&getChannel(i.sheenRoughnessMap.channel),specularMapUv:De&&getChannel(i.specularMap.channel),specularColorMapUv:M&&getChannel(i.specularColorMap.channel),specularIntensityMapUv:Oe&&getChannel(i.specularIntensityMap.channel),transmissionMapUv:ke&&getChannel(i.transmissionMap.channel),thicknessMapUv:N&&getChannel(i.thicknessMap.channel),alphaMapUv:Ae&&getChannel(i.alphaMap.channel),vertexTangents:!!_.attributes.tangent&&(le||me),vertexNormals:!!_.attributes.normal,vertexColors:i.vertexColors,vertexAlphas:i.vertexColors===!0&&!!_.attributes.color&&_.attributes.color.itemSize===4,pointsUvs:m.isPoints===!0&&!!_.attributes.uv&&(re||Ae),fog:!!g,useFog:i.fog===!0,fogExp2:!!g&&g.isFogExp2,flatShading:i.wireframe===!1&&(i.flatShading===!0||_.attributes.normal===void 0&&le===!1&&(i.isMeshLambertMaterial||i.isMeshPhongMaterial||i.isMeshStandardMaterial||i.isMeshPhysicalMaterial)),sizeAttenuation:i.sizeAttenuation===!0,logarithmicDepthBuffer:d,reversedDepthBuffer:ne,skinning:m.isSkinnedMesh===!0,hasPositionAttribute:_.attributes.position!==void 0,morphTargets:_.morphAttributes.position!==void 0,morphNormals:_.morphAttributes.normal!==void 0,morphColors:_.morphAttributes.color!==void 0,morphTargetsCount:w,morphTextureStride:T,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numLightProbeGrids:h.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:i.dithering,shadowMapEnabled:e.shadowMap.enabled&&l.length>0,shadowMapType:e.shadowMap.type,toneMapping:Pe,decodeVideoTexture:re&&i.map.isVideoTexture===!0&&Oi.getTransfer(i.map.colorSpace)===`srgb`,decodeVideoTextureEmissive:de&&i.emissiveMap.isVideoTexture===!0&&Oi.getTransfer(i.emissiveMap.colorSpace)===`srgb`,premultipliedAlpha:i.premultipliedAlpha,doubleSided:i.side===2,flipSided:i.side===1,useDepthPacking:i.depthPacking>=0,depthPacking:i.depthPacking||0,index0AttributeName:i.index0AttributeName,extensionClipCullDistance:Ne&&i.extensions.clipCullDistance===!0&&n.has(`WEBGL_clip_cull_distance`),extensionMultiDraw:(Ne&&i.extensions.multiDraw===!0||A)&&n.has(`WEBGL_multi_draw`),rendererExtensionParallelShaderCompile:n.has(`KHR_parallel_shader_compile`),customProgramCacheKey:i.customProgramCacheKey()};return Fe.vertexUv1s=c.has(1),Fe.vertexUv2s=c.has(2),Fe.vertexUv3s=c.has(3),c.clear(),Fe}function getProgramCacheKey(t){let n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.customVertexShaderID),n.push(t.customFragmentShaderID)),t.defines!==void 0)for(let e in t.defines)n.push(e),n.push(t.defines[e]);return t.isRawShaderMaterial===!1&&(getProgramCacheKeyParameters(n,t),getProgramCacheKeyBooleans(n,t),n.push(e.outputColorSpace)),n.push(t.customProgramCacheKey),n.join()}function getProgramCacheKeyParameters(e,t){e.push(t.precision),e.push(t.outputColorSpace),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.anisotropyMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.numLightProbes),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}function getProgramCacheKeyBooleans(e,t){o.disableAll(),t.instancing&&o.enable(0),t.instancingColor&&o.enable(1),t.instancingMorph&&o.enable(2),t.matcap&&o.enable(3),t.envMap&&o.enable(4),t.normalMapObjectSpace&&o.enable(5),t.normalMapTangentSpace&&o.enable(6),t.clearcoat&&o.enable(7),t.iridescence&&o.enable(8),t.alphaTest&&o.enable(9),t.vertexColors&&o.enable(10),t.vertexAlphas&&o.enable(11),t.vertexUv1s&&o.enable(12),t.vertexUv2s&&o.enable(13),t.vertexUv3s&&o.enable(14),t.vertexTangents&&o.enable(15),t.anisotropy&&o.enable(16),t.alphaHash&&o.enable(17),t.batching&&o.enable(18),t.dispersion&&o.enable(19),t.batchingColor&&o.enable(20),t.gradientMap&&o.enable(21),t.packedNormalMap&&o.enable(22),t.vertexNormals&&o.enable(23),e.push(o.mask),o.disableAll(),t.fog&&o.enable(0),t.useFog&&o.enable(1),t.flatShading&&o.enable(2),t.logarithmicDepthBuffer&&o.enable(3),t.reversedDepthBuffer&&o.enable(4),t.skinning&&o.enable(5),t.morphTargets&&o.enable(6),t.morphNormals&&o.enable(7),t.morphColors&&o.enable(8),t.premultipliedAlpha&&o.enable(9),t.shadowMapEnabled&&o.enable(10),t.doubleSided&&o.enable(11),t.flipSided&&o.enable(12),t.useDepthPacking&&o.enable(13),t.dithering&&o.enable(14),t.transmission&&o.enable(15),t.sheen&&o.enable(16),t.opaque&&o.enable(17),t.pointsUvs&&o.enable(18),t.decodeVideoTexture&&o.enable(19),t.decodeVideoTextureEmissive&&o.enable(20),t.alphaToCoverage&&o.enable(21),t.numLightProbeGrids>0&&o.enable(22),t.hasPositionAttribute&&o.enable(23),e.push(o.mask)}function getUniforms(e){let t=p[e.type],n;if(t){let e=Jo[t];n=Oo.clone(e.uniforms)}else n=e.uniforms;return n}function acquireProgram(t,n){let r=u.get(n);return r===void 0?(r=new WebGLProgram(e,n,t,i),l.push(r),u.set(n,r)):++r.usedTimes,r}function releaseProgram(e){if(--e.usedTimes===0){let t=l.indexOf(e);l[t]=l[l.length-1],l.pop(),u.delete(e.cacheKey),e.destroy()}}function releaseShaderCache(e){s.remove(e)}function dispose(){s.dispose()}return{getParameters,getProgramCacheKey,getUniforms,acquireProgram,releaseProgram,releaseShaderCache,programs:l,dispose}}function WebGLProperties(){let e=new WeakMap;function has(t){return e.has(t)}function get(t){let n=e.get(t);return n===void 0&&(n={},e.set(t,n)),n}function remove(t){e.delete(t)}function update(t,n,r){e.get(t)[n]=r}function dispose(){e=new WeakMap}return{has,get,remove,update,dispose}}function painterSortStable(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.material.id===t.material.id?e.materialVariant===t.materialVariant?e.z===t.z?e.id-t.id:e.z-t.z:e.materialVariant-t.materialVariant:e.material.id-t.material.id:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function reversePainterSortStable(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.z===t.z?e.id-t.id:t.z-e.z:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function WebGLRenderList(){let e=[],t=0,n=[],r=[],i=[];function init(){t=0,n.length=0,r.length=0,i.length=0}function materialVariant(e){let t=0;return e.isInstancedMesh&&(t+=2),e.isSkinnedMesh&&(t+=1),t}function getNextRenderItem(n,r,i,a,o,s){let c=e[t];return c===void 0?(c={id:n.id,object:n,geometry:r,material:i,materialVariant:materialVariant(n),groupOrder:a,renderOrder:n.renderOrder,z:o,group:s},e[t]=c):(c.id=n.id,c.object=n,c.geometry=r,c.material=i,c.materialVariant=materialVariant(n),c.groupOrder=a,c.renderOrder=n.renderOrder,c.z=o,c.group=s),t++,c}function push(e,t,a,o,s,c){let l=getNextRenderItem(e,t,a,o,s,c);a.transmission>0?r.push(l):a.transparent===!0?i.push(l):n.push(l)}function unshift(e,t,a,o,s,c){let l=getNextRenderItem(e,t,a,o,s,c);a.transmission>0?r.unshift(l):a.transparent===!0?i.unshift(l):n.unshift(l)}function sort(e,t,a){n.length>1&&n.sort(e||painterSortStable),r.length>1&&r.sort(t||reversePainterSortStable),i.length>1&&i.sort(t||reversePainterSortStable),a&&(n.reverse(),r.reverse(),i.reverse())}function finish(){for(let n=t,r=e.length;n<r;n++){let t=e[n];if(t.id===null)break;t.id=null,t.object=null,t.geometry=null,t.material=null,t.group=null}}return{opaque:n,transmissive:r,transparent:i,init,push,unshift,finish,sort}}function WebGLRenderLists(){let e=new WeakMap;function get(t,n){let r=e.get(t),i;return r===void 0?(i=new WebGLRenderList,e.set(t,[i])):n>=r.length?(i=new WebGLRenderList,r.push(i)):i=r[n],i}function dispose(){e=new WeakMap}return{get,dispose}}function UniformsCache(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={direction:new I,color:new Color};break;case`SpotLight`:n={position:new I,direction:new I,color:new Color,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case`PointLight`:n={position:new I,color:new Color,distance:0,decay:0};break;case`HemisphereLight`:n={direction:new I,skyColor:new Color,groundColor:new Color};break;case`RectAreaLight`:n={color:new Color,position:new I,halfWidth:new I,halfHeight:new I};break}return e[t.id]=n,n}}}function ShadowUniformsCache(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new xi};break;case`SpotLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new xi};break;case`PointLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new xi,shadowCameraNear:1,shadowCameraFar:1e3};break}return e[t.id]=n,n}}}let As=0;function shadowCastingAndTexturingLightsFirst(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+ +!!t.map-!!e.map}function WebGLLights(e){let t=new UniformsCache,n=ShadowUniformsCache(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new I);let i=new I,a=new Fi,o=new Fi;function setup(i){let a=0,o=0,s=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0;i.sort(shadowCastingAndTexturingLightsFirst);for(let e=0,y=i.length;e<y;e++){let y=i[e],b=y.color,x=y.intensity,S=y.distance,C=null;if(y.shadow&&y.shadow.map&&(C=y.shadow.map.texture.format===1030?y.shadow.map.texture:y.shadow.map.depthTexture||y.shadow.map.texture),y.isAmbientLight)a+=b.r*x,o+=b.g*x,s+=b.b*x;else if(y.isLightProbe){for(let e=0;e<9;e++)r.probe[e].addScaledVector(y.sh.coefficients[e],x);v++}else if(y.isDirectionalLight){let e=t.get(y);if(e.color.copy(y.color).multiplyScalar(y.intensity),y.castShadow){let e=y.shadow,t=n.get(y);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,r.directionalShadow[c]=t,r.directionalShadowMap[c]=C,r.directionalShadowMatrix[c]=y.shadow.matrix,p++}r.directional[c]=e,c++}else if(y.isSpotLight){let e=t.get(y);e.position.setFromMatrixPosition(y.matrixWorld),e.color.copy(b).multiplyScalar(x),e.distance=S,e.coneCos=Math.cos(y.angle),e.penumbraCos=Math.cos(y.angle*(1-y.penumbra)),e.decay=y.decay,r.spot[u]=e;let i=y.shadow;if(y.map&&(r.spotLightMap[g]=y.map,g++,i.updateMatrices(y),y.castShadow&&_++),r.spotLightMatrix[u]=i.matrix,y.castShadow){let e=n.get(y);e.shadowIntensity=i.intensity,e.shadowBias=i.bias,e.shadowNormalBias=i.normalBias,e.shadowRadius=i.radius,e.shadowMapSize=i.mapSize,r.spotShadow[u]=e,r.spotShadowMap[u]=C,h++}u++}else if(y.isRectAreaLight){let e=t.get(y);e.color.copy(b).multiplyScalar(x),e.halfWidth.set(y.width*.5,0,0),e.halfHeight.set(0,y.height*.5,0),r.rectArea[d]=e,d++}else if(y.isPointLight){let e=t.get(y);if(e.color.copy(y.color).multiplyScalar(y.intensity),e.distance=y.distance,e.decay=y.decay,y.castShadow){let e=y.shadow,t=n.get(y);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,t.shadowCameraNear=e.camera.near,t.shadowCameraFar=e.camera.far,r.pointShadow[l]=t,r.pointShadowMap[l]=C,r.pointShadowMatrix[l]=y.shadow.matrix,m++}r.point[l]=e,l++}else if(y.isHemisphereLight){let e=t.get(y);e.skyColor.copy(y.color).multiplyScalar(x),e.groundColor.copy(y.groundColor).multiplyScalar(x),r.hemi[f]=e,f++}}d>0&&(e.has(`OES_texture_float_linear`)===!0?(r.rectAreaLTC1=L.LTC_FLOAT_1,r.rectAreaLTC2=L.LTC_FLOAT_2):(r.rectAreaLTC1=L.LTC_HALF_1,r.rectAreaLTC2=L.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=o,r.ambient[2]=s;let y=r.hash;(y.directionalLength!==c||y.pointLength!==l||y.spotLength!==u||y.rectAreaLength!==d||y.hemiLength!==f||y.numDirectionalShadows!==p||y.numPointShadows!==m||y.numSpotShadows!==h||y.numSpotMaps!==g||y.numLightProbes!==v)&&(r.directional.length=c,r.spot.length=u,r.rectArea.length=d,r.point.length=l,r.hemi.length=f,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=m,r.pointShadowMap.length=m,r.spotShadow.length=h,r.spotShadowMap.length=h,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=m,r.spotLightMatrix.length=h+g-_,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=_,r.numLightProbes=v,y.directionalLength=c,y.pointLength=l,y.spotLength=u,y.rectAreaLength=d,y.hemiLength=f,y.numDirectionalShadows=p,y.numPointShadows=m,y.numSpotShadows=h,y.numSpotMaps=g,y.numLightProbes=v,r.version=As++)}function setupView(e,t){let n=0,s=0,c=0,l=0,u=0,d=t.matrixWorldInverse;for(let t=0,f=e.length;t<f;t++){let f=e[t];if(f.isDirectionalLight){let e=r.directional[n];e.direction.setFromMatrixPosition(f.matrixWorld),i.setFromMatrixPosition(f.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),n++}else if(f.isSpotLight){let e=r.spot[c];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),e.direction.setFromMatrixPosition(f.matrixWorld),i.setFromMatrixPosition(f.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),c++}else if(f.isRectAreaLight){let e=r.rectArea[l];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),o.identity(),a.copy(f.matrixWorld),a.premultiply(d),o.extractRotation(a),e.halfWidth.set(f.width*.5,0,0),e.halfHeight.set(0,f.height*.5,0),e.halfWidth.applyMatrix4(o),e.halfHeight.applyMatrix4(o),l++}else if(f.isPointLight){let e=r.point[s];e.position.setFromMatrixPosition(f.matrixWorld),e.position.applyMatrix4(d),s++}else if(f.isHemisphereLight){let e=r.hemi[u];e.direction.setFromMatrixPosition(f.matrixWorld),e.direction.transformDirection(d),u++}}}return{setup,setupView,state:r}}function WebGLRenderState(e){let t=new WebGLLights(e),n=[],r=[],i=[];function init(e){a.camera=e,n.length=0,r.length=0,i.length=0}function pushLight(e){n.push(e)}function pushShadow(e){r.push(e)}function pushLightProbeGrid(e){i.push(e)}function setupLights(){t.setup(n)}function setupLightsView(e){t.setupView(n,e)}let a={lightsArray:n,shadowsArray:r,lightProbeGridArray:i,camera:null,lights:t,transmissionRenderTarget:{},textureUnits:0};return{init,state:a,setupLights,setupLightsView,pushLight,pushShadow,pushLightProbeGrid}}function WebGLRenderStates(e){let t=new WeakMap;function get(n,r=0){let i=t.get(n),a;return i===void 0?(a=new WebGLRenderState(e),t.set(n,[a])):r>=i.length?(a=new WebGLRenderState(e),i.push(a)):a=i[r],a}function dispose(){t=new WeakMap}return{get,dispose}}const js=[new I(1,0,0),new I(-1,0,0),new I(0,1,0),new I(0,-1,0),new I(0,0,1),new I(0,0,-1)],Ms=[new I(0,-1,0),new I(0,-1,0),new I(0,0,1),new I(0,0,-1),new I(0,-1,0),new I(0,-1,0)],Ns=new Fi,Ps=new I,Fs=new I;function WebGLShadowMap(e,t,n){let r=new Frustum,i=new xi,a=new xi,o=new Pi,s=new MeshDepthMaterial,c=new MeshDistanceMaterial,l={},u=n.maxTextureSize,d={0:1,1:0,2:2},f=new ShaderMaterial({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new xi},radius:{value:4}},vertexShader:`void main() {
|
|
4147
4147
|
gl_Position = vec4( position, 1.0 );
|
|
4148
4148
|
}`,fragmentShader:`uniform sampler2D shadow_pass;
|
|
4149
4149
|
uniform vec2 resolution;
|
|
@@ -4170,7 +4170,7 @@ void main() {
|
|
|
4170
4170
|
squared_mean = squared_mean / samples;
|
|
4171
4171
|
float std_dev = sqrt( max( 0.0, squared_mean - mean * mean ) );
|
|
4172
4172
|
gl_FragColor = vec4( mean, std_dev, 0.0, 1.0 );
|
|
4173
|
-
}`}),p=f.clone();p.defines.HORIZONTAL_PASS=1;let m=new Za;m.setAttribute(`position`,new BufferAttribute(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let h=new Mesh(m,f),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let _=this.type;this.render=function(t,n,s){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||t.length===0)return;this.type===2&&(warn(`WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.`),this.type=1);let c=e.getRenderTarget(),l=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),f=e.state;f.setBlending(0),f.buffers.depth.getReversed()===!0?f.buffers.color.setClear(0,0,0,0):f.buffers.color.setClear(1,1,1,1),f.buffers.depth.setTest(!0),f.setScissorTest(!1);let p=_!==this.type;p&&n.traverse(function(e){e.material&&(Array.isArray(e.material)?e.material.forEach(e=>e.needsUpdate=!0):e.material.needsUpdate=!0)});for(let c=0,l=t.length;c<l;c++){let l=t[c],d=l.shadow;if(d===void 0){warn(`WebGLShadowMap:`,l,`has no shadow.`);continue}if(d.autoUpdate===!1&&d.needsUpdate===!1)continue;i.copy(d.mapSize);let m=d.getFrameExtents();i.multiply(m),a.copy(d.mapSize),(i.x>u||i.y>u)&&(i.x>u&&(a.x=Math.floor(u/m.x),i.x=a.x*m.x,d.mapSize.x=a.x),i.y>u&&(a.y=Math.floor(u/m.y),i.y=a.y*m.y,d.mapSize.y=a.y));let h=e.state.buffers.depth.getReversed();if(d.camera._reversedDepth=h,d.map===null||p===!0){if(d.map!==null&&(d.map.depthTexture!==null&&(d.map.depthTexture.dispose(),d.map.depthTexture=null),d.map.dispose()),this.type===3){if(l.isPointLight){warn(`WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.`);continue}d.map=new WebGLRenderTarget(i.x,i.y,{format:Xr,type:Hr,minFilter:Ir,magFilter:Ir,generateMipmaps:!1}),d.map.texture.name=l.name+`.shadowMap`,d.map.depthTexture=new DepthTexture(i.x,i.y,Vr),d.map.depthTexture.name=l.name+`.shadowMapDepth`,d.map.depthTexture.format=qr,d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=Fr,d.map.depthTexture.magFilter=Fr}else l.isPointLight?(d.map=new WebGLCubeRenderTarget(i.x),d.map.depthTexture=new CubeDepthTexture(i.x,Br)):(d.map=new WebGLRenderTarget(i.x,i.y),d.map.depthTexture=new DepthTexture(i.x,i.y,Br)),d.map.depthTexture.name=l.name+`.shadowMap`,d.map.depthTexture.format=qr,this.type===1?(d.map.depthTexture.compareFunction=h?518:515,d.map.depthTexture.minFilter=Ir,d.map.depthTexture.magFilter=Ir):(d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=Fr,d.map.depthTexture.magFilter=Fr);d.camera.updateProjectionMatrix()}let g=d.map.isWebGLCubeRenderTarget?6:1;for(let t=0;t<g;t++){if(d.map.isWebGLCubeRenderTarget)e.setRenderTarget(d.map,t),e.clear();else{t===0&&(e.setRenderTarget(d.map),e.clear());let n=d.getViewport(t);o.set(a.x*n.x,a.y*n.y,a.x*n.z,a.y*n.w),f.viewport(o)}if(l.isPointLight){let e=d.camera,n=d.matrix,r=l.distance||e.far;r!==e.far&&(e.far=r,e.updateProjectionMatrix()),Ms.setFromMatrixPosition(l.matrixWorld),e.position.copy(Ms),Ns.copy(e.position),Ns.add(ks[t]),e.up.copy(As[t]),e.lookAt(Ns),e.updateMatrixWorld(),n.makeTranslation(-Ms.x,-Ms.y,-Ms.z),js.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),d._frustum.setFromProjectionMatrix(js,e.coordinateSystem,e.reversedDepth)}else d.updateMatrices(l);r=d.getFrustum(),renderObject(n,s,d.camera,l,this.type)}d.isPointLightShadow!==!0&&this.type===3&&VSMPass(d,s),d.needsUpdate=!1}_=this.type,g.needsUpdate=!1,e.setRenderTarget(c,l,d)};function VSMPass(n,r){let a=t.update(h);f.defines.VSM_SAMPLES!==n.blurSamples&&(f.defines.VSM_SAMPLES=n.blurSamples,p.defines.VSM_SAMPLES=n.blurSamples,f.needsUpdate=!0,p.needsUpdate=!0),n.mapPass===null&&(n.mapPass=new WebGLRenderTarget(i.x,i.y,{format:Xr,type:Hr})),f.uniforms.shadow_pass.value=n.map.depthTexture,f.uniforms.resolution.value=n.mapSize,f.uniforms.radius.value=n.radius,e.setRenderTarget(n.mapPass),e.clear(),e.renderBufferDirect(r,null,a,f,h,null),p.uniforms.shadow_pass.value=n.mapPass.texture,p.uniforms.resolution.value=n.mapSize,p.uniforms.radius.value=n.radius,e.setRenderTarget(n.map),e.clear(),e.renderBufferDirect(r,null,a,p,h,null)}function getDepthMaterial(t,n,r,i){let a=null,o=r.isPointLight===!0?t.customDistanceMaterial:t.customDepthMaterial;if(o!==void 0)a=o;else if(a=r.isPointLight===!0?c:s,e.localClippingEnabled&&n.clipShadows===!0&&Array.isArray(n.clippingPlanes)&&n.clippingPlanes.length!==0||n.displacementMap&&n.displacementScale!==0||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0||n.alphaToCoverage===!0){let e=a.uuid,t=n.uuid,r=l[e];r===void 0&&(r={},l[e]=r);let i=r[t];i===void 0&&(i=a.clone(),r[t]=i,n.addEventListener(`dispose`,onMaterialDispose)),a=i}if(a.visible=n.visible,a.wireframe=n.wireframe,i===3?a.side=n.shadowSide===null?n.side:n.shadowSide:a.side=n.shadowSide===null?d[n.side]:n.shadowSide,a.alphaMap=n.alphaMap,a.alphaTest=n.alphaToCoverage===!0?.5:n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,r.isPointLight===!0&&a.isMeshDistanceMaterial===!0){let t=e.properties.get(a);t.light=r}return a}function renderObject(n,i,a,o,s){if(n.visible===!1)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&s===3)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);let r=t.update(n),c=n.material;if(Array.isArray(c)){let t=r.groups;for(let l=0,u=t.length;l<u;l++){let u=t[l],d=c[u.materialIndex];if(d&&d.visible){let t=getDepthMaterial(n,d,o,s);n.onBeforeShadow(e,n,i,a,r,t,u),e.renderBufferDirect(a,null,r,t,n,u),n.onAfterShadow(e,n,i,a,r,t,u)}}}else if(c.visible){let t=getDepthMaterial(n,c,o,s);n.onBeforeShadow(e,n,i,a,r,t,null),e.renderBufferDirect(a,null,r,t,n,null),n.onAfterShadow(e,n,i,a,r,t,null)}}let c=n.children;for(let e=0,t=c.length;e<t;e++)renderObject(c[e],i,a,o,s)}function onMaterialDispose(e){e.target.removeEventListener(`dispose`,onMaterialDispose);for(let t in l){let n=l[t],r=e.target.uuid;r in n&&(n[r].dispose(),delete n[r])}}}function WebGLState(e,t){function ColorBuffer(){let t=!1,n=new Mi,r=null,i=new Mi(0,0,0,0);return{setMask:function(n){r!==n&&!t&&(e.colorMask(n,n,n,n),r=n)},setLocked:function(e){t=e},setClear:function(t,r,a,o,s){s===!0&&(t*=o,r*=o,a*=o),n.set(t,r,a,o),i.equals(n)===!1&&(e.clearColor(t,r,a,o),i.copy(n))},reset:function(){t=!1,r=null,i.set(-1,0,0,0)}}}function DepthBuffer(){let n=!1,r=!1,i=null,a=null,o=null;return{setReversed:function(e){if(r!==e){let n=t.get(`EXT_clip_control`);e?n.clipControlEXT(n.LOWER_LEFT_EXT,n.ZERO_TO_ONE_EXT):n.clipControlEXT(n.LOWER_LEFT_EXT,n.NEGATIVE_ONE_TO_ONE_EXT),r=e;let i=o;o=null,this.setClear(i)}},getReversed:function(){return r},setTest:function(t){t?enable(e.DEPTH_TEST):disable(e.DEPTH_TEST)},setMask:function(t){i!==t&&!n&&(e.depthMask(t),i=t)},setFunc:function(t){if(r&&(t=pi[t]),a!==t){switch(t){case 0:e.depthFunc(e.NEVER);break;case 1:e.depthFunc(e.ALWAYS);break;case 2:e.depthFunc(e.LESS);break;case 3:e.depthFunc(e.LEQUAL);break;case 4:e.depthFunc(e.EQUAL);break;case 5:e.depthFunc(e.GEQUAL);break;case 6:e.depthFunc(e.GREATER);break;case 7:e.depthFunc(e.NOTEQUAL);break;default:e.depthFunc(e.LEQUAL)}a=t}},setLocked:function(e){n=e},setClear:function(t){o!==t&&(o=t,r&&(t=1-t),e.clearDepth(t))},reset:function(){n=!1,i=null,a=null,o=null,r=!1}}}function StencilBuffer(){let t=!1,n=null,r=null,i=null,a=null,o=null,s=null,c=null,l=null;return{setTest:function(n){t||(n?enable(e.STENCIL_TEST):disable(e.STENCIL_TEST))},setMask:function(r){n!==r&&!t&&(e.stencilMask(r),n=r)},setFunc:function(t,n,o){(r!==t||i!==n||a!==o)&&(e.stencilFunc(t,n,o),r=t,i=n,a=o)},setOp:function(t,n,r){(o!==t||s!==n||c!==r)&&(e.stencilOp(t,n,r),o=t,s=n,c=r)},setLocked:function(e){t=e},setClear:function(t){l!==t&&(e.clearStencil(t),l=t)},reset:function(){t=!1,n=null,r=null,i=null,a=null,o=null,s=null,c=null,l=null}}}let n=new ColorBuffer,r=new DepthBuffer,i=new StencilBuffer,a=new WeakMap,o=new WeakMap,s={},c={},l={},u=new WeakMap,d=[],f=null,p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=null,x=new Color(0,0,0),S=0,C=!1,w=null,T=null,E=null,D=null,O=null,ee=e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS),te=!1,ne=0,k=e.getParameter(e.VERSION);k.indexOf(`WebGL`)===-1?k.indexOf(`OpenGL ES`)!==-1&&(ne=parseFloat(/^OpenGL ES (\d)/.exec(k)[1]),te=ne>=2):(ne=parseFloat(/^WebGL (\d)/.exec(k)[1]),te=ne>=1);let A=null,re={},ie=e.getParameter(e.SCISSOR_BOX),ae=e.getParameter(e.VIEWPORT),oe=new Mi().fromArray(ie),se=new Mi().fromArray(ae);function createTexture(t,n,r,i){let a=new Uint8Array(4),o=e.createTexture();e.bindTexture(t,o),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let o=0;o<r;o++)t===e.TEXTURE_3D||t===e.TEXTURE_2D_ARRAY?e.texImage3D(n,0,e.RGBA,1,1,i,0,e.RGBA,e.UNSIGNED_BYTE,a):e.texImage2D(n+o,0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,a);return o}let ce={};ce[e.TEXTURE_2D]=createTexture(e.TEXTURE_2D,e.TEXTURE_2D,1),ce[e.TEXTURE_CUBE_MAP]=createTexture(e.TEXTURE_CUBE_MAP,e.TEXTURE_CUBE_MAP_POSITIVE_X,6),ce[e.TEXTURE_2D_ARRAY]=createTexture(e.TEXTURE_2D_ARRAY,e.TEXTURE_2D_ARRAY,1,1),ce[e.TEXTURE_3D]=createTexture(e.TEXTURE_3D,e.TEXTURE_3D,1,1),n.setClear(0,0,0,1),r.setClear(1),i.setClear(0),enable(e.DEPTH_TEST),r.setFunc(3),setFlipSided(!1),setCullFace(1),enable(e.CULL_FACE),setBlending(0);function enable(t){s[t]!==!0&&(e.enable(t),s[t]=!0)}function disable(t){s[t]!==!1&&(e.disable(t),s[t]=!1)}function bindFramebuffer(t,n){return l[t]===n?!1:(e.bindFramebuffer(t,n),l[t]=n,t===e.DRAW_FRAMEBUFFER&&(l[e.FRAMEBUFFER]=n),t===e.FRAMEBUFFER&&(l[e.DRAW_FRAMEBUFFER]=n),!0)}function drawBuffers(t,n){let r=d,i=!1;if(t){r=u.get(n),r===void 0&&(r=[],u.set(n,r));let a=t.textures;if(r.length!==a.length||r[0]!==e.COLOR_ATTACHMENT0){for(let t=0,n=a.length;t<n;t++)r[t]=e.COLOR_ATTACHMENT0+t;r.length=a.length,i=!0}}else r[0]!==e.BACK&&(r[0]=e.BACK,i=!0);i&&e.drawBuffers(r)}function useProgram(t){return f===t?!1:(e.useProgram(t),f=t,!0)}let le={100:e.FUNC_ADD,101:e.FUNC_SUBTRACT,102:e.FUNC_REVERSE_SUBTRACT};le[103]=e.MIN,le[104]=e.MAX;let ue={200:e.ZERO,201:e.ONE,202:e.SRC_COLOR,204:e.SRC_ALPHA,210:e.SRC_ALPHA_SATURATE,208:e.DST_COLOR,206:e.DST_ALPHA,203:e.ONE_MINUS_SRC_COLOR,205:e.ONE_MINUS_SRC_ALPHA,209:e.ONE_MINUS_DST_COLOR,207:e.ONE_MINUS_DST_ALPHA,211:e.CONSTANT_COLOR,212:e.ONE_MINUS_CONSTANT_COLOR,213:e.CONSTANT_ALPHA,214:e.ONE_MINUS_CONSTANT_ALPHA};function setBlending(t,n,r,i,a,o,s,c,l,u){if(t===0){p===!0&&(disable(e.BLEND),p=!1);return}if(p===!1&&(enable(e.BLEND),p=!0),t!==5){if(t!==m||u!==C){if((h!==100||v!==100)&&(e.blendEquation(e.FUNC_ADD),h=100,v=100),u)switch(t){case 1:e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFunc(e.ONE,e.ONE);break;case 3:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case 4:e.blendFuncSeparate(e.DST_COLOR,e.ONE_MINUS_SRC_ALPHA,e.ZERO,e.ONE);break;default:error(`WebGLState: Invalid blending: `,t);break}else switch(t){case 1:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE,e.ONE,e.ONE);break;case 3:error(`WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true`);break;case 4:error(`WebGLState: MultiplyBlending requires material.premultipliedAlpha = true`);break;default:error(`WebGLState: Invalid blending: `,t);break}g=null,_=null,y=null,b=null,x.set(0,0,0),S=0,m=t,C=u}return}a||=n,o||=r,s||=i,(n!==h||a!==v)&&(e.blendEquationSeparate(le[n],le[a]),h=n,v=a),(r!==g||i!==_||o!==y||s!==b)&&(e.blendFuncSeparate(ue[r],ue[i],ue[o],ue[s]),g=r,_=i,y=o,b=s),(c.equals(x)===!1||l!==S)&&(e.blendColor(c.r,c.g,c.b,l),x.copy(c),S=l),m=t,C=!1}function setMaterial(t,a){t.side===2?disable(e.CULL_FACE):enable(e.CULL_FACE);let o=t.side===1;a&&(o=!o),setFlipSided(o),t.blending===1&&t.transparent===!1?setBlending(0):setBlending(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.blendColor,t.blendAlpha,t.premultipliedAlpha),r.setFunc(t.depthFunc),r.setTest(t.depthTest),r.setMask(t.depthWrite),n.setMask(t.colorWrite);let s=t.stencilWrite;i.setTest(s),s&&(i.setMask(t.stencilWriteMask),i.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),i.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),setPolygonOffset(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),t.alphaToCoverage===!0?enable(e.SAMPLE_ALPHA_TO_COVERAGE):disable(e.SAMPLE_ALPHA_TO_COVERAGE)}function setFlipSided(t){w!==t&&(t?e.frontFace(e.CW):e.frontFace(e.CCW),w=t)}function setCullFace(t){t===0?disable(e.CULL_FACE):(enable(e.CULL_FACE),t!==T&&(t===1?e.cullFace(e.BACK):t===2?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))),T=t}function setLineWidth(t){t!==E&&(te&&e.lineWidth(t),E=t)}function setPolygonOffset(t,n,i){t?(enable(e.POLYGON_OFFSET_FILL),(D!==n||O!==i)&&(D=n,O=i,r.getReversed()&&(n=-n),e.polygonOffset(n,i))):disable(e.POLYGON_OFFSET_FILL)}function setScissorTest(t){t?enable(e.SCISSOR_TEST):disable(e.SCISSOR_TEST)}function activeTexture(t){t===void 0&&(t=e.TEXTURE0+ee-1),A!==t&&(e.activeTexture(t),A=t)}function bindTexture(t,n,r){r===void 0&&(r=A===null?e.TEXTURE0+ee-1:A);let i=re[r];i===void 0&&(i={type:void 0,texture:void 0},re[r]=i),(i.type!==t||i.texture!==n)&&(A!==r&&(e.activeTexture(r),A=r),e.bindTexture(t,n||ce[t]),i.type=t,i.texture=n)}function unbindTexture(){let t=re[A];t!==void 0&&t.type!==void 0&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)}function compressedTexImage2D(){try{e.compressedTexImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexImage3D(){try{e.compressedTexImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texSubImage2D(){try{e.texSubImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texSubImage3D(){try{e.texSubImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexSubImage2D(){try{e.compressedTexSubImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexSubImage3D(){try{e.compressedTexSubImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texStorage2D(){try{e.texStorage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texStorage3D(){try{e.texStorage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texImage2D(){try{e.texImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texImage3D(){try{e.texImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function getParameter(t){return c[t]===void 0?e.getParameter(t):c[t]}function pixelStorei(t,n){c[t]!==n&&(e.pixelStorei(t,n),c[t]=n)}function scissor(t){oe.equals(t)===!1&&(e.scissor(t.x,t.y,t.z,t.w),oe.copy(t))}function viewport(t){se.equals(t)===!1&&(e.viewport(t.x,t.y,t.z,t.w),se.copy(t))}function updateUBOMapping(t,n){let r=o.get(n);r===void 0&&(r=new WeakMap,o.set(n,r));let i=r.get(t);i===void 0&&(i=e.getUniformBlockIndex(n,t.name),r.set(t,i))}function uniformBlockBinding(t,n){let r=o.get(n).get(t);a.get(n)!==r&&(e.uniformBlockBinding(n,r,t.__bindingPointIndex),a.set(n,r))}function reset(){e.disable(e.BLEND),e.disable(e.CULL_FACE),e.disable(e.DEPTH_TEST),e.disable(e.POLYGON_OFFSET_FILL),e.disable(e.SCISSOR_TEST),e.disable(e.STENCIL_TEST),e.disable(e.SAMPLE_ALPHA_TO_COVERAGE),e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ZERO),e.blendFuncSeparate(e.ONE,e.ZERO,e.ONE,e.ZERO),e.blendColor(0,0,0,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(e.LESS),r.setReversed(!1),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(e.ALWAYS,0,4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP),e.clearStencil(0),e.cullFace(e.BACK),e.frontFace(e.CCW),e.polygonOffset(0,0),e.activeTexture(e.TEXTURE0),e.bindFramebuffer(e.FRAMEBUFFER,null),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),e.bindFramebuffer(e.READ_FRAMEBUFFER,null),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),e.pixelStorei(e.PACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,e.BROWSER_DEFAULT_WEBGL),e.pixelStorei(e.PACK_ROW_LENGTH,0),e.pixelStorei(e.PACK_SKIP_PIXELS,0),e.pixelStorei(e.PACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_ROW_LENGTH,0),e.pixelStorei(e.UNPACK_IMAGE_HEIGHT,0),e.pixelStorei(e.UNPACK_SKIP_PIXELS,0),e.pixelStorei(e.UNPACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_SKIP_IMAGES,0),s={},c={},A=null,re={},l={},u=new WeakMap,d=[],f=null,p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=null,x=new Color(0,0,0),S=0,C=!1,w=null,T=null,E=null,D=null,O=null,oe.set(0,0,e.canvas.width,e.canvas.height),se.set(0,0,e.canvas.width,e.canvas.height),n.reset(),r.reset(),i.reset()}return{buffers:{color:n,depth:r,stencil:i},enable,disable,bindFramebuffer,drawBuffers,useProgram,setBlending,setMaterial,setFlipSided,setCullFace,setLineWidth,setPolygonOffset,setScissorTest,activeTexture,bindTexture,unbindTexture,compressedTexImage2D,compressedTexImage3D,texImage2D,texImage3D,pixelStorei,getParameter,updateUBOMapping,uniformBlockBinding,texStorage2D,texStorage3D,texSubImage2D,texSubImage3D,compressedTexSubImage2D,compressedTexSubImage3D,scissor,viewport,reset}}function WebGLTextures(e,t,n,r,i,a,o){let s=t.has(`WEBGL_multisampled_render_to_texture`)?t.get(`WEBGL_multisampled_render_to_texture`):null,c=typeof navigator>`u`?!1:/OculusBrowser/g.test(navigator.userAgent),l=new yi,u=new WeakMap,d=new Set,f,p=new WeakMap,m=!1;try{m=typeof OffscreenCanvas<`u`&&new OffscreenCanvas(1,1).getContext(`2d`)!==null}catch{}function createCanvas(e,t){return m?new OffscreenCanvas(e,t):createElementNS(`canvas`)}function resizeImage(e,t,n){let r=1,i=getDimensions(e);if((i.width>n||i.height>n)&&(r=n/Math.max(i.width,i.height)),r<1)if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap||typeof VideoFrame<`u`&&e instanceof VideoFrame){let n=Math.floor(r*i.width),a=Math.floor(r*i.height);f===void 0&&(f=createCanvas(n,a));let o=t?createCanvas(n,a):f;return o.width=n,o.height=a,o.getContext(`2d`).drawImage(e,0,0,n,a),warn(`WebGLRenderer: Texture has been resized from (`+i.width+`x`+i.height+`) to (`+n+`x`+a+`).`),o}else return`data`in e&&warn(`WebGLRenderer: Image in DataTexture is too big (`+i.width+`x`+i.height+`).`),e;return e}function textureNeedsGenerateMipmaps(e){return e.generateMipmaps}function generateMipmap(t){e.generateMipmap(t)}function getTargetType(t){return t.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:t.isWebGL3DRenderTarget?e.TEXTURE_3D:t.isWebGLArrayRenderTarget||t.isCompressedArrayTexture?e.TEXTURE_2D_ARRAY:e.TEXTURE_2D}function getInternalFormat(n,r,i,a,o,s=!1){if(n!==null){if(e[n]!==void 0)return e[n];warn(`WebGLRenderer: Attempt to use non-existing WebGL internal format '`+n+`'`)}let c;a&&(c=t.get(`EXT_texture_norm16`),c||warn(`WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension`));let l=r;if(r===e.RED&&(i===e.FLOAT&&(l=e.R32F),i===e.HALF_FLOAT&&(l=e.R16F),i===e.UNSIGNED_BYTE&&(l=e.R8),i===e.UNSIGNED_SHORT&&c&&(l=c.R16_EXT),i===e.SHORT&&c&&(l=c.R16_SNORM_EXT)),r===e.RED_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.R8UI),i===e.UNSIGNED_SHORT&&(l=e.R16UI),i===e.UNSIGNED_INT&&(l=e.R32UI),i===e.BYTE&&(l=e.R8I),i===e.SHORT&&(l=e.R16I),i===e.INT&&(l=e.R32I)),r===e.RG&&(i===e.FLOAT&&(l=e.RG32F),i===e.HALF_FLOAT&&(l=e.RG16F),i===e.UNSIGNED_BYTE&&(l=e.RG8),i===e.UNSIGNED_SHORT&&c&&(l=c.RG16_EXT),i===e.SHORT&&c&&(l=c.RG16_SNORM_EXT)),r===e.RG_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RG8UI),i===e.UNSIGNED_SHORT&&(l=e.RG16UI),i===e.UNSIGNED_INT&&(l=e.RG32UI),i===e.BYTE&&(l=e.RG8I),i===e.SHORT&&(l=e.RG16I),i===e.INT&&(l=e.RG32I)),r===e.RGB_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGB8UI),i===e.UNSIGNED_SHORT&&(l=e.RGB16UI),i===e.UNSIGNED_INT&&(l=e.RGB32UI),i===e.BYTE&&(l=e.RGB8I),i===e.SHORT&&(l=e.RGB16I),i===e.INT&&(l=e.RGB32I)),r===e.RGBA_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGBA8UI),i===e.UNSIGNED_SHORT&&(l=e.RGBA16UI),i===e.UNSIGNED_INT&&(l=e.RGBA32UI),i===e.BYTE&&(l=e.RGBA8I),i===e.SHORT&&(l=e.RGBA16I),i===e.INT&&(l=e.RGBA32I)),r===e.RGB&&(i===e.UNSIGNED_SHORT&&c&&(l=c.RGB16_EXT),i===e.SHORT&&c&&(l=c.RGB16_SNORM_EXT),i===e.UNSIGNED_INT_5_9_9_9_REV&&(l=e.RGB9_E5),i===e.UNSIGNED_INT_10F_11F_11F_REV&&(l=e.R11F_G11F_B10F)),r===e.RGBA){let t=s?ci:Ei.getTransfer(o);i===e.FLOAT&&(l=e.RGBA32F),i===e.HALF_FLOAT&&(l=e.RGBA16F),i===e.UNSIGNED_BYTE&&(l=t===`srgb`?e.SRGB8_ALPHA8:e.RGBA8),i===e.UNSIGNED_SHORT&&c&&(l=c.RGBA16_EXT),i===e.SHORT&&c&&(l=c.RGBA16_SNORM_EXT),i===e.UNSIGNED_SHORT_4_4_4_4&&(l=e.RGBA4),i===e.UNSIGNED_SHORT_5_5_5_1&&(l=e.RGB5_A1)}return(l===e.R16F||l===e.R32F||l===e.RG16F||l===e.RG32F||l===e.RGBA16F||l===e.RGBA32F)&&t.get(`EXT_color_buffer_float`),l}function getInternalDepthFormat(t,n){let r;return t?n===null||n===1014||n===1020?r=e.DEPTH24_STENCIL8:n===1015?r=e.DEPTH32F_STENCIL8:n===1012&&(r=e.DEPTH24_STENCIL8,warn(`DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.`)):n===null||n===1014||n===1020?r=e.DEPTH_COMPONENT24:n===1015?r=e.DEPTH_COMPONENT32F:n===1012&&(r=e.DEPTH_COMPONENT16),r}function getMipLevels(e,t){return textureNeedsGenerateMipmaps(e)===!0||e.isFramebufferTexture&&e.minFilter!==1003&&e.minFilter!==1006?Math.log2(Math.max(t.width,t.height))+1:e.mipmaps!==void 0&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function onTextureDispose(e){let t=e.target;t.removeEventListener(`dispose`,onTextureDispose),deallocateTexture(t),t.isVideoTexture&&u.delete(t),t.isHTMLTexture&&d.delete(t)}function onRenderTargetDispose(e){let t=e.target;t.removeEventListener(`dispose`,onRenderTargetDispose),deallocateRenderTarget(t)}function deallocateTexture(e){let t=r.get(e);if(t.__webglInit===void 0)return;let n=e.source,i=p.get(n);if(i){let r=i[t.__cacheKey];r.usedTimes--,r.usedTimes===0&&deleteTexture(e),Object.keys(i).length===0&&p.delete(n)}r.remove(e)}function deleteTexture(t){let n=r.get(t);e.deleteTexture(n.__webglTexture);let i=t.source,a=p.get(i);delete a[n.__cacheKey],o.memory.textures--}function deallocateRenderTarget(t){let n=r.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),r.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let r=0;r<n.__webglFramebuffer[t].length;r++)e.deleteFramebuffer(n.__webglFramebuffer[t][r]);else e.deleteFramebuffer(n.__webglFramebuffer[t]);n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer[t])}else{if(Array.isArray(n.__webglFramebuffer))for(let t=0;t<n.__webglFramebuffer.length;t++)e.deleteFramebuffer(n.__webglFramebuffer[t]);else e.deleteFramebuffer(n.__webglFramebuffer);if(n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer),n.__webglMultisampledFramebuffer&&e.deleteFramebuffer(n.__webglMultisampledFramebuffer),n.__webglColorRenderbuffer)for(let t=0;t<n.__webglColorRenderbuffer.length;t++)n.__webglColorRenderbuffer[t]&&e.deleteRenderbuffer(n.__webglColorRenderbuffer[t]);n.__webglDepthRenderbuffer&&e.deleteRenderbuffer(n.__webglDepthRenderbuffer)}let i=t.textures;for(let t=0,n=i.length;t<n;t++){let n=r.get(i[t]);n.__webglTexture&&(e.deleteTexture(n.__webglTexture),o.memory.textures--),r.remove(i[t])}r.remove(t)}let h=0;function resetTextureUnits(){h=0}function getTextureUnits(){return h}function setTextureUnits(e){h=e}function allocateTextureUnit(){let e=h;return e>=i.maxTextures&&warn(`WebGLTextures: Trying to use `+e+` texture units while this GPU supports only `+i.maxTextures),h+=1,e}function getTextureCacheKey(e){let t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.colorSpace),t.join()}function setTexture2D(t,i){let a=r.get(t);if(t.isVideoTexture&&updateVideoTexture(t),t.isRenderTargetTexture===!1&&t.isExternalTexture!==!0&&t.version>0&&a.__version!==t.version){let e=t.image;if(e===null)warn(`WebGLRenderer: Texture marked for update but no image data found.`);else if(e.complete===!1)warn(`WebGLRenderer: Texture marked for update but image is incomplete`);else{uploadTexture(a,t,i);return}}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D,a.__webglTexture,e.TEXTURE0+i)}function setTexture2DArray(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){uploadTexture(a,t,i);return}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+i)}function setTexture3D(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){uploadTexture(a,t,i);return}n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+i)}function setTextureCube(t,i){let a=r.get(t);if(t.isCubeDepthTexture!==!0&&t.version>0&&a.__version!==t.version){uploadCubeTexture(a,t,i);return}n.bindTexture(e.TEXTURE_CUBE_MAP,a.__webglTexture,e.TEXTURE0+i)}let g={[Mr]:e.REPEAT,[Nr]:e.CLAMP_TO_EDGE,[Pr]:e.MIRRORED_REPEAT},_={[Fr]:e.NEAREST,1004:e.NEAREST_MIPMAP_NEAREST,1005:e.NEAREST_MIPMAP_LINEAR,[Ir]:e.LINEAR,1007:e.LINEAR_MIPMAP_NEAREST,[Lr]:e.LINEAR_MIPMAP_LINEAR},v={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function setTextureParameters(n,a){if(a.type===1015&&t.has(`OES_texture_float_linear`)===!1&&(a.magFilter===1006||a.magFilter===1007||a.magFilter===1005||a.magFilter===1008||a.minFilter===1006||a.minFilter===1007||a.minFilter===1005||a.minFilter===1008)&&warn(`WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device.`),e.texParameteri(n,e.TEXTURE_WRAP_S,g[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,g[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,g[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,_[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,_[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,v[a.compareFunction])),t.has(`EXT_texture_filter_anisotropic`)===!0){if(a.magFilter===1003||a.minFilter!==1005&&a.minFilter!==1008||a.type===1015&&t.has(`OES_texture_float_linear`)===!1)return;if(a.anisotropy>1||r.get(a).__currentAnisotropy){let o=t.get(`EXT_texture_filter_anisotropic`);e.texParameterf(n,o.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,i.getMaxAnisotropy())),r.get(a).__currentAnisotropy=a.anisotropy}}}function initTexture(t,n){let r=!1;t.__webglInit===void 0&&(t.__webglInit=!0,n.addEventListener(`dispose`,onTextureDispose));let i=n.source,a=p.get(i);a===void 0&&(a={},p.set(i,a));let s=getTextureCacheKey(n);if(s!==t.__cacheKey){a[s]===void 0&&(a[s]={texture:e.createTexture(),usedTimes:0},o.memory.textures++,r=!0),a[s].usedTimes++;let i=a[t.__cacheKey];i!==void 0&&(a[t.__cacheKey].usedTimes--,i.usedTimes===0&&deleteTexture(n)),t.__cacheKey=s,t.__webglTexture=a[s].texture}return r}function getRow(e,t,n){return Math.floor(Math.floor(e/n)/t)}function updateTexture(t,r,i,a){let o=t.updateRanges;if(o.length===0)n.texSubImage2D(e.TEXTURE_2D,0,0,0,r.width,r.height,i,a,r.data);else{o.sort((e,t)=>e.start-t.start);let s=0;for(let e=1;e<o.length;e++){let t=o[s],n=o[e],i=t.start+t.count,a=getRow(n.start,r.width,4),c=getRow(t.start,r.width,4);n.start<=i+1&&a===c&&getRow(n.start+n.count-1,r.width,4)===a?t.count=Math.max(t.count,n.start+n.count-t.start):(++s,o[s]=n)}o.length=s+1;let c=n.getParameter(e.UNPACK_ROW_LENGTH),l=n.getParameter(e.UNPACK_SKIP_PIXELS),u=n.getParameter(e.UNPACK_SKIP_ROWS);n.pixelStorei(e.UNPACK_ROW_LENGTH,r.width);for(let t=0,s=o.length;t<s;t++){let s=o[t],c=Math.floor(s.start/4),l=Math.ceil(s.count/4),u=c%r.width,d=Math.floor(c/r.width),f=l;n.pixelStorei(e.UNPACK_SKIP_PIXELS,u),n.pixelStorei(e.UNPACK_SKIP_ROWS,d),n.texSubImage2D(e.TEXTURE_2D,0,u,d,f,1,i,a,r.data)}t.clearUpdateRanges(),n.pixelStorei(e.UNPACK_ROW_LENGTH,c),n.pixelStorei(e.UNPACK_SKIP_PIXELS,l),n.pixelStorei(e.UNPACK_SKIP_ROWS,u)}}function uploadTexture(t,o,s){let c=e.TEXTURE_2D;(o.isDataArrayTexture||o.isCompressedArrayTexture)&&(c=e.TEXTURE_2D_ARRAY),o.isData3DTexture&&(c=e.TEXTURE_3D);let l=initTexture(t,o),u=o.source;n.bindTexture(c,t.__webglTexture,e.TEXTURE0+s);let f=r.get(u);if(u.version!==f.__version||l===!0){if(n.activeTexture(e.TEXTURE0+s),!(typeof ImageBitmap<`u`&&o.image instanceof ImageBitmap)){let t=Ei.getPrimaries(Ei.workingColorSpace),r=o.colorSpace===``?null:Ei.getPrimaries(o.colorSpace),i=o.colorSpace===``||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;n.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),n.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),n.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,i)}n.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment);let t=resizeImage(o.image,!1,i.maxTextureSize);t=verifyColorSpace(o,t);let r=a.convert(o.format,o.colorSpace),p=a.convert(o.type),m=getInternalFormat(o.internalFormat,r,p,o.normalized,o.colorSpace,o.isVideoTexture);setTextureParameters(c,o);let h,g=o.mipmaps,_=o.isVideoTexture!==!0,v=f.__version===void 0||l===!0,y=u.dataReady,b=getMipLevels(o,t);if(o.isDepthTexture)m=getInternalDepthFormat(o.format===Jr,o.type),v&&(_?n.texStorage2D(e.TEXTURE_2D,1,m,t.width,t.height):n.texImage2D(e.TEXTURE_2D,0,m,t.width,t.height,0,r,p,null));else if(o.isDataTexture)if(g.length>0){_&&v&&n.texStorage2D(e.TEXTURE_2D,b,m,g[0].width,g[0].height);for(let t=0,i=g.length;t<i;t++)h=g[t],_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,p,h.data):n.texImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,r,p,h.data);o.generateMipmaps=!1}else _?(v&&n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height),y&&updateTexture(o,t,r,p)):n.texImage2D(e.TEXTURE_2D,0,m,t.width,t.height,0,r,p,t.data);else if(o.isCompressedTexture)if(o.isCompressedArrayTexture){_&&v&&n.texStorage3D(e.TEXTURE_2D_ARRAY,b,m,g[0].width,g[0].height,t.depth);for(let i=0,a=g.length;i<a;i++)if(h=g[i],o.format!==1023)if(r!==null)if(_){if(y)if(o.layerUpdates.size>0){let t=getByteLength(h.width,h.height,o.format,o.type);for(let a of o.layerUpdates){let o=h.data.subarray(a*t/h.data.BYTES_PER_ELEMENT,(a+1)*t/h.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,h.width,h.height,1,r,o)}o.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,h.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,h.data,0,0);else warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()`);else _?y&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,p,h.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,r,p,h.data)}else{_&&v&&n.texStorage2D(e.TEXTURE_2D,b,m,g[0].width,g[0].height);for(let t=0,i=g.length;t<i;t++)h=g[t],o.format===1023?_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,p,h.data):n.texImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,r,p,h.data):r===null?warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()`):_?y&&n.compressedTexSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,h.data):n.compressedTexImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,h.data)}else if(o.isDataArrayTexture)if(_){if(v&&n.texStorage3D(e.TEXTURE_2D_ARRAY,b,m,t.width,t.height,t.depth),y)if(o.layerUpdates.size>0){let i=getByteLength(t.width,t.height,o.format,o.type);for(let a of o.layerUpdates){let o=t.data.subarray(a*i/t.data.BYTES_PER_ELEMENT,(a+1)*i/t.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,a,t.width,t.height,1,r,p,o)}o.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isData3DTexture)_?(v&&n.texStorage3D(e.TEXTURE_3D,b,m,t.width,t.height,t.depth),y&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)):n.texImage3D(e.TEXTURE_3D,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isFramebufferTexture){if(v)if(_)n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height);else{let i=t.width,a=t.height;for(let t=0;t<b;t++)n.texImage2D(e.TEXTURE_2D,t,m,i,a,0,r,p,null),i>>=1,a>>=1}}else if(o.isHTMLTexture){if(`texElementImage2D`in e){let n=e.canvas;if(n.hasAttribute(`layoutsubtree`)||n.setAttribute(`layoutsubtree`,`true`),t.parentNode!==n){n.appendChild(t),d.add(o),n.onpaint=e=>{let t=e.changedElements;for(let e of d)t.includes(e.image)&&(e.needsUpdate=!0)},n.requestPaint();return}if(e.texElementImage2D.length===3)e.texElementImage2D(e.TEXTURE_2D,e.RGBA8,t);else{let n=e.RGBA,r=e.RGBA,i=e.UNSIGNED_BYTE;e.texElementImage2D(e.TEXTURE_2D,0,n,r,i,t)}e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE)}}else if(g.length>0){if(_&&v){let t=getDimensions(g[0]);n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height)}for(let t=0,i=g.length;t<i;t++)h=g[t],_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,r,p,h):n.texImage2D(e.TEXTURE_2D,t,m,r,p,h);o.generateMipmaps=!1}else if(_){if(v){let r=getDimensions(t);n.texStorage2D(e.TEXTURE_2D,b,m,r.width,r.height)}y&&n.texSubImage2D(e.TEXTURE_2D,0,0,0,r,p,t)}else n.texImage2D(e.TEXTURE_2D,0,m,r,p,t);textureNeedsGenerateMipmaps(o)&&generateMipmap(c),f.__version=u.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}function uploadCubeTexture(t,o,s){if(o.image.length!==6)return;let c=initTexture(t,o),l=o.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+s);let u=r.get(l);if(l.version!==u.__version||c===!0){n.activeTexture(e.TEXTURE0+s);let t=Ei.getPrimaries(Ei.workingColorSpace),r=o.colorSpace===``?null:Ei.getPrimaries(o.colorSpace),d=o.colorSpace===``||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;n.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),n.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),n.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment),n.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let f=o.isCompressedTexture||o.image[0].isCompressedTexture,p=o.image[0]&&o.image[0].isDataTexture,m=[];for(let e=0;e<6;e++)!f&&!p?m[e]=resizeImage(o.image[e],!0,i.maxCubemapSize):m[e]=p?o.image[e].image:o.image[e],m[e]=verifyColorSpace(o,m[e]);let h=m[0],g=a.convert(o.format,o.colorSpace),_=a.convert(o.type),v=getInternalFormat(o.internalFormat,g,_,o.normalized,o.colorSpace),y=o.isVideoTexture!==!0,b=u.__version===void 0||c===!0,x=l.dataReady,S=getMipLevels(o,h);setTextureParameters(e.TEXTURE_CUBE_MAP,o);let C;if(f){y&&b&&n.texStorage2D(e.TEXTURE_CUBE_MAP,S,v,h.width,h.height);for(let t=0;t<6;t++){C=m[t].mipmaps;for(let r=0;r<C.length;r++){let i=C[r];o.format===1023?y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,g,_,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,v,i.width,i.height,0,g,_,i.data):g===null?warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()`):y?x&&n.compressedTexSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,g,i.data):n.compressedTexImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,v,i.width,i.height,0,i.data)}}}else{if(C=o.mipmaps,y&&b){C.length>0&&S++;let t=getDimensions(m[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,S,v,t.width,t.height)}for(let t=0;t<6;t++)if(p){y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,m[t].width,m[t].height,g,_,m[t].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,v,m[t].width,m[t].height,0,g,_,m[t].data);for(let r=0;r<C.length;r++){let i=C[r].image[t].image;y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,i.width,i.height,g,_,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,v,i.width,i.height,0,g,_,i.data)}}else{y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,g,_,m[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,v,g,_,m[t]);for(let r=0;r<C.length;r++){let i=C[r];y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,g,_,i.image[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,v,g,_,i.image[t])}}}textureNeedsGenerateMipmaps(o)&&generateMipmap(e.TEXTURE_CUBE_MAP),u.__version=l.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}function setupFrameBufferTexture(t,i,o,c,l,u){let d=a.convert(o.format,o.colorSpace),f=a.convert(o.type),p=getInternalFormat(o.internalFormat,d,f,o.normalized,o.colorSpace),m=r.get(i),h=r.get(o);if(h.__renderTarget=i,!m.__hasExternalTextures){let t=Math.max(1,i.width>>u),r=Math.max(1,i.height>>u);l===e.TEXTURE_3D||l===e.TEXTURE_2D_ARRAY?n.texImage3D(l,u,p,t,r,i.depth,0,d,f,null):n.texImage2D(l,u,p,t,r,0,d,f,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,c,l,h.__webglTexture,0,getRenderTargetSamples(i)):(l===e.TEXTURE_2D||l>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&l<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,c,l,h.__webglTexture,u),n.bindFramebuffer(e.FRAMEBUFFER,null)}function setupRenderBufferStorage(t,n,r){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let i=n.depthTexture,a=i&&i.isDepthTexture?i.type:null,o=getInternalDepthFormat(n.stencilBuffer,a),c=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;useMultisampledRTT(n)?s.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,getRenderTargetSamples(n),o,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,getRenderTargetSamples(n),o,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,o,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,c,e.RENDERBUFFER,t)}else{let t=n.textures;for(let i=0;i<t.length;i++){let o=t[i],c=a.convert(o.format,o.colorSpace),l=a.convert(o.type),u=getInternalFormat(o.internalFormat,c,l,o.normalized,o.colorSpace);useMultisampledRTT(n)?s.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,getRenderTargetSamples(n),u,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,getRenderTargetSamples(n),u,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,u,n.width,n.height)}}e.bindRenderbuffer(e.RENDERBUFFER,null)}function setupDepthTexture(t,i,o){let c=i.isWebGLCubeRenderTarget===!0;if(n.bindFramebuffer(e.FRAMEBUFFER,t),!(i.depthTexture&&i.depthTexture.isDepthTexture))throw Error(`THREE.WebGLTextures: renderTarget.depthTexture must be an instance of THREE.DepthTexture.`);let l=r.get(i.depthTexture);if(l.__renderTarget=i,(!l.__webglTexture||i.depthTexture.image.width!==i.width||i.depthTexture.image.height!==i.height)&&(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),c){if(l.__webglInit===void 0&&(l.__webglInit=!0,i.depthTexture.addEventListener(`dispose`,onTextureDispose)),l.__webglTexture===void 0){l.__webglTexture=e.createTexture(),n.bindTexture(e.TEXTURE_CUBE_MAP,l.__webglTexture),setTextureParameters(e.TEXTURE_CUBE_MAP,i.depthTexture);let t=a.convert(i.depthTexture.format),r=a.convert(i.depthTexture.type),o;i.depthTexture.format===1026?o=e.DEPTH_COMPONENT24:i.depthTexture.format===1027&&(o=e.DEPTH24_STENCIL8);for(let n=0;n<6;n++)e.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+n,0,o,i.width,i.height,0,t,r,null)}}else setTexture2D(i.depthTexture,0);let u=l.__webglTexture,d=getRenderTargetSamples(i),f=c?e.TEXTURE_CUBE_MAP_POSITIVE_X+o:e.TEXTURE_2D,p=i.depthTexture.format===1027?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;if(i.depthTexture.format===1026)useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,p,f,u,0,d):e.framebufferTexture2D(e.FRAMEBUFFER,p,f,u,0);else if(i.depthTexture.format===1027)useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,p,f,u,0,d):e.framebufferTexture2D(e.FRAMEBUFFER,p,f,u,0);else throw Error(`THREE.WebGLTextures: Unknown depthTexture format.`)}function setupDepthRenderbuffer(t){let i=r.get(t),a=t.isWebGLCubeRenderTarget===!0;if(i.__boundDepthTexture!==t.depthTexture){let e=t.depthTexture;if(i.__depthDisposeCallback&&i.__depthDisposeCallback(),e){let disposeEvent=()=>{delete i.__boundDepthTexture,delete i.__depthDisposeCallback,e.removeEventListener(`dispose`,disposeEvent)};e.addEventListener(`dispose`,disposeEvent),i.__depthDisposeCallback=disposeEvent}i.__boundDepthTexture=e}if(t.depthTexture&&!i.__autoAllocateDepthBuffer)if(a)for(let e=0;e<6;e++)setupDepthTexture(i.__webglFramebuffer[e],t,e);else{let e=t.texture.mipmaps;e&&e.length>0?setupDepthTexture(i.__webglFramebuffer[0],t,0):setupDepthTexture(i.__webglFramebuffer,t,0)}else if(a){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)if(n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]===void 0)i.__webglDepthbuffer[r]=e.createRenderbuffer(),setupRenderBufferStorage(i.__webglDepthbuffer[r],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=i.__webglDepthbuffer[r];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else{let r=t.texture.mipmaps;if(r&&r.length>0?n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[0]):n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer),i.__webglDepthbuffer===void 0)i.__webglDepthbuffer=e.createRenderbuffer(),setupRenderBufferStorage(i.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,r=i.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,r),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,r)}}n.bindFramebuffer(e.FRAMEBUFFER,null)}function rebindTextures(t,n,i){let a=r.get(t);n!==void 0&&setupFrameBufferTexture(a.__webglFramebuffer,t,t.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),i!==void 0&&setupDepthRenderbuffer(t)}function setupRenderTarget(t){let i=t.texture,s=r.get(t),c=r.get(i);t.addEventListener(`dispose`,onRenderTargetDispose);let l=t.textures,u=t.isWebGLCubeRenderTarget===!0,d=l.length>1;if(d||(c.__webglTexture===void 0&&(c.__webglTexture=e.createTexture()),c.__version=i.version,o.memory.textures++),u){s.__webglFramebuffer=[];for(let t=0;t<6;t++)if(i.mipmaps&&i.mipmaps.length>0){s.__webglFramebuffer[t]=[];for(let n=0;n<i.mipmaps.length;n++)s.__webglFramebuffer[t][n]=e.createFramebuffer()}else s.__webglFramebuffer[t]=e.createFramebuffer()}else{if(i.mipmaps&&i.mipmaps.length>0){s.__webglFramebuffer=[];for(let t=0;t<i.mipmaps.length;t++)s.__webglFramebuffer[t]=e.createFramebuffer()}else s.__webglFramebuffer=e.createFramebuffer();if(d)for(let t=0,n=l.length;t<n;t++){let n=r.get(l[t]);n.__webglTexture===void 0&&(n.__webglTexture=e.createTexture(),o.memory.textures++)}if(t.samples>0&&useMultisampledRTT(t)===!1){s.__webglMultisampledFramebuffer=e.createFramebuffer(),s.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,s.__webglMultisampledFramebuffer);for(let n=0;n<l.length;n++){let r=l[n];s.__webglColorRenderbuffer[n]=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,s.__webglColorRenderbuffer[n]);let i=a.convert(r.format,r.colorSpace),o=a.convert(r.type),c=getInternalFormat(r.internalFormat,i,o,r.normalized,r.colorSpace,t.isXRRenderTarget===!0),u=getRenderTargetSamples(t);e.renderbufferStorageMultisample(e.RENDERBUFFER,u,c,t.width,t.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+n,e.RENDERBUFFER,s.__webglColorRenderbuffer[n])}e.bindRenderbuffer(e.RENDERBUFFER,null),t.depthBuffer&&(s.__webglDepthRenderbuffer=e.createRenderbuffer(),setupRenderBufferStorage(s.__webglDepthRenderbuffer,t,!0)),n.bindFramebuffer(e.FRAMEBUFFER,null)}}if(u){n.bindTexture(e.TEXTURE_CUBE_MAP,c.__webglTexture),setTextureParameters(e.TEXTURE_CUBE_MAP,i);for(let n=0;n<6;n++)if(i.mipmaps&&i.mipmaps.length>0)for(let r=0;r<i.mipmaps.length;r++)setupFrameBufferTexture(s.__webglFramebuffer[n][r],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,r);else setupFrameBufferTexture(s.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,0);textureNeedsGenerateMipmaps(i)&&generateMipmap(e.TEXTURE_CUBE_MAP),n.unbindTexture()}else if(d){for(let i=0,a=l.length;i<a;i++){let a=l[i],o=r.get(a),c=e.TEXTURE_2D;(t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(c=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),n.bindTexture(c,o.__webglTexture),setTextureParameters(c,a),setupFrameBufferTexture(s.__webglFramebuffer,t,a,e.COLOR_ATTACHMENT0+i,c,0),textureNeedsGenerateMipmaps(a)&&generateMipmap(c)}n.unbindTexture()}else{let r=e.TEXTURE_2D;if((t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(r=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),n.bindTexture(r,c.__webglTexture),setTextureParameters(r,i),i.mipmaps&&i.mipmaps.length>0)for(let n=0;n<i.mipmaps.length;n++)setupFrameBufferTexture(s.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,r,n);else setupFrameBufferTexture(s.__webglFramebuffer,t,i,e.COLOR_ATTACHMENT0,r,0);textureNeedsGenerateMipmaps(i)&&generateMipmap(r),n.unbindTexture()}t.depthBuffer&&setupDepthRenderbuffer(t)}function updateRenderTargetMipmap(e){let t=e.textures;for(let i=0,a=t.length;i<a;i++){let a=t[i];if(textureNeedsGenerateMipmaps(a)){let t=getTargetType(e),i=r.get(a).__webglTexture;n.bindTexture(t,i),generateMipmap(t),n.unbindTexture()}}}let y=[],b=[];function updateMultisampleRenderTarget(t){if(t.samples>0){if(useMultisampledRTT(t)===!1){let i=t.textures,a=t.width,o=t.height,s=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=r.get(t),d=i.length>1;if(d)for(let t=0;t<i.length;t++)n.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,null),n.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,null,0);n.bindFramebuffer(e.READ_FRAMEBUFFER,u.__webglMultisampledFramebuffer);let f=t.texture.mipmaps;f&&f.length>0?n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer[0]):n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer);for(let n=0;n<i.length;n++){if(t.resolveDepthBuffer&&(t.depthBuffer&&(s|=e.DEPTH_BUFFER_BIT),t.stencilBuffer&&t.resolveStencilBuffer&&(s|=e.STENCIL_BUFFER_BIT)),d){e.framebufferRenderbuffer(e.READ_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,u.__webglColorRenderbuffer[n]);let t=r.get(i[n]).__webglTexture;e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0)}e.blitFramebuffer(0,0,a,o,0,0,a,o,s,e.NEAREST),c===!0&&(y.length=0,b.length=0,y.push(e.COLOR_ATTACHMENT0+n),t.depthBuffer&&t.resolveDepthBuffer===!1&&(y.push(l),b.push(l),e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,b)),e.invalidateFramebuffer(e.READ_FRAMEBUFFER,y))}if(n.bindFramebuffer(e.READ_FRAMEBUFFER,null),n.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),d)for(let t=0;t<i.length;t++){n.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,u.__webglColorRenderbuffer[t]);let a=r.get(i[t]).__webglTexture;n.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,a,0)}n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglMultisampledFramebuffer)}else if(t.depthBuffer&&t.resolveDepthBuffer===!1&&c){let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,[n])}}}function getRenderTargetSamples(e){return Math.min(i.maxSamples,e.samples)}function useMultisampledRTT(e){let n=r.get(e);return e.samples>0&&t.has(`WEBGL_multisampled_render_to_texture`)===!0&&n.__useRenderToTexture!==!1}function updateVideoTexture(e){let t=o.render.frame;u.get(e)!==t&&(u.set(e,t),e.update())}function verifyColorSpace(e,t){let n=e.colorSpace,r=e.format,i=e.type;return e.isCompressedTexture===!0||e.isVideoTexture===!0||n!==`srgb-linear`&&n!==``&&(Ei.getTransfer(n)===`srgb`?(r!==1023||i!==1009)&&warn(`WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.`):error(`WebGLTextures: Unsupported texture color space:`,n)),t}function getDimensions(e){return typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement?(l.width=e.naturalWidth||e.width,l.height=e.naturalHeight||e.height):typeof VideoFrame<`u`&&e instanceof VideoFrame?(l.width=e.displayWidth,l.height=e.displayHeight):(l.width=e.width,l.height=e.height),l}this.allocateTextureUnit=allocateTextureUnit,this.resetTextureUnits=resetTextureUnits,this.getTextureUnits=getTextureUnits,this.setTextureUnits=setTextureUnits,this.setTexture2D=setTexture2D,this.setTexture2DArray=setTexture2DArray,this.setTexture3D=setTexture3D,this.setTextureCube=setTextureCube,this.rebindTextures=rebindTextures,this.setupRenderTarget=setupRenderTarget,this.updateRenderTargetMipmap=updateRenderTargetMipmap,this.updateMultisampleRenderTarget=updateMultisampleRenderTarget,this.setupDepthRenderbuffer=setupDepthRenderbuffer,this.setupFrameBufferTexture=setupFrameBufferTexture,this.useMultisampledRTT=useMultisampledRTT,this.isReversedDepthBuffer=function(){return n.buffers.depth.getReversed()}}function WebGLUtils(e,t){function convert(n,r=``){let i,a=Ei.getTransfer(r);if(n===1009)return e.UNSIGNED_BYTE;if(n===1017)return e.UNSIGNED_SHORT_4_4_4_4;if(n===1018)return e.UNSIGNED_SHORT_5_5_5_1;if(n===35902)return e.UNSIGNED_INT_5_9_9_9_REV;if(n===35899)return e.UNSIGNED_INT_10F_11F_11F_REV;if(n===1010)return e.BYTE;if(n===1011)return e.SHORT;if(n===1012)return e.UNSIGNED_SHORT;if(n===1013)return e.INT;if(n===1014)return e.UNSIGNED_INT;if(n===1015)return e.FLOAT;if(n===1016)return e.HALF_FLOAT;if(n===1021)return e.ALPHA;if(n===1022)return e.RGB;if(n===1023)return e.RGBA;if(n===1026)return e.DEPTH_COMPONENT;if(n===1027)return e.DEPTH_STENCIL;if(n===1028)return e.RED;if(n===1029)return e.RED_INTEGER;if(n===1030)return e.RG;if(n===1031)return e.RG_INTEGER;if(n===1033)return e.RGBA_INTEGER;if(n===33776||n===33777||n===33778||n===33779)if(a===`srgb`)if(i=t.get(`WEBGL_compressed_texture_s3tc_srgb`),i!==null){if(n===33776)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(i=t.get(`WEBGL_compressed_texture_s3tc`),i!==null){if(n===33776)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(n===35840||n===35841||n===35842||n===35843)if(i=t.get(`WEBGL_compressed_texture_pvrtc`),i!==null){if(n===35840)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===35841)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===35842)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===35843)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(n===36196||n===37492||n===37496||n===37488||n===37489||n===37490||n===37491)if(i=t.get(`WEBGL_compressed_texture_etc`),i!==null){if(n===36196||n===37492)return a===`srgb`?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(n===37496)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC;if(n===37488)return i.COMPRESSED_R11_EAC;if(n===37489)return i.COMPRESSED_SIGNED_R11_EAC;if(n===37490)return i.COMPRESSED_RG11_EAC;if(n===37491)return i.COMPRESSED_SIGNED_RG11_EAC}else return null;if(n===37808||n===37809||n===37810||n===37811||n===37812||n===37813||n===37814||n===37815||n===37816||n===37817||n===37818||n===37819||n===37820||n===37821)if(i=t.get(`WEBGL_compressed_texture_astc`),i!==null){if(n===37808)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===37809)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===37810)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===37811)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===37812)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===37813)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===37814)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===37815)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===37816)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===37817)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===37818)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===37819)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===37820)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===37821)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(n===36492||n===36494||n===36495)if(i=t.get(`EXT_texture_compression_bptc`),i!==null){if(n===36492)return a===`srgb`?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(n===36494)return i.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(n===36495)return i.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(n===36283||n===36284||n===36285||n===36286)if(i=t.get(`EXT_texture_compression_rgtc`),i!==null){if(n===36283)return i.COMPRESSED_RED_RGTC1_EXT;if(n===36284)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===36285)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===36286)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return n===1020?e.UNSIGNED_INT_24_8:e[n]===void 0?null:e[n]}return{convert}}var WebXRDepthSensing=class{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t){if(this.texture===null){let n=new ExternalTexture(e.texture);(e.depthNear!==t.depthNear||e.depthFar!==t.depthFar)&&(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=n}}getMesh(e){if(this.texture!==null&&this.mesh===null){let t=e.cameras[0].viewport,n=new ShaderMaterial({vertexShader:`
|
|
4173
|
+
}`}),p=f.clone();p.defines.HORIZONTAL_PASS=1;let m=new $a;m.setAttribute(`position`,new BufferAttribute(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let h=new Mesh(m,f),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let _=this.type;this.render=function(t,n,s){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||t.length===0)return;this.type===2&&(warn(`WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.`),this.type=1);let c=e.getRenderTarget(),l=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),f=e.state;f.setBlending(0),f.buffers.depth.getReversed()===!0?f.buffers.color.setClear(0,0,0,0):f.buffers.color.setClear(1,1,1,1),f.buffers.depth.setTest(!0),f.setScissorTest(!1);let p=_!==this.type;p&&n.traverse(function(e){e.material&&(Array.isArray(e.material)?e.material.forEach(e=>e.needsUpdate=!0):e.material.needsUpdate=!0)});for(let c=0,l=t.length;c<l;c++){let l=t[c],d=l.shadow;if(d===void 0){warn(`WebGLShadowMap:`,l,`has no shadow.`);continue}if(d.autoUpdate===!1&&d.needsUpdate===!1)continue;i.copy(d.mapSize);let m=d.getFrameExtents();i.multiply(m),a.copy(d.mapSize),(i.x>u||i.y>u)&&(i.x>u&&(a.x=Math.floor(u/m.x),i.x=a.x*m.x,d.mapSize.x=a.x),i.y>u&&(a.y=Math.floor(u/m.y),i.y=a.y*m.y,d.mapSize.y=a.y));let h=e.state.buffers.depth.getReversed();if(d.camera._reversedDepth=h,d.map===null||p===!0){if(d.map!==null&&(d.map.depthTexture!==null&&(d.map.depthTexture.dispose(),d.map.depthTexture=null),d.map.dispose()),this.type===3){if(l.isPointLight){warn(`WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.`);continue}d.map=new WebGLRenderTarget(i.x,i.y,{format:Qr,type:Wr,minFilter:Rr,magFilter:Rr,generateMipmaps:!1}),d.map.texture.name=l.name+`.shadowMap`,d.map.depthTexture=new DepthTexture(i.x,i.y,Ur),d.map.depthTexture.name=l.name+`.shadowMapDepth`,d.map.depthTexture.format=Yr,d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=Lr,d.map.depthTexture.magFilter=Lr}else l.isPointLight?(d.map=new WebGLCubeRenderTarget(i.x),d.map.depthTexture=new CubeDepthTexture(i.x,Hr)):(d.map=new WebGLRenderTarget(i.x,i.y),d.map.depthTexture=new DepthTexture(i.x,i.y,Hr)),d.map.depthTexture.name=l.name+`.shadowMap`,d.map.depthTexture.format=Yr,this.type===1?(d.map.depthTexture.compareFunction=h?518:515,d.map.depthTexture.minFilter=Rr,d.map.depthTexture.magFilter=Rr):(d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=Lr,d.map.depthTexture.magFilter=Lr);d.camera.updateProjectionMatrix()}let g=d.map.isWebGLCubeRenderTarget?6:1;for(let t=0;t<g;t++){if(d.map.isWebGLCubeRenderTarget)e.setRenderTarget(d.map,t),e.clear();else{t===0&&(e.setRenderTarget(d.map),e.clear());let n=d.getViewport(t);o.set(a.x*n.x,a.y*n.y,a.x*n.z,a.y*n.w),f.viewport(o)}if(l.isPointLight){let e=d.camera,n=d.matrix,r=l.distance||e.far;r!==e.far&&(e.far=r,e.updateProjectionMatrix()),Ps.setFromMatrixPosition(l.matrixWorld),e.position.copy(Ps),Fs.copy(e.position),Fs.add(js[t]),e.up.copy(Ms[t]),e.lookAt(Fs),e.updateMatrixWorld(),n.makeTranslation(-Ps.x,-Ps.y,-Ps.z),Ns.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),d._frustum.setFromProjectionMatrix(Ns,e.coordinateSystem,e.reversedDepth)}else d.updateMatrices(l);r=d.getFrustum(),renderObject(n,s,d.camera,l,this.type)}d.isPointLightShadow!==!0&&this.type===3&&VSMPass(d,s),d.needsUpdate=!1}_=this.type,g.needsUpdate=!1,e.setRenderTarget(c,l,d)};function VSMPass(n,r){let a=t.update(h);f.defines.VSM_SAMPLES!==n.blurSamples&&(f.defines.VSM_SAMPLES=n.blurSamples,p.defines.VSM_SAMPLES=n.blurSamples,f.needsUpdate=!0,p.needsUpdate=!0),n.mapPass===null&&(n.mapPass=new WebGLRenderTarget(i.x,i.y,{format:Qr,type:Wr})),f.uniforms.shadow_pass.value=n.map.depthTexture,f.uniforms.resolution.value=n.mapSize,f.uniforms.radius.value=n.radius,e.setRenderTarget(n.mapPass),e.clear(),e.renderBufferDirect(r,null,a,f,h,null),p.uniforms.shadow_pass.value=n.mapPass.texture,p.uniforms.resolution.value=n.mapSize,p.uniforms.radius.value=n.radius,e.setRenderTarget(n.map),e.clear(),e.renderBufferDirect(r,null,a,p,h,null)}function getDepthMaterial(t,n,r,i){let a=null,o=r.isPointLight===!0?t.customDistanceMaterial:t.customDepthMaterial;if(o!==void 0)a=o;else if(a=r.isPointLight===!0?c:s,e.localClippingEnabled&&n.clipShadows===!0&&Array.isArray(n.clippingPlanes)&&n.clippingPlanes.length!==0||n.displacementMap&&n.displacementScale!==0||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0||n.alphaToCoverage===!0){let e=a.uuid,t=n.uuid,r=l[e];r===void 0&&(r={},l[e]=r);let i=r[t];i===void 0&&(i=a.clone(),r[t]=i,n.addEventListener(`dispose`,onMaterialDispose)),a=i}if(a.visible=n.visible,a.wireframe=n.wireframe,i===3?a.side=n.shadowSide===null?n.side:n.shadowSide:a.side=n.shadowSide===null?d[n.side]:n.shadowSide,a.alphaMap=n.alphaMap,a.alphaTest=n.alphaToCoverage===!0?.5:n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,r.isPointLight===!0&&a.isMeshDistanceMaterial===!0){let t=e.properties.get(a);t.light=r}return a}function renderObject(n,i,a,o,s){if(n.visible===!1)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&s===3)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);let r=t.update(n),c=n.material;if(Array.isArray(c)){let t=r.groups;for(let l=0,u=t.length;l<u;l++){let u=t[l],d=c[u.materialIndex];if(d&&d.visible){let t=getDepthMaterial(n,d,o,s);n.onBeforeShadow(e,n,i,a,r,t,u),e.renderBufferDirect(a,null,r,t,n,u),n.onAfterShadow(e,n,i,a,r,t,u)}}}else if(c.visible){let t=getDepthMaterial(n,c,o,s);n.onBeforeShadow(e,n,i,a,r,t,null),e.renderBufferDirect(a,null,r,t,n,null),n.onAfterShadow(e,n,i,a,r,t,null)}}let c=n.children;for(let e=0,t=c.length;e<t;e++)renderObject(c[e],i,a,o,s)}function onMaterialDispose(e){e.target.removeEventListener(`dispose`,onMaterialDispose);for(let t in l){let n=l[t],r=e.target.uuid;r in n&&(n[r].dispose(),delete n[r])}}}function WebGLState(e,t){function ColorBuffer(){let t=!1,n=new Pi,r=null,i=new Pi(0,0,0,0);return{setMask:function(n){r!==n&&!t&&(e.colorMask(n,n,n,n),r=n)},setLocked:function(e){t=e},setClear:function(t,r,a,o,s){s===!0&&(t*=o,r*=o,a*=o),n.set(t,r,a,o),i.equals(n)===!1&&(e.clearColor(t,r,a,o),i.copy(n))},reset:function(){t=!1,r=null,i.set(-1,0,0,0)}}}function DepthBuffer(){let n=!1,r=!1,i=null,a=null,o=null;return{setReversed:function(e){if(r!==e){let n=t.get(`EXT_clip_control`);e?n.clipControlEXT(n.LOWER_LEFT_EXT,n.ZERO_TO_ONE_EXT):n.clipControlEXT(n.LOWER_LEFT_EXT,n.NEGATIVE_ONE_TO_ONE_EXT),r=e;let i=o;o=null,this.setClear(i)}},getReversed:function(){return r},setTest:function(t){t?enable(e.DEPTH_TEST):disable(e.DEPTH_TEST)},setMask:function(t){i!==t&&!n&&(e.depthMask(t),i=t)},setFunc:function(t){if(r&&(t=hi[t]),a!==t){switch(t){case 0:e.depthFunc(e.NEVER);break;case 1:e.depthFunc(e.ALWAYS);break;case 2:e.depthFunc(e.LESS);break;case 3:e.depthFunc(e.LEQUAL);break;case 4:e.depthFunc(e.EQUAL);break;case 5:e.depthFunc(e.GEQUAL);break;case 6:e.depthFunc(e.GREATER);break;case 7:e.depthFunc(e.NOTEQUAL);break;default:e.depthFunc(e.LEQUAL)}a=t}},setLocked:function(e){n=e},setClear:function(t){o!==t&&(o=t,r&&(t=1-t),e.clearDepth(t))},reset:function(){n=!1,i=null,a=null,o=null,r=!1}}}function StencilBuffer(){let t=!1,n=null,r=null,i=null,a=null,o=null,s=null,c=null,l=null;return{setTest:function(n){t||(n?enable(e.STENCIL_TEST):disable(e.STENCIL_TEST))},setMask:function(r){n!==r&&!t&&(e.stencilMask(r),n=r)},setFunc:function(t,n,o){(r!==t||i!==n||a!==o)&&(e.stencilFunc(t,n,o),r=t,i=n,a=o)},setOp:function(t,n,r){(o!==t||s!==n||c!==r)&&(e.stencilOp(t,n,r),o=t,s=n,c=r)},setLocked:function(e){t=e},setClear:function(t){l!==t&&(e.clearStencil(t),l=t)},reset:function(){t=!1,n=null,r=null,i=null,a=null,o=null,s=null,c=null,l=null}}}let n=new ColorBuffer,r=new DepthBuffer,i=new StencilBuffer,a=new WeakMap,o=new WeakMap,s={},c={},l={},u=new WeakMap,d=[],f=null,p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=null,x=new Color(0,0,0),S=0,C=!1,w=null,T=null,E=null,D=null,O=null,ee=e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS),te=!1,ne=0,k=e.getParameter(e.VERSION);k.indexOf(`WebGL`)===-1?k.indexOf(`OpenGL ES`)!==-1&&(ne=parseFloat(/^OpenGL ES (\d)/.exec(k)[1]),te=ne>=2):(ne=parseFloat(/^WebGL (\d)/.exec(k)[1]),te=ne>=1);let A=null,re={},ie=e.getParameter(e.SCISSOR_BOX),ae=e.getParameter(e.VIEWPORT),oe=new Pi().fromArray(ie),se=new Pi().fromArray(ae);function createTexture(t,n,r,i){let a=new Uint8Array(4),o=e.createTexture();e.bindTexture(t,o),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let o=0;o<r;o++)t===e.TEXTURE_3D||t===e.TEXTURE_2D_ARRAY?e.texImage3D(n,0,e.RGBA,1,1,i,0,e.RGBA,e.UNSIGNED_BYTE,a):e.texImage2D(n+o,0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,a);return o}let ce={};ce[e.TEXTURE_2D]=createTexture(e.TEXTURE_2D,e.TEXTURE_2D,1),ce[e.TEXTURE_CUBE_MAP]=createTexture(e.TEXTURE_CUBE_MAP,e.TEXTURE_CUBE_MAP_POSITIVE_X,6),ce[e.TEXTURE_2D_ARRAY]=createTexture(e.TEXTURE_2D_ARRAY,e.TEXTURE_2D_ARRAY,1,1),ce[e.TEXTURE_3D]=createTexture(e.TEXTURE_3D,e.TEXTURE_3D,1,1),n.setClear(0,0,0,1),r.setClear(1),i.setClear(0),enable(e.DEPTH_TEST),r.setFunc(3),setFlipSided(!1),setCullFace(1),enable(e.CULL_FACE),setBlending(0);function enable(t){s[t]!==!0&&(e.enable(t),s[t]=!0)}function disable(t){s[t]!==!1&&(e.disable(t),s[t]=!1)}function bindFramebuffer(t,n){return l[t]===n?!1:(e.bindFramebuffer(t,n),l[t]=n,t===e.DRAW_FRAMEBUFFER&&(l[e.FRAMEBUFFER]=n),t===e.FRAMEBUFFER&&(l[e.DRAW_FRAMEBUFFER]=n),!0)}function drawBuffers(t,n){let r=d,i=!1;if(t){r=u.get(n),r===void 0&&(r=[],u.set(n,r));let a=t.textures;if(r.length!==a.length||r[0]!==e.COLOR_ATTACHMENT0){for(let t=0,n=a.length;t<n;t++)r[t]=e.COLOR_ATTACHMENT0+t;r.length=a.length,i=!0}}else r[0]!==e.BACK&&(r[0]=e.BACK,i=!0);i&&e.drawBuffers(r)}function useProgram(t){return f===t?!1:(e.useProgram(t),f=t,!0)}let le={100:e.FUNC_ADD,101:e.FUNC_SUBTRACT,102:e.FUNC_REVERSE_SUBTRACT};le[103]=e.MIN,le[104]=e.MAX;let ue={200:e.ZERO,201:e.ONE,202:e.SRC_COLOR,204:e.SRC_ALPHA,210:e.SRC_ALPHA_SATURATE,208:e.DST_COLOR,206:e.DST_ALPHA,203:e.ONE_MINUS_SRC_COLOR,205:e.ONE_MINUS_SRC_ALPHA,209:e.ONE_MINUS_DST_COLOR,207:e.ONE_MINUS_DST_ALPHA,211:e.CONSTANT_COLOR,212:e.ONE_MINUS_CONSTANT_COLOR,213:e.CONSTANT_ALPHA,214:e.ONE_MINUS_CONSTANT_ALPHA};function setBlending(t,n,r,i,a,o,s,c,l,u){if(t===0){p===!0&&(disable(e.BLEND),p=!1);return}if(p===!1&&(enable(e.BLEND),p=!0),t!==5){if(t!==m||u!==C){if((h!==100||v!==100)&&(e.blendEquation(e.FUNC_ADD),h=100,v=100),u)switch(t){case 1:e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFunc(e.ONE,e.ONE);break;case 3:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case 4:e.blendFuncSeparate(e.DST_COLOR,e.ONE_MINUS_SRC_ALPHA,e.ZERO,e.ONE);break;default:error(`WebGLState: Invalid blending: `,t);break}else switch(t){case 1:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE,e.ONE,e.ONE);break;case 3:error(`WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true`);break;case 4:error(`WebGLState: MultiplyBlending requires material.premultipliedAlpha = true`);break;default:error(`WebGLState: Invalid blending: `,t);break}g=null,_=null,y=null,b=null,x.set(0,0,0),S=0,m=t,C=u}return}a||=n,o||=r,s||=i,(n!==h||a!==v)&&(e.blendEquationSeparate(le[n],le[a]),h=n,v=a),(r!==g||i!==_||o!==y||s!==b)&&(e.blendFuncSeparate(ue[r],ue[i],ue[o],ue[s]),g=r,_=i,y=o,b=s),(c.equals(x)===!1||l!==S)&&(e.blendColor(c.r,c.g,c.b,l),x.copy(c),S=l),m=t,C=!1}function setMaterial(t,a){t.side===2?disable(e.CULL_FACE):enable(e.CULL_FACE);let o=t.side===1;a&&(o=!o),setFlipSided(o),t.blending===1&&t.transparent===!1?setBlending(0):setBlending(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.blendColor,t.blendAlpha,t.premultipliedAlpha),r.setFunc(t.depthFunc),r.setTest(t.depthTest),r.setMask(t.depthWrite),n.setMask(t.colorWrite);let s=t.stencilWrite;i.setTest(s),s&&(i.setMask(t.stencilWriteMask),i.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),i.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),setPolygonOffset(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),t.alphaToCoverage===!0?enable(e.SAMPLE_ALPHA_TO_COVERAGE):disable(e.SAMPLE_ALPHA_TO_COVERAGE)}function setFlipSided(t){w!==t&&(t?e.frontFace(e.CW):e.frontFace(e.CCW),w=t)}function setCullFace(t){t===0?disable(e.CULL_FACE):(enable(e.CULL_FACE),t!==T&&(t===1?e.cullFace(e.BACK):t===2?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))),T=t}function setLineWidth(t){t!==E&&(te&&e.lineWidth(t),E=t)}function setPolygonOffset(t,n,i){t?(enable(e.POLYGON_OFFSET_FILL),(D!==n||O!==i)&&(D=n,O=i,r.getReversed()&&(n=-n),e.polygonOffset(n,i))):disable(e.POLYGON_OFFSET_FILL)}function setScissorTest(t){t?enable(e.SCISSOR_TEST):disable(e.SCISSOR_TEST)}function activeTexture(t){t===void 0&&(t=e.TEXTURE0+ee-1),A!==t&&(e.activeTexture(t),A=t)}function bindTexture(t,n,r){r===void 0&&(r=A===null?e.TEXTURE0+ee-1:A);let i=re[r];i===void 0&&(i={type:void 0,texture:void 0},re[r]=i),(i.type!==t||i.texture!==n)&&(A!==r&&(e.activeTexture(r),A=r),e.bindTexture(t,n||ce[t]),i.type=t,i.texture=n)}function unbindTexture(){let t=re[A];t!==void 0&&t.type!==void 0&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)}function compressedTexImage2D(){try{e.compressedTexImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexImage3D(){try{e.compressedTexImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texSubImage2D(){try{e.texSubImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texSubImage3D(){try{e.texSubImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexSubImage2D(){try{e.compressedTexSubImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function compressedTexSubImage3D(){try{e.compressedTexSubImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texStorage2D(){try{e.texStorage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texStorage3D(){try{e.texStorage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texImage2D(){try{e.texImage2D(...arguments)}catch(e){error(`WebGLState:`,e)}}function texImage3D(){try{e.texImage3D(...arguments)}catch(e){error(`WebGLState:`,e)}}function getParameter(t){return c[t]===void 0?e.getParameter(t):c[t]}function pixelStorei(t,n){c[t]!==n&&(e.pixelStorei(t,n),c[t]=n)}function scissor(t){oe.equals(t)===!1&&(e.scissor(t.x,t.y,t.z,t.w),oe.copy(t))}function viewport(t){se.equals(t)===!1&&(e.viewport(t.x,t.y,t.z,t.w),se.copy(t))}function updateUBOMapping(t,n){let r=o.get(n);r===void 0&&(r=new WeakMap,o.set(n,r));let i=r.get(t);i===void 0&&(i=e.getUniformBlockIndex(n,t.name),r.set(t,i))}function uniformBlockBinding(t,n){let r=o.get(n).get(t);a.get(n)!==r&&(e.uniformBlockBinding(n,r,t.__bindingPointIndex),a.set(n,r))}function reset(){e.disable(e.BLEND),e.disable(e.CULL_FACE),e.disable(e.DEPTH_TEST),e.disable(e.POLYGON_OFFSET_FILL),e.disable(e.SCISSOR_TEST),e.disable(e.STENCIL_TEST),e.disable(e.SAMPLE_ALPHA_TO_COVERAGE),e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ZERO),e.blendFuncSeparate(e.ONE,e.ZERO,e.ONE,e.ZERO),e.blendColor(0,0,0,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(e.LESS),r.setReversed(!1),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(e.ALWAYS,0,4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP),e.clearStencil(0),e.cullFace(e.BACK),e.frontFace(e.CCW),e.polygonOffset(0,0),e.activeTexture(e.TEXTURE0),e.bindFramebuffer(e.FRAMEBUFFER,null),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),e.bindFramebuffer(e.READ_FRAMEBUFFER,null),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),e.pixelStorei(e.PACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,e.BROWSER_DEFAULT_WEBGL),e.pixelStorei(e.PACK_ROW_LENGTH,0),e.pixelStorei(e.PACK_SKIP_PIXELS,0),e.pixelStorei(e.PACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_ROW_LENGTH,0),e.pixelStorei(e.UNPACK_IMAGE_HEIGHT,0),e.pixelStorei(e.UNPACK_SKIP_PIXELS,0),e.pixelStorei(e.UNPACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_SKIP_IMAGES,0),s={},c={},A=null,re={},l={},u=new WeakMap,d=[],f=null,p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=null,x=new Color(0,0,0),S=0,C=!1,w=null,T=null,E=null,D=null,O=null,oe.set(0,0,e.canvas.width,e.canvas.height),se.set(0,0,e.canvas.width,e.canvas.height),n.reset(),r.reset(),i.reset()}return{buffers:{color:n,depth:r,stencil:i},enable,disable,bindFramebuffer,drawBuffers,useProgram,setBlending,setMaterial,setFlipSided,setCullFace,setLineWidth,setPolygonOffset,setScissorTest,activeTexture,bindTexture,unbindTexture,compressedTexImage2D,compressedTexImage3D,texImage2D,texImage3D,pixelStorei,getParameter,updateUBOMapping,uniformBlockBinding,texStorage2D,texStorage3D,texSubImage2D,texSubImage3D,compressedTexSubImage2D,compressedTexSubImage3D,scissor,viewport,reset}}function WebGLTextures(e,t,n,r,i,a,o){let s=t.has(`WEBGL_multisampled_render_to_texture`)?t.get(`WEBGL_multisampled_render_to_texture`):null,c=typeof navigator>`u`?!1:/OculusBrowser/g.test(navigator.userAgent),l=new xi,u=new WeakMap,d=new Set,f,p=new WeakMap,m=!1;try{m=typeof OffscreenCanvas<`u`&&new OffscreenCanvas(1,1).getContext(`2d`)!==null}catch{}function createCanvas(e,t){return m?new OffscreenCanvas(e,t):createElementNS(`canvas`)}function resizeImage(e,t,n){let r=1,i=getDimensions(e);if((i.width>n||i.height>n)&&(r=n/Math.max(i.width,i.height)),r<1)if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap||typeof VideoFrame<`u`&&e instanceof VideoFrame){let n=Math.floor(r*i.width),a=Math.floor(r*i.height);f===void 0&&(f=createCanvas(n,a));let o=t?createCanvas(n,a):f;return o.width=n,o.height=a,o.getContext(`2d`).drawImage(e,0,0,n,a),warn(`WebGLRenderer: Texture has been resized from (`+i.width+`x`+i.height+`) to (`+n+`x`+a+`).`),o}else return`data`in e&&warn(`WebGLRenderer: Image in DataTexture is too big (`+i.width+`x`+i.height+`).`),e;return e}function textureNeedsGenerateMipmaps(e){return e.generateMipmaps}function generateMipmap(t){e.generateMipmap(t)}function getTargetType(t){return t.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:t.isWebGL3DRenderTarget?e.TEXTURE_3D:t.isWebGLArrayRenderTarget||t.isCompressedArrayTexture?e.TEXTURE_2D_ARRAY:e.TEXTURE_2D}function getInternalFormat(n,r,i,a,o,s=!1){if(n!==null){if(e[n]!==void 0)return e[n];warn(`WebGLRenderer: Attempt to use non-existing WebGL internal format '`+n+`'`)}let c;a&&(c=t.get(`EXT_texture_norm16`),c||warn(`WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension`));let l=r;if(r===e.RED&&(i===e.FLOAT&&(l=e.R32F),i===e.HALF_FLOAT&&(l=e.R16F),i===e.UNSIGNED_BYTE&&(l=e.R8),i===e.UNSIGNED_SHORT&&c&&(l=c.R16_EXT),i===e.SHORT&&c&&(l=c.R16_SNORM_EXT)),r===e.RED_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.R8UI),i===e.UNSIGNED_SHORT&&(l=e.R16UI),i===e.UNSIGNED_INT&&(l=e.R32UI),i===e.BYTE&&(l=e.R8I),i===e.SHORT&&(l=e.R16I),i===e.INT&&(l=e.R32I)),r===e.RG&&(i===e.FLOAT&&(l=e.RG32F),i===e.HALF_FLOAT&&(l=e.RG16F),i===e.UNSIGNED_BYTE&&(l=e.RG8),i===e.UNSIGNED_SHORT&&c&&(l=c.RG16_EXT),i===e.SHORT&&c&&(l=c.RG16_SNORM_EXT)),r===e.RG_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RG8UI),i===e.UNSIGNED_SHORT&&(l=e.RG16UI),i===e.UNSIGNED_INT&&(l=e.RG32UI),i===e.BYTE&&(l=e.RG8I),i===e.SHORT&&(l=e.RG16I),i===e.INT&&(l=e.RG32I)),r===e.RGB_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGB8UI),i===e.UNSIGNED_SHORT&&(l=e.RGB16UI),i===e.UNSIGNED_INT&&(l=e.RGB32UI),i===e.BYTE&&(l=e.RGB8I),i===e.SHORT&&(l=e.RGB16I),i===e.INT&&(l=e.RGB32I)),r===e.RGBA_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGBA8UI),i===e.UNSIGNED_SHORT&&(l=e.RGBA16UI),i===e.UNSIGNED_INT&&(l=e.RGBA32UI),i===e.BYTE&&(l=e.RGBA8I),i===e.SHORT&&(l=e.RGBA16I),i===e.INT&&(l=e.RGBA32I)),r===e.RGB&&(i===e.UNSIGNED_SHORT&&c&&(l=c.RGB16_EXT),i===e.SHORT&&c&&(l=c.RGB16_SNORM_EXT),i===e.UNSIGNED_INT_5_9_9_9_REV&&(l=e.RGB9_E5),i===e.UNSIGNED_INT_10F_11F_11F_REV&&(l=e.R11F_G11F_B10F)),r===e.RGBA){let t=s?ui:Oi.getTransfer(o);i===e.FLOAT&&(l=e.RGBA32F),i===e.HALF_FLOAT&&(l=e.RGBA16F),i===e.UNSIGNED_BYTE&&(l=t===`srgb`?e.SRGB8_ALPHA8:e.RGBA8),i===e.UNSIGNED_SHORT&&c&&(l=c.RGBA16_EXT),i===e.SHORT&&c&&(l=c.RGBA16_SNORM_EXT),i===e.UNSIGNED_SHORT_4_4_4_4&&(l=e.RGBA4),i===e.UNSIGNED_SHORT_5_5_5_1&&(l=e.RGB5_A1)}return(l===e.R16F||l===e.R32F||l===e.RG16F||l===e.RG32F||l===e.RGBA16F||l===e.RGBA32F)&&t.get(`EXT_color_buffer_float`),l}function getInternalDepthFormat(t,n){let r;return t?n===null||n===1014||n===1020?r=e.DEPTH24_STENCIL8:n===1015?r=e.DEPTH32F_STENCIL8:n===1012&&(r=e.DEPTH24_STENCIL8,warn(`DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.`)):n===null||n===1014||n===1020?r=e.DEPTH_COMPONENT24:n===1015?r=e.DEPTH_COMPONENT32F:n===1012&&(r=e.DEPTH_COMPONENT16),r}function getMipLevels(e,t){return textureNeedsGenerateMipmaps(e)===!0||e.isFramebufferTexture&&e.minFilter!==1003&&e.minFilter!==1006?Math.log2(Math.max(t.width,t.height))+1:e.mipmaps!==void 0&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function onTextureDispose(e){let t=e.target;t.removeEventListener(`dispose`,onTextureDispose),deallocateTexture(t),t.isVideoTexture&&u.delete(t),t.isHTMLTexture&&d.delete(t)}function onRenderTargetDispose(e){let t=e.target;t.removeEventListener(`dispose`,onRenderTargetDispose),deallocateRenderTarget(t)}function deallocateTexture(e){let t=r.get(e);if(t.__webglInit===void 0)return;let n=e.source,i=p.get(n);if(i){let r=i[t.__cacheKey];r.usedTimes--,r.usedTimes===0&&deleteTexture(e),Object.keys(i).length===0&&p.delete(n)}r.remove(e)}function deleteTexture(t){let n=r.get(t);e.deleteTexture(n.__webglTexture);let i=t.source,a=p.get(i);delete a[n.__cacheKey],o.memory.textures--}function deallocateRenderTarget(t){let n=r.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),r.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let r=0;r<n.__webglFramebuffer[t].length;r++)e.deleteFramebuffer(n.__webglFramebuffer[t][r]);else e.deleteFramebuffer(n.__webglFramebuffer[t]);n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer[t])}else{if(Array.isArray(n.__webglFramebuffer))for(let t=0;t<n.__webglFramebuffer.length;t++)e.deleteFramebuffer(n.__webglFramebuffer[t]);else e.deleteFramebuffer(n.__webglFramebuffer);if(n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer),n.__webglMultisampledFramebuffer&&e.deleteFramebuffer(n.__webglMultisampledFramebuffer),n.__webglColorRenderbuffer)for(let t=0;t<n.__webglColorRenderbuffer.length;t++)n.__webglColorRenderbuffer[t]&&e.deleteRenderbuffer(n.__webglColorRenderbuffer[t]);n.__webglDepthRenderbuffer&&e.deleteRenderbuffer(n.__webglDepthRenderbuffer)}let i=t.textures;for(let t=0,n=i.length;t<n;t++){let n=r.get(i[t]);n.__webglTexture&&(e.deleteTexture(n.__webglTexture),o.memory.textures--),r.remove(i[t])}r.remove(t)}let h=0;function resetTextureUnits(){h=0}function getTextureUnits(){return h}function setTextureUnits(e){h=e}function allocateTextureUnit(){let e=h;return e>=i.maxTextures&&warn(`WebGLTextures: Trying to use `+e+` texture units while this GPU supports only `+i.maxTextures),h+=1,e}function getTextureCacheKey(e){let t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.colorSpace),t.join()}function setTexture2D(t,i){let a=r.get(t);if(t.isVideoTexture&&updateVideoTexture(t),t.isRenderTargetTexture===!1&&t.isExternalTexture!==!0&&t.version>0&&a.__version!==t.version){let e=t.image;if(e===null)warn(`WebGLRenderer: Texture marked for update but no image data found.`);else if(e.complete===!1)warn(`WebGLRenderer: Texture marked for update but image is incomplete`);else{uploadTexture(a,t,i);return}}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D,a.__webglTexture,e.TEXTURE0+i)}function setTexture2DArray(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){uploadTexture(a,t,i);return}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+i)}function setTexture3D(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){uploadTexture(a,t,i);return}n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+i)}function setTextureCube(t,i){let a=r.get(t);if(t.isCubeDepthTexture!==!0&&t.version>0&&a.__version!==t.version){uploadCubeTexture(a,t,i);return}n.bindTexture(e.TEXTURE_CUBE_MAP,a.__webglTexture,e.TEXTURE0+i)}let g={[Pr]:e.REPEAT,[Fr]:e.CLAMP_TO_EDGE,[Ir]:e.MIRRORED_REPEAT},_={[Lr]:e.NEAREST,1004:e.NEAREST_MIPMAP_NEAREST,1005:e.NEAREST_MIPMAP_LINEAR,[Rr]:e.LINEAR,1007:e.LINEAR_MIPMAP_NEAREST,[zr]:e.LINEAR_MIPMAP_LINEAR},v={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function setTextureParameters(n,a){if(a.type===1015&&t.has(`OES_texture_float_linear`)===!1&&(a.magFilter===1006||a.magFilter===1007||a.magFilter===1005||a.magFilter===1008||a.minFilter===1006||a.minFilter===1007||a.minFilter===1005||a.minFilter===1008)&&warn(`WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device.`),e.texParameteri(n,e.TEXTURE_WRAP_S,g[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,g[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,g[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,_[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,_[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,v[a.compareFunction])),t.has(`EXT_texture_filter_anisotropic`)===!0){if(a.magFilter===1003||a.minFilter!==1005&&a.minFilter!==1008||a.type===1015&&t.has(`OES_texture_float_linear`)===!1)return;if(a.anisotropy>1||r.get(a).__currentAnisotropy){let o=t.get(`EXT_texture_filter_anisotropic`);e.texParameterf(n,o.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,i.getMaxAnisotropy())),r.get(a).__currentAnisotropy=a.anisotropy}}}function initTexture(t,n){let r=!1;t.__webglInit===void 0&&(t.__webglInit=!0,n.addEventListener(`dispose`,onTextureDispose));let i=n.source,a=p.get(i);a===void 0&&(a={},p.set(i,a));let s=getTextureCacheKey(n);if(s!==t.__cacheKey){a[s]===void 0&&(a[s]={texture:e.createTexture(),usedTimes:0},o.memory.textures++,r=!0),a[s].usedTimes++;let i=a[t.__cacheKey];i!==void 0&&(a[t.__cacheKey].usedTimes--,i.usedTimes===0&&deleteTexture(n)),t.__cacheKey=s,t.__webglTexture=a[s].texture}return r}function getRow(e,t,n){return Math.floor(Math.floor(e/n)/t)}function updateTexture(t,r,i,a){let o=t.updateRanges;if(o.length===0)n.texSubImage2D(e.TEXTURE_2D,0,0,0,r.width,r.height,i,a,r.data);else{o.sort((e,t)=>e.start-t.start);let s=0;for(let e=1;e<o.length;e++){let t=o[s],n=o[e],i=t.start+t.count,a=getRow(n.start,r.width,4),c=getRow(t.start,r.width,4);n.start<=i+1&&a===c&&getRow(n.start+n.count-1,r.width,4)===a?t.count=Math.max(t.count,n.start+n.count-t.start):(++s,o[s]=n)}o.length=s+1;let c=n.getParameter(e.UNPACK_ROW_LENGTH),l=n.getParameter(e.UNPACK_SKIP_PIXELS),u=n.getParameter(e.UNPACK_SKIP_ROWS);n.pixelStorei(e.UNPACK_ROW_LENGTH,r.width);for(let t=0,s=o.length;t<s;t++){let s=o[t],c=Math.floor(s.start/4),l=Math.ceil(s.count/4),u=c%r.width,d=Math.floor(c/r.width),f=l;n.pixelStorei(e.UNPACK_SKIP_PIXELS,u),n.pixelStorei(e.UNPACK_SKIP_ROWS,d),n.texSubImage2D(e.TEXTURE_2D,0,u,d,f,1,i,a,r.data)}t.clearUpdateRanges(),n.pixelStorei(e.UNPACK_ROW_LENGTH,c),n.pixelStorei(e.UNPACK_SKIP_PIXELS,l),n.pixelStorei(e.UNPACK_SKIP_ROWS,u)}}function uploadTexture(t,o,s){let c=e.TEXTURE_2D;(o.isDataArrayTexture||o.isCompressedArrayTexture)&&(c=e.TEXTURE_2D_ARRAY),o.isData3DTexture&&(c=e.TEXTURE_3D);let l=initTexture(t,o),u=o.source;n.bindTexture(c,t.__webglTexture,e.TEXTURE0+s);let f=r.get(u);if(u.version!==f.__version||l===!0){if(n.activeTexture(e.TEXTURE0+s),!(typeof ImageBitmap<`u`&&o.image instanceof ImageBitmap)){let t=Oi.getPrimaries(Oi.workingColorSpace),r=o.colorSpace===``?null:Oi.getPrimaries(o.colorSpace),i=o.colorSpace===``||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;n.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),n.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),n.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,i)}n.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment);let t=resizeImage(o.image,!1,i.maxTextureSize);t=verifyColorSpace(o,t);let r=a.convert(o.format,o.colorSpace),p=a.convert(o.type),m=getInternalFormat(o.internalFormat,r,p,o.normalized,o.colorSpace,o.isVideoTexture);setTextureParameters(c,o);let h,g=o.mipmaps,_=o.isVideoTexture!==!0,v=f.__version===void 0||l===!0,y=u.dataReady,b=getMipLevels(o,t);if(o.isDepthTexture)m=getInternalDepthFormat(o.format===Xr,o.type),v&&(_?n.texStorage2D(e.TEXTURE_2D,1,m,t.width,t.height):n.texImage2D(e.TEXTURE_2D,0,m,t.width,t.height,0,r,p,null));else if(o.isDataTexture)if(g.length>0){_&&v&&n.texStorage2D(e.TEXTURE_2D,b,m,g[0].width,g[0].height);for(let t=0,i=g.length;t<i;t++)h=g[t],_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,p,h.data):n.texImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,r,p,h.data);o.generateMipmaps=!1}else _?(v&&n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height),y&&updateTexture(o,t,r,p)):n.texImage2D(e.TEXTURE_2D,0,m,t.width,t.height,0,r,p,t.data);else if(o.isCompressedTexture)if(o.isCompressedArrayTexture){_&&v&&n.texStorage3D(e.TEXTURE_2D_ARRAY,b,m,g[0].width,g[0].height,t.depth);for(let i=0,a=g.length;i<a;i++)if(h=g[i],o.format!==1023)if(r!==null)if(_){if(y)if(o.layerUpdates.size>0){let t=getByteLength(h.width,h.height,o.format,o.type);for(let a of o.layerUpdates){let o=h.data.subarray(a*t/h.data.BYTES_PER_ELEMENT,(a+1)*t/h.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,h.width,h.height,1,r,o)}o.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,h.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,h.data,0,0);else warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()`);else _?y&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,p,h.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,r,p,h.data)}else{_&&v&&n.texStorage2D(e.TEXTURE_2D,b,m,g[0].width,g[0].height);for(let t=0,i=g.length;t<i;t++)h=g[t],o.format===1023?_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,p,h.data):n.texImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,r,p,h.data):r===null?warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()`):_?y&&n.compressedTexSubImage2D(e.TEXTURE_2D,t,0,0,h.width,h.height,r,h.data):n.compressedTexImage2D(e.TEXTURE_2D,t,m,h.width,h.height,0,h.data)}else if(o.isDataArrayTexture)if(_){if(v&&n.texStorage3D(e.TEXTURE_2D_ARRAY,b,m,t.width,t.height,t.depth),y)if(o.layerUpdates.size>0){let i=getByteLength(t.width,t.height,o.format,o.type);for(let a of o.layerUpdates){let o=t.data.subarray(a*i/t.data.BYTES_PER_ELEMENT,(a+1)*i/t.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,a,t.width,t.height,1,r,p,o)}o.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isData3DTexture)_?(v&&n.texStorage3D(e.TEXTURE_3D,b,m,t.width,t.height,t.depth),y&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)):n.texImage3D(e.TEXTURE_3D,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isFramebufferTexture){if(v)if(_)n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height);else{let i=t.width,a=t.height;for(let t=0;t<b;t++)n.texImage2D(e.TEXTURE_2D,t,m,i,a,0,r,p,null),i>>=1,a>>=1}}else if(o.isHTMLTexture){if(`texElementImage2D`in e){let n=e.canvas;if(n.hasAttribute(`layoutsubtree`)||n.setAttribute(`layoutsubtree`,`true`),t.parentNode!==n){n.appendChild(t),d.add(o),n.onpaint=e=>{let t=e.changedElements;for(let e of d)t.includes(e.image)&&(e.needsUpdate=!0)},n.requestPaint();return}if(e.texElementImage2D.length===3)e.texElementImage2D(e.TEXTURE_2D,e.RGBA8,t);else{let n=e.RGBA,r=e.RGBA,i=e.UNSIGNED_BYTE;e.texElementImage2D(e.TEXTURE_2D,0,n,r,i,t)}e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE)}}else if(g.length>0){if(_&&v){let t=getDimensions(g[0]);n.texStorage2D(e.TEXTURE_2D,b,m,t.width,t.height)}for(let t=0,i=g.length;t<i;t++)h=g[t],_?y&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,r,p,h):n.texImage2D(e.TEXTURE_2D,t,m,r,p,h);o.generateMipmaps=!1}else if(_){if(v){let r=getDimensions(t);n.texStorage2D(e.TEXTURE_2D,b,m,r.width,r.height)}y&&n.texSubImage2D(e.TEXTURE_2D,0,0,0,r,p,t)}else n.texImage2D(e.TEXTURE_2D,0,m,r,p,t);textureNeedsGenerateMipmaps(o)&&generateMipmap(c),f.__version=u.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}function uploadCubeTexture(t,o,s){if(o.image.length!==6)return;let c=initTexture(t,o),l=o.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+s);let u=r.get(l);if(l.version!==u.__version||c===!0){n.activeTexture(e.TEXTURE0+s);let t=Oi.getPrimaries(Oi.workingColorSpace),r=o.colorSpace===``?null:Oi.getPrimaries(o.colorSpace),d=o.colorSpace===``||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;n.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),n.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),n.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment),n.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let f=o.isCompressedTexture||o.image[0].isCompressedTexture,p=o.image[0]&&o.image[0].isDataTexture,m=[];for(let e=0;e<6;e++)!f&&!p?m[e]=resizeImage(o.image[e],!0,i.maxCubemapSize):m[e]=p?o.image[e].image:o.image[e],m[e]=verifyColorSpace(o,m[e]);let h=m[0],g=a.convert(o.format,o.colorSpace),_=a.convert(o.type),v=getInternalFormat(o.internalFormat,g,_,o.normalized,o.colorSpace),y=o.isVideoTexture!==!0,b=u.__version===void 0||c===!0,x=l.dataReady,S=getMipLevels(o,h);setTextureParameters(e.TEXTURE_CUBE_MAP,o);let C;if(f){y&&b&&n.texStorage2D(e.TEXTURE_CUBE_MAP,S,v,h.width,h.height);for(let t=0;t<6;t++){C=m[t].mipmaps;for(let r=0;r<C.length;r++){let i=C[r];o.format===1023?y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,g,_,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,v,i.width,i.height,0,g,_,i.data):g===null?warn(`WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()`):y?x&&n.compressedTexSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,g,i.data):n.compressedTexImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,v,i.width,i.height,0,i.data)}}}else{if(C=o.mipmaps,y&&b){C.length>0&&S++;let t=getDimensions(m[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,S,v,t.width,t.height)}for(let t=0;t<6;t++)if(p){y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,m[t].width,m[t].height,g,_,m[t].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,v,m[t].width,m[t].height,0,g,_,m[t].data);for(let r=0;r<C.length;r++){let i=C[r].image[t].image;y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,i.width,i.height,g,_,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,v,i.width,i.height,0,g,_,i.data)}}else{y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,g,_,m[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,v,g,_,m[t]);for(let r=0;r<C.length;r++){let i=C[r];y?x&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,g,_,i.image[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,v,g,_,i.image[t])}}}textureNeedsGenerateMipmaps(o)&&generateMipmap(e.TEXTURE_CUBE_MAP),u.__version=l.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}function setupFrameBufferTexture(t,i,o,c,l,u){let d=a.convert(o.format,o.colorSpace),f=a.convert(o.type),p=getInternalFormat(o.internalFormat,d,f,o.normalized,o.colorSpace),m=r.get(i),h=r.get(o);if(h.__renderTarget=i,!m.__hasExternalTextures){let t=Math.max(1,i.width>>u),r=Math.max(1,i.height>>u);l===e.TEXTURE_3D||l===e.TEXTURE_2D_ARRAY?n.texImage3D(l,u,p,t,r,i.depth,0,d,f,null):n.texImage2D(l,u,p,t,r,0,d,f,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,c,l,h.__webglTexture,0,getRenderTargetSamples(i)):(l===e.TEXTURE_2D||l>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&l<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,c,l,h.__webglTexture,u),n.bindFramebuffer(e.FRAMEBUFFER,null)}function setupRenderBufferStorage(t,n,r){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let i=n.depthTexture,a=i&&i.isDepthTexture?i.type:null,o=getInternalDepthFormat(n.stencilBuffer,a),c=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;useMultisampledRTT(n)?s.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,getRenderTargetSamples(n),o,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,getRenderTargetSamples(n),o,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,o,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,c,e.RENDERBUFFER,t)}else{let t=n.textures;for(let i=0;i<t.length;i++){let o=t[i],c=a.convert(o.format,o.colorSpace),l=a.convert(o.type),u=getInternalFormat(o.internalFormat,c,l,o.normalized,o.colorSpace);useMultisampledRTT(n)?s.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,getRenderTargetSamples(n),u,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,getRenderTargetSamples(n),u,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,u,n.width,n.height)}}e.bindRenderbuffer(e.RENDERBUFFER,null)}function setupDepthTexture(t,i,o){let c=i.isWebGLCubeRenderTarget===!0;if(n.bindFramebuffer(e.FRAMEBUFFER,t),!(i.depthTexture&&i.depthTexture.isDepthTexture))throw Error(`THREE.WebGLTextures: renderTarget.depthTexture must be an instance of THREE.DepthTexture.`);let l=r.get(i.depthTexture);if(l.__renderTarget=i,(!l.__webglTexture||i.depthTexture.image.width!==i.width||i.depthTexture.image.height!==i.height)&&(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),c){if(l.__webglInit===void 0&&(l.__webglInit=!0,i.depthTexture.addEventListener(`dispose`,onTextureDispose)),l.__webglTexture===void 0){l.__webglTexture=e.createTexture(),n.bindTexture(e.TEXTURE_CUBE_MAP,l.__webglTexture),setTextureParameters(e.TEXTURE_CUBE_MAP,i.depthTexture);let t=a.convert(i.depthTexture.format),r=a.convert(i.depthTexture.type),o;i.depthTexture.format===1026?o=e.DEPTH_COMPONENT24:i.depthTexture.format===1027&&(o=e.DEPTH24_STENCIL8);for(let n=0;n<6;n++)e.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+n,0,o,i.width,i.height,0,t,r,null)}}else setTexture2D(i.depthTexture,0);let u=l.__webglTexture,d=getRenderTargetSamples(i),f=c?e.TEXTURE_CUBE_MAP_POSITIVE_X+o:e.TEXTURE_2D,p=i.depthTexture.format===1027?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;if(i.depthTexture.format===1026)useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,p,f,u,0,d):e.framebufferTexture2D(e.FRAMEBUFFER,p,f,u,0);else if(i.depthTexture.format===1027)useMultisampledRTT(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,p,f,u,0,d):e.framebufferTexture2D(e.FRAMEBUFFER,p,f,u,0);else throw Error(`THREE.WebGLTextures: Unknown depthTexture format.`)}function setupDepthRenderbuffer(t){let i=r.get(t),a=t.isWebGLCubeRenderTarget===!0;if(i.__boundDepthTexture!==t.depthTexture){let e=t.depthTexture;if(i.__depthDisposeCallback&&i.__depthDisposeCallback(),e){let disposeEvent=()=>{delete i.__boundDepthTexture,delete i.__depthDisposeCallback,e.removeEventListener(`dispose`,disposeEvent)};e.addEventListener(`dispose`,disposeEvent),i.__depthDisposeCallback=disposeEvent}i.__boundDepthTexture=e}if(t.depthTexture&&!i.__autoAllocateDepthBuffer)if(a)for(let e=0;e<6;e++)setupDepthTexture(i.__webglFramebuffer[e],t,e);else{let e=t.texture.mipmaps;e&&e.length>0?setupDepthTexture(i.__webglFramebuffer[0],t,0):setupDepthTexture(i.__webglFramebuffer,t,0)}else if(a){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)if(n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]===void 0)i.__webglDepthbuffer[r]=e.createRenderbuffer(),setupRenderBufferStorage(i.__webglDepthbuffer[r],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=i.__webglDepthbuffer[r];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else{let r=t.texture.mipmaps;if(r&&r.length>0?n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[0]):n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer),i.__webglDepthbuffer===void 0)i.__webglDepthbuffer=e.createRenderbuffer(),setupRenderBufferStorage(i.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,r=i.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,r),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,r)}}n.bindFramebuffer(e.FRAMEBUFFER,null)}function rebindTextures(t,n,i){let a=r.get(t);n!==void 0&&setupFrameBufferTexture(a.__webglFramebuffer,t,t.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),i!==void 0&&setupDepthRenderbuffer(t)}function setupRenderTarget(t){let i=t.texture,s=r.get(t),c=r.get(i);t.addEventListener(`dispose`,onRenderTargetDispose);let l=t.textures,u=t.isWebGLCubeRenderTarget===!0,d=l.length>1;if(d||(c.__webglTexture===void 0&&(c.__webglTexture=e.createTexture()),c.__version=i.version,o.memory.textures++),u){s.__webglFramebuffer=[];for(let t=0;t<6;t++)if(i.mipmaps&&i.mipmaps.length>0){s.__webglFramebuffer[t]=[];for(let n=0;n<i.mipmaps.length;n++)s.__webglFramebuffer[t][n]=e.createFramebuffer()}else s.__webglFramebuffer[t]=e.createFramebuffer()}else{if(i.mipmaps&&i.mipmaps.length>0){s.__webglFramebuffer=[];for(let t=0;t<i.mipmaps.length;t++)s.__webglFramebuffer[t]=e.createFramebuffer()}else s.__webglFramebuffer=e.createFramebuffer();if(d)for(let t=0,n=l.length;t<n;t++){let n=r.get(l[t]);n.__webglTexture===void 0&&(n.__webglTexture=e.createTexture(),o.memory.textures++)}if(t.samples>0&&useMultisampledRTT(t)===!1){s.__webglMultisampledFramebuffer=e.createFramebuffer(),s.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,s.__webglMultisampledFramebuffer);for(let n=0;n<l.length;n++){let r=l[n];s.__webglColorRenderbuffer[n]=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,s.__webglColorRenderbuffer[n]);let i=a.convert(r.format,r.colorSpace),o=a.convert(r.type),c=getInternalFormat(r.internalFormat,i,o,r.normalized,r.colorSpace,t.isXRRenderTarget===!0),u=getRenderTargetSamples(t);e.renderbufferStorageMultisample(e.RENDERBUFFER,u,c,t.width,t.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+n,e.RENDERBUFFER,s.__webglColorRenderbuffer[n])}e.bindRenderbuffer(e.RENDERBUFFER,null),t.depthBuffer&&(s.__webglDepthRenderbuffer=e.createRenderbuffer(),setupRenderBufferStorage(s.__webglDepthRenderbuffer,t,!0)),n.bindFramebuffer(e.FRAMEBUFFER,null)}}if(u){n.bindTexture(e.TEXTURE_CUBE_MAP,c.__webglTexture),setTextureParameters(e.TEXTURE_CUBE_MAP,i);for(let n=0;n<6;n++)if(i.mipmaps&&i.mipmaps.length>0)for(let r=0;r<i.mipmaps.length;r++)setupFrameBufferTexture(s.__webglFramebuffer[n][r],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,r);else setupFrameBufferTexture(s.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,0);textureNeedsGenerateMipmaps(i)&&generateMipmap(e.TEXTURE_CUBE_MAP),n.unbindTexture()}else if(d){for(let i=0,a=l.length;i<a;i++){let a=l[i],o=r.get(a),c=e.TEXTURE_2D;(t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(c=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),n.bindTexture(c,o.__webglTexture),setTextureParameters(c,a),setupFrameBufferTexture(s.__webglFramebuffer,t,a,e.COLOR_ATTACHMENT0+i,c,0),textureNeedsGenerateMipmaps(a)&&generateMipmap(c)}n.unbindTexture()}else{let r=e.TEXTURE_2D;if((t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(r=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),n.bindTexture(r,c.__webglTexture),setTextureParameters(r,i),i.mipmaps&&i.mipmaps.length>0)for(let n=0;n<i.mipmaps.length;n++)setupFrameBufferTexture(s.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,r,n);else setupFrameBufferTexture(s.__webglFramebuffer,t,i,e.COLOR_ATTACHMENT0,r,0);textureNeedsGenerateMipmaps(i)&&generateMipmap(r),n.unbindTexture()}t.depthBuffer&&setupDepthRenderbuffer(t)}function updateRenderTargetMipmap(e){let t=e.textures;for(let i=0,a=t.length;i<a;i++){let a=t[i];if(textureNeedsGenerateMipmaps(a)){let t=getTargetType(e),i=r.get(a).__webglTexture;n.bindTexture(t,i),generateMipmap(t),n.unbindTexture()}}}let y=[],b=[];function updateMultisampleRenderTarget(t){if(t.samples>0){if(useMultisampledRTT(t)===!1){let i=t.textures,a=t.width,o=t.height,s=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=r.get(t),d=i.length>1;if(d)for(let t=0;t<i.length;t++)n.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,null),n.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,null,0);n.bindFramebuffer(e.READ_FRAMEBUFFER,u.__webglMultisampledFramebuffer);let f=t.texture.mipmaps;f&&f.length>0?n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer[0]):n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer);for(let n=0;n<i.length;n++){if(t.resolveDepthBuffer&&(t.depthBuffer&&(s|=e.DEPTH_BUFFER_BIT),t.stencilBuffer&&t.resolveStencilBuffer&&(s|=e.STENCIL_BUFFER_BIT)),d){e.framebufferRenderbuffer(e.READ_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,u.__webglColorRenderbuffer[n]);let t=r.get(i[n]).__webglTexture;e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0)}e.blitFramebuffer(0,0,a,o,0,0,a,o,s,e.NEAREST),c===!0&&(y.length=0,b.length=0,y.push(e.COLOR_ATTACHMENT0+n),t.depthBuffer&&t.resolveDepthBuffer===!1&&(y.push(l),b.push(l),e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,b)),e.invalidateFramebuffer(e.READ_FRAMEBUFFER,y))}if(n.bindFramebuffer(e.READ_FRAMEBUFFER,null),n.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),d)for(let t=0;t<i.length;t++){n.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,u.__webglColorRenderbuffer[t]);let a=r.get(i[t]).__webglTexture;n.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,a,0)}n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglMultisampledFramebuffer)}else if(t.depthBuffer&&t.resolveDepthBuffer===!1&&c){let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,[n])}}}function getRenderTargetSamples(e){return Math.min(i.maxSamples,e.samples)}function useMultisampledRTT(e){let n=r.get(e);return e.samples>0&&t.has(`WEBGL_multisampled_render_to_texture`)===!0&&n.__useRenderToTexture!==!1}function updateVideoTexture(e){let t=o.render.frame;u.get(e)!==t&&(u.set(e,t),e.update())}function verifyColorSpace(e,t){let n=e.colorSpace,r=e.format,i=e.type;return e.isCompressedTexture===!0||e.isVideoTexture===!0||n!==`srgb-linear`&&n!==``&&(Oi.getTransfer(n)===`srgb`?(r!==1023||i!==1009)&&warn(`WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.`):error(`WebGLTextures: Unsupported texture color space:`,n)),t}function getDimensions(e){return typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement?(l.width=e.naturalWidth||e.width,l.height=e.naturalHeight||e.height):typeof VideoFrame<`u`&&e instanceof VideoFrame?(l.width=e.displayWidth,l.height=e.displayHeight):(l.width=e.width,l.height=e.height),l}this.allocateTextureUnit=allocateTextureUnit,this.resetTextureUnits=resetTextureUnits,this.getTextureUnits=getTextureUnits,this.setTextureUnits=setTextureUnits,this.setTexture2D=setTexture2D,this.setTexture2DArray=setTexture2DArray,this.setTexture3D=setTexture3D,this.setTextureCube=setTextureCube,this.rebindTextures=rebindTextures,this.setupRenderTarget=setupRenderTarget,this.updateRenderTargetMipmap=updateRenderTargetMipmap,this.updateMultisampleRenderTarget=updateMultisampleRenderTarget,this.setupDepthRenderbuffer=setupDepthRenderbuffer,this.setupFrameBufferTexture=setupFrameBufferTexture,this.useMultisampledRTT=useMultisampledRTT,this.isReversedDepthBuffer=function(){return n.buffers.depth.getReversed()}}function WebGLUtils(e,t){function convert(n,r=``){let i,a=Oi.getTransfer(r);if(n===1009)return e.UNSIGNED_BYTE;if(n===1017)return e.UNSIGNED_SHORT_4_4_4_4;if(n===1018)return e.UNSIGNED_SHORT_5_5_5_1;if(n===35902)return e.UNSIGNED_INT_5_9_9_9_REV;if(n===35899)return e.UNSIGNED_INT_10F_11F_11F_REV;if(n===1010)return e.BYTE;if(n===1011)return e.SHORT;if(n===1012)return e.UNSIGNED_SHORT;if(n===1013)return e.INT;if(n===1014)return e.UNSIGNED_INT;if(n===1015)return e.FLOAT;if(n===1016)return e.HALF_FLOAT;if(n===1021)return e.ALPHA;if(n===1022)return e.RGB;if(n===1023)return e.RGBA;if(n===1026)return e.DEPTH_COMPONENT;if(n===1027)return e.DEPTH_STENCIL;if(n===1028)return e.RED;if(n===1029)return e.RED_INTEGER;if(n===1030)return e.RG;if(n===1031)return e.RG_INTEGER;if(n===1033)return e.RGBA_INTEGER;if(n===33776||n===33777||n===33778||n===33779)if(a===`srgb`)if(i=t.get(`WEBGL_compressed_texture_s3tc_srgb`),i!==null){if(n===33776)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(i=t.get(`WEBGL_compressed_texture_s3tc`),i!==null){if(n===33776)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(n===35840||n===35841||n===35842||n===35843)if(i=t.get(`WEBGL_compressed_texture_pvrtc`),i!==null){if(n===35840)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===35841)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===35842)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===35843)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(n===36196||n===37492||n===37496||n===37488||n===37489||n===37490||n===37491)if(i=t.get(`WEBGL_compressed_texture_etc`),i!==null){if(n===36196||n===37492)return a===`srgb`?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(n===37496)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC;if(n===37488)return i.COMPRESSED_R11_EAC;if(n===37489)return i.COMPRESSED_SIGNED_R11_EAC;if(n===37490)return i.COMPRESSED_RG11_EAC;if(n===37491)return i.COMPRESSED_SIGNED_RG11_EAC}else return null;if(n===37808||n===37809||n===37810||n===37811||n===37812||n===37813||n===37814||n===37815||n===37816||n===37817||n===37818||n===37819||n===37820||n===37821)if(i=t.get(`WEBGL_compressed_texture_astc`),i!==null){if(n===37808)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===37809)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===37810)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===37811)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===37812)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===37813)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===37814)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===37815)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===37816)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===37817)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===37818)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===37819)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===37820)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===37821)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(n===36492||n===36494||n===36495)if(i=t.get(`EXT_texture_compression_bptc`),i!==null){if(n===36492)return a===`srgb`?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(n===36494)return i.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(n===36495)return i.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(n===36283||n===36284||n===36285||n===36286)if(i=t.get(`EXT_texture_compression_rgtc`),i!==null){if(n===36283)return i.COMPRESSED_RED_RGTC1_EXT;if(n===36284)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===36285)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===36286)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return n===1020?e.UNSIGNED_INT_24_8:e[n]===void 0?null:e[n]}return{convert}}var WebXRDepthSensing=class{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t){if(this.texture===null){let n=new ExternalTexture(e.texture);(e.depthNear!==t.depthNear||e.depthFar!==t.depthFar)&&(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=n}}getMesh(e){if(this.texture!==null&&this.mesh===null){let t=e.cameras[0].viewport,n=new ShaderMaterial({vertexShader:`
|
|
4174
4174
|
void main() {
|
|
4175
4175
|
|
|
4176
4176
|
gl_Position = vec4( position, 1.0 );
|
|
@@ -4194,7 +4194,7 @@ void main() {
|
|
|
4194
4194
|
|
|
4195
4195
|
}
|
|
4196
4196
|
|
|
4197
|
-
}`,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new Mesh(new To(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}},WebXRManager=class extends EventDispatcher{constructor(e,t){super();let n=this,r=null,i=1,a=null,o=`local-floor`,s=1,c=null,l=null,u=null,d=null,f=null,p=null,m=typeof XRWebGLBinding<`u`,h=new WebXRDepthSensing,g={},_=t.getContextAttributes(),v=null,y=null,b=[],x=[],S=new yi,C=null,w=new PerspectiveCamera;w.viewport=new Mi;let T=new PerspectiveCamera;T.viewport=new Mi;let E=[w,T],D=new ArrayCamera,O=null,ee=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getGripSpace()},this.getHand=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getHandSpace()};function onSessionEvent(e){let t=x.indexOf(e.inputSource);if(t===-1)return;let n=b[t];n!==void 0&&(n.update(e.inputSource,e.frame,c||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function onSessionEnd(){r.removeEventListener(`select`,onSessionEvent),r.removeEventListener(`selectstart`,onSessionEvent),r.removeEventListener(`selectend`,onSessionEvent),r.removeEventListener(`squeeze`,onSessionEvent),r.removeEventListener(`squeezestart`,onSessionEvent),r.removeEventListener(`squeezeend`,onSessionEvent),r.removeEventListener(`end`,onSessionEnd),r.removeEventListener(`inputsourceschange`,onInputSourcesChange);for(let e=0;e<b.length;e++){let t=x[e];t!==null&&(x[e]=null,b[e].disconnect(t))}O=null,ee=null,h.reset();for(let e in g)delete g[e];e.setRenderTarget(v),f=null,d=null,u=null,r=null,y=null,A.stop(),n.isPresenting=!1,e.setPixelRatio(C),e.setSize(S.width,S.height,!1),n.dispatchEvent({type:`sessionend`})}this.setFramebufferScaleFactor=function(e){i=e,n.isPresenting===!0&&warn(`WebXRManager: Cannot change framebuffer scale while presenting.`)},this.setReferenceSpaceType=function(e){o=e,n.isPresenting===!0&&warn(`WebXRManager: Cannot change reference space type while presenting.`)},this.getReferenceSpace=function(){return c||a},this.setReferenceSpace=function(e){c=e},this.getBaseLayer=function(){return d===null?f:d},this.getBinding=function(){return u===null&&m&&(u=new XRWebGLBinding(r,t)),u},this.getFrame=function(){return p},this.getSession=function(){return r},this.setSession=async function(l){if(r=l,r!==null){if(v=e.getRenderTarget(),r.addEventListener(`select`,onSessionEvent),r.addEventListener(`selectstart`,onSessionEvent),r.addEventListener(`selectend`,onSessionEvent),r.addEventListener(`squeeze`,onSessionEvent),r.addEventListener(`squeezestart`,onSessionEvent),r.addEventListener(`squeezeend`,onSessionEvent),r.addEventListener(`end`,onSessionEnd),r.addEventListener(`inputsourceschange`,onInputSourcesChange),_.xrCompatible!==!0&&await t.makeXRCompatible(),C=e.getPixelRatio(),e.getSize(S),m&&`createProjectionLayer`in XRWebGLBinding.prototype){let n=null,a=null,o=null;_.depth&&(o=_.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=_.stencil?Jr:qr,a=_.stencil?Gr:Br);let s={colorFormat:t.RGBA8,depthFormat:o,scaleFactor:i};u=this.getBinding(),d=u.createProjectionLayer(s),r.updateRenderState({layers:[d]}),e.setPixelRatio(1),e.setSize(d.textureWidth,d.textureHeight,!1),y=new WebGLRenderTarget(d.textureWidth,d.textureHeight,{format:Kr,type:Rr,depthTexture:new DepthTexture(d.textureWidth,d.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:_.stencil,colorSpace:e.outputColorSpace,samples:_.antialias?4:0,resolveDepthBuffer:d.ignoreDepthValues===!1,resolveStencilBuffer:d.ignoreDepthValues===!1})}else{let n={antialias:_.antialias,alpha:!0,depth:_.depth,stencil:_.stencil,framebufferScaleFactor:i};f=new XRWebGLLayer(r,t,n),r.updateRenderState({baseLayer:f}),e.setPixelRatio(1),e.setSize(f.framebufferWidth,f.framebufferHeight,!1),y=new WebGLRenderTarget(f.framebufferWidth,f.framebufferHeight,{format:Kr,type:Rr,colorSpace:e.outputColorSpace,stencilBuffer:_.stencil,resolveDepthBuffer:f.ignoreDepthValues===!1,resolveStencilBuffer:f.ignoreDepthValues===!1})}y.isXRRenderTarget=!0,this.setFoveation(s),c=null,a=await r.requestReferenceSpace(o),A.setContext(r),A.start(),n.isPresenting=!0,n.dispatchEvent({type:`sessionstart`})}},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode},this.getDepthTexture=function(){return h.getDepthTexture()};function onInputSourcesChange(e){for(let t=0;t<e.removed.length;t++){let n=e.removed[t],r=x.indexOf(n);r>=0&&(x[r]=null,b[r].disconnect(n))}for(let t=0;t<e.added.length;t++){let n=e.added[t],r=x.indexOf(n);if(r===-1){for(let e=0;e<b.length;e++)if(e>=x.length){x.push(n),r=e;break}else if(x[e]===null){x[e]=n,r=e;break}if(r===-1)break}let i=b[r];i&&i.connect(n)}}let te=new I,ne=new I;function setProjectionFromUnion(e,t,n){te.setFromMatrixPosition(t.matrixWorld),ne.setFromMatrixPosition(n.matrixWorld);let r=te.distanceTo(ne),i=t.projectionMatrix.elements,a=n.projectionMatrix.elements,o=i[14]/(i[10]-1),s=i[14]/(i[10]+1),c=(i[9]+1)/i[5],l=(i[9]-1)/i[5],u=(i[8]-1)/i[0],d=(a[8]+1)/a[0],f=o*u,p=o*d,m=r/(-u+d),h=m*-u;if(t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(h),e.translateZ(m),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert(),i[10]===-1)e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse);else{let t=o+m,n=s+m,i=f-h,a=p+(r-h),u=c*s/n*t,d=l*s/n*t;e.projectionMatrix.makePerspective(i,a,u,d,t,n),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}}function updateCamera(e,t){t===null?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(r===null)return;let t=e.near,n=e.far;h.texture!==null&&(h.depthNear>0&&(t=h.depthNear),h.depthFar>0&&(n=h.depthFar)),D.near=T.near=w.near=t,D.far=T.far=w.far=n,(O!==D.near||ee!==D.far)&&(r.updateRenderState({depthNear:D.near,depthFar:D.far}),O=D.near,ee=D.far),D.layers.mask=e.layers.mask|6,w.layers.mask=D.layers.mask&-5,T.layers.mask=D.layers.mask&-3;let i=e.parent,a=D.cameras;updateCamera(D,i);for(let e=0;e<a.length;e++)updateCamera(a[e],i);a.length===2?setProjectionFromUnion(D,w,T):D.projectionMatrix.copy(w.projectionMatrix),updateUserCamera(e,D,i)};function updateUserCamera(e,t,n){n===null?e.matrix.copy(t.matrixWorld):(e.matrix.copy(n.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld)),e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0),e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=_i*2*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}this.getCamera=function(){return D},this.getFoveation=function(){if(!(d===null&&f===null))return s},this.setFoveation=function(e){s=e,d!==null&&(d.fixedFoveation=e),f!==null&&f.fixedFoveation!==void 0&&(f.fixedFoveation=e)},this.hasDepthSensing=function(){return h.texture!==null},this.getDepthSensingMesh=function(){return h.getMesh(D)},this.getCameraTexture=function(e){return g[e]};let k=null;function onAnimationFrame(t,i){if(l=i.getViewerPose(c||a),p=i,l!==null){let t=l.views;f!==null&&(e.setRenderTargetFramebuffer(y,f.framebuffer),e.setRenderTarget(y));let i=!1;t.length!==D.cameras.length&&(D.cameras.length=0,i=!0);for(let n=0;n<t.length;n++){let r=t[n],a=null;if(f!==null)a=f.getViewport(r);else{let t=u.getViewSubImage(d,r);a=t.viewport,n===0&&(e.setRenderTargetTextures(y,t.colorTexture,t.depthStencilTexture),e.setRenderTarget(y))}let o=E[n];o===void 0&&(o=new PerspectiveCamera,o.layers.enable(n),o.viewport=new Mi,E[n]=o),o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.quaternion,o.scale),o.projectionMatrix.fromArray(r.projectionMatrix),o.projectionMatrixInverse.copy(o.projectionMatrix).invert(),o.viewport.set(a.x,a.y,a.width,a.height),n===0&&(D.matrix.copy(o.matrix),D.matrix.decompose(D.position,D.quaternion,D.scale)),i===!0&&D.cameras.push(o)}let a=r.enabledFeatures;if(a&&a.includes(`depth-sensing`)&&r.depthUsage==`gpu-optimized`&&m){u=n.getBinding();let e=u.getDepthInformation(t[0]);e&&e.isValid&&e.texture&&h.init(e,r.renderState)}if(a&&a.includes(`camera-access`)&&m){e.state.unbindTexture(),u=n.getBinding();for(let e=0;e<t.length;e++){let n=t[e].camera;if(n){let e=g[n];e||(e=new ExternalTexture,g[n]=e);let t=u.getCameraImage(n);e.sourceTexture=t}}}}for(let e=0;e<b.length;e++){let t=x[e],n=b[e];t!==null&&n!==void 0&&n.update(t,i,c||a)}k&&k(t,i),i.detectedPlanes&&n.dispatchEvent({type:`planesdetected`,data:i}),p=null}let A=new WebGLAnimation;A.setAnimationLoop(onAnimationFrame),this.setAnimationLoop=function(e){k=e},this.dispose=function(){}}};const Ps=new Ni,Fs=new Si;Fs.set(-1,0,0,0,1,0,0,0,1);function WebGLMaterials(e,t){function refreshTransformUniform(e,t){e.matrixAutoUpdate===!0&&e.updateMatrix(),t.value.copy(e.matrix)}function refreshFogUniforms(t,n){n.color.getRGB(t.fogColor.value,getUnlitUniformColorSpace(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)}function refreshMaterialUniforms(e,t,n,r,i){t.isNodeMaterial?t.uniformsNeedUpdate=!1:t.isMeshBasicMaterial?refreshUniformsCommon(e,t):t.isMeshLambertMaterial?(refreshUniformsCommon(e,t),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)):t.isMeshToonMaterial?(refreshUniformsCommon(e,t),refreshUniformsToon(e,t)):t.isMeshPhongMaterial?(refreshUniformsCommon(e,t),refreshUniformsPhong(e,t),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)):t.isMeshStandardMaterial?(refreshUniformsCommon(e,t),refreshUniformsStandard(e,t),t.isMeshPhysicalMaterial&&refreshUniformsPhysical(e,t,i)):t.isMeshMatcapMaterial?(refreshUniformsCommon(e,t),refreshUniformsMatcap(e,t)):t.isMeshDepthMaterial?refreshUniformsCommon(e,t):t.isMeshDistanceMaterial?(refreshUniformsCommon(e,t),refreshUniformsDistance(e,t)):t.isMeshNormalMaterial?refreshUniformsCommon(e,t):t.isLineBasicMaterial?(refreshUniformsLine(e,t),t.isLineDashedMaterial&&refreshUniformsDash(e,t)):t.isPointsMaterial?refreshUniformsPoints(e,t,n,r):t.isSpriteMaterial?refreshUniformsSprites(e,t):t.isShadowMaterial?(e.color.value.copy(t.color),e.opacity.value=t.opacity):t.isShaderMaterial&&(t.uniformsNeedUpdate=!1)}function refreshUniformsCommon(e,n){e.opacity.value=n.opacity,n.color&&e.diffuse.value.copy(n.color),n.emissive&&e.emissive.value.copy(n.emissive).multiplyScalar(n.emissiveIntensity),n.map&&(e.map.value=n.map,refreshTransformUniform(n.map,e.mapTransform)),n.alphaMap&&(e.alphaMap.value=n.alphaMap,refreshTransformUniform(n.alphaMap,e.alphaMapTransform)),n.bumpMap&&(e.bumpMap.value=n.bumpMap,refreshTransformUniform(n.bumpMap,e.bumpMapTransform),e.bumpScale.value=n.bumpScale,n.side===1&&(e.bumpScale.value*=-1)),n.normalMap&&(e.normalMap.value=n.normalMap,refreshTransformUniform(n.normalMap,e.normalMapTransform),e.normalScale.value.copy(n.normalScale),n.side===1&&e.normalScale.value.negate()),n.displacementMap&&(e.displacementMap.value=n.displacementMap,refreshTransformUniform(n.displacementMap,e.displacementMapTransform),e.displacementScale.value=n.displacementScale,e.displacementBias.value=n.displacementBias),n.emissiveMap&&(e.emissiveMap.value=n.emissiveMap,refreshTransformUniform(n.emissiveMap,e.emissiveMapTransform)),n.specularMap&&(e.specularMap.value=n.specularMap,refreshTransformUniform(n.specularMap,e.specularMapTransform)),n.alphaTest>0&&(e.alphaTest.value=n.alphaTest);let r=t.get(n),i=r.envMap,a=r.envMapRotation;i&&(e.envMap.value=i,e.envMapRotation.value.setFromMatrix4(Ps.makeRotationFromEuler(a)).transpose(),i.isCubeTexture&&i.isRenderTargetTexture===!1&&e.envMapRotation.value.premultiply(Fs),e.reflectivity.value=n.reflectivity,e.ior.value=n.ior,e.refractionRatio.value=n.refractionRatio),n.lightMap&&(e.lightMap.value=n.lightMap,e.lightMapIntensity.value=n.lightMapIntensity,refreshTransformUniform(n.lightMap,e.lightMapTransform)),n.aoMap&&(e.aoMap.value=n.aoMap,e.aoMapIntensity.value=n.aoMapIntensity,refreshTransformUniform(n.aoMap,e.aoMapTransform))}function refreshUniformsLine(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.mapTransform))}function refreshUniformsDash(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}function refreshUniformsPoints(e,t,n,r){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*n,e.scale.value=r*.5,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.uvTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,refreshTransformUniform(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function refreshUniformsSprites(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.mapTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,refreshTransformUniform(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function refreshUniformsPhong(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}function refreshUniformsToon(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}function refreshUniformsStandard(e,t){e.metalness.value=t.metalness,t.metalnessMap&&(e.metalnessMap.value=t.metalnessMap,refreshTransformUniform(t.metalnessMap,e.metalnessMapTransform)),e.roughness.value=t.roughness,t.roughnessMap&&(e.roughnessMap.value=t.roughnessMap,refreshTransformUniform(t.roughnessMap,e.roughnessMapTransform)),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)}function refreshUniformsPhysical(e,t,n){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,refreshTransformUniform(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,refreshTransformUniform(t.sheenRoughnessMap,e.sheenRoughnessMapTransform))),t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,refreshTransformUniform(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,refreshTransformUniform(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,refreshTransformUniform(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),t.side===1&&e.clearcoatNormalScale.value.negate())),t.dispersion>0&&(e.dispersion.value=t.dispersion),t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,refreshTransformUniform(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,refreshTransformUniform(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform))),t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=n.texture,e.transmissionSamplerSize.value.set(n.width,n.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,refreshTransformUniform(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,refreshTransformUniform(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor)),t.anisotropy>0&&(e.anisotropyVector.value.set(t.anisotropy*Math.cos(t.anisotropyRotation),t.anisotropy*Math.sin(t.anisotropyRotation)),t.anisotropyMap&&(e.anisotropyMap.value=t.anisotropyMap,refreshTransformUniform(t.anisotropyMap,e.anisotropyMapTransform))),e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,refreshTransformUniform(t.specularColorMap,e.specularColorMapTransform)),t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,refreshTransformUniform(t.specularIntensityMap,e.specularIntensityMapTransform))}function refreshUniformsMatcap(e,t){t.matcap&&(e.matcap.value=t.matcap)}function refreshUniformsDistance(e,n){let r=t.get(n).light;e.referencePosition.value.setFromMatrixPosition(r.matrixWorld),e.nearDistance.value=r.shadow.camera.near,e.farDistance.value=r.shadow.camera.far}return{refreshFogUniforms,refreshMaterialUniforms}}function WebGLUniformsGroups(e,t,n,r){let i={},a={},o=[],s=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function bind(e,t){let n=t.program;r.uniformBlockBinding(e,n)}function update(e,n){let o=i[e.id];o===void 0&&(prepareUniformsGroup(e),o=createBuffer(e),i[e.id]=o,e.addEventListener(`dispose`,onUniformsGroupsDispose));let s=n.program;r.updateUBOMapping(e,s);let c=t.render.frame;a[e.id]!==c&&(updateBufferData(e),a[e.id]=c)}function createBuffer(t){let n=allocateBindingPointIndex();t.__bindingPointIndex=n;let r=e.createBuffer(),i=t.__size,a=t.usage;return e.bindBuffer(e.UNIFORM_BUFFER,r),e.bufferData(e.UNIFORM_BUFFER,i,a),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,n,r),r}function allocateBindingPointIndex(){for(let e=0;e<s;e++)if(o.indexOf(e)===-1)return o.push(e),e;return error(`WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached.`),0}function updateBufferData(t){let n=i[t.id],r=t.uniforms,a=t.__cache;e.bindBuffer(e.UNIFORM_BUFFER,n);for(let e=0,t=r.length;e<t;e++){let t=r[e];if(Array.isArray(t))for(let n=0,r=t.length;n<r;n++)updateUniform(t[n],e,n,a);else updateUniform(t,e,0,a)}e.bindBuffer(e.UNIFORM_BUFFER,null)}function updateUniform(t,n,r,i){if(hasUniformChanged(t,n,r,i)===!0){let n=t.__offset,r=t.value;if(Array.isArray(r)){let e=0;for(let n=0;n<r.length;n++){let i=r[n],a=getUniformSize(i);writeUniformValue(i,t.__data,e),typeof i!=`number`&&typeof i!=`boolean`&&!i.isMatrix3&&!ArrayBuffer.isView(i)&&(e+=a.storage/Float32Array.BYTES_PER_ELEMENT)}}else writeUniformValue(r,t.__data,0);e.bufferSubData(e.UNIFORM_BUFFER,n,t.__data)}}function writeUniformValue(e,t,n){typeof e==`number`||typeof e==`boolean`?t[0]=e:e.isMatrix3?(t[0]=e.elements[0],t[1]=e.elements[1],t[2]=e.elements[2],t[3]=0,t[4]=e.elements[3],t[5]=e.elements[4],t[6]=e.elements[5],t[7]=0,t[8]=e.elements[6],t[9]=e.elements[7],t[10]=e.elements[8],t[11]=0):ArrayBuffer.isView(e)?t.set(new e.constructor(e.buffer,e.byteOffset,t.length)):e.toArray(t,n)}function hasUniformChanged(e,t,n,r){let i=e.value,a=t+`_`+n;if(r[a]===void 0)return typeof i==`number`||typeof i==`boolean`?r[a]=i:ArrayBuffer.isView(i)?r[a]=i.slice():r[a]=i.clone(),!0;{let e=r[a];if(typeof i==`number`||typeof i==`boolean`){if(e!==i)return r[a]=i,!0}else if(ArrayBuffer.isView(i))return!0;else if(e.equals(i)===!1)return e.copy(i),!0}return!1}function prepareUniformsGroup(e){let t=e.uniforms,n=0;for(let e=0,r=t.length;e<r;e++){let r=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0,t=r.length;e<t;e++){let t=r[e],i=Array.isArray(t.value)?t.value:[t.value];for(let e=0,r=i.length;e<r;e++){let r=i[e],a=getUniformSize(r),o=n%16,s=o%a.boundary,c=o+s;n+=s,c!==0&&16-c<a.storage&&(n+=16-c),t.__data=new Float32Array(a.storage/Float32Array.BYTES_PER_ELEMENT),t.__offset=n,n+=a.storage}}}let r=n%16;return r>0&&(n+=16-r),e.__size=n,e.__cache={},this}function getUniformSize(e){let t={boundary:0,storage:0};return typeof e==`number`||typeof e==`boolean`?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?warn(`WebGLRenderer: Texture samplers can not be part of an uniforms group.`):ArrayBuffer.isView(e)?(t.boundary=16,t.storage=e.byteLength):warn(`WebGLRenderer: Unsupported uniform value type.`,e),t}function onUniformsGroupsDispose(t){let n=t.target;n.removeEventListener(`dispose`,onUniformsGroupsDispose);let r=o.indexOf(n.__bindingPointIndex);o.splice(r,1),e.deleteBuffer(i[n.id]),delete i[n.id],delete a[n.id]}function dispose(){for(let t in i)e.deleteBuffer(i[t]);o=[],i={},a={}}return{bind,update,dispose}}const Is=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]);let Ls=null;function getDFGLUT(){return Ls===null&&(Ls=new DataTexture(Is,16,16,Xr,Hr),Ls.name=`DFG_LUT`,Ls.minFilter=Ir,Ls.magFilter=Ir,Ls.wrapS=Nr,Ls.wrapT=Nr,Ls.generateMipmaps=!1,Ls.needsUpdate=!0),Ls}var WebGLRenderer=class{constructor(e={}){let{canvas:t=createCanvasElement(),context:n=null,depth:r=!0,stencil:i=!1,alpha:a=!1,antialias:o=!1,premultipliedAlpha:s=!0,preserveDrawingBuffer:c=!1,powerPreference:l=`default`,failIfMajorPerformanceCaveat:u=!1,reversedDepthBuffer:d=!1,outputBufferType:f=Rr}=e;this.isWebGLRenderer=!0;let p;if(n!==null){if(typeof WebGLRenderingContext<`u`&&n instanceof WebGLRenderingContext)throw Error(`THREE.WebGLRenderer: WebGL 1 is not supported since r163.`);p=n.getContextAttributes().alpha}else p=a;let m=f,h=new Set([Qr,Zr,Yr]),g=new Set([Rr,Br,zr,Gr,Ur,Wr]),_=new Uint32Array(4),v=new Int32Array(4),y=new I,b=null,x=null,S=[],C=[],w=null;this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.toneMapping=0,this.toneMappingExposure=1,this.transmissionResolutionScale=1;let T=this,E=!1,D=null,O=null,ee=null,te=null;this._outputColorSpace=oi;let ne=0,k=0,A=null,re=-1,ie=null,ae=new Mi,oe=new Mi,se=null,ce=new Color(0),le=0,ue=t.width,de=t.height,fe=1,pe=null,me=null,he=new Mi(0,0,ue,de),ge=new Mi(0,0,ue,de),_e=!1,ve=new Frustum,ye=!1,be=!1,xe=new Ni,Se=new I,Ce=new Mi,we={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0},Te=!1;function getTargetPixelRatio(){return A===null?fe:1}let j=n;function getContext(e,n){return t.getContext(e,n)}try{let e={alpha:!0,depth:r,stencil:i,antialias:o,premultipliedAlpha:s,preserveDrawingBuffer:c,powerPreference:l,failIfMajorPerformanceCaveat:u};if(`setAttribute`in t&&t.setAttribute(`data-engine`,`three.js r185`),t.addEventListener(`webglcontextlost`,onContextLost,!1),t.addEventListener(`webglcontextrestored`,onContextRestore,!1),t.addEventListener(`webglcontextcreationerror`,onContextCreationError,!1),j===null){let t=`webgl2`;if(j=getContext(t,e),j===null)throw getContext(t)?Error(`THREE.WebGLRenderer: Error creating WebGL context with your selected attributes.`):Error(`THREE.WebGLRenderer: Error creating WebGL context.`)}}catch(e){throw error(`WebGLRenderer: `+e.message),e}let Ee,De,M,Oe,ke,N,P,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge;function initGLContext(){Ee=new WebGLExtensions(j),Ee.init(),Ue=new WebGLUtils(j,Ee),De=new WebGLCapabilities(j,Ee,e,Ue),M=new WebGLState(j,Ee),De.reversedDepthBuffer&&d&&M.buffers.depth.setReversed(!0),O=j.createFramebuffer(),ee=j.createFramebuffer(),te=j.createFramebuffer(),Oe=new WebGLInfo(j),ke=new WebGLProperties,N=new WebGLTextures(j,Ee,M,ke,De,Ue,Oe),P=new WebGLEnvironments(T),Ae=new WebGLAttributes(j),We=new WebGLBindingStates(j,Ae),je=new WebGLGeometries(j,Ae,Oe,We),Me=new WebGLObjects(j,je,Ae,We,Oe),Be=new WebGLMorphtargets(j,De,N),Le=new WebGLClipping(ke),Ne=new WebGLPrograms(T,P,Ee,De,We,Le),Pe=new WebGLMaterials(T,ke),Fe=new WebGLRenderLists,Ie=new WebGLRenderStates(Ee),ze=new WebGLBackground(T,P,M,Me,p,s),Re=new WebGLShadowMap(T,Me,De),Ge=new WebGLUniformsGroups(j,Oe,De,M),Ve=new WebGLBufferRenderer(j,Ee,Oe),He=new WebGLIndexedBufferRenderer(j,Ee,Oe),Oe.programs=Ne.programs,T.capabilities=De,T.extensions=Ee,T.properties=ke,T.renderLists=Fe,T.shadowMap=Re,T.state=M,T.info=Oe}initGLContext(),m!==1009&&(w=new WebGLOutput(m,t.width,t.height,o,r,i));let Ke=new WebXRManager(T,j);this.xr=Ke,this.getContext=function(){return j},this.getContextAttributes=function(){return j.getContextAttributes()},this.forceContextLoss=function(){let e=Ee.get(`WEBGL_lose_context`);e&&e.loseContext()},this.forceContextRestore=function(){let e=Ee.get(`WEBGL_lose_context`);e&&e.restoreContext()},this.getPixelRatio=function(){return fe},this.setPixelRatio=function(e){e!==void 0&&(fe=e,this.setSize(ue,de,!1))},this.getSize=function(e){return e.set(ue,de)},this.setSize=function(e,n,r=!0){if(Ke.isPresenting){warn(`WebGLRenderer: Can't change size while VR device is presenting.`);return}ue=e,de=n,t.width=Math.floor(e*fe),t.height=Math.floor(n*fe),r===!0&&(t.style.width=e+`px`,t.style.height=n+`px`),w!==null&&w.setSize(t.width,t.height),this.setViewport(0,0,e,n)},this.getDrawingBufferSize=function(e){return e.set(ue*fe,de*fe).floor()},this.setDrawingBufferSize=function(e,n,r){ue=e,de=n,fe=r,t.width=Math.floor(e*r),t.height=Math.floor(n*r),this.setViewport(0,0,e,n)},this.setEffects=function(e){if(m===1009){error(`WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.`);return}if(e){for(let t=0;t<e.length;t++)if(e[t].isOutputPass===!0){warn(`WebGLRenderer: OutputPass is not needed in setEffects(). Tone mapping and color space conversion are applied automatically.`);break}}w.setEffects(e||[])},this.getCurrentViewport=function(e){return e.copy(ae)},this.getViewport=function(e){return e.copy(he)},this.setViewport=function(e,t,n,r){e.isVector4?he.set(e.x,e.y,e.z,e.w):he.set(e,t,n,r),M.viewport(ae.copy(he).multiplyScalar(fe).round())},this.getScissor=function(e){return e.copy(ge)},this.setScissor=function(e,t,n,r){e.isVector4?ge.set(e.x,e.y,e.z,e.w):ge.set(e,t,n,r),M.scissor(oe.copy(ge).multiplyScalar(fe).round())},this.getScissorTest=function(){return _e},this.setScissorTest=function(e){M.setScissorTest(_e=e)},this.setOpaqueSort=function(e){pe=e},this.setTransparentSort=function(e){me=e},this.getClearColor=function(e){return e.copy(ze.getClearColor())},this.setClearColor=function(){ze.setClearColor(...arguments)},this.getClearAlpha=function(){return ze.getClearAlpha()},this.setClearAlpha=function(){ze.setClearAlpha(...arguments)},this.clear=function(e=!0,t=!0,n=!0){let r=0;if(e){let e=!1;if(A!==null){let t=A.texture.format;e=h.has(t)}if(e){let e=A.texture.type,t=g.has(e),n=ze.getClearColor(),r=ze.getClearAlpha(),i=n.r,a=n.g,o=n.b;t?(_[0]=i,_[1]=a,_[2]=o,_[3]=r,j.clearBufferuiv(j.COLOR,0,_)):(v[0]=i,v[1]=a,v[2]=o,v[3]=r,j.clearBufferiv(j.COLOR,0,v))}else r|=j.COLOR_BUFFER_BIT}t&&(r|=j.DEPTH_BUFFER_BIT,this.state.buffers.depth.setMask(!0)),n&&(r|=j.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),r!==0&&j.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.setNodesHandler=function(e){e.setRenderer(this),D=e},this.dispose=function(){t.removeEventListener(`webglcontextlost`,onContextLost,!1),t.removeEventListener(`webglcontextrestored`,onContextRestore,!1),t.removeEventListener(`webglcontextcreationerror`,onContextCreationError,!1),ze.dispose(),Fe.dispose(),Ie.dispose(),ke.dispose(),P.dispose(),Me.dispose(),We.dispose(),Ge.dispose(),Ne.dispose(),Ke.dispose(),Ke.removeEventListener(`sessionstart`,onXRSessionStart),Ke.removeEventListener(`sessionend`,onXRSessionEnd),Je.stop()};function onContextLost(e){e.preventDefault(),log(`WebGLRenderer: Context Lost.`),E=!0}function onContextRestore(){log(`WebGLRenderer: Context Restored.`),E=!1;let e=Oe.autoReset,t=Re.enabled,n=Re.autoUpdate,r=Re.needsUpdate,i=Re.type;initGLContext(),Oe.autoReset=e,Re.enabled=t,Re.autoUpdate=n,Re.needsUpdate=r,Re.type=i}function onContextCreationError(e){error(`WebGLRenderer: A WebGL context could not be created. Reason: `,e.statusMessage)}function onMaterialDispose(e){let t=e.target;t.removeEventListener(`dispose`,onMaterialDispose),deallocateMaterial(t)}function deallocateMaterial(e){releaseMaterialProgramReferences(e),ke.remove(e)}function releaseMaterialProgramReferences(e){let t=ke.get(e).programs;t!==void 0&&(t.forEach(function(e){Ne.releaseProgram(e)}),e.isShaderMaterial&&Ne.releaseShaderCache(e))}this.renderBufferDirect=function(e,t,n,r,i,a){t===null&&(t=we);let o=i.isMesh&&i.matrixWorld.determinantAffine()<0,s=setProgram(e,t,n,r,i);M.setMaterial(r,o);let c=n.index,l=1;if(r.wireframe===!0){if(c=je.getWireframeAttribute(n),c===void 0)return;l=2}let u=n.drawRange,d=n.attributes.position,f=u.start*l,p=(u.start+u.count)*l;a!==null&&(f=Math.max(f,a.start*l),p=Math.min(p,(a.start+a.count)*l)),c===null?d!=null&&(f=Math.max(f,0),p=Math.min(p,d.count)):(f=Math.max(f,0),p=Math.min(p,c.count));let m=p-f;if(m<0||m===1/0)return;We.setup(i,r,s,n,c);let h,g=Ve;if(c!==null&&(h=Ae.get(c),g=He,g.setIndex(h)),i.isMesh)r.wireframe===!0?(M.setLineWidth(r.wireframeLinewidth*getTargetPixelRatio()),g.setMode(j.LINES)):g.setMode(j.TRIANGLES);else if(i.isLine){let e=r.linewidth;e===void 0&&(e=1),M.setLineWidth(e*getTargetPixelRatio()),i.isLineSegments?g.setMode(j.LINES):i.isLineLoop?g.setMode(j.LINE_LOOP):g.setMode(j.LINE_STRIP)}else i.isPoints?g.setMode(j.POINTS):i.isSprite&&g.setMode(j.TRIANGLES);if(i.isBatchedMesh)if(Ee.get(`WEBGL_multi_draw`))g.renderMultiDraw(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount);else{let e=i._multiDrawStarts,t=i._multiDrawCounts,n=i._multiDrawCount,a=c?Ae.get(c).bytesPerElement:1,o=ke.get(r).currentProgram.getUniforms();for(let r=0;r<n;r++)o.setValue(j,`_gl_DrawID`,r),g.render(e[r]/a,t[r])}else if(i.isInstancedMesh)g.renderInstances(f,m,i.count);else if(n.isInstancedBufferGeometry){let e=n._maxInstanceCount===void 0?1/0:n._maxInstanceCount,t=Math.min(n.instanceCount,e);g.renderInstances(f,m,t)}else g.render(f,m)};function prepareMaterial(e,t,n){e.transparent===!0&&e.side===2&&e.forceSinglePass===!1?(e.side=1,e.needsUpdate=!0,getProgram(e,t,n),e.side=0,e.needsUpdate=!0,getProgram(e,t,n),e.side=2):getProgram(e,t,n)}this.compile=function(e,t,n=null){n===null&&(n=e),x=Ie.get(n),x.init(t),C.push(x),n.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(x.pushLight(e),e.castShadow&&x.pushShadow(e))}),e!==n&&e.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(x.pushLight(e),e.castShadow&&x.pushShadow(e))}),x.setupLights();let r=new Set;return e.traverse(function(e){if(!(e.isMesh||e.isPoints||e.isLine||e.isSprite))return;let t=e.material;if(t)if(Array.isArray(t))for(let i=0;i<t.length;i++){let a=t[i];prepareMaterial(a,n,e),r.add(a)}else prepareMaterial(t,n,e),r.add(t)}),x=C.pop(),r},this.compileAsync=function(e,t,n=null){let r=this.compile(e,t,n);return new Promise(t=>{function checkMaterialsReady(){if(r.forEach(function(e){ke.get(e).currentProgram.isReady()&&r.delete(e)}),r.size===0){t(e);return}setTimeout(checkMaterialsReady,10)}Ee.get(`KHR_parallel_shader_compile`)===null?setTimeout(checkMaterialsReady,10):checkMaterialsReady()})};let qe=null;function onAnimationFrame(e){qe&&qe(e)}function onXRSessionStart(){Je.stop()}function onXRSessionEnd(){Je.start()}let Je=new WebGLAnimation;Je.setAnimationLoop(onAnimationFrame),typeof self<`u`&&Je.setContext(self),this.setAnimationLoop=function(e){qe=e,Ke.setAnimationLoop(e),e===null?Je.stop():Je.start()},Ke.addEventListener(`sessionstart`,onXRSessionStart),Ke.addEventListener(`sessionend`,onXRSessionEnd),this.render=function(e,t){if(t!==void 0&&t.isCamera!==!0){error(`WebGLRenderer.render: camera is not an instance of THREE.Camera.`);return}if(E===!0)return;D!==null&&D.renderStart(e,t);let n=Ke.enabled===!0&&Ke.isPresenting===!0,r=w!==null&&(A===null||n)&&w.begin(T,A);if(e.matrixWorldAutoUpdate===!0&&e.updateMatrixWorld(),t.parent===null&&t.matrixWorldAutoUpdate===!0&&t.updateMatrixWorld(),Ke.enabled===!0&&Ke.isPresenting===!0&&(w===null||w.isCompositing()===!1)&&(Ke.cameraAutoUpdate===!0&&Ke.updateCamera(t),t=Ke.getCamera()),e.isScene===!0&&e.onBeforeRender(T,e,t,A),x=Ie.get(e,C.length),x.init(t),x.state.textureUnits=N.getTextureUnits(),C.push(x),xe.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ve.setFromProjectionMatrix(xe,di,t.reversedDepth),be=this.localClippingEnabled,ye=Le.init(this.clippingPlanes,be),b=Fe.get(e,S.length),b.init(),S.push(b),Ke.enabled===!0&&Ke.isPresenting===!0){let e=T.xr.getDepthSensingMesh();e!==null&&projectObject(e,t,-1/0,T.sortObjects)}projectObject(e,t,0,T.sortObjects),b.finish(),T.sortObjects===!0&&b.sort(pe,me,t.reversedDepth),Te=Ke.enabled===!1||Ke.isPresenting===!1||Ke.hasDepthSensing()===!1,Te&&ze.addToRenderList(b,e),this.info.render.frame++,this.info.autoReset===!0&&this.info.reset(),ye===!0&&Le.beginShadows();let i=x.state.shadowsArray;if(Re.render(i,e,t),ye===!0&&Le.endShadows(),(r&&w.hasRenderPass())===!1){let n=b.opaque,r=b.transmissive;if(x.setupLights(),t.isArrayCamera){let i=t.cameras;if(r.length>0)for(let t=0,a=i.length;t<a;t++){let a=i[t];renderTransmissionPass(n,r,e,a)}Te&&ze.render(e);for(let t=0,n=i.length;t<n;t++){let n=i[t];renderScene(b,e,n,n.viewport)}}else r.length>0&&renderTransmissionPass(n,r,e,t),Te&&ze.render(e),renderScene(b,e,t)}A!==null&&k===0&&(N.updateMultisampleRenderTarget(A),N.updateRenderTargetMipmap(A)),r&&w.end(T),e.isScene===!0&&e.onAfterRender(T,e,t),We.resetDefaultState(),re=-1,ie=null,C.pop(),C.length>0?(x=C[C.length-1],N.setTextureUnits(x.state.textureUnits),ye===!0&&Le.setGlobalState(T.clippingPlanes,x.state.camera)):x=null,S.pop(),b=S.length>0?S[S.length-1]:null,D!==null&&D.renderEnd()};function projectObject(e,t,n,r){if(e.visible===!1)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)e.autoUpdate===!0&&e.update(t);else if(e.isLightProbeGrid)x.pushLightProbeGrid(e);else if(e.isLight)x.pushLight(e),e.castShadow&&x.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ve.intersectsSprite(e)){r&&Ce.setFromMatrixPosition(e.matrixWorld).applyMatrix4(xe);let t=Me.update(e),i=e.material;i.visible&&b.push(e,t,i,n,Ce.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ve.intersectsObject(e))){let t=Me.update(e),i=e.material;if(r&&(e.boundingSphere===void 0?(t.boundingSphere===null&&t.computeBoundingSphere(),Ce.copy(t.boundingSphere.center)):(e.boundingSphere===null&&e.computeBoundingSphere(),Ce.copy(e.boundingSphere.center)),Ce.applyMatrix4(e.matrixWorld).applyMatrix4(xe)),Array.isArray(i)){let r=t.groups;for(let a=0,o=r.length;a<o;a++){let o=r[a],s=i[o.materialIndex];s&&s.visible&&b.push(e,t,s,n,Ce.z,o)}}else i.visible&&b.push(e,t,i,n,Ce.z,null)}}let i=e.children;for(let e=0,a=i.length;e<a;e++)projectObject(i[e],t,n,r)}function renderScene(e,t,n,r){let{opaque:i,transmissive:a,transparent:o}=e;x.setupLightsView(n),ye===!0&&Le.setGlobalState(T.clippingPlanes,n),r&&M.viewport(ae.copy(r)),i.length>0&&renderObjects(i,t,n),a.length>0&&renderObjects(a,t,n),o.length>0&&renderObjects(o,t,n),M.buffers.depth.setTest(!0),M.buffers.depth.setMask(!0),M.buffers.color.setMask(!0),M.setPolygonOffset(!1)}function renderTransmissionPass(e,t,n,r){if((n.isScene===!0?n.overrideMaterial:null)!==null)return;if(x.state.transmissionRenderTarget[r.id]===void 0){let e=Ee.has(`EXT_color_buffer_half_float`)||Ee.has(`EXT_color_buffer_float`);x.state.transmissionRenderTarget[r.id]=new WebGLRenderTarget(1,1,{generateMipmaps:!0,type:e?Hr:Rr,minFilter:Lr,samples:Math.max(4,De.samples),stencilBuffer:i,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:Ei.workingColorSpace})}let a=x.state.transmissionRenderTarget[r.id],o=r.viewport||ae;a.setSize(o.z*T.transmissionResolutionScale,o.w*T.transmissionResolutionScale);let s=T.getRenderTarget(),c=T.getActiveCubeFace(),l=T.getActiveMipmapLevel();T.setRenderTarget(a),T.getClearColor(ce),le=T.getClearAlpha(),le<1&&T.setClearColor(16777215,.5),T.clear(),Te&&ze.render(n);let u=T.toneMapping;T.toneMapping=0;let d=r.viewport;if(r.viewport!==void 0&&(r.viewport=void 0),x.setupLightsView(r),ye===!0&&Le.setGlobalState(T.clippingPlanes,r),renderObjects(e,n,r),N.updateMultisampleRenderTarget(a),N.updateRenderTargetMipmap(a),Ee.has(`WEBGL_multisampled_render_to_texture`)===!1){let e=!1;for(let i=0,a=t.length;i<a;i++){let{object:a,geometry:o,material:s,group:c}=t[i];if(s.side===2&&a.layers.test(r.layers)){let t=s.side;s.side=1,s.needsUpdate=!0,renderObject(a,n,r,o,s,c),s.side=t,s.needsUpdate=!0,e=!0}}e===!0&&(N.updateMultisampleRenderTarget(a),N.updateRenderTargetMipmap(a))}T.setRenderTarget(s,c,l),T.setClearColor(ce,le),d!==void 0&&(r.viewport=d),T.toneMapping=u}function renderObjects(e,t,n){let r=t.isScene===!0?t.overrideMaterial:null;for(let i=0,a=e.length;i<a;i++){let a=e[i],{object:o,geometry:s,group:c}=a,l=a.material;l.allowOverride===!0&&r!==null&&(l=r),o.layers.test(n.layers)&&renderObject(o,t,n,s,l,c)}}function renderObject(e,t,n,r,i,a){e.onBeforeRender(T,t,n,r,i,a),e.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),i.onBeforeRender(T,t,n,r,e,a),i.transparent===!0&&i.side===2&&i.forceSinglePass===!1?(i.side=1,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=0,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=2):T.renderBufferDirect(n,t,r,i,e,a),e.onAfterRender(T,t,n,r,i,a)}function getProgram(e,t,n){t.isScene!==!0&&(t=we);let r=ke.get(e),i=x.state.lights,a=x.state.shadowsArray,o=i.state.version,s=Ne.getParameters(e,i.state,a,t,n,x.state.lightProbeGridArray),c=Ne.getProgramCacheKey(s),l=r.programs;r.environment=e.isMeshStandardMaterial||e.isMeshLambertMaterial||e.isMeshPhongMaterial?t.environment:null,r.fog=t.fog;let u=e.isMeshStandardMaterial||e.isMeshLambertMaterial&&!e.envMap||e.isMeshPhongMaterial&&!e.envMap;r.envMap=P.get(e.envMap||r.environment,u),r.envMapRotation=r.environment!==null&&e.envMap===null?t.environmentRotation:e.envMapRotation,l===void 0&&(e.addEventListener(`dispose`,onMaterialDispose),l=new Map,r.programs=l);let d=l.get(c);if(d!==void 0){if(r.currentProgram===d&&r.lightsStateVersion===o)return updateCommonMaterialProperties(e,s),d}else s.uniforms=Ne.getUniforms(e),D!==null&&e.isNodeMaterial&&D.build(e,n,s),e.onBeforeCompile(s,T),d=Ne.acquireProgram(s,c),l.set(c,d),r.uniforms=s.uniforms;let f=r.uniforms;return(!e.isShaderMaterial&&!e.isRawShaderMaterial||e.clipping===!0)&&(f.clippingPlanes=Le.uniform),updateCommonMaterialProperties(e,s),r.needsLights=materialNeedsLights(e),r.lightsStateVersion=o,r.needsLights&&(f.ambientLightColor.value=i.state.ambient,f.lightProbe.value=i.state.probe,f.directionalLights.value=i.state.directional,f.directionalLightShadows.value=i.state.directionalShadow,f.spotLights.value=i.state.spot,f.spotLightShadows.value=i.state.spotShadow,f.rectAreaLights.value=i.state.rectArea,f.ltc_1.value=i.state.rectAreaLTC1,f.ltc_2.value=i.state.rectAreaLTC2,f.pointLights.value=i.state.point,f.pointLightShadows.value=i.state.pointShadow,f.hemisphereLights.value=i.state.hemi,f.directionalShadowMatrix.value=i.state.directionalShadowMatrix,f.spotLightMatrix.value=i.state.spotLightMatrix,f.spotLightMap.value=i.state.spotLightMap,f.pointShadowMatrix.value=i.state.pointShadowMatrix),r.lightProbeGrid=x.state.lightProbeGridArray.length>0,r.currentProgram=d,r.uniformsList=null,d}function getUniformList(e){if(e.uniformsList===null){let t=e.currentProgram.getUniforms();e.uniformsList=WebGLUniforms.seqWithValue(t.seq,e.uniforms)}return e.uniformsList}function updateCommonMaterialProperties(e,t){let n=ke.get(e);n.outputColorSpace=t.outputColorSpace,n.batching=t.batching,n.batchingColor=t.batchingColor,n.instancing=t.instancing,n.instancingColor=t.instancingColor,n.instancingMorph=t.instancingMorph,n.skinning=t.skinning,n.morphTargets=t.morphTargets,n.morphNormals=t.morphNormals,n.morphColors=t.morphColors,n.morphTargetsCount=t.morphTargetsCount,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas,n.vertexTangents=t.vertexTangents,n.toneMapping=t.toneMapping}function findLightProbeGrid(e,t){if(e.length===0)return null;if(e.length===1)return e[0].texture===null?null:e[0];y.setFromMatrixPosition(t.matrixWorld);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n.texture!==null&&n.boundingBox.containsPoint(y))return n}return null}function setProgram(e,t,n,r,i){t.isScene!==!0&&(t=we),N.resetTextureUnits();let a=t.fog,o=r.isMeshStandardMaterial||r.isMeshLambertMaterial||r.isMeshPhongMaterial?t.environment:null,s=A===null?T.outputColorSpace:A.isXRRenderTarget===!0?A.texture.colorSpace:Ei.workingColorSpace,c=r.isMeshStandardMaterial||r.isMeshLambertMaterial&&!r.envMap||r.isMeshPhongMaterial&&!r.envMap,l=P.get(r.envMap||o,c),u=r.vertexColors===!0&&!!n.attributes.color&&n.attributes.color.itemSize===4,d=!!n.attributes.tangent&&(!!r.normalMap||r.anisotropy>0),f=!!n.morphAttributes.position,p=!!n.morphAttributes.normal,m=!!n.morphAttributes.color,h=0;r.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(h=T.toneMapping);let g=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,_=g===void 0?0:g.length,v=ke.get(r),y=x.state.lights;if(ye===!0&&(be===!0||e!==ie)){let t=e===ie&&r.id===re;Le.setState(r,e,t)}let b=!1;r.version===v.__version?v.needsLights&&v.lightsStateVersion!==y.state.version?b=!0:v.outputColorSpace===s?i.isBatchedMesh&&v.batching===!1||!i.isBatchedMesh&&v.batching===!0||i.isBatchedMesh&&v.batchingColor===!0&&i.colorTexture===null||i.isBatchedMesh&&v.batchingColor===!1&&i.colorTexture!==null||i.isInstancedMesh&&v.instancing===!1||!i.isInstancedMesh&&v.instancing===!0||i.isSkinnedMesh&&v.skinning===!1||!i.isSkinnedMesh&&v.skinning===!0||i.isInstancedMesh&&v.instancingColor===!0&&i.instanceColor===null||i.isInstancedMesh&&v.instancingColor===!1&&i.instanceColor!==null||i.isInstancedMesh&&v.instancingMorph===!0&&i.morphTexture===null||i.isInstancedMesh&&v.instancingMorph===!1&&i.morphTexture!==null?b=!0:v.envMap===l?r.fog===!0&&v.fog!==a||v.numClippingPlanes!==void 0&&(v.numClippingPlanes!==Le.numPlanes||v.numIntersection!==Le.numIntersection)?b=!0:v.vertexAlphas===u&&v.vertexTangents===d&&v.morphTargets===f&&v.morphNormals===p&&v.morphColors===m&&v.toneMapping===h&&v.morphTargetsCount===_?!!v.lightProbeGrid!=x.state.lightProbeGridArray.length>0&&(b=!0):b=!0:b=!0:b=!0:(b=!0,v.__version=r.version);let S=v.currentProgram;b===!0&&(S=getProgram(r,t,i),D&&r.isNodeMaterial&&D.onUpdateProgram(r,S,v));let C=!1,w=!1,E=!1,O=S.getUniforms(),ee=v.uniforms;if(M.useProgram(S.program)&&(C=!0,w=!0,E=!0),r.id!==re&&(re=r.id,w=!0),v.needsLights){let e=findLightProbeGrid(x.state.lightProbeGridArray,i);v.lightProbeGrid!==e&&(v.lightProbeGrid=e,w=!0)}if(C||ie!==e){M.buffers.depth.getReversed()&&e.reversedDepth!==!0&&(e._reversedDepth=!0,e.updateProjectionMatrix()),O.setValue(j,`projectionMatrix`,e.projectionMatrix),O.setValue(j,`viewMatrix`,e.matrixWorldInverse);let t=O.map.cameraPosition;t!==void 0&&t.setValue(j,Se.setFromMatrixPosition(e.matrixWorld)),De.logarithmicDepthBuffer&&O.setValue(j,`logDepthBufFC`,2/(Math.log(e.far+1)/Math.LN2)),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&O.setValue(j,`isOrthographic`,e.isOrthographicCamera===!0),ie!==e&&(ie=e,w=!0,E=!0)}if(v.needsLights&&(y.state.directionalShadowMap.length>0&&O.setValue(j,`directionalShadowMap`,y.state.directionalShadowMap,N),y.state.spotShadowMap.length>0&&O.setValue(j,`spotShadowMap`,y.state.spotShadowMap,N),y.state.pointShadowMap.length>0&&O.setValue(j,`pointShadowMap`,y.state.pointShadowMap,N)),i.isSkinnedMesh){O.setOptional(j,i,`bindMatrix`),O.setOptional(j,i,`bindMatrixInverse`);let e=i.skeleton;e&&(e.boneTexture===null&&e.computeBoneTexture(),O.setValue(j,`boneTexture`,e.boneTexture,N))}i.isBatchedMesh&&(O.setOptional(j,i,`batchingTexture`),O.setValue(j,`batchingTexture`,i._matricesTexture,N),O.setOptional(j,i,`batchingIdTexture`),O.setValue(j,`batchingIdTexture`,i._indirectTexture,N),O.setOptional(j,i,`batchingColorTexture`),i._colorsTexture!==null&&O.setValue(j,`batchingColorTexture`,i._colorsTexture,N));let te=n.morphAttributes;if((te.position!==void 0||te.normal!==void 0||te.color!==void 0)&&Be.update(i,n,S),(w||v.receiveShadow!==i.receiveShadow)&&(v.receiveShadow=i.receiveShadow,O.setValue(j,`receiveShadow`,i.receiveShadow)),(r.isMeshStandardMaterial||r.isMeshLambertMaterial||r.isMeshPhongMaterial)&&r.envMap===null&&t.environment!==null&&(ee.envMapIntensity.value=t.environmentIntensity),ee.dfgLUT!==void 0&&(ee.dfgLUT.value=getDFGLUT()),w){if(O.setValue(j,`toneMappingExposure`,T.toneMappingExposure),v.needsLights&&markUniformsLightsNeedsUpdate(ee,E),a&&r.fog===!0&&Pe.refreshFogUniforms(ee,a),Pe.refreshMaterialUniforms(ee,r,fe,de,x.state.transmissionRenderTarget[e.id]),v.needsLights&&v.lightProbeGrid){let e=v.lightProbeGrid;ee.probesSH.value=e.texture,ee.probesMin.value.copy(e.boundingBox.min),ee.probesMax.value.copy(e.boundingBox.max),ee.probesResolution.value.copy(e.resolution)}WebGLUniforms.upload(j,getUniformList(v),ee,N)}if(r.isShaderMaterial&&r.uniformsNeedUpdate===!0&&(WebGLUniforms.upload(j,getUniformList(v),ee,N),r.uniformsNeedUpdate=!1),r.isSpriteMaterial&&O.setValue(j,`center`,i.center),O.setValue(j,`modelViewMatrix`,i.modelViewMatrix),O.setValue(j,`normalMatrix`,i.normalMatrix),O.setValue(j,`modelMatrix`,i.matrixWorld),r.uniformsGroups!==void 0){let e=r.uniformsGroups;for(let t=0,n=e.length;t<n;t++){let n=e[t];Ge.update(n,S),Ge.bind(n,S)}}return S}function markUniformsLightsNeedsUpdate(e,t){e.ambientLightColor.needsUpdate=t,e.lightProbe.needsUpdate=t,e.directionalLights.needsUpdate=t,e.directionalLightShadows.needsUpdate=t,e.pointLights.needsUpdate=t,e.pointLightShadows.needsUpdate=t,e.spotLights.needsUpdate=t,e.spotLightShadows.needsUpdate=t,e.rectAreaLights.needsUpdate=t,e.hemisphereLights.needsUpdate=t}function materialNeedsLights(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&e.lights===!0}this.getActiveCubeFace=function(){return ne},this.getActiveMipmapLevel=function(){return k},this.getRenderTarget=function(){return A},this.setRenderTargetTextures=function(e,t,n){let r=ke.get(e);r.__autoAllocateDepthBuffer=e.resolveDepthBuffer===!1,r.__autoAllocateDepthBuffer===!1&&(r.__useRenderToTexture=!1),ke.get(e.texture).__webglTexture=t,ke.get(e.depthTexture).__webglTexture=r.__autoAllocateDepthBuffer?void 0:n,r.__hasExternalTextures=!0},this.setRenderTargetFramebuffer=function(e,t){let n=ke.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=t===void 0},this.setRenderTarget=function(e,t=0,n=0){A=e,ne=t,k=n;let r=null,i=!1,a=!1;if(e){let o=ke.get(e);if(o.__useDefaultFramebuffer!==void 0){M.bindFramebuffer(j.FRAMEBUFFER,o.__webglFramebuffer),ae.copy(e.viewport),oe.copy(e.scissor),se=e.scissorTest,M.viewport(ae),M.scissor(oe),M.setScissorTest(se),re=-1;return}else if(o.__webglFramebuffer===void 0)N.setupRenderTarget(e);else if(o.__hasExternalTextures)N.rebindTextures(e,ke.get(e.texture).__webglTexture,ke.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){let t=e.depthTexture;if(o.__boundDepthTexture!==t){if(t!==null&&ke.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw Error(`THREE.WebGLRenderer: Attached DepthTexture is initialized to the incorrect size.`);N.setupDepthRenderbuffer(e)}}let s=e.texture;(s.isData3DTexture||s.isDataArrayTexture||s.isCompressedArrayTexture)&&(a=!0);let c=ke.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(r=Array.isArray(c[t])?c[t][n]:c[t],i=!0):r=e.samples>0&&N.useMultisampledRTT(e)===!1?ke.get(e).__webglMultisampledFramebuffer:Array.isArray(c)?c[n]:c,ae.copy(e.viewport),oe.copy(e.scissor),se=e.scissorTest}else ae.copy(he).multiplyScalar(fe).floor(),oe.copy(ge).multiplyScalar(fe).floor(),se=_e;if(n!==0&&(r=O),M.bindFramebuffer(j.FRAMEBUFFER,r)&&M.drawBuffers(e,r),M.viewport(ae),M.scissor(oe),M.setScissorTest(se),i){let r=ke.get(e.texture);j.framebufferTexture2D(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_CUBE_MAP_POSITIVE_X+t,r.__webglTexture,n)}else if(a){let r=t;for(let t=0;t<e.textures.length;t++){let i=ke.get(e.textures[t]);j.framebufferTextureLayer(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0+t,i.__webglTexture,n,r)}}else if(e!==null&&n!==0){let t=ke.get(e.texture);j.framebufferTexture2D(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,t.__webglTexture,n)}re=-1},this.readRenderTargetPixels=function(e,t,n,r,i,a,o,s=0){if(!(e&&e.isWebGLRenderTarget)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.`);return}let c=ke.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&o!==void 0&&(c=c[o]),c){M.bindFramebuffer(j.FRAMEBUFFER,c);try{let o=e.textures[s],c=o.format,l=o.type;if(e.textures.length>1&&j.readBuffer(j.COLOR_ATTACHMENT0+s),!De.textureFormatReadable(c)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.`);return}if(!De.textureTypeReadable(l)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.`);return}t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&j.readPixels(t,n,r,i,Ue.convert(c),Ue.convert(l),a)}finally{let e=A===null?null:ke.get(A).__webglFramebuffer;M.bindFramebuffer(j.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,r,i,a,o,s=0){if(!(e&&e.isWebGLRenderTarget))throw Error(`THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.`);let c=ke.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&o!==void 0&&(c=c[o]),c)if(t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i){M.bindFramebuffer(j.FRAMEBUFFER,c);let o=e.textures[s],l=o.format,u=o.type;if(e.textures.length>1&&j.readBuffer(j.COLOR_ATTACHMENT0+s),!De.textureFormatReadable(l))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.`);if(!De.textureTypeReadable(u))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.`);let d=j.createBuffer();j.bindBuffer(j.PIXEL_PACK_BUFFER,d),j.bufferData(j.PIXEL_PACK_BUFFER,a.byteLength,j.STREAM_READ),j.readPixels(t,n,r,i,Ue.convert(l),Ue.convert(u),0);let f=A===null?null:ke.get(A).__webglFramebuffer;M.bindFramebuffer(j.FRAMEBUFFER,f);let p=j.fenceSync(j.SYNC_GPU_COMMANDS_COMPLETE,0);return j.flush(),await probeAsync(j,p,4),j.bindBuffer(j.PIXEL_PACK_BUFFER,d),j.getBufferSubData(j.PIXEL_PACK_BUFFER,0,a),j.deleteBuffer(d),j.deleteSync(p),a}else throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.`)},this.copyFramebufferToTexture=function(e,t=null,n=0){let r=2**-n,i=Math.floor(e.image.width*r),a=Math.floor(e.image.height*r),o=t===null?0:t.x,s=t===null?0:t.y;N.setTexture2D(e,0),j.copyTexSubImage2D(j.TEXTURE_2D,n,0,0,o,s,i,a),M.unbindTexture()},this.copyTextureToTexture=function(e,t,n=null,r=null,i=0,a=0){let o,s,c,l,u,d,f,p,m,h=e.isCompressedTexture?e.mipmaps[a]:e.image;if(n!==null)o=n.max.x-n.min.x,s=n.max.y-n.min.y,c=n.isBox3?n.max.z-n.min.z:1,l=n.min.x,u=n.min.y,d=n.isBox3?n.min.z:0;else{let t=2**-i;o=Math.floor(h.width*t),s=Math.floor(h.height*t),c=e.isDataArrayTexture?h.depth:e.isData3DTexture?Math.floor(h.depth*t):1,l=0,u=0,d=0}r===null?(f=0,p=0,m=0):(f=r.x,p=r.y,m=r.z);let g=Ue.convert(t.format),_=Ue.convert(t.type),v;t.isData3DTexture?(N.setTexture3D(t,0),v=j.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(N.setTexture2DArray(t,0),v=j.TEXTURE_2D_ARRAY):(N.setTexture2D(t,0),v=j.TEXTURE_2D),M.activeTexture(j.TEXTURE0),M.pixelStorei(j.UNPACK_FLIP_Y_WEBGL,t.flipY),M.pixelStorei(j.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),M.pixelStorei(j.UNPACK_ALIGNMENT,t.unpackAlignment);let y=M.getParameter(j.UNPACK_ROW_LENGTH),b=M.getParameter(j.UNPACK_IMAGE_HEIGHT),x=M.getParameter(j.UNPACK_SKIP_PIXELS),S=M.getParameter(j.UNPACK_SKIP_ROWS),C=M.getParameter(j.UNPACK_SKIP_IMAGES);M.pixelStorei(j.UNPACK_ROW_LENGTH,h.width),M.pixelStorei(j.UNPACK_IMAGE_HEIGHT,h.height),M.pixelStorei(j.UNPACK_SKIP_PIXELS,l),M.pixelStorei(j.UNPACK_SKIP_ROWS,u),M.pixelStorei(j.UNPACK_SKIP_IMAGES,d);let w=e.isDataArrayTexture||e.isData3DTexture,T=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=ke.get(e),r=ke.get(t),h=ke.get(n.__renderTarget),g=ke.get(r.__renderTarget);M.bindFramebuffer(j.READ_FRAMEBUFFER,h.__webglFramebuffer),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,g.__webglFramebuffer);for(let n=0;n<c;n++)w&&(j.framebufferTextureLayer(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,ke.get(e).__webglTexture,i,d+n),j.framebufferTextureLayer(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,ke.get(t).__webglTexture,a,m+n)),j.blitFramebuffer(l,u,o,s,f,p,o,s,j.DEPTH_BUFFER_BIT,j.NEAREST);M.bindFramebuffer(j.READ_FRAMEBUFFER,null),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,null)}else if(i!==0||e.isRenderTargetTexture||ke.has(e)){let n=ke.get(e),r=ke.get(t);M.bindFramebuffer(j.READ_FRAMEBUFFER,ee),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,te);for(let e=0;e<c;e++)w?j.framebufferTextureLayer(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,n.__webglTexture,i,d+e):j.framebufferTexture2D(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,n.__webglTexture,i),T?j.framebufferTextureLayer(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,r.__webglTexture,a,m+e):j.framebufferTexture2D(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,r.__webglTexture,a),i===0?T?j.copyTexSubImage3D(v,a,f,p,m+e,l,u,o,s):j.copyTexSubImage2D(v,a,f,p,l,u,o,s):j.blitFramebuffer(l,u,o,s,f,p,o,s,j.COLOR_BUFFER_BIT,j.NEAREST);M.bindFramebuffer(j.READ_FRAMEBUFFER,null),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,null)}else T?e.isDataTexture||e.isData3DTexture?j.texSubImage3D(v,a,f,p,m,o,s,c,g,_,h.data):t.isCompressedArrayTexture?j.compressedTexSubImage3D(v,a,f,p,m,o,s,c,g,h.data):j.texSubImage3D(v,a,f,p,m,o,s,c,g,_,h):e.isDataTexture?j.texSubImage2D(j.TEXTURE_2D,a,f,p,o,s,g,_,h.data):e.isCompressedTexture?j.compressedTexSubImage2D(j.TEXTURE_2D,a,f,p,h.width,h.height,g,h.data):j.texSubImage2D(j.TEXTURE_2D,a,f,p,o,s,g,_,h);M.pixelStorei(j.UNPACK_ROW_LENGTH,y),M.pixelStorei(j.UNPACK_IMAGE_HEIGHT,b),M.pixelStorei(j.UNPACK_SKIP_PIXELS,x),M.pixelStorei(j.UNPACK_SKIP_ROWS,S),M.pixelStorei(j.UNPACK_SKIP_IMAGES,C),a===0&&t.generateMipmaps&&j.generateMipmap(v),M.unbindTexture()},this.initRenderTarget=function(e){ke.get(e).__webglFramebuffer===void 0&&N.setupRenderTarget(e)},this.initTexture=function(e){e.isCubeTexture?N.setTextureCube(e,0):e.isData3DTexture?N.setTexture3D(e,0):e.isDataArrayTexture||e.isCompressedArrayTexture?N.setTexture2DArray(e,0):N.setTexture2D(e,0),M.unbindTexture()},this.resetState=function(){ne=0,k=0,A=null,M.reset(),We.reset()},typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}get coordinateSystem(){return di}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;let t=this.getContext();t.drawingBufferColorSpace=Ei._getDrawingBufferColorSpace(e),t.unpackColorSpace=Ei._getUnpackColorSpace()}};const Rs={type:`change`},zs={type:`start`},Bs={type:`end`},Vs=new Ray,Hs=new Plane,Us=Math.cos(70*vi.DEG2RAD),Ws=new I,Gs=2*Math.PI,Ks={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6},qs=1e-6;var OrbitControls=class extends Controls{constructor(e,t=null){super(e,t),this.state=Ks.NONE,this.target=new I,this.cursor=new I,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minTargetRadius=0,this.maxTargetRadius=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.keyRotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.zoomToCursor=!1,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:`ArrowLeft`,UP:`ArrowUp`,RIGHT:`ArrowRight`,BOTTOM:`ArrowDown`},this.mouseButtons={LEFT:Ar.ROTATE,MIDDLE:Ar.DOLLY,RIGHT:Ar.PAN},this.touches={ONE:jr.ROTATE,TWO:jr.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._cursorStyle=`auto`,this._domElementKeyEvents=null,this._lastPosition=new I,this._lastQuaternion=new Quaternion,this._lastTargetPosition=new I,this._quat=new Quaternion().setFromUnitVectors(e.up,new I(0,1,0)),this._quatInverse=this._quat.clone().invert(),this._spherical=new Spherical,this._sphericalDelta=new Spherical,this._scale=1,this._panOffset=new I,this._rotateStart=new yi,this._rotateEnd=new yi,this._rotateDelta=new yi,this._panStart=new yi,this._panEnd=new yi,this._panDelta=new yi,this._dollyStart=new yi,this._dollyEnd=new yi,this._dollyDelta=new yi,this._dollyDirection=new I,this._mouse=new yi,this._performCursorZoom=!1,this._pointers=[],this._pointerPositions={},this._controlActive=!1,this._onPointerMove=onPointerMove.bind(this),this._onPointerDown=onPointerDown.bind(this),this._onPointerUp=onPointerUp.bind(this),this._onContextMenu=onContextMenu.bind(this),this._onMouseWheel=onMouseWheel.bind(this),this._onKeyDown=onKeyDown.bind(this),this._onTouchStart=onTouchStart.bind(this),this._onTouchMove=onTouchMove.bind(this),this._onMouseDown=onMouseDown.bind(this),this._onMouseMove=onMouseMove.bind(this),this._interceptControlDown=interceptControlDown.bind(this),this._interceptControlUp=interceptControlUp.bind(this),this.domElement!==null&&this.connect(this.domElement),this.update()}set cursorStyle(e){this._cursorStyle=e,e===`grab`?this.domElement.style.cursor=`grab`:this.domElement.style.cursor=`auto`}get cursorStyle(){return this._cursorStyle}connect(e){super.connect(e),this.domElement.addEventListener(`pointerdown`,this._onPointerDown),this.domElement.addEventListener(`pointercancel`,this._onPointerUp),this.domElement.addEventListener(`contextmenu`,this._onContextMenu),this.domElement.addEventListener(`wheel`,this._onMouseWheel,{passive:!1}),this.domElement.getRootNode().addEventListener(`keydown`,this._interceptControlDown,{passive:!0,capture:!0}),this.domElement.style.touchAction=`none`}disconnect(){this.domElement.removeEventListener(`pointerdown`,this._onPointerDown),this.domElement.ownerDocument.removeEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.removeEventListener(`pointerup`,this._onPointerUp),this.domElement.removeEventListener(`pointercancel`,this._onPointerUp),this.domElement.removeEventListener(`wheel`,this._onMouseWheel),this.domElement.removeEventListener(`contextmenu`,this._onContextMenu),this.stopListenToKeyEvents(),this.domElement.getRootNode().removeEventListener(`keydown`,this._interceptControlDown,{capture:!0}),this.domElement.style.touchAction=``}dispose(){this.disconnect()}getPolarAngle(){return this._spherical.phi}getAzimuthalAngle(){return this._spherical.theta}getDistance(){return this.object.position.distanceTo(this.target)}listenToKeyEvents(e){e.addEventListener(`keydown`,this._onKeyDown),this._domElementKeyEvents=e}stopListenToKeyEvents(){this._domElementKeyEvents!==null&&(this._domElementKeyEvents.removeEventListener(`keydown`,this._onKeyDown),this._domElementKeyEvents=null)}saveState(){this.target0.copy(this.target),this.position0.copy(this.object.position),this.zoom0=this.object.zoom}reset(){this.target.copy(this.target0),this.object.position.copy(this.position0),this.object.zoom=this.zoom0,this.object.updateProjectionMatrix(),this.dispatchEvent(Rs),this.update(),this.state=Ks.NONE}pan(e,t){this._pan(e,t),this.update()}dollyIn(e){this._dollyIn(e),this.update()}dollyOut(e){this._dollyOut(e),this.update()}rotateLeft(e){this._rotateLeft(e),this.update()}rotateUp(e){this._rotateUp(e),this.update()}update(e=null){let t=this.object.position;Ws.copy(t).sub(this.target),Ws.applyQuaternion(this._quat),this._spherical.setFromVector3(Ws),this.autoRotate&&this.state===Ks.NONE&&this._rotateLeft(this._getAutoRotationAngle(e)),this.enableDamping?(this._spherical.theta+=this._sphericalDelta.theta*this.dampingFactor,this._spherical.phi+=this._sphericalDelta.phi*this.dampingFactor):(this._spherical.theta+=this._sphericalDelta.theta,this._spherical.phi+=this._sphericalDelta.phi);let n=this.minAzimuthAngle,r=this.maxAzimuthAngle;isFinite(n)&&isFinite(r)&&(n<-Math.PI?n+=Gs:n>Math.PI&&(n-=Gs),r<-Math.PI?r+=Gs:r>Math.PI&&(r-=Gs),n<=r?this._spherical.theta=Math.max(n,Math.min(r,this._spherical.theta)):this._spherical.theta=this._spherical.theta>(n+r)/2?Math.max(n,this._spherical.theta):Math.min(r,this._spherical.theta)),this._spherical.phi=Math.max(this.minPolarAngle,Math.min(this.maxPolarAngle,this._spherical.phi)),this._spherical.makeSafe(),this.enableDamping===!0?this.target.addScaledVector(this._panOffset,this.dampingFactor):this.target.add(this._panOffset),this.target.sub(this.cursor),this.target.clampLength(this.minTargetRadius,this.maxTargetRadius),this.target.add(this.cursor);let i=!1;if(this.zoomToCursor&&this._performCursorZoom||this.object.isOrthographicCamera)this._spherical.radius=this._clampDistance(this._spherical.radius);else{let e=this._spherical.radius;this._spherical.radius=this._clampDistance(this._spherical.radius*this._scale),i=e!=this._spherical.radius}if(Ws.setFromSpherical(this._spherical),Ws.applyQuaternion(this._quatInverse),t.copy(this.target).add(Ws),this.object.lookAt(this.target),this.enableDamping===!0?(this._sphericalDelta.theta*=1-this.dampingFactor,this._sphericalDelta.phi*=1-this.dampingFactor,this._panOffset.multiplyScalar(1-this.dampingFactor)):(this._sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0)),this.zoomToCursor&&this._performCursorZoom){let e=null;if(this.object.isPerspectiveCamera){let t=Ws.length();e=this._clampDistance(t*this._scale);let n=t-e;this.object.position.addScaledVector(this._dollyDirection,n),this.object.updateMatrixWorld(),i=!!n}else if(this.object.isOrthographicCamera){let t=new I(this._mouse.x,this._mouse.y,0);t.unproject(this.object);let n=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),this.object.updateProjectionMatrix(),i=n!==this.object.zoom;let r=new I(this._mouse.x,this._mouse.y,0);r.unproject(this.object),this.object.position.sub(r).add(t),this.object.updateMatrixWorld(),e=Ws.length()}else k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled.`),this.zoomToCursor=!1;e!==null&&(this.screenSpacePanning?this.target.set(0,0,-1).transformDirection(this.object.matrix).multiplyScalar(e).add(this.object.position):(Vs.origin.copy(this.object.position),Vs.direction.set(0,0,-1).transformDirection(this.object.matrix),Math.abs(this.object.up.dot(Vs.direction))<Us?this.object.lookAt(this.target):(Hs.setFromNormalAndCoplanarPoint(this.object.up,this.target),Vs.intersectPlane(Hs,this.target))))}else if(this.object.isOrthographicCamera){let e=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),e!==this.object.zoom&&(this.object.updateProjectionMatrix(),i=!0)}return this._scale=1,this._performCursorZoom=!1,i||this._lastPosition.distanceToSquared(this.object.position)>qs||8*(1-this._lastQuaternion.dot(this.object.quaternion))>qs||this._lastTargetPosition.distanceToSquared(this.target)>qs?(this.dispatchEvent(Rs),this._lastPosition.copy(this.object.position),this._lastQuaternion.copy(this.object.quaternion),this._lastTargetPosition.copy(this.target),!0):!1}_getAutoRotationAngle(e){return e===null?Gs/60/60*this.autoRotateSpeed:Gs/60*this.autoRotateSpeed*e}_getZoomScale(e){let t=Math.abs(e*.01);return .95**(this.zoomSpeed*t)}_rotateLeft(e){this._sphericalDelta.theta-=e}_rotateUp(e){this._sphericalDelta.phi-=e}_panLeft(e,t){Ws.setFromMatrixColumn(t,0),Ws.multiplyScalar(-e),this._panOffset.add(Ws)}_panUp(e,t){this.screenSpacePanning===!0?Ws.setFromMatrixColumn(t,1):(Ws.setFromMatrixColumn(t,0),Ws.crossVectors(this.object.up,Ws)),Ws.multiplyScalar(e),this._panOffset.add(Ws)}_pan(e,t){let n=this.domElement;if(this.object.isPerspectiveCamera){let r=this.object.position;Ws.copy(r).sub(this.target);let i=Ws.length();i*=Math.tan(this.object.fov/2*Math.PI/180),this._panLeft(2*e*i/n.clientHeight,this.object.matrix),this._panUp(2*t*i/n.clientHeight,this.object.matrix)}else this.object.isOrthographicCamera?(this._panLeft(e*(this.object.right-this.object.left)/this.object.zoom/n.clientWidth,this.object.matrix),this._panUp(t*(this.object.top-this.object.bottom)/this.object.zoom/n.clientHeight,this.object.matrix)):(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.`),this.enablePan=!1)}_dollyOut(e){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale/=e:(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.`),this.enableZoom=!1)}_dollyIn(e){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale*=e:(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.`),this.enableZoom=!1)}_updateZoomParameters(e,t){if(!this.zoomToCursor)return;this._performCursorZoom=!0;let n=this.domElement.getBoundingClientRect(),r=e-n.left,i=t-n.top,a=n.width,o=n.height;this._mouse.x=r/a*2-1,this._mouse.y=-(i/o)*2+1,this._dollyDirection.set(this._mouse.x,this._mouse.y,1).unproject(this.object).sub(this.object.position).normalize()}_clampDistance(e){return Math.max(this.minDistance,Math.min(this.maxDistance,e))}_handleMouseDownRotate(e){this._rotateStart.set(e.clientX,e.clientY)}_handleMouseDownDolly(e){this._updateZoomParameters(e.clientX,e.clientX),this._dollyStart.set(e.clientX,e.clientY)}_handleMouseDownPan(e){this._panStart.set(e.clientX,e.clientY)}_handleMouseMoveRotate(e){this._rotateEnd.set(e.clientX,e.clientY),this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);let t=this.domElement;this._rotateLeft(Gs*this._rotateDelta.x/t.clientHeight),this._rotateUp(Gs*this._rotateDelta.y/t.clientHeight),this._rotateStart.copy(this._rotateEnd),this.update()}_handleMouseMoveDolly(e){this._dollyEnd.set(e.clientX,e.clientY),this._dollyDelta.subVectors(this._dollyEnd,this._dollyStart),this._dollyDelta.y>0?this._dollyOut(this._getZoomScale(this._dollyDelta.y)):this._dollyDelta.y<0&&this._dollyIn(this._getZoomScale(this._dollyDelta.y)),this._dollyStart.copy(this._dollyEnd),this.update()}_handleMouseMovePan(e){this._panEnd.set(e.clientX,e.clientY),this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd),this.update()}_handleMouseWheel(e){this._updateZoomParameters(e.clientX,e.clientY),e.deltaY<0?this._dollyIn(this._getZoomScale(e.deltaY)):e.deltaY>0&&this._dollyOut(this._getZoomScale(e.deltaY)),this.update()}_handleKeyDown(e){let t=!1;switch(e.code){case this.keys.UP:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateUp(Gs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,this.keyPanSpeed),t=!0;break;case this.keys.BOTTOM:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateUp(-Gs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,-this.keyPanSpeed),t=!0;break;case this.keys.LEFT:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateLeft(Gs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(this.keyPanSpeed,0),t=!0;break;case this.keys.RIGHT:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateLeft(-Gs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(-this.keyPanSpeed,0),t=!0;break}t&&(e.preventDefault(),this.update())}_handleTouchStartRotate(e){if(this._pointers.length===1)this._rotateStart.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._rotateStart.set(n,r)}}_handleTouchStartPan(e){if(this._pointers.length===1)this._panStart.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._panStart.set(n,r)}}_handleTouchStartDolly(e){let t=this._getSecondPointerPosition(e),n=e.pageX-t.x,r=e.pageY-t.y,i=Math.sqrt(n*n+r*r);this._dollyStart.set(0,i)}_handleTouchStartDollyPan(e){this.enableZoom&&this._handleTouchStartDolly(e),this.enablePan&&this._handleTouchStartPan(e)}_handleTouchStartDollyRotate(e){this.enableZoom&&this._handleTouchStartDolly(e),this.enableRotate&&this._handleTouchStartRotate(e)}_handleTouchMoveRotate(e){if(this._pointers.length==1)this._rotateEnd.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._rotateEnd.set(n,r)}this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);let t=this.domElement;this._rotateLeft(Gs*this._rotateDelta.x/t.clientHeight),this._rotateUp(Gs*this._rotateDelta.y/t.clientHeight),this._rotateStart.copy(this._rotateEnd)}_handleTouchMovePan(e){if(this._pointers.length===1)this._panEnd.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._panEnd.set(n,r)}this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd)}_handleTouchMoveDolly(e){let t=this._getSecondPointerPosition(e),n=e.pageX-t.x,r=e.pageY-t.y,i=Math.sqrt(n*n+r*r);this._dollyEnd.set(0,i),this._dollyDelta.set(0,(this._dollyEnd.y/this._dollyStart.y)**+this.zoomSpeed),this._dollyOut(this._dollyDelta.y),this._dollyStart.copy(this._dollyEnd);let a=(e.pageX+t.x)*.5,o=(e.pageY+t.y)*.5;this._updateZoomParameters(a,o)}_handleTouchMoveDollyPan(e){this.enableZoom&&this._handleTouchMoveDolly(e),this.enablePan&&this._handleTouchMovePan(e)}_handleTouchMoveDollyRotate(e){this.enableZoom&&this._handleTouchMoveDolly(e),this.enableRotate&&this._handleTouchMoveRotate(e)}_addPointer(e){this._pointers.push(e.pointerId)}_removePointer(e){delete this._pointerPositions[e.pointerId];for(let t=0;t<this._pointers.length;t++)if(this._pointers[t]==e.pointerId){this._pointers.splice(t,1);return}}_isTrackingPointer(e){for(let t=0;t<this._pointers.length;t++)if(this._pointers[t]==e.pointerId)return!0;return!1}_trackPointer(e){let t=this._pointerPositions[e.pointerId];t===void 0&&(t=new yi,this._pointerPositions[e.pointerId]=t),t.set(e.pageX,e.pageY)}_getSecondPointerPosition(e){let t=e.pointerId===this._pointers[0]?this._pointers[1]:this._pointers[0];return this._pointerPositions[t]}_customWheelEvent(e){let t=e.deltaMode,n={clientX:e.clientX,clientY:e.clientY,deltaY:e.deltaY};switch(t){case 1:n.deltaY*=16;break;case 2:n.deltaY*=100;break}return e.ctrlKey&&!this._controlActive&&(n.deltaY*=10),n}};function onPointerDown(e){this.enabled!==!1&&(this._pointers.length===0&&(this.domElement.setPointerCapture(e.pointerId),this.domElement.ownerDocument.addEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.addEventListener(`pointerup`,this._onPointerUp)),!this._isTrackingPointer(e)&&(this._addPointer(e),e.pointerType===`touch`?this._onTouchStart(e):this._onMouseDown(e),this._cursorStyle===`grab`&&(this.domElement.style.cursor=`grabbing`)))}function onPointerMove(e){this.enabled!==!1&&(e.pointerType===`touch`?this._onTouchMove(e):this._onMouseMove(e))}function onPointerUp(e){switch(this._removePointer(e),this._pointers.length){case 0:this.domElement.releasePointerCapture(e.pointerId),this.domElement.ownerDocument.removeEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.removeEventListener(`pointerup`,this._onPointerUp),this.dispatchEvent(Bs),this.state=Ks.NONE,this._cursorStyle===`grab`&&(this.domElement.style.cursor=`grab`);break;case 1:let t=this._pointers[0],n=this._pointerPositions[t];this._onTouchStart({pointerId:t,pageX:n.x,pageY:n.y});break}}function onMouseDown(e){let t;switch(e.button){case 0:t=this.mouseButtons.LEFT;break;case 1:t=this.mouseButtons.MIDDLE;break;case 2:t=this.mouseButtons.RIGHT;break;default:t=-1}switch(t){case Ar.DOLLY:if(this.enableZoom===!1)return;this._handleMouseDownDolly(e),this.state=Ks.DOLLY;break;case Ar.ROTATE:if(e.ctrlKey||e.metaKey||e.shiftKey){if(this.enablePan===!1)return;this._handleMouseDownPan(e),this.state=Ks.PAN}else{if(this.enableRotate===!1)return;this._handleMouseDownRotate(e),this.state=Ks.ROTATE}break;case Ar.PAN:if(e.ctrlKey||e.metaKey||e.shiftKey){if(this.enableRotate===!1)return;this._handleMouseDownRotate(e),this.state=Ks.ROTATE}else{if(this.enablePan===!1)return;this._handleMouseDownPan(e),this.state=Ks.PAN}break;default:this.state=Ks.NONE}this.state!==Ks.NONE&&this.dispatchEvent(zs)}function onMouseMove(e){switch(this.state){case Ks.ROTATE:if(this.enableRotate===!1)return;this._handleMouseMoveRotate(e);break;case Ks.DOLLY:if(this.enableZoom===!1)return;this._handleMouseMoveDolly(e);break;case Ks.PAN:if(this.enablePan===!1)return;this._handleMouseMovePan(e);break}}function onMouseWheel(e){this.enabled===!1||this.enableZoom===!1||this.state!==Ks.NONE||(e.preventDefault(),this.dispatchEvent(zs),this._handleMouseWheel(this._customWheelEvent(e)),this.dispatchEvent(Bs))}function onKeyDown(e){this.enabled!==!1&&this._handleKeyDown(e)}function onTouchStart(e){switch(this._trackPointer(e),this._pointers.length){case 1:switch(this.touches.ONE){case jr.ROTATE:if(this.enableRotate===!1)return;this._handleTouchStartRotate(e),this.state=Ks.TOUCH_ROTATE;break;case jr.PAN:if(this.enablePan===!1)return;this._handleTouchStartPan(e),this.state=Ks.TOUCH_PAN;break;default:this.state=Ks.NONE}break;case 2:switch(this.touches.TWO){case jr.DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchStartDollyPan(e),this.state=Ks.TOUCH_DOLLY_PAN;break;case jr.DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchStartDollyRotate(e),this.state=Ks.TOUCH_DOLLY_ROTATE;break;default:this.state=Ks.NONE}break;default:this.state=Ks.NONE}this.state!==Ks.NONE&&this.dispatchEvent(zs)}function onTouchMove(e){switch(this._trackPointer(e),this.state){case Ks.TOUCH_ROTATE:if(this.enableRotate===!1)return;this._handleTouchMoveRotate(e),this.update();break;case Ks.TOUCH_PAN:if(this.enablePan===!1)return;this._handleTouchMovePan(e),this.update();break;case Ks.TOUCH_DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchMoveDollyPan(e),this.update();break;case Ks.TOUCH_DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchMoveDollyRotate(e),this.update();break;default:this.state=Ks.NONE}}function onContextMenu(e){this.enabled!==!1&&e.preventDefault()}function interceptControlDown(e){e.key===`Control`&&(this._controlActive=!0,this.domElement.getRootNode().addEventListener(`keyup`,this._interceptControlUp,{passive:!0,capture:!0}))}function interceptControlUp(e){e.key===`Control`&&(this._controlActive=!1,this.domElement.getRootNode().removeEventListener(`keyup`,this._interceptControlUp,{passive:!0,capture:!0}))}var TeapotGeometry=class extends Za{constructor(e=50,t=10,n=!0,r=!0,i=!0,a=!0,o=!0){let s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,3,16,17,18,7,19,20,21,11,22,23,24,15,25,26,27,18,28,29,30,21,31,32,33,24,34,35,36,27,37,38,39,30,40,41,0,33,42,43,4,36,44,45,8,39,46,47,12,12,13,14,15,48,49,50,51,52,53,54,55,56,57,58,59,15,25,26,27,51,60,61,62,55,63,64,65,59,66,67,68,27,37,38,39,62,69,70,71,65,72,73,74,68,75,76,77,39,46,47,12,71,78,79,48,74,80,81,52,77,82,83,56,56,57,58,59,84,85,86,87,88,89,90,91,92,93,94,95,59,66,67,68,87,96,97,98,91,99,100,101,95,102,103,104,68,75,76,77,98,105,106,107,101,108,109,110,104,111,112,113,77,82,83,56,107,114,115,84,110,116,117,88,113,118,119,92,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,123,136,137,120,127,138,139,124,131,140,141,128,135,142,143,132,132,133,134,135,144,145,146,147,148,149,150,151,68,152,153,154,135,142,143,132,147,155,156,144,151,157,158,148,154,159,160,68,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,164,177,178,161,168,179,180,165,172,181,182,169,176,183,184,173,173,174,175,176,185,186,187,188,189,190,191,192,193,194,195,196,176,183,184,173,188,197,198,185,192,199,200,189,196,201,202,193,203,203,203,203,204,205,206,207,208,208,208,208,209,210,211,212,203,203,203,203,207,213,214,215,208,208,208,208,212,216,217,218,203,203,203,203,215,219,220,221,208,208,208,208,218,222,223,224,203,203,203,203,221,225,226,204,208,208,208,208,224,227,228,209,209,210,211,212,229,230,231,232,233,234,235,236,237,238,239,240,212,216,217,218,232,241,242,243,236,244,245,246,240,247,248,249,218,222,223,224,243,250,251,252,246,253,254,255,249,256,257,258,224,227,228,209,252,259,260,229,255,261,262,233,258,263,264,237,265,265,265,265,266,267,268,269,270,271,272,273,92,119,118,113,265,265,265,265,269,274,275,276,273,277,278,279,113,112,111,104,265,265,265,265,276,280,281,282,279,283,284,285,104,103,102,95,265,265,265,265,282,286,287,266,285,288,289,270,95,94,93,92],c=[1.4,0,2.4,1.4,-.784,2.4,.784,-1.4,2.4,0,-1.4,2.4,1.3375,0,2.53125,1.3375,-.749,2.53125,.749,-1.3375,2.53125,0,-1.3375,2.53125,1.4375,0,2.53125,1.4375,-.805,2.53125,.805,-1.4375,2.53125,0,-1.4375,2.53125,1.5,0,2.4,1.5,-.84,2.4,.84,-1.5,2.4,0,-1.5,2.4,-.784,-1.4,2.4,-1.4,-.784,2.4,-1.4,0,2.4,-.749,-1.3375,2.53125,-1.3375,-.749,2.53125,-1.3375,0,2.53125,-.805,-1.4375,2.53125,-1.4375,-.805,2.53125,-1.4375,0,2.53125,-.84,-1.5,2.4,-1.5,-.84,2.4,-1.5,0,2.4,-1.4,.784,2.4,-.784,1.4,2.4,0,1.4,2.4,-1.3375,.749,2.53125,-.749,1.3375,2.53125,0,1.3375,2.53125,-1.4375,.805,2.53125,-.805,1.4375,2.53125,0,1.4375,2.53125,-1.5,.84,2.4,-.84,1.5,2.4,0,1.5,2.4,.784,1.4,2.4,1.4,.784,2.4,.749,1.3375,2.53125,1.3375,.749,2.53125,.805,1.4375,2.53125,1.4375,.805,2.53125,.84,1.5,2.4,1.5,.84,2.4,1.75,0,1.875,1.75,-.98,1.875,.98,-1.75,1.875,0,-1.75,1.875,2,0,1.35,2,-1.12,1.35,1.12,-2,1.35,0,-2,1.35,2,0,.9,2,-1.12,.9,1.12,-2,.9,0,-2,.9,-.98,-1.75,1.875,-1.75,-.98,1.875,-1.75,0,1.875,-1.12,-2,1.35,-2,-1.12,1.35,-2,0,1.35,-1.12,-2,.9,-2,-1.12,.9,-2,0,.9,-1.75,.98,1.875,-.98,1.75,1.875,0,1.75,1.875,-2,1.12,1.35,-1.12,2,1.35,0,2,1.35,-2,1.12,.9,-1.12,2,.9,0,2,.9,.98,1.75,1.875,1.75,.98,1.875,1.12,2,1.35,2,1.12,1.35,1.12,2,.9,2,1.12,.9,2,0,.45,2,-1.12,.45,1.12,-2,.45,0,-2,.45,1.5,0,.225,1.5,-.84,.225,.84,-1.5,.225,0,-1.5,.225,1.5,0,.15,1.5,-.84,.15,.84,-1.5,.15,0,-1.5,.15,-1.12,-2,.45,-2,-1.12,.45,-2,0,.45,-.84,-1.5,.225,-1.5,-.84,.225,-1.5,0,.225,-.84,-1.5,.15,-1.5,-.84,.15,-1.5,0,.15,-2,1.12,.45,-1.12,2,.45,0,2,.45,-1.5,.84,.225,-.84,1.5,.225,0,1.5,.225,-1.5,.84,.15,-.84,1.5,.15,0,1.5,.15,1.12,2,.45,2,1.12,.45,.84,1.5,.225,1.5,.84,.225,.84,1.5,.15,1.5,.84,.15,-1.6,0,2.025,-1.6,-.3,2.025,-1.5,-.3,2.25,-1.5,0,2.25,-2.3,0,2.025,-2.3,-.3,2.025,-2.5,-.3,2.25,-2.5,0,2.25,-2.7,0,2.025,-2.7,-.3,2.025,-3,-.3,2.25,-3,0,2.25,-2.7,0,1.8,-2.7,-.3,1.8,-3,-.3,1.8,-3,0,1.8,-1.5,.3,2.25,-1.6,.3,2.025,-2.5,.3,2.25,-2.3,.3,2.025,-3,.3,2.25,-2.7,.3,2.025,-3,.3,1.8,-2.7,.3,1.8,-2.7,0,1.575,-2.7,-.3,1.575,-3,-.3,1.35,-3,0,1.35,-2.5,0,1.125,-2.5,-.3,1.125,-2.65,-.3,.9375,-2.65,0,.9375,-2,-.3,.9,-1.9,-.3,.6,-1.9,0,.6,-3,.3,1.35,-2.7,.3,1.575,-2.65,.3,.9375,-2.5,.3,1.125,-1.9,.3,.6,-2,.3,.9,1.7,0,1.425,1.7,-.66,1.425,1.7,-.66,.6,1.7,0,.6,2.6,0,1.425,2.6,-.66,1.425,3.1,-.66,.825,3.1,0,.825,2.3,0,2.1,2.3,-.25,2.1,2.4,-.25,2.025,2.4,0,2.025,2.7,0,2.4,2.7,-.25,2.4,3.3,-.25,2.4,3.3,0,2.4,1.7,.66,.6,1.7,.66,1.425,3.1,.66,.825,2.6,.66,1.425,2.4,.25,2.025,2.3,.25,2.1,3.3,.25,2.4,2.7,.25,2.4,2.8,0,2.475,2.8,-.25,2.475,3.525,-.25,2.49375,3.525,0,2.49375,2.9,0,2.475,2.9,-.15,2.475,3.45,-.15,2.5125,3.45,0,2.5125,2.8,0,2.4,2.8,-.15,2.4,3.2,-.15,2.4,3.2,0,2.4,3.525,.25,2.49375,2.8,.25,2.475,3.45,.15,2.5125,2.9,.15,2.475,3.2,.15,2.4,2.8,.15,2.4,0,0,3.15,.8,0,3.15,.8,-.45,3.15,.45,-.8,3.15,0,-.8,3.15,0,0,2.85,.2,0,2.7,.2,-.112,2.7,.112,-.2,2.7,0,-.2,2.7,-.45,-.8,3.15,-.8,-.45,3.15,-.8,0,3.15,-.112,-.2,2.7,-.2,-.112,2.7,-.2,0,2.7,-.8,.45,3.15,-.45,.8,3.15,0,.8,3.15,-.2,.112,2.7,-.112,.2,2.7,0,.2,2.7,.45,.8,3.15,.8,.45,3.15,.112,.2,2.7,.2,.112,2.7,.4,0,2.55,.4,-.224,2.55,.224,-.4,2.55,0,-.4,2.55,1.3,0,2.55,1.3,-.728,2.55,.728,-1.3,2.55,0,-1.3,2.55,1.3,0,2.4,1.3,-.728,2.4,.728,-1.3,2.4,0,-1.3,2.4,-.224,-.4,2.55,-.4,-.224,2.55,-.4,0,2.55,-.728,-1.3,2.55,-1.3,-.728,2.55,-1.3,0,2.55,-.728,-1.3,2.4,-1.3,-.728,2.4,-1.3,0,2.4,-.4,.224,2.55,-.224,.4,2.55,0,.4,2.55,-1.3,.728,2.55,-.728,1.3,2.55,0,1.3,2.55,-1.3,.728,2.4,-.728,1.3,2.4,0,1.3,2.4,.224,.4,2.55,.4,.224,2.55,.728,1.3,2.55,1.3,.728,2.55,.728,1.3,2.4,1.3,.728,2.4,0,0,0,1.425,0,0,1.425,.798,0,.798,1.425,0,0,1.425,0,1.5,0,.075,1.5,.84,.075,.84,1.5,.075,0,1.5,.075,-.798,1.425,0,-1.425,.798,0,-1.425,0,0,-.84,1.5,.075,-1.5,.84,.075,-1.5,0,.075,-1.425,-.798,0,-.798,-1.425,0,0,-1.425,0,-1.5,-.84,.075,-.84,-1.5,.075,0,-1.5,.075,.798,-1.425,0,1.425,-.798,0,.84,-1.5,.075,1.5,-.84,.075];super(),t=Math.max(2,Math.floor(t));let l=1.3,u=3.15*(o?1:l)/2,d=e/u,f=n?(8*t-4)*t:0;f+=r?(16*t-4)*t:0,f+=i?40*t*t:0;let p=new Uint32Array(f*3),m=n?4:0;m+=r?8:0,m+=i?20:0,m*=(t+1)*(t+1);let h=new Float32Array(m*3),g=new Float32Array(m*3),_=new Float32Array(m*2),v=new Ni;v.set(-1,3,-3,1,3,-6,3,0,-3,3,0,0,1,0,0,0);let y=[],b=[],x=[],S=[],C=[],w=[],T=[],E=[],D=[],O=new I,ee,te,ne,k,A=0,re=0,ie=new I,ae=new Ni,oe=new Ni,se=new Mi,ce=new Mi,le=new Mi,ue=new Mi,de=new I,fe=new I,pe=v.clone();pe.transpose();let notDegenerate=(e,t,n)=>!(h[e*3]===h[t*3]&&h[e*3+1]===h[t*3+1]&&h[e*3+2]===h[t*3+2]||h[e*3]===h[n*3]&&h[e*3+1]===h[n*3+1]&&h[e*3+2]===h[n*3+2]||h[t*3]===h[n*3]&&h[t*3+1]===h[n*3+1]&&h[t*3+2]===h[n*3+2]);for(let e=0;e<3;e++)w[e]=new Ni;let me=i?0:20,he=n?32:28,ge=t+1,_e=0,ve=0,ye=0,be=0,xe=0;for(let e=me;e<he;e++)if(r||e<20||e>=28){for(let t=0;t<3;t++){for(let n=0;n<4;n++)for(let r=0;r<4;r++)y[r*4+n]=c[s[e*16+n*4+r]*3+t],a&&e>=20&&e<28&&t!==2&&(y[r*4+n]*=1.077),!o&&t===2&&(y[r*4+n]*=l);ae.set(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),oe.multiplyMatrices(ae,v),w[t].multiplyMatrices(pe,oe)}for(let e=0;e<=t;e++){let n=e/t;for(let e=0;e<=t;e++){let r=e/t;for(k=4,te=ne=1;k--;)b[k]=te,x[k]=ne,te*=n,ne*=r,k===3?(S[k]=C[k]=0,A=re=1):(S[k]=A*(3-k),C[k]=re*(3-k),A*=n,re*=r);se.fromArray(b),ce.fromArray(x),le.fromArray(S),ue.fromArray(C);for(let e=0;e<3;e++)ee=se.clone(),ee.applyMatrix4(w[e]),T[e]=ee.dot(ce),ee=le.clone(),ee.applyMatrix4(w[e]),E[e]=ee.dot(ce),ee=se.clone(),ee.applyMatrix4(w[e]),D[e]=ee.dot(ue);de.fromArray(E),fe.fromArray(D),O.crossVectors(fe,de),O.normalize(),T[0]===0&&T[1]===0?ie.set(0,T[2]>u?1:-1,0):ie.set(O.x,O.z,-O.y),h[ve++]=d*T[0],h[ve++]=d*(T[2]-u),h[ve++]=-d*T[1],g[ye++]=ie.x,g[ye++]=ie.y,g[ye++]=ie.z,_[be++]=1-r,_[be++]=1-n}}for(let e=0;e<t;e++)for(let n=0;n<t;n++){let t=_e*ge*ge+e*ge+n,r=t+1,i=r+ge,a=t+ge;notDegenerate(t,r,i)&&(p[xe++]=t,p[xe++]=r,p[xe++]=i),notDegenerate(t,i,a)&&(p[xe++]=t,p[xe++]=i,p[xe++]=a)}_e++}this.setIndex(new BufferAttribute(p,1)),this.setAttribute(`position`,new BufferAttribute(h,3)),this.setAttribute(`normal`,new BufferAttribute(g,3)),this.setAttribute(`uv`,new BufferAttribute(_,2)),this.computeBoundingSphere()}};const Js=[()=>R,`height`,`width`,`frameRequestRate`,()=>Ys,`captureStream`,`2d`,`contextId`,()=>Xs,`options`,()=>Zs,`getContext`,`bitmaprenderer`,()=>Qs,()=>$s,`webgl`,()=>ec,()=>tc,`webgl2`,()=>ec,()=>nc,()=>rc,()=>ic,`callback`,`type`,`quality`,`toBlob`,`toDataURL`,()=>ac,`transferControlToOffscreen`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLCanvasElement`,`Pn!'4"'4#P'2$8n%1&P.'2(n)2*8Pn+,J1,P.-2(n.2*8Pn/,J1,P.02(n12*8Pn2,J1,P.32(n42*8Pn5,J1,P&2("2*8Pn6,J1,Pn728&298'2:8$1;P&298'2:8&1<Pn=1>P"29Pn?2@nA"f2B"/C2DP)nEJ2*8$1FP&29nG2DP)nHJ2*8$1FP"29PnI2@nJ"f2B"/C2DP)nKJ2*8$1LP&29nM2DP)nNJ2*8$1LMwOy`],R=[()=>U,()=>oc,()=>sc,()=>cc,()=>lc,`accessKey`,`accessKeyLabel`,`autocapitalize`,`autocorrect`,`dir`,`draggable`,`until-found`,`hidden`,`inert`,`innerText`,`lang`,`offsetHeight`,`offsetLeft`,()=>U,`offsetParent`,`offsetTop`,`offsetWidth`,`outerText`,`popover`,`spellcheck`,`title`,`translate`,`writingSuggestions`,()=>uc,`attachInternals`,`click`,`hidePopover`,()=>dc,`options`,`showPopover`,()=>fc,`togglePopover`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLElement`,`Pn!n"n#n$n%&4&&4'9&4()4)&4*)4+P).,J4-)4.&4/&40'419'429Pn3,J449'459'469&47P&,J48)49&4:)4;&4<Pn=1>P$1?P$1@PnA2B8$1CPPnD)J2B8)1EP"2FPnG2HnI"f2J"/K2LP)nMJ2B8$1NP&2FnO2LP)nPJ2B8$1NP"2FPnQ2HnR"f2J"/K2LP)nSJ2B8$1TP&2FnU2LP)nVJ2B8$1TMwWy`],Ys=[()=>W,`active`,`id`,0,`this`,()=>pc,`ev`,``,`onaddtrack`,0,()=>pc,`onremovetrack`,()=>mc,`track`,`addTrack`,0,`clone`,()=>mc,`getAudioTracks`,`trackId`,()=>mc,`getTrackById`,()=>mc,`getTracks`,()=>mc,`getVideoTracks`,()=>mc,`removeTrack`,`type`,0,()=>hc,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>hc,()=>H,`removeEventListener`,()=>V,()=>H,`MediaStream`,`Pn!)4"9&4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,Pn-2.$1/Pn011Pn2F13P&24Pn5,J16Pn7F18Pn9F1:Pn;2.$1<P"2=Pn>2%n?"f2'"/(2@P)nAJ2B8$1CP&2=nD2@P)nEJ2B8$1CP"2=PnF2%nG"f2'"/(2@P)nHJ2B8$1IP&2=nJ2@P)nKJ2B8$1IMwLy`],Xs=[`alpha`,()=>gc,`colorSpace`,`desynchronized`,`willReadFrequently`,`CanvasRenderingContext2DSettings`,`P)4!8n"4#8)4$8)4%8Mw&y`],Zs=[()=>_c,()=>vc,()=>yc,()=>bc,()=>xc,()=>Sc,()=>Cc,()=>wc,()=>Tc,()=>Ec,()=>Dc,()=>Oc,()=>kc,()=>Ac,()=>jc,()=>Mc,()=>Nc,()=>Js,`canvas`,`CanvasRenderingContext2D`,`Pn!n"n#n$n%n&n'n(n)n*n+n,n-n.n/n0n1n2439Mw4y`],Qs=[`alpha`,`ImageBitmapRenderingContextSettings`,`P)4!8Mw"y`],$s=[()=>Js,()=>ac,`canvas`,()=>Pc,`bitmap`,`transferFromImageBitmap`,`ImageBitmapRenderingContext`,`PPn!n"J4#9PPn$,J2%$1&Mw'y`],ec=[`alpha`,`antialias`,`depth`,`desynchronized`,`failIfMajorPerformanceCaveat`,()=>Fc,`powerPreference`,`premultipliedAlpha`,`preserveDrawingBuffer`,`stencil`,`xrCompatible`,`WebGLContextAttributes`,`P)4!8)4"8)4#8)4$8)4%8n&4'8)4(8)4)8)4*8)4+8Mw,y`],tc=[()=>Ic,()=>Lc,`WebGLRenderingContext`,`Pn!n"Mw#y`],nc=[()=>Rc,()=>zc,()=>Ic,`WebGL2RenderingContext`,`Pn!n"n#Mw$y`],rc=[()=>Zs,()=>$s,()=>tc,()=>nc,()=>Bc,`RenderingContext`,`Pn!n"n#n$n%Jw&y`],ic=[()=>Vc,`blob`,``,`BlobCallback`,`PPPn!,J2"$v#Mw$y`],ac=[()=>W,`height`,0,`this`,()=>G,`ev`,``,`oncontextlost`,0,()=>G,`oncontextrestored`,`width`,()=>Hc,`options`,()=>Vc,`convertToBlob`,`2d`,`contextId`,()=>Uc,`getContext`,`bitmaprenderer`,()=>$s,`webgl`,()=>tc,`webgl2`,()=>nc,()=>Wc,()=>Gc,()=>Pc,`transferToImageBitmap`,`type`,0,()=>Kc,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Kc,()=>H,`removeEventListener`,()=>V,()=>H,`OffscreenCanvas`,`Pn!'4"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+'4,Pn-2.8n/\`10P.122"2.8Pn3,J14P.522"2.8Pn6,J14P.722"2.8Pn8,J14P.922"2.8Pn:,J14Pn;22"2.8Pn<,J14Pn=1>P"2?Pn@2$nA"f2&"/'2BP)nCJ2.8$1DP&2?nE2BP)nFJ2.8$1DP"2?PnG2$nH"f2&"/'2BP)nIJ2.8$1JP&2?nK2BP)nLJ2.8$1JMwMy`],z=[()=>qc,()=>Jc,`HTMLElementEventMap`,`Pn!n"Mw#y`],B=[()=>H,`once`,`passive`,()=>Yc,`signal`,`AddEventListenerOptions`,`Pn!)4"8)4#8n$4%8Mw&y`],V=[()=>Xc,()=>Zc,`EventListenerOrEventListenerObject`,`Pn!n"Jw#y`],H=[`capture`,`EventListenerOptions`,`P)4!8Mw"y`],U=[()=>K,()=>Qc,()=>$c,()=>el,()=>tl,()=>nl,()=>rl,()=>il,`attributes`,`className`,`clientHeight`,`clientLeft`,`clientTop`,`clientWidth`,`currentCSSZoom`,()=>al,`customElementRegistry`,`id`,`innerHTML`,`localName`,`namespaceURI`,0,`this`,()=>G,`ev`,``,`onfullscreenchange`,0,()=>G,`onfullscreenerror`,`outerHTML`,()=>ol,`ownerDocument`,`prefix`,`scrollHeight`,`scrollLeft`,`scrollTop`,`scrollWidth`,()=>sl,`shadowRoot`,`slot`,`tagName`,()=>cl,`init`,()=>sl,`attachShadow`,()=>ll,`options`,`checkVisibility`,`selector`,()=>ul,`closest`,()=>dl,()=>fl,`selectors`,()=>pl,`computedStyleMap`,`qualifiedName`,`getAttribute`,`namespace`,`getAttributeNS`,`getAttributeNames`,()=>ml,`getAttributeNode`,()=>ml,`getAttributeNodeNS`,()=>hl,`getBoundingClientRect`,()=>gl,`getClientRects`,`classNames`,()=>_l,0,`getElementsByClassName`,()=>_l,()=>ul,`getElementsByTagName`,()=>_l,()=>dl,()=>_l,()=>fl,()=>_l,()=>vl,()=>_l,0,`http://www.w3.org/1999/xhtml`,()=>_l,()=>R,`getElementsByTagNameNS`,`http://www.w3.org/2000/svg`,()=>_l,()=>yl,`http://www.w3.org/1998/Math/MathML`,()=>_l,()=>bl,()=>_l,0,()=>xl,`getHTML`,`hasAttribute`,`hasAttributeNS`,`hasAttributes`,`pointerId`,`hasPointerCapture`,()=>Sl,`where`,0,`element`,0,`insertAdjacentElement`,()=>Sl,`position`,`string`,`insertAdjacentHTML`,()=>Sl,`data`,`insertAdjacentText`,`matches`,`releasePointerCapture`,`removeAttribute`,`removeAttributeNS`,()=>ml,`attr`,()=>ml,`removeAttributeNode`,()=>Cl,`requestFullscreen`,()=>wl,`requestPointerLock`,()=>Tl,`scroll`,`x`,`y`,()=>Tl,`scrollBy`,()=>El,`arg`,`scrollIntoView`,()=>Tl,`scrollTo`,`value`,`setAttribute`,`setAttributeNS`,()=>ml,()=>ml,`setAttributeNode`,()=>ml,()=>ml,`setAttributeNodeNS`,`html`,`setHTMLUnsafe`,`setPointerCapture`,`force`,`toggleAttribute`,`webkitMatchesSelector`,`type`,0,()=>qc,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>qc,()=>H,`removeEventListener`,()=>V,()=>H,`Element`,`Pn!n"n#n$n%n&n'n(4)9!!&4*'4+9'4,9'4-9'4.9'4/9Pn0,J419&42&43&449P&,J459PPn627n829"/:,J4;PPn<27n=29"/:,J4>&4?n@4A9!!P&,J4B9'4C9'4D'4E'4F9PnG,J4H9&4I&4J9PnK2LnM1NPnO2P8)1QP"2RPnS"f,J1TP"2RPnU"f,J1TP"2RPnV"f,J1TP&2WP",J1TPnX1YP&2ZP&,J1[PP&,J2\\&24P&,J1]P&F1^P&2ZPn_,J1\`PP&,J2\\&24Pna,J1bPnc1dPne1fP&2gnioh"1jP"2Znl"fok"1mP"2Zno"fon"1mP"2Znq"fop"1mP"2Zns"for"1mP&2Znuot"1mP.v25&24nxow"1yP.z25&24n|o{"1yP.}25&24no~"1yPP&,J2\\&24no"1yPn2P8&1P&2Z)1PP&,J2\\&24)1
P)1P'2)1Pn2n2Pn,J1Pn2&2$1Pn2&2$1P"2W!1P"2W!1P"2W!1P&2W)1P'2$1P&2Z$1PP&,J2\\&24$1Pn2n1Pn2P8$\`1Pn\xA02P8$\`1¡Pn¢2P8$1£P'2¤'2¥$1£Pn¦2P8$1§P'2¤'2¥$1§PP)n¨J2©8$1ªPn«2P8$1¬P'2¤'2¥$1¬P&2Z&2$1®PP&,J2\\&2Z&2$1¯Pn°2Pn±,J1²Pn³2Pn´,J1µP&2¶$1·P'2$1¸P&2Z)2¹8)1ºP&2W)1»!!P"2¼Pn½27n¾"f29"/:2¿P)nÀJ2P8$1ÁP&2¼nÂ2¿P)nÃJ2P8$1ÁP"2¼PnÄ27nÅ"f29"/:2¿P)nÆJ2P8$1ÇP&2¼nÈ2¿P)nÉJ2P8$1ÇMwÊy`],oc=[()=>Dl,`attributeStyleMap`,`ElementCSSInlineStyle`,`Pn!4"9!!Mw#y`],sc=[`contentEditable`,`enterKeyHint`,`inputMode`,`isContentEditable`,`ElementContentEditable`,`P&4!&4"&4#)4$9Mw%y`],cc=[0,`this`,()=>Ol,`ev`,``,`onabort`,0,()=>kl,`onanimationcancel`,0,()=>kl,`onanimationend`,0,()=>kl,`onanimationiteration`,0,()=>kl,`onanimationstart`,0,()=>Al,`onauxclick`,0,()=>jl,`onbeforeinput`,0,()=>G,`onbeforematch`,0,()=>Ml,`onbeforetoggle`,0,()=>Nl,`onblur`,0,()=>G,`oncancel`,0,()=>G,`oncanplay`,0,()=>G,`oncanplaythrough`,0,()=>G,`onchange`,0,()=>Al,`onclick`,0,()=>G,`onclose`,0,()=>G,`oncommand`,0,()=>G,`oncontextlost`,0,()=>Al,`oncontextmenu`,0,()=>G,`oncontextrestored`,0,()=>Pl,`oncopy`,0,()=>G,`oncuechange`,0,()=>Pl,`oncut`,0,()=>Fl,`ondblclick`,0,()=>Il,`ondrag`,0,()=>Il,`ondragend`,0,()=>Il,`ondragenter`,0,()=>Il,`ondragleave`,0,()=>Il,`ondragover`,0,()=>Il,`ondragstart`,0,()=>Il,`ondrop`,0,()=>G,`ondurationchange`,0,()=>G,`onemptied`,0,()=>G,`onended`,()=>Ll,`onerror`,0,()=>Nl,`onfocus`,0,()=>Rl,`onformdata`,0,()=>Al,`ongotpointercapture`,0,()=>jl,`oninput`,0,()=>G,`oninvalid`,0,()=>zl,`onkeydown`,0,()=>zl,`onkeypress`,0,()=>zl,`onkeyup`,0,()=>G,`onload`,0,()=>G,`onloadeddata`,0,()=>G,`onloadedmetadata`,0,()=>G,`onloadstart`,0,()=>Al,`onlostpointercapture`,0,()=>Fl,`onmousedown`,0,()=>Fl,`onmouseenter`,0,()=>Fl,`onmouseleave`,0,()=>Fl,`onmousemove`,0,()=>Fl,`onmouseout`,0,()=>Fl,`onmouseover`,0,()=>Fl,`onmouseup`,0,()=>Pl,`onpaste`,0,()=>G,`onpause`,0,()=>G,`onplay`,0,()=>G,`onplaying`,0,()=>Al,`onpointercancel`,0,()=>Al,`onpointerdown`,0,()=>Al,`onpointerenter`,0,()=>Al,`onpointerleave`,0,()=>Al,`onpointermove`,0,()=>Al,`onpointerout`,0,()=>Al,`onpointerover`,0,()=>G,`onpointerrawupdate`,0,()=>Al,`onpointerup`,0,()=>Bl,`onprogress`,0,()=>G,`onratechange`,0,()=>G,`onreset`,0,()=>Ol,`onresize`,0,()=>G,`onscroll`,0,()=>G,`onscrollend`,0,()=>Vl,`onsecuritypolicyviolation`,0,()=>G,`onseeked`,0,()=>G,`onseeking`,0,()=>G,`onselect`,0,()=>G,`onselectionchange`,0,()=>G,`onselectstart`,0,()=>G,`onslotchange`,0,()=>G,`onstalled`,0,()=>Hl,`onsubmit`,0,()=>G,`onsuspend`,0,()=>G,`ontimeupdate`,0,()=>Ml,`ontoggle`,0,()=>Ul,`ontouchcancel`,0,()=>Ul,`ontouchend`,0,()=>Ul,`ontouchmove`,0,()=>Ul,`ontouchstart`,0,()=>Wl,`ontransitioncancel`,0,()=>Wl,`ontransitionend`,0,()=>Wl,`ontransitionrun`,0,()=>Wl,`ontransitionstart`,0,()=>G,`onvolumechange`,0,()=>G,`onwaiting`,0,()=>G,`onwebkitanimationend`,0,()=>G,`onwebkitanimationiteration`,0,()=>G,`onwebkitanimationstart`,0,()=>G,`onwebkittransitionend`,0,()=>Gl,`onwheel`,`type`,0,()=>Jc,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Jc,()=>H,`removeEventListener`,()=>V,()=>H,`GlobalEventHandlers`,`PPPn!2"n#2$"/%,J4&PPn'2"n(2$"/%,J4)PPn*2"n+2$"/%,J4,PPn-2"n.2$"/%,J4/PPn02"n12$"/%,J42PPn32"n42$"/%,J45PPn62"n72$"/%,J48PPn92"n:2$"/%,J4;PPn<2"n=2$"/%,J4>PPn?2"n@2$"/%,J4APPnB2"nC2$"/%,J4DPPnE2"nF2$"/%,J4GPPnH2"nI2$"/%,J4JPPnK2"nL2$"/%,J4MPPnN2"nO2$"/%,J4PPPnQ2"nR2$"/%,J4SPPnT2"nU2$"/%,J4VPPnW2"nX2$"/%,J4YPPnZ2"n[2$"/%,J4\\PPn]2"n^2$"/%,J4_PPn\`2"na2$"/%,J4bPPnc2"nd2$"/%,J4ePPnf2"ng2$"/%,J4hPPni2"nj2$"/%,J4kPPnl2"nm2$"/%,J4nPPno2"np2$"/%,J4qPPnr2"ns2$"/%,J4tPPnu2"nv2$"/%,J4wPPnx2"ny2$"/%,J4zPPn{2"n|2$"/%,J4}PPn~2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n
2$"/%,J4PPn2"n2$"/%,J4n4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4\xA0PPn¡2"n¢2$"/%,J4£PPn¤2"n¥2$"/%,J4¦PPn§2"n¨2$"/%,J4©PPnª2"n«2$"/%,J4¬PPn2"n®2$"/%,J4¯PPn°2"n±2$"/%,J4²PPn³2"n´2$"/%,J4µPPn¶2"n·2$"/%,J4¸PPn¹2"nº2$"/%,J4»PPn¼2"n½2$"/%,J4¾PPn¿2"nÀ2$"/%,J4ÁPPnÂ2"nÃ2$"/%,J4ÄPPnÅ2"nÆ2$"/%,J4ÇPPnÈ2"nÉ2$"/%,J4ÊPPnË2"nÌ2$"/%,J4ÍPPnÎ2"nÏ2$"/%,J4ÐPPnÑ2"nÒ2$"/%,J4ÓPPnÔ2"nÕ2$"/%,J4ÖPPn×2"nØ2$"/%,J4ÙPPnÚ2"nÛ2$"/%,J4ÜPPnÝ2"nÞ2$"/%,J4ßPPnà2"ná2$"/%,J4âPPnã2"nä2$"/%,J4åPPnæ2"nç2$"/%,J4èPPné2"nê2$"/%,J4ëPPnì2"ní2$"/%,J4îPPnï2"nð2$"/%,J4ñPPnò2"nó2$"/%,J4ôPPnõ2"nö2$"/%,J4÷PPnø2"nù2$"/%,J4úPPnû2"nü2$"/%,J4ýPPnþ2"nÿ2$"/%,J4ĀPPnā2"nĂ2$"/%,J4ăPPnĄ2"ną2$"/%,J4ĆPPnć2"nĈ2$"/%,J4ĉPPnĊ2"nċ2$"/%,J4ČPPnč2"nĎ2$"/%,J4ďPPnĐ2"nđ2$"/%,J4ĒPPnē2"nĔ2$"/%,J4ĕPPnĖ2"nė2$"/%,J4ĘPPnę2"nĚ2$"/%,J4ěPPnĜ2"nĝ2$"/%,J4ĞPPnğ2"nĠ2$"/%,J4ġPPnĢ2"nģ2$"/%,J4ĤPPnĥ2"nĦ2$"/%,-J4ħ8PPnĨ2"nĩ2$"/%,-J4Ī8PPnī2"nĬ2$"/%,-J4ĭ8PPnĮ2"nį2$"/%,-J4İ8PPnı2"nIJ2$"/%,J4ijPPnĴ2"nĵ2$"/%,J4ĶPPnķ2"nĸ2$"/%,J4ĹPPnĺ2"nĻ2$"/%,J4ļPPnĽ2"nľ2$"/%,J4ĿPPnŀ2"nŁ2$"/%,J4łPPnŃ2"nń2$"/%,J4ŅPPnņ2"nŇ2$"/%,J4ňPPnʼn2"nŊ2$"/%,J4ŋPPnŌ2"nō2$"/%,J4ŎPPnŏ2"nŐ2$"/%,J4őP"2ŒPnœ2"nŔ"f2$"/%2ŕP)nŖJ2ŗ8$1ŘP&2Œnř2ŕP)nŚJ2ŗ8$1ŘP"2ŒPnś2"nŜ"f2$"/%2ŕP)nŝJ2ŗ8$1ŞP&2Œnş2ŕP)nŠJ2ŗ8$1ŞMwšy`],lc=[`autofocus`,()=>Kl,`dataset`,`nonce`,`tabIndex`,`blur`,()=>ql,`options`,`focus`,`HTMLOrSVGElement`,`P)4!n"4#9&4$'4%P$1&Pn'2(8$1)Mw*y`],uc=[()=>Qc,()=>Jl,`form`,()=>Yl,`labels`,()=>sl,`shadowRoot`,()=>Xl,`states`,`validationMessage`,()=>Zl,`validity`,`willValidate`,`checkValidity`,`reportValidity`,()=>Ql,()=>$l,`value`,()=>Ql,()=>$l,`state`,`setFormValue`,()=>eu,`flags`,`message`,()=>R,`anchor`,`setValidity`,`ElementInternals`,`Pn!Pn",J4#9n$4%9Pn&,J4'9n(4)9&4*9n+4,9)4-9P)1.P)1/PPn0&n1,J22Pn3&n4,J258$16Pn7288&298n:2;8$1<Mw=y`],dc=[()=>R,`source`,`ShowPopoverOptions`,`Pn!4"8Mw#y`],fc=[()=>dc,`force`,`TogglePopoverOptions`,`Pn!)4"8Mw#y`],W=[`type`,()=>V,`callback`,()=>B,`options`,`addEventListener`,()=>G,`event`,`dispatchEvent`,()=>V,()=>H,`removeEventListener`,`EventTarget`,`PP&2!Pn",J2#Pn$)J2%8$1&Pn'2()1)P&2!Pn*,J2#Pn+)J2%8$1,Mw-y`],pc=[()=>G,()=>mc,`track`,`MediaStreamTrackEvent`,`Pn!n"4#9Mw$y`],mc=[()=>W,`contentHint`,`enabled`,`id`,`kind`,`label`,`muted`,0,`this`,()=>G,`ev`,``,`onended`,0,()=>G,`onmute`,0,()=>G,`onunmute`,()=>tu,`readyState`,()=>nu,`constraints`,`applyConstraints`,0,`clone`,()=>ru,`getCapabilities`,()=>nu,`getConstraints`,()=>iu,`getSettings`,`stop`,`type`,0,()=>au,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>au,()=>H,`removeEventListener`,()=>V,()=>H,`MediaStreamTrack`,`Pn!&4")4#&4$9&4%9&4&9)4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43n4459Pn6278$\`18Pn91:Pn;1<Pn=1>Pn?1@P$1AP"2BPnC2)nD"f2+"/,2EP)nFJ2G8$1HP&2BnI2EP)nJJ2G8$1HP"2BPnK2)nL"f2+"/,2EP)nMJ2G8$1NP&2BnO2EP)nPJ2G8$1NMwQy`],hc=[()=>pc,`addtrack`,()=>pc,`removetrack`,`MediaStreamEventMap`,`Pn!4"n#4$Mw%y`],gc=[`display-p3`,`srgb`,`PredefinedColorSpace`,`P.!."Jw#y`],_c=[`globalAlpha`,()=>ou,`globalCompositeOperation`,`CanvasCompositing`,`P'4!n"4#Mw$y`],vc=[()=>su,`image`,`dx`,`dy`,`drawImage`,()=>su,`dw`,`dh`,()=>su,`sx`,`sy`,`sw`,`sh`,`CanvasDrawImage`,`PPn!2"'2#'2$$1%Pn&2"'2#'2$'2''2($1%Pn)2"'2*'2+'2,'2-'2#'2$'2''2($1%Mw.y`],yc=[`beginPath`,()=>cu,`fillRule`,`clip`,()=>lu,`path`,()=>cu,()=>cu,`fill`,()=>lu,()=>cu,`x`,`y`,()=>cu,`isPointInPath`,()=>lu,()=>cu,`isPointInStroke`,()=>lu,`stroke`,()=>lu,`CanvasDrawPath`,`PP$1!Pn"2#8$1$Pn%2&n'2#8$1$Pn(2#8$1)Pn*2&n+2#8$1)P'2,'2-n.2#8)1/Pn02&'2,'2-n12#8)1/P'2,'2-)12Pn32&'2,'2-)12P$14Pn52&$14Mw6y`],bc=[()=>uu,()=>du,`fillStyle`,()=>uu,()=>du,`strokeStyle`,`startAngle`,`x`,`y`,()=>uu,`createConicGradient`,`x0`,`y0`,`x1`,`y1`,()=>uu,`createLinearGradient`,()=>su,`image`,`repetition`,()=>du,`createPattern`,`r0`,`r1`,()=>uu,`createRadialGradient`,`CanvasFillStrokeStyles`,`PP&n!n"J4#P&n$n%J4&P'2''2('2)n*1+P'2,'2-'2.'2/n011Pn223P&,J24Pn5,J16P'2,'2-'27'2.'2/'28n91:Mw;y`],xc=[`filter`,`CanvasFilters`,`P&4!Mw"y`],Sc=[`sw`,`sh`,()=>fu,`settings`,()=>pu,`createImageData`,()=>pu,`imageData`,()=>pu,`sx`,`sy`,()=>fu,()=>pu,`getImageData`,()=>pu,`dx`,`dy`,`putImageData`,()=>pu,`dirtyX`,`dirtyY`,`dirtyWidth`,`dirtyHeight`,`CanvasImageData`,`PP'2!'2"n#2$8n%1&Pn'2(n)1&P'2*'2+'2!'2"n,2$8n-1.Pn/2('20'21$12Pn32('20'21'24'25'26'27$12Mw8y`],Cc=[`imageSmoothingEnabled`,()=>mu,`imageSmoothingQuality`,`CanvasImageSmoothing`,`P)4!n"4#Mw$y`],wc=[`x`,`y`,`radius`,`startAngle`,`endAngle`,`counterclockwise`,`arc`,`x1`,`y1`,`x2`,`y2`,`arcTo`,`cp1x`,`cp1y`,`cp2x`,`cp2y`,`bezierCurveTo`,`closePath`,`radiusX`,`radiusY`,`rotation`,`ellipse`,`lineTo`,`moveTo`,`cpx`,`cpy`,`quadraticCurveTo`,`w`,`h`,`rect`,()=>hu,()=>hu,`radii`,`roundRect`,`CanvasPath`,`PP'2!'2"'2#'2$'2%)2&8$1'P'2('2)'2*'2+'2#$1,P'2-'2.'2/'20'2!'2"$11P$12P'2!'2"'23'24'25'2$'2%)2&8$16P'2!'2"$17P'2!'2"$18P'29'2:'2!'2"$1;P'2!'2"'2<'2=$1>P'2!'2"'2<'2=P'n?P'n@JFJ2A8$1BMwCy`],Tc=[()=>gu,`lineCap`,`lineDashOffset`,()=>_u,`lineJoin`,`lineWidth`,`miterLimit`,`getLineDash`,`segments`,`setLineDash`,`CanvasPathDrawingStyles`,`Pn!4"'4#n$4%'4&'4'P'F1(P'F2)$1*Mw+y`],Ec=[`x`,`y`,`w`,`h`,`clearRect`,`fillRect`,`strokeRect`,`CanvasRect`,`PP'2!'2"'2#'2$$1%P'2!'2"'2#'2$$1&P'2!'2"'2#'2$$1'Mw(y`],Dc=[()=>Xs,`getContextAttributes`,`CanvasSettings`,`PPn!1"Mw#y`],Oc=[`shadowBlur`,`shadowColor`,`shadowOffsetX`,`shadowOffsetY`,`CanvasShadowStyles`,`P'4!&4"'4#'4$Mw%y`],kc=[`isContextLost`,`reset`,`restore`,`save`,`CanvasState`,`PP)1!P$1"P$1#P$1$Mw%y`],Ac=[`text`,`x`,`y`,`maxWidth`,`fillText`,()=>vu,`measureText`,`strokeText`,`CanvasText`,`PP&2!'2"'2#'2$8$1%P&2!n&1'P&2!'2"'2#'2$8$1(Mw)y`],jc=[()=>yu,`direction`,`font`,()=>bu,`fontKerning`,()=>xu,`fontStretch`,()=>Su,`fontVariantCaps`,`letterSpacing`,()=>Cu,`textAlign`,()=>wu,`textBaseline`,()=>Tu,`textRendering`,`wordSpacing`,`CanvasTextDrawingStyles`,`Pn!4"&4#n$4%n&4'n(4)&4*n+4,n-4.n/40&41Mw2y`],Mc=[()=>Eu,`getTransform`,`resetTransform`,`angle`,`rotate`,`x`,`y`,`scale`,`a`,`b`,`c`,`d`,`e`,`f`,`setTransform`,()=>Du,`transform`,`translate`,`CanvasTransform`,`PPn!1"P$1#P'2$$1%P'2&'2'$1(P'2)'2*'2+'2,'2-'2.$1/Pn0218$1/P'2)'2*'2+'2,'2-'2.$11P'2&'2'$12Mw3y`],Nc=[()=>U,`element`,`drawFocusIfNeeded`,()=>lu,`path`,()=>U,`CanvasUserInterface`,`PPn!2"$1#Pn$2%n&2"$1#Mw'y`],Pc=[`height`,`width`,`close`,`ImageBitmap`,`P'4!9'4"9P$1#Mw$y`],Fc=[`default`,`high-performance`,`low-power`,`WebGLPowerPreference`,`P.!.".#Jw$y`],Ic=[()=>Js,()=>ac,`canvas`,()=>gc,`drawingBufferColorSpace`,()=>q,`drawingBufferHeight`,()=>q,`drawingBufferWidth`,()=>gc,`unpackColorSpace`,()=>J,`texture`,`activeTexture`,()=>Ou,`program`,()=>ku,`shader`,`attachShader`,()=>Ou,()=>Y,`index`,`name`,`bindAttribLocation`,()=>J,`target`,()=>Au,`buffer`,`bindBuffer`,()=>J,()=>ju,`framebuffer`,`bindFramebuffer`,()=>J,()=>Mu,`renderbuffer`,`bindRenderbuffer`,()=>J,()=>Nu,`bindTexture`,()=>Pu,`red`,()=>Pu,`green`,()=>Pu,`blue`,()=>Pu,`alpha`,`blendColor`,()=>J,`mode`,`blendEquation`,()=>J,`modeRGB`,()=>J,`modeAlpha`,`blendEquationSeparate`,()=>J,`sfactor`,()=>J,`dfactor`,`blendFunc`,()=>J,`srcRGB`,()=>J,`dstRGB`,()=>J,`srcAlpha`,()=>J,`dstAlpha`,`blendFuncSeparate`,()=>J,()=>J,`checkFramebufferStatus`,()=>Fu,`mask`,`clear`,()=>Pu,()=>Pu,()=>Pu,()=>Pu,`clearColor`,()=>Pu,`depth`,`clearDepth`,()=>X,`s`,`clearStencil`,()=>Iu,()=>Iu,()=>Iu,()=>Iu,`colorMask`,()=>ku,`compileShader`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>X,`x`,()=>X,`y`,()=>q,`width`,()=>q,`height`,()=>X,`border`,`copyTexImage2D`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>X,()=>X,()=>q,()=>q,`copyTexSubImage2D`,()=>Au,`createBuffer`,()=>ju,`createFramebuffer`,()=>Ou,`createProgram`,()=>Mu,`createRenderbuffer`,()=>J,`type`,()=>ku,`createShader`,()=>Nu,`createTexture`,()=>J,`cullFace`,()=>Au,`deleteBuffer`,()=>ju,`deleteFramebuffer`,()=>Ou,`deleteProgram`,()=>Mu,`deleteRenderbuffer`,()=>ku,`deleteShader`,()=>Nu,`deleteTexture`,()=>J,`func`,`depthFunc`,()=>Iu,`flag`,`depthMask`,()=>Pu,`zNear`,()=>Pu,`zFar`,`depthRange`,()=>Ou,()=>ku,`detachShader`,()=>J,`cap`,`disable`,()=>Y,`disableVertexAttribArray`,()=>J,()=>X,`first`,()=>q,`count`,`drawArrays`,()=>J,()=>q,()=>J,()=>Lu,`offset`,`drawElements`,()=>J,`enable`,()=>Y,`enableVertexAttribArray`,`finish`,`flush`,()=>J,()=>J,`attachment`,()=>J,`renderbuffertarget`,()=>Mu,`framebufferRenderbuffer`,()=>J,()=>J,()=>J,`textarget`,()=>Nu,()=>X,`framebufferTexture2D`,()=>J,`frontFace`,()=>J,`generateMipmap`,()=>Ou,()=>Y,()=>Ru,`getActiveAttrib`,()=>Ou,()=>Y,()=>Ru,`getActiveUniform`,()=>Ou,()=>ku,`getAttachedShaders`,()=>Ou,()=>X,`getAttribLocation`,()=>J,()=>J,`pname`,`getBufferParameter`,()=>ec,`getContextAttributes`,()=>J,`getError`,`getExtension`,`ANGLE_instanced_arrays`,`extensionName`,()=>zu,`EXT_blend_minmax`,()=>Bu,`EXT_color_buffer_float`,()=>Vu,`EXT_color_buffer_half_float`,()=>Hu,`EXT_float_blend`,()=>Uu,`EXT_frag_depth`,()=>Wu,`EXT_sRGB`,()=>Gu,`EXT_shader_texture_lod`,()=>Ku,`EXT_texture_compression_bptc`,()=>qu,`EXT_texture_compression_rgtc`,()=>Ju,`EXT_texture_filter_anisotropic`,()=>Yu,`KHR_parallel_shader_compile`,()=>Xu,`OES_element_index_uint`,()=>Zu,`OES_fbo_render_mipmap`,()=>Qu,`OES_standard_derivatives`,()=>$u,`OES_texture_float`,()=>ed,`OES_texture_float_linear`,()=>td,`OES_texture_half_float`,()=>nd,`OES_texture_half_float_linear`,()=>rd,`OES_vertex_array_object`,()=>id,`OVR_multiview2`,()=>ad,`WEBGL_color_buffer_float`,()=>od,`WEBGL_compressed_texture_astc`,()=>sd,`WEBGL_compressed_texture_etc`,()=>cd,`WEBGL_compressed_texture_etc1`,()=>ld,`WEBGL_compressed_texture_pvrtc`,()=>ud,`WEBGL_compressed_texture_s3tc`,()=>dd,`WEBGL_compressed_texture_s3tc_srgb`,()=>fd,`WEBGL_debug_renderer_info`,()=>pd,`WEBGL_debug_shaders`,()=>md,`WEBGL_depth_texture`,()=>hd,`WEBGL_draw_buffers`,()=>gd,`WEBGL_lose_context`,()=>_d,`WEBGL_multi_draw`,()=>vd,()=>J,()=>J,()=>J,`getFramebufferAttachmentParameter`,()=>J,`getParameter`,()=>Ou,`getProgramInfoLog`,()=>Ou,()=>J,`getProgramParameter`,()=>J,()=>J,`getRenderbufferParameter`,()=>ku,`getShaderInfoLog`,()=>ku,()=>J,`getShaderParameter`,()=>J,`shadertype`,()=>J,`precisiontype`,()=>yd,`getShaderPrecisionFormat`,()=>ku,`getShaderSource`,`getSupportedExtensions`,()=>J,()=>J,`getTexParameter`,()=>Ou,()=>bd,`location`,`getUniform`,()=>Ou,()=>bd,`getUniformLocation`,()=>Y,()=>J,`getVertexAttrib`,()=>Y,()=>J,()=>Lu,`getVertexAttribOffset`,()=>J,()=>J,`hint`,()=>Au,()=>Iu,`isBuffer`,`isContextLost`,()=>J,()=>Iu,`isEnabled`,()=>ju,()=>Iu,`isFramebuffer`,()=>Ou,()=>Iu,`isProgram`,()=>Mu,()=>Iu,`isRenderbuffer`,()=>ku,()=>Iu,`isShader`,()=>Nu,()=>Iu,`isTexture`,()=>xd,`lineWidth`,()=>Ou,`linkProgram`,()=>J,()=>X,()=>Iu,`param`,`pixelStorei`,()=>xd,`factor`,()=>xd,`units`,`polygonOffset`,()=>J,()=>J,()=>q,()=>q,`renderbufferStorage`,()=>Pu,`value`,()=>Iu,`invert`,`sampleCoverage`,()=>X,()=>X,()=>q,()=>q,`scissor`,()=>ku,`source`,`shaderSource`,()=>J,()=>X,`ref`,()=>Y,`stencilFunc`,()=>J,`face`,()=>J,()=>X,()=>Y,`stencilFuncSeparate`,()=>Y,`stencilMask`,()=>J,()=>Y,`stencilMaskSeparate`,()=>J,`fail`,()=>J,`zfail`,()=>J,`zpass`,`stencilOp`,()=>J,()=>J,()=>J,()=>J,`stencilOpSeparate`,()=>J,()=>J,()=>xd,`texParameterf`,()=>J,()=>J,()=>X,`texParameteri`,()=>bd,()=>xd,`uniform1f`,()=>bd,()=>X,`uniform1i`,()=>bd,()=>xd,()=>xd,`uniform2f`,()=>bd,()=>X,()=>X,`uniform2i`,()=>bd,()=>xd,()=>xd,()=>xd,`z`,`uniform3f`,()=>bd,()=>X,()=>X,()=>X,`uniform3i`,()=>bd,()=>xd,()=>xd,()=>xd,()=>xd,`w`,`uniform4f`,()=>bd,()=>X,()=>X,()=>X,()=>X,`uniform4i`,()=>Ou,`useProgram`,()=>Ou,`validateProgram`,()=>Y,()=>xd,`vertexAttrib1f`,()=>Y,()=>Sd,`values`,`vertexAttrib1fv`,()=>Y,()=>xd,()=>xd,`vertexAttrib2f`,()=>Y,()=>Sd,`vertexAttrib2fv`,()=>Y,()=>xd,()=>xd,()=>xd,`vertexAttrib3f`,()=>Y,()=>Sd,`vertexAttrib3fv`,()=>Y,()=>xd,()=>xd,()=>xd,()=>xd,`vertexAttrib4f`,()=>Y,()=>Sd,`vertexAttrib4fv`,()=>Y,()=>X,`size`,()=>J,()=>Iu,`normalized`,()=>q,`stride`,()=>Lu,`vertexAttribPointer`,()=>X,()=>X,()=>q,()=>q,`viewport`,256,`DEPTH_BUFFER_BIT`,1024,`STENCIL_BUFFER_BIT`,16384,`COLOR_BUFFER_BIT`,0,`POINTS`,1,`LINES`,2,`LINE_LOOP`,3,`LINE_STRIP`,4,`TRIANGLES`,5,`TRIANGLE_STRIP`,6,`TRIANGLE_FAN`,0,`ZERO`,1,`ONE`,768,`SRC_COLOR`,769,`ONE_MINUS_SRC_COLOR`,770,`SRC_ALPHA`,771,`ONE_MINUS_SRC_ALPHA`,772,`DST_ALPHA`,773,`ONE_MINUS_DST_ALPHA`,774,`DST_COLOR`,775,`ONE_MINUS_DST_COLOR`,776,`SRC_ALPHA_SATURATE`,32774,`FUNC_ADD`,32777,`BLEND_EQUATION`,32777,`BLEND_EQUATION_RGB`,34877,`BLEND_EQUATION_ALPHA`,32778,`FUNC_SUBTRACT`,32779,`FUNC_REVERSE_SUBTRACT`,32968,`BLEND_DST_RGB`,32969,`BLEND_SRC_RGB`,32970,`BLEND_DST_ALPHA`,32971,`BLEND_SRC_ALPHA`,32769,`CONSTANT_COLOR`,32770,`ONE_MINUS_CONSTANT_COLOR`,32771,`CONSTANT_ALPHA`,32772,`ONE_MINUS_CONSTANT_ALPHA`,32773,`BLEND_COLOR`,34962,`ARRAY_BUFFER`,34963,`ELEMENT_ARRAY_BUFFER`,34964,`ARRAY_BUFFER_BINDING`,34965,`ELEMENT_ARRAY_BUFFER_BINDING`,35040,`STREAM_DRAW`,35044,`STATIC_DRAW`,35048,`DYNAMIC_DRAW`,34660,`BUFFER_SIZE`,34661,`BUFFER_USAGE`,34342,`CURRENT_VERTEX_ATTRIB`,1028,`FRONT`,1029,`BACK`,1032,`FRONT_AND_BACK`,2884,`CULL_FACE`,3042,`BLEND`,3024,`DITHER`,2960,`STENCIL_TEST`,2929,`DEPTH_TEST`,3089,`SCISSOR_TEST`,32823,`POLYGON_OFFSET_FILL`,32926,`SAMPLE_ALPHA_TO_COVERAGE`,32928,`SAMPLE_COVERAGE`,0,`NO_ERROR`,1280,`INVALID_ENUM`,1281,`INVALID_VALUE`,1282,`INVALID_OPERATION`,1285,`OUT_OF_MEMORY`,2304,`CW`,2305,`CCW`,2849,`LINE_WIDTH`,33901,`ALIASED_POINT_SIZE_RANGE`,33902,`ALIASED_LINE_WIDTH_RANGE`,2885,`CULL_FACE_MODE`,2886,`FRONT_FACE`,2928,`DEPTH_RANGE`,2930,`DEPTH_WRITEMASK`,2931,`DEPTH_CLEAR_VALUE`,2932,`DEPTH_FUNC`,2961,`STENCIL_CLEAR_VALUE`,2962,`STENCIL_FUNC`,2964,`STENCIL_FAIL`,2965,`STENCIL_PASS_DEPTH_FAIL`,2966,`STENCIL_PASS_DEPTH_PASS`,2967,`STENCIL_REF`,2963,`STENCIL_VALUE_MASK`,2968,`STENCIL_WRITEMASK`,34816,`STENCIL_BACK_FUNC`,34817,`STENCIL_BACK_FAIL`,34818,`STENCIL_BACK_PASS_DEPTH_FAIL`,34819,`STENCIL_BACK_PASS_DEPTH_PASS`,36003,`STENCIL_BACK_REF`,36004,`STENCIL_BACK_VALUE_MASK`,36005,`STENCIL_BACK_WRITEMASK`,2978,`VIEWPORT`,3088,`SCISSOR_BOX`,3106,`COLOR_CLEAR_VALUE`,3107,`COLOR_WRITEMASK`,3317,`UNPACK_ALIGNMENT`,3333,`PACK_ALIGNMENT`,3379,`MAX_TEXTURE_SIZE`,3386,`MAX_VIEWPORT_DIMS`,3408,`SUBPIXEL_BITS`,3410,`RED_BITS`,3411,`GREEN_BITS`,3412,`BLUE_BITS`,3413,`ALPHA_BITS`,3414,`DEPTH_BITS`,3415,`STENCIL_BITS`,10752,`POLYGON_OFFSET_UNITS`,32824,`POLYGON_OFFSET_FACTOR`,32873,`TEXTURE_BINDING_2D`,32936,`SAMPLE_BUFFERS`,32937,`SAMPLES`,32938,`SAMPLE_COVERAGE_VALUE`,32939,`SAMPLE_COVERAGE_INVERT`,34467,`COMPRESSED_TEXTURE_FORMATS`,4352,`DONT_CARE`,4353,`FASTEST`,4354,`NICEST`,33170,`GENERATE_MIPMAP_HINT`,5120,`BYTE`,5121,`UNSIGNED_BYTE`,5122,`SHORT`,5123,`UNSIGNED_SHORT`,5124,`INT`,5125,`UNSIGNED_INT`,5126,`FLOAT`,6402,`DEPTH_COMPONENT`,6406,`ALPHA`,6407,`RGB`,6408,`RGBA`,6409,`LUMINANCE`,6410,`LUMINANCE_ALPHA`,32819,`UNSIGNED_SHORT_4_4_4_4`,32820,`UNSIGNED_SHORT_5_5_5_1`,33635,`UNSIGNED_SHORT_5_6_5`,35632,`FRAGMENT_SHADER`,35633,`VERTEX_SHADER`,34921,`MAX_VERTEX_ATTRIBS`,36347,`MAX_VERTEX_UNIFORM_VECTORS`,36348,`MAX_VARYING_VECTORS`,35661,`MAX_COMBINED_TEXTURE_IMAGE_UNITS`,35660,`MAX_VERTEX_TEXTURE_IMAGE_UNITS`,34930,`MAX_TEXTURE_IMAGE_UNITS`,36349,`MAX_FRAGMENT_UNIFORM_VECTORS`,35663,`SHADER_TYPE`,35712,`DELETE_STATUS`,35714,`LINK_STATUS`,35715,`VALIDATE_STATUS`,35717,`ATTACHED_SHADERS`,35718,`ACTIVE_UNIFORMS`,35721,`ACTIVE_ATTRIBUTES`,35724,`SHADING_LANGUAGE_VERSION`,35725,`CURRENT_PROGRAM`,512,`NEVER`,513,`LESS`,514,`EQUAL`,515,`LEQUAL`,516,`GREATER`,517,`NOTEQUAL`,518,`GEQUAL`,519,`ALWAYS`,7680,`KEEP`,7681,`REPLACE`,7682,`INCR`,7683,`DECR`,5386,`INVERT`,34055,`INCR_WRAP`,34056,`DECR_WRAP`,7936,`VENDOR`,7937,`RENDERER`,7938,`VERSION`,9728,`NEAREST`,9729,`LINEAR`,9984,`NEAREST_MIPMAP_NEAREST`,9985,`LINEAR_MIPMAP_NEAREST`,9986,`NEAREST_MIPMAP_LINEAR`,9987,`LINEAR_MIPMAP_LINEAR`,10240,`TEXTURE_MAG_FILTER`,10241,`TEXTURE_MIN_FILTER`,10242,`TEXTURE_WRAP_S`,10243,`TEXTURE_WRAP_T`,3553,`TEXTURE_2D`,5890,`TEXTURE`,34067,`TEXTURE_CUBE_MAP`,34068,`TEXTURE_BINDING_CUBE_MAP`,34069,`TEXTURE_CUBE_MAP_POSITIVE_X`,34070,`TEXTURE_CUBE_MAP_NEGATIVE_X`,34071,`TEXTURE_CUBE_MAP_POSITIVE_Y`,34072,`TEXTURE_CUBE_MAP_NEGATIVE_Y`,34073,`TEXTURE_CUBE_MAP_POSITIVE_Z`,34074,`TEXTURE_CUBE_MAP_NEGATIVE_Z`,34076,`MAX_CUBE_MAP_TEXTURE_SIZE`,33984,`TEXTURE0`,33985,`TEXTURE1`,33986,`TEXTURE2`,33987,`TEXTURE3`,33988,`TEXTURE4`,33989,`TEXTURE5`,33990,`TEXTURE6`,33991,`TEXTURE7`,33992,`TEXTURE8`,33993,`TEXTURE9`,33994,`TEXTURE10`,33995,`TEXTURE11`,33996,`TEXTURE12`,33997,`TEXTURE13`,33998,`TEXTURE14`,33999,`TEXTURE15`,34e3,`TEXTURE16`,34001,`TEXTURE17`,34002,`TEXTURE18`,34003,`TEXTURE19`,34004,`TEXTURE20`,34005,`TEXTURE21`,34006,`TEXTURE22`,34007,`TEXTURE23`,34008,`TEXTURE24`,34009,`TEXTURE25`,34010,`TEXTURE26`,34011,`TEXTURE27`,34012,`TEXTURE28`,34013,`TEXTURE29`,34014,`TEXTURE30`,34015,`TEXTURE31`,34016,`ACTIVE_TEXTURE`,10497,`REPEAT`,33071,`CLAMP_TO_EDGE`,33648,`MIRRORED_REPEAT`,35664,`FLOAT_VEC2`,35665,`FLOAT_VEC3`,35666,`FLOAT_VEC4`,35667,`INT_VEC2`,35668,`INT_VEC3`,35669,`INT_VEC4`,35670,`BOOL`,35671,`BOOL_VEC2`,35672,`BOOL_VEC3`,35673,`BOOL_VEC4`,35674,`FLOAT_MAT2`,35675,`FLOAT_MAT3`,35676,`FLOAT_MAT4`,35678,`SAMPLER_2D`,35680,`SAMPLER_CUBE`,34338,`VERTEX_ATTRIB_ARRAY_ENABLED`,34339,`VERTEX_ATTRIB_ARRAY_SIZE`,34340,`VERTEX_ATTRIB_ARRAY_STRIDE`,34341,`VERTEX_ATTRIB_ARRAY_TYPE`,34922,`VERTEX_ATTRIB_ARRAY_NORMALIZED`,34373,`VERTEX_ATTRIB_ARRAY_POINTER`,34975,`VERTEX_ATTRIB_ARRAY_BUFFER_BINDING`,35738,`IMPLEMENTATION_COLOR_READ_TYPE`,35739,`IMPLEMENTATION_COLOR_READ_FORMAT`,35713,`COMPILE_STATUS`,36336,`LOW_FLOAT`,36337,`MEDIUM_FLOAT`,36338,`HIGH_FLOAT`,36339,`LOW_INT`,36340,`MEDIUM_INT`,36341,`HIGH_INT`,36160,`FRAMEBUFFER`,36161,`RENDERBUFFER`,32854,`RGBA4`,32855,`RGB5_A1`,32856,`RGBA8`,36194,`RGB565`,33189,`DEPTH_COMPONENT16`,36168,`STENCIL_INDEX8`,34041,`DEPTH_STENCIL`,36162,`RENDERBUFFER_WIDTH`,36163,`RENDERBUFFER_HEIGHT`,36164,`RENDERBUFFER_INTERNAL_FORMAT`,36176,`RENDERBUFFER_RED_SIZE`,36177,`RENDERBUFFER_GREEN_SIZE`,36178,`RENDERBUFFER_BLUE_SIZE`,36179,`RENDERBUFFER_ALPHA_SIZE`,36180,`RENDERBUFFER_DEPTH_SIZE`,36181,`RENDERBUFFER_STENCIL_SIZE`,36048,`FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE`,36049,`FRAMEBUFFER_ATTACHMENT_OBJECT_NAME`,36050,`FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL`,36051,`FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE`,36064,`COLOR_ATTACHMENT0`,36096,`DEPTH_ATTACHMENT`,36128,`STENCIL_ATTACHMENT`,33306,`DEPTH_STENCIL_ATTACHMENT`,0,`NONE`,36053,`FRAMEBUFFER_COMPLETE`,36054,`FRAMEBUFFER_INCOMPLETE_ATTACHMENT`,36055,`FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT`,36057,`FRAMEBUFFER_INCOMPLETE_DIMENSIONS`,36061,`FRAMEBUFFER_UNSUPPORTED`,36006,`FRAMEBUFFER_BINDING`,36007,`RENDERBUFFER_BINDING`,34024,`MAX_RENDERBUFFER_SIZE`,1286,`INVALID_FRAMEBUFFER_OPERATION`,37440,`UNPACK_FLIP_Y_WEBGL`,37441,`UNPACK_PREMULTIPLY_ALPHA_WEBGL`,37442,`CONTEXT_LOST_WEBGL`,37443,`UNPACK_COLORSPACE_CONVERSION_WEBGL`,37444,`BROWSER_DEFAULT_WEBGL`,`WebGLRenderingContextBase`,`PPn!n"J4#9n$4%n&4'9n(4)9n*4+Pn,2-$1.Pn/20n122$13Pn420n526&27$18Pn92:Pn;,J2<$1=Pn>2:Pn?,J2@$1APnB2:PnC,J2D$1EPnF2:PnG,J2-$1HPnI2JnK2LnM2NnO2P$1QPnR2S$1TPnU2VnW2X$1YPnZ2[n\\2]$1^Pn_2\`na2bnc2dne2f$1gPnh2:ni1jPnk2l$1mPnn2Jno2Lnp2Nnq2P$1rPns2t$1uPnv2w$1xPny2Jnz2Ln{2Nn|2P$1}Pn~22$1Pn2:n2n2n
2n2n2n2n2$1Pn2:n2n2n2n2n2n2n2$1Pn1Pn1Pn1\xA0Pn¡1¢Pn£2¤Pn¥,J1¦Pn§1¨Pn©2S$1ªPPn«,J2<$1¬PPn,J2@$1®PPn¯,J20$1°PPn±,J2D$1²PPn³,J22$1´PPnµ,J2-$1¶Pn·2¸$1¹Pnº2»$1¼Pn½2¾n¿2À$1ÁPnÂ20nÃ22$1ÄPnÅ2Æ$1ÇPnÈ26$1ÉPnÊ2SnË2ÌnÍ2Î$1ÏPnÐ2SnÑ2ÎnÒ2¤nÓ2Ô$1ÕPnÖ2Æ$1×PnØ26$1ÙP$1ÚP$1ÛPnÜ2:nÝ2Þnß2àPná,J2D$1âPnã2:nä2Þnå2æPnç,J2-nè2$1éPnê2S$1ëPnì2:$1íPnî20nï26Pnð,J1ñPnò20nó26Pnô,J1õPnö20Pn÷F,J1øPnù20&27nú1ûPnü2:ný2þ"1ÿPPnĀ,J1āPnĂ1ăP&27"1ĄP.ą2ĆPnć,J1ĄP.Ĉ2ĆPnĉ,J1ĄP.Ċ2ĆPnċ,J1ĄP.Č2ĆPnč,J1ĄP.Ď2ĆPnď,J1ĄP.Đ2ĆPnđ,J1ĄP.Ē2ĆPnē,J1ĄP.Ĕ2ĆPnĕ,J1ĄP.Ė2ĆPnė,J1ĄP.Ę2ĆPnę,J1ĄP.Ě2ĆPně,J1ĄP.Ĝ2ĆPnĝ,J1ĄP.Ğ2ĆPnğ,J1ĄP.Ġ2ĆPnġ,J1ĄP.Ģ2ĆPnģ,J1ĄP.Ĥ2ĆPnĥ,J1ĄP.Ħ2ĆPnħ,J1ĄP.Ĩ2ĆPnĩ,J1ĄP.Ī2ĆPnī,J1ĄP.Ĭ2ĆPnĭ,J1ĄP.Į2ĆPnį,J1ĄP.İ2ĆPnı,J1ĄP.IJ2ĆPnij,J1ĄP.Ĵ2ĆPnĵ,J1ĄP.Ķ2ĆPnķ,J1ĄP.ĸ2ĆPnĹ,J1ĄP.ĺ2ĆPnĻ,J1ĄP.ļ2ĆPnĽ,J1ĄP.ľ2ĆPnĿ,J1ĄP.ŀ2ĆPnŁ,J1ĄP.ł2ĆPnŃ,J1ĄP.ń2ĆPnŅ,J1ĄP.ņ2ĆPnŇ,J1ĄP.ň2ĆPnʼn,J1ĄPnŊ2:nŋ2ÞnŌ2þ"1ōPnŎ2þ"1ŏPnŐ20P&,J1őPnŒ20nœ2þ"1ŔPnŕ2:nŖ2þ"1ŗPnŘ22P&,J1řPnŚ22nś2þ"1ŜPnŝ2Şnş2ŠPnš,J1ŢPnţ22P&,J1ŤPP&F,J1ťPnŦ2:nŧ2þ"1ŨPnũ20nŪ2ū"1ŬPnŭ20&27PnŮ,J1ůPnŰ26nű2þ"1ŲPnų26nŴ2þnŵ1ŶPnŷ2:nŸ2S$1ŹPPnź,J2<nŻ1żP)1ŽPnž2Ænſ1ƀPPnƁ,J2@nƂ1ƃPPnƄ,J20nƅ1ƆPPnƇ,J2Dnƈ1ƉPPnƊ,J22nƋ1ƌPPnƍ,J2-nƎ1ƏPnƐ2$1ƑPnƒ20$1ƓPnƔ2þPnƕnƖJ2Ɨ$1ƘPnƙ2ƚnƛ2Ɯ$1ƝPnƞ2:nƟ2nƠ2nơ2$1ƢPnƣ2Ƥnƥ2Ʀ$1ƧPnƨ2nƩ2nƪ2nƫ2$1ƬPnƭ22&2Ʈ$1ƯPnư2¸nƱ2ƲnƳ2l$1ƴPnƵ2ƶnƷ2¸nƸ2Ʋnƹ2l$1ƺPnƻ2l$1ƼPnƽ2ƶnƾ2l$1ƿPnǀ2ǁnǂ2ǃnDŽ2Dž$1džPnLJ2ƶnLj2ǁnlj2ǃnNJ2Dž$1NjPnnj2:nǍ2þnǎ2Ɨ$1ǏPnǐ2:nǑ2þnǒ2Ɨ$1ǓPPnǔ,J2ūnǕ2$1ǖPPnǗ,J2ūnǘ2$1ǙPPnǚ,J2ūnǛ2nǜ2$1ǝPPnǞ,J2ūnǟ2nǠ2$1ǡPPnǢ,J2ūnǣ2nǤ2nǥ2Ǧ$1ǧPPnǨ,J2ūnǩ2nǪ2nǫ2Ǧ$1ǬPPnǭ,J2ūnǮ2nǯ2nǰ2ǦnDZ2Dz$1dzPPnǴ,J2ūnǵ2nǶ2nǷ2ǦnǸ2Dz$1ǹPPnǺ,J20$1ǻPnǼ20$1ǽPnǾ26nǿ2$1ȀPnȁ26nȂ2ȃ$1ȄPnȅ26nȆ2nȇ2$1ȈPnȉ26nȊ2ȃ$1ȋPnȌ26nȍ2nȎ2nȏ2Ǧ$1ȐPnȑ26nȒ2ȃ$1ȓPnȔ26nȕ2nȖ2nȗ2ǦnȘ2Dz$1șPnȚ26nț2ȃ$1ȜPnȝ26nȞ2ȟnȠ2¤nȡ2Ȣnȣ2Ȥnȥ2Ô$1ȦPnȧ2nȨ2nȩ2nȪ2$1ȫ.Ȭ4ȭ9.Ȯ4ȯ9.Ȱ4ȱ9.Ȳ4ȳ9.ȴ4ȵ9.ȶ4ȷ9.ȸ4ȹ9.Ⱥ4Ȼ9.ȼ4Ƚ9.Ⱦ4ȿ9.ɀ4Ɂ9.ɂ4Ƀ9.Ʉ4Ʌ9.Ɇ4ɇ9.Ɉ4ɉ9.Ɋ4ɋ9.Ɍ4ɍ9.Ɏ4ɏ9.ɐ4ɑ9.ɒ4ɓ9.ɔ4ɕ9.ɖ4ɗ9.ɘ4ə9.ɚ4ɛ9.ɜ4ɝ9.ɞ4ɟ9.ɠ4ɡ9.ɢ4ɣ9.ɤ4ɥ9.ɦ4ɧ9.ɨ4ɩ9.ɪ4ɫ9.ɬ4ɭ9.ɮ4ɯ9.ɰ4ɱ9.ɲ4ɳ9.ɴ4ɵ9.ɶ4ɷ9.ɸ4ɹ9.ɺ4ɻ9.ɼ4ɽ9.ɾ4ɿ9.ʀ4ʁ9.ʂ4ʃ9.ʄ4ʅ9.ʆ4ʇ9.ʈ4ʉ9.ʊ4ʋ9.ʌ4ʍ9.ʎ4ʏ9.ʐ4ʑ9.ʒ4ʓ9.ʔ4ʕ9.ʖ4ʗ9.ʘ4ʙ9.ʚ4ʛ9.ʜ4ʝ9.ʞ4ʟ9.ʠ4ʡ9.ʢ4ʣ9.ʤ4ʥ9.ʦ4ʧ9.ʨ4ʩ9.ʪ4ʫ9.ʬ4ʭ9.ʮ4ʯ9.ʰ4ʱ9.ʲ4ʳ9.ʴ4ʵ9.ʶ4ʷ9.ʸ4ʹ9.ʺ4ʻ9.ʼ4ʽ9.ʾ4ʿ9.ˀ4ˁ9.˂4˃9.˄4˅9.ˆ4ˇ9.ˈ4ˉ9.ˊ4ˋ9.ˌ4ˍ9.ˎ4ˏ9.ː4ˑ9.˒4˓9.˔4˕9.˖4˗9.˘4˙9.˚4˛9.˜4˝9.˞4˟9.ˠ4ˡ9.ˢ4ˣ9.ˤ4˥9.˦4˧9.˨4˩9.˪4˫9.ˬ4˭9.ˮ4˯9.˰4˱9.˲4˳9.˴4˵9.˶4˷9.˸4˹9.˺4˻9.˼4˽9.˾4˿9.̀4́9.̂4̃9.̄4̅9.̆4̇9.̈4̉9.̊4̋9.̌4̍9.̎4̏9.̐4̑9.̒4̓9.̔4̕9.̖4̗9.̘4̙9.̚4̛9.̜4̝9.̞4̟9.̠4̡9.̢4̣9.̤4̥9.̦4̧9.̨4̩9.̪4̫9.̬4̭9.̮4̯9.̰4̱9.̲4̳9.̴4̵9.̶4̷9.̸4̹9.̺4̻9.̼4̽9.̾4̿9.̀4́9.͂4̓9.̈́4ͅ9.͆4͇9.͈4͉9.͊4͋9.͌4͍9.͎4͏9.͐4͑9.͒4͓9.͔4͕9.͖4͗9.͘4͙9.͚4͛9.͜4͝9.͞4͟9.͠4͡9.͢4ͣ9.ͤ4ͥ9.ͦ4ͧ9.ͨ4ͩ9.ͪ4ͫ9.ͬ4ͭ9.ͮ4ͯ9.Ͱ4ͱ9.Ͳ4ͳ9.ʹ4͵9.Ͷ4ͷ9.49.ͺ4ͻ9.ͼ4ͽ9.;4Ϳ9.49.49.΄4΅9.Ά4·9.Έ4Ή9.Ί49.Ό49.Ύ4Ώ9.ΐ4Α9.Β4Γ9.Δ4Ε9.Ζ4Η9.Θ4Ι9.Κ4Λ9.Μ4Ν9.Ξ4Ο9.Π4Ρ9.4Σ9.Τ4Υ9.Φ4Χ9.Ψ4Ω9.Ϊ4Ϋ9.ά4έ9.ή4ί9.ΰ4α9.β4γ9.δ4ε9.ζ4η9.θ4ι9.κ4λ9.μ4ν9.ξ4ο9.π4ρ9.ς4σ9.τ4υ9.φ4χ9.ψ4ω9.ϊ4ϋ9.ό4ύ9.ώ4Ϗ9.ϐ4ϑ9.ϒ4ϓ9.ϔ4ϕ9.ϖ4ϗ9.Ϙ4ϙ9.Ϛ4ϛ9.Ϝ4ϝ9.Ϟ4ϟ9.Ϡ4ϡ9.Ϣ4ϣ9.Ϥ4ϥ9.Ϧ4ϧ9.Ϩ4ϩ9.Ϫ4ϫ9.Ϭ4ϭ9.Ϯ4ϯ9.ϰ4ϱ9.ϲ4ϳ9.ϴ4ϵ9.϶4Ϸ9.ϸ4Ϲ9.Ϻ4ϻ9.ϼ4Ͻ9.Ͼ4Ͽ9.Ѐ4Ё9.Ђ4Ѓ9.Є4Ѕ9.І4Ї9.Ј4Љ9.Њ4Ћ9.Ќ4Ѝ9.Ў4Џ9.А4Б9.В4Г9.Д4Е9.Ж4З9.И4Й9.К4Л9.М4Н9.О4П9.Р4С9.Т4У9.Ф4Х9.Ц4Ч9.Ш4Щ9.Ъ4Ы9.Ь4Э9.Ю4Я9.а4б9.в4г9.д4е9.ж4з9.и4й9.к4л9.м4н9.о4п9.р4с9.т4у9.ф4х9.ц4ч9.ш4щ9.ъ4ы9.ь4э9.ю4я9.ѐ4ё9.ђ4ѓ9.є4ѕ9.і4ї9.ј4љ9.њ4ћ9.ќ4ѝ9.ў4џ9.Ѡ4ѡ9.Ѣ4ѣ9.Ѥ4ѥ9.Ѧ4ѧ9.Ѩ4ѩ9.Ѫ4ѫ9.Ѭ4ѭ9.Ѯ4ѯ9.Ѱ4ѱ9.Ѳ4ѳ9.Ѵ4ѵ9.Ѷ4ѷ9.Ѹ4ѹ9.Ѻ4ѻ9.Ѽ4ѽ9MwѾy`],Lc=[()=>J,`target`,()=>Cd,`size`,()=>J,`usage`,`bufferData`,()=>J,()=>wd,`data`,()=>J,()=>J,()=>Lu,`offset`,()=>wd,`bufferSubData`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>X,`border`,()=>Td,()=>Ed,`compressedTexImage2D`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>q,()=>q,()=>J,`format`,()=>Td,()=>Ed,`compressedTexSubImage2D`,()=>X,`x`,()=>X,`y`,()=>q,()=>q,()=>J,()=>J,`type`,()=>Td,()=>Ed,`pixels`,`readPixels`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Td,()=>Ed,`texImage2D`,()=>J,()=>X,()=>X,()=>J,()=>J,()=>Dd,`source`,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Td,()=>Ed,`texSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>J,()=>J,()=>Dd,()=>bd,`location`,()=>Sd,`v`,`uniform1fv`,()=>bd,()=>Od,`uniform1iv`,()=>bd,()=>Sd,`uniform2fv`,()=>bd,()=>Od,`uniform2iv`,()=>bd,()=>Sd,`uniform3fv`,()=>bd,()=>Od,`uniform3iv`,()=>bd,()=>Sd,`uniform4fv`,()=>bd,()=>Od,`uniform4iv`,()=>bd,()=>Iu,`transpose`,()=>Sd,`value`,`uniformMatrix2fv`,()=>bd,()=>Iu,()=>Sd,`uniformMatrix3fv`,()=>bd,()=>Iu,()=>Sd,`uniformMatrix4fv`,`WebGLRenderingContextOverloads`,`PPn!2"n#2$n%2&$1'Pn(2"Pn),J2*n+2&$1'Pn,2"n-2.n/2*$10Pn12"n223n425n627n829n:2;n=o<"2*$1>Pn?2"n@23nA2BnC2DnE27nF29nG2HnJoI"2*$1KPnL2MnN2OnP27nQ29nR2HnS2TPnVoU",J2W$1XPnY2"nZ23n[25n\\27n]29n^2;n_2Hn\`2TPnboa",J2W$1cPnd2"ne23nf25ng2Hnh2Tni2j$1cPnk2"nl23nm2Bnn2Dno27np29nq2Hnr2TPntos",J2W$1uPnv2"nw23nx2Bny2Dnz2Hn{2Tn|2j$1uPPn},J2~n2$1PPn,J2~n2$1PPn
,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2n2$1PPn,J2~n2n2$1\xA0PPn¡,J2~n¢2n£2$1¤Mw¥y`],Rc=[()=>J,`target`,()=>kd,`query`,`beginQuery`,()=>J,`primitiveMode`,`beginTransformFeedback`,()=>J,()=>Y,`index`,()=>Au,`buffer`,`bindBufferBase`,()=>J,()=>Y,()=>Au,()=>Lu,`offset`,()=>Cd,`size`,`bindBufferRange`,()=>Y,`unit`,()=>Ad,`sampler`,`bindSampler`,()=>J,()=>jd,`tf`,`bindTransformFeedback`,()=>Md,`array`,`bindVertexArray`,()=>X,`srcX0`,()=>X,`srcY0`,()=>X,`srcX1`,()=>X,`srcY1`,()=>X,`dstX0`,()=>X,`dstY0`,()=>X,`dstX1`,()=>X,`dstY1`,()=>Fu,`mask`,()=>J,`filter`,`blitFramebuffer`,()=>J,()=>X,`drawbuffer`,()=>xd,`depth`,()=>X,`stencil`,`clearBufferfi`,()=>J,()=>X,()=>Sd,`values`,`srcOffset`,`clearBufferfv`,()=>J,()=>X,()=>Od,`clearBufferiv`,()=>J,()=>X,()=>Nd,`clearBufferuiv`,()=>Pd,`sync`,()=>Fu,`flags`,()=>Fd,`timeout`,()=>J,`clientWaitSync`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>q,()=>X,`border`,()=>q,`imageSize`,()=>Lu,`compressedTexImage3D`,()=>J,()=>X,()=>J,()=>q,()=>q,()=>q,()=>X,()=>Td,()=>Ed,`srcData`,()=>Y,`srcLengthOverride`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>X,`zoffset`,()=>q,()=>q,()=>q,()=>J,`format`,()=>q,()=>Lu,`compressedTexSubImage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>Td,()=>Ed,()=>Y,()=>J,`readTarget`,()=>J,`writeTarget`,()=>Lu,`readOffset`,()=>Lu,`writeOffset`,()=>Cd,`copyBufferSubData`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>X,`x`,()=>X,`y`,()=>q,()=>q,`copyTexSubImage3D`,()=>kd,`createQuery`,()=>Ad,`createSampler`,()=>jd,`createTransformFeedback`,()=>Md,`createVertexArray`,()=>kd,`deleteQuery`,()=>Ad,`deleteSampler`,()=>Pd,`deleteSync`,()=>jd,`deleteTransformFeedback`,()=>Md,`vertexArray`,`deleteVertexArray`,()=>J,`mode`,()=>X,`first`,()=>q,`count`,()=>q,`instanceCount`,`drawArraysInstanced`,()=>J,`buffers`,`drawBuffers`,()=>J,()=>q,()=>J,`type`,()=>Lu,()=>q,`drawElementsInstanced`,()=>J,()=>Y,`start`,()=>Y,`end`,()=>q,()=>J,()=>Lu,`drawRangeElements`,()=>J,`endQuery`,`endTransformFeedback`,()=>J,`condition`,()=>Fu,()=>Pd,`fenceSync`,()=>J,()=>J,`attachment`,()=>Nu,`texture`,()=>X,()=>X,`layer`,`framebufferTextureLayer`,()=>Ou,`program`,()=>Y,`uniformBlockIndex`,`getActiveUniformBlockName`,()=>Ou,()=>Y,()=>J,`pname`,`getActiveUniformBlockParameter`,()=>Ou,()=>Y,`uniformIndices`,()=>J,`getActiveUniforms`,()=>J,()=>Lu,`srcByteOffset`,()=>Td,()=>Ed,`dstBuffer`,`dstOffset`,()=>Y,`length`,`getBufferSubData`,()=>Ou,`name`,()=>X,`getFragDataLocation`,()=>J,()=>Y,`getIndexedParameter`,()=>J,()=>J,()=>J,`getInternalformatParameter`,()=>J,()=>J,()=>kd,`getQuery`,()=>kd,()=>J,`getQueryParameter`,()=>Ad,()=>J,`getSamplerParameter`,()=>Pd,()=>J,`getSyncParameter`,()=>Ou,()=>Y,()=>Ru,`getTransformFeedbackVarying`,()=>Ou,`uniformBlockName`,()=>Y,`getUniformBlockIndex`,()=>Ou,`uniformNames`,()=>Y,`getUniformIndices`,()=>J,()=>J,`attachments`,`invalidateFramebuffer`,()=>J,()=>J,()=>X,()=>X,()=>q,()=>q,`invalidateSubFramebuffer`,()=>kd,()=>Iu,`isQuery`,()=>Ad,()=>Iu,`isSampler`,()=>Pd,()=>Iu,`isSync`,()=>jd,()=>Iu,`isTransformFeedback`,()=>Md,()=>Iu,`isVertexArray`,`pauseTransformFeedback`,()=>J,`src`,`readBuffer`,()=>J,()=>q,`samples`,()=>J,()=>q,()=>q,`renderbufferStorageMultisample`,`resumeTransformFeedback`,()=>Ad,()=>J,()=>xd,`param`,`samplerParameterf`,()=>Ad,()=>J,()=>X,`samplerParameteri`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Lu,`pboOffset`,`texImage3D`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,`source`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Td,()=>Ed,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Td,()=>Ed,()=>J,()=>q,`levels`,()=>J,()=>q,()=>q,`texStorage2D`,()=>J,()=>q,()=>J,()=>q,()=>q,()=>q,`texStorage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>Lu,`texSubImage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>Td,()=>Ed,()=>Ou,`varyings`,()=>J,`bufferMode`,`transformFeedbackVaryings`,()=>bd,`location`,()=>Y,`v0`,`uniform1ui`,()=>bd,()=>Nd,`data`,()=>Y,`srcLength`,`uniform1uiv`,()=>bd,()=>Y,()=>Y,`v1`,`uniform2ui`,()=>bd,()=>Nd,()=>Y,`uniform2uiv`,()=>bd,()=>Y,()=>Y,()=>Y,`v2`,`uniform3ui`,()=>bd,()=>Nd,()=>Y,`uniform3uiv`,()=>bd,()=>Y,()=>Y,()=>Y,()=>Y,`v3`,`uniform4ui`,()=>bd,()=>Nd,()=>Y,`uniform4uiv`,()=>Ou,()=>Y,()=>Y,`uniformBlockBinding`,()=>bd,()=>Iu,`transpose`,()=>Sd,()=>Y,`uniformMatrix2x3fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix2x4fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix3x2fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix3x4fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix4x2fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix4x3fv`,()=>Y,()=>Y,`divisor`,`vertexAttribDivisor`,()=>Y,()=>X,()=>X,()=>X,`z`,()=>X,`w`,`vertexAttribI4i`,()=>Y,()=>Od,`vertexAttribI4iv`,()=>Y,()=>Y,()=>Y,()=>Y,()=>Y,`vertexAttribI4ui`,()=>Y,()=>Nd,`vertexAttribI4uiv`,()=>Y,()=>X,()=>J,()=>q,`stride`,()=>Lu,`vertexAttribIPointer`,()=>Pd,()=>Fu,()=>Id,`waitSync`,3074,`READ_BUFFER`,3314,`UNPACK_ROW_LENGTH`,3315,`UNPACK_SKIP_ROWS`,3316,`UNPACK_SKIP_PIXELS`,3330,`PACK_ROW_LENGTH`,3331,`PACK_SKIP_ROWS`,3332,`PACK_SKIP_PIXELS`,6144,`COLOR`,6145,`DEPTH`,6146,`STENCIL`,6403,`RED`,32849,`RGB8`,32857,`RGB10_A2`,32874,`TEXTURE_BINDING_3D`,32877,`UNPACK_SKIP_IMAGES`,32878,`UNPACK_IMAGE_HEIGHT`,32879,`TEXTURE_3D`,32882,`TEXTURE_WRAP_R`,32883,`MAX_3D_TEXTURE_SIZE`,33640,`UNSIGNED_INT_2_10_10_10_REV`,33e3,`MAX_ELEMENTS_VERTICES`,33001,`MAX_ELEMENTS_INDICES`,33082,`TEXTURE_MIN_LOD`,33083,`TEXTURE_MAX_LOD`,33084,`TEXTURE_BASE_LEVEL`,33085,`TEXTURE_MAX_LEVEL`,32775,`MIN`,32776,`MAX`,33190,`DEPTH_COMPONENT24`,34045,`MAX_TEXTURE_LOD_BIAS`,34892,`TEXTURE_COMPARE_MODE`,34893,`TEXTURE_COMPARE_FUNC`,34917,`CURRENT_QUERY`,34918,`QUERY_RESULT`,34919,`QUERY_RESULT_AVAILABLE`,35041,`STREAM_READ`,35042,`STREAM_COPY`,35045,`STATIC_READ`,35046,`STATIC_COPY`,35049,`DYNAMIC_READ`,35050,`DYNAMIC_COPY`,34852,`MAX_DRAW_BUFFERS`,34853,`DRAW_BUFFER0`,34854,`DRAW_BUFFER1`,34855,`DRAW_BUFFER2`,34856,`DRAW_BUFFER3`,34857,`DRAW_BUFFER4`,34858,`DRAW_BUFFER5`,34859,`DRAW_BUFFER6`,34860,`DRAW_BUFFER7`,34861,`DRAW_BUFFER8`,34862,`DRAW_BUFFER9`,34863,`DRAW_BUFFER10`,34864,`DRAW_BUFFER11`,34865,`DRAW_BUFFER12`,34866,`DRAW_BUFFER13`,34867,`DRAW_BUFFER14`,34868,`DRAW_BUFFER15`,35657,`MAX_FRAGMENT_UNIFORM_COMPONENTS`,35658,`MAX_VERTEX_UNIFORM_COMPONENTS`,35679,`SAMPLER_3D`,35682,`SAMPLER_2D_SHADOW`,35723,`FRAGMENT_SHADER_DERIVATIVE_HINT`,35051,`PIXEL_PACK_BUFFER`,35052,`PIXEL_UNPACK_BUFFER`,35053,`PIXEL_PACK_BUFFER_BINDING`,35055,`PIXEL_UNPACK_BUFFER_BINDING`,35685,`FLOAT_MAT2x3`,35686,`FLOAT_MAT2x4`,35687,`FLOAT_MAT3x2`,35688,`FLOAT_MAT3x4`,35689,`FLOAT_MAT4x2`,35690,`FLOAT_MAT4x3`,35904,`SRGB`,35905,`SRGB8`,35907,`SRGB8_ALPHA8`,34894,`COMPARE_REF_TO_TEXTURE`,34836,`RGBA32F`,34837,`RGB32F`,34842,`RGBA16F`,34843,`RGB16F`,35069,`VERTEX_ATTRIB_ARRAY_INTEGER`,35071,`MAX_ARRAY_TEXTURE_LAYERS`,35076,`MIN_PROGRAM_TEXEL_OFFSET`,35077,`MAX_PROGRAM_TEXEL_OFFSET`,35659,`MAX_VARYING_COMPONENTS`,35866,`TEXTURE_2D_ARRAY`,35869,`TEXTURE_BINDING_2D_ARRAY`,35898,`R11F_G11F_B10F`,35899,`UNSIGNED_INT_10F_11F_11F_REV`,35901,`RGB9_E5`,35902,`UNSIGNED_INT_5_9_9_9_REV`,35967,`TRANSFORM_FEEDBACK_BUFFER_MODE`,35968,`MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS`,35971,`TRANSFORM_FEEDBACK_VARYINGS`,35972,`TRANSFORM_FEEDBACK_BUFFER_START`,35973,`TRANSFORM_FEEDBACK_BUFFER_SIZE`,35976,`TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN`,35977,`RASTERIZER_DISCARD`,35978,`MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS`,35979,`MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS`,35980,`INTERLEAVED_ATTRIBS`,35981,`SEPARATE_ATTRIBS`,35982,`TRANSFORM_FEEDBACK_BUFFER`,35983,`TRANSFORM_FEEDBACK_BUFFER_BINDING`,36208,`RGBA32UI`,36209,`RGB32UI`,36214,`RGBA16UI`,36215,`RGB16UI`,36220,`RGBA8UI`,36221,`RGB8UI`,36226,`RGBA32I`,36227,`RGB32I`,36232,`RGBA16I`,36233,`RGB16I`,36238,`RGBA8I`,36239,`RGB8I`,36244,`RED_INTEGER`,36248,`RGB_INTEGER`,36249,`RGBA_INTEGER`,36289,`SAMPLER_2D_ARRAY`,36292,`SAMPLER_2D_ARRAY_SHADOW`,36293,`SAMPLER_CUBE_SHADOW`,36294,`UNSIGNED_INT_VEC2`,36295,`UNSIGNED_INT_VEC3`,36296,`UNSIGNED_INT_VEC4`,36298,`INT_SAMPLER_2D`,36299,`INT_SAMPLER_3D`,36300,`INT_SAMPLER_CUBE`,36303,`INT_SAMPLER_2D_ARRAY`,36306,`UNSIGNED_INT_SAMPLER_2D`,36307,`UNSIGNED_INT_SAMPLER_3D`,36308,`UNSIGNED_INT_SAMPLER_CUBE`,36311,`UNSIGNED_INT_SAMPLER_2D_ARRAY`,36012,`DEPTH_COMPONENT32F`,36013,`DEPTH32F_STENCIL8`,36269,`FLOAT_32_UNSIGNED_INT_24_8_REV`,33296,`FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE`,33298,`FRAMEBUFFER_ATTACHMENT_RED_SIZE`,33299,`FRAMEBUFFER_ATTACHMENT_GREEN_SIZE`,33300,`FRAMEBUFFER_ATTACHMENT_BLUE_SIZE`,33301,`FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE`,33302,`FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE`,33303,`FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE`,33304,`FRAMEBUFFER_DEFAULT`,34042,`UNSIGNED_INT_24_8`,35056,`DEPTH24_STENCIL8`,35863,`UNSIGNED_NORMALIZED`,36006,`DRAW_FRAMEBUFFER_BINDING`,36008,`READ_FRAMEBUFFER`,36009,`DRAW_FRAMEBUFFER`,36010,`READ_FRAMEBUFFER_BINDING`,36011,`RENDERBUFFER_SAMPLES`,36052,`FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER`,36063,`MAX_COLOR_ATTACHMENTS`,36065,`COLOR_ATTACHMENT1`,36066,`COLOR_ATTACHMENT2`,36067,`COLOR_ATTACHMENT3`,36068,`COLOR_ATTACHMENT4`,36069,`COLOR_ATTACHMENT5`,36070,`COLOR_ATTACHMENT6`,36071,`COLOR_ATTACHMENT7`,36072,`COLOR_ATTACHMENT8`,36073,`COLOR_ATTACHMENT9`,36074,`COLOR_ATTACHMENT10`,36075,`COLOR_ATTACHMENT11`,36076,`COLOR_ATTACHMENT12`,36077,`COLOR_ATTACHMENT13`,36078,`COLOR_ATTACHMENT14`,36079,`COLOR_ATTACHMENT15`,36182,`FRAMEBUFFER_INCOMPLETE_MULTISAMPLE`,36183,`MAX_SAMPLES`,5131,`HALF_FLOAT`,33319,`RG`,33320,`RG_INTEGER`,33321,`R8`,33323,`RG8`,33325,`R16F`,33326,`R32F`,33327,`RG16F`,33328,`RG32F`,33329,`R8I`,33330,`R8UI`,33331,`R16I`,33332,`R16UI`,33333,`R32I`,33334,`R32UI`,33335,`RG8I`,33336,`RG8UI`,33337,`RG16I`,33338,`RG16UI`,33339,`RG32I`,33340,`RG32UI`,34229,`VERTEX_ARRAY_BINDING`,36756,`R8_SNORM`,36757,`RG8_SNORM`,36758,`RGB8_SNORM`,36759,`RGBA8_SNORM`,36764,`SIGNED_NORMALIZED`,36662,`COPY_READ_BUFFER`,36663,`COPY_WRITE_BUFFER`,36662,`COPY_READ_BUFFER_BINDING`,36663,`COPY_WRITE_BUFFER_BINDING`,35345,`UNIFORM_BUFFER`,35368,`UNIFORM_BUFFER_BINDING`,35369,`UNIFORM_BUFFER_START`,35370,`UNIFORM_BUFFER_SIZE`,35371,`MAX_VERTEX_UNIFORM_BLOCKS`,35373,`MAX_FRAGMENT_UNIFORM_BLOCKS`,35374,`MAX_COMBINED_UNIFORM_BLOCKS`,35375,`MAX_UNIFORM_BUFFER_BINDINGS`,35376,`MAX_UNIFORM_BLOCK_SIZE`,35377,`MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS`,35379,`MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS`,35380,`UNIFORM_BUFFER_OFFSET_ALIGNMENT`,35382,`ACTIVE_UNIFORM_BLOCKS`,35383,`UNIFORM_TYPE`,35384,`UNIFORM_SIZE`,35386,`UNIFORM_BLOCK_INDEX`,35387,`UNIFORM_OFFSET`,35388,`UNIFORM_ARRAY_STRIDE`,35389,`UNIFORM_MATRIX_STRIDE`,35390,`UNIFORM_IS_ROW_MAJOR`,35391,`UNIFORM_BLOCK_BINDING`,35392,`UNIFORM_BLOCK_DATA_SIZE`,35394,`UNIFORM_BLOCK_ACTIVE_UNIFORMS`,35395,`UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES`,35396,`UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER`,35398,`UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER`,4294967295,`INVALID_INDEX`,37154,`MAX_VERTEX_OUTPUT_COMPONENTS`,37157,`MAX_FRAGMENT_INPUT_COMPONENTS`,37137,`MAX_SERVER_WAIT_TIMEOUT`,37138,`OBJECT_TYPE`,37139,`SYNC_CONDITION`,37140,`SYNC_STATUS`,37141,`SYNC_FLAGS`,37142,`SYNC_FENCE`,37143,`SYNC_GPU_COMMANDS_COMPLETE`,37144,`UNSIGNALED`,37145,`SIGNALED`,37146,`ALREADY_SIGNALED`,37147,`TIMEOUT_EXPIRED`,37148,`CONDITION_SATISFIED`,37149,`WAIT_FAILED`,1,`SYNC_FLUSH_COMMANDS_BIT`,35070,`VERTEX_ATTRIB_ARRAY_DIVISOR`,35887,`ANY_SAMPLES_PASSED`,36202,`ANY_SAMPLES_PASSED_CONSERVATIVE`,35097,`SAMPLER_BINDING`,36975,`RGB10_A2UI`,36255,`INT_2_10_10_10_REV`,36386,`TRANSFORM_FEEDBACK`,36387,`TRANSFORM_FEEDBACK_PAUSED`,36388,`TRANSFORM_FEEDBACK_ACTIVE`,36389,`TRANSFORM_FEEDBACK_BINDING`,37167,`TEXTURE_IMMUTABLE_FORMAT`,36203,`MAX_ELEMENT_INDEX`,33503,`TEXTURE_IMMUTABLE_LEVELS`,-1,`TIMEOUT_IGNORED`,37447,`MAX_CLIENT_WAIT_TIMEOUT_WEBGL`,`WebGL2RenderingContextBase`,`PPn!2"n#2$$1%Pn&2'$1(Pn)2"n*2+Pn,,J2-$1.Pn/2"n02+Pn1,J2-n223n425$16Pn728Pn9,J2:$1;Pn<2"Pn=,J2>$1?PPn@,J2A$1BPnC2DnE2FnG2HnI2JnK2LnM2NnO2PnQ2RnS2TnU2V$1WPnX2-nY2Zn[2\\n]2^$1_Pn\`2-na2Znb2c'2d8$1ePnf2-ng2Znh2c'2d8$1iPnj2-nk2Znl2c'2d8$1mPnn2onp2qnr2snt1uPnv2"nw2xny2zn{2|n}2~n2\\n2n2n23$1
Pn2"n2xn2zn2|n2~n2\\n2no"2'2d8n28$1
Pn2"n2xn2n2n2n2|n2~n2\\n2n2n\xA023$1¡Pn¢2"n£2xn¤2n¥2n¦2n§2|n¨2~n©2\\nª2n¬o«"2'2d8n28$1¡Pn®2¯n°2±n²2³n´2µn¶25$1·Pn¸2"n¹2xnº2n»2n¼2n½2¾n¿2ÀnÁ2|nÂ2~$1ÃPnÄ1ÅPnÆ1ÇPnÈ1ÉPnÊ1ËPPnÌ,J2$$1ÍPPnÎ,J2:$1ÏPPnÐ,J2o$1ÑPPnÒ,J2>$1ÓPPnÔ,J2Õ$1ÖPn×2ØnÙ2ÚnÛ2ÜnÝ2Þ$1ßPnàF2á$1âPnã2Ønä2Ünå2ænç23nè2Þ$1éPnê2Ønë2ìní2înï2Ünð2ænñ23$1òPnó2"$1ôP$1õPnö2÷nø2qPnù,J1úPnû2"nü2ýPnþ,J2ÿnĀ2xnā2Ă$1ăPnĄ2ąnĆ2ćP&,J1ĈPnĉ2ąnĊ2ćnċ2Č"1čPnĎ2ąnďF2Đnđ2Č"1ĒPnē2"nĔ2ĕnėoĖ"2Ę'2ę8nĚ2ě8$1ĜPnĝ2ą&2Ğnğ1ĠPnġ2"nĢ2+"1ģPnĤ2"nĥ2znĦ2Č"1ħPnĨ2"nĩ2ČPnĪ,J1īPnĬ2$nĭ2Č"1ĮPnį2:nİ2Č"1ıPnIJ2onij2Č"1ĴPnĵ2ąnĶ2+Pnķ,J1ĸPnĹ2ą&2ĺnĻ1ļPnĽ2ą&F2ľPnĿF,J1ŀPnŁ2"nłF2Ń$1ńPnŅ2"nņF2ŃnŇ2¾nň2Ànʼn2|nŊ2~$1ŋPPnŌ,J2$nō1ŎPPnŏ,J2:nŐ1őPPnŒ,J2onœ1ŔPPnŕ,J2>nŖ1ŗPPnŘ,J2Õnř1ŚP$1śPnŜ2ŝ$1ŞPnş2"nŠ2šnŢ2znţ2|nŤ2~$1ťP$1ŦPnŧ2:nŨ2Čnũ2Ū$1ūPnŬ2:nŭ2ČnŮ2Ū$1ůPnŰ2"nű2xnŲ2znų2|nŴ2~nŵ2\\nŶ2nŷ2nŸ2ænŹ2ź$1ŻPnż2"nŽ2xnž2znſ2|nƀ2~nƁ2\\nƂ2nƃ2nƄ2ænƅ2Ɔ$1ŻPnƇ2"nƈ2xnƉ2znƊ2|nƋ2~nƌ2\\nƍ2nƎ2nƏ2æPnƑoƐ",J2$1ŻPnƒ2"nƓ2xnƔ2znƕ2|nƖ2~nƗ2\\nƘ2nƙ2nƚ2ænƜoƛ"2'2d$1ŻPnƝ2"nƞ2ƟnƠ2znơ2|nƢ2~$1ƣPnƤ2"nƥ2ƟnƦ2znƧ2|nƨ2~nƩ2\\$1ƪPnƫ2"nƬ2xnƭ2nƮ2nƯ2nư2|nƱ2~nƲ2\\nƳ2nƴ2ænƵ2ź$1ƶPnƷ2"nƸ2xnƹ2nƺ2nƻ2nƼ2|nƽ2~nƾ2\\nƿ2nǀ2ænǁ2Ɔ$1ƶPnǂ2"nǃ2xnDŽ2nDž2ndž2nLJ2|nLj2~nlj2\\nNJ2nNj2æPnǍonj",J2'2d8$1ƶPnǎ2ą&F2Ǐnǐ2Ǒ$1ǒPPnǓ,J2ǔnǕ2ǖ$1ǗPPnǘ,J2ǔnǙ2ǚ'2d8nǛ2ǜ8$1ǝPPnǞ,J2ǔnǟ2ǖnǠ2ǡ$1ǢPPnǣ,J2ǔnǤ2ǚ'2d8nǥ2ǜ8$1ǦPPnǧ,J2ǔnǨ2ǖnǩ2ǡnǪ2ǫ$1ǬPPnǭ,J2ǔnǮ2ǚ'2d8nǯ2ǜ8$1ǰPPnDZ,J2ǔnDz2ǖndz2ǡnǴ2ǫnǵ2Ƕ$1ǷPPnǸ,J2ǔnǹ2ǚ'2d8nǺ2ǜ8$1ǻPnǼ2ąnǽ2ćnǾ2ǿ$1ǿPPnȀ,J2ǔnȁ2Ȃnȃ2ǚ'2d8nȄ2ǜ8$1ȅPPnȆ,J2ǔnȇ2ȂnȈ2ǚ'2d8nȉ2ǜ8$1ȊPPnȋ,J2ǔnȌ2Ȃnȍ2ǚ'2d8nȎ2ǜ8$1ȏPPnȐ,J2ǔnȑ2ȂnȒ2ǚ'2d8nȓ2ǜ8$1ȔPPnȕ,J2ǔnȖ2Ȃnȗ2ǚ'2d8nȘ2ǜ8$1șPPnȚ,J2ǔnț2ȂnȜ2ǚ'2d8nȝ2ǜ8$1ȞPnȟ2+nȠ2ȡ$1ȢPnȣ2+nȤ2¾nȥ2ÀnȦ2ȧnȨ2ȩ$1ȪPnȫ2+nȬ2c$1ȭPnȮ2+nȯ2¾nȰ2Ànȱ2ȧnȲ2ȩ$1ȳPnȴ2+nȵ2c$1ȶPnȷ2+nȸ25nȹ2ænȺ2Ȼnȼ23$1ȽPnȾ2onȿ2qnɀ2s$1Ɂ.ɂ4Ƀ9.Ʉ4Ʌ9.Ɇ4ɇ9.Ɉ4ɉ9.Ɋ4ɋ9.Ɍ4ɍ9.Ɏ4ɏ9.ɐ4ɑ9.ɒ4ɓ9.ɔ4ɕ9.ɖ4ɗ9.ɘ4ə9.ɚ4ɛ9.ɜ4ɝ9.ɞ4ɟ9.ɠ4ɡ9.ɢ4ɣ9.ɤ4ɥ9.ɦ4ɧ9.ɨ4ɩ9.ɪ4ɫ9.ɬ4ɭ9.ɮ4ɯ9.ɰ4ɱ9.ɲ4ɳ9.ɴ4ɵ9.ɶ4ɷ9.ɸ4ɹ9.ɺ4ɻ9.ɼ4ɽ9.ɾ4ɿ9.ʀ4ʁ9.ʂ4ʃ9.ʄ4ʅ9.ʆ4ʇ9.ʈ4ʉ9.ʊ4ʋ9.ʌ4ʍ9.ʎ4ʏ9.ʐ4ʑ9.ʒ4ʓ9.ʔ4ʕ9.ʖ4ʗ9.ʘ4ʙ9.ʚ4ʛ9.ʜ4ʝ9.ʞ4ʟ9.ʠ4ʡ9.ʢ4ʣ9.ʤ4ʥ9.ʦ4ʧ9.ʨ4ʩ9.ʪ4ʫ9.ʬ4ʭ9.ʮ4ʯ9.ʰ4ʱ9.ʲ4ʳ9.ʴ4ʵ9.ʶ4ʷ9.ʸ4ʹ9.ʺ4ʻ9.ʼ4ʽ9.ʾ4ʿ9.ˀ4ˁ9.˂4˃9.˄4˅9.ˆ4ˇ9.ˈ4ˉ9.ˊ4ˋ9.ˌ4ˍ9.ˎ4ˏ9.ː4ˑ9.˒4˓9.˔4˕9.˖4˗9.˘4˙9.˚4˛9.˜4˝9.˞4˟9.ˠ4ˡ9.ˢ4ˣ9.ˤ4˥9.˦4˧9.˨4˩9.˪4˫9.ˬ4˭9.ˮ4˯9.˰4˱9.˲4˳9.˴4˵9.˶4˷9.˸4˹9.˺4˻9.˼4˽9.˾4˿9.̀4́9.̂4̃9.̄4̅9.̆4̇9.̈4̉9.̊4̋9.̌4̍9.̎4̏9.̐4̑9.̒4̓9.̔4̕9.̖4̗9.̘4̙9.̚4̛9.̜4̝9.̞4̟9.̠4̡9.̢4̣9.̤4̥9.̦4̧9.̨4̩9.̪4̫9.̬4̭9.̮4̯9.̰4̱9.̲4̳9.̴4̵9.̶4̷9.̸4̹9.̺4̻9.̼4̽9.̾4̿9.̀4́9.͂4̓9.̈́4ͅ9.͆4͇9.͈4͉9.͊4͋9.͌4͍9.͎4͏9.͐4͑9.͒4͓9.͔4͕9.͖4͗9.͘4͙9.͚4͛9.͜4͝9.͞4͟9.͠4͡9.͢4ͣ9.ͤ4ͥ9.ͦ4ͧ9.ͨ4ͩ9.ͪ4ͫ9.ͬ4ͭ9.ͮ4ͯ9.Ͱ4ͱ9.Ͳ4ͳ9.ʹ4͵9.Ͷ4ͷ9.49.ͺ4ͻ9.ͼ4ͽ9.;4Ϳ9.49.49.΄4΅9.Ά4·9.Έ4Ή9.Ί49.Ό49.Ύ4Ώ9.ΐ4Α9.Β4Γ9.Δ4Ε9.Ζ4Η9.Θ4Ι9.Κ4Λ9.Μ4Ν9.Ξ4Ο9.Π4Ρ9.4Σ9.Τ4Υ9.Φ4Χ9.Ψ4Ω9.Ϊ4Ϋ9.ά4έ9.ή4ί9.ΰ4α9.β4γ9.δ4ε9.ζ4η9.θ4ι9.κ4λ9.μ4ν9.ξ4ο9.π4ρ9.ς4σ9.τ4υ9.φ4χ9.ψ4ω9.ϊ4ϋ9.ό4ύ9.ώ4Ϗ9.ϐ4ϑ9.ϒ4ϓ9.ϔ4ϕ9.ϖ4ϗ9.Ϙ4ϙ9.Ϛ4ϛ9.Ϝ4ϝ9.Ϟ4ϟ9.Ϡ4ϡ9.Ϣ4ϣ9.Ϥ4ϥ9.Ϧ4ϧ9.Ϩ4ϩ9.Ϫ4ϫ9.Ϭ4ϭ9.Ϯ4ϯ9.ϰ4ϱ9.ϲ4ϳ9.ϴ4ϵ9.϶4Ϸ9.ϸ4Ϲ9.Ϻ4ϻ9.ϼ4Ͻ9.Ͼ4Ͽ9.Ѐ4Ё9.Ђ4Ѓ9.Є4Ѕ9.І4Ї9.Ј4Љ9.Њ4Ћ9.Ќ4Ѝ9.Ў4Џ9.А4Б9.В4Г9.Д4Е9.Ж4З9.И4Й9.К4Л9.М4Н9.О4П9.Р4С9.Т4У9.Ф4Х9.Ц4Ч9.Ш4Щ9.Ъ4Ы9.Ь4Э9.Ю4Я9.а4б9.в4г9.д4е9.ж4з9.и4й9.к4л9.м4н9.о4п9.р4с9.т4у9.ф4х9.ц4ч9.ш4щ9.ъ4ы9.ь4э9Mwюy`],zc=[()=>J,`target`,()=>Cd,`size`,()=>J,`usage`,`bufferData`,()=>J,()=>wd,`srcData`,()=>J,()=>J,()=>Td,()=>Ed,()=>J,`srcOffset`,()=>Y,`length`,()=>J,()=>Lu,`dstByteOffset`,()=>wd,`bufferSubData`,()=>J,()=>Lu,()=>Td,()=>Ed,()=>Y,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>X,`border`,()=>q,`imageSize`,()=>Lu,`offset`,`compressedTexImage2D`,()=>J,()=>X,()=>J,()=>q,()=>q,()=>X,()=>Td,()=>Ed,()=>Y,`srcLengthOverride`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>q,()=>q,()=>J,`format`,()=>q,()=>Lu,`compressedTexSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>Td,()=>Ed,()=>Y,()=>X,`x`,()=>X,`y`,()=>q,()=>q,()=>J,()=>J,`type`,()=>Td,()=>Ed,`dstData`,`readPixels`,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Lu,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Td,()=>Ed,`dstOffset`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Td,()=>Ed,`pixels`,`texImage2D`,()=>J,()=>X,()=>X,()=>J,()=>J,()=>Dd,`source`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Lu,`pboOffset`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Td,()=>Ed,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Td,()=>Ed,`texSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>J,()=>J,()=>Dd,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Lu,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Td,()=>Ed,()=>bd,`location`,()=>Sd,`data`,()=>Y,`srcLength`,`uniform1fv`,()=>bd,()=>Od,()=>Y,`uniform1iv`,()=>bd,()=>Sd,()=>Y,`uniform2fv`,()=>bd,()=>Od,()=>Y,`uniform2iv`,()=>bd,()=>Sd,()=>Y,`uniform3fv`,()=>bd,()=>Od,()=>Y,`uniform3iv`,()=>bd,()=>Sd,()=>Y,`uniform4fv`,()=>bd,()=>Od,()=>Y,`uniform4iv`,()=>bd,()=>Iu,`transpose`,()=>Sd,()=>Y,`uniformMatrix2fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix3fv`,()=>bd,()=>Iu,()=>Sd,()=>Y,`uniformMatrix4fv`,`WebGL2RenderingContextOverloads`,`PPn!2"n#2$n%2&$1'Pn(2"Pn),J2*n+2&$1'Pn,2"n.o-"2*n/2&'20n1228$1'Pn32"n425n62*$17Pn82"n925n;o:"2*'20n<228$17Pn=2"n>2?n@2AnB2CnD2EnF2GnH2InJ2K$1LPnM2"nN2?nO2AnP2CnQ2EnR2GnToS"2*'208nU2V8$1LPnW2"nX2?nY2Zn[2\\n]2Cn^2En_2\`na2Inb2K$1cPnd2"ne2?nf2Zng2\\nh2Cni2Enj2\`nlok"2*'208nm2V8$1cPnn2onp2qnr2Cns2Ent2\`nu2vPnxow",J2y$1zPn{2on|2qn}2Cn~2En2\`n2vn2K$1zPn2on2qn2Cn
2En2\`n2vno"2y'2$1zPn2"n2?n2An2Cn2En2Gn2\`n2vPno",J2$1Pn2"n2?n2An2\`n2vn2$1Pn2"n2?n\xA02An¡2Cn¢2En£2Gn¤2\`n¥2vn¦2§$1Pn¨2"n©2?nª2An«2Cn¬2En2Gn®2\`n¯2vn°2$1Pn±2"n²2?n³2An´2Cnµ2En¶2Gn·2\`n¸2vnºo¹"2*'20$1Pn»2"n¼2?n½2Zn¾2\\n¿2CnÀ2EnÁ2\`nÂ2vPnÄoÃ",J2$1ÅPnÆ2"nÇ2?nÈ2ZnÉ2\\nÊ2\`nË2vnÌ2$1ÅPnÍ2"nÎ2?nÏ2ZnÐ2\\nÑ2CnÒ2EnÓ2\`nÔ2vnÕ2§$1ÅPnÖ2"n×2?nØ2ZnÙ2\\nÚ2CnÛ2EnÜ2\`nÝ2vnÞ2$1ÅPnß2"nà2?ná2Znâ2\\nã2Cnä2Enå2\`næ2vnèoç"2*'20$1ÅPPné,J2ênë2ì'208ní2î8$1ïPPnð,J2ênñ2ì'208nò2î8$1óPPnô,J2ênõ2ì'208nö2î8$1÷PPnø,J2ênù2ì'208nú2î8$1ûPPnü,J2êný2ì'208nþ2î8$1ÿPPnĀ,J2ênā2ì'208nĂ2î8$1ăPPnĄ,J2êną2ì'208nĆ2î8$1ćPPnĈ,J2ênĉ2ì'208nĊ2î8$1ċPPnČ,J2ênč2Ďnď2ì'208nĐ2î8$1đPPnĒ,J2ênē2ĎnĔ2ì'208nĕ2î8$1ĖPPnė,J2ênĘ2Ďnę2ì'208nĚ2î8$1ěMwĜy`],Bc=[()=>Js,()=>ac,`canvas`,()=>Ld,`configuration`,`configure`,()=>Ld,`getConfiguration`,()=>Rd,`getCurrentTexture`,`unconfigure`,`GPUCanvasContext`,`PPn!n"J4#9Pn$2%$1&PPn',J1(Pn)1*P$1+Mw,y`],Vc=[`size`,`type`,`arrayBuffer`,`bytes`,`start`,`end`,`contentType`,0,`slice`,()=>zd,`stream`,`text`,`Blob`,"P'4!9&4\"9P_`1#PW`1$P'2%8'2&8&2'8n(1)PWo*\"1+P&`1,Mw-y"],G=[`bubbles`,`cancelBubble`,`cancelable`,`composed`,()=>W,`currentTarget`,`defaultPrevented`,`eventPhase`,`isTrusted`,`returnValue`,()=>W,`srcElement`,()=>W,`target`,()=>Bd,`timeStamp`,`type`,()=>W,`composedPath`,`initEvent`,`preventDefault`,`stopImmediatePropagation`,`stopPropagation`,0,`NONE`,1,`CAPTURING_PHASE`,2,`AT_TARGET`,3,`BUBBLING_PHASE`,`Event`,`P)4!9)4")4#9)4$9Pn%,J4&9)4'9'4(9)4)9)4*Pn+,J4,9Pn-,J4.9n/409&419Pn2F13P&21)2!8)2#8$14P$15P$16P$17.8499.:4;9.<4=9.>4?9Mw@y`],Hc=[`quality`,`type`,`ImageEncodeOptions`,`P'4!8&4"8Mw#y`],Uc=[()=>_c,()=>vc,()=>yc,()=>bc,()=>xc,()=>Sc,()=>Cc,()=>wc,()=>Tc,()=>Ec,()=>Oc,()=>kc,()=>Ac,()=>jc,()=>Mc,()=>ac,`canvas`,`OffscreenCanvasRenderingContext2D`,`Pn!n"n#n$n%n&n'n(n)n*n+n,n-n.n/n0419Mw2y`],Wc=[`2d`,`bitmaprenderer`,`webgl`,`webgl2`,`webgpu`,`OffscreenRenderingContextId`,`P.!.".#.$.%Jw&y`],Gc=[()=>Uc,()=>$s,()=>tc,()=>nc,()=>Bc,`OffscreenRenderingContext`,`Pn!n"n#n$n%Jw&y`],Kc=[()=>G,`contextlost`,()=>G,`contextrestored`,`OffscreenCanvasEventMap`,`Pn!4"n#4$Mw%y`],qc=[()=>G,`fullscreenchange`,()=>G,`fullscreenerror`,`ElementEventMap`,`Pn!4"n#4$Mw%y`],Jc=[()=>Ol,`abort`,()=>kl,`animationcancel`,()=>kl,`animationend`,()=>kl,`animationiteration`,()=>kl,`animationstart`,()=>Al,`auxclick`,()=>jl,`beforeinput`,()=>G,`beforematch`,()=>Ml,`beforetoggle`,()=>Nl,`blur`,()=>G,`cancel`,()=>G,`canplay`,()=>G,`canplaythrough`,()=>G,`change`,()=>Al,`click`,()=>G,`close`,()=>G,`command`,()=>Vd,`compositionend`,()=>Vd,`compositionstart`,()=>Vd,`compositionupdate`,()=>G,`contextlost`,()=>Al,`contextmenu`,()=>G,`contextrestored`,()=>Pl,`copy`,()=>G,`cuechange`,()=>Pl,`cut`,()=>Fl,`dblclick`,()=>Il,`drag`,()=>Il,`dragend`,()=>Il,`dragenter`,()=>Il,`dragleave`,()=>Il,`dragover`,()=>Il,`dragstart`,()=>Il,`drop`,()=>G,`durationchange`,()=>G,`emptied`,()=>G,`ended`,()=>Hd,`error`,()=>Nl,`focus`,()=>Nl,`focusin`,()=>Nl,`focusout`,()=>Rl,`formdata`,()=>Al,`gotpointercapture`,()=>jl,`input`,()=>G,`invalid`,()=>zl,`keydown`,()=>zl,`keypress`,()=>zl,`keyup`,()=>G,`load`,()=>G,`loadeddata`,()=>G,`loadedmetadata`,()=>G,`loadstart`,()=>Al,`lostpointercapture`,()=>Fl,`mousedown`,()=>Fl,`mouseenter`,()=>Fl,`mouseleave`,()=>Fl,`mousemove`,()=>Fl,`mouseout`,()=>Fl,`mouseover`,()=>Fl,`mouseup`,()=>Pl,`paste`,()=>G,`pause`,()=>G,`play`,()=>G,`playing`,()=>Al,`pointercancel`,()=>Al,`pointerdown`,()=>Al,`pointerenter`,()=>Al,`pointerleave`,()=>Al,`pointermove`,()=>Al,`pointerout`,()=>Al,`pointerover`,()=>G,`pointerrawupdate`,()=>Al,`pointerup`,()=>Bl,`progress`,()=>G,`ratechange`,()=>G,`reset`,()=>Ol,`resize`,()=>G,`scroll`,()=>G,`scrollend`,()=>Vl,`securitypolicyviolation`,()=>G,`seeked`,()=>G,`seeking`,()=>G,`select`,()=>G,`selectionchange`,()=>G,`selectstart`,()=>G,`slotchange`,()=>G,`stalled`,()=>Hl,`submit`,()=>G,`suspend`,()=>G,`timeupdate`,()=>Ml,`toggle`,()=>Ul,`touchcancel`,()=>Ul,`touchend`,()=>Ul,`touchmove`,()=>Ul,`touchstart`,()=>Wl,`transitioncancel`,()=>Wl,`transitionend`,()=>Wl,`transitionrun`,()=>Wl,`transitionstart`,()=>G,`volumechange`,()=>G,`waiting`,()=>G,`webkitanimationend`,()=>G,`webkitanimationiteration`,()=>G,`webkitanimationstart`,()=>G,`webkittransitionend`,()=>Gl,`wheel`,`GlobalEventHandlersEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4n4\xA0n¡4¢n£4¤n¥4¦n§4¨n©4ªn«4¬n4®n¯4°n±4²n³4´nµ4¶n·4¸n¹4ºn»4¼n½4¾n¿4ÀnÁ4ÂnÃ4ÄnÅ4ÆnÇ4ÈnÉ4ÊnË4ÌnÍ4ÎnÏ4ÐnÑ4ÒnÓ4ÔnÕ4Ön×4ØnÙ4ÚnÛ4ÜnÝ4Þnß4àná4ânã4änå4ænç4èné4ênë4ìní4înï4ðnñ4ònó4ôMwõy`],Yc=[()=>W,`aborted`,0,`this`,()=>G,`ev`,``,`onabort`,`reason`,`throwIfAborted`,`type`,0,()=>Ud,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Ud,()=>H,`removeEventListener`,()=>V,()=>H,`AbortSignal`,`Pn!)4"9PPn#2$n%2&"/',J4("4)9P$1*P"2+Pn,2$n-"f2&"/'2.P)n/J208$11P&2+n22.P)n3J208$11P"2+Pn42$n5"f2&"/'2.P)n6J208$17P&2+n82.P)n9J208$17Mw:y`],Xc=[()=>G,`evt`,``,`EventListener`,`PPn!2"$v#Mw$y`],Zc=[()=>G,`object`,`handleEvent`,`EventListenerObject`,`PPn!2"$1#Mw$y`],K=[()=>W,`baseURI`,()=>Wd,()=>el,`childNodes`,()=>el,`firstChild`,`isConnected`,()=>el,`lastChild`,()=>el,`nextSibling`,`nodeName`,`nodeType`,`nodeValue`,()=>ol,`ownerDocument`,()=>R,`parentElement`,()=>nl,`parentNode`,()=>el,`previousSibling`,`textContent`,`node`,`appendChild`,`subtree`,0,`cloneNode`,0,`other`,`compareDocumentPosition`,0,`contains`,()=>Gd,`options`,0,`getRootNode`,`hasChildNodes`,0,`child`,`insertBefore`,`namespace`,`isDefaultNamespace`,0,`otherNode`,`isEqualNode`,0,`isSameNode`,`prefix`,`lookupNamespaceURI`,`lookupPrefix`,`normalize`,`removeChild`,0,`replaceChild`,1,`ELEMENT_NODE`,2,`ATTRIBUTE_NODE`,3,`TEXT_NODE`,4,`CDATA_SECTION_NODE`,5,`ENTITY_REFERENCE_NODE`,6,`ENTITY_NODE`,7,`PROCESSING_INSTRUCTION_NODE`,8,`COMMENT_NODE`,9,`DOCUMENT_NODE`,10,`DOCUMENT_TYPE_NODE`,11,`DOCUMENT_FRAGMENT_NODE`,12,`NOTATION_NODE`,1,`DOCUMENT_POSITION_DISCONNECTED`,2,`DOCUMENT_POSITION_PRECEDING`,4,`DOCUMENT_POSITION_FOLLOWING`,8,`DOCUMENT_POSITION_CONTAINS`,16,`DOCUMENT_POSITION_CONTAINED_BY`,32,`DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC`,`Node`,`Pn!&4"9n$o#"4%9Pn&,J4'9)4(9Pn),J4*9Pn+,J4,9&4-9'4.9P&,J4/Pn0,J419Pn2,J439Pn4,J459Pn6,J479P&,J48P"29"1:P)2;8n<1=Pn>2?'1@PPnA,J2?)1BPnC2D8nE1FP)1GP"29PnH,J2I"1JPP&,J2K)1LPPnM,J2N)1OPPnP,J2N)1QPP&,J2RP&,J1SPP&,J2KP&,J1TP$1UP"2I"1VPnW29"2I"1X.Y4Z9.[4\\9.]4^9._4\`9.a4b9.c4d9.e4f9.g4h9.i4j9.k4l9.m4n9.o4p9.q4r9.s4t9.u4v9.w4x9.y4z9.{4|9Mw}y`],Qc=[()=>U,`ariaActiveDescendantElement`,`ariaAtomic`,`ariaAutoComplete`,`ariaBrailleLabel`,`ariaBrailleRoleDescription`,`ariaBusy`,`ariaChecked`,`ariaColCount`,`ariaColIndex`,`ariaColIndexText`,`ariaColSpan`,()=>Kd,()=>U,`ariaControlsElements`,`ariaCurrent`,()=>Kd,()=>U,`ariaDescribedByElements`,`ariaDescription`,()=>Kd,()=>U,`ariaDetailsElements`,`ariaDisabled`,()=>Kd,()=>U,`ariaErrorMessageElements`,`ariaExpanded`,()=>Kd,()=>U,`ariaFlowToElements`,`ariaHasPopup`,`ariaHidden`,`ariaInvalid`,`ariaKeyShortcuts`,`ariaLabel`,()=>Kd,()=>U,`ariaLabelledByElements`,`ariaLevel`,`ariaLive`,`ariaModal`,`ariaMultiLine`,`ariaMultiSelectable`,`ariaOrientation`,()=>Kd,()=>U,`ariaOwnsElements`,`ariaPlaceholder`,`ariaPosInSet`,`ariaPressed`,`ariaReadOnly`,`ariaRelevant`,`ariaRequired`,`ariaRoleDescription`,`ariaRowCount`,`ariaRowIndex`,`ariaRowIndexText`,`ariaRowSpan`,`ariaSelected`,`ariaSetSize`,`ariaSort`,`ariaValueMax`,`ariaValueMin`,`ariaValueNow`,`ariaValueText`,`role`,`ARIAMixin`,`PPn!,J4"P&,J4#P&,J4$P&,J4%P&,J4&P&,J4'P&,J4(P&,J4)P&,J4*P&,J4+P&,J4,Pn.o-",J4/P&,J40Pn2o1",J43P&,J44Pn6o5",J47P&,J48Pn:o9",J4;P&,J4<Pn>o=",J4?P&,J4@P&,J4AP&,J4BP&,J4CP&,J4DPnFoE",J4GP&,J4HP&,J4IP&,J4JP&,J4KP&,J4LP&,J4MPnOoN",J4PP&,J4QP&,J4RP&,J4SP&,J4TP&,J4UP&,J4VP&,J4WP&,J4XP&,J4YP&,J4ZP&,J4[P&,J4\\P&,J4]P&,J4^P&,J4_P&,J4\`P&,J4aP&,J4bP&,J4cMwdy`],$c=[()=>qd,()=>Jd,`keyframes`,()=>Yd,`options`,()=>Xd,`animate`,()=>Zd,()=>Xd,`getAnimations`,`Animatable`,`PPPn!Fn",J2#P'n$J2%8n&1'Pn(2%8n)F1*Mw+y`],el=[()=>K,()=>K,`nodes`,`after`,()=>K,`before`,`remove`,()=>K,`replaceWith`,`ChildNode`,`Pn!PPn"&J@2#$1$PPn%&J@2#$1&P$1'PPn(&J@2#$1)Mw*y`],tl=[()=>U,`nextElementSibling`,()=>U,`previousElementSibling`,`NonDocumentTypeChildNode`,`PPn!,J4"9Pn#,J4$9Mw%y`],nl=[()=>K,`childElementCount`,()=>Qd,`children`,()=>U,`firstElementChild`,()=>U,`lastElementChild`,()=>K,`nodes`,`append`,()=>K,`node`,()=>K,`child`,`moveBefore`,()=>K,`prepend`,`selectors`,()=>ul,`querySelector`,()=>dl,()=>fl,()=>vl,()=>Wd,()=>ul,`querySelectorAll`,()=>Wd,()=>dl,()=>Wd,()=>fl,()=>Wd,()=>vl,()=>Wd,()=>K,`replaceChildren`,`ParentNode`,`Pn!'4"9n#4$9Pn%,J4&9Pn',J4(9PPn)&J@2*$1+Pn,2-Pn.,J2/$10PPn1&J@2*$12P"23Pn4"f,J15P"23Pn6"f,J15P"23Pn7"f,J15P"23Pn8"f,J15P&23P",J15P"23n:"fo9"1;P"23n="fo<"1;P"23n?"fo>"1;P"23nA"fo@"1;P&23"oB"1;PPnC&J@2*$1DMwEy`],rl=[()=>$d,`assignedSlot`,`Slottable`,`PPn!,J4"9Mw#y`],il=[`length`,`qualifiedName`,()=>ml,`getNamedItem`,`namespace`,`localName`,()=>ml,`getNamedItemNS`,`index`,()=>ml,`item`,()=>ml,`removeNamedItem`,()=>ml,`removeNamedItemNS`,()=>ml,`attr`,()=>ml,`setNamedItem`,()=>ml,()=>ml,`setNamedItemNS`,()=>ml,`NamedNodeMap`,`P'4!9P&2"Pn#,J1$PP&,J2%&2&Pn',J1(P'2)Pn*,J1+P&2"n,1-PP&,J2%&2&n.1/Pn021Pn2,J13Pn421Pn5,J16'n7LMw8y`],al=[`name`,()=>ef,`constructor`,()=>tf,`options`,`define`,()=>ef,`get`,()=>ef,`getName`,()=>K,`root`,`initialize`,()=>K,`upgrade`,()=>ef,`whenDefined`,`CustomElementRegistry`,`PP&2!n"2#n$2%8$1&P&2!Pn'-J1(Pn)2#P&,J1*Pn+2,$1-Pn.2,$1/P&2!n0\`11Mw2y`],ol=[()=>K,()=>nf,()=>rf,()=>cc,()=>af,()=>nl,()=>of,`URL`,()=>sf,`activeViewTransition`,`alinkColor`,()=>cf,`all`,()=>_l,()=>lf,`anchors`,()=>Qd,`applets`,`bgColor`,()=>R,`body`,`characterSet`,`charset`,`compatMode`,`contentType`,`cookie`,()=>uf,`currentScript`,()=>df,()=>globalThis,`defaultView`,`designMode`,`dir`,()=>ff,`doctype`,()=>R,`documentElement`,`documentURI`,`domain`,()=>_l,()=>pf,`embeds`,`fgColor`,()=>_l,()=>Jl,`forms`,()=>mf,`fragmentDirective`,`fullscreen`,`fullscreenEnabled`,()=>hf,`head`,`hidden`,()=>_l,()=>gf,`images`,()=>_f,`implementation`,`inputEncoding`,`lastModified`,`linkColor`,()=>_l,()=>lf,()=>vf,`links`,0,`this`,()=>G,`ev`,``,`onfullscreenchange`,0,()=>G,`onfullscreenerror`,0,()=>G,`onpointerlockchange`,0,()=>G,`onpointerlockerror`,0,()=>G,`onreadystatechange`,0,()=>G,`onvisibilitychange`,`ownerDocument`,`pictureInPictureEnabled`,()=>_l,()=>pf,`plugins`,()=>yf,`readyState`,`referrer`,()=>bf,`rootElement`,()=>_l,()=>xf,`scripts`,()=>U,`scrollingElement`,()=>Sf,`timeline`,`title`,()=>Cf,`visibilityState`,`vlinkColor`,`node`,`adoptNode`,`captureEvents`,`x`,`y`,()=>wf,`options`,()=>Tf,`caretPositionFromPoint`,()=>Ef,`caretRangeFromPoint`,`clear`,`close`,`localName`,()=>ml,`createAttribute`,`namespace`,`qualifiedName`,()=>ml,`createAttributeNS`,`data`,()=>Df,`createCDATASection`,()=>Of,`createComment`,()=>kf,`createDocumentFragment`,`tagName`,()=>Af,()=>ul,`createElement`,()=>Af,()=>vl,()=>Af,()=>R,`http://www.w3.org/1999/xhtml`,`namespaceURI`,()=>R,`createElementNS`,`http://www.w3.org/2000/svg`,()=>dl,`http://www.w3.org/2000/svg`,()=>yl,`http://www.w3.org/1998/Math/MathML`,()=>fl,`http://www.w3.org/1998/Math/MathML`,()=>bl,()=>Af,()=>U,()=>Af,()=>U,`AnimationEvent`,`eventInterface`,()=>kl,`createEvent`,`AnimationPlaybackEvent`,()=>jf,`AudioProcessingEvent`,()=>Mf,`BeforeUnloadEvent`,()=>Nf,`BlobEvent`,()=>Pf,`ClipboardEvent`,()=>Pl,`CloseEvent`,()=>Ff,`CommandEvent`,()=>If,`CompositionEvent`,()=>Vd,`ContentVisibilityAutoStateChangeEvent`,()=>Lf,`CookieChangeEvent`,()=>Rf,`CustomEvent`,()=>zf,`DeviceMotionEvent`,()=>Bf,`DeviceOrientationEvent`,()=>Vf,`DragEvent`,()=>Il,`ErrorEvent`,()=>Hd,`Event`,()=>G,`Events`,()=>G,`FocusEvent`,()=>Nl,`FontFaceSetLoadEvent`,()=>Hf,`FormDataEvent`,()=>Rl,`GPUUncapturedErrorEvent`,()=>Uf,`GamepadEvent`,()=>Wf,`HashChangeEvent`,()=>Gf,`IDBVersionChangeEvent`,()=>Kf,`InputEvent`,()=>jl,`KeyboardEvent`,()=>zl,`MIDIConnectionEvent`,()=>qf,`MIDIMessageEvent`,()=>Jf,`MediaEncryptedEvent`,()=>Yf,`MediaKeyMessageEvent`,()=>Xf,`MediaQueryListEvent`,()=>Zf,`MediaStreamTrackEvent`,()=>pc,`MessageEvent`,()=>Qf,`MouseEvent`,()=>Fl,`MouseEvents`,()=>Fl,`NavigateEvent`,()=>$f,`NavigationCurrentEntryChangeEvent`,()=>ep,`OfflineAudioCompletionEvent`,()=>tp,`PageRevealEvent`,()=>np,`PageSwapEvent`,()=>rp,`PageTransitionEvent`,()=>ip,`PaymentMethodChangeEvent`,()=>ap,`PaymentRequestUpdateEvent`,()=>op,`PictureInPictureEvent`,()=>sp,`PointerEvent`,()=>Al,`PopStateEvent`,()=>cp,`ProgressEvent`,()=>Bl,`PromiseRejectionEvent`,()=>lp,`RTCDTMFToneChangeEvent`,()=>up,`RTCDataChannelEvent`,()=>dp,`RTCErrorEvent`,()=>fp,`RTCPeerConnectionIceErrorEvent`,()=>pp,`RTCPeerConnectionIceEvent`,()=>mp,`RTCTrackEvent`,()=>hp,`SecurityPolicyViolationEvent`,()=>Vl,`SpeechRecognitionErrorEvent`,()=>gp,`SpeechRecognitionEvent`,()=>_p,`SpeechSynthesisErrorEvent`,()=>vp,`SpeechSynthesisEvent`,()=>yp,`StorageEvent`,()=>bp,`SubmitEvent`,()=>Hl,`TaskPriorityChangeEvent`,()=>xp,`TextEvent`,()=>Sp,`ToggleEvent`,()=>Ml,`TouchEvent`,()=>Ul,`TrackEvent`,()=>Cp,`TransitionEvent`,()=>Wl,`UIEvent`,()=>Ol,`UIEvents`,()=>Ol,`WebGLContextEvent`,()=>wp,`WheelEvent`,()=>Gl,()=>G,()=>K,`root`,`whatToShow`,()=>Tp,`filter`,()=>Ep,`createNodeIterator`,`target`,()=>Dp,`createProcessingInstruction`,()=>Ef,`createRange`,()=>Op,`createTextNode`,()=>K,()=>Tp,()=>kp,`createTreeWalker`,`commandId`,`showUI`,`value`,`execCommand`,`exitFullscreen`,`exitPictureInPicture`,`exitPointerLock`,`elementId`,()=>R,`getElementById`,`classNames`,()=>_l,()=>U,`getElementsByClassName`,`elementName`,()=>Wd,()=>R,`getElementsByName`,()=>_l,()=>ul,`getElementsByTagName`,()=>_l,()=>dl,()=>_l,()=>fl,()=>_l,()=>vl,()=>_l,()=>U,`http://www.w3.org/1999/xhtml`,()=>_l,()=>R,`getElementsByTagNameNS`,`http://www.w3.org/2000/svg`,()=>_l,()=>yl,`http://www.w3.org/1998/Math/MathML`,()=>_l,()=>bl,()=>_l,()=>U,()=>Ap,`getSelection`,`hasFocus`,`hasStorageAccess`,()=>jp,`importNode`,`unused1`,`unused2`,0,`open`,()=>Mp,`url`,`name`,`features`,()=>df,`queryCommandEnabled`,`queryCommandIndeterm`,`queryCommandState`,`queryCommandSupported`,`queryCommandValue`,`releaseEvents`,`requestStorageAccess`,()=>Np,()=>Pp,`callbackOptions`,()=>sf,`startViewTransition`,`text`,`write`,`writeln`,`type`,0,()=>Fp,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Fp,()=>H,`removeEventListener`,()=>V,()=>H,`Document`,`Pn!n"n#n$n%n&n'&4(9Pn),J4*9&4+n,4-9n/o."409n1429&43n445&469&479&489&499&4:Pn;,J4<9PPn=i>K,J4?9&4@&4APnB,J4C9nD4E9&4F9&4GnIoH"4J9&4KnMoL"4N9nO4P9)4Q9)4R9nS4T9)4U9nWoV"4X9nY4Z9&4[9&4\\9&4]Pn_n\`Jo^"4a9!!PPnb2cnd2e"/f,J4gPPnh2cni2e"/f,J4jPPnk2cnl2e"/f,J4mPPnn2cno2e"/f,J4pPPnq2cnr2e"/f,J4sPPnt2cnu2e"/f,J4v,4w9)4x9nzoy"4{9n|4}9&4~9Pn,J49no"49Pn,J4
9n49&4n49&4P"2"1P$1P'2'2n28Pn,J1P'2'2Pn,J1P$1P$1P&2n1PP&,J2&2n1P&2\xA0n¡1¢P&2\xA0n£1¤Pn¥1¦P"2§n¨28n©"f1ªP"2§n«28n¬"f1ªP&2§n28n®1ªP.¯2°&2n±1²P.³2°"2n´"f1²P.µ2°&2n¶1²P.·2°"2n¸"f1²P.¹2°&2nº1²PP&,J2°&2n»28n¼1²PP&,J2&2P&n½J28n¾1²P.¿2ÀnÁ1ÂP.Ã2ÀnÄ1ÂP.Å2ÀnÆ1ÂP.Ç2ÀnÈ1ÂP.É2ÀnÊ1ÂP.Ë2ÀnÌ1ÂP.Í2ÀnÎ1ÂP.Ï2ÀnÐ1ÂP.Ñ2ÀnÒ1ÂP.Ó2ÀnÔ1ÂP.Õ2ÀnÖ1ÂP.×2ÀnØ1ÂP.Ù2ÀnÚ1ÂP.Û2ÀnÜ1ÂP.Ý2ÀnÞ1ÂP.ß2Ànà1ÂP.á2Ànâ1ÂP.ã2Ànä1ÂP.å2Ànæ1ÂP.ç2Ànè1ÂP.é2Ànê1ÂP.ë2Ànì1ÂP.í2Ànî1ÂP.ï2Ànð1ÂP.ñ2Ànò1ÂP.ó2Ànô1ÂP.õ2Ànö1ÂP.÷2Ànø1ÂP.ù2Ànú1ÂP.û2Ànü1ÂP.ý2Ànþ1ÂP.ÿ2ÀnĀ1ÂP.ā2ÀnĂ1ÂP.ă2ÀnĄ1ÂP.ą2ÀnĆ1ÂP.ć2ÀnĈ1ÂP.ĉ2ÀnĊ1ÂP.ċ2ÀnČ1ÂP.č2ÀnĎ1ÂP.ď2ÀnĐ1ÂP.đ2ÀnĒ1ÂP.ē2ÀnĔ1ÂP.ĕ2ÀnĖ1ÂP.ė2ÀnĘ1ÂP.ę2ÀnĚ1ÂP.ě2ÀnĜ1ÂP.ĝ2ÀnĞ1ÂP.ğ2ÀnĠ1ÂP.ġ2ÀnĢ1ÂP.ģ2ÀnĤ1ÂP.ĥ2ÀnĦ1ÂP.ħ2ÀnĨ1ÂP.ĩ2ÀnĪ1ÂP.ī2ÀnĬ1ÂP.ĭ2ÀnĮ1ÂP.į2Ànİ1ÂP.ı2ÀnIJ1ÂP.ij2ÀnĴ1ÂP.ĵ2ÀnĶ1ÂP.ķ2Ànĸ1ÂP.Ĺ2Ànĺ1ÂP.Ļ2Ànļ1ÂP.Ľ2Ànľ1ÂP.Ŀ2Ànŀ1ÂP.Ł2Ànł1ÂP.Ń2Ànń1ÂP.Ņ2Ànņ1ÂP.Ň2Ànň1ÂP.ʼn2ÀnŊ1ÂP.ŋ2ÀnŌ1ÂP.ō2ÀnŎ1ÂP.ŏ2ÀnŐ1ÂP&2Ànő1ÂPnŒ2œ'2Ŕ8Pnŕ,J2Ŗ8nŗ1ŘP&2ř&2\xA0nŚ1śPnŜ1ŝP&2\xA0nŞ1şPnŠ2œ'2Ŕ8Pnš,J2Ŗ8nŢ1ţP&2Ť)2ť8&2Ŧ8)1ŧP$\`1ŨP$\`1ũP$1ŪP&2ūPnŬ,J1ŭP&2ŮnŰoů"1űP&2ŲnŴoų"1ŵP"2nŷ"foŶ"1ŸP"2nź"foŹ"1ŸP"2nż"foŻ"1ŸP"2nž"foŽ"1ŸP&2nƀoſ"1ŸP.Ɓ2°&2nƃoƂ"1ƄP.ƅ2°&2nƇoƆ"1ƄP.ƈ2°&2nƊoƉ"1ƄPP&,J2&2nƌoƋ"1ƄPPnƍ,J1ƎP)1ƏP)\`1ƐP"2P)nƑJ28"1ƒP&2Ɠ8&2Ɣ8nƕ1ƖPP&nƗJ2Ƙ&2ƙ&2ƚPnƛ,J1ƖP&2Ť)1ƜP&2Ť)1ƝP&2Ť)1ƞP&2Ť)1ƟP&2Ť&1ƠP$1ơP$\`1ƢPPnƣnƤJ2ƥ8nƦ1ƧP&@2ƨ$1ƩP&@2ƨ$1ƪ!P"2ƫPnƬ2cnƭ"f2e"/f2ƮP)nƯJ28$1ưP&2ƫnƱ2ƮP)nƲJ28$1ưP"2ƫPnƳ2cnƴ"f2e"/f2ƮP)nƵJ28$1ƶP&2ƫnƷ2ƮP)nƸJ28$1ƶMwƹy`],sl=[()=>kf,()=>nf,`clonable`,`delegatesFocus`,()=>U,`host`,`innerHTML`,()=>Ip,`mode`,0,`this`,()=>G,`ev`,``,`onslotchange`,`serializable`,()=>Lp,`slotAssignment`,()=>xl,`options`,`getHTML`,`html`,`setHTMLUnsafe`,`type`,0,()=>Rp,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Rp,()=>H,`removeEventListener`,()=>V,()=>H,`ShadowRoot`,`Pn!n")4#9)4$9n%4&9&4'n(4)9PPn*2+n,2-"/.,J4/)409n1429Pn3248&15P&26$17P"28Pn92+n:"f2-"/.2;P)n<J248$1=P&28n>2;P)n?J248$1=P"28Pn@2+nA"f2-"/.2;P)nBJ248$1CP&28nD2;P)nEJ248$1CMwFy`],cl=[`clonable`,()=>al,`customElementRegistry`,`delegatesFocus`,()=>Ip,`mode`,`serializable`,()=>Lp,`slotAssignment`,`ShadowRootInit`,`P)4!8Pn",J4#8)4$8n%4&)4'8n(4)8Mw*y`],ll=[`checkOpacity`,`checkVisibilityCSS`,`contentVisibilityAuto`,`opacityProperty`,`visibilityProperty`,`CheckVisibilityOptions`,`P)4!8)4"8)4#8)4$8)4%8Mw&y`],ul=[()=>lf,`a`,()=>R,`abbr`,()=>R,`address`,()=>vf,`area`,()=>R,`article`,()=>R,`aside`,()=>zp,`audio`,()=>R,`b`,()=>Bp,`base`,()=>R,`bdi`,()=>R,`bdo`,()=>Vp,`blockquote`,()=>Hp,`body`,()=>Up,`br`,()=>Wp,`button`,()=>Js,`canvas`,()=>Gp,`caption`,()=>R,`cite`,()=>R,`code`,()=>Kp,`col`,()=>Kp,`colgroup`,()=>qp,`data`,()=>Jp,`datalist`,()=>R,`dd`,()=>Yp,`del`,()=>Xp,`details`,()=>R,`dfn`,()=>Zp,`dialog`,()=>Qp,`div`,()=>$p,`dl`,()=>R,`dt`,()=>R,`em`,()=>pf,`embed`,()=>em,`fieldset`,()=>R,`figcaption`,()=>R,`figure`,()=>R,`footer`,()=>Jl,`form`,()=>tm,`h1`,()=>tm,`h2`,()=>tm,`h3`,()=>tm,`h4`,()=>tm,`h5`,()=>tm,`h6`,()=>hf,`head`,()=>R,`header`,()=>R,`hgroup`,()=>nm,`hr`,()=>rm,`html`,()=>R,`i`,()=>im,`iframe`,()=>gf,`img`,()=>am,`input`,()=>Yp,`ins`,()=>R,`kbd`,()=>om,`label`,()=>sm,`legend`,()=>cm,`li`,()=>lm,`link`,()=>R,`main`,()=>um,`map`,()=>R,`mark`,()=>dm,`menu`,()=>fm,`meta`,()=>pm,`meter`,()=>R,`nav`,()=>R,`noscript`,()=>mm,`object`,()=>hm,`ol`,()=>gm,`optgroup`,()=>_m,`option`,()=>vm,`output`,()=>ym,`p`,()=>bm,`picture`,()=>xm,`pre`,()=>Sm,`progress`,()=>Vp,`q`,()=>R,`rp`,()=>R,`rt`,()=>R,`ruby`,()=>R,`s`,()=>R,`samp`,()=>xf,`script`,()=>R,`search`,()=>R,`section`,()=>Cm,`select`,()=>$d,`slot`,()=>R,`small`,()=>wm,`source`,()=>Tm,`span`,()=>R,`strong`,()=>Em,`style`,()=>R,`sub`,()=>R,`summary`,()=>R,`sup`,()=>Dm,`table`,()=>Om,`tbody`,()=>km,`td`,()=>Am,`template`,()=>jm,`textarea`,()=>Om,`tfoot`,()=>km,`th`,()=>Om,`thead`,()=>Mm,`time`,()=>Nm,`title`,()=>Pm,`tr`,()=>Fm,`track`,()=>R,`u`,()=>Im,`ul`,()=>R,`var`,()=>Lm,`video`,()=>R,`wbr`,`HTMLElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4n4\xA0n¡4¢n£4¤n¥4¦n§4¨n©4ªn«4¬n4®n¯4°n±4²n³4´nµ4¶n·4¸n¹4ºn»4¼n½4¾n¿4ÀnÁ4ÂnÃ4ÄnÅ4ÆnÇ4ÈnÉ4ÊnË4ÌnÍ4ÎnÏ4ÐnÑ4ÒnÓ4ÔnÕ4Ön×4ØnÙ4ÚnÛ4ÜnÝ4Þnß4àná4ânã4änå4ænç4èné4ênë4ìní4înï4ðnñ4ònó4ônõ4ön÷4ønù4únû4üný4þnÿ4ĀMwāy`],dl=[()=>Rm,`a`,()=>zm,`animate`,()=>Bm,`animateMotion`,()=>Vm,`animateTransform`,()=>Hm,`circle`,()=>Um,`clipPath`,()=>Wm,`defs`,()=>Gm,`desc`,()=>Km,`ellipse`,()=>qm,`feBlend`,()=>Jm,`feColorMatrix`,()=>Ym,`feComponentTransfer`,()=>Xm,`feComposite`,()=>Zm,`feConvolveMatrix`,()=>Qm,`feDiffuseLighting`,()=>$m,`feDisplacementMap`,()=>eh,`feDistantLight`,()=>th,`feDropShadow`,()=>nh,`feFlood`,()=>rh,`feFuncA`,()=>ih,`feFuncB`,()=>ah,`feFuncG`,()=>oh,`feFuncR`,()=>sh,`feGaussianBlur`,()=>ch,`feImage`,()=>lh,`feMerge`,()=>uh,`feMergeNode`,()=>dh,`feMorphology`,()=>fh,`feOffset`,()=>ph,`fePointLight`,()=>mh,`feSpecularLighting`,()=>hh,`feSpotLight`,()=>gh,`feTile`,()=>vh,`feTurbulence`,()=>yh,`filter`,()=>bh,`foreignObject`,()=>xh,`g`,()=>Sh,`image`,()=>Ch,`line`,()=>wh,`linearGradient`,()=>Th,`marker`,()=>Eh,`mask`,()=>Dh,`metadata`,()=>Oh,`mpath`,()=>kh,`path`,()=>Ah,`pattern`,()=>jh,`polygon`,()=>Mh,`polyline`,()=>Nh,`radialGradient`,()=>Ph,`rect`,()=>Fh,`script`,()=>Ih,`set`,()=>Lh,`stop`,()=>Rh,`style`,()=>bf,`svg`,()=>zh,`switch`,()=>Bh,`symbol`,()=>Vh,`text`,()=>Hh,`textPath`,()=>Uh,`title`,()=>Wh,`tspan`,()=>Gh,`use`,()=>Kh,`view`,`SVGElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4Mwy`],fl=[()=>bl,`a`,()=>bl,`annotation`,()=>bl,`annotation-xml`,()=>bl,`maction`,()=>bl,`math`,()=>bl,`merror`,()=>bl,`mfrac`,()=>bl,`mi`,()=>bl,`mmultiscripts`,()=>bl,`mn`,()=>bl,`mo`,()=>bl,`mover`,()=>bl,`mpadded`,()=>bl,`mphantom`,()=>bl,`mprescripts`,()=>bl,`mroot`,()=>bl,`mrow`,()=>bl,`ms`,()=>bl,`mspace`,()=>bl,`msqrt`,()=>bl,`mstyle`,()=>bl,`msub`,()=>bl,`msubsup`,()=>bl,`msup`,()=>bl,`mtable`,()=>bl,`mtd`,()=>bl,`mtext`,()=>bl,`mtr`,()=>bl,`munder`,()=>bl,`munderover`,()=>bl,`semantics`,`MathMLElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^Mw_y`],pl=[`size`,`property`,()=>qh,`get`,()=>qh,`getAll`,`has`,()=>qh,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`StylePropertyMapReadOnly`,`P'4!9P&2"P-n#J1$P&2"n%F1&P&2")1'PPn(F2)&2*n+2,$/-2."2/8$10Mw1y`],ml=[()=>K,`localName`,`name`,`namespaceURI`,()=>ol,`ownerDocument`,()=>U,`ownerElement`,`prefix`,`specified`,`value`,`Attr`,`Pn!&4"9&4#9P&,J4$9n%4&9Pn',J4(9P&,J4)9)4*9&4+!!Mw,y`],hl=[()=>Jh,`height`,`width`,`x`,`y`,`DOMRect`,`Pn!'4"'4#'4$'4%Mw&y`],gl=[`length`,`index`,()=>hl,`item`,()=>hl,`DOMRectList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],_l=[`T`,()=>Yh,`index`,`item`,`name`,`namedItem`,`HTMLCollectionOf`,`b!Pn"P'2#Pe$!,J1$P&2%Pe$!,J1&'e"!LMw'y`],vl=[()=>R,`acronym`,()=>Xh,`applet`,()=>R,`basefont`,()=>Xh,`bgsound`,()=>R,`big`,()=>Xh,`blink`,()=>R,`center`,()=>Zh,`dir`,()=>Qh,`font`,()=>$h,`frame`,()=>eg,`frameset`,()=>Xh,`isindex`,()=>Xh,`keygen`,()=>xm,`listing`,()=>tg,`marquee`,()=>R,`menuitem`,()=>Xh,`multicol`,()=>Xh,`nextid`,()=>R,`nobr`,()=>R,`noembed`,()=>R,`noframes`,()=>ng,`param`,()=>R,`plaintext`,()=>R,`rb`,()=>R,`rtc`,()=>Xh,`spacer`,()=>R,`strike`,()=>R,`tt`,()=>xm,`xmp`,`HTMLElementDeprecatedTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4ZMw[y`],yl=[()=>U,()=>oc,()=>cc,()=>lc,`className`,()=>bf,`ownerSVGElement`,0,`viewportElement`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGElement`,`Pn!n"n#n$"4%9Pn&,J4'9Pn(,J4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],bl=[()=>U,()=>oc,()=>cc,()=>lc,`type`,0,`this`,()=>rg,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>rg,()=>H,`removeEventListener`,()=>V,()=>H,`MathMLElement`,`Pn!n"n#n$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],xl=[`serializableShadowRoots`,()=>sl,`shadowRoots`,`GetHTMLOptions`,`P)4!8n"F4#8Mw$y`],Sl=[`afterbegin`,`afterend`,`beforebegin`,`beforeend`,`InsertPosition`,`P.!.".#.$Jw%y`],Cl=[()=>ig,`navigationUI`,`FullscreenOptions`,`Pn!4"8Mw#y`],wl=[`unadjustedMovement`,`PointerLockOptions`,`P)4!8Mw"y`],Tl=[()=>ag,`left`,`top`,`ScrollToOptions`,`Pn!'4"8'4#8Mw$y`],El=[()=>ag,()=>og,`block`,()=>og,`inline`,`ScrollIntoViewOptions`,`Pn!n"4#8n$4%8Mw&y`],Dl=[()=>pl,`property`,()=>qh,`values`,`append`,`clear`,`delete`,()=>qh,`set`,`StylePropertyMap`,`Pn!P&2"Pn#&J@2$$1%P$1&P&2"$1'P&2"Pn(&J@2$$1)Mw*y`],Ol=[()=>G,`detail`,()=>sg,`view`,`which`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>sg,`viewArg`,`detailArg`,`initUIEvent`,`UIEvent`,`Pn!'4"9Pn#,J4$9'4%9P&2&)2'8)2(8Pn),J2*8'2+8$1,Mw-y`],kl=[()=>G,`animationName`,`elapsedTime`,`pseudoElement`,`AnimationEvent`,`Pn!&4"9'4#9&4$9Mw%y`],Al=[()=>Fl,`altitudeAngle`,`azimuthAngle`,`height`,`isPrimary`,`persistentDeviceId`,`pointerId`,`pointerType`,`pressure`,`tangentialPressure`,`tiltX`,`tiltY`,`twist`,`width`,0,`getCoalescedEvents`,0,`getPredictedEvents`,`PointerEvent`,`Pn!'4"9'4#9'4$9)4%9'4&9'4'9&4(9'4)9'4*9'4+9'4,9'4-9'4.9Pn/F10Pn1F12Mw3y`],jl=[()=>Ol,`data`,()=>cg,`dataTransfer`,`inputType`,`isComposing`,()=>lg,`getTargetRanges`,`InputEvent`,`Pn!P&,J4"9Pn#,J4$9&4%9)4&9Pn'F1(Mw)y`],Ml=[()=>G,`newState`,`oldState`,()=>U,`source`,`ToggleEvent`,`Pn!&4"9&4#9Pn$,J4%9Mw&y`],Nl=[()=>Ol,()=>W,`relatedTarget`,`FocusEvent`,`Pn!Pn",J4#9Mw$y`],Pl=[()=>G,()=>cg,`clipboardData`,`ClipboardEvent`,`Pn!Pn",J4#9Mw$y`],Fl=[()=>Ol,`altKey`,`button`,`buttons`,`clientX`,`clientY`,`ctrlKey`,`layerX`,`layerY`,`metaKey`,`movementX`,`movementY`,`offsetX`,`offsetY`,`pageX`,`pageY`,()=>W,`relatedTarget`,`screenX`,`screenY`,`shiftKey`,`x`,`y`,`keyArg`,`getModifierState`,`typeArg`,`canBubbleArg`,`cancelableArg`,()=>sg,`viewArg`,`detailArg`,`screenXArg`,`screenYArg`,`clientXArg`,`clientYArg`,`ctrlKeyArg`,`altKeyArg`,`shiftKeyArg`,`metaKeyArg`,`buttonArg`,()=>W,`relatedTargetArg`,`initMouseEvent`,`MouseEvent`,`Pn!)4"9'4#9'4$9'4%9'4&9)4'9'4(9'4)9)4*9'4+9'4,9'4-9'4.9'4/9'409Pn1,J429'439'449)459'469'479P&28)19P&2:)2;)2<n=2>'2?'2@'2A'2B'2C)2D)2E)2F)2G'2HPnI,J2J$1KMwLy`],Il=[()=>Fl,()=>cg,`dataTransfer`,`DragEvent`,`Pn!Pn",J4#9Mw$y`],Ll=[()=>ug,`OnErrorEventHandler`,`Pn!,Jw"y`],Rl=[()=>G,()=>$l,`formData`,`FormDataEvent`,`Pn!n"4#9Mw$y`],zl=[()=>Ol,`altKey`,`charCode`,`code`,`ctrlKey`,`isComposing`,`key`,`keyCode`,`location`,`metaKey`,`repeat`,`shiftKey`,`keyArg`,`getModifierState`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>sg,`viewArg`,`locationArg`,`initKeyboardEvent`,0,`DOM_KEY_LOCATION_STANDARD`,1,`DOM_KEY_LOCATION_LEFT`,2,`DOM_KEY_LOCATION_RIGHT`,3,`DOM_KEY_LOCATION_NUMPAD`,`KeyboardEvent`,`Pn!)4"9'4#9&4$9)4%9)4&9&4'9'4(9'4)9)4*9)4+9)4,9P&2-)1.P&2/)208)218Pn2,J238&2-8'248)2%8)2"8)2,8)2*8$15.6479.8499.:4;9.<4=9Mw>y`],Bl=[()=>W,`T`,()=>G,`lengthComputable`,`loaded`,`target`,`total`,`ProgressEvent`,`n!c"Pn#)4$9'4%9Pe#!,J4&9'4'9Mw(y`],Vl=[()=>G,`blockedURI`,`columnNumber`,()=>dg,`disposition`,`documentURI`,`effectiveDirective`,`lineNumber`,`originalPolicy`,`referrer`,`sample`,`sourceFile`,`statusCode`,`violatedDirective`,`SecurityPolicyViolationEvent`,`Pn!&4"9'4#9n$4%9&4&9&4'9'4(9&4)9&4*9&4+9&4,9'4-9&4.9Mw/y`],Hl=[()=>G,()=>R,`submitter`,`SubmitEvent`,`Pn!Pn",J4#9Mw$y`],Ul=[()=>Ol,`altKey`,()=>fg,`changedTouches`,`ctrlKey`,`metaKey`,`shiftKey`,()=>fg,`targetTouches`,()=>fg,`touches`,`TouchEvent`,`Pn!)4"9n#4$9)4%9)4&9)4'9n(4)9n*4+9Mw,y`],Wl=[()=>G,`elapsedTime`,`propertyName`,`pseudoElement`,`TransitionEvent`,`Pn!'4"9&4#9&4$9Mw%y`],Gl=[()=>Fl,`deltaMode`,`deltaX`,`deltaY`,`deltaZ`,0,`DOM_DELTA_PIXEL`,1,`DOM_DELTA_LINE`,2,`DOM_DELTA_PAGE`,`WheelEvent`,`Pn!'4"9'4#9'4$9'4%9.&4'9.(4)9.*4+9Mw,y`],Kl=[`DOMStringMap`,`P&P&-JLMw!y`],ql=[`focusVisible`,`preventScroll`,`FocusOptions`,`P)4!8)4"8Mw#y`],Jl=[()=>R,`acceptCharset`,`action`,()=>pg,`autocomplete`,()=>mg,`elements`,`encoding`,`enctype`,`length`,`method`,`name`,`noValidate`,`rel`,`target`,`checkValidity`,`reportValidity`,()=>R,`submitter`,`requestSubmit`,`reset`,`submit`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,()=>U,`HTMLFormElement`,`Pn!&4"&4#n$4%n&4'9&4(&4)'4*9&4+&4,)4-&4.!!&4/P)10P)11PPn2,J238$14P$15P$16P"27Pn829n:"f2;"/<2=P)n>J2?8$1@P&27nA2=P)nBJ2?8$1@P"27PnC29nD"f2;"/<2=P)nEJ2?8$1FP&27nG2=P)nHJ2?8$1F'nIL&"LMwJy`],Yl=[`length`,`index`,()=>K,`item`,()=>K,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,()=>K,`NodeList`,`P'4!9P'2"Pn#,J1$PPn%2&'2'n(2)$/*2+"2,8$1-'n.LMw/y`],Xl=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`CustomStateSet`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],Zl=[`badInput`,`customError`,`patternMismatch`,`rangeOverflow`,`rangeUnderflow`,`stepMismatch`,`tooLong`,`tooShort`,`typeMismatch`,`valid`,`valueMissing`,`ValidityState`,`P)4!9)4"9)4#9)4$9)4%9)4&9)4'9)4(9)4)9)4*9)4+9Mw,y`],Ql=[()=>Vc,`lastModified`,`name`,`webkitRelativePath`,`File`,`Pn!'4"9&4#9&4$9Mw%y`],$l=[`name`,()=>Vc,`value`,`append`,()=>Vc,`blobValue`,`filename`,`delete`,()=>hg,`get`,()=>hg,`getAll`,`has`,()=>Vc,`set`,()=>Vc,()=>hg,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`FormData`,`PP&2!P&n"J2#$1$P&2!&2#$1$P&2!n%2&&2'8$1$P&2!$1(P&2!Pn),J1*P&2!n+F1,P&2!)1-P&2!P&n.J2#$1/P&2!&2#$1/P&2!n02&&2'8$1/PPn12#&22n324$/526"278$18Mw9y`],eu=[`badInput`,`customError`,`patternMismatch`,`rangeOverflow`,`rangeUnderflow`,`stepMismatch`,`tooLong`,`tooShort`,`typeMismatch`,`valueMissing`,`ValidityStateFlags`,`P)4!8)4"8)4#8)4$8)4%8)4&8)4'8)4(8)4)8)4*8Mw+y`],tu=[`ended`,`live`,`MediaStreamTrackState`,`P.!."Jw#y`],nu=[()=>gg,()=>gg,`advanced`,`MediaTrackConstraints`,`Pn!n"F4#8Mw$y`],ru=[()=>_g,`aspectRatio`,`autoGainControl`,`backgroundBlur`,()=>vg,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,()=>_g,`frameRate`,`groupId`,()=>vg,`height`,`noiseSuppression`,()=>vg,`sampleRate`,()=>vg,`sampleSize`,()=>vg,`width`,`MediaTrackCapabilities`,`Pn!4"8)F4#8)F4$8n%4&8&4'8&4(8P)&JF4)8&F4*8n+4,8&4-8n.4/8)F408n1428n3448n5468Mw7y`],iu=[`aspectRatio`,`autoGainControl`,`backgroundBlur`,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,`frameRate`,`groupId`,`height`,`noiseSuppression`,`sampleRate`,`sampleSize`,`torch`,`whiteBalanceMode`,`width`,`zoom`,`MediaTrackSettings`,`P'4!8)4"8)4#8'4$8&4%8&4&8P)&J4'8&4(8'4)8&4*8'4+8)4,8'4-8'4.8)4/8&408'418'428Mw3y`],au=[()=>G,`ended`,()=>G,`mute`,()=>G,`unmute`,`MediaStreamTrackEventMap`,`Pn!4"n#4$n%4&Mw'y`],ou=`color color-burn color-dodge copy darken destination-atop destination-in destination-out destination-over difference exclusion hard-light hue lighten lighter luminosity multiply overlay saturation screen soft-light source-atop source-in source-out source-over xor GlobalCompositeOperation P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:Jw;y`.split(` `),su=[()=>yg,()=>Lm,()=>Js,()=>Pc,()=>ac,()=>bg,`CanvasImageSource`,`Pn!n"n#n$n%n&Jw'y`],cu=[`evenodd`,`nonzero`,`CanvasFillRule`,`P.!."Jw#y`],lu=[()=>wc,0,`path`,()=>Du,`transform`,`addPath`,`Path2D`,`Pn!Pn"2#n$2%8$1&Mw'y`],uu=[`offset`,`color`,`addColorStop`,`CanvasGradient`,`PP'2!&2"$1#Mw$y`],du=[()=>Du,`transform`,`setTransform`,`CanvasPattern`,`PPn!2"8$1#Mw$y`],fu=[()=>gc,`colorSpace`,()=>xg,`pixelFormat`,`ImageDataSettings`,`Pn!4"8n#4$8Mw%y`],pu=[()=>gc,`colorSpace`,()=>Sg,`data`,`height`,`width`,`ImageData`,`Pn!4"9n#4$9'4%9'4&9Mw'y`],mu=[`high`,`low`,`medium`,`ImageSmoothingQuality`,`P.!.".#Jw$y`],hu=[`w`,`x`,`y`,`z`,`DOMPointInit`,`P'4!8'4"8'4#8'4$8Mw%y`],gu=[`butt`,`round`,`square`,`CanvasLineCap`,`P.!.".#Jw$y`],_u=[`bevel`,`miter`,`round`,`CanvasLineJoin`,`P.!.".#Jw$y`],vu=[`actualBoundingBoxAscent`,`actualBoundingBoxDescent`,`actualBoundingBoxLeft`,`actualBoundingBoxRight`,`alphabeticBaseline`,`emHeightAscent`,`emHeightDescent`,`fontBoundingBoxAscent`,`fontBoundingBoxDescent`,`hangingBaseline`,`ideographicBaseline`,`width`,`TextMetrics`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9Mw-y`],yu=[`inherit`,`ltr`,`rtl`,`CanvasDirection`,`P.!.".#Jw$y`],bu=[`auto`,`none`,`normal`,`CanvasFontKerning`,`P.!.".#Jw$y`],xu=[`condensed`,`expanded`,`extra-condensed`,`extra-expanded`,`normal`,`semi-condensed`,`semi-expanded`,`ultra-condensed`,`ultra-expanded`,`CanvasFontStretch`,`P.!.".#.$.%.&.'.(.)Jw*y`],Su=[`all-petite-caps`,`all-small-caps`,`normal`,`petite-caps`,`small-caps`,`titling-caps`,`unicase`,`CanvasFontVariantCaps`,`P.!.".#.$.%.&.'Jw(y`],Cu=[`center`,`end`,`left`,`right`,`start`,`CanvasTextAlign`,`P.!.".#.$.%Jw&y`],wu=[`alphabetic`,`bottom`,`hanging`,`ideographic`,`middle`,`top`,`CanvasTextBaseline`,`P.!.".#.$.%.&Jw'y`],Tu=[`auto`,`geometricPrecision`,`optimizeLegibility`,`optimizeSpeed`,`CanvasTextRendering`,`P.!.".#.$Jw%y`],Eu=[()=>Cg,`a`,`b`,`c`,`d`,`e`,`f`,`m11`,`m12`,`m13`,`m14`,`m21`,`m22`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m41`,`m42`,`m43`,`m44`,0,`invertSelf`,()=>wg,`other`,0,`multiplySelf`,()=>wg,0,`preMultiplySelf`,`x`,`y`,`z`,`angle`,0,`rotateAxisAngleSelf`,0,`rotateFromVectorSelf`,`rotX`,`rotY`,`rotZ`,0,`rotateSelf`,`scale`,`originX`,`originY`,`originZ`,0,`scale3dSelf`,`scaleX`,`scaleY`,`scaleZ`,0,`scaleSelf`,`transformList`,0,`setMatrixValue`,`sx`,0,`skewXSelf`,`sy`,0,`skewYSelf`,`tx`,`ty`,`tz`,0,`translateSelf`,`DOMMatrix`,`Pn!'4"'4#'4$'4%'4&'4''4('4)'4*'4+'4,'4-'4.'4/'40'41'42'43'44'45'46'47Pn819Pn:2;8n<1=Pn>2;8n?1@P'2A8'2B8'2C8'2D8nE1FP'2A8'2B8nG1HP'2I8'2J8'2K8nL1MP'2N8'2O8'2P8'2Q8nR1SP'2T8'2U8'2V8'2O8'2P8'2Q8nW1XP&2YnZ1[P'2\\8n]1^P'2_8n\`1aP'2b8'2c8'2d8ne1fMwgy`],Du=[`a`,`b`,`c`,`d`,`e`,`f`,`m11`,`m12`,`m21`,`m22`,`m41`,`m42`,`DOMMatrix2DInit`,`P'4!8'4"8'4#8'4$8'4%8'4&8'4'8'4(8'4)8'4*8'4+8'4,8Mw-y`],q=[`GLsizei`,`'w!y`],J=[`GLenum`,`'w!y`],Ou=[`WebGLProgram`,`PMw!y`],ku=[`WebGLShader`,`PMw!y`],Y=[`GLuint`,`'w!y`],Au=[`WebGLBuffer`,`PMw!y`],ju=[`WebGLFramebuffer`,`PMw!y`],Mu=[`WebGLRenderbuffer`,`PMw!y`],Nu=[`WebGLTexture`,`PMw!y`],Pu=[`GLclampf`,`'w!y`],Fu=[`GLbitfield`,`'w!y`],X=[`GLint`,`'w!y`],Iu=[`GLboolean`,`)w!y`],Lu=[`GLintptr`,`'w!y`],Ru=[`name`,()=>X,`size`,()=>J,`type`,`WebGLActiveInfo`,`P&4!9n"4#9n$4%9Mw&y`],zu=[()=>J,`mode`,()=>X,`first`,()=>q,`count`,()=>q,`primcount`,`drawArraysInstancedANGLE`,()=>J,()=>q,()=>J,`type`,()=>Lu,`offset`,()=>q,`drawElementsInstancedANGLE`,()=>Y,`index`,()=>Y,`divisor`,`vertexAttribDivisorANGLE`,35070,`VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE`,`ANGLE_instanced_arrays`,`PPn!2"n#2$n%2&n'2($1)Pn*2"n+2&n,2-n.2/n02($11Pn223n425$16.7489Mw9y`],Bu=[32775,`MIN_EXT`,32776,`MAX_EXT`,`EXT_blend_minmax`,`P.!4"9.#4$9Mw%y`],Vu=[`EXT_color_buffer_float`,`PMw!y`],Hu=[34842,`RGBA16F_EXT`,34843,`RGB16F_EXT`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT`,35863,`UNSIGNED_NORMALIZED_EXT`,`EXT_color_buffer_half_float`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Uu=[`EXT_float_blend`,`PMw!y`],Wu=[`EXT_frag_depth`,`PMw!y`],Gu=[35904,`SRGB_EXT`,35906,`SRGB_ALPHA_EXT`,35907,`SRGB8_ALPHA8_EXT`,33296,`FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT`,`EXT_sRGB`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Ku=[`EXT_shader_texture_lod`,`PMw!y`],qu=[36492,`COMPRESSED_RGBA_BPTC_UNORM_EXT`,36493,`COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT`,36494,`COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT`,36495,`COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT`,`EXT_texture_compression_bptc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Ju=[36283,`COMPRESSED_RED_RGTC1_EXT`,36284,`COMPRESSED_SIGNED_RED_RGTC1_EXT`,36285,`COMPRESSED_RED_GREEN_RGTC2_EXT`,36286,`COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT`,`EXT_texture_compression_rgtc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Yu=[34046,`TEXTURE_MAX_ANISOTROPY_EXT`,34047,`MAX_TEXTURE_MAX_ANISOTROPY_EXT`,`EXT_texture_filter_anisotropic`,`P.!4"9.#4$9Mw%y`],Xu=[37297,`COMPLETION_STATUS_KHR`,`KHR_parallel_shader_compile`,`P.!4"9Mw#y`],Zu=[`OES_element_index_uint`,`PMw!y`],Qu=[`OES_fbo_render_mipmap`,`PMw!y`],$u=[35723,`FRAGMENT_SHADER_DERIVATIVE_HINT_OES`,`OES_standard_derivatives`,`P.!4"9Mw#y`],ed=[`OES_texture_float`,`PMw!y`],td=[`OES_texture_float_linear`,`PMw!y`],nd=[36193,`HALF_FLOAT_OES`,`OES_texture_half_float`,`P.!4"9Mw#y`],rd=[`OES_texture_half_float_linear`,`PMw!y`],id=[()=>Tg,`arrayObject`,`bindVertexArrayOES`,()=>Tg,`createVertexArrayOES`,()=>Tg,`deleteVertexArrayOES`,()=>Tg,()=>Iu,`isVertexArrayOES`,34229,`VERTEX_ARRAY_BINDING_OES`,`OES_vertex_array_object`,`PPPn!,J2"$1#Pn$1%PPn&,J2"$1'PPn(,J2"n)1*.+4,9Mw-y`],ad=[()=>J,`target`,()=>J,`attachment`,()=>Nu,`texture`,()=>X,`level`,()=>X,`baseViewIndex`,()=>q,`numViews`,`framebufferTextureMultiviewOVR`,38448,`FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR`,38450,`FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR`,38449,`MAX_VIEWS_OVR`,38451,`FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR`,`OVR_multiview2`,`PPn!2"n#2$Pn%,J2&n'2(n)2*n+2,$1-..4/9.0419.2439.4459Mw6y`],od=[34836,`RGBA32F_EXT`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT`,35863,`UNSIGNED_NORMALIZED_EXT`,`WEBGL_color_buffer_float`,`P.!4"9.#4$9.%4&9Mw'y`],sd=[`getSupportedProfiles`,37808,`COMPRESSED_RGBA_ASTC_4x4_KHR`,37809,`COMPRESSED_RGBA_ASTC_5x4_KHR`,37810,`COMPRESSED_RGBA_ASTC_5x5_KHR`,37811,`COMPRESSED_RGBA_ASTC_6x5_KHR`,37812,`COMPRESSED_RGBA_ASTC_6x6_KHR`,37813,`COMPRESSED_RGBA_ASTC_8x5_KHR`,37814,`COMPRESSED_RGBA_ASTC_8x6_KHR`,37815,`COMPRESSED_RGBA_ASTC_8x8_KHR`,37816,`COMPRESSED_RGBA_ASTC_10x5_KHR`,37817,`COMPRESSED_RGBA_ASTC_10x6_KHR`,37818,`COMPRESSED_RGBA_ASTC_10x8_KHR`,37819,`COMPRESSED_RGBA_ASTC_10x10_KHR`,37820,`COMPRESSED_RGBA_ASTC_12x10_KHR`,37821,`COMPRESSED_RGBA_ASTC_12x12_KHR`,37840,`COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR`,37841,`COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR`,37842,`COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR`,37843,`COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR`,37844,`COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR`,37845,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR`,37846,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR`,37847,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR`,37848,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR`,37849,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR`,37850,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR`,37851,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR`,37852,`COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR`,37853,`COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR`,`WEBGL_compressed_texture_astc`,`PP&F1!."4#9.$4%9.&4'9.(4)9.*4+9.,4-9..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9.B4C9.D4E9.F4G9.H4I9.J4K9.L4M9.N4O9.P4Q9.R4S9.T4U9.V4W9.X4Y9MwZy`],cd=[37488,`COMPRESSED_R11_EAC`,37489,`COMPRESSED_SIGNED_R11_EAC`,37490,`COMPRESSED_RG11_EAC`,37491,`COMPRESSED_SIGNED_RG11_EAC`,37492,`COMPRESSED_RGB8_ETC2`,37493,`COMPRESSED_SRGB8_ETC2`,37494,`COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2`,37495,`COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2`,37496,`COMPRESSED_RGBA8_ETC2_EAC`,37497,`COMPRESSED_SRGB8_ALPHA8_ETC2_EAC`,`WEBGL_compressed_texture_etc`,`P.!4"9.#4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449Mw5y`],ld=[36196,`COMPRESSED_RGB_ETC1_WEBGL`,`WEBGL_compressed_texture_etc1`,`P.!4"9Mw#y`],ud=[35840,`COMPRESSED_RGB_PVRTC_4BPPV1_IMG`,35841,`COMPRESSED_RGB_PVRTC_2BPPV1_IMG`,35842,`COMPRESSED_RGBA_PVRTC_4BPPV1_IMG`,35843,`COMPRESSED_RGBA_PVRTC_2BPPV1_IMG`,`WEBGL_compressed_texture_pvrtc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],dd=[33776,`COMPRESSED_RGB_S3TC_DXT1_EXT`,33777,`COMPRESSED_RGBA_S3TC_DXT1_EXT`,33778,`COMPRESSED_RGBA_S3TC_DXT3_EXT`,33779,`COMPRESSED_RGBA_S3TC_DXT5_EXT`,`WEBGL_compressed_texture_s3tc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],fd=[35916,`COMPRESSED_SRGB_S3TC_DXT1_EXT`,35917,`COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT`,35918,`COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT`,35919,`COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT`,`WEBGL_compressed_texture_s3tc_srgb`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],pd=[37445,`UNMASKED_VENDOR_WEBGL`,37446,`UNMASKED_RENDERER_WEBGL`,`WEBGL_debug_renderer_info`,`P.!4"9.#4$9Mw%y`],md=[()=>ku,`shader`,`getTranslatedShaderSource`,`WEBGL_debug_shaders`,`PPn!2"&1#Mw$y`],hd=[34042,`UNSIGNED_INT_24_8_WEBGL`,`WEBGL_depth_texture`,`P.!4"9Mw#y`],gd=[()=>J,`buffers`,`drawBuffersWEBGL`,36064,`COLOR_ATTACHMENT0_WEBGL`,36065,`COLOR_ATTACHMENT1_WEBGL`,36066,`COLOR_ATTACHMENT2_WEBGL`,36067,`COLOR_ATTACHMENT3_WEBGL`,36068,`COLOR_ATTACHMENT4_WEBGL`,36069,`COLOR_ATTACHMENT5_WEBGL`,36070,`COLOR_ATTACHMENT6_WEBGL`,36071,`COLOR_ATTACHMENT7_WEBGL`,36072,`COLOR_ATTACHMENT8_WEBGL`,36073,`COLOR_ATTACHMENT9_WEBGL`,36074,`COLOR_ATTACHMENT10_WEBGL`,36075,`COLOR_ATTACHMENT11_WEBGL`,36076,`COLOR_ATTACHMENT12_WEBGL`,36077,`COLOR_ATTACHMENT13_WEBGL`,36078,`COLOR_ATTACHMENT14_WEBGL`,36079,`COLOR_ATTACHMENT15_WEBGL`,34853,`DRAW_BUFFER0_WEBGL`,34854,`DRAW_BUFFER1_WEBGL`,34855,`DRAW_BUFFER2_WEBGL`,34856,`DRAW_BUFFER3_WEBGL`,34857,`DRAW_BUFFER4_WEBGL`,34858,`DRAW_BUFFER5_WEBGL`,34859,`DRAW_BUFFER6_WEBGL`,34860,`DRAW_BUFFER7_WEBGL`,34861,`DRAW_BUFFER8_WEBGL`,34862,`DRAW_BUFFER9_WEBGL`,34863,`DRAW_BUFFER10_WEBGL`,34864,`DRAW_BUFFER11_WEBGL`,34865,`DRAW_BUFFER12_WEBGL`,34866,`DRAW_BUFFER13_WEBGL`,34867,`DRAW_BUFFER14_WEBGL`,34868,`DRAW_BUFFER15_WEBGL`,36063,`MAX_COLOR_ATTACHMENTS_WEBGL`,34852,`MAX_DRAW_BUFFERS_WEBGL`,`WEBGL_draw_buffers`,`PPn!F2"$1#.$4%9.&4'9.(4)9.*4+9.,4-9..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9.B4C9.D4E9.F4G9.H4I9.J4K9.L4M9.N4O9.P4Q9.R4S9.T4U9.V4W9.X4Y9.Z4[9.\\4]9.^4_9.\`4a9.b4c9.d4e9.f4g9Mwhy`],_d=[`loseContext`,`restoreContext`,`WEBGL_lose_context`,`PP$1!P$1"Mw#y`],vd=[()=>J,`mode`,()=>X,`firstsList`,`firstsOffset`,()=>q,`countsList`,`countsOffset`,()=>q,`instanceCountsList`,`instanceCountsOffset`,()=>q,`drawcount`,`multiDrawArraysInstancedWEBGL`,()=>J,()=>X,()=>q,()=>q,`multiDrawArraysWEBGL`,()=>J,()=>q,()=>J,`type`,()=>q,`offsetsList`,`offsetsOffset`,()=>q,()=>q,`multiDrawElementsInstancedWEBGL`,()=>J,()=>q,()=>J,()=>q,()=>q,`multiDrawElementsWEBGL`,`WEBGL_multi_draw`,`PPn!2"PZn#FJ2$'2%PZn&FJ2''2(PZn)FJ2*'2+n,2-$1.Pn/2"PZn0FJ2$'2%PZn1FJ2''2(n22-$13Pn42"PZn5FJ2''2(n627PZn8FJ29'2:PZn;FJ2*'2+n<2-$1=Pn>2"PZn?FJ2''2(n@27PZnAFJ29'2:nB2-$1CMwDy`],yd=[()=>X,`precision`,()=>X,`rangeMax`,()=>X,`rangeMin`,`WebGLShaderPrecisionFormat`,`Pn!4"9n#4$9n%4&9Mw'y`],bd=[`WebGLUniformLocation`,`PMw!y`],xd=[`GLfloat`,`'w!y`],Sd=[()=>xd,`Float32List`,`P\\n!FJw"y`],Cd=[`GLsizeiptr`,`'w!y`],wd=[()=>Ed,()=>Td,()=>Ed,`AllowSharedBufferSource`,`Pn!n#o""Jw$y`],Td=[()=>Ed,`TArrayBuffer`,`buffer`,`byteLength`,`byteOffset`,`ArrayBufferView`,`n!c"Pe"!4#9'4$9'4%9Mw&y`],Ed=[()=>Eg,()=>Eg,`ArrayBufferLike`,`n!n"gfw#y`],Dd=[()=>Pc,()=>pu,()=>gf,()=>Js,()=>Lm,()=>ac,()=>bg,`TexImageSource`,`Pn!n"n#n$n%n&n'Jw(y`],Od=[()=>X,`Int32List`,`PZn!FJw"y`],kd=[`WebGLQuery`,`PMw!y`],Ad=[`WebGLSampler`,`PMw!y`],jd=[`WebGLTransformFeedback`,`PMw!y`],Md=[`WebGLVertexArrayObject`,`PMw!y`],Nd=[()=>Y,`Uint32List`,`P[n!FJw"y`],Pd=[`WebGLSync`,`PMw!y`],Fd=[`GLuint64`,`'w!y`],Id=[`GLint64`,`'w!y`],Ld=[()=>Dg,`alphaMode`,()=>gc,`colorSpace`,()=>Og,`device`,()=>kg,`format`,()=>Ag,`toneMapping`,()=>jg,`usage`,()=>kg,`viewFormats`,`GPUCanvasConfiguration`,`Pn!4"8n#4$8n%4&n'4(n)4*8n+4,8n-F4.8Mw/y`],Rd=[()=>Mg,()=>Ng,`depthOrArrayLayers`,()=>Pg,`dimension`,()=>kg,`format`,()=>Ng,`height`,()=>Ng,`mipLevelCount`,()=>Fg,`sampleCount`,()=>Ig,`usage`,()=>Ng,`width`,()=>Lg,`descriptor`,()=>Rg,`createView`,`destroy`,`GPUTexture`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419Pn2238n415P$16Mw7y`],zd=[`R`,`locked`,`reason`,`cancel`,`byob`,`mode`,`options`,()=>zg,`getReader`,()=>Bg,()=>Vg,()=>Hg,()=>Ug,`transform`,()=>Wg,0,`pipeThrough`,()=>Gg,`destination`,()=>Wg,`pipeTo`,0,0,`tee`,`ReadableStream`,`"c!P)4"9P"2#8$\`1$PP.%4&M2'n(1)Pe#!o*"1)Pn+2'8e#!o,"1)P"e#!o-#2.n/2'8"o0"11Pe#!o2"23n42'8$\`15PPe$!o6"e$!o7"G18Mw9y`],Bd=[`DOMHighResTimeStamp`,`'w!y`],Vd=[()=>Ol,`data`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>df,`viewArg`,`dataArg`,`initCompositionEvent`,`CompositionEvent`,`Pn!&4"9P&2#)2$8)2%8Pn&,J2'8&2(8$1)Mw*y`],Hd=[()=>G,`colno`,`error`,`filename`,`lineno`,`message`,`ErrorEvent`,`Pn!'4"9"4#9&4$9'4%9&4&9Mw'y`],Ud=[()=>G,`abort`,`AbortSignalEventMap`,`Pn!4"Mw#y`],Wd=[`TNode`,()=>Yl,`index`,`item`,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`NodeListOf`,`b!Pn"P'2#e#!1$PPe$!2%'2&e$!o'"2($/)2*"2+8$1,'e"!LMw-y`],Gd=[`composed`,`GetRootNodeOptions`,`P)4!8Mw"y`],Kd=[`T`,`length`,`toString`,`toLocaleString`,()=>Kg,`items`,`concat`,()=>Kg,`separator`,`join`,`start`,`end`,`slice`,`searchElement`,`fromIndex`,`indexOf`,`lastIndexOf`,`value`,`index`,`array`,``,`predicate`,`thisArg`,`every`,`some`,`callbackfn`,`forEach`,`map`,`filter`,`previousValue`,`currentValue`,`currentIndex`,`reduce`,`initialValue`,`reduceRight`,`ReadonlyArray`,`b!P'4"9P&1#P&1$Pe#!o%"@2&e#!F1'PPe$!e$!o("J@2&e#!F1'P&2)8&1*P'2+8'2,8e#!F1-Pe#!2.'2/8'10Pe#!2.'2/8'11PPe$!22'23e$!F924!/526"278!18PPe$!22'23e$!F924#/526"278)18PPe$!22'23e$!F924#/526"278)19PPe$!22'23e$!F924$/52:"278$1;PPe$!22'23e$!F924"/52:"278"F1<PPe$!22'23e$!F924!/526"278"F1=PPe$!22'23e$!F924#/526"278e#!F1=PPe$!2>e$!2?'2@e$!F924e$!/52:e#!1APPe$!2>e$!2?'2@e$!F924e$!/52:e#!2Be#!1APP"2>e$!2?'2@e$!F924"/52:"2B"1APPe$!2>e$!2?'2@e$!F924e$!/52:e#!1CPPe$!2>e$!2?'2@e$!F924e$!/52:e#!2Be#!1CPP"2>e$!2?'2@e$!F924"/52:"2B"1C'e"!LMwDy`],qd=[()=>qg,`composite`,`easing`,`offset`,`Keyframe`,`Pn!4"8&4#8P',J4$8&P&',-JLMw%y`],Jd=[()=>qg,()=>qg,`composite`,`easing`,`offset`,`PropertyIndexedKeyframes`,`PPn!n"FJ4#8P&&FJ4$8P'P',JFJ4%8&P&&F',P',JF-JLMw&y`],Yd=[()=>Jg,`id`,()=>Yg,()=>Xg,()=>Zg,`rangeEnd`,()=>Yg,()=>Xg,()=>Zg,`rangeStart`,()=>Qg,`timeline`,`KeyframeAnimationOptions`,`Pn!&4"8Pn#n$n%&J4&8Pn'n(n)&J4*8Pn+,J4,8Mw-y`],Xd=[()=>W,()=>$g,`currentTime`,()=>e_,`effect`,0,`finished`,`id`,0,`this`,()=>jf,`ev`,``,`oncancel`,0,()=>jf,`onfinish`,0,()=>jf,`onremove`,`overallProgress`,`pending`,()=>t_,`playState`,`playbackRate`,0,`ready`,()=>n_,`replaceState`,()=>$g,`startTime`,()=>Qg,`timeline`,`cancel`,`commitStyles`,`finish`,`pause`,`persist`,`play`,`reverse`,`updatePlaybackRate`,`type`,0,()=>r_,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>r_,()=>H,`removeEventListener`,()=>V,()=>H,`Animation`,`Pn!Pn",J4#Pn$,J4%n&\`4'9&4(PPn)2*n+2,"/-,J4.PPn/2*n02,"/-,J41PPn22*n32,"/-,J44P',J459)469n7489'49n:\`4;9n<4=9Pn>,J4?Pn@,J4AP$1BP$1CP$1DP$1EP$1FP$1GP$1HP'29$1IP"2JPnK2*nL"f2,"/-2MP)nNJ2O8$1PP&2JnQ2MP)nRJ2O8$1PP"2JPnS2*nT"f2,"/-2MP)nUJ2O8$1VP&2JnW2MP)nXJ2O8$1VMwYy`],Zd=[`subtree`,`GetAnimationsOptions`,`P)4!8Mw"y`],Qd=[()=>Yh,`name`,()=>U,`namedItem`,`HTMLCollection`,`Pn!P&2"Pn#,J1$Mw%y`],$d=[()=>R,`name`,()=>U,()=>Op,`nodes`,`assign`,()=>i_,`options`,()=>U,`assignedElements`,()=>i_,()=>K,`assignedNodes`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSlotElement`,`Pn!&4"PPn#n$J@2%$1&Pn'2(8n)F1*Pn+2(8n,F1-P"2.Pn/20n1"f22"/324P)n5J2(8$16P&2.n724P)n8J2(8$16P"2.Pn920n:"f22"/324P)n;J2(8$1<P&2.n=24P)n>J2(8$1<Mw?y`],ef=[`params`,()=>R,`new`,`CustomElementConstructor`,`PP"@2!n"1#Mw$y`],tf=[`extends`,`ElementDefinitionOptions`,`P&4!8Mw"y`],nf=[()=>U,`activeElement`,()=>a_,`adoptedStyleSheets`,()=>al,`customElementRegistry`,()=>U,`fullscreenElement`,()=>U,`pictureInPictureElement`,()=>U,`pointerLockElement`,()=>o_,`styleSheets`,`x`,`y`,()=>U,`elementFromPoint`,()=>U,`elementsFromPoint`,()=>Xd,`getAnimations`,`DocumentOrShadowRoot`,`PPn!,J4"9n#F4$Pn%,J4&9Pn',J4(9Pn),J4*9Pn+,J4,9n-4.9P'2/'20Pn1,J12P'2/'20n3F14Pn5F16Mw7y`],rf=[()=>s_,`fonts`,`FontFaceSource`,`Pn!4"9Mw#y`],af=[`elementId`,()=>U,`getElementById`,`NonElementParentNode`,`PP&2!Pn",J1#Mw$y`],of=[`expression`,()=>c_,`resolver`,()=>l_,`createExpression`,()=>K,`nodeResolver`,()=>K,`createNSResolver`,()=>K,`contextNode`,()=>c_,`type`,()=>u_,`result`,()=>u_,`evaluate`,`XPathEvaluatorBase`,`PP&2!Pn",J2#8n$1%Pn&2'n(1)P&2!n*2+Pn,,J2#8'2-8Pn.,J2/8n011Mw2y`],sf=[`finished`,`ready`,()=>d_,`types`,`updateCallbackDone`,`skipTransition`,`ViewTransition`,"P$`4!9$`4\"9n#4$9$`4%9P$1&Mw'y"],cf=[`length`,`nameOrIndex`,()=>Qd,()=>U,`item`,`name`,()=>Qd,()=>U,`namedItem`,()=>U,`HTMLAllCollection`,`P'4!9P&2"8Pn#n$,J1%P&2&Pn'n(,J1)'n*LMw+y`],lf=[()=>R,()=>f_,`charset`,`coords`,`download`,`hreflang`,`name`,`ping`,`referrerPolicy`,`rel`,`rev`,`shape`,`target`,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAnchorElement`,`Pn!n"&4#&4$&4%&4&&4'&4(&4)&4*!!&4+&4,&4-&4.&4/P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],uf=[()=>xf,()=>Fh,`HTMLOrSVGScriptElement`,`Pn!n"Jw#y`],df=[()=>sg,`WindowProxy`,`n!w"y`],ff=[()=>K,()=>el,`name`,()=>ol,`ownerDocument`,`publicId`,`systemId`,`DocumentType`,`Pn!n"&4#9n$4%9&4&9&4'9!Mw(y`],pf=[()=>R,`align`,`height`,`name`,`src`,`type`,`width`,()=>ol,`getSVGDocument`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLEmbedElement`,`Pn!&4"&4#&4$&4%&4&&4'PPn(,J1)P"2&Pn*2+n,"f2-"/.2/P)n0J218$12P&2&n32/P)n4J218$12P"2&Pn52+n6"f2-"/.2/P)n7J218$18P&2&n92/P)n:J218$18Mw;y`],mf=[`FragmentDirective`,`PMw!y`],hf=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHeadElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],gf=[()=>R,`align`,`alt`,`border`,`complete`,`crossOrigin`,`currentSrc`,`async`,`sync`,`auto`,`decoding`,`high`,`low`,`auto`,`fetchPriority`,`height`,`hspace`,`isMap`,`eager`,`lazy`,`loading`,`longDesc`,`lowsrc`,`name`,`naturalHeight`,`naturalWidth`,`referrerPolicy`,`sizes`,`src`,`srcset`,`useMap`,`vspace`,`width`,`x`,`y`,`decode`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLImageElement`,`Pn!&4"&4#&4$)4%9P&,J4&&4'9P.(.).*J4+P.,.-..J4/'40'41)42P.3.4J45&46&47&48'499'4:9&4;&4<&4=&4>&4?'4@'4A'4B9'4C9P$\`1DP"2EPnF2GnH"f2I"/J2KP)nLJ2M8$1NP&2EnO2KP)nPJ2M8$1NP"2EPnQ2GnR"f2I"/J2KP)nSJ2M8$1TP&2EnU2KP)nVJ2M8$1TMwWy`],_f=[`namespace`,`qualifiedName`,()=>ff,`doctype`,()=>p_,`createDocument`,`name`,`publicId`,`systemId`,()=>ff,`createDocumentType`,`title`,()=>ol,`createHTMLDocument`,`args`,!0,`hasFeature`,`DOMImplementation`,`PPP&,J2!P&,J2"Pn#,J2$8n%1&P&2'&2(&2)n*1+P&2,8n-1.P"@2/.011Mw2y`],vf=[()=>R,()=>f_,`alt`,`coords`,`download`,`noHref`,`ping`,`referrerPolicy`,`rel`,`shape`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAreaElement`,`Pn!n"&4#&4$&4%)4&&4'&4(&4)!!&4*&4+P"2,Pn-2.n/"f20"/122P)n3J248$15P&2,n622P)n7J248$15P"2,Pn82.n9"f20"/122P)n:J248$1;P&2,n<22P)n=J248$1;Mw>y`],yf=[`complete`,`interactive`,`loading`,`DocumentReadyState`,`P.!.".#Jw$y`],bf=[()=>m_,()=>h_,()=>g_,`currentScale`,()=>__,`currentTranslate`,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`animationsPaused`,()=>yl,`element`,()=>Jh,`rect`,`checkEnclosure`,()=>yl,()=>Jh,`checkIntersection`,()=>v_,`createSVGAngle`,()=>y_,`createSVGLength`,()=>Eu,`createSVGMatrix`,()=>b_,`createSVGNumber`,()=>x_,`createSVGPoint`,()=>hl,`createSVGRect`,()=>S_,`createSVGTransform`,()=>Du,`matrix`,()=>S_,`createSVGTransformFromMatrix`,`deselectAll`,`forceRedraw`,`getCurrentTime`,`elementId`,()=>U,`getElementById`,()=>Jh,()=>yl,`referenceElement`,()=>Wd,()=>Hm,()=>Km,()=>Sh,()=>Ch,()=>kh,()=>jh,()=>Mh,()=>Ph,()=>Vh,()=>Gh,`getEnclosureList`,()=>Jh,()=>yl,()=>Wd,()=>Hm,()=>Km,()=>Sh,()=>Ch,()=>kh,()=>jh,()=>Mh,()=>Ph,()=>Vh,()=>Gh,`getIntersectionList`,`pauseAnimations`,`seconds`,`setCurrentTime`,`maxWaitMilliseconds`,`suspendRedraw`,`unpauseAnimations`,`suspendHandleID`,`unsuspendRedraw`,`unsuspendRedrawAll`,`type`,0,`this`,()=>C_,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>C_,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSVGElement`,`Pn!n"n#'4$n%4&9n'4(9n)4*9n+4,9n-4.9P)1/Pn021n223)14Pn521n623)17Pn819Pn:1;Pn<1=Pn>1?Pn@1APnB1CPnD1EPnF2G8nH1IP$1JP$1KP'1LP&2MPnN,J1OPnP23PnQ,J2RPnTnUnVnWnXnYnZn[n\\n]JoS"1^Pn_23Pn\`,J2RPnbncndnenfngnhninjnkJoa"1lP$1mP'2n$1oP'2p'1qP$1rP'2s$1tP$1uP"2vPnw2xny"f2z"/{2|P)n}J2~8$1P&2vn2|P)nJ2~8$1P"2vPn2xn"f2z"/{2|P)nJ2~8$1
P&2vn2|P)nJ2~8$1
Mwy`],xf=[()=>R,`async`,`charset`,`crossOrigin`,`defer`,`event`,`high`,`low`,`auto`,`fetchPriority`,`htmlFor`,`integrity`,`noModule`,`referrerPolicy`,`src`,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLScriptElement`,`Pn!)4"!!&4#P&,J4$)4%&4&P.'.(.)J4*&4+&4,)4-&4.&4/&40&41P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],Sf=[()=>Qg,`DocumentTimeline`,`Pn!Mw"y`],Cf=[`hidden`,`visible`,`DocumentVisibilityState`,`P.!."Jw#y`],wf=[()=>sl,`shadowRoots`,`CaretPositionFromPointOptions`,`Pn!F4"8Mw#y`],Tf=[`offset`,()=>K,`offsetNode`,()=>hl,`getClientRect`,`CaretPosition`,`P'4!9n"4#9PPn$,J1%Mw&y`],Ef=[()=>w_,()=>K,`commonAncestorContainer`,()=>kf,`cloneContents`,0,`cloneRange`,`toStart`,`collapse`,`how`,0,`sourceRange`,`compareBoundaryPoints`,()=>K,`node`,`offset`,`comparePoint`,`string`,()=>kf,`createContextualFragment`,`deleteContents`,`detach`,()=>kf,`extractContents`,()=>hl,`getBoundingClientRect`,()=>gl,`getClientRects`,()=>K,`insertNode`,()=>K,`intersectsNode`,()=>K,`isPointInRange`,()=>K,`selectNode`,()=>K,`selectNodeContents`,()=>K,`setEnd`,()=>K,`setEndAfter`,()=>K,`setEndBefore`,()=>K,`setStart`,()=>K,`setStartAfter`,()=>K,`setStartBefore`,()=>K,`newParent`,`surroundContents`,`toString`,0,`START_TO_START`,1,`START_TO_END`,2,`END_TO_END`,3,`END_TO_START`,`Range`,`Pn!n"4#9Pn$1%Pn&1'P)2(8$1)P'2*n+2,'1-Pn.2/'20'11P&22n314P$15P$16Pn718Pn91:Pn;1<Pn=2/$1>Pn?2/)1@PnA2/'20)1BPnC2/$1DPnE2/$1FPnG2/'20$1HPnI2/$1JPnK2/$1LPnM2/'20$1NPnO2/$1PPnQ2/$1RPnS2T$1UP&1V.W4X9.Y4Z9.[4\\9.]4^9Mw_y`],Df=[()=>Op,`CDATASection`,`Pn!Mw"y`],Of=[()=>T_,`Comment`,`Pn!Mw"y`],kf=[()=>K,()=>af,()=>nl,()=>ol,`ownerDocument`,`elementId`,()=>R,`getElementById`,`DocumentFragment`,`Pn!n"n#n$4%9P&2&Pn',J1(!!Mw)y`],Af=[()=>al,`customElementRegistry`,`is`,`ElementCreationOptions`,`PPn!,J4"8&4#8Mw$y`],jf=[()=>G,()=>$g,`currentTime`,()=>$g,`timelineTime`,`AnimationPlaybackEvent`,`Pn!Pn",J4#9Pn$,J4%9Mw&y`],Mf=[()=>G,()=>E_,`inputBuffer`,()=>E_,`outputBuffer`,`playbackTime`,`AudioProcessingEvent`,`Pn!n"4#9n$4%9'4&9Mw'y`],Nf=[()=>G,`returnValue`,`BeforeUnloadEvent`,`Pn!"4"Mw#y`],Pf=[()=>G,()=>Vc,`data`,()=>Bd,`timecode`,`BlobEvent`,`Pn!n"4#9n$4%9Mw&y`],Ff=[()=>G,`code`,`reason`,`wasClean`,`CloseEvent`,`Pn!'4"9&4#9)4$9Mw%y`],If=[()=>G,`command`,()=>U,`source`,`CommandEvent`,`Pn!&4"9Pn#,J4$9Mw%y`],Lf=[()=>G,`skipped`,`ContentVisibilityAutoStateChangeEvent`,`Pn!)4"9Mw#y`],Rf=[()=>G,()=>Kd,()=>D_,`changed`,()=>Kd,()=>D_,`deleted`,`CookieChangeEvent`,`Pn!n#o""4$9n&o%"4'9Mw(y`],zf=[`T`,()=>G,`detail`,`type`,`bubbles`,`cancelable`,`initCustomEvent`,`CustomEvent`,`"c!Pn"e"!4#9P&2$)2%8)2&8e#!2#8$1'Mw(y`],Bf=[()=>G,()=>O_,`acceleration`,()=>O_,`accelerationIncludingGravity`,`interval`,()=>k_,`rotationRate`,`DeviceMotionEvent`,`Pn!Pn",J4#9Pn$,J4%9'4&9Pn',J4(9Mw)y`],Vf=[()=>G,`absolute`,`alpha`,`beta`,`gamma`,`DeviceOrientationEvent`,`Pn!)4"9P',J4#9P',J4$9P',J4%9Mw&y`],Hf=[()=>G,()=>Kd,()=>A_,`fontfaces`,`FontFaceSetLoadEvent`,`Pn!n#o""4$9Mw%y`],Uf=[()=>G,()=>j_,`error`,`GPUUncapturedErrorEvent`,`Pn!n"4#9Mw$y`],Wf=[()=>G,()=>M_,`gamepad`,`GamepadEvent`,`Pn!n"4#9Mw$y`],Gf=[()=>G,`newURL`,`oldURL`,`HashChangeEvent`,`Pn!&4"9&4#9Mw$y`],Kf=[()=>G,`newVersion`,`oldVersion`,`IDBVersionChangeEvent`,`Pn!P',J4"9'4#9Mw$y`],qf=[()=>G,()=>N_,`port`,`MIDIConnectionEvent`,`Pn!Pn",J4#9Mw$y`],Jf=[()=>G,`data`,`MIDIMessageEvent`,`Pn!PW,J4"9Mw#y`],Yf=[()=>G,`initData`,`initDataType`,`MediaEncryptedEvent`,`Pn!P_,J4"9&4#9Mw$y`],Xf=[()=>G,`message`,()=>P_,`messageType`,`MediaKeyMessageEvent`,`Pn!_4"9n#4$9Mw%y`],Zf=[()=>G,`matches`,`media`,`MediaQueryListEvent`,`Pn!)4"9&4#9Mw$y`],Qf=[`T`,()=>G,`data`,`lastEventId`,`origin`,()=>Kd,()=>F_,`ports`,()=>I_,`source`,`type`,`bubbles`,`cancelable`,()=>I_,()=>F_,`initMessageEvent`,`MessageEvent`,`"c!Pn"e"!4#9&4$9&4%9n'o&"4(9Pn),J4*9P&2+)2,8)2-8"2#8&2%8&2$8Pn.,J2*8n/F2(8$10Mw1y`],$f=[()=>G,`canIntercept`,()=>L_,`destination`,`downloadRequest`,()=>$l,`formData`,`hasUAVisualTransition`,`hashChange`,`info`,()=>R_,`navigationType`,()=>Yc,`signal`,()=>U,`sourceElement`,`userInitiated`,()=>z_,`options`,`intercept`,`scroll`,`NavigateEvent`,`Pn!)4"9n#4$9P&,J4%9Pn&,J4'9)4(9)4)9"4*9n+4,9n-4.9Pn/,J409)419Pn2238$14P$15Mw6y`],ep=[()=>G,()=>B_,`from`,()=>R_,`navigationType`,`NavigationCurrentEntryChangeEvent`,`Pn!n"4#9Pn$,J4%9Mw&y`],tp=[()=>G,()=>E_,`renderedBuffer`,`OfflineAudioCompletionEvent`,`Pn!n"4#9Mw$y`],np=[()=>G,()=>sf,`viewTransition`,`PageRevealEvent`,`Pn!Pn",J4#9Mw$y`],rp=[()=>G,()=>V_,`activation`,()=>sf,`viewTransition`,`PageSwapEvent`,`Pn!Pn",J4#9Pn$,J4%9Mw&y`],ip=[()=>G,`persisted`,`PageTransitionEvent`,`Pn!)4"9Mw#y`],ap=[()=>op,`methodDetails`,`methodName`,`PaymentMethodChangeEvent`,`Pn!"4"9&4#9Mw$y`],op=[()=>G,()=>H_,()=>U_,()=>H_,`detailsPromise`,`updateWith`,`PaymentRequestUpdateEvent`,`Pn!PPn"n$o#"J2%$1&Mw'y`],sp=[()=>G,()=>W_,`pictureInPictureWindow`,`PictureInPictureEvent`,`Pn!n"4#9Mw$y`],cp=[()=>G,`hasUAVisualTransition`,`state`,`PopStateEvent`,`Pn!)4"9"4#9Mw$y`],lp=[()=>G,`promise`,`reason`,`PromiseRejectionEvent`,'Pn!"`4"9"4#9Mw$y'],up=[()=>G,`tone`,`RTCDTMFToneChangeEvent`,`Pn!&4"9Mw#y`],dp=[()=>G,()=>G_,`channel`,`RTCDataChannelEvent`,`Pn!n"4#9Mw$y`],fp=[()=>G,()=>K_,`error`,`RTCErrorEvent`,`Pn!n"4#9Mw$y`],pp=[()=>G,`address`,`errorCode`,`errorText`,`port`,`url`,`RTCPeerConnectionIceErrorEvent`,`Pn!P&,J4"9'4#9&4$9P',J4%9&4&9Mw'y`],mp=[()=>G,()=>q_,`candidate`,`RTCPeerConnectionIceEvent`,`Pn!Pn",J4#9Mw$y`],hp=[()=>G,()=>J_,`receiver`,()=>Kd,()=>Ys,`streams`,()=>mc,`track`,()=>Y_,`transceiver`,`RTCTrackEvent`,`Pn!n"4#9n%o$"4&9n'4(9n)4*9Mw+y`],gp=[()=>G,()=>X_,`error`,`message`,`SpeechRecognitionErrorEvent`,`Pn!n"4#9&4$9Mw%y`],_p=[()=>G,`resultIndex`,()=>Z_,`results`,`SpeechRecognitionEvent`,`Pn!'4"9n#4$9Mw%y`],vp=[()=>yp,()=>Q_,`error`,`SpeechSynthesisErrorEvent`,`Pn!n"4#9Mw$y`],yp=[()=>G,`charIndex`,`charLength`,`elapsedTime`,`name`,()=>$_,`utterance`,`SpeechSynthesisEvent`,`Pn!'4"9'4#9'4$9&4%9n&4'9Mw(y`],bp=[()=>G,`key`,`newValue`,`oldValue`,()=>ev,`storageArea`,`url`,`type`,`bubbles`,`cancelable`,()=>Mp,()=>ev,`initStorageEvent`,`StorageEvent`,`Pn!P&,J4"9P&,J4#9P&,J4$9Pn%,J4&9&4'9P&2()2)8)2*8P&,J2"8P&,J2$8P&,J2#8P&n+J2'8Pn,,J2&8$1-Mw.y`],xp=[()=>G,()=>tv,`previousPriority`,`TaskPriorityChangeEvent`,`Pn!n"4#9Mw$y`],Sp=[()=>Ol,`data`,`type`,`bubbles`,`cancelable`,()=>sg,`view`,`initTextEvent`,`TextEvent`,`Pn!&4"9P&2#)2$8)2%8Pn&,J2'8&2"8$1(Mw)y`],Cp=[()=>G,()=>nv,`track`,`TrackEvent`,`Pn!Pn",J4#9Mw$y`],wp=[()=>G,`statusMessage`,`WebGLContextEvent`,`Pn!&4"9Mw#y`],Tp=[()=>K,`node`,``,()=>K,`acceptNode`,`NodeFilter`,`PPn!2"'/#PPn$2"'1%MJw&y`],Ep=[()=>Tp,`filter`,`pointerBeforeReferenceNode`,()=>K,`referenceNode`,()=>K,`root`,`whatToShow`,`detach`,()=>K,`nextNode`,()=>K,`previousNode`,`NodeIterator`,`PPn!,J4"9)4#9n$4%9n&4'9'4(9P$1)PPn*,J1+PPn,,J1-Mw.y`],Dp=[()=>T_,()=>rv,`target`,`ProcessingInstruction`,`Pn!n"&4#9Mw$y`],Op=[()=>T_,()=>rl,`wholeText`,`offset`,0,`splitText`,`Text`,`Pn!n"&4#9P'2$n%1&Mw'y`],kp=[()=>K,`currentNode`,()=>Tp,`filter`,()=>K,`root`,`whatToShow`,()=>K,`firstChild`,()=>K,`lastChild`,()=>K,`nextNode`,()=>K,`nextSibling`,()=>K,`parentNode`,()=>K,`previousNode`,()=>K,`previousSibling`,`TreeWalker`,`Pn!4"Pn#,J4$9n%4&9'4'9PPn(,J1)PPn*,J1+PPn,,J1-PPn.,J1/PPn0,J11PPn2,J13PPn4,J15Mw6y`],Ap=[()=>K,`anchorNode`,`anchorOffset`,`direction`,()=>K,`focusNode`,`focusOffset`,`isCollapsed`,`rangeCount`,`type`,()=>Ef,`range`,`addRange`,()=>K,`node`,`offset`,`collapse`,`collapseToEnd`,`collapseToStart`,()=>K,`allowPartialContainment`,`containsNode`,`deleteFromDocument`,`empty`,()=>K,`extend`,()=>iv,`options`,()=>lg,`getComposedRanges`,`index`,()=>Ef,`getRangeAt`,`alter`,`granularity`,`modify`,`removeAllRanges`,()=>Ef,`removeRange`,()=>K,`selectAllChildren`,()=>K,()=>K,`setBaseAndExtent`,()=>K,`setPosition`,`toString`,`Selection`,`PPn!,J4"9'4#9&4$9Pn%,J4&9'4'9)4(9'4)9&4*9Pn+2,$1-PPn.,J2/'208$11P$12P$13Pn42/)258)16P$17P$18Pn92/'208$1:Pn;2<8n=F1>P'2?n@1AP&2B8&2$8&2C8$1DP$1EPnF2,$1GPnH2/$1IPnJ2"'2#nK2&'2'$1LPPnM,J2/'208$1NP&1OMwPy`],jp=[()=>al,`customElementRegistry`,`selfOnly`,`ImportNodeOptions`,`Pn!4"8)4#8Mw$y`],Mp=[`hash`,`host`,`hostname`,`href`,`toString`,`origin`,`password`,`pathname`,`port`,`protocol`,`search`,()=>av,`searchParams`,`username`,`toJSON`,`URL`,`P&4!&4"&4#&4$P&1%&4&9&4'&4(&4)&4*&4+n,4-9&4.P&1/Mw0y`],Np=[``,`ViewTransitionUpdateCallback`,`PP"v!Mw"y`],Pp=[`types`,()=>Np,`update`,`StartViewTransitionOptions`,`PP&F,J4!8Pn",J4#8Mw$y`],Fp=[()=>Jc,()=>G,`DOMContentLoaded`,()=>G,`fullscreenchange`,()=>G,`fullscreenerror`,()=>G,`pointerlockchange`,()=>G,`pointerlockerror`,()=>G,`readystatechange`,()=>G,`visibilitychange`,`DocumentEventMap`,`Pn!n"4#n$4%n&4'n(4)n*4+n,4-n.4/Mw0y`],Ip=[`closed`,`open`,`ShadowRootMode`,`P.!."Jw#y`],Lp=[`manual`,`named`,`SlotAssignmentMode`,`P.!."Jw#y`],Rp=[()=>G,`slotchange`,`ShadowRootEventMap`,`Pn!4"Mw#y`],zp=[()=>ov,`type`,0,`this`,()=>sv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>sv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAudioElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Bp=[()=>R,`href`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBaseElement`,`Pn!&4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Vp=[()=>R,`cite`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLQuoteElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Hp=[()=>R,()=>g_,`aLink`,`background`,`bgColor`,`link`,`text`,`vLink`,`type`,0,`this`,()=>cv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>cv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBodyElement`,`Pn!n"&4#&4$&4%&4&&4'&4(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],Up=[()=>R,`clear`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBRElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Wp=[()=>R,()=>lv,`command`,()=>U,`commandForElement`,`disabled`,()=>Jl,`form`,`formAction`,`formEnctype`,`formMethod`,`formNoValidate`,`formTarget`,()=>Wd,()=>om,`labels`,`name`,`submit`,`reset`,`button`,`type`,`validationMessage`,()=>Zl,`validity`,`value`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLButtonElement`,`Pn!n"&4#Pn$,J4%)4&Pn',J4(9&4)&4*&4+)4,&4-n/o."409&41P.2.3.4J45&469n7489&49)4:9P)1;P)1<P&2=$1>P"25Pn?2@nA"f2B"/C2DP)nEJ2F8$1GP&25nH2DP)nIJ2F8$1GP"25PnJ2@nK"f2B"/C2DP)nLJ2F8$1MP&25nN2DP)nOJ2F8$1MMwPy`],Gp=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableCaptionElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Kp=[()=>R,`align`,`ch`,`chOff`,`span`,`vAlign`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableColElement`,`Pn!&4"&4#&4$'4%&4&&4'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],qp=[()=>R,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDataElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Jp=[()=>R,()=>_l,()=>_m,`options`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDataListElement`,`Pn!n#o""4$9P"2%Pn&2'n("f2)"/*2+P)n,J2$8$1-P&2%n.2+P)n/J2$8$1-P"2%Pn02'n1"f2)"/*2+P)n2J2$8$13P&2%n42+P)n5J2$8$13Mw6y`],Yp=[()=>R,`cite`,`dateTime`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLModElement`,`Pn!&4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Xp=[()=>R,`name`,`open`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDetailsElement`,`Pn!&4")4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Zp=[()=>R,`closedBy`,`open`,`returnValue`,`close`,`requestClose`,`show`,`showModal`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDialogElement`,`Pn!&4")4#&4$P&2$8$1%P&2$8$1&P$1'P$1(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],Qp=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDivElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],$p=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDListElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],em=[()=>R,`disabled`,()=>Qd,`elements`,()=>Jl,`form`,`name`,`type`,`validationMessage`,()=>Zl,`validity`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFieldSetElement`,`Pn!)4"n#4$9Pn%,J4&9&4'&4(9&4)9n*4+9)4,9P)1-P)1.P&2/$10P"2(Pn122n3"f24"/526P)n7J288$19P&2(n:26P)n;J288$19P"2(Pn<22n="f24"/526P)n>J288$1?P&2(n@26P)nAJ288$1?MwBy`],tm=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHeadingElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],nm=[()=>R,`align`,`color`,`noShade`,`size`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHRElement`,`Pn!&4"&4#)4$&4%&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],rm=[()=>R,`version`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHtmlElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],im=[()=>R,`align`,`allow`,`allowFullscreen`,()=>ol,`contentDocument`,()=>df,`contentWindow`,`frameBorder`,`height`,`eager`,`lazy`,`loading`,`longDesc`,`marginHeight`,`marginWidth`,`name`,()=>uv,`referrerPolicy`,`scrolling`,`src`,`srcdoc`,`width`,()=>ol,`getSVGDocument`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLIFrameElement`,`Pn!&4"&4#)4$Pn%,J4&9Pn',J4(9&4)&4*P.+.,J4-&4.&4/&40&41n243!!&44&45&46&47PPn8,J19P"2:Pn;2<n="f2>"/?2@P)nAJ2B8$1CP&2:nD2@P)nEJ2B8$1CP"2:PnF2<nG"f2>"/?2@P)nHJ2B8$1IP&2:nJ2@P)nKJ2B8$1IMwLy`],am=[()=>R,()=>lv,`accept`,`align`,`alt`,()=>dv,`autocomplete`,`capture`,`checked`,`defaultChecked`,`defaultValue`,`dirName`,`disabled`,()=>fv,`files`,()=>Jl,`form`,`formAction`,`formEnctype`,`formMethod`,`formNoValidate`,`formTarget`,`height`,`indeterminate`,()=>Wd,()=>om,`labels`,()=>Jp,`list`,`max`,`maxLength`,`min`,`minLength`,`multiple`,`name`,`pattern`,`placeholder`,`readOnly`,`required`,()=>pv,`selectionDirection`,`selectionEnd`,`selectionStart`,`size`,`src`,`step`,`type`,`useMap`,`validationMessage`,()=>Zl,`validity`,`value`,`valueAsDate`,`valueAsNumber`,()=>Kd,()=>mv,`webkitEntries`,`webkitdirectory`,`width`,`willValidate`,`checkValidity`,`reportValidity`,`select`,`error`,`setCustomValidity`,`replacement`,`setRangeText`,`start`,`end`,()=>hv,`selectionMode`,()=>pv,`direction`,`setSelectionRange`,`showPicker`,`n`,`stepDown`,`stepUp`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLInputElement`,`Pn!n"&4#&4$&4%n&4'&4()4))4*&4+&4,)4-Pn.,J4/Pn0,J419&42&43&44)45&46'47)48Pn:o9",J4;9Pn<,J4=9&4>'4?&4@'4A)4B&4C&4D&4E)4F)4GPnH,J4IP',J4JP',J4K'4L&4M&4N&4O&4P&4Q9nR4S9&4TPT,J4U'4VnXoW"4Y9)4Z'4[)4\\9P)1]P)1^P$1_P&2\`$1aP&2b$1cP&2b'2d'2enf2g8$1cPP',J2dP',J2enh2i8$1jP$1kP'2l8$1mP'2l8$1nP"2OPno2pnq"f2r"/s2tP)nuJ2v8$1wP&2Onx2tP)nyJ2v8$1wP"2OPnz2pn{"f2r"/s2tP)n|J2v8$1}P&2On~2tP)nJ2v8$1}Mwy`],om=[()=>R,()=>R,`control`,()=>Jl,`form`,`htmlFor`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLabelElement`,`Pn!Pn",J4#9Pn$,J4%9&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],sm=[()=>R,`align`,()=>Jl,`form`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLegendElement`,`Pn!&4"Pn#,J4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],cm=[()=>R,`type`,`value`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLIElement`,`Pn!&4"'4#P"2"Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2"n-2)P)n.J2+8$1,P"2"Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2"n32)P)n4J2+8$12Mw5y`],lm=[()=>R,()=>rv,`as`,`charset`,`crossOrigin`,`disabled`,`high`,`low`,`auto`,`fetchPriority`,`href`,`hreflang`,`imageSizes`,`imageSrcset`,`integrity`,`media`,`referrerPolicy`,`rel`,`rev`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLinkElement`,`Pn!n"&4#!!&4$P&,J4%)4&P.'.(.)J4*&4+&4,&4-&4.&4/&40&41&42!!&43!!&44&45P"25Pn627n8"f29"/:2;P)n<J2=8$1>P&25n?2;P)n@J2=8$1>P"25PnA27nB"f29"/:2;P)nCJ2=8$1DP&25nE2;P)nFJ2=8$1DMwGy`],um=[()=>R,()=>Qd,`areas`,`name`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMapElement`,`Pn!n"4#9&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],dm=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMenuElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],fm=[()=>R,`content`,`httpEquiv`,`media`,`name`,`scheme`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMetaElement`,`Pn!&4"&4#&4$&4%&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],pm=[()=>R,`high`,()=>Wd,()=>om,`labels`,`low`,`max`,`min`,`optimum`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMeterElement`,`Pn!'4"n$o#"4%9'4&'4''4('4)'4*P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],mm=[()=>R,`align`,`archive`,`border`,`code`,`codeBase`,`codeType`,()=>ol,`contentDocument`,()=>df,`contentWindow`,`data`,`declare`,()=>Jl,`form`,`height`,`hspace`,`name`,`standby`,`type`,`useMap`,`validationMessage`,()=>Zl,`validity`,`vspace`,`width`,`willValidate`,`checkValidity`,()=>ol,`getSVGDocument`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLObjectElement`,`Pn!&4"&4#&4$&4%&4&&4'Pn(,J4)9Pn*,J4+9&4,)4-Pn.,J4/9&40'41&42&43&44&45&469n7489'49&4:)4;9P)1<PPn=,J1>P)1?P&2@$1AP"24PnB2CnD"f2E"/F2GP)nHJ2I8$1JP&24nK2GP)nLJ2I8$1JP"24PnM2CnN"f2E"/F2GP)nOJ2I8$1PP&24nQ2GP)nRJ2I8$1PMwSy`],hm=[()=>R,`compact`,`reversed`,`start`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOListElement`,`Pn!)4")4#'4$&4%P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],gm=[()=>R,`disabled`,`label`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOptGroupElement`,`Pn!)4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],_m=[()=>R,`defaultSelected`,`disabled`,()=>Jl,`form`,`index`,`label`,`selected`,`text`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOptionElement`,`Pn!)4")4#Pn$,J4%9'4&9&4')4(&4)&4*P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],vm=[()=>R,`defaultValue`,()=>Jl,`form`,()=>Wd,()=>om,`labels`,`name`,`type`,`validationMessage`,()=>Zl,`validity`,`value`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOutputElement`,`Pn!&4"Pn#,J4$9!!n&o%"4'9&4(&4)9&4*9n+4,9&4-)4.9P)1/P)10P&21$12P"2)Pn324n5"f26"/728P)n9J2:8$1;P&2)n<28P)n=J2:8$1;P"2)Pn>24n?"f26"/728P)n@J2:8$1AP&2)nB28P)nCJ2:8$1AMwDy`],ym=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLParagraphElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],bm=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLPictureElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],xm=[()=>R,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLPreElement`,`Pn!'4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Sm=[()=>R,()=>Wd,()=>om,`labels`,`max`,`position`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLProgressElement`,`Pn!n#o""4$9'4%'4&9'4'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Cm=[()=>R,()=>dv,`autocomplete`,`disabled`,()=>Jl,`form`,()=>Wd,()=>om,`labels`,`length`,`multiple`,`name`,()=>gv,`options`,`required`,`selectedIndex`,()=>_l,()=>_m,`selectedOptions`,`size`,`select-one`,`select-multiple`,`type`,`validationMessage`,()=>Zl,`validity`,`value`,`willValidate`,()=>_m,()=>gm,`element`,()=>R,`before`,`add`,`checkValidity`,`index`,()=>_m,`item`,()=>_m,`namedItem`,`remove`,`reportValidity`,`error`,`setCustomValidity`,`showPicker`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,()=>_m,()=>gm,`HTMLSelectElement`,`Pn!n"4#)4$Pn%,J4&9n(o'"4)9'4*)4+&4,n-4.9)4/'40n2o1"439'44P.5.6J479&489n94:9&4;)4<9PPn=n>J2?Pn@',J2A8$1BP)1CP'2DPnE,J1FP&2,PnG,J1HP$1IP'2D$1IP)1JP&2K$1LP$1MP"27PnN2OnP"f2Q"/R2SP)nTJ2.8$1UP&27nV2SP)nWJ2.8$1UP"27PnX2OnY"f2Q"/R2SP)nZJ2.8$1[P&27n\\2SP)n]J2.8$1['Pn^n_JLMw\`y`],wm=[()=>R,`height`,`media`,`sizes`,`src`,`srcset`,`type`,`width`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSourceElement`,`Pn!'4"&4#&4$&4%&4&&4''4(P"2'Pn)2*n+"f2,"/-2.P)n/J208$11P&2'n22.P)n3J208$11P"2'Pn42*n5"f2,"/-2.P)n6J208$17P&2'n82.P)n9J208$17Mw:y`],Tm=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSpanElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Em=[()=>R,()=>rv,`disabled`,`media`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLStyleElement`,`Pn!n"!!)4#&4$&4%P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],Dm=[()=>R,`align`,`bgColor`,`border`,()=>Gp,`caption`,`cellPadding`,`cellSpacing`,`frame`,()=>_l,()=>Pm,`rows`,`rules`,`summary`,()=>_l,()=>Om,`tBodies`,()=>Om,`tFoot`,()=>Om,`tHead`,`width`,()=>Gp,`createCaption`,()=>Om,`createTBody`,()=>Om,`createTFoot`,()=>Om,`createTHead`,`deleteCaption`,`index`,`deleteRow`,`deleteTFoot`,`deleteTHead`,()=>Pm,`insertRow`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableElement`,`Pn!&4"&4#&4$Pn%,J4&&4'&4(&4)n+o*"4,9&4-&4.n0o/"419Pn2,J43Pn4,J45&46Pn718Pn91:Pn;1<Pn=1>P$1?P'2@$1AP$1BP$1CP'2@8nD1EP"2FPnG2HnI"f2J"/K2LP)nMJ2N8$1OP&2FnP2LP)nQJ2N8$1OP"2FPnR2HnS"f2J"/K2LP)nTJ2N8$1UP&2FnV2LP)nWJ2N8$1UMwXy`],Om=[()=>R,`align`,`ch`,`chOff`,()=>_l,()=>Pm,`rows`,`vAlign`,`index`,`deleteRow`,()=>Pm,`insertRow`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableSectionElement`,`Pn!&4"&4#&4$n&o%"4'9&4(P'2)$1*P'2)8n+1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],km=[()=>R,`abbr`,`align`,`axis`,`bgColor`,`cellIndex`,`ch`,`chOff`,`colSpan`,`headers`,`height`,`noWrap`,`rowSpan`,`scope`,`vAlign`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableCellElement`,`Pn!&4"&4#&4$&4%'4&9&4'&4('4)&4*&4+)4,'4-&4.&4/&40P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],Am=[()=>R,()=>kf,`content`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootMode`,`shadowRootSerializable`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTemplateElement`,`Pn!n"4#9)4$&4%)4&&4')4(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],jm=[()=>R,()=>dv,`autocomplete`,`cols`,`defaultValue`,`dirName`,`disabled`,()=>Jl,`form`,()=>Wd,()=>om,`labels`,`maxLength`,`minLength`,`name`,`placeholder`,`readOnly`,`required`,`rows`,()=>pv,`selectionDirection`,`selectionEnd`,`selectionStart`,`textLength`,`type`,`validationMessage`,()=>Zl,`validity`,`value`,`willValidate`,`wrap`,`checkValidity`,`reportValidity`,`select`,`error`,`setCustomValidity`,`replacement`,`setRangeText`,`start`,`end`,()=>hv,`selectionMode`,()=>pv,`direction`,`setSelectionRange`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTextAreaElement`,`Pn!n"4#'4$&4%&4&)4'Pn(,J4)9n+o*"4,9'4-'4.&4/&40)41)42'43n445'46'47'489&499&4:9n;4<9&4=)4>9&4?P)1@P)1AP$1BP&2C$1DP&2E$1FP&2E'2G'2HnI2J8$1FPP',J2GP',J2HnK2L8$1MP"29PnN2OnP"f2Q"/R2SP)nTJ2U8$1VP&29nW2SP)nXJ2U8$1VP"29PnY2OnZ"f2Q"/R2SP)n[J2U8$1\\P&29n]2SP)n^J2U8$1\\Mw_y`],Mm=[()=>R,`dateTime`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTimeElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Nm=[()=>R,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTitleElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Pm=[()=>R,`align`,`bgColor`,()=>_l,()=>km,`cells`,`ch`,`chOff`,`rowIndex`,`sectionRowIndex`,`vAlign`,`index`,`deleteCell`,()=>km,`insertCell`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableRowElement`,`Pn!&4"&4#n%o$"4&9&4'&4('4)9'4*9&4+P'2,$1-P'2,8n.1/P"20Pn122n3"f24"/526P)n7J288$19P&20n:26P)n;J288$19P"20Pn<22n="f24"/526P)n>J288$1?P&20n@26P)nAJ288$1?MwBy`],Fm=[()=>R,`default`,`kind`,`label`,`readyState`,`src`,`srclang`,()=>nv,`track`,0,`NONE`,1,`LOADING`,2,`LOADED`,3,`ERROR`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTrackElement`,`Pn!)4"&4#&4$'4%9&4&&4'n(4)9.*4+9.,4-9..4/9.0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],Im=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLUListElement`,`Pn!)4"&4#P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Lm=[()=>ov,`disablePictureInPicture`,`height`,0,`this`,()=>sp,`ev`,``,`onenterpictureinpicture`,0,()=>sp,`onleavepictureinpicture`,`playsInline`,`poster`,`videoHeight`,`videoWidth`,`width`,`handle`,`cancelVideoFrameCallback`,()=>_v,`getVideoPlaybackQuality`,()=>W_,`requestPictureInPicture`,()=>vv,`callback`,`requestVideoFrameCallback`,`type`,0,()=>yv,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>yv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLVideoElement`,`Pn!)4"'4#PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,)4-&4.'4/9'409'41P'22$13Pn415Pn6\`17Pn829'1:P"2;Pn<2%n="f2'"/(2>P)n?J2@8$1AP&2;nB2>P)nCJ2@8$1AP"2;PnD2%nE"f2'"/(2>P)nFJ2@8$1GP&2;nH2>P)nIJ2@8$1GMwJy`],Rm=[()=>m_,()=>bv,`download`,`hreflang`,`ping`,`referrerPolicy`,`rel`,()=>xv,`target`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAElement`,`Pn!n"&4#&4$&4%&4&&4'!!n(4)9&4*P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],zm=[()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Bm=[()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateMotionElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Vm=[()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateTransformElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Hm=[()=>Cv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`r`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGCircleElement`,`Pn!n"4#9n$4%9n&4'9P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Um=[()=>yl,()=>wv,`clipPathUnits`,()=>Tv,`transform`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGClipPathElement`,`Pn!n"4#9n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],Wm=[()=>m_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGDefsElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Gm=[()=>yl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGDescElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Km=[()=>Cv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`rx`,()=>Q,`ry`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGEllipseElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],qm=[()=>yl,()=>Ev,()=>xv,`in1`,()=>xv,`in2`,()=>wv,`mode`,0,`SVG_FEBLEND_MODE_UNKNOWN`,1,`SVG_FEBLEND_MODE_NORMAL`,2,`SVG_FEBLEND_MODE_MULTIPLY`,3,`SVG_FEBLEND_MODE_SCREEN`,4,`SVG_FEBLEND_MODE_DARKEN`,5,`SVG_FEBLEND_MODE_LIGHTEN`,6,`SVG_FEBLEND_MODE_OVERLAY`,7,`SVG_FEBLEND_MODE_COLOR_DODGE`,8,`SVG_FEBLEND_MODE_COLOR_BURN`,9,`SVG_FEBLEND_MODE_HARD_LIGHT`,10,`SVG_FEBLEND_MODE_SOFT_LIGHT`,11,`SVG_FEBLEND_MODE_DIFFERENCE`,12,`SVG_FEBLEND_MODE_EXCLUSION`,13,`SVG_FEBLEND_MODE_HUE`,14,`SVG_FEBLEND_MODE_SATURATION`,15,`SVG_FEBLEND_MODE_COLOR`,16,`SVG_FEBLEND_MODE_LUMINOSITY`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEBlendElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9.C4D9.E4F9.G4H9.I4J9P"2KPnL2MnN"f2O"/P2QP)nRJ2S8$1TP&2KnU2QP)nVJ2S8$1TP"2KPnW2MnX"f2O"/P2QP)nYJ2S8$1ZP&2Kn[2QP)n\\J2S8$1ZMw]y`],Jm=[()=>yl,()=>Ev,()=>xv,`in1`,()=>wv,`type`,()=>Dv,`values`,0,`SVG_FECOLORMATRIX_TYPE_UNKNOWN`,1,`SVG_FECOLORMATRIX_TYPE_MATRIX`,2,`SVG_FECOLORMATRIX_TYPE_SATURATE`,3,`SVG_FECOLORMATRIX_TYPE_HUEROTATE`,4,`SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEColorMatrixElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429P"2&Pn324n5"f26"/728P)n9J2:8$1;P&2&n<28P)n=J2:8$1;P"2&Pn>24n?"f26"/728P)n@J2:8$1AP&2&nB28P)nCJ2:8$1AMwDy`],Ym=[()=>yl,()=>Ev,()=>xv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEComponentTransferElement`,`Pn!n"n#4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],Xm=[()=>yl,()=>Ev,()=>xv,`in1`,()=>xv,`in2`,()=>$,`k1`,()=>$,`k2`,()=>$,`k3`,()=>$,`k4`,()=>wv,`operator`,0,`SVG_FECOMPOSITE_OPERATOR_UNKNOWN`,1,`SVG_FECOMPOSITE_OPERATOR_OVER`,2,`SVG_FECOMPOSITE_OPERATOR_IN`,3,`SVG_FECOMPOSITE_OPERATOR_OUT`,4,`SVG_FECOMPOSITE_OPERATOR_ATOP`,5,`SVG_FECOMPOSITE_OPERATOR_XOR`,6,`SVG_FECOMPOSITE_OPERATOR_ARITHMETIC`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFECompositeElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409.1429.3449.5469.7489.94:9.;4<9.=4>9P"2?Pn@2AnB"f2C"/D2EP)nFJ2G8$1HP&2?nI2EP)nJJ2G8$1HP"2?PnK2AnL"f2C"/D2EP)nMJ2G8$1NP&2?nO2EP)nPJ2G8$1NMwQy`],Zm=[()=>yl,()=>Ev,()=>$,`bias`,()=>$,`divisor`,()=>wv,`edgeMode`,()=>xv,`in1`,()=>Dv,`kernelMatrix`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>Ov,`orderX`,()=>Ov,`orderY`,()=>kv,`preserveAlpha`,()=>Ov,`targetX`,()=>Ov,`targetY`,0,`SVG_EDGEMODE_UNKNOWN`,1,`SVG_EDGEMODE_DUPLICATE`,2,`SVG_EDGEMODE_WRAP`,3,`SVG_EDGEMODE_NONE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEConvolveMatrixElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409n1429n3449n5469n7489n94:9.;4<9.=4>9.?4@9.A4B9P"2CPnD2EnF"f2G"/H2IP)nJJ2K8$1LP&2CnM2IP)nNJ2K8$1LP"2CPnO2EnP"f2G"/H2IP)nQJ2K8$1RP&2CnS2IP)nTJ2K8$1RMwUy`],Qm=[()=>yl,()=>Ev,()=>$,`diffuseConstant`,()=>xv,`in1`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>$,`surfaceScale`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDiffuseLightingElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],$m=[()=>yl,()=>Ev,()=>xv,`in1`,()=>xv,`in2`,()=>$,`scale`,()=>wv,`xChannelSelector`,()=>wv,`yChannelSelector`,0,`SVG_CHANNEL_UNKNOWN`,1,`SVG_CHANNEL_R`,2,`SVG_CHANNEL_G`,3,`SVG_CHANNEL_B`,4,`SVG_CHANNEL_A`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDisplacementMapElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9.-4.9./409.1429.3449.5469P"27Pn829n:"f2;"/<2=P)n>J2?8$1@P&27nA2=P)nBJ2?8$1@P"27PnC29nD"f2;"/<2=P)nEJ2?8$1FP&27nG2=P)nHJ2?8$1FMwIy`],eh=[()=>yl,()=>$,`azimuth`,()=>$,`elevation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDistantLightElement`,`Pn!n"4#9n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],th=[()=>yl,()=>Ev,()=>$,`dx`,()=>$,`dy`,()=>xv,`in1`,()=>$,`stdDeviationX`,()=>$,`stdDeviationY`,`setStdDeviation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDropShadowElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9P'2*'2,$1-P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],nh=[()=>yl,()=>Ev,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFloodElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],rh=[()=>Av,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncAElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],ih=[()=>Av,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncBElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],ah=[()=>Av,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncGElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],oh=[()=>Av,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncRElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],sh=[()=>yl,()=>Ev,()=>xv,`in1`,()=>$,`stdDeviationX`,()=>$,`stdDeviationY`,`setStdDeviation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEGaussianBlurElement`,`Pn!n"n#4$9n%4&9n'4(9P'2&'2($1)P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],ch=[()=>yl,()=>Ev,()=>bv,()=>jv,`preserveAspectRatio`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEImageElement`,`Pn!n"n#n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],lh=[()=>yl,()=>Ev,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMergeElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],uh=[()=>yl,()=>xv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMergeNodeElement`,`Pn!n"4#9P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],dh=[()=>yl,()=>Ev,()=>xv,`in1`,()=>wv,`operator`,()=>$,`radiusX`,()=>$,`radiusY`,0,`SVG_MORPHOLOGY_OPERATOR_UNKNOWN`,1,`SVG_MORPHOLOGY_OPERATOR_ERODE`,2,`SVG_MORPHOLOGY_OPERATOR_DILATE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMorphologyElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9.+4,9.-4.9./409P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],fh=[()=>yl,()=>Ev,()=>$,`dx`,()=>$,`dy`,()=>xv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEOffsetElement`,`Pn!n"n#4$9n%4&9n'4(9P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],ph=[()=>yl,()=>$,`x`,()=>$,`y`,()=>$,`z`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEPointLightElement`,`Pn!n"4#9n$4%9n&4'9P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],mh=[()=>yl,()=>Ev,()=>xv,`in1`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>$,`specularConstant`,()=>$,`specularExponent`,()=>$,`surfaceScale`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFESpecularLightingElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],hh=[()=>yl,()=>$,`limitingConeAngle`,()=>$,`pointsAtX`,()=>$,`pointsAtY`,()=>$,`pointsAtZ`,()=>$,`specularExponent`,()=>$,`x`,()=>$,`y`,()=>$,`z`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFESpotLightElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],gh=[()=>yl,()=>Ev,()=>xv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFETileElement`,`Pn!n"n#4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],vh=[()=>yl,()=>Ev,()=>$,`baseFrequencyX`,()=>$,`baseFrequencyY`,()=>Ov,`numOctaves`,()=>$,`seed`,()=>wv,`stitchTiles`,()=>wv,`type`,0,`SVG_TURBULENCE_TYPE_UNKNOWN`,1,`SVG_TURBULENCE_TYPE_FRACTALNOISE`,2,`SVG_TURBULENCE_TYPE_TURBULENCE`,0,`SVG_STITCHTYPE_UNKNOWN`,1,`SVG_STITCHTYPE_STITCH`,2,`SVG_STITCHTYPE_NOSTITCH`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFETurbulenceElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9./409.1429.3449.5469.7489.94:9P"2.Pn;2<n="f2>"/?2@P)nAJ2B8$1CP&2.nD2@P)nEJ2B8$1CP"2.PnF2<nG"f2>"/?2@P)nHJ2B8$1IP&2.nJ2@P)nKJ2B8$1IMwLy`],yh=[()=>yl,()=>bv,()=>wv,`filterUnits`,()=>Q,`height`,()=>wv,`primitiveUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFilterElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],bh=[()=>m_,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGForeignObjectElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],xh=[()=>m_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Sh=[()=>m_,()=>bv,`crossOrigin`,()=>Q,`height`,()=>jv,`preserveAspectRatio`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGImageElement`,`Pn!n"P&,J4#n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Ch=[()=>Cv,()=>Q,`x1`,()=>Q,`x2`,()=>Q,`y1`,()=>Q,`y2`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGLineElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],wh=[()=>Mv,()=>Q,`x1`,()=>Q,`x2`,()=>Q,`y1`,()=>Q,`y2`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGLinearGradientElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Th=[()=>yl,()=>h_,()=>Q,`markerHeight`,()=>wv,`markerUnits`,()=>Q,`markerWidth`,()=>Nv,`orientAngle`,()=>wv,`orientType`,()=>Q,`refX`,()=>Q,`refY`,()=>v_,`angle`,`setOrientToAngle`,`setOrientToAuto`,0,`SVG_MARKERUNITS_UNKNOWN`,1,`SVG_MARKERUNITS_USERSPACEONUSE`,2,`SVG_MARKERUNITS_STROKEWIDTH`,0,`SVG_MARKER_ORIENT_UNKNOWN`,1,`SVG_MARKER_ORIENT_AUTO`,2,`SVG_MARKER_ORIENT_ANGLE`,3,`SVG_MARKER_ORIENT_AUTO_START_REVERSE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMarkerElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409Pn122$13P$14.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9P"2CPnD2EnF"f2G"/H2IP)nJJ2K8$1LP&2CnM2IP)nNJ2K8$1LP"2CPnO2EnP"f2G"/H2IP)nQJ2K8$1RP&2CnS2IP)nTJ2K8$1RMwUy`],Eh=[()=>yl,()=>Q,`height`,()=>wv,`maskContentUnits`,()=>wv,`maskUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMaskElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Dh=[()=>yl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMetadataElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Oh=[()=>yl,()=>bv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMPathElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],kh=[()=>Cv,()=>$,`pathLength`,`distance`,()=>x_,`getPointAtLength`,`getTotalLength`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPathElement`,`Pn!n"4#9P'2$n%1&P'1'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Ah=[()=>yl,()=>h_,()=>bv,()=>Q,`height`,()=>wv,`patternContentUnits`,()=>Tv,`patternTransform`,()=>wv,`patternUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPatternElement`,`Pn!n"n#n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],jh=[()=>Cv,()=>Pv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPolygonElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Mh=[()=>Cv,()=>Pv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPolylineElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Nh=[()=>Mv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`fr`,()=>Q,`fx`,()=>Q,`fy`,()=>Q,`r`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGRadialGradientElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Ph=[()=>Cv,()=>Q,`height`,()=>Q,`rx`,()=>Q,`ry`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGRectElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Fh=[()=>yl,()=>bv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGScriptElement`,`Pn!n"&4#P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Ih=[()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSetElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Lh=[()=>yl,()=>$,`offset`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGStopElement`,`Pn!n"4#9P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Rh=[()=>yl,()=>rv,`disabled`,`media`,`title`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGStyleElement`,`Pn!n")4#&4$&4%&4&P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],zh=[()=>m_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSwitchElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Bh=[()=>yl,()=>h_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSymbolElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Vh=[()=>Fv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Hh=[()=>Iv,()=>bv,()=>wv,`method`,()=>wv,`spacing`,()=>Q,`startOffset`,0,`TEXTPATH_METHODTYPE_UNKNOWN`,1,`TEXTPATH_METHODTYPE_ALIGN`,2,`TEXTPATH_METHODTYPE_STRETCH`,0,`TEXTPATH_SPACINGTYPE_UNKNOWN`,1,`TEXTPATH_SPACINGTYPE_AUTO`,2,`TEXTPATH_SPACINGTYPE_EXACT`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextPathElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429.3449P"25Pn627n8"f29"/:2;P)n<J2=8$1>P&25n?2;P)n@J2=8$1>P"25PnA27nB"f29"/:2;P)nCJ2=8$1DP&25nE2;P)nFJ2=8$1DMwGy`],Uh=[()=>yl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTitleElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Wh=[()=>Fv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTSpanElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Gh=[()=>m_,()=>bv,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGUseElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],Kh=[()=>yl,()=>h_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGViewElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],qh=[`toString`,`CSSStyleValue`,`PP&1!Mw"y`],Jh=[`bottom`,`height`,`left`,`right`,`top`,`width`,`x`,`y`,`toJSON`,`DOMRectReadOnly`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9P"1)Mw*y`],Yh=[`length`,`index`,()=>U,`item`,()=>U,`HTMLCollectionBase`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],Xh=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLUnknownElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Zh=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDirectoryElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Qh=[()=>R,`color`,`face`,`size`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFontElement`,`Pn!&4"&4#&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],$h=[()=>R,()=>ol,`contentDocument`,()=>df,`contentWindow`,`frameBorder`,`longDesc`,`marginHeight`,`marginWidth`,`name`,`noResize`,`scrolling`,`src`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFrameElement`,`Pn!Pn",J4#9Pn$,J4%9&4&&4'&4(&4)&4*)4+&4,&4-P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],eg=[()=>R,()=>g_,`cols`,`rows`,`type`,0,`this`,()=>Lv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Lv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFrameSetElement`,`Pn!n"&4#&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],tg=[()=>R,`behavior`,`bgColor`,`direction`,`height`,`hspace`,`loop`,`scrollAmount`,`scrollDelay`,`trueSpeed`,`vspace`,`width`,`start`,`stop`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMarqueeElement`,`Pn!&4"&4#&4$&4%'4&'4''4('4))4*'4+&4,P$1-P$1.P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],ng=[()=>R,`name`,`type`,`value`,`valueType`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLParamElement`,`Pn!&4"&4#&4$&4%P"2#Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2#n/2+P)n0J2-8$1.P"2#Pn12'n2"f2)"/*2+P)n3J2-8$14P&2#n52+P)n6J2-8$14Mw7y`],Z=[()=>qc,()=>Jc,`SVGElementEventMap`,`Pn!n"Mw#y`],rg=[()=>qc,()=>Jc,`MathMLElementEventMap`,`Pn!n"Mw#y`],ig=[`auto`,`hide`,`show`,`FullscreenNavigationUI`,`P.!.".#Jw$y`],ag=[()=>Rv,`behavior`,`ScrollOptions`,`Pn!4"8Mw#y`],og=[`center`,`end`,`nearest`,`start`,`ScrollLogicalPosition`,`P.!.".#.$Jw%y`],sg=[()=>W,()=>zv,()=>cc,()=>g_,()=>Bv,()=>Vv,()=>Hv,()=>Uv,`clientInformation`,`closed`,()=>Wv,`cookieStore`,()=>al,`customElements`,`devicePixelRatio`,()=>ol,`document`,()=>G,`event`,()=>Gv,`external`,()=>U,`frameElement`,()=>df,`frames`,()=>Kv,`history`,`innerHeight`,`innerWidth`,`length`,()=>qv,`locationbar`,()=>qv,`menubar`,`name`,()=>Jv,`navigation`,()=>Uv,`navigator`,0,`this`,()=>Bf,`ev`,``,`ondevicemotion`,0,()=>Vf,`ondeviceorientation`,0,()=>Vf,`ondeviceorientationabsolute`,0,()=>G,`onorientationchange`,`opener`,`orientation`,`originAgentCluster`,`outerHeight`,`outerWidth`,`pageXOffset`,`pageYOffset`,()=>df,`parent`,()=>qv,`personalbar`,()=>Yv,`screen`,`screenLeft`,`screenTop`,`screenX`,`screenY`,`scrollX`,`scrollY`,()=>qv,`scrollbars`,0,()=>globalThis,`self`,()=>Xv,`speechSynthesis`,`status`,()=>qv,`statusbar`,()=>qv,`toolbar`,()=>df,`top`,()=>Zv,`visualViewport`,0,()=>globalThis,`window`,`message`,`alert`,`blur`,`handle`,`cancelIdleCallback`,`captureEvents`,`close`,`confirm`,`focus`,()=>U,`elt`,`pseudoElt`,()=>Qv,`getComputedStyle`,()=>Ap,`getSelection`,`query`,()=>$v,`matchMedia`,`x`,`y`,`moveBy`,`moveTo`,()=>Mp,`url`,`target`,`features`,()=>df,`open`,`targetOrigin`,()=>ey,`transfer`,`postMessage`,()=>ty,`options`,`print`,`_default`,`prompt`,`releaseEvents`,()=>ny,`callback`,()=>ry,`requestIdleCallback`,`resizeBy`,`width`,`height`,`resizeTo`,()=>Tl,`scroll`,()=>Tl,`scrollBy`,()=>Tl,`scrollTo`,`stop`,`type`,0,()=>iy,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>iy,()=>H,`removeEventListener`,()=>V,()=>H,0,`Window`,`Pn!n"n#n$n%n&n'n(4)9)4*9n+4,9n-4.9'4/9n0419Pn2-J439n4459Pn6,J479n8499n:4;9'4<9'4=9'4>9!!n?4@9nA4B9&4CnD4E9nF4G9PPnH2InJ2K"/L,J4MPPnN2InO2K"/L,J4PPPnQ2InR2K"/L,J4SPPnT2InU2K"/L,J4V"4W'4X9)4Y9'4Z9'4[9'4\\9'4]9n^4_9n\`4a9nb4c9'4d9'4e9'4f9'4g9'4h9'4i9nj4k9PnlimK4n9no4p9&4qnr4s9nt4u9Pnv,J4w9Pnx,J4y9Pnzi{K4|9P"2}8$1~P$1P'2$1P$1P$1P&2}8)1P$1
Pn2P&,J28n1PPn,J1P&2n1P'2'2$1P'2'2$1PP&nJ28&28&28Pn,J1P"2}&2nF28$1P"2}n28$1P$1\xA0P&2}8&2¡8P&,J1¢P$1£Pn¤2¥n¦28'1§P'2'2$1¨P'2©'2ª$1«Pn¬28$1P'2'2$1Pn®28$1¯P'2'2$1¯Pn°28$1±P'2'2$1±P$1²P"2³Pn´2Inµ"f2K"/L2¶P)n·J28$1¸P&2³n¹2¶P)nºJ28$1¸P"2³Pn»2In¼"f2K"/L2¶P)n½J28$1¾P&2³n¿2¶P)nÀJ28$1¾'nÁLMwÂy`],cg=[`none`,`copy`,`link`,`move`,`dropEffect`,`none`,`copy`,`copyLink`,`copyMove`,`link`,`linkMove`,`move`,`all`,`uninitialized`,`effectAllowed`,()=>fv,`files`,()=>ay,`items`,()=>Kd,`types`,`format`,`clearData`,`getData`,`data`,`setData`,()=>U,`image`,`x`,`y`,`setDragImage`,`DataTransfer`,`PP.!.".#.$J4%P.&.'.(.).*.+.,.-..J4/n0419n2439&o4"459P&268$17P&26&18P&26&29$1:Pn;2<'2='2>$1?Mw@y`],lg=[()=>w_,`StaticRange`,`Pn!Mw"y`],ug=[()=>G,`event`,`source`,`lineno`,`colno`,()=>oy,`error`,``,`OnErrorEventHandlerNonNull`,`PPPn!&J2"&2#8'2$8'2%8n&2'8"v(Mw)y`],dg=[`enforce`,`report`,`SecurityPolicyViolationEventDisposition`,`P.!."Jw#y`],fg=[`length`,`index`,()=>sy,`item`,()=>sy,`TouchList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],pg=[``,`off`,`on`,`AutoFillBase`,`P.!.".#Jw$y`],mg=[()=>Yh,`name`,()=>cy,()=>U,`namedItem`,`HTMLFormControlsCollection`,`Pn!P&2"Pn#n$,J1%Mw&y`],hg=[()=>Ql,`FormDataEntryValue`,`Pn!&Jw"y`],gg=[()=>ly,`aspectRatio`,()=>uy,`autoGainControl`,()=>uy,`backgroundBlur`,()=>dy,`channelCount`,()=>fy,`deviceId`,()=>fy,`displaySurface`,()=>py,`echoCancellation`,()=>fy,`facingMode`,()=>ly,`frameRate`,()=>fy,`groupId`,()=>dy,`height`,()=>uy,`noiseSuppression`,()=>dy,`sampleRate`,()=>dy,`sampleSize`,()=>dy,`width`,`MediaTrackConstraintSet`,`Pn!4"8n#4$8n%4&8n'4(8n)4*8n+4,8n-4.8n/408n1428n3448n5468n7488n94:8n;4<8n=4>8Mw?y`],_g=[`max`,`min`,`DoubleRange`,`P'4!8'4"8Mw#y`],vg=[`max`,`min`,`ULongRange`,`P'4!8'4"8Mw#y`],yg=[()=>gf,()=>Sh,`HTMLOrSVGImageElement`,`Pn!n"Jw#y`],bg=[`codedHeight`,()=>Jh,`codedRect`,`codedWidth`,()=>my,`colorSpace`,`displayHeight`,`displayWidth`,`duration`,()=>hy,`format`,`timestamp`,()=>Jh,`visibleRect`,()=>gy,`options`,`allocationSize`,0,`clone`,`close`,()=>wd,`destination`,()=>gy,()=>_y,`copyTo`,`VideoFrame`,`P'4!9Pn",J4#9'4$9n%4&9'4'9'4(9P',J4)9Pn*,J4+9'4,9Pn-,J4.9Pn/208'11Pn213P$14Pn526n7208n8F\`19Mw:y`],xg=[`rgba-float16`,`rgba-unorm8`,`ImageDataPixelFormat`,`P.!."Jw#y`],Sg=[`ImageDataArray`,`Vw!y`],Cg=[`a`,`b`,`c`,`d`,`e`,`f`,`is2D`,`isIdentity`,`m11`,`m12`,`m13`,`m14`,`m21`,`m22`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m41`,`m42`,`m43`,`m44`,()=>Eu,`flipX`,()=>Eu,`flipY`,()=>Eu,`inverse`,()=>wg,`other`,()=>Eu,`multiply`,`rotX`,`rotY`,`rotZ`,()=>Eu,`rotate`,`x`,`y`,`z`,`angle`,()=>Eu,`rotateAxisAngle`,()=>Eu,`rotateFromVector`,`scaleX`,`scaleY`,`scaleZ`,`originX`,`originY`,`originZ`,()=>Eu,`scale`,()=>Eu,`scale3d`,()=>Eu,`scaleNonUniform`,`sx`,()=>Eu,`skewX`,`sy`,()=>Eu,`skewY`,`toFloat32Array`,`toFloat64Array`,`toJSON`,()=>hu,`point`,()=>x_,`transformPoint`,`tx`,`ty`,`tz`,()=>Eu,`translate`,`toString`,`DOMMatrixReadOnly`,`P'4!9'4"9'4#9'4$9'4%9'4&9)4'9)4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459'469'479'489Pn91:Pn;1<Pn=1>Pn?2@8nA1BP'2C8'2D8'2E8nF1GP'2H8'2I8'2J8'2K8nL1MP'2H8'2I8nN1OP'2P8'2Q8'2R8'2S8'2T8'2U8nV1WP'2W8'2S8'2T8'2U8nX1YP'2P8'2Q8nZ1[P'2\\8n]1^P'2_8n\`1aP\\1bP]1cP"1dPne2f8ng1hP'2i8'2j8'2k8nl1mP&1nMwoy`],wg=[()=>Du,`is2D`,`m13`,`m14`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m43`,`m44`,`DOMMatrixInit`,`Pn!)4"8'4#8'4$8'4%8'4&8'4'8'4(8'4)8'4*8'4+8'4,8Mw-y`],Tg=[`WebGLVertexArrayObjectOES`,`PMw!y`],Eg=[`ArrayBuffer`,`ArrayBufferTypes`,`P_4!Mw"y`],Dg=[`opaque`,`premultiplied`,`GPUCanvasAlphaMode`,`P.!."Jw#y`],Og=[()=>W,()=>Mg,()=>vy,`adapterInfo`,()=>yy,`features`,()=>by,`limits`,()=>xy,`lost`,0,`this`,()=>Uf,`ev`,``,`onuncapturederror`,()=>Sy,`queue`,()=>Cy,`descriptor`,()=>wy,`createBindGroup`,()=>Ty,()=>Ey,`createBindGroupLayout`,()=>Dy,()=>Oy,`createBuffer`,()=>ky,()=>Ay,`createCommandEncoder`,()=>jy,()=>My,`createComputePipeline`,()=>jy,()=>My,`createComputePipelineAsync`,()=>Ny,()=>Py,`createPipelineLayout`,()=>Fy,()=>Iy,`createQuerySet`,()=>Ly,()=>Ry,`createRenderBundleEncoder`,()=>zy,()=>By,`createRenderPipeline`,()=>zy,()=>By,`createRenderPipelineAsync`,()=>Vy,()=>Hy,`createSampler`,()=>Uy,()=>Wy,`createShaderModule`,()=>Gy,()=>Rd,`createTexture`,`destroy`,()=>Ky,()=>qy,`importExternalTexture`,()=>j_,`popErrorScope`,()=>Jy,`filter`,`pushErrorScope`,`type`,0,()=>Yy,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Yy,()=>H,`removeEventListener`,()=>V,()=>H,`GPUDevice`,'Pn!n"n#4$9n%4&9n\'4(9n)`4*9PPn+2,n-2."//,J40n1429Pn324n516Pn724n819Pn:24n;1<Pn=248n>1?Pn@24nA1BPnC24nD`1EPnF24nG1HPnI24nJ1KPnL24nM1NPnO24nP1QPnR24nS`1TPnU248nV1WPnX24nY1ZPn[24n\\1]P$1^Pn_24n`1aPPnb,J`1cPnd2e$1fP"2gPnh2,ni"f2."//2jP)nkJ2l8$1mP&2gnn2jP)noJ2l8$1mP"2gPnp2,nq"f2."//2jP)nrJ2l8$1sP&2gnt2jP)nuJ2l8$1sMwvy'],kg=`astc-10x10-unorm astc-10x10-unorm-srgb astc-10x5-unorm astc-10x5-unorm-srgb astc-10x6-unorm astc-10x6-unorm-srgb astc-10x8-unorm astc-10x8-unorm-srgb astc-12x10-unorm astc-12x10-unorm-srgb astc-12x12-unorm astc-12x12-unorm-srgb astc-4x4-unorm astc-4x4-unorm-srgb astc-5x4-unorm astc-5x4-unorm-srgb astc-5x5-unorm astc-5x5-unorm-srgb astc-6x5-unorm astc-6x5-unorm-srgb astc-6x6-unorm astc-6x6-unorm-srgb astc-8x5-unorm astc-8x5-unorm-srgb astc-8x6-unorm astc-8x6-unorm-srgb astc-8x8-unorm astc-8x8-unorm-srgb bc1-rgba-unorm bc1-rgba-unorm-srgb bc2-rgba-unorm bc2-rgba-unorm-srgb bc3-rgba-unorm bc3-rgba-unorm-srgb bc4-r-snorm bc4-r-unorm bc5-rg-snorm bc5-rg-unorm bc6h-rgb-float bc6h-rgb-ufloat bc7-rgba-unorm bc7-rgba-unorm-srgb bgra8unorm bgra8unorm-srgb depth16unorm depth24plus depth24plus-stencil8 depth32float depth32float-stencil8 eac-r11snorm eac-r11unorm eac-rg11snorm eac-rg11unorm etc2-rgb8a1unorm etc2-rgb8a1unorm-srgb etc2-rgb8unorm etc2-rgb8unorm-srgb etc2-rgba8unorm etc2-rgba8unorm-srgb r16float r16sint r16snorm r16uint r16unorm r32float r32sint r32uint r8sint r8snorm r8uint r8unorm rg11b10ufloat rg16float rg16sint rg16snorm rg16uint rg16unorm rg32float rg32sint rg32uint rg8sint rg8snorm rg8uint rg8unorm rgb10a2uint rgb10a2unorm rgb9e5ufloat rgba16float rgba16sint rgba16snorm rgba16uint rgba16unorm rgba32float rgba32sint rgba32uint rgba8sint rgba8snorm rgba8uint rgba8unorm rgba8unorm-srgb stencil8 GPUTextureFormat P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.[.\\.].^._.\`.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.{.|.}.~.......
Jwy`.split(` `),Ag=[()=>Xy,`mode`,`GPUCanvasToneMapping`,`Pn!4"8Mw#y`],jg=[`GPUTextureUsageFlags`,`'w!y`],Mg=[`label`,`GPUObjectBase`,`P&4!Mw"y`],Ng=[`GPUIntegerCoordinateOut`,`'w!y`],Pg=[`1d`,`2d`,`3d`,`GPUTextureDimension`,`P.!.".#Jw$y`],Fg=[`GPUSize32Out`,`'w!y`],Ig=[`GPUFlagsConstant`,`'w!y`],Lg=[()=>Zy,()=>Qy,`arrayLayerCount`,()=>$y,`aspect`,()=>Qy,`baseArrayLayer`,()=>Qy,`baseMipLevel`,()=>eb,`dimension`,()=>kg,`format`,()=>Qy,`mipLevelCount`,()=>jg,`usage`,`GPUTextureViewDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8n*4+8n,4-8n.4/8n0418Mw2y`],Rg=[()=>Mg,`GPUTextureView`,`Pn!Mw"y`],zg=[()=>tb,`view`,()=>nb,`options`,()=>rb,`read`,`releaseLock`,`ReadableStreamBYOBReader`,`Pn!P"2"n#2$8"o%"\`1&P$1'Mw(y`],Bg=[`R`,()=>tb,()=>rb,`read`,`releaseLock`,`ReadableStreamDefaultReader`,'"c!Pn"Pe#!o#"`1$P$1%Mw&y'],Vg=[()=>ib,`mode`,`ReadableStreamGetReaderOptions`,`Pn!4"8Mw#y`],Hg=[`T`,()=>Bg,()=>zg,`ReadableStreamReader`,`b!Pe"!o""n#Jw$y`],Ug=[`R`,`W`,()=>zd,`readable`,()=>Gg,`writable`,`ReadableWritablePair`,`"c!"c"Pe"!o#"4$e""o%"4&Mw'y`],Wg=[`preventAbort`,`preventCancel`,`preventClose`,()=>Yc,`signal`,`StreamPipeOptions`,`P)4!8)4"8)4#8n$4%8Mw&y`],Gg=[`W`,`locked`,`reason`,`abort`,`close`,()=>ab,`getWriter`,`WritableStream`,'"c!P)4"9P"2#8$`1$P$`1%Pe#!o&"1\'Mw(y'],Kg=[`T`,`length`,`separator`,`join`,`start`,`end`,`slice`,`ConcatArray`,`b!P'4"9'e"!LP&2#8&1$P'2%8'2&8e#!F1'Mw(y`],qg=[`accumulate`,`add`,`auto`,`replace`,`CompositeOperationOrAuto`,`P.!.".#.$Jw%y`],Jg=[()=>ob,()=>sb,`composite`,()=>cb,`iterationComposite`,`pseudoElement`,`KeyframeEffectOptions`,`Pn!n"4#8n$4%8P&,J4&8Mw'y`],Yg=[()=>Xg,`offset`,`rangeName`,`TimelineRangeOffset`,`Pn!4"8P&,J4#8Mw$y`],Xg=[()=>qh,()=>$g,`values`,0,`add`,()=>$g,0,`div`,()=>$g,`value`,`equals`,()=>$g,0,`max`,()=>$g,0,`min`,()=>$g,0,`mul`,()=>$g,0,`sub`,`unit`,()=>lb,`to`,`units`,()=>ub,`toSum`,()=>db,`type`,`CSSNumericValue`,`Pn!Pn"@2#n$1%Pn&@2#n'1(Pn)@2*)1+Pn,@2#n-1.Pn/@2#n011Pn2@2#n314Pn5@2#n617P&28n91:P&@2;n<1=Pn>1?Mw@y`],Zg=[()=>qh,`value`,`CSSKeywordValue`,`Pn!&4"Mw#y`],Qg=[()=>$g,`currentTime`,()=>$g,`duration`,`AnimationTimeline`,`PPn!,J4"9Pn#,J4$9Mw%y`],$g=[()=>Xg,`CSSNumberish`,`P'n!Jw"y`],e_=[()=>fb,`getComputedTiming`,()=>ob,`getTiming`,()=>pb,`timing`,`updateTiming`,`AnimationEffect`,`PPn!1"Pn#1$Pn%2&8$1'Mw(y`],t_=[`finished`,`idle`,`paused`,`running`,`AnimationPlayState`,`P.!.".#.$Jw%y`],n_=[`active`,`persisted`,`removed`,`AnimationReplaceState`,`P.!.".#Jw$y`],r_=[()=>jf,`cancel`,()=>jf,`finish`,()=>jf,`remove`,`AnimationEventMap`,`Pn!4"n#4$n%4&Mw'y`],i_=[`flatten`,`AssignedNodesOptions`,`P)4!8Mw"y`],a_=[()=>mb,()=>hb,`cssRules`,()=>gb,`ownerRule`,()=>hb,`rules`,`selector`,`style`,`index`,`addRule`,`deleteRule`,`rule`,`insertRule`,`removeRule`,`text`,0,`replace`,`replaceSync`,`CSSStyleSheet`,`Pn!n"4#9Pn$,J4%9n&4'9P&2(8&2)8'2*8'1+P'2*$1,P&2-'2*8'1.P'2*8$1/P&20n1\`12P&20$13Mw4y`],o_=[`length`,`index`,()=>a_,`item`,()=>a_,`StyleSheetList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],s_=[()=>W,0,`this`,()=>Hf,`ev`,``,`onloading`,0,()=>Hf,`onloadingdone`,0,()=>Hf,`onloadingerror`,0,`ready`,()=>_b,`status`,`font`,`text`,`check`,()=>A_,`load`,()=>A_,`value`,()=>A_,`key`,0,`parent`,`callbackfn`,`thisArg`,`forEach`,`type`,0,()=>vb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>vb,()=>H,`removeEventListener`,()=>V,()=>H,`FontFaceSet`,'Pn!PPn"2#n$2%"/&,J4\'PPn(2#n)2%"/&,J4*PPn+2#n,2%"/&,J4-n.`4/9n0419P&22&238)14P&22&238n5F`16PPn728n92:n;2<$/&2="2>8$1?P"2@PnA2#nB"f2%"/&2CP)nDJ2E8$1FP&2@nG2CP)nHJ2E8$1FP"2@PnI2#nJ"f2%"/&2CP)nKJ2E8$1LP&2@nM2CP)nNJ2E8$1LMwOy'],c_=[`prefix`,``,`lookupNamespaceURI`,`XPathNSResolver`,`PPP&,J2!P&,J/"PPP&,J2!P&,J1#MJw$y`],l_=[()=>K,`contextNode`,`type`,()=>u_,`result`,()=>u_,`evaluate`,`XPathExpression`,`PPn!2"'2#8Pn$,J2%8n&1'Mw(y`],u_=[`booleanValue`,`invalidIteratorState`,`numberValue`,`resultType`,()=>K,`singleNodeValue`,`snapshotLength`,`stringValue`,()=>K,`iterateNext`,`index`,()=>K,`snapshotItem`,0,`ANY_TYPE`,1,`NUMBER_TYPE`,2,`STRING_TYPE`,3,`BOOLEAN_TYPE`,4,`UNORDERED_NODE_ITERATOR_TYPE`,5,`ORDERED_NODE_ITERATOR_TYPE`,6,`UNORDERED_NODE_SNAPSHOT_TYPE`,7,`ORDERED_NODE_SNAPSHOT_TYPE`,8,`ANY_UNORDERED_NODE_TYPE`,9,`FIRST_ORDERED_NODE_TYPE`,`XPathResult`,`P)4!9)4"9'4#9'4$9Pn%,J4&9'4'9&4(9PPn),J1*P'2+Pn,,J1-..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9MwBy`],d_=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`ViewTransitionTypeSet`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],f_=[`hash`,`host`,`hostname`,`href`,`toString`,`origin`,`password`,`pathname`,`port`,`protocol`,`search`,`username`,`HTMLHyperlinkElementUtils`,`P&4!&4"&4#&4$P&1%&4&9&4'&4(&4)&4*&4+&4,Mw-y`],p_=[()=>ol,`type`,0,`this`,()=>Fp,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Fp,()=>H,`removeEventListener`,()=>V,()=>H,`XMLDocument`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],m_=[()=>yl,()=>yb,()=>Tv,`transform`,()=>bb,`options`,()=>hl,`getBBox`,()=>Eu,`getCTM`,()=>Eu,`getScreenCTM`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGraphicsElement`,`Pn!n"n#4$9Pn%2&8n'1(PPn),J1*PPn+,J1,P"2-Pn.2/n0"f21"/223P)n4J2&8$15P&2-n623P)n7J2&8$15P"2-Pn82/n9"f21"/223P)n:J2&8$1;P&2-n<23P)n=J2&8$1;Mw>y`],h_=[()=>jv,`preserveAspectRatio`,()=>xb,`viewBox`,`SVGFitToViewBox`,`Pn!4"9n#4$9Mw%y`],g_=[0,`this`,()=>G,`ev`,``,`onafterprint`,0,()=>G,`onbeforeprint`,0,()=>Nf,`onbeforeunload`,0,()=>Wf,`ongamepadconnected`,0,()=>Wf,`ongamepaddisconnected`,0,()=>Gf,`onhashchange`,0,()=>G,`onlanguagechange`,0,()=>Qf,`onmessage`,0,()=>Qf,`onmessageerror`,0,()=>G,`onoffline`,0,()=>G,`ononline`,0,()=>ip,`onpagehide`,0,()=>np,`onpagereveal`,0,()=>ip,`onpageshow`,0,()=>rp,`onpageswap`,0,()=>cp,`onpopstate`,0,()=>lp,`onrejectionhandled`,0,()=>bp,`onstorage`,0,()=>lp,`onunhandledrejection`,0,()=>G,`onunload`,`type`,0,()=>Sb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Sb,()=>H,`removeEventListener`,()=>V,()=>H,`WindowEventHandlers`,'PPPn!2"n#2$"/%,J4&PPn\'2"n(2$"/%,J4)PPn*2"n+2$"/%,J4,PPn-2"n.2$"/%,J4/PPn02"n12$"/%,J42PPn32"n42$"/%,J45PPn62"n72$"/%,J48PPn92"n:2$"/%,J4;PPn<2"n=2$"/%,J4>PPn?2"n@2$"/%,J4APPnB2"nC2$"/%,J4DPPnE2"nF2$"/%,J4GPPnH2"nI2$"/%,J4JPPnK2"nL2$"/%,J4MPPnN2"nO2$"/%,J4PPPnQ2"nR2$"/%,J4SPPnT2"nU2$"/%,J4VPPnW2"nX2$"/%,J4YPPnZ2"n[2$"/%,J4\\PPn]2"n^2$"/%,J4_P"2`Pna2"nb"f2$"/%2cP)ndJ2e8$1fP&2`ng2cP)nhJ2e8$1fP"2`Pni2"nj"f2$"/%2cP)nkJ2e8$1lP&2`nm2cP)nnJ2e8$1lMwoy'],__=[`w`,`x`,`y`,`z`,()=>wg,`matrix`,()=>x_,`matrixTransform`,`toJSON`,`DOMPointReadOnly`,`P'4!9'4"9'4#9'4$9Pn%2&8n'1(P"1)Mw*y`],Q=[()=>y_,`animVal`,()=>y_,`baseVal`,`SVGAnimatedLength`,`Pn!4"9n#4$9Mw%y`],v_=[`unitType`,`value`,`valueAsString`,`valueInSpecifiedUnits`,`convertToSpecifiedUnits`,`newValueSpecifiedUnits`,0,`SVG_ANGLETYPE_UNKNOWN`,1,`SVG_ANGLETYPE_UNSPECIFIED`,2,`SVG_ANGLETYPE_DEG`,3,`SVG_ANGLETYPE_RAD`,4,`SVG_ANGLETYPE_GRAD`,`SVGAngle`,`P'4!9'4"&4#'4$P'2!$1%P'2!'2$$1&.'4(9.)4*9.+4,9.-4.9./409Mw1y`],y_=[`unitType`,`value`,`valueAsString`,`valueInSpecifiedUnits`,`convertToSpecifiedUnits`,`newValueSpecifiedUnits`,0,`SVG_LENGTHTYPE_UNKNOWN`,1,`SVG_LENGTHTYPE_NUMBER`,2,`SVG_LENGTHTYPE_PERCENTAGE`,3,`SVG_LENGTHTYPE_EMS`,4,`SVG_LENGTHTYPE_EXS`,5,`SVG_LENGTHTYPE_PX`,6,`SVG_LENGTHTYPE_CM`,7,`SVG_LENGTHTYPE_MM`,8,`SVG_LENGTHTYPE_IN`,9,`SVG_LENGTHTYPE_PT`,10,`SVG_LENGTHTYPE_PC`,`SVGLength`,`P'4!9'4"&4#'4$P'2!$1%P'2!'2$$1&.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9Mw=y`],b_=[`value`,`SVGNumber`,`P'4!Mw"y`],x_=[()=>__,`w`,`x`,`y`,`z`,`DOMPoint`,`Pn!'4"'4#'4$'4%Mw&y`],S_=[`angle`,()=>Eu,`matrix`,`type`,()=>Du,`setMatrix`,`cx`,`cy`,`setRotate`,`sx`,`sy`,`setScale`,`setSkewX`,`setSkewY`,`tx`,`ty`,`setTranslate`,0,`SVG_TRANSFORM_UNKNOWN`,1,`SVG_TRANSFORM_MATRIX`,2,`SVG_TRANSFORM_TRANSLATE`,3,`SVG_TRANSFORM_SCALE`,4,`SVG_TRANSFORM_ROTATE`,5,`SVG_TRANSFORM_SKEWX`,6,`SVG_TRANSFORM_SKEWY`,`SVGTransform`,`P'4!9n"4#9'4$9Pn%2#8$1&P'2!'2''2($1)P'2*'2+$1,P'2!$1-P'2!$1.P'2/'20$11.2439.4459.6479.8499.:4;9.<4=9.>4?9Mw@y`],C_=[()=>Z,()=>Sb,`SVGSVGElementEventMap`,`Pn!n"Mw#y`],w_=[`collapsed`,()=>K,`endContainer`,`endOffset`,()=>K,`startContainer`,`startOffset`,`AbstractRange`,`P)4!9n"4#9'4$9n%4&9'4'9Mw(y`],T_=[()=>K,()=>el,()=>tl,`data`,`length`,()=>ol,`ownerDocument`,`appendData`,`offset`,`count`,`deleteData`,`insertData`,`replaceData`,`substringData`,`CharacterData`,`Pn!n"n#&4$'4%9n&4'9P&2$$1(P'2)'2*$1+P'2)&2$$1,P'2)'2*&2$$1-P'2)'2*&1.!!Mw/y`],E_=[`duration`,`length`,`numberOfChannels`,`sampleRate`,`destination`,`channelNumber`,`bufferOffset`,`copyFromChannel`,`source`,`copyToChannel`,`channel`,`getChannelData`,`AudioBuffer`,`P'4!9'4"9'4#9'4$9P\\2%'2&'2'8$1(P\\2)'2&'2'8$1*P'2+\\1,Mw-y`],D_=[`name`,`value`,`CookieListItem`,`P&4!8&4"8Mw#y`],O_=[`x`,`y`,`z`,`DeviceMotionEventAcceleration`,`PP',J4!9P',J4"9P',J4#9Mw$y`],k_=[`alpha`,`beta`,`gamma`,`DeviceMotionEventRotationRate`,`PP',J4!9P',J4"9P',J4#9Mw$y`],A_=[`ascentOverride`,`descentOverride`,()=>Cb,`display`,`family`,`featureSettings`,`lineGapOverride`,0,`loaded`,()=>wb,`status`,`stretch`,`style`,`unicodeRange`,`variationSettings`,`weight`,0,`load`,`FontFace`,"P&4!&4\"n#4$&4%&4&&4'n(`4)9n*4+9&4,&4-&4.&4/&40Pn1`12Mw3y"],j_=[`message`,`GPUError`,`P&4!9Mw"y`],M_=[()=>Kd,`axes`,()=>Kd,()=>Tb,`buttons`,`connected`,`id`,`index`,()=>Eb,`mapping`,()=>Bd,`timestamp`,()=>Db,`vibrationActuator`,`Gamepad`,`P'o!"4"9n$o#"4%9)4&9&4'9'4(9n)4*9n+4,9n-4.9Mw/y`],N_=[()=>W,()=>Ob,`connection`,`id`,`manufacturer`,`name`,0,`this`,()=>qf,`ev`,``,`onstatechange`,()=>kb,`state`,()=>Ab,`type`,`version`,0,`close`,0,`open`,0,()=>jb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>jb,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIPort`,'Pn!n"4#9&4$9P&,J4%9P&,J4&9PPn\'2(n)2*"/+,J4,n-4.9n/409P&,J419Pn2`13Pn4`15P"20Pn62(n7"f2*"/+28P)n9J2:8$1;P&20n<28P)n=J2:8$1;P"20Pn>2(n?"f2*"/+28P)n@J2:8$1AP&20nB28P)nCJ2:8$1AMwDy'],P_=[`individualization-request`,`license-release`,`license-renewal`,`license-request`,`MediaKeyMessageType`,`P.!.".#.$Jw%y`],F_=[()=>W,()=>Mb,0,`close`,`message`,()=>ey,`transfer`,`postMessage`,()=>Nb,`options`,`start`,`type`,0,`this`,()=>Pb,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Pb,()=>H,`removeEventListener`,()=>V,()=>H,`MessagePort`,`Pn!n#o""P$1$P"2%n&F2'$1(P"2%n)2*8$1(P$1+P"2,Pn-2.n/"f20"/122P)n3J2*8$14P&2,n522P)n6J2*8$14P"2,Pn72.n8"f20"/122P)n9J2*8$1:P&2,n;22P)n<J2*8$1:Mw=y`],I_=[()=>df,()=>F_,()=>Fb,`MessageEventSource`,`Pn!n"n#Jw$y`],L_=[`id`,`index`,`key`,`sameDocument`,`url`,`getState`,`NavigationDestination`,`P&4!9'4"9&4#9)4$9&4%9P"1&Mw'y`],R_=[`push`,`reload`,`replace`,`traverse`,`NavigationType`,`P.!.".#.$Jw%y`],z_=[()=>Ib,`focusReset`,()=>Lb,`handler`,()=>Rb,`precommitHandler`,()=>zb,`scroll`,`NavigationInterceptOptions`,`Pn!4"8n#4$8n%4&8n'4(8Mw)y`],B_=[()=>W,`id`,`index`,`key`,0,`this`,()=>G,`ev`,``,`ondispose`,`sameDocument`,`url`,`getState`,`type`,0,()=>Bb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Bb,()=>H,`removeEventListener`,()=>V,()=>H,`NavigationHistoryEntry`,`Pn!&4"9'4#9&4$9PPn%2&n'2("/),J4*)4+9P&,J4,9P"1-P"2.Pn/2&n0"f2("/)21P)n2J238$14P&2.n521P)n6J238$14P"2.Pn72&n8"f2("/)21P)n9J238$1:P&2.n;21P)n<J238$1:Mw=y`],V_=[()=>B_,`entry`,()=>B_,`from`,()=>R_,`navigationType`,`NavigationActivation`,`Pn!4"9Pn#,J4$9n%4&9Mw'y`],H_=[()=>Vb,`error`,`paymentMethodErrors`,()=>Hb,`shippingAddressErrors`,()=>Ub,`total`,`PaymentDetailsUpdate`,`Pn!&4"8"4#8n$4%8n&4'8Mw(y`],U_=[`T`,`value`,0,``,`onfulfilled`,`reason`,0,`onrejected`,0,`then`,`PromiseLike`,`b!PPPPe%!2"P""o#"J/$-,J2%8PP"2&P""o'"J/$-,J2(8P""Jo)"1*Mw+y`],W_=[()=>W,`height`,0,`this`,()=>G,`ev`,``,`onresize`,`width`,`type`,0,()=>Wb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Wb,()=>H,`removeEventListener`,()=>V,()=>H,`PictureInPictureWindow`,`Pn!'4"9PPn#2$n%2&"/',J4('4)9P"2*Pn+2$n,"f2&"/'2-P)n.J2/8$10P&2*n12-P)n2J2/8$10P"2*Pn32$n4"f2&"/'2-P)n5J2/8$16P&2*n72-P)n8J2/8$16Mw9y`],G_=[()=>W,()=>Gb,`binaryType`,`bufferedAmount`,`bufferedAmountLowThreshold`,`id`,`label`,`maxPacketLifeTime`,`maxRetransmits`,`negotiated`,0,`this`,()=>G,`ev`,``,`onbufferedamountlow`,0,()=>G,`onclose`,0,()=>G,`onclosing`,0,()=>fp,`onerror`,0,()=>Qf,`onmessage`,0,()=>G,`onopen`,`ordered`,`protocol`,()=>Kb,`readyState`,`close`,`data`,`send`,()=>Vc,()=>Td,`type`,0,()=>qb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>qb,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDataChannel`,`Pn!n"4#'4$9'4%P',J4&9&4'9P',J4(9P',J4)9)4*9PPn+2,n-2."//,J40PPn12,n22."//,J43PPn42,n52."//,J46PPn72,n82."//,J49PPn:2,n;2."//,J4<PPn=2,n>2."//,J4?)4@9&4A9nB4C9P$1DP&2E$1FPnG2E$1FP_2E$1FP_oH"2E$1FP"2IPnJ2,nK"f2."//2LP)nMJ2N8$1OP&2InP2LP)nQJ2N8$1OP"2IPnR2,nS"f2."//2LP)nTJ2N8$1UP&2InV2LP)nWJ2N8$1UMwXy`],K_=[()=>Jb,()=>Yb,`errorDetail`,`receivedAlert`,`sctpCauseCode`,`sdpLineNumber`,`sentAlert`,`RTCError`,`Pn!n"4#9P',J4$9P',J4%9P',J4&9P',J4'9Mw(y`],q_=[`address`,`candidate`,()=>Xb,`component`,`foundation`,`port`,`priority`,()=>Zb,`protocol`,`relatedAddress`,`relatedPort`,`sdpMLineIndex`,`sdpMid`,()=>Qb,`tcpType`,()=>$b,`type`,`usernameFragment`,()=>ex,`toJSON`,`RTCIceCandidate`,`PP&,J4!9&4"9Pn#,J4$9P&,J4%9P',J4&9P',J4'9Pn(,J4)9P&,J4*9P',J4+9P',J4,9P&,J4-9Pn.,J4/9Pn0,J419P&,J429Pn314Mw5y`],J_=[()=>Bd,`jitterBufferTarget`,()=>mc,`track`,()=>tx,`transform`,()=>nx,`transport`,()=>rx,`getContributingSources`,()=>ix,`getParameters`,()=>ax,`getStats`,()=>ox,`getSynchronizationSources`,`RTCRtpReceiver`,`PPn!,J4"n#4$9Pn%,J4&Pn',J4(9Pn)F1*Pn+1,Pn-\`1.Pn/F10Mw1y`],Y_=[()=>sx,`currentDirection`,()=>sx,`direction`,`mid`,()=>J_,`receiver`,()=>cx,`sender`,()=>lx,`codecs`,`setCodecPreferences`,`stop`,`RTCRtpTransceiver`,`PPn!,J4"9n#4$P&,J4%9n&4'9n(4)9Pn*F2+$1,P$1-Mw.y`],X_=[`aborted`,`audio-capture`,`language-not-supported`,`network`,`no-speech`,`not-allowed`,`phrases-not-supported`,`service-not-allowed`,`SpeechRecognitionErrorCode`,`P.!.".#.$.%.&.'.(Jw)y`],Z_=[`length`,`index`,()=>ux,`item`,()=>ux,`SpeechRecognitionResultList`,`P'4!9P'2"n#1$'n%LMw&y`],Q_=[`audio-busy`,`audio-hardware`,`canceled`,`interrupted`,`invalid-argument`,`language-unavailable`,`network`,`not-allowed`,`synthesis-failed`,`synthesis-unavailable`,`text-too-long`,`voice-unavailable`,`SpeechSynthesisErrorCode`,`P.!.".#.$.%.&.'.(.).*.+.,Jw-y`],$_=[()=>W,`lang`,0,`this`,()=>yp,`ev`,``,`onboundary`,0,()=>yp,`onend`,0,()=>vp,`onerror`,0,()=>yp,`onmark`,0,()=>yp,`onpause`,0,()=>yp,`onresume`,0,()=>yp,`onstart`,`pitch`,`rate`,`text`,()=>dx,`voice`,`volume`,`type`,0,()=>fx,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>fx,()=>H,`removeEventListener`,()=>V,()=>H,`SpeechSynthesisUtterance`,`Pn!&4"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+PPn,2$n-2&"/',J4.PPn/2$n02&"/',J41PPn22$n32&"/',J44PPn52$n62&"/',J47PPn82$n92&"/',J4:'4;'4<&4=Pn>,J4?'4@P"2APnB2$nC"f2&"/'2DP)nEJ2F8$1GP&2AnH2DP)nIJ2F8$1GP"2APnJ2$nK"f2&"/'2DP)nLJ2F8$1MP&2AnN2DP)nOJ2F8$1MMwPy`],ev=[`length`,`clear`,`key`,`getItem`,`index`,`removeItem`,`value`,`setItem`,`Storage`,`P'4!9P$1"P&2#P&,J1$P'2%P&,J1#P&2#$1&P&2#&2'$1(&"LMw)y`],tv=[`background`,`user-blocking`,`user-visible`,`TaskPriority`,`P.!.".#Jw$y`],nv=[()=>W,()=>px,`activeCues`,()=>px,`cues`,`id`,`inBandMetadataTrackDispatchType`,()=>mx,`kind`,`label`,`language`,()=>hx,`mode`,0,`this`,()=>G,`ev`,``,`oncuechange`,()=>gx,`cue`,`addCue`,()=>gx,`removeCue`,`type`,0,()=>_x,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>_x,()=>H,`removeEventListener`,()=>V,()=>H,`TextTrack`,`Pn!Pn",J4#9Pn$,J4%9&4&9&4'9n(4)9&4*9&4+9n,4-PPn.2/n021"/2,J43Pn425$16Pn725$18P"29Pn:2/n;"f21"/22<P)n=J2>8$1?P&29n@2<P)nAJ2>8$1?P"29PnB2/nC"f21"/22<P)nDJ2>8$1EP&29nF2<P)nGJ2>8$1EMwHy`],rv=[()=>a_,`sheet`,`LinkStyle`,`PPn!,J4"9Mw#y`],iv=[()=>sl,`shadowRoots`,`GetComposedRangesOptions`,`Pn!F4"8Mw#y`],av=[`size`,`name`,`value`,`append`,`delete`,`get`,`getAll`,`has`,`set`,`sort`,`toString`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`URLSearchParams`,`P'4!9P&2"&2#$1$P&2"&2#8$1%P&2"P&,J1&P&2"&F1'P&2"&2#8)1(P&2"&2#$1)P$1*P&1+PP&2#&2,n-2.$//20"218$12Mw3y`],ov=[()=>R,`autoplay`,()=>vx,`buffered`,`controls`,`crossOrigin`,`currentSrc`,`currentTime`,`defaultMuted`,`defaultPlaybackRate`,`disableRemotePlayback`,`duration`,`ended`,()=>yx,`error`,`loop`,()=>bx,`mediaKeys`,`muted`,`networkState`,0,`this`,()=>Yf,`ev`,``,`onencrypted`,0,()=>G,`onwaitingforkey`,`paused`,`playbackRate`,()=>vx,`played`,`none`,`metadata`,`auto`,``,`preload`,`preservesPitch`,`readyState`,()=>xx,`remote`,()=>vx,`seekable`,`seeking`,`sinkId`,`src`,()=>Sx,`srcObject`,()=>Cx,`textTracks`,`volume`,()=>mx,`kind`,`label`,`language`,()=>nv,`addTextTrack`,`type`,()=>wx,`canPlayType`,`time`,`fastSeek`,`load`,`pause`,`play`,()=>bx,`setMediaKeys`,`setSinkId`,0,`NETWORK_EMPTY`,1,`NETWORK_IDLE`,2,`NETWORK_LOADING`,3,`NETWORK_NO_SOURCE`,0,`HAVE_NOTHING`,1,`HAVE_METADATA`,2,`HAVE_CURRENT_DATA`,3,`HAVE_FUTURE_DATA`,4,`HAVE_ENOUGH_DATA`,0,()=>sv,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>sv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMediaElement`,`Pn!)4"n#4$9)4%P&,J4&&4'9'4()4)'4*)4+'4,9)4-9Pn.,J4/9)40Pn1,J429)43'449PPn526n728"/9,J4:PPn;26n<28"/9,J4=)4>9'4?n@4A9P.B.C.D.EJ4F)4G'4H9nI4J9nK4L9)4M9&4N9&4OPnP,J4QnR4S9'4TPnU2V&2W8&2X8nY1ZP&2[n\\1]P'2^$1_P$1\`P$1aP$\`1bPPnc,J22$\`1dP&2N$\`1e.f4g9.h4i9.j4k9.l4m9.n4o9.p4q9.r4s9.t4u9.v4w9P"2[Pnx26ny"f28"/92zP)n{J2|8$1}P&2[n~2zP)nJ2|8$1}P"2[Pn26n"f28"/92zP)nJ2|8$1P&2[n2zP)n
J2|8$1Mwy`],sv=[()=>z,()=>Yf,`encrypted`,()=>G,`waitingforkey`,`HTMLMediaElementEventMap`,`Pn!n"4#n$4%Mw&y`],cv=[()=>z,()=>Sb,`HTMLBodyElementEventMap`,`Pn!n"Mw#y`],lv=[`popoverTargetAction`,()=>U,`popoverTargetElement`,`PopoverTargetAttributes`,`P&4!Pn",J4#Mw$y`],uv=[``,`no-referrer`,`no-referrer-when-downgrade`,`origin`,`origin-when-cross-origin`,`same-origin`,`strict-origin`,`strict-origin-when-cross-origin`,`unsafe-url`,`ReferrerPolicy`,`P.!.".#.$.%.&.'.(.)Jw*y`],dv=[()=>pg,()=>Tx,()=>Ex,()=>Tx,()=>Dx,()=>Ox,()=>kx,()=>Ax,`AutoFill`,`Pn!Pn#o""n%o$"n&n(o'"SJw)y`],fv=[`length`,`index`,()=>Ql,`item`,()=>Ql,`FileList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],pv=[`forward`,`backward`,`none`,`SelectionDirection`,`P.!.".#Jw$y`],mv=[()=>jx,`filesystem`,`fullPath`,`isDirectory`,`isFile`,`name`,()=>Mx,`successCallback`,()=>Nx,`errorCallback`,`getParent`,`FileSystemEntry`,`Pn!4"9&4#9)4$9)4%9&4&9Pn'2(8n)2*8$1+Mw,y`],hv=[`end`,`preserve`,`select`,`start`,`SelectionMode`,`P.!.".#.$Jw%y`],gv=[()=>_l,()=>_m,`length`,`selectedIndex`,()=>_m,()=>gm,`element`,()=>R,`before`,`add`,`index`,`remove`,`HTMLOptionsCollection`,`Pn"o!"'4#'4$PPn%n&J2'Pn(',J2)8$1*P'2+$1,Mw-y`],_v=[`corruptedVideoFrames`,()=>Bd,`creationTime`,`droppedVideoFrames`,`totalVideoFrames`,`VideoPlaybackQuality`,`P'4!9n"4#9'4$9'4%9Mw&y`],vv=[()=>Bd,`now`,()=>Px,`metadata`,``,`VideoFrameRequestCallback`,`PPn!2"n#2$$v%Mw&y`],yv=[()=>sv,()=>sp,`enterpictureinpicture`,()=>sp,`leavepictureinpicture`,`HTMLVideoElementEventMap`,`Pn!n"4#n$4%Mw&y`],bv=[()=>xv,`href`,`SVGURIReference`,`Pn!4"9Mw#y`],xv=[`animVal`,`baseVal`,`SVGAnimatedString`,`P&4!9&4"Mw#y`],Sv=[()=>yl,()=>yb,()=>yl,`targetElement`,`beginElement`,`offset`,`beginElementAt`,`endElement`,`endElementAt`,`getCurrentTime`,`getSimpleDuration`,`getStartTime`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimationElement`,`Pn!n"Pn#,J4$9P$1%P'2&$1'P$1(P'2&$1)P'1*P'1+P'1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],Cv=[()=>m_,()=>$,`pathLength`,`distance`,()=>x_,`getPointAtLength`,`getTotalLength`,()=>hu,`point`,`isPointInFill`,()=>hu,`isPointInStroke`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGeometryElement`,`Pn!n"4#9P'2$n%1&P'1'Pn(2)8)1*Pn+2)8)1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],wv=[`animVal`,`baseVal`,`SVGAnimatedEnumeration`,`P'4!9'4"Mw#y`],Tv=[()=>Fx,`animVal`,()=>Fx,`baseVal`,`SVGAnimatedTransformList`,`Pn!4"9n#4$9Mw%y`],Ev=[()=>Q,`height`,()=>xv,`result`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`SVGFilterPrimitiveStandardAttributes`,`Pn!4"9n#4$9n%4&9n'4(9n)4*9Mw+y`],Dv=[()=>Ix,`animVal`,()=>Ix,`baseVal`,`SVGAnimatedNumberList`,`Pn!4"9n#4$9Mw%y`],$=[`animVal`,`baseVal`,`SVGAnimatedNumber`,`P'4!9'4"Mw#y`],Ov=[`animVal`,`baseVal`,`SVGAnimatedInteger`,`P'4!9'4"Mw#y`],kv=[`animVal`,`baseVal`,`SVGAnimatedBoolean`,`P)4!9)4"Mw#y`],Av=[()=>yl,()=>$,`amplitude`,()=>$,`exponent`,()=>$,`intercept`,()=>$,`offset`,()=>$,`slope`,()=>Dv,`tableValues`,()=>wv,`type`,0,`SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN`,1,`SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY`,2,`SVG_FECOMPONENTTRANSFER_TYPE_TABLE`,3,`SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE`,4,`SVG_FECOMPONENTTRANSFER_TYPE_LINEAR`,5,`SVG_FECOMPONENTTRANSFER_TYPE_GAMMA`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGComponentTransferFunctionElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9.0419.2439.4459.6479.8499.:4;9P"2/Pn<2=n>"f2?"/@2AP)nBJ2C8$1DP&2/nE2AP)nFJ2C8$1DP"2/PnG2=nH"f2?"/@2AP)nIJ2C8$1JP&2/nK2AP)nLJ2C8$1JMwMy`],jv=[()=>Lx,`animVal`,()=>Lx,`baseVal`,`SVGAnimatedPreserveAspectRatio`,`Pn!4"9n#4$9Mw%y`],Mv=[()=>yl,()=>bv,()=>Tv,`gradientTransform`,()=>wv,`gradientUnits`,()=>wv,`spreadMethod`,0,`SVG_SPREADMETHOD_UNKNOWN`,1,`SVG_SPREADMETHOD_PAD`,2,`SVG_SPREADMETHOD_REFLECT`,3,`SVG_SPREADMETHOD_REPEAT`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGradientElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],Nv=[()=>v_,`animVal`,()=>v_,`baseVal`,`SVGAnimatedAngle`,`Pn!4"9n#4$9Mw%y`],Pv=[()=>Rx,`animatedPoints`,()=>Rx,`points`,`SVGAnimatedPoints`,`Pn!4"9n#4$9Mw%y`],Fv=[()=>Iv,()=>zx,`dx`,()=>zx,`dy`,()=>Dv,`rotate`,()=>zx,`x`,()=>zx,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextPositioningElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9P"2,Pn-2.n/"f20"/122P)n3J248$15P&2,n622P)n7J248$15P"2,Pn82.n9"f20"/122P)n:J248$1;P&2,n<22P)n=J248$1;Mw>y`],Iv=[()=>m_,()=>wv,`lengthAdjust`,()=>Q,`textLength`,()=>hu,`point`,`getCharNumAtPosition`,`getComputedTextLength`,`charnum`,()=>x_,`getEndPositionOfChar`,()=>hl,`getExtentOfChar`,`getNumberOfChars`,`getRotationOfChar`,()=>x_,`getStartPositionOfChar`,`nchars`,`getSubStringLength`,`selectSubString`,0,`LENGTHADJUST_UNKNOWN`,1,`LENGTHADJUST_SPACING`,2,`LENGTHADJUST_SPACINGANDGLYPHS`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextContentElement`,`Pn!n"4#9n$4%9Pn&2'8'1(P'1)P'2*n+1,P'2*n-1.P'1/P'2*'10P'2*n112P'2*'23'14P'2*'23$15.6479.8499.:4;9P"2<Pn=2>n?"f2@"/A2BP)nCJ2D8$1EP&2<nF2BP)nGJ2D8$1EP"2<PnH2>nI"f2@"/A2BP)nJJ2D8$1KP&2<nL2BP)nMJ2D8$1KMwNy`],Lv=[()=>z,()=>Sb,`HTMLFrameSetElementEventMap`,`Pn!n"Mw#y`],Rv=[`auto`,`instant`,`smooth`,`ScrollBehavior`,`P.!.".#Jw$y`],zv=[`handle`,`cancelAnimationFrame`,()=>Bx,`callback`,`requestAnimationFrame`,`AnimationFrameProvider`,`PP'2!$1"Pn#2$'1%Mw&y`],Bv=[()=>ev,`localStorage`,`WindowLocalStorage`,`Pn!4"9Mw#y`],Vv=[()=>Vx,`caches`,`crossOriginIsolated`,()=>Hx,`crypto`,()=>Ux,`indexedDB`,`isSecureContext`,`origin`,()=>Wx,`performance`,()=>Gx,`scheduler`,`data`,`atob`,`btoa`,`id`,`clearInterval`,`clearTimeout`,()=>Kx,`image`,()=>qx,`options`,()=>Pc,`createImageBitmap`,()=>Kx,`sx`,`sy`,`sw`,`sh`,()=>qx,()=>Pc,()=>Jx,()=>Mp,`input`,()=>Yx,`init`,()=>Xx,`fetch`,()=>Zx,`callback`,`queueMicrotask`,`e`,`reportError`,()=>Qx,`handler`,`timeout`,`arguments`,`setInterval`,()=>Qx,`setTimeout`,`value`,()=>Nb,`structuredClone`,`WindowOrWorkerGlobalScope`,`Pn!4"9)4#9n$4%9n&4'9)4(9&4)9n*4+9n,4-9P&2.&1/P&2.&10PP'-J21$12PP'-J21$13Pn425n6278n8\`19Pn:25'2;'2<'2='2>n?278n@\`19PPnAnBJ2CnD2E8nF\`1GPnH2I$1JP"2K$1LPnM2N'2O8"@2P'1QPnR2N'2O8"@2P'1SP"2TnU278"1VMwWy`],Hv=[()=>ev,`sessionStorage`,`WindowSessionStorage`,`Pn!4"9Mw#y`],Uv=[()=>$x,()=>eS,()=>tS,()=>nS,()=>rS,()=>iS,()=>aS,()=>oS,()=>sS,()=>cS,()=>lS,()=>uS,()=>dS,`clipboard`,()=>fS,`credentials`,`doNotTrack`,()=>pS,`geolocation`,()=>mS,`login`,`maxTouchPoints`,()=>hS,`mediaCapabilities`,()=>gS,`mediaDevices`,()=>_S,`mediaSession`,()=>vS,`permissions`,()=>yS,`serviceWorker`,()=>bS,`userActivation`,()=>xS,`wakeLock`,()=>SS,`data`,`canShare`,()=>M_,`getGamepads`,()=>CS,`options`,()=>wS,`requestMIDIAccess`,`keySystem`,()=>TS,`supportedConfigurations`,()=>ES,`requestMediaKeySystemAccess`,()=>Mp,`url`,()=>DS,`sendBeacon`,()=>SS,`share`,()=>OS,`pattern`,`vibrate`,`Navigator`,"Pn!n\"n#n$n%n&n'n(n)n*n+n,n-4.9n/409P&,J419n2439n4459'469n7489n94:9n;4<9n=4>9n?4@9nA4B9nC4D9PnE2F8)1GPPnH,JF1IPnJ2K8nL`1MP&2NnOF2PnQ`1RPP&nSJ2TPnU,J2F8)1VPnW2F8$`1XPnY2Z)1[Mw\\y"],Wv=[()=>W,0,`this`,()=>Rf,`ev`,``,`onchange`,`name`,`delete`,()=>kS,`options`,()=>D_,`get`,()=>AS,()=>D_,()=>jS,`getAll`,()=>AS,()=>jS,`value`,`set`,()=>MS,`type`,0,()=>NS,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>NS,()=>H,`removeEventListener`,()=>V,()=>H,`CookieStore`,'Pn!PPn"2#n$2%"/&,J4\'P&2($`1)Pn*2+$`1)P&2(Pn,,J`1-Pn.2+8Pn/,J`1-P&2(n0`11Pn22+8n3`11P&2(&24$`15Pn62+$`15P"27Pn82#n9"f2%"/&2:P)n;J2+8$1<P&27n=2:P)n>J2+8$1<P"27Pn?2#n@"f2%"/&2:P)nAJ2+8$1BP&27nC2:P)nDJ2+8$1BMwEy'],Gv=[`AddSearchProvider`,`IsSearchProviderInstalled`,`External`,`PP$1!P$1"Mw#y`],Kv=[`length`,()=>PS,`scrollRestoration`,`state`,`back`,`forward`,`delta`,`go`,`data`,`unused`,()=>Mp,`url`,`pushState`,()=>Mp,`replaceState`,`History`,`P'4!9n"4#"4$9P$1%P$1&P'2'8$1(P"2)&2*P&n+,J2,8$1-P"2)&2*P&n.,J2,8$1/Mw0y`],qv=[`visible`,`BarProp`,`P)4!9Mw"y`],Jv=[()=>W,()=>V_,`activation`,`canGoBack`,`canGoForward`,()=>B_,`currentEntry`,0,`this`,()=>ep,`ev`,``,`oncurrententrychange`,0,()=>$f,`onnavigate`,0,()=>Hd,`onnavigateerror`,0,()=>G,`onnavigatesuccess`,()=>FS,`transition`,()=>IS,`options`,()=>LS,`back`,()=>B_,`entries`,()=>IS,()=>LS,`forward`,()=>Mp,`url`,()=>RS,()=>LS,`navigate`,()=>zS,()=>LS,`reload`,`key`,()=>IS,()=>LS,`traverseTo`,()=>BS,`updateCurrentEntry`,`type`,0,()=>VS,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>VS,()=>H,`removeEventListener`,()=>V,()=>H,`Navigation`,`Pn!Pn",J4#9)4$9)4%9Pn&,J4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46Pn7,J489Pn92:8n;1<Pn=F1>Pn?2:8n@1APP&nBJ2CnD2:8nE1FPnG2:8nH1IP&2JnK2:8nL1MPnN2:$1OP"2PPnQ2)nR"f2+"/,2SP)nTJ2:8$1UP&2PnV2SP)nWJ2:8$1UP"2PPnX2)nY"f2+"/,2SP)nZJ2:8$1[P&2Pn\\2SP)n]J2:8$1[Mw^y`],Yv=[`availHeight`,`availWidth`,`colorDepth`,`height`,()=>HS,`orientation`,`pixelDepth`,`width`,`Screen`,`P'4!9'4"9'4#9'4$9n%4&9'4'9'4(9Mw)y`],Xv=[()=>W,0,`this`,()=>G,`ev`,``,`onvoiceschanged`,`paused`,`pending`,`speaking`,`cancel`,()=>dx,`getVoices`,`pause`,`resume`,()=>$_,`utterance`,`speak`,`type`,0,()=>US,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>US,()=>H,`removeEventListener`,()=>V,()=>H,`SpeechSynthesis`,`Pn!PPn"2#n$2%"/&,J4')4(9)4)9)4*9P$1+Pn,F1-P$1.P$1/Pn021$12P"23Pn42#n5"f2%"/&26P)n7J288$19P&23n:26P)n;J288$19P"23Pn<2#n="f2%"/&26P)n>J288$1?P&23n@26P)nAJ288$1?MwBy`],Zv=[()=>W,`height`,`offsetLeft`,`offsetTop`,0,`this`,()=>G,`ev`,``,`onresize`,0,()=>G,`onscroll`,`pageLeft`,`pageTop`,`scale`,`width`,`type`,0,()=>WS,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>WS,()=>H,`removeEventListener`,()=>V,()=>H,`VisualViewport`,`Pn!'4"9'4#9'4$9PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-'4.9'4/9'409'419P"22Pn32&n4"f2("/)25P)n6J278$18P&22n925P)n:J278$18P"22Pn;2&n<"f2("/)25P)n=J278$1>P&22n?25P)n@J278$1>MwAy`],Qv=[()=>GS,`CSSStyleDeclaration`,`Pn!Mw"y`],$v=[()=>W,`matches`,`media`,0,`this`,()=>Zf,`ev`,``,`onchange`,0,()=>Zf,`callback`,`addListener`,0,()=>Zf,`removeListener`,`type`,0,()=>KS,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>KS,()=>H,`removeEventListener`,()=>V,()=>H,`MediaQueryList`,`Pn!)4"9&4#9PPn$2%n&2'"/(,J4)PPPn*2%n+2'"/(,J2,$1-PPPn.2%n/2'"/(,J2,$10P"21Pn22%n3"f2'"/(24P)n5J268$17P&21n824P)n9J268$17P"21Pn:2%n;"f2'"/(24P)n<J268$1=P&21n>24P)n?J268$1=Mw@y`],ey=[()=>ac,()=>Pc,()=>F_,()=>qS,()=>zd,()=>Gg,()=>JS,()=>YS,()=>bg,()=>G_,`Transferable`,`Pn!n"n#n$n%n&n'n(n)n*_Jw+y`],ty=[()=>Nb,`targetOrigin`,`WindowPostMessageOptions`,`Pn!&4"8Mw#y`],ny=[()=>XS,`deadline`,``,`IdleRequestCallback`,`PPn!2"$v#Mw$y`],ry=[`timeout`,`IdleRequestOptions`,`P'4!8Mw"y`],iy=[()=>Jc,()=>Sb,()=>G,`DOMContentLoaded`,()=>Bf,`devicemotion`,()=>Vf,`deviceorientation`,()=>Vf,`deviceorientationabsolute`,()=>Wf,`gamepadconnected`,()=>Wf,`gamepaddisconnected`,()=>G,`orientationchange`,`WindowEventMap`,`Pn!n"n#4$n%4&n'4(n)4*n+4,n-4.n/40Mw1y`],ay=[`length`,`data`,`type`,()=>ZS,`add`,()=>Ql,()=>ZS,`clear`,`index`,`remove`,()=>ZS,`DataTransferItemList`,`P'4!9P&2"&2#Pn$,J1%Pn&2"Pn',J1%P$1(P'2)$1*'n+LMw,y`],oy=[`name`,`message`,`stack`,`Error`,`P&4!&4"&4#8Mw$y`],sy=[`clientX`,`clientY`,`force`,`identifier`,`pageX`,`pageY`,`radiusX`,`radiusY`,`rotationAngle`,`screenX`,`screenY`,()=>W,`target`,`Touch`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9n,4-9Mw.y`],cy=[()=>Wd,()=>am,`value`,`RadioNodeList`,`Pn"o!"&4#Mw$y`],ly=[()=>QS,`ConstrainDouble`,`P'n!Jw"y`],uy=[()=>$S,`ConstrainBoolean`,`P)n!Jw"y`],dy=[()=>eC,`ConstrainULong`,`P'n!Jw"y`],fy=[()=>tC,`ConstrainDOMString`,`P&&Fn!Jw"y`],py=[()=>nC,`ConstrainBooleanOrDOMString`,`P)&n!Jw"y`],my=[`fullRange`,()=>rC,`matrix`,()=>iC,`primaries`,()=>aC,`transfer`,()=>oC,`toJSON`,`VideoColorSpace`,`PP),J4!9Pn",J4#9Pn$,J4%9Pn&,J4'9Pn(1)Mw*y`],hy=[`BGRA`,`BGRX`,`I420`,`I420A`,`I422`,`I444`,`NV12`,`RGBA`,`RGBX`,`VideoPixelFormat`,`P.!.".#.$.%.&.'.(.)Jw*y`],gy=[()=>gc,`colorSpace`,()=>hy,`format`,()=>_y,`layout`,()=>sC,`rect`,`VideoFrameCopyToOptions`,`Pn!4"8n#4$8n%F4&8n'4(8Mw)y`],_y=[`offset`,`stride`,`PlaneLayout`,`P'4!'4"Mw#y`],vy=[`architecture`,`description`,`device`,`isFallbackAdapter`,`subgroupMaxSize`,`subgroupMinSize`,`vendor`,`GPUAdapterInfo`,`P&4!9&4"9&4#9)4$9'4%9'4&9&4'9Mw(y`],yy=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`GPUSupportedFeatures`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],by=`maxBindGroups maxBindGroupsPlusVertexBuffers maxBindingsPerBindGroup maxBufferSize maxColorAttachmentBytesPerSample maxColorAttachments maxComputeInvocationsPerWorkgroup maxComputeWorkgroupSizeX maxComputeWorkgroupSizeY maxComputeWorkgroupSizeZ maxComputeWorkgroupStorageSize maxComputeWorkgroupsPerDimension maxDynamicStorageBuffersPerPipelineLayout maxDynamicUniformBuffersPerPipelineLayout maxInterStageShaderVariables maxSampledTexturesPerShaderStage maxSamplersPerShaderStage maxStorageBufferBindingSize maxStorageBuffersPerShaderStage maxStorageTexturesPerShaderStage maxTextureArrayLayers maxTextureDimension1D maxTextureDimension2D maxTextureDimension3D maxUniformBufferBindingSize maxUniformBuffersPerShaderStage maxVertexAttributes maxVertexBufferArrayStride maxVertexBuffers minStorageBufferOffsetAlignment minUniformBufferOffsetAlignment GPUSupportedLimits P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459'469'479'489'499'4:9'4;9'4<9'4=9'4>9'4?9Mw@y`.split(` `),xy=[`message`,()=>cC,`reason`,`GPUDeviceLostInfo`,`P&4!9n"4#9Mw$y`],Sy=[()=>Mg,()=>lC,`source`,()=>uC,`destination`,()=>dC,`copySize`,`copyExternalImageToTexture`,`onSubmittedWorkDone`,()=>fC,`commandBuffers`,`submit`,()=>Oy,`buffer`,()=>pC,`bufferOffset`,()=>wd,`data`,()=>pC,`dataOffset`,()=>pC,`size`,`writeBuffer`,()=>mC,()=>wd,()=>hC,`dataLayout`,()=>dC,`writeTexture`,`GPUQueue`,`Pn!Pn"2#n$2%n&2'$1(P$\`1)Pn*F2+$1,Pn-2.n/20n122n3248n5268$17Pn82%n922n:2;n<26$1=Mw>y`],Cy=[()=>Zy,()=>gC,`entries`,()=>Ey,`layout`,`GPUBindGroupDescriptor`,`Pn!n"F4#n$4%Mw&y`],wy=[()=>Mg,`GPUBindGroup`,`Pn!Mw"y`],Ty=[()=>Zy,()=>_C,`entries`,`GPUBindGroupLayoutDescriptor`,`Pn!n"F4#Mw$y`],Ey=[()=>Mg,`GPUBindGroupLayout`,`Pn!Mw"y`],Dy=[()=>Zy,`mappedAtCreation`,()=>pC,`size`,()=>vC,`usage`,`GPUBufferDescriptor`,`Pn!)4"8n#4$n%4&Mw'y`],Oy=[()=>Mg,()=>yC,`mapState`,()=>bC,`size`,()=>Ig,`usage`,`destroy`,()=>pC,`offset`,()=>pC,`getMappedRange`,()=>xC,`mode`,()=>pC,()=>pC,`mapAsync`,`unmap`,`GPUBuffer`,`Pn!n"4#9n$4%9n&4'9P$1(Pn)2*8n+2%8_1,Pn-2.n/2*8n02%8$\`11P$12Mw3y`],ky=[()=>Zy,`GPUCommandEncoderDescriptor`,`Pn!Mw"y`],Ay=[()=>SC,()=>Mg,()=>CC,`descriptor`,()=>wC,`beginComputePass`,()=>TC,()=>EC,`beginRenderPass`,()=>Oy,`buffer`,()=>pC,`offset`,()=>pC,`size`,`clearBuffer`,()=>Oy,`source`,()=>Oy,`destination`,()=>pC,`copyBufferToBuffer`,()=>Oy,()=>pC,`sourceOffset`,()=>Oy,()=>pC,`destinationOffset`,()=>pC,()=>DC,()=>mC,()=>dC,`copySize`,`copyBufferToTexture`,()=>mC,()=>DC,()=>dC,`copyTextureToBuffer`,()=>mC,()=>mC,()=>dC,`copyTextureToTexture`,()=>OC,()=>fC,`finish`,()=>Iy,`querySet`,()=>kC,`firstQuery`,()=>kC,`queryCount`,()=>Oy,()=>pC,`resolveQuerySet`,`GPUCommandEncoder`,`Pn!n"Pn#2$8n%1&Pn'2$n(1)Pn*2+n,2-8n.2/8$10Pn122n324n52/8$16Pn722n829n:24n;2<n=2/8$16Pn>22n?24n@2A$1BPnC22nD24nE2A$1FPnG22nH24nI2A$1JPnK2$8nL1MPnN2OnP2QnR2SnT24nU2<$1VMwWy`],jy=[()=>AC,()=>jC,`compute`,`GPUComputePipelineDescriptor`,`Pn!n"4#Mw$y`],My=[()=>Mg,()=>MC,`GPUComputePipeline`,`Pn!n"Mw#y`],Ny=[()=>Zy,()=>Ey,`bindGroupLayouts`,`GPUPipelineLayoutDescriptor`,`Pn!Pn",JF4#Mw$y`],Py=[()=>Mg,`GPUPipelineLayout`,`Pn!Mw"y`],Fy=[()=>Zy,()=>kC,`count`,()=>NC,`type`,`GPUQuerySetDescriptor`,`Pn!n"4#n$4%Mw&y`],Iy=[()=>Mg,()=>Fg,`count`,()=>NC,`type`,`destroy`,`GPUQuerySet`,`Pn!n"4#9n$4%9P$1&Mw'y`],Ly=[()=>PC,`depthReadOnly`,`stencilReadOnly`,`GPURenderBundleEncoderDescriptor`,`Pn!)4"8)4#8Mw$y`],Ry=[()=>FC,()=>SC,()=>Mg,()=>IC,()=>LC,`descriptor`,()=>RC,`finish`,`GPURenderBundleEncoder`,`Pn!n"n#n$Pn%2&8n'1(Mw)y`],zy=[()=>AC,()=>zC,`depthStencil`,()=>BC,`fragment`,()=>VC,`multisample`,()=>HC,`primitive`,()=>UC,`vertex`,`GPURenderPipelineDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8n*4+Mw,y`],By=[()=>Mg,()=>MC,`GPURenderPipeline`,`Pn!n"Mw#y`],Vy=[()=>Zy,()=>WC,`addressModeU`,()=>WC,`addressModeV`,()=>WC,`addressModeW`,()=>GC,`compare`,`lodMaxClamp`,`lodMinClamp`,()=>KC,`magFilter`,`maxAnisotropy`,()=>KC,`minFilter`,()=>qC,`mipmapFilter`,`GPUSamplerDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8'4*8'4+8n,4-8'4.8n/408n1428Mw3y`],Hy=[()=>Mg,`GPUSampler`,`Pn!Mw"y`],Uy=[()=>Zy,`code`,`GPUShaderModuleDescriptor`,`Pn!&4"Mw#y`],Wy=[()=>Mg,()=>JC,`getCompilationInfo`,`GPUShaderModule`,'Pn!Pn"`1#Mw$y'],Gy=[()=>Zy,()=>Pg,`dimension`,()=>kg,`format`,()=>Qy,`mipLevelCount`,()=>kC,`sampleCount`,()=>dC,`size`,()=>jg,`usage`,()=>kg,`viewFormats`,`GPUTextureDescriptor`,`Pn!n"4#8n$4%n&4'8n(4)8n*4+n,4-n.F4/8Mw0y`],Ky=[()=>Zy,()=>gc,`colorSpace`,()=>Lm,()=>bg,`source`,`GPUExternalTextureDescriptor`,`Pn!n"4#8Pn$n%J4&Mw'y`],qy=[()=>Mg,`GPUExternalTexture`,`Pn!Mw"y`],Jy=[`internal`,`out-of-memory`,`validation`,`GPUErrorFilter`,`P.!.".#Jw$y`],Yy=[()=>Uf,`uncapturederror`,`GPUDeviceEventMap`,`Pn!4"Mw#y`],Xy=[`extended`,`standard`,`GPUCanvasToneMappingMode`,`P.!."Jw#y`],Zy=[`label`,`GPUObjectDescriptorBase`,`P&4!8Mw"y`],Qy=[`GPUIntegerCoordinate`,`'w!y`],$y=[`all`,`depth-only`,`stencil-only`,`GPUTextureAspect`,`P.!.".#Jw$y`],eb=[`1d`,`2d`,`2d-array`,`3d`,`cube`,`cube-array`,`GPUTextureViewDimension`,`P.!.".#.$.%.&Jw'y`],tb=[`closed`,`reason`,`cancel`,`ReadableStreamGenericReader`,'P$`4!9P"2"8$`1#Mw$y'],nb=[`min`,`ReadableStreamBYOBReaderReadOptions`,`P'4!8Mw"y`],rb=[`T`,()=>YC,()=>XC,`ReadableStreamReadResult`,`b!Pe"!o""e"!o#"Jw$y`],ib=[`byob`,`ReadableStreamReaderMode`,`.!w"y`],ab=[`W`,`closed`,`desiredSize`,`ready`,`reason`,`abort`,`close`,`releaseLock`,`chunk`,`write`,`WritableStreamDefaultWriter`,'"c!P$`4"9P\',J4#9$`4$9P"2%8$`1&P$`1\'P$1(Pe#!2)8$`1*Mw+y'],ob=[`delay`,()=>ZC,`direction`,()=>Xg,`duration`,`easing`,`endDelay`,()=>QC,`fill`,`iterationStart`,`iterations`,`playbackRate`,`EffectTiming`,`P'4!8n"4#8P'n$&J4%8&4&8'4'8n(4)8'4*8'4+8'4,8Mw-y`],sb=[`accumulate`,`add`,`replace`,`CompositeOperation`,`P.!.".#Jw$y`],cb=[`accumulate`,`replace`,`IterationCompositeOperation`,`P.!."Jw#y`],lb=[()=>Xg,`unit`,`value`,`CSSUnitValue`,`Pn!&4"9'4#Mw$y`],ub=[()=>$C,()=>ew,`values`,`CSSMathSum`,`Pn!n"4#9Mw$y`],db=[`angle`,`flex`,`frequency`,`length`,`percent`,()=>tw,`percentHint`,`resolution`,`time`,`CSSNumericType`,`P'4!8'4"8'4#8'4$8'4%8n&4'8'4(8'4)8Mw*y`],fb=[()=>ob,()=>$g,`activeDuration`,`currentIteration`,()=>$g,`endTime`,()=>$g,`localTime`,`progress`,()=>$g,`startTime`,`ComputedEffectTiming`,`Pn!n"4#8P',J4$8n%4&8Pn',J4(8P',J4)8n*4+8Mw,y`],pb=[`delay`,()=>ZC,`direction`,`duration`,`easing`,`endDelay`,()=>QC,`fill`,`iterationStart`,`iterations`,`playbackRate`,`OptionalEffectTiming`,`P'4!8n"4#8P'&J4$8&4%8'4&8n'4(8'4)8'4*8'4+8Mw,y`],mb=[`disabled`,`href`,()=>U,()=>Dp,`ownerNode`,()=>a_,`parentStyleSheet`,`title`,`type`,`StyleSheet`,`P)4!P&,J4"9!!Pn#n$,J4%9Pn&,J4'9P&,J4(9&4)9Mw*y`],hb=[`length`,`index`,()=>gb,`item`,()=>gb,`CSSRuleList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],gb=[`cssText`,0,`parentRule`,()=>a_,`parentStyleSheet`,`type`,1,`STYLE_RULE`,2,`CHARSET_RULE`,3,`IMPORT_RULE`,4,`MEDIA_RULE`,5,`FONT_FACE_RULE`,6,`PAGE_RULE`,9,`MARGIN_RULE`,10,`NAMESPACE_RULE`,7,`KEYFRAMES_RULE`,8,`KEYFRAME_RULE`,12,`SUPPORTS_RULE`,11,`COUNTER_STYLE_RULE`,14,`FONT_FEATURE_VALUES_RULE`,`CSSRule`,`P&4!Pn",J4#9Pn$,J4%9'4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9MwAy`],_b=[`loaded`,`loading`,`FontFaceSetLoadStatus`,`P.!."Jw#y`],vb=[()=>Hf,`loading`,()=>Hf,`loadingdone`,()=>Hf,`loadingerror`,`FontFaceSetEventMap`,`Pn!4"n#4$n%4&Mw'y`],yb=[()=>nw,`requiredExtensions`,()=>nw,`systemLanguage`,`SVGTests`,`Pn!4"9n#4$9Mw%y`],bb=[`clipped`,`fill`,`markers`,`stroke`,`SVGBoundingBoxOptions`,`P)4!8)4"8)4#8)4$8Mw%y`],xb=[()=>Jh,`animVal`,()=>hl,`baseVal`,`SVGAnimatedRect`,`Pn!4"9n#4$9Mw%y`],Sb=[()=>G,`afterprint`,()=>G,`beforeprint`,()=>Nf,`beforeunload`,()=>Wf,`gamepadconnected`,()=>Wf,`gamepaddisconnected`,()=>Gf,`hashchange`,()=>G,`languagechange`,()=>Qf,`message`,()=>Qf,`messageerror`,()=>G,`offline`,()=>G,`online`,()=>ip,`pagehide`,()=>np,`pagereveal`,()=>ip,`pageshow`,()=>rp,`pageswap`,()=>cp,`popstate`,()=>lp,`rejectionhandled`,()=>bp,`storage`,()=>lp,`unhandledrejection`,()=>G,`unload`,`WindowEventHandlersEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HMwIy`],Cb=[`auto`,`block`,`fallback`,`optional`,`swap`,`FontDisplay`,`P.!.".#.$.%Jw&y`],wb=[`error`,`loaded`,`loading`,`unloaded`,`FontFaceLoadStatus`,`P.!.".#.$Jw%y`],Tb=[`pressed`,`touched`,`value`,`GamepadButton`,`P)4!9)4"9'4#9Mw$y`],Eb=[``,`standard`,`xr-standard`,`GamepadMappingType`,`P.!.".#Jw$y`],Db=[()=>rw,`type`,()=>iw,`params`,()=>aw,`playEffect`,()=>aw,`reset`,`GamepadHapticActuator`,"PPn!2\"n#2$8n%`1&Pn'`1(Mw)y"],Ob=[`closed`,`open`,`pending`,`MIDIPortConnectionState`,`P.!.".#Jw$y`],kb=[`connected`,`disconnected`,`MIDIPortDeviceState`,`P.!."Jw#y`],Ab=[`input`,`output`,`MIDIPortType`,`P.!."Jw#y`],jb=[()=>qf,`statechange`,`MIDIPortEventMap`,`Pn!4"Mw#y`],Mb=[`T`,`this`,()=>Qf,`ev`,``,`onmessage`,()=>Qf,`onmessageerror`,`type`,()=>ow,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,()=>ow,()=>H,`removeEventListener`,()=>V,()=>H,`MessageEventTarget`,`b!PPPe$!2"n#2$"/%,J4&PPe$!2"n'2$"/%,J4(P"2)Pe$!2"n*"f2$"/%2+P)n,J2-8$1.P&2)n/2+P)n0J2-8$1.P"2)Pe$!2"n1"f2$"/%2+P)n2J2-8$13P&2)n42+P)n5J2-8$13Mw6y`],Nb=[()=>ey,`transfer`,`StructuredSerializeOptions`,`Pn!F4"8Mw#y`],Pb=[()=>ow,()=>Qf,`message`,()=>Qf,`messageerror`,`MessagePortEventMap`,`Pn!n"4#n$4%Mw&y`],Fb=[()=>W,()=>sw,0,`this`,()=>G,`ev`,``,`onstatechange`,`scriptURL`,()=>cw,`state`,`message`,()=>ey,`transfer`,`postMessage`,()=>Nb,`options`,`type`,0,()=>lw,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>lw,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorker`,`Pn!n"PPn#2$n%2&"/',J4(&4)9n*4+9P"2,n-F2.$1/P"2,n0218$1/P"22Pn32$n4"f2&"/'25P)n6J218$17P&22n825P)n9J218$17P"22Pn:2$n;"f2&"/'25P)n<J218$1=P&22n>25P)n?J218$1=Mw@y`],Ib=[`after-transition`,`manual`,`NavigationFocusReset`,`P.!."Jw#y`],Lb=[()=>U_,``,`NavigationInterceptHandler`,`PPP$$o!"Jv"Mw#y`],Rb=[()=>uw,`controller`,()=>U_,``,`NavigationPrecommitHandler`,`PPn!2"P$$o#"Jv$Mw%y`],zb=[`after-transition`,`manual`,`NavigationScrollBehavior`,`P.!."Jw#y`],Bb=[()=>G,`dispose`,`NavigationHistoryEntryEventMap`,`Pn!4"Mw#y`],Vb=[()=>Ub,`displayItems`,()=>dw,`modifiers`,()=>fw,`shippingOptions`,`PaymentDetailsBase`,`Pn!F4"8n#F4$8n%F4&8Mw'y`],Hb=[`addressLine`,`city`,`country`,`dependentLocality`,`organization`,`phone`,`postalCode`,`recipient`,`region`,`sortingCode`,`AddressErrors`,`P&4!8&4"8&4#8&4$8&4%8&4&8&4'8&4(8&4)8&4*8Mw+y`],Ub=[()=>pw,`amount`,`label`,`pending`,`PaymentItem`,`Pn!4"&4#)4$8Mw%y`],Wb=[()=>G,`resize`,`PictureInPictureWindowEventMap`,`Pn!4"Mw#y`],Gb=[`arraybuffer`,`blob`,`BinaryType`,`P.!."Jw#y`],Kb=[`closed`,`closing`,`connecting`,`open`,`RTCDataChannelState`,`P.!.".#.$Jw%y`],qb=[()=>G,`bufferedamountlow`,()=>G,`close`,()=>G,`closing`,()=>fp,`error`,()=>Qf,`message`,()=>G,`open`,`RTCDataChannelEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,Mw-y`],Jb=[()=>oy,`code`,`message`,`name`,1,`INDEX_SIZE_ERR`,2,`DOMSTRING_SIZE_ERR`,3,`HIERARCHY_REQUEST_ERR`,4,`WRONG_DOCUMENT_ERR`,5,`INVALID_CHARACTER_ERR`,6,`NO_DATA_ALLOWED_ERR`,7,`NO_MODIFICATION_ALLOWED_ERR`,8,`NOT_FOUND_ERR`,9,`NOT_SUPPORTED_ERR`,10,`INUSE_ATTRIBUTE_ERR`,11,`INVALID_STATE_ERR`,12,`SYNTAX_ERR`,13,`INVALID_MODIFICATION_ERR`,14,`NAMESPACE_ERR`,15,`INVALID_ACCESS_ERR`,16,`VALIDATION_ERR`,17,`TYPE_MISMATCH_ERR`,18,`SECURITY_ERR`,19,`NETWORK_ERR`,20,`ABORT_ERR`,21,`URL_MISMATCH_ERR`,22,`QUOTA_EXCEEDED_ERR`,23,`TIMEOUT_ERR`,24,`INVALID_NODE_TYPE_ERR`,25,`DATA_CLONE_ERR`,`DOMException`,`Pn!'4"9&4#9&4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9.C4D9.E4F9.G4H9.I4J9.K4L9.M4N9.O4P9.Q4R9.S4T9.U4V9MwWy`],Yb=[`data-channel-failure`,`dtls-failure`,`fingerprint-failure`,`hardware-encoder-error`,`hardware-encoder-not-available`,`sctp-failure`,`sdp-syntax-error`,`RTCErrorDetailType`,`P.!.".#.$.%.&.'Jw(y`],Xb=[`rtcp`,`rtp`,`RTCIceComponent`,`P.!."Jw#y`],Zb=[`tcp`,`udp`,`RTCIceProtocol`,`P.!."Jw#y`],Qb=[`active`,`passive`,`so`,`RTCIceTcpCandidateType`,`P.!.".#Jw$y`],$b=[`host`,`prflx`,`relay`,`srflx`,`RTCIceCandidateType`,`P.!.".#.$Jw%y`],ex=[`candidate`,`sdpMLineIndex`,`sdpMid`,`usernameFragment`,`RTCIceCandidateInit`,`P&4!8P',J4"8P&,J4#8P&,J4$8Mw%y`],tx=[()=>mw,`RTCRtpReceiverTransform`,`n!w"y`],nx=[()=>W,()=>hw,`iceTransport`,0,`this`,()=>fp,`ev`,``,`onerror`,0,()=>G,`onstatechange`,()=>gw,`state`,`getRemoteCertificates`,`type`,0,()=>_w,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>_w,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDtlsTransport`,`Pn!n"4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,n-4.9P_F1/P"20Pn12%n2"f2'"/(23P)n4J258$16P&20n723P)n8J258$16P"20Pn92%n:"f2'"/(23P)n;J258$1<P&20n=23P)n>J258$1<Mw?y`],rx=[`audioLevel`,`rtpTimestamp`,`source`,()=>Bd,`timestamp`,`RTCRtpContributingSource`,`P'4!8'4"'4#n$4%Mw&y`],ix=[()=>vw,`RTCRtpReceiveParameters`,`Pn!Mw"y`],ax=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`RTCStatsReport`,`PPP"2!&2"n#2$$/%2&"2'8$1(Mw)y`],ox=[()=>rx,`RTCRtpSynchronizationSource`,`Pn!Mw"y`],sx=[`inactive`,`recvonly`,`sendonly`,`sendrecv`,`stopped`,`RTCRtpTransceiverDirection`,`P.!.".#.$.%Jw&y`],cx=[()=>yw,`dtmf`,()=>mc,`track`,()=>bw,`transform`,()=>nx,`transport`,()=>xw,`getParameters`,()=>ax,`getStats`,()=>mc,`withTrack`,`replaceTrack`,()=>xw,`parameters`,()=>Sw,`setParameterOptions`,`setParameters`,()=>Ys,`streams`,`setStreams`,`RTCRtpSender`,"PPn!,J4\"9Pn#,J4$9Pn%,J4&Pn',J4(9Pn)1*Pn+`1,PPn-,J2.$`1/Pn021n2238$`14Pn5@26$17Mw8y"],lx=[`channels`,`clockRate`,`mimeType`,`sdpFmtpLine`,`RTCRtpCodec`,`P'4!8'4"&4#&4$8Mw%y`],ux=[`isFinal`,`length`,`index`,()=>Cw,`item`,()=>Cw,`SpeechRecognitionResult`,`P)4!9'4"9P'2#n$1%'n&LMw'y`],dx=[`default`,`lang`,`localService`,`name`,`voiceURI`,`SpeechSynthesisVoice`,`P)4!9&4"9)4#9&4$9&4%9Mw&y`],fx=[()=>yp,`boundary`,()=>yp,`end`,()=>vp,`error`,()=>yp,`mark`,()=>yp,`pause`,()=>yp,`resume`,()=>yp,`start`,`SpeechSynthesisUtteranceEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.Mw/y`],px=[`length`,`id`,()=>gx,`getCueById`,()=>gx,`TextTrackCueList`,`P'4!9P&2"Pn#,J1$'n%LMw&y`],mx=[`captions`,`chapters`,`descriptions`,`metadata`,`subtitles`,`TextTrackKind`,`P.!.".#.$.%Jw&y`],hx=[`disabled`,`hidden`,`showing`,`TextTrackMode`,`P.!.".#Jw$y`],gx=[()=>W,`endTime`,`id`,0,`this`,()=>G,`ev`,``,`onenter`,0,()=>G,`onexit`,`pauseOnExit`,`startTime`,()=>nv,`track`,`type`,0,()=>ww,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>ww,()=>H,`removeEventListener`,()=>V,()=>H,`TextTrackCue`,`Pn!'4"&4#PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,)4-'4.Pn/,J409P"21Pn22%n3"f2'"/(24P)n5J268$17P&21n824P)n9J268$17P"21Pn:2%n;"f2'"/(24P)n<J268$1=P&21n>24P)n?J268$1=Mw@y`],_x=[()=>G,`cuechange`,`TextTrackEventMap`,`Pn!4"Mw#y`],vx=[`length`,`index`,`end`,`start`,`TimeRanges`,`P'4!9P'2"'1#P'2"'1$Mw%y`],yx=[`code`,`message`,1,`MEDIA_ERR_ABORTED`,2,`MEDIA_ERR_NETWORK`,3,`MEDIA_ERR_DECODE`,4,`MEDIA_ERR_SRC_NOT_SUPPORTED`,`MediaError`,`P'4!9&4"9.#4$9.%4&9.'4(9.)4*9Mw+y`],bx=[()=>Tw,`sessionType`,()=>Ew,`createSession`,()=>Dw,`policy`,()=>Ow,`getStatusForPolicy`,()=>kw,`serverCertificate`,`setServerCertificate`,`MediaKeys`,"PPn!2\"8n#1$Pn%2&8n'`1(Pn)2*)`1+Mw,y"],xx=[()=>W,0,`this`,()=>G,`ev`,``,`onconnect`,0,()=>G,`onconnecting`,0,()=>G,`ondisconnect`,()=>Aw,`state`,`id`,`cancelWatchAvailability`,`prompt`,()=>jw,`callback`,`watchAvailability`,`type`,0,()=>Mw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Mw,()=>H,`removeEventListener`,()=>V,()=>H,`RemotePlayback`,`Pn!PPn"2#n$2%"/&,J4'PPn(2#n)2%"/&,J4*PPn+2#n,2%"/&,J4-n.4/9P'208$\`11P$\`12Pn324'\`15P"26Pn72#n8"f2%"/&29P)n:J2;8$1<P&26n=29P)n>J2;8$1<P"26Pn?2#n@"f2%"/&29P)nAJ2;8$1BP&26nC29P)nDJ2;8$1BMwEy`],Sx=[()=>Ys,()=>Nw,()=>Vc,`MediaProvider`,`Pn!n"n#Jw$y`],Cx=[()=>W,`length`,0,`this`,()=>Cp,`ev`,``,`onaddtrack`,0,()=>G,`onchange`,0,()=>Cp,`onremovetrack`,`id`,()=>nv,`getTrackById`,`type`,0,()=>Pw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Pw,()=>H,`removeEventListener`,()=>V,()=>H,()=>nv,`TextTrackList`,`Pn!'4"9PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+PPn,2$n-2&"/',J4.P&2/Pn0,J11P"22Pn32$n4"f2&"/'25P)n6J278$18P&22n925P)n:J278$18P"22Pn;2$n<"f2&"/'25P)n=J278$1>P&22n?25P)n@J278$1>'nALMwBy`],wx=[``,`maybe`,`probably`,`CanPlayTypeResult`,`P.!.".#Jw$y`],Tx=[`T`,` `,``,`OptionalPrefixToken`,`b!PPe#!."S.#Jw$y`],Ex=[`section-`,`AutoFillSection`,`P.!&Sw"y`],Dx=[`billing`,`shipping`,`AutoFillAddressKind`,`P.!."Jw#y`],Ox=[()=>Fw,()=>Tx,()=>Iw,()=>Lw,`AutoFillField`,`Pn!Pn#o""n$SJw%y`],kx=[`T`,` `,``,`OptionalPostfixToken`,`b!PP."e#!S.#Jw$y`],Ax=[`webauthn`,`AutoFillCredentialField`,`.!w"y`],jx=[`name`,()=>Rw,`root`,`FileSystem`,`P&4!9n"4#9Mw$y`],Mx=[()=>mv,`entry`,``,`FileSystemEntryCallback`,`PPn!2"$v#Mw$y`],Nx=[()=>Jb,`err`,``,`ErrorCallback`,`PPn!2"$v#Mw$y`],Px=[()=>Bd,`captureTime`,()=>Bd,`expectedDisplayTime`,`height`,`mediaTime`,()=>Bd,`presentationTime`,`presentedFrames`,`processingDuration`,()=>Bd,`receiveTime`,`rtpTimestamp`,`width`,`VideoFrameCallbackMetadata`,`Pn!4"8n#4$'4%'4&n'4('4)'4*8n+4,8'4-8'4.Mw/y`],Fx=[`length`,`numberOfItems`,()=>S_,`newItem`,()=>S_,`appendItem`,`clear`,()=>S_,`consolidate`,()=>Du,`matrix`,()=>S_,`createSVGTransformFromMatrix`,`index`,()=>S_,`getItem`,()=>S_,()=>S_,`initialize`,()=>S_,()=>S_,`insertItemBefore`,()=>S_,`removeItem`,()=>S_,()=>S_,`replaceItem`,()=>S_,`SVGTransformList`,`P'4!9'4"9Pn#2$n%1&P$1'PPn(,J1)Pn*2+8n,1-P'2.n/10Pn12$n213Pn42$'2.n516P'2.n718Pn92$'2.n:1;'n<LMw=y`],Ix=[`length`,`numberOfItems`,()=>b_,`newItem`,()=>b_,`appendItem`,`clear`,`index`,()=>b_,`getItem`,()=>b_,()=>b_,`initialize`,()=>b_,()=>b_,`insertItemBefore`,()=>b_,`removeItem`,()=>b_,()=>b_,`replaceItem`,()=>b_,`SVGNumberList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],Lx=[`align`,`meetOrSlice`,0,`SVG_PRESERVEASPECTRATIO_UNKNOWN`,1,`SVG_PRESERVEASPECTRATIO_NONE`,2,`SVG_PRESERVEASPECTRATIO_XMINYMIN`,3,`SVG_PRESERVEASPECTRATIO_XMIDYMIN`,4,`SVG_PRESERVEASPECTRATIO_XMAXYMIN`,5,`SVG_PRESERVEASPECTRATIO_XMINYMID`,6,`SVG_PRESERVEASPECTRATIO_XMIDYMID`,7,`SVG_PRESERVEASPECTRATIO_XMAXYMID`,8,`SVG_PRESERVEASPECTRATIO_XMINYMAX`,9,`SVG_PRESERVEASPECTRATIO_XMIDYMAX`,10,`SVG_PRESERVEASPECTRATIO_XMAXYMAX`,0,`SVG_MEETORSLICE_UNKNOWN`,1,`SVG_MEETORSLICE_MEET`,2,`SVG_MEETORSLICE_SLICE`,`SVGPreserveAspectRatio`,`P'4!'4".#4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9Mw?y`],Rx=[`length`,`numberOfItems`,()=>x_,`newItem`,()=>x_,`appendItem`,`clear`,`index`,()=>x_,`getItem`,()=>x_,()=>x_,`initialize`,()=>x_,()=>x_,`insertItemBefore`,()=>x_,`removeItem`,()=>x_,()=>x_,`replaceItem`,()=>x_,`SVGPointList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],zx=[()=>zw,`animVal`,()=>zw,`baseVal`,`SVGAnimatedLengthList`,`Pn!4"9n#4$9Mw%y`],Bx=[()=>Bd,`time`,``,`FrameRequestCallback`,`PPn!2"$v#Mw$y`],Vx=[`cacheName`,`delete`,`has`,`keys`,()=>Jx,()=>Mp,`request`,()=>Bw,`options`,()=>Xx,`match`,()=>Vw,`open`,`CacheStorage`,"PP&2!)`1\"P&2!)`1#P&F`1$PPn%n&J2'n(2)8Pn*-J`1+P&2!n,`1-Mw.y"],Hx=[()=>Hw,`subtle`,`array`,`getRandomValues`,`-`,`randomUUID`,`Crypto`,`Pn!4"9P"2#"1$PP&.%&.%&.%&.%&S1&Mw'y`],Ux=[`first`,`second`,`cmp`,()=>Uw,`databases`,`name`,()=>Ww,`deleteDatabase`,`version`,()=>Ww,`open`,`IDBFactory`,`PP"2!"2"'1#Pn$F\`1%P&2&n'1(P&2&'2)8n*1+Mw,y`],Wx=[()=>W,()=>Gw,`eventCounts`,`interactionCount`,()=>Kw,`navigation`,0,`this`,()=>G,`ev`,``,`onresourcetimingbufferfull`,()=>Bd,`timeOrigin`,()=>qw,`timing`,`markName`,`clearMarks`,`measureName`,`clearMeasures`,`clearResourceTimings`,()=>Jw,`getEntries`,`name`,`type`,()=>Jw,`getEntriesByName`,()=>Jw,`getEntriesByType`,()=>Yw,`markOptions`,()=>Xw,`mark`,()=>Zw,`startOrMeasureOptions`,`endMark`,()=>Qw,`measure`,()=>Bd,`now`,`maxSize`,`setResourceTimingBufferSize`,`toJSON`,0,()=>$w,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>$w,()=>H,`removeEventListener`,()=>V,()=>H,`Performance`,`Pn!n"4#9'4$9n%4&9PPn'2(n)2*"/+,J4,n-4.9n/409P&218$12P&238$14P$15Pn617P&28&298n:1;P&29n<1=P&21n>2?8n@1AP&23P&nBJ2C8&2D8nE1FPnG1HP'2I$1JP"1KP"29PnL2(nM"f2*"/+2NP)nOJ2P8$1QP&29nR2NP)nSJ2P8$1QP"29PnT2(nU"f2*"/+2NP)nVJ2P8$1WP&29nX2NP)nYJ2P8$1WMwZy`],Gx=[()=>eT,`callback`,()=>tT,`options`,`postTask`,`yield`,`Scheduler`,'PPn!2"n#2$8"`1%P$`1&Mw\'y'],Kx=[()=>su,()=>Vc,()=>pu,`ImageBitmapSource`,`Pn!n"n#Jw$y`],qx=[()=>nT,`colorSpaceConversion`,()=>rT,`imageOrientation`,()=>iT,`premultiplyAlpha`,`resizeHeight`,()=>aT,`resizeQuality`,`resizeWidth`,`ImageBitmapOptions`,`Pn!4"8n#4$8n%4&8'4'8n(4)8'4*8Mw+y`],Jx=[()=>oT,`RequestInfo`,`Pn!&Jw"y`],Yx=[()=>DS,`body`,()=>sT,`cache`,()=>cT,`credentials`,()=>lT,`headers`,`integrity`,`keepalive`,`method`,()=>uT,`mode`,()=>dT,`priority`,()=>fT,`redirect`,`referrer`,()=>uv,`referrerPolicy`,()=>Yc,`signal`,`window`,`RequestInit`,`PPn!,J4"8n#4$8n%4&8n'4(8&4)8)4*8&4+8n,4-8n.4/8n0418&428n3448Pn5,J468,478Mw8y`],Xx=[()=>pT,()=>mT,`headers`,`ok`,`redirected`,`status`,`statusText`,()=>hT,`type`,`url`,0,`clone`,`Response`,`Pn!n"4#9)4$9)4%9'4&9&4'9n(4)9&4*9Pn+1,Mw-y`],Zx=[``,`VoidFunction`,`PP$v!Mw"y`],Qx=[()=>Function,`TimerHandler`,`P&Pu!Jw"y`],$x=[`webdriver`,`NavigatorAutomationInformation`,`P)4!9Mw"y`],eS=[`clearAppBadge`,`contents`,`setAppBadge`,`NavigatorBadge`,"PP$`1!P'2\"8$`1#Mw$y"],tS=[`hardwareConcurrency`,`NavigatorConcurrentHardware`,`P'4!9Mw"y`],nS=[`scheme`,()=>Mp,`url`,`registerProtocolHandler`,`NavigatorContentUtils`,`PP&2!P&n"J2#$1$Mw%y`],rS=[`cookieEnabled`,`NavigatorCookies`,`P)4!9Mw"y`],iS=[()=>gT,`gpu`,`NavigatorGPU`,`Pn!4"9Mw#y`],aS=[`appCodeName`,`appName`,`appVersion`,`platform`,`product`,`productSub`,`userAgent`,`vendor`,`vendorSub`,`NavigatorID`,`P&4!9&4"9&4#9&4$9&4%9&4&9&4'9&4(9&4)9Mw*y`],oS=[`language`,()=>Kd,`languages`,`NavigatorLanguage`,`P&4!9&o""4#9Mw$y`],sS=[()=>_T,`locks`,`NavigatorLocks`,`Pn!4"9Mw#y`],cS=[`onLine`,`NavigatorOnLine`,`P)4!9Mw"y`],lS=[()=>vT,`mimeTypes`,`pdfViewerEnabled`,()=>yT,`plugins`,`javaEnabled`,`NavigatorPlugins`,`Pn!4"9)4#9n$4%9P)1&Mw'y`],uS=[()=>bT,`storage`,`NavigatorStorage`,`Pn!4"9Mw#y`],dS=[()=>W,()=>xT,`read`,`readText`,()=>xT,`data`,`write`,`writeText`,`Clipboard`,"Pn!Pn\"`1#P&`1$Pn%2&$`1'P&2&$`1(Mw)y"],fS=[()=>ST,`options`,()=>CT,`create`,()=>wT,()=>CT,`get`,`preventSilentAccess`,()=>CT,`credential`,`store`,`CredentialsContainer`,'PPn!2"8Pn#,J`1$Pn%2"8Pn&,J`1\'P$`1(Pn)2*$`1+Mw,y'],pS=[`watchId`,`clearWatch`,()=>TT,`successCallback`,()=>ET,`errorCallback`,()=>DT,`options`,`getCurrentPosition`,()=>TT,()=>ET,()=>DT,`watchPosition`,`Geolocation`,`PP'2!$1"Pn#2$Pn%,J2&8n'2(8$1)Pn*2$Pn+,J2&8n,2(8'1-Mw.y`],mS=[()=>OT,`status`,`setStatus`,`NavigatorLogin`,'PPn!2"$`1#Mw$y'],hS=[()=>kT,`configuration`,()=>AT,`decodingInfo`,()=>jT,()=>MT,`encodingInfo`,`MediaCapabilities`,'PPn!2"n#`1$Pn%2"n&`1\'Mw(y'],gS=[()=>W,0,`this`,()=>G,`ev`,``,`ondevicechange`,()=>NT,`enumerateDevices`,()=>PT,`options`,()=>Ys,`getDisplayMedia`,()=>FT,`getSupportedConstraints`,()=>IT,`constraints`,()=>Ys,`getUserMedia`,`type`,0,()=>LT,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>LT,()=>H,`removeEventListener`,()=>V,()=>H,`MediaDevices`,'Pn!PPn"2#n$2%"/&,J4\'Pn(F`1)Pn*2+8n,`1-Pn.1/Pn0218n2`13P"24Pn52#n6"f2%"/&27P)n8J2+8$19P&24n:27P)n;J2+8$19P"24Pn<2#n="f2%"/&27P)n>J2+8$1?P&24n@27P)nAJ2+8$1?MwBy'],_S=[()=>RT,`metadata`,()=>zT,`playbackState`,()=>BT,`action`,()=>VT,`handler`,`setActionHandler`,`active`,`setCameraActive`,`setMicrophoneActive`,()=>HT,`state`,`setPositionState`,`MediaSession`,"PPn!,J4\"n#4$Pn%2&Pn',J2($1)P)2*$`1+P)2*$`1,Pn-2.8$1/Mw0y"],vS=[()=>UT,`permissionDesc`,()=>WT,`query`,`Permissions`,'PPn!2"n#`1$Mw%y'],yS=[()=>W,()=>Fb,`controller`,0,`this`,()=>G,`ev`,``,`oncontrollerchange`,0,()=>Qf,`onmessage`,0,()=>Qf,`onmessageerror`,()=>GT,`ready`,()=>Mp,`clientURL`,()=>GT,`getRegistration`,()=>Kd,()=>GT,`getRegistrations`,()=>Mp,`scriptURL`,()=>KT,`options`,()=>GT,`register`,`startMessages`,`type`,0,()=>qT,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>qT,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorkerContainer`,`Pn!Pn",J4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,PPn-2%n.2'"/(,J4/n0\`419PP&n2J238Pn4-J\`15Pn7o6"\`18PP&n9J2:n;2<8n=\`1>P$1?P"2@PnA2%nB"f2'"/(2CP)nDJ2<8$1EP&2@nF2CP)nGJ2<8$1EP"2@PnH2%nI"f2'"/(2CP)nJJ2<8$1KP&2@nL2CP)nMJ2<8$1KMwNy`],bS=[`hasBeenActive`,`isActive`,`UserActivation`,`P)4!9)4"9Mw#y`],xS=[()=>JT,`type`,()=>YT,`request`,`WakeLock`,'PPn!2"8n#`1$Mw%y'],SS=[()=>Ql,`files`,`text`,`title`,`url`,`ShareData`,`Pn!F4"8&4#8&4$8&4%8Mw&y`],CS=[`software`,`sysex`,`MIDIOptions`,`P)4!8)4"8Mw#y`],wS=[()=>W,()=>XT,`inputs`,0,`this`,()=>qf,`ev`,``,`onstatechange`,()=>ZT,`outputs`,`sysexEnabled`,`type`,0,()=>QT,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>QT,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIAccess`,`Pn!n"4#9PPn$2%n&2'"/(,J4)n*4+9)4,9P"2-Pn.2%n/"f2'"/(20P)n1J228$13P&2-n420P)n5J228$13P"2-Pn62%n7"f2'"/(20P)n8J228$19P&2-n:20P)n;J228$19Mw<y`],TS=[()=>$T,`audioCapabilities`,()=>eE,`distinctiveIdentifier`,`initDataTypes`,`label`,()=>eE,`persistentState`,`sessionTypes`,()=>$T,`videoCapabilities`,`MediaKeySystemConfiguration`,`Pn!F4"8n#4$8&F4%8&4&8n'4(8&F4)8n*F4+8Mw,y`],ES=[`keySystem`,()=>bx,`createMediaKeys`,()=>TS,`getConfiguration`,`MediaKeySystemAccess`,'P&4!9Pn"`1#Pn$1%Mw&y'],DS=[()=>zd,()=>tE,`BodyInit`,`Pn!n"Jw#y`],OS=[`VibratePattern`,`P''FJw!y`],kS=[`domain`,`name`,`partitioned`,`path`,`CookieStoreDeleteOptions`,`PP&,J4!8&4")4#8&4$8Mw%y`],AS=[`name`,`url`,`CookieStoreGetOptions`,`P&4!8&4"8Mw#y`],jS=[()=>D_,`CookieList`,`n!Fw"y`],MS=[`domain`,()=>Bd,`expires`,`name`,`partitioned`,`path`,()=>nE,`sameSite`,`value`,`CookieInit`,`PP&,J4!8Pn",J4#8&4$)4%8&4&8n'4(8&4)Mw*y`],NS=[()=>Rf,`change`,`CookieStoreEventMap`,`Pn!4"Mw#y`],PS=[`auto`,`manual`,`ScrollRestoration`,`P.!."Jw#y`],FS=[`committed`,`finished`,()=>B_,`from`,()=>R_,`navigationType`,`NavigationTransition`,"P$`4!9$`4\"9n#4$9n%4&9Mw'y"],IS=[`info`,`NavigationOptions`,`P"4!8Mw"y`],LS=[()=>B_,`committed`,()=>B_,`finished`,`NavigationResult`,'Pn!`4"8n#`4$8Mw%y'],RS=[()=>IS,()=>rE,`history`,`state`,`NavigationNavigateOptions`,`Pn!n"4#8"4$8Mw%y`],zS=[()=>IS,`state`,`NavigationReloadOptions`,`Pn!"4"8Mw#y`],BS=[`state`,`NavigationUpdateCurrentEntryOptions`,`P"4!Mw"y`],VS=[()=>ep,`currententrychange`,()=>$f,`navigate`,()=>Hd,`navigateerror`,()=>G,`navigatesuccess`,`NavigationEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],HS=[()=>W,`angle`,0,`this`,()=>G,`ev`,``,`onchange`,()=>iE,`type`,()=>aE,`orientation`,`lock`,`unlock`,0,()=>oE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>oE,()=>H,`removeEventListener`,()=>V,()=>H,`ScreenOrientation`,`Pn!'4"9PPn#2$n%2&"/',J4(n)4*9Pn+2,$\`1-P$1.P"2*Pn/2$n0"f2&"/'21P)n2J238$14P&2*n521P)n6J238$14P"2*Pn72$n8"f2&"/'21P)n9J238$1:P&2*n;21P)n<J238$1:Mw=y`],US=[()=>G,`voiceschanged`,`SpeechSynthesisEventMap`,`Pn!4"Mw#y`],WS=[()=>G,`resize`,()=>G,`scroll`,`VisualViewportEventMap`,`Pn!4"n#4$Mw%y`],GS=[()=>sE,`accentColor`,`alignContent`,`alignItems`,`alignSelf`,`alignmentBaseline`,`all`,`anchorName`,`anchorScope`,`animation`,`animationComposition`,`animationDelay`,`animationDirection`,`animationDuration`,`animationFillMode`,`animationIterationCount`,`animationName`,`animationPlayState`,`animationRange`,`animationRangeEnd`,`animationRangeStart`,`animationTimeline`,`animationTimingFunction`,`appearance`,`aspectRatio`,`backdropFilter`,`backfaceVisibility`,`background`,`backgroundAttachment`,`backgroundBlendMode`,`backgroundClip`,`backgroundColor`,`backgroundImage`,`backgroundOrigin`,`backgroundPosition`,`backgroundPositionX`,`backgroundPositionY`,`backgroundRepeat`,`backgroundSize`,`baselineShift`,`baselineSource`,`blockSize`,`border`,`borderBlock`,`borderBlockColor`,`borderBlockEnd`,`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`,`borderBlockStart`,`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`,`borderBlockStyle`,`borderBlockWidth`,`borderBottom`,`borderBottomColor`,`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderBottomStyle`,`borderBottomWidth`,`borderCollapse`,`borderColor`,`borderEndEndRadius`,`borderEndStartRadius`,`borderImage`,`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`,`borderInline`,`borderInlineColor`,`borderInlineEnd`,`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`,`borderInlineStart`,`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`,`borderInlineStyle`,`borderInlineWidth`,`borderLeft`,`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`,`borderRadius`,`borderRight`,`borderRightColor`,`borderRightStyle`,`borderRightWidth`,`borderSpacing`,`borderStartEndRadius`,`borderStartStartRadius`,`borderStyle`,`borderTop`,`borderTopColor`,`borderTopLeftRadius`,`borderTopRightRadius`,`borderTopStyle`,`borderTopWidth`,`borderWidth`,`bottom`,`boxDecorationBreak`,`boxShadow`,`boxSizing`,`breakAfter`,`breakBefore`,`breakInside`,`captionSide`,`caretColor`,`clear`,`clip`,`clipPath`,`clipRule`,`color`,`colorInterpolation`,`colorInterpolationFilters`,`colorScheme`,`columnCount`,`columnFill`,`columnGap`,`columnRule`,`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`,`columnSpan`,`columnWidth`,`columns`,`contain`,`containIntrinsicBlockSize`,`containIntrinsicHeight`,`containIntrinsicInlineSize`,`containIntrinsicSize`,`containIntrinsicWidth`,`container`,`containerName`,`containerType`,`content`,`contentVisibility`,`counterIncrement`,`counterReset`,`counterSet`,`cssFloat`,`cursor`,`cx`,`cy`,`d`,`direction`,`display`,`dominantBaseline`,`dynamicRangeLimit`,`emptyCells`,`fieldSizing`,`fill`,`fillOpacity`,`fillRule`,`filter`,`flex`,`flexBasis`,`flexDirection`,`flexFlow`,`flexGrow`,`flexShrink`,`flexWrap`,`float`,`floodColor`,`floodOpacity`,`font`,`fontFamily`,`fontFeatureSettings`,`fontKerning`,`fontLanguageOverride`,`fontOpticalSizing`,`fontPalette`,`fontSize`,`fontSizeAdjust`,`fontStretch`,`fontStyle`,`fontSynthesis`,`fontSynthesisSmallCaps`,`fontSynthesisStyle`,`fontSynthesisWeight`,`fontVariant`,`fontVariantAlternates`,`fontVariantCaps`,`fontVariantEastAsian`,`fontVariantEmoji`,`fontVariantLigatures`,`fontVariantNumeric`,`fontVariantPosition`,`fontVariationSettings`,`fontWeight`,`forcedColorAdjust`,`gap`,`grid`,`gridArea`,`gridAutoColumns`,`gridAutoFlow`,`gridAutoRows`,`gridColumn`,`gridColumnEnd`,`gridColumnGap`,`gridColumnStart`,`gridGap`,`gridRow`,`gridRowEnd`,`gridRowGap`,`gridRowStart`,`gridTemplate`,`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`,`height`,`hyphenateCharacter`,`hyphenateLimitChars`,`hyphens`,`imageOrientation`,`imageRendering`,`inlineSize`,`inset`,`insetBlock`,`insetBlockEnd`,`insetBlockStart`,`insetInline`,`insetInlineEnd`,`insetInlineStart`,`isolation`,`justifyContent`,`justifyItems`,`justifySelf`,`left`,`letterSpacing`,`lightingColor`,`lineBreak`,`lineHeight`,`listStyle`,`listStyleImage`,`listStylePosition`,`listStyleType`,`margin`,`marginBlock`,`marginBlockEnd`,`marginBlockStart`,`marginBottom`,`marginInline`,`marginInlineEnd`,`marginInlineStart`,`marginLeft`,`marginRight`,`marginTop`,`marker`,`markerEnd`,`markerMid`,`markerStart`,`mask`,`maskClip`,`maskComposite`,`maskImage`,`maskMode`,`maskOrigin`,`maskPosition`,`maskRepeat`,`maskSize`,`maskType`,`mathDepth`,`mathShift`,`mathStyle`,`maxBlockSize`,`maxHeight`,`maxInlineSize`,`maxWidth`,`minBlockSize`,`minHeight`,`minInlineSize`,`minWidth`,`mixBlendMode`,`objectFit`,`objectPosition`,`offset`,`offsetAnchor`,`offsetDistance`,`offsetPath`,`offsetPosition`,`offsetRotate`,`opacity`,`order`,`orphans`,`outline`,`outlineColor`,`outlineOffset`,`outlineStyle`,`outlineWidth`,`overflow`,`overflowAnchor`,`overflowBlock`,`overflowClipMargin`,`overflowInline`,`overflowWrap`,`overflowX`,`overflowY`,`overscrollBehavior`,`overscrollBehaviorBlock`,`overscrollBehaviorInline`,`overscrollBehaviorX`,`overscrollBehaviorY`,`padding`,`paddingBlock`,`paddingBlockEnd`,`paddingBlockStart`,`paddingBottom`,`paddingInline`,`paddingInlineEnd`,`paddingInlineStart`,`paddingLeft`,`paddingRight`,`paddingTop`,`page`,`pageBreakAfter`,`pageBreakBefore`,`pageBreakInside`,`paintOrder`,`perspective`,`perspectiveOrigin`,`placeContent`,`placeItems`,`placeSelf`,`pointerEvents`,`position`,`positionAnchor`,`positionArea`,`positionTry`,`positionTryFallbacks`,`positionTryOrder`,`positionVisibility`,`printColorAdjust`,`quotes`,`r`,`resize`,`right`,`rotate`,`rowGap`,`rubyAlign`,`rubyPosition`,`rx`,`ry`,`scale`,`scrollBehavior`,`scrollMargin`,`scrollMarginBlock`,`scrollMarginBlockEnd`,`scrollMarginBlockStart`,`scrollMarginBottom`,`scrollMarginInline`,`scrollMarginInlineEnd`,`scrollMarginInlineStart`,`scrollMarginLeft`,`scrollMarginRight`,`scrollMarginTop`,`scrollPadding`,`scrollPaddingBlock`,`scrollPaddingBlockEnd`,`scrollPaddingBlockStart`,`scrollPaddingBottom`,`scrollPaddingInline`,`scrollPaddingInlineEnd`,`scrollPaddingInlineStart`,`scrollPaddingLeft`,`scrollPaddingRight`,`scrollPaddingTop`,`scrollSnapAlign`,`scrollSnapStop`,`scrollSnapType`,`scrollTimeline`,`scrollTimelineAxis`,`scrollTimelineName`,`scrollbarColor`,`scrollbarGutter`,`scrollbarWidth`,`shapeImageThreshold`,`shapeMargin`,`shapeOutside`,`shapeRendering`,`stopColor`,`stopOpacity`,`stroke`,`strokeDasharray`,`strokeDashoffset`,`strokeLinecap`,`strokeLinejoin`,`strokeMiterlimit`,`strokeOpacity`,`strokeWidth`,`tabSize`,`tableLayout`,`textAlign`,`textAlignLast`,`textAnchor`,`textAutospace`,`textBox`,`textBoxEdge`,`textBoxTrim`,`textCombineUpright`,`textDecoration`,`textDecorationColor`,`textDecorationLine`,`textDecorationSkipInk`,`textDecorationStyle`,`textDecorationThickness`,`textEmphasis`,`textEmphasisColor`,`textEmphasisPosition`,`textEmphasisStyle`,`textIndent`,`textJustify`,`textOrientation`,`textOverflow`,`textRendering`,`textShadow`,`textTransform`,`textUnderlineOffset`,`textUnderlinePosition`,`textWrap`,`textWrapMode`,`textWrapStyle`,`timelineScope`,`top`,`touchAction`,`transform`,`transformBox`,`transformOrigin`,`transformStyle`,`transition`,`transitionBehavior`,`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`,`translate`,`unicodeBidi`,`userSelect`,`vectorEffect`,`verticalAlign`,`viewTimeline`,`viewTimelineAxis`,`viewTimelineInset`,`viewTimelineName`,`viewTransitionClass`,`viewTransitionName`,`visibility`,`webkitAlignContent`,`webkitAlignItems`,`webkitAlignSelf`,`webkitAnimation`,`webkitAnimationDelay`,`webkitAnimationDirection`,`webkitAnimationDuration`,`webkitAnimationFillMode`,`webkitAnimationIterationCount`,`webkitAnimationName`,`webkitAnimationPlayState`,`webkitAnimationTimingFunction`,`webkitAppearance`,`webkitBackfaceVisibility`,`webkitBackgroundClip`,`webkitBackgroundOrigin`,`webkitBackgroundSize`,`webkitBorderBottomLeftRadius`,`webkitBorderBottomRightRadius`,`webkitBorderRadius`,`webkitBorderTopLeftRadius`,`webkitBorderTopRightRadius`,`webkitBoxAlign`,`webkitBoxFlex`,`webkitBoxOrdinalGroup`,`webkitBoxOrient`,`webkitBoxPack`,`webkitBoxShadow`,`webkitBoxSizing`,`webkitFilter`,`webkitFlex`,`webkitFlexBasis`,`webkitFlexDirection`,`webkitFlexFlow`,`webkitFlexGrow`,`webkitFlexShrink`,`webkitFlexWrap`,`webkitJustifyContent`,`webkitLineClamp`,`webkitMask`,`webkitMaskBoxImage`,`webkitMaskBoxImageOutset`,`webkitMaskBoxImageRepeat`,`webkitMaskBoxImageSlice`,`webkitMaskBoxImageSource`,`webkitMaskBoxImageWidth`,`webkitMaskClip`,`webkitMaskComposite`,`webkitMaskImage`,`webkitMaskOrigin`,`webkitMaskPosition`,`webkitMaskRepeat`,`webkitMaskSize`,`webkitOrder`,`webkitPerspective`,`webkitPerspectiveOrigin`,`webkitTextFillColor`,`webkitTextSizeAdjust`,`webkitTextStroke`,`webkitTextStrokeColor`,`webkitTextStrokeWidth`,`webkitTransform`,`webkitTransformOrigin`,`webkitTransformStyle`,`webkitTransition`,`webkitTransitionDelay`,`webkitTransitionDuration`,`webkitTransitionProperty`,`webkitTransitionTimingFunction`,`webkitUserSelect`,`whiteSpace`,`whiteSpaceCollapse`,`widows`,`width`,`willChange`,`wordBreak`,`wordSpacing`,`wordWrap`,`writingMode`,`x`,`y`,`zIndex`,`zoom`,`CSSStyleProperties`,`Pn!&4"&4#&4$&4%&4&&4'&4(&4)&4*&4+&4,&4-&4.&4/&40&41&42&43&44&45&46&47&48&49&4:&4;&4<&4=&4>&4?&4@&4A&4B&4C&4D&4E&4F&4G&4H&4I&4J&4K&4L&4M&4N&4O&4P&4Q&4R&4S&4T&4U&4V&4W&4X&4Y&4Z&4[&4\\&4]&4^&4_&4\`&4a&4b&4c&4d&4e&4f&4g&4h&4i&4j&4k&4l&4m&4n&4o&4p&4q&4r&4s&4t&4u&4v&4w&4x&4y&4z&4{&4|&4}&4~&4&4&4&4&4&4&4
&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4\xA0&4¡&4¢&4£&4¤&4¥&4¦&4§&4¨&4©&4ª&4«&4¬&4&4®&4¯&4°&4±&4²&4³&4´&4µ&4¶&4·&4¸&4¹&4º&4»&4¼&4½&4¾&4¿&4À&4Á&4Â&4Ã&4Ä&4Å&4Æ&4Ç&4È&4É&4Ê&4Ë&4Ì&4Í&4Î&4Ï&4Ð&4Ñ&4Ò&4Ó&4Ô&4Õ&4Ö&4×&4Ø&4Ù&4Ú&4Û&4Ü&4Ý&4Þ&4ß&4à&4á&4â&4ã&4ä&4å&4æ&4ç&4è&4é&4ê&4ë&4ì&4í&4î&4ï&4ð&4ñ&4ò&4ó&4ô&4õ&4ö&4÷&4ø&4ù&4ú&4û&4ü&4ý&4þ&4ÿ&4Ā&4ā&4Ă&4ă&4Ą&4ą&4Ć&4ć&4Ĉ&4ĉ&4Ċ&4ċ&4Č&4č&4Ď&4ď&4Đ&4đ&4Ē&4ē&4Ĕ&4ĕ&4Ė&4ė&4Ę&4ę&4Ě&4ě&4Ĝ&4ĝ&4Ğ&4ğ&4Ġ&4ġ&4Ģ&4ģ&4Ĥ&4ĥ&4Ħ&4ħ&4Ĩ&4ĩ&4Ī&4ī&4Ĭ&4ĭ&4Į&4į&4İ&4ı&4IJ&4ij&4Ĵ&4ĵ&4Ķ&4ķ&4ĸ&4Ĺ&4ĺ&4Ļ&4ļ&4Ľ&4ľ&4Ŀ&4ŀ&4Ł&4ł&4Ń&4ń&4Ņ&4ņ&4Ň&4ň&4ʼn&4Ŋ&4ŋ&4Ō&4ō&4Ŏ&4ŏ&4Ő&4ő&4Œ&4œ&4Ŕ&4ŕ&4Ŗ&4ŗ&4Ř&4ř&4Ś&4ś&4Ŝ&4ŝ&4Ş&4ş&4Š&4š&4Ţ&4ţ&4Ť&4ť&4Ŧ&4ŧ&4Ũ&4ũ&4Ū&4ū&4Ŭ&4ŭ&4Ů&4ů&4Ű&4ű&4Ų&4ų&4Ŵ&4ŵ&4Ŷ&4ŷ&4Ÿ&4Ź&4ź&4Ż&4ż&4Ž&4ž&4ſ&4ƀ&4Ɓ&4Ƃ&4ƃ&4Ƅ&4ƅ&4Ɔ&4Ƈ&4ƈ&4Ɖ&4Ɗ&4Ƌ&4ƌ&4ƍ&4Ǝ&4Ə&4Ɛ&4Ƒ&4ƒ&4Ɠ&4Ɣ&4ƕ&4Ɩ&4Ɨ&4Ƙ&4ƙ&4ƚ&4ƛ&4Ɯ&4Ɲ&4ƞ&4Ɵ&4Ơ&4ơ&4Ƣ&4ƣ&4Ƥ&4ƥ&4Ʀ&4Ƨ&4ƨ&4Ʃ&4ƪ&4ƫ&4Ƭ&4ƭ&4Ʈ&4Ư&4ư&4Ʊ&4Ʋ&4Ƴ&4ƴ&4Ƶ&4ƶ&4Ʒ&4Ƹ&4ƹ&4ƺ&4ƻ&4Ƽ&4ƽ&4ƾ&4ƿ&4ǀ&4ǁ&4ǂ&4ǃ&4DŽ&4Dž&4dž&4LJ&4Lj&4lj&4NJ&4Nj&4nj&4Ǎ&4ǎ&4Ǐ&4ǐ&4Ǒ&4ǒ&4Ǔ&4ǔ&4Ǖ&4ǖ&4Ǘ&4ǘ&4Ǚ&4ǚ&4Ǜ&4ǜ&4ǝ&4Ǟ&4ǟ&4Ǡ&4ǡ&4Ǣ&4ǣ&4Ǥ&4ǥ&4Ǧ&4ǧ&4Ǩ&4ǩ&4Ǫ&4ǫ&4Ǭ&4ǭ&4Ǯ&4ǯ&4ǰ&4DZ&4Dz&4dz&4Ǵ&4ǵ&4Ƕ&4Ƿ&4Ǹ&4ǹ&4Ǻ&4ǻ&4Ǽ&4ǽ&4Ǿ&4ǿ&4Ȁ&4ȁ&4Ȃ&4ȃ&4Ȅ&4ȅ&4Ȇ&4ȇ&4Ȉ&4ȉ&4Ȋ&4ȋ&4Ȍ&4ȍ&4Ȏ&4ȏ&4Ȑ&4ȑ&4Ȓ&4ȓ&4Ȕ&4ȕ&4Ȗ&4ȗ&4Ș&4ș&4Ț&4ț&4Ȝ&4ȝ&4Ȟ&4ȟ&4Ƞ&4ȡ&4Ȣ&4ȣ&4Ȥ&4ȥ&4Ȧ&4ȧ&4Ȩ&4ȩ&4Ȫ&4ȫ&4Ȭ&4ȭ&4Ȯ&4ȯ&4Ȱ&4ȱ&4Ȳ&4ȳ&4ȴ&4ȵ&4ȶMwȷy`],KS=[()=>Zf,`change`,`MediaQueryListEventMap`,`Pn!4"Mw#y`],qS=[`MediaSourceHandle`,`PMw!y`],JS=[`I`,`O`,()=>zd,`readable`,()=>Gg,`writable`,`TransformStream`,`"c!"c"Pe""o#"4$9e"!o%"4&9Mw'y`],YS=[`duration`,()=>cE,`format`,`numberOfChannels`,`numberOfFrames`,`sampleRate`,`timestamp`,()=>lE,`options`,`allocationSize`,0,`clone`,`close`,()=>wd,`destination`,()=>lE,`copyTo`,`AudioData`,`P'4!9Pn",J4#9'4$9'4%9'4&9'4'9Pn(2)'1*Pn+1,P$1-Pn.2/n02)$11Mw2y`],XS=[`didTimeout`,()=>Bd,`timeRemaining`,`IdleDeadline`,`P)4!9Pn"1#Mw$y`],ZS=[`kind`,`type`,()=>Ql,`getAsFile`,()=>uE,`callback`,`getAsString`,()=>mv,`webkitGetAsEntry`,`DataTransferItem`,`P&4!9&4"9PPn#,J1$PPn%,J2&$1'PPn(,J1)Mw*y`],QS=[()=>_g,`exact`,`ideal`,`ConstrainDoubleRange`,`Pn!'4"8'4#8Mw$y`],$S=[`exact`,`ideal`,`ConstrainBooleanParameters`,`P)4!8)4"8Mw#y`],eC=[()=>vg,`exact`,`ideal`,`ConstrainULongRange`,`Pn!'4"8'4#8Mw$y`],tC=[`exact`,`ideal`,`ConstrainDOMStringParameters`,`PP&&FJ4!8P&&FJ4"8Mw#y`],nC=[`exact`,`ideal`,`ConstrainBooleanOrDOMStringParameters`,`PP)&J4!8P)&J4"8Mw#y`],rC=[`bt470bg`,`bt709`,`rgb`,`smpte170m`,`VideoMatrixCoefficients`,`P.!.".#.$Jw%y`],iC=[`bt470bg`,`bt709`,`smpte170m`,`VideoColorPrimaries`,`P.!.".#Jw$y`],aC=[`bt709`,`iec61966-2-1`,`smpte170m`,`VideoTransferCharacteristics`,`P.!.".#Jw$y`],oC=[`fullRange`,()=>rC,`matrix`,()=>iC,`primaries`,()=>aC,`transfer`,`VideoColorSpaceInit`,`PP),J4!8Pn",J4#8Pn$,J4%8Pn&,J4'8Mw(y`],sC=[`height`,`width`,`x`,`y`,`DOMRectInit`,`P'4!8'4"8'4#8'4$8Mw%y`],cC=[`destroyed`,`unknown`,`GPUDeviceLostReason`,`P.!."Jw#y`],lC=[`flipY`,()=>dE,`origin`,()=>fE,`source`,`GPUCopyExternalImageSourceInfo`,`P)4!8n"4#8n$4%Mw&y`],uC=[()=>mC,()=>gc,`colorSpace`,`premultipliedAlpha`,`GPUCopyExternalImageDestInfo`,`Pn!n"4#8)4$8Mw%y`],dC=[()=>Qy,()=>pE,`GPUExtent3D`,`Pn!Fn"Jw#y`],fC=[()=>Mg,`GPUCommandBuffer`,`Pn!Mw"y`],pC=[`GPUSize64`,`'w!y`],mC=[()=>$y,`aspect`,()=>Qy,`mipLevel`,()=>mE,`origin`,()=>Rd,`texture`,`GPUTexelCopyTextureInfo`,`Pn!4"8n#4$8n%4&8n'4(Mw)y`],hC=[()=>kC,`bytesPerRow`,()=>pC,`offset`,()=>kC,`rowsPerImage`,`GPUTexelCopyBufferLayout`,`Pn!4"8n#4$8n%4&8Mw'y`],gC=[()=>hE,`binding`,()=>gE,`resource`,`GPUBindGroupEntry`,`Pn!4"n#4$Mw%y`],_C=[()=>hE,`binding`,()=>_E,`buffer`,()=>vE,`externalTexture`,()=>yE,`sampler`,()=>bE,`storageTexture`,()=>xE,`texture`,()=>SE,`visibility`,`GPUBindGroupLayoutEntry`,`Pn!4"n#4$8n%4&8n'4(8n)4*8n+4,8n-4.Mw/y`],vC=[`GPUBufferUsageFlags`,`'w!y`],yC=[`mapped`,`pending`,`unmapped`,`GPUBufferMapState`,`P.!.".#Jw$y`],bC=[`GPUSize64Out`,`'w!y`],xC=[`GPUMapModeFlags`,`'w!y`],SC=[`markerLabel`,`insertDebugMarker`,`popDebugGroup`,`groupLabel`,`pushDebugGroup`,`GPUDebugCommandsMixin`,`PP&2!$1"P$1#P&2$$1%Mw&y`],CC=[()=>Zy,()=>CE,`timestampWrites`,`GPUComputePassDescriptor`,`Pn!n"4#8Mw$y`],wC=[()=>FC,()=>SC,()=>Mg,()=>kC,`workgroupCountX`,()=>kC,`workgroupCountY`,()=>kC,`workgroupCountZ`,`dispatchWorkgroups`,()=>Oy,`indirectBuffer`,()=>pC,`indirectOffset`,`dispatchWorkgroupsIndirect`,`end`,()=>My,`pipeline`,`setPipeline`,`GPUComputePassEncoder`,`Pn!n"n#Pn$2%n&2'8n(2)8$1*Pn+2,n-2.$1/P$10Pn122$13Mw4y`],TC=[()=>Zy,()=>wE,`colorAttachments`,()=>TE,`depthStencilAttachment`,()=>pC,`maxDrawCount`,()=>Iy,`occlusionQuerySet`,()=>EE,`timestampWrites`,`GPURenderPassDescriptor`,`Pn!Pn",JF4#n$4%8n&4'8n(4)8n*4+8Mw,y`],EC=[()=>FC,()=>SC,()=>Mg,()=>IC,()=>kC,`queryIndex`,`beginOcclusionQuery`,`end`,`endOcclusionQuery`,()=>RC,`bundles`,`executeBundles`,()=>DE,`color`,`setBlendConstant`,()=>Qy,`x`,()=>Qy,`y`,()=>Qy,`width`,()=>Qy,`height`,`setScissorRect`,()=>OE,`reference`,`setStencilReference`,`minDepth`,`maxDepth`,`setViewport`,`GPURenderPassEncoder`,`Pn!n"n#n$Pn%2&$1'P$1(P$1)Pn*F2+$1,Pn-2.$1/Pn021n223n425n627$18Pn92:$1;P'21'23'25'27'2<'2=$1>Mw?y`],DC=[()=>hC,()=>Oy,`buffer`,`GPUTexelCopyBufferInfo`,`Pn!n"4#Mw$y`],OC=[()=>Zy,`GPUCommandBufferDescriptor`,`Pn!Mw"y`],kC=[`GPUSize32`,`'w!y`],AC=[()=>Zy,()=>Py,()=>kE,`layout`,`GPUPipelineDescriptorBase`,`Pn!Pn"n#J4$Mw%y`],jC=[()=>AE,()=>jE,`constants`,`entryPoint`,()=>Wy,`module`,`GPUProgrammableStage`,`P&n"o!#4#8&4$8n%4&Mw'y`],MC=[`index`,()=>Ey,`getBindGroupLayout`,`GPUPipelineBase`,`PP'2!n"1#Mw$y`],NC=[`occlusion`,`timestamp`,`GPUQueryType`,`P.!."Jw#y`],PC=[()=>Zy,()=>kg,`colorFormats`,()=>kg,`depthStencilFormat`,()=>kC,`sampleCount`,`GPURenderPassLayout`,`Pn!Pn",JF4#n$4%8n&4'8Mw(y`],FC=[()=>hE,`index`,()=>wy,`bindGroup`,()=>ME,`dynamicOffsets`,`setBindGroup`,()=>hE,()=>wy,`dynamicOffsetsData`,()=>pC,`dynamicOffsetsDataStart`,()=>kC,`dynamicOffsetsDataLength`,`GPUBindingCommandsMixin`,`PPn!2"Pn#,J2$n%F2&8$1'Pn(2"Pn),J2$[2*n+2,n-2.$1'Mw/y`],IC=[()=>kC,`vertexCount`,()=>kC,`instanceCount`,()=>kC,`firstVertex`,()=>kC,`firstInstance`,`draw`,()=>kC,`indexCount`,()=>kC,()=>kC,`firstIndex`,()=>NE,`baseVertex`,()=>kC,`drawIndexed`,()=>Oy,`indirectBuffer`,()=>pC,`indirectOffset`,`drawIndexedIndirect`,()=>Oy,()=>pC,`drawIndirect`,()=>Oy,`buffer`,()=>PE,`indexFormat`,()=>pC,`offset`,()=>pC,`size`,`setIndexBuffer`,()=>By,`pipeline`,`setPipeline`,()=>hE,`slot`,()=>Oy,()=>pC,()=>pC,`setVertexBuffer`,`GPURenderCommandsMixin`,`PPn!2"n#2$8n%2&8n'2(8$1)Pn*2+n,2$8n-2.8n/208n12(8$12Pn324n526$17Pn824n926$1:Pn;2<n=2>n?2@8nA2B8$1CPnD2E$1FPnG2HPnI,J2<nJ2@8nK2B8$1LMwMy`],LC=[()=>Zy,`GPURenderBundleDescriptor`,`Pn!Mw"y`],RC=[()=>Mg,`GPURenderBundle`,`Pn!Mw"y`],zC=[()=>FE,`depthBias`,`depthBiasClamp`,`depthBiasSlopeScale`,()=>GC,`depthCompare`,`depthWriteEnabled`,()=>kg,`format`,()=>IE,`stencilBack`,()=>IE,`stencilFront`,()=>OE,`stencilReadMask`,()=>OE,`stencilWriteMask`,`GPUDepthStencilState`,`Pn!4"8'4#8'4$8n%4&8)4'8n(4)n*4+8n,4-8n.4/8n0418Mw2y`],BC=[()=>jC,()=>LE,`targets`,`GPUFragmentState`,`Pn!Pn",JF4#Mw$y`],VC=[`alphaToCoverageEnabled`,()=>kC,`count`,()=>RE,`mask`,`GPUMultisampleState`,`P)4!8n"4#8n$4%8Mw&y`],HC=[()=>zE,`cullMode`,()=>BE,`frontFace`,()=>PE,`stripIndexFormat`,()=>VE,`topology`,`unclippedDepth`,`GPUPrimitiveState`,`Pn!4"8n#4$8n%4&8n'4(8)4)8Mw*y`],UC=[()=>jC,()=>HE,`buffers`,`GPUVertexState`,`Pn!Pn",JF4#8Mw$y`],WC=[`clamp-to-edge`,`mirror-repeat`,`repeat`,`GPUAddressMode`,`P.!.".#Jw$y`],GC=[`always`,`equal`,`greater`,`greater-equal`,`less`,`less-equal`,`never`,`not-equal`,`GPUCompareFunction`,`P.!.".#.$.%.&.'.(Jw)y`],KC=[`linear`,`nearest`,`GPUFilterMode`,`P.!."Jw#y`],qC=[`linear`,`nearest`,`GPUMipmapFilterMode`,`P.!."Jw#y`],JC=[()=>Kd,()=>UE,`messages`,`GPUCompilationInfo`,`Pn"o!"4#9Mw$y`],YC=[`T`,!1,`done`,`value`,`ReadableStreamReadValueResult`,`b!P."4#e"!4$Mw%y`],XC=[`T`,!0,`done`,`value`,`ReadableStreamReadDoneResult`,`b!P."4#Pe#!-J4$Mw%y`],ZC=[`alternate`,`alternate-reverse`,`normal`,`reverse`,`PlaybackDirection`,`P.!.".#.$Jw%y`],QC=[`auto`,`backwards`,`both`,`forwards`,`none`,`FillMode`,`P.!.".#.$.%Jw&y`],$C=[()=>Xg,()=>WE,`operator`,`CSSMathValue`,`Pn!n"4#9Mw$y`],ew=[`length`,()=>Xg,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,()=>Xg,`CSSNumericArray`,`P'4!9PPn"2#'2$n%2&$/'2("2)8$1*'n+LMw,y`],tw=[`angle`,`flex`,`frequency`,`length`,`percent`,`resolution`,`time`,`CSSNumericBaseType`,`P.!.".#.$.%.&.'Jw(y`],nw=[`length`,`numberOfItems`,`newItem`,`appendItem`,`clear`,`index`,`getItem`,`initialize`,`insertItemBefore`,`removeItem`,`replaceItem`,`SVGStringList`,`P'4!9'4"9P&2#&1$P$1%P'2&&1'P&2#&1(P&2#'2&&1)P'2&&1*P&2#'2&&1+'&LMw,y`],rw=[`dual-rumble`,`trigger-rumble`,`GamepadHapticEffectType`,`P.!."Jw#y`],iw=[`duration`,`leftTrigger`,`rightTrigger`,`startDelay`,`strongMagnitude`,`weakMagnitude`,`GamepadEffectParameters`,`P'4!8'4"8'4#8'4$8'4%8'4&8Mw'y`],aw=[`complete`,`preempted`,`GamepadHapticsResult`,`P.!."Jw#y`],ow=[()=>Qf,`message`,()=>Qf,`messageerror`,`MessageEventTargetEventMap`,`Pn!4"n#4$Mw%y`],sw=[0,`this`,()=>Hd,`ev`,``,`onerror`,`type`,0,()=>GE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>GE,()=>H,`removeEventListener`,()=>V,()=>H,`AbstractWorker`,`PPPn!2"n#2$"/%,J4&P"2'Pn(2"n)"f2$"/%2*P)n+J2,8$1-P&2'n.2*P)n/J2,8$1-P"2'Pn02"n1"f2$"/%2*P)n2J2,8$13P&2'n42*P)n5J2,8$13Mw6y`],cw=[`activated`,`activating`,`installed`,`installing`,`parsed`,`redundant`,`ServiceWorkerState`,`P.!.".#.$.%.&Jw'y`],lw=[()=>GE,()=>G,`statechange`,`ServiceWorkerEventMap`,`Pn!n"4#Mw$y`],uw=[()=>Lb,`handler`,`addHandler`,()=>Mp,`url`,()=>RS,`options`,`redirect`,`NavigationPrecommitController`,`PPn!2"$1#PP&n$J2%n&2'8$1(Mw)y`],dw=[()=>Ub,`additionalDisplayItems`,`data`,`supportedMethods`,()=>Ub,`total`,`PaymentDetailsModifier`,`Pn!F4"8"4#8&4$n%4&8Mw'y`],fw=[()=>pw,`amount`,`id`,`label`,`selected`,`PaymentShippingOption`,`Pn!4"&4#&4$)4%8Mw&y`],pw=[`currency`,`value`,`PaymentCurrencyAmount`,`P&4!&4"Mw#y`],mw=[`RTCRtpScriptTransform`,`PMw!y`],hw=[()=>W,()=>KE,`gatheringState`,0,`this`,()=>G,`ev`,``,`ongatheringstatechange`,0,()=>G,`onselectedcandidatepairchange`,0,()=>G,`onstatechange`,()=>qE,`state`,()=>JE,`getSelectedCandidatePair`,`type`,0,()=>YE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>YE,()=>H,`removeEventListener`,()=>V,()=>H,`RTCIceTransport`,`Pn!n"4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,PPn-2%n.2'"/(,J4/n0419PPn2,J13P"24Pn52%n6"f2'"/(27P)n8J298$1:P&24n;27P)n<J298$1:P"24Pn=2%n>"f2'"/(27P)n?J298$1@P&24nA27P)nBJ298$1@MwCy`],gw=[`closed`,`connected`,`connecting`,`failed`,`new`,`RTCDtlsTransportState`,`P.!.".#.$.%Jw&y`],_w=[()=>fp,`error`,()=>G,`statechange`,`RTCDtlsTransportEventMap`,`Pn!4"n#4$Mw%y`],vw=[()=>XE,`codecs`,()=>ZE,`headerExtensions`,()=>QE,`rtcp`,`RTCRtpParameters`,`Pn!F4"n#F4$n%4&Mw'y`],yw=[()=>W,`canInsertDTMF`,0,`this`,()=>up,`ev`,``,`ontonechange`,`toneBuffer`,`tones`,`duration`,`interToneGap`,`insertDTMF`,`type`,0,()=>$E,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>$E,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDTMFSender`,`Pn!)4"9PPn#2$n%2&"/',J4(&4)9P&2*'2+8'2,8$1-P"2.Pn/2$n0"f2&"/'21P)n2J238$14P&2.n521P)n6J238$14P"2.Pn72$n8"f2&"/'21P)n9J238$1:P&2.n;21P)n<J238$1:Mw=y`],bw=[()=>mw,`RTCRtpSenderTransform`,`n!w"y`],xw=[()=>vw,()=>eD,`degradationPreference`,()=>tD,`encodings`,`transactionId`,`RTCRtpSendParameters`,`Pn!n"4#8n$F4%&4&Mw'y`],Sw=[`RTCSetParameterOptions`,`PMw!y`],Cw=[`confidence`,`transcript`,`SpeechRecognitionAlternative`,`P'4!9&4"9Mw#y`],ww=[()=>G,`enter`,()=>G,`exit`,`TextTrackCueEventMap`,`Pn!4"n#4$Mw%y`],Tw=[`persistent-license`,`temporary`,`MediaKeySessionType`,`P.!."Jw#y`],Ew=[()=>W,()=>nD,`closed`,`expiration`,()=>rD,`keyStatuses`,0,`this`,()=>G,`ev`,``,`onkeystatuseschange`,0,()=>Xf,`onmessage`,`sessionId`,`close`,`initDataType`,()=>kw,`initData`,`generateRequest`,`load`,`remove`,()=>kw,`response`,`update`,`type`,0,()=>iD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>iD,()=>H,`removeEventListener`,()=>V,()=>H,`MediaKeySession`,'Pn!n"`4#9\'4$9n%4&9PPn\'2(n)2*"/+,J4,PPn-2(n.2*"/+,J4/&409P$`11P&22n324$`15P&20)`16P$`17Pn829$`1:P"2;Pn<2(n="f2*"/+2>P)n?J2@8$1AP&2;nB2>P)nCJ2@8$1AP"2;PnD2(nE"f2*"/+2>P)nFJ2@8$1GP&2;nH2>P)nIJ2@8$1GMwJy'],Dw=[`minHdcpVersion`,`MediaKeysPolicy`,`P&4!8Mw"y`],Ow=[`expired`,`internal-error`,`output-downscaled`,`output-restricted`,`released`,`status-pending`,`usable`,`usable-in-future`,`MediaKeyStatus`,`P.!.".#.$.%.&.'.(Jw)y`],kw=[()=>Td,`BufferSource`,`P_o!"_Jw"y`],Aw=[`connected`,`connecting`,`disconnected`,`RemotePlaybackState`,`P.!.".#Jw$y`],jw=[`available`,``,`RemotePlaybackAvailabilityCallback`,`PP)2!$v"Mw#y`],Mw=[()=>G,`connect`,()=>G,`connecting`,()=>G,`disconnect`,`RemotePlaybackEventMap`,`Pn!4"n#4$n%4&Mw'y`],Nw=[()=>W,()=>aD,`activeSourceBuffers`,`duration`,0,`this`,()=>G,`ev`,``,`onsourceclose`,0,()=>G,`onsourceended`,0,()=>G,`onsourceopen`,()=>oD,`readyState`,()=>aD,`sourceBuffers`,`type`,()=>sD,`addSourceBuffer`,`clearLiveSeekableRange`,()=>cD,`error`,`endOfStream`,()=>sD,`sourceBuffer`,`removeSourceBuffer`,`start`,`end`,`setLiveSeekableRange`,0,()=>lD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>lD,()=>H,`removeEventListener`,()=>V,()=>H,`MediaSource`,`Pn!n"4#9'4$PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-PPn.2&n/2("/),J40n1429n3449P&25n617P$18Pn92:8$1;Pn<2=$1>P'2?'2@$1AP"25PnB2&nC"f2("/)2DP)nEJ2F8$1GP&25nH2DP)nIJ2F8$1GP"25PnJ2&nK"f2("/)2DP)nLJ2F8$1MP&25nN2DP)nOJ2F8$1MMwPy`],Pw=[()=>Cp,`addtrack`,()=>G,`change`,()=>Cp,`removetrack`,`TextTrackListEventMap`,`Pn!4"n#4$n%4&Mw'y`],Fw=`additional-name address-level1 address-level2 address-level3 address-level4 address-line1 address-line2 address-line3 bday-day bday-month bday-year cc-csc cc-exp cc-exp-month cc-exp-year cc-family-name cc-given-name cc-name cc-number cc-type country country-name current-password family-name given-name honorific-prefix honorific-suffix name new-password one-time-code organization postal-code street-address transaction-amount transaction-currency username AutoFillNormalField P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.DJwEy`.split(` `),Iw=[`home`,`mobile`,`work`,`AutoFillContactKind`,`P.!.".#Jw$y`],Lw=[`email`,`tel`,`tel-area-code`,`tel-country-code`,`tel-extension`,`tel-local`,`tel-local-prefix`,`tel-local-suffix`,`tel-national`,`AutoFillContactField`,`P.!.".#.$.%.&.'.(.)Jw*y`],Rw=[()=>mv,()=>uD,`createReader`,`path`,()=>dD,`options`,()=>Mx,`successCallback`,()=>Nx,`errorCallback`,`getDirectory`,()=>dD,()=>Mx,()=>Nx,`getFile`,`FileSystemDirectoryEntry`,`Pn!Pn"1#PP&,J2$8n%2&8n'2(8n)2*8$1+PP&,J2$8n,2&8n-2(8n.2*8$1/Mw0y`],zw=[`length`,`numberOfItems`,()=>y_,`newItem`,()=>y_,`appendItem`,`clear`,`index`,()=>y_,`getItem`,()=>y_,()=>y_,`initialize`,()=>y_,()=>y_,`insertItemBefore`,()=>y_,`removeItem`,()=>y_,()=>y_,`replaceItem`,()=>y_,`SVGLengthList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],Bw=[()=>fD,`cacheName`,`MultiCacheQueryOptions`,`Pn!&4"8Mw#y`],Vw=[()=>Jx,()=>Mp,`request`,`add`,()=>Jx,`requests`,`addAll`,()=>Jx,()=>Mp,()=>fD,`options`,`delete`,()=>Jx,()=>Mp,()=>fD,()=>Kd,()=>oT,`keys`,()=>Jx,()=>Mp,()=>fD,()=>Xx,`match`,()=>Jx,()=>Mp,()=>fD,()=>Kd,()=>Xx,`matchAll`,()=>Jx,()=>Mp,()=>Xx,`response`,`put`,`Cache`,'PPPn!n"J2#$`1$Pn%F2&$`1\'PPn(n)J2#n*2+8)`1,PPn-n.J2#8n/2+8n1o0"`12PPn3n4J2#n52+8Pn6-J`17PPn8n9J2#8n:2+8n<o;"`1=PPn>n?J2#n@2A$`1BMwCy'],Hw=[()=>pD,()=>mD,()=>hD,()=>gD,()=>_D,`algorithm`,()=>vD,`key`,()=>kw,`data`,`decrypt`,()=>pD,()=>yD,()=>bD,()=>xD,()=>vD,`baseKey`,`length`,`deriveBits`,()=>pD,()=>yD,()=>bD,()=>xD,()=>vD,()=>pD,()=>SD,()=>CD,()=>bD,()=>xD,`derivedKeyType`,`extractable`,()=>wD,`keyUsages`,()=>vD,`deriveKey`,()=>pD,()=>kw,`digest`,()=>pD,()=>mD,()=>hD,()=>gD,()=>_D,()=>vD,()=>kw,`encrypt`,`jwk`,`format`,()=>vD,()=>TD,`exportKey`,()=>ED,()=>DD,`jwk`,()=>vD,()=>DD,()=>vD,()=>TD,`Ed25519`,`Ed25519`,`name`,()=>Kd,`sign`,`verify`,()=>OD,`generateKey`,`X25519`,`X25519`,()=>Kd,`deriveBits`,`deriveKey`,()=>OD,()=>kD,()=>AD,()=>Kd,()=>wD,()=>OD,()=>jD,()=>MD,()=>xD,()=>Kd,()=>wD,()=>vD,()=>pD,()=>wD,()=>OD,()=>vD,`jwk`,()=>TD,`keyData`,()=>pD,()=>ND,()=>PD,()=>CD,()=>FD,()=>Kd,()=>wD,()=>vD,`importKey`,()=>ED,()=>DD,`jwk`,()=>kw,()=>pD,()=>ND,()=>PD,()=>CD,()=>FD,()=>wD,()=>vD,()=>pD,()=>ID,()=>LD,()=>vD,()=>kw,`sign`,()=>DD,()=>kw,`wrappedKey`,()=>vD,`unwrappingKey`,()=>pD,()=>mD,()=>hD,()=>gD,()=>_D,`unwrapAlgorithm`,()=>pD,()=>ND,()=>PD,()=>CD,()=>FD,`unwrappedKeyAlgorithm`,()=>wD,()=>vD,`unwrapKey`,()=>pD,()=>ID,()=>LD,()=>vD,()=>kw,`signature`,()=>kw,`verify`,()=>DD,()=>vD,()=>vD,`wrappingKey`,()=>pD,()=>mD,()=>hD,()=>gD,()=>_D,`wrapAlgorithm`,`wrapKey`,`SubtleCrypto`,'PPPn!n"n#n$n%J2&n\'2(n)2*_`1+PPn,n-n.n/J2&n021P\',J228_`13PPn4n5n6n7J2&n821Pn9n:n;n<n=J2>)2?n@F2AnB`1CPnD2&nE2*_`1FPPnGnHnInJnKJ2&nL2(nM2*_`1NP.O2PnQ2(nR`1SPnU.VoT#2PnW2(_`1SPnX2PnY2(P_nZJ`1SPP.[P.\\4]MJ2&)2?P._.`Jo^"2Ana`1bPP.cP.d4]MJ2&)2?P.f.gJoe"2Anh`1bPPninjJ2&)2?nlok"2Anm`1bPPnnnonpJ2&)2?nroq"2Ans`1bPnt2&)2?nuF2APnvnwJ`1bP.x2Pny2zPn{n|n}n~nJ2&)2?no"2An`1Pn
.o#2Pn2zPnnnnnJ2&)2?nF2An`1PPnnnJ2&n2(n2*_`1Pn2Pn2n2PnnnnnJ2Pn\xA0n¡n¢n£n¤J2¥)2?n¦F2An§`1¨PPn©nªn«J2&n¬2(n2®n¯2*)`1°Pn±2Pn²2(n³2´Pnµn¶n·n¸n¹J2º_`1»Mw¼y'],Uw=[`name`,`version`,`IDBDatabaseInfo`,`P&4!8'4"8Mw#y`],Ww=[()=>RD,()=>zD,0,`this`,()=>Kf,`ev`,``,`onblocked`,0,()=>Kf,`onupgradeneeded`,`type`,0,()=>BD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>BD,()=>H,`removeEventListener`,()=>V,()=>H,`IDBOpenDBRequest`,`Pn"o!"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+P"2,Pn-2$n."f2&"/'2/P)n0J218$12P&2,n32/P)n4J218$12P"2,Pn52$n6"f2&"/'2/P)n7J218$18P&2,n92/P)n:J218$18Mw;y`],Gw=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`EventCounts`,`PPP'2!&2"n#2$$/%2&"2'8$1(Mw)y`],Kw=[`redirectCount`,`type`,`toJSON`,0,`TYPE_NAVIGATE`,1,`TYPE_RELOAD`,2,`TYPE_BACK_FORWARD`,255,`TYPE_RESERVED`,`PerformanceNavigation`,`P'4!9'4"9P"1#.$4%9.&4'9.(4)9.*4+9Mw,y`],qw=[`connectEnd`,`connectStart`,`domComplete`,`domContentLoadedEventEnd`,`domContentLoadedEventStart`,`domInteractive`,`domLoading`,`domainLookupEnd`,`domainLookupStart`,`fetchStart`,`loadEventEnd`,`loadEventStart`,`navigationStart`,`redirectEnd`,`redirectStart`,`requestStart`,`responseEnd`,`responseStart`,`secureConnectionStart`,`unloadEventEnd`,`unloadEventStart`,`toJSON`,`PerformanceTiming`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459P"16Mw7y`],Jw=[()=>VD,`PerformanceEntryList`,`n!Fw"y`],Yw=[`detail`,()=>Bd,`startTime`,`PerformanceMarkOptions`,`P"4!8n"4#8Mw$y`],Xw=[()=>VD,`detail`,`PerformanceMark`,`Pn!"4"9Mw#y`],Zw=[`detail`,()=>Bd,`duration`,()=>Bd,`end`,()=>Bd,`start`,`PerformanceMeasureOptions`,`P"4!8n"4#8P&n$J4%8P&n&J4'8Mw(y`],Qw=[()=>VD,`detail`,`PerformanceMeasure`,`Pn!"4"9Mw#y`],$w=[()=>G,`resourcetimingbufferfull`,`PerformanceEventMap`,`Pn!4"Mw#y`],eT=[``,`SchedulerPostTaskCallback`,`PP"v!Mw"y`],tT=[`delay`,()=>tv,`priority`,()=>Yc,`signal`,`SchedulerPostTaskOptions`,`P'4!8n"4#8n$4%8Mw&y`],nT=[`default`,`none`,`ColorSpaceConversion`,`P.!."Jw#y`],rT=[`flipY`,`from-image`,`none`,`ImageOrientation`,`P.!.".#Jw$y`],iT=[`default`,`none`,`premultiply`,`PremultiplyAlpha`,`P.!.".#Jw$y`],aT=[`high`,`low`,`medium`,`pixelated`,`ResizeQuality`,`P.!.".#.$Jw%y`],oT=[()=>pT,()=>sT,`cache`,()=>cT,`credentials`,()=>HD,`destination`,()=>mT,`headers`,`integrity`,`keepalive`,`method`,()=>uT,`mode`,()=>fT,`redirect`,`referrer`,()=>uv,`referrerPolicy`,()=>Yc,`signal`,`url`,0,`clone`,`Request`,`Pn!n"4#9n$4%9n&4'9n(4)9&4*9)4+9&4,9n-4.9n/409&419n2439n4459&469Pn718Mw9y`],sT=[`default`,`force-cache`,`no-cache`,`no-store`,`only-if-cached`,`reload`,`RequestCache`,`P.!.".#.$.%.&Jw'y`],cT=[`include`,`omit`,`same-origin`,`RequestCredentials`,`P.!.".#Jw$y`],lT=[()=>AE,()=>mT,`HeadersInit`,`PP&&GF&&o!#n"Jw#y`],uT=[`cors`,`navigate`,`no-cors`,`same-origin`,`RequestMode`,`P.!.".#.$Jw%y`],dT=[`auto`,`high`,`low`,`RequestPriority`,`P.!.".#Jw$y`],fT=[`error`,`follow`,`manual`,`RequestRedirect`,`P.!.".#Jw$y`],pT=[()=>zd,`body`,`bodyUsed`,`arrayBuffer`,()=>Vc,`blob`,`bytes`,()=>$l,`formData`,`json`,`text`,`Body`,'PPWo!",J4"9)4#9P_`1$Pn%`1&PW`1\'Pn(`1)P"`1*P&`1+Mw,y'],mT=[`name`,`value`,`append`,`delete`,`get`,`getSetCookie`,`has`,`set`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`Headers`,`PP&2!&2"$1#P&2!$1$P&2!P&,J1%P&F1&P&2!)1'P&2!&2"$1(PP&2"&2)n*2+$/,2-"2.8$1/Mw0y`],hT=[`basic`,`cors`,`default`,`error`,`opaque`,`opaqueredirect`,`ResponseType`,`P.!.".#.$.%.&Jw'y`],gT=[()=>UD,`wgslLanguageFeatures`,()=>kg,`getPreferredCanvasFormat`,()=>WD,`options`,()=>GD,`requestAdapter`,`GPU`,`Pn!4"9Pn#1$Pn%2&8Pn',J\`1(Mw)y`],_T=[()=>KD,`query`,`name`,()=>qD,`callback`,()=>JD,`request`,()=>YD,`options`,()=>qD,()=>JD,`LockManager`,'PPn!`1"P&2#"o$"2%"o&"`1\'P&2#n(2)"o*"2%"o+"`1\'Mw,y'],vT=[`length`,`index`,()=>XD,`item`,`name`,()=>XD,`namedItem`,()=>XD,`MimeTypeArray`,`P'4!9P'2"Pn#,J1$P&2%Pn&,J1''n(LMw)y`],yT=[`length`,`index`,()=>ZD,`item`,`name`,()=>ZD,`namedItem`,`refresh`,()=>ZD,`PluginArray`,`P'4!9P'2"Pn#,J1$P&2%Pn&,J1'P$1('n)LMw*y`],bT=[()=>QD,`estimate`,()=>$D,`getDirectory`,`persist`,`persisted`,`StorageManager`,"PPn!`1\"Pn#`1$P)`1%P)`1&Mw'y"],xT=[()=>eO,`ClipboardItems`,`n!Fw"y`],ST=[()=>tO,`publicKey`,()=>Yc,`signal`,`CredentialCreationOptions`,`Pn!4"8n#4$8Mw%y`],CT=[`id`,`type`,`Credential`,`P&4!9&4"9Mw#y`],wT=[()=>nO,`mediation`,()=>rO,`publicKey`,()=>Yc,`signal`,`CredentialRequestOptions`,`Pn!4"8n#4$8n%4&8Mw'y`],TT=[()=>iO,`position`,``,`PositionCallback`,`PPn!2"$v#Mw$y`],ET=[()=>aO,`positionError`,``,`PositionErrorCallback`,`PPn!2"$v#Mw$y`],DT=[`enableHighAccuracy`,`maximumAge`,`timeout`,`PositionOptions`,`P)4!8'4"8'4#8Mw$y`],OT=[`logged-in`,`logged-out`,`LoginStatus`,`P.!."Jw#y`],kT=[()=>oO,()=>sO,`keySystemConfiguration`,()=>cO,`type`,`MediaDecodingConfiguration`,`Pn!n"4#8n$4%Mw&y`],AT=[()=>lO,()=>ES,`keySystemAccess`,`MediaCapabilitiesDecodingInfo`,`Pn!Pn",J4#Mw$y`],jT=[()=>oO,()=>uO,`type`,`MediaEncodingConfiguration`,`Pn!n"4#Mw$y`],MT=[()=>lO,`MediaCapabilitiesEncodingInfo`,`Pn!Mw"y`],NT=[`deviceId`,`groupId`,()=>dO,`kind`,`label`,`toJSON`,`MediaDeviceInfo`,`P&4!9&4"9n#4$9&4%9P"1&Mw'y`],PT=[()=>nu,`audio`,()=>nu,`video`,`DisplayMediaStreamOptions`,`PP)n!J4"8P)n#J4$8Mw%y`],FT=[`aspectRatio`,`autoGainControl`,`backgroundBlur`,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,`frameRate`,`groupId`,`height`,`noiseSuppression`,`sampleRate`,`sampleSize`,`width`,`MediaTrackSupportedConstraints`,`P)4!8)4"8)4#8)4$8)4%8)4&8)4'8)4(8)4)8)4*8)4+8)4,8)4-8)4.8)4/8Mw0y`],IT=[()=>nu,`audio`,`peerIdentity`,`preferCurrentTab`,()=>nu,`video`,`MediaStreamConstraints`,`PP)n!J4"8&4#8)4$8P)n%J4&8Mw'y`],LT=[()=>G,`devicechange`,`MediaDevicesEventMap`,`Pn!4"Mw#y`],RT=[`album`,`artist`,()=>Kd,()=>fO,`artwork`,`title`,`MediaMetadata`,`P&4!&4"n$o#"4%&4&Mw'y`],zT=[`none`,`paused`,`playing`,`MediaSessionPlaybackState`,`P.!.".#Jw$y`],BT=[`nexttrack`,`pause`,`play`,`previoustrack`,`seekbackward`,`seekforward`,`seekto`,`skipad`,`stop`,`MediaSessionAction`,`P.!.".#.$.%.&.'.(.)Jw*y`],VT=[()=>pO,`details`,``,`MediaSessionActionHandler`,`PPn!2"$v#Mw$y`],HT=[`duration`,`playbackRate`,`position`,`MediaPositionState`,`P'4!8'4"8'4#8Mw$y`],UT=[()=>mO,`name`,`PermissionDescriptor`,`Pn!4"Mw#y`],WT=[()=>W,`name`,0,`this`,()=>G,`ev`,``,`onchange`,()=>hO,`state`,`type`,0,()=>gO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>gO,()=>H,`removeEventListener`,()=>V,()=>H,`PermissionStatus`,`Pn!&4"9PPn#2$n%2&"/',J4(n)4*9P"2+Pn,2$n-"f2&"/'2.P)n/J208$11P&2+n22.P)n3J208$11P"2+Pn42$n5"f2&"/'2.P)n6J208$17P&2+n82.P)n9J208$17Mw:y`],GT=[()=>W,()=>_O,()=>Fb,`active`,()=>vO,`cookies`,()=>Fb,`installing`,()=>yO,`navigationPreload`,0,`this`,()=>G,`ev`,``,`onupdatefound`,`scope`,()=>bO,`updateViaCache`,()=>Fb,`waiting`,()=>xO,`filter`,()=>SO,`getNotifications`,`title`,()=>CO,`options`,`showNotification`,`unregister`,0,`update`,`type`,0,()=>wO,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>wO,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorkerRegistration`,'Pn!n"Pn#,J4$9n%4&9Pn\',J4(9n)4*9PPn+2,n-2."//,J40&419n2439Pn4,J459Pn6278n8F`19P&2:n;2<8$`1=P)`1>Pn?`1@P"2APnB2,nC"f2."//2DP)nEJ2<8$1FP&2AnG2DP)nHJ2<8$1FP"2APnI2,nJ"f2."//2DP)nKJ2<8$1LP&2AnM2DP)nNJ2<8$1LMwOy'],KT=[`scope`,()=>TO,`type`,()=>bO,`updateViaCache`,`RegistrationOptions`,`P&4!8n"4#8n$4%8Mw&y`],qT=[()=>G,`controllerchange`,()=>Qf,`message`,()=>Qf,`messageerror`,`ServiceWorkerContainerEventMap`,`Pn!4"n#4$n%4&Mw'y`],JT=[`screen`,`WakeLockType`,`.!w"y`],YT=[()=>W,0,`this`,()=>G,`ev`,``,`onrelease`,`released`,()=>JT,`type`,`release`,0,()=>EO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>EO,()=>H,`removeEventListener`,()=>V,()=>H,`WakeLockSentinel`,`Pn!PPn"2#n$2%"/&,J4')4(9n)4*9P$\`1+P"2*Pn,2#n-"f2%"/&2.P)n/J208$11P&2*n22.P)n3J208$11P"2*Pn42#n5"f2%"/&2.P)n6J208$17P&2*n82.P)n9J208$17Mw:y`],XT=[()=>DO,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MIDIInputMap`,`PPPn!2"&2#n$2%$/&2'"2(8$1)Mw*y`],ZT=[()=>OO,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MIDIOutputMap`,`PPPn!2"&2#n$2%$/&2'"2(8$1)Mw*y`],QT=[()=>qf,`statechange`,`MIDIAccessEventMap`,`Pn!4"Mw#y`],$T=[`contentType`,`encryptionScheme`,`robustness`,`MediaKeySystemMediaCapability`,`P&4!8P&,J4"8&4#8Mw$y`],eE=[`not-allowed`,`optional`,`required`,`MediaKeysRequirement`,`P.!.".#Jw$y`],tE=[()=>Vc,()=>kw,()=>$l,()=>av,`XMLHttpRequestBodyInit`,`Pn!n"n#n$&Jw%y`],nE=[`lax`,`none`,`strict`,`CookieSameSite`,`P.!.".#Jw$y`],rE=[`auto`,`push`,`replace`,`NavigationHistoryBehavior`,`P.!.".#Jw$y`],iE=[`landscape-primary`,`landscape-secondary`,`portrait-primary`,`portrait-secondary`,`OrientationType`,`P.!.".#.$Jw%y`],aE=[`any`,`landscape`,`landscape-primary`,`landscape-secondary`,`natural`,`portrait`,`portrait-primary`,`portrait-secondary`,`OrientationLockType`,`P.!.".#.$.%.&.'.(Jw)y`],oE=[()=>G,`change`,`ScreenOrientationEventMap`,`Pn!4"Mw#y`],sE=[`cssText`,`length`,()=>gb,`parentRule`,`property`,`getPropertyPriority`,`getPropertyValue`,`index`,`item`,`removeProperty`,`value`,`priority`,`setProperty`,`CSSStyleDeclarationBase`,`P&4!'4"9Pn#,J4$9P&2%&1&P&2%&1'P'2(&1)P&2%&1*P&2%P&,J2+&2,8$1-'&LMw.y`],cE=[`f32`,`f32-planar`,`s16`,`s16-planar`,`s32`,`s32-planar`,`u8`,`u8-planar`,`AudioSampleFormat`,`P.!.".#.$.%.&.'.(Jw)y`],lE=[()=>cE,`format`,`frameCount`,`frameOffset`,`planeIndex`,`AudioDataCopyToOptions`,`Pn!4"8'4#8'4$8'4%Mw&y`],uE=[`data`,``,`FunctionStringCallback`,`PP&2!$v"Mw#y`],dE=[()=>Qy,()=>kO,`GPUOrigin2D`,`Pn!Fn"Jw#y`],fE=[()=>Pc,()=>pu,()=>gf,()=>Lm,()=>bg,()=>Js,()=>ac,`GPUCopyExternalImageSource`,`Pn!n"n#n$n%n&n'Jw(y`],pE=[()=>Qy,`depthOrArrayLayers`,()=>Qy,`height`,()=>Qy,`width`,`GPUExtent3DDict`,`Pn!4"8n#4$8n%4&Mw'y`],mE=[()=>Qy,()=>AO,`GPUOrigin3D`,`Pn!Fn"Jw#y`],hE=[`GPUIndex32`,`'w!y`],gE=[()=>Hy,()=>Rd,()=>Rg,()=>Oy,()=>jO,()=>qy,`GPUBindingResource`,`Pn!n"n#n$n%n&Jw'y`],_E=[`hasDynamicOffset`,()=>pC,`minBindingSize`,()=>MO,`type`,`GPUBufferBindingLayout`,`P)4!8n"4#8n$4%8Mw&y`],vE=[`GPUExternalTextureBindingLayout`,`PMw!y`],yE=[()=>NO,`type`,`GPUSamplerBindingLayout`,`Pn!4"8Mw#y`],bE=[()=>PO,`access`,()=>kg,`format`,()=>eb,`viewDimension`,`GPUStorageTextureBindingLayout`,`Pn!4"8n#4$n%4&8Mw'y`],xE=[`multisampled`,()=>FO,`sampleType`,()=>eb,`viewDimension`,`GPUTextureBindingLayout`,`P)4!8n"4#8n$4%8Mw&y`],SE=[`GPUShaderStageFlags`,`'w!y`],CE=[()=>kC,`beginningOfPassWriteIndex`,()=>kC,`endOfPassWriteIndex`,()=>Iy,`querySet`,`GPUComputePassTimestampWrites`,`Pn!4"8n#4$8n%4&Mw'y`],wE=[()=>DE,`clearValue`,()=>Qy,`depthSlice`,()=>IO,`loadOp`,()=>Rd,()=>Rg,`resolveTarget`,()=>LO,`storeOp`,()=>Rd,()=>Rg,`view`,`GPURenderPassColorAttachment`,`Pn!4"8n#4$8n%4&Pn'n(J4)8n*4+Pn,n-J4.Mw/y`],TE=[`depthClearValue`,()=>IO,`depthLoadOp`,`depthReadOnly`,()=>LO,`depthStoreOp`,()=>OE,`stencilClearValue`,()=>IO,`stencilLoadOp`,`stencilReadOnly`,()=>LO,`stencilStoreOp`,()=>Rd,()=>Rg,`view`,`GPURenderPassDepthStencilAttachment`,`P'4!8n"4#8)4$8n%4&8n'4(8n)4*8)4+8n,4-8Pn.n/J40Mw1y`],EE=[()=>kC,`beginningOfPassWriteIndex`,()=>kC,`endOfPassWriteIndex`,()=>Iy,`querySet`,`GPURenderPassTimestampWrites`,`Pn!4"8n#4$8n%4&Mw'y`],DE=[()=>RO,`GPUColor`,`P'Fn!Jw"y`],OE=[`GPUStencilValue`,`'w!y`],kE=[`auto`,`GPUAutoLayoutMode`,`.!w"y`],AE=[`K`,`T`,`Record`,`l'e#"Rb!b"Pde"!N#!w#y`],jE=[`GPUPipelineConstantValue`,`'w!y`],ME=[`GPUBufferDynamicOffset`,`'w!y`],NE=[`GPUSignedOffset32`,`'w!y`],PE=[`uint16`,`uint32`,`GPUIndexFormat`,`P.!."Jw#y`],FE=[`GPUDepthBias`,`'w!y`],IE=[()=>GC,`compare`,()=>zO,`depthFailOp`,()=>zO,`failOp`,()=>zO,`passOp`,`GPUStencilFaceState`,`Pn!4"8n#4$8n%4&8n'4(8Mw)y`],LE=[()=>BO,`blend`,()=>kg,`format`,()=>VO,`writeMask`,`GPUColorTargetState`,`Pn!4"8n#4$n%4&8Mw'y`],RE=[`GPUSampleMask`,`'w!y`],zE=[`back`,`front`,`none`,`GPUCullMode`,`P.!.".#Jw$y`],BE=[`ccw`,`cw`,`GPUFrontFace`,`P.!."Jw#y`],VE=[`line-list`,`line-strip`,`point-list`,`triangle-list`,`triangle-strip`,`GPUPrimitiveTopology`,`P.!.".#.$.%Jw&y`],HE=[()=>pC,`arrayStride`,()=>HO,`attributes`,()=>UO,`stepMode`,`GPUVertexBufferLayout`,`Pn!4"n#F4$n%4&8Mw'y`],UE=[`length`,`lineNum`,`linePos`,`message`,`offset`,()=>WO,`type`,`GPUCompilationMessage`,`P'4!9'4"9'4#9&4$9'4%9n&4'9Mw(y`],WE=[`clamp`,`invert`,`max`,`min`,`negate`,`product`,`sum`,`CSSMathOperator`,`P.!.".#.$.%.&.'Jw(y`],GE=[()=>Hd,`error`,`AbstractWorkerEventMap`,`Pn!4"Mw#y`],KE=[`complete`,`gathering`,`new`,`RTCIceGathererState`,`P.!.".#Jw$y`],qE=[`checking`,`closed`,`completed`,`connected`,`disconnected`,`failed`,`new`,`RTCIceTransportState`,`P.!.".#.$.%.&.'Jw(y`],JE=[()=>q_,`local`,()=>q_,`remote`,`RTCIceCandidatePair`,`Pn!4"n#4$Mw%y`],YE=[()=>G,`gatheringstatechange`,()=>G,`selectedcandidatepairchange`,()=>G,`statechange`,`RTCIceTransportEventMap`,`Pn!4"n#4$n%4&Mw'y`],XE=[()=>lx,`payloadType`,`RTCRtpCodecParameters`,`Pn!'4"Mw#y`],ZE=[`encrypted`,`id`,`uri`,`RTCRtpHeaderExtensionParameters`,`P)4!8'4"&4#Mw$y`],QE=[`cname`,`reducedSize`,`RTCRtcpParameters`,`P&4!8)4"8Mw#y`],$E=[()=>up,`tonechange`,`RTCDTMFSenderEventMap`,`Pn!4"Mw#y`],eD=[`balanced`,`maintain-framerate`,`maintain-resolution`,`RTCDegradationPreference`,`P.!.".#Jw$y`],tD=[()=>GO,`active`,`maxBitrate`,`maxFramerate`,()=>KO,`networkPriority`,()=>KO,`priority`,`scaleResolutionDownBy`,`RTCRtpEncodingParameters`,`Pn!)4"8'4#8'4$8n%4&8n'4(8'4)8Mw*y`],nD=[`closed-by-application`,`hardware-context-reset`,`internal-error`,`release-acknowledged`,`resource-evicted`,`MediaKeySessionClosedReason`,`P.!.".#.$.%Jw&y`],rD=[`size`,()=>kw,`keyId`,()=>Ow,`get`,()=>kw,`has`,()=>Ow,`value`,()=>kw,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MediaKeyStatusMap`,`P'4!9Pn"2#Pn$-J1%Pn&2#)1'PPn(2)n*2+n,2-$/.2/"208$11Mw2y`],iD=[()=>G,`keystatuseschange`,()=>Xf,`message`,`MediaKeySessionEventMap`,`Pn!4"n#4$Mw%y`],aD=[()=>W,`length`,0,`this`,()=>G,`ev`,``,`onaddsourcebuffer`,0,()=>G,`onremovesourcebuffer`,`type`,0,()=>qO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>qO,()=>H,`removeEventListener`,()=>V,()=>H,()=>sD,`SourceBufferList`,`Pn!'4"9PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+P"2,Pn-2$n."f2&"/'2/P)n0J218$12P&2,n32/P)n4J218$12P"2,Pn52$n6"f2&"/'2/P)n7J218$18P&2,n92/P)n:J218$18'n;LMw<y`],oD=[`closed`,`ended`,`open`,`ReadyState`,`P.!.".#Jw$y`],sD=[()=>W,`appendWindowEnd`,`appendWindowStart`,()=>vx,`buffered`,()=>JO,`mode`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`onerror`,0,()=>G,`onupdate`,0,()=>G,`onupdateend`,0,()=>G,`onupdatestart`,`timestampOffset`,`updating`,`abort`,()=>kw,`data`,`appendBuffer`,`type`,`changeType`,`start`,`end`,`remove`,0,()=>YO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>YO,()=>H,`removeEventListener`,()=>V,()=>H,`SourceBuffer`,`Pn!'4"'4#n$4%9n&4'PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46PPn72)n82+"/,,J49'4:)4;9P$1<Pn=2>$1?P&2@$1AP'2B'2C$1DP"2@PnE2)nF"f2+"/,2GP)nHJ2I8$1JP&2@nK2GP)nLJ2I8$1JP"2@PnM2)nN"f2+"/,2GP)nOJ2I8$1PP&2@nQ2GP)nRJ2I8$1PMwSy`],cD=[`decode`,`network`,`EndOfStreamError`,`P.!."Jw#y`],lD=[()=>G,`sourceclose`,()=>G,`sourceended`,()=>G,`sourceopen`,`MediaSourceEventMap`,`Pn!4"n#4$n%4&Mw'y`],uD=[()=>XO,`successCallback`,()=>Nx,`errorCallback`,`readEntries`,`FileSystemDirectoryReader`,`PPn!2"n#2$8$1%Mw&y`],dD=[`create`,`exclusive`,`FileSystemFlags`,`P)4!8)4"8Mw#y`],fD=[`ignoreMethod`,`ignoreSearch`,`ignoreVary`,`CacheQueryOptions`,`P)4!8)4"8)4#8Mw$y`],pD=[()=>ZO,`AlgorithmIdentifier`,`Pn!&Jw"y`],mD=[()=>ZO,()=>kw,`label`,`RsaOaepParams`,`Pn!n"4#8Mw$y`],hD=[()=>ZO,()=>kw,`counter`,`length`,`AesCtrParams`,`Pn!n"4#'4$Mw%y`],gD=[()=>ZO,()=>kw,`iv`,`AesCbcParams`,`Pn!n"4#Mw$y`],_D=[()=>ZO,()=>kw,`additionalData`,()=>kw,`iv`,`tagLength`,`AesGcmParams`,`Pn!n"4#8n$4%'4&8Mw'y`],vD=[()=>QO,`algorithm`,`extractable`,()=>$O,`type`,()=>wD,`usages`,`CryptoKey`,`Pn!4"9)4#9n$4%9n&F4'9Mw(y`],yD=[()=>ZO,()=>vD,`public`,`EcdhKeyDeriveParams`,`Pn!n"4#Mw$y`],bD=[()=>ZO,()=>ek,`hash`,()=>kw,`info`,()=>kw,`salt`,`HkdfParams`,`Pn!n"4#n$4%n&4'Mw(y`],xD=[()=>ZO,()=>ek,`hash`,`iterations`,()=>kw,`salt`,`Pbkdf2Params`,`Pn!n"4#'4$n%4&Mw'y`],SD=[()=>ZO,`length`,`AesDerivedKeyParams`,`Pn!'4"Mw#y`],CD=[()=>ZO,()=>ek,`hash`,`length`,`HmacImportParams`,`Pn!n"4#'4$8Mw%y`],wD=[`decrypt`,`deriveBits`,`deriveKey`,`encrypt`,`sign`,`unwrapKey`,`verify`,`wrapKey`,`KeyUsage`,`P.!.".#.$.%.&.'.(Jw)y`],TD=[`alg`,`crv`,`d`,`dp`,`dq`,`e`,`ext`,`k`,`key_ops`,`kty`,`n`,()=>tk,`oth`,`p`,`q`,`qi`,`use`,`x`,`y`,`JsonWebKey`,`P&4!8&4"8&4#8&4$8&4%8&4&8)4'8&4(8&F4)8&4*8&4+8n,F4-8&4.8&4/8&408&418&428&438Mw4y`],ED=[`T`,`U`,`Exclude`,`l6!Re$!RPe#!e$"qk#%QRb!b"Pde"!p)w#y`],DD=[`jwk`,`pkcs8`,`raw`,`spki`,`KeyFormat`,`P.!.".#.$Jw%y`],OD=[()=>vD,`privateKey`,()=>vD,`publicKey`,`CryptoKeyPair`,`Pn!4"n#4$Mw%y`],kD=[()=>nk,()=>ek,`hash`,`RsaHashedKeyGenParams`,`Pn!n"4#Mw$y`],AD=[()=>ZO,()=>rk,`namedCurve`,`EcKeyGenParams`,`Pn!n"4#Mw$y`],jD=[()=>ZO,`length`,`AesKeyGenParams`,`Pn!'4"Mw#y`],MD=[()=>ZO,()=>ek,`hash`,`length`,`HmacKeyGenParams`,`Pn!n"4#'4$8Mw%y`],ND=[()=>ZO,()=>ek,`hash`,`RsaHashedImportParams`,`Pn!n"4#Mw$y`],PD=[()=>ZO,()=>rk,`namedCurve`,`EcKeyImportParams`,`Pn!n"4#Mw$y`],FD=[()=>QO,`length`,`AesKeyAlgorithm`,`Pn!'4"Mw#y`],ID=[()=>ZO,`saltLength`,`RsaPssParams`,`Pn!'4"Mw#y`],LD=[()=>ZO,()=>ek,`hash`,`EcdsaParams`,`Pn!n"4#Mw$y`],RD=[`T`,()=>W,()=>Jb,`error`,0,`this`,()=>G,`ev`,``,`onerror`,0,()=>G,`onsuccess`,()=>ik,`readyState`,`result`,()=>ak,()=>ok,()=>sk,`source`,()=>ck,`transaction`,`type`,0,()=>lk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>lk,()=>H,`removeEventListener`,()=>V,()=>H,`IDBRequest`,`"c!Pn"Pn#,J4$9PPe$!o%"2&n'2("/),J4*PPe$!o+"2&n,2("/),J4-n.4/9e"!409Pn1n2n3J449Pn5,J469P"27Pe$!o8"2&n9"f2("/)2:P)n;J2<8$1=P&27n>2:P)n?J2<8$1=P"27Pe$!o@"2&nA"f2("/)2:P)nBJ2<8$1CP&27nD2:P)nEJ2<8$1CMwFy`],zD=[()=>W,`name`,()=>uk,`objectStoreNames`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`onclose`,0,()=>G,`onerror`,0,()=>Kf,`onversionchange`,`version`,`close`,()=>dk,`options`,()=>ak,`createObjectStore`,`deleteObjectStore`,`storeNames`,()=>fk,`mode`,()=>pk,()=>ck,`transaction`,`type`,0,()=>mk,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>mk,()=>H,`removeEventListener`,()=>V,()=>H,`IDBDatabase`,`Pn!&4"9n#4$9PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-PPn.2&n/2("/),J40PPn12&n22("/),J43'449P$15P&2"n6278n819P&2"$1:PP&&FJ2;n<2=8n>278n?1@P"2APnB2&nC"f2("/)2DP)nEJ278$1FP&2AnG2DP)nHJ278$1FP"2APnI2&nJ"f2("/)2DP)nKJ278$1LP&2AnM2DP)nNJ278$1LMwOy`],BD=[()=>lk,()=>Kf,`blocked`,()=>Kf,`upgradeneeded`,`IDBOpenDBRequestEventMap`,`Pn!n"4#n$4%Mw&y`],VD=[()=>Bd,`duration`,`entryType`,`name`,()=>Bd,`startTime`,`toJSON`,`PerformanceEntry`,`Pn!4"9&4#9&4$9n%4&9P"1'Mw(y`],HD=[``,`audio`,`audioworklet`,`document`,`embed`,`font`,`frame`,`iframe`,`image`,`manifest`,`object`,`paintworklet`,`report`,`script`,`sharedworker`,`style`,`track`,`video`,`worker`,`xslt`,`RequestDestination`,`P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4Jw5y`],UD=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`WGSLLanguageFeatures`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],WD=[`forceFallbackAdapter`,()=>hk,`powerPreference`,`GPURequestAdapterOptions`,`P)4!8n"4#8Mw$y`],GD=[()=>yy,`features`,()=>vy,`info`,()=>by,`limits`,()=>gk,`descriptor`,()=>Og,`requestDevice`,`GPUAdapter`,`Pn!4"9n#4$9n%4&9Pn'2(8n)\`1*Mw+y`],KD=[()=>_k,`held`,()=>_k,`pending`,`LockManagerSnapshot`,`Pn!F4"8n#F4$8Mw%y`],qD=[`T`,()=>vk,`lock`,``,`LockGrantedCallback`,`b!PPPn",J2#e#!v$Mw%y`],JD=[`T`,`onfulfilled`,`args`,`then`,`value`,``,0,`Awaited`,`le$!Re"!o'"R!RPde#!Ph"!2%h&"@2#"/&qk'.QRPde#!p0Re$!RPdde#!P%PPh$!2"h$"@2#"1$MKqkJRQRPde%!pVRPe#!P,-Jqk#vQRb!Pde"!p~w(y`],YD=[`ifAvailable`,()=>yk,`mode`,()=>Yc,`signal`,`steal`,`LockOptions`,`P)4!8n"4#8n$4%8)4&8Mw'y`],XD=[`description`,()=>ZD,`enabledPlugin`,`suffixes`,`type`,`MimeType`,`P&4!9n"4#9&4$9&4%9Mw&y`],ZD=[`description`,`filename`,`length`,`name`,`index`,()=>XD,`item`,()=>XD,`namedItem`,()=>XD,`Plugin`,`P&4!9&4"9'4#9&4$9P'2%Pn&,J1'P&2$Pn(,J1)'n*LMw+y`],QD=[`quota`,`usage`,`StorageEstimate`,`P'4!8'4"8Mw#y`],$D=[()=>bk,`directory`,`kind`,`name`,()=>xk,`options`,0,`getDirectoryHandle`,()=>Sk,()=>Ck,`getFileHandle`,()=>wk,`removeEntry`,()=>bk,`possibleDescendant`,`resolve`,`FileSystemDirectoryHandle`,"Pn!.\"4#9P&2$n%2&8n'`1(P&2$n)2&8n*`1+P&2$n,2&8$`1-Pn.2/P&F,J`10Mw1y"],eO=[()=>Tk,`presentationStyle`,()=>Kd,`types`,`type`,()=>Vc,`getType`,`ClipboardItem`,`Pn!4"9&o#"4$9P&2%n&\`1'Mw(y`],tO=[()=>Ek,`attestation`,()=>Dk,`authenticatorSelection`,()=>kw,`challenge`,()=>Ok,`excludeCredentials`,()=>kk,`extensions`,()=>Ak,`pubKeyCredParams`,()=>jk,`rp`,`timeout`,()=>Mk,`user`,`PublicKeyCredentialCreationOptions`,`Pn!4"8n#4$8n%4&n'F4(8n)4*8n+F4,n-4.'4/8n041Mw2y`],nO=[`conditional`,`optional`,`required`,`silent`,`CredentialMediationRequirement`,`P.!.".#.$Jw%y`],rO=[()=>Ok,`allowCredentials`,()=>kw,`challenge`,()=>kk,`extensions`,`rpId`,`timeout`,()=>Nk,`userVerification`,`PublicKeyCredentialRequestOptions`,`Pn!F4"8n#4$n%4&8&4'8'4(8n)4*8Mw+y`],iO=[()=>Pk,`coords`,()=>Fk,`timestamp`,`toJSON`,`GeolocationPosition`,`Pn!4"9n#4$9P"1%Mw&y`],aO=[`code`,`message`,1,`PERMISSION_DENIED`,2,`POSITION_UNAVAILABLE`,3,`TIMEOUT`,`GeolocationPositionError`,`P'4!9&4"9.#4$9.%4&9.'4(9Mw)y`],oO=[()=>Ik,`audio`,()=>Lk,`video`,`MediaConfiguration`,`Pn!4"8n#4$8Mw%y`],sO=[()=>Rk,`audio`,()=>eE,`distinctiveIdentifier`,`initDataType`,`keySystem`,()=>eE,`persistentState`,`sessionTypes`,()=>Rk,`video`,`MediaCapabilitiesKeySystemConfiguration`,`Pn!4"8n#4$8&4%8&4&n'4(8&F4)8n*4+8Mw,y`],cO=[`file`,`media-source`,`webrtc`,`MediaDecodingType`,`P.!.".#Jw$y`],lO=[`powerEfficient`,`smooth`,`supported`,`MediaCapabilitiesInfo`,`P)4!)4")4#Mw$y`],uO=[`record`,`webrtc`,`MediaEncodingType`,`P.!."Jw#y`],dO=[`audioinput`,`audiooutput`,`videoinput`,`MediaDeviceKind`,`P.!.".#Jw$y`],fO=[`sizes`,`src`,`type`,`MediaImage`,`P&4!8&4"&4#8Mw$y`],pO=[()=>BT,`action`,`fastSeek`,`seekOffset`,`seekTime`,`MediaSessionActionDetails`,`Pn!4")4#8'4$8'4%8Mw&y`],mO=[`camera`,`geolocation`,`microphone`,`midi`,`notifications`,`persistent-storage`,`push`,`screen-wake-lock`,`storage-access`,`PermissionName`,`P.!.".#.$.%.&.'.(.)Jw*y`],hO=[`denied`,`granted`,`prompt`,`PermissionState`,`P.!.".#Jw$y`],gO=[()=>G,`change`,`PermissionStatusEventMap`,`Pn!4"Mw#y`],_O=[()=>zk,`pushManager`,`PushManagerAttribute`,`Pn!4"9Mw#y`],vO=[()=>AS,`getSubscriptions`,()=>AS,`subscriptions`,`subscribe`,()=>AS,`unsubscribe`,`CookieStoreManager`,"PPn!F`1\"Pn#F2$$`1%Pn&F2$$`1'Mw(y"],yO=[`disable`,`enable`,()=>Bk,`getState`,`value`,`setHeaderValue`,`NavigationPreloadManager`,"PP$`1!P$`1\"Pn#`1$P&2%$`1&Mw'y"],bO=[`all`,`imports`,`none`,`ServiceWorkerUpdateViaCache`,`P.!.".#Jw$y`],xO=[`tag`,`GetNotificationOptions`,`P&4!8Mw"y`],SO=[()=>W,`body`,`data`,()=>Vk,`dir`,`icon`,`lang`,0,`this`,()=>G,`ev`,``,`onclick`,0,()=>G,`onclose`,0,()=>G,`onerror`,0,()=>G,`onshow`,`requireInteraction`,`silent`,`tag`,`title`,`close`,`type`,0,()=>Hk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Hk,()=>H,`removeEventListener`,()=>V,()=>H,`Notification`,`Pn!&4"9"4#9n$4%9&4&9&4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46)479P),J489&499&4:9P$1;P"2<Pn=2)n>"f2+"/,2?P)n@J2A8$1BP&2<nC2?P)nDJ2A8$1BP"2<PnE2)nF"f2+"/,2?P)nGJ2A8$1HP&2<nI2?P)nJJ2A8$1HMwKy`],CO=[`badge`,`body`,`data`,()=>Vk,`dir`,`icon`,`lang`,`requireInteraction`,`silent`,`tag`,`NotificationOptions`,`P&4!8&4"8"4#8n$4%8&4&8&4'8)4(8P),J4)8&4*8Mw+y`],wO=[()=>G,`updatefound`,`ServiceWorkerRegistrationEventMap`,`Pn!4"Mw#y`],TO=[`classic`,`module`,`WorkerType`,`P.!."Jw#y`],EO=[()=>G,`release`,`WakeLockSentinelEventMap`,`Pn!4"Mw#y`],DO=[()=>N_,0,`this`,()=>Jf,`ev`,``,`onmidimessage`,`type`,0,()=>Uk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Uk,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIInput`,`Pn!PPn"2#n$2%"/&,J4'P"2(Pn)2#n*"f2%"/&2+P)n,J2-8$1.P&2(n/2+P)n0J2-8$1.P"2(Pn12#n2"f2%"/&2+P)n3J2-8$14P&2(n52+P)n6J2-8$14Mw7y`],OO=[()=>N_,`data`,()=>Bd,`timestamp`,`send`,`type`,0,`this`,()=>jb,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>jb,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIOutput`,`Pn!P'F2"n#2$8$1%P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],kO=[()=>Qy,`x`,()=>Qy,`y`,`GPUOrigin2DDict`,`Pn!4"8n#4$8Mw%y`],AO=[()=>Qy,`x`,()=>Qy,`y`,()=>Qy,`z`,`GPUOrigin3DDict`,`Pn!4"8n#4$8n%4&8Mw'y`],jO=[()=>Oy,`buffer`,()=>pC,`offset`,()=>pC,`size`,`GPUBufferBinding`,`Pn!4"n#4$8n%4&8Mw'y`],MO=[`read-only-storage`,`storage`,`uniform`,`GPUBufferBindingType`,`P.!.".#Jw$y`],NO=[`comparison`,`filtering`,`non-filtering`,`GPUSamplerBindingType`,`P.!.".#Jw$y`],PO=[`read-only`,`read-write`,`write-only`,`GPUStorageTextureAccess`,`P.!.".#Jw$y`],FO=[`depth`,`float`,`sint`,`uint`,`unfilterable-float`,`GPUTextureSampleType`,`P.!.".#.$.%Jw&y`],IO=[`clear`,`load`,`GPULoadOp`,`P.!."Jw#y`],LO=[`discard`,`store`,`GPUStoreOp`,`P.!."Jw#y`],RO=[`a`,`b`,`g`,`r`,`GPUColorDict`,`P'4!'4"'4#'4$Mw%y`],zO=[`decrement-clamp`,`decrement-wrap`,`increment-clamp`,`increment-wrap`,`invert`,`keep`,`replace`,`zero`,`GPUStencilOperation`,`P.!.".#.$.%.&.'.(Jw)y`],BO=[()=>Wk,`alpha`,()=>Wk,`color`,`GPUBlendState`,`Pn!4"n#4$Mw%y`],VO=[`GPUColorWriteFlags`,`'w!y`],HO=[()=>Gk,`format`,()=>pC,`offset`,()=>hE,`shaderLocation`,`GPUVertexAttribute`,`Pn!4"n#4$n%4&Mw'y`],UO=[`instance`,`vertex`,`GPUVertexStepMode`,`P.!."Jw#y`],WO=[`error`,`info`,`warning`,`GPUCompilationMessageType`,`P.!.".#Jw$y`],GO=[`rid`,`RTCRtpCodingParameters`,`P&4!8Mw"y`],KO=[`high`,`low`,`medium`,`very-low`,`RTCPriorityType`,`P.!.".#.$Jw%y`],qO=[()=>G,`addsourcebuffer`,()=>G,`removesourcebuffer`,`SourceBufferListEventMap`,`Pn!4"n#4$Mw%y`],JO=[`segments`,`sequence`,`AppendMode`,`P.!."Jw#y`],YO=[()=>G,`abort`,()=>G,`error`,()=>G,`update`,()=>G,`updateend`,()=>G,`updatestart`,`SourceBufferEventMap`,`Pn!4"n#4$n%4&n'4(n)4*Mw+y`],XO=[()=>mv,`entries`,``,`FileSystemEntriesCallback`,`PPn!F2"$v#Mw$y`],ZO=[`name`,`Algorithm`,`P&4!Mw"y`],QO=[`name`,`KeyAlgorithm`,`P&4!Mw"y`],$O=[`private`,`public`,`secret`,`KeyType`,`P.!.".#Jw$y`],ek=[()=>pD,`HashAlgorithmIdentifier`,`n!w"y`],tk=[`d`,`r`,`t`,`RsaOtherPrimesInfo`,`P&4!8&4"8&4#8Mw$y`],nk=[()=>ZO,`modulusLength`,()=>Kk,`publicExponent`,`RsaKeyGenParams`,`Pn!'4"n#4$Mw%y`],rk=[`NamedCurve`,`&w!y`],ik=[`done`,`pending`,`IDBRequestReadyState`,`P.!."Jw#y`],ak=[`autoIncrement`,()=>uk,`indexNames`,`keyPath`,`name`,()=>ck,`transaction`,`value`,()=>qk,`key`,()=>RD,()=>qk,`add`,()=>RD,`clear`,()=>qk,()=>Jk,`query`,()=>RD,`count`,()=>Yk,`options`,()=>ok,`createIndex`,()=>qk,()=>Jk,()=>RD,`delete`,`deleteIndex`,()=>qk,()=>Jk,()=>RD,`get`,()=>qk,()=>Jk,`queryOrOptions`,()=>RD,`getAll`,()=>qk,()=>Jk,()=>RD,()=>qk,`getAllKeys`,()=>qk,()=>Jk,()=>RD,()=>qk,`getKey`,()=>ok,`index`,()=>qk,()=>Jk,()=>Xk,`direction`,()=>RD,()=>Zk,`openCursor`,()=>qk,()=>Jk,()=>Xk,()=>RD,()=>sk,`openKeyCursor`,()=>qk,()=>RD,()=>qk,`put`,`IDBObjectStore`,`P)4!9n"4#9P&&F,J4$9&4%n&4'9P"2(n)2*8n,o+"1-P-o."1/PPn0n1J228'o3"14P&2%P&&FJ2$n5268n718PPn9n:J22-o;"1<P&2%$1=PPn>n?J22"o@"1APPnBnC,J2D8'248"FoE"1FPPnGnH,J2D8'248nJFoI"1KPPnLnMJ22PnO-JoN"1PP&2%nQ1RPPnSnT,J228nU2V8PnX,JoW"1YPPnZn[,J228n\\2V8Pn^,Jo]"1_P"2(n\`2*8nboa"1cMwdy`],ok=[`keyPath`,`multiEntry`,`name`,()=>ak,`objectStore`,`unique`,()=>qk,()=>Jk,`query`,()=>RD,`count`,()=>qk,()=>Jk,()=>RD,`get`,()=>qk,()=>Jk,`queryOrOptions`,()=>RD,`getAll`,()=>qk,()=>Jk,()=>RD,()=>qk,`getAllKeys`,()=>qk,()=>Jk,()=>RD,()=>qk,`getKey`,()=>qk,()=>Jk,()=>Xk,`direction`,()=>RD,()=>Zk,`openCursor`,()=>qk,()=>Jk,()=>Xk,()=>RD,()=>sk,`openKeyCursor`,`IDBIndex`,`PP&&FJ4!9)4"9&4#n$4%9)4&9PPn'n(J2)8'o*"1+PPn,n-J2)"o."1/PPn0n1,J228'2+8"Fo3"14PPn5n6,J228'2+8n8Fo7"19PPn:n;J2)Pn=-Jo<"1>PPn?n@,J2)8nA2B8PnD,JoC"1EPPnFnG,J2)8nH2B8PnJ,JoI"1KMwLy`],sk=[()=>Xk,`direction`,()=>qk,`key`,()=>qk,`primaryKey`,()=>RD,`request`,()=>ak,()=>ok,`source`,`count`,`advance`,()=>qk,`continue`,()=>qk,()=>qk,`continuePrimaryKey`,()=>RD,`delete`,`value`,()=>RD,()=>qk,`update`,`IDBCursor`,`Pn!4"9n#4$9n%4&9n'4(9Pn)n*J4+9P'2,$1-Pn.2$8$1/Pn02$n12&$12P-o3"14P"25n7o6"18Mw9y`],ck=[()=>W,()=>zD,`db`,()=>Qk,`durability`,()=>Jb,`error`,()=>fk,`mode`,()=>uk,`objectStoreNames`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`oncomplete`,0,()=>G,`onerror`,`abort`,`commit`,`name`,()=>ak,`objectStore`,`type`,0,()=>$k,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>$k,()=>H,`removeEventListener`,()=>V,()=>H,`IDBTransaction`,`Pn!n"4#9n$4%9Pn&,J4'9n(4)9n*4+9PPn,2-n.2/"/0,J41PPn22-n32/"/0,J44PPn52-n62/"/0,J47P$18P$19P&2:n;1<P"2=Pn>2-n?"f2/"/02@P)nAJ2B8$1CP&2=nD2@P)nEJ2B8$1CP"2=PnF2-nG"f2/"/02@P)nHJ2B8$1IP&2=nJ2@P)nKJ2B8$1IMwLy`],lk=[()=>G,`error`,()=>G,`success`,`IDBRequestEventMap`,`Pn!4"n#4$Mw%y`],uk=[`length`,`string`,`contains`,`index`,`item`,`DOMStringList`,`P'4!9P&2")1#P'2$P&,J1%'&LMw&y`],dk=[`autoIncrement`,`keyPath`,`IDBObjectStoreParameters`,`P)4!8P&&F,J4"8Mw#y`],fk=[`readonly`,`readwrite`,`versionchange`,`IDBTransactionMode`,`P.!.".#Jw$y`],pk=[()=>Qk,`durability`,`IDBTransactionOptions`,`Pn!4"8Mw#y`],mk=[()=>G,`abort`,()=>G,`close`,()=>G,`error`,()=>Kf,`versionchange`,`IDBDatabaseEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],hk=[`high-performance`,`low-power`,`GPUPowerPreference`,`P.!."Jw#y`],gk=[()=>Zy,()=>eA,`defaultQueue`,()=>tA,`requiredFeatures`,()=>AE,()=>pC,`requiredLimits`,`GPUDeviceDescriptor`,`Pn!n"4#8n$F4%8&Pn'-Jo(8Mw)y`],_k=[`clientId`,()=>yk,`mode`,`name`,`LockInfo`,`P&4!8n"4#8&4$8Mw%y`],vk=[()=>yk,`mode`,`name`,`Lock`,`Pn!4"9&4#9Mw$y`],yk=[`exclusive`,`shared`,`LockMode`,`P.!."Jw#y`],bk=[()=>nA,`kind`,`name`,0,`other`,`isSameEntry`,`FileSystemHandle`,`Pn!4"9&4#9Pn$2%)\`1&Mw'y`],xk=[`create`,`FileSystemGetDirectoryOptions`,`P)4!8Mw"y`],Sk=[`create`,`FileSystemGetFileOptions`,`P)4!8Mw"y`],Ck=[()=>bk,`file`,`kind`,()=>rA,`options`,()=>iA,`createWritable`,()=>Ql,`getFile`,`FileSystemFileHandle`,"Pn!.\"4#9Pn$2%8n&`1'Pn(`1)Mw*y"],wk=[`recursive`,`FileSystemRemoveOptions`,`P)4!8Mw"y`],Tk=[`attachment`,`inline`,`unspecified`,`PresentationStyle`,`P.!.".#Jw$y`],Ek=[`direct`,`enterprise`,`indirect`,`none`,`AttestationConveyancePreference`,`P.!.".#.$Jw%y`],Dk=[()=>aA,`authenticatorAttachment`,`requireResidentKey`,()=>oA,`residentKey`,()=>Nk,`userVerification`,`AuthenticatorSelectionCriteria`,`Pn!4"8)4#8n$4%8n&4'8Mw(y`],Ok=[()=>kw,`id`,()=>sA,`transports`,()=>cA,`type`,`PublicKeyCredentialDescriptor`,`Pn!4"n#F4$8n%4&Mw'y`],kk=[`appid`,`credProps`,`credentialProtectionPolicy`,`enforceCredentialProtectionPolicy`,`hmacCreateSecret`,()=>lA,`largeBlob`,`minPinLength`,()=>uA,`prf`,`AuthenticationExtensionsClientInputs`,`P&4!8)4"8&4#8)4$8)4%8n&4'8)4(8n)4*8Mw+y`],Ak=[()=>dA,`alg`,()=>cA,`type`,`PublicKeyCredentialParameters`,`Pn!4"n#4$Mw%y`],jk=[()=>fA,`id`,`PublicKeyCredentialRpEntity`,`Pn!&4"8Mw#y`],Mk=[()=>fA,`displayName`,()=>kw,`id`,`PublicKeyCredentialUserEntity`,`Pn!&4"n#4$Mw%y`],Nk=[`discouraged`,`preferred`,`required`,`UserVerificationRequirement`,`P.!.".#Jw$y`],Pk=[`accuracy`,`altitude`,`altitudeAccuracy`,`heading`,`latitude`,`longitude`,`speed`,`toJSON`,`GeolocationCoordinates`,`P'4!9P',J4"9P',J4#9P',J4$9'4%9'4&9P',J4'9P"1(Mw)y`],Fk=[`EpochTimeStamp`,`'w!y`],Ik=[`bitrate`,`channels`,`contentType`,`samplerate`,`spatialRendering`,`AudioConfiguration`,`P'4!8&4"8&4#'4$8)4%8Mw&y`],Lk=[`bitrate`,()=>pA,`colorGamut`,`contentType`,`framerate`,`hasAlphaChannel`,()=>mA,`hdrMetadataType`,`height`,`scalabilityMode`,()=>hA,`transferFunction`,`width`,`VideoConfiguration`,`P'4!n"4#8&4$'4%)4&8n'4(8'4)&4*8n+4,8'4-Mw.y`],Rk=[`robustness`,`KeySystemTrackConfiguration`,`P&4!8Mw"y`],zk=[()=>gA,`getSubscription`,()=>_A,`options`,()=>hO,`permissionState`,()=>_A,()=>gA,`subscribe`,`PushManager`,"PPPn!,J`1\"Pn#2$8n%`1&Pn'2$8n(`1)Mw*y"],Bk=[`enabled`,`headerValue`,`NavigationPreloadState`,`P)4!8&4"8Mw#y`],Vk=[`auto`,`ltr`,`rtl`,`NotificationDirection`,`P.!.".#Jw$y`],Hk=[()=>G,`click`,()=>G,`close`,()=>G,`error`,()=>G,`show`,`NotificationEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],Uk=[()=>jb,()=>Jf,`midimessage`,`MIDIInputEventMap`,`Pn!n"4#Mw$y`],Wk=[()=>vA,`dstFactor`,()=>yA,`operation`,()=>vA,`srcFactor`,`GPUBlendComponent`,`Pn!4"8n#4$8n%4&8Mw'y`],Gk=`float16 float16x2 float16x4 float32 float32x2 float32x3 float32x4 sint16 sint16x2 sint16x4 sint32 sint32x2 sint32x3 sint32x4 sint8 sint8x2 sint8x4 snorm16 snorm16x2 snorm16x4 snorm8 snorm8x2 snorm8x4 uint16 uint16x2 uint16x4 uint32 uint32x2 uint32x3 uint32x4 uint8 uint8x2 uint8x4 unorm10-10-10-2 unorm16 unorm16x2 unorm16x4 unorm8 unorm8x2 unorm8x4 unorm8x4-bgra GPUVertexFormat P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.IJwJy`.split(` `),Kk=[`BigInteger`,`Ww!y`],qk=[()=>kw,0,`IDBValidKey`,`P'&Tn!n"FJw#y`],Jk=[`lower`,`lowerOpen`,`upper`,`upperOpen`,`key`,`includes`,`IDBKeyRange`,`P"4!9)4"9"4#9)4$9P"2%)1&Mw'y`],Yk=[`multiEntry`,`unique`,`IDBIndexParameters`,`P)4!8)4"8Mw#y`],Xk=[`next`,`nextunique`,`prev`,`prevunique`,`IDBCursorDirection`,`P.!.".#.$Jw%y`],Zk=[()=>sk,`value`,`IDBCursorWithValue`,`Pn!"4"9Mw#y`],Qk=[`default`,`relaxed`,`strict`,`IDBTransactionDurability`,`P.!.".#Jw$y`],$k=[()=>G,`abort`,()=>G,`complete`,()=>G,`error`,`IDBTransactionEventMap`,`Pn!4"n#4$n%4&Mw'y`],eA=[()=>Zy,`GPUQueueDescriptor`,`Pn!Mw"y`],tA=[`bgra8unorm-storage`,`clip-distances`,`core-features-and-limits`,`depth-clip-control`,`depth32float-stencil8`,`dual-source-blending`,`float32-blendable`,`float32-filterable`,`indirect-first-instance`,`primitive-index`,`rg11b10ufloat-renderable`,`shader-f16`,`subgroups`,`texture-compression-astc`,`texture-compression-astc-sliced-3d`,`texture-compression-bc`,`texture-compression-bc-sliced-3d`,`texture-compression-etc2`,`texture-formats-tier1`,`timestamp-query`,`GPUFeatureName`,`P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4Jw5y`],nA=[`directory`,`file`,`FileSystemHandleKind`,`P.!."Jw#y`],rA=[`keepExistingData`,`FileSystemCreateWritableOptions`,`P)4!8Mw"y`],iA=[()=>Gg,`position`,`seek`,`size`,`truncate`,()=>bA,`data`,`write`,`FileSystemWritableFileStream`,"Pn!P'2\"$`1#P'2$$`1%Pn&2'$`1(Mw)y"],aA=[`cross-platform`,`platform`,`AuthenticatorAttachment`,`P.!."Jw#y`],oA=[`discouraged`,`preferred`,`required`,`ResidentKeyRequirement`,`P.!.".#Jw$y`],sA=[`ble`,`hybrid`,`internal`,`nfc`,`usb`,`AuthenticatorTransport`,`P.!.".#.$.%Jw&y`],cA=[`public-key`,`PublicKeyCredentialType`,`.!w"y`],lA=[`read`,`support`,()=>kw,`write`,`AuthenticationExtensionsLargeBlobInputs`,`P)4!8&4"8n#4$8Mw%y`],uA=[()=>xA,`eval`,()=>AE,()=>xA,`evalByCredential`,`AuthenticationExtensionsPRFInputs`,`Pn!4"8&n$o##4%8Mw&y`],dA=[`COSEAlgorithmIdentifier`,`'w!y`],fA=[`name`,`PublicKeyCredentialEntity`,`P&4!Mw"y`],pA=[`p3`,`rec2020`,`srgb`,`ColorGamut`,`P.!.".#Jw$y`],mA=[`smpteSt2086`,`smpteSt2094-10`,`smpteSt2094-40`,`HdrMetadataType`,`P.!.".#Jw$y`],hA=[`hlg`,`pq`,`srgb`,`TransferFunction`,`P.!.".#Jw$y`],gA=[`endpoint`,()=>Fk,`expirationTime`,()=>SA,`options`,()=>CA,`name`,`getKey`,()=>wA,`toJSON`,`unsubscribe`,`PushSubscription`,`P&4!9Pn",J4#9n$4%9Pn&2'P_,J1(Pn)1*P)\`1+Mw,y`],_A=[()=>kw,`applicationServerKey`,`userVisibleOnly`,`PushSubscriptionOptionsInit`,`PPn!&,J4"8)4#8Mw$y`],vA=[`constant`,`dst`,`dst-alpha`,`one`,`one-minus-constant`,`one-minus-dst`,`one-minus-dst-alpha`,`one-minus-src`,`one-minus-src-alpha`,`src`,`src-alpha`,`src-alpha-saturated`,`zero`,`GPUBlendFactor`,`P.!.".#.$.%.&.'.(.).*.+.,.-Jw.y`],yA=[`add`,`max`,`min`,`reverse-subtract`,`subtract`,`GPUBlendOperation`,`P.!.".#.$.%Jw&y`],bA=[()=>kw,()=>Vc,()=>TA,`FileSystemWriteChunkType`,`Pn!n"&n#Jw$y`],xA=[()=>kw,`first`,()=>kw,`second`,`AuthenticationExtensionsPRFValues`,`Pn!4"n#4$8Mw%y`],SA=[`applicationServerKey`,`userVisibleOnly`,`PushSubscriptionOptions`,`PP_,J4!9)4"9Mw#y`],CA=[`auth`,`p256dh`,`PushEncryptionKeyName`,`P.!."Jw#y`],wA=[`endpoint`,()=>Fk,`expirationTime`,()=>AE,`keys`,`PushSubscriptionJSON`,`P&4!8Pn",J4#8&&o$#4%8Mw&y`],TA=[()=>kw,()=>Vc,`data`,`position`,`size`,()=>EA,`type`,`WriteParams`,`PPn!n"&,J4#8P',J4$8P',J4%8n&4'Mw(y`],EA=[`seek`,`truncate`,`write`,`WriteCommandType`,`P.!.".#Jw$y`];function __assignType$1(e,t){return e.__type=t,e}__name(__assignType$1,`__assignType`);const DA=[`wireframe`,`flat`,`smooth`,`glossy`,`textured`,`reflective`,`ShadingMode`,`P.!.".#.$.%.&Jw'y`],OA=[2,3,4,5,6,8,10,15,20,30,40,50],kA=[`wireframe`,`flat`,`smooth`,`glossy`,`textured`,`reflective`],AA=[`newTess`,`lid`,`body`,`bottom`,`fitLid`,`nonblinn`,()=>DA,`newShading`,`TeapotEffectController`,`P'4!)4")4#)4$)4%)4&n'4(Mw)y`],jA=[()=>AA,`effectController`,`render`,`pause`,`resume`,`isPaused`,`TeapotDemo`,`Pn!4"9P$1#P$1$P$1%)4&9Mw'y`],MA=[`assetBase`,`StartOptions`,`P&4!8Mw"y`];function start(e,t){let n=t?.assetBase??`./`,r=new WebGLRenderer({canvas:e,antialias:!0});r.setSize(e.width,e.height,!1);let i=e.width,a=e.height,o=new PerspectiveCamera(45,e.width/e.height,1,8e4);o.position.set(-600,550,1300);let s=new Scene;s.background=new Color(11184810);let c=new AmbientLight(8158332,2);s.add(c);let l=new DirectionalLight(16777215,2);l.position.set(.32,.39,.7),s.add(l);let u=new TextureLoader().load(`${n}assets/uv_grid_opengl.jpg`);u.wrapS=u.wrapT=Mr,u.anisotropy=16,u.colorSpace=oi;let d=`${n}assets/pisa/`,f=new CubeTextureLoader().setPath(d).load([`px.png`,`nx.png`,`py.png`,`ny.png`,`pz.png`,`nz.png`]),p={wireframe:new MeshBasicMaterial({wireframe:!0}),flat:new MeshPhongMaterial({specular:0,flatShading:!0,side:2}),smooth:new MeshLambertMaterial({side:2}),glossy:new MeshPhongMaterial({color:12632256,specular:4210752,shininess:300,side:2}),textured:new MeshPhongMaterial({map:u,side:2}),reflective:new MeshPhongMaterial({envMap:f,side:2})};new OrbitControls(o,e).addEventListener(`change`,render);let m={newTess:15,lid:!0,body:!0,bottom:!0,fitLid:!1,nonblinn:!1,newShading:`glossy`},h=-1,g,_,v,y,b,x,S;function createNewTeapot(){S!==void 0&&(S.geometry.dispose(),s.remove(S)),S=new Mesh(new TeapotGeometry(300,h,m.bottom,m.lid,m.body,m.fitLid,!m.nonblinn),p[x]),s.add(S)}createNewTeapot.__type=[`createNewTeapot`,`P"/!`];function doRender(){(m.newTess!==h||m.bottom!==g||m.lid!==_||m.body!==v||m.fitLid!==y||m.nonblinn!==b||m.newShading!==x)&&(h=m.newTess,g=m.bottom,_=m.lid,v=m.body,y=m.fitLid,b=m.nonblinn,x=m.newShading,createNewTeapot()),x===`reflective`?s.background=f:s.background=null;let t=e.width,n=e.height;(i!==t||a!==n)&&(i=t,a=n,r.setSize(t,n,!1),o.aspect=t/n,o.updateProjectionMatrix()),r.render(s,o)}doRender.__type=[`doRender`,`P"/!`];let C=!1,w=!1,T=!1;function render(){if(w){T=!0;return}C||(C=!0,requestAnimationFrame(()=>{C=!1,doRender()}))}return render.__type=[`render`,`P"/!`],render(),{effectController:m,render,get isPaused(){return w},pause:__assignType$1(function pause(){w||=!0},[`pause`,`P"/!`]),resume:__assignType$1(function resume(){w&&(w=!1,T&&(T=!1,render()))},[`resume`,`P"/!`])}}start.__type=[()=>Js,`canvas`,()=>MA,`options`,()=>jA,`start`,`Pn!2"n#2$8n%/&`];var NA=`<?xml version="1.0" encoding="UTF-8"?>
|
|
4197
|
+
}`,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new Mesh(new Do(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}},WebXRManager=class extends EventDispatcher{constructor(e,t){super();let n=this,r=null,i=1,a=null,o=`local-floor`,s=1,c=null,l=null,u=null,d=null,f=null,p=null,m=typeof XRWebGLBinding<`u`,h=new WebXRDepthSensing,g={},_=t.getContextAttributes(),v=null,y=null,b=[],x=[],S=new xi,C=null,w=new PerspectiveCamera;w.viewport=new Pi;let T=new PerspectiveCamera;T.viewport=new Pi;let E=[w,T],D=new ArrayCamera,O=null,ee=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getGripSpace()},this.getHand=function(e){let t=b[e];return t===void 0&&(t=new WebXRController,b[e]=t),t.getHandSpace()};function onSessionEvent(e){let t=x.indexOf(e.inputSource);if(t===-1)return;let n=b[t];n!==void 0&&(n.update(e.inputSource,e.frame,c||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function onSessionEnd(){r.removeEventListener(`select`,onSessionEvent),r.removeEventListener(`selectstart`,onSessionEvent),r.removeEventListener(`selectend`,onSessionEvent),r.removeEventListener(`squeeze`,onSessionEvent),r.removeEventListener(`squeezestart`,onSessionEvent),r.removeEventListener(`squeezeend`,onSessionEvent),r.removeEventListener(`end`,onSessionEnd),r.removeEventListener(`inputsourceschange`,onInputSourcesChange);for(let e=0;e<b.length;e++){let t=x[e];t!==null&&(x[e]=null,b[e].disconnect(t))}O=null,ee=null,h.reset();for(let e in g)delete g[e];e.setRenderTarget(v),f=null,d=null,u=null,r=null,y=null,A.stop(),n.isPresenting=!1,e.setPixelRatio(C),e.setSize(S.width,S.height,!1),n.dispatchEvent({type:`sessionend`})}this.setFramebufferScaleFactor=function(e){i=e,n.isPresenting===!0&&warn(`WebXRManager: Cannot change framebuffer scale while presenting.`)},this.setReferenceSpaceType=function(e){o=e,n.isPresenting===!0&&warn(`WebXRManager: Cannot change reference space type while presenting.`)},this.getReferenceSpace=function(){return c||a},this.setReferenceSpace=function(e){c=e},this.getBaseLayer=function(){return d===null?f:d},this.getBinding=function(){return u===null&&m&&(u=new XRWebGLBinding(r,t)),u},this.getFrame=function(){return p},this.getSession=function(){return r},this.setSession=async function(l){if(r=l,r!==null){if(v=e.getRenderTarget(),r.addEventListener(`select`,onSessionEvent),r.addEventListener(`selectstart`,onSessionEvent),r.addEventListener(`selectend`,onSessionEvent),r.addEventListener(`squeeze`,onSessionEvent),r.addEventListener(`squeezestart`,onSessionEvent),r.addEventListener(`squeezeend`,onSessionEvent),r.addEventListener(`end`,onSessionEnd),r.addEventListener(`inputsourceschange`,onInputSourcesChange),_.xrCompatible!==!0&&await t.makeXRCompatible(),C=e.getPixelRatio(),e.getSize(S),m&&`createProjectionLayer`in XRWebGLBinding.prototype){let n=null,a=null,o=null;_.depth&&(o=_.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=_.stencil?Xr:Yr,a=_.stencil?qr:Hr);let s={colorFormat:t.RGBA8,depthFormat:o,scaleFactor:i};u=this.getBinding(),d=u.createProjectionLayer(s),r.updateRenderState({layers:[d]}),e.setPixelRatio(1),e.setSize(d.textureWidth,d.textureHeight,!1),y=new WebGLRenderTarget(d.textureWidth,d.textureHeight,{format:Jr,type:Br,depthTexture:new DepthTexture(d.textureWidth,d.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:_.stencil,colorSpace:e.outputColorSpace,samples:_.antialias?4:0,resolveDepthBuffer:d.ignoreDepthValues===!1,resolveStencilBuffer:d.ignoreDepthValues===!1})}else{let n={antialias:_.antialias,alpha:!0,depth:_.depth,stencil:_.stencil,framebufferScaleFactor:i};f=new XRWebGLLayer(r,t,n),r.updateRenderState({baseLayer:f}),e.setPixelRatio(1),e.setSize(f.framebufferWidth,f.framebufferHeight,!1),y=new WebGLRenderTarget(f.framebufferWidth,f.framebufferHeight,{format:Jr,type:Br,colorSpace:e.outputColorSpace,stencilBuffer:_.stencil,resolveDepthBuffer:f.ignoreDepthValues===!1,resolveStencilBuffer:f.ignoreDepthValues===!1})}y.isXRRenderTarget=!0,this.setFoveation(s),c=null,a=await r.requestReferenceSpace(o),A.setContext(r),A.start(),n.isPresenting=!0,n.dispatchEvent({type:`sessionstart`})}},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode},this.getDepthTexture=function(){return h.getDepthTexture()};function onInputSourcesChange(e){for(let t=0;t<e.removed.length;t++){let n=e.removed[t],r=x.indexOf(n);r>=0&&(x[r]=null,b[r].disconnect(n))}for(let t=0;t<e.added.length;t++){let n=e.added[t],r=x.indexOf(n);if(r===-1){for(let e=0;e<b.length;e++)if(e>=x.length){x.push(n),r=e;break}else if(x[e]===null){x[e]=n,r=e;break}if(r===-1)break}let i=b[r];i&&i.connect(n)}}let te=new I,ne=new I;function setProjectionFromUnion(e,t,n){te.setFromMatrixPosition(t.matrixWorld),ne.setFromMatrixPosition(n.matrixWorld);let r=te.distanceTo(ne),i=t.projectionMatrix.elements,a=n.projectionMatrix.elements,o=i[14]/(i[10]-1),s=i[14]/(i[10]+1),c=(i[9]+1)/i[5],l=(i[9]-1)/i[5],u=(i[8]-1)/i[0],d=(a[8]+1)/a[0],f=o*u,p=o*d,m=r/(-u+d),h=m*-u;if(t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(h),e.translateZ(m),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert(),i[10]===-1)e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse);else{let t=o+m,n=s+m,i=f-h,a=p+(r-h),u=c*s/n*t,d=l*s/n*t;e.projectionMatrix.makePerspective(i,a,u,d,t,n),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}}function updateCamera(e,t){t===null?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(r===null)return;let t=e.near,n=e.far;h.texture!==null&&(h.depthNear>0&&(t=h.depthNear),h.depthFar>0&&(n=h.depthFar)),D.near=T.near=w.near=t,D.far=T.far=w.far=n,(O!==D.near||ee!==D.far)&&(r.updateRenderState({depthNear:D.near,depthFar:D.far}),O=D.near,ee=D.far),D.layers.mask=e.layers.mask|6,w.layers.mask=D.layers.mask&-5,T.layers.mask=D.layers.mask&-3;let i=e.parent,a=D.cameras;updateCamera(D,i);for(let e=0;e<a.length;e++)updateCamera(a[e],i);a.length===2?setProjectionFromUnion(D,w,T):D.projectionMatrix.copy(w.projectionMatrix),updateUserCamera(e,D,i)};function updateUserCamera(e,t,n){n===null?e.matrix.copy(t.matrixWorld):(e.matrix.copy(n.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld)),e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0),e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=yi*2*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}this.getCamera=function(){return D},this.getFoveation=function(){if(!(d===null&&f===null))return s},this.setFoveation=function(e){s=e,d!==null&&(d.fixedFoveation=e),f!==null&&f.fixedFoveation!==void 0&&(f.fixedFoveation=e)},this.hasDepthSensing=function(){return h.texture!==null},this.getDepthSensingMesh=function(){return h.getMesh(D)},this.getCameraTexture=function(e){return g[e]};let k=null;function onAnimationFrame(t,i){if(l=i.getViewerPose(c||a),p=i,l!==null){let t=l.views;f!==null&&(e.setRenderTargetFramebuffer(y,f.framebuffer),e.setRenderTarget(y));let i=!1;t.length!==D.cameras.length&&(D.cameras.length=0,i=!0);for(let n=0;n<t.length;n++){let r=t[n],a=null;if(f!==null)a=f.getViewport(r);else{let t=u.getViewSubImage(d,r);a=t.viewport,n===0&&(e.setRenderTargetTextures(y,t.colorTexture,t.depthStencilTexture),e.setRenderTarget(y))}let o=E[n];o===void 0&&(o=new PerspectiveCamera,o.layers.enable(n),o.viewport=new Pi,E[n]=o),o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.quaternion,o.scale),o.projectionMatrix.fromArray(r.projectionMatrix),o.projectionMatrixInverse.copy(o.projectionMatrix).invert(),o.viewport.set(a.x,a.y,a.width,a.height),n===0&&(D.matrix.copy(o.matrix),D.matrix.decompose(D.position,D.quaternion,D.scale)),i===!0&&D.cameras.push(o)}let a=r.enabledFeatures;if(a&&a.includes(`depth-sensing`)&&r.depthUsage==`gpu-optimized`&&m){u=n.getBinding();let e=u.getDepthInformation(t[0]);e&&e.isValid&&e.texture&&h.init(e,r.renderState)}if(a&&a.includes(`camera-access`)&&m){e.state.unbindTexture(),u=n.getBinding();for(let e=0;e<t.length;e++){let n=t[e].camera;if(n){let e=g[n];e||(e=new ExternalTexture,g[n]=e);let t=u.getCameraImage(n);e.sourceTexture=t}}}}for(let e=0;e<b.length;e++){let t=x[e],n=b[e];t!==null&&n!==void 0&&n.update(t,i,c||a)}k&&k(t,i),i.detectedPlanes&&n.dispatchEvent({type:`planesdetected`,data:i}),p=null}let A=new WebGLAnimation;A.setAnimationLoop(onAnimationFrame),this.setAnimationLoop=function(e){k=e},this.dispose=function(){}}};const Is=new Fi,Ls=new wi;Ls.set(-1,0,0,0,1,0,0,0,1);function WebGLMaterials(e,t){function refreshTransformUniform(e,t){e.matrixAutoUpdate===!0&&e.updateMatrix(),t.value.copy(e.matrix)}function refreshFogUniforms(t,n){n.color.getRGB(t.fogColor.value,getUnlitUniformColorSpace(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)}function refreshMaterialUniforms(e,t,n,r,i){t.isNodeMaterial?t.uniformsNeedUpdate=!1:t.isMeshBasicMaterial?refreshUniformsCommon(e,t):t.isMeshLambertMaterial?(refreshUniformsCommon(e,t),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)):t.isMeshToonMaterial?(refreshUniformsCommon(e,t),refreshUniformsToon(e,t)):t.isMeshPhongMaterial?(refreshUniformsCommon(e,t),refreshUniformsPhong(e,t),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)):t.isMeshStandardMaterial?(refreshUniformsCommon(e,t),refreshUniformsStandard(e,t),t.isMeshPhysicalMaterial&&refreshUniformsPhysical(e,t,i)):t.isMeshMatcapMaterial?(refreshUniformsCommon(e,t),refreshUniformsMatcap(e,t)):t.isMeshDepthMaterial?refreshUniformsCommon(e,t):t.isMeshDistanceMaterial?(refreshUniformsCommon(e,t),refreshUniformsDistance(e,t)):t.isMeshNormalMaterial?refreshUniformsCommon(e,t):t.isLineBasicMaterial?(refreshUniformsLine(e,t),t.isLineDashedMaterial&&refreshUniformsDash(e,t)):t.isPointsMaterial?refreshUniformsPoints(e,t,n,r):t.isSpriteMaterial?refreshUniformsSprites(e,t):t.isShadowMaterial?(e.color.value.copy(t.color),e.opacity.value=t.opacity):t.isShaderMaterial&&(t.uniformsNeedUpdate=!1)}function refreshUniformsCommon(e,n){e.opacity.value=n.opacity,n.color&&e.diffuse.value.copy(n.color),n.emissive&&e.emissive.value.copy(n.emissive).multiplyScalar(n.emissiveIntensity),n.map&&(e.map.value=n.map,refreshTransformUniform(n.map,e.mapTransform)),n.alphaMap&&(e.alphaMap.value=n.alphaMap,refreshTransformUniform(n.alphaMap,e.alphaMapTransform)),n.bumpMap&&(e.bumpMap.value=n.bumpMap,refreshTransformUniform(n.bumpMap,e.bumpMapTransform),e.bumpScale.value=n.bumpScale,n.side===1&&(e.bumpScale.value*=-1)),n.normalMap&&(e.normalMap.value=n.normalMap,refreshTransformUniform(n.normalMap,e.normalMapTransform),e.normalScale.value.copy(n.normalScale),n.side===1&&e.normalScale.value.negate()),n.displacementMap&&(e.displacementMap.value=n.displacementMap,refreshTransformUniform(n.displacementMap,e.displacementMapTransform),e.displacementScale.value=n.displacementScale,e.displacementBias.value=n.displacementBias),n.emissiveMap&&(e.emissiveMap.value=n.emissiveMap,refreshTransformUniform(n.emissiveMap,e.emissiveMapTransform)),n.specularMap&&(e.specularMap.value=n.specularMap,refreshTransformUniform(n.specularMap,e.specularMapTransform)),n.alphaTest>0&&(e.alphaTest.value=n.alphaTest);let r=t.get(n),i=r.envMap,a=r.envMapRotation;i&&(e.envMap.value=i,e.envMapRotation.value.setFromMatrix4(Is.makeRotationFromEuler(a)).transpose(),i.isCubeTexture&&i.isRenderTargetTexture===!1&&e.envMapRotation.value.premultiply(Ls),e.reflectivity.value=n.reflectivity,e.ior.value=n.ior,e.refractionRatio.value=n.refractionRatio),n.lightMap&&(e.lightMap.value=n.lightMap,e.lightMapIntensity.value=n.lightMapIntensity,refreshTransformUniform(n.lightMap,e.lightMapTransform)),n.aoMap&&(e.aoMap.value=n.aoMap,e.aoMapIntensity.value=n.aoMapIntensity,refreshTransformUniform(n.aoMap,e.aoMapTransform))}function refreshUniformsLine(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.mapTransform))}function refreshUniformsDash(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}function refreshUniformsPoints(e,t,n,r){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*n,e.scale.value=r*.5,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.uvTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,refreshTransformUniform(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function refreshUniformsSprites(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,refreshTransformUniform(t.map,e.mapTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,refreshTransformUniform(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function refreshUniformsPhong(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}function refreshUniformsToon(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}function refreshUniformsStandard(e,t){e.metalness.value=t.metalness,t.metalnessMap&&(e.metalnessMap.value=t.metalnessMap,refreshTransformUniform(t.metalnessMap,e.metalnessMapTransform)),e.roughness.value=t.roughness,t.roughnessMap&&(e.roughnessMap.value=t.roughnessMap,refreshTransformUniform(t.roughnessMap,e.roughnessMapTransform)),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)}function refreshUniformsPhysical(e,t,n){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,refreshTransformUniform(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,refreshTransformUniform(t.sheenRoughnessMap,e.sheenRoughnessMapTransform))),t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,refreshTransformUniform(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,refreshTransformUniform(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,refreshTransformUniform(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),t.side===1&&e.clearcoatNormalScale.value.negate())),t.dispersion>0&&(e.dispersion.value=t.dispersion),t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,refreshTransformUniform(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,refreshTransformUniform(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform))),t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=n.texture,e.transmissionSamplerSize.value.set(n.width,n.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,refreshTransformUniform(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,refreshTransformUniform(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor)),t.anisotropy>0&&(e.anisotropyVector.value.set(t.anisotropy*Math.cos(t.anisotropyRotation),t.anisotropy*Math.sin(t.anisotropyRotation)),t.anisotropyMap&&(e.anisotropyMap.value=t.anisotropyMap,refreshTransformUniform(t.anisotropyMap,e.anisotropyMapTransform))),e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,refreshTransformUniform(t.specularColorMap,e.specularColorMapTransform)),t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,refreshTransformUniform(t.specularIntensityMap,e.specularIntensityMapTransform))}function refreshUniformsMatcap(e,t){t.matcap&&(e.matcap.value=t.matcap)}function refreshUniformsDistance(e,n){let r=t.get(n).light;e.referencePosition.value.setFromMatrixPosition(r.matrixWorld),e.nearDistance.value=r.shadow.camera.near,e.farDistance.value=r.shadow.camera.far}return{refreshFogUniforms,refreshMaterialUniforms}}function WebGLUniformsGroups(e,t,n,r){let i={},a={},o=[],s=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function bind(e,t){let n=t.program;r.uniformBlockBinding(e,n)}function update(e,n){let o=i[e.id];o===void 0&&(prepareUniformsGroup(e),o=createBuffer(e),i[e.id]=o,e.addEventListener(`dispose`,onUniformsGroupsDispose));let s=n.program;r.updateUBOMapping(e,s);let c=t.render.frame;a[e.id]!==c&&(updateBufferData(e),a[e.id]=c)}function createBuffer(t){let n=allocateBindingPointIndex();t.__bindingPointIndex=n;let r=e.createBuffer(),i=t.__size,a=t.usage;return e.bindBuffer(e.UNIFORM_BUFFER,r),e.bufferData(e.UNIFORM_BUFFER,i,a),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,n,r),r}function allocateBindingPointIndex(){for(let e=0;e<s;e++)if(o.indexOf(e)===-1)return o.push(e),e;return error(`WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached.`),0}function updateBufferData(t){let n=i[t.id],r=t.uniforms,a=t.__cache;e.bindBuffer(e.UNIFORM_BUFFER,n);for(let e=0,t=r.length;e<t;e++){let t=r[e];if(Array.isArray(t))for(let n=0,r=t.length;n<r;n++)updateUniform(t[n],e,n,a);else updateUniform(t,e,0,a)}e.bindBuffer(e.UNIFORM_BUFFER,null)}function updateUniform(t,n,r,i){if(hasUniformChanged(t,n,r,i)===!0){let n=t.__offset,r=t.value;if(Array.isArray(r)){let e=0;for(let n=0;n<r.length;n++){let i=r[n],a=getUniformSize(i);writeUniformValue(i,t.__data,e),typeof i!=`number`&&typeof i!=`boolean`&&!i.isMatrix3&&!ArrayBuffer.isView(i)&&(e+=a.storage/Float32Array.BYTES_PER_ELEMENT)}}else writeUniformValue(r,t.__data,0);e.bufferSubData(e.UNIFORM_BUFFER,n,t.__data)}}function writeUniformValue(e,t,n){typeof e==`number`||typeof e==`boolean`?t[0]=e:e.isMatrix3?(t[0]=e.elements[0],t[1]=e.elements[1],t[2]=e.elements[2],t[3]=0,t[4]=e.elements[3],t[5]=e.elements[4],t[6]=e.elements[5],t[7]=0,t[8]=e.elements[6],t[9]=e.elements[7],t[10]=e.elements[8],t[11]=0):ArrayBuffer.isView(e)?t.set(new e.constructor(e.buffer,e.byteOffset,t.length)):e.toArray(t,n)}function hasUniformChanged(e,t,n,r){let i=e.value,a=t+`_`+n;if(r[a]===void 0)return typeof i==`number`||typeof i==`boolean`?r[a]=i:ArrayBuffer.isView(i)?r[a]=i.slice():r[a]=i.clone(),!0;{let e=r[a];if(typeof i==`number`||typeof i==`boolean`){if(e!==i)return r[a]=i,!0}else if(ArrayBuffer.isView(i))return!0;else if(e.equals(i)===!1)return e.copy(i),!0}return!1}function prepareUniformsGroup(e){let t=e.uniforms,n=0;for(let e=0,r=t.length;e<r;e++){let r=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0,t=r.length;e<t;e++){let t=r[e],i=Array.isArray(t.value)?t.value:[t.value];for(let e=0,r=i.length;e<r;e++){let r=i[e],a=getUniformSize(r),o=n%16,s=o%a.boundary,c=o+s;n+=s,c!==0&&16-c<a.storage&&(n+=16-c),t.__data=new Float32Array(a.storage/Float32Array.BYTES_PER_ELEMENT),t.__offset=n,n+=a.storage}}}let r=n%16;return r>0&&(n+=16-r),e.__size=n,e.__cache={},this}function getUniformSize(e){let t={boundary:0,storage:0};return typeof e==`number`||typeof e==`boolean`?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?warn(`WebGLRenderer: Texture samplers can not be part of an uniforms group.`):ArrayBuffer.isView(e)?(t.boundary=16,t.storage=e.byteLength):warn(`WebGLRenderer: Unsupported uniform value type.`,e),t}function onUniformsGroupsDispose(t){let n=t.target;n.removeEventListener(`dispose`,onUniformsGroupsDispose);let r=o.indexOf(n.__bindingPointIndex);o.splice(r,1),e.deleteBuffer(i[n.id]),delete i[n.id],delete a[n.id]}function dispose(){for(let t in i)e.deleteBuffer(i[t]);o=[],i={},a={}}return{bind,update,dispose}}const Rs=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]);let zs=null;function getDFGLUT(){return zs===null&&(zs=new DataTexture(Rs,16,16,Qr,Wr),zs.name=`DFG_LUT`,zs.minFilter=Rr,zs.magFilter=Rr,zs.wrapS=Fr,zs.wrapT=Fr,zs.generateMipmaps=!1,zs.needsUpdate=!0),zs}var WebGLRenderer=class{constructor(e={}){let{canvas:t=createCanvasElement(),context:n=null,depth:r=!0,stencil:i=!1,alpha:a=!1,antialias:o=!1,premultipliedAlpha:s=!0,preserveDrawingBuffer:c=!1,powerPreference:l=`default`,failIfMajorPerformanceCaveat:u=!1,reversedDepthBuffer:d=!1,outputBufferType:f=Br}=e;this.isWebGLRenderer=!0;let p;if(n!==null){if(typeof WebGLRenderingContext<`u`&&n instanceof WebGLRenderingContext)throw Error(`THREE.WebGLRenderer: WebGL 1 is not supported since r163.`);p=n.getContextAttributes().alpha}else p=a;let m=f,h=new Set([ei,$r,Zr]),g=new Set([Br,Hr,Vr,qr,Gr,Kr]),_=new Uint32Array(4),v=new Int32Array(4),y=new I,b=null,x=null,S=[],C=[],w=null;this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.toneMapping=0,this.toneMappingExposure=1,this.transmissionResolutionScale=1;let T=this,E=!1,D=null,O=null,ee=null,te=null;this._outputColorSpace=ci;let ne=0,k=0,A=null,re=-1,ie=null,ae=new Pi,oe=new Pi,se=null,ce=new Color(0),le=0,ue=t.width,de=t.height,fe=1,pe=null,me=null,he=new Pi(0,0,ue,de),ge=new Pi(0,0,ue,de),_e=!1,ve=new Frustum,ye=!1,be=!1,xe=new Fi,Se=new I,Ce=new Pi,we={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0},Te=!1;function getTargetPixelRatio(){return A===null?fe:1}let j=n;function getContext(e,n){return t.getContext(e,n)}try{let e={alpha:!0,depth:r,stencil:i,antialias:o,premultipliedAlpha:s,preserveDrawingBuffer:c,powerPreference:l,failIfMajorPerformanceCaveat:u};if(`setAttribute`in t&&t.setAttribute(`data-engine`,`three.js r185`),t.addEventListener(`webglcontextlost`,onContextLost,!1),t.addEventListener(`webglcontextrestored`,onContextRestore,!1),t.addEventListener(`webglcontextcreationerror`,onContextCreationError,!1),j===null){let t=`webgl2`;if(j=getContext(t,e),j===null)throw getContext(t)?Error(`THREE.WebGLRenderer: Error creating WebGL context with your selected attributes.`):Error(`THREE.WebGLRenderer: Error creating WebGL context.`)}}catch(e){throw error(`WebGLRenderer: `+e.message),e}let Ee,De,M,Oe,ke,N,P,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge;function initGLContext(){Ee=new WebGLExtensions(j),Ee.init(),Ue=new WebGLUtils(j,Ee),De=new WebGLCapabilities(j,Ee,e,Ue),M=new WebGLState(j,Ee),De.reversedDepthBuffer&&d&&M.buffers.depth.setReversed(!0),O=j.createFramebuffer(),ee=j.createFramebuffer(),te=j.createFramebuffer(),Oe=new WebGLInfo(j),ke=new WebGLProperties,N=new WebGLTextures(j,Ee,M,ke,De,Ue,Oe),P=new WebGLEnvironments(T),Ae=new WebGLAttributes(j),We=new WebGLBindingStates(j,Ae),je=new WebGLGeometries(j,Ae,Oe,We),Me=new WebGLObjects(j,je,Ae,We,Oe),Be=new WebGLMorphtargets(j,De,N),Le=new WebGLClipping(ke),Ne=new WebGLPrograms(T,P,Ee,De,We,Le),Pe=new WebGLMaterials(T,ke),Fe=new WebGLRenderLists,Ie=new WebGLRenderStates(Ee),ze=new WebGLBackground(T,P,M,Me,p,s),Re=new WebGLShadowMap(T,Me,De),Ge=new WebGLUniformsGroups(j,Oe,De,M),Ve=new WebGLBufferRenderer(j,Ee,Oe),He=new WebGLIndexedBufferRenderer(j,Ee,Oe),Oe.programs=Ne.programs,T.capabilities=De,T.extensions=Ee,T.properties=ke,T.renderLists=Fe,T.shadowMap=Re,T.state=M,T.info=Oe}initGLContext(),m!==1009&&(w=new WebGLOutput(m,t.width,t.height,o,r,i));let Ke=new WebXRManager(T,j);this.xr=Ke,this.getContext=function(){return j},this.getContextAttributes=function(){return j.getContextAttributes()},this.forceContextLoss=function(){let e=Ee.get(`WEBGL_lose_context`);e&&e.loseContext()},this.forceContextRestore=function(){let e=Ee.get(`WEBGL_lose_context`);e&&e.restoreContext()},this.getPixelRatio=function(){return fe},this.setPixelRatio=function(e){e!==void 0&&(fe=e,this.setSize(ue,de,!1))},this.getSize=function(e){return e.set(ue,de)},this.setSize=function(e,n,r=!0){if(Ke.isPresenting){warn(`WebGLRenderer: Can't change size while VR device is presenting.`);return}ue=e,de=n,t.width=Math.floor(e*fe),t.height=Math.floor(n*fe),r===!0&&(t.style.width=e+`px`,t.style.height=n+`px`),w!==null&&w.setSize(t.width,t.height),this.setViewport(0,0,e,n)},this.getDrawingBufferSize=function(e){return e.set(ue*fe,de*fe).floor()},this.setDrawingBufferSize=function(e,n,r){ue=e,de=n,fe=r,t.width=Math.floor(e*r),t.height=Math.floor(n*r),this.setViewport(0,0,e,n)},this.setEffects=function(e){if(m===1009){error(`WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.`);return}if(e){for(let t=0;t<e.length;t++)if(e[t].isOutputPass===!0){warn(`WebGLRenderer: OutputPass is not needed in setEffects(). Tone mapping and color space conversion are applied automatically.`);break}}w.setEffects(e||[])},this.getCurrentViewport=function(e){return e.copy(ae)},this.getViewport=function(e){return e.copy(he)},this.setViewport=function(e,t,n,r){e.isVector4?he.set(e.x,e.y,e.z,e.w):he.set(e,t,n,r),M.viewport(ae.copy(he).multiplyScalar(fe).round())},this.getScissor=function(e){return e.copy(ge)},this.setScissor=function(e,t,n,r){e.isVector4?ge.set(e.x,e.y,e.z,e.w):ge.set(e,t,n,r),M.scissor(oe.copy(ge).multiplyScalar(fe).round())},this.getScissorTest=function(){return _e},this.setScissorTest=function(e){M.setScissorTest(_e=e)},this.setOpaqueSort=function(e){pe=e},this.setTransparentSort=function(e){me=e},this.getClearColor=function(e){return e.copy(ze.getClearColor())},this.setClearColor=function(){ze.setClearColor(...arguments)},this.getClearAlpha=function(){return ze.getClearAlpha()},this.setClearAlpha=function(){ze.setClearAlpha(...arguments)},this.clear=function(e=!0,t=!0,n=!0){let r=0;if(e){let e=!1;if(A!==null){let t=A.texture.format;e=h.has(t)}if(e){let e=A.texture.type,t=g.has(e),n=ze.getClearColor(),r=ze.getClearAlpha(),i=n.r,a=n.g,o=n.b;t?(_[0]=i,_[1]=a,_[2]=o,_[3]=r,j.clearBufferuiv(j.COLOR,0,_)):(v[0]=i,v[1]=a,v[2]=o,v[3]=r,j.clearBufferiv(j.COLOR,0,v))}else r|=j.COLOR_BUFFER_BIT}t&&(r|=j.DEPTH_BUFFER_BIT,this.state.buffers.depth.setMask(!0)),n&&(r|=j.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),r!==0&&j.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.setNodesHandler=function(e){e.setRenderer(this),D=e},this.dispose=function(){t.removeEventListener(`webglcontextlost`,onContextLost,!1),t.removeEventListener(`webglcontextrestored`,onContextRestore,!1),t.removeEventListener(`webglcontextcreationerror`,onContextCreationError,!1),ze.dispose(),Fe.dispose(),Ie.dispose(),ke.dispose(),P.dispose(),Me.dispose(),We.dispose(),Ge.dispose(),Ne.dispose(),Ke.dispose(),Ke.removeEventListener(`sessionstart`,onXRSessionStart),Ke.removeEventListener(`sessionend`,onXRSessionEnd),Je.stop()};function onContextLost(e){e.preventDefault(),log(`WebGLRenderer: Context Lost.`),E=!0}function onContextRestore(){log(`WebGLRenderer: Context Restored.`),E=!1;let e=Oe.autoReset,t=Re.enabled,n=Re.autoUpdate,r=Re.needsUpdate,i=Re.type;initGLContext(),Oe.autoReset=e,Re.enabled=t,Re.autoUpdate=n,Re.needsUpdate=r,Re.type=i}function onContextCreationError(e){error(`WebGLRenderer: A WebGL context could not be created. Reason: `,e.statusMessage)}function onMaterialDispose(e){let t=e.target;t.removeEventListener(`dispose`,onMaterialDispose),deallocateMaterial(t)}function deallocateMaterial(e){releaseMaterialProgramReferences(e),ke.remove(e)}function releaseMaterialProgramReferences(e){let t=ke.get(e).programs;t!==void 0&&(t.forEach(function(e){Ne.releaseProgram(e)}),e.isShaderMaterial&&Ne.releaseShaderCache(e))}this.renderBufferDirect=function(e,t,n,r,i,a){t===null&&(t=we);let o=i.isMesh&&i.matrixWorld.determinantAffine()<0,s=setProgram(e,t,n,r,i);M.setMaterial(r,o);let c=n.index,l=1;if(r.wireframe===!0){if(c=je.getWireframeAttribute(n),c===void 0)return;l=2}let u=n.drawRange,d=n.attributes.position,f=u.start*l,p=(u.start+u.count)*l;a!==null&&(f=Math.max(f,a.start*l),p=Math.min(p,(a.start+a.count)*l)),c===null?d!=null&&(f=Math.max(f,0),p=Math.min(p,d.count)):(f=Math.max(f,0),p=Math.min(p,c.count));let m=p-f;if(m<0||m===1/0)return;We.setup(i,r,s,n,c);let h,g=Ve;if(c!==null&&(h=Ae.get(c),g=He,g.setIndex(h)),i.isMesh)r.wireframe===!0?(M.setLineWidth(r.wireframeLinewidth*getTargetPixelRatio()),g.setMode(j.LINES)):g.setMode(j.TRIANGLES);else if(i.isLine){let e=r.linewidth;e===void 0&&(e=1),M.setLineWidth(e*getTargetPixelRatio()),i.isLineSegments?g.setMode(j.LINES):i.isLineLoop?g.setMode(j.LINE_LOOP):g.setMode(j.LINE_STRIP)}else i.isPoints?g.setMode(j.POINTS):i.isSprite&&g.setMode(j.TRIANGLES);if(i.isBatchedMesh)if(Ee.get(`WEBGL_multi_draw`))g.renderMultiDraw(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount);else{let e=i._multiDrawStarts,t=i._multiDrawCounts,n=i._multiDrawCount,a=c?Ae.get(c).bytesPerElement:1,o=ke.get(r).currentProgram.getUniforms();for(let r=0;r<n;r++)o.setValue(j,`_gl_DrawID`,r),g.render(e[r]/a,t[r])}else if(i.isInstancedMesh)g.renderInstances(f,m,i.count);else if(n.isInstancedBufferGeometry){let e=n._maxInstanceCount===void 0?1/0:n._maxInstanceCount,t=Math.min(n.instanceCount,e);g.renderInstances(f,m,t)}else g.render(f,m)};function prepareMaterial(e,t,n){e.transparent===!0&&e.side===2&&e.forceSinglePass===!1?(e.side=1,e.needsUpdate=!0,getProgram(e,t,n),e.side=0,e.needsUpdate=!0,getProgram(e,t,n),e.side=2):getProgram(e,t,n)}this.compile=function(e,t,n=null){n===null&&(n=e),x=Ie.get(n),x.init(t),C.push(x),n.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(x.pushLight(e),e.castShadow&&x.pushShadow(e))}),e!==n&&e.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(x.pushLight(e),e.castShadow&&x.pushShadow(e))}),x.setupLights();let r=new Set;return e.traverse(function(e){if(!(e.isMesh||e.isPoints||e.isLine||e.isSprite))return;let t=e.material;if(t)if(Array.isArray(t))for(let i=0;i<t.length;i++){let a=t[i];prepareMaterial(a,n,e),r.add(a)}else prepareMaterial(t,n,e),r.add(t)}),x=C.pop(),r},this.compileAsync=function(e,t,n=null){let r=this.compile(e,t,n);return new Promise(t=>{function checkMaterialsReady(){if(r.forEach(function(e){ke.get(e).currentProgram.isReady()&&r.delete(e)}),r.size===0){t(e);return}setTimeout(checkMaterialsReady,10)}Ee.get(`KHR_parallel_shader_compile`)===null?setTimeout(checkMaterialsReady,10):checkMaterialsReady()})};let qe=null;function onAnimationFrame(e){qe&&qe(e)}function onXRSessionStart(){Je.stop()}function onXRSessionEnd(){Je.start()}let Je=new WebGLAnimation;Je.setAnimationLoop(onAnimationFrame),typeof self<`u`&&Je.setContext(self),this.setAnimationLoop=function(e){qe=e,Ke.setAnimationLoop(e),e===null?Je.stop():Je.start()},Ke.addEventListener(`sessionstart`,onXRSessionStart),Ke.addEventListener(`sessionend`,onXRSessionEnd),this.render=function(e,t){if(t!==void 0&&t.isCamera!==!0){error(`WebGLRenderer.render: camera is not an instance of THREE.Camera.`);return}if(E===!0)return;D!==null&&D.renderStart(e,t);let n=Ke.enabled===!0&&Ke.isPresenting===!0,r=w!==null&&(A===null||n)&&w.begin(T,A);if(e.matrixWorldAutoUpdate===!0&&e.updateMatrixWorld(),t.parent===null&&t.matrixWorldAutoUpdate===!0&&t.updateMatrixWorld(),Ke.enabled===!0&&Ke.isPresenting===!0&&(w===null||w.isCompositing()===!1)&&(Ke.cameraAutoUpdate===!0&&Ke.updateCamera(t),t=Ke.getCamera()),e.isScene===!0&&e.onBeforeRender(T,e,t,A),x=Ie.get(e,C.length),x.init(t),x.state.textureUnits=N.getTextureUnits(),C.push(x),xe.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ve.setFromProjectionMatrix(xe,pi,t.reversedDepth),be=this.localClippingEnabled,ye=Le.init(this.clippingPlanes,be),b=Fe.get(e,S.length),b.init(),S.push(b),Ke.enabled===!0&&Ke.isPresenting===!0){let e=T.xr.getDepthSensingMesh();e!==null&&projectObject(e,t,-1/0,T.sortObjects)}projectObject(e,t,0,T.sortObjects),b.finish(),T.sortObjects===!0&&b.sort(pe,me,t.reversedDepth),Te=Ke.enabled===!1||Ke.isPresenting===!1||Ke.hasDepthSensing()===!1,Te&&ze.addToRenderList(b,e),this.info.render.frame++,this.info.autoReset===!0&&this.info.reset(),ye===!0&&Le.beginShadows();let i=x.state.shadowsArray;if(Re.render(i,e,t),ye===!0&&Le.endShadows(),(r&&w.hasRenderPass())===!1){let n=b.opaque,r=b.transmissive;if(x.setupLights(),t.isArrayCamera){let i=t.cameras;if(r.length>0)for(let t=0,a=i.length;t<a;t++){let a=i[t];renderTransmissionPass(n,r,e,a)}Te&&ze.render(e);for(let t=0,n=i.length;t<n;t++){let n=i[t];renderScene(b,e,n,n.viewport)}}else r.length>0&&renderTransmissionPass(n,r,e,t),Te&&ze.render(e),renderScene(b,e,t)}A!==null&&k===0&&(N.updateMultisampleRenderTarget(A),N.updateRenderTargetMipmap(A)),r&&w.end(T),e.isScene===!0&&e.onAfterRender(T,e,t),We.resetDefaultState(),re=-1,ie=null,C.pop(),C.length>0?(x=C[C.length-1],N.setTextureUnits(x.state.textureUnits),ye===!0&&Le.setGlobalState(T.clippingPlanes,x.state.camera)):x=null,S.pop(),b=S.length>0?S[S.length-1]:null,D!==null&&D.renderEnd()};function projectObject(e,t,n,r){if(e.visible===!1)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)e.autoUpdate===!0&&e.update(t);else if(e.isLightProbeGrid)x.pushLightProbeGrid(e);else if(e.isLight)x.pushLight(e),e.castShadow&&x.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ve.intersectsSprite(e)){r&&Ce.setFromMatrixPosition(e.matrixWorld).applyMatrix4(xe);let t=Me.update(e),i=e.material;i.visible&&b.push(e,t,i,n,Ce.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ve.intersectsObject(e))){let t=Me.update(e),i=e.material;if(r&&(e.boundingSphere===void 0?(t.boundingSphere===null&&t.computeBoundingSphere(),Ce.copy(t.boundingSphere.center)):(e.boundingSphere===null&&e.computeBoundingSphere(),Ce.copy(e.boundingSphere.center)),Ce.applyMatrix4(e.matrixWorld).applyMatrix4(xe)),Array.isArray(i)){let r=t.groups;for(let a=0,o=r.length;a<o;a++){let o=r[a],s=i[o.materialIndex];s&&s.visible&&b.push(e,t,s,n,Ce.z,o)}}else i.visible&&b.push(e,t,i,n,Ce.z,null)}}let i=e.children;for(let e=0,a=i.length;e<a;e++)projectObject(i[e],t,n,r)}function renderScene(e,t,n,r){let{opaque:i,transmissive:a,transparent:o}=e;x.setupLightsView(n),ye===!0&&Le.setGlobalState(T.clippingPlanes,n),r&&M.viewport(ae.copy(r)),i.length>0&&renderObjects(i,t,n),a.length>0&&renderObjects(a,t,n),o.length>0&&renderObjects(o,t,n),M.buffers.depth.setTest(!0),M.buffers.depth.setMask(!0),M.buffers.color.setMask(!0),M.setPolygonOffset(!1)}function renderTransmissionPass(e,t,n,r){if((n.isScene===!0?n.overrideMaterial:null)!==null)return;if(x.state.transmissionRenderTarget[r.id]===void 0){let e=Ee.has(`EXT_color_buffer_half_float`)||Ee.has(`EXT_color_buffer_float`);x.state.transmissionRenderTarget[r.id]=new WebGLRenderTarget(1,1,{generateMipmaps:!0,type:e?Wr:Br,minFilter:zr,samples:Math.max(4,De.samples),stencilBuffer:i,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:Oi.workingColorSpace})}let a=x.state.transmissionRenderTarget[r.id],o=r.viewport||ae;a.setSize(o.z*T.transmissionResolutionScale,o.w*T.transmissionResolutionScale);let s=T.getRenderTarget(),c=T.getActiveCubeFace(),l=T.getActiveMipmapLevel();T.setRenderTarget(a),T.getClearColor(ce),le=T.getClearAlpha(),le<1&&T.setClearColor(16777215,.5),T.clear(),Te&&ze.render(n);let u=T.toneMapping;T.toneMapping=0;let d=r.viewport;if(r.viewport!==void 0&&(r.viewport=void 0),x.setupLightsView(r),ye===!0&&Le.setGlobalState(T.clippingPlanes,r),renderObjects(e,n,r),N.updateMultisampleRenderTarget(a),N.updateRenderTargetMipmap(a),Ee.has(`WEBGL_multisampled_render_to_texture`)===!1){let e=!1;for(let i=0,a=t.length;i<a;i++){let{object:a,geometry:o,material:s,group:c}=t[i];if(s.side===2&&a.layers.test(r.layers)){let t=s.side;s.side=1,s.needsUpdate=!0,renderObject(a,n,r,o,s,c),s.side=t,s.needsUpdate=!0,e=!0}}e===!0&&(N.updateMultisampleRenderTarget(a),N.updateRenderTargetMipmap(a))}T.setRenderTarget(s,c,l),T.setClearColor(ce,le),d!==void 0&&(r.viewport=d),T.toneMapping=u}function renderObjects(e,t,n){let r=t.isScene===!0?t.overrideMaterial:null;for(let i=0,a=e.length;i<a;i++){let a=e[i],{object:o,geometry:s,group:c}=a,l=a.material;l.allowOverride===!0&&r!==null&&(l=r),o.layers.test(n.layers)&&renderObject(o,t,n,s,l,c)}}function renderObject(e,t,n,r,i,a){e.onBeforeRender(T,t,n,r,i,a),e.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),i.onBeforeRender(T,t,n,r,e,a),i.transparent===!0&&i.side===2&&i.forceSinglePass===!1?(i.side=1,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=0,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=2):T.renderBufferDirect(n,t,r,i,e,a),e.onAfterRender(T,t,n,r,i,a)}function getProgram(e,t,n){t.isScene!==!0&&(t=we);let r=ke.get(e),i=x.state.lights,a=x.state.shadowsArray,o=i.state.version,s=Ne.getParameters(e,i.state,a,t,n,x.state.lightProbeGridArray),c=Ne.getProgramCacheKey(s),l=r.programs;r.environment=e.isMeshStandardMaterial||e.isMeshLambertMaterial||e.isMeshPhongMaterial?t.environment:null,r.fog=t.fog;let u=e.isMeshStandardMaterial||e.isMeshLambertMaterial&&!e.envMap||e.isMeshPhongMaterial&&!e.envMap;r.envMap=P.get(e.envMap||r.environment,u),r.envMapRotation=r.environment!==null&&e.envMap===null?t.environmentRotation:e.envMapRotation,l===void 0&&(e.addEventListener(`dispose`,onMaterialDispose),l=new Map,r.programs=l);let d=l.get(c);if(d!==void 0){if(r.currentProgram===d&&r.lightsStateVersion===o)return updateCommonMaterialProperties(e,s),d}else s.uniforms=Ne.getUniforms(e),D!==null&&e.isNodeMaterial&&D.build(e,n,s),e.onBeforeCompile(s,T),d=Ne.acquireProgram(s,c),l.set(c,d),r.uniforms=s.uniforms;let f=r.uniforms;return(!e.isShaderMaterial&&!e.isRawShaderMaterial||e.clipping===!0)&&(f.clippingPlanes=Le.uniform),updateCommonMaterialProperties(e,s),r.needsLights=materialNeedsLights(e),r.lightsStateVersion=o,r.needsLights&&(f.ambientLightColor.value=i.state.ambient,f.lightProbe.value=i.state.probe,f.directionalLights.value=i.state.directional,f.directionalLightShadows.value=i.state.directionalShadow,f.spotLights.value=i.state.spot,f.spotLightShadows.value=i.state.spotShadow,f.rectAreaLights.value=i.state.rectArea,f.ltc_1.value=i.state.rectAreaLTC1,f.ltc_2.value=i.state.rectAreaLTC2,f.pointLights.value=i.state.point,f.pointLightShadows.value=i.state.pointShadow,f.hemisphereLights.value=i.state.hemi,f.directionalShadowMatrix.value=i.state.directionalShadowMatrix,f.spotLightMatrix.value=i.state.spotLightMatrix,f.spotLightMap.value=i.state.spotLightMap,f.pointShadowMatrix.value=i.state.pointShadowMatrix),r.lightProbeGrid=x.state.lightProbeGridArray.length>0,r.currentProgram=d,r.uniformsList=null,d}function getUniformList(e){if(e.uniformsList===null){let t=e.currentProgram.getUniforms();e.uniformsList=WebGLUniforms.seqWithValue(t.seq,e.uniforms)}return e.uniformsList}function updateCommonMaterialProperties(e,t){let n=ke.get(e);n.outputColorSpace=t.outputColorSpace,n.batching=t.batching,n.batchingColor=t.batchingColor,n.instancing=t.instancing,n.instancingColor=t.instancingColor,n.instancingMorph=t.instancingMorph,n.skinning=t.skinning,n.morphTargets=t.morphTargets,n.morphNormals=t.morphNormals,n.morphColors=t.morphColors,n.morphTargetsCount=t.morphTargetsCount,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas,n.vertexTangents=t.vertexTangents,n.toneMapping=t.toneMapping}function findLightProbeGrid(e,t){if(e.length===0)return null;if(e.length===1)return e[0].texture===null?null:e[0];y.setFromMatrixPosition(t.matrixWorld);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n.texture!==null&&n.boundingBox.containsPoint(y))return n}return null}function setProgram(e,t,n,r,i){t.isScene!==!0&&(t=we),N.resetTextureUnits();let a=t.fog,o=r.isMeshStandardMaterial||r.isMeshLambertMaterial||r.isMeshPhongMaterial?t.environment:null,s=A===null?T.outputColorSpace:A.isXRRenderTarget===!0?A.texture.colorSpace:Oi.workingColorSpace,c=r.isMeshStandardMaterial||r.isMeshLambertMaterial&&!r.envMap||r.isMeshPhongMaterial&&!r.envMap,l=P.get(r.envMap||o,c),u=r.vertexColors===!0&&!!n.attributes.color&&n.attributes.color.itemSize===4,d=!!n.attributes.tangent&&(!!r.normalMap||r.anisotropy>0),f=!!n.morphAttributes.position,p=!!n.morphAttributes.normal,m=!!n.morphAttributes.color,h=0;r.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(h=T.toneMapping);let g=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,_=g===void 0?0:g.length,v=ke.get(r),y=x.state.lights;if(ye===!0&&(be===!0||e!==ie)){let t=e===ie&&r.id===re;Le.setState(r,e,t)}let b=!1;r.version===v.__version?v.needsLights&&v.lightsStateVersion!==y.state.version?b=!0:v.outputColorSpace===s?i.isBatchedMesh&&v.batching===!1||!i.isBatchedMesh&&v.batching===!0||i.isBatchedMesh&&v.batchingColor===!0&&i.colorTexture===null||i.isBatchedMesh&&v.batchingColor===!1&&i.colorTexture!==null||i.isInstancedMesh&&v.instancing===!1||!i.isInstancedMesh&&v.instancing===!0||i.isSkinnedMesh&&v.skinning===!1||!i.isSkinnedMesh&&v.skinning===!0||i.isInstancedMesh&&v.instancingColor===!0&&i.instanceColor===null||i.isInstancedMesh&&v.instancingColor===!1&&i.instanceColor!==null||i.isInstancedMesh&&v.instancingMorph===!0&&i.morphTexture===null||i.isInstancedMesh&&v.instancingMorph===!1&&i.morphTexture!==null?b=!0:v.envMap===l?r.fog===!0&&v.fog!==a||v.numClippingPlanes!==void 0&&(v.numClippingPlanes!==Le.numPlanes||v.numIntersection!==Le.numIntersection)?b=!0:v.vertexAlphas===u&&v.vertexTangents===d&&v.morphTargets===f&&v.morphNormals===p&&v.morphColors===m&&v.toneMapping===h&&v.morphTargetsCount===_?!!v.lightProbeGrid!=x.state.lightProbeGridArray.length>0&&(b=!0):b=!0:b=!0:b=!0:(b=!0,v.__version=r.version);let S=v.currentProgram;b===!0&&(S=getProgram(r,t,i),D&&r.isNodeMaterial&&D.onUpdateProgram(r,S,v));let C=!1,w=!1,E=!1,O=S.getUniforms(),ee=v.uniforms;if(M.useProgram(S.program)&&(C=!0,w=!0,E=!0),r.id!==re&&(re=r.id,w=!0),v.needsLights){let e=findLightProbeGrid(x.state.lightProbeGridArray,i);v.lightProbeGrid!==e&&(v.lightProbeGrid=e,w=!0)}if(C||ie!==e){M.buffers.depth.getReversed()&&e.reversedDepth!==!0&&(e._reversedDepth=!0,e.updateProjectionMatrix()),O.setValue(j,`projectionMatrix`,e.projectionMatrix),O.setValue(j,`viewMatrix`,e.matrixWorldInverse);let t=O.map.cameraPosition;t!==void 0&&t.setValue(j,Se.setFromMatrixPosition(e.matrixWorld)),De.logarithmicDepthBuffer&&O.setValue(j,`logDepthBufFC`,2/(Math.log(e.far+1)/Math.LN2)),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&O.setValue(j,`isOrthographic`,e.isOrthographicCamera===!0),ie!==e&&(ie=e,w=!0,E=!0)}if(v.needsLights&&(y.state.directionalShadowMap.length>0&&O.setValue(j,`directionalShadowMap`,y.state.directionalShadowMap,N),y.state.spotShadowMap.length>0&&O.setValue(j,`spotShadowMap`,y.state.spotShadowMap,N),y.state.pointShadowMap.length>0&&O.setValue(j,`pointShadowMap`,y.state.pointShadowMap,N)),i.isSkinnedMesh){O.setOptional(j,i,`bindMatrix`),O.setOptional(j,i,`bindMatrixInverse`);let e=i.skeleton;e&&(e.boneTexture===null&&e.computeBoneTexture(),O.setValue(j,`boneTexture`,e.boneTexture,N))}i.isBatchedMesh&&(O.setOptional(j,i,`batchingTexture`),O.setValue(j,`batchingTexture`,i._matricesTexture,N),O.setOptional(j,i,`batchingIdTexture`),O.setValue(j,`batchingIdTexture`,i._indirectTexture,N),O.setOptional(j,i,`batchingColorTexture`),i._colorsTexture!==null&&O.setValue(j,`batchingColorTexture`,i._colorsTexture,N));let te=n.morphAttributes;if((te.position!==void 0||te.normal!==void 0||te.color!==void 0)&&Be.update(i,n,S),(w||v.receiveShadow!==i.receiveShadow)&&(v.receiveShadow=i.receiveShadow,O.setValue(j,`receiveShadow`,i.receiveShadow)),(r.isMeshStandardMaterial||r.isMeshLambertMaterial||r.isMeshPhongMaterial)&&r.envMap===null&&t.environment!==null&&(ee.envMapIntensity.value=t.environmentIntensity),ee.dfgLUT!==void 0&&(ee.dfgLUT.value=getDFGLUT()),w){if(O.setValue(j,`toneMappingExposure`,T.toneMappingExposure),v.needsLights&&markUniformsLightsNeedsUpdate(ee,E),a&&r.fog===!0&&Pe.refreshFogUniforms(ee,a),Pe.refreshMaterialUniforms(ee,r,fe,de,x.state.transmissionRenderTarget[e.id]),v.needsLights&&v.lightProbeGrid){let e=v.lightProbeGrid;ee.probesSH.value=e.texture,ee.probesMin.value.copy(e.boundingBox.min),ee.probesMax.value.copy(e.boundingBox.max),ee.probesResolution.value.copy(e.resolution)}WebGLUniforms.upload(j,getUniformList(v),ee,N)}if(r.isShaderMaterial&&r.uniformsNeedUpdate===!0&&(WebGLUniforms.upload(j,getUniformList(v),ee,N),r.uniformsNeedUpdate=!1),r.isSpriteMaterial&&O.setValue(j,`center`,i.center),O.setValue(j,`modelViewMatrix`,i.modelViewMatrix),O.setValue(j,`normalMatrix`,i.normalMatrix),O.setValue(j,`modelMatrix`,i.matrixWorld),r.uniformsGroups!==void 0){let e=r.uniformsGroups;for(let t=0,n=e.length;t<n;t++){let n=e[t];Ge.update(n,S),Ge.bind(n,S)}}return S}function markUniformsLightsNeedsUpdate(e,t){e.ambientLightColor.needsUpdate=t,e.lightProbe.needsUpdate=t,e.directionalLights.needsUpdate=t,e.directionalLightShadows.needsUpdate=t,e.pointLights.needsUpdate=t,e.pointLightShadows.needsUpdate=t,e.spotLights.needsUpdate=t,e.spotLightShadows.needsUpdate=t,e.rectAreaLights.needsUpdate=t,e.hemisphereLights.needsUpdate=t}function materialNeedsLights(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&e.lights===!0}this.getActiveCubeFace=function(){return ne},this.getActiveMipmapLevel=function(){return k},this.getRenderTarget=function(){return A},this.setRenderTargetTextures=function(e,t,n){let r=ke.get(e);r.__autoAllocateDepthBuffer=e.resolveDepthBuffer===!1,r.__autoAllocateDepthBuffer===!1&&(r.__useRenderToTexture=!1),ke.get(e.texture).__webglTexture=t,ke.get(e.depthTexture).__webglTexture=r.__autoAllocateDepthBuffer?void 0:n,r.__hasExternalTextures=!0},this.setRenderTargetFramebuffer=function(e,t){let n=ke.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=t===void 0},this.setRenderTarget=function(e,t=0,n=0){A=e,ne=t,k=n;let r=null,i=!1,a=!1;if(e){let o=ke.get(e);if(o.__useDefaultFramebuffer!==void 0){M.bindFramebuffer(j.FRAMEBUFFER,o.__webglFramebuffer),ae.copy(e.viewport),oe.copy(e.scissor),se=e.scissorTest,M.viewport(ae),M.scissor(oe),M.setScissorTest(se),re=-1;return}else if(o.__webglFramebuffer===void 0)N.setupRenderTarget(e);else if(o.__hasExternalTextures)N.rebindTextures(e,ke.get(e.texture).__webglTexture,ke.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){let t=e.depthTexture;if(o.__boundDepthTexture!==t){if(t!==null&&ke.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw Error(`THREE.WebGLRenderer: Attached DepthTexture is initialized to the incorrect size.`);N.setupDepthRenderbuffer(e)}}let s=e.texture;(s.isData3DTexture||s.isDataArrayTexture||s.isCompressedArrayTexture)&&(a=!0);let c=ke.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(r=Array.isArray(c[t])?c[t][n]:c[t],i=!0):r=e.samples>0&&N.useMultisampledRTT(e)===!1?ke.get(e).__webglMultisampledFramebuffer:Array.isArray(c)?c[n]:c,ae.copy(e.viewport),oe.copy(e.scissor),se=e.scissorTest}else ae.copy(he).multiplyScalar(fe).floor(),oe.copy(ge).multiplyScalar(fe).floor(),se=_e;if(n!==0&&(r=O),M.bindFramebuffer(j.FRAMEBUFFER,r)&&M.drawBuffers(e,r),M.viewport(ae),M.scissor(oe),M.setScissorTest(se),i){let r=ke.get(e.texture);j.framebufferTexture2D(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_CUBE_MAP_POSITIVE_X+t,r.__webglTexture,n)}else if(a){let r=t;for(let t=0;t<e.textures.length;t++){let i=ke.get(e.textures[t]);j.framebufferTextureLayer(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0+t,i.__webglTexture,n,r)}}else if(e!==null&&n!==0){let t=ke.get(e.texture);j.framebufferTexture2D(j.FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,t.__webglTexture,n)}re=-1},this.readRenderTargetPixels=function(e,t,n,r,i,a,o,s=0){if(!(e&&e.isWebGLRenderTarget)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.`);return}let c=ke.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&o!==void 0&&(c=c[o]),c){M.bindFramebuffer(j.FRAMEBUFFER,c);try{let o=e.textures[s],c=o.format,l=o.type;if(e.textures.length>1&&j.readBuffer(j.COLOR_ATTACHMENT0+s),!De.textureFormatReadable(c)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.`);return}if(!De.textureTypeReadable(l)){error(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.`);return}t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&j.readPixels(t,n,r,i,Ue.convert(c),Ue.convert(l),a)}finally{let e=A===null?null:ke.get(A).__webglFramebuffer;M.bindFramebuffer(j.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,r,i,a,o,s=0){if(!(e&&e.isWebGLRenderTarget))throw Error(`THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.`);let c=ke.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&o!==void 0&&(c=c[o]),c)if(t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i){M.bindFramebuffer(j.FRAMEBUFFER,c);let o=e.textures[s],l=o.format,u=o.type;if(e.textures.length>1&&j.readBuffer(j.COLOR_ATTACHMENT0+s),!De.textureFormatReadable(l))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.`);if(!De.textureTypeReadable(u))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.`);let d=j.createBuffer();j.bindBuffer(j.PIXEL_PACK_BUFFER,d),j.bufferData(j.PIXEL_PACK_BUFFER,a.byteLength,j.STREAM_READ),j.readPixels(t,n,r,i,Ue.convert(l),Ue.convert(u),0);let f=A===null?null:ke.get(A).__webglFramebuffer;M.bindFramebuffer(j.FRAMEBUFFER,f);let p=j.fenceSync(j.SYNC_GPU_COMMANDS_COMPLETE,0);return j.flush(),await probeAsync(j,p,4),j.bindBuffer(j.PIXEL_PACK_BUFFER,d),j.getBufferSubData(j.PIXEL_PACK_BUFFER,0,a),j.deleteBuffer(d),j.deleteSync(p),a}else throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.`)},this.copyFramebufferToTexture=function(e,t=null,n=0){let r=2**-n,i=Math.floor(e.image.width*r),a=Math.floor(e.image.height*r),o=t===null?0:t.x,s=t===null?0:t.y;N.setTexture2D(e,0),j.copyTexSubImage2D(j.TEXTURE_2D,n,0,0,o,s,i,a),M.unbindTexture()},this.copyTextureToTexture=function(e,t,n=null,r=null,i=0,a=0){let o,s,c,l,u,d,f,p,m,h=e.isCompressedTexture?e.mipmaps[a]:e.image;if(n!==null)o=n.max.x-n.min.x,s=n.max.y-n.min.y,c=n.isBox3?n.max.z-n.min.z:1,l=n.min.x,u=n.min.y,d=n.isBox3?n.min.z:0;else{let t=2**-i;o=Math.floor(h.width*t),s=Math.floor(h.height*t),c=e.isDataArrayTexture?h.depth:e.isData3DTexture?Math.floor(h.depth*t):1,l=0,u=0,d=0}r===null?(f=0,p=0,m=0):(f=r.x,p=r.y,m=r.z);let g=Ue.convert(t.format),_=Ue.convert(t.type),v;t.isData3DTexture?(N.setTexture3D(t,0),v=j.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(N.setTexture2DArray(t,0),v=j.TEXTURE_2D_ARRAY):(N.setTexture2D(t,0),v=j.TEXTURE_2D),M.activeTexture(j.TEXTURE0),M.pixelStorei(j.UNPACK_FLIP_Y_WEBGL,t.flipY),M.pixelStorei(j.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),M.pixelStorei(j.UNPACK_ALIGNMENT,t.unpackAlignment);let y=M.getParameter(j.UNPACK_ROW_LENGTH),b=M.getParameter(j.UNPACK_IMAGE_HEIGHT),x=M.getParameter(j.UNPACK_SKIP_PIXELS),S=M.getParameter(j.UNPACK_SKIP_ROWS),C=M.getParameter(j.UNPACK_SKIP_IMAGES);M.pixelStorei(j.UNPACK_ROW_LENGTH,h.width),M.pixelStorei(j.UNPACK_IMAGE_HEIGHT,h.height),M.pixelStorei(j.UNPACK_SKIP_PIXELS,l),M.pixelStorei(j.UNPACK_SKIP_ROWS,u),M.pixelStorei(j.UNPACK_SKIP_IMAGES,d);let w=e.isDataArrayTexture||e.isData3DTexture,T=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=ke.get(e),r=ke.get(t),h=ke.get(n.__renderTarget),g=ke.get(r.__renderTarget);M.bindFramebuffer(j.READ_FRAMEBUFFER,h.__webglFramebuffer),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,g.__webglFramebuffer);for(let n=0;n<c;n++)w&&(j.framebufferTextureLayer(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,ke.get(e).__webglTexture,i,d+n),j.framebufferTextureLayer(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,ke.get(t).__webglTexture,a,m+n)),j.blitFramebuffer(l,u,o,s,f,p,o,s,j.DEPTH_BUFFER_BIT,j.NEAREST);M.bindFramebuffer(j.READ_FRAMEBUFFER,null),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,null)}else if(i!==0||e.isRenderTargetTexture||ke.has(e)){let n=ke.get(e),r=ke.get(t);M.bindFramebuffer(j.READ_FRAMEBUFFER,ee),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,te);for(let e=0;e<c;e++)w?j.framebufferTextureLayer(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,n.__webglTexture,i,d+e):j.framebufferTexture2D(j.READ_FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,n.__webglTexture,i),T?j.framebufferTextureLayer(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,r.__webglTexture,a,m+e):j.framebufferTexture2D(j.DRAW_FRAMEBUFFER,j.COLOR_ATTACHMENT0,j.TEXTURE_2D,r.__webglTexture,a),i===0?T?j.copyTexSubImage3D(v,a,f,p,m+e,l,u,o,s):j.copyTexSubImage2D(v,a,f,p,l,u,o,s):j.blitFramebuffer(l,u,o,s,f,p,o,s,j.COLOR_BUFFER_BIT,j.NEAREST);M.bindFramebuffer(j.READ_FRAMEBUFFER,null),M.bindFramebuffer(j.DRAW_FRAMEBUFFER,null)}else T?e.isDataTexture||e.isData3DTexture?j.texSubImage3D(v,a,f,p,m,o,s,c,g,_,h.data):t.isCompressedArrayTexture?j.compressedTexSubImage3D(v,a,f,p,m,o,s,c,g,h.data):j.texSubImage3D(v,a,f,p,m,o,s,c,g,_,h):e.isDataTexture?j.texSubImage2D(j.TEXTURE_2D,a,f,p,o,s,g,_,h.data):e.isCompressedTexture?j.compressedTexSubImage2D(j.TEXTURE_2D,a,f,p,h.width,h.height,g,h.data):j.texSubImage2D(j.TEXTURE_2D,a,f,p,o,s,g,_,h);M.pixelStorei(j.UNPACK_ROW_LENGTH,y),M.pixelStorei(j.UNPACK_IMAGE_HEIGHT,b),M.pixelStorei(j.UNPACK_SKIP_PIXELS,x),M.pixelStorei(j.UNPACK_SKIP_ROWS,S),M.pixelStorei(j.UNPACK_SKIP_IMAGES,C),a===0&&t.generateMipmaps&&j.generateMipmap(v),M.unbindTexture()},this.initRenderTarget=function(e){ke.get(e).__webglFramebuffer===void 0&&N.setupRenderTarget(e)},this.initTexture=function(e){e.isCubeTexture?N.setTextureCube(e,0):e.isData3DTexture?N.setTexture3D(e,0):e.isDataArrayTexture||e.isCompressedArrayTexture?N.setTexture2DArray(e,0):N.setTexture2D(e,0),M.unbindTexture()},this.resetState=function(){ne=0,k=0,A=null,M.reset(),We.reset()},typeof __THREE_DEVTOOLS__<`u`&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(`observe`,{detail:this}))}get coordinateSystem(){return pi}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;let t=this.getContext();t.drawingBufferColorSpace=Oi._getDrawingBufferColorSpace(e),t.unpackColorSpace=Oi._getUnpackColorSpace()}};const Bs={type:`change`},Vs={type:`start`},Hs={type:`end`},Us=new Ray,Ws=new Plane,Gs=Math.cos(70*bi.DEG2RAD),Ks=new I,qs=2*Math.PI,Js={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6},Ys=1e-6;var OrbitControls=class extends Controls{constructor(e,t=null){super(e,t),this.state=Js.NONE,this.target=new I,this.cursor=new I,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minTargetRadius=0,this.maxTargetRadius=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.keyRotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.zoomToCursor=!1,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:`ArrowLeft`,UP:`ArrowUp`,RIGHT:`ArrowRight`,BOTTOM:`ArrowDown`},this.mouseButtons={LEFT:Mr.ROTATE,MIDDLE:Mr.DOLLY,RIGHT:Mr.PAN},this.touches={ONE:Nr.ROTATE,TWO:Nr.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._cursorStyle=`auto`,this._domElementKeyEvents=null,this._lastPosition=new I,this._lastQuaternion=new Quaternion,this._lastTargetPosition=new I,this._quat=new Quaternion().setFromUnitVectors(e.up,new I(0,1,0)),this._quatInverse=this._quat.clone().invert(),this._spherical=new Spherical,this._sphericalDelta=new Spherical,this._scale=1,this._panOffset=new I,this._rotateStart=new xi,this._rotateEnd=new xi,this._rotateDelta=new xi,this._panStart=new xi,this._panEnd=new xi,this._panDelta=new xi,this._dollyStart=new xi,this._dollyEnd=new xi,this._dollyDelta=new xi,this._dollyDirection=new I,this._mouse=new xi,this._performCursorZoom=!1,this._pointers=[],this._pointerPositions={},this._controlActive=!1,this._onPointerMove=onPointerMove.bind(this),this._onPointerDown=onPointerDown.bind(this),this._onPointerUp=onPointerUp.bind(this),this._onContextMenu=onContextMenu.bind(this),this._onMouseWheel=onMouseWheel.bind(this),this._onKeyDown=onKeyDown.bind(this),this._onTouchStart=onTouchStart.bind(this),this._onTouchMove=onTouchMove.bind(this),this._onMouseDown=onMouseDown.bind(this),this._onMouseMove=onMouseMove.bind(this),this._interceptControlDown=interceptControlDown.bind(this),this._interceptControlUp=interceptControlUp.bind(this),this.domElement!==null&&this.connect(this.domElement),this.update()}set cursorStyle(e){this._cursorStyle=e,e===`grab`?this.domElement.style.cursor=`grab`:this.domElement.style.cursor=`auto`}get cursorStyle(){return this._cursorStyle}connect(e){super.connect(e),this.domElement.addEventListener(`pointerdown`,this._onPointerDown),this.domElement.addEventListener(`pointercancel`,this._onPointerUp),this.domElement.addEventListener(`contextmenu`,this._onContextMenu),this.domElement.addEventListener(`wheel`,this._onMouseWheel,{passive:!1}),this.domElement.getRootNode().addEventListener(`keydown`,this._interceptControlDown,{passive:!0,capture:!0}),this.domElement.style.touchAction=`none`}disconnect(){this.domElement.removeEventListener(`pointerdown`,this._onPointerDown),this.domElement.ownerDocument.removeEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.removeEventListener(`pointerup`,this._onPointerUp),this.domElement.removeEventListener(`pointercancel`,this._onPointerUp),this.domElement.removeEventListener(`wheel`,this._onMouseWheel),this.domElement.removeEventListener(`contextmenu`,this._onContextMenu),this.stopListenToKeyEvents(),this.domElement.getRootNode().removeEventListener(`keydown`,this._interceptControlDown,{capture:!0}),this.domElement.style.touchAction=``}dispose(){this.disconnect()}getPolarAngle(){return this._spherical.phi}getAzimuthalAngle(){return this._spherical.theta}getDistance(){return this.object.position.distanceTo(this.target)}listenToKeyEvents(e){e.addEventListener(`keydown`,this._onKeyDown),this._domElementKeyEvents=e}stopListenToKeyEvents(){this._domElementKeyEvents!==null&&(this._domElementKeyEvents.removeEventListener(`keydown`,this._onKeyDown),this._domElementKeyEvents=null)}saveState(){this.target0.copy(this.target),this.position0.copy(this.object.position),this.zoom0=this.object.zoom}reset(){this.target.copy(this.target0),this.object.position.copy(this.position0),this.object.zoom=this.zoom0,this.object.updateProjectionMatrix(),this.dispatchEvent(Bs),this.update(),this.state=Js.NONE}pan(e,t){this._pan(e,t),this.update()}dollyIn(e){this._dollyIn(e),this.update()}dollyOut(e){this._dollyOut(e),this.update()}rotateLeft(e){this._rotateLeft(e),this.update()}rotateUp(e){this._rotateUp(e),this.update()}update(e=null){let t=this.object.position;Ks.copy(t).sub(this.target),Ks.applyQuaternion(this._quat),this._spherical.setFromVector3(Ks),this.autoRotate&&this.state===Js.NONE&&this._rotateLeft(this._getAutoRotationAngle(e)),this.enableDamping?(this._spherical.theta+=this._sphericalDelta.theta*this.dampingFactor,this._spherical.phi+=this._sphericalDelta.phi*this.dampingFactor):(this._spherical.theta+=this._sphericalDelta.theta,this._spherical.phi+=this._sphericalDelta.phi);let n=this.minAzimuthAngle,r=this.maxAzimuthAngle;isFinite(n)&&isFinite(r)&&(n<-Math.PI?n+=qs:n>Math.PI&&(n-=qs),r<-Math.PI?r+=qs:r>Math.PI&&(r-=qs),n<=r?this._spherical.theta=Math.max(n,Math.min(r,this._spherical.theta)):this._spherical.theta=this._spherical.theta>(n+r)/2?Math.max(n,this._spherical.theta):Math.min(r,this._spherical.theta)),this._spherical.phi=Math.max(this.minPolarAngle,Math.min(this.maxPolarAngle,this._spherical.phi)),this._spherical.makeSafe(),this.enableDamping===!0?this.target.addScaledVector(this._panOffset,this.dampingFactor):this.target.add(this._panOffset),this.target.sub(this.cursor),this.target.clampLength(this.minTargetRadius,this.maxTargetRadius),this.target.add(this.cursor);let i=!1;if(this.zoomToCursor&&this._performCursorZoom||this.object.isOrthographicCamera)this._spherical.radius=this._clampDistance(this._spherical.radius);else{let e=this._spherical.radius;this._spherical.radius=this._clampDistance(this._spherical.radius*this._scale),i=e!=this._spherical.radius}if(Ks.setFromSpherical(this._spherical),Ks.applyQuaternion(this._quatInverse),t.copy(this.target).add(Ks),this.object.lookAt(this.target),this.enableDamping===!0?(this._sphericalDelta.theta*=1-this.dampingFactor,this._sphericalDelta.phi*=1-this.dampingFactor,this._panOffset.multiplyScalar(1-this.dampingFactor)):(this._sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0)),this.zoomToCursor&&this._performCursorZoom){let e=null;if(this.object.isPerspectiveCamera){let t=Ks.length();e=this._clampDistance(t*this._scale);let n=t-e;this.object.position.addScaledVector(this._dollyDirection,n),this.object.updateMatrixWorld(),i=!!n}else if(this.object.isOrthographicCamera){let t=new I(this._mouse.x,this._mouse.y,0);t.unproject(this.object);let n=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),this.object.updateProjectionMatrix(),i=n!==this.object.zoom;let r=new I(this._mouse.x,this._mouse.y,0);r.unproject(this.object),this.object.position.sub(r).add(t),this.object.updateMatrixWorld(),e=Ks.length()}else k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled.`),this.zoomToCursor=!1;e!==null&&(this.screenSpacePanning?this.target.set(0,0,-1).transformDirection(this.object.matrix).multiplyScalar(e).add(this.object.position):(Us.origin.copy(this.object.position),Us.direction.set(0,0,-1).transformDirection(this.object.matrix),Math.abs(this.object.up.dot(Us.direction))<Gs?this.object.lookAt(this.target):(Ws.setFromNormalAndCoplanarPoint(this.object.up,this.target),Us.intersectPlane(Ws,this.target))))}else if(this.object.isOrthographicCamera){let e=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),e!==this.object.zoom&&(this.object.updateProjectionMatrix(),i=!0)}return this._scale=1,this._performCursorZoom=!1,i||this._lastPosition.distanceToSquared(this.object.position)>Ys||8*(1-this._lastQuaternion.dot(this.object.quaternion))>Ys||this._lastTargetPosition.distanceToSquared(this.target)>Ys?(this.dispatchEvent(Bs),this._lastPosition.copy(this.object.position),this._lastQuaternion.copy(this.object.quaternion),this._lastTargetPosition.copy(this.target),!0):!1}_getAutoRotationAngle(e){return e===null?qs/60/60*this.autoRotateSpeed:qs/60*this.autoRotateSpeed*e}_getZoomScale(e){let t=Math.abs(e*.01);return .95**(this.zoomSpeed*t)}_rotateLeft(e){this._sphericalDelta.theta-=e}_rotateUp(e){this._sphericalDelta.phi-=e}_panLeft(e,t){Ks.setFromMatrixColumn(t,0),Ks.multiplyScalar(-e),this._panOffset.add(Ks)}_panUp(e,t){this.screenSpacePanning===!0?Ks.setFromMatrixColumn(t,1):(Ks.setFromMatrixColumn(t,0),Ks.crossVectors(this.object.up,Ks)),Ks.multiplyScalar(e),this._panOffset.add(Ks)}_pan(e,t){let n=this.domElement;if(this.object.isPerspectiveCamera){let r=this.object.position;Ks.copy(r).sub(this.target);let i=Ks.length();i*=Math.tan(this.object.fov/2*Math.PI/180),this._panLeft(2*e*i/n.clientHeight,this.object.matrix),this._panUp(2*t*i/n.clientHeight,this.object.matrix)}else this.object.isOrthographicCamera?(this._panLeft(e*(this.object.right-this.object.left)/this.object.zoom/n.clientWidth,this.object.matrix),this._panUp(t*(this.object.top-this.object.bottom)/this.object.zoom/n.clientHeight,this.object.matrix)):(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.`),this.enablePan=!1)}_dollyOut(e){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale/=e:(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.`),this.enableZoom=!1)}_dollyIn(e){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale*=e:(k.warn(`WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.`),this.enableZoom=!1)}_updateZoomParameters(e,t){if(!this.zoomToCursor)return;this._performCursorZoom=!0;let n=this.domElement.getBoundingClientRect(),r=e-n.left,i=t-n.top,a=n.width,o=n.height;this._mouse.x=r/a*2-1,this._mouse.y=-(i/o)*2+1,this._dollyDirection.set(this._mouse.x,this._mouse.y,1).unproject(this.object).sub(this.object.position).normalize()}_clampDistance(e){return Math.max(this.minDistance,Math.min(this.maxDistance,e))}_handleMouseDownRotate(e){this._rotateStart.set(e.clientX,e.clientY)}_handleMouseDownDolly(e){this._updateZoomParameters(e.clientX,e.clientX),this._dollyStart.set(e.clientX,e.clientY)}_handleMouseDownPan(e){this._panStart.set(e.clientX,e.clientY)}_handleMouseMoveRotate(e){this._rotateEnd.set(e.clientX,e.clientY),this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);let t=this.domElement;this._rotateLeft(qs*this._rotateDelta.x/t.clientHeight),this._rotateUp(qs*this._rotateDelta.y/t.clientHeight),this._rotateStart.copy(this._rotateEnd),this.update()}_handleMouseMoveDolly(e){this._dollyEnd.set(e.clientX,e.clientY),this._dollyDelta.subVectors(this._dollyEnd,this._dollyStart),this._dollyDelta.y>0?this._dollyOut(this._getZoomScale(this._dollyDelta.y)):this._dollyDelta.y<0&&this._dollyIn(this._getZoomScale(this._dollyDelta.y)),this._dollyStart.copy(this._dollyEnd),this.update()}_handleMouseMovePan(e){this._panEnd.set(e.clientX,e.clientY),this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd),this.update()}_handleMouseWheel(e){this._updateZoomParameters(e.clientX,e.clientY),e.deltaY<0?this._dollyIn(this._getZoomScale(e.deltaY)):e.deltaY>0&&this._dollyOut(this._getZoomScale(e.deltaY)),this.update()}_handleKeyDown(e){let t=!1;switch(e.code){case this.keys.UP:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateUp(qs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,this.keyPanSpeed),t=!0;break;case this.keys.BOTTOM:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateUp(-qs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,-this.keyPanSpeed),t=!0;break;case this.keys.LEFT:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateLeft(qs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(this.keyPanSpeed,0),t=!0;break;case this.keys.RIGHT:e.ctrlKey||e.metaKey||e.shiftKey?this.enableRotate&&this._rotateLeft(-qs*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(-this.keyPanSpeed,0),t=!0;break}t&&(e.preventDefault(),this.update())}_handleTouchStartRotate(e){if(this._pointers.length===1)this._rotateStart.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._rotateStart.set(n,r)}}_handleTouchStartPan(e){if(this._pointers.length===1)this._panStart.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._panStart.set(n,r)}}_handleTouchStartDolly(e){let t=this._getSecondPointerPosition(e),n=e.pageX-t.x,r=e.pageY-t.y,i=Math.sqrt(n*n+r*r);this._dollyStart.set(0,i)}_handleTouchStartDollyPan(e){this.enableZoom&&this._handleTouchStartDolly(e),this.enablePan&&this._handleTouchStartPan(e)}_handleTouchStartDollyRotate(e){this.enableZoom&&this._handleTouchStartDolly(e),this.enableRotate&&this._handleTouchStartRotate(e)}_handleTouchMoveRotate(e){if(this._pointers.length==1)this._rotateEnd.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._rotateEnd.set(n,r)}this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);let t=this.domElement;this._rotateLeft(qs*this._rotateDelta.x/t.clientHeight),this._rotateUp(qs*this._rotateDelta.y/t.clientHeight),this._rotateStart.copy(this._rotateEnd)}_handleTouchMovePan(e){if(this._pointers.length===1)this._panEnd.set(e.pageX,e.pageY);else{let t=this._getSecondPointerPosition(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);this._panEnd.set(n,r)}this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd)}_handleTouchMoveDolly(e){let t=this._getSecondPointerPosition(e),n=e.pageX-t.x,r=e.pageY-t.y,i=Math.sqrt(n*n+r*r);this._dollyEnd.set(0,i),this._dollyDelta.set(0,(this._dollyEnd.y/this._dollyStart.y)**+this.zoomSpeed),this._dollyOut(this._dollyDelta.y),this._dollyStart.copy(this._dollyEnd);let a=(e.pageX+t.x)*.5,o=(e.pageY+t.y)*.5;this._updateZoomParameters(a,o)}_handleTouchMoveDollyPan(e){this.enableZoom&&this._handleTouchMoveDolly(e),this.enablePan&&this._handleTouchMovePan(e)}_handleTouchMoveDollyRotate(e){this.enableZoom&&this._handleTouchMoveDolly(e),this.enableRotate&&this._handleTouchMoveRotate(e)}_addPointer(e){this._pointers.push(e.pointerId)}_removePointer(e){delete this._pointerPositions[e.pointerId];for(let t=0;t<this._pointers.length;t++)if(this._pointers[t]==e.pointerId){this._pointers.splice(t,1);return}}_isTrackingPointer(e){for(let t=0;t<this._pointers.length;t++)if(this._pointers[t]==e.pointerId)return!0;return!1}_trackPointer(e){let t=this._pointerPositions[e.pointerId];t===void 0&&(t=new xi,this._pointerPositions[e.pointerId]=t),t.set(e.pageX,e.pageY)}_getSecondPointerPosition(e){let t=e.pointerId===this._pointers[0]?this._pointers[1]:this._pointers[0];return this._pointerPositions[t]}_customWheelEvent(e){let t=e.deltaMode,n={clientX:e.clientX,clientY:e.clientY,deltaY:e.deltaY};switch(t){case 1:n.deltaY*=16;break;case 2:n.deltaY*=100;break}return e.ctrlKey&&!this._controlActive&&(n.deltaY*=10),n}};function onPointerDown(e){this.enabled!==!1&&(this._pointers.length===0&&(this.domElement.setPointerCapture(e.pointerId),this.domElement.ownerDocument.addEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.addEventListener(`pointerup`,this._onPointerUp)),!this._isTrackingPointer(e)&&(this._addPointer(e),e.pointerType===`touch`?this._onTouchStart(e):this._onMouseDown(e),this._cursorStyle===`grab`&&(this.domElement.style.cursor=`grabbing`)))}function onPointerMove(e){this.enabled!==!1&&(e.pointerType===`touch`?this._onTouchMove(e):this._onMouseMove(e))}function onPointerUp(e){switch(this._removePointer(e),this._pointers.length){case 0:this.domElement.releasePointerCapture(e.pointerId),this.domElement.ownerDocument.removeEventListener(`pointermove`,this._onPointerMove),this.domElement.ownerDocument.removeEventListener(`pointerup`,this._onPointerUp),this.dispatchEvent(Hs),this.state=Js.NONE,this._cursorStyle===`grab`&&(this.domElement.style.cursor=`grab`);break;case 1:let t=this._pointers[0],n=this._pointerPositions[t];this._onTouchStart({pointerId:t,pageX:n.x,pageY:n.y});break}}function onMouseDown(e){let t;switch(e.button){case 0:t=this.mouseButtons.LEFT;break;case 1:t=this.mouseButtons.MIDDLE;break;case 2:t=this.mouseButtons.RIGHT;break;default:t=-1}switch(t){case Mr.DOLLY:if(this.enableZoom===!1)return;this._handleMouseDownDolly(e),this.state=Js.DOLLY;break;case Mr.ROTATE:if(e.ctrlKey||e.metaKey||e.shiftKey){if(this.enablePan===!1)return;this._handleMouseDownPan(e),this.state=Js.PAN}else{if(this.enableRotate===!1)return;this._handleMouseDownRotate(e),this.state=Js.ROTATE}break;case Mr.PAN:if(e.ctrlKey||e.metaKey||e.shiftKey){if(this.enableRotate===!1)return;this._handleMouseDownRotate(e),this.state=Js.ROTATE}else{if(this.enablePan===!1)return;this._handleMouseDownPan(e),this.state=Js.PAN}break;default:this.state=Js.NONE}this.state!==Js.NONE&&this.dispatchEvent(Vs)}function onMouseMove(e){switch(this.state){case Js.ROTATE:if(this.enableRotate===!1)return;this._handleMouseMoveRotate(e);break;case Js.DOLLY:if(this.enableZoom===!1)return;this._handleMouseMoveDolly(e);break;case Js.PAN:if(this.enablePan===!1)return;this._handleMouseMovePan(e);break}}function onMouseWheel(e){this.enabled===!1||this.enableZoom===!1||this.state!==Js.NONE||(e.preventDefault(),this.dispatchEvent(Vs),this._handleMouseWheel(this._customWheelEvent(e)),this.dispatchEvent(Hs))}function onKeyDown(e){this.enabled!==!1&&this._handleKeyDown(e)}function onTouchStart(e){switch(this._trackPointer(e),this._pointers.length){case 1:switch(this.touches.ONE){case Nr.ROTATE:if(this.enableRotate===!1)return;this._handleTouchStartRotate(e),this.state=Js.TOUCH_ROTATE;break;case Nr.PAN:if(this.enablePan===!1)return;this._handleTouchStartPan(e),this.state=Js.TOUCH_PAN;break;default:this.state=Js.NONE}break;case 2:switch(this.touches.TWO){case Nr.DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchStartDollyPan(e),this.state=Js.TOUCH_DOLLY_PAN;break;case Nr.DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchStartDollyRotate(e),this.state=Js.TOUCH_DOLLY_ROTATE;break;default:this.state=Js.NONE}break;default:this.state=Js.NONE}this.state!==Js.NONE&&this.dispatchEvent(Vs)}function onTouchMove(e){switch(this._trackPointer(e),this.state){case Js.TOUCH_ROTATE:if(this.enableRotate===!1)return;this._handleTouchMoveRotate(e),this.update();break;case Js.TOUCH_PAN:if(this.enablePan===!1)return;this._handleTouchMovePan(e),this.update();break;case Js.TOUCH_DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchMoveDollyPan(e),this.update();break;case Js.TOUCH_DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchMoveDollyRotate(e),this.update();break;default:this.state=Js.NONE}}function onContextMenu(e){this.enabled!==!1&&e.preventDefault()}function interceptControlDown(e){e.key===`Control`&&(this._controlActive=!0,this.domElement.getRootNode().addEventListener(`keyup`,this._interceptControlUp,{passive:!0,capture:!0}))}function interceptControlUp(e){e.key===`Control`&&(this._controlActive=!1,this.domElement.getRootNode().removeEventListener(`keyup`,this._interceptControlUp,{passive:!0,capture:!0}))}var TeapotGeometry=class extends $a{constructor(e=50,t=10,n=!0,r=!0,i=!0,a=!0,o=!0){let s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,3,16,17,18,7,19,20,21,11,22,23,24,15,25,26,27,18,28,29,30,21,31,32,33,24,34,35,36,27,37,38,39,30,40,41,0,33,42,43,4,36,44,45,8,39,46,47,12,12,13,14,15,48,49,50,51,52,53,54,55,56,57,58,59,15,25,26,27,51,60,61,62,55,63,64,65,59,66,67,68,27,37,38,39,62,69,70,71,65,72,73,74,68,75,76,77,39,46,47,12,71,78,79,48,74,80,81,52,77,82,83,56,56,57,58,59,84,85,86,87,88,89,90,91,92,93,94,95,59,66,67,68,87,96,97,98,91,99,100,101,95,102,103,104,68,75,76,77,98,105,106,107,101,108,109,110,104,111,112,113,77,82,83,56,107,114,115,84,110,116,117,88,113,118,119,92,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,123,136,137,120,127,138,139,124,131,140,141,128,135,142,143,132,132,133,134,135,144,145,146,147,148,149,150,151,68,152,153,154,135,142,143,132,147,155,156,144,151,157,158,148,154,159,160,68,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,164,177,178,161,168,179,180,165,172,181,182,169,176,183,184,173,173,174,175,176,185,186,187,188,189,190,191,192,193,194,195,196,176,183,184,173,188,197,198,185,192,199,200,189,196,201,202,193,203,203,203,203,204,205,206,207,208,208,208,208,209,210,211,212,203,203,203,203,207,213,214,215,208,208,208,208,212,216,217,218,203,203,203,203,215,219,220,221,208,208,208,208,218,222,223,224,203,203,203,203,221,225,226,204,208,208,208,208,224,227,228,209,209,210,211,212,229,230,231,232,233,234,235,236,237,238,239,240,212,216,217,218,232,241,242,243,236,244,245,246,240,247,248,249,218,222,223,224,243,250,251,252,246,253,254,255,249,256,257,258,224,227,228,209,252,259,260,229,255,261,262,233,258,263,264,237,265,265,265,265,266,267,268,269,270,271,272,273,92,119,118,113,265,265,265,265,269,274,275,276,273,277,278,279,113,112,111,104,265,265,265,265,276,280,281,282,279,283,284,285,104,103,102,95,265,265,265,265,282,286,287,266,285,288,289,270,95,94,93,92],c=[1.4,0,2.4,1.4,-.784,2.4,.784,-1.4,2.4,0,-1.4,2.4,1.3375,0,2.53125,1.3375,-.749,2.53125,.749,-1.3375,2.53125,0,-1.3375,2.53125,1.4375,0,2.53125,1.4375,-.805,2.53125,.805,-1.4375,2.53125,0,-1.4375,2.53125,1.5,0,2.4,1.5,-.84,2.4,.84,-1.5,2.4,0,-1.5,2.4,-.784,-1.4,2.4,-1.4,-.784,2.4,-1.4,0,2.4,-.749,-1.3375,2.53125,-1.3375,-.749,2.53125,-1.3375,0,2.53125,-.805,-1.4375,2.53125,-1.4375,-.805,2.53125,-1.4375,0,2.53125,-.84,-1.5,2.4,-1.5,-.84,2.4,-1.5,0,2.4,-1.4,.784,2.4,-.784,1.4,2.4,0,1.4,2.4,-1.3375,.749,2.53125,-.749,1.3375,2.53125,0,1.3375,2.53125,-1.4375,.805,2.53125,-.805,1.4375,2.53125,0,1.4375,2.53125,-1.5,.84,2.4,-.84,1.5,2.4,0,1.5,2.4,.784,1.4,2.4,1.4,.784,2.4,.749,1.3375,2.53125,1.3375,.749,2.53125,.805,1.4375,2.53125,1.4375,.805,2.53125,.84,1.5,2.4,1.5,.84,2.4,1.75,0,1.875,1.75,-.98,1.875,.98,-1.75,1.875,0,-1.75,1.875,2,0,1.35,2,-1.12,1.35,1.12,-2,1.35,0,-2,1.35,2,0,.9,2,-1.12,.9,1.12,-2,.9,0,-2,.9,-.98,-1.75,1.875,-1.75,-.98,1.875,-1.75,0,1.875,-1.12,-2,1.35,-2,-1.12,1.35,-2,0,1.35,-1.12,-2,.9,-2,-1.12,.9,-2,0,.9,-1.75,.98,1.875,-.98,1.75,1.875,0,1.75,1.875,-2,1.12,1.35,-1.12,2,1.35,0,2,1.35,-2,1.12,.9,-1.12,2,.9,0,2,.9,.98,1.75,1.875,1.75,.98,1.875,1.12,2,1.35,2,1.12,1.35,1.12,2,.9,2,1.12,.9,2,0,.45,2,-1.12,.45,1.12,-2,.45,0,-2,.45,1.5,0,.225,1.5,-.84,.225,.84,-1.5,.225,0,-1.5,.225,1.5,0,.15,1.5,-.84,.15,.84,-1.5,.15,0,-1.5,.15,-1.12,-2,.45,-2,-1.12,.45,-2,0,.45,-.84,-1.5,.225,-1.5,-.84,.225,-1.5,0,.225,-.84,-1.5,.15,-1.5,-.84,.15,-1.5,0,.15,-2,1.12,.45,-1.12,2,.45,0,2,.45,-1.5,.84,.225,-.84,1.5,.225,0,1.5,.225,-1.5,.84,.15,-.84,1.5,.15,0,1.5,.15,1.12,2,.45,2,1.12,.45,.84,1.5,.225,1.5,.84,.225,.84,1.5,.15,1.5,.84,.15,-1.6,0,2.025,-1.6,-.3,2.025,-1.5,-.3,2.25,-1.5,0,2.25,-2.3,0,2.025,-2.3,-.3,2.025,-2.5,-.3,2.25,-2.5,0,2.25,-2.7,0,2.025,-2.7,-.3,2.025,-3,-.3,2.25,-3,0,2.25,-2.7,0,1.8,-2.7,-.3,1.8,-3,-.3,1.8,-3,0,1.8,-1.5,.3,2.25,-1.6,.3,2.025,-2.5,.3,2.25,-2.3,.3,2.025,-3,.3,2.25,-2.7,.3,2.025,-3,.3,1.8,-2.7,.3,1.8,-2.7,0,1.575,-2.7,-.3,1.575,-3,-.3,1.35,-3,0,1.35,-2.5,0,1.125,-2.5,-.3,1.125,-2.65,-.3,.9375,-2.65,0,.9375,-2,-.3,.9,-1.9,-.3,.6,-1.9,0,.6,-3,.3,1.35,-2.7,.3,1.575,-2.65,.3,.9375,-2.5,.3,1.125,-1.9,.3,.6,-2,.3,.9,1.7,0,1.425,1.7,-.66,1.425,1.7,-.66,.6,1.7,0,.6,2.6,0,1.425,2.6,-.66,1.425,3.1,-.66,.825,3.1,0,.825,2.3,0,2.1,2.3,-.25,2.1,2.4,-.25,2.025,2.4,0,2.025,2.7,0,2.4,2.7,-.25,2.4,3.3,-.25,2.4,3.3,0,2.4,1.7,.66,.6,1.7,.66,1.425,3.1,.66,.825,2.6,.66,1.425,2.4,.25,2.025,2.3,.25,2.1,3.3,.25,2.4,2.7,.25,2.4,2.8,0,2.475,2.8,-.25,2.475,3.525,-.25,2.49375,3.525,0,2.49375,2.9,0,2.475,2.9,-.15,2.475,3.45,-.15,2.5125,3.45,0,2.5125,2.8,0,2.4,2.8,-.15,2.4,3.2,-.15,2.4,3.2,0,2.4,3.525,.25,2.49375,2.8,.25,2.475,3.45,.15,2.5125,2.9,.15,2.475,3.2,.15,2.4,2.8,.15,2.4,0,0,3.15,.8,0,3.15,.8,-.45,3.15,.45,-.8,3.15,0,-.8,3.15,0,0,2.85,.2,0,2.7,.2,-.112,2.7,.112,-.2,2.7,0,-.2,2.7,-.45,-.8,3.15,-.8,-.45,3.15,-.8,0,3.15,-.112,-.2,2.7,-.2,-.112,2.7,-.2,0,2.7,-.8,.45,3.15,-.45,.8,3.15,0,.8,3.15,-.2,.112,2.7,-.112,.2,2.7,0,.2,2.7,.45,.8,3.15,.8,.45,3.15,.112,.2,2.7,.2,.112,2.7,.4,0,2.55,.4,-.224,2.55,.224,-.4,2.55,0,-.4,2.55,1.3,0,2.55,1.3,-.728,2.55,.728,-1.3,2.55,0,-1.3,2.55,1.3,0,2.4,1.3,-.728,2.4,.728,-1.3,2.4,0,-1.3,2.4,-.224,-.4,2.55,-.4,-.224,2.55,-.4,0,2.55,-.728,-1.3,2.55,-1.3,-.728,2.55,-1.3,0,2.55,-.728,-1.3,2.4,-1.3,-.728,2.4,-1.3,0,2.4,-.4,.224,2.55,-.224,.4,2.55,0,.4,2.55,-1.3,.728,2.55,-.728,1.3,2.55,0,1.3,2.55,-1.3,.728,2.4,-.728,1.3,2.4,0,1.3,2.4,.224,.4,2.55,.4,.224,2.55,.728,1.3,2.55,1.3,.728,2.55,.728,1.3,2.4,1.3,.728,2.4,0,0,0,1.425,0,0,1.425,.798,0,.798,1.425,0,0,1.425,0,1.5,0,.075,1.5,.84,.075,.84,1.5,.075,0,1.5,.075,-.798,1.425,0,-1.425,.798,0,-1.425,0,0,-.84,1.5,.075,-1.5,.84,.075,-1.5,0,.075,-1.425,-.798,0,-.798,-1.425,0,0,-1.425,0,-1.5,-.84,.075,-.84,-1.5,.075,0,-1.5,.075,.798,-1.425,0,1.425,-.798,0,.84,-1.5,.075,1.5,-.84,.075];super(),t=Math.max(2,Math.floor(t));let l=1.3,u=3.15*(o?1:l)/2,d=e/u,f=n?(8*t-4)*t:0;f+=r?(16*t-4)*t:0,f+=i?40*t*t:0;let p=new Uint32Array(f*3),m=n?4:0;m+=r?8:0,m+=i?20:0,m*=(t+1)*(t+1);let h=new Float32Array(m*3),g=new Float32Array(m*3),_=new Float32Array(m*2),v=new Fi;v.set(-1,3,-3,1,3,-6,3,0,-3,3,0,0,1,0,0,0);let y=[],b=[],x=[],S=[],C=[],w=[],T=[],E=[],D=[],O=new I,ee,te,ne,k,A=0,re=0,ie=new I,ae=new Fi,oe=new Fi,se=new Pi,ce=new Pi,le=new Pi,ue=new Pi,de=new I,fe=new I,pe=v.clone();pe.transpose();let notDegenerate=(e,t,n)=>!(h[e*3]===h[t*3]&&h[e*3+1]===h[t*3+1]&&h[e*3+2]===h[t*3+2]||h[e*3]===h[n*3]&&h[e*3+1]===h[n*3+1]&&h[e*3+2]===h[n*3+2]||h[t*3]===h[n*3]&&h[t*3+1]===h[n*3+1]&&h[t*3+2]===h[n*3+2]);for(let e=0;e<3;e++)w[e]=new Fi;let me=i?0:20,he=n?32:28,ge=t+1,_e=0,ve=0,ye=0,be=0,xe=0;for(let e=me;e<he;e++)if(r||e<20||e>=28){for(let t=0;t<3;t++){for(let n=0;n<4;n++)for(let r=0;r<4;r++)y[r*4+n]=c[s[e*16+n*4+r]*3+t],a&&e>=20&&e<28&&t!==2&&(y[r*4+n]*=1.077),!o&&t===2&&(y[r*4+n]*=l);ae.set(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),oe.multiplyMatrices(ae,v),w[t].multiplyMatrices(pe,oe)}for(let e=0;e<=t;e++){let n=e/t;for(let e=0;e<=t;e++){let r=e/t;for(k=4,te=ne=1;k--;)b[k]=te,x[k]=ne,te*=n,ne*=r,k===3?(S[k]=C[k]=0,A=re=1):(S[k]=A*(3-k),C[k]=re*(3-k),A*=n,re*=r);se.fromArray(b),ce.fromArray(x),le.fromArray(S),ue.fromArray(C);for(let e=0;e<3;e++)ee=se.clone(),ee.applyMatrix4(w[e]),T[e]=ee.dot(ce),ee=le.clone(),ee.applyMatrix4(w[e]),E[e]=ee.dot(ce),ee=se.clone(),ee.applyMatrix4(w[e]),D[e]=ee.dot(ue);de.fromArray(E),fe.fromArray(D),O.crossVectors(fe,de),O.normalize(),T[0]===0&&T[1]===0?ie.set(0,T[2]>u?1:-1,0):ie.set(O.x,O.z,-O.y),h[ve++]=d*T[0],h[ve++]=d*(T[2]-u),h[ve++]=-d*T[1],g[ye++]=ie.x,g[ye++]=ie.y,g[ye++]=ie.z,_[be++]=1-r,_[be++]=1-n}}for(let e=0;e<t;e++)for(let n=0;n<t;n++){let t=_e*ge*ge+e*ge+n,r=t+1,i=r+ge,a=t+ge;notDegenerate(t,r,i)&&(p[xe++]=t,p[xe++]=r,p[xe++]=i),notDegenerate(t,i,a)&&(p[xe++]=t,p[xe++]=i,p[xe++]=a)}_e++}this.setIndex(new BufferAttribute(p,1)),this.setAttribute(`position`,new BufferAttribute(h,3)),this.setAttribute(`normal`,new BufferAttribute(g,3)),this.setAttribute(`uv`,new BufferAttribute(_,2)),this.computeBoundingSphere()}};const Xs=[()=>R,`height`,`width`,`frameRequestRate`,()=>Zs,`captureStream`,`2d`,`contextId`,()=>Qs,`options`,()=>$s,`getContext`,`bitmaprenderer`,()=>ec,()=>tc,`webgl`,()=>nc,()=>rc,`webgl2`,()=>nc,()=>ic,()=>ac,()=>oc,`callback`,`type`,`quality`,`toBlob`,`toDataURL`,()=>sc,`transferControlToOffscreen`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLCanvasElement`,`Pn!'4"'4#P'2$8n%1&P.'2(n)2*8Pn+,J1,P.-2(n.2*8Pn/,J1,P.02(n12*8Pn2,J1,P.32(n42*8Pn5,J1,P&2("2*8Pn6,J1,Pn728&298'2:8$1;P&298'2:8&1<Pn=1>P"29Pn?2@nA"f2B"/C2DP)nEJ2*8$1FP&29nG2DP)nHJ2*8$1FP"29PnI2@nJ"f2B"/C2DP)nKJ2*8$1LP&29nM2DP)nNJ2*8$1LMwOy`],R=[()=>U,()=>cc,()=>lc,()=>uc,()=>dc,`accessKey`,`accessKeyLabel`,`autocapitalize`,`autocorrect`,`dir`,`draggable`,`until-found`,`hidden`,`inert`,`innerText`,`lang`,`offsetHeight`,`offsetLeft`,()=>U,`offsetParent`,`offsetTop`,`offsetWidth`,`outerText`,`popover`,`spellcheck`,`title`,`translate`,`writingSuggestions`,()=>fc,`attachInternals`,`click`,`hidePopover`,()=>pc,`options`,`showPopover`,()=>mc,`togglePopover`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLElement`,`Pn!n"n#n$n%&4&&4'9&4()4)&4*)4+P).,J4-)4.&4/&40'419'429Pn3,J449'459'469&47P&,J48)49&4:)4;&4<Pn=1>P$1?P$1@PnA2B8$1CPPnD)J2B8)1EP"2FPnG2HnI"f2J"/K2LP)nMJ2B8$1NP&2FnO2LP)nPJ2B8$1NP"2FPnQ2HnR"f2J"/K2LP)nSJ2B8$1TP&2FnU2LP)nVJ2B8$1TMwWy`],Zs=[()=>W,`active`,`id`,0,`this`,()=>hc,`ev`,``,`onaddtrack`,0,()=>hc,`onremovetrack`,()=>gc,`track`,`addTrack`,0,`clone`,()=>gc,`getAudioTracks`,`trackId`,()=>gc,`getTrackById`,()=>gc,`getTracks`,()=>gc,`getVideoTracks`,()=>gc,`removeTrack`,`type`,0,()=>_c,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>_c,()=>H,`removeEventListener`,()=>V,()=>H,`MediaStream`,`Pn!)4"9&4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,Pn-2.$1/Pn011Pn2F13P&24Pn5,J16Pn7F18Pn9F1:Pn;2.$1<P"2=Pn>2%n?"f2'"/(2@P)nAJ2B8$1CP&2=nD2@P)nEJ2B8$1CP"2=PnF2%nG"f2'"/(2@P)nHJ2B8$1IP&2=nJ2@P)nKJ2B8$1IMwLy`],Qs=[`alpha`,()=>vc,`colorSpace`,`desynchronized`,`willReadFrequently`,`CanvasRenderingContext2DSettings`,`P)4!8n"4#8)4$8)4%8Mw&y`],$s=[()=>yc,()=>bc,()=>xc,()=>Sc,()=>Cc,()=>wc,()=>Tc,()=>Ec,()=>Dc,()=>Oc,()=>kc,()=>Ac,()=>jc,()=>Mc,()=>Nc,()=>Pc,()=>Fc,()=>Xs,`canvas`,`CanvasRenderingContext2D`,`Pn!n"n#n$n%n&n'n(n)n*n+n,n-n.n/n0n1n2439Mw4y`],ec=[`alpha`,`ImageBitmapRenderingContextSettings`,`P)4!8Mw"y`],tc=[()=>Xs,()=>sc,`canvas`,()=>Ic,`bitmap`,`transferFromImageBitmap`,`ImageBitmapRenderingContext`,`PPn!n"J4#9PPn$,J2%$1&Mw'y`],nc=[`alpha`,`antialias`,`depth`,`desynchronized`,`failIfMajorPerformanceCaveat`,()=>Lc,`powerPreference`,`premultipliedAlpha`,`preserveDrawingBuffer`,`stencil`,`xrCompatible`,`WebGLContextAttributes`,`P)4!8)4"8)4#8)4$8)4%8n&4'8)4(8)4)8)4*8)4+8Mw,y`],rc=[()=>Rc,()=>zc,`WebGLRenderingContext`,`Pn!n"Mw#y`],ic=[()=>Bc,()=>Vc,()=>Rc,`WebGL2RenderingContext`,`Pn!n"n#Mw$y`],ac=[()=>$s,()=>tc,()=>rc,()=>ic,()=>Hc,`RenderingContext`,`Pn!n"n#n$n%Jw&y`],oc=[()=>Uc,`blob`,``,`BlobCallback`,`PPPn!,J2"$v#Mw$y`],sc=[()=>W,`height`,0,`this`,()=>G,`ev`,``,`oncontextlost`,0,()=>G,`oncontextrestored`,`width`,()=>Wc,`options`,()=>Uc,`convertToBlob`,`2d`,`contextId`,()=>Gc,`getContext`,`bitmaprenderer`,()=>tc,`webgl`,()=>rc,`webgl2`,()=>ic,()=>Kc,()=>qc,()=>Ic,`transferToImageBitmap`,`type`,0,()=>Jc,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Jc,()=>H,`removeEventListener`,()=>V,()=>H,`OffscreenCanvas`,`Pn!'4"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+'4,Pn-2.8n/\`10P.122"2.8Pn3,J14P.522"2.8Pn6,J14P.722"2.8Pn8,J14P.922"2.8Pn:,J14Pn;22"2.8Pn<,J14Pn=1>P"2?Pn@2$nA"f2&"/'2BP)nCJ2.8$1DP&2?nE2BP)nFJ2.8$1DP"2?PnG2$nH"f2&"/'2BP)nIJ2.8$1JP&2?nK2BP)nLJ2.8$1JMwMy`],z=[()=>Yc,()=>Xc,`HTMLElementEventMap`,`Pn!n"Mw#y`],B=[()=>H,`once`,`passive`,()=>Zc,`signal`,`AddEventListenerOptions`,`Pn!)4"8)4#8n$4%8Mw&y`],V=[()=>Qc,()=>$c,`EventListenerOrEventListenerObject`,`Pn!n"Jw#y`],H=[`capture`,`EventListenerOptions`,`P)4!8Mw"y`],U=[()=>K,()=>el,()=>tl,()=>nl,()=>rl,()=>il,()=>al,()=>ol,`attributes`,`className`,`clientHeight`,`clientLeft`,`clientTop`,`clientWidth`,`currentCSSZoom`,()=>sl,`customElementRegistry`,`id`,`innerHTML`,`localName`,`namespaceURI`,0,`this`,()=>G,`ev`,``,`onfullscreenchange`,0,()=>G,`onfullscreenerror`,`outerHTML`,()=>cl,`ownerDocument`,`prefix`,`scrollHeight`,`scrollLeft`,`scrollTop`,`scrollWidth`,()=>ll,`shadowRoot`,`slot`,`tagName`,()=>ul,`init`,()=>ll,`attachShadow`,()=>dl,`options`,`checkVisibility`,`selector`,()=>fl,`closest`,()=>pl,()=>ml,`selectors`,()=>hl,`computedStyleMap`,`qualifiedName`,`getAttribute`,`namespace`,`getAttributeNS`,`getAttributeNames`,()=>gl,`getAttributeNode`,()=>gl,`getAttributeNodeNS`,()=>_l,`getBoundingClientRect`,()=>vl,`getClientRects`,`classNames`,()=>yl,0,`getElementsByClassName`,()=>yl,()=>fl,`getElementsByTagName`,()=>yl,()=>pl,()=>yl,()=>ml,()=>yl,()=>bl,()=>yl,0,`http://www.w3.org/1999/xhtml`,()=>yl,()=>R,`getElementsByTagNameNS`,`http://www.w3.org/2000/svg`,()=>yl,()=>xl,`http://www.w3.org/1998/Math/MathML`,()=>yl,()=>Sl,()=>yl,0,()=>Cl,`getHTML`,`hasAttribute`,`hasAttributeNS`,`hasAttributes`,`pointerId`,`hasPointerCapture`,()=>wl,`where`,0,`element`,0,`insertAdjacentElement`,()=>wl,`position`,`string`,`insertAdjacentHTML`,()=>wl,`data`,`insertAdjacentText`,`matches`,`releasePointerCapture`,`removeAttribute`,`removeAttributeNS`,()=>gl,`attr`,()=>gl,`removeAttributeNode`,()=>Tl,`requestFullscreen`,()=>El,`requestPointerLock`,()=>Dl,`scroll`,`x`,`y`,()=>Dl,`scrollBy`,()=>Ol,`arg`,`scrollIntoView`,()=>Dl,`scrollTo`,`value`,`setAttribute`,`setAttributeNS`,()=>gl,()=>gl,`setAttributeNode`,()=>gl,()=>gl,`setAttributeNodeNS`,`html`,`setHTMLUnsafe`,`setPointerCapture`,`force`,`toggleAttribute`,`webkitMatchesSelector`,`type`,0,()=>Yc,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Yc,()=>H,`removeEventListener`,()=>V,()=>H,`Element`,`Pn!n"n#n$n%n&n'n(4)9!!&4*'4+9'4,9'4-9'4.9'4/9Pn0,J419&42&43&449P&,J459PPn627n829"/:,J4;PPn<27n=29"/:,J4>&4?n@4A9!!P&,J4B9'4C9'4D'4E'4F9PnG,J4H9&4I&4J9PnK2LnM1NPnO2P8)1QP"2RPnS"f,J1TP"2RPnU"f,J1TP"2RPnV"f,J1TP&2WP",J1TPnX1YP&2ZP&,J1[PP&,J2\\&24P&,J1]P&F1^P&2ZPn_,J1\`PP&,J2\\&24Pna,J1bPnc1dPne1fP&2gnioh"1jP"2Znl"fok"1mP"2Zno"fon"1mP"2Znq"fop"1mP"2Zns"for"1mP&2Znuot"1mP.v25&24nxow"1yP.z25&24n|o{"1yP.}25&24no~"1yPP&,J2\\&24no"1yPn2P8&1P&2Z)1PP&,J2\\&24)1
P)1P'2)1Pn2n2Pn,J1Pn2&2$1Pn2&2$1P"2W!1P"2W!1P"2W!1P&2W)1P'2$1P&2Z$1PP&,J2\\&24$1Pn2n1Pn2P8$\`1Pn\xA02P8$\`1¡Pn¢2P8$1£P'2¤'2¥$1£Pn¦2P8$1§P'2¤'2¥$1§PP)n¨J2©8$1ªPn«2P8$1¬P'2¤'2¥$1¬P&2Z&2$1®PP&,J2\\&2Z&2$1¯Pn°2Pn±,J1²Pn³2Pn´,J1µP&2¶$1·P'2$1¸P&2Z)2¹8)1ºP&2W)1»!!P"2¼Pn½27n¾"f29"/:2¿P)nÀJ2P8$1ÁP&2¼nÂ2¿P)nÃJ2P8$1ÁP"2¼PnÄ27nÅ"f29"/:2¿P)nÆJ2P8$1ÇP&2¼nÈ2¿P)nÉJ2P8$1ÇMwÊy`],cc=[()=>kl,`attributeStyleMap`,`ElementCSSInlineStyle`,`Pn!4"9!!Mw#y`],lc=[`contentEditable`,`enterKeyHint`,`inputMode`,`isContentEditable`,`ElementContentEditable`,`P&4!&4"&4#)4$9Mw%y`],uc=[0,`this`,()=>Al,`ev`,``,`onabort`,0,()=>jl,`onanimationcancel`,0,()=>jl,`onanimationend`,0,()=>jl,`onanimationiteration`,0,()=>jl,`onanimationstart`,0,()=>Ml,`onauxclick`,0,()=>Nl,`onbeforeinput`,0,()=>G,`onbeforematch`,0,()=>Pl,`onbeforetoggle`,0,()=>Fl,`onblur`,0,()=>G,`oncancel`,0,()=>G,`oncanplay`,0,()=>G,`oncanplaythrough`,0,()=>G,`onchange`,0,()=>Ml,`onclick`,0,()=>G,`onclose`,0,()=>G,`oncommand`,0,()=>G,`oncontextlost`,0,()=>Ml,`oncontextmenu`,0,()=>G,`oncontextrestored`,0,()=>Il,`oncopy`,0,()=>G,`oncuechange`,0,()=>Il,`oncut`,0,()=>Ll,`ondblclick`,0,()=>Rl,`ondrag`,0,()=>Rl,`ondragend`,0,()=>Rl,`ondragenter`,0,()=>Rl,`ondragleave`,0,()=>Rl,`ondragover`,0,()=>Rl,`ondragstart`,0,()=>Rl,`ondrop`,0,()=>G,`ondurationchange`,0,()=>G,`onemptied`,0,()=>G,`onended`,()=>zl,`onerror`,0,()=>Fl,`onfocus`,0,()=>Bl,`onformdata`,0,()=>Ml,`ongotpointercapture`,0,()=>Nl,`oninput`,0,()=>G,`oninvalid`,0,()=>Vl,`onkeydown`,0,()=>Vl,`onkeypress`,0,()=>Vl,`onkeyup`,0,()=>G,`onload`,0,()=>G,`onloadeddata`,0,()=>G,`onloadedmetadata`,0,()=>G,`onloadstart`,0,()=>Ml,`onlostpointercapture`,0,()=>Ll,`onmousedown`,0,()=>Ll,`onmouseenter`,0,()=>Ll,`onmouseleave`,0,()=>Ll,`onmousemove`,0,()=>Ll,`onmouseout`,0,()=>Ll,`onmouseover`,0,()=>Ll,`onmouseup`,0,()=>Il,`onpaste`,0,()=>G,`onpause`,0,()=>G,`onplay`,0,()=>G,`onplaying`,0,()=>Ml,`onpointercancel`,0,()=>Ml,`onpointerdown`,0,()=>Ml,`onpointerenter`,0,()=>Ml,`onpointerleave`,0,()=>Ml,`onpointermove`,0,()=>Ml,`onpointerout`,0,()=>Ml,`onpointerover`,0,()=>G,`onpointerrawupdate`,0,()=>Ml,`onpointerup`,0,()=>Hl,`onprogress`,0,()=>G,`onratechange`,0,()=>G,`onreset`,0,()=>Al,`onresize`,0,()=>G,`onscroll`,0,()=>G,`onscrollend`,0,()=>Ul,`onsecuritypolicyviolation`,0,()=>G,`onseeked`,0,()=>G,`onseeking`,0,()=>G,`onselect`,0,()=>G,`onselectionchange`,0,()=>G,`onselectstart`,0,()=>G,`onslotchange`,0,()=>G,`onstalled`,0,()=>Wl,`onsubmit`,0,()=>G,`onsuspend`,0,()=>G,`ontimeupdate`,0,()=>Pl,`ontoggle`,0,()=>Gl,`ontouchcancel`,0,()=>Gl,`ontouchend`,0,()=>Gl,`ontouchmove`,0,()=>Gl,`ontouchstart`,0,()=>Kl,`ontransitioncancel`,0,()=>Kl,`ontransitionend`,0,()=>Kl,`ontransitionrun`,0,()=>Kl,`ontransitionstart`,0,()=>G,`onvolumechange`,0,()=>G,`onwaiting`,0,()=>G,`onwebkitanimationend`,0,()=>G,`onwebkitanimationiteration`,0,()=>G,`onwebkitanimationstart`,0,()=>G,`onwebkittransitionend`,0,()=>ql,`onwheel`,`type`,0,()=>Xc,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Xc,()=>H,`removeEventListener`,()=>V,()=>H,`GlobalEventHandlers`,`PPPn!2"n#2$"/%,J4&PPn'2"n(2$"/%,J4)PPn*2"n+2$"/%,J4,PPn-2"n.2$"/%,J4/PPn02"n12$"/%,J42PPn32"n42$"/%,J45PPn62"n72$"/%,J48PPn92"n:2$"/%,J4;PPn<2"n=2$"/%,J4>PPn?2"n@2$"/%,J4APPnB2"nC2$"/%,J4DPPnE2"nF2$"/%,J4GPPnH2"nI2$"/%,J4JPPnK2"nL2$"/%,J4MPPnN2"nO2$"/%,J4PPPnQ2"nR2$"/%,J4SPPnT2"nU2$"/%,J4VPPnW2"nX2$"/%,J4YPPnZ2"n[2$"/%,J4\\PPn]2"n^2$"/%,J4_PPn\`2"na2$"/%,J4bPPnc2"nd2$"/%,J4ePPnf2"ng2$"/%,J4hPPni2"nj2$"/%,J4kPPnl2"nm2$"/%,J4nPPno2"np2$"/%,J4qPPnr2"ns2$"/%,J4tPPnu2"nv2$"/%,J4wPPnx2"ny2$"/%,J4zPPn{2"n|2$"/%,J4}PPn~2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n
2$"/%,J4PPn2"n2$"/%,J4n4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4PPn2"n2$"/%,J4\xA0PPn¡2"n¢2$"/%,J4£PPn¤2"n¥2$"/%,J4¦PPn§2"n¨2$"/%,J4©PPnª2"n«2$"/%,J4¬PPn2"n®2$"/%,J4¯PPn°2"n±2$"/%,J4²PPn³2"n´2$"/%,J4µPPn¶2"n·2$"/%,J4¸PPn¹2"nº2$"/%,J4»PPn¼2"n½2$"/%,J4¾PPn¿2"nÀ2$"/%,J4ÁPPnÂ2"nÃ2$"/%,J4ÄPPnÅ2"nÆ2$"/%,J4ÇPPnÈ2"nÉ2$"/%,J4ÊPPnË2"nÌ2$"/%,J4ÍPPnÎ2"nÏ2$"/%,J4ÐPPnÑ2"nÒ2$"/%,J4ÓPPnÔ2"nÕ2$"/%,J4ÖPPn×2"nØ2$"/%,J4ÙPPnÚ2"nÛ2$"/%,J4ÜPPnÝ2"nÞ2$"/%,J4ßPPnà2"ná2$"/%,J4âPPnã2"nä2$"/%,J4åPPnæ2"nç2$"/%,J4èPPné2"nê2$"/%,J4ëPPnì2"ní2$"/%,J4îPPnï2"nð2$"/%,J4ñPPnò2"nó2$"/%,J4ôPPnõ2"nö2$"/%,J4÷PPnø2"nù2$"/%,J4úPPnû2"nü2$"/%,J4ýPPnþ2"nÿ2$"/%,J4ĀPPnā2"nĂ2$"/%,J4ăPPnĄ2"ną2$"/%,J4ĆPPnć2"nĈ2$"/%,J4ĉPPnĊ2"nċ2$"/%,J4ČPPnč2"nĎ2$"/%,J4ďPPnĐ2"nđ2$"/%,J4ĒPPnē2"nĔ2$"/%,J4ĕPPnĖ2"nė2$"/%,J4ĘPPnę2"nĚ2$"/%,J4ěPPnĜ2"nĝ2$"/%,J4ĞPPnğ2"nĠ2$"/%,J4ġPPnĢ2"nģ2$"/%,J4ĤPPnĥ2"nĦ2$"/%,-J4ħ8PPnĨ2"nĩ2$"/%,-J4Ī8PPnī2"nĬ2$"/%,-J4ĭ8PPnĮ2"nį2$"/%,-J4İ8PPnı2"nIJ2$"/%,J4ijPPnĴ2"nĵ2$"/%,J4ĶPPnķ2"nĸ2$"/%,J4ĹPPnĺ2"nĻ2$"/%,J4ļPPnĽ2"nľ2$"/%,J4ĿPPnŀ2"nŁ2$"/%,J4łPPnŃ2"nń2$"/%,J4ŅPPnņ2"nŇ2$"/%,J4ňPPnʼn2"nŊ2$"/%,J4ŋPPnŌ2"nō2$"/%,J4ŎPPnŏ2"nŐ2$"/%,J4őP"2ŒPnœ2"nŔ"f2$"/%2ŕP)nŖJ2ŗ8$1ŘP&2Œnř2ŕP)nŚJ2ŗ8$1ŘP"2ŒPnś2"nŜ"f2$"/%2ŕP)nŝJ2ŗ8$1ŞP&2Œnş2ŕP)nŠJ2ŗ8$1ŞMwšy`],dc=[`autofocus`,()=>Jl,`dataset`,`nonce`,`tabIndex`,`blur`,()=>Yl,`options`,`focus`,`HTMLOrSVGElement`,`P)4!n"4#9&4$'4%P$1&Pn'2(8$1)Mw*y`],fc=[()=>el,()=>Xl,`form`,()=>Zl,`labels`,()=>ll,`shadowRoot`,()=>Ql,`states`,`validationMessage`,()=>$l,`validity`,`willValidate`,`checkValidity`,`reportValidity`,()=>eu,()=>tu,`value`,()=>eu,()=>tu,`state`,`setFormValue`,()=>nu,`flags`,`message`,()=>R,`anchor`,`setValidity`,`ElementInternals`,`Pn!Pn",J4#9n$4%9Pn&,J4'9n(4)9&4*9n+4,9)4-9P)1.P)1/PPn0&n1,J22Pn3&n4,J258$16Pn7288&298n:2;8$1<Mw=y`],pc=[()=>R,`source`,`ShowPopoverOptions`,`Pn!4"8Mw#y`],mc=[()=>pc,`force`,`TogglePopoverOptions`,`Pn!)4"8Mw#y`],W=[`type`,()=>V,`callback`,()=>B,`options`,`addEventListener`,()=>G,`event`,`dispatchEvent`,()=>V,()=>H,`removeEventListener`,`EventTarget`,`PP&2!Pn",J2#Pn$)J2%8$1&Pn'2()1)P&2!Pn*,J2#Pn+)J2%8$1,Mw-y`],hc=[()=>G,()=>gc,`track`,`MediaStreamTrackEvent`,`Pn!n"4#9Mw$y`],gc=[()=>W,`contentHint`,`enabled`,`id`,`kind`,`label`,`muted`,0,`this`,()=>G,`ev`,``,`onended`,0,()=>G,`onmute`,0,()=>G,`onunmute`,()=>ru,`readyState`,()=>iu,`constraints`,`applyConstraints`,0,`clone`,()=>au,`getCapabilities`,()=>iu,`getConstraints`,()=>ou,`getSettings`,`stop`,`type`,0,()=>su,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>su,()=>H,`removeEventListener`,()=>V,()=>H,`MediaStreamTrack`,`Pn!&4")4#&4$9&4%9&4&9)4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43n4459Pn6278$\`18Pn91:Pn;1<Pn=1>Pn?1@P$1AP"2BPnC2)nD"f2+"/,2EP)nFJ2G8$1HP&2BnI2EP)nJJ2G8$1HP"2BPnK2)nL"f2+"/,2EP)nMJ2G8$1NP&2BnO2EP)nPJ2G8$1NMwQy`],_c=[()=>hc,`addtrack`,()=>hc,`removetrack`,`MediaStreamEventMap`,`Pn!4"n#4$Mw%y`],vc=[`display-p3`,`srgb`,`PredefinedColorSpace`,`P.!."Jw#y`],yc=[`globalAlpha`,()=>cu,`globalCompositeOperation`,`CanvasCompositing`,`P'4!n"4#Mw$y`],bc=[()=>lu,`image`,`dx`,`dy`,`drawImage`,()=>lu,`dw`,`dh`,()=>lu,`sx`,`sy`,`sw`,`sh`,`CanvasDrawImage`,`PPn!2"'2#'2$$1%Pn&2"'2#'2$'2''2($1%Pn)2"'2*'2+'2,'2-'2#'2$'2''2($1%Mw.y`],xc=[`beginPath`,()=>uu,`fillRule`,`clip`,()=>du,`path`,()=>uu,()=>uu,`fill`,()=>du,()=>uu,`x`,`y`,()=>uu,`isPointInPath`,()=>du,()=>uu,`isPointInStroke`,()=>du,`stroke`,()=>du,`CanvasDrawPath`,`PP$1!Pn"2#8$1$Pn%2&n'2#8$1$Pn(2#8$1)Pn*2&n+2#8$1)P'2,'2-n.2#8)1/Pn02&'2,'2-n12#8)1/P'2,'2-)12Pn32&'2,'2-)12P$14Pn52&$14Mw6y`],Sc=[()=>fu,()=>pu,`fillStyle`,()=>fu,()=>pu,`strokeStyle`,`startAngle`,`x`,`y`,()=>fu,`createConicGradient`,`x0`,`y0`,`x1`,`y1`,()=>fu,`createLinearGradient`,()=>lu,`image`,`repetition`,()=>pu,`createPattern`,`r0`,`r1`,()=>fu,`createRadialGradient`,`CanvasFillStrokeStyles`,`PP&n!n"J4#P&n$n%J4&P'2''2('2)n*1+P'2,'2-'2.'2/n011Pn223P&,J24Pn5,J16P'2,'2-'27'2.'2/'28n91:Mw;y`],Cc=[`filter`,`CanvasFilters`,`P&4!Mw"y`],wc=[`sw`,`sh`,()=>mu,`settings`,()=>hu,`createImageData`,()=>hu,`imageData`,()=>hu,`sx`,`sy`,()=>mu,()=>hu,`getImageData`,()=>hu,`dx`,`dy`,`putImageData`,()=>hu,`dirtyX`,`dirtyY`,`dirtyWidth`,`dirtyHeight`,`CanvasImageData`,`PP'2!'2"n#2$8n%1&Pn'2(n)1&P'2*'2+'2!'2"n,2$8n-1.Pn/2('20'21$12Pn32('20'21'24'25'26'27$12Mw8y`],Tc=[`imageSmoothingEnabled`,()=>gu,`imageSmoothingQuality`,`CanvasImageSmoothing`,`P)4!n"4#Mw$y`],Ec=[`x`,`y`,`radius`,`startAngle`,`endAngle`,`counterclockwise`,`arc`,`x1`,`y1`,`x2`,`y2`,`arcTo`,`cp1x`,`cp1y`,`cp2x`,`cp2y`,`bezierCurveTo`,`closePath`,`radiusX`,`radiusY`,`rotation`,`ellipse`,`lineTo`,`moveTo`,`cpx`,`cpy`,`quadraticCurveTo`,`w`,`h`,`rect`,()=>_u,()=>_u,`radii`,`roundRect`,`CanvasPath`,`PP'2!'2"'2#'2$'2%)2&8$1'P'2('2)'2*'2+'2#$1,P'2-'2.'2/'20'2!'2"$11P$12P'2!'2"'23'24'25'2$'2%)2&8$16P'2!'2"$17P'2!'2"$18P'29'2:'2!'2"$1;P'2!'2"'2<'2=$1>P'2!'2"'2<'2=P'n?P'n@JFJ2A8$1BMwCy`],Dc=[()=>vu,`lineCap`,`lineDashOffset`,()=>yu,`lineJoin`,`lineWidth`,`miterLimit`,`getLineDash`,`segments`,`setLineDash`,`CanvasPathDrawingStyles`,`Pn!4"'4#n$4%'4&'4'P'F1(P'F2)$1*Mw+y`],Oc=[`x`,`y`,`w`,`h`,`clearRect`,`fillRect`,`strokeRect`,`CanvasRect`,`PP'2!'2"'2#'2$$1%P'2!'2"'2#'2$$1&P'2!'2"'2#'2$$1'Mw(y`],kc=[()=>Qs,`getContextAttributes`,`CanvasSettings`,`PPn!1"Mw#y`],Ac=[`shadowBlur`,`shadowColor`,`shadowOffsetX`,`shadowOffsetY`,`CanvasShadowStyles`,`P'4!&4"'4#'4$Mw%y`],jc=[`isContextLost`,`reset`,`restore`,`save`,`CanvasState`,`PP)1!P$1"P$1#P$1$Mw%y`],Mc=[`text`,`x`,`y`,`maxWidth`,`fillText`,()=>bu,`measureText`,`strokeText`,`CanvasText`,`PP&2!'2"'2#'2$8$1%P&2!n&1'P&2!'2"'2#'2$8$1(Mw)y`],Nc=[()=>xu,`direction`,`font`,()=>Su,`fontKerning`,()=>Cu,`fontStretch`,()=>wu,`fontVariantCaps`,`letterSpacing`,()=>Tu,`textAlign`,()=>Eu,`textBaseline`,()=>Du,`textRendering`,`wordSpacing`,`CanvasTextDrawingStyles`,`Pn!4"&4#n$4%n&4'n(4)&4*n+4,n-4.n/40&41Mw2y`],Pc=[()=>Ou,`getTransform`,`resetTransform`,`angle`,`rotate`,`x`,`y`,`scale`,`a`,`b`,`c`,`d`,`e`,`f`,`setTransform`,()=>ku,`transform`,`translate`,`CanvasTransform`,`PPn!1"P$1#P'2$$1%P'2&'2'$1(P'2)'2*'2+'2,'2-'2.$1/Pn0218$1/P'2)'2*'2+'2,'2-'2.$11P'2&'2'$12Mw3y`],Fc=[()=>U,`element`,`drawFocusIfNeeded`,()=>du,`path`,()=>U,`CanvasUserInterface`,`PPn!2"$1#Pn$2%n&2"$1#Mw'y`],Ic=[`height`,`width`,`close`,`ImageBitmap`,`P'4!9'4"9P$1#Mw$y`],Lc=[`default`,`high-performance`,`low-power`,`WebGLPowerPreference`,`P.!.".#Jw$y`],Rc=[()=>Xs,()=>sc,`canvas`,()=>vc,`drawingBufferColorSpace`,()=>q,`drawingBufferHeight`,()=>q,`drawingBufferWidth`,()=>vc,`unpackColorSpace`,()=>J,`texture`,`activeTexture`,()=>Au,`program`,()=>ju,`shader`,`attachShader`,()=>Au,()=>Y,`index`,`name`,`bindAttribLocation`,()=>J,`target`,()=>Mu,`buffer`,`bindBuffer`,()=>J,()=>Nu,`framebuffer`,`bindFramebuffer`,()=>J,()=>Pu,`renderbuffer`,`bindRenderbuffer`,()=>J,()=>Fu,`bindTexture`,()=>Iu,`red`,()=>Iu,`green`,()=>Iu,`blue`,()=>Iu,`alpha`,`blendColor`,()=>J,`mode`,`blendEquation`,()=>J,`modeRGB`,()=>J,`modeAlpha`,`blendEquationSeparate`,()=>J,`sfactor`,()=>J,`dfactor`,`blendFunc`,()=>J,`srcRGB`,()=>J,`dstRGB`,()=>J,`srcAlpha`,()=>J,`dstAlpha`,`blendFuncSeparate`,()=>J,()=>J,`checkFramebufferStatus`,()=>Lu,`mask`,`clear`,()=>Iu,()=>Iu,()=>Iu,()=>Iu,`clearColor`,()=>Iu,`depth`,`clearDepth`,()=>X,`s`,`clearStencil`,()=>Ru,()=>Ru,()=>Ru,()=>Ru,`colorMask`,()=>ju,`compileShader`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>X,`x`,()=>X,`y`,()=>q,`width`,()=>q,`height`,()=>X,`border`,`copyTexImage2D`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>X,()=>X,()=>q,()=>q,`copyTexSubImage2D`,()=>Mu,`createBuffer`,()=>Nu,`createFramebuffer`,()=>Au,`createProgram`,()=>Pu,`createRenderbuffer`,()=>J,`type`,()=>ju,`createShader`,()=>Fu,`createTexture`,()=>J,`cullFace`,()=>Mu,`deleteBuffer`,()=>Nu,`deleteFramebuffer`,()=>Au,`deleteProgram`,()=>Pu,`deleteRenderbuffer`,()=>ju,`deleteShader`,()=>Fu,`deleteTexture`,()=>J,`func`,`depthFunc`,()=>Ru,`flag`,`depthMask`,()=>Iu,`zNear`,()=>Iu,`zFar`,`depthRange`,()=>Au,()=>ju,`detachShader`,()=>J,`cap`,`disable`,()=>Y,`disableVertexAttribArray`,()=>J,()=>X,`first`,()=>q,`count`,`drawArrays`,()=>J,()=>q,()=>J,()=>zu,`offset`,`drawElements`,()=>J,`enable`,()=>Y,`enableVertexAttribArray`,`finish`,`flush`,()=>J,()=>J,`attachment`,()=>J,`renderbuffertarget`,()=>Pu,`framebufferRenderbuffer`,()=>J,()=>J,()=>J,`textarget`,()=>Fu,()=>X,`framebufferTexture2D`,()=>J,`frontFace`,()=>J,`generateMipmap`,()=>Au,()=>Y,()=>Bu,`getActiveAttrib`,()=>Au,()=>Y,()=>Bu,`getActiveUniform`,()=>Au,()=>ju,`getAttachedShaders`,()=>Au,()=>X,`getAttribLocation`,()=>J,()=>J,`pname`,`getBufferParameter`,()=>nc,`getContextAttributes`,()=>J,`getError`,`getExtension`,`ANGLE_instanced_arrays`,`extensionName`,()=>Vu,`EXT_blend_minmax`,()=>Hu,`EXT_color_buffer_float`,()=>Uu,`EXT_color_buffer_half_float`,()=>Wu,`EXT_float_blend`,()=>Gu,`EXT_frag_depth`,()=>Ku,`EXT_sRGB`,()=>qu,`EXT_shader_texture_lod`,()=>Ju,`EXT_texture_compression_bptc`,()=>Yu,`EXT_texture_compression_rgtc`,()=>Xu,`EXT_texture_filter_anisotropic`,()=>Zu,`KHR_parallel_shader_compile`,()=>Qu,`OES_element_index_uint`,()=>$u,`OES_fbo_render_mipmap`,()=>ed,`OES_standard_derivatives`,()=>td,`OES_texture_float`,()=>nd,`OES_texture_float_linear`,()=>rd,`OES_texture_half_float`,()=>id,`OES_texture_half_float_linear`,()=>ad,`OES_vertex_array_object`,()=>od,`OVR_multiview2`,()=>sd,`WEBGL_color_buffer_float`,()=>cd,`WEBGL_compressed_texture_astc`,()=>ld,`WEBGL_compressed_texture_etc`,()=>ud,`WEBGL_compressed_texture_etc1`,()=>dd,`WEBGL_compressed_texture_pvrtc`,()=>fd,`WEBGL_compressed_texture_s3tc`,()=>pd,`WEBGL_compressed_texture_s3tc_srgb`,()=>md,`WEBGL_debug_renderer_info`,()=>hd,`WEBGL_debug_shaders`,()=>gd,`WEBGL_depth_texture`,()=>_d,`WEBGL_draw_buffers`,()=>vd,`WEBGL_lose_context`,()=>yd,`WEBGL_multi_draw`,()=>bd,()=>J,()=>J,()=>J,`getFramebufferAttachmentParameter`,()=>J,`getParameter`,()=>Au,`getProgramInfoLog`,()=>Au,()=>J,`getProgramParameter`,()=>J,()=>J,`getRenderbufferParameter`,()=>ju,`getShaderInfoLog`,()=>ju,()=>J,`getShaderParameter`,()=>J,`shadertype`,()=>J,`precisiontype`,()=>xd,`getShaderPrecisionFormat`,()=>ju,`getShaderSource`,`getSupportedExtensions`,()=>J,()=>J,`getTexParameter`,()=>Au,()=>Sd,`location`,`getUniform`,()=>Au,()=>Sd,`getUniformLocation`,()=>Y,()=>J,`getVertexAttrib`,()=>Y,()=>J,()=>zu,`getVertexAttribOffset`,()=>J,()=>J,`hint`,()=>Mu,()=>Ru,`isBuffer`,`isContextLost`,()=>J,()=>Ru,`isEnabled`,()=>Nu,()=>Ru,`isFramebuffer`,()=>Au,()=>Ru,`isProgram`,()=>Pu,()=>Ru,`isRenderbuffer`,()=>ju,()=>Ru,`isShader`,()=>Fu,()=>Ru,`isTexture`,()=>Cd,`lineWidth`,()=>Au,`linkProgram`,()=>J,()=>X,()=>Ru,`param`,`pixelStorei`,()=>Cd,`factor`,()=>Cd,`units`,`polygonOffset`,()=>J,()=>J,()=>q,()=>q,`renderbufferStorage`,()=>Iu,`value`,()=>Ru,`invert`,`sampleCoverage`,()=>X,()=>X,()=>q,()=>q,`scissor`,()=>ju,`source`,`shaderSource`,()=>J,()=>X,`ref`,()=>Y,`stencilFunc`,()=>J,`face`,()=>J,()=>X,()=>Y,`stencilFuncSeparate`,()=>Y,`stencilMask`,()=>J,()=>Y,`stencilMaskSeparate`,()=>J,`fail`,()=>J,`zfail`,()=>J,`zpass`,`stencilOp`,()=>J,()=>J,()=>J,()=>J,`stencilOpSeparate`,()=>J,()=>J,()=>Cd,`texParameterf`,()=>J,()=>J,()=>X,`texParameteri`,()=>Sd,()=>Cd,`uniform1f`,()=>Sd,()=>X,`uniform1i`,()=>Sd,()=>Cd,()=>Cd,`uniform2f`,()=>Sd,()=>X,()=>X,`uniform2i`,()=>Sd,()=>Cd,()=>Cd,()=>Cd,`z`,`uniform3f`,()=>Sd,()=>X,()=>X,()=>X,`uniform3i`,()=>Sd,()=>Cd,()=>Cd,()=>Cd,()=>Cd,`w`,`uniform4f`,()=>Sd,()=>X,()=>X,()=>X,()=>X,`uniform4i`,()=>Au,`useProgram`,()=>Au,`validateProgram`,()=>Y,()=>Cd,`vertexAttrib1f`,()=>Y,()=>wd,`values`,`vertexAttrib1fv`,()=>Y,()=>Cd,()=>Cd,`vertexAttrib2f`,()=>Y,()=>wd,`vertexAttrib2fv`,()=>Y,()=>Cd,()=>Cd,()=>Cd,`vertexAttrib3f`,()=>Y,()=>wd,`vertexAttrib3fv`,()=>Y,()=>Cd,()=>Cd,()=>Cd,()=>Cd,`vertexAttrib4f`,()=>Y,()=>wd,`vertexAttrib4fv`,()=>Y,()=>X,`size`,()=>J,()=>Ru,`normalized`,()=>q,`stride`,()=>zu,`vertexAttribPointer`,()=>X,()=>X,()=>q,()=>q,`viewport`,256,`DEPTH_BUFFER_BIT`,1024,`STENCIL_BUFFER_BIT`,16384,`COLOR_BUFFER_BIT`,0,`POINTS`,1,`LINES`,2,`LINE_LOOP`,3,`LINE_STRIP`,4,`TRIANGLES`,5,`TRIANGLE_STRIP`,6,`TRIANGLE_FAN`,0,`ZERO`,1,`ONE`,768,`SRC_COLOR`,769,`ONE_MINUS_SRC_COLOR`,770,`SRC_ALPHA`,771,`ONE_MINUS_SRC_ALPHA`,772,`DST_ALPHA`,773,`ONE_MINUS_DST_ALPHA`,774,`DST_COLOR`,775,`ONE_MINUS_DST_COLOR`,776,`SRC_ALPHA_SATURATE`,32774,`FUNC_ADD`,32777,`BLEND_EQUATION`,32777,`BLEND_EQUATION_RGB`,34877,`BLEND_EQUATION_ALPHA`,32778,`FUNC_SUBTRACT`,32779,`FUNC_REVERSE_SUBTRACT`,32968,`BLEND_DST_RGB`,32969,`BLEND_SRC_RGB`,32970,`BLEND_DST_ALPHA`,32971,`BLEND_SRC_ALPHA`,32769,`CONSTANT_COLOR`,32770,`ONE_MINUS_CONSTANT_COLOR`,32771,`CONSTANT_ALPHA`,32772,`ONE_MINUS_CONSTANT_ALPHA`,32773,`BLEND_COLOR`,34962,`ARRAY_BUFFER`,34963,`ELEMENT_ARRAY_BUFFER`,34964,`ARRAY_BUFFER_BINDING`,34965,`ELEMENT_ARRAY_BUFFER_BINDING`,35040,`STREAM_DRAW`,35044,`STATIC_DRAW`,35048,`DYNAMIC_DRAW`,34660,`BUFFER_SIZE`,34661,`BUFFER_USAGE`,34342,`CURRENT_VERTEX_ATTRIB`,1028,`FRONT`,1029,`BACK`,1032,`FRONT_AND_BACK`,2884,`CULL_FACE`,3042,`BLEND`,3024,`DITHER`,2960,`STENCIL_TEST`,2929,`DEPTH_TEST`,3089,`SCISSOR_TEST`,32823,`POLYGON_OFFSET_FILL`,32926,`SAMPLE_ALPHA_TO_COVERAGE`,32928,`SAMPLE_COVERAGE`,0,`NO_ERROR`,1280,`INVALID_ENUM`,1281,`INVALID_VALUE`,1282,`INVALID_OPERATION`,1285,`OUT_OF_MEMORY`,2304,`CW`,2305,`CCW`,2849,`LINE_WIDTH`,33901,`ALIASED_POINT_SIZE_RANGE`,33902,`ALIASED_LINE_WIDTH_RANGE`,2885,`CULL_FACE_MODE`,2886,`FRONT_FACE`,2928,`DEPTH_RANGE`,2930,`DEPTH_WRITEMASK`,2931,`DEPTH_CLEAR_VALUE`,2932,`DEPTH_FUNC`,2961,`STENCIL_CLEAR_VALUE`,2962,`STENCIL_FUNC`,2964,`STENCIL_FAIL`,2965,`STENCIL_PASS_DEPTH_FAIL`,2966,`STENCIL_PASS_DEPTH_PASS`,2967,`STENCIL_REF`,2963,`STENCIL_VALUE_MASK`,2968,`STENCIL_WRITEMASK`,34816,`STENCIL_BACK_FUNC`,34817,`STENCIL_BACK_FAIL`,34818,`STENCIL_BACK_PASS_DEPTH_FAIL`,34819,`STENCIL_BACK_PASS_DEPTH_PASS`,36003,`STENCIL_BACK_REF`,36004,`STENCIL_BACK_VALUE_MASK`,36005,`STENCIL_BACK_WRITEMASK`,2978,`VIEWPORT`,3088,`SCISSOR_BOX`,3106,`COLOR_CLEAR_VALUE`,3107,`COLOR_WRITEMASK`,3317,`UNPACK_ALIGNMENT`,3333,`PACK_ALIGNMENT`,3379,`MAX_TEXTURE_SIZE`,3386,`MAX_VIEWPORT_DIMS`,3408,`SUBPIXEL_BITS`,3410,`RED_BITS`,3411,`GREEN_BITS`,3412,`BLUE_BITS`,3413,`ALPHA_BITS`,3414,`DEPTH_BITS`,3415,`STENCIL_BITS`,10752,`POLYGON_OFFSET_UNITS`,32824,`POLYGON_OFFSET_FACTOR`,32873,`TEXTURE_BINDING_2D`,32936,`SAMPLE_BUFFERS`,32937,`SAMPLES`,32938,`SAMPLE_COVERAGE_VALUE`,32939,`SAMPLE_COVERAGE_INVERT`,34467,`COMPRESSED_TEXTURE_FORMATS`,4352,`DONT_CARE`,4353,`FASTEST`,4354,`NICEST`,33170,`GENERATE_MIPMAP_HINT`,5120,`BYTE`,5121,`UNSIGNED_BYTE`,5122,`SHORT`,5123,`UNSIGNED_SHORT`,5124,`INT`,5125,`UNSIGNED_INT`,5126,`FLOAT`,6402,`DEPTH_COMPONENT`,6406,`ALPHA`,6407,`RGB`,6408,`RGBA`,6409,`LUMINANCE`,6410,`LUMINANCE_ALPHA`,32819,`UNSIGNED_SHORT_4_4_4_4`,32820,`UNSIGNED_SHORT_5_5_5_1`,33635,`UNSIGNED_SHORT_5_6_5`,35632,`FRAGMENT_SHADER`,35633,`VERTEX_SHADER`,34921,`MAX_VERTEX_ATTRIBS`,36347,`MAX_VERTEX_UNIFORM_VECTORS`,36348,`MAX_VARYING_VECTORS`,35661,`MAX_COMBINED_TEXTURE_IMAGE_UNITS`,35660,`MAX_VERTEX_TEXTURE_IMAGE_UNITS`,34930,`MAX_TEXTURE_IMAGE_UNITS`,36349,`MAX_FRAGMENT_UNIFORM_VECTORS`,35663,`SHADER_TYPE`,35712,`DELETE_STATUS`,35714,`LINK_STATUS`,35715,`VALIDATE_STATUS`,35717,`ATTACHED_SHADERS`,35718,`ACTIVE_UNIFORMS`,35721,`ACTIVE_ATTRIBUTES`,35724,`SHADING_LANGUAGE_VERSION`,35725,`CURRENT_PROGRAM`,512,`NEVER`,513,`LESS`,514,`EQUAL`,515,`LEQUAL`,516,`GREATER`,517,`NOTEQUAL`,518,`GEQUAL`,519,`ALWAYS`,7680,`KEEP`,7681,`REPLACE`,7682,`INCR`,7683,`DECR`,5386,`INVERT`,34055,`INCR_WRAP`,34056,`DECR_WRAP`,7936,`VENDOR`,7937,`RENDERER`,7938,`VERSION`,9728,`NEAREST`,9729,`LINEAR`,9984,`NEAREST_MIPMAP_NEAREST`,9985,`LINEAR_MIPMAP_NEAREST`,9986,`NEAREST_MIPMAP_LINEAR`,9987,`LINEAR_MIPMAP_LINEAR`,10240,`TEXTURE_MAG_FILTER`,10241,`TEXTURE_MIN_FILTER`,10242,`TEXTURE_WRAP_S`,10243,`TEXTURE_WRAP_T`,3553,`TEXTURE_2D`,5890,`TEXTURE`,34067,`TEXTURE_CUBE_MAP`,34068,`TEXTURE_BINDING_CUBE_MAP`,34069,`TEXTURE_CUBE_MAP_POSITIVE_X`,34070,`TEXTURE_CUBE_MAP_NEGATIVE_X`,34071,`TEXTURE_CUBE_MAP_POSITIVE_Y`,34072,`TEXTURE_CUBE_MAP_NEGATIVE_Y`,34073,`TEXTURE_CUBE_MAP_POSITIVE_Z`,34074,`TEXTURE_CUBE_MAP_NEGATIVE_Z`,34076,`MAX_CUBE_MAP_TEXTURE_SIZE`,33984,`TEXTURE0`,33985,`TEXTURE1`,33986,`TEXTURE2`,33987,`TEXTURE3`,33988,`TEXTURE4`,33989,`TEXTURE5`,33990,`TEXTURE6`,33991,`TEXTURE7`,33992,`TEXTURE8`,33993,`TEXTURE9`,33994,`TEXTURE10`,33995,`TEXTURE11`,33996,`TEXTURE12`,33997,`TEXTURE13`,33998,`TEXTURE14`,33999,`TEXTURE15`,34e3,`TEXTURE16`,34001,`TEXTURE17`,34002,`TEXTURE18`,34003,`TEXTURE19`,34004,`TEXTURE20`,34005,`TEXTURE21`,34006,`TEXTURE22`,34007,`TEXTURE23`,34008,`TEXTURE24`,34009,`TEXTURE25`,34010,`TEXTURE26`,34011,`TEXTURE27`,34012,`TEXTURE28`,34013,`TEXTURE29`,34014,`TEXTURE30`,34015,`TEXTURE31`,34016,`ACTIVE_TEXTURE`,10497,`REPEAT`,33071,`CLAMP_TO_EDGE`,33648,`MIRRORED_REPEAT`,35664,`FLOAT_VEC2`,35665,`FLOAT_VEC3`,35666,`FLOAT_VEC4`,35667,`INT_VEC2`,35668,`INT_VEC3`,35669,`INT_VEC4`,35670,`BOOL`,35671,`BOOL_VEC2`,35672,`BOOL_VEC3`,35673,`BOOL_VEC4`,35674,`FLOAT_MAT2`,35675,`FLOAT_MAT3`,35676,`FLOAT_MAT4`,35678,`SAMPLER_2D`,35680,`SAMPLER_CUBE`,34338,`VERTEX_ATTRIB_ARRAY_ENABLED`,34339,`VERTEX_ATTRIB_ARRAY_SIZE`,34340,`VERTEX_ATTRIB_ARRAY_STRIDE`,34341,`VERTEX_ATTRIB_ARRAY_TYPE`,34922,`VERTEX_ATTRIB_ARRAY_NORMALIZED`,34373,`VERTEX_ATTRIB_ARRAY_POINTER`,34975,`VERTEX_ATTRIB_ARRAY_BUFFER_BINDING`,35738,`IMPLEMENTATION_COLOR_READ_TYPE`,35739,`IMPLEMENTATION_COLOR_READ_FORMAT`,35713,`COMPILE_STATUS`,36336,`LOW_FLOAT`,36337,`MEDIUM_FLOAT`,36338,`HIGH_FLOAT`,36339,`LOW_INT`,36340,`MEDIUM_INT`,36341,`HIGH_INT`,36160,`FRAMEBUFFER`,36161,`RENDERBUFFER`,32854,`RGBA4`,32855,`RGB5_A1`,32856,`RGBA8`,36194,`RGB565`,33189,`DEPTH_COMPONENT16`,36168,`STENCIL_INDEX8`,34041,`DEPTH_STENCIL`,36162,`RENDERBUFFER_WIDTH`,36163,`RENDERBUFFER_HEIGHT`,36164,`RENDERBUFFER_INTERNAL_FORMAT`,36176,`RENDERBUFFER_RED_SIZE`,36177,`RENDERBUFFER_GREEN_SIZE`,36178,`RENDERBUFFER_BLUE_SIZE`,36179,`RENDERBUFFER_ALPHA_SIZE`,36180,`RENDERBUFFER_DEPTH_SIZE`,36181,`RENDERBUFFER_STENCIL_SIZE`,36048,`FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE`,36049,`FRAMEBUFFER_ATTACHMENT_OBJECT_NAME`,36050,`FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL`,36051,`FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE`,36064,`COLOR_ATTACHMENT0`,36096,`DEPTH_ATTACHMENT`,36128,`STENCIL_ATTACHMENT`,33306,`DEPTH_STENCIL_ATTACHMENT`,0,`NONE`,36053,`FRAMEBUFFER_COMPLETE`,36054,`FRAMEBUFFER_INCOMPLETE_ATTACHMENT`,36055,`FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT`,36057,`FRAMEBUFFER_INCOMPLETE_DIMENSIONS`,36061,`FRAMEBUFFER_UNSUPPORTED`,36006,`FRAMEBUFFER_BINDING`,36007,`RENDERBUFFER_BINDING`,34024,`MAX_RENDERBUFFER_SIZE`,1286,`INVALID_FRAMEBUFFER_OPERATION`,37440,`UNPACK_FLIP_Y_WEBGL`,37441,`UNPACK_PREMULTIPLY_ALPHA_WEBGL`,37442,`CONTEXT_LOST_WEBGL`,37443,`UNPACK_COLORSPACE_CONVERSION_WEBGL`,37444,`BROWSER_DEFAULT_WEBGL`,`WebGLRenderingContextBase`,`PPn!n"J4#9n$4%n&4'9n(4)9n*4+Pn,2-$1.Pn/20n122$13Pn420n526&27$18Pn92:Pn;,J2<$1=Pn>2:Pn?,J2@$1APnB2:PnC,J2D$1EPnF2:PnG,J2-$1HPnI2JnK2LnM2NnO2P$1QPnR2S$1TPnU2VnW2X$1YPnZ2[n\\2]$1^Pn_2\`na2bnc2dne2f$1gPnh2:ni1jPnk2l$1mPnn2Jno2Lnp2Nnq2P$1rPns2t$1uPnv2w$1xPny2Jnz2Ln{2Nn|2P$1}Pn~22$1Pn2:n2n2n
2n2n2n2n2$1Pn2:n2n2n2n2n2n2n2$1Pn1Pn1Pn1\xA0Pn¡1¢Pn£2¤Pn¥,J1¦Pn§1¨Pn©2S$1ªPPn«,J2<$1¬PPn,J2@$1®PPn¯,J20$1°PPn±,J2D$1²PPn³,J22$1´PPnµ,J2-$1¶Pn·2¸$1¹Pnº2»$1¼Pn½2¾n¿2À$1ÁPnÂ20nÃ22$1ÄPnÅ2Æ$1ÇPnÈ26$1ÉPnÊ2SnË2ÌnÍ2Î$1ÏPnÐ2SnÑ2ÎnÒ2¤nÓ2Ô$1ÕPnÖ2Æ$1×PnØ26$1ÙP$1ÚP$1ÛPnÜ2:nÝ2Þnß2àPná,J2D$1âPnã2:nä2Þnå2æPnç,J2-nè2$1éPnê2S$1ëPnì2:$1íPnî20nï26Pnð,J1ñPnò20nó26Pnô,J1õPnö20Pn÷F,J1øPnù20&27nú1ûPnü2:ný2þ"1ÿPPnĀ,J1āPnĂ1ăP&27"1ĄP.ą2ĆPnć,J1ĄP.Ĉ2ĆPnĉ,J1ĄP.Ċ2ĆPnċ,J1ĄP.Č2ĆPnč,J1ĄP.Ď2ĆPnď,J1ĄP.Đ2ĆPnđ,J1ĄP.Ē2ĆPnē,J1ĄP.Ĕ2ĆPnĕ,J1ĄP.Ė2ĆPnė,J1ĄP.Ę2ĆPnę,J1ĄP.Ě2ĆPně,J1ĄP.Ĝ2ĆPnĝ,J1ĄP.Ğ2ĆPnğ,J1ĄP.Ġ2ĆPnġ,J1ĄP.Ģ2ĆPnģ,J1ĄP.Ĥ2ĆPnĥ,J1ĄP.Ħ2ĆPnħ,J1ĄP.Ĩ2ĆPnĩ,J1ĄP.Ī2ĆPnī,J1ĄP.Ĭ2ĆPnĭ,J1ĄP.Į2ĆPnį,J1ĄP.İ2ĆPnı,J1ĄP.IJ2ĆPnij,J1ĄP.Ĵ2ĆPnĵ,J1ĄP.Ķ2ĆPnķ,J1ĄP.ĸ2ĆPnĹ,J1ĄP.ĺ2ĆPnĻ,J1ĄP.ļ2ĆPnĽ,J1ĄP.ľ2ĆPnĿ,J1ĄP.ŀ2ĆPnŁ,J1ĄP.ł2ĆPnŃ,J1ĄP.ń2ĆPnŅ,J1ĄP.ņ2ĆPnŇ,J1ĄP.ň2ĆPnʼn,J1ĄPnŊ2:nŋ2ÞnŌ2þ"1ōPnŎ2þ"1ŏPnŐ20P&,J1őPnŒ20nœ2þ"1ŔPnŕ2:nŖ2þ"1ŗPnŘ22P&,J1řPnŚ22nś2þ"1ŜPnŝ2Şnş2ŠPnš,J1ŢPnţ22P&,J1ŤPP&F,J1ťPnŦ2:nŧ2þ"1ŨPnũ20nŪ2ū"1ŬPnŭ20&27PnŮ,J1ůPnŰ26nű2þ"1ŲPnų26nŴ2þnŵ1ŶPnŷ2:nŸ2S$1ŹPPnź,J2<nŻ1żP)1ŽPnž2Ænſ1ƀPPnƁ,J2@nƂ1ƃPPnƄ,J20nƅ1ƆPPnƇ,J2Dnƈ1ƉPPnƊ,J22nƋ1ƌPPnƍ,J2-nƎ1ƏPnƐ2$1ƑPnƒ20$1ƓPnƔ2þPnƕnƖJ2Ɨ$1ƘPnƙ2ƚnƛ2Ɯ$1ƝPnƞ2:nƟ2nƠ2nơ2$1ƢPnƣ2Ƥnƥ2Ʀ$1ƧPnƨ2nƩ2nƪ2nƫ2$1ƬPnƭ22&2Ʈ$1ƯPnư2¸nƱ2ƲnƳ2l$1ƴPnƵ2ƶnƷ2¸nƸ2Ʋnƹ2l$1ƺPnƻ2l$1ƼPnƽ2ƶnƾ2l$1ƿPnǀ2ǁnǂ2ǃnDŽ2Dž$1džPnLJ2ƶnLj2ǁnlj2ǃnNJ2Dž$1NjPnnj2:nǍ2þnǎ2Ɨ$1ǏPnǐ2:nǑ2þnǒ2Ɨ$1ǓPPnǔ,J2ūnǕ2$1ǖPPnǗ,J2ūnǘ2$1ǙPPnǚ,J2ūnǛ2nǜ2$1ǝPPnǞ,J2ūnǟ2nǠ2$1ǡPPnǢ,J2ūnǣ2nǤ2nǥ2Ǧ$1ǧPPnǨ,J2ūnǩ2nǪ2nǫ2Ǧ$1ǬPPnǭ,J2ūnǮ2nǯ2nǰ2ǦnDZ2Dz$1dzPPnǴ,J2ūnǵ2nǶ2nǷ2ǦnǸ2Dz$1ǹPPnǺ,J20$1ǻPnǼ20$1ǽPnǾ26nǿ2$1ȀPnȁ26nȂ2ȃ$1ȄPnȅ26nȆ2nȇ2$1ȈPnȉ26nȊ2ȃ$1ȋPnȌ26nȍ2nȎ2nȏ2Ǧ$1ȐPnȑ26nȒ2ȃ$1ȓPnȔ26nȕ2nȖ2nȗ2ǦnȘ2Dz$1șPnȚ26nț2ȃ$1ȜPnȝ26nȞ2ȟnȠ2¤nȡ2Ȣnȣ2Ȥnȥ2Ô$1ȦPnȧ2nȨ2nȩ2nȪ2$1ȫ.Ȭ4ȭ9.Ȯ4ȯ9.Ȱ4ȱ9.Ȳ4ȳ9.ȴ4ȵ9.ȶ4ȷ9.ȸ4ȹ9.Ⱥ4Ȼ9.ȼ4Ƚ9.Ⱦ4ȿ9.ɀ4Ɂ9.ɂ4Ƀ9.Ʉ4Ʌ9.Ɇ4ɇ9.Ɉ4ɉ9.Ɋ4ɋ9.Ɍ4ɍ9.Ɏ4ɏ9.ɐ4ɑ9.ɒ4ɓ9.ɔ4ɕ9.ɖ4ɗ9.ɘ4ə9.ɚ4ɛ9.ɜ4ɝ9.ɞ4ɟ9.ɠ4ɡ9.ɢ4ɣ9.ɤ4ɥ9.ɦ4ɧ9.ɨ4ɩ9.ɪ4ɫ9.ɬ4ɭ9.ɮ4ɯ9.ɰ4ɱ9.ɲ4ɳ9.ɴ4ɵ9.ɶ4ɷ9.ɸ4ɹ9.ɺ4ɻ9.ɼ4ɽ9.ɾ4ɿ9.ʀ4ʁ9.ʂ4ʃ9.ʄ4ʅ9.ʆ4ʇ9.ʈ4ʉ9.ʊ4ʋ9.ʌ4ʍ9.ʎ4ʏ9.ʐ4ʑ9.ʒ4ʓ9.ʔ4ʕ9.ʖ4ʗ9.ʘ4ʙ9.ʚ4ʛ9.ʜ4ʝ9.ʞ4ʟ9.ʠ4ʡ9.ʢ4ʣ9.ʤ4ʥ9.ʦ4ʧ9.ʨ4ʩ9.ʪ4ʫ9.ʬ4ʭ9.ʮ4ʯ9.ʰ4ʱ9.ʲ4ʳ9.ʴ4ʵ9.ʶ4ʷ9.ʸ4ʹ9.ʺ4ʻ9.ʼ4ʽ9.ʾ4ʿ9.ˀ4ˁ9.˂4˃9.˄4˅9.ˆ4ˇ9.ˈ4ˉ9.ˊ4ˋ9.ˌ4ˍ9.ˎ4ˏ9.ː4ˑ9.˒4˓9.˔4˕9.˖4˗9.˘4˙9.˚4˛9.˜4˝9.˞4˟9.ˠ4ˡ9.ˢ4ˣ9.ˤ4˥9.˦4˧9.˨4˩9.˪4˫9.ˬ4˭9.ˮ4˯9.˰4˱9.˲4˳9.˴4˵9.˶4˷9.˸4˹9.˺4˻9.˼4˽9.˾4˿9.̀4́9.̂4̃9.̄4̅9.̆4̇9.̈4̉9.̊4̋9.̌4̍9.̎4̏9.̐4̑9.̒4̓9.̔4̕9.̖4̗9.̘4̙9.̚4̛9.̜4̝9.̞4̟9.̠4̡9.̢4̣9.̤4̥9.̦4̧9.̨4̩9.̪4̫9.̬4̭9.̮4̯9.̰4̱9.̲4̳9.̴4̵9.̶4̷9.̸4̹9.̺4̻9.̼4̽9.̾4̿9.̀4́9.͂4̓9.̈́4ͅ9.͆4͇9.͈4͉9.͊4͋9.͌4͍9.͎4͏9.͐4͑9.͒4͓9.͔4͕9.͖4͗9.͘4͙9.͚4͛9.͜4͝9.͞4͟9.͠4͡9.͢4ͣ9.ͤ4ͥ9.ͦ4ͧ9.ͨ4ͩ9.ͪ4ͫ9.ͬ4ͭ9.ͮ4ͯ9.Ͱ4ͱ9.Ͳ4ͳ9.ʹ4͵9.Ͷ4ͷ9.49.ͺ4ͻ9.ͼ4ͽ9.;4Ϳ9.49.49.΄4΅9.Ά4·9.Έ4Ή9.Ί49.Ό49.Ύ4Ώ9.ΐ4Α9.Β4Γ9.Δ4Ε9.Ζ4Η9.Θ4Ι9.Κ4Λ9.Μ4Ν9.Ξ4Ο9.Π4Ρ9.4Σ9.Τ4Υ9.Φ4Χ9.Ψ4Ω9.Ϊ4Ϋ9.ά4έ9.ή4ί9.ΰ4α9.β4γ9.δ4ε9.ζ4η9.θ4ι9.κ4λ9.μ4ν9.ξ4ο9.π4ρ9.ς4σ9.τ4υ9.φ4χ9.ψ4ω9.ϊ4ϋ9.ό4ύ9.ώ4Ϗ9.ϐ4ϑ9.ϒ4ϓ9.ϔ4ϕ9.ϖ4ϗ9.Ϙ4ϙ9.Ϛ4ϛ9.Ϝ4ϝ9.Ϟ4ϟ9.Ϡ4ϡ9.Ϣ4ϣ9.Ϥ4ϥ9.Ϧ4ϧ9.Ϩ4ϩ9.Ϫ4ϫ9.Ϭ4ϭ9.Ϯ4ϯ9.ϰ4ϱ9.ϲ4ϳ9.ϴ4ϵ9.϶4Ϸ9.ϸ4Ϲ9.Ϻ4ϻ9.ϼ4Ͻ9.Ͼ4Ͽ9.Ѐ4Ё9.Ђ4Ѓ9.Є4Ѕ9.І4Ї9.Ј4Љ9.Њ4Ћ9.Ќ4Ѝ9.Ў4Џ9.А4Б9.В4Г9.Д4Е9.Ж4З9.И4Й9.К4Л9.М4Н9.О4П9.Р4С9.Т4У9.Ф4Х9.Ц4Ч9.Ш4Щ9.Ъ4Ы9.Ь4Э9.Ю4Я9.а4б9.в4г9.д4е9.ж4з9.и4й9.к4л9.м4н9.о4п9.р4с9.т4у9.ф4х9.ц4ч9.ш4щ9.ъ4ы9.ь4э9.ю4я9.ѐ4ё9.ђ4ѓ9.є4ѕ9.і4ї9.ј4љ9.њ4ћ9.ќ4ѝ9.ў4џ9.Ѡ4ѡ9.Ѣ4ѣ9.Ѥ4ѥ9.Ѧ4ѧ9.Ѩ4ѩ9.Ѫ4ѫ9.Ѭ4ѭ9.Ѯ4ѯ9.Ѱ4ѱ9.Ѳ4ѳ9.Ѵ4ѵ9.Ѷ4ѷ9.Ѹ4ѹ9.Ѻ4ѻ9.Ѽ4ѽ9MwѾy`],zc=[()=>J,`target`,()=>Td,`size`,()=>J,`usage`,`bufferData`,()=>J,()=>Ed,`data`,()=>J,()=>J,()=>zu,`offset`,()=>Ed,`bufferSubData`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>X,`border`,()=>Dd,()=>Od,`compressedTexImage2D`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>q,()=>q,()=>J,`format`,()=>Dd,()=>Od,`compressedTexSubImage2D`,()=>X,`x`,()=>X,`y`,()=>q,()=>q,()=>J,()=>J,`type`,()=>Dd,()=>Od,`pixels`,`readPixels`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>Od,`texImage2D`,()=>J,()=>X,()=>X,()=>J,()=>J,()=>kd,`source`,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>Od,`texSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>J,()=>J,()=>kd,()=>Sd,`location`,()=>wd,`v`,`uniform1fv`,()=>Sd,()=>Ad,`uniform1iv`,()=>Sd,()=>wd,`uniform2fv`,()=>Sd,()=>Ad,`uniform2iv`,()=>Sd,()=>wd,`uniform3fv`,()=>Sd,()=>Ad,`uniform3iv`,()=>Sd,()=>wd,`uniform4fv`,()=>Sd,()=>Ad,`uniform4iv`,()=>Sd,()=>Ru,`transpose`,()=>wd,`value`,`uniformMatrix2fv`,()=>Sd,()=>Ru,()=>wd,`uniformMatrix3fv`,()=>Sd,()=>Ru,()=>wd,`uniformMatrix4fv`,`WebGLRenderingContextOverloads`,`PPn!2"n#2$n%2&$1'Pn(2"Pn),J2*n+2&$1'Pn,2"n-2.n/2*$10Pn12"n223n425n627n829n:2;n=o<"2*$1>Pn?2"n@23nA2BnC2DnE27nF29nG2HnJoI"2*$1KPnL2MnN2OnP27nQ29nR2HnS2TPnVoU",J2W$1XPnY2"nZ23n[25n\\27n]29n^2;n_2Hn\`2TPnboa",J2W$1cPnd2"ne23nf25ng2Hnh2Tni2j$1cPnk2"nl23nm2Bnn2Dno27np29nq2Hnr2TPntos",J2W$1uPnv2"nw23nx2Bny2Dnz2Hn{2Tn|2j$1uPPn},J2~n2$1PPn,J2~n2$1PPn
,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2$1PPn,J2~n2n2$1PPn,J2~n2n2$1\xA0PPn¡,J2~n¢2n£2$1¤Mw¥y`],Bc=[()=>J,`target`,()=>jd,`query`,`beginQuery`,()=>J,`primitiveMode`,`beginTransformFeedback`,()=>J,()=>Y,`index`,()=>Mu,`buffer`,`bindBufferBase`,()=>J,()=>Y,()=>Mu,()=>zu,`offset`,()=>Td,`size`,`bindBufferRange`,()=>Y,`unit`,()=>Md,`sampler`,`bindSampler`,()=>J,()=>Nd,`tf`,`bindTransformFeedback`,()=>Pd,`array`,`bindVertexArray`,()=>X,`srcX0`,()=>X,`srcY0`,()=>X,`srcX1`,()=>X,`srcY1`,()=>X,`dstX0`,()=>X,`dstY0`,()=>X,`dstX1`,()=>X,`dstY1`,()=>Lu,`mask`,()=>J,`filter`,`blitFramebuffer`,()=>J,()=>X,`drawbuffer`,()=>Cd,`depth`,()=>X,`stencil`,`clearBufferfi`,()=>J,()=>X,()=>wd,`values`,`srcOffset`,`clearBufferfv`,()=>J,()=>X,()=>Ad,`clearBufferiv`,()=>J,()=>X,()=>Fd,`clearBufferuiv`,()=>Id,`sync`,()=>Lu,`flags`,()=>Ld,`timeout`,()=>J,`clientWaitSync`,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>q,()=>X,`border`,()=>q,`imageSize`,()=>zu,`compressedTexImage3D`,()=>J,()=>X,()=>J,()=>q,()=>q,()=>q,()=>X,()=>Dd,()=>Od,`srcData`,()=>Y,`srcLengthOverride`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>X,`zoffset`,()=>q,()=>q,()=>q,()=>J,`format`,()=>q,()=>zu,`compressedTexSubImage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>Dd,()=>Od,()=>Y,()=>J,`readTarget`,()=>J,`writeTarget`,()=>zu,`readOffset`,()=>zu,`writeOffset`,()=>Td,`copyBufferSubData`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>X,`x`,()=>X,`y`,()=>q,()=>q,`copyTexSubImage3D`,()=>jd,`createQuery`,()=>Md,`createSampler`,()=>Nd,`createTransformFeedback`,()=>Pd,`createVertexArray`,()=>jd,`deleteQuery`,()=>Md,`deleteSampler`,()=>Id,`deleteSync`,()=>Nd,`deleteTransformFeedback`,()=>Pd,`vertexArray`,`deleteVertexArray`,()=>J,`mode`,()=>X,`first`,()=>q,`count`,()=>q,`instanceCount`,`drawArraysInstanced`,()=>J,`buffers`,`drawBuffers`,()=>J,()=>q,()=>J,`type`,()=>zu,()=>q,`drawElementsInstanced`,()=>J,()=>Y,`start`,()=>Y,`end`,()=>q,()=>J,()=>zu,`drawRangeElements`,()=>J,`endQuery`,`endTransformFeedback`,()=>J,`condition`,()=>Lu,()=>Id,`fenceSync`,()=>J,()=>J,`attachment`,()=>Fu,`texture`,()=>X,()=>X,`layer`,`framebufferTextureLayer`,()=>Au,`program`,()=>Y,`uniformBlockIndex`,`getActiveUniformBlockName`,()=>Au,()=>Y,()=>J,`pname`,`getActiveUniformBlockParameter`,()=>Au,()=>Y,`uniformIndices`,()=>J,`getActiveUniforms`,()=>J,()=>zu,`srcByteOffset`,()=>Dd,()=>Od,`dstBuffer`,`dstOffset`,()=>Y,`length`,`getBufferSubData`,()=>Au,`name`,()=>X,`getFragDataLocation`,()=>J,()=>Y,`getIndexedParameter`,()=>J,()=>J,()=>J,`getInternalformatParameter`,()=>J,()=>J,()=>jd,`getQuery`,()=>jd,()=>J,`getQueryParameter`,()=>Md,()=>J,`getSamplerParameter`,()=>Id,()=>J,`getSyncParameter`,()=>Au,()=>Y,()=>Bu,`getTransformFeedbackVarying`,()=>Au,`uniformBlockName`,()=>Y,`getUniformBlockIndex`,()=>Au,`uniformNames`,()=>Y,`getUniformIndices`,()=>J,()=>J,`attachments`,`invalidateFramebuffer`,()=>J,()=>J,()=>X,()=>X,()=>q,()=>q,`invalidateSubFramebuffer`,()=>jd,()=>Ru,`isQuery`,()=>Md,()=>Ru,`isSampler`,()=>Id,()=>Ru,`isSync`,()=>Nd,()=>Ru,`isTransformFeedback`,()=>Pd,()=>Ru,`isVertexArray`,`pauseTransformFeedback`,()=>J,`src`,`readBuffer`,()=>J,()=>q,`samples`,()=>J,()=>q,()=>q,`renderbufferStorageMultisample`,`resumeTransformFeedback`,()=>Md,()=>J,()=>Cd,`param`,`samplerParameterf`,()=>Md,()=>J,()=>X,`samplerParameteri`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>zu,`pboOffset`,`texImage3D`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>kd,`source`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>Od,()=>J,()=>X,()=>X,()=>q,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>Od,()=>J,()=>q,`levels`,()=>J,()=>q,()=>q,`texStorage2D`,()=>J,()=>q,()=>J,()=>q,()=>q,()=>q,`texStorage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>zu,`texSubImage3D`,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>kd,()=>J,()=>X,()=>X,()=>X,()=>X,()=>q,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>Od,()=>Au,`varyings`,()=>J,`bufferMode`,`transformFeedbackVaryings`,()=>Sd,`location`,()=>Y,`v0`,`uniform1ui`,()=>Sd,()=>Fd,`data`,()=>Y,`srcLength`,`uniform1uiv`,()=>Sd,()=>Y,()=>Y,`v1`,`uniform2ui`,()=>Sd,()=>Fd,()=>Y,`uniform2uiv`,()=>Sd,()=>Y,()=>Y,()=>Y,`v2`,`uniform3ui`,()=>Sd,()=>Fd,()=>Y,`uniform3uiv`,()=>Sd,()=>Y,()=>Y,()=>Y,()=>Y,`v3`,`uniform4ui`,()=>Sd,()=>Fd,()=>Y,`uniform4uiv`,()=>Au,()=>Y,()=>Y,`uniformBlockBinding`,()=>Sd,()=>Ru,`transpose`,()=>wd,()=>Y,`uniformMatrix2x3fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix2x4fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix3x2fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix3x4fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix4x2fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix4x3fv`,()=>Y,()=>Y,`divisor`,`vertexAttribDivisor`,()=>Y,()=>X,()=>X,()=>X,`z`,()=>X,`w`,`vertexAttribI4i`,()=>Y,()=>Ad,`vertexAttribI4iv`,()=>Y,()=>Y,()=>Y,()=>Y,()=>Y,`vertexAttribI4ui`,()=>Y,()=>Fd,`vertexAttribI4uiv`,()=>Y,()=>X,()=>J,()=>q,`stride`,()=>zu,`vertexAttribIPointer`,()=>Id,()=>Lu,()=>Rd,`waitSync`,3074,`READ_BUFFER`,3314,`UNPACK_ROW_LENGTH`,3315,`UNPACK_SKIP_ROWS`,3316,`UNPACK_SKIP_PIXELS`,3330,`PACK_ROW_LENGTH`,3331,`PACK_SKIP_ROWS`,3332,`PACK_SKIP_PIXELS`,6144,`COLOR`,6145,`DEPTH`,6146,`STENCIL`,6403,`RED`,32849,`RGB8`,32857,`RGB10_A2`,32874,`TEXTURE_BINDING_3D`,32877,`UNPACK_SKIP_IMAGES`,32878,`UNPACK_IMAGE_HEIGHT`,32879,`TEXTURE_3D`,32882,`TEXTURE_WRAP_R`,32883,`MAX_3D_TEXTURE_SIZE`,33640,`UNSIGNED_INT_2_10_10_10_REV`,33e3,`MAX_ELEMENTS_VERTICES`,33001,`MAX_ELEMENTS_INDICES`,33082,`TEXTURE_MIN_LOD`,33083,`TEXTURE_MAX_LOD`,33084,`TEXTURE_BASE_LEVEL`,33085,`TEXTURE_MAX_LEVEL`,32775,`MIN`,32776,`MAX`,33190,`DEPTH_COMPONENT24`,34045,`MAX_TEXTURE_LOD_BIAS`,34892,`TEXTURE_COMPARE_MODE`,34893,`TEXTURE_COMPARE_FUNC`,34917,`CURRENT_QUERY`,34918,`QUERY_RESULT`,34919,`QUERY_RESULT_AVAILABLE`,35041,`STREAM_READ`,35042,`STREAM_COPY`,35045,`STATIC_READ`,35046,`STATIC_COPY`,35049,`DYNAMIC_READ`,35050,`DYNAMIC_COPY`,34852,`MAX_DRAW_BUFFERS`,34853,`DRAW_BUFFER0`,34854,`DRAW_BUFFER1`,34855,`DRAW_BUFFER2`,34856,`DRAW_BUFFER3`,34857,`DRAW_BUFFER4`,34858,`DRAW_BUFFER5`,34859,`DRAW_BUFFER6`,34860,`DRAW_BUFFER7`,34861,`DRAW_BUFFER8`,34862,`DRAW_BUFFER9`,34863,`DRAW_BUFFER10`,34864,`DRAW_BUFFER11`,34865,`DRAW_BUFFER12`,34866,`DRAW_BUFFER13`,34867,`DRAW_BUFFER14`,34868,`DRAW_BUFFER15`,35657,`MAX_FRAGMENT_UNIFORM_COMPONENTS`,35658,`MAX_VERTEX_UNIFORM_COMPONENTS`,35679,`SAMPLER_3D`,35682,`SAMPLER_2D_SHADOW`,35723,`FRAGMENT_SHADER_DERIVATIVE_HINT`,35051,`PIXEL_PACK_BUFFER`,35052,`PIXEL_UNPACK_BUFFER`,35053,`PIXEL_PACK_BUFFER_BINDING`,35055,`PIXEL_UNPACK_BUFFER_BINDING`,35685,`FLOAT_MAT2x3`,35686,`FLOAT_MAT2x4`,35687,`FLOAT_MAT3x2`,35688,`FLOAT_MAT3x4`,35689,`FLOAT_MAT4x2`,35690,`FLOAT_MAT4x3`,35904,`SRGB`,35905,`SRGB8`,35907,`SRGB8_ALPHA8`,34894,`COMPARE_REF_TO_TEXTURE`,34836,`RGBA32F`,34837,`RGB32F`,34842,`RGBA16F`,34843,`RGB16F`,35069,`VERTEX_ATTRIB_ARRAY_INTEGER`,35071,`MAX_ARRAY_TEXTURE_LAYERS`,35076,`MIN_PROGRAM_TEXEL_OFFSET`,35077,`MAX_PROGRAM_TEXEL_OFFSET`,35659,`MAX_VARYING_COMPONENTS`,35866,`TEXTURE_2D_ARRAY`,35869,`TEXTURE_BINDING_2D_ARRAY`,35898,`R11F_G11F_B10F`,35899,`UNSIGNED_INT_10F_11F_11F_REV`,35901,`RGB9_E5`,35902,`UNSIGNED_INT_5_9_9_9_REV`,35967,`TRANSFORM_FEEDBACK_BUFFER_MODE`,35968,`MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS`,35971,`TRANSFORM_FEEDBACK_VARYINGS`,35972,`TRANSFORM_FEEDBACK_BUFFER_START`,35973,`TRANSFORM_FEEDBACK_BUFFER_SIZE`,35976,`TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN`,35977,`RASTERIZER_DISCARD`,35978,`MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS`,35979,`MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS`,35980,`INTERLEAVED_ATTRIBS`,35981,`SEPARATE_ATTRIBS`,35982,`TRANSFORM_FEEDBACK_BUFFER`,35983,`TRANSFORM_FEEDBACK_BUFFER_BINDING`,36208,`RGBA32UI`,36209,`RGB32UI`,36214,`RGBA16UI`,36215,`RGB16UI`,36220,`RGBA8UI`,36221,`RGB8UI`,36226,`RGBA32I`,36227,`RGB32I`,36232,`RGBA16I`,36233,`RGB16I`,36238,`RGBA8I`,36239,`RGB8I`,36244,`RED_INTEGER`,36248,`RGB_INTEGER`,36249,`RGBA_INTEGER`,36289,`SAMPLER_2D_ARRAY`,36292,`SAMPLER_2D_ARRAY_SHADOW`,36293,`SAMPLER_CUBE_SHADOW`,36294,`UNSIGNED_INT_VEC2`,36295,`UNSIGNED_INT_VEC3`,36296,`UNSIGNED_INT_VEC4`,36298,`INT_SAMPLER_2D`,36299,`INT_SAMPLER_3D`,36300,`INT_SAMPLER_CUBE`,36303,`INT_SAMPLER_2D_ARRAY`,36306,`UNSIGNED_INT_SAMPLER_2D`,36307,`UNSIGNED_INT_SAMPLER_3D`,36308,`UNSIGNED_INT_SAMPLER_CUBE`,36311,`UNSIGNED_INT_SAMPLER_2D_ARRAY`,36012,`DEPTH_COMPONENT32F`,36013,`DEPTH32F_STENCIL8`,36269,`FLOAT_32_UNSIGNED_INT_24_8_REV`,33296,`FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE`,33298,`FRAMEBUFFER_ATTACHMENT_RED_SIZE`,33299,`FRAMEBUFFER_ATTACHMENT_GREEN_SIZE`,33300,`FRAMEBUFFER_ATTACHMENT_BLUE_SIZE`,33301,`FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE`,33302,`FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE`,33303,`FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE`,33304,`FRAMEBUFFER_DEFAULT`,34042,`UNSIGNED_INT_24_8`,35056,`DEPTH24_STENCIL8`,35863,`UNSIGNED_NORMALIZED`,36006,`DRAW_FRAMEBUFFER_BINDING`,36008,`READ_FRAMEBUFFER`,36009,`DRAW_FRAMEBUFFER`,36010,`READ_FRAMEBUFFER_BINDING`,36011,`RENDERBUFFER_SAMPLES`,36052,`FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER`,36063,`MAX_COLOR_ATTACHMENTS`,36065,`COLOR_ATTACHMENT1`,36066,`COLOR_ATTACHMENT2`,36067,`COLOR_ATTACHMENT3`,36068,`COLOR_ATTACHMENT4`,36069,`COLOR_ATTACHMENT5`,36070,`COLOR_ATTACHMENT6`,36071,`COLOR_ATTACHMENT7`,36072,`COLOR_ATTACHMENT8`,36073,`COLOR_ATTACHMENT9`,36074,`COLOR_ATTACHMENT10`,36075,`COLOR_ATTACHMENT11`,36076,`COLOR_ATTACHMENT12`,36077,`COLOR_ATTACHMENT13`,36078,`COLOR_ATTACHMENT14`,36079,`COLOR_ATTACHMENT15`,36182,`FRAMEBUFFER_INCOMPLETE_MULTISAMPLE`,36183,`MAX_SAMPLES`,5131,`HALF_FLOAT`,33319,`RG`,33320,`RG_INTEGER`,33321,`R8`,33323,`RG8`,33325,`R16F`,33326,`R32F`,33327,`RG16F`,33328,`RG32F`,33329,`R8I`,33330,`R8UI`,33331,`R16I`,33332,`R16UI`,33333,`R32I`,33334,`R32UI`,33335,`RG8I`,33336,`RG8UI`,33337,`RG16I`,33338,`RG16UI`,33339,`RG32I`,33340,`RG32UI`,34229,`VERTEX_ARRAY_BINDING`,36756,`R8_SNORM`,36757,`RG8_SNORM`,36758,`RGB8_SNORM`,36759,`RGBA8_SNORM`,36764,`SIGNED_NORMALIZED`,36662,`COPY_READ_BUFFER`,36663,`COPY_WRITE_BUFFER`,36662,`COPY_READ_BUFFER_BINDING`,36663,`COPY_WRITE_BUFFER_BINDING`,35345,`UNIFORM_BUFFER`,35368,`UNIFORM_BUFFER_BINDING`,35369,`UNIFORM_BUFFER_START`,35370,`UNIFORM_BUFFER_SIZE`,35371,`MAX_VERTEX_UNIFORM_BLOCKS`,35373,`MAX_FRAGMENT_UNIFORM_BLOCKS`,35374,`MAX_COMBINED_UNIFORM_BLOCKS`,35375,`MAX_UNIFORM_BUFFER_BINDINGS`,35376,`MAX_UNIFORM_BLOCK_SIZE`,35377,`MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS`,35379,`MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS`,35380,`UNIFORM_BUFFER_OFFSET_ALIGNMENT`,35382,`ACTIVE_UNIFORM_BLOCKS`,35383,`UNIFORM_TYPE`,35384,`UNIFORM_SIZE`,35386,`UNIFORM_BLOCK_INDEX`,35387,`UNIFORM_OFFSET`,35388,`UNIFORM_ARRAY_STRIDE`,35389,`UNIFORM_MATRIX_STRIDE`,35390,`UNIFORM_IS_ROW_MAJOR`,35391,`UNIFORM_BLOCK_BINDING`,35392,`UNIFORM_BLOCK_DATA_SIZE`,35394,`UNIFORM_BLOCK_ACTIVE_UNIFORMS`,35395,`UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES`,35396,`UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER`,35398,`UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER`,4294967295,`INVALID_INDEX`,37154,`MAX_VERTEX_OUTPUT_COMPONENTS`,37157,`MAX_FRAGMENT_INPUT_COMPONENTS`,37137,`MAX_SERVER_WAIT_TIMEOUT`,37138,`OBJECT_TYPE`,37139,`SYNC_CONDITION`,37140,`SYNC_STATUS`,37141,`SYNC_FLAGS`,37142,`SYNC_FENCE`,37143,`SYNC_GPU_COMMANDS_COMPLETE`,37144,`UNSIGNALED`,37145,`SIGNALED`,37146,`ALREADY_SIGNALED`,37147,`TIMEOUT_EXPIRED`,37148,`CONDITION_SATISFIED`,37149,`WAIT_FAILED`,1,`SYNC_FLUSH_COMMANDS_BIT`,35070,`VERTEX_ATTRIB_ARRAY_DIVISOR`,35887,`ANY_SAMPLES_PASSED`,36202,`ANY_SAMPLES_PASSED_CONSERVATIVE`,35097,`SAMPLER_BINDING`,36975,`RGB10_A2UI`,36255,`INT_2_10_10_10_REV`,36386,`TRANSFORM_FEEDBACK`,36387,`TRANSFORM_FEEDBACK_PAUSED`,36388,`TRANSFORM_FEEDBACK_ACTIVE`,36389,`TRANSFORM_FEEDBACK_BINDING`,37167,`TEXTURE_IMMUTABLE_FORMAT`,36203,`MAX_ELEMENT_INDEX`,33503,`TEXTURE_IMMUTABLE_LEVELS`,-1,`TIMEOUT_IGNORED`,37447,`MAX_CLIENT_WAIT_TIMEOUT_WEBGL`,`WebGL2RenderingContextBase`,`PPn!2"n#2$$1%Pn&2'$1(Pn)2"n*2+Pn,,J2-$1.Pn/2"n02+Pn1,J2-n223n425$16Pn728Pn9,J2:$1;Pn<2"Pn=,J2>$1?PPn@,J2A$1BPnC2DnE2FnG2HnI2JnK2LnM2NnO2PnQ2RnS2TnU2V$1WPnX2-nY2Zn[2\\n]2^$1_Pn\`2-na2Znb2c'2d8$1ePnf2-ng2Znh2c'2d8$1iPnj2-nk2Znl2c'2d8$1mPnn2onp2qnr2snt1uPnv2"nw2xny2zn{2|n}2~n2\\n2n2n23$1
Pn2"n2xn2zn2|n2~n2\\n2no"2'2d8n28$1
Pn2"n2xn2n2n2n2|n2~n2\\n2n2n\xA023$1¡Pn¢2"n£2xn¤2n¥2n¦2n§2|n¨2~n©2\\nª2n¬o«"2'2d8n28$1¡Pn®2¯n°2±n²2³n´2µn¶25$1·Pn¸2"n¹2xnº2n»2n¼2n½2¾n¿2ÀnÁ2|nÂ2~$1ÃPnÄ1ÅPnÆ1ÇPnÈ1ÉPnÊ1ËPPnÌ,J2$$1ÍPPnÎ,J2:$1ÏPPnÐ,J2o$1ÑPPnÒ,J2>$1ÓPPnÔ,J2Õ$1ÖPn×2ØnÙ2ÚnÛ2ÜnÝ2Þ$1ßPnàF2á$1âPnã2Ønä2Ünå2ænç23nè2Þ$1éPnê2Ønë2ìní2înï2Ünð2ænñ23$1òPnó2"$1ôP$1õPnö2÷nø2qPnù,J1úPnû2"nü2ýPnþ,J2ÿnĀ2xnā2Ă$1ăPnĄ2ąnĆ2ćP&,J1ĈPnĉ2ąnĊ2ćnċ2Č"1čPnĎ2ąnďF2Đnđ2Č"1ĒPnē2"nĔ2ĕnėoĖ"2Ę'2ę8nĚ2ě8$1ĜPnĝ2ą&2Ğnğ1ĠPnġ2"nĢ2+"1ģPnĤ2"nĥ2znĦ2Č"1ħPnĨ2"nĩ2ČPnĪ,J1īPnĬ2$nĭ2Č"1ĮPnį2:nİ2Č"1ıPnIJ2onij2Č"1ĴPnĵ2ąnĶ2+Pnķ,J1ĸPnĹ2ą&2ĺnĻ1ļPnĽ2ą&F2ľPnĿF,J1ŀPnŁ2"nłF2Ń$1ńPnŅ2"nņF2ŃnŇ2¾nň2Ànʼn2|nŊ2~$1ŋPPnŌ,J2$nō1ŎPPnŏ,J2:nŐ1őPPnŒ,J2onœ1ŔPPnŕ,J2>nŖ1ŗPPnŘ,J2Õnř1ŚP$1śPnŜ2ŝ$1ŞPnş2"nŠ2šnŢ2znţ2|nŤ2~$1ťP$1ŦPnŧ2:nŨ2Čnũ2Ū$1ūPnŬ2:nŭ2ČnŮ2Ū$1ůPnŰ2"nű2xnŲ2znų2|nŴ2~nŵ2\\nŶ2nŷ2nŸ2ænŹ2ź$1ŻPnż2"nŽ2xnž2znſ2|nƀ2~nƁ2\\nƂ2nƃ2nƄ2ænƅ2Ɔ$1ŻPnƇ2"nƈ2xnƉ2znƊ2|nƋ2~nƌ2\\nƍ2nƎ2nƏ2æPnƑoƐ",J2$1ŻPnƒ2"nƓ2xnƔ2znƕ2|nƖ2~nƗ2\\nƘ2nƙ2nƚ2ænƜoƛ"2'2d$1ŻPnƝ2"nƞ2ƟnƠ2znơ2|nƢ2~$1ƣPnƤ2"nƥ2ƟnƦ2znƧ2|nƨ2~nƩ2\\$1ƪPnƫ2"nƬ2xnƭ2nƮ2nƯ2nư2|nƱ2~nƲ2\\nƳ2nƴ2ænƵ2ź$1ƶPnƷ2"nƸ2xnƹ2nƺ2nƻ2nƼ2|nƽ2~nƾ2\\nƿ2nǀ2ænǁ2Ɔ$1ƶPnǂ2"nǃ2xnDŽ2nDž2ndž2nLJ2|nLj2~nlj2\\nNJ2nNj2æPnǍonj",J2'2d8$1ƶPnǎ2ą&F2Ǐnǐ2Ǒ$1ǒPPnǓ,J2ǔnǕ2ǖ$1ǗPPnǘ,J2ǔnǙ2ǚ'2d8nǛ2ǜ8$1ǝPPnǞ,J2ǔnǟ2ǖnǠ2ǡ$1ǢPPnǣ,J2ǔnǤ2ǚ'2d8nǥ2ǜ8$1ǦPPnǧ,J2ǔnǨ2ǖnǩ2ǡnǪ2ǫ$1ǬPPnǭ,J2ǔnǮ2ǚ'2d8nǯ2ǜ8$1ǰPPnDZ,J2ǔnDz2ǖndz2ǡnǴ2ǫnǵ2Ƕ$1ǷPPnǸ,J2ǔnǹ2ǚ'2d8nǺ2ǜ8$1ǻPnǼ2ąnǽ2ćnǾ2ǿ$1ǿPPnȀ,J2ǔnȁ2Ȃnȃ2ǚ'2d8nȄ2ǜ8$1ȅPPnȆ,J2ǔnȇ2ȂnȈ2ǚ'2d8nȉ2ǜ8$1ȊPPnȋ,J2ǔnȌ2Ȃnȍ2ǚ'2d8nȎ2ǜ8$1ȏPPnȐ,J2ǔnȑ2ȂnȒ2ǚ'2d8nȓ2ǜ8$1ȔPPnȕ,J2ǔnȖ2Ȃnȗ2ǚ'2d8nȘ2ǜ8$1șPPnȚ,J2ǔnț2ȂnȜ2ǚ'2d8nȝ2ǜ8$1ȞPnȟ2+nȠ2ȡ$1ȢPnȣ2+nȤ2¾nȥ2ÀnȦ2ȧnȨ2ȩ$1ȪPnȫ2+nȬ2c$1ȭPnȮ2+nȯ2¾nȰ2Ànȱ2ȧnȲ2ȩ$1ȳPnȴ2+nȵ2c$1ȶPnȷ2+nȸ25nȹ2ænȺ2Ȼnȼ23$1ȽPnȾ2onȿ2qnɀ2s$1Ɂ.ɂ4Ƀ9.Ʉ4Ʌ9.Ɇ4ɇ9.Ɉ4ɉ9.Ɋ4ɋ9.Ɍ4ɍ9.Ɏ4ɏ9.ɐ4ɑ9.ɒ4ɓ9.ɔ4ɕ9.ɖ4ɗ9.ɘ4ə9.ɚ4ɛ9.ɜ4ɝ9.ɞ4ɟ9.ɠ4ɡ9.ɢ4ɣ9.ɤ4ɥ9.ɦ4ɧ9.ɨ4ɩ9.ɪ4ɫ9.ɬ4ɭ9.ɮ4ɯ9.ɰ4ɱ9.ɲ4ɳ9.ɴ4ɵ9.ɶ4ɷ9.ɸ4ɹ9.ɺ4ɻ9.ɼ4ɽ9.ɾ4ɿ9.ʀ4ʁ9.ʂ4ʃ9.ʄ4ʅ9.ʆ4ʇ9.ʈ4ʉ9.ʊ4ʋ9.ʌ4ʍ9.ʎ4ʏ9.ʐ4ʑ9.ʒ4ʓ9.ʔ4ʕ9.ʖ4ʗ9.ʘ4ʙ9.ʚ4ʛ9.ʜ4ʝ9.ʞ4ʟ9.ʠ4ʡ9.ʢ4ʣ9.ʤ4ʥ9.ʦ4ʧ9.ʨ4ʩ9.ʪ4ʫ9.ʬ4ʭ9.ʮ4ʯ9.ʰ4ʱ9.ʲ4ʳ9.ʴ4ʵ9.ʶ4ʷ9.ʸ4ʹ9.ʺ4ʻ9.ʼ4ʽ9.ʾ4ʿ9.ˀ4ˁ9.˂4˃9.˄4˅9.ˆ4ˇ9.ˈ4ˉ9.ˊ4ˋ9.ˌ4ˍ9.ˎ4ˏ9.ː4ˑ9.˒4˓9.˔4˕9.˖4˗9.˘4˙9.˚4˛9.˜4˝9.˞4˟9.ˠ4ˡ9.ˢ4ˣ9.ˤ4˥9.˦4˧9.˨4˩9.˪4˫9.ˬ4˭9.ˮ4˯9.˰4˱9.˲4˳9.˴4˵9.˶4˷9.˸4˹9.˺4˻9.˼4˽9.˾4˿9.̀4́9.̂4̃9.̄4̅9.̆4̇9.̈4̉9.̊4̋9.̌4̍9.̎4̏9.̐4̑9.̒4̓9.̔4̕9.̖4̗9.̘4̙9.̚4̛9.̜4̝9.̞4̟9.̠4̡9.̢4̣9.̤4̥9.̦4̧9.̨4̩9.̪4̫9.̬4̭9.̮4̯9.̰4̱9.̲4̳9.̴4̵9.̶4̷9.̸4̹9.̺4̻9.̼4̽9.̾4̿9.̀4́9.͂4̓9.̈́4ͅ9.͆4͇9.͈4͉9.͊4͋9.͌4͍9.͎4͏9.͐4͑9.͒4͓9.͔4͕9.͖4͗9.͘4͙9.͚4͛9.͜4͝9.͞4͟9.͠4͡9.͢4ͣ9.ͤ4ͥ9.ͦ4ͧ9.ͨ4ͩ9.ͪ4ͫ9.ͬ4ͭ9.ͮ4ͯ9.Ͱ4ͱ9.Ͳ4ͳ9.ʹ4͵9.Ͷ4ͷ9.49.ͺ4ͻ9.ͼ4ͽ9.;4Ϳ9.49.49.΄4΅9.Ά4·9.Έ4Ή9.Ί49.Ό49.Ύ4Ώ9.ΐ4Α9.Β4Γ9.Δ4Ε9.Ζ4Η9.Θ4Ι9.Κ4Λ9.Μ4Ν9.Ξ4Ο9.Π4Ρ9.4Σ9.Τ4Υ9.Φ4Χ9.Ψ4Ω9.Ϊ4Ϋ9.ά4έ9.ή4ί9.ΰ4α9.β4γ9.δ4ε9.ζ4η9.θ4ι9.κ4λ9.μ4ν9.ξ4ο9.π4ρ9.ς4σ9.τ4υ9.φ4χ9.ψ4ω9.ϊ4ϋ9.ό4ύ9.ώ4Ϗ9.ϐ4ϑ9.ϒ4ϓ9.ϔ4ϕ9.ϖ4ϗ9.Ϙ4ϙ9.Ϛ4ϛ9.Ϝ4ϝ9.Ϟ4ϟ9.Ϡ4ϡ9.Ϣ4ϣ9.Ϥ4ϥ9.Ϧ4ϧ9.Ϩ4ϩ9.Ϫ4ϫ9.Ϭ4ϭ9.Ϯ4ϯ9.ϰ4ϱ9.ϲ4ϳ9.ϴ4ϵ9.϶4Ϸ9.ϸ4Ϲ9.Ϻ4ϻ9.ϼ4Ͻ9.Ͼ4Ͽ9.Ѐ4Ё9.Ђ4Ѓ9.Є4Ѕ9.І4Ї9.Ј4Љ9.Њ4Ћ9.Ќ4Ѝ9.Ў4Џ9.А4Б9.В4Г9.Д4Е9.Ж4З9.И4Й9.К4Л9.М4Н9.О4П9.Р4С9.Т4У9.Ф4Х9.Ц4Ч9.Ш4Щ9.Ъ4Ы9.Ь4Э9.Ю4Я9.а4б9.в4г9.д4е9.ж4з9.и4й9.к4л9.м4н9.о4п9.р4с9.т4у9.ф4х9.ц4ч9.ш4щ9.ъ4ы9.ь4э9Mwюy`],Vc=[()=>J,`target`,()=>Td,`size`,()=>J,`usage`,`bufferData`,()=>J,()=>Ed,`srcData`,()=>J,()=>J,()=>Dd,()=>Od,()=>J,`srcOffset`,()=>Y,`length`,()=>J,()=>zu,`dstByteOffset`,()=>Ed,`bufferSubData`,()=>J,()=>zu,()=>Dd,()=>Od,()=>Y,()=>J,()=>X,`level`,()=>J,`internalformat`,()=>q,`width`,()=>q,`height`,()=>X,`border`,()=>q,`imageSize`,()=>zu,`offset`,`compressedTexImage2D`,()=>J,()=>X,()=>J,()=>q,()=>q,()=>X,()=>Dd,()=>Od,()=>Y,`srcLengthOverride`,()=>J,()=>X,()=>X,`xoffset`,()=>X,`yoffset`,()=>q,()=>q,()=>J,`format`,()=>q,()=>zu,`compressedTexSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>Dd,()=>Od,()=>Y,()=>X,`x`,()=>X,`y`,()=>q,()=>q,()=>J,()=>J,`type`,()=>Dd,()=>Od,`dstData`,`readPixels`,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>zu,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>Od,`dstOffset`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>Od,`pixels`,`texImage2D`,()=>J,()=>X,()=>X,()=>J,()=>J,()=>kd,`source`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>zu,`pboOffset`,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>kd,()=>J,()=>X,()=>X,()=>q,()=>q,()=>X,()=>J,()=>J,()=>Dd,()=>Od,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>Od,`texSubImage2D`,()=>J,()=>X,()=>X,()=>X,()=>J,()=>J,()=>kd,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>zu,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>kd,()=>J,()=>X,()=>X,()=>X,()=>q,()=>q,()=>J,()=>J,()=>Dd,()=>Od,()=>Sd,`location`,()=>wd,`data`,()=>Y,`srcLength`,`uniform1fv`,()=>Sd,()=>Ad,()=>Y,`uniform1iv`,()=>Sd,()=>wd,()=>Y,`uniform2fv`,()=>Sd,()=>Ad,()=>Y,`uniform2iv`,()=>Sd,()=>wd,()=>Y,`uniform3fv`,()=>Sd,()=>Ad,()=>Y,`uniform3iv`,()=>Sd,()=>wd,()=>Y,`uniform4fv`,()=>Sd,()=>Ad,()=>Y,`uniform4iv`,()=>Sd,()=>Ru,`transpose`,()=>wd,()=>Y,`uniformMatrix2fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix3fv`,()=>Sd,()=>Ru,()=>wd,()=>Y,`uniformMatrix4fv`,`WebGL2RenderingContextOverloads`,`PPn!2"n#2$n%2&$1'Pn(2"Pn),J2*n+2&$1'Pn,2"n.o-"2*n/2&'20n1228$1'Pn32"n425n62*$17Pn82"n925n;o:"2*'20n<228$17Pn=2"n>2?n@2AnB2CnD2EnF2GnH2InJ2K$1LPnM2"nN2?nO2AnP2CnQ2EnR2GnToS"2*'208nU2V8$1LPnW2"nX2?nY2Zn[2\\n]2Cn^2En_2\`na2Inb2K$1cPnd2"ne2?nf2Zng2\\nh2Cni2Enj2\`nlok"2*'208nm2V8$1cPnn2onp2qnr2Cns2Ent2\`nu2vPnxow",J2y$1zPn{2on|2qn}2Cn~2En2\`n2vn2K$1zPn2on2qn2Cn
2En2\`n2vno"2y'2$1zPn2"n2?n2An2Cn2En2Gn2\`n2vPno",J2$1Pn2"n2?n2An2\`n2vn2$1Pn2"n2?n\xA02An¡2Cn¢2En£2Gn¤2\`n¥2vn¦2§$1Pn¨2"n©2?nª2An«2Cn¬2En2Gn®2\`n¯2vn°2$1Pn±2"n²2?n³2An´2Cnµ2En¶2Gn·2\`n¸2vnºo¹"2*'20$1Pn»2"n¼2?n½2Zn¾2\\n¿2CnÀ2EnÁ2\`nÂ2vPnÄoÃ",J2$1ÅPnÆ2"nÇ2?nÈ2ZnÉ2\\nÊ2\`nË2vnÌ2$1ÅPnÍ2"nÎ2?nÏ2ZnÐ2\\nÑ2CnÒ2EnÓ2\`nÔ2vnÕ2§$1ÅPnÖ2"n×2?nØ2ZnÙ2\\nÚ2CnÛ2EnÜ2\`nÝ2vnÞ2$1ÅPnß2"nà2?ná2Znâ2\\nã2Cnä2Enå2\`næ2vnèoç"2*'20$1ÅPPné,J2ênë2ì'208ní2î8$1ïPPnð,J2ênñ2ì'208nò2î8$1óPPnô,J2ênõ2ì'208nö2î8$1÷PPnø,J2ênù2ì'208nú2î8$1ûPPnü,J2êný2ì'208nþ2î8$1ÿPPnĀ,J2ênā2ì'208nĂ2î8$1ăPPnĄ,J2êną2ì'208nĆ2î8$1ćPPnĈ,J2ênĉ2ì'208nĊ2î8$1ċPPnČ,J2ênč2Ďnď2ì'208nĐ2î8$1đPPnĒ,J2ênē2ĎnĔ2ì'208nĕ2î8$1ĖPPnė,J2ênĘ2Ďnę2ì'208nĚ2î8$1ěMwĜy`],Hc=[()=>Xs,()=>sc,`canvas`,()=>zd,`configuration`,`configure`,()=>zd,`getConfiguration`,()=>Bd,`getCurrentTexture`,`unconfigure`,`GPUCanvasContext`,`PPn!n"J4#9Pn$2%$1&PPn',J1(Pn)1*P$1+Mw,y`],Uc=[`size`,`type`,`arrayBuffer`,`bytes`,`start`,`end`,`contentType`,0,`slice`,()=>Vd,`stream`,`text`,`Blob`,"P'4!9&4\"9P_`1#PW`1$P'2%8'2&8&2'8n(1)PWo*\"1+P&`1,Mw-y"],G=[`bubbles`,`cancelBubble`,`cancelable`,`composed`,()=>W,`currentTarget`,`defaultPrevented`,`eventPhase`,`isTrusted`,`returnValue`,()=>W,`srcElement`,()=>W,`target`,()=>Hd,`timeStamp`,`type`,()=>W,`composedPath`,`initEvent`,`preventDefault`,`stopImmediatePropagation`,`stopPropagation`,0,`NONE`,1,`CAPTURING_PHASE`,2,`AT_TARGET`,3,`BUBBLING_PHASE`,`Event`,`P)4!9)4")4#9)4$9Pn%,J4&9)4'9'4(9)4)9)4*Pn+,J4,9Pn-,J4.9n/409&419Pn2F13P&21)2!8)2#8$14P$15P$16P$17.8499.:4;9.<4=9.>4?9Mw@y`],Wc=[`quality`,`type`,`ImageEncodeOptions`,`P'4!8&4"8Mw#y`],Gc=[()=>yc,()=>bc,()=>xc,()=>Sc,()=>Cc,()=>wc,()=>Tc,()=>Ec,()=>Dc,()=>Oc,()=>Ac,()=>jc,()=>Mc,()=>Nc,()=>Pc,()=>sc,`canvas`,`OffscreenCanvasRenderingContext2D`,`Pn!n"n#n$n%n&n'n(n)n*n+n,n-n.n/n0419Mw2y`],Kc=[`2d`,`bitmaprenderer`,`webgl`,`webgl2`,`webgpu`,`OffscreenRenderingContextId`,`P.!.".#.$.%Jw&y`],qc=[()=>Gc,()=>tc,()=>rc,()=>ic,()=>Hc,`OffscreenRenderingContext`,`Pn!n"n#n$n%Jw&y`],Jc=[()=>G,`contextlost`,()=>G,`contextrestored`,`OffscreenCanvasEventMap`,`Pn!4"n#4$Mw%y`],Yc=[()=>G,`fullscreenchange`,()=>G,`fullscreenerror`,`ElementEventMap`,`Pn!4"n#4$Mw%y`],Xc=[()=>Al,`abort`,()=>jl,`animationcancel`,()=>jl,`animationend`,()=>jl,`animationiteration`,()=>jl,`animationstart`,()=>Ml,`auxclick`,()=>Nl,`beforeinput`,()=>G,`beforematch`,()=>Pl,`beforetoggle`,()=>Fl,`blur`,()=>G,`cancel`,()=>G,`canplay`,()=>G,`canplaythrough`,()=>G,`change`,()=>Ml,`click`,()=>G,`close`,()=>G,`command`,()=>Ud,`compositionend`,()=>Ud,`compositionstart`,()=>Ud,`compositionupdate`,()=>G,`contextlost`,()=>Ml,`contextmenu`,()=>G,`contextrestored`,()=>Il,`copy`,()=>G,`cuechange`,()=>Il,`cut`,()=>Ll,`dblclick`,()=>Rl,`drag`,()=>Rl,`dragend`,()=>Rl,`dragenter`,()=>Rl,`dragleave`,()=>Rl,`dragover`,()=>Rl,`dragstart`,()=>Rl,`drop`,()=>G,`durationchange`,()=>G,`emptied`,()=>G,`ended`,()=>Wd,`error`,()=>Fl,`focus`,()=>Fl,`focusin`,()=>Fl,`focusout`,()=>Bl,`formdata`,()=>Ml,`gotpointercapture`,()=>Nl,`input`,()=>G,`invalid`,()=>Vl,`keydown`,()=>Vl,`keypress`,()=>Vl,`keyup`,()=>G,`load`,()=>G,`loadeddata`,()=>G,`loadedmetadata`,()=>G,`loadstart`,()=>Ml,`lostpointercapture`,()=>Ll,`mousedown`,()=>Ll,`mouseenter`,()=>Ll,`mouseleave`,()=>Ll,`mousemove`,()=>Ll,`mouseout`,()=>Ll,`mouseover`,()=>Ll,`mouseup`,()=>Il,`paste`,()=>G,`pause`,()=>G,`play`,()=>G,`playing`,()=>Ml,`pointercancel`,()=>Ml,`pointerdown`,()=>Ml,`pointerenter`,()=>Ml,`pointerleave`,()=>Ml,`pointermove`,()=>Ml,`pointerout`,()=>Ml,`pointerover`,()=>G,`pointerrawupdate`,()=>Ml,`pointerup`,()=>Hl,`progress`,()=>G,`ratechange`,()=>G,`reset`,()=>Al,`resize`,()=>G,`scroll`,()=>G,`scrollend`,()=>Ul,`securitypolicyviolation`,()=>G,`seeked`,()=>G,`seeking`,()=>G,`select`,()=>G,`selectionchange`,()=>G,`selectstart`,()=>G,`slotchange`,()=>G,`stalled`,()=>Wl,`submit`,()=>G,`suspend`,()=>G,`timeupdate`,()=>Pl,`toggle`,()=>Gl,`touchcancel`,()=>Gl,`touchend`,()=>Gl,`touchmove`,()=>Gl,`touchstart`,()=>Kl,`transitioncancel`,()=>Kl,`transitionend`,()=>Kl,`transitionrun`,()=>Kl,`transitionstart`,()=>G,`volumechange`,()=>G,`waiting`,()=>G,`webkitanimationend`,()=>G,`webkitanimationiteration`,()=>G,`webkitanimationstart`,()=>G,`webkittransitionend`,()=>ql,`wheel`,`GlobalEventHandlersEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4n4\xA0n¡4¢n£4¤n¥4¦n§4¨n©4ªn«4¬n4®n¯4°n±4²n³4´nµ4¶n·4¸n¹4ºn»4¼n½4¾n¿4ÀnÁ4ÂnÃ4ÄnÅ4ÆnÇ4ÈnÉ4ÊnË4ÌnÍ4ÎnÏ4ÐnÑ4ÒnÓ4ÔnÕ4Ön×4ØnÙ4ÚnÛ4ÜnÝ4Þnß4àná4ânã4änå4ænç4èné4ênë4ìní4înï4ðnñ4ònó4ôMwõy`],Zc=[()=>W,`aborted`,0,`this`,()=>G,`ev`,``,`onabort`,`reason`,`throwIfAborted`,`type`,0,()=>Gd,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Gd,()=>H,`removeEventListener`,()=>V,()=>H,`AbortSignal`,`Pn!)4"9PPn#2$n%2&"/',J4("4)9P$1*P"2+Pn,2$n-"f2&"/'2.P)n/J208$11P&2+n22.P)n3J208$11P"2+Pn42$n5"f2&"/'2.P)n6J208$17P&2+n82.P)n9J208$17Mw:y`],Qc=[()=>G,`evt`,``,`EventListener`,`PPn!2"$v#Mw$y`],$c=[()=>G,`object`,`handleEvent`,`EventListenerObject`,`PPn!2"$1#Mw$y`],K=[()=>W,`baseURI`,()=>Kd,()=>nl,`childNodes`,()=>nl,`firstChild`,`isConnected`,()=>nl,`lastChild`,()=>nl,`nextSibling`,`nodeName`,`nodeType`,`nodeValue`,()=>cl,`ownerDocument`,()=>R,`parentElement`,()=>il,`parentNode`,()=>nl,`previousSibling`,`textContent`,`node`,`appendChild`,`subtree`,0,`cloneNode`,0,`other`,`compareDocumentPosition`,0,`contains`,()=>qd,`options`,0,`getRootNode`,`hasChildNodes`,0,`child`,`insertBefore`,`namespace`,`isDefaultNamespace`,0,`otherNode`,`isEqualNode`,0,`isSameNode`,`prefix`,`lookupNamespaceURI`,`lookupPrefix`,`normalize`,`removeChild`,0,`replaceChild`,1,`ELEMENT_NODE`,2,`ATTRIBUTE_NODE`,3,`TEXT_NODE`,4,`CDATA_SECTION_NODE`,5,`ENTITY_REFERENCE_NODE`,6,`ENTITY_NODE`,7,`PROCESSING_INSTRUCTION_NODE`,8,`COMMENT_NODE`,9,`DOCUMENT_NODE`,10,`DOCUMENT_TYPE_NODE`,11,`DOCUMENT_FRAGMENT_NODE`,12,`NOTATION_NODE`,1,`DOCUMENT_POSITION_DISCONNECTED`,2,`DOCUMENT_POSITION_PRECEDING`,4,`DOCUMENT_POSITION_FOLLOWING`,8,`DOCUMENT_POSITION_CONTAINS`,16,`DOCUMENT_POSITION_CONTAINED_BY`,32,`DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC`,`Node`,`Pn!&4"9n$o#"4%9Pn&,J4'9)4(9Pn),J4*9Pn+,J4,9&4-9'4.9P&,J4/Pn0,J419Pn2,J439Pn4,J459Pn6,J479P&,J48P"29"1:P)2;8n<1=Pn>2?'1@PPnA,J2?)1BPnC2D8nE1FP)1GP"29PnH,J2I"1JPP&,J2K)1LPPnM,J2N)1OPPnP,J2N)1QPP&,J2RP&,J1SPP&,J2KP&,J1TP$1UP"2I"1VPnW29"2I"1X.Y4Z9.[4\\9.]4^9._4\`9.a4b9.c4d9.e4f9.g4h9.i4j9.k4l9.m4n9.o4p9.q4r9.s4t9.u4v9.w4x9.y4z9.{4|9Mw}y`],el=[()=>U,`ariaActiveDescendantElement`,`ariaAtomic`,`ariaAutoComplete`,`ariaBrailleLabel`,`ariaBrailleRoleDescription`,`ariaBusy`,`ariaChecked`,`ariaColCount`,`ariaColIndex`,`ariaColIndexText`,`ariaColSpan`,()=>Jd,()=>U,`ariaControlsElements`,`ariaCurrent`,()=>Jd,()=>U,`ariaDescribedByElements`,`ariaDescription`,()=>Jd,()=>U,`ariaDetailsElements`,`ariaDisabled`,()=>Jd,()=>U,`ariaErrorMessageElements`,`ariaExpanded`,()=>Jd,()=>U,`ariaFlowToElements`,`ariaHasPopup`,`ariaHidden`,`ariaInvalid`,`ariaKeyShortcuts`,`ariaLabel`,()=>Jd,()=>U,`ariaLabelledByElements`,`ariaLevel`,`ariaLive`,`ariaModal`,`ariaMultiLine`,`ariaMultiSelectable`,`ariaOrientation`,()=>Jd,()=>U,`ariaOwnsElements`,`ariaPlaceholder`,`ariaPosInSet`,`ariaPressed`,`ariaReadOnly`,`ariaRelevant`,`ariaRequired`,`ariaRoleDescription`,`ariaRowCount`,`ariaRowIndex`,`ariaRowIndexText`,`ariaRowSpan`,`ariaSelected`,`ariaSetSize`,`ariaSort`,`ariaValueMax`,`ariaValueMin`,`ariaValueNow`,`ariaValueText`,`role`,`ARIAMixin`,`PPn!,J4"P&,J4#P&,J4$P&,J4%P&,J4&P&,J4'P&,J4(P&,J4)P&,J4*P&,J4+P&,J4,Pn.o-",J4/P&,J40Pn2o1",J43P&,J44Pn6o5",J47P&,J48Pn:o9",J4;P&,J4<Pn>o=",J4?P&,J4@P&,J4AP&,J4BP&,J4CP&,J4DPnFoE",J4GP&,J4HP&,J4IP&,J4JP&,J4KP&,J4LP&,J4MPnOoN",J4PP&,J4QP&,J4RP&,J4SP&,J4TP&,J4UP&,J4VP&,J4WP&,J4XP&,J4YP&,J4ZP&,J4[P&,J4\\P&,J4]P&,J4^P&,J4_P&,J4\`P&,J4aP&,J4bP&,J4cMwdy`],tl=[()=>Yd,()=>Xd,`keyframes`,()=>Zd,`options`,()=>Qd,`animate`,()=>$d,()=>Qd,`getAnimations`,`Animatable`,`PPPn!Fn",J2#P'n$J2%8n&1'Pn(2%8n)F1*Mw+y`],nl=[()=>K,()=>K,`nodes`,`after`,()=>K,`before`,`remove`,()=>K,`replaceWith`,`ChildNode`,`Pn!PPn"&J@2#$1$PPn%&J@2#$1&P$1'PPn(&J@2#$1)Mw*y`],rl=[()=>U,`nextElementSibling`,()=>U,`previousElementSibling`,`NonDocumentTypeChildNode`,`PPn!,J4"9Pn#,J4$9Mw%y`],il=[()=>K,`childElementCount`,()=>ef,`children`,()=>U,`firstElementChild`,()=>U,`lastElementChild`,()=>K,`nodes`,`append`,()=>K,`node`,()=>K,`child`,`moveBefore`,()=>K,`prepend`,`selectors`,()=>fl,`querySelector`,()=>pl,()=>ml,()=>bl,()=>Kd,()=>fl,`querySelectorAll`,()=>Kd,()=>pl,()=>Kd,()=>ml,()=>Kd,()=>bl,()=>Kd,()=>K,`replaceChildren`,`ParentNode`,`Pn!'4"9n#4$9Pn%,J4&9Pn',J4(9PPn)&J@2*$1+Pn,2-Pn.,J2/$10PPn1&J@2*$12P"23Pn4"f,J15P"23Pn6"f,J15P"23Pn7"f,J15P"23Pn8"f,J15P&23P",J15P"23n:"fo9"1;P"23n="fo<"1;P"23n?"fo>"1;P"23nA"fo@"1;P&23"oB"1;PPnC&J@2*$1DMwEy`],al=[()=>tf,`assignedSlot`,`Slottable`,`PPn!,J4"9Mw#y`],ol=[`length`,`qualifiedName`,()=>gl,`getNamedItem`,`namespace`,`localName`,()=>gl,`getNamedItemNS`,`index`,()=>gl,`item`,()=>gl,`removeNamedItem`,()=>gl,`removeNamedItemNS`,()=>gl,`attr`,()=>gl,`setNamedItem`,()=>gl,()=>gl,`setNamedItemNS`,()=>gl,`NamedNodeMap`,`P'4!9P&2"Pn#,J1$PP&,J2%&2&Pn',J1(P'2)Pn*,J1+P&2"n,1-PP&,J2%&2&n.1/Pn021Pn2,J13Pn421Pn5,J16'n7LMw8y`],sl=[`name`,()=>nf,`constructor`,()=>rf,`options`,`define`,()=>nf,`get`,()=>nf,`getName`,()=>K,`root`,`initialize`,()=>K,`upgrade`,()=>nf,`whenDefined`,`CustomElementRegistry`,`PP&2!n"2#n$2%8$1&P&2!Pn'-J1(Pn)2#P&,J1*Pn+2,$1-Pn.2,$1/P&2!n0\`11Mw2y`],cl=[()=>K,()=>af,()=>of,()=>uc,()=>sf,()=>il,()=>cf,`URL`,()=>lf,`activeViewTransition`,`alinkColor`,()=>uf,`all`,()=>yl,()=>df,`anchors`,()=>ef,`applets`,`bgColor`,()=>R,`body`,`characterSet`,`charset`,`compatMode`,`contentType`,`cookie`,()=>ff,`currentScript`,()=>pf,()=>globalThis,`defaultView`,`designMode`,`dir`,()=>mf,`doctype`,()=>R,`documentElement`,`documentURI`,`domain`,()=>yl,()=>hf,`embeds`,`fgColor`,()=>yl,()=>Xl,`forms`,()=>gf,`fragmentDirective`,`fullscreen`,`fullscreenEnabled`,()=>_f,`head`,`hidden`,()=>yl,()=>vf,`images`,()=>yf,`implementation`,`inputEncoding`,`lastModified`,`linkColor`,()=>yl,()=>df,()=>bf,`links`,0,`this`,()=>G,`ev`,``,`onfullscreenchange`,0,()=>G,`onfullscreenerror`,0,()=>G,`onpointerlockchange`,0,()=>G,`onpointerlockerror`,0,()=>G,`onreadystatechange`,0,()=>G,`onvisibilitychange`,`ownerDocument`,`pictureInPictureEnabled`,()=>yl,()=>hf,`plugins`,()=>xf,`readyState`,`referrer`,()=>Sf,`rootElement`,()=>yl,()=>Cf,`scripts`,()=>U,`scrollingElement`,()=>wf,`timeline`,`title`,()=>Tf,`visibilityState`,`vlinkColor`,`node`,`adoptNode`,`captureEvents`,`x`,`y`,()=>Ef,`options`,()=>Df,`caretPositionFromPoint`,()=>Of,`caretRangeFromPoint`,`clear`,`close`,`localName`,()=>gl,`createAttribute`,`namespace`,`qualifiedName`,()=>gl,`createAttributeNS`,`data`,()=>kf,`createCDATASection`,()=>Af,`createComment`,()=>jf,`createDocumentFragment`,`tagName`,()=>Mf,()=>fl,`createElement`,()=>Mf,()=>bl,()=>Mf,()=>R,`http://www.w3.org/1999/xhtml`,`namespaceURI`,()=>R,`createElementNS`,`http://www.w3.org/2000/svg`,()=>pl,`http://www.w3.org/2000/svg`,()=>xl,`http://www.w3.org/1998/Math/MathML`,()=>ml,`http://www.w3.org/1998/Math/MathML`,()=>Sl,()=>Mf,()=>U,()=>Mf,()=>U,`AnimationEvent`,`eventInterface`,()=>jl,`createEvent`,`AnimationPlaybackEvent`,()=>Nf,`AudioProcessingEvent`,()=>Pf,`BeforeUnloadEvent`,()=>Ff,`BlobEvent`,()=>If,`ClipboardEvent`,()=>Il,`CloseEvent`,()=>Lf,`CommandEvent`,()=>Rf,`CompositionEvent`,()=>Ud,`ContentVisibilityAutoStateChangeEvent`,()=>zf,`CookieChangeEvent`,()=>Bf,`CustomEvent`,()=>Vf,`DeviceMotionEvent`,()=>Hf,`DeviceOrientationEvent`,()=>Uf,`DragEvent`,()=>Rl,`ErrorEvent`,()=>Wd,`Event`,()=>G,`Events`,()=>G,`FocusEvent`,()=>Fl,`FontFaceSetLoadEvent`,()=>Wf,`FormDataEvent`,()=>Bl,`GPUUncapturedErrorEvent`,()=>Gf,`GamepadEvent`,()=>Kf,`HashChangeEvent`,()=>qf,`IDBVersionChangeEvent`,()=>Jf,`InputEvent`,()=>Nl,`KeyboardEvent`,()=>Vl,`MIDIConnectionEvent`,()=>Yf,`MIDIMessageEvent`,()=>Xf,`MediaEncryptedEvent`,()=>Zf,`MediaKeyMessageEvent`,()=>Qf,`MediaQueryListEvent`,()=>$f,`MediaStreamTrackEvent`,()=>hc,`MessageEvent`,()=>ep,`MouseEvent`,()=>Ll,`MouseEvents`,()=>Ll,`NavigateEvent`,()=>tp,`NavigationCurrentEntryChangeEvent`,()=>np,`OfflineAudioCompletionEvent`,()=>rp,`PageRevealEvent`,()=>ip,`PageSwapEvent`,()=>ap,`PageTransitionEvent`,()=>op,`PaymentMethodChangeEvent`,()=>sp,`PaymentRequestUpdateEvent`,()=>cp,`PictureInPictureEvent`,()=>lp,`PointerEvent`,()=>Ml,`PopStateEvent`,()=>up,`ProgressEvent`,()=>Hl,`PromiseRejectionEvent`,()=>dp,`RTCDTMFToneChangeEvent`,()=>fp,`RTCDataChannelEvent`,()=>pp,`RTCErrorEvent`,()=>mp,`RTCPeerConnectionIceErrorEvent`,()=>hp,`RTCPeerConnectionIceEvent`,()=>gp,`RTCTrackEvent`,()=>_p,`SecurityPolicyViolationEvent`,()=>Ul,`SpeechRecognitionErrorEvent`,()=>vp,`SpeechRecognitionEvent`,()=>yp,`SpeechSynthesisErrorEvent`,()=>bp,`SpeechSynthesisEvent`,()=>xp,`StorageEvent`,()=>Sp,`SubmitEvent`,()=>Wl,`TaskPriorityChangeEvent`,()=>Cp,`TextEvent`,()=>wp,`ToggleEvent`,()=>Pl,`TouchEvent`,()=>Gl,`TrackEvent`,()=>Tp,`TransitionEvent`,()=>Kl,`UIEvent`,()=>Al,`UIEvents`,()=>Al,`WebGLContextEvent`,()=>Ep,`WheelEvent`,()=>ql,()=>G,()=>K,`root`,`whatToShow`,()=>Dp,`filter`,()=>Op,`createNodeIterator`,`target`,()=>kp,`createProcessingInstruction`,()=>Of,`createRange`,()=>Ap,`createTextNode`,()=>K,()=>Dp,()=>jp,`createTreeWalker`,`commandId`,`showUI`,`value`,`execCommand`,`exitFullscreen`,`exitPictureInPicture`,`exitPointerLock`,`elementId`,()=>R,`getElementById`,`classNames`,()=>yl,()=>U,`getElementsByClassName`,`elementName`,()=>Kd,()=>R,`getElementsByName`,()=>yl,()=>fl,`getElementsByTagName`,()=>yl,()=>pl,()=>yl,()=>ml,()=>yl,()=>bl,()=>yl,()=>U,`http://www.w3.org/1999/xhtml`,()=>yl,()=>R,`getElementsByTagNameNS`,`http://www.w3.org/2000/svg`,()=>yl,()=>xl,`http://www.w3.org/1998/Math/MathML`,()=>yl,()=>Sl,()=>yl,()=>U,()=>Mp,`getSelection`,`hasFocus`,`hasStorageAccess`,()=>Np,`importNode`,`unused1`,`unused2`,0,`open`,()=>Pp,`url`,`name`,`features`,()=>pf,`queryCommandEnabled`,`queryCommandIndeterm`,`queryCommandState`,`queryCommandSupported`,`queryCommandValue`,`releaseEvents`,`requestStorageAccess`,()=>Fp,()=>Ip,`callbackOptions`,()=>lf,`startViewTransition`,`text`,`write`,`writeln`,`type`,0,()=>Lp,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Lp,()=>H,`removeEventListener`,()=>V,()=>H,`Document`,`Pn!n"n#n$n%n&n'&4(9Pn),J4*9&4+n,4-9n/o."409n1429&43n445&469&479&489&499&4:Pn;,J4<9PPn=i>K,J4?9&4@&4APnB,J4C9nD4E9&4F9&4GnIoH"4J9&4KnMoL"4N9nO4P9)4Q9)4R9nS4T9)4U9nWoV"4X9nY4Z9&4[9&4\\9&4]Pn_n\`Jo^"4a9!!PPnb2cnd2e"/f,J4gPPnh2cni2e"/f,J4jPPnk2cnl2e"/f,J4mPPnn2cno2e"/f,J4pPPnq2cnr2e"/f,J4sPPnt2cnu2e"/f,J4v,4w9)4x9nzoy"4{9n|4}9&4~9Pn,J49no"49Pn,J4
9n49&4n49&4P"2"1P$1P'2'2n28Pn,J1P'2'2Pn,J1P$1P$1P&2n1PP&,J2&2n1P&2\xA0n¡1¢P&2\xA0n£1¤Pn¥1¦P"2§n¨28n©"f1ªP"2§n«28n¬"f1ªP&2§n28n®1ªP.¯2°&2n±1²P.³2°"2n´"f1²P.µ2°&2n¶1²P.·2°"2n¸"f1²P.¹2°&2nº1²PP&,J2°&2n»28n¼1²PP&,J2&2P&n½J28n¾1²P.¿2ÀnÁ1ÂP.Ã2ÀnÄ1ÂP.Å2ÀnÆ1ÂP.Ç2ÀnÈ1ÂP.É2ÀnÊ1ÂP.Ë2ÀnÌ1ÂP.Í2ÀnÎ1ÂP.Ï2ÀnÐ1ÂP.Ñ2ÀnÒ1ÂP.Ó2ÀnÔ1ÂP.Õ2ÀnÖ1ÂP.×2ÀnØ1ÂP.Ù2ÀnÚ1ÂP.Û2ÀnÜ1ÂP.Ý2ÀnÞ1ÂP.ß2Ànà1ÂP.á2Ànâ1ÂP.ã2Ànä1ÂP.å2Ànæ1ÂP.ç2Ànè1ÂP.é2Ànê1ÂP.ë2Ànì1ÂP.í2Ànî1ÂP.ï2Ànð1ÂP.ñ2Ànò1ÂP.ó2Ànô1ÂP.õ2Ànö1ÂP.÷2Ànø1ÂP.ù2Ànú1ÂP.û2Ànü1ÂP.ý2Ànþ1ÂP.ÿ2ÀnĀ1ÂP.ā2ÀnĂ1ÂP.ă2ÀnĄ1ÂP.ą2ÀnĆ1ÂP.ć2ÀnĈ1ÂP.ĉ2ÀnĊ1ÂP.ċ2ÀnČ1ÂP.č2ÀnĎ1ÂP.ď2ÀnĐ1ÂP.đ2ÀnĒ1ÂP.ē2ÀnĔ1ÂP.ĕ2ÀnĖ1ÂP.ė2ÀnĘ1ÂP.ę2ÀnĚ1ÂP.ě2ÀnĜ1ÂP.ĝ2ÀnĞ1ÂP.ğ2ÀnĠ1ÂP.ġ2ÀnĢ1ÂP.ģ2ÀnĤ1ÂP.ĥ2ÀnĦ1ÂP.ħ2ÀnĨ1ÂP.ĩ2ÀnĪ1ÂP.ī2ÀnĬ1ÂP.ĭ2ÀnĮ1ÂP.į2Ànİ1ÂP.ı2ÀnIJ1ÂP.ij2ÀnĴ1ÂP.ĵ2ÀnĶ1ÂP.ķ2Ànĸ1ÂP.Ĺ2Ànĺ1ÂP.Ļ2Ànļ1ÂP.Ľ2Ànľ1ÂP.Ŀ2Ànŀ1ÂP.Ł2Ànł1ÂP.Ń2Ànń1ÂP.Ņ2Ànņ1ÂP.Ň2Ànň1ÂP.ʼn2ÀnŊ1ÂP.ŋ2ÀnŌ1ÂP.ō2ÀnŎ1ÂP.ŏ2ÀnŐ1ÂP&2Ànő1ÂPnŒ2œ'2Ŕ8Pnŕ,J2Ŗ8nŗ1ŘP&2ř&2\xA0nŚ1śPnŜ1ŝP&2\xA0nŞ1şPnŠ2œ'2Ŕ8Pnš,J2Ŗ8nŢ1ţP&2Ť)2ť8&2Ŧ8)1ŧP$\`1ŨP$\`1ũP$1ŪP&2ūPnŬ,J1ŭP&2ŮnŰoů"1űP&2ŲnŴoų"1ŵP"2nŷ"foŶ"1ŸP"2nź"foŹ"1ŸP"2nż"foŻ"1ŸP"2nž"foŽ"1ŸP&2nƀoſ"1ŸP.Ɓ2°&2nƃoƂ"1ƄP.ƅ2°&2nƇoƆ"1ƄP.ƈ2°&2nƊoƉ"1ƄPP&,J2&2nƌoƋ"1ƄPPnƍ,J1ƎP)1ƏP)\`1ƐP"2P)nƑJ28"1ƒP&2Ɠ8&2Ɣ8nƕ1ƖPP&nƗJ2Ƙ&2ƙ&2ƚPnƛ,J1ƖP&2Ť)1ƜP&2Ť)1ƝP&2Ť)1ƞP&2Ť)1ƟP&2Ť&1ƠP$1ơP$\`1ƢPPnƣnƤJ2ƥ8nƦ1ƧP&@2ƨ$1ƩP&@2ƨ$1ƪ!P"2ƫPnƬ2cnƭ"f2e"/f2ƮP)nƯJ28$1ưP&2ƫnƱ2ƮP)nƲJ28$1ưP"2ƫPnƳ2cnƴ"f2e"/f2ƮP)nƵJ28$1ƶP&2ƫnƷ2ƮP)nƸJ28$1ƶMwƹy`],ll=[()=>jf,()=>af,`clonable`,`delegatesFocus`,()=>U,`host`,`innerHTML`,()=>Rp,`mode`,0,`this`,()=>G,`ev`,``,`onslotchange`,`serializable`,()=>zp,`slotAssignment`,()=>Cl,`options`,`getHTML`,`html`,`setHTMLUnsafe`,`type`,0,()=>Bp,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Bp,()=>H,`removeEventListener`,()=>V,()=>H,`ShadowRoot`,`Pn!n")4#9)4$9n%4&9&4'n(4)9PPn*2+n,2-"/.,J4/)409n1429Pn3248&15P&26$17P"28Pn92+n:"f2-"/.2;P)n<J248$1=P&28n>2;P)n?J248$1=P"28Pn@2+nA"f2-"/.2;P)nBJ248$1CP&28nD2;P)nEJ248$1CMwFy`],ul=[`clonable`,()=>sl,`customElementRegistry`,`delegatesFocus`,()=>Rp,`mode`,`serializable`,()=>zp,`slotAssignment`,`ShadowRootInit`,`P)4!8Pn",J4#8)4$8n%4&)4'8n(4)8Mw*y`],dl=[`checkOpacity`,`checkVisibilityCSS`,`contentVisibilityAuto`,`opacityProperty`,`visibilityProperty`,`CheckVisibilityOptions`,`P)4!8)4"8)4#8)4$8)4%8Mw&y`],fl=[()=>df,`a`,()=>R,`abbr`,()=>R,`address`,()=>bf,`area`,()=>R,`article`,()=>R,`aside`,()=>Vp,`audio`,()=>R,`b`,()=>Hp,`base`,()=>R,`bdi`,()=>R,`bdo`,()=>Up,`blockquote`,()=>Wp,`body`,()=>Gp,`br`,()=>Kp,`button`,()=>Xs,`canvas`,()=>qp,`caption`,()=>R,`cite`,()=>R,`code`,()=>Jp,`col`,()=>Jp,`colgroup`,()=>Yp,`data`,()=>Xp,`datalist`,()=>R,`dd`,()=>Zp,`del`,()=>Qp,`details`,()=>R,`dfn`,()=>$p,`dialog`,()=>em,`div`,()=>tm,`dl`,()=>R,`dt`,()=>R,`em`,()=>hf,`embed`,()=>nm,`fieldset`,()=>R,`figcaption`,()=>R,`figure`,()=>R,`footer`,()=>Xl,`form`,()=>rm,`h1`,()=>rm,`h2`,()=>rm,`h3`,()=>rm,`h4`,()=>rm,`h5`,()=>rm,`h6`,()=>_f,`head`,()=>R,`header`,()=>R,`hgroup`,()=>im,`hr`,()=>am,`html`,()=>R,`i`,()=>om,`iframe`,()=>vf,`img`,()=>sm,`input`,()=>Zp,`ins`,()=>R,`kbd`,()=>cm,`label`,()=>lm,`legend`,()=>um,`li`,()=>dm,`link`,()=>R,`main`,()=>fm,`map`,()=>R,`mark`,()=>pm,`menu`,()=>mm,`meta`,()=>hm,`meter`,()=>R,`nav`,()=>R,`noscript`,()=>gm,`object`,()=>_m,`ol`,()=>vm,`optgroup`,()=>ym,`option`,()=>bm,`output`,()=>xm,`p`,()=>Sm,`picture`,()=>Cm,`pre`,()=>wm,`progress`,()=>Up,`q`,()=>R,`rp`,()=>R,`rt`,()=>R,`ruby`,()=>R,`s`,()=>R,`samp`,()=>Cf,`script`,()=>R,`search`,()=>R,`section`,()=>Tm,`select`,()=>tf,`slot`,()=>R,`small`,()=>Em,`source`,()=>Dm,`span`,()=>R,`strong`,()=>Om,`style`,()=>R,`sub`,()=>R,`summary`,()=>R,`sup`,()=>km,`table`,()=>Am,`tbody`,()=>jm,`td`,()=>Mm,`template`,()=>Nm,`textarea`,()=>Am,`tfoot`,()=>jm,`th`,()=>Am,`thead`,()=>Pm,`time`,()=>Fm,`title`,()=>Im,`tr`,()=>Lm,`track`,()=>R,`u`,()=>Rm,`ul`,()=>R,`var`,()=>zm,`video`,()=>R,`wbr`,`HTMLElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4n4\xA0n¡4¢n£4¤n¥4¦n§4¨n©4ªn«4¬n4®n¯4°n±4²n³4´nµ4¶n·4¸n¹4ºn»4¼n½4¾n¿4ÀnÁ4ÂnÃ4ÄnÅ4ÆnÇ4ÈnÉ4ÊnË4ÌnÍ4ÎnÏ4ÐnÑ4ÒnÓ4ÔnÕ4Ön×4ØnÙ4ÚnÛ4ÜnÝ4Þnß4àná4ânã4änå4ænç4èné4ênë4ìní4înï4ðnñ4ònó4ônõ4ön÷4ønù4únû4üný4þnÿ4ĀMwāy`],pl=[()=>Bm,`a`,()=>Vm,`animate`,()=>Hm,`animateMotion`,()=>Um,`animateTransform`,()=>Wm,`circle`,()=>Gm,`clipPath`,()=>Km,`defs`,()=>qm,`desc`,()=>Jm,`ellipse`,()=>Ym,`feBlend`,()=>Xm,`feColorMatrix`,()=>Zm,`feComponentTransfer`,()=>Qm,`feComposite`,()=>$m,`feConvolveMatrix`,()=>eh,`feDiffuseLighting`,()=>th,`feDisplacementMap`,()=>nh,`feDistantLight`,()=>rh,`feDropShadow`,()=>ih,`feFlood`,()=>ah,`feFuncA`,()=>oh,`feFuncB`,()=>sh,`feFuncG`,()=>ch,`feFuncR`,()=>lh,`feGaussianBlur`,()=>uh,`feImage`,()=>dh,`feMerge`,()=>fh,`feMergeNode`,()=>ph,`feMorphology`,()=>mh,`feOffset`,()=>hh,`fePointLight`,()=>gh,`feSpecularLighting`,()=>vh,`feSpotLight`,()=>yh,`feTile`,()=>bh,`feTurbulence`,()=>xh,`filter`,()=>Sh,`foreignObject`,()=>Ch,`g`,()=>wh,`image`,()=>Th,`line`,()=>Eh,`linearGradient`,()=>Dh,`marker`,()=>Oh,`mask`,()=>kh,`metadata`,()=>Ah,`mpath`,()=>jh,`path`,()=>Mh,`pattern`,()=>Nh,`polygon`,()=>Ph,`polyline`,()=>Fh,`radialGradient`,()=>Ih,`rect`,()=>Lh,`script`,()=>Rh,`set`,()=>zh,`stop`,()=>Bh,`style`,()=>Sf,`svg`,()=>Vh,`switch`,()=>Hh,`symbol`,()=>Uh,`text`,()=>Wh,`textPath`,()=>Gh,`title`,()=>Kh,`tspan`,()=>qh,`use`,()=>Jh,`view`,`SVGElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^n_4\`na4bnc4dne4fng4hni4jnk4lnm4nno4pnq4rns4tnu4vnw4xny4zn{4|n}4~n4n4n4n
4n4n4n4n4n4n4n4n4n4n4n4n4Mwy`],ml=[()=>Sl,`a`,()=>Sl,`annotation`,()=>Sl,`annotation-xml`,()=>Sl,`maction`,()=>Sl,`math`,()=>Sl,`merror`,()=>Sl,`mfrac`,()=>Sl,`mi`,()=>Sl,`mmultiscripts`,()=>Sl,`mn`,()=>Sl,`mo`,()=>Sl,`mover`,()=>Sl,`mpadded`,()=>Sl,`mphantom`,()=>Sl,`mprescripts`,()=>Sl,`mroot`,()=>Sl,`mrow`,()=>Sl,`ms`,()=>Sl,`mspace`,()=>Sl,`msqrt`,()=>Sl,`mstyle`,()=>Sl,`msub`,()=>Sl,`msubsup`,()=>Sl,`msup`,()=>Sl,`mtable`,()=>Sl,`mtd`,()=>Sl,`mtext`,()=>Sl,`mtr`,()=>Sl,`munder`,()=>Sl,`munderover`,()=>Sl,`semantics`,`MathMLElementTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4Zn[4\\n]4^Mw_y`],hl=[`size`,`property`,()=>Yh,`get`,()=>Yh,`getAll`,`has`,()=>Yh,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`StylePropertyMapReadOnly`,`P'4!9P&2"P-n#J1$P&2"n%F1&P&2")1'PPn(F2)&2*n+2,$/-2."2/8$10Mw1y`],gl=[()=>K,`localName`,`name`,`namespaceURI`,()=>cl,`ownerDocument`,()=>U,`ownerElement`,`prefix`,`specified`,`value`,`Attr`,`Pn!&4"9&4#9P&,J4$9n%4&9Pn',J4(9P&,J4)9)4*9&4+!!Mw,y`],_l=[()=>Xh,`height`,`width`,`x`,`y`,`DOMRect`,`Pn!'4"'4#'4$'4%Mw&y`],vl=[`length`,`index`,()=>_l,`item`,()=>_l,`DOMRectList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],yl=[`T`,()=>Zh,`index`,`item`,`name`,`namedItem`,`HTMLCollectionOf`,`b!Pn"P'2#Pe$!,J1$P&2%Pe$!,J1&'e"!LMw'y`],bl=[()=>R,`acronym`,()=>Qh,`applet`,()=>R,`basefont`,()=>Qh,`bgsound`,()=>R,`big`,()=>Qh,`blink`,()=>R,`center`,()=>$h,`dir`,()=>eg,`font`,()=>tg,`frame`,()=>ng,`frameset`,()=>Qh,`isindex`,()=>Qh,`keygen`,()=>Cm,`listing`,()=>rg,`marquee`,()=>R,`menuitem`,()=>Qh,`multicol`,()=>Qh,`nextid`,()=>R,`nobr`,()=>R,`noembed`,()=>R,`noframes`,()=>ig,`param`,()=>R,`plaintext`,()=>R,`rb`,()=>R,`rtc`,()=>Qh,`spacer`,()=>R,`strike`,()=>R,`tt`,()=>Cm,`xmp`,`HTMLElementDeprecatedTagNameMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HnI4JnK4LnM4NnO4PnQ4RnS4TnU4VnW4XnY4ZMw[y`],xl=[()=>U,()=>cc,()=>uc,()=>dc,`className`,()=>Sf,`ownerSVGElement`,0,`viewportElement`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGElement`,`Pn!n"n#n$"4%9Pn&,J4'9Pn(,J4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Sl=[()=>U,()=>cc,()=>uc,()=>dc,`type`,0,`this`,()=>ag,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>ag,()=>H,`removeEventListener`,()=>V,()=>H,`MathMLElement`,`Pn!n"n#n$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],Cl=[`serializableShadowRoots`,()=>ll,`shadowRoots`,`GetHTMLOptions`,`P)4!8n"F4#8Mw$y`],wl=[`afterbegin`,`afterend`,`beforebegin`,`beforeend`,`InsertPosition`,`P.!.".#.$Jw%y`],Tl=[()=>og,`navigationUI`,`FullscreenOptions`,`Pn!4"8Mw#y`],El=[`unadjustedMovement`,`PointerLockOptions`,`P)4!8Mw"y`],Dl=[()=>sg,`left`,`top`,`ScrollToOptions`,`Pn!'4"8'4#8Mw$y`],Ol=[()=>sg,()=>cg,`block`,()=>cg,`inline`,`ScrollIntoViewOptions`,`Pn!n"4#8n$4%8Mw&y`],kl=[()=>hl,`property`,()=>Yh,`values`,`append`,`clear`,`delete`,()=>Yh,`set`,`StylePropertyMap`,`Pn!P&2"Pn#&J@2$$1%P$1&P&2"$1'P&2"Pn(&J@2$$1)Mw*y`],Al=[()=>G,`detail`,()=>lg,`view`,`which`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>lg,`viewArg`,`detailArg`,`initUIEvent`,`UIEvent`,`Pn!'4"9Pn#,J4$9'4%9P&2&)2'8)2(8Pn),J2*8'2+8$1,Mw-y`],jl=[()=>G,`animationName`,`elapsedTime`,`pseudoElement`,`AnimationEvent`,`Pn!&4"9'4#9&4$9Mw%y`],Ml=[()=>Ll,`altitudeAngle`,`azimuthAngle`,`height`,`isPrimary`,`persistentDeviceId`,`pointerId`,`pointerType`,`pressure`,`tangentialPressure`,`tiltX`,`tiltY`,`twist`,`width`,0,`getCoalescedEvents`,0,`getPredictedEvents`,`PointerEvent`,`Pn!'4"9'4#9'4$9)4%9'4&9'4'9&4(9'4)9'4*9'4+9'4,9'4-9'4.9Pn/F10Pn1F12Mw3y`],Nl=[()=>Al,`data`,()=>ug,`dataTransfer`,`inputType`,`isComposing`,()=>dg,`getTargetRanges`,`InputEvent`,`Pn!P&,J4"9Pn#,J4$9&4%9)4&9Pn'F1(Mw)y`],Pl=[()=>G,`newState`,`oldState`,()=>U,`source`,`ToggleEvent`,`Pn!&4"9&4#9Pn$,J4%9Mw&y`],Fl=[()=>Al,()=>W,`relatedTarget`,`FocusEvent`,`Pn!Pn",J4#9Mw$y`],Il=[()=>G,()=>ug,`clipboardData`,`ClipboardEvent`,`Pn!Pn",J4#9Mw$y`],Ll=[()=>Al,`altKey`,`button`,`buttons`,`clientX`,`clientY`,`ctrlKey`,`layerX`,`layerY`,`metaKey`,`movementX`,`movementY`,`offsetX`,`offsetY`,`pageX`,`pageY`,()=>W,`relatedTarget`,`screenX`,`screenY`,`shiftKey`,`x`,`y`,`keyArg`,`getModifierState`,`typeArg`,`canBubbleArg`,`cancelableArg`,()=>lg,`viewArg`,`detailArg`,`screenXArg`,`screenYArg`,`clientXArg`,`clientYArg`,`ctrlKeyArg`,`altKeyArg`,`shiftKeyArg`,`metaKeyArg`,`buttonArg`,()=>W,`relatedTargetArg`,`initMouseEvent`,`MouseEvent`,`Pn!)4"9'4#9'4$9'4%9'4&9)4'9'4(9'4)9)4*9'4+9'4,9'4-9'4.9'4/9'409Pn1,J429'439'449)459'469'479P&28)19P&2:)2;)2<n=2>'2?'2@'2A'2B'2C)2D)2E)2F)2G'2HPnI,J2J$1KMwLy`],Rl=[()=>Ll,()=>ug,`dataTransfer`,`DragEvent`,`Pn!Pn",J4#9Mw$y`],zl=[()=>fg,`OnErrorEventHandler`,`Pn!,Jw"y`],Bl=[()=>G,()=>tu,`formData`,`FormDataEvent`,`Pn!n"4#9Mw$y`],Vl=[()=>Al,`altKey`,`charCode`,`code`,`ctrlKey`,`isComposing`,`key`,`keyCode`,`location`,`metaKey`,`repeat`,`shiftKey`,`keyArg`,`getModifierState`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>lg,`viewArg`,`locationArg`,`initKeyboardEvent`,0,`DOM_KEY_LOCATION_STANDARD`,1,`DOM_KEY_LOCATION_LEFT`,2,`DOM_KEY_LOCATION_RIGHT`,3,`DOM_KEY_LOCATION_NUMPAD`,`KeyboardEvent`,`Pn!)4"9'4#9&4$9)4%9)4&9&4'9'4(9'4)9)4*9)4+9)4,9P&2-)1.P&2/)208)218Pn2,J238&2-8'248)2%8)2"8)2,8)2*8$15.6479.8499.:4;9.<4=9Mw>y`],Hl=[()=>W,`T`,()=>G,`lengthComputable`,`loaded`,`target`,`total`,`ProgressEvent`,`n!c"Pn#)4$9'4%9Pe#!,J4&9'4'9Mw(y`],Ul=[()=>G,`blockedURI`,`columnNumber`,()=>pg,`disposition`,`documentURI`,`effectiveDirective`,`lineNumber`,`originalPolicy`,`referrer`,`sample`,`sourceFile`,`statusCode`,`violatedDirective`,`SecurityPolicyViolationEvent`,`Pn!&4"9'4#9n$4%9&4&9&4'9'4(9&4)9&4*9&4+9&4,9'4-9&4.9Mw/y`],Wl=[()=>G,()=>R,`submitter`,`SubmitEvent`,`Pn!Pn",J4#9Mw$y`],Gl=[()=>Al,`altKey`,()=>mg,`changedTouches`,`ctrlKey`,`metaKey`,`shiftKey`,()=>mg,`targetTouches`,()=>mg,`touches`,`TouchEvent`,`Pn!)4"9n#4$9)4%9)4&9)4'9n(4)9n*4+9Mw,y`],Kl=[()=>G,`elapsedTime`,`propertyName`,`pseudoElement`,`TransitionEvent`,`Pn!'4"9&4#9&4$9Mw%y`],ql=[()=>Ll,`deltaMode`,`deltaX`,`deltaY`,`deltaZ`,0,`DOM_DELTA_PIXEL`,1,`DOM_DELTA_LINE`,2,`DOM_DELTA_PAGE`,`WheelEvent`,`Pn!'4"9'4#9'4$9'4%9.&4'9.(4)9.*4+9Mw,y`],Jl=[`DOMStringMap`,`P&P&-JLMw!y`],Yl=[`focusVisible`,`preventScroll`,`FocusOptions`,`P)4!8)4"8Mw#y`],Xl=[()=>R,`acceptCharset`,`action`,()=>hg,`autocomplete`,()=>gg,`elements`,`encoding`,`enctype`,`length`,`method`,`name`,`noValidate`,`rel`,`target`,`checkValidity`,`reportValidity`,()=>R,`submitter`,`requestSubmit`,`reset`,`submit`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,()=>U,`HTMLFormElement`,`Pn!&4"&4#n$4%n&4'9&4(&4)'4*9&4+&4,)4-&4.!!&4/P)10P)11PPn2,J238$14P$15P$16P"27Pn829n:"f2;"/<2=P)n>J2?8$1@P&27nA2=P)nBJ2?8$1@P"27PnC29nD"f2;"/<2=P)nEJ2?8$1FP&27nG2=P)nHJ2?8$1F'nIL&"LMwJy`],Zl=[`length`,`index`,()=>K,`item`,()=>K,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,()=>K,`NodeList`,`P'4!9P'2"Pn#,J1$PPn%2&'2'n(2)$/*2+"2,8$1-'n.LMw/y`],Ql=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`CustomStateSet`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],$l=[`badInput`,`customError`,`patternMismatch`,`rangeOverflow`,`rangeUnderflow`,`stepMismatch`,`tooLong`,`tooShort`,`typeMismatch`,`valid`,`valueMissing`,`ValidityState`,`P)4!9)4"9)4#9)4$9)4%9)4&9)4'9)4(9)4)9)4*9)4+9Mw,y`],eu=[()=>Uc,`lastModified`,`name`,`webkitRelativePath`,`File`,`Pn!'4"9&4#9&4$9Mw%y`],tu=[`name`,()=>Uc,`value`,`append`,()=>Uc,`blobValue`,`filename`,`delete`,()=>_g,`get`,()=>_g,`getAll`,`has`,()=>Uc,`set`,()=>Uc,()=>_g,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`FormData`,`PP&2!P&n"J2#$1$P&2!&2#$1$P&2!n%2&&2'8$1$P&2!$1(P&2!Pn),J1*P&2!n+F1,P&2!)1-P&2!P&n.J2#$1/P&2!&2#$1/P&2!n02&&2'8$1/PPn12#&22n324$/526"278$18Mw9y`],nu=[`badInput`,`customError`,`patternMismatch`,`rangeOverflow`,`rangeUnderflow`,`stepMismatch`,`tooLong`,`tooShort`,`typeMismatch`,`valueMissing`,`ValidityStateFlags`,`P)4!8)4"8)4#8)4$8)4%8)4&8)4'8)4(8)4)8)4*8Mw+y`],ru=[`ended`,`live`,`MediaStreamTrackState`,`P.!."Jw#y`],iu=[()=>vg,()=>vg,`advanced`,`MediaTrackConstraints`,`Pn!n"F4#8Mw$y`],au=[()=>yg,`aspectRatio`,`autoGainControl`,`backgroundBlur`,()=>bg,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,()=>yg,`frameRate`,`groupId`,()=>bg,`height`,`noiseSuppression`,()=>bg,`sampleRate`,()=>bg,`sampleSize`,()=>bg,`width`,`MediaTrackCapabilities`,`Pn!4"8)F4#8)F4$8n%4&8&4'8&4(8P)&JF4)8&F4*8n+4,8&4-8n.4/8)F408n1428n3448n5468Mw7y`],ou=[`aspectRatio`,`autoGainControl`,`backgroundBlur`,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,`frameRate`,`groupId`,`height`,`noiseSuppression`,`sampleRate`,`sampleSize`,`torch`,`whiteBalanceMode`,`width`,`zoom`,`MediaTrackSettings`,`P'4!8)4"8)4#8'4$8&4%8&4&8P)&J4'8&4(8'4)8&4*8'4+8)4,8'4-8'4.8)4/8&408'418'428Mw3y`],su=[()=>G,`ended`,()=>G,`mute`,()=>G,`unmute`,`MediaStreamTrackEventMap`,`Pn!4"n#4$n%4&Mw'y`],cu=`color color-burn color-dodge copy darken destination-atop destination-in destination-out destination-over difference exclusion hard-light hue lighten lighter luminosity multiply overlay saturation screen soft-light source-atop source-in source-out source-over xor GlobalCompositeOperation P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:Jw;y`.split(` `),lu=[()=>xg,()=>zm,()=>Xs,()=>Ic,()=>sc,()=>Sg,`CanvasImageSource`,`Pn!n"n#n$n%n&Jw'y`],uu=[`evenodd`,`nonzero`,`CanvasFillRule`,`P.!."Jw#y`],du=[()=>Ec,0,`path`,()=>ku,`transform`,`addPath`,`Path2D`,`Pn!Pn"2#n$2%8$1&Mw'y`],fu=[`offset`,`color`,`addColorStop`,`CanvasGradient`,`PP'2!&2"$1#Mw$y`],pu=[()=>ku,`transform`,`setTransform`,`CanvasPattern`,`PPn!2"8$1#Mw$y`],mu=[()=>vc,`colorSpace`,()=>Cg,`pixelFormat`,`ImageDataSettings`,`Pn!4"8n#4$8Mw%y`],hu=[()=>vc,`colorSpace`,()=>wg,`data`,`height`,`width`,`ImageData`,`Pn!4"9n#4$9'4%9'4&9Mw'y`],gu=[`high`,`low`,`medium`,`ImageSmoothingQuality`,`P.!.".#Jw$y`],_u=[`w`,`x`,`y`,`z`,`DOMPointInit`,`P'4!8'4"8'4#8'4$8Mw%y`],vu=[`butt`,`round`,`square`,`CanvasLineCap`,`P.!.".#Jw$y`],yu=[`bevel`,`miter`,`round`,`CanvasLineJoin`,`P.!.".#Jw$y`],bu=[`actualBoundingBoxAscent`,`actualBoundingBoxDescent`,`actualBoundingBoxLeft`,`actualBoundingBoxRight`,`alphabeticBaseline`,`emHeightAscent`,`emHeightDescent`,`fontBoundingBoxAscent`,`fontBoundingBoxDescent`,`hangingBaseline`,`ideographicBaseline`,`width`,`TextMetrics`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9Mw-y`],xu=[`inherit`,`ltr`,`rtl`,`CanvasDirection`,`P.!.".#Jw$y`],Su=[`auto`,`none`,`normal`,`CanvasFontKerning`,`P.!.".#Jw$y`],Cu=[`condensed`,`expanded`,`extra-condensed`,`extra-expanded`,`normal`,`semi-condensed`,`semi-expanded`,`ultra-condensed`,`ultra-expanded`,`CanvasFontStretch`,`P.!.".#.$.%.&.'.(.)Jw*y`],wu=[`all-petite-caps`,`all-small-caps`,`normal`,`petite-caps`,`small-caps`,`titling-caps`,`unicase`,`CanvasFontVariantCaps`,`P.!.".#.$.%.&.'Jw(y`],Tu=[`center`,`end`,`left`,`right`,`start`,`CanvasTextAlign`,`P.!.".#.$.%Jw&y`],Eu=[`alphabetic`,`bottom`,`hanging`,`ideographic`,`middle`,`top`,`CanvasTextBaseline`,`P.!.".#.$.%.&Jw'y`],Du=[`auto`,`geometricPrecision`,`optimizeLegibility`,`optimizeSpeed`,`CanvasTextRendering`,`P.!.".#.$Jw%y`],Ou=[()=>Tg,`a`,`b`,`c`,`d`,`e`,`f`,`m11`,`m12`,`m13`,`m14`,`m21`,`m22`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m41`,`m42`,`m43`,`m44`,0,`invertSelf`,()=>Eg,`other`,0,`multiplySelf`,()=>Eg,0,`preMultiplySelf`,`x`,`y`,`z`,`angle`,0,`rotateAxisAngleSelf`,0,`rotateFromVectorSelf`,`rotX`,`rotY`,`rotZ`,0,`rotateSelf`,`scale`,`originX`,`originY`,`originZ`,0,`scale3dSelf`,`scaleX`,`scaleY`,`scaleZ`,0,`scaleSelf`,`transformList`,0,`setMatrixValue`,`sx`,0,`skewXSelf`,`sy`,0,`skewYSelf`,`tx`,`ty`,`tz`,0,`translateSelf`,`DOMMatrix`,`Pn!'4"'4#'4$'4%'4&'4''4('4)'4*'4+'4,'4-'4.'4/'40'41'42'43'44'45'46'47Pn819Pn:2;8n<1=Pn>2;8n?1@P'2A8'2B8'2C8'2D8nE1FP'2A8'2B8nG1HP'2I8'2J8'2K8nL1MP'2N8'2O8'2P8'2Q8nR1SP'2T8'2U8'2V8'2O8'2P8'2Q8nW1XP&2YnZ1[P'2\\8n]1^P'2_8n\`1aP'2b8'2c8'2d8ne1fMwgy`],ku=[`a`,`b`,`c`,`d`,`e`,`f`,`m11`,`m12`,`m21`,`m22`,`m41`,`m42`,`DOMMatrix2DInit`,`P'4!8'4"8'4#8'4$8'4%8'4&8'4'8'4(8'4)8'4*8'4+8'4,8Mw-y`],q=[`GLsizei`,`'w!y`],J=[`GLenum`,`'w!y`],Au=[`WebGLProgram`,`PMw!y`],ju=[`WebGLShader`,`PMw!y`],Y=[`GLuint`,`'w!y`],Mu=[`WebGLBuffer`,`PMw!y`],Nu=[`WebGLFramebuffer`,`PMw!y`],Pu=[`WebGLRenderbuffer`,`PMw!y`],Fu=[`WebGLTexture`,`PMw!y`],Iu=[`GLclampf`,`'w!y`],Lu=[`GLbitfield`,`'w!y`],X=[`GLint`,`'w!y`],Ru=[`GLboolean`,`)w!y`],zu=[`GLintptr`,`'w!y`],Bu=[`name`,()=>X,`size`,()=>J,`type`,`WebGLActiveInfo`,`P&4!9n"4#9n$4%9Mw&y`],Vu=[()=>J,`mode`,()=>X,`first`,()=>q,`count`,()=>q,`primcount`,`drawArraysInstancedANGLE`,()=>J,()=>q,()=>J,`type`,()=>zu,`offset`,()=>q,`drawElementsInstancedANGLE`,()=>Y,`index`,()=>Y,`divisor`,`vertexAttribDivisorANGLE`,35070,`VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE`,`ANGLE_instanced_arrays`,`PPn!2"n#2$n%2&n'2($1)Pn*2"n+2&n,2-n.2/n02($11Pn223n425$16.7489Mw9y`],Hu=[32775,`MIN_EXT`,32776,`MAX_EXT`,`EXT_blend_minmax`,`P.!4"9.#4$9Mw%y`],Uu=[`EXT_color_buffer_float`,`PMw!y`],Wu=[34842,`RGBA16F_EXT`,34843,`RGB16F_EXT`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT`,35863,`UNSIGNED_NORMALIZED_EXT`,`EXT_color_buffer_half_float`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Gu=[`EXT_float_blend`,`PMw!y`],Ku=[`EXT_frag_depth`,`PMw!y`],qu=[35904,`SRGB_EXT`,35906,`SRGB_ALPHA_EXT`,35907,`SRGB8_ALPHA8_EXT`,33296,`FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT`,`EXT_sRGB`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Ju=[`EXT_shader_texture_lod`,`PMw!y`],Yu=[36492,`COMPRESSED_RGBA_BPTC_UNORM_EXT`,36493,`COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT`,36494,`COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT`,36495,`COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT`,`EXT_texture_compression_bptc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Xu=[36283,`COMPRESSED_RED_RGTC1_EXT`,36284,`COMPRESSED_SIGNED_RED_RGTC1_EXT`,36285,`COMPRESSED_RED_GREEN_RGTC2_EXT`,36286,`COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT`,`EXT_texture_compression_rgtc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],Zu=[34046,`TEXTURE_MAX_ANISOTROPY_EXT`,34047,`MAX_TEXTURE_MAX_ANISOTROPY_EXT`,`EXT_texture_filter_anisotropic`,`P.!4"9.#4$9Mw%y`],Qu=[37297,`COMPLETION_STATUS_KHR`,`KHR_parallel_shader_compile`,`P.!4"9Mw#y`],$u=[`OES_element_index_uint`,`PMw!y`],ed=[`OES_fbo_render_mipmap`,`PMw!y`],td=[35723,`FRAGMENT_SHADER_DERIVATIVE_HINT_OES`,`OES_standard_derivatives`,`P.!4"9Mw#y`],nd=[`OES_texture_float`,`PMw!y`],rd=[`OES_texture_float_linear`,`PMw!y`],id=[36193,`HALF_FLOAT_OES`,`OES_texture_half_float`,`P.!4"9Mw#y`],ad=[`OES_texture_half_float_linear`,`PMw!y`],od=[()=>Dg,`arrayObject`,`bindVertexArrayOES`,()=>Dg,`createVertexArrayOES`,()=>Dg,`deleteVertexArrayOES`,()=>Dg,()=>Ru,`isVertexArrayOES`,34229,`VERTEX_ARRAY_BINDING_OES`,`OES_vertex_array_object`,`PPPn!,J2"$1#Pn$1%PPn&,J2"$1'PPn(,J2"n)1*.+4,9Mw-y`],sd=[()=>J,`target`,()=>J,`attachment`,()=>Fu,`texture`,()=>X,`level`,()=>X,`baseViewIndex`,()=>q,`numViews`,`framebufferTextureMultiviewOVR`,38448,`FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR`,38450,`FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR`,38449,`MAX_VIEWS_OVR`,38451,`FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR`,`OVR_multiview2`,`PPn!2"n#2$Pn%,J2&n'2(n)2*n+2,$1-..4/9.0419.2439.4459Mw6y`],cd=[34836,`RGBA32F_EXT`,33297,`FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT`,35863,`UNSIGNED_NORMALIZED_EXT`,`WEBGL_color_buffer_float`,`P.!4"9.#4$9.%4&9Mw'y`],ld=[`getSupportedProfiles`,37808,`COMPRESSED_RGBA_ASTC_4x4_KHR`,37809,`COMPRESSED_RGBA_ASTC_5x4_KHR`,37810,`COMPRESSED_RGBA_ASTC_5x5_KHR`,37811,`COMPRESSED_RGBA_ASTC_6x5_KHR`,37812,`COMPRESSED_RGBA_ASTC_6x6_KHR`,37813,`COMPRESSED_RGBA_ASTC_8x5_KHR`,37814,`COMPRESSED_RGBA_ASTC_8x6_KHR`,37815,`COMPRESSED_RGBA_ASTC_8x8_KHR`,37816,`COMPRESSED_RGBA_ASTC_10x5_KHR`,37817,`COMPRESSED_RGBA_ASTC_10x6_KHR`,37818,`COMPRESSED_RGBA_ASTC_10x8_KHR`,37819,`COMPRESSED_RGBA_ASTC_10x10_KHR`,37820,`COMPRESSED_RGBA_ASTC_12x10_KHR`,37821,`COMPRESSED_RGBA_ASTC_12x12_KHR`,37840,`COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR`,37841,`COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR`,37842,`COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR`,37843,`COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR`,37844,`COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR`,37845,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR`,37846,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR`,37847,`COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR`,37848,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR`,37849,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR`,37850,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR`,37851,`COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR`,37852,`COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR`,37853,`COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR`,`WEBGL_compressed_texture_astc`,`PP&F1!."4#9.$4%9.&4'9.(4)9.*4+9.,4-9..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9.B4C9.D4E9.F4G9.H4I9.J4K9.L4M9.N4O9.P4Q9.R4S9.T4U9.V4W9.X4Y9MwZy`],ud=[37488,`COMPRESSED_R11_EAC`,37489,`COMPRESSED_SIGNED_R11_EAC`,37490,`COMPRESSED_RG11_EAC`,37491,`COMPRESSED_SIGNED_RG11_EAC`,37492,`COMPRESSED_RGB8_ETC2`,37493,`COMPRESSED_SRGB8_ETC2`,37494,`COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2`,37495,`COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2`,37496,`COMPRESSED_RGBA8_ETC2_EAC`,37497,`COMPRESSED_SRGB8_ALPHA8_ETC2_EAC`,`WEBGL_compressed_texture_etc`,`P.!4"9.#4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449Mw5y`],dd=[36196,`COMPRESSED_RGB_ETC1_WEBGL`,`WEBGL_compressed_texture_etc1`,`P.!4"9Mw#y`],fd=[35840,`COMPRESSED_RGB_PVRTC_4BPPV1_IMG`,35841,`COMPRESSED_RGB_PVRTC_2BPPV1_IMG`,35842,`COMPRESSED_RGBA_PVRTC_4BPPV1_IMG`,35843,`COMPRESSED_RGBA_PVRTC_2BPPV1_IMG`,`WEBGL_compressed_texture_pvrtc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],pd=[33776,`COMPRESSED_RGB_S3TC_DXT1_EXT`,33777,`COMPRESSED_RGBA_S3TC_DXT1_EXT`,33778,`COMPRESSED_RGBA_S3TC_DXT3_EXT`,33779,`COMPRESSED_RGBA_S3TC_DXT5_EXT`,`WEBGL_compressed_texture_s3tc`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],md=[35916,`COMPRESSED_SRGB_S3TC_DXT1_EXT`,35917,`COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT`,35918,`COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT`,35919,`COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT`,`WEBGL_compressed_texture_s3tc_srgb`,`P.!4"9.#4$9.%4&9.'4(9Mw)y`],hd=[37445,`UNMASKED_VENDOR_WEBGL`,37446,`UNMASKED_RENDERER_WEBGL`,`WEBGL_debug_renderer_info`,`P.!4"9.#4$9Mw%y`],gd=[()=>ju,`shader`,`getTranslatedShaderSource`,`WEBGL_debug_shaders`,`PPn!2"&1#Mw$y`],_d=[34042,`UNSIGNED_INT_24_8_WEBGL`,`WEBGL_depth_texture`,`P.!4"9Mw#y`],vd=[()=>J,`buffers`,`drawBuffersWEBGL`,36064,`COLOR_ATTACHMENT0_WEBGL`,36065,`COLOR_ATTACHMENT1_WEBGL`,36066,`COLOR_ATTACHMENT2_WEBGL`,36067,`COLOR_ATTACHMENT3_WEBGL`,36068,`COLOR_ATTACHMENT4_WEBGL`,36069,`COLOR_ATTACHMENT5_WEBGL`,36070,`COLOR_ATTACHMENT6_WEBGL`,36071,`COLOR_ATTACHMENT7_WEBGL`,36072,`COLOR_ATTACHMENT8_WEBGL`,36073,`COLOR_ATTACHMENT9_WEBGL`,36074,`COLOR_ATTACHMENT10_WEBGL`,36075,`COLOR_ATTACHMENT11_WEBGL`,36076,`COLOR_ATTACHMENT12_WEBGL`,36077,`COLOR_ATTACHMENT13_WEBGL`,36078,`COLOR_ATTACHMENT14_WEBGL`,36079,`COLOR_ATTACHMENT15_WEBGL`,34853,`DRAW_BUFFER0_WEBGL`,34854,`DRAW_BUFFER1_WEBGL`,34855,`DRAW_BUFFER2_WEBGL`,34856,`DRAW_BUFFER3_WEBGL`,34857,`DRAW_BUFFER4_WEBGL`,34858,`DRAW_BUFFER5_WEBGL`,34859,`DRAW_BUFFER6_WEBGL`,34860,`DRAW_BUFFER7_WEBGL`,34861,`DRAW_BUFFER8_WEBGL`,34862,`DRAW_BUFFER9_WEBGL`,34863,`DRAW_BUFFER10_WEBGL`,34864,`DRAW_BUFFER11_WEBGL`,34865,`DRAW_BUFFER12_WEBGL`,34866,`DRAW_BUFFER13_WEBGL`,34867,`DRAW_BUFFER14_WEBGL`,34868,`DRAW_BUFFER15_WEBGL`,36063,`MAX_COLOR_ATTACHMENTS_WEBGL`,34852,`MAX_DRAW_BUFFERS_WEBGL`,`WEBGL_draw_buffers`,`PPn!F2"$1#.$4%9.&4'9.(4)9.*4+9.,4-9..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9.B4C9.D4E9.F4G9.H4I9.J4K9.L4M9.N4O9.P4Q9.R4S9.T4U9.V4W9.X4Y9.Z4[9.\\4]9.^4_9.\`4a9.b4c9.d4e9.f4g9Mwhy`],yd=[`loseContext`,`restoreContext`,`WEBGL_lose_context`,`PP$1!P$1"Mw#y`],bd=[()=>J,`mode`,()=>X,`firstsList`,`firstsOffset`,()=>q,`countsList`,`countsOffset`,()=>q,`instanceCountsList`,`instanceCountsOffset`,()=>q,`drawcount`,`multiDrawArraysInstancedWEBGL`,()=>J,()=>X,()=>q,()=>q,`multiDrawArraysWEBGL`,()=>J,()=>q,()=>J,`type`,()=>q,`offsetsList`,`offsetsOffset`,()=>q,()=>q,`multiDrawElementsInstancedWEBGL`,()=>J,()=>q,()=>J,()=>q,()=>q,`multiDrawElementsWEBGL`,`WEBGL_multi_draw`,`PPn!2"PZn#FJ2$'2%PZn&FJ2''2(PZn)FJ2*'2+n,2-$1.Pn/2"PZn0FJ2$'2%PZn1FJ2''2(n22-$13Pn42"PZn5FJ2''2(n627PZn8FJ29'2:PZn;FJ2*'2+n<2-$1=Pn>2"PZn?FJ2''2(n@27PZnAFJ29'2:nB2-$1CMwDy`],xd=[()=>X,`precision`,()=>X,`rangeMax`,()=>X,`rangeMin`,`WebGLShaderPrecisionFormat`,`Pn!4"9n#4$9n%4&9Mw'y`],Sd=[`WebGLUniformLocation`,`PMw!y`],Cd=[`GLfloat`,`'w!y`],wd=[()=>Cd,`Float32List`,`P\\n!FJw"y`],Td=[`GLsizeiptr`,`'w!y`],Ed=[()=>Od,()=>Dd,()=>Od,`AllowSharedBufferSource`,`Pn!n#o""Jw$y`],Dd=[()=>Od,`TArrayBuffer`,`buffer`,`byteLength`,`byteOffset`,`ArrayBufferView`,`n!c"Pe"!4#9'4$9'4%9Mw&y`],Od=[()=>Og,()=>Og,`ArrayBufferLike`,`n!n"gfw#y`],kd=[()=>Ic,()=>hu,()=>vf,()=>Xs,()=>zm,()=>sc,()=>Sg,`TexImageSource`,`Pn!n"n#n$n%n&n'Jw(y`],Ad=[()=>X,`Int32List`,`PZn!FJw"y`],jd=[`WebGLQuery`,`PMw!y`],Md=[`WebGLSampler`,`PMw!y`],Nd=[`WebGLTransformFeedback`,`PMw!y`],Pd=[`WebGLVertexArrayObject`,`PMw!y`],Fd=[()=>Y,`Uint32List`,`P[n!FJw"y`],Id=[`WebGLSync`,`PMw!y`],Ld=[`GLuint64`,`'w!y`],Rd=[`GLint64`,`'w!y`],zd=[()=>kg,`alphaMode`,()=>vc,`colorSpace`,()=>Ag,`device`,()=>jg,`format`,()=>Mg,`toneMapping`,()=>Ng,`usage`,()=>jg,`viewFormats`,`GPUCanvasConfiguration`,`Pn!4"8n#4$8n%4&n'4(n)4*8n+4,8n-F4.8Mw/y`],Bd=[()=>Pg,()=>Fg,`depthOrArrayLayers`,()=>Ig,`dimension`,()=>jg,`format`,()=>Fg,`height`,()=>Fg,`mipLevelCount`,()=>Lg,`sampleCount`,()=>Rg,`usage`,()=>Fg,`width`,()=>zg,`descriptor`,()=>Bg,`createView`,`destroy`,`GPUTexture`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419Pn2238n415P$16Mw7y`],Vd=[`R`,`locked`,`reason`,`cancel`,`byob`,`mode`,`options`,()=>Vg,`getReader`,()=>Hg,()=>Ug,()=>Wg,()=>Gg,`transform`,()=>Kg,0,`pipeThrough`,()=>qg,`destination`,()=>Kg,`pipeTo`,0,0,`tee`,`ReadableStream`,`"c!P)4"9P"2#8$\`1$PP.%4&M2'n(1)Pe#!o*"1)Pn+2'8e#!o,"1)P"e#!o-#2.n/2'8"o0"11Pe#!o2"23n42'8$\`15PPe$!o6"e$!o7"G18Mw9y`],Hd=[`DOMHighResTimeStamp`,`'w!y`],Ud=[()=>Al,`data`,`typeArg`,`bubblesArg`,`cancelableArg`,()=>pf,`viewArg`,`dataArg`,`initCompositionEvent`,`CompositionEvent`,`Pn!&4"9P&2#)2$8)2%8Pn&,J2'8&2(8$1)Mw*y`],Wd=[()=>G,`colno`,`error`,`filename`,`lineno`,`message`,`ErrorEvent`,`Pn!'4"9"4#9&4$9'4%9&4&9Mw'y`],Gd=[()=>G,`abort`,`AbortSignalEventMap`,`Pn!4"Mw#y`],Kd=[`TNode`,()=>Zl,`index`,`item`,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`NodeListOf`,`b!Pn"P'2#e#!1$PPe$!2%'2&e$!o'"2($/)2*"2+8$1,'e"!LMw-y`],qd=[`composed`,`GetRootNodeOptions`,`P)4!8Mw"y`],Jd=[`T`,`length`,`toString`,`toLocaleString`,()=>Jg,`items`,`concat`,()=>Jg,`separator`,`join`,`start`,`end`,`slice`,`searchElement`,`fromIndex`,`indexOf`,`lastIndexOf`,`value`,`index`,`array`,``,`predicate`,`thisArg`,`every`,`some`,`callbackfn`,`forEach`,`map`,`filter`,`previousValue`,`currentValue`,`currentIndex`,`reduce`,`initialValue`,`reduceRight`,`ReadonlyArray`,`b!P'4"9P&1#P&1$Pe#!o%"@2&e#!F1'PPe$!e$!o("J@2&e#!F1'P&2)8&1*P'2+8'2,8e#!F1-Pe#!2.'2/8'10Pe#!2.'2/8'11PPe$!22'23e$!F924!/526"278!18PPe$!22'23e$!F924#/526"278)18PPe$!22'23e$!F924#/526"278)19PPe$!22'23e$!F924$/52:"278$1;PPe$!22'23e$!F924"/52:"278"F1<PPe$!22'23e$!F924!/526"278"F1=PPe$!22'23e$!F924#/526"278e#!F1=PPe$!2>e$!2?'2@e$!F924e$!/52:e#!1APPe$!2>e$!2?'2@e$!F924e$!/52:e#!2Be#!1APP"2>e$!2?'2@e$!F924"/52:"2B"1APPe$!2>e$!2?'2@e$!F924e$!/52:e#!1CPPe$!2>e$!2?'2@e$!F924e$!/52:e#!2Be#!1CPP"2>e$!2?'2@e$!F924"/52:"2B"1C'e"!LMwDy`],Yd=[()=>Yg,`composite`,`easing`,`offset`,`Keyframe`,`Pn!4"8&4#8P',J4$8&P&',-JLMw%y`],Xd=[()=>Yg,()=>Yg,`composite`,`easing`,`offset`,`PropertyIndexedKeyframes`,`PPn!n"FJ4#8P&&FJ4$8P'P',JFJ4%8&P&&F',P',JF-JLMw&y`],Zd=[()=>Xg,`id`,()=>Zg,()=>Qg,()=>$g,`rangeEnd`,()=>Zg,()=>Qg,()=>$g,`rangeStart`,()=>e_,`timeline`,`KeyframeAnimationOptions`,`Pn!&4"8Pn#n$n%&J4&8Pn'n(n)&J4*8Pn+,J4,8Mw-y`],Qd=[()=>W,()=>t_,`currentTime`,()=>n_,`effect`,0,`finished`,`id`,0,`this`,()=>Nf,`ev`,``,`oncancel`,0,()=>Nf,`onfinish`,0,()=>Nf,`onremove`,`overallProgress`,`pending`,()=>r_,`playState`,`playbackRate`,0,`ready`,()=>i_,`replaceState`,()=>t_,`startTime`,()=>e_,`timeline`,`cancel`,`commitStyles`,`finish`,`pause`,`persist`,`play`,`reverse`,`updatePlaybackRate`,`type`,0,()=>a_,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>a_,()=>H,`removeEventListener`,()=>V,()=>H,`Animation`,`Pn!Pn",J4#Pn$,J4%n&\`4'9&4(PPn)2*n+2,"/-,J4.PPn/2*n02,"/-,J41PPn22*n32,"/-,J44P',J459)469n7489'49n:\`4;9n<4=9Pn>,J4?Pn@,J4AP$1BP$1CP$1DP$1EP$1FP$1GP$1HP'29$1IP"2JPnK2*nL"f2,"/-2MP)nNJ2O8$1PP&2JnQ2MP)nRJ2O8$1PP"2JPnS2*nT"f2,"/-2MP)nUJ2O8$1VP&2JnW2MP)nXJ2O8$1VMwYy`],$d=[`subtree`,`GetAnimationsOptions`,`P)4!8Mw"y`],ef=[()=>Zh,`name`,()=>U,`namedItem`,`HTMLCollection`,`Pn!P&2"Pn#,J1$Mw%y`],tf=[()=>R,`name`,()=>U,()=>Ap,`nodes`,`assign`,()=>o_,`options`,()=>U,`assignedElements`,()=>o_,()=>K,`assignedNodes`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSlotElement`,`Pn!&4"PPn#n$J@2%$1&Pn'2(8n)F1*Pn+2(8n,F1-P"2.Pn/20n1"f22"/324P)n5J2(8$16P&2.n724P)n8J2(8$16P"2.Pn920n:"f22"/324P)n;J2(8$1<P&2.n=24P)n>J2(8$1<Mw?y`],nf=[`params`,()=>R,`new`,`CustomElementConstructor`,`PP"@2!n"1#Mw$y`],rf=[`extends`,`ElementDefinitionOptions`,`P&4!8Mw"y`],af=[()=>U,`activeElement`,()=>s_,`adoptedStyleSheets`,()=>sl,`customElementRegistry`,()=>U,`fullscreenElement`,()=>U,`pictureInPictureElement`,()=>U,`pointerLockElement`,()=>c_,`styleSheets`,`x`,`y`,()=>U,`elementFromPoint`,()=>U,`elementsFromPoint`,()=>Qd,`getAnimations`,`DocumentOrShadowRoot`,`PPn!,J4"9n#F4$Pn%,J4&9Pn',J4(9Pn),J4*9Pn+,J4,9n-4.9P'2/'20Pn1,J12P'2/'20n3F14Pn5F16Mw7y`],of=[()=>l_,`fonts`,`FontFaceSource`,`Pn!4"9Mw#y`],sf=[`elementId`,()=>U,`getElementById`,`NonElementParentNode`,`PP&2!Pn",J1#Mw$y`],cf=[`expression`,()=>u_,`resolver`,()=>d_,`createExpression`,()=>K,`nodeResolver`,()=>K,`createNSResolver`,()=>K,`contextNode`,()=>u_,`type`,()=>f_,`result`,()=>f_,`evaluate`,`XPathEvaluatorBase`,`PP&2!Pn",J2#8n$1%Pn&2'n(1)P&2!n*2+Pn,,J2#8'2-8Pn.,J2/8n011Mw2y`],lf=[`finished`,`ready`,()=>p_,`types`,`updateCallbackDone`,`skipTransition`,`ViewTransition`,"P$`4!9$`4\"9n#4$9$`4%9P$1&Mw'y"],uf=[`length`,`nameOrIndex`,()=>ef,()=>U,`item`,`name`,()=>ef,()=>U,`namedItem`,()=>U,`HTMLAllCollection`,`P'4!9P&2"8Pn#n$,J1%P&2&Pn'n(,J1)'n*LMw+y`],df=[()=>R,()=>m_,`charset`,`coords`,`download`,`hreflang`,`name`,`ping`,`referrerPolicy`,`rel`,`rev`,`shape`,`target`,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAnchorElement`,`Pn!n"&4#&4$&4%&4&&4'&4(&4)&4*!!&4+&4,&4-&4.&4/P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],ff=[()=>Cf,()=>Lh,`HTMLOrSVGScriptElement`,`Pn!n"Jw#y`],pf=[()=>lg,`WindowProxy`,`n!w"y`],mf=[()=>K,()=>nl,`name`,()=>cl,`ownerDocument`,`publicId`,`systemId`,`DocumentType`,`Pn!n"&4#9n$4%9&4&9&4'9!Mw(y`],hf=[()=>R,`align`,`height`,`name`,`src`,`type`,`width`,()=>cl,`getSVGDocument`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLEmbedElement`,`Pn!&4"&4#&4$&4%&4&&4'PPn(,J1)P"2&Pn*2+n,"f2-"/.2/P)n0J218$12P&2&n32/P)n4J218$12P"2&Pn52+n6"f2-"/.2/P)n7J218$18P&2&n92/P)n:J218$18Mw;y`],gf=[`FragmentDirective`,`PMw!y`],_f=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHeadElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],vf=[()=>R,`align`,`alt`,`border`,`complete`,`crossOrigin`,`currentSrc`,`async`,`sync`,`auto`,`decoding`,`high`,`low`,`auto`,`fetchPriority`,`height`,`hspace`,`isMap`,`eager`,`lazy`,`loading`,`longDesc`,`lowsrc`,`name`,`naturalHeight`,`naturalWidth`,`referrerPolicy`,`sizes`,`src`,`srcset`,`useMap`,`vspace`,`width`,`x`,`y`,`decode`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLImageElement`,`Pn!&4"&4#&4$)4%9P&,J4&&4'9P.(.).*J4+P.,.-..J4/'40'41)42P.3.4J45&46&47&48'499'4:9&4;&4<&4=&4>&4?'4@'4A'4B9'4C9P$\`1DP"2EPnF2GnH"f2I"/J2KP)nLJ2M8$1NP&2EnO2KP)nPJ2M8$1NP"2EPnQ2GnR"f2I"/J2KP)nSJ2M8$1TP&2EnU2KP)nVJ2M8$1TMwWy`],yf=[`namespace`,`qualifiedName`,()=>mf,`doctype`,()=>h_,`createDocument`,`name`,`publicId`,`systemId`,()=>mf,`createDocumentType`,`title`,()=>cl,`createHTMLDocument`,`args`,!0,`hasFeature`,`DOMImplementation`,`PPP&,J2!P&,J2"Pn#,J2$8n%1&P&2'&2(&2)n*1+P&2,8n-1.P"@2/.011Mw2y`],bf=[()=>R,()=>m_,`alt`,`coords`,`download`,`noHref`,`ping`,`referrerPolicy`,`rel`,`shape`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAreaElement`,`Pn!n"&4#&4$&4%)4&&4'&4(&4)!!&4*&4+P"2,Pn-2.n/"f20"/122P)n3J248$15P&2,n622P)n7J248$15P"2,Pn82.n9"f20"/122P)n:J248$1;P&2,n<22P)n=J248$1;Mw>y`],xf=[`complete`,`interactive`,`loading`,`DocumentReadyState`,`P.!.".#Jw$y`],Sf=[()=>g_,()=>__,()=>v_,`currentScale`,()=>y_,`currentTranslate`,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`animationsPaused`,()=>xl,`element`,()=>Xh,`rect`,`checkEnclosure`,()=>xl,()=>Xh,`checkIntersection`,()=>b_,`createSVGAngle`,()=>x_,`createSVGLength`,()=>Ou,`createSVGMatrix`,()=>S_,`createSVGNumber`,()=>C_,`createSVGPoint`,()=>_l,`createSVGRect`,()=>w_,`createSVGTransform`,()=>ku,`matrix`,()=>w_,`createSVGTransformFromMatrix`,`deselectAll`,`forceRedraw`,`getCurrentTime`,`elementId`,()=>U,`getElementById`,()=>Xh,()=>xl,`referenceElement`,()=>Kd,()=>Wm,()=>Jm,()=>wh,()=>Th,()=>jh,()=>Nh,()=>Ph,()=>Ih,()=>Uh,()=>qh,`getEnclosureList`,()=>Xh,()=>xl,()=>Kd,()=>Wm,()=>Jm,()=>wh,()=>Th,()=>jh,()=>Nh,()=>Ph,()=>Ih,()=>Uh,()=>qh,`getIntersectionList`,`pauseAnimations`,`seconds`,`setCurrentTime`,`maxWaitMilliseconds`,`suspendRedraw`,`unpauseAnimations`,`suspendHandleID`,`unsuspendRedraw`,`unsuspendRedrawAll`,`type`,0,`this`,()=>T_,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>T_,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSVGElement`,`Pn!n"n#'4$n%4&9n'4(9n)4*9n+4,9n-4.9P)1/Pn021n223)14Pn521n623)17Pn819Pn:1;Pn<1=Pn>1?Pn@1APnB1CPnD1EPnF2G8nH1IP$1JP$1KP'1LP&2MPnN,J1OPnP23PnQ,J2RPnTnUnVnWnXnYnZn[n\\n]JoS"1^Pn_23Pn\`,J2RPnbncndnenfngnhninjnkJoa"1lP$1mP'2n$1oP'2p'1qP$1rP'2s$1tP$1uP"2vPnw2xny"f2z"/{2|P)n}J2~8$1P&2vn2|P)nJ2~8$1P"2vPn2xn"f2z"/{2|P)nJ2~8$1
P&2vn2|P)nJ2~8$1
Mwy`],Cf=[()=>R,`async`,`charset`,`crossOrigin`,`defer`,`event`,`high`,`low`,`auto`,`fetchPriority`,`htmlFor`,`integrity`,`noModule`,`referrerPolicy`,`src`,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLScriptElement`,`Pn!)4"!!&4#P&,J4$)4%&4&P.'.(.)J4*&4+&4,)4-&4.&4/&40&41P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],wf=[()=>e_,`DocumentTimeline`,`Pn!Mw"y`],Tf=[`hidden`,`visible`,`DocumentVisibilityState`,`P.!."Jw#y`],Ef=[()=>ll,`shadowRoots`,`CaretPositionFromPointOptions`,`Pn!F4"8Mw#y`],Df=[`offset`,()=>K,`offsetNode`,()=>_l,`getClientRect`,`CaretPosition`,`P'4!9n"4#9PPn$,J1%Mw&y`],Of=[()=>E_,()=>K,`commonAncestorContainer`,()=>jf,`cloneContents`,0,`cloneRange`,`toStart`,`collapse`,`how`,0,`sourceRange`,`compareBoundaryPoints`,()=>K,`node`,`offset`,`comparePoint`,`string`,()=>jf,`createContextualFragment`,`deleteContents`,`detach`,()=>jf,`extractContents`,()=>_l,`getBoundingClientRect`,()=>vl,`getClientRects`,()=>K,`insertNode`,()=>K,`intersectsNode`,()=>K,`isPointInRange`,()=>K,`selectNode`,()=>K,`selectNodeContents`,()=>K,`setEnd`,()=>K,`setEndAfter`,()=>K,`setEndBefore`,()=>K,`setStart`,()=>K,`setStartAfter`,()=>K,`setStartBefore`,()=>K,`newParent`,`surroundContents`,`toString`,0,`START_TO_START`,1,`START_TO_END`,2,`END_TO_END`,3,`END_TO_START`,`Range`,`Pn!n"4#9Pn$1%Pn&1'P)2(8$1)P'2*n+2,'1-Pn.2/'20'11P&22n314P$15P$16Pn718Pn91:Pn;1<Pn=2/$1>Pn?2/)1@PnA2/'20)1BPnC2/$1DPnE2/$1FPnG2/'20$1HPnI2/$1JPnK2/$1LPnM2/'20$1NPnO2/$1PPnQ2/$1RPnS2T$1UP&1V.W4X9.Y4Z9.[4\\9.]4^9Mw_y`],kf=[()=>Ap,`CDATASection`,`Pn!Mw"y`],Af=[()=>D_,`Comment`,`Pn!Mw"y`],jf=[()=>K,()=>sf,()=>il,()=>cl,`ownerDocument`,`elementId`,()=>R,`getElementById`,`DocumentFragment`,`Pn!n"n#n$4%9P&2&Pn',J1(!!Mw)y`],Mf=[()=>sl,`customElementRegistry`,`is`,`ElementCreationOptions`,`PPn!,J4"8&4#8Mw$y`],Nf=[()=>G,()=>t_,`currentTime`,()=>t_,`timelineTime`,`AnimationPlaybackEvent`,`Pn!Pn",J4#9Pn$,J4%9Mw&y`],Pf=[()=>G,()=>O_,`inputBuffer`,()=>O_,`outputBuffer`,`playbackTime`,`AudioProcessingEvent`,`Pn!n"4#9n$4%9'4&9Mw'y`],Ff=[()=>G,`returnValue`,`BeforeUnloadEvent`,`Pn!"4"Mw#y`],If=[()=>G,()=>Uc,`data`,()=>Hd,`timecode`,`BlobEvent`,`Pn!n"4#9n$4%9Mw&y`],Lf=[()=>G,`code`,`reason`,`wasClean`,`CloseEvent`,`Pn!'4"9&4#9)4$9Mw%y`],Rf=[()=>G,`command`,()=>U,`source`,`CommandEvent`,`Pn!&4"9Pn#,J4$9Mw%y`],zf=[()=>G,`skipped`,`ContentVisibilityAutoStateChangeEvent`,`Pn!)4"9Mw#y`],Bf=[()=>G,()=>Jd,()=>k_,`changed`,()=>Jd,()=>k_,`deleted`,`CookieChangeEvent`,`Pn!n#o""4$9n&o%"4'9Mw(y`],Vf=[`T`,()=>G,`detail`,`type`,`bubbles`,`cancelable`,`initCustomEvent`,`CustomEvent`,`"c!Pn"e"!4#9P&2$)2%8)2&8e#!2#8$1'Mw(y`],Hf=[()=>G,()=>A_,`acceleration`,()=>A_,`accelerationIncludingGravity`,`interval`,()=>j_,`rotationRate`,`DeviceMotionEvent`,`Pn!Pn",J4#9Pn$,J4%9'4&9Pn',J4(9Mw)y`],Uf=[()=>G,`absolute`,`alpha`,`beta`,`gamma`,`DeviceOrientationEvent`,`Pn!)4"9P',J4#9P',J4$9P',J4%9Mw&y`],Wf=[()=>G,()=>Jd,()=>M_,`fontfaces`,`FontFaceSetLoadEvent`,`Pn!n#o""4$9Mw%y`],Gf=[()=>G,()=>N_,`error`,`GPUUncapturedErrorEvent`,`Pn!n"4#9Mw$y`],Kf=[()=>G,()=>P_,`gamepad`,`GamepadEvent`,`Pn!n"4#9Mw$y`],qf=[()=>G,`newURL`,`oldURL`,`HashChangeEvent`,`Pn!&4"9&4#9Mw$y`],Jf=[()=>G,`newVersion`,`oldVersion`,`IDBVersionChangeEvent`,`Pn!P',J4"9'4#9Mw$y`],Yf=[()=>G,()=>F_,`port`,`MIDIConnectionEvent`,`Pn!Pn",J4#9Mw$y`],Xf=[()=>G,`data`,`MIDIMessageEvent`,`Pn!PW,J4"9Mw#y`],Zf=[()=>G,`initData`,`initDataType`,`MediaEncryptedEvent`,`Pn!P_,J4"9&4#9Mw$y`],Qf=[()=>G,`message`,()=>I_,`messageType`,`MediaKeyMessageEvent`,`Pn!_4"9n#4$9Mw%y`],$f=[()=>G,`matches`,`media`,`MediaQueryListEvent`,`Pn!)4"9&4#9Mw$y`],ep=[`T`,()=>G,`data`,`lastEventId`,`origin`,()=>Jd,()=>L_,`ports`,()=>R_,`source`,`type`,`bubbles`,`cancelable`,()=>R_,()=>L_,`initMessageEvent`,`MessageEvent`,`"c!Pn"e"!4#9&4$9&4%9n'o&"4(9Pn),J4*9P&2+)2,8)2-8"2#8&2%8&2$8Pn.,J2*8n/F2(8$10Mw1y`],tp=[()=>G,`canIntercept`,()=>z_,`destination`,`downloadRequest`,()=>tu,`formData`,`hasUAVisualTransition`,`hashChange`,`info`,()=>B_,`navigationType`,()=>Zc,`signal`,()=>U,`sourceElement`,`userInitiated`,()=>V_,`options`,`intercept`,`scroll`,`NavigateEvent`,`Pn!)4"9n#4$9P&,J4%9Pn&,J4'9)4(9)4)9"4*9n+4,9n-4.9Pn/,J409)419Pn2238$14P$15Mw6y`],np=[()=>G,()=>H_,`from`,()=>B_,`navigationType`,`NavigationCurrentEntryChangeEvent`,`Pn!n"4#9Pn$,J4%9Mw&y`],rp=[()=>G,()=>O_,`renderedBuffer`,`OfflineAudioCompletionEvent`,`Pn!n"4#9Mw$y`],ip=[()=>G,()=>lf,`viewTransition`,`PageRevealEvent`,`Pn!Pn",J4#9Mw$y`],ap=[()=>G,()=>U_,`activation`,()=>lf,`viewTransition`,`PageSwapEvent`,`Pn!Pn",J4#9Pn$,J4%9Mw&y`],op=[()=>G,`persisted`,`PageTransitionEvent`,`Pn!)4"9Mw#y`],sp=[()=>cp,`methodDetails`,`methodName`,`PaymentMethodChangeEvent`,`Pn!"4"9&4#9Mw$y`],cp=[()=>G,()=>W_,()=>G_,()=>W_,`detailsPromise`,`updateWith`,`PaymentRequestUpdateEvent`,`Pn!PPn"n$o#"J2%$1&Mw'y`],lp=[()=>G,()=>K_,`pictureInPictureWindow`,`PictureInPictureEvent`,`Pn!n"4#9Mw$y`],up=[()=>G,`hasUAVisualTransition`,`state`,`PopStateEvent`,`Pn!)4"9"4#9Mw$y`],dp=[()=>G,`promise`,`reason`,`PromiseRejectionEvent`,'Pn!"`4"9"4#9Mw$y'],fp=[()=>G,`tone`,`RTCDTMFToneChangeEvent`,`Pn!&4"9Mw#y`],pp=[()=>G,()=>q_,`channel`,`RTCDataChannelEvent`,`Pn!n"4#9Mw$y`],mp=[()=>G,()=>J_,`error`,`RTCErrorEvent`,`Pn!n"4#9Mw$y`],hp=[()=>G,`address`,`errorCode`,`errorText`,`port`,`url`,`RTCPeerConnectionIceErrorEvent`,`Pn!P&,J4"9'4#9&4$9P',J4%9&4&9Mw'y`],gp=[()=>G,()=>Y_,`candidate`,`RTCPeerConnectionIceEvent`,`Pn!Pn",J4#9Mw$y`],_p=[()=>G,()=>X_,`receiver`,()=>Jd,()=>Zs,`streams`,()=>gc,`track`,()=>Z_,`transceiver`,`RTCTrackEvent`,`Pn!n"4#9n%o$"4&9n'4(9n)4*9Mw+y`],vp=[()=>G,()=>Q_,`error`,`message`,`SpeechRecognitionErrorEvent`,`Pn!n"4#9&4$9Mw%y`],yp=[()=>G,`resultIndex`,()=>$_,`results`,`SpeechRecognitionEvent`,`Pn!'4"9n#4$9Mw%y`],bp=[()=>xp,()=>ev,`error`,`SpeechSynthesisErrorEvent`,`Pn!n"4#9Mw$y`],xp=[()=>G,`charIndex`,`charLength`,`elapsedTime`,`name`,()=>tv,`utterance`,`SpeechSynthesisEvent`,`Pn!'4"9'4#9'4$9&4%9n&4'9Mw(y`],Sp=[()=>G,`key`,`newValue`,`oldValue`,()=>nv,`storageArea`,`url`,`type`,`bubbles`,`cancelable`,()=>Pp,()=>nv,`initStorageEvent`,`StorageEvent`,`Pn!P&,J4"9P&,J4#9P&,J4$9Pn%,J4&9&4'9P&2()2)8)2*8P&,J2"8P&,J2$8P&,J2#8P&n+J2'8Pn,,J2&8$1-Mw.y`],Cp=[()=>G,()=>rv,`previousPriority`,`TaskPriorityChangeEvent`,`Pn!n"4#9Mw$y`],wp=[()=>Al,`data`,`type`,`bubbles`,`cancelable`,()=>lg,`view`,`initTextEvent`,`TextEvent`,`Pn!&4"9P&2#)2$8)2%8Pn&,J2'8&2"8$1(Mw)y`],Tp=[()=>G,()=>iv,`track`,`TrackEvent`,`Pn!Pn",J4#9Mw$y`],Ep=[()=>G,`statusMessage`,`WebGLContextEvent`,`Pn!&4"9Mw#y`],Dp=[()=>K,`node`,``,()=>K,`acceptNode`,`NodeFilter`,`PPn!2"'/#PPn$2"'1%MJw&y`],Op=[()=>Dp,`filter`,`pointerBeforeReferenceNode`,()=>K,`referenceNode`,()=>K,`root`,`whatToShow`,`detach`,()=>K,`nextNode`,()=>K,`previousNode`,`NodeIterator`,`PPn!,J4"9)4#9n$4%9n&4'9'4(9P$1)PPn*,J1+PPn,,J1-Mw.y`],kp=[()=>D_,()=>av,`target`,`ProcessingInstruction`,`Pn!n"&4#9Mw$y`],Ap=[()=>D_,()=>al,`wholeText`,`offset`,0,`splitText`,`Text`,`Pn!n"&4#9P'2$n%1&Mw'y`],jp=[()=>K,`currentNode`,()=>Dp,`filter`,()=>K,`root`,`whatToShow`,()=>K,`firstChild`,()=>K,`lastChild`,()=>K,`nextNode`,()=>K,`nextSibling`,()=>K,`parentNode`,()=>K,`previousNode`,()=>K,`previousSibling`,`TreeWalker`,`Pn!4"Pn#,J4$9n%4&9'4'9PPn(,J1)PPn*,J1+PPn,,J1-PPn.,J1/PPn0,J11PPn2,J13PPn4,J15Mw6y`],Mp=[()=>K,`anchorNode`,`anchorOffset`,`direction`,()=>K,`focusNode`,`focusOffset`,`isCollapsed`,`rangeCount`,`type`,()=>Of,`range`,`addRange`,()=>K,`node`,`offset`,`collapse`,`collapseToEnd`,`collapseToStart`,()=>K,`allowPartialContainment`,`containsNode`,`deleteFromDocument`,`empty`,()=>K,`extend`,()=>ov,`options`,()=>dg,`getComposedRanges`,`index`,()=>Of,`getRangeAt`,`alter`,`granularity`,`modify`,`removeAllRanges`,()=>Of,`removeRange`,()=>K,`selectAllChildren`,()=>K,()=>K,`setBaseAndExtent`,()=>K,`setPosition`,`toString`,`Selection`,`PPn!,J4"9'4#9&4$9Pn%,J4&9'4'9)4(9'4)9&4*9Pn+2,$1-PPn.,J2/'208$11P$12P$13Pn42/)258)16P$17P$18Pn92/'208$1:Pn;2<8n=F1>P'2?n@1AP&2B8&2$8&2C8$1DP$1EPnF2,$1GPnH2/$1IPnJ2"'2#nK2&'2'$1LPPnM,J2/'208$1NP&1OMwPy`],Np=[()=>sl,`customElementRegistry`,`selfOnly`,`ImportNodeOptions`,`Pn!4"8)4#8Mw$y`],Pp=[`hash`,`host`,`hostname`,`href`,`toString`,`origin`,`password`,`pathname`,`port`,`protocol`,`search`,()=>sv,`searchParams`,`username`,`toJSON`,`URL`,`P&4!&4"&4#&4$P&1%&4&9&4'&4(&4)&4*&4+n,4-9&4.P&1/Mw0y`],Fp=[``,`ViewTransitionUpdateCallback`,`PP"v!Mw"y`],Ip=[`types`,()=>Fp,`update`,`StartViewTransitionOptions`,`PP&F,J4!8Pn",J4#8Mw$y`],Lp=[()=>Xc,()=>G,`DOMContentLoaded`,()=>G,`fullscreenchange`,()=>G,`fullscreenerror`,()=>G,`pointerlockchange`,()=>G,`pointerlockerror`,()=>G,`readystatechange`,()=>G,`visibilitychange`,`DocumentEventMap`,`Pn!n"4#n$4%n&4'n(4)n*4+n,4-n.4/Mw0y`],Rp=[`closed`,`open`,`ShadowRootMode`,`P.!."Jw#y`],zp=[`manual`,`named`,`SlotAssignmentMode`,`P.!."Jw#y`],Bp=[()=>G,`slotchange`,`ShadowRootEventMap`,`Pn!4"Mw#y`],Vp=[()=>cv,`type`,0,`this`,()=>lv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>lv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLAudioElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Hp=[()=>R,`href`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBaseElement`,`Pn!&4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Up=[()=>R,`cite`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLQuoteElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Wp=[()=>R,()=>v_,`aLink`,`background`,`bgColor`,`link`,`text`,`vLink`,`type`,0,`this`,()=>uv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>uv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBodyElement`,`Pn!n"&4#&4$&4%&4&&4'&4(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],Gp=[()=>R,`clear`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLBRElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Kp=[()=>R,()=>dv,`command`,()=>U,`commandForElement`,`disabled`,()=>Xl,`form`,`formAction`,`formEnctype`,`formMethod`,`formNoValidate`,`formTarget`,()=>Kd,()=>cm,`labels`,`name`,`submit`,`reset`,`button`,`type`,`validationMessage`,()=>$l,`validity`,`value`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLButtonElement`,`Pn!n"&4#Pn$,J4%)4&Pn',J4(9&4)&4*&4+)4,&4-n/o."409&41P.2.3.4J45&469n7489&49)4:9P)1;P)1<P&2=$1>P"25Pn?2@nA"f2B"/C2DP)nEJ2F8$1GP&25nH2DP)nIJ2F8$1GP"25PnJ2@nK"f2B"/C2DP)nLJ2F8$1MP&25nN2DP)nOJ2F8$1MMwPy`],qp=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableCaptionElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Jp=[()=>R,`align`,`ch`,`chOff`,`span`,`vAlign`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableColElement`,`Pn!&4"&4#&4$'4%&4&&4'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Yp=[()=>R,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDataElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Xp=[()=>R,()=>yl,()=>ym,`options`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDataListElement`,`Pn!n#o""4$9P"2%Pn&2'n("f2)"/*2+P)n,J2$8$1-P&2%n.2+P)n/J2$8$1-P"2%Pn02'n1"f2)"/*2+P)n2J2$8$13P&2%n42+P)n5J2$8$13Mw6y`],Zp=[()=>R,`cite`,`dateTime`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLModElement`,`Pn!&4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Qp=[()=>R,`name`,`open`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDetailsElement`,`Pn!&4")4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],$p=[()=>R,`closedBy`,`open`,`returnValue`,`close`,`requestClose`,`show`,`showModal`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDialogElement`,`Pn!&4")4#&4$P&2$8$1%P&2$8$1&P$1'P$1(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],em=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDivElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],tm=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDListElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],nm=[()=>R,`disabled`,()=>ef,`elements`,()=>Xl,`form`,`name`,`type`,`validationMessage`,()=>$l,`validity`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFieldSetElement`,`Pn!)4"n#4$9Pn%,J4&9&4'&4(9&4)9n*4+9)4,9P)1-P)1.P&2/$10P"2(Pn122n3"f24"/526P)n7J288$19P&2(n:26P)n;J288$19P"2(Pn<22n="f24"/526P)n>J288$1?P&2(n@26P)nAJ288$1?MwBy`],rm=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHeadingElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],im=[()=>R,`align`,`color`,`noShade`,`size`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHRElement`,`Pn!&4"&4#)4$&4%&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],am=[()=>R,`version`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLHtmlElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],om=[()=>R,`align`,`allow`,`allowFullscreen`,()=>cl,`contentDocument`,()=>pf,`contentWindow`,`frameBorder`,`height`,`eager`,`lazy`,`loading`,`longDesc`,`marginHeight`,`marginWidth`,`name`,()=>fv,`referrerPolicy`,`scrolling`,`src`,`srcdoc`,`width`,()=>cl,`getSVGDocument`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLIFrameElement`,`Pn!&4"&4#)4$Pn%,J4&9Pn',J4(9&4)&4*P.+.,J4-&4.&4/&40&41n243!!&44&45&46&47PPn8,J19P"2:Pn;2<n="f2>"/?2@P)nAJ2B8$1CP&2:nD2@P)nEJ2B8$1CP"2:PnF2<nG"f2>"/?2@P)nHJ2B8$1IP&2:nJ2@P)nKJ2B8$1IMwLy`],sm=[()=>R,()=>dv,`accept`,`align`,`alt`,()=>pv,`autocomplete`,`capture`,`checked`,`defaultChecked`,`defaultValue`,`dirName`,`disabled`,()=>mv,`files`,()=>Xl,`form`,`formAction`,`formEnctype`,`formMethod`,`formNoValidate`,`formTarget`,`height`,`indeterminate`,()=>Kd,()=>cm,`labels`,()=>Xp,`list`,`max`,`maxLength`,`min`,`minLength`,`multiple`,`name`,`pattern`,`placeholder`,`readOnly`,`required`,()=>hv,`selectionDirection`,`selectionEnd`,`selectionStart`,`size`,`src`,`step`,`type`,`useMap`,`validationMessage`,()=>$l,`validity`,`value`,`valueAsDate`,`valueAsNumber`,()=>Jd,()=>gv,`webkitEntries`,`webkitdirectory`,`width`,`willValidate`,`checkValidity`,`reportValidity`,`select`,`error`,`setCustomValidity`,`replacement`,`setRangeText`,`start`,`end`,()=>_v,`selectionMode`,()=>hv,`direction`,`setSelectionRange`,`showPicker`,`n`,`stepDown`,`stepUp`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLInputElement`,`Pn!n"&4#&4$&4%n&4'&4()4))4*&4+&4,)4-Pn.,J4/Pn0,J419&42&43&44)45&46'47)48Pn:o9",J4;9Pn<,J4=9&4>'4?&4@'4A)4B&4C&4D&4E)4F)4GPnH,J4IP',J4JP',J4K'4L&4M&4N&4O&4P&4Q9nR4S9&4TPT,J4U'4VnXoW"4Y9)4Z'4[)4\\9P)1]P)1^P$1_P&2\`$1aP&2b$1cP&2b'2d'2enf2g8$1cPP',J2dP',J2enh2i8$1jP$1kP'2l8$1mP'2l8$1nP"2OPno2pnq"f2r"/s2tP)nuJ2v8$1wP&2Onx2tP)nyJ2v8$1wP"2OPnz2pn{"f2r"/s2tP)n|J2v8$1}P&2On~2tP)nJ2v8$1}Mwy`],cm=[()=>R,()=>R,`control`,()=>Xl,`form`,`htmlFor`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLabelElement`,`Pn!Pn",J4#9Pn$,J4%9&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],lm=[()=>R,`align`,()=>Xl,`form`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLegendElement`,`Pn!&4"Pn#,J4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],um=[()=>R,`type`,`value`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLIElement`,`Pn!&4"'4#P"2"Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2"n-2)P)n.J2+8$1,P"2"Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2"n32)P)n4J2+8$12Mw5y`],dm=[()=>R,()=>av,`as`,`charset`,`crossOrigin`,`disabled`,`high`,`low`,`auto`,`fetchPriority`,`href`,`hreflang`,`imageSizes`,`imageSrcset`,`integrity`,`media`,`referrerPolicy`,`rel`,`rev`,`target`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLLinkElement`,`Pn!n"&4#!!&4$P&,J4%)4&P.'.(.)J4*&4+&4,&4-&4.&4/&40&41&42!!&43!!&44&45P"25Pn627n8"f29"/:2;P)n<J2=8$1>P&25n?2;P)n@J2=8$1>P"25PnA27nB"f29"/:2;P)nCJ2=8$1DP&25nE2;P)nFJ2=8$1DMwGy`],fm=[()=>R,()=>ef,`areas`,`name`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMapElement`,`Pn!n"4#9&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],pm=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMenuElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],mm=[()=>R,`content`,`httpEquiv`,`media`,`name`,`scheme`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMetaElement`,`Pn!&4"&4#&4$&4%&4&P"2'Pn(2)n*"f2+"/,2-P)n.J2/8$10P&2'n12-P)n2J2/8$10P"2'Pn32)n4"f2+"/,2-P)n5J2/8$16P&2'n72-P)n8J2/8$16Mw9y`],hm=[()=>R,`high`,()=>Kd,()=>cm,`labels`,`low`,`max`,`min`,`optimum`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMeterElement`,`Pn!'4"n$o#"4%9'4&'4''4('4)'4*P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],gm=[()=>R,`align`,`archive`,`border`,`code`,`codeBase`,`codeType`,()=>cl,`contentDocument`,()=>pf,`contentWindow`,`data`,`declare`,()=>Xl,`form`,`height`,`hspace`,`name`,`standby`,`type`,`useMap`,`validationMessage`,()=>$l,`validity`,`vspace`,`width`,`willValidate`,`checkValidity`,()=>cl,`getSVGDocument`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLObjectElement`,`Pn!&4"&4#&4$&4%&4&&4'Pn(,J4)9Pn*,J4+9&4,)4-Pn.,J4/9&40'41&42&43&44&45&469n7489'49&4:)4;9P)1<PPn=,J1>P)1?P&2@$1AP"24PnB2CnD"f2E"/F2GP)nHJ2I8$1JP&24nK2GP)nLJ2I8$1JP"24PnM2CnN"f2E"/F2GP)nOJ2I8$1PP&24nQ2GP)nRJ2I8$1PMwSy`],_m=[()=>R,`compact`,`reversed`,`start`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOListElement`,`Pn!)4")4#'4$&4%P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],vm=[()=>R,`disabled`,`label`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOptGroupElement`,`Pn!)4"&4#P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],ym=[()=>R,`defaultSelected`,`disabled`,()=>Xl,`form`,`index`,`label`,`selected`,`text`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOptionElement`,`Pn!)4")4#Pn$,J4%9'4&9&4')4(&4)&4*P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],bm=[()=>R,`defaultValue`,()=>Xl,`form`,()=>Kd,()=>cm,`labels`,`name`,`type`,`validationMessage`,()=>$l,`validity`,`value`,`willValidate`,`checkValidity`,`reportValidity`,`error`,`setCustomValidity`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLOutputElement`,`Pn!&4"Pn#,J4$9!!n&o%"4'9&4(&4)9&4*9n+4,9&4-)4.9P)1/P)10P&21$12P"2)Pn324n5"f26"/728P)n9J2:8$1;P&2)n<28P)n=J2:8$1;P"2)Pn>24n?"f26"/728P)n@J2:8$1AP&2)nB28P)nCJ2:8$1AMwDy`],xm=[()=>R,`align`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLParagraphElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Sm=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLPictureElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Cm=[()=>R,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLPreElement`,`Pn!'4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],wm=[()=>R,()=>Kd,()=>cm,`labels`,`max`,`position`,`value`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLProgressElement`,`Pn!n#o""4$9'4%'4&9'4'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Tm=[()=>R,()=>pv,`autocomplete`,`disabled`,()=>Xl,`form`,()=>Kd,()=>cm,`labels`,`length`,`multiple`,`name`,()=>vv,`options`,`required`,`selectedIndex`,()=>yl,()=>ym,`selectedOptions`,`size`,`select-one`,`select-multiple`,`type`,`validationMessage`,()=>$l,`validity`,`value`,`willValidate`,()=>ym,()=>vm,`element`,()=>R,`before`,`add`,`checkValidity`,`index`,()=>ym,`item`,()=>ym,`namedItem`,`remove`,`reportValidity`,`error`,`setCustomValidity`,`showPicker`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,()=>ym,()=>vm,`HTMLSelectElement`,`Pn!n"4#)4$Pn%,J4&9n(o'"4)9'4*)4+&4,n-4.9)4/'40n2o1"439'44P.5.6J479&489n94:9&4;)4<9PPn=n>J2?Pn@',J2A8$1BP)1CP'2DPnE,J1FP&2,PnG,J1HP$1IP'2D$1IP)1JP&2K$1LP$1MP"27PnN2OnP"f2Q"/R2SP)nTJ2.8$1UP&27nV2SP)nWJ2.8$1UP"27PnX2OnY"f2Q"/R2SP)nZJ2.8$1[P&27n\\2SP)n]J2.8$1['Pn^n_JLMw\`y`],Em=[()=>R,`height`,`media`,`sizes`,`src`,`srcset`,`type`,`width`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSourceElement`,`Pn!'4"&4#&4$&4%&4&&4''4(P"2'Pn)2*n+"f2,"/-2.P)n/J208$11P&2'n22.P)n3J208$11P"2'Pn42*n5"f2,"/-2.P)n6J208$17P&2'n82.P)n9J208$17Mw:y`],Dm=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLSpanElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Om=[()=>R,()=>av,`disabled`,`media`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLStyleElement`,`Pn!n"!!)4#&4$&4%P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],km=[()=>R,`align`,`bgColor`,`border`,()=>qp,`caption`,`cellPadding`,`cellSpacing`,`frame`,()=>yl,()=>Im,`rows`,`rules`,`summary`,()=>yl,()=>Am,`tBodies`,()=>Am,`tFoot`,()=>Am,`tHead`,`width`,()=>qp,`createCaption`,()=>Am,`createTBody`,()=>Am,`createTFoot`,()=>Am,`createTHead`,`deleteCaption`,`index`,`deleteRow`,`deleteTFoot`,`deleteTHead`,()=>Im,`insertRow`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableElement`,`Pn!&4"&4#&4$Pn%,J4&&4'&4(&4)n+o*"4,9&4-&4.n0o/"419Pn2,J43Pn4,J45&46Pn718Pn91:Pn;1<Pn=1>P$1?P'2@$1AP$1BP$1CP'2@8nD1EP"2FPnG2HnI"f2J"/K2LP)nMJ2N8$1OP&2FnP2LP)nQJ2N8$1OP"2FPnR2HnS"f2J"/K2LP)nTJ2N8$1UP&2FnV2LP)nWJ2N8$1UMwXy`],Am=[()=>R,`align`,`ch`,`chOff`,()=>yl,()=>Im,`rows`,`vAlign`,`index`,`deleteRow`,()=>Im,`insertRow`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableSectionElement`,`Pn!&4"&4#&4$n&o%"4'9&4(P'2)$1*P'2)8n+1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],jm=[()=>R,`abbr`,`align`,`axis`,`bgColor`,`cellIndex`,`ch`,`chOff`,`colSpan`,`headers`,`height`,`noWrap`,`rowSpan`,`scope`,`vAlign`,`width`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableCellElement`,`Pn!&4"&4#&4$&4%'4&9&4'&4('4)&4*&4+)4,'4-&4.&4/&40P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],Mm=[()=>R,()=>jf,`content`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootMode`,`shadowRootSerializable`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTemplateElement`,`Pn!n"4#9)4$&4%)4&&4')4(P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],Nm=[()=>R,()=>pv,`autocomplete`,`cols`,`defaultValue`,`dirName`,`disabled`,()=>Xl,`form`,()=>Kd,()=>cm,`labels`,`maxLength`,`minLength`,`name`,`placeholder`,`readOnly`,`required`,`rows`,()=>hv,`selectionDirection`,`selectionEnd`,`selectionStart`,`textLength`,`type`,`validationMessage`,()=>$l,`validity`,`value`,`willValidate`,`wrap`,`checkValidity`,`reportValidity`,`select`,`error`,`setCustomValidity`,`replacement`,`setRangeText`,`start`,`end`,()=>_v,`selectionMode`,()=>hv,`direction`,`setSelectionRange`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTextAreaElement`,`Pn!n"4#'4$&4%&4&)4'Pn(,J4)9n+o*"4,9'4-'4.&4/&40)41)42'43n445'46'47'489&499&4:9n;4<9&4=)4>9&4?P)1@P)1AP$1BP&2C$1DP&2E$1FP&2E'2G'2HnI2J8$1FPP',J2GP',J2HnK2L8$1MP"29PnN2OnP"f2Q"/R2SP)nTJ2U8$1VP&29nW2SP)nXJ2U8$1VP"29PnY2OnZ"f2Q"/R2SP)n[J2U8$1\\P&29n]2SP)n^J2U8$1\\Mw_y`],Pm=[()=>R,`dateTime`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTimeElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Fm=[()=>R,`text`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTitleElement`,`Pn!&4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Im=[()=>R,`align`,`bgColor`,()=>yl,()=>jm,`cells`,`ch`,`chOff`,`rowIndex`,`sectionRowIndex`,`vAlign`,`index`,`deleteCell`,()=>jm,`insertCell`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTableRowElement`,`Pn!&4"&4#n%o$"4&9&4'&4('4)9'4*9&4+P'2,$1-P'2,8n.1/P"20Pn122n3"f24"/526P)n7J288$19P&20n:26P)n;J288$19P"20Pn<22n="f24"/526P)n>J288$1?P&20n@26P)nAJ288$1?MwBy`],Lm=[()=>R,`default`,`kind`,`label`,`readyState`,`src`,`srclang`,()=>iv,`track`,0,`NONE`,1,`LOADING`,2,`LOADED`,3,`ERROR`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLTrackElement`,`Pn!)4"&4#&4$'4%9&4&&4'n(4)9.*4+9.,4-9..4/9.0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],Rm=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLUListElement`,`Pn!)4"&4#P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],zm=[()=>cv,`disablePictureInPicture`,`height`,0,`this`,()=>lp,`ev`,``,`onenterpictureinpicture`,0,()=>lp,`onleavepictureinpicture`,`playsInline`,`poster`,`videoHeight`,`videoWidth`,`width`,`handle`,`cancelVideoFrameCallback`,()=>yv,`getVideoPlaybackQuality`,()=>K_,`requestPictureInPicture`,()=>bv,`callback`,`requestVideoFrameCallback`,`type`,0,()=>xv,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>xv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLVideoElement`,`Pn!)4"'4#PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,)4-&4.'4/9'409'41P'22$13Pn415Pn6\`17Pn829'1:P"2;Pn<2%n="f2'"/(2>P)n?J2@8$1AP&2;nB2>P)nCJ2@8$1AP"2;PnD2%nE"f2'"/(2>P)nFJ2@8$1GP&2;nH2>P)nIJ2@8$1GMwJy`],Bm=[()=>g_,()=>Sv,`download`,`hreflang`,`ping`,`referrerPolicy`,`rel`,()=>Cv,`target`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAElement`,`Pn!n"&4#&4$&4%&4&&4'!!n(4)9&4*P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Vm=[()=>wv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Hm=[()=>wv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateMotionElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Um=[()=>wv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimateTransformElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Wm=[()=>Tv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`r`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGCircleElement`,`Pn!n"4#9n$4%9n&4'9P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Gm=[()=>xl,()=>Ev,`clipPathUnits`,()=>Dv,`transform`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGClipPathElement`,`Pn!n"4#9n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],Km=[()=>g_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGDefsElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],qm=[()=>xl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGDescElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Jm=[()=>Tv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`rx`,()=>Q,`ry`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGEllipseElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Ym=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>Cv,`in2`,()=>Ev,`mode`,0,`SVG_FEBLEND_MODE_UNKNOWN`,1,`SVG_FEBLEND_MODE_NORMAL`,2,`SVG_FEBLEND_MODE_MULTIPLY`,3,`SVG_FEBLEND_MODE_SCREEN`,4,`SVG_FEBLEND_MODE_DARKEN`,5,`SVG_FEBLEND_MODE_LIGHTEN`,6,`SVG_FEBLEND_MODE_OVERLAY`,7,`SVG_FEBLEND_MODE_COLOR_DODGE`,8,`SVG_FEBLEND_MODE_COLOR_BURN`,9,`SVG_FEBLEND_MODE_HARD_LIGHT`,10,`SVG_FEBLEND_MODE_SOFT_LIGHT`,11,`SVG_FEBLEND_MODE_DIFFERENCE`,12,`SVG_FEBLEND_MODE_EXCLUSION`,13,`SVG_FEBLEND_MODE_HUE`,14,`SVG_FEBLEND_MODE_SATURATION`,15,`SVG_FEBLEND_MODE_COLOR`,16,`SVG_FEBLEND_MODE_LUMINOSITY`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEBlendElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9.C4D9.E4F9.G4H9.I4J9P"2KPnL2MnN"f2O"/P2QP)nRJ2S8$1TP&2KnU2QP)nVJ2S8$1TP"2KPnW2MnX"f2O"/P2QP)nYJ2S8$1ZP&2Kn[2QP)n\\J2S8$1ZMw]y`],Xm=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>Ev,`type`,()=>kv,`values`,0,`SVG_FECOLORMATRIX_TYPE_UNKNOWN`,1,`SVG_FECOLORMATRIX_TYPE_MATRIX`,2,`SVG_FECOLORMATRIX_TYPE_SATURATE`,3,`SVG_FECOLORMATRIX_TYPE_HUEROTATE`,4,`SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEColorMatrixElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429P"2&Pn324n5"f26"/728P)n9J2:8$1;P&2&n<28P)n=J2:8$1;P"2&Pn>24n?"f26"/728P)n@J2:8$1AP&2&nB28P)nCJ2:8$1AMwDy`],Zm=[()=>xl,()=>Ov,()=>Cv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEComponentTransferElement`,`Pn!n"n#4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],Qm=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>Cv,`in2`,()=>$,`k1`,()=>$,`k2`,()=>$,`k3`,()=>$,`k4`,()=>Ev,`operator`,0,`SVG_FECOMPOSITE_OPERATOR_UNKNOWN`,1,`SVG_FECOMPOSITE_OPERATOR_OVER`,2,`SVG_FECOMPOSITE_OPERATOR_IN`,3,`SVG_FECOMPOSITE_OPERATOR_OUT`,4,`SVG_FECOMPOSITE_OPERATOR_ATOP`,5,`SVG_FECOMPOSITE_OPERATOR_XOR`,6,`SVG_FECOMPOSITE_OPERATOR_ARITHMETIC`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFECompositeElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409.1429.3449.5469.7489.94:9.;4<9.=4>9P"2?Pn@2AnB"f2C"/D2EP)nFJ2G8$1HP&2?nI2EP)nJJ2G8$1HP"2?PnK2AnL"f2C"/D2EP)nMJ2G8$1NP&2?nO2EP)nPJ2G8$1NMwQy`],$m=[()=>xl,()=>Ov,()=>$,`bias`,()=>$,`divisor`,()=>Ev,`edgeMode`,()=>Cv,`in1`,()=>kv,`kernelMatrix`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>Av,`orderX`,()=>Av,`orderY`,()=>jv,`preserveAlpha`,()=>Av,`targetX`,()=>Av,`targetY`,0,`SVG_EDGEMODE_UNKNOWN`,1,`SVG_EDGEMODE_DUPLICATE`,2,`SVG_EDGEMODE_WRAP`,3,`SVG_EDGEMODE_NONE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEConvolveMatrixElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409n1429n3449n5469n7489n94:9.;4<9.=4>9.?4@9.A4B9P"2CPnD2EnF"f2G"/H2IP)nJJ2K8$1LP&2CnM2IP)nNJ2K8$1LP"2CPnO2EnP"f2G"/H2IP)nQJ2K8$1RP&2CnS2IP)nTJ2K8$1RMwUy`],eh=[()=>xl,()=>Ov,()=>$,`diffuseConstant`,()=>Cv,`in1`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>$,`surfaceScale`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDiffuseLightingElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],th=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>Cv,`in2`,()=>$,`scale`,()=>Ev,`xChannelSelector`,()=>Ev,`yChannelSelector`,0,`SVG_CHANNEL_UNKNOWN`,1,`SVG_CHANNEL_R`,2,`SVG_CHANNEL_G`,3,`SVG_CHANNEL_B`,4,`SVG_CHANNEL_A`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDisplacementMapElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9.-4.9./409.1429.3449.5469P"27Pn829n:"f2;"/<2=P)n>J2?8$1@P&27nA2=P)nBJ2?8$1@P"27PnC29nD"f2;"/<2=P)nEJ2?8$1FP&27nG2=P)nHJ2?8$1FMwIy`],nh=[()=>xl,()=>$,`azimuth`,()=>$,`elevation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDistantLightElement`,`Pn!n"4#9n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],rh=[()=>xl,()=>Ov,()=>$,`dx`,()=>$,`dy`,()=>Cv,`in1`,()=>$,`stdDeviationX`,()=>$,`stdDeviationY`,`setStdDeviation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEDropShadowElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9P'2*'2,$1-P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],ih=[()=>xl,()=>Ov,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFloodElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],ah=[()=>Mv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncAElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],oh=[()=>Mv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncBElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],sh=[()=>Mv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncGElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],ch=[()=>Mv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEFuncRElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],lh=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>$,`stdDeviationX`,()=>$,`stdDeviationY`,`setStdDeviation`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEGaussianBlurElement`,`Pn!n"n#4$9n%4&9n'4(9P'2&'2($1)P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],uh=[()=>xl,()=>Ov,()=>Sv,()=>Nv,`preserveAspectRatio`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEImageElement`,`Pn!n"n#n$4%9P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],dh=[()=>xl,()=>Ov,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMergeElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],fh=[()=>xl,()=>Cv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMergeNodeElement`,`Pn!n"4#9P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],ph=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>Ev,`operator`,()=>$,`radiusX`,()=>$,`radiusY`,0,`SVG_MORPHOLOGY_OPERATOR_UNKNOWN`,1,`SVG_MORPHOLOGY_OPERATOR_ERODE`,2,`SVG_MORPHOLOGY_OPERATOR_DILATE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEMorphologyElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9.+4,9.-4.9./409P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],mh=[()=>xl,()=>Ov,()=>$,`dx`,()=>$,`dy`,()=>Cv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEOffsetElement`,`Pn!n"n#4$9n%4&9n'4(9P"2)Pn*2+n,"f2-"/.2/P)n0J218$12P&2)n32/P)n4J218$12P"2)Pn52+n6"f2-"/.2/P)n7J218$18P&2)n92/P)n:J218$18Mw;y`],hh=[()=>xl,()=>$,`x`,()=>$,`y`,()=>$,`z`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFEPointLightElement`,`Pn!n"4#9n$4%9n&4'9P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],gh=[()=>xl,()=>Ov,()=>Cv,`in1`,()=>$,`kernelUnitLengthX`,()=>$,`kernelUnitLengthY`,()=>$,`specularConstant`,()=>$,`specularExponent`,()=>$,`surfaceScale`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFESpecularLightingElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],vh=[()=>xl,()=>$,`limitingConeAngle`,()=>$,`pointsAtX`,()=>$,`pointsAtY`,()=>$,`pointsAtZ`,()=>$,`specularExponent`,()=>$,`x`,()=>$,`y`,()=>$,`z`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFESpotLightElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],yh=[()=>xl,()=>Ov,()=>Cv,`in1`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFETileElement`,`Pn!n"n#4$9P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],bh=[()=>xl,()=>Ov,()=>$,`baseFrequencyX`,()=>$,`baseFrequencyY`,()=>Av,`numOctaves`,()=>$,`seed`,()=>Ev,`stitchTiles`,()=>Ev,`type`,0,`SVG_TURBULENCE_TYPE_UNKNOWN`,1,`SVG_TURBULENCE_TYPE_FRACTALNOISE`,2,`SVG_TURBULENCE_TYPE_TURBULENCE`,0,`SVG_STITCHTYPE_UNKNOWN`,1,`SVG_STITCHTYPE_STITCH`,2,`SVG_STITCHTYPE_NOSTITCH`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFETurbulenceElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9./409.1429.3449.5469.7489.94:9P"2.Pn;2<n="f2>"/?2@P)nAJ2B8$1CP&2.nD2@P)nEJ2B8$1CP"2.PnF2<nG"f2>"/?2@P)nHJ2B8$1IP&2.nJ2@P)nKJ2B8$1IMwLy`],xh=[()=>xl,()=>Sv,()=>Ev,`filterUnits`,()=>Q,`height`,()=>Ev,`primitiveUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGFilterElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],Sh=[()=>g_,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGForeignObjectElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Ch=[()=>g_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],wh=[()=>g_,()=>Sv,`crossOrigin`,()=>Q,`height`,()=>Nv,`preserveAspectRatio`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGImageElement`,`Pn!n"P&,J4#n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Th=[()=>Tv,()=>Q,`x1`,()=>Q,`x2`,()=>Q,`y1`,()=>Q,`y2`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGLineElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Eh=[()=>Pv,()=>Q,`x1`,()=>Q,`x2`,()=>Q,`y1`,()=>Q,`y2`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGLinearGradientElement`,`Pn!n"4#9n$4%9n&4'9n(4)9P"2*Pn+2,n-"f2."//20P)n1J228$13P&2*n420P)n5J228$13P"2*Pn62,n7"f2."//20P)n8J228$19P&2*n:20P)n;J228$19Mw<y`],Dh=[()=>xl,()=>__,()=>Q,`markerHeight`,()=>Ev,`markerUnits`,()=>Q,`markerWidth`,()=>Fv,`orientAngle`,()=>Ev,`orientType`,()=>Q,`refX`,()=>Q,`refY`,()=>b_,`angle`,`setOrientToAngle`,`setOrientToAuto`,0,`SVG_MARKERUNITS_UNKNOWN`,1,`SVG_MARKERUNITS_USERSPACEONUSE`,2,`SVG_MARKERUNITS_STROKEWIDTH`,0,`SVG_MARKER_ORIENT_UNKNOWN`,1,`SVG_MARKER_ORIENT_AUTO`,2,`SVG_MARKER_ORIENT_ANGLE`,3,`SVG_MARKER_ORIENT_AUTO_START_REVERSE`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMarkerElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9n+4,9n-4.9n/409Pn122$13P$14.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9P"2CPnD2EnF"f2G"/H2IP)nJJ2K8$1LP&2CnM2IP)nNJ2K8$1LP"2CPnO2EnP"f2G"/H2IP)nQJ2K8$1RP&2CnS2IP)nTJ2K8$1RMwUy`],Oh=[()=>xl,()=>Q,`height`,()=>Ev,`maskContentUnits`,()=>Ev,`maskUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMaskElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],kh=[()=>xl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMetadataElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Ah=[()=>xl,()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGMPathElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],jh=[()=>Tv,()=>$,`pathLength`,`distance`,()=>C_,`getPointAtLength`,`getTotalLength`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPathElement`,`Pn!n"4#9P'2$n%1&P'1'P"2(Pn)2*n+"f2,"/-2.P)n/J208$11P&2(n22.P)n3J208$11P"2(Pn42*n5"f2,"/-2.P)n6J208$17P&2(n82.P)n9J208$17Mw:y`],Mh=[()=>xl,()=>__,()=>Sv,()=>Q,`height`,()=>Ev,`patternContentUnits`,()=>Dv,`patternTransform`,()=>Ev,`patternUnits`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPatternElement`,`Pn!n"n#n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9n0419P"22Pn324n5"f26"/728P)n9J2:8$1;P&22n<28P)n=J2:8$1;P"22Pn>24n?"f26"/728P)n@J2:8$1AP&22nB28P)nCJ2:8$1AMwDy`],Nh=[()=>Tv,()=>Iv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPolygonElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Ph=[()=>Tv,()=>Iv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGPolylineElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Fh=[()=>Pv,()=>Q,`cx`,()=>Q,`cy`,()=>Q,`fr`,()=>Q,`fx`,()=>Q,`fy`,()=>Q,`r`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGRadialGradientElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Ih=[()=>Tv,()=>Q,`height`,()=>Q,`rx`,()=>Q,`ry`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGRectElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],Lh=[()=>xl,()=>Sv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGScriptElement`,`Pn!n"&4#P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Rh=[()=>wv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSetElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],zh=[()=>xl,()=>$,`offset`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGStopElement`,`Pn!n"4#9P"2$Pn%2&n'"f2("/)2*P)n+J2,8$1-P&2$n.2*P)n/J2,8$1-P"2$Pn02&n1"f2("/)2*P)n2J2,8$13P&2$n42*P)n5J2,8$13Mw6y`],Bh=[()=>xl,()=>av,`disabled`,`media`,`title`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGStyleElement`,`Pn!n")4#&4$&4%&4&P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],Vh=[()=>g_,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSwitchElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Hh=[()=>xl,()=>__,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGSymbolElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Uh=[()=>Lv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Wh=[()=>Rv,()=>Sv,()=>Ev,`method`,()=>Ev,`spacing`,()=>Q,`startOffset`,0,`TEXTPATH_METHODTYPE_UNKNOWN`,1,`TEXTPATH_METHODTYPE_ALIGN`,2,`TEXTPATH_METHODTYPE_STRETCH`,0,`TEXTPATH_SPACINGTYPE_UNKNOWN`,1,`TEXTPATH_SPACINGTYPE_AUTO`,2,`TEXTPATH_SPACINGTYPE_EXACT`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextPathElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409.1429.3449P"25Pn627n8"f29"/:2;P)n<J2=8$1>P&25n?2;P)n@J2=8$1>P"25PnA27nB"f29"/:2;P)nCJ2=8$1DP&25nE2;P)nFJ2=8$1DMwGy`],Gh=[()=>xl,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTitleElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],Kh=[()=>Lv,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTSpanElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],qh=[()=>g_,()=>Sv,()=>Q,`height`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGUseElement`,`Pn!n"n#4$9n%4&9n'4(9n)4*9P"2+Pn,2-n."f2/"/021P)n2J238$14P&2+n521P)n6J238$14P"2+Pn72-n8"f2/"/021P)n9J238$1:P&2+n;21P)n<J238$1:Mw=y`],Jh=[()=>xl,()=>__,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGViewElement`,`Pn!n"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],Yh=[`toString`,`CSSStyleValue`,`PP&1!Mw"y`],Xh=[`bottom`,`height`,`left`,`right`,`top`,`width`,`x`,`y`,`toJSON`,`DOMRectReadOnly`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9P"1)Mw*y`],Zh=[`length`,`index`,()=>U,`item`,()=>U,`HTMLCollectionBase`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],Qh=[()=>R,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLUnknownElement`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],$h=[()=>R,`compact`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLDirectoryElement`,`Pn!)4"P"2#Pn$2%n&"f2'"/(2)P)n*J2+8$1,P&2#n-2)P)n.J2+8$1,P"2#Pn/2%n0"f2'"/(2)P)n1J2+8$12P&2#n32)P)n4J2+8$12Mw5y`],eg=[()=>R,`color`,`face`,`size`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFontElement`,`Pn!&4"&4#&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],tg=[()=>R,()=>cl,`contentDocument`,()=>pf,`contentWindow`,`frameBorder`,`longDesc`,`marginHeight`,`marginWidth`,`name`,`noResize`,`scrolling`,`src`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFrameElement`,`Pn!Pn",J4#9Pn$,J4%9&4&&4'&4(&4)&4*)4+&4,&4-P"2.Pn/20n1"f22"/324P)n5J268$17P&2.n824P)n9J268$17P"2.Pn:20n;"f22"/324P)n<J268$1=P&2.n>24P)n?J268$1=Mw@y`],ng=[()=>R,()=>v_,`cols`,`rows`,`type`,0,`this`,()=>zv,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>zv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLFrameSetElement`,`Pn!n"&4#&4$P"2%Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2%n/2+P)n0J2-8$1.P"2%Pn12'n2"f2)"/*2+P)n3J2-8$14P&2%n52+P)n6J2-8$14Mw7y`],rg=[()=>R,`behavior`,`bgColor`,`direction`,`height`,`hspace`,`loop`,`scrollAmount`,`scrollDelay`,`trueSpeed`,`vspace`,`width`,`start`,`stop`,`type`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMarqueeElement`,`Pn!&4"&4#&4$&4%'4&'4''4('4))4*'4+&4,P$1-P$1.P"2/Pn021n2"f23"/425P)n6J278$18P&2/n925P)n:J278$18P"2/Pn;21n<"f23"/425P)n=J278$1>P&2/n?25P)n@J278$1>MwAy`],ig=[()=>R,`name`,`type`,`value`,`valueType`,0,`this`,()=>z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>z,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLParamElement`,`Pn!&4"&4#&4$&4%P"2#Pn&2'n("f2)"/*2+P)n,J2-8$1.P&2#n/2+P)n0J2-8$1.P"2#Pn12'n2"f2)"/*2+P)n3J2-8$14P&2#n52+P)n6J2-8$14Mw7y`],Z=[()=>Yc,()=>Xc,`SVGElementEventMap`,`Pn!n"Mw#y`],ag=[()=>Yc,()=>Xc,`MathMLElementEventMap`,`Pn!n"Mw#y`],og=[`auto`,`hide`,`show`,`FullscreenNavigationUI`,`P.!.".#Jw$y`],sg=[()=>Bv,`behavior`,`ScrollOptions`,`Pn!4"8Mw#y`],cg=[`center`,`end`,`nearest`,`start`,`ScrollLogicalPosition`,`P.!.".#.$Jw%y`],lg=[()=>W,()=>Vv,()=>uc,()=>v_,()=>Hv,()=>Uv,()=>Wv,()=>Gv,`clientInformation`,`closed`,()=>Kv,`cookieStore`,()=>sl,`customElements`,`devicePixelRatio`,()=>cl,`document`,()=>G,`event`,()=>qv,`external`,()=>U,`frameElement`,()=>pf,`frames`,()=>Jv,`history`,`innerHeight`,`innerWidth`,`length`,()=>Yv,`locationbar`,()=>Yv,`menubar`,`name`,()=>Xv,`navigation`,()=>Gv,`navigator`,0,`this`,()=>Hf,`ev`,``,`ondevicemotion`,0,()=>Uf,`ondeviceorientation`,0,()=>Uf,`ondeviceorientationabsolute`,0,()=>G,`onorientationchange`,`opener`,`orientation`,`originAgentCluster`,`outerHeight`,`outerWidth`,`pageXOffset`,`pageYOffset`,()=>pf,`parent`,()=>Yv,`personalbar`,()=>Zv,`screen`,`screenLeft`,`screenTop`,`screenX`,`screenY`,`scrollX`,`scrollY`,()=>Yv,`scrollbars`,0,()=>globalThis,`self`,()=>Qv,`speechSynthesis`,`status`,()=>Yv,`statusbar`,()=>Yv,`toolbar`,()=>pf,`top`,()=>$v,`visualViewport`,0,()=>globalThis,`window`,`message`,`alert`,`blur`,`handle`,`cancelIdleCallback`,`captureEvents`,`close`,`confirm`,`focus`,()=>U,`elt`,`pseudoElt`,()=>ey,`getComputedStyle`,()=>Mp,`getSelection`,`query`,()=>ty,`matchMedia`,`x`,`y`,`moveBy`,`moveTo`,()=>Pp,`url`,`target`,`features`,()=>pf,`open`,`targetOrigin`,()=>ny,`transfer`,`postMessage`,()=>ry,`options`,`print`,`_default`,`prompt`,`releaseEvents`,()=>iy,`callback`,()=>ay,`requestIdleCallback`,`resizeBy`,`width`,`height`,`resizeTo`,()=>Dl,`scroll`,()=>Dl,`scrollBy`,()=>Dl,`scrollTo`,`stop`,`type`,0,()=>oy,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>oy,()=>H,`removeEventListener`,()=>V,()=>H,0,`Window`,`Pn!n"n#n$n%n&n'n(4)9)4*9n+4,9n-4.9'4/9n0419Pn2-J439n4459Pn6,J479n8499n:4;9'4<9'4=9'4>9!!n?4@9nA4B9&4CnD4E9nF4G9PPnH2InJ2K"/L,J4MPPnN2InO2K"/L,J4PPPnQ2InR2K"/L,J4SPPnT2InU2K"/L,J4V"4W'4X9)4Y9'4Z9'4[9'4\\9'4]9n^4_9n\`4a9nb4c9'4d9'4e9'4f9'4g9'4h9'4i9nj4k9PnlimK4n9no4p9&4qnr4s9nt4u9Pnv,J4w9Pnx,J4y9Pnzi{K4|9P"2}8$1~P$1P'2$1P$1P$1P&2}8)1P$1
Pn2P&,J28n1PPn,J1P&2n1P'2'2$1P'2'2$1PP&nJ28&28&28Pn,J1P"2}&2nF28$1P"2}n28$1P$1\xA0P&2}8&2¡8P&,J1¢P$1£Pn¤2¥n¦28'1§P'2'2$1¨P'2©'2ª$1«Pn¬28$1P'2'2$1Pn®28$1¯P'2'2$1¯Pn°28$1±P'2'2$1±P$1²P"2³Pn´2Inµ"f2K"/L2¶P)n·J28$1¸P&2³n¹2¶P)nºJ28$1¸P"2³Pn»2In¼"f2K"/L2¶P)n½J28$1¾P&2³n¿2¶P)nÀJ28$1¾'nÁLMwÂy`],ug=[`none`,`copy`,`link`,`move`,`dropEffect`,`none`,`copy`,`copyLink`,`copyMove`,`link`,`linkMove`,`move`,`all`,`uninitialized`,`effectAllowed`,()=>mv,`files`,()=>sy,`items`,()=>Jd,`types`,`format`,`clearData`,`getData`,`data`,`setData`,()=>U,`image`,`x`,`y`,`setDragImage`,`DataTransfer`,`PP.!.".#.$J4%P.&.'.(.).*.+.,.-..J4/n0419n2439&o4"459P&268$17P&26&18P&26&29$1:Pn;2<'2='2>$1?Mw@y`],dg=[()=>E_,`StaticRange`,`Pn!Mw"y`],fg=[()=>G,`event`,`source`,`lineno`,`colno`,()=>cy,`error`,``,`OnErrorEventHandlerNonNull`,`PPPn!&J2"&2#8'2$8'2%8n&2'8"v(Mw)y`],pg=[`enforce`,`report`,`SecurityPolicyViolationEventDisposition`,`P.!."Jw#y`],mg=[`length`,`index`,()=>ly,`item`,()=>ly,`TouchList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],hg=[``,`off`,`on`,`AutoFillBase`,`P.!.".#Jw$y`],gg=[()=>Zh,`name`,()=>uy,()=>U,`namedItem`,`HTMLFormControlsCollection`,`Pn!P&2"Pn#n$,J1%Mw&y`],_g=[()=>eu,`FormDataEntryValue`,`Pn!&Jw"y`],vg=[()=>dy,`aspectRatio`,()=>fy,`autoGainControl`,()=>fy,`backgroundBlur`,()=>py,`channelCount`,()=>my,`deviceId`,()=>my,`displaySurface`,()=>hy,`echoCancellation`,()=>my,`facingMode`,()=>dy,`frameRate`,()=>my,`groupId`,()=>py,`height`,()=>fy,`noiseSuppression`,()=>py,`sampleRate`,()=>py,`sampleSize`,()=>py,`width`,`MediaTrackConstraintSet`,`Pn!4"8n#4$8n%4&8n'4(8n)4*8n+4,8n-4.8n/408n1428n3448n5468n7488n94:8n;4<8n=4>8Mw?y`],yg=[`max`,`min`,`DoubleRange`,`P'4!8'4"8Mw#y`],bg=[`max`,`min`,`ULongRange`,`P'4!8'4"8Mw#y`],xg=[()=>vf,()=>wh,`HTMLOrSVGImageElement`,`Pn!n"Jw#y`],Sg=[`codedHeight`,()=>Xh,`codedRect`,`codedWidth`,()=>gy,`colorSpace`,`displayHeight`,`displayWidth`,`duration`,()=>_y,`format`,`timestamp`,()=>Xh,`visibleRect`,()=>vy,`options`,`allocationSize`,0,`clone`,`close`,()=>Ed,`destination`,()=>vy,()=>yy,`copyTo`,`VideoFrame`,`P'4!9Pn",J4#9'4$9n%4&9'4'9'4(9P',J4)9Pn*,J4+9'4,9Pn-,J4.9Pn/208'11Pn213P$14Pn526n7208n8F\`19Mw:y`],Cg=[`rgba-float16`,`rgba-unorm8`,`ImageDataPixelFormat`,`P.!."Jw#y`],wg=[`ImageDataArray`,`Vw!y`],Tg=[`a`,`b`,`c`,`d`,`e`,`f`,`is2D`,`isIdentity`,`m11`,`m12`,`m13`,`m14`,`m21`,`m22`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m41`,`m42`,`m43`,`m44`,()=>Ou,`flipX`,()=>Ou,`flipY`,()=>Ou,`inverse`,()=>Eg,`other`,()=>Ou,`multiply`,`rotX`,`rotY`,`rotZ`,()=>Ou,`rotate`,`x`,`y`,`z`,`angle`,()=>Ou,`rotateAxisAngle`,()=>Ou,`rotateFromVector`,`scaleX`,`scaleY`,`scaleZ`,`originX`,`originY`,`originZ`,()=>Ou,`scale`,()=>Ou,`scale3d`,()=>Ou,`scaleNonUniform`,`sx`,()=>Ou,`skewX`,`sy`,()=>Ou,`skewY`,`toFloat32Array`,`toFloat64Array`,`toJSON`,()=>_u,`point`,()=>C_,`transformPoint`,`tx`,`ty`,`tz`,()=>Ou,`translate`,`toString`,`DOMMatrixReadOnly`,`P'4!9'4"9'4#9'4$9'4%9'4&9)4'9)4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459'469'479'489Pn91:Pn;1<Pn=1>Pn?2@8nA1BP'2C8'2D8'2E8nF1GP'2H8'2I8'2J8'2K8nL1MP'2H8'2I8nN1OP'2P8'2Q8'2R8'2S8'2T8'2U8nV1WP'2W8'2S8'2T8'2U8nX1YP'2P8'2Q8nZ1[P'2\\8n]1^P'2_8n\`1aP\\1bP]1cP"1dPne2f8ng1hP'2i8'2j8'2k8nl1mP&1nMwoy`],Eg=[()=>ku,`is2D`,`m13`,`m14`,`m23`,`m24`,`m31`,`m32`,`m33`,`m34`,`m43`,`m44`,`DOMMatrixInit`,`Pn!)4"8'4#8'4$8'4%8'4&8'4'8'4(8'4)8'4*8'4+8'4,8Mw-y`],Dg=[`WebGLVertexArrayObjectOES`,`PMw!y`],Og=[`ArrayBuffer`,`ArrayBufferTypes`,`P_4!Mw"y`],kg=[`opaque`,`premultiplied`,`GPUCanvasAlphaMode`,`P.!."Jw#y`],Ag=[()=>W,()=>Pg,()=>by,`adapterInfo`,()=>xy,`features`,()=>Sy,`limits`,()=>Cy,`lost`,0,`this`,()=>Gf,`ev`,``,`onuncapturederror`,()=>wy,`queue`,()=>Ty,`descriptor`,()=>Ey,`createBindGroup`,()=>Dy,()=>Oy,`createBindGroupLayout`,()=>ky,()=>Ay,`createBuffer`,()=>jy,()=>My,`createCommandEncoder`,()=>Ny,()=>Py,`createComputePipeline`,()=>Ny,()=>Py,`createComputePipelineAsync`,()=>Fy,()=>Iy,`createPipelineLayout`,()=>Ly,()=>Ry,`createQuerySet`,()=>zy,()=>By,`createRenderBundleEncoder`,()=>Vy,()=>Hy,`createRenderPipeline`,()=>Vy,()=>Hy,`createRenderPipelineAsync`,()=>Uy,()=>Wy,`createSampler`,()=>Gy,()=>Ky,`createShaderModule`,()=>qy,()=>Bd,`createTexture`,`destroy`,()=>Jy,()=>Yy,`importExternalTexture`,()=>N_,`popErrorScope`,()=>Xy,`filter`,`pushErrorScope`,`type`,0,()=>Zy,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Zy,()=>H,`removeEventListener`,()=>V,()=>H,`GPUDevice`,'Pn!n"n#4$9n%4&9n\'4(9n)`4*9PPn+2,n-2."//,J40n1429Pn324n516Pn724n819Pn:24n;1<Pn=248n>1?Pn@24nA1BPnC24nD`1EPnF24nG1HPnI24nJ1KPnL24nM1NPnO24nP1QPnR24nS`1TPnU248nV1WPnX24nY1ZPn[24n\\1]P$1^Pn_24n`1aPPnb,J`1cPnd2e$1fP"2gPnh2,ni"f2."//2jP)nkJ2l8$1mP&2gnn2jP)noJ2l8$1mP"2gPnp2,nq"f2."//2jP)nrJ2l8$1sP&2gnt2jP)nuJ2l8$1sMwvy'],jg=`astc-10x10-unorm astc-10x10-unorm-srgb astc-10x5-unorm astc-10x5-unorm-srgb astc-10x6-unorm astc-10x6-unorm-srgb astc-10x8-unorm astc-10x8-unorm-srgb astc-12x10-unorm astc-12x10-unorm-srgb astc-12x12-unorm astc-12x12-unorm-srgb astc-4x4-unorm astc-4x4-unorm-srgb astc-5x4-unorm astc-5x4-unorm-srgb astc-5x5-unorm astc-5x5-unorm-srgb astc-6x5-unorm astc-6x5-unorm-srgb astc-6x6-unorm astc-6x6-unorm-srgb astc-8x5-unorm astc-8x5-unorm-srgb astc-8x6-unorm astc-8x6-unorm-srgb astc-8x8-unorm astc-8x8-unorm-srgb bc1-rgba-unorm bc1-rgba-unorm-srgb bc2-rgba-unorm bc2-rgba-unorm-srgb bc3-rgba-unorm bc3-rgba-unorm-srgb bc4-r-snorm bc4-r-unorm bc5-rg-snorm bc5-rg-unorm bc6h-rgb-float bc6h-rgb-ufloat bc7-rgba-unorm bc7-rgba-unorm-srgb bgra8unorm bgra8unorm-srgb depth16unorm depth24plus depth24plus-stencil8 depth32float depth32float-stencil8 eac-r11snorm eac-r11unorm eac-rg11snorm eac-rg11unorm etc2-rgb8a1unorm etc2-rgb8a1unorm-srgb etc2-rgb8unorm etc2-rgb8unorm-srgb etc2-rgba8unorm etc2-rgba8unorm-srgb r16float r16sint r16snorm r16uint r16unorm r32float r32sint r32uint r8sint r8snorm r8uint r8unorm rg11b10ufloat rg16float rg16sint rg16snorm rg16uint rg16unorm rg32float rg32sint rg32uint rg8sint rg8snorm rg8uint rg8unorm rgb10a2uint rgb10a2unorm rgb9e5ufloat rgba16float rgba16sint rgba16snorm rgba16uint rgba16unorm rgba32float rgba32sint rgba32uint rgba8sint rgba8snorm rgba8uint rgba8unorm rgba8unorm-srgb stencil8 GPUTextureFormat P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.[.\\.].^._.\`.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.{.|.}.~.......
Jwy`.split(` `),Mg=[()=>Qy,`mode`,`GPUCanvasToneMapping`,`Pn!4"8Mw#y`],Ng=[`GPUTextureUsageFlags`,`'w!y`],Pg=[`label`,`GPUObjectBase`,`P&4!Mw"y`],Fg=[`GPUIntegerCoordinateOut`,`'w!y`],Ig=[`1d`,`2d`,`3d`,`GPUTextureDimension`,`P.!.".#Jw$y`],Lg=[`GPUSize32Out`,`'w!y`],Rg=[`GPUFlagsConstant`,`'w!y`],zg=[()=>$y,()=>eb,`arrayLayerCount`,()=>tb,`aspect`,()=>eb,`baseArrayLayer`,()=>eb,`baseMipLevel`,()=>nb,`dimension`,()=>jg,`format`,()=>eb,`mipLevelCount`,()=>Ng,`usage`,`GPUTextureViewDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8n*4+8n,4-8n.4/8n0418Mw2y`],Bg=[()=>Pg,`GPUTextureView`,`Pn!Mw"y`],Vg=[()=>rb,`view`,()=>ib,`options`,()=>ab,`read`,`releaseLock`,`ReadableStreamBYOBReader`,`Pn!P"2"n#2$8"o%"\`1&P$1'Mw(y`],Hg=[`R`,()=>rb,()=>ab,`read`,`releaseLock`,`ReadableStreamDefaultReader`,'"c!Pn"Pe#!o#"`1$P$1%Mw&y'],Ug=[()=>ob,`mode`,`ReadableStreamGetReaderOptions`,`Pn!4"8Mw#y`],Wg=[`T`,()=>Hg,()=>Vg,`ReadableStreamReader`,`b!Pe"!o""n#Jw$y`],Gg=[`R`,`W`,()=>Vd,`readable`,()=>qg,`writable`,`ReadableWritablePair`,`"c!"c"Pe"!o#"4$e""o%"4&Mw'y`],Kg=[`preventAbort`,`preventCancel`,`preventClose`,()=>Zc,`signal`,`StreamPipeOptions`,`P)4!8)4"8)4#8n$4%8Mw&y`],qg=[`W`,`locked`,`reason`,`abort`,`close`,()=>sb,`getWriter`,`WritableStream`,'"c!P)4"9P"2#8$`1$P$`1%Pe#!o&"1\'Mw(y'],Jg=[`T`,`length`,`separator`,`join`,`start`,`end`,`slice`,`ConcatArray`,`b!P'4"9'e"!LP&2#8&1$P'2%8'2&8e#!F1'Mw(y`],Yg=[`accumulate`,`add`,`auto`,`replace`,`CompositeOperationOrAuto`,`P.!.".#.$Jw%y`],Xg=[()=>cb,()=>lb,`composite`,()=>ub,`iterationComposite`,`pseudoElement`,`KeyframeEffectOptions`,`Pn!n"4#8n$4%8P&,J4&8Mw'y`],Zg=[()=>Qg,`offset`,`rangeName`,`TimelineRangeOffset`,`Pn!4"8P&,J4#8Mw$y`],Qg=[()=>Yh,()=>t_,`values`,0,`add`,()=>t_,0,`div`,()=>t_,`value`,`equals`,()=>t_,0,`max`,()=>t_,0,`min`,()=>t_,0,`mul`,()=>t_,0,`sub`,`unit`,()=>db,`to`,`units`,()=>fb,`toSum`,()=>pb,`type`,`CSSNumericValue`,`Pn!Pn"@2#n$1%Pn&@2#n'1(Pn)@2*)1+Pn,@2#n-1.Pn/@2#n011Pn2@2#n314Pn5@2#n617P&28n91:P&@2;n<1=Pn>1?Mw@y`],$g=[()=>Yh,`value`,`CSSKeywordValue`,`Pn!&4"Mw#y`],e_=[()=>t_,`currentTime`,()=>t_,`duration`,`AnimationTimeline`,`PPn!,J4"9Pn#,J4$9Mw%y`],t_=[()=>Qg,`CSSNumberish`,`P'n!Jw"y`],n_=[()=>mb,`getComputedTiming`,()=>cb,`getTiming`,()=>hb,`timing`,`updateTiming`,`AnimationEffect`,`PPn!1"Pn#1$Pn%2&8$1'Mw(y`],r_=[`finished`,`idle`,`paused`,`running`,`AnimationPlayState`,`P.!.".#.$Jw%y`],i_=[`active`,`persisted`,`removed`,`AnimationReplaceState`,`P.!.".#Jw$y`],a_=[()=>Nf,`cancel`,()=>Nf,`finish`,()=>Nf,`remove`,`AnimationEventMap`,`Pn!4"n#4$n%4&Mw'y`],o_=[`flatten`,`AssignedNodesOptions`,`P)4!8Mw"y`],s_=[()=>gb,()=>_b,`cssRules`,()=>vb,`ownerRule`,()=>_b,`rules`,`selector`,`style`,`index`,`addRule`,`deleteRule`,`rule`,`insertRule`,`removeRule`,`text`,0,`replace`,`replaceSync`,`CSSStyleSheet`,`Pn!n"4#9Pn$,J4%9n&4'9P&2(8&2)8'2*8'1+P'2*$1,P&2-'2*8'1.P'2*8$1/P&20n1\`12P&20$13Mw4y`],c_=[`length`,`index`,()=>s_,`item`,()=>s_,`StyleSheetList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],l_=[()=>W,0,`this`,()=>Wf,`ev`,``,`onloading`,0,()=>Wf,`onloadingdone`,0,()=>Wf,`onloadingerror`,0,`ready`,()=>yb,`status`,`font`,`text`,`check`,()=>M_,`load`,()=>M_,`value`,()=>M_,`key`,0,`parent`,`callbackfn`,`thisArg`,`forEach`,`type`,0,()=>bb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>bb,()=>H,`removeEventListener`,()=>V,()=>H,`FontFaceSet`,'Pn!PPn"2#n$2%"/&,J4\'PPn(2#n)2%"/&,J4*PPn+2#n,2%"/&,J4-n.`4/9n0419P&22&238)14P&22&238n5F`16PPn728n92:n;2<$/&2="2>8$1?P"2@PnA2#nB"f2%"/&2CP)nDJ2E8$1FP&2@nG2CP)nHJ2E8$1FP"2@PnI2#nJ"f2%"/&2CP)nKJ2E8$1LP&2@nM2CP)nNJ2E8$1LMwOy'],u_=[`prefix`,``,`lookupNamespaceURI`,`XPathNSResolver`,`PPP&,J2!P&,J/"PPP&,J2!P&,J1#MJw$y`],d_=[()=>K,`contextNode`,`type`,()=>f_,`result`,()=>f_,`evaluate`,`XPathExpression`,`PPn!2"'2#8Pn$,J2%8n&1'Mw(y`],f_=[`booleanValue`,`invalidIteratorState`,`numberValue`,`resultType`,()=>K,`singleNodeValue`,`snapshotLength`,`stringValue`,()=>K,`iterateNext`,`index`,()=>K,`snapshotItem`,0,`ANY_TYPE`,1,`NUMBER_TYPE`,2,`STRING_TYPE`,3,`BOOLEAN_TYPE`,4,`UNORDERED_NODE_ITERATOR_TYPE`,5,`ORDERED_NODE_ITERATOR_TYPE`,6,`UNORDERED_NODE_SNAPSHOT_TYPE`,7,`ORDERED_NODE_SNAPSHOT_TYPE`,8,`ANY_UNORDERED_NODE_TYPE`,9,`FIRST_ORDERED_NODE_TYPE`,`XPathResult`,`P)4!9)4"9'4#9'4$9Pn%,J4&9'4'9&4(9PPn),J1*P'2+Pn,,J1-..4/9.0419.2439.4459.6479.8499.:4;9.<4=9.>4?9.@4A9MwBy`],p_=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`ViewTransitionTypeSet`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],m_=[`hash`,`host`,`hostname`,`href`,`toString`,`origin`,`password`,`pathname`,`port`,`protocol`,`search`,`username`,`HTMLHyperlinkElementUtils`,`P&4!&4"&4#&4$P&1%&4&9&4'&4(&4)&4*&4+&4,Mw-y`],h_=[()=>cl,`type`,0,`this`,()=>Lp,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Lp,()=>H,`removeEventListener`,()=>V,()=>H,`XMLDocument`,`Pn!P"2"Pn#2$n%"f2&"/'2(P)n)J2*8$1+P&2"n,2(P)n-J2*8$1+P"2"Pn.2$n/"f2&"/'2(P)n0J2*8$11P&2"n22(P)n3J2*8$11Mw4y`],g_=[()=>xl,()=>xb,()=>Dv,`transform`,()=>Sb,`options`,()=>_l,`getBBox`,()=>Ou,`getCTM`,()=>Ou,`getScreenCTM`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGraphicsElement`,`Pn!n"n#4$9Pn%2&8n'1(PPn),J1*PPn+,J1,P"2-Pn.2/n0"f21"/223P)n4J2&8$15P&2-n623P)n7J2&8$15P"2-Pn82/n9"f21"/223P)n:J2&8$1;P&2-n<23P)n=J2&8$1;Mw>y`],__=[()=>Nv,`preserveAspectRatio`,()=>Cb,`viewBox`,`SVGFitToViewBox`,`Pn!4"9n#4$9Mw%y`],v_=[0,`this`,()=>G,`ev`,``,`onafterprint`,0,()=>G,`onbeforeprint`,0,()=>Ff,`onbeforeunload`,0,()=>Kf,`ongamepadconnected`,0,()=>Kf,`ongamepaddisconnected`,0,()=>qf,`onhashchange`,0,()=>G,`onlanguagechange`,0,()=>ep,`onmessage`,0,()=>ep,`onmessageerror`,0,()=>G,`onoffline`,0,()=>G,`ononline`,0,()=>op,`onpagehide`,0,()=>ip,`onpagereveal`,0,()=>op,`onpageshow`,0,()=>ap,`onpageswap`,0,()=>up,`onpopstate`,0,()=>dp,`onrejectionhandled`,0,()=>Sp,`onstorage`,0,()=>dp,`onunhandledrejection`,0,()=>G,`onunload`,`type`,0,()=>wb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>wb,()=>H,`removeEventListener`,()=>V,()=>H,`WindowEventHandlers`,'PPPn!2"n#2$"/%,J4&PPn\'2"n(2$"/%,J4)PPn*2"n+2$"/%,J4,PPn-2"n.2$"/%,J4/PPn02"n12$"/%,J42PPn32"n42$"/%,J45PPn62"n72$"/%,J48PPn92"n:2$"/%,J4;PPn<2"n=2$"/%,J4>PPn?2"n@2$"/%,J4APPnB2"nC2$"/%,J4DPPnE2"nF2$"/%,J4GPPnH2"nI2$"/%,J4JPPnK2"nL2$"/%,J4MPPnN2"nO2$"/%,J4PPPnQ2"nR2$"/%,J4SPPnT2"nU2$"/%,J4VPPnW2"nX2$"/%,J4YPPnZ2"n[2$"/%,J4\\PPn]2"n^2$"/%,J4_P"2`Pna2"nb"f2$"/%2cP)ndJ2e8$1fP&2`ng2cP)nhJ2e8$1fP"2`Pni2"nj"f2$"/%2cP)nkJ2e8$1lP&2`nm2cP)nnJ2e8$1lMwoy'],y_=[`w`,`x`,`y`,`z`,()=>Eg,`matrix`,()=>C_,`matrixTransform`,`toJSON`,`DOMPointReadOnly`,`P'4!9'4"9'4#9'4$9Pn%2&8n'1(P"1)Mw*y`],Q=[()=>x_,`animVal`,()=>x_,`baseVal`,`SVGAnimatedLength`,`Pn!4"9n#4$9Mw%y`],b_=[`unitType`,`value`,`valueAsString`,`valueInSpecifiedUnits`,`convertToSpecifiedUnits`,`newValueSpecifiedUnits`,0,`SVG_ANGLETYPE_UNKNOWN`,1,`SVG_ANGLETYPE_UNSPECIFIED`,2,`SVG_ANGLETYPE_DEG`,3,`SVG_ANGLETYPE_RAD`,4,`SVG_ANGLETYPE_GRAD`,`SVGAngle`,`P'4!9'4"&4#'4$P'2!$1%P'2!'2$$1&.'4(9.)4*9.+4,9.-4.9./409Mw1y`],x_=[`unitType`,`value`,`valueAsString`,`valueInSpecifiedUnits`,`convertToSpecifiedUnits`,`newValueSpecifiedUnits`,0,`SVG_LENGTHTYPE_UNKNOWN`,1,`SVG_LENGTHTYPE_NUMBER`,2,`SVG_LENGTHTYPE_PERCENTAGE`,3,`SVG_LENGTHTYPE_EMS`,4,`SVG_LENGTHTYPE_EXS`,5,`SVG_LENGTHTYPE_PX`,6,`SVG_LENGTHTYPE_CM`,7,`SVG_LENGTHTYPE_MM`,8,`SVG_LENGTHTYPE_IN`,9,`SVG_LENGTHTYPE_PT`,10,`SVG_LENGTHTYPE_PC`,`SVGLength`,`P'4!9'4"&4#'4$P'2!$1%P'2!'2$$1&.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9Mw=y`],S_=[`value`,`SVGNumber`,`P'4!Mw"y`],C_=[()=>y_,`w`,`x`,`y`,`z`,`DOMPoint`,`Pn!'4"'4#'4$'4%Mw&y`],w_=[`angle`,()=>Ou,`matrix`,`type`,()=>ku,`setMatrix`,`cx`,`cy`,`setRotate`,`sx`,`sy`,`setScale`,`setSkewX`,`setSkewY`,`tx`,`ty`,`setTranslate`,0,`SVG_TRANSFORM_UNKNOWN`,1,`SVG_TRANSFORM_MATRIX`,2,`SVG_TRANSFORM_TRANSLATE`,3,`SVG_TRANSFORM_SCALE`,4,`SVG_TRANSFORM_ROTATE`,5,`SVG_TRANSFORM_SKEWX`,6,`SVG_TRANSFORM_SKEWY`,`SVGTransform`,`P'4!9n"4#9'4$9Pn%2#8$1&P'2!'2''2($1)P'2*'2+$1,P'2!$1-P'2!$1.P'2/'20$11.2439.4459.6479.8499.:4;9.<4=9.>4?9Mw@y`],T_=[()=>Z,()=>wb,`SVGSVGElementEventMap`,`Pn!n"Mw#y`],E_=[`collapsed`,()=>K,`endContainer`,`endOffset`,()=>K,`startContainer`,`startOffset`,`AbstractRange`,`P)4!9n"4#9'4$9n%4&9'4'9Mw(y`],D_=[()=>K,()=>nl,()=>rl,`data`,`length`,()=>cl,`ownerDocument`,`appendData`,`offset`,`count`,`deleteData`,`insertData`,`replaceData`,`substringData`,`CharacterData`,`Pn!n"n#&4$'4%9n&4'9P&2$$1(P'2)'2*$1+P'2)&2$$1,P'2)'2*&2$$1-P'2)'2*&1.!!Mw/y`],O_=[`duration`,`length`,`numberOfChannels`,`sampleRate`,`destination`,`channelNumber`,`bufferOffset`,`copyFromChannel`,`source`,`copyToChannel`,`channel`,`getChannelData`,`AudioBuffer`,`P'4!9'4"9'4#9'4$9P\\2%'2&'2'8$1(P\\2)'2&'2'8$1*P'2+\\1,Mw-y`],k_=[`name`,`value`,`CookieListItem`,`P&4!8&4"8Mw#y`],A_=[`x`,`y`,`z`,`DeviceMotionEventAcceleration`,`PP',J4!9P',J4"9P',J4#9Mw$y`],j_=[`alpha`,`beta`,`gamma`,`DeviceMotionEventRotationRate`,`PP',J4!9P',J4"9P',J4#9Mw$y`],M_=[`ascentOverride`,`descentOverride`,()=>Tb,`display`,`family`,`featureSettings`,`lineGapOverride`,0,`loaded`,()=>Eb,`status`,`stretch`,`style`,`unicodeRange`,`variationSettings`,`weight`,0,`load`,`FontFace`,"P&4!&4\"n#4$&4%&4&&4'n(`4)9n*4+9&4,&4-&4.&4/&40Pn1`12Mw3y"],N_=[`message`,`GPUError`,`P&4!9Mw"y`],P_=[()=>Jd,`axes`,()=>Jd,()=>Db,`buttons`,`connected`,`id`,`index`,()=>Ob,`mapping`,()=>Hd,`timestamp`,()=>kb,`vibrationActuator`,`Gamepad`,`P'o!"4"9n$o#"4%9)4&9&4'9'4(9n)4*9n+4,9n-4.9Mw/y`],F_=[()=>W,()=>Ab,`connection`,`id`,`manufacturer`,`name`,0,`this`,()=>Yf,`ev`,``,`onstatechange`,()=>jb,`state`,()=>Mb,`type`,`version`,0,`close`,0,`open`,0,()=>Nb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Nb,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIPort`,'Pn!n"4#9&4$9P&,J4%9P&,J4&9PPn\'2(n)2*"/+,J4,n-4.9n/409P&,J419Pn2`13Pn4`15P"20Pn62(n7"f2*"/+28P)n9J2:8$1;P&20n<28P)n=J2:8$1;P"20Pn>2(n?"f2*"/+28P)n@J2:8$1AP&20nB28P)nCJ2:8$1AMwDy'],I_=[`individualization-request`,`license-release`,`license-renewal`,`license-request`,`MediaKeyMessageType`,`P.!.".#.$Jw%y`],L_=[()=>W,()=>Pb,0,`close`,`message`,()=>ny,`transfer`,`postMessage`,()=>Fb,`options`,`start`,`type`,0,`this`,()=>Ib,`ev`,``,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>Ib,()=>H,`removeEventListener`,()=>V,()=>H,`MessagePort`,`Pn!n#o""P$1$P"2%n&F2'$1(P"2%n)2*8$1(P$1+P"2,Pn-2.n/"f20"/122P)n3J2*8$14P&2,n522P)n6J2*8$14P"2,Pn72.n8"f20"/122P)n9J2*8$1:P&2,n;22P)n<J2*8$1:Mw=y`],R_=[()=>pf,()=>L_,()=>Lb,`MessageEventSource`,`Pn!n"n#Jw$y`],z_=[`id`,`index`,`key`,`sameDocument`,`url`,`getState`,`NavigationDestination`,`P&4!9'4"9&4#9)4$9&4%9P"1&Mw'y`],B_=[`push`,`reload`,`replace`,`traverse`,`NavigationType`,`P.!.".#.$Jw%y`],V_=[()=>Rb,`focusReset`,()=>zb,`handler`,()=>Bb,`precommitHandler`,()=>Vb,`scroll`,`NavigationInterceptOptions`,`Pn!4"8n#4$8n%4&8n'4(8Mw)y`],H_=[()=>W,`id`,`index`,`key`,0,`this`,()=>G,`ev`,``,`ondispose`,`sameDocument`,`url`,`getState`,`type`,0,()=>Hb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Hb,()=>H,`removeEventListener`,()=>V,()=>H,`NavigationHistoryEntry`,`Pn!&4"9'4#9&4$9PPn%2&n'2("/),J4*)4+9P&,J4,9P"1-P"2.Pn/2&n0"f2("/)21P)n2J238$14P&2.n521P)n6J238$14P"2.Pn72&n8"f2("/)21P)n9J238$1:P&2.n;21P)n<J238$1:Mw=y`],U_=[()=>H_,`entry`,()=>H_,`from`,()=>B_,`navigationType`,`NavigationActivation`,`Pn!4"9Pn#,J4$9n%4&9Mw'y`],W_=[()=>Ub,`error`,`paymentMethodErrors`,()=>Wb,`shippingAddressErrors`,()=>Gb,`total`,`PaymentDetailsUpdate`,`Pn!&4"8"4#8n$4%8n&4'8Mw(y`],G_=[`T`,`value`,0,``,`onfulfilled`,`reason`,0,`onrejected`,0,`then`,`PromiseLike`,`b!PPPPe%!2"P""o#"J/$-,J2%8PP"2&P""o'"J/$-,J2(8P""Jo)"1*Mw+y`],K_=[()=>W,`height`,0,`this`,()=>G,`ev`,``,`onresize`,`width`,`type`,0,()=>Kb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Kb,()=>H,`removeEventListener`,()=>V,()=>H,`PictureInPictureWindow`,`Pn!'4"9PPn#2$n%2&"/',J4('4)9P"2*Pn+2$n,"f2&"/'2-P)n.J2/8$10P&2*n12-P)n2J2/8$10P"2*Pn32$n4"f2&"/'2-P)n5J2/8$16P&2*n72-P)n8J2/8$16Mw9y`],q_=[()=>W,()=>qb,`binaryType`,`bufferedAmount`,`bufferedAmountLowThreshold`,`id`,`label`,`maxPacketLifeTime`,`maxRetransmits`,`negotiated`,0,`this`,()=>G,`ev`,``,`onbufferedamountlow`,0,()=>G,`onclose`,0,()=>G,`onclosing`,0,()=>mp,`onerror`,0,()=>ep,`onmessage`,0,()=>G,`onopen`,`ordered`,`protocol`,()=>Jb,`readyState`,`close`,`data`,`send`,()=>Uc,()=>Dd,`type`,0,()=>Yb,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Yb,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDataChannel`,`Pn!n"4#'4$9'4%P',J4&9&4'9P',J4(9P',J4)9)4*9PPn+2,n-2."//,J40PPn12,n22."//,J43PPn42,n52."//,J46PPn72,n82."//,J49PPn:2,n;2."//,J4<PPn=2,n>2."//,J4?)4@9&4A9nB4C9P$1DP&2E$1FPnG2E$1FP_2E$1FP_oH"2E$1FP"2IPnJ2,nK"f2."//2LP)nMJ2N8$1OP&2InP2LP)nQJ2N8$1OP"2IPnR2,nS"f2."//2LP)nTJ2N8$1UP&2InV2LP)nWJ2N8$1UMwXy`],J_=[()=>Xb,()=>Zb,`errorDetail`,`receivedAlert`,`sctpCauseCode`,`sdpLineNumber`,`sentAlert`,`RTCError`,`Pn!n"4#9P',J4$9P',J4%9P',J4&9P',J4'9Mw(y`],Y_=[`address`,`candidate`,()=>Qb,`component`,`foundation`,`port`,`priority`,()=>$b,`protocol`,`relatedAddress`,`relatedPort`,`sdpMLineIndex`,`sdpMid`,()=>ex,`tcpType`,()=>tx,`type`,`usernameFragment`,()=>nx,`toJSON`,`RTCIceCandidate`,`PP&,J4!9&4"9Pn#,J4$9P&,J4%9P',J4&9P',J4'9Pn(,J4)9P&,J4*9P',J4+9P',J4,9P&,J4-9Pn.,J4/9Pn0,J419P&,J429Pn314Mw5y`],X_=[()=>Hd,`jitterBufferTarget`,()=>gc,`track`,()=>rx,`transform`,()=>ix,`transport`,()=>ax,`getContributingSources`,()=>ox,`getParameters`,()=>sx,`getStats`,()=>cx,`getSynchronizationSources`,`RTCRtpReceiver`,`PPn!,J4"n#4$9Pn%,J4&Pn',J4(9Pn)F1*Pn+1,Pn-\`1.Pn/F10Mw1y`],Z_=[()=>lx,`currentDirection`,()=>lx,`direction`,`mid`,()=>X_,`receiver`,()=>ux,`sender`,()=>dx,`codecs`,`setCodecPreferences`,`stop`,`RTCRtpTransceiver`,`PPn!,J4"9n#4$P&,J4%9n&4'9n(4)9Pn*F2+$1,P$1-Mw.y`],Q_=[`aborted`,`audio-capture`,`language-not-supported`,`network`,`no-speech`,`not-allowed`,`phrases-not-supported`,`service-not-allowed`,`SpeechRecognitionErrorCode`,`P.!.".#.$.%.&.'.(Jw)y`],$_=[`length`,`index`,()=>fx,`item`,()=>fx,`SpeechRecognitionResultList`,`P'4!9P'2"n#1$'n%LMw&y`],ev=[`audio-busy`,`audio-hardware`,`canceled`,`interrupted`,`invalid-argument`,`language-unavailable`,`network`,`not-allowed`,`synthesis-failed`,`synthesis-unavailable`,`text-too-long`,`voice-unavailable`,`SpeechSynthesisErrorCode`,`P.!.".#.$.%.&.'.(.).*.+.,Jw-y`],tv=[()=>W,`lang`,0,`this`,()=>xp,`ev`,``,`onboundary`,0,()=>xp,`onend`,0,()=>bp,`onerror`,0,()=>xp,`onmark`,0,()=>xp,`onpause`,0,()=>xp,`onresume`,0,()=>xp,`onstart`,`pitch`,`rate`,`text`,()=>px,`voice`,`volume`,`type`,0,()=>mx,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>mx,()=>H,`removeEventListener`,()=>V,()=>H,`SpeechSynthesisUtterance`,`Pn!&4"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+PPn,2$n-2&"/',J4.PPn/2$n02&"/',J41PPn22$n32&"/',J44PPn52$n62&"/',J47PPn82$n92&"/',J4:'4;'4<&4=Pn>,J4?'4@P"2APnB2$nC"f2&"/'2DP)nEJ2F8$1GP&2AnH2DP)nIJ2F8$1GP"2APnJ2$nK"f2&"/'2DP)nLJ2F8$1MP&2AnN2DP)nOJ2F8$1MMwPy`],nv=[`length`,`clear`,`key`,`getItem`,`index`,`removeItem`,`value`,`setItem`,`Storage`,`P'4!9P$1"P&2#P&,J1$P'2%P&,J1#P&2#$1&P&2#&2'$1(&"LMw)y`],rv=[`background`,`user-blocking`,`user-visible`,`TaskPriority`,`P.!.".#Jw$y`],iv=[()=>W,()=>hx,`activeCues`,()=>hx,`cues`,`id`,`inBandMetadataTrackDispatchType`,()=>gx,`kind`,`label`,`language`,()=>_x,`mode`,0,`this`,()=>G,`ev`,``,`oncuechange`,()=>vx,`cue`,`addCue`,()=>vx,`removeCue`,`type`,0,()=>yx,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>yx,()=>H,`removeEventListener`,()=>V,()=>H,`TextTrack`,`Pn!Pn",J4#9Pn$,J4%9&4&9&4'9n(4)9&4*9&4+9n,4-PPn.2/n021"/2,J43Pn425$16Pn725$18P"29Pn:2/n;"f21"/22<P)n=J2>8$1?P&29n@2<P)nAJ2>8$1?P"29PnB2/nC"f21"/22<P)nDJ2>8$1EP&29nF2<P)nGJ2>8$1EMwHy`],av=[()=>s_,`sheet`,`LinkStyle`,`PPn!,J4"9Mw#y`],ov=[()=>ll,`shadowRoots`,`GetComposedRangesOptions`,`Pn!F4"8Mw#y`],sv=[`size`,`name`,`value`,`append`,`delete`,`get`,`getAll`,`has`,`set`,`sort`,`toString`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`URLSearchParams`,`P'4!9P&2"&2#$1$P&2"&2#8$1%P&2"P&,J1&P&2"&F1'P&2"&2#8)1(P&2"&2#$1)P$1*P&1+PP&2#&2,n-2.$//20"218$12Mw3y`],cv=[()=>R,`autoplay`,()=>bx,`buffered`,`controls`,`crossOrigin`,`currentSrc`,`currentTime`,`defaultMuted`,`defaultPlaybackRate`,`disableRemotePlayback`,`duration`,`ended`,()=>xx,`error`,`loop`,()=>Sx,`mediaKeys`,`muted`,`networkState`,0,`this`,()=>Zf,`ev`,``,`onencrypted`,0,()=>G,`onwaitingforkey`,`paused`,`playbackRate`,()=>bx,`played`,`none`,`metadata`,`auto`,``,`preload`,`preservesPitch`,`readyState`,()=>Cx,`remote`,()=>bx,`seekable`,`seeking`,`sinkId`,`src`,()=>wx,`srcObject`,()=>Tx,`textTracks`,`volume`,()=>gx,`kind`,`label`,`language`,()=>iv,`addTextTrack`,`type`,()=>Ex,`canPlayType`,`time`,`fastSeek`,`load`,`pause`,`play`,()=>Sx,`setMediaKeys`,`setSinkId`,0,`NETWORK_EMPTY`,1,`NETWORK_IDLE`,2,`NETWORK_LOADING`,3,`NETWORK_NO_SOURCE`,0,`HAVE_NOTHING`,1,`HAVE_METADATA`,2,`HAVE_CURRENT_DATA`,3,`HAVE_FUTURE_DATA`,4,`HAVE_ENOUGH_DATA`,0,()=>lv,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>lv,()=>H,`removeEventListener`,()=>V,()=>H,`HTMLMediaElement`,`Pn!)4"n#4$9)4%P&,J4&&4'9'4()4)'4*)4+'4,9)4-9Pn.,J4/9)40Pn1,J429)43'449PPn526n728"/9,J4:PPn;26n<28"/9,J4=)4>9'4?n@4A9P.B.C.D.EJ4F)4G'4H9nI4J9nK4L9)4M9&4N9&4OPnP,J4QnR4S9'4TPnU2V&2W8&2X8nY1ZP&2[n\\1]P'2^$1_P$1\`P$1aP$\`1bPPnc,J22$\`1dP&2N$\`1e.f4g9.h4i9.j4k9.l4m9.n4o9.p4q9.r4s9.t4u9.v4w9P"2[Pnx26ny"f28"/92zP)n{J2|8$1}P&2[n~2zP)nJ2|8$1}P"2[Pn26n"f28"/92zP)nJ2|8$1P&2[n2zP)n
J2|8$1Mwy`],lv=[()=>z,()=>Zf,`encrypted`,()=>G,`waitingforkey`,`HTMLMediaElementEventMap`,`Pn!n"4#n$4%Mw&y`],uv=[()=>z,()=>wb,`HTMLBodyElementEventMap`,`Pn!n"Mw#y`],dv=[`popoverTargetAction`,()=>U,`popoverTargetElement`,`PopoverTargetAttributes`,`P&4!Pn",J4#Mw$y`],fv=[``,`no-referrer`,`no-referrer-when-downgrade`,`origin`,`origin-when-cross-origin`,`same-origin`,`strict-origin`,`strict-origin-when-cross-origin`,`unsafe-url`,`ReferrerPolicy`,`P.!.".#.$.%.&.'.(.)Jw*y`],pv=[()=>hg,()=>Dx,()=>Ox,()=>Dx,()=>kx,()=>Ax,()=>jx,()=>Mx,`AutoFill`,`Pn!Pn#o""n%o$"n&n(o'"SJw)y`],mv=[`length`,`index`,()=>eu,`item`,()=>eu,`FileList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],hv=[`forward`,`backward`,`none`,`SelectionDirection`,`P.!.".#Jw$y`],gv=[()=>Nx,`filesystem`,`fullPath`,`isDirectory`,`isFile`,`name`,()=>Px,`successCallback`,()=>Fx,`errorCallback`,`getParent`,`FileSystemEntry`,`Pn!4"9&4#9)4$9)4%9&4&9Pn'2(8n)2*8$1+Mw,y`],_v=[`end`,`preserve`,`select`,`start`,`SelectionMode`,`P.!.".#.$Jw%y`],vv=[()=>yl,()=>ym,`length`,`selectedIndex`,()=>ym,()=>vm,`element`,()=>R,`before`,`add`,`index`,`remove`,`HTMLOptionsCollection`,`Pn"o!"'4#'4$PPn%n&J2'Pn(',J2)8$1*P'2+$1,Mw-y`],yv=[`corruptedVideoFrames`,()=>Hd,`creationTime`,`droppedVideoFrames`,`totalVideoFrames`,`VideoPlaybackQuality`,`P'4!9n"4#9'4$9'4%9Mw&y`],bv=[()=>Hd,`now`,()=>Ix,`metadata`,``,`VideoFrameRequestCallback`,`PPn!2"n#2$$v%Mw&y`],xv=[()=>lv,()=>lp,`enterpictureinpicture`,()=>lp,`leavepictureinpicture`,`HTMLVideoElementEventMap`,`Pn!n"4#n$4%Mw&y`],Sv=[()=>Cv,`href`,`SVGURIReference`,`Pn!4"9Mw#y`],Cv=[`animVal`,`baseVal`,`SVGAnimatedString`,`P&4!9&4"Mw#y`],wv=[()=>xl,()=>xb,()=>xl,`targetElement`,`beginElement`,`offset`,`beginElementAt`,`endElement`,`endElementAt`,`getCurrentTime`,`getSimpleDuration`,`getStartTime`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGAnimationElement`,`Pn!n"Pn#,J4$9P$1%P'2&$1'P$1(P'2&$1)P'1*P'1+P'1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],Tv=[()=>g_,()=>$,`pathLength`,`distance`,()=>C_,`getPointAtLength`,`getTotalLength`,()=>_u,`point`,`isPointInFill`,()=>_u,`isPointInStroke`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGeometryElement`,`Pn!n"4#9P'2$n%1&P'1'Pn(2)8)1*Pn+2)8)1,P"2-Pn.2/n0"f21"/223P)n4J258$16P&2-n723P)n8J258$16P"2-Pn92/n:"f21"/223P)n;J258$1<P&2-n=23P)n>J258$1<Mw?y`],Ev=[`animVal`,`baseVal`,`SVGAnimatedEnumeration`,`P'4!9'4"Mw#y`],Dv=[()=>Lx,`animVal`,()=>Lx,`baseVal`,`SVGAnimatedTransformList`,`Pn!4"9n#4$9Mw%y`],Ov=[()=>Q,`height`,()=>Cv,`result`,()=>Q,`width`,()=>Q,`x`,()=>Q,`y`,`SVGFilterPrimitiveStandardAttributes`,`Pn!4"9n#4$9n%4&9n'4(9n)4*9Mw+y`],kv=[()=>Rx,`animVal`,()=>Rx,`baseVal`,`SVGAnimatedNumberList`,`Pn!4"9n#4$9Mw%y`],$=[`animVal`,`baseVal`,`SVGAnimatedNumber`,`P'4!9'4"Mw#y`],Av=[`animVal`,`baseVal`,`SVGAnimatedInteger`,`P'4!9'4"Mw#y`],jv=[`animVal`,`baseVal`,`SVGAnimatedBoolean`,`P)4!9)4"Mw#y`],Mv=[()=>xl,()=>$,`amplitude`,()=>$,`exponent`,()=>$,`intercept`,()=>$,`offset`,()=>$,`slope`,()=>kv,`tableValues`,()=>Ev,`type`,0,`SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN`,1,`SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY`,2,`SVG_FECOMPONENTTRANSFER_TYPE_TABLE`,3,`SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE`,4,`SVG_FECOMPONENTTRANSFER_TYPE_LINEAR`,5,`SVG_FECOMPONENTTRANSFER_TYPE_GAMMA`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGComponentTransferFunctionElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9n,4-9n.4/9.0419.2439.4459.6479.8499.:4;9P"2/Pn<2=n>"f2?"/@2AP)nBJ2C8$1DP&2/nE2AP)nFJ2C8$1DP"2/PnG2=nH"f2?"/@2AP)nIJ2C8$1JP&2/nK2AP)nLJ2C8$1JMwMy`],Nv=[()=>zx,`animVal`,()=>zx,`baseVal`,`SVGAnimatedPreserveAspectRatio`,`Pn!4"9n#4$9Mw%y`],Pv=[()=>xl,()=>Sv,()=>Dv,`gradientTransform`,()=>Ev,`gradientUnits`,()=>Ev,`spreadMethod`,0,`SVG_SPREADMETHOD_UNKNOWN`,1,`SVG_SPREADMETHOD_PAD`,2,`SVG_SPREADMETHOD_REFLECT`,3,`SVG_SPREADMETHOD_REPEAT`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGGradientElement`,`Pn!n"n#4$9n%4&9n'4(9.)4*9.+4,9.-4.9./409P"21Pn223n4"f25"/627P)n8J298$1:P&21n;27P)n<J298$1:P"21Pn=23n>"f25"/627P)n?J298$1@P&21nA27P)nBJ298$1@MwCy`],Fv=[()=>b_,`animVal`,()=>b_,`baseVal`,`SVGAnimatedAngle`,`Pn!4"9n#4$9Mw%y`],Iv=[()=>Bx,`animatedPoints`,()=>Bx,`points`,`SVGAnimatedPoints`,`Pn!4"9n#4$9Mw%y`],Lv=[()=>Rv,()=>Vx,`dx`,()=>Vx,`dy`,()=>kv,`rotate`,()=>Vx,`x`,()=>Vx,`y`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextPositioningElement`,`Pn!n"4#9n$4%9n&4'9n(4)9n*4+9P"2,Pn-2.n/"f20"/122P)n3J248$15P&2,n622P)n7J248$15P"2,Pn82.n9"f20"/122P)n:J248$1;P&2,n<22P)n=J248$1;Mw>y`],Rv=[()=>g_,()=>Ev,`lengthAdjust`,()=>Q,`textLength`,()=>_u,`point`,`getCharNumAtPosition`,`getComputedTextLength`,`charnum`,()=>C_,`getEndPositionOfChar`,()=>_l,`getExtentOfChar`,`getNumberOfChars`,`getRotationOfChar`,()=>C_,`getStartPositionOfChar`,`nchars`,`getSubStringLength`,`selectSubString`,0,`LENGTHADJUST_UNKNOWN`,1,`LENGTHADJUST_SPACING`,2,`LENGTHADJUST_SPACINGANDGLYPHS`,`type`,0,`this`,()=>Z,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Z,()=>H,`removeEventListener`,()=>V,()=>H,`SVGTextContentElement`,`Pn!n"4#9n$4%9Pn&2'8'1(P'1)P'2*n+1,P'2*n-1.P'1/P'2*'10P'2*n112P'2*'23'14P'2*'23$15.6479.8499.:4;9P"2<Pn=2>n?"f2@"/A2BP)nCJ2D8$1EP&2<nF2BP)nGJ2D8$1EP"2<PnH2>nI"f2@"/A2BP)nJJ2D8$1KP&2<nL2BP)nMJ2D8$1KMwNy`],zv=[()=>z,()=>wb,`HTMLFrameSetElementEventMap`,`Pn!n"Mw#y`],Bv=[`auto`,`instant`,`smooth`,`ScrollBehavior`,`P.!.".#Jw$y`],Vv=[`handle`,`cancelAnimationFrame`,()=>Hx,`callback`,`requestAnimationFrame`,`AnimationFrameProvider`,`PP'2!$1"Pn#2$'1%Mw&y`],Hv=[()=>nv,`localStorage`,`WindowLocalStorage`,`Pn!4"9Mw#y`],Uv=[()=>Ux,`caches`,`crossOriginIsolated`,()=>Wx,`crypto`,()=>Gx,`indexedDB`,`isSecureContext`,`origin`,()=>Kx,`performance`,()=>qx,`scheduler`,`data`,`atob`,`btoa`,`id`,`clearInterval`,`clearTimeout`,()=>Jx,`image`,()=>Yx,`options`,()=>Ic,`createImageBitmap`,()=>Jx,`sx`,`sy`,`sw`,`sh`,()=>Yx,()=>Ic,()=>Xx,()=>Pp,`input`,()=>Zx,`init`,()=>Qx,`fetch`,()=>$x,`callback`,`queueMicrotask`,`e`,`reportError`,()=>eS,`handler`,`timeout`,`arguments`,`setInterval`,()=>eS,`setTimeout`,`value`,()=>Fb,`structuredClone`,`WindowOrWorkerGlobalScope`,`Pn!4"9)4#9n$4%9n&4'9)4(9&4)9n*4+9n,4-9P&2.&1/P&2.&10PP'-J21$12PP'-J21$13Pn425n6278n8\`19Pn:25'2;'2<'2='2>n?278n@\`19PPnAnBJ2CnD2E8nF\`1GPnH2I$1JP"2K$1LPnM2N'2O8"@2P'1QPnR2N'2O8"@2P'1SP"2TnU278"1VMwWy`],Wv=[()=>nv,`sessionStorage`,`WindowSessionStorage`,`Pn!4"9Mw#y`],Gv=[()=>tS,()=>nS,()=>rS,()=>iS,()=>aS,()=>oS,()=>sS,()=>cS,()=>lS,()=>uS,()=>dS,()=>fS,()=>pS,`clipboard`,()=>mS,`credentials`,`doNotTrack`,()=>hS,`geolocation`,()=>gS,`login`,`maxTouchPoints`,()=>_S,`mediaCapabilities`,()=>vS,`mediaDevices`,()=>yS,`mediaSession`,()=>bS,`permissions`,()=>xS,`serviceWorker`,()=>SS,`userActivation`,()=>CS,`wakeLock`,()=>wS,`data`,`canShare`,()=>P_,`getGamepads`,()=>TS,`options`,()=>ES,`requestMIDIAccess`,`keySystem`,()=>DS,`supportedConfigurations`,()=>OS,`requestMediaKeySystemAccess`,()=>Pp,`url`,()=>kS,`sendBeacon`,()=>wS,`share`,()=>AS,`pattern`,`vibrate`,`Navigator`,"Pn!n\"n#n$n%n&n'n(n)n*n+n,n-4.9n/409P&,J419n2439n4459'469n7489n94:9n;4<9n=4>9n?4@9nA4B9nC4D9PnE2F8)1GPPnH,JF1IPnJ2K8nL`1MP&2NnOF2PnQ`1RPP&nSJ2TPnU,J2F8)1VPnW2F8$`1XPnY2Z)1[Mw\\y"],Kv=[()=>W,0,`this`,()=>Bf,`ev`,``,`onchange`,`name`,`delete`,()=>jS,`options`,()=>k_,`get`,()=>MS,()=>k_,()=>NS,`getAll`,()=>MS,()=>NS,`value`,`set`,()=>PS,`type`,0,()=>FS,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>FS,()=>H,`removeEventListener`,()=>V,()=>H,`CookieStore`,'Pn!PPn"2#n$2%"/&,J4\'P&2($`1)Pn*2+$`1)P&2(Pn,,J`1-Pn.2+8Pn/,J`1-P&2(n0`11Pn22+8n3`11P&2(&24$`15Pn62+$`15P"27Pn82#n9"f2%"/&2:P)n;J2+8$1<P&27n=2:P)n>J2+8$1<P"27Pn?2#n@"f2%"/&2:P)nAJ2+8$1BP&27nC2:P)nDJ2+8$1BMwEy'],qv=[`AddSearchProvider`,`IsSearchProviderInstalled`,`External`,`PP$1!P$1"Mw#y`],Jv=[`length`,()=>IS,`scrollRestoration`,`state`,`back`,`forward`,`delta`,`go`,`data`,`unused`,()=>Pp,`url`,`pushState`,()=>Pp,`replaceState`,`History`,`P'4!9n"4#"4$9P$1%P$1&P'2'8$1(P"2)&2*P&n+,J2,8$1-P"2)&2*P&n.,J2,8$1/Mw0y`],Yv=[`visible`,`BarProp`,`P)4!9Mw"y`],Xv=[()=>W,()=>U_,`activation`,`canGoBack`,`canGoForward`,()=>H_,`currentEntry`,0,`this`,()=>np,`ev`,``,`oncurrententrychange`,0,()=>tp,`onnavigate`,0,()=>Wd,`onnavigateerror`,0,()=>G,`onnavigatesuccess`,()=>LS,`transition`,()=>RS,`options`,()=>zS,`back`,()=>H_,`entries`,()=>RS,()=>zS,`forward`,()=>Pp,`url`,()=>BS,()=>zS,`navigate`,()=>VS,()=>zS,`reload`,`key`,()=>RS,()=>zS,`traverseTo`,()=>HS,`updateCurrentEntry`,`type`,0,()=>US,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>US,()=>H,`removeEventListener`,()=>V,()=>H,`Navigation`,`Pn!Pn",J4#9)4$9)4%9Pn&,J4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46Pn7,J489Pn92:8n;1<Pn=F1>Pn?2:8n@1APP&nBJ2CnD2:8nE1FPnG2:8nH1IP&2JnK2:8nL1MPnN2:$1OP"2PPnQ2)nR"f2+"/,2SP)nTJ2:8$1UP&2PnV2SP)nWJ2:8$1UP"2PPnX2)nY"f2+"/,2SP)nZJ2:8$1[P&2Pn\\2SP)n]J2:8$1[Mw^y`],Zv=[`availHeight`,`availWidth`,`colorDepth`,`height`,()=>WS,`orientation`,`pixelDepth`,`width`,`Screen`,`P'4!9'4"9'4#9'4$9n%4&9'4'9'4(9Mw)y`],Qv=[()=>W,0,`this`,()=>G,`ev`,``,`onvoiceschanged`,`paused`,`pending`,`speaking`,`cancel`,()=>px,`getVoices`,`pause`,`resume`,()=>tv,`utterance`,`speak`,`type`,0,()=>GS,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>GS,()=>H,`removeEventListener`,()=>V,()=>H,`SpeechSynthesis`,`Pn!PPn"2#n$2%"/&,J4')4(9)4)9)4*9P$1+Pn,F1-P$1.P$1/Pn021$12P"23Pn42#n5"f2%"/&26P)n7J288$19P&23n:26P)n;J288$19P"23Pn<2#n="f2%"/&26P)n>J288$1?P&23n@26P)nAJ288$1?MwBy`],$v=[()=>W,`height`,`offsetLeft`,`offsetTop`,0,`this`,()=>G,`ev`,``,`onresize`,0,()=>G,`onscroll`,`pageLeft`,`pageTop`,`scale`,`width`,`type`,0,()=>KS,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>KS,()=>H,`removeEventListener`,()=>V,()=>H,`VisualViewport`,`Pn!'4"9'4#9'4$9PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-'4.9'4/9'409'419P"22Pn32&n4"f2("/)25P)n6J278$18P&22n925P)n:J278$18P"22Pn;2&n<"f2("/)25P)n=J278$1>P&22n?25P)n@J278$1>MwAy`],ey=[()=>qS,`CSSStyleDeclaration`,`Pn!Mw"y`],ty=[()=>W,`matches`,`media`,0,`this`,()=>$f,`ev`,``,`onchange`,0,()=>$f,`callback`,`addListener`,0,()=>$f,`removeListener`,`type`,0,()=>JS,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>JS,()=>H,`removeEventListener`,()=>V,()=>H,`MediaQueryList`,`Pn!)4"9&4#9PPn$2%n&2'"/(,J4)PPPn*2%n+2'"/(,J2,$1-PPPn.2%n/2'"/(,J2,$10P"21Pn22%n3"f2'"/(24P)n5J268$17P&21n824P)n9J268$17P"21Pn:2%n;"f2'"/(24P)n<J268$1=P&21n>24P)n?J268$1=Mw@y`],ny=[()=>sc,()=>Ic,()=>L_,()=>YS,()=>Vd,()=>qg,()=>XS,()=>ZS,()=>Sg,()=>q_,`Transferable`,`Pn!n"n#n$n%n&n'n(n)n*_Jw+y`],ry=[()=>Fb,`targetOrigin`,`WindowPostMessageOptions`,`Pn!&4"8Mw#y`],iy=[()=>QS,`deadline`,``,`IdleRequestCallback`,`PPn!2"$v#Mw$y`],ay=[`timeout`,`IdleRequestOptions`,`P'4!8Mw"y`],oy=[()=>Xc,()=>wb,()=>G,`DOMContentLoaded`,()=>Hf,`devicemotion`,()=>Uf,`deviceorientation`,()=>Uf,`deviceorientationabsolute`,()=>Kf,`gamepadconnected`,()=>Kf,`gamepaddisconnected`,()=>G,`orientationchange`,`WindowEventMap`,`Pn!n"n#4$n%4&n'4(n)4*n+4,n-4.n/40Mw1y`],sy=[`length`,`data`,`type`,()=>$S,`add`,()=>eu,()=>$S,`clear`,`index`,`remove`,()=>$S,`DataTransferItemList`,`P'4!9P&2"&2#Pn$,J1%Pn&2"Pn',J1%P$1(P'2)$1*'n+LMw,y`],cy=[`name`,`message`,`stack`,`Error`,`P&4!&4"&4#8Mw$y`],ly=[`clientX`,`clientY`,`force`,`identifier`,`pageX`,`pageY`,`radiusX`,`radiusY`,`rotationAngle`,`screenX`,`screenY`,()=>W,`target`,`Touch`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9n,4-9Mw.y`],uy=[()=>Kd,()=>sm,`value`,`RadioNodeList`,`Pn"o!"&4#Mw$y`],dy=[()=>eC,`ConstrainDouble`,`P'n!Jw"y`],fy=[()=>tC,`ConstrainBoolean`,`P)n!Jw"y`],py=[()=>nC,`ConstrainULong`,`P'n!Jw"y`],my=[()=>rC,`ConstrainDOMString`,`P&&Fn!Jw"y`],hy=[()=>iC,`ConstrainBooleanOrDOMString`,`P)&n!Jw"y`],gy=[`fullRange`,()=>aC,`matrix`,()=>oC,`primaries`,()=>sC,`transfer`,()=>cC,`toJSON`,`VideoColorSpace`,`PP),J4!9Pn",J4#9Pn$,J4%9Pn&,J4'9Pn(1)Mw*y`],_y=[`BGRA`,`BGRX`,`I420`,`I420A`,`I422`,`I444`,`NV12`,`RGBA`,`RGBX`,`VideoPixelFormat`,`P.!.".#.$.%.&.'.(.)Jw*y`],vy=[()=>vc,`colorSpace`,()=>_y,`format`,()=>yy,`layout`,()=>lC,`rect`,`VideoFrameCopyToOptions`,`Pn!4"8n#4$8n%F4&8n'4(8Mw)y`],yy=[`offset`,`stride`,`PlaneLayout`,`P'4!'4"Mw#y`],by=[`architecture`,`description`,`device`,`isFallbackAdapter`,`subgroupMaxSize`,`subgroupMinSize`,`vendor`,`GPUAdapterInfo`,`P&4!9&4"9&4#9)4$9'4%9'4&9&4'9Mw(y`],xy=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`GPUSupportedFeatures`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],Sy=`maxBindGroups maxBindGroupsPlusVertexBuffers maxBindingsPerBindGroup maxBufferSize maxColorAttachmentBytesPerSample maxColorAttachments maxComputeInvocationsPerWorkgroup maxComputeWorkgroupSizeX maxComputeWorkgroupSizeY maxComputeWorkgroupSizeZ maxComputeWorkgroupStorageSize maxComputeWorkgroupsPerDimension maxDynamicStorageBuffersPerPipelineLayout maxDynamicUniformBuffersPerPipelineLayout maxInterStageShaderVariables maxSampledTexturesPerShaderStage maxSamplersPerShaderStage maxStorageBufferBindingSize maxStorageBuffersPerShaderStage maxStorageTexturesPerShaderStage maxTextureArrayLayers maxTextureDimension1D maxTextureDimension2D maxTextureDimension3D maxUniformBufferBindingSize maxUniformBuffersPerShaderStage maxVertexAttributes maxVertexBufferArrayStride maxVertexBuffers minStorageBufferOffsetAlignment minUniformBufferOffsetAlignment GPUSupportedLimits P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459'469'479'489'499'4:9'4;9'4<9'4=9'4>9'4?9Mw@y`.split(` `),Cy=[`message`,()=>uC,`reason`,`GPUDeviceLostInfo`,`P&4!9n"4#9Mw$y`],wy=[()=>Pg,()=>dC,`source`,()=>fC,`destination`,()=>pC,`copySize`,`copyExternalImageToTexture`,`onSubmittedWorkDone`,()=>mC,`commandBuffers`,`submit`,()=>Ay,`buffer`,()=>hC,`bufferOffset`,()=>Ed,`data`,()=>hC,`dataOffset`,()=>hC,`size`,`writeBuffer`,()=>gC,()=>Ed,()=>_C,`dataLayout`,()=>pC,`writeTexture`,`GPUQueue`,`Pn!Pn"2#n$2%n&2'$1(P$\`1)Pn*F2+$1,Pn-2.n/20n122n3248n5268$17Pn82%n922n:2;n<26$1=Mw>y`],Ty=[()=>$y,()=>vC,`entries`,()=>Oy,`layout`,`GPUBindGroupDescriptor`,`Pn!n"F4#n$4%Mw&y`],Ey=[()=>Pg,`GPUBindGroup`,`Pn!Mw"y`],Dy=[()=>$y,()=>yC,`entries`,`GPUBindGroupLayoutDescriptor`,`Pn!n"F4#Mw$y`],Oy=[()=>Pg,`GPUBindGroupLayout`,`Pn!Mw"y`],ky=[()=>$y,`mappedAtCreation`,()=>hC,`size`,()=>bC,`usage`,`GPUBufferDescriptor`,`Pn!)4"8n#4$n%4&Mw'y`],Ay=[()=>Pg,()=>xC,`mapState`,()=>SC,`size`,()=>Rg,`usage`,`destroy`,()=>hC,`offset`,()=>hC,`getMappedRange`,()=>CC,`mode`,()=>hC,()=>hC,`mapAsync`,`unmap`,`GPUBuffer`,`Pn!n"4#9n$4%9n&4'9P$1(Pn)2*8n+2%8_1,Pn-2.n/2*8n02%8$\`11P$12Mw3y`],jy=[()=>$y,`GPUCommandEncoderDescriptor`,`Pn!Mw"y`],My=[()=>wC,()=>Pg,()=>TC,`descriptor`,()=>EC,`beginComputePass`,()=>DC,()=>OC,`beginRenderPass`,()=>Ay,`buffer`,()=>hC,`offset`,()=>hC,`size`,`clearBuffer`,()=>Ay,`source`,()=>Ay,`destination`,()=>hC,`copyBufferToBuffer`,()=>Ay,()=>hC,`sourceOffset`,()=>Ay,()=>hC,`destinationOffset`,()=>hC,()=>kC,()=>gC,()=>pC,`copySize`,`copyBufferToTexture`,()=>gC,()=>kC,()=>pC,`copyTextureToBuffer`,()=>gC,()=>gC,()=>pC,`copyTextureToTexture`,()=>AC,()=>mC,`finish`,()=>Ry,`querySet`,()=>jC,`firstQuery`,()=>jC,`queryCount`,()=>Ay,()=>hC,`resolveQuerySet`,`GPUCommandEncoder`,`Pn!n"Pn#2$8n%1&Pn'2$n(1)Pn*2+n,2-8n.2/8$10Pn122n324n52/8$16Pn722n829n:24n;2<n=2/8$16Pn>22n?24n@2A$1BPnC22nD24nE2A$1FPnG22nH24nI2A$1JPnK2$8nL1MPnN2OnP2QnR2SnT24nU2<$1VMwWy`],Ny=[()=>MC,()=>NC,`compute`,`GPUComputePipelineDescriptor`,`Pn!n"4#Mw$y`],Py=[()=>Pg,()=>PC,`GPUComputePipeline`,`Pn!n"Mw#y`],Fy=[()=>$y,()=>Oy,`bindGroupLayouts`,`GPUPipelineLayoutDescriptor`,`Pn!Pn",JF4#Mw$y`],Iy=[()=>Pg,`GPUPipelineLayout`,`Pn!Mw"y`],Ly=[()=>$y,()=>jC,`count`,()=>FC,`type`,`GPUQuerySetDescriptor`,`Pn!n"4#n$4%Mw&y`],Ry=[()=>Pg,()=>Lg,`count`,()=>FC,`type`,`destroy`,`GPUQuerySet`,`Pn!n"4#9n$4%9P$1&Mw'y`],zy=[()=>IC,`depthReadOnly`,`stencilReadOnly`,`GPURenderBundleEncoderDescriptor`,`Pn!)4"8)4#8Mw$y`],By=[()=>LC,()=>wC,()=>Pg,()=>RC,()=>zC,`descriptor`,()=>BC,`finish`,`GPURenderBundleEncoder`,`Pn!n"n#n$Pn%2&8n'1(Mw)y`],Vy=[()=>MC,()=>VC,`depthStencil`,()=>HC,`fragment`,()=>UC,`multisample`,()=>WC,`primitive`,()=>GC,`vertex`,`GPURenderPipelineDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8n*4+Mw,y`],Hy=[()=>Pg,()=>PC,`GPURenderPipeline`,`Pn!n"Mw#y`],Uy=[()=>$y,()=>KC,`addressModeU`,()=>KC,`addressModeV`,()=>KC,`addressModeW`,()=>qC,`compare`,`lodMaxClamp`,`lodMinClamp`,()=>JC,`magFilter`,`maxAnisotropy`,()=>JC,`minFilter`,()=>YC,`mipmapFilter`,`GPUSamplerDescriptor`,`Pn!n"4#8n$4%8n&4'8n(4)8'4*8'4+8n,4-8'4.8n/408n1428Mw3y`],Wy=[()=>Pg,`GPUSampler`,`Pn!Mw"y`],Gy=[()=>$y,`code`,`GPUShaderModuleDescriptor`,`Pn!&4"Mw#y`],Ky=[()=>Pg,()=>XC,`getCompilationInfo`,`GPUShaderModule`,'Pn!Pn"`1#Mw$y'],qy=[()=>$y,()=>Ig,`dimension`,()=>jg,`format`,()=>eb,`mipLevelCount`,()=>jC,`sampleCount`,()=>pC,`size`,()=>Ng,`usage`,()=>jg,`viewFormats`,`GPUTextureDescriptor`,`Pn!n"4#8n$4%n&4'8n(4)8n*4+n,4-n.F4/8Mw0y`],Jy=[()=>$y,()=>vc,`colorSpace`,()=>zm,()=>Sg,`source`,`GPUExternalTextureDescriptor`,`Pn!n"4#8Pn$n%J4&Mw'y`],Yy=[()=>Pg,`GPUExternalTexture`,`Pn!Mw"y`],Xy=[`internal`,`out-of-memory`,`validation`,`GPUErrorFilter`,`P.!.".#Jw$y`],Zy=[()=>Gf,`uncapturederror`,`GPUDeviceEventMap`,`Pn!4"Mw#y`],Qy=[`extended`,`standard`,`GPUCanvasToneMappingMode`,`P.!."Jw#y`],$y=[`label`,`GPUObjectDescriptorBase`,`P&4!8Mw"y`],eb=[`GPUIntegerCoordinate`,`'w!y`],tb=[`all`,`depth-only`,`stencil-only`,`GPUTextureAspect`,`P.!.".#Jw$y`],nb=[`1d`,`2d`,`2d-array`,`3d`,`cube`,`cube-array`,`GPUTextureViewDimension`,`P.!.".#.$.%.&Jw'y`],rb=[`closed`,`reason`,`cancel`,`ReadableStreamGenericReader`,'P$`4!9P"2"8$`1#Mw$y'],ib=[`min`,`ReadableStreamBYOBReaderReadOptions`,`P'4!8Mw"y`],ab=[`T`,()=>ZC,()=>QC,`ReadableStreamReadResult`,`b!Pe"!o""e"!o#"Jw$y`],ob=[`byob`,`ReadableStreamReaderMode`,`.!w"y`],sb=[`W`,`closed`,`desiredSize`,`ready`,`reason`,`abort`,`close`,`releaseLock`,`chunk`,`write`,`WritableStreamDefaultWriter`,'"c!P$`4"9P\',J4#9$`4$9P"2%8$`1&P$`1\'P$1(Pe#!2)8$`1*Mw+y'],cb=[`delay`,()=>$C,`direction`,()=>Qg,`duration`,`easing`,`endDelay`,()=>ew,`fill`,`iterationStart`,`iterations`,`playbackRate`,`EffectTiming`,`P'4!8n"4#8P'n$&J4%8&4&8'4'8n(4)8'4*8'4+8'4,8Mw-y`],lb=[`accumulate`,`add`,`replace`,`CompositeOperation`,`P.!.".#Jw$y`],ub=[`accumulate`,`replace`,`IterationCompositeOperation`,`P.!."Jw#y`],db=[()=>Qg,`unit`,`value`,`CSSUnitValue`,`Pn!&4"9'4#Mw$y`],fb=[()=>tw,()=>nw,`values`,`CSSMathSum`,`Pn!n"4#9Mw$y`],pb=[`angle`,`flex`,`frequency`,`length`,`percent`,()=>rw,`percentHint`,`resolution`,`time`,`CSSNumericType`,`P'4!8'4"8'4#8'4$8'4%8n&4'8'4(8'4)8Mw*y`],mb=[()=>cb,()=>t_,`activeDuration`,`currentIteration`,()=>t_,`endTime`,()=>t_,`localTime`,`progress`,()=>t_,`startTime`,`ComputedEffectTiming`,`Pn!n"4#8P',J4$8n%4&8Pn',J4(8P',J4)8n*4+8Mw,y`],hb=[`delay`,()=>$C,`direction`,`duration`,`easing`,`endDelay`,()=>ew,`fill`,`iterationStart`,`iterations`,`playbackRate`,`OptionalEffectTiming`,`P'4!8n"4#8P'&J4$8&4%8'4&8n'4(8'4)8'4*8'4+8Mw,y`],gb=[`disabled`,`href`,()=>U,()=>kp,`ownerNode`,()=>s_,`parentStyleSheet`,`title`,`type`,`StyleSheet`,`P)4!P&,J4"9!!Pn#n$,J4%9Pn&,J4'9P&,J4(9&4)9Mw*y`],_b=[`length`,`index`,()=>vb,`item`,()=>vb,`CSSRuleList`,`P'4!9P'2"Pn#,J1$'n%LMw&y`],vb=[`cssText`,0,`parentRule`,()=>s_,`parentStyleSheet`,`type`,1,`STYLE_RULE`,2,`CHARSET_RULE`,3,`IMPORT_RULE`,4,`MEDIA_RULE`,5,`FONT_FACE_RULE`,6,`PAGE_RULE`,9,`MARGIN_RULE`,10,`NAMESPACE_RULE`,7,`KEYFRAMES_RULE`,8,`KEYFRAME_RULE`,12,`SUPPORTS_RULE`,11,`COUNTER_STYLE_RULE`,14,`FONT_FEATURE_VALUES_RULE`,`CSSRule`,`P&4!Pn",J4#9Pn$,J4%9'4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9MwAy`],yb=[`loaded`,`loading`,`FontFaceSetLoadStatus`,`P.!."Jw#y`],bb=[()=>Wf,`loading`,()=>Wf,`loadingdone`,()=>Wf,`loadingerror`,`FontFaceSetEventMap`,`Pn!4"n#4$n%4&Mw'y`],xb=[()=>iw,`requiredExtensions`,()=>iw,`systemLanguage`,`SVGTests`,`Pn!4"9n#4$9Mw%y`],Sb=[`clipped`,`fill`,`markers`,`stroke`,`SVGBoundingBoxOptions`,`P)4!8)4"8)4#8)4$8Mw%y`],Cb=[()=>Xh,`animVal`,()=>_l,`baseVal`,`SVGAnimatedRect`,`Pn!4"9n#4$9Mw%y`],wb=[()=>G,`afterprint`,()=>G,`beforeprint`,()=>Ff,`beforeunload`,()=>Kf,`gamepadconnected`,()=>Kf,`gamepaddisconnected`,()=>qf,`hashchange`,()=>G,`languagechange`,()=>ep,`message`,()=>ep,`messageerror`,()=>G,`offline`,()=>G,`online`,()=>op,`pagehide`,()=>ip,`pagereveal`,()=>op,`pageshow`,()=>ap,`pageswap`,()=>up,`popstate`,()=>dp,`rejectionhandled`,()=>Sp,`storage`,()=>dp,`unhandledrejection`,()=>G,`unload`,`WindowEventHandlersEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.n/40n142n344n546n748n94:n;4<n=4>n?4@nA4BnC4DnE4FnG4HMwIy`],Tb=[`auto`,`block`,`fallback`,`optional`,`swap`,`FontDisplay`,`P.!.".#.$.%Jw&y`],Eb=[`error`,`loaded`,`loading`,`unloaded`,`FontFaceLoadStatus`,`P.!.".#.$Jw%y`],Db=[`pressed`,`touched`,`value`,`GamepadButton`,`P)4!9)4"9'4#9Mw$y`],Ob=[``,`standard`,`xr-standard`,`GamepadMappingType`,`P.!.".#Jw$y`],kb=[()=>aw,`type`,()=>ow,`params`,()=>sw,`playEffect`,()=>sw,`reset`,`GamepadHapticActuator`,"PPn!2\"n#2$8n%`1&Pn'`1(Mw)y"],Ab=[`closed`,`open`,`pending`,`MIDIPortConnectionState`,`P.!.".#Jw$y`],jb=[`connected`,`disconnected`,`MIDIPortDeviceState`,`P.!."Jw#y`],Mb=[`input`,`output`,`MIDIPortType`,`P.!."Jw#y`],Nb=[()=>Yf,`statechange`,`MIDIPortEventMap`,`Pn!4"Mw#y`],Pb=[`T`,`this`,()=>ep,`ev`,``,`onmessage`,()=>ep,`onmessageerror`,`type`,()=>cw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,()=>cw,()=>H,`removeEventListener`,()=>V,()=>H,`MessageEventTarget`,`b!PPPe$!2"n#2$"/%,J4&PPe$!2"n'2$"/%,J4(P"2)Pe$!2"n*"f2$"/%2+P)n,J2-8$1.P&2)n/2+P)n0J2-8$1.P"2)Pe$!2"n1"f2$"/%2+P)n2J2-8$13P&2)n42+P)n5J2-8$13Mw6y`],Fb=[()=>ny,`transfer`,`StructuredSerializeOptions`,`Pn!F4"8Mw#y`],Ib=[()=>cw,()=>ep,`message`,()=>ep,`messageerror`,`MessagePortEventMap`,`Pn!n"4#n$4%Mw&y`],Lb=[()=>W,()=>lw,0,`this`,()=>G,`ev`,``,`onstatechange`,`scriptURL`,()=>uw,`state`,`message`,()=>ny,`transfer`,`postMessage`,()=>Fb,`options`,`type`,0,()=>dw,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>dw,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorker`,`Pn!n"PPn#2$n%2&"/',J4(&4)9n*4+9P"2,n-F2.$1/P"2,n0218$1/P"22Pn32$n4"f2&"/'25P)n6J218$17P&22n825P)n9J218$17P"22Pn:2$n;"f2&"/'25P)n<J218$1=P&22n>25P)n?J218$1=Mw@y`],Rb=[`after-transition`,`manual`,`NavigationFocusReset`,`P.!."Jw#y`],zb=[()=>G_,``,`NavigationInterceptHandler`,`PPP$$o!"Jv"Mw#y`],Bb=[()=>fw,`controller`,()=>G_,``,`NavigationPrecommitHandler`,`PPn!2"P$$o#"Jv$Mw%y`],Vb=[`after-transition`,`manual`,`NavigationScrollBehavior`,`P.!."Jw#y`],Hb=[()=>G,`dispose`,`NavigationHistoryEntryEventMap`,`Pn!4"Mw#y`],Ub=[()=>Gb,`displayItems`,()=>pw,`modifiers`,()=>mw,`shippingOptions`,`PaymentDetailsBase`,`Pn!F4"8n#F4$8n%F4&8Mw'y`],Wb=[`addressLine`,`city`,`country`,`dependentLocality`,`organization`,`phone`,`postalCode`,`recipient`,`region`,`sortingCode`,`AddressErrors`,`P&4!8&4"8&4#8&4$8&4%8&4&8&4'8&4(8&4)8&4*8Mw+y`],Gb=[()=>hw,`amount`,`label`,`pending`,`PaymentItem`,`Pn!4"&4#)4$8Mw%y`],Kb=[()=>G,`resize`,`PictureInPictureWindowEventMap`,`Pn!4"Mw#y`],qb=[`arraybuffer`,`blob`,`BinaryType`,`P.!."Jw#y`],Jb=[`closed`,`closing`,`connecting`,`open`,`RTCDataChannelState`,`P.!.".#.$Jw%y`],Yb=[()=>G,`bufferedamountlow`,()=>G,`close`,()=>G,`closing`,()=>mp,`error`,()=>ep,`message`,()=>G,`open`,`RTCDataChannelEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,Mw-y`],Xb=[()=>cy,`code`,`message`,`name`,1,`INDEX_SIZE_ERR`,2,`DOMSTRING_SIZE_ERR`,3,`HIERARCHY_REQUEST_ERR`,4,`WRONG_DOCUMENT_ERR`,5,`INVALID_CHARACTER_ERR`,6,`NO_DATA_ALLOWED_ERR`,7,`NO_MODIFICATION_ALLOWED_ERR`,8,`NOT_FOUND_ERR`,9,`NOT_SUPPORTED_ERR`,10,`INUSE_ATTRIBUTE_ERR`,11,`INVALID_STATE_ERR`,12,`SYNTAX_ERR`,13,`INVALID_MODIFICATION_ERR`,14,`NAMESPACE_ERR`,15,`INVALID_ACCESS_ERR`,16,`VALIDATION_ERR`,17,`TYPE_MISMATCH_ERR`,18,`SECURITY_ERR`,19,`NETWORK_ERR`,20,`ABORT_ERR`,21,`URL_MISMATCH_ERR`,22,`QUOTA_EXCEEDED_ERR`,23,`TIMEOUT_ERR`,24,`INVALID_NODE_TYPE_ERR`,25,`DATA_CLONE_ERR`,`DOMException`,`Pn!'4"9&4#9&4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9.?4@9.A4B9.C4D9.E4F9.G4H9.I4J9.K4L9.M4N9.O4P9.Q4R9.S4T9.U4V9MwWy`],Zb=[`data-channel-failure`,`dtls-failure`,`fingerprint-failure`,`hardware-encoder-error`,`hardware-encoder-not-available`,`sctp-failure`,`sdp-syntax-error`,`RTCErrorDetailType`,`P.!.".#.$.%.&.'Jw(y`],Qb=[`rtcp`,`rtp`,`RTCIceComponent`,`P.!."Jw#y`],$b=[`tcp`,`udp`,`RTCIceProtocol`,`P.!."Jw#y`],ex=[`active`,`passive`,`so`,`RTCIceTcpCandidateType`,`P.!.".#Jw$y`],tx=[`host`,`prflx`,`relay`,`srflx`,`RTCIceCandidateType`,`P.!.".#.$Jw%y`],nx=[`candidate`,`sdpMLineIndex`,`sdpMid`,`usernameFragment`,`RTCIceCandidateInit`,`P&4!8P',J4"8P&,J4#8P&,J4$8Mw%y`],rx=[()=>gw,`RTCRtpReceiverTransform`,`n!w"y`],ix=[()=>W,()=>_w,`iceTransport`,0,`this`,()=>mp,`ev`,``,`onerror`,0,()=>G,`onstatechange`,()=>vw,`state`,`getRemoteCertificates`,`type`,0,()=>yw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>yw,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDtlsTransport`,`Pn!n"4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,n-4.9P_F1/P"20Pn12%n2"f2'"/(23P)n4J258$16P&20n723P)n8J258$16P"20Pn92%n:"f2'"/(23P)n;J258$1<P&20n=23P)n>J258$1<Mw?y`],ax=[`audioLevel`,`rtpTimestamp`,`source`,()=>Hd,`timestamp`,`RTCRtpContributingSource`,`P'4!8'4"'4#n$4%Mw&y`],ox=[()=>bw,`RTCRtpReceiveParameters`,`Pn!Mw"y`],sx=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`RTCStatsReport`,`PPP"2!&2"n#2$$/%2&"2'8$1(Mw)y`],cx=[()=>ax,`RTCRtpSynchronizationSource`,`Pn!Mw"y`],lx=[`inactive`,`recvonly`,`sendonly`,`sendrecv`,`stopped`,`RTCRtpTransceiverDirection`,`P.!.".#.$.%Jw&y`],ux=[()=>xw,`dtmf`,()=>gc,`track`,()=>Sw,`transform`,()=>ix,`transport`,()=>Cw,`getParameters`,()=>sx,`getStats`,()=>gc,`withTrack`,`replaceTrack`,()=>Cw,`parameters`,()=>ww,`setParameterOptions`,`setParameters`,()=>Zs,`streams`,`setStreams`,`RTCRtpSender`,"PPn!,J4\"9Pn#,J4$9Pn%,J4&Pn',J4(9Pn)1*Pn+`1,PPn-,J2.$`1/Pn021n2238$`14Pn5@26$17Mw8y"],dx=[`channels`,`clockRate`,`mimeType`,`sdpFmtpLine`,`RTCRtpCodec`,`P'4!8'4"&4#&4$8Mw%y`],fx=[`isFinal`,`length`,`index`,()=>Tw,`item`,()=>Tw,`SpeechRecognitionResult`,`P)4!9'4"9P'2#n$1%'n&LMw'y`],px=[`default`,`lang`,`localService`,`name`,`voiceURI`,`SpeechSynthesisVoice`,`P)4!9&4"9)4#9&4$9&4%9Mw&y`],mx=[()=>xp,`boundary`,()=>xp,`end`,()=>bp,`error`,()=>xp,`mark`,()=>xp,`pause`,()=>xp,`resume`,()=>xp,`start`,`SpeechSynthesisUtteranceEventMap`,`Pn!4"n#4$n%4&n'4(n)4*n+4,n-4.Mw/y`],hx=[`length`,`id`,()=>vx,`getCueById`,()=>vx,`TextTrackCueList`,`P'4!9P&2"Pn#,J1$'n%LMw&y`],gx=[`captions`,`chapters`,`descriptions`,`metadata`,`subtitles`,`TextTrackKind`,`P.!.".#.$.%Jw&y`],_x=[`disabled`,`hidden`,`showing`,`TextTrackMode`,`P.!.".#Jw$y`],vx=[()=>W,`endTime`,`id`,0,`this`,()=>G,`ev`,``,`onenter`,0,()=>G,`onexit`,`pauseOnExit`,`startTime`,()=>iv,`track`,`type`,0,()=>Ew,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Ew,()=>H,`removeEventListener`,()=>V,()=>H,`TextTrackCue`,`Pn!'4"&4#PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,)4-'4.Pn/,J409P"21Pn22%n3"f2'"/(24P)n5J268$17P&21n824P)n9J268$17P"21Pn:2%n;"f2'"/(24P)n<J268$1=P&21n>24P)n?J268$1=Mw@y`],yx=[()=>G,`cuechange`,`TextTrackEventMap`,`Pn!4"Mw#y`],bx=[`length`,`index`,`end`,`start`,`TimeRanges`,`P'4!9P'2"'1#P'2"'1$Mw%y`],xx=[`code`,`message`,1,`MEDIA_ERR_ABORTED`,2,`MEDIA_ERR_NETWORK`,3,`MEDIA_ERR_DECODE`,4,`MEDIA_ERR_SRC_NOT_SUPPORTED`,`MediaError`,`P'4!9&4"9.#4$9.%4&9.'4(9.)4*9Mw+y`],Sx=[()=>Dw,`sessionType`,()=>Ow,`createSession`,()=>kw,`policy`,()=>Aw,`getStatusForPolicy`,()=>jw,`serverCertificate`,`setServerCertificate`,`MediaKeys`,"PPn!2\"8n#1$Pn%2&8n'`1(Pn)2*)`1+Mw,y"],Cx=[()=>W,0,`this`,()=>G,`ev`,``,`onconnect`,0,()=>G,`onconnecting`,0,()=>G,`ondisconnect`,()=>Mw,`state`,`id`,`cancelWatchAvailability`,`prompt`,()=>Nw,`callback`,`watchAvailability`,`type`,0,()=>Pw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Pw,()=>H,`removeEventListener`,()=>V,()=>H,`RemotePlayback`,`Pn!PPn"2#n$2%"/&,J4'PPn(2#n)2%"/&,J4*PPn+2#n,2%"/&,J4-n.4/9P'208$\`11P$\`12Pn324'\`15P"26Pn72#n8"f2%"/&29P)n:J2;8$1<P&26n=29P)n>J2;8$1<P"26Pn?2#n@"f2%"/&29P)nAJ2;8$1BP&26nC29P)nDJ2;8$1BMwEy`],wx=[()=>Zs,()=>Fw,()=>Uc,`MediaProvider`,`Pn!n"n#Jw$y`],Tx=[()=>W,`length`,0,`this`,()=>Tp,`ev`,``,`onaddtrack`,0,()=>G,`onchange`,0,()=>Tp,`onremovetrack`,`id`,()=>iv,`getTrackById`,`type`,0,()=>Iw,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Iw,()=>H,`removeEventListener`,()=>V,()=>H,()=>iv,`TextTrackList`,`Pn!'4"9PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+PPn,2$n-2&"/',J4.P&2/Pn0,J11P"22Pn32$n4"f2&"/'25P)n6J278$18P&22n925P)n:J278$18P"22Pn;2$n<"f2&"/'25P)n=J278$1>P&22n?25P)n@J278$1>'nALMwBy`],Ex=[``,`maybe`,`probably`,`CanPlayTypeResult`,`P.!.".#Jw$y`],Dx=[`T`,` `,``,`OptionalPrefixToken`,`b!PPe#!."S.#Jw$y`],Ox=[`section-`,`AutoFillSection`,`P.!&Sw"y`],kx=[`billing`,`shipping`,`AutoFillAddressKind`,`P.!."Jw#y`],Ax=[()=>Lw,()=>Dx,()=>Rw,()=>zw,`AutoFillField`,`Pn!Pn#o""n$SJw%y`],jx=[`T`,` `,``,`OptionalPostfixToken`,`b!PP."e#!S.#Jw$y`],Mx=[`webauthn`,`AutoFillCredentialField`,`.!w"y`],Nx=[`name`,()=>Bw,`root`,`FileSystem`,`P&4!9n"4#9Mw$y`],Px=[()=>gv,`entry`,``,`FileSystemEntryCallback`,`PPn!2"$v#Mw$y`],Fx=[()=>Xb,`err`,``,`ErrorCallback`,`PPn!2"$v#Mw$y`],Ix=[()=>Hd,`captureTime`,()=>Hd,`expectedDisplayTime`,`height`,`mediaTime`,()=>Hd,`presentationTime`,`presentedFrames`,`processingDuration`,()=>Hd,`receiveTime`,`rtpTimestamp`,`width`,`VideoFrameCallbackMetadata`,`Pn!4"8n#4$'4%'4&n'4('4)'4*8n+4,8'4-8'4.Mw/y`],Lx=[`length`,`numberOfItems`,()=>w_,`newItem`,()=>w_,`appendItem`,`clear`,()=>w_,`consolidate`,()=>ku,`matrix`,()=>w_,`createSVGTransformFromMatrix`,`index`,()=>w_,`getItem`,()=>w_,()=>w_,`initialize`,()=>w_,()=>w_,`insertItemBefore`,()=>w_,`removeItem`,()=>w_,()=>w_,`replaceItem`,()=>w_,`SVGTransformList`,`P'4!9'4"9Pn#2$n%1&P$1'PPn(,J1)Pn*2+8n,1-P'2.n/10Pn12$n213Pn42$'2.n516P'2.n718Pn92$'2.n:1;'n<LMw=y`],Rx=[`length`,`numberOfItems`,()=>S_,`newItem`,()=>S_,`appendItem`,`clear`,`index`,()=>S_,`getItem`,()=>S_,()=>S_,`initialize`,()=>S_,()=>S_,`insertItemBefore`,()=>S_,`removeItem`,()=>S_,()=>S_,`replaceItem`,()=>S_,`SVGNumberList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],zx=[`align`,`meetOrSlice`,0,`SVG_PRESERVEASPECTRATIO_UNKNOWN`,1,`SVG_PRESERVEASPECTRATIO_NONE`,2,`SVG_PRESERVEASPECTRATIO_XMINYMIN`,3,`SVG_PRESERVEASPECTRATIO_XMIDYMIN`,4,`SVG_PRESERVEASPECTRATIO_XMAXYMIN`,5,`SVG_PRESERVEASPECTRATIO_XMINYMID`,6,`SVG_PRESERVEASPECTRATIO_XMIDYMID`,7,`SVG_PRESERVEASPECTRATIO_XMAXYMID`,8,`SVG_PRESERVEASPECTRATIO_XMINYMAX`,9,`SVG_PRESERVEASPECTRATIO_XMIDYMAX`,10,`SVG_PRESERVEASPECTRATIO_XMAXYMAX`,0,`SVG_MEETORSLICE_UNKNOWN`,1,`SVG_MEETORSLICE_MEET`,2,`SVG_MEETORSLICE_SLICE`,`SVGPreserveAspectRatio`,`P'4!'4".#4$9.%4&9.'4(9.)4*9.+4,9.-4.9./409.1429.3449.5469.7489.94:9.;4<9.=4>9Mw?y`],Bx=[`length`,`numberOfItems`,()=>C_,`newItem`,()=>C_,`appendItem`,`clear`,`index`,()=>C_,`getItem`,()=>C_,()=>C_,`initialize`,()=>C_,()=>C_,`insertItemBefore`,()=>C_,`removeItem`,()=>C_,()=>C_,`replaceItem`,()=>C_,`SVGPointList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],Vx=[()=>Vw,`animVal`,()=>Vw,`baseVal`,`SVGAnimatedLengthList`,`Pn!4"9n#4$9Mw%y`],Hx=[()=>Hd,`time`,``,`FrameRequestCallback`,`PPn!2"$v#Mw$y`],Ux=[`cacheName`,`delete`,`has`,`keys`,()=>Xx,()=>Pp,`request`,()=>Hw,`options`,()=>Qx,`match`,()=>Uw,`open`,`CacheStorage`,"PP&2!)`1\"P&2!)`1#P&F`1$PPn%n&J2'n(2)8Pn*-J`1+P&2!n,`1-Mw.y"],Wx=[()=>Ww,`subtle`,`array`,`getRandomValues`,`-`,`randomUUID`,`Crypto`,`Pn!4"9P"2#"1$PP&.%&.%&.%&.%&S1&Mw'y`],Gx=[`first`,`second`,`cmp`,()=>Gw,`databases`,`name`,()=>Kw,`deleteDatabase`,`version`,()=>Kw,`open`,`IDBFactory`,`PP"2!"2"'1#Pn$F\`1%P&2&n'1(P&2&'2)8n*1+Mw,y`],Kx=[()=>W,()=>qw,`eventCounts`,`interactionCount`,()=>Jw,`navigation`,0,`this`,()=>G,`ev`,``,`onresourcetimingbufferfull`,()=>Hd,`timeOrigin`,()=>Yw,`timing`,`markName`,`clearMarks`,`measureName`,`clearMeasures`,`clearResourceTimings`,()=>Xw,`getEntries`,`name`,`type`,()=>Xw,`getEntriesByName`,()=>Xw,`getEntriesByType`,()=>Zw,`markOptions`,()=>Qw,`mark`,()=>$w,`startOrMeasureOptions`,`endMark`,()=>eT,`measure`,()=>Hd,`now`,`maxSize`,`setResourceTimingBufferSize`,`toJSON`,0,()=>tT,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>tT,()=>H,`removeEventListener`,()=>V,()=>H,`Performance`,`Pn!n"4#9'4$9n%4&9PPn'2(n)2*"/+,J4,n-4.9n/409P&218$12P&238$14P$15Pn617P&28&298n:1;P&29n<1=P&21n>2?8n@1AP&23P&nBJ2C8&2D8nE1FPnG1HP'2I$1JP"1KP"29PnL2(nM"f2*"/+2NP)nOJ2P8$1QP&29nR2NP)nSJ2P8$1QP"29PnT2(nU"f2*"/+2NP)nVJ2P8$1WP&29nX2NP)nYJ2P8$1WMwZy`],qx=[()=>nT,`callback`,()=>rT,`options`,`postTask`,`yield`,`Scheduler`,'PPn!2"n#2$8"`1%P$`1&Mw\'y'],Jx=[()=>lu,()=>Uc,()=>hu,`ImageBitmapSource`,`Pn!n"n#Jw$y`],Yx=[()=>iT,`colorSpaceConversion`,()=>aT,`imageOrientation`,()=>oT,`premultiplyAlpha`,`resizeHeight`,()=>sT,`resizeQuality`,`resizeWidth`,`ImageBitmapOptions`,`Pn!4"8n#4$8n%4&8'4'8n(4)8'4*8Mw+y`],Xx=[()=>cT,`RequestInfo`,`Pn!&Jw"y`],Zx=[()=>kS,`body`,()=>lT,`cache`,()=>uT,`credentials`,()=>dT,`headers`,`integrity`,`keepalive`,`method`,()=>fT,`mode`,()=>pT,`priority`,()=>mT,`redirect`,`referrer`,()=>fv,`referrerPolicy`,()=>Zc,`signal`,`window`,`RequestInit`,`PPn!,J4"8n#4$8n%4&8n'4(8&4)8)4*8&4+8n,4-8n.4/8n0418&428n3448Pn5,J468,478Mw8y`],Qx=[()=>hT,()=>gT,`headers`,`ok`,`redirected`,`status`,`statusText`,()=>_T,`type`,`url`,0,`clone`,`Response`,`Pn!n"4#9)4$9)4%9'4&9&4'9n(4)9&4*9Pn+1,Mw-y`],$x=[``,`VoidFunction`,`PP$v!Mw"y`],eS=[()=>Function,`TimerHandler`,`P&Pu!Jw"y`],tS=[`webdriver`,`NavigatorAutomationInformation`,`P)4!9Mw"y`],nS=[`clearAppBadge`,`contents`,`setAppBadge`,`NavigatorBadge`,"PP$`1!P'2\"8$`1#Mw$y"],rS=[`hardwareConcurrency`,`NavigatorConcurrentHardware`,`P'4!9Mw"y`],iS=[`scheme`,()=>Pp,`url`,`registerProtocolHandler`,`NavigatorContentUtils`,`PP&2!P&n"J2#$1$Mw%y`],aS=[`cookieEnabled`,`NavigatorCookies`,`P)4!9Mw"y`],oS=[()=>vT,`gpu`,`NavigatorGPU`,`Pn!4"9Mw#y`],sS=[`appCodeName`,`appName`,`appVersion`,`platform`,`product`,`productSub`,`userAgent`,`vendor`,`vendorSub`,`NavigatorID`,`P&4!9&4"9&4#9&4$9&4%9&4&9&4'9&4(9&4)9Mw*y`],cS=[`language`,()=>Jd,`languages`,`NavigatorLanguage`,`P&4!9&o""4#9Mw$y`],lS=[()=>yT,`locks`,`NavigatorLocks`,`Pn!4"9Mw#y`],uS=[`onLine`,`NavigatorOnLine`,`P)4!9Mw"y`],dS=[()=>bT,`mimeTypes`,`pdfViewerEnabled`,()=>xT,`plugins`,`javaEnabled`,`NavigatorPlugins`,`Pn!4"9)4#9n$4%9P)1&Mw'y`],fS=[()=>ST,`storage`,`NavigatorStorage`,`Pn!4"9Mw#y`],pS=[()=>W,()=>CT,`read`,`readText`,()=>CT,`data`,`write`,`writeText`,`Clipboard`,"Pn!Pn\"`1#P&`1$Pn%2&$`1'P&2&$`1(Mw)y"],mS=[()=>wT,`options`,()=>TT,`create`,()=>ET,()=>TT,`get`,`preventSilentAccess`,()=>TT,`credential`,`store`,`CredentialsContainer`,'PPn!2"8Pn#,J`1$Pn%2"8Pn&,J`1\'P$`1(Pn)2*$`1+Mw,y'],hS=[`watchId`,`clearWatch`,()=>DT,`successCallback`,()=>OT,`errorCallback`,()=>kT,`options`,`getCurrentPosition`,()=>DT,()=>OT,()=>kT,`watchPosition`,`Geolocation`,`PP'2!$1"Pn#2$Pn%,J2&8n'2(8$1)Pn*2$Pn+,J2&8n,2(8'1-Mw.y`],gS=[()=>AT,`status`,`setStatus`,`NavigatorLogin`,'PPn!2"$`1#Mw$y'],_S=[()=>jT,`configuration`,()=>MT,`decodingInfo`,()=>NT,()=>PT,`encodingInfo`,`MediaCapabilities`,'PPn!2"n#`1$Pn%2"n&`1\'Mw(y'],vS=[()=>W,0,`this`,()=>G,`ev`,``,`ondevicechange`,()=>FT,`enumerateDevices`,()=>IT,`options`,()=>Zs,`getDisplayMedia`,()=>LT,`getSupportedConstraints`,()=>RT,`constraints`,()=>Zs,`getUserMedia`,`type`,0,()=>zT,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>zT,()=>H,`removeEventListener`,()=>V,()=>H,`MediaDevices`,'Pn!PPn"2#n$2%"/&,J4\'Pn(F`1)Pn*2+8n,`1-Pn.1/Pn0218n2`13P"24Pn52#n6"f2%"/&27P)n8J2+8$19P&24n:27P)n;J2+8$19P"24Pn<2#n="f2%"/&27P)n>J2+8$1?P&24n@27P)nAJ2+8$1?MwBy'],yS=[()=>BT,`metadata`,()=>VT,`playbackState`,()=>HT,`action`,()=>UT,`handler`,`setActionHandler`,`active`,`setCameraActive`,`setMicrophoneActive`,()=>WT,`state`,`setPositionState`,`MediaSession`,"PPn!,J4\"n#4$Pn%2&Pn',J2($1)P)2*$`1+P)2*$`1,Pn-2.8$1/Mw0y"],bS=[()=>GT,`permissionDesc`,()=>KT,`query`,`Permissions`,'PPn!2"n#`1$Mw%y'],xS=[()=>W,()=>Lb,`controller`,0,`this`,()=>G,`ev`,``,`oncontrollerchange`,0,()=>ep,`onmessage`,0,()=>ep,`onmessageerror`,()=>qT,`ready`,()=>Pp,`clientURL`,()=>qT,`getRegistration`,()=>Jd,()=>qT,`getRegistrations`,()=>Pp,`scriptURL`,()=>JT,`options`,()=>qT,`register`,`startMessages`,`type`,0,()=>YT,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>YT,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorkerContainer`,`Pn!Pn",J4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,PPn-2%n.2'"/(,J4/n0\`419PP&n2J238Pn4-J\`15Pn7o6"\`18PP&n9J2:n;2<8n=\`1>P$1?P"2@PnA2%nB"f2'"/(2CP)nDJ2<8$1EP&2@nF2CP)nGJ2<8$1EP"2@PnH2%nI"f2'"/(2CP)nJJ2<8$1KP&2@nL2CP)nMJ2<8$1KMwNy`],SS=[`hasBeenActive`,`isActive`,`UserActivation`,`P)4!9)4"9Mw#y`],CS=[()=>XT,`type`,()=>ZT,`request`,`WakeLock`,'PPn!2"8n#`1$Mw%y'],wS=[()=>eu,`files`,`text`,`title`,`url`,`ShareData`,`Pn!F4"8&4#8&4$8&4%8Mw&y`],TS=[`software`,`sysex`,`MIDIOptions`,`P)4!8)4"8Mw#y`],ES=[()=>W,()=>QT,`inputs`,0,`this`,()=>Yf,`ev`,``,`onstatechange`,()=>$T,`outputs`,`sysexEnabled`,`type`,0,()=>eE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>eE,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIAccess`,`Pn!n"4#9PPn$2%n&2'"/(,J4)n*4+9)4,9P"2-Pn.2%n/"f2'"/(20P)n1J228$13P&2-n420P)n5J228$13P"2-Pn62%n7"f2'"/(20P)n8J228$19P&2-n:20P)n;J228$19Mw<y`],DS=[()=>tE,`audioCapabilities`,()=>nE,`distinctiveIdentifier`,`initDataTypes`,`label`,()=>nE,`persistentState`,`sessionTypes`,()=>tE,`videoCapabilities`,`MediaKeySystemConfiguration`,`Pn!F4"8n#4$8&F4%8&4&8n'4(8&F4)8n*F4+8Mw,y`],OS=[`keySystem`,()=>Sx,`createMediaKeys`,()=>DS,`getConfiguration`,`MediaKeySystemAccess`,'P&4!9Pn"`1#Pn$1%Mw&y'],kS=[()=>Vd,()=>rE,`BodyInit`,`Pn!n"Jw#y`],AS=[`VibratePattern`,`P''FJw!y`],jS=[`domain`,`name`,`partitioned`,`path`,`CookieStoreDeleteOptions`,`PP&,J4!8&4")4#8&4$8Mw%y`],MS=[`name`,`url`,`CookieStoreGetOptions`,`P&4!8&4"8Mw#y`],NS=[()=>k_,`CookieList`,`n!Fw"y`],PS=[`domain`,()=>Hd,`expires`,`name`,`partitioned`,`path`,()=>iE,`sameSite`,`value`,`CookieInit`,`PP&,J4!8Pn",J4#8&4$)4%8&4&8n'4(8&4)Mw*y`],FS=[()=>Bf,`change`,`CookieStoreEventMap`,`Pn!4"Mw#y`],IS=[`auto`,`manual`,`ScrollRestoration`,`P.!."Jw#y`],LS=[`committed`,`finished`,()=>H_,`from`,()=>B_,`navigationType`,`NavigationTransition`,"P$`4!9$`4\"9n#4$9n%4&9Mw'y"],RS=[`info`,`NavigationOptions`,`P"4!8Mw"y`],zS=[()=>H_,`committed`,()=>H_,`finished`,`NavigationResult`,'Pn!`4"8n#`4$8Mw%y'],BS=[()=>RS,()=>aE,`history`,`state`,`NavigationNavigateOptions`,`Pn!n"4#8"4$8Mw%y`],VS=[()=>RS,`state`,`NavigationReloadOptions`,`Pn!"4"8Mw#y`],HS=[`state`,`NavigationUpdateCurrentEntryOptions`,`P"4!Mw"y`],US=[()=>np,`currententrychange`,()=>tp,`navigate`,()=>Wd,`navigateerror`,()=>G,`navigatesuccess`,`NavigationEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],WS=[()=>W,`angle`,0,`this`,()=>G,`ev`,``,`onchange`,()=>oE,`type`,()=>sE,`orientation`,`lock`,`unlock`,0,()=>cE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>cE,()=>H,`removeEventListener`,()=>V,()=>H,`ScreenOrientation`,`Pn!'4"9PPn#2$n%2&"/',J4(n)4*9Pn+2,$\`1-P$1.P"2*Pn/2$n0"f2&"/'21P)n2J238$14P&2*n521P)n6J238$14P"2*Pn72$n8"f2&"/'21P)n9J238$1:P&2*n;21P)n<J238$1:Mw=y`],GS=[()=>G,`voiceschanged`,`SpeechSynthesisEventMap`,`Pn!4"Mw#y`],KS=[()=>G,`resize`,()=>G,`scroll`,`VisualViewportEventMap`,`Pn!4"n#4$Mw%y`],qS=[()=>lE,`accentColor`,`alignContent`,`alignItems`,`alignSelf`,`alignmentBaseline`,`all`,`anchorName`,`anchorScope`,`animation`,`animationComposition`,`animationDelay`,`animationDirection`,`animationDuration`,`animationFillMode`,`animationIterationCount`,`animationName`,`animationPlayState`,`animationRange`,`animationRangeEnd`,`animationRangeStart`,`animationTimeline`,`animationTimingFunction`,`appearance`,`aspectRatio`,`backdropFilter`,`backfaceVisibility`,`background`,`backgroundAttachment`,`backgroundBlendMode`,`backgroundClip`,`backgroundColor`,`backgroundImage`,`backgroundOrigin`,`backgroundPosition`,`backgroundPositionX`,`backgroundPositionY`,`backgroundRepeat`,`backgroundSize`,`baselineShift`,`baselineSource`,`blockSize`,`border`,`borderBlock`,`borderBlockColor`,`borderBlockEnd`,`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`,`borderBlockStart`,`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`,`borderBlockStyle`,`borderBlockWidth`,`borderBottom`,`borderBottomColor`,`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderBottomStyle`,`borderBottomWidth`,`borderCollapse`,`borderColor`,`borderEndEndRadius`,`borderEndStartRadius`,`borderImage`,`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`,`borderInline`,`borderInlineColor`,`borderInlineEnd`,`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`,`borderInlineStart`,`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`,`borderInlineStyle`,`borderInlineWidth`,`borderLeft`,`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`,`borderRadius`,`borderRight`,`borderRightColor`,`borderRightStyle`,`borderRightWidth`,`borderSpacing`,`borderStartEndRadius`,`borderStartStartRadius`,`borderStyle`,`borderTop`,`borderTopColor`,`borderTopLeftRadius`,`borderTopRightRadius`,`borderTopStyle`,`borderTopWidth`,`borderWidth`,`bottom`,`boxDecorationBreak`,`boxShadow`,`boxSizing`,`breakAfter`,`breakBefore`,`breakInside`,`captionSide`,`caretColor`,`clear`,`clip`,`clipPath`,`clipRule`,`color`,`colorInterpolation`,`colorInterpolationFilters`,`colorScheme`,`columnCount`,`columnFill`,`columnGap`,`columnRule`,`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`,`columnSpan`,`columnWidth`,`columns`,`contain`,`containIntrinsicBlockSize`,`containIntrinsicHeight`,`containIntrinsicInlineSize`,`containIntrinsicSize`,`containIntrinsicWidth`,`container`,`containerName`,`containerType`,`content`,`contentVisibility`,`counterIncrement`,`counterReset`,`counterSet`,`cssFloat`,`cursor`,`cx`,`cy`,`d`,`direction`,`display`,`dominantBaseline`,`dynamicRangeLimit`,`emptyCells`,`fieldSizing`,`fill`,`fillOpacity`,`fillRule`,`filter`,`flex`,`flexBasis`,`flexDirection`,`flexFlow`,`flexGrow`,`flexShrink`,`flexWrap`,`float`,`floodColor`,`floodOpacity`,`font`,`fontFamily`,`fontFeatureSettings`,`fontKerning`,`fontLanguageOverride`,`fontOpticalSizing`,`fontPalette`,`fontSize`,`fontSizeAdjust`,`fontStretch`,`fontStyle`,`fontSynthesis`,`fontSynthesisSmallCaps`,`fontSynthesisStyle`,`fontSynthesisWeight`,`fontVariant`,`fontVariantAlternates`,`fontVariantCaps`,`fontVariantEastAsian`,`fontVariantEmoji`,`fontVariantLigatures`,`fontVariantNumeric`,`fontVariantPosition`,`fontVariationSettings`,`fontWeight`,`forcedColorAdjust`,`gap`,`grid`,`gridArea`,`gridAutoColumns`,`gridAutoFlow`,`gridAutoRows`,`gridColumn`,`gridColumnEnd`,`gridColumnGap`,`gridColumnStart`,`gridGap`,`gridRow`,`gridRowEnd`,`gridRowGap`,`gridRowStart`,`gridTemplate`,`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`,`height`,`hyphenateCharacter`,`hyphenateLimitChars`,`hyphens`,`imageOrientation`,`imageRendering`,`inlineSize`,`inset`,`insetBlock`,`insetBlockEnd`,`insetBlockStart`,`insetInline`,`insetInlineEnd`,`insetInlineStart`,`isolation`,`justifyContent`,`justifyItems`,`justifySelf`,`left`,`letterSpacing`,`lightingColor`,`lineBreak`,`lineHeight`,`listStyle`,`listStyleImage`,`listStylePosition`,`listStyleType`,`margin`,`marginBlock`,`marginBlockEnd`,`marginBlockStart`,`marginBottom`,`marginInline`,`marginInlineEnd`,`marginInlineStart`,`marginLeft`,`marginRight`,`marginTop`,`marker`,`markerEnd`,`markerMid`,`markerStart`,`mask`,`maskClip`,`maskComposite`,`maskImage`,`maskMode`,`maskOrigin`,`maskPosition`,`maskRepeat`,`maskSize`,`maskType`,`mathDepth`,`mathShift`,`mathStyle`,`maxBlockSize`,`maxHeight`,`maxInlineSize`,`maxWidth`,`minBlockSize`,`minHeight`,`minInlineSize`,`minWidth`,`mixBlendMode`,`objectFit`,`objectPosition`,`offset`,`offsetAnchor`,`offsetDistance`,`offsetPath`,`offsetPosition`,`offsetRotate`,`opacity`,`order`,`orphans`,`outline`,`outlineColor`,`outlineOffset`,`outlineStyle`,`outlineWidth`,`overflow`,`overflowAnchor`,`overflowBlock`,`overflowClipMargin`,`overflowInline`,`overflowWrap`,`overflowX`,`overflowY`,`overscrollBehavior`,`overscrollBehaviorBlock`,`overscrollBehaviorInline`,`overscrollBehaviorX`,`overscrollBehaviorY`,`padding`,`paddingBlock`,`paddingBlockEnd`,`paddingBlockStart`,`paddingBottom`,`paddingInline`,`paddingInlineEnd`,`paddingInlineStart`,`paddingLeft`,`paddingRight`,`paddingTop`,`page`,`pageBreakAfter`,`pageBreakBefore`,`pageBreakInside`,`paintOrder`,`perspective`,`perspectiveOrigin`,`placeContent`,`placeItems`,`placeSelf`,`pointerEvents`,`position`,`positionAnchor`,`positionArea`,`positionTry`,`positionTryFallbacks`,`positionTryOrder`,`positionVisibility`,`printColorAdjust`,`quotes`,`r`,`resize`,`right`,`rotate`,`rowGap`,`rubyAlign`,`rubyPosition`,`rx`,`ry`,`scale`,`scrollBehavior`,`scrollMargin`,`scrollMarginBlock`,`scrollMarginBlockEnd`,`scrollMarginBlockStart`,`scrollMarginBottom`,`scrollMarginInline`,`scrollMarginInlineEnd`,`scrollMarginInlineStart`,`scrollMarginLeft`,`scrollMarginRight`,`scrollMarginTop`,`scrollPadding`,`scrollPaddingBlock`,`scrollPaddingBlockEnd`,`scrollPaddingBlockStart`,`scrollPaddingBottom`,`scrollPaddingInline`,`scrollPaddingInlineEnd`,`scrollPaddingInlineStart`,`scrollPaddingLeft`,`scrollPaddingRight`,`scrollPaddingTop`,`scrollSnapAlign`,`scrollSnapStop`,`scrollSnapType`,`scrollTimeline`,`scrollTimelineAxis`,`scrollTimelineName`,`scrollbarColor`,`scrollbarGutter`,`scrollbarWidth`,`shapeImageThreshold`,`shapeMargin`,`shapeOutside`,`shapeRendering`,`stopColor`,`stopOpacity`,`stroke`,`strokeDasharray`,`strokeDashoffset`,`strokeLinecap`,`strokeLinejoin`,`strokeMiterlimit`,`strokeOpacity`,`strokeWidth`,`tabSize`,`tableLayout`,`textAlign`,`textAlignLast`,`textAnchor`,`textAutospace`,`textBox`,`textBoxEdge`,`textBoxTrim`,`textCombineUpright`,`textDecoration`,`textDecorationColor`,`textDecorationLine`,`textDecorationSkipInk`,`textDecorationStyle`,`textDecorationThickness`,`textEmphasis`,`textEmphasisColor`,`textEmphasisPosition`,`textEmphasisStyle`,`textIndent`,`textJustify`,`textOrientation`,`textOverflow`,`textRendering`,`textShadow`,`textTransform`,`textUnderlineOffset`,`textUnderlinePosition`,`textWrap`,`textWrapMode`,`textWrapStyle`,`timelineScope`,`top`,`touchAction`,`transform`,`transformBox`,`transformOrigin`,`transformStyle`,`transition`,`transitionBehavior`,`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`,`translate`,`unicodeBidi`,`userSelect`,`vectorEffect`,`verticalAlign`,`viewTimeline`,`viewTimelineAxis`,`viewTimelineInset`,`viewTimelineName`,`viewTransitionClass`,`viewTransitionName`,`visibility`,`webkitAlignContent`,`webkitAlignItems`,`webkitAlignSelf`,`webkitAnimation`,`webkitAnimationDelay`,`webkitAnimationDirection`,`webkitAnimationDuration`,`webkitAnimationFillMode`,`webkitAnimationIterationCount`,`webkitAnimationName`,`webkitAnimationPlayState`,`webkitAnimationTimingFunction`,`webkitAppearance`,`webkitBackfaceVisibility`,`webkitBackgroundClip`,`webkitBackgroundOrigin`,`webkitBackgroundSize`,`webkitBorderBottomLeftRadius`,`webkitBorderBottomRightRadius`,`webkitBorderRadius`,`webkitBorderTopLeftRadius`,`webkitBorderTopRightRadius`,`webkitBoxAlign`,`webkitBoxFlex`,`webkitBoxOrdinalGroup`,`webkitBoxOrient`,`webkitBoxPack`,`webkitBoxShadow`,`webkitBoxSizing`,`webkitFilter`,`webkitFlex`,`webkitFlexBasis`,`webkitFlexDirection`,`webkitFlexFlow`,`webkitFlexGrow`,`webkitFlexShrink`,`webkitFlexWrap`,`webkitJustifyContent`,`webkitLineClamp`,`webkitMask`,`webkitMaskBoxImage`,`webkitMaskBoxImageOutset`,`webkitMaskBoxImageRepeat`,`webkitMaskBoxImageSlice`,`webkitMaskBoxImageSource`,`webkitMaskBoxImageWidth`,`webkitMaskClip`,`webkitMaskComposite`,`webkitMaskImage`,`webkitMaskOrigin`,`webkitMaskPosition`,`webkitMaskRepeat`,`webkitMaskSize`,`webkitOrder`,`webkitPerspective`,`webkitPerspectiveOrigin`,`webkitTextFillColor`,`webkitTextSizeAdjust`,`webkitTextStroke`,`webkitTextStrokeColor`,`webkitTextStrokeWidth`,`webkitTransform`,`webkitTransformOrigin`,`webkitTransformStyle`,`webkitTransition`,`webkitTransitionDelay`,`webkitTransitionDuration`,`webkitTransitionProperty`,`webkitTransitionTimingFunction`,`webkitUserSelect`,`whiteSpace`,`whiteSpaceCollapse`,`widows`,`width`,`willChange`,`wordBreak`,`wordSpacing`,`wordWrap`,`writingMode`,`x`,`y`,`zIndex`,`zoom`,`CSSStyleProperties`,`Pn!&4"&4#&4$&4%&4&&4'&4(&4)&4*&4+&4,&4-&4.&4/&40&41&42&43&44&45&46&47&48&49&4:&4;&4<&4=&4>&4?&4@&4A&4B&4C&4D&4E&4F&4G&4H&4I&4J&4K&4L&4M&4N&4O&4P&4Q&4R&4S&4T&4U&4V&4W&4X&4Y&4Z&4[&4\\&4]&4^&4_&4\`&4a&4b&4c&4d&4e&4f&4g&4h&4i&4j&4k&4l&4m&4n&4o&4p&4q&4r&4s&4t&4u&4v&4w&4x&4y&4z&4{&4|&4}&4~&4&4&4&4&4&4&4
&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4&4\xA0&4¡&4¢&4£&4¤&4¥&4¦&4§&4¨&4©&4ª&4«&4¬&4&4®&4¯&4°&4±&4²&4³&4´&4µ&4¶&4·&4¸&4¹&4º&4»&4¼&4½&4¾&4¿&4À&4Á&4Â&4Ã&4Ä&4Å&4Æ&4Ç&4È&4É&4Ê&4Ë&4Ì&4Í&4Î&4Ï&4Ð&4Ñ&4Ò&4Ó&4Ô&4Õ&4Ö&4×&4Ø&4Ù&4Ú&4Û&4Ü&4Ý&4Þ&4ß&4à&4á&4â&4ã&4ä&4å&4æ&4ç&4è&4é&4ê&4ë&4ì&4í&4î&4ï&4ð&4ñ&4ò&4ó&4ô&4õ&4ö&4÷&4ø&4ù&4ú&4û&4ü&4ý&4þ&4ÿ&4Ā&4ā&4Ă&4ă&4Ą&4ą&4Ć&4ć&4Ĉ&4ĉ&4Ċ&4ċ&4Č&4č&4Ď&4ď&4Đ&4đ&4Ē&4ē&4Ĕ&4ĕ&4Ė&4ė&4Ę&4ę&4Ě&4ě&4Ĝ&4ĝ&4Ğ&4ğ&4Ġ&4ġ&4Ģ&4ģ&4Ĥ&4ĥ&4Ħ&4ħ&4Ĩ&4ĩ&4Ī&4ī&4Ĭ&4ĭ&4Į&4į&4İ&4ı&4IJ&4ij&4Ĵ&4ĵ&4Ķ&4ķ&4ĸ&4Ĺ&4ĺ&4Ļ&4ļ&4Ľ&4ľ&4Ŀ&4ŀ&4Ł&4ł&4Ń&4ń&4Ņ&4ņ&4Ň&4ň&4ʼn&4Ŋ&4ŋ&4Ō&4ō&4Ŏ&4ŏ&4Ő&4ő&4Œ&4œ&4Ŕ&4ŕ&4Ŗ&4ŗ&4Ř&4ř&4Ś&4ś&4Ŝ&4ŝ&4Ş&4ş&4Š&4š&4Ţ&4ţ&4Ť&4ť&4Ŧ&4ŧ&4Ũ&4ũ&4Ū&4ū&4Ŭ&4ŭ&4Ů&4ů&4Ű&4ű&4Ų&4ų&4Ŵ&4ŵ&4Ŷ&4ŷ&4Ÿ&4Ź&4ź&4Ż&4ż&4Ž&4ž&4ſ&4ƀ&4Ɓ&4Ƃ&4ƃ&4Ƅ&4ƅ&4Ɔ&4Ƈ&4ƈ&4Ɖ&4Ɗ&4Ƌ&4ƌ&4ƍ&4Ǝ&4Ə&4Ɛ&4Ƒ&4ƒ&4Ɠ&4Ɣ&4ƕ&4Ɩ&4Ɨ&4Ƙ&4ƙ&4ƚ&4ƛ&4Ɯ&4Ɲ&4ƞ&4Ɵ&4Ơ&4ơ&4Ƣ&4ƣ&4Ƥ&4ƥ&4Ʀ&4Ƨ&4ƨ&4Ʃ&4ƪ&4ƫ&4Ƭ&4ƭ&4Ʈ&4Ư&4ư&4Ʊ&4Ʋ&4Ƴ&4ƴ&4Ƶ&4ƶ&4Ʒ&4Ƹ&4ƹ&4ƺ&4ƻ&4Ƽ&4ƽ&4ƾ&4ƿ&4ǀ&4ǁ&4ǂ&4ǃ&4DŽ&4Dž&4dž&4LJ&4Lj&4lj&4NJ&4Nj&4nj&4Ǎ&4ǎ&4Ǐ&4ǐ&4Ǒ&4ǒ&4Ǔ&4ǔ&4Ǖ&4ǖ&4Ǘ&4ǘ&4Ǚ&4ǚ&4Ǜ&4ǜ&4ǝ&4Ǟ&4ǟ&4Ǡ&4ǡ&4Ǣ&4ǣ&4Ǥ&4ǥ&4Ǧ&4ǧ&4Ǩ&4ǩ&4Ǫ&4ǫ&4Ǭ&4ǭ&4Ǯ&4ǯ&4ǰ&4DZ&4Dz&4dz&4Ǵ&4ǵ&4Ƕ&4Ƿ&4Ǹ&4ǹ&4Ǻ&4ǻ&4Ǽ&4ǽ&4Ǿ&4ǿ&4Ȁ&4ȁ&4Ȃ&4ȃ&4Ȅ&4ȅ&4Ȇ&4ȇ&4Ȉ&4ȉ&4Ȋ&4ȋ&4Ȍ&4ȍ&4Ȏ&4ȏ&4Ȑ&4ȑ&4Ȓ&4ȓ&4Ȕ&4ȕ&4Ȗ&4ȗ&4Ș&4ș&4Ț&4ț&4Ȝ&4ȝ&4Ȟ&4ȟ&4Ƞ&4ȡ&4Ȣ&4ȣ&4Ȥ&4ȥ&4Ȧ&4ȧ&4Ȩ&4ȩ&4Ȫ&4ȫ&4Ȭ&4ȭ&4Ȯ&4ȯ&4Ȱ&4ȱ&4Ȳ&4ȳ&4ȴ&4ȵ&4ȶMwȷy`],JS=[()=>$f,`change`,`MediaQueryListEventMap`,`Pn!4"Mw#y`],YS=[`MediaSourceHandle`,`PMw!y`],XS=[`I`,`O`,()=>Vd,`readable`,()=>qg,`writable`,`TransformStream`,`"c!"c"Pe""o#"4$9e"!o%"4&9Mw'y`],ZS=[`duration`,()=>uE,`format`,`numberOfChannels`,`numberOfFrames`,`sampleRate`,`timestamp`,()=>dE,`options`,`allocationSize`,0,`clone`,`close`,()=>Ed,`destination`,()=>dE,`copyTo`,`AudioData`,`P'4!9Pn",J4#9'4$9'4%9'4&9'4'9Pn(2)'1*Pn+1,P$1-Pn.2/n02)$11Mw2y`],QS=[`didTimeout`,()=>Hd,`timeRemaining`,`IdleDeadline`,`P)4!9Pn"1#Mw$y`],$S=[`kind`,`type`,()=>eu,`getAsFile`,()=>fE,`callback`,`getAsString`,()=>gv,`webkitGetAsEntry`,`DataTransferItem`,`P&4!9&4"9PPn#,J1$PPn%,J2&$1'PPn(,J1)Mw*y`],eC=[()=>yg,`exact`,`ideal`,`ConstrainDoubleRange`,`Pn!'4"8'4#8Mw$y`],tC=[`exact`,`ideal`,`ConstrainBooleanParameters`,`P)4!8)4"8Mw#y`],nC=[()=>bg,`exact`,`ideal`,`ConstrainULongRange`,`Pn!'4"8'4#8Mw$y`],rC=[`exact`,`ideal`,`ConstrainDOMStringParameters`,`PP&&FJ4!8P&&FJ4"8Mw#y`],iC=[`exact`,`ideal`,`ConstrainBooleanOrDOMStringParameters`,`PP)&J4!8P)&J4"8Mw#y`],aC=[`bt470bg`,`bt709`,`rgb`,`smpte170m`,`VideoMatrixCoefficients`,`P.!.".#.$Jw%y`],oC=[`bt470bg`,`bt709`,`smpte170m`,`VideoColorPrimaries`,`P.!.".#Jw$y`],sC=[`bt709`,`iec61966-2-1`,`smpte170m`,`VideoTransferCharacteristics`,`P.!.".#Jw$y`],cC=[`fullRange`,()=>aC,`matrix`,()=>oC,`primaries`,()=>sC,`transfer`,`VideoColorSpaceInit`,`PP),J4!8Pn",J4#8Pn$,J4%8Pn&,J4'8Mw(y`],lC=[`height`,`width`,`x`,`y`,`DOMRectInit`,`P'4!8'4"8'4#8'4$8Mw%y`],uC=[`destroyed`,`unknown`,`GPUDeviceLostReason`,`P.!."Jw#y`],dC=[`flipY`,()=>pE,`origin`,()=>mE,`source`,`GPUCopyExternalImageSourceInfo`,`P)4!8n"4#8n$4%Mw&y`],fC=[()=>gC,()=>vc,`colorSpace`,`premultipliedAlpha`,`GPUCopyExternalImageDestInfo`,`Pn!n"4#8)4$8Mw%y`],pC=[()=>eb,()=>hE,`GPUExtent3D`,`Pn!Fn"Jw#y`],mC=[()=>Pg,`GPUCommandBuffer`,`Pn!Mw"y`],hC=[`GPUSize64`,`'w!y`],gC=[()=>tb,`aspect`,()=>eb,`mipLevel`,()=>gE,`origin`,()=>Bd,`texture`,`GPUTexelCopyTextureInfo`,`Pn!4"8n#4$8n%4&8n'4(Mw)y`],_C=[()=>jC,`bytesPerRow`,()=>hC,`offset`,()=>jC,`rowsPerImage`,`GPUTexelCopyBufferLayout`,`Pn!4"8n#4$8n%4&8Mw'y`],vC=[()=>_E,`binding`,()=>vE,`resource`,`GPUBindGroupEntry`,`Pn!4"n#4$Mw%y`],yC=[()=>_E,`binding`,()=>yE,`buffer`,()=>bE,`externalTexture`,()=>xE,`sampler`,()=>SE,`storageTexture`,()=>CE,`texture`,()=>wE,`visibility`,`GPUBindGroupLayoutEntry`,`Pn!4"n#4$8n%4&8n'4(8n)4*8n+4,8n-4.Mw/y`],bC=[`GPUBufferUsageFlags`,`'w!y`],xC=[`mapped`,`pending`,`unmapped`,`GPUBufferMapState`,`P.!.".#Jw$y`],SC=[`GPUSize64Out`,`'w!y`],CC=[`GPUMapModeFlags`,`'w!y`],wC=[`markerLabel`,`insertDebugMarker`,`popDebugGroup`,`groupLabel`,`pushDebugGroup`,`GPUDebugCommandsMixin`,`PP&2!$1"P$1#P&2$$1%Mw&y`],TC=[()=>$y,()=>TE,`timestampWrites`,`GPUComputePassDescriptor`,`Pn!n"4#8Mw$y`],EC=[()=>LC,()=>wC,()=>Pg,()=>jC,`workgroupCountX`,()=>jC,`workgroupCountY`,()=>jC,`workgroupCountZ`,`dispatchWorkgroups`,()=>Ay,`indirectBuffer`,()=>hC,`indirectOffset`,`dispatchWorkgroupsIndirect`,`end`,()=>Py,`pipeline`,`setPipeline`,`GPUComputePassEncoder`,`Pn!n"n#Pn$2%n&2'8n(2)8$1*Pn+2,n-2.$1/P$10Pn122$13Mw4y`],DC=[()=>$y,()=>EE,`colorAttachments`,()=>DE,`depthStencilAttachment`,()=>hC,`maxDrawCount`,()=>Ry,`occlusionQuerySet`,()=>OE,`timestampWrites`,`GPURenderPassDescriptor`,`Pn!Pn",JF4#n$4%8n&4'8n(4)8n*4+8Mw,y`],OC=[()=>LC,()=>wC,()=>Pg,()=>RC,()=>jC,`queryIndex`,`beginOcclusionQuery`,`end`,`endOcclusionQuery`,()=>BC,`bundles`,`executeBundles`,()=>kE,`color`,`setBlendConstant`,()=>eb,`x`,()=>eb,`y`,()=>eb,`width`,()=>eb,`height`,`setScissorRect`,()=>AE,`reference`,`setStencilReference`,`minDepth`,`maxDepth`,`setViewport`,`GPURenderPassEncoder`,`Pn!n"n#n$Pn%2&$1'P$1(P$1)Pn*F2+$1,Pn-2.$1/Pn021n223n425n627$18Pn92:$1;P'21'23'25'27'2<'2=$1>Mw?y`],kC=[()=>_C,()=>Ay,`buffer`,`GPUTexelCopyBufferInfo`,`Pn!n"4#Mw$y`],AC=[()=>$y,`GPUCommandBufferDescriptor`,`Pn!Mw"y`],jC=[`GPUSize32`,`'w!y`],MC=[()=>$y,()=>Iy,()=>jE,`layout`,`GPUPipelineDescriptorBase`,`Pn!Pn"n#J4$Mw%y`],NC=[()=>ME,()=>NE,`constants`,`entryPoint`,()=>Ky,`module`,`GPUProgrammableStage`,`P&n"o!#4#8&4$8n%4&Mw'y`],PC=[`index`,()=>Oy,`getBindGroupLayout`,`GPUPipelineBase`,`PP'2!n"1#Mw$y`],FC=[`occlusion`,`timestamp`,`GPUQueryType`,`P.!."Jw#y`],IC=[()=>$y,()=>jg,`colorFormats`,()=>jg,`depthStencilFormat`,()=>jC,`sampleCount`,`GPURenderPassLayout`,`Pn!Pn",JF4#n$4%8n&4'8Mw(y`],LC=[()=>_E,`index`,()=>Ey,`bindGroup`,()=>PE,`dynamicOffsets`,`setBindGroup`,()=>_E,()=>Ey,`dynamicOffsetsData`,()=>hC,`dynamicOffsetsDataStart`,()=>jC,`dynamicOffsetsDataLength`,`GPUBindingCommandsMixin`,`PPn!2"Pn#,J2$n%F2&8$1'Pn(2"Pn),J2$[2*n+2,n-2.$1'Mw/y`],RC=[()=>jC,`vertexCount`,()=>jC,`instanceCount`,()=>jC,`firstVertex`,()=>jC,`firstInstance`,`draw`,()=>jC,`indexCount`,()=>jC,()=>jC,`firstIndex`,()=>FE,`baseVertex`,()=>jC,`drawIndexed`,()=>Ay,`indirectBuffer`,()=>hC,`indirectOffset`,`drawIndexedIndirect`,()=>Ay,()=>hC,`drawIndirect`,()=>Ay,`buffer`,()=>IE,`indexFormat`,()=>hC,`offset`,()=>hC,`size`,`setIndexBuffer`,()=>Hy,`pipeline`,`setPipeline`,()=>_E,`slot`,()=>Ay,()=>hC,()=>hC,`setVertexBuffer`,`GPURenderCommandsMixin`,`PPn!2"n#2$8n%2&8n'2(8$1)Pn*2+n,2$8n-2.8n/208n12(8$12Pn324n526$17Pn824n926$1:Pn;2<n=2>n?2@8nA2B8$1CPnD2E$1FPnG2HPnI,J2<nJ2@8nK2B8$1LMwMy`],zC=[()=>$y,`GPURenderBundleDescriptor`,`Pn!Mw"y`],BC=[()=>Pg,`GPURenderBundle`,`Pn!Mw"y`],VC=[()=>LE,`depthBias`,`depthBiasClamp`,`depthBiasSlopeScale`,()=>qC,`depthCompare`,`depthWriteEnabled`,()=>jg,`format`,()=>RE,`stencilBack`,()=>RE,`stencilFront`,()=>AE,`stencilReadMask`,()=>AE,`stencilWriteMask`,`GPUDepthStencilState`,`Pn!4"8'4#8'4$8n%4&8)4'8n(4)n*4+8n,4-8n.4/8n0418Mw2y`],HC=[()=>NC,()=>zE,`targets`,`GPUFragmentState`,`Pn!Pn",JF4#Mw$y`],UC=[`alphaToCoverageEnabled`,()=>jC,`count`,()=>BE,`mask`,`GPUMultisampleState`,`P)4!8n"4#8n$4%8Mw&y`],WC=[()=>VE,`cullMode`,()=>HE,`frontFace`,()=>IE,`stripIndexFormat`,()=>UE,`topology`,`unclippedDepth`,`GPUPrimitiveState`,`Pn!4"8n#4$8n%4&8n'4(8)4)8Mw*y`],GC=[()=>NC,()=>WE,`buffers`,`GPUVertexState`,`Pn!Pn",JF4#8Mw$y`],KC=[`clamp-to-edge`,`mirror-repeat`,`repeat`,`GPUAddressMode`,`P.!.".#Jw$y`],qC=[`always`,`equal`,`greater`,`greater-equal`,`less`,`less-equal`,`never`,`not-equal`,`GPUCompareFunction`,`P.!.".#.$.%.&.'.(Jw)y`],JC=[`linear`,`nearest`,`GPUFilterMode`,`P.!."Jw#y`],YC=[`linear`,`nearest`,`GPUMipmapFilterMode`,`P.!."Jw#y`],XC=[()=>Jd,()=>GE,`messages`,`GPUCompilationInfo`,`Pn"o!"4#9Mw$y`],ZC=[`T`,!1,`done`,`value`,`ReadableStreamReadValueResult`,`b!P."4#e"!4$Mw%y`],QC=[`T`,!0,`done`,`value`,`ReadableStreamReadDoneResult`,`b!P."4#Pe#!-J4$Mw%y`],$C=[`alternate`,`alternate-reverse`,`normal`,`reverse`,`PlaybackDirection`,`P.!.".#.$Jw%y`],ew=[`auto`,`backwards`,`both`,`forwards`,`none`,`FillMode`,`P.!.".#.$.%Jw&y`],tw=[()=>Qg,()=>KE,`operator`,`CSSMathValue`,`Pn!n"4#9Mw$y`],nw=[`length`,()=>Qg,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,()=>Qg,`CSSNumericArray`,`P'4!9PPn"2#'2$n%2&$/'2("2)8$1*'n+LMw,y`],rw=[`angle`,`flex`,`frequency`,`length`,`percent`,`resolution`,`time`,`CSSNumericBaseType`,`P.!.".#.$.%.&.'Jw(y`],iw=[`length`,`numberOfItems`,`newItem`,`appendItem`,`clear`,`index`,`getItem`,`initialize`,`insertItemBefore`,`removeItem`,`replaceItem`,`SVGStringList`,`P'4!9'4"9P&2#&1$P$1%P'2&&1'P&2#&1(P&2#'2&&1)P'2&&1*P&2#'2&&1+'&LMw,y`],aw=[`dual-rumble`,`trigger-rumble`,`GamepadHapticEffectType`,`P.!."Jw#y`],ow=[`duration`,`leftTrigger`,`rightTrigger`,`startDelay`,`strongMagnitude`,`weakMagnitude`,`GamepadEffectParameters`,`P'4!8'4"8'4#8'4$8'4%8'4&8Mw'y`],sw=[`complete`,`preempted`,`GamepadHapticsResult`,`P.!."Jw#y`],cw=[()=>ep,`message`,()=>ep,`messageerror`,`MessageEventTargetEventMap`,`Pn!4"n#4$Mw%y`],lw=[0,`this`,()=>Wd,`ev`,``,`onerror`,`type`,0,()=>qE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>qE,()=>H,`removeEventListener`,()=>V,()=>H,`AbstractWorker`,`PPPn!2"n#2$"/%,J4&P"2'Pn(2"n)"f2$"/%2*P)n+J2,8$1-P&2'n.2*P)n/J2,8$1-P"2'Pn02"n1"f2$"/%2*P)n2J2,8$13P&2'n42*P)n5J2,8$13Mw6y`],uw=[`activated`,`activating`,`installed`,`installing`,`parsed`,`redundant`,`ServiceWorkerState`,`P.!.".#.$.%.&Jw'y`],dw=[()=>qE,()=>G,`statechange`,`ServiceWorkerEventMap`,`Pn!n"4#Mw$y`],fw=[()=>zb,`handler`,`addHandler`,()=>Pp,`url`,()=>BS,`options`,`redirect`,`NavigationPrecommitController`,`PPn!2"$1#PP&n$J2%n&2'8$1(Mw)y`],pw=[()=>Gb,`additionalDisplayItems`,`data`,`supportedMethods`,()=>Gb,`total`,`PaymentDetailsModifier`,`Pn!F4"8"4#8&4$n%4&8Mw'y`],mw=[()=>hw,`amount`,`id`,`label`,`selected`,`PaymentShippingOption`,`Pn!4"&4#&4$)4%8Mw&y`],hw=[`currency`,`value`,`PaymentCurrencyAmount`,`P&4!&4"Mw#y`],gw=[`RTCRtpScriptTransform`,`PMw!y`],_w=[()=>W,()=>JE,`gatheringState`,0,`this`,()=>G,`ev`,``,`ongatheringstatechange`,0,()=>G,`onselectedcandidatepairchange`,0,()=>G,`onstatechange`,()=>YE,`state`,()=>XE,`getSelectedCandidatePair`,`type`,0,()=>ZE,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>ZE,()=>H,`removeEventListener`,()=>V,()=>H,`RTCIceTransport`,`Pn!n"4#9PPn$2%n&2'"/(,J4)PPn*2%n+2'"/(,J4,PPn-2%n.2'"/(,J4/n0419PPn2,J13P"24Pn52%n6"f2'"/(27P)n8J298$1:P&24n;27P)n<J298$1:P"24Pn=2%n>"f2'"/(27P)n?J298$1@P&24nA27P)nBJ298$1@MwCy`],vw=[`closed`,`connected`,`connecting`,`failed`,`new`,`RTCDtlsTransportState`,`P.!.".#.$.%Jw&y`],yw=[()=>mp,`error`,()=>G,`statechange`,`RTCDtlsTransportEventMap`,`Pn!4"n#4$Mw%y`],bw=[()=>QE,`codecs`,()=>$E,`headerExtensions`,()=>eD,`rtcp`,`RTCRtpParameters`,`Pn!F4"n#F4$n%4&Mw'y`],xw=[()=>W,`canInsertDTMF`,0,`this`,()=>fp,`ev`,``,`ontonechange`,`toneBuffer`,`tones`,`duration`,`interToneGap`,`insertDTMF`,`type`,0,()=>tD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>tD,()=>H,`removeEventListener`,()=>V,()=>H,`RTCDTMFSender`,`Pn!)4"9PPn#2$n%2&"/',J4(&4)9P&2*'2+8'2,8$1-P"2.Pn/2$n0"f2&"/'21P)n2J238$14P&2.n521P)n6J238$14P"2.Pn72$n8"f2&"/'21P)n9J238$1:P&2.n;21P)n<J238$1:Mw=y`],Sw=[()=>gw,`RTCRtpSenderTransform`,`n!w"y`],Cw=[()=>bw,()=>nD,`degradationPreference`,()=>rD,`encodings`,`transactionId`,`RTCRtpSendParameters`,`Pn!n"4#8n$F4%&4&Mw'y`],ww=[`RTCSetParameterOptions`,`PMw!y`],Tw=[`confidence`,`transcript`,`SpeechRecognitionAlternative`,`P'4!9&4"9Mw#y`],Ew=[()=>G,`enter`,()=>G,`exit`,`TextTrackCueEventMap`,`Pn!4"n#4$Mw%y`],Dw=[`persistent-license`,`temporary`,`MediaKeySessionType`,`P.!."Jw#y`],Ow=[()=>W,()=>iD,`closed`,`expiration`,()=>aD,`keyStatuses`,0,`this`,()=>G,`ev`,``,`onkeystatuseschange`,0,()=>Qf,`onmessage`,`sessionId`,`close`,`initDataType`,()=>jw,`initData`,`generateRequest`,`load`,`remove`,()=>jw,`response`,`update`,`type`,0,()=>oD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>oD,()=>H,`removeEventListener`,()=>V,()=>H,`MediaKeySession`,'Pn!n"`4#9\'4$9n%4&9PPn\'2(n)2*"/+,J4,PPn-2(n.2*"/+,J4/&409P$`11P&22n324$`15P&20)`16P$`17Pn829$`1:P"2;Pn<2(n="f2*"/+2>P)n?J2@8$1AP&2;nB2>P)nCJ2@8$1AP"2;PnD2(nE"f2*"/+2>P)nFJ2@8$1GP&2;nH2>P)nIJ2@8$1GMwJy'],kw=[`minHdcpVersion`,`MediaKeysPolicy`,`P&4!8Mw"y`],Aw=[`expired`,`internal-error`,`output-downscaled`,`output-restricted`,`released`,`status-pending`,`usable`,`usable-in-future`,`MediaKeyStatus`,`P.!.".#.$.%.&.'.(Jw)y`],jw=[()=>Dd,`BufferSource`,`P_o!"_Jw"y`],Mw=[`connected`,`connecting`,`disconnected`,`RemotePlaybackState`,`P.!.".#Jw$y`],Nw=[`available`,``,`RemotePlaybackAvailabilityCallback`,`PP)2!$v"Mw#y`],Pw=[()=>G,`connect`,()=>G,`connecting`,()=>G,`disconnect`,`RemotePlaybackEventMap`,`Pn!4"n#4$n%4&Mw'y`],Fw=[()=>W,()=>sD,`activeSourceBuffers`,`duration`,0,`this`,()=>G,`ev`,``,`onsourceclose`,0,()=>G,`onsourceended`,0,()=>G,`onsourceopen`,()=>cD,`readyState`,()=>sD,`sourceBuffers`,`type`,()=>lD,`addSourceBuffer`,`clearLiveSeekableRange`,()=>uD,`error`,`endOfStream`,()=>lD,`sourceBuffer`,`removeSourceBuffer`,`start`,`end`,`setLiveSeekableRange`,0,()=>dD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>dD,()=>H,`removeEventListener`,()=>V,()=>H,`MediaSource`,`Pn!n"4#9'4$PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-PPn.2&n/2("/),J40n1429n3449P&25n617P$18Pn92:8$1;Pn<2=$1>P'2?'2@$1AP"25PnB2&nC"f2("/)2DP)nEJ2F8$1GP&25nH2DP)nIJ2F8$1GP"25PnJ2&nK"f2("/)2DP)nLJ2F8$1MP&25nN2DP)nOJ2F8$1MMwPy`],Iw=[()=>Tp,`addtrack`,()=>G,`change`,()=>Tp,`removetrack`,`TextTrackListEventMap`,`Pn!4"n#4$n%4&Mw'y`],Lw=`additional-name address-level1 address-level2 address-level3 address-level4 address-line1 address-line2 address-line3 bday-day bday-month bday-year cc-csc cc-exp cc-exp-month cc-exp-year cc-family-name cc-given-name cc-name cc-number cc-type country country-name current-password family-name given-name honorific-prefix honorific-suffix name new-password one-time-code organization postal-code street-address transaction-amount transaction-currency username AutoFillNormalField P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.DJwEy`.split(` `),Rw=[`home`,`mobile`,`work`,`AutoFillContactKind`,`P.!.".#Jw$y`],zw=[`email`,`tel`,`tel-area-code`,`tel-country-code`,`tel-extension`,`tel-local`,`tel-local-prefix`,`tel-local-suffix`,`tel-national`,`AutoFillContactField`,`P.!.".#.$.%.&.'.(.)Jw*y`],Bw=[()=>gv,()=>fD,`createReader`,`path`,()=>pD,`options`,()=>Px,`successCallback`,()=>Fx,`errorCallback`,`getDirectory`,()=>pD,()=>Px,()=>Fx,`getFile`,`FileSystemDirectoryEntry`,`Pn!Pn"1#PP&,J2$8n%2&8n'2(8n)2*8$1+PP&,J2$8n,2&8n-2(8n.2*8$1/Mw0y`],Vw=[`length`,`numberOfItems`,()=>x_,`newItem`,()=>x_,`appendItem`,`clear`,`index`,()=>x_,`getItem`,()=>x_,()=>x_,`initialize`,()=>x_,()=>x_,`insertItemBefore`,()=>x_,`removeItem`,()=>x_,()=>x_,`replaceItem`,()=>x_,`SVGLengthList`,`P'4!9'4"9Pn#2$n%1&P$1'P'2(n)1*Pn+2$n,1-Pn.2$'2(n/10P'2(n112Pn32$'2(n415'n6LMw7y`],Hw=[()=>mD,`cacheName`,`MultiCacheQueryOptions`,`Pn!&4"8Mw#y`],Uw=[()=>Xx,()=>Pp,`request`,`add`,()=>Xx,`requests`,`addAll`,()=>Xx,()=>Pp,()=>mD,`options`,`delete`,()=>Xx,()=>Pp,()=>mD,()=>Jd,()=>cT,`keys`,()=>Xx,()=>Pp,()=>mD,()=>Qx,`match`,()=>Xx,()=>Pp,()=>mD,()=>Jd,()=>Qx,`matchAll`,()=>Xx,()=>Pp,()=>Qx,`response`,`put`,`Cache`,'PPPn!n"J2#$`1$Pn%F2&$`1\'PPn(n)J2#n*2+8)`1,PPn-n.J2#8n/2+8n1o0"`12PPn3n4J2#n52+8Pn6-J`17PPn8n9J2#8n:2+8n<o;"`1=PPn>n?J2#n@2A$`1BMwCy'],Ww=[()=>hD,()=>gD,()=>_D,()=>vD,()=>yD,`algorithm`,()=>bD,`key`,()=>jw,`data`,`decrypt`,()=>hD,()=>xD,()=>SD,()=>CD,()=>bD,`baseKey`,`length`,`deriveBits`,()=>hD,()=>xD,()=>SD,()=>CD,()=>bD,()=>hD,()=>wD,()=>TD,()=>SD,()=>CD,`derivedKeyType`,`extractable`,()=>ED,`keyUsages`,()=>bD,`deriveKey`,()=>hD,()=>jw,`digest`,()=>hD,()=>gD,()=>_D,()=>vD,()=>yD,()=>bD,()=>jw,`encrypt`,`jwk`,`format`,()=>bD,()=>DD,`exportKey`,()=>OD,()=>kD,`jwk`,()=>bD,()=>kD,()=>bD,()=>DD,`Ed25519`,`Ed25519`,`name`,()=>Jd,`sign`,`verify`,()=>AD,`generateKey`,`X25519`,`X25519`,()=>Jd,`deriveBits`,`deriveKey`,()=>AD,()=>jD,()=>MD,()=>Jd,()=>ED,()=>AD,()=>ND,()=>PD,()=>CD,()=>Jd,()=>ED,()=>bD,()=>hD,()=>ED,()=>AD,()=>bD,`jwk`,()=>DD,`keyData`,()=>hD,()=>FD,()=>ID,()=>TD,()=>LD,()=>Jd,()=>ED,()=>bD,`importKey`,()=>OD,()=>kD,`jwk`,()=>jw,()=>hD,()=>FD,()=>ID,()=>TD,()=>LD,()=>ED,()=>bD,()=>hD,()=>RD,()=>zD,()=>bD,()=>jw,`sign`,()=>kD,()=>jw,`wrappedKey`,()=>bD,`unwrappingKey`,()=>hD,()=>gD,()=>_D,()=>vD,()=>yD,`unwrapAlgorithm`,()=>hD,()=>FD,()=>ID,()=>TD,()=>LD,`unwrappedKeyAlgorithm`,()=>ED,()=>bD,`unwrapKey`,()=>hD,()=>RD,()=>zD,()=>bD,()=>jw,`signature`,()=>jw,`verify`,()=>kD,()=>bD,()=>bD,`wrappingKey`,()=>hD,()=>gD,()=>_D,()=>vD,()=>yD,`wrapAlgorithm`,`wrapKey`,`SubtleCrypto`,'PPPn!n"n#n$n%J2&n\'2(n)2*_`1+PPn,n-n.n/J2&n021P\',J228_`13PPn4n5n6n7J2&n821Pn9n:n;n<n=J2>)2?n@F2AnB`1CPnD2&nE2*_`1FPPnGnHnInJnKJ2&nL2(nM2*_`1NP.O2PnQ2(nR`1SPnU.VoT#2PnW2(_`1SPnX2PnY2(P_nZJ`1SPP.[P.\\4]MJ2&)2?P._.`Jo^"2Ana`1bPP.cP.d4]MJ2&)2?P.f.gJoe"2Anh`1bPPninjJ2&)2?nlok"2Anm`1bPPnnnonpJ2&)2?nroq"2Ans`1bPnt2&)2?nuF2APnvnwJ`1bP.x2Pny2zPn{n|n}n~nJ2&)2?no"2An`1Pn
.o#2Pn2zPnnnnnJ2&)2?nF2An`1PPnnnJ2&n2(n2*_`1Pn2Pn2n2PnnnnnJ2Pn\xA0n¡n¢n£n¤J2¥)2?n¦F2An§`1¨PPn©nªn«J2&n¬2(n2®n¯2*)`1°Pn±2Pn²2(n³2´Pnµn¶n·n¸n¹J2º_`1»Mw¼y'],Gw=[`name`,`version`,`IDBDatabaseInfo`,`P&4!8'4"8Mw#y`],Kw=[()=>BD,()=>VD,0,`this`,()=>Jf,`ev`,``,`onblocked`,0,()=>Jf,`onupgradeneeded`,`type`,0,()=>HD,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>HD,()=>H,`removeEventListener`,()=>V,()=>H,`IDBOpenDBRequest`,`Pn"o!"PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+P"2,Pn-2$n."f2&"/'2/P)n0J218$12P&2,n32/P)n4J218$12P"2,Pn52$n6"f2&"/'2/P)n7J218$18P&2,n92/P)n:J218$18Mw;y`],qw=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`EventCounts`,`PPP'2!&2"n#2$$/%2&"2'8$1(Mw)y`],Jw=[`redirectCount`,`type`,`toJSON`,0,`TYPE_NAVIGATE`,1,`TYPE_RELOAD`,2,`TYPE_BACK_FORWARD`,255,`TYPE_RESERVED`,`PerformanceNavigation`,`P'4!9'4"9P"1#.$4%9.&4'9.(4)9.*4+9Mw,y`],Yw=[`connectEnd`,`connectStart`,`domComplete`,`domContentLoadedEventEnd`,`domContentLoadedEventStart`,`domInteractive`,`domLoading`,`domainLookupEnd`,`domainLookupStart`,`fetchStart`,`loadEventEnd`,`loadEventStart`,`navigationStart`,`redirectEnd`,`redirectStart`,`requestStart`,`responseEnd`,`responseStart`,`secureConnectionStart`,`unloadEventEnd`,`unloadEventStart`,`toJSON`,`PerformanceTiming`,`P'4!9'4"9'4#9'4$9'4%9'4&9'4'9'4(9'4)9'4*9'4+9'4,9'4-9'4.9'4/9'409'419'429'439'449'459P"16Mw7y`],Xw=[()=>UD,`PerformanceEntryList`,`n!Fw"y`],Zw=[`detail`,()=>Hd,`startTime`,`PerformanceMarkOptions`,`P"4!8n"4#8Mw$y`],Qw=[()=>UD,`detail`,`PerformanceMark`,`Pn!"4"9Mw#y`],$w=[`detail`,()=>Hd,`duration`,()=>Hd,`end`,()=>Hd,`start`,`PerformanceMeasureOptions`,`P"4!8n"4#8P&n$J4%8P&n&J4'8Mw(y`],eT=[()=>UD,`detail`,`PerformanceMeasure`,`Pn!"4"9Mw#y`],tT=[()=>G,`resourcetimingbufferfull`,`PerformanceEventMap`,`Pn!4"Mw#y`],nT=[``,`SchedulerPostTaskCallback`,`PP"v!Mw"y`],rT=[`delay`,()=>rv,`priority`,()=>Zc,`signal`,`SchedulerPostTaskOptions`,`P'4!8n"4#8n$4%8Mw&y`],iT=[`default`,`none`,`ColorSpaceConversion`,`P.!."Jw#y`],aT=[`flipY`,`from-image`,`none`,`ImageOrientation`,`P.!.".#Jw$y`],oT=[`default`,`none`,`premultiply`,`PremultiplyAlpha`,`P.!.".#Jw$y`],sT=[`high`,`low`,`medium`,`pixelated`,`ResizeQuality`,`P.!.".#.$Jw%y`],cT=[()=>hT,()=>lT,`cache`,()=>uT,`credentials`,()=>WD,`destination`,()=>gT,`headers`,`integrity`,`keepalive`,`method`,()=>fT,`mode`,()=>mT,`redirect`,`referrer`,()=>fv,`referrerPolicy`,()=>Zc,`signal`,`url`,0,`clone`,`Request`,`Pn!n"4#9n$4%9n&4'9n(4)9&4*9)4+9&4,9n-4.9n/409&419n2439n4459&469Pn718Mw9y`],lT=[`default`,`force-cache`,`no-cache`,`no-store`,`only-if-cached`,`reload`,`RequestCache`,`P.!.".#.$.%.&Jw'y`],uT=[`include`,`omit`,`same-origin`,`RequestCredentials`,`P.!.".#Jw$y`],dT=[()=>ME,()=>gT,`HeadersInit`,`PP&&GF&&o!#n"Jw#y`],fT=[`cors`,`navigate`,`no-cors`,`same-origin`,`RequestMode`,`P.!.".#.$Jw%y`],pT=[`auto`,`high`,`low`,`RequestPriority`,`P.!.".#Jw$y`],mT=[`error`,`follow`,`manual`,`RequestRedirect`,`P.!.".#Jw$y`],hT=[()=>Vd,`body`,`bodyUsed`,`arrayBuffer`,()=>Uc,`blob`,`bytes`,()=>tu,`formData`,`json`,`text`,`Body`,'PPWo!",J4"9)4#9P_`1$Pn%`1&PW`1\'Pn(`1)P"`1*P&`1+Mw,y'],gT=[`name`,`value`,`append`,`delete`,`get`,`getSetCookie`,`has`,`set`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`Headers`,`PP&2!&2"$1#P&2!$1$P&2!P&,J1%P&F1&P&2!)1'P&2!&2"$1(PP&2"&2)n*2+$/,2-"2.8$1/Mw0y`],_T=[`basic`,`cors`,`default`,`error`,`opaque`,`opaqueredirect`,`ResponseType`,`P.!.".#.$.%.&Jw'y`],vT=[()=>GD,`wgslLanguageFeatures`,()=>jg,`getPreferredCanvasFormat`,()=>KD,`options`,()=>qD,`requestAdapter`,`GPU`,`Pn!4"9Pn#1$Pn%2&8Pn',J\`1(Mw)y`],yT=[()=>JD,`query`,`name`,()=>YD,`callback`,()=>XD,`request`,()=>ZD,`options`,()=>YD,()=>XD,`LockManager`,'PPn!`1"P&2#"o$"2%"o&"`1\'P&2#n(2)"o*"2%"o+"`1\'Mw,y'],bT=[`length`,`index`,()=>QD,`item`,`name`,()=>QD,`namedItem`,()=>QD,`MimeTypeArray`,`P'4!9P'2"Pn#,J1$P&2%Pn&,J1''n(LMw)y`],xT=[`length`,`index`,()=>$D,`item`,`name`,()=>$D,`namedItem`,`refresh`,()=>$D,`PluginArray`,`P'4!9P'2"Pn#,J1$P&2%Pn&,J1'P$1('n)LMw*y`],ST=[()=>eO,`estimate`,()=>tO,`getDirectory`,`persist`,`persisted`,`StorageManager`,"PPn!`1\"Pn#`1$P)`1%P)`1&Mw'y"],CT=[()=>nO,`ClipboardItems`,`n!Fw"y`],wT=[()=>rO,`publicKey`,()=>Zc,`signal`,`CredentialCreationOptions`,`Pn!4"8n#4$8Mw%y`],TT=[`id`,`type`,`Credential`,`P&4!9&4"9Mw#y`],ET=[()=>iO,`mediation`,()=>aO,`publicKey`,()=>Zc,`signal`,`CredentialRequestOptions`,`Pn!4"8n#4$8n%4&8Mw'y`],DT=[()=>oO,`position`,``,`PositionCallback`,`PPn!2"$v#Mw$y`],OT=[()=>sO,`positionError`,``,`PositionErrorCallback`,`PPn!2"$v#Mw$y`],kT=[`enableHighAccuracy`,`maximumAge`,`timeout`,`PositionOptions`,`P)4!8'4"8'4#8Mw$y`],AT=[`logged-in`,`logged-out`,`LoginStatus`,`P.!."Jw#y`],jT=[()=>cO,()=>lO,`keySystemConfiguration`,()=>uO,`type`,`MediaDecodingConfiguration`,`Pn!n"4#8n$4%Mw&y`],MT=[()=>dO,()=>OS,`keySystemAccess`,`MediaCapabilitiesDecodingInfo`,`Pn!Pn",J4#Mw$y`],NT=[()=>cO,()=>fO,`type`,`MediaEncodingConfiguration`,`Pn!n"4#Mw$y`],PT=[()=>dO,`MediaCapabilitiesEncodingInfo`,`Pn!Mw"y`],FT=[`deviceId`,`groupId`,()=>pO,`kind`,`label`,`toJSON`,`MediaDeviceInfo`,`P&4!9&4"9n#4$9&4%9P"1&Mw'y`],IT=[()=>iu,`audio`,()=>iu,`video`,`DisplayMediaStreamOptions`,`PP)n!J4"8P)n#J4$8Mw%y`],LT=[`aspectRatio`,`autoGainControl`,`backgroundBlur`,`channelCount`,`deviceId`,`displaySurface`,`echoCancellation`,`facingMode`,`frameRate`,`groupId`,`height`,`noiseSuppression`,`sampleRate`,`sampleSize`,`width`,`MediaTrackSupportedConstraints`,`P)4!8)4"8)4#8)4$8)4%8)4&8)4'8)4(8)4)8)4*8)4+8)4,8)4-8)4.8)4/8Mw0y`],RT=[()=>iu,`audio`,`peerIdentity`,`preferCurrentTab`,()=>iu,`video`,`MediaStreamConstraints`,`PP)n!J4"8&4#8)4$8P)n%J4&8Mw'y`],zT=[()=>G,`devicechange`,`MediaDevicesEventMap`,`Pn!4"Mw#y`],BT=[`album`,`artist`,()=>Jd,()=>mO,`artwork`,`title`,`MediaMetadata`,`P&4!&4"n$o#"4%&4&Mw'y`],VT=[`none`,`paused`,`playing`,`MediaSessionPlaybackState`,`P.!.".#Jw$y`],HT=[`nexttrack`,`pause`,`play`,`previoustrack`,`seekbackward`,`seekforward`,`seekto`,`skipad`,`stop`,`MediaSessionAction`,`P.!.".#.$.%.&.'.(.)Jw*y`],UT=[()=>hO,`details`,``,`MediaSessionActionHandler`,`PPn!2"$v#Mw$y`],WT=[`duration`,`playbackRate`,`position`,`MediaPositionState`,`P'4!8'4"8'4#8Mw$y`],GT=[()=>gO,`name`,`PermissionDescriptor`,`Pn!4"Mw#y`],KT=[()=>W,`name`,0,`this`,()=>G,`ev`,``,`onchange`,()=>_O,`state`,`type`,0,()=>vO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>vO,()=>H,`removeEventListener`,()=>V,()=>H,`PermissionStatus`,`Pn!&4"9PPn#2$n%2&"/',J4(n)4*9P"2+Pn,2$n-"f2&"/'2.P)n/J208$11P&2+n22.P)n3J208$11P"2+Pn42$n5"f2&"/'2.P)n6J208$17P&2+n82.P)n9J208$17Mw:y`],qT=[()=>W,()=>yO,()=>Lb,`active`,()=>bO,`cookies`,()=>Lb,`installing`,()=>xO,`navigationPreload`,0,`this`,()=>G,`ev`,``,`onupdatefound`,`scope`,()=>SO,`updateViaCache`,()=>Lb,`waiting`,()=>CO,`filter`,()=>wO,`getNotifications`,`title`,()=>TO,`options`,`showNotification`,`unregister`,0,`update`,`type`,0,()=>EO,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>EO,()=>H,`removeEventListener`,()=>V,()=>H,`ServiceWorkerRegistration`,'Pn!n"Pn#,J4$9n%4&9Pn\',J4(9n)4*9PPn+2,n-2."//,J40&419n2439Pn4,J459Pn6278n8F`19P&2:n;2<8$`1=P)`1>Pn?`1@P"2APnB2,nC"f2."//2DP)nEJ2<8$1FP&2AnG2DP)nHJ2<8$1FP"2APnI2,nJ"f2."//2DP)nKJ2<8$1LP&2AnM2DP)nNJ2<8$1LMwOy'],JT=[`scope`,()=>DO,`type`,()=>SO,`updateViaCache`,`RegistrationOptions`,`P&4!8n"4#8n$4%8Mw&y`],YT=[()=>G,`controllerchange`,()=>ep,`message`,()=>ep,`messageerror`,`ServiceWorkerContainerEventMap`,`Pn!4"n#4$n%4&Mw'y`],XT=[`screen`,`WakeLockType`,`.!w"y`],ZT=[()=>W,0,`this`,()=>G,`ev`,``,`onrelease`,`released`,()=>XT,`type`,`release`,0,()=>OO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>OO,()=>H,`removeEventListener`,()=>V,()=>H,`WakeLockSentinel`,`Pn!PPn"2#n$2%"/&,J4')4(9n)4*9P$\`1+P"2*Pn,2#n-"f2%"/&2.P)n/J208$11P&2*n22.P)n3J208$11P"2*Pn42#n5"f2%"/&2.P)n6J208$17P&2*n82.P)n9J208$17Mw:y`],QT=[()=>kO,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MIDIInputMap`,`PPPn!2"&2#n$2%$/&2'"2(8$1)Mw*y`],$T=[()=>AO,`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MIDIOutputMap`,`PPPn!2"&2#n$2%$/&2'"2(8$1)Mw*y`],eE=[()=>Yf,`statechange`,`MIDIAccessEventMap`,`Pn!4"Mw#y`],tE=[`contentType`,`encryptionScheme`,`robustness`,`MediaKeySystemMediaCapability`,`P&4!8P&,J4"8&4#8Mw$y`],nE=[`not-allowed`,`optional`,`required`,`MediaKeysRequirement`,`P.!.".#Jw$y`],rE=[()=>Uc,()=>jw,()=>tu,()=>sv,`XMLHttpRequestBodyInit`,`Pn!n"n#n$&Jw%y`],iE=[`lax`,`none`,`strict`,`CookieSameSite`,`P.!.".#Jw$y`],aE=[`auto`,`push`,`replace`,`NavigationHistoryBehavior`,`P.!.".#Jw$y`],oE=[`landscape-primary`,`landscape-secondary`,`portrait-primary`,`portrait-secondary`,`OrientationType`,`P.!.".#.$Jw%y`],sE=[`any`,`landscape`,`landscape-primary`,`landscape-secondary`,`natural`,`portrait`,`portrait-primary`,`portrait-secondary`,`OrientationLockType`,`P.!.".#.$.%.&.'.(Jw)y`],cE=[()=>G,`change`,`ScreenOrientationEventMap`,`Pn!4"Mw#y`],lE=[`cssText`,`length`,()=>vb,`parentRule`,`property`,`getPropertyPriority`,`getPropertyValue`,`index`,`item`,`removeProperty`,`value`,`priority`,`setProperty`,`CSSStyleDeclarationBase`,`P&4!'4"9Pn#,J4$9P&2%&1&P&2%&1'P'2(&1)P&2%&1*P&2%P&,J2+&2,8$1-'&LMw.y`],uE=[`f32`,`f32-planar`,`s16`,`s16-planar`,`s32`,`s32-planar`,`u8`,`u8-planar`,`AudioSampleFormat`,`P.!.".#.$.%.&.'.(Jw)y`],dE=[()=>uE,`format`,`frameCount`,`frameOffset`,`planeIndex`,`AudioDataCopyToOptions`,`Pn!4"8'4#8'4$8'4%Mw&y`],fE=[`data`,``,`FunctionStringCallback`,`PP&2!$v"Mw#y`],pE=[()=>eb,()=>jO,`GPUOrigin2D`,`Pn!Fn"Jw#y`],mE=[()=>Ic,()=>hu,()=>vf,()=>zm,()=>Sg,()=>Xs,()=>sc,`GPUCopyExternalImageSource`,`Pn!n"n#n$n%n&n'Jw(y`],hE=[()=>eb,`depthOrArrayLayers`,()=>eb,`height`,()=>eb,`width`,`GPUExtent3DDict`,`Pn!4"8n#4$8n%4&Mw'y`],gE=[()=>eb,()=>MO,`GPUOrigin3D`,`Pn!Fn"Jw#y`],_E=[`GPUIndex32`,`'w!y`],vE=[()=>Wy,()=>Bd,()=>Bg,()=>Ay,()=>NO,()=>Yy,`GPUBindingResource`,`Pn!n"n#n$n%n&Jw'y`],yE=[`hasDynamicOffset`,()=>hC,`minBindingSize`,()=>PO,`type`,`GPUBufferBindingLayout`,`P)4!8n"4#8n$4%8Mw&y`],bE=[`GPUExternalTextureBindingLayout`,`PMw!y`],xE=[()=>FO,`type`,`GPUSamplerBindingLayout`,`Pn!4"8Mw#y`],SE=[()=>IO,`access`,()=>jg,`format`,()=>nb,`viewDimension`,`GPUStorageTextureBindingLayout`,`Pn!4"8n#4$n%4&8Mw'y`],CE=[`multisampled`,()=>LO,`sampleType`,()=>nb,`viewDimension`,`GPUTextureBindingLayout`,`P)4!8n"4#8n$4%8Mw&y`],wE=[`GPUShaderStageFlags`,`'w!y`],TE=[()=>jC,`beginningOfPassWriteIndex`,()=>jC,`endOfPassWriteIndex`,()=>Ry,`querySet`,`GPUComputePassTimestampWrites`,`Pn!4"8n#4$8n%4&Mw'y`],EE=[()=>kE,`clearValue`,()=>eb,`depthSlice`,()=>RO,`loadOp`,()=>Bd,()=>Bg,`resolveTarget`,()=>zO,`storeOp`,()=>Bd,()=>Bg,`view`,`GPURenderPassColorAttachment`,`Pn!4"8n#4$8n%4&Pn'n(J4)8n*4+Pn,n-J4.Mw/y`],DE=[`depthClearValue`,()=>RO,`depthLoadOp`,`depthReadOnly`,()=>zO,`depthStoreOp`,()=>AE,`stencilClearValue`,()=>RO,`stencilLoadOp`,`stencilReadOnly`,()=>zO,`stencilStoreOp`,()=>Bd,()=>Bg,`view`,`GPURenderPassDepthStencilAttachment`,`P'4!8n"4#8)4$8n%4&8n'4(8n)4*8)4+8n,4-8Pn.n/J40Mw1y`],OE=[()=>jC,`beginningOfPassWriteIndex`,()=>jC,`endOfPassWriteIndex`,()=>Ry,`querySet`,`GPURenderPassTimestampWrites`,`Pn!4"8n#4$8n%4&Mw'y`],kE=[()=>BO,`GPUColor`,`P'Fn!Jw"y`],AE=[`GPUStencilValue`,`'w!y`],jE=[`auto`,`GPUAutoLayoutMode`,`.!w"y`],ME=[`K`,`T`,`Record`,`l'e#"Rb!b"Pde"!N#!w#y`],NE=[`GPUPipelineConstantValue`,`'w!y`],PE=[`GPUBufferDynamicOffset`,`'w!y`],FE=[`GPUSignedOffset32`,`'w!y`],IE=[`uint16`,`uint32`,`GPUIndexFormat`,`P.!."Jw#y`],LE=[`GPUDepthBias`,`'w!y`],RE=[()=>qC,`compare`,()=>VO,`depthFailOp`,()=>VO,`failOp`,()=>VO,`passOp`,`GPUStencilFaceState`,`Pn!4"8n#4$8n%4&8n'4(8Mw)y`],zE=[()=>HO,`blend`,()=>jg,`format`,()=>UO,`writeMask`,`GPUColorTargetState`,`Pn!4"8n#4$n%4&8Mw'y`],BE=[`GPUSampleMask`,`'w!y`],VE=[`back`,`front`,`none`,`GPUCullMode`,`P.!.".#Jw$y`],HE=[`ccw`,`cw`,`GPUFrontFace`,`P.!."Jw#y`],UE=[`line-list`,`line-strip`,`point-list`,`triangle-list`,`triangle-strip`,`GPUPrimitiveTopology`,`P.!.".#.$.%Jw&y`],WE=[()=>hC,`arrayStride`,()=>WO,`attributes`,()=>GO,`stepMode`,`GPUVertexBufferLayout`,`Pn!4"n#F4$n%4&8Mw'y`],GE=[`length`,`lineNum`,`linePos`,`message`,`offset`,()=>KO,`type`,`GPUCompilationMessage`,`P'4!9'4"9'4#9&4$9'4%9n&4'9Mw(y`],KE=[`clamp`,`invert`,`max`,`min`,`negate`,`product`,`sum`,`CSSMathOperator`,`P.!.".#.$.%.&.'Jw(y`],qE=[()=>Wd,`error`,`AbstractWorkerEventMap`,`Pn!4"Mw#y`],JE=[`complete`,`gathering`,`new`,`RTCIceGathererState`,`P.!.".#Jw$y`],YE=[`checking`,`closed`,`completed`,`connected`,`disconnected`,`failed`,`new`,`RTCIceTransportState`,`P.!.".#.$.%.&.'Jw(y`],XE=[()=>Y_,`local`,()=>Y_,`remote`,`RTCIceCandidatePair`,`Pn!4"n#4$Mw%y`],ZE=[()=>G,`gatheringstatechange`,()=>G,`selectedcandidatepairchange`,()=>G,`statechange`,`RTCIceTransportEventMap`,`Pn!4"n#4$n%4&Mw'y`],QE=[()=>dx,`payloadType`,`RTCRtpCodecParameters`,`Pn!'4"Mw#y`],$E=[`encrypted`,`id`,`uri`,`RTCRtpHeaderExtensionParameters`,`P)4!8'4"&4#Mw$y`],eD=[`cname`,`reducedSize`,`RTCRtcpParameters`,`P&4!8)4"8Mw#y`],tD=[()=>fp,`tonechange`,`RTCDTMFSenderEventMap`,`Pn!4"Mw#y`],nD=[`balanced`,`maintain-framerate`,`maintain-resolution`,`RTCDegradationPreference`,`P.!.".#Jw$y`],rD=[()=>qO,`active`,`maxBitrate`,`maxFramerate`,()=>JO,`networkPriority`,()=>JO,`priority`,`scaleResolutionDownBy`,`RTCRtpEncodingParameters`,`Pn!)4"8'4#8'4$8n%4&8n'4(8'4)8Mw*y`],iD=[`closed-by-application`,`hardware-context-reset`,`internal-error`,`release-acknowledged`,`resource-evicted`,`MediaKeySessionClosedReason`,`P.!.".#.$.%Jw&y`],aD=[`size`,()=>jw,`keyId`,()=>Aw,`get`,()=>jw,`has`,()=>Aw,`value`,()=>jw,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`MediaKeyStatusMap`,`P'4!9Pn"2#Pn$-J1%Pn&2#)1'PPn(2)n*2+n,2-$/.2/"208$11Mw2y`],oD=[()=>G,`keystatuseschange`,()=>Qf,`message`,`MediaKeySessionEventMap`,`Pn!4"n#4$Mw%y`],sD=[()=>W,`length`,0,`this`,()=>G,`ev`,``,`onaddsourcebuffer`,0,()=>G,`onremovesourcebuffer`,`type`,0,()=>YO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>YO,()=>H,`removeEventListener`,()=>V,()=>H,()=>lD,`SourceBufferList`,`Pn!'4"9PPn#2$n%2&"/',J4(PPn)2$n*2&"/',J4+P"2,Pn-2$n."f2&"/'2/P)n0J218$12P&2,n32/P)n4J218$12P"2,Pn52$n6"f2&"/'2/P)n7J218$18P&2,n92/P)n:J218$18'n;LMw<y`],cD=[`closed`,`ended`,`open`,`ReadyState`,`P.!.".#Jw$y`],lD=[()=>W,`appendWindowEnd`,`appendWindowStart`,()=>bx,`buffered`,()=>XO,`mode`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`onerror`,0,()=>G,`onupdate`,0,()=>G,`onupdateend`,0,()=>G,`onupdatestart`,`timestampOffset`,`updating`,`abort`,()=>jw,`data`,`appendBuffer`,`type`,`changeType`,`start`,`end`,`remove`,0,()=>ZO,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>ZO,()=>H,`removeEventListener`,()=>V,()=>H,`SourceBuffer`,`Pn!'4"'4#n$4%9n&4'PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46PPn72)n82+"/,,J49'4:)4;9P$1<Pn=2>$1?P&2@$1AP'2B'2C$1DP"2@PnE2)nF"f2+"/,2GP)nHJ2I8$1JP&2@nK2GP)nLJ2I8$1JP"2@PnM2)nN"f2+"/,2GP)nOJ2I8$1PP&2@nQ2GP)nRJ2I8$1PMwSy`],uD=[`decode`,`network`,`EndOfStreamError`,`P.!."Jw#y`],dD=[()=>G,`sourceclose`,()=>G,`sourceended`,()=>G,`sourceopen`,`MediaSourceEventMap`,`Pn!4"n#4$n%4&Mw'y`],fD=[()=>QO,`successCallback`,()=>Fx,`errorCallback`,`readEntries`,`FileSystemDirectoryReader`,`PPn!2"n#2$8$1%Mw&y`],pD=[`create`,`exclusive`,`FileSystemFlags`,`P)4!8)4"8Mw#y`],mD=[`ignoreMethod`,`ignoreSearch`,`ignoreVary`,`CacheQueryOptions`,`P)4!8)4"8)4#8Mw$y`],hD=[()=>$O,`AlgorithmIdentifier`,`Pn!&Jw"y`],gD=[()=>$O,()=>jw,`label`,`RsaOaepParams`,`Pn!n"4#8Mw$y`],_D=[()=>$O,()=>jw,`counter`,`length`,`AesCtrParams`,`Pn!n"4#'4$Mw%y`],vD=[()=>$O,()=>jw,`iv`,`AesCbcParams`,`Pn!n"4#Mw$y`],yD=[()=>$O,()=>jw,`additionalData`,()=>jw,`iv`,`tagLength`,`AesGcmParams`,`Pn!n"4#8n$4%'4&8Mw'y`],bD=[()=>ek,`algorithm`,`extractable`,()=>tk,`type`,()=>ED,`usages`,`CryptoKey`,`Pn!4"9)4#9n$4%9n&F4'9Mw(y`],xD=[()=>$O,()=>bD,`public`,`EcdhKeyDeriveParams`,`Pn!n"4#Mw$y`],SD=[()=>$O,()=>nk,`hash`,()=>jw,`info`,()=>jw,`salt`,`HkdfParams`,`Pn!n"4#n$4%n&4'Mw(y`],CD=[()=>$O,()=>nk,`hash`,`iterations`,()=>jw,`salt`,`Pbkdf2Params`,`Pn!n"4#'4$n%4&Mw'y`],wD=[()=>$O,`length`,`AesDerivedKeyParams`,`Pn!'4"Mw#y`],TD=[()=>$O,()=>nk,`hash`,`length`,`HmacImportParams`,`Pn!n"4#'4$8Mw%y`],ED=[`decrypt`,`deriveBits`,`deriveKey`,`encrypt`,`sign`,`unwrapKey`,`verify`,`wrapKey`,`KeyUsage`,`P.!.".#.$.%.&.'.(Jw)y`],DD=[`alg`,`crv`,`d`,`dp`,`dq`,`e`,`ext`,`k`,`key_ops`,`kty`,`n`,()=>rk,`oth`,`p`,`q`,`qi`,`use`,`x`,`y`,`JsonWebKey`,`P&4!8&4"8&4#8&4$8&4%8&4&8)4'8&4(8&F4)8&4*8&4+8n,F4-8&4.8&4/8&408&418&428&438Mw4y`],OD=[`T`,`U`,`Exclude`,`l6!Re$!RPe#!e$"qk#%QRb!b"Pde"!p)w#y`],kD=[`jwk`,`pkcs8`,`raw`,`spki`,`KeyFormat`,`P.!.".#.$Jw%y`],AD=[()=>bD,`privateKey`,()=>bD,`publicKey`,`CryptoKeyPair`,`Pn!4"n#4$Mw%y`],jD=[()=>ik,()=>nk,`hash`,`RsaHashedKeyGenParams`,`Pn!n"4#Mw$y`],MD=[()=>$O,()=>ak,`namedCurve`,`EcKeyGenParams`,`Pn!n"4#Mw$y`],ND=[()=>$O,`length`,`AesKeyGenParams`,`Pn!'4"Mw#y`],PD=[()=>$O,()=>nk,`hash`,`length`,`HmacKeyGenParams`,`Pn!n"4#'4$8Mw%y`],FD=[()=>$O,()=>nk,`hash`,`RsaHashedImportParams`,`Pn!n"4#Mw$y`],ID=[()=>$O,()=>ak,`namedCurve`,`EcKeyImportParams`,`Pn!n"4#Mw$y`],LD=[()=>ek,`length`,`AesKeyAlgorithm`,`Pn!'4"Mw#y`],RD=[()=>$O,`saltLength`,`RsaPssParams`,`Pn!'4"Mw#y`],zD=[()=>$O,()=>nk,`hash`,`EcdsaParams`,`Pn!n"4#Mw$y`],BD=[`T`,()=>W,()=>Xb,`error`,0,`this`,()=>G,`ev`,``,`onerror`,0,()=>G,`onsuccess`,()=>ok,`readyState`,`result`,()=>sk,()=>ck,()=>lk,`source`,()=>uk,`transaction`,`type`,0,()=>dk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>dk,()=>H,`removeEventListener`,()=>V,()=>H,`IDBRequest`,`"c!Pn"Pn#,J4$9PPe$!o%"2&n'2("/),J4*PPe$!o+"2&n,2("/),J4-n.4/9e"!409Pn1n2n3J449Pn5,J469P"27Pe$!o8"2&n9"f2("/)2:P)n;J2<8$1=P&27n>2:P)n?J2<8$1=P"27Pe$!o@"2&nA"f2("/)2:P)nBJ2<8$1CP&27nD2:P)nEJ2<8$1CMwFy`],VD=[()=>W,`name`,()=>fk,`objectStoreNames`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`onclose`,0,()=>G,`onerror`,0,()=>Jf,`onversionchange`,`version`,`close`,()=>pk,`options`,()=>sk,`createObjectStore`,`deleteObjectStore`,`storeNames`,()=>mk,`mode`,()=>hk,()=>uk,`transaction`,`type`,0,()=>gk,`listener`,()=>B,`addEventListener`,()=>V,()=>B,0,()=>gk,()=>H,`removeEventListener`,()=>V,()=>H,`IDBDatabase`,`Pn!&4"9n#4$9PPn%2&n'2("/),J4*PPn+2&n,2("/),J4-PPn.2&n/2("/),J40PPn12&n22("/),J43'449P$15P&2"n6278n819P&2"$1:PP&&FJ2;n<2=8n>278n?1@P"2APnB2&nC"f2("/)2DP)nEJ278$1FP&2AnG2DP)nHJ278$1FP"2APnI2&nJ"f2("/)2DP)nKJ278$1LP&2AnM2DP)nNJ278$1LMwOy`],HD=[()=>dk,()=>Jf,`blocked`,()=>Jf,`upgradeneeded`,`IDBOpenDBRequestEventMap`,`Pn!n"4#n$4%Mw&y`],UD=[()=>Hd,`duration`,`entryType`,`name`,()=>Hd,`startTime`,`toJSON`,`PerformanceEntry`,`Pn!4"9&4#9&4$9n%4&9P"1'Mw(y`],WD=[``,`audio`,`audioworklet`,`document`,`embed`,`font`,`frame`,`iframe`,`image`,`manifest`,`object`,`paintworklet`,`report`,`script`,`sharedworker`,`style`,`track`,`video`,`worker`,`xslt`,`RequestDestination`,`P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4Jw5y`],GD=[`value`,`key`,0,`parent`,``,`callbackfn`,`thisArg`,`forEach`,`WGSLLanguageFeatures`,`PPP&2!&2"n#2$$/%2&"2'8$1(Mw)y`],KD=[`forceFallbackAdapter`,()=>_k,`powerPreference`,`GPURequestAdapterOptions`,`P)4!8n"4#8Mw$y`],qD=[()=>xy,`features`,()=>by,`info`,()=>Sy,`limits`,()=>vk,`descriptor`,()=>Ag,`requestDevice`,`GPUAdapter`,`Pn!4"9n#4$9n%4&9Pn'2(8n)\`1*Mw+y`],JD=[()=>yk,`held`,()=>yk,`pending`,`LockManagerSnapshot`,`Pn!F4"8n#F4$8Mw%y`],YD=[`T`,()=>bk,`lock`,``,`LockGrantedCallback`,`b!PPPn",J2#e#!v$Mw%y`],XD=[`T`,`onfulfilled`,`args`,`then`,`value`,``,0,`Awaited`,`le$!Re"!o'"R!RPde#!Ph"!2%h&"@2#"/&qk'.QRPde#!p0Re$!RPdde#!P%PPh$!2"h$"@2#"1$MKqkJRQRPde%!pVRPe#!P,-Jqk#vQRb!Pde"!p~w(y`],ZD=[`ifAvailable`,()=>xk,`mode`,()=>Zc,`signal`,`steal`,`LockOptions`,`P)4!8n"4#8n$4%8)4&8Mw'y`],QD=[`description`,()=>$D,`enabledPlugin`,`suffixes`,`type`,`MimeType`,`P&4!9n"4#9&4$9&4%9Mw&y`],$D=[`description`,`filename`,`length`,`name`,`index`,()=>QD,`item`,()=>QD,`namedItem`,()=>QD,`Plugin`,`P&4!9&4"9'4#9&4$9P'2%Pn&,J1'P&2$Pn(,J1)'n*LMw+y`],eO=[`quota`,`usage`,`StorageEstimate`,`P'4!8'4"8Mw#y`],tO=[()=>Sk,`directory`,`kind`,`name`,()=>Ck,`options`,0,`getDirectoryHandle`,()=>wk,()=>Tk,`getFileHandle`,()=>Ek,`removeEntry`,()=>Sk,`possibleDescendant`,`resolve`,`FileSystemDirectoryHandle`,"Pn!.\"4#9P&2$n%2&8n'`1(P&2$n)2&8n*`1+P&2$n,2&8$`1-Pn.2/P&F,J`10Mw1y"],nO=[()=>Dk,`presentationStyle`,()=>Jd,`types`,`type`,()=>Uc,`getType`,`ClipboardItem`,`Pn!4"9&o#"4$9P&2%n&\`1'Mw(y`],rO=[()=>Ok,`attestation`,()=>kk,`authenticatorSelection`,()=>jw,`challenge`,()=>Ak,`excludeCredentials`,()=>jk,`extensions`,()=>Mk,`pubKeyCredParams`,()=>Nk,`rp`,`timeout`,()=>Pk,`user`,`PublicKeyCredentialCreationOptions`,`Pn!4"8n#4$8n%4&n'F4(8n)4*8n+F4,n-4.'4/8n041Mw2y`],iO=[`conditional`,`optional`,`required`,`silent`,`CredentialMediationRequirement`,`P.!.".#.$Jw%y`],aO=[()=>Ak,`allowCredentials`,()=>jw,`challenge`,()=>jk,`extensions`,`rpId`,`timeout`,()=>Fk,`userVerification`,`PublicKeyCredentialRequestOptions`,`Pn!F4"8n#4$n%4&8&4'8'4(8n)4*8Mw+y`],oO=[()=>Ik,`coords`,()=>Lk,`timestamp`,`toJSON`,`GeolocationPosition`,`Pn!4"9n#4$9P"1%Mw&y`],sO=[`code`,`message`,1,`PERMISSION_DENIED`,2,`POSITION_UNAVAILABLE`,3,`TIMEOUT`,`GeolocationPositionError`,`P'4!9&4"9.#4$9.%4&9.'4(9Mw)y`],cO=[()=>Rk,`audio`,()=>zk,`video`,`MediaConfiguration`,`Pn!4"8n#4$8Mw%y`],lO=[()=>Bk,`audio`,()=>nE,`distinctiveIdentifier`,`initDataType`,`keySystem`,()=>nE,`persistentState`,`sessionTypes`,()=>Bk,`video`,`MediaCapabilitiesKeySystemConfiguration`,`Pn!4"8n#4$8&4%8&4&n'4(8&F4)8n*4+8Mw,y`],uO=[`file`,`media-source`,`webrtc`,`MediaDecodingType`,`P.!.".#Jw$y`],dO=[`powerEfficient`,`smooth`,`supported`,`MediaCapabilitiesInfo`,`P)4!)4")4#Mw$y`],fO=[`record`,`webrtc`,`MediaEncodingType`,`P.!."Jw#y`],pO=[`audioinput`,`audiooutput`,`videoinput`,`MediaDeviceKind`,`P.!.".#Jw$y`],mO=[`sizes`,`src`,`type`,`MediaImage`,`P&4!8&4"&4#8Mw$y`],hO=[()=>HT,`action`,`fastSeek`,`seekOffset`,`seekTime`,`MediaSessionActionDetails`,`Pn!4")4#8'4$8'4%8Mw&y`],gO=[`camera`,`geolocation`,`microphone`,`midi`,`notifications`,`persistent-storage`,`push`,`screen-wake-lock`,`storage-access`,`PermissionName`,`P.!.".#.$.%.&.'.(.)Jw*y`],_O=[`denied`,`granted`,`prompt`,`PermissionState`,`P.!.".#Jw$y`],vO=[()=>G,`change`,`PermissionStatusEventMap`,`Pn!4"Mw#y`],yO=[()=>Vk,`pushManager`,`PushManagerAttribute`,`Pn!4"9Mw#y`],bO=[()=>MS,`getSubscriptions`,()=>MS,`subscriptions`,`subscribe`,()=>MS,`unsubscribe`,`CookieStoreManager`,"PPn!F`1\"Pn#F2$$`1%Pn&F2$$`1'Mw(y"],xO=[`disable`,`enable`,()=>Hk,`getState`,`value`,`setHeaderValue`,`NavigationPreloadManager`,"PP$`1!P$`1\"Pn#`1$P&2%$`1&Mw'y"],SO=[`all`,`imports`,`none`,`ServiceWorkerUpdateViaCache`,`P.!.".#Jw$y`],CO=[`tag`,`GetNotificationOptions`,`P&4!8Mw"y`],wO=[()=>W,`body`,`data`,()=>Uk,`dir`,`icon`,`lang`,0,`this`,()=>G,`ev`,``,`onclick`,0,()=>G,`onclose`,0,()=>G,`onerror`,0,()=>G,`onshow`,`requireInteraction`,`silent`,`tag`,`title`,`close`,`type`,0,()=>Wk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Wk,()=>H,`removeEventListener`,()=>V,()=>H,`Notification`,`Pn!&4"9"4#9n$4%9&4&9&4'9PPn(2)n*2+"/,,J4-PPn.2)n/2+"/,,J40PPn12)n22+"/,,J43PPn42)n52+"/,,J46)479P),J489&499&4:9P$1;P"2<Pn=2)n>"f2+"/,2?P)n@J2A8$1BP&2<nC2?P)nDJ2A8$1BP"2<PnE2)nF"f2+"/,2?P)nGJ2A8$1HP&2<nI2?P)nJJ2A8$1HMwKy`],TO=[`badge`,`body`,`data`,()=>Uk,`dir`,`icon`,`lang`,`requireInteraction`,`silent`,`tag`,`NotificationOptions`,`P&4!8&4"8"4#8n$4%8&4&8&4'8)4(8P),J4)8&4*8Mw+y`],EO=[()=>G,`updatefound`,`ServiceWorkerRegistrationEventMap`,`Pn!4"Mw#y`],DO=[`classic`,`module`,`WorkerType`,`P.!."Jw#y`],OO=[()=>G,`release`,`WakeLockSentinelEventMap`,`Pn!4"Mw#y`],kO=[()=>F_,0,`this`,()=>Xf,`ev`,``,`onmidimessage`,`type`,0,()=>Gk,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Gk,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIInput`,`Pn!PPn"2#n$2%"/&,J4'P"2(Pn)2#n*"f2%"/&2+P)n,J2-8$1.P&2(n/2+P)n0J2-8$1.P"2(Pn12#n2"f2%"/&2+P)n3J2-8$14P&2(n52+P)n6J2-8$14Mw7y`],AO=[()=>F_,`data`,()=>Hd,`timestamp`,`send`,`type`,0,`this`,()=>Nb,`ev`,``,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>Nb,()=>H,`removeEventListener`,()=>V,()=>H,`MIDIOutput`,`Pn!P'F2"n#2$8$1%P"2&Pn'2(n)"f2*"/+2,P)n-J2.8$1/P&2&n02,P)n1J2.8$1/P"2&Pn22(n3"f2*"/+2,P)n4J2.8$15P&2&n62,P)n7J2.8$15Mw8y`],jO=[()=>eb,`x`,()=>eb,`y`,`GPUOrigin2DDict`,`Pn!4"8n#4$8Mw%y`],MO=[()=>eb,`x`,()=>eb,`y`,()=>eb,`z`,`GPUOrigin3DDict`,`Pn!4"8n#4$8n%4&8Mw'y`],NO=[()=>Ay,`buffer`,()=>hC,`offset`,()=>hC,`size`,`GPUBufferBinding`,`Pn!4"n#4$8n%4&8Mw'y`],PO=[`read-only-storage`,`storage`,`uniform`,`GPUBufferBindingType`,`P.!.".#Jw$y`],FO=[`comparison`,`filtering`,`non-filtering`,`GPUSamplerBindingType`,`P.!.".#Jw$y`],IO=[`read-only`,`read-write`,`write-only`,`GPUStorageTextureAccess`,`P.!.".#Jw$y`],LO=[`depth`,`float`,`sint`,`uint`,`unfilterable-float`,`GPUTextureSampleType`,`P.!.".#.$.%Jw&y`],RO=[`clear`,`load`,`GPULoadOp`,`P.!."Jw#y`],zO=[`discard`,`store`,`GPUStoreOp`,`P.!."Jw#y`],BO=[`a`,`b`,`g`,`r`,`GPUColorDict`,`P'4!'4"'4#'4$Mw%y`],VO=[`decrement-clamp`,`decrement-wrap`,`increment-clamp`,`increment-wrap`,`invert`,`keep`,`replace`,`zero`,`GPUStencilOperation`,`P.!.".#.$.%.&.'.(Jw)y`],HO=[()=>Kk,`alpha`,()=>Kk,`color`,`GPUBlendState`,`Pn!4"n#4$Mw%y`],UO=[`GPUColorWriteFlags`,`'w!y`],WO=[()=>qk,`format`,()=>hC,`offset`,()=>_E,`shaderLocation`,`GPUVertexAttribute`,`Pn!4"n#4$n%4&Mw'y`],GO=[`instance`,`vertex`,`GPUVertexStepMode`,`P.!."Jw#y`],KO=[`error`,`info`,`warning`,`GPUCompilationMessageType`,`P.!.".#Jw$y`],qO=[`rid`,`RTCRtpCodingParameters`,`P&4!8Mw"y`],JO=[`high`,`low`,`medium`,`very-low`,`RTCPriorityType`,`P.!.".#.$Jw%y`],YO=[()=>G,`addsourcebuffer`,()=>G,`removesourcebuffer`,`SourceBufferListEventMap`,`Pn!4"n#4$Mw%y`],XO=[`segments`,`sequence`,`AppendMode`,`P.!."Jw#y`],ZO=[()=>G,`abort`,()=>G,`error`,()=>G,`update`,()=>G,`updateend`,()=>G,`updatestart`,`SourceBufferEventMap`,`Pn!4"n#4$n%4&n'4(n)4*Mw+y`],QO=[()=>gv,`entries`,``,`FileSystemEntriesCallback`,`PPn!F2"$v#Mw$y`],$O=[`name`,`Algorithm`,`P&4!Mw"y`],ek=[`name`,`KeyAlgorithm`,`P&4!Mw"y`],tk=[`private`,`public`,`secret`,`KeyType`,`P.!.".#Jw$y`],nk=[()=>hD,`HashAlgorithmIdentifier`,`n!w"y`],rk=[`d`,`r`,`t`,`RsaOtherPrimesInfo`,`P&4!8&4"8&4#8Mw$y`],ik=[()=>$O,`modulusLength`,()=>Jk,`publicExponent`,`RsaKeyGenParams`,`Pn!'4"n#4$Mw%y`],ak=[`NamedCurve`,`&w!y`],ok=[`done`,`pending`,`IDBRequestReadyState`,`P.!."Jw#y`],sk=[`autoIncrement`,()=>fk,`indexNames`,`keyPath`,`name`,()=>uk,`transaction`,`value`,()=>Yk,`key`,()=>BD,()=>Yk,`add`,()=>BD,`clear`,()=>Yk,()=>Xk,`query`,()=>BD,`count`,()=>Zk,`options`,()=>ck,`createIndex`,()=>Yk,()=>Xk,()=>BD,`delete`,`deleteIndex`,()=>Yk,()=>Xk,()=>BD,`get`,()=>Yk,()=>Xk,`queryOrOptions`,()=>BD,`getAll`,()=>Yk,()=>Xk,()=>BD,()=>Yk,`getAllKeys`,()=>Yk,()=>Xk,()=>BD,()=>Yk,`getKey`,()=>ck,`index`,()=>Yk,()=>Xk,()=>Qk,`direction`,()=>BD,()=>$k,`openCursor`,()=>Yk,()=>Xk,()=>Qk,()=>BD,()=>lk,`openKeyCursor`,()=>Yk,()=>BD,()=>Yk,`put`,`IDBObjectStore`,`P)4!9n"4#9P&&F,J4$9&4%n&4'9P"2(n)2*8n,o+"1-P-o."1/PPn0n1J228'o3"14P&2%P&&FJ2$n5268n718PPn9n:J22-o;"1<P&2%$1=PPn>n?J22"o@"1APPnBnC,J2D8'248"FoE"1FPPnGnH,J2D8'248nJFoI"1KPPnLnMJ22PnO-JoN"1PP&2%nQ1RPPnSnT,J228nU2V8PnX,JoW"1YPPnZn[,J228n\\2V8Pn^,Jo]"1_P"2(n\`2*8nboa"1cMwdy`],ck=[`keyPath`,`multiEntry`,`name`,()=>sk,`objectStore`,`unique`,()=>Yk,()=>Xk,`query`,()=>BD,`count`,()=>Yk,()=>Xk,()=>BD,`get`,()=>Yk,()=>Xk,`queryOrOptions`,()=>BD,`getAll`,()=>Yk,()=>Xk,()=>BD,()=>Yk,`getAllKeys`,()=>Yk,()=>Xk,()=>BD,()=>Yk,`getKey`,()=>Yk,()=>Xk,()=>Qk,`direction`,()=>BD,()=>$k,`openCursor`,()=>Yk,()=>Xk,()=>Qk,()=>BD,()=>lk,`openKeyCursor`,`IDBIndex`,`PP&&FJ4!9)4"9&4#n$4%9)4&9PPn'n(J2)8'o*"1+PPn,n-J2)"o."1/PPn0n1,J228'2+8"Fo3"14PPn5n6,J228'2+8n8Fo7"19PPn:n;J2)Pn=-Jo<"1>PPn?n@,J2)8nA2B8PnD,JoC"1EPPnFnG,J2)8nH2B8PnJ,JoI"1KMwLy`],lk=[()=>Qk,`direction`,()=>Yk,`key`,()=>Yk,`primaryKey`,()=>BD,`request`,()=>sk,()=>ck,`source`,`count`,`advance`,()=>Yk,`continue`,()=>Yk,()=>Yk,`continuePrimaryKey`,()=>BD,`delete`,`value`,()=>BD,()=>Yk,`update`,`IDBCursor`,`Pn!4"9n#4$9n%4&9n'4(9Pn)n*J4+9P'2,$1-Pn.2$8$1/Pn02$n12&$12P-o3"14P"25n7o6"18Mw9y`],uk=[()=>W,()=>VD,`db`,()=>eA,`durability`,()=>Xb,`error`,()=>mk,`mode`,()=>fk,`objectStoreNames`,0,`this`,()=>G,`ev`,``,`onabort`,0,()=>G,`oncomplete`,0,()=>G,`onerror`,`abort`,`commit`,`name`,()=>sk,`objectStore`,`type`,0,()=>tA,`listener`,()=>B,`options`,`addEventListener`,()=>V,()=>B,0,()=>tA,()=>H,`removeEventListener`,()=>V,()=>H,`IDBTransaction`,`Pn!n"4#9n$4%9Pn&,J4'9n(4)9n*4+9PPn,2-n.2/"/0,J41PPn22-n32/"/0,J44PPn52-n62/"/0,J47P$18P$19P&2:n;1<P"2=Pn>2-n?"f2/"/02@P)nAJ2B8$1CP&2=nD2@P)nEJ2B8$1CP"2=PnF2-nG"f2/"/02@P)nHJ2B8$1IP&2=nJ2@P)nKJ2B8$1IMwLy`],dk=[()=>G,`error`,()=>G,`success`,`IDBRequestEventMap`,`Pn!4"n#4$Mw%y`],fk=[`length`,`string`,`contains`,`index`,`item`,`DOMStringList`,`P'4!9P&2")1#P'2$P&,J1%'&LMw&y`],pk=[`autoIncrement`,`keyPath`,`IDBObjectStoreParameters`,`P)4!8P&&F,J4"8Mw#y`],mk=[`readonly`,`readwrite`,`versionchange`,`IDBTransactionMode`,`P.!.".#Jw$y`],hk=[()=>eA,`durability`,`IDBTransactionOptions`,`Pn!4"8Mw#y`],gk=[()=>G,`abort`,()=>G,`close`,()=>G,`error`,()=>Jf,`versionchange`,`IDBDatabaseEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],_k=[`high-performance`,`low-power`,`GPUPowerPreference`,`P.!."Jw#y`],vk=[()=>$y,()=>nA,`defaultQueue`,()=>rA,`requiredFeatures`,()=>ME,()=>hC,`requiredLimits`,`GPUDeviceDescriptor`,`Pn!n"4#8n$F4%8&Pn'-Jo(8Mw)y`],yk=[`clientId`,()=>xk,`mode`,`name`,`LockInfo`,`P&4!8n"4#8&4$8Mw%y`],bk=[()=>xk,`mode`,`name`,`Lock`,`Pn!4"9&4#9Mw$y`],xk=[`exclusive`,`shared`,`LockMode`,`P.!."Jw#y`],Sk=[()=>iA,`kind`,`name`,0,`other`,`isSameEntry`,`FileSystemHandle`,`Pn!4"9&4#9Pn$2%)\`1&Mw'y`],Ck=[`create`,`FileSystemGetDirectoryOptions`,`P)4!8Mw"y`],wk=[`create`,`FileSystemGetFileOptions`,`P)4!8Mw"y`],Tk=[()=>Sk,`file`,`kind`,()=>aA,`options`,()=>oA,`createWritable`,()=>eu,`getFile`,`FileSystemFileHandle`,"Pn!.\"4#9Pn$2%8n&`1'Pn(`1)Mw*y"],Ek=[`recursive`,`FileSystemRemoveOptions`,`P)4!8Mw"y`],Dk=[`attachment`,`inline`,`unspecified`,`PresentationStyle`,`P.!.".#Jw$y`],Ok=[`direct`,`enterprise`,`indirect`,`none`,`AttestationConveyancePreference`,`P.!.".#.$Jw%y`],kk=[()=>sA,`authenticatorAttachment`,`requireResidentKey`,()=>cA,`residentKey`,()=>Fk,`userVerification`,`AuthenticatorSelectionCriteria`,`Pn!4"8)4#8n$4%8n&4'8Mw(y`],Ak=[()=>jw,`id`,()=>lA,`transports`,()=>uA,`type`,`PublicKeyCredentialDescriptor`,`Pn!4"n#F4$8n%4&Mw'y`],jk=[`appid`,`credProps`,`credentialProtectionPolicy`,`enforceCredentialProtectionPolicy`,`hmacCreateSecret`,()=>dA,`largeBlob`,`minPinLength`,()=>fA,`prf`,`AuthenticationExtensionsClientInputs`,`P&4!8)4"8&4#8)4$8)4%8n&4'8)4(8n)4*8Mw+y`],Mk=[()=>pA,`alg`,()=>uA,`type`,`PublicKeyCredentialParameters`,`Pn!4"n#4$Mw%y`],Nk=[()=>mA,`id`,`PublicKeyCredentialRpEntity`,`Pn!&4"8Mw#y`],Pk=[()=>mA,`displayName`,()=>jw,`id`,`PublicKeyCredentialUserEntity`,`Pn!&4"n#4$Mw%y`],Fk=[`discouraged`,`preferred`,`required`,`UserVerificationRequirement`,`P.!.".#Jw$y`],Ik=[`accuracy`,`altitude`,`altitudeAccuracy`,`heading`,`latitude`,`longitude`,`speed`,`toJSON`,`GeolocationCoordinates`,`P'4!9P',J4"9P',J4#9P',J4$9'4%9'4&9P',J4'9P"1(Mw)y`],Lk=[`EpochTimeStamp`,`'w!y`],Rk=[`bitrate`,`channels`,`contentType`,`samplerate`,`spatialRendering`,`AudioConfiguration`,`P'4!8&4"8&4#'4$8)4%8Mw&y`],zk=[`bitrate`,()=>hA,`colorGamut`,`contentType`,`framerate`,`hasAlphaChannel`,()=>gA,`hdrMetadataType`,`height`,`scalabilityMode`,()=>_A,`transferFunction`,`width`,`VideoConfiguration`,`P'4!n"4#8&4$'4%)4&8n'4(8'4)&4*8n+4,8'4-Mw.y`],Bk=[`robustness`,`KeySystemTrackConfiguration`,`P&4!8Mw"y`],Vk=[()=>vA,`getSubscription`,()=>yA,`options`,()=>_O,`permissionState`,()=>yA,()=>vA,`subscribe`,`PushManager`,"PPPn!,J`1\"Pn#2$8n%`1&Pn'2$8n(`1)Mw*y"],Hk=[`enabled`,`headerValue`,`NavigationPreloadState`,`P)4!8&4"8Mw#y`],Uk=[`auto`,`ltr`,`rtl`,`NotificationDirection`,`P.!.".#Jw$y`],Wk=[()=>G,`click`,()=>G,`close`,()=>G,`error`,()=>G,`show`,`NotificationEventMap`,`Pn!4"n#4$n%4&n'4(Mw)y`],Gk=[()=>Nb,()=>Xf,`midimessage`,`MIDIInputEventMap`,`Pn!n"4#Mw$y`],Kk=[()=>bA,`dstFactor`,()=>xA,`operation`,()=>bA,`srcFactor`,`GPUBlendComponent`,`Pn!4"8n#4$8n%4&8Mw'y`],qk=`float16 float16x2 float16x4 float32 float32x2 float32x3 float32x4 sint16 sint16x2 sint16x4 sint32 sint32x2 sint32x3 sint32x4 sint8 sint8x2 sint8x4 snorm16 snorm16x2 snorm16x4 snorm8 snorm8x2 snorm8x4 uint16 uint16x2 uint16x4 uint32 uint32x2 uint32x3 uint32x4 uint8 uint8x2 uint8x4 unorm10-10-10-2 unorm16 unorm16x2 unorm16x4 unorm8 unorm8x2 unorm8x4 unorm8x4-bgra GPUVertexFormat P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7.8.9.:.;.<.=.>.?.@.A.B.C.D.E.F.G.H.IJwJy`.split(` `),Jk=[`BigInteger`,`Ww!y`],Yk=[()=>jw,0,`IDBValidKey`,`P'&Tn!n"FJw#y`],Xk=[`lower`,`lowerOpen`,`upper`,`upperOpen`,`key`,`includes`,`IDBKeyRange`,`P"4!9)4"9"4#9)4$9P"2%)1&Mw'y`],Zk=[`multiEntry`,`unique`,`IDBIndexParameters`,`P)4!8)4"8Mw#y`],Qk=[`next`,`nextunique`,`prev`,`prevunique`,`IDBCursorDirection`,`P.!.".#.$Jw%y`],$k=[()=>lk,`value`,`IDBCursorWithValue`,`Pn!"4"9Mw#y`],eA=[`default`,`relaxed`,`strict`,`IDBTransactionDurability`,`P.!.".#Jw$y`],tA=[()=>G,`abort`,()=>G,`complete`,()=>G,`error`,`IDBTransactionEventMap`,`Pn!4"n#4$n%4&Mw'y`],nA=[()=>$y,`GPUQueueDescriptor`,`Pn!Mw"y`],rA=[`bgra8unorm-storage`,`clip-distances`,`core-features-and-limits`,`depth-clip-control`,`depth32float-stencil8`,`dual-source-blending`,`float32-blendable`,`float32-filterable`,`indirect-first-instance`,`primitive-index`,`rg11b10ufloat-renderable`,`shader-f16`,`subgroups`,`texture-compression-astc`,`texture-compression-astc-sliced-3d`,`texture-compression-bc`,`texture-compression-bc-sliced-3d`,`texture-compression-etc2`,`texture-formats-tier1`,`timestamp-query`,`GPUFeatureName`,`P.!.".#.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4Jw5y`],iA=[`directory`,`file`,`FileSystemHandleKind`,`P.!."Jw#y`],aA=[`keepExistingData`,`FileSystemCreateWritableOptions`,`P)4!8Mw"y`],oA=[()=>qg,`position`,`seek`,`size`,`truncate`,()=>SA,`data`,`write`,`FileSystemWritableFileStream`,"Pn!P'2\"$`1#P'2$$`1%Pn&2'$`1(Mw)y"],sA=[`cross-platform`,`platform`,`AuthenticatorAttachment`,`P.!."Jw#y`],cA=[`discouraged`,`preferred`,`required`,`ResidentKeyRequirement`,`P.!.".#Jw$y`],lA=[`ble`,`hybrid`,`internal`,`nfc`,`usb`,`AuthenticatorTransport`,`P.!.".#.$.%Jw&y`],uA=[`public-key`,`PublicKeyCredentialType`,`.!w"y`],dA=[`read`,`support`,()=>jw,`write`,`AuthenticationExtensionsLargeBlobInputs`,`P)4!8&4"8n#4$8Mw%y`],fA=[()=>CA,`eval`,()=>ME,()=>CA,`evalByCredential`,`AuthenticationExtensionsPRFInputs`,`Pn!4"8&n$o##4%8Mw&y`],pA=[`COSEAlgorithmIdentifier`,`'w!y`],mA=[`name`,`PublicKeyCredentialEntity`,`P&4!Mw"y`],hA=[`p3`,`rec2020`,`srgb`,`ColorGamut`,`P.!.".#Jw$y`],gA=[`smpteSt2086`,`smpteSt2094-10`,`smpteSt2094-40`,`HdrMetadataType`,`P.!.".#Jw$y`],_A=[`hlg`,`pq`,`srgb`,`TransferFunction`,`P.!.".#Jw$y`],vA=[`endpoint`,()=>Lk,`expirationTime`,()=>wA,`options`,()=>TA,`name`,`getKey`,()=>EA,`toJSON`,`unsubscribe`,`PushSubscription`,`P&4!9Pn",J4#9n$4%9Pn&2'P_,J1(Pn)1*P)\`1+Mw,y`],yA=[()=>jw,`applicationServerKey`,`userVisibleOnly`,`PushSubscriptionOptionsInit`,`PPn!&,J4"8)4#8Mw$y`],bA=[`constant`,`dst`,`dst-alpha`,`one`,`one-minus-constant`,`one-minus-dst`,`one-minus-dst-alpha`,`one-minus-src`,`one-minus-src-alpha`,`src`,`src-alpha`,`src-alpha-saturated`,`zero`,`GPUBlendFactor`,`P.!.".#.$.%.&.'.(.).*.+.,.-Jw.y`],xA=[`add`,`max`,`min`,`reverse-subtract`,`subtract`,`GPUBlendOperation`,`P.!.".#.$.%Jw&y`],SA=[()=>jw,()=>Uc,()=>DA,`FileSystemWriteChunkType`,`Pn!n"&n#Jw$y`],CA=[()=>jw,`first`,()=>jw,`second`,`AuthenticationExtensionsPRFValues`,`Pn!4"n#4$8Mw%y`],wA=[`applicationServerKey`,`userVisibleOnly`,`PushSubscriptionOptions`,`PP_,J4!9)4"9Mw#y`],TA=[`auth`,`p256dh`,`PushEncryptionKeyName`,`P.!."Jw#y`],EA=[`endpoint`,()=>Lk,`expirationTime`,()=>ME,`keys`,`PushSubscriptionJSON`,`P&4!8Pn",J4#8&&o$#4%8Mw&y`],DA=[()=>jw,()=>Uc,`data`,`position`,`size`,()=>OA,`type`,`WriteParams`,`PPn!n"&,J4#8P',J4$8P',J4%8n&4'Mw(y`],OA=[`seek`,`truncate`,`write`,`WriteCommandType`,`P.!.".#Jw$y`];function __assignType$1(e,t){return e.__type=t,e}__name(__assignType$1,`__assignType`);const kA=[`wireframe`,`flat`,`smooth`,`glossy`,`textured`,`reflective`,`ShadingMode`,`P.!.".#.$.%.&Jw'y`],AA=[2,3,4,5,6,8,10,15,20,30,40,50],jA=[`wireframe`,`flat`,`smooth`,`glossy`,`textured`,`reflective`],MA=[`newTess`,`lid`,`body`,`bottom`,`fitLid`,`nonblinn`,()=>kA,`newShading`,`TeapotEffectController`,`P'4!)4")4#)4$)4%)4&n'4(Mw)y`],NA=[()=>MA,`effectController`,`render`,`pause`,`resume`,`isPaused`,`TeapotDemo`,`Pn!4"9P$1#P$1$P$1%)4&9Mw'y`],PA=[`assetBase`,`StartOptions`,`P&4!8Mw"y`];function start(e,t){let n=t?.assetBase??`./`,r=new WebGLRenderer({canvas:e,antialias:!0});r.setSize(e.width,e.height,!1);let i=e.width,a=e.height,o=new PerspectiveCamera(45,e.width/e.height,1,8e4);o.position.set(-600,550,1300);let s=new Scene;s.background=new Color(11184810);let c=new AmbientLight(8158332,2);s.add(c);let l=new DirectionalLight(16777215,2);l.position.set(.32,.39,.7),s.add(l);let u=new TextureLoader().load(`${n}assets/uv_grid_opengl.jpg`);u.wrapS=u.wrapT=Pr,u.anisotropy=16,u.colorSpace=ci;let d=`${n}assets/pisa/`,f=new CubeTextureLoader().setPath(d).load([`px.png`,`nx.png`,`py.png`,`ny.png`,`pz.png`,`nz.png`]),p={wireframe:new MeshBasicMaterial({wireframe:!0}),flat:new MeshPhongMaterial({specular:0,flatShading:!0,side:2}),smooth:new MeshLambertMaterial({side:2}),glossy:new MeshPhongMaterial({color:12632256,specular:4210752,shininess:300,side:2}),textured:new MeshPhongMaterial({map:u,side:2}),reflective:new MeshPhongMaterial({envMap:f,side:2})};new OrbitControls(o,e).addEventListener(`change`,render);let m={newTess:15,lid:!0,body:!0,bottom:!0,fitLid:!1,nonblinn:!1,newShading:`glossy`},h=-1,g,_,v,y,b,x,S;function createNewTeapot(){S!==void 0&&(S.geometry.dispose(),s.remove(S)),S=new Mesh(new TeapotGeometry(300,h,m.bottom,m.lid,m.body,m.fitLid,!m.nonblinn),p[x]),s.add(S)}createNewTeapot.__type=[`createNewTeapot`,`P"/!`];function doRender(){(m.newTess!==h||m.bottom!==g||m.lid!==_||m.body!==v||m.fitLid!==y||m.nonblinn!==b||m.newShading!==x)&&(h=m.newTess,g=m.bottom,_=m.lid,v=m.body,y=m.fitLid,b=m.nonblinn,x=m.newShading,createNewTeapot()),x===`reflective`?s.background=f:s.background=null;let t=e.width,n=e.height;(i!==t||a!==n)&&(i=t,a=n,r.setSize(t,n,!1),o.aspect=t/n,o.updateProjectionMatrix()),r.render(s,o)}doRender.__type=[`doRender`,`P"/!`];let C=!1,w=!1,T=!1;function render(){if(w){T=!0;return}C||(C=!0,requestAnimationFrame(()=>{C=!1,doRender()}))}return render.__type=[`render`,`P"/!`],render(),{effectController:m,render,get isPaused(){return w},pause:__assignType$1(function pause(){w||=!0},[`pause`,`P"/!`]),resume:__assignType$1(function resume(){w&&(w=!1,T&&(T=!1,render()))},[`resume`,`P"/!`])}}start.__type=[()=>Xs,`canvas`,()=>PA,`options`,()=>NA,`start`,`Pn!2"n#2$8n%/&`];var FA=`<?xml version="1.0" encoding="UTF-8"?>
|
|
4198
4198
|
<!--
|
|
4199
4199
|
DO NOT EDIT!
|
|
4200
4200
|
This file was @generated by blueprint-compiler. Instead, edit the
|
|
@@ -4322,4 +4322,4 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
|
|
4322
4322
|
</object>
|
|
4323
4323
|
</property>
|
|
4324
4324
|
</template>
|
|
4325
|
-
</interface>`;function __assignType(e,t){return e.__type=t,e}var TeapotWindow=class extends f.ApplicationWindow{_demo=null;static{h.registerClass({GTypeName:`TeapotWindow`,Template:
|
|
4325
|
+
</interface>`;function __assignType(e,t){return e.__type=t,e}var TeapotWindow=class extends f.ApplicationWindow{_demo=null;static{h.registerClass({GTypeName:`TeapotWindow`,Template:FA,InternalChildren:[`glAreaContainer`,`tessRow`,`lidRow`,`bodyRow`,`bottomRow`,`fitLidRow`,`nonblinnRow`,`shadingRow`,`splitView`,`sidebarToggleButton`,`pauseButton`]},this)}constructor(e){super({application:e}),this._tessRow.set_model(p.StringList.new(AA.map(String))),this._tessRow.set_selected(7),this._shadingRow.set_model(p.StringList.new([...jA])),this._shadingRow.set_selected(3);let t=new jr;t.set_hexpand(!0),t.set_vexpand(!0),t.installGlobals(),this._glAreaContainer.append(t),Object.defineProperty(globalThis,"innerWidth",{get:()=>t.get_allocated_width(),configurable:!0}),Object.defineProperty(globalThis,"innerHeight",{get:()=>t.get_allocated_height(),configurable:!0}),t.onReady(__assignType(e=>{t.grab_focus();let n=t.get_context();print(`Context version: OpenGL${n.get_use_es()?` ES`:``} ${n.get_version().join(`.`)}`),this._demo=start(e),this.connectControls(this._demo)},[`canvas`,``,`P"2!"/"`])),this._pauseButton.connect(`clicked`,()=>{this._demo&&(this._demo.isPaused?(this._demo.resume(),this._pauseButton.set_icon_name(`media-playback-pause-symbolic`),this._pauseButton.set_tooltip_text(`Pause Rendering`)):(this._demo.pause(),this._pauseButton.set_icon_name(`media-playback-start-symbolic`),this._pauseButton.set_tooltip_text(`Resume Rendering`)))})}connectControls(e){this._tessRow.connect(`notify::selected`,()=>{e.effectController.newTess=AA[this._tessRow.selected],e.render()}),this._shadingRow.connect(`notify::selected`,()=>{e.effectController.newShading=jA[this._shadingRow.selected],e.render()}),this._lidRow.connect(`notify::active`,()=>{e.effectController.lid=this._lidRow.active,e.render()}),this._bodyRow.connect(`notify::active`,()=>{e.effectController.body=this._bodyRow.active,e.render()}),this._bottomRow.connect(`notify::active`,()=>{e.effectController.bottom=this._bottomRow.active,e.render()}),this._fitLidRow.connect(`notify::active`,()=>{e.effectController.fitLid=this._fitLidRow.active,e.render()}),this._nonblinnRow.connect(`notify::active`,()=>{e.effectController.nonblinn=this._nonblinnRow.active,e.render()})}static __type=[()=>f.ApplicationWindow,`_glAreaContainer`,`_tessRow`,`_lidRow`,`_bodyRow`,`_bottomRow`,`_fitLidRow`,`_nonblinnRow`,`_shadingRow`,`_splitView`,`_sidebarToggleButton`,`_pauseButton`,`TeapotDemo`,`_demo`,function(){return null},`application`,`constructor`,`demo`,`connectControls`,`TeapotWindow`,`P7!!3";!3#;!3$;!3%;!3&;!3';!3(;!3);!3*;!3+;!3,;P"w-,J3.;>/!P!20"01P"w-22"03;5w4`]};const IA=new f.Application({application_id:`gjsify.examples.three-geometry-teapot`,flags:c.ApplicationFlags.FLAGS_NONE});IA.connect(`startup`,()=>installDevtools(IA)),IA.connect(`activate`,()=>{let e=IA.get_active_window();e||=new TeapotWindow(IA),e.present()}),await IA.runAsync([]);
|