PageSourceSearch

https://censusmapper.ca/_next/static/chunks/2w4nww70dh-2v.js

js censusmapper.ca collected 2026-10-02 04:32:55 UTC 30,691 bytes, 12 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,706145,374366,81905,e=>{"use strict";let t={};function r(e="id"){t[e]=t[e]||1;let n=t[e]++;return`${e}-${n}`}e.s(["uid",0,r],374366);let n="GPU Resource Counts",o="Resource Counts",s="GPU Time and Memory",i=["Resources","Buffers","Textures","Samplers","TextureViews","Framebuffers","QuerySets","Shaders","RenderPipelines","ComputePipelines","PipelineLayouts","VertexArrays","RenderPasss","RenderBundleEncoders","RenderBundles","ComputePasss","CommandEncoders","CommandBuffers"].flatMap(e=>[`${e} Created`,`${e} Active`]),a=["Resources","Buffers","Textures","Samplers","TextureViews","Framebuffers","QuerySets","Shaders","RenderPipelines","SharedRenderPipelines","ComputePipelines","PipelineLayouts","VertexArrays","RenderPasss","RenderBundleEncoders","RenderBundles","ComputePasss","CommandEncoders","CommandBuffers"].flatMap(e=>[`${e} Created`,`${e} Active`]),u=new WeakMap,l=new WeakMap;class c{static defaultProps={id:"undefined",handle:void 0,_isHandleBorrowed:!1,userData:void 0};toString(){return`${this[Symbol.toStringTag]||this.constructor.name}:"${this.id}"`}toJSON(){return this.toString()}id;props;userData={};_device;destroyed=!1;allocatedBytes=0;allocatedBytesName=null;_attachedResources=new Set;get ownsHandle(){return(void 0===this.props.handle||null===this.props.handle)&&!this.isHandleBorrowed}get isHandleBorrowed(){return!!this.props._isHandleBorrowed}constructor(e,t,n){if(!e)throw Error("no device");this._device=e,this.props=function(e,t){let r={...t};for(let t in e)void 0!==e[t]&&(r[t]=e[t]);return r}(t,n);const o="undefined"!==this.props.id?this.props.id:r(this[Symbol.toStringTag]);this.props.id=o,this.id=o,this.userData=this.props.userData||{},this.addStats()}destroy(){this.destroyed||this.destroyResource()}delete(){return this.destroy(),this}getProps(){return this.props}attachResource(e){this._attachedResources.add(e)}detachResource(e){this._attachedResources.delete(e)}destroyAttachedResource(e){this._attachedResources.delete(e)&&e.destroy()}destroyAttachedResources(){for(let e of this._attachedResources)e.destroy();this._attachedResources=new Set}destroyResource(){this.destroyed||(this.destroyAttachedResources(),this.removeStats(),this.destroyed=!0)}removeStats(){let e=d(this._device),t=e?p():0,r=[this._device.statsManager.getStats(n),this._device.statsManager.getStats(o)],s=m(this._device);for(let e of r)f(e,s);let i=this.getStatsName();for(let e of r)e.get("Resources Active").decrementCount(),e.get(`${i}s Active`).decrementCount();e&&(e.statsBookkeepingCalls=(e.statsBookkeepingCalls||0)+1,e.statsBookkeepingTimeMs=(e.statsBookkeepingTimeMs||0)+(p()-t))}trackAllocatedMemory(e,t=this.getStatsName()){let r=d(this._device),n=r?p():0,o=this._device.statsManager.getStats(s);this.allocatedBytes>0&&this.allocatedBytesName&&(o.get("GPU Memory").subtractCount(this.allocatedBytes),o.get(`${this.allocatedBytesName} Memory`).subtractCount(this.allocatedBytes)),o.get("GPU Memory").addCount(e),o.get(`${t} Memory`).addCount(e),r&&(r.statsBookkeepingCalls=(r.statsBookkeepingCalls||0)+1,r.statsBookkeepingTimeMs=(r.statsBookkeepingTimeMs||0)+(p()-n)),this.allocatedBytes=e,this.allocatedBytesName=t}trackReferencedMemory(e,t=this.getStatsName()){this.trackAllocatedMemory(e,`External ${t}`)}trackDeallocatedMemory(e=this.getStatsName()){if(0===this.allocatedBytes){this.allocatedBytesName=null;return}let t=d(this._device),r=t?p():0,n=this._device.statsManager.getStats(s);n.get("GPU Memory").subtractCount(this.allocatedBytes),n.get(`${this.allocatedBytesName||e} Memory`).subtractCount(this.allocatedBytes),t&&(t.statsBookkeepingCalls=(t.statsBookkeepingCalls||0)+1,t.statsBookkeepingTimeMs=(t.statsBookkeepingTimeMs||0)+(p()-r)),this.allocatedBytes=0,this.allocatedBytesName=null}trackDeallocatedReferencedMemory(e=this.getStatsName()){this.trackDeallocatedMemory(`Referenced ${e}`)}addStats(){let e=this.getStatsName(),t=d(this._device),r=t?p():0,s=[this._device.statsManager.getStats(n),this._device.statsManager.getStats(o)],i=m(this._device);for(let e of s)f(e,i);for(let t of s)t.get("Resources Created").incrementCount(),t.get("Resources Active").incrementCount(),t.get(`${e}s Created`).incrementCount(),t.get(`${e}s Active`).incrementCount();t&&(t.statsBookkeepingCalls=(t.statsBookkeepingCalls||0)+1,t.statsBookkeepingTimeMs=(t.statsBookkeepingTimeMs||0)+(p()-r)),function(e,t){let r=d(e);if(r&&r.activeDefaultFramebufferAcquireDepth)switch(r.transientCanvasResourceCreates=(r.transientCanvasResourceCreates||0)+1,t){case"Texture":r.transientCanvasTextureCreates=(r.transientCanvasTextureCreates||0)+1;break;case"TextureView":r.transientCanvasTextureViewCreates=(r.transientCanvasTextureViewCreates||0)+1;break;case"Sampler":r.transientCanvasSamplerCreates=(r.transientCanvasSamplerCreates||0)+1;break;case"Framebuffer":r.transientCanvasFramebufferCreates=(r.transientCanvasFramebufferCreates||0)+1}}(this._device,e)}getStatsName(){var e=this;let t=Object.getPrototypeOf(e);for(;t;){let r=Object.getPrototypeOf(t);if(!r||r===c.prototype)return function(e){let t=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag);
1return"function"==typeof t?.get?t.get.call(e):"string"==typeof t?.value?t.value:null}(t)||e[Symbol.toStringTag]||e.constructor.name;t=r}return e[Symbol.toStringTag]||e.constructor.name}}function f(e,t){let r=e.stats,n=!1;for(let o of t)r[o]||(e.get(o),n=!0);let o=Object.keys(r).length,s=u.get(e);if(!n&&s?.orderedStatNames===t&&s.statCount===o)return;let i={},a=l.get(t);for(let e of(a||(a=new Set(t),l.set(t,a)),t))r[e]&&(i[e]=r[e]);for(let[e,t]of Object.entries(r))a.has(e)||(i[e]=t);for(let e of Object.keys(r))delete r[e];Object.assign(r,i),u.set(e,{orderedStatNames:t,statCount:o})}function m(e){return"webgl"===e.type?a:i}function d(e){let t=e.userData["cpu-hotspot-profiler"];return t?.enabled?t:null}function p(){return globalThis.performance?.now?.()??Date.now()}e.s(["Resource",0,c],81905);class g extends c{static INDEX=16;static VERTEX=32;static UNIFORM=64;static STORAGE=128;static INDIRECT=256;static QUERY_RESOLVE=512;static MAP_READ=1;static MAP_WRITE=2;static COPY_SRC=4;static COPY_DST=8;get[Symbol.toStringTag](){return"Buffer"}usage;indexType;updateTimestamp;constructor(e,t){const r={...t};(t.usage||0)&g.INDEX&&!t.indexType&&(t.data instanceof Uint32Array?r.indexType="uint32":t.data instanceof Uint16Array?r.indexType="uint16":t.data instanceof Uint8Array&&(r.indexType="uint8")),delete r.data,super(e,r,g.defaultProps),this.usage=r.usage||0,this.indexType=r.indexType,this.updateTimestamp=e.incrementTimestamp()}clone(e){return this.device.createBuffer({...this.props,...e})}static DEBUG_DATA_MAX_LENGTH=32;debugData=new ArrayBuffer(0);_setDebugData(e,t,r){let n;if(!this.device.props.debug)return;let o=null;ArrayBuffer.isView(e)?(o=e,n=e.buffer):n=e;let s=Math.min(e?e.byteLength:r,g.DEBUG_DATA_MAX_LENGTH);if(null===n)this.debugData=new ArrayBuffer(s);else{let e=Math.min(o?.byteOffset||0,n.byteLength),t=Math.min(s,Math.max(0,n.byteLength-e));this.debugData=new Uint8Array(n,e,t).slice().buffer}}static defaultProps={...c.defaultProps,handle:void 0,usage:0,byteLength:0,byteOffset:0,data:null,indexType:"uint16",onMapped:void 0}}e.s(["Buffer",0,g],706145)},749494,e=>{"use strict";var t=e.i(81905);class r extends t.Resource{get[Symbol.toStringTag](){return"RenderPipeline"}shaderLayout;bufferLayout;linkStatus="pending";hash="";sharedRenderPipeline=null;get isPending(){return"pending"===this.linkStatus||"pending"===this.vs.compilationStatus||this.fs?.compilationStatus==="pending"}get isErrored(){return"error"===this.linkStatus||"error"===this.vs.compilationStatus||this.fs?.compilationStatus==="error"}constructor(e,t){super(e,t,r.defaultProps),this.shaderLayout=this.props.shaderLayout,this.bufferLayout=this.props.bufferLayout||[],this.sharedRenderPipeline=this.props._sharedRenderPipeline||null}static defaultProps={...t.Resource.defaultProps,vs:null,vertexEntryPoint:"vertexMain",vsConstants:{},fs:null,fragmentEntryPoint:"fragmentMain",fsConstants:{},shaderLayout:null,bufferLayout:[],topology:"triangle-list",colorAttachmentFormats:void 0,depthStencilAttachmentFormat:void 0,parameters:{},varyings:void 0,bufferMode:void 0,disableWarnings:!1,_sharedRenderPipeline:void 0,_uniformBlockLayouts:[],bindings:void 0,bindGroups:void 0}}e.s(["RenderPipeline",0,r])},145453,e=>{"use strict";var t=e.i(81905),r=e.i(912828),n=e.i(374366);function o(e,t,r,n){if(n?.inlineSource){let n=function(e,t){let r="";for(let n=t-2;n<=t;n++){let o=e[n-1];void 0!==o&&(r+=s(o,t,void 0))}return r}(t,r),o=e.linePos>0?`${" ".repeat(e.linePos+5)}^^^
2`:"";return`
3${n}${o}${e.type.toUpperCase()}: ${e.message}
4
5`}let o="error"===e.type?"red":"orange";return n?.html?`<div class='luma-compiler-log-${e.type}' style="color:${o};"><b> ${e.type.toUpperCase()}: ${e.message}</b></div>`:`${e.type.toUpperCase()}: ${e.message}`}function s(e,t,r){let n=r?.html?e.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#039;"):e;return`${function(e){let t="";for(let r=e.length;r<4;++r)t+=" ";return t+e}(String(t))}: ${n}${r?.html?"<br/>":"\n"}`}class i extends t.Resource{get[Symbol.toStringTag](){return"Shader"}stage;source;compilationStatus="pending";constructor(e,t){t={...t,debugShaders:t.debugShaders||e.props.debugShaders||"errors"},super(e,{id:function(e){return function(e,t="unnamed"){let r=/#define[\s*]SHADER_NAME[\s*]([A-Za-z0-9_-]+)[\s*]/.exec(e);return r?.[1]??t}(e.source)||e.id||(0,n.uid)(`unnamed ${e.stage}-shader`)}(t),...t},i.defaultProps),this.stage=this.props.stage,this.source=this.props.source}getCompilationInfoSync(){return null}getTranslatedSource(){return null}async debugShader(){let e=this.props.debugShaders;switch(e){case"never":return;case"errors":if("success"===this.compilationStatus)return}try{let t=await this.getCompilationInfo();if("warnings"===e&&t?.length===0)return;this._displayShaderLog(t,this.id)}catch(e){r.log.warn(`Shader ${this.id}: failed to fetch compilation info during debug logging`,e)()}}_displayShaderLog(e,t){if("u"<typeof document||!document?.createElement)return;let r=`${this.stage} shader "${t}"`,n=function(e,t,r){let n="",i=t.split(/\r?\n/),a=e.slice().sort((e,t)=>
5e.lineNum-t.lineNum);switch(r?.showSourceCode||"no"){case"all":let u=0;for(let e=1;e<=i.length;e++){let t=i[e-1],l=a[u];for(t&&l&&(n+=s(t,e,r));a.length>u&&l.lineNum===e;){let e=a[u++];e&&(n+=o(e,i,e.lineNum,{...r,inlineSource:!1}))}}for(;a.length>u;){let e=a[u++];e&&(n+=o(e,[],0,{...r,inlineSource:!1}))}return n;case"issues":case"no":for(let t of e)n+=o(t,i,t.lineNum,{inlineSource:r?.showSourceCode!=="no"});return n}}(e,this.source,{showSourceCode:"all",html:!0}),i=this.getTranslatedSource(),a=document.createElement("div");a.innerHTML=`\
6<h1>Compilation error in ${r}</h1>
7<div style="display:flex;position:fixed;top:10px;right:20px;gap:2px;">
8<button id="copy">Copy source</button><br/>
9<button id="close">Close</button>
10</div>
11<code><pre>${n}</pre></code>`,i&&(a.innerHTML+=`<br /><h1>Translated Source</h1><br /><br /><code><pre>${i}</pre></code>`),a.style.top="0",a.style.left="0",a.style.background="white",a.style.position="fixed",a.style.zIndex="9999",a.style.maxWidth="100vw",a.style.maxHeight="100vh",a.style.overflowY="auto",document.body.appendChild(a);let u=a.querySelector(".luma-compiler-log-error");u?.scrollIntoView(),a.querySelector("button#close").onclick=()=>{a.remove()},a.querySelector("button#copy").onclick=()=>{navigator.clipboard.writeText(this.source)}}static defaultProps={...t.Resource.defaultProps,language:"auto",stage:void 0,source:"",sourceMap:null,entryPoint:"main",debugShaders:void 0}}e.s(["Shader",0,i],145453)},69004,e=>{"use strict";var t=e.i(144135);let r=new class{getDataTypeInfo(e){return(0,t.getDataTypeInfo)(e)}getNormalizedDataType(e){return(0,t.getNormalizedDataType)(e)}alignTo(e,r){return(0,t.alignTo)(e,r)}getDataType(e){return(0,t.getDataType)(e)}getTypedArrayConstructor(e){return(0,t.getTypedArrayConstructor)(e)}};e.s(["dataTypeDecoder",0,r])},144135,e=>{"use strict";let t=globalThis.Float16Array;function r(e){let r=ArrayBuffer.isView(e)?e.constructor:e;if(t&&r===t)return"float16";if(r===Uint8ClampedArray)return"uint8";let n=Object.values(o).find(e=>r===e[4]);if(!n)throw Error(r.name);return n[0]}function n(e){if("float16"===e)return t??Uint16Array;let r=o[e];if(!r)throw Error(e);let[,,,,n]=r;return n}let o={uint8:["uint8","u32",1,!1,Uint8Array],sint8:["sint8","i32",1,!1,Int8Array],unorm8:["uint8","f32",1,!0,Uint8Array],snorm8:["sint8","f32",1,!0,Int8Array],uint16:["uint16","u32",2,!1,Uint16Array],sint16:["sint16","i32",2,!1,Int16Array],unorm16:["uint16","u32",2,!0,Uint16Array],snorm16:["sint16","i32",2,!0,Int16Array],float16:["float16","f16",2,!1,Uint16Array],float32:["float32","f32",4,!1,Float32Array],uint32:["uint32","u32",4,!1,Uint32Array],sint32:["sint32","i32",4,!1,Int32Array]};e.s(["alignTo",0,function(e,t){switch(t){case 1:return e;case 2:return e+e%2;default:return e+(4-e%4)%4}},"getDataType",0,function(e){return r(e)},"getDataTypeFromTypedArray",0,r,"getDataTypeInfo",0,function(e){let t=e.includes("norm"),r=!t&&!e.startsWith("float"),n=e.startsWith("s"),[s,i,a]=o[e]||["uint8 ","i32",1];return{signedType:s,primitiveType:i,byteLength:a,normalized:t,integer:r,signed:n}},"getNormalizedDataType",0,function(e){switch(e){case"uint8":return"unorm8";case"sint8":return"snorm8";case"uint16":return"unorm16";case"sint16":return"snorm16";default:return e}},"getTypedArrayConstructor",0,function(e){return n(e)},"getTypedArrayFromDataType",0,n],144135)},100058,553746,e=>{"use strict";let t;var r=e.i(144135),n=e.i(685251);function o(e,t){let o=(0,n.resolveVariableShaderTypeAlias)(e),s=(0,n.getVariableShaderTypeInfo)(o),i=/^mat(\d)x(\d)<.+>$/.exec(o);if(i){var u,l;let e=Number(i[1]),n=Number(i[2]),c=a(n,o,s.type,t),f=(u=c.size,l=c.alignment,"std140"===t?4:(0,r.alignTo)(u,l));return{alignment:c.alignment,size:e*f,components:e*n,columns:e,rows:n,columnStride:f,shaderType:o,type:s.type}}let c=/^vec(\d)<.+>$/.exec(o);return c?a(Number(c[1]),o,s.type,t):{alignment:1,size:1,components:1,columns:1,rows:1,columnStride:1,shaderType:o,type:s.type}}function s(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}function i(e,t){var r;if("string"==typeof e)return o(e,t).alignment;if(Array.isArray(e)){let r=i(e[0],t);return u(t)?Math.max(r,4):r}let n=1;for(let r of Object.values(e))n=Math.max(n,i(r,t));return"std140"===(r=t)||"wgsl-uniform"===r?Math.max(n,4):n}function a(e,t,r,n){return{alignment:2===e?2:4,size:3===e?3:e,components:e,columns:1,rows:e,columnStride:3===e?3:e,shaderType:t,type:r}}function u(e){return"std140"===e||"wgsl-uniform"===e}function l(e){return(!t||t.byteLength<e)&&(t=new ArrayBuffer(e)),t}e.s(["getLeafLayoutInfo",0,o,"isCompositeShaderTypeStruct",0,s,"makeShaderBlockLayout",0,function(e,t={}){let n={...e},a=t.layout??"std140",l={},c=0;for(let[e,t]of Object.entries(n))c=function e(t,n,a,l,c){if("string"==typeof a){let e=o(a,c),s=(0,r.alignTo)(l,e.alignment);return t[n]={offset:s,...e},s+e.size}if(Array.isArray(a)){if(Array.isArray(a[0]))throw Error(`Nested arrays are not supported for ${n}`);let s=a[0],f=a[1],m=function e(t,n){var s,a,l;
11return s=function t(n,s){if("string"==typeof n)return o(n,s).size;if(Array.isArray(n)){let t=n[0],r=n[1];if(Array.isArray(t))throw Error("Nested arrays are not supported");return e(t,s)*r}let a=0;for(let e of Object.values(n))a=(0,r.alignTo)(a,i(e,s))+t(e,s);return(0,r.alignTo)(a,i(n,s))}(t,n),a=i(t,n),l=n,(0,r.alignTo)(s,u(l)?4:a)}(s,c),d=(0,r.alignTo)(l,i(a,c));for(let r=0;r<f;r++)e(t,`${n}[${r}]`,s,d+r*m,c);return d+m*f}if(s(a)){let o=i(a,c),s=(0,r.alignTo)(l,o);for(let[r,o]of Object.entries(a))s=e(t,`${n}.${r}`,o,s,c);return(0,r.alignTo)(s,o)}throw Error(`Unsupported CompositeShaderType for ${n}`)}(l,e,t,c,a);return c=(0,r.alignTo)(c,i(n,a)),{layout:a,byteLength:4*c,uniformTypes:n,fields:l}}],100058),e.s(["getScratchArray",0,function(e,t){let r=l(e.BYTES_PER_ELEMENT*t);return new e(r,0,t)},"getScratchArrayBuffer",0,l],553746)},685251,e=>{"use strict";function t(e){let t=i[r(e)];if(!t)throw Error(`Unsupported variable shader type: ${e}`);return t}function r(e){return u[e]||e}let n=new class{getVariableShaderTypeInfo(e){return t(e)}getAttributeShaderTypeInfo(e){return function(e){var t;let r=s[a[t=e]||t];if(!r)throw Error(`Unsupported attribute shader type: ${e}`);let[n,i]=r,u=o[n]*i;return{primitiveType:n,components:i,byteLength:u,integer:"i32"===n||"u32"===n,signed:"u32"!==n}}(e)}makeShaderAttributeType(e,t){var r,n;return r=e,1===(n=t)?r:`vec${n}<${r}>`}resolveAttributeShaderTypeAlias(e){var t;return a[t=e]||t}resolveVariableShaderTypeAlias(e){return r(e)}},o={f32:4,f16:2,i32:4,u32:4},s={f32:["f32",1],"vec2<f32>":["f32",2],"vec3<f32>":["f32",3],"vec4<f32>":["f32",4],f16:["f16",1],"vec2<f16>":["f16",2],"vec3<f16>":["f16",3],"vec4<f16>":["f16",4],i32:["i32",1],"vec2<i32>":["i32",2],"vec3<i32>":["i32",3],"vec4<i32>":["i32",4],u32:["u32",1],"vec2<u32>":["u32",2],"vec3<u32>":["u32",3],"vec4<u32>":["u32",4]},i={f32:{type:"f32",components:1},f16:{type:"f16",components:1},i32:{type:"i32",components:1},u32:{type:"u32",components:1},"vec2<f32>":{type:"f32",components:2},"vec3<f32>":{type:"f32",components:3},"vec4<f32>":{type:"f32",components:4},"vec2<f16>":{type:"f16",components:2},"vec3<f16>":{type:"f16",components:3},"vec4<f16>":{type:"f16",components:4},"vec2<i32>":{type:"i32",components:2},"vec3<i32>":{type:"i32",components:3},"vec4<i32>":{type:"i32",components:4},"vec2<u32>":{type:"u32",components:2},"vec3<u32>":{type:"u32",components:3},"vec4<u32>":{type:"u32",components:4},"mat2x2<f32>":{type:"f32",components:4},"mat2x3<f32>":{type:"f32",components:6},"mat2x4<f32>":{type:"f32",components:8},"mat3x2<f32>":{type:"f32",components:6},"mat3x3<f32>":{type:"f32",components:9},"mat3x4<f32>":{type:"f32",components:12},"mat4x2<f32>":{type:"f32",components:8},"mat4x3<f32>":{type:"f32",components:12},"mat4x4<f32>":{type:"f32",components:16},"mat2x2<f16>":{type:"f16",components:4},"mat2x3<f16>":{type:"f16",components:6},"mat2x4<f16>":{type:"f16",components:8},"mat3x2<f16>":{type:"f16",components:6},"mat3x3<f16>":{type:"f16",components:9},"mat3x4<f16>":{type:"f16",components:12},"mat4x2<f16>":{type:"f16",components:8},"mat4x3<f16>":{type:"f16",components:12},"mat4x4<f16>":{type:"f16",components:16},"mat2x2<i32>":{type:"i32",components:4},"mat2x3<i32>":{type:"i32",components:6},"mat2x4<i32>":{type:"i32",components:8},"mat3x2<i32>":{type:"i32",components:6},"mat3x3<i32>":{type:"i32",components:9},"mat3x4<i32>":{type:"i32",components:12},"mat4x2<i32>":{type:"i32",components:8},"mat4x3<i32>":{type:"i32",components:12},"mat4x4<i32>":{type:"i32",components:16},"mat2x2<u32>":{type:"u32",components:4},"mat2x3<u32>":{type:"u32",components:6},"mat2x4<u32>":{type:"u32",components:8},"mat3x2<u32>":{type:"u32",components:6},"mat3x3<u32>":{type:"u32",components:9},"mat3x4<u32>":{type:"u32",components:12},"mat4x2<u32>":{type:"u32",components:8},"mat4x3<u32>":{type:"u32",components:12},"mat4x4<u32>":{type:"u32",components:16}},a={vec2i:"vec2<i32>",vec3i:"vec3<i32>",vec4i:"vec4<i32>",vec2u:"vec2<u32>",vec3u:"vec3<u32>",vec4u:"vec4<u32>",vec2f:"vec2<f32>",vec3f:"vec3<f32>",vec4f:"vec4<f32>",vec2h:"vec2<f16>",vec3h:"vec3<f16>",vec4h:"vec4<f16>"},u={vec2i:"vec2<i32>",vec3i:"vec3<i32>",vec4i:"vec4<i32>",vec2u:"vec2<u32>",vec3u:"vec3<u32>",vec4u:"vec4<u32>
11",vec2f:"vec2<f32>",vec3f:"vec3<f32>",vec4f:"vec4<f32>",vec2h:"vec2<f16>",vec3h:"vec3<f16>",vec4h:"vec4<f16>",mat2x2f:"mat2x2<f32>",mat2x3f:"mat2x3<f32>",mat2x4f:"mat2x4<f32>",mat3x2f:"mat3x2<f32>",mat3x3f:"mat3x3<f32>",mat3x4f:"mat3x4<f32>",mat4x2f:"mat4x2<f32>",mat4x3f:"mat4x3<f32>",mat4x4f:"mat4x4<f32>",mat2x2i:"mat2x2<i32>",mat2x3i:"mat2x3<i32>",mat2x4i:"mat2x4<i32>",mat3x2i:"mat3x2<i32>",mat3x3i:"mat3x3<i32>",mat3x4i:"mat3x4<i32>",mat4x2i:"mat4x2<i32>",mat4x3i:"mat4x3<i32>",mat4x4i:"mat4x4<i32>",mat2x2u:"mat2x2<u32>",mat2x3u:"mat2x3<u32>",mat2x4u:"mat2x4<u32>",mat3x2u:"mat3x2<u32>",mat3x3u:"mat3x3<u32>",mat3x4u:"mat3x4<u32>",mat4x2u:"mat4x2<u32>",mat4x3u:"mat4x3<u32>",mat4x4u:"mat4x4<u32>",mat2x2h:"mat2x2<f16>",mat2x3h:"mat2x3<f16>",mat2x4h:"mat2x4<f16>",mat3x2h:"mat3x2<f16>",mat3x3h:"mat3x3<f16>",mat3x4h:"mat3x4<f16>",mat4x2h:"mat4x2<f16>",mat4x3h:"mat4x3<f16>",mat4x4h:"mat4x4<f16>"};e.s(["getVariableShaderTypeInfo",0,t,"resolveVariableShaderTypeAlias",0,r,"shaderTypeDecoder",0,n])},3311,e=>{"use strict";var t=e.i(69004);let r=new class{getVertexFormatInfo(e){let r,n;if("unorm10-10-10-2"===e)return{type:"unorm8",components:4,byteLength:4,integer:!1,signed:!1,normalized:!0};let o="unorm8x4-bgra"===e?"unorm8x4":e;o.endsWith("-webgl")&&(o=o.slice(0,-6),r=!0);let s=o.split("x");if(s.length>2)throw Error(`Unsupported vertex format: ${e}`);let[i,a]=s,u=function(e,t){if(!t)return 1;let r=Number(t);if(2===r||3===r||4===r)return r;throw Error(`Unsupported vertex format: ${e}`)}(e,a),l=function(e,r){try{return t.dataTypeDecoder.getDataTypeInfo(r)}catch{throw Error(`Unsupported vertex format: ${e}`)}}(e,i);try{n=r?function(e,t,r){if(3!==r)throw Error(`Unsupported vertex format: ${e}`);switch(t){case"uint8":case"sint8":case"unorm8":case"snorm8":case"uint16":case"sint16":case"unorm16":case"snorm16":return`${t}x3-webgl`;default:throw Error(`Unsupported vertex format: ${e}`)}}(e,i,u):this.makeVertexFormat(l.signedType,u,l.normalized)}catch{throw Error(`Unsupported vertex format: ${e}`)}if(n!==(r?e:o))throw Error(`Unsupported vertex format: ${e}`);let c={type:i,components:u,byteLength:l.byteLength*u,integer:l.integer,signed:l.signed,normalized:l.normalized};return r&&(c.webglOnly=!0),c}makeVertexFormat(e,r,n){let o=n?t.dataTypeDecoder.getNormalizedDataType(e):e;switch(o){case"unorm8":if(1===r)return"unorm8";if(3===r)return"unorm8x3-webgl";return`${o}x${r}`;case"snorm8":if(1===r)return"snorm8";if(3===r)return"snorm8x3-webgl";return`${o}x${r}`;case"uint8":case"sint8":case"float16":if(3===r)throw Error(`size: ${r}`);return 1===r?o:`${o}x${r}`;case"uint16":if(1===r)return"uint16";if(3===r)return"uint16x3-webgl";return`${o}x${r}`;case"sint16":if(1===r)return"sint16";if(3===r)return"sint16x3-webgl";return`${o}x${r}`;case"unorm16":if(1===r)return"unorm16";if(3===r)return"unorm16x3-webgl";return`${o}x${r}`;case"snorm16":if(1===r)return"snorm16";if(3===r)return"snorm16x3-webgl";return`${o}x${r}`;default:return 1===r?o:`${o}x${r}`}}getVertexFormatFromAttribute(e,r,n){if(!r||r>4)throw Error(`size ${r}`);let o=t.dataTypeDecoder.getDataType(e);return this.makeVertexFormat(o,r,n)}getCompatibleVertexFormat(e){let t;switch(e.primitiveType){case"f32":t="float32";break;case"i32":t="sint32";break;case"u32":t="uint32";break;case"f16":return e.components<=2?"float16x2":"float16x4"}return 1===e.components?t:`${t}x${e.components}`}};e.s(["vertexFormatDecoder",0,r])},652349,e=>{"use strict";function t(e,r){if(!e){let e=Error(r??"luma.gl assertion failed.");throw Error.captureStackTrace?.(e,t),e}}e.s(["assert",0,t,"assertDefined",0,function(e,r){return t(e,r),e}])},912828,119045,740021,799037,25350,e=>{"use strict";let t="4.1.2";var r,n,o=e.i(247167);function s(){return"object"==typeof o.default&&"[object process]"===String(o.default),!0}function i(e,t){if(!e)throw Error(t||"Assertion failed")}function a(e){let t;if(!e)return 0;switch(typeof e){case"number":t=e;break;case"object":t=e.logLevel||e.priority||0;break;default:return 0}return i(Number.isFinite(t)&&t>=0),t}e.s(["isElectron",0,function(e){if("u">typeof window&&window.process?.type==="renderer"||void 0!==o.default&&o.default.versions?.electron)return!0;let t="u">typeof navigator&&navigator.userAgent,r=e||t;return!!(r&&r.indexOf("Electron")>=0)}],119045),e.s(["isBrowser",0,s],740021);let u=()=>{};class l{constructor({level:e=0}={}){this.userData={},this._onceCache=new Set,this._level=e}set level(e){this.setLevel(e)}get level(){return this.getLevel()}setLevel(e){return this._level=e,this}getLevel(){return this._level}warn(e,...t){return this._log("warn",0,e,t,{once:!0})}error(e,...t){return this._log("error",0,e,t)}log(e,t,...r){return this._log("log",e,t,r)}info(e,t,...r){return this._log("info",e,t,r)}once(e,t,...r){return this._log("once",e,t,r,{once:!0})}_log(e,t,r,n,o={}){let s=function(e){let{logLevel:t,message:r}=e;e.logLevel=a(t);let n=e.args?Array.from(e.args):[];for(;n.length&&n.shift()!==r;);switch(typeof t){case"string":case"function":void 0!==r&&n.unshift(r),e.message=t;break;case"object":Object.assign(e,t)}"function"==typeof e.message&&(e.message=e.message());let o=typeof e.message;
11return i("string"===o||"object"===o),Object.assign(e,{args:n},e.opts)}({logLevel:t,message:r,args:this._buildArgs(t,r,n),opts:o});return this._createLogFunction(e,s,o)}_buildArgs(e,t,r){return[e,t,...r]}_createLogFunction(e,t,r){if(!this._shouldLog(t.logLevel))return u;let n=this._getOnceTag(r.tag??t.tag??t.message);if((r.once||t.once)&&void 0!==n){if(this._onceCache.has(n))return u;this._onceCache.add(n)}return this._emit(e,t)}_shouldLog(e){return this.getLevel()>=a(e)}_getOnceTag(e){if(void 0!==e)try{return"string"==typeof e?e:String(e)}catch{return}}}class c{constructor(e,t,r="sessionStorage"){this.storage=function(e){try{let t=window[e],r="__storage_test__";return t.setItem(r,r),t.removeItem(r),t}catch(e){return null}}(r),this.id=e,this.config=t,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){let e=JSON.stringify(this.config);this.storage.setItem(this.id,e)}}_loadConfiguration(){let e={};if(this.storage){let t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}function f(e){return"string"!=typeof e?e:n[e=e.toUpperCase()]||n.WHITE}(r=n||(n={}))[r.BLACK=30]="BLACK",r[r.RED=31]="RED",r[r.GREEN=32]="GREEN",r[r.YELLOW=33]="YELLOW",r[r.BLUE=34]="BLUE",r[r.MAGENTA=35]="MAGENTA",r[r.CYAN=36]="CYAN",r[r.WHITE=37]="WHITE",r[r.BRIGHT_BLACK=90]="BRIGHT_BLACK",r[r.BRIGHT_RED=91]="BRIGHT_RED",r[r.BRIGHT_GREEN=92]="BRIGHT_GREEN",r[r.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",r[r.BRIGHT_BLUE=94]="BRIGHT_BLUE",r[r.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",r[r.BRIGHT_CYAN=96]="BRIGHT_CYAN",r[r.BRIGHT_WHITE=97]="BRIGHT_WHITE";let m=globalThis,d=globalThis.process||{},p=globalThis.navigator||{};e.s(["navigator",0,p,"process",0,d,"window",0,m],799037);class g{getHighResolutionTimer(){let e;if(s()&&m.performance)e=m?.performance?.now?.();else if("hrtime"in d){let t=d?.hrtime?.();e=1e3*t[0]+t[1]/1e6}else e=Date.now();return e}getMemoryUsageMB(){let e=m?.performance,t=e?.memory?.usedJSHeapSize;return null==t?null:Math.trunc(t/1024/1024)}}let h=new g;globalThis.Probe=g,globalThis.probe=h;let y={debug:s()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},v={enabled:!0,level:0};class x extends l{constructor({id:e}={id:""}){super({level:0}),this.VERSION=t,this._startTs=h.getHighResolutionTimer(),this._deltaTs=h.getHighResolutionTimer(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new c(`__probe-${this.id}__`,{[this.id]:v}),this.timeStamp(`${this.id} started`),function(e,t=["constructor"]){for(let r of Object.getOwnPropertyNames(Object.getPrototypeOf(e))){let n=e[r];"function"!=typeof n||t.find(e=>r===e)||(e[r]=n.bind(e))}}(this),Object.seal(this)}isEnabled(){return this._getConfiguration().enabled}getLevel(){return this._getConfiguration().level}getTotal(){return Number((h.getHighResolutionTimer()-this._startTs).toPrecision(10))}getDelta(){return Number((h.getHighResolutionTimer()-this._deltaTs).toPrecision(10))}set priority(e){this.level=e}get priority(){return this.level}getPriority(){return this.level}enable(e=!0){return this._updateConfiguration({enabled:e}),this}setLevel(e){return this._updateConfiguration({level:e}),this}get(e){return this._getConfiguration()[e]}set(e,t){this._updateConfiguration({[e]:t})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,t){if(!e)throw Error(t||"Assertion failed")}warn(e,...t){return this._log("warn",0,e,t,{method:y.warn,once:!0})}error(e,...t){return this._log("error",0,e,t,{method:y.error})}deprecated(e,t){return this.warn(`\`${e}\` is deprecated and will be removed \
12in a later version. Use \`${t}\` instead`)}removed(e,t){return this.error(`\`${e}\` has been removed. Use \`${t}\` instead`)}probe(e,t,...r){let n=h.getMemoryUsageMB();if(null!==n){let e=`${n}MB `;"function"==typeof t?t=()=>`${e}${t()}`:"string"==typeof t&&(t=`${e}${t}`)}return this._log("log",e,t,r,{method:y.log,time:!0,once:!0})}log(e,t,...r){return this._log("log",e,t,r,{method:y.debug})}info(e,t,...r){return this._log("info",e,t,r,{method:console.info})}once(e,t,...r){return this._log("once",e,t,r,{method:y.debug||y.info,once:!0})}table(e,t,r){return t?this._log("table",e,t,r&&[r]||[],{method:console.table||u,tag:function(e){for(let t in e)for(let r in e[t])return r||"untitled";return"empty"}(t)}):u}time(e,t){return this._log("time",e,t,[],{method:console.time?console.time:console.info})}timeEnd(e,t){return this._log("time",e,t,[],{method:console.timeEnd?console.timeEnd:console.info})}timeStamp(e,t){return this._log("time",e,t,[],{method:console.timeStamp||u})}group(e,t,r={collapsed:!1}){let n=(r.collapsed?console.groupCollapsed:console.group)||console.info;return this._log("group",e,t,[],{method:n})}groupCollapsed(e,t,r={}){return this.group(e,t,Object.assign({},r,{collapsed:!0}))}groupEnd(e){return this._log("groupEnd",e,"",[],{method:console.groupEnd||u})}withGroup(e,t,r){this.group(e,t)();try{r()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&super._shouldLog(e)}_emit(e,t){let r=t.method;i(r),t.total=this.getTotal(),t.delta=this.getDelta(),this._deltaTs=h.getHighResolutionTimer();let n=function(e,t,r){if("string"==typeof t){var n;let o=r.time?function(e,t=8){let r=Math.max(t-e.length,0);return`${" ".repeat(r)}${e}`}((n=r.total)<10?`${n.toFixed(2)}ms`:n<100?`${n.toFixed(1)}ms`:n<1e3?`${n.toFixed(0)}ms`:`${(n/1e3).toFixed(2)}s`):"";t=function(e,t,r){if(!s&&"string"==typeof e){if(t){let r=f(t);e=`\u001b[${r}m${e}\u001b[39m`}if(r){let t=f(r);e=`\u001b[${t+10}m${e}\u001b[49m`}}return e}(t=r.time?`${e}: ${o}  ${t}`:`${e}: ${t}`,r.color,r.background)}return t}(this.id,t.message,t);return r.bind(console,n,...t.args)}_getConfiguration(){return this._storage.config[this.id]||this._updateConfiguration(v),this._storage.config[this.id]}_updateConfiguration(e){let t=this._storage.config[this.id]||{...v};this._storage.setConfiguration({[this.id]:{...t,...e}})}}x.VERSION=t,e.s(["Log",0,x],25350);let b=new x({id:"luma.gl"});e.s(["log",0,b],912828)}]);

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.