1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2736],{88338:function(e,t,r){r.d(t,{b:function(){return m},l:function(){return s},o:function(){return c}});var a,o,i,n={exports:{}};i=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"],n.exports=i;let s=n.exports;var l={exports:{}};a=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"],l.exports=a;let c=l.exports;var f={exports:{}};o=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT","textureSize","texelFetch"],f.exports=o;let m=f.exports},90262:function(e,t,r){r.d(t,{$:function(){return d}});var a=r(7753);r(39994);var o=r(61681),i=r(6174),n=r(36172),s=r(91907);let l=["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uint","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subrout
1ine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"];var c=r(88338),f=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"];let m=["GL_OES_standard_derivatives","GL_EXT_frag_depth","GL_EXT_draw_buffers","GL_EXT_shader_texture_lod"];function u(e,t,r,a){for(let o of(a=a||r,e))if("ident"===o.type&&o.data===r)return a in t?t[a]++:t[a]=0,u(e,t,a+"_"+t[a],a);return r}function g(e,t,r="afterVersion"){let a={data:"\n",type:"whitespace"},o=t=>t<e.length&&/[^\r\n]$/.test(e[t].data),i=function(e){let t=-1,a=0,o=-1;for(let i=0;i<e.length;i++){let n=e[i];if("preprocessor"===n.type&&(n.data.match(/\#(if|ifdef|ifndef)\s+.+/)?++a:n.data.match(/\#endif\s*.*/)&&--a),"afterVersion"!==r&&"afterPrecision"!==r||"preprocessor"===n.type&&/^#version/.test(n.data)&&(o=Math.max(o,i)),"afterPrecision"===r&&"keyword"===n.type&&"precision"===n.data){let t=function(e,t){for(let r=t;r<e.length;r++){let t=e[r];if("operator"===t.type&&";"===t.data)return r}return null}(e,i);if(null===t)throw Error("precision statement not followed by any semicolons!");o=Math.max(o,t)}t<o&&0===a&&(t=i)}return t+1}(e);for(let r of(o(i-1)&&e.splice(i++,0,a),t))e.splice(i++,0,r);o(i-1)&&o(i)&&e.splice(i,0,a)}function h(e,t){var r,a;if((0,o.pC)(null))return null;let i=[].concat((r=function(){var e,t,r,a=0,o=0,i=999,n=[],s=[],l=1,m=0,u=0,g=!1,h=!1,d="";return function(f){return s=[],null!==f?function(f){var x;for(a=0,r=(d+=f).length;e=d[a],a<r;){switch(x=a,i){case 0:"/"===e&&"*"===t?(n.push(e),_(n.join("")),i=999):(n.push(e),t=e),a+=1;break;case 1:case 2:a=function(){return"\r"!==e&&"\n"!==e||"\\"===t?(n.push(e),t=e,a+1):(_(n.join("")),i=999,a)}();break;case 3:a=function(){if("."===t&&/\d/.test(e))return i=5,a;if("/"===t&&"*"===e)return i=0,a;if("/"===t&&"/"===e)return i=1,a;if("."===e&&n.length){for(;p(n););return i=5,a}if(";"===e||")"===e||"("===e){if(n.length)for(;p(n););return _(e),i=999,a+1}var r=2===n.length&&"="!==e;if(/[\w_\d\s]/.test(e)||r){for(;p(n););return i=999,a}return n.push(e),t=e,a+1}();break;case 4:a="."===e||/[eE]/.test(e)?(n.push(e),i=5,t=e,a+1):"x"===e&&1===n.length&&"0"===n[0]?(i=11,n.push(e),t=e,a+1):/[^\d]/.test(e)?(_(n.join("")),i=999,a):(n.push(e),t=e,a+1);break;case 11:a=/[^a-fA-F0-9]/.test(e)?(_(n.join("")),i=999,a):(n.push(e),t=e,a+1);break;case 5:"f"===e&&(n.push(e),t=e,a+=1),a=/[eE]/.test(e)||"-"===e&&/[eE]/.test(t)?(n.push(e),t=e,a+1):/[^\d]/.test(e)?(_(n.join("")),i=999,a):(n.push(e),t=e,a+1);break;case 9999:a=function(){if(/[^\d\w_]/.test(e)){var r=n.join("");return i=c.l.indexOf(r)>-1?8:c.b.indexOf(r)>-1?7:6,_(n.join("")),i=999,a}return n.push(e),t=e,a+1}();break;case 9:a=/[^\s]/g.test(e)?(_(n.join("")),i=999,a):(n.push(e),t=e,a+1);break;case 999:n=n.length?[]:n,a="/"===t&&"*"===e?(u=o+a-1,i=0,t=e,a+1):"/"===t&&"/"===e?(u=o+a-1,i=1,t=e,a+1):("#"===e?(i=2,u=o+a):/\s/.test(e)?(i=9,u=o+a):(g=/\d/.test(e),h=/[^\w_]/.test(e),u=o+a,i=g?4:h?3:9999),a)}x!==a&&("\n"===d[x]?(m=0,++l):++m)}return o+=a,d=d.slice(a),s}(f.replace?f.replace(/\r\n/g,"\n"):f):(n.length&&_(n.join("")),i=10,_("(eof)"),s)};function _(e){e.length&&s.push({type:f[i],data:e,position:u,line:l,column:m})}function p(e){for(var t,r,a=0;;){if(t=c.o.indexOf(e.slice(0,e.length+a).join("")),r=c.o[t],-1===t){if(a--+e.length>0)continue;r=e.slice(0,1).join("")}return _(r),u+=r.length,(n=n.slice(r.length)).length}}}())(e)).concat(r(null));if("300 es"===function(e,t="100",r="300 es"){let a=/^\s*\#version\s+([0-9]+(\s+[a-zA-Z]+)?)\s*/;for(let o of e)if("preprocessor"===o.type){let e=a.exec(o.data);if(e){let a=e[1].replace(/\s\s+/g," ");
1if(a===r)return a;if(a===t)return o.data="#version "+r,t;throw Error("unknown glsl version: "+a)}}return e.splice(0,0,{type:"preprocessor",data:"#version "+r},{type:"whitespace",data:"\n"}),null}(i,"100","300 es"))return e;let n=null,h=null,d={},_={};for(let e=0;e<i.length;++e){let r=i[e];switch(r.type){case"keyword":t===s.Ho.VERTEX_SHADER&&"attribute"===r.data?r.data="in":"varying"===r.data&&(r.data=t===s.Ho.VERTEX_SHADER?"out":"in");break;case"builtin":if(/^texture(2D|Cube)(Proj)?(Lod|Grad)?(EXT)?$/.test(r.data.trim())&&(r.data=r.data.replace(/(2D|Cube|EXT)/g,"")),t===s.Ho.FRAGMENT_SHADER&&"gl_FragColor"===r.data&&(n||(n=u(i,d,"fragColor"),function(e,t,r,a="lowp"){g(e,[{type:"keyword",data:"out"},{type:"whitespace",data:" "},{type:"keyword",data:a},{type:"whitespace",data:" "},{type:"keyword",data:r},{type:"whitespace",data:" "},{type:"ident",data:t},{type:"operator",data:";"}],"afterPrecision")}(i,n,"vec4")),r.data=n),t===s.Ho.FRAGMENT_SHADER&&"gl_FragData"===r.data){let t=function(e,t){let r,a,o=-1;for(let i=t;i<e.length;i++){let t=e[i];if("operator"===t.type&&("["===t.data&&(r=i),"]"===t.data)){a=i;break}"integer"===t.type&&(o=parseInt(t.data,10))}return r&&a&&e.splice(r,a-r+1),o}(i,e+1),a=u(i,d,"fragData");(function(e,t,r,a,o="lowp"){g(e,[{type:"keyword",data:"layout"},{type:"operator",data:"("},{type:"keyword",data:"location"},{type:"whitespace",data:" "},{type:"operator",data:"="},{type:"whitespace",data:" "},{type:"integer",data:a.toString()},{type:"operator",data:")"},{type:"whitespace",data:" "},{type:"keyword",data:"out"},{type:"whitespace",data:" "},{type:"keyword",data:o},{type:"whitespace",data:" "},{type:"keyword",data:r},{type:"whitespace",data:" "},{type:"ident",data:t},{type:"operator",data:";"}],"afterPrecision")})(i,a,"vec4",t,"mediump"),r.data=a}else t===s.Ho.FRAGMENT_SHADER&&"gl_FragDepthEXT"===r.data&&(h||(h=u(i,d,"gl_FragDepth")),r.data=h);break;case"ident":if(l.includes(r.data)){if(t===s.Ho.VERTEX_SHADER&&function(e,t){for(let r=t-1;r>=0;r--){let t=e[r];if("whitespace"!==t.type&&"block-comment"!==t.type){if("keyword"!==t.type)break;if("attribute"===t.data||"in"===t.data)return!0}}return!1}(i,e))throw Error("attribute in vertex shader uses a name that is a reserved word in glsl 300 es");r.data in _||(_[r.data]=u(i,d,r.data)),r.data=_[r.data]}}}for(let e=i.length-1;e>=0;--e){let t=i[e];if("preprocessor"===t.type){let r=t.data.match(/\#extension\s+(.*)\:/);if(r&&r[1]&&m.includes(r[1].trim())){let t=i[e+1];i.splice(e,t&&"whitespace"===t.type?2:1)}let a=t.data.match(/\#ifdef\s+(.*)/);a&&a[1]&&m.includes(a[1].trim())&&(t.data="#if 1");let o=t.data.match(/\#ifndef\s+(.*)/);o&&o[1]&&m.includes(o[1].trim())&&(t.data="#if 0")}}return i.map(e=>"eof"!==e.type?e.data:"").join("")}class d{constructor(e,t,r,a,o=new Map){this._context=e,this._locations=a,this._uniformBlockBindings=o,this._refCount=1,this._compiled=!1,this._nameToUniformLocation={},this._nameToUniform1={},this._nameToUniform1v=new Map,this._nameToUniform2=new Map,this._nameToUniform3=new Map,this._nameToUniform4=new Map,this._nameToUniformMatrix3=new Map,this._nameToUniformMatrix4=new Map,e||console.error("RenderingContext isn't initialized!"),0===t.length&&console.error("Shaders source should not be empty!"),this._context.type===n.zO.WEBGL2&&(t=h(t,s.Ho.VERTEX_SHADER),r=h(r,s.Ho.FRAGMENT_SHADER)),this._vShader=_(this._context,s.Ho.VERTEX_SHADER,t),this._fShader=_(this._context,s.Ho.FRAGMENT_SHADER,r),this._vShader&&this._fShader||console.error("Error loading shaders!"),this._context.instanceCounter.increment(s._g.Shader,this),(0,i.CG)()&&(this.vertexShader=t,this.fragmentShader=r)}get glName(){if((0,o.pC)(this._glName))return this._glName;if((0,o.Wi)(this._vShader))return null;let e=this._context.gl,t=e.createProgram();if(e.attachShader(t,this._vShader),e.attachShader(t,this._fShader),this._locations.forEach((r,a)=>e.bindAttribLocation(t,r,a)),e.linkProgram(t),(0,i.CG)()&&!e.getProgramParameter(t,e.LINK_STATUS)&&console.error(`Could not link shader 2validated: ${e.getProgramParameter(t,e.VALIDATE_STATUS)}, gl error ${e.getError()}, vertex: ${e.getShaderParameter(this._vShader,e.COMPILE_STATUS)}, fragment: ${e.getShaderParameter(this._fShader,e.COMPILE_STATUS)}, info log: ${e.getProgramInfoLog(t)}, vertex source: ${this.vertexShader}, fragment source: ${this.fragmentShader}`),this._context.type===n.zO.WEBGL2)for(let[r,a]of this._uniformBlockBindings){let o=e.getUniformBlockIndex(t,r);o<4294967295&&e.uniformBlockBinding(t,o,a)}
2return this._glName=t,this._context.instanceCounter.increment(s._g.Program,this),t}get hasGLName(){return(0,o.pC)(this._glName)}get isCompiled(){if(this._compiled)return!0;let e=this._context.gl.getExtension("KHR_parallel_shader_compile");return null==e?(this._compiled=!0,!0):(this._compiled=!!this._context.gl.getProgramParameter(this.glName,e.COMPLETION_STATUS_KHR),this._compiled)}dispose(){if(--this._refCount>0)return;let e=this._context.gl;this._vShader&&(e.deleteShader(this._vShader),this._vShader=null,this._context.instanceCounter.decrement(s._g.Shader,this)),this._fShader&&(e.deleteShader(this._fShader),this._fShader=null),this._glName&&(e.deleteProgram(this._glName),this._glName=null,this._context.instanceCounter.decrement(s._g.Program,this))}ref(){++this._refCount}_getUniformLocation(e){return void 0===this._nameToUniformLocation[e]&&(++x.numUniforms,this._nameToUniformLocation[e]=this._context.gl.getUniformLocation(this.glName,e)),this._nameToUniformLocation[e]}hasUniform(e){return null!==this._getUniformLocation(e)}setUniform1i(e,t){let r=this._nameToUniform1[e];void 0!==r&&t===r||(this._context.gl.uniform1i(this._getUniformLocation(e),t),this._nameToUniform1[e]=t)}setUniform1iv(e,t){p(this._nameToUniform1v,e,t)&&this._context.gl.uniform1iv(this._getUniformLocation(e),t)}setUniform2iv(e,t){p(this._nameToUniform2,e,t)&&this._context.gl.uniform2iv(this._getUniformLocation(e),t)}setUniform3iv(e,t){p(this._nameToUniform3,e,t)&&this._context.gl.uniform3iv(this._getUniformLocation(e),t)}setUniform4iv(e,t){p(this._nameToUniform4,e,t)&&this._context.gl.uniform4iv(this._getUniformLocation(e),t)}setUniform1f(e,t){let r=this._nameToUniform1[e];void 0!==r&&t===r||(this._context.gl.uniform1f(this._getUniformLocation(e),t),this._nameToUniform1[e]=t)}setUniform1fv(e,t){p(this._nameToUniform1v,e,t)&&this._context.gl.uniform1fv(this._getUniformLocation(e),t)}setUniform2f(e,t,r){let a=this._nameToUniform2.get(e);void 0===a?(this._context.gl.uniform2f(this._getUniformLocation(e),t,r),this._nameToUniform2.set(e,[t,r])):t===a[0]&&r===a[1]||(this._context.gl.uniform2f(this._getUniformLocation(e),t,r),a[0]=t,a[1]=r)}setUniform2fv(e,t){p(this._nameToUniform2,e,t)&&this._context.gl.uniform2fv(this._getUniformLocation(e),t)}setUniform3f(e,t,r,a){let o=this._nameToUniform3.get(e);void 0===o?(this._context.gl.uniform3f(this._getUniformLocation(e),t,r,a),this._nameToUniform3[e]=[t,r,a]):t===o[0]&&r===o[1]&&a===o[2]||(this._context.gl.uniform3f(this._getUniformLocation(e),t,r,a),o[0]=t,o[1]=r,o[2]=a)}setUniform3fv(e,t){p(this._nameToUniform3,e,t)&&this._context.gl.uniform3fv(this._getUniformLocation(e),t)}setUniform4f(e,t,r,a,o){let i=this._nameToUniform4.get(e);void 0===i?(this._context.gl.uniform4f(this._getUniformLocation(e),t,r,a,o),this._nameToUniform4.set(e,[t,r,a,o])):void 0!==i&&t===i[0]&&r===i[1]&&a===i[2]&&o===i[3]||(this._context.gl.uniform4f(this._getUniformLocation(e),t,r,a,o),i[0]=t,i[1]=r,i[2]=a,i[3]=o)}setUniform4fv(e,t){p(this._nameToUniform4,e,t)&&this._context.gl.uniform4fv(this._getUniformLocation(e),t)}setUniformMatrix3fv(e,t,r=!1){p(this._nameToUniformMatrix3,e,t)&&this._context.gl.uniformMatrix3fv(this._getUniformLocation(e),r,t)}setUniformMatrix4fv(e,t,r=!1){p(this._nameToUniformMatrix4,e,t)&&this._context.gl.uniformMatrix4fv(this._getUniformLocation(e),r,t)}stop(){}}function _(e,t,r){let a;let o=e.gl,n=o.createShader(t);return o.shaderSource(n,r),o.compileShader(n),(0,i.CG)()&&!o.getShaderParameter(n,o.COMPILE_STATUS)&&(console.error("Compile error in ".concat(t===s.Ho.VERTEX_SHADER?"vertex":"fragment"," shader")),console.error(o.getShaderInfoLog(n)),console.error((a=2,r.replace(/\n/g,()=>{var e;return"\n"+((e=a++)>=1e3?e.toString():(" "+e).slice(-3))+":"})))),x.enabled&&(x.compiledLOC+=r.match(/\n/g).length+1),n}function p(e,t,r){let o=e.get(t);return o?(0,a.Vx)(o,r):(e.set(t,Array.from(r)),!0)}let x={compiledLOC:0,numUniforms:0,enabled:!1}},84172:function(e,t,r){r.d(t,{H:function(){return o}});var a=r(90262);function o(e,t,r=""){return new a.$(e,r+t.shaders.vertexShader,r+t.shaders.fragmentShader,t.attributes)}},78311:function(e,t,r){r.d(t,{B:function(){return a}});class a{constructor(e){this._readFile=e}resolveIncludes(e){return this._resolve(e)}_resolve(e,t=new Map){if(t.has(e))return t.get(e);let r=this._read(e);if(!r)throw Error(`cannot find shader file ${e}`);let a=/^[^\S\n]*#include\s+<(\S+)>[^\S\n]?/gm,o=a.exec(r),i=[];for(;null!=o;)i.push({path:o[1],start:o.index,length:o[0].length}),o=a.exec(r);let n=0,s="";
2return i.forEach(e=>{s+=r.slice(n,e.start)+(t.has(e.path)?"":this._resolve(e.path,t)),n=e.start+e.length}),s+=r.slice(n),t.set(e,s),s}_read(e){return this._readFile(e)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.