"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6061,8377],{4144:(e,n,t)=>{t.d(n,{Hh:()=>u,fz:()=>a,g7:()=>l,s1:()=>s,zo:()=>c});var o=t(76061),i=t(83290);let r;function s(){return!!r&&(0,i.i)()}async function u(){if(!s()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(9192)]).then(t.bind(t,9192)),Promise.all([t.e(3661),t.e(1878),t.e(5756)]).then(t.bind(t,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,i.l)()]);r=new e.OperatorProject,n(i.p)}}function l(e,n){return r.execute(e,n,null)}function c(e,n){const t=r.executeMany(new o.S(e),n,null);return Array.from(t)}function a(){return r.supportsCurves()}},8377:(e,n,t)=>{t.r(n),t.d(n,{execute:()=>p,executeMany:()=>h,isLoaded:()=>m,load:()=>d});var o=t(4144),i=t(17499),r=t(60408);let s,u,l,c,a,f;function m(){return!!s&&(0,o.s1)()}async function d(){if(!m()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(3299),t.e(189)]).then(t.bind(t,83299)),Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(6129)]).then(t.bind(t,86129)),(0,o.Hh)()]);s=e.fromGeometries,u=e.fromGeometry,l=e.fromSpatialReference,c=e.toGeometry,a=e.getSpatialReference,f=n.createProjectionTransformation}}function p(e,n,t){const s=u(e),a=l(n),m=f(s.getSpatialReference(),a,t),d=c((0,o.g7)(s.getGeometry(),m),a);return!t?.zConversionDisabled&&d&&!(0,r.uW)(d)&&e.spatialReference&&(0,i.gw)([d],e.spatialReference,n),d}function h(e,n,t){const[r,u]=s(e),m=l(n),d=f(u,m,t),p=(0,o.zo)(r,d).map(e=>c(e,m));if(!t?.zConversionDisabled&&p){const t=a(e);t&&(0,i.gw)(p,t,n)}return p}},17499:(e,n,t)=>{t.d(n,{gw:()=>s});var o=t(49186),i=t(60408),r=t(62815);function s(e,n,t){let o;for(const s of e)if(s&&(0,i.Pv)(s)&&!("vertexAttributes"in s)){if(!o){null==n.vcsWkid&&null==t.vcsWkid||l(n,t);const e="type"in s?s.type:(0,i.$B)(s);if(o=(0,r.N)(e,n,t),!o)return}o(s)}}class u extends o.A{constructor(){super("projection:z-unsupported","projection of z values is unsupported between different vertical coordinate systems")}}function l({vcsWkid:e},{vcsWkid:n}){if((e??null)!==(n??null))throw new u}},60408:(e,n,t)=>{function o(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function u(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?r(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":u(e)?"esriGeometryPolygon":o(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function a(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}t.d(n,{$B:()=>c,Bi:()=>u,Pv:()=>a,Rg:()=>s,U9:()=>i,W0:()=>f,ZC:()=>o,fT:()=>r,uW:()=>l})},62815:(e,n,t)=>{t.d(n,{N:()=>s});var o=t(86211),i=t(73941),r=t(21325);function s(e,n,t){if(null==n||null==t||t.vcsWkid||(0,r.aI)(n,t)||(0,i.xP)(n)||(0,i.xP)(t))return;const s=(0,o.G9)(n)/(0,o.G9)(t);if(1!==s)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,n){null!=e?.z&&(e.z*=n)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,n){if(e)for(const t of e.paths)for(const e of t)e.length>2&&(e[2]*=n)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,n){if(e)for(const t of e.rings)for(const e of t)e.length>2&&(e[2]*=n)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,n){if(e)for(const t of e.points)t.length>2&&(t[2]*=n)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,n){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=n,e.zmax*=n)}(e,s);default:return}}},76061:(e,n,t)=>{t.d(n,{G:()=>o,S:()=>i});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class i extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);