@kenlify/cesium 1.128.25 → 1.128.26
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/Build/Cesium/Cesium.js +12 -12
- package/Build/Cesium/Workers/{chunk-AGGWOPOE.js → chunk-2J5ERDHI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-Y7CU744N.js → chunk-2LYQJKQP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LL3ISGOT.js → chunk-52QGWEEE.js} +1 -1
- package/Build/Cesium/Workers/{chunk-5VGLE4GN.js → chunk-5L74NDQU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AM5XL6WI.js → chunk-6BPXJY4T.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5OB72XXB.js → chunk-6CX3HDWX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MDJWVZDL.js → chunk-6D7EATWI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KMWS7NMX.js → chunk-6ET3JK7U.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WHZC25DU.js → chunk-6JFWIA2S.js} +2 -2
- package/Build/Cesium/Workers/{chunk-I47DPGZ5.js → chunk-7ZFFNR7K.js} +2 -2
- package/Build/Cesium/Workers/{chunk-6RPF3BFL.js → chunk-BVPVUPIJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-M3CTXLRO.js → chunk-DXUKDEDM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3G3X7JDX.js → chunk-EUILNBOS.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XUJ2ELVF.js → chunk-FTC76BZY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-K6GXNVYQ.js → chunk-GHSKJVLY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FZ7B4QHP.js → chunk-GPCMPV44.js} +1 -1
- package/Build/Cesium/Workers/{chunk-UBHS5Z2W.js → chunk-GRIPLZIM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YKVE6KMA.js → chunk-GTUSMBQH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GLSEYMYO.js → chunk-IUB4KRZG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7D4TZURK.js → chunk-IUQ7DUW2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KJZ5WB3D.js → chunk-IYXY44PZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LGD7Y624.js → chunk-J72L6YLA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZA3ZZVAJ.js → chunk-JBW2PYJZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IX7QS73W.js → chunk-JJ6HKYJM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GEBZRAQ6.js → chunk-JMOZLJZI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IQL776LN.js → chunk-K2KPI7PB.js} +1 -1
- package/Build/Cesium/Workers/{chunk-ON76GPB5.js → chunk-KFTBSPQT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QKFIGZYW.js → chunk-KTCUOVE3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UCO5QBZB.js → chunk-KZZQ5SQ4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AAH3FUIP.js → chunk-L5A4YJO2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-N2TIFVHB.js → chunk-L5H6CDWA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZXPMOMHE.js → chunk-LYFUDHA4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-REITUZEF.js → chunk-MFKTFEOS.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LUKDNNLL.js → chunk-NU7ORKBX.js} +1 -1
- package/Build/Cesium/Workers/{chunk-OFTVJOZT.js → chunk-NYR3E6PP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KWNMBZGF.js → chunk-OP3I3XZO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ICYFP4HV.js → chunk-P5VSNGMV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UGIH5SQD.js → chunk-PMWORKYX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NBQ64UY7.js → chunk-QLPF7IZC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GO5CEPGN.js → chunk-QQU7HJFC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-D2IU7A6B.js → chunk-QR2NFVAC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AXFOG5GS.js → chunk-R5FNRB6C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GOHMOQMK.js → chunk-RDFFKYPD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YN7B7PBC.js → chunk-S37HRAKR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-Q7B26RKQ.js → chunk-TQNQ2LKP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-2H64EMZE.js → chunk-V22B75EA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BLAHTZ6R.js → chunk-VORK4UPT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-N2EMCBQ4.js → chunk-XTNTW34V.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BNEAME56.js → chunk-Y4BJC2IM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-356VDAUY.js → chunk-YACQZSMI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-X4SLY5JK.js → chunk-ZAYM6TQA.js} +2 -2
- package/Build/Cesium/Workers/combineGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createGeometry.js +2 -2
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
- package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/createWallGeometry.js +2 -2
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/decodeDraco.js +2 -2
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Build/Cesium/Workers/decodeI3S.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +12 -12
- package/Build/Cesium/index.js +11 -11
- package/Build/CesiumUnminified/Cesium.js +2241 -2241
- package/Build/CesiumUnminified/Workers/{chunk-OXDQFUTW.js → chunk-2ODKGIOB.js} +13 -13
- package/Build/CesiumUnminified/Workers/{chunk-GI7P7RAI.js → chunk-35T3NFI6.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-RDE3MCQR.js → chunk-372AR3OW.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-IZXMMMLE.js → chunk-4ESFX7SB.js} +1 -1
- package/Build/CesiumUnminified/Workers/{chunk-MLHBYWLB.js → chunk-5G6TCZLM.js} +12 -12
- package/Build/CesiumUnminified/Workers/{chunk-KZN5W2VR.js → chunk-6KKB5BY3.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-L6I5T3EH.js → chunk-7BITXBIH.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-3PDUNW55.js → chunk-A7ZYVNOK.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-ZLFYMFZU.js → chunk-ANGA44LS.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-XV37232G.js → chunk-AYUAVWXO.js} +10 -10
- package/Build/CesiumUnminified/Workers/{chunk-LP2IV6SE.js → chunk-BI3PCCII.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-HMQE5N5A.js → chunk-CUKCSD5O.js} +1 -1
- package/Build/CesiumUnminified/Workers/{chunk-RJYMFWQU.js → chunk-D2SH42HF.js} +8 -8
- package/Build/CesiumUnminified/Workers/{chunk-2LMZYTHF.js → chunk-D5YM2IMF.js} +1 -1
- package/Build/CesiumUnminified/Workers/{chunk-FFR2H54E.js → chunk-D7KV2W7K.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-BE2HBCV4.js → chunk-DWISTTNK.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-ZVMXUUAN.js → chunk-DYCGH2YL.js} +9 -9
- package/Build/CesiumUnminified/Workers/{chunk-YQHTDFTW.js → chunk-E57B2YC2.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-LNPEMF6I.js → chunk-EYR5QNZZ.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-22CWSVHC.js → chunk-F67VLFHB.js} +12 -12
- package/Build/CesiumUnminified/Workers/{chunk-AYI4FBEF.js → chunk-FK562WO2.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-TCQHQYA2.js → chunk-GTXR74RZ.js} +7 -7
- package/Build/CesiumUnminified/Workers/{chunk-5SQAOMDL.js → chunk-GV5REGDI.js} +7 -7
- package/Build/CesiumUnminified/Workers/{chunk-ZADYPEP2.js → chunk-HCS6AB2A.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-6G7I6SMP.js → chunk-HJL6QUXO.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-QBSZA5E6.js → chunk-HYCGN743.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-YNRR2YC6.js → chunk-I6JHIK6C.js} +14 -14
- package/Build/CesiumUnminified/Workers/{chunk-VQSMIBYZ.js → chunk-JVBLPHHU.js} +9 -9
- package/Build/CesiumUnminified/Workers/{chunk-L52UQFUN.js → chunk-JVWR26GG.js} +1 -1
- package/Build/CesiumUnminified/Workers/{chunk-B6D4UUM2.js → chunk-LPJVZZTL.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-2NSH3CSO.js → chunk-LWDPWMUE.js} +5 -5
- package/Build/CesiumUnminified/Workers/{chunk-RV3VM6TU.js → chunk-NIYT5GD2.js} +10 -10
- package/Build/CesiumUnminified/Workers/{chunk-AECLDB5Y.js → chunk-OLRU5MMP.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-ZZ572JJ5.js → chunk-RY6LJY2G.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-OBMT6AYF.js → chunk-RYKL6UCM.js} +8 -8
- package/Build/CesiumUnminified/Workers/{chunk-KJ2XCRWL.js → chunk-S4IQQ2V6.js} +12 -12
- package/Build/CesiumUnminified/Workers/{chunk-AHZFS45R.js → chunk-S5X23VZC.js} +16 -16
- package/Build/CesiumUnminified/Workers/{chunk-KEJICC73.js → chunk-SB5BT26D.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-GV2FKQPB.js → chunk-T6G4I342.js} +12 -12
- package/Build/CesiumUnminified/Workers/{chunk-W6RYUQWA.js → chunk-TSE7QV3R.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-GFJJUNRT.js → chunk-TXQCJMN4.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-HE24W7Y4.js → chunk-UUMNHKS7.js} +9 -9
- package/Build/CesiumUnminified/Workers/{chunk-X7VNU473.js → chunk-VRWD4BAV.js} +11 -11
- package/Build/CesiumUnminified/Workers/{chunk-BWTA6YTS.js → chunk-VVB4KFA2.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-YBHJ6J7Y.js → chunk-WDF75NPX.js} +6 -6
- package/Build/CesiumUnminified/Workers/{chunk-LHHCXZNC.js → chunk-XAWO6CUN.js} +16 -16
- package/Build/CesiumUnminified/Workers/{chunk-OWLXLO6R.js → chunk-Y3JM4NZF.js} +7 -7
- package/Build/CesiumUnminified/Workers/{chunk-5VNVGW2Q.js → chunk-YVFINNJQ.js} +3 -3
- package/Build/CesiumUnminified/Workers/{chunk-F5ALEMWT.js → chunk-ZLFLV7X5.js} +2 -2
- package/Build/CesiumUnminified/Workers/{chunk-XAIR7ZUH.js → chunk-ZSS22J7V.js} +4 -4
- package/Build/CesiumUnminified/Workers/{chunk-RVM7YQ46.js → chunk-ZY7JWTLG.js} +4 -4
- package/Build/CesiumUnminified/Workers/combineGeometry.js +21 -21
- package/Build/CesiumUnminified/Workers/createBoxGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createBoxOutlineGeometry.js +13 -13
- package/Build/CesiumUnminified/Workers/createCircleGeometry.js +23 -23
- package/Build/CesiumUnminified/Workers/createCircleOutlineGeometry.js +16 -16
- package/Build/CesiumUnminified/Workers/createCoplanarPolygonGeometry.js +30 -30
- package/Build/CesiumUnminified/Workers/createCoplanarPolygonOutlineGeometry.js +28 -28
- package/Build/CesiumUnminified/Workers/createCorridorGeometry.js +26 -26
- package/Build/CesiumUnminified/Workers/createCorridorOutlineGeometry.js +25 -25
- package/Build/CesiumUnminified/Workers/createCylinderGeometry.js +17 -17
- package/Build/CesiumUnminified/Workers/createCylinderOutlineGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createEllipseGeometry.js +23 -23
- package/Build/CesiumUnminified/Workers/createEllipseOutlineGeometry.js +16 -16
- package/Build/CesiumUnminified/Workers/createEllipsoidGeometry.js +16 -16
- package/Build/CesiumUnminified/Workers/createEllipsoidOutlineGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createFrustumGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createFrustumOutlineGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createGeometry.js +21 -21
- package/Build/CesiumUnminified/Workers/createGroundPolylineGeometry.js +19 -19
- package/Build/CesiumUnminified/Workers/createPlaneGeometry.js +13 -13
- package/Build/CesiumUnminified/Workers/createPlaneOutlineGeometry.js +12 -12
- package/Build/CesiumUnminified/Workers/createPolygonGeometry.js +29 -29
- package/Build/CesiumUnminified/Workers/createPolygonOutlineGeometry.js +27 -27
- package/Build/CesiumUnminified/Workers/createPolylineGeometry.js +22 -22
- package/Build/CesiumUnminified/Workers/createPolylineVolumeGeometry.js +28 -28
- package/Build/CesiumUnminified/Workers/createPolylineVolumeOutlineGeometry.js +24 -24
- package/Build/CesiumUnminified/Workers/createRectangleGeometry.js +24 -24
- package/Build/CesiumUnminified/Workers/createRectangleOutlineGeometry.js +17 -17
- package/Build/CesiumUnminified/Workers/createSimplePolylineGeometry.js +20 -20
- package/Build/CesiumUnminified/Workers/createSphereGeometry.js +16 -16
- package/Build/CesiumUnminified/Workers/createSphereOutlineGeometry.js +15 -15
- package/Build/CesiumUnminified/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/CesiumUnminified/Workers/createVectorTileClampedPolylines.js +12 -12
- package/Build/CesiumUnminified/Workers/createVectorTileGeometries.js +21 -21
- package/Build/CesiumUnminified/Workers/createVectorTilePoints.js +11 -11
- package/Build/CesiumUnminified/Workers/createVectorTilePolygons.js +19 -19
- package/Build/CesiumUnminified/Workers/createVectorTilePolylines.js +12 -12
- package/Build/CesiumUnminified/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +19 -19
- package/Build/CesiumUnminified/Workers/createVerticesFromHeightmap.js +19 -19
- package/Build/CesiumUnminified/Workers/createVerticesFromQuantizedTerrainMesh.js +16 -16
- package/Build/CesiumUnminified/Workers/createWallGeometry.js +21 -21
- package/Build/CesiumUnminified/Workers/createWallOutlineGeometry.js +20 -20
- package/Build/CesiumUnminified/Workers/decodeDraco.js +10 -10
- package/Build/CesiumUnminified/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/CesiumUnminified/Workers/decodeI3S.js +9 -9
- package/Build/CesiumUnminified/Workers/transcodeKTX2.js +6 -6
- package/Build/CesiumUnminified/Workers/transferTypedArrayTest.js +1 -1
- package/Build/CesiumUnminified/Workers/upsampleQuantizedTerrainMesh.js +19 -19
- package/Build/CesiumUnminified/index.cjs +2214 -2214
- package/Build/CesiumUnminified/index.js +2214 -2214
- package/Source/Cesium.js +91 -91
- package/package.json +1 -1
- package/patches/engine/Source/Core/taskProcessor.patch.js +14 -14
- package/patches/engine/Source/Core/tileAvailability.patch.js +8 -6
package/Build/Cesium/Cesium.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.128.
|
|
4
|
+
* Version 1.128.26
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -63,13 +63,13 @@ var Cesium=(()=>{var nVe=Object.create;var xN=Object.defineProperty;var iVe=Obje
|
|
|
63
63
|
* compiled fri, 15 aug 2025 23:28:54 utc
|
|
64
64
|
* licensed under the bsd-3-clause license
|
|
65
65
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
66
|
-
*/(function(undefined){"use strict";(function(t,n,i){function o(s){var a=n[s];return a||t[s][0].call(a=n[s]={exports:{}},o,a,a.exports),a.exports}var r=o(i[0]);r.util.global.protobuf=r,typeof define=="function"&&define.amd&&define(["long"],function(s){return s&&s.isLong&&(r.util.Long=s,r.configure()),r}),typeof module=="object"&&module&&module.exports&&(module.exports=r)})({1:[function(e,t,n){"use strict";t.exports=i;function i(o,r){for(var s=new Array(arguments.length-1),a=0,c=2,d=!0;c<arguments.length;)s[a++]=arguments[c++];return new Promise(function(h,p){s[a]=function(f){if(d)if(d=!1,f)p(f);else{for(var y=new Array(arguments.length-1),T=0;T<y.length;)y[T++]=arguments[T];h.apply(null,y)}};try{o.apply(r||null,s)}catch(g){d&&(d=!1,p(g))}})}},{}],2:[function(e,t,n){"use strict";var i=n;i.length=function(d){var u=d.length;if(!u)return 0;for(var h=0;--u%4>1&&d.charAt(u)==="=";)++h;return Math.ceil(d.length*3)/4-h};for(var o=new Array(64),r=new Array(123),s=0;s<64;)r[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;i.encode=function(d,u,h){for(var p=null,g=[],f=0,y=0,T;u<h;){var S=d[u++];switch(y){case 0:g[f++]=o[S>>2],T=(S&3)<<4,y=1;break;case 1:g[f++]=o[T|S>>4],T=(S&15)<<2,y=2;break;case 2:g[f++]=o[T|S>>6],g[f++]=o[S&63],y=0;break}f>8191&&((p||(p=[])).push(String.fromCharCode.apply(String,g)),f=0)}return y&&(g[f++]=o[T],g[f++]=61,y===1&&(g[f++]=61)),p?(f&&p.push(String.fromCharCode.apply(String,g.slice(0,f))),p.join("")):String.fromCharCode.apply(String,g.slice(0,f))};var a="invalid encoding";i.decode=function(d,u,h){for(var p=h,g=0,f,y=0;y<d.length;){var T=d.charCodeAt(y++);if(T===61&&g>1)break;if((T=r[T])===undefined)throw Error(a);switch(g){case 0:f=T,g=1;break;case 1:u[h++]=f<<2|(T&48)>>4,f=T,g=2;break;case 2:u[h++]=(f&15)<<4|(T&60)>>2,f=T,g=3;break;case 3:u[h++]=(f&3)<<6|T,g=0;break}}if(g===1)throw Error(a);return h-p},i.test=function(d){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(d)}},{}],3:[function(e,t,n){"use strict";t.exports=i;function i(){this._listeners={}}i.prototype.on=function(r,s,a){return(this._listeners[r]||(this._listeners[r]=[])).push({fn:s,ctx:a||this}),this},i.prototype.off=function(r,s){if(r===undefined)this._listeners={};else if(s===undefined)this._listeners[r]=[];else for(var a=this._listeners[r],c=0;c<a.length;)a[c].fn===s?a.splice(c,1):++c;return this},i.prototype.emit=function(r){var s=this._listeners[r];if(s){for(var a=[],c=1;c<arguments.length;)a.push(arguments[c++]);for(c=0;c<s.length;)s[c].fn.apply(s[c++].ctx,a)}return this}},{}],4:[function(e,t,n){"use strict";t.exports=i(i);function i(c){return typeof Float32Array<"u"?(function(){var d=new Float32Array([-0]),u=new Uint8Array(d.buffer),h=u[3]===128;function p(T,S,C){d[0]=T,S[C]=u[0],S[C+1]=u[1],S[C+2]=u[2],S[C+3]=u[3]}function g(T,S,C){d[0]=T,S[C]=u[3],S[C+1]=u[2],S[C+2]=u[1],S[C+3]=u[0]}c.writeFloatLE=h?p:g,c.writeFloatBE=h?g:p;function f(T,S){return u[0]=T[S],u[1]=T[S+1],u[2]=T[S+2],u[3]=T[S+3],d[0]}function y(T,S){return u[3]=T[S],u[2]=T[S+1],u[1]=T[S+2],u[0]=T[S+3],d[0]}c.readFloatLE=h?f:y,c.readFloatBE=h?y:f})():(function(){function d(h,p,g,f){var y=p<0?1:0;if(y&&(p=-p),p===0)h(1/p>0?0:2147483648,g,f);else if(isNaN(p))h(2143289344,g,f);else if(p>34028234663852886e22)h((y<<31|2139095040)>>>0,g,f);else if(p<11754943508222875e-54)h((y<<31|Math.round(p/1401298464324817e-60))>>>0,g,f);else{var T=Math.floor(Math.log(p)/Math.LN2),S=Math.round(p*Math.pow(2,-T)*8388608)&8388607;h((y<<31|T+127<<23|S)>>>0,g,f)}}c.writeFloatLE=d.bind(null,o),c.writeFloatBE=d.bind(null,r);function u(h,p,g){var f=h(p,g),y=(f>>31)*2+1,T=f>>>23&255,S=f&8388607;return T===255?S?NaN:y*(1/0):T===0?y*1401298464324817e-60*S:y*Math.pow(2,T-150)*(S+8388608)}c.readFloatLE=u.bind(null,s),c.readFloatBE=u.bind(null,a)})(),typeof Float64Array<"u"?(function(){var d=new Float64Array([-0]),u=new Uint8Array(d.buffer),h=u[7]===128;function p(T,S,C){d[0]=T,S[C]=u[0],S[C+1]=u[1],S[C+2]=u[2],S[C+3]=u[3],S[C+4]=u[4],S[C+5]=u[5],S[C+6]=u[6],S[C+7]=u[7]}function g(T,S,C){d[0]=T,S[C]=u[7],S[C+1]=u[6],S[C+2]=u[5],S[C+3]=u[4],S[C+4]=u[3],S[C+5]=u[2],S[C+6]=u[1],S[C+7]=u[0]}c.writeDoubleLE=h?p:g,c.writeDoubleBE=h?g:p;function f(T,S){return u[0]=T[S],u[1]=T[S+1],u[2]=T[S+2],u[3]=T[S+3],u[4]=T[S+4],u[5]=T[S+5],u[6]=T[S+6],u[7]=T[S+7],d[0]}function y(T,S){return u[7]=T[S],u[6]=T[S+1],u[5]=T[S+2],u[4]=T[S+3],u[3]=T[S+4],u[2]=T[S+5],u[1]=T[S+6],u[0]=T[S+7],d[0]}c.readDoubleLE=h?f:y,c.readDoubleBE=h?y:f})():(function(){function d(h,p,g,f,y,T){var S=f<0?1:0;if(S&&(f=-f),f===0)h(0,y,T+p),h(1/f>0?0:2147483648,y,T+g);else if(isNaN(f))h(0,y,T+p),h(2146959360,y,T+g);else if(f>17976931348623157e292)h(0,y,T+p),h((S<<31|2146435072)>>>0,y,T+g);else{var C;if(f<22250738585072014e-324)C=f/5e-324,h(C>>>0,y,T+p),h((S<<31|C/4294967296)>>>0,y,T+g);else{var V=Math.floor(Math.log(f)/Math.LN2);V===1024&&(V=1023),C=f*Math.pow(2,-V),h(C*4503599627370496>>>0,y,T+p),h((S<<31|V+1023<<20|C*1048576&1048575)>>>0,y,T+g)}}}c.writeDoubleLE=d.bind(null,o,0,4),c.writeDoubleBE=d.bind(null,r,4,0);function u(h,p,g,f,y){var T=h(f,y+p),S=h(f,y+g),C=(S>>31)*2+1,V=S>>>20&2047,R=4294967296*(S&1048575)+T;return V===2047?R?NaN:C*(1/0):V===0?C*5e-324*R:C*Math.pow(2,V-1075)*(R+4503599627370496)}c.readDoubleLE=u.bind(null,s,0,4),c.readDoubleBE=u.bind(null,a,4,0)})(),c}function o(c,d,u){d[u]=c&255,d[u+1]=c>>>8&255,d[u+2]=c>>>16&255,d[u+3]=c>>>24}function r(c,d,u){d[u]=c>>>24,d[u+1]=c>>>16&255,d[u+2]=c>>>8&255,d[u+3]=c&255}function s(c,d){return(c[d]|c[d+1]<<8|c[d+2]<<16|c[d+3]<<24)>>>0}function a(c,d){return(c[d]<<24|c[d+1]<<16|c[d+2]<<8|c[d+3])>>>0}},{}],5:[function(require,module,exports){"use strict";module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}},{}],6:[function(e,t,n){"use strict";t.exports=i;function i(o,r,s){var a=s||8192,c=a>>>1,d=null,u=a;return function(p){if(p<1||p>c)return o(p);u+p>a&&(d=o(a),u=0);var g=r.call(d,u,u+=p);return u&7&&(u=(u|7)+1),g}}},{}],7:[function(e,t,n){"use strict";var i=n;i.length=function(r){for(var s=0,a=0,c=0;c<r.length;++c)a=r.charCodeAt(c),a<128?s+=1:a<2048?s+=2:(a&64512)===55296&&(r.charCodeAt(c+1)&64512)===56320?(++c,s+=4):s+=3;return s},i.read=function(r,s,a){var c=a-s;if(c<1)return"";for(var d=null,u=[],h=0,p;s<a;)p=r[s++],p<128?u[h++]=p:p>191&&p<224?u[h++]=(p&31)<<6|r[s++]&63:p>239&&p<365?(p=((p&7)<<18|(r[s++]&63)<<12|(r[s++]&63)<<6|r[s++]&63)-65536,u[h++]=55296+(p>>10),u[h++]=56320+(p&1023)):u[h++]=(p&15)<<12|(r[s++]&63)<<6|r[s++]&63,h>8191&&((d||(d=[])).push(String.fromCharCode.apply(String,u)),h=0);return d?(h&&d.push(String.fromCharCode.apply(String,u.slice(0,h))),d.join("")):String.fromCharCode.apply(String,u.slice(0,h))},i.write=function(r,s,a){for(var c=a,d,u,h=0;h<r.length;++h)d=r.charCodeAt(h),d<128?s[a++]=d:d<2048?(s[a++]=d>>6|192,s[a++]=d&63|128):(d&64512)===55296&&((u=r.charCodeAt(h+1))&64512)===56320?(d=65536+((d&1023)<<10)+(u&1023),++h,s[a++]=d>>18|240,s[a++]=d>>12&63|128,s[a++]=d>>6&63|128,s[a++]=d&63|128):(s[a++]=d>>12|224,s[a++]=d>>6&63|128,s[a++]=d&63|128);return a-c}},{}],8:[function(e,t,n){"use strict";var i=n;i.build="minimal",i.Writer=e(16),i.BufferWriter=e(17),i.Reader=e(9),i.BufferReader=e(10),i.util=e(15),i.rpc=e(12),i.roots=e(11),i.configure=o;function o(){i.util._configure(),i.Writer._configure(i.BufferWriter),i.Reader._configure(i.BufferReader)}o()},{10:10,11:11,12:12,15:15,16:16,17:17,9:9}],9:[function(e,t,n){"use strict";t.exports=c;var i=e(15),o,r=i.LongBits,s=i.utf8;function a(f,y){return RangeError("index out of range: "+f.pos+" + "+(y||1)+" > "+f.len)}function c(f){this.buf=f,this.pos=0,this.len=f.length}var d=typeof Uint8Array<"u"?function(y){if(y instanceof Uint8Array||Array.isArray(y))return new c(y);throw Error("illegal buffer")}:function(y){if(Array.isArray(y))return new c(y);throw Error("illegal buffer")},u=function(){return i.Buffer?function(T){return(c.create=function(C){return i.Buffer.isBuffer(C)?new o(C):d(C)})(T)}:d};c.create=u(),c.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,c.prototype.uint32=(function(){var y=4294967295;return function(){if(y=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(y=(y|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return y;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return y}})(),c.prototype.int32=function(){return this.uint32()|0},c.prototype.sint32=function(){var y=this.uint32();return y>>>1^-(y&1)|0};function h(){var f=new r(0,0),y=0;if(this.len-this.pos>4){for(;y<4;++y)if(f.lo=(f.lo|(this.buf[this.pos]&127)<<y*7)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(this.buf[this.pos]&127)<<28)>>>0,f.hi=(f.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return f;y=0}else{for(;y<3;++y){if(this.pos>=this.len)throw a(this);if(f.lo=(f.lo|(this.buf[this.pos]&127)<<y*7)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(this.buf[this.pos++]&127)<<y*7)>>>0,f}if(this.len-this.pos>4){for(;y<5;++y)if(f.hi=(f.hi|(this.buf[this.pos]&127)<<y*7+3)>>>0,this.buf[this.pos++]<128)return f}else for(;y<5;++y){if(this.pos>=this.len)throw a(this);if(f.hi=(f.hi|(this.buf[this.pos]&127)<<y*7+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}c.prototype.bool=function(){return this.uint32()!==0};function p(f,y){return(f[y-4]|f[y-3]<<8|f[y-2]<<16|f[y-1]<<24)>>>0}c.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return p(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return p(this.buf,this.pos+=4)|0};function g(){if(this.pos+8>this.len)throw a(this,8);return new r(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}c.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var y=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,y},c.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var y=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,y},c.prototype.bytes=function(){var y=this.uint32(),T=this.pos,S=this.pos+y;if(S>this.len)throw a(this,y);if(this.pos+=y,Array.isArray(this.buf))return this.buf.slice(T,S);if(T===S){var C=i.Buffer;return C?C.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,T,S)},c.prototype.string=function(){var y=this.bytes();return s.read(y,0,y.length)},c.prototype.skip=function(y){if(typeof y=="number"){if(this.pos+y>this.len)throw a(this,y);this.pos+=y}else do if(this.pos>=this.len)throw a(this);while(this.buf[this.pos++]&128);return this},c.prototype.skipType=function(f){switch(f){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(f=this.uint32()&7)!==4;)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},c._configure=function(f){o=f,c.create=u(),o._configure();var y=i.Long?"toLong":"toNumber";i.merge(c.prototype,{int64:function(){return h.call(this)[y](!1)},uint64:function(){return h.call(this)[y](!0)},sint64:function(){return h.call(this).zzDecode()[y](!1)},fixed64:function(){return g.call(this)[y](!0)},sfixed64:function(){return g.call(this)[y](!1)}})}},{15:15}],10:[function(e,t,n){"use strict";t.exports=r;var i=e(9);(r.prototype=Object.create(i.prototype)).constructor=r;var o=e(15);function r(s){i.call(this,s)}r._configure=function(){o.Buffer&&(r.prototype._slice=o.Buffer.prototype.slice)},r.prototype.string=function(){var a=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+a,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+a,this.len))},r._configure()},{15:15,9:9}],11:[function(e,t,n){"use strict";t.exports={}},{}],12:[function(e,t,n){"use strict";var i=n;i.Service=e(13)},{13:13}],13:[function(e,t,n){"use strict";t.exports=o;var i=e(15);(o.prototype=Object.create(i.EventEmitter.prototype)).constructor=o;function o(r,s,a){if(typeof r!="function")throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=r,this.requestDelimited=!!s,this.responseDelimited=!!a}o.prototype.rpcCall=function r(s,a,c,d,u){if(!d)throw TypeError("request must be specified");var h=this;if(!u)return i.asPromise(r,h,s,a,c,d);if(!h.rpcImpl)return setTimeout(function(){u(Error("already ended"))},0),undefined;try{return h.rpcImpl(s,a[h.requestDelimited?"encodeDelimited":"encode"](d).finish(),function(g,f){if(g)return h.emit("error",g,s),u(g);if(f===null)return h.end(!0),undefined;if(!(f instanceof c))try{f=c[h.responseDelimited?"decodeDelimited":"decode"](f)}catch(y){return h.emit("error",y,s),u(y)}return h.emit("data",f,s),u(null,f)})}catch(p){return h.emit("error",p,s),setTimeout(function(){u(p)},0),undefined}},o.prototype.end=function(s){return this.rpcImpl&&(s||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},{15:15}],14:[function(e,t,n){"use strict";t.exports=o;var i=e(15);function o(c,d){this.lo=c>>>0,this.hi=d>>>0}var r=o.zero=new o(0,0);r.toNumber=function(){return 0},r.zzEncode=r.zzDecode=function(){return this},r.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(d){if(d===0)return r;var u=d<0;u&&(d=-d);var h=d>>>0,p=(d-h)/4294967296>>>0;return u&&(p=~p>>>0,h=~h>>>0,++h>4294967295&&(h=0,++p>4294967295&&(p=0))),new o(h,p)},o.from=function(d){if(typeof d=="number")return o.fromNumber(d);if(i.isString(d))if(i.Long)d=i.Long.fromString(d);else return o.fromNumber(parseInt(d,10));return d.low||d.high?new o(d.low>>>0,d.high>>>0):r},o.prototype.toNumber=function(d){if(!d&&this.hi>>>31){var u=~this.lo+1>>>0,h=~this.hi>>>0;return u||(h=h+1>>>0),-(u+h*4294967296)}return this.lo+this.hi*4294967296},o.prototype.toLong=function(d){return i.Long?new i.Long(this.lo|0,this.hi|0,!!d):{low:this.lo|0,high:this.hi|0,unsigned:!!d}};var a=String.prototype.charCodeAt;o.fromHash=function(d){return d===s?r:new o((a.call(d,0)|a.call(d,1)<<8|a.call(d,2)<<16|a.call(d,3)<<24)>>>0,(a.call(d,4)|a.call(d,5)<<8|a.call(d,6)<<16|a.call(d,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var d=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^d)>>>0,this.lo=(this.lo<<1^d)>>>0,this},o.prototype.zzDecode=function(){var d=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^d)>>>0,this.hi=(this.hi>>>1^d)>>>0,this},o.prototype.length=function(){var d=this.lo,u=(this.lo>>>28|this.hi<<4)>>>0,h=this.hi>>>24;return h===0?u===0?d<16384?d<128?1:2:d<2097152?3:4:u<16384?u<128?5:6:u<2097152?7:8:h<128?9:10}},{15:15}],15:[function(e,t,n){"use strict";var i=n;i.asPromise=e(1),i.base64=e(2),i.EventEmitter=e(3),i.float=e(4),i.inquire=e(5),i.utf8=e(7),i.pool=e(6),i.LongBits=e(14),i.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node),i.global=i.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||this,i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},i.isString=function(a){return typeof a=="string"||a instanceof String},i.isObject=function(a){return a&&typeof a=="object"},i.isset=i.isSet=function(a,c){var d=a[c];return d!=null&&a.hasOwnProperty(c)?typeof d!="object"||(Array.isArray(d)?d.length:Object.keys(d).length)>0:!1},i.Buffer=(function(){try{var s=i.inquire("buffer").Buffer;return s.prototype.utf8Write?s:null}catch{return null}})(),i._Buffer_from=null,i._Buffer_allocUnsafe=null,i.newBuffer=function(a){return typeof a=="number"?i.Buffer?i._Buffer_allocUnsafe(a):new i.Array(a):i.Buffer?i._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},i.Array=typeof Uint8Array<"u"?Uint8Array:Array,i.Long=i.global.dcodeIO&&i.global.dcodeIO.Long||i.global.Long||i.inquire("long"),i.key2Re=/^true|false|0|1$/,i.key32Re=/^-?(?:0|[1-9][0-9]*)$/,i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,i.longToHash=function(a){return a?i.LongBits.from(a).toHash():i.LongBits.zeroHash},i.longFromHash=function(a,c){var d=i.LongBits.fromHash(a);return i.Long?i.Long.fromBits(d.lo,d.hi,c):d.toNumber(!!c)};function o(s,a,c){for(var d=Object.keys(a),u=0;u<d.length;++u)(s[d[u]]===undefined||!c)&&(s[d[u]]=a[d[u]]);return s}i.merge=o,i.lcFirst=function(a){return a.charAt(0).toLowerCase()+a.substring(1)};function r(s){function a(c,d){if(!(this instanceof a))return new a(c,d);Object.defineProperty(this,"message",{get:function(){return c}}),Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:new Error().stack||""}),d&&o(this,d)}return a.prototype=Object.create(Error.prototype,{constructor:{value:a,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return s},set:undefined,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),a}i.newError=r,i.ProtocolError=r("ProtocolError"),i.oneOfGetter=function(a){for(var c={},d=0;d<a.length;++d)c[a[d]]=1;return function(){for(var u=Object.keys(this),h=u.length-1;h>-1;--h)if(c[u[h]]===1&&this[u[h]]!==undefined&&this[u[h]]!==null)return u[h]}},i.oneOfSetter=function(a){return function(c){for(var d=0;d<a.length;++d)a[d]!==c&&delete this[a[d]]}},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i._configure=function(){var s=i.Buffer;if(!s){i._Buffer_from=i._Buffer_allocUnsafe=null;return}i._Buffer_from=s.from!==Uint8Array.from&&s.from||function(c,d){return new s(c,d)},i._Buffer_allocUnsafe=s.allocUnsafe||function(c){return new s(c)}}},{1:1,14:14,2:2,3:3,4:4,5:5,6:6,7:7}],16:[function(e,t,n){"use strict";t.exports=h;var i=e(15),o,r=i.LongBits,s=i.base64,a=i.utf8;function c(V,R,Z){this.fn=V,this.len=R,this.next=undefined,this.val=Z}function d(){}function u(V){this.head=V.head,this.tail=V.tail,this.len=V.len,this.next=V.states}function h(){this.len=0,this.head=new c(d,0,0),this.tail=this.head,this.states=null}var p=function(){return i.Buffer?function(){return(h.create=function(){return new o})()}:function(){return new h}};h.create=p(),h.alloc=function(R){return new i.Array(R)},i.Array!==Array&&(h.alloc=i.pool(h.alloc,i.Array.prototype.subarray)),h.prototype._push=function(R,Z,I){return this.tail=this.tail.next=new c(R,Z,I),this.len+=Z,this};function g(V,R,Z){R[Z]=V&255}function f(V,R,Z){for(;V>127;)R[Z++]=V&127|128,V>>>=7;R[Z]=V}function y(V,R){this.len=V,this.next=undefined,this.val=R}y.prototype=Object.create(c.prototype),y.prototype.fn=f,h.prototype.uint32=function(R){return this.len+=(this.tail=this.tail.next=new y((R=R>>>0)<128?1:R<16384?2:R<2097152?3:R<268435456?4:5,R)).len,this},h.prototype.int32=function(R){return R<0?this._push(T,10,r.fromNumber(R)):this.uint32(R)},h.prototype.sint32=function(R){return this.uint32((R<<1^R>>31)>>>0)};function T(V,R,Z){for(;V.hi;)R[Z++]=V.lo&127|128,V.lo=(V.lo>>>7|V.hi<<25)>>>0,V.hi>>>=7;for(;V.lo>127;)R[Z++]=V.lo&127|128,V.lo=V.lo>>>7;R[Z++]=V.lo}h.prototype.uint64=function(R){var Z=r.from(R);return this._push(T,Z.length(),Z)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(R){var Z=r.from(R).zzEncode();return this._push(T,Z.length(),Z)},h.prototype.bool=function(R){return this._push(g,1,R?1:0)};function S(V,R,Z){R[Z]=V&255,R[Z+1]=V>>>8&255,R[Z+2]=V>>>16&255,R[Z+3]=V>>>24}h.prototype.fixed32=function(R){return this._push(S,4,R>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(R){var Z=r.from(R);return this._push(S,4,Z.lo)._push(S,4,Z.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(R){return this._push(i.float.writeFloatLE,4,R)},h.prototype.double=function(R){return this._push(i.float.writeDoubleLE,8,R)};var C=i.Array.prototype.set?function(R,Z,I){Z.set(R,I)}:function(R,Z,I){for(var W=0;W<R.length;++W)Z[I+W]=R[W]};h.prototype.bytes=function(R){var Z=R.length>>>0;if(!Z)return this._push(g,1,0);if(i.isString(R)){var I=h.alloc(Z=s.length(R));s.decode(R,I,0),R=I}return this.uint32(Z)._push(C,Z,R)},h.prototype.string=function(R){var Z=a.length(R);return Z?this.uint32(Z)._push(a.write,Z,R):this._push(g,1,0)},h.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new c(d,0,0),this.len=0,this},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(d,0,0),this.len=0),this},h.prototype.ldelim=function(){var R=this.head,Z=this.tail,I=this.len;return this.reset().uint32(I),I&&(this.tail.next=R.next,this.tail=Z,this.len+=I),this},h.prototype.finish=function(){for(var R=this.head.next,Z=this.constructor.alloc(this.len),I=0;R;)R.fn(R.val,Z,I),I+=R.len,R=R.next;return Z},h._configure=function(V){o=V,h.create=p(),o._configure()}},{15:15}],17:[function(e,t,n){"use strict";t.exports=r;var i=e(16);(r.prototype=Object.create(i.prototype)).constructor=r;var o=e(15);function r(){i.call(this)}r._configure=function(){r.alloc=o._Buffer_allocUnsafe,r.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&o.Buffer.prototype.set.name==="set"?function(c,d,u){d.set(c,u)}:function(c,d,u){if(c.copy)c.copy(d,u,0,c.length);else for(var h=0;h<c.length;)d[u++]=c[h++]}},r.prototype.bytes=function(c){o.isString(c)&&(c=o._Buffer_from(c,"base64"));var d=c.length>>>0;return this.uint32(d),d&&this._push(r.writeBytesBuffer,d,c),this};function s(a,c,d){a.length<40?o.utf8.write(a,c,d):c.utf8Write?c.utf8Write(a,d):c.write(a,d)}r.prototype.string=function(c){var d=o.Buffer.byteLength(c);return this.uint32(d),d&&this._push(s,d,c),this},r._configure()},{15:15,16:16}]},{},[8])})()});var n1e=cd((_io,ZO)=>{var Tio=x(_());/* Copyright 2015-2018 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */(function(){var e=(function(){var o={};o.defaultNoDataValue=-34027999387901484e22,o.decode=function(u,h){h=h||{};var p=h.encodedMaskData||h.encodedMaskData===null,g=c(u,h.inputOffset||0,p),f=h.noDataValue!==null?h.noDataValue:o.defaultNoDataValue,y=r(g,h.pixelType||Float32Array,h.encodedMaskData,f,h.returnMask),T={width:g.width,height:g.height,pixelData:y.resultPixels,minValue:y.minValue,maxValue:g.pixels.maxValue,noDataValue:f};return y.resultMask&&(T.maskData=y.resultMask),h.returnEncodedMask&&g.mask&&(T.encodedMaskData=g.mask.bitset?g.mask.bitset:null),h.returnFileInfo&&(T.fileInfo=s(g),h.computeUsedBitDepths&&(T.fileInfo.bitDepths=a(g))),T};var r=function(u,h,p,g,f){var y=0,T=u.pixels.numBlocksX,S=u.pixels.numBlocksY,C=Math.floor(u.width/T),V=Math.floor(u.height/S),R=2*u.maxZError,Z=Number.MAX_VALUE,I;p=p||(u.mask?u.mask.bitset:null);var W,X;W=new h(u.width*u.height),f&&p&&(X=new Uint8Array(u.width*u.height));for(var w=new Float32Array(C*V),F,b,L=0;L<=S;L++){var E=L!==S?V:u.height%S;if(E!==0)for(var G=0;G<=T;G++){var v=G!==T?C:u.width%T;if(v!==0){var M=L*u.width*V+G*C,B=u.width-v,k=u.pixels.blocks[y],O,N,z;k.encoding<2?(k.encoding===0?O=k.rawData:(d(k.stuffedData,k.bitsPerPixel,k.numValidPixels,k.offset,R,w,u.pixels.maxValue),O=w),N=0):k.encoding===2?z=0:z=k.offset;var J;if(p)for(b=0;b<E;b++){for(M&7&&(J=p[M>>3],J<<=M&7),F=0;F<v;F++)M&7||(J=p[M>>3]),J&128?(X&&(X[M]=1),I=k.encoding<2?O[N++]:z,Z=Z>I?I:Z,W[M++]=I):(X&&(X[M]=0),W[M++]=g),J<<=1;M+=B}else if(k.encoding<2)for(b=0;b<E;b++){for(F=0;F<v;F++)I=O[N++],Z=Z>I?I:Z,W[M++]=I;M+=B}else for(Z=Z>z?z:Z,b=0;b<E;b++){for(F=0;F<v;F++)W[M++]=z;M+=B}if(k.encoding===1&&N!==k.numValidPixels)throw"Block and Mask do not match";y++}}}return{resultPixels:W,resultMask:X,minValue:Z}},s=function(u){return{fileIdentifierString:u.fileIdentifierString,fileVersion:u.fileVersion,imageType:u.imageType,height:u.height,width:u.width,maxZError:u.maxZError,eofOffset:u.eofOffset,mask:u.mask?{numBlocksX:u.mask.numBlocksX,numBlocksY:u.mask.numBlocksY,numBytes:u.mask.numBytes,maxValue:u.mask.maxValue}:null,pixels:{numBlocksX:u.pixels.numBlocksX,numBlocksY:u.pixels.numBlocksY,numBytes:u.pixels.numBytes,maxValue:u.pixels.maxValue,noDataValue:u.noDataValue}}},a=function(u){for(var h=u.pixels.numBlocksX*u.pixels.numBlocksY,p={},g=0;g<h;g++){var f=u.pixels.blocks[g];f.encoding===0?p.float32=!0:f.encoding===1?p[f.bitsPerPixel]=!0:p[0]=!0}return Object.keys(p)},c=function(u,h,p){var g={},f=new Uint8Array(u,h,10);if(g.fileIdentifierString=String.fromCharCode.apply(null,f),g.fileIdentifierString.trim()!=="CntZImage")throw"Unexpected file identifier string: "+g.fileIdentifierString;h+=10;var y=new DataView(u,h,24);if(g.fileVersion=y.getInt32(0,!0),g.imageType=y.getInt32(4,!0),g.height=y.getUint32(8,!0),g.width=y.getUint32(12,!0),g.maxZError=y.getFloat64(16,!0),h+=24,!p)if(y=new DataView(u,h,16),g.mask={},g.mask.numBlocksY=y.getUint32(0,!0),g.mask.numBlocksX=y.getUint32(4,!0),g.mask.numBytes=y.getUint32(8,!0),g.mask.maxValue=y.getFloat32(12,!0),h+=16,g.mask.numBytes>0){var T=new Uint8Array(Math.ceil(g.width*g.height/8));y=new DataView(u,h,g.mask.numBytes);var S=y.getInt16(0,!0),C=2,V=0;do{if(S>0)for(;S--;)T[V++]=y.getUint8(C++);else{var R=y.getUint8(C++);for(S=-S;S--;)T[V++]=R}S=y.getInt16(C,!0),C+=2}while(C<g.mask.numBytes);if(S!==-32768||V<T.length)throw"Unexpected end of mask RLE encoding";g.mask.bitset=T,h+=g.mask.numBytes}else(g.mask.numBytes|g.mask.numBlocksY|g.mask.maxValue)===0&&(g.mask.bitset=new Uint8Array(Math.ceil(g.width*g.height/8)));y=new DataView(u,h,16),g.pixels={},g.pixels.numBlocksY=y.getUint32(0,!0),g.pixels.numBlocksX=y.getUint32(4,!0),g.pixels.numBytes=y.getUint32(8,!0),g.pixels.maxValue=y.getFloat32(12,!0),h+=16;var Z=g.pixels.numBlocksX,I=g.pixels.numBlocksY,W=Z+(g.width%Z>0?1:0),X=I+(g.height%I>0?1:0);g.pixels.blocks=new Array(W*X);for(var w=0,F=0;F<X;F++)for(var b=0;b<W;b++){var L=0,E=u.byteLength-h;y=new DataView(u,h,Math.min(10,E));var G={};g.pixels.blocks[w++]=G;var v=y.getUint8(0);if(L++,G.encoding=v&63,G.encoding>3)throw"Invalid block encoding ("+G.encoding+")";if(G.encoding===2){h++;continue}if(v!==0&&v!==2){if(v>>=6,G.offsetType=v,v===2)G.offset=y.getInt8(1),L++;else if(v===1)G.offset=y.getInt16(1,!0),L+=2;else if(v===0)G.offset=y.getFloat32(1,!0),L+=4;else throw"Invalid block offset type";if(G.encoding===1)if(v=y.getUint8(L),L++,G.bitsPerPixel=v&63,v>>=6,G.numValidPixelsType=v,v===2)G.numValidPixels=y.getUint8(L),L++;else if(v===1)G.numValidPixels=y.getUint16(L,!0),L+=2;else if(v===0)G.numValidPixels=y.getUint32(L,!0),L+=4;else throw"Invalid valid pixel count type"}if(h+=L,G.encoding!==3){var M,B;if(G.encoding===0){var k=(g.pixels.numBytes-1)/4;if(k!==Math.floor(k))throw"uncompressed block has invalid length";M=new ArrayBuffer(k*4),B=new Uint8Array(M),B.set(new Uint8Array(u,h,k*4));var O=new Float32Array(M);G.rawData=O,h+=k*4}else if(G.encoding===1){var N=Math.ceil(G.numValidPixels*G.bitsPerPixel/8),z=Math.ceil(N/4);M=new ArrayBuffer(z*4),B=new Uint8Array(M),B.set(new Uint8Array(u,h,N)),G.stuffedData=new Uint32Array(M),h+=N}}}return g.eofOffset=h,g},d=function(u,h,p,g,f,y,T){var S=(1<<h)-1,C=0,V,R=0,Z,I,W=Math.ceil((T-g)/f),X=u.length*4-Math.ceil(h*p/8);for(u[u.length-1]<<=8*X,V=0;V<p;V++){if(R===0&&(I=u[C++],R=32),R>=h)Z=I>>>R-h&S,R-=h;else{var w=h-R;Z=(I&S)<<w&S,I=u[C++],R=32-w,Z+=I>>>R}y[V]=Z<W?g+Z*f:T}return y};return o})(),t=(function(){"use strict";var o={unstuff:function(c,d,u,h,p,g,f,y){var T=(1<<u)-1,S=0,C,V=0,R,Z,I,W,X=c.length*4-Math.ceil(u*h/8);if(c[c.length-1]<<=8*X,p)for(C=0;C<h;C++)V===0&&(Z=c[S++],V=32),V>=u?(R=Z>>>V-u&T,V-=u):(I=u-V,R=(Z&T)<<I&T,Z=c[S++],V=32-I,R+=Z>>>V),d[C]=p[R];else for(W=Math.ceil((y-g)/f),C=0;C<h;C++)V===0&&(Z=c[S++],V=32),V>=u?(R=Z>>>V-u&T,V-=u):(I=u-V,R=(Z&T)<<I&T,Z=c[S++],V=32-I,R+=Z>>>V),d[C]=R<W?g+R*f:y},unstuffLUT:function(c,d,u,h,p,g){var f=(1<<d)-1,y=0,T=0,S=0,C=0,V=0,R,Z=[],I=c.length*4-Math.ceil(d*u/8);c[c.length-1]<<=8*I;var W=Math.ceil((g-h)/p);for(T=0;T<u;T++)C===0&&(R=c[y++],C=32),C>=d?(V=R>>>C-d&f,C-=d):(S=d-C,V=(R&f)<<S&f,R=c[y++],C=32-S,V+=R>>>C),Z[T]=V<W?h+V*p:g;return Z.unshift(h),Z},unstuff2:function(c,d,u,h,p,g,f,y){var T=(1<<u)-1,S=0,C,V=0,R=0,Z,I,W;if(p)for(C=0;C<h;C++)V===0&&(I=c[S++],V=32,R=0),V>=u?(Z=I>>>R&T,V-=u,R+=u):(W=u-V,Z=I>>>R&T,I=c[S++],V=32-W,Z|=(I&(1<<W)-1)<<u-W,R=W),d[C]=p[Z];else{var X=Math.ceil((y-g)/f);for(C=0;C<h;C++)V===0&&(I=c[S++],V=32,R=0),V>=u?(Z=I>>>R&T,V-=u,R+=u):(W=u-V,Z=I>>>R&T,I=c[S++],V=32-W,Z|=(I&(1<<W)-1)<<u-W,R=W),d[C]=Z<X?g+Z*f:y}return d},unstuffLUT2:function(c,d,u,h,p,g){var f=(1<<d)-1,y=0,T=0,S=0,C=0,V=0,R=0,Z,I=[],W=Math.ceil((g-h)/p);for(T=0;T<u;T++)C===0&&(Z=c[y++],C=32,R=0),C>=d?(V=Z>>>R&f,C-=d,R+=d):(S=d-C,V=Z>>>R&f,Z=c[y++],C=32-S,V|=(Z&(1<<S)-1)<<d-S,R=S),I[T]=V<W?h+V*p:g;return I.unshift(h),I},originalUnstuff:function(c,d,u,h){var p=(1<<u)-1,g=0,f,y=0,T,S,C,V=c.length*4-Math.ceil(u*h/8);for(c[c.length-1]<<=8*V,f=0;f<h;f++)y===0&&(S=c[g++],y=32),y>=u?(T=S>>>y-u&p,y-=u):(C=u-y,T=(S&p)<<C&p,S=c[g++],y=32-C,T+=S>>>y),d[f]=T;return d},originalUnstuff2:function(c,d,u,h){var p=(1<<u)-1,g=0,f,y=0,T=0,S,C,V;for(f=0;f<h;f++)y===0&&(C=c[g++],y=32,T=0),y>=u?(S=C>>>T&p,y-=u,T+=u):(V=u-y,S=C>>>T&p,C=c[g++],y=32-V,S|=(C&(1<<V)-1)<<u-V,T=V),d[f]=S;return d}},r={HUFFMAN_LUT_BITS_MAX:12,computeChecksumFletcher32:function(c){for(var d=65535,u=65535,h=c.length,p=Math.floor(h/2),g=0;p;){var f=p>=359?359:p;p-=f;do d+=c[g++]<<8,u+=d+=c[g++];while(--f);d=(d&65535)+(d>>>16),u=(u&65535)+(u>>>16)}return h&1&&(u+=d+=c[g]<<8),d=(d&65535)+(d>>>16),u=(u&65535)+(u>>>16),(u<<16|d)>>>0},readHeaderInfo:function(c,d){var u=d.ptr,h=new Uint8Array(c,u,6),p={};if(p.fileIdentifierString=String.fromCharCode.apply(null,h),p.fileIdentifierString.lastIndexOf("Lerc2",0)!==0)throw"Unexpected file identifier string (expect Lerc2 ): "+p.fileIdentifierString;u+=6;var g=new DataView(c,u,8),f=g.getInt32(0,!0);p.fileVersion=f,u+=4,f>=3&&(p.checksum=g.getUint32(4,!0),u+=4),g=new DataView(c,u,12),p.height=g.getUint32(0,!0),p.width=g.getUint32(4,!0),u+=8,f>=4?(p.numDims=g.getUint32(8,!0),u+=4):p.numDims=1,g=new DataView(c,u,40),p.numValidPixel=g.getUint32(0,!0),p.microBlockSize=g.getInt32(4,!0),p.blobSize=g.getInt32(8,!0),p.imageType=g.getInt32(12,!0),p.maxZError=g.getFloat64(16,!0),p.zMin=g.getFloat64(24,!0),p.zMax=g.getFloat64(32,!0),u+=40,d.headerInfo=p,d.ptr=u;var y,T;if(f>=3&&(T=f>=4?52:48,y=this.computeChecksumFletcher32(new Uint8Array(c,u-T,p.blobSize-14)),y!==p.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(c,d){var u=d.headerInfo,h=this.getDataTypeArray(u.imageType),p=u.numDims*this.getDataTypeSize(u.imageType),g=this.readSubArray(c,d.ptr,h,p),f=this.readSubArray(c,d.ptr+p,h,p);d.ptr+=2*p;var y,T=!0;for(y=0;y<u.numDims;y++)if(g[y]!==f[y]){T=!1;break}return u.minValues=g,u.maxValues=f,T},readSubArray:function(c,d,u,h){var p;if(u===Uint8Array)p=new Uint8Array(c,d,h);else{var g=new ArrayBuffer(h),f=new Uint8Array(g);f.set(new Uint8Array(c,d,h)),p=new u(g)}return p},readMask:function(c,d){var u=d.ptr,h=d.headerInfo,p=h.width*h.height,g=h.numValidPixel,f=new DataView(c,u,4),y={};if(y.numBytes=f.getUint32(0,!0),u+=4,(g===0||p===g)&&y.numBytes!==0)throw"invalid mask";var T,S;if(g===0)T=new Uint8Array(Math.ceil(p/8)),y.bitset=T,S=new Uint8Array(p),d.pixels.resultMask=S,u+=y.numBytes;else if(y.numBytes>0){T=new Uint8Array(Math.ceil(p/8)),f=new DataView(c,u,y.numBytes);var C=f.getInt16(0,!0),V=2,R=0,Z=0;do{if(C>0)for(;C--;)T[R++]=f.getUint8(V++);else for(Z=f.getUint8(V++),C=-C;C--;)T[R++]=Z;C=f.getInt16(V,!0),V+=2}while(V<y.numBytes);if(C!==-32768||R<T.length)throw"Unexpected end of mask RLE encoding";S=new Uint8Array(p);var I=0,W=0;for(W=0;W<p;W++)W&7?(I=T[W>>3],I<<=W&7):I=T[W>>3],I&128&&(S[W]=1);d.pixels.resultMask=S,y.bitset=T,u+=y.numBytes}return d.ptr=u,d.mask=y,!0},readDataOneSweep:function(c,d,u){var h=d.ptr,p=d.headerInfo,g=p.numDims,f=p.width*p.height,y=p.imageType,T=p.numValidPixel*r.getDataTypeSize(y)*g,S,C=d.pixels.resultMask;if(u===Uint8Array)S=new Uint8Array(c,h,T);else{var V=new ArrayBuffer(T),R=new Uint8Array(V);R.set(new Uint8Array(c,h,T)),S=new u(V)}if(S.length===f*g)d.pixels.resultPixels=S;else{d.pixels.resultPixels=new u(f*g);var Z=0,I=0,W=0,X=0;if(g>1)for(W=0;W<g;W++)for(X=W*f,I=0;I<f;I++)C[I]&&(d.pixels.resultPixels[X+I]=S[Z++]);else for(I=0;I<f;I++)C[I]&&(d.pixels.resultPixels[I]=S[Z++])}return h+=T,d.ptr=h,!0},readHuffmanTree:function(c,d){var u=this.HUFFMAN_LUT_BITS_MAX,h=new DataView(c,d.ptr,16);d.ptr+=16;var p=h.getInt32(0,!0);if(p<2)throw"unsupported Huffman version";var g=h.getInt32(4,!0),f=h.getInt32(8,!0),y=h.getInt32(12,!0);if(f>=y)return!1;var T=new Uint32Array(y-f);r.decodeBits(c,d,T);var S=[],C,V,R,Z;for(C=f;C<y;C++)V=C-(C<g?0:g),S[V]={first:T[C-f],second:null};var I=c.byteLength-d.ptr,W=Math.ceil(I/4),X=new ArrayBuffer(W*4),w=new Uint8Array(X);w.set(new Uint8Array(c,d.ptr,I));var F=new Uint32Array(X),b=0,L,E=0;for(L=F[0],C=f;C<y;C++)V=C-(C<g?0:g),Z=S[V].first,Z>0&&(S[V].second=L<<b>>>32-Z,32-b>=Z?(b+=Z,b===32&&(b=0,E++,L=F[E])):(b+=Z-32,E++,L=F[E],S[V].second|=L>>>32-b));var G=0,v=0,M=new s;for(C=0;C<S.length;C++)S[C]!==void 0&&(G=Math.max(G,S[C].first));G>=u?v=u:v=G,G>=30&&console.log("WARning, large NUM LUT BITS IS "+G);var B=[],k,O,N,z,J,ee;for(C=f;C<y;C++)if(V=C-(C<g?0:g),Z=S[V].first,Z>0)if(k=[Z,V],Z<=v)for(O=S[V].second<<v-Z,N=1<<v-Z,R=0;R<N;R++)B[O|R]=k;else for(O=S[V].second,ee=M,z=Z-1;z>=0;z--)J=O>>>z&1,J?(ee.right||(ee.right=new s),ee=ee.right):(ee.left||(ee.left=new s),ee=ee.left),z===0&&!ee.val&&(ee.val=k[1]);return{decodeLut:B,numBitsLUTQick:v,numBitsLUT:G,tree:M,stuffedData:F,srcPtr:E,bitPos:b}},readHuffman:function(c,d,u){var h=d.headerInfo,p=h.numDims,g=d.headerInfo.height,f=d.headerInfo.width,y=f*g,T=this.readHuffmanTree(c,d),S=T.decodeLut,C=T.tree,V=T.stuffedData,R=T.srcPtr,Z=T.bitPos,I=T.numBitsLUTQick,W=T.numBitsLUT,X=d.headerInfo.imageType===0?128:0,w,F,b,L=d.pixels.resultMask,E,G,v,M,B,k,O,N=0;Z>0&&(R++,Z=0);var z=V[R],J=d.encodeMode===1,ee=new u(y*p),H=ee,te;for(te=0;te<h.numDims;te++){if(p>1&&(H=new u(ee.buffer,y*te,y),N=0),d.headerInfo.numValidPixel===f*g)for(k=0,M=0;M<g;M++)for(B=0;B<f;B++,k++){if(F=0,E=z<<Z>>>32-I,G=E,32-Z<I&&(E|=V[R+1]>>>64-Z-I,G=E),S[G])F=S[G][1],Z+=S[G][0];else for(E=z<<Z>>>32-W,G=E,32-Z<W&&(E|=V[R+1]>>>64-Z-W,G=E),w=C,O=0;O<W;O++)if(v=E>>>W-O-1&1,w=v?w.right:w.left,!(w.left||w.right)){F=w.val,Z=Z+O+1;break}Z>=32&&(Z-=32,R++,z=V[R]),b=F-X,J?(B>0?b+=N:M>0?b+=H[k-f]:b+=N,b&=255,H[k]=b,N=b):H[k]=b}else for(k=0,M=0;M<g;M++)for(B=0;B<f;B++,k++)if(L[k]){if(F=0,E=z<<Z>>>32-I,G=E,32-Z<I&&(E|=V[R+1]>>>64-Z-I,G=E),S[G])F=S[G][1],Z+=S[G][0];else for(E=z<<Z>>>32-W,G=E,32-Z<W&&(E|=V[R+1]>>>64-Z-W,G=E),w=C,O=0;O<W;O++)if(v=E>>>W-O-1&1,w=v?w.right:w.left,!(w.left||w.right)){F=w.val,Z=Z+O+1;break}Z>=32&&(Z-=32,R++,z=V[R]),b=F-X,J?(B>0&&L[k-1]?b+=N:M>0&&L[k-f]?b+=H[k-f]:b+=N,b&=255,H[k]=b,N=b):H[k]=b}d.ptr=d.ptr+(R+1)*4+(Z>0?4:0)}d.pixels.resultPixels=ee},decodeBits:function(c,d,u,h,p){{var g=d.headerInfo,f=g.fileVersion,y=0,T=new DataView(c,d.ptr,5),S=T.getUint8(0);y++;var C=S>>6,V=C===0?4:3-C,R=(S&32)>0,Z=S&31,I=0;if(V===1)I=T.getUint8(y),y++;else if(V===2)I=T.getUint16(y,!0),y+=2;else if(V===4)I=T.getUint32(y,!0),y+=4;else throw"Invalid valid pixel count type";var W=2*g.maxZError,X,w,F,b,L,E,G,v,M,B,k=g.numDims>1?g.maxValues[p]:g.zMax;if(R){for(d.counter.lut++,v=T.getUint8(y),M=Z,y++,b=Math.ceil((v-1)*Z/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),d.ptr+=y,F.set(new Uint8Array(c,d.ptr,b)),G=new Uint32Array(w),d.ptr+=b,B=0;v-1>>>B;)B++;b=Math.ceil(I*B/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),F.set(new Uint8Array(c,d.ptr,b)),X=new Uint32Array(w),d.ptr+=b,f>=3?E=o.unstuffLUT2(G,Z,v-1,h,W,k):E=o.unstuffLUT(G,Z,v-1,h,W,k),f>=3?o.unstuff2(X,u,B,I,E):o.unstuff(X,u,B,I,E)}else d.counter.bitstuffer++,B=Z,d.ptr+=y,B>0&&(b=Math.ceil(I*B/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),F.set(new Uint8Array(c,d.ptr,b)),X=new Uint32Array(w),d.ptr+=b,f>=3?h==null?o.originalUnstuff2(X,u,B,I):o.unstuff2(X,u,B,I,!1,h,W,k):h==null?o.originalUnstuff(X,u,B,I):o.unstuff(X,u,B,I,!1,h,W,k))}},readTiles:function(c,d,u){var h=d.headerInfo,p=h.width,g=h.height,f=h.microBlockSize,y=h.imageType,T=r.getDataTypeSize(y),S=Math.ceil(p/f),C=Math.ceil(g/f);d.pixels.numBlocksY=C,d.pixels.numBlocksX=S,d.pixels.ptr=0;var V=0,R=0,Z=0,I=0,W=0,X=0,w=0,F=0,b=0,L=0,E=0,G=0,v=0,M=0,B=0,k=0,O,N,z,J,ee,H,te=new u(f*f),$=g%f||f,me=p%f||f,xe,oe,ge=h.numDims,Te,Ze=d.pixels.resultMask,Ce=d.pixels.resultPixels;for(Z=0;Z<C;Z++)for(W=Z!==C-1?f:$,I=0;I<S;I++)for(X=I!==S-1?f:me,E=Z*p*f+I*f,G=p-X,Te=0;Te<ge;Te++){if(ge>1&&(Ce=new u(d.pixels.resultPixels.buffer,p*g*Te*T,p*g)),w=c.byteLength-d.ptr,O=new DataView(c,d.ptr,Math.min(10,w)),N={},k=0,F=O.getUint8(0),k++,b=F>>6&255,L=F>>2&15,L!==(I*f>>3&15))throw"integrity issue";if(H=F&3,H>3)throw d.ptr+=k,"Invalid block encoding ("+H+")";if(H===2){d.counter.constant++,d.ptr+=k;continue}else if(H===0){if(d.counter.uncompressed++,d.ptr+=k,v=W*X*T,M=c.byteLength-d.ptr,v=v<M?v:M,z=new ArrayBuffer(v%T===0?v:v+T-v%T),J=new Uint8Array(z),J.set(new Uint8Array(c,d.ptr,v)),ee=new u(z),B=0,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=ee[B++]),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=ee[B++];E+=G}d.ptr+=B*T}else if(xe=r.getDataTypeUsed(y,b),oe=r.getOnePixel(N,k,xe,O),k+=r.getDataTypeSize(xe),H===3)if(d.ptr+=k,d.counter.constantoffset++,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=oe),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=oe;E+=G}else if(d.ptr+=k,r.decodeBits(c,d,te,oe,Te),k=0,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=te[k++]),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=te[k++];E+=G}}},formatFileInfo:function(c){return{fileIdentifierString:c.headerInfo.fileIdentifierString,fileVersion:c.headerInfo.fileVersion,imageType:c.headerInfo.imageType,height:c.headerInfo.height,width:c.headerInfo.width,numValidPixel:c.headerInfo.numValidPixel,microBlockSize:c.headerInfo.microBlockSize,blobSize:c.headerInfo.blobSize,maxZError:c.headerInfo.maxZError,pixelType:r.getPixelType(c.headerInfo.imageType),eofOffset:c.eofOffset,mask:c.mask?{numBytes:c.mask.numBytes}:null,pixels:{numBlocksX:c.pixels.numBlocksX,numBlocksY:c.pixels.numBlocksY,maxValue:c.headerInfo.zMax,minValue:c.headerInfo.zMin,noDataValue:c.noDataValue}}},constructConstantSurface:function(c){var d=c.headerInfo.zMax,u=c.headerInfo.numDims,h=c.headerInfo.height*c.headerInfo.width,p=h*u,g=0,f=0,y=0,T=c.pixels.resultMask;if(T)if(u>1)for(g=0;g<u;g++)for(y=g*h,f=0;f<h;f++)T[f]&&(c.pixels.resultPixels[y+f]=d);else for(f=0;f<h;f++)T[f]&&(c.pixels.resultPixels[f]=d);else if(c.pixels.resultPixels.fill)c.pixels.resultPixels.fill(d);else for(f=0;f<p;f++)c.pixels.resultPixels[f]=d},getDataTypeArray:function(c){var d;switch(c){case 0:d=Int8Array;break;case 1:d=Uint8Array;break;case 2:d=Int16Array;break;case 3:d=Uint16Array;break;case 4:d=Int32Array;break;case 5:d=Uint32Array;break;case 6:d=Float32Array;break;case 7:d=Float64Array;break;default:d=Float32Array}return d},getPixelType:function(c){var d;switch(c){case 0:d="S8";break;case 1:d="U8";break;case 2:d="S16";break;case 3:d="U16";break;case 4:d="S32";break;case 5:d="U32";break;case 6:d="F32";break;case 7:d="F64";break;default:d="F32"}return d},isValidPixelValue:function(c,d){if(d==null)return!1;var u;switch(c){case 0:u=d>=-128&&d<=127;break;case 1:u=d>=0&&d<=255;break;case 2:u=d>=-32768&&d<=32767;break;case 3:u=d>=0&&d<=65536;break;case 4:u=d>=-2147483648&&d<=2147483647;break;case 5:u=d>=0&&d<=4294967296;break;case 6:u=d>=-34027999387901484e22&&d<=34027999387901484e22;break;case 7:u=d>=5e-324&&d<=17976931348623157e292;break;default:u=!1}return u},getDataTypeSize:function(c){var d=0;switch(c){case 0:case 1:d=1;break;case 2:case 3:d=2;break;case 4:case 5:case 6:d=4;break;case 7:d=8;break;default:d=c}return d},getDataTypeUsed:function(c,d){var u=c;switch(c){case 2:case 4:u=c-d;break;case 3:case 5:u=c-2*d;break;case 6:d===0?u=c:d===1?u=2:u=1;break;case 7:d===0?u=c:u=c-2*d+1;break;default:u=c;break}return u},getOnePixel:function(c,d,u,h){var p=0;switch(u){case 0:p=h.getInt8(d);break;case 1:p=h.getUint8(d);break;case 2:p=h.getInt16(d,!0);break;case 3:p=h.getUint16(d,!0);break;case 4:p=h.getInt32(d,!0);break;case 5:p=h.getUInt32(d,!0);break;case 6:p=h.getFloat32(d,!0);break;case 7:p=h.getFloat64(d,!0);break;default:throw"the decoder does not understand this pixel type"}return p}},s=function(c,d,u){this.val=c,this.left=d,this.right=u},a={decode:function(c,d){d=d||{};var u=d.noDataValue,h=0,p={};if(p.ptr=d.inputOffset||0,p.pixels={},!!r.readHeaderInfo(c,p)){var g=p.headerInfo,f=g.fileVersion,y=r.getDataTypeArray(g.imageType);r.readMask(c,p),g.numValidPixel!==g.width*g.height&&!p.pixels.resultMask&&(p.pixels.resultMask=d.maskData);var T=g.width*g.height;if(p.pixels.resultPixels=new y(T*g.numDims),p.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0},g.numValidPixel!==0)if(g.zMax===g.zMin)r.constructConstantSurface(p);else if(f>=4&&r.checkMinMaxRanges(c,p))r.constructConstantSurface(p);else{var S=new DataView(c,p.ptr,2),C=S.getUint8(0);if(p.ptr++,C)r.readDataOneSweep(c,p,y);else if(f>1&&g.imageType<=1&&Math.abs(g.maxZError-.5)<1e-5){var V=S.getUint8(1);if(p.ptr++,p.encodeMode=V,V>2||f<4&&V>1)throw"Invalid Huffman flag "+V;V?r.readHuffman(c,p,y):r.readTiles(c,p,y)}else r.readTiles(c,p,y)}p.eofOffset=p.ptr;var R;d.inputOffset?(R=p.headerInfo.blobSize+d.inputOffset-p.ptr,Math.abs(R)>=1&&(p.eofOffset=d.inputOffset+p.headerInfo.blobSize)):(R=p.headerInfo.blobSize-p.ptr,Math.abs(R)>=1&&(p.eofOffset=p.headerInfo.blobSize));var Z={width:g.width,height:g.height,pixelData:p.pixels.resultPixels,minValue:g.zMin,maxValue:g.zMax,validPixelCount:g.numValidPixel,dimCount:g.numDims,dimStats:{minValues:g.minValues,maxValues:g.maxValues},maskData:p.pixels.resultMask};if(p.pixels.resultMask&&r.isValidPixelValue(g.imageType,u)){var I=p.pixels.resultMask;for(h=0;h<T;h++)I[h]||(Z.pixelData[h]=u);Z.noDataValue=u}return p.noDataValue=u,d.returnFileInfo&&(Z.fileInfo=r.formatFileInfo(p)),Z}},getBandCount:function(c){var d=0,u=0,h={};for(h.ptr=0,h.pixels={};u<c.byteLength-58;)r.readHeaderInfo(c,h),u+=h.headerInfo.blobSize,d++,h.ptr=u;return d}};return a})(),n=(function(){var o=new ArrayBuffer(4),r=new Uint8Array(o),s=new Uint32Array(o);return s[0]=1,r[0]===1})(),i={decode:function(o,r){if(!n)throw"Big endian system is not supported.";r=r||{};var s=r.inputOffset||0,a=new Uint8Array(o,s,10),c=String.fromCharCode.apply(null,a),d,u;if(c.trim()==="CntZImage")d=e,u=1;else if(c.substring(0,5)==="Lerc2")d=t,u=2;else throw"Unexpected file identifier string: "+c;for(var h=0,p=o.byteLength-10,g,f=[],y,T,S={width:0,height:0,pixels:[],pixelType:r.pixelType,mask:null,statistics:[]};s<p;){var C=d.decode(o,{inputOffset:s,encodedMaskData:g,maskData:T,returnMask:h===0,returnEncodedMask:h===0,returnFileInfo:!0,pixelType:r.pixelType||null,noDataValue:r.noDataValue||null});s=C.fileInfo.eofOffset,h===0&&(g=C.encodedMaskData,T=C.maskData,S.width=C.width,S.height=C.height,S.dimCount=C.dimCount||1,S.pixelType=C.pixelType||C.fileInfo.pixelType,S.mask=C.maskData),u>1&&C.fileInfo.mask&&C.fileInfo.mask.numBytes>0&&f.push(C.maskData),h++,S.pixels.push(C.pixelData),S.statistics.push({minValue:C.minValue,maxValue:C.maxValue,noDataValue:C.noDataValue,dimStats:C.dimStats})}var V,R,Z;if(u>1&&f.length>1){for(Z=S.width*S.height,S.bandMasks=f,T=new Uint8Array(Z),T.set(f[0]),V=1;V<f.length;V++)for(y=f[V],R=0;R<Z;R++)T[R]=T[R]&y[R];S.maskData=T}return S}};typeof define=="function"&&define.amd?define([],function(){return i}):typeof ZO<"u"&&ZO.exports?ZO.exports=i:this.Lerc=i})()});var Y1e=cd((aIo,O1e)=>{var cIo=x(_());O1e.exports={webm:"data:video/webm;base64,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",mp4:"data:video/mp4;base64,AAAAHGZ0eXBNNFYgAAACAGlzb21pc28yYXZjMQAAAAhmcmVlAAAGF21kYXTeBAAAbGliZmFhYyAxLjI4AABCAJMgBDIARwAAArEGBf//rdxF6b3m2Ui3lizYINkj7u94MjY0IC0gY29yZSAxNDIgcjIgOTU2YzhkOCAtIEguMjY0L01QRUctNCBBVkMgY29kZWMgLSBDb3B5bGVmdCAyMDAzLTIwMTQgLSBodHRwOi8vd3d3LnZpZGVvbGFuLm9yZy94MjY0Lmh0bWwgLSBvcHRpb25zOiBjYWJhYz0wIHJlZj0zIGRlYmxvY2s9MTowOjAgYW5hbHlzZT0weDE6MHgxMTEgbWU9aGV4IHN1Ym1lPTcgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0xNiBjaHJvbWFfbWU9MSB0cmVsbGlzPTEgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz02IGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTI1MCBrZXlpbnRfbWluPTI1IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NDAgcmM9Y3JmIG1idHJlZT0xIGNyZj0yMy4wIHFjb21wPTAuNjAgcXBtaW49MCBxcG1heD02OSBxcHN0ZXA9NCB2YnZfbWF4cmF0ZT03NjggdmJ2X2J1ZnNpemU9MzAwMCBjcmZfbWF4PTAuMCBuYWxfaHJkPW5vbmUgZmlsbGVyPTAgaXBfcmF0aW89MS40MCBhcT0xOjEuMDAAgAAAAFZliIQL8mKAAKvMnJycnJycnJycnXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXiEASZACGQAjgCEASZACGQAjgAAAAAdBmjgX4GSAIQBJkAIZACOAAAAAB0GaVAX4GSAhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGagC/AySEASZACGQAjgAAAAAZBmqAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZrAL8DJIQBJkAIZACOAAAAABkGa4C/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmwAvwMkhAEmQAhkAI4AAAAAGQZsgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGbQC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm2AvwMkhAEmQAhkAI4AAAAAGQZuAL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGboC/AySEASZACGQAjgAAAAAZBm8AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZvgL8DJIQBJkAIZACOAAAAABkGaAC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmiAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpAL8DJIQBJkAIZACOAAAAABkGaYC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmoAvwMkhAEmQAhkAI4AAAAAGQZqgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGawC/AySEASZACGQAjgAAAAAZBmuAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZsAL8DJIQBJkAIZACOAAAAABkGbIC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm0AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZtgL8DJIQBJkAIZACOAAAAABkGbgCvAySEASZACGQAjgCEASZACGQAjgAAAAAZBm6AnwMkhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AAAAhubW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAD6AAABDcAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAzB0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAA+kAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAALAAAACQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAPpAAAAAAABAAAAAAKobWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAB1MAAAdU5VxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAACU21pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAhNzdGJsAAAAr3N0c2QAAAAAAAAAAQAAAJ9hdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAALAAkABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAALWF2Y0MBQsAN/+EAFWdCwA3ZAsTsBEAAAPpAADqYA8UKkgEABWjLg8sgAAAAHHV1aWRraEDyXyRPxbo5pRvPAyPzAAAAAAAAABhzdHRzAAAAAAAAAAEAAAAeAAAD6QAAABRzdHNzAAAAAAAAAAEAAAABAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAAIxzdHN6AAAAAAAAAAAAAAAeAAADDwAAAAsAAAALAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAAiHN0Y28AAAAAAAAAHgAAAEYAAANnAAADewAAA5gAAAO0AAADxwAAA+MAAAP2AAAEEgAABCUAAARBAAAEXQAABHAAAASMAAAEnwAABLsAAATOAAAE6gAABQYAAAUZAAAFNQAABUgAAAVkAAAFdwAABZMAAAWmAAAFwgAABd4AAAXxAAAGDQAABGh0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAACAAAAAAAABDcAAAAAAAAAAAAAAAEBAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAQkAAADcAABAAAAAAPgbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAC7gAAAykBVxAAAAAAALWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABTb3VuZEhhbmRsZXIAAAADi21pbmYAAAAQc21oZAAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAADT3N0YmwAAABnc3RzZAAAAAAAAAABAAAAV21wNGEAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAAC7gAAAAAAAM2VzZHMAAAAAA4CAgCIAAgAEgICAFEAVBbjYAAu4AAAADcoFgICAAhGQBoCAgAECAAAAIHN0dHMAAAAAAAAAAgAAADIAAAQAAAAAAQAAAkAAAAFUc3RzYwAAAAAAAAAbAAAAAQAAAAEAAAABAAAAAgAAAAIAAAABAAAAAwAAAAEAAAABAAAABAAAAAIAAAABAAAABgAAAAEAAAABAAAABwAAAAIAAAABAAAACAAAAAEAAAABAAAACQAAAAIAAAABAAAACgAAAAEAAAABAAAACwAAAAIAAAABAAAADQAAAAEAAAABAAAADgAAAAIAAAABAAAADwAAAAEAAAABAAAAEAAAAAIAAAABAAAAEQAAAAEAAAABAAAAEgAAAAIAAAABAAAAFAAAAAEAAAABAAAAFQAAAAIAAAABAAAAFgAAAAEAAAABAAAAFwAAAAIAAAABAAAAGAAAAAEAAAABAAAAGQAAAAIAAAABAAAAGgAAAAEAAAABAAAAGwAAAAIAAAABAAAAHQAAAAEAAAABAAAAHgAAAAIAAAABAAAAHwAAAAQAAAABAAAA4HN0c3oAAAAAAAAAAAAAADMAAAAaAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAACMc3RjbwAAAAAAAAAfAAAALAAAA1UAAANyAAADhgAAA6IAAAO+AAAD0QAAA+0AAAQAAAAEHAAABC8AAARLAAAEZwAABHoAAASWAAAEqQAABMUAAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw"}});var H1e=cd((lIo,z1e)=>{var dIo=x(_()),{webm:rRt,mp4:sRt}=Y1e(),Mq=()=>typeof navigator<"u"&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream,Nq=()=>"wakeLock"in navigator,kq=class{constructor(){if(this.enabled=!1,Nq()){this._wakeLock=null;let t=()=>{this._wakeLock!==null&&document.visibilityState==="visible"&&this.enable()};document.addEventListener("visibilitychange",t),document.addEventListener("fullscreenchange",t)}else Mq()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",rRt),this._addSourceToVideo(this.noSleepVideo,"mp4",sRt),this.noSleepVideo.addEventListener("loadedmetadata",()=>{this.noSleepVideo.duration<=1?this.noSleepVideo.setAttribute("loop",""):this.noSleepVideo.addEventListener("timeupdate",()=>{this.noSleepVideo.currentTime>.5&&(this.noSleepVideo.currentTime=Math.random())})}))}_addSourceToVideo(t,n,i){var o=document.createElement("source");o.src=i,o.type=`video/${n}`,t.appendChild(o)}get isEnabled(){return this.enabled}enable(){return Nq()?navigator.wakeLock.request("screen").then(t=>{this._wakeLock=t,this.enabled=!0,console.log("Wake Lock active."),this._wakeLock.addEventListener("release",()=>{console.log("Wake Lock released.")})}).catch(t=>{throw this.enabled=!1,console.error(`${t.name}, ${t.message}`),t}):Mq()?(this.disable(),console.warn(`
|
|
66
|
+
*/(function(undefined){"use strict";(function(t,n,i){function o(s){var a=n[s];return a||t[s][0].call(a=n[s]={exports:{}},o,a,a.exports),a.exports}var r=o(i[0]);r.util.global.protobuf=r,typeof define=="function"&&define.amd&&define(["long"],function(s){return s&&s.isLong&&(r.util.Long=s,r.configure()),r}),typeof module=="object"&&module&&module.exports&&(module.exports=r)})({1:[function(e,t,n){"use strict";t.exports=i;function i(o,r){for(var s=new Array(arguments.length-1),a=0,c=2,d=!0;c<arguments.length;)s[a++]=arguments[c++];return new Promise(function(h,p){s[a]=function(f){if(d)if(d=!1,f)p(f);else{for(var y=new Array(arguments.length-1),T=0;T<y.length;)y[T++]=arguments[T];h.apply(null,y)}};try{o.apply(r||null,s)}catch(g){d&&(d=!1,p(g))}})}},{}],2:[function(e,t,n){"use strict";var i=n;i.length=function(d){var u=d.length;if(!u)return 0;for(var h=0;--u%4>1&&d.charAt(u)==="=";)++h;return Math.ceil(d.length*3)/4-h};for(var o=new Array(64),r=new Array(123),s=0;s<64;)r[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;i.encode=function(d,u,h){for(var p=null,g=[],f=0,y=0,T;u<h;){var S=d[u++];switch(y){case 0:g[f++]=o[S>>2],T=(S&3)<<4,y=1;break;case 1:g[f++]=o[T|S>>4],T=(S&15)<<2,y=2;break;case 2:g[f++]=o[T|S>>6],g[f++]=o[S&63],y=0;break}f>8191&&((p||(p=[])).push(String.fromCharCode.apply(String,g)),f=0)}return y&&(g[f++]=o[T],g[f++]=61,y===1&&(g[f++]=61)),p?(f&&p.push(String.fromCharCode.apply(String,g.slice(0,f))),p.join("")):String.fromCharCode.apply(String,g.slice(0,f))};var a="invalid encoding";i.decode=function(d,u,h){for(var p=h,g=0,f,y=0;y<d.length;){var T=d.charCodeAt(y++);if(T===61&&g>1)break;if((T=r[T])===undefined)throw Error(a);switch(g){case 0:f=T,g=1;break;case 1:u[h++]=f<<2|(T&48)>>4,f=T,g=2;break;case 2:u[h++]=(f&15)<<4|(T&60)>>2,f=T,g=3;break;case 3:u[h++]=(f&3)<<6|T,g=0;break}}if(g===1)throw Error(a);return h-p},i.test=function(d){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(d)}},{}],3:[function(e,t,n){"use strict";t.exports=i;function i(){this._listeners={}}i.prototype.on=function(r,s,a){return(this._listeners[r]||(this._listeners[r]=[])).push({fn:s,ctx:a||this}),this},i.prototype.off=function(r,s){if(r===undefined)this._listeners={};else if(s===undefined)this._listeners[r]=[];else for(var a=this._listeners[r],c=0;c<a.length;)a[c].fn===s?a.splice(c,1):++c;return this},i.prototype.emit=function(r){var s=this._listeners[r];if(s){for(var a=[],c=1;c<arguments.length;)a.push(arguments[c++]);for(c=0;c<s.length;)s[c].fn.apply(s[c++].ctx,a)}return this}},{}],4:[function(e,t,n){"use strict";t.exports=i(i);function i(c){return typeof Float32Array<"u"?(function(){var d=new Float32Array([-0]),u=new Uint8Array(d.buffer),h=u[3]===128;function p(T,S,C){d[0]=T,S[C]=u[0],S[C+1]=u[1],S[C+2]=u[2],S[C+3]=u[3]}function g(T,S,C){d[0]=T,S[C]=u[3],S[C+1]=u[2],S[C+2]=u[1],S[C+3]=u[0]}c.writeFloatLE=h?p:g,c.writeFloatBE=h?g:p;function f(T,S){return u[0]=T[S],u[1]=T[S+1],u[2]=T[S+2],u[3]=T[S+3],d[0]}function y(T,S){return u[3]=T[S],u[2]=T[S+1],u[1]=T[S+2],u[0]=T[S+3],d[0]}c.readFloatLE=h?f:y,c.readFloatBE=h?y:f})():(function(){function d(h,p,g,f){var y=p<0?1:0;if(y&&(p=-p),p===0)h(1/p>0?0:2147483648,g,f);else if(isNaN(p))h(2143289344,g,f);else if(p>34028234663852886e22)h((y<<31|2139095040)>>>0,g,f);else if(p<11754943508222875e-54)h((y<<31|Math.round(p/1401298464324817e-60))>>>0,g,f);else{var T=Math.floor(Math.log(p)/Math.LN2),S=Math.round(p*Math.pow(2,-T)*8388608)&8388607;h((y<<31|T+127<<23|S)>>>0,g,f)}}c.writeFloatLE=d.bind(null,o),c.writeFloatBE=d.bind(null,r);function u(h,p,g){var f=h(p,g),y=(f>>31)*2+1,T=f>>>23&255,S=f&8388607;return T===255?S?NaN:y*(1/0):T===0?y*1401298464324817e-60*S:y*Math.pow(2,T-150)*(S+8388608)}c.readFloatLE=u.bind(null,s),c.readFloatBE=u.bind(null,a)})(),typeof Float64Array<"u"?(function(){var d=new Float64Array([-0]),u=new Uint8Array(d.buffer),h=u[7]===128;function p(T,S,C){d[0]=T,S[C]=u[0],S[C+1]=u[1],S[C+2]=u[2],S[C+3]=u[3],S[C+4]=u[4],S[C+5]=u[5],S[C+6]=u[6],S[C+7]=u[7]}function g(T,S,C){d[0]=T,S[C]=u[7],S[C+1]=u[6],S[C+2]=u[5],S[C+3]=u[4],S[C+4]=u[3],S[C+5]=u[2],S[C+6]=u[1],S[C+7]=u[0]}c.writeDoubleLE=h?p:g,c.writeDoubleBE=h?g:p;function f(T,S){return u[0]=T[S],u[1]=T[S+1],u[2]=T[S+2],u[3]=T[S+3],u[4]=T[S+4],u[5]=T[S+5],u[6]=T[S+6],u[7]=T[S+7],d[0]}function y(T,S){return u[7]=T[S],u[6]=T[S+1],u[5]=T[S+2],u[4]=T[S+3],u[3]=T[S+4],u[2]=T[S+5],u[1]=T[S+6],u[0]=T[S+7],d[0]}c.readDoubleLE=h?f:y,c.readDoubleBE=h?y:f})():(function(){function d(h,p,g,f,y,T){var S=f<0?1:0;if(S&&(f=-f),f===0)h(0,y,T+p),h(1/f>0?0:2147483648,y,T+g);else if(isNaN(f))h(0,y,T+p),h(2146959360,y,T+g);else if(f>17976931348623157e292)h(0,y,T+p),h((S<<31|2146435072)>>>0,y,T+g);else{var C;if(f<22250738585072014e-324)C=f/5e-324,h(C>>>0,y,T+p),h((S<<31|C/4294967296)>>>0,y,T+g);else{var V=Math.floor(Math.log(f)/Math.LN2);V===1024&&(V=1023),C=f*Math.pow(2,-V),h(C*4503599627370496>>>0,y,T+p),h((S<<31|V+1023<<20|C*1048576&1048575)>>>0,y,T+g)}}}c.writeDoubleLE=d.bind(null,o,0,4),c.writeDoubleBE=d.bind(null,r,4,0);function u(h,p,g,f,y){var T=h(f,y+p),S=h(f,y+g),C=(S>>31)*2+1,V=S>>>20&2047,R=4294967296*(S&1048575)+T;return V===2047?R?NaN:C*(1/0):V===0?C*5e-324*R:C*Math.pow(2,V-1075)*(R+4503599627370496)}c.readDoubleLE=u.bind(null,s,0,4),c.readDoubleBE=u.bind(null,a,4,0)})(),c}function o(c,d,u){d[u]=c&255,d[u+1]=c>>>8&255,d[u+2]=c>>>16&255,d[u+3]=c>>>24}function r(c,d,u){d[u]=c>>>24,d[u+1]=c>>>16&255,d[u+2]=c>>>8&255,d[u+3]=c&255}function s(c,d){return(c[d]|c[d+1]<<8|c[d+2]<<16|c[d+3]<<24)>>>0}function a(c,d){return(c[d]<<24|c[d+1]<<16|c[d+2]<<8|c[d+3])>>>0}},{}],5:[function(require,module,exports){"use strict";module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}},{}],6:[function(e,t,n){"use strict";t.exports=i;function i(o,r,s){var a=s||8192,c=a>>>1,d=null,u=a;return function(p){if(p<1||p>c)return o(p);u+p>a&&(d=o(a),u=0);var g=r.call(d,u,u+=p);return u&7&&(u=(u|7)+1),g}}},{}],7:[function(e,t,n){"use strict";var i=n;i.length=function(r){for(var s=0,a=0,c=0;c<r.length;++c)a=r.charCodeAt(c),a<128?s+=1:a<2048?s+=2:(a&64512)===55296&&(r.charCodeAt(c+1)&64512)===56320?(++c,s+=4):s+=3;return s},i.read=function(r,s,a){var c=a-s;if(c<1)return"";for(var d=null,u=[],h=0,p;s<a;)p=r[s++],p<128?u[h++]=p:p>191&&p<224?u[h++]=(p&31)<<6|r[s++]&63:p>239&&p<365?(p=((p&7)<<18|(r[s++]&63)<<12|(r[s++]&63)<<6|r[s++]&63)-65536,u[h++]=55296+(p>>10),u[h++]=56320+(p&1023)):u[h++]=(p&15)<<12|(r[s++]&63)<<6|r[s++]&63,h>8191&&((d||(d=[])).push(String.fromCharCode.apply(String,u)),h=0);return d?(h&&d.push(String.fromCharCode.apply(String,u.slice(0,h))),d.join("")):String.fromCharCode.apply(String,u.slice(0,h))},i.write=function(r,s,a){for(var c=a,d,u,h=0;h<r.length;++h)d=r.charCodeAt(h),d<128?s[a++]=d:d<2048?(s[a++]=d>>6|192,s[a++]=d&63|128):(d&64512)===55296&&((u=r.charCodeAt(h+1))&64512)===56320?(d=65536+((d&1023)<<10)+(u&1023),++h,s[a++]=d>>18|240,s[a++]=d>>12&63|128,s[a++]=d>>6&63|128,s[a++]=d&63|128):(s[a++]=d>>12|224,s[a++]=d>>6&63|128,s[a++]=d&63|128);return a-c}},{}],8:[function(e,t,n){"use strict";var i=n;i.build="minimal",i.Writer=e(16),i.BufferWriter=e(17),i.Reader=e(9),i.BufferReader=e(10),i.util=e(15),i.rpc=e(12),i.roots=e(11),i.configure=o;function o(){i.util._configure(),i.Writer._configure(i.BufferWriter),i.Reader._configure(i.BufferReader)}o()},{10:10,11:11,12:12,15:15,16:16,17:17,9:9}],9:[function(e,t,n){"use strict";t.exports=c;var i=e(15),o,r=i.LongBits,s=i.utf8;function a(f,y){return RangeError("index out of range: "+f.pos+" + "+(y||1)+" > "+f.len)}function c(f){this.buf=f,this.pos=0,this.len=f.length}var d=typeof Uint8Array<"u"?function(y){if(y instanceof Uint8Array||Array.isArray(y))return new c(y);throw Error("illegal buffer")}:function(y){if(Array.isArray(y))return new c(y);throw Error("illegal buffer")},u=function(){return i.Buffer?function(T){return(c.create=function(C){return i.Buffer.isBuffer(C)?new o(C):d(C)})(T)}:d};c.create=u(),c.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,c.prototype.uint32=(function(){var y=4294967295;return function(){if(y=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(y=(y|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(y=(y|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return y;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return y}})(),c.prototype.int32=function(){return this.uint32()|0},c.prototype.sint32=function(){var y=this.uint32();return y>>>1^-(y&1)|0};function h(){var f=new r(0,0),y=0;if(this.len-this.pos>4){for(;y<4;++y)if(f.lo=(f.lo|(this.buf[this.pos]&127)<<y*7)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(this.buf[this.pos]&127)<<28)>>>0,f.hi=(f.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return f;y=0}else{for(;y<3;++y){if(this.pos>=this.len)throw a(this);if(f.lo=(f.lo|(this.buf[this.pos]&127)<<y*7)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(this.buf[this.pos++]&127)<<y*7)>>>0,f}if(this.len-this.pos>4){for(;y<5;++y)if(f.hi=(f.hi|(this.buf[this.pos]&127)<<y*7+3)>>>0,this.buf[this.pos++]<128)return f}else for(;y<5;++y){if(this.pos>=this.len)throw a(this);if(f.hi=(f.hi|(this.buf[this.pos]&127)<<y*7+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}c.prototype.bool=function(){return this.uint32()!==0};function p(f,y){return(f[y-4]|f[y-3]<<8|f[y-2]<<16|f[y-1]<<24)>>>0}c.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return p(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return p(this.buf,this.pos+=4)|0};function g(){if(this.pos+8>this.len)throw a(this,8);return new r(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}c.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var y=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,y},c.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var y=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,y},c.prototype.bytes=function(){var y=this.uint32(),T=this.pos,S=this.pos+y;if(S>this.len)throw a(this,y);if(this.pos+=y,Array.isArray(this.buf))return this.buf.slice(T,S);if(T===S){var C=i.Buffer;return C?C.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,T,S)},c.prototype.string=function(){var y=this.bytes();return s.read(y,0,y.length)},c.prototype.skip=function(y){if(typeof y=="number"){if(this.pos+y>this.len)throw a(this,y);this.pos+=y}else do if(this.pos>=this.len)throw a(this);while(this.buf[this.pos++]&128);return this},c.prototype.skipType=function(f){switch(f){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(f=this.uint32()&7)!==4;)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},c._configure=function(f){o=f,c.create=u(),o._configure();var y=i.Long?"toLong":"toNumber";i.merge(c.prototype,{int64:function(){return h.call(this)[y](!1)},uint64:function(){return h.call(this)[y](!0)},sint64:function(){return h.call(this).zzDecode()[y](!1)},fixed64:function(){return g.call(this)[y](!0)},sfixed64:function(){return g.call(this)[y](!1)}})}},{15:15}],10:[function(e,t,n){"use strict";t.exports=r;var i=e(9);(r.prototype=Object.create(i.prototype)).constructor=r;var o=e(15);function r(s){i.call(this,s)}r._configure=function(){o.Buffer&&(r.prototype._slice=o.Buffer.prototype.slice)},r.prototype.string=function(){var a=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+a,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+a,this.len))},r._configure()},{15:15,9:9}],11:[function(e,t,n){"use strict";t.exports={}},{}],12:[function(e,t,n){"use strict";var i=n;i.Service=e(13)},{13:13}],13:[function(e,t,n){"use strict";t.exports=o;var i=e(15);(o.prototype=Object.create(i.EventEmitter.prototype)).constructor=o;function o(r,s,a){if(typeof r!="function")throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=r,this.requestDelimited=!!s,this.responseDelimited=!!a}o.prototype.rpcCall=function r(s,a,c,d,u){if(!d)throw TypeError("request must be specified");var h=this;if(!u)return i.asPromise(r,h,s,a,c,d);if(!h.rpcImpl)return setTimeout(function(){u(Error("already ended"))},0),undefined;try{return h.rpcImpl(s,a[h.requestDelimited?"encodeDelimited":"encode"](d).finish(),function(g,f){if(g)return h.emit("error",g,s),u(g);if(f===null)return h.end(!0),undefined;if(!(f instanceof c))try{f=c[h.responseDelimited?"decodeDelimited":"decode"](f)}catch(y){return h.emit("error",y,s),u(y)}return h.emit("data",f,s),u(null,f)})}catch(p){return h.emit("error",p,s),setTimeout(function(){u(p)},0),undefined}},o.prototype.end=function(s){return this.rpcImpl&&(s||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},{15:15}],14:[function(e,t,n){"use strict";t.exports=o;var i=e(15);function o(c,d){this.lo=c>>>0,this.hi=d>>>0}var r=o.zero=new o(0,0);r.toNumber=function(){return 0},r.zzEncode=r.zzDecode=function(){return this},r.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(d){if(d===0)return r;var u=d<0;u&&(d=-d);var h=d>>>0,p=(d-h)/4294967296>>>0;return u&&(p=~p>>>0,h=~h>>>0,++h>4294967295&&(h=0,++p>4294967295&&(p=0))),new o(h,p)},o.from=function(d){if(typeof d=="number")return o.fromNumber(d);if(i.isString(d))if(i.Long)d=i.Long.fromString(d);else return o.fromNumber(parseInt(d,10));return d.low||d.high?new o(d.low>>>0,d.high>>>0):r},o.prototype.toNumber=function(d){if(!d&&this.hi>>>31){var u=~this.lo+1>>>0,h=~this.hi>>>0;return u||(h=h+1>>>0),-(u+h*4294967296)}return this.lo+this.hi*4294967296},o.prototype.toLong=function(d){return i.Long?new i.Long(this.lo|0,this.hi|0,!!d):{low:this.lo|0,high:this.hi|0,unsigned:!!d}};var a=String.prototype.charCodeAt;o.fromHash=function(d){return d===s?r:new o((a.call(d,0)|a.call(d,1)<<8|a.call(d,2)<<16|a.call(d,3)<<24)>>>0,(a.call(d,4)|a.call(d,5)<<8|a.call(d,6)<<16|a.call(d,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var d=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^d)>>>0,this.lo=(this.lo<<1^d)>>>0,this},o.prototype.zzDecode=function(){var d=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^d)>>>0,this.hi=(this.hi>>>1^d)>>>0,this},o.prototype.length=function(){var d=this.lo,u=(this.lo>>>28|this.hi<<4)>>>0,h=this.hi>>>24;return h===0?u===0?d<16384?d<128?1:2:d<2097152?3:4:u<16384?u<128?5:6:u<2097152?7:8:h<128?9:10}},{15:15}],15:[function(e,t,n){"use strict";var i=n;i.asPromise=e(1),i.base64=e(2),i.EventEmitter=e(3),i.float=e(4),i.inquire=e(5),i.utf8=e(7),i.pool=e(6),i.LongBits=e(14),i.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node),i.global=i.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||this,i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},i.isString=function(a){return typeof a=="string"||a instanceof String},i.isObject=function(a){return a&&typeof a=="object"},i.isset=i.isSet=function(a,c){var d=a[c];return d!=null&&a.hasOwnProperty(c)?typeof d!="object"||(Array.isArray(d)?d.length:Object.keys(d).length)>0:!1},i.Buffer=(function(){try{var s=i.inquire("buffer").Buffer;return s.prototype.utf8Write?s:null}catch{return null}})(),i._Buffer_from=null,i._Buffer_allocUnsafe=null,i.newBuffer=function(a){return typeof a=="number"?i.Buffer?i._Buffer_allocUnsafe(a):new i.Array(a):i.Buffer?i._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},i.Array=typeof Uint8Array<"u"?Uint8Array:Array,i.Long=i.global.dcodeIO&&i.global.dcodeIO.Long||i.global.Long||i.inquire("long"),i.key2Re=/^true|false|0|1$/,i.key32Re=/^-?(?:0|[1-9][0-9]*)$/,i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,i.longToHash=function(a){return a?i.LongBits.from(a).toHash():i.LongBits.zeroHash},i.longFromHash=function(a,c){var d=i.LongBits.fromHash(a);return i.Long?i.Long.fromBits(d.lo,d.hi,c):d.toNumber(!!c)};function o(s,a,c){for(var d=Object.keys(a),u=0;u<d.length;++u)(s[d[u]]===undefined||!c)&&(s[d[u]]=a[d[u]]);return s}i.merge=o,i.lcFirst=function(a){return a.charAt(0).toLowerCase()+a.substring(1)};function r(s){function a(c,d){if(!(this instanceof a))return new a(c,d);Object.defineProperty(this,"message",{get:function(){return c}}),Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:new Error().stack||""}),d&&o(this,d)}return a.prototype=Object.create(Error.prototype,{constructor:{value:a,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return s},set:undefined,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),a}i.newError=r,i.ProtocolError=r("ProtocolError"),i.oneOfGetter=function(a){for(var c={},d=0;d<a.length;++d)c[a[d]]=1;return function(){for(var u=Object.keys(this),h=u.length-1;h>-1;--h)if(c[u[h]]===1&&this[u[h]]!==undefined&&this[u[h]]!==null)return u[h]}},i.oneOfSetter=function(a){return function(c){for(var d=0;d<a.length;++d)a[d]!==c&&delete this[a[d]]}},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i._configure=function(){var s=i.Buffer;if(!s){i._Buffer_from=i._Buffer_allocUnsafe=null;return}i._Buffer_from=s.from!==Uint8Array.from&&s.from||function(c,d){return new s(c,d)},i._Buffer_allocUnsafe=s.allocUnsafe||function(c){return new s(c)}}},{1:1,14:14,2:2,3:3,4:4,5:5,6:6,7:7}],16:[function(e,t,n){"use strict";t.exports=h;var i=e(15),o,r=i.LongBits,s=i.base64,a=i.utf8;function c(V,R,Z){this.fn=V,this.len=R,this.next=undefined,this.val=Z}function d(){}function u(V){this.head=V.head,this.tail=V.tail,this.len=V.len,this.next=V.states}function h(){this.len=0,this.head=new c(d,0,0),this.tail=this.head,this.states=null}var p=function(){return i.Buffer?function(){return(h.create=function(){return new o})()}:function(){return new h}};h.create=p(),h.alloc=function(R){return new i.Array(R)},i.Array!==Array&&(h.alloc=i.pool(h.alloc,i.Array.prototype.subarray)),h.prototype._push=function(R,Z,I){return this.tail=this.tail.next=new c(R,Z,I),this.len+=Z,this};function g(V,R,Z){R[Z]=V&255}function f(V,R,Z){for(;V>127;)R[Z++]=V&127|128,V>>>=7;R[Z]=V}function y(V,R){this.len=V,this.next=undefined,this.val=R}y.prototype=Object.create(c.prototype),y.prototype.fn=f,h.prototype.uint32=function(R){return this.len+=(this.tail=this.tail.next=new y((R=R>>>0)<128?1:R<16384?2:R<2097152?3:R<268435456?4:5,R)).len,this},h.prototype.int32=function(R){return R<0?this._push(T,10,r.fromNumber(R)):this.uint32(R)},h.prototype.sint32=function(R){return this.uint32((R<<1^R>>31)>>>0)};function T(V,R,Z){for(;V.hi;)R[Z++]=V.lo&127|128,V.lo=(V.lo>>>7|V.hi<<25)>>>0,V.hi>>>=7;for(;V.lo>127;)R[Z++]=V.lo&127|128,V.lo=V.lo>>>7;R[Z++]=V.lo}h.prototype.uint64=function(R){var Z=r.from(R);return this._push(T,Z.length(),Z)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(R){var Z=r.from(R).zzEncode();return this._push(T,Z.length(),Z)},h.prototype.bool=function(R){return this._push(g,1,R?1:0)};function S(V,R,Z){R[Z]=V&255,R[Z+1]=V>>>8&255,R[Z+2]=V>>>16&255,R[Z+3]=V>>>24}h.prototype.fixed32=function(R){return this._push(S,4,R>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(R){var Z=r.from(R);return this._push(S,4,Z.lo)._push(S,4,Z.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(R){return this._push(i.float.writeFloatLE,4,R)},h.prototype.double=function(R){return this._push(i.float.writeDoubleLE,8,R)};var C=i.Array.prototype.set?function(R,Z,I){Z.set(R,I)}:function(R,Z,I){for(var W=0;W<R.length;++W)Z[I+W]=R[W]};h.prototype.bytes=function(R){var Z=R.length>>>0;if(!Z)return this._push(g,1,0);if(i.isString(R)){var I=h.alloc(Z=s.length(R));s.decode(R,I,0),R=I}return this.uint32(Z)._push(C,Z,R)},h.prototype.string=function(R){var Z=a.length(R);return Z?this.uint32(Z)._push(a.write,Z,R):this._push(g,1,0)},h.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new c(d,0,0),this.len=0,this},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(d,0,0),this.len=0),this},h.prototype.ldelim=function(){var R=this.head,Z=this.tail,I=this.len;return this.reset().uint32(I),I&&(this.tail.next=R.next,this.tail=Z,this.len+=I),this},h.prototype.finish=function(){for(var R=this.head.next,Z=this.constructor.alloc(this.len),I=0;R;)R.fn(R.val,Z,I),I+=R.len,R=R.next;return Z},h._configure=function(V){o=V,h.create=p(),o._configure()}},{15:15}],17:[function(e,t,n){"use strict";t.exports=r;var i=e(16);(r.prototype=Object.create(i.prototype)).constructor=r;var o=e(15);function r(){i.call(this)}r._configure=function(){r.alloc=o._Buffer_allocUnsafe,r.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&o.Buffer.prototype.set.name==="set"?function(c,d,u){d.set(c,u)}:function(c,d,u){if(c.copy)c.copy(d,u,0,c.length);else for(var h=0;h<c.length;)d[u++]=c[h++]}},r.prototype.bytes=function(c){o.isString(c)&&(c=o._Buffer_from(c,"base64"));var d=c.length>>>0;return this.uint32(d),d&&this._push(r.writeBytesBuffer,d,c),this};function s(a,c,d){a.length<40?o.utf8.write(a,c,d):c.utf8Write?c.utf8Write(a,d):c.write(a,d)}r.prototype.string=function(c){var d=o.Buffer.byteLength(c);return this.uint32(d),d&&this._push(s,d,c),this},r._configure()},{15:15,16:16}]},{},[8])})()});var n1e=cd((_io,ZO)=>{var Tio=x(_());/* Copyright 2015-2018 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */(function(){var e=(function(){var o={};o.defaultNoDataValue=-34027999387901484e22,o.decode=function(u,h){h=h||{};var p=h.encodedMaskData||h.encodedMaskData===null,g=c(u,h.inputOffset||0,p),f=h.noDataValue!==null?h.noDataValue:o.defaultNoDataValue,y=r(g,h.pixelType||Float32Array,h.encodedMaskData,f,h.returnMask),T={width:g.width,height:g.height,pixelData:y.resultPixels,minValue:y.minValue,maxValue:g.pixels.maxValue,noDataValue:f};return y.resultMask&&(T.maskData=y.resultMask),h.returnEncodedMask&&g.mask&&(T.encodedMaskData=g.mask.bitset?g.mask.bitset:null),h.returnFileInfo&&(T.fileInfo=s(g),h.computeUsedBitDepths&&(T.fileInfo.bitDepths=a(g))),T};var r=function(u,h,p,g,f){var y=0,T=u.pixels.numBlocksX,S=u.pixels.numBlocksY,C=Math.floor(u.width/T),V=Math.floor(u.height/S),R=2*u.maxZError,Z=Number.MAX_VALUE,I;p=p||(u.mask?u.mask.bitset:null);var W,X;W=new h(u.width*u.height),f&&p&&(X=new Uint8Array(u.width*u.height));for(var w=new Float32Array(C*V),F,b,L=0;L<=S;L++){var E=L!==S?V:u.height%S;if(E!==0)for(var G=0;G<=T;G++){var v=G!==T?C:u.width%T;if(v!==0){var M=L*u.width*V+G*C,B=u.width-v,k=u.pixels.blocks[y],O,N,z;k.encoding<2?(k.encoding===0?O=k.rawData:(d(k.stuffedData,k.bitsPerPixel,k.numValidPixels,k.offset,R,w,u.pixels.maxValue),O=w),N=0):k.encoding===2?z=0:z=k.offset;var J;if(p)for(b=0;b<E;b++){for(M&7&&(J=p[M>>3],J<<=M&7),F=0;F<v;F++)M&7||(J=p[M>>3]),J&128?(X&&(X[M]=1),I=k.encoding<2?O[N++]:z,Z=Z>I?I:Z,W[M++]=I):(X&&(X[M]=0),W[M++]=g),J<<=1;M+=B}else if(k.encoding<2)for(b=0;b<E;b++){for(F=0;F<v;F++)I=O[N++],Z=Z>I?I:Z,W[M++]=I;M+=B}else for(Z=Z>z?z:Z,b=0;b<E;b++){for(F=0;F<v;F++)W[M++]=z;M+=B}if(k.encoding===1&&N!==k.numValidPixels)throw"Block and Mask do not match";y++}}}return{resultPixels:W,resultMask:X,minValue:Z}},s=function(u){return{fileIdentifierString:u.fileIdentifierString,fileVersion:u.fileVersion,imageType:u.imageType,height:u.height,width:u.width,maxZError:u.maxZError,eofOffset:u.eofOffset,mask:u.mask?{numBlocksX:u.mask.numBlocksX,numBlocksY:u.mask.numBlocksY,numBytes:u.mask.numBytes,maxValue:u.mask.maxValue}:null,pixels:{numBlocksX:u.pixels.numBlocksX,numBlocksY:u.pixels.numBlocksY,numBytes:u.pixels.numBytes,maxValue:u.pixels.maxValue,noDataValue:u.noDataValue}}},a=function(u){for(var h=u.pixels.numBlocksX*u.pixels.numBlocksY,p={},g=0;g<h;g++){var f=u.pixels.blocks[g];f.encoding===0?p.float32=!0:f.encoding===1?p[f.bitsPerPixel]=!0:p[0]=!0}return Object.keys(p)},c=function(u,h,p){var g={},f=new Uint8Array(u,h,10);if(g.fileIdentifierString=String.fromCharCode.apply(null,f),g.fileIdentifierString.trim()!=="CntZImage")throw"Unexpected file identifier string: "+g.fileIdentifierString;h+=10;var y=new DataView(u,h,24);if(g.fileVersion=y.getInt32(0,!0),g.imageType=y.getInt32(4,!0),g.height=y.getUint32(8,!0),g.width=y.getUint32(12,!0),g.maxZError=y.getFloat64(16,!0),h+=24,!p)if(y=new DataView(u,h,16),g.mask={},g.mask.numBlocksY=y.getUint32(0,!0),g.mask.numBlocksX=y.getUint32(4,!0),g.mask.numBytes=y.getUint32(8,!0),g.mask.maxValue=y.getFloat32(12,!0),h+=16,g.mask.numBytes>0){var T=new Uint8Array(Math.ceil(g.width*g.height/8));y=new DataView(u,h,g.mask.numBytes);var S=y.getInt16(0,!0),C=2,V=0;do{if(S>0)for(;S--;)T[V++]=y.getUint8(C++);else{var R=y.getUint8(C++);for(S=-S;S--;)T[V++]=R}S=y.getInt16(C,!0),C+=2}while(C<g.mask.numBytes);if(S!==-32768||V<T.length)throw"Unexpected end of mask RLE encoding";g.mask.bitset=T,h+=g.mask.numBytes}else(g.mask.numBytes|g.mask.numBlocksY|g.mask.maxValue)===0&&(g.mask.bitset=new Uint8Array(Math.ceil(g.width*g.height/8)));y=new DataView(u,h,16),g.pixels={},g.pixels.numBlocksY=y.getUint32(0,!0),g.pixels.numBlocksX=y.getUint32(4,!0),g.pixels.numBytes=y.getUint32(8,!0),g.pixels.maxValue=y.getFloat32(12,!0),h+=16;var Z=g.pixels.numBlocksX,I=g.pixels.numBlocksY,W=Z+(g.width%Z>0?1:0),X=I+(g.height%I>0?1:0);g.pixels.blocks=new Array(W*X);for(var w=0,F=0;F<X;F++)for(var b=0;b<W;b++){var L=0,E=u.byteLength-h;y=new DataView(u,h,Math.min(10,E));var G={};g.pixels.blocks[w++]=G;var v=y.getUint8(0);if(L++,G.encoding=v&63,G.encoding>3)throw"Invalid block encoding ("+G.encoding+")";if(G.encoding===2){h++;continue}if(v!==0&&v!==2){if(v>>=6,G.offsetType=v,v===2)G.offset=y.getInt8(1),L++;else if(v===1)G.offset=y.getInt16(1,!0),L+=2;else if(v===0)G.offset=y.getFloat32(1,!0),L+=4;else throw"Invalid block offset type";if(G.encoding===1)if(v=y.getUint8(L),L++,G.bitsPerPixel=v&63,v>>=6,G.numValidPixelsType=v,v===2)G.numValidPixels=y.getUint8(L),L++;else if(v===1)G.numValidPixels=y.getUint16(L,!0),L+=2;else if(v===0)G.numValidPixels=y.getUint32(L,!0),L+=4;else throw"Invalid valid pixel count type"}if(h+=L,G.encoding!==3){var M,B;if(G.encoding===0){var k=(g.pixels.numBytes-1)/4;if(k!==Math.floor(k))throw"uncompressed block has invalid length";M=new ArrayBuffer(k*4),B=new Uint8Array(M),B.set(new Uint8Array(u,h,k*4));var O=new Float32Array(M);G.rawData=O,h+=k*4}else if(G.encoding===1){var N=Math.ceil(G.numValidPixels*G.bitsPerPixel/8),z=Math.ceil(N/4);M=new ArrayBuffer(z*4),B=new Uint8Array(M),B.set(new Uint8Array(u,h,N)),G.stuffedData=new Uint32Array(M),h+=N}}}return g.eofOffset=h,g},d=function(u,h,p,g,f,y,T){var S=(1<<h)-1,C=0,V,R=0,Z,I,W=Math.ceil((T-g)/f),X=u.length*4-Math.ceil(h*p/8);for(u[u.length-1]<<=8*X,V=0;V<p;V++){if(R===0&&(I=u[C++],R=32),R>=h)Z=I>>>R-h&S,R-=h;else{var w=h-R;Z=(I&S)<<w&S,I=u[C++],R=32-w,Z+=I>>>R}y[V]=Z<W?g+Z*f:T}return y};return o})(),t=(function(){"use strict";var o={unstuff:function(c,d,u,h,p,g,f,y){var T=(1<<u)-1,S=0,C,V=0,R,Z,I,W,X=c.length*4-Math.ceil(u*h/8);if(c[c.length-1]<<=8*X,p)for(C=0;C<h;C++)V===0&&(Z=c[S++],V=32),V>=u?(R=Z>>>V-u&T,V-=u):(I=u-V,R=(Z&T)<<I&T,Z=c[S++],V=32-I,R+=Z>>>V),d[C]=p[R];else for(W=Math.ceil((y-g)/f),C=0;C<h;C++)V===0&&(Z=c[S++],V=32),V>=u?(R=Z>>>V-u&T,V-=u):(I=u-V,R=(Z&T)<<I&T,Z=c[S++],V=32-I,R+=Z>>>V),d[C]=R<W?g+R*f:y},unstuffLUT:function(c,d,u,h,p,g){var f=(1<<d)-1,y=0,T=0,S=0,C=0,V=0,R,Z=[],I=c.length*4-Math.ceil(d*u/8);c[c.length-1]<<=8*I;var W=Math.ceil((g-h)/p);for(T=0;T<u;T++)C===0&&(R=c[y++],C=32),C>=d?(V=R>>>C-d&f,C-=d):(S=d-C,V=(R&f)<<S&f,R=c[y++],C=32-S,V+=R>>>C),Z[T]=V<W?h+V*p:g;return Z.unshift(h),Z},unstuff2:function(c,d,u,h,p,g,f,y){var T=(1<<u)-1,S=0,C,V=0,R=0,Z,I,W;if(p)for(C=0;C<h;C++)V===0&&(I=c[S++],V=32,R=0),V>=u?(Z=I>>>R&T,V-=u,R+=u):(W=u-V,Z=I>>>R&T,I=c[S++],V=32-W,Z|=(I&(1<<W)-1)<<u-W,R=W),d[C]=p[Z];else{var X=Math.ceil((y-g)/f);for(C=0;C<h;C++)V===0&&(I=c[S++],V=32,R=0),V>=u?(Z=I>>>R&T,V-=u,R+=u):(W=u-V,Z=I>>>R&T,I=c[S++],V=32-W,Z|=(I&(1<<W)-1)<<u-W,R=W),d[C]=Z<X?g+Z*f:y}return d},unstuffLUT2:function(c,d,u,h,p,g){var f=(1<<d)-1,y=0,T=0,S=0,C=0,V=0,R=0,Z,I=[],W=Math.ceil((g-h)/p);for(T=0;T<u;T++)C===0&&(Z=c[y++],C=32,R=0),C>=d?(V=Z>>>R&f,C-=d,R+=d):(S=d-C,V=Z>>>R&f,Z=c[y++],C=32-S,V|=(Z&(1<<S)-1)<<d-S,R=S),I[T]=V<W?h+V*p:g;return I.unshift(h),I},originalUnstuff:function(c,d,u,h){var p=(1<<u)-1,g=0,f,y=0,T,S,C,V=c.length*4-Math.ceil(u*h/8);for(c[c.length-1]<<=8*V,f=0;f<h;f++)y===0&&(S=c[g++],y=32),y>=u?(T=S>>>y-u&p,y-=u):(C=u-y,T=(S&p)<<C&p,S=c[g++],y=32-C,T+=S>>>y),d[f]=T;return d},originalUnstuff2:function(c,d,u,h){var p=(1<<u)-1,g=0,f,y=0,T=0,S,C,V;for(f=0;f<h;f++)y===0&&(C=c[g++],y=32,T=0),y>=u?(S=C>>>T&p,y-=u,T+=u):(V=u-y,S=C>>>T&p,C=c[g++],y=32-V,S|=(C&(1<<V)-1)<<u-V,T=V),d[f]=S;return d}},r={HUFFMAN_LUT_BITS_MAX:12,computeChecksumFletcher32:function(c){for(var d=65535,u=65535,h=c.length,p=Math.floor(h/2),g=0;p;){var f=p>=359?359:p;p-=f;do d+=c[g++]<<8,u+=d+=c[g++];while(--f);d=(d&65535)+(d>>>16),u=(u&65535)+(u>>>16)}return h&1&&(u+=d+=c[g]<<8),d=(d&65535)+(d>>>16),u=(u&65535)+(u>>>16),(u<<16|d)>>>0},readHeaderInfo:function(c,d){var u=d.ptr,h=new Uint8Array(c,u,6),p={};if(p.fileIdentifierString=String.fromCharCode.apply(null,h),p.fileIdentifierString.lastIndexOf("Lerc2",0)!==0)throw"Unexpected file identifier string (expect Lerc2 ): "+p.fileIdentifierString;u+=6;var g=new DataView(c,u,8),f=g.getInt32(0,!0);p.fileVersion=f,u+=4,f>=3&&(p.checksum=g.getUint32(4,!0),u+=4),g=new DataView(c,u,12),p.height=g.getUint32(0,!0),p.width=g.getUint32(4,!0),u+=8,f>=4?(p.numDims=g.getUint32(8,!0),u+=4):p.numDims=1,g=new DataView(c,u,40),p.numValidPixel=g.getUint32(0,!0),p.microBlockSize=g.getInt32(4,!0),p.blobSize=g.getInt32(8,!0),p.imageType=g.getInt32(12,!0),p.maxZError=g.getFloat64(16,!0),p.zMin=g.getFloat64(24,!0),p.zMax=g.getFloat64(32,!0),u+=40,d.headerInfo=p,d.ptr=u;var y,T;if(f>=3&&(T=f>=4?52:48,y=this.computeChecksumFletcher32(new Uint8Array(c,u-T,p.blobSize-14)),y!==p.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(c,d){var u=d.headerInfo,h=this.getDataTypeArray(u.imageType),p=u.numDims*this.getDataTypeSize(u.imageType),g=this.readSubArray(c,d.ptr,h,p),f=this.readSubArray(c,d.ptr+p,h,p);d.ptr+=2*p;var y,T=!0;for(y=0;y<u.numDims;y++)if(g[y]!==f[y]){T=!1;break}return u.minValues=g,u.maxValues=f,T},readSubArray:function(c,d,u,h){var p;if(u===Uint8Array)p=new Uint8Array(c,d,h);else{var g=new ArrayBuffer(h),f=new Uint8Array(g);f.set(new Uint8Array(c,d,h)),p=new u(g)}return p},readMask:function(c,d){var u=d.ptr,h=d.headerInfo,p=h.width*h.height,g=h.numValidPixel,f=new DataView(c,u,4),y={};if(y.numBytes=f.getUint32(0,!0),u+=4,(g===0||p===g)&&y.numBytes!==0)throw"invalid mask";var T,S;if(g===0)T=new Uint8Array(Math.ceil(p/8)),y.bitset=T,S=new Uint8Array(p),d.pixels.resultMask=S,u+=y.numBytes;else if(y.numBytes>0){T=new Uint8Array(Math.ceil(p/8)),f=new DataView(c,u,y.numBytes);var C=f.getInt16(0,!0),V=2,R=0,Z=0;do{if(C>0)for(;C--;)T[R++]=f.getUint8(V++);else for(Z=f.getUint8(V++),C=-C;C--;)T[R++]=Z;C=f.getInt16(V,!0),V+=2}while(V<y.numBytes);if(C!==-32768||R<T.length)throw"Unexpected end of mask RLE encoding";S=new Uint8Array(p);var I=0,W=0;for(W=0;W<p;W++)W&7?(I=T[W>>3],I<<=W&7):I=T[W>>3],I&128&&(S[W]=1);d.pixels.resultMask=S,y.bitset=T,u+=y.numBytes}return d.ptr=u,d.mask=y,!0},readDataOneSweep:function(c,d,u){var h=d.ptr,p=d.headerInfo,g=p.numDims,f=p.width*p.height,y=p.imageType,T=p.numValidPixel*r.getDataTypeSize(y)*g,S,C=d.pixels.resultMask;if(u===Uint8Array)S=new Uint8Array(c,h,T);else{var V=new ArrayBuffer(T),R=new Uint8Array(V);R.set(new Uint8Array(c,h,T)),S=new u(V)}if(S.length===f*g)d.pixels.resultPixels=S;else{d.pixels.resultPixels=new u(f*g);var Z=0,I=0,W=0,X=0;if(g>1)for(W=0;W<g;W++)for(X=W*f,I=0;I<f;I++)C[I]&&(d.pixels.resultPixels[X+I]=S[Z++]);else for(I=0;I<f;I++)C[I]&&(d.pixels.resultPixels[I]=S[Z++])}return h+=T,d.ptr=h,!0},readHuffmanTree:function(c,d){var u=this.HUFFMAN_LUT_BITS_MAX,h=new DataView(c,d.ptr,16);d.ptr+=16;var p=h.getInt32(0,!0);if(p<2)throw"unsupported Huffman version";var g=h.getInt32(4,!0),f=h.getInt32(8,!0),y=h.getInt32(12,!0);if(f>=y)return!1;var T=new Uint32Array(y-f);r.decodeBits(c,d,T);var S=[],C,V,R,Z;for(C=f;C<y;C++)V=C-(C<g?0:g),S[V]={first:T[C-f],second:null};var I=c.byteLength-d.ptr,W=Math.ceil(I/4),X=new ArrayBuffer(W*4),w=new Uint8Array(X);w.set(new Uint8Array(c,d.ptr,I));var F=new Uint32Array(X),b=0,L,E=0;for(L=F[0],C=f;C<y;C++)V=C-(C<g?0:g),Z=S[V].first,Z>0&&(S[V].second=L<<b>>>32-Z,32-b>=Z?(b+=Z,b===32&&(b=0,E++,L=F[E])):(b+=Z-32,E++,L=F[E],S[V].second|=L>>>32-b));var G=0,v=0,M=new s;for(C=0;C<S.length;C++)S[C]!==void 0&&(G=Math.max(G,S[C].first));G>=u?v=u:v=G,G>=30&&console.log("WARning, large NUM LUT BITS IS "+G);var B=[],k,O,N,z,J,ee;for(C=f;C<y;C++)if(V=C-(C<g?0:g),Z=S[V].first,Z>0)if(k=[Z,V],Z<=v)for(O=S[V].second<<v-Z,N=1<<v-Z,R=0;R<N;R++)B[O|R]=k;else for(O=S[V].second,ee=M,z=Z-1;z>=0;z--)J=O>>>z&1,J?(ee.right||(ee.right=new s),ee=ee.right):(ee.left||(ee.left=new s),ee=ee.left),z===0&&!ee.val&&(ee.val=k[1]);return{decodeLut:B,numBitsLUTQick:v,numBitsLUT:G,tree:M,stuffedData:F,srcPtr:E,bitPos:b}},readHuffman:function(c,d,u){var h=d.headerInfo,p=h.numDims,g=d.headerInfo.height,f=d.headerInfo.width,y=f*g,T=this.readHuffmanTree(c,d),S=T.decodeLut,C=T.tree,V=T.stuffedData,R=T.srcPtr,Z=T.bitPos,I=T.numBitsLUTQick,W=T.numBitsLUT,X=d.headerInfo.imageType===0?128:0,w,F,b,L=d.pixels.resultMask,E,G,v,M,B,k,O,N=0;Z>0&&(R++,Z=0);var z=V[R],J=d.encodeMode===1,ee=new u(y*p),H=ee,te;for(te=0;te<h.numDims;te++){if(p>1&&(H=new u(ee.buffer,y*te,y),N=0),d.headerInfo.numValidPixel===f*g)for(k=0,M=0;M<g;M++)for(B=0;B<f;B++,k++){if(F=0,E=z<<Z>>>32-I,G=E,32-Z<I&&(E|=V[R+1]>>>64-Z-I,G=E),S[G])F=S[G][1],Z+=S[G][0];else for(E=z<<Z>>>32-W,G=E,32-Z<W&&(E|=V[R+1]>>>64-Z-W,G=E),w=C,O=0;O<W;O++)if(v=E>>>W-O-1&1,w=v?w.right:w.left,!(w.left||w.right)){F=w.val,Z=Z+O+1;break}Z>=32&&(Z-=32,R++,z=V[R]),b=F-X,J?(B>0?b+=N:M>0?b+=H[k-f]:b+=N,b&=255,H[k]=b,N=b):H[k]=b}else for(k=0,M=0;M<g;M++)for(B=0;B<f;B++,k++)if(L[k]){if(F=0,E=z<<Z>>>32-I,G=E,32-Z<I&&(E|=V[R+1]>>>64-Z-I,G=E),S[G])F=S[G][1],Z+=S[G][0];else for(E=z<<Z>>>32-W,G=E,32-Z<W&&(E|=V[R+1]>>>64-Z-W,G=E),w=C,O=0;O<W;O++)if(v=E>>>W-O-1&1,w=v?w.right:w.left,!(w.left||w.right)){F=w.val,Z=Z+O+1;break}Z>=32&&(Z-=32,R++,z=V[R]),b=F-X,J?(B>0&&L[k-1]?b+=N:M>0&&L[k-f]?b+=H[k-f]:b+=N,b&=255,H[k]=b,N=b):H[k]=b}d.ptr=d.ptr+(R+1)*4+(Z>0?4:0)}d.pixels.resultPixels=ee},decodeBits:function(c,d,u,h,p){{var g=d.headerInfo,f=g.fileVersion,y=0,T=new DataView(c,d.ptr,5),S=T.getUint8(0);y++;var C=S>>6,V=C===0?4:3-C,R=(S&32)>0,Z=S&31,I=0;if(V===1)I=T.getUint8(y),y++;else if(V===2)I=T.getUint16(y,!0),y+=2;else if(V===4)I=T.getUint32(y,!0),y+=4;else throw"Invalid valid pixel count type";var W=2*g.maxZError,X,w,F,b,L,E,G,v,M,B,k=g.numDims>1?g.maxValues[p]:g.zMax;if(R){for(d.counter.lut++,v=T.getUint8(y),M=Z,y++,b=Math.ceil((v-1)*Z/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),d.ptr+=y,F.set(new Uint8Array(c,d.ptr,b)),G=new Uint32Array(w),d.ptr+=b,B=0;v-1>>>B;)B++;b=Math.ceil(I*B/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),F.set(new Uint8Array(c,d.ptr,b)),X=new Uint32Array(w),d.ptr+=b,f>=3?E=o.unstuffLUT2(G,Z,v-1,h,W,k):E=o.unstuffLUT(G,Z,v-1,h,W,k),f>=3?o.unstuff2(X,u,B,I,E):o.unstuff(X,u,B,I,E)}else d.counter.bitstuffer++,B=Z,d.ptr+=y,B>0&&(b=Math.ceil(I*B/8),L=Math.ceil(b/4),w=new ArrayBuffer(L*4),F=new Uint8Array(w),F.set(new Uint8Array(c,d.ptr,b)),X=new Uint32Array(w),d.ptr+=b,f>=3?h==null?o.originalUnstuff2(X,u,B,I):o.unstuff2(X,u,B,I,!1,h,W,k):h==null?o.originalUnstuff(X,u,B,I):o.unstuff(X,u,B,I,!1,h,W,k))}},readTiles:function(c,d,u){var h=d.headerInfo,p=h.width,g=h.height,f=h.microBlockSize,y=h.imageType,T=r.getDataTypeSize(y),S=Math.ceil(p/f),C=Math.ceil(g/f);d.pixels.numBlocksY=C,d.pixels.numBlocksX=S,d.pixels.ptr=0;var V=0,R=0,Z=0,I=0,W=0,X=0,w=0,F=0,b=0,L=0,E=0,G=0,v=0,M=0,B=0,k=0,O,N,z,J,ee,H,te=new u(f*f),$=g%f||f,me=p%f||f,xe,oe,ge=h.numDims,Te,Ze=d.pixels.resultMask,Ce=d.pixels.resultPixels;for(Z=0;Z<C;Z++)for(W=Z!==C-1?f:$,I=0;I<S;I++)for(X=I!==S-1?f:me,E=Z*p*f+I*f,G=p-X,Te=0;Te<ge;Te++){if(ge>1&&(Ce=new u(d.pixels.resultPixels.buffer,p*g*Te*T,p*g)),w=c.byteLength-d.ptr,O=new DataView(c,d.ptr,Math.min(10,w)),N={},k=0,F=O.getUint8(0),k++,b=F>>6&255,L=F>>2&15,L!==(I*f>>3&15))throw"integrity issue";if(H=F&3,H>3)throw d.ptr+=k,"Invalid block encoding ("+H+")";if(H===2){d.counter.constant++,d.ptr+=k;continue}else if(H===0){if(d.counter.uncompressed++,d.ptr+=k,v=W*X*T,M=c.byteLength-d.ptr,v=v<M?v:M,z=new ArrayBuffer(v%T===0?v:v+T-v%T),J=new Uint8Array(z),J.set(new Uint8Array(c,d.ptr,v)),ee=new u(z),B=0,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=ee[B++]),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=ee[B++];E+=G}d.ptr+=B*T}else if(xe=r.getDataTypeUsed(y,b),oe=r.getOnePixel(N,k,xe,O),k+=r.getDataTypeSize(xe),H===3)if(d.ptr+=k,d.counter.constantoffset++,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=oe),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=oe;E+=G}else if(d.ptr+=k,r.decodeBits(c,d,te,oe,Te),k=0,Ze)for(V=0;V<W;V++){for(R=0;R<X;R++)Ze[E]&&(Ce[E]=te[k++]),E++;E+=G}else for(V=0;V<W;V++){for(R=0;R<X;R++)Ce[E++]=te[k++];E+=G}}},formatFileInfo:function(c){return{fileIdentifierString:c.headerInfo.fileIdentifierString,fileVersion:c.headerInfo.fileVersion,imageType:c.headerInfo.imageType,height:c.headerInfo.height,width:c.headerInfo.width,numValidPixel:c.headerInfo.numValidPixel,microBlockSize:c.headerInfo.microBlockSize,blobSize:c.headerInfo.blobSize,maxZError:c.headerInfo.maxZError,pixelType:r.getPixelType(c.headerInfo.imageType),eofOffset:c.eofOffset,mask:c.mask?{numBytes:c.mask.numBytes}:null,pixels:{numBlocksX:c.pixels.numBlocksX,numBlocksY:c.pixels.numBlocksY,maxValue:c.headerInfo.zMax,minValue:c.headerInfo.zMin,noDataValue:c.noDataValue}}},constructConstantSurface:function(c){var d=c.headerInfo.zMax,u=c.headerInfo.numDims,h=c.headerInfo.height*c.headerInfo.width,p=h*u,g=0,f=0,y=0,T=c.pixels.resultMask;if(T)if(u>1)for(g=0;g<u;g++)for(y=g*h,f=0;f<h;f++)T[f]&&(c.pixels.resultPixels[y+f]=d);else for(f=0;f<h;f++)T[f]&&(c.pixels.resultPixels[f]=d);else if(c.pixels.resultPixels.fill)c.pixels.resultPixels.fill(d);else for(f=0;f<p;f++)c.pixels.resultPixels[f]=d},getDataTypeArray:function(c){var d;switch(c){case 0:d=Int8Array;break;case 1:d=Uint8Array;break;case 2:d=Int16Array;break;case 3:d=Uint16Array;break;case 4:d=Int32Array;break;case 5:d=Uint32Array;break;case 6:d=Float32Array;break;case 7:d=Float64Array;break;default:d=Float32Array}return d},getPixelType:function(c){var d;switch(c){case 0:d="S8";break;case 1:d="U8";break;case 2:d="S16";break;case 3:d="U16";break;case 4:d="S32";break;case 5:d="U32";break;case 6:d="F32";break;case 7:d="F64";break;default:d="F32"}return d},isValidPixelValue:function(c,d){if(d==null)return!1;var u;switch(c){case 0:u=d>=-128&&d<=127;break;case 1:u=d>=0&&d<=255;break;case 2:u=d>=-32768&&d<=32767;break;case 3:u=d>=0&&d<=65536;break;case 4:u=d>=-2147483648&&d<=2147483647;break;case 5:u=d>=0&&d<=4294967296;break;case 6:u=d>=-34027999387901484e22&&d<=34027999387901484e22;break;case 7:u=d>=5e-324&&d<=17976931348623157e292;break;default:u=!1}return u},getDataTypeSize:function(c){var d=0;switch(c){case 0:case 1:d=1;break;case 2:case 3:d=2;break;case 4:case 5:case 6:d=4;break;case 7:d=8;break;default:d=c}return d},getDataTypeUsed:function(c,d){var u=c;switch(c){case 2:case 4:u=c-d;break;case 3:case 5:u=c-2*d;break;case 6:d===0?u=c:d===1?u=2:u=1;break;case 7:d===0?u=c:u=c-2*d+1;break;default:u=c;break}return u},getOnePixel:function(c,d,u,h){var p=0;switch(u){case 0:p=h.getInt8(d);break;case 1:p=h.getUint8(d);break;case 2:p=h.getInt16(d,!0);break;case 3:p=h.getUint16(d,!0);break;case 4:p=h.getInt32(d,!0);break;case 5:p=h.getUInt32(d,!0);break;case 6:p=h.getFloat32(d,!0);break;case 7:p=h.getFloat64(d,!0);break;default:throw"the decoder does not understand this pixel type"}return p}},s=function(c,d,u){this.val=c,this.left=d,this.right=u},a={decode:function(c,d){d=d||{};var u=d.noDataValue,h=0,p={};if(p.ptr=d.inputOffset||0,p.pixels={},!!r.readHeaderInfo(c,p)){var g=p.headerInfo,f=g.fileVersion,y=r.getDataTypeArray(g.imageType);r.readMask(c,p),g.numValidPixel!==g.width*g.height&&!p.pixels.resultMask&&(p.pixels.resultMask=d.maskData);var T=g.width*g.height;if(p.pixels.resultPixels=new y(T*g.numDims),p.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0},g.numValidPixel!==0)if(g.zMax===g.zMin)r.constructConstantSurface(p);else if(f>=4&&r.checkMinMaxRanges(c,p))r.constructConstantSurface(p);else{var S=new DataView(c,p.ptr,2),C=S.getUint8(0);if(p.ptr++,C)r.readDataOneSweep(c,p,y);else if(f>1&&g.imageType<=1&&Math.abs(g.maxZError-.5)<1e-5){var V=S.getUint8(1);if(p.ptr++,p.encodeMode=V,V>2||f<4&&V>1)throw"Invalid Huffman flag "+V;V?r.readHuffman(c,p,y):r.readTiles(c,p,y)}else r.readTiles(c,p,y)}p.eofOffset=p.ptr;var R;d.inputOffset?(R=p.headerInfo.blobSize+d.inputOffset-p.ptr,Math.abs(R)>=1&&(p.eofOffset=d.inputOffset+p.headerInfo.blobSize)):(R=p.headerInfo.blobSize-p.ptr,Math.abs(R)>=1&&(p.eofOffset=p.headerInfo.blobSize));var Z={width:g.width,height:g.height,pixelData:p.pixels.resultPixels,minValue:g.zMin,maxValue:g.zMax,validPixelCount:g.numValidPixel,dimCount:g.numDims,dimStats:{minValues:g.minValues,maxValues:g.maxValues},maskData:p.pixels.resultMask};if(p.pixels.resultMask&&r.isValidPixelValue(g.imageType,u)){var I=p.pixels.resultMask;for(h=0;h<T;h++)I[h]||(Z.pixelData[h]=u);Z.noDataValue=u}return p.noDataValue=u,d.returnFileInfo&&(Z.fileInfo=r.formatFileInfo(p)),Z}},getBandCount:function(c){var d=0,u=0,h={};for(h.ptr=0,h.pixels={};u<c.byteLength-58;)r.readHeaderInfo(c,h),u+=h.headerInfo.blobSize,d++,h.ptr=u;return d}};return a})(),n=(function(){var o=new ArrayBuffer(4),r=new Uint8Array(o),s=new Uint32Array(o);return s[0]=1,r[0]===1})(),i={decode:function(o,r){if(!n)throw"Big endian system is not supported.";r=r||{};var s=r.inputOffset||0,a=new Uint8Array(o,s,10),c=String.fromCharCode.apply(null,a),d,u;if(c.trim()==="CntZImage")d=e,u=1;else if(c.substring(0,5)==="Lerc2")d=t,u=2;else throw"Unexpected file identifier string: "+c;for(var h=0,p=o.byteLength-10,g,f=[],y,T,S={width:0,height:0,pixels:[],pixelType:r.pixelType,mask:null,statistics:[]};s<p;){var C=d.decode(o,{inputOffset:s,encodedMaskData:g,maskData:T,returnMask:h===0,returnEncodedMask:h===0,returnFileInfo:!0,pixelType:r.pixelType||null,noDataValue:r.noDataValue||null});s=C.fileInfo.eofOffset,h===0&&(g=C.encodedMaskData,T=C.maskData,S.width=C.width,S.height=C.height,S.dimCount=C.dimCount||1,S.pixelType=C.pixelType||C.fileInfo.pixelType,S.mask=C.maskData),u>1&&C.fileInfo.mask&&C.fileInfo.mask.numBytes>0&&f.push(C.maskData),h++,S.pixels.push(C.pixelData),S.statistics.push({minValue:C.minValue,maxValue:C.maxValue,noDataValue:C.noDataValue,dimStats:C.dimStats})}var V,R,Z;if(u>1&&f.length>1){for(Z=S.width*S.height,S.bandMasks=f,T=new Uint8Array(Z),T.set(f[0]),V=1;V<f.length;V++)for(y=f[V],R=0;R<Z;R++)T[R]=T[R]&y[R];S.maskData=T}return S}};typeof define=="function"&&define.amd?define([],function(){return i}):typeof ZO<"u"&&ZO.exports?ZO.exports=i:this.Lerc=i})()});var Y1e=cd((JAo,O1e)=>{var QAo=x(_());O1e.exports={webm:"data:video/webm;base64,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",mp4:"data:video/mp4;base64,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"}});var H1e=cd((jAo,z1e)=>{var qAo=x(_()),{webm:oRt,mp4:rRt}=Y1e(),Mq=()=>typeof navigator<"u"&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream,Nq=()=>"wakeLock"in navigator,kq=class{constructor(){if(this.enabled=!1,Nq()){this._wakeLock=null;let t=()=>{this._wakeLock!==null&&document.visibilityState==="visible"&&this.enable()};document.addEventListener("visibilitychange",t),document.addEventListener("fullscreenchange",t)}else Mq()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",oRt),this._addSourceToVideo(this.noSleepVideo,"mp4",rRt),this.noSleepVideo.addEventListener("loadedmetadata",()=>{this.noSleepVideo.duration<=1?this.noSleepVideo.setAttribute("loop",""):this.noSleepVideo.addEventListener("timeupdate",()=>{this.noSleepVideo.currentTime>.5&&(this.noSleepVideo.currentTime=Math.random())})}))}_addSourceToVideo(t,n,i){var o=document.createElement("source");o.src=i,o.type=`video/${n}`,t.appendChild(o)}get isEnabled(){return this.enabled}enable(){return Nq()?navigator.wakeLock.request("screen").then(t=>{this._wakeLock=t,this.enabled=!0,console.log("Wake Lock active."),this._wakeLock.addEventListener("release",()=>{console.log("Wake Lock released.")})}).catch(t=>{throw this.enabled=!1,console.error(`${t.name}, ${t.message}`),t}):Mq()?(this.disable(),console.warn(`
|
|
67
67
|
NoSleep enabled for older iOS devices. This can interrupt
|
|
68
68
|
active or long-running network requests from completing successfully.
|
|
69
69
|
See https://github.com/richtr/NoSleep.js/issues/15 for more details.
|
|
70
70
|
`),this.noSleepTimer=window.setInterval(()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))},15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then(n=>(this.enabled=!0,n)).catch(n=>{throw this.enabled=!1,n})}disable(){Nq()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):Mq()?this.noSleepTimer&&(console.warn(`
|
|
71
71
|
NoSleep now disabled for older iOS devices.
|
|
72
|
-
`),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};z1e.exports=kq});var GRt={};aVe(GRt,{AlphaMode:()=>Rf,AlphaPipelineStage:()=>wX,AnchorPointDirect:()=>kI,AnchorPointIndirect:()=>DI,Animation:()=>W9,AnimationViewModel:()=>P9,Appearance:()=>Qi,ApproximateTerrainHeights:()=>ai,ArcGISTiledElevationTerrainProvider:()=>W7,ArcGisBaseMapType:()=>Uh,ArcGisMapServerImageryProvider:()=>f0,ArcGisMapService:()=>Kd,ArcType:()=>Qt,ArticulationStageType:()=>fc,AssociativeArray:()=>_t,Atmosphere:()=>V_,AtmospherePipelineStage:()=>bX,AttributeCompression:()=>Zn,AttributeType:()=>qt,AutoExposure:()=>AF,AutomaticUniforms:()=>Cp,Axis:()=>Go,AxisAlignedBoundingBox:()=>$0,B3dmLoader:()=>eX,B3dmParser:()=>jI,BaseLayerPicker:()=>w9,BaseLayerPickerViewModel:()=>v9,BatchTable:()=>Xx,BatchTableHierarchy:()=>t_,BatchTexture:()=>jc,BatchTexturePipelineStage:()=>FX,Billboard:()=>no,BillboardCollection:()=>Ed,BillboardGraphics:()=>rc,BillboardLoadState:()=>is,BillboardTexture:()=>Cb,BillboardVisualizer:()=>VG,BingMapsGeocoderService:()=>v7,BingMapsImageryProvider:()=>Qv,BingMapsStyle:()=>qV,BlendEquation:()=>wa,BlendFunction:()=>xo,BlendOption:()=>To,BlendingState:()=>on,BoundingRectangle:()=>Oe,BoundingSphere:()=>de,BoundingSphereState:()=>ot,BoundingVolumeSemantics:()=>x_,BoxEmitter:()=>R6,BoxGeometry:()=>Pa,BoxGeometryUpdater:()=>wA,BoxGraphics:()=>kx,BoxOutlineGeometry:()=>Mm,BrdfLutGenerator:()=>Gw,Buffer:()=>mt,BufferLoader:()=>a_,BufferUsage:()=>we,CPUStylingPipelineStage:()=>DX,CallbackPositionProperty:()=>FA,CallbackProperty:()=>Om,Camera:()=>qi,CameraEventAggregator:()=>FF,CameraEventType:()=>Wi,CameraFlightPath:()=>Iw,Cartesian2:()=>D,Cartesian3:()=>m,Cartesian4:()=>ae,Cartographic:()=>fe,CartographicGeocoderService:()=>F7,CatmullRomSpline:()=>M7,Cesium3DContentGroup:()=>e_,Cesium3DTile:()=>zu,Cesium3DTileBatchTable:()=>jp,Cesium3DTileColorBlendMode:()=>Al,Cesium3DTileContent:()=>E6,Cesium3DTileContentFactory:()=>N_,Cesium3DTileContentState:()=>Mo,Cesium3DTileContentType:()=>Xs,Cesium3DTileFeature:()=>Hs,Cesium3DTileFeatureTable:()=>rh,Cesium3DTileOptimizationHint:()=>Du,Cesium3DTileOptimizations:()=>CP,Cesium3DTilePass:()=>Io,Cesium3DTilePassState:()=>pm,Cesium3DTilePointFeature:()=>Vb,Cesium3DTileRefine:()=>wo,Cesium3DTileStyle:()=>GS,Cesium3DTileStyleEngine:()=>GP,Cesium3DTilesInspector:()=>Y9,Cesium3DTilesInspectorViewModel:()=>O9,Cesium3DTilesVoxelProvider:()=>Z6,Cesium3DTileset:()=>ys,Cesium3DTilesetBaseTraversal:()=>vP,Cesium3DTilesetCache:()=>RP,Cesium3DTilesetGraphics:()=>Hx,Cesium3DTilesetHeatmap:()=>EP,Cesium3DTilesetMetadata:()=>J_,Cesium3DTilesetMostDetailedTraversal:()=>XP,Cesium3DTilesetSkipTraversal:()=>MP,Cesium3DTilesetStatistics:()=>bh,Cesium3DTilesetTraversal:()=>$s,Cesium3DTilesetVisualizer:()=>NP,CesiumInspector:()=>D9,CesiumInspectorViewModel:()=>k9,CesiumTerrainProvider:()=>SS,CesiumWidget:()=>MM,Check:()=>po,CheckerboardMaterialProperty:()=>A1,CircleEmitter:()=>o9,CircleGeometry:()=>O7,CircleOutlineGeometry:()=>Y7,ClassificationModelDrawCommand:()=>WW,ClassificationPipelineStage:()=>MX,ClassificationPrimitive:()=>gC,ClassificationType:()=>Pn,ClearCommand:()=>jn,ClippingPlane:()=>__,ClippingPlaneCollection:()=>bs,ClippingPolygon:()=>zC,ClippingPolygonCollection:()=>eh,Clock:()=>Th,ClockRange:()=>Yr,ClockStep:()=>uo,ClockViewModel:()=>G9,CloudCollection:()=>P6,CloudType:()=>HL,Color:()=>U,ColorBlendMode:()=>hc,ColorGeometryInstanceAttribute:()=>Nt,ColorMaterialProperty:()=>Mt,Command:()=>Vq,ComponentDatatype:()=>Q,Composite3DTileContent:()=>zA,CompositeEntityCollection:()=>qK,CompositeMaterialProperty:()=>X1,CompositePositionProperty:()=>xa,CompositeProperty:()=>xc,CompressedTextureBuffer:()=>VR,ComputeCommand:()=>Pc,ComputeEngine:()=>CR,ConditionsExpression:()=>e9,ConeEmitter:()=>w6,ConstantPositionProperty:()=>Uc,ConstantProperty:()=>Yn,ConstantSpline:()=>oX,ContentMetadata:()=>fP,Context:()=>bG,ContextLimits:()=>Pt,CoplanarPolygonGeometry:()=>C2,CoplanarPolygonGeometryLibrary:()=>Wb,CoplanarPolygonOutlineGeometry:()=>Yu,CornerType:()=>Gi,CorrelationGroup:()=>UI,CorridorGeometry:()=>tT,CorridorGeometryLibrary:()=>Ni,CorridorGeometryUpdater:()=>KP,CorridorGraphics:()=>Ux,CorridorOutlineGeometry:()=>HP,Credit:()=>bt,CreditDisplay:()=>vw,CubeMap:()=>_r,CubeMapFace:()=>PR,CubicRealPolynomial:()=>gx,CullFace:()=>bi,CullingVolume:()=>ps,CumulusCloud:()=>au,CustomDataSource:()=>e2,CustomHeightmapTerrainProvider:()=>z7,CustomShader:()=>dS,CustomShaderMode:()=>_b,CustomShaderPipelineStage:()=>KX,CustomShaderTranslucencyMode:()=>vg,CylinderGeometry:()=>t2,CylinderGeometryLibrary:()=>nT,CylinderGeometryUpdater:()=>i2,CylinderGraphics:()=>Bx,CylinderOutlineGeometry:()=>n2,CzmlDataSource:()=>h2,DataSource:()=>Or,DataSourceClock:()=>Sh,DataSourceCollection:()=>f2,DataSourceDisplay:()=>q2,DebugAppearance:()=>F6,DebugCameraPrimitive:()=>ap,DebugInspector:()=>YF,DebugModelMatrixPrimitive:()=>s9,DefaultProxy:()=>H7,DepthFunction:()=>sc,DepthPlane:()=>Bw,DequantizationPipelineStage:()=>QX,DerivedCommand:()=>cp,DeveloperError:()=>pe,DeviceOrientationCameraController:()=>Ow,DirectionalLight:()=>M6,DiscardEmptyTileImagePolicy:()=>$V,DiscardMissingTileImagePolicy:()=>Kv,DistanceDisplayCondition:()=>Zt,DistanceDisplayConditionGeometryInstanceAttribute:()=>Wn,DoubleEndedPriorityQueue:()=>fS,DoublyLinkedList:()=>LP,DracoLoader:()=>ob,DrawCommand:()=>He,DynamicAtmosphereLightingType:()=>lb,DynamicEnvironmentMapManager:()=>db,DynamicGeometryBatch:()=>lT,DynamicGeometryUpdater:()=>$n,EarthOrientationParameters:()=>pR,EarthOrientationParametersSample:()=>N0,EasingFunction:()=>Hr,EllipseGeometry:()=>cl,EllipseGeometryLibrary:()=>Bl,EllipseGeometryUpdater:()=>b2,EllipseGraphics:()=>Ox,EllipseOutlineGeometry:()=>Md,Ellipsoid:()=>ne,EllipsoidGeodesic:()=>kp,EllipsoidGeometry:()=>ta,EllipsoidGeometryUpdater:()=>y2,EllipsoidGraphics:()=>Yx,EllipsoidOutlineGeometry:()=>Ad,EllipsoidPrimitive:()=>Cw,EllipsoidRhumbLine:()=>Fa,EllipsoidSurfaceAppearance:()=>N6,EllipsoidTangentPlane:()=>jr,EllipsoidTerrainProvider:()=>ip,EllipsoidalOccluder:()=>Ob,Empty3DTileContent:()=>g1,EncodedCartesian3:()=>Fn,Entity:()=>Ho,EntityCluster:()=>Xd,EntityCollection:()=>ea,EntityView:()=>ev,Event:()=>be,EventHelper:()=>dr,Expression:()=>Gu,ExpressionNodeType:()=>ct,ExtrapolationType:()=>Pd,FeatureDetection:()=>wt,FeatureIdPipelineStage:()=>Pg,Fog:()=>Yw,ForEach:()=>Ae,FrameRateMonitor:()=>l9,FrameState:()=>zw,Framebuffer:()=>Wr,FramebufferManager:()=>mi,Frozen:()=>Y,FrustumCommands:()=>jw,FrustumGeometry:()=>BT,FrustumOutlineGeometry:()=>Mw,Fullscreen:()=>gr,FullscreenButton:()=>H9,FullscreenButtonViewModel:()=>z9,GeoJsonDataSource:()=>hy,GeoJsonLoader:()=>tX,GeocodeType:()=>Yy,Geocoder:()=>j9,GeocoderService:()=>UL,GeocoderViewModel:()=>Q9,GeographicProjection:()=>Li,GeographicTilingScheme:()=>Oi,Geometry:()=>it,Geometry3DTileContent:()=>JA,GeometryAttribute:()=>Re,GeometryAttributes:()=>rn,GeometryFactory:()=>K7,GeometryInstance:()=>Tt,GeometryInstanceAttribute:()=>ac,GeometryOffsetAttribute:()=>$t,GeometryPipeline:()=>Gn,GeometryPipelineStage:()=>eW,GeometryType:()=>bu,GeometryUpdater:()=>ei,GeometryUpdaterSet:()=>_T,GeometryVisualizer:()=>k2,GetFeatureInfoFormat:()=>NT,Globe:()=>xw,GlobeDepth:()=>qw,GlobeSurfaceShaderSet:()=>Hv,GlobeSurfaceTile:()=>mm,GlobeSurfaceTileProvider:()=>lw,GlobeTranslucency:()=>dw,GlobeTranslucencyFramebuffer:()=>$w,GlobeTranslucencyState:()=>Hw,GltfBufferViewLoader:()=>AC,GltfDracoLoader:()=>IC,GltfGpmLoader:()=>OI,GltfGpmLocal:()=>KC,GltfImageLoader:()=>XC,GltfIndexBufferLoader:()=>WC,GltfJsonLoader:()=>vC,GltfLoader:()=>oh,GltfLoaderUtil:()=>Wl,GltfMeshPrimitiveGpmLoader:()=>KI,GltfStructuralMetadataLoader:()=>MI,GltfTextureLoader:()=>wC,GltfVertexBufferLoader:()=>FC,GoogleEarthEnterpriseImageryProvider:()=>D6,GoogleEarthEnterpriseMapsProvider:()=>$v,GoogleEarthEnterpriseMetadata:()=>X0,GoogleEarthEnterpriseTerrainData:()=>BL,GoogleEarthEnterpriseTerrainProvider:()=>n6,GoogleEarthEnterpriseTileInformation:()=>HM,GoogleGeocoderService:()=>o6,GoogleMaps:()=>VS,GpxDataSource:()=>sv,GregorianDate:()=>Lp,GridImageryProvider:()=>U6,GridMaterialProperty:()=>U1,GroundGeometryUpdater:()=>Mn,GroundPolylineGeometry:()=>wx,GroundPolylinePrimitive:()=>Nm,GroundPrimitive:()=>kc,GroupMetadata:()=>E1,HeadingPitchRange:()=>im,HeadingPitchRoll:()=>Ia,Heap:()=>uR,HeightReference:()=>Ye,HeightmapEncoding:()=>lm,HeightmapTerrainData:()=>Oa,HeightmapTessellator:()=>HV,HermitePolynomialApproximation:()=>o2,HermiteSpline:()=>Ig,HilbertOrder:()=>RC,HomeButton:()=>J9,HomeButtonViewModel:()=>K9,HorizontalOrigin:()=>pi,I3SBuildingSceneLayerExplorer:()=>Wq,I3SBuildingSceneLayerExplorerViewModel:()=>q9,I3SDataProvider:()=>ef,I3SDecoder:()=>d9,I3SFeature:()=>u9,I3SField:()=>m9,I3SGeometry:()=>KL,I3SLayer:()=>PS,I3SNode:()=>JL,I3SStatistics:()=>p9,I3SSublayer:()=>g9,I3SSymbology:()=>f9,I3dmLoader:()=>iX,I3dmParser:()=>nX,ITwinData:()=>z6,ITwinPlatform:()=>Ds,Iau2000Orientation:()=>Tw,Iau2006XysData:()=>bR,Iau2006XysSample:()=>hx,IauOrientationAxes:()=>Sw,IauOrientationParameters:()=>_w,ImageBasedLighting:()=>$x,ImageBasedLightingPipelineStage:()=>yX,ImageMaterialProperty:()=>ig,Imagery:()=>rL,ImageryLayer:()=>za,ImageryLayerCollection:()=>uw,ImageryLayerFeatureInfo:()=>Dh,ImageryProvider:()=>ml,ImageryState:()=>ri,Implicit3DTileContent:()=>kC,ImplicitAvailabilityBitstream:()=>ZC,ImplicitMetadataView:()=>GC,ImplicitSubdivisionScheme:()=>es,ImplicitSubtree:()=>g_,ImplicitSubtreeCache:()=>n9,ImplicitSubtreeMetadata:()=>QA,ImplicitTileCoordinates:()=>q_,ImplicitTileset:()=>j_,IndexDatatype:()=>ve,InfoBox:()=>eN,InfoBoxViewModel:()=>$9,InspectorShared:()=>Ja,InstanceAttributeSemantic:()=>ns,InstancingPipelineStage:()=>XX,InterpolationAlgorithm:()=>r6,InterpolationType:()=>nh,Intersect:()=>kt,IntersectionTests:()=>Kn,Intersections2D:()=>A0,Interval:()=>Wa,InvertClassification:()=>yL,Ion:()=>Hm,IonGeocodeProviderType:()=>W0,IonGeocoderService:()=>LS,IonImageryProvider:()=>p0,IonResource:()=>yd,IonWorldImageryStyle:()=>b0,Iso8601:()=>ke,JobScheduler:()=>Kw,JobType:()=>ka,JsonMetadataTable:()=>ub,JulianDate:()=>j,KTX2Transcoder:()=>LR,KeyboardEventModifier:()=>aa,KeyframeNode:()=>ho,KmlCamera:()=>av,KmlDataSource:()=>IT,KmlLookAt:()=>wv,KmlTour:()=>Fv,KmlTourFlyTo:()=>Nv,KmlTourWait:()=>kv,Label:()=>kg,LabelCollection:()=>Xf,LabelGraphics:()=>Dm,LabelStyle:()=>Fo,LabelVisualizer:()=>D2,LagrangePolynomialApproximation:()=>r2,LeapSecond:()=>Ui,Light:()=>H6,LightingModel:()=>Gf,LightingPipelineStage:()=>nW,LinearApproximation:()=>oT,LinearSpline:()=>Ag,ManagedArray:()=>Qc,MapMode2D:()=>jl,MapProjection:()=>c6,MapboxImageryProvider:()=>ew,MapboxStyleImageryProvider:()=>K6,Material:()=>Bi,MaterialAppearance:()=>eo,MaterialPipelineStage:()=>oW,MaterialProperty:()=>zo,Math:()=>A,Matrix2:()=>Ri,Matrix3:()=>q,Matrix4:()=>P,Megatexture:()=>EL,MeshPrimitiveGpmLocal:()=>HI,MetadataClass:()=>jm,MetadataClassProperty:()=>Cf,MetadataComponentType:()=>Gt,MetadataEntity:()=>Xn,MetadataEnum:()=>bI,MetadataEnumValue:()=>pI,MetadataPicking:()=>Jw,MetadataPickingPipelineStage:()=>Vd,MetadataPipelineStage:()=>Pu,MetadataSchema:()=>Sd,MetadataSchemaLoader:()=>MC,MetadataSemantic:()=>y_,MetadataTable:()=>Au,MetadataTableProperty:()=>qA,MetadataType:()=>nt,MipmapHint:()=>ff,Model:()=>ch,Model3DTileContent:()=>Rd,ModelAlphaOptions:()=>SW,ModelAnimation:()=>cX,ModelAnimationChannel:()=>aX,ModelAnimationCollection:()=>lX,ModelAnimationLoop:()=>vl,ModelAnimationState:()=>sh,ModelArticulation:()=>_X,ModelArticulationStage:()=>xX,ModelClippingPlanesPipelineStage:()=>CX,ModelClippingPolygonsPipelineStage:()=>RX,ModelColorPipelineStage:()=>Wg,ModelComponents:()=>fn,ModelDrawCommand:()=>PW,ModelDrawCommands:()=>FW,ModelFeature:()=>dX,ModelFeatureTable:()=>mX,ModelGraphics:()=>Yp,ModelLightingOptions:()=>AW,ModelMatrixUpdateStage:()=>WX,ModelNode:()=>EX,ModelRenderResources:()=>CW,ModelRuntimeNode:()=>vX,ModelRuntimePrimitive:()=>_W,ModelSceneGraph:()=>MW,ModelSilhouettePipelineStage:()=>RW,ModelSkin:()=>TW,ModelSplitterPipelineStage:()=>ZW,ModelStatistics:()=>NW,ModelType:()=>cr,ModelUtility:()=>Yt,ModelVisualizer:()=>U2,Moon:()=>Lw,MorphTargetsPipelineStage:()=>sW,MorphWeightSpline:()=>l6,MortonOrder:()=>zg,Multiple3DTileContent:()=>gP,MultisampleFramebuffer:()=>gG,NavigationHelpButton:()=>uN,NavigationHelpButtonViewModel:()=>dN,NearFarScalar:()=>vt,NeverTileDiscardPolicy:()=>Q6,NodeRenderResources:()=>GW,NodeStatisticsPipelineStage:()=>PX,NodeTransformationProperty:()=>zx,OIT:()=>tF,Occluder:()=>Rw,OffsetGeometryInstanceAttribute:()=>Hi,OpenCageGeocoderService:()=>u6,OpenStreetMapImageryProvider:()=>v0,OrderedGroundPrimitiveCollection:()=>p2,OrientedBoundingBox:()=>Sn,OrthographicFrustum:()=>tn,OrthographicOffCenterFrustum:()=>Pr,Packable:()=>m6,PackableForInterpolation:()=>h6,Particle:()=>qL,ParticleBurst:()=>q6,ParticleEmitter:()=>$6,ParticleSystem:()=>eq,Pass:()=>Ee,PassState:()=>oc,PathGraphics:()=>zp,PathVisualizer:()=>O2,PeliasGeocoderService:()=>JM,PerInstanceColorAppearance:()=>nn,PerformanceDisplay:()=>_0,PerformanceWatchdog:()=>oN,PerformanceWatchdogViewModel:()=>iN,PerspectiveFrustum:()=>Ci,PerspectiveOffCenterFrustum:()=>hl,PickDepth:()=>Qw,PickDepthFramebuffer:()=>iF,PickFramebuffer:()=>rF,PickedMetadataInfo:()=>xM,Picking:()=>dF,PickingPipelineStage:()=>aW,PinBuilder:()=>r0,PixelDatatype:()=>ze,PixelFormat:()=>je,Plane:()=>en,PlaneGeometry:()=>x2,PlaneGeometryUpdater:()=>T2,PlaneGraphics:()=>GA,PlaneOutlineGeometry:()=>_2,PntsLoader:()=>DW,PntsParser:()=>X_,PointCloud:()=>wM,PointCloudEyeDomeLighting:()=>hb,PointCloudShading:()=>Zf,PointCloudStylingPipelineStage:()=>lW,PointGraphics:()=>Kx,PointPrimitive:()=>Ps,PointPrimitiveCollection:()=>F1,PointVisualizer:()=>z2,PolygonGeometry:()=>cb,PolygonGeometryLibrary:()=>wn,PolygonGeometryUpdater:()=>L2,PolygonGraphics:()=>Um,PolygonHierarchy:()=>Ma,PolygonOutlineGeometry:()=>V2,PolygonPipeline:()=>ii,Polyline:()=>Mu,PolylineArrowMaterialProperty:()=>O1,PolylineCollection:()=>uh,PolylineColorAppearance:()=>qr,PolylineDashMaterialProperty:()=>z1,PolylineGeometry:()=>o0,PolylineGeometryUpdater:()=>J2,PolylineGlowMaterialProperty:()=>K1,PolylineGraphics:()=>cc,PolylineMaterialAppearance:()=>fa,PolylineOutlineMaterialProperty:()=>ey,PolylinePipeline:()=>Zi,PolylineVisualizer:()=>j2,PolylineVolumeGeometry:()=>Z2,PolylineVolumeGeometryLibrary:()=>gh,PolylineVolumeGeometryUpdater:()=>X2,PolylineVolumeGraphics:()=>Jx,PolylineVolumeOutlineGeometry:()=>I2,PositionProperty:()=>km,PositionPropertyArray:()=>Kb,PostProcessStage:()=>so,PostProcessStageCollection:()=>WF,PostProcessStageComposite:()=>$l,PostProcessStageLibrary:()=>qd,PostProcessStageSampleMode:()=>jd,PostProcessStageTextureCache:()=>tS,PpeMetadata:()=>zI,PpeSource:()=>_q,PpeTexture:()=>YI,Primitive:()=>Cn,PrimitiveCollection:()=>al,PrimitiveLoadPlan:()=>E_,PrimitiveOutlineGenerator:()=>R_,PrimitiveOutlinePipelineStage:()=>mW,PrimitivePipeline:()=>Wx,PrimitiveRenderResources:()=>IW,PrimitiveState:()=>Cr,PrimitiveStatisticsPipelineStage:()=>hW,PrimitiveType:()=>Pe,ProjectionPicker:()=>nN,ProjectionPickerViewModel:()=>tN,Property:()=>K,PropertyArray:()=>Q1,PropertyAttribute:()=>L_,PropertyAttributeProperty:()=>PI,PropertyBag:()=>Oc,PropertyTable:()=>$c,PropertyTexture:()=>mb,PropertyTextureProperty:()=>WI,ProviderViewModel:()=>ls,Proxy:()=>f6,QuadraticRealPolynomial:()=>vc,QuadtreeOccluders:()=>mw,QuadtreePrimitive:()=>yw,QuadtreeTile:()=>hw,QuadtreeTileLoadState:()=>ia,QuadtreeTileProvider:()=>tq,QuantizedMeshTerrainData:()=>TS,QuarticRealPolynomial:()=>ZR,Quaternion:()=>Xe,QuaternionSpline:()=>sX,Queue:()=>Cg,Ray:()=>ln,Rectangle:()=>le,RectangleCollisionChecker:()=>ST,RectangleGeometry:()=>fT,RectangleGeometryLibrary:()=>Ws,RectangleGeometryUpdater:()=>W2,RectangleGraphics:()=>Bm,RectangleOutlineGeometry:()=>U_,ReferenceFrame:()=>wi,ReferenceProperty:()=>Jb,RenderState:()=>Me,Renderbuffer:()=>md,RenderbufferFormat:()=>Fc,Request:()=>Uo,RequestErrorEvent:()=>sf,RequestScheduler:()=>tc,RequestState:()=>Hn,RequestType:()=>ms,Resource:()=>Le,ResourceCache:()=>Ti,ResourceCacheKey:()=>Pl,ResourceCacheStatistics:()=>xI,ResourceLoader:()=>Yi,ResourceLoaderState:()=>lt,Rotation:()=>Qu,RuntimeError:()=>ce,S2Cell:()=>eb,SDFSettings:()=>js,SampledPositionProperty:()=>Ta,SampledProperty:()=>wd,Sampler:()=>Ht,ScaledPositionProperty:()=>Uf,Scene:()=>TM,SceneFramebuffer:()=>KT,SceneMode:()=>re,SceneMode2DPipelineStage:()=>fW,SceneModePicker:()=>sN,SceneModePickerViewModel:()=>rN,SceneTransforms:()=>Fi,SceneTransitioner:()=>wF,ScreenSpaceCameraController:()=>kF,ScreenSpaceEventHandler:()=>eu,ScreenSpaceEventType:()=>pn,SelectedFeatureIdPipelineStage:()=>wg,SelectionIndicator:()=>lN,SelectionIndicatorViewModel:()=>cN,SensorVolumePortionToDisplay:()=>eV,ShaderBuilder:()=>Rx,ShaderCache:()=>uG,ShaderDestination:()=>ye,ShaderFunction:()=>_G,ShaderProgram:()=>Jt,ShaderSource:()=>Ne,ShaderStruct:()=>xG,ShadowMap:()=>C0,ShadowMapShader:()=>up,ShadowMode:()=>hn,ShadowVolumeAppearance:()=>pd,ShowGeometryInstanceAttribute:()=>mn,Simon1994PlanetaryPositions:()=>J0,SimplePolylineGeometry:()=>p6,SingleTileImageryProvider:()=>tw,SkinningPipelineStage:()=>bW,SkyAtmosphere:()=>VM,SkyBox:()=>EM,SpatialNode:()=>bM,Spdcf:()=>BI,SpecularEnvironmentCubeMap:()=>zm,SphereEmitter:()=>iq,SphereGeometry:()=>b6,SphereOutlineGeometry:()=>vb,Spherical:()=>s2,Spline:()=>ji,SplitDirection:()=>vr,Splitter:()=>XL,StaticGeometryColorBatch:()=>em,StaticGeometryPerMaterialBatch:()=>tm,StaticGroundGeometryColorBatch:()=>yV,StaticGroundGeometryPerMaterialBatch:()=>N2,StaticGroundPolylinePerMaterialBatch:()=>Q2,StaticOutlineGeometryBatch:()=>TV,StencilConstants:()=>Ft,StencilFunction:()=>vn,StencilOperation:()=>st,SteppedSpline:()=>rX,Stereographic:()=>mc,StorageType:()=>Rg,StripeMaterialProperty:()=>q1,StripeOrientation:()=>Ch,StructuralMetadata:()=>Js,StyleCommandsNeeded:()=>ah,StyleExpression:()=>oq,Sun:()=>WM,SunLight:()=>Pp,SunPostProcess:()=>BF,SupportedImageFormats:()=>NI,SvgPathBindingHandler:()=>E9,TaskProcessor:()=>Tn,Terrain:()=>T9,TerrainData:()=>kh,TerrainEncoding:()=>Vc,TerrainFillMesh:()=>lL,TerrainMesh:()=>um,TerrainOffsetProperty:()=>Qx,TerrainProvider:()=>rs,TerrainQuantization:()=>na,TerrainState:()=>ro,Texture:()=>Et,TextureAtlas:()=>Ex,TextureCache:()=>mG,TextureMagnificationFilter:()=>ui,TextureManager:()=>uM,TextureMinificationFilter:()=>zt,TexturePacker:()=>lC,TextureUniform:()=>yq,TextureWrap:()=>bn,TileAvailability:()=>ou,TileBoundingRegion:()=>Gd,TileBoundingS2Cell:()=>TP,TileBoundingSphere:()=>wb,TileBoundingVolume:()=>rq,TileCoordinatesImageryProvider:()=>C9,TileDiscardPolicy:()=>aq,TileEdge:()=>un,TileImagery:()=>sL,TileMapServiceImageryProvider:()=>Zy,TileMetadata:()=>pP,TileOrientedBoundingBox:()=>kl,TileProviderError:()=>Co,TileReplacementQueue:()=>fw,TileSelectionResult:()=>Bn,TileState:()=>cq,Tileset3DTileContent:()=>OW,TilesetMetadata:()=>SP,TilesetPipelineStage:()=>hX,TilingScheme:()=>g6,TimeConstants:()=>Un,TimeDynamicImagery:()=>kT,TimeDynamicPointCloud:()=>PL,TimeInterval:()=>gn,TimeIntervalCollection:()=>Br,TimeIntervalCollectionPositionProperty:()=>Qb,TimeIntervalCollectionProperty:()=>jb,TimeStandard:()=>kn,Timeline:()=>fN,TimelineHighlightRange:()=>mN,TimelineTrack:()=>hN,Tipsify:()=>GR,ToggleButtonViewModel:()=>jy,Tonemapper:()=>L0,TrackingReferenceFrame:()=>Np,Transforms:()=>Rt,TranslationRotationScale:()=>og,TranslucentTileClassification:()=>aF,TridiagonalSystemSolver:()=>t1,TrustedServers:()=>jS,TweenCollection:()=>rS,UniformState:()=>pG,UniformType:()=>LL,UrlTemplateImageryProvider:()=>Ya,VERSION:()=>ZRt,VRButton:()=>bN,VRButtonViewModel:()=>pN,VRTheWorldTerrainProvider:()=>y6,VaryingType:()=>xq,Vector3DTileBatch:()=>Tf,Vector3DTileClampedPolylines:()=>uP,Vector3DTileContent:()=>hP,Vector3DTileGeometry:()=>$p,Vector3DTilePoints:()=>oP,Vector3DTilePolygons:()=>rP,Vector3DTilePolylines:()=>M_,Vector3DTilePrimitive:()=>o_,VelocityOrientationProperty:()=>c2,VelocityVectorProperty:()=>qb,VertexArray:()=>qn,VertexArrayFacade:()=>vp,VertexAttributeSemantic:()=>at,VertexFormat:()=>Ge,VerticalExaggeration:()=>Sr,VerticalExaggerationPipelineStage:()=>yW,VerticalOrigin:()=>An,VideoSynchronizer:()=>x6,View:()=>jT,Viewer:()=>Uq,ViewportQuad:()=>lq,Visibility:()=>fr,Visualizer:()=>fj,VoxelBoxShape:()=>pp,VoxelCell:()=>zF,VoxelContent:()=>uS,VoxelCylinderShape:()=>mS,VoxelEllipsoidShape:()=>hS,VoxelInspector:()=>yN,VoxelInspectorViewModel:()=>gN,VoxelMetadataOrder:()=>xm,VoxelPrimitive:()=>ky,VoxelProvider:()=>uq,VoxelRenderResources:()=>aM,VoxelShape:()=>mq,VoxelShapeType:()=>Pi,VoxelTraversal:()=>gM,VulkanConstants:()=>_6,WallGeometry:()=>v2,WallGeometryLibrary:()=>pT,WallGeometryUpdater:()=>M2,WallGraphics:()=>Hp,WallOutlineGeometry:()=>F2,WebGLConstants:()=>ie,WebMapServiceImageryProvider:()=>iw,WebMapTileServiceImageryProvider:()=>rw,WebMercatorProjection:()=>Ei,WebMercatorTilingScheme:()=>ss,WindingOrder:()=>hs,WireframeIndexGenerator:()=>l1,WireframePipelineStage:()=>xW,_shadersAcesTonemappingStage:()=>uF,_shadersAdditiveBlend:()=>DF,_shadersAdjustTranslucentFS:()=>xL,_shadersAllMaterialAppearanceFS:()=>EG,_shadersAllMaterialAppearanceVS:()=>ZG,_shadersAmbientOcclusionGenerate:()=>mF,_shadersAmbientOcclusionModulate:()=>hF,_shadersAspectRampMaterial:()=>WG,_shadersAtmosphereCommon:()=>th,_shadersAtmosphereStageFS:()=>fX,_shadersAtmosphereStageVS:()=>pX,_shadersBasicMaterialAppearanceFS:()=>GG,_shadersBasicMaterialAppearanceVS:()=>AG,_shadersBillboardCollectionFS:()=>YW,_shadersBillboardCollectionVS:()=>zW,_shadersBlackAndWhite:()=>fF,_shadersBloomComposite:()=>pF,_shadersBrdfLutGeneratorFS:()=>Ew,_shadersBrightPass:()=>UF,_shadersBrightness:()=>bF,_shadersBumpMapMaterial:()=>PG,_shadersCPUStylingStageFS:()=>kX,_shadersCPUStylingStageVS:()=>NX,_shadersCheckerboardMaterial:()=>vG,_shadersCloudCollectionFS:()=>NM,_shadersCloudCollectionVS:()=>kM,_shadersCloudNoiseFS:()=>DM,_shadersCloudNoiseVS:()=>UM,_shadersCompareAndPackTranslucentDepth:()=>sF,_shadersCompositeOITFS:()=>eF,_shadersCompositeTranslucentClassification:()=>QT,_shadersComputeIrradianceFS:()=>RI,_shadersComputeRadianceMapFS:()=>EI,_shadersContrastBias:()=>gF,_shadersConvolveSpecularMapFS:()=>ZI,_shadersConvolveSpecularMapVS:()=>GI,_shadersCustomShaderStageFS:()=>BX,_shadersCustomShaderStageVS:()=>UX,_shadersCzmBuiltins:()=>Cx,_shadersDepthOfField:()=>yF,_shadersDepthPlaneFS:()=>Nw,_shadersDepthPlaneVS:()=>kw,_shadersDepthView:()=>xF,_shadersDepthViewPacked:()=>gq,_shadersDotMaterial:()=>wG,_shadersEdgeDetection:()=>_F,_shadersElevationBandMaterial:()=>FG,_shadersElevationContourMaterial:()=>MG,_shadersElevationRampMaterial:()=>NG,_shadersEllipsoidFS:()=>uL,_shadersEllipsoidSurfaceAppearanceFS:()=>a9,_shadersEllipsoidSurfaceAppearanceVS:()=>c9,_shadersEllipsoidVS:()=>mL,_shadersFXAA:()=>CF,_shadersFXAA3_11:()=>GF,_shadersFadeMaterial:()=>kG,_shadersFeatureIdStageFS:()=>OX,_shadersFeatureIdStageVS:()=>YX,_shadersFilmicTonemapping:()=>TF,_shadersGaussianBlur1D:()=>wy,_shadersGeometryStageFS:()=>jX,_shadersGeometryStageVS:()=>qX,_shadersGlobeFS:()=>Yv,_shadersGlobeVS:()=>zv,_shadersGridMaterial:()=>DG,_shadersGroundAtmosphere:()=>JV,_shadersHSBToRGB:()=>ZE,_shadersHSLToRGB:()=>GE,_shadersImageBasedLightingStageFS:()=>gX,_shadersInstancingStageCommon:()=>ZX,_shadersInstancingStageVS:()=>GX,_shadersIntersectBox:()=>$F,_shadersIntersectClippingPlanes:()=>qF,_shadersIntersectCylinder:()=>eM,_shadersIntersectDepth:()=>jF,_shadersIntersectEllipsoid:()=>tM,_shadersIntersectLongitude:()=>VL,_shadersIntersection:()=>cS,_shadersIntersectionUtils:()=>QF,_shadersLegacyInstancingStageVS:()=>AX,_shadersLensFlare:()=>VF,_shadersLightingStageFS:()=>tW,_shadersMaterialStageFS:()=>iW,_shadersMegatexture:()=>sM,_shadersMetadataStageFS:()=>zX,_shadersMetadataStageVS:()=>HX,_shadersModelClippingPlanesStageFS:()=>SX,_shadersModelClippingPolygonsStageFS:()=>LX,_shadersModelClippingPolygonsStageVS:()=>VX,_shadersModelColorStageFS:()=>TX,_shadersModelFS:()=>wW,_shadersModelSilhouetteStageFS:()=>VW,_shadersModelSilhouetteStageVS:()=>LW,_shadersModelSplitterStageFS:()=>EW,_shadersModelVS:()=>vW,_shadersModifiedReinhardTonemapping:()=>LF,_shadersMorphTargetsStageVS:()=>rW,_shadersNightVision:()=>RF,_shadersNormalMapMaterial:()=>UG,_shadersOctree:()=>rM,_shadersPassThrough:()=>ql,_shadersPassThroughDepth:()=>Wy,_shadersPbrNeutralTonemapping:()=>SF,_shadersPerInstanceColorAppearanceFS:()=>$G,_shadersPerInstanceColorAppearanceVS:()=>eA,_shadersPerInstanceFlatColorAppearanceFS:()=>Ix,_shadersPerInstanceFlatColorAppearanceVS:()=>tA,_shadersPointCloudEyeDomeLighting:()=>JI,_shadersPointCloudStylingStageVS:()=>cW,_shadersPointPrimitiveCollectionFS:()=>$g,_shadersPointPrimitiveCollectionVS:()=>JP,_shadersPolygonSignedDistanceFS:()=>VI,_shadersPolylineArrowMaterial:()=>BG,_shadersPolylineColorAppearanceVS:()=>bA,_shadersPolylineCommon:()=>bd,_shadersPolylineDashMaterial:()=>OG,_shadersPolylineFS:()=>Mx,_shadersPolylineGlowMaterial:()=>YG,_shadersPolylineMaterialAppearanceVS:()=>gA,_shadersPolylineOutlineMaterial:()=>zG,_shadersPolylineShadowVolumeFS:()=>mA,_shadersPolylineShadowVolumeMorphFS:()=>hA,_shadersPolylineShadowVolumeMorphVS:()=>fA,_shadersPolylineShadowVolumeVS:()=>pA,_shadersPolylineVS:()=>qW,_shadersPrimitiveOutlineStageFS:()=>uW,_shadersPrimitiveOutlineStageVS:()=>dW,_shadersRGBToHSB:()=>AE,_shadersRGBToHSL:()=>IE,_shadersRGBToXYZ:()=>XE,_shadersReinhardTonemapping:()=>EF,_shadersReprojectWebMercatorFS:()=>sw,_shadersReprojectWebMercatorVS:()=>aw,_shadersRimLightingMaterial:()=>HG,_shadersSelectedFeatureIdStageCommon:()=>c1,_shadersShadowVolumeAppearanceFS:()=>pC,_shadersShadowVolumeAppearanceVS:()=>oA,_shadersShadowVolumeFS:()=>eg,_shadersSilhouette:()=>ZF,_shadersSkinningStageVS:()=>pW,_shadersSkyAtmosphereCommon:()=>ZL,_shadersSkyAtmosphereFS:()=>SM,_shadersSkyAtmosphereVS:()=>CM,_shadersSkyBoxFS:()=>LM,_shadersSkyBoxVS:()=>RM,_shadersSlopeRampMaterial:()=>KG,_shadersStripeMaterial:()=>JG,_shadersSunFS:()=>ZM,_shadersSunTextureFS:()=>GM,_shadersSunVS:()=>AM,_shadersTexturedMaterialAppearanceFS:()=>IG,_shadersTexturedMaterialAppearanceVS:()=>XG,_shadersVector3DTileClampedPolylinesFS:()=>lP,_shadersVector3DTileClampedPolylinesVS:()=>cP,_shadersVector3DTilePolylinesVS:()=>sP,_shadersVectorTileVS:()=>LC,_shadersVerticalExaggerationStageVS:()=>gW,_shadersViewportQuadFS:()=>BM,_shadersViewportQuadVS:()=>fx,_shadersVoxelFS:()=>KF,_shadersVoxelUtils:()=>HF,_shadersVoxelVS:()=>JF,_shadersWater:()=>jG,_shadersWaterMaskMaterial:()=>QG,_shadersXYZToRGB:()=>WE,_shadersacesTonemapping:()=>PE,_shadersalphaWeight:()=>vE,_shadersantialias:()=>wE,_shadersapplyHSBShift:()=>FE,_shadersapproximateSphericalCoordinates:()=>ME,_shadersapproximateTanh:()=>NE,_shadersbackFacing:()=>kE,_shadersbranchFreeTernary:()=>DE,_shaderscascadeColor:()=>UE,_shaderscascadeDistance:()=>BE,_shaderscascadeMatrix:()=>OE,_shaderscascadeWeights:()=>YE,_shadersclipPolygons:()=>zE,_shaderscolumbusViewMorph:()=>HE,_shaderscomputeAtmosphereColor:()=>KE,_shaderscomputeGroundAtmosphereScattering:()=>JE,_shaderscomputePosition:()=>QE,_shaderscomputeScattering:()=>jE,_shadersconvertUvToBox:()=>nM,_shadersconvertUvToCylinder:()=>iM,_shadersconvertUvToEllipsoid:()=>oM,_shaderscosineAndSine:()=>qE,_shadersdecompressTextureCoordinates:()=>$E,_shadersdegreesPerRadian:()=>wR,_shadersdepthClamp:()=>eZ,_shadersdepthRange:()=>FR,_shadersdepthRangeStruct:()=>_E,_shaderseastNorthUpToEyeCoordinates:()=>tZ,_shadersellipsoidContainsPoint:()=>nZ,_shadersellipsoidTextureCoordinates:()=>iZ,_shadersepsilon1:()=>MR,_shadersepsilon2:()=>NR,_shadersepsilon3:()=>kR,_shadersepsilon4:()=>DR,_shadersepsilon5:()=>UR,_shadersepsilon6:()=>BR,_shadersepsilon7:()=>OR,_shadersequalsEpsilon:()=>oZ,_shaderseyeOffset:()=>rZ,_shaderseyeToWindowCoordinates:()=>sZ,_shadersfastApproximateAtan:()=>aZ,_shadersfog:()=>cZ,_shadersgammaCorrect:()=>lZ,_shadersgeodeticSurfaceNormal:()=>dZ,_shadersgetDefaultMaterial:()=>uZ,_shadersgetDynamicAtmosphereLightDirection:()=>mZ,_shadersgetLambertDiffuse:()=>hZ,_shadersgetSpecular:()=>fZ,_shadersgetWaterNoise:()=>pZ,_shadershue:()=>bZ,_shadersinfinity:()=>YR,_shadersinverseGamma:()=>gZ,_shadersisEmpty:()=>yZ,_shadersisFull:()=>xZ,_shaderslatitudeToWebMercatorFraction:()=>_Z,_shaderslineDistance:()=>TZ,_shaderslinearToSrgb:()=>SZ,_shadersluminance:()=>CZ,_shadersmaterial:()=>TE,_shadersmaterialInput:()=>SE,_shadersmaximumComponent:()=>VZ,_shadersmetersPerPixel:()=>LZ,_shadersmodelMaterial:()=>CE,_shadersmodelToWindowCoordinates:()=>RZ,_shadersmodelVertexOutput:()=>VE,_shadersmultiplyWithColorBalance:()=>EZ,_shadersnearFarScalar:()=>ZZ,_shadersoctDecode:()=>GZ,_shadersoneOverPi:()=>zR,_shadersoneOverTwoPi:()=>HR,_shaderspackDepth:()=>AZ,_shaderspassCesium3DTile:()=>KR,_shaderspassCesium3DTileClassification:()=>JR,_shaderspassCesium3DTileClassificationIgnoreShow:()=>QR,_shaderspassClassification:()=>jR,_shaderspassCompute:()=>qR,_shaderspassEnvironment:()=>$R,_shaderspassGlobe:()=>eE,_shaderspassOpaque:()=>tE,_shaderspassOverlay:()=>nE,_shaderspassTerrainClassification:()=>iE,_shaderspassTranslucent:()=>oE,_shaderspassVoxels:()=>rE,_shaderspbrLighting:()=>IZ,_shaderspbrNeutralTonemapping:()=>XZ,_shadersphong:()=>WZ,_shaderspi:()=>sE,_shaderspiOverFour:()=>aE,_shaderspiOverSix:()=>cE,_shaderspiOverThree:()=>lE,_shaderspiOverTwo:()=>dE,_shadersplaneDistance:()=>PZ,_shaderspointAlongRay:()=>vZ,_shadersradiansPerDegree:()=>uE,_shadersray:()=>LE,_shadersrayEllipsoidIntersectionInterval:()=>wZ,_shadersraySegment:()=>RE,_shadersraySphereIntersectionInterval:()=>FZ,_shadersreadDepth:()=>MZ,_shadersreadNonPerspective:()=>NZ,_shadersreverseLogDepth:()=>kZ,_shadersround:()=>DZ,_shaderssaturation:()=>UZ,_shaderssceneMode2D:()=>mE,_shaderssceneMode3D:()=>hE,_shaderssceneModeColumbusView:()=>fE,_shaderssceneModeMorphing:()=>pE,_shadersshadowDepthCompare:()=>BZ,_shadersshadowParameters:()=>EE,_shadersshadowVisibility:()=>OZ,_shaderssignNotZero:()=>YZ,_shaderssolarRadius:()=>bE,_shaderssphericalHarmonics:()=>zZ,_shaderssrgbToLinear:()=>HZ,_shaderstangentToEyeSpaceMatrix:()=>KZ,_shaderstextureCube:()=>JZ,_shadersthreePiOver2:()=>gE,_shaderstransformPlane:()=>QZ,_shaderstranslateRelativeToEye:()=>jZ,_shaderstranslucentPhong:()=>qZ,_shaderstranspose:()=>$Z,_shaderstwoPi:()=>yE,_shadersunpackClippingExtents:()=>eG,_shadersunpackDepth:()=>tG,_shadersunpackFloat:()=>nG,_shadersunpackUint:()=>iG,_shadersvalueTransform:()=>oG,_shadersvertexLogDepth:()=>rG,_shaderswebMercatorMaxLatitude:()=>xE,_shaderswindowToEyeCoordinates:()=>sG,_shaderswriteDepthClamp:()=>aG,_shaderswriteLogDepth:()=>cG,_shaderswriteNonPerspective:()=>lG,addBuffer:()=>aI,addDefaults:()=>$A,addExtensionsRequired:()=>oI,addExtensionsUsed:()=>Iu,addPipelineExtras:()=>pg,addToArray:()=>As,appendForwardSlash:()=>aR,arrayRemoveDuplicates:()=>go,barycentricCoordinates:()=>bx,binarySearch:()=>Eo,buildModuleUrl:()=>Kt,buildVoxelDrawCommands:()=>lM,clone:()=>De,combine:()=>pt,computeFlyToLocationForRectangle:()=>wT,createBillboardPointCallback:()=>P_,createCommand:()=>yn,createDefaultImageryProviderViewModels:()=>F9,createDefaultTerrainProviderViewModels:()=>M9,createElevationBandMaterial:()=>hq,createGooglePhotorealistic3DTileset:()=>fq,createGuid:()=>Nn,createMaterialPropertyDescriptor:()=>Zo,createOsmBuildingsAsync:()=>pq,createPropertyDescriptor:()=>ue,createRawPropertyDescriptor:()=>Bc,createTangentSpaceDebugPrimitive:()=>bq,createTaskProcessorWorker:()=>Tq,createUniform:()=>_R,createUniformArray:()=>TR,createWorldBathymetryAsync:()=>jM,createWorldImageryAsync:()=>g0,createWorldTerrainAsync:()=>ES,decodeGoogleEarthEnterpriseData:()=>qM,decodeVectorPolylinePositions:()=>mP,defaultValue:()=>S6,defer:()=>Tl,defined:()=>l,demodernizeShader:()=>dG,deprecationWarning:()=>Gs,destroyObject:()=>he,exportKml:()=>xj,findAccessorMinMax:()=>h_,findContentMetadata:()=>k_,findGroupMetadata:()=>D_,findTileMetadata:()=>bP,forEachTextureInMaterial:()=>PC,formatError:()=>tp,freezeRenderState:()=>JY,getAbsoluteUri:()=>of,getAccessorByteStride:()=>Xl,getBaseUri:()=>cR,getBinaryAccessor:()=>xd,getClipAndStyleCode:()=>PM,getClippingFunction:()=>h0,getComponentReader:()=>sb,getElement:()=>Vn,getExtensionFromUri:()=>rx,getFilenameFromUri:()=>zb,getImageFromTypedArray:()=>dM,getImagePixels:()=>Zm,getJsonFromTypedArray:()=>Ko,getMagic:()=>Km,getMetadataClassProperty:()=>yM,getMetadataProperty:()=>_M,getStringFromTypedArray:()=>Gl,getTimestamp:()=>gi,hasExtension:()=>ti,heightReferenceOnEntityPropertyChanged:()=>Kp,isBitSet:()=>Gc,isBlobUri:()=>sx,isCrossOriginUrl:()=>Gm,isDataUri:()=>Rp,isLeapYear:()=>Em,knockout:()=>Se,knockout_3_5_1:()=>wS,knockout_es5:()=>R9,loadAndExecuteScript:()=>ax,loadCubeMap:()=>SG,loadImageFromTypedArray:()=>d_,loadKTX2:()=>Cl,mergeSort:()=>x0,moveTechniqueRenderStates:()=>iI,moveTechniquesToExtension:()=>rI,numberOfComponentsForType:()=>Td,objectToQuery:()=>cx,oneTimeWarning:()=>ht,parseBatchTable:()=>bb,parseFeatureMetadataLegacy:()=>FI,parseGlb:()=>tI,parseResponseHeaders:()=>lR,parseStructuralMetadata:()=>wI,pickModel:()=>m1,pointInsideTriangle:()=>C6,preprocess3DTileContent:()=>Xb,processVoxelProperties:()=>cM,queryToObject:()=>ld,readAccessorPacked:()=>cI,removeExtension:()=>f_,removeExtensionsRequired:()=>eI,removeExtensionsUsed:()=>m_,removePipelineExtras:()=>nI,removeUnusedElements:()=>sI,resizeImageToNextPowerOfTwo:()=>yg,sampleTerrain:()=>Ov,sampleTerrainMostDetailed:()=>vT,scaleToGeodeticSurface:()=>ox,srgbToLinear:()=>ZS,subdivideArray:()=>rA,subscribeAndEvaluate:()=>Ea,updateAccessorComponentTypes:()=>lI,updateVersion:()=>dI,usesExtension:()=>ar,viewerCesium3DTilesInspectorMixin:()=>Bq,viewerCesiumInspectorMixin:()=>Oq,viewerDragDropMixin:()=>zq,viewerPerformanceWatchdogMixin:()=>Hq,viewerVoxelInspectorMixin:()=>Kq,webGLConstantToGlslType:()=>V6,wrapFunction:()=>$M,writeTextToCanvas:()=>w_});var VWo=x(_(),1);var Dso=x(_(),1);var LEt=x(_(),1);var JRt=x(_(),1);var DRt=x(_(),1);var PRt=x(_(),1);function lVe(e){return e!=null}var l=lVe;var FRt=x(_(),1);function nx(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(nx.prototype=Object.create(Error.prototype),nx.prototype.constructor=nx);nx.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
|
|
72
|
+
`),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}};z1e.exports=kq});var GRt={};aVe(GRt,{AlphaMode:()=>Rf,AlphaPipelineStage:()=>wX,AnchorPointDirect:()=>kI,AnchorPointIndirect:()=>DI,Animation:()=>W9,AnimationViewModel:()=>P9,Appearance:()=>Qi,ApproximateTerrainHeights:()=>ai,ArcGISTiledElevationTerrainProvider:()=>W7,ArcGisBaseMapType:()=>Uh,ArcGisMapServerImageryProvider:()=>f0,ArcGisMapService:()=>Kd,ArcType:()=>Qt,ArticulationStageType:()=>fc,AssociativeArray:()=>_t,Atmosphere:()=>V_,AtmospherePipelineStage:()=>bX,AttributeCompression:()=>Zn,AttributeType:()=>qt,AutoExposure:()=>AF,AutomaticUniforms:()=>Cp,Axis:()=>Go,AxisAlignedBoundingBox:()=>$0,B3dmLoader:()=>eX,B3dmParser:()=>jI,BaseLayerPicker:()=>w9,BaseLayerPickerViewModel:()=>v9,BatchTable:()=>Xx,BatchTableHierarchy:()=>t_,BatchTexture:()=>jc,BatchTexturePipelineStage:()=>FX,Billboard:()=>no,BillboardCollection:()=>Ed,BillboardGraphics:()=>rc,BillboardLoadState:()=>is,BillboardTexture:()=>Cb,BillboardVisualizer:()=>VG,BingMapsGeocoderService:()=>v7,BingMapsImageryProvider:()=>Qv,BingMapsStyle:()=>qV,BlendEquation:()=>wa,BlendFunction:()=>xo,BlendOption:()=>To,BlendingState:()=>on,BoundingRectangle:()=>Oe,BoundingSphere:()=>de,BoundingSphereState:()=>ot,BoundingVolumeSemantics:()=>x_,BoxEmitter:()=>R6,BoxGeometry:()=>Pa,BoxGeometryUpdater:()=>wA,BoxGraphics:()=>kx,BoxOutlineGeometry:()=>Mm,BrdfLutGenerator:()=>Gw,Buffer:()=>mt,BufferLoader:()=>a_,BufferUsage:()=>we,CPUStylingPipelineStage:()=>DX,CallbackPositionProperty:()=>FA,CallbackProperty:()=>Om,Camera:()=>qi,CameraEventAggregator:()=>FF,CameraEventType:()=>Wi,CameraFlightPath:()=>Iw,Cartesian2:()=>D,Cartesian3:()=>m,Cartesian4:()=>ae,Cartographic:()=>fe,CartographicGeocoderService:()=>F7,CatmullRomSpline:()=>M7,Cesium3DContentGroup:()=>e_,Cesium3DTile:()=>zu,Cesium3DTileBatchTable:()=>jp,Cesium3DTileColorBlendMode:()=>Al,Cesium3DTileContent:()=>E6,Cesium3DTileContentFactory:()=>N_,Cesium3DTileContentState:()=>Mo,Cesium3DTileContentType:()=>Xs,Cesium3DTileFeature:()=>Hs,Cesium3DTileFeatureTable:()=>rh,Cesium3DTileOptimizationHint:()=>Du,Cesium3DTileOptimizations:()=>CP,Cesium3DTilePass:()=>Io,Cesium3DTilePassState:()=>pm,Cesium3DTilePointFeature:()=>Vb,Cesium3DTileRefine:()=>wo,Cesium3DTileStyle:()=>GS,Cesium3DTileStyleEngine:()=>GP,Cesium3DTilesInspector:()=>U9,Cesium3DTilesInspectorViewModel:()=>D9,Cesium3DTilesVoxelProvider:()=>Z6,Cesium3DTileset:()=>ys,Cesium3DTilesetBaseTraversal:()=>vP,Cesium3DTilesetCache:()=>RP,Cesium3DTilesetGraphics:()=>Hx,Cesium3DTilesetHeatmap:()=>EP,Cesium3DTilesetMetadata:()=>J_,Cesium3DTilesetMostDetailedTraversal:()=>XP,Cesium3DTilesetSkipTraversal:()=>MP,Cesium3DTilesetStatistics:()=>bh,Cesium3DTilesetTraversal:()=>$s,Cesium3DTilesetVisualizer:()=>NP,CesiumInspector:()=>Y9,CesiumInspectorViewModel:()=>O9,CesiumTerrainProvider:()=>SS,CesiumWidget:()=>MM,Check:()=>po,CheckerboardMaterialProperty:()=>A1,CircleEmitter:()=>o9,CircleGeometry:()=>O7,CircleOutlineGeometry:()=>Y7,ClassificationModelDrawCommand:()=>WW,ClassificationPipelineStage:()=>MX,ClassificationPrimitive:()=>gC,ClassificationType:()=>Pn,ClearCommand:()=>jn,ClippingPlane:()=>__,ClippingPlaneCollection:()=>bs,ClippingPolygon:()=>zC,ClippingPolygonCollection:()=>eh,Clock:()=>Th,ClockRange:()=>Yr,ClockStep:()=>uo,ClockViewModel:()=>G9,CloudCollection:()=>P6,CloudType:()=>HL,Color:()=>U,ColorBlendMode:()=>hc,ColorGeometryInstanceAttribute:()=>Nt,ColorMaterialProperty:()=>Mt,Command:()=>Vq,ComponentDatatype:()=>Q,Composite3DTileContent:()=>zA,CompositeEntityCollection:()=>qK,CompositeMaterialProperty:()=>X1,CompositePositionProperty:()=>xa,CompositeProperty:()=>xc,CompressedTextureBuffer:()=>VR,ComputeCommand:()=>Pc,ComputeEngine:()=>CR,ConditionsExpression:()=>e9,ConeEmitter:()=>w6,ConstantPositionProperty:()=>Uc,ConstantProperty:()=>Yn,ConstantSpline:()=>oX,ContentMetadata:()=>fP,Context:()=>bG,ContextLimits:()=>Pt,CoplanarPolygonGeometry:()=>C2,CoplanarPolygonGeometryLibrary:()=>Wb,CoplanarPolygonOutlineGeometry:()=>Yu,CornerType:()=>Gi,CorrelationGroup:()=>UI,CorridorGeometry:()=>tT,CorridorGeometryLibrary:()=>Ni,CorridorGeometryUpdater:()=>KP,CorridorGraphics:()=>Ux,CorridorOutlineGeometry:()=>HP,Credit:()=>bt,CreditDisplay:()=>vw,CubeMap:()=>_r,CubeMapFace:()=>PR,CubicRealPolynomial:()=>gx,CullFace:()=>bi,CullingVolume:()=>ps,CumulusCloud:()=>au,CustomDataSource:()=>e2,CustomHeightmapTerrainProvider:()=>z7,CustomShader:()=>dS,CustomShaderMode:()=>_b,CustomShaderPipelineStage:()=>KX,CustomShaderTranslucencyMode:()=>vg,CylinderGeometry:()=>t2,CylinderGeometryLibrary:()=>nT,CylinderGeometryUpdater:()=>i2,CylinderGraphics:()=>Bx,CylinderOutlineGeometry:()=>n2,CzmlDataSource:()=>h2,DataSource:()=>Or,DataSourceClock:()=>Sh,DataSourceCollection:()=>f2,DataSourceDisplay:()=>q2,DebugAppearance:()=>F6,DebugCameraPrimitive:()=>ap,DebugInspector:()=>YF,DebugModelMatrixPrimitive:()=>s9,DefaultProxy:()=>H7,DepthFunction:()=>sc,DepthPlane:()=>Bw,DequantizationPipelineStage:()=>QX,DerivedCommand:()=>cp,DeveloperError:()=>pe,DeviceOrientationCameraController:()=>Ow,DirectionalLight:()=>M6,DiscardEmptyTileImagePolicy:()=>$V,DiscardMissingTileImagePolicy:()=>Kv,DistanceDisplayCondition:()=>Zt,DistanceDisplayConditionGeometryInstanceAttribute:()=>Wn,DoubleEndedPriorityQueue:()=>fS,DoublyLinkedList:()=>LP,DracoLoader:()=>ob,DrawCommand:()=>He,DynamicAtmosphereLightingType:()=>lb,DynamicEnvironmentMapManager:()=>db,DynamicGeometryBatch:()=>lT,DynamicGeometryUpdater:()=>$n,EarthOrientationParameters:()=>pR,EarthOrientationParametersSample:()=>N0,EasingFunction:()=>Hr,EllipseGeometry:()=>cl,EllipseGeometryLibrary:()=>Bl,EllipseGeometryUpdater:()=>b2,EllipseGraphics:()=>Ox,EllipseOutlineGeometry:()=>Md,Ellipsoid:()=>ne,EllipsoidGeodesic:()=>kp,EllipsoidGeometry:()=>ta,EllipsoidGeometryUpdater:()=>y2,EllipsoidGraphics:()=>Yx,EllipsoidOutlineGeometry:()=>Ad,EllipsoidPrimitive:()=>Cw,EllipsoidRhumbLine:()=>Fa,EllipsoidSurfaceAppearance:()=>N6,EllipsoidTangentPlane:()=>jr,EllipsoidTerrainProvider:()=>ip,EllipsoidalOccluder:()=>Ob,Empty3DTileContent:()=>g1,EncodedCartesian3:()=>Fn,Entity:()=>Ho,EntityCluster:()=>Xd,EntityCollection:()=>ea,EntityView:()=>ev,Event:()=>be,EventHelper:()=>dr,Expression:()=>Gu,ExpressionNodeType:()=>ct,ExtrapolationType:()=>Pd,FeatureDetection:()=>wt,FeatureIdPipelineStage:()=>Pg,Fog:()=>Yw,ForEach:()=>Ae,FrameRateMonitor:()=>l9,FrameState:()=>zw,Framebuffer:()=>Wr,FramebufferManager:()=>mi,Frozen:()=>Y,FrustumCommands:()=>jw,FrustumGeometry:()=>BT,FrustumOutlineGeometry:()=>Mw,Fullscreen:()=>gr,FullscreenButton:()=>J9,FullscreenButtonViewModel:()=>K9,GeoJsonDataSource:()=>hy,GeoJsonLoader:()=>tX,GeocodeType:()=>Yy,Geocoder:()=>$9,GeocoderService:()=>UL,GeocoderViewModel:()=>q9,GeographicProjection:()=>Li,GeographicTilingScheme:()=>Oi,Geometry:()=>it,Geometry3DTileContent:()=>JA,GeometryAttribute:()=>Re,GeometryAttributes:()=>rn,GeometryFactory:()=>K7,GeometryInstance:()=>Tt,GeometryInstanceAttribute:()=>ac,GeometryOffsetAttribute:()=>$t,GeometryPipeline:()=>Gn,GeometryPipelineStage:()=>eW,GeometryType:()=>bu,GeometryUpdater:()=>ei,GeometryUpdaterSet:()=>_T,GeometryVisualizer:()=>k2,GetFeatureInfoFormat:()=>NT,Globe:()=>xw,GlobeDepth:()=>qw,GlobeSurfaceShaderSet:()=>Hv,GlobeSurfaceTile:()=>mm,GlobeSurfaceTileProvider:()=>lw,GlobeTranslucency:()=>dw,GlobeTranslucencyFramebuffer:()=>$w,GlobeTranslucencyState:()=>Hw,GltfBufferViewLoader:()=>AC,GltfDracoLoader:()=>IC,GltfGpmLoader:()=>OI,GltfGpmLocal:()=>KC,GltfImageLoader:()=>XC,GltfIndexBufferLoader:()=>WC,GltfJsonLoader:()=>vC,GltfLoader:()=>oh,GltfLoaderUtil:()=>Wl,GltfMeshPrimitiveGpmLoader:()=>KI,GltfStructuralMetadataLoader:()=>MI,GltfTextureLoader:()=>wC,GltfVertexBufferLoader:()=>FC,GoogleEarthEnterpriseImageryProvider:()=>D6,GoogleEarthEnterpriseMapsProvider:()=>$v,GoogleEarthEnterpriseMetadata:()=>X0,GoogleEarthEnterpriseTerrainData:()=>BL,GoogleEarthEnterpriseTerrainProvider:()=>n6,GoogleEarthEnterpriseTileInformation:()=>HM,GoogleGeocoderService:()=>o6,GoogleMaps:()=>VS,GpxDataSource:()=>sv,GregorianDate:()=>Lp,GridImageryProvider:()=>U6,GridMaterialProperty:()=>U1,GroundGeometryUpdater:()=>Mn,GroundPolylineGeometry:()=>wx,GroundPolylinePrimitive:()=>Nm,GroundPrimitive:()=>kc,GroupMetadata:()=>E1,HeadingPitchRange:()=>im,HeadingPitchRoll:()=>Ia,Heap:()=>uR,HeightReference:()=>Ye,HeightmapEncoding:()=>lm,HeightmapTerrainData:()=>Oa,HeightmapTessellator:()=>HV,HermitePolynomialApproximation:()=>o2,HermiteSpline:()=>Ig,HilbertOrder:()=>RC,HomeButton:()=>H9,HomeButtonViewModel:()=>z9,HorizontalOrigin:()=>pi,I3SBuildingSceneLayerExplorer:()=>Pq,I3SBuildingSceneLayerExplorerViewModel:()=>eN,I3SDataProvider:()=>ef,I3SDecoder:()=>d9,I3SFeature:()=>u9,I3SField:()=>m9,I3SGeometry:()=>KL,I3SLayer:()=>PS,I3SNode:()=>JL,I3SStatistics:()=>p9,I3SSublayer:()=>g9,I3SSymbology:()=>f9,I3dmLoader:()=>iX,I3dmParser:()=>nX,ITwinData:()=>z6,ITwinPlatform:()=>Ds,Iau2000Orientation:()=>Tw,Iau2006XysData:()=>bR,Iau2006XysSample:()=>hx,IauOrientationAxes:()=>Sw,IauOrientationParameters:()=>_w,ImageBasedLighting:()=>$x,ImageBasedLightingPipelineStage:()=>yX,ImageMaterialProperty:()=>ig,Imagery:()=>rL,ImageryLayer:()=>za,ImageryLayerCollection:()=>uw,ImageryLayerFeatureInfo:()=>Dh,ImageryProvider:()=>ml,ImageryState:()=>ri,Implicit3DTileContent:()=>kC,ImplicitAvailabilityBitstream:()=>ZC,ImplicitMetadataView:()=>GC,ImplicitSubdivisionScheme:()=>es,ImplicitSubtree:()=>g_,ImplicitSubtreeCache:()=>n9,ImplicitSubtreeMetadata:()=>QA,ImplicitTileCoordinates:()=>q_,ImplicitTileset:()=>j_,IndexDatatype:()=>ve,InfoBox:()=>j9,InfoBoxViewModel:()=>Q9,InspectorShared:()=>Ja,InstanceAttributeSemantic:()=>ns,InstancingPipelineStage:()=>XX,InterpolationAlgorithm:()=>r6,InterpolationType:()=>nh,Intersect:()=>kt,IntersectionTests:()=>Kn,Intersections2D:()=>A0,Interval:()=>Wa,InvertClassification:()=>yL,Ion:()=>Hm,IonGeocodeProviderType:()=>W0,IonGeocoderService:()=>LS,IonImageryProvider:()=>p0,IonResource:()=>yd,IonWorldImageryStyle:()=>b0,Iso8601:()=>ke,JobScheduler:()=>Kw,JobType:()=>ka,JsonMetadataTable:()=>ub,JulianDate:()=>j,KTX2Transcoder:()=>LR,KeyboardEventModifier:()=>aa,KeyframeNode:()=>ho,KmlCamera:()=>av,KmlDataSource:()=>IT,KmlLookAt:()=>wv,KmlTour:()=>Fv,KmlTourFlyTo:()=>Nv,KmlTourWait:()=>kv,Label:()=>kg,LabelCollection:()=>Xf,LabelGraphics:()=>Dm,LabelStyle:()=>Fo,LabelVisualizer:()=>D2,LagrangePolynomialApproximation:()=>r2,LeapSecond:()=>Ui,Light:()=>H6,LightingModel:()=>Gf,LightingPipelineStage:()=>nW,LinearApproximation:()=>oT,LinearSpline:()=>Ag,ManagedArray:()=>Qc,MapMode2D:()=>jl,MapProjection:()=>c6,MapboxImageryProvider:()=>ew,MapboxStyleImageryProvider:()=>K6,Material:()=>Bi,MaterialAppearance:()=>eo,MaterialPipelineStage:()=>oW,MaterialProperty:()=>zo,Math:()=>A,Matrix2:()=>Ri,Matrix3:()=>q,Matrix4:()=>P,Megatexture:()=>EL,MeshPrimitiveGpmLocal:()=>HI,MetadataClass:()=>jm,MetadataClassProperty:()=>Cf,MetadataComponentType:()=>Gt,MetadataEntity:()=>Xn,MetadataEnum:()=>bI,MetadataEnumValue:()=>pI,MetadataPicking:()=>Jw,MetadataPickingPipelineStage:()=>Vd,MetadataPipelineStage:()=>Pu,MetadataSchema:()=>Sd,MetadataSchemaLoader:()=>MC,MetadataSemantic:()=>y_,MetadataTable:()=>Au,MetadataTableProperty:()=>qA,MetadataType:()=>nt,MipmapHint:()=>ff,Model:()=>ch,Model3DTileContent:()=>Rd,ModelAlphaOptions:()=>SW,ModelAnimation:()=>cX,ModelAnimationChannel:()=>aX,ModelAnimationCollection:()=>lX,ModelAnimationLoop:()=>vl,ModelAnimationState:()=>sh,ModelArticulation:()=>_X,ModelArticulationStage:()=>xX,ModelClippingPlanesPipelineStage:()=>CX,ModelClippingPolygonsPipelineStage:()=>RX,ModelColorPipelineStage:()=>Wg,ModelComponents:()=>fn,ModelDrawCommand:()=>PW,ModelDrawCommands:()=>FW,ModelFeature:()=>dX,ModelFeatureTable:()=>mX,ModelGraphics:()=>Yp,ModelLightingOptions:()=>AW,ModelMatrixUpdateStage:()=>WX,ModelNode:()=>EX,ModelRenderResources:()=>CW,ModelRuntimeNode:()=>vX,ModelRuntimePrimitive:()=>_W,ModelSceneGraph:()=>MW,ModelSilhouettePipelineStage:()=>RW,ModelSkin:()=>TW,ModelSplitterPipelineStage:()=>ZW,ModelStatistics:()=>NW,ModelType:()=>cr,ModelUtility:()=>Yt,ModelVisualizer:()=>U2,Moon:()=>Lw,MorphTargetsPipelineStage:()=>sW,MorphWeightSpline:()=>l6,MortonOrder:()=>zg,Multiple3DTileContent:()=>gP,MultisampleFramebuffer:()=>gG,NavigationHelpButton:()=>oN,NavigationHelpButtonViewModel:()=>iN,NearFarScalar:()=>vt,NeverTileDiscardPolicy:()=>Q6,NodeRenderResources:()=>GW,NodeStatisticsPipelineStage:()=>PX,NodeTransformationProperty:()=>zx,OIT:()=>tF,Occluder:()=>Rw,OffsetGeometryInstanceAttribute:()=>Hi,OpenCageGeocoderService:()=>u6,OpenStreetMapImageryProvider:()=>v0,OrderedGroundPrimitiveCollection:()=>p2,OrientedBoundingBox:()=>Sn,OrthographicFrustum:()=>tn,OrthographicOffCenterFrustum:()=>Pr,Packable:()=>m6,PackableForInterpolation:()=>h6,Particle:()=>qL,ParticleBurst:()=>q6,ParticleEmitter:()=>$6,ParticleSystem:()=>eq,Pass:()=>Ee,PassState:()=>oc,PathGraphics:()=>zp,PathVisualizer:()=>O2,PeliasGeocoderService:()=>JM,PerInstanceColorAppearance:()=>nn,PerformanceDisplay:()=>_0,PerformanceWatchdog:()=>nN,PerformanceWatchdogViewModel:()=>tN,PerspectiveFrustum:()=>Ci,PerspectiveOffCenterFrustum:()=>hl,PickDepth:()=>Qw,PickDepthFramebuffer:()=>iF,PickFramebuffer:()=>rF,PickedMetadataInfo:()=>xM,Picking:()=>dF,PickingPipelineStage:()=>aW,PinBuilder:()=>r0,PixelDatatype:()=>ze,PixelFormat:()=>je,Plane:()=>en,PlaneGeometry:()=>x2,PlaneGeometryUpdater:()=>T2,PlaneGraphics:()=>GA,PlaneOutlineGeometry:()=>_2,PntsLoader:()=>DW,PntsParser:()=>X_,PointCloud:()=>wM,PointCloudEyeDomeLighting:()=>hb,PointCloudShading:()=>Zf,PointCloudStylingPipelineStage:()=>lW,PointGraphics:()=>Kx,PointPrimitive:()=>Ps,PointPrimitiveCollection:()=>F1,PointVisualizer:()=>z2,PolygonGeometry:()=>cb,PolygonGeometryLibrary:()=>wn,PolygonGeometryUpdater:()=>L2,PolygonGraphics:()=>Um,PolygonHierarchy:()=>Ma,PolygonOutlineGeometry:()=>V2,PolygonPipeline:()=>ii,Polyline:()=>Mu,PolylineArrowMaterialProperty:()=>O1,PolylineCollection:()=>uh,PolylineColorAppearance:()=>qr,PolylineDashMaterialProperty:()=>z1,PolylineGeometry:()=>o0,PolylineGeometryUpdater:()=>J2,PolylineGlowMaterialProperty:()=>K1,PolylineGraphics:()=>cc,PolylineMaterialAppearance:()=>fa,PolylineOutlineMaterialProperty:()=>ey,PolylinePipeline:()=>Zi,PolylineVisualizer:()=>j2,PolylineVolumeGeometry:()=>Z2,PolylineVolumeGeometryLibrary:()=>gh,PolylineVolumeGeometryUpdater:()=>X2,PolylineVolumeGraphics:()=>Jx,PolylineVolumeOutlineGeometry:()=>I2,PositionProperty:()=>km,PositionPropertyArray:()=>Kb,PostProcessStage:()=>so,PostProcessStageCollection:()=>WF,PostProcessStageComposite:()=>$l,PostProcessStageLibrary:()=>qd,PostProcessStageSampleMode:()=>jd,PostProcessStageTextureCache:()=>tS,PpeMetadata:()=>zI,PpeSource:()=>_q,PpeTexture:()=>YI,Primitive:()=>Cn,PrimitiveCollection:()=>al,PrimitiveLoadPlan:()=>E_,PrimitiveOutlineGenerator:()=>R_,PrimitiveOutlinePipelineStage:()=>mW,PrimitivePipeline:()=>Wx,PrimitiveRenderResources:()=>IW,PrimitiveState:()=>Cr,PrimitiveStatisticsPipelineStage:()=>hW,PrimitiveType:()=>Pe,ProjectionPicker:()=>sN,ProjectionPickerViewModel:()=>rN,Property:()=>K,PropertyArray:()=>Q1,PropertyAttribute:()=>L_,PropertyAttributeProperty:()=>PI,PropertyBag:()=>Oc,PropertyTable:()=>$c,PropertyTexture:()=>mb,PropertyTextureProperty:()=>WI,ProviderViewModel:()=>ls,Proxy:()=>f6,QuadraticRealPolynomial:()=>vc,QuadtreeOccluders:()=>mw,QuadtreePrimitive:()=>yw,QuadtreeTile:()=>hw,QuadtreeTileLoadState:()=>ia,QuadtreeTileProvider:()=>tq,QuantizedMeshTerrainData:()=>TS,QuarticRealPolynomial:()=>ZR,Quaternion:()=>Xe,QuaternionSpline:()=>sX,Queue:()=>Cg,Ray:()=>ln,Rectangle:()=>le,RectangleCollisionChecker:()=>ST,RectangleGeometry:()=>fT,RectangleGeometryLibrary:()=>Ws,RectangleGeometryUpdater:()=>W2,RectangleGraphics:()=>Bm,RectangleOutlineGeometry:()=>U_,ReferenceFrame:()=>wi,ReferenceProperty:()=>Jb,RenderState:()=>Me,Renderbuffer:()=>md,RenderbufferFormat:()=>Fc,Request:()=>Uo,RequestErrorEvent:()=>sf,RequestScheduler:()=>tc,RequestState:()=>Hn,RequestType:()=>ms,Resource:()=>Le,ResourceCache:()=>Ti,ResourceCacheKey:()=>Pl,ResourceCacheStatistics:()=>xI,ResourceLoader:()=>Yi,ResourceLoaderState:()=>lt,Rotation:()=>Qu,RuntimeError:()=>ce,S2Cell:()=>eb,SDFSettings:()=>js,SampledPositionProperty:()=>Ta,SampledProperty:()=>wd,Sampler:()=>Ht,ScaledPositionProperty:()=>Uf,Scene:()=>TM,SceneFramebuffer:()=>KT,SceneMode:()=>re,SceneMode2DPipelineStage:()=>fW,SceneModePicker:()=>uN,SceneModePickerViewModel:()=>dN,SceneTransforms:()=>Fi,SceneTransitioner:()=>wF,ScreenSpaceCameraController:()=>kF,ScreenSpaceEventHandler:()=>eu,ScreenSpaceEventType:()=>pn,SelectedFeatureIdPipelineStage:()=>wg,SelectionIndicator:()=>yN,SelectionIndicatorViewModel:()=>gN,SensorVolumePortionToDisplay:()=>eV,ShaderBuilder:()=>Rx,ShaderCache:()=>uG,ShaderDestination:()=>ye,ShaderFunction:()=>_G,ShaderProgram:()=>Jt,ShaderSource:()=>Ne,ShaderStruct:()=>xG,ShadowMap:()=>C0,ShadowMapShader:()=>up,ShadowMode:()=>hn,ShadowVolumeAppearance:()=>pd,ShowGeometryInstanceAttribute:()=>mn,Simon1994PlanetaryPositions:()=>J0,SimplePolylineGeometry:()=>p6,SingleTileImageryProvider:()=>tw,SkinningPipelineStage:()=>bW,SkyAtmosphere:()=>VM,SkyBox:()=>EM,SpatialNode:()=>bM,Spdcf:()=>BI,SpecularEnvironmentCubeMap:()=>zm,SphereEmitter:()=>iq,SphereGeometry:()=>b6,SphereOutlineGeometry:()=>vb,Spherical:()=>s2,Spline:()=>ji,SplitDirection:()=>vr,Splitter:()=>XL,StaticGeometryColorBatch:()=>em,StaticGeometryPerMaterialBatch:()=>tm,StaticGroundGeometryColorBatch:()=>yV,StaticGroundGeometryPerMaterialBatch:()=>N2,StaticGroundPolylinePerMaterialBatch:()=>Q2,StaticOutlineGeometryBatch:()=>TV,StencilConstants:()=>Ft,StencilFunction:()=>vn,StencilOperation:()=>st,SteppedSpline:()=>rX,Stereographic:()=>mc,StorageType:()=>Rg,StripeMaterialProperty:()=>q1,StripeOrientation:()=>Ch,StructuralMetadata:()=>Js,StyleCommandsNeeded:()=>ah,StyleExpression:()=>oq,Sun:()=>WM,SunLight:()=>Pp,SunPostProcess:()=>BF,SupportedImageFormats:()=>NI,SvgPathBindingHandler:()=>E9,TaskProcessor:()=>Tn,Terrain:()=>T9,TerrainData:()=>kh,TerrainEncoding:()=>Vc,TerrainFillMesh:()=>lL,TerrainMesh:()=>um,TerrainOffsetProperty:()=>Qx,TerrainProvider:()=>rs,TerrainQuantization:()=>na,TerrainState:()=>ro,Texture:()=>Et,TextureAtlas:()=>Ex,TextureCache:()=>mG,TextureMagnificationFilter:()=>ui,TextureManager:()=>uM,TextureMinificationFilter:()=>zt,TexturePacker:()=>lC,TextureUniform:()=>yq,TextureWrap:()=>bn,TileAvailability:()=>ou,TileBoundingRegion:()=>Gd,TileBoundingS2Cell:()=>TP,TileBoundingSphere:()=>wb,TileBoundingVolume:()=>rq,TileCoordinatesImageryProvider:()=>C9,TileDiscardPolicy:()=>aq,TileEdge:()=>un,TileImagery:()=>sL,TileMapServiceImageryProvider:()=>Zy,TileMetadata:()=>pP,TileOrientedBoundingBox:()=>kl,TileProviderError:()=>Co,TileReplacementQueue:()=>fw,TileSelectionResult:()=>Bn,TileState:()=>cq,Tileset3DTileContent:()=>OW,TilesetMetadata:()=>SP,TilesetPipelineStage:()=>hX,TilingScheme:()=>g6,TimeConstants:()=>Un,TimeDynamicImagery:()=>kT,TimeDynamicPointCloud:()=>PL,TimeInterval:()=>gn,TimeIntervalCollection:()=>Br,TimeIntervalCollectionPositionProperty:()=>Qb,TimeIntervalCollectionProperty:()=>jb,TimeStandard:()=>kn,Timeline:()=>lN,TimelineHighlightRange:()=>aN,TimelineTrack:()=>cN,Tipsify:()=>GR,ToggleButtonViewModel:()=>jy,Tonemapper:()=>L0,TrackingReferenceFrame:()=>Np,Transforms:()=>Rt,TranslationRotationScale:()=>og,TranslucentTileClassification:()=>aF,TridiagonalSystemSolver:()=>t1,TrustedServers:()=>jS,TweenCollection:()=>rS,UniformState:()=>pG,UniformType:()=>LL,UrlTemplateImageryProvider:()=>Ya,VERSION:()=>ZRt,VRButton:()=>hN,VRButtonViewModel:()=>mN,VRTheWorldTerrainProvider:()=>y6,VaryingType:()=>xq,Vector3DTileBatch:()=>Tf,Vector3DTileClampedPolylines:()=>uP,Vector3DTileContent:()=>hP,Vector3DTileGeometry:()=>$p,Vector3DTilePoints:()=>oP,Vector3DTilePolygons:()=>rP,Vector3DTilePolylines:()=>M_,Vector3DTilePrimitive:()=>o_,VelocityOrientationProperty:()=>c2,VelocityVectorProperty:()=>qb,VertexArray:()=>qn,VertexArrayFacade:()=>vp,VertexAttributeSemantic:()=>at,VertexFormat:()=>Ge,VerticalExaggeration:()=>Sr,VerticalExaggerationPipelineStage:()=>yW,VerticalOrigin:()=>An,VideoSynchronizer:()=>x6,View:()=>jT,Viewer:()=>Uq,ViewportQuad:()=>lq,Visibility:()=>fr,Visualizer:()=>fj,VoxelBoxShape:()=>pp,VoxelCell:()=>zF,VoxelContent:()=>uS,VoxelCylinderShape:()=>mS,VoxelEllipsoidShape:()=>hS,VoxelInspector:()=>pN,VoxelInspectorViewModel:()=>fN,VoxelMetadataOrder:()=>xm,VoxelPrimitive:()=>ky,VoxelProvider:()=>uq,VoxelRenderResources:()=>aM,VoxelShape:()=>mq,VoxelShapeType:()=>Pi,VoxelTraversal:()=>gM,VulkanConstants:()=>_6,WallGeometry:()=>v2,WallGeometryLibrary:()=>pT,WallGeometryUpdater:()=>M2,WallGraphics:()=>Hp,WallOutlineGeometry:()=>F2,WebGLConstants:()=>ie,WebMapServiceImageryProvider:()=>iw,WebMapTileServiceImageryProvider:()=>rw,WebMercatorProjection:()=>Ei,WebMercatorTilingScheme:()=>ss,WindingOrder:()=>hs,WireframeIndexGenerator:()=>l1,WireframePipelineStage:()=>xW,_shadersAcesTonemappingStage:()=>uF,_shadersAdditiveBlend:()=>DF,_shadersAdjustTranslucentFS:()=>xL,_shadersAllMaterialAppearanceFS:()=>EG,_shadersAllMaterialAppearanceVS:()=>ZG,_shadersAmbientOcclusionGenerate:()=>mF,_shadersAmbientOcclusionModulate:()=>hF,_shadersAspectRampMaterial:()=>WG,_shadersAtmosphereCommon:()=>th,_shadersAtmosphereStageFS:()=>fX,_shadersAtmosphereStageVS:()=>pX,_shadersBasicMaterialAppearanceFS:()=>GG,_shadersBasicMaterialAppearanceVS:()=>AG,_shadersBillboardCollectionFS:()=>YW,_shadersBillboardCollectionVS:()=>zW,_shadersBlackAndWhite:()=>fF,_shadersBloomComposite:()=>pF,_shadersBrdfLutGeneratorFS:()=>Ew,_shadersBrightPass:()=>UF,_shadersBrightness:()=>bF,_shadersBumpMapMaterial:()=>PG,_shadersCPUStylingStageFS:()=>kX,_shadersCPUStylingStageVS:()=>NX,_shadersCheckerboardMaterial:()=>vG,_shadersCloudCollectionFS:()=>NM,_shadersCloudCollectionVS:()=>kM,_shadersCloudNoiseFS:()=>DM,_shadersCloudNoiseVS:()=>UM,_shadersCompareAndPackTranslucentDepth:()=>sF,_shadersCompositeOITFS:()=>eF,_shadersCompositeTranslucentClassification:()=>QT,_shadersComputeIrradianceFS:()=>RI,_shadersComputeRadianceMapFS:()=>EI,_shadersContrastBias:()=>gF,_shadersConvolveSpecularMapFS:()=>ZI,_shadersConvolveSpecularMapVS:()=>GI,_shadersCustomShaderStageFS:()=>BX,_shadersCustomShaderStageVS:()=>UX,_shadersCzmBuiltins:()=>Cx,_shadersDepthOfField:()=>yF,_shadersDepthPlaneFS:()=>Nw,_shadersDepthPlaneVS:()=>kw,_shadersDepthView:()=>xF,_shadersDepthViewPacked:()=>gq,_shadersDotMaterial:()=>wG,_shadersEdgeDetection:()=>_F,_shadersElevationBandMaterial:()=>FG,_shadersElevationContourMaterial:()=>MG,_shadersElevationRampMaterial:()=>NG,_shadersEllipsoidFS:()=>uL,_shadersEllipsoidSurfaceAppearanceFS:()=>a9,_shadersEllipsoidSurfaceAppearanceVS:()=>c9,_shadersEllipsoidVS:()=>mL,_shadersFXAA:()=>CF,_shadersFXAA3_11:()=>GF,_shadersFadeMaterial:()=>kG,_shadersFeatureIdStageFS:()=>OX,_shadersFeatureIdStageVS:()=>YX,_shadersFilmicTonemapping:()=>TF,_shadersGaussianBlur1D:()=>wy,_shadersGeometryStageFS:()=>jX,_shadersGeometryStageVS:()=>qX,_shadersGlobeFS:()=>Yv,_shadersGlobeVS:()=>zv,_shadersGridMaterial:()=>DG,_shadersGroundAtmosphere:()=>JV,_shadersHSBToRGB:()=>ZE,_shadersHSLToRGB:()=>GE,_shadersImageBasedLightingStageFS:()=>gX,_shadersInstancingStageCommon:()=>ZX,_shadersInstancingStageVS:()=>GX,_shadersIntersectBox:()=>$F,_shadersIntersectClippingPlanes:()=>qF,_shadersIntersectCylinder:()=>eM,_shadersIntersectDepth:()=>jF,_shadersIntersectEllipsoid:()=>tM,_shadersIntersectLongitude:()=>VL,_shadersIntersection:()=>cS,_shadersIntersectionUtils:()=>QF,_shadersLegacyInstancingStageVS:()=>AX,_shadersLensFlare:()=>VF,_shadersLightingStageFS:()=>tW,_shadersMaterialStageFS:()=>iW,_shadersMegatexture:()=>sM,_shadersMetadataStageFS:()=>zX,_shadersMetadataStageVS:()=>HX,_shadersModelClippingPlanesStageFS:()=>SX,_shadersModelClippingPolygonsStageFS:()=>LX,_shadersModelClippingPolygonsStageVS:()=>VX,_shadersModelColorStageFS:()=>TX,_shadersModelFS:()=>wW,_shadersModelSilhouetteStageFS:()=>VW,_shadersModelSilhouetteStageVS:()=>LW,_shadersModelSplitterStageFS:()=>EW,_shadersModelVS:()=>vW,_shadersModifiedReinhardTonemapping:()=>LF,_shadersMorphTargetsStageVS:()=>rW,_shadersNightVision:()=>RF,_shadersNormalMapMaterial:()=>UG,_shadersOctree:()=>rM,_shadersPassThrough:()=>ql,_shadersPassThroughDepth:()=>Wy,_shadersPbrNeutralTonemapping:()=>SF,_shadersPerInstanceColorAppearanceFS:()=>$G,_shadersPerInstanceColorAppearanceVS:()=>eA,_shadersPerInstanceFlatColorAppearanceFS:()=>Ix,_shadersPerInstanceFlatColorAppearanceVS:()=>tA,_shadersPointCloudEyeDomeLighting:()=>JI,_shadersPointCloudStylingStageVS:()=>cW,_shadersPointPrimitiveCollectionFS:()=>$g,_shadersPointPrimitiveCollectionVS:()=>JP,_shadersPolygonSignedDistanceFS:()=>VI,_shadersPolylineArrowMaterial:()=>BG,_shadersPolylineColorAppearanceVS:()=>bA,_shadersPolylineCommon:()=>bd,_shadersPolylineDashMaterial:()=>OG,_shadersPolylineFS:()=>Mx,_shadersPolylineGlowMaterial:()=>YG,_shadersPolylineMaterialAppearanceVS:()=>gA,_shadersPolylineOutlineMaterial:()=>zG,_shadersPolylineShadowVolumeFS:()=>mA,_shadersPolylineShadowVolumeMorphFS:()=>hA,_shadersPolylineShadowVolumeMorphVS:()=>fA,_shadersPolylineShadowVolumeVS:()=>pA,_shadersPolylineVS:()=>qW,_shadersPrimitiveOutlineStageFS:()=>uW,_shadersPrimitiveOutlineStageVS:()=>dW,_shadersRGBToHSB:()=>AE,_shadersRGBToHSL:()=>IE,_shadersRGBToXYZ:()=>XE,_shadersReinhardTonemapping:()=>EF,_shadersReprojectWebMercatorFS:()=>sw,_shadersReprojectWebMercatorVS:()=>aw,_shadersRimLightingMaterial:()=>HG,_shadersSelectedFeatureIdStageCommon:()=>c1,_shadersShadowVolumeAppearanceFS:()=>pC,_shadersShadowVolumeAppearanceVS:()=>oA,_shadersShadowVolumeFS:()=>eg,_shadersSilhouette:()=>ZF,_shadersSkinningStageVS:()=>pW,_shadersSkyAtmosphereCommon:()=>ZL,_shadersSkyAtmosphereFS:()=>SM,_shadersSkyAtmosphereVS:()=>CM,_shadersSkyBoxFS:()=>LM,_shadersSkyBoxVS:()=>RM,_shadersSlopeRampMaterial:()=>KG,_shadersStripeMaterial:()=>JG,_shadersSunFS:()=>ZM,_shadersSunTextureFS:()=>GM,_shadersSunVS:()=>AM,_shadersTexturedMaterialAppearanceFS:()=>IG,_shadersTexturedMaterialAppearanceVS:()=>XG,_shadersVector3DTileClampedPolylinesFS:()=>lP,_shadersVector3DTileClampedPolylinesVS:()=>cP,_shadersVector3DTilePolylinesVS:()=>sP,_shadersVectorTileVS:()=>LC,_shadersVerticalExaggerationStageVS:()=>gW,_shadersViewportQuadFS:()=>BM,_shadersViewportQuadVS:()=>fx,_shadersVoxelFS:()=>KF,_shadersVoxelUtils:()=>HF,_shadersVoxelVS:()=>JF,_shadersWater:()=>jG,_shadersWaterMaskMaterial:()=>QG,_shadersXYZToRGB:()=>WE,_shadersacesTonemapping:()=>PE,_shadersalphaWeight:()=>vE,_shadersantialias:()=>wE,_shadersapplyHSBShift:()=>FE,_shadersapproximateSphericalCoordinates:()=>ME,_shadersapproximateTanh:()=>NE,_shadersbackFacing:()=>kE,_shadersbranchFreeTernary:()=>DE,_shaderscascadeColor:()=>UE,_shaderscascadeDistance:()=>BE,_shaderscascadeMatrix:()=>OE,_shaderscascadeWeights:()=>YE,_shadersclipPolygons:()=>zE,_shaderscolumbusViewMorph:()=>HE,_shaderscomputeAtmosphereColor:()=>KE,_shaderscomputeGroundAtmosphereScattering:()=>JE,_shaderscomputePosition:()=>QE,_shaderscomputeScattering:()=>jE,_shadersconvertUvToBox:()=>nM,_shadersconvertUvToCylinder:()=>iM,_shadersconvertUvToEllipsoid:()=>oM,_shaderscosineAndSine:()=>qE,_shadersdecompressTextureCoordinates:()=>$E,_shadersdegreesPerRadian:()=>wR,_shadersdepthClamp:()=>eZ,_shadersdepthRange:()=>FR,_shadersdepthRangeStruct:()=>_E,_shaderseastNorthUpToEyeCoordinates:()=>tZ,_shadersellipsoidContainsPoint:()=>nZ,_shadersellipsoidTextureCoordinates:()=>iZ,_shadersepsilon1:()=>MR,_shadersepsilon2:()=>NR,_shadersepsilon3:()=>kR,_shadersepsilon4:()=>DR,_shadersepsilon5:()=>UR,_shadersepsilon6:()=>BR,_shadersepsilon7:()=>OR,_shadersequalsEpsilon:()=>oZ,_shaderseyeOffset:()=>rZ,_shaderseyeToWindowCoordinates:()=>sZ,_shadersfastApproximateAtan:()=>aZ,_shadersfog:()=>cZ,_shadersgammaCorrect:()=>lZ,_shadersgeodeticSurfaceNormal:()=>dZ,_shadersgetDefaultMaterial:()=>uZ,_shadersgetDynamicAtmosphereLightDirection:()=>mZ,_shadersgetLambertDiffuse:()=>hZ,_shadersgetSpecular:()=>fZ,_shadersgetWaterNoise:()=>pZ,_shadershue:()=>bZ,_shadersinfinity:()=>YR,_shadersinverseGamma:()=>gZ,_shadersisEmpty:()=>yZ,_shadersisFull:()=>xZ,_shaderslatitudeToWebMercatorFraction:()=>_Z,_shaderslineDistance:()=>TZ,_shaderslinearToSrgb:()=>SZ,_shadersluminance:()=>CZ,_shadersmaterial:()=>TE,_shadersmaterialInput:()=>SE,_shadersmaximumComponent:()=>VZ,_shadersmetersPerPixel:()=>LZ,_shadersmodelMaterial:()=>CE,_shadersmodelToWindowCoordinates:()=>RZ,_shadersmodelVertexOutput:()=>VE,_shadersmultiplyWithColorBalance:()=>EZ,_shadersnearFarScalar:()=>ZZ,_shadersoctDecode:()=>GZ,_shadersoneOverPi:()=>zR,_shadersoneOverTwoPi:()=>HR,_shaderspackDepth:()=>AZ,_shaderspassCesium3DTile:()=>KR,_shaderspassCesium3DTileClassification:()=>JR,_shaderspassCesium3DTileClassificationIgnoreShow:()=>QR,_shaderspassClassification:()=>jR,_shaderspassCompute:()=>qR,_shaderspassEnvironment:()=>$R,_shaderspassGlobe:()=>eE,_shaderspassOpaque:()=>tE,_shaderspassOverlay:()=>nE,_shaderspassTerrainClassification:()=>iE,_shaderspassTranslucent:()=>oE,_shaderspassVoxels:()=>rE,_shaderspbrLighting:()=>IZ,_shaderspbrNeutralTonemapping:()=>XZ,_shadersphong:()=>WZ,_shaderspi:()=>sE,_shaderspiOverFour:()=>aE,_shaderspiOverSix:()=>cE,_shaderspiOverThree:()=>lE,_shaderspiOverTwo:()=>dE,_shadersplaneDistance:()=>PZ,_shaderspointAlongRay:()=>vZ,_shadersradiansPerDegree:()=>uE,_shadersray:()=>LE,_shadersrayEllipsoidIntersectionInterval:()=>wZ,_shadersraySegment:()=>RE,_shadersraySphereIntersectionInterval:()=>FZ,_shadersreadDepth:()=>MZ,_shadersreadNonPerspective:()=>NZ,_shadersreverseLogDepth:()=>kZ,_shadersround:()=>DZ,_shaderssaturation:()=>UZ,_shaderssceneMode2D:()=>mE,_shaderssceneMode3D:()=>hE,_shaderssceneModeColumbusView:()=>fE,_shaderssceneModeMorphing:()=>pE,_shadersshadowDepthCompare:()=>BZ,_shadersshadowParameters:()=>EE,_shadersshadowVisibility:()=>OZ,_shaderssignNotZero:()=>YZ,_shaderssolarRadius:()=>bE,_shaderssphericalHarmonics:()=>zZ,_shaderssrgbToLinear:()=>HZ,_shaderstangentToEyeSpaceMatrix:()=>KZ,_shaderstextureCube:()=>JZ,_shadersthreePiOver2:()=>gE,_shaderstransformPlane:()=>QZ,_shaderstranslateRelativeToEye:()=>jZ,_shaderstranslucentPhong:()=>qZ,_shaderstranspose:()=>$Z,_shaderstwoPi:()=>yE,_shadersunpackClippingExtents:()=>eG,_shadersunpackDepth:()=>tG,_shadersunpackFloat:()=>nG,_shadersunpackUint:()=>iG,_shadersvalueTransform:()=>oG,_shadersvertexLogDepth:()=>rG,_shaderswebMercatorMaxLatitude:()=>xE,_shaderswindowToEyeCoordinates:()=>sG,_shaderswriteDepthClamp:()=>aG,_shaderswriteLogDepth:()=>cG,_shaderswriteNonPerspective:()=>lG,addBuffer:()=>aI,addDefaults:()=>$A,addExtensionsRequired:()=>oI,addExtensionsUsed:()=>Iu,addPipelineExtras:()=>pg,addToArray:()=>As,appendForwardSlash:()=>aR,arrayRemoveDuplicates:()=>go,barycentricCoordinates:()=>bx,binarySearch:()=>Eo,buildModuleUrl:()=>Kt,buildVoxelDrawCommands:()=>lM,clone:()=>De,combine:()=>pt,computeFlyToLocationForRectangle:()=>wT,createBillboardPointCallback:()=>P_,createCommand:()=>yn,createDefaultImageryProviderViewModels:()=>F9,createDefaultTerrainProviderViewModels:()=>M9,createElevationBandMaterial:()=>hq,createGooglePhotorealistic3DTileset:()=>fq,createGuid:()=>Nn,createMaterialPropertyDescriptor:()=>Zo,createOsmBuildingsAsync:()=>pq,createPropertyDescriptor:()=>ue,createRawPropertyDescriptor:()=>Bc,createTangentSpaceDebugPrimitive:()=>bq,createTaskProcessorWorker:()=>Tq,createUniform:()=>_R,createUniformArray:()=>TR,createWorldBathymetryAsync:()=>jM,createWorldImageryAsync:()=>g0,createWorldTerrainAsync:()=>ES,decodeGoogleEarthEnterpriseData:()=>qM,decodeVectorPolylinePositions:()=>mP,defaultValue:()=>S6,defer:()=>Tl,defined:()=>l,demodernizeShader:()=>dG,deprecationWarning:()=>Gs,destroyObject:()=>he,exportKml:()=>xj,findAccessorMinMax:()=>h_,findContentMetadata:()=>k_,findGroupMetadata:()=>D_,findTileMetadata:()=>bP,forEachTextureInMaterial:()=>PC,formatError:()=>tp,freezeRenderState:()=>JY,getAbsoluteUri:()=>of,getAccessorByteStride:()=>Xl,getBaseUri:()=>cR,getBinaryAccessor:()=>xd,getClipAndStyleCode:()=>PM,getClippingFunction:()=>h0,getComponentReader:()=>sb,getElement:()=>Vn,getExtensionFromUri:()=>rx,getFilenameFromUri:()=>zb,getImageFromTypedArray:()=>dM,getImagePixels:()=>Zm,getJsonFromTypedArray:()=>Ko,getMagic:()=>Km,getMetadataClassProperty:()=>yM,getMetadataProperty:()=>_M,getStringFromTypedArray:()=>Gl,getTimestamp:()=>gi,hasExtension:()=>ti,heightReferenceOnEntityPropertyChanged:()=>Kp,isBitSet:()=>Gc,isBlobUri:()=>sx,isCrossOriginUrl:()=>Gm,isDataUri:()=>Rp,isLeapYear:()=>Em,knockout:()=>Se,knockout_3_5_1:()=>wS,knockout_es5:()=>R9,loadAndExecuteScript:()=>ax,loadCubeMap:()=>SG,loadImageFromTypedArray:()=>d_,loadKTX2:()=>Cl,mergeSort:()=>x0,moveTechniqueRenderStates:()=>iI,moveTechniquesToExtension:()=>rI,numberOfComponentsForType:()=>Td,objectToQuery:()=>cx,oneTimeWarning:()=>ht,parseBatchTable:()=>bb,parseFeatureMetadataLegacy:()=>FI,parseGlb:()=>tI,parseResponseHeaders:()=>lR,parseStructuralMetadata:()=>wI,pickModel:()=>m1,pointInsideTriangle:()=>C6,preprocess3DTileContent:()=>Xb,processVoxelProperties:()=>cM,queryToObject:()=>ld,readAccessorPacked:()=>cI,removeExtension:()=>f_,removeExtensionsRequired:()=>eI,removeExtensionsUsed:()=>m_,removePipelineExtras:()=>nI,removeUnusedElements:()=>sI,resizeImageToNextPowerOfTwo:()=>yg,sampleTerrain:()=>Ov,sampleTerrainMostDetailed:()=>vT,scaleToGeodeticSurface:()=>ox,srgbToLinear:()=>ZS,subdivideArray:()=>rA,subscribeAndEvaluate:()=>Ea,updateAccessorComponentTypes:()=>lI,updateVersion:()=>dI,usesExtension:()=>ar,viewerCesium3DTilesInspectorMixin:()=>Bq,viewerCesiumInspectorMixin:()=>Oq,viewerDragDropMixin:()=>zq,viewerPerformanceWatchdogMixin:()=>Hq,viewerVoxelInspectorMixin:()=>Kq,webGLConstantToGlslType:()=>V6,wrapFunction:()=>$M,writeTextToCanvas:()=>w_});var VWo=x(_(),1);var Dso=x(_(),1);var LEt=x(_(),1);var JRt=x(_(),1);var DRt=x(_(),1);var PRt=x(_(),1);function lVe(e){return e!=null}var l=lVe;var FRt=x(_(),1);function nx(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(nx.prototype=Object.create(Error.prototype),nx.prototype.constructor=nx);nx.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
|
|
73
73
|
${this.stack.toString()}`),e};nx.throwInstantiationError=function(){throw new nx("This function defines an interface and should not be called directly.")};var pe=nx;var Es={};Es.typeOf={};function dVe(e){return`${e} is required, actual value was undefined`}function DS(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}Es.defined=function(e,t){if(!l(t))throw new pe(dVe(e))};Es.typeOf.func=function(e,t){if(typeof t!="function")throw new pe(DS(typeof t,"function",e))};Es.typeOf.string=function(e,t){if(typeof t!="string")throw new pe(DS(typeof t,"string",e))};Es.typeOf.number=function(e,t){if(typeof t!="number")throw new pe(DS(typeof t,"number",e))};Es.typeOf.number.lessThan=function(e,t,n){if(Es.typeOf.number(e,t),t>=n)throw new pe(`Expected ${e} to be less than ${n}, actual value was ${t}`)};Es.typeOf.number.lessThanOrEquals=function(e,t,n){if(Es.typeOf.number(e,t),t>n)throw new pe(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)};Es.typeOf.number.greaterThan=function(e,t,n){if(Es.typeOf.number(e,t),t<=n)throw new pe(`Expected ${e} to be greater than ${n}, actual value was ${t}`)};Es.typeOf.number.greaterThanOrEquals=function(e,t,n){if(Es.typeOf.number(e,t),t<n)throw new pe(`Expected ${e} to be greater than or equal to ${n}, actual value was ${t}`)};Es.typeOf.object=function(e,t){if(typeof t!="object")throw new pe(DS(typeof t,"object",e))};Es.typeOf.bool=function(e,t){if(typeof t!="boolean")throw new pe(DS(typeof t,"boolean",e))};Es.typeOf.bigint=function(e,t){if(typeof t!="bigint")throw new pe(DS(typeof t,"bigint",e))};Es.typeOf.number.equals=function(e,t,n,i){if(Es.typeOf.number(e,n),Es.typeOf.number(t,i),n!==i)throw new pe(`${e} must be equal to ${t}, the actual values are ${n} and ${i}`)};var po=Es;var YRt=x(_(),1),rY=x(TN(),1);var tt={};tt.EPSILON1=.1;tt.EPSILON2=.01;tt.EPSILON3=.001;tt.EPSILON4=1e-4;tt.EPSILON5=1e-5;tt.EPSILON6=1e-6;tt.EPSILON7=1e-7;tt.EPSILON8=1e-8;tt.EPSILON9=1e-9;tt.EPSILON10=1e-10;tt.EPSILON11=1e-11;tt.EPSILON12=1e-12;tt.EPSILON13=1e-13;tt.EPSILON14=1e-14;tt.EPSILON15=1e-15;tt.EPSILON16=1e-16;tt.EPSILON17=1e-17;tt.EPSILON18=1e-18;tt.EPSILON19=1e-19;tt.EPSILON20=1e-20;tt.EPSILON21=1e-21;tt.GRAVITATIONALPARAMETER=3986004418e5;tt.SOLAR_RADIUS=6955e5;tt.LUNAR_RADIUS=1737400;tt.SIXTY_FOUR_KILOBYTES=64*1024;tt.FOUR_GIGABYTES=4*1024*1024*1024;tt.sign=Math.sign??function(t){return t=+t,t===0||t!==t?t:t>0?1:-1};tt.signNotZero=function(e){return e<0?-1:1};tt.toSNorm=function(e,t){return t=t??255,Math.round((tt.clamp(e,-1,1)*.5+.5)*t)};tt.fromSNorm=function(e,t){return t=t??255,tt.clamp(e,0,t)/t*2-1};tt.normalize=function(e,t,n){return n=Math.max(n-t,0),n===0?0:tt.clamp((e-t)/n,0,1)};tt.sinh=Math.sinh??function(t){return(Math.exp(t)-Math.exp(-t))/2};tt.cosh=Math.cosh??function(t){return(Math.exp(t)+Math.exp(-t))/2};tt.lerp=function(e,t,n){return(1-n)*e+n*t};tt.PI=Math.PI;tt.ONE_OVER_PI=1/Math.PI;tt.PI_OVER_TWO=Math.PI/2;tt.PI_OVER_THREE=Math.PI/3;tt.PI_OVER_FOUR=Math.PI/4;tt.PI_OVER_SIX=Math.PI/6;tt.THREE_PI_OVER_TWO=3*Math.PI/2;tt.TWO_PI=2*Math.PI;tt.ONE_OVER_TWO_PI=1/(2*Math.PI);tt.RADIANS_PER_DEGREE=Math.PI/180;tt.DEGREES_PER_RADIAN=180/Math.PI;tt.RADIANS_PER_ARCSECOND=tt.RADIANS_PER_DEGREE/3600;tt.toRadians=function(e){return e*tt.RADIANS_PER_DEGREE};tt.toDegrees=function(e){return e*tt.DEGREES_PER_RADIAN};tt.convertLongitudeRange=function(e){let t=tt.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n};tt.clampToLatitudeRange=function(e){return tt.clamp(e,-1*tt.PI_OVER_TWO,tt.PI_OVER_TWO)};tt.negativePiToPi=function(e){return e>=-tt.PI&&e<=tt.PI?e:tt.zeroToTwoPi(e+tt.PI)-tt.PI};tt.zeroToTwoPi=function(e){if(e>=0&&e<=tt.TWO_PI)return e;let t=tt.mod(e,tt.TWO_PI);return Math.abs(t)<tt.EPSILON14&&Math.abs(e)>tt.EPSILON14?tt.TWO_PI:t};tt.mod=function(e,t){return tt.sign(e)===tt.sign(t)&&Math.abs(e)<Math.abs(t)?e:(e%t+t)%t};tt.equalsEpsilon=function(e,t,n,i){n=n??0,i=i??n;let o=Math.abs(e-t);return o<=i||o<=n*Math.max(Math.abs(e),Math.abs(t))};tt.lessThan=function(e,t,n){return e-t<-n};tt.lessThanOrEquals=function(e,t,n){return e-t<n};tt.greaterThan=function(e,t,n){return e-t>n};tt.greaterThanOrEquals=function(e,t,n){return e-t>-n};var SN=[1];tt.factorial=function(e){let t=SN.length;if(e>=t){let n=SN[t-1];for(let i=t;i<=e;i++){let o=n*i;SN.push(o),n=o}}return SN[e]};tt.incrementWrap=function(e,t,n){return n=n??0,++e,e>t&&(e=n),e};tt.isPowerOfTwo=function(e){return e!==0&&(e&e-1)===0};tt.nextPowerOfTwo=function(e){return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e};tt.previousPowerOfTwo=function(e){return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e|=e>>32,e=(e>>>0)-(e>>>1),e};tt.clamp=function(e,t,n){return e<t?t:e>n?n:e};var $q=new rY.default;tt.setRandomNumberSeed=function(e){$q=new rY.default(e)};tt.nextRandomNumber=function(){return $q.random()};tt.randomBetween=function(e,t){return tt.nextRandomNumber()*(t-e)+e};tt.acosClamped=function(e){return Math.acos(tt.clamp(e,-1,1))};tt.asinClamped=function(e){return Math.asin(tt.clamp(e,-1,1))};tt.chordLength=function(e,t){return 2*t*Math.sin(e*.5)};tt.logBase=function(e,t){return Math.log(e)/Math.log(t)};tt.cbrt=Math.cbrt??function(t){let n=Math.pow(Math.abs(t),.3333333333333333);return t<0?-n:n};tt.log2=Math.log2??function(t){return Math.log(t)*Math.LOG2E};tt.fog=function(e,t){let n=e*t;return 1-Math.exp(-(n*n))};tt.fastApproximateAtan=function(e){return e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)};tt.fastApproximateAtan2=function(e,t){let n,i=Math.abs(e);n=Math.abs(t);let o=Math.max(i,n);n=Math.min(i,n);let r=n/o;return i=tt.fastApproximateAtan(r),i=Math.abs(t)>Math.abs(e)?tt.PI_OVER_TWO-i:i,i=e<0?tt.PI-i:i,i=t<0?-i:i,i};var A=tt;function Ke(e,t,n){this.x=e??0,this.y=t??0,this.z=n??0}Ke.fromSpherical=function(e,t){l(t)||(t=new Ke);let n=e.clock,i=e.cone,o=e.magnitude??1,r=o*Math.sin(i);return t.x=r*Math.cos(n),t.y=r*Math.sin(n),t.z=o*Math.cos(i),t};Ke.fromElements=function(e,t,n,i){return l(i)?(i.x=e,i.y=t,i.z=n,i):new Ke(e,t,n)};Ke.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new Ke(e.x,e.y,e.z)};Ke.fromCartesian4=Ke.clone;Ke.packedLength=3;Ke.pack=function(e,t,n){return n=n??0,t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t};Ke.unpack=function(e,t,n){return t=t??0,l(n)||(n=new Ke),n.x=e[t++],n.y=e[t++],n.z=e[t],n};Ke.packArray=function(e,t){let n=e.length,i=n*3;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)Ke.pack(e[o],t,o*3);return t};Ke.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/3:t=new Array(n/3);for(let i=0;i<n;i+=3){let o=i/3;t[o]=Ke.unpack(e,i,t[o])}return t};Ke.fromArray=Ke.unpack;Ke.maximumComponent=function(e){return Math.max(e.x,e.y,e.z)};Ke.minimumComponent=function(e){return Math.min(e.x,e.y,e.z)};Ke.minimumByComponent=function(e,t,n){return n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n.z=Math.min(e.z,t.z),n};Ke.maximumByComponent=function(e,t,n){return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.z=Math.max(e.z,t.z),n};Ke.clamp=function(e,t,n,i){let o=A.clamp(e.x,t.x,n.x),r=A.clamp(e.y,t.y,n.y),s=A.clamp(e.z,t.z,n.z);return i.x=o,i.y=r,i.z=s,i};Ke.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z};Ke.magnitude=function(e){return Math.sqrt(Ke.magnitudeSquared(e))};var VN=new Ke;Ke.distance=function(e,t){return Ke.subtract(e,t,VN),Ke.magnitude(VN)};Ke.distanceSquared=function(e,t){return Ke.subtract(e,t,VN),Ke.magnitudeSquared(VN)};Ke.normalize=function(e,t){let n=Ke.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,t};Ke.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z};Ke.multiplyComponents=function(e,t,n){return n.x=e.x*t.x,n.y=e.y*t.y,n.z=e.z*t.z,n};Ke.divideComponents=function(e,t,n){return n.x=e.x/t.x,n.y=e.y/t.y,n.z=e.z/t.z,n};Ke.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n};Ke.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n};Ke.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n};Ke.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n};Ke.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t};Ke.abs=function(e,t){return t.x=Math.abs(e.x),t.y=Math.abs(e.y),t.z=Math.abs(e.z),t};var e$=new Ke;Ke.lerp=function(e,t,n,i){return Ke.multiplyByScalar(t,n,e$),i=Ke.multiplyByScalar(e,1-n,i),Ke.add(e$,i,i)};var CN=new Ke,sY=new Ke;Ke.angleBetween=function(e,t){Ke.normalize(e,CN),Ke.normalize(t,sY);let n=Ke.dot(CN,sY),i=Ke.magnitude(Ke.cross(CN,sY,CN));return Math.atan2(i,n)};var uVe=new Ke;Ke.mostOrthogonalAxis=function(e,t){let n=Ke.normalize(e,uVe);return Ke.abs(n,n),n.x<=n.y?n.x<=n.z?t=Ke.clone(Ke.UNIT_X,t):t=Ke.clone(Ke.UNIT_Z,t):n.y<=n.z?t=Ke.clone(Ke.UNIT_Y,t):t=Ke.clone(Ke.UNIT_Z,t),t};Ke.projectVector=function(e,t,n){let i=Ke.dot(e,t)/Ke.dot(t,t);return Ke.multiplyByScalar(t,i,n)};Ke.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z};Ke.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]};Ke.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&A.equalsEpsilon(e.x,t.x,n,i)&&A.equalsEpsilon(e.y,t.y,n,i)&&A.equalsEpsilon(e.z,t.z,n,i)};Ke.cross=function(e,t,n){let i=e.x,o=e.y,r=e.z,s=t.x,a=t.y,c=t.z,d=o*c-r*a,u=r*s-i*c,h=i*a-o*s;return n.x=d,n.y=u,n.z=h,n};Ke.midpoint=function(e,t,n){return n.x=(e.x+t.x)*.5,n.y=(e.y+t.y)*.5,n.z=(e.z+t.z)*.5,n};Ke.fromDegrees=function(e,t,n,i,o){return e=A.toRadians(e),t=A.toRadians(t),Ke.fromRadians(e,t,n,i,o)};var hu=new Ke,US=new Ke;Ke._ellipsoidRadiiSquared=new Ke(6378137*6378137,6378137*6378137,6356752314245179e-9*6356752314245179e-9);Ke.fromRadians=function(e,t,n,i,o){n=n??0;let r=l(i)?i.radiiSquared:Ke._ellipsoidRadiiSquared,s=Math.cos(t);hu.x=s*Math.cos(e),hu.y=s*Math.sin(e),hu.z=Math.sin(t),hu=Ke.normalize(hu,hu),Ke.multiplyComponents(r,hu,US);let a=Math.sqrt(Ke.dot(hu,US));return US=Ke.divideByScalar(US,a,US),hu=Ke.multiplyByScalar(hu,n,hu),l(o)||(o=new Ke),Ke.add(US,hu,o)};Ke.fromDegreesArray=function(e,t,n){let i=e.length;l(n)?n.length=i/2:n=new Array(i/2);for(let o=0;o<i;o+=2){let r=e[o],s=e[o+1],a=o/2;n[a]=Ke.fromDegrees(r,s,0,t,n[a])}return n};Ke.fromRadiansArray=function(e,t,n){let i=e.length;l(n)?n.length=i/2:n=new Array(i/2);for(let o=0;o<i;o+=2){let r=e[o],s=e[o+1],a=o/2;n[a]=Ke.fromRadians(r,s,0,t,n[a])}return n};Ke.fromDegreesArrayHeights=function(e,t,n){let i=e.length;l(n)?n.length=i/3:n=new Array(i/3);for(let o=0;o<i;o+=3){let r=e[o],s=e[o+1],a=e[o+2],c=o/3;n[c]=Ke.fromDegrees(r,s,a,t,n[c])}return n};Ke.fromRadiansArrayHeights=function(e,t,n){let i=e.length;l(n)?n.length=i/3:n=new Array(i/3);for(let o=0;o<i;o+=3){let r=e[o],s=e[o+1],a=e[o+2],c=o/3;n[c]=Ke.fromRadians(r,s,a,t,n[c])}return n};Ke.ZERO=Object.freeze(new Ke(0,0,0));Ke.ONE=Object.freeze(new Ke(1,1,1));Ke.UNIT_X=Object.freeze(new Ke(1,0,0));Ke.UNIT_Y=Object.freeze(new Ke(0,1,0));Ke.UNIT_Z=Object.freeze(new Ke(0,0,1));Ke.prototype.clone=function(e){return Ke.clone(this,e)};Ke.prototype.equals=function(e){return Ke.equals(this,e)};Ke.prototype.equalsEpsilon=function(e,t,n){return Ke.equalsEpsilon(this,e,t,n)};Ke.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z})`};var m=Ke;var yEt=x(_(),1);var $Rt=x(_(),1);function ft(e,t,n,i){this.x=e??0,this.y=t??0,this.z=n??0,this.w=i??0}ft.fromElements=function(e,t,n,i,o){return l(o)?(o.x=e,o.y=t,o.z=n,o.w=i,o):new ft(e,t,n,i)};ft.fromColor=function(e,t){return l(t)?(t.x=e.red,t.y=e.green,t.z=e.blue,t.w=e.alpha,t):new ft(e.red,e.green,e.blue,e.alpha)};ft.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t):new ft(e.x,e.y,e.z,e.w)};ft.packedLength=4;ft.pack=function(e,t,n){return n=n??0,t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t};ft.unpack=function(e,t,n){return t=t??0,l(n)||(n=new ft),n.x=e[t++],n.y=e[t++],n.z=e[t++],n.w=e[t],n};ft.packArray=function(e,t){let n=e.length,i=n*4;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)ft.pack(e[o],t,o*4);return t};ft.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/4:t=new Array(n/4);for(let i=0;i<n;i+=4){let o=i/4;t[o]=ft.unpack(e,i,t[o])}return t};ft.fromArray=ft.unpack;ft.maximumComponent=function(e){return Math.max(e.x,e.y,e.z,e.w)};ft.minimumComponent=function(e){return Math.min(e.x,e.y,e.z,e.w)};ft.minimumByComponent=function(e,t,n){return n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n.z=Math.min(e.z,t.z),n.w=Math.min(e.w,t.w),n};ft.maximumByComponent=function(e,t,n){return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.z=Math.max(e.z,t.z),n.w=Math.max(e.w,t.w),n};ft.clamp=function(e,t,n,i){let o=A.clamp(e.x,t.x,n.x),r=A.clamp(e.y,t.y,n.y),s=A.clamp(e.z,t.z,n.z),a=A.clamp(e.w,t.w,n.w);return i.x=o,i.y=r,i.z=s,i.w=a,i};ft.magnitudeSquared=function(e){return e.x*e.x+e.y*e.y+e.z*e.z+e.w*e.w};ft.magnitude=function(e){return Math.sqrt(ft.magnitudeSquared(e))};var LN=new ft;ft.distance=function(e,t){return ft.subtract(e,t,LN),ft.magnitude(LN)};ft.distanceSquared=function(e,t){return ft.subtract(e,t,LN),ft.magnitudeSquared(LN)};ft.normalize=function(e,t){let n=ft.magnitude(e);return t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,t.w=e.w/n,t};ft.dot=function(e,t){return e.x*t.x+e.y*t.y+e.z*t.z+e.w*t.w};ft.multiplyComponents=function(e,t,n){return n.x=e.x*t.x,n.y=e.y*t.y,n.z=e.z*t.z,n.w=e.w*t.w,n};ft.divideComponents=function(e,t,n){return n.x=e.x/t.x,n.y=e.y/t.y,n.z=e.z/t.z,n.w=e.w/t.w,n};ft.add=function(e,t,n){return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n.w=e.w+t.w,n};ft.subtract=function(e,t,n){return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n.w=e.w-t.w,n};ft.multiplyByScalar=function(e,t,n){return n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n.w=e.w*t,n};ft.divideByScalar=function(e,t,n){return n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n.w=e.w/t,n};ft.negate=function(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t.w=-e.w,t};ft.abs=function(e,t){return t.x=Math.abs(e.x),t.y=Math.abs(e.y),t.z=Math.abs(e.z),t.w=Math.abs(e.w),t};var t$=new ft;ft.lerp=function(e,t,n,i){return ft.multiplyByScalar(t,n,t$),i=ft.multiplyByScalar(e,1-n,i),ft.add(t$,i,i)};var mVe=new ft;ft.mostOrthogonalAxis=function(e,t){let n=ft.normalize(e,mVe);return ft.abs(n,n),n.x<=n.y?n.x<=n.z?n.x<=n.w?t=ft.clone(ft.UNIT_X,t):t=ft.clone(ft.UNIT_W,t):n.z<=n.w?t=ft.clone(ft.UNIT_Z,t):t=ft.clone(ft.UNIT_W,t):n.y<=n.z?n.y<=n.w?t=ft.clone(ft.UNIT_Y,t):t=ft.clone(ft.UNIT_W,t):n.z<=n.w?t=ft.clone(ft.UNIT_Z,t):t=ft.clone(ft.UNIT_W,t),t};ft.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w};ft.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]&&e.w===t[n+3]};ft.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&A.equalsEpsilon(e.x,t.x,n,i)&&A.equalsEpsilon(e.y,t.y,n,i)&&A.equalsEpsilon(e.z,t.z,n,i)&&A.equalsEpsilon(e.w,t.w,n,i)};ft.ZERO=Object.freeze(new ft(0,0,0,0));ft.ONE=Object.freeze(new ft(1,1,1,1));ft.UNIT_X=Object.freeze(new ft(1,0,0,0));ft.UNIT_Y=Object.freeze(new ft(0,1,0,0));ft.UNIT_Z=Object.freeze(new ft(0,0,1,0));ft.UNIT_W=Object.freeze(new ft(0,0,0,1));ft.prototype.clone=function(e){return ft.clone(this,e)};ft.prototype.equals=function(e){return ft.equals(this,e)};ft.prototype.equalsEpsilon=function(e,t,n){return ft.equalsEpsilon(this,e,t,n)};ft.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`};var aY=new Float32Array(1),qa=new Uint8Array(aY.buffer),hVe=new Uint32Array([287454020]),fVe=new Uint8Array(hVe.buffer),n$=fVe[0]===68;ft.packFloat=function(e,t){return l(t)||(t=new ft),aY[0]=e,n$?(t.x=qa[0],t.y=qa[1],t.z=qa[2],t.w=qa[3]):(t.x=qa[3],t.y=qa[2],t.z=qa[1],t.w=qa[0]),t};ft.unpackFloat=function(e){return n$?(qa[0]=e.x,qa[1]=e.y,qa[2]=e.z,qa[3]=e.w):(qa[0]=e.w,qa[1]=e.z,qa[2]=e.y,qa[3]=e.x),aY[0]};var ae=ft;var tEt=x(_(),1),cY={};cY.EMPTY_OBJECT=Object.freeze({});cY.EMPTY_ARRAY=Object.freeze([]);var Y=cY;var sEt=x(_(),1);function Qe(e,t,n,i,o,r,s,a,c){this[0]=e??0,this[1]=i??0,this[2]=s??0,this[3]=t??0,this[4]=o??0,this[5]=a??0,this[6]=n??0,this[7]=r??0,this[8]=c??0}Qe.packedLength=9;Qe.pack=function(e,t,n){return n=n??0,t[n++]=e[0],t[n++]=e[1],t[n++]=e[2],t[n++]=e[3],t[n++]=e[4],t[n++]=e[5],t[n++]=e[6],t[n++]=e[7],t[n++]=e[8],t};Qe.unpack=function(e,t,n){return t=t??0,l(n)||(n=new Qe),n[0]=e[t++],n[1]=e[t++],n[2]=e[t++],n[3]=e[t++],n[4]=e[t++],n[5]=e[t++],n[6]=e[t++],n[7]=e[t++],n[8]=e[t++],n};Qe.packArray=function(e,t){let n=e.length,i=n*9;l(t)?!Array.isArray(t)&&t.length!==i||t.length!==i&&(t.length=i):t=new Array(i);for(let o=0;o<n;++o)Qe.pack(e[o],t,o*9);return t};Qe.unpackArray=function(e,t){let n=e.length;l(t)?t.length=n/9:t=new Array(n/9);for(let i=0;i<n;i+=9){let o=i/9;t[o]=Qe.unpack(e,i,t[o])}return t};Qe.clone=function(e,t){if(l(e))return l(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):new Qe(e[0],e[3],e[6],e[1],e[4],e[7],e[2],e[5],e[8])};Qe.fromArray=Qe.unpack;Qe.fromColumnMajorArray=function(e,t){return Qe.clone(e,t)};Qe.fromRowMajorArray=function(e,t){return l(t)?(t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],t):new Qe(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])};Qe.fromQuaternion=function(e,t){let n=e.x*e.x,i=e.x*e.y,o=e.x*e.z,r=e.x*e.w,s=e.y*e.y,a=e.y*e.z,c=e.y*e.w,d=e.z*e.z,u=e.z*e.w,h=e.w*e.w,p=n-s-d+h,g=2*(i-u),f=2*(o+c),y=2*(i+u),T=-n+s-d+h,S=2*(a-r),C=2*(o-c),V=2*(a+r),R=-n-s+d+h;return l(t)?(t[0]=p,t[1]=y,t[2]=C,t[3]=g,t[4]=T,t[5]=V,t[6]=f,t[7]=S,t[8]=R,t):new Qe(p,g,f,y,T,S,C,V,R)};Qe.fromHeadingPitchRoll=function(e,t){let n=Math.cos(-e.pitch),i=Math.cos(-e.heading),o=Math.cos(e.roll),r=Math.sin(-e.pitch),s=Math.sin(-e.heading),a=Math.sin(e.roll),c=n*i,d=-o*s+a*r*i,u=a*s+o*r*i,h=n*s,p=o*i+a*r*s,g=-a*i+o*r*s,f=-r,y=a*n,T=o*n;return l(t)?(t[0]=c,t[1]=h,t[2]=f,t[3]=d,t[4]=p,t[5]=y,t[6]=u,t[7]=g,t[8]=T,t):new Qe(c,d,u,h,p,g,f,y,T)};Qe.fromScale=function(e,t){return l(t)?(t[0]=e.x,t[1]=0,t[2]=0,t[3]=0,t[4]=e.y,t[5]=0,t[6]=0,t[7]=0,t[8]=e.z,t):new Qe(e.x,0,0,0,e.y,0,0,0,e.z)};Qe.fromUniformScale=function(e,t){return l(t)?(t[0]=e,t[1]=0,t[2]=0,t[3]=0,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=e,t):new Qe(e,0,0,0,e,0,0,0,e)};Qe.fromCrossProduct=function(e,t){return l(t)?(t[0]=0,t[1]=e.z,t[2]=-e.y,t[3]=-e.z,t[4]=0,t[5]=e.x,t[6]=e.y,t[7]=-e.x,t[8]=0,t):new Qe(0,-e.z,e.y,e.z,0,-e.x,-e.y,e.x,0)};Qe.fromRotationX=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=n,t[5]=i,t[6]=0,t[7]=-i,t[8]=n,t):new Qe(1,0,0,0,n,-i,0,i,n)};Qe.fromRotationY=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=n,t[1]=0,t[2]=-i,t[3]=0,t[4]=1,t[5]=0,t[6]=i,t[7]=0,t[8]=n,t):new Qe(n,0,i,0,1,0,-i,0,n)};Qe.fromRotationZ=function(e,t){let n=Math.cos(e),i=Math.sin(e);return l(t)?(t[0]=n,t[1]=i,t[2]=0,t[3]=-i,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new Qe(n,-i,0,i,n,0,0,0,1)};Qe.toArray=function(e,t){return l(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]};Qe.getElementIndex=function(e,t){return e*3+t};Qe.getColumn=function(e,t,n){let i=t*3,o=e[i],r=e[i+1],s=e[i+2];return n.x=o,n.y=r,n.z=s,n};Qe.setColumn=function(e,t,n,i){i=Qe.clone(e,i);let o=t*3;return i[o]=n.x,i[o+1]=n.y,i[o+2]=n.z,i};Qe.getRow=function(e,t,n){let i=e[t],o=e[t+3],r=e[t+6];return n.x=i,n.y=o,n.z=r,n};Qe.setRow=function(e,t,n,i){return i=Qe.clone(e,i),i[t]=n.x,i[t+3]=n.y,i[t+6]=n.z,i};var pVe=new m;Qe.setScale=function(e,t,n){let i=Qe.getScale(e,pVe),o=t.x/i.x,r=t.y/i.y,s=t.z/i.z;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=e[3]*r,n[4]=e[4]*r,n[5]=e[5]*r,n[6]=e[6]*s,n[7]=e[7]*s,n[8]=e[8]*s,n};var bVe=new m;Qe.setUniformScale=function(e,t,n){let i=Qe.getScale(e,bVe),o=t/i.x,r=t/i.y,s=t/i.z;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=e[3]*r,n[4]=e[4]*r,n[5]=e[5]*r,n[6]=e[6]*s,n[7]=e[7]*s,n[8]=e[8]*s,n};var lY=new m;Qe.getScale=function(e,t){return t.x=m.magnitude(m.fromElements(e[0],e[1],e[2],lY)),t.y=m.magnitude(m.fromElements(e[3],e[4],e[5],lY)),t.z=m.magnitude(m.fromElements(e[6],e[7],e[8],lY)),t};var i$=new m;Qe.getMaximumScale=function(e){return Qe.getScale(e,i$),m.maximumComponent(i$)};var gVe=new m;Qe.setRotation=function(e,t,n){let i=Qe.getScale(e,gVe);return n[0]=t[0]*i.x,n[1]=t[1]*i.x,n[2]=t[2]*i.x,n[3]=t[3]*i.y,n[4]=t[4]*i.y,n[5]=t[5]*i.y,n[6]=t[6]*i.z,n[7]=t[7]*i.z,n[8]=t[8]*i.z,n};var yVe=new m;Qe.getRotation=function(e,t){let n=Qe.getScale(e,yVe);return t[0]=e[0]/n.x,t[1]=e[1]/n.x,t[2]=e[2]/n.x,t[3]=e[3]/n.y,t[4]=e[4]/n.y,t[5]=e[5]/n.y,t[6]=e[6]/n.z,t[7]=e[7]/n.z,t[8]=e[8]/n.z,t};Qe.multiply=function(e,t,n){let i=e[0]*t[0]+e[3]*t[1]+e[6]*t[2],o=e[1]*t[0]+e[4]*t[1]+e[7]*t[2],r=e[2]*t[0]+e[5]*t[1]+e[8]*t[2],s=e[0]*t[3]+e[3]*t[4]+e[6]*t[5],a=e[1]*t[3]+e[4]*t[4]+e[7]*t[5],c=e[2]*t[3]+e[5]*t[4]+e[8]*t[5],d=e[0]*t[6]+e[3]*t[7]+e[6]*t[8],u=e[1]*t[6]+e[4]*t[7]+e[7]*t[8],h=e[2]*t[6]+e[5]*t[7]+e[8]*t[8];return n[0]=i,n[1]=o,n[2]=r,n[3]=s,n[4]=a,n[5]=c,n[6]=d,n[7]=u,n[8]=h,n};Qe.add=function(e,t,n){return n[0]=e[0]+t[0],n[1]=e[1]+t[1],n[2]=e[2]+t[2],n[3]=e[3]+t[3],n[4]=e[4]+t[4],n[5]=e[5]+t[5],n[6]=e[6]+t[6],n[7]=e[7]+t[7],n[8]=e[8]+t[8],n};Qe.subtract=function(e,t,n){return n[0]=e[0]-t[0],n[1]=e[1]-t[1],n[2]=e[2]-t[2],n[3]=e[3]-t[3],n[4]=e[4]-t[4],n[5]=e[5]-t[5],n[6]=e[6]-t[6],n[7]=e[7]-t[7],n[8]=e[8]-t[8],n};Qe.multiplyByVector=function(e,t,n){let i=t.x,o=t.y,r=t.z,s=e[0]*i+e[3]*o+e[6]*r,a=e[1]*i+e[4]*o+e[7]*r,c=e[2]*i+e[5]*o+e[8]*r;return n.x=s,n.y=a,n.z=c,n};Qe.multiplyByScalar=function(e,t,n){return n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n};Qe.multiplyByScale=function(e,t,n){return n[0]=e[0]*t.x,n[1]=e[1]*t.x,n[2]=e[2]*t.x,n[3]=e[3]*t.y,n[4]=e[4]*t.y,n[5]=e[5]*t.y,n[6]=e[6]*t.z,n[7]=e[7]*t.z,n[8]=e[8]*t.z,n};Qe.multiplyByUniformScale=function(e,t,n){return n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n};Qe.negate=function(e,t){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t[4]=-e[4],t[5]=-e[5],t[6]=-e[6],t[7]=-e[7],t[8]=-e[8],t};Qe.transpose=function(e,t){let n=e[0],i=e[3],o=e[6],r=e[1],s=e[4],a=e[7],c=e[2],d=e[5],u=e[8];return t[0]=n,t[1]=i,t[2]=o,t[3]=r,t[4]=s,t[5]=a,t[6]=c,t[7]=d,t[8]=u,t};function xVe(e){let t=0;for(let n=0;n<9;++n){let i=e[n];t+=i*i}return Math.sqrt(t)}var dY=[1,0,0],uY=[2,2,1];function _Ve(e){let t=0;for(let n=0;n<3;++n){let i=e[Qe.getElementIndex(uY[n],dY[n])];t+=2*i*i}return Math.sqrt(t)}function TVe(e,t){let n=A.EPSILON15,i=0,o=1;for(let d=0;d<3;++d){let u=Math.abs(e[Qe.getElementIndex(uY[d],dY[d])]);u>i&&(o=d,i=u)}let r=1,s=0,a=dY[o],c=uY[o];if(Math.abs(e[Qe.getElementIndex(c,a)])>n){let d=e[Qe.getElementIndex(c,c)],u=e[Qe.getElementIndex(a,a)],h=e[Qe.getElementIndex(c,a)],p=(d-u)/2/h,g;p<0?g=-1/(-p+Math.sqrt(1+p*p)):g=1/(p+Math.sqrt(1+p*p)),r=1/Math.sqrt(1+g*g),s=g*r}return t=Qe.clone(Qe.IDENTITY,t),t[Qe.getElementIndex(a,a)]=t[Qe.getElementIndex(c,c)]=r,t[Qe.getElementIndex(c,a)]=s,t[Qe.getElementIndex(a,c)]=-s,t}var RN=new Qe,o$=new Qe;Qe.computeEigenDecomposition=function(e,t){let n=A.EPSILON20,i=10,o=0,r=0;l(t)||(t={});let s=t.unitary=Qe.clone(Qe.IDENTITY,t.unitary),a=t.diagonal=Qe.clone(e,t.diagonal),c=n*xVe(a);for(;r<i&&_Ve(a)>c;)TVe(a,RN),Qe.transpose(RN,o$),Qe.multiply(a,RN,a),Qe.multiply(o$,a,a),Qe.multiply(s,RN,s),++o>2&&(++r,o=0);return t};Qe.abs=function(e,t){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t[3]=Math.abs(e[3]),t[4]=Math.abs(e[4]),t[5]=Math.abs(e[5]),t[6]=Math.abs(e[6]),t[7]=Math.abs(e[7]),t[8]=Math.abs(e[8]),t};Qe.determinant=function(e){let t=e[0],n=e[3],i=e[6],o=e[1],r=e[4],s=e[7],a=e[2],c=e[5],d=e[8];return t*(r*d-c*s)+o*(c*i-n*d)+a*(n*s-r*i)};Qe.inverse=function(e,t){let n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=Qe.determinant(e);t[0]=s*u-d*a,t[1]=d*o-i*u,t[2]=i*a-s*o,t[3]=c*a-r*u,t[4]=n*u-c*o,t[5]=r*o-n*a,t[6]=r*d-c*s,t[7]=c*i-n*d,t[8]=n*s-r*i;let p=1/h;return Qe.multiplyByScalar(t,p,t)};var SVe=new Qe;Qe.inverseTranspose=function(e,t){return Qe.inverse(Qe.transpose(e,SVe),t)};Qe.equals=function(e,t){return e===t||l(e)&&l(t)&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]};Qe.equalsEpsilon=function(e,t,n){return n=n??0,e===t||l(e)&&l(t)&&Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n&&Math.abs(e[2]-t[2])<=n&&Math.abs(e[3]-t[3])<=n&&Math.abs(e[4]-t[4])<=n&&Math.abs(e[5]-t[5])<=n&&Math.abs(e[6]-t[6])<=n&&Math.abs(e[7]-t[7])<=n&&Math.abs(e[8]-t[8])<=n};Qe.IDENTITY=Object.freeze(new Qe(1,0,0,0,1,0,0,0,1));Qe.ZERO=Object.freeze(new Qe(0,0,0,0,0,0,0,0,0));Qe.COLUMN0ROW0=0;Qe.COLUMN0ROW1=1;Qe.COLUMN0ROW2=2;Qe.COLUMN1ROW0=3;Qe.COLUMN1ROW1=4;Qe.COLUMN1ROW2=5;Qe.COLUMN2ROW0=6;Qe.COLUMN2ROW1=7;Qe.COLUMN2ROW2=8;Object.defineProperties(Qe.prototype,{length:{get:function(){return Qe.packedLength}}});Qe.prototype.clone=function(e){return Qe.clone(this,e)};Qe.prototype.equals=function(e){return Qe.equals(this,e)};Qe.equalsArray=function(e,t,n){return e[0]===t[n]&&e[1]===t[n+1]&&e[2]===t[n+2]&&e[3]===t[n+3]&&e[4]===t[n+4]&&e[5]===t[n+5]&&e[6]===t[n+6]&&e[7]===t[n+7]&&e[8]===t[n+8]};Qe.prototype.equalsEpsilon=function(e,t){return Qe.equalsEpsilon(this,e,t)};Qe.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]})
|
|
74
74
|
(${this[1]}, ${this[4]}, ${this[7]})
|
|
75
75
|
(${this[2]}, ${this[5]}, ${this[8]})`};var q=Qe;var lEt=x(_(),1);function oR(e){this.name="RuntimeError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(oR.prototype=Object.create(Error.prototype),oR.prototype.constructor=oR);oR.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=`
|
|
@@ -15992,7 +15992,7 @@ void main()
|
|
|
15992
15992
|
out_FragColor = vec4(mix(vec3(0.0), vec3(1.0), scale), 1.0);
|
|
15993
15993
|
}
|
|
15994
15994
|
`;var Xso=x(_(),1);function HVt(e){e=e??Y.EMPTY_OBJECT,this.typedArray=e.typedArray,this.width=e.width,this.height=e.height,this.pixelFormat=e.pixelFormat??je.RGBA,this.pixelDatatype=e.pixelDatatype??ze.UNSIGNED_BYTE;let t=e.url;typeof t=="string"&&(t=Le.createIfNeeded(t)),this.resource=t;let i=e.repeat??!0?bn.REPEAT:bn.CLAMP_TO_EDGE;this.sampler=new Ht({wrapS:i,wrapT:i,minificationFilter:e.minificationFilter,magnificationFilter:e.magnificationFilter,maximumAnisotropy:e.maximumAnisotropy})}var yq=HVt;var Pso=x(_(),1),KVt={FLOAT:"float",VEC2:"vec2",VEC3:"vec3",VEC4:"vec4",MAT2:"mat2",MAT3:"mat3",MAT4:"mat4"},xq=Object.freeze(KVt);var wso=x(_(),1),JVt={SIGX:"SIGX",SIGY:"SIGY",SIGZ:"SIGZ",VARX:"VARX",VARY:"VARY",VARZ:"VARZ",SIGR:"VARZ"},_q=Object.freeze(JVt);var Nso=x(_(),1);function QVt(e){async function t({data:i}){let o=[],r={id:i.id,result:void 0,error:void 0};self.CESIUM_BASE_URL=i.baseUrl;try{let s=await e(i.parameters,o);r.result=s}catch(s){s instanceof Error?r.error={name:s.name,message:s.message,stack:s.stack}:r.error=s}i.canTransferArrayBuffer||(o.length=0);try{postMessage(r,o)}catch(s){r.result=void 0,r.error=`postMessage failed with error: ${tp(s)}
|
|
15995
|
-
with responseMessage: ${JSON.stringify(r)}`,postMessage(r)}}function n(i){postMessage({id:i.data?.id,error:`postMessage failed with error: ${JSON.stringify(i)}`})}return self.onmessage=t,self.onmessageerror=n,self}var Tq=QVt;globalThis.CESIUM_VERSION="1.128.
|
|
15995
|
+
with responseMessage: ${JSON.stringify(r)}`,postMessage(r)}}function n(i){postMessage({id:i.data?.id,error:`postMessage failed with error: ${JSON.stringify(i)}`})}return self.onmessage=t,self.onmessageerror=n,self}var Tq=QVt;globalThis.CESIUM_VERSION="1.128.26";var CXo=x(_(),1);var eEo=x(_(),1);var QRo=x(_(),1);var DRo=x(_(),1),L9;typeof ko<"u"&&(L9=ko);(function(){/*!
|
|
15996
15996
|
* Knockout JavaScript library v3.5.1
|
|
15997
15997
|
* (c) The Knockout.js team - http://knockoutjs.com/
|
|
15998
15998
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
@@ -16026,14 +16026,14 @@ https://docs.stadiamaps.com/map-styles/alidade-smooth/`,category:"Other",creatio
|
|
|
16026
16026
|
https://docs.stadiamaps.com/map-styles/alidade-smooth-dark/`,category:"Other",creationFunction:function(){return new v0({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/",retinaTiles:t,credit:`© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
16027
16027
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
16028
16028
|
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new ls({name:"Sentinel-2",iconUrl:Kt("Widgets/Images/ImageryProviders/sentinel-2.png"),tooltip:"Sentinel-2 cloudless by EOX IT Services GmbH (Contains modified Copernicus Sentinel data 2016 and 2017).",category:"Cesium ion",creationFunction:function(){return p0.fromAssetId(3954)}})),e.push(new ls({name:"Blue Marble",iconUrl:Kt("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return p0.fromAssetId(3845)}})),e.push(new ls({name:"Earth at night",iconUrl:Kt("Widgets/Images/ImageryProviders/earthAtNight.png"),tooltip:"The Earth at night, also known as The Black Marble, is a 500 meter resolution global composite imagery layer released by NASA.",category:"Cesium ion",creationFunction:function(){return p0.fromAssetId(3812)}})),e.push(new ls({name:"Natural Earth\xA0II",iconUrl:Kt("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
|
|
16029
|
-
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Zy.fromUrl(Kt("Assets/Textures/NaturalEarthII"))}})),e}var F9=yLt;var cZo=x(_(),1);function xLt(){let e=[];return e.push(new ls({name:"WGS84 Ellipsoid",iconUrl:Kt("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new ip({ellipsoid:ne.WGS84})}})),e.push(new ls({name:"Cesium World Terrain",iconUrl:Kt("Widgets/Images/TerrainProviders/CesiumWorldTerrain.png"),tooltip:"High-resolution global terrain tileset curated from several datasources and hosted by Cesium ion",category:"Cesium ion",creationFunction:function(){return ES({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var M9=xLt;var SZo=x(_(),1);var fZo=x(_(),1);function _Lt(e){let t;if(l(e)){t="Command Statistics";let n=e.commandsInFrustums;for(let i in n)if(n.hasOwnProperty(i)){let o=parseInt(i,10),r;if(o===7)r="1, 2 and 3";else{let s=[];for(let a=2;a>=0;a--){let c=Math.pow(2,a);o>=c&&(s.push(a+1),o-=c)}r=s.reverse().join(" and ")}t+=`<br> ${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function Gq(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var TLt=new ln,SLt=new m;function N9(e,t){let n=this,i=e.canvas,o=new eu(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=yn(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=yn(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=yn(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(d){n._scene.debugShowFrustums=d,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(d){n._scene.debugShowFrustumPlanes=d,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(d){d?n._performanceDisplay=new _0({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=yn(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=yn(function(){if(n.primitiveReferenceFrame){let d=n._primitive.modelMatrix;n._modelMatrixPrimitive=new s9({modelMatrix:d}),n._scene.primitives.add(n._modelMatrixPrimitive)}else l(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=yn(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(d){return l(n._modelMatrixPrimitive)&&d.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?d.owner===n._primitive||d.owner===n._primitive._billboardCollection||d.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(d){r._surface.tileProvider._debug.wireframe=d,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(d){n._scene.debugShowDepthFrustum=d,n._scene.requestRender()}),this._incrementDepthFrustum=yn(function(){let d=n.depthFrustum+1;return n.depthFrustum=Gq(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._decrementDepthFrustum=yn(function(){let d=n.depthFrustum-1;return n.depthFrustum=Gq(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(d){r._surface._debug.suspendLodUpdate=d,d||(n.filterTile=!1)});let s;this._showTileCoordinates=yn(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new C9({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=yn(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=yn(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],l(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(d){let u=n._scene.pick({x:d.position.x,y:d.position.y});l(u)&&(n.primitive=l(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=yn(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(d){d?o.setInputAction(a,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)});function c(d){let u,h=r.ellipsoid,p=n._scene.camera.getPickRay(d.position,TLt),g=r.pick(p,n._scene,SLt);if(l(g)){let f=h.cartesianToCartographic(g),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<y.length;++T){let S=y[T];if(l(S))for(let C=0;!u&&C<S.length;++C){let V=S[C];le.contains(V.rectangle,f)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=yn(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(d){d?o.setInputAction(c,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(N9.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},toggleDropDown:{get:function(){return this._toggleDropDown}},showPrimitiveBoundingSphere:{get:function(){return this._showPrimitiveBoundingSphere}},showPrimitiveReferenceFrame:{get:function(){return this._showPrimitiveReferenceFrame}},doFilterPrimitive:{get:function(){return this._doFilterPrimitive}},incrementDepthFrustum:{get:function(){return this._incrementDepthFrustum}},decrementDepthFrustum:{get:function(){return this._decrementDepthFrustum}},showTileCoordinates:{get:function(){return this._showTileCoordinates}},showTileBoundingSphere:{get:function(){return this._showTileBoundingSphere}},doFilterTile:{get:function(){return this._doFilterTile}},toggleGeneral:{get:function(){return this._toggleGeneral}},togglePrimitives:{get:function(){return this._togglePrimitives}},toggleTerrain:{get:function(){return this._toggleTerrain}},pickPrimitive:{get:function(){return this._pickPrimitive}},pickTile:{get:function(){return this._pickTile}},selectParent:{get:function(){let e=this;return yn(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,l(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,l(this._modelMatrixPrimitive)&&(this._scene.primitives.remove(this._modelMatrixPrimitive),this._modelMatrixPrimitive=void 0),this._primitive=e,e.show=!1,setTimeout(function(){e.show=!0},50),this.showPrimitiveBoundingSphere(),this.showPrimitiveReferenceFrame(),this.doFilterPrimitive())}},tile:{get:function(){return this._tile},set:function(e){if(l(e)){this.hasPickedTile=!0;let t=this._tile;if(e!==t){this.tileText=`L: ${e.level} X: ${e.x} Y: ${e.y}`,this.tileText+=`<br>SW corner: ${e.rectangle.west}, ${e.rectangle.south}`,this.tileText+=`<br>NE corner: ${e.rectangle.east}, ${e.rectangle.north}`;let n=e.data;l(n)&&l(n.tileBoundingRegion)?this.tileText+=`<br>Min: ${n.tileBoundingRegion.minimumHeight} Max: ${n.tileBoundingRegion.maximumHeight}`:this.tileText+="<br>(Tile is not loaded)"}this._tile=e,this.showTileBoundingSphere(),this.doFilterTile()}else this.hasPickedTile=!1,this._tile=void 0}}});N9.prototype._update=function(){this.frustums&&(this.frustumStatisticText=_Lt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=Gq(1,e,this.depthFrustum),this.depthFrustumText=`${this.depthFrustum} of ${e}`,this.performance&&this._performanceDisplay.update(),this.primitiveReferenceFrame&&(this._modelMatrixPrimitive.modelMatrix=this._primitive.modelMatrix),this.shaderCacheText=`Cached shaders: ${this._scene.context.shaderCache.numberOfShaders}`};N9.prototype.isDestroyed=function(){return!1};N9.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var k9=N9;function MO(e,t){e=Vn(e);let n=document.createElement("div"),i=new k9(t,n);this._viewModel=i,this._container=e;let o=document.createElement("div");this._element=o;let r=document.createElement("div");r.textContent="Cesium Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleDropDown"),o.appendChild(r),o.className="cesium-cesiumInspector",o.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : dropDownVisible, "cesium-cesiumInspector-hidden" : !dropDownVisible }'),e.appendChild(this._element);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",o.appendChild(s);let a=Ja.createSection,c=Ja.createCheckbox,d=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(h),d.appendChild(u),d.appendChild(c("Show Frustum Planes","frustumPlanes")),d.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",d.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),d.appendChild(p);let g=document.createElement("div");d.appendChild(g);let f=document.createElement("span");f.setAttribute("data-bind",'html: " Frustum:"'),g.appendChild(f);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),g.appendChild(y);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),g.appendChild(T);let S=document.createElement("input");S.type="button",S.value="+",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: incrementDepthFrustum"),g.appendChild(S);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",C.appendChild(V);let R=document.createElement("input");R.type="button",R.value="Pick a primitive",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let Z=document.createElement("div");Z.className="cesium-cesiumInspector-center",Z.appendChild(R),V.appendChild(Z),V.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),V.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),V.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),W=document.createElement("div");W.className="cesium-cesiumInspector-pickSection",I.appendChild(W);let X=document.createElement("input");X.type="button",X.value="Pick a tile",X.className="cesium-cesiumInspector-pickButton",X.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),Z=document.createElement("div"),Z.appendChild(X),Z.className="cesium-cesiumInspector-center",W.appendChild(Z);let w=document.createElement("div");W.appendChild(w);let F=document.createElement("input");F.type="button",F.value="Parent",F.className="cesium-cesiumInspector-pickButton",F.setAttribute("data-bind","click: selectParent");let b=document.createElement("input");b.type="button",b.value="NW",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: selectNW");let L=document.createElement("input");L.type="button",L.value="NE",L.className="cesium-cesiumInspector-pickButton",L.setAttribute("data-bind","click: selectNE");let E=document.createElement("input");E.type="button",E.value="SW",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind","click: selectSW");let G=document.createElement("input");G.type="button",G.value="SE",G.className="cesium-cesiumInspector-pickButton",G.setAttribute("data-bind","click: selectSE");let v=document.createElement("div");v.className="cesium-cesiumInspector-tileText",w.className="cesium-cesiumInspector-frustumStatistics",w.appendChild(v),w.setAttribute("data-bind","visible: hasPickedTile"),v.setAttribute("data-bind","html: tileText");let M=document.createElement("div");M.className="cesium-cesiumInspector-relativeText",M.textContent="Select relative:",w.appendChild(M);let B=document.createElement("table"),k=document.createElement("tr"),O=document.createElement("tr"),N=document.createElement("td");N.appendChild(F);let z=document.createElement("td");z.appendChild(b);let J=document.createElement("td");J.appendChild(L),k.appendChild(N),k.appendChild(z),k.appendChild(J);let ee=document.createElement("td"),H=document.createElement("td");H.appendChild(E);let te=document.createElement("td");te.appendChild(G),O.appendChild(ee),O.appendChild(H),O.appendChild(te),B.appendChild(k),B.appendChild(O),w.appendChild(B),W.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),W.appendChild(c("Show only selected","filterTile","hasPickedTile")),I.appendChild(c("Wireframe","wireframe")),I.appendChild(c("Suspend LOD update","suspendUpdates")),I.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(MO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});MO.prototype.isDestroyed=function(){return!1};MO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var D9=MO;var PZo=x(_(),1);var EZo=x(_(),1);function CLt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof ys&&(e.tileset=n.primitive),e.pickActive=!1}}function G1e(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof ys&&(e.tileset=i.primitive)},pn.MOUSE_MOVE):(e._eventHandler.removeInputAction(pn.MOUSE_MOVE),e.picking=e.picking)}var VLt={maximumFractionDigits:3};function U9(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,VLt):Math.round(t).toLocaleString()}function B9(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[Io.PICK]:e._statisticsPerPass[Io.RENDER],i='<ul class="cesium-cesiumInspector-statistics">';return i+=`<li><strong>Visited: </strong>${n.visited.toLocaleString()}</li><li><strong>Selected: </strong>${n.selected.toLocaleString()}</li><li><strong>Commands: </strong>${n.numberOfCommands.toLocaleString()}</li>`,i+="</ul>",t||(i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Requests: </strong>${n.numberOfPendingRequests.toLocaleString()}</li><li><strong>Attempted: </strong>${n.numberOfAttemptedRequests.toLocaleString()}</li><li><strong>Processing: </strong>${n.numberOfTilesProcessing.toLocaleString()}</li><li><strong>Content Ready: </strong>${n.numberOfTilesWithContentReady.toLocaleString()}</li><li><strong>Total: </strong>${n.numberOfTilesTotal.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Features Selected: </strong>${n.numberOfFeaturesSelected.toLocaleString()}</li><li><strong>Features Loaded: </strong>${n.numberOfFeaturesLoaded.toLocaleString()}</li><li><strong>Points Selected: </strong>${n.numberOfPointsSelected.toLocaleString()}</li><li><strong>Points Loaded: </strong>${n.numberOfPointsLoaded.toLocaleString()}</li><li><strong>Triangles Selected: </strong>${n.numberOfTrianglesSelected.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Tiles styled: </strong>${n.numberOfTilesStyled.toLocaleString()}</li><li><strong>Features styled: </strong>${n.numberOfFeaturesStyled.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Children Union Culled: </strong>${n.numberOfTilesCulledWithChildrenUnion.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Geometry Memory (MB): </strong>${U9(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${U9(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${U9(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function A1e(){let e=Ti.statistics;return`
|
|
16029
|
+
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Zy.fromUrl(Kt("Assets/Textures/NaturalEarthII"))}})),e}var F9=yLt;var cZo=x(_(),1);function xLt(){let e=[];return e.push(new ls({name:"WGS84 Ellipsoid",iconUrl:Kt("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new ip({ellipsoid:ne.WGS84})}})),e.push(new ls({name:"Cesium World Terrain",iconUrl:Kt("Widgets/Images/TerrainProviders/CesiumWorldTerrain.png"),tooltip:"High-resolution global terrain tileset curated from several datasources and hosted by Cesium ion",category:"Cesium ion",creationFunction:function(){return ES({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var M9=xLt;var _Zo=x(_(),1);var hZo=x(_(),1);function _Lt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof ys&&(e.tileset=n.primitive),e.pickActive=!1}}function G1e(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof ys&&(e.tileset=i.primitive)},pn.MOUSE_MOVE):(e._eventHandler.removeInputAction(pn.MOUSE_MOVE),e.picking=e.picking)}var TLt={maximumFractionDigits:3};function N9(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,TLt):Math.round(t).toLocaleString()}function k9(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[Io.PICK]:e._statisticsPerPass[Io.RENDER],i='<ul class="cesium-cesiumInspector-statistics">';return i+=`<li><strong>Visited: </strong>${n.visited.toLocaleString()}</li><li><strong>Selected: </strong>${n.selected.toLocaleString()}</li><li><strong>Commands: </strong>${n.numberOfCommands.toLocaleString()}</li>`,i+="</ul>",t||(i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Requests: </strong>${n.numberOfPendingRequests.toLocaleString()}</li><li><strong>Attempted: </strong>${n.numberOfAttemptedRequests.toLocaleString()}</li><li><strong>Processing: </strong>${n.numberOfTilesProcessing.toLocaleString()}</li><li><strong>Content Ready: </strong>${n.numberOfTilesWithContentReady.toLocaleString()}</li><li><strong>Total: </strong>${n.numberOfTilesTotal.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Features Selected: </strong>${n.numberOfFeaturesSelected.toLocaleString()}</li><li><strong>Features Loaded: </strong>${n.numberOfFeaturesLoaded.toLocaleString()}</li><li><strong>Points Selected: </strong>${n.numberOfPointsSelected.toLocaleString()}</li><li><strong>Points Loaded: </strong>${n.numberOfPointsLoaded.toLocaleString()}</li><li><strong>Triangles Selected: </strong>${n.numberOfTrianglesSelected.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Tiles styled: </strong>${n.numberOfTilesStyled.toLocaleString()}</li><li><strong>Features styled: </strong>${n.numberOfFeaturesStyled.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Children Union Culled: </strong>${n.numberOfTilesCulledWithChildrenUnion.toLocaleString()}</li>`,i+="</ul>",i+='<ul class="cesium-cesiumInspector-statistics">',i+=`<li><strong>Geometry Memory (MB): </strong>${N9(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${N9(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${N9(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function A1e(){let e=Ti.statistics;return`
|
|
16030
16030
|
<ul class="cesium-cesiumInspector-statistics">
|
|
16031
|
-
<li><strong>Geometry Memory (MB): </strong>${
|
|
16032
|
-
<li><strong>Texture Memory (MB): </strong>${
|
|
16031
|
+
<li><strong>Geometry Memory (MB): </strong>${N9(e.geometryByteLength)}</li>
|
|
16032
|
+
<li><strong>Texture Memory (MB): </strong>${N9(e.texturesByteLength)}</li>
|
|
16033
16033
|
</ul>
|
|
16034
|
-
`}var LLt=[{text:"Highlight",value:Al.HIGHLIGHT},{text:"Replace",value:Al.REPLACE},{text:"Mix",value:Al.MIX}],Z1e=new U(1,1,0,.4),RLt=new U,NO=new U;function Za(e,t){let n=this,i=e.canvas;this._eventHandler=new eu(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new _0({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let N=[],z=n._properties();for(let J in z)z.hasOwnProperty(J)&&N.push(J);return N});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(N){o(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=N)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(N){r(N),l(n._tileset)&&(n._tileset.colorBlendMode=N,n._scene.requestRender())}}),this.colorBlendMode=Al.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(N){a(N),N?n._eventHandler.setInputAction(function(z){let J=e.pick(z.endPosition);if(J instanceof Hs?(n.feature=J,n.tile=J.content.tile):l(J)&&l(J.content)?(n.feature=void 0,n.tile=J.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(J)&&l(J.content)){let ee;e.pickPositionSupported&&(ee=e.pickPosition(z.endPosition),l(ee)&&(n._tileset.debugPickPosition=ee)),n._tileset.debugPickedTile=J.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},pn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(pn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(N){c(N),l(n._tileset)&&(n._tileset.debugColorizeTiles=N,n._scene.requestRender())}}),this.colorize=!1;let d=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return d()},set:function(N){d(N),l(n._tileset)&&(n._tileset.debugWireframe=N,n._scene.requestRender())}}),this.wireframe=!1;let u=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(N){u(N),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=N,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(N){h(N),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=N,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(N){p(N),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=N,n._scene.requestRender())}}),this.showRequestVolumes=!1;let g=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return g()},set:function(N){g(N),l(n._tileset)&&(n._tileset.debugFreezeFrame=N,n._scene.debugShowFrustumPlanes=N,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(N){s(N),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=N,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let f=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return f()},set:function(N){f(N),l(n._tileset)&&(n._tileset.debugShowGeometricError=N,n._scene.requestRender())}}),this.showGeometricError=!1;let y=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(N){y(N),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=N,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(N){T(N),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=N,n._scene.requestRender())}}),this.showMemoryUsage=!1;let S=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return S()},set:function(N){S(N),l(n._tileset)&&(n._tileset.debugShowUrl=N,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(N){N=Number(N),isNaN(N)||(C(N),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=N))}}),this.maximumScreenSpaceError=16;let V=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(N){N=Number(N),isNaN(N)||(V(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=N))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(N){let z=Math.pow(N,6);V(z),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=z)}});let R=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return R()},set:function(N){N=Number(N),isNaN(N)||(R(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=N))}}),this.dynamicScreenSpaceErrorFactor=24;let Z=CLt(this),I=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return I()},set:function(N){I(N),N?n._eventHandler.setInputAction(Z,pn.LEFT_CLICK):n._eventHandler.removeInputAction(pn.LEFT_CLICK)}});let W=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return W()},set:function(N){W(N),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=N)}}),this.pointCloudShading=!1;let X=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return X()},set:function(N){N=Number(N),isNaN(N)||(X(N),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=N))}}),this.geometricErrorScale=1;let w=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return w()},set:function(N){N=Number(N),isNaN(N)||(w(N),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=N===0?void 0:N))}}),this.maximumAttenuation=0;let F=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return F()},set:function(N){N=Number(N),isNaN(N)||(F(N),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=N===0?void 0:N))}}),this.baseResolution=0;let b=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return b()},set:function(N){b(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=N)}}),this.eyeDomeLighting=!1;let L=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return L()},set:function(N){N=Number(N),isNaN(N)||(L(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=N))}}),this.eyeDomeLightingStrength=1;let E=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return E()},set:function(N){N=Number(N),isNaN(N)||(E(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=N))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let G=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return G()},set:function(N){G(N),l(n._tileset)&&(n._tileset.skipLevelOfDetail=N)}}),this.skipLevelOfDetail=!0;let v=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return v()},set:function(N){N=Number(N),isNaN(N)||(v(N),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=N))}}),this.skipScreenSpaceErrorFactor=16;let M=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return M()},set:function(N){N=Number(N),isNaN(N)||(M(N),l(n._tileset)&&(n._tileset.baseScreenSpaceError=N))}}),this.baseScreenSpaceError=1024;let B=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(N){N=Number(N),isNaN(N)||(B(N),l(n._tileset)&&(n._tileset.skipLevels=N))}}),this.skipLevels=1;let k=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return k()},set:function(N){k(N),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=N)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let O=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return O()},set:function(N){O(N),l(n._tileset)&&(n._tileset.loadSiblings=N)}}),this.loadSiblings=!1,this._style=void 0,this._shouldStyle=!1,this._definedProperties=["properties","dynamicScreenSpaceError","colorBlendMode","picking","colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","maximumScreenSpaceError","dynamicScreenSpaceErrorDensity","baseScreenSpaceError","skipScreenSpaceErrorFactor","skipLevelOfDetail","skipLevels","immediatelyLoadDesiredLevelOfDetail","loadSiblings","dynamicScreenSpaceErrorDensitySliderValue","dynamicScreenSpaceErrorFactor","pickActive","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl","pointCloudShading","geometricErrorScale","maximumAttenuation","baseResolution","eyeDomeLighting","eyeDomeLightingStrength","eyeDomeLightingRadius"],this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()}),l(this._tileset)||G1e(this,!0)}Object.defineProperties(Za.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},statisticsText:{get:function(){return this._statisticsText}},pickStatisticsText:{get:function(){return this._pickStatisticsText}},resourceCacheStatisticsText:{get:function(){return this._resourceCacheStatisticsText}},colorBlendModes:{get:function(){return LLt}},editorError:{get:function(){return this._editorError}},tileset:{get:function(){return this._tileset},set:function(e){if(this._tileset=e,this._style=void 0,this.styleString="{}",this.feature=void 0,this.tile=void 0,l(e)){this._properties(e.properties);let t=["colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl"],n=t.length;for(let o=0;o<n;++o){let r=t[o];this[r]=this[r]}this.maximumScreenSpaceError=e.maximumScreenSpaceError,this.dynamicScreenSpaceError=e.dynamicScreenSpaceError,this.dynamicScreenSpaceErrorDensity=e.dynamicScreenSpaceErrorDensity,this.dynamicScreenSpaceErrorFactor=e.dynamicScreenSpaceErrorFactor,this.colorBlendMode=e.colorBlendMode,this.skipLevelOfDetail=e.skipLevelOfDetail,this.skipScreenSpaceErrorFactor=e.skipScreenSpaceErrorFactor,this.baseScreenSpaceError=e.baseScreenSpaceError,this.skipLevels=e.skipLevels,this.immediatelyLoadDesiredLevelOfDetail=e.immediatelyLoadDesiredLevelOfDetail,this.loadSiblings=e.loadSiblings,this.hasEnabledWireframe=e._enableDebugWireframe;let i=e.pointCloudShading;this.pointCloudShading=i.attenuation,this.geometricErrorScale=i.geometricErrorScale,this.maximumAttenuation=i.maximumAttenuation?i.maximumAttenuation:0,this.baseResolution=i.baseResolution?i.baseResolution:0,this.eyeDomeLighting=i.eyeDomeLighting,this.eyeDomeLightingStrength=i.eyeDomeLightingStrength,this.eyeDomeLightingRadius=i.eyeDomeLightingRadius,this._scene.requestRender()}else this._properties({});this._statisticsText=B9(e,!1),this._pickStatisticsText=B9(e,!0),this._resourceCacheStatisticsText=A1e(),G1e(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;l(t)&&!t.content.isDestroyed()&&(!this.colorize&&l(this._style)?t.color=l(this._style.color)?this._style.color.evaluateColor(t,RLt):U.WHITE:t.color=NO,this._scene.requestRender()),l(e)&&(U.clone(e.color,NO),e.color=Z1e,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;l(t)&&!t.isDestroyed()&&!Aq(t.content)&&(t.color=NO,this._scene.requestRender()),l(e)&&!Aq(e.content)&&(U.clone(e.color,NO),e.color=Z1e,this._scene.requestRender()),this._tile=e}}});function Aq(e){if(!l(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(l(t)){let n=t.length;for(let i=0;i<n;++i)if(!Aq(t[i]))return!1;return!0}return!1}Za.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Za.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Za.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Za.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Za.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Za.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Za.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Za.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Za.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Za.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};Za.prototype.compileStyle=function(){let e=this._tileset;if(!(!l(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new GS(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Za.prototype.styleEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
|
|
16034
|
+
`}var SLt=[{text:"Highlight",value:Al.HIGHLIGHT},{text:"Replace",value:Al.REPLACE},{text:"Mix",value:Al.MIX}],Z1e=new U(1,1,0,.4),CLt=new U,MO=new U;function Za(e,t){let n=this,i=e.canvas;this._eventHandler=new eu(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new _0({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let N=[],z=n._properties();for(let J in z)z.hasOwnProperty(J)&&N.push(J);return N});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(N){o(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=N)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(N){r(N),l(n._tileset)&&(n._tileset.colorBlendMode=N,n._scene.requestRender())}}),this.colorBlendMode=Al.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(N){a(N),N?n._eventHandler.setInputAction(function(z){let J=e.pick(z.endPosition);if(J instanceof Hs?(n.feature=J,n.tile=J.content.tile):l(J)&&l(J.content)?(n.feature=void 0,n.tile=J.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(J)&&l(J.content)){let ee;e.pickPositionSupported&&(ee=e.pickPosition(z.endPosition),l(ee)&&(n._tileset.debugPickPosition=ee)),n._tileset.debugPickedTile=J.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},pn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(pn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(N){c(N),l(n._tileset)&&(n._tileset.debugColorizeTiles=N,n._scene.requestRender())}}),this.colorize=!1;let d=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return d()},set:function(N){d(N),l(n._tileset)&&(n._tileset.debugWireframe=N,n._scene.requestRender())}}),this.wireframe=!1;let u=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return u()},set:function(N){u(N),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=N,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(N){h(N),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=N,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(N){p(N),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=N,n._scene.requestRender())}}),this.showRequestVolumes=!1;let g=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return g()},set:function(N){g(N),l(n._tileset)&&(n._tileset.debugFreezeFrame=N,n._scene.debugShowFrustumPlanes=N,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(N){s(N),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=N,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let f=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return f()},set:function(N){f(N),l(n._tileset)&&(n._tileset.debugShowGeometricError=N,n._scene.requestRender())}}),this.showGeometricError=!1;let y=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(N){y(N),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=N,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let T=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return T()},set:function(N){T(N),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=N,n._scene.requestRender())}}),this.showMemoryUsage=!1;let S=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return S()},set:function(N){S(N),l(n._tileset)&&(n._tileset.debugShowUrl=N,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(N){N=Number(N),isNaN(N)||(C(N),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=N))}}),this.maximumScreenSpaceError=16;let V=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return V()},set:function(N){N=Number(N),isNaN(N)||(V(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=N))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(V(),1/6)},set:function(N){let z=Math.pow(N,6);V(z),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=z)}});let R=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return R()},set:function(N){N=Number(N),isNaN(N)||(R(N),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=N))}}),this.dynamicScreenSpaceErrorFactor=24;let Z=_Lt(this),I=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return I()},set:function(N){I(N),N?n._eventHandler.setInputAction(Z,pn.LEFT_CLICK):n._eventHandler.removeInputAction(pn.LEFT_CLICK)}});let W=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return W()},set:function(N){W(N),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=N)}}),this.pointCloudShading=!1;let X=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return X()},set:function(N){N=Number(N),isNaN(N)||(X(N),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=N))}}),this.geometricErrorScale=1;let w=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return w()},set:function(N){N=Number(N),isNaN(N)||(w(N),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=N===0?void 0:N))}}),this.maximumAttenuation=0;let F=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return F()},set:function(N){N=Number(N),isNaN(N)||(F(N),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=N===0?void 0:N))}}),this.baseResolution=0;let b=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return b()},set:function(N){b(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=N)}}),this.eyeDomeLighting=!1;let L=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return L()},set:function(N){N=Number(N),isNaN(N)||(L(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=N))}}),this.eyeDomeLightingStrength=1;let E=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return E()},set:function(N){N=Number(N),isNaN(N)||(E(N),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=N))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let G=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return G()},set:function(N){G(N),l(n._tileset)&&(n._tileset.skipLevelOfDetail=N)}}),this.skipLevelOfDetail=!0;let v=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return v()},set:function(N){N=Number(N),isNaN(N)||(v(N),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=N))}}),this.skipScreenSpaceErrorFactor=16;let M=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return M()},set:function(N){N=Number(N),isNaN(N)||(M(N),l(n._tileset)&&(n._tileset.baseScreenSpaceError=N))}}),this.baseScreenSpaceError=1024;let B=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return B()},set:function(N){N=Number(N),isNaN(N)||(B(N),l(n._tileset)&&(n._tileset.skipLevels=N))}}),this.skipLevels=1;let k=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return k()},set:function(N){k(N),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=N)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let O=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return O()},set:function(N){O(N),l(n._tileset)&&(n._tileset.loadSiblings=N)}}),this.loadSiblings=!1,this._style=void 0,this._shouldStyle=!1,this._definedProperties=["properties","dynamicScreenSpaceError","colorBlendMode","picking","colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","maximumScreenSpaceError","dynamicScreenSpaceErrorDensity","baseScreenSpaceError","skipScreenSpaceErrorFactor","skipLevelOfDetail","skipLevels","immediatelyLoadDesiredLevelOfDetail","loadSiblings","dynamicScreenSpaceErrorDensitySliderValue","dynamicScreenSpaceErrorFactor","pickActive","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl","pointCloudShading","geometricErrorScale","maximumAttenuation","baseResolution","eyeDomeLighting","eyeDomeLightingStrength","eyeDomeLightingRadius"],this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()}),l(this._tileset)||G1e(this,!0)}Object.defineProperties(Za.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},statisticsText:{get:function(){return this._statisticsText}},pickStatisticsText:{get:function(){return this._pickStatisticsText}},resourceCacheStatisticsText:{get:function(){return this._resourceCacheStatisticsText}},colorBlendModes:{get:function(){return SLt}},editorError:{get:function(){return this._editorError}},tileset:{get:function(){return this._tileset},set:function(e){if(this._tileset=e,this._style=void 0,this.styleString="{}",this.feature=void 0,this.tile=void 0,l(e)){this._properties(e.properties);let t=["colorize","wireframe","showBoundingVolumes","showContentBoundingVolumes","showRequestVolumes","freezeFrame","showOnlyPickedTileDebugLabel","showGeometricError","showRenderingStatistics","showMemoryUsage","showUrl"],n=t.length;for(let o=0;o<n;++o){let r=t[o];this[r]=this[r]}this.maximumScreenSpaceError=e.maximumScreenSpaceError,this.dynamicScreenSpaceError=e.dynamicScreenSpaceError,this.dynamicScreenSpaceErrorDensity=e.dynamicScreenSpaceErrorDensity,this.dynamicScreenSpaceErrorFactor=e.dynamicScreenSpaceErrorFactor,this.colorBlendMode=e.colorBlendMode,this.skipLevelOfDetail=e.skipLevelOfDetail,this.skipScreenSpaceErrorFactor=e.skipScreenSpaceErrorFactor,this.baseScreenSpaceError=e.baseScreenSpaceError,this.skipLevels=e.skipLevels,this.immediatelyLoadDesiredLevelOfDetail=e.immediatelyLoadDesiredLevelOfDetail,this.loadSiblings=e.loadSiblings,this.hasEnabledWireframe=e._enableDebugWireframe;let i=e.pointCloudShading;this.pointCloudShading=i.attenuation,this.geometricErrorScale=i.geometricErrorScale,this.maximumAttenuation=i.maximumAttenuation?i.maximumAttenuation:0,this.baseResolution=i.baseResolution?i.baseResolution:0,this.eyeDomeLighting=i.eyeDomeLighting,this.eyeDomeLightingStrength=i.eyeDomeLightingStrength,this.eyeDomeLightingRadius=i.eyeDomeLightingRadius,this._scene.requestRender()}else this._properties({});this._statisticsText=k9(e,!1),this._pickStatisticsText=k9(e,!0),this._resourceCacheStatisticsText=A1e(),G1e(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;l(t)&&!t.content.isDestroyed()&&(!this.colorize&&l(this._style)?t.color=l(this._style.color)?this._style.color.evaluateColor(t,CLt):U.WHITE:t.color=MO,this._scene.requestRender()),l(e)&&(U.clone(e.color,MO),e.color=Z1e,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;l(t)&&!t.isDestroyed()&&!Gq(t.content)&&(t.color=MO,this._scene.requestRender()),l(e)&&!Gq(e.content)&&(U.clone(e.color,MO),e.color=Z1e,this._scene.requestRender()),this._tile=e}}});function Gq(e){if(!l(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(l(t)){let n=t.length;for(let i=0;i<n;++i)if(!Gq(t[i]))return!1;return!0}return!1}Za.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};Za.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Za.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};Za.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Za.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};Za.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};Za.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};Za.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};Za.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};Za.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};Za.prototype.compileStyle=function(){let e=this._tileset;if(!(!l(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new GS(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};Za.prototype.styleEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
|
|
16035
16035
|
`),c=a.length,d;if(t.shiftKey)for(d=0;d<c;++d)a[d][0]===" "&&(a[d][1]===" "?(a[d]=a[d].substr(2),r-=2):(a[d]=a[d].substr(1),r-=1));else for(d=0;d<c;++d)a[d]=` ${a[d]}`,r+=2;let u=a.join(`
|
|
16036
|
-
`);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileStyle();return!0};Za.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),l(e)){if(e.isDestroyed()){this.tile=void 0,this.feature=void 0,this.tileset=void 0;return}let t=e.style;this._style!==e.style&&(this._shouldStyle?(e.style=this._style,this._shouldStyle=!1):(this._style=t,this.styleString=JSON.stringify(t.style,null," ")))}this.showStatistics&&(this._statisticsText=B9(e,!1),this._pickStatisticsText=B9(e,!0),this._resourceCacheStatisticsText=A1e())};Za.prototype.isDestroyed=function(){return!1};Za.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};Za.getStatistics=B9;var O9=Za;function kO(e,t){e=Vn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new O9(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleInspector"),n.appendChild(r),n.className="cesium-cesiumInspector cesium-3DTilesInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",n.appendChild(s);let a=Ja.createSection,c=Ja.createCheckbox,d=Ja.createRangeInput,u=Ja.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),g=a(s,"Update","updateVisible","toggleUpdate"),f=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),S=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let R=document.createElement("div");R.setAttribute("data-bind","text: properties"),C.appendChild(V),C.appendChild(R),h.appendChild(C),h.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(u("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let Z=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),I=document.createElement("p");I.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),I.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),I.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",Z.appendChild(I),p.appendChild(c("Bounding Volumes","showBoundingVolumes")),p.appendChild(c("Content Volumes","showContentBoundingVolumes")),p.appendChild(c("Request Volumes","showRequestVolumes")),p.appendChild(c("Point Cloud Shading","pointCloudShading"));let W=document.createElement("div");W.setAttribute("data-bind","visible: pointCloudShading"),W.appendChild(d("Geometric Error Scale","geometricErrorScale",0,2,.01)),W.appendChild(d("Maximum Attenuation","maximumAttenuation",0,32,1)),W.appendChild(d("Base Resolution","baseResolution",0,1,.01)),W.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(W);let X=document.createElement("div");X.setAttribute("data-bind","visible: eyeDomeLighting"),X.appendChild(d("EDL Strength","eyeDomeLightingStrength",0,2,.1)),X.appendChild(d("EDL Radius","eyeDomeLightingRadius",0,4,.1)),W.appendChild(X),g.appendChild(c("Freeze Frame","freezeFrame")),g.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let w=document.createElement("div");w.appendChild(d("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),g.appendChild(w);let F=document.createElement("div");F.setAttribute("data-bind","visible: dynamicScreenSpaceError"),F.appendChild(d("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),F.appendChild(d("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),g.appendChild(F),f.appendChild(c("Performance","performance")),f.appendChild(i),f.appendChild(c("Statistics","showStatistics"));let b=document.createElement("div");b.className="cesium-3dTilesInspector-statistics",b.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),f.appendChild(b),f.appendChild(c("Pick Statistics","showPickStatistics"));let L=document.createElement("div");L.className="cesium-3dTilesInspector-statistics",L.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),f.appendChild(L),f.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let E=document.createElement("div");E.className="cesium-3dTilesInspector-statistics",E.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),f.appendChild(E);let G=document.createElement("div");T.appendChild(G),G.appendChild(document.createTextNode("Color Blend Mode: "));let v=document.createElement("select");v.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),G.appendChild(v);let M=document.createElement("textarea");M.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),G.className="cesium-cesiumInspector-styleEditor",G.appendChild(M);let B=u("Compile (Ctrl+Enter)","compileStyle");G.appendChild(B);let k=document.createElement("div");k.className="cesium-cesiumInspector-error",k.setAttribute("data-bind","text: editorError"),G.appendChild(k),y.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),y.appendChild(c("Geometric Error","showGeometricError")),y.appendChild(c("Rendering Statistics","showRenderingStatistics")),y.appendChild(c("Memory Usage (MB)","showMemoryUsage")),y.appendChild(c("Url","showUrl")),S.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let O=document.createElement("div");O.appendChild(d("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),S.appendChild(O);let N=document.createElement("div");N.appendChild(d("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),S.appendChild(N);let z=document.createElement("div");z.appendChild(d("Min. levels to skip","skipLevels",0,10,1)),S.appendChild(z),S.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),S.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(kO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});kO.prototype.isDestroyed=function(){return!1};kO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var Y9=kO;var HZo=x(_(),1);var kZo=x(_(),1);function DO(e,t){l(t)||(t=document.body),t=Vn(t);let n=this,i=Se.observable(gr.fullscreen),o=Se.observable(gr.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&gr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=yn(function(){gr.fullscreen?gr.exitFullscreen():gr.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Vn(e)??r.body,this._callback=function(){i(gr.fullscreen)},r.addEventListener(gr.changeEventName,this._callback)}Object.defineProperties(DO.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});DO.prototype.isDestroyed=function(){return!1};DO.prototype.destroy=function(){document.removeEventListener(gr.changeEventName,this._callback),he(this)};var z9=DO;var ELt="M 83.96875 17.5625 L 83.96875 17.59375 L 76.65625 24.875 L 97.09375 24.96875 L 76.09375 45.96875 L 81.9375 51.8125 L 102.78125 30.9375 L 102.875 51.15625 L 110.15625 43.875 L 110.1875 17.59375 L 83.96875 17.5625 z M 44.125 17.59375 L 17.90625 17.625 L 17.9375 43.90625 L 25.21875 51.1875 L 25.3125 30.96875 L 46.15625 51.8125 L 52 45.96875 L 31 25 L 51.4375 24.90625 L 44.125 17.59375 z M 46.0625 76.03125 L 25.1875 96.875 L 25.09375 76.65625 L 17.8125 83.9375 L 17.8125 110.21875 L 44 110.25 L 51.3125 102.9375 L 30.90625 102.84375 L 51.875 81.875 L 46.0625 76.03125 z M 82 76.15625 L 76.15625 82 L 97.15625 103 L 76.71875 103.0625 L 84.03125 110.375 L 110.25 110.34375 L 110.21875 84.0625 L 102.9375 76.8125 L 102.84375 97 L 82 76.15625 z",ZLt="M 104.34375 17.5625 L 83.5 38.4375 L 83.40625 18.21875 L 76.125 25.5 L 76.09375 51.78125 L 102.3125 51.8125 L 102.3125 51.78125 L 109.625 44.5 L 89.1875 44.40625 L 110.1875 23.40625 L 104.34375 17.5625 z M 23.75 17.59375 L 17.90625 23.4375 L 38.90625 44.4375 L 18.5 44.53125 L 25.78125 51.8125 L 52 51.78125 L 51.96875 25.53125 L 44.6875 18.25 L 44.625 38.46875 L 23.75 17.59375 z M 25.6875 76.03125 L 18.375 83.3125 L 38.78125 83.40625 L 17.8125 104.40625 L 23.625 110.25 L 44.5 89.375 L 44.59375 109.59375 L 51.875 102.3125 L 51.875 76.0625 L 25.6875 76.03125 z M 102.375 76.15625 L 76.15625 76.1875 L 76.1875 102.4375 L 83.46875 109.71875 L 83.5625 89.53125 L 104.40625 110.375 L 110.25 104.53125 L 89.25 83.53125 L 109.6875 83.46875 L 102.375 76.15625 z";function UO(e,t){e=Vn(e);let n=new z9(t,e);n._exitFullScreenPath=ZLt,n._enterFullScreenPath=ELt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(UO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});UO.prototype.isDestroyed=function(){return!1};UO.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var H9=UO;var oGo=x(_(),1);var jZo=x(_(),1);function I1e(e,t){this._scene=e,this._duration=t;let n=this;this._command=yn(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(I1e.prototype,{scene:{get:function(){return this._scene}},command:{get:function(){return this._command}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}}});var K9=I1e;function BO(e,t,n){e=Vn(e);let i=new K9(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(BO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BO.prototype.isDestroyed=function(){return!1};BO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var J9=BO;var gGo=x(_(),1);var dGo=x(_(),1);var X1e=1e3;function Cm(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new LS({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=P1e,this._handleArrowUp=W1e;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=yn(function(i){if(i=i??Yy.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)PLt(t);else return XLt(t,t._geocoderServices,i)}),this.deselectSuggestion=function(){t._selectedSuggestion=void 0},this.handleKeyDown=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38;return(r||s)&&o.preventDefault(),!0},this.handleKeyUp=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38,a=o.key==="Enter"||o.keyCode===13;return s?W1e(t):r?P1e(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;F1e(t),t.destinationFound(t,o)},this.hideSuggestions=function(){t._showSuggestions=!1,t._selectedSuggestion=void 0},this.showSuggestions=function(){t._showSuggestions=!0},this.handleMouseover=function(i,o){i!==t._selectedSuggestion&&(t._selectedSuggestion=i)},this.keepExpanded=!1,this.autoComplete=e.autocomplete??!0,this.destinationFound=e.destinationFound??Cm.flyToDestination,this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Cm._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Cm.prototype,{complete:{get:function(){return this._complete}},scene:{get:function(){return this._scene}},search:{get:function(){return this._searchCommand}},selectedSuggestion:{get:function(){return this._selectedSuggestion}},suggestions:{get:function(){return this._suggestions}}});Cm.prototype.destroy=function(){this._suggestionSubscription.dispose()};function W1e(e){if(e._suggestions.length===0)return;let t=e._suggestions.indexOf(e._selectedSuggestion);if(t===-1||t===0){e._selectedSuggestion=void 0;return}let n=t-1;e._selectedSuggestion=e._suggestions[n],Cm._adjustSuggestionsScroll(e,n)}function P1e(e){if(e._suggestions.length===0)return;let t=e._suggestions.length,i=(e._suggestions.indexOf(e._selectedSuggestion)+1)%t;e._selectedSuggestion=e._suggestions[i],Cm._adjustSuggestionsScroll(e,i)}function GLt(e,t){let n=l(t)?t.availability:void 0;return l(n)?vT(t,[e]).then(function(i){return e=i[0],e.height+=X1e,e}):(e.height+=X1e,Promise.resolve(e))}function ALt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof le?A.equalsEpsilon(t.south,t.north,A.EPSILON7)&&A.equalsEpsilon(t.east,t.west,A.EPSILON7)?t=le.center(t):a=wT(t,n):t=i.cartesianToCartographic(t),l(a)||(a=GLt(t,r)),a.then(function(c){s=i.cartographicToCartesian(c)}).finally(function(){o.flyTo({destination:s,complete:function(){e._complete.raiseEvent()},duration:e._flightDuration,endTransform:P.IDENTITY})})}async function ILt(e,t,n){try{return{state:"fulfilled",value:await e.geocode(t,n),credits:e.credit}}catch(i){return{state:"rejected",reason:i}}}async function XLt(e,t,n){let i=e._searchText;if(w1e(i)){e.showSuggestions();return}e._isSearchInProgress=!0,e._wasGeocodeCancelled=!1;let o,r;for(o=0;o<t.length;o++){if(e._wasGeocodeCancelled)return;if(r=await ILt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Xq(e);let s=r.value;if(r.state==="fulfilled"&&l(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=v1e(e,UL.getCreditsFromResult(s[0]));l(a)||Iq(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Iq(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function v1e(e,t){return l(t)&&t.forEach(n=>Iq(e,n)),t}function Xq(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function WLt(e,t){let n=Vn(e._viewContainer),i=n.getElementsByClassName("search-results")[0],r=n.getElementsByTagName("li")[t];if(t===0){i.scrollTop=0;return}let s=r.offsetTop;s+r.clientHeight>i.clientHeight?i.scrollTop=s+r.clientHeight:s<i.scrollTop&&(i.scrollTop=s)}function PLt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function w1e(e){return/^\s*$/.test(e)}function F1e(e){Se.getObservable(e,"_suggestions").removeAll()}async function vLt(e){if(!e.autoComplete)return;let t=e._searchText;if(F1e(e),Xq(e),!w1e(t))for(let n of e._geocoderServices){let i=await n.geocode(t,Yy.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=UL.getCreditsFromResult(r);o=o&&!l(s),v1e(e,s)}),o&&Iq(e,n.credit)}if(e._suggestions.length>=5)return}}Cm.flyToDestination=ALt;Cm._updateSearchSuggestions=vLt;Cm._adjustSuggestionsScroll=WLt;Cm.prototype.isDestroyed=function(){return!1};Cm.prototype.destroy=function(){return Xq(this),he(this)};var Q9=Cm;var wLt="M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z",FLt="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z";function OO(e){let t=Vn(e.container),n=new Q9(e);n._startSearchPath=wLt,n._stopSearchPath=FLt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(d){let u=d.target;typeof d.composedPath=="function"&&(u=d.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(d){n._focusTextbox=!0,n.showSuggestions()},wt.supportsPointerEvents()?(document.addEventListener("pointerdown",this._onInputBegin,!0),t.addEventListener("pointerup",this._onInputEnd,!0),t.addEventListener("pointercancel",this._onInputEnd,!0)):(document.addEventListener("mousedown",this._onInputBegin,!0),t.addEventListener("mouseup",this._onInputEnd,!0),document.addEventListener("touchstart",this._onInputBegin,!0),t.addEventListener("touchend",this._onInputEnd,!0),t.addEventListener("touchcancel",this._onInputEnd,!0))}Object.defineProperties(OO.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});OO.prototype.isDestroyed=function(){return!1};OO.prototype.destroy=function(){let e=this._container;return wt.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var j9=OO;var EGo=x(_(),1);var TGo=x(_(),1);function MLt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function N1e(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)N1e(e.sublayers[n],t)}function YO(e){return e.modelName==="FullModel"}function k1e(e){return e.modelName==="Overview"}function D1e(e){return k1e(e)||YO(e)}function M1e(e,t){if(D1e(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function NLt(e,t){if(D1e(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");YO(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function kLt(e,t){try{let n=e.getAttributeNames();for(let i=0;i<n.length;i++)if(n[i]==="BldgLevel"){let o=e.getAttributeValues(n[i]);for(let r=0;r<o.length;r++)t.push(o[r])}t.sort((i,o)=>i-o),t.unshift("All")}catch(n){console.log(`There was an error getting attributes: ${n}`)}}function DLt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:MLt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){NLt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){N1e(n[i],this.viewModel);let o=M1e(n[i],this.viewModel);l(o)&&(k1e(o)||!l(this.viewModel.defaultLayer)&&YO(o))&&(this.viewModel.defaultLayer=o)}if(this.viewModel.topLayers.length===1&&n.length>0){e.show=!1;let i={name:"Full Model",modelName:"FullModel",visibility:e.show,sublayers:e.sublayers};this.viewModel.defaultLayer=M1e(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=YO(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return kLt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var q9=DLt;function ULt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
16036
|
+
`);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileStyle();return!0};Za.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),l(e)){if(e.isDestroyed()){this.tile=void 0,this.feature=void 0,this.tileset=void 0;return}let t=e.style;this._style!==e.style&&(this._shouldStyle?(e.style=this._style,this._shouldStyle=!1):(this._style=t,this.styleString=JSON.stringify(t.style,null," ")))}this.showStatistics&&(this._statisticsText=k9(e,!1),this._pickStatisticsText=k9(e,!0),this._resourceCacheStatisticsText=A1e())};Za.prototype.isDestroyed=function(){return!1};Za.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};Za.getStatistics=k9;var D9=Za;function NO(e,t){e=Vn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new D9(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleInspector"),n.appendChild(r),n.className="cesium-cesiumInspector cesium-3DTilesInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",n.appendChild(s);let a=Ja.createSection,c=Ja.createCheckbox,d=Ja.createRangeInput,u=Ja.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),g=a(s,"Update","updateVisible","toggleUpdate"),f=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),T=a(s,"Style","styleVisible","toggleStyle"),S=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let V=document.createElement("label");V.className="field-label",V.appendChild(document.createTextNode("Properties: "));let R=document.createElement("div");R.setAttribute("data-bind","text: properties"),C.appendChild(V),C.appendChild(R),h.appendChild(C),h.appendChild(u("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(u("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let Z=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),I=document.createElement("p");I.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),I.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),I.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",Z.appendChild(I),p.appendChild(c("Bounding Volumes","showBoundingVolumes")),p.appendChild(c("Content Volumes","showContentBoundingVolumes")),p.appendChild(c("Request Volumes","showRequestVolumes")),p.appendChild(c("Point Cloud Shading","pointCloudShading"));let W=document.createElement("div");W.setAttribute("data-bind","visible: pointCloudShading"),W.appendChild(d("Geometric Error Scale","geometricErrorScale",0,2,.01)),W.appendChild(d("Maximum Attenuation","maximumAttenuation",0,32,1)),W.appendChild(d("Base Resolution","baseResolution",0,1,.01)),W.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(W);let X=document.createElement("div");X.setAttribute("data-bind","visible: eyeDomeLighting"),X.appendChild(d("EDL Strength","eyeDomeLightingStrength",0,2,.1)),X.appendChild(d("EDL Radius","eyeDomeLightingRadius",0,4,.1)),W.appendChild(X),g.appendChild(c("Freeze Frame","freezeFrame")),g.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let w=document.createElement("div");w.appendChild(d("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),g.appendChild(w);let F=document.createElement("div");F.setAttribute("data-bind","visible: dynamicScreenSpaceError"),F.appendChild(d("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),F.appendChild(d("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),g.appendChild(F),f.appendChild(c("Performance","performance")),f.appendChild(i),f.appendChild(c("Statistics","showStatistics"));let b=document.createElement("div");b.className="cesium-3dTilesInspector-statistics",b.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),f.appendChild(b),f.appendChild(c("Pick Statistics","showPickStatistics"));let L=document.createElement("div");L.className="cesium-3dTilesInspector-statistics",L.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),f.appendChild(L),f.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let E=document.createElement("div");E.className="cesium-3dTilesInspector-statistics",E.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),f.appendChild(E);let G=document.createElement("div");T.appendChild(G),G.appendChild(document.createTextNode("Color Blend Mode: "));let v=document.createElement("select");v.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),G.appendChild(v);let M=document.createElement("textarea");M.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),G.className="cesium-cesiumInspector-styleEditor",G.appendChild(M);let B=u("Compile (Ctrl+Enter)","compileStyle");G.appendChild(B);let k=document.createElement("div");k.className="cesium-cesiumInspector-error",k.setAttribute("data-bind","text: editorError"),G.appendChild(k),y.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),y.appendChild(c("Geometric Error","showGeometricError")),y.appendChild(c("Rendering Statistics","showRenderingStatistics")),y.appendChild(c("Memory Usage (MB)","showMemoryUsage")),y.appendChild(c("Url","showUrl")),S.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let O=document.createElement("div");O.appendChild(d("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),S.appendChild(O);let N=document.createElement("div");N.appendChild(d("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),S.appendChild(N);let z=document.createElement("div");z.appendChild(d("Min. levels to skip","skipLevels",0,10,1)),S.appendChild(z),S.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),S.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(NO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});NO.prototype.isDestroyed=function(){return!1};NO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var U9=NO;var PZo=x(_(),1);var RZo=x(_(),1);function VLt(e){let t;if(l(e)){t="Command Statistics";let n=e.commandsInFrustums;for(let i in n)if(n.hasOwnProperty(i)){let o=parseInt(i,10),r;if(o===7)r="1, 2 and 3";else{let s=[];for(let a=2;a>=0;a--){let c=Math.pow(2,a);o>=c&&(s.push(a+1),o-=c)}r=s.reverse().join(" and ")}t+=`<br> ${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function Aq(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var LLt=new ln,RLt=new m;function B9(e,t){let n=this,i=e.canvas,o=new eu(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=yn(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=yn(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=yn(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(d){n._scene.debugShowFrustums=d,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(d){n._scene.debugShowFrustumPlanes=d,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(d){d?n._performanceDisplay=new _0({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=yn(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=yn(function(){if(n.primitiveReferenceFrame){let d=n._primitive.modelMatrix;n._modelMatrixPrimitive=new s9({modelMatrix:d}),n._scene.primitives.add(n._modelMatrixPrimitive)}else l(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=yn(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(d){return l(n._modelMatrixPrimitive)&&d.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?d.owner===n._primitive||d.owner===n._primitive._billboardCollection||d.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(d){r._surface.tileProvider._debug.wireframe=d,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(d){n._scene.debugShowDepthFrustum=d,n._scene.requestRender()}),this._incrementDepthFrustum=yn(function(){let d=n.depthFrustum+1;return n.depthFrustum=Aq(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._decrementDepthFrustum=yn(function(){let d=n.depthFrustum-1;return n.depthFrustum=Aq(1,n._numberOfFrustums,d),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(d){r._surface._debug.suspendLodUpdate=d,d||(n.filterTile=!1)});let s;this._showTileCoordinates=yn(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new C9({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=yn(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=yn(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],l(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(d){let u=n._scene.pick({x:d.position.x,y:d.position.y});l(u)&&(n.primitive=l(u.collection)?u.collection:u.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=yn(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(d){d?o.setInputAction(a,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)});function c(d){let u,h=r.ellipsoid,p=n._scene.camera.getPickRay(d.position,LLt),g=r.pick(p,n._scene,RLt);if(l(g)){let f=h.cartesianToCartographic(g),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let T=0;!u&&T<y.length;++T){let S=y[T];if(l(S))for(let C=0;!u&&C<S.length;++C){let V=S[C];le.contains(V.rectangle,f)&&(u=V)}}}n.tile=u,n.pickTileActive=!1}this._pickTile=yn(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(d){d?o.setInputAction(c,pn.LEFT_CLICK):o.removeInputAction(pn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(B9.prototype,{scene:{get:function(){return this._scene}},performanceContainer:{get:function(){return this._performanceContainer}},toggleDropDown:{get:function(){return this._toggleDropDown}},showPrimitiveBoundingSphere:{get:function(){return this._showPrimitiveBoundingSphere}},showPrimitiveReferenceFrame:{get:function(){return this._showPrimitiveReferenceFrame}},doFilterPrimitive:{get:function(){return this._doFilterPrimitive}},incrementDepthFrustum:{get:function(){return this._incrementDepthFrustum}},decrementDepthFrustum:{get:function(){return this._decrementDepthFrustum}},showTileCoordinates:{get:function(){return this._showTileCoordinates}},showTileBoundingSphere:{get:function(){return this._showTileBoundingSphere}},doFilterTile:{get:function(){return this._doFilterTile}},toggleGeneral:{get:function(){return this._toggleGeneral}},togglePrimitives:{get:function(){return this._togglePrimitives}},toggleTerrain:{get:function(){return this._toggleTerrain}},pickPrimitive:{get:function(){return this._pickPrimitive}},pickTile:{get:function(){return this._pickTile}},selectParent:{get:function(){let e=this;return yn(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return yn(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,l(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,l(this._modelMatrixPrimitive)&&(this._scene.primitives.remove(this._modelMatrixPrimitive),this._modelMatrixPrimitive=void 0),this._primitive=e,e.show=!1,setTimeout(function(){e.show=!0},50),this.showPrimitiveBoundingSphere(),this.showPrimitiveReferenceFrame(),this.doFilterPrimitive())}},tile:{get:function(){return this._tile},set:function(e){if(l(e)){this.hasPickedTile=!0;let t=this._tile;if(e!==t){this.tileText=`L: ${e.level} X: ${e.x} Y: ${e.y}`,this.tileText+=`<br>SW corner: ${e.rectangle.west}, ${e.rectangle.south}`,this.tileText+=`<br>NE corner: ${e.rectangle.east}, ${e.rectangle.north}`;let n=e.data;l(n)&&l(n.tileBoundingRegion)?this.tileText+=`<br>Min: ${n.tileBoundingRegion.minimumHeight} Max: ${n.tileBoundingRegion.maximumHeight}`:this.tileText+="<br>(Tile is not loaded)"}this._tile=e,this.showTileBoundingSphere(),this.doFilterTile()}else this.hasPickedTile=!1,this._tile=void 0}}});B9.prototype._update=function(){this.frustums&&(this.frustumStatisticText=VLt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=Aq(1,e,this.depthFrustum),this.depthFrustumText=`${this.depthFrustum} of ${e}`,this.performance&&this._performanceDisplay.update(),this.primitiveReferenceFrame&&(this._modelMatrixPrimitive.modelMatrix=this._primitive.modelMatrix),this.shaderCacheText=`Cached shaders: ${this._scene.context.shaderCache.numberOfShaders}`};B9.prototype.isDestroyed=function(){return!1};B9.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var O9=B9;function kO(e,t){e=Vn(e);let n=document.createElement("div"),i=new O9(t,n);this._viewModel=i,this._container=e;let o=document.createElement("div");this._element=o;let r=document.createElement("div");r.textContent="Cesium Inspector",r.className="cesium-cesiumInspector-button",r.setAttribute("data-bind","click: toggleDropDown"),o.appendChild(r),o.className="cesium-cesiumInspector",o.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : dropDownVisible, "cesium-cesiumInspector-hidden" : !dropDownVisible }'),e.appendChild(this._element);let s=document.createElement("div");s.className="cesium-cesiumInspector-dropDown",o.appendChild(s);let a=Ja.createSection,c=Ja.createCheckbox,d=a(s,"General","generalVisible","toggleGeneral"),u=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),u.appendChild(h),d.appendChild(u),d.appendChild(c("Show Frustum Planes","frustumPlanes")),d.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",d.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),d.appendChild(p);let g=document.createElement("div");d.appendChild(g);let f=document.createElement("span");f.setAttribute("data-bind",'html: " Frustum:"'),g.appendChild(f);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),g.appendChild(y);let T=document.createElement("input");T.type="button",T.value="-",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: decrementDepthFrustum"),g.appendChild(T);let S=document.createElement("input");S.type="button",S.value="+",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: incrementDepthFrustum"),g.appendChild(S);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),V=document.createElement("div");V.className="cesium-cesiumInspector-pickSection",C.appendChild(V);let R=document.createElement("input");R.type="button",R.value="Pick a primitive",R.className="cesium-cesiumInspector-pickButton",R.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let Z=document.createElement("div");Z.className="cesium-cesiumInspector-center",Z.appendChild(R),V.appendChild(Z),V.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),V.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),V.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),W=document.createElement("div");W.className="cesium-cesiumInspector-pickSection",I.appendChild(W);let X=document.createElement("input");X.type="button",X.value="Pick a tile",X.className="cesium-cesiumInspector-pickButton",X.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),Z=document.createElement("div"),Z.appendChild(X),Z.className="cesium-cesiumInspector-center",W.appendChild(Z);let w=document.createElement("div");W.appendChild(w);let F=document.createElement("input");F.type="button",F.value="Parent",F.className="cesium-cesiumInspector-pickButton",F.setAttribute("data-bind","click: selectParent");let b=document.createElement("input");b.type="button",b.value="NW",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: selectNW");let L=document.createElement("input");L.type="button",L.value="NE",L.className="cesium-cesiumInspector-pickButton",L.setAttribute("data-bind","click: selectNE");let E=document.createElement("input");E.type="button",E.value="SW",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind","click: selectSW");let G=document.createElement("input");G.type="button",G.value="SE",G.className="cesium-cesiumInspector-pickButton",G.setAttribute("data-bind","click: selectSE");let v=document.createElement("div");v.className="cesium-cesiumInspector-tileText",w.className="cesium-cesiumInspector-frustumStatistics",w.appendChild(v),w.setAttribute("data-bind","visible: hasPickedTile"),v.setAttribute("data-bind","html: tileText");let M=document.createElement("div");M.className="cesium-cesiumInspector-relativeText",M.textContent="Select relative:",w.appendChild(M);let B=document.createElement("table"),k=document.createElement("tr"),O=document.createElement("tr"),N=document.createElement("td");N.appendChild(F);let z=document.createElement("td");z.appendChild(b);let J=document.createElement("td");J.appendChild(L),k.appendChild(N),k.appendChild(z),k.appendChild(J);let ee=document.createElement("td"),H=document.createElement("td");H.appendChild(E);let te=document.createElement("td");te.appendChild(G),O.appendChild(ee),O.appendChild(H),O.appendChild(te),B.appendChild(k),B.appendChild(O),w.appendChild(B),W.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),W.appendChild(c("Show only selected","filterTile","hasPickedTile")),I.appendChild(c("Wireframe","wireframe")),I.appendChild(c("Suspend LOD update","suspendUpdates")),I.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(kO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});kO.prototype.isDestroyed=function(){return!1};kO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var Y9=kO;var YZo=x(_(),1);var MZo=x(_(),1);function I1e(e,t){this._scene=e,this._duration=t;let n=this;this._command=yn(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(I1e.prototype,{scene:{get:function(){return this._scene}},command:{get:function(){return this._command}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}}});var z9=I1e;function DO(e,t,n){e=Vn(e);let i=new z9(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(DO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});DO.prototype.isDestroyed=function(){return!1};DO.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var H9=DO;var oGo=x(_(),1);var jZo=x(_(),1);function UO(e,t){l(t)||(t=document.body),t=Vn(t);let n=this,i=Se.observable(gr.fullscreen),o=Se.observable(gr.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&gr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=yn(function(){gr.fullscreen?gr.exitFullscreen():gr.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Vn(e)??r.body,this._callback=function(){i(gr.fullscreen)},r.addEventListener(gr.changeEventName,this._callback)}Object.defineProperties(UO.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});UO.prototype.isDestroyed=function(){return!1};UO.prototype.destroy=function(){document.removeEventListener(gr.changeEventName,this._callback),he(this)};var K9=UO;var ELt="M 83.96875 17.5625 L 83.96875 17.59375 L 76.65625 24.875 L 97.09375 24.96875 L 76.09375 45.96875 L 81.9375 51.8125 L 102.78125 30.9375 L 102.875 51.15625 L 110.15625 43.875 L 110.1875 17.59375 L 83.96875 17.5625 z M 44.125 17.59375 L 17.90625 17.625 L 17.9375 43.90625 L 25.21875 51.1875 L 25.3125 30.96875 L 46.15625 51.8125 L 52 45.96875 L 31 25 L 51.4375 24.90625 L 44.125 17.59375 z M 46.0625 76.03125 L 25.1875 96.875 L 25.09375 76.65625 L 17.8125 83.9375 L 17.8125 110.21875 L 44 110.25 L 51.3125 102.9375 L 30.90625 102.84375 L 51.875 81.875 L 46.0625 76.03125 z M 82 76.15625 L 76.15625 82 L 97.15625 103 L 76.71875 103.0625 L 84.03125 110.375 L 110.25 110.34375 L 110.21875 84.0625 L 102.9375 76.8125 L 102.84375 97 L 82 76.15625 z",ZLt="M 104.34375 17.5625 L 83.5 38.4375 L 83.40625 18.21875 L 76.125 25.5 L 76.09375 51.78125 L 102.3125 51.8125 L 102.3125 51.78125 L 109.625 44.5 L 89.1875 44.40625 L 110.1875 23.40625 L 104.34375 17.5625 z M 23.75 17.59375 L 17.90625 23.4375 L 38.90625 44.4375 L 18.5 44.53125 L 25.78125 51.8125 L 52 51.78125 L 51.96875 25.53125 L 44.6875 18.25 L 44.625 38.46875 L 23.75 17.59375 z M 25.6875 76.03125 L 18.375 83.3125 L 38.78125 83.40625 L 17.8125 104.40625 L 23.625 110.25 L 44.5 89.375 L 44.59375 109.59375 L 51.875 102.3125 L 51.875 76.0625 L 25.6875 76.03125 z M 102.375 76.15625 L 76.15625 76.1875 L 76.1875 102.4375 L 83.46875 109.71875 L 83.5625 89.53125 L 104.40625 110.375 L 110.25 104.53125 L 89.25 83.53125 L 109.6875 83.46875 L 102.375 76.15625 z";function BO(e,t){e=Vn(e);let n=new K9(t,e);n._exitFullScreenPath=ZLt,n._enterFullScreenPath=ELt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(BO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BO.prototype.isDestroyed=function(){return!1};BO.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var J9=BO;var pGo=x(_(),1);var cGo=x(_(),1);var GLt="M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4853444 22.104033 11.423165 24.0625 13.84375 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 8.975298 28.305952 7.03125 25.875 7.03125 L 13.84375 7.03125 z",ALt="M 27.34375 1.65625 L 5.28125 27.9375 L 8.09375 30.3125 L 30.15625 4.03125 L 27.34375 1.65625 z M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4724893 20.232036 9.5676108 20.7379 9.75 21.21875 L 21.65625 7.03125 L 13.84375 7.03125 z M 28.21875 7.71875 L 14.53125 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 9.8371439 29.456025 8.4902779 28.21875 7.71875 z";function Iq(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?ALt:GLt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}Iq.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(Iq.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var Q9=Iq;function OO(e){e=Vn(e);let t=document.createElement("div");t.className="cesium-infoBox",t.setAttribute("data-bind",'css: { "cesium-infoBox-visible" : showInfo, "cesium-infoBox-bodyless" : _bodyless }'),e.appendChild(t);let n=document.createElement("div");n.className="cesium-infoBox-title",n.setAttribute("data-bind","text: titleText"),t.appendChild(n);let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-infoBox-camera",i.setAttribute("data-bind",'attr: { title: "Focus camera on object" },click: function () { cameraClicked.raiseEvent(this); },enable: enableCamera,cesiumSvgPath: { path: cameraIconPath, width: 32, height: 32 }'),t.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-infoBox-close",o.setAttribute("data-bind","click: function () { closeClicked.raiseEvent(this); }"),o.innerHTML="×",t.appendChild(o);let r=document.createElement("iframe");r.className="cesium-infoBox-iframe",r.setAttribute("sandbox","allow-same-origin allow-popups allow-forms"),r.setAttribute("data-bind","style : { maxHeight : maxHeightOffset(40) }"),r.setAttribute("allowfullscreen",!0),t.appendChild(r);let s=new Q9;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,d=c.createElement("link");d.href=Kt("Widgets/InfoBox/InfoBoxDescription.css"),d.rel="stylesheet",d.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(d),c.body.appendChild(u),a._descriptionSubscription=Ea(s,"description",function(h){r.style.height="5px",u.innerHTML=h;let p=null,g=u.firstElementChild;if(g!==null&&u.childNodes.length===1){let y=window.getComputedStyle(g);if(y!==null){let T=y["background-color"],S=U.fromCssColorString(T);l(S)&&S.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let f=u.getBoundingClientRect().height;r.style.height=`${f}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(OO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});OO.prototype.isDestroyed=function(){return!1};OO.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var j9=OO;var ZGo=x(_(),1);var TGo=x(_(),1);var X1e=1e3;function Cm(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new LS({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=P1e,this._handleArrowUp=W1e;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=yn(function(i){if(i=i??Yy.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)wLt(t);else return PLt(t,t._geocoderServices,i)}),this.deselectSuggestion=function(){t._selectedSuggestion=void 0},this.handleKeyDown=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38;return(r||s)&&o.preventDefault(),!0},this.handleKeyUp=function(i,o){let r=o.key==="ArrowDown"||o.key==="Down"||o.keyCode===40,s=o.key==="ArrowUp"||o.key==="Up"||o.keyCode===38,a=o.key==="Enter"||o.keyCode===13;return s?W1e(t):r?P1e(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;F1e(t),t.destinationFound(t,o)},this.hideSuggestions=function(){t._showSuggestions=!1,t._selectedSuggestion=void 0},this.showSuggestions=function(){t._showSuggestions=!0},this.handleMouseover=function(i,o){i!==t._selectedSuggestion&&(t._selectedSuggestion=i)},this.keepExpanded=!1,this.autoComplete=e.autocomplete??!0,this.destinationFound=e.destinationFound??Cm.flyToDestination,this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){Cm._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(Cm.prototype,{complete:{get:function(){return this._complete}},scene:{get:function(){return this._scene}},search:{get:function(){return this._searchCommand}},selectedSuggestion:{get:function(){return this._selectedSuggestion}},suggestions:{get:function(){return this._suggestions}}});Cm.prototype.destroy=function(){this._suggestionSubscription.dispose()};function W1e(e){if(e._suggestions.length===0)return;let t=e._suggestions.indexOf(e._selectedSuggestion);if(t===-1||t===0){e._selectedSuggestion=void 0;return}let n=t-1;e._selectedSuggestion=e._suggestions[n],Cm._adjustSuggestionsScroll(e,n)}function P1e(e){if(e._suggestions.length===0)return;let t=e._suggestions.length,i=(e._suggestions.indexOf(e._selectedSuggestion)+1)%t;e._selectedSuggestion=e._suggestions[i],Cm._adjustSuggestionsScroll(e,i)}function ILt(e,t){let n=l(t)?t.availability:void 0;return l(n)?vT(t,[e]).then(function(i){return e=i[0],e.height+=X1e,e}):(e.height+=X1e,Promise.resolve(e))}function XLt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof le?A.equalsEpsilon(t.south,t.north,A.EPSILON7)&&A.equalsEpsilon(t.east,t.west,A.EPSILON7)?t=le.center(t):a=wT(t,n):t=i.cartesianToCartographic(t),l(a)||(a=ILt(t,r)),a.then(function(c){s=i.cartographicToCartesian(c)}).finally(function(){o.flyTo({destination:s,complete:function(){e._complete.raiseEvent()},duration:e._flightDuration,endTransform:P.IDENTITY})})}async function WLt(e,t,n){try{return{state:"fulfilled",value:await e.geocode(t,n),credits:e.credit}}catch(i){return{state:"rejected",reason:i}}}async function PLt(e,t,n){let i=e._searchText;if(w1e(i)){e.showSuggestions();return}e._isSearchInProgress=!0,e._wasGeocodeCancelled=!1;let o,r;for(o=0;o<t.length;o++){if(e._wasGeocodeCancelled)return;if(r=await WLt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Wq(e);let s=r.value;if(r.state==="fulfilled"&&l(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=v1e(e,UL.getCreditsFromResult(s[0]));l(a)||Xq(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Xq(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function v1e(e,t){return l(t)&&t.forEach(n=>Xq(e,n)),t}function Wq(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function vLt(e,t){let n=Vn(e._viewContainer),i=n.getElementsByClassName("search-results")[0],r=n.getElementsByTagName("li")[t];if(t===0){i.scrollTop=0;return}let s=r.offsetTop;s+r.clientHeight>i.clientHeight?i.scrollTop=s+r.clientHeight:s<i.scrollTop&&(i.scrollTop=s)}function wLt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function w1e(e){return/^\s*$/.test(e)}function F1e(e){Se.getObservable(e,"_suggestions").removeAll()}async function FLt(e){if(!e.autoComplete)return;let t=e._searchText;if(F1e(e),Wq(e),!w1e(t))for(let n of e._geocoderServices){let i=await n.geocode(t,Yy.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=UL.getCreditsFromResult(r);o=o&&!l(s),v1e(e,s)}),o&&Xq(e,n.credit)}if(e._suggestions.length>=5)return}}Cm.flyToDestination=XLt;Cm._updateSearchSuggestions=FLt;Cm._adjustSuggestionsScroll=vLt;Cm.prototype.isDestroyed=function(){return!1};Cm.prototype.destroy=function(){return Wq(this),he(this)};var q9=Cm;var MLt="M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z",NLt="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z";function YO(e){let t=Vn(e.container),n=new q9(e);n._startSearchPath=MLt,n._stopSearchPath=NLt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(d){let u=d.target;typeof d.composedPath=="function"&&(u=d.composedPath()[0]),t.contains(u)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(d){n._focusTextbox=!0,n.showSuggestions()},wt.supportsPointerEvents()?(document.addEventListener("pointerdown",this._onInputBegin,!0),t.addEventListener("pointerup",this._onInputEnd,!0),t.addEventListener("pointercancel",this._onInputEnd,!0)):(document.addEventListener("mousedown",this._onInputBegin,!0),t.addEventListener("mouseup",this._onInputEnd,!0),document.addEventListener("touchstart",this._onInputBegin,!0),t.addEventListener("touchend",this._onInputEnd,!0),t.addEventListener("touchcancel",this._onInputEnd,!0))}Object.defineProperties(YO.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});YO.prototype.isDestroyed=function(){return!1};YO.prototype.destroy=function(){let e=this._container;return wt.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var $9=YO;var MGo=x(_(),1);var XGo=x(_(),1);function kLt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function N1e(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)N1e(e.sublayers[n],t)}function zO(e){return e.modelName==="FullModel"}function k1e(e){return e.modelName==="Overview"}function D1e(e){return k1e(e)||zO(e)}function M1e(e,t){if(D1e(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function DLt(e,t){if(D1e(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");zO(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function ULt(e,t){try{let n=e.getAttributeNames();for(let i=0;i<n.length;i++)if(n[i]==="BldgLevel"){let o=e.getAttributeValues(n[i]);for(let r=0;r<o.length;r++)t.push(o[r])}t.sort((i,o)=>i-o),t.unshift("All")}catch(n){console.log(`There was an error getting attributes: ${n}`)}}function BLt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:kLt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){DLt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){N1e(n[i],this.viewModel);let o=M1e(n[i],this.viewModel);l(o)&&(k1e(o)||!l(this.viewModel.defaultLayer)&&zO(o))&&(this.viewModel.defaultLayer=o)}if(this.viewModel.topLayers.length===1&&n.length>0){e.show=!1;let i={name:"Full Model",modelName:"FullModel",visibility:e.show,sublayers:e.sublayers};this.viewModel.defaultLayer=M1e(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=zO(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return ULt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var eN=BLt;function OLt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
16037
16037
|
<h3>Building explorer</h3>
|
|
16038
16038
|
<select
|
|
16039
16039
|
data-bind="options: topLayers, optionsText: 'name', optionsAfterRender: setOptionDisable, value: currentLayer"
|
|
@@ -16075,8 +16075,8 @@ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:functio
|
|
|
16075
16075
|
</li>
|
|
16076
16076
|
</ul>
|
|
16077
16077
|
</ul>
|
|
16078
|
-
</div>`,n.appendChild(i);let o=new q9(t);Se.track(o),Se.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var Wq=ULt;var MGo=x(_(),1);var IGo=x(_(),1);var BLt="M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4853444 22.104033 11.423165 24.0625 13.84375 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 8.975298 28.305952 7.03125 25.875 7.03125 L 13.84375 7.03125 z",OLt="M 27.34375 1.65625 L 5.28125 27.9375 L 8.09375 30.3125 L 30.15625 4.03125 L 27.34375 1.65625 z M 13.84375 7.03125 C 11.412798 7.03125 9.46875 8.975298 9.46875 11.40625 L 9.46875 11.59375 L 2.53125 7.21875 L 2.53125 24.0625 L 9.46875 19.6875 C 9.4724893 20.232036 9.5676108 20.7379 9.75 21.21875 L 21.65625 7.03125 L 13.84375 7.03125 z M 28.21875 7.71875 L 14.53125 24.0625 L 25.875 24.0625 C 28.305952 24.0625 30.28125 22.087202 30.28125 19.65625 L 30.28125 11.40625 C 30.28125 9.8371439 29.456025 8.4902779 28.21875 7.71875 z";function Pq(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?OLt:BLt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}Pq.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(Pq.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var $9=Pq;function zO(e){e=Vn(e);let t=document.createElement("div");t.className="cesium-infoBox",t.setAttribute("data-bind",'css: { "cesium-infoBox-visible" : showInfo, "cesium-infoBox-bodyless" : _bodyless }'),e.appendChild(t);let n=document.createElement("div");n.className="cesium-infoBox-title",n.setAttribute("data-bind","text: titleText"),t.appendChild(n);let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-infoBox-camera",i.setAttribute("data-bind",'attr: { title: "Focus camera on object" },click: function () { cameraClicked.raiseEvent(this); },enable: enableCamera,cesiumSvgPath: { path: cameraIconPath, width: 32, height: 32 }'),t.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-infoBox-close",o.setAttribute("data-bind","click: function () { closeClicked.raiseEvent(this); }"),o.innerHTML="×",t.appendChild(o);let r=document.createElement("iframe");r.className="cesium-infoBox-iframe",r.setAttribute("sandbox","allow-same-origin allow-popups allow-forms"),r.setAttribute("data-bind","style : { maxHeight : maxHeightOffset(40) }"),r.setAttribute("allowfullscreen",!0),t.appendChild(r);let s=new $9;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,d=c.createElement("link");d.href=Kt("Widgets/InfoBox/InfoBoxDescription.css"),d.rel="stylesheet",d.type="text/css";let u=c.createElement("div");u.className="cesium-infoBox-description",c.head.appendChild(d),c.body.appendChild(u),a._descriptionSubscription=Ea(s,"description",function(h){r.style.height="5px",u.innerHTML=h;let p=null,g=u.firstElementChild;if(g!==null&&u.childNodes.length===1){let y=window.getComputedStyle(g);if(y!==null){let T=y["background-color"],S=U.fromCssColorString(T);l(S)&&S.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let f=u.getBoundingClientRect().height;r.style.height=`${f}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(zO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});zO.prototype.isDestroyed=function(){return!1};zO.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var eN=zO;var jGo=x(_(),1);var OGo=x(_(),1);function HO(e){this._scene=e,this._orthographic=e.camera.frustum instanceof tn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=yn(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new dr,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof tn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(HO.prototype,{scene:{get:function(){return this._scene}},toggleDropDown:{get:function(){return this._toggleDropDown}},switchToPerspective:{get:function(){return this._switchToPerspective}},switchToOrthographic:{get:function(){return this._switchToOrthographic}},isOrthographicProjection:{get:function(){return this._orthographic}}});HO.prototype.isDestroyed=function(){return!1};HO.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var tN=HO;var YLt="M 28.15625,10.4375 9.125,13.21875 13.75,43.25 41.75,55.09375 50.8125,37 54.5,11.9375 z m 0.125,3 19.976451,0.394265 L 43.03125,16.875 22.6875,14.28125 z M 50.971746,15.705477 47.90625,36.03125 42.53125,46 44.84375,19.3125 z M 12.625,16.03125 l 29.15625,3.6875 -2.65625,31 L 16.4375,41.125 z",zLt="m 31.560594,6.5254438 -20.75,12.4687502 0.1875,24.5625 22.28125,11.8125 19.5,-12 0.65625,-0.375 0,-0.75 0.0312,-23.21875 z m 0.0625,3.125 16.65625,9.5000002 -16.125,10.28125 -17.34375,-9.71875 z m 18.96875,11.1875002 0.15625,20.65625 -17.46875,10.59375 0.15625,-20.28125 z m -37.0625,1.25 17.21875,9.625 -0.15625,19.21875 -16.9375,-9 z";function KO(e,t){e=Vn(e);let n=new tN(t);n._perspectivePath=YLt,n._orthographicPath=zLt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(KO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KO.prototype.isDestroyed=function(){return!1};KO.prototype.destroy=function(){return this._viewModel.destroy(),wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var nN=KO;var uAo=x(_(),1);var oAo=x(_(),1);function vq(e){this._scene=e.scene,this.lowFrameRateMessage=e.lowFrameRateMessage??"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.",this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=yn(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=l9.fromScene(e.scene);this._unsubscribeLowFrameRate=n.lowFrameRate.addEventListener(function(){t.lowFrameRateMessageDismissed||(t.showingLowFrameRateMessage=!0)}),this._unsubscribeNominalFrameRate=n.nominalFrameRate.addEventListener(function(){t.showingLowFrameRateMessage=!1})}Object.defineProperties(vq.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});vq.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var iN=vq;function JO(e){let t=Vn(e.container),n=new iN(e),i=document.createElement("div");i.className="cesium-performance-watchdog-message-area",i.setAttribute("data-bind","visible: showingLowFrameRateMessage");let o=document.createElement("button");o.setAttribute("type","button"),o.className="cesium-performance-watchdog-message-dismiss",o.innerHTML="×",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(JO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JO.prototype.isDestroyed=function(){return!1};JO.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var oN=JO;var LAo=x(_(),1);var yAo=x(_(),1);function QO(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new dr,this._eventHelper.add(e.morphStart,i),this._duration=t??2,this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=yn(function(){e.morphTo2D(n._duration)}),this._morphTo3D=yn(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=yn(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(QO.prototype,{scene:{get:function(){return this._scene}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}},toggleDropDown:{get:function(){return this._toggleDropDown}},morphTo2D:{get:function(){return this._morphTo2D}},morphTo3D:{get:function(){return this._morphTo3D}},morphToColumbusView:{get:function(){return this._morphToColumbusView}}});QO.prototype.isDestroyed=function(){return!1};QO.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var rN=QO;var HLt="m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z",KLt="m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z",JLt="m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z";function jO(e,t,n){e=Vn(e);let i=new rN(t,n);i._globePath=HLt,i._flatMapPath=KLt,i._columbusViewPath=JLt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(d){o.contains(d.target)||(i.dropDownVisible=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(jO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});jO.prototype.isDestroyed=function(){return!1};jO.prototype.destroy=function(){return this._viewModel.destroy(),wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var sN=jO;var FAo=x(_(),1);var AAo=x(_(),1);var QLt=new D,qO="-1000px";function aN(e,t,n){this._scene=e,this._screenPositionX=qO,this._screenPositionY=qO,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Fi.worldToWindowCoordinates(e,i,o)}}aN.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,QLt);if(!l(e))this._screenPositionX=qO,this._screenPositionY=qO;else{let t=this._container,n=t.parentNode.clientWidth,i=t.parentNode.clientHeight,o=this._selectionIndicatorElement.clientWidth,r=o*.5;e.x=Math.min(Math.max(e.x,-o),n+o)-r,e.y=Math.min(Math.max(e.y,-o),i+o)-r,this._screenPositionX=`${Math.floor(e.x+.25)}px`,this._screenPositionY=`${Math.floor(e.y+.25)}px`}}};aN.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Hr.EXPONENTIAL_OUT})};aN.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Hr.EXPONENTIAL_OUT})};Object.defineProperties(aN.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var cN=aN;function $O(e,t){e=Vn(e),this._container=e;let n=document.createElement("div");n.className="cesium-selection-wrapper",n.setAttribute("data-bind",'style: { "top" : _screenPositionY, "left" : _screenPositionX },css: { "cesium-selection-wrapper-visible" : isVisible }'),e.appendChild(n),this._element=n;let i="http://www.w3.org/2000/svg",o="M -34 -34 L -34 -11.25 L -30 -15.25 L -30 -30 L -15.25 -30 L -11.25 -34 L -34 -34 z M 11.25 -34 L 15.25 -30 L 30 -30 L 30 -15.25 L 34 -11.25 L 34 -34 L 11.25 -34 z M -34 11.25 L -34 34 L -11.25 34 L -15.25 30 L -30 30 L -30 15.25 L -34 11.25 z M 34 11.25 L 30 15.25 L 30 30 L 15.25 30 L 11.25 34 L 34 34 L 34 11.25 z",r=document.createElementNS(i,"svg:svg");r.setAttribute("width",160),r.setAttribute("height",160),r.setAttribute("viewBox","0 0 160 160");let s=document.createElementNS(i,"g");s.setAttribute("transform","translate(80,80)"),r.appendChild(s);let a=document.createElementNS(i,"path");a.setAttribute("data-bind","attr: { transform: _transform }"),a.setAttribute("d",o),s.appendChild(a),n.appendChild(r);let c=new cN(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties($O.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});$O.prototype.isDestroyed=function(){return!1};$O.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var lN=$O;var KAo=x(_(),1);var DAo=x(_(),1);function U1e(){this.showInstructions=!1;let e=this;this._command=yn(function(){e.showInstructions=!e.showInstructions}),this._showClick=yn(function(){e._touch=!1}),this._showTouch=yn(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(U1e.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var dN=U1e;function eY(e){let t=Vn(e.container),n=new dN,i=e.instructionsInitiallyVisible??!1;n.showInstructions=i,n._svgPath="M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.328,24.371h-2.707v-2.596h2.707V24.371zM17.328,19.003v0.858h-2.707v-1.057c0-3.19,3.63-3.696,3.63-5.963c0-1.034-0.924-1.826-2.134-1.826c-1.254,0-2.354,0.924-2.354,0.924l-1.541-1.915c0,0,1.519-1.584,4.137-1.584c2.487,0,4.796,1.54,4.796,4.136C21.156,16.208,17.328,16.627,17.328,19.003z";let o=document.createElement("span");o.className="cesium-navigationHelpButton-wrapper",t.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-navigation-help-button",r.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 32, height: 32 }"),o.appendChild(r);let s=document.createElement("div");s.className="cesium-navigation-help",s.setAttribute("data-bind",'css: { "cesium-navigation-help-visible" : showInstructions}'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-navigation-button cesium-navigation-button-left",a.setAttribute("data-bind",'click: showClick, css: {"cesium-navigation-button-selected": !_touch, "cesium-navigation-button-unselected": _touch}');let c=document.createElement("img");c.src=Kt("Widgets/Images/NavigationHelp/Mouse.svg"),c.className="cesium-navigation-button-icon",c.style.width="25px",c.style.height="25px",a.appendChild(c),a.appendChild(document.createTextNode("Mouse"));let d=document.createElement("button");d.type="button",d.className="cesium-navigation-button cesium-navigation-button-right",d.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=Kt("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",d.appendChild(u),d.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(d);let h=document.createElement("div");h.className="cesium-click-navigation-help cesium-navigation-help-instructions",h.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),h.innerHTML=` <table> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseLeft.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">Left click + drag</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseRight.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Right click + drag, or</div> <div class="cesium-navigation-help-details">Mouse wheel scroll</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseMiddle.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Rotate view</div> <div class="cesium-navigation-help-details">Middle click + drag, or</div> <div class="cesium-navigation-help-details">CTRL + Left/Right click + drag</div> </td> </tr> </table>`,s.appendChild(h);let p=document.createElement("div");p.className="cesium-touch-navigation-help cesium-navigation-help-instructions",p.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),p.innerHTML=` <table> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchDrag.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">One finger drag</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchZoom.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Two finger pinch</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchTilt.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Tilt view</div> <div class="cesium-navigation-help-details">Two finger drag, same direction</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(g){o.contains(g.target)||(n.showInstructions=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(eY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});eY.prototype.isDestroyed=function(){return!1};eY.prototype.destroy=function(){return wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var uN=eY;var sIo=x(_(),1);var jAo=x(_(),1);function MS(e,t,n){this._color=e,this._height=t,this._base=n??0}MS.prototype.getHeight=function(){return this._height};MS.prototype.getBase=function(){return this._base};MS.prototype.getStartTime=function(){return this._start};MS.prototype.getStopTime=function(){return this._stop};MS.prototype.setRange=function(e,t){this._start=e,this._stop=t};MS.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=j.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=j.secondsDifference(this._stop,e.epochJulian),r=Math.round(e.timeBarWidth*e.getAlpha(o))-i;i<0&&(r+=i,i=0),i+r>e.timeBarWidth&&(r=e.timeBarWidth-i),r>0&&(t=`<span class="cesium-timeline-highlight" style="left: ${i.toString()}px; width: ${r.toString()}px; bottom: ${this._base.toString()}px; height: ${this._height}px; background-color: ${this._color};"></span>`)}return t};var mN=MS;var eIo=x(_(),1);function B1e(e,t,n,i){this.interval=e,this.height=t,this.color=n||new U(.5,.5,.5,1),this.backgroundColor=i||new U(0,0,0,0)}B1e.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=j.addSeconds(t.startJulian,t.duration,new j);if(j.lessThan(n,o)&&j.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(j.lessThanOrEquals(n,r)&&j.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let d=j.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new j);!l(a)&&j.greaterThanOrEquals(d,n)?a=s:!l(c)&&j.greaterThanOrEquals(d,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),l(a)&&(l(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var hN=B1e;var wq=1e12,Vm={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},bl={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},ex=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800,1296e3,2592e3,5184e3,7776e3,15552e3,31536e3,63072e3,126144e3,15768e4,31536e4,63072e4,126144e4,15768e5,31536e5,63072e5,126144e5,15768e6,31536e6],jLt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function gl(e,t){e=Vn(e);let n=e.ownerDocument;this.container=e;let i=n.createElement("div");i.className="cesium-timeline-main",e.appendChild(i),this._topDiv=i,this._endJulian=void 0,this._epochJulian=void 0,this._lastXPos=void 0,this._scrubElement=void 0,this._startJulian=void 0,this._timeBarSecondsSpan=void 0,this._clock=t,this._scrubJulian=t.currentTime,this._mainTicSpan=-1,this._mouseMode=Vm.none,this._touchMode=bl.none,this._touchState={centerX:0,spanX:0},this._mouseX=0,this._timelineDrag=0,this._timelineDragLocation=void 0,this._lastHeight=void 0,this._lastWidth=void 0,this._topDiv.innerHTML='<div class="cesium-timeline-bar"></div><div class="cesium-timeline-trackContainer"><canvas class="cesium-timeline-tracks" width="10" height="1"></canvas></div><div class="cesium-timeline-needle"></div><span class="cesium-timeline-ruler"></span>',this._timeBarEle=this._topDiv.childNodes[0],this._trackContainer=this._topDiv.childNodes[1],this._trackListEle=this._topDiv.childNodes[1].childNodes[0],this._needleEle=this._topDiv.childNodes[2],this._rulerEle=this._topDiv.childNodes[3],this._context=this._trackListEle.getContext("2d"),this._trackList=[],this._highlightRanges=[],this.zoomTo(t.startTime,t.stopTime),this._onMouseDown=qLt(this),this._onMouseUp=$Lt(this),this._onMouseMove=eRt(this),this._onMouseWheel=tRt(this),this._onTouchStart=nRt(this),this._onTouchMove=oRt(this),this._onTouchEnd=iRt(this);let o=this._timeBarEle;n.addEventListener("mouseup",this._onMouseUp,!1),n.addEventListener("mousemove",this._onMouseMove,!1),o.addEventListener("mousedown",this._onMouseDown,!1),o.addEventListener("DOMMouseScroll",this._onMouseWheel,!1),o.addEventListener("mousewheel",this._onMouseWheel,!1),o.addEventListener("touchstart",this._onTouchStart,!1),o.addEventListener("touchmove",this._onTouchMove,!1),o.addEventListener("touchend",this._onTouchEnd,!1),o.addEventListener("touchcancel",this._onTouchEnd,!1),this._topDiv.oncontextmenu=function(){return!1},t.onTick.addEventListener(this.updateFromClock,this),this.updateFromClock()}gl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};gl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};gl.prototype.isDestroyed=function(){return!1};gl.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};gl.prototype.addHighlightRange=function(e,t,n){let i=new mN(e,t,n);return this._highlightRanges.push(i),this.resize(),i};gl.prototype.addTrack=function(e,t,n,i){let o=new hN(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};gl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=j.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Yr.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=j.secondsDifference(o,i),s=j.secondsDifference(i,this._startJulian),a=j.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=j.addSeconds(this._endJulian,s,new j),this._startJulian=i,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=j.addSeconds(this._startJulian,a,new j),this._endJulian=o,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian))}this._makeTics();let n=document.createEvent("Event");n.initEvent("setzoom",!0,!0),n.startJulian=this._startJulian,n.endJulian=this._endJulian,n.epochJulian=this._epochJulian,n.totalSpan=this._timeBarSecondsSpan,n.mainTicSpan=this._mainTicSpan,this._topDiv.dispatchEvent(n)};gl.prototype.zoomFrom=function(e){let t=j.secondsDifference(this._scrubJulian,this._startJulian);e>1||t<0||t>this._timeBarSecondsSpan?t=this._timeBarSecondsSpan*.5:t+=t-this._timeBarSecondsSpan*.5;let n=this._timeBarSecondsSpan-t;this.zoomTo(j.addSeconds(this._startJulian,t-t*e,new j),j.addSeconds(this._endJulian,n*e-n,new j))};function Fq(e){return e<10?`0${e.toString()}`:e.toString()}gl.prototype.makeLabel=function(e){let t=j.toGregorianDate(e),n=t.millisecond,i=" UTC";if(n>0&&this._timeBarSecondsSpan<3600){for(i=Math.floor(n).toString();i.length<3;)i=`0${i}`;i=`.${i}`}return`${jLt[t.month-1]} ${t.day} ${t.year} ${Fq(t.hour)}:${Fq(t.minute)}:${Fq(t.second)}${i}`};gl.prototype.smallestTicInPixels=7;gl.prototype._makeTics=function(){let e=this._timeBarEle,t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan),i=n-8,o,r=this;this._needleEle.style.left=`${n.toString()}px`;let s="",a=.01,c=31536e6,d=1e-10,u=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=j.addSeconds(this._startJulian,a,new j)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=j.addSeconds(this._startJulian,c,new j));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let g=this._startJulian,f=Math.min(h/p*1e-5,.4),y,T=j.toGregorianDate(g);h>31536e4?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):h>31536e3?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):h>86400?y=j.fromDate(new Date(Date.UTC(T.year,0))):y=j.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let S=j.secondsDifference(this._startJulian,j.addSeconds(y,f,new j)),C=S+h;this._epochJulian=y;function V(N){return Math.floor(S/N)*N}function R(N,z){return Math.ceil(N/z+.5)*z}function Z(N){return(N-S)/h}function I(N,z){return N-z*Math.round(N/z)}this._rulerEle.innerHTML=this.makeLabel(j.addSeconds(this._endJulian,-a,new j));let W=this._rulerEle.offsetWidth+20;W<30&&(W=180);let X=u;u-=d;let w={startTime:S,startJulian:g,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:Z};this._highlightRanges.forEach(function(N){s+=N.render(w)});let F=0,b=0,L=0,E=W/p;E>1&&(E=1),E*=this._timeBarSecondsSpan;let G=-1,v=-1,M=ex.length,B;for(B=0;B<M;++B){let N=ex[B];if(++G,F=N,N>E&&N>u)break;v<0&&p*(N/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(v=G)}if(G>0){for(;G>0;)if(--G,Math.abs(I(F,ex[G]))<1e-5){ex[G]>=u&&(b=ex[G]);break}if(v>=0)for(;v<G;){if(Math.abs(I(b,ex[v]))<1e-5&&ex[v]>=u){L=ex[v];break}++v}}u=X,u>d&&L<1e-5&&Math.abs(u-F)>d&&(L=u,u<=F+d&&(b=0));let k=-999999,O;if(p*(L/this._timeBarSecondsSpan)>=3)for(o=V(L);o<=C;o=R(o,L))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*Z(o)).toString()}px;"></span>`;if(p*(b/this._timeBarSecondsSpan)>=3)for(o=V(b);o<=C;o=R(o,b))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*Z(o)).toString()}px;"></span>`;if(p*(F/this._timeBarSecondsSpan)>=2){this._mainTicSpan=F,C+=F,o=V(F);let N=j.computeTaiMinusUtc(y);for(;o<=C;){let z=j.addSeconds(g,o-S,new j);if(F>2.1){let te=j.computeTaiMinusUtc(z);Math.abs(te-N)>.1&&(o+=te-N,z=j.addSeconds(g,o-S,new j))}let J=Math.round(p*Z(o)),ee=this.makeLabel(z);this._rulerEle.innerHTML=ee,O=this._rulerEle.offsetWidth,O<10&&(O=W);let H=J-(O/2-1);H>k?(k=H+O+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${J.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${H.toString()}px;">${ee}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${J.toString()}px;"></span>`,o=R(o,F)}}else this._mainTicSpan=-1;s+=`<span class="cesium-timeline-icon16" style="left:${i}px;bottom:0;background-position: 0 0;"></span>`,e.innerHTML=s,this._scrubElement=e.lastChild,this._context.clearRect(0,0,this._trackListEle.width,this._trackListEle.height),w.y=0,this._trackList.forEach(function(N){N.render(r._context,w),w.y+=N.height})};gl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan);this._lastXPos!==n&&(this._lastXPos=n,e.style.left=`${n-8}px`,this._needleEle.style.left=`${n}px`)}l(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(j.addSeconds(this._startJulian,this._timelineDrag,new j),j.addSeconds(this._endJulian,this._timelineDrag,new j)))};gl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=j.addSeconds(this._startJulian,t,new j),this._scrubElement){let i=e-8;this._scrubElement.style.left=`${i.toString()}px`,this._needleEle.style.left=`${e.toString()}px`}let n=document.createEvent("Event");n.initEvent("settime",!0,!0),n.clientX=e,n.timeSeconds=t,n.timeJulian=this._scrubJulian,n.clock=this._clock,this._topDiv.dispatchEvent(n)};function qLt(e){return function(t){e._mouseMode!==Vm.touchOnly&&(t.button===0?(e._mouseMode=Vm.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Vm.zoom:e._mouseMode=Vm.slide)),t.preventDefault()}}function $Lt(e){return function(t){e._mouseMode=Vm.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function eRt(e){return function(t){let n;if(e._mouseMode===Vm.scrub){t.preventDefault();let i=t.clientX-e._topDiv.getBoundingClientRect().left;i<0?(e._timelineDragLocation=0,e._timelineDrag=-.01*e._timeBarSecondsSpan):i>e._topDiv.clientWidth?(e._timelineDragLocation=e._topDiv.clientWidth,e._timelineDrag=.01*e._timeBarSecondsSpan):(e._timelineDragLocation=void 0,e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))}else if(e._mouseMode===Vm.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(j.addSeconds(e._startJulian,i,new j),j.addSeconds(e._endJulian,i,new j))}}else e._mouseMode===Vm.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function tRt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;wq=Math.max(Math.min(Math.abs(n),wq),1),n/=wq,e.zoomFrom(Math.pow(1.05,-n))}}function nRt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Vm.touchOnly,n===1?(i=j.secondsDifference(e._scrubJulian,e._startJulian),o=Math.round(i*e._topDiv.clientWidth/e._timeBarSecondsSpan+r),Math.abs(t.touches[0].clientX-o)<50?(e._touchMode=bl.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=bl.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=bl.slideZoom,e._touchState.centerX=(t.touches[0].clientX+t.touches[1].clientX)*.5-r,e._touchState.spanX=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):e._touchMode=bl.ignore}}function iRt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===bl.singleTap?(e._touchMode=bl.scrub,e._onTouchMove(t)):e._touchMode===bl.scrub&&e._onTouchMove(t),e._mouseMode=Vm.touchOnly,n!==1?e._touchMode=n>0?bl.ignore:bl.none:e._touchMode===bl.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function oRt(e){return function(t){let n,i,o,r,s,a,c=1,d=e._topDiv.getBoundingClientRect().left;e._touchMode===bl.singleTap&&(e._touchMode=bl.slideZoom),e._mouseMode=Vm.touchOnly,e._touchMode===bl.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-d,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===bl.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-d,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-d,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=j.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new j)):(n=e._touchState.centerX-r,a=j.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new j)),e.zoomTo(a,j.addSeconds(a,e._timeBarSecondsSpan*c,new j)),e._touchState.centerX=r,e._touchState.spanX=s))}}gl.prototype.resize=function(){let e=this.container.clientWidth,t=this.container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;this._trackContainer.style.height=`${t}px`;let n=1;this._trackList.forEach(function(i){n+=i.height}),this._trackListEle.style.height=`${n.toString()}px`,this._trackListEle.width=this._trackListEle.clientWidth,this._trackListEle.height=n,this._makeTics(),this._lastXPos=void 0,this._lastWidth=e,this._lastHeight=t};var fN=gl;var CIo=x(_(),1);var bIo=x(_(),1);var K1e=x(H1e(),1);function aRt(e){let t=!1,n=window.screen;return l(n)&&(l(n.lockOrientation)?t=n.lockOrientation(e):l(n.mozLockOrientation)?t=n.mozLockOrientation(e):l(n.msLockOrientation)?t=n.msLockOrientation(e):l(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function J1e(){let e=window.screen;l(e)&&(l(e.unlockOrientation)?e.unlockOrientation():l(e.mozUnlockOrientation)?e.mozUnlockOrientation():l(e.msUnlockOrientation)?e.msUnlockOrientation():l(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function cRt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(J1e(),e._locked=!1),e._noSleep.disable(),gr.exitFullscreen(),n(!1)):(gr.fullscreen||gr.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=aRt("landscape")),t.useWebVR=!0,n(!0)))}function tY(e,t){let n=this,i=Se.observable(gr.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&gr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new dr,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof tn)}),this._locked=!1,this._noSleep=new K1e.default,this._command=yn(function(){cRt(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=Vn(t)??document.body,this._callback=function(){!gr.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(J1e(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(gr.changeEventName,this._callback)}Object.defineProperties(tY.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});tY.prototype.isDestroyed=function(){return!1};tY.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(gr.changeEventName,this._callback),he(this)};var pN=tY;var lRt="M 5.3125 6.375 C 4.008126 6.375 2.96875 7.4141499 2.96875 8.71875 L 2.96875 19.5 C 2.96875 20.8043 4.008126 21.875 5.3125 21.875 L 13.65625 21.875 C 13.71832 20.0547 14.845166 18.59375 16.21875 18.59375 C 17.592088 18.59375 18.71881 20.0552 18.78125 21.875 L 27.09375 21.875 C 28.398125 21.875 29.4375 20.8043 29.4375 19.5 L 29.4375 8.71875 C 29.4375 7.4141499 28.398125 6.375 27.09375 6.375 L 5.3125 6.375 z M 9.625 10.4375 C 11.55989 10.4375 13.125 12.03385 13.125 13.96875 C 13.125 15.90365 11.55989 17.46875 9.625 17.46875 C 7.69011 17.46875 6.125 15.90365 6.125 13.96875 C 6.125 12.03385 7.69011 10.4375 9.625 10.4375 z M 22.46875 10.4375 C 24.40364 10.4375 25.96875 12.03385 25.96875 13.96875 C 25.96875 15.90365 24.40364 17.46875 22.46875 17.46875 C 20.53386 17.46875 18.96875 15.90365 18.96875 13.96875 C 18.96875 12.03385 20.53386 10.4375 22.46875 10.4375 z",dRt="M 25.770585,2.4552065 C 15.72282,13.962707 10.699956,19.704407 8.1768352,22.580207 c -1.261561,1.4379 -1.902282,2.1427 -2.21875,2.5 -0.141624,0.1599 -0.208984,0.2355 -0.25,0.2813 l 0.6875,0.75 c 10e-5,-10e-5 0.679191,0.727 0.6875,0.7187 0.01662,-0.016 0.02451,-0.024 0.03125,-0.031 0.01348,-0.014 0.04013,-0.038 0.0625,-0.062 0.04474,-0.05 0.120921,-0.1315 0.28125,-0.3126 0.320657,-0.3619 0.956139,-1.0921 2.2187499,-2.5312 2.5252219,-2.8781 7.5454589,-8.6169 17.5937499,-20.1250005 l -1.5,-1.3125 z m -20.5624998,3.9063 c -1.304375,0 -2.34375,1.0391 -2.34375,2.3437 l 0,10.8125005 c 0,1.3043 1.039375,2.375 2.34375,2.375 l 2.25,0 c 1.9518039,-2.2246 7.4710958,-8.5584 13.5624998,-15.5312005 l -15.8124998,0 z m 21.1249998,0 c -1.855467,2.1245 -2.114296,2.4005 -3.59375,4.0936995 1.767282,0.1815 3.15625,1.685301 3.15625,3.500001 0,1.9349 -1.56511,3.5 -3.5,3.5 -1.658043,0 -3.043426,-1.1411 -3.40625,-2.6875 -1.089617,1.2461 -2.647139,2.9988 -3.46875,3.9375 0.191501,-0.062 0.388502,-0.094 0.59375,-0.094 1.373338,0 2.50006,1.4614 2.5625,3.2812 l 8.3125,0 c 1.304375,0 2.34375,-1.0707 2.34375,-2.375 l 0,-10.8125005 c 0,-1.3046 -1.039375,-2.3437 -2.34375,-2.3437 l -0.65625,0 z M 9.5518351,10.423906 c 1.9348899,0 3.4999999,1.596401 3.4999999,3.531301 0,1.9349 -1.56511,3.5 -3.4999999,3.5 -1.9348899,0 -3.4999999,-1.5651 -3.4999999,-3.5 0,-1.9349 1.56511,-3.531301 3.4999999,-3.531301 z m 4.2187499,10.312601 c -0.206517,0.2356 -0.844218,0.9428 -1.03125,1.1562 l 0.8125,0 c 0.01392,-0.4081 0.107026,-0.7968 0.21875,-1.1562 z";function nY(e,t,n){e=Vn(e);let i=new pN(t,n);i._exitVRPath=dRt,i._enterVRPath=lRt;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(nY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});nY.prototype.isDestroyed=function(){return!1};nY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var bN=nY;var vIo=x(_(),1);var ZIo=x(_(),1);function Q1e(e){let t=e.split(`
|
|
16078
|
+
</div>`,n.appendChild(i);let o=new eN(t);Se.track(o),Se.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var Pq=OLt;var qGo=x(_(),1);var YGo=x(_(),1);function vq(e){this._scene=e.scene,this.lowFrameRateMessage=e.lowFrameRateMessage??"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.",this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=yn(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=l9.fromScene(e.scene);this._unsubscribeLowFrameRate=n.lowFrameRate.addEventListener(function(){t.lowFrameRateMessageDismissed||(t.showingLowFrameRateMessage=!0)}),this._unsubscribeNominalFrameRate=n.nominalFrameRate.addEventListener(function(){t.showingLowFrameRateMessage=!1})}Object.defineProperties(vq.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});vq.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var tN=vq;function HO(e){let t=Vn(e.container),n=new tN(e),i=document.createElement("div");i.className="cesium-performance-watchdog-message-area",i.setAttribute("data-bind","visible: showingLowFrameRateMessage");let o=document.createElement("button");o.setAttribute("type","button"),o.className="cesium-performance-watchdog-message-dismiss",o.innerHTML="×",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(HO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});HO.prototype.isDestroyed=function(){return!1};HO.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var nN=HO;var lAo=x(_(),1);var nAo=x(_(),1);function U1e(){this.showInstructions=!1;let e=this;this._command=yn(function(){e.showInstructions=!e.showInstructions}),this._showClick=yn(function(){e._touch=!1}),this._showTouch=yn(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(U1e.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var iN=U1e;function KO(e){let t=Vn(e.container),n=new iN,i=e.instructionsInitiallyVisible??!1;n.showInstructions=i,n._svgPath="M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.328,24.371h-2.707v-2.596h2.707V24.371zM17.328,19.003v0.858h-2.707v-1.057c0-3.19,3.63-3.696,3.63-5.963c0-1.034-0.924-1.826-2.134-1.826c-1.254,0-2.354,0.924-2.354,0.924l-1.541-1.915c0,0,1.519-1.584,4.137-1.584c2.487,0,4.796,1.54,4.796,4.136C21.156,16.208,17.328,16.627,17.328,19.003z";let o=document.createElement("span");o.className="cesium-navigationHelpButton-wrapper",t.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-navigation-help-button",r.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 32, height: 32 }"),o.appendChild(r);let s=document.createElement("div");s.className="cesium-navigation-help",s.setAttribute("data-bind",'css: { "cesium-navigation-help-visible" : showInstructions}'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-navigation-button cesium-navigation-button-left",a.setAttribute("data-bind",'click: showClick, css: {"cesium-navigation-button-selected": !_touch, "cesium-navigation-button-unselected": _touch}');let c=document.createElement("img");c.src=Kt("Widgets/Images/NavigationHelp/Mouse.svg"),c.className="cesium-navigation-button-icon",c.style.width="25px",c.style.height="25px",a.appendChild(c),a.appendChild(document.createTextNode("Mouse"));let d=document.createElement("button");d.type="button",d.className="cesium-navigation-button cesium-navigation-button-right",d.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let u=document.createElement("img");u.src=Kt("Widgets/Images/NavigationHelp/Touch.svg"),u.className="cesium-navigation-button-icon",u.style.width="25px",u.style.height="25px",d.appendChild(u),d.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(d);let h=document.createElement("div");h.className="cesium-click-navigation-help cesium-navigation-help-instructions",h.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),h.innerHTML=` <table> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseLeft.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">Left click + drag</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseRight.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Right click + drag, or</div> <div class="cesium-navigation-help-details">Mouse wheel scroll</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/MouseMiddle.svg")}" width="48" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Rotate view</div> <div class="cesium-navigation-help-details">Middle click + drag, or</div> <div class="cesium-navigation-help-details">CTRL + Left/Right click + drag</div> </td> </tr> </table>`,s.appendChild(h);let p=document.createElement("div");p.className="cesium-touch-navigation-help cesium-navigation-help-instructions",p.setAttribute("data-bind",'css: { "cesium-touch-navigation-help-visible" : _touch}'),p.innerHTML=` <table> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchDrag.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-pan">Pan view</div> <div class="cesium-navigation-help-details">One finger drag</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchZoom.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-zoom">Zoom view</div> <div class="cesium-navigation-help-details">Two finger pinch</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchTilt.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-rotate">Tilt view</div> <div class="cesium-navigation-help-details">Two finger drag, same direction</div> </td> </tr> <tr> <td><img src="${Kt("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(g){o.contains(g.target)||(n.showInstructions=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(KO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});KO.prototype.isDestroyed=function(){return!1};KO.prototype.destroy=function(){return wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var oN=KO;var SAo=x(_(),1);var pAo=x(_(),1);function JO(e){this._scene=e,this._orthographic=e.camera.frustum instanceof tn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=yn(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new dr,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof tn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=yn(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(JO.prototype,{scene:{get:function(){return this._scene}},toggleDropDown:{get:function(){return this._toggleDropDown}},switchToPerspective:{get:function(){return this._switchToPerspective}},switchToOrthographic:{get:function(){return this._switchToOrthographic}},isOrthographicProjection:{get:function(){return this._orthographic}}});JO.prototype.isDestroyed=function(){return!1};JO.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var rN=JO;var YLt="M 28.15625,10.4375 9.125,13.21875 13.75,43.25 41.75,55.09375 50.8125,37 54.5,11.9375 z m 0.125,3 19.976451,0.394265 L 43.03125,16.875 22.6875,14.28125 z M 50.971746,15.705477 47.90625,36.03125 42.53125,46 44.84375,19.3125 z M 12.625,16.03125 l 29.15625,3.6875 -2.65625,31 L 16.4375,41.125 z",zLt="m 31.560594,6.5254438 -20.75,12.4687502 0.1875,24.5625 22.28125,11.8125 19.5,-12 0.65625,-0.375 0,-0.75 0.0312,-23.21875 z m 0.0625,3.125 16.65625,9.5000002 -16.125,10.28125 -17.34375,-9.71875 z m 18.96875,11.1875002 0.15625,20.65625 -17.46875,10.59375 0.15625,-20.28125 z m -37.0625,1.25 17.21875,9.625 -0.15625,19.21875 -16.9375,-9 z";function QO(e,t){e=Vn(e);let n=new rN(t);n._perspectivePath=YLt,n._orthographicPath=zLt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(QO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});QO.prototype.isDestroyed=function(){return!1};QO.prototype.destroy=function(){return this._viewModel.destroy(),wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var sN=QO;var PAo=x(_(),1);var LAo=x(_(),1);function MS(e,t,n){this._color=e,this._height=t,this._base=n??0}MS.prototype.getHeight=function(){return this._height};MS.prototype.getBase=function(){return this._base};MS.prototype.getStartTime=function(){return this._start};MS.prototype.getStopTime=function(){return this._stop};MS.prototype.setRange=function(e,t){this._start=e,this._stop=t};MS.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=j.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=j.secondsDifference(this._stop,e.epochJulian),r=Math.round(e.timeBarWidth*e.getAlpha(o))-i;i<0&&(r+=i,i=0),i+r>e.timeBarWidth&&(r=e.timeBarWidth-i),r>0&&(t=`<span class="cesium-timeline-highlight" style="left: ${i.toString()}px; width: ${r.toString()}px; bottom: ${this._base.toString()}px; height: ${this._height}px; background-color: ${this._color};"></span>`)}return t};var aN=MS;var ZAo=x(_(),1);function B1e(e,t,n,i){this.interval=e,this.height=t,this.color=n||new U(.5,.5,.5,1),this.backgroundColor=i||new U(0,0,0,0)}B1e.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=j.addSeconds(t.startJulian,t.duration,new j);if(j.lessThan(n,o)&&j.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(j.lessThanOrEquals(n,r)&&j.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let d=j.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new j);!l(a)&&j.greaterThanOrEquals(d,n)?a=s:!l(c)&&j.greaterThanOrEquals(d,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),l(a)&&(l(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var cN=B1e;var wq=1e12,Vm={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},bl={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},ex=[.001,.002,.005,.01,.02,.05,.1,.25,.5,1,2,5,10,15,30,60,120,300,600,900,1800,3600,7200,14400,21600,43200,86400,172800,345600,604800,1296e3,2592e3,5184e3,7776e3,15552e3,31536e3,63072e3,126144e3,15768e4,31536e4,63072e4,126144e4,15768e5,31536e5,63072e5,126144e5,15768e6,31536e6],HLt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function gl(e,t){e=Vn(e);let n=e.ownerDocument;this.container=e;let i=n.createElement("div");i.className="cesium-timeline-main",e.appendChild(i),this._topDiv=i,this._endJulian=void 0,this._epochJulian=void 0,this._lastXPos=void 0,this._scrubElement=void 0,this._startJulian=void 0,this._timeBarSecondsSpan=void 0,this._clock=t,this._scrubJulian=t.currentTime,this._mainTicSpan=-1,this._mouseMode=Vm.none,this._touchMode=bl.none,this._touchState={centerX:0,spanX:0},this._mouseX=0,this._timelineDrag=0,this._timelineDragLocation=void 0,this._lastHeight=void 0,this._lastWidth=void 0,this._topDiv.innerHTML='<div class="cesium-timeline-bar"></div><div class="cesium-timeline-trackContainer"><canvas class="cesium-timeline-tracks" width="10" height="1"></canvas></div><div class="cesium-timeline-needle"></div><span class="cesium-timeline-ruler"></span>',this._timeBarEle=this._topDiv.childNodes[0],this._trackContainer=this._topDiv.childNodes[1],this._trackListEle=this._topDiv.childNodes[1].childNodes[0],this._needleEle=this._topDiv.childNodes[2],this._rulerEle=this._topDiv.childNodes[3],this._context=this._trackListEle.getContext("2d"),this._trackList=[],this._highlightRanges=[],this.zoomTo(t.startTime,t.stopTime),this._onMouseDown=KLt(this),this._onMouseUp=JLt(this),this._onMouseMove=QLt(this),this._onMouseWheel=jLt(this),this._onTouchStart=qLt(this),this._onTouchMove=eRt(this),this._onTouchEnd=$Lt(this);let o=this._timeBarEle;n.addEventListener("mouseup",this._onMouseUp,!1),n.addEventListener("mousemove",this._onMouseMove,!1),o.addEventListener("mousedown",this._onMouseDown,!1),o.addEventListener("DOMMouseScroll",this._onMouseWheel,!1),o.addEventListener("mousewheel",this._onMouseWheel,!1),o.addEventListener("touchstart",this._onTouchStart,!1),o.addEventListener("touchmove",this._onTouchMove,!1),o.addEventListener("touchend",this._onTouchEnd,!1),o.addEventListener("touchcancel",this._onTouchEnd,!1),this._topDiv.oncontextmenu=function(){return!1},t.onTick.addEventListener(this.updateFromClock,this),this.updateFromClock()}gl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};gl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};gl.prototype.isDestroyed=function(){return!1};gl.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};gl.prototype.addHighlightRange=function(e,t,n){let i=new aN(e,t,n);return this._highlightRanges.push(i),this.resize(),i};gl.prototype.addTrack=function(e,t,n,i){let o=new cN(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};gl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=j.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Yr.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=j.secondsDifference(o,i),s=j.secondsDifference(i,this._startJulian),a=j.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=j.addSeconds(this._endJulian,s,new j),this._startJulian=i,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=j.addSeconds(this._startJulian,a,new j),this._endJulian=o,this._timeBarSecondsSpan=j.secondsDifference(this._endJulian,this._startJulian))}this._makeTics();let n=document.createEvent("Event");n.initEvent("setzoom",!0,!0),n.startJulian=this._startJulian,n.endJulian=this._endJulian,n.epochJulian=this._epochJulian,n.totalSpan=this._timeBarSecondsSpan,n.mainTicSpan=this._mainTicSpan,this._topDiv.dispatchEvent(n)};gl.prototype.zoomFrom=function(e){let t=j.secondsDifference(this._scrubJulian,this._startJulian);e>1||t<0||t>this._timeBarSecondsSpan?t=this._timeBarSecondsSpan*.5:t+=t-this._timeBarSecondsSpan*.5;let n=this._timeBarSecondsSpan-t;this.zoomTo(j.addSeconds(this._startJulian,t-t*e,new j),j.addSeconds(this._endJulian,n*e-n,new j))};function Fq(e){return e<10?`0${e.toString()}`:e.toString()}gl.prototype.makeLabel=function(e){let t=j.toGregorianDate(e),n=t.millisecond,i=" UTC";if(n>0&&this._timeBarSecondsSpan<3600){for(i=Math.floor(n).toString();i.length<3;)i=`0${i}`;i=`.${i}`}return`${HLt[t.month-1]} ${t.day} ${t.year} ${Fq(t.hour)}:${Fq(t.minute)}:${Fq(t.second)}${i}`};gl.prototype.smallestTicInPixels=7;gl.prototype._makeTics=function(){let e=this._timeBarEle,t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan),i=n-8,o,r=this;this._needleEle.style.left=`${n.toString()}px`;let s="",a=.01,c=31536e6,d=1e-10,u=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=j.addSeconds(this._startJulian,a,new j)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=j.addSeconds(this._startJulian,c,new j));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let g=this._startJulian,f=Math.min(h/p*1e-5,.4),y,T=j.toGregorianDate(g);h>31536e4?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/100)*100,0))):h>31536e3?y=j.fromDate(new Date(Date.UTC(Math.floor(T.year/10)*10,0))):h>86400?y=j.fromDate(new Date(Date.UTC(T.year,0))):y=j.fromDate(new Date(Date.UTC(T.year,T.month,T.day)));let S=j.secondsDifference(this._startJulian,j.addSeconds(y,f,new j)),C=S+h;this._epochJulian=y;function V(N){return Math.floor(S/N)*N}function R(N,z){return Math.ceil(N/z+.5)*z}function Z(N){return(N-S)/h}function I(N,z){return N-z*Math.round(N/z)}this._rulerEle.innerHTML=this.makeLabel(j.addSeconds(this._endJulian,-a,new j));let W=this._rulerEle.offsetWidth+20;W<30&&(W=180);let X=u;u-=d;let w={startTime:S,startJulian:g,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:Z};this._highlightRanges.forEach(function(N){s+=N.render(w)});let F=0,b=0,L=0,E=W/p;E>1&&(E=1),E*=this._timeBarSecondsSpan;let G=-1,v=-1,M=ex.length,B;for(B=0;B<M;++B){let N=ex[B];if(++G,F=N,N>E&&N>u)break;v<0&&p*(N/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(v=G)}if(G>0){for(;G>0;)if(--G,Math.abs(I(F,ex[G]))<1e-5){ex[G]>=u&&(b=ex[G]);break}if(v>=0)for(;v<G;){if(Math.abs(I(b,ex[v]))<1e-5&&ex[v]>=u){L=ex[v];break}++v}}u=X,u>d&&L<1e-5&&Math.abs(u-F)>d&&(L=u,u<=F+d&&(b=0));let k=-999999,O;if(p*(L/this._timeBarSecondsSpan)>=3)for(o=V(L);o<=C;o=R(o,L))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*Z(o)).toString()}px;"></span>`;if(p*(b/this._timeBarSecondsSpan)>=3)for(o=V(b);o<=C;o=R(o,b))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*Z(o)).toString()}px;"></span>`;if(p*(F/this._timeBarSecondsSpan)>=2){this._mainTicSpan=F,C+=F,o=V(F);let N=j.computeTaiMinusUtc(y);for(;o<=C;){let z=j.addSeconds(g,o-S,new j);if(F>2.1){let te=j.computeTaiMinusUtc(z);Math.abs(te-N)>.1&&(o+=te-N,z=j.addSeconds(g,o-S,new j))}let J=Math.round(p*Z(o)),ee=this.makeLabel(z);this._rulerEle.innerHTML=ee,O=this._rulerEle.offsetWidth,O<10&&(O=W);let H=J-(O/2-1);H>k?(k=H+O+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${J.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${H.toString()}px;">${ee}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${J.toString()}px;"></span>`,o=R(o,F)}}else this._mainTicSpan=-1;s+=`<span class="cesium-timeline-icon16" style="left:${i}px;bottom:0;background-position: 0 0;"></span>`,e.innerHTML=s,this._scrubElement=e.lastChild,this._context.clearRect(0,0,this._trackListEle.width,this._trackListEle.height),w.y=0,this._trackList.forEach(function(N){N.render(r._context,w),w.y+=N.height})};gl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=j.secondsDifference(this._scrubJulian,this._startJulian),n=Math.round(t*this._topDiv.clientWidth/this._timeBarSecondsSpan);this._lastXPos!==n&&(this._lastXPos=n,e.style.left=`${n-8}px`,this._needleEle.style.left=`${n}px`)}l(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(j.addSeconds(this._startJulian,this._timelineDrag,new j),j.addSeconds(this._endJulian,this._timelineDrag,new j)))};gl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=j.addSeconds(this._startJulian,t,new j),this._scrubElement){let i=e-8;this._scrubElement.style.left=`${i.toString()}px`,this._needleEle.style.left=`${e.toString()}px`}let n=document.createEvent("Event");n.initEvent("settime",!0,!0),n.clientX=e,n.timeSeconds=t,n.timeJulian=this._scrubJulian,n.clock=this._clock,this._topDiv.dispatchEvent(n)};function KLt(e){return function(t){e._mouseMode!==Vm.touchOnly&&(t.button===0?(e._mouseMode=Vm.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Vm.zoom:e._mouseMode=Vm.slide)),t.preventDefault()}}function JLt(e){return function(t){e._mouseMode=Vm.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function QLt(e){return function(t){let n;if(e._mouseMode===Vm.scrub){t.preventDefault();let i=t.clientX-e._topDiv.getBoundingClientRect().left;i<0?(e._timelineDragLocation=0,e._timelineDrag=-.01*e._timeBarSecondsSpan):i>e._topDiv.clientWidth?(e._timelineDragLocation=e._topDiv.clientWidth,e._timelineDrag=.01*e._timeBarSecondsSpan):(e._timelineDragLocation=void 0,e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))}else if(e._mouseMode===Vm.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(j.addSeconds(e._startJulian,i,new j),j.addSeconds(e._endJulian,i,new j))}}else e._mouseMode===Vm.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function jLt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;wq=Math.max(Math.min(Math.abs(n),wq),1),n/=wq,e.zoomFrom(Math.pow(1.05,-n))}}function qLt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Vm.touchOnly,n===1?(i=j.secondsDifference(e._scrubJulian,e._startJulian),o=Math.round(i*e._topDiv.clientWidth/e._timeBarSecondsSpan+r),Math.abs(t.touches[0].clientX-o)<50?(e._touchMode=bl.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=bl.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=bl.slideZoom,e._touchState.centerX=(t.touches[0].clientX+t.touches[1].clientX)*.5-r,e._touchState.spanX=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):e._touchMode=bl.ignore}}function $Lt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===bl.singleTap?(e._touchMode=bl.scrub,e._onTouchMove(t)):e._touchMode===bl.scrub&&e._onTouchMove(t),e._mouseMode=Vm.touchOnly,n!==1?e._touchMode=n>0?bl.ignore:bl.none:e._touchMode===bl.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function eRt(e){return function(t){let n,i,o,r,s,a,c=1,d=e._topDiv.getBoundingClientRect().left;e._touchMode===bl.singleTap&&(e._touchMode=bl.slideZoom),e._mouseMode=Vm.touchOnly,e._touchMode===bl.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-d,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===bl.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-d,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-d,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=j.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new j)):(n=e._touchState.centerX-r,a=j.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new j)),e.zoomTo(a,j.addSeconds(a,e._timeBarSecondsSpan*c,new j)),e._touchState.centerX=r,e._touchState.spanX=s))}}gl.prototype.resize=function(){let e=this.container.clientWidth,t=this.container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;this._trackContainer.style.height=`${t}px`;let n=1;this._trackList.forEach(function(i){n+=i.height}),this._trackListEle.style.height=`${n.toString()}px`,this._trackListEle.width=this._trackListEle.clientWidth,this._trackListEle.height=n,this._makeTics(),this._lastXPos=void 0,this._lastWidth=e,this._lastHeight=t};var lN=gl;var KAo=x(_(),1);var DAo=x(_(),1);function jO(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new dr,this._eventHelper.add(e.morphStart,i),this._duration=t??2,this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=yn(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=yn(function(){e.morphTo2D(n._duration)}),this._morphTo3D=yn(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=yn(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(jO.prototype,{scene:{get:function(){return this._scene}},duration:{get:function(){return this._duration},set:function(e){this._duration=e}},toggleDropDown:{get:function(){return this._toggleDropDown}},morphTo2D:{get:function(){return this._morphTo2D}},morphTo3D:{get:function(){return this._morphTo3D}},morphToColumbusView:{get:function(){return this._morphToColumbusView}}});jO.prototype.isDestroyed=function(){return!1};jO.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var dN=jO;var tRt="m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z",nRt="m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z",iRt="m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z";function qO(e,t,n){e=Vn(e);let i=new dN(t,n);i._globePath=tRt,i._flatMapPath=nRt,i._columbusViewPath=iRt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(d){o.contains(d.target)||(i.dropDownVisible=!1)},wt.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(qO.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});qO.prototype.isDestroyed=function(){return!1};qO.prototype.destroy=function(){return this._viewModel.destroy(),wt.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var uN=qO;var uIo=x(_(),1);var oIo=x(_(),1);var K1e=x(H1e(),1);function sRt(e){let t=!1,n=window.screen;return l(n)&&(l(n.lockOrientation)?t=n.lockOrientation(e):l(n.mozLockOrientation)?t=n.mozLockOrientation(e):l(n.msLockOrientation)?t=n.msLockOrientation(e):l(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function J1e(){let e=window.screen;l(e)&&(l(e.unlockOrientation)?e.unlockOrientation():l(e.mozUnlockOrientation)?e.mozUnlockOrientation():l(e.msUnlockOrientation)?e.msUnlockOrientation():l(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function aRt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(J1e(),e._locked=!1),e._noSleep.disable(),gr.exitFullscreen(),n(!1)):(gr.fullscreen||gr.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=sRt("landscape")),t.useWebVR=!0,n(!0)))}function $O(e,t){let n=this,i=Se.observable(gr.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&gr.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new dr,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof tn)}),this._locked=!1,this._noSleep=new K1e.default,this._command=yn(function(){aRt(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=Vn(t)??document.body,this._callback=function(){!gr.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(J1e(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(gr.changeEventName,this._callback)}Object.defineProperties($O.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});$O.prototype.isDestroyed=function(){return!1};$O.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(gr.changeEventName,this._callback),he(this)};var mN=$O;var cRt="M 5.3125 6.375 C 4.008126 6.375 2.96875 7.4141499 2.96875 8.71875 L 2.96875 19.5 C 2.96875 20.8043 4.008126 21.875 5.3125 21.875 L 13.65625 21.875 C 13.71832 20.0547 14.845166 18.59375 16.21875 18.59375 C 17.592088 18.59375 18.71881 20.0552 18.78125 21.875 L 27.09375 21.875 C 28.398125 21.875 29.4375 20.8043 29.4375 19.5 L 29.4375 8.71875 C 29.4375 7.4141499 28.398125 6.375 27.09375 6.375 L 5.3125 6.375 z M 9.625 10.4375 C 11.55989 10.4375 13.125 12.03385 13.125 13.96875 C 13.125 15.90365 11.55989 17.46875 9.625 17.46875 C 7.69011 17.46875 6.125 15.90365 6.125 13.96875 C 6.125 12.03385 7.69011 10.4375 9.625 10.4375 z M 22.46875 10.4375 C 24.40364 10.4375 25.96875 12.03385 25.96875 13.96875 C 25.96875 15.90365 24.40364 17.46875 22.46875 17.46875 C 20.53386 17.46875 18.96875 15.90365 18.96875 13.96875 C 18.96875 12.03385 20.53386 10.4375 22.46875 10.4375 z",lRt="M 25.770585,2.4552065 C 15.72282,13.962707 10.699956,19.704407 8.1768352,22.580207 c -1.261561,1.4379 -1.902282,2.1427 -2.21875,2.5 -0.141624,0.1599 -0.208984,0.2355 -0.25,0.2813 l 0.6875,0.75 c 10e-5,-10e-5 0.679191,0.727 0.6875,0.7187 0.01662,-0.016 0.02451,-0.024 0.03125,-0.031 0.01348,-0.014 0.04013,-0.038 0.0625,-0.062 0.04474,-0.05 0.120921,-0.1315 0.28125,-0.3126 0.320657,-0.3619 0.956139,-1.0921 2.2187499,-2.5312 2.5252219,-2.8781 7.5454589,-8.6169 17.5937499,-20.1250005 l -1.5,-1.3125 z m -20.5624998,3.9063 c -1.304375,0 -2.34375,1.0391 -2.34375,2.3437 l 0,10.8125005 c 0,1.3043 1.039375,2.375 2.34375,2.375 l 2.25,0 c 1.9518039,-2.2246 7.4710958,-8.5584 13.5624998,-15.5312005 l -15.8124998,0 z m 21.1249998,0 c -1.855467,2.1245 -2.114296,2.4005 -3.59375,4.0936995 1.767282,0.1815 3.15625,1.685301 3.15625,3.500001 0,1.9349 -1.56511,3.5 -3.5,3.5 -1.658043,0 -3.043426,-1.1411 -3.40625,-2.6875 -1.089617,1.2461 -2.647139,2.9988 -3.46875,3.9375 0.191501,-0.062 0.388502,-0.094 0.59375,-0.094 1.373338,0 2.50006,1.4614 2.5625,3.2812 l 8.3125,0 c 1.304375,0 2.34375,-1.0707 2.34375,-2.375 l 0,-10.8125005 c 0,-1.3046 -1.039375,-2.3437 -2.34375,-2.3437 l -0.65625,0 z M 9.5518351,10.423906 c 1.9348899,0 3.4999999,1.596401 3.4999999,3.531301 0,1.9349 -1.56511,3.5 -3.4999999,3.5 -1.9348899,0 -3.4999999,-1.5651 -3.4999999,-3.5 0,-1.9349 1.56511,-3.531301 3.4999999,-3.531301 z m 4.2187499,10.312601 c -0.206517,0.2356 -0.844218,0.9428 -1.03125,1.1562 l 0.8125,0 c 0.01392,-0.4081 0.107026,-0.7968 0.21875,-1.1562 z";function eY(e,t,n){e=Vn(e);let i=new mN(t,n);i._exitVRPath=lRt,i._enterVRPath=cRt;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(eY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});eY.prototype.isDestroyed=function(){return!1};eY.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var hN=eY;var CIo=x(_(),1);var bIo=x(_(),1);function Q1e(e){let t=e.split(`
|
|
16079
16079
|
`),n;for(n=0;n<t.length&&!t[n].match(/\S/);n++);if(n===t.length)return"";let i="",o=/^\s*/,s=t[n].match(o)[0].length;for(let a=n;a<t.length;a++){let c=t[a];c.match(o)[0].length>=s&&(c=c.slice(s)),i+=`${c}
|
|
16080
|
-
`}return i}function Lm(e){this._scene=e,this._voxelPrimitive=void 0,this._customShaderCompilationRemoveCallback=void 0,this._definedProperties=[],this._getPrimitiveFunctions=[],this._modelMatrixReady=!1;let t=this;function n(o){let{name:r,initialValue:s}=o;t._definedProperties.push(r);let a=o.setPrimitiveFunction;a===!0&&(a=function(u){t._voxelPrimitive[r]=u});let c=o.getPrimitiveFunction;c===!0&&(c=function(){t[r]=t._voxelPrimitive[r]}),l(c)&&t._getPrimitiveFunctions.push(c);let d=Se.observable();return Se.defineProperty(t,r,{get:function(){return d()},set:function(u){typeof s=="number"&&typeof u=="string"&&(u=Number(u),isNaN(u)&&(u=s)),typeof s=="boolean"&&typeof u=="number"&&(u=u===1),d(u),l(a)&&l(t._voxelPrimitive)&&(a(u),e.requestRender())}}),t[r]=s,d}function i(o,r){return function(s){let a=t._voxelPrimitive[o].clone();a[r]=s,t._voxelPrimitive[o]=a}}n({name:"inspectorVisible",initialValue:!0}),n({name:"displayVisible",initialValue:!1}),n({name:"transformVisible",initialValue:!1}),n({name:"boundsVisible",initialValue:!1}),n({name:"clippingVisible",initialValue:!1}),n({name:"shaderVisible",initialValue:!1}),n({name:"shaderString",initialValue:"",getPrimitiveFunction:function(){let o=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=Q1e(o)}}),n({name:"shaderCompilationMessage",initialValue:""}),n({name:"shaderCompilationSuccess",initialValue:!0}),n({name:"depthTest",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"show",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"disableUpdate",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"debugDraw",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"jitter",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"nearestSampling",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"screenSpaceError",initialValue:4,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"stepSize",initialValue:1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"shapeIsBox",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsBox=o===Pi.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===Pi.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===Pi.CYLINDER}}),n({name:"boundsBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMaxX=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsBoxMinX",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMinX=t._voxelPrimitive.minBounds.x}}),n({name:"boundsBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMaxY=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsBoxMinY",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMinY=t._voxelPrimitive.minBounds.y}}),n({name:"boundsBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMaxZ=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsBoxMinZ",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMinZ=t._voxelPrimitive.minBounds.z}}),n({name:"boundsEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLongitude=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLongitude=t._voxelPrimitive.minBounds.x}}),n({name:"boundsEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLatitude=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLatitude=t._voxelPrimitive.minBounds.y}}),n({name:"boundsEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"boundsCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMaxRadius=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMinRadius=t._voxelPrimitive.minBounds.x}}),n({name:"boundsCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMaxAngle=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMinAngle=t._voxelPrimitive.minBounds.y}}),n({name:"boundsCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"clippingBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMaxX=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingBoxMinX",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMinX=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMaxY=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingBoxMinY",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMinY=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMaxZ=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingBoxMinZ",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMinZ=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLongitude=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLongitude=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLatitude=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLatitude=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMaxRadius=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMinRadius=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMaxAngle=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMinAngle=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"translationX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationX=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationY=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationZ=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleX=P.getScale(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleY=P.getScale(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleZ=P.getScale(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}})}var uRt=new m,mRt=new m,hRt=new Ia,fRt=new q;function _p(e){let t=m.fromElements(e.translationX,e.translationY,e.translationZ,uRt),n=m.fromElements(e.scaleX,e.scaleY,e.scaleZ,mRt),i=hRt;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=q.fromHeadingPitchRoll(i,fRt),r=q.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=P.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(Lm.prototype,{scene:{get:function(){return this._scene}},voxelPrimitive:{get:function(){return this._voxelPrimitive},set:function(e){if(l(this._customShaderCompilationRemoveCallback)&&this._customShaderCompilationRemoveCallback(),l(e)){this._voxelPrimitive=e;let t=this;t._customShaderCompilationRemoveCallback=t._voxelPrimitive.customShaderCompilationEvent.addEventListener(function(n){let i=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=Q1e(i),l(n)?(t.shaderCompilationMessage=n.message,t.shaderCompilationSuccess=!1):(t.shaderCompilationMessage="Shader compiled successfully!",t.shaderCompilationSuccess=!0)}),t._modelMatrixReady=!1;for(let n=0;n<t._getPrimitiveFunctions.length;n++)t._getPrimitiveFunctions[n]();t._modelMatrixReady=!0,_p(t)}}}});Lm.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Lm.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Lm.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};Lm.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};Lm.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};Lm.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};Lm.prototype.compileShader=function(){l(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new dS({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};Lm.prototype.shaderEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
|
|
16080
|
+
`}return i}function Lm(e){this._scene=e,this._voxelPrimitive=void 0,this._customShaderCompilationRemoveCallback=void 0,this._definedProperties=[],this._getPrimitiveFunctions=[],this._modelMatrixReady=!1;let t=this;function n(o){let{name:r,initialValue:s}=o;t._definedProperties.push(r);let a=o.setPrimitiveFunction;a===!0&&(a=function(u){t._voxelPrimitive[r]=u});let c=o.getPrimitiveFunction;c===!0&&(c=function(){t[r]=t._voxelPrimitive[r]}),l(c)&&t._getPrimitiveFunctions.push(c);let d=Se.observable();return Se.defineProperty(t,r,{get:function(){return d()},set:function(u){typeof s=="number"&&typeof u=="string"&&(u=Number(u),isNaN(u)&&(u=s)),typeof s=="boolean"&&typeof u=="number"&&(u=u===1),d(u),l(a)&&l(t._voxelPrimitive)&&(a(u),e.requestRender())}}),t[r]=s,d}function i(o,r){return function(s){let a=t._voxelPrimitive[o].clone();a[r]=s,t._voxelPrimitive[o]=a}}n({name:"inspectorVisible",initialValue:!0}),n({name:"displayVisible",initialValue:!1}),n({name:"transformVisible",initialValue:!1}),n({name:"boundsVisible",initialValue:!1}),n({name:"clippingVisible",initialValue:!1}),n({name:"shaderVisible",initialValue:!1}),n({name:"shaderString",initialValue:"",getPrimitiveFunction:function(){let o=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=Q1e(o)}}),n({name:"shaderCompilationMessage",initialValue:""}),n({name:"shaderCompilationSuccess",initialValue:!0}),n({name:"depthTest",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"show",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"disableUpdate",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"debugDraw",initialValue:!1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"jitter",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"nearestSampling",initialValue:!0,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"screenSpaceError",initialValue:4,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"stepSize",initialValue:1,setPrimitiveFunction:!0,getPrimitiveFunction:!0}),n({name:"shapeIsBox",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsBox=o===Pi.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===Pi.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===Pi.CYLINDER}}),n({name:"boundsBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMaxX=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsBoxMinX",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsBoxMinX=t._voxelPrimitive.minBounds.x}}),n({name:"boundsBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMaxY=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsBoxMinY",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsBoxMinY=t._voxelPrimitive.minBounds.y}}),n({name:"boundsBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMaxZ=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsBoxMinZ",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsBoxMinZ=t._voxelPrimitive.minBounds.z}}),n({name:"boundsEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLongitude=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLongitude=t._voxelPrimitive.minBounds.x}}),n({name:"boundsEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxLatitude=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsEllipsoidMinLatitude=t._voxelPrimitive.minBounds.y}}),n({name:"boundsEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsEllipsoidMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"boundsCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMaxRadius=t._voxelPrimitive.maxBounds.x}}),n({name:"boundsCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minBounds","x"),getPrimitiveFunction:function(){t.boundsCylinderMinRadius=t._voxelPrimitive.minBounds.x}}),n({name:"boundsCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMaxAngle=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMinAngle=t._voxelPrimitive.minBounds.y}}),n({name:"boundsCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMaxHeight=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMinHeight=t._voxelPrimitive.minBounds.z}}),n({name:"clippingBoxMaxX",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMaxX=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingBoxMinX",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingBoxMinX=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingBoxMaxY",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMaxY=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingBoxMinY",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingBoxMinY=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingBoxMaxZ",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMaxZ=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingBoxMinZ",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingBoxMinZ=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingEllipsoidMaxLongitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLongitude=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingEllipsoidMinLongitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLongitude=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingEllipsoidMaxLatitude",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxLatitude=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingEllipsoidMinLatitude",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingEllipsoidMinLatitude=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingEllipsoidMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingEllipsoidMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingEllipsoidMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"clippingCylinderMaxRadius",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMaxRadius=t._voxelPrimitive.maxClippingBounds.x}}),n({name:"clippingCylinderMinRadius",initialValue:0,setPrimitiveFunction:i("minClippingBounds","x"),getPrimitiveFunction:function(){t.clippingCylinderMinRadius=t._voxelPrimitive.minClippingBounds.x}}),n({name:"clippingCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMaxAngle=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMinAngle=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMaxHeight=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMinHeight=t._voxelPrimitive.minClippingBounds.z}}),n({name:"translationX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationX=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationY=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.translationZ=P.getTranslation(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleX=P.getScale(t._voxelPrimitive.modelMatrix,new m).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleY=P.getScale(t._voxelPrimitive.modelMatrix,new m).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)},getPrimitiveFunction:function(){t.scaleZ=P.getScale(t._voxelPrimitive.modelMatrix,new m).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&_p(t)}})}var dRt=new m,uRt=new m,mRt=new Ia,hRt=new q;function _p(e){let t=m.fromElements(e.translationX,e.translationY,e.translationZ,dRt),n=m.fromElements(e.scaleX,e.scaleY,e.scaleZ,uRt),i=mRt;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=q.fromHeadingPitchRoll(i,hRt),r=q.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=P.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(Lm.prototype,{scene:{get:function(){return this._scene}},voxelPrimitive:{get:function(){return this._voxelPrimitive},set:function(e){if(l(this._customShaderCompilationRemoveCallback)&&this._customShaderCompilationRemoveCallback(),l(e)){this._voxelPrimitive=e;let t=this;t._customShaderCompilationRemoveCallback=t._voxelPrimitive.customShaderCompilationEvent.addEventListener(function(n){let i=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=Q1e(i),l(n)?(t.shaderCompilationMessage=n.message,t.shaderCompilationSuccess=!1):(t.shaderCompilationMessage="Shader compiled successfully!",t.shaderCompilationSuccess=!0)}),t._modelMatrixReady=!1;for(let n=0;n<t._getPrimitiveFunctions.length;n++)t._getPrimitiveFunctions[n]();t._modelMatrixReady=!0,_p(t)}}}});Lm.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Lm.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Lm.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};Lm.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};Lm.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};Lm.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};Lm.prototype.compileShader=function(){l(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new dS({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};Lm.prototype.shaderEditorKeyPress=function(e,t){if(t.keyCode===9){t.preventDefault();let n=t.target,i=n.selectionStart,o=n.selectionEnd,r=o,a=n.value.slice(i,o).split(`
|
|
16081
16081
|
`),c=a.length,d;if(t.shiftKey)for(d=0;d<c;++d)a[d][0]===" "&&(a[d][1]===" "?(a[d]=a[d].substr(2),r-=2):(a[d]=a[d].substr(1),r-=1));else for(d=0;d<c;++d)a[d]=` ${a[d]}`,r+=2;let u=a.join(`
|
|
16082
|
-
`);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileShader();return!0};Lm.prototype.isDestroyed=function(){return!1};Lm.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var gN=Lm;function iY(e,t){e=Vn(e);let n=document.createElement("div"),i=new gN(t);this._viewModel=i,this._container=e,this._element=n;let o=document.createElement("div");o.textContent="Voxel Inspector",o.className="cesium-cesiumInspector-button",o.setAttribute("data-bind","click: toggleInspector"),n.appendChild(o),n.className="cesium-cesiumInspector cesium-VoxelInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let r=document.createElement("div");r.className="cesium-cesiumInspector-dropDown",n.appendChild(r);let s=Ja.createSection,a=Ja.createCheckbox,c=Ja.createRangeInput,d=Ja.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),g=s(r,"Clipping","clippingVisible","toggleClipping"),f=s(r,"Shader","shaderVisible","toggleShader");u.appendChild(a("Depth Test","depthTest")),u.appendChild(a("Show","show")),u.appendChild(a("Disable Update","disableUpdate")),u.appendChild(a("Debug Draw","debugDraw")),u.appendChild(a("Jitter","jitter")),u.appendChild(a("Nearest Sampling","nearestSampling")),u.appendChild(c("Screen Space Error","screenSpaceError",0,128)),u.appendChild(c("Step Size","stepSize",0,2));let y=10,T=10,S=A.PI;h.appendChild(c("Translation X","translationX",-y,+y)),h.appendChild(c("Translation Y","translationY",-y,+y)),h.appendChild(c("Translation Z","translationZ",-y,+y)),h.appendChild(c("Scale X","scaleX",0,+T)),h.appendChild(c("Scale Y","scaleY",0,+T)),h.appendChild(c("Scale Z","scaleZ",0,+T)),h.appendChild(c("Heading","angleX",-S,+S)),h.appendChild(c("Pitch","angleY",-S,+S)),h.appendChild(c("Roll","angleZ",-S,+S));let C=Pi.getMinBounds(Pi.BOX),V=Pi.getMaxBounds(Pi.BOX),R=m.fromElements(Pi.getMinBounds(Pi.ELLIPSOID).x,Pi.getMinBounds(Pi.ELLIPSOID).y,-ne.WGS84.maximumRadius,new m),Z=m.fromElements(Pi.getMaxBounds(Pi.ELLIPSOID).x,Pi.getMaxBounds(Pi.ELLIPSOID).y,1e7,new m),I=Pi.getMinBounds(Pi.CYLINDER),W=Pi.getMaxBounds(Pi.CYLINDER);iR("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,V,"shapeIsBox",p),iR("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",R,Z,"shapeIsEllipsoid",p),iR("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,W,"shapeIsCylinder",p),iR("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,V,"shapeIsBox",g),iR("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",R,Z,"shapeIsEllipsoid",g),iR("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,W,"shapeIsCylinder",g);let X=document.createElement("div");f.appendChild(X);let w=document.createElement("textarea");w.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),X.className="cesium-cesiumInspector-styleEditor",X.appendChild(w);let F=d("Compile (Ctrl+Enter)","compileShader");X.appendChild(F);let b=document.createElement("label");b.style.display="block",b.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),X.appendChild(b),Se.applyBindings(i,n)}Object.defineProperties(iY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});iY.prototype.isDestroyed=function(){return!1};iY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function iR(e,t,n,i,o,r,s,a,c,d,u,h,p,g,f,y){let T=Ja.createRangeInput,S=p,C=g,V=y.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${f}`),V.appendChild(T(e,s,S.x,C.x)),V.appendChild(T(t,a,S.x,C.x)),V.appendChild(T(n,c,S.y,C.y)),V.appendChild(T(i,d,S.y,C.y)),V.appendChild(T(o,u,S.z,C.z)),V.appendChild(T(r,h,S.z,C.z))}var yN=iY;var nXo=x(_(),1);var j1e=new de;function eVe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function pRt(e){let t=e.getPropertyIds(),n="";return t.forEach(function(i){let o=e.getProperty(i);l(o)&&(n+=`<tr><th>${i}</th><td>${o}</td></tr>`)}),n.length>0&&(n=`<table class="cesium-infoBox-defaultTable"><tbody>${n}</tbody></table>`),n}function bRt(e){let t,n=[],i=e.getPropertyIds();for(t=0;t<i.length;t++){let r=i[t];/^name$/i.test(r)?n[0]=e.getProperty(r):/name/i.test(r)?n[1]=e.getProperty(r):/^title$/i.test(r)?n[2]=e.getProperty(r):/^(id|identifier)$/i.test(r)?n[3]=e.getProperty(r):/element/i.test(r)?n[4]=e.getProperty(r):/(id|identifier)$/i.test(r)&&(n[5]=e.getProperty(r))}let o=n.length;for(t=0;t<o;t++){let r=n[t];if(l(r)&&r!=="")return r}return"Unnamed Feature"}function q1e(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof Ho)return i;if(n instanceof Hs)return new Ho({name:bRt(n),description:pRt(n),feature:n})}if(l(e.scene.globe))return xRt(e,t.position)}var gRt=new j;function Dq(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;j.equals(i,o)&&(o=j.addSeconds(i,A.EPSILON2,gRt)),e.updateFromClock(),e.zoomTo(i,o)}}}var yRt=new m;function xRt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new Ho({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=$1e();return}let a=s[0],c=new Ho({id:a.name,description:a.description});if(l(a.position)){let d=e.scene.ellipsoid.cartographicToCartesian(a.position,yRt);c.position=new Uc(d)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=$1e())}),r}function $1e(){return new Ho({id:"None",description:"No features found."})}function _Rt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,d=e._fullscreenButton,u=e._infoBox,h=e._selectionIndicator,p=t?"hidden":"visible";if(l(n)&&(n.container.style.visibility=p),l(i)&&(i.container.style.visibility=p),l(o)&&(o.container.style.visibility=p),l(r)&&(r.container.style.visibility=p),l(s)&&(s.container.style.visibility=p),l(a)&&(a.container.style.visibility=p),l(c)&&(c.container.style.visibility=p),l(d)&&d.viewModel.isFullscreenEnabled&&(d.container.style.visibility=p),l(u)&&(u.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let g=t||!l(d)?0:d.container.clientWidth;e._vrButton.container.style.right=`${g}px`,e.forceResize()}}function zi(e,t){e=Vn(e),t=t??Y.EMPTY_OBJECT;let n=(!l(t.globe)||t.globe!==!1)&&(!l(t.baseLayerPicker)||t.baseLayerPicker!==!1),i=this,o=document.createElement("div");o.className="cesium-viewer",e.appendChild(o);let r=document.createElement("div");r.className="cesium-viewer-cesiumWidgetContainer",o.appendChild(r);let s=document.createElement("div");s.className="cesium-viewer-bottom",o.appendChild(s);let a=t.scene3DOnly??!1,c,d,u=!1;l(t.clockViewModel)?(d=t.clockViewModel,c=d.clock):(c=new Th,d=new G9(c),u=!0);let h=new MM(r,{baseLayer:n&&l(t.selectedImageryProviderViewModel)||l(t.baseLayer)||l(t.imageryProvider)?!1:void 0,clock:c,shouldAnimate:t.shouldAnimate,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,automaticallyTrackDataSourceClocks:t.automaticallyTrackDataSourceClocks,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:l(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,dataSources:t.dataSources,scene3DOnly:a,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),p=h.scene,g=new dr;g.add(c.onTick,zi.prototype._onTick,this);let f;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let z=document.createElement("div");z.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(z),f=new lN(z,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let z=document.createElement("div");z.className="cesium-viewer-infoBoxContainer",o.appendChild(z),y=new eN(z);let J=y.viewModel;g.add(J.cameraClicked,zi.prototype._onInfoBoxCameraClicked,this),g.add(J.closeClicked,zi.prototype._onInfoBoxClockClicked,this)}let T=document.createElement("div");T.className="cesium-viewer-toolbar",o.appendChild(T);let S;if(!l(t.geocoder)||t.geocoder!==!1){let z=document.createElement("div");z.className="cesium-viewer-geocoderContainer",T.appendChild(z);let J;typeof t.geocoder=="string"?J=[new LS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),S=new j9({container:z,geocoderServices:J,scene:p}),g.add(S.viewModel.search.beforeExecute,zi.prototype._clearObjects,this)}let C;(!l(t.homeButton)||t.homeButton!==!1)&&(C=new J9(T,p),l(S)&&g.add(C.viewModel.command.afterExecute,function(){let z=S.viewModel;z.searchText="",z.isSearchInProgress&&z.search()}),g.add(C.viewModel.command.beforeExecute,zi.prototype._clearTrackedObject,this));let V;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(V=new sN(T,p));let R;t.projectionPicker&&(R=new nN(T,p));let Z,I;if(n){let z=t.imageryProviderViewModels??F9(),J=t.terrainProviderViewModels??M9();Z=new w9(T,{globe:p.globe,imageryProviderViewModels:z,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=T.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(Z.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(Z.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let W;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let z=!0;try{if(l(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");l(J)&&J?z=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}W=new uN({container:T,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??z})}let X;if(!l(t.animation)||t.animation!==!1){let z=document.createElement("div");z.className="cesium-viewer-animationContainer",o.appendChild(z),X=new W9(z,new P9(d))}let w;if(!l(t.timeline)||t.timeline!==!1){let z=document.createElement("div");z.className="cesium-viewer-timelineContainer",o.appendChild(z),w=new fN(z,c),w.addEventListener("settime",eVe,!1),w.zoomTo(c.startTime,c.stopTime)}let F,b,L;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(L=document.createElement("div"),L.className="cesium-viewer-fullscreenContainer",o.appendChild(L),F=new H9(L,t.fullscreenElement),b=Ea(F.viewModel,"isFullscreenEnabled",function(z){L.style.display=z?"block":"none",l(w)&&(w.container.style.right=`${L.clientWidth}px`,w.resize())}));let E,G,v;if(t.vrButton){let z=document.createElement("div");z.className="cesium-viewer-vrContainer",o.appendChild(z),E=new bN(z,p,t.fullScreenElement),G=Ea(E.viewModel,"isVREnabled",function(J){z.style.display=J?"block":"none",l(F)&&(z.style.right=`${L.clientWidth}px`),l(w)&&(w.container.style.right=`${z.clientWidth}px`,w.resize())}),v=Ea(E.viewModel,"isVRMode",function(J){_Rt(i,J)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=b,this._vrSubscription=G,this._vrModeSubscription=v,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=f,this._infoBox=y,this._clockViewModel=d,this._destroyClockViewModel=u,this._toolbar=T,this._homeButton=C,this._sceneModePicker=V,this._projectionPicker=R,this._baseLayerPicker=Z,this._navigationHelpButton=W,this._animation=X,this._timeline=w,this._fullscreenButton=F,this._vrButton=E,this._geocoder=S,this._eventHelper=g,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(f),this._selectedEntity=void 0,this._selectedEntityChanged=new be;let M=this._cesiumWidget.dataSources,B=this._cesiumWidget.dataSourceDisplay;g.add(M.dataSourceAdded,zi.prototype._onDataSourceAdded,this),g.add(M.dataSourceRemoved,zi.prototype._onDataSourceRemoved,this),g.add(p.postUpdate,zi.prototype.resize,this);let k=M.length;for(let z=0;z<k;z++)this._dataSourceAdded(M,M.get(z));this._dataSourceAdded(void 0,B.defaultDataSource),g.add(M.dataSourceAdded,zi.prototype._dataSourceAdded,this),g.add(M.dataSourceRemoved,zi.prototype._dataSourceRemoved,this);function O(z){let J=q1e(i,z);l(J)?K.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function N(z){i.selectedEntity=q1e(i,z)}h.screenSpaceEventHandler.setInputAction(N,pn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(O,pn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(zi.prototype,{container:{get:function(){return this._container}},creditDisplay:{get:function(){return this._cesiumWidget.creditDisplay}},bottomContainer:{get:function(){return this._bottomContainer}},cesiumWidget:{get:function(){return this._cesiumWidget}},selectionIndicator:{get:function(){return this._selectionIndicator}},infoBox:{get:function(){return this._infoBox}},geocoder:{get:function(){return this._geocoder}},homeButton:{get:function(){return this._homeButton}},sceneModePicker:{get:function(){return this._sceneModePicker}},projectionPicker:{get:function(){return this._projectionPicker}},baseLayerPicker:{get:function(){return this._baseLayerPicker}},navigationHelpButton:{get:function(){return this._navigationHelpButton}},animation:{get:function(){return this._animation}},timeline:{get:function(){return this._timeline}},fullscreenButton:{get:function(){return this._fullscreenButton}},vrButton:{get:function(){return this._vrButton}},dataSourceDisplay:{get:function(){return this._cesiumWidget.dataSourceDisplay}},entities:{get:function(){return this._cesiumWidget.entities}},dataSources:{get:function(){return this._cesiumWidget.dataSources}},canvas:{get:function(){return this._cesiumWidget.canvas}},scene:{get:function(){return this._cesiumWidget.scene}},shadows:{get:function(){return this.scene.shadowMap.enabled},set:function(e){this.scene.shadowMap.enabled=e}},terrainShadows:{get:function(){return this.scene.globe.shadows},set:function(e){this.scene.globe.shadows=e}},shadowMap:{get:function(){return this.scene.shadowMap}},imageryLayers:{get:function(){return this.scene.imageryLayers}},terrainProvider:{get:function(){return this.scene.terrainProvider},set:function(e){this.scene.terrainProvider=e}},camera:{get:function(){return this.scene.camera}},ellipsoid:{get:function(){return this._scene.ellipsoid}},postProcessStages:{get:function(){return this.scene.postProcessStages}},clock:{get:function(){return this._clockViewModel.clock}},clockViewModel:{get:function(){return this._clockViewModel}},screenSpaceEventHandler:{get:function(){return this._cesiumWidget.screenSpaceEventHandler}},targetFrameRate:{get:function(){return this._cesiumWidget.targetFrameRate},set:function(e){this._cesiumWidget.targetFrameRate=e}},useDefaultRenderLoop:{get:function(){return this._cesiumWidget.useDefaultRenderLoop},set:function(e){this._cesiumWidget.useDefaultRenderLoop=e}},resolutionScale:{get:function(){return this._cesiumWidget.resolutionScale},set:function(e){this._cesiumWidget.resolutionScale=e}},useBrowserRecommendedResolution:{get:function(){return this._cesiumWidget.useBrowserRecommendedResolution},set:function(e){this._cesiumWidget.useBrowserRecommendedResolution=e}},allowDataSourcesToSuspendAnimation:{get:function(){return this._cesiumWidget.allowDataSourcesToSuspendAnimation},set:function(e){this._cesiumWidget.allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._cesiumWidget.trackedEntity},set:function(e){this._cesiumWidget.trackedEntity=e}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(e)?l(t)&&t.animateAppear():l(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._cesiumWidget.trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._cesiumWidget.clockTrackedDataSource},set:function(e){this._cesiumWidget.clockTrackedDataSource!==e&&(this._cesiumWidget.clockTrackedDataSource=e,Dq(this._timeline,e))}}});zi.prototype.extend=function(e,t){e(this,t)};zi.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=l(this._animation),r=l(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(l(a)&&(a.style.maxHeight=`${s}px`),l(this._geocoder)){let f=this._geocoder.searchSuggestionsContainer;f.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,d,u=0,h=5,p=3,g=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let f=this._lastWidth;d=this._animation.container,n>900?(u=169,f<=900&&(d.style.width="169px",d.style.height="112px",this._animation.resize())):n>=600?(u=136,(f<600||f>900)&&(d.style.width="136px",d.style.height="90px",this._animation.resize())):(u=106,(f>600||f===0)&&(d.style.width="106px",d.style.height="70px",this._animation.resize())),h=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let f=this._fullscreenButton,y=this._vrButton,T=c.container,S=T.style;p=T.clientHeight+3,S.left=`${u}px`;let C=0;l(f)&&(C+=f.container.clientWidth),l(y)&&(C+=y.container.clientWidth),S.right=`${C}px`,c.resize()}!r&&l(this._fullscreenButton)&&(g=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${g}px`,this._lastWidth=n,this._lastHeight=i};zi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};zi.prototype.render=function(){this._cesiumWidget.render()};zi.prototype.isDestroyed=function(){return!1};zi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(pn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(pn.LEFT_DOUBLE_CLICK)),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),l(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),l(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),l(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),l(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),l(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),l(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),l(this._timeline)&&(this._timeline.removeEventListener("settime",eVe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),l(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),l(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),l(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),l(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._cesiumWidget=this._cesiumWidget.destroy(),he(this)};zi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(zi.prototype._onEntityCollectionChanged,this)};zi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(zi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};zi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};zi.prototype._onTick=function(e){let t=e.currentTime,n,i=!1,o=this.selectedEntity,r=l(o)&&this._enableInfoOrSelection;r&&o.isShowing&&o.isAvailable(t)&&(this._cesiumWidget.dataSourceDisplay.getBoundingSphere(o,!0,j1e)!==ot.FAILED?n=j1e.center:l(o.position)&&(n=o.position.getValue(t,n)),i=l(n));let s=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(s)&&(s.position=m.clone(n,s.position),s.showSelection=r&&i,s.update());let a=l(this._infoBox)?this._infoBox.viewModel:void 0;l(a)&&(a.showInfo=r,a.enableCamera=i,a.isCameraTracking=this.trackedEntity===this.selectedEntity,r?(a.titleText=o.name??o.id,a.description=K.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};zi.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.selectedEntity===r&&(this.selectedEntity=void 0)}};zi.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;l(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};zi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};zi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};zi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};zi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&Dq(this.timeline,e)};zi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&Dq(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,zi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};zi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};zi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};zi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var Uq=zi;var rXo=x(_(),1);function TRt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new Y9(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Bq=TRt;var cXo=x(_(),1);function SRt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new D9(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Oq=SRt;var mXo=x(_(),1);function CRt(e,t){t=t??Y.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new be,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Vn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){tVe(s,d),s=u,Yq(s,d)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?Yq(s,d):tVe(s,d),n=u)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(u){r=u}},flyToOnDrop:{get:function(){return i},set:function(u){i=u}},proxy:{get:function(){return c},set:function(u){c=u}},clampToGround:{get:function(){return a},set:function(u){a=u}}});function d(u){NS(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=u.dataTransfer.files,p=h.length;for(let g=0;g<p;g++){let f=h[g],y=new FileReader;y.onload=VRt(e,f,c,a),y.onerror=LRt(e,f),y.readAsText(f)}}Yq(s,d),e.destroy=$M(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=d}function NS(e){e.stopPropagation(),e.preventDefault()}function tVe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",NS,!1),n.removeEventListener("dragover",NS,!1),n.removeEventListener("dragexit",NS,!1))}function Yq(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",NS,!1),e.addEventListener("dragover",NS,!1),e.addEventListener("dragexit",NS,!1)}function VRt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=h2.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=hy.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=IT.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=sv.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}l(a)&&e.dataSources.add(a).then(function(c){e.flyToOnDrop&&e.flyTo(c)}).catch(function(c){e.dropError.raiseEvent(e,s,c)})}catch(a){e.dropError.raiseEvent(e,s,a)}}}function LRt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var zq=CRt;var yXo=x(_(),1);function RRt(e,t){t=t??Y.EMPTY_OBJECT;let n=new oN({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var Hq=RRt;var TXo=x(_(),1);function ERt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new yN(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var Kq=ERt;globalThis.CESIUM_VERSION="1.128.23";var ZRt="1.128.23";return cVe(GRt);})();
|
|
16082
|
+
`);n.value=n.value.slice(0,i)+u+n.value.slice(o),n.selectionStart=i!==o?i:r,n.selectionEnd=r}else t.ctrlKey&&(t.keyCode===10||t.keyCode===13)&&this.compileShader();return!0};Lm.prototype.isDestroyed=function(){return!1};Lm.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var fN=Lm;function tY(e,t){e=Vn(e);let n=document.createElement("div"),i=new fN(t);this._viewModel=i,this._container=e,this._element=n;let o=document.createElement("div");o.textContent="Voxel Inspector",o.className="cesium-cesiumInspector-button",o.setAttribute("data-bind","click: toggleInspector"),n.appendChild(o),n.className="cesium-cesiumInspector cesium-VoxelInspector",n.setAttribute("data-bind",'css: { "cesium-cesiumInspector-visible" : inspectorVisible, "cesium-cesiumInspector-hidden" : !inspectorVisible}'),e.appendChild(n);let r=document.createElement("div");r.className="cesium-cesiumInspector-dropDown",n.appendChild(r);let s=Ja.createSection,a=Ja.createCheckbox,c=Ja.createRangeInput,d=Ja.createButton,u=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),g=s(r,"Clipping","clippingVisible","toggleClipping"),f=s(r,"Shader","shaderVisible","toggleShader");u.appendChild(a("Depth Test","depthTest")),u.appendChild(a("Show","show")),u.appendChild(a("Disable Update","disableUpdate")),u.appendChild(a("Debug Draw","debugDraw")),u.appendChild(a("Jitter","jitter")),u.appendChild(a("Nearest Sampling","nearestSampling")),u.appendChild(c("Screen Space Error","screenSpaceError",0,128)),u.appendChild(c("Step Size","stepSize",0,2));let y=10,T=10,S=A.PI;h.appendChild(c("Translation X","translationX",-y,+y)),h.appendChild(c("Translation Y","translationY",-y,+y)),h.appendChild(c("Translation Z","translationZ",-y,+y)),h.appendChild(c("Scale X","scaleX",0,+T)),h.appendChild(c("Scale Y","scaleY",0,+T)),h.appendChild(c("Scale Z","scaleZ",0,+T)),h.appendChild(c("Heading","angleX",-S,+S)),h.appendChild(c("Pitch","angleY",-S,+S)),h.appendChild(c("Roll","angleZ",-S,+S));let C=Pi.getMinBounds(Pi.BOX),V=Pi.getMaxBounds(Pi.BOX),R=m.fromElements(Pi.getMinBounds(Pi.ELLIPSOID).x,Pi.getMinBounds(Pi.ELLIPSOID).y,-ne.WGS84.maximumRadius,new m),Z=m.fromElements(Pi.getMaxBounds(Pi.ELLIPSOID).x,Pi.getMaxBounds(Pi.ELLIPSOID).y,1e7,new m),I=Pi.getMinBounds(Pi.CYLINDER),W=Pi.getMaxBounds(Pi.CYLINDER);iR("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,V,"shapeIsBox",p),iR("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",R,Z,"shapeIsEllipsoid",p),iR("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,W,"shapeIsCylinder",p),iR("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,V,"shapeIsBox",g),iR("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",R,Z,"shapeIsEllipsoid",g),iR("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,W,"shapeIsCylinder",g);let X=document.createElement("div");f.appendChild(X);let w=document.createElement("textarea");w.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),X.className="cesium-cesiumInspector-styleEditor",X.appendChild(w);let F=d("Compile (Ctrl+Enter)","compileShader");X.appendChild(F);let b=document.createElement("label");b.style.display="block",b.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),X.appendChild(b),Se.applyBindings(i,n)}Object.defineProperties(tY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});tY.prototype.isDestroyed=function(){return!1};tY.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function iR(e,t,n,i,o,r,s,a,c,d,u,h,p,g,f,y){let T=Ja.createRangeInput,S=p,C=g,V=y.appendChild(document.createElement("div"));V.setAttribute("data-bind",`if: ${f}`),V.appendChild(T(e,s,S.x,C.x)),V.appendChild(T(t,a,S.x,C.x)),V.appendChild(T(n,c,S.y,C.y)),V.appendChild(T(i,d,S.y,C.y)),V.appendChild(T(o,u,S.z,C.z)),V.appendChild(T(r,h,S.z,C.z))}var pN=tY;var vIo=x(_(),1);var ZIo=x(_(),1);var fRt=new D,nY="-1000px";function bN(e,t,n){this._scene=e,this._screenPositionX=nY,this._screenPositionY=nY,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Fi.worldToWindowCoordinates(e,i,o)}}bN.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,fRt);if(!l(e))this._screenPositionX=nY,this._screenPositionY=nY;else{let t=this._container,n=t.parentNode.clientWidth,i=t.parentNode.clientHeight,o=this._selectionIndicatorElement.clientWidth,r=o*.5;e.x=Math.min(Math.max(e.x,-o),n+o)-r,e.y=Math.min(Math.max(e.y,-o),i+o)-r,this._screenPositionX=`${Math.floor(e.x+.25)}px`,this._screenPositionY=`${Math.floor(e.y+.25)}px`}}};bN.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Hr.EXPONENTIAL_OUT})};bN.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Hr.EXPONENTIAL_OUT})};Object.defineProperties(bN.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var gN=bN;function iY(e,t){e=Vn(e),this._container=e;let n=document.createElement("div");n.className="cesium-selection-wrapper",n.setAttribute("data-bind",'style: { "top" : _screenPositionY, "left" : _screenPositionX },css: { "cesium-selection-wrapper-visible" : isVisible }'),e.appendChild(n),this._element=n;let i="http://www.w3.org/2000/svg",o="M -34 -34 L -34 -11.25 L -30 -15.25 L -30 -30 L -15.25 -30 L -11.25 -34 L -34 -34 z M 11.25 -34 L 15.25 -30 L 30 -30 L 30 -15.25 L 34 -11.25 L 34 -34 L 11.25 -34 z M -34 11.25 L -34 34 L -11.25 34 L -15.25 30 L -30 30 L -30 15.25 L -34 11.25 z M 34 11.25 L 30 15.25 L 30 30 L 15.25 30 L 11.25 34 L 34 34 L 34 11.25 z",r=document.createElementNS(i,"svg:svg");r.setAttribute("width",160),r.setAttribute("height",160),r.setAttribute("viewBox","0 0 160 160");let s=document.createElementNS(i,"g");s.setAttribute("transform","translate(80,80)"),r.appendChild(s);let a=document.createElementNS(i,"path");a.setAttribute("data-bind","attr: { transform: _transform }"),a.setAttribute("d",o),s.appendChild(a),n.appendChild(r);let c=new gN(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties(iY.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});iY.prototype.isDestroyed=function(){return!1};iY.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var yN=iY;var nXo=x(_(),1);var j1e=new de;function eVe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function pRt(e){let t=e.getPropertyIds(),n="";return t.forEach(function(i){let o=e.getProperty(i);l(o)&&(n+=`<tr><th>${i}</th><td>${o}</td></tr>`)}),n.length>0&&(n=`<table class="cesium-infoBox-defaultTable"><tbody>${n}</tbody></table>`),n}function bRt(e){let t,n=[],i=e.getPropertyIds();for(t=0;t<i.length;t++){let r=i[t];/^name$/i.test(r)?n[0]=e.getProperty(r):/name/i.test(r)?n[1]=e.getProperty(r):/^title$/i.test(r)?n[2]=e.getProperty(r):/^(id|identifier)$/i.test(r)?n[3]=e.getProperty(r):/element/i.test(r)?n[4]=e.getProperty(r):/(id|identifier)$/i.test(r)&&(n[5]=e.getProperty(r))}let o=n.length;for(t=0;t<o;t++){let r=n[t];if(l(r)&&r!=="")return r}return"Unnamed Feature"}function q1e(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof Ho)return i;if(n instanceof Hs)return new Ho({name:bRt(n),description:pRt(n),feature:n})}if(l(e.scene.globe))return xRt(e,t.position)}var gRt=new j;function Dq(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;j.equals(i,o)&&(o=j.addSeconds(i,A.EPSILON2,gRt)),e.updateFromClock(),e.zoomTo(i,o)}}}var yRt=new m;function xRt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new Ho({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=$1e();return}let a=s[0],c=new Ho({id:a.name,description:a.description});if(l(a.position)){let d=e.scene.ellipsoid.cartographicToCartesian(a.position,yRt);c.position=new Uc(d)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=$1e())}),r}function $1e(){return new Ho({id:"None",description:"No features found."})}function _Rt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,d=e._fullscreenButton,u=e._infoBox,h=e._selectionIndicator,p=t?"hidden":"visible";if(l(n)&&(n.container.style.visibility=p),l(i)&&(i.container.style.visibility=p),l(o)&&(o.container.style.visibility=p),l(r)&&(r.container.style.visibility=p),l(s)&&(s.container.style.visibility=p),l(a)&&(a.container.style.visibility=p),l(c)&&(c.container.style.visibility=p),l(d)&&d.viewModel.isFullscreenEnabled&&(d.container.style.visibility=p),l(u)&&(u.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let g=t||!l(d)?0:d.container.clientWidth;e._vrButton.container.style.right=`${g}px`,e.forceResize()}}function zi(e,t){e=Vn(e),t=t??Y.EMPTY_OBJECT;let n=(!l(t.globe)||t.globe!==!1)&&(!l(t.baseLayerPicker)||t.baseLayerPicker!==!1),i=this,o=document.createElement("div");o.className="cesium-viewer",e.appendChild(o);let r=document.createElement("div");r.className="cesium-viewer-cesiumWidgetContainer",o.appendChild(r);let s=document.createElement("div");s.className="cesium-viewer-bottom",o.appendChild(s);let a=t.scene3DOnly??!1,c,d,u=!1;l(t.clockViewModel)?(d=t.clockViewModel,c=d.clock):(c=new Th,d=new G9(c),u=!0);let h=new MM(r,{baseLayer:n&&l(t.selectedImageryProviderViewModel)||l(t.baseLayer)||l(t.imageryProvider)?!1:void 0,clock:c,shouldAnimate:t.shouldAnimate,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,automaticallyTrackDataSourceClocks:t.automaticallyTrackDataSourceClocks,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:l(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,dataSources:t.dataSources,scene3DOnly:a,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),p=h.scene,g=new dr;g.add(c.onTick,zi.prototype._onTick,this);let f;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let z=document.createElement("div");z.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(z),f=new yN(z,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let z=document.createElement("div");z.className="cesium-viewer-infoBoxContainer",o.appendChild(z),y=new j9(z);let J=y.viewModel;g.add(J.cameraClicked,zi.prototype._onInfoBoxCameraClicked,this),g.add(J.closeClicked,zi.prototype._onInfoBoxClockClicked,this)}let T=document.createElement("div");T.className="cesium-viewer-toolbar",o.appendChild(T);let S;if(!l(t.geocoder)||t.geocoder!==!1){let z=document.createElement("div");z.className="cesium-viewer-geocoderContainer",T.appendChild(z);let J;typeof t.geocoder=="string"?J=[new LS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(J=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),S=new $9({container:z,geocoderServices:J,scene:p}),g.add(S.viewModel.search.beforeExecute,zi.prototype._clearObjects,this)}let C;(!l(t.homeButton)||t.homeButton!==!1)&&(C=new H9(T,p),l(S)&&g.add(C.viewModel.command.afterExecute,function(){let z=S.viewModel;z.searchText="",z.isSearchInProgress&&z.search()}),g.add(C.viewModel.command.beforeExecute,zi.prototype._clearTrackedObject,this));let V;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(V=new uN(T,p));let R;t.projectionPicker&&(R=new sN(T,p));let Z,I;if(n){let z=t.imageryProviderViewModels??F9(),J=t.terrainProviderViewModels??M9();Z=new w9(T,{globe:p.globe,imageryProviderViewModels:z,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:J,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=T.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(Z.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(Z.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let W;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let z=!0;try{if(l(window.localStorage)){let J=window.localStorage.getItem("cesium-hasSeenNavHelp");l(J)&&J?z=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}W=new oN({container:T,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??z})}let X;if(!l(t.animation)||t.animation!==!1){let z=document.createElement("div");z.className="cesium-viewer-animationContainer",o.appendChild(z),X=new W9(z,new P9(d))}let w;if(!l(t.timeline)||t.timeline!==!1){let z=document.createElement("div");z.className="cesium-viewer-timelineContainer",o.appendChild(z),w=new lN(z,c),w.addEventListener("settime",eVe,!1),w.zoomTo(c.startTime,c.stopTime)}let F,b,L;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(L=document.createElement("div"),L.className="cesium-viewer-fullscreenContainer",o.appendChild(L),F=new J9(L,t.fullscreenElement),b=Ea(F.viewModel,"isFullscreenEnabled",function(z){L.style.display=z?"block":"none",l(w)&&(w.container.style.right=`${L.clientWidth}px`,w.resize())}));let E,G,v;if(t.vrButton){let z=document.createElement("div");z.className="cesium-viewer-vrContainer",o.appendChild(z),E=new hN(z,p,t.fullScreenElement),G=Ea(E.viewModel,"isVREnabled",function(J){z.style.display=J?"block":"none",l(F)&&(z.style.right=`${L.clientWidth}px`),l(w)&&(w.container.style.right=`${z.clientWidth}px`,w.resize())}),v=Ea(E.viewModel,"isVRMode",function(J){_Rt(i,J)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=b,this._vrSubscription=G,this._vrModeSubscription=v,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=f,this._infoBox=y,this._clockViewModel=d,this._destroyClockViewModel=u,this._toolbar=T,this._homeButton=C,this._sceneModePicker=V,this._projectionPicker=R,this._baseLayerPicker=Z,this._navigationHelpButton=W,this._animation=X,this._timeline=w,this._fullscreenButton=F,this._vrButton=E,this._geocoder=S,this._eventHelper=g,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(f),this._selectedEntity=void 0,this._selectedEntityChanged=new be;let M=this._cesiumWidget.dataSources,B=this._cesiumWidget.dataSourceDisplay;g.add(M.dataSourceAdded,zi.prototype._onDataSourceAdded,this),g.add(M.dataSourceRemoved,zi.prototype._onDataSourceRemoved,this),g.add(p.postUpdate,zi.prototype.resize,this);let k=M.length;for(let z=0;z<k;z++)this._dataSourceAdded(M,M.get(z));this._dataSourceAdded(void 0,B.defaultDataSource),g.add(M.dataSourceAdded,zi.prototype._dataSourceAdded,this),g.add(M.dataSourceRemoved,zi.prototype._dataSourceRemoved,this);function O(z){let J=q1e(i,z);l(J)?K.getValueOrUndefined(J.position,i.clock.currentTime)?i.trackedEntity=J:i.zoomTo(J):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function N(z){i.selectedEntity=q1e(i,z)}h.screenSpaceEventHandler.setInputAction(N,pn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(O,pn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(zi.prototype,{container:{get:function(){return this._container}},creditDisplay:{get:function(){return this._cesiumWidget.creditDisplay}},bottomContainer:{get:function(){return this._bottomContainer}},cesiumWidget:{get:function(){return this._cesiumWidget}},selectionIndicator:{get:function(){return this._selectionIndicator}},infoBox:{get:function(){return this._infoBox}},geocoder:{get:function(){return this._geocoder}},homeButton:{get:function(){return this._homeButton}},sceneModePicker:{get:function(){return this._sceneModePicker}},projectionPicker:{get:function(){return this._projectionPicker}},baseLayerPicker:{get:function(){return this._baseLayerPicker}},navigationHelpButton:{get:function(){return this._navigationHelpButton}},animation:{get:function(){return this._animation}},timeline:{get:function(){return this._timeline}},fullscreenButton:{get:function(){return this._fullscreenButton}},vrButton:{get:function(){return this._vrButton}},dataSourceDisplay:{get:function(){return this._cesiumWidget.dataSourceDisplay}},entities:{get:function(){return this._cesiumWidget.entities}},dataSources:{get:function(){return this._cesiumWidget.dataSources}},canvas:{get:function(){return this._cesiumWidget.canvas}},scene:{get:function(){return this._cesiumWidget.scene}},shadows:{get:function(){return this.scene.shadowMap.enabled},set:function(e){this.scene.shadowMap.enabled=e}},terrainShadows:{get:function(){return this.scene.globe.shadows},set:function(e){this.scene.globe.shadows=e}},shadowMap:{get:function(){return this.scene.shadowMap}},imageryLayers:{get:function(){return this.scene.imageryLayers}},terrainProvider:{get:function(){return this.scene.terrainProvider},set:function(e){this.scene.terrainProvider=e}},camera:{get:function(){return this.scene.camera}},ellipsoid:{get:function(){return this._scene.ellipsoid}},postProcessStages:{get:function(){return this.scene.postProcessStages}},clock:{get:function(){return this._clockViewModel.clock}},clockViewModel:{get:function(){return this._clockViewModel}},screenSpaceEventHandler:{get:function(){return this._cesiumWidget.screenSpaceEventHandler}},targetFrameRate:{get:function(){return this._cesiumWidget.targetFrameRate},set:function(e){this._cesiumWidget.targetFrameRate=e}},useDefaultRenderLoop:{get:function(){return this._cesiumWidget.useDefaultRenderLoop},set:function(e){this._cesiumWidget.useDefaultRenderLoop=e}},resolutionScale:{get:function(){return this._cesiumWidget.resolutionScale},set:function(e){this._cesiumWidget.resolutionScale=e}},useBrowserRecommendedResolution:{get:function(){return this._cesiumWidget.useBrowserRecommendedResolution},set:function(e){this._cesiumWidget.useBrowserRecommendedResolution=e}},allowDataSourcesToSuspendAnimation:{get:function(){return this._cesiumWidget.allowDataSourcesToSuspendAnimation},set:function(e){this._cesiumWidget.allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._cesiumWidget.trackedEntity},set:function(e){this._cesiumWidget.trackedEntity=e}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(e)?l(t)&&t.animateAppear():l(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._cesiumWidget.trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._cesiumWidget.clockTrackedDataSource},set:function(e){this._cesiumWidget.clockTrackedDataSource!==e&&(this._cesiumWidget.clockTrackedDataSource=e,Dq(this._timeline,e))}}});zi.prototype.extend=function(e,t){e(this,t)};zi.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=l(this._animation),r=l(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(l(a)&&(a.style.maxHeight=`${s}px`),l(this._geocoder)){let f=this._geocoder.searchSuggestionsContainer;f.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,d,u=0,h=5,p=3,g=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let f=this._lastWidth;d=this._animation.container,n>900?(u=169,f<=900&&(d.style.width="169px",d.style.height="112px",this._animation.resize())):n>=600?(u=136,(f<600||f>900)&&(d.style.width="136px",d.style.height="90px",this._animation.resize())):(u=106,(f>600||f===0)&&(d.style.width="106px",d.style.height="70px",this._animation.resize())),h=u+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let f=this._fullscreenButton,y=this._vrButton,T=c.container,S=T.style;p=T.clientHeight+3,S.left=`${u}px`;let C=0;l(f)&&(C+=f.container.clientWidth),l(y)&&(C+=y.container.clientWidth),S.right=`${C}px`,c.resize()}!r&&l(this._fullscreenButton)&&(g=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${g}px`,this._lastWidth=n,this._lastHeight=i};zi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};zi.prototype.render=function(){this._cesiumWidget.render()};zi.prototype.isDestroyed=function(){return!1};zi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(pn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(pn.LEFT_DOUBLE_CLICK)),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),l(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),l(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),l(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),l(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),l(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),l(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),l(this._timeline)&&(this._timeline.removeEventListener("settime",eVe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),l(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),l(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),l(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),l(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._cesiumWidget=this._cesiumWidget.destroy(),he(this)};zi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(zi.prototype._onEntityCollectionChanged,this)};zi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(zi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};zi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};zi.prototype._onTick=function(e){let t=e.currentTime,n,i=!1,o=this.selectedEntity,r=l(o)&&this._enableInfoOrSelection;r&&o.isShowing&&o.isAvailable(t)&&(this._cesiumWidget.dataSourceDisplay.getBoundingSphere(o,!0,j1e)!==ot.FAILED?n=j1e.center:l(o.position)&&(n=o.position.getValue(t,n)),i=l(n));let s=l(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;l(s)&&(s.position=m.clone(n,s.position),s.showSelection=r&&i,s.update());let a=l(this._infoBox)?this._infoBox.viewModel:void 0;l(a)&&(a.showInfo=r,a.enableCamera=i,a.isCameraTracking=this.trackedEntity===this.selectedEntity,r?(a.titleText=o.name??o.id,a.description=K.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};zi.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.selectedEntity===r&&(this.selectedEntity=void 0)}};zi.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;l(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};zi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};zi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};zi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};zi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&Dq(this.timeline,e)};zi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&Dq(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,zi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};zi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};zi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};zi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var Uq=zi;var rXo=x(_(),1);function TRt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new U9(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Bq=TRt;var cXo=x(_(),1);function SRt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new Y9(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Oq=SRt;var mXo=x(_(),1);function CRt(e,t){t=t??Y.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new be,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Vn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(u){tVe(s,d),s=u,Yq(s,d)}},dropEnabled:{get:function(){return n},set:function(u){u!==n&&(u?Yq(s,d):tVe(s,d),n=u)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(u){r=u}},flyToOnDrop:{get:function(){return i},set:function(u){i=u}},proxy:{get:function(){return c},set:function(u){c=u}},clampToGround:{get:function(){return a},set:function(u){a=u}}});function d(u){NS(u),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=u.dataTransfer.files,p=h.length;for(let g=0;g<p;g++){let f=h[g],y=new FileReader;y.onload=VRt(e,f,c,a),y.onerror=LRt(e,f),y.readAsText(f)}}Yq(s,d),e.destroy=$M(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=d}function NS(e){e.stopPropagation(),e.preventDefault()}function tVe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",NS,!1),n.removeEventListener("dragover",NS,!1),n.removeEventListener("dragexit",NS,!1))}function Yq(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",NS,!1),e.addEventListener("dragover",NS,!1),e.addEventListener("dragexit",NS,!1)}function VRt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=h2.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=hy.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=IT.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=sv.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}l(a)&&e.dataSources.add(a).then(function(c){e.flyToOnDrop&&e.flyTo(c)}).catch(function(c){e.dropError.raiseEvent(e,s,c)})}catch(a){e.dropError.raiseEvent(e,s,a)}}}function LRt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var zq=CRt;var yXo=x(_(),1);function RRt(e,t){t=t??Y.EMPTY_OBJECT;let n=new nN({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var Hq=RRt;var TXo=x(_(),1);function ERt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new pN(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var Kq=ERt;globalThis.CESIUM_VERSION="1.128.26";var ZRt="1.128.26";return cVe(GRt);})();
|