const shaderWebBackground={};(()=>{const e=(e,t)=>{t.initHalfFloatRGBATexture(t.width,t.height),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_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)},t=(e,t)=>{if(console.warn("shader-web-background cannot shade, adding fallback CSS classes"),document.documentElement.classList.add("shader-web-background-fallback"),t.classList.add("shader-web-background-fallback"),!(e instanceof shaderWebBackground.GlError))throw e;console.warn("Not sufficient WebGL support:",e)};function r(e,t){if(!e)throw new shaderWebBackground.ConfigError(t)}function n(e,t,n){r(e instanceof HTMLScriptElement&&e.type===t,'Shader source element of id "'+n+'" should be of type: