1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1495],{4218:(t,e,r)=>{r.d(e,{o:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"sampler2D",o.c.Draw,(r,n,o)=>r.bindTexture(t,e(n,o)))}}},4315:(t,e,r)=>{r.d(e,{F:()=>i}),r(42398);var n=r(5120),o=r(55674);function i(t,e,r,n,i){return!(null==e||null==n||t.length<2)&&(a.x=t[0],a.y=t[1],a.z=t[2],a.spatialReference=e,(0,o.g)(a,r,n,i))}let a=(0,r(32221).T)(0,0,0,n.A.WGS84)},14458:(t,e,r)=>{r.d(e,{W:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"vec3",o.c.Draw,(r,n,o,i)=>r.setUniform3fv(t,e(n,o,i)))}}},15796:(t,e,r)=>{r.d(e,{W:()=>n,Y:()=>c});var n,o=r(91354),i=r(15815),a=r(87766);function c(t,e){switch(e.normalType){case n.Compressed:t.attributes.add(a.r.NORMALCOMPRESSED,"vec2"),t.vertex.code.add((0,i.H)`vec3 decompressNormal(vec2 normal) { 2float z = 1.0 - abs(normal.x) - abs(normal.y); 3return vec3(normal + sign(normal) * min(z, 0.0), z); 4} 5vec3 normalModel() { 6return decompressNormal(normalCompressed); 7}`);break;case n.Attribute:t.attributes.add(a.r.NORMAL,"vec3"),t.vertex.code.add((0,i.H)`vec3 normalModel() { 8return normal; 9}`);break;case n.ScreenDerivative:t.fragment.code.add((0,i.H)`vec3 screenDerivativeNormal(vec3 positionView) { 10return normalize(cross(dFdx(positionView), dFdy(positionView))); 11}`);break;default:(0,o.Xb)(e.normalType);case n.COUNT:}}!function(t){t[t.Attribute=0]="Attribute",t[t.Compressed=1]="Compressed",t[t.ScreenDerivative=2]="ScreenDerivative",t[t.COUNT=3]="COUNT"}(n||(n={}))},15815:(t,e,r)=>{r.d(e,{H:()=>i,If:()=>a,Y:()=>o});
11class n{}let o=n;function i(t,...e){let r="";for(let n=0;n<e.length;n++)r+=t[n]+e[n];return r+t[t.length-1]}function a(t,e,r=""){return t?e:r}!function(t){t.int=function(t){return Math.round(t).toString()},t.float=function(t){return t.toPrecision(8)}}(i||(i={}))},18763:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(61280),o=r(15815);function i(t){t.vertex.code.add((0,o.H)` 12 vec4 decodeSymbolColor(vec4 symbolColor, out int colorMixMode) { 13 float symbolAlpha = 0.0; 14 15 const float maxTint = 85.0; 16 const float maxReplace = 170.0; 17 const float scaleAlpha = 3.0; 18 19 if (symbolColor.a > maxReplace) { 20 colorMixMode = ${o.H.int(n.k5.Multiply)}; 21 symbolAlpha = scaleAlpha * (symbolColor.a - maxReplace); 22 } else if (symbolColor.a > maxTint) { 23 colorMixMode = ${o.H.int(n.k5.Replace)}; 24 symbolAlpha = scaleAlpha * (symbolColor.a - maxTint); 25 } else if (symbolColor.a > 0.0) { 26 colorMixMode = ${o.H.int(n.k5.Tint)}; 27 symbolAlpha = scaleAlpha * symbolColor.a; 28 } else { 29 colorMixMode = ${o.H.int(n.k5.Multiply)}; 30 symbolAlpha = 0.0; 31 } 32 33 return vec4(symbolColor.r, symbolColor.g, symbolColor.b, symbolAlpha); 34 } 35 `)}},20644:(t,e,r)=>{r.d(e,{T:()=>i,U:()=>o});var n=r(26883);function o(t,e,r=0){let i=(0,n.qE)(t,0,l);for(let t=0;t<4;t++){var c;e[r+t]=Math.floor(256*((c=i*a[t])-Math.floor(c)))}}function i(t,e=0){let r=0;for(let n=0;n<4;n++)r+=t[e+n]*c[n];return r}let a=[1,256,65536,0x1000000],c=[1/256,1/65536,1/0x1000000,1/0x100000000],l=i(new Uint8ClampedArray([255,255,255,255]))},21455:(t,e,r)=>{r.d(e,{C:()=>d,Cr:()=>h,LV:()=>u,kb:()=>f,oC:()=>v,vt:()=>l}),r(62242);var n=r(66209);r(81868);var o=r(78824),i=r(33790),a=r(74832),c=r(73848);function l(t){return t?s((0,a.o8)(t.origin),(0,a.o8)(t.direction)):s((0,a.vt)(),(0,a.vt)())}function s(t,e){return{origin:t,direction:e}}function u(t,e){let r=m.get();return r.origin=t,r.direction=e,r}function d(t,e=l()){return function(t,e,r=l()){return(0,i.c)(r.origin,t),(0,i.c)(r.direction,e),r}(t.origin,t.direction,e)}function h(t,e,r=l()){return(0,i.c)(r.origin,t),(0,i.d)(r.direction,e,t),r}function f(t,e){let r=(0,i.e)(c.rq.get(),(0,i.n)(c.rq.get(),t.direction),(0,i.d)(c.rq.get(),e,t.origin));return(0,i.f)(r,r)}function v(t,e,r){let n=(0,i.f)(t.direction,(0,i.d)(r,e,t.origin));return(0,i.g)(r,t.origin,(0,i.h)(r,t.direction,n)),r}let m=new n.I(()=>l());(0,a.vt)(),(0,a.vt)(),(0,a.vt)(),(0,o.vt)()},32221:(t,e,r)=>{function n(t,e,r,n){return{x:t,y:e,z:r,hasZ:null!=r,hasM:!1,spatialReference:n,type:"point"}}function o(t,e,r,n,o){t.x=e,t.y=r,t.z=n,t.hasZ=null!=n,t.spatialReference=o}r.d(e,{J:()=>o,T:()=>n})},39973:(t,e,r)=>{var n;r.d(e,{c:()=>n}),function(t){t[t.Pass=0]="Pass",t[t.Draw=1]="Draw"}(n||(n={}))},49467:(t,e,r)=>{r.d(e,{t:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"vec3",o.c.Pass,(r,n,o)=>r.setUniform3fv(t,e(n,o)))}}},50779:(t,e,r)=>{r.d(e,{W:()=>o});var n=r(15815);function o(t){t.code.add((0,n.H)`const float MAX_RGBA_FLOAT = 36255.0 / 256.0 + 37255.0 / 256.0 / 256.0 + 38255.0 / 256.0 / 256.0 / 256.0 + 39255.0 / 256.0 / 256.0 / 256.0 / 256.0; 40const vec4 FIXED_POINT_FACTORS = vec4(1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0); 41vec4 float2rgba(const float value) { 42float valueInValidDomain = clamp(value, 0.0, MAX_RGBA_FLOAT); 43vec4 fixedPointU8 = floor(fract(valueInValidDomain * FIXED_POINT_FACTORS) * 256.0); 44const float toU8AsFloat = 1.0 / 255.0; 45return fixedPointU8 * toU8AsFloat; 46}`),t.code.add((0,n.H)`const vec4 RGBA_2_FLOAT_FACTORS = vec4( 47255.0 / (256.0), 48255.0 / (256.0 * 256.0), 49255.0 / (256.0 * 256.0 * 256.0), 50255.0 / (256.0 * 256.0 * 256.0 * 256.0) 51); 52float rgba2float(vec4 rgba) { 53return dot(rgba, RGBA_2_FLOAT_FACTORS); 54}`),t.code.add((0,n.H)`const vec4 uninterpolatedRGBAToFloatFactors = vec4( 551.0 / 256.0, 561.0 / 256.0 / 256.0, 571.0 / 256.0 / 256.0 / 256.0, 581.0 / 256.0 / 256.0 / 256.0 / 256.0 59); 60float uninterpolatedRGBAToFloat(vec4 rgba) { 61return (dot(round(rgba * 255.0), uninterpolatedRGBAToFloatFactors) - 0.5) * 2.0; 62}`)}},55674:(t,e,r)=>{r.d(e,{g:()=>a});var n=r(74832),o=r(42398),i=r(42964);function a(t,e,r,n){if((0,o.canProjectWithoutEngine)(t.spatialReference,r)){c[0]=t.x,c[1]=t.y;let o=t.z;return c[2]=o??n??0,(0,i.projectBuffer)(c,t.spatialReference,0,e,r,0)}let a=(0,o.tryProjectWithZConversion)(t,r);return!!a&&(e[0]=a?.x,e[1]=a?.y,e[2]=a?.z??n??0,!0)}let c=(0,n.vt)()},55859:(t,e,r)=>{r.d(e,{E:()=>o});var n=r(74552);function o(){return!!(0,n.A)("enable-feature:objectAndLayerId-rendering")}},59217:(t,e,r)=>{var n;function o(t){return t===n.Shadow||t===n.ShadowHighlight||t===n.ShadowExcludeHighlight||t===n.ViewshedShadow}function i(t){var e;return u(e=t)||function(t){return t===n.Depth}(e)||t===n.Normal}function a(t){return function(t){return s(t)||c(t)||function(t){return t===n.Depth}(t)}(t)||t===n.Normal}function c(t){return t===n.Highlight||t===n.ObjectAndLayerIdColor}function l(t){return t===n.Color}function s(t){return t===n.Color||h(t)}function u(t){return t===n.Color||c(t)}function d(t){return t===n.Depth}function h(t){return t===n.ColorEmission}r.d(e,{LG:()=>h,PJ:()=>o,RN:()=>s,V:()=>n,XY:()=>i,dX:()=>u,iq:()=>a}),!function(t){t[t.Color=0]="Color",t[t.ColorEmission=1]="ColorEmission",t[t.Depth=2]="Depth",t[t.Normal=3]="Normal",t[t.Shadow=4]="Shadow",t[t.ShadowHighlight=5]="ShadowHighlight",t[t.ShadowExcludeHighlight=6]="ShadowExcludeHighlight",t[t.ViewshedShadow=7]="ViewshedShadow",t[t.Highlight=8]="Highlight",t[t.ObjectAndLayerIdColor=9]="Ob
62jectAndLayerIdColor",t[t.COUNT=10]="COUNT"}(n||(n={}))},59750:(t,e,r)=>{r.d(e,{m:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"float",o.c.Pass,(r,n,o)=>r.setUniform1f(t,e(n,o)))}}},61280:(t,e,r)=>{var n;r.d(e,{k5:()=>n}),r(26883),!function(t){t[t.Multiply=1]="Multiply",t[t.Ignore=2]="Ignore",t[t.Replace=3]="Replace",t[t.Tint=4]="Tint"}(n||(n={}))},63249:(t,e,r)=>{r.d(e,{u:()=>o});var n=r(15815);function o({code:t},e){e.doublePrecisionRequiresObfuscation?t.add((0,n.H)`vec3 dpPlusFrc(vec3 a, vec3 b) { 63return mix(a, a + b, vec3(notEqual(b, vec3(0)))); 64} 65vec3 dpMinusFrc(vec3 a, vec3 b) { 66return mix(vec3(0), a - b, vec3(notEqual(a, b))); 67} 68vec3 dpAdd(vec3 hiA, vec3 loA, vec3 hiB, vec3 loB) { 69vec3 t1 = dpPlusFrc(hiA, hiB); 70vec3 e = dpMinusFrc(t1, hiA); 71vec3 t2 = dpMinusFrc(hiB, e) + dpMinusFrc(hiA, dpMinusFrc(t1, e)) + loA + loB; 72return t1 + t2; 73}`):t.add((0,n.H)`vec3 dpAdd(vec3 hiA, vec3 loA, vec3 hiB, vec3 loB) { 74vec3 t1 = hiA + hiB; 75vec3 e = t1 - hiA; 76vec3 t2 = ((hiB - e) + (hiA - (t1 - e))) + loA + loB; 77return t1 + t2; 78}`)}},65603:(t,e,r)=>{r.d(e,{h:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"mat3",o.c.Draw,(r,n,o)=>r.setUniformMatrix3fv(t,e(n,o)))}}},66209:(t,e,r)=>{r.d(e,{I:()=>o});var n=r(42236);class o{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,n.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){let t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*i);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,i));t++)this._items.push(this._allocator())}}let i=1024},70494:(t,e,r)=>{r.d(e,{k:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"mat3",o.c.Pass,(r,n,o)=>r.setUniformMatrix3fv(t,e(n,o)))}}},72887:(t,e,r)=>{r.d(e,{a:()=>C,c:()=>g,e:()=>A,f:()=>_,g:()=>y,k:()=>F,l:()=>M,m:()=>p,n:()=>S,o:()=>B,p:()=>O,s:()=>I,w:()=>x}),r(74552),r(64988);var n=r(26883),o=r(82613),i=r(33790),a=r(74832),c=r(2137),l=r(63079),s=r(40566),u=r(78552),d=r(21455);function h(t,e){let r=(0,i.l)(t),o=(0,n.YN)(t[2]/r),a=Math.atan2(t[1]/r,t[0]/r);return(0,i.i)(e,r,o,a),e}var f=r(49746),v=r(73848);let m=g();function g(){return(0,l.vt)()}let p=c.e,b=c.e;function A(t,e){return(0,c.c)(e,t)}function M(t,e){return(0,l.fA)(t[0],t[1],t[2],e)}function x(t){return t}function y(t){return t[3]}function C(t){return t}function _(t,e,r,n){return(0,l.fA)(t,e,r,n)}function w(t,e,r){if(null==e||!R(t,e,P))return!1;let{t0:n,t1:o}=P;if((n<0||o<n&&o>0)&&(n=o),n<0)return!1;if(r){let{origin:t,direction:o}=e;r[0]=t[0]+o[0]*n,r[1]=t[1]+o[1]*n,r[2]=t[2]+o[2]*n}return!0}function S(t,e,r){let n=(0,d.Cr)(e,r);if(!R(t,n,P))return[];let{origin:o,direction:c}=n,{t0:l,t1:u}=P,h=e=>{let r=(0,a.vt)();return(0,i.b)(r,o,c,e),O(t,r,r)};return Math.abs(l-u)<(0,s.FD)()?[h(l)]:[h(l),h(u)]}let P={t0:0,t1:0};function R(t,e,r){let{origin:n,direction:o}=e;T[0]=n[0]-t[0],T[1]=n[1]-t[1],T[2]=n[2]-t[2];let i=o[0]*o[0]+o[1]*o[1]+o[2]*o[2];if(0===i)return!1;let a=2*(o[0]*T[0]+o[1]*T[1]+o[2]*T[2]),c=a*a-4*i*(T[0]*T[0]+T[1]*T[1]+T[2]*T[2]-t[3]*t[3]);if(c<0)return!1;let l=Math.sqrt(c);return r.t0=(-a-l)/(2*i),r.t1=(-a+l)/(2*i),!0}let T=(0,a.vt)();function F(t,e){return w(t,e,null)}function D(t,e,r){let n=v.rq.get(),a=v.Rc.get();(0,i.e)(n,e.origin,e.direction);let c=y(t);(0,i.e)(r,n,e.origin),(0,i.h)(r,r,1/(0,i.l)(r)*c);let l=H(t,e.origin),s=(0,f.g7)(e.origin,r);return(0,o.$0)(a,s+l,n),(0,i.t)(r,r,a),r}function O(t,e,r){let n=(0,i.d)(v.rq.get(),e,C(t)),o=(0,i.h)(v.rq.get(),n,t[3]/(0,i.l)(n));return(0,i.g)(r,o,C(t))}function H(t,e){let r=(0,i.d)(v.rq.get(),e,C(t)),o=(0,i.l)(r),a=y(t),c=a+Math.abs(a-o);return(0,n.XM)(a/c)}let q=(0,a.vt)();function N(t,e,r,n){let o=(0,i.d)(q,e,C(t));switch(r){case u._.X:{let t=h(o,q)[2];return(0,i.i)(n,-Math.sin(t),Math.cos(t),0)}case u._.Y:{let t=h(o,q),e=t[1],r=t[2],a=Math.sin(e);return(0,i.i)(n,-a*Math.cos(r),-a*Math.sin(r),Math.cos(e))}case u._.Z:return(0,i.n)(n,o);default:return}}function E(t,e){let r=(0,i.d)(U,e,C(t));return(0,i.l)(r)-t[3]}function B(t,e){let r=(0,i.s)(C(t),e),n=y(t);return r<=n*n}let U=(0,a.vt)(),k=g(),I=Object.freeze(Object.defineProperty({__proto__:null,NullSphere:m,altitudeAt:E,angleToSilhouette:H,axisAt:N,cameraFrustumCoverage:function(t,e,r,n){let o=y(t),i=o*o,a=e+.5*Math.PI,c=r*r+i-2*Math.cos(a)*r*o,l=Math.sqrt(c),s=c-i;return s<=0?.5:Math.min(1,(Math.acos(Math.sqrt(s)/l)-Math.asin(o/(l/Math.sin(a)))+.5*n)/n)},clear:function(t){t[0]=t[1]=t[2]=t[3]=0},closestPoint:function(t,e,r){return w(t,e,r)?r:((0,d.oC)(e,C(t),r),O(t,r,r))},closestPointOnSilhouette:D,containsPoint:B,copy:A,create:g,distanceToSilhouette:function(t,e){let r=(0,i.d)(v.rq.get(),e,C(t));return Math.sqrt(Math.abs((0,i.k)(r)-t[3]*t[3]))},elevate:function(t,e,r){return t!==r&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),r[3]=t[3]+e,r},equals:b,exactEquals:p,fromCenterAndRadius:M,fromRadius:function(t,e){return t[0]=t[1]=t[2]=0,t[3]=e,t},fromValues:_,getCenter:C,getExtent:function(t,e){return e},getRadius:y,intersectLine:S,intersectRay:w,intersectRayClosestSilhouette:function(t,e,r){if(w(t,e,r))return r;let n=D(t,e,v.rq.get());return(0,i.g)(r,e.origin,(0,i.h)(v.rq.get(),e.direction,(0,i.j)(e.origin,n)/(0,i.l)(e.direction))),r},intersectsRay:F,projectPoint:O,setAltitudeAt:function(t,e,r,n){let o=E(t,e),a=N(t,e,u._.Z,U),c=(0,i.h)(U,a,r-o);return(0,i.g)(n,e,c)},setExtent:function(t,e,r){return t!==r&&A(t,r),r},tmpSphere:k,union:function(t,e,r=(0,l.vt)()){let n=(0,i.j)(C(t),C(e)),o=t[3],a=e[3];return n+a<o?(0,c.c)(r,t):n+o<a?(0,c.c)(r,e):((0,i.m)(r,C(t),C(e),(n+a-o)/(2*n)),r[3]=(n+o+a)/2),r},wrap:x},Symbol.toStringTag,{value:"Module"}))},80029:(t,e,r)=>{r.d(e,{V:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"vec4",o.c.Draw,(r,n,o)=>r.setUniform4fv(t,e(n,o)))}}},84849:(t,e,r)=>{r.d(e,{n:()=>o});var n=r(39973);class o{constructor(t,e,r,o,i=null){if(this.name=t,this.type=e,this.arraySize=i,this.bind={[n.c.Pass]:null,[n.c.Draw]:null},o)switch(r){case n.c.Pass:this.bind[n.c.Pass]=o;break;case n.c.Draw:this.bind[n.c.Draw]=o}}equals(t){return this.type===t.type&&this.name===t.name&&this.arraySize===t.arraySize}}},97613:(t,e,r)=>{r.d(e,{X:()=>i});var n=r(84849),o=r(39973);class i extends n.n{constructor(t,e){super(t,"mat4",o.c.Pass,(r,n,o)=>r.setUniformMatrix4fv(t,e(n,o)))}}}}]);
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.