@arcgis/core 4.27.0-rc.3 → 4.27.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{0e65e00173b66c7fec2e.js → 09e677ca7532a281d262.js} +1 -1
- package/assets/esri/core/workers/chunks/{89001ee8d3f69fa03cc1.js → 0f7ddb063ee0664f2fca.js} +1 -1
- package/assets/esri/core/workers/chunks/17ab08f60764244b2cf8.js +1 -0
- package/assets/esri/core/workers/chunks/{2446e336b1f7256d4fde.js → 2c587ed66e2586cccb8d.js} +1 -1
- package/assets/esri/core/workers/chunks/{00c7b9fb375c9a934158.js → 38c6452dc9cf18e8bca8.js} +1 -1
- package/assets/esri/core/workers/chunks/{16db0bc87d87a7313dc4.js → 4806df402845c717c842.js} +1 -1
- package/assets/esri/core/workers/chunks/4884432d80e9af947449.js +1 -0
- package/assets/esri/core/workers/chunks/588cd91d08cec5207be1.js +1 -0
- package/assets/esri/core/workers/chunks/{83e3d104886b48f00397.js → 633c00c02a81397fc8df.js} +1 -1
- package/assets/esri/core/workers/chunks/{efb96aefe979a0f5c632.js → 640e8ac3498be30c6614.js} +1 -1
- package/assets/esri/core/workers/chunks/{33901eb1574e46abd9af.js → 6c213768715c52625855.js} +1 -1
- package/assets/esri/core/workers/chunks/{5e6471dd2a08e66b47d0.js → 6e4940fe3bba014c921b.js} +57 -58
- package/assets/esri/core/workers/chunks/{3160af63b860b52db389.js → 6f724f75f85dc3989d60.js} +1 -1
- package/assets/esri/core/workers/chunks/8b05fb365336cc42fecc.js +1 -0
- package/assets/esri/core/workers/chunks/8eec6da5e862cc33ea2b.js +1 -0
- package/assets/esri/core/workers/chunks/90d8f297d9cb359e071d.js +1 -0
- package/assets/esri/core/workers/chunks/91785144901dfe56c5e2.js +1 -0
- package/assets/esri/core/workers/chunks/{471f6eba213412b82840.js → 927417abea79c955b216.js} +1 -1
- package/assets/esri/core/workers/chunks/{adaa9d4239f4e905d011.js → 9d4bd73dd50400e9d328.js} +1 -1
- package/assets/esri/core/workers/chunks/a324cc07d486061d0d8e.js +1 -0
- package/assets/esri/core/workers/chunks/a40130579791293cefa2.js +1 -0
- package/assets/esri/core/workers/chunks/{50f910797c17c3028521.js → a49718c74053314ed741.js} +1 -1
- package/assets/esri/core/workers/chunks/ad2891985e0fe45aa8d2.js +1 -0
- package/assets/esri/core/workers/chunks/afcba35eea836aea98ca.js +1 -0
- package/assets/esri/core/workers/chunks/b3d2e397ea74ebef4423.js +1 -0
- package/assets/esri/core/workers/chunks/b5fb9da45cc9dee286f8.js +1 -0
- package/assets/esri/core/workers/chunks/b846d4215210aac9f6ef.js +1 -0
- package/assets/esri/core/workers/chunks/c7dc821db8c14fec24a7.js +1 -0
- package/assets/esri/core/workers/chunks/c9df9a0a4a45f9a53ce9.js +1 -0
- package/assets/esri/core/workers/chunks/{45a4041881e6235d73a2.js → d0a9711f48dfa5fee68a.js} +1 -1
- package/assets/esri/core/workers/chunks/e23ec4f867c4735eec20.js +1 -0
- package/assets/esri/core/workers/chunks/{ff42585e1b1d0c5497af.js → ea16230a0edfc9f756bd.js} +1 -1
- package/assets/esri/core/workers/chunks/ef900614353505afb210.js +1 -0
- package/assets/esri/themes/base/_View.scss +2 -5
- package/assets/esri/themes/base/widgets/_Feature.scss +12 -4
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/DefaultMaterial.glsl.js +42 -42
- package/chunks/Terrain.glsl.js +7 -7
- package/copyright.txt +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/meshUtils/bounds.js +1 -1
- package/geometry/support/meshUtils/georeference.js +1 -1
- package/interfaces.d.ts +3 -3
- package/kernel.js +1 -1
- package/layers/OrientedImageryLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/editingSupport.js +1 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
- package/layers/graphics/sources/support/uploadAssets.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/ImageryTileMixin.js +1 -1
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/bestImageUtils.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/groundToImageUtils.js +1 -1
- package/layers/orientedImagery/transformations/imageToGroundUtils.js +1 -1
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/video/VideoCameraSensorModel.js +5 -0
- package/layers/video/VideoController.js +1 -1
- package/layers/video/videoUtils.js +1 -1
- package/package.json +1 -1
- package/portal/PortalItem.js +1 -1
- package/renderers/support/colorRampUtils.js +1 -1
- package/rest/support/meshFeatureSet.js +1 -1
- package/smartMapping/labels/bins.js +5 -0
- package/smartMapping/labels/clusters.js +1 -1
- package/smartMapping/labels/support/utils.js +5 -0
- package/smartMapping/support/binningUtils.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/layers/features/schemaUtils.js +1 -1
- package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
- package/views/3d/layers/I3SMeshWorkerHandle.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +5 -0
- package/views/3d/layers/i3s/I3SClientNodeLoader.js +1 -1
- package/views/3d/layers/i3s/I3SGeometryUtil.js +1 -1
- package/views/3d/layers/i3s/I3SOverrides.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +19 -20
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +9 -9
- package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/DOMContainer.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/ui/DefaultUI.js +1 -1
- package/views/ui/UI.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureForm/FormExpressionsManager.js +1 -1
- package/widgets/FeatureForm/RelationshipInput.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/013de5c2955801b329b3.js +0 -1
- package/assets/esri/core/workers/chunks/0618fb0058f39ecd363f.js +0 -1
- package/assets/esri/core/workers/chunks/07163dcbb871f927a580.js +0 -1
- package/assets/esri/core/workers/chunks/0e46687004392c493c06.js +0 -1
- package/assets/esri/core/workers/chunks/21328f3dd26abe84a10d.js +0 -1
- package/assets/esri/core/workers/chunks/2faa8f08f2fdaac3f4af.js +0 -1
- package/assets/esri/core/workers/chunks/624521961fe1f2c4f2c5.js +0 -1
- package/assets/esri/core/workers/chunks/6f510f28526c73ab453c.js +0 -1
- package/assets/esri/core/workers/chunks/7479dc0c790337af7597.js +0 -1
- package/assets/esri/core/workers/chunks/a6ddf80eb324c35076e1.js +0 -1
- package/assets/esri/core/workers/chunks/a7fd2a95fde197c06828.js +0 -1
- package/assets/esri/core/workers/chunks/b8e6c64792a512df4c4d.js +0 -1
- package/assets/esri/core/workers/chunks/bf9e1fde9f6b2b4f10c0.js +0 -1
- package/assets/esri/core/workers/chunks/c96db6b7ce47bd343fdb.js +0 -1
- package/assets/esri/core/workers/chunks/cfa3b2b1e184681e9af4.js +0 -1
- package/assets/esri/core/workers/chunks/d95ca50ca7af4c222036.js +0 -1
- package/assets/esri/core/workers/chunks/ee5ee03dd2c7dc940272.js +0 -1
- package/assets/esri/core/workers/chunks/f720967ba8c5486a26a2.js +0 -1
- package/layers/orientedImagery/core/Affixes.js +0 -5
- package/layers/orientedImagery/core/CameraProperties.js +0 -5
- package/layers/orientedImagery/core/ImageProperties.js +0 -5
- package/layers/orientedImagery/core/ImageryTypes.js +0 -5
- package/layers/orientedImagery/core/imageryUtils.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2097],{95401:(e,t,r)=>{r.d(t,{e:()=>l});var n,o,i,s=r(5732),a={exports:{}};n=a,o=function(){function e(e,r,o){o=o||2;var i,s,a,c,u,p,f,h=r&&r.length,d=h?r[0]*o:e.length,g=t(e,0,d,o,!0),m=[];if(!g||g.next===g.prev)return m;if(h&&(g=l(e,r,g,o)),e.length>80*o){i=a=e[0],s=c=e[1];for(var y=o;y<d;y+=o)(u=e[y])<i&&(i=u),(p=e[y+1])<s&&(s=p),u>a&&(a=u),p>c&&(c=p);f=0!==(f=Math.max(a-i,c-s))?1/f:0}return n(g,m,o,i,s,f),m}function t(e,t,r,n,o){var i,s;if(o===M(e,t,r,n)>0)for(i=t;i<r;i+=n)s=_(i,e[i],e[i+1],s);else for(i=r-n;i>=t;i-=n)s=_(i,e[i],e[i+1],s);if(s&&v(s,s.next)){var a=s.next;Z(s),s=a}return s}function r(e,t){if(!e)return e;t||(t=e);var r,n=e;do{if(r=!1,n.steiner||!v(n,n.next)&&0!==x(n.prev,n,n.next))n=n.next;else{var o=n.prev;if(Z(n),(n=t=o)===n.next)break;r=!0}}while(r||n!==t);return t}function n(e,t,l,c,u,p,f){if(e){!f&&p&&h(e,c,u,p);for(var d,g,m=e;e.prev!==e.next;)if(d=e.prev,g=e.next,p?i(e,c,u,p):o(e))t.push(d.i/l),t.push(e.i/l),t.push(g.i/l),Z(e),e=g.next,m=g.next;else if((e=g)===m){f?1===f?n(e=s(r(e),t,l),t,l,c,u,p,2):2===f&&a(e,t,l,c,u,p):n(r(e),t,l,c,u,p,1);break}}}function o(e){var t=e.prev,r=e,n=e.next;if(x(t,r,n)>=0)return!1;for(var o=e.next.next;o!==e.prev;){if(m(t.x,t.y,r.x,r.y,n.x,n.y,o.x,o.y)&&x(o.prev,o,o.next)>=0)return!1;o=o.next}return!0}function i(e,t,r,n){var o=e.prev,i=e,s=e.next;if(x(o,i,s)>=0)return!1;for(var a=o.x<i.x?o.x<s.x?o.x:s.x:i.x<s.x?i.x:s.x,l=o.y<i.y?o.y<s.y?o.y:s.y:i.y<s.y?i.y:s.y,c=o.x>i.x?o.x>s.x?o.x:s.x:i.x>s.x?i.x:s.x,u=o.y>i.y?o.y>s.y?o.y:s.y:i.y>s.y?i.y:s.y,p=d(a,l,t,r,n),f=d(c,u,t,r,n),h=e.prevZ,g=e.nextZ;h&&h.z>=p&&g&&g.z<=f;){if(h!==e.prev&&h!==e.next&&m(o.x,o.y,i.x,i.y,s.x,s.y,h.x,h.y)&&x(h.prev,h,h.next)>=0)return!1;if(h=h.prevZ,g!==e.prev&&g!==e.next&&m(o.x,o.y,i.x,i.y,s.x,s.y,g.x,g.y)&&x(g.prev,g,g.next)>=0)return!1;g=g.nextZ}for(;h&&h.z>=p;){if(h!==e.prev&&h!==e.next&&m(o.x,o.y,i.x,i.y,s.x,s.y,h.x,h.y)&&x(h.prev,h,h.next)>=0)return!1;h=h.prevZ}for(;g&&g.z<=f;){if(g!==e.prev&&g!==e.next&&m(o.x,o.y,i.x,i.y,s.x,s.y,g.x,g.y)&&x(g.prev,g,g.next)>=0)return!1;g=g.nextZ}return!0}function s(e,t,n){var o=e;do{var i=o.prev,s=o.next.next;!v(i,s)&&w(i,o,o.next,s)&&T(i,s)&&T(s,i)&&(t.push(i.i/n),t.push(o.i/n),t.push(s.i/n),Z(o),Z(o.next),o=e=s),o=o.next}while(o!==e);return r(o)}function a(e,t,o,i,s,a){var l=e;do{for(var c=l.next.next;c!==l.prev;){if(l.i!==c.i&&y(l,c)){var u=S(l,c);return l=r(l,l.next),u=r(u,u.next),n(l,t,o,i,s,a),void n(u,t,o,i,s,a)}c=c.next}l=l.next}while(l!==e)}function l(e,n,o,i){var s,a,l,u=[];for(s=0,a=n.length;s<a;s++)(l=t(e,n[s]*i,s<a-1?n[s+1]*i:e.length,i,!1))===l.next&&(l.steiner=!0),u.push(g(l));for(u.sort(c),s=0;s<u.length;s++)o=r(o=p(u[s],o),o.next);return o}function c(e,t){return e.x-t.x}function u(e){if(e.next.prev===e)return e;let t=e;for(;;){const r=t.next;if(r.prev===t||r===t||r===e)break;t=r}return t}function p(e,t){var n=function(e,t){var r,n=t,o=e.x,i=e.y,s=-1/0;do{if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){var a=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=o&&a>s){if(s=a,a===o){if(i===n.y)return n;if(i===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==t);if(!r)return null;if(o===s)return r;var l,c=r,u=r.x,p=r.y,h=1/0;n=r;do{o>=n.x&&n.x>=u&&o!==n.x&&m(i<p?o:s,i,u,p,i<p?s:o,i,n.x,n.y)&&(l=Math.abs(i-n.y)/(o-n.x),T(n,e)&&(l<h||l===h&&(n.x>r.x||n.x===r.x&&f(r,n)))&&(r=n,h=l)),n=n.next}while(n!==c);return r}(e,t);if(!n)return t;var o=S(n,e),i=r(n,n.next);let s=u(o);return r(s,s.next),i=u(i),u(t===n?i:t)}function f(e,t){return x(e.prev,e,t.prev)<0&&x(t.next,e,e.next)<0}function h(e,t,r,n){var o=e;do{null===o.z&&(o.z=d(o.x,o.y,t,r,n)),o.prevZ=o.prev,o.nextZ=o.next,o=o.next}while(o!==e);o.prevZ.nextZ=null,o.prevZ=null,function(e){var t,r,n,o,i,s,a,l,c=1;do{for(r=e,e=null,i=null,s=0;r;){for(s++,n=r,a=0,t=0;t<c&&(a++,n=n.nextZ);t++);for(l=c;a>0||l>0&&n;)0!==a&&(0===l||!n||r.z<=n.z)?(o=r,r=r.nextZ,a--):(o=n,n=n.nextZ,l--),i?i.nextZ=o:e=o,o.prevZ=i,i=o;r=n}i.nextZ=null,c*=2}while(s>1)}(o)}function d(e,t,r,n,o){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*o)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*o)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function g(e){var t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function m(e,t,r,n,o,i,s,a){return(o-s)*(t-a)-(e-s)*(i-a)>=0&&(e-s)*(n-a)-(r-s)*(t-a)>=0&&(r-s)*(i-a)-(o-s)*(n-a)>=0}function y(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&w(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}(e,t)&&(T(e,t)&&T(t,e)&&function(e,t){var r=e,n=!1,o=(e.x+t.x)/2,i=(e.y+t.y)/2;do{r.y>i!=r.next.y>i&&r.next.y!==r.y&&o<(r.next.x-r.x)*(i-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}(e,t)&&(x(e.prev,e,t.prev)||x(e,t.prev,t))||v(e,t)&&x(e.prev,e,e.next)>0&&x(t.prev,t,t.next)>0)}function x(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function v(e,t){return e.x===t.x&&e.y===t.y}function w(e,t,r,n){var o=A(x(e,t,r)),i=A(x(e,t,n)),s=A(x(r,n,e)),a=A(x(r,n,t));return o!==i&&s!==a||!(0!==o||!b(e,r,t))||!(0!==i||!b(e,n,t))||!(0!==s||!b(r,e,n))||!(0!==a||!b(r,t,n))}function b(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function A(e){return e>0?1:e<0?-1:0}function T(e,t){return x(e.prev,e,e.next)<0?x(e,t,e.next)>=0&&x(e,e.prev,t)>=0:x(e,t,e.prev)<0||x(e,e.next,t)<0}function S(e,t){var r=new C(e.i,e.x,e.y),n=new C(t.i,t.x,t.y),o=e.next,i=t.prev;return e.next=t,t.prev=e,r.next=o,o.prev=r,n.next=r,r.prev=n,i.next=n,n.prev=i,n}function _(e,t,r,n){var o=new C(e,t,r);return n?(o.next=n.next,o.prev=n,n.next.prev=o,n.next=o):(o.prev=o,o.next=o),o}function Z(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function C(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function M(e,t,r,n){for(var o=0,i=t,s=r-n;i<r;i+=n)o+=(e[s]-e[i])*(e[i+1]+e[s+1]),s=i;return o}return e.deviation=function(e,t,r,n){var o=t&&t.length,i=o?t[0]*r:e.length,s=Math.abs(M(e,0,i,r));if(o)for(var a=0,l=t.length;a<l;a++){var c=t[a]*r,u=a<l-1?t[a+1]*r:e.length;s-=Math.abs(M(e,c,u,r))}var p=0;for(a=0;a<n.length;a+=3){var f=n[a]*r,h=n[a+1]*r,d=n[a+2]*r;p+=Math.abs((e[f]-e[d])*(e[h+1]-e[f+1])-(e[f]-e[h])*(e[d+1]-e[f+1]))}return 0===s&&0===p?0:Math.abs((p-s)/s)},e.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,o=0;o<e.length;o++){for(var i=0;i<e[o].length;i++)for(var s=0;s<t;s++)r.vertices.push(e[o][i][s]);o>0&&(n+=e[o-1].length,r.holes.push(n))}return r},e},void 0!==(i=o())&&(n.exports=i);const l=(0,s.g)(a.exports)},46521:(e,t,r)=>{function n(){return[1,0,0,0,1,0,0,0,1]}function o(e,t,r,n,o,i,s,a,l){return[e,t,r,n,o,i,s,a,l]}function i(e,t){return new Float64Array(e,t,9)}r.d(t,{a:()=>i,c:()=>n,f:()=>o}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]},create:n,createView:i,fromValues:o},Symbol.toStringTag,{value:"Module"}))},13598:(e,t,r)=>{function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}function i(e,t){return new Float64Array(e,t,16)}r.d(t,{I:()=>s,a:()=>i,b:()=>o,c:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:n,createView:i,fromValues:function(e,t,r,n,o,i,s,a,l,c,u,p,f,h,d,g){return[e,t,r,n,o,i,s,a,l,c,u,p,f,h,d,g]}},Symbol.toStringTag,{value:"Module"}))},94961:(e,t,r)=>{function n(){return[0,0,0,1]}function o(e){return[e[0],e[1],e[2],e[3]]}function i(e,t){return new Float64Array(e,t,4)}r.d(t,{I:()=>s,a:()=>n,b:()=>o,c:()=>i});const s=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:n,createView:i,fromValues:function(e,t,r,n){return[e,t,r,n]}},Symbol.toStringTag,{value:"Module"}))},20773:(e,t,r)=>{r.d(t,{a:()=>a,b:()=>s,c:()=>o,d:()=>u,e:()=>l,n:()=>p,s:()=>c,t:()=>i});var n=r(72220);function o(e,t,r){i(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function i(e,t,r,o=3,i=o){if(e.length/o!==Math.ceil(t.length/i))return n.c.error("source and destination buffers need to have the same number of elements"),e;const s=e.length/o,a=r[0],l=r[1],c=r[2],u=r[4],p=r[5],f=r[6],h=r[8],d=r[9],g=r[10],m=r[12],y=r[13],x=r[14];let v=0,w=0;for(let r=0;r<s;r++){const r=t[v],n=t[v+1],s=t[v+2];e[w]=a*r+u*n+h*s+m,e[w+1]=l*r+p*n+d*s+y,e[w+2]=c*r+f*n+g*s+x,v+=i,w+=o}return e}function s(e,t,r){a(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function a(e,t,r,o=3,i=o){if(e.length/o!==Math.ceil(t.length/i))return void n.c.error("source and destination buffers need to have the same number of elements");const s=e.length/o,a=r[0],l=r[1],c=r[2],u=r[3],p=r[4],f=r[5],h=r[6],d=r[7],g=r[8];let m=0,y=0;for(let r=0;r<s;r++){const r=t[m],n=t[m+1],s=t[m+2];e[y]=a*r+u*n+h*s,e[y+1]=l*r+p*n+d*s,e[y+2]=c*r+f*n+g*s,m+=i,y+=o}}function l(e,t,r){c(e.typedBuffer,t,r,e.typedBufferStride)}function c(e,t,r,n=3){const o=Math.min(e.length/n,t.count),i=t.typedBuffer,s=t.typedBufferStride;let a=0,l=0;for(let t=0;t<o;t++)e[l]=r*i[a],e[l+1]=r*i[a+1],e[l+2]=r*i[a+2],a+=s,l+=n}function u(e,t){p(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function p(e,t,r=3,n=r){const o=Math.min(e.length/r,t.length/n);let i=0,s=0;for(let a=0;a<o;a++){const o=t[i],a=t[i+1],l=t[i+2],c=o*o+a*a+l*l;if(c>0){const t=1/Math.sqrt(c);e[s]=t*o,e[s+1]=t*a,e[s+2]=t*l}i+=n,s+=r}}Object.freeze(Object.defineProperty({__proto__:null,normalize:p,normalizeView:u,scale:c,scaleView:l,shiftRight:function(e,t,r){const n=Math.min(e.count,t.count),o=e.typedBuffer,i=e.typedBufferStride,s=t.typedBuffer,a=t.typedBufferStride;let l=0,c=0;for(let e=0;e<n;e++)o[c]=s[l]>>r,o[c+1]=s[l+1]>>r,o[c+2]=s[l+2]>>r,l+=a,c+=i},transformMat3:a,transformMat3View:s,transformMat4:i,transformMat4View:o},Symbol.toStringTag,{value:"Module"}))},83025:(e,t,r)=>{r.d(t,{JK:()=>a,QZ:()=>i,Rq:()=>s,bg:()=>o,mB:()=>l});var n=r(1533);function o(e,t=!1){return e<=n.DB?t?new Array(e).fill(0):new Array(e):new Float64Array(e)}function i(e){return((0,n.kJ)(e)?e.length:e.byteLength/8)<=n.DB?Array.from(e):new Float64Array(e)}function s(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e,t){for(let r=0;r<t.length;++r)e[r]=t[r];return e}function l(e){return Array.isArray(e)?new Float64Array(e):e}},24882:(e,t,r)=>{r.d(t,{$z:()=>s,KF:()=>u,mi:()=>o});var n=r(1533);function o(e){return(0,n.kJ)(e)?e.length<n.DB?e:i(e):e.length<n.DB?Array.from(e):e.BYTES_PER_ELEMENT===Uint16Array.BYTES_PER_ELEMENT?e:i(e)}function i(e){let t=!0;for(const r of e){if(r>=65536)return(0,n.kJ)(e)?new Uint32Array(e):e;r>=256&&(t=!1)}return t?new Uint8Array(e):new Uint16Array(e)}function s(e){return e<=n.DB?new Array(e):e<=65536?new Uint16Array(e):new Uint32Array(e)}let a=(()=>{const e=new Uint32Array(131072);for(let t=0;t<e.length;++t)e[t]=t;return e})();const l=[0],c=(()=>{const e=new Uint16Array(65536);for(let t=0;t<e.length;++t)e[t]=t;return e})();function u(e){if(1===e)return l;if(e<n.DB)return Array.from(new Uint16Array(c.buffer,0,e));if(e<c.length)return new Uint16Array(c.buffer,0,e);if(e>a.length){const t=Math.max(2*a.length,e);a=new Uint32Array(t);for(let e=0;e<a.length;e++)a[e]=e}return new Uint32Array(a.buffer,0,e)}new Uint8Array(65536)},62540:(e,t,r)=>{r.d(t,{Z:()=>x});var n,o=r(43697),i=r(96674),s=r(22974),a=r(92604),l=r(5600),c=r(90578),u=r(52011),p=r(75215),f=r(65542),h=r(60746),d=r(71630);const g="esri.geometry.support.MeshComponent",m=a.Z.getLogger(g);let y=n=class extends i.wq{static from(e){return(0,p.TJ)(n,e)}constructor(e){super(e),this.faces=null,this.material=null,this.shading="source",this.trustSourceNormals=!1}castFaces(e){return(0,d.X)(e,Uint32Array,[Uint16Array],{loggerTag:".faces=",stride:3},m)}castMaterial(e){return(0,p.TJ)(e&&"object"==typeof e&&("metallic"in e||"roughness"in e||"metallicRoughnessTexture"in e)?h.Z:f.Z,e)}clone(){return new n({faces:(0,s.d9)(this.faces),shading:this.shading,material:(0,s.d9)(this.material),trustSourceNormals:this.trustSourceNormals})}cloneWithDeduplication(e,t){const r={faces:(0,s.d9)(this.faces),shading:this.shading,material:this.material?this.material.cloneWithDeduplication(e,t):null,trustSourceNormals:this.trustSourceNormals};return new n(r)}get memoryUsage(){let e=0;return null!=this.faces&&(e+=this.faces.byteLength),null!=this.material&&(e+=this.material.memoryUsage),e}};(0,o._)([(0,l.Cb)({json:{write:!0}})],y.prototype,"faces",void 0),(0,o._)([(0,c.p)("faces")],y.prototype,"castFaces",null),(0,o._)([(0,l.Cb)({type:f.Z,json:{write:!0}})],y.prototype,"material",void 0),(0,o._)([(0,c.p)("material")],y.prototype,"castMaterial",null),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],y.prototype,"shading",void 0),(0,o._)([(0,l.Cb)({type:Boolean})],y.prototype,"trustSourceNormals",void 0),y=n=(0,o._)([(0,u.j)(g)],y);const x=y},85872:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(43697),o=r(2368),i=r(96674),s=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),l=r(52011),c=r(65617),u=r(94139);let p=class extends((0,o.J)(i.wq)){constructor(e){super(e),this.type="georeferenced-relative",this.isRelative=!0,this.isGeoreferenced=!0,this.origin=(0,c.c)()}getOriginPoint(e){const[t,r,n]=this.origin;return new u.Z({x:t,y:r,z:n,spatialReference:e})}setOriginFormPoint({x:e,y:t,z:r}){this.origin=(0,c.f)(e,t,r??0)}};(0,n._)([(0,a.J)({georeferencedRelative:"georeferenced-relative"},{readOnly:!0})],p.prototype,"type",void 0),(0,n._)([(0,s.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"origin",void 0),p=(0,n._)([(0,l.j)("esri.geometry.support.MeshGeoreferencedRelativeVertexSpace")],p);const f=p},50567:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(43697),o=r(2368),i=r(96674),s=(r(92604),r(75215),r(67676),r(80442),r(20102),r(36030)),a=r(52011);let l=class extends((0,o.J)(i.wq)){constructor(){super({}),this.type="georeferenced",this.isRelative=!1,this.isGeoreferenced=!0}};(0,n._)([(0,s.J)({georeferenced:"georeferenced"},{readOnly:!0})],l.prototype,"type",void 0),l=(0,n._)([(0,a.j)("esri.geometry.support.MeshGeoreferencedVertexSpace")],l);const c=l},84555:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(43697),o=r(2368),i=r(96674),s=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),l=r(52011),c=r(65617),u=r(94139);let p=class extends((0,o.J)(i.wq)){constructor(e){super(e),this.type="local",this.isRelative=!0,this.isGeoreferenced=!1,this.origin=(0,c.c)()}getOriginPoint(e){const[t,r,n]=this.origin;return new u.Z({x:t,y:r,z:n,spatialReference:e})}setOriginFormPoint({x:e,y:t,z:r}){this.origin=(0,c.f)(e,t,r??0)}};(0,n._)([(0,a.J)({local:"local"},{readOnly:!0})],p.prototype,"type",void 0),(0,n._)([(0,s.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"origin",void 0),p=(0,n._)([(0,l.j)("esri.geometry.support.MeshLocalVertexSpace")],p);const f=p},65542:(e,t,r)=>{r.d(t,{Z:()=>f});var n,o=r(43697),i=r(22303),s=r(96674),a=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),c=r(91024),u=r(80218);let p=n=class extends s.wq{constructor(e){super(e),this.color=null,this.colorTexture=null,this.colorTextureTransform=null,this.normalTexture=void 0,this.normalTextureTransform=void 0,this.alphaMode="auto",this.alphaCutoff=.5,this.doubleSided=!0}clone(){return this.cloneWithDeduplication(null,new Map)}cloneWithDeduplication(e,t){const r=null!=e?e.get(this):null;if(r)return r;const o=new n(this.clonePropertiesWithDeduplication(t));return null!=e&&e.set(this,o),o}clonePropertiesWithDeduplication(e){return{color:null!=this.color?this.color.clone():null,colorTexture:this.colorTexture?.cloneWithDeduplication(e),normalTexture:this.normalTexture?.cloneWithDeduplication(e),alphaMode:this.alphaMode,alphaCutoff:this.alphaCutoff,doubleSided:this.doubleSided,colorTextureTransform:this.colorTextureTransform?.clone(),normalTextureTransform:this.normalTextureTransform?.clone()}}get memoryUsage(){return this.getMemoryUsage()}getMemoryUsage(){let e=0;return e+=null!=this.color?16:0,null!=this.colorTexture&&(e+=this.colorTexture.memoryUsage),e+=null!=this.colorTextureTransform?20:0,null!=this.normalTexture&&(e+=this.normalTexture.memoryUsage),e+=null!=this.normalTextureTransform?20:0,e}};(0,o._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],p.prototype,"color",void 0),(0,o._)([(0,a.Cb)({type:c.Z,json:{write:!0}})],p.prototype,"colorTexture",void 0),(0,o._)([(0,a.Cb)({type:u.Z,json:{write:!0}})],p.prototype,"colorTextureTransform",void 0),(0,o._)([(0,a.Cb)({type:c.Z,json:{write:!0}})],p.prototype,"normalTexture",void 0),(0,o._)([(0,a.Cb)({type:u.Z,json:{write:!0}})],p.prototype,"normalTextureTransform",void 0),(0,o._)([(0,a.Cb)({nonNullable:!0,json:{write:!0}})],p.prototype,"alphaMode",void 0),(0,o._)([(0,a.Cb)({nonNullable:!0,json:{write:!0}})],p.prototype,"alphaCutoff",void 0),(0,o._)([(0,a.Cb)({nonNullable:!0,json:{write:!0}})],p.prototype,"doubleSided",void 0),p=n=(0,o._)([(0,l.j)("esri.geometry.support.MeshMaterial")],p);const f=p},60746:(e,t,r)=>{r.d(t,{Z:()=>f});var n,o=r(43697),i=r(22303),s=r(5600),a=(r(75215),r(67676),r(80442),r(52011)),l=r(65542),c=r(91024),u=r(80218);let p=n=class extends l.Z{constructor(e){super(e),this.emissiveColor=null,this.emissiveTexture=null,this.emissiveTextureTransform=void 0,this.occlusionTexture=null,this.occlusionTextureTransform=void 0,this.metallic=1,this.roughness=1,this.metallicRoughnessTexture=null,this.metallicRoughnessTextureTransform=void 0}clone(){return this.cloneWithDeduplication(null,new Map)}cloneWithDeduplication(e,t){const r=null!=e?e.get(this):null;if(r)return r;const o=new n(this.clonePropertiesWithDeduplication(t));return null!=e&&e.set(this,o),o}getMemoryUsage(){let e=super.getMemoryUsage();return e+=null!=this.emissiveColor?16:0,null!=this.emissiveTexture&&(e+=this.emissiveTexture.memoryUsage),e+=null!=this.emissiveTextureTransform?20:0,null!=this.occlusionTexture&&(e+=this.occlusionTexture.memoryUsage),e+=null!=this.occlusionTextureTransform?20:0,null!=this.metallicRoughnessTexture&&(e+=this.metallicRoughnessTexture.memoryUsage),e+=null!=this.metallicRoughnessTextureTransform?20:0,e}clonePropertiesWithDeduplication(e){return{...super.clonePropertiesWithDeduplication(e),emissiveColor:this.emissiveColor?.clone(),emissiveTexture:this.emissiveTexture?.cloneWithDeduplication(e),emissiveTextureTransform:this.emissiveTextureTransform?.clone(),occlusionTexture:this.occlusionTexture?.cloneWithDeduplication(e),occlusionTextureTransform:this.occlusionTextureTransform?.clone(),metallic:this.metallic,roughness:this.roughness,metallicRoughnessTexture:this.metallicRoughnessTexture?.cloneWithDeduplication(e),metallicRoughnessTextureTransform:this.metallicRoughnessTextureTransform?.clone()}}};(0,o._)([(0,s.Cb)({type:i.Z,json:{write:!0}})],p.prototype,"emissiveColor",void 0),(0,o._)([(0,s.Cb)({type:c.Z,json:{write:!0}})],p.prototype,"emissiveTexture",void 0),(0,o._)([(0,s.Cb)({type:u.Z,json:{write:!0}})],p.prototype,"emissiveTextureTransform",void 0),(0,o._)([(0,s.Cb)({type:c.Z,json:{write:!0}})],p.prototype,"occlusionTexture",void 0),(0,o._)([(0,s.Cb)({type:u.Z,json:{write:!0}})],p.prototype,"occlusionTextureTransform",void 0),(0,o._)([(0,s.Cb)({type:Number,nonNullable:!0,json:{write:!0},range:{min:0,max:1}})],p.prototype,"metallic",void 0),(0,o._)([(0,s.Cb)({type:Number,nonNullable:!0,json:{write:!0},range:{min:0,max:1}})],p.prototype,"roughness",void 0),(0,o._)([(0,s.Cb)({type:c.Z,json:{write:!0}})],p.prototype,"metallicRoughnessTexture",void 0),(0,o._)([(0,s.Cb)({type:u.Z,json:{write:!0}})],p.prototype,"metallicRoughnessTextureTransform",void 0),p=n=(0,o._)([(0,a.j)("esri.geometry.support.MeshMaterialMetallicRoughness")],p);const f=p},91024:(e,t,r)=>{r.d(t,{Z:()=>v});var n=r(43697);r(80442);let o=null,i=!0;function s(){return o||(o=document.createElement("canvas"),o.width=1,o.height=1),o}function a(e,t,r){return r||(r=s()),r.getContext("2d").createImageData(e,t)}var l,c=r(96674),u=r(5600),p=r(75215),f=(r(67676),r(71715)),h=r(52011),d=r(30556),g=r(25929);const m=new WeakMap;let y=0,x=l=class extends c.wq{constructor(e){super(e),this.wrap="repeat"}get url(){return this._get("url")||null}set url(e){this._set("url",e),e&&this._set("data",null)}get data(){return this._get("data")||null}set data(e){this._set("data",e),e&&this._set("url",null)}writeData(e,t,r,n){if(e instanceof HTMLImageElement){const o={type:"image-element",src:(0,g.t)(e.src,n),crossOrigin:e.crossOrigin};t[r]=o}else if(e instanceof HTMLCanvasElement){const n=e.getContext("2d").getImageData(0,0,e.width,e.height),o={type:"canvas-element",imageData:this._encodeImageData(n)};t[r]=o}else if(e instanceof HTMLVideoElement){const o={type:"video-element",src:(0,g.t)(e.src,n),autoplay:e.autoplay,loop:e.loop,muted:e.muted,crossOrigin:e.crossOrigin,preload:e.preload};t[r]=o}else if(e instanceof ImageData){const n={type:"image-data",imageData:this._encodeImageData(e)};t[r]=n}}readData(e){switch(e.type){case"image-element":{const t=new Image;return t.src=e.src,t.crossOrigin=e.crossOrigin,t}case"canvas-element":{const t=this._decodeImageData(e.imageData),r=document.createElement("canvas");return r.width=t.width,r.height=t.height,r.getContext("2d").putImageData(t,0,0),r}case"image-data":return this._decodeImageData(e.imageData);case"video-element":{const t=document.createElement("video");return t.src=e.src,t.crossOrigin=e.crossOrigin,t.autoplay=e.autoplay,t.loop=e.loop,t.muted=e.muted,t.preload=e.preload,t}default:return}}get transparent(){const e=this.data,t=this.url;if(e instanceof HTMLCanvasElement)return this._imageDataContainsTransparent(e.getContext("2d").getImageData(0,0,e.width,e.height));if(e instanceof ImageData)return this._imageDataContainsTransparent(e);if(t){const e=t.substr(t.length-4,4).toLowerCase(),r=t.substr(0,15).toLocaleLowerCase();if(".png"===e||"data:image/png;"===r)return!0}return!1}set transparent(e){this._overrideIfSome("transparent",e)}get contentHash(){const e="string"==typeof this.wrap?this.wrap:"object"==typeof this.wrap?`${this.wrap.horizontal}/${this.wrap.vertical}`:"",t=(t="")=>`d:${t},t:${this.transparent},w:${e}`;return null!=this.url?t(this.url):null!=this.data?this.data instanceof HTMLImageElement||this.data instanceof HTMLVideoElement?t(this.data.src):(m.has(this.data)||m.set(this.data,++y),t(m.get(this.data))):t()}get memoryUsage(){let e=0;if(e+=null!=this.url?this.url.length:0,null!=this.data){const t=this.data;"data"in t?e+=t.data.byteLength:t instanceof HTMLImageElement?e+=t.naturalWidth*t.naturalHeight*3:t instanceof HTMLCanvasElement&&(e+=t.width*t.height*3)}return e}clone(){const e={url:this.url,data:this.data,wrap:this._cloneWrap()};return new l(e)}cloneWithDeduplication(e){const t=e.get(this);if(t)return t;const r=this.clone();return e.set(this,r),r}_cloneWrap(){return"string"==typeof this.wrap?this.wrap:{horizontal:this.wrap.horizontal,vertical:this.wrap.vertical}}_encodeImageData(e){let t="";for(let r=0;r<e.data.length;r++)t+=String.fromCharCode(e.data[r]);return{data:btoa(t),width:e.width,height:e.height}}_decodeImageData(e){const t=atob(e.data),r=new Uint8ClampedArray(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return function(e,t,r,n){if(!t||!r)throw new Error("Cannot construct image data without dimensions");if(i)try{return new ImageData(e,t,r)}catch(e){i=!1}const o=a(t,r,void 0);return o.data.set(e,0),o}(r,e.width,e.height)}_imageDataContainsTransparent(e){for(let t=3;t<e.data.length;t+=4)if(255!==e.data[t])return!0;return!1}static from(e){return"string"==typeof e?new l({url:e}):e instanceof HTMLImageElement||e instanceof HTMLCanvasElement||e instanceof ImageData||e instanceof HTMLVideoElement?new l({data:e}):(0,p.TJ)(l,e)}};(0,n._)([(0,u.Cb)({type:String,json:{write:g.w}})],x.prototype,"url",null),(0,n._)([(0,u.Cb)({json:{write:{overridePolicy(){return{enabled:!this.url}}}}}),(0,u.Cb)()],x.prototype,"data",null),(0,n._)([(0,d.c)("data")],x.prototype,"writeData",null),(0,n._)([(0,f.r)("data")],x.prototype,"readData",null),(0,n._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy(){return{enabled:this._isOverridden("transparent")}}}}})],x.prototype,"transparent",null),(0,n._)([(0,u.Cb)({json:{write:!0}})],x.prototype,"wrap",void 0),(0,n._)([(0,u.Cb)({readOnly:!0})],x.prototype,"contentHash",null),x=l=(0,n._)([(0,h.j)("esri.geometry.support.MeshTexture")],x);const v=x},80218:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(43697),o=r(2368),i=r(96674),s=r(5600),a=(r(75215),r(67676),r(80442),r(52011));let l=class extends((0,o.J)(i.wq)){constructor(e){super(e),this.offset=[0,0],this.rotation=0,this.scale=[1,1]}};(0,n._)([(0,s.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],l.prototype,"offset",void 0),(0,n._)([(0,s.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],l.prototype,"rotation",void 0),(0,n._)([(0,s.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],l.prototype,"scale",void 0),l=(0,n._)([(0,a.j)("esri.geometry.support.MeshTextureTransform")],l);const c=l},71630:(e,t,r)=>{r.d(t,{Q:()=>h,X:()=>g});var n,o=r(43697),i=r(96674),s=r(22974),a=r(92604),l=r(5600),c=r(90578),u=r(52011);const p="esri.geometry.support.MeshVertexAttributes",f=a.Z.getLogger(p);let h=n=class extends i.wq{constructor(e){super(e),this.color=null,this.position=new Float64Array(0),this.uv=null,this.normal=null,this.tangent=null}castColor(e){return g(e,Uint8Array,[Uint8ClampedArray],{loggerTag:".color=",stride:4},f)}castPosition(e){return e&&e instanceof Float32Array&&f.warn(".position=","Setting position attribute from a Float32Array may cause precision problems. Consider storing data in a Float64Array or a regular number array"),g(e,Float64Array,[Float32Array],{loggerTag:".position=",stride:3},f)}castUv(e){return g(e,Float32Array,[Float64Array],{loggerTag:".uv=",stride:2},f)}castNormal(e){return g(e,Float32Array,[Float64Array],{loggerTag:".normal=",stride:3},f)}castTangent(e){return g(e,Float32Array,[Float64Array],{loggerTag:".tangent=",stride:4},f)}clone(){const e={position:(0,s.d9)(this.position),uv:(0,s.d9)(this.uv),normal:(0,s.d9)(this.normal),tangent:(0,s.d9)(this.tangent),color:(0,s.d9)(this.color)};return new n(e)}clonePositional(){const e={position:(0,s.d9)(this.position),normal:(0,s.d9)(this.normal),tangent:(0,s.d9)(this.tangent),uv:this.uv,color:this.color};return new n(e)}get memoryUsage(){let e=0;return e+=this.position.byteLength,null!=this.uv&&(e+=this.uv.byteLength),null!=this.normal&&(e+=this.normal.byteLength),null!=this.tangent&&(e+=this.tangent.byteLength),null!=this.color&&(e+=this.color.byteLength),e}};function d(e,t,r,n){const{loggerTag:o,stride:i}=t;return e.length%i!=0?(n.error(o,`Invalid array length, expected a multiple of ${i}`),new r([])):e}function g(e,t,r,n,o){if(!e)return e;if(e instanceof t)return d(e,n,t,o);for(const i of r)if(e instanceof i)return d(new t(e),n,t,o);if(Array.isArray(e))return d(new t(e),n,t,o);{const n=r.map((e=>`'${e.name}'`));return o.error(`Failed to set property, expected one of ${n}, but got ${e.constructor.name}`),new t([])}}function m(e,t,r){t[r]=function(e){const t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=e[r];return t}(e)}(0,o._)([(0,l.Cb)({json:{write:m}})],h.prototype,"color",void 0),(0,o._)([(0,c.p)("color")],h.prototype,"castColor",null),(0,o._)([(0,l.Cb)({nonNullable:!0,json:{write:m}})],h.prototype,"position",void 0),(0,o._)([(0,c.p)("position")],h.prototype,"castPosition",null),(0,o._)([(0,l.Cb)({json:{write:m}})],h.prototype,"uv",void 0),(0,o._)([(0,c.p)("uv")],h.prototype,"castUv",null),(0,o._)([(0,l.Cb)({json:{write:m}})],h.prototype,"normal",void 0),(0,o._)([(0,c.p)("normal")],h.prototype,"castNormal",null),(0,o._)([(0,l.Cb)({json:{write:m}})],h.prototype,"tangent",void 0),(0,o._)([(0,c.p)("tangent")],h.prototype,"castTangent",null),h=n=(0,o._)([(0,u.j)(p)],h)},72220:(e,t,r)=>{r.d(t,{c:()=>n});const n=r(92604).Z.getLogger("esri.views.3d.support.buffer.math")},84470:(e,t,r)=>{r.d(t,{CP:()=>a,JG:()=>d,LL:()=>l,NZ:()=>c,fV:()=>g,vj:()=>y,yT:()=>v,zE:()=>x});var n=r(3172),o=r(67676),i=r(95330),s=r(2981);class a{constructor(e,t,r){this.assetName=e,this.assetMimeType=t,this.parts=r}equals(e){return this===e||this.assetName===e.assetName&&this.assetMimeType===e.assetMimeType&&(0,o.fS)(this.parts,e.parts,((e,t)=>e.equals(t)))}isOnService(e){return this.parts.every((t=>t.isOnService(e)))}makeHash(){let e="";for(const t of this.parts)e+=t.partHash;return e}async toBlob(e){const{parts:t}=this;if(1===t.length)return t[0].toBlob(e);const r=await Promise.all(t.map((t=>t.toBlob(e))));return(0,i.k_)(e),new Blob(r)}}class l{constructor(e,t){this.partUrl=e,this.partHash=t}equals(e){return this===e||this.partUrl===e.partUrl&&this.partHash===e.partHash}isOnService(e){return this.partUrl.startsWith(`${e.path}/assets/`)}async toBlob(e){const{data:t}=await(0,n.default)(this.partUrl,{responseType:"blob"});return(0,i.k_)(e),t}}function c(e){return function(e){return!!e&&(Array.isArray(e)?e.some(h):h(e))}(e?.source)}function u(e){return!!Array.isArray(e)&&e.every((e=>e instanceof a))}const p=/^(model\/gltf\+json)|(model\/gltf-binary)$/,f=/\.(gltf|glb)/i;function h(e){if(e instanceof File){const{type:t,name:r}=e;return p.test(t)||f.test(r)}return p.test(e.assetMimeType)||f.test(e.assetName)}function d(e,t){if(!e)return!1;const{source:r}=e;return function(e,t){return Array.isArray(e)?e.every((e=>m(e,t))):m(e,t)}(r,t)}function g(e,t){if(e===t)return!0;const{source:r}=e,{source:n}=t;if(r===n)return!0;if(u(r)&&u(n)){if(r.length!==n.length)return!1;const e=(e,t)=>e.assetName<t.assetName?-1:e.assetName>t.assetName?1:0,t=[...r].sort(e),o=[...n].sort(e);for(let e=0;e<t.length;++e)if(!t[e].equals(o[e]))return!1;return!0}return!1}function m(e,t){return e instanceof a&&e.isOnService(t)}function y(e,t){return e instanceof File?(0,s.Ow)(e.name,t)??(0,s.S0)(e.type,t):(0,s.S0)(e.assetMimeType,t)??(0,s.Ow)(e.assetName,t)}function x(e){return Array.isArray(e)?e:[e]}function v(e){return!!e.original}},47545:(e,t,r)=>{r.d(t,{d:()=>i});var n=r(22021),o=r(24882);function i(e,t,r){const i=Array.isArray(e),u=i?e.length/t:e.byteLength/(4*t),p=i?e:new Uint32Array(e,0,u*t),f=r?.minReduction??0,h=r?.originalIndices||null,d=h?h.length:0,g=r?.componentOffsets||null;let m=0;if(g)for(let e=0;e<g.length-1;e++){const t=g[e+1]-g[e];t>m&&(m=t)}else m=u;const y=Math.floor(1.1*m)+1;(null==c||c.length<2*y)&&(c=new Uint32Array((0,n.Sf)(2*y)));for(let e=0;e<2*y;e++)c[e]=0;let x=0;const v=!!g&&!!h,w=v?d:u;let b=(0,o.$z)(u);const A=new Uint32Array(d),T=1.96;let S=0!==f?Math.ceil(4*T*T/(f*f)*f*(1-f)):w,_=1,Z=g?g[1]:w;for(let e=0;e<w;e++){if(e===S){const t=1-x/e;if(t+T*Math.sqrt(t*(1-t)/e)<f)return null;S*=2}if(e===Z){for(let e=0;e<2*y;e++)c[e]=0;if(h)for(let e=g[_-1];e<g[_];e++)A[e]=b[h[e]];Z=g[++_]}const r=v?h[e]:e,n=r*t,o=l(p,n,t);let i=o%y,a=x;for(;0!==c[2*i+1];){if(c[2*i]===o){const e=c[2*i+1]-1;if(s(p,n,e*t,t)){a=b[e];break}}i++,i>=y&&(i-=y)}a===x&&(c[2*i]=o,c[2*i+1]=r+1,x++),b[r]=a}if(0!==f&&1-x/u<f)return null;if(v){for(let e=g[_-1];e<A.length;e++)A[e]=b[h[e]];b=(0,o.mi)(A)}const C=i?new Array(x):new Uint32Array(x*t);x=0;for(let e=0;e<w;e++)b[e]===x&&(a(p,(v?h[e]:e)*t,C,x*t,t),x++);if(h&&!v){const e=new Uint32Array(d);for(let t=0;t<e.length;t++)e[t]=b[h[t]];b=(0,o.mi)(e)}return{buffer:Array.isArray(C)?C:C.buffer,indices:b,uniqueCount:x}}function s(e,t,r,n){for(let o=0;o<n;o++)if(e[t+o]!==e[r+o])return!1;return!0}function a(e,t,r,n,o){for(let i=0;i<o;i++)r[n+i]=e[t+i]}function l(e,t,r){let n=0;for(let o=0;o<r;o++)n=e[t+o]+n|0,n=n+(n<<11)+(n>>>2)|0;return n>>>0}let c=null},91681:(e,t,r)=>{r.r(t),r.d(t,{assetMapFromAssetMapsJSON:()=>qe,extractMesh:()=>He,meshFeatureSetFromJSON:()=>Ve});var n,o,i=r(38171),s=r(92604),a=r(30175),l=r(65617),c=r(6570),u=r(43697),p=r(20102),f=r(3920),h=r(83379),d=r(609),g=r(95330),m=r(17445),y=r(5600),x=(r(75215),r(67676),r(80442),r(52011)),v=r(9361),w=r(94139),b=r(38913),A=r(3709),T=r(62540),S=r(85872),_=r(50567),Z=r(84555),C=r(2674),M=r(71630),R=r(95401),j=r(86662),F=r(83025),L=r(24882),E=r(47545);function O(e,t,r){const o=e.length,i=new Array(o),s=new Array(o),a=new Array(o);let l=0,c=0,u=0,p=0;for(let t=0;t<o;++t)p+=e[t].length;const f=(0,F.bg)(3*p);let h=0;for(let p=o-1;p>=0;p--){const d=e[p],g=r===n.CCW_IS_HOLE&&P(d);if(g&&1!==o)i[l++]=d;else{let e=d.length;for(let t=0;t<l;++t)e+=i[t].length;const r={index:h,pathLengths:new Array(l+1),count:e,holeIndices:new Array(l)};r.pathLengths[0]=d.length,d.length>0&&(a[u++]={index:h,count:d.length}),h=g?D(d,d.length-1,-1,f,h,d.length,t):D(d,0,1,f,h,d.length,t);for(let e=0;e<l;++e){const n=i[e];r.holeIndices[e]=h,r.pathLengths[e+1]=n.length,n.length>0&&(a[u++]={index:h,count:n.length}),h=D(n,0,1,f,h,n.length,t)}l=0,r.count>0&&(s[c++]=r)}}for(let e=0;e<l;++e){const r=i[e];r.length>0&&(a[u++]={index:h,count:r.length}),h=D(r,0,1,f,h,r.length,t)}return s.length=c,a.length=u,{position:f,polygons:s,outlines:a}}function D(e,t,r,n,o,i,s){o*=3;for(let a=0;a<i;++a){const i=e[t];n[o++]=i[0],n[o++]=i[1],n[o++]=s?i[2]:0,t+=r}return o/3}function P(e){return!(0,j.bu)(e,!1,!1)}(o=n||(n={}))[o.NONE=0]="NONE",o[o.CCW_IS_HOLE=1]="CCW_IS_HOLE";var U=r(66459);let N=null;function I(e,t){let r=1/0,n=1/0,o=1/0,i=-1/0,s=-1/0,a=-1/0;const l=e.length;let u=0;for(;u<l;){const t=e[u++],l=e[u++],c=e[u++];r=Math.min(r,t),n=Math.min(n,l),o=Math.min(o,c),i=Math.max(i,t),s=Math.max(s,l),a=Math.max(a,c)}return new c.Z({xmin:r,ymin:n,zmin:o,xmax:i,ymax:s,zmax:a,spatialReference:t})}var z=r(17896),k=r(44547),B=r(13442);const W="esri.geometry.support.meshUtils.centerAt";const V=(0,l.c)(),H=(0,l.c)(),$=(0,l.c)();var J=r(81271);function q(e){const t=(0,J.Yd)(e.url);return r=>{const n=(0,J.PF)(r,t,t),o=n?n.replace(/^ *\.\//,""):null;return(o?e.files.get(o):null)??r}}function G(e){return Q.fromBlob(e)}const K=/^(model\/gltf\+json)|(model\/gltf-binary)$/,Y=/\.(gltf|glb)/i;function X(e){const t=new Map;let r=null;for(const{name:n,mimeType:o,source:i}of e)(null==r||K.test(o)||Y.test(n))&&(r=i.url),t.set(n,i.url),i.files.forEach(((e,r)=>t.set(r,e)));if(null==r)throw new p.Z("mesh-load-external:missing-files","Missing files to load external mesh source");return new Q(r,(()=>e.forEach((({source:e})=>e.dispose()))),t)}class Q{constructor(e,t=(()=>{}),r=new Map){this.url=e,this.dispose=t,this.files=r}static fromBlob(e){const t=URL.createObjectURL(e);return new Q(t,(()=>URL.revokeObjectURL(t)))}}var ee=r(2368),te=r(46791),re=r(84470);let ne=class extends ee.j{constructor(){super(),this.externalSources=new te.Z,this._explicitDisplaySource=null}get displaySource(){return this._explicitDisplaySource??this._implicitDisplaySource}set displaySource(e){if(null!=e&&!(0,re.NZ)(e))throw new Error("Cannot use this source for display: it is not in a supported format.");this._explicitDisplaySource=e,e&&this.externalSources.every((t=>!(0,re.fV)(t,e)))&&this.externalSources.add(e)}clearSources(){this.displaySource=null,this.externalSources.removeAll()}getExternalSourcesOnService(e){return this.externalSources.items.filter((t=>(0,re.JG)(t,e)))}get _implicitDisplaySource(){return this.externalSources.find(re.NZ)}};(0,u._)([(0,y.Cb)()],ne.prototype,"externalSources",void 0),(0,u._)([(0,y.Cb)()],ne.prototype,"displaySource",null),(0,u._)([(0,y.Cb)()],ne.prototype,"_implicitDisplaySource",null),(0,u._)([(0,y.Cb)()],ne.prototype,"_explicitDisplaySource",void 0),ne=(0,u._)([(0,x.j)("esri.geometry.support.meshUtils.Metadata")],ne);var oe=r(21787),ie=r(46521),se=r(13598),ae=r(58995),le=r(56493);function ce(e,t){if(e)for(let r=0;r<e.length;r+=3)for(let n=0;n<3;n++)e[r+n]+=t[n]}const ue=(0,l.c)(),pe=(0,se.c)(),fe=(0,ie.c)(),he={position:[-.5,-.5,0,.5,-.5,0,.5,.5,0,-.5,.5,0],normal:[0,0,1,0,0,1,0,0,1,0,0,1],uv:[0,1,1,1,1,0,0,0],faces:[0,1,2,0,2,3],facingAxisOrderSwap:{east:[3,1,2],west:[-3,-1,2],north:[-1,3,2],south:[1,-3,2],up:[1,2,3],down:[1,-2,-3]}};function de(e,t,r){e.isPlane||function(e){for(let t=0;t<e.position.length;t+=3)e.position[t+2]+=.5}(e),function(e,t){if(null==t)return;const r="number"==typeof t?[t,t,t]:[null!=t.width?t.width:1,null!=t.depth?t.depth:1,null!=t.height?t.height:1];xe[0]=r[0],xe[4]=r[1],xe[8]=r[2];for(let t=0;t<e.position.length;t+=3){for(let r=0;r<3;r++)ye[r]=e.position[t+r];(0,z.t)(ye,ye,xe);for(let r=0;r<3;r++)e.position[t+r]=ye[r]}if(r[0]!==r[1]||r[1]!==r[2]){xe[0]=1/r[0],xe[4]=1/r[1],xe[8]=1/r[2];for(let t=0;t<e.normal.length;t+=3){for(let r=0;r<3;r++)ye[r]=e.normal[t+r];(0,z.t)(ye,ye,xe),(0,z.n)(ye,ye);for(let r=0;r<3;r++)e.normal[t+r]=ye[r]}}}(e,r?.size);const{vertexAttributes:n,vertexSpace:o,transform:i}=(0,U.w1)(e,t,r);return{vertexAttributes:new M.Q({...n,uv:e.uv}),vertexSpace:o,transform:i,components:[new T.Z({faces:e.faces,material:r&&r.material||null})],spatialReference:t.spatialReference}}const ge={faceDescriptions:[{axis:[0,-1,0],uvOrigin:[0,.625],corners:[[-1,-1],[1,-1],[1,1],[-1,1]]},{axis:[1,0,0],uvOrigin:[.25,.625],corners:[[-1,-1],[1,-1],[1,1],[-1,1]]},{axis:[0,1,0],uvOrigin:[.5,.625],corners:[[1,-1],[-1,-1],[-1,1],[1,1]]},{axis:[-1,0,0],uvOrigin:[.75,.625],corners:[[1,-1],[-1,-1],[-1,1],[1,1]]},{axis:[0,0,1],uvOrigin:[0,.375],corners:[[-1,-1],[1,-1],[1,1],[-1,1]]},{axis:[0,0,-1],uvOrigin:[0,.875],corners:[[-1,1],[1,1],[1,-1],[-1,-1]]}],uvScales:[[0,0],[1,0],[1,1],[0,1]],faceVertexOffsets:[0,1,2,0,2,3]},me={south:0,east:1,north:2,west:3,up:4,down:5},ye=(0,l.c)(),xe=(0,ie.c)();var ve=r(52138);const we="esri.geometry.support.meshUtils.rotate";function be(e,t,r,n=l.Z){if(null!=e){(0,ve.d)(_e,(0,A.WH)(t),(0,A.ZZ)(t));for(let t=0;t<e.length;t+=r){for(let r=0;r<3;r++)Ae[r]=e[t+r]-n[r];(0,z.m)(Ae,Ae,_e);for(let r=0;r<3;r++)e[t+r]=Ae[r]+n[r]}}}const Ae=(0,l.c)(),Te=(0,l.c)(),Se=(0,A.Ue)(),_e=(0,se.c)(),Ze=(0,ie.c)(),Ce=(0,l.c)(),Me="esri.geometry.support.meshUtils.scale";function Re(e,t,r=l.Z){if(e)for(let n=0;n<e.length;n+=3){for(let t=0;t<3;t++)je[t]=e[n+t]-r[t];(0,z.g)(je,je,t);for(let t=0;t<3;t++)e[n+t]=je[t]+r[t]}}const je=(0,l.c)(),Fe=(0,l.c)(),Le=(0,l.c)();var Ee;const Oe="esri.geometry.Mesh",De={base:null,key:"type",defaultKeyValue:"georeferenced",typeMap:{georeferenced:_.Z,"georeferenced-relative":S.Z,local:Z.Z}};let Pe=Ee=class extends((0,f.p)(h.Z.LoadableMixin((0,d.v)(v.Z)))){constructor(e){super(e),this.components=null,this.vertexSpace=new _.Z,this.transform=null,this.metadata=new ne,this.hasZ=!0,this.hasM=!1,this.vertexAttributes=new M.Q,this.type="mesh"}initialize(){(0===this.metadata.externalSources.length||this.vertexAttributes.position.length)&&(this.loadStatus="loaded"),this.when((()=>{this.handles.add((0,m.YP)((()=>({vertexAttributes:this.vertexAttributes,components:this.components?.map((e=>e.clone()))})),(()=>this._clearSources()),{once:!0,sync:!0}))}))}get hasExtent(){return this.loaded?this.vertexAttributes.position.length>0&&(!this.components||this.components.length>0):null!=this.metadata.displaySource?.extent}get _transformedExtent(){const{components:e,spatialReference:t,vertexAttributes:r,vertexSpace:n}=this,o=r.position;if(0===o.length||e&&0===e.length)return new c.Z({xmin:0,ymin:0,zmin:0,xmax:0,ymax:0,zmax:0,spatialReference:t});if("local"===n.type){const{_untransformedExtent:e,transform:r}=this;return function({xmin:e,xmax:t,ymin:r,ymax:n,zmin:o,zmax:i},s,a,l){o??=0,i??=0,N??=new Float64Array(24);const c=N;return c[0]=e,c[1]=r,c[2]=o,c[3]=e,c[4]=n,c[5]=o,c[6]=t,c[7]=n,c[8]=o,c[9]=t,c[10]=r,c[11]=o,c[12]=e,c[13]=r,c[14]=i,c[15]=e,c[16]=n,c[17]=i,c[18]=t,c[19]=n,c[20]=i,c[21]=t,c[22]=r,c[23]=i,(0,U.project)({positions:c,transform:s,vertexSpace:a,inSpatialReference:l,outSpatialReference:l,outPositions:c,local:!1}),I(c,l)}(e,r,n,t)}if("georeferenced-relative"===n.type){const{transform:e}=this;return I((0,U.project)({positions:o,transform:e,vertexSpace:n,inSpatialReference:t,outSpatialReference:t,local:!1}),t)}return I(o,t)}get _untransformedExtent(){return I(this.vertexAttributes.position,this.spatialReference)}get anchor(){const{vertexSpace:e}=this;if(e.isRelative)return e.getOriginPoint(this.spatialReference);const{center:t,zmin:r}=this._transformedExtent;return new w.Z({x:t.x,y:t.y,z:r,spatialReference:this.spatialReference})}get origin(){const{vertexSpace:e}=this;return e.isRelative?e.getOriginPoint(this.spatialReference):this._transformedExtent.center}get extent(){return this.loaded||null==this.metadata?.displaySource?.extent?this._transformedExtent:this.metadata.displaySource.extent.clone()}addComponent(e){this.loaded?(this.components||(this.components=[]),this.components.push(T.Z.from(e)),this.notifyChange("components")):s.Z.getLogger(this).error("addComponent()","Mesh must be loaded before applying operations")}removeComponent(e){if(this.loaded){if(this.components){const t=this.components.indexOf(e);if(-1!==t)return this.components.splice(t,1),void this.notifyChange("components")}s.Z.getLogger(this).error("removeComponent()","Provided component is not part of the list of components")}else s.Z.getLogger(this).error("removeComponent()","Mesh must be loaded before applying operations")}rotate(e,t,r,n){return(0,A.qw)(e,t,r,Ne),function(e,t,r){if(!e.vertexAttributes||!e.vertexAttributes.position||0===t[3])return;const{spatialReference:n,vertexSpace:o}=e;if(o.isRelative){(0,B.A)(o,we,r);const n=r?.origin??e.origin;e.transform??=new C.Z,function(e,t,r,n){const o=t.origin,i=(0,z.s)(Ae,n.x,n.y,n.z??0),s=(0,z.b)(Ae,i,o);e.applyLocalInverse(s,Te),e.rotation=(0,A.qC)(e.rotation,r,(0,A.Ue)()),e.applyLocalInverse(s,s),(0,z.b)(s,s,Te),e.translation=(0,z.a)((0,l.c)(),e.translation,s)}(e.transform,o,t,n)}else{const o=r?.origin??e.origin;(0,B.h)(n,r)?function(e,t,r){const n=e.spatialReference,o=(0,ae.rS)(n),i=Ce;(0,k.KC)(r,i,o)||(0,k.KC)(e.origin,i,o);const s=e.vertexAttributes.position,a=e.vertexAttributes.normal,l=e.vertexAttributes.tangent,c=new Float64Array(s.length),u=null!=a?new Float32Array(a.length):null,p=null!=l?new Float32Array(l.length):null;(0,k.Bm)(o,i,_e,o),(0,oe.f)(Ze,_e);const f=Se;(0,z.t)((0,A.ZZ)(Se),(0,A.ZZ)(t),Ze),f[3]=t[3],(0,le.XO)(s,n,c),null!=a&&null!=u&&(0,le.Iz)(a,s,c,n,u),null!=l&&null!=p&&(0,le.wi)(l,s,c,n,p),be(c,f,3,i),(0,le.To)(c,s,n),null!=a&&null!=u&&(be(u,f,3),(0,le.Yk)(u,s,c,n,a)),null!=l&&null!=p&&(be(p,f,4),(0,le.M2)(p,s,c,n,l)),e.vertexAttributesChanged()}(e,t,o):function(e,t,r){const n=Ce;if(!(0,k.KC)(r,n,e.spatialReference)){const t=e.origin;n[0]=t.x,n[1]=t.y,n[2]=t.z,s.Z.getLogger(we).error(`Failed to project specified origin (wkid:${r.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`)}be(e.vertexAttributes.position,t,3,n),be(e.vertexAttributes.normal,t,3),be(e.vertexAttributes.tangent,t,4),e.vertexAttributesChanged()}(e,t,o)}}(this,Ne,n),this}offset(e,t,r,n){return this.loaded?(Ue[0]=e,Ue[1]=t,Ue[2]=r,function(e,t,r){if(!e.vertexAttributes||!e.vertexAttributes.position)return;const{vertexSpace:n}=e;n.isRelative?((0,B.A)(n,"esri.geometry.support.meshUtils.offset",r),function(e,t){const r=e.origin;e.origin=(0,z.a)((0,l.c)(),r,t)}(n,t)):(0,B.h)(e.spatialReference,r)?function(e,t){const r=e.spatialReference,n=e.vertexAttributes.position,o=e.vertexAttributes.normal,i=e.vertexAttributes.tangent,s=new Float64Array(n.length),a=null!=o?new Float32Array(o.length):null,l=null!=i?new Float32Array(i.length):null,c=e.extent.center,u=ue;(0,k.Bm)(r,[c.x,c.y,c.z],pe,(0,ae.rS)(r)),(0,oe.f)(fe,pe),(0,z.t)(u,t,fe),(0,le.XO)(n,r,s),null!=o&&null!=a&&(0,le.Iz)(o,n,s,r,a),null!=i&&null!=l&&(0,le.wi)(i,n,s,r,l),ce(s,u),(0,le.To)(s,n,r),null!=o&&null!=a&&(0,le.Yk)(a,n,s,r,o),null!=i&&null!=l&&(0,le.M2)(l,n,s,r,i),e.vertexAttributesChanged()}(e,t):function(e,t){ce(e.vertexAttributes.position,t),e.vertexAttributesChanged()}(e,t)}(this,Ue,n),this):(s.Z.getLogger(this).error("offset()","Mesh must be loaded before applying operations"),this)}scale(e,t){return this.loaded?(function(e,t,r){if(!e.vertexAttributes||!e.vertexAttributes.position)return;const{spatialReference:n,vertexSpace:o}=e;if(o.isRelative){(0,B.A)(o,Me,r);const n=r?.origin??e.origin;e.transform??=new C.Z,function(e,t,r,n){const o=t.origin,i=(0,z.s)(je,n.x,n.y,n.z),s=(0,z.b)(je,i,o);e.applyLocalInverse(s,Fe);const a=(0,z.g)((0,l.c)(),e.scale,r);e.scale=a,e.applyLocalInverse(s,s),(0,z.b)(s,s,Fe),e.translation=(0,z.a)((0,l.c)(),e.translation,s)}(e.transform,o,t,n)}else{const o=(0,B.h)(n,r),i=r?.origin??e.origin;o?function(e,t,r){const n=e.spatialReference,o=(0,ae.rS)(n),i=Le;(0,k.KC)(r,i,o)||(0,k.KC)(e.origin,i,o);const s=e.vertexAttributes.position,a=e.vertexAttributes.normal,l=e.vertexAttributes.tangent,c=new Float64Array(s.length),u=null!=a?new Float32Array(a.length):null,p=null!=l?new Float32Array(l.length):null;(0,le.XO)(s,n,c),null!=a&&null!=u&&(0,le.Iz)(a,s,c,n,u),null!=l&&null!=p&&(0,le.wi)(l,s,c,n,p),Re(c,t,i),(0,le.To)(c,s,n),null!=a&&null!=u&&(0,le.Yk)(u,s,c,n,a),null!=l&&null!=p&&(0,le.M2)(p,s,c,n,l),e.vertexAttributesChanged()}(e,t,i):function(e,t,r){const n=Le;if(!(0,k.KC)(r,n,e.spatialReference)){const t=e.origin;n[0]=t.x,n[1]=t.y,n[2]=t.z,s.Z.getLogger(Me).error(`Failed to project specified origin (wkid:${r.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`)}Re(e.vertexAttributes.position,t,n),e.vertexAttributesChanged()}(e,t,i)}}(this,e,t),this):(s.Z.getLogger(this).error("scale()","Mesh must be loaded before applying operations"),this)}centerAt(e,t){return this.loaded?(function(e,t,r){if(!e.vertexAttributes||!e.vertexAttributes.position)return;const{vertexSpace:n}=e,o=r?.origin??e.origin;n.isRelative?((0,B.A)(n,W,r),function(e,t,r){const{vertexSpace:n}=e;if(!n.isRelative)return;const o=H,i=V;if(!(0,k.KC)(t,i,e.spatialReference))return void s.Z.getLogger(W).error(`Failed to project centerAt location (wkid:${t.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`);if(!(0,k.KC)(r,o,e.spatialReference)){const t=e.origin;o[0]=t.x,o[1]=t.y,o[2]=t.z,s.Z.getLogger(W).error(`Failed to project specified origin (wkid:${r.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`)}const a=(0,z.b)($,i,o),c=n.origin;n.origin=(0,z.a)((0,l.c)(),c,a)}(e,t,o)):(0,B.h)(e.spatialReference,r)?function(e,t,r){const n=(0,U.FF)(e.vertexAttributes,r,{geographic:!0}),{position:o,normal:i,tangent:s}=(0,U.iv)(n,t,{geographic:!0});e.vertexAttributes.position=o,e.vertexAttributes.normal=i,e.vertexAttributes.tangent=s,e.vertexAttributesChanged()}(e,t,o):function(e,t,r){const n=H,o=V;if((0,k.KC)(t,o,e.spatialReference)){if(!(0,k.KC)(r,n,e.spatialReference)){const t=e.origin;n[0]=t.x,n[1]=t.y,n[2]=t.z,s.Z.getLogger(W).error(`Failed to project specified origin (wkid:${r.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`)}(function(e,t,r){if(e)for(let n=0;n<e.length;n+=3)for(let o=0;o<3;o++)e[n+o]+=t[o]-r[o]})(e.vertexAttributes.position,o,n),e.vertexAttributesChanged()}else s.Z.getLogger(W).error(`Failed to project centerAt location (wkid:${t.spatialReference.wkid}) to mesh spatial reference (wkid:${e.spatialReference.wkid}). Projection may be possible after calling projection.load().`)}(e,t,o)}(this,e,t),this):(s.Z.getLogger(this).error("centerAt()","Mesh must be loaded before applying operations"),this)}load(e){const{metadata:{displaySource:t}}=this;return t&&this.addResolvingPromise(async function(e,t,n){const{source:o}=t,{loadGLTFMesh:i}=await(0,g.Hl)(Promise.all([r.e(8598),r.e(8079)]).then(r.bind(r,78079)),n),s=await async function(e,t){if(Array.isArray(e)){if(!e.length)throw new p.Z("mesh-load-external:missing-assets","There must be at least one file to load");return e[0]instanceof File?function(e){return X(e.map((e=>({name:e.name,mimeType:e.type,source:G(e)}))))}(e):async function(e,t){const r=await(0,g.WW)(e.map((async e=>{const r=await async function(e,t){const{parts:r}=e;if(1===r.length)return new Q(r[0].partUrl);const n=await e.toBlob(t);return(0,g.k_)(t),Q.fromBlob(n)}(e);return(0,g.k_)(t),{name:e.assetName,mimeType:e.assetMimeType,source:r}})));if((0,g.Hc)(t))throw r.forEach((e=>e.source.dispose())),(0,g.zE)();return X(r)}(e,t)}return G(e)}(o,n);(0,g.k_)(n);const a=i(new w.Z({x:0,y:0,z:0,spatialReference:e.spatialReference}),s.url,{resolveFile:q(s),useTransform:!0,signal:n?.signal});a.then((()=>s.dispose()),(()=>s.dispose()));const{vertexAttributes:l,components:c}=await a;e.vertexAttributes=l,e.components=c}(this,t,e)),Promise.resolve(this)}addExternalSources(e){this.metadata.externalSources.addMany(e)}updateDisplaySource(e){this.metadata.displaySource=e}clone(){return this.cloneWithVertexSpace(this.vertexSpace.clone())}cloneWithVertexSpace(e){let t=null;if(this.components){const e=new Map,r=new Map;t=this.components.map((t=>t.cloneWithDeduplication(e,r)))}const r={components:t,spatialReference:this.spatialReference,vertexAttributes:this.vertexAttributes.clone(),vertexSpace:e,transform:this.transform?.clone()??null,metadata:this.metadata.clone()};return new Ee(r)}cloneShallow(){return new Ee({components:this.components,spatialReference:this.spatialReference,vertexAttributes:this.vertexAttributes,vertexSpace:this.vertexSpace.clone(),transform:this.transform,metadata:this.metadata})}vertexAttributesChanged(){this.notifyChange("vertexAttributes")}async toBinaryGLTF(e){const t=r.e(7277).then(r.bind(r,7277)),n=this.load(),o=await Promise.all([t,n]),{toBinaryGLTF:i}=o[0];return i(this,e)}get memoryUsage(){let e=0;if(e+=this.vertexAttributes.memoryUsage,null!=this.components)for(const t of this.components)e+=t.memoryUsage;return e}_clearSources(){this.metadata.clearSources()}static createBox(e,t){if(!(e instanceof w.Z))return s.Z.getLogger(Oe).error(".createBox()","expected location to be a Point instance"),null;const r=new Ee(de(function(){const{faceDescriptions:e,faceVertexOffsets:t,uvScales:r}=ge,n=4*e.length,o=new Float64Array(3*n),i=new Float32Array(3*n),s=new Float32Array(2*n),a=new Uint32Array(2*e.length*3);let l=0,c=0,u=0,p=0;for(let n=0;n<e.length;n++){const f=e[n],h=l/3;for(const e of t)a[p++]=h+e;const d=f.corners;for(let e=0;e<4;e++){const t=d[e];let n=0;s[u++]=.25*r[e][0]+f.uvOrigin[0],s[u++]=f.uvOrigin[1]-.25*r[e][1];for(let e=0;e<3;e++)0!==f.axis[e]?(o[l++]=.5*f.axis[e],i[c++]=f.axis[e]):(o[l++]=.5*t[n++],i[c++]=0)}}return{position:o,normal:i,uv:s,faces:a}}(),e,t));return t&&t.imageFace&&"all"!==t.imageFace?function(e,t){const r=e.components[0],n=r.faces,o=me[t],i=6*o,s=new Array(6),a=new Array(n.length-6);let l=0,c=0;for(let e=0;e<n.length;e++)e>=i&&e<i+6?s[l++]=n[e]:a[c++]=n[e];if(null!=e.vertexAttributes.uv){const t=new Float32Array(e.vertexAttributes.uv),r=4*o*2,n=[0,1,1,1,1,0,0,0];for(let e=0;e<n.length;e++)t[r+e]=n[e];e.vertexAttributes.uv=t}return e.components=[new T.Z({faces:s,material:r.material}),new T.Z({faces:a})],e}(r,t.imageFace):r}static createSphere(e,t){return e instanceof w.Z?new Ee(de(function(e=0){const t=Math.round(8*2**e),r=2*t,n=(t-1)*(r+1)+2*r,o=new Float64Array(3*n),i=new Float32Array(3*n),s=new Float32Array(2*n),a=new Uint32Array((t-1)*r*2*3);let l=0,c=0,u=0,p=0;for(let e=0;e<=t;e++){const n=e/t*Math.PI+.5*Math.PI,f=Math.cos(n),h=Math.sin(n);ye[2]=h;const d=0===e||e===t,g=d?r-1:r;for(let n=0;n<=g;n++){const h=n/g*2*Math.PI;ye[0]=-Math.sin(h)*f,ye[1]=Math.cos(h)*f;for(let e=0;e<3;e++)o[l]=.5*ye[e],i[l]=ye[e],++l;s[c++]=(n+(d?.5:0))/r,s[c++]=e/t,0!==e&&n!==r&&(e!==t&&(a[u++]=p,a[u++]=p+1,a[u++]=p-r),1!==e&&(a[u++]=p,a[u++]=p-r,a[u++]=p-r-1)),p++}}return{position:o,normal:i,uv:s,faces:a}}(t&&t.densificationFactor||0),e,t)):(s.Z.getLogger(Oe).error(".createSphere()","expected location to be a Point instance"),null)}static createCylinder(e,t){return e instanceof w.Z?new Ee(de(function(e=0){const t=Math.round(16*2**e),r=4*(t+1)+2*t,n=new Float64Array(3*r),o=new Float32Array(3*r),i=new Float32Array(2*r),s=new Uint32Array(4*t*3);let a=0,l=0,c=0,u=0,p=0;for(let e=0;e<=5;e++){const r=0===e||5===e,f=e<=1||e>=4,h=2===e||4===e,d=r?t-1:t;for(let g=0;g<=d;g++){const m=g/d*2*Math.PI,y=r?0:.5;ye[0]=y*Math.sin(m),ye[1]=y*-Math.cos(m),ye[2]=e<=2?.5:-.5;for(let t=0;t<3;t++)n[a++]=ye[t],o[l++]=f?2===t?e<=1?1:-1:0:2===t?0:ye[t]/y;i[c++]=(g+(r?.5:0))/t,i[c++]=e<=1?1*e/3:e<=3?1*(e-2)/3+1/3:1*(e-4)/3+2/3,h||0===e||g===t||(5!==e&&(s[u++]=p,s[u++]=p+1,s[u++]=p-t),1!==e&&(s[u++]=p,s[u++]=p-t,s[u++]=p-t-1)),p++}}return{position:n,normal:o,uv:i,faces:s}}(t&&t.densificationFactor||0),e,t)):(s.Z.getLogger(Oe).error(".createCylinder()","expected location to be a Point instance"),null)}static createPlane(e,t){if(!(e instanceof w.Z))return s.Z.getLogger(Oe).error(".createPlane()","expected location to be a Point instance"),null;const r=t?.facing??"up",n=function(e,t){const r="number"==typeof t?t:null!=t?t.width:1,n="number"==typeof t?t:null!=t?t.height:1;switch(e){case"up":case"down":return{width:r,depth:n};case"north":case"south":return{width:r,height:n};case"east":case"west":return{depth:r,height:n}}}(r,t?.size);return new Ee(de(function(e){const t=he.facingAxisOrderSwap[e],r=he.position,n=he.normal,o=new Float64Array(r.length),i=new Float32Array(n.length);let s=0;for(let e=0;e<4;e++){const e=s;for(let a=0;a<3;a++){const l=t[a],c=Math.abs(l)-1,u=l>=0?1:-1;o[s]=r[e+c]*u,i[s]=n[e+c]*u,s++}}return{position:o,normal:i,uv:new Float32Array(he.uv),faces:new Uint32Array(he.faces),isPlane:!0}}(r),e,{...t,size:n}))}static createFromPolygon(e,t){if(!(e instanceof b.Z))return s.Z.getLogger(Oe).error(".createFromPolygon()","expected polygon to be a Polygon instance"),null;const r=function(e){const t=O(e.rings,e.hasZ,n.CCW_IS_HOLE),r=new Array;let o=0,i=0;for(const e of t.polygons){const n=e.count,s=e.index,a=(0,F.Rq)(t.position,3*s,3*n),l=e.holeIndices.map((e=>e-s)),c=(0,L.mi)((0,R.e)(a,l,3));r.push({position:a,faces:c}),o+=a.length,i+=c.length}const s=function(e,t,r){if(1===e.length)return e[0];const n=(0,F.bg)(t),o=new Array(r);let i=0,s=0,a=0;for(const t of e){for(let e=0;e<t.position.length;e++)n[i++]=t.position[e];for(const e of t.faces)o[s++]=e+a;a=i/3}return{position:n,faces:(0,L.mi)(o)}}(r,o,i),a=Array.isArray(s.position)?(0,E.d)(s.position,3,{originalIndices:s.faces}):(0,E.d)(s.position.buffer,6,{originalIndices:s.faces});return s.position=(0,F.QZ)(new Float64Array(a.buffer)),s.faces=a.indices,s}(e);return new Ee({vertexAttributes:new M.Q({position:r.position}),components:[new T.Z({faces:r.faces,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new _.Z})}static async createFromGLTF(e,t,n){if(!(e instanceof w.Z))throw s.Z.getLogger(Oe).error(".createfromGLTF()","expected location to be a Point instance"),new p.Z("invalid-input","Expected location to be a Point instance");const{loadGLTFMesh:o}=await(0,g.Hl)(Promise.all([r.e(8598),r.e(8079)]).then(r.bind(r,78079)),n);return new Ee(await o(e,t,n))}static async createFromFiles(e,t,r){if(!(e instanceof w.Z)){const e="Expected location to be a Point instance";throw s.Z.getLogger(Oe).error(".createFromFiles()",e),new p.Z("invalid-input",e)}const n=Ee.createWithExternalSource(e,t),o=r?.layer;if(!o){const e="A layer is needed to convert the files";throw s.Z.getLogger(Oe).error(".createFromFiles()",e),new p.Z("invalid-input",e)}const[i]=await o.uploadAssets([n],r);return i}static createWithExternalSource(e,t,r){const n=r?.extent??null,{x:o,y:i,z:s,spatialReference:a}=e,l=r?.transform?.clone()??new C.Z,c=r?.vertexSpace??new Z.Z({origin:[o,i,s??0]}),u={source:t,extent:n},p=new ne;return p.externalSources.push(u),new Ee({metadata:p,transform:l,vertexSpace:c,spatialReference:a})}static createIncomplete(e,t){const{x:r,y:n,z:o,spatialReference:i}=e,s=t?.transform?.clone()??new C.Z,a=t?.vertexSpace??new Z.Z({origin:[r,n,o??0]}),l=new Ee({transform:s,vertexSpace:a,spatialReference:i});return l.addResolvingPromise(Promise.reject(new p.Z("mesh-incomplete","Mesh resources are not complete"))),l}};(0,u._)([(0,y.Cb)({type:[T.Z],json:{write:!0}})],Pe.prototype,"components",void 0),(0,u._)([(0,y.Cb)({nonNullable:!0,types:De,constructOnly:!0,json:{write:!0}})],Pe.prototype,"vertexSpace",void 0),(0,u._)([(0,y.Cb)({type:C.Z,json:{write:!0}})],Pe.prototype,"transform",void 0),(0,u._)([(0,y.Cb)({constructOnly:!0})],Pe.prototype,"metadata",void 0),(0,u._)([(0,y.Cb)()],Pe.prototype,"hasExtent",null),(0,u._)([(0,y.Cb)()],Pe.prototype,"_transformedExtent",null),(0,u._)([(0,y.Cb)()],Pe.prototype,"_untransformedExtent",null),(0,u._)([(0,y.Cb)()],Pe.prototype,"anchor",null),(0,u._)([(0,y.Cb)()],Pe.prototype,"origin",null),(0,u._)([(0,y.Cb)({readOnly:!0,json:{read:!1}})],Pe.prototype,"extent",null),(0,u._)([(0,y.Cb)({readOnly:!0,json:{read:!1,write:!0,default:!0}})],Pe.prototype,"hasZ",void 0),(0,u._)([(0,y.Cb)({readOnly:!0,json:{read:!1,write:!0,default:!1}})],Pe.prototype,"hasM",void 0),(0,u._)([(0,y.Cb)({type:M.Q,nonNullable:!0,json:{write:!0}})],Pe.prototype,"vertexAttributes",void 0),Pe=Ee=(0,u._)([(0,x.j)(Oe)],Pe);const Ue=(0,l.c)(),Ne=(0,A.Ue)(),Ie=Pe;var ze=r(82971),ke=r(2981),Be=r(74889);const We=()=>s.Z.getLogger("esri.rest.support.meshFeatureSet");function Ve(e,t,r){const n=r.features;r.features=[],delete r.geometryType;const o=Be.Z.fromJSON(r);if(o.geometryType="mesh",!r.assetMaps)return o;const s=qe(t,r.assetMaps),a=e.sourceSpatialReference??ze.Z.WGS84,l=r.globalIdFieldName,{outFields:c}=e,u=null!=c&&c.length>0?(p=c.includes("*")?null:new Set(c),({attributes:e})=>{if(!e)return{};if(!p)return e;for(const t in e)p.has(t)||delete e[t];return e}):()=>({});var p;for(const e of n){const r=He(e,l,a,t,s);null!=r&&o.features.push(new i.Z({geometry:r,attributes:u(e)}))}return o}function He(e,t,r,n,o){const i=e.attributes[t],s=o.get(i);if(null==s)return We().error("mesh-feature-set:asset-not-found","Service returned a feature which was not found in the asset map",e),null;if(!e.geometry)return We().error("mesh-feature-set:no-geometry","Service returned a feature without geometry",e),null;const{originPoint:a,originVector:u}=function({attributes:e},t,{transformFieldRoles:r}){const n=e[r.originX],o=e[r.originY],i=e[r.originZ];return{originPoint:new w.Z({x:n,y:o,z:i,spatialReference:t}),originVector:(0,l.f)(n,o,i)}}(e,r,n),p=c.Z.fromJSON(e.geometry);p.spatialReference=r;const f=function(e,{transformFieldRoles:t}){return new C.Z({translation:[e[t.translationX],-e[t.translationZ],e[t.translationY]],rotationAxis:[e[t.rotationX],e[t.rotationZ],e[t.rotationY]],rotationAngle:e[t.rotationDeg],scale:[e[t.scaleX],e[t.scaleY],e[t.scaleZ]]})}(e.attributes,n),h=s.projectVertices?new S.Z({origin:u}):new Z.Z({origin:u}),d=function(e){const t=Array.from(e.files.values()),r=new Array;for(const e of t){if(e.status!==$e.COMPLETED)return null;const t=new Array;for(const r of e.parts){if(!r)return null;t.push(new re.LL(r.url,r.hash))}r.push(new re.CP(e.name,e.mimeType,t))}return r}(s);return d?Ie.createWithExternalSource(a,d,{extent:p,transform:f,vertexSpace:h}):Ie.createIncomplete(a,{extent:p,transform:f,vertexSpace:h})}var $e,Je;function qe(e,t){const r=new Map;for(const n of t){const t=n.parentGlobalId;if(null==t)continue;const o=n.assetName,i=n.assetType,s=n.assetHash,l=n.assetURL,c=n.conversionStatus,u=n.seqNo,p=(0,ke.d1)(i,e.supportedFormats);if(!p){We().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${i}, but it does not list it as a supported type`);continue}const f=(0,a.s1)(r,t,(()=>({projectVertices:Ke(n.flags).projectVertices,files:new Map})));(0,a.s1)(f.files,o,(()=>({name:o,type:i,mimeType:p,status:Ge(c),parts:[]}))).parts[u]={hash:s,url:l}}return r}function Ge(e){switch(e){case"COMPLETED":case"SUBMITTED":return $e.COMPLETED;case"INPROGRESS":return $e.PENDING;default:return $e.FAILED}}function Ke(e){return{projectVertices:e.includes("PROJECT_VERTICES")}}(Je=$e||($e={}))[Je.FAILED=0]="FAILED",Je[Je.PENDING=1]="PENDING",Je[Je.COMPLETED=2]="COMPLETED"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8518],{68668:(e,t,r)=>{r.d(t,{G:()=>o,w:()=>l});var i=r(66643),n=r(46791),s=r(83379);async function o(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],o=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?o(...t):n.Z.isCollection(t)?t.forEach((e=>o(e))):s.Z.isLoadable(t)&&r.push(t))};t(o);let l=null;if(await(0,i.UI)(r,(async e=>{const t=await(0,i.q6)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)})),l)throw l.error;return e}},30359:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_e});var i=r(43697),n=r(46791),s=r(20102),o=r(3920),l=r(68668),a=r(16453),u=r(95330),p=r(17445),d=r(42033),y=r(81271),c=r(5600),h=(r(75215),r(67676),r(80442),r(71715)),b=r(52011),f=r(31263),g=r(87085),m=r(54295),v=r(17287),w=r(71612),C=r(17017),S=r(66361),_=r(53713),F=r(38009),I=r(16859),O=r(34760),j=r(72965),E=r(28294),T=r(66677),L=r(21506),Z=r(50957),x=r(53518),A=r(35671),P=r(96674),G=r(30556),R=r(72729);let q=class extends P.wq{constructor(){super(...arguments),this.code=null,this.defaultValues={},this.domains=null,this.name=null}readDomains(e){if(!e)return null;const t={};for(const r of Object.keys(e))t[r]=(0,R.im)(e[r]);return t}writeDomains(e,t){if(!e)return;const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i._)([(0,c.Cb)({type:Number,json:{write:!0}})],q.prototype,"code",void 0),(0,i._)([(0,c.Cb)({type:Object,json:{write:!0}})],q.prototype,"defaultValues",void 0),(0,i._)([(0,c.Cb)({json:{write:!0}})],q.prototype,"domains",void 0),(0,i._)([(0,h.r)("domains")],q.prototype,"readDomains",null),(0,i._)([(0,G.c)("domains")],q.prototype,"writeDomains",null),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],q.prototype,"name",void 0),q=(0,i._)([(0,b.j)("esri.layers.support.Subtype")],q);const D=q;var k=r(51773),V=r(16050),M=(r(12501),r(28756),r(92271),r(72529),r(5499)),N=r(84382),$=r(81571),U=(r(91423),r(10699)),Q=r(22974),z=r(83379),H=r(92604),J=r(78286),B=r(63213),Y=r(55343),K=r(70082),W=r(54306),X=r(30707),ee=r(14165),te=r(32163),re=r(28412);const ie=["charts","editingEnabled","formTemplate","labelsVisible","labelingInfo","legendEnabled","minScale","maxScale","opacity","popupEnabled","popupTemplate","renderer","subtypeCode","templates","title","visible"],ne={key:"type",base:M.Z,errorContext:"renderer",typeMap:{simple:N.Z,"unique-value":$.Z,"class-breaks":V.Z}},se=(0,x.v)(),oe=(0,B.d)({types:ne});let le=0;function ae(e){const t=e.json.write;return"object"==typeof t?t.ignoreOrigin=!0:e.json.write={ignoreOrigin:!0},e}function ue(e){switch(e){case"point":case"multipoint":return re.xA.clone();case"polyline":return re.CJ.clone();case"polygon":case"multipatch":return re.z3.clone();default:return null}}function pe(e,t){return null==e?null:t.subtypes?.find((t=>t.code===e))}function de(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const i={},n=pe(e,t);if(null!=n){const{defaultValues:e}=n;for(const t in e)i[t]=e[t]}return i[t.subtypeField]=e,new K.Z({name:"New Feature",drawingTool:r,prototype:{attributes:i}})}const ye="esri.layers.support.SubtypeSublayer";let ce=class extends((0,o.p)((0,a.R)((0,U.IG)(z.Z)))){constructor(e){super(e),this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.id=`${Date.now().toString(16)}-subtype-sublayer-${le++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}writeFieldOverrides(e,t,r){const{fields:i,parent:n}=this;let s;if(i){s=[];let e=0;i.forEach((({name:t,alias:r,editable:i,visible:o})=>{if(!o)return;const l=n?.fields?.find((e=>e.name===t));if(!l)return;const a={name:t};let u=!1;r!==l.alias&&(a.alias=r,u=!0),i!==l.editable&&(a.editable=i,u=!0),s.push(a),u&&e++})),0===e&&s.length===i.length&&(s=null)}else s=(0,Q.d9)(e);s?.length&&(0,J.RB)(r,s,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,i=e?.fields;if(!e||!i?.length)return null;const{subtypes:n,subtypeField:s}=e,o=n?.find((e=>e.code===r)),l=o?.defaultValues,a=o?.domains,u=[];for(const e of i){const i=e.clone(),{name:n}=i,o=t?.find((e=>e.name===n));if(i.visible=!t||!!o,o){const{alias:e,editable:t}=o;e&&(i.alias=e),!1===t&&(i.editable=!1)}const p=l?.[n]??null;i.defaultValue=n===s?r:p;const d=a?.[n]??null;i.domain=n===s?null:d?"inherited"===d.type?i.domain:d.clone():null,u.push(i)}return u}get floorInfo(){return this.parent?.floorInfo}get geometryType(){return this.parent?.geometryType}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||H.Z.getLogger(ye).error(be("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}set renderer(e){(0,A.YN)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?function(e){return new N.Z({symbol:ue(e)})}(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const i=t.drawingInfo?.renderer,n=oe(i,t,r);let s;const{subtypeCode:o}=this;if(null!=o&&function(e,t){return!(!t||"unique-value"!==e?.type||"string"!=typeof e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(n,t.subtypeField)){const e=n.uniqueValueInfos?.find((({value:e})=>(e="number"==typeof e?String(e):e)===String(o)));e&&(s=new N.Z({symbol:e.symbol}))}else"simple"!==n?.type||n.visualVariables?.length||(s=n);return s}readRenderer(e,t,r){const i=t?.layerDefinition?.drawingInfo?.renderer;if(!i)return;const n=i.visualVariables?.some((e=>"rotationInfo"!==e.type));return n?void 0:oe(i,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference}readTemplatesFromService(e,t){return[de(this.subtypeCode,t)]}readTitleFromService(e,t){const r=pe(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw be("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.Z("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:i}=this;if(!i)throw be("updateAttachment");if(e.getAttribute(i.subtypeField)!==this.subtypeCode)throw new s.Z("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return i.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw be("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.Z("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw be("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:i,title:n}=this;if(r){const{displayField:e,editFieldsInfo:s,objectIdField:o}=r;t={displayField:e,editFieldsInfo:s,fields:i,objectIdField:o,title:n}}return(0,te.eZ)(t,e)}createQuery(){if(!this.parent)throw be("createQuery");const e=(0,Z.rP)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,d._)(t,this.parent.definitionExpression),e}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e){return this._getLayerDomain(e)}hasUserOverrides(){return ie.some((e=>this.originIdOf(e)===f.s3.USER))}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw be("queryAttachments");const i=e.clone();return i.where=he(i.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(e,t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw be("queryFeatures");const i=ee.Z.from(e)??r.createQuery();return null!=e&&(i.where=he(i.where,r.parent.subtypeField,r.subtypeCode)),r.parent.queryFeatures(i,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"capabilities",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"effectiveCapabilities",null),(0,i._)([(0,c.Cb)({json:{write:{ignoreOrigin:!0}}})],ce.prototype,"charts",void 0),(0,i._)([(0,c.Cb)({type:Boolean,nonNullable:!0,json:{name:"enableEditing",write:{ignoreOrigin:!0}}})],ce.prototype,"editingEnabled",void 0),(0,i._)([(0,c.Cb)({type:Boolean,readOnly:!0})],ce.prototype,"effectiveEditingEnabled",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"elevationInfo",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],ce.prototype,"fieldOverrides",void 0),(0,i._)([(0,G.c)("fieldOverrides")],ce.prototype,"writeFieldOverrides",null),(0,i._)([(0,c.Cb)({...se.fields,readOnly:!0,json:{read:!1}})],ce.prototype,"fields",null),(0,i._)([(0,c.Cb)(se.fieldsIndex)],ce.prototype,"fieldsIndex",void 0),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"floorInfo",null),(0,i._)([(0,c.Cb)({type:Y.Z,json:{name:"formInfo",write:{ignoreOrigin:!0}}})],ce.prototype,"formTemplate",void 0),(0,i._)([(0,c.Cb)({type:String,readOnly:!0,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],ce.prototype,"id",void 0),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"geometryType",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"type",void 0),(0,i._)([(0,c.Cb)(ae((0,Q.d9)(L.iR)))],ce.prototype,"labelsVisible",void 0),(0,i._)([(0,c.Cb)({type:[W.Z],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:X.r},write:{ignoreOrigin:!0}}})],ce.prototype,"labelingInfo",void 0),(0,i._)([(0,c.Cb)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],ce.prototype,"layerType",void 0),(0,i._)([(0,c.Cb)(ae((0,Q.d9)(L.rn)))],ce.prototype,"legendEnabled",void 0),(0,i._)([(0,c.Cb)({type:["show","hide"]})],ce.prototype,"listMode",void 0),(0,i._)([(0,c.Cb)((()=>{const e=(0,Q.d9)(L.rO);return e.json.origins.service.read=!1,ae(e)})())],ce.prototype,"minScale",void 0),(0,i._)([(0,c.Cb)((()=>{const e=(0,Q.d9)(L.u1);return e.json.origins.service.read=!1,ae(e)})())],ce.prototype,"maxScale",void 0),(0,i._)([(0,c.Cb)({readOnly:!0})],ce.prototype,"effectiveScaleRange",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"objectIdField",null),(0,i._)([(0,c.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0,json:{write:{ignoreOrigin:!0}}})],ce.prototype,"opacity",void 0),(0,i._)([(0,c.Cb)()],ce.prototype,"parent",void 0),(0,i._)([(0,c.Cb)(ae((0,Q.d9)(L.C_)))],ce.prototype,"popupEnabled",void 0),(0,i._)([(0,c.Cb)({type:k.Z,json:{name:"popupInfo",write:{ignoreOrigin:!0}}})],ce.prototype,"popupTemplate",void 0),(0,i._)([(0,c.Cb)({readOnly:!0})],ce.prototype,"defaultPopupTemplate",null),(0,i._)([(0,c.Cb)({types:ne,json:{write:{target:"layerDefinition.drawingInfo.renderer",ignoreOrigin:!0}}})],ce.prototype,"renderer",null),(0,i._)([(0,h.r)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],ce.prototype,"readRendererFromService",null),(0,i._)([(0,h.r)("renderer",["layerDefinition.drawingInfo.renderer"])],ce.prototype,"readRenderer",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"spatialReference",null),(0,i._)([(0,c.Cb)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],ce.prototype,"subtypeCode",void 0),(0,i._)([(0,c.Cb)({type:[K.Z],json:{name:"layerDefinition.templates",write:{ignoreOrigin:!0}}})],ce.prototype,"templates",void 0),(0,i._)([(0,h.r)("service","templates",["geometryType","subtypeField","subtypes","type"])],ce.prototype,"readTemplatesFromService",null),(0,i._)([(0,c.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],ce.prototype,"title",void 0),(0,i._)([(0,h.r)("service","title",["subtypes"])],ce.prototype,"readTitleFromService",null),(0,i._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],ce.prototype,"url",null),(0,i._)([(0,c.Cb)({readOnly:!0})],ce.prototype,"userHasUpdateItemPrivileges",null),(0,i._)([(0,c.Cb)({type:Boolean,nonNullable:!0,json:{name:"visibility",write:{ignoreOrigin:!0}}})],ce.prototype,"visible",void 0),ce=(0,i._)([(0,b.j)(ye)],ce);const he=(e,t,r)=>{const i=new RegExp(`${t}\\s*=\\s*\\d+`),n=`${t}=${r}`,s=e??"";return i.test(s)?s.replace(i,n):(0,d._)(n,s)},be=e=>new s.Z(`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`),fe=ce;var ge=r(76259),me=r(60199);const ve="SubtypeGroupLayer";function we(e,t){return new s.Z("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${t}`,{layer:e})}const Ce=(0,x.v)();let Se=class extends((0,_.B)((0,S.o1)((0,w.h)((0,E.n)((0,j.M)((0,O.Q)((0,v.Y)((0,F.q)((0,I.I)((0,a.R)((0,C.N)((0,m.V)((0,o.p)(g.Z)))))))))))))){constructor(...e){super(...e),this._sublayersCollectionChanged=!1,this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.subtypes=null,this.sublayers=new(n.Z.ofType(fe)),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this.addHandles((0,p.YP)((()=>this.sublayers),((e,t)=>this._handleSublayersChange(e,t)),p.Z_))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(u.r9).then((async()=>{if(!this.url)throw new s.Z("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new s.Z("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");return this._initLayerProperties(await this.createGraphicsSource(t))})).then((()=>this._setUserPrivileges(this.serviceItemId,e))).then((()=>(0,Z.nU)(this,e)));return this.addResolvingPromise(r),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,Z.sX)(this)}get parsedUrl(){const e=(0,y.mN)(this.url);return null!=e&&null!=this.layerId&&(e.path=(0,y.v_)(e.path,this.layerId.toString())),e}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,T.a7)(this.url,t):t}async addAttachment(e,t){return(0,Z.JD)(this,e,t,ve)}async updateAttachment(e,t,r){return(0,Z.Y5)(this,e,t,r,ve)}async applyEdits(e,t){return(0,Z.Jj)(this,e,t)}on(e,t){return super.on(e,t)}async createGraphicsSource(e){const{default:t}=await(0,u.Hl)(Promise.all([r.e(4599),r.e(3919),r.e(8949)]).then(r.bind(r,73919)),e);return new t({layer:this}).load({signal:e})}createQuery(){const e=(0,Z.rP)(this),t=this.sublayers.map((e=>e.subtypeCode));return e.where=(0,d._)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){return(0,Z.FV)(this,e,t,ve)}async fetchRecomputedExtents(e){return(0,Z.Ci)(this,e,ve)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),r=e.attributes[t.name];return this.findSublayerForSubtypeCode(r)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){return this._getLayerDomain(e)}getField(e){return this.fieldsIndex.get(e)}loadAll(){return(0,l.G)(this,(e=>{e(this.sublayers)}))}async queryAttachments(e,t){return(0,Z.SU)(this,e,t,ve)}async queryFeatures(e,t){const r=await this.load(),i=ee.Z.from(e)??r.createQuery(),n=i.outFields??[];n.includes(this.subtypeField)||(n.push(this.subtypeField),i.outFields=n);const s=await r.source.queryFeatures(i,t);if(s?.features)for(const e of s.features)e.layer=e.sourceLayer=this.findSublayerForFeature(e);return s}async queryObjectIds(e,t){return(0,Z.tD)(this,e,t,ve)}async queryFeatureCount(e,t){return(0,Z.VG)(this,e,t,ve)}async queryExtent(e,t){return(0,Z.KE)(this,e,t,ve)}async queryRelatedFeatures(e,t){return(0,Z.kp)(this,e,t,ve)}async queryRelatedFeaturesCount(e,t){return(0,Z.C9)(this,e,t,ve)}write(e,t){const{origin:r,layerContainerType:i,messages:n}=t;if(this.isTable){if("web-scene"===r||"web-map"===r&&"tables"!==i)return n?.push(we(this,"using a table source cannot be written to web scenes and web maps")),null}else if(this.loaded&&"web-map"===r&&"tables"===i)return n?.push(we(this,"using a non-table source cannot be written to tables in web maps")),null;return this.sublayers?.length?super.write(e,t):(n?.push(new s.Z("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,me.D)(this,e)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}async _initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),this.isTable)throw new s.Z("subtype-grouplayer:unsupported-source","SubtypeGroupLayer cannot be created using a layer with table source");if(!this.subtypes?.length)throw new s.Z("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,A.UF)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,Z.gG)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some((e=>"geometry"===e.type))||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach((e=>{e.parent=null})),this.handles.remove("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach((e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)})),this._sublayersCollectionChanged=!1,this.handles.add([e.on("after-add",(({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)})),e.on("after-remove",(({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})),e.on("after-changes",(()=>{this._sublayersCollectionChanged=!0}))],"sublayers-owner"))}};(0,i._)([(0,c.Cb)({readOnly:!0})],Se.prototype,"createQueryVersion",null),(0,i._)([(0,c.Cb)({readOnly:!0})],Se.prototype,"editingEnabled",null),(0,i._)([(0,c.Cb)({readOnly:!0})],Se.prototype,"effectiveEditingEnabled",null),(0,i._)([(0,c.Cb)({...Ce.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],Se.prototype,"fields",void 0),(0,i._)([(0,c.Cb)(Ce.fieldsIndex)],Se.prototype,"fieldsIndex",void 0),(0,i._)([(0,c.Cb)(L.id)],Se.prototype,"id",void 0),(0,i._)([(0,c.Cb)({type:["show","hide","hide-children"]})],Se.prototype,"listMode",void 0),(0,i._)([(0,c.Cb)({value:"SubtypeGroupLayer",type:["SubtypeGroupLayer"]})],Se.prototype,"operationalLayerType",void 0),(0,i._)([(0,c.Cb)(Ce.outFields)],Se.prototype,"outFields",void 0),(0,i._)([(0,c.Cb)({readOnly:!0})],Se.prototype,"parsedUrl",null),(0,i._)([(0,c.Cb)()],Se.prototype,"source",null),(0,i._)([(0,c.Cb)({type:[D],readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],Se.prototype,"subtypes",void 0),(0,i._)([(0,c.Cb)({type:n.Z.ofType(fe),json:{origins:{service:{read:{source:"subtypes",reader:(e,t,r)=>{const i=e.map((({code:e})=>{const i=new fe({subtypeCode:e});return i.read(t,r),i}));return new(n.Z.ofType(fe))(i)}}}},name:"layers",write:{overridePolicy(e,t,r){const i=this.originOf("sublayers"),n=f.s3.PORTAL_ITEM;let s=!0;if((0,f.M9)(i)===n&&(0,f.M9)(r.origin)>n){const t=e.some((e=>e.hasUserOverrides()));s=this._sublayersCollectionChanged||t}return{enabled:s,ignoreOrigin:!0}}}}})],Se.prototype,"sublayers",void 0),(0,i._)([(0,c.Cb)({type:ge.Z})],Se.prototype,"timeInfo",void 0),(0,i._)([(0,c.Cb)({json:{origins:{"portal-item":{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],Se.prototype,"title",void 0),(0,i._)([(0,h.r)("service","title",["name"])],Se.prototype,"readTitleFromService",null),(0,i._)([(0,c.Cb)({json:{read:!1}})],Se.prototype,"type",void 0),Se=(0,i._)([(0,b.j)("esri.layers.SubtypeGroupLayer")],Se);const _e=Se},58333:(e,t,r)=>{r.d(t,{ET:()=>s,I4:()=>n,eG:()=>a,lF:()=>o,lj:()=>p,qP:()=>l,wW:()=>u});const i=[252,146,31,255],n={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},o={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},a={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},p={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
|