text: self.webpackChunkRemoteClient([6],{103:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return M})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return b})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return a})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return g})),n.d(e,"k",(function(){return I})),n.d(e,"l",(function(){return d})),n.d(e,"m",(function(){return s})),n.d(e,"n",(function(){return w})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return p})),n.d(e,"q",(function(){return E})),n.d(e,"r",(function(){return i})),n.d(e,"s",(function(){return O})),n.d(e,"t",(function(){return k}));var r=n(91),o=n(174);function s(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function p(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function m(t,e){const n=e[0],r=e[1],o=e[2];let s=n*n+r*r+o*o;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function M(t,e,n){const r=e[0],o=e[1],s=e[2],a=n[0],i=n[1],u=n[2];return t[0]=o*u-s*i,t[1]=s*a-r*u,t[2]=r*i-o*a,t}function b(t,e,n,r){const o=e[0],s=e[1],a=e[2];return t[0]=o+r*(n[0]-o),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t}function g(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*s+n[12],t[1]=n[1]*r+n[5]*o+n[9]*s+n[13],t[2]=n[2]*r+n[6]*o+n[10]*s+n[14],t}function O(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=r*n[0]+o*n[3]+s*n[6],t[1]=r*n[1]+o*n[4]+s*n[7],t[2]=r*n[2]+o*n[5]+s*n[8],t}function E(t,e,n){const r=n[0],o=n[1],s=n[2],a=n[3],i=e[0],u=e[1],c=e[2];let l=o*c-s*u,f=s*i-r*c,h=r*u-o*i,d=o*h-s*f,_=s*l-r*h,p=r*f-o*l;const m=2*a;return l*=m,f*=m,h*=m,d*=2,_*=2,p*=2,t[0]=i+l+d,t[1]=u+f+_,t[2]=c+h+p,t}const y=Object(r.e)(),T=Object(r.e)();function w(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}let S=c,j=l,R=f,k=d,N=_,I=s,x=p;Object.freeze({__proto__:null,length:s,copy:a,set:i,add:u,subtract:c,multiply:l,divide:f,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:h,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},distance:d,squaredDistance:_,squaredLength:p,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t},normalize:m,dot:P,cross:M,lerp:b,hermite:function(t,e,n,r,o,s){const a=s*s,i=a*(2*s-3)+1,u=a*(s-2)+s,c=a*(s-1),l=a*(3-2*s);return t[0]=e[0]*i+n[0]*u+r[0]*c+o[0]*l,t[1]=e[1]*i+n[1]*u+r[1]*c+o[1]*l,t[2]=e[2]*i+n[2]*u+r[2]*c+o[2]*l,t},bezier:function(t,e,n,r,o,s){const a=1-s,i=a*a,u=s*s,c=i*a,l=3*s*i,f=3*u*a,h=u*s;return t[0]=e[0]*c+n[0]*l+r[0]*f+o[0]*h,t[1]=e[1]*c+n[1]*l+r[1]*f+o[1]*h,t[2]=e[2]*c+n[2]*l+r[2]*f+o[2]*h,t},random:function(t,e){e=e||1;const n=2*Object(o.b)()*Math.PI,r=2*Object(o.b)()-1,s=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*s,t[1]=Math.sin(n)*s,t[2]=r*e,t},transformMat4:g,transformMat3:O,transformQuat:E,rotateX:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0],s[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),s[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),s[1]=o[1],s[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),s[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),s[2]=o[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},angle:function(t,e){a(y,t),a(T,e),m(y,y),m(T,T);const n=P(y,T);return n>1?0:n<-1?Math.PI:Math.acos(n)},str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},exactEquals:w,equals:function(t,e){const n=t[0],r=t[1],s=t[2],a=e[0],i=e[1],u=e[2];return Math.abs(n-a)<=o.a*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-i)<=o.a*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(s-u)<=o.a*Math.max(1,Math.abs(s),Math.abs(u))},sub:S,mul:j,div:R,dist:k,sqrDist:N,len:I,sqrLen:x})},109:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return a}));var r=n(7),o=n(24);const s="4.18",a={request:(t,e)=>Promise.resolve().then(n.bind(null,55)).then(({default:n})=>{const r=t.options||{};return r.responseType="array-buffer",r.signal=null==e?void 0:e.signal,n(t.url,r)}).then(t=>({result:{data:t.data,ssl:t.ssl},transferList:[t.data]}))};let i;function u(t){i=t}function c(t){const e=i&&i.findCredential(t);return e&&e.token?Object(o.d)(t,"token",e.token):t}Object(r.a)("host-webworker")||(Object(r.a)("edge")||Object(r.a)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},113:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(16),o=n(24);n(55);function s(t){return Object(o.x)(r.a.assetsPath,t)}},114:function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return i}));n(7);var r=n(57);function o(t=p){return[t[0],t[1],t[2],t[3]]}function s(t,e,n,r,s=o()){return s[0]=t,s[1]=e,s[2]=n,s[3]=r,s}function a(t,e=o()){return e[0]=t.xmin,e[1]=t.ymin,e[2]=t.xmax,e[3]=t.ymax,e}function i(t,e){return new r.a({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:e})}function u(t,e,n=t){if("length"in e)d(e)?(n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n[2]=Math.max(t[2],e[2]),n[3]=Math.max(t[3],e[3])):2!==e.length&&3!==e.length||(n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n[2]=Math.max(t[2],e[0]),n[3]=Math.max(t[3],e[1]));else switch(e.type){case"extent":n[0]=Math.min(t[0],e.xmin),n[1]=Math.min(t[1],e.ymin),n[2]=Math.max(t[2],e.xmax),n[3]=Math.max(t[3],e.ymax);break;case"point":n[0]=Math.min(t[0],e.x),n[1]=Math.min(t[1],e.y),n[2]=Math.max(t[2],e.x),n[3]=Math.max(t[3],e.y)}return n}function c(t,e,n=t){const r=e.length;let o=t[0],s=t[1],a=t[2],i=t[3];for(let t=0;t<r;t++){const n=e[t];o=Math.min(o,n[0]),s=Math.min(s,n[1]),a=Math.max(a,n[0]),i=Math.max(i,n[1])}return n[0]=o,n[1]=s,n[2]=a,n[3]=i,n}function l(t,e){return e[0]>=t[0]&&e[2]<=t[2]&&e[1]>=t[1]&&e[3]<=t[3]}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function h(t){return t?f(t,_):o(_)}function d(t){return 4===t.length}const _=[1/0,1/0,-1/0,-1/0],p=[0,0,0,0]},174:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return i}));const r=1e-6,o=Math.random,s=Math.PI/180,a=180/Math.PI;function i(t){return t*s}function u(t){return t*a}Object.freeze({__proto__:null,EPSILON:1e-6,RANDOM:o,toRadian:i,toDegree:u,equals:function(t,e){return Math.abs(t-e)<=1e-6*Math.max(1,Math.abs(t),Math.abs(e))}})},210:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return l}));var r=n(91),o=n(174);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function i(t,e){if(t===e){const n=e[1],r=e[2],o=e[3],s=e[6],a=e[7],i=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=s,t[11]=e[14],t[12]=o,t[13]=a,t[14]=i}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],i=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],_=e[12],p=e[13],m=e[14],P=e[15],M=n*i-r*a,b=n*u-o*a,g=n*c-s*a,O=r*u-o*i,E=r*c-s*i,y=o*c-s*u,T=l*p-f*_,w=l*m-h*_,S=l*P-d*_,j=f*m-h*p,R=f*P-d*p,k=h*P-d*m;let N=M*k-b*R+g*j+O*S-E*w+y*T;return N?(N=1/N,t[0]=(i*k-u*R+c*j)*N,t[1]=(o*R-r*k-s*j)*N,t[2]=(p*y-m*E+P*O)*N,t[3]=(h*E-f*y-d*O)*N,t[4]=(u*S-a*k-c*w)*N,t[5]=(n*k-o*S+s*w)*N,t[6]=(m*g-_*y-P*b)*N,t[7]=(l*y-h*g+d*b)*N,t[8]=(a*R-i*S+c*T)*N,t[9]=(r*S-n*R-s*T)*N,t[10]=(_*E-p*g+P*M)*N,t[11]=(f*g-l*E-d*M)*N,t[12]=(i*w-a*j-u*T)*N,t[13]=(n*j-r*w+o*T)*N,t[14]=(p*b-_*O-m*M)*N,t[15]=(l*O-f*b+h*M)*N,t):null}function c(t,e,n){const r=e[0],o=e[1],s=e[2],a=e[3],i=e[4],u=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],_=e[11],p=e[12],m=e[13],P=e[14],M=e[15];let b=n[0],g=n[1],O=n[2],E=n[3];return t[0]=b*r+g*i+O*f+E*p,t[1]=b*o+g*u+O*h+E*m,t[2]=b*s+g*c+O*d+E*P,t[3]=b*a+g*l+O*_+E*M,b=n[4],g=n[5],O=n[6],E=n[7],t[4]=b*r+g*i+O*f+E*p,t[5]=b*o+g*u+O*h+E*m,t[6]=b*s+g*c+O*d+E*P,t[7]=b*a+g*l+O*_+E*M,b=n[8],g=n[9],O=n[10],E=n[11],t[8]=b*r+g*i+O*f+E*p,t[9]=b*o+g*u+O*h+E*m,t[10]=b*s+g*c+O*d+E*P,t[11]=b*a+g*l+O*_+E*M,b=n[12],g=n[13],O=n[14],E=n[15],t[12]=b*r+g*i+O*f+E*p,t[13]=b*o+g*u+O*h+E*m,t[14]=b*s+g*c+O*d+E*P,t[15]=b*a+g*l+O*_+E*M,t}function l(t,e,n){const r=n[0],o=n[1],s=n[2];let a,i,u,c,l,f,h,d,_,p,m,P;return e===t?(t[12]=e[0]*r+e[4]*o+e[8]*s+e[12],t[13]=e[1]*r+e[5]*o+e[9]*s+e[13],t[14]=e[2]*r+e[6]*o+e[10]*s+e[14],t[15]=e[3]*r+e[7]*o+e[11]*s+e[15]):(a=e[0],i=e[1],u=e[2],c=e[3],l=e[4],f=e[5],h=e[6],d=e[7],_=e[8],p=e[9],m=e[10],P=e[11],t[0]=a,t[1]=i,t[2]=u,t[3]=c,t[4]=l,t[5]=f,t[6]=h,t[7]=d,t[8]=_,t[9]=p,t[10]=m,t[11]=P,t[12]=a*r+l*o+_*s+e[12],t[13]=i*r+f*o+p*s+e[13],t[14]=u*r+h*o+m*s+e[14],t[15]=c*r+d*o+P*s+e[15]),t}function f(t,e,n){const r=n[0],o=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*o,t[5]=e[5]*o,t[6]=e[6]*o,t[7]=e[7]*o,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function h(t,e,n,r){let s,a,i,u,c,l,f,h,d,_,p,m,P,M,b,g,O,E,y,T,w,S,j,R,k=r[0],N=r[1],I=r[2],x=Math.sqrt(k*k+N*N+I*I);return x<o.a?null:(x=1/x,k*=x,N*=x,I*=x,s=Math.sin(n),a=Math.cos(n),i=1-a,u=e[0],c=e[1],l=e[2],f=e[3],h=e[4],d=e[5],_=e[6],p=e[7],m=e[8],P=e[9],M=e[10],b=e[11],g=k*k*i+a,O=N*k*i+I*s,E=I*k*i-N*s,y=k*N*i-I*s,T=N*N*i+a,w=I*N*i+k*s,S=k*I*i+N*s,j=N*I*i-k*s,R=I*I*i+a,t[0]=u*g+h*O+m*E,t[1]=c*g+d*O+P*E,t[2]=l*g+_*O+M*E,t[3]=f*g+p*O+b*E,t[4]=u*y+h*T+m*w,t[5]=c*y+d*T+P*w,t[6]=l*y+_*T+M*w,t[7]=f*y+p*T+b*w,t[8]=u*S+h*j+m*R,t[9]=c*S+d*j+P*R,t[10]=l*S+_*j+M*R,t[11]=f*S+p*j+b*R,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}function d(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,e,n){const r=e[0],o=e[1],s=e[2],a=e[3],i=r+r,u=o+o,c=s+s,l=r*i,f=r*u,h=r*c,d=o*u,_=o*c,p=s*c,m=a*i,P=a*u,M=a*c;return t[0]=1-(d+p),t[1]=f+M,t[2]=h-P,t[3]=0,t[4]=f-M,t[5]=1-(l+p),t[6]=_+m,t[7]=0,t[8]=h+P,t[9]=_-m,t[10]=1-(l+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const p=Object(r.e)();function m(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}let P=c,M=m;Object.freeze({__proto__:null,copy:s,set:function(t,e,n,r,o,s,a,i,u,c,l,f,h,d,_,p,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=a,t[6]=i,t[7]=u,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=_,t[14]=p,t[15]=m,t},identity:a,transpose:i,invert:u,adjoint:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],i=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],_=e[12],p=e[13],m=e[14],P=e[15];return t[0]=i*(h*P-d*m)-f*(u*P-c*m)+p*(u*d-c*h),t[1]=-(r*(h*P-d*m)-f*(o*P-s*m)+p*(o*d-s*h)),t[2]=r*(u*P-c*m)-i*(o*P-s*m)+p*(o*c-s*u),t[3]=-(r*(u*d-c*h)-i*(o*d-s*h)+f*(o*c-s*u)),t[4]=-(a*(h*P-d*m)-l*(u*P-c*m)+_*(u*d-c*h)),t[5]=n*(h*P-d*m)-l*(o*P-s*m)+_*(o*d-s*h),t[6]=-(n*(u*P-c*m)-a*(o*P-s*m)+_*(o*c-s*u)),t[7]=n*(u*d-c*h)-a*(o*d-s*h)+l*(o*c-s*u),t[8]=a*(f*P-d*p)-l*(i*P-c*p)+_*(i*d-c*f),t[9]=-(n*(f*P-d*p)-l*(r*P-s*p)+_*(r*d-s*f)),t[10]=n*(i*P-c*p)-a*(r*P-s*p)+_*(r*c-s*i),t[11]=-(n*(i*d-c*f)-a*(r*d-s*f)+l*(r*c-s*i)),t[12]=-(a*(f*m-h*p)-l*(i*m-u*p)+_*(i*h-u*f)),t[13]=n*(f*m-h*p)-l*(r*m-o*p)+_*(r*h-o*f),t[14]=-(n*(i*m-u*p)-a*(r*m-o*p)+_*(r*u-o*i)),t[15]=n*(i*h-u*f)-a*(r*h-o*f)+l*(r*u-o*i),t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],s=t[4],a=t[5],i=t[6],u=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],_=t[13],p=t[14],m=t[15];return(e*a-n*s)*(f*m-h*p)-(e*i-r*s)*(l*m-h*_)+(e*u-o*s)*(l*p-f*_)+(n*i-r*a)*(c*m-h*d)-(n*u-o*a)*(c*p-f*d)+(r*u-o*i)*(c*_-l*d)},multiply:c,translate:l,scale:f,rotate:h,rotateX:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[4],a=e[5],i=e[6],u=e[7],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*o+c*r,t[5]=a*o+l*r,t[6]=i*o+f*r,t[7]=u*o+h*r,t[8]=c*o-s*r,t[9]=l*o-a*r,t[10]=f*o-i*r,t[11]=h*o-u*r,t},rotateY:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],a=e[1],i=e[2],u=e[3],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o-c*r,t[1]=a*o-l*r,t[2]=i*o-f*r,t[3]=u*o-h*r,t[8]=s*r+c*o,t[9]=a*r+l*o,t[10]=i*r+f*o,t[11]=u*r+h*o,t},rotateZ:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],a=e[1],i=e[2],u=e[3],c=e[4],l=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o+c*r,t[1]=a*o+l*r,t[2]=i*o+f*r,t[3]=u*o+h*r,t[4]=c*o-s*r,t[5]=l*o-a*r,t[6]=f*o-i*r,t[7]=h*o-u*r,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromRotation:function(t,e,n){let r,s,a,i=n[0],u=n[1],c=n[2],l=Math.sqrt(i*i+u*u+c*c);return l<o.a?null:(l=1/l,i*=l,u*=l,c*=l,r=Math.sin(e),s=Math.cos(e),a=1-s,t[0]=i*i*a+s,t[1]=u*i*a+c*r,t[2]=c*i*a-u*r,t[3]=0,t[4]=i*u*a-c*r,t[5]=u*u*a+s,t[6]=c*u*a+i*r,t[7]=0,t[8]=i*c*a+u*r,t[9]=u*c*a-i*r,t[10]=c*c*a+s,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)},fromXRotation:d,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromRotationTranslation:_,fromQuat2:function(t,e){const n=p,r=-e[0],o=-e[1],s=-e[2],a=e[3],i=e[4],u=e[5],c=e[6],l=e[7],f=r*r+o*o+s*s+a*a;return f>0?(n[0]=2*(i*a+l*r+u*s-c*o)/f,n[1]=2*(u*a+l*o+c*r-i*s)/f,n[2]=2*(c*a+l*s+i*o-u*r)/f):(n[0]=2*(i*a+l*r+u*s-c*o),n[1]=2*(u*a+l*o+c*r-i*s),n[2]=2*(c*a+l*s+i*o-u*r)),_(t,e,n),t},getTranslation:function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},getScaling:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[4],a=e[5],i=e[6],u=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(n*n+r*r+o*o),t[1]=Math.sqrt(s*s+a*a+i*i),t[2]=Math.sqrt(u*u+c*c+l*l),t},getRotation:function(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t},fromRotationTranslationScale:function(t,e,n,r){const o=e[0],s=e[1],a=e[2],i=e[3],u=o+o,c=s+s,l=a+a,f=o*u,h=o*c,d=o*l,_=s*c,p=s*l,m=a*l,P=i*u,M=i*c,b=i*l,g=r[0],O=r[1],E=r[2];return t[0]=(1-(_+m))*g,t[1]=(h+b)*g,t[2]=(d-M)*g,t[3]=0,t[4]=(h-b)*O,t[5]=(1-(f+m))*O,t[6]=(p+P)*O,t[7]=0,t[8]=(d+M)*E,t[9]=(p-P)*E,t[10]=(1-(f+_))*E,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t},fromRotationTranslationScaleOrigin:function(t,e,n,r,o){const s=e[0],a=e[1],i=e[2],u=e[3],c=s+s,l=a+a,f=i+i,h=s*c,d=s*l,_=s*f,p=a*l,m=a*f,P=i*f,M=u*c,b=u*l,g=u*f,O=r[0],E=r[1],y=r[2],T=o[0],w=o[1],S=o[2],j=(1-(p+P))*O,R=(d+g)*O,k=(_-b)*O,N=(d-g)*E,I=(1-(h+P))*E,x=(m+M)*E,A=(_+b)*y,U=(m-M)*y,q=(1-(h+p))*y;return t[0]=j,t[1]=R,t[2]=k,t[3]=0,t[4]=N,t[5]=I,t[6]=x,t[7]=0,t[8]=A,t[9]=U,t[10]=q,t[11]=0,t[12]=n[0]+T-(j*T+N*w+A*S),t[13]=n[1]+w-(R*T+I*w+U*S),t[14]=n[2]+S-(k*T+x*w+q*S),t[15]=1,t},fromQuat:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=n+n,i=r+r,u=o+o,c=n*a,l=r*a,f=r*i,h=o*a,d=o*i,_=o*u,p=s*a,m=s*i,P=s*u;return t[0]=1-f-_,t[1]=l+P,t[2]=h-m,t[3]=0,t[4]=l-P,t[5]=1-c-_,t[6]=d+p,t[7]=0,t[8]=h+m,t[9]=d-p,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},frustum:function(t,e,n,r,o,s,a){const i=1/(n-e),u=1/(o-r),c=1/(s-a);return t[0]=2*s*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*u,t[6]=0,t[7]=0,t[8]=(n+e)*i,t[9]=(o+r)*u,t[10]=(a+s)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*s*2*c,t[15]=0,t},perspective:function(t,e,n,r,o){const s=1/Math.tan(e/2);let a;return t[0]=s/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=o&&o!==1/0?(a=1/(r-o),t[10]=(o+r)*a,t[14]=2*o*r*a):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const o=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),i=Math.tan(e.rightDegrees*Math.PI/180),u=2/(a+i),c=2/(o+s);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(a-i)*u*.5,t[9]=(o-s)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},ortho:function(t,e,n,r,o,s,a){const i=1/(e-n),u=1/(r-o),c=1/(s-a);return t[0]=-2*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*i,t[13]=(o+r)*u,t[14]=(a+s)*c,t[15]=1,t},lookAt:function(t,e,n,r){let s,i,u,c,l,f,h,d,_,p;const m=e[0],P=e[1],M=e[2],b=r[0],g=r[1],O=r[2],E=n[0],y=n[1],T=n[2];return Math.abs(m-E)<o.a&&Math.abs(P-y)<o.a&&Math.abs(M-T)<o.a?a(t):(h=m-E,d=P-y,_=M-T,p=1/Math.sqrt(h*h+d*d+_*_),h*=p,d*=p,_*=p,s=g*_-O*d,i=O*h-b*_,u=b*d-g*h,p=Math.sqrt(s*s+i*i+u*u),p?(p=1/p,s*=p,i*=p,u*=p):(s=0,i=0,u=0),c=d*u-_*i,l=_*s-h*u,f=h*i-d*s,p=Math.sqrt(c*c+l*l+f*f),p?(p=1/p,c*=p,l*=p,f*=p):(c=0,l=0,f=0),t[0]=s,t[1]=c,t[2]=h,t[3]=0,t[4]=i,t[5]=l,t[6]=d,t[7]=0,t[8]=u,t[9]=f,t[10]=_,t[11]=0,t[12]=-(s*m+i*P+u*M),t[13]=-(c*m+l*P+f*M),t[14]=-(h*m+d*P+_*M),t[15]=1,t)},targetTo:function(t,e,n,r){const o=e[0],s=e[1],a=e[2],i=r[0],u=r[1],c=r[2];let l=o-n[0],f=s-n[1],h=a-n[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let _=u*h-c*f,p=c*l-i*h,m=i*f-u*l;return d=_*_+p*p+m*m,d>0&&(d=1/Math.sqrt(d),_*=d,p*=d,m*=d),t[0]=_,t[1]=p,t[2]=m,t[3]=0,t[4]=f*m-h*p,t[5]=h*_-l*m,t[6]=l*p-f*_,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=o,t[13]=s,t[14]=a,t[15]=1,t},str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},frob:function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2)+Math.pow(t[4],2)+Math.pow(t[5],2)+Math.pow(t[6],2)+Math.pow(t[7],2)+Math.pow(t[8],2)+Math.pow(t[9],2)+Math.pow(t[10],2)+Math.pow(t[11],2)+Math.pow(t[12],2)+Math.pow(t[13],2)+Math.pow(t[14],2)+Math.pow(t[15],2))},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},subtract:m,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]},equals:function(t,e){const n=t[0],r=t[1],s=t[2],a=t[3],i=t[4],u=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],_=t[11],p=t[12],m=t[13],P=t[14],M=t[15],b=e[0],g=e[1],O=e[2],E=e[3],y=e[4],T=e[5],w=e[6],S=e[7],j=e[8],R=e[9],k=e[10],N=e[11],I=e[12],x=e[13],A=e[14],U=e[15];return Math.abs(n-b)<=o.a*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(r-g)<=o.a*Math.max(1,Math.abs(r),Math.abs(g))&&Math.abs(s-O)<=o.a*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(a-E)<=o.a*Math.max(1,Math.abs(a),Math.abs(E))&&Math.abs(i-y)<=o.a*Math.max(1,Math.abs(i),Math.abs(y))&&Math.abs(u-T)<=o.a*Math.max(1,Math.abs(u),Math.abs(T))&&Math.abs(c-w)<=o.a*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(l-S)<=o.a*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(f-j)<=o.a*Math.max(1,Math.abs(f),Math.abs(j))&&Math.abs(h-R)<=o.a*Math.max(1,Math.abs(h),Math.abs(R))&&Math.abs(d-k)<=o.a*Math.max(1,Math.abs(d),Math.abs(k))&&Math.abs(_-N)<=o.a*Math.max(1,Math.abs(_),Math.abs(N))&&Math.abs(p-I)<=o.a*Math.max(1,Math.abs(p),Math.abs(I))&&Math.abs(m-x)<=o.a*Math.max(1,Math.abs(m),Math.abs(x))&&Math.abs(P-A)<=o.a*Math.max(1,Math.abs(P),Math.abs(A))&&Math.abs(M-U)<=o.a*Math.max(1,Math.abs(M),Math.abs(U))},mul:P,sub:M})},308:function(t,e,n){"use strict";n.d(e,"a",(function(){return it})),n.d(e,"b",(function(){return ut})),n.d(e,"c",(function(){return et})),n.d(e,"d",(function(){return nt})),n.d(e,"e",(function(){return rt})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return mt})),n.d(e,"h",(function(){return st})),n.d(e,"i",(function(){return ht}));var r=n(1),o=n(14),s=n(2),a=n(78),i=n(92),u=n(64),c=n(57),l=n(140),f=n(108),h=n(102),d=n(81),_=n(91),p=(n(103),n(338)),m=n(67),P=(n(210),n(7)),M=n(113);let b,g=null;function O(){return!!g}function E(){return b||(b=Object(s.c)((t,e)=>{n.e(69).then(n.bind(null,547)).then((function(t){return t.p})).then(({default:n})=>{n({locateFile:t=>Object(M.a)("esri/geometry/support/"+t),onAbort:t=>{e(new Error(t))}}).then(e=>{G(e),t()})})}),b)}var y,T,w,S;!function(t){function e(t,e,n){g.ensureCache.prepare();const r=L(n),o=n===r,s=g.ensureFloat64(r),a=g._pe_geog_to_proj(g.getPointer(t),e,s);return a&&F(n,e,s,o),a}function n(t,e,n){return r(t,e,n,0)}function r(t,e,n,r){g.ensureCache.prepare();const o=L(n),s=n===o,a=g.ensureFloat64(o),i=g._pe_proj_to_geog_center(g.getPointer(t),e,a,r);return i&&F(n,e,a,s),i}t.geogToProj=e,t.projGeog=function(t,r,o,s){switch(s){case T.PE_TRANSFORM_P_TO_G:return n(t,r,o);case T.PE_TRANSFORM_G_TO_P:return e(t,r,o)}return 0},t.projToGeog=n,t.projToGeogCenter=r}(y||(y={})),(S=T||(T={})).init=function(){S.PE_BUFFER_MAX=g.PeDefs.prototype.PE_BUFFER_MAX,S.PE_NAME_MAX=g.PeDefs.prototype.PE_NAME_MAX,S.PE_MGRS_MAX=g.PeDefs.prototype.PE_MGRS_MAX,S.PE_USNG_MAX=g.PeDefs.prototype.PE_USNG_MAX,S.PE_DD_MAX=g.PeDefs.prototype.PE_DD_MAX,S.PE_DDM_MAX=g.PeDefs.prototype.PE_DDM_MAX,S.PE_DMS_MAX=g.PeDefs.prototype.PE_DMS_MAX,S.PE_UTM_MAX=g.PeDefs.prototype.PE_UTM_MAX,S.PE_PARM_MAX=g.PeDefs.prototype.PE_PARM_MAX,S.PE_TYPE_NONE=g.PeDefs.prototype.PE_TYPE_NONE,S.PE_TYPE_GEOGCS=g.PeDefs.prototype.PE_TYPE_GEOGCS,S.PE_TYPE_PROJCS=g.PeDefs.prototype.PE_TYPE_PROJCS,S.PE_TYPE_GEOGTRAN=g.PeDefs.prototype.PE_TYPE_GEOGTRAN,S.PE_TYPE_COORDSYS=g.PeDefs.prototype.PE_TYPE_COORDSYS,S.PE_TYPE_UNIT=g.PeDefs.prototype.PE_TYPE_UNIT,S.PE_STR_OPTS_NONE=g.PeDefs.prototype.PE_STR_OPTS_NONE,S.PE_STR_AUTH_NONE=g.PeDefs.prototype.PE_STR_AUTH_NONE,S.PE_STR_AUTH_TOP=g.PeDefs.prototype.PE_STR_AUTH_TOP,S.PE_STR_NAME_CANON=g.PeDefs.prototype.PE_STR_NAME_CANON,S.PE_PARM_X0=g.PeDefs.prototype.PE_PARM_X0,S.PE_PARM_ND=g.PeDefs.prototype.PE_PARM_ND,S.PE_TRANSFORM_1_TO_2=g.PeDefs.prototype.PE_TRANSFORM_1_TO_2,S.PE_TRANSFORM_2_TO_1=g.PeDefs.prototype.PE_TRANSFORM_2_TO_1,S.PE_TRANSFORM_P_TO_G=g.PeDefs.prototype.PE_TRANSFORM_P_TO_G,S.PE_TRANSFORM_G_TO_P=g.PeDefs.prototype.PE_TRANSFORM_G_TO_P,S.PE_HORIZON_RECT=g.PeDefs.prototype.PE_HORIZON_RECT,S.PE_HORIZON_POLY=g.PeDefs.prototype.PE_HORIZON_POLY,S.PE_HORIZON_LINE=g.PeDefs.prototype.PE_HORIZON_LINE,S.PE_HORIZON_DELTA=g.PeDefs.prototype.PE_HORIZON_DELTA},function(t){const e={},n={};function r(t,n){let r=null,s=e[t];if(s||(s={},e[t]=s),s.hasOwnProperty(String(n)))r=s[n];else{const e=g.PeFactory.prototype.factoryByType(t,n);g.compare(e,g.NULL)||(r=e,s[n]=r)}return r=o(r),r}function o(t){if(t){const e=t.getType();switch(e){case T.PE_TYPE_GEOGCS:t=g.castObject(t,g.PeGeogcs);break;case T.PE_TYPE_PROJCS:t=g.castObject(t,g.PeProjcs);break;case T.PE_TYPE_GEOGTRAN:t=g.castObject(t,g.PeGeogtran);break;default:e&T.PE_TYPE_UNIT&&(t=g.castObject(t,g.PeUnit))}}return t}t.initialize=function(){g.PeFactory.prototype.initialize(null)},t.coordsys=function(t){return r(T.PE_TYPE_COORDSYS,t)},t.factoryByType=r,t.fromString=function(t,e){let r=null,s=n[t];if(s||(s={},n[t]=s),s.hasOwnProperty(e))r=s[e];else{const n=g.PeFactory.prototype.fromString(t,e);g.compare(n,g.NULL)||(r=n,s[e]=r)}return r=o(r),r},t.geogcs=function(t){return r(T.PE_TYPE_GEOGCS,t)},t.geogtran=function(t){return r(T.PE_TYPE_GEOGTRAN,t)},t.getCode=function(t){return g.PeFactory.prototype.getCode(t)},t.projcs=function(t){return r(T.PE_TYPE_PROJCS,t)},t.unit=function(t){return r(T.PE_TYPE_UNIT,t)}}(w||(w={}));let j=null;var R,k,N,I,x,A,U,q,D;function G(t){function e(t,e,n){t[e]=n(t[e])}g=t,T.init(),R.init(),x.init(),U.init(),q.init(),j=class extends g.PeGCSExtent{destroy(){g.destroy(this)}};const n=[g.PeDatum,g.PeGeogcs,g.PeGeogtran,g.PeObject,g.PeParameter,g.PePrimem,g.PeProjcs,g.PeSpheroid,g.PeUnit];for(const t of n)e(t.prototype,"getName",t=>function(){return t.call(this,new Array(T.PE_NAME_MAX))});for(const t of[g.PeGeogtran,g.PeProjcs])e(t.prototype,"getParameters",t=>function(){const e=new Array(T.PE_PARM_MAX);let n=t.call(this);for(let t=0;t<e.length;t++){const r=g.getValue(n,"*");e[t]=r?g.wrapPointer(r,g.PeParameter):null,n+=Int32Array.BYTES_PER_ELEMENT}return e});e(g.PeHorizon.prototype,"getCoord",t=>function(){const e=this.getSize();if(!e)return null;const n=[];return F(n,e,t.call(this)),n}),e(g.PeGTlistExtendedEntry.prototype,"getEntries",t=>{const e=g._pe_getPeGTlistExtendedGTsSize();return function(){let n=null;const r=t.call(this);if(!g.compare(r,g.NULL)){n=[r];const t=this.getSteps();if(t>1){const o=g.getPointer(r);for(let r=1;r<t;r++)n.push(g.wrapPointer(o+e*r,g.PeGTlistExtendedGTs))}}return n}});const r=g._pe_getPeHorizonSize(),o=t=>function(){let e=this._cache;if(e||(e=new Map,this._cache=e),e.has(t))return e.get(t);let n=null;const o=t.call(this);if(!g.compare(o,g.NULL)){n=[o];const t=o.getNump();if(t>1){const e=g.getPointer(o);for(let o=1;o<t;o++)n.push(g.wrapPointer(e+r*o,g.PeHorizon))}}return e.set(t,n),n};e(g.PeProjcs.prototype,"horizonGcsGenerate",o),e(g.PeProjcs.prototype,"horizonPcsGenerate",o),g.PeObject.prototype.toString=function(t=T.PE_STR_OPTS_NONE){g.ensureCache.prepare();const e=g.getPointer(this),n=g.ensureInt8(new Array(T.PE_BUFFER_MAX));return g.UTF8ToString(g._pe_object_to_string_ext(e,t,n))}}function v(t){if(!t)return;const e=g.getClass(t);if(!e)return;const n=g.getCache(e);if(!n)return;const r=g.getPointer(t);r&&delete n[r]}function C(t,e){const n=[],r=new Array(e);for(let e=0;e<t;e++)n.push(g.ensureInt8(r));return n}function L(t){let e;return Array.isArray(t[0])?(e=[],t.forEach(t=>{e.push(t[0],t[1])})):e=t,e}function F(t,e,n,r=!1){if(r)for(let r=0;r<2*e;r++)t[r]=g.getValue(n+r*Float64Array.BYTES_PER_ELEMENT,"double");else{const r=0===t.length;for(let o=0;o<e;o++)r&&(t[o]=new Array(2)),t[o][0]=g.getValue(n,"double"),t[o][1]=g.getValue(n+Float64Array.BYTES_PER_ELEMENT,"double"),n+=2*Float64Array.BYTES_PER_ELEMENT}}!function(t){let e;t.init=function(){t.PE_GTLIST_OPTS_COMMON=g.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,e=g._pe_getPeGTlistExtendedEntrySize()},t.getGTlist=function(t,n,r,o,s,a){let i=null;const u=new g.PeInteger(a);try{const c=g.PeGTlistExtended.prototype.getGTlist(t,n,r,o,s,u);if((a=u.val)&&(i=[c],a>1)){const t=g.getPointer(c);for(let n=1;n<a;n++)i.push(g.wrapPointer(t+e*n,g.PeGTlistExtendedEntry))}}finally{g.destroy(u)}return i}}(R||(R={})),function(t){t.destroy=function(t){if(t&&t.length){for(const e of t)v(e),e.getEntries().forEach(t=>{v(t);const e=t.getGeogtran();v(e),e.getParameters().forEach(v),[e.getGeogcs1(),e.getGeogcs2()].forEach(t=>{v(t);const e=t.getDatum();v(e),v(e.getSpheroid()),v(t.getPrimem()),v(t.getUnit())})});g.PeGTlistExtendedEntry.prototype.Delete(t[0])}}}(k||(k={})),function(t){t.geogToGeog=function(t,e,n,r,o){g.ensureCache.prepare();const s=L(n),a=n===s,i=g.ensureFloat64(s);let u=0;r&&(u=g.ensureFloat64(r));const c=g._pe_geog_to_geog(g.getPointer(t),e,i,u,o);return c&&F(n,e,i,a),c}}(N||(N={})),function(t){function e(t,e,n,r,o,s){let a,i;switch(g.ensureCache.prepare(),t){case"dd":a=g._pe_geog_to_dd,i=T.PE_DD_MAX;break;case"ddm":a=g._pe_geog_to_ddm,i=T.PE_DDM_MAX;break;case"dms":a=g._pe_geog_to_dms,i=T.PE_DMS_MAX}let u=0;e&&(u=g.getPointer(e));const c=L(r),l=g.ensureFloat64(c),f=C(n,i),h=a(u,n,l,o,g.ensureInt32(f));if(h)for(let t=0;t<n;t++)s[t]=g.UTF8ToString(f[t]);return h}function n(t,e,n,r,o){let s;switch(g.ensureCache.prepare(),t){case"dd":s=g._pe_dd_to_geog;break;case"ddm":s=g._pe_ddm_to_geog;break;case"dms":s=g._pe_dms_to_geog}let a=0;e&&(a=g.getPointer(e));const i=r.map(t=>g.ensureString(t)),u=g.ensureInt32(i),c=g.ensureFloat64(new Array(2*n)),l=s(a,n,u,c);return l&&F(o,n,c),l}t.geog_to_dms=function(t,n,r,o,s){return e("dms",t,n,r,o,s)},t.dms_to_geog=function(t,e,r,o){return n("dms",t,e,r,o)},t.geog_to_ddm=function(t,n,r,o,s){return e("ddm",t,n,r,o,s)},t.ddm_to_geog=function(t,e,r,o){return n("ddm",t,e,r,o)},t.geog_to_dd=function(t,n,r,o,s){return e("dd",t,n,r,o,s)},t.dd_to_geog=function(t,e,r,o){return n("dd",t,e,r,o)}}(I||(I={})),function(t){t.init=function(){t.PE_MGRS_STYLE_NEW=g.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,t.PE_MGRS_STYLE_OLD=g.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,t.PE_MGRS_STYLE_AUTO=g.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,t.PE_MGRS_180_ZONE_1_PLUS=g.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,t.PE_MGRS_ADD_SPACES=g.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES},t.geog_to_mgrs_extended=function(t,e,n,r,o,s,a){g.ensureCache.prepare();let i=0;t&&(i=g.getPointer(t));const u=L(n),c=g.ensureFloat64(u),l=C(e,T.PE_MGRS_MAX),f=g.ensureInt32(l),h=g._pe_geog_to_mgrs_extended(i,e,c,r,o,s,f);if(h)for(let t=0;t<e;t++)a[t]=g.UTF8ToString(l[t]);return h},t.mgrs_to_geog_extended=function(t,e,n,r,o){g.ensureCache.prepare();let s=0;t&&(s=g.getPointer(t));const a=n.map(t=>g.ensureString(t)),i=g.ensureInt32(a),u=g.ensureFloat64(new Array(2*e)),c=g._pe_mgrs_to_geog_extended(s,e,i,r,u);return c&&F(o,e,u),c}}(x||(x={})),function(t){t.geog_to_usng=function(t,e,n,r,o,s,a){g.ensureCache.prepare();let i=0;t&&(i=g.getPointer(t));const u=L(n),c=g.ensureFloat64(u),l=C(e,T.PE_MGRS_MAX),f=g.ensureInt32(l),h=g._pe_geog_to_usng(i,e,c,r,o,s,f);if(h)for(let t=0;t<e;t++)a[t]=g.UTF8ToString(l[t]);return h},t.usng_to_geog=function(t,e,n,r){g.ensureCache.prepare();let o=0;t&&(o=g.getPointer(t));const s=n.map(t=>g.ensureString(t)),a=g.ensureInt32(s),i=g.ensureFloat64(new Array(2*e)),u=g._pe_usng_to_geog(o,e,a,i);return u&&F(r,e,i),u}}(A||(A={})),function(t){t.init=function(){t.PE_UTM_OPTS_NONE=g.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,t.PE_UTM_OPTS_ADD_SPACES=g.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,t.PE_UTM_OPTS_NS=g.PeNotationUtm.prototype.PE_UTM_OPTS_NS},t.geog_to_utm=function(t,e,n,r,o){g.ensureCache.prepare();let s=0;t&&(s=g.getPointer(t));const a=L(n),i=g.ensureFloat64(a),u=C(e,T.PE_UTM_MAX),c=g.ensureInt32(u),l=g._pe_geog_to_utm(s,e,i,r,c);if(l)for(let t=0;t<e;t++)o[t]=g.UTF8ToString(u[t]);return l},t.utm_to_geog=function(t,e,n,r,o){g.ensureCache.prepare();let s=0;t&&(s=g.getPointer(t));const a=n.map(t=>g.ensureString(t)),i=g.ensureInt32(a),u=g.ensureFloat64(new Array(2*e)),c=g._pe_utm_to_geog(s,e,i,r,u);return c&&F(o,e,u),c}}(U||(U={})),function(t){const e=new Map;t.init=function(){t.PE_PCSINFO_OPTION_NONE=g.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,t.PE_PCSINFO_OPTION_DOMAIN=g.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,t.PE_POLE_OUTSIDE_BOUNDARY=g.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,t.PE_POLE_POINT=g.PePCSInfo.prototype.PE_POLE_POINT},t.generate=function(n,r=t.PE_PCSINFO_OPTION_DOMAIN){let o,s;return e.has(n)&&(s=e.get(n),s[r]&&(o=s[r])),o||(o=g.PePCSInfo.prototype.generate(n,r),s||(s=[],e.set(n,s)),s[r]=o),o}}(q||(q={})),function(t){t.version_string=function(){return g.PeVersion.prototype.version_string()}}(D||(D={}));var B=Object.freeze({__proto__:null,get _pe(){return g},isLoaded:O,isSupported:function(){return!!Object(P.a)("esri-wasm")},load:E,get PeCSTransformations(){return y},get PeDefs(){return T},get PeFactory(){return w},get PeGCSExtent(){return j},get PeGTlistExtended(){return R},get PeGTlistExtendedEntry(){return k},get PeGTTransformations(){return N},get PeNotationDms(){return I},get PeNotationMgrs(){return x},get PeNotationUsng(){return A},get PeNotationUtm(){return U},get PePCSInfo(){return q},get PeVersion(){return D},_init:G});n(114);Math.PI;const Y=i.a.radius,X=i.a.eccentricitySquared,H={a1:Y*X,a2:Y*X*Y*X,a3:Y*X*X/2,a4:Y*X*Y*X*2.5,a5:Y*X+Y*X*X/2,a6:1-X};i.a.radius,i.a.flattening,i.c.radius,i.c.flattening,i.b.radius,i.b.flattening,i.b.radius;let z=0;class Z{constructor(t=null){this.uid=z++,t?(this._wkt=void 0!==t.wkt?t.wkt:null,this._wkid=void 0!==t.wkid?t.wkid:-1,this._isInverse=void 0!==t.isInverse&&!0===t.isInverse):(this._wkt=null,this._wkid=-1,this._isInverse=!1)}static fromGE(t){const e=new Z;return e._wkt=t.wkt,e._wkid=t.wkid,e._isInverse=t.isInverse,e}get wkt(){return this._wkt}set wkt(t){this._wkt=t,this.uid=z++}get wkid(){return this._wkid}set wkid(t){this._wkid=t,this.uid=z++}get isInverse(){return this._isInverse}set isInverse(t){this._isInverse=t,this.uid=z++}getInverse(){const t=new Z;return t._wkt=this.wkt,t._wkid=this._wkid,t._isInverse=!this.isInverse,t}}var W=Z;class V{constructor(t){if(this.steps=[],this._cached_projection={},this._chain="",this._gtlistentry=null,t&&t.steps)for(const e of t.steps)e instanceof W?this.steps.push(e):this.steps.push(new W({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse}))}static cacheKey(t,e){return[void 0!==t.wkid&&null!==t.wkid?t.wkid.toString():"-1",void 0!==t.wkt&&null!==t.wkt?t.wkt.toString():"",void 0!==e.wkid&&null!==e.wkid?e.wkid.toString():"-1",void 0!==e.wkt&&null!==e.wkt?e.wkt.toString():""].join(",")}static fromGE(t){const e=new V;let n="";for(const r of t.steps){const t=W.fromGE(r);e.steps.push(t),n+=t.uid.toString()+","}return e._cached_projection={},e._gtlistentry=null,e._chain=n,e}getInverse(){const t=new V;t.steps=[];for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}getGTListEntry(){let t="";for(const e of this.steps)t+=e.uid.toString()+",";return t!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=t),this._gtlistentry}assignCachedGe(t,e,n){this._cached_projection[V.cacheKey(t,e)]=n}getCachedGeTransformation(t,e){let n="";for(const t of this.steps)n+=t.uid.toString()+",";n!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=n);const r=this._cached_projection[V.cacheKey(t,e)];return void 0===r?null:r}}var J=V;let $=null,K=null,Q=null,tt={};function et(){return!!$&&O()}function nt(){return!0}function rt(t){return Object(r.f)(Q)&&(Q=Object(s.b)([E(),Promise.all([n.e(7),n.e(157)]).then(n.bind(null,375)).then((function(t){return t.g})),n.e(198).then(n.bind(null,507))])),Q.then(([,e,{hydratedAdapter:n}])=>{Object(s.u)(t),K=n,$=e.default,$._enableProjection(B)})}function ot(t,e,n=null){return Array.isArray(t)?0===t.length?[]:st(K,t,t[0].spatialReference,e,n):st(K,[t],t.spatialReference,e,n)[0]}function st(t,e,n,o,s=null){if(Object(r.f)(n)||Object(r.f)(o))return e;if(it(n,o,s))return e.map(t=>function(t,e,n){if(!t)return t;if("x"in t){const r=new u.a;return ct(t,e,r,n)?r:null}if("xmin"in t){const r=new c.a;return _t(t,e,r,n)?r:null}if("rings"in t){const r=new f.a;return dt(t,e,r,n)?r:null}if("paths"in t){const r=new h.a;return ft(t,e,r,n)?r:null}if("points"in t){const r=new l.a;return lt(t,e,r,n)?r:null}return null}(t,n,o));if(Object(r.f)(s)){const t=J.cacheKey(n,o);void 0!==tt[t]?s=tt[t]:(s=function(t,e,n=null){if(Object(r.f)($))throw new at;if(Object(r.f)(t)||Object(r.f)(e))return null;const o=$._getTransformation(K,t,e,n,null==n?void 0:n.spatialReference);return null!==o?J.fromGE(o):null}(n,o,null),Object(r.f)(s)&&(s=new J),tt[t]=s)}if(Object(r.f)($))throw new at;return $._project(t,e,n,o,s)}class at extends o.a{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function it(t,e,n){return!n&&(!!Object(a.c)(t,e)||Object(a.i)(t)&&Object(a.i)(e)&&!!Ft(t,e,Xt))}async function ut(t,e){if(!et())for(const{source:n,dest:r,geographicTransformation:o}of t)if(!it(n,r,o))return rt(e)}function ct(t,e,n,r,o=0){Wt[0]=t.x,Wt[1]=t.y;const s=t.z;return Wt[2]=void 0!==s?s:o,!!mt(Wt,e,0,Wt,r,0,1)&&(n.x=Wt[0],n.y=Wt[1],n.spatialReference=r,void 0===s?(n.z=void 0,n.hasZ=!1):(n.z=Wt[2],n.hasZ=!0),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),!0)}function lt(t,e,n,r,o=0){const{points:s,hasZ:a,hasM:i}=t,u=[],c=s.length,l=[];for(const t of s)l.push(t[0],t[1],a?t[2]:o);if(!mt(l,e,0,l,r,0,c))return!1;for(let t=0;t<c;++t){const e=3*t,n=l[e],r=l[e+1];a&&i?u.push([n,r,l[e+2],s[t][3]]):a?u.push([n,r,l[e+2]]):i?u.push([n,r,s[t][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=a,n.hasM=i,!0}function ft(t,e,n,r,o=0){const{paths:s,hasZ:a,hasM:i}=t,u=[];return!!Pt(s,a,i,e,u,r,o)&&(n.paths=u,n.spatialReference=r,n.hasZ=a,n.hasM=i,!0)}function ht(t,e,n=e.spatialReference,o=0){return!Object(r.f)(n)&&dt(t,t.spatialReference,e,n,o)}function dt(t,e,n,r,o=0){const{rings:s,hasZ:a,hasM:i}=t,u=[];return!!Pt(s,a,i,e,u,r,o)&&(n.rings=u,n.spatialReference=r,n.hasZ=a,n.hasM=i,!0)}function _t(t,e,n,r,o=0){const{xmin:s,ymin:a,xmax:i,ymax:u,hasZ:c,hasM:l}=t;return!!pt(s,a,c?t.zmin:o,e,Wt,r)&&(n.xmin=Wt[0],n.ymin=Wt[1],c&&(n.zmin=Wt[2]),!!pt(i,u,c?t.zmax:o,e,Wt,r)&&(n.xmax=Wt[0],n.ymax=Wt[1],c&&(n.zmax=Wt[2]),l&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,!0))}function pt(t,e,n,r,o,s){return Zt[0]=t,Zt[1]=e,Zt[2]=n,mt(Zt,r,0,o,s,0,1)}function mt(t,e,n,o,s,a,i=1){const u=Ft(e,s,Xt);if(Object(r.f)(u))return!1;if(u===Ot){if(t===o&&n===a)return!0;const e=n+3*i;for(let r=n,s=a;r<e;r++,s++)o[s]=t[r];return!0}const c=n+3*i;for(let e=n,r=a;e<c;e+=3,r+=3)u(t,e,o,r);return!0}function Pt(t,e,n,r,o,s,a=0){const i=new Array;for(const n of t)for(const t of n)i.push(t[0],t[1],e?t[2]:a);if(!mt(i,r,0,i,s,0,i.length/3))return!1;let u=0;o.length=0;for(const r of t){const t=new Array;for(const o of r)e&&n?t.push([i[u++],i[u++],i[u++],o[3]]):e?t.push([i[u++],i[u++],i[u++]]):n?(t.push([i[u++],i[u++],o[2]]),u++):(t.push([i[u++],i[u++]]),u++);o.push(t)}return!0}var Mt,bt;function gt(t,e){return e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=Object(m.b)(t,1)),t.wkt===p.a.wkt?e.spatialReferenceId=1:Object(a.j)(t)?e.spatialReferenceId=2:Object(a.m)(t)?e.spatialReferenceId=3:t.wkt===p.d.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===p.b.wkt?e.spatialReferenceId=7:t.wkt===p.c.wkt?e.spatialReferenceId=9:Object(a.g)(t)?e.spatialReferenceId=8:Object(a.h)(t)?e.spatialReferenceId=10:e.spatialReferenceId=0)}function Ot(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function Et(t,e,n,r){n[r++]=zt*(t[e++]/i.a.radius),n[r++]=zt*(Math.PI/2-2*Math.atan(Math.exp(-1*t[e++]/i.a.radius))),n[r]=t[e]}function yt(t,e,n,r){Et(t,e,n,r),kt(n,r,n,r)}function Tt(t,e,n,r){Et(t,e,n,r),Dt(n,r,n,r)}function wt(t,e,n,r){const o=.4999999*Math.PI,s=Object(d.c)(Ht*t[e+1],-o,o),a=Math.sin(s);n[r++]=Ht*t[e]*i.a.radius,n[r++]=i.a.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=t[e+2]}function St(t,e,n,r,o){const s=o+t[e+2],a=Ht*t[e+1],i=Ht*t[e],u=Math.cos(a);n[r++]=Math.cos(i)*u*s,n[r++]=Math.sin(i)*u*s,n[r]=Math.sin(a)*s}function jt(t,e,n,r){St(t,e,n,r,i.c.radius)}function Rt(t,e,n,r){St(t,e,n,r,i.b.radius)}function kt(t,e,n,r){St(t,e,n,r,i.a.radius)}function Nt(t,e,n,r,o){const s=t[e],a=t[e+1],i=t[e+2],u=Math.sqrt(s*s+a*a+i*i),c=Object(d.b)(i/(0===u?1:u)),l=Math.atan2(a,s);n[r++]=zt*l,n[r++]=zt*c,n[r]=u-o}function It(t,e,n,r){Nt(t,e,n,r,i.c.radius)}function xt(t,e,n,r){Nt(t,e,n,r,i.b.radius)}function At(t,e,n,r){Nt(t,e,n,r,i.a.radius)}function Ut(t,e,n,r){At(t,e,n,r),wt(n,r,n,r)}function qt(t,e,n,r){At(t,e,n,r),Dt(n,r,n,r)}function Dt(t,e,n,r){!function(t,e,n,r,o){const s=Ht*t[e],a=Ht*t[e+1],i=t[e+2],u=Math.sin(a),c=Math.cos(a),l=o.radius/Math.sqrt(1-o.eccentricitySquared*u*u);n[r++]=(l+i)*c*Math.cos(s),n[r++]=(l+i)*c*Math.sin(s),n[r++]=(l*(1-o.eccentricitySquared)+i)*u}(t,e,n,r,i.a)}function Gt(t,e,n,r){const o=H,s=t[e],a=t[e+1],u=t[e+2];let c,l,f,h,d,_,p,m,P,M,b,g,O,E,y,T,w,S,j,R,k;c=Math.abs(u),l=s*s+a*a,f=Math.sqrt(l),h=l+u*u,d=Math.sqrt(h),R=Math.atan2(a,s),_=u*u/h,p=l/h,E=o.a2/d,y=o.a3-o.a4/d,p>.3?(m=c/d*(1+p*(o.a1+E+_*y)/d),j=Math.asin(m),M=m*m,P=Math.sqrt(1-M)):(P=f/d*(1-_*(o.a5-E-p*y)/d),j=Math.acos(P),M=1-P*P,m=Math.sqrt(M)),b=1-i.a.eccentricitySquared*M,g=i.a.radius/Math.sqrt(b),O=o.a6*g,E=f-g*P,y=c-O*m,w=P*E+m*y,T=P*y-m*E,S=T/(O/b+w),j+=S,k=w+T*S/2,u<0&&(j=-j),n[r++]=zt*R,n[r++]=zt*j,n[r]=k}function vt(t,e,n,r){Gt(t,e,n,r),kt(n,r,n,r)}function Ct(t,e,n,r){Gt(t,e,n,r),wt(n,r,n,r)}(bt=Mt||(Mt={})).x2lon=function(t){return t/i.a.radius},bt.y2lat=function(t){return Math.PI/2-2*Math.atan(Math.exp(-1*t/i.a.radius))},bt.lon2x=function(t){return t*i.a.radius},bt.lat2y=function(t){const e=Math.sin(t);return i.a.radius/2*Math.log((1+e)/(1-e))};const Lt={2:{5:null,8:null,10:null,6:Ot,1:kt,7:null,9:null,0:null,3:wt,2:Ot,4:Dt},5:{5:Ot,8:null,10:null,6:Ot,1:kt,7:null,9:null,0:null,3:null,2:null,4:Dt},8:{5:null,8:Ot,10:null,6:null,1:null,7:Rt,9:null,0:null,3:null,2:null,4:null},10:{5:null,8:null,10:Ot,6:null,1:null,7:null,9:jt,0:null,3:null,2:null,4:null},3:{5:null,8:null,10:null,6:Et,1:yt,7:null,9:null,0:null,3:Ot,2:Et,4:Tt},4:{5:Gt,8:null,10:null,6:Gt,1:vt,7:null,9:null,0:null,3:Ct,2:Gt,4:Ot},1:{5:At,8:null,10:null,6:At,1:Ot,7:null,9:null,0:null,3:Ut,2:At,4:qt},7:{5:null,8:xt,10:null,6:null,1:null,7:Ot,9:null,0:null,3:null,2:null,4:null},9:{5:null,8:null,10:It,6:null,1:null,7:null,9:Ot,0:null,3:null,2:null,4:null},0:{5:null,8:null,10:null,6:null,1:null,7:null,9:null,0:Ot,3:null,2:null,4:null},6:{5:null,8:null,10:null,6:Ot,1:kt,7:null,9:null,0:null,3:null,2:Ot,4:Dt}};function Ft(t,e,n=Yt()){return Object(r.f)(t)||Object(r.f)(e)?null:Bt(t,e,n).projector}function Bt(t,e,n){if(Object(r.f)(t)||Object(r.f)(e)||n.source.spatialReference===t&&n.dest.spatialReference===e)return n;const o=gt(t,n.source),s=gt(e,n.dest);return 0===o&&0===s?Object(a.c)(t,e)?n.projector=Ot:n.projector=null:n.projector=Lt[o][s],n}function Yt(){return{source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:Ot}}const Xt=Yt(),Ht=(Yt(),Object(d.d)(1)),zt=Object(d.k)(1),Zt=Object(_.e)(),Wt=(Object(_.e)(),Object(_.e)(),Object(_.e)());Object(_.e)()},338:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return f})),n.d(e,"f",(function(){return h}));var r=n(78),o=n(56),s=n(92);function a(t){return new o.a({wkt:`GEOCCS["Spherical geocentric",\n    DATUM["Not specified",\n      SPHEROID["Sphere",${t.radius},0]],\n    PRIMEM["Greenwich",0.0,\n      AUTHORITY["EPSG","8901"]],\n    UNIT["m",1.0],\n    AXIS["Geocentric X",OTHER],\n    AXIS["Geocentric Y",EAST],\n    AXIS["Geocentric Z",NORTH]\n  ]`})}const i=a(s.a),u=a(s.b),c=a(s.c),l=new o.a({wkt:`GEOCCS["WGS 84",\n  DATUM["WGS_1984",\n    SPHEROID["WGS 84",${s.a.radius},298.257223563,\n      AUTHORITY["EPSG","7030"]],\n    AUTHORITY["EPSG","6326"]],\n  PRIMEM["Greenwich",0,\n    AUTHORITY["EPSG","8901"]],\n  UNIT["m",1.0,\n    AUTHORITY["EPSG","9001"]],\n  AXIS["Geocentric X",OTHER],\n  AXIS["Geocentric Y",OTHER],\n  AXIS["Geocentric Z",NORTH],\n  AUTHORITY["EPSG","4978"]\n]`});function f(t){return t&&(Object(r.g)(t)||t===u)?s.b:t&&(Object(r.h)(t)||t===c)?s.c:s.a}function h(t){return Object(r.k)(t)?s.b:Object(r.l)(t)?s.c:s.a}},379:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(7),o=n(1),s=n(2);function a(t,e,n=!1,a){return Object(s.c)((u,c)=>{if(Object(s.m)(a))return void c(i());let l=()=>{d(),c(new Error("Unable to load "+e))},f=()=>{const e=t;d(),u(e)},h=()=>{if(!t)return;const e=t;d(),e.src="",c(i())};const d=()=>{Object(r.a)("esri-image-decode")||(t.removeEventListener("error",l),t.removeEventListener("load",f)),l=null,f=null,t=null,Object(o.g)(a)&&a.removeEventListener("abort",h),h=null,n&&URL.revokeObjectURL(e)};Object(o.g)(a)&&a.addEventListener("abort",h),Object(r.a)("esri-image-decode")?t.decode().then(f,l):(t.addEventListener("error",l),t.addEventListener("load",f))})}function i(){try{return new DOMException("Aborted","AbortError")}catch{const t=new Error;return t.name="AbortError",t}}},55:function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(7),s=n(5),a=n(16),i=n(1),u=n(14),c=n(24),l=n(2),f=n(109),h=n(379);async function d(t,e){const s=Object(c.u)(t),h=Object(c.t)(t);h||s||(t=Object(c.B)(t));const P={url:t,requestOptions:{...Object(i.m)(e)}};let M=Object(c.l)(t);if(M){const t=await async function(t,e){if(null!=t.responseData)return t.responseData;if(t.headers&&(e.requestOptions.headers={...e.requestOptions.headers,...t.headers}),t.query&&(e.requestOptions.query={...e.requestOptions.query,...t.query}),t.before){let n,r;try{r=await t.before(e)}catch(t){n=O("request:interceptor",t,e)}if((r instanceof Error||r instanceof u.a)&&(n=O("request:interceptor",r,e)),n)throw t.error&&t.error(n),n;return r}}(M,P);if(null!=t)return{data:t,getHeader:g,requestOptions:P.requestOptions,url:P.url};M.after||M.error||(M=null)}if(t=P.url,"image"===(e=P.requestOptions).responseType){if(Object(o.a)("host-webworker")||Object(o.a)("host-node"))throw O("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),P)}else if(s)throw O("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+e.responseType),P);if("head"===e.method){if(e.body)throw O("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),P);if(s||h)throw O("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),P)}if(await async function(){Object(o.a)("host-webworker")?_||(_=await n.e(197).then(n.bind(null,506))):d._abortableFetch||(d._abortableFetch=r.a.fetch.bind(r.a))}(),_)return _.execute(t,e);const b=Object(l.d)();Object(l.p)(e,()=>b.abort());const w={controller:b,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:M,params:P,redoRequest:!1,useIdentity:p.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},j=await async function(t){let e,n;await async function(t){const e=t.params.url,n=t.params.requestOptions,o=t.controller.signal,s=n.body;let i=null,u=null,h=null;m&&"HTMLFormElement"in r.a&&(s instanceof FormData?i=s:s instanceof HTMLFormElement&&(u=s,i=new FormData(u))),"string"==typeof s&&(h=s),t.fetchOptions={cache:n.cacheBust&&!d._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:n.headers||{},method:"head"===n.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:o},(i||h)&&(t.fetchOptions.body=i||h),"anonymous"===n.authMode&&(t.useIdentity=!1),t.hasToken=!!(/token=/i.test(e)||n.query&&n.query.token||i&&i.get&&i.get("token")||u&&u.elements.token);const _=Object(c.m)(e,!0);if(_&&!t.hasToken&&a.a.apiKey&&_.endsWith(".arcgis.com")&&"elevation3d.arcgis.com"!==_&&"js.arcgis.com"!==_&&"jsdev.arcgis.com"!==_&&"jsqa.arcgis.com"!==_&&(n.query||(n.query={}),n.query.token=a.a.apiKey,t.hasToken=!0),t.useIdentity&&!t.hasToken&&!t.credentialToken&&!y(e)&&!Object(l.m)(o)){let r;"immediate"===n.authMode?(await E(),r=await f.b.getCredential(e,{signal:o}),t.credential=r):"no-prompt"===n.authMode?(await E(),r=await f.b.getCredential(e,{prompt:!1,signal:o}).catch(()=>{}),t.credential=r):f.b&&(r=f.b.findCredential(e)),r&&(t.credentialToken=r.token,t.useSSL=!!r.ssl)}}(t);try{do{[e,n]=await T(t)}while(!await S(t,e,n))}catch(n){const r=O("request:server",n,t.params,e);throw r.details.ssl=t.useSSL,t.interceptor&&t.interceptor.error&&t.interceptor.error(r),r}const o=t.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(o)&&!t.hasToken&&!t.credentialToken&&n&&n.user&&n.user.username&&!Object(c.w)(o)){const t=Object(c.m)(o,!0);t&&p.trustedServers.push(t)}const s=t.credential;if(s&&f.b){const t=f.b.findServerInfo(s.server);let e=t&&t.owningSystemUrl;if(e){e=e.replace(/\/?$/,"/sharing");const t=f.b.findCredential(e,s.userId);t&&-1===f.b._getIdenticalSvcIdx(e,t)&&t.resources.unshift(e)}}return{data:n,getHeader:e?t=>e.headers.get(t):g,requestOptions:t.params.requestOptions,ssl:t.useSSL,url:t.params.url}}(w);return M&&M.after&&M.after(j),j}let _;const p=a.a.request,m="FormData"in r.a,P=[499,498,403,401],M=["COM_0056","COM_0057","SB_0008"],b=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],g=()=>null;function O(t,e,n,r){let o="Error";const a={url:n.url,requestOptions:n.requestOptions,getHeader:g,ssl:!1};if(e instanceof u.a)return e.details?(e.details=Object(s.a)(e.details),e.details.url=n.url,e.details.requestOptions=n.requestOptions):e.details=a,e;if(e){const t=r&&(t=>r.headers.get(t)),n=r&&r.status,s=e.message;s&&(o=s),t&&(a.getHeader=t),a.httpStatus=(null!=e.httpCode?e.httpCode:e.code)||n||0,a.subCode=e.subcode,a.messageCode=e.messageCode,"string"==typeof e.details?a.messages=[e.details]:a.messages=e.details}return Object(l.l)(e)?Object(l.e)():new u.a(t,o,a)}async function E(){f.b||await Promise.all([n.e(13),n.e(35)]).then(n.bind(null,528))}function y(t){return b.some(e=>e.test(t))}async function T(t){let e=t.params.url;const n=t.params.requestOptions,r=t.fetchOptions,s=Object(c.t)(e)||Object(c.u)(e),a=n.responseType||"json",i=s?0:null!=n.timeout?n.timeout:p.timeout;let u=!1;if(!s){t.useSSL&&(e=Object(c.H)(e)),n.cacheBust&&"default"===r.cache&&(e=Object(c.d)(e,"request.preventCache",Date.now()));let s={...n.query};t.credentialToken&&(s.token=t.credentialToken);let a=Object(c.C)(s);Object(o.a)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const i=e.length+1+a.length;let l;u="post"===n.method||!!n.body||i>p.maxUrlLength;const h=n.useProxy||!!Object(c.o)(e);if(h){const t=Object(c.p)(e);l=t.path,!u&&l.length+1+i>p.maxUrlLength&&(u=!0),t.query&&(s={...t.query,...s})}if("HEAD"===r.method&&(u||h)){if(u){if(i>p.maxUrlLength)throw O("request:invalid-parameters",new Error("URL exceeds maximum length"),t.params);throw O("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),t.params)}if(h)throw O("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),t.params)}if(u?(r.method="POST",n.body?e=Object(c.e)(e,s):(r.body=Object(c.C)(s),r.headers["Content-Type"]="application/x-www-form-urlencoded")):e=Object(c.e)(e,s),h&&(t.useProxy=!0,e=`${l}?${e}`),s.token&&m&&r.body instanceof FormData){const t=r.body;t.set?t.set("token",s.token):t.append("token",s.token)}if(n.hasOwnProperty("withCredentials"))t.withCredentials=n.withCredentials;else if(Object(c.w)(e))t.withCredentials=!0;else if(f.b){const n=f.b.findServerInfo(e);n&&n.webTierAuth&&(t.withCredentials=!0)}t.withCredentials&&(r.credentials="include")}let h,_,P=0,M=!1;i>0&&(P=setTimeout(()=>{M=!0,t.controller.abort()},i));try{if("image"!==n.responseType||"default"!==r.cache||"GET"!==r.method||u||function(t){if(t)for(const e of Object.getOwnPropertyNames(t))if(t[e])return!0;return!1}(n.headers)||!s&&!t.useProxy&&p.proxyUrl&&!function(t){const e=Object(c.m)(t);return!e||e.endsWith(".arcgis.com")||-1!==d._corsServers.indexOf(e)||Object(c.w)(e)}(e)){if(h=await d._abortableFetch(e,r),t.useProxy||function(t){if(Object(c.t)(t)||Object(c.u)(t))return;const e=Object(c.m)(t);e&&-1===d._corsServers.indexOf(e)&&d._corsServers.push(e)}(e),h.ok&&"HEAD"!==r.method){switch(a){case"array-buffer":_=await h.arrayBuffer();break;case"blob":case"image":_=await h.blob();break;default:_=await h.text()}if(P&&(clearTimeout(P),P=0),"json"===a||"xml"===a||"document"===a)if(_)switch(a){case"json":_=JSON.parse(_);break;case"xml":_=w(_,"application/xml");break;case"document":_=w(_,"text/html")}else _=null;if(_){if("array-buffer"===a||"blob"===a){const t=h.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(t)&&_["blob"===a?"size":"byteLength"]<=750)try{const t=await new Response(_).json();t.error&&(_=t)}catch{}}"image"===a&&_ instanceof Blob&&(_=await j(URL.createObjectURL(_),t,!0))}}}else _=await j(e,t)}catch(r){if("AbortError"===r.name){if(M)throw new Error("Timeout exceeded");throw Object(l.e)("Request canceled")}if(!(!h&&r instanceof TypeError&&p.proxyUrl)||n.body||"post"===n.method||"head"===n.method||t.useProxy)throw r;t.redoRequest=!0,Object(c.c)({proxyUrl:p.proxyUrl,urlPrefix:Object(c.E)(Object(c.I)(e).path)})}finally{P&&clearTimeout(P)}return[h,_]}function w(t,e){let n;try{n=(new DOMParser).parseFromString(t,e)}catch{}if(!n||n.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return n}async function S(t,e,n){var r;if(t.redoRequest)return t.redoRequest=!1,!1;if(!e)return!0;if(!e.ok)throw new Error(`Unable to load ${e.url} status: ${e.status}`);let o,a,i,u;n&&n.error&&(o=Object(s.d)(new Error,n.error)),o&&(a=Number(o.code),i=o.hasOwnProperty("subcode")?Number(o.subcode):null,u=o.messageCode,u=u&&u.toUpperCase());const c=t.params.requestOptions.authMode,l=String(null==(r=t.params.requestOptions.query)?void 0:r.token);if(403===a&&(4===i||o.message&&o.message.toLowerCase().indexOf("ssl")>-1&&-1===o.message.toLowerCase().indexOf("permission"))){if(!t.useSSL)return t.useSSL=!0,!1}else if(t.useIdentity&&("no-prompt"!==c||498===a)&&-1!==P.indexOf(a)&&!y(t.params.url)&&!l.startsWith("AAPK")&&(403!==a||-1===M.indexOf(u)&&(null==i||2===i&&t.credentialToken))){await E();try{const e=await f.b.getCredential(t.params.url,{error:O("request:server",o,t.params),prompt:"no-prompt"!==c,signal:t.controller.signal,token:t.credentialToken});return t.credential=e,t.credentialToken=e.token,t.useSSL=t.useSSL||e.ssl,!1}catch(e){if("no-prompt"===c)return t.credential=null,t.credentialToken=null,!1;o=e}}if(o)throw o;return!0}function j(t,e,n=!1){const r=e.controller.signal,o=new Image;return e.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.src=t,Object(h.a)(o,t,n,r)}d._abortableFetch=null,d._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"],e.default=d},67:function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return I})),n.d(e,"d",(function(){return U})),n.d(e,"e",(function(){return x})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return k})),n.d(e,"h",(function(){return R})),n.d(e,"i",(function(){return w})),n.d(e,"j",(function(){return S})),n.d(e,"k",(function(){return j})),n.d(e,"l",(function(){return y})),n.d(e,"m",(function(){return T})),n.d(e,"n",(function(){return N}));n(7);var r=n(54),o=n(376),s=n(78),a=n(56),i=n(92),u=n(338);const c=39.37,l=i.a.radius*Math.PI/200,f=/UNIT\[([^\]]+)\]\]$/i,h=o.a,d=/UNIT\[([^\]]+)\]/i,_=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),p=Object(r.b)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),m=t=>t*t,P=t=>t*t*t,M={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:m(.001)},"square-centimeters":{inBaseUnits:m(.01)},"square-decimeters":{inBaseUnits:m(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:m(1e3)},"square-inches":{inBaseUnits:m(.0254)},"square-feet":{inBaseUnits:m(.3048)},"square-yards":{inBaseUnits:m(.9144)},"square-miles":{inBaseUnits:m(1609.344)},"square-us-feet":{inBaseUnits:m(1200/3937)},acres:{inBaseUnits:.0015625*m(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*P(.001)},"cubic-centimeters":{inBaseUnits:1e3*P(.01)},"cubic-decimeters":{inBaseUnits:1e3*P(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*P(1e3)},"cubic-inches":{inBaseUnits:1e3*P(.0254)},"cubic-feet":{inBaseUnits:1e3*P(.3048)},"cubic-yards":{inBaseUnits:1e3*P(.9144)},"cubic-miles":{inBaseUnits:1e3*P(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},b=function(){const t={};for(const e in M)for(const n in M[e].units)t[n]=e;return t}();function g(t){const e=b[t];if(e)return e;throw new Error("unknown measure")}function O(t,e=null){return e=e||g(t),M[e].baseUnit===t}function E(t,e,n){if(e===n)return t;const r=g(e);if(r!==g(n))throw new Error("incompatible units");const o=O(e,r)?t:function(t,e,n){return t*M[n].units[e].inBaseUnits}(t,e,r);return O(n,r)?o:function(t,e,n){return t/M[n].units[e].inBaseUnits}(o,n,r)}function y(t,e){return E(t,e,"meters")<3e3?"meters":"kilometers"}function T(t,e){return E(t,e,"meters")<1e5?"meters":"kilometers"}function w(t,e){return E(t,e,"feet")<1e3?"feet":"miles"}function S(t,e){return E(t,e,"feet")<1e5?"feet":"miles"}function j(t,e){return E(t,e,"square-meters")<3e6?"square-meters":"square-kilometers"}function R(t,e){return E(t,e,"square-feet")<1e6?"square-feet":"square-miles"}function k(t,e,n){return E(t,e,"meters")/(n*Math.PI/180)}function N(t){return p.fromJSON(t.toLowerCase())||null}function I(t){if(t&&"object"==typeof t&&!Object(s.e)(t))return 1;const e=A(t);return e>1e5?1:e}function x(t){return A(t)>=(t instanceof a.a?Object(u.e)(t).metersPerDegree:1e5)?"meters":U(t)}function A(t,e=i.a.metersPerDegree){return function(t,e=!1){let n,r,o=null;if(null!=t&&("object"==typeof t?(n=t.wkid,r=t.wkt):"number"==typeof t?n=t:"string"==typeof t&&(r=t)),n){if(Object(s.k)(n))return i.b.metersPerDegree;if(Object(s.l)(n))return i.c.metersPerDegree;o=h.values[h[n]],!o&&e&&_.has(n)&&(o=l)}else if(r)if(-1!==r.search(/^PROJCS/i)){const t=f.exec(r);t&&t[1]&&(o=parseFloat(t[1].split(",")[1]))}else if(-1!==r.search(/^GEOCCS/i)){const t=d.exec(r);t&&t[1]&&(o=parseFloat(t[1].split(",")[1]))}return o}(t,!0)||e}function U(t){let e,n,r=null;if(null!=t&&("object"==typeof t?(e=t.wkid,n=t.wkt):"number"==typeof t?e=t:"string"==typeof t&&(n=t)),e)r=h.units[h[e]];else if(n&&-1!==n.search(/^PROJCS/i)){let t=f.exec(n);t&&t[1]&&(t=/[\\"\\']{1}([^\\"\\']+)/.exec(t[1]),r=t&&t[1])}return r?N(r):null}},81:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return _})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return o})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h}));const r=new Float32Array(1);Number.isFinite,Number.isNaN;function o(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return t<e?e:t>n?n:t}function a(t,e,n){return Math.min(Math.max(t,e),n)}function i(t){return 0==(t&t-1)}function u(t){return t--,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,++t}Math.sign;const c=Math.log2||function(t){return Math.log(t)/Math.LN2};function l(t,e,n){return t+(e-t)*n}function f(t){return t*Math.PI/180}function h(t){return 180*t/Math.PI}function d(t){return Math.acos(s(t,-1,1))}function _(t){return Math.asin(s(t,-1,1))}function p(t){return r[0]=t,r[0]}p(34028234663852886e22)},91:function(t,e,n){"use strict";function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function s(t,e,n){return[t,e,n]}function a(t){const e=[0,0,0],n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function i(t,e){return new Float64Array(t,e,3)}function u(){return s(1,1,1)}function c(){return s(1,0,0)}function l(){return s(0,1,0)}function f(){return s(0,0,1)}n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return r})),n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return s}));const h=[0,0,0],d=u(),_=c(),p=l(),m=f();Object.freeze({__proto__:null,create:r,clone:o,fromValues:s,fromArray:a,createView:i,zeros:function(){return[0,0,0]},ones:u,unitX:c,unitY:l,unitZ:f,ZEROS:h,ONES:d,UNIT_X:_,UNIT_Y:p,UNIT_Z:m})}});