@arcgis/core 5.2.0-next.81 → 5.2.0-next.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{88d6a7ebded4d359deb0.js → 027af54888befb209aaa.js} +1 -1
- package/assets/esri/core/workers/chunks/{694216224d5fd3a8956d.js → 04f5ff688785a4bd3b03.js} +1 -1
- package/assets/esri/core/workers/chunks/{578904043e873424904c.js → 0d982abff7c9496f7890.js} +1 -1
- package/assets/esri/core/workers/chunks/{3adba34224cba869a39c.js → 10ac92dcd3738ec23dfb.js} +1 -1
- package/assets/esri/core/workers/chunks/{4a537054c99cbc492715.js → 11d911f70bf0ca252c19.js} +1 -1
- package/assets/esri/core/workers/chunks/{2f3525df00fb265661fc.js → 1352b5c6767e5421bc02.js} +1 -1
- package/assets/esri/core/workers/chunks/1354b8442c2c501238f1.js +1 -0
- package/assets/esri/core/workers/chunks/{8cfe817299eb16cb2664.js → 1438f571f738e83b4d1c.js} +1 -1
- package/assets/esri/core/workers/chunks/{efd176c5ac35f313e7a2.js → 14469f664fd5ede469fc.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfd532e33800755b1f48.js → 14511c92cbbc26d80c86.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb0b2f4ec0ba458ddeb.js → 19dac19122eeeb5e36b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{f71a3fe5f30aa782193a.js → 20db27d9828397d0b37a.js} +1 -1
- package/assets/esri/core/workers/chunks/{b3081c0b037abc49d09b.js → 26c12804a0d801df29bf.js} +1 -1
- package/assets/esri/core/workers/chunks/{8006ffa263fb8016afdb.js → 26c8ed0aef59ed6d5267.js} +1 -1
- package/assets/esri/core/workers/chunks/2d1c0d80a9843567df8d.js +1 -0
- package/assets/esri/core/workers/chunks/{2b79b376b0d60d2f0d5c.js → 2d6e1bf7c1981bed4357.js} +1 -1
- package/assets/esri/core/workers/chunks/{7028671ffdaafe2725bc.js → 33aaa5a49e396a0aca47.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1baf17f3219f70106f7.js → 34f6093d2c00e3584037.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfac0f47e81055585002.js → 3f0625c31dd46b563160.js} +1 -1
- package/assets/esri/core/workers/chunks/{9a5894e8ebdf0e97b98f.js → 43122c435497228a7583.js} +1 -1
- package/assets/esri/core/workers/chunks/{8fff4a41a54d39db470a.js → 44d13f65465646e5f6e9.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c17bfbfc347ac289b6e.js → 463b7952a4825541eb13.js} +1 -1
- package/assets/esri/core/workers/chunks/{540a3685e614bb006744.js → 469e72ab6cd44272f474.js} +1 -1
- package/assets/esri/core/workers/chunks/{1ed6a8bb415999c4e8a6.js → 4cf2c33494cb75942511.js} +1 -1
- package/assets/esri/core/workers/chunks/{6c372d85b5783dd2a793.js → 52042fd36f4a572938f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{d8b38c196b06e801c4e6.js → 563a4d6788ad66b676e4.js} +1 -1
- package/assets/esri/core/workers/chunks/598221c7054415b84904.js +1 -0
- package/assets/esri/core/workers/chunks/{89df303abcbc0167e4d2.js → 5a006ff759fad9fc25cb.js} +1 -1
- package/assets/esri/core/workers/chunks/{40ebe69b08ea54e0e780.js → 5b60fc95757b2a53558a.js} +1 -1
- package/assets/esri/core/workers/chunks/{c336f300fe6100e36592.js → 5c634b3e6dc76299b1df.js} +1 -1
- package/assets/esri/core/workers/chunks/{5a67bd724aa7fcdebe16.js → 5d30accf1dcda0c70f95.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d16d53643dd8d489c25.js → 605da92d28e067f4a4c6.js} +1 -1
- package/assets/esri/core/workers/chunks/{5c9a398e659ecd427fb5.js → 657528eb6a3d3b3cb631.js} +1 -1
- package/assets/esri/core/workers/chunks/{d845f2115848b56c0369.js → 66292e98b4111ea3658d.js} +1 -1
- package/assets/esri/core/workers/chunks/{f57e5e7d0748d9a370f7.js → 680496660b2aaa710099.js} +1 -1
- package/assets/esri/core/workers/chunks/6c389e9646a48c26da20.js +2 -0
- package/assets/esri/core/workers/chunks/{fbcc346fa603d6edac98.js → 6db4a4f9a9ce7cc738d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{a9e944f28bd573c8230d.js → 6eb28086dc28f6d144ec.js} +1 -1
- package/assets/esri/core/workers/chunks/7bd8ebb321ecf1f06496.js +1 -0
- package/assets/esri/core/workers/chunks/{d0aaa4ad7f76f577f117.js → 7d5877eede2f552dea9f.js} +1 -1
- package/assets/esri/core/workers/chunks/{bf5831a7c12b1e42c669.js → 83a77d3f45c8c21cec45.js} +1 -1
- package/assets/esri/core/workers/chunks/{dcec7fc66385c12ecdf0.js → 865f9adc591056458b6b.js} +1 -1
- package/assets/esri/core/workers/chunks/{d62a5a33a24418a3e283.js → 88771a75adcbd54c4fac.js} +1 -1
- package/assets/esri/core/workers/chunks/{37fb38db03cb39e3c342.js → 8c6a60d96c73982febd2.js} +1 -1
- package/assets/esri/core/workers/chunks/{6065caa7981cef255277.js → 911f3a1b8dd4bc5c9782.js} +1 -1
- package/assets/esri/core/workers/chunks/{70c371c9f133ab9f7925.js → 918577ea025f67ebe372.js} +1 -1
- package/assets/esri/core/workers/chunks/99966339b061eb9945b8.js +1 -0
- package/assets/esri/core/workers/chunks/{9bd4cda90daf90189bfc.js → a2fd945659ce052f99d2.js} +1 -1
- package/assets/esri/core/workers/chunks/{74cd17aca5f7e0caac90.js → a9a1061cdf82b372835f.js} +1 -1
- package/assets/esri/core/workers/chunks/ab10388dcc17a665ac3b.js +2 -0
- package/assets/esri/core/workers/chunks/ac9a3dfd02160e43fc8a.js +2 -0
- package/assets/esri/core/workers/chunks/{82da6d98bd4980a3d454.js → af88f8dd1a53e4740aa6.js} +1 -1
- package/assets/esri/core/workers/chunks/{d2448e26e19005ef9ab2.js → b09e9ac5fd928e69b053.js} +1 -1
- package/assets/esri/core/workers/chunks/{61190c833791f0833a39.js → b7bcc2d0b0fa8e703c83.js} +1 -1
- package/assets/esri/core/workers/chunks/{37a121316d114999ac70.js → ba67aaa08e4f11e1140a.js} +1 -1
- package/assets/esri/core/workers/chunks/{5d50a030bf9f4e94f69d.js → bbeb61d9302323bae9fb.js} +1 -1
- package/assets/esri/core/workers/chunks/{dbca32f0e0c2c2e2ccf3.js → bd1c870694edd25bf8aa.js} +1 -1
- package/assets/esri/core/workers/chunks/c1f125594e684c1b4ffc.js +1 -0
- package/assets/esri/core/workers/chunks/{d4b78d11a5ce4320a29a.js → c456abf5ee2a1ad5cc5b.js} +1 -1
- package/assets/esri/core/workers/chunks/{61312d3b5477ed9d87d9.js → c61e94806b37ca3dd549.js} +2 -2
- package/assets/esri/core/workers/chunks/{e72fa08b0bd324514a0e.js → c8d83f71326222b98608.js} +1 -1
- package/assets/esri/core/workers/chunks/{09f0805b32e6cab980e6.js → cc1a00694cc9f7c606d6.js} +1 -1
- package/assets/esri/core/workers/chunks/{e8a9a686a3c23afc9d1f.js → cdd4aeaa3f30bc4ea93a.js} +1 -1
- package/assets/esri/core/workers/chunks/{eca0736953a20cfc64ad.js → d0c8630177d3a4e316f1.js} +2 -2
- package/assets/esri/core/workers/chunks/{bc30c0de6dcb106b24a1.js → da233362b06b6db375f1.js} +1 -1
- package/assets/esri/core/workers/chunks/{ce81f29134ab3971bd54.js → dd91824692bec809909c.js} +1 -1
- package/assets/esri/core/workers/chunks/{f9e9e79f78be32e5d475.js → e706c37b44e98fbcb5f7.js} +1 -1
- package/assets/esri/core/workers/chunks/{856dba96332509fb1d7a.js → ead4143d811aab610e00.js} +2 -2
- package/assets/esri/core/workers/chunks/ef269dd559c1c79957e5.js +1 -0
- package/assets/esri/core/workers/chunks/{4a6158994a8cc8b8664f.js → f0692e10af5983f6ad93.js} +1 -1
- package/assets/esri/core/workers/chunks/{fae32c9ce811934b6a64.js → f248131df4eaa5291623.js} +1 -1
- package/assets/esri/core/workers/chunks/{4c15551e33a3c6cda61d.js → f762f0f6c83748d8e328.js} +1 -1
- package/assets/esri/core/workers/chunks/{4eaa93859ceec1b38530.js → fa29b5064d6626cfc019.js} +1 -1
- package/assets/esri/core/workers/chunks/{a3cbd3e983e21f40b253.js → faf14281a74a06fa1f30.js} +1 -1
- package/assets/esri/core/workers/chunks/fcf7299e2ee904ab9882.js +1 -0
- package/assets/esri/core/workers/chunks/{388b71211a0ad5cbd6b9.js → fe06cc2f90b2d551e4c1.js} +1 -1
- package/assets/esri/core/workers/chunks/{86035e46777ed896c658.js → ffad5fd9c5e98f4fe2c3.js} +1 -1
- package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
- package/chunks/Bufferer-CclWhXVb.js +1 -1
- package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
- package/chunks/EmissionComposite.glsl.js +7 -1
- package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
- package/chunks/GeodeticUtils.js +1 -1
- package/chunks/GeographicTransformation.js +2 -0
- package/chunks/Geometry.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorCrosses.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorGraphicBuffer.js +1 -1
- package/chunks/OperatorIntegrate.js +1 -1
- package/chunks/OperatorIntersects.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorOverlaps.js +1 -1
- package/chunks/OperatorProximity.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/OperatorSimplifyOGC.js +1 -1
- package/chunks/OperatorTouches.js +1 -1
- package/chunks/OperatorWithin.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/ProjectionTransformation.js +1 -1
- package/chunks/SideCalculator2D-DX0718xq.js +1 -1
- package/chunks/UnitFactory.js +1 -1
- package/chunks/containsOperator.js +1 -1
- package/chunks/disjointOperator.js +1 -1
- package/chunks/equalsOperator.js +1 -1
- package/chunks/pe-wasm.js +1 -1
- package/chunks/relateOperator.js +1 -1
- package/config.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorBuffer.js +1 -1
- package/geometry/operators/gx/operatorDifference.js +1 -1
- package/geometry/operators/gx/operatorIntersection.js +1 -1
- package/geometry/operators/gx/operatorLabelPoint.js +1 -1
- package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
- package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
- package/geometry/operators/gx/operatorSimplify.js +1 -1
- package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
- package/geometry/operators/gx/operatorUnion.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/support/GeographicTransformation.d.ts +7 -0
- package/geometry/operators/support/GeographicTransformation.js +1 -1
- package/geometry/operators/support/GeographicTransformationStep.d.ts +7 -1
- package/geometry/operators/support/GeographicTransformationStep.js +1 -1
- package/geometry/operators/support/geographicTransformationUtils.d.ts +13 -2
- package/geometry/operators/support/geographicTransformationUtils.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/operators/support/projectionTransformation.js +1 -1
- package/kernel.js +1 -1
- package/layers/raster/types.d.ts +1 -1
- package/layers/support/AggregateField.d.ts +9 -3
- package/layers/support/FeatureReductionCluster.d.ts +16 -6
- package/layers/support/I3SExtractChanges.js +2 -0
- package/package.json +3 -3
- package/renderers/support/AuthoringInfo.d.ts +8 -3
- package/support/revision.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightDrawToolRenderer.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightEditTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightInteractionVisuals.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SOverrides.js +1 -1
- package/views/3d/support/PBFDecoder.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
- package/views/MapView.d.ts +0 -60
- package/views/View2D.d.ts +59 -1
- package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
- package/widgets/Legend/support/sizeRampUtils.js +1 -1
- package/widgets/Legend/support/utils.js +1 -1
- package/assets/esri/core/workers/chunks/453c69879f4b82ba13a1.js +0 -1
- package/assets/esri/core/workers/chunks/9234a293d61e134f121f.js +0 -1
- package/assets/esri/core/workers/chunks/95b9eaf7a49eeb17e62f.js +0 -1
- package/assets/esri/core/workers/chunks/973440553c9e058b0132.js +0 -1
- package/assets/esri/core/workers/chunks/c5853fbb975e169c44c5.js +0 -1
- package/assets/esri/core/workers/chunks/e2473de49189d93714d3.js +0 -1
- package/assets/esri/core/workers/chunks/e63f94c8097555b266ad.js +0 -2
- package/assets/esri/core/workers/chunks/f2d99f693a590f384315.js +0 -1
- package/assets/esri/core/workers/chunks/fc2234e0d202631f3abf.js +0 -2
- package/assets/esri/core/workers/chunks/fcb943c3b31b1bf62e65.js +0 -2
- /package/assets/esri/core/workers/chunks/{61312d3b5477ed9d87d9.js.LICENSE.txt → 6c389e9646a48c26da20.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{e63f94c8097555b266ad.js.LICENSE.txt → ab10388dcc17a665ac3b.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{fc2234e0d202631f3abf.js.LICENSE.txt → ac9a3dfd02160e43fc8a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{fcb943c3b31b1bf62e65.js.LICENSE.txt → c61e94806b37ca3dd549.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{eca0736953a20cfc64ad.js.LICENSE.txt → d0c8630177d3a4e316f1.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{856dba96332509fb1d7a.js.LICENSE.txt → ead4143d811aab610e00.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{U as e}from"./UnitFactory.js";import{getSpatialReference as t,fromGeometry as r,fromSpatialReference as o}from"../geometry/operators/support/apiConverter.js";const s=new e;function a(e){const a=t(e);return s.accelerateGeometry(r(e),o(a),1)}function n(e,t){return s.execute(r(e),r(t),o(e.spatialReference),null)}const c=s.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:a,execute:n,supportsCurves:c},Symbol.toStringTag,{value:"Module"}));export{a,u as c,n as e,c as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{V as e}from"./UnitFactory.js";import{getSpatialReference as t,fromGeometry as r,fromSpatialReference as o}from"../geometry/operators/support/apiConverter.js";const s=new e;function a(e){const a=t(e);return s.accelerateGeometry(r(e),o(a),1)}function n(e,t){return s.execute(r(e),r(t),o(e.spatialReference))}const c=s.supportsCurves(),p=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:a,execute:n,supportsCurves:c},Symbol.toStringTag,{value:"Module"}));export{a,p as d,n as e,c as s};
|
package/chunks/equalsOperator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{W as e,X as t}from"./UnitFactory.js";import{getSpatialReference as r,fromGeometry as o,fromSpatialReference as s}from"../geometry/operators/support/apiConverter.js";class a extends e{getOperatorType(){return 2}execute(e,r,o,s){return t(e,r,o,3,s)}}const n=new a;function u(e){const t=r(e);return n.accelerateGeometry(o(e),s(t),1)}function c(e,t){return n.execute(o(e),o(t),s(e.spatialReference),null)}const p=n.supportsCurves(),l=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:u,execute:c,supportsCurves:p},Symbol.toStringTag,{value:"Module"}));export{u as a,c as b,l as e,p as s};
|
package/chunks/pe-wasm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
async function t(t={}){var e,o=t,r="./this.program",_="",p="";function n(t){return o.locateFile?o.locateFile(t,p):p+t}try{p=new URL(".",_).href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var i,c,a,y=console.log.bind(console),s=console.error.bind(console),P=!1;function g(t,e){t||v(e)}var u,f,b,E,d,T,O,m,h,S=!1;function N(){var t=Tr.buffer;d=new Int8Array(t),f=new Int16Array(t),h=new Uint8Array(t),b=new Int32Array(t),m=new Uint32Array(t),T=new Float32Array(t),O=new Float64Array(t),E=new BigInt64Array(t),new BigUint64Array(t)}function l(){S=!0,I(Nr),vr.t()}function v(t){s(t=`Aborted(${t})`),P=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw a?.(e),e}function M(){return o.locateFile?n("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}function j(t){throw"both async and sync fetching of the wasm failed"}async function D(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return j()}async function A(t,e){try{var o=await D(t);return await WebAssembly.instantiate(o,e)}catch(r){s(`failed to asynchronously prepare wasm: ${r}`),v(r)}}async function R(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(_){s(`wasm streaming compile failed: ${_}`),s("falling back to ArrayBuffer instantiation")}return A(e,o)}function G(){return{a:Mr}}async function C(){function t(t,e){return lr(vr=t.exports),N(),vr}function e(e){return t(e.instance)}var o=G();return u??=M(),e(await R(i,u,o))}var I=t=>{for(;t.length>0;)t.shift()(o)};function L(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return d[t];case"i16":return f[t>>1];case"i32":return b[t>>2];case"i64":return E[t>>3];case"float":return T[t>>2];case"double":return O[t>>3];case"*":return m[t>>2];default:v(`invalid type for getValue: ${e}`)}}var U=globalThis.TextDecoder&&new TextDecoder,w=(t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e},F=(t,e=0,o,r)=>{var _=w(t,e,o,r);if(_-e>16&&t.buffer&&U)return U.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},Y=(t,e,o)=>t?F(h,t,e,o):"";function X(t,e,o){return 0}var x=(t,e,o)=>{};function H(t,e,o){return 0}function z(t,e,o,r){}var Z=t=>{},W=(t,e)=>{},B=(t,e,o)=>{},q=()=>v(""),K=t=>t%4==0&&(t%100!=0||t%400==0),V=[0,31,60,91,121,152,182,213,244,274,305,335],$=[0,31,59,90,120,151,181,212,243,273,304,334],k=t=>(K(t.getFullYear())?V:$)[t.getMonth()]+t.getDate()-1,J=9007199254740992,Q=-9007199254740992,tt=t=>t<Q||t>J?NaN:Number(t);function et(t,e){t=tt(t);var o=new Date(1e3*t);b[e>>2]=o.getSeconds(),b[e+4>>2]=o.getMinutes(),b[e+8>>2]=o.getHours(),b[e+12>>2]=o.getDate(),b[e+16>>2]=o.getMonth(),b[e+20>>2]=o.getFullYear()-1900,b[e+24>>2]=o.getDay();var r=0|k(o);b[e+28>>2]=r,b[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));b[e+32>>2]=i}var ot=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},rt=(t,e,o)=>ot(t,h,e,o),_t=(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);m[t>>2]=60*a,b[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},s=y(i),P=y(c);c<i?(rt(s,o,17),rt(P,r,17)):(rt(s,r,17),rt(P,o,17))},pt=()=>Date.now(),nt=()=>2147483648,it=(t,e)=>Math.ceil(t/e)*e,ct=t=>{var e=(t-Tr.buffer.byteLength+65535)/65536|0;try{return Tr.grow(e),N(),1}catch(o){}},at=t=>{var e=h.length;t>>>=0;var o=nt();if(t>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,it(Math.max(t,_),65536));if(ct(p))return!0}return!1},yt={},st=()=>r,Pt=()=>{if(!Pt.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:st()};for(var e in yt)void 0===yt[e]?delete t[e]:t[e]=yt[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);Pt.strings=o}return Pt.strings},gt=(t,e)=>{var o=0,r=0;for(var _ of Pt()){var p=e+o;m[t+r>>2]=p,o+=rt(_,p,1/0)+1,r+=4}return 0},ut=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},ft=(t,e)=>{var o=Pt();m[t>>2]=o.length;var r=0;for(var _ of o)r+=ut(_)+1;return m[e>>2]=r,0},bt=t=>52,Et=(t,e,o,r)=>52;function dt(t,e,o,r){return 70}var Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Gt,Ct,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,Bt,qt,Kt,Vt,$t,kt,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ge,Ce,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,Be,qe,Ke,Ve,$e,ke,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No,lo,vo,Mo,jo,Do,Ao,Ro,Go,Co,Io,Lo,Uo,wo,Fo,Yo,Xo,xo,Ho,zo,Zo,Wo,Bo,qo,Ko,Vo,$o,ko,Jo,Qo,tr,er,or,rr,_r,pr,nr,ir,cr,ar,yr,sr,Pr,gr,ur,fr,br,Er,dr,Tr,Or=[null,[],[]],mr=(t,e)=>{var o=Or[t];0===e||10===e?((1===t?y:s)(F(o)),o.length=0):o.push(e)},hr=(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=m[e>>2],i=m[e+4>>2];e+=8;for(var c=0;c<i;c++)mr(t,h[n+c]);_+=i}return m[r>>2]=_,0},Sr=(t,e,o)=>{var r=ut(t)+1,_=new Array(r);return ot(t,_,0,_.length),_},Nr=[];function lr(t){o._webidl_free=t.u,o._webidl_malloc=t.v,Tt=o._emscripten_bind_PeObject_getCode_0=t.w,Ot=o._emscripten_bind_PeObject_getName_1=t.x,mt=o._emscripten_bind_PeObject_getType_0=t.y,ht=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,St=o._emscripten_bind_PeCoordsys_getCode_0=t.A,Nt=o._emscripten_bind_PeCoordsys_getName_1=t.B,lt=o._emscripten_bind_PeCoordsys_getType_0=t.C,vt=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,Mt=o._emscripten_bind_PeUnit_getCode_0=t.E,jt=o._emscripten_bind_PeUnit_getName_1=t.F,Dt=o._emscripten_bind_PeUnit_getType_0=t.G,At=o._emscripten_bind_VoidPtr___destroy___0=t.H,Rt=o._emscripten_bind_PeAngunit_getCode_0=t.I,Gt=o._emscripten_bind_PeAngunit_getName_1=t.J,Ct=o._emscripten_bind_PeAngunit_getType_0=t.K,It=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,Lt=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,Ut=o._emscripten_bind_PeDatum_getCode_0=t.N,wt=o._emscripten_bind_PeDatum_getName_1=t.O,Ft=o._emscripten_bind_PeDatum_getType_0=t.P,Yt=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,Xt=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,xt=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,Ht=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,zt=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,Zt=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,Wt=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,Bt=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,qt=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Kt=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,Vt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,$t=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,kt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,Jt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,Qt=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,te=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,ee=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,oe=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,re=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,_e=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,pe=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,ne=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,ie=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,ce=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ae=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ye=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,se=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,Pe=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,ge=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,ue=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,fe=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,be=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,Ee=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,de=o._emscripten_bind_PeDouble_get_val_0=t.va,Te=o._emscripten_bind_PeDouble_set_val_1=t.wa,Oe=o._emscripten_bind_PeDouble___destroy___0=t.xa,me=o._emscripten_bind_PeFactory_initialize_1=t.ya,he=o._emscripten_bind_PeFactory_factoryByType_2=t.za,Se=o._emscripten_bind_PeFactory_fromString_2=t.Aa,Ne=o._emscripten_bind_PeFactory_getCode_1=t.Ba,le=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,ve=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Me=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,je=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,De=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Ae=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,Re=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,Ge=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ce=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Ie=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Le=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,Ue=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,we=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,Fe=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Ye=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,Xe=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,xe=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,He=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,ze=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,Ze=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,We=o._emscripten_bind_PeGeogtran_usable_0=t.Wa,Be=o._emscripten_bind_PeGeogtran_getCode_0=t.Xa,qe=o._emscripten_bind_PeGeogtran_getName_1=t.Ya,Ke=o._emscripten_bind_PeGeogtran_getType_0=t.Za,Ve=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t._a,$e=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t.$a,ke=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.ab,Je=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.bb,Qe=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.cb,to=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.db,eo=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.eb,oo=o._emscripten_bind_PeHorizon_getNump_0=t.fb,ro=o._emscripten_bind_PeHorizon_getKind_0=t.gb,_o=o._emscripten_bind_PeHorizon_getInclusive_0=t.hb,po=o._emscripten_bind_PeHorizon_getSize_0=t.ib,no=o._emscripten_bind_PeHorizon_getCoord_0=t.jb,io=o._emscripten_bind_PeInteger_PeInteger_1=t.kb,co=o._emscripten_bind_PeInteger_get_val_0=t.lb,ao=o._emscripten_bind_PeInteger_set_val_1=t.mb,yo=o._emscripten_bind_PeInteger___destroy___0=t.nb,so=o._emscripten_bind_PeLineType_geodetic_distance_10=t.ob,Po=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.pb,go=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.qb,uo=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.rb,fo=o._emscripten_bind_PeMath_phi_to_eta_2=t.sb,bo=o._emscripten_bind_PeMath_eta_to_phi_2=t.tb,Eo=o._emscripten_bind_PeMath_phi_to_phig_2=t.ub,To=o._emscripten_bind_PeMath_q_3=t.vb,Oo=o._emscripten_bind_PeMath_q90_2=t.wb,mo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.xb,ho=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.yb,So=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.zb,No=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.Ab,lo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Bb,vo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Cb,Mo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Db,jo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Eb,Do=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Fb,Ao=o._emscripten_bind_PeParameter_getValue_0=t.Gb,Ro=o._emscripten_bind_PeParameter_getCode_0=t.Hb,Go=o._emscripten_bind_PeParameter_getName_1=t.Ib,Co=o._emscripten_bind_PeParameter_getType_0=t.Jb,Io=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Kb,Lo=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Lb,Uo=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Mb,wo=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Nb,Fo=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Ob,Yo=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Pb,Xo=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Qb,xo=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Rb,Ho=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Sb,zo=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Tb,Zo=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Ub,Wo=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Vb,Bo=o._emscripten_bind_PePCSInfo_generate_2=t.Wb,qo=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Xb,Ko=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Yb,Vo=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Zb,$o=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t._b,ko=o._emscripten_bind_PePrimem_getLongitude_0=t.$b,Jo=o._emscripten_bind_PePrimem_getCode_0=t.ac,Qo=o._emscripten_bind_PePrimem_getName_1=t.bc,tr=o._emscripten_bind_PePrimem_getType_0=t.cc,er=o._emscripten_bind_PeProjcs_Delete_0=t.dc,or=o._emscripten_bind_PeProjcs_getGeogcs_0=t.ec,rr=o._emscripten_bind_PeProjcs_getProjection_0=t.fc,_r=o._emscripten_bind_PeProjcs_getParameters_0=t.gc,pr=o._emscripten_bind_PeProjcs_getUnit_0=t.hc,nr=o._emscripten_bind_PeProjcs_loadConstants_0=t.ic,ir=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.jc,cr=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.kc,ar=o._emscripten_bind_PeProjcs_isEqual_1=t.lc,yr=o._emscripten_bind_PeProjcs_getCode_0=t.mc,sr=o._emscripten_bind_PeProjcs_getName_1=t.nc,Pr=o._emscripten_bind_PeProjcs_getType_0=t.oc,gr=o._emscripten_bind_PeSpheroid_getAxis_0=t.pc,ur=o._emscripten_bind_PeSpheroid_getFlattening_0=t.qc,fr=o._emscripten_bind_PeSpheroid_getCode_0=t.rc,br=o._emscripten_bind_PeSpheroid_getName_1=t.sc,Er=o._emscripten_bind_PeSpheroid_getType_0=t.tc,dr=o._emscripten_bind_PeVersion_version_string_0=t.uc,o._pe_getPeGTlistExtendedEntrySize=t.vc,o._pe_getPeGTlistExtendedGTsSize=t.wc,o._pe_getPeHorizonSize=t.xc,o._pe_geog_to_geog=t.yc,o._pe_geog_to_proj=t.zc,o._pe_geog_to_dd=t.Ac,o._pe_dd_to_geog=t.Bc,o._pe_geog_to_ddm=t.Cc,o._pe_ddm_to_geog=t.Dc,o._pe_geog_to_dms=t.Ec,o._pe_dms_to_geog=t.Fc,o._pe_geog_to_mgrs_extended=t.Gc,o._pe_mgrs_to_geog_extended=t.Hc,o._pe_geog_to_usng=t.Ic,o._pe_usng_to_geog=t.Jc,o._pe_geog_to_utm=t.Kc,o._pe_utm_to_geog=t.Lc,o._pe_object_to_string_ext=t.Mc,o._pe_object_is_wkt2_needed=t.Nc,o._pe_proj_to_geog_center=t.Oc,Tr=t.s,t.__indirect_function_table}o.getValue=L,o.UTF8ToString=Y;var vr,Mr={c:X,n:x,i:H,d:z,l:Z,k:W,m:B,o:q,p:et,q:_t,r:pt,j:at,f:gt,g:ft,a:bt,h:Et,e:dt,b:hr};function jr(){function t(){o.calledRun=!0,P||(l(),c?.(o))}t()}function Dr(){}function Ar(t){return(t||Dr).__cache__}function Rr(t,e){var o=Ar(e),r=o[t];return r||((r=Object.create((e||Dr).prototype)).ptr=t,o[t]=r)}function Gr(t,e){return Rr(t.ptr,e)}function Cr(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Ar(t.__class__)[t.ptr]}function Ir(t,e){return t.ptr===e.ptr}function Lr(t){return t.ptr}function Ur(t){return t.__class__}vr=await C(),jr(),Dr.prototype=Object.create(Dr.prototype),Dr.prototype.constructor=Dr,Dr.prototype.__class__=Dr,Dr.__cache__={},o.WrapperObject=Dr,o.getCache=Ar,o.wrapPointer=Rr,o.castObject=Gr,o.NULL=Rr(0),o.destroy=Cr,o.compare=Ir,o.getPointer=Lr,o.getClass=Ur;var wr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(wr.needed){for(var t=0;t<wr.temps.length;t++)o._webidl_free(wr.temps[t]);wr.temps.length=0,o._webidl_free(wr.buffer),wr.buffer=0,wr.size+=wr.needed,wr.needed=0}wr.buffer||(wr.size+=128,wr.buffer=o._webidl_malloc(wr.size),g(wr.buffer)),wr.pos=0},alloc(t,e){g(wr.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=it(p,8),wr.pos+p>=wr.size?(g(p>0),wr.needed+=p,r=o._webidl_malloc(p),wr.temps.push(r)):(r=wr.buffer+wr.pos,wr.pos+=p),r}};function Fr(t){if("string"==typeof t){for(var e=Sr(t),o=wr.alloc(e,d),r=0;r<e.length;r++)d[o+r]=e[r];return o}return t}function Yr(t){if("object"==typeof t){for(var e=wr.alloc(t,d),o=0;o<t.length;o++)d[e+o]=t[o];return e}return t}function Xr(t){if("object"==typeof t){for(var e=wr.alloc(t,f),o=e/2,r=0;r<t.length;r++)f[o+r]=t[r];return e}return t}function xr(t){if("object"==typeof t){for(var e=wr.alloc(t,b),o=e/4,r=0;r<t.length;r++)b[o+r]=t[r];return e}return t}function Hr(t){if("object"==typeof t){for(var e=wr.alloc(t,T),o=e/4,r=0;r<t.length;r++)T[o+r]=t[r];return e}return t}function zr(t){if("object"==typeof t){for(var e=wr.alloc(t,O),o=e/8,r=0;r<t.length;r++)O[o+r]=t[r];return e}return t}function Zr(){throw"cannot construct a PeObject, no constructor in IDL"}function Wr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Br(){throw"cannot construct a PeUnit, no constructor in IDL"}function qr(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Kr(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Vr(){throw"cannot construct a PeDatum, no constructor in IDL"}function $r(){throw"cannot construct a PeDefs, no constructor in IDL"}function kr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ee(t),Ar(kr)[this.ptr]=this}function Jr(){throw"cannot construct a PeFactory, no constructor in IDL"}function Qr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=le(t,e,o,r,_,p),Ar(Qr)[this.ptr]=this}function t_(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function e_(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function o_(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function r_(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function __(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function p_(){throw"cannot construct a PeHorizon, no constructor in IDL"}function n_(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=io(t),Ar(n_)[this.ptr]=this}function i_(){throw"cannot construct a PeLineType, no constructor in IDL"}function c_(){throw"cannot construct a PeMath, no constructor in IDL"}function a_(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function y_(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function s_(){throw"cannot construct a PeParameter, no constructor in IDL"}function P_(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function g_(){throw"cannot construct a PePrimem, no constructor in IDL"}function u_(){throw"cannot construct a PeProjcs, no constructor in IDL"}function f_(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function b_(){throw"cannot construct a PeVersion, no constructor in IDL"}return Zr.prototype=Object.create(Dr.prototype),Zr.prototype.constructor=Zr,Zr.prototype.__class__=Zr,Zr.__cache__={},o.PeObject=Zr,Zr.prototype.getCode=Zr.prototype.getCode=function(){var t=this.ptr;return Tt(t)},Zr.prototype.getName=Zr.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Ot(e,t))},Zr.prototype.getType=Zr.prototype.getType=function(){var t=this.ptr;return mt(t)},Wr.prototype=Object.create(Zr.prototype),Wr.prototype.constructor=Wr,Wr.prototype.__class__=Wr,Wr.__cache__={},o.PeCoordsys=Wr,Wr.prototype.isEqual=Wr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ht(e,t)},Wr.prototype.getCode=Wr.prototype.getCode=function(){var t=this.ptr;return St(t)},Wr.prototype.getName=Wr.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Nt(e,t))},Wr.prototype.getType=Wr.prototype.getType=function(){var t=this.ptr;return lt(t)},Br.prototype=Object.create(Zr.prototype),Br.prototype.constructor=Br,Br.prototype.__class__=Br,Br.__cache__={},o.PeUnit=Br,Br.prototype.getUnitFactor=Br.prototype.getUnitFactor=function(){var t=this.ptr;return vt(t)},Br.prototype.getCode=Br.prototype.getCode=function(){var t=this.ptr;return Mt(t)},Br.prototype.getName=Br.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(jt(e,t))},Br.prototype.getType=Br.prototype.getType=function(){var t=this.ptr;return Dt(t)},qr.prototype=Object.create(Dr.prototype),qr.prototype.constructor=qr,qr.prototype.__class__=qr,qr.__cache__={},o.VoidPtr=qr,qr.prototype.__destroy__=qr.prototype.__destroy__=function(){var t=this.ptr;At(t)},Kr.prototype=Object.create(Br.prototype),Kr.prototype.constructor=Kr,Kr.prototype.__class__=Kr,Kr.__cache__={},o.PeAngunit=Kr,Kr.prototype.getCode=Kr.prototype.getCode=function(){var t=this.ptr;return Rt(t)},Kr.prototype.getName=Kr.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Gt(e,t))},Kr.prototype.getType=Kr.prototype.getType=function(){var t=this.ptr;return Ct(t)},Kr.prototype.getUnitFactor=Kr.prototype.getUnitFactor=function(){var t=this.ptr;return It(t)},Vr.prototype=Object.create(Zr.prototype),Vr.prototype.constructor=Vr,Vr.prototype.__class__=Vr,Vr.__cache__={},o.PeDatum=Vr,Vr.prototype.getSpheroid=Vr.prototype.getSpheroid=function(){var t=this.ptr;return Rr(Lt(t),f_)},Vr.prototype.getCode=Vr.prototype.getCode=function(){var t=this.ptr;return Ut(t)},Vr.prototype.getName=Vr.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(wt(e,t))},Vr.prototype.getType=Vr.prototype.getType=function(){var t=this.ptr;return Ft(t)},$r.prototype=Object.create(Dr.prototype),$r.prototype.constructor=$r,$r.prototype.__class__=$r,$r.__cache__={},o.PeDefs=$r,$r.prototype.get_PE_BUFFER_MAX=$r.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Yt(t)},Object.defineProperty($r.prototype,"PE_BUFFER_MAX",{get:$r.prototype.get_PE_BUFFER_MAX}),$r.prototype.get_PE_NAME_MAX=$r.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return Xt(t)},Object.defineProperty($r.prototype,"PE_NAME_MAX",{get:$r.prototype.get_PE_NAME_MAX}),$r.prototype.get_PE_MGRS_MAX=$r.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return xt(t)},Object.defineProperty($r.prototype,"PE_MGRS_MAX",{get:$r.prototype.get_PE_MGRS_MAX}),$r.prototype.get_PE_USNG_MAX=$r.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return Ht(t)},Object.defineProperty($r.prototype,"PE_USNG_MAX",{get:$r.prototype.get_PE_USNG_MAX}),$r.prototype.get_PE_DD_MAX=$r.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return zt(t)},Object.defineProperty($r.prototype,"PE_DD_MAX",{get:$r.prototype.get_PE_DD_MAX}),$r.prototype.get_PE_DMS_MAX=$r.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return Zt(t)},Object.defineProperty($r.prototype,"PE_DMS_MAX",{get:$r.prototype.get_PE_DMS_MAX}),$r.prototype.get_PE_DDM_MAX=$r.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return Wt(t)},Object.defineProperty($r.prototype,"PE_DDM_MAX",{get:$r.prototype.get_PE_DDM_MAX}),$r.prototype.get_PE_UTM_MAX=$r.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return Bt(t)},Object.defineProperty($r.prototype,"PE_UTM_MAX",{get:$r.prototype.get_PE_UTM_MAX}),$r.prototype.get_PE_PARM_MAX=$r.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return qt(t)},Object.defineProperty($r.prototype,"PE_PARM_MAX",{get:$r.prototype.get_PE_PARM_MAX}),$r.prototype.get_PE_TYPE_NONE=$r.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Kt(t)},Object.defineProperty($r.prototype,"PE_TYPE_NONE",{get:$r.prototype.get_PE_TYPE_NONE}),$r.prototype.get_PE_TYPE_GEOGCS=$r.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return Vt(t)},Object.defineProperty($r.prototype,"PE_TYPE_GEOGCS",{get:$r.prototype.get_PE_TYPE_GEOGCS}),$r.prototype.get_PE_TYPE_PROJCS=$r.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return $t(t)},Object.defineProperty($r.prototype,"PE_TYPE_PROJCS",{get:$r.prototype.get_PE_TYPE_PROJCS}),$r.prototype.get_PE_TYPE_GEOGTRAN=$r.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return kt(t)},Object.defineProperty($r.prototype,"PE_TYPE_GEOGTRAN",{get:$r.prototype.get_PE_TYPE_GEOGTRAN}),$r.prototype.get_PE_TYPE_COORDSYS=$r.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return Jt(t)},Object.defineProperty($r.prototype,"PE_TYPE_COORDSYS",{get:$r.prototype.get_PE_TYPE_COORDSYS}),$r.prototype.get_PE_TYPE_UNIT=$r.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return Qt(t)},Object.defineProperty($r.prototype,"PE_TYPE_UNIT",{get:$r.prototype.get_PE_TYPE_UNIT}),$r.prototype.get_PE_TYPE_LINUNIT=$r.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return te(t)},Object.defineProperty($r.prototype,"PE_TYPE_LINUNIT",{get:$r.prototype.get_PE_TYPE_LINUNIT}),$r.prototype.get_PE_STR_OPTS_NONE=$r.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return ee(t)},Object.defineProperty($r.prototype,"PE_STR_OPTS_NONE",{get:$r.prototype.get_PE_STR_OPTS_NONE}),$r.prototype.get_PE_STR_AUTH_NONE=$r.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return oe(t)},Object.defineProperty($r.prototype,"PE_STR_AUTH_NONE",{get:$r.prototype.get_PE_STR_AUTH_NONE}),$r.prototype.get_PE_STR_AUTH_TOP=$r.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return re(t)},Object.defineProperty($r.prototype,"PE_STR_AUTH_TOP",{get:$r.prototype.get_PE_STR_AUTH_TOP}),$r.prototype.get_PE_STR_NAME_CANON=$r.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return _e(t)},Object.defineProperty($r.prototype,"PE_STR_NAME_CANON",{get:$r.prototype.get_PE_STR_NAME_CANON}),$r.prototype.get_PE_STR_FMT_WKT=$r.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return pe(t)},Object.defineProperty($r.prototype,"PE_STR_FMT_WKT",{get:$r.prototype.get_PE_STR_FMT_WKT}),$r.prototype.get_PE_STR_FMT_WKT2=$r.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return ne(t)},Object.defineProperty($r.prototype,"PE_STR_FMT_WKT2",{get:$r.prototype.get_PE_STR_FMT_WKT2}),$r.prototype.get_PE_PARM_X0=$r.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return ie(t)},Object.defineProperty($r.prototype,"PE_PARM_X0",{get:$r.prototype.get_PE_PARM_X0}),$r.prototype.get_PE_PARM_ND=$r.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return ce(t)},Object.defineProperty($r.prototype,"PE_PARM_ND",{get:$r.prototype.get_PE_PARM_ND}),$r.prototype.get_PE_TRANSFORM_1_TO_2=$r.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ae(t)},Object.defineProperty($r.prototype,"PE_TRANSFORM_1_TO_2",{get:$r.prototype.get_PE_TRANSFORM_1_TO_2}),$r.prototype.get_PE_TRANSFORM_2_TO_1=$r.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ye(t)},Object.defineProperty($r.prototype,"PE_TRANSFORM_2_TO_1",{get:$r.prototype.get_PE_TRANSFORM_2_TO_1}),$r.prototype.get_PE_TRANSFORM_P_TO_G=$r.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return se(t)},Object.defineProperty($r.prototype,"PE_TRANSFORM_P_TO_G",{get:$r.prototype.get_PE_TRANSFORM_P_TO_G}),$r.prototype.get_PE_TRANSFORM_G_TO_P=$r.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Pe(t)},Object.defineProperty($r.prototype,"PE_TRANSFORM_G_TO_P",{get:$r.prototype.get_PE_TRANSFORM_G_TO_P}),$r.prototype.get_PE_HORIZON_RECT=$r.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return ge(t)},Object.defineProperty($r.prototype,"PE_HORIZON_RECT",{get:$r.prototype.get_PE_HORIZON_RECT}),$r.prototype.get_PE_HORIZON_POLY=$r.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return ue(t)},Object.defineProperty($r.prototype,"PE_HORIZON_POLY",{get:$r.prototype.get_PE_HORIZON_POLY}),$r.prototype.get_PE_HORIZON_LINE=$r.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return fe(t)},Object.defineProperty($r.prototype,"PE_HORIZON_LINE",{get:$r.prototype.get_PE_HORIZON_LINE}),$r.prototype.get_PE_HORIZON_DELTA=$r.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return be(t)},Object.defineProperty($r.prototype,"PE_HORIZON_DELTA",{get:$r.prototype.get_PE_HORIZON_DELTA}),kr.prototype=Object.create(Dr.prototype),kr.prototype.constructor=kr,kr.prototype.__class__=kr,kr.__cache__={},o.PeDouble=kr,kr.prototype.get_val=kr.prototype.get_val=function(){var t=this.ptr;return de(t)},kr.prototype.set_val=kr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Te(e,t)},Object.defineProperty(kr.prototype,"val",{get:kr.prototype.get_val,set:kr.prototype.set_val}),kr.prototype.__destroy__=kr.prototype.__destroy__=function(){var t=this.ptr;Oe(t)},Jr.prototype=Object.create(Dr.prototype),Jr.prototype.constructor=Jr,Jr.prototype.__class__=Jr,Jr.__cache__={},o.PeFactory=Jr,Jr.prototype.initialize=Jr.prototype.initialize=function(t){wr.prepare(),t=t&&"object"==typeof t?t.ptr:Fr(t),me(t)},Jr.prototype.factoryByType=Jr.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Rr(he(t,e),Zr)},Jr.prototype.fromString=Jr.prototype.fromString=function(t,e){return wr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Fr(e),Rr(Se(t,e),Zr)},Jr.prototype.getCode=Jr.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Ne(t)},Qr.prototype=Object.create(Dr.prototype),Qr.prototype.constructor=Qr,Qr.prototype.__class__=Qr,Qr.__cache__={},o.PeGCSExtent=Qr,Qr.prototype.getLLon=Qr.prototype.getLLon=function(){var t=this.ptr;return ve(t)},Qr.prototype.getSLat=Qr.prototype.getSLat=function(){var t=this.ptr;return Me(t)},Qr.prototype.getRLon=Qr.prototype.getRLon=function(){var t=this.ptr;return je(t)},Qr.prototype.getNLat=Qr.prototype.getNLat=function(){var t=this.ptr;return De(t)},Qr.prototype.__destroy__=Qr.prototype.__destroy__=function(){var t=this.ptr;Ae(t)},t_.prototype=Object.create(Wr.prototype),t_.prototype.constructor=t_,t_.prototype.__class__=t_,t_.__cache__={},o.PeGeogcs=t_,t_.prototype.Delete=t_.prototype.Delete=function(){var t=this.ptr;Re(t)},t_.prototype.cloneAlterUnits=t_.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Rr(Ge(e,t),t_)},t_.prototype.getDatum=t_.prototype.getDatum=function(){var t=this.ptr;return Rr(Ce(t),Vr)},t_.prototype.getPrimem=t_.prototype.getPrimem=function(){var t=this.ptr;return Rr(Ie(t),g_)},t_.prototype.getUnit=t_.prototype.getUnit=function(){var t=this.ptr;return Rr(Le(t),Kr)},t_.prototype.isEqual=t_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Ue(e,t)},t_.prototype.getCode=t_.prototype.getCode=function(){var t=this.ptr;return we(t)},t_.prototype.getName=t_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Fe(e,t))},t_.prototype.getType=t_.prototype.getType=function(){var t=this.ptr;return Ye(t)},e_.prototype=Object.create(Zr.prototype),e_.prototype.constructor=e_,e_.prototype.__class__=e_,e_.__cache__={},o.PeGeogtran=e_,e_.prototype.isEqual=e_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Xe(e,t)},e_.prototype.getGeogcs1=e_.prototype.getGeogcs1=function(){var t=this.ptr;return Rr(xe(t),t_)},e_.prototype.getGeogcs2=e_.prototype.getGeogcs2=function(){var t=this.ptr;return Rr(He(t),t_)},e_.prototype.getParameters=e_.prototype.getParameters=function(){var t=this.ptr;return ze(t)},e_.prototype.loadConstants=e_.prototype.loadConstants=function(){var t=this.ptr;return!!Ze(t)},e_.prototype.usable=e_.prototype.usable=function(){var t=this.ptr;return!!We(t)},e_.prototype.getCode=e_.prototype.getCode=function(){var t=this.ptr;return Be(t)},e_.prototype.getName=e_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(qe(e,t))},e_.prototype.getType=e_.prototype.getType=function(){var t=this.ptr;return Ke(t)},o_.prototype=Object.create(Dr.prototype),o_.prototype.constructor=o_,o_.prototype.__class__=o_,o_.__cache__={},o.PeGTlistExtended=o_,o_.prototype.getGTlist=o_.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Rr(Ve(t,e,o,r,_,p),r_)},o_.prototype.get_PE_GTLIST_OPTS_COMMON=o_.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return $e(t)},Object.defineProperty(o_.prototype,"PE_GTLIST_OPTS_COMMON",{get:o_.prototype.get_PE_GTLIST_OPTS_COMMON}),r_.prototype=Object.create(Dr.prototype),r_.prototype.constructor=r_,r_.prototype.__class__=r_,r_.__cache__={},o.PeGTlistExtendedEntry=r_,r_.prototype.getEntries=r_.prototype.getEntries=function(){var t=this.ptr;return Rr(ke(t),__)},r_.prototype.getSteps=r_.prototype.getSteps=function(){var t=this.ptr;return Je(t)},r_.prototype.Delete=r_.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),Qe(t)},__.prototype=Object.create(Dr.prototype),__.prototype.constructor=__,__.prototype.__class__=__,__.__cache__={},o.PeGTlistExtendedGTs=__,__.prototype.getDirection=__.prototype.getDirection=function(){var t=this.ptr;return to(t)},__.prototype.getGeogtran=__.prototype.getGeogtran=function(){var t=this.ptr;return Rr(eo(t),e_)},p_.prototype=Object.create(Dr.prototype),p_.prototype.constructor=p_,p_.prototype.__class__=p_,p_.__cache__={},o.PeHorizon=p_,p_.prototype.getNump=p_.prototype.getNump=function(){var t=this.ptr;return oo(t)},p_.prototype.getKind=p_.prototype.getKind=function(){var t=this.ptr;return ro(t)},p_.prototype.getInclusive=p_.prototype.getInclusive=function(){var t=this.ptr;return _o(t)},p_.prototype.getSize=p_.prototype.getSize=function(){var t=this.ptr;return po(t)},p_.prototype.getCoord=p_.prototype.getCoord=function(){var t=this.ptr;return no(t)},n_.prototype=Object.create(Dr.prototype),n_.prototype.constructor=n_,n_.prototype.__class__=n_,n_.__cache__={},o.PeInteger=n_,n_.prototype.get_val=n_.prototype.get_val=function(){var t=this.ptr;return co(t)},n_.prototype.set_val=n_.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ao(e,t)},Object.defineProperty(n_.prototype,"val",{get:n_.prototype.get_val,set:n_.prototype.set_val}),n_.prototype.__destroy__=n_.prototype.__destroy__=function(){var t=this.ptr;yo(t)},i_.prototype=Object.create(Dr.prototype),i_.prototype.constructor=i_,i_.prototype.__class__=i_,i_.__cache__={},o.PeLineType=i_,i_.prototype.geodetic_distance=i_.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),so(t,e,o,r,_,p,n,i,c,a)},i_.prototype.geodetic_coordinate=i_.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Po(t,e,o,r,_,p,n,i,c)},i_.prototype.geodesic_coordinate=i_.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),go(t,e,o,r,_,p,n,i)},i_.prototype.great_elliptic_distance=i_.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),uo(t,e,o,r,_,p,n,i,c)},c_.prototype=Object.create(Dr.prototype),c_.prototype.constructor=c_,c_.prototype.__class__=c_,c_.__cache__={},o.PeMath=c_,c_.prototype.phi_to_eta=c_.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),fo(t,e)},c_.prototype.eta_to_phi=c_.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),bo(t,e)},c_.prototype.phi_to_phig=c_.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Eo(t,e)},c_.prototype.q=c_.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),To(t,e,o)},c_.prototype.q90=c_.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Oo(t,e)},a_.prototype=Object.create(Dr.prototype),a_.prototype.constructor=a_,a_.prototype.__class__=a_,a_.__cache__={},o.PeNotationMgrs=a_,a_.prototype.get_PE_MGRS_STYLE_NEW=a_.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return mo(t)},Object.defineProperty(a_.prototype,"PE_MGRS_STYLE_NEW",{get:a_.prototype.get_PE_MGRS_STYLE_NEW}),a_.prototype.get_PE_MGRS_STYLE_OLD=a_.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return ho(t)},Object.defineProperty(a_.prototype,"PE_MGRS_STYLE_OLD",{get:a_.prototype.get_PE_MGRS_STYLE_OLD}),a_.prototype.get_PE_MGRS_STYLE_AUTO=a_.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return So(t)},Object.defineProperty(a_.prototype,"PE_MGRS_STYLE_AUTO",{get:a_.prototype.get_PE_MGRS_STYLE_AUTO}),a_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=a_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return No(t)},Object.defineProperty(a_.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:a_.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),a_.prototype.get_PE_MGRS_ADD_SPACES=a_.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return lo(t)},Object.defineProperty(a_.prototype,"PE_MGRS_ADD_SPACES",{get:a_.prototype.get_PE_MGRS_ADD_SPACES}),y_.prototype=Object.create(Dr.prototype),y_.prototype.constructor=y_,y_.prototype.__class__=y_,y_.__cache__={},o.PeNotationUtm=y_,y_.prototype.get_PE_UTM_OPTS_NONE=y_.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return vo(t)},Object.defineProperty(y_.prototype,"PE_UTM_OPTS_NONE",{get:y_.prototype.get_PE_UTM_OPTS_NONE}),y_.prototype.get_PE_UTM_OPTS_NS=y_.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return Mo(t)},Object.defineProperty(y_.prototype,"PE_UTM_OPTS_NS",{get:y_.prototype.get_PE_UTM_OPTS_NS}),y_.prototype.get_PE_UTM_OPTS_NS_STRICT=y_.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return jo(t)},Object.defineProperty(y_.prototype,"PE_UTM_OPTS_NS_STRICT",{get:y_.prototype.get_PE_UTM_OPTS_NS_STRICT}),y_.prototype.get_PE_UTM_OPTS_ADD_SPACES=y_.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return Do(t)},Object.defineProperty(y_.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:y_.prototype.get_PE_UTM_OPTS_ADD_SPACES}),s_.prototype=Object.create(Zr.prototype),s_.prototype.constructor=s_,s_.prototype.__class__=s_,s_.__cache__={},o.PeParameter=s_,s_.prototype.getValue=s_.prototype.getValue=function(){var t=this.ptr;return Ao(t)},s_.prototype.getCode=s_.prototype.getCode=function(){var t=this.ptr;return Ro(t)},s_.prototype.getName=s_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Go(e,t))},s_.prototype.getType=s_.prototype.getType=function(){var t=this.ptr;return Co(t)},P_.prototype=Object.create(Dr.prototype),P_.prototype.constructor=P_,P_.prototype.__class__=P_,P_.__cache__={},o.PePCSInfo=P_,P_.prototype.getCentralMeridian=P_.prototype.getCentralMeridian=function(){var t=this.ptr;return Io(t)},P_.prototype.getDomainMinx=P_.prototype.getDomainMinx=function(){var t=this.ptr;return Lo(t)},P_.prototype.getDomainMiny=P_.prototype.getDomainMiny=function(){var t=this.ptr;return Uo(t)},P_.prototype.getDomainMaxx=P_.prototype.getDomainMaxx=function(){var t=this.ptr;return wo(t)},P_.prototype.getDomainMaxy=P_.prototype.getDomainMaxy=function(){var t=this.ptr;return Fo(t)},P_.prototype.getNorthPoleLocation=P_.prototype.getNorthPoleLocation=function(){var t=this.ptr;return Yo(t)},P_.prototype.getNorthPoleGeometry=P_.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return Xo(t)},P_.prototype.getSouthPoleLocation=P_.prototype.getSouthPoleLocation=function(){var t=this.ptr;return xo(t)},P_.prototype.getSouthPoleGeometry=P_.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return Ho(t)},P_.prototype.isDensificationNeeded=P_.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!zo(t)},P_.prototype.isGcsHorizonMultiOverlap=P_.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!Zo(t)},P_.prototype.isPannableRectangle=P_.prototype.isPannableRectangle=function(){var t=this.ptr;return!!Wo(t)},P_.prototype.generate=P_.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Rr(Bo(t,e),P_)},P_.prototype.get_PE_PCSINFO_OPTION_NONE=P_.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return qo(t)},Object.defineProperty(P_.prototype,"PE_PCSINFO_OPTION_NONE",{get:P_.prototype.get_PE_PCSINFO_OPTION_NONE}),P_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=P_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return Ko(t)},Object.defineProperty(P_.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:P_.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),P_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=P_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Vo(t)},Object.defineProperty(P_.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:P_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),P_.prototype.get_PE_POLE_POINT=P_.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return $o(t)},Object.defineProperty(P_.prototype,"PE_POLE_POINT",{get:P_.prototype.get_PE_POLE_POINT}),g_.prototype=Object.create(Zr.prototype),g_.prototype.constructor=g_,g_.prototype.__class__=g_,g_.__cache__={},o.PePrimem=g_,g_.prototype.getLongitude=g_.prototype.getLongitude=function(){var t=this.ptr;return ko(t)},g_.prototype.getCode=g_.prototype.getCode=function(){var t=this.ptr;return Jo(t)},g_.prototype.getName=g_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(Qo(e,t))},g_.prototype.getType=g_.prototype.getType=function(){var t=this.ptr;return tr(t)},u_.prototype=Object.create(Wr.prototype),u_.prototype.constructor=u_,u_.prototype.__class__=u_,u_.__cache__={},o.PeProjcs=u_,u_.prototype.Delete=u_.prototype.Delete=function(){var t=this.ptr;er(t)},u_.prototype.getGeogcs=u_.prototype.getGeogcs=function(){var t=this.ptr;return Rr(or(t),t_)},u_.prototype.getProjection=u_.prototype.getProjection=function(){var t=this.ptr;return Rr(rr(t),Zr)},u_.prototype.getParameters=u_.prototype.getParameters=function(){var t=this.ptr;return _r(t)},u_.prototype.getUnit=u_.prototype.getUnit=function(){var t=this.ptr;return Rr(pr(t),Br)},u_.prototype.loadConstants=u_.prototype.loadConstants=function(){var t=this.ptr;return!!nr(t)},u_.prototype.horizonGcsGenerate=u_.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Rr(ir(t),p_)},u_.prototype.horizonPcsGenerate=u_.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Rr(cr(t),p_)},u_.prototype.isEqual=u_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ar(e,t)},u_.prototype.getCode=u_.prototype.getCode=function(){var t=this.ptr;return yr(t)},u_.prototype.getName=u_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(sr(e,t))},u_.prototype.getType=u_.prototype.getType=function(){var t=this.ptr;return Pr(t)},f_.prototype=Object.create(Zr.prototype),f_.prototype.constructor=f_,f_.prototype.__class__=f_,f_.__cache__={},o.PeSpheroid=f_,f_.prototype.getAxis=f_.prototype.getAxis=function(){var t=this.ptr;return gr(t)},f_.prototype.getFlattening=f_.prototype.getFlattening=function(){var t=this.ptr;return ur(t)},f_.prototype.getCode=f_.prototype.getCode=function(){var t=this.ptr;return fr(t)},f_.prototype.getName=f_.prototype.getName=function(t){var e=this.ptr;return wr.prepare(),"object"==typeof t&&(t=Yr(t)),Y(br(e,t))},f_.prototype.getType=f_.prototype.getType=function(){var t=this.ptr;return Er(t)},b_.prototype=Object.create(Dr.prototype),b_.prototype.constructor=b_,b_.prototype.__class__=b_,b_.__cache__={},o.PeVersion=b_,b_.prototype.version_string=b_.prototype.version_string=function(){var t=this.ptr;return Y(dr(t))},o.ensureCache=wr,o.ensureString=Fr,o.ensureInt8=Yr,o.ensureInt16=Xr,o.ensureInt32=xr,o.ensureFloat32=Hr,o.ensureFloat64=zr,S?o:new Promise((t,e)=>{c=t,a=e})}export{t as default};
|
|
2
|
+
async function t(t={}){var e,o=t,r="./this.program",_="",p="";function n(t){return o.locateFile?o.locateFile(t,p):p+t}try{p=new URL(".",_).href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var i,c,a,y=console.log.bind(console),s=console.error.bind(console),P=!1;function g(t,e){t||E(e)}function u(){return br.buffer}function f(){if(!a?.buffer?.resizable){var t=u();a=new Int8Array(t),Pt=new Int16Array(t),l=new Uint8Array(t),L=new Int32Array(t),K=new Uint32Array(t),gt=new Float32Array(t),ut=new Float64Array(t),ft=new BigInt64Array(t)}}function b(){v(mr),Nr.t()}function E(t){throw s(t=`Aborted(${t})`),P=!0,t+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(t)}function d(){return o.locateFile?n("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}function T(t){throw"both async and sync fetching of the wasm failed"}async function O(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return T()}async function m(t,e){try{var o=await O(t);return await WebAssembly.instantiate(o,e)}catch(r){s(`failed to asynchronously prepare wasm: ${r}`),E(r)}}async function h(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(_){s(`wasm streaming compile failed: ${_}`),s("falling back to ArrayBuffer instantiation")}return m(e,o)}function S(){return{a:lr}}async function N(){function t(t){return Sr(Nr=t.exports),f(),Nr}function e(e){return t(e.instance)}var o=S();return c??=d(),e(await h(i,c,o))}var l,v=t=>{for(;t.length>0;)t.shift()(o)},M=globalThis.TextDecoder&&new TextDecoder,j=(t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e},D=(t,e=0,o,r)=>{var _=j(t,e,o,r);if(_-e>16&&t.buffer&&M)return M.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},A=(t,e,o)=>t?D(l,t,e,o):"";function R(t,e,o){return 0}var G=(t,e,o)=>{};function C(t,e,o){return 0}function I(t,e,o,r){}var L,U=t=>{},w=(t,e)=>{},F=(t,e,o)=>{},Y=()=>E(""),X=t=>t%4==0&&(t%100!=0||t%400==0),x=[0,31,60,91,121,152,182,213,244,274,305,335],H=[0,31,59,90,120,151,181,212,243,273,304,334],z=t=>(X(t.getFullYear())?x:H)[t.getMonth()]+t.getDate()-1,Z=9007199254740992,W=-9007199254740992,q=t=>t<W||t>Z?NaN:Number(t);function B(t,e){t=q(t);var o=new Date(1e3*t);if(isNaN(o.getTime()))return 1;L[e>>2]=o.getSeconds(),L[e+4>>2]=o.getMinutes(),L[e+8>>2]=o.getHours(),L[e+12>>2]=o.getDate(),L[e+16>>2]=o.getMonth(),L[e+20>>2]=o.getFullYear()-1900,L[e+24>>2]=o.getDay();var r=0|z(o);L[e+28>>2]=r,L[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));return L[e+32>>2]=i,0}var K,V=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},$=(t,e,o)=>V(t,l,e,o),k=(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);K[t>>2]=60*a,L[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},s=y(i),P=y(c);c<i?($(s,o,17),$(P,r,17)):($(s,r,17),$(P,o,17))},J=()=>Date.now(),Q=()=>2147483648,tt=(t,e)=>Math.ceil(t/e)*e,et=t=>{var e=(t-br.buffer.byteLength+65535)/65536|0;try{return br.grow(e),f(),1}catch(o){}},ot=t=>{var e=l.length;t>>>=0;var o=Q();if(t>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,tt(Math.max(t,_),65536));if(et(p))return!0}return!1},rt={},_t=()=>r,pt=()=>{if(!pt.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:_t()};for(var e in rt)void 0===rt[e]?delete t[e]:t[e]=rt[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);pt.strings=o}return pt.strings},nt=(t,e)=>{var o=0,r=0;for(var _ of pt()){var p=e+o;K[t+r>>2]=p,o+=$(_,p,1/0)+1,r+=4}return 0},it=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},ct=(t,e)=>{var o=pt();K[t>>2]=o.length;var r=0;for(var _ of o)r+=it(_)+1;return K[e>>2]=r,0},at=t=>52,yt=(t,e,o,r)=>52;function st(t,e,o,r){return 70}var Pt,gt,ut,ft,bt,Et,dt,Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Gt,Ct,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,qt,Bt,Kt,Vt,$t,kt,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ge,Ce,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,qe,Be,Ke,Ve,$e,ke,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No,lo,vo,Mo,jo,Do,Ao,Ro,Go,Co,Io,Lo,Uo,wo,Fo,Yo,Xo,xo,Ho,zo,Zo,Wo,qo,Bo,Ko,Vo,$o,ko,Jo,Qo,tr,er,or,rr,_r,pr,nr,ir,cr,ar,yr,sr,Pr,gr,ur,fr,br,Er=[null,[],[]],dr=(t,e)=>{var o=Er[t];e&&10!==e?o.push(e):((1===t?y:s)(D(o)),o.length=0)},Tr=(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=K[e>>2],i=K[e+4>>2];e+=8;for(var c=0;c<i;c++)dr(t,l[n+c]);_+=i}return K[r>>2]=_,0},Or=(t,e,o)=>{var r=it(t)+1,_=new Array(r);return V(t,_,0,_.length),_},mr=[];function hr(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return a[t];case"i16":return Pt[t>>1];case"i32":return L[t>>2];case"i64":return ft[t>>3];case"float":return gt[t>>2];case"double":return ut[t>>3];case"*":return K[t>>2];default:E(`invalid type for getValue: ${e}`)}}function Sr(t){o._webidl_free=t.u,o._webidl_malloc=t.v,bt=o._emscripten_bind_PeObject_getCode_0=t.w,Et=o._emscripten_bind_PeObject_getName_1=t.x,dt=o._emscripten_bind_PeObject_getType_0=t.y,Tt=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,Ot=o._emscripten_bind_PeCoordsys_getCode_0=t.A,mt=o._emscripten_bind_PeCoordsys_getName_1=t.B,ht=o._emscripten_bind_PeCoordsys_getType_0=t.C,St=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,Nt=o._emscripten_bind_PeUnit_getCode_0=t.E,lt=o._emscripten_bind_PeUnit_getName_1=t.F,vt=o._emscripten_bind_PeUnit_getType_0=t.G,Mt=o._emscripten_bind_VoidPtr___destroy___0=t.H,jt=o._emscripten_bind_PeAngunit_getCode_0=t.I,Dt=o._emscripten_bind_PeAngunit_getName_1=t.J,At=o._emscripten_bind_PeAngunit_getType_0=t.K,Rt=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,Gt=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,Ct=o._emscripten_bind_PeDatum_getCode_0=t.N,It=o._emscripten_bind_PeDatum_getName_1=t.O,Lt=o._emscripten_bind_PeDatum_getType_0=t.P,Ut=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,wt=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,Ft=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,Yt=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,Xt=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,xt=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,Ht=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,zt=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,Zt=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Wt=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,qt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,Bt=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,Kt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,Vt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,$t=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,kt=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,Jt=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,Qt=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,te=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,ee=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,oe=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,re=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,_e=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,pe=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ne=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ie=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,ce=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,ae=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,ye=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,se=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,Pe=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,ge=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,ue=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,fe=o._emscripten_bind_PeDouble_get_val_0=t.va,be=o._emscripten_bind_PeDouble_set_val_1=t.wa,Ee=o._emscripten_bind_PeDouble___destroy___0=t.xa,de=o._emscripten_bind_PeFactory_initialize_1=t.ya,Te=o._emscripten_bind_PeFactory_factoryByType_2=t.za,Oe=o._emscripten_bind_PeFactory_fromString_2=t.Aa,me=o._emscripten_bind_PeFactory_getCode_1=t.Ba,he=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,Se=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Ne=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,le=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,ve=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Me=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,je=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,De=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ae=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Re=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Ge=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,Ce=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,Ie=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,Le=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Ue=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,we=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,Fe=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,Ye=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,Xe=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,xe=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,He=o._emscripten_bind_PeGeogtran_usable_0=t.Wa,ze=o._emscripten_bind_PeGeogtran_getCode_0=t.Xa,Ze=o._emscripten_bind_PeGeogtran_getName_1=t.Ya,We=o._emscripten_bind_PeGeogtran_getType_0=t.Za,qe=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t._a,Be=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t.$a,Ke=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.ab,Ve=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.bb,$e=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.cb,ke=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.db,Je=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.eb,Qe=o._emscripten_bind_PeHorizon_getNump_0=t.fb,to=o._emscripten_bind_PeHorizon_getKind_0=t.gb,eo=o._emscripten_bind_PeHorizon_getInclusive_0=t.hb,oo=o._emscripten_bind_PeHorizon_getSize_0=t.ib,ro=o._emscripten_bind_PeHorizon_getCoord_0=t.jb,_o=o._emscripten_bind_PeInteger_PeInteger_1=t.kb,po=o._emscripten_bind_PeInteger_get_val_0=t.lb,no=o._emscripten_bind_PeInteger_set_val_1=t.mb,io=o._emscripten_bind_PeInteger___destroy___0=t.nb,co=o._emscripten_bind_PeLineType_geodetic_distance_10=t.ob,ao=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.pb,yo=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.qb,so=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.rb,Po=o._emscripten_bind_PeMath_phi_to_eta_2=t.sb,go=o._emscripten_bind_PeMath_eta_to_phi_2=t.tb,uo=o._emscripten_bind_PeMath_phi_to_phig_2=t.ub,fo=o._emscripten_bind_PeMath_q_3=t.vb,bo=o._emscripten_bind_PeMath_q90_2=t.wb,Eo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.xb,To=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.yb,Oo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.zb,mo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.Ab,ho=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Bb,So=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Cb,No=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Db,lo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Eb,vo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Fb,Mo=o._emscripten_bind_PeParameter_getValue_0=t.Gb,jo=o._emscripten_bind_PeParameter_getCode_0=t.Hb,Do=o._emscripten_bind_PeParameter_getName_1=t.Ib,Ao=o._emscripten_bind_PeParameter_getType_0=t.Jb,Ro=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Kb,Go=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Lb,Co=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Mb,Io=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Nb,Lo=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Ob,Uo=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Pb,wo=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Qb,Fo=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Rb,Yo=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Sb,Xo=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Tb,xo=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Ub,Ho=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Vb,zo=o._emscripten_bind_PePCSInfo_generate_2=t.Wb,Zo=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Xb,Wo=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Yb,qo=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Zb,Bo=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t._b,Ko=o._emscripten_bind_PePrimem_getLongitude_0=t.$b,Vo=o._emscripten_bind_PePrimem_getCode_0=t.ac,$o=o._emscripten_bind_PePrimem_getName_1=t.bc,ko=o._emscripten_bind_PePrimem_getType_0=t.cc,Jo=o._emscripten_bind_PeProjcs_Delete_0=t.dc,Qo=o._emscripten_bind_PeProjcs_getGeogcs_0=t.ec,tr=o._emscripten_bind_PeProjcs_getProjection_0=t.fc,er=o._emscripten_bind_PeProjcs_getParameters_0=t.gc,or=o._emscripten_bind_PeProjcs_getUnit_0=t.hc,rr=o._emscripten_bind_PeProjcs_loadConstants_0=t.ic,_r=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.jc,pr=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.kc,nr=o._emscripten_bind_PeProjcs_isEqual_1=t.lc,ir=o._emscripten_bind_PeProjcs_getCode_0=t.mc,cr=o._emscripten_bind_PeProjcs_getName_1=t.nc,ar=o._emscripten_bind_PeProjcs_getType_0=t.oc,yr=o._emscripten_bind_PeSpheroid_getAxis_0=t.pc,sr=o._emscripten_bind_PeSpheroid_getFlattening_0=t.qc,Pr=o._emscripten_bind_PeSpheroid_getCode_0=t.rc,gr=o._emscripten_bind_PeSpheroid_getName_1=t.sc,ur=o._emscripten_bind_PeSpheroid_getType_0=t.tc,fr=o._emscripten_bind_PeVersion_version_string_0=t.uc,o._pe_getPeGTlistExtendedEntrySize=t.vc,o._pe_getPeGTlistExtendedGTsSize=t.wc,o._pe_getPeHorizonSize=t.xc,o._pe_geog_to_geog=t.yc,o._pe_geog_to_proj=t.zc,o._pe_geog_to_dd=t.Ac,o._pe_dd_to_geog=t.Bc,o._pe_geog_to_ddm=t.Cc,o._pe_ddm_to_geog=t.Dc,o._pe_geog_to_dms=t.Ec,o._pe_dms_to_geog=t.Fc,o._pe_geog_to_mgrs_extended=t.Gc,o._pe_mgrs_to_geog_extended=t.Hc,o._pe_geog_to_usng=t.Ic,o._pe_usng_to_geog=t.Jc,o._pe_geog_to_utm=t.Kc,o._pe_utm_to_geog=t.Lc,o._pe_object_to_string_ext=t.Mc,o._pe_object_is_wkt2_needed=t.Nc,o._pe_proj_to_geog_center=t.Oc,br=t.s,t.__indirect_function_table}o.getValue=hr,o.UTF8ToString=A;var Nr,lr={c:R,n:G,i:C,d:I,l:U,k:w,m:F,o:Y,p:B,q:k,r:J,j:ot,f:nt,g:ct,a:at,h:yt,e:st,b:Tr};async function vr(){P||b()}function Mr(){}function jr(t){return(t||Mr).__cache__}function Dr(t,e){var o=jr(e),r=o[t];return r||((r=Object.create((e||Mr).prototype)).ptr=t,o[t]=r)}function Ar(t,e){return Dr(t.ptr,e)}function Rr(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete jr(t.__class__)[t.ptr]}function Gr(t,e){return t.ptr===e.ptr}function Cr(t){return t.ptr}function Ir(t){return t.__class__}Nr=await N(),await vr(),Mr.prototype=Object.create(Mr.prototype),Mr.prototype.constructor=Mr,Mr.prototype.__class__=Mr,Mr.__cache__={},o.WrapperObject=Mr,o.getCache=jr,o.wrapPointer=Dr,o.castObject=Ar,o.NULL=Dr(0),o.destroy=Rr,o.compare=Gr,o.getPointer=Cr,o.getClass=Ir;var Lr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Lr.needed){for(var t=0;t<Lr.temps.length;t++)o._webidl_free(Lr.temps[t]);Lr.temps.length=0,o._webidl_free(Lr.buffer),Lr.buffer=0,Lr.size+=Lr.needed,Lr.needed=0}Lr.buffer||(Lr.size+=128,Lr.buffer=o._webidl_malloc(Lr.size),g(Lr.buffer)),Lr.pos=0},alloc(t,e){g(Lr.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=tt(p,8),Lr.pos+p>=Lr.size?(g(p>0),Lr.needed+=p,r=o._webidl_malloc(p),Lr.temps.push(r)):(r=Lr.buffer+Lr.pos,Lr.pos+=p),r}};function Ur(t){if("string"==typeof t){for(var e=Or(t),o=Lr.alloc(e,a),r=0;r<e.length;r++)a[o+r]=e[r];return o}return t}function wr(t){if("object"==typeof t){for(var e=Lr.alloc(t,a),o=0;o<t.length;o++)a[e+o]=t[o];return e}return t}function Fr(t){if("object"==typeof t){for(var e=Lr.alloc(t,Pt),o=e/2,r=0;r<t.length;r++)Pt[o+r]=t[r];return e}return t}function Yr(t){if("object"==typeof t){for(var e=Lr.alloc(t,L),o=e/4,r=0;r<t.length;r++)L[o+r]=t[r];return e}return t}function Xr(t){if("object"==typeof t){for(var e=Lr.alloc(t,gt),o=e/4,r=0;r<t.length;r++)gt[o+r]=t[r];return e}return t}function xr(t){if("object"==typeof t){for(var e=Lr.alloc(t,ut),o=e/8,r=0;r<t.length;r++)ut[o+r]=t[r];return e}return t}function Hr(){throw"cannot construct a PeObject, no constructor in IDL"}function zr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Zr(){throw"cannot construct a PeUnit, no constructor in IDL"}function Wr(){throw"cannot construct a VoidPtr, no constructor in IDL"}function qr(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Br(){throw"cannot construct a PeDatum, no constructor in IDL"}function Kr(){throw"cannot construct a PeDefs, no constructor in IDL"}function Vr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=ue(t),jr(Vr)[this.ptr]=this}function $r(){throw"cannot construct a PeFactory, no constructor in IDL"}function kr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=he(t,e,o,r,_,p),jr(kr)[this.ptr]=this}function Jr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function Qr(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function t_(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function e_(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function o_(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function r_(){throw"cannot construct a PeHorizon, no constructor in IDL"}function __(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=_o(t),jr(__)[this.ptr]=this}function p_(){throw"cannot construct a PeLineType, no constructor in IDL"}function n_(){throw"cannot construct a PeMath, no constructor in IDL"}function i_(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function c_(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function a_(){throw"cannot construct a PeParameter, no constructor in IDL"}function y_(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function s_(){throw"cannot construct a PePrimem, no constructor in IDL"}function P_(){throw"cannot construct a PeProjcs, no constructor in IDL"}function g_(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function u_(){throw"cannot construct a PeVersion, no constructor in IDL"}return Hr.prototype=Object.create(Mr.prototype),Hr.prototype.constructor=Hr,Hr.prototype.__class__=Hr,Hr.__cache__={},o.PeObject=Hr,Hr.prototype.getCode=Hr.prototype.getCode=function(){var t=this.ptr;return bt(t)},Hr.prototype.getName=Hr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(Et(e,t))},Hr.prototype.getType=Hr.prototype.getType=function(){var t=this.ptr;return dt(t)},zr.prototype=Object.create(Hr.prototype),zr.prototype.constructor=zr,zr.prototype.__class__=zr,zr.__cache__={},o.PeCoordsys=zr,zr.prototype.isEqual=zr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Tt(e,t)},zr.prototype.getCode=zr.prototype.getCode=function(){var t=this.ptr;return Ot(t)},zr.prototype.getName=zr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(mt(e,t))},zr.prototype.getType=zr.prototype.getType=function(){var t=this.ptr;return ht(t)},Zr.prototype=Object.create(Hr.prototype),Zr.prototype.constructor=Zr,Zr.prototype.__class__=Zr,Zr.__cache__={},o.PeUnit=Zr,Zr.prototype.getUnitFactor=Zr.prototype.getUnitFactor=function(){var t=this.ptr;return St(t)},Zr.prototype.getCode=Zr.prototype.getCode=function(){var t=this.ptr;return Nt(t)},Zr.prototype.getName=Zr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(lt(e,t))},Zr.prototype.getType=Zr.prototype.getType=function(){var t=this.ptr;return vt(t)},Wr.prototype=Object.create(Mr.prototype),Wr.prototype.constructor=Wr,Wr.prototype.__class__=Wr,Wr.__cache__={},o.VoidPtr=Wr,Wr.prototype.__destroy__=Wr.prototype.__destroy__=function(){var t=this.ptr;Mt(t)},qr.prototype=Object.create(Zr.prototype),qr.prototype.constructor=qr,qr.prototype.__class__=qr,qr.__cache__={},o.PeAngunit=qr,qr.prototype.getCode=qr.prototype.getCode=function(){var t=this.ptr;return jt(t)},qr.prototype.getName=qr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(Dt(e,t))},qr.prototype.getType=qr.prototype.getType=function(){var t=this.ptr;return At(t)},qr.prototype.getUnitFactor=qr.prototype.getUnitFactor=function(){var t=this.ptr;return Rt(t)},Br.prototype=Object.create(Hr.prototype),Br.prototype.constructor=Br,Br.prototype.__class__=Br,Br.__cache__={},o.PeDatum=Br,Br.prototype.getSpheroid=Br.prototype.getSpheroid=function(){var t=this.ptr;return Dr(Gt(t),g_)},Br.prototype.getCode=Br.prototype.getCode=function(){var t=this.ptr;return Ct(t)},Br.prototype.getName=Br.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(It(e,t))},Br.prototype.getType=Br.prototype.getType=function(){var t=this.ptr;return Lt(t)},Kr.prototype=Object.create(Mr.prototype),Kr.prototype.constructor=Kr,Kr.prototype.__class__=Kr,Kr.__cache__={},o.PeDefs=Kr,Kr.prototype.get_PE_BUFFER_MAX=Kr.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Ut(t)},Object.defineProperty(Kr.prototype,"PE_BUFFER_MAX",{get:Kr.prototype.get_PE_BUFFER_MAX}),Kr.prototype.get_PE_NAME_MAX=Kr.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return wt(t)},Object.defineProperty(Kr.prototype,"PE_NAME_MAX",{get:Kr.prototype.get_PE_NAME_MAX}),Kr.prototype.get_PE_MGRS_MAX=Kr.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return Ft(t)},Object.defineProperty(Kr.prototype,"PE_MGRS_MAX",{get:Kr.prototype.get_PE_MGRS_MAX}),Kr.prototype.get_PE_USNG_MAX=Kr.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return Yt(t)},Object.defineProperty(Kr.prototype,"PE_USNG_MAX",{get:Kr.prototype.get_PE_USNG_MAX}),Kr.prototype.get_PE_DD_MAX=Kr.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return Xt(t)},Object.defineProperty(Kr.prototype,"PE_DD_MAX",{get:Kr.prototype.get_PE_DD_MAX}),Kr.prototype.get_PE_DMS_MAX=Kr.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return xt(t)},Object.defineProperty(Kr.prototype,"PE_DMS_MAX",{get:Kr.prototype.get_PE_DMS_MAX}),Kr.prototype.get_PE_DDM_MAX=Kr.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return Ht(t)},Object.defineProperty(Kr.prototype,"PE_DDM_MAX",{get:Kr.prototype.get_PE_DDM_MAX}),Kr.prototype.get_PE_UTM_MAX=Kr.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return zt(t)},Object.defineProperty(Kr.prototype,"PE_UTM_MAX",{get:Kr.prototype.get_PE_UTM_MAX}),Kr.prototype.get_PE_PARM_MAX=Kr.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return Zt(t)},Object.defineProperty(Kr.prototype,"PE_PARM_MAX",{get:Kr.prototype.get_PE_PARM_MAX}),Kr.prototype.get_PE_TYPE_NONE=Kr.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Wt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_NONE",{get:Kr.prototype.get_PE_TYPE_NONE}),Kr.prototype.get_PE_TYPE_GEOGCS=Kr.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return qt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_GEOGCS",{get:Kr.prototype.get_PE_TYPE_GEOGCS}),Kr.prototype.get_PE_TYPE_PROJCS=Kr.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return Bt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_PROJCS",{get:Kr.prototype.get_PE_TYPE_PROJCS}),Kr.prototype.get_PE_TYPE_GEOGTRAN=Kr.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return Kt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_GEOGTRAN",{get:Kr.prototype.get_PE_TYPE_GEOGTRAN}),Kr.prototype.get_PE_TYPE_COORDSYS=Kr.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return Vt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_COORDSYS",{get:Kr.prototype.get_PE_TYPE_COORDSYS}),Kr.prototype.get_PE_TYPE_UNIT=Kr.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return $t(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_UNIT",{get:Kr.prototype.get_PE_TYPE_UNIT}),Kr.prototype.get_PE_TYPE_LINUNIT=Kr.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return kt(t)},Object.defineProperty(Kr.prototype,"PE_TYPE_LINUNIT",{get:Kr.prototype.get_PE_TYPE_LINUNIT}),Kr.prototype.get_PE_STR_OPTS_NONE=Kr.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return Jt(t)},Object.defineProperty(Kr.prototype,"PE_STR_OPTS_NONE",{get:Kr.prototype.get_PE_STR_OPTS_NONE}),Kr.prototype.get_PE_STR_AUTH_NONE=Kr.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return Qt(t)},Object.defineProperty(Kr.prototype,"PE_STR_AUTH_NONE",{get:Kr.prototype.get_PE_STR_AUTH_NONE}),Kr.prototype.get_PE_STR_AUTH_TOP=Kr.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return te(t)},Object.defineProperty(Kr.prototype,"PE_STR_AUTH_TOP",{get:Kr.prototype.get_PE_STR_AUTH_TOP}),Kr.prototype.get_PE_STR_NAME_CANON=Kr.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return ee(t)},Object.defineProperty(Kr.prototype,"PE_STR_NAME_CANON",{get:Kr.prototype.get_PE_STR_NAME_CANON}),Kr.prototype.get_PE_STR_FMT_WKT=Kr.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return oe(t)},Object.defineProperty(Kr.prototype,"PE_STR_FMT_WKT",{get:Kr.prototype.get_PE_STR_FMT_WKT}),Kr.prototype.get_PE_STR_FMT_WKT2=Kr.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return re(t)},Object.defineProperty(Kr.prototype,"PE_STR_FMT_WKT2",{get:Kr.prototype.get_PE_STR_FMT_WKT2}),Kr.prototype.get_PE_PARM_X0=Kr.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return _e(t)},Object.defineProperty(Kr.prototype,"PE_PARM_X0",{get:Kr.prototype.get_PE_PARM_X0}),Kr.prototype.get_PE_PARM_ND=Kr.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return pe(t)},Object.defineProperty(Kr.prototype,"PE_PARM_ND",{get:Kr.prototype.get_PE_PARM_ND}),Kr.prototype.get_PE_TRANSFORM_1_TO_2=Kr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ne(t)},Object.defineProperty(Kr.prototype,"PE_TRANSFORM_1_TO_2",{get:Kr.prototype.get_PE_TRANSFORM_1_TO_2}),Kr.prototype.get_PE_TRANSFORM_2_TO_1=Kr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ie(t)},Object.defineProperty(Kr.prototype,"PE_TRANSFORM_2_TO_1",{get:Kr.prototype.get_PE_TRANSFORM_2_TO_1}),Kr.prototype.get_PE_TRANSFORM_P_TO_G=Kr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return ce(t)},Object.defineProperty(Kr.prototype,"PE_TRANSFORM_P_TO_G",{get:Kr.prototype.get_PE_TRANSFORM_P_TO_G}),Kr.prototype.get_PE_TRANSFORM_G_TO_P=Kr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return ae(t)},Object.defineProperty(Kr.prototype,"PE_TRANSFORM_G_TO_P",{get:Kr.prototype.get_PE_TRANSFORM_G_TO_P}),Kr.prototype.get_PE_HORIZON_RECT=Kr.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return ye(t)},Object.defineProperty(Kr.prototype,"PE_HORIZON_RECT",{get:Kr.prototype.get_PE_HORIZON_RECT}),Kr.prototype.get_PE_HORIZON_POLY=Kr.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return se(t)},Object.defineProperty(Kr.prototype,"PE_HORIZON_POLY",{get:Kr.prototype.get_PE_HORIZON_POLY}),Kr.prototype.get_PE_HORIZON_LINE=Kr.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Pe(t)},Object.defineProperty(Kr.prototype,"PE_HORIZON_LINE",{get:Kr.prototype.get_PE_HORIZON_LINE}),Kr.prototype.get_PE_HORIZON_DELTA=Kr.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return ge(t)},Object.defineProperty(Kr.prototype,"PE_HORIZON_DELTA",{get:Kr.prototype.get_PE_HORIZON_DELTA}),Vr.prototype=Object.create(Mr.prototype),Vr.prototype.constructor=Vr,Vr.prototype.__class__=Vr,Vr.__cache__={},o.PeDouble=Vr,Vr.prototype.get_val=Vr.prototype.get_val=function(){var t=this.ptr;return fe(t)},Vr.prototype.set_val=Vr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),be(e,t)},Object.defineProperty(Vr.prototype,"val",{get:Vr.prototype.get_val,set:Vr.prototype.set_val}),Vr.prototype.__destroy__=Vr.prototype.__destroy__=function(){var t=this.ptr;Ee(t)},$r.prototype=Object.create(Mr.prototype),$r.prototype.constructor=$r,$r.prototype.__class__=$r,$r.__cache__={},o.PeFactory=$r,$r.prototype.initialize=$r.prototype.initialize=function(t){Lr.prepare(),t=t&&"object"==typeof t?t.ptr:Ur(t),de(t)},$r.prototype.factoryByType=$r.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Dr(Te(t,e),Hr)},$r.prototype.fromString=$r.prototype.fromString=function(t,e){return Lr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Ur(e),Dr(Oe(t,e),Hr)},$r.prototype.getCode=$r.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),me(t)},kr.prototype=Object.create(Mr.prototype),kr.prototype.constructor=kr,kr.prototype.__class__=kr,kr.__cache__={},o.PeGCSExtent=kr,kr.prototype.getLLon=kr.prototype.getLLon=function(){var t=this.ptr;return Se(t)},kr.prototype.getSLat=kr.prototype.getSLat=function(){var t=this.ptr;return Ne(t)},kr.prototype.getRLon=kr.prototype.getRLon=function(){var t=this.ptr;return le(t)},kr.prototype.getNLat=kr.prototype.getNLat=function(){var t=this.ptr;return ve(t)},kr.prototype.__destroy__=kr.prototype.__destroy__=function(){var t=this.ptr;Me(t)},Jr.prototype=Object.create(zr.prototype),Jr.prototype.constructor=Jr,Jr.prototype.__class__=Jr,Jr.__cache__={},o.PeGeogcs=Jr,Jr.prototype.Delete=Jr.prototype.Delete=function(){var t=this.ptr;je(t)},Jr.prototype.cloneAlterUnits=Jr.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Dr(De(e,t),Jr)},Jr.prototype.getDatum=Jr.prototype.getDatum=function(){var t=this.ptr;return Dr(Ae(t),Br)},Jr.prototype.getPrimem=Jr.prototype.getPrimem=function(){var t=this.ptr;return Dr(Re(t),s_)},Jr.prototype.getUnit=Jr.prototype.getUnit=function(){var t=this.ptr;return Dr(Ge(t),qr)},Jr.prototype.isEqual=Jr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Ce(e,t)},Jr.prototype.getCode=Jr.prototype.getCode=function(){var t=this.ptr;return Ie(t)},Jr.prototype.getName=Jr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(Le(e,t))},Jr.prototype.getType=Jr.prototype.getType=function(){var t=this.ptr;return Ue(t)},Qr.prototype=Object.create(Hr.prototype),Qr.prototype.constructor=Qr,Qr.prototype.__class__=Qr,Qr.__cache__={},o.PeGeogtran=Qr,Qr.prototype.isEqual=Qr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!we(e,t)},Qr.prototype.getGeogcs1=Qr.prototype.getGeogcs1=function(){var t=this.ptr;return Dr(Fe(t),Jr)},Qr.prototype.getGeogcs2=Qr.prototype.getGeogcs2=function(){var t=this.ptr;return Dr(Ye(t),Jr)},Qr.prototype.getParameters=Qr.prototype.getParameters=function(){var t=this.ptr;return Xe(t)},Qr.prototype.loadConstants=Qr.prototype.loadConstants=function(){var t=this.ptr;return!!xe(t)},Qr.prototype.usable=Qr.prototype.usable=function(){var t=this.ptr;return!!He(t)},Qr.prototype.getCode=Qr.prototype.getCode=function(){var t=this.ptr;return ze(t)},Qr.prototype.getName=Qr.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(Ze(e,t))},Qr.prototype.getType=Qr.prototype.getType=function(){var t=this.ptr;return We(t)},t_.prototype=Object.create(Mr.prototype),t_.prototype.constructor=t_,t_.prototype.__class__=t_,t_.__cache__={},o.PeGTlistExtended=t_,t_.prototype.getGTlist=t_.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Dr(qe(t,e,o,r,_,p),e_)},t_.prototype.get_PE_GTLIST_OPTS_COMMON=t_.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return Be(t)},Object.defineProperty(t_.prototype,"PE_GTLIST_OPTS_COMMON",{get:t_.prototype.get_PE_GTLIST_OPTS_COMMON}),e_.prototype=Object.create(Mr.prototype),e_.prototype.constructor=e_,e_.prototype.__class__=e_,e_.__cache__={},o.PeGTlistExtendedEntry=e_,e_.prototype.getEntries=e_.prototype.getEntries=function(){var t=this.ptr;return Dr(Ke(t),o_)},e_.prototype.getSteps=e_.prototype.getSteps=function(){var t=this.ptr;return Ve(t)},e_.prototype.Delete=e_.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),$e(t)},o_.prototype=Object.create(Mr.prototype),o_.prototype.constructor=o_,o_.prototype.__class__=o_,o_.__cache__={},o.PeGTlistExtendedGTs=o_,o_.prototype.getDirection=o_.prototype.getDirection=function(){var t=this.ptr;return ke(t)},o_.prototype.getGeogtran=o_.prototype.getGeogtran=function(){var t=this.ptr;return Dr(Je(t),Qr)},r_.prototype=Object.create(Mr.prototype),r_.prototype.constructor=r_,r_.prototype.__class__=r_,r_.__cache__={},o.PeHorizon=r_,r_.prototype.getNump=r_.prototype.getNump=function(){var t=this.ptr;return Qe(t)},r_.prototype.getKind=r_.prototype.getKind=function(){var t=this.ptr;return to(t)},r_.prototype.getInclusive=r_.prototype.getInclusive=function(){var t=this.ptr;return eo(t)},r_.prototype.getSize=r_.prototype.getSize=function(){var t=this.ptr;return oo(t)},r_.prototype.getCoord=r_.prototype.getCoord=function(){var t=this.ptr;return ro(t)},__.prototype=Object.create(Mr.prototype),__.prototype.constructor=__,__.prototype.__class__=__,__.__cache__={},o.PeInteger=__,__.prototype.get_val=__.prototype.get_val=function(){var t=this.ptr;return po(t)},__.prototype.set_val=__.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),no(e,t)},Object.defineProperty(__.prototype,"val",{get:__.prototype.get_val,set:__.prototype.set_val}),__.prototype.__destroy__=__.prototype.__destroy__=function(){var t=this.ptr;io(t)},p_.prototype=Object.create(Mr.prototype),p_.prototype.constructor=p_,p_.prototype.__class__=p_,p_.__cache__={},o.PeLineType=p_,p_.prototype.geodetic_distance=p_.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),co(t,e,o,r,_,p,n,i,c,a)},p_.prototype.geodetic_coordinate=p_.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),ao(t,e,o,r,_,p,n,i,c)},p_.prototype.geodesic_coordinate=p_.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),yo(t,e,o,r,_,p,n,i)},p_.prototype.great_elliptic_distance=p_.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),so(t,e,o,r,_,p,n,i,c)},n_.prototype=Object.create(Mr.prototype),n_.prototype.constructor=n_,n_.prototype.__class__=n_,n_.__cache__={},o.PeMath=n_,n_.prototype.phi_to_eta=n_.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Po(t,e)},n_.prototype.eta_to_phi=n_.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),go(t,e)},n_.prototype.phi_to_phig=n_.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),uo(t,e)},n_.prototype.q=n_.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),fo(t,e,o)},n_.prototype.q90=n_.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),bo(t,e)},i_.prototype=Object.create(Mr.prototype),i_.prototype.constructor=i_,i_.prototype.__class__=i_,i_.__cache__={},o.PeNotationMgrs=i_,i_.prototype.get_PE_MGRS_STYLE_NEW=i_.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return Eo(t)},Object.defineProperty(i_.prototype,"PE_MGRS_STYLE_NEW",{get:i_.prototype.get_PE_MGRS_STYLE_NEW}),i_.prototype.get_PE_MGRS_STYLE_OLD=i_.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return To(t)},Object.defineProperty(i_.prototype,"PE_MGRS_STYLE_OLD",{get:i_.prototype.get_PE_MGRS_STYLE_OLD}),i_.prototype.get_PE_MGRS_STYLE_AUTO=i_.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return Oo(t)},Object.defineProperty(i_.prototype,"PE_MGRS_STYLE_AUTO",{get:i_.prototype.get_PE_MGRS_STYLE_AUTO}),i_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=i_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return mo(t)},Object.defineProperty(i_.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:i_.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),i_.prototype.get_PE_MGRS_ADD_SPACES=i_.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return ho(t)},Object.defineProperty(i_.prototype,"PE_MGRS_ADD_SPACES",{get:i_.prototype.get_PE_MGRS_ADD_SPACES}),c_.prototype=Object.create(Mr.prototype),c_.prototype.constructor=c_,c_.prototype.__class__=c_,c_.__cache__={},o.PeNotationUtm=c_,c_.prototype.get_PE_UTM_OPTS_NONE=c_.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return So(t)},Object.defineProperty(c_.prototype,"PE_UTM_OPTS_NONE",{get:c_.prototype.get_PE_UTM_OPTS_NONE}),c_.prototype.get_PE_UTM_OPTS_NS=c_.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return No(t)},Object.defineProperty(c_.prototype,"PE_UTM_OPTS_NS",{get:c_.prototype.get_PE_UTM_OPTS_NS}),c_.prototype.get_PE_UTM_OPTS_NS_STRICT=c_.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return lo(t)},Object.defineProperty(c_.prototype,"PE_UTM_OPTS_NS_STRICT",{get:c_.prototype.get_PE_UTM_OPTS_NS_STRICT}),c_.prototype.get_PE_UTM_OPTS_ADD_SPACES=c_.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return vo(t)},Object.defineProperty(c_.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:c_.prototype.get_PE_UTM_OPTS_ADD_SPACES}),a_.prototype=Object.create(Hr.prototype),a_.prototype.constructor=a_,a_.prototype.__class__=a_,a_.__cache__={},o.PeParameter=a_,a_.prototype.getValue=a_.prototype.getValue=function(){var t=this.ptr;return Mo(t)},a_.prototype.getCode=a_.prototype.getCode=function(){var t=this.ptr;return jo(t)},a_.prototype.getName=a_.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(Do(e,t))},a_.prototype.getType=a_.prototype.getType=function(){var t=this.ptr;return Ao(t)},y_.prototype=Object.create(Mr.prototype),y_.prototype.constructor=y_,y_.prototype.__class__=y_,y_.__cache__={},o.PePCSInfo=y_,y_.prototype.getCentralMeridian=y_.prototype.getCentralMeridian=function(){var t=this.ptr;return Ro(t)},y_.prototype.getDomainMinx=y_.prototype.getDomainMinx=function(){var t=this.ptr;return Go(t)},y_.prototype.getDomainMiny=y_.prototype.getDomainMiny=function(){var t=this.ptr;return Co(t)},y_.prototype.getDomainMaxx=y_.prototype.getDomainMaxx=function(){var t=this.ptr;return Io(t)},y_.prototype.getDomainMaxy=y_.prototype.getDomainMaxy=function(){var t=this.ptr;return Lo(t)},y_.prototype.getNorthPoleLocation=y_.prototype.getNorthPoleLocation=function(){var t=this.ptr;return Uo(t)},y_.prototype.getNorthPoleGeometry=y_.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return wo(t)},y_.prototype.getSouthPoleLocation=y_.prototype.getSouthPoleLocation=function(){var t=this.ptr;return Fo(t)},y_.prototype.getSouthPoleGeometry=y_.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return Yo(t)},y_.prototype.isDensificationNeeded=y_.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!Xo(t)},y_.prototype.isGcsHorizonMultiOverlap=y_.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!xo(t)},y_.prototype.isPannableRectangle=y_.prototype.isPannableRectangle=function(){var t=this.ptr;return!!Ho(t)},y_.prototype.generate=y_.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Dr(zo(t,e),y_)},y_.prototype.get_PE_PCSINFO_OPTION_NONE=y_.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return Zo(t)},Object.defineProperty(y_.prototype,"PE_PCSINFO_OPTION_NONE",{get:y_.prototype.get_PE_PCSINFO_OPTION_NONE}),y_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=y_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return Wo(t)},Object.defineProperty(y_.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:y_.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),y_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=y_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return qo(t)},Object.defineProperty(y_.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:y_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),y_.prototype.get_PE_POLE_POINT=y_.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return Bo(t)},Object.defineProperty(y_.prototype,"PE_POLE_POINT",{get:y_.prototype.get_PE_POLE_POINT}),s_.prototype=Object.create(Hr.prototype),s_.prototype.constructor=s_,s_.prototype.__class__=s_,s_.__cache__={},o.PePrimem=s_,s_.prototype.getLongitude=s_.prototype.getLongitude=function(){var t=this.ptr;return Ko(t)},s_.prototype.getCode=s_.prototype.getCode=function(){var t=this.ptr;return Vo(t)},s_.prototype.getName=s_.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A($o(e,t))},s_.prototype.getType=s_.prototype.getType=function(){var t=this.ptr;return ko(t)},P_.prototype=Object.create(zr.prototype),P_.prototype.constructor=P_,P_.prototype.__class__=P_,P_.__cache__={},o.PeProjcs=P_,P_.prototype.Delete=P_.prototype.Delete=function(){var t=this.ptr;Jo(t)},P_.prototype.getGeogcs=P_.prototype.getGeogcs=function(){var t=this.ptr;return Dr(Qo(t),Jr)},P_.prototype.getProjection=P_.prototype.getProjection=function(){var t=this.ptr;return Dr(tr(t),Hr)},P_.prototype.getParameters=P_.prototype.getParameters=function(){var t=this.ptr;return er(t)},P_.prototype.getUnit=P_.prototype.getUnit=function(){var t=this.ptr;return Dr(or(t),Zr)},P_.prototype.loadConstants=P_.prototype.loadConstants=function(){var t=this.ptr;return!!rr(t)},P_.prototype.horizonGcsGenerate=P_.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Dr(_r(t),r_)},P_.prototype.horizonPcsGenerate=P_.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Dr(pr(t),r_)},P_.prototype.isEqual=P_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!nr(e,t)},P_.prototype.getCode=P_.prototype.getCode=function(){var t=this.ptr;return ir(t)},P_.prototype.getName=P_.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(cr(e,t))},P_.prototype.getType=P_.prototype.getType=function(){var t=this.ptr;return ar(t)},g_.prototype=Object.create(Hr.prototype),g_.prototype.constructor=g_,g_.prototype.__class__=g_,g_.__cache__={},o.PeSpheroid=g_,g_.prototype.getAxis=g_.prototype.getAxis=function(){var t=this.ptr;return yr(t)},g_.prototype.getFlattening=g_.prototype.getFlattening=function(){var t=this.ptr;return sr(t)},g_.prototype.getCode=g_.prototype.getCode=function(){var t=this.ptr;return Pr(t)},g_.prototype.getName=g_.prototype.getName=function(t){var e=this.ptr;return Lr.prepare(),"object"==typeof t&&(t=wr(t)),A(gr(e,t))},g_.prototype.getType=g_.prototype.getType=function(){var t=this.ptr;return ur(t)},u_.prototype=Object.create(Mr.prototype),u_.prototype.constructor=u_,u_.prototype.__class__=u_,u_.__cache__={},o.PeVersion=u_,u_.prototype.version_string=u_.prototype.version_string=function(){var t=this.ptr;return A(fr(t))},o.ensureCache=Lr,o.ensureString=Ur,o.ensureInt8=wr,o.ensureInt16=Fr,o.ensureInt32=Yr,o.ensureFloat32=Xr,o.ensureFloat64=xr,o}export{t as default};
|
package/chunks/relateOperator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{aL as e,aM as r,aN as t,aO as a}from"./UnitFactory.js";import{getSpatialReference as s,fromGeometry as o,fromSpatialReference as n}from"../geometry/operators/support/apiConverter.js";class u{supportsCurves(){return!0}getOperatorType(){return 1}execute(r,t,a,s,o){return e(r,t,a,s,o)}isValidDE9IM(e){return 0===r(e)}accelerateGeometry(e,r,a){return t(e,r,a)}canAccelerateGeometry(e){return a(e)}}const c=new u;function p(e){const r=s(e);return c.accelerateGeometry(o(e),n(r),1)}function i(e,r,t){return c.execute(o(e),o(r),n(e.spatialReference),t,null)}function l(e){return c.isValidDE9IM(e)}const m=c.supportsCurves(),y=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:p,execute:i,isValidDE9IM:l,supportsCurves:m},Symbol.toStringTag,{value:"Module"}));export{p as a,i as e,l as i,y as r,m as s};
|
package/config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.2.0-next.
|
|
2
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.2.0-next.82";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as r}from"../../../chunks/GeometryCursor.js";import{E as t,n as s}from"../../../chunks/MultiPathImpl.js";import{G as o,l as n}from"../../../chunks/Geometry.js";import{Envelope2D as m}from"../../../chunks/Envelope2D.js";import{c as u}from"../../../chunks/Envelope.js";import{
|
|
2
|
+
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as r}from"../../../chunks/GeometryCursor.js";import{E as t,n as s}from"../../../chunks/MultiPathImpl.js";import{G as o,l as n}from"../../../chunks/Geometry.js";import{Envelope2D as m}from"../../../chunks/Envelope2D.js";import{c as u}from"../../../chunks/Envelope.js";import{_ as i,aR as l}from"../../../chunks/UnitFactory.js";class p{getOperatorType(){return 10008}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,r,t,s){const o=(new i).executeMany(e,t,s);return new c(o,r,t,s)}}class c extends r{m_polygons;m_polylines;m_resultPolygons=null;m_sr;m_progressTracker;m_bFirst;constructor(e,r,t,s){super(),this.m_polygons=e,this.m_polylines=r,this.m_sr=t,this.m_progressTracker=s,this.m_bFirst=!0}tock(){return!0}getRank(){return 1}next(){return this.m_bFirst&&(this.performOperation(),this.m_bFirst=!1),this.m_resultPolygons?this.m_resultPolygons.next():null}getGeometryID(){return null!=this.m_resultPolygons?this.m_resultPolygons.getGeometryID():-1}performOperation(){const e=new m,r=new t;let i,p=s;for(;i=this.m_polylines.next();){if(i.getGeometryType()!==o.enumPolyline||i.isEmpty())continue;p===s?p=r.addGeometry(i):r.appendGeometry(p,i);const t=new m;i.queryEnvelope(t),e.mergeEnvelope2D(t)}if(0===r.getTotalPointCount())return;for(;i=this.m_polygons.next();){if(!n(i.getGeometryType())||i.isEmpty())continue;const t=new m;i.queryEnvelope(t),e.mergeEnvelope2D(t),r.addGeometry(i)}const c=u(this.m_sr,e,!0);this.m_resultPolygons=l(r,p,c,this.m_progressTracker)}}const y=new p;function a(r,t,s){const o=y.execute(new e(r),new e(t),s,null);return Array.from(o)}function h(){return y.supportsCurves()}export{a as execute,h as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as r}from"../../../chunks/GeometryCursor.js";import{a as t,d as n,c as s}from"../../../chunks/Geometry.js";import{
|
|
2
|
+
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as r}from"../../../chunks/GeometryCursor.js";import{a as t,d as n,c as s}from"../../../chunks/Geometry.js";import{_ as i}from"../../../chunks/UnitFactory.js";import{Envelope2D as u}from"../../../chunks/Envelope2D.js";import{B as m}from"../../../chunks/Bufferer-CclWhXVb.js";class o{getOperatorType(){return 10004}supportsCurves(){return!0}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}executeMany(e,r,t,n,s){return this.executeManyEx(e,r,t,Number.NaN,96,n,s)}execute(r,s,i,u){Number.isFinite(i)||t("Invalid distance for buffer operation");const m=new e([r]),o=[i],c=this.executeMany(m,s,o,!1,u).next();return c||n("null buffer output"),c}executeManyEx(e,r,n,s,u,m,o){if(void 0!==n.find(e=>!Number.isFinite(e))&&t("Invalid distance for buffer operation"),m){const t=new c(e,r,n,s,u,!1,o);return(new i).executeMany(t,r,o,2)}return new c(e,r,n,s,u,!1,o)}}class c extends r{m_inputGeoms;m_spatialReference;m_progressTracker;m_bufferer;m_distances;m_maxDeviation;m_maxVerticesInFullCircle;m_currentUnionEnvelope2D=new u;m_index=-1;m_dindex=-1;constructor(e,r,t,n,s,i,u){super(),this.m_progressTracker=u,this.m_bufferer=new m(u),this.m_inputGeoms=e,this.m_spatialReference=r,this.m_distances=t,this.m_maxDeviation=n,this.m_maxVerticesInFullCircle=s}tock(){return!0}getRank(){return 1}next(){{let e;for(;e=this.m_inputGeoms.next();)return s(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(e,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(e,r){return this.m_bufferer.buffer(e,r,this.m_spatialReference,0,0,4,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const a=new o;function f(e,r,t){return a.execute(e,r,t,null)}function l(r,t,n,s){const i=a.executeMany(new e(r),t,n,s,null);return Array.from(i)}function h(r,t,n,s,i,u){const m=a.executeManyEx(new e(r),t,n,s,i,u,null);return Array.from(m)}function _(){return a.supportsCurves()}export{f as execute,l as executeMany,h as executeManyEx,_ as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import{
|
|
2
|
+
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import{Y as r}from"../../../chunks/UnitFactory.js";import"../../../chunks/Point2D.js";import"../../../chunks/MultiPathImpl.js";import"../../../chunks/Envelope.js";const t=new r;function o(n,r,o){return t.execute(n,r,o,null)}function e(r,o,e){const s=t.executeMany(new n(r),new n([o]),e,null);return Array.from(s)}function s(){return t.supportsCurves()}export{o as execute,e as executeMany,s as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as r}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import{
|
|
2
|
+
import{S as r}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import{Z as e}from"../../../chunks/UnitFactory.js";import"../../../chunks/MultiPathImpl.js";import"../../../chunks/Envelope.js";const n=new e;function t(r,e){return n.accelerateGeometry(r,e,1)}function o(r,e,t){return n.execute(r,e,t,null)}function u(e,t,o,u){const s=n.executeMany(new r(e),new r([t]),o,null,u);return Array.from(s)}function s(){return n.supportsCurves()}export{t as accelerateGeometry,o as execute,u as executeMany,s as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as t}from"../../../chunks/GeometryCursor.js";import{c as n,a as r,G as o,g as s}from"../../../chunks/Geometry.js";import{P as a,c as i}from"../../../chunks/Envelope.js";import{P as l,L as u}from"../../../chunks/MultiPathImpl.js";import{Envelope2D as c}from"../../../chunks/Envelope2D.js";import{P as m,r as N,t as g,m as y}from"../../../chunks/Point2D.js";import{
|
|
2
|
+
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as t}from"../../../chunks/GeometryCursor.js";import{c as n,a as r,G as o,g as s}from"../../../chunks/Geometry.js";import{P as a,c as i}from"../../../chunks/Envelope.js";import{P as l,L as u}from"../../../chunks/MultiPathImpl.js";import{Envelope2D as c}from"../../../chunks/Envelope2D.js";import{P as m,r as N,t as g,m as y}from"../../../chunks/Point2D.js";import{aP as h,I as p}from"../../../chunks/UnitFactory.js";import{a as P}from"../../../chunks/Centroid-CA-TwbbN.js";import{O as f}from"../../../chunks/OperatorProximity.js";class x{getOperatorType(){return 10203}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,t){return new d(e,t)}execute(e,t){return new d(null,t).labelPoint(e)}}class d extends t{m_inputGeoms;m_index=-1;m_progressTracker;m_progressCounter=0;progress_(){}tock(){return!0}getRank(){return 1}constructor(e,t){super(),this.m_progressTracker=t,this.m_inputGeoms=e}next(){const e=this.m_inputGeoms.next();return e?(n(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.labelPoint(e)):null}getGeometryID(){return this.m_index}labelPoint(e){if(null===e&&r("null pointer is not allowed"),e.getGeometryType()===o.enumPoint)return e;if(e.isEmpty())return new a({vd:e.getDescription()});switch(e.getGeometryType()){case o.enumPolygon:return this.labelPointPolygon(e);case o.enumPolyline:return this.labelPointPolyline(e);case o.enumMultiPoint:return this.labelPointMultiPoint(e);case o.enumEnvelope:return this.labelPointEnvelope(e);default:r("geometry is not supported")}}labelPointPolygon(e){const t=new c;e.queryEnvelope(t);const n=i(null,t,!0).total();let r=null,o=e;if(e.hasNonLinearSegments()){const t=new l({copy:e}),a=h(t,.25*n,n);s(a!==e),r=a,o=r}let u=0,y=0;for(let s=0,a=o.getPathCount();s<a;++s){const e=Math.abs(o.calculateRingArea2D(s));e>y&&(y=e,u=s)}const x=new m;if(Math.abs(y)<=2*n*n?x.setNAN():x.assign(P(o,u)),Number.isNaN(x.x)){const e=new c;return o.queryPathEnvelope(u,e),new a({pt:e.getCenter()})}if(o.getPointCount()<4)return new a({x:x.x,y:x.y});const d=m.getNAN(),w=[d.clone(),d.clone(),d.clone(),d.clone()],b=[Number.NaN,Number.NaN,Number.NaN,Number.NaN],C=[Number.NaN,Number.NaN,Number.NaN,Number.NaN];let _=!1,D=(new f).getNearestCoordinate(o,x,!0,!1);if(0===D.m_distance&&(_=!0,w[0]=x,D=(new f).getNearestCoordinate(o,x,!1,!1),D.m_distance>.25*t.minDimension()*1.66666666))return new a({x:x.x,y:x.y});b[0]=D.m_distance,C[0]=0;const k=new m;let A=!1,E=.25,G=-1;const q=new c;o.queryPathEnvelope(u,q);do{let e=Number.NaN;if(w[1]=this.calculateParacentroid_(o,N(q.xmin,q.xmax,E),n),w[1].isNAN()||(D=(new f).getNearestCoordinate(o,w[1],!1,!1),e=D.m_distance),e>n&&1===p(o,w[1],n))A=!0,b[1]=e,C[1]=m.sqrDistance(w[1],x);else if(e>G&&(G=e,k.setCoordsPoint2D(w[1])),E-=.01,E<.1){if(!(G>=0))break;A=!0,b[1]=G,w[1]=k,C[1]=m.sqrDistance(w[1],x)}}while(!A);A=!1,E=.5,G=-1;let v=.01,M=1;do{let e=Number.NaN;if(w[2]=this.calculateParacentroid_(o,N(q.xmin,q.xmax,E),n),w[2].isNAN()||(D=(new f).getNearestCoordinate(o,w[2],!1,!1),e=D.m_distance),e>n&&1===p(o,w[2],n))A=!0,b[2]=e,C[2]=m.sqrDistance(w[2],x);else if(e>G&&(G=e,k.setCoordsPoint2D(w[2])),E=.5+v*M,v+=.01,M*=-1,E<.3||E>.7){if(!(G>=0))break;A=!0,b[2]=G,w[2]=k,C[2]=m.sqrDistance(w[2],x)}}while(!A);A=!1,E=.75,G=-1;do{let e=Number.NaN;if(w[3]=this.calculateParacentroid_(o,N(q.xmin,q.xmax,E),n),w[3].isNAN()||(D=(new f).getNearestCoordinate(o,w[3],!1,!1),e=D.m_distance),e>n&&1===p(o,w[3],n))A=!0,b[3]=e,C[3]=m.sqrDistance(w[3],x);else if(e>G&&(G=e,k.setCoordsPoint2D(w[3])),E+=.01,E>.9){if(!(G>=0))break;A=!0,b[3]=G,w[3]=k,C[3]=m.sqrDistance(w[3],x)}}while(!A);const S=[0,1,2,3],j=_?0:1;for(let s=j;s<4;s++)for(let e=j;e<3;e++){const t=C[e],n=C[e+1];if(g(t,n)>0){const r=S[e];S[e]=S[e+1],S[e+1]=r,C[e]=n,C[e+1]=t}}let X=j,L=0,T=0;for(let s=j;s<4;s++){switch(s){case 0:T=2*b[S[s]];break;case 1:T=1.66666666*b[S[s]];break;case 2:T=1.33333333*b[S[s]];break;case 3:T=b[S[s]]}T>L&&(L=T,X=S[s])}return s(!w[X].isNAN()),new a({x:w[X].x,y:w[X].y})}labelPointPolyline(e){const t=new m;if(e.getPointCount()>2*e.getPathCount()){let n=-1,r=-Number.MAX_VALUE;for(let t=0,i=e.getPathCount();t<i;t++)if(e.getPathSize(t)>2){const o=e.calculatePathLength2D(t);o>r&&(r=o,n=t)}const o=e.getPathStart(n),s=e.getPathEnd(n),a=Math.trunc((o+s)/2);t.assign(e.getXY(a))}else{let n=-Number.MAX_VALUE;const r=e.querySegmentIterator();for(;r.nextPath();)if(r.hasNextSegment()){const e=r.nextSegment(),o=e.calculateLength2D();o>n&&(n=o,t.assign(e.getCoord2D(e.lengthToT(.5*o))))}}return new a({x:t.x,y:t.y})}labelPointMultiPoint(e){const t=new c;e.queryEnvelope(t);const n=t.getCenter(),r=(new f).getNearestCoordinate(e,n,!1,!1).m_coordinate;return new a({x:r.x,y:r.y})}labelPointEnvelope(e){const t=e.getCenterXY();return new a({x:t.x,y:t.y})}calculateParacentroid_(e,t,n){const r=new c;e.queryEnvelope(r);const o=new m(t,0);let a=Number.MAX_VALUE,i=Number.MAX_VALUE,l=!1,N=!1;const g=new u;g.setStartXYCoords(o.x,r.ymin-1),g.setEndXYCoords(o.x,r.ymax+1);const h=new c,p=new m,P=new m,f=y(m,2),x=e.querySegmentIterator();for(;x.nextPath();)for(;x.hasNextSegment();){const e=x.nextSegment();if(e.queryEnvelope(h),s(e.isMonotoneQuickAndDirty()),p.setCoordsPoint2D(g.getStartXY()),P.setCoordsPoint2D(g.getEndXY()),0===h.clipLine(p,P))continue;if(1!==g.intersect(e,f,null,null,n))continue;const t=f[0].y;a>i?t<a&&(a=t,l=!0):t<i&&(i=t,N=!0)}return l&&N?o.y=(a+i)/2:o.setNAN(),o}}const w=new x;function b(e){return w.execute(e,null)}function C(t){const n=w.executeMany(new e(t),null);return Array.from(n)}function _(){return w.supportsCurves()}export{b as execute,C as executeMany,_ as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as r}from"../../../chunks/SimpleGeometryCursor.js";import{G as e}from"../../../chunks/GeometryCursor.js";import{E as t}from"../../../chunks/MultiPathImpl.js";import{k as s,c as m}from"../../../chunks/Geometry.js";import{c as o}from"../../../chunks/Envelope.js";import{
|
|
2
|
+
import{S as r}from"../../../chunks/SimpleGeometryCursor.js";import{G as e}from"../../../chunks/GeometryCursor.js";import{E as t}from"../../../chunks/MultiPathImpl.js";import{k as s,c as m}from"../../../chunks/Geometry.js";import{c as o}from"../../../chunks/Envelope.js";import{aS as n}from"../../../chunks/UnitFactory.js";class u{getOperatorType(){return 10010}accelerateGeometry(r,e,t){return!1}canAccelerateGeometry(r){return!1}supportsCurves(){return!0}executeMany(r,e,t){return new i(r,e,t)}}class i extends e{m_geoms;m_result=null;m_sr;m_progressTracker;m_bfirst;m_index;constructor(r,e,t){super(),this.m_geoms=r,this.m_sr=e,this.m_progressTracker=t,this.m_bfirst=!0,this.m_index=-1}tock(){return!0}getRank(){return 1}next(){return this.m_bfirst&&(this.performOperation(),this.m_bfirst=!1),this.m_result?this.m_result.next():null}getGeometryID(){return null!==this.m_result?this.m_result.getGeometryID():-1}performOperation(){const r=new t;for(let t=this.m_geoms.next();null!==t;t=this.m_geoms.next())t.isEmpty()||t.getDimension()<1||s(t.getGeometryType())||(m(t),r.addGeometry(t));if(0===r.getGeometryCount())return;const e=r.getEnvelope2D(this.m_progressTracker),u=o(this.m_sr,e,!0);this.m_result=n(r,u,this.m_progressTracker)}}const c=new u;function a(e,t){const s=c.executeMany(new r(e),t,null);return Array.from(s)}function p(){return c.supportsCurves()}export{a as executeMany,p as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as t}from"../../../chunks/SimpleGeometryCursor.js";import{a as e,c as s,G as i,g as r}from"../../../chunks/Geometry.js";import{O as h}from"../../../chunks/GeometryCursor.js";import{Envelope2D as o}from"../../../chunks/Envelope2D.js";import{c as n}from"../../../chunks/Envelope.js";import{E as a,o as m,n as p}from"../../../chunks/MultiPathImpl.js";import{
|
|
2
|
+
import{S as t}from"../../../chunks/SimpleGeometryCursor.js";import{a as e,c as s,G as i,g as r}from"../../../chunks/Geometry.js";import{O as h}from"../../../chunks/GeometryCursor.js";import{Envelope2D as o}from"../../../chunks/Envelope2D.js";import{c as n}from"../../../chunks/Envelope.js";import{E as a,o as m,n as p}from"../../../chunks/MultiPathImpl.js";import{R as _,K as c,L as u,T as l,M as g,N as d,Q as G,J as C,aT as y,aU as I,aV as x}from"../../../chunks/UnitFactory.js";import{w as f}from"../../../chunks/Point2D.js";function k(t){t&&t.checkProgress()}class S{getOperatorType(){return 10012}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}executeMany(t,e,s,i){return new v(t,e,s,i)}}class v extends h{m_inputGeometryCursor;m_sr;m_progressTracker;m_shape=null;m_topoGraph=null;m_curveStitcher=null;m_stitchMaxDeviation=0;m_chainStack=[];m_bitsetToChains=null;m_chainsLists=null;m_options;m_visitedChainsIndex=-1;m_index=-1;m_geometryIndex=-1;m_progressCounter=0;m_currentIds=[];m_currentEdgeIds=[];constructor(t,s,i,r){super(),t||e(""),this.m_progressTracker=r,this.m_options=0!==i?i:3,(this.m_options<=0||this.m_options>63)&&e("options"),this.m_inputGeometryCursor=t,this.m_sr=s}tock(){return!0}getRank(){return 1}next(){if(-1===this.m_index){this.m_shape=new a;const t=new o;t.setEmpty(),this.m_geometryIndex=this.m_shape.createGeometryUserIndex();for(let n=this.m_inputGeometryCursor.next();null!==n;n=this.m_inputGeometryCursor.next()){s(n);const r=this.m_shape.addGeometry(n);n.getGeometryType()!==i.enumPolygon&&e("Polygon Overlay only supports Polygons"),this.m_shape.setGeometryUserIndex(r,this.m_geometryIndex,this.m_inputGeometryCursor.getGeometryID());const h=this.m_inputGeometryCursor.getRank();h>m&&this.m_shape.assignRankToGeometryVertices(r,h);const a=new o;n.queryLooseEnvelope(a),t.mergeEnvelope2D(a),k(this.m_progressTracker)}this.m_inputGeometryCursor=null;const r=n(this.m_sr,t,!0),h=n(this.m_sr,t,!1);t.inflate(10*r.total()),this.m_shape.forceSetEnvelope2D(t),this.m_stitchMaxDeviation=0;let x=0;if(this.m_shape.hasCurves()){this.m_curveStitcher=new _;const e=c(r.total(),t);this.m_stitchMaxDeviation=u(r.total()),x=l(e,this.m_stitchMaxDeviation),g(this.m_shape,e,r.total(),12e3,this.m_curveStitcher,null,this.m_progressTracker)}if(d(this.m_shape,h,this.m_progressTracker)){G(this.m_shape,r.add(x),this.m_progressTracker,!0,!1);for(let t=this.m_shape.getFirstGeometry();t!==p;t=this.m_shape.getNextGeometry(t))this.m_shape.getGeometryType(t)===i.enumPolygon&&C(this.m_shape,t,-1,!1,p,this.m_progressTracker)}this.m_topoGraph=new y,this.m_topoGraph.buildGeometryParentageSets(),this.m_topoGraph.setEditShape(this.m_shape,this.m_progressTracker);const f=this.m_topoGraph.getFirstChain();for(let e=this.m_topoGraph.getChainFirstIsland(f);e!==p;e=this.m_topoGraph.getChainNextInParent(e))for(let t=this.m_topoGraph.getChainFirstIsland(e);t!==p;t=this.m_topoGraph.getChainNextInParent(t))this.m_chainStack.push(t);if(16&this.m_options){this.m_visitedChainsIndex=this.m_topoGraph.createUserIndexForChains(),this.m_bitsetToChains=new Map,this.m_chainsLists=new I;const t=[],e=this.m_topoGraph.getFirstChain();for(t.push(e);t.length>0;){const e=t.at(-1);t.pop();for(let s=this.m_topoGraph.getChainFirstIsland(e);s!==p;s=this.m_topoGraph.getChainNextInParent(s))for(let e=this.m_topoGraph.getChainFirstIsland(s);e!==p;e=this.m_topoGraph.getChainNextInParent(e)){const s=this.m_topoGraph.getChainBitSet(e);if(null!==s&&!s.isZero()){let t;this.m_bitsetToChains.has(s)?t=this.m_bitsetToChains.get(s):(t=this.m_chainsLists.createList(),this.m_bitsetToChains.set(s,t)),this.m_chainsLists.addElement(t,e)}t.push(e)}}}}return this.makeNextGeometry()}getGeometryID(){return this.m_index}getGeometryIDs(){return this.m_currentIds.slice()}getBoundaryIDs(){return this.m_currentEdgeIds.slice()}buildIdsFromBitset(t,e){if(!t)return;const s=this.m_topoGraph.getGeometriesFromBits(t);if(s.length>0){for(let t=0,i=s.length;t<i;t++)e.push(this.m_shape.getGeometryUserIndex(s[t],this.m_geometryIndex));f(e)}}makeGeometryFromChainSinglePart(t){this.m_index++;const e=new a;null!==this.m_curveStitcher&&e.setCurveStitcherPointer(this.m_curveStitcher);const s=this.m_topoGraph.extractPolygonFromChainAndIslands(e,p,t,p);return null!==this.m_curveStitcher&&this.m_curveStitcher.stitchCurves(e,s,this.m_stitchMaxDeviation,!1),e.getGeometry(s)}makeGeometryFromChainMultiPart(t,e){this.m_index++;const s=new a;null!==this.m_curveStitcher&&s.setCurveStitcherPointer(this.m_curveStitcher);const i=this.m_bitsetToChains.has(e);r(i);const h=this.m_bitsetToChains.get(e);let o=p;for(let r=this.m_chainsLists.getFirst(h);r!==I.st_nullNode();r=this.m_chainsLists.getNext(r)){const t=this.m_chainsLists.getElement(r);o=this.m_topoGraph.extractPolygonFromChainAndIslands(s,o,t,p),this.m_topoGraph.setChainUserIndex(t,this.m_visitedChainsIndex,1)}return null!==this.m_curveStitcher&&this.m_curveStitcher.stitchCurves(s,o,this.m_stitchMaxDeviation,!1),s.getGeometry(o)}makeNextGeometry(){for(k(this.m_progressTracker);this.m_chainStack.length>0;){this.m_currentIds.length=0,this.m_currentEdgeIds.length=0;const t=this.m_chainStack.at(-1);this.m_chainStack.pop();const e=this.m_topoGraph.getChainArea(t);if(0!==e)if(e<0)for(let s=this.m_topoGraph.getChainFirstIsland(t);s!==p;s=this.m_topoGraph.getChainNextInParent(s))this.m_topoGraph.getChainArea(s)>0&&this.m_chainStack.push(s);else{for(let i=this.m_topoGraph.getChainFirstIsland(t);i!==p;i=this.m_topoGraph.getChainNextInParent(i))this.m_topoGraph.getChainArea(i)<0&&this.m_chainStack.push(i);if(-1!==this.m_visitedChainsIndex&&1===this.m_topoGraph.getChainUserIndex(t,this.m_visitedChainsIndex))continue;const e=t=>{const e=t.getUnorderedBitIterator();let s=0;for(;e.next()!==x.npos();)if(s++,s>1)return s;return s},s=e(this.m_topoGraph.getChainBitSet(t));if(s>0){if(1===s&&2&this.m_options||s>1&&1&this.m_options){const e=this.m_topoGraph.getChainBitSet(t);return this.buildIdsFromBitset(e,this.m_currentIds),16&this.m_options?this.makeGeometryFromChainMultiPart(t,e):this.makeGeometryFromChainSinglePart(t)}}else{if(!(12&~this.m_options)){if(32&this.m_options){const e=this.m_topoGraph.getChainBoundaryBitSet(t);this.buildIdsFromBitset(e,this.m_currentEdgeIds)}return this.makeGeometryFromChainSinglePart(t)}if(4&this.m_options){const s=this.m_topoGraph.getChainBoundaryBitSet(t);if(e(s)>1)return 32&this.m_options&&this.buildIdsFromBitset(s,this.m_currentEdgeIds),this.makeGeometryFromChainSinglePart(t);continue}if(8&this.m_options){const s=this.m_topoGraph.getChainBoundaryBitSet(t);if(1===e(s))return 32&this.m_options&&this.buildIdsFromBitset(s,this.m_currentEdgeIds),this.makeGeometryFromChainSinglePart(t);continue}}}}return null}}const F=new S;function P(e,s,i){return F.executeMany(new t(e),s,i,null)}function T(){return F.supportsCurves()}export{P as executeMany,T as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import"../../../chunks/MultiPathImpl.js";import{
|
|
2
|
+
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import"../../../chunks/MultiPathImpl.js";import{H as r}from"../../../chunks/UnitFactory.js";import"../../../chunks/Envelope.js";const t=new r;function e(n,r,e){return t.execute(n,r,e,null)}function u(r,e,u){const o=t.executeMany(new n(r),e,u,null);return Array.from(o)}function o(n,r,e){return t.isSimpleAsFeature(n,r,e,null,null)}function s(){return t.supportsCurves()}export{e as execute,u as executeMany,o as isSimpleAsFeature,s as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as t}from"../../../chunks/GeometryCursor.js";import{d as n,c as r,G as s}from"../../../chunks/Geometry.js";import{P as o,d as i}from"../../../chunks/Point2D.js";import{M as m}from"../../../chunks/MultiPathImpl.js";import{Envelope2D as u}from"../../../chunks/Envelope2D.js";import{c,f as a}from"../../../chunks/Envelope.js";import{
|
|
2
|
+
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as t}from"../../../chunks/GeometryCursor.js";import{d as n,c as r,G as s}from"../../../chunks/Geometry.js";import{P as o,d as i}from"../../../chunks/Point2D.js";import{M as m}from"../../../chunks/MultiPathImpl.js";import{Envelope2D as u}from"../../../chunks/Envelope2D.js";import{c,f as a}from"../../../chunks/Envelope.js";import{aQ as p}from"../../../chunks/UnitFactory.js";class l{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r){return new y(e,t,n,r)}execute(t,r,s,o){const i=new e([t]),m=new e([r]),u=this.executeMany(i,m,s,o).next();return u||n("null output"),u}}function h(e,t,n,r){const o=e.getDimension(),i=t.getDimension();if(o!==i)return o>i?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const m=new u,a=new u,l=new u;e.queryEnvelope(m),t.queryEnvelope(a),l.setCoords({env2D:m}),l.mergeEnvelope2D(a);const h=c(n,l,!0),y=e.getGeometryType(),g=t.getGeometryType();return y===s.enumPoint&&g===s.enumPoint?f(e,t,h):y===s.enumPoint&&g===s.enumMultiPoint?d(t,e,h):y===s.enumMultiPoint&&g===s.enumPoint?d(e,t,h):p(e,t,n,r)}function f(e,t,n,r){const s=a(n),i=s*s,u=e.getXY(),c=t.getXY(),p=new m({vd:e.getDescription()});return o.sqrDistance(u,c)>i&&(p.add(e),p.add(t)),p}function d(e,t,n,r){const s=e.getImpl().getAttributeStreamRef(0),o=e.getPointCount(),m=t.getXY(),c=e.createInstance(),p=a(n),l=new u;if(e.queryEnvelope(l),l.inflateCoords(p,p),l.contains(m)){const n=p*p;let r=!1;const u=i(o,!1);for(let e=0;e<o;e++){const t=s.read(2*e),o=s.read(2*e+1),i=t-m.x,c=o-m.y;i*i+c*c<=n&&(r=!0,u[e]=!0)}if(r)for(let t=0;t<o;t++)u[t]||c.addPoints(e,t,t+1);else c.addPoints(e,0,o),c.add(t)}else c.addPoints(e,0,o),c.add(t);return c}class y extends t{m_inputGeoms;m_progressTracker;m_spatialReference;m_rightGeom;m_index;m_bEmpty;constructor(e,t,n,s){super(),this.m_progressTracker=s,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=n,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,r(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?(r(e),this.m_index=this.m_inputGeoms.getGeometryID(),h(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const g=new l;function _(e,t,n){return g.execute(e,t,n,null)}function G(t,n,r){const s=g.executeMany(new e(t),new e([n]),r,null);return Array.from(s)}function x(){return g.supportsCurves()}export{_ as execute,G as executeMany,x as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import"../../../chunks/Point2D.js";import"../../../chunks/MultiPathImpl.js";import{
|
|
2
|
+
import{S as n}from"../../../chunks/SimpleGeometryCursor.js";import"../../../chunks/Geometry.js";import"../../../chunks/Point2D.js";import"../../../chunks/MultiPathImpl.js";import{_ as t}from"../../../chunks/UnitFactory.js";import"../../../chunks/Envelope.js";const r=new t;function e(n,t,e){return r.execute(n,t,e,null)}function o(t,e){return r.executeMany(new n(t),e,null).next()}function u(){return r.supportsCurves()}export{e as execute,o as executeMany,u as supportsCurves};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{U as e}from"../../../chunks/UnitFactory.js";import{fromGeometry as t,fromGeometryToGXGeometry as o}from"../support/jsonConverter.js";const r=new e;function n(e,n){const s=t(e);return r.execute(s.getGeometry(),o(n),s.getSpatialReference(),null)}export{n as execute};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{V as e}from"../../../chunks/UnitFactory.js";import{fromGeometry as t,fromGeometryToGXGeometry as o}from"../support/jsonConverter.js";const r=new e;function n(e,n){const s=t(e);return r.execute(s.getGeometry(),o(n),s.getSpatialReference())}export{n as execute};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{
|
|
2
|
+
import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{H as l}from"../../chunks/UnitFactory.js";import{getSpatialReference as c,fromGeometry as u,fromPolyline as g,fromSpatialReference as _,toGeometry as d}from"./support/apiConverter.js";function A(s,n,m,h){if(n.getPathCount()>1&&e(""),s.isEmpty()||n.isEmpty())return null;t(s),t(n);let l=null;const c=new i;s.queryEnvelope(c);const u=new i;n.queryEnvelope(u);const g=new i;g.setCoords({env2D:c}),g.mergeEnvelope2D(u);const _=o(m,g,!1).total(),d=new x(h);let A=d.setIndicesAndScalars(s,n,_);if(A){const e=d.getTrimmedPolyline(s,n);if(e.isEmpty())return null;l=d.getReshapedMultiPath(s,e,m)}else{if(Number.isNaN(d.m_scalarB0)||s.getGeometryType()===r.enumPolyline)return null;const e=new a;if(e.add(n,!0),d.clearIndicesAndScalars(),A=d.setIndicesAndScalars(s,e,_),!A)return null;const t=d.getTrimmedPolyline(s,e);if(t.isEmpty())return null;l=d.getReshapedMultiPath(s,t,m)}return l}class x{m_pathA0;m_pathA1;m_vertexA0;m_vertexA1;m_vertexB0;m_vertexB1;m_scalarA0;m_scalarA1;m_scalarB0;m_scalarB1;m_progressTracker;constructor(e){this.m_progressTracker=e,this.clearIndicesAndScalars()}setIndicesAndScalars(e,t,s){const a=new i,n=new i;e.queryEnvelope(a),e.queryEnvelope(n),a.inflateCoords(s,s);if(!a.intersect(n))return!1;const m=e.getImpl().querySegmentIterator(),o=t.getImpl().querySegmentIterator(),h=[0,0],l=[0,0];let c=-1,u=-1,g=-1,_=-1,d=-1,A=-1,x=Number.NaN,p=Number.NaN,S=Number.NaN,v=Number.NaN;for(o.nextPath();o.hasNextSegment();){const e=o.nextSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){if(0!==e.intersect(r,null,l,h,s)&&(Number.isNaN(S)||l[0]<S)&&(c=m.getPathIndex(),g=m.getStartPointIndex(),d=o.getStartPointIndex(),x=h[0],S=l[0],0===S))break}}if(0===S)break}if(!Number.isNaN(S)&&1!==S)break}if(Number.isNaN(S))return!1;this.m_pathA0=c,this.m_vertexA0=g,this.m_vertexB0=d,this.m_scalarA0=x,this.m_scalarB0=S;const y=e.getGeometryType();for(o.resetToLastSegment();o.hasPreviousSegment();){const e=o.previousSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),y===r.enumPolygon?m.resetToPath(c):m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){const t=e.intersect(r,null,l,h,s);if(0!==t&&(Number.isNaN(v)||l[t-1]>v)&&(o.getStartPointIndex()!==this.m_vertexB0||l[t-1]!==this.m_scalarB0)&&(u=m.getPathIndex(),_=m.getStartPointIndex(),A=o.getStartPointIndex(),p=h[t-1],v=l[t-1],1===v))break}}if(1===v)break;if(y===r.enumPolygon)break}if(!Number.isNaN(v))break}return!Number.isNaN(v)&&(this.m_pathA1=u,this.m_vertexA1=_,this.m_vertexB1=A,this.m_scalarA1=p,this.m_scalarB1=v,!0)}getTrimmedPolyline(e,t){const r=new n,s=t.createInstance();let a=!0;const m=t.getImpl().querySegmentIterator();if(m.resetToVertex(this.m_vertexB0,0),this.m_vertexB0>this.m_vertexB1)return s;if(this.m_vertexB0===this.m_vertexB1){m.nextSegment().queryCut(this.m_scalarB0,this.m_scalarB1,r,!1),s.addSegment(r.get(),!0)}else for(;;){const e=m.nextSegment(),t=m.getStartPointIndex();if(t===this.m_vertexB0)1!==this.m_scalarB0&&(e.queryCut(this.m_scalarB0,1,r,!1),s.addSegment(r.get(),a),a=!1);else{if(t===this.m_vertexB1){0!==this.m_scalarB1&&(e.queryCut(0,this.m_scalarB1,r),s.addSegment(r.get(),a),a=!1);break}s.addSegment(e,a)}}if(s.isEmpty())return s;if(e.getDescription().getAttributeCount()>1){const t=e.getImpl().querySegmentIterator(),r=new h,a=s.getPointCount();t.resetToVertex(this.m_vertexA0,this.m_pathA0);t.nextSegment().queryCoord(this.m_scalarA0,r),s.setPointByVal(0,r),t.resetToVertex(this.m_vertexA1,this.m_pathA1);t.nextSegment().queryCoord(this.m_scalarA1,r),s.setPointByVal(a-1,r),s.interpolateAttributesRange(0,0,0,a-1)}return s}getReshapedMultiPath(e,t,s){let a;return a=e.getGeometryType()===r.enumPolygon?this.getReshapedPolygon(e,t,s):this.getReshapedPolyline(e,t),a}getReshapedPolygon(e,t,r){const s=e.getImpl().querySegmentIterator();s.setCirculator(!0);const a=new n;new h;const i=new m({vd:e.getDescription()});if(i.addSegmentsFromPath(t,0,0,t.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA1,this.m_pathA0),this.m_vertexA1===this.m_vertexA0&&this.m_scalarA1<=this.m_scalarA0){s.nextSegment().queryCut(this.m_scalarA1,this.m_scalarA0,a),i.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA1&&(e.queryCut(this.m_scalarA1,1,a),i.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA0){0!==this.m_scalarA0&&(e.queryCut(0,this.m_scalarA0,a),i.addSegment(a.get(),!1));break}i.addSegment(e,!1)}}const o=new m({vd:e.getDescription()}),c=t.clone();if(c.reversePath(0),o.addSegmentsFromPath(c,0,0,c.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA0,this.m_pathA0),this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0<this.m_scalarA1){s.nextSegment().queryCut(this.m_scalarA0,this.m_scalarA1,a),o.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA0&&(e.queryCut(this.m_scalarA0,1,a),o.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA1){0!==this.m_scalarA1&&(e.queryCut(0,this.m_scalarA1,a),o.addSegment(a.get(),!1));break}o.addSegment(e,!1)}}const u=Math.abs(i.calculateArea2D()),g=Math.abs(o.calculateArea2D());let _=e.createInstance();for(let n=0;n<e.getPathCount();n++)n===this.m_pathA0?u>=g?_.add(i,!1):_.add(o,!1):_.addPath(e,n,!0);return _=(new l).execute(_,r,!1,this.m_progressTracker),_}getReshapedPolyline(e,t){const r=e.getImpl().querySegmentIterator(),m=new a,i=new n;let o=!1,h=-1,l=Number.NaN;o=this.m_pathA0>this.m_pathA1||this.m_pathA0===this.m_pathA1&&(this.m_vertexA0>this.m_vertexA1||this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0>this.m_scalarA1),o?(h=this.m_vertexA1,l=this.m_scalarA1,r.resetToPath(this.m_pathA1)):(h=this.m_vertexA0,l=this.m_scalarA0,r.resetToPath(this.m_pathA0));let c=!0;for(r.nextPath()||s("reshaper");;){const e=r.nextSegment();if(r.getStartPointIndex()===h){0!==l&&(e.queryCut(0,l,i),m.addSegment(i.get(),c),c=!1);break}m.addSegment(e,c),c=!1}if(o){const e=t.clone();e.reversePath(0),m.addSegmentsFromPath(e,0,0,e.getSegmentCount(),c)}else m.addSegmentsFromPath(t,0,0,t.getSegmentCount(),c);o?(l=this.m_scalarA0,r.resetToVertex(this.m_vertexA0,this.m_pathA0)):(l=this.m_scalarA1,r.resetToVertex(this.m_vertexA1,this.m_pathA1));{const e=r.nextSegment();1!==l&&(e.queryCut(l,1,i),m.addSegment(i.get(),!1))}for(;r.hasNextSegment();){const e=r.nextSegment();m.addSegment(e,!1)}const u=e.createInstance();let g=!1;for(let s=0;s<e.getPathCount();s++)s===this.m_pathA0||s===this.m_pathA1?g||(u.add(m,!1),g=!0):u.addPath(e,s,!0);return u}clearIndicesAndScalars(){this.m_pathA0=-1,this.m_pathA1=-1,this.m_vertexA0=-1,this.m_vertexA1=-1,this.m_vertexB0=-1,this.m_vertexB1=-1,this.m_scalarA0=Number.NaN,this.m_scalarA1=Number.NaN,this.m_scalarB0=Number.NaN,this.m_scalarB1=Number.NaN}}class p{getOperatorType(){return 10006}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!1}execute(e,t,r,s){return A(e,t,r,s)}}const S=new p;function v(e,t){const r=c(e),s=S.execute(u(e),g(t),_(r),null);return d(s,r)}const y=S.supportsCurves();export{v as execute,y as supportsCurves};
|
|
@@ -43,6 +43,13 @@ export interface GeographicTransformationProperties {
|
|
|
43
43
|
*/
|
|
44
44
|
export default class GeographicTransformation extends GeographicTransformationSuperclass {
|
|
45
45
|
constructor(properties?: GeographicTransformationProperties);
|
|
46
|
+
/**
|
|
47
|
+
* Indicates whether all geographic transformation steps are usable.
|
|
48
|
+
*
|
|
49
|
+
* @returns Returns `true` if all steps are usable.
|
|
50
|
+
* @since 5.2
|
|
51
|
+
*/
|
|
52
|
+
get isUsable(): boolean | null | undefined;
|
|
46
53
|
/**
|
|
47
54
|
* An ordered list of geographic transformation steps that represent the process of transforming coordinates from one geographic coordinate system to another.
|
|
48
55
|
* The steps are applied in the order in which they are defined.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as
|
|
2
|
+
import{__decorate as s}from"tslib";import{ClonableMixin as e}from"../../../core/Clonable.js";import{JSONSupport as t}from"../../../core/JSONSupport.js";import{property as r,subclass as o}from"../../../core/accessorSupport/decorators.js";import p from"./GeographicTransformationStep.js";var n;let i=n=class extends(e(t)){constructor(s){super(s),this.steps=[]}get isUsable(){let s=!0;for(let e=0;e<this.steps.length;e++){const t=this.steps[e];if(null==t.isUsable)return t.isUsable;s&&=t.isUsable}return s}getInverse(){const s=new n;for(let e=this.steps.length-1;e>=0;e--){const t=this.steps[e];s.steps.push(t.getInverse())}return s}};s([r()],i.prototype,"isUsable",null),s([r({type:[p],nonNullable:!0,json:{name:"geoTransforms"}})],i.prototype,"steps",void 0),i=n=s([o("esri.geometry.operators.support.GeographicTransformation")],i);export{i as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClonableMixin } from "../../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport } from "../../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
-
export interface GeographicTransformationStepProperties extends Partial<Pick<GeographicTransformationStep, "isInverse" | "wkid" | "wkt">> {}
|
|
4
|
+
export interface GeographicTransformationStepProperties extends Partial<Pick<GeographicTransformationStep, "isInverse" | "isUsable" | "wkid" | "wkt">> {}
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents a step in the process of transforming coordinates from one geographic coordinate system to another.
|
|
@@ -24,6 +24,12 @@ export default class GeographicTransformationStep extends GeographicTransformati
|
|
|
24
24
|
* @default false
|
|
25
25
|
*/
|
|
26
26
|
accessor isInverse: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* todoc
|
|
29
|
+
*
|
|
30
|
+
* @since 5.2
|
|
31
|
+
*/
|
|
32
|
+
accessor isUsable: boolean | null | undefined;
|
|
27
33
|
/**
|
|
28
34
|
* The well-known id (wkid) hat represents a known geographic transformation.
|
|
29
35
|
* See [Geographic datum transformations](https://pro.arcgis.com/en/pro-app/latest/help/mapping/properties/geographic-coordinate-system-transformation.htm)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as r}from"tslib";import{ClonableMixin as o}from"../../../core/Clonable.js";import{JSONSupport as t}from"../../../core/JSONSupport.js";import{property as e,subclass as s}from"../../../core/accessorSupport/decorators.js";var i;let p=i=class extends(o(t)){constructor(r){super(r),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};r([e({json:{name:"transformForward",read:r=>!r,write:(r,o,t)=>{o[t]=!r}}})],p.prototype,"isInverse",void 0),r([e({json:{write:!0}})],p.prototype,"wkt",void 0),r([e({json:{write:!0}})],p.prototype,"wkid",void 0),p=i=r([s("esri.geometry.operators.support.GeographicTransformationStep")],p);export{p as default};
|
|
2
|
+
import{__decorate as r}from"tslib";import{ClonableMixin as o}from"../../../core/Clonable.js";import{JSONSupport as t}from"../../../core/JSONSupport.js";import{property as e,subclass as s}from"../../../core/accessorSupport/decorators.js";var i;let p=i=class extends(o(t)){constructor(r){super(r),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};r([e({json:{name:"transformForward",read:r=>!r,write:(r,o,t)=>{o[t]=!r}}})],p.prototype,"isInverse",void 0),r([e()],p.prototype,"isUsable",void 0),r([e({json:{write:!0}})],p.prototype,"wkt",void 0),r([e({json:{write:!0}})],p.prototype,"wkid",void 0),p=i=r([s("esri.geometry.operators.support.GeographicTransformationStep")],p);export{p as default};
|