(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-665281f1"],{"536f":function(e,t,a){"use strict";function r(e,t){return t?"xoffset"in t&&t.xoffset?Math.max(e,Math.abs(t.xoffset)):"yoffset"in t&&t.yoffset?Math.max(e,Math.abs(t.yoffset||0)):e:e}function i(e){let t=0,a=0;for(let r=0;r"size"===e.type).map(t=>{const{maxSize:a,minSize:r}=t;return(n(a,e)+n(r,e))/2});let r=0;const i=a.length;if(0===i)return e;for(let n=0;n{e=r(e,t.symbol)}),e}if("class-breaks"===t.type){let e=i;return t.classBreakInfos.forEach(t=>{e=r(e,t.symbol)}),e}return t.type,i}a.d(t,"a",(function(){return o}))},"537c":function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var r=a("a4ee"),i=a("ce50"),n=a("b2b2"),s=a("f4cc"),o=a("59b2"),c=(a("b50f"),a("c120"),a("cea0"),a("d386")),l=a("22f4"),u=a("70ce"),d=a("536f"),h=a("82fa"),p=a("ad73"),b=a("f353");const m=e=>{let t=class extends e{initialize(){this.exportImageParameters=new u["a"]({layer:this.layer})}destroy(){this.exportImageParameters.destroy(),this.exportImageParameters=null}get exportImageVersion(){var e;return null==(e=this.exportImageParameters)||e.commitProperty("version"),this.commitProperty("timeExtent"),(this._get("exportImageVersion")||0)+1}async fetchPopupFeatures(e,t){const{layer:a}=this;if(!e)return Promise.reject(new i["a"]("mapimagelayerview:fetchPopupFeatures","Nothing to fetch without area",{layer:a}));const r=this.get("view.scale"),o=[],c=async e=>{const a=0===e.minScale||r<=e.minScale,i=0===e.maxScale||r>=e.maxScale;if(e.visible&&a&&i)if(e.sublayers)e.sublayers.forEach(c);else if(e.popupEnabled){const a=Object(p["a"])(e,{...t,defaultPopupTemplateEnabled:!1});Object(n["k"])(a)&&o.unshift({sublayer:e,popupTemplate:a})}},l=a.sublayers.toArray().reverse().map(c);await Promise.all(l);const u=o.map(async({sublayer:a,popupTemplate:r})=>{await a.load().catch(()=>{});const i=a.createQuery(),s=Object(n["k"])(t)?t.event:null,o=Object(d["a"])({renderer:a.renderer,event:s}),c=this.createFetchPopupFeaturesQueryGeometry(e,o);if(i.geometry=c,i.outFields=await Object(p["b"])(a,r),"map-image"===this.layer.type&&"floors"in this.view){var l,u;const e=null==(l=this.view)||null==(u=l.floors)?void 0:u.clone(),t=Object(b["c"])(e,a);Object(n["k"])(t)&&(i.where=i.where?`(${i.where}) AND (${t})`:t)}const h=await this._loadArcadeModules(r);return h&&h.arcadeUtils.hasGeometryOperations(r)||(i.maxAllowableOffset=c.width/o),(await a.queryFeatures(i)).features});return(await Object(s["j"])(u)).reduce((e,t)=>t.value?[...e,...t.value]:e,[]).filter(e=>null!=e)}canResume(){var e;return!!super.canResume()&&(null==(e=this.timeExtent)||!e.isEmpty)}_loadArcadeModules(e){if(e.get("expressionInfos.length")||Array.isArray(e.content)&&e.content.some(e=>"expression"===e.type))return Object(h["e"])()}};return Object(r["a"])([Object(o["b"])()],t.prototype,"exportImageParameters",void 0),Object(r["a"])([Object(o["b"])({readOnly:!0})],t.prototype,"exportImageVersion",null),Object(r["a"])([Object(o["b"])()],t.prototype,"layer",void 0),Object(r["a"])([Object(o["b"])()],t.prototype,"suspended",void 0),Object(r["a"])([Object(o["b"])(l["a"])],t.prototype,"timeExtent",void 0),t=Object(r["a"])([Object(c["a"])("esri.views.layers.MapImageLayerView")],t),t}},"6c7a":function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var r=a("a4ee"),i=a("e92d"),n=a("f4cc"),s=a("477c"),o=a("59b2"),c=(a("b50f"),a("c120"),a("cea0"),a("d386"));const l=e=>{let t=class extends e{initialize(){this.handles.add(Object(s["b"])(()=>this.layer,"refresh",e=>{this.doRefresh(e.dataChanged).catch(e=>{Object(n["m"])(e)||i["a"].getLogger(this.declaredClass).error(e)})}),"RefreshableLayerView")}};return Object(r["a"])([Object(o["b"])()],t.prototype,"layer",void 0),t=Object(r["a"])([Object(c["a"])("esri.layers.mixins.RefreshableLayerView")],t),t}},"843f":function(e,t,a){"use strict";a.d(t,"a",(function(){return L}));var r=a("a4ee"),i=a("792b"),n=a("e92d"),s=a("b2b2"),o=a("f4cc"),c=a("3795"),l=a("59b2"),u=(a("b50f"),a("c120"),a("cea0"),a("d386")),d=a("3af1"),h=a("9180"),p=a("648c"),b=a("66af"),m=a("0278"),f=a("caf7"),g=a("b7bd");function y(e,t,a){const r=Object(h["C"])(e)/Object(h["u"])(e),i={width:a,height:a};return r>1.0001?i.height=a/r:r<.9999&&(i.width=a*r),i.width=Math.round(i.width/(Object(h["C"])(e)/Object(h["C"])(t))),i.height=Math.round(i.height/(Object(h["u"])(e)/Object(h["u"])(t))),i}function O(e){return f["a"].createSquareGeometry([[e[0],e[1],-1],[e[2],e[1],-1],[e[2],e[3],-1],[e[0],e[3],-1]])}function v(e,t){if(!Object(h["w"])(e,t))return O(t);const a=[e[1]-t[1],Math.min(e[3],t[3])-Math.max(e[1],t[1]),t[3]-e[3],123456],r=[e[0]-t[0],Math.min(e[2],t[2])-Math.max(e[0],t[0]),t[2]-e[2],123456],i=t[2]-t[0],n=t[3]-t[1],s=r[0]>0&&r[2]>0?3:2,o=a[0]>0&&a[2]>0?3:2,c=(o+1)*(s+1),l=new Float64Array(3*c),u=new Float32Array(2*c),d=new Uint32Array(6*(o*s-1));let p=0,b=0,f=0,y=0,v=0;for(let h=0;h<4;h++){const e=a[h];if(e<=0)continue;let o=0;for(let a=0;a<4;a++){const e=r[a];e<=0||(l[b++]=t[0]+o,l[b++]=t[1]+p,l[b++]=-1,u[f++]=o/i,u[f++]=p/n,a<3&&h<3&&(1!==a||1!==h)&&(d[v++]=y,d[v++]=y+1,d[v++]=y+s+1,d[v++]=y+1,d[v++]=y+s+2,d[v++]=y+s+1),y++,o+=e)}p+=e}const x=new Uint32Array(d.length);return new m["a"]([[g["a"].POSITION,{size:3,data:l,exclusive:!0}],[g["a"].NORMAL,{size:3,data:j,exclusive:!0}],[g["a"].UV0,{size:2,data:u,exclusive:!0}]],[[g["a"].POSITION,d],[g["a"].NORMAL,x],[g["a"].UV0,d]])}const j=[0,0,1];var x=a("eec2"),w=a("6611"),_=a("9b8b"),E=a("b7c2"),P=a("3bd5"),T=a("6061"),A=a("1e2c"),R=a("ad96"),C=a("365a"),I=a("6c7a"),S=a("5e70"),M=a("d17d");const D=n["a"].getLogger("esri.views.3d.layers.DynamicLayerView3D");let F=class extends(Object(I["a"])(Object(b["a"])(C["a"]))){constructor(){super(...arguments),this.drapeSourceType=p["b"].RasterImage,this.updatePolicy=E["m"].SYNC,this.fullExtentInLocalViewSpatialReference=null,this.maximumDataResolution=null,this._images=new Array,this._extents=new Array,this._overlays=new Array,this.updateWhenStationary=!0,this.refreshDebounced=Object(o["i"])(async e=>{this.destroyed||await this._doRefresh(e).catch(e=>{Object(o["m"])(e)||n["a"].getLogger(this.declaredClass).error(e)})},2e3)}initialize(){this.addResolvingPromise(Object(x["a"])(this).then(e=>this._set("fullExtentInLocalViewSpatialReference",e))),this.updatingHandles.add(()=>this.suspended,()=>this._suspendedChangeHandler()),this.handles.add(this.view.resourceController.scheduler.registerIdleStateCallbacks(()=>{this._isScaleRangeActive()&&this.notifyChange("suspended")},()=>{})),this._isScaleRangeLayer()&&this.updatingHandles.add(()=>this.layer.effectiveScaleRange,()=>this.notifyChange("suspended"))}destroy(){this.clear()}setDrapingExtent(e,t){this._spatialReference=t,e.forEach(e=>{this._overlays[e.index]=e,this._updateImageExtent(e)})}_updateImageExtent(e){const t=this._clippedExtent(e.extent,N);if(Object(s["j"])(t))return;const a=y(e.extent,t,e.resolution);let r=e.pixelRatio*this.view.pixelRatio;if("imageMaxWidth"in this.layer||"imageMaxHeight"in this.layer){const e=this.layer.imageMaxWidth,t=this.layer.imageMaxHeight;if(a.width>e){const t=e/a.width;a.height=Math.floor(a.height*t),a.width=e,r*=t}if(a.height>t){const e=t/a.height;a.width=Math.floor(a.width*e),a.height=t,r*=e}}const i=this._extents[e.index];i&&Object(h["o"])(i.extent,t)&&this._imageSizeEquals(t,i.imageSize,a)||(this._extents[e.index]={extent:Object(h["l"])(t),imageSize:a,pixelRatio:r},this.suspended||this._fetch(e.index).catch(e=>{Object(o["m"])(e)||D.error(e)}))}clear(){for(let e=0;e0&&r>t)return!1}return!0}isUpdating(){return this._images.some(e=>!!e.loadingPromise)}async processResult(e,t,a){(t instanceof HTMLImageElement||t instanceof HTMLCanvasElement)&&(e.image=t)}findExtentInfoAt(e){for(const t of this._extents){const a=t.extent;if(new d["a"](a[0],a[1],a[2],a[3],this._spatialReference).contains(e))return t}return null}getFetchOptions(){}async redraw(e,t){await Object(i["b"])(this._images,async(a,r)=>{a&&(await e(a,t),await this._createStageObjects(r,a.image,t))})}_imageSizeEquals(e,t,a){if(!this.maximumDataResolution)return!1;const r=Object(h["C"])(e)/this.maximumDataResolution.x,i=Object(h["u"])(e)/this.maximumDataResolution.y,n=r/t.width,s=i/t.height,o=r/a.width,c=i/a.height,l=Math.abs(n-o),u=Math.abs(s-c),d=w["a"].TESTS_DISABLE_OPTIMIZATIONS?0:1.5;return l<=d&&u<=d}async _fetch(e,t){if(this.suspended)return;const a=this._extents[e],r=a.extent;this._images[e]||(this._images[e]={texture:null,material:null,renderGeometry:null,loadingPromise:null,loadingAbortController:null,image:null,pixelData:null,renderExtent:Object(h["l"])(r)});const i=this._images[e];i.loadingAbortController&&(i.loadingAbortController.abort(),i.loadingAbortController=null);const n=new d["a"](r[0],r[1],r[2],r[3],this._spatialReference);if(0===n.width||0===n.height)return void this._clearImage(e);const s=new AbortController;i.loadingAbortController=s,Object(o["q"])(t,()=>s.abort());const c=s.signal,l=this._waitFetchReady(c).then(()=>{const t={requestAsImageElement:!0,pixelRatio:this._overlays[e].pixelRatio,...this.getFetchOptions(),signal:c},{height:r,width:i}=a.imageSize;return this.layer.fetchImage(n,i,r,t)}).then(e=>{if(Object(o["n"])(c))throw D.warnOnce("A call to fetchImage resolved even though the request was aborted. fetchImage should not resolve if options.signal.aborted is true."),Object(o["e"])();return this.processResult(i,e)}).then(()=>Object(h["k"])(i.renderExtent,r));i.loadingPromise=l,Object(o["c"])(l,()=>{l===i.loadingPromise&&(i.loadingPromise=null,i.loadingAbortController=null)}),this.notifyChange("updating"),await l.then(async()=>{if(c.aborted)throw Object(o["e"])();await this._createStageObjects(e,i.image,c),this.notifyChange("updating")}).catch(e=>{throw e&&!Object(o["m"])(e)&&D.error(e),this.notifyChange("updating"),e})}_clearImage(e){const t=this._images[e];if(t){Object(s["k"])(t.renderGeometry)&&(this.view.basemapTerrain.overlayManager.renderer.removeGeometries([t.renderGeometry],this,P["a"].Geometry.UPDATE),t.renderGeometry=null);const e=this.view._stage;e.remove(t.texture),t.texture=null,e.remove(t.material),t.material=null,t.loadingAbortController&&(t.loadingAbortController.abort(),t.loadingAbortController=null),t.loadingPromise=null,t.image=null,t.pixelData=null}}async _createStageObjects(e,t,a){const r=this.view._stage,n=this._images[e],c=this.view.basemapTerrain.overlayManager.renderer,l=()=>{r.remove(n.texture),n.texture=null,Object(s["k"])(n.renderGeometry)&&(c.removeGeometries([n.renderGeometry],this,P["a"].Geometry.UPDATE),n.renderGeometry=null)};if(t){const u=new A["a"](t,{width:t.width,height:t.height,preMultiplyAlpha:!0,wrap:{s:M["B"].CLAMP_TO_EDGE,t:M["B"].CLAMP_TO_EDGE}});let d;if(await Object(i["d"])(this._images[e===_["b"].INNER?_["b"].OUTER:_["b"].INNER].loadingPromise),Object(o["v"])(a),e===_["b"].INNER)d=O(n.renderExtent);else{const e=this._images[0].renderExtent;if(!e)return void l();d=v(e,n.renderExtent)}l(),r.add(u),await r.loadImmediate(u),n.texture=u,Object(s["j"])(n.material)?(n.material=new R["a"]({transparent:!0,textureId:u.id}),r.add(n.material)):n.material.setParameters({textureId:u.id}),n.renderGeometry=new T["a"](d,n.material),n.renderGeometry.origin=this._overlays[e].renderLocalOrigin,c.addGeometries([n.renderGeometry],this,P["a"].Geometry.UPDATE)}else l(),r.remove(n.material),n.material=null}_isScaleRangeLayer(){return"effectiveScaleRange"in this.layer}_isScaleRangeActive(){const e=this.layer;if(!this._isScaleRangeLayer())return!1;const{minScale:t,maxScale:a}=e.effectiveScaleRange;return Object(S["c"])(t,a)}_clippedExtent(e,t){if("local"!==this.view.viewingMode)return Object(h["k"])(t,e);const a=this.view.basemapTerrain;return a.ready?Object(h["v"])(e,a.extent,t):Object(h["k"])(t,e)}_suspendedChangeHandler(){this.suspended?this.clear():this.refreshDebounced()}async _waitFetchReady(e){await Object(c["j"])(this.view,"stationary",e),Object(o["v"])(e)}};Object(r["a"])([Object(l["b"])()],F.prototype,"layer",void 0),Object(r["a"])([Object(l["b"])()],F.prototype,"suspended",void 0),Object(r["a"])([Object(l["b"])({readOnly:!0})],F.prototype,"fullExtentInLocalViewSpatialReference",void 0),Object(r["a"])([Object(l["b"])()],F.prototype,"updating",void 0),F=Object(r["a"])([Object(u["a"])("esri.views.3d.layers.DynamicLayerView3D")],F);const L=F,N=Object(h["l"])()},"997a":function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return l}));var r=a("a4ee"),i=(a("e92d"),a("cea0"),a("b50f"),a("c120"),a("2dd4"),a("d386")),n=a("843f"),s=a("537c"),o=a("e94b");let c=class extends(Object(s["a"])(n["a"])){constructor(){super(...arguments),this.type="map-image-3d"}initialize(){this.updatingHandles.add(()=>this.exportImageVersion,()=>this.updatingHandles.addPromise(this.refreshDebounced()))}createFetchPopupFeaturesQueryGeometry(e,t){return Object(o["a"])(e,t,this.view)}getFetchOptions(){return{timeExtent:this.timeExtent}}};c=Object(r["a"])([Object(i["a"])("esri.views.3d.layers.MapImageLayerView3D")],c);const l=c},ad73:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return n}));var r=a("b2b2"),i=a("c1da");async function n(e,t=e.popupTemplate){if(!Object(r["k"])(t))return[];const a=await t.getRequiredFields(e.fieldsIndex),{lastEditInfoEnabled:n}=t,{objectIdField:s,typeIdField:o,globalIdField:c,relationships:l}=e;if(a.includes("*"))return["*"];const u=n?await Object(i["n"])(e):[],d=Object(i["j"])(e.fieldsIndex,[...a,...u]);return o&&d.push(o),d&&s&&e.fieldsIndex.has(s)&&-1===d.indexOf(s)&&d.push(s),d&&c&&e.fieldsIndex.has(c)&&-1===d.indexOf(c)&&d.push(c),l&&l.forEach(t=>{const{keyField:a}=t;d&&a&&e.fieldsIndex.has(a)&&-1===d.indexOf(a)&&d.push(a)}),d}function s(e,t){return e.popupTemplate?e.popupTemplate:Object(r["k"])(t)&&t.defaultPopupTemplateEnabled&&Object(r["k"])(e.defaultPopupTemplate)?e.defaultPopupTemplate:null}},ad96:function(e,t,a){"use strict";a.d(t,"a",(function(){return A}));var r=a("a05b"),i=a("b7c2"),n=a("b061"),s=a("68af"),o=a("35b3"),c=a("7438"),l=a("badc"),u=a("8675"),d=a("7c51"),h=a("a4ee"),p=a("d272"),b=a("c6d7"),m=a("8e97"),f=a("c3a4"),g=a("ca98"),y=a("da35"),O=a("fa1e"),v=a("c829"),j=a("87b7"),x=a("f3d9"),w=a("d17d"),_=a("189c");class E extends g["a"]{initializeProgram(e){const t=E.shader.get(),a=this.configuration,r=t.build({output:a.output,slicePlaneEnabled:a.slicePlaneEnabled,sliceHighlightDisabled:!1,sliceEnabledForVertexPrograms:!1,oitEnabled:a.transparencyPassType===i["l"].Color,multipassTerrainEnabled:a.multipassTerrainEnabled,cullAboveGround:a.cullAboveGround});return new v["a"](e.rctx,r,O["a"])}bindPass(e,t){Object(m["b"])(this.program,t.camera.projectionMatrix),this.program.setUniform1f("opacity",e.opacity),t.multipassTerrainEnabled&&(this.program.setUniform2fv("nearFar",t.camera.nearFar),this.program.setUniform2fv("inverseViewport",t.inverseViewport),Object(b["a"])(this.program,t))}bindDraw(e){Object(m["c"])(this.program,e),Object(p["c"])(this.program,this.configuration,e),this.program.rebindTextures()}_setPipelineState(e,t){const a=this.configuration,n=e===i["l"].NONE,s=e===i["l"].FrontFace;return Object(_["g"])({blending:a.output!==r["a"].Color&&a.output!==r["a"].Alpha||!a.transparent?null:n?P:Object(c["f"])(e),culling:Object(_["c"])(a.cullFace),depthTest:{func:Object(c["g"])(e)},depthWrite:n?a.writeDepth&&_["e"]:Object(c["h"])(e),colorWrite:_["d"],stencilWrite:a.sceneHasOcludees?j["j"]:null,stencilTest:a.sceneHasOcludees?t?j["f"]:j["e"]:null,polygonOffset:n||s?null:Object(c["e"])(a.enableOffset)})}initializePipeline(){return this._occludeePipelineState=this._setPipelineState(this.configuration.transparencyPassType,!0),this._setPipelineState(this.configuration.transparencyPassType,!1)}getPipelineState(e,t){return t?this._occludeePipelineState:super.getPipelineState(e,t)}}E.shader=new f["a"](x["a"],()=>a.e("chunk-2d215c84").then(a.bind(null,"c056")));const P=Object(_["i"])(w["b"].ONE,w["b"].ONE_MINUS_SRC_ALPHA);class T extends y["a"]{constructor(){super(...arguments),this.output=r["a"].Color,this.cullFace=i["c"].None,this.slicePlaneEnabled=!1,this.transparent=!1,this.enableOffset=!0,this.writeDepth=!0,this.sceneHasOcludees=!1,this.transparencyPassType=i["l"].NONE,this.multipassTerrainEnabled=!1,this.cullAboveGround=!1}}Object(h["a"])([Object(y["b"])({count:r["a"].COUNT})],T.prototype,"output",void 0),Object(h["a"])([Object(y["b"])({count:i["c"].COUNT})],T.prototype,"cullFace",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"slicePlaneEnabled",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"transparent",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"enableOffset",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"writeDepth",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"sceneHasOcludees",void 0),Object(h["a"])([Object(y["b"])({count:i["l"].COUNT})],T.prototype,"transparencyPassType",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"multipassTerrainEnabled",void 0),Object(h["a"])([Object(y["b"])()],T.prototype,"cullAboveGround",void 0);class A extends o["b"]{constructor(e){super(e,C),this.supportsEdges=!0,this.techniqueConfig=new T}getTechniqueConfig(e,t){return this.techniqueConfig.output=e,this.techniqueConfig.cullFace=this.parameters.cullFace,this.techniqueConfig.slicePlaneEnabled=this.parameters.slicePlaneEnabled,this.techniqueConfig.transparent=this.parameters.transparent,this.techniqueConfig.writeDepth=this.parameters.writeDepth,this.techniqueConfig.sceneHasOcludees=this.parameters.sceneHasOcludees,this.techniqueConfig.transparencyPassType=t.transparencyPassType,this.techniqueConfig.enableOffset=t.camera.relativeElevation!e.destroyed&&t?t:void 0).catch(()=>null):Promise.resolve(null)}},f3d9:function(e,t,a){"use strict";a.d(t,"a",(function(){return b})),a.d(t,"b",(function(){return p}));var r=a("a05b"),i=a("d272"),n=a("4db9"),s=a("d047"),o=a("c6d7"),c=a("ebd5"),l=a("4377"),u=a("3886"),d=a("690a"),h=a("b7bd");function p(e){const t=new d["a"];return t.include(n["a"],{linearDepth:!1}),t.vertex.uniforms.add("proj","mat4").add("view","mat4"),t.attributes.add(h["a"].POSITION,"vec3"),t.attributes.add(h["a"].UV0,"vec2"),t.varyings.add("vpos","vec3"),e.multipassTerrainEnabled&&t.varyings.add("depth","float"),t.vertex.uniforms.add("textureCoordinateScaleFactor","vec2"),t.vertex.code.add(u["a"]` void main(void) { vpos = position; ${e.multipassTerrainEnabled?"depth = (view * vec4(vpos, 1.0)).z;":""} vTexCoord = uv0 * textureCoordinateScaleFactor; gl_Position = transformPosition(proj, view, vpos); } `),t.include(i["a"],e),e.multipassTerrainEnabled&&(t.fragment.include(s["a"]),t.include(o["b"],e)),t.fragment.uniforms.add("tex","sampler2D"),t.fragment.uniforms.add("opacity","float"),t.varyings.add("vTexCoord","vec2"),e.output===r["a"].Alpha?t.fragment.code.add(u["a"]` void main() { discardBySlice(vpos); ${e.multipassTerrainEnabled?"terrainDepthTest(gl_FragCoord, depth);":""} float alpha = texture2D(tex, vTexCoord).a * opacity; if (alpha < ${u["a"].float(c["b"])}) { discard; } gl_FragColor = vec4(alpha); } `):(t.fragment.include(l["a"]),t.fragment.code.add(u["a"]` void main() { discardBySlice(vpos); ${e.multipassTerrainEnabled?"terrainDepthTest(gl_FragCoord, depth);":""} gl_FragColor = texture2D(tex, vTexCoord) * opacity; if (gl_FragColor.a < ${u["a"].float(c["b"])}) { discard; } gl_FragColor = highlightSlice(gl_FragColor, vpos); ${e.oitEnabled?"gl_FragColor = premultiplyAlpha(gl_FragColor);":""} } `)),t}const b=Object.freeze({__proto__:null,build:p})}}]); //# sourceMappingURL=chunk-665281f1.2d2a57c3.js.map