(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72413f24","chunk-1900908c","chunk-2d0d6f6b"],{"1bd2":function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var i=r("a4ee"),n=r("b2b2"),s=r("fab3"),o=r("59b2"),a=(r("b50f"),r("c120"),r("cea0"),r("d386"));const c=t=>{let e=class extends(Object(s["b"])(t)){constructor(){super(...arguments),this.parent=null}get updating(){return!1}get visible(){const t=!Object(n["k"])(this.parent)||this.parent.visible&&!this.parent.suspended;return this.analysis.visible&&t}};return Object(i["a"])([Object(o["b"])({readOnly:!0})],e.prototype,"type",void 0),Object(i["a"])([Object(o["b"])({constructOnly:!0})],e.prototype,"analysis",void 0),Object(i["a"])([Object(o["b"])({constructOnly:!0})],e.prototype,"parent",void 0),Object(i["a"])([Object(o["b"])({constructOnly:!0})],e.prototype,"view",void 0),Object(i["a"])([Object(o["b"])({readOnly:!0})],e.prototype,"updating",null),Object(i["a"])([Object(o["b"])({readOnly:!0})],e.prototype,"visible",null),e=Object(i["a"])([Object(a["a"])("esri.views.3d.analysis.AnalysisView3D")],e),e}},"27ea":function(t,e,r){"use strict";r.d(e,"a",(function(){return A})),r.d(e,"b",(function(){return E}));var i=r("af40"),n=r("b2b2"),s=r("a915"),o=r("3349"),a=r("e431"),c=r("0b2d");r("7ffa");function h(t,e,r,i){i.projectToRenderScreen(t,l),i.projectToRenderScreen(e,d),Object(o["f"])(r,f,u),Object(o["i"])(r,r)}Object(c["f"])(),Object(s["d"])();const l=Object(s["d"])(),u=l,d=Object(s["d"])(),f=d;Object(s["f"])(),Object(s["f"])();var p=r("f53a"),b=r("a4ee"),_=r("fc29"),y=r("59b2"),m=(r("b50f"),r("c120"),r("cea0"),r("d386"));r("e6c2");let g=t=>({vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}),O=(t,e,r)=>{for(let i=0,n=e.length;i1)&&(r.renderToScreen(F,e),!0)}_computeLabelPositionFromCorner(t,e,r,i){if(!t)return!1;const n=this.view.state.camera;return G(t.left,1,n,z),Object(o["n"])(z,z),G(t.right,0,n,V),Object(o["m"])(D,z,V),Object(o["n"])(D,D),Object(o["i"])(D,D),n.projectToRenderScreen(t.left.endRenderSpace,F),!(F[2]<0||F[2]>1)&&(n.renderToScreen(F,r),Object(o["g"])(D,D,e*n.pixelRatio),Object(o["m"])(D,D,F),n.renderToScreen(D,i),!0)}_computeLabelPositionFromSegment(t,e,r,i,n){if(!t)return!1;const s=t.segment,a=this.view.state.camera;h(s.startRenderSpace,s.endRenderSpace,z,a),Object(o["s"])(D,-z[1],z[0]);let c=!1;switch(r){case"top":c=D[1]<0;break;case"bottom":c=D[1]>0;break;case"left":c=D[0]>0;break;case"right":c=D[0]<0}if(c&&Object(o["n"])(D,D),0===Object(o["l"])(D))switch(r){case"top":D[1]=1;break;case"bottom":D[1]=-1;break;case"left":D[0]=-1;break;case"right":D[0]=1}return s.eval(q[t.sampleLocation],L),a.projectToRenderScreen(L,F),!(F[2]<0||F[2]>1)&&(a.renderToScreen(F,i),Object(o["g"])(D,D,e*a.pixelRatio),Object(o["m"])(D,D,F),a.renderToScreen(D,n),!0)}_updatePosition(t,e){if(e){const r=e[0]-t[0],i=e[1]-t[1];return this._textItem.position=[e[0],e[1]],this._textItem.anchor=Math.abs(r)>Math.abs(i)?r>0?"left":"right":i>0?"top":"bottom",this._calloutItem.startPosition=[t[0],t[1]],this._calloutItem.endPosition=[e[0],e[1]],!0}return this._textItem.position=[t[0],t[1]],this._textItem.anchor="center",!1}createResources(){this._textItem=new P({visible:!0,text:this._text,fontSize:this._fontSize}),this._calloutItem=new w({visible:!0,width:2}),this._updateLabelPosition(),this.view.overlay.items.addMany([this._textItem,this._calloutItem]),this._handles.add(this.view.state.watch("camera",()=>this._updateLabelPosition()))}destroyResources(){this.view.overlay&&!this.view.overlay.destroyed&&this.view.overlay.items.removeMany([this._textItem,this._calloutItem]),this._handles.removeAll()}updateVisibility(t){this._textItem.visible=this._showText&&t,this._calloutItem.visible=this._showCallout&&t}}function G(t,e,r,i){t.eval(e,k,T),Object(a["h"])(I,k,T),r.projectToRenderScreen(k,X),r.projectToRenderScreen(I,B),Object(o["f"])(i,H,N),Object(o["i"])(i,i)}function E(t){switch(t){case"top":return"bottom";case"right":return"left";case"bottom":return"top";case"left":return"right"}}const k=Object(c["f"])(),I=Object(c["f"])(),T=Object(c["f"])(),z=Object(s["c"])(),V=Object(s["c"])(),D=Object(s["c"])(),L=Object(c["f"])(),F=Object(s["d"])(),$=Object(s["f"])(),Y=Object(s["f"])(),X=Object(s["d"])(),N=X,B=Object(s["d"])(),H=B,q={start:0,center:.5,end:1}},"29a2":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var i=r("b2b2"),n=r("8188"),s=r("0cb9");function o(t,e,r,o=!1){const a=Object(n["D"])(t,e);return Object(i["j"])(a)?null:(a.hasZ&&!o||!Object(i["k"])(r)||(a.z=Object(i["u"])(Object(s["b"])(r,a),0)),a)}function a(t,e,r){r.warnOnce(`Failed to project analysis geometry (id: '${t.id}'), projection from spatial reference (wkid: '${e.wkid}') to view spatial reference is not supported. Projection may be possible after calling projection.load().`)}},"40b6":function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return u}));r("e06a");var i=r("ce50"),n=r("8048"),s=r("d636"),o=(r("521c"),r("1219"),r("4ae5"),r("5996"));function a(t){if(!t)return null;if(t.isGeographic&&t.wkid){const e=s["c"][t.wkid];if(e)return e}if(t.wkt){const e=c(t.wkt);if(e)return e}return null}function c(t){const e=s["a"].exec(t);if(!e||2!==e.length)return null;const r=e[1].split(",");if(!r||r.length<3)return null;const i=parseFloat(r[1]),n=parseFloat(r[2]);return isNaN(i)||isNaN(n)?null:{a:i,f:0===n?0:1/n}}function h(t){const e=a(t||o["a"].WGS84);if(l(e))return e;const r=e.a*(1-e.f);return Object.assign(e,{b:r,eSq:1-(r/e.a)**2,radius:(2*e.a+r)/3,densificationRatio:1e4/((2*e.a+r)/3)})}function l(t){return"b"in t&&"eSq"in t&&"radius"in t}function u(t){return null!==a(t)}function d(t,e="meters"){if(!t)throw new i["a"]("geodesic-lengths:invalid-geometries","the input geometries type is not supported");if(t.some(t=>!u(t.spatialReference)))throw new i["a"]("geodesic-lengths:invalid-spatial-reference","the input geometries spatial reference is not supported");const r=[];for(let i=0;i1e-12&&--G>0);if(0===G){const e=f,r=Math.acos(Math.sin(o)*Math.sin(c)+Math.cos(o)*Math.cos(c)*Math.cos(a-n))*e,i=a-n,h=Math.sin(i)*Math.cos(c),l=Math.cos(o)*Math.sin(c)-Math.sin(o)*Math.cos(c)*Math.cos(i),u=Math.atan2(h,l);return t.azimuth=u/s["d"],t.distance=r,t.reverseAzimuth=void 0,t}const k=x*(l*l-u*u)/(u*u),I=k/1024*(256+k*(k*(74-47*k)-128)),T=u*(1+k/16384*(4096+k*(k*(320-175*k)-768)))*(R-I*v*(w+I/4*(S*(2*w*w-1)-I/6*w*(4*v*v-3)*(4*w*w-3)))),z=Math.atan2(O*Math.sin(E),m*g-y*O*Math.cos(E)),V=Math.atan2(m*Math.sin(E),m*g*Math.cos(E)-y*O);return t.azimuth=z/s["d"],t.distance=T,t.reverseAzimuth=V/s["d"],t}},"52b7":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var i=r("a915"),n=r("3349"),s=r("e431");function o(t,e){if(Object(s["y"])(e,0,0,0),t.length>0){for(let r=0;r{const o=d;Object(i["l"])(o,e,t),r.push([o[0],o[1],o[2]]),n.push([s[0],s[1],s[2]])},o=e.worldUpAtPosition(this.eval(.5,u),a["d"].get());return s(this.startRenderSpace,o),s(this.endRenderSpace,o),{points:r,normals:n}}}class l{constructor(t,e,r){this.startRenderSpace=t,this.endRenderSpace=e,this.renderSpatialReference=r,this.type="geodesic",this._start=Object(n["f"])(),this._end=Object(n["f"])(),this._pcpf=Object(o["g"])(r),this._project=Object(s["b"])(r,this._pcpf),this._projectIn(t,this._start),this._projectIn(e,this._end)}_projectIn(t,e){this._project?Object(s["y"])(t,this.renderSpatialReference,e,this._pcpf):Object(i["m"])(e,t)}eval(t,e,r){if(this._project)if(r){const n=d;Object(c["m"])(this._start,this._end,t,e,n),Object(i["h"])(f,e,n),Object(s["y"])(e,this._pcpf,e,this.renderSpatialReference),Object(s["y"])(f,this._pcpf,f,this.renderSpatialReference),Object(i["l"])(r,f,e),Object(i["t"])(r,r)}else Object(c["l"])(this._start,this._end,t,e),Object(s["y"])(e,this._pcpf,e,this.renderSpatialReference);else Object(i["k"])(e,this._start,this._end,t),r&&(Object(i["l"])(r,this._end,this._start),Object(i["t"])(r,r));return e}createRenderGeometry(t,e){const r=[],n=[],s=(e,s)=>{const o=f;Object(i["l"])(o,e,t),r.push([o[0],o[1],o[2]]),n.push([s[0],s[1],s[2]])},o=128;for(let i=0;it.add(e)),t.add(r),e.add(r),this.visible||r.setVisible(!1),this._resources={layer:e,object:r}}destroyResources(){const t=this.view._stage;!Object(i["j"])(this._resources)&&t&&(t.remove(this._resources.object),t.remove(this._resources.layer),this.forEachExternalMaterial(e=>{t.remove(e),e.dispose()}),t.removeMany(this._resources.object.geometries),this._resources.object.dispose(),this.destroyExternalResources(),this._resources=null)}updateVisibility(t){Object(i["j"])(this._resources)||this._resources.object.setVisible(t)}}},"6f8b":function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=r("8048");class n{constructor(t=null){this.spatialReference=t}get spatialReference(){return this._spatialReference}set spatialReference(t){t!==this._spatialReference&&(this._spatialReference=t,this._updateNormalizationFactors())}normalizeDistance(t){return t*this._metersPerDistanceUnit}normalizeElevation(t){return t*this._metersPerElevationUnit}normalizeArea(t){return t*this._squareMetersPerAreaUnit}_updateNormalizationFactors(){this._metersPerDistanceUnit=Object(i["f"])(this._spatialReference,1),this._metersPerElevationUnit=Object(i["f"])(this._spatialReference,1),this._squareMetersPerAreaUnit=this._metersPerDistanceUnit*this._metersPerDistanceUnit}}},7590:function(t,e,r){"use strict";r.r(e),r.d(e,"hydratedAdapter",(function(){return c}));var i=r("3af1"),n=r("57dc"),s=r("4ae5"),o=r("1219"),a=r("521c");const c={convertToGEGeometry:h,exportPoint:l,exportPolygon:u,exportPolyline:d,exportMultipoint:f,exportExtent:p};function h(t,e){if(null==e)return null;let r="cache"in e?e.cache._geVersion:void 0;return null==r&&(r=t.convertJSONToGeometry(e),"cache"in e&&(e.cache._geVersion=r)),r}function l(t,e,r){const i=t.hasZ(e),n=t.hasM(e),o=new s["a"]({x:t.getPointX(e),y:t.getPointY(e),spatialReference:r});return i&&(o.z=t.getPointZ(e)),n&&(o.m=t.getPointM(e)),o.cache._geVersion=e,o}function u(t,e,r){const i=new o["a"]({rings:t.exportPaths(e),hasZ:t.hasZ(e),hasM:t.hasM(e),spatialReference:r});return i.cache._geVersion=e,i}function d(t,e,r){const i=new a["a"]({paths:t.exportPaths(e),hasZ:t.hasZ(e),hasM:t.hasM(e),spatialReference:r});return i.cache._geVersion=e,i}function f(t,e,r){const i=new n["a"]({hasZ:t.hasZ(e),hasM:t.hasM(e),points:t.exportPoints(e),spatialReference:r});return i.cache._geVersion=e,i}function p(t,e,r){const n=t.hasZ(e),s=t.hasM(e),o=new i["a"]({xmin:t.getXMin(e),ymin:t.getYMin(e),xmax:t.getXMax(e),ymax:t.getYMax(e),spatialReference:r});if(n){const r=t.getZExtent(e);o.zmin=r.vmin,o.zmax=r.vmax}if(s){const r=t.getMExtent(e);o.mmin=r.vmin,o.mmax=r.vmax}return o.cache._geVersion=e,o}},7617:function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return c})),r.d(e,"c",(function(){return h})),r.d(e,"d",(function(){return o})),r.d(e,"e",(function(){return a}));var i=r("f315"),n=r("6aa9");function s(t,e,r,s=2,o="abbr"){return Object(n["b"])(t,Object(i["d"])(e,r).value,r,s,o)}function o(t,e,r=2,i="abbr"){if("length"!==e.type)throw new Error("quantity is not a length");return Object(n["h"])(t,e.value,e.unit,r,i)}function a(t,e,r=2,i="abbr"){if("length"!==e.type)throw new Error("quantity is not a length");return Object(n["i"])(t,e.value,e.unit,r,i)}function c(t,e,r=2,i="abbr"){if("length"!==e.type)throw new Error("quantity is not a length");return Object(n["e"])(t,e.value,e.unit,r,i)}function h(t,e,r=2,i="abbr"){if("length"!==e.type)throw new Error("quantity is not a length");return Object(n["f"])(t,e.value,e.unit,r,i)}},"94e6":function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var i=r("b2b2"),n=r("d791"),s=r("afe1"),o=r("e431"),a=r("0b2d"),c=r("7577"),h=r("5ef2"),l=r("5fae"),u=r("d408"),d=r("35b3"),f=r("86ba");class p extends l["a"]{constructor(t){super(t),this._renderOccluded=d["c"].OccludeAndTransparent,this._width=1,this._color=Object(h["c"])(1,0,1,1),this._innerWidth=1,this._innerColor=null,this._stipplePattern=null,this._stippleOffColor=null,this._stipplePreferContinuous=!0,this._writeDepthEnabled=!0,this._falloff=0,this._polygonOffset=!1,this.applyProps(t)}setGeometryFromRenderSpacePoint(t){const e=1e3,r=[];r.push([[t[0]-e,t[1]+0,t[2]+0],[t[0]+e,t[1]+0,t[2]+0]]),r.push([[t[0]-0,t[1]-e,t[2]+0],[t[0]+0,t[1]+e,t[2]+0]]),r.push([[t[0]-0,t[1]+0,t[2]-e],[t[0]+0,t[1]+0,t[2]+e]]),this.geometry=r}setGeometryFromExtent(t){const e=this.view.spatialReference,r=Object(a["f"])(),i=Object(a["f"])(),n=100,s=[];Object(o["y"])(r,t[0],t[1],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),Object(o["y"])(r,t[2],t[1],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),Object(o["y"])(r,t[2],t[3],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),Object(o["y"])(r,t[0],t[3],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),Object(o["y"])(r,t[0],t[1],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),Object(o["y"])(r,t[0],t[1],n),this.view.renderCoordsHelper.toRenderCoords(r,e,i),s.push([i[0],i[1],i[2]]),this.geometry=[s]}setGeometryFromFrustum(t){const e=[];t.lines.forEach(t=>{e.push([t.origin[0],t.origin[1],t.origin[2]]),e.push([t.endpoint[0],t.endpoint[1],t.endpoint[2]])}),this.geometry=[e]}setGeometryFromBoundedPlane(t){const e=[],r=t.origin,i=t.basis1,n=t.basis2,s=.5,o=Object(a["f"])(),c=Object(a["f"])(),h=Object(a["f"])(),l=Object(a["f"])();o[0]=r[0]-i[0]*s-n[0]*s,o[1]=r[1]-i[1]*s-n[1]*s,o[2]=r[2]-i[2]*s-n[2]*s,c[0]=r[0]-i[0]*s+n[0]*s,c[1]=r[1]-i[1]*s+n[1]*s,c[2]=r[2]-i[2]*s+n[2]*s,h[0]=r[0]+i[0]*s+n[0]*s,h[1]=r[1]+i[1]*s+n[1]*s,h[2]=r[2]+i[2]*s+n[2]*s,l[0]=r[0]+i[0]*s-n[0]*s,l[1]=r[1]+i[1]*s-n[1]*s,l[2]=r[2]+i[2]*s-n[2]*s,e.push([o[0],o[1],o[2]]),e.push([c[0],c[1],c[2]]),e.push([h[0],h[1],h[2]]),e.push([l[0],l[1],l[2]]),e.push([o[0],o[1],o[2]]),this.geometry=[e]}setGeometryFromSegment(t){const e=t.endRenderSpace;this.transform=Object(n["g"])(b,e);const{points:r}=t.createRenderGeometry(e,this.view.renderCoordsHelper);this.geometry=[r]}setGeometryFromSegments(t,e=a["c"]){this.transform=Object(n["g"])(b,e),this.geometry=t.map(t=>t.createRenderGeometry(e,this.view.renderCoordsHelper).points)}get renderOccluded(){return this._renderOccluded}set renderOccluded(t){t!==this._renderOccluded&&(this._renderOccluded=t,this._updateMaterial())}get geometry(){return this._geometry}set geometry(t){this._geometry=t,this.recreateGeometry()}get width(){return this._width}set width(t){t!==this._width&&(this._width=t,this._updateMaterial())}get color(){return this._color}set color(t){Object(c["g"])(t,this._color)||(Object(c["c"])(this._color,t),this._updateMaterial())}get innerWidth(){return this._innerWidth}set innerWidth(t){t!==this._innerWidth&&(this._innerWidth=t,this._updateMaterial())}get innerColor(){return this._innerColor}set innerColor(t){Object(i["k"])(t)?!Object(i["j"])(this._innerColor)&&Object(c["g"])(t,this._innerColor)||(this._innerColor=Object(c["c"])(Object(h["b"])(),t),this._updateMaterial()):Object(i["k"])(this._innerColor)&&(this._innerColor=null,this._updateMaterial())}get stipplePattern(){return this._stipplePattern}set stipplePattern(t){const e=Object(i["k"])(t)!==Object(i["k"])(this._stipplePattern);this._stipplePattern=t,e?this.recreate():this._updateMaterial()}get stippleOffColor(){return this._stippleOffColor}set stippleOffColor(t){(Object(i["j"])(t)||Object(i["j"])(this._stippleOffColor)||!Object(c["g"])(t,this._stippleOffColor))&&(this._stippleOffColor=Object(i["k"])(t)?Object(h["a"])(t):null,this._updateMaterial())}get stipplePreferContinuous(){return this._stipplePreferContinuous}set stipplePreferContinuous(t){this._stipplePreferContinuous!==t&&(this._stipplePreferContinuous=t,this._updateMaterial())}get writeDepthEnabled(){return this._writeDepthEnabled}set writeDepthEnabled(t){this._writeDepthEnabled!==t&&(this._writeDepthEnabled=t,this._updateMaterial())}get falloff(){return this._falloff}set falloff(t){t!==this._falloff&&(this._falloff=t,this._updateMaterial())}get polygonOffset(){return this._polygonOffset}set polygonOffset(t){t!==this._polygonOffset&&(this._polygonOffset=t,this._updateMaterial())}createExternalResources(){this._material=new f["a"](this.materialParameters)}destroyExternalResources(){this._material=null}createGeometries(t){const e=this._createLineGeometries();if(0!==e.length)for(let r=0;r{const r=t.length,i=new Float64Array(3*r);t.forEach((t,e)=>{i[3*e+0]=t[0],i[3*e+1]=t[1],i[3*e+2]=t[2]});const n={overlayInfo:null,attributeData:{position:i},removeDuplicateStartEnd:u["a"].KEEP};e.push(n)}),e}}const b=Object(s["d"])()},aa0f:function(t,e,r){"use strict";var i;r.d(e,"a",(function(){return i})),function(t){t[t.Auto=0]="Auto",t[t.Euclidean=1]="Euclidean",t[t.Geodesic=2]="Geodesic"}(i||(i={}))},caf1e:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=r("8048");const n={readOnly:!0,get(){const t="metric",{view:e}=this;if(!e)return t;const r=e.get("map.portalItem.portal");if(r)switch(r.get("user.units")||r.units){case t:return t;case"english":return"imperial"}return Object(i["d"])(e.spatialReference)||t}}},ea51:function(t,e,r){"use strict";r.r(e),r.d(e,"buffer",(function(){return C})),r.d(e,"clip",(function(){return a})),r.d(e,"contains",(function(){return h})),r.d(e,"convexHull",(function(){return j})),r.d(e,"crosses",(function(){return l})),r.d(e,"cut",(function(){return c})),r.d(e,"densify",(function(){return V})),r.d(e,"difference",(function(){return x})),r.d(e,"disjoint",(function(){return _})),r.d(e,"distance",(function(){return u})),r.d(e,"equals",(function(){return d})),r.d(e,"extendedSpatialReferenceInfo",(function(){return o})),r.d(e,"flipHorizontal",(function(){return I})),r.d(e,"flipVertical",(function(){return T})),r.d(e,"generalize",(function(){return z})),r.d(e,"geodesicArea",(function(){return $})),r.d(e,"geodesicBuffer",(function(){return M})),r.d(e,"geodesicDensify",(function(){return D})),r.d(e,"geodesicLength",(function(){return Y})),r.d(e,"intersect",(function(){return w})),r.d(e,"intersects",(function(){return f})),r.d(e,"isSimple",(function(){return g})),r.d(e,"nearestCoordinate",(function(){return P})),r.d(e,"nearestVertex",(function(){return A})),r.d(e,"nearestVertices",(function(){return G})),r.d(e,"offset",(function(){return R})),r.d(e,"overlaps",(function(){return y})),r.d(e,"planarArea",(function(){return L})),r.d(e,"planarLength",(function(){return F})),r.d(e,"relate",(function(){return m})),r.d(e,"rotate",(function(){return k})),r.d(e,"simplify",(function(){return O})),r.d(e,"symmetricDifference",(function(){return v})),r.d(e,"touches",(function(){return p})),r.d(e,"union",(function(){return S})),r.d(e,"within",(function(){return b}));var i=r("f606"),n=r("7590");function s(t){return Array.isArray(t)?t[0].spatialReference:t&&t.spatialReference}function o(t){return i["G"].extendedSpatialReferenceInfo(t)}function a(t,e){return i["G"].clip(n["hydratedAdapter"],s(t),t,e)}function c(t,e){return i["G"].cut(n["hydratedAdapter"],s(t),t,e)}function h(t,e){return i["G"].contains(n["hydratedAdapter"],s(t),t,e)}function l(t,e){return i["G"].crosses(n["hydratedAdapter"],s(t),t,e)}function u(t,e,r){return i["G"].distance(n["hydratedAdapter"],s(t),t,e,r)}function d(t,e){return i["G"].equals(n["hydratedAdapter"],s(t),t,e)}function f(t,e){return i["G"].intersects(n["hydratedAdapter"],s(t),t,e)}function p(t,e){return i["G"].touches(n["hydratedAdapter"],s(t),t,e)}function b(t,e){return i["G"].within(n["hydratedAdapter"],s(t),t,e)}function _(t,e){return i["G"].disjoint(n["hydratedAdapter"],s(t),t,e)}function y(t,e){return i["G"].overlaps(n["hydratedAdapter"],s(t),t,e)}function m(t,e,r){return i["G"].relate(n["hydratedAdapter"],s(t),t,e,r)}function g(t){return i["G"].isSimple(n["hydratedAdapter"],s(t),t)}function O(t){return i["G"].simplify(n["hydratedAdapter"],s(t),t)}function j(t,e=!1){return i["G"].convexHull(n["hydratedAdapter"],s(t),t,e)}function x(t,e){return i["G"].difference(n["hydratedAdapter"],s(t),t,e)}function v(t,e){return i["G"].symmetricDifference(n["hydratedAdapter"],s(t),t,e)}function w(t,e){return i["G"].intersect(n["hydratedAdapter"],s(t),t,e)}function S(t,e=null){return i["G"].union(n["hydratedAdapter"],s(t),t,e)}function R(t,e,r,o,a,c){return i["G"].offset(n["hydratedAdapter"],s(t),t,e,r,o,a,c)}function C(t,e,r,o=!1){return i["G"].buffer(n["hydratedAdapter"],s(t),t,e,r,o)}function M(t,e,r,o,a,c){return i["G"].geodesicBuffer(n["hydratedAdapter"],s(t),t,e,r,o,a,c)}function P(t,e,r=!0){return i["G"].nearestCoordinate(n["hydratedAdapter"],s(t),t,e,r)}function A(t,e){return i["G"].nearestVertex(n["hydratedAdapter"],s(t),t,e)}function G(t,e,r,o){return i["G"].nearestVertices(n["hydratedAdapter"],s(t),t,e,r,o)}function E(t){return"xmin"in t?"center"in t?t.center:null:"x"in t?t:"extent"in t?t.extent.center:null}function k(t,e,r){var n;if(null==t)throw new Error("Illegal Argument Exception");const s=t.spatialReference;if(null==(r=null!=(n=r)?n:E(t)))throw new Error("Illegal Argument Exception");const o=t.constructor.fromJSON(i["G"].rotate(t,e,r));return o.spatialReference=s,o}function I(t,e){var r;if(null==t)throw new Error("Illegal Argument Exception");const n=t.spatialReference;if(null==(e=null!=(r=e)?r:E(t)))throw new Error("Illegal Argument Exception");const s=t.constructor.fromJSON(i["G"].flipHorizontal(t,e));return s.spatialReference=n,s}function T(t,e){var r;if(null==t)throw new Error("Illegal Argument Exception");const n=t.spatialReference;if(null==(e=null!=(r=e)?r:E(t)))throw new Error("Illegal Argument Exception");const s=t.constructor.fromJSON(i["G"].flipVertical(t,e));return s.spatialReference=n,s}function z(t,e,r,o){return i["G"].generalize(n["hydratedAdapter"],s(t),t,e,r,o)}function V(t,e,r){return i["G"].densify(n["hydratedAdapter"],s(t),t,e,r)}function D(t,e,r,o=0){return i["G"].geodesicDensify(n["hydratedAdapter"],s(t),t,e,r,o)}function L(t,e){return i["G"].planarArea(n["hydratedAdapter"],s(t),t,e)}function F(t,e){return i["G"].planarLength(n["hydratedAdapter"],s(t),t,e)}function $(t,e,r){return i["G"].geodesicArea(n["hydratedAdapter"],s(t),t,e,r)}function Y(t,e,r){return i["G"].geodesicLength(n["hydratedAdapter"],s(t),t,e,r)}},f315:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return n})),r.d(e,"d",(function(){return a}));var i=r("8048");function n(t,e){return{type:Object(i["u"])(e),value:t,unit:e}}function s(t,e){return{type:Object(i["u"])(e),value:t,unit:e}}function o(t,e){return{type:Object(i["u"])(e),value:t,unit:e}}function a(t,e){return n(Object(i["c"])(t.value,t.unit,e),e)}},f53a:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));class i{constructor(t){this._attached=!1,this._resourcesCreated=!1,this._visible=!0,this.view=t,this.view.watch("ready",t=>{this._resourcesCreated&&(t?this._createResources():this._destroyResources())})}applyProps(t){let e=!1;for(const r in t)r in this?"attached"===r?e=t[r]:this[r]=t[r]:console.error("Cannot set unknown property",r);this.attached=e}destroy(){this.attached=!1}get attached(){return this._attached}set attached(t){t!==this._attached&&this.view._stage&&(this._attached=t,this._attached&&!this._resourcesCreated?this._createResources():!this._attached&&this._resourcesCreated&&this._destroyResources())}get visible(){return this._visible}set visible(t){t!==this._visible&&(this._visible=t,this.attached&&this.updateVisibility(t))}_createResources(){this.createResources(),this._resourcesCreated=!0,this.visible||this.updateVisibility(!1)}_destroyResources(){this.destroyResources(),this._resourcesCreated=!1}}}}]); //# sourceMappingURL=chunk-72413f24.59ac7f4b.js.map