10000 changed files with 111817 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../config.js";import o from"../core/Error.js";import{h as t}from"../core/lang.js";import{L as r}from"./Logger.js";import i from"../geometry/Point.js";import{geographicToWebMercator as n}from"../geometry/support/webMercatorUtils.js";import s from"../portal/Portal.js";import{p as c}from"./project.js";import u from"../rest/support/ProjectParameters.js";const a=()=>r.getLogger("esri.widgets.support.geolocationUtils"),m={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function l(){return function(){const e=t("esri-geolocation");return e||a().warn("geolocation-unsupported","Geolocation unsupported."),e}()&&function(){const e=window.isSecureContext;return e||a().warn("insecure-context","Geolocation requires a secure origin."),e}()}function g(e){return e||(e=m),new Promise(((t,r)=>{setTimeout((()=>r(new o("geolocation:timeout","getting the current geolocation position timed out"))),15e3),navigator.geolocation.getCurrentPosition(t,r,e??void 0)}))}function p(t,r){const{position:a,view:m}=t,l=function(e){const o=e&&e.coords||{},t={accuracy:o.accuracy,altitude:o.altitude,altitudeAccuracy:o.altitudeAccuracy,heading:o.heading,latitude:o.latitude,longitude:o.longitude,speed:o.speed};return e?{coords:t,timestamp:e.timestamp}:e}(a),g=l?.coords;if(!g)throw new o("geometry-service:no-coords","Geolocation has no coordinates");return function(t,r,i){if(!r)return Promise.resolve(t);const a=r.spatialReference;return a.isWGS84?Promise.resolve(t):a.isWebMercator?Promise.resolve(n(t)):function(o){if(e.geometryServiceUrl)return Promise.resolve(e.geometryServiceUrl);const t=s.getDefault();return t.load(o).catch((()=>{})).then((()=>t.helperServices?.geometry?.url))}(i).then((e=>{if(!e)throw new o("geometry-service:missing-url","Geometry service URL is missing");const r=new u({geometries:[t],outSpatialReference:a});return c(e,r,i).then((e=>e[0]))}))}(function({longitude:e,latitude:o,altitude:t}){return new i({longitude:e,latitude:o,z:t||void 0,spatialReference:{wkid:4326}})}(g),m,r)}export{g,p,l as s}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import"./mathUtils.js";import{s as t,a as s,b as n,l as r,c as a,d as e,e as o}from"./vec2.js";import{c}from"./vec2f64.js";function i(t,s){return t[0]*s[1]-t[1]*s[0]}function u(s,r,c,i,u=c){return t(N,i,c),t(m,r,u),function(t,s,n){const r=e(n,m)/a(n);o(t,n,r)}(y,0,N),n(s,u,y)}function f(n,a,e,o){t(N,a,e);const c=o/r(N);return s(n,e,N,c)}function p(n,r){const a=n.start,e=n.end,o=r.start,c=r.end,u=t(N,e,a),f=t(h,c,o),p=i(u,f);if(Math.abs(p)<=I)return[];const L=t(m,a,o),d=i(f,L)/p,l=i(u,L)/p;if(d>=0){if(l>=0||r.type===E.LINE)return[s(y,a,u,d)]}else if(n.type===E.LINE&&(l>=0||r.type===E.LINE))return[s(y,a,u,d)];return[]}function L(n,r,o){const c=[],i=t(N,n.end,n.start),u=t(h,n.start,r),f=a(i),p=2*e(i,u),L=p*p-4*f*(a(u)-o*o);if(0===L){const t=-p/(2*f);(n.type===E.LINE||t>=0)&&c.push(s(y,n.start,i,t))}else if(L>0){const t=Math.sqrt(L),r=(-p+t)/(2*f);(n.type===E.LINE||r>=0)&&c.push(s(y,n.start,i,r));const a=(-p-t)/(2*f);(n.type===E.LINE||a>=0)&&c.push(s(m,n.start,i,a))}return c}var E;!function(t){t[t.RAY=0]="RAY",t[t.LINE=1]="LINE"}(E||(E={}));const I=1e-6,N=c(),h=c(),m=c(),y=c();export{E as L,p as a,f as b,L as i,u as p}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{G as e}from"./geometryEngineBase.js";import{j as n}from"./json.js";const t=Object.freeze(Object.defineProperty({__proto__:null,buffer:function(t,r,i,o,u=!1){return e.buffer(n,t,r,i,o,u)},changeDefaultSpatialReferenceTolerance:function(n,t){e.changeDefaultSpatialReferenceTolerance(n,t)},clearDefaultSpatialReferenceTolerance:function(n){e.clearDefaultSpatialReferenceTolerance(n)},clip:function(t,r,i){return e.clip(n,t,r,i)},contains:function(t,r,i){return e.contains(n,t,r,i)},convexHull:function(t,r,i=!1){return e.convexHull(n,t,r,i)},crosses:function(t,r,i){return e.crosses(n,t,r,i)},cut:function(t,r,i){return e.cut(n,t,r,i)},densify:function(t,r,i,o){return e.densify(n,t,r,i,o)},difference:function(t,r,i){return e.difference(n,t,r,i)},disjoint:function(t,r,i){return e.disjoint(n,t,r,i)},distance:function(t,r,i,o){return e.distance(n,t,r,i,o)},equals:function(t,r,i){return e.equals(n,t,r,i)},extendedSpatialReferenceInfo:function(n){return e.extendedSpatialReferenceInfo(n)},flipHorizontal:function(n,t,r){if(null==t||null==r)throw new Error("Illegal Argument Exception");const i=e.flipHorizontal(t,r);return i.spatialReference=n,i},flipVertical:function(n,t,r){if(null==t||null==r)throw new Error("Illegal Argument Exception");const i=e.flipVertical(t,r);return i.spatialReference=n,i},generalize:function(t,r,i,o,u){return e.generalize(n,t,r,i,o,u)},geodesicArea:function(t,r,i,o){return e.geodesicArea(n,t,r,i,o)},geodesicBuffer:function(t,r,i,o,u,c,f){return e.geodesicBuffer(n,t,r,i,o,u,c,f)},geodesicDensify:function(t,r,i,o,u=0){return e.geodesicDensify(n,t,r,i,o,u)},geodesicLength:function(t,r,i,o){return e.geodesicLength(n,t,r,i,o)},intersect:function(t,r,i){return e.intersect(n,t,r,i)},intersectLinesToPoints:function(t,r,i){return null==r||null==i?[]:e.intersectLinesToPoints(n,t,r,i)},intersects:function(t,r,i){return e.intersects(n,t,r,i)},isSimple:function(t,r){return e.isSimple(n,t,r)},nearestCoordinate:function(t,r,i,o=!0){return e.nearestCoordinate(n,t,r,i,o)},nearestVertex:function(t,r,i){return e.nearestVertex(n,t,r,i)},nearestVertices:function(t,r,i,o,u){return e.nearestVertices(n,t,r,i,o,u)},offset:function(t,r,i,o,u,c,f){return e.offset(n,t,r,i,o,u,c,f)},overlaps:function(t,r,i){return e.overlaps(n,t,r,i)},planarArea:function(t,r,i){return e.planarArea(n,t,r,i)},planarLength:function(t,r,i){return e.planarLength(n,t,r,i)},relate:function(t,r,i,o){return e.relate(n,t,r,i,o)},rotate:function(n,t,r,i){if(null==t||null==i)throw new Error("Illegal Argument Exception");const o=e.rotate(t,r,i);return o.spatialReference=n,o},simplify:function(t,r){return e.simplify(n,t,r)},symmetricDifference:function(t,r,i){return e.symmetricDifference(n,t,r,i)},touches:function(t,r,i){return e.touches(n,t,r,i)},union:function(t,r,i=null){return e.union(n,t,r,i)},within:function(t,r,i){return e.within(n,t,r,i)}},Symbol.toStringTag,{value:"Module"}));export{t as g}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{g as e}from"./geometryEngineJSON.js";import"./geometryEngineBase.js";import"./_commonjsHelpers.js";import"./json.js";function o(o){return(0,e[o.operation])(...o.parameters)}export{o as executeGEOperation}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import r from"../config.js";import o from"../core/Error.js";import t from"../portal/Portal.js";import{p as e}from"./project.js";import s from"../rest/support/ProjectParameters.js";import"../core/lang.js";import"./Logger.js";import"./tslib.es6.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./handleUtils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";import"../request.js";import"../core/Loadable.js";import"../core/Promise.js";import"./reader.js";import"../geometry/Extent.js";import"../geometry/Geometry.js";import"../geometry/SpatialReference.js";import"./unitUtils.js";import"./jsonMap.js";import"./assets.js";import"./writer.js";import"../geometry/Point.js";import"../core/accessorSupport/decorators/cast.js";import"../geometry/support/webMercatorUtils.js";import"./locale.js";import"../portal/PortalGroup.js";import"../portal/PortalQueryParams.js";import"../portal/PortalQueryResult.js";import"../portal/PortalUser.js";import"../portal/PortalFolder.js";import"../geometry/support/jsonUtils.js";import"../geometry/Multipoint.js";import"./zmUtils.js";import"../geometry/Polygon.js";import"./coordsUtils.js";import"./Axis.js";import"./extentUtils.js";import"./aaBoundingRect.js";import"./mathUtils.js";import"./vec3.js";import"./vec3f64.js";import"./common.js";import"../geometry/Polyline.js";import"./utils8.js";import"./utils9.js";async function i(e=null,s){if(r.geometryServiceUrl)return r.geometryServiceUrl;if(!e)throw new o("internal:geometry-service-url-not-configured");let i;i="portal"in e?e.portal||t.getDefault():e,await i.load({signal:s});const p=i.helperServices?.geometry?.url;if(!p)throw new o("internal:geometry-service-url-not-configured");return p}async function p(r,t,p=null,m){const a=await i(p,m),l=new s({geometries:[r],outSpatialReference:t}),j=await e(a,l,{signal:m});if(j&&Array.isArray(j)&&1===j.length)return j[0];throw new o("internal:geometry-service-projection-failed")}export{i as getGeometryServiceURL,p as projectGeometry}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import"../geometry.js";import{c as e}from"./scaleUtils.js";import t from"../geometry/Extent.js";function n(e){switch(e?.type){case"point":return e;case"extent":return e.center;case"polygon":return e.centroid;case"multipoint":case"polyline":return e.extent?.center;default:return null}}async function r(e,t){if(e.hasZ||"2d"===t.type)return e;const n=t.map?.ground;if(!n?.layers.length)return e;const{geometry:r}=await n.queryElevation(e,{cache:t.basemapTerrain?.elevationQueryCache});return r}function a(e,t,n){return s(e.center,t,n)}function c(e,t,n){switch(e?.type){case"extent":return e;case"multipoint":case"polygon":case"polyline":return e.extent;case"point":return s(e,t,n);default:return null}}function s(n,r,a){const c=n.hasZ?n.z:void 0;if(r?.map)return(null!=a?e(r,a):r.extent).clone().centerAt(n).set({zmax:c,zmin:c});const{x:s,y:i,spatialReference:o}=n;return new t({xmin:s-.25,ymin:i-.25,xmax:s+.25,ymax:i+.25,spatialReference:o,zmin:c,zmax:c})}export{r as a,c,n as g,a as s}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{a2 as t}from"./unitUtils.js";import r from"../portal/Portal.js";function e(e){const n="metric";if(null==e)return n;const a=e.map,i=(a&&"portalItem"in a?a.portalItem?.portal:null)??r.getDefault();switch(i.user?.units??i.units){case n:return n;case"english":return"imperial"}return t(e.spatialReference)??n}export{e as g}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import r from"../request.js";import{join as s}from"../core/urlUtils.js";import{p as o,a as t,e}from"./utils8.js";import"../config.js";import"../core/lang.js";import"../kernel.js";import"../core/Error.js";import"./Logger.js";import"../core/promiseUtils.js";import"./handleUtils.js";import"./maybe.js";import"../core/JSONSupport.js";import"./tslib.es6.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";async function i(i,p,m){const a=o(i),c=t(a.query,{query:e({f:"json"}),...m});p.startsWith("{")&&(p=p.slice(1,-1));const j=s(a.path,"versions",p),{data:n}=await r(j,c),{versionName:u,versionGuid:l,...d}=n;return{...d,versionIdentifier:{name:u,guid:l}}}export{i as getVersion}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import r from"../request.js";import{p as o,a as s,e as t}from"./utils8.js";import"../config.js";import"../core/lang.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/Error.js";import"./Logger.js";import"../core/JSONSupport.js";import"./tslib.es6.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./handleUtils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";async function e(e,i,p){const m=o(e),a=i.toJSON(),c=s(m.query,{query:t({...a,f:"json"}),...p}),j=`${m.path}/versionInfos`,{data:n}=await r(j,c);return n.versions.map((r=>{const{versionName:o,versionGuid:s,...t}=r;return{...t,versionIdentifier:{name:o,guid:s}}}))}export{e as getVersionInfos}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{D as r}from"./enums.js";import{V as t}from"./VertexElementDescriptor.js";function e(r,e=0){const n=r.stride;return Array.from(r.fields.keys()).map((s=>{const i=r.fields.get(s),u=i.constructor.ElementCount,f=function(r){const t=o[r];if(t)return t;throw new Error("BufferType not supported in WebGL")}(i.constructor.ElementType),c=i.offset,m=i.optional?.glNormalized??!1;return new t(s,u,f,c,n,m,e)}))}const o={u8:r.UNSIGNED_BYTE,u16:r.UNSIGNED_SHORT,u32:r.UNSIGNED_INT,i8:r.BYTE,i16:r.SHORT,i32:r.INT,f32:r.FLOAT};export{e as g}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",widget:"esri-widget",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as g}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{g as n}from"./unitUtils.js";import{r as t,h as e,j as r}from"./mat4.js";import{c as i}from"./mat4f64.js";import{d as o,O as s}from"./vec3f64.js";import{s as a}from"./vec4.js";import{a as l,O as u}from"./vec4f64.js";import{projectPoint as m}from"../geometry/projection.js";import{w as c,l as f,m as h}from"./aaBoundingBox.js";import{c as p}from"./aaBoundingRect.js";import{r as y}from"../geometry/Polygon.js";import{d as g,b as d}from"./coordsUtils.js";import{m as x}from"./dehydratedPoint.js";import{i as j,c as v}from"./hydratedFeatures.js";function w(n,t){if("point"===n.type)return P(n,t,!1);if(j(n))switch(n.type){case"extent":return P(n.center,t,!1);case"polygon":return P(n.centroid,t,!1);case"polyline":return P(z(n),t,!0);case"mesh":return P(n.origin,t,!1)}else switch(n.type){case"extent":return P(function(n){return x(.5*(n.xmax+n.xmin),.5*(n.ymax+n.ymin),null!=n.zmin&&null!=n.zmax&&isFinite(n.zmin)&&isFinite(n.zmax)?.5*(n.zmax+n.zmin):void 0,n.spatialReference)}(n),t,!0);case"polygon":return P(function(n){const t=n.rings[0];if(!t||0===t.length)return null;const e=y(n.rings,!!n.hasZ);return x(e[0],e[1],e[2],n.spatialReference)}(n),t,!0);case"polyline":return P(z(n),t,!0)}}function z(n){const t=n.paths[0];if(!t||0===t.length)return null;const e=g(t,d(t)/2);return x(e[0],e[1],e[2],n.spatialReference)}function P(n,t,e){const r=e?n:v(n);return t&&n?m(n,r,t)?r:null:r}function R(n,t,e,r=0){if(n){t||(t=p());const i=n;let o=.5*i.width*(e-1),s=.5*i.height*(e-1);return i.width<1e-7*i.height?o+=s/20:i.height<1e-7*i.width&&(s+=o/20),a(t,i.xmin-o-r,i.ymin-s-r,i.xmax+o+r,i.ymax+s+r),t}return null}function b(n,t,e=null){const r=l(u);return null!=n&&(r[0]=n[0],r[1]=n[1],r[2]=n[2]),null!=t?r[3]=t:null!=n&&n.length>3&&(r[3]=n[3]),e&&(r[0]*=e,r[1]*=e,r[2]*=e,r[3]*=e),r}function M(n,t,e,r,i,o=[0,0,0,0]){for(let t=0;t<3;++t)o[t]=null!=n?.[t]?n[t]:null!=e?.[t]?e[t]:i[t];return o[3]=null!=t?t:null!=r?r:i[3],o}function F(n=s,t,e,r=1){const i=new Array(3);if(null==t||null==e)i[0]=1,i[1]=1,i[2]=1;else{let r,o=0;for(let s=2;s>=0;s--){const a=n[s];let l;const u=null!=a,m=0===s&&!r&&!u,c=e[s];"symbol-value"===a||m?l=0!==c?t[s]/c:1:u&&"proportional"!==a&&isFinite(a)&&(l=0!==c?a/c:1),null!=l&&(i[s]=l,r=l,o=Math.max(o,Math.abs(l)))}for(let n=2;n>=0;n--)null==i[n]?i[n]=r:0===i[n]&&(i[n]=.001*o)}for(let n=2;n>=0;n--)i[n]/=r;return o(i)}function A(n){return B(null!=n.isPrimitive?[n.width,n.depth,n.height]:n)?null:"Symbol sizes may not be negative values"}function B(n){const t=n=>null==n||n>=0;return Array.isArray(n)?n.every(t):t(n)}function D(n,o,s,a=i()){return n&&t(a,a,-n/180*Math.PI),o&&e(a,a,o/180*Math.PI),s&&r(a,a,s/180*Math.PI),a}function I(t,e,r){if(null!=r.minDemResolution)return r.minDemResolution;const i=n(e),o=c(t)*i,s=f(t)*i,a=h(t)*(e.isGeographic?1:i);return 0===o&&0===s&&0===a?r.minDemResolutionForPoints:.01*Math.max(o,s,a)}export{F as a,D as b,w as c,I as d,R as e,B as i,b as m,M as o,A as v}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{s as r,a as t}from"./utils23.js";import{c as o}from"./jsonContext.js";import{h as e,r as s,t as i,b as p}from"./portalItemUtils.js";import{s as m}from"./resourceUtils2.js";import"../core/Error.js";import"../core/lang.js";import"./Logger.js";import"../config.js";import"./originUtils.js";import"./multiOriginJSONSupportUtils.js";import"../portal/Portal.js";import"./tslib.es6.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./handleUtils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";import"../request.js";import"../core/Loadable.js";import"../core/Promise.js";import"./reader.js";import"../geometry/Extent.js";import"../geometry/Geometry.js";import"../geometry/SpatialReference.js";import"./unitUtils.js";import"./jsonMap.js";import"./assets.js";import"./writer.js";import"../geometry/Point.js";import"../core/accessorSupport/decorators/cast.js";import"../geometry/support/webMercatorUtils.js";import"./locale.js";import"../portal/PortalGroup.js";import"../portal/PortalQueryParams.js";import"../portal/PortalQueryResult.js";import"../portal/PortalUser.js";import"../portal/PortalFolder.js";import"../portal/PortalItem.js";import"../portal/PortalItemResource.js";import"../portal/PortalRating.js";import"./persistableUrlUtils.js";import"./saveAPIKeyUtils.js";import"./saveUtils.js";import"../geometry/projection.js";import"./SimpleObservable.js";import"./vec3f64.js";import"../geometry/Multipoint.js";import"./zmUtils.js";import"../geometry/Polygon.js";import"./coordsUtils.js";import"./Axis.js";import"./extentUtils.js";import"./aaBoundingRect.js";import"./mathUtils.js";import"./vec3.js";import"./common.js";import"../geometry/Polyline.js";import"./projectBuffer.js";import"./geodesicConstants.js";import"../geometry/support/GeographicTransformation.js";import"../geometry/support/GeographicTransformationStep.js";import"./zscale.js";import"./uuid.js";import"./resourceUtils.js";const a="Group Layer",l=i.GROUP_LAYER_MAP;function j(r){return{isValid:"group"===r.type,errorMessage:"Layer.type should be 'group'"}}function c(r){return{isValid:e(r,l),errorMessage:`Layer.portalItem.typeKeywords should have '${l}'`}}function n(r,t){return{...o(r,"web-map",!0),initiator:t}}function u(r){const t=r.layerJSON;return Promise.resolve(t&&Object.keys(t).length?t:null)}async function y(r,t){t.title||=r.title,s(t,i.METADATA),p(t,l)}async function g(t,o){return r({layer:t,itemType:a,validateLayer:j,validateItem:c,createJSONContext:r=>n(r,t),createItemData:u,errorNamePrefix:"group-layer-save",saveResources:async(r,o)=>(t.sourceIsPortalItem||await r.removeAllResources().catch((()=>{})),m(t.resourceReferences,o))},o)}async function d(r,o,e){return t({layer:r,itemType:a,validateLayer:j,createJSONContext:t=>n(t,r),createItemData:u,errorNamePrefix:"group-layer-save-as",newItem:o,setItemProperties:y,saveResources:(t,o)=>m(r.resourceReferences,o)},e)}export{g as save,d as saveAs}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{n as e}from"./Logger.js";function t(t,o){let r;if("string"==typeof t)r=e(t+`-seed(${o})`);else{let e=12;r=t^o;do{r=107*(r>>8^r)+e|0}while(0!=--e)}return(1+r/(1<<31))/2}function o(e){return Math.floor(t(e,r)*n)}const r=53290320,n=10;export{o as a,t as g}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
const t=()=>[2,1,1,1,3].map((t=>{let r="";for(let n=0;n<t;n++)r+=(65536*(1+Math.random())|0).toString(16).substring(1);return r})).join("-");export{t as g}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const n={remove:()=>{}};function r(r){return r?{remove(){r&&(r(),r=void 0)}}:n}function o(n){n.forEach((n=>n?.remove()))}function e(n){return r((()=>o(n)))}function t(n){return r((()=>n()?.remove()))}function u(n){return r((()=>n?.abort()))}function a(n){return r(null!=n?()=>n.destroy():void 0)}export{u as a,t as b,a as d,e as h,r as m,o as r}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const t=2654435761,s=2246822519,n=3266489917,e=668265263,r=374761393;function h(t){const s=[];for(let n=0,e=t.length;n<e;n++){let e=t.charCodeAt(n);e<128?s.push(e):e<2048?s.push(192|e>>6,128|63&e):e<55296||e>=57344?s.push(224|e>>12,128|e>>6&63,128|63&e):(n++,e=65536+((1023&e)<<10|1023&t.charCodeAt(n)),s.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e))}return new Uint8Array(s)}class i{constructor(t){this._seed=t,this._totallen=0,this._bufs=[],this.init()}init(){return this._bufs=[],this._totallen=0,this}updateFloatArray(t){const s=[];for(const n of t)isNaN(n)?s.push("NaN"):n===1/0?s.push("Infinity"):n===-1/0?s.push("-Infinity"):0===n?s.push("0"):s.push(n.toString(16));this.update(h(s.join("")))}updateIntArray(t){const s=Int32Array.from(t);this.update(new Uint8Array(s.buffer))}updateUint8Array(t){this.update(Uint8Array.from(t))}updateWithString(t){return this.update(h(t))}update(t){return this._bufs.push(t),this._totallen+=t.length,this}digest(){const t=new Uint8Array(this._totallen);let s=0;for(const n of this._bufs)t.set(n,s),s+=n.length;return this.init(),this._xxHash32(t,this._seed)}_xxHash32(h,i=0){const o=h;let u=i+r&4294967295,a=0;if(o.length>=16){const n=[i+t+s&4294967295,i+s&4294967295,i+0&4294967295,i-t&4294967295],e=h,r=e.length-16;let o=0;for(a=0;(4294967280&a)<=r;a+=4){const r=a,h=e[r]+(e[r+1]<<8),i=e[r+2]+(e[r+3]<<8),u=h*s+(i*s<<16);let l=n[o]+u&4294967295;l=l<<13|l>>>19;const f=65535&l,p=l>>>16;n[o]=f*t+(p*t<<16)&4294967295,o=o+1&3}u=(n[0]<<1|n[0]>>>31)+(n[1]<<7|n[1]>>>25)+(n[2]<<12|n[2]>>>20)+(n[3]<<18|n[3]>>>14)&4294967295}u=u+h.length&4294967295;const l=h.length-4;for(;a<=l;a+=4){const t=a,s=o[t]+(o[t+1]<<8),r=o[t+2]+(o[t+3]<<8);u=u+(s*n+(r*n<<16))&4294967295,u=u<<17|u>>>15,u=(65535&u)*e+((u>>>16)*e<<16)&4294967295}for(;a<o.length;++a)u+=o[a]*r,u=u<<11|u>>>21,u=(65535&u)*t+((u>>>16)*t<<16)&4294967295;return u^=u>>>15,u=((65535&u)*s&4294967295)+((u>>>16)*s<<16),u^=u>>>13,u=((65535&u)*n&4294967295)+((u>>>16)*n<<16),u^=u>>>16,u<0?u+4294967296:u}}export{i as X}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var s={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function t(o,t,r){return(s[r+(2===o?"2":"")]||s[r]).replace("%d",o)}var r={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:function(o){return o},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};o.locale(r,null,!0);export{r as default}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../core/Error.js";import{b as t,c as r,d as o,S as a}from"./enums.js";class l{constructor(e,t,r,o){this.dataType=e,this.samplingMode=t,this.pixelFormat=r,this.internalFormat=o}}function n(n,s){const{textureFloatLinear:i,colorBufferFloat:f}=n.capabilities,u=f?.textureFloat,_=f?.textureHalfFloat,c=f?.floatBlend,d=n.driverTest.floatBufferBlend.result;if(!u&&!_)throw new e("heatmap:missing-color-buffer-float","HeatmapRenderer requires the WebGL extension EXT_color_buffer_float or EXT_color_buffer_half_float or WEBGL_color_buffer_float.");if(!(c&&d||_))throw new e("heatmap:missing-float-blend","HeatmapRenderer requires the WebGL extension EXT_float_blend or EXT_color_buffer_half_float."+(d?"":" This device claims support for EXT_float_blend, but does not actually support it."));const m=u&&c&&d,p=_,h=i,b=!!f?.R32F,R=!!f?.R16F;if(m&&h)return h||s.warnOnce("Missing WebGL extension OES_texture_float_linear. Heatmap quality may be reduced."),new l(t.FLOAT,h?r.LINEAR:r.NEAREST,b?o.RED:o.RGBA,b?a.R32F:o.RGBA);if(p)return new l(t.HALF_FLOAT,r.LINEAR,R?o.RED:o.RGBA,R?a.R16F:o.RGBA);throw new e("heatmap:missing-hardware-support","HeatmapRenderer requires WebGL extensions that allow it to render and blend to float or half float textures.")}export{n as l}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{c as t}from"./mathUtils.js";import{p as o,a as r}from"./screenUtils.js";import{l as n}from"./vec4.js";import{c as a}from"./vec4f64.js";const s=2.4;function i(t){return o(2.4*t)}function c(t){return r(t)/2.4}function e(o,r,a,s){let{color:i,ratio:c}=r,{color:e,ratio:f}=a;if(f===c){const t=1e-6;1===f?c-=t:f+=t}const l=t((s-c)/(f-c),0,1);n(o,i.toArray(),e.toArray(),l)}function f(t){const o=new Uint8ClampedArray(2048);if(t=t.filter((({ratio:t})=>t>=0&&t<=1)).sort(((t,o)=>t.ratio-o.ratio)).map((({color:t,ratio:o})=>({color:t,ratio:Math.max(o,.001)}))),t.length<1)return o;let r=t[0],n=t[0],s=1;const i=a();for(let a=0;a<512;a++){const c=(a+.5)/512;for(;c>n.ratio&&s<t.length;)r=n,n=t[s++];e(i,r,n,c),o.set(i,4*a)}return o}function l(t,o,r){const n=Math.sqrt(t**2+o**2)/r;return n>1?0:3/(Math.PI*r**2)*(1-n**2)**2}function m(t){return"function"==typeof t?t:t?o=>+o[t]:()=>1}export{f as a,m as c,l as e,i as g,c as k,s as m}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import"../core/lang.js";import e from"../core/Error.js";import t from"../geometry/HeightModelInfo.js";import{p as n}from"./arcgisLayerUrl.js";function i(n,i){if(!n)return null;if(!r(n))return new e("webscene:unsupported-height-model-info","The vertical coordinate system of the scene is not supported",{heightModelInfo:n});const a=n.heightUnit,o=t.deriveUnitFromSR(n,i).heightUnit;return a!==o?new e("webscene:incompatible-height-unit",`The vertical units of the scene (${a}) must match the horizontal units of the scene (${o})`,{verticalUnit:a,horizontalUnit:o}):null}function a(n,i,a){const c=s(n),l=i,u=function(e,t,n){if(!r(e)||!r(t))return o.Unsupported;if(null==e||null==t)return o.Ok;if(!n&&e.heightUnit!==t.heightUnit)return o.Units;if(e.heightModel!==t.heightModel)return o.HeightModel;switch(e.heightModel){case"gravity-related-height":return o.Ok;case"ellipsoidal":return e.vertCRS===t.vertCRS?o.Ok:o.CRS;default:return o.Unsupported}}(c,l,a);if(c){const i=t.deriveUnitFromSR(c,n.spatialReference).heightUnit;if(!a&&i!==c.heightUnit){const t=new e("layerview:unmatched-height-unit",`The vertical units of the layer must match the horizontal units (${i})`,{horizontalUnit:i});return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:c,error:t})}}if(!function(e){return"heightModelInfo"in e&&null!=e.heightModelInfo||null!=e.spatialReference||!h(e)}(n)||u===o.Unsupported)return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:c});switch(u){case o.Units:{const t=c?.heightUnit||"unknown",n=l?.heightUnit||"unknown",i=new e("layerview:incompatible-height-unit",`The vertical units of the layer (${t}) must match the vertical units of the scene (${n})`,{layerUnit:t,sceneUnit:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:c,sceneHeightModelInfo:l,error:i})}case o.HeightModel:{const t=c?.heightModel||"unknown",n=l?.heightModel||"unknown",i=new e("layerview:incompatible-height-model",`The height model of the layer (${t}) must match the height model of the scene (${n})`,{layerHeightModel:t,sceneHeightModel:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:c,sceneHeightModelInfo:l,error:i})}case o.CRS:{const t=c?.vertCRS||"unknown",n=l?.vertCRS||"unknown",i=new e("layerview:incompatible-vertical-datum",`The vertical datum of the layer (${t}) must match the vertical datum of the scene (${n})`,{layerDatum:t,sceneDatum:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:c,sceneHeightModelInfo:l,error:i})}}return null}var o;function r(e){return null==e||null!=e.heightModel&&null!=e.heightUnit}function s(e){if("integrated-mesh-3dtiles"===e.type)return null;const i=e.url?n(e.url):void 0,a=e.spatialReference?.vcsWkid;return(null!=a||null==i||"ImageServer"!==i.serverType)&&c(e)&&e.heightModelInfo?e.heightModelInfo:h(e)?t.deriveUnitFromSR(g,e.spatialReference):null}function c(e){return"heightModelInfo"in e}function l(e){if("unknown"===e.type||!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"subtype-group":case"ogc-feature":case"oriented-imagery":case"wfs":case"knowledge-graph-sublayer":return!0;default:return!1}}function h(e){return l(e)?!!(e.capabilities&&e.capabilities.data&&e.capabilities.data.supportsZ):d(e)}function u(e){return null!=e.layers||d(e)||l(e)||c(e)}function d(e){switch(e.type){case"building-scene":case"elevation":case"integrated-mesh":case"integrated-mesh-3dtiles":case"point-cloud":case"scene":case"voxel":return!0;case"base-dynamic":case"base-elevation":case"base-tile":case"bing-maps":case"catalog":case"catalog-footprint":case"catalog-dynamic-group":case"csv":case"dimension":case"geojson":case"feature":case"subtype-group":case"geo-rss":case"graphics":case"group":case"imagery":case"imagery-tile":case"kml":case"knowledge-graph":case"link-chart":case"knowledge-graph-sublayer":case"line-of-sight":case"map-image":case"map-notes":case"media":case"ogc-feature":case"open-street-map":case"oriented-imagery":case"route":case"stream":case"tile":case"unknown":case"unsupported":case"vector-tile":case"video":case"wcs":case"web-tile":case"wfs":case"wms":case"wmts":case null:return!1}return!1}!function(e){e[e.Ok=0]="Ok",e[e.Units=1]="Units",e[e.HeightModel=2]="HeightModel",e[e.CRS=3]="CRS",e[e.Unsupported=4]="Unsupported"}(o||(o={}));const g=new t({heightModel:"gravity-related-height"});export{s as d,a as r,u as s,i as v}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
function e(e,n){switch(e){case"point":case"multipoint":return"point";case"polyline":return function(e){return(null!=e&&"polyline"===e.type&&e.paths.length?e.paths[0].length:0)<2?"polylineZeroVertices":"polylineOneVertex"}(n);case"polygon":return function(e){const n=null!=e&&"polygon"===e.type&&e.rings.length?e.rings[0].length:0;return n<3?"polylineZeroVertices":n<4?"polygonOneVertex":"polygonTwoVertices"}(n);default:return}}export{e as g}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{g as r,y as o}from"./unitUtils.js";import{s as e}from"./vec3.js";import{c as s}from"./vec3f64.js";import{k as t,z as i}from"./elevationInfoUtils.js";import"../core/lang.js";import"./jsonMap.js";import"../config.js";import"./Logger.js";import"./assets.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/Error.js";import"../core/JSONSupport.js";import"./tslib.es6.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./handleUtils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";import"./common.js";import"./unitConversionUtils.js";import"./lengthUtils.js";function m(s,m){const j=s?.geometry;if(!s||"mesh"!==j?.type||!m)return;const{renderCoordsHelper:l,elevationProvider:u}=m,{camera:d}=m.state,{extent:f}=j,{center:g,spatialReference:h}=f,v=r(h),U=o(h),y=r(l.spatialReference),b=f.width*v,x=f.height*U,S=(f.zmax??0)*U,z=S-(f.zmin??0)*U,C=Math.max(b,x,z)/y,{x:k,y:R}=g,T=g.z??0;e(c,k,R,T),l.toRenderCoords(c,h,c);const w=C/d.computeScreenPixelSizeAt(c);if(w>d.width*n)return"meshTooClose";if(w<p)return"meshTooFar";const A=t(s),{absoluteZ:E}=i(k,R,S,h,m,A);return E<(u.getElevation(k,R,T,h,"ground")??0)*U+z*a?"meshUnderground":"mesh"}const p=20,n=1,a=.1,c=s();export{m as getDrawMeshHelpMessage}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import o from"../Color.js";import{H as r}from"./HighlightOptions.js";const c={selection:c=>new r({color:new o([c.color.r/2,c.color.g/2,c.color.b/2,c.color.a])}),highlight:o=>o,popup:c=>new r({color:new o([c.color.g,c.color.b,c.color.r,c.color.a])})};function l(o){if(!o)return 0;let r=1;for(const l in c){if(l===o)break;r<<=1}return r}const t=Object.keys(c);export{c as a,l as g,t as h}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import"../geometry.js";import e from"../Graphic.js";import{i as n}from"../core/Handles.js";import{b as i,s as r}from"./screenUtils.js";import{c as t}from"./vec3f64.js";import{p as s}from"./projectVectorToVector.js";import{f as o}from"./LayerConstants.js";import{j as a}from"./layerUtils2.js";import{d as c}from"./debugFlags2.js";import{g as l}from"./ElevationProvider.js";import{n as d,S as u,i as p,I as m}from"./Intersector2.js";import{t as f,a as g}from"./intersectorUtilsConversions.js";import{t as h}from"./verticalOffsetUtils.js";import y from"../geometry/SpatialReference.js";import E from"../geometry/Point.js";async function U(e,n,r,t){const s=r?b(e,r):t,o=i(n.x,n.y);s.requiresGroundFeedback=!0,s.enableDraped=!0;const l=d(e.state.viewingMode);l.options.selectionMode=!0,l.options.store=u.ALL,e.sceneIntersectionHelper.intersectIntersectorScreen(o,l,s);const m=function(e,n,i){const r=new Array;let t=null;for(let s=0;s<n.length;s++){const o=n[s],c=f(o,e);if(null!=c&&(c===e.map.ground||"type"in c&&a(c.type)))break;const l=g(o,e);if(null==l)continue;if("graphic"===l.type){if(null==t&&s!==n.length-1&&(t=new Set),null!=t){const e=S(l.graphic);if(t.has(e))continue;t.add(e)}if(!L(i,l.graphic))continue}const d=j(e,o),u=o.distanceInRenderSpace;if("media"===l.type){const e=l.element.toSource(d);r.push({...l,mapPoint:d,distance:u,sourcePoint:e})}else r.push({...l,mapPoint:d,distance:u})}return r}(e,l.results.all,s.graphics),h=l.results.ground,y=f(h,e),E=null!=y&&"type"in y&&a(y.type)?y:null,U={screenPoint:n,results:m,ground:{mapPoint:j(e,h),distance:p(h)?h.distanceInRenderSpace:0,layer:E}};return c.SCENEVIEW_HITTEST_RETURN_INTERSECTOR&&(U.intersector=l),U}function I(e,n,i,t){const s=i?b(e,i):t,o=!(!s.graphics?.include&&!s.graphics?.exclude),a=!(!s.mediaElements?.include&&!s.mediaElements?.exclude),c=r(n);s.enableDraped=s.include&&!s.include.has(h)||s.exclude?.has(h);const l=e.sceneIntersectionHelper,p=d(e.state.viewingMode);if(p.options.selectionMode=!0,p.options.store=o||a?u.ALL:u.MIN,p.options.hud=!i?.excludeHud,l.intersectIntersectorScreen(c,p,s),o||a){for(const n of p.results.all){const i=g(n,e);if(null==i)return j(e,n);if(o&&("graphic"!==i.type||L(s.graphics,i.graphic)))return j(e,n);if(a&&("media"!==i.type||x(s.mediaElements,i.element)))return j(e,n)}return null}return j(e,p.results.min)}function j(e,n,i){return n.getIntersectionPoint(v)?(i=R(e,v,i),n.intersector===m.TERRAIN&&e.basemapTerrain&&(i.z=l(e.basemapTerrain,i)??0),i):null}function S(e){const n=e.sourceLayer,i=e.layer,r=n&&"objectIdField"in n?n:i&&"objectIdField"in i?i:n;if(r){const n=r.objectIdField??o,i=e.attributes?.[n];if(i)return`o-${r.id}-${i}`}return`u-${e.uid}`}function L(e,n){return x(e,S(n))}function x(e,n){return null==e||(null==e.include||e.include.has(n))&&(null==e.exclude||!e.exclude.has(n))}function R(e,n,i){let r=e.spatialReference||y.WGS84;return s(n,e.renderSpatialReference,v,r)?n=v:(r=y.WGS84,s(n,e.renderSpatialReference,v,r)&&(n=v)),i?(i.x=n[0],i.y=n[1],i.z=n[2],i.spatialReference=r):i=new E(n,r),i}function b(e,n){const i=w(e,n.include,D.INCLUDE),r=w(e,n.exclude,D.EXCLUDE);return{include:i.layerUids,exclude:r.layerUids,graphics:{include:i.graphicUids,exclude:r.graphicUids},mediaElements:{include:i.mediaElements,exclude:r.mediaElements}}}function w(i,r,t,s={layerUids:void 0,graphicUids:void 0,mediaElements:void 0}){if(!r)return s;if(r instanceof e)!function(e,n){e.graphicUids||(e.graphicUids=new Set),e.graphicUids.add(n)}(s,S(r)),t===D.INCLUDE&&(null!=i.graphicsView&&r.layer===i?C(s,i.graphicsView.processor.layer.id):r.layer&&C(s,r.layer.uid));else if("layer"in r&&"element"in r)!function(e,n){e.mediaElements||(e.mediaElements=new Set),e.mediaElements.add(n)}(s,r.element),t===D.INCLUDE&&C(s,r.layer.uid);else if(n(r))for(const e of r)e===i.graphics&&null!=i.graphicsView?C(s,i.graphicsView.processor.layer.id):e===i.map.ground?C(s,h):w(i,e,t,s);else"uid"in r&&C(s,r.uid);return s}function C(e,n){e.layerUids||(e.layerUids=new Set),e.layerUids.add(n)}const v=t();var D;!function(e){e[e.INCLUDE=0]="INCLUDE",e[e.EXCLUDE=1]="EXCLUDE"}(D||(D={}));export{R as c,b as e,U as h,I as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
async function t(t,e){if("2d"===t.type)return t.hitTest(e);const s=await t.hitTest(e);if(0===s.results.length)return s;const r=s.results[0],u=(r.distance??0)*(1+n),i=s.results.findIndex((t=>(t.distance??0)>u));return-1!==i&&(s.results=s.results.slice(0,i)),r&&s.ground.distance>u&&(s.ground.mapPoint=null),s}const n=.05;function e(t){return"graphic"===t?.type}function s(t){return t.find(e)??null}function r(t){return t.filter(e)}export{s as a,r as f,t as h}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),t="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),r=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,i=function(o,i){return r.test(i)?s[o.month()]:t[o.month()]};i.s=t,i.f=s;var e={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:i,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(o){return o+"."}};o.locale(e,null,!0);export{e as default}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const e={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"po. Kr.",_era_bc:"pr. Kr.",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"siječnja",February:"veljače",March:"ožujka",April:"travnja",May:"svibnja",June:"lipnja",July:"srpnja",August:"kolovoza",September:"rujna",October:"listopada",November:"studenoga",December:"prosinca",Jan:"sij",Feb:"velj",Mar:"ožu",Apr:"tra","May(short)":"svi",Jun:"lip",Jul:"srp",Aug:"kol",Sep:"ruj",Oct:"lis",Nov:"stu",Dec:"pro",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"četvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"čet",Fri:"pet",Sat:"sub",_dateOrd:function(e){let _="th";if(e<11||e>13)switch(e%10){case 1:_="st";break;case 2:_="nd";break;case 3:_="rd"}return _},"Zoom Out":"Povećaj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Učitavanje",Home:"Početna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{e as default}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as r}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var t={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,t,o,s){return"néhány másodperc"+(s||t?"":"e")},m:function(r,t,o,s){return"egy perc"+(s||t?"":"e")},mm:function(r,t,o,s){return r+" perc"+(s||t?"":"e")},h:function(r,t,o,s){return"egy "+(s||t?"óra":"órája")},hh:function(r,t,o,s){return r+" "+(s||t?"óra":"órája")},d:function(r,t,o,s){return"egy "+(s||t?"nap":"napja")},dd:function(r,t,o,s){return r+" "+(s||t?"nap":"napja")},M:function(r,t,o,s){return"egy "+(s||t?"hónap":"hónapja")},MM:function(r,t,o,s){return r+" "+(s||t?"hónap":"hónapja")},y:function(r,t,o,s){return"egy "+(s||t?"év":"éve")},yy:function(r,t,o,s){return r+" "+(s||t?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(t,null,!0);export{t as default}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import t from"../geometry/Extent.js";import e from"../geometry/Multipoint.js";import o from"../geometry/Point.js";import r from"../geometry/Polygon.js";import s from"../geometry/Polyline.js";import"./tslib.es6.js";import"./Logger.js";import"../config.js";import"../core/lang.js";import"../core/accessorSupport/decorators/property.js";import"./ensureType.js";import"./utils.js";import"./handleUtils.js";import"./metadata.js";import"../core/Error.js";import"../core/accessorSupport/decorators/subclass.js";import"./tracking.js";import"../geometry/Geometry.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";import"./reader.js";import"../geometry/SpatialReference.js";import"./unitUtils.js";import"./jsonMap.js";import"./assets.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"./writer.js";import"../geometry/support/webMercatorUtils.js";import"./zmUtils.js";import"../core/accessorSupport/decorators/cast.js";import"./coordsUtils.js";import"./Axis.js";import"./extentUtils.js";import"./aaBoundingRect.js";import"./mathUtils.js";import"./vec3.js";import"./vec3f64.js";import"./common.js";const i={convertToGEGeometry:function(t,e){if(null==e)return null;let o="cache"in e?e.cache._geVersion:void 0;return null==o&&(o=t.convertJSONToGeometry(e),"cache"in e&&(e.cache._geVersion=o)),o},exportPoint:function(t,e,r){const s=t.hasZ(e),i=t.hasM(e),n=new o({x:t.getPointX(e),y:t.getPointY(e),spatialReference:r});return s&&(n.z=t.getPointZ(e)),i&&(n.m=t.getPointM(e)),n.cache._geVersion=e,n},exportPolygon:function(t,e,o){const s=new r({rings:t.exportPaths(e),hasZ:t.hasZ(e),hasM:t.hasM(e),spatialReference:o});return s.cache._geVersion=e,s},exportPolyline:function(t,e,o){const r=new s({paths:t.exportPaths(e),hasZ:t.hasZ(e),hasM:t.hasM(e),spatialReference:o});return r.cache._geVersion=e,r},exportMultipoint:function(t,o,r){const s=new e({hasZ:t.hasZ(o),hasM:t.hasM(o),points:t.exportPoints(o),spatialReference:r});return s.cache._geVersion=o,s},exportExtent:function(e,o,r){const s=e.hasZ(o),i=e.hasM(o),n=new t({xmin:e.getXMin(o),ymin:e.getYMin(o),xmax:e.getXMax(o),ymax:e.getYMax(o),spatialReference:r});if(s){const t=e.getZExtent(o);n.zmin=t.vmin,n.zmax=t.vmax}if(i){const t=e.getMExtent(o);n.mmin=t.vmin,n.mmax=t.vmax}return n.cache._geVersion=o,n}};export{i as hydratedAdapter}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import"../geometry.js";import e from"../Graphic.js";import{clone as t,a as n,b as a}from"../core/lang.js";import{fromJSON as r}from"../geometry/support/jsonUtils.js";import{m as s}from"./dehydratedPoint.js";import i from"../geometry/SpatialReference.js";function o(e){return"declaredClass"in e}function m(e){return"declaredClass"in e}function l(n,a){return n?function(e){return"declaredClass"in e}(n)?n:new e({layer:a,sourceLayer:a,visible:n.visible,symbol:t(n.symbol),attributes:t(n.attributes),geometry:c(n.geometry)}):null}function c(e){return null==e?null:o(e)?e:r(function(e){const{wkid:t,wkt:n,wkt2:a,latestWkid:r}=e.spatialReference,s={wkid:t,wkt:n,wkt2:a,latestWkid:r};switch(e.type){case"point":{const{x:t,y:n,z:a,m:r}=e;return{x:t,y:n,z:a,m:r,spatialReference:s}}case"polygon":{const{rings:t,hasZ:n,hasM:a}=e;return{rings:u(t),hasZ:n,hasM:a,spatialReference:s}}case"polyline":{const{paths:t,hasZ:n,hasM:a}=e;return{paths:u(t),hasZ:n,hasM:a,spatialReference:s}}case"extent":{const{xmin:t,xmax:n,ymin:a,ymax:r,zmin:i,zmax:o,mmin:m,mmax:l,hasZ:c,hasM:u}=e;return{xmin:t,xmax:n,ymin:a,ymax:r,zmin:i,zmax:o,mmin:m,mmax:l,hasZ:c,hasM:u,spatialReference:s}}case"multipoint":{const{points:t,hasZ:n,hasM:a}=e;return{points:h(t)?f(t):t,hasZ:n,hasM:a,spatialReference:s}}default:return}}(e))}function u(e){return function(e){for(const t of e)if(0!==t.length)return h(t);return!1}(e)?e.map((e=>f(e))):e}function f(e){return e.map((e=>Array.from(e)))}function h(e){return e.length>0&&(n(e[0])||a(e[0]))}function p(e,t){if(!e)return null;let n;if(m(e)){if(null==t)return e.clone();if(m(t))return t.copy(e)}return null!=t?(n=t,n.x=e.x,n.y=e.y,n.spatialReference=e.spatialReference,e.hasZ?(n.z=e.z,n.hasZ=e.hasZ):(n.z=void 0,n.hasZ=!1),e.hasM?(n.m=e.m,n.hasM=!0):(n.m=void 0,n.hasM=!1)):(n=s(e.x,e.y,e.z,e.spatialReference),e.hasM&&(n.m=e.m,n.hasM=!0)),n}function y(e){const{wkid:t,wkt:n,wkt2:a,latestWkid:r}=e,s={wkid:t,wkt:n,wkt2:a,latestWkid:r};return i.fromJSON(s)}export{y as a,c as b,p as c,l as h,o as i}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{p as t,H as i,h as e,a as s,g as n}from"../widgets/Widget.js";import{g as a,t as c}from"./dom.js";import{c as o}from"./observers.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/const l="flip-rtl",r={},h={},d={s:16,m:24,l:32},p=t(class extends i{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:t,flipRtl:i,pathData:n,scale:o,textLabel:r}=this,h=a(t),p=d[o],b=!!r,f=[].concat(n||"");return e(s,{key:"5eb4d26c41c6df7a4fe28e6647a452d4a91106a2","aria-hidden":c(!b),"aria-label":b?r:null,role:b?"img":null},e("svg",{key:"cd87fba0ba564d4a16ca5f18176d99b1f974b8fa","aria-hidden":"true",class:{[l]:"rtl"===h&&i,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${p} ${p}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((t=>e("path","string"==typeof t?{d:t}:{d:t.d,opacity:"opacity"in t?t.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:e}=this;if(!t||!e)return;const s=await async function({icon:t,scale:i}){const e=d[i],s=function(t){const i=!isNaN(Number(t.charAt(0))),e=t.split("-");if(e.length>0){const i=/[a-z]/i;t=e.map(((t,e)=>t.replace(i,(function(t,i){return 0===e&&0===i?t:t.toUpperCase()})))).join("")}return i?`i${t}`:t}(t),a="F"===s.charAt(s.length-1),c=`${a?s.substring(0,s.length-1):s}${e}${a?"F":""}`;if(r[c])return r[c];h[c]||(h[c]=fetch(n(`./assets/icon/${c}.json`)).then((t=>t.json())).catch((()=>(console.error(`"${c}" is not a valid calcite-ui-icon name`),""))));const o=await h[c];return r[c]=o,o}({icon:t,scale:i});t===this.icon&&(this.pathData=s)}waitUntilVisible(t){this.intersectionObserver=o("intersection",(i=>{i.forEach((i=>{i.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}static get assetsDirs(){return["assets"]}get el(){return this}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}static get style(){return":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}"}},[1,"calcite-icon",{icon:[513],flipRtl:[516,"flip-rtl"],scale:[513],textLabel:[1,"text-label"],pathData:[32],visible:[32]},void 0,{icon:["loadIconPathData"],scale:["loadIconPathData"]}]);function b(){"undefined"!=typeof customElements&&["calcite-icon"].forEach((t=>{"calcite-icon"===t&&(customElements.get(t)||customElements.define(t,p))}))}b();export{p as I,b as d}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as t}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var r={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(t){return t+"."}};t.locale(r,null,!0);export{r as default}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import r from"../core/Error.js";import{throwIfAborted as e}from"../core/promiseUtils.js";async function t(t,a,o){let c;try{c=await createImageBitmap(t)}catch(e){throw new r("request:server",`Unable to load ${a}`,{url:a,error:e})}return e(o),c}async function a(t,a,o,c,l){let n;try{n=await createImageBitmap(t)}catch(e){throw new r("request:server",`Unable to load tile ${a}/${o}/${c}`,{error:e,level:a,row:o,col:c})}return e(l),n}export{t as a,a as c}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import t from"../request.js";import e from"../core/Error.js";import{isAbortError as r}from"../core/promiseUtils.js";import{dataComponents as a,b as n}from"../core/urlUtils.js";let i=null,o=!0;function s(t,e,r){if(!t||!e)throw new Error("Cannot construct image data without dimensions");if(o)try{return new ImageData(t,e)}catch(t){o=!1}return f(t,e,r)}function c(t,e,r,a){if(!e||!r)throw new Error("Cannot construct image data without dimensions");if(o)try{return new ImageData(t,e,r)}catch(t){o=!1}const n=f(e,r,a);return n.data.set(t,0),n}function f(t,e,r){return r||(i||(i=document.createElement("canvas"),i.width=1,i.height=1),r=i),r.getContext("2d").createImageData(t,e)}async function m(i,o){const{arrayBuffer:s,mediaType:c}=await async function(e,r){const i=a(e);if(i?.isBase64)return{arrayBuffer:n(i.data),mediaType:i.mediaType};const o=await t(e,{responseType:"array-buffer",...r});return{arrayBuffer:o.data,mediaType:o.getHeader?.("Content-Type")??""}}(i,o),f="image/png"===c;if("image/gif"===c){const{isAnimatedGIF:t,parseGif:e}=await import("./gif.js");if(t(s))return e(s,o)}if(f){const{isAnimatedPNG:t,parseApng:e}=await import("./apng.js");if(t(s))return e(s,o)}return async function(a,n){const i=window.URL.createObjectURL(a);try{const{data:e}=await t(i,{...n,responseType:"image"});return e}catch(t){if(!r(t))throw new e("invalid-image",`Could not fetch requested image at ${i}`);throw t}finally{window.URL.revokeObjectURL(i)}}(new Blob([s],{type:c}),o)}export{s as c,m as g,c as w}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{_ as e}from"./tslib.es6.js";import"./Logger.js";import"../core/lang.js";import"../core/Error.js";import{subclass as t}from"../core/accessorSupport/decorators/subclass.js";import{c as i}from"./aaBoundingRect.js";import{c as r}from"./mat3f32.js";import{B as s}from"./Bitmap.js";import{T as a}from"./TiledDisplayObject.js";import{b as n}from"./WGLContainer.js";import{W as o}from"./Container.js";import{T as l}from"./TileContainer.js";class m extends a{constructor(e,t,i,r,a,n,o=null){super(e,t,i,r,a,n),this.bitmap=new s(o),this.bitmap.coordScale=[a,n],this.bitmap.once("isReady",(()=>this.ready()))}destroy(){super.destroy(),this.bitmap.destroy()}beforeRender(e){this.bitmap.beforeRender(e),super.beforeRender(e)}afterRender(e){this.bitmap.afterRender(e),super.afterRender(e)}set stencilRef(e){this.bitmap.stencilRef=e}get stencilRef(){return this.bitmap.stencilRef}_createTransforms(){return{displayViewScreenMat3:r(),tileMat3:r()}}setTransform(e){super.setTransform(e),this.bitmap.transforms.displayViewScreenMat3=this.transforms.displayViewScreenMat3}onAttach(){this.bitmap.stage=this.stage}onDetach(){this.bitmap&&(this.bitmap.stage=null)}}class c extends l{get requiresDedicatedFBO(){return this.children.some((e=>"additive"===e.bitmap.blendFunction))}createTile(e){const t=this._tileInfoView.getTileBounds(i(),e),r=this._tileInfoView.getTileResolution(e.level),[s,a]=this._tileInfoView.tileInfo.size;return new m(e,r,t[0],t[3],s,a)}prepareRenderPasses(e){const t=e.registerRenderPass({name:"bitmap (tile)",brushes:[n.bitmap],target:()=>this.children.map((e=>e.bitmap)),drawPhase:o.MAP});return[...super.prepareRenderPasses(e),t]}doRender(e){this.visible&&e.drawPhase===o.MAP&&super.doRender(e)}}const d=i=>{let r=class extends i{attach(){this.view.timeline.record(`${this.layer.title} (BitmapTileLayer) Attach`),this._bitmapView=new c(this._tileInfoView),this.container.addChild(this._bitmapView)}detach(){this.container.removeChild(this._bitmapView),this._bitmapView?.removeAllChildren(),this._bitmapView=null}};return r=e([t("esri.views.2d.layers.BitmapTileLayerView2D")],r),r};function h(e,t,i,r){if(i.level===r.level)return t;const s=e.tileInfo.size,a=e.getTileResolution(i.level),n=e.getTileResolution(r.level);let o=e.getLODInfoAt(r.level);const l=o.getXForColumn(r.col),m=o.getYForRow(r.row);o=e.getLODInfoAt(i.level);const c=o.getXForColumn(i.col),d=o.getYForRow(i.row),h=function(e){return e instanceof HTMLImageElement?e.naturalWidth:e.width}(t)/s[0],u=function(e){return e instanceof HTMLImageElement?e.naturalHeight:e.height}(t)/s[1],f=Math.round(h*((l-c)/a)),b=Math.round(u*(-(m-d)/a)),g=Math.round(h*s[0]*(n/a)),w=Math.round(u*s[1]*(n/a)),R=p(s);return R.getContext("2d").drawImage(t,f,b,g,w,0,0,s[0],s[1]),R}function p(e){const t=document.createElement("canvas");return[t.width,t.height]=e,t}export{d as B,p as c,h as r}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{s as r,a as t}from"./utils23.js";import{a as e,r as o,t as s,b as i}from"./portalItemUtils.js";import"../core/Error.js";import"../core/lang.js";import"./Logger.js";import"../config.js";import"./originUtils.js";import"./multiOriginJSONSupportUtils.js";import"../portal/Portal.js";import"./tslib.es6.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"./maybe.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./handleUtils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"../core/promiseUtils.js";import"../request.js";import"../core/Loadable.js";import"../core/Promise.js";import"./reader.js";import"../geometry/Extent.js";import"../geometry/Geometry.js";import"../geometry/SpatialReference.js";import"./unitUtils.js";import"./jsonMap.js";import"./assets.js";import"./writer.js";import"../geometry/Point.js";import"../core/accessorSupport/decorators/cast.js";import"../geometry/support/webMercatorUtils.js";import"./locale.js";import"../portal/PortalGroup.js";import"../portal/PortalQueryParams.js";import"../portal/PortalQueryResult.js";import"../portal/PortalUser.js";import"../portal/PortalFolder.js";import"../portal/PortalItem.js";import"../portal/PortalItemResource.js";import"../portal/PortalRating.js";import"./persistableUrlUtils.js";import"./jsonContext.js";import"./saveAPIKeyUtils.js";import"./saveUtils.js";import"../geometry/projection.js";import"./SimpleObservable.js";import"./vec3f64.js";import"../geometry/Multipoint.js";import"./zmUtils.js";import"../geometry/Polygon.js";import"./coordsUtils.js";import"./Axis.js";import"./extentUtils.js";import"./aaBoundingRect.js";import"./mathUtils.js";import"./vec3.js";import"./common.js";import"../geometry/Polyline.js";import"./projectBuffer.js";import"./geodesicConstants.js";import"../geometry/support/GeographicTransformation.js";import"../geometry/support/GeographicTransformationStep.js";import"./zscale.js";const a="Image Service";function p(r){if("imagery"===r.type)return{isValid:!0};const{raster:t}=r,e="Function"===t?.datasetFormat?t.primaryRasters?.rasters[0]:t;return{isValid:"RasterTileServer"===e?.datasetFormat&&("Raster"===e.tileType||"Map"===e.tileType),errorMessage:"imagery tile layer should be created from a tiled image service."}}function m(r){const t=r.layerJSON;return Promise.resolve(t&&Object.keys(t).length?t:null)}async function l(r,t){const{parsedUrl:a,title:p,fullExtent:m}=r;t.url=a.path,t.title||=p;try{t.extent=await e(m)}catch{t.extent=void 0}o(t,s.METADATA),"imagery-tile"===r.type&&i(t,s.TILED_IMAGERY)}async function j(t,e){const o="imagery"===t.type?"imagery-layer-save":"imagery-tile-layer-save";return r({layer:t,itemType:a,validateLayer:p,createItemData:m,errorNamePrefix:o},e)}async function c(r,e,o){const s="imagery"===r.type?"imagery-layer-save-as":"imagery-tile-layer-save-as";return t({layer:r,itemType:a,validateLayer:p,createItemData:m,errorNamePrefix:s,newItem:e,setItemProperties:l},o)}export{j as save,c as saveAs}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
const t=(()=>{const t=Intl.supportedValuesOf("timeZone");return[...new Set([...t,"Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9"])]})(),e={startDate:(new Date).toISOString(),groupDateRange:365,debug:!1},n=new Set(["Europe","Asia","America","America/Argentina","Africa","Australia","Pacific","Atlantic","Antarctica","Arctic","Indian"]),o=t=>{if(t.includes("Istanbul"))return"Europe";const e=t.lastIndexOf("/");return-1===e?t:t.slice(0,e)},r=t=>n.has(t),a=(t,e,n)=>t.length===e.length&&t.every(((t,o)=>n.same(t,e[o]))),i=(t,e=5)=>{const n=t.filter((({label:t})=>r(o(t))));return 0===n.length?[0]:function(t,e=5){const n=t.length;if(n<=e)return t;const o=Math.min(n-2,e-2),r=(n-1)/(o+1);return[t[0],...Array.from({length:o},((e,n)=>t[Math.round((n+1)*r)])),t[n-1]]}(n.map((e=>t.indexOf(e))),e)};async function s(n){const{debug:s,groupDateRange:c,hooks:l,startDate:u,dateEngine:T}={...e,...n},G=[];if(!T)throw new Error("dateEngine is required");const g=t.map((t=>({label:t})));l?.onBeforeTimeZoneMetadataCreate?.(g);const E=((t,e,n,a,i=!1)=>{const s=new Map;i&&console.log(`Initializing data starting ${e} with ${n} days in the future, comparing ${t.length} timezones`);const c=((t,e,n)=>{const o=[];let r=n.create(t);for(let t=0;t<=e;t++)r=n.increase(r),o.push(n.formatToIsoDateString(r));return o})(e,n,a);return t.map((t=>{const e=t.label,n=o(e),i=c.map((t=>{const n=`${t}-${e}`;let o=s.get(n);return o||(o=a.isoToTimeZone(t,e),s.set(n,o),o)}));return{...t,continent:n,isRegularContinent:r(n),dates:i}}))})(g,u,c,T,s);l?.onTimeZoneMetadataCreate?.(E);for(const t of E){const{label:e,continent:n,dates:o}=t;if(t.visited)continue;t.visited=!0;const r={labelTzIndices:void 0,tzs:[{label:e}]};l?.onGroupCreate?.(r,t);for(const t of E.filter((t=>!t.visited))){const{label:e,continent:i,isRegularContinent:s,dates:c}=t;if((n===i||!s)&&a(o,c,T)){const n={label:e};r.tzs.push(n),l?.onGroupTimeZoneAdd?.(r,n,t),t.visited=!0}}G.push(r),l?.onGroupAdd?.(r)}const M=G.map((t=>{l?.onBeforeFinalGroupCreate?.(t),t.tzs=t.tzs.sort(((t,e)=>t.label.localeCompare(e.label)));const e={labelTzIndices:i(t.tzs,7),tzs:t.tzs.map((t=>t.label))};return l?.onFinalGroupCreate?.(e,t),e})).sort(((t,e)=>e.tzs.length-t.tzs.length));if(s){const e=t.map((t=>M.some((e=>e.tzs.includes(t)))?null:t)).filter(Boolean);if(e.length>0)throw new Error(`There are ${e.length} missing timezones: ${e.toString()}`)}return l?.onFinalGroupingCreate?l.onFinalGroupingCreate(M):M}export{s as groupTimeZones}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
class t{constructor(){this._formatterCache=new Map,this._commonDateTimeFormatterOptions={year:"numeric",month:"2-digit",day:"2-digit",timeZoneName:"shortOffset"}}get name(){return"native"}create(t){return new Date(t)}increase(t){return new Date(t.getTime()+864e5)}formatToIsoDateString(t){const e=t.getFullYear(),r=t.getMonth()+1,n=t.getDate();return`${e}-${r.toString().padStart(2,"0")}-${n.toString().padStart(2,"0")}`}isoToTimeZone(t,e){const r=this._toDate(t),n=this._getFormatter(e).formatToParts(r),[a]=n.filter((({type:t})=>"timeZoneName"===t)).map((({value:t})=>t)),i=this._getTimeZoneOffsetInMins(a),o=r.getMinutes()-(r.getTimezoneOffset()-i);return r.setMinutes(o),r}same(t,e){return t.getTime()===e.getTime()}_toDate(t){return new Date(t)}_getFormatter(t){let e=this._formatterCache.get(t);return e||(e=new Intl.DateTimeFormat("en-US",{timeZone:t,...this._commonDateTimeFormatterOptions}),this._formatterCache.set(t,e)),e}_getTimeZoneOffsetInMins(t){const[e,...r]=t.slice(3),[n,a]=r.join("").split(":");return("+"===e?1:-1)*(60*Number(n)+Number(a||0))}}export{t as DateEngine}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const n=[["binary","application/octet-stream","bin",""]];function t(n,t){return null!=c(t.name,n?.supportedFormats??[])}function r(n,t){if(!n)return!1;const r=a(t,n.supportedFormats??[]);return null!=r&&n.editFormats.includes(r)}function e(n){return i(n?.supportedFormats??[]).flatMap(d).map((n=>`.${n}`))}function o(n,t){return f(function(n,t){const r=n.toLowerCase();return i(t).find((n=>p(n)===r))}(n,t))}function u(n,t){return f(c(n,t))}function s(n,t){return p(function(n,t){return i(t).find((t=>f(t)===n))}(n,t))}function a(n,t){return u(n.name,t)??o(n.type,t)}function i(t){return[...n,...t]}function c(n,t){const r=n.toLowerCase();return i(t).find((n=>d(n).some((n=>r.endsWith(n)))))}function f(n){return n?.[0]}function p(n){return n?.[1].toLowerCase()}function d(n){return n?.[2].split(",").map((n=>n.toLowerCase()))??[]}function l(n){return n.tables?.find((n=>"assetMaps"===n.role))}export{o as a,u as b,l as c,s as d,e,t as f,a as g,r as i}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{p as e,H as t,h as i,a as s}from"../widgets/Widget.js";import{s as n}from"./dom.js";import{d as c}from"./icon.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/const o={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},a=e(class extends t{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=n(o,this.icon,this.status)}connectedCallback(){this.requestedIcon=n(o,this.icon,this.status)}render(){const e=this.el.hidden;return i(s,{key:"7d7329dbca2d5abb5a9b92dbee9767ba14488caa","calcite-hydrated-hidden":e},this.renderIcon(this.requestedIcon),i("slot",{key:"2fc037f47b40f25698cecdd52df9436da86ecfcf"}))}renderIcon(e){if(e)return i("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:e,scale:"s"})}get el(){return this}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}static get style(){return":host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;--calcite-input-message-spacing-value:0.25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}"}},[1,"calcite-input-message",{icon:[520],iconFlipRtl:[516,"icon-flip-rtl"],scale:[513],status:[513]},void 0,{status:["handleIconEl"],icon:["handleIconEl"]}]);function l(){"undefined"!=typeof customElements&&["calcite-input-message","calcite-icon"].forEach((e=>{switch(e){case"calcite-input-message":customElements.get(e)||customElements.define(e,a);break;case"calcite-icon":customElements.get(e)||c()}}))}l();export{a as I,l as d}; |
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
const t=["date","datetime-local","month","number","range","time","week"],e=["email","password","search","tel","text","url"],n=["email","password","search","tel","text","textarea","url"];function a(t,e,n,a){const s=n.toLowerCase(),r=t[n];a&&null!=r?e.setAttribute(s,`${r}`):e.removeAttribute(s)}function s(s,r,o){o.type="textarea"===s?"text":s;const i=t.includes(s),l=r;a(l,o,"min",i),a(l,o,"max",i),a(l,o,"step",i);const c=n.includes(s),m=r;a(m,o,"minLength",c),a(m,o,"maxLength",c),a(m,o,"pattern",e.includes(s))}export{s}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{h as e}from"../widgets/Widget.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/function t(){const e=navigator.userAgentData;return e?.brands?e.brands.map((({brand:e,version:t})=>`${e}/${t}`)).join(" "):navigator.userAgent}const n=/firefox/i.test(t()),i=n?new WeakMap:null;function o(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function r(e){const t=e.target;if(n&&!i.get(t))return;const{disabled:o}=t;o&&e.preventDefault()}const a=["mousedown","mouseup","click"];function s(e){const t=e.target;n&&!i.get(t)||t.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const c={capture:!0};function l(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void d(e);f(e),e.el.removeAttribute("aria-disabled")}function d(e){if(e.el.click=o,n){const t=function(e){return e.el.parentElement||e.el}(e),n=i.get(e.el);return n!==t&&(v(n),i.set(e.el,t)),void u(i.get(e.el))}u(e.el)}function u(e){e&&(e.addEventListener("pointerdown",r,c),a.forEach((t=>e.addEventListener(t,s,c))))}function f(e){if(delete e.el.click,n)return v(i.get(e.el)),void i.delete(e.el);v(e.el)}function v(e){e&&(e.removeEventListener("pointerdown",r,c),a.forEach((t=>e.removeEventListener(t,s,c))))}function m(e){e.disabled&&n&&d(e)}function g(e){n&&f(e)}function p({disabled:t},n){return e("div",{class:"interaction-container",inert:t},...n)}export{p as I,m as c,g as d,t as g,l as u};
|
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
var o,s,t;!function(o){o[o.USER=0]="USER",o[o.MANAGER=1]="MANAGER"}(o||(o={})),function(o){o[o.None=0]="None",o[o.Unfocused=1]="Unfocused",o[o.Focused=2]="Focused",o[o.Unselected=4]="Unselected",o[o.Selected=8]="Selected",o[o.All=15]="All"}(s||(s={})),function(o){o[o.None=0]="None",o[o.Custom1=16]="Custom1",o[o.Custom2=32]="Custom2",o[o.Custom3=64]="Custom3",o[o.Custom4=128]="Custom4",o[o.Custom5=256]="Custom5",o[o.Custom6=512]="Custom6",o[o.Custom7=1024]="Custom7",o[o.Custom8=2048]="Custom8",o[o.Custom9=4096]="Custom9",o[o.Custom10=8192]="Custom10",o[o.Custom11=16384]="Custom11",o[o.Custom12=32768]="Custom12",o[o.All=65520]="All"}(t||(t={}));export{o as E,t as M,s as a}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
var S;!function(S){S[S.SAVE=0]="SAVE",S[S.SAVE_AS=1]="SAVE_AS"}(S||(S={}));export{S}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const t=class{};function n(t,...n){let o="";for(let r=0;r<n.length;r++)o+=t[r]+n[r];return o+=t[t.length-1],o}!function(t){t.int=function(t){return Math.round(t).toString()},t.float=function(t){return t.toPrecision(8)}}(n||(n={}));export{t as N,n as g}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
var e;!function(e){e[e.Auto=0]="Auto",e[e.Euclidean=1]="Euclidean",e[e.Geodesic=2]="Geodesic"}(e||(e={}));export{e as M}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
var e,o;!function(e){e[e.None=0]="None",e[e.Direct=1]="Direct",e[e.Triangle=2]="Triangle",e[e.ProjectedGeodesic=3]="ProjectedGeodesic"}(e||(e={})),function(e){e[e.Auto=0]="Auto",e[e.AboveSegment=1]="AboveSegment",e[e.BelowSegment=2]="BelowSegment"}(o||(o={}));export{e as V,o as a}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
var a;!function(a){a[a.EnableFastUpdates=0]="EnableFastUpdates",a[a.DisableFastUpdates=1]="DisableFastUpdates",a[a.UpdateFastLocalOrigin=2]="UpdateFastLocalOrigin"}(a||(a={}));export{a as M}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{n as r}from"./mat4.js";import{c as t}from"./vec3f64.js";import{r as e}from"./aaBoundingBox.js";import{a as n}from"./sphere.js";import{i as a,I as i,G as s,L as l,a as c,b as u}from"./Intersector2.js";import{i as o,a as p}from"./Intersector.js";import{i as g}from"./Intersector3.js";class h extends s{constructor(r,t,e,n){super(t,e),this.point=r,this.createGraphic=n}}function f(r){return a(r)&&r.intersector===i.PCL&&!!r.target}class d extends l{constructor(r,t,e,n,a){super(r),this.layerUid=r,this.sublayerUid=t,this.nodeIndex=e,this.componentIndex=n,this.triangleNr=a}}class m extends s{constructor(r,t,e){super(t,null),this.point=r,this.createVoxelGraphic=e}}class y extends s{constructor(r,t){super(r,null),this.createTiles3DGraphic=t}}function I(r){return a(r)&&r.intersector===i.I3S&&!!r.target}function V(r){return a(r)&&r.intersector===i.VOXEL&&!!r.target}function x(r){return a(r)&&r.intersector===i.TILES3D&&!!r.target}function b(r,t){return c(r)||u(r)?G(r.target?.object,t):p(r)?t.map?.ground:f(r)||I(r)||o(r)||V(r)?G(r.target,t):null}function j(r,t){const e=L(r,t);return null!=e&&"graphic"===e.type?e.graphic:null}function L(r,t){if(null==r)return null;if(c(r)||u(r))return U(r.target?.object,t);if(f(r)){const t=r.target.createGraphic();return{type:"graphic",graphic:t,layer:t.layer}}if(V(r)){const t=r.target.createVoxelGraphic();return{type:"graphic",graphic:t,layer:t.layer}}if(x(r)){const t=r.target.createTiles3DGraphic();return{type:"graphic",graphic:t,layer:t.layer}}return o(r)||g(r)?U(r.target,t):I(r)?function(r,t){const e=G(r,t);if(null==e)return null;const n=t.allLayerViews.find((r=>r.layer===e));return n&&!n.suspended&&"getGraphicFromIntersectorTarget"in n&&null!=(a=n.getGraphicFromIntersectorTarget(r))?{type:"graphic",graphic:a,layer:a.layer}:null;var a}(r.target,t):null}function U(r,t){if(null==r?.graphicUid)return null;const e=G(r,t);if(null==e)return null;if(e===t.graphics)return null==t.graphicsView||"number"!=typeof r.graphicUid?null:t.graphicsView.getHit(r.graphicUid);const n=t.allLayerViews.find((r=>r.layer===e));return!n||n.suspended||null==r.graphicUid?null:"getHit"in n?n.getHit(r.graphicUid):null}function G(r,t){return null==r?.layerUid?null:null!=t.graphicsView&&r.layerUid===t.graphicsView.processor.layer.id?t.graphics:t.map.allLayers.find((t=>t.uid===r.layerUid))}function T(t,a){if(c(t)||u(t))return n(t.target.object.boundingVolumeWorldSpace.bounds);if(g(t)){r(B,t.transformation);const e=Math.max(B[0],B[1],B[2]);return t.target.baseBoundingSphere.radius*e}if(I(t)){const r=function(r,t){const e=G(r,t);if(null==e)return null;const n=t.allLayerViews.find((r=>r.layer===e));return n&&!n.suspended&&"getAABBFromIntersectorTarget"in n?n.getAABBFromIntersectorTarget(r):null}(t.target,a);return r?.5*e(r):null}return null}function w(r){return!c(r)&&!u(r)&&(g(r)?r.target.numLodLevels>1:!!I(r))}const B=t();export{d as I,h as P,y as T,m as V,L as a,j as b,x as c,T as g,w as h,I as i,b as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{_ as e}from"./tslib.es6.js";import t from"../core/Accessor.js";import{property as o}from"../core/accessorSupport/decorators/property.js";import"../core/lang.js";import"./Logger.js";import{subclass as s}from"../core/accessorSupport/decorators/subclass.js";import r from"../views/interactive/sketch/SketchLabelOptions.js";import i from"../views/interactive/sketch/SketchTooltipOptions.js";import E from"../views/interactive/sketch/SketchValueOptions.js";import{r as a}from"./elevationInfoUtils.js";let n=class extends t{constructor(e){super(e),this.labels=new r,this.tooltips=new i,this.values=new E}};e([o({nonNullable:!0,type:r})],n.prototype,"labels",void 0),e([o({nonNullable:!0,type:i})],n.prototype,"tooltips",void 0),e([o({nonNullable:!0,type:E})],n.prototype,"values",void 0),n=e([s("esri.views.interactive.sketch.SketchOptions")],n);const p=n;function c(e){switch(e){case P.SUPPORTED:break;case P.GRAPHICS_LAYER_MISSING:return"not owned by a graphics layer";case P.GEOMETRY_MISSING:return"no geometry";case P.GEOMETRY_TYPE_UNSUPPORTED:return"the geometry type is not supported";case P.ELEVATION_MODE_UNSUPPORTED:return"the elevation mode is not supported";case P.SYMBOL_TYPE_UNSUPPORTED:return"the symbol type is not supported"}return""}var P;function S(e){if(e.graphic&&"graphics"!==e.graphic.layer?.type)return P.GRAPHICS_LAYER_MISSING;const t=e.operations?.data.type;if(!t)return P.GEOMETRY_TYPE_UNSUPPORTED;switch(t){case"polygon":case"point":case"polyline":case"mesh":break;default:return P.GEOMETRY_TYPE_UNSUPPORTED}const o=e.elevationInfo;return a(o)?P.ELEVATION_MODE_UNSUPPORTED:P.SUPPORTED}!function(e){e[e.SUPPORTED=0]="SUPPORTED",e[e.GRAPHICS_LAYER_MISSING=1]="GRAPHICS_LAYER_MISSING",e[e.GEOMETRY_MISSING=2]="GEOMETRY_MISSING",e[e.GEOMETRY_TYPE_UNSUPPORTED=3]="GEOMETRY_TYPE_UNSUPPORTED",e[e.ELEVATION_MODE_UNSUPPORTED=4]="ELEVATION_MODE_UNSUPPORTED",e[e.SYMBOL_TYPE_UNSUPPORTED=5]="SYMBOL_TYPE_UNSUPPORTED"}(P||(P={}));export{p as S,P as a,c as b,S as i}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var r={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(o){return o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};o.locale(r,null,!0);export{r as default}; |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var r={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};o.locale(r,null,!0);export{r as default}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var t={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(o){return o+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(o){return o<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};o.locale(t,null,!0);export{t as default}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const e={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"西暦",_era_bc:"紀元前",A:"午前",P:"午後",AM:"午前",PM:"午後","A.M.":"午前","P.M.":"午後",January:"1月",February:"2月",March:"3月",April:"4月",May:"5月",June:"6月",July:"7月",August:"8月",September:"9月",October:"10月",November:"11月",December:"12月",Jan:"1月",Feb:"2月",Mar:"3月",Apr:"4月","May(short)":"5月",Jun:"6月",Jul:"7月",Aug:"8月",Sep:"9月",Oct:"10月",Nov:"11月",Dec:"12月",Sunday:"日曜日",Monday:"月曜日",Tuesday:"火曜日",Wednesday:"水曜日",Thursday:"木曜日",Friday:"金曜日",Saturday:"土曜日",Sun:"日",Mon:"月",Tue:"火",Wed:"水",Thu:"木",Fri:"金",Sat:"土",_dateOrd:function(e){let _="th";if(e<11||e>13)switch(e%10){case 1:_="st";break;case 2:_="nd";break;case 3:_="rd"}return _},"Zoom Out":"ズーム",Play:"再生",Stop:"停止",Legend:"凡例","Press ENTER to toggle":"",Loading:"読み込んでいます",Home:"ホーム",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"印刷",Image:"イメージ",Data:"データ",Print:"印刷","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"始点 %1 終点 %2","From %1":"始点 %1","To %1":"終点 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{e as default}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const t={convertToGEGeometry:function(t,s){return null==s?null:t.convertJSONToGeometry(s)},exportPoint:function(t,i,n){const e=new s(t.getPointX(i),t.getPointY(i),n),o=t.hasZ(i),h=t.hasM(i);return o&&(e.z=t.getPointZ(i)),h&&(e.m=t.getPointM(i)),e},exportPolygon:function(t,s,n){return new i(t.exportPaths(s),n,t.hasZ(s),t.hasM(s))},exportPolyline:function(t,s,i){return new n(t.exportPaths(s),i,t.hasZ(s),t.hasM(s))},exportMultipoint:function(t,s,i){return new e(t.exportPoints(s),i,t.hasZ(s),t.hasM(s))},exportExtent:function(t,s,i){const n=t.hasZ(s),e=t.hasM(s),h=new o(t.getXMin(s),t.getYMin(s),t.getXMax(s),t.getYMax(s),i);if(n){const i=t.getZExtent(s);h.zmin=i.vmin,h.zmax=i.vmax}if(e){const i=t.getMExtent(s);h.mmin=i.vmin,h.mmax=i.vmax}return h}};class s{constructor(t,s,i){this.x=t,this.y=s,this.spatialReference=i,this.z=void 0,this.m=void 0}}class i{constructor(t,s,i,n){this.rings=t,this.spatialReference=s,this.hasZ=void 0,this.hasM=void 0,i&&(this.hasZ=i),n&&(this.hasM=n)}}class n{constructor(t,s,i,n){this.paths=t,this.spatialReference=s,this.hasZ=void 0,this.hasM=void 0,i&&(this.hasZ=i),n&&(this.hasM=n)}}class e{constructor(t,s,i,n){this.points=t,this.spatialReference=s,this.hasZ=void 0,this.hasM=void 0,i&&(this.hasZ=i),n&&(this.hasM=n)}}class o{constructor(t,s,i,n,e){this.xmin=t,this.ymin=s,this.xmax=i,this.ymax=n,this.spatialReference=e,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}export{t as j}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{urlToObject as t}from"../core/urlUtils.js";import r from"../portal/Portal.js";function e(t,r){return{...l(t,r),readResourcePaths:[]}}function o(r,e,o){const a=t(r.itemUrl);return{...l(r,e),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:a?{rootPath:a.path,writtenUrls:[]}:null,resources:o?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function l(e,o){return{origin:o,url:t(e.itemUrl),portal:e.portal||r.getDefault(),portalItem:e}}export{e as a,o as c}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{s}from"../config.js";class n{constructor(n,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=n,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(s){const n={};for(const o in s)n[s[o]]=o;return n}(n),this.apiValues=o(this._apiToJSON),this.jsonValues=o(this._jsonToAPI),this.read=s=>this.fromJSON(s),this.write=(n,o,t)=>{const i=this.toJSON(n);void 0!==i&&s(t,i,o)},this.write.isJSONMapWriter=!0}toJSON(s){if(null==s)return null;if(this._apiToJSON.hasOwnProperty(s)){const n=this._apiToJSON[s];return this._options.useNumericKeys?+n:n}return this._options.ignoreUnknown?void 0:s}fromJSON(s){return null!=s&&this._jsonToAPI.hasOwnProperty(s)?this._jsonToAPI[s]:this._options.ignoreUnknown?void 0:s}}function o(s){const n=[];for(const o in s)n.push(o);return n.sort(),n}function t(){return function(s,o){return new n(s,{ignoreUnknown:!0,...o})}}export{n as J,t as s}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../core/Error.js";import{s as t}from"../config.js";import{p as s}from"./parser.js";import{i as r}from"./utils3.js";function a(e,t,s){try{return function(e){if(!e||0===e.length)return null;if(function(e){const t=e[0];return!!t&&"scale"in t}(e)){const t=[];for(const s of e)t.push({scale:s.scale,value:o(s.value)});return t}return o(e)}(e)}catch(e){s?.messages?.push(e)}return null}function n(e,a,n,o){try{const o=function(e){const t=s(e);return t?r(t)?t.map((e=>e.toJSON())):t.map((({scale:e,effects:t})=>({scale:e,value:t.map((e=>e.toJSON()))}))):null}(e);t(n,o,a)}catch(e){o.messages&&o.messages.push(e)}}function o(e){if(!e?.length)return"";const t=[];for(const r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[c(r,"amount")];break;case"blur":e=[c(r,"radius","pt")];break;case"hue-rotate":e=[c(r,"angle","deg")];break;case"drop-shadow":e=[c(r,"xoffset","pt"),c(r,"yoffset","pt"),c(r,"blurRadius","pt"),i(r,"color")];break;case"bloom":e=[c(r,"strength"),c(r,"radius","pt"),c(r,"threshold")]}const a=`${r.type}(${e.filter(Boolean).join(" ")})`;s(a),t.push(a)}return t.join(" ")}function c(t,s,r){if(null==t[s])throw new e("effect:missing-parameter",`Missing parameter '${s}' in ${t.type} effect`,{effect:t});return r?t[s]+r:""+t[s]}function i(t,s){if(null==t[s])throw new e("effect:missing-parameter",`Missing parameter '${s}' in ${t.type} effect`,{effect:t});const r=t[s];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}export{o as e,a as r,n as w}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{i as r}from"./jsxWidgetSupport.js";var e=function(r,o){for(var t=0,n=r.length;t<n;t++){var i=r[t];Array.isArray(i)?e(i,o):null!=i&&!1!==i&&(i.hasOwnProperty("vnodeSelector")||(i={vnodeSelector:"",properties:void 0,children:void 0,text:i.toString(),domNode:null}),o.push(i))}};function o(o,t,...n){return"function"!=typeof o||r(o)?function(r,o){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];if(1===t.length&&"string"==typeof t[0])return{vnodeSelector:r,properties:o||void 0,children:void 0,text:t[0],domNode:null};var i=[];return e(t,i),{vnodeSelector:r,properties:o||void 0,children:i,text:void 0,domNode:null}}(o,t,...n):o(t,...n)}function t(...r){return r}export{t as a,o as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{m as e}from"./handleUtils.js";const t=Symbol("widget"),r=Symbol("widget-test-data"),o=[],n={},i=new WeakMap;function d(e,t){let r=t.children;if(r?.length)for(let t=0;t<r.length;++t)r[t]=d(e,r[t]);else r=o;const i=t.vnodeSelector;if(l(i)){const o=t.properties||n,d=o.key||i;return{vnodeSelector:"div",properties:{key:d,afterCreate:a,afterUpdate:s,afterRemoved:c,parentWidget:e,widgetConstructor:i,widgetProperties:{...o,key:d,children:r}},children:void 0,text:void 0,domNode:null}}return t}function a(t,o,n,{parentWidget:d,widgetConstructor:a,widgetProperties:s}){const l=new a(s);l.container=t,i.set(t,l),l.afterCreate?.(l,t),d.addHandles(e((()=>c(t)))),queueMicrotask((()=>{l[r].projector.renderNow()}))}function s(e,t,r,{widgetProperties:o}){const n=i.get(e);n&&(n.set(o),n.afterUpdate?.(n,e))}function c(e){const t=i.get(e);t&&(t.afterRemoved?.(t,e),t.destroy(),i.delete(e))}function l(e){return"function"==typeof e&&e[t]}export{t as a,l as i,d as p,r as w}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{r as e}from"../core/lang.js";import{m as t,h as i}from"./handleUtils.js";import{g as o}from"./ensureType.js";import{p as r,V as s}from"./InputManager.js";const n={redo:"r",undo:"z",center:"Alt",constraint:"Shift",cancel:"Escape",delete:["Backspace","Delete"],complete:"Enter",vertexAdd:"f",pan:" "},a={toggle:"Control"},p={enterInputMode:"Tab",commit:"Enter",discard:"Escape",next:"Tab"},c={moveUp:{key:"ArrowUp",modifier:"Shift",repeats:!0},moveDown:{key:"ArrowDown",modifier:"Shift",repeats:!0},moveLeft:{key:"ArrowLeft",modifier:"Shift",repeats:!0},moveRight:{key:"ArrowRight",modifier:"Shift",repeats:!0},scaleUp:{key:"+",modifier:"Shift"},scaleDown:{key:"-",modifier:"Shift"},factorModifier:{key:r,continuePropagation:!0},toggleOpacity:"t",preserveAspectRatio:{key:"Shift",continuePropagation:!0},rotateIncrements:{key:"Shift",continuePropagation:!0},undo:"z",redo:"r"};class f{constructor(){this._bindings=new Map}add(e,t){return this.addToggle(e,(e=>{"key-down"===e.type&&t(e)}))}addToggle(i,r){const s=d.fromDefinition(i,r),n=o(this._bindings,s.key,(()=>[]));return n.push(s),t((()=>e(n,s)))}register(e,t=s.WIDGET){return i([e.on("key-down",(t=>this.dispatch(e.inputManager,t)),t),e.on("key-up",(t=>this.dispatch(e.inputManager,t)),t)])}dispatch(e,t){const i=t.key,o=this._bindings.get(i);if(o)for(const i of o)i.process(e,t)}}class d{constructor(e,t,i,o,r){this.key=e,this.modifiers=t,this.repeats=i,this.continuePropagation=o,this.callback=r}process(e,t){if(!(t.key!==this.key||"repeat"in t&&t.repeat&&!this.repeats)){for(const t of this.modifiers)if(!e.isModifierKeyDown(t))return;this.continuePropagation||t.stopPropagation(),this.callback(t)}}static fromDefinition(e,t){if("string"==typeof e)return new d(e,[],!1,!1,t);const{key:i,modifier:o,repeats:r,continuePropagation:s}=e;return new d(i,o?Array.isArray(o)?o:[o]:[],!!r,!!s,t)}}export{f as K,a,c as m,n as s,p as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../config.js";import{id as t}from"../kernel.js";import o from"../PopupTemplate.js";import r from"../request.js";import{clone as s}from"../core/lang.js";import{addQueryParameters as n}from"../core/urlUtils.js";import i from"../geometry/SpatialReference.js";import{c as a,n as f,b as l,d as u}from"./aaBoundingBox.js";import{a as m}from"./extentUtils.js";import{fromJSON as p}from"../renderers/support/jsonUtils.js";import y from"../rest/support/FeatureSet.js";const c={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function d(e){const t=e.folders||[],o=t.slice(),r=new Map,n=new Map,i=new Map,a=new Map,f=new Map,l={esriGeometryPoint:n,esriGeometryPolyline:i,esriGeometryPolygon:a};(e.featureCollection?.layers||[]).forEach((e=>{const t=s(e);t.featureSet.features=[];const o=e.featureSet.geometryType;r.set(o,t);const f=e.layerDefinition.objectIdField;"esriGeometryPoint"===o?h(n,f,e.featureSet.features):"esriGeometryPolyline"===o?h(i,f,e.featureSet.features):"esriGeometryPolygon"===o&&h(a,f,e.featureSet.features)})),e.groundOverlays&&e.groundOverlays.forEach((e=>{f.set(e.id,e)})),t.forEach((t=>{t.networkLinkIds.forEach((r=>{const s=function(e,t,o){const r=function(e,t){let o;return t.some((t=>t.id===e&&(o=t,!0))),o}(e,o);return r&&(r.parentFolderId=t,r.networkLink=r),r}(r,t.id,e.networkLinks);s&&o.push(s)}))})),o.forEach((e=>{if(e.featureInfos){e.points=s(r.get("esriGeometryPoint")),e.polylines=s(r.get("esriGeometryPolyline")),e.polygons=s(r.get("esriGeometryPolygon")),e.mapImages=[];for(const t of e.featureInfos)switch(t.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":{const o=l[t.type].get(t.id);o&&e[c[t.type]]?.featureSet.features.push(o);break}case"GroundOverlay":{const o=f.get(t.id);o&&e.mapImages.push(o);break}}e.fullExtent=P([e])}}));const u=P(o);return{folders:t,sublayers:o,extent:u}}function g(o,s,i,a){const f=t?.findCredential(o);o=n(o,{token:f?.token});const l=e.kmlServiceUrl;return r(l,{query:{url:o,model:"simple",folders:"",refresh:0!==i||void 0,outSR:JSON.stringify(s)},responseType:"json",signal:a})}function S(e,t,o=null,r=[]){const s=[],n={},i=t.sublayers,a=new Set(t.folders.map((e=>e.id)));return i.forEach((t=>{const i=new e;if(o?i.read(t,o):i.read(t),r.length&&a.has(i.id)&&(i.visible=r.includes(i.id)),n[t.id]=i,null!=t.parentFolderId&&-1!==t.parentFolderId){const e=n[t.parentFolderId];e.sublayers||(e.sublayers=[]),e.sublayers?.unshift(i)}else s.unshift(i)})),s}function h(e,t,o){o.forEach((o=>{e.set(o.attributes[t],o)}))}async function G(e){const t=y.fromJSON(e.featureSet).features,r=e.layerDefinition,s=p(r.drawingInfo.renderer),n=o.fromJSON(e.popupInfo),i=[];for(const e of t){const t=await s.getSymbolAsync(e);e.symbol=t,e.popupTemplate=n,e.visible=!0,i.push(e)}return i}function P(e){const t=a(f),o=a(f);for(const r of e){if(r.polygons?.featureSet?.features)for(const e of r.polygons.featureSet.features)m(t,e.geometry),l(o,t);if(r.polylines?.featureSet?.features)for(const e of r.polylines.featureSet.features)m(t,e.geometry),l(o,t);if(r.points?.featureSet?.features)for(const e of r.points.featureSet.features)m(t,e.geometry),l(o,t);if(r.mapImages)for(const e of r.mapImages)m(t,e.extent),l(o,t)}return u(o,f)?void 0:{xmin:o[0],ymin:o[1],zmin:o[2],xmax:o[3],ymax:o[4],zmax:o[5],spatialReference:i.WGS84}}export{P as c,g as f,G as g,d as p,S as s}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,11 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{d as o}from"./calcite-input-time-picker.js";import"../widgets/Widget.js";import"./tslib.es6.js";import"../intl.js";import"./date.js";import"./jsonMap.js";import"../config.js";import"../core/lang.js";import"./locale.js";import"./handleUtils.js";import"./timeZoneUtils.js";import"./datetime.js";import"./number.js";import"./substitute.js";import"./Logger.js";import"./messages.js";import"../core/Error.js";import"../core/promiseUtils.js";import"./maybe.js";import"../request.js";import"../kernel.js";import"../core/urlUtils.js";import"../core/JSONSupport.js";import"../core/Accessor.js";import"../core/Handles.js";import"../core/accessorSupport/decorators/subclass.js";import"./metadata.js";import"./utils.js";import"./tracking.js";import"./ensureType.js";import"../core/accessorSupport/decorators/property.js";import"./ObservableBase.js";import"../core/scheduling.js";import"./assets.js";import"./domUtils.js";import"../core/Evented.js";import"../core/Promise.js";import"../core/reactiveUtils.js";import"./asyncUtils.js";import"../core/Collection.js";import"./shared.js";import"./SimpleObservable.js";import"./uuid.js";import"../core/accessorSupport/decorators/cast.js";import"./projector.js";import"./widgetUtils.js";import"./jsxWidgetSupport.js";import"./form.js";import"./dom.js";import"./guid.js";import"./interactive.js";import"./key.js";import"./label2.js";import"./component.js";import"./loadable.js";import"./locale2.js";import"./observers.js";import"./focusTrapComponent.js";import"./t9n.js";import"./math.js";import"./icon.js";import"./openCloseComponent.js";import"./Validation.js";import"./action.js";import"./loader.js";import"./input-message.js";import"./input-text.js";import"./input.js";import"./progress.js";import"./popover.js";import"./floating-ui.js";import"./debounce.js";import"./Heading2.js";import"./FloatingArrow.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/ |
||||||
|
var t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(o){return o+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(o){return o<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};o.locale(t,null,!0);export{t as default}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{p as e,H as t,c as a,h as i,a as n}from"../widgets/Widget.js";import{a as l,l as s,b as o}from"./label2.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/const c=e(class extends t{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=e=>{this.calciteInternalLabelClick.emit({sourceEvent:e})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}handleForChange(){l(this.el)}connectedCallback(){document.dispatchEvent(new CustomEvent(s))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(o))}render(){return i(n,{key:"fc1ef6c0deb51a1cfb30b8efe5bb386bdb834380",onClick:this.labelClickHandler},i("div",{key:"23ac73d58f829394636f391ae5126332374e0857",class:"container"},i("slot",{key:"a2f2f7d660b6a3d31f14a027187e8f2d27fcb611"})))}get el(){return this}static get watchers(){return{for:["handleForChange"]}}static get style(){return":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}"}},[1,"calcite-label",{alignment:[513],for:[513],scale:[513],layout:[513]},void 0,{for:["handleForChange"]}]);function r(){"undefined"!=typeof customElements&&["calcite-label"].forEach((e=>{"calcite-label"===e&&(customElements.get(e)||customElements.define(e,c))}))}r();export{c as L,r as d}; |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{i as e,q as t,a as n}from"./dom.js";import{c as l}from"./component.js"; |
||||||
|
/*! |
||||||
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
||||||
|
* v2.8.5 |
||||||
|
*/const s="calciteInternalLabelClick",a="calciteInternalLabelConnected",o="calciteInternalLabelDisconnected",i="calcite-label",r=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,m=new Set,f=e=>{const{id:l}=e,s=l&&t(e,{selector:`${i}[for="${l}"]`});if(s)return s;const a=n(e,i);return!a||function(e,t){let n;const l="custom-element-ancestor-check",s=l=>{l.stopImmediatePropagation();const s=l.composedPath();n=s.slice(s.indexOf(t),s.indexOf(e))};return e.addEventListener(l,s,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,s),n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function b(e){if(!e)return;const t=f(e.el);if(c.has(t)&&t===e.labelEl||!t&&m.has(e))return;const n=L.bind(e);if(t){e.labelEl=t;const l=r.get(t)||[];l.push(e),r.set(t,l.sort(h)),c.has(e.labelEl)||(c.set(e.labelEl,g),e.labelEl.addEventListener(s,g)),m.delete(e),document.removeEventListener(a,d.get(e)),u.set(e,n),document.addEventListener(o,n)}else m.has(e)||(n(),document.removeEventListener(o,u.get(e)))}function E(e){if(!e)return;if(m.delete(e),document.removeEventListener(a,d.get(e)),document.removeEventListener(o,u.get(e)),d.delete(e),u.delete(e),!e.labelEl)return;const t=r.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(s,c.get(e.labelEl)),c.delete(e.labelEl)),r.set(e.labelEl,t.filter((t=>t!==e)).sort(h)),e.labelEl=null}function h(t,n){return e(t.el,n.el)?-1:1}function v(e){return e.label||e.labelEl?.textContent?.trim()||""}function g(e){const t=e.detail.sourceEvent.target,n=r.get(this),l=n.find((e=>e.el===t));if(n.includes(l))return;const s=n[0];s.disabled||s.onLabelClick(e)}function p(){m.has(this)&&b(this)}function L(){m.add(this);const e=d.get(this)||p.bind(this);d.set(this,e),document.addEventListener(a,e)}async function k(e){if(await l(e),r.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of m)if(e.el===t){b(e);break}}))}export{k as a,o as b,b as c,E as d,v as g,a as l}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../core/Error.js";import{L as r}from"./Logger.js";import{parseWhereClause as t}from"../core/sql.js";import{f as a,c as n}from"./date.js";import{f as o}from"./number.js";import{c as s,g as l,isDateField as u,isNumericField as i}from"../layers/support/fieldUtils.js";import{g as c,a as f}from"./labelUtils.js";const p=()=>r.getLogger("esri.layers.support.labelFormatUtils"),m={type:"simple",evaluate:()=>null},d={getAttribute:(e,r)=>e.field(r)};async function g(r,a,n){if(!r||!r.symbol||!a)return m;const o=r.where,l=c(r);let u;if("arcade"===l.type){const r=await s(l.expression,n,a);if(null==r)return m;u={type:"arcade",evaluate(t,a){try{const e="attributes"in t?r.repurposeFeature(t):t;e.contextTimeZone=a??null;const n=r.evaluate({$view:{timeZone:a},$feature:e},r.services);if(null!=n)return n.toString()}catch(r){p().error(new e("arcade-expression-error","Encountered an error when evaluating label expression for feature",{error:r,feature:t,expression:l}))}return null},needsHydrationToEvaluate:()=>null==f(l.expression)}}else u={type:"simple",evaluate:e=>l.expression.replaceAll(/{[^}]*}/g,(r=>{const t=r.slice(1,-1),n=a.get(t);if(!n)return r;let o=null;return"attributes"in e?e&&e.attributes&&(o=e.attributes[n.name]):o=e.field(n.name),null==o?"":w(o,n)}))};if(o){let r;try{r=await t(o,a)}catch(r){return p().error(new e("bad-where-clause","Encountered an error when evaluating where clause, ignoring",{where:o,error:r})),m}const n=u.evaluate;u.evaluate=(t,a)=>{const s="attributes"in t?void 0:d;try{if(r.testFeature(t,s))return n(t,a)}catch(r){p().error(new e("bad-where-clause","Encountered an error when evaluating where clause for feature",{where:o,feature:t,error:r}))}return null}}return u}function w(e,r){if(null==e)return"";const t=r.domain;if(t)if("codedValue"===t.type||"coded-value"===t.type){const r=e;for(const e of t.codedValues)if(e.code===r)return e.name}else if("range"===t.type){const{max:a,min:n}=l(r),o=+e;if(null!=n&&null!=a&&n<=o&&o<=a)return t.name}let s=e;return u(r)?s=a(s,n("short-date")):i(r)&&(s=o(+s)),s||""}export{g as c,w as f}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{r as e}from"./Logger.js";const n="__begin__",s="__end__",r=new RegExp(n,"ig"),t=new RegExp(s,"ig"),l=new RegExp("^"+n,"i"),a=new RegExp(s+"$","i"),o='"',i=o+" + ",p=" + "+o;function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function u(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function x(e){const n={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(n.expression=e.labelExpressionInfo.value,n.type="conventional"):e.labelExpressionInfo.expression&&(n.expression=e.labelExpressionInfo.expression,n.type="arcade"):null!=e.labelExpression&&(n.expression=c(e.labelExpression),n.type="conventional"),n}function f(e){const n=x(e);if(!n)return null;switch(n.type){case"conventional":return E(n.expression);case"arcade":return n.expression}return null}function g(e){const n=x(e);if(!n)return null;switch(n.type){case"conventional":return function(e){const n=e?.match(w);return n?.[1].trim()||null}(n.expression);case"arcade":return R(n.expression)}return null}function E(c){let u;return c?(u=e(c,(e=>n+'$feature["'+e+'"]'+s)),u=l.test(u)?u.replace(l,""):o+u,u=a.test(u)?u.replace(a,""):u+o,u=u.replaceAll(r,i).replaceAll(t,p)):u='""',u}const w=/^\s*\{([^}]+)\}\s*$/i,$=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,m=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function R(e){if(!e)return null;let n=$.exec(e)||b.exec(e);return n?n[1]||n[3]:(n=m.exec(e),n?n[2]:null)}export{R as a,f as b,E as c,g as d,x as g,c as s,u as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import e from"../core/Error.js";import{L as r}from"./Logger.js";import o from"../layers/support/LabelClass.js";const t=()=>r.getLogger("esri.layers.support.labelingInfo"),n=/\[([^[\]]+)\]/gi;function l(e,r,t){return e?e.map((e=>{const l=new o;if(l.read(e,t),l.labelExpression){const e=r.fields||r.layerDefinition?.fields||this.fields;l.labelExpression=l.labelExpression.replaceAll(n,((r,o)=>`[${function(e,r){if(!r)return e;const o=e.toLowerCase();for(let e=0;e<r.length;e++){const t=r[e].name;if(t.toLowerCase()===o)return t}return e}(o,e)}]`))}return l})):null}const s={esriGeometryPoint:["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:null,esriGeometryEnvelope:null};function i(r,o){const n=[];for(const l of r){const r=l.labelPlacement,i=s[o];if(!l.symbol)return t().warn("No ILabelClass symbol specified."),[];if(!i)return t().error(new e("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${o}' is not supported`)),[];if(i.includes(r))n.push(l);else{const e=i[0];r&&t().warn(`Found invalid label placement type ${r} for ${o}. Defaulting to ${e}`);const s=l.clone();s.labelPlacement=e,n.push(s)}}return n}export{l as r,i as v}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const a=["operational-layers","basemap","ground"];export{a as e}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const i=10,n=2;function e({exclusive:i,visible:n,visibilityAppearance:e}){const t="checkbox"===e;return n?i?"circle-f":t?"check-square-f":"view-visible":i?"circle":t?"square":"view-hide"}function t({connectionStatus:i,publishing:n}){return i?"connected"===i?"beacon":"offline":n?"square":"bullet-point"}function r(i){return"hide-children"===i?.listMode}function s(i){return i?.listMode??void 0}function a(i){if(!i)return"inherited";const n=function(i){const n=p(i);return null!=n&&"supportsSublayerVisibility"in n?n.supportsSublayerVisibility:void 0}(f(i)?i.layer:i);return null!=n?n?"independent":"inherited":"visibilityMode"in i&&null!=i.visibilityMode?i.visibilityMode:"independent"}function l(i){if(i&&(!("type"in i)||"wmts"!==i.type))return"sublayers"in i?"sublayers":"layers"in i?"layers":void 0}function u(i){const n=(i?.layer&&f(i.layer)?i.layer.layer:void 0)??i?.layer;return!!n&&"catalog"!==n.type&&(function(i){const n=p(i);return null!=n&&"supportsDynamicLayers"in n?n.supportsDynamicLayers:void 0}(n)??!0)}function o(i){return"hide"!==s(i)}function c(i,n){i?.sort(((i,e)=>{const t="uid"in i?n.indexOf(i.uid):-1,r="uid"in e?n.indexOf(e.uid):-1;return t>r?-1:t<r?1:0}))}function y(i,n){const e=i?.layer;if(!e)return;const t=l(e);if(!t)return;let r;"layers"===t&&"layers"in e?r=e.layers:"sublayers"===t&&"sublayers"in e&&(r=e.sublayers),c(r,n)}function d(i){const n=i?.layer;return n&&"layers"in n?n.layers:null}function f(i){return null!=i&&"layer"in i&&null!=i.layer}function p(i){return i&&"capabilities"in i&&null!=i.capabilities&&"exportMap"in i.capabilities?i.capabilities.exportMap:void 0}function b(i){return i?.["data-item"]}function v(i){return i?.getAttribute("data-layer-type")}function h({children:i,error:n,incompatible:e}){return!!i?.filter((i=>!i.hidden)).length&&!n&&!e}export{a,l as b,o as c,b as d,v as e,s as f,d as g,t as h,f as i,y as j,r as k,h as l,i as m,u as n,e as o,n as p,c as s}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
function e(e,r,n){if(!r||!e?.map)return;const{map:s}=e,a=s.layers.find((e=>e===r));a||s.add(r,n),a&&null!=n&&s.layers.reorder(a,n)}function r(e,r){const n="subtype-sublayer"===r?.type?r.parent:r;return e.allLayerViews.find((e=>{const r=e.layer;return r===n||"sublayers"in r&&null!=r.sublayers&&r.sublayers.includes(n)}))}export{e as a,r as f}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{id as e}from"../kernel.js";import t from"../request.js";function n(e){return l(e)||function(e){return"scene"===e?.type}(e)}function r(e){return null!=e&&"object"==typeof e&&"type"in e&&"feature"===e.type}function s(e){return null!=e&&"object"==typeof e&&"type"in e&&"graphics"===e.type}function i(e){return null!=e&&"object"==typeof e&&"type"in e&&"map-notes"===e.type&&"sublayers"in e}function a(e){return null!=e&&"object"==typeof e&&"type"in e&&"knowledge-graph"===e.type&&"layers"in e}function u(e){return null!=e&&"object"==typeof e&&"type"in e&&"link-chart"===e.type&&"layers"in e}function o(e){return null!=e&&"object"==typeof e&&"type"in e&&"subtype-group"===e.type&&"sublayers"in e}function c(e){return"subtype-sublayer"===e?.type}function l(e){const t=e?.type;return"imagery-tile"===t||"tile"===t||"open-street-map"===t||"vector-tile"===t||"web-tile"===t||"wmts"===t}function f(e){const t=e?.type;return"base-tile"===t||"tile"===t||"elevation"===t||"imagery-tile"===t||"base-elevation"===t||"open-street-map"===t||"wcs"===t||"web-tile"===t||"wmts"===t||"vector-tile"===t}function y(e){return null!=e&&"type"in e&&"group"===e.type}const p={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function g(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function b(e){return"IntegratedMeshLayer"===e||"IntegratedMesh3DTilesLayer"===e}function d(e){return"integrated-mesh"===e||"integrated-mesh-3dtiles"===e}function m(e){return"voxel"===e?.type}function h(e){return"imagery-tile"===e?.type}function v(e){return null!=e?.parent&&"declaredClass"in e.parent&&"esri.Basemap"===e.parent.declaredClass&&e.parent.baseLayers.includes(e)}function j(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function w(e){return("feature"===e?.type||"subtype-group"===e?.type)&&"feature-layer"===e.source?.type}function L(e){const t=/[:;]/,n=[];let r=!1;if(e&&(e.forEach(((e,s)=>{n.push([s,e]),!r&&t.test(e)&&(r=!0)})),n.length>0)){let e;if(r){const t={};n.forEach((e=>{t[e[0]]=e[1]})),e=JSON.stringify(t)}else{const t=[];n.forEach((e=>{t.push(e[0]+":"+e[1])})),e=t.join(";")}return e}return null}function E(e){if(!e)return;const t=[];return e.forEach(((e,n)=>{t.push('"'+n+'":'+JSON.stringify(e))})),t.length?"{"+t.join(",")+"}":void 0}function S(e){if(e.activeLayer){const t=e.activeLayer.tileMatrixSet;if(t)return t;const n=e.activeLayer.tileMatrixSets;if(n)return n}return null}async function C(n,r){const s=e?.findServerInfo(n);if(null!=s?.currentVersion)return s.owningSystemUrl||null;const i=n.toLowerCase().indexOf("/rest/services");if(-1===i)return null;const a=`${n.substring(0,i)}/rest/info`,u=null!=r?r.signal:null,{data:o}=await t(a,{query:{f:"json"},responseType:"json",signal:u});return o?.owningSystemUrl||null}function x(e){return null!=e&&"object"==typeof e&&"isTable"in e&&!!e.isTable}function M(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function k(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}export{m as A,r as a,a as b,u as c,i as d,s as e,C as f,M as g,k as h,j as i,d as j,w as k,S as l,g as m,L as n,E as o,f as p,n as q,l as r,p as s,x as t,o as u,c as v,b as w,y as x,v as y,h as z}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
function n(n){return n&&"function"==typeof n.highlight}function e(n){return n&&"function"==typeof n.maskOccludee}function t(n,e,t){return null==n||n>=t&&(0===e||n<=e)}function u(n,e){if(e&&n){const{minScale:u,maxScale:r}=n;if(i(u,r))return t(e,u,r)}return!0}function i(n,e){return null!=n&&n>0||null!=e&&e>0}function r(n){return!n?.minScale||!n.maxScale||n.minScale>=n.maxScale}function a(n){return null!=n&&"object"==typeof n&&"createQuery"in n&&"queryFeatures"in n&&"layer"in n&&"view"in n}export{i as a,u as b,n as h,a as i,e as o,t as s,r as v}; |
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{J as a}from"./jsonMap.js";const t=new a({PDF:"pdf",PNG32:"png32",PNG8:"png8",JPG:"jpg",GIF:"gif",EPS:"eps",SVG:"svg",SVGZ:"svgz"}),r=t.fromJSON.bind(t),n=t.toJSON.bind(t),s=new a({MAP_ONLY:"map-only","A3 Landscape":"a3-landscape","A3 Portrait":"a3-portrait","A4 Landscape":"a4-landscape","A4 Portrait":"a4-portrait","Letter ANSI A Landscape":"letter-ansi-a-landscape","Letter ANSI A Portrait":"letter-ansi-a-portrait","Tabloid ANSI B Landscape":"tabloid-ansi-b-landscape","Tabloid ANSI B Portrait":"tabloid-ansi-b-portrait"}),i=s.fromJSON.bind(s),o=s.toJSON.bind(s);export{i as a,o as b,r as f,n as t}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const a={BingMapsLayer:async()=>(await import("../layers/BingMapsLayer.js")).default,BuildingSceneLayer:async()=>(await import("../layers/BuildingSceneLayer.js")).default,CSVLayer:async()=>(await import("../layers/CSVLayer.js")).default,CatalogLayer:async()=>(await import("../layers/CatalogLayer.js")).default,DimensionLayer:async()=>(await import("../layers/DimensionLayer.js")).default,ElevationLayer:async()=>(await import("../layers/ElevationLayer.js")).default,FeatureLayer:async()=>(await import("../layers/FeatureLayer.js")).default,GeoJSONLayer:async()=>(await import("../layers/GeoJSONLayer.js")).default,GeoRSSLayer:async()=>(await import("../layers/GeoRSSLayer.js")).default,GroupLayer:async()=>(await import("../layers/GroupLayer.js")).default,ImageryLayer:async()=>(await import("../layers/ImageryLayer.js")).default,ImageryTileLayer:async()=>(await import("../layers/ImageryTileLayer.js").then((a=>a.I))).default,IntegratedMesh3DTilesLayer:async()=>(await import("../layers/IntegratedMesh3DTilesLayer.js")).default,IntegratedMeshLayer:async()=>(await import("../layers/IntegratedMeshLayer.js")).default,KMLLayer:async()=>(await import("../layers/KMLLayer.js")).default,KnowledgeGraphLayer:async()=>(await import("../layers/KnowledgeGraphLayer.js")).default,LineOfSightLayer:async()=>(await import("../layers/LineOfSightLayer.js")).default,LinkChartLayer:async()=>(await import("./LinkChartLayer.js")).default,MapImageLayer:async()=>(await import("../layers/MapImageLayer.js")).default,MapNotesLayer:async()=>(await import("../layers/MapNotesLayer.js")).default,MediaLayer:async()=>(await import("../layers/MediaLayer.js")).default,OGCFeatureLayer:async()=>(await import("../layers/OGCFeatureLayer.js")).default,OpenStreetMapLayer:async()=>(await import("../layers/OpenStreetMapLayer.js")).default,OrientedImageryLayer:async()=>(await import("../layers/OrientedImageryLayer.js").then((a=>a.O))).default,PointCloudLayer:async()=>(await import("../layers/PointCloudLayer.js")).default,RouteLayer:async()=>(await import("../layers/RouteLayer.js")).default,SceneLayer:async()=>(await import("../layers/SceneLayer.js")).default,StreamLayer:async()=>(await import("../layers/StreamLayer.js")).default,SubtypeGroupLayer:async()=>(await import("../layers/SubtypeGroupLayer.js")).default,TileLayer:async()=>(await import("../layers/TileLayer.js")).default,UnknownLayer:async()=>(await import("../layers/UnknownLayer.js")).default,UnsupportedLayer:async()=>(await import("../layers/UnsupportedLayer.js")).default,VectorTileLayer:async()=>(await import("../layers/VectorTileLayer.js")).default,VideoLayer:async()=>(await import("../layers/VideoLayer.js")).default,VoxelLayer:async()=>(await import("../layers/VoxelLayer.js")).default,WFSLayer:async()=>(await import("../layers/WFSLayer.js")).default,WMSLayer:async()=>(await import("../layers/WMSLayer.js")).default,WMTSLayer:async()=>(await import("../layers/WMTSLayer.js")).default,WebTileLayer:async()=>(await import("../layers/WebTileLayer.js").then((a=>a.a))).default};export{a as l}; |
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
const i={checkMark:"esri-icon-check-mark",close:"esri-icon-close",collapse:"esri-icon-collapse",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",handleVertical:"esri-icon-handle-vertical",icon:"esri-icon",left:"esri-icon-left",loadingIndicator:"esri-icon-loading-indicator",locateCircled:"esri-icon-locate-circled",minus:"esri-icon-minus",noticeTriangle:"esri-icon-notice-triangle",pause:"esri-icon-pause",play:"esri-icon-play",plus:"esri-icon-plus",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",search:"esri-icon-search",swap:"esri-icon-swap",table:"esri-icon-table",trash:"esri-icon-trash",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomToObject:"esri-icon-zoom-to-object"};export{i as l}; |
||||||
@ -0,0 +1,5 @@ |
|||||||
|
/* |
||||||
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified. |
||||||
|
See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
||||||
|
*/ |
||||||
|
import{l as e,q as s,h as t}from"./unitUtils.js";const m={unknown:1,inches:e(1,"meters","inches"),feet:e(1,"meters","feet"),"us-feet":e(1,"meters","us-feet"),yards:e(1,"meters","yards"),miles:e(1,"meters","miles"),"nautical-miles":e(1,"meters","nautical-miles"),millimeters:e(1,"meters","millimeters"),centimeters:e(1,"meters","centimeters"),decimeters:e(1,"meters","decimeters"),meters:e(1,"meters","meters"),kilometers:e(1,"meters","kilometers"),"decimal-degrees":1/s(1,"meters",t.radius)};export{m}; |
||||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue