@kenlify/cesium 1.128.5 → 1.128.7
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 +23 -23
- package/Build/Cesium/Workers/{chunk-UW24VV77.js → chunk-23F4TAOB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IPOEIFIG.js → chunk-2BABWZUD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-T2H3DQ5R.js → chunk-2H4Y7VF7.js} +2 -2
- package/Build/Cesium/Workers/{chunk-L2HXY2D3.js → chunk-2IBZV2X3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NST63356.js → chunk-3NSZ4NQR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5MCJUDK2.js → chunk-4DBMATZI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-S4RKTHER.js → chunk-4M3WEYXS.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AVRTVIVX.js → chunk-62OCRLE3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VGNKZM7C.js → chunk-7SFRBRPU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-N3J2QZNF.js → chunk-7XEALHN6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JEEWYDKL.js → chunk-7XJUVPBA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-45OBI3PN.js → chunk-B6Z5T4OC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PVNSZRYB.js → chunk-BOCTW2JP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-D6XFEZS5.js → chunk-BP5IZS2I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EBX6EJ3K.js → chunk-BX2WP4HZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JF6HWKLK.js → chunk-CMMFOXWW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-V6E2RAXU.js → chunk-DM3QQ3DG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-6OEROQN5.js → chunk-DTWZNXSY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JCVAFE6R.js → chunk-EBAZLOQE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZKXEMLR6.js → chunk-ER7IOZOA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-I6LVW5JW.js → chunk-FYZ2T5Y6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-2U6QFKRT.js → chunk-G3HZMNAC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-D6GEUIP6.js → chunk-GXEZDVBA.js} +1 -1
- package/Build/Cesium/Workers/{chunk-MYFMNJEB.js → chunk-HC5CKEHZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RLW2XUII.js → chunk-HF7HSTVP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-42CGEOZL.js → chunk-IDKQRHPM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KZYLIZIS.js → chunk-IHWOQBTP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LV5DHJ4J.js → chunk-KEXQ6GJC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FOTSCCEM.js → chunk-KSCPG2Y3.js} +1 -1
- package/Build/Cesium/Workers/{chunk-FU6KG3EX.js → chunk-LY7RKTQ6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YLDM5GHA.js → chunk-M7YSSXBB.js} +1 -1
- package/Build/Cesium/Workers/{chunk-V2RTK3FP.js → chunk-NEVFLEWN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3WLNGEE7.js → chunk-NX3MLJ2P.js} +1 -1
- package/Build/Cesium/Workers/{chunk-73DHQJLW.js → chunk-OEL55PRD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DWWTIWEC.js → chunk-PYNOW5HR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PT4W47DX.js → chunk-Q2VMNQTJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WJ32L7VO.js → chunk-R3F6U3I6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GXUPLWQQ.js → chunk-RZK3RNJH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7WEXLSHQ.js → chunk-S3PJ4J7P.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3LJLGSMW.js → chunk-SG7ZVUFM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-P2RZ3O44.js → chunk-T3LX5LT7.js} +2 -2
- package/Build/Cesium/Workers/{chunk-W4AAIC6A.js → chunk-UR4UA3FL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-73G3KEAU.js → chunk-UVRW5QCE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZSVDNXKX.js → chunk-VFXQPABK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3IP3CMKU.js → chunk-W4GTHV3C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MOSOVMLI.js → chunk-WC6KRSSB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MRPAWVPU.js → chunk-WDSFKPOK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FEERQQYP.js → chunk-X7Q4NQ7I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-N2AQ4UTL.js → chunk-XCLT3ROX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-E2H7AWL7.js → chunk-XVO5NF4H.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VFV7Z2MK.js → chunk-YORZQCOG.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.js +14 -14
- package/Source/Cesium.d.ts +1 -1
- package/Source/Cesium.js +176 -176
- package/package.json +1 -1
package/Build/Cesium/index.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.7
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -15988,7 +15988,7 @@ void main()
|
|
|
15988
15988
|
out_FragColor = vec4(mix(vec3(0.0), vec3(1.0), scale), 1.0);
|
|
15989
15989
|
}
|
|
15990
15990
|
`;function LIt(e){e=e??G.EMPTY_OBJECT,this.typedArray=e.typedArray,this.width=e.width,this.height=e.height,this.pixelFormat=e.pixelFormat??Ke.RGBA,this.pixelDatatype=e.pixelDatatype??We.UNSIGNED_BYTE;let t=e.url;typeof t=="string"&&(t=Ce.createIfNeeded(t)),this.resource=t;let i=e.repeat??!0?pn.REPEAT:pn.CLAMP_TO_EDGE;this.sampler=new jt({wrapS:i,wrapT:i,minificationFilter:e.minificationFilter,magnificationFilter:e.magnificationFilter,maximumAnisotropy:e.maximumAnisotropy})}var QSe=LIt;var NIt={FLOAT:"float",VEC2:"vec2",VEC3:"vec3",VEC4:"vec4",MAT2:"mat2",MAT3:"mat3",MAT4:"mat4"},JSe=Object.freeze(NIt);var FIt={SIGX:"SIGX",SIGY:"SIGY",SIGZ:"SIGZ",VARX:"VARX",VARY:"VARY",VARZ:"VARZ",SIGR:"VARZ"},ZSe=Object.freeze(FIt);function BIt(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: ${Dg(s)}
|
|
15991
|
-
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 $Se=BIt;globalThis.CESIUM_VERSION="1.128.
|
|
15991
|
+
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 $Se=BIt;globalThis.CESIUM_VERSION="1.128.7";var J1;typeof ko<"u"&&(J1=ko);(function(){/*!
|
|
15992
15992
|
* Knockout JavaScript library v3.5.1
|
|
15993
15993
|
* (c) The Knockout.js team - http://knockoutjs.com/
|
|
15994
15994
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
@@ -16002,15 +16002,8 @@ Message: `+bt.message,bt}})}return we=Ne===e,{shouldBindDescendants:we,bindingCo
|
|
|
16002
16002
|
* Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5
|
|
16003
16003
|
* Copyright (c) Steve Sanderson
|
|
16004
16004
|
* MIT license
|
|
16005
|
-
*/var mZ="__knockoutObservables",pZ="__knockoutSubscribable";function ewe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=twe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===mZ||o===pZ)&&!(o in i)){var r=e[o],s=r instanceof Array,a=n.isObservable(r)?r:s?n.observableArray(r):n.observable(r);Object.defineProperty(e,o,{configurable:!0,enumerable:!0,get:a,set:n.isWriteableObservable(a)?a:void 0}),i[o]=a,s&&zIt(n,a)}}),e}function twe(e,t){var n=e[mZ];return!n&&t&&(n={},Object.defineProperty(e,mZ,{value:n})),n}function UIt(e,t,n){var i=this,o={owner:e,deferEvaluation:!0};if(typeof n=="function")o.read=n;else{if("value"in n)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if(typeof n.get!="function")throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');o.read=n.get,o.write=n.set}return e[t]=i.computed(o),ewe.call(i,e,[t]),e}function zIt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=VIt(e,t,i))})}function VIt(e,t,n){var i=HIt(e,n);return i.subscribe(t)}function HIt(e,t){var n=t[pZ];if(!n){n=new e.subscribable,Object.defineProperty(t,pZ,{value:n});var i={};GIt(t,n,i),WIt(e,t,n,i)}return n}function GIt(e,t,n){["pop","push","reverse","shift","sort","splice","unshift"].forEach(function(i){var o=e[i];e[i]=function(){var r=o.apply(this,arguments);return n.pause!==!0&&t.notifySubscribers(this),r}})}function WIt(e,t,n,i){["remove","removeAll","destroy","destroyAll","replace"].forEach(function(o){Object.defineProperty(t,o,{enumerable:!1,value:function(){var r;i.pause=!0;try{r=e.observableArray.fn[o].apply(e.observableArray(t),arguments)}finally{i.pause=!1}return n.notifySubscribers(t),r}})})}function nwe(e,t){if(!e)return null;var n=twe(e,!1);return n&&n[t]||null}function jIt(e,t){var n=nwe(e,t);n&&n.valueHasMutated()}function YIt(e){e.track=ewe,e.getObservable=nwe,e.valueHasMutated=jIt,e.defineProperty=UIt}var kG={attachToKo:YIt};var iwe="http://www.w3.org/2000/svg",owe="cesium-svgPath-svg",qIt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(iwe,"svg:svg");i.setAttribute("class",owe);let o=document.createElementNS(iwe,"path");return i.appendChild(o),e.virtualElements.setDomNodeChildren(t,[i]),e.computed({read:function(){let r=e.unwrap(n());o.setAttribute("d",e.unwrap(r.path));let s=e.unwrap(r.width),a=e.unwrap(r.height);i.setAttribute("width",s),i.setAttribute("height",a),i.setAttribute("viewBox",`0 0 ${s} ${a}`),r.css&&i.setAttribute("class",`${owe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},UG=qIt;kG.attachToKo(lw);UG.register(lw);var be=lw;function Z1(e){l(e)||(e=new Em),this._clock=e,this._eventHelper=new br,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=be.observable(K.now()),this.systemTime.equalityComparer=K.equals,this.startTime=be.observable(e.startTime),this.startTime.equalityComparer=K.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=be.observable(e.stopTime),this.stopTime.equalityComparer=K.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=be.observable(e.currentTime),this.currentTime.equalityComparer=K.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=be.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=be.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=be.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=be.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=be.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),be.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(Z1.prototype,{clock:{get:function(){return this._clock}}});Z1.prototype.synchronize=function(){let e=this._clock;this.systemTime=K.now(),this.startTime=e.startTime,this.stopTime=e.stopTime,this.currentTime=e.currentTime,this.multiplier=e.multiplier,this.clockStep=e.clockStep,this.clockRange=e.clockRange,this.canAnimate=e.canAnimate,this.shouldAnimate=e.shouldAnimate};Z1.prototype.isDestroyed=function(){return!1};Z1.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var zG=Z1;function XIt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,he.throwInstantiationError()}var rwe=XIt;var $1={};$1.createCheckbox=function(e,t,n){let i=document.createElement("div"),o=document.createElement("label"),r=document.createElement("input");r.type="checkbox";let s=`checked: ${t}`;return l(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};$1.createSection=function(e,t,n,i){let o=document.createElement("div");o.className="cesium-cesiumInspector-section",o.setAttribute("data-bind",`css: { "cesium-cesiumInspector-section-collapsed": !${n} }`),e.appendChild(o);let r=document.createElement("h3");r.className="cesium-cesiumInspector-sectionHeader",r.appendChild(document.createTextNode(t)),r.setAttribute("data-bind",`click: ${i}`),o.appendChild(r);let s=document.createElement("div");return s.className="cesium-cesiumInspector-sectionContent",o.appendChild(s),s};$1.createRangeInput=function(e,t,n,i,o,r){r=r??t;let s=document.createElement("input");s.setAttribute("data-bind",`value: ${r}`),s.type="number";let a=document.createElement("input");a.type="range",a.min=n,a.max=i,a.step=o??"any",a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let u=document.createElement("div");return u.className="cesium-cesiumInspector-slider",u.appendChild(document.createTextNode(e)),u.appendChild(s),u.appendChild(c),u};$1.createButton=function(e,t,n){let i=document.createElement("button");i.type="button",i.textContent=e,i.className="cesium-cesiumInspector-pickButton";let o=`click: ${t}`;return l(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var Tc=$1;function swe(e,t){this._command=e,t=t??G.EMPTY_OBJECT,this.toggled=t.toggled??!1,this.tooltip=t.tooltip??"",be.track(this,["toggled","tooltip"])}Object.defineProperties(swe.prototype,{command:{get:function(){return this._command}}});var hx=swe;function KIt(e,t){t=t??!0;let n=new me,i=new me;function o(){let r={args:arguments,cancel:!1},s;return n.raiseEvent(r),r.cancel||(s=e.apply(null,arguments),i.raiseEvent(s)),s}return o.canExecute=t,be.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var _n=KIt;function QIt(e,t,n,i,o){return n.call(i,e[t]),be.getObservable(e,t).subscribe(n,i,o)}var Va=QIt;function JIt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof Os&&(e.tileset=n.primitive),e.pickActive=!1}}function cwe(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof Os&&(e.tileset=i.primitive)},hn.MOUSE_MOVE):(e._eventHandler.removeInputAction(hn.MOUSE_MOVE),e.picking=e.picking)}var ZIt={maximumFractionDigits:3};function eO(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,ZIt):Math.round(t).toLocaleString()}function tO(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[No.PICK]:e._statisticsPerPass[No.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>${eO(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${eO(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${eO(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function lwe(){let e=xi.statistics;return`
|
|
16006
|
-
|
|
16007
|
-
<li><strong>Geometry Memory (MB): </strong>${eO(e.geometryByteLength)}</li>
|
|
16008
|
-
<li><strong>Texture Memory (MB): </strong>${eO(e.texturesByteLength)}</li>
|
|
16009
|
-
</ul>
|
|
16010
|
-
`}var $It=[{text:"Highlight",value:lu.HIGHLIGHT},{text:"Replace",value:lu.REPLACE},{text:"Mix",value:lu.MIX}],awe=new z(1,1,0,.4),eDt=new z,VG=new z;function va(e,t){let n=this,i=e.canvas;this._eventHandler=new id(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new mA({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,be.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=be.observable({}),this.properties=[],be.defineProperty(this,"properties",function(){let B=[],W=n._properties();for(let q in W)W.hasOwnProperty(q)&&B.push(q);return B});let o=be.observable();be.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(B){o(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=B)}}),this.dynamicScreenSpaceError=!1;let r=be.observable();be.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(B){r(B),l(n._tileset)&&(n._tileset.colorBlendMode=B,n._scene.requestRender())}}),this.colorBlendMode=lu.HIGHLIGHT;let s=be.observable(),a=be.observable();be.defineProperty(this,"picking",{get:function(){return a()},set:function(B){a(B),B?n._eventHandler.setInputAction(function(W){let q=e.pick(W.endPosition);if(q instanceof ca?(n.feature=q,n.tile=q.content.tile):l(q)&&l(q.content)?(n.feature=void 0,n.tile=q.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(q)&&l(q.content)){let Z;e.pickPositionSupported&&(Z=e.pickPosition(W.endPosition),l(Z)&&(n._tileset.debugPickPosition=Z)),n._tileset.debugPickedTile=q.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},hn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(hn.MOUSE_MOVE))}}),this.picking=!0;let c=be.observable();be.defineProperty(this,"colorize",{get:function(){return c()},set:function(B){c(B),l(n._tileset)&&(n._tileset.debugColorizeTiles=B,n._scene.requestRender())}}),this.colorize=!1;let u=be.observable();be.defineProperty(this,"wireframe",{get:function(){return u()},set:function(B){u(B),l(n._tileset)&&(n._tileset.debugWireframe=B,n._scene.requestRender())}}),this.wireframe=!1;let f=be.observable();be.defineProperty(this,"showBoundingVolumes",{get:function(){return f()},set:function(B){f(B),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=B,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=be.observable();be.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(B){h(B),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=B,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=be.observable();be.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(B){p(B),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=B,n._scene.requestRender())}}),this.showRequestVolumes=!1;let _=be.observable();be.defineProperty(this,"freezeFrame",{get:function(){return _()},set:function(B){_(B),l(n._tileset)&&(n._tileset.debugFreezeFrame=B,n._scene.debugShowFrustumPlanes=B,n._scene.requestRender())}}),this.freezeFrame=!1,be.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(B){s(B),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=B,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let m=be.observable();be.defineProperty(this,"showGeometricError",{get:function(){return m()},set:function(B){m(B),l(n._tileset)&&(n._tileset.debugShowGeometricError=B,n._scene.requestRender())}}),this.showGeometricError=!1;let y=be.observable();be.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(B){y(B),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=B,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let A=be.observable();be.defineProperty(this,"showMemoryUsage",{get:function(){return A()},set:function(B){A(B),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=B,n._scene.requestRender())}}),this.showMemoryUsage=!1;let b=be.observable();be.defineProperty(this,"showUrl",{get:function(){return b()},set:function(B){b(B),l(n._tileset)&&(n._tileset.debugShowUrl=B,n._scene.requestRender())}}),this.showUrl=!1;let x=be.observable();be.defineProperty(this,"maximumScreenSpaceError",{get:function(){return x()},set:function(B){B=Number(B),isNaN(B)||(x(B),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=B))}}),this.maximumScreenSpaceError=16;let T=be.observable();be.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return T()},set:function(B){B=Number(B),isNaN(B)||(T(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=B))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,be.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(T(),1/6)},set:function(B){let W=Math.pow(B,6);T(W),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=W)}});let E=be.observable();be.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return E()},set:function(B){B=Number(B),isNaN(B)||(E(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=B))}}),this.dynamicScreenSpaceErrorFactor=24;let w=JIt(this),I=be.observable();be.defineProperty(this,"pickActive",{get:function(){return I()},set:function(B){I(B),B?n._eventHandler.setInputAction(w,hn.LEFT_CLICK):n._eventHandler.removeInputAction(hn.LEFT_CLICK)}});let O=be.observable();be.defineProperty(this,"pointCloudShading",{get:function(){return O()},set:function(B){O(B),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=B)}}),this.pointCloudShading=!1;let P=be.observable();be.defineProperty(this,"geometricErrorScale",{get:function(){return P()},set:function(B){B=Number(B),isNaN(B)||(P(B),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=B))}}),this.geometricErrorScale=1;let R=be.observable();be.defineProperty(this,"maximumAttenuation",{get:function(){return R()},set:function(B){B=Number(B),isNaN(B)||(R(B),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=B===0?void 0:B))}}),this.maximumAttenuation=0;let N=be.observable();be.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(B){B=Number(B),isNaN(B)||(N(B),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=B===0?void 0:B))}}),this.baseResolution=0;let g=be.observable();be.defineProperty(this,"eyeDomeLighting",{get:function(){return g()},set:function(B){g(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=B)}}),this.eyeDomeLighting=!1;let C=be.observable();be.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return C()},set:function(B){B=Number(B),isNaN(B)||(C(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=B))}}),this.eyeDomeLightingStrength=1;let S=be.observable();be.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return S()},set:function(B){B=Number(B),isNaN(B)||(S(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=B))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let v=be.observable();be.defineProperty(this,"skipLevelOfDetail",{get:function(){return v()},set:function(B){v(B),l(n._tileset)&&(n._tileset.skipLevelOfDetail=B)}}),this.skipLevelOfDetail=!0;let L=be.observable();be.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return L()},set:function(B){B=Number(B),isNaN(B)||(L(B),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=B))}}),this.skipScreenSpaceErrorFactor=16;let F=be.observable();be.defineProperty(this,"baseScreenSpaceError",{get:function(){return F()},set:function(B){B=Number(B),isNaN(B)||(F(B),l(n._tileset)&&(n._tileset.baseScreenSpaceError=B))}}),this.baseScreenSpaceError=1024;let V=be.observable();be.defineProperty(this,"skipLevels",{get:function(){return V()},set:function(B){B=Number(B),isNaN(B)||(V(B),l(n._tileset)&&(n._tileset.skipLevels=B))}}),this.skipLevels=1;let k=be.observable();be.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return k()},set:function(B){k(B),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=B)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let H=be.observable();be.defineProperty(this,"loadSiblings",{get:function(){return H()},set:function(B){H(B),l(n._tileset)&&(n._tileset.loadSiblings=B)}}),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)||cwe(this,!0)}Object.defineProperties(va.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 $It}},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=tO(e,!1),this._pickStatisticsText=tO(e,!0),this._resourceCacheStatisticsText=lwe(),cwe(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,eDt):z.WHITE:t.color=VG,this._scene.requestRender()),l(e)&&(z.clone(e.color,VG),e.color=awe,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()&&!gZ(t.content)&&(t.color=VG,this._scene.requestRender()),l(e)&&!gZ(e.content)&&(z.clone(e.color,VG),e.color=awe,this._scene.requestRender()),this._tile=e}}});function gZ(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(!gZ(t[i]))return!1;return!0}return!1}va.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};va.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};va.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};va.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};va.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};va.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};va.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};va.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};va.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};va.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};va.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 iw(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};va.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(`
|
|
16011
|
-
`),c=a.length,u;if(t.shiftKey)for(u=0;u<c;++u)a[u][0]===" "&&(a[u][1]===" "?(a[u]=a[u].substr(2),r-=2):(a[u]=a[u].substr(1),r-=1));else for(u=0;u<c;++u)a[u]=` ${a[u]}`,r+=2;let f=a.join(`
|
|
16012
|
-
`);n.value=n.value.slice(0,i)+f+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};va.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=tO(e,!1),this._pickStatisticsText=tO(e,!0),this._resourceCacheStatisticsText=lwe())};va.prototype.isDestroyed=function(){return!1};va.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){be.getObservable(e,t).dispose()}),fe(this)};va.getStatistics=tO;var HG=va;function GG(e,t){e=Cn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new HG(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=Tc.createSection,c=Tc.createCheckbox,u=Tc.createRangeInput,f=Tc.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),_=a(s,"Update","updateVisible","toggleUpdate"),m=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),A=a(s,"Style","styleVisible","toggleStyle"),b=a(s,"Optimization","optimizationVisible","toggleOptimization"),x=document.createElement("div");x.className="field-group";let T=document.createElement("label");T.className="field-label",T.appendChild(document.createTextNode("Properties: "));let E=document.createElement("div");E.setAttribute("data-bind","text: properties"),x.appendChild(T),x.appendChild(E),h.appendChild(x),h.appendChild(f("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(f("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let w=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.",w.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 O=document.createElement("div");O.setAttribute("data-bind","visible: pointCloudShading"),O.appendChild(u("Geometric Error Scale","geometricErrorScale",0,2,.01)),O.appendChild(u("Maximum Attenuation","maximumAttenuation",0,32,1)),O.appendChild(u("Base Resolution","baseResolution",0,1,.01)),O.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(O);let P=document.createElement("div");P.setAttribute("data-bind","visible: eyeDomeLighting"),P.appendChild(u("EDL Strength","eyeDomeLightingStrength",0,2,.1)),P.appendChild(u("EDL Radius","eyeDomeLightingRadius",0,4,.1)),O.appendChild(P),_.appendChild(c("Freeze Frame","freezeFrame")),_.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let R=document.createElement("div");R.appendChild(u("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),_.appendChild(R);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(u("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(u("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),_.appendChild(N),m.appendChild(c("Performance","performance")),m.appendChild(i),m.appendChild(c("Statistics","showStatistics"));let g=document.createElement("div");g.className="cesium-3dTilesInspector-statistics",g.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),m.appendChild(g),m.appendChild(c("Pick Statistics","showPickStatistics"));let C=document.createElement("div");C.className="cesium-3dTilesInspector-statistics",C.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),m.appendChild(C),m.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let S=document.createElement("div");S.className="cesium-3dTilesInspector-statistics",S.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),m.appendChild(S);let v=document.createElement("div");A.appendChild(v),v.appendChild(document.createTextNode("Color Blend Mode: "));let L=document.createElement("select");L.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),v.appendChild(L);let F=document.createElement("textarea");F.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),v.className="cesium-cesiumInspector-styleEditor",v.appendChild(F);let V=f("Compile (Ctrl+Enter)","compileStyle");v.appendChild(V);let k=document.createElement("div");k.className="cesium-cesiumInspector-error",k.setAttribute("data-bind","text: editorError"),v.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")),b.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let H=document.createElement("div");H.appendChild(u("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),b.appendChild(H);let B=document.createElement("div");B.appendChild(u("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),b.appendChild(B);let W=document.createElement("div");W.appendChild(u("Min. levels to skip","skipLevels",0,10,1)),b.appendChild(W),b.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),b.appendChild(c("Load siblings of visible tiles","loadSiblings")),be.applyBindings(o,n)}Object.defineProperties(GG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});GG.prototype.isDestroyed=function(){return!1};GG.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var WG=GG;function uwe(e){e=e??G.EMPTY_OBJECT;let t=e.globe,n=e.imageryProviderViewModels??G.EMPTY_ARRAY,i=e.terrainProviderViewModels??G.EMPTY_ARRAY;this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,be.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=be.getObservable(this,"imageryProviderViewModels"),r=be.pureComputed(function(){let h=o(),p={},_;for(_=0;_<h.length;_++){let A=h[_],b=A.category;l(p[b])?p[b].push(A):p[b]=[A]}let m=Object.keys(p),y=[];for(_=0;_<m.length;_++){let A=m[_];y.push({name:A,providers:p[A]})}return y});this._imageryProviders=r;let s=be.getObservable(this,"terrainProviderViewModels"),a=be.pureComputed(function(){let h=s(),p={},_;for(_=0;_<h.length;_++){let A=h[_],b=A.category;l(p[b])?p[b].push(A):p[b]=[A]}let m=Object.keys(p),y=[];for(_=0;_<m.length;_++){let A=m[_];y.push({name:A,providers:p[A]})}return y});this._terrainProviders=a,this.buttonTooltip=void 0,be.defineProperty(this,"buttonTooltip",function(){let h=this.selectedImagery,p=this.selectedTerrain,_=l(h)?h.name:void 0,m=l(p)?p.name:void 0;return l(_)&&l(m)?`${_}
|
|
16013
|
-
${m}`:l(_)?_:m}),this.buttonImageUrl=void 0,be.defineProperty(this,"buttonImageUrl",function(){let h=this.selectedImagery;if(l(h))return h.iconUrl}),this.selectedImagery=void 0;let c=be.observable();this._currentImageryLayers=[],be.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(h){if(c()===h){this.dropDownVisible=!1;return}let p,_=this._currentImageryLayers,m=_.length,y=this._globe.imageryLayers,A=!1;for(p=0;p<m;p++){let b=y.length;for(let x=0;x<b;x++){let T=y.get(x);if(T===_[p]){y.remove(T),A=!0;break}}}if(l(h)){let b=h.creationCommand();if(Array.isArray(b)){let x=b.length;for(this._currentImageryLayers=[],p=x-1;p>=0;p--){let T=gc.fromProviderAsync(b[p]);y.add(T,0),this._currentImageryLayers.push(T)}}else{this._currentImageryLayers=[];let x=gc.fromProviderAsync(b);if(x.name=h.name,A)y.add(x,0);else{let T=y.get(0);l(T)&&y.remove(T),y.add(x,0)}this._currentImageryLayers.push(x)}}c(h),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let u=be.observable();be.defineProperty(this,"selectedTerrain",{get:function(){return u()},set:function(h){if(u()===h){this.dropDownVisible=!1;return}let p;if(l(h)&&(p=h.creationCommand()),l(p)&&!l(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof Og),this._globe.terrainProvider=p;else if(l(p)){let _=!1,m=this._globe.terrainProviderChanged.addEventListener(()=>{_=!0,m()}),A=new LG(p).readyEvent.addEventListener(b=>{_||(this._globe.depthTestAgainstTerrain=!(b instanceof Og),this._globe.terrainProvider=b,A())})}u(h),this.dropDownVisible=!1}});let f=this;this._toggleDropDown=_n(function(){f.dropDownVisible=!f.dropDownVisible}),this.selectedImagery=e.selectedImageryProviderViewModel??n[0],this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(uwe.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var jG=uwe;function YG(e,t){e=Cn(e);let n=new jG(t),i=document.createElement("button");i.type="button",i.className="cesium-button cesium-toolbar-button",i.setAttribute("data-bind","attr: { title: buttonTooltip },click: toggleDropDown"),e.appendChild(i);let o=document.createElement("img");o.setAttribute("draggable","false"),o.className="cesium-baseLayerPicker-selected",o.setAttribute("data-bind","attr: { src: buttonImageUrl }, visible: !!buttonImageUrl"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-baseLayerPicker-dropDown",r.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-dropDown-visible" : dropDownVisible }'),e.appendChild(r);let s=document.createElement("div");s.className="cesium-baseLayerPicker-sectionTitle",s.setAttribute("data-bind","visible: imageryProviderViewModels.length > 0"),s.innerHTML="Imagery",r.appendChild(s);let a=document.createElement("div");a.className="cesium-baseLayerPicker-section",a.setAttribute("data-bind","foreach: _imageryProviders"),r.appendChild(a);let c=document.createElement("div");c.className="cesium-baseLayerPicker-category",a.appendChild(c);let u=document.createElement("div");u.className="cesium-baseLayerPicker-categoryTitle",u.setAttribute("data-bind","text: name"),c.appendChild(u);let f=document.createElement("div");f.className="cesium-baseLayerPicker-choices",f.setAttribute("data-bind","foreach: providers"),c.appendChild(f);let h=document.createElement("div");h.className="cesium-baseLayerPicker-item",h.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedImagery },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedImagery = $data; }'),f.appendChild(h);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),h.appendChild(p);let _=document.createElement("div");_.className="cesium-baseLayerPicker-itemLabel",_.setAttribute("data-bind","text: name"),h.appendChild(_);let m=document.createElement("div");m.className="cesium-baseLayerPicker-sectionTitle",m.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),m.innerHTML="Terrain",r.appendChild(m);let y=document.createElement("div");y.className="cesium-baseLayerPicker-section",y.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(y);let A=document.createElement("div");A.className="cesium-baseLayerPicker-category",y.appendChild(A);let b=document.createElement("div");b.className="cesium-baseLayerPicker-categoryTitle",b.setAttribute("data-bind","text: name"),A.appendChild(b);let x=document.createElement("div");x.className="cesium-baseLayerPicker-choices",x.setAttribute("data-bind","foreach: providers"),A.appendChild(x);let T=document.createElement("div");T.className="cesium-baseLayerPicker-item",T.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),x.appendChild(T);let E=document.createElement("img");E.className="cesium-baseLayerPicker-itemIcon",E.setAttribute("data-bind","attr: { src: iconUrl }"),E.setAttribute("draggable","false"),T.appendChild(E);let w=document.createElement("div");w.className="cesium-baseLayerPicker-itemLabel",w.setAttribute("data-bind","text: name"),T.appendChild(w),be.applyBindings(n,i),be.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(I){i.contains(I.target)||r.contains(I.target)||(n.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(YG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});YG.prototype.isDestroyed=function(){return!1};YG.prototype.destroy=function(){return Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._element),be.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),fe(this)};var qG=YG;function fwe(e){let t=e.creationFunction;l(t.canExecute)||(t=_n(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=e.category??"",be.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(fwe.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var Ts=fwe;function tDt(){let e=[],t=devicePixelRatio>=2;return e.push(new Ts({name:"Bing Maps Aerial",iconUrl:Kt("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.AERIAL})}})),e.push(new Ts({name:"Bing Maps Aerial with Labels",iconUrl:Kt("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.AERIAL_WITH_LABELS})}})),e.push(new Ts({name:"Bing Maps Roads",iconUrl:Kt("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.ROAD})}})),e.push(new Ts({name:"ArcGIS World Imagery",iconUrl:Kt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png"),tooltip:`ArcGIS World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes 15m TerraColor imagery at small and mid-scales (~1:591M down to ~1:288k) for the world. The map features Maxar imagery at 0.3m resolution for select metropolitan areas around the world, 0.5m resolution across the United States and parts of Western Europe, and 1m resolution imagery across the rest of the world. In addition to commercial sources, the World Imagery map features high-resolution aerial photography contributed by the GIS User Community. This imagery ranges from 0.3m to 0.03m resolution (down to ~1:280 nin select communities). For more information on this map, including the terms of use, visit us online at
|
|
16005
|
+
*/var mZ="__knockoutObservables",pZ="__knockoutSubscribable";function ewe(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=twe(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===mZ||o===pZ)&&!(o in i)){var r=e[o],s=r instanceof Array,a=n.isObservable(r)?r:s?n.observableArray(r):n.observable(r);Object.defineProperty(e,o,{configurable:!0,enumerable:!0,get:a,set:n.isWriteableObservable(a)?a:void 0}),i[o]=a,s&&zIt(n,a)}}),e}function twe(e,t){var n=e[mZ];return!n&&t&&(n={},Object.defineProperty(e,mZ,{value:n})),n}function UIt(e,t,n){var i=this,o={owner:e,deferEvaluation:!0};if(typeof n=="function")o.read=n;else{if("value"in n)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if(typeof n.get!="function")throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');o.read=n.get,o.write=n.set}return e[t]=i.computed(o),ewe.call(i,e,[t]),e}function zIt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=VIt(e,t,i))})}function VIt(e,t,n){var i=HIt(e,n);return i.subscribe(t)}function HIt(e,t){var n=t[pZ];if(!n){n=new e.subscribable,Object.defineProperty(t,pZ,{value:n});var i={};GIt(t,n,i),WIt(e,t,n,i)}return n}function GIt(e,t,n){["pop","push","reverse","shift","sort","splice","unshift"].forEach(function(i){var o=e[i];e[i]=function(){var r=o.apply(this,arguments);return n.pause!==!0&&t.notifySubscribers(this),r}})}function WIt(e,t,n,i){["remove","removeAll","destroy","destroyAll","replace"].forEach(function(o){Object.defineProperty(t,o,{enumerable:!1,value:function(){var r;i.pause=!0;try{r=e.observableArray.fn[o].apply(e.observableArray(t),arguments)}finally{i.pause=!1}return n.notifySubscribers(t),r}})})}function nwe(e,t){if(!e)return null;var n=twe(e,!1);return n&&n[t]||null}function jIt(e,t){var n=nwe(e,t);n&&n.valueHasMutated()}function YIt(e){e.track=ewe,e.getObservable=nwe,e.valueHasMutated=jIt,e.defineProperty=UIt}var kG={attachToKo:YIt};var iwe="http://www.w3.org/2000/svg",owe="cesium-svgPath-svg",qIt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(iwe,"svg:svg");i.setAttribute("class",owe);let o=document.createElementNS(iwe,"path");return i.appendChild(o),e.virtualElements.setDomNodeChildren(t,[i]),e.computed({read:function(){let r=e.unwrap(n());o.setAttribute("d",e.unwrap(r.path));let s=e.unwrap(r.width),a=e.unwrap(r.height);i.setAttribute("width",s),i.setAttribute("height",a),i.setAttribute("viewBox",`0 0 ${s} ${a}`),r.css&&i.setAttribute("class",`${owe} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},UG=qIt;kG.attachToKo(lw);UG.register(lw);var be=lw;function Z1(e){l(e)||(e=new Em),this._clock=e,this._eventHelper=new br,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=be.observable(K.now()),this.systemTime.equalityComparer=K.equals,this.startTime=be.observable(e.startTime),this.startTime.equalityComparer=K.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=be.observable(e.stopTime),this.stopTime.equalityComparer=K.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=be.observable(e.currentTime),this.currentTime.equalityComparer=K.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=be.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=be.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=be.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=be.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=be.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),be.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(Z1.prototype,{clock:{get:function(){return this._clock}}});Z1.prototype.synchronize=function(){let e=this._clock;this.systemTime=K.now(),this.startTime=e.startTime,this.stopTime=e.stopTime,this.currentTime=e.currentTime,this.multiplier=e.multiplier,this.clockStep=e.clockStep,this.clockRange=e.clockRange,this.canAnimate=e.canAnimate,this.shouldAnimate=e.shouldAnimate};Z1.prototype.isDestroyed=function(){return!1};Z1.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var zG=Z1;function XIt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,he.throwInstantiationError()}var rwe=XIt;var $1={};$1.createCheckbox=function(e,t,n){let i=document.createElement("div"),o=document.createElement("label"),r=document.createElement("input");r.type="checkbox";let s=`checked: ${t}`;return l(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};$1.createSection=function(e,t,n,i){let o=document.createElement("div");o.className="cesium-cesiumInspector-section",o.setAttribute("data-bind",`css: { "cesium-cesiumInspector-section-collapsed": !${n} }`),e.appendChild(o);let r=document.createElement("h3");r.className="cesium-cesiumInspector-sectionHeader",r.appendChild(document.createTextNode(t)),r.setAttribute("data-bind",`click: ${i}`),o.appendChild(r);let s=document.createElement("div");return s.className="cesium-cesiumInspector-sectionContent",o.appendChild(s),s};$1.createRangeInput=function(e,t,n,i,o,r){r=r??t;let s=document.createElement("input");s.setAttribute("data-bind",`value: ${r}`),s.type="number";let a=document.createElement("input");a.type="range",a.min=n,a.max=i,a.step=o??"any",a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let u=document.createElement("div");return u.className="cesium-cesiumInspector-slider",u.appendChild(document.createTextNode(e)),u.appendChild(s),u.appendChild(c),u};$1.createButton=function(e,t,n){let i=document.createElement("button");i.type="button",i.textContent=e,i.className="cesium-cesiumInspector-pickButton";let o=`click: ${t}`;return l(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var Tc=$1;function swe(e,t){this._command=e,t=t??G.EMPTY_OBJECT,this.toggled=t.toggled??!1,this.tooltip=t.tooltip??"",be.track(this,["toggled","tooltip"])}Object.defineProperties(swe.prototype,{command:{get:function(){return this._command}}});var hx=swe;function KIt(e,t){t=t??!0;let n=new me,i=new me;function o(){let r={args:arguments,cancel:!1},s;return n.raiseEvent(r),r.cancel||(s=e.apply(null,arguments),i.raiseEvent(s)),s}return o.canExecute=t,be.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var _n=KIt;function QIt(e,t,n,i,o){return n.call(i,e[t]),be.getObservable(e,t).subscribe(n,i,o)}var Va=QIt;var mx="http://www.w3.org/2000/svg",lwe="http://www.w3.org/1999/xlink",VG,eO=z.fromCssColorString("rgba(247,250,255,0.384)"),HG=z.fromCssColorString("rgba(143,191,255,0.216)"),gZ=z.fromCssColorString("rgba(153,197,255,0.098)"),GG=z.fromCssColorString("rgba(255,255,255,0.086)"),JIt=z.fromCssColorString("rgba(255,255,255,0.267)"),ZIt=z.fromCssColorString("rgba(255,255,255,0)"),awe=z.fromCssColorString("rgba(66,67,68,0.3)"),cwe=z.fromCssColorString("rgba(0,0,0,0.5)");function NA(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var tO={animation_pathReset:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.316,5.318,9.833,13.682,9.833,5.5,5.5,5.5,5.5,25.5,9.833,25.5,9.833,17.318,24.316,25.682z"},animation_pathPause:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M13,5.5,7.5,5.5,7.5,25.5,13,25.5zM24.5,5.5,19,5.5,19,25.5,24.5,25.5z"},animation_pathPlay:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathPlayReverse:{tagName:"path",transform:"translate(16,16) scale(-0.85,0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathLoop:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.249,15.499c-0.009,4.832-3.918,8.741-8.75,8.75c-2.515,0-4.768-1.064-6.365-2.763l2.068-1.442l-7.901-3.703l0.744,8.694l2.193-1.529c2.244,2.594,5.562,4.242,9.26,4.242c6.767,0,12.249-5.482,12.249-12.249H24.249zM15.499,6.75c2.516,0,4.769,1.065,6.367,2.764l-2.068,1.443l7.901,3.701l-0.746-8.693l-2.192,1.529c-2.245-2.594-5.562-4.245-9.262-4.245C8.734,3.25,3.25,8.734,3.249,15.499H6.75C6.758,10.668,10.668,6.758,15.499,6.75z"},animation_pathClock:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-15.5)",d:"M15.5,2.374C8.251,2.375,2.376,8.251,2.374,15.5C2.376,22.748,8.251,28.623,15.5,28.627c7.249-0.004,13.124-5.879,13.125-13.127C28.624,8.251,22.749,2.375,15.5,2.374zM15.5,25.623C9.909,25.615,5.385,21.09,5.375,15.5C5.385,9.909,9.909,5.384,15.5,5.374c5.59,0.01,10.115,4.535,10.124,10.125C25.615,21.09,21.091,25.615,15.5,25.623zM8.625,15.5c-0.001-0.552-0.448-0.999-1.001-1c-0.553,0-1,0.448-1,1c0,0.553,0.449,1,1,1C8.176,16.5,8.624,16.053,8.625,15.5zM8.179,18.572c-0.478,0.277-0.642,0.889-0.365,1.367c0.275,0.479,0.889,0.641,1.365,0.365c0.479-0.275,0.643-0.887,0.367-1.367C9.27,18.461,8.658,18.297,8.179,18.572zM9.18,10.696c-0.479-0.276-1.09-0.112-1.366,0.366s-0.111,1.09,0.365,1.366c0.479,0.276,1.09,0.113,1.367-0.366C9.821,11.584,9.657,10.973,9.18,10.696zM22.822,12.428c0.478-0.275,0.643-0.888,0.366-1.366c-0.275-0.478-0.89-0.642-1.366-0.366c-0.479,0.278-0.642,0.89-0.366,1.367C21.732,12.54,22.344,12.705,22.822,12.428zM12.062,21.455c-0.478-0.275-1.089-0.111-1.366,0.367c-0.275,0.479-0.111,1.09,0.366,1.365c0.478,0.277,1.091,0.111,1.365-0.365C12.704,22.344,12.54,21.732,12.062,21.455zM12.062,9.545c0.479-0.276,0.642-0.888,0.366-1.366c-0.276-0.478-0.888-0.642-1.366-0.366s-0.642,0.888-0.366,1.366C10.973,9.658,11.584,9.822,12.062,9.545zM22.823,18.572c-0.48-0.275-1.092-0.111-1.367,0.365c-0.275,0.479-0.112,1.092,0.367,1.367c0.477,0.275,1.089,0.113,1.365-0.365C23.464,19.461,23.3,18.848,22.823,18.572zM19.938,7.813c-0.477-0.276-1.091-0.111-1.365,0.366c-0.275,0.48-0.111,1.091,0.366,1.367s1.089,0.112,1.366-0.366C20.581,8.702,20.418,8.089,19.938,7.813zM23.378,14.5c-0.554,0.002-1.001,0.45-1.001,1c0.001,0.552,0.448,1,1.001,1c0.551,0,1-0.447,1-1C24.378,14.949,23.929,14.5,23.378,14.5zM15.501,6.624c-0.552,0-1,0.448-1,1l-0.466,7.343l-3.004,1.96c-0.478,0.277-0.642,0.889-0.365,1.365c0.275,0.479,0.889,0.643,1.365,0.367l3.305-1.676C15.39,16.99,15.444,17,15.501,17c0.828,0,1.5-0.671,1.5-1.5l-0.5-7.876C16.501,7.072,16.053,6.624,15.501,6.624zM15.501,22.377c-0.552,0-1,0.447-1,1s0.448,1,1,1s1-0.447,1-1S16.053,22.377,15.501,22.377zM18.939,21.455c-0.479,0.277-0.643,0.889-0.366,1.367c0.275,0.477,0.888,0.643,1.366,0.365c0.478-0.275,0.642-0.889,0.366-1.365C20.028,21.344,19.417,21.18,18.939,21.455z"},animation_pathWingButton:{tagName:"path",d:"m 4.5,0.5 c -2.216,0 -4,1.784 -4,4 l 0,24 c 0,2.216 1.784,4 4,4 l 13.71875,0 C 22.478584,27.272785 27.273681,22.511272 32.5,18.25 l 0,-13.75 c 0,-2.216 -1.784,-4 -4,-4 l -24,0 z"},animation_pathPointer:{tagName:"path",d:"M-15,-65,-15,-55,15,-55,15,-65,0,-95z"},animation_pathSwooshFX:{tagName:"path",d:"m 85,0 c 0,16.617 -4.813944,35.356 -13.131081,48.4508 h 6.099803 c 8.317138,-13.0948 13.13322,-28.5955 13.13322,-45.2124 0,-46.94483 -38.402714,-85.00262 -85.7743869,-85.00262 -1.0218522,0 -2.0373001,0.0241 -3.0506131,0.0589 45.958443,1.59437 82.723058,35.77285 82.723058,81.70532 z"}};function Ih(e){let t=document.createElementNS(mx,e.tagName);for(let n in e)if(e.hasOwnProperty(n)&&n!=="tagName")if(n==="children"){let i=e.children.length;for(let o=0;o<i;++o)t.appendChild(Ih(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(lwe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function _Z(e,t,n){let i=document.createElementNS(mx,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(mx,"tspan");return o.textContent=n,i.appendChild(o),i}function $It(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var WG=new z;function is(e,t){let n=t.alpha,i=1-n;return WG.red=e.red*i+t.red*n,WG.green=e.green*i+t.green*n,WG.blue=e.blue*i+t.blue*n,WG.toCssColorString()}function yZ(e,t,n){let i=tO[n],o={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{tagName:"rect",class:"cesium-animation-buttonGlow",width:32,height:32,rx:2,ry:2},{tagName:"rect",class:"cesium-animation-buttonMain",width:32,height:32,rx:4,ry:4},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return Ih(o)}function eDt(e,t,n){let i=tO[n],o=tO.animation_pathWingButton,r={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{class:"cesium-animation-buttonGlow",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonMain",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return Ih(r)}function tDt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&VG!==e))if(t.type==="mousedown"||i&&t.type==="mousemove"||t.type==="touchstart"&&t.touches.length===1||i&&t.type==="touchmove"&&t.touches.length===1){let o=e._centerX,r=e._centerY,a=e._svgNode.getBoundingClientRect(),c,u;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,u=t.touches[0].clientY):(c=t.clientX,u=t.clientY),!i&&(c>a.right||c<a.left||u<a.top||u>a.bottom))return;let f=e._shuttleRingPointer.getBoundingClientRect(),h=c-o-a.left,p=u-r-a.top,_=Math.atan2(p,h)*180/Math.PI+90;_>180&&(_-=360);let m=n.shuttleRingAngle;i||c<f.right&&c>f.left&&u>f.top&&u<f.bottom?(VG=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=_):_<m?n.slower():_>m&&n.faster(),t.preventDefault()}else e===VG&&(VG=void 0),n.shuttleRingDragging=!1}function Yg(e,t){this._viewModel=t,this.svgElement=e,this._enabled=void 0,this._toggled=void 0;let n=this;this._clickFunction=function(){let i=n._viewModel.command;i.canExecute&&i()},e.addEventListener("click",this._clickFunction,!0),this._subscriptions=[Va(t,"toggled",this.setToggled,this),Va(t,"tooltip",this.setTooltip,this),Va(t.command,"canExecute",this.setEnabled,this)]}Yg.prototype.destroy=function(){this.svgElement.removeEventListener("click",this._clickFunction,!0);let e=this._subscriptions;for(let t=0,n=e.length;t<n;t++)e[t].dispose();fe(this)};Yg.prototype.isDestroyed=function(){return!1};Yg.prototype.setEnabled=function(e){if(this._enabled!==e){if(this._enabled=e,!e){this.svgElement.setAttribute("class","cesium-animation-buttonDisabled");return}if(this._toggled){this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled");return}this.svgElement.setAttribute("class","cesium-animation-rectButton")}};Yg.prototype.setToggled=function(e){this._toggled!==e&&(this._toggled=e,this._enabled&&(e?this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled"):this.svgElement.setAttribute("class","cesium-animation-rectButton")))};Yg.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function uw(e,t){e=Cn(e),this._viewModel=t,this._container=e,this._centerX=0,this._centerY=0,this._defsElement=void 0,this._svgNode=void 0,this._topG=void 0,this._lastHeight=void 0,this._lastWidth=void 0;let n=e.ownerDocument,i=document.createElement("style");i.textContent=".cesium-animation-rectButton .cesium-animation-buttonGlow { filter: url(#animation_blurred); }.cesium-animation-rectButton .cesium-animation-buttonMain { fill: url(#animation_buttonNormal); }.cesium-animation-buttonToggled .cesium-animation-buttonMain { fill: url(#animation_buttonToggled); }.cesium-animation-rectButton:hover .cesium-animation-buttonMain { fill: url(#animation_buttonHovered); }.cesium-animation-buttonDisabled .cesium-animation-buttonMain { fill: url(#animation_buttonDisabled); }.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshGradient); }.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshHovered); }.cesium-animation-shuttleRingPointer { fill: url(#animation_shuttleRingPointerGradient); }.cesium-animation-shuttleRingPausePointer { fill: url(#animation_shuttleRingPointerPaused); }.cesium-animation-knobOuter { fill: url(#animation_knobOuter); }.cesium-animation-knobInner { fill: url(#animation_knobInner); }",n.head.insertBefore(i,n.head.childNodes[0]);let o=document.createElement("div");o.className="cesium-animation-theme",o.innerHTML='<div class="cesium-animation-themeNormal"></div><div class="cesium-animation-themeHover"></div><div class="cesium-animation-themeSelect"></div><div class="cesium-animation-themeDisabled"></div><div class="cesium-animation-themeKnob"></div><div class="cesium-animation-themePointer"></div><div class="cesium-animation-themeSwoosh"></div><div class="cesium-animation-themeSwooshHover"></div>',this._theme=o,this._themeNormal=o.childNodes[0],this._themeHover=o.childNodes[1],this._themeSelect=o.childNodes[2],this._themeDisabled=o.childNodes[3],this._themeKnob=o.childNodes[4],this._themePointer=o.childNodes[5],this._themeSwoosh=o.childNodes[6],this._themeSwooshHover=o.childNodes[7];let r=document.createElementNS(mx,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",lwe);let s=document.createElementNS(mx,"g");this._topG=s,this._realtimeSVG=new Yg(eDt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Yg(yZ(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Yg(yZ(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Yg(yZ(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(mx,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Ih({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let u=tO.animation_pathSwooshFX,f=tO.animation_pathPointer,h=Ih({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:u.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:u.d},{tagName:u.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:u.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=h,this._shuttleRingPointer=Ih({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:f.tagName,d:f.d});let p=Ih({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Ih({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let _=61,m=Ih({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:_});this._knobDate=_Z(0,-24,""),this._knobTime=_Z(0,-7,""),this._knobStatus=_Z(0,-41,"");let y=Ih({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:_}),A=document.createElementNS(mx,"g");A.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(A),s.appendChild(p),s.appendChild(a),A.appendChild(c),A.appendChild(h),A.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(m),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(y),r.appendChild(s),e.appendChild(r);let b=this;function x(O){tDt(b,O)}this._mouseCallback=x,c.addEventListener("mousedown",x,!0),c.addEventListener("touchstart",x,!0),h.addEventListener("mousedown",x,!0),h.addEventListener("touchstart",x,!0),n.addEventListener("mousemove",x,!0),n.addEventListener("touchmove",x,!0),n.addEventListener("mouseup",x,!0),n.addEventListener("touchend",x,!0),n.addEventListener("touchcancel",x,!0),this._shuttleRingPointer.addEventListener("mousedown",x,!0),this._shuttleRingPointer.addEventListener("touchstart",x,!0),this._knobOuter.addEventListener("mousedown",x,!0),this._knobOuter.addEventListener("touchstart",x,!0);let T=this._knobTime.childNodes[0],E=this._knobDate.childNodes[0],w=this._knobStatus.childNodes[0],I;this._subscriptions=[Va(t.pauseViewModel,"toggled",function(O){I!==O&&(I=O,I?b._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):b._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Va(t,"shuttleRingAngle",function(O){$It(b._shuttleRingPointer,b._knobOuter,O)}),Va(t,"dateLabel",function(O){E.textContent!==O&&(E.textContent=O)}),Va(t,"timeLabel",function(O){T.textContent!==O&&(T.textContent=O)}),Va(t,"multiplierLabel",function(O){w.textContent!==O&&(w.textContent=O)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(uw.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});uw.prototype.isDestroyed=function(){return!1};uw.prototype.destroy=function(){l(this._observer)&&(this._observer.disconnect(),this._observer=void 0);let e=this._container.ownerDocument,t=this._mouseCallback;this._shuttleRingBackPanel.removeEventListener("mousedown",t,!0),this._shuttleRingBackPanel.removeEventListener("touchstart",t,!0),this._shuttleRingSwooshG.removeEventListener("mousedown",t,!0),this._shuttleRingSwooshG.removeEventListener("touchstart",t,!0),e.removeEventListener("mousemove",t,!0),e.removeEventListener("touchmove",t,!0),e.removeEventListener("mouseup",t,!0),e.removeEventListener("touchend",t,!0),e.removeEventListener("touchcancel",t,!0),this._shuttleRingPointer.removeEventListener("mousedown",t,!0),this._shuttleRingPointer.removeEventListener("touchstart",t,!0),this._knobOuter.removeEventListener("mousedown",t,!0),this._knobOuter.removeEventListener("touchstart",t,!0),this._container.removeChild(this._svgNode),this._container.removeChild(this._theme),this._realtimeSVG.destroy(),this._playReverseSVG.destroy(),this._playForwardSVG.destroy(),this._pauseSVG.destroy();let n=this._subscriptions;for(let i=0,o=n.length;i<o;i++)n[i].dispose();return fe(this)};uw.prototype.resize=function(){let e=this._container.clientWidth,t=this._container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;let n=this._svgNode,i=200,o=132,r=e,s=t;e===0&&t===0?(r=i,s=o):e===0?(s=t,r=i*(t/o)):t===0&&(r=e,s=o*(e/i));let a=r/i,c=s/o;n.style.cssText=`width: ${r}px; height: ${s}px; position: absolute; bottom: 0; left: 0; overflow: hidden;`,n.setAttribute("width",r),n.setAttribute("height",s),n.setAttribute("viewBox",`0 0 ${r} ${s}`),this._topG.setAttribute("transform",`scale(${a},${c})`),this._centerX=Math.max(1,100*a),this._centerY=Math.max(1,100*c),this._lastHeight=e,this._lastWidth=t};uw.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(l(this._observer))return;let f=this;f._observer=new MutationObserver(function(){e.body.contains(f._container)&&(f._observer.disconnect(),f._observer=void 0,f.applyThemeChanges())}),f._observer.observe(e,{childList:!0,subtree:!0});return}let t=NA(this._themeNormal),n=NA(this._themeHover),i=NA(this._themeSelect),o=NA(this._themeDisabled),r=NA(this._themeKnob),s=NA(this._themePointer),a=NA(this._themeSwoosh),c=NA(this._themeSwooshHover),u=Ih({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(t,eO)},{tagName:"stop",offset:"12%","stop-color":is(t,HG)},{tagName:"stop",offset:"46%","stop-color":is(t,gZ)},{tagName:"stop",offset:"81%","stop-color":is(t,GG)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(n,eO)},{tagName:"stop",offset:"12%","stop-color":is(n,HG)},{tagName:"stop",offset:"46%","stop-color":is(n,gZ)},{tagName:"stop",offset:"81%","stop-color":is(n,GG)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(i,eO)},{tagName:"stop",offset:"12%","stop-color":is(i,HG)},{tagName:"stop",offset:"46%","stop-color":is(i,gZ)},{tagName:"stop",offset:"81%","stop-color":is(i,GG)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(o,JIt)},{tagName:"stop",offset:"75%","stop-color":is(o,ZIt)}]},{id:"animation_blurred",tagName:"filter",width:"200%",height:"200%",x:"-50%",y:"-50%",children:[{tagName:"feGaussianBlur",stdDeviation:4,in:"SourceGraphic"}]},{id:"animation_shuttleRingSwooshGradient",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":a.toCssColorString()}]},{id:"animation_shuttleRingSwooshHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":c.toCssColorString()}]},{id:"animation_shuttleRingPointerGradient",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"40%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"60%","stop-color":is(s,cwe)},{tagName:"stop",offset:"100%","stop-color":is(s,cwe)}]},{id:"animation_shuttleRingPointerPaused",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":"#CCC"},{tagName:"stop",offset:"40%","stop-color":"#CCC"},{tagName:"stop",offset:"60%","stop-color":"#555"},{tagName:"stop",offset:"100%","stop-color":"#555"}]},{id:"animation_knobOuter",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":is(r,eO)},{tagName:"stop",offset:"60%","stop-color":is(r,awe)},{tagName:"stop",offset:"85%","stop-color":is(r,HG)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":is(r,awe)},{tagName:"stop",offset:"60%","stop-color":is(r,eO)},{tagName:"stop",offset:"85%","stop-color":is(r,GG)}]}]});l(this._defsElement)?this._svgNode.replaceChild(u,this._defsElement):this._svgNode.appendChild(u),this._defsElement=u};var jG=uw;var nDt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],FA=15,fw=105;function uwe(e,t){return e-t}function AZ(e,t){let n=Po(t,e,uwe);return n<0?~n:n}function iDt(e,t){if(Math.abs(e)<=FA)return e/FA;let n=FA,i=fw,o,r=0,s;return e>0?(o=Math.log(t[t.length-1]),s=(o-r)/(i-n),Math.exp(r+s*(e-n))):(o=Math.log(-t[0]),s=(o-r)/(i-n),-Math.exp(r+s*(Math.abs(e)-n)))}function oDt(e,t,n){if(n.clockStep===mo.SYSTEM_CLOCK)return FA;if(Math.abs(e)<=1)return e*FA;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=FA,r=fw,s,a=0,c;return e>0?(s=Math.log(i),c=(s-a)/(r-o),(Math.log(e)-a)/c+o):(s=Math.log(-t[0]),c=(s-a)/(r-o),-((Math.log(Math.abs(e))-a)/c+o))}function ld(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=ld.defaultDateFormatter,this._timeFormatter=ld.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,be.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(ld.defaultTicks),this.timeLabel=void 0,be.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,be.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,be.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===mo.SYSTEM_CLOCK)return"Today";let a=s.multiplier;return a%1===0?`${a.toFixed(0)}x`:`${a.toFixed(3).replace(/0{0,3}$/,"")}x`}),this.shuttleRingAngle=void 0,be.defineProperty(this,"shuttleRingAngle",{get:function(){return oDt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,fw),-fw);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=mo.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===fw){c.multiplier=s>0?a[a.length-1]:a[0];return}let u=iDt(s,a);if(t.snapToTicks)u=a[AZ(u,a)];else if(u!==0){let f=Math.abs(u);if(f>100){let h=f.toFixed(0).length-2,p=Math.pow(10,h);u=Math.round(u/p)*p|0}else f>FA?u=Math.round(u):f>1?u=+u.toFixed(1):f>0&&(u=+u.toFixed(2))}c.multiplier=u}}),this._canAnimate=void 0,be.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===$r.UNBOUNDED)return!0;let c=s.multiplier,u=s.currentTime,f=s.startTime,h=!1;if(a===$r.LOOP_STOP)h=K.greaterThan(u,f)||u.equals(f)&&c>0;else{let p=s.stopTime;h=K.greaterThan(u,f)&&K.lessThan(u,p)||u.equals(f)&&c>0||u.equals(p)&&c<0}return h||(s.shouldAnimate=!1),h}),this._isSystemTimeAvailable=void 0,be.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===$r.UNBOUNDED)return!0;let c=s.systemTime;return K.greaterThanOrEquals(c,s.startTime)&&K.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,be.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=_n(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new hx(n,{toggled:be.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=_n(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new hx(i,{toggled:be.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=_n(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new hx(o,{toggled:be.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==mo.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=_n(function(){t._clockViewModel.clockStep=mo.SYSTEM_CLOCK},be.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new hx(r,{toggled:be.computed(function(){return e.clockStep===mo.SYSTEM_CLOCK}),tooltip:be.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=_n(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,u=AZ(c,a)-1;u>=0&&(s.multiplier=a[u])}),this._faster=_n(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,u=AZ(c,a)+1;u<a.length&&(s.multiplier=a[u])})}ld.defaultDateFormatter=function(e,t){let n=K.toGregorianDate(e);return`${nDt[n.month-1]} ${n.day} ${n.year}`};ld.defaultTicks=[.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];ld.defaultTimeFormatter=function(e,t){let n=K.toGregorianDate(e),i=Math.round(n.millisecond);return Math.abs(t._clockViewModel.multiplier)<1?`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")}.${i.toString().padStart(3,"0")}`:`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")} UTC`};ld.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};ld.prototype.setShuttleRingTicks=function(e){let t,n,i,o={},r=this._sortedFilteredPositiveTicks;for(r.length=0,t=0,n=e.length;t<n;++t)i=e[t],o.hasOwnProperty(i)||(o[i]=!0,r.push(i));r.sort(uwe);let s=[];for(n=r.length,t=n-1;t>=0;--t)i=r[t],i!==0&&s.push(-i);Array.prototype.push.apply(s,r),this._allShuttleRingTicks=s};Object.defineProperties(ld.prototype,{slower:{get:function(){return this._slower}},faster:{get:function(){return this._faster}},clockViewModel:{get:function(){return this._clockViewModel}},pauseViewModel:{get:function(){return this._pauseViewModel}},playReverseViewModel:{get:function(){return this._playReverseViewModel}},playForwardViewModel:{get:function(){return this._playForwardViewModel}},playRealtimeViewModel:{get:function(){return this._playRealtimeViewModel}},dateFormatter:{get:function(){return this._dateFormatter},set:function(e){this._dateFormatter=e}},timeFormatter:{get:function(){return this._timeFormatter},set:function(e){this._timeFormatter=e}}});ld._maxShuttleRingAngle=fw;ld._realtimeShuttleRingAngle=FA;var YG=ld;function rDt(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 bZ(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var sDt=new an,aDt=new d;function nO(e,t){let n=this,i=e.canvas,o=new id(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="",be.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=_n(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=_n(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=_n(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=_n(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=be.getObservable(this,"frustums").subscribe(function(u){n._scene.debugShowFrustums=u,n._scene.requestRender()}),this._frustumPlanesSubscription=be.getObservable(this,"frustumPlanes").subscribe(function(u){n._scene.debugShowFrustumPlanes=u,n._scene.requestRender()}),this._performanceSubscription=be.getObservable(this,"performance").subscribe(function(u){u?n._performanceDisplay=new mA({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=_n(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=be.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=_n(function(){if(n.primitiveReferenceFrame){let u=n._primitive.modelMatrix;n._modelMatrixPrimitive=new _G({modelMatrix:u}),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=be.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=_n(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(u){return l(n._modelMatrixPrimitive)&&u.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?u.owner===n._primitive||u.owner===n._primitive._billboardCollection||u.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=be.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=be.getObservable(this,"wireframe").subscribe(function(u){r._surface.tileProvider._debug.wireframe=u,n._scene.requestRender()}),this._depthFrustumSubscription=be.getObservable(this,"depthFrustum").subscribe(function(u){n._scene.debugShowDepthFrustum=u,n._scene.requestRender()}),this._incrementDepthFrustum=_n(function(){let u=n.depthFrustum+1;return n.depthFrustum=bZ(1,n._numberOfFrustums,u),n._scene.requestRender(),!0}),this._decrementDepthFrustum=_n(function(){let u=n.depthFrustum-1;return n.depthFrustum=bZ(1,n._numberOfFrustums,u),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=be.getObservable(this,"suspendUpdates").subscribe(function(u){r._surface._debug.suspendLodUpdate=u,u||(n.filterTile=!1)});let s;this._showTileCoordinates=_n(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new NG({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=be.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=be.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=_n(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=_n(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=be.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(u){let f=n._scene.pick({x:u.position.x,y:u.position.y});l(f)&&(n.primitive=l(f.collection)?f.collection:f.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=_n(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=be.getObservable(this,"pickPrimitiveActive").subscribe(function(u){u?o.setInputAction(a,hn.LEFT_CLICK):o.removeInputAction(hn.LEFT_CLICK)});function c(u){let f,h=r.ellipsoid,p=n._scene.camera.getPickRay(u.position,sDt),_=r.pick(p,n._scene,aDt);if(l(_)){let m=h.cartesianToCartographic(_),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let A=0;!f&&A<y.length;++A){let b=y[A];if(l(b))for(let x=0;!f&&x<b.length;++x){let T=b[x];ae.contains(T.rectangle,m)&&(f=T)}}}n.tile=f,n.pickTileActive=!1}this._pickTile=_n(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=be.getObservable(this,"pickTileActive").subscribe(function(u){u?o.setInputAction(c,hn.LEFT_CLICK):o.removeInputAction(hn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(nO.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 _n(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return _n(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return _n(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return _n(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return _n(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}}});nO.prototype._update=function(){this.frustums&&(this.frustumStatisticText=rDt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=bZ(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}`};nO.prototype.isDestroyed=function(){return!1};nO.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(),fe(this)};var qG=nO;function XG(e,t){e=Cn(e);let n=document.createElement("div"),i=new qG(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=Tc.createSection,c=Tc.createCheckbox,u=a(s,"General","generalVisible","toggleGeneral"),f=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),f.appendChild(h),u.appendChild(f),u.appendChild(c("Show Frustum Planes","frustumPlanes")),u.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",u.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),u.appendChild(p);let _=document.createElement("div");u.appendChild(_);let m=document.createElement("span");m.setAttribute("data-bind",'html: " Frustum:"'),_.appendChild(m);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),_.appendChild(y);let A=document.createElement("input");A.type="button",A.value="-",A.className="cesium-cesiumInspector-pickButton",A.setAttribute("data-bind","click: decrementDepthFrustum"),_.appendChild(A);let b=document.createElement("input");b.type="button",b.value="+",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: incrementDepthFrustum"),_.appendChild(b);let x=a(s,"Primitives","primitivesVisible","togglePrimitives"),T=document.createElement("div");T.className="cesium-cesiumInspector-pickSection",x.appendChild(T);let E=document.createElement("input");E.type="button",E.value="Pick a primitive",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let w=document.createElement("div");w.className="cesium-cesiumInspector-center",w.appendChild(E),T.appendChild(w),T.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),T.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),T.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),O=document.createElement("div");O.className="cesium-cesiumInspector-pickSection",I.appendChild(O);let P=document.createElement("input");P.type="button",P.value="Pick a tile",P.className="cesium-cesiumInspector-pickButton",P.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),w=document.createElement("div"),w.appendChild(P),w.className="cesium-cesiumInspector-center",O.appendChild(w);let R=document.createElement("div");O.appendChild(R);let N=document.createElement("input");N.type="button",N.value="Parent",N.className="cesium-cesiumInspector-pickButton",N.setAttribute("data-bind","click: selectParent");let g=document.createElement("input");g.type="button",g.value="NW",g.className="cesium-cesiumInspector-pickButton",g.setAttribute("data-bind","click: selectNW");let C=document.createElement("input");C.type="button",C.value="NE",C.className="cesium-cesiumInspector-pickButton",C.setAttribute("data-bind","click: selectNE");let S=document.createElement("input");S.type="button",S.value="SW",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: selectSW");let v=document.createElement("input");v.type="button",v.value="SE",v.className="cesium-cesiumInspector-pickButton",v.setAttribute("data-bind","click: selectSE");let L=document.createElement("div");L.className="cesium-cesiumInspector-tileText",R.className="cesium-cesiumInspector-frustumStatistics",R.appendChild(L),R.setAttribute("data-bind","visible: hasPickedTile"),L.setAttribute("data-bind","html: tileText");let F=document.createElement("div");F.className="cesium-cesiumInspector-relativeText",F.textContent="Select relative:",R.appendChild(F);let V=document.createElement("table"),k=document.createElement("tr"),H=document.createElement("tr"),B=document.createElement("td");B.appendChild(N);let W=document.createElement("td");W.appendChild(g);let q=document.createElement("td");q.appendChild(C),k.appendChild(B),k.appendChild(W),k.appendChild(q);let Z=document.createElement("td"),j=document.createElement("td");j.appendChild(S);let $=document.createElement("td");$.appendChild(v),H.appendChild(Z),H.appendChild(j),H.appendChild($),V.appendChild(k),V.appendChild(H),R.appendChild(V),O.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),O.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")),be.applyBindings(i,this._element)}Object.defineProperties(XG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XG.prototype.isDestroyed=function(){return!1};XG.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var KG=XG;function fwe(e){e=e??G.EMPTY_OBJECT;let t=e.globe,n=e.imageryProviderViewModels??G.EMPTY_ARRAY,i=e.terrainProviderViewModels??G.EMPTY_ARRAY;this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,be.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=be.getObservable(this,"imageryProviderViewModels"),r=be.pureComputed(function(){let h=o(),p={},_;for(_=0;_<h.length;_++){let A=h[_],b=A.category;l(p[b])?p[b].push(A):p[b]=[A]}let m=Object.keys(p),y=[];for(_=0;_<m.length;_++){let A=m[_];y.push({name:A,providers:p[A]})}return y});this._imageryProviders=r;let s=be.getObservable(this,"terrainProviderViewModels"),a=be.pureComputed(function(){let h=s(),p={},_;for(_=0;_<h.length;_++){let A=h[_],b=A.category;l(p[b])?p[b].push(A):p[b]=[A]}let m=Object.keys(p),y=[];for(_=0;_<m.length;_++){let A=m[_];y.push({name:A,providers:p[A]})}return y});this._terrainProviders=a,this.buttonTooltip=void 0,be.defineProperty(this,"buttonTooltip",function(){let h=this.selectedImagery,p=this.selectedTerrain,_=l(h)?h.name:void 0,m=l(p)?p.name:void 0;return l(_)&&l(m)?`${_}
|
|
16006
|
+
${m}`:l(_)?_:m}),this.buttonImageUrl=void 0,be.defineProperty(this,"buttonImageUrl",function(){let h=this.selectedImagery;if(l(h))return h.iconUrl}),this.selectedImagery=void 0;let c=be.observable();this._currentImageryLayers=[],be.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(h){if(c()===h){this.dropDownVisible=!1;return}let p,_=this._currentImageryLayers,m=_.length,y=this._globe.imageryLayers,A=!1;for(p=0;p<m;p++){let b=y.length;for(let x=0;x<b;x++){let T=y.get(x);if(T===_[p]){y.remove(T),A=!0;break}}}if(l(h)){let b=h.creationCommand();if(Array.isArray(b)){let x=b.length;for(this._currentImageryLayers=[],p=x-1;p>=0;p--){let T=gc.fromProviderAsync(b[p]);y.add(T,0),this._currentImageryLayers.push(T)}}else{this._currentImageryLayers=[];let x=gc.fromProviderAsync(b);if(x.name=h.name,A)y.add(x,0);else{let T=y.get(0);l(T)&&y.remove(T),y.add(x,0)}this._currentImageryLayers.push(x)}}c(h),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let u=be.observable();be.defineProperty(this,"selectedTerrain",{get:function(){return u()},set:function(h){if(u()===h){this.dropDownVisible=!1;return}let p;if(l(h)&&(p=h.creationCommand()),l(p)&&!l(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof Og),this._globe.terrainProvider=p;else if(l(p)){let _=!1,m=this._globe.terrainProviderChanged.addEventListener(()=>{_=!0,m()}),A=new LG(p).readyEvent.addEventListener(b=>{_||(this._globe.depthTestAgainstTerrain=!(b instanceof Og),this._globe.terrainProvider=b,A())})}u(h),this.dropDownVisible=!1}});let f=this;this._toggleDropDown=_n(function(){f.dropDownVisible=!f.dropDownVisible}),this.selectedImagery=e.selectedImageryProviderViewModel??n[0],this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(fwe.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var QG=fwe;function JG(e,t){e=Cn(e);let n=new QG(t),i=document.createElement("button");i.type="button",i.className="cesium-button cesium-toolbar-button",i.setAttribute("data-bind","attr: { title: buttonTooltip },click: toggleDropDown"),e.appendChild(i);let o=document.createElement("img");o.setAttribute("draggable","false"),o.className="cesium-baseLayerPicker-selected",o.setAttribute("data-bind","attr: { src: buttonImageUrl }, visible: !!buttonImageUrl"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-baseLayerPicker-dropDown",r.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-dropDown-visible" : dropDownVisible }'),e.appendChild(r);let s=document.createElement("div");s.className="cesium-baseLayerPicker-sectionTitle",s.setAttribute("data-bind","visible: imageryProviderViewModels.length > 0"),s.innerHTML="Imagery",r.appendChild(s);let a=document.createElement("div");a.className="cesium-baseLayerPicker-section",a.setAttribute("data-bind","foreach: _imageryProviders"),r.appendChild(a);let c=document.createElement("div");c.className="cesium-baseLayerPicker-category",a.appendChild(c);let u=document.createElement("div");u.className="cesium-baseLayerPicker-categoryTitle",u.setAttribute("data-bind","text: name"),c.appendChild(u);let f=document.createElement("div");f.className="cesium-baseLayerPicker-choices",f.setAttribute("data-bind","foreach: providers"),c.appendChild(f);let h=document.createElement("div");h.className="cesium-baseLayerPicker-item",h.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedImagery },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedImagery = $data; }'),f.appendChild(h);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),h.appendChild(p);let _=document.createElement("div");_.className="cesium-baseLayerPicker-itemLabel",_.setAttribute("data-bind","text: name"),h.appendChild(_);let m=document.createElement("div");m.className="cesium-baseLayerPicker-sectionTitle",m.setAttribute("data-bind","visible: terrainProviderViewModels.length > 0"),m.innerHTML="Terrain",r.appendChild(m);let y=document.createElement("div");y.className="cesium-baseLayerPicker-section",y.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(y);let A=document.createElement("div");A.className="cesium-baseLayerPicker-category",y.appendChild(A);let b=document.createElement("div");b.className="cesium-baseLayerPicker-categoryTitle",b.setAttribute("data-bind","text: name"),A.appendChild(b);let x=document.createElement("div");x.className="cesium-baseLayerPicker-choices",x.setAttribute("data-bind","foreach: providers"),A.appendChild(x);let T=document.createElement("div");T.className="cesium-baseLayerPicker-item",T.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),x.appendChild(T);let E=document.createElement("img");E.className="cesium-baseLayerPicker-itemIcon",E.setAttribute("data-bind","attr: { src: iconUrl }"),E.setAttribute("draggable","false"),T.appendChild(E);let w=document.createElement("div");w.className="cesium-baseLayerPicker-itemLabel",w.setAttribute("data-bind","text: name"),T.appendChild(w),be.applyBindings(n,i),be.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(I){i.contains(I.target)||r.contains(I.target)||(n.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(JG.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});JG.prototype.isDestroyed=function(){return!1};JG.prototype.destroy=function(){return Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._element),be.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),fe(this)};var ZG=JG;function dwe(e){let t=e.creationFunction;l(t.canExecute)||(t=_n(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=e.category??"",be.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(dwe.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var Ts=dwe;function cDt(){let e=[],t=devicePixelRatio>=2;return e.push(new Ts({name:"Bing Maps Aerial",iconUrl:Kt("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.AERIAL})}})),e.push(new Ts({name:"Bing Maps Aerial with Labels",iconUrl:Kt("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.AERIAL_WITH_LABELS})}})),e.push(new Ts({name:"Bing Maps Roads",iconUrl:Kt("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return cA({style:aA.ROAD})}})),e.push(new Ts({name:"ArcGIS World Imagery",iconUrl:Kt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png"),tooltip:`ArcGIS World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes 15m TerraColor imagery at small and mid-scales (~1:591M down to ~1:288k) for the world. The map features Maxar imagery at 0.3m resolution for select metropolitan areas around the world, 0.5m resolution across the United States and parts of Western Europe, and 1m resolution imagery across the rest of the world. In addition to commercial sources, the World Imagery map features high-resolution aerial photography contributed by the GIS User Community. This imagery ranges from 0.3m to 0.03m resolution (down to ~1:280 nin select communities). For more information on this map, including the terms of use, visit us online at
|
|
16014
16007
|
https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return rA.fromBasemapType(Jm.SATELLITE,{enablePickFeatures:!1})}})),e.push(new Ts({name:"ArcGIS World Hillshade",iconUrl:Kt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png"),tooltip:`ArcGIS World Hillshade map portrays elevation as an artistic hillshade. This map is designed to be used as a backdrop for topographical, soil, hydro, landcover or other outdoor recreational maps. The map was compiled from a variety of sources from several data providers. The basemap has global coverage down to a scale of ~1:72k. In select areas of the United States and Europe, coverage is available down to ~1:9k. For more information on this map, including the terms of use, visit us online at
|
|
16015
16008
|
https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return rA.fromBasemapType(Jm.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new Ts({name:"Esri World Ocean",iconUrl:Kt("Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png"),tooltip:`ArcGIS World Ocean map is designed to be used as a base map by marine GIS professionals and as a reference map by anyone interested in ocean data. The base map features marine bathymetry. Land features include inland waters and roads overlaid on land cover and shaded relief imagery. The map was compiled from a variety of best available sources from several data providers, including General Bathymetric Chart of the Oceans GEBCO_08 Grid, National Oceanic and Atmospheric Administration (NOAA), and National Geographic, Garmin, HERE, Geonames.org, and Esri, and various other contributors. The base map currently provides coverage for the world down to a scale of ~1:577k, and coverage down to 1:72k in US coastal areas, and various other areas. Coverage down to ~ 1:9k is available limited areas based on regional hydrographic survey data. The base map was designed and developed by Esri. For more information on this map, including our terms of use, visit us online at
|
|
16016
16009
|
https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return rA.fromBasemapType(Jm.OCEANS,{enablePickFeatures:!1})}})),e.push(new Ts({name:"Open\xADStreet\xADMap",iconUrl:Kt("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:`OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
|
|
@@ -16029,7 +16022,14 @@ https://docs.stadiamaps.com/map-styles/alidade-smooth/`,category:"Other",creatio
|
|
|
16029
16022
|
https://docs.stadiamaps.com/map-styles/alidade-smooth-dark/`,category:"Other",creationFunction:function(){return new LA({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/",retinaTiles:t,credit:`© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
|
|
16030
16023
|
© <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
|
|
16031
16024
|
© <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new Ts({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 sA.fromAssetId(3954)}})),e.push(new Ts({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 sA.fromAssetId(3845)}})),e.push(new Ts({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 sA.fromAssetId(3812)}})),e.push(new Ts({name:"Natural Earth\xA0II",iconUrl:Kt("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
|
|
16032
|
-
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Rb.fromUrl(Kt("Assets/Textures/NaturalEarthII"))}})),e}var XG=tDt;function nDt(){let e=[];return e.push(new Ts({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 Og({ellipsoid:ee.WGS84})}})),e.push(new Ts({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 ew({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var KG=nDt;var mx="http://www.w3.org/2000/svg",mwe="http://www.w3.org/1999/xlink",QG,nO=z.fromCssColorString("rgba(247,250,255,0.384)"),JG=z.fromCssColorString("rgba(143,191,255,0.216)"),_Z=z.fromCssColorString("rgba(153,197,255,0.098)"),ZG=z.fromCssColorString("rgba(255,255,255,0.086)"),iDt=z.fromCssColorString("rgba(255,255,255,0.267)"),oDt=z.fromCssColorString("rgba(255,255,255,0)"),dwe=z.fromCssColorString("rgba(66,67,68,0.3)"),hwe=z.fromCssColorString("rgba(0,0,0,0.5)");function NA(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var iO={animation_pathReset:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.316,5.318,9.833,13.682,9.833,5.5,5.5,5.5,5.5,25.5,9.833,25.5,9.833,17.318,24.316,25.682z"},animation_pathPause:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M13,5.5,7.5,5.5,7.5,25.5,13,25.5zM24.5,5.5,19,5.5,19,25.5,24.5,25.5z"},animation_pathPlay:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathPlayReverse:{tagName:"path",transform:"translate(16,16) scale(-0.85,0.85) translate(-16,-16)",d:"M6.684,25.682L24.316,15.5L6.684,5.318V25.682z"},animation_pathLoop:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-16)",d:"M24.249,15.499c-0.009,4.832-3.918,8.741-8.75,8.75c-2.515,0-4.768-1.064-6.365-2.763l2.068-1.442l-7.901-3.703l0.744,8.694l2.193-1.529c2.244,2.594,5.562,4.242,9.26,4.242c6.767,0,12.249-5.482,12.249-12.249H24.249zM15.499,6.75c2.516,0,4.769,1.065,6.367,2.764l-2.068,1.443l7.901,3.701l-0.746-8.693l-2.192,1.529c-2.245-2.594-5.562-4.245-9.262-4.245C8.734,3.25,3.25,8.734,3.249,15.499H6.75C6.758,10.668,10.668,6.758,15.499,6.75z"},animation_pathClock:{tagName:"path",transform:"translate(16,16) scale(0.85) translate(-16,-15.5)",d:"M15.5,2.374C8.251,2.375,2.376,8.251,2.374,15.5C2.376,22.748,8.251,28.623,15.5,28.627c7.249-0.004,13.124-5.879,13.125-13.127C28.624,8.251,22.749,2.375,15.5,2.374zM15.5,25.623C9.909,25.615,5.385,21.09,5.375,15.5C5.385,9.909,9.909,5.384,15.5,5.374c5.59,0.01,10.115,4.535,10.124,10.125C25.615,21.09,21.091,25.615,15.5,25.623zM8.625,15.5c-0.001-0.552-0.448-0.999-1.001-1c-0.553,0-1,0.448-1,1c0,0.553,0.449,1,1,1C8.176,16.5,8.624,16.053,8.625,15.5zM8.179,18.572c-0.478,0.277-0.642,0.889-0.365,1.367c0.275,0.479,0.889,0.641,1.365,0.365c0.479-0.275,0.643-0.887,0.367-1.367C9.27,18.461,8.658,18.297,8.179,18.572zM9.18,10.696c-0.479-0.276-1.09-0.112-1.366,0.366s-0.111,1.09,0.365,1.366c0.479,0.276,1.09,0.113,1.367-0.366C9.821,11.584,9.657,10.973,9.18,10.696zM22.822,12.428c0.478-0.275,0.643-0.888,0.366-1.366c-0.275-0.478-0.89-0.642-1.366-0.366c-0.479,0.278-0.642,0.89-0.366,1.367C21.732,12.54,22.344,12.705,22.822,12.428zM12.062,21.455c-0.478-0.275-1.089-0.111-1.366,0.367c-0.275,0.479-0.111,1.09,0.366,1.365c0.478,0.277,1.091,0.111,1.365-0.365C12.704,22.344,12.54,21.732,12.062,21.455zM12.062,9.545c0.479-0.276,0.642-0.888,0.366-1.366c-0.276-0.478-0.888-0.642-1.366-0.366s-0.642,0.888-0.366,1.366C10.973,9.658,11.584,9.822,12.062,9.545zM22.823,18.572c-0.48-0.275-1.092-0.111-1.367,0.365c-0.275,0.479-0.112,1.092,0.367,1.367c0.477,0.275,1.089,0.113,1.365-0.365C23.464,19.461,23.3,18.848,22.823,18.572zM19.938,7.813c-0.477-0.276-1.091-0.111-1.365,0.366c-0.275,0.48-0.111,1.091,0.366,1.367s1.089,0.112,1.366-0.366C20.581,8.702,20.418,8.089,19.938,7.813zM23.378,14.5c-0.554,0.002-1.001,0.45-1.001,1c0.001,0.552,0.448,1,1.001,1c0.551,0,1-0.447,1-1C24.378,14.949,23.929,14.5,23.378,14.5zM15.501,6.624c-0.552,0-1,0.448-1,1l-0.466,7.343l-3.004,1.96c-0.478,0.277-0.642,0.889-0.365,1.365c0.275,0.479,0.889,0.643,1.365,0.367l3.305-1.676C15.39,16.99,15.444,17,15.501,17c0.828,0,1.5-0.671,1.5-1.5l-0.5-7.876C16.501,7.072,16.053,6.624,15.501,6.624zM15.501,22.377c-0.552,0-1,0.447-1,1s0.448,1,1,1s1-0.447,1-1S16.053,22.377,15.501,22.377zM18.939,21.455c-0.479,0.277-0.643,0.889-0.366,1.367c0.275,0.477,0.888,0.643,1.366,0.365c0.478-0.275,0.642-0.889,0.366-1.365C20.028,21.344,19.417,21.18,18.939,21.455z"},animation_pathWingButton:{tagName:"path",d:"m 4.5,0.5 c -2.216,0 -4,1.784 -4,4 l 0,24 c 0,2.216 1.784,4 4,4 l 13.71875,0 C 22.478584,27.272785 27.273681,22.511272 32.5,18.25 l 0,-13.75 c 0,-2.216 -1.784,-4 -4,-4 l -24,0 z"},animation_pathPointer:{tagName:"path",d:"M-15,-65,-15,-55,15,-55,15,-65,0,-95z"},animation_pathSwooshFX:{tagName:"path",d:"m 85,0 c 0,16.617 -4.813944,35.356 -13.131081,48.4508 h 6.099803 c 8.317138,-13.0948 13.13322,-28.5955 13.13322,-45.2124 0,-46.94483 -38.402714,-85.00262 -85.7743869,-85.00262 -1.0218522,0 -2.0373001,0.0241 -3.0506131,0.0589 45.958443,1.59437 82.723058,35.77285 82.723058,81.70532 z"}};function Ih(e){let t=document.createElementNS(mx,e.tagName);for(let n in e)if(e.hasOwnProperty(n)&&n!=="tagName")if(n==="children"){let i=e.children.length;for(let o=0;o<i;++o)t.appendChild(Ih(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(mwe,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function yZ(e,t,n){let i=document.createElementNS(mx,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(mx,"tspan");return o.textContent=n,i.appendChild(o),i}function rDt(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var $G=new z;function is(e,t){let n=t.alpha,i=1-n;return $G.red=e.red*i+t.red*n,$G.green=e.green*i+t.green*n,$G.blue=e.blue*i+t.blue*n,$G.toCssColorString()}function AZ(e,t,n){let i=iO[n],o={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{tagName:"rect",class:"cesium-animation-buttonGlow",width:32,height:32,rx:2,ry:2},{tagName:"rect",class:"cesium-animation-buttonMain",width:32,height:32,rx:4,ry:4},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return Ih(o)}function sDt(e,t,n){let i=iO[n],o=iO.animation_pathWingButton,r={tagName:"g",class:"cesium-animation-rectButton",transform:`translate(${e},${t})`,children:[{class:"cesium-animation-buttonGlow",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonMain",id:"animation_pathWingButton",tagName:o.tagName,d:o.d},{class:"cesium-animation-buttonPath",id:n,tagName:i.tagName,transform:i.transform,d:i.d},{tagName:"title",textContent:""}]};return Ih(r)}function aDt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&QG!==e))if(t.type==="mousedown"||i&&t.type==="mousemove"||t.type==="touchstart"&&t.touches.length===1||i&&t.type==="touchmove"&&t.touches.length===1){let o=e._centerX,r=e._centerY,a=e._svgNode.getBoundingClientRect(),c,u;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,u=t.touches[0].clientY):(c=t.clientX,u=t.clientY),!i&&(c>a.right||c<a.left||u<a.top||u>a.bottom))return;let f=e._shuttleRingPointer.getBoundingClientRect(),h=c-o-a.left,p=u-r-a.top,_=Math.atan2(p,h)*180/Math.PI+90;_>180&&(_-=360);let m=n.shuttleRingAngle;i||c<f.right&&c>f.left&&u>f.top&&u<f.bottom?(QG=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=_):_<m?n.slower():_>m&&n.faster(),t.preventDefault()}else e===QG&&(QG=void 0),n.shuttleRingDragging=!1}function Yg(e,t){this._viewModel=t,this.svgElement=e,this._enabled=void 0,this._toggled=void 0;let n=this;this._clickFunction=function(){let i=n._viewModel.command;i.canExecute&&i()},e.addEventListener("click",this._clickFunction,!0),this._subscriptions=[Va(t,"toggled",this.setToggled,this),Va(t,"tooltip",this.setTooltip,this),Va(t.command,"canExecute",this.setEnabled,this)]}Yg.prototype.destroy=function(){this.svgElement.removeEventListener("click",this._clickFunction,!0);let e=this._subscriptions;for(let t=0,n=e.length;t<n;t++)e[t].dispose();fe(this)};Yg.prototype.isDestroyed=function(){return!1};Yg.prototype.setEnabled=function(e){if(this._enabled!==e){if(this._enabled=e,!e){this.svgElement.setAttribute("class","cesium-animation-buttonDisabled");return}if(this._toggled){this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled");return}this.svgElement.setAttribute("class","cesium-animation-rectButton")}};Yg.prototype.setToggled=function(e){this._toggled!==e&&(this._toggled=e,this._enabled&&(e?this.svgElement.setAttribute("class","cesium-animation-rectButton cesium-animation-buttonToggled"):this.svgElement.setAttribute("class","cesium-animation-rectButton")))};Yg.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function uw(e,t){e=Cn(e),this._viewModel=t,this._container=e,this._centerX=0,this._centerY=0,this._defsElement=void 0,this._svgNode=void 0,this._topG=void 0,this._lastHeight=void 0,this._lastWidth=void 0;let n=e.ownerDocument,i=document.createElement("style");i.textContent=".cesium-animation-rectButton .cesium-animation-buttonGlow { filter: url(#animation_blurred); }.cesium-animation-rectButton .cesium-animation-buttonMain { fill: url(#animation_buttonNormal); }.cesium-animation-buttonToggled .cesium-animation-buttonMain { fill: url(#animation_buttonToggled); }.cesium-animation-rectButton:hover .cesium-animation-buttonMain { fill: url(#animation_buttonHovered); }.cesium-animation-buttonDisabled .cesium-animation-buttonMain { fill: url(#animation_buttonDisabled); }.cesium-animation-shuttleRingG .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshGradient); }.cesium-animation-shuttleRingG:hover .cesium-animation-shuttleRingSwoosh { fill: url(#animation_shuttleRingSwooshHovered); }.cesium-animation-shuttleRingPointer { fill: url(#animation_shuttleRingPointerGradient); }.cesium-animation-shuttleRingPausePointer { fill: url(#animation_shuttleRingPointerPaused); }.cesium-animation-knobOuter { fill: url(#animation_knobOuter); }.cesium-animation-knobInner { fill: url(#animation_knobInner); }",n.head.insertBefore(i,n.head.childNodes[0]);let o=document.createElement("div");o.className="cesium-animation-theme",o.innerHTML='<div class="cesium-animation-themeNormal"></div><div class="cesium-animation-themeHover"></div><div class="cesium-animation-themeSelect"></div><div class="cesium-animation-themeDisabled"></div><div class="cesium-animation-themeKnob"></div><div class="cesium-animation-themePointer"></div><div class="cesium-animation-themeSwoosh"></div><div class="cesium-animation-themeSwooshHover"></div>',this._theme=o,this._themeNormal=o.childNodes[0],this._themeHover=o.childNodes[1],this._themeSelect=o.childNodes[2],this._themeDisabled=o.childNodes[3],this._themeKnob=o.childNodes[4],this._themePointer=o.childNodes[5],this._themeSwoosh=o.childNodes[6],this._themeSwooshHover=o.childNodes[7];let r=document.createElementNS(mx,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mwe);let s=document.createElementNS(mx,"g");this._topG=s,this._realtimeSVG=new Yg(sDt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new Yg(AZ(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new Yg(AZ(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new Yg(AZ(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(mx,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Ih({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let u=iO.animation_pathSwooshFX,f=iO.animation_pathPointer,h=Ih({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:u.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:u.d},{tagName:u.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:u.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=h,this._shuttleRingPointer=Ih({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:f.tagName,d:f.d});let p=Ih({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Ih({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let _=61,m=Ih({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:_});this._knobDate=yZ(0,-24,""),this._knobTime=yZ(0,-7,""),this._knobStatus=yZ(0,-41,"");let y=Ih({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:_}),A=document.createElementNS(mx,"g");A.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(A),s.appendChild(p),s.appendChild(a),A.appendChild(c),A.appendChild(h),A.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(m),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(y),r.appendChild(s),e.appendChild(r);let b=this;function x(O){aDt(b,O)}this._mouseCallback=x,c.addEventListener("mousedown",x,!0),c.addEventListener("touchstart",x,!0),h.addEventListener("mousedown",x,!0),h.addEventListener("touchstart",x,!0),n.addEventListener("mousemove",x,!0),n.addEventListener("touchmove",x,!0),n.addEventListener("mouseup",x,!0),n.addEventListener("touchend",x,!0),n.addEventListener("touchcancel",x,!0),this._shuttleRingPointer.addEventListener("mousedown",x,!0),this._shuttleRingPointer.addEventListener("touchstart",x,!0),this._knobOuter.addEventListener("mousedown",x,!0),this._knobOuter.addEventListener("touchstart",x,!0);let T=this._knobTime.childNodes[0],E=this._knobDate.childNodes[0],w=this._knobStatus.childNodes[0],I;this._subscriptions=[Va(t.pauseViewModel,"toggled",function(O){I!==O&&(I=O,I?b._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):b._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),Va(t,"shuttleRingAngle",function(O){rDt(b._shuttleRingPointer,b._knobOuter,O)}),Va(t,"dateLabel",function(O){E.textContent!==O&&(E.textContent=O)}),Va(t,"timeLabel",function(O){T.textContent!==O&&(T.textContent=O)}),Va(t,"multiplierLabel",function(O){w.textContent!==O&&(w.textContent=O)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(uw.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});uw.prototype.isDestroyed=function(){return!1};uw.prototype.destroy=function(){l(this._observer)&&(this._observer.disconnect(),this._observer=void 0);let e=this._container.ownerDocument,t=this._mouseCallback;this._shuttleRingBackPanel.removeEventListener("mousedown",t,!0),this._shuttleRingBackPanel.removeEventListener("touchstart",t,!0),this._shuttleRingSwooshG.removeEventListener("mousedown",t,!0),this._shuttleRingSwooshG.removeEventListener("touchstart",t,!0),e.removeEventListener("mousemove",t,!0),e.removeEventListener("touchmove",t,!0),e.removeEventListener("mouseup",t,!0),e.removeEventListener("touchend",t,!0),e.removeEventListener("touchcancel",t,!0),this._shuttleRingPointer.removeEventListener("mousedown",t,!0),this._shuttleRingPointer.removeEventListener("touchstart",t,!0),this._knobOuter.removeEventListener("mousedown",t,!0),this._knobOuter.removeEventListener("touchstart",t,!0),this._container.removeChild(this._svgNode),this._container.removeChild(this._theme),this._realtimeSVG.destroy(),this._playReverseSVG.destroy(),this._playForwardSVG.destroy(),this._pauseSVG.destroy();let n=this._subscriptions;for(let i=0,o=n.length;i<o;i++)n[i].dispose();return fe(this)};uw.prototype.resize=function(){let e=this._container.clientWidth,t=this._container.clientHeight;if(e===this._lastWidth&&t===this._lastHeight)return;let n=this._svgNode,i=200,o=132,r=e,s=t;e===0&&t===0?(r=i,s=o):e===0?(s=t,r=i*(t/o)):t===0&&(r=e,s=o*(e/i));let a=r/i,c=s/o;n.style.cssText=`width: ${r}px; height: ${s}px; position: absolute; bottom: 0; left: 0; overflow: hidden;`,n.setAttribute("width",r),n.setAttribute("height",s),n.setAttribute("viewBox",`0 0 ${r} ${s}`),this._topG.setAttribute("transform",`scale(${a},${c})`),this._centerX=Math.max(1,100*a),this._centerY=Math.max(1,100*c),this._lastHeight=e,this._lastWidth=t};uw.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(l(this._observer))return;let f=this;f._observer=new MutationObserver(function(){e.body.contains(f._container)&&(f._observer.disconnect(),f._observer=void 0,f.applyThemeChanges())}),f._observer.observe(e,{childList:!0,subtree:!0});return}let t=NA(this._themeNormal),n=NA(this._themeHover),i=NA(this._themeSelect),o=NA(this._themeDisabled),r=NA(this._themeKnob),s=NA(this._themePointer),a=NA(this._themeSwoosh),c=NA(this._themeSwooshHover),u=Ih({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(t,nO)},{tagName:"stop",offset:"12%","stop-color":is(t,JG)},{tagName:"stop",offset:"46%","stop-color":is(t,_Z)},{tagName:"stop",offset:"81%","stop-color":is(t,ZG)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(n,nO)},{tagName:"stop",offset:"12%","stop-color":is(n,JG)},{tagName:"stop",offset:"46%","stop-color":is(n,_Z)},{tagName:"stop",offset:"81%","stop-color":is(n,ZG)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(i,nO)},{tagName:"stop",offset:"12%","stop-color":is(i,JG)},{tagName:"stop",offset:"46%","stop-color":is(i,_Z)},{tagName:"stop",offset:"81%","stop-color":is(i,ZG)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":is(o,iDt)},{tagName:"stop",offset:"75%","stop-color":is(o,oDt)}]},{id:"animation_blurred",tagName:"filter",width:"200%",height:"200%",x:"-50%",y:"-50%",children:[{tagName:"feGaussianBlur",stdDeviation:4,in:"SourceGraphic"}]},{id:"animation_shuttleRingSwooshGradient",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":a.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":a.toCssColorString()}]},{id:"animation_shuttleRingSwooshHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-opacity":.2,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"85%","stop-opacity":.85,"stop-color":c.toCssColorString()},{tagName:"stop",offset:"95%","stop-opacity":.05,"stop-color":c.toCssColorString()}]},{id:"animation_shuttleRingPointerGradient",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"40%","stop-color":s.toCssColorString()},{tagName:"stop",offset:"60%","stop-color":is(s,hwe)},{tagName:"stop",offset:"100%","stop-color":is(s,hwe)}]},{id:"animation_shuttleRingPointerPaused",tagName:"linearGradient",x1:"0%",y1:"50%",x2:"100%",y2:"50%",children:[{tagName:"stop",offset:"0%","stop-color":"#CCC"},{tagName:"stop",offset:"40%","stop-color":"#CCC"},{tagName:"stop",offset:"60%","stop-color":"#555"},{tagName:"stop",offset:"100%","stop-color":"#555"}]},{id:"animation_knobOuter",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":is(r,nO)},{tagName:"stop",offset:"60%","stop-color":is(r,dwe)},{tagName:"stop",offset:"85%","stop-color":is(r,JG)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":is(r,dwe)},{tagName:"stop",offset:"60%","stop-color":is(r,nO)},{tagName:"stop",offset:"85%","stop-color":is(r,ZG)}]}]});l(this._defsElement)?this._svgNode.replaceChild(u,this._defsElement):this._svgNode.appendChild(u),this._defsElement=u};var e5=uw;var cDt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],FA=15,fw=105;function pwe(e,t){return e-t}function bZ(e,t){let n=Po(t,e,pwe);return n<0?~n:n}function lDt(e,t){if(Math.abs(e)<=FA)return e/FA;let n=FA,i=fw,o,r=0,s;return e>0?(o=Math.log(t[t.length-1]),s=(o-r)/(i-n),Math.exp(r+s*(e-n))):(o=Math.log(-t[0]),s=(o-r)/(i-n),-Math.exp(r+s*(Math.abs(e)-n)))}function uDt(e,t,n){if(n.clockStep===mo.SYSTEM_CLOCK)return FA;if(Math.abs(e)<=1)return e*FA;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=FA,r=fw,s,a=0,c;return e>0?(s=Math.log(i),c=(s-a)/(r-o),(Math.log(e)-a)/c+o):(s=Math.log(-t[0]),c=(s-a)/(r-o),-((Math.log(Math.abs(e))-a)/c+o))}function ld(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=ld.defaultDateFormatter,this._timeFormatter=ld.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,be.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(ld.defaultTicks),this.timeLabel=void 0,be.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,be.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,be.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===mo.SYSTEM_CLOCK)return"Today";let a=s.multiplier;return a%1===0?`${a.toFixed(0)}x`:`${a.toFixed(3).replace(/0{0,3}$/,"")}x`}),this.shuttleRingAngle=void 0,be.defineProperty(this,"shuttleRingAngle",{get:function(){return uDt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,fw),-fw);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=mo.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===fw){c.multiplier=s>0?a[a.length-1]:a[0];return}let u=lDt(s,a);if(t.snapToTicks)u=a[bZ(u,a)];else if(u!==0){let f=Math.abs(u);if(f>100){let h=f.toFixed(0).length-2,p=Math.pow(10,h);u=Math.round(u/p)*p|0}else f>FA?u=Math.round(u):f>1?u=+u.toFixed(1):f>0&&(u=+u.toFixed(2))}c.multiplier=u}}),this._canAnimate=void 0,be.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===$r.UNBOUNDED)return!0;let c=s.multiplier,u=s.currentTime,f=s.startTime,h=!1;if(a===$r.LOOP_STOP)h=K.greaterThan(u,f)||u.equals(f)&&c>0;else{let p=s.stopTime;h=K.greaterThan(u,f)&&K.lessThan(u,p)||u.equals(f)&&c>0||u.equals(p)&&c<0}return h||(s.shouldAnimate=!1),h}),this._isSystemTimeAvailable=void 0,be.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===$r.UNBOUNDED)return!0;let c=s.systemTime;return K.greaterThanOrEquals(c,s.startTime)&&K.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,be.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=_n(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new hx(n,{toggled:be.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=_n(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new hx(i,{toggled:be.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=_n(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new hx(o,{toggled:be.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==mo.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=_n(function(){t._clockViewModel.clockStep=mo.SYSTEM_CLOCK},be.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new hx(r,{toggled:be.computed(function(){return e.clockStep===mo.SYSTEM_CLOCK}),tooltip:be.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=_n(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,u=bZ(c,a)-1;u>=0&&(s.multiplier=a[u])}),this._faster=_n(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,u=bZ(c,a)+1;u<a.length&&(s.multiplier=a[u])})}ld.defaultDateFormatter=function(e,t){let n=K.toGregorianDate(e);return`${cDt[n.month-1]} ${n.day} ${n.year}`};ld.defaultTicks=[.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];ld.defaultTimeFormatter=function(e,t){let n=K.toGregorianDate(e),i=Math.round(n.millisecond);return Math.abs(t._clockViewModel.multiplier)<1?`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")}.${i.toString().padStart(3,"0")}`:`${n.hour.toString().padStart(2,"0")}:${n.minute.toString().padStart(2,"0")}:${n.second.toString().padStart(2,"0")} UTC`};ld.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};ld.prototype.setShuttleRingTicks=function(e){let t,n,i,o={},r=this._sortedFilteredPositiveTicks;for(r.length=0,t=0,n=e.length;t<n;++t)i=e[t],o.hasOwnProperty(i)||(o[i]=!0,r.push(i));r.sort(pwe);let s=[];for(n=r.length,t=n-1;t>=0;--t)i=r[t],i!==0&&s.push(-i);Array.prototype.push.apply(s,r),this._allShuttleRingTicks=s};Object.defineProperties(ld.prototype,{slower:{get:function(){return this._slower}},faster:{get:function(){return this._faster}},clockViewModel:{get:function(){return this._clockViewModel}},pauseViewModel:{get:function(){return this._pauseViewModel}},playReverseViewModel:{get:function(){return this._playReverseViewModel}},playForwardViewModel:{get:function(){return this._playForwardViewModel}},playRealtimeViewModel:{get:function(){return this._playRealtimeViewModel}},dateFormatter:{get:function(){return this._dateFormatter},set:function(e){this._dateFormatter=e}},timeFormatter:{get:function(){return this._timeFormatter},set:function(e){this._timeFormatter=e}}});ld._maxShuttleRingAngle=fw;ld._realtimeShuttleRingAngle=FA;var t5=ld;function fDt(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 xZ(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var dDt=new an,hDt=new d;function oO(e,t){let n=this,i=e.canvas,o=new id(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="",be.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=_n(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=_n(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=_n(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=_n(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=be.getObservable(this,"frustums").subscribe(function(u){n._scene.debugShowFrustums=u,n._scene.requestRender()}),this._frustumPlanesSubscription=be.getObservable(this,"frustumPlanes").subscribe(function(u){n._scene.debugShowFrustumPlanes=u,n._scene.requestRender()}),this._performanceSubscription=be.getObservable(this,"performance").subscribe(function(u){u?n._performanceDisplay=new mA({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=_n(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=be.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=_n(function(){if(n.primitiveReferenceFrame){let u=n._primitive.modelMatrix;n._modelMatrixPrimitive=new _G({modelMatrix:u}),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=be.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=_n(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(u){return l(n._modelMatrixPrimitive)&&u.owner===n._modelMatrixPrimitive._primitive?!0:l(n._primitive)?u.owner===n._primitive||u.owner===n._primitive._billboardCollection||u.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=be.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=be.getObservable(this,"wireframe").subscribe(function(u){r._surface.tileProvider._debug.wireframe=u,n._scene.requestRender()}),this._depthFrustumSubscription=be.getObservable(this,"depthFrustum").subscribe(function(u){n._scene.debugShowDepthFrustum=u,n._scene.requestRender()}),this._incrementDepthFrustum=_n(function(){let u=n.depthFrustum+1;return n.depthFrustum=xZ(1,n._numberOfFrustums,u),n._scene.requestRender(),!0}),this._decrementDepthFrustum=_n(function(){let u=n.depthFrustum-1;return n.depthFrustum=xZ(1,n._numberOfFrustums,u),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=be.getObservable(this,"suspendUpdates").subscribe(function(u){r._surface._debug.suspendLodUpdate=u,u||(n.filterTile=!1)});let s;this._showTileCoordinates=_n(function(){return n.tileCoordinates&&!l(s)?s=e.imageryLayers.addImageryProvider(new NG({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&l(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=be.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=be.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=_n(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=_n(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=be.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(u){let f=n._scene.pick({x:u.position.x,y:u.position.y});l(f)&&(n.primitive=l(f.collection)?f.collection:f.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=_n(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=be.getObservable(this,"pickPrimitiveActive").subscribe(function(u){u?o.setInputAction(a,hn.LEFT_CLICK):o.removeInputAction(hn.LEFT_CLICK)});function c(u){let f,h=r.ellipsoid,p=n._scene.camera.getPickRay(u.position,dDt),_=r.pick(p,n._scene,hDt);if(l(_)){let m=h.cartesianToCartographic(_),y=r._surface.tileProvider._tilesToRenderByTextureCount;for(let A=0;!f&&A<y.length;++A){let b=y[A];if(l(b))for(let x=0;!f&&x<b.length;++x){let T=b[x];ae.contains(T.rectangle,m)&&(f=T)}}}n.tile=f,n.pickTileActive=!1}this._pickTile=_n(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=be.getObservable(this,"pickTileActive").subscribe(function(u){u?o.setInputAction(c,hn.LEFT_CLICK):o.removeInputAction(hn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(oO.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 _n(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return _n(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return _n(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return _n(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return _n(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}}});oO.prototype._update=function(){this.frustums&&(this.frustumStatisticText=fDt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=xZ(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}`};oO.prototype.isDestroyed=function(){return!1};oO.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(),fe(this)};var n5=oO;function i5(e,t){e=Cn(e);let n=document.createElement("div"),i=new n5(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=Tc.createSection,c=Tc.createCheckbox,u=a(s,"General","generalVisible","toggleGeneral"),f=c("Show Frustums","frustums"),h=document.createElement("div");h.className="cesium-cesiumInspector-frustumStatistics",h.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),f.appendChild(h),u.appendChild(f),u.appendChild(c("Show Frustum Planes","frustumPlanes")),u.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",u.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),u.appendChild(p);let _=document.createElement("div");u.appendChild(_);let m=document.createElement("span");m.setAttribute("data-bind",'html: " Frustum:"'),_.appendChild(m);let y=document.createElement("span");y.setAttribute("data-bind","text: depthFrustumText"),_.appendChild(y);let A=document.createElement("input");A.type="button",A.value="-",A.className="cesium-cesiumInspector-pickButton",A.setAttribute("data-bind","click: decrementDepthFrustum"),_.appendChild(A);let b=document.createElement("input");b.type="button",b.value="+",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: incrementDepthFrustum"),_.appendChild(b);let x=a(s,"Primitives","primitivesVisible","togglePrimitives"),T=document.createElement("div");T.className="cesium-cesiumInspector-pickSection",x.appendChild(T);let E=document.createElement("input");E.type="button",E.value="Pick a primitive",E.className="cesium-cesiumInspector-pickButton",E.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickPrimitiveActive}, click: pickPrimitive');let w=document.createElement("div");w.className="cesium-cesiumInspector-center",w.appendChild(E),T.appendChild(w),T.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),T.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),T.appendChild(this._primitiveOnly);let I=a(s,"Terrain","terrainVisible","toggleTerrain"),O=document.createElement("div");O.className="cesium-cesiumInspector-pickSection",I.appendChild(O);let P=document.createElement("input");P.type="button",P.value="Pick a tile",P.className="cesium-cesiumInspector-pickButton",P.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),w=document.createElement("div"),w.appendChild(P),w.className="cesium-cesiumInspector-center",O.appendChild(w);let R=document.createElement("div");O.appendChild(R);let N=document.createElement("input");N.type="button",N.value="Parent",N.className="cesium-cesiumInspector-pickButton",N.setAttribute("data-bind","click: selectParent");let g=document.createElement("input");g.type="button",g.value="NW",g.className="cesium-cesiumInspector-pickButton",g.setAttribute("data-bind","click: selectNW");let C=document.createElement("input");C.type="button",C.value="NE",C.className="cesium-cesiumInspector-pickButton",C.setAttribute("data-bind","click: selectNE");let S=document.createElement("input");S.type="button",S.value="SW",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: selectSW");let v=document.createElement("input");v.type="button",v.value="SE",v.className="cesium-cesiumInspector-pickButton",v.setAttribute("data-bind","click: selectSE");let L=document.createElement("div");L.className="cesium-cesiumInspector-tileText",R.className="cesium-cesiumInspector-frustumStatistics",R.appendChild(L),R.setAttribute("data-bind","visible: hasPickedTile"),L.setAttribute("data-bind","html: tileText");let F=document.createElement("div");F.className="cesium-cesiumInspector-relativeText",F.textContent="Select relative:",R.appendChild(F);let V=document.createElement("table"),k=document.createElement("tr"),H=document.createElement("tr"),B=document.createElement("td");B.appendChild(N);let W=document.createElement("td");W.appendChild(g);let q=document.createElement("td");q.appendChild(C),k.appendChild(B),k.appendChild(W),k.appendChild(q);let Z=document.createElement("td"),j=document.createElement("td");j.appendChild(S);let $=document.createElement("td");$.appendChild(v),H.appendChild(Z),H.appendChild(j),H.appendChild($),V.appendChild(k),V.appendChild(H),R.appendChild(V),O.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),O.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")),be.applyBindings(i,this._element)}Object.defineProperties(i5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});i5.prototype.isDestroyed=function(){return!1};i5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var o5=i5;function r5(e,t){l(t)||(t=document.body),t=Cn(t);let n=this,i=be.observable(Ir.fullscreen),o=be.observable(Ir.enabled),r=t.ownerDocument;this.isFullscreen=void 0,be.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,be.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&Ir.enabled)}}),this.tooltip=void 0,be.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=_n(function(){Ir.fullscreen?Ir.exitFullscreen():Ir.requestFullscreen(n._fullscreenElement)},be.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Cn(e)??r.body,this._callback=function(){i(Ir.fullscreen)},r.addEventListener(Ir.changeEventName,this._callback)}Object.defineProperties(r5.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});r5.prototype.isDestroyed=function(){return!1};r5.prototype.destroy=function(){document.removeEventListener(Ir.changeEventName,this._callback),fe(this)};var s5=r5;var mDt="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",pDt="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 a5(e,t){e=Cn(e);let n=new s5(t,e);n._exitFullScreenPath=pDt,n._enterFullScreenPath=mDt;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),be.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(a5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});a5.prototype.isDestroyed=function(){return!1};a5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var c5=a5;var gwe=1e3;function ud(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new JS({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 me,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=ywe,this._handleArrowUp=_we;let t=this;this._suggestionsVisible=be.pureComputed(function(){let o=be.getObservable(t,"_suggestions")().length>0,r=be.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=_n(function(i){if(i=i??rx.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)xDt(t);else return ADt(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?_we(t):r?ywe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;xwe(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??ud.flyToDestination,this._focusTextbox=!1,be.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=be.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){ud._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,be.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,be.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,be.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(ud.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}}});ud.prototype.destroy=function(){this._suggestionSubscription.dispose()};function _we(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],ud._adjustSuggestionsScroll(e,n)}function ywe(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],ud._adjustSuggestionsScroll(e,i)}function gDt(e,t){let n=l(t)?t.availability:void 0;return l(n)?tS(t,[e]).then(function(i){return e=i[0],e.height+=gwe,e}):(e.height+=gwe,Promise.resolve(e))}function _Dt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof ae?D.equalsEpsilon(t.south,t.north,D.EPSILON7)&&D.equalsEpsilon(t.east,t.west,D.EPSILON7)?t=ae.center(t):a=nS(t,n):t=i.cartesianToCartographic(t),l(a)||(a=gDt(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:M.IDENTITY})})}async function yDt(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 ADt(e,t,n){let i=e._searchText;if(bwe(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 yDt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,CZ(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=Awe(e,M1.getCreditsFromResult(s[0]));l(a)||TZ(e,t[o].credit);return}e._searchText=`${i} (not found)`}function TZ(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function Awe(e,t){return l(t)&&t.forEach(n=>TZ(e,n)),t}function CZ(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function bDt(e,t){let n=Cn(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 xDt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function bwe(e){return/^\s*$/.test(e)}function xwe(e){be.getObservable(e,"_suggestions").removeAll()}async function TDt(e){if(!e.autoComplete)return;let t=e._searchText;if(xwe(e),CZ(e),!bwe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,rx.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=M1.getCreditsFromResult(r);o=o&&!l(s),Awe(e,s)}),o&&TZ(e,n.credit)}if(e._suggestions.length>=5)return}}ud.flyToDestination=_Dt;ud._updateSearchSuggestions=TDt;ud._adjustSuggestionsScroll=bDt;ud.prototype.isDestroyed=function(){return!1};ud.prototype.destroy=function(){return CZ(this),fe(this)};var l5=ud;var CDt="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",EDt="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 u5(e){let t=Cn(e.container),n=new l5(e);n._startSearchPath=CDt,n._stopSearchPath=EDt;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),be.applyBindings(n,i),be.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(u){let f=u.target;typeof u.composedPath=="function"&&(f=u.composedPath()[0]),t.contains(f)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(u){n._focusTextbox=!0,n.showSuggestions()},Ft.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(u5.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});u5.prototype.isDestroyed=function(){return!1};u5.prototype.destroy=function(){let e=this._container;return Ft.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(),be.cleanNode(this._form),be.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),fe(this)};var f5=u5;function Twe(e,t){this._scene=e,this._duration=t;let n=this;this._command=_n(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",be.track(this,["tooltip"])}Object.defineProperties(Twe.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 d5=Twe;function h5(e,t,n){e=Cn(e);let i=new d5(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),be.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(h5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});h5.prototype.isDestroyed=function(){return!1};h5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var m5=h5;function SDt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function Ewe(e,t){be.track(e);for(let n=0;n<e.sublayers.length;n++)Ewe(e.sublayers[n],t)}function p5(e){return e.modelName==="FullModel"}function Swe(e){return e.modelName==="Overview"}function wwe(e){return Swe(e)||p5(e)}function Cwe(e,t){if(wwe(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:be.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function wDt(e,t){if(wwe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");p5(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function vDt(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 IDt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:be.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:be.observable(!0),index:-1}],currentLayer:be.observable(),expandClickHandler:SDt,setOptionDisable:function(i,o){be.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){wDt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){Ewe(n[i],this.viewModel);let o=Cwe(n[i],this.viewModel);l(o)&&(Swe(o)||!l(this.viewModel.defaultLayer)&&p5(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=Cwe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=p5(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return vDt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var g5=IDt;function DDt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
16025
|
+
http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return Rb.fromUrl(Kt("Assets/Textures/NaturalEarthII"))}})),e}var $G=cDt;function lDt(){let e=[];return e.push(new Ts({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 Og({ellipsoid:ee.WGS84})}})),e.push(new Ts({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 ew({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var e5=lDt;function uDt(e){return function(t){let n=e._scene.pick(t.position);l(n)&&n.primitive instanceof Os&&(e.tileset=n.primitive),e.pickActive=!1}}function mwe(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);l(i)&&i.primitive instanceof Os&&(e.tileset=i.primitive)},hn.MOUSE_MOVE):(e._eventHandler.removeInputAction(hn.MOUSE_MOVE),e.picking=e.picking)}var fDt={maximumFractionDigits:3};function iO(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,fDt):Math.round(t).toLocaleString()}function oO(e,t){if(!l(e))return"";let n=t?e._statisticsPerPass[No.PICK]:e._statisticsPerPass[No.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>${iO(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${iO(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${iO(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function pwe(){let e=xi.statistics;return`
|
|
16026
|
+
<ul class="cesium-cesiumInspector-statistics">
|
|
16027
|
+
<li><strong>Geometry Memory (MB): </strong>${iO(e.geometryByteLength)}</li>
|
|
16028
|
+
<li><strong>Texture Memory (MB): </strong>${iO(e.texturesByteLength)}</li>
|
|
16029
|
+
</ul>
|
|
16030
|
+
`}var dDt=[{text:"Highlight",value:lu.HIGHLIGHT},{text:"Replace",value:lu.REPLACE},{text:"Mix",value:lu.MIX}],hwe=new z(1,1,0,.4),hDt=new z,t5=new z;function va(e,t){let n=this,i=e.canvas;this._eventHandler=new id(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new mA({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,be.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=be.observable({}),this.properties=[],be.defineProperty(this,"properties",function(){let B=[],W=n._properties();for(let q in W)W.hasOwnProperty(q)&&B.push(q);return B});let o=be.observable();be.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(B){o(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceError=B)}}),this.dynamicScreenSpaceError=!1;let r=be.observable();be.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(B){r(B),l(n._tileset)&&(n._tileset.colorBlendMode=B,n._scene.requestRender())}}),this.colorBlendMode=lu.HIGHLIGHT;let s=be.observable(),a=be.observable();be.defineProperty(this,"picking",{get:function(){return a()},set:function(B){a(B),B?n._eventHandler.setInputAction(function(W){let q=e.pick(W.endPosition);if(q instanceof ca?(n.feature=q,n.tile=q.content.tile):l(q)&&l(q.content)?(n.feature=void 0,n.tile=q.content.tile):(n.feature=void 0,n.tile=void 0),!!l(n._tileset)){if(s&&l(q)&&l(q.content)){let Z;e.pickPositionSupported&&(Z=e.pickPosition(W.endPosition),l(Z)&&(n._tileset.debugPickPosition=Z)),n._tileset.debugPickedTile=q.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},hn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(hn.MOUSE_MOVE))}}),this.picking=!0;let c=be.observable();be.defineProperty(this,"colorize",{get:function(){return c()},set:function(B){c(B),l(n._tileset)&&(n._tileset.debugColorizeTiles=B,n._scene.requestRender())}}),this.colorize=!1;let u=be.observable();be.defineProperty(this,"wireframe",{get:function(){return u()},set:function(B){u(B),l(n._tileset)&&(n._tileset.debugWireframe=B,n._scene.requestRender())}}),this.wireframe=!1;let f=be.observable();be.defineProperty(this,"showBoundingVolumes",{get:function(){return f()},set:function(B){f(B),l(n._tileset)&&(n._tileset.debugShowBoundingVolume=B,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let h=be.observable();be.defineProperty(this,"showContentBoundingVolumes",{get:function(){return h()},set:function(B){h(B),l(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=B,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=be.observable();be.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(B){p(B),l(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=B,n._scene.requestRender())}}),this.showRequestVolumes=!1;let _=be.observable();be.defineProperty(this,"freezeFrame",{get:function(){return _()},set:function(B){_(B),l(n._tileset)&&(n._tileset.debugFreezeFrame=B,n._scene.debugShowFrustumPlanes=B,n._scene.requestRender())}}),this.freezeFrame=!1,be.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(B){s(B),l(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=B,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let m=be.observable();be.defineProperty(this,"showGeometricError",{get:function(){return m()},set:function(B){m(B),l(n._tileset)&&(n._tileset.debugShowGeometricError=B,n._scene.requestRender())}}),this.showGeometricError=!1;let y=be.observable();be.defineProperty(this,"showRenderingStatistics",{get:function(){return y()},set:function(B){y(B),l(n._tileset)&&(n._tileset.debugShowRenderingStatistics=B,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let A=be.observable();be.defineProperty(this,"showMemoryUsage",{get:function(){return A()},set:function(B){A(B),l(n._tileset)&&(n._tileset.debugShowMemoryUsage=B,n._scene.requestRender())}}),this.showMemoryUsage=!1;let b=be.observable();be.defineProperty(this,"showUrl",{get:function(){return b()},set:function(B){b(B),l(n._tileset)&&(n._tileset.debugShowUrl=B,n._scene.requestRender())}}),this.showUrl=!1;let x=be.observable();be.defineProperty(this,"maximumScreenSpaceError",{get:function(){return x()},set:function(B){B=Number(B),isNaN(B)||(x(B),l(n._tileset)&&(n._tileset.maximumScreenSpaceError=B))}}),this.maximumScreenSpaceError=16;let T=be.observable();be.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return T()},set:function(B){B=Number(B),isNaN(B)||(T(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=B))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,be.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(T(),1/6)},set:function(B){let W=Math.pow(B,6);T(W),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=W)}});let E=be.observable();be.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return E()},set:function(B){B=Number(B),isNaN(B)||(E(B),l(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=B))}}),this.dynamicScreenSpaceErrorFactor=24;let w=uDt(this),I=be.observable();be.defineProperty(this,"pickActive",{get:function(){return I()},set:function(B){I(B),B?n._eventHandler.setInputAction(w,hn.LEFT_CLICK):n._eventHandler.removeInputAction(hn.LEFT_CLICK)}});let O=be.observable();be.defineProperty(this,"pointCloudShading",{get:function(){return O()},set:function(B){O(B),l(n._tileset)&&(n._tileset.pointCloudShading.attenuation=B)}}),this.pointCloudShading=!1;let P=be.observable();be.defineProperty(this,"geometricErrorScale",{get:function(){return P()},set:function(B){B=Number(B),isNaN(B)||(P(B),l(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=B))}}),this.geometricErrorScale=1;let R=be.observable();be.defineProperty(this,"maximumAttenuation",{get:function(){return R()},set:function(B){B=Number(B),isNaN(B)||(R(B),l(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=B===0?void 0:B))}}),this.maximumAttenuation=0;let N=be.observable();be.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(B){B=Number(B),isNaN(B)||(N(B),l(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=B===0?void 0:B))}}),this.baseResolution=0;let g=be.observable();be.defineProperty(this,"eyeDomeLighting",{get:function(){return g()},set:function(B){g(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=B)}}),this.eyeDomeLighting=!1;let C=be.observable();be.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return C()},set:function(B){B=Number(B),isNaN(B)||(C(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=B))}}),this.eyeDomeLightingStrength=1;let S=be.observable();be.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return S()},set:function(B){B=Number(B),isNaN(B)||(S(B),l(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=B))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let v=be.observable();be.defineProperty(this,"skipLevelOfDetail",{get:function(){return v()},set:function(B){v(B),l(n._tileset)&&(n._tileset.skipLevelOfDetail=B)}}),this.skipLevelOfDetail=!0;let L=be.observable();be.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return L()},set:function(B){B=Number(B),isNaN(B)||(L(B),l(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=B))}}),this.skipScreenSpaceErrorFactor=16;let F=be.observable();be.defineProperty(this,"baseScreenSpaceError",{get:function(){return F()},set:function(B){B=Number(B),isNaN(B)||(F(B),l(n._tileset)&&(n._tileset.baseScreenSpaceError=B))}}),this.baseScreenSpaceError=1024;let V=be.observable();be.defineProperty(this,"skipLevels",{get:function(){return V()},set:function(B){B=Number(B),isNaN(B)||(V(B),l(n._tileset)&&(n._tileset.skipLevels=B))}}),this.skipLevels=1;let k=be.observable();be.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return k()},set:function(B){k(B),l(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=B)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let H=be.observable();be.defineProperty(this,"loadSiblings",{get:function(){return H()},set:function(B){H(B),l(n._tileset)&&(n._tileset.loadSiblings=B)}}),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)||mwe(this,!0)}Object.defineProperties(va.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 dDt}},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=oO(e,!1),this._pickStatisticsText=oO(e,!0),this._resourceCacheStatisticsText=pwe(),mwe(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,hDt):z.WHITE:t.color=t5,this._scene.requestRender()),l(e)&&(z.clone(e.color,t5),e.color=hwe,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()&&!xZ(t.content)&&(t.color=t5,this._scene.requestRender()),l(e)&&!xZ(e.content)&&(z.clone(e.color,t5),e.color=hwe,this._scene.requestRender()),this._tile=e}}});function xZ(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(!xZ(t[i]))return!1;return!0}return!1}va.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};va.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};va.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};va.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};va.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};va.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};va.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};va.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};va.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};va.prototype.trimTilesCache=function(){l(this._tileset)&&this._tileset.trimLoadedTiles()};va.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 iw(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};va.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(`
|
|
16031
|
+
`),c=a.length,u;if(t.shiftKey)for(u=0;u<c;++u)a[u][0]===" "&&(a[u][1]===" "?(a[u]=a[u].substr(2),r-=2):(a[u]=a[u].substr(1),r-=1));else for(u=0;u<c;++u)a[u]=` ${a[u]}`,r+=2;let f=a.join(`
|
|
16032
|
+
`);n.value=n.value.slice(0,i)+f+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};va.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=oO(e,!1),this._pickStatisticsText=oO(e,!0),this._resourceCacheStatisticsText=pwe())};va.prototype.isDestroyed=function(){return!1};va.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){be.getObservable(e,t).dispose()}),fe(this)};va.getStatistics=oO;var n5=va;function i5(e,t){e=Cn(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new n5(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=Tc.createSection,c=Tc.createCheckbox,u=Tc.createRangeInput,f=Tc.createButton,h=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),_=a(s,"Update","updateVisible","toggleUpdate"),m=a(s,"Logging","loggingVisible","toggleLogging"),y=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),A=a(s,"Style","styleVisible","toggleStyle"),b=a(s,"Optimization","optimizationVisible","toggleOptimization"),x=document.createElement("div");x.className="field-group";let T=document.createElement("label");T.className="field-label",T.appendChild(document.createTextNode("Properties: "));let E=document.createElement("div");E.setAttribute("data-bind","text: properties"),x.appendChild(T),x.appendChild(E),h.appendChild(x),h.appendChild(f("Pick Tileset","togglePickTileset","pickActive")),h.appendChild(f("Trim Tiles Cache","trimTilesCache")),h.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let w=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.",w.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 O=document.createElement("div");O.setAttribute("data-bind","visible: pointCloudShading"),O.appendChild(u("Geometric Error Scale","geometricErrorScale",0,2,.01)),O.appendChild(u("Maximum Attenuation","maximumAttenuation",0,32,1)),O.appendChild(u("Base Resolution","baseResolution",0,1,.01)),O.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(O);let P=document.createElement("div");P.setAttribute("data-bind","visible: eyeDomeLighting"),P.appendChild(u("EDL Strength","eyeDomeLightingStrength",0,2,.1)),P.appendChild(u("EDL Radius","eyeDomeLightingRadius",0,4,.1)),O.appendChild(P),_.appendChild(c("Freeze Frame","freezeFrame")),_.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let R=document.createElement("div");R.appendChild(u("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),_.appendChild(R);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(u("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(u("Screen Space Error Factor","dynamicScreenSpaceErrorFactor",1,32,.1)),_.appendChild(N),m.appendChild(c("Performance","performance")),m.appendChild(i),m.appendChild(c("Statistics","showStatistics"));let g=document.createElement("div");g.className="cesium-3dTilesInspector-statistics",g.setAttribute("data-bind","html: statisticsText, visible: showStatistics"),m.appendChild(g),m.appendChild(c("Pick Statistics","showPickStatistics"));let C=document.createElement("div");C.className="cesium-3dTilesInspector-statistics",C.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),m.appendChild(C),m.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let S=document.createElement("div");S.className="cesium-3dTilesInspector-statistics",S.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),m.appendChild(S);let v=document.createElement("div");A.appendChild(v),v.appendChild(document.createTextNode("Color Blend Mode: "));let L=document.createElement("select");L.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),v.appendChild(L);let F=document.createElement("textarea");F.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),v.className="cesium-cesiumInspector-styleEditor",v.appendChild(F);let V=f("Compile (Ctrl+Enter)","compileStyle");v.appendChild(V);let k=document.createElement("div");k.className="cesium-cesiumInspector-error",k.setAttribute("data-bind","text: editorError"),v.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")),b.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let H=document.createElement("div");H.appendChild(u("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),b.appendChild(H);let B=document.createElement("div");B.appendChild(u("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),b.appendChild(B);let W=document.createElement("div");W.appendChild(u("Min. levels to skip","skipLevels",0,10,1)),b.appendChild(W),b.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),b.appendChild(c("Load siblings of visible tiles","loadSiblings")),be.applyBindings(o,n)}Object.defineProperties(i5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});i5.prototype.isDestroyed=function(){return!1};i5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};var o5=i5;function gwe(e,t){this._scene=e,this._duration=t;let n=this;this._command=_n(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",be.track(this,["tooltip"])}Object.defineProperties(gwe.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 r5=gwe;function s5(e,t,n){e=Cn(e);let i=new r5(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),be.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(s5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});s5.prototype.isDestroyed=function(){return!1};s5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var a5=s5;var _we=1e3;function ud(e){l(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new JS({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 me,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=Awe,this._handleArrowUp=ywe;let t=this;this._suggestionsVisible=be.pureComputed(function(){let o=be.getObservable(t,"_suggestions")().length>0,r=be.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=_n(function(i){if(i=i??rx.SEARCH,t._focusTextbox=!1,l(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)ADt(t);else return _Dt(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?ywe(t):r?Awe(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;Twe(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??ud.flyToDestination,this._focusTextbox=!1,be.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=be.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){ud._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,be.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,be.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,be.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(ud.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}}});ud.prototype.destroy=function(){this._suggestionSubscription.dispose()};function ywe(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],ud._adjustSuggestionsScroll(e,n)}function Awe(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],ud._adjustSuggestionsScroll(e,i)}function mDt(e,t){let n=l(t)?t.availability:void 0;return l(n)?tS(t,[e]).then(function(i){return e=i[0],e.height+=_we,e}):(e.height+=_we,Promise.resolve(e))}function pDt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof ae?D.equalsEpsilon(t.south,t.north,D.EPSILON7)&&D.equalsEpsilon(t.east,t.west,D.EPSILON7)?t=ae.center(t):a=nS(t,n):t=i.cartesianToCartographic(t),l(a)||(a=mDt(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:M.IDENTITY})})}async function gDt(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 _Dt(e,t,n){let i=e._searchText;if(xwe(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 gDt(t[o],i,n),l(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,CZ(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=bwe(e,M1.getCreditsFromResult(s[0]));l(a)||TZ(e,t[o].credit);return}e._searchText=`${i} (not found)`}function TZ(e,t){l(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function bwe(e,t){return l(t)&&t.forEach(n=>TZ(e,n)),t}function CZ(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function yDt(e,t){let n=Cn(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 ADt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function xwe(e){return/^\s*$/.test(e)}function Twe(e){be.getObservable(e,"_suggestions").removeAll()}async function bDt(e){if(!e.autoComplete)return;let t=e._searchText;if(Twe(e),CZ(e),!xwe(t))for(let n of e._geocoderServices){let i=await n.geocode(t,rx.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=M1.getCreditsFromResult(r);o=o&&!l(s),bwe(e,s)}),o&&TZ(e,n.credit)}if(e._suggestions.length>=5)return}}ud.flyToDestination=pDt;ud._updateSearchSuggestions=bDt;ud._adjustSuggestionsScroll=yDt;ud.prototype.isDestroyed=function(){return!1};ud.prototype.destroy=function(){return CZ(this),fe(this)};var c5=ud;var xDt="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",TDt="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 l5(e){let t=Cn(e.container),n=new c5(e);n._startSearchPath=xDt,n._stopSearchPath=TDt;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),be.applyBindings(n,i),be.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(u){let f=u.target;typeof u.composedPath=="function"&&(f=u.composedPath()[0]),t.contains(f)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(u){n._focusTextbox=!0,n.showSuggestions()},Ft.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(l5.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});l5.prototype.isDestroyed=function(){return!1};l5.prototype.destroy=function(){let e=this._container;return Ft.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(),be.cleanNode(this._form),be.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),fe(this)};var u5=l5;function CDt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function Ewe(e,t){be.track(e);for(let n=0;n<e.sublayers.length;n++)Ewe(e.sublayers[n],t)}function f5(e){return e.modelName==="FullModel"}function Swe(e){return e.modelName==="Overview"}function wwe(e){return Swe(e)||f5(e)}function Cwe(e,t){if(wwe(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:be.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function EDt(e,t){if(wwe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");f5(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function SDt(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 wDt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:be.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:be.observable(!0),index:-1}],currentLayer:be.observable(),expandClickHandler:CDt,setOptionDisable:function(i,o){be.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){EDt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){Ewe(n[i],this.viewModel);let o=Cwe(n[i],this.viewModel);l(o)&&(Swe(o)||!l(this.viewModel.defaultLayer)&&f5(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=Cwe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=f5(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return SDt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var d5=wDt;function vDt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
|
|
16033
16033
|
<h3>Building explorer</h3>
|
|
16034
16034
|
<select
|
|
16035
16035
|
data-bind="options: topLayers, optionsText: 'name', optionsAfterRender: setOptionDisable, value: currentLayer"
|
|
@@ -16071,8 +16071,8 @@ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:functio
|
|
|
16071
16071
|
</li>
|
|
16072
16072
|
</ul>
|
|
16073
16073
|
</ul>
|
|
16074
|
-
</div>`,n.appendChild(i);let o=new g5(t);be.track(o),be.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var vwe=DDt;var PDt="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",ODt="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 EZ(){this._cameraClicked=new me,this._closeClicked=new me,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",be.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,be.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?ODt:PDt}}),be.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}EZ.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(EZ.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var _5=EZ;function y5(e){e=Cn(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 _5;be.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,u=c.createElement("link");u.href=Kt("Widgets/InfoBox/InfoBoxDescription.css"),u.rel="stylesheet",u.type="text/css";let f=c.createElement("div");f.className="cesium-infoBox-description",c.head.appendChild(u),c.body.appendChild(f),a._descriptionSubscription=Va(s,"description",function(h){r.style.height="5px",f.innerHTML=h;let p=null,_=f.firstElementChild;if(_!==null&&f.childNodes.length===1){let y=window.getComputedStyle(_);if(y!==null){let A=y["background-color"],b=z.fromCssColorString(A);l(b)&&b.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let m=f.getBoundingClientRect().height;r.style.height=`${m}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(y5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});y5.prototype.isDestroyed=function(){return!1};y5.prototype.destroy=function(){let e=this._container;return be.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),fe(this)};var A5=y5;function Iwe(){this.showInstructions=!1;let e=this;this._command=_n(function(){e.showInstructions=!e.showInstructions}),this._showClick=_n(function(){e._touch=!1}),this._showTouch=_n(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",be.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(Iwe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var b5=Iwe;function x5(e){let t=Cn(e.container),n=new b5,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 u=document.createElement("button");u.type="button",u.className="cesium-navigation-button cesium-navigation-button-right",u.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let f=document.createElement("img");f.src=Kt("Widgets/Images/NavigationHelp/Touch.svg"),f.className="cesium-navigation-button-icon",f.style.width="25px",f.style.height="25px",u.appendChild(f),u.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(u);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),be.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(_){o.contains(_.target)||(n.showInstructions=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(x5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});x5.prototype.isDestroyed=function(){return!1};x5.prototype.destroy=function(){return Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var T5=x5;function SZ(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,be.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=_n(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=bG.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(SZ.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});SZ.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),fe(this)};var C5=SZ;function E5(e){let t=Cn(e.container),n=new C5(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),be.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(E5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});E5.prototype.isDestroyed=function(){return!1};E5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var S5=E5;function w5(e){this._scene=e,this._orthographic=e.camera.frustum instanceof $t,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,be.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;be.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=_n(function(){t.sceneMode===ie.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new br,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===ie.SCENE2D||t._scene.camera.frustum instanceof $t}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=_n(function(){t.sceneMode!==ie.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=_n(function(){t.sceneMode!==ie.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=ie}Object.defineProperties(w5.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}}});w5.prototype.isDestroyed=function(){return!1};w5.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var v5=w5;var RDt="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",MDt="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 I5(e,t){e=Cn(e);let n=new v5(t);n._perspectivePath=RDt,n._orthographicPath=MDt;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),be.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(I5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});I5.prototype.isDestroyed=function(){return!1};I5.prototype.destroy=function(){return this._viewModel.destroy(),Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var D5=I5;function P5(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new br,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",be.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,be.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===ie.SCENE2D?n.tooltip2D:o===ie.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=_n(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=_n(function(){e.morphTo2D(n._duration)}),this._morphTo3D=_n(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=_n(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=ie}Object.defineProperties(P5.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}}});P5.prototype.isDestroyed=function(){return!1};P5.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var O5=P5;var LDt="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",NDt="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",FDt="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 R5(e,t,n){e=Cn(e);let i=new O5(t,n);i._globePath=LDt,i._flatMapPath=NDt,i._columbusViewPath=FDt;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),be.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(u){o.contains(u.target)||(i.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(R5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});R5.prototype.isDestroyed=function(){return!1};R5.prototype.destroy=function(){return this._viewModel.destroy(),Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var M5=R5;var BDt=new U,L5="-1000px";function rO(e,t,n){this._scene=e,this._screenPositionX=L5,this._screenPositionY=L5,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,be.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,be.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),be.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Ui.worldToWindowCoordinates(e,i,o)}}rO.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,BDt);if(!l(e))this._screenPositionX=L5,this._screenPositionY=L5;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`}}};rO.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:ts.EXPONENTIAL_OUT})};rO.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:ts.EXPONENTIAL_OUT})};Object.defineProperties(rO.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var N5=rO;function F5(e,t){e=Cn(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 N5(t,this._element,this._container);this._viewModel=c,be.applyBindings(this._viewModel,this._element)}Object.defineProperties(F5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});F5.prototype.isDestroyed=function(){return!1};F5.prototype.destroy=function(){let e=this._container;return be.cleanNode(this._element),e.removeChild(this._element),fe(this)};var B5=F5;function px(e,t,n){this._color=e,this._height=t,this._base=n??0}px.prototype.getHeight=function(){return this._height};px.prototype.getBase=function(){return this._base};px.prototype.getStartTime=function(){return this._start};px.prototype.getStopTime=function(){return this._stop};px.prototype.setRange=function(e,t){this._start=e,this._stop=t};px.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=K.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=K.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 k5=px;function Dwe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new z(.5,.5,.5,1),this.backgroundColor=i||new z(0,0,0,0)}Dwe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=K.addSeconds(t.startJulian,t.duration,new K);if(K.lessThan(n,o)&&K.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(K.lessThanOrEquals(n,r)&&K.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let u=K.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new K);!l(a)&&K.greaterThanOrEquals(u,n)?a=s:!l(c)&&K.greaterThanOrEquals(u,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 U5=Dwe;var wZ=1e12,fd={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},al={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},BA=[.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],kDt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function cl(e,t){e=Cn(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=fd.none,this._touchMode=al.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=UDt(this),this._onMouseUp=zDt(this),this._onMouseMove=VDt(this),this._onMouseWheel=HDt(this),this._onTouchStart=GDt(this),this._onTouchMove=jDt(this),this._onTouchEnd=WDt(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()}cl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};cl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};cl.prototype.isDestroyed=function(){return!1};cl.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),fe(this)};cl.prototype.addHighlightRange=function(e,t,n){let i=new k5(e,t,n);return this._highlightRanges.push(i),this.resize(),i};cl.prototype.addTrack=function(e,t,n,i){let o=new U5(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};cl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=K.secondsDifference(t,e),this._clock&&this._clock.clockRange!==$r.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=K.secondsDifference(o,i),s=K.secondsDifference(i,this._startJulian),a=K.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=K.addSeconds(this._endJulian,s,new K),this._startJulian=i,this._timeBarSecondsSpan=K.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=K.addSeconds(this._startJulian,a,new K),this._endJulian=o,this._timeBarSecondsSpan=K.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)};cl.prototype.zoomFrom=function(e){let t=K.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(K.addSeconds(this._startJulian,t-t*e,new K),K.addSeconds(this._endJulian,n*e-n,new K))};function vZ(e){return e<10?`0${e.toString()}`:e.toString()}cl.prototype.makeLabel=function(e){let t=K.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`${kDt[t.month-1]} ${t.day} ${t.year} ${vZ(t.hour)}:${vZ(t.minute)}:${vZ(t.second)}${i}`};cl.prototype.smallestTicInPixels=7;cl.prototype._makeTics=function(){let e=this._timeBarEle,t=K.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,u=1e-10,f=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=K.addSeconds(this._startJulian,a,new K)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=K.addSeconds(this._startJulian,c,new K));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let _=this._startJulian,m=Math.min(h/p*1e-5,.4),y,A=K.toGregorianDate(_);h>31536e4?y=K.fromDate(new Date(Date.UTC(Math.floor(A.year/100)*100,0))):h>31536e3?y=K.fromDate(new Date(Date.UTC(Math.floor(A.year/10)*10,0))):h>86400?y=K.fromDate(new Date(Date.UTC(A.year,0))):y=K.fromDate(new Date(Date.UTC(A.year,A.month,A.day)));let b=K.secondsDifference(this._startJulian,K.addSeconds(y,m,new K)),x=b+h;this._epochJulian=y;function T(B){return Math.floor(b/B)*B}function E(B,W){return Math.ceil(B/W+.5)*W}function w(B){return(B-b)/h}function I(B,W){return B-W*Math.round(B/W)}this._rulerEle.innerHTML=this.makeLabel(K.addSeconds(this._endJulian,-a,new K));let O=this._rulerEle.offsetWidth+20;O<30&&(O=180);let P=f;f-=u;let R={startTime:b,startJulian:_,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:w};this._highlightRanges.forEach(function(B){s+=B.render(R)});let N=0,g=0,C=0,S=O/p;S>1&&(S=1),S*=this._timeBarSecondsSpan;let v=-1,L=-1,F=BA.length,V;for(V=0;V<F;++V){let B=BA[V];if(++v,N=B,B>S&&B>f)break;L<0&&p*(B/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(L=v)}if(v>0){for(;v>0;)if(--v,Math.abs(I(N,BA[v]))<1e-5){BA[v]>=f&&(g=BA[v]);break}if(L>=0)for(;L<v;){if(Math.abs(I(g,BA[L]))<1e-5&&BA[L]>=f){C=BA[L];break}++L}}f=P,f>u&&C<1e-5&&Math.abs(f-N)>u&&(C=f,f<=N+u&&(g=0));let k=-999999,H;if(p*(C/this._timeBarSecondsSpan)>=3)for(o=T(C);o<=x;o=E(o,C))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*w(o)).toString()}px;"></span>`;if(p*(g/this._timeBarSecondsSpan)>=3)for(o=T(g);o<=x;o=E(o,g))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*w(o)).toString()}px;"></span>`;if(p*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,x+=N,o=T(N);let B=K.computeTaiMinusUtc(y);for(;o<=x;){let W=K.addSeconds(_,o-b,new K);if(N>2.1){let $=K.computeTaiMinusUtc(W);Math.abs($-B)>.1&&(o+=$-B,W=K.addSeconds(_,o-b,new K))}let q=Math.round(p*w(o)),Z=this.makeLabel(W);this._rulerEle.innerHTML=Z,H=this._rulerEle.offsetWidth,H<10&&(H=O);let j=q-(H/2-1);j>k?(k=j+H+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${q.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${j.toString()}px;">${Z}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${q.toString()}px;"></span>`,o=E(o,N)}}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),R.y=0,this._trackList.forEach(function(B){B.render(r._context,R),R.y+=B.height})};cl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=K.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(K.addSeconds(this._startJulian,this._timelineDrag,new K),K.addSeconds(this._endJulian,this._timelineDrag,new K)))};cl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=K.addSeconds(this._startJulian,t,new K),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 UDt(e){return function(t){e._mouseMode!==fd.touchOnly&&(t.button===0?(e._mouseMode=fd.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=fd.zoom:e._mouseMode=fd.slide)),t.preventDefault()}}function zDt(e){return function(t){e._mouseMode=fd.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function VDt(e){return function(t){let n;if(e._mouseMode===fd.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===fd.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(K.addSeconds(e._startJulian,i,new K),K.addSeconds(e._endJulian,i,new K))}}else e._mouseMode===fd.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function HDt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;wZ=Math.max(Math.min(Math.abs(n),wZ),1),n/=wZ,e.zoomFrom(Math.pow(1.05,-n))}}function GDt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=fd.touchOnly,n===1?(i=K.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=al.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=al.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=al.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=al.ignore}}function WDt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===al.singleTap?(e._touchMode=al.scrub,e._onTouchMove(t)):e._touchMode===al.scrub&&e._onTouchMove(t),e._mouseMode=fd.touchOnly,n!==1?e._touchMode=n>0?al.ignore:al.none:e._touchMode===al.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function jDt(e){return function(t){let n,i,o,r,s,a,c=1,u=e._topDiv.getBoundingClientRect().left;e._touchMode===al.singleTap&&(e._touchMode=al.slideZoom),e._mouseMode=fd.touchOnly,e._touchMode===al.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-u,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===al.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-u,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-u,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=K.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new K)):(n=e._touchState.centerX-r,a=K.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new K)),e.zoomTo(a,K.addSeconds(a,e._timeBarSecondsSpan*c,new K)),e._touchState.centerX=r,e._touchState.spanX=s))}}cl.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 z5=cl;var Lwe=Wr(Mwe(),1);function XDt(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 Nwe(){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 KDt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(Nwe(),e._locked=!1),e._noSleep.disable(),Ir.exitFullscreen(),n(!1)):(Ir.fullscreen||Ir.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=XDt("landscape")),t.useWebVR=!0,n(!0)))}function V5(e,t){let n=this,i=be.observable(Ir.enabled),o=be.observable(!1);this.isVRMode=void 0,be.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,be.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&Ir.enabled)}}),this.tooltip=void 0,be.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=be.observable(!1);this._isOrthographic=void 0,be.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new br,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof $t)}),this._locked=!1,this._noSleep=new Lwe.default,this._command=_n(function(){KDt(n,e,o,r)},be.getObservable(this,"isVREnabled")),this._vrElement=Cn(t)??document.body,this._callback=function(){!Ir.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(Nwe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(Ir.changeEventName,this._callback)}Object.defineProperties(V5.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});V5.prototype.isDestroyed=function(){return!1};V5.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(Ir.changeEventName,this._callback),fe(this)};var H5=V5;var QDt="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",JDt="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 G5(e,t,n){e=Cn(e);let i=new H5(t,n);i._exitVRPath=JDt,i._enterVRPath=QDt;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),be.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(G5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});G5.prototype.isDestroyed=function(){return!1};G5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var W5=G5;var Fwe=new ce;function Uwe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function ZDt(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 $Dt(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 Bwe(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof rr)return i;if(n instanceof ca)return new rr({name:$Dt(n),description:ZDt(n),feature:n})}if(l(e.scene.globe))return nPt(e,t.position)}var ePt=new K;function OZ(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;K.equals(i,o)&&(o=K.addSeconds(i,D.EPSILON2,ePt)),e.updateFromClock(),e.zoomTo(i,o)}}}var tPt=new d;function nPt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new rr({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=kwe();return}let a=s[0],c=new rr({id:a.name,description:a.description});if(l(a.position)){let u=e.scene.ellipsoid.cartographicToCartesian(a.position,tPt);c.position=new xl(u)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=kwe())}),r}function kwe(){return new rr({id:"None",description:"No features found."})}function iPt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,u=e._fullscreenButton,f=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(u)&&u.viewModel.isFullscreenEnabled&&(u.container.style.visibility=p),l(f)&&(f.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let _=t||!l(u)?0:u.container.clientWidth;e._vrButton.container.style.right=`${_}px`,e.forceResize()}}function Vi(e,t){e=Cn(e),t=t??G.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,u,f=!1;l(t.clockViewModel)?(u=t.clockViewModel,c=u.clock):(c=new Em,u=new zG(c),f=!0);let h=new GH(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,_=new br;_.add(c.onTick,Vi.prototype._onTick,this);let m;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let W=document.createElement("div");W.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(W),m=new B5(W,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let W=document.createElement("div");W.className="cesium-viewer-infoBoxContainer",o.appendChild(W),y=new A5(W);let q=y.viewModel;_.add(q.cameraClicked,Vi.prototype._onInfoBoxCameraClicked,this),_.add(q.closeClicked,Vi.prototype._onInfoBoxClockClicked,this)}let A=document.createElement("div");A.className="cesium-viewer-toolbar",o.appendChild(A);let b;if(!l(t.geocoder)||t.geocoder!==!1){let W=document.createElement("div");W.className="cesium-viewer-geocoderContainer",A.appendChild(W);let q;typeof t.geocoder=="string"?q=[new JS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(q=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),b=new f5({container:W,geocoderServices:q,scene:p}),_.add(b.viewModel.search.beforeExecute,Vi.prototype._clearObjects,this)}let x;(!l(t.homeButton)||t.homeButton!==!1)&&(x=new m5(A,p),l(b)&&_.add(x.viewModel.command.afterExecute,function(){let W=b.viewModel;W.searchText="",W.isSearchInProgress&&W.search()}),_.add(x.viewModel.command.beforeExecute,Vi.prototype._clearTrackedObject,this));let T;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(T=new M5(A,p));let E;t.projectionPicker&&(E=new D5(A,p));let w,I;if(n){let W=t.imageryProviderViewModels??XG(),q=t.terrainProviderViewModels??KG();w=new qG(A,{globe:p.globe,imageryProviderViewModels:W,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:q,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=A.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(w.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(w.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let O;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let W=!0;try{if(l(window.localStorage)){let q=window.localStorage.getItem("cesium-hasSeenNavHelp");l(q)&&q?W=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}O=new T5({container:A,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??W})}let P;if(!l(t.animation)||t.animation!==!1){let W=document.createElement("div");W.className="cesium-viewer-animationContainer",o.appendChild(W),P=new e5(W,new t5(u))}let R;if(!l(t.timeline)||t.timeline!==!1){let W=document.createElement("div");W.className="cesium-viewer-timelineContainer",o.appendChild(W),R=new z5(W,c),R.addEventListener("settime",Uwe,!1),R.zoomTo(c.startTime,c.stopTime)}let N,g,C;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(C=document.createElement("div"),C.className="cesium-viewer-fullscreenContainer",o.appendChild(C),N=new c5(C,t.fullscreenElement),g=Va(N.viewModel,"isFullscreenEnabled",function(W){C.style.display=W?"block":"none",l(R)&&(R.container.style.right=`${C.clientWidth}px`,R.resize())}));let S,v,L;if(t.vrButton){let W=document.createElement("div");W.className="cesium-viewer-vrContainer",o.appendChild(W),S=new W5(W,p,t.fullScreenElement),v=Va(S.viewModel,"isVREnabled",function(q){W.style.display=q?"block":"none",l(N)&&(W.style.right=`${C.clientWidth}px`),l(R)&&(R.container.style.right=`${W.clientWidth}px`,R.resize())}),L=Va(S.viewModel,"isVRMode",function(q){iPt(i,q)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=g,this._vrSubscription=v,this._vrModeSubscription=L,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=m,this._infoBox=y,this._clockViewModel=u,this._destroyClockViewModel=f,this._toolbar=A,this._homeButton=x,this._sceneModePicker=T,this._projectionPicker=E,this._baseLayerPicker=w,this._navigationHelpButton=O,this._animation=P,this._timeline=R,this._fullscreenButton=N,this._vrButton=S,this._geocoder=b,this._eventHelper=_,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(m),this._selectedEntity=void 0,this._selectedEntityChanged=new me;let F=this._cesiumWidget.dataSources,V=this._cesiumWidget.dataSourceDisplay;_.add(F.dataSourceAdded,Vi.prototype._onDataSourceAdded,this),_.add(F.dataSourceRemoved,Vi.prototype._onDataSourceRemoved,this),_.add(p.postUpdate,Vi.prototype.resize,this);let k=F.length;for(let W=0;W<k;W++)this._dataSourceAdded(F,F.get(W));this._dataSourceAdded(void 0,V.defaultDataSource),_.add(F.dataSourceAdded,Vi.prototype._dataSourceAdded,this),_.add(F.dataSourceRemoved,Vi.prototype._dataSourceRemoved,this);function H(W){let q=Bwe(i,W);l(q)?Y.getValueOrUndefined(q.position,i.clock.currentTime)?i.trackedEntity=q:i.zoomTo(q):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function B(W){i.selectedEntity=Bwe(i,W)}h.screenSpaceEventHandler.setInputAction(B,hn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(H,hn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(Vi.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,OZ(this._timeline,e))}}});Vi.prototype.extend=function(e,t){e(this,t)};Vi.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 m=this._geocoder.searchSuggestionsContainer;m.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,u,f=0,h=5,p=3,_=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let m=this._lastWidth;u=this._animation.container,n>900?(f=169,m<=900&&(u.style.width="169px",u.style.height="112px",this._animation.resize())):n>=600?(f=136,(m<600||m>900)&&(u.style.width="136px",u.style.height="90px",this._animation.resize())):(f=106,(m>600||m===0)&&(u.style.width="106px",u.style.height="70px",this._animation.resize())),h=f+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let m=this._fullscreenButton,y=this._vrButton,A=c.container,b=A.style;p=A.clientHeight+3,b.left=`${f}px`;let x=0;l(m)&&(x+=m.container.clientWidth),l(y)&&(x+=y.container.clientWidth),b.right=`${x}px`,c.resize()}!r&&l(this._fullscreenButton)&&(_=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${_}px`,this._lastWidth=n,this._lastHeight=i};Vi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};Vi.prototype.render=function(){this._cesiumWidget.render()};Vi.prototype.isDestroyed=function(){return!1};Vi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(hn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(hn.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",Uwe,!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(),fe(this)};Vi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(Vi.prototype._onEntityCollectionChanged,this)};Vi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(Vi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};Vi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};Vi.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,Fwe)!==nt.FAILED?n=Fwe.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=d.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=Y.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};Vi.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)}};Vi.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)}};Vi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};Vi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};Vi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};Vi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&OZ(this.timeline,e)};Vi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&OZ(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,Vi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};Vi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};Vi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};Vi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var zwe=Vi;function oPt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new WG(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Vwe=oPt;function rPt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new o5(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Hwe=rPt;function sPt(e,t){t=t??G.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new me,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Cn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(f){Gwe(s,u),s=f,RZ(s,u)}},dropEnabled:{get:function(){return n},set:function(f){f!==n&&(f?RZ(s,u):Gwe(s,u),n=f)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(f){r=f}},flyToOnDrop:{get:function(){return i},set:function(f){i=f}},proxy:{get:function(){return c},set:function(f){c=f}},clampToGround:{get:function(){return a},set:function(f){a=f}}});function u(f){gx(f),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=f.dataTransfer.files,p=h.length;for(let _=0;_<p;_++){let m=h[_],y=new FileReader;y.onload=aPt(e,m,c,a),y.onerror=cPt(e,m),y.readAsText(m)}}RZ(s,u),e.destroy=fG(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=u}function gx(e){e.stopPropagation(),e.preventDefault()}function Gwe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",gx,!1),n.removeEventListener("dragover",gx,!1),n.removeEventListener("dragexit",gx,!1))}function RZ(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",gx,!1),e.addEventListener("dragover",gx,!1),e.addEventListener("dragexit",gx,!1)}function aPt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=kk.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=Ab.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=eS.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=XU.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 cPt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var Wwe=sPt;function lPt(e,t){t=t??G.EMPTY_OBJECT;let n=new S5({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var jwe=lPt;function Ywe(e){let t=e.split(`
|
|
16074
|
+
</div>`,n.appendChild(i);let o=new d5(t);be.track(o),be.applyBindings(o,n),l(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var vwe=vDt;function h5(e,t){l(t)||(t=document.body),t=Cn(t);let n=this,i=be.observable(Ir.fullscreen),o=be.observable(Ir.enabled),r=t.ownerDocument;this.isFullscreen=void 0,be.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,be.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&Ir.enabled)}}),this.tooltip=void 0,be.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=_n(function(){Ir.fullscreen?Ir.exitFullscreen():Ir.requestFullscreen(n._fullscreenElement)},be.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=Cn(e)??r.body,this._callback=function(){i(Ir.fullscreen)},r.addEventListener(Ir.changeEventName,this._callback)}Object.defineProperties(h5.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});h5.prototype.isDestroyed=function(){return!1};h5.prototype.destroy=function(){document.removeEventListener(Ir.changeEventName,this._callback),fe(this)};var m5=h5;var IDt="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",DDt="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 p5(e,t){e=Cn(e);let n=new m5(t,e);n._exitFullScreenPath=DDt,n._enterFullScreenPath=IDt;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),be.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(p5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});p5.prototype.isDestroyed=function(){return!1};p5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var g5=p5;var PDt="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",ODt="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 EZ(){this._cameraClicked=new me,this._closeClicked=new me,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",be.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,be.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?ODt:PDt}}),be.defineProperty(this,"_bodyless",{get:function(){return!l(this.description)||this.description.length===0}})}EZ.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(EZ.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var _5=EZ;function y5(e){e=Cn(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 _5;be.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,u=c.createElement("link");u.href=Kt("Widgets/InfoBox/InfoBoxDescription.css"),u.rel="stylesheet",u.type="text/css";let f=c.createElement("div");f.className="cesium-infoBox-description",c.head.appendChild(u),c.body.appendChild(f),a._descriptionSubscription=Va(s,"description",function(h){r.style.height="5px",f.innerHTML=h;let p=null,_=f.firstElementChild;if(_!==null&&f.childNodes.length===1){let y=window.getComputedStyle(_);if(y!==null){let A=y["background-color"],b=z.fromCssColorString(A);l(b)&&b.alpha!==0&&(p=y["background-color"])}}t.style["background-color"]=p;let m=f.getBoundingClientRect().height;r.style.height=`${m}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(y5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});y5.prototype.isDestroyed=function(){return!1};y5.prototype.destroy=function(){let e=this._container;return be.cleanNode(this._element),e.removeChild(this._element),l(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),fe(this)};var A5=y5;function Iwe(){this.showInstructions=!1;let e=this;this._command=_n(function(){e.showInstructions=!e.showInstructions}),this._showClick=_n(function(){e._touch=!1}),this._showTouch=_n(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",be.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(Iwe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var b5=Iwe;function x5(e){let t=Cn(e.container),n=new b5,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 u=document.createElement("button");u.type="button",u.className="cesium-navigation-button cesium-navigation-button-right",u.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let f=document.createElement("img");f.src=Kt("Widgets/Images/NavigationHelp/Touch.svg"),f.className="cesium-navigation-button-icon",f.style.width="25px",f.style.height="25px",u.appendChild(f),u.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(u);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),be.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(_){o.contains(_.target)||(n.showInstructions=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(x5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});x5.prototype.isDestroyed=function(){return!1};x5.prototype.destroy=function(){return Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var T5=x5;function C5(e){this._scene=e,this._orthographic=e.camera.frustum instanceof $t,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,be.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;be.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=_n(function(){t.sceneMode===ie.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new br,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===ie.SCENE2D||t._scene.camera.frustum instanceof $t}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=l(e.camera._currentFlight)}),this._switchToPerspective=_n(function(){t.sceneMode!==ie.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=_n(function(){t.sceneMode!==ie.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=ie}Object.defineProperties(C5.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}}});C5.prototype.isDestroyed=function(){return!1};C5.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var E5=C5;var RDt="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",MDt="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 S5(e,t){e=Cn(e);let n=new E5(t);n._perspectivePath=RDt,n._orthographicPath=MDt;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),be.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(S5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});S5.prototype.isDestroyed=function(){return!1};S5.prototype.destroy=function(){return this._viewModel.destroy(),Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var w5=S5;function SZ(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,be.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=_n(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=bG.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(SZ.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});SZ.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),fe(this)};var v5=SZ;function I5(e){let t=Cn(e.container),n=new v5(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),be.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(I5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});I5.prototype.isDestroyed=function(){return!1};I5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var D5=I5;function P5(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new br,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",be.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,be.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===ie.SCENE2D?n.tooltip2D:o===ie.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=_n(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=_n(function(){e.morphTo2D(n._duration)}),this._morphTo3D=_n(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=_n(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=ie}Object.defineProperties(P5.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}}});P5.prototype.isDestroyed=function(){return!1};P5.prototype.destroy=function(){this._eventHelper.removeAll(),fe(this)};var O5=P5;var LDt="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",NDt="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",FDt="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 R5(e,t,n){e=Cn(e);let i=new O5(t,n);i._globePath=LDt,i._flatMapPath=NDt,i._columbusViewPath=FDt;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),be.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(u){o.contains(u.target)||(i.dropDownVisible=!1)},Ft.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(R5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});R5.prototype.isDestroyed=function(){return!1};R5.prototype.destroy=function(){return this._viewModel.destroy(),Ft.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),be.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),fe(this)};var M5=R5;var BDt=new U,L5="-1000px";function rO(e,t,n){this._scene=e,this._screenPositionX=L5,this._screenPositionY=L5,this._tweens=e.tweens,this._container=n??document.body,this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,be.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,be.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&l(this.position)}}),be.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Ui.worldToWindowCoordinates(e,i,o)}}rO.prototype.update=function(){if(this.showSelection&&l(this.position)){let e=this.computeScreenSpacePosition(this.position,BDt);if(!l(e))this._screenPositionX=L5,this._screenPositionY=L5;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`}}};rO.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:ts.EXPONENTIAL_OUT})};rO.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:ts.EXPONENTIAL_OUT})};Object.defineProperties(rO.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var N5=rO;function F5(e,t){e=Cn(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 N5(t,this._element,this._container);this._viewModel=c,be.applyBindings(this._viewModel,this._element)}Object.defineProperties(F5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});F5.prototype.isDestroyed=function(){return!1};F5.prototype.destroy=function(){let e=this._container;return be.cleanNode(this._element),e.removeChild(this._element),fe(this)};var B5=F5;function px(e,t,n){this._color=e,this._height=t,this._base=n??0}px.prototype.getHeight=function(){return this._height};px.prototype.getBase=function(){return this._base};px.prototype.getStartTime=function(){return this._start};px.prototype.getStopTime=function(){return this._stop};px.prototype.setRange=function(e,t){this._start=e,this._stop=t};px.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=K.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=K.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 k5=px;function Dwe(e,t,n,i){this.interval=e,this.height=t,this.color=n||new z(.5,.5,.5,1),this.backgroundColor=i||new z(0,0,0,0)}Dwe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=K.addSeconds(t.startJulian,t.duration,new K);if(K.lessThan(n,o)&&K.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(K.lessThanOrEquals(n,r)&&K.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let u=K.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new K);!l(a)&&K.greaterThanOrEquals(u,n)?a=s:!l(c)&&K.greaterThanOrEquals(u,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 U5=Dwe;var wZ=1e12,fd={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},al={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},BA=[.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],kDt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function cl(e,t){e=Cn(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=fd.none,this._touchMode=al.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=UDt(this),this._onMouseUp=zDt(this),this._onMouseMove=VDt(this),this._onMouseWheel=HDt(this),this._onTouchStart=GDt(this),this._onTouchMove=jDt(this),this._onTouchEnd=WDt(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()}cl.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};cl.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};cl.prototype.isDestroyed=function(){return!1};cl.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),fe(this)};cl.prototype.addHighlightRange=function(e,t,n){let i=new k5(e,t,n);return this._highlightRanges.push(i),this.resize(),i};cl.prototype.addTrack=function(e,t,n,i){let o=new U5(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};cl.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=K.secondsDifference(t,e),this._clock&&this._clock.clockRange!==$r.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=K.secondsDifference(o,i),s=K.secondsDifference(i,this._startJulian),a=K.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=K.addSeconds(this._endJulian,s,new K),this._startJulian=i,this._timeBarSecondsSpan=K.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=K.addSeconds(this._startJulian,a,new K),this._endJulian=o,this._timeBarSecondsSpan=K.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)};cl.prototype.zoomFrom=function(e){let t=K.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(K.addSeconds(this._startJulian,t-t*e,new K),K.addSeconds(this._endJulian,n*e-n,new K))};function vZ(e){return e<10?`0${e.toString()}`:e.toString()}cl.prototype.makeLabel=function(e){let t=K.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`${kDt[t.month-1]} ${t.day} ${t.year} ${vZ(t.hour)}:${vZ(t.minute)}:${vZ(t.second)}${i}`};cl.prototype.smallestTicInPixels=7;cl.prototype._makeTics=function(){let e=this._timeBarEle,t=K.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,u=1e-10,f=0,h=this._timeBarSecondsSpan;h<a?(h=a,this._timeBarSecondsSpan=a,this._endJulian=K.addSeconds(this._startJulian,a,new K)):h>c&&(h=c,this._timeBarSecondsSpan=c,this._endJulian=K.addSeconds(this._startJulian,c,new K));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let _=this._startJulian,m=Math.min(h/p*1e-5,.4),y,A=K.toGregorianDate(_);h>31536e4?y=K.fromDate(new Date(Date.UTC(Math.floor(A.year/100)*100,0))):h>31536e3?y=K.fromDate(new Date(Date.UTC(Math.floor(A.year/10)*10,0))):h>86400?y=K.fromDate(new Date(Date.UTC(A.year,0))):y=K.fromDate(new Date(Date.UTC(A.year,A.month,A.day)));let b=K.secondsDifference(this._startJulian,K.addSeconds(y,m,new K)),x=b+h;this._epochJulian=y;function T(B){return Math.floor(b/B)*B}function E(B,W){return Math.ceil(B/W+.5)*W}function w(B){return(B-b)/h}function I(B,W){return B-W*Math.round(B/W)}this._rulerEle.innerHTML=this.makeLabel(K.addSeconds(this._endJulian,-a,new K));let O=this._rulerEle.offsetWidth+20;O<30&&(O=180);let P=f;f-=u;let R={startTime:b,startJulian:_,epochJulian:y,duration:h,timeBarWidth:p,getAlpha:w};this._highlightRanges.forEach(function(B){s+=B.render(R)});let N=0,g=0,C=0,S=O/p;S>1&&(S=1),S*=this._timeBarSecondsSpan;let v=-1,L=-1,F=BA.length,V;for(V=0;V<F;++V){let B=BA[V];if(++v,N=B,B>S&&B>f)break;L<0&&p*(B/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(L=v)}if(v>0){for(;v>0;)if(--v,Math.abs(I(N,BA[v]))<1e-5){BA[v]>=f&&(g=BA[v]);break}if(L>=0)for(;L<v;){if(Math.abs(I(g,BA[L]))<1e-5&&BA[L]>=f){C=BA[L];break}++L}}f=P,f>u&&C<1e-5&&Math.abs(f-N)>u&&(C=f,f<=N+u&&(g=0));let k=-999999,H;if(p*(C/this._timeBarSecondsSpan)>=3)for(o=T(C);o<=x;o=E(o,C))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*w(o)).toString()}px;"></span>`;if(p*(g/this._timeBarSecondsSpan)>=3)for(o=T(g);o<=x;o=E(o,g))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*w(o)).toString()}px;"></span>`;if(p*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,x+=N,o=T(N);let B=K.computeTaiMinusUtc(y);for(;o<=x;){let W=K.addSeconds(_,o-b,new K);if(N>2.1){let $=K.computeTaiMinusUtc(W);Math.abs($-B)>.1&&(o+=$-B,W=K.addSeconds(_,o-b,new K))}let q=Math.round(p*w(o)),Z=this.makeLabel(W);this._rulerEle.innerHTML=Z,H=this._rulerEle.offsetWidth,H<10&&(H=O);let j=q-(H/2-1);j>k?(k=j+H+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${q.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${j.toString()}px;">${Z}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${q.toString()}px;"></span>`,o=E(o,N)}}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),R.y=0,this._trackList.forEach(function(B){B.render(r._context,R),R.y+=B.height})};cl.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(l(this._scrubElement)){let t=K.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(K.addSeconds(this._startJulian,this._timelineDrag,new K),K.addSeconds(this._endJulian,this._timelineDrag,new K)))};cl.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=K.addSeconds(this._startJulian,t,new K),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 UDt(e){return function(t){e._mouseMode!==fd.touchOnly&&(t.button===0?(e._mouseMode=fd.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=fd.zoom:e._mouseMode=fd.slide)),t.preventDefault()}}function zDt(e){return function(t){e._mouseMode=fd.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function VDt(e){return function(t){let n;if(e._mouseMode===fd.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===fd.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(K.addSeconds(e._startJulian,i,new K),K.addSeconds(e._endJulian,i,new K))}}else e._mouseMode===fd.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function HDt(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;wZ=Math.max(Math.min(Math.abs(n),wZ),1),n/=wZ,e.zoomFrom(Math.pow(1.05,-n))}}function GDt(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=fd.touchOnly,n===1?(i=K.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=al.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=al.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=al.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=al.ignore}}function WDt(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===al.singleTap?(e._touchMode=al.scrub,e._onTouchMove(t)):e._touchMode===al.scrub&&e._onTouchMove(t),e._mouseMode=fd.touchOnly,n!==1?e._touchMode=n>0?al.ignore:al.none:e._touchMode===al.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function jDt(e){return function(t){let n,i,o,r,s,a,c=1,u=e._topDiv.getBoundingClientRect().left;e._touchMode===al.singleTap&&(e._touchMode=al.slideZoom),e._mouseMode=fd.touchOnly,e._touchMode===al.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-u,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===al.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-u,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-u,s=0),l(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=K.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new K)):(n=e._touchState.centerX-r,a=K.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new K)),e.zoomTo(a,K.addSeconds(a,e._timeBarSecondsSpan*c,new K)),e._touchState.centerX=r,e._touchState.spanX=s))}}cl.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 z5=cl;var Lwe=Wr(Mwe(),1);function XDt(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 Nwe(){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 KDt(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(Nwe(),e._locked=!1),e._noSleep.disable(),Ir.exitFullscreen(),n(!1)):(Ir.fullscreen||Ir.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=XDt("landscape")),t.useWebVR=!0,n(!0)))}function V5(e,t){let n=this,i=be.observable(Ir.enabled),o=be.observable(!1);this.isVRMode=void 0,be.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,be.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&Ir.enabled)}}),this.tooltip=void 0,be.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=be.observable(!1);this._isOrthographic=void 0,be.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new br,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof $t)}),this._locked=!1,this._noSleep=new Lwe.default,this._command=_n(function(){KDt(n,e,o,r)},be.getObservable(this,"isVREnabled")),this._vrElement=Cn(t)??document.body,this._callback=function(){!Ir.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(Nwe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(Ir.changeEventName,this._callback)}Object.defineProperties(V5.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});V5.prototype.isDestroyed=function(){return!1};V5.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(Ir.changeEventName,this._callback),fe(this)};var H5=V5;var QDt="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",JDt="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 G5(e,t,n){e=Cn(e);let i=new H5(t,n);i._exitVRPath=JDt,i._enterVRPath=QDt;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),be.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(G5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});G5.prototype.isDestroyed=function(){return!1};G5.prototype.destroy=function(){return this._viewModel.destroy(),be.cleanNode(this._element),this._container.removeChild(this._element),fe(this)};var W5=G5;var Fwe=new ce;function Uwe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function ZDt(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 $Dt(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 Bwe(e,t){let n=e.scene.pick(t.position);if(l(n)){let i=n.id??n.primitive.id;if(i instanceof rr)return i;if(n instanceof ca)return new rr({name:$Dt(n),description:ZDt(n),feature:n})}if(l(e.scene.globe))return nPt(e,t.position)}var ePt=new K;function OZ(e,t){if(l(t)){let n=t.clock;if(l(n)&&l(e)){let i=n.startTime,o=n.stopTime;K.equals(i,o)&&(o=K.addSeconds(i,D.EPSILON2,ePt)),e.updateFromClock(),e.zoomTo(i,o)}}}var tPt=new d;function nPt(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!l(o))return;let r=new rr({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!l(s)||s.length===0){e.selectedEntity=kwe();return}let a=s[0],c=new rr({id:a.name,description:a.description});if(l(a.position)){let u=e.scene.ellipsoid.cartographicToCartesian(a.position,tPt);c.position=new xl(u)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=kwe())}),r}function kwe(){return new rr({id:"None",description:"No features found."})}function iPt(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,u=e._fullscreenButton,f=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(u)&&u.viewModel.isFullscreenEnabled&&(u.container.style.visibility=p),l(f)&&(f.container.style.visibility=p),l(h)&&(h.container.style.visibility=p),e._container){let _=t||!l(u)?0:u.container.clientWidth;e._vrButton.container.style.right=`${_}px`,e.forceResize()}}function Vi(e,t){e=Cn(e),t=t??G.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,u,f=!1;l(t.clockViewModel)?(u=t.clockViewModel,c=u.clock):(c=new Em,u=new zG(c),f=!0);let h=new GH(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,_=new br;_.add(c.onTick,Vi.prototype._onTick,this);let m;if(!l(t.selectionIndicator)||t.selectionIndicator!==!1){let W=document.createElement("div");W.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(W),m=new B5(W,p)}let y;if(!l(t.infoBox)||t.infoBox!==!1){let W=document.createElement("div");W.className="cesium-viewer-infoBoxContainer",o.appendChild(W),y=new A5(W);let q=y.viewModel;_.add(q.cameraClicked,Vi.prototype._onInfoBoxCameraClicked,this),_.add(q.closeClicked,Vi.prototype._onInfoBoxClockClicked,this)}let A=document.createElement("div");A.className="cesium-viewer-toolbar",o.appendChild(A);let b;if(!l(t.geocoder)||t.geocoder!==!1){let W=document.createElement("div");W.className="cesium-viewer-geocoderContainer",A.appendChild(W);let q;typeof t.geocoder=="string"?q=[new JS({scene:p,geocodeProviderType:t.geocoder})]:l(t.geocoder)&&typeof t.geocoder!="boolean"&&(q=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),b=new u5({container:W,geocoderServices:q,scene:p}),_.add(b.viewModel.search.beforeExecute,Vi.prototype._clearObjects,this)}let x;(!l(t.homeButton)||t.homeButton!==!1)&&(x=new a5(A,p),l(b)&&_.add(x.viewModel.command.afterExecute,function(){let W=b.viewModel;W.searchText="",W.isSearchInProgress&&W.search()}),_.add(x.viewModel.command.beforeExecute,Vi.prototype._clearTrackedObject,this));let T;!a&&(!l(t.sceneModePicker)||t.sceneModePicker!==!1)&&(T=new M5(A,p));let E;t.projectionPicker&&(E=new w5(A,p));let w,I;if(n){let W=t.imageryProviderViewModels??$G(),q=t.terrainProviderViewModels??e5();w=new ZG(A,{globe:p.globe,imageryProviderViewModels:W,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:q,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),I=A.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}l(t.baseLayer)&&t.baseLayer!==!1&&(n&&(w.viewModel.selectedImagery=void 0),p.imageryLayers.removeAll(),p.imageryLayers.add(t.baseLayer)),l(t.terrainProvider)&&(n&&(w.viewModel.selectedTerrain=void 0),p.terrainProvider=t.terrainProvider),l(t.terrain)&&(n&&(p.globe.depthTestAgainstTerrain=!0),p.setTerrain(t.terrain));let O;if(!l(t.navigationHelpButton)||t.navigationHelpButton!==!1){let W=!0;try{if(l(window.localStorage)){let q=window.localStorage.getItem("cesium-hasSeenNavHelp");l(q)&&q?W=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}O=new T5({container:A,instructionsInitiallyVisible:t.navigationInstructionsInitiallyVisible??W})}let P;if(!l(t.animation)||t.animation!==!1){let W=document.createElement("div");W.className="cesium-viewer-animationContainer",o.appendChild(W),P=new jG(W,new YG(u))}let R;if(!l(t.timeline)||t.timeline!==!1){let W=document.createElement("div");W.className="cesium-viewer-timelineContainer",o.appendChild(W),R=new z5(W,c),R.addEventListener("settime",Uwe,!1),R.zoomTo(c.startTime,c.stopTime)}let N,g,C;(!l(t.fullscreenButton)||t.fullscreenButton!==!1)&&(C=document.createElement("div"),C.className="cesium-viewer-fullscreenContainer",o.appendChild(C),N=new g5(C,t.fullscreenElement),g=Va(N.viewModel,"isFullscreenEnabled",function(W){C.style.display=W?"block":"none",l(R)&&(R.container.style.right=`${C.clientWidth}px`,R.resize())}));let S,v,L;if(t.vrButton){let W=document.createElement("div");W.className="cesium-viewer-vrContainer",o.appendChild(W),S=new W5(W,p,t.fullScreenElement),v=Va(S.viewModel,"isVREnabled",function(q){W.style.display=q?"block":"none",l(N)&&(W.style.right=`${C.clientWidth}px`),l(R)&&(R.container.style.right=`${W.clientWidth}px`,R.resize())}),L=Va(S.viewModel,"isVRMode",function(q){iPt(i,q)})}this._baseLayerPickerDropDown=I,this._fullscreenSubscription=g,this._vrSubscription=v,this._vrModeSubscription=L,this._dataSourceChangedListeners={},this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=h,this._selectionIndicator=m,this._infoBox=y,this._clockViewModel=u,this._destroyClockViewModel=f,this._toolbar=A,this._homeButton=x,this._sceneModePicker=T,this._projectionPicker=E,this._baseLayerPicker=w,this._navigationHelpButton=O,this._animation=P,this._timeline=R,this._fullscreenButton=N,this._vrButton=S,this._geocoder=b,this._eventHelper=_,this._lastWidth=0,this._lastHeight=0,this._enableInfoOrSelection=l(y)||l(m),this._selectedEntity=void 0,this._selectedEntityChanged=new me;let F=this._cesiumWidget.dataSources,V=this._cesiumWidget.dataSourceDisplay;_.add(F.dataSourceAdded,Vi.prototype._onDataSourceAdded,this),_.add(F.dataSourceRemoved,Vi.prototype._onDataSourceRemoved,this),_.add(p.postUpdate,Vi.prototype.resize,this);let k=F.length;for(let W=0;W<k;W++)this._dataSourceAdded(F,F.get(W));this._dataSourceAdded(void 0,V.defaultDataSource),_.add(F.dataSourceAdded,Vi.prototype._dataSourceAdded,this),_.add(F.dataSourceRemoved,Vi.prototype._dataSourceRemoved,this);function H(W){let q=Bwe(i,W);l(q)?Y.getValueOrUndefined(q.position,i.clock.currentTime)?i.trackedEntity=q:i.zoomTo(q):l(i.trackedEntity)&&(i.trackedEntity=void 0)}function B(W){i.selectedEntity=Bwe(i,W)}h.screenSpaceEventHandler.setInputAction(B,hn.LEFT_CLICK),h.screenSpaceEventHandler.setInputAction(H,hn.LEFT_DOUBLE_CLICK),h._canAnimateUpdateCallback=this._updateCanAnimate(this)}Object.defineProperties(Vi.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,OZ(this._timeline,e))}}});Vi.prototype.extend=function(e,t){e(this,t)};Vi.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 m=this._geocoder.searchSuggestionsContainer;m.style.maxHeight=`${s}px`}l(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,u,f=0,h=5,p=3,_=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let m=this._lastWidth;u=this._animation.container,n>900?(f=169,m<=900&&(u.style.width="169px",u.style.height="112px",this._animation.resize())):n>=600?(f=136,(m<600||m>900)&&(u.style.width="136px",u.style.height="90px",this._animation.resize())):(f=106,(m>600||m===0)&&(u.style.width="106px",u.style.height="70px",this._animation.resize())),h=f+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let m=this._fullscreenButton,y=this._vrButton,A=c.container,b=A.style;p=A.clientHeight+3,b.left=`${f}px`;let x=0;l(m)&&(x+=m.container.clientWidth),l(y)&&(x+=y.container.clientWidth),b.right=`${x}px`,c.resize()}!r&&l(this._fullscreenButton)&&(_=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${h}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${_}px`,this._lastWidth=n,this._lastHeight=i};Vi.prototype.forceResize=function(){this._lastWidth=0,this.resize()};Vi.prototype.render=function(){this._cesiumWidget.render()};Vi.prototype.isDestroyed=function(){return!1};Vi.prototype.destroy=function(){return l(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(hn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(hn.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",Uwe,!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(),fe(this)};Vi.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(Vi.prototype._onEntityCollectionChanged,this)};Vi.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(Vi.prototype._onEntityCollectionChanged,this),l(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};Vi.prototype._updateCanAnimate=function(e){return function(t){e._clockViewModel.canAnimate=t}};Vi.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,Fwe)!==nt.FAILED?n=Fwe.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=d.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=Y.getValueOrDefault(o.description,t,"")):(a.titleText="",a.description=""))};Vi.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)}};Vi.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)}};Vi.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};Vi.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};Vi.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};Vi.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&OZ(this.timeline,e)};Vi.prototype._onDataSourceAdded=function(e,t){this._cesiumWidget._automaticallyTrackDataSourceClocks&&t===this.clockTrackedDataSource&&OZ(this._timeline,t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,Vi.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};Vi.prototype._onDataSourceRemoved=function(e,t){let n=t.entities.id;this._dataSourceChangedListeners[n](),this._dataSourceChangedListeners[n]=void 0};Vi.prototype.zoomTo=function(e,t){return this._cesiumWidget.zoomTo(e,t)};Vi.prototype.flyTo=function(e,t){return this._cesiumWidget.flyTo(e,t)};var zwe=Vi;function oPt(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new o5(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var Vwe=oPt;function rPt(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new KG(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var Hwe=rPt;function sPt(e,t){t=t??G.EMPTY_OBJECT;let n=!0,i=t.flyToOnDrop??!0,o=new me,r=t.clearOnDrop??!0,s=t.dropTarget??e.container,a=t.clampToGround??!0,c=t.proxy;s=Cn(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(f){Gwe(s,u),s=f,RZ(s,u)}},dropEnabled:{get:function(){return n},set:function(f){f!==n&&(f?RZ(s,u):Gwe(s,u),n=f)}},dropError:{get:function(){return o}},clearOnDrop:{get:function(){return r},set:function(f){r=f}},flyToOnDrop:{get:function(){return i},set:function(f){i=f}},proxy:{get:function(){return c},set:function(f){c=f}},clampToGround:{get:function(){return a},set:function(f){a=f}}});function u(f){gx(f),r&&(e.entities.removeAll(),e.dataSources.removeAll());let h=f.dataTransfer.files,p=h.length;for(let _=0;_<p;_++){let m=h[_],y=new FileReader;y.onload=aPt(e,m,c,a),y.onerror=cPt(e,m),y.readAsText(m)}}RZ(s,u),e.destroy=fG(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=u}function gx(e){e.stopPropagation(),e.preventDefault()}function Gwe(e,t){let n=e;l(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",gx,!1),n.removeEventListener("dragover",gx,!1),n.removeEventListener("dragexit",gx,!1))}function RZ(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",gx,!1),e.addEventListener("dragover",gx,!1),e.addEventListener("dragexit",gx,!1)}function aPt(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=kk.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=Ab.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=eS.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=XU.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 cPt(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var Wwe=sPt;function lPt(e,t){t=t??G.EMPTY_OBJECT;let n=new D5({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var jwe=lPt;function Ywe(e){let t=e.split(`
|
|
16075
16075
|
`),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}
|
|
16076
16076
|
`}return i}function dd(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(f){t._voxelPrimitive[r]=f});let c=o.getPrimitiveFunction;c===!0&&(c=function(){t[r]=t._voxelPrimitive[r]}),l(c)&&t._getPrimitiveFunctions.push(c);let u=be.observable();return be.defineProperty(t,r,{get:function(){return u()},set:function(f){typeof s=="number"&&typeof f=="string"&&(f=Number(f),isNaN(f)&&(f=s)),typeof s=="boolean"&&typeof f=="number"&&(f=f===1),u(f),l(a)&&l(t._voxelPrimitive)&&(a(f),e.requestRender())}}),t[r]=s,u}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=Ywe(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===Bi.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===Bi.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===Bi.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&&dp(t)},getPrimitiveFunction:function(){t.translationX=M.getTranslation(t._voxelPrimitive.modelMatrix,new d).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)},getPrimitiveFunction:function(){t.translationY=M.getTranslation(t._voxelPrimitive.modelMatrix,new d).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)},getPrimitiveFunction:function(){t.translationZ=M.getTranslation(t._voxelPrimitive.modelMatrix,new d).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)},getPrimitiveFunction:function(){t.scaleX=M.getScale(t._voxelPrimitive.modelMatrix,new d).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)},getPrimitiveFunction:function(){t.scaleY=M.getScale(t._voxelPrimitive.modelMatrix,new d).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)},getPrimitiveFunction:function(){t.scaleZ=M.getScale(t._voxelPrimitive.modelMatrix,new d).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&dp(t)}})}var uPt=new d,fPt=new d,dPt=new Xa,hPt=new Q;function dp(e){let t=d.fromElements(e.translationX,e.translationY,e.translationZ,uPt),n=d.fromElements(e.scaleX,e.scaleY,e.scaleZ,fPt),i=dPt;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=Q.fromHeadingPitchRoll(i,hPt),r=Q.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=M.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(dd.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=Ywe(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,dp(t)}}}});dd.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};dd.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};dd.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};dd.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};dd.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};dd.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};dd.prototype.compileShader=function(){l(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new MS({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};dd.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(`
|
|
16077
16077
|
`),c=a.length,u;if(t.shiftKey)for(u=0;u<c;++u)a[u][0]===" "&&(a[u][1]===" "?(a[u]=a[u].substr(2),r-=2):(a[u]=a[u].substr(1),r-=1));else for(u=0;u<c;++u)a[u]=` ${a[u]}`,r+=2;let f=a.join(`
|
|
16078
|
-
`);n.value=n.value.slice(0,i)+f+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};dd.prototype.isDestroyed=function(){return!1};dd.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){be.getObservable(e,t).dispose()}),fe(this)};var j5=dd;function Y5(e,t){e=Cn(e);let n=document.createElement("div"),i=new j5(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=Tc.createSection,a=Tc.createCheckbox,c=Tc.createRangeInput,u=Tc.createButton,f=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),_=s(r,"Clipping","clippingVisible","toggleClipping"),m=s(r,"Shader","shaderVisible","toggleShader");f.appendChild(a("Depth Test","depthTest")),f.appendChild(a("Show","show")),f.appendChild(a("Disable Update","disableUpdate")),f.appendChild(a("Debug Draw","debugDraw")),f.appendChild(a("Jitter","jitter")),f.appendChild(a("Nearest Sampling","nearestSampling")),f.appendChild(c("Screen Space Error","screenSpaceError",0,128)),f.appendChild(c("Step Size","stepSize",0,2));let y=10,A=10,b=D.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,+A)),h.appendChild(c("Scale Y","scaleY",0,+A)),h.appendChild(c("Scale Z","scaleZ",0,+A)),h.appendChild(c("Heading","angleX",-b,+b)),h.appendChild(c("Pitch","angleY",-b,+b)),h.appendChild(c("Roll","angleZ",-b,+b));let x=Bi.getMinBounds(Bi.BOX),T=Bi.getMaxBounds(Bi.BOX),E=d.fromElements(Bi.getMinBounds(Bi.ELLIPSOID).x,Bi.getMinBounds(Bi.ELLIPSOID).y,-ee.WGS84.maximumRadius,new d),w=d.fromElements(Bi.getMaxBounds(Bi.ELLIPSOID).x,Bi.getMaxBounds(Bi.ELLIPSOID).y,1e7,new d),I=Bi.getMinBounds(Bi.CYLINDER),O=Bi.getMaxBounds(Bi.CYLINDER);dw("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",x,T,"shapeIsBox",p),dw("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",E,w,"shapeIsEllipsoid",p),dw("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,O,"shapeIsCylinder",p),dw("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",x,T,"shapeIsBox",_),dw("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",E,w,"shapeIsEllipsoid",_),dw("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,O,"shapeIsCylinder",_);let P=document.createElement("div");m.appendChild(P);let R=document.createElement("textarea");R.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),P.className="cesium-cesiumInspector-styleEditor",P.appendChild(R);let N=u("Compile (Ctrl+Enter)","compileShader");P.appendChild(N);let g=document.createElement("label");g.style.display="block",g.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),P.appendChild(g),be.applyBindings(i,n)}Object.defineProperties(Y5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});Y5.prototype.isDestroyed=function(){return!1};Y5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};function dw(e,t,n,i,o,r,s,a,c,u,f,h,p,_,m,y){let A=Tc.createRangeInput,b=p,x=_,T=y.appendChild(document.createElement("div"));T.setAttribute("data-bind",`if: ${m}`),T.appendChild(A(e,s,b.x,x.x)),T.appendChild(A(t,a,b.x,x.x)),T.appendChild(A(n,c,b.y,x.y)),T.appendChild(A(i,u,b.y,x.y)),T.appendChild(A(o,f,b.z,x.z)),T.appendChild(A(r,h,b.z,x.z))}var q5=Y5;function mPt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new q5(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var qwe=mPt;globalThis.CESIUM_VERSION="1.128.5";var qdo="1.128.5";export{Hp as AlphaMode,d2 as AlphaPipelineStage,dB as AnchorPointDirect,hB as AnchorPointIndirect,e5 as Animation,t5 as AnimationViewModel,Qi as Appearance,ai as ApproximateTerrainHeights,XCe as ArcGISTiledElevationTerrainProvider,Jm as ArcGisBaseMapType,rA as ArcGisMapServerImageryProvider,Jf as ArcGisMapService,Xt as ArcType,Wc as ArticulationStageType,yt as AssociativeArray,jT as Atmosphere,jB as AtmospherePipelineStage,wn as AttributeCompression,Qt as AttributeType,P8 as AutoExposure,Xg as AutomaticUniforms,Mo as Axis,r0 as AxisAlignedBoundingBox,SB as B3dmLoader,EB as B3dmParser,qG as BaseLayerPicker,jG as BaseLayerPickerViewModel,iT as BatchTable,vT as BatchTableHierarchy,Sl as BatchTexture,h2 as BatchTexturePipelineStage,so as Billboard,vf as BillboardCollection,Pc as BillboardGraphics,fs as BillboardLoadState,oy as BillboardTexture,sN as BillboardVisualizer,QCe as BingMapsGeocoderService,T4 as BingMapsImageryProvider,RP as BingMapsStyle,Za as BlendEquation,Co as BlendFunction,So as BlendOption,tn as BlendingState,He as BoundingRectangle,ce as BoundingSphere,nt as BoundingSphereState,kT as BoundingVolumeSemantics,qEe as BoxEmitter,Ja as BoxGeometry,nF as BoxGeometryUpdater,fT as BoxGraphics,Hh as BoxOutlineGeometry,yV as BrdfLutGenerator,ft as Buffer,PT as BufferLoader,Le as BufferUsage,_2 as CPUStylingPipelineStage,iF as CallbackPositionProperty,Kh as CallbackProperty,to as Camera,N8 as CameraEventAggregator,Fi as CameraEventType,AV as CameraFlightPath,U as Cartesian2,d as Cartesian3,re as Cartesian4,de as Cartographic,JCe as CartographicGeocoderService,$Ce as CatmullRomSpline,wT as Cesium3DContentGroup,Hd as Cesium3DTile,T_ as Cesium3DTileBatchTable,lu as Cesium3DTileColorBlendMode,XEe as Cesium3DTileContent,yC as Cesium3DTileContentFactory,Yo as Cesium3DTileContentState,Xs as Cesium3DTileContentType,ca as Cesium3DTileFeature,fm as Cesium3DTileFeatureTable,zd as Cesium3DTileOptimizationHint,Z3 as Cesium3DTileOptimizations,No as Cesium3DTilePass,yh as Cesium3DTilePassState,ry as Cesium3DTilePointFeature,Go as Cesium3DTileRefine,iw as Cesium3DTileStyle,ik as Cesium3DTileStyleEngine,WG as Cesium3DTilesInspector,HG as Cesium3DTilesInspectorViewModel,QEe as Cesium3DTilesVoxelProvider,Os as Cesium3DTileset,rk as Cesium3DTilesetBaseTraversal,ek as Cesium3DTilesetCache,yT as Cesium3DTilesetGraphics,nk as Cesium3DTilesetHeatmap,OC as Cesium3DTilesetMetadata,ok as Cesium3DTilesetMostDetailedTraversal,ak as Cesium3DTilesetSkipTraversal,xm as Cesium3DTilesetStatistics,pa as Cesium3DTilesetTraversal,lk as Cesium3DTilesetVisualizer,o5 as CesiumInspector,n5 as CesiumInspectorViewModel,qS as CesiumTerrainProvider,GH as CesiumWidget,go as Check,HI as CheckerboardMaterialProperty,mG as CircleEmitter,cEe as CircleGeometry,lEe as CircleOutlineGeometry,c3 as ClassificationModelDrawCommand,m2 as ClassificationPipelineStage,qw as ClassificationPrimitive,On as ClassificationType,Jn as ClearCommand,zT as ClippingPlane,Ds as ClippingPlaneCollection,Kv as ClippingPolygon,am as ClippingPolygonCollection,Em as Clock,$r as ClockRange,mo as ClockStep,zG as ClockViewModel,iSe as CloudCollection,U1 as CloudType,z as Color,Gc as ColorBlendMode,Bt as ColorGeometryInstanceAttribute,Nt as ColorMaterialProperty,rwe as Command,X as ComponentDatatype,cF as Composite3DTileContent,efe as CompositeEntityCollection,YI as CompositeMaterialProperty,Fa as CompositePositionProperty,Xc as CompositeProperty,nR as CompressedTextureBuffer,fl as ComputeCommand,tR as ComputeEngine,dG as ConditionsExpression,oSe as ConeEmitter,xl as ConstantPositionProperty,Gn as ConstantProperty,MB as ConstantSpline,z3 as ContentMetadata,tN as Context,Rt as ContextLimits,iU as CoplanarPolygonGeometry,uy as CoplanarPolygonGeometryLibrary,Vd as CoplanarPolygonOutlineGeometry,Mi as CornerType,mB as CorrelationGroup,zC as CorridorGeometry,zi as CorridorGeometryLibrary,Ak as CorridorGeometryUpdater,hT as CorridorGraphics,yk as CorridorOutlineGeometry,pt as Credit,DV as CreditDisplay,Pr as CubeMap,gR as CubeMapFace,zx as CubicRealPolynomial,pi as CullFace,vs as CullingVolume,cd as CumulusCloud,Ek as CustomDataSource,uEe as CustomHeightmapTerrainProvider,MS as CustomShader,ey as CustomShaderMode,E2 as CustomShaderPipelineStage,k0 as CustomShaderTranslucencyMode,Sk as CylinderGeometry,HC as CylinderGeometryLibrary,vk as CylinderGeometryUpdater,mT as CylinderGraphics,wk as CylinderOutlineGeometry,kk as CzmlDataSource,Zr as DataSource,Sm as DataSourceClock,zk as DataSourceCollection,IU as DataSourceDisplay,rSe as DebugAppearance,Mg as DebugCameraPrimitive,K8 as DebugInspector,_G as DebugModelMatrixPrimitive,dEe as DefaultProxy,Rc as DepthFunction,FV as DepthPlane,S2 as DequantizationPipelineStage,Lg as DerivedCommand,he as DeveloperError,kV as DeviceOrientationCameraController,sSe as DirectionalLight,LP as DiscardEmptyTileImagePolicy,b4 as DiscardMissingTileImagePolicy,wt as DistanceDisplayCondition,Pn as DistanceDisplayConditionGeometryInstanceAttribute,BS as DoubleEndedPriorityQueue,$3 as DoublyLinkedList,O_ as DracoLoader,Ye as DrawCommand,G_ as DynamicAtmosphereLightingType,W_ as DynamicEnvironmentMapManager,tE as DynamicGeometryBatch,$n as DynamicGeometryUpdater,UO as EarthOrientationParameters,VA as EarthOrientationParametersSample,ts as EasingFunction,Nl as EllipseGeometry,Cu as EllipseGeometryLibrary,Kk as EllipseGeometryUpdater,pT as EllipseGraphics,Gf as EllipseOutlineGeometry,ee as Ellipsoid,h_ as EllipsoidGeodesic,Aa as EllipsoidGeometry,Qk as EllipsoidGeometryUpdater,gT as EllipsoidGraphics,Lf as EllipsoidOutlineGeometry,lV as EllipsoidPrimitive,$a as EllipsoidRhumbLine,aSe as EllipsoidSurfaceAppearance,as as EllipsoidTangentPlane,Og as EllipsoidTerrainProvider,xy as EllipsoidalOccluder,DI as Empty3DTileContent,Ln as EncodedCartesian3,rr as Entity,kf as EntityCluster,ga as EntityCollection,OU as EntityView,me as Event,br as EventHelper,Sd as Expression,ct as ExpressionNodeType,Uf as ExtrapolationType,Ft as FeatureDetection,B0 as FeatureIdPipelineStage,UV as Fog,Ie as ForEach,bG as FrameRateMonitor,zV as FrameState,jr as Framebuffer,fi as FramebufferManager,G as Frozen,qV as FrustumCommands,yS as FrustumGeometry,OV as FrustumOutlineGeometry,Ir as Fullscreen,c5 as FullscreenButton,s5 as FullscreenButtonViewModel,Ab as GeoJsonDataSource,vB as GeoJsonLoader,rx as GeocodeType,f5 as Geocoder,M1 as GeocoderService,l5 as GeocoderViewModel,vi as GeographicProjection,Wi as GeographicTilingScheme,tt as Geometry,pF as Geometry3DTileContent,Ee as GeometryAttribute,sn as GeometryAttributes,mEe as GeometryFactory,At as GeometryInstance,Mc as GeometryInstanceAttribute,Jt as GeometryOffsetAttribute,vn as GeometryPipeline,I2 as GeometryPipelineStage,gd as GeometryType,ei as GeometryUpdater,_E as GeometryUpdaterSet,yU as GeometryVisualizer,uS as GetFeatureInfoFormat,oV as Globe,XV as GlobeDepth,y4 as GlobeSurfaceShaderSet,mh as GlobeSurfaceTile,q4 as GlobeSurfaceTileProvider,X4 as GlobeTranslucency,KV as GlobeTranslucencyFramebuffer,VV as GlobeTranslucencyState,Dv as GltfBufferViewLoader,Pv as GltfDracoLoader,gB as GltfGpmLoader,tI as GltfGpmLocal,Ov as GltfImageLoader,Rv as GltfIndexBufferLoader,Lv as GltfJsonLoader,um as GltfLoader,du as GltfLoaderUtil,bB as GltfMeshPrimitiveGpmLoader,cB as GltfStructuralMetadataLoader,kv as GltfTextureLoader,Uv as GltfVertexBufferLoader,lSe as GoogleEarthEnterpriseImageryProvider,I4 as GoogleEarthEnterpriseMapsProvider,vA as GoogleEarthEnterpriseMetadata,L1 as GoogleEarthEnterpriseTerrainData,CEe as GoogleEarthEnterpriseTerrainProvider,eG as GoogleEarthEnterpriseTileInformation,SEe as GoogleGeocoderService,QS as GoogleMaps,XU as GpxDataSource,Qg as GregorianDate,uSe as GridImageryProvider,nD as GridMaterialProperty,Nn as GroundGeometryUpdater,cT as GroundPolylineGeometry,Wh as GroundPolylinePrimitive,bl as GroundPrimitive,MI as GroupMetadata,nh as HeadingPitchRange,Xa as HeadingPitchRoll,LO as Heap,Ge as HeightReference,dh as HeightmapEncoding,mc as HeightmapTerrainData,PP as HeightmapTessellator,Dk as HermitePolynomialApproximation,L0 as HermiteSpline,Sv as HilbertOrder,m5 as HomeButton,d5 as HomeButtonViewModel,mi as HorizontalOrigin,vwe as I3SBuildingSceneLayerExplorer,g5 as I3SBuildingSceneLayerExplorerViewModel,fp as I3SDataProvider,xG as I3SDecoder,TG as I3SFeature,EG as I3SField,H1 as I3SGeometry,rw as I3SLayer,G1 as I3SNode,DG as I3SStatistics,PG as I3SSublayer,vG as I3SSymbology,RB as I3dmLoader,DB as I3dmParser,ySe as ITwinData,na as ITwinPlatform,sV as Iau2000Orientation,HO as Iau2006XysData,Lx as Iau2006XysSample,aV as IauOrientationAxes,rV as IauOrientationParameters,ST as ImageBasedLighting,qB as ImageBasedLightingPipelineStage,f0 as ImageMaterialProperty,UP as Imagery,gc as ImageryLayer,Q4 as ImageryLayerCollection,Qm as ImageryLayerFeatureInfo,Hl as ImageryProvider,oi as ImageryState,Wv as Implicit3DTileContent,wv as ImplicitAvailabilityBitstream,vv as ImplicitMetadataView,ls as ImplicitSubdivisionScheme,FT as ImplicitSubtree,hG as ImplicitSubtreeCache,AF as ImplicitSubtreeMetadata,LC as ImplicitTileCoordinates,MC as ImplicitTileset,Me as IndexDatatype,A5 as InfoBox,_5 as InfoBoxViewModel,Tc as InspectorShared,us as InstanceAttributeSemantic,c2 as InstancingPipelineStage,wEe as InterpolationAlgorithm,lm as InterpolationType,kt as Intersect,qn as IntersectionTests,SA as Intersections2D,Qa as Interval,o1 as InvertClassification,$h as Ion,DA as IonGeocodeProviderType,JS as IonGeocoderService,sA as IonImageryProvider,mf as IonResource,aA as IonWorldImageryStyle,ke as Iso8601,GV as JobScheduler,nc as JobType,j_ as JsonMetadataTable,K as JulianDate,iR as KTX2Transcoder,wa as KeyboardEventModifier,po as KeyframeNode,KU as KmlCamera,eS as KmlDataSource,Qz as KmlLookAt,Zz as KmlTour,e4 as KmlTourFlyTo,t4 as KmlTourWait,j0 as Label,eg as LabelCollection,Yh as LabelGraphics,jo as LabelStyle,AU as LabelVisualizer,Pk as LagrangePolynomialApproximation,Hi as LeapSecond,bSe as Light,Qp as LightingModel,P2 as LightingPipelineStage,YC as LinearApproximation,M0 as LinearSpline,El as ManagedArray,Nu as MapMode2D,IEe as MapProjection,D4 as MapboxImageryProvider,TSe as MapboxStyleImageryProvider,Gi as Material,ro as MaterialAppearance,R2 as MaterialPipelineStage,or as MaterialProperty,D as Math,Ii as Matrix2,Q as Matrix3,M as Matrix4,T1 as Megatexture,AB as MeshPrimitiveGpmLocal,rm as MetadataClass,Up as MetadataClassProperty,Dt as MetadataComponentType,Dn as MetadataEntity,HF as MetadataEnum,zF as MetadataEnumValue,jV as MetadataPicking,Tf as MetadataPickingPipelineStage,Rd as MetadataPipelineStage,Af as MetadataSchema,Vv as MetadataSchemaLoader,BT as MetadataSemantic,vd as MetadataTable,xF as MetadataTableProperty,et as MetadataType,Ep as MipmapHint,mm as Model,Cf as Model3DTileContent,Q2 as ModelAlphaOptions,BB as ModelAnimation,FB as ModelAnimationChannel,UB as ModelAnimationCollection,mu as ModelAnimationLoop,dm as ModelAnimationState,QB as ModelArticulation,XB as ModelArticulationStage,$B as ModelClippingPlanesPipelineStage,n2 as ModelClippingPolygonsPipelineStage,F0 as ModelColorPipelineStage,dn as ModelComponents,u3 as ModelDrawCommand,h3 as ModelDrawCommands,zB as ModelFeature,VB as ModelFeatureTable,g_ as ModelGraphics,s3 as ModelLightingOptions,l2 as ModelMatrixUpdateStage,i2 as ModelNode,J2 as ModelRenderResources,f2 as ModelRuntimeNode,X2 as ModelRuntimePrimitive,p3 as ModelSceneGraph,t3 as ModelSilhouettePipelineStage,K2 as ModelSkin,o3 as ModelSplitterPipelineStage,g3 as ModelStatistics,Ar as ModelType,Gt as ModelUtility,xU as ModelVisualizer,dV as Moon,L2 as MorphTargetsPipelineStage,DEe as MorphWeightSpline,$0 as MortonOrder,G3 as Multiple3DTileContent,nN as MultisampleFramebuffer,T5 as NavigationHelpButton,b5 as NavigationHelpButtonViewModel,Mt as NearFarScalar,CSe as NeverTileDiscardPolicy,r3 as NodeRenderResources,u2 as NodeStatisticsPipelineStage,_T as NodeTransformationProperty,JV as OIT,gV as Occluder,Xi as OffsetGeometryInstanceAttribute,PEe as OpenCageGeocoderService,LA as OpenStreetMapImageryProvider,Hk as OrderedGroundPrimitiveCollection,bn as OrientedBoundingBox,$t as OrthographicFrustum,Yr as OrthographicOffCenterFrustum,OEe as Packable,REe as PackableForInterpolation,Y1 as Particle,wSe as ParticleBurst,ISe as ParticleEmitter,OSe as ParticleSystem,Se as Pass,Ic as PassState,__ as PathGraphics,TU as PathVisualizer,oG as PeliasGeocoderService,en as PerInstanceColorAppearance,mA as PerformanceDisplay,S5 as PerformanceWatchdog,C5 as PerformanceWatchdogViewModel,wi as PerspectiveFrustum,Wl as PerspectiveOffCenterFrustum,YV as PickDepth,ZV as PickDepthFramebuffer,$V as PickFramebuffer,EH as PickedMetadataInfo,u8 as Picking,N2 as PickingPipelineStage,zy as PinBuilder,We as PixelDatatype,Ke as PixelFormat,Zt as Plane,$k as PlaneGeometry,nU as PlaneGeometryUpdater,tF as PlaneGraphics,tU as PlaneOutlineGeometry,y3 as PntsLoader,uC as PntsParser,HH as PointCloud,X_ as PointCloudEyeDomeLighting,Wp as PointCloudShading,B2 as PointCloudStylingPipelineStage,AT as PointGraphics,Js as PointPrimitive,ZI as PointPrimitiveCollection,CU as PointVisualizer,H_ as PolygonGeometry,Mn as PolygonGeometryLibrary,sU as PolygonGeometryUpdater,qh as PolygonGraphics,ec as PolygonHierarchy,rU as PolygonOutlineGeometry,ni as PolygonPipeline,Ld as Polyline,iD as PolylineArrowMaterialProperty,ym as PolylineCollection,cs as PolylineColorAppearance,oD as PolylineDashMaterialProperty,Uy as PolylineGeometry,SU as PolylineGeometryUpdater,rD as PolylineGlowMaterialProperty,Nc as PolylineGraphics,Ra as PolylineMaterialAppearance,rb as PolylineOutlineMaterialProperty,Ri as PolylinePipeline,vU as PolylineVisualizer,aU as PolylineVolumeGeometry,Tm as PolylineVolumeGeometryLibrary,lU as PolylineVolumeGeometryUpdater,bT as PolylineVolumeGraphics,cU as PolylineVolumeOutlineGeometry,jh as PositionProperty,Cy as PositionPropertyArray,lo as PostProcessStage,O8 as PostProcessStageCollection,Bu as PostProcessStageComposite,nd as PostProcessStageLibrary,td as PostProcessStageSampleMode,vS as PostProcessStageTextureCache,yB as PpeMetadata,ZSe as PpeSource,_B as PpeTexture,xn as Primitive,Ll as PrimitiveCollection,KT as PrimitiveLoadPlan,XT as PrimitiveOutlineGenerator,z2 as PrimitiveOutlinePipelineStage,oT as PrimitivePipeline,a3 as PrimitiveRenderResources,Rr as PrimitiveState,V2 as PrimitiveStatisticsPipelineStage,Re as PrimitiveType,D5 as ProjectionPicker,v5 as ProjectionPickerViewModel,Y as Property,sD as PropertyArray,YT as PropertyAttribute,rB as PropertyAttributeProperty,Cl as PropertyBag,vl as PropertyTable,Y_ as PropertyTexture,oB as PropertyTextureProperty,Ts as ProviderViewModel,LEe as Proxy,hl as QuadraticRealPolynomial,J4 as QuadtreeOccluders,iV as QuadtreePrimitive,$4 as QuadtreeTile,Ca as QuadtreeTileLoadState,RSe as QuadtreeTileProvider,YS as QuantizedMeshTerrainData,rR as QuarticRealPolynomial,Pe as Quaternion,NB as QuaternionSpline,I0 as Queue,an as Ray,ae as Rectangle,bE as RectangleCollisionChecker,hE as RectangleGeometry,Qs as RectangleGeometryLibrary,uU as RectangleGeometryUpdater,Xh as RectangleGraphics,CC as RectangleOutlineGeometry,ki as ReferenceFrame,Sy as ReferenceProperty,Fe as RenderState,sf as Renderbuffer,gl as RenderbufferFormat,ir as Request,_p as RequestErrorEvent,wc as RequestScheduler,Yn as RequestState,Ss as RequestType,Ce as Resource,xi as ResourceCache,hu as ResourceCacheKey,jF as ResourceCacheStatistics,ji as ResourceLoader,lt as ResourceLoaderState,Yd as Rotation,se as RuntimeError,D_ as S2Cell,ha as SDFSettings,Ba as SampledPositionProperty,Vf as SampledProperty,jt as Sampler,Tg as ScaledPositionProperty,IH as Scene,CS as SceneFramebuffer,ie as SceneMode,H2 as SceneMode2DPipelineStage,M5 as SceneModePicker,O5 as SceneModePickerViewModel,Ui as SceneTransforms,L8 as SceneTransitioner,j8 as ScreenSpaceCameraController,id as ScreenSpaceEventHandler,hn as ScreenSpaceEventType,U0 as SelectedFeatureIdPipelineStage,B5 as SelectionIndicator,N5 as SelectionIndicatorViewModel,lD as SensorVolumePortionToDisplay,Kx as ShaderBuilder,KL as ShaderCache,ge as ShaderDestination,oN as ShaderFunction,qt as ShaderProgram,Be as ShaderSource,iN as ShaderStruct,gA as ShadowMap,Bg as ShadowMapShader,fn as ShadowMode,uf as ShadowVolumeAppearance,un as ShowGeometryInstanceAttribute,e0 as Simon1994PlanetaryPositions,NEe as SimplePolylineGeometry,P4 as SingleTileImageryProvider,W2 as SkinningPipelineStage,OH as SkyAtmosphere,LH as SkyBox,bH as SpatialNode,pB as Spdcf,Zh as SpecularEnvironmentCubeMap,MSe as SphereEmitter,FEe as SphereGeometry,dy as SphereOutlineGeometry,Ok as Spherical,Ji as Spline,qr as SplitDirection,v1 as Splitter,Jd as StaticGeometryColorBatch,$d as StaticGeometryPerMaterialBatch,TD as StaticGroundGeometryColorBatch,_U as StaticGroundGeometryPerMaterialBatch,wU as StaticGroundPolylinePerMaterialBatch,CD as StaticOutlineGeometryBatch,Lt as StencilConstants,Rn as StencilFunction,ot as StencilOperation,LB as SteppedSpline,Hc as Stereographic,O0 as StorageType,aD as StripeMaterialProperty,wm as StripeOrientation,fa as StructuralMetadata,hm as StyleCommandsNeeded,LSe as StyleExpression,kH as Sun,a_ as SunLight,X8 as SunPostProcess,fB as SupportedImageFormats,UG as SvgPathBindingHandler,hi as TaskProcessor,LG as Terrain,Km as TerrainData,nl as TerrainEncoding,HP as TerrainFillMesh,hh as TerrainMesh,CT as TerrainOffsetProperty,ys as TerrainProvider,Ta as TerrainQuantization,co as TerrainState,St as Texture,Qx as TextureAtlas,JL as TextureCache,ui as TextureMagnificationFilter,_H as TextureManager,Wt as TextureMinificationFilter,Fw as TexturePacker,QSe as TextureUniform,pn as TextureWrap,cp as TileAvailability,Mf as TileBoundingRegion,q3 as TileBoundingS2Cell,hy as TileBoundingSphere,NSe as TileBoundingVolume,NG as TileCoordinatesImageryProvider,FSe as TileDiscardPolicy,ln as TileEdge,zP as TileImagery,Rb as TileMapServiceImageryProvider,V3 as TileMetadata,yu as TileOrientedBoundingBox,vo as TileProviderError,tV as TileReplacementQueue,Vn as TileSelectionResult,BSe as TileState,b3 as Tileset3DTileContent,J3 as TilesetMetadata,HB as TilesetPipelineStage,BEe as TilingScheme,zn as TimeConstants,fS as TimeDynamicImagery,D1 as TimeDynamicPointCloud,gn as TimeInterval,Jr as TimeIntervalCollection,vy as TimeIntervalCollectionPositionProperty,Iy as TimeIntervalCollectionProperty,Bn as TimeStandard,z5 as Timeline,k5 as TimelineHighlightRange,U5 as TimelineTrack,cR as Tipsify,hx as ToggleButtonViewModel,yA as Tonemapper,d_ as TrackingReferenceFrame,Et as Transforms,h0 as TranslationRotationScale,n8 as TranslucentTileClassification,rI as TridiagonalSystemSolver,yw as TrustedServers,DS as TweenCollection,eN as UniformState,y1 as UniformType,pc as UrlTemplateImageryProvider,qdo as VERSION,W5 as VRButton,H5 as VRButtonViewModel,zEe as VRTheWorldTerrainProvider,JSe as VaryingType,Np as Vector3DTileBatch,B3 as Vector3DTileClampedPolylines,U3 as Vector3DTileContent,S_ as Vector3DTileGeometry,R3 as Vector3DTilePoints,M3 as Vector3DTilePolygons,_C as Vector3DTilePolylines,IT as Vector3DTilePrimitive,Mk as VelocityOrientationProperty,Dy as VelocityVectorProperty,Zn as VertexArray,c_ as VertexArrayFacade,rt as VertexAttributeSemantic,ve as VertexFormat,Or as VerticalExaggeration,Y2 as VerticalExaggerationPipelineStage,In as VerticalOrigin,VEe as VideoSynchronizer,SS as View,zwe as Viewer,kSe as ViewportQuad,Tr as Visibility,xAe as Visualizer,Hg as VoxelBoxShape,Q8 as VoxelCell,LS as VoxelContent,NS as VoxelCylinderShape,FS as VoxelEllipsoidShape,q5 as VoxelInspector,j5 as VoxelInspectorViewModel,Th as VoxelMetadataOrder,$b as VoxelPrimitive,USe as VoxelProvider,fH as VoxelRenderResources,zSe as VoxelShape,Bi as VoxelShapeType,TH as VoxelTraversal,HEe as VulkanConstants,dU as WallGeometry,pE as WallGeometryLibrary,mU as WallGeometryUpdater,y_ as WallGraphics,hU as WallOutlineGeometry,te as WebGLConstants,R4 as WebMapServiceImageryProvider,M4 as WebMapTileServiceImageryProvider,Pi as WebMercatorProjection,As as WebMercatorTilingScheme,ws as WindingOrder,fI as WireframeIndexGenerator,q2 as WireframePipelineStage,f8 as _shadersAcesTonemappingStage,Y8 as _shadersAdditiveBlend,r1 as _shadersAdjustTranslucentFS,cN as _shadersAllMaterialAppearanceFS,lN as _shadersAllMaterialAppearanceVS,d8 as _shadersAmbientOcclusionGenerate,h8 as _shadersAmbientOcclusionModulate,mN as _shadersAspectRampMaterial,cm as _shadersAtmosphereCommon,GB as _shadersAtmosphereStageFS,WB as _shadersAtmosphereStageVS,uN as _shadersBasicMaterialAppearanceFS,fN as _shadersBasicMaterialAppearanceVS,x3 as _shadersBillboardCollectionFS,T3 as _shadersBillboardCollectionVS,m8 as _shadersBlackAndWhite,p8 as _shadersBloomComposite,_V as _shadersBrdfLutGeneratorFS,q8 as _shadersBrightPass,g8 as _shadersBrightness,pN as _shadersBumpMapMaterial,g2 as _shadersCPUStylingStageFS,p2 as _shadersCPUStylingStageVS,gN as _shadersCheckerboardMaterial,WH as _shadersCloudCollectionFS,jH as _shadersCloudCollectionVS,YH as _shadersCloudNoiseFS,qH as _shadersCloudNoiseVS,t8 as _shadersCompareAndPackTranslucentDepth,QV as _shadersCompositeOITFS,ES as _shadersCompositeTranslucentClassification,eB as _shadersComputeIrradianceFS,tB as _shadersComputeRadianceMapFS,_8 as _shadersContrastBias,nB as _shadersConvolveSpecularMapFS,iB as _shadersConvolveSpecularMapVS,A2 as _shadersCustomShaderStageFS,y2 as _shadersCustomShaderStageVS,jx as _shadersCzmBuiltins,y8 as _shadersDepthOfField,MV as _shadersDepthPlaneFS,LV as _shadersDepthPlaneVS,A8 as _shadersDepthView,KSe as _shadersDepthViewPacked,_N as _shadersDotMaterial,b8 as _shadersEdgeDetection,yN as _shadersElevationBandMaterial,AN as _shadersElevationContourMaterial,bN as _shadersElevationRampMaterial,YP as _shadersEllipsoidFS,yG as _shadersEllipsoidSurfaceAppearanceFS,AG as _shadersEllipsoidSurfaceAppearanceVS,qP as _shadersEllipsoidVS,C8 as _shadersFXAA,D8 as _shadersFXAA3_11,xN as _shadersFadeMaterial,b2 as _shadersFeatureIdStageFS,x2 as _shadersFeatureIdStageVS,x8 as _shadersFilmicTonemapping,Hb as _shadersGaussianBlur1D,w2 as _shadersGeometryStageFS,v2 as _shadersGeometryStageVS,g4 as _shadersGlobeFS,_4 as _shadersGlobeVS,TN as _shadersGridMaterial,OP as _shadersGroundAtmosphere,dM as _shadersHSBToRGB,hM as _shadersHSLToRGB,YB as _shadersImageBasedLightingStageFS,o2 as _shadersInstancingStageCommon,r2 as _shadersInstancingStageVS,iH as _shadersIntersectBox,nH as _shadersIntersectClippingPlanes,oH as _shadersIntersectCylinder,tH as _shadersIntersectDepth,rH as _shadersIntersectEllipsoid,_1 as _shadersIntersectLongitude,OS as _shadersIntersection,eH as _shadersIntersectionUtils,s2 as _shadersLegacyInstancingStageVS,E8 as _shadersLensFlare,D2 as _shadersLightingStageFS,O2 as _shadersMaterialStageFS,uH as _shadersMegatexture,T2 as _shadersMetadataStageFS,C2 as _shadersMetadataStageVS,ZB as _shadersModelClippingPlanesStageFS,t2 as _shadersModelClippingPolygonsStageFS,e2 as _shadersModelClippingPolygonsStageVS,JB as _shadersModelColorStageFS,d3 as _shadersModelFS,Z2 as _shadersModelSilhouetteStageFS,$2 as _shadersModelSilhouetteStageVS,n3 as _shadersModelSplitterStageFS,f3 as _shadersModelVS,S8 as _shadersModifiedReinhardTonemapping,M2 as _shadersMorphTargetsStageVS,w8 as _shadersNightVision,CN as _shadersNormalMapMaterial,lH as _shadersOctree,Fu as _shadersPassThrough,Ub as _shadersPassThroughDepth,T8 as _shadersPbrNeutralTonemapping,MN as _shadersPerInstanceColorAppearanceFS,LN as _shadersPerInstanceColorAppearanceVS,tT as _shadersPerInstanceFlatColorAppearanceFS,NN as _shadersPerInstanceFlatColorAppearanceVS,CB as _shadersPointCloudEyeDomeLighting,F2 as _shadersPointCloudStylingStageVS,nb as _shadersPointPrimitiveCollectionFS,Tk as _shadersPointPrimitiveCollectionVS,$F as _shadersPolygonSignedDistanceFS,EN as _shadersPolylineArrowMaterial,$N as _shadersPolylineColorAppearanceVS,ff as _shadersPolylineCommon,SN as _shadersPolylineDashMaterial,lT as _shadersPolylineFS,wN as _shadersPolylineGlowMaterial,eF as _shadersPolylineMaterialAppearanceVS,vN as _shadersPolylineOutlineMaterial,KN as _shadersPolylineShadowVolumeFS,QN as _shadersPolylineShadowVolumeMorphFS,JN as _shadersPolylineShadowVolumeMorphVS,ZN as _shadersPolylineShadowVolumeVS,v3 as _shadersPolylineVS,U2 as _shadersPrimitiveOutlineStageFS,k2 as _shadersPrimitiveOutlineStageVS,mM as _shadersRGBToHSB,pM as _shadersRGBToHSL,gM as _shadersRGBToXYZ,v8 as _shadersReinhardTonemapping,L4 as _shadersReprojectWebMercatorFS,N4 as _shadersReprojectWebMercatorVS,IN as _shadersRimLightingMaterial,lI as _shadersSelectedFeatureIdStageCommon,Yw as _shadersShadowVolumeAppearanceFS,UN as _shadersShadowVolumeAppearanceVS,s0 as _shadersShadowVolumeFS,I8 as _shadersSilhouette,G2 as _shadersSkinningStageVS,E1 as _shadersSkyAtmosphereCommon,DH as _shadersSkyAtmosphereFS,PH as _shadersSkyAtmosphereVS,RH as _shadersSkyBoxFS,MH as _shadersSkyBoxVS,DN as _shadersSlopeRampMaterial,PN as _shadersStripeMaterial,NH as _shadersSunFS,FH as _shadersSunTextureFS,BH as _shadersSunVS,dN as _shadersTexturedMaterialAppearanceFS,hN as _shadersTexturedMaterialAppearanceVS,F3 as _shadersVector3DTileClampedPolylinesFS,N3 as _shadersVector3DTileClampedPolylinesVS,L3 as _shadersVector3DTilePolylinesVS,Cv as _shadersVectorTileVS,j2 as _shadersVerticalExaggerationStageVS,XH as _shadersViewportQuadFS,Bx as _shadersViewportQuadVS,Z8 as _shadersVoxelFS,J8 as _shadersVoxelUtils,$8 as _shadersVoxelVS,RN as _shadersWater,ON as _shadersWaterMaskMaterial,_M as _shadersXYZToRGB,yM as _shadersacesTonemapping,AM as _shadersalphaWeight,bM as _shadersantialias,xM as _shadersapplyHSBShift,TM as _shadersapproximateSphericalCoordinates,CM as _shadersapproximateTanh,EM as _shadersbackFacing,SM as _shadersbranchFreeTernary,wM as _shaderscascadeColor,vM as _shaderscascadeDistance,IM as _shaderscascadeMatrix,DM as _shaderscascadeWeights,PM as _shadersclipPolygons,OM as _shaderscolumbusViewMorph,RM as _shaderscomputeAtmosphereColor,MM as _shaderscomputeGroundAtmosphereScattering,LM as _shaderscomputePosition,NM as _shaderscomputeScattering,sH as _shadersconvertUvToBox,aH as _shadersconvertUvToCylinder,cH as _shadersconvertUvToEllipsoid,FM as _shaderscosineAndSine,BM as _shadersdecompressTextureCoordinates,bR as _shadersdegreesPerRadian,kM as _shadersdepthClamp,xR as _shadersdepthRange,oM as _shadersdepthRangeStruct,UM as _shaderseastNorthUpToEyeCoordinates,zM as _shadersellipsoidContainsPoint,VM as _shadersellipsoidTextureCoordinates,TR as _shadersepsilon1,CR as _shadersepsilon2,ER as _shadersepsilon3,SR as _shadersepsilon4,wR as _shadersepsilon5,vR as _shadersepsilon6,IR as _shadersepsilon7,HM as _shadersequalsEpsilon,GM as _shaderseyeOffset,WM as _shaderseyeToWindowCoordinates,jM as _shadersfastApproximateAtan,YM as _shadersfog,qM as _shadersgammaCorrect,XM as _shadersgeodeticSurfaceNormal,KM as _shadersgetDefaultMaterial,QM as _shadersgetDynamicAtmosphereLightDirection,JM as _shadersgetLambertDiffuse,ZM as _shadersgetSpecular,$M as _shadersgetWaterNoise,eL as _shadershue,DR as _shadersinfinity,tL as _shadersinverseGamma,nL as _shadersisEmpty,iL as _shadersisFull,oL as _shaderslatitudeToWebMercatorFraction,rL as _shaderslineDistance,sL as _shaderslinearToSrgb,aL as _shadersluminance,rM as _shadersmaterial,sM as _shadersmaterialInput,cL as _shadersmaximumComponent,lL as _shadersmetersPerPixel,aM as _shadersmodelMaterial,uL as _shadersmodelToWindowCoordinates,cM as _shadersmodelVertexOutput,fL as _shadersmultiplyWithColorBalance,dL as _shadersnearFarScalar,hL as _shadersoctDecode,PR as _shadersoneOverPi,OR as _shadersoneOverTwoPi,mL as _shaderspackDepth,RR as _shaderspassCesium3DTile,MR as _shaderspassCesium3DTileClassification,LR as _shaderspassCesium3DTileClassificationIgnoreShow,NR as _shaderspassClassification,FR as _shaderspassCompute,BR as _shaderspassEnvironment,kR as _shaderspassGlobe,UR as _shaderspassOpaque,zR as _shaderspassOverlay,VR as _shaderspassTerrainClassification,HR as _shaderspassTranslucent,GR as _shaderspassVoxels,pL as _shaderspbrLighting,gL as _shaderspbrNeutralTonemapping,_L as _shadersphong,WR as _shaderspi,jR as _shaderspiOverFour,YR as _shaderspiOverSix,qR as _shaderspiOverThree,XR as _shaderspiOverTwo,yL as _shadersplaneDistance,AL as _shaderspointAlongRay,KR as _shadersradiansPerDegree,lM as _shadersray,bL as _shadersrayEllipsoidIntersectionInterval,uM as _shadersraySegment,xL as _shadersraySphereIntersectionInterval,TL as _shadersreadDepth,CL as _shadersreadNonPerspective,EL as _shadersreverseLogDepth,SL as _shadersround,wL as _shaderssaturation,QR as _shaderssceneMode2D,JR as _shaderssceneMode3D,ZR as _shaderssceneModeColumbusView,$R as _shaderssceneModeMorphing,vL as _shadersshadowDepthCompare,fM as _shadersshadowParameters,IL as _shadersshadowVisibility,DL as _shaderssignNotZero,eM as _shaderssolarRadius,PL as _shaderssphericalHarmonics,OL as _shaderssrgbToLinear,RL as _shaderstangentToEyeSpaceMatrix,ML as _shaderstextureCube,tM as _shadersthreePiOver2,LL as _shaderstransformPlane,NL as _shaderstranslateRelativeToEye,FL as _shaderstranslucentPhong,BL as _shaderstranspose,nM as _shaderstwoPi,kL as _shadersunpackClippingExtents,UL as _shadersunpackDepth,zL as _shadersunpackFloat,VL as _shadersunpackUint,HL as _shadersvalueTransform,GL as _shadersvertexLogDepth,iM as _shaderswebMercatorMaxLatitude,WL as _shaderswindowToEyeCoordinates,jL as _shaderswriteDepthClamp,YL as _shaderswriteLogDepth,qL as _shaderswriteNonPerspective,RF as addBuffer,TF as addDefaults,DF as addExtensionsRequired,Id as addExtensionsUsed,C0 as addPipelineExtras,Ys as addToArray,PO as appendForwardSlash,_o as arrayRemoveDuplicates,Ux as barycentricCoordinates,Po as binarySearch,Kt as buildModuleUrl,mH as buildVoxelDrawCommands,Ue as clone,ht as combine,nS as computeFlyToLocationForRectangle,dC as createBillboardPointCallback,_n as createCommand,XG as createDefaultImageryProviderViewModels,KG as createDefaultTerrainProviderViewModels,WSe as createElevationBandMaterial,YSe as createGooglePhotorealistic3DTileset,Fn as createGuid,Ro as createMaterialPropertyDescriptor,qSe as createOsmBuildingsAsync,ue as createPropertyDescriptor,Tl as createRawPropertyDescriptor,XSe as createTangentSpaceDebugPrimitive,$Se as createTaskProcessorWorker,JO as createUniform,ZO as createUniformArray,lG as createWorldBathymetryAsync,cA as createWorldImageryAsync,ew as createWorldTerrainAsync,uG as decodeGoogleEarthEnterpriseData,k3 as decodeVectorPolylinePositions,WEe as defaultValue,tu as defer,l as defined,XL as demodernizeShader,Ws as deprecationWarning,fe as destroyObject,OAe as exportKml,MT as findAccessorMinMax,AC as findContentMetadata,bC as findGroupMetadata,H3 as findTileMetadata,Mv as forEachTextureInMaterial,Dg as formatError,q$ as freezeRenderState,gp as getAbsoluteUri,fu as getAccessorByteStride,OO as getBaseUri,gf as getBinaryAccessor,UH as getClipAndStyleCode,iA as getClippingFunction,L_ as getComponentReader,Cn as getElement,vx as getExtensionFromUri,Ty as getFilenameFromUri,pH as getImageFromTypedArray,Oh as getImagePixels,sr as getJsonFromTypedArray,tm as getMagic,CH as getMetadataClassProperty,SH as getMetadataProperty,cu as getStringFromTypedArray,Ai as getTimestamp,ti as hasExtension,A_ as heightReferenceOnEntityPropertyChanged,sl as isBitSet,Ix as isBlobUri,HA as isCrossOriginUrl,Zg as isDataUri,Ph as isLeapYear,be as knockout,lw as knockout_3_5_1,kG as knockout_es5,Dx as loadAndExecuteScript,rN as loadCubeMap,OT as loadImageFromTypedArray,nu as loadKTX2,uA as mergeSort,IF as moveTechniqueRenderStates,PF as moveTechniquesToExtension,yf as numberOfComponentsForType,Px as objectToQuery,dt as oneTimeWarning,K_ as parseBatchTable,aB as parseFeatureMetadataLegacy,SF as parseGlb,MO as parseResponseHeaders,sB as parseStructuralMetadata,mI as pickModel,jEe as pointInsideTriangle,ly as preprocess3DTileContent,hH as processVoxelProperties,$u as queryToObject,MF as readAccessorPacked,LT as removeExtension,EF as removeExtensionsRequired,RT as removeExtensionsUsed,vF as removePipelineExtras,OF as removeUnusedElements,S0 as resizeImageToNextPowerOfTwo,u4 as sampleTerrain,tS as sampleTerrainMostDetailed,Cx as scaleToGeodeticSurface,tw as srgbToLinear,zN as subdivideArray,Va as subscribeAndEvaluate,NF as updateAccessorComponentTypes,BF as updateVersion,_r as usesExtension,Vwe as viewerCesium3DTilesInspectorMixin,Hwe as viewerCesiumInspectorMixin,Wwe as viewerDragDropMixin,jwe as viewerPerformanceWatchdogMixin,qwe as viewerVoxelInspectorMixin,YEe as webGLConstantToGlslType,fG as wrapFunction,mC as writeTextToCanvas};
|
|
16078
|
+
`);n.value=n.value.slice(0,i)+f+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};dd.prototype.isDestroyed=function(){return!1};dd.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){be.getObservable(e,t).dispose()}),fe(this)};var j5=dd;function Y5(e,t){e=Cn(e);let n=document.createElement("div"),i=new j5(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=Tc.createSection,a=Tc.createCheckbox,c=Tc.createRangeInput,u=Tc.createButton,f=s(r,"Display","displayVisible","toggleDisplay"),h=s(r,"Transform","transformVisible","toggleTransform"),p=s(r,"Bounds","boundsVisible","toggleBounds"),_=s(r,"Clipping","clippingVisible","toggleClipping"),m=s(r,"Shader","shaderVisible","toggleShader");f.appendChild(a("Depth Test","depthTest")),f.appendChild(a("Show","show")),f.appendChild(a("Disable Update","disableUpdate")),f.appendChild(a("Debug Draw","debugDraw")),f.appendChild(a("Jitter","jitter")),f.appendChild(a("Nearest Sampling","nearestSampling")),f.appendChild(c("Screen Space Error","screenSpaceError",0,128)),f.appendChild(c("Step Size","stepSize",0,2));let y=10,A=10,b=D.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,+A)),h.appendChild(c("Scale Y","scaleY",0,+A)),h.appendChild(c("Scale Z","scaleZ",0,+A)),h.appendChild(c("Heading","angleX",-b,+b)),h.appendChild(c("Pitch","angleY",-b,+b)),h.appendChild(c("Roll","angleZ",-b,+b));let x=Bi.getMinBounds(Bi.BOX),T=Bi.getMaxBounds(Bi.BOX),E=d.fromElements(Bi.getMinBounds(Bi.ELLIPSOID).x,Bi.getMinBounds(Bi.ELLIPSOID).y,-ee.WGS84.maximumRadius,new d),w=d.fromElements(Bi.getMaxBounds(Bi.ELLIPSOID).x,Bi.getMaxBounds(Bi.ELLIPSOID).y,1e7,new d),I=Bi.getMinBounds(Bi.CYLINDER),O=Bi.getMaxBounds(Bi.CYLINDER);dw("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",x,T,"shapeIsBox",p),dw("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",E,w,"shapeIsEllipsoid",p),dw("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxAngle","boundsCylinderMinAngle","boundsCylinderMaxHeight","boundsCylinderMinHeight",I,O,"shapeIsCylinder",p),dw("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",x,T,"shapeIsBox",_),dw("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",E,w,"shapeIsEllipsoid",_),dw("Max Radius","Min Radius","Max Angle","Min Angle","Max Height","Min Height","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxAngle","clippingCylinderMinAngle","clippingCylinderMaxHeight","clippingCylinderMinHeight",I,O,"shapeIsCylinder",_);let P=document.createElement("div");m.appendChild(P);let R=document.createElement("textarea");R.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),P.className="cesium-cesiumInspector-styleEditor",P.appendChild(R);let N=u("Compile (Ctrl+Enter)","compileShader");P.appendChild(N);let g=document.createElement("label");g.style.display="block",g.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),P.appendChild(g),be.applyBindings(i,n)}Object.defineProperties(Y5.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});Y5.prototype.isDestroyed=function(){return!1};Y5.prototype.destroy=function(){return be.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),fe(this)};function dw(e,t,n,i,o,r,s,a,c,u,f,h,p,_,m,y){let A=Tc.createRangeInput,b=p,x=_,T=y.appendChild(document.createElement("div"));T.setAttribute("data-bind",`if: ${m}`),T.appendChild(A(e,s,b.x,x.x)),T.appendChild(A(t,a,b.x,x.x)),T.appendChild(A(n,c,b.y,x.y)),T.appendChild(A(i,u,b.y,x.y)),T.appendChild(A(o,f,b.z,x.z)),T.appendChild(A(r,h,b.z,x.z))}var q5=Y5;function mPt(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new q5(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var qwe=mPt;globalThis.CESIUM_VERSION="1.128.7";var qdo="1.128.7";export{Hp as AlphaMode,d2 as AlphaPipelineStage,dB as AnchorPointDirect,hB as AnchorPointIndirect,jG as Animation,YG as AnimationViewModel,Qi as Appearance,ai as ApproximateTerrainHeights,XCe as ArcGISTiledElevationTerrainProvider,Jm as ArcGisBaseMapType,rA as ArcGisMapServerImageryProvider,Jf as ArcGisMapService,Xt as ArcType,Wc as ArticulationStageType,yt as AssociativeArray,jT as Atmosphere,jB as AtmospherePipelineStage,wn as AttributeCompression,Qt as AttributeType,P8 as AutoExposure,Xg as AutomaticUniforms,Mo as Axis,r0 as AxisAlignedBoundingBox,SB as B3dmLoader,EB as B3dmParser,ZG as BaseLayerPicker,QG as BaseLayerPickerViewModel,iT as BatchTable,vT as BatchTableHierarchy,Sl as BatchTexture,h2 as BatchTexturePipelineStage,so as Billboard,vf as BillboardCollection,Pc as BillboardGraphics,fs as BillboardLoadState,oy as BillboardTexture,sN as BillboardVisualizer,QCe as BingMapsGeocoderService,T4 as BingMapsImageryProvider,RP as BingMapsStyle,Za as BlendEquation,Co as BlendFunction,So as BlendOption,tn as BlendingState,He as BoundingRectangle,ce as BoundingSphere,nt as BoundingSphereState,kT as BoundingVolumeSemantics,qEe as BoxEmitter,Ja as BoxGeometry,nF as BoxGeometryUpdater,fT as BoxGraphics,Hh as BoxOutlineGeometry,yV as BrdfLutGenerator,ft as Buffer,PT as BufferLoader,Le as BufferUsage,_2 as CPUStylingPipelineStage,iF as CallbackPositionProperty,Kh as CallbackProperty,to as Camera,N8 as CameraEventAggregator,Fi as CameraEventType,AV as CameraFlightPath,U as Cartesian2,d as Cartesian3,re as Cartesian4,de as Cartographic,JCe as CartographicGeocoderService,$Ce as CatmullRomSpline,wT as Cesium3DContentGroup,Hd as Cesium3DTile,T_ as Cesium3DTileBatchTable,lu as Cesium3DTileColorBlendMode,XEe as Cesium3DTileContent,yC as Cesium3DTileContentFactory,Yo as Cesium3DTileContentState,Xs as Cesium3DTileContentType,ca as Cesium3DTileFeature,fm as Cesium3DTileFeatureTable,zd as Cesium3DTileOptimizationHint,Z3 as Cesium3DTileOptimizations,No as Cesium3DTilePass,yh as Cesium3DTilePassState,ry as Cesium3DTilePointFeature,Go as Cesium3DTileRefine,iw as Cesium3DTileStyle,ik as Cesium3DTileStyleEngine,o5 as Cesium3DTilesInspector,n5 as Cesium3DTilesInspectorViewModel,QEe as Cesium3DTilesVoxelProvider,Os as Cesium3DTileset,rk as Cesium3DTilesetBaseTraversal,ek as Cesium3DTilesetCache,yT as Cesium3DTilesetGraphics,nk as Cesium3DTilesetHeatmap,OC as Cesium3DTilesetMetadata,ok as Cesium3DTilesetMostDetailedTraversal,ak as Cesium3DTilesetSkipTraversal,xm as Cesium3DTilesetStatistics,pa as Cesium3DTilesetTraversal,lk as Cesium3DTilesetVisualizer,KG as CesiumInspector,qG as CesiumInspectorViewModel,qS as CesiumTerrainProvider,GH as CesiumWidget,go as Check,HI as CheckerboardMaterialProperty,mG as CircleEmitter,cEe as CircleGeometry,lEe as CircleOutlineGeometry,c3 as ClassificationModelDrawCommand,m2 as ClassificationPipelineStage,qw as ClassificationPrimitive,On as ClassificationType,Jn as ClearCommand,zT as ClippingPlane,Ds as ClippingPlaneCollection,Kv as ClippingPolygon,am as ClippingPolygonCollection,Em as Clock,$r as ClockRange,mo as ClockStep,zG as ClockViewModel,iSe as CloudCollection,U1 as CloudType,z as Color,Gc as ColorBlendMode,Bt as ColorGeometryInstanceAttribute,Nt as ColorMaterialProperty,rwe as Command,X as ComponentDatatype,cF as Composite3DTileContent,efe as CompositeEntityCollection,YI as CompositeMaterialProperty,Fa as CompositePositionProperty,Xc as CompositeProperty,nR as CompressedTextureBuffer,fl as ComputeCommand,tR as ComputeEngine,dG as ConditionsExpression,oSe as ConeEmitter,xl as ConstantPositionProperty,Gn as ConstantProperty,MB as ConstantSpline,z3 as ContentMetadata,tN as Context,Rt as ContextLimits,iU as CoplanarPolygonGeometry,uy as CoplanarPolygonGeometryLibrary,Vd as CoplanarPolygonOutlineGeometry,Mi as CornerType,mB as CorrelationGroup,zC as CorridorGeometry,zi as CorridorGeometryLibrary,Ak as CorridorGeometryUpdater,hT as CorridorGraphics,yk as CorridorOutlineGeometry,pt as Credit,DV as CreditDisplay,Pr as CubeMap,gR as CubeMapFace,zx as CubicRealPolynomial,pi as CullFace,vs as CullingVolume,cd as CumulusCloud,Ek as CustomDataSource,uEe as CustomHeightmapTerrainProvider,MS as CustomShader,ey as CustomShaderMode,E2 as CustomShaderPipelineStage,k0 as CustomShaderTranslucencyMode,Sk as CylinderGeometry,HC as CylinderGeometryLibrary,vk as CylinderGeometryUpdater,mT as CylinderGraphics,wk as CylinderOutlineGeometry,kk as CzmlDataSource,Zr as DataSource,Sm as DataSourceClock,zk as DataSourceCollection,IU as DataSourceDisplay,rSe as DebugAppearance,Mg as DebugCameraPrimitive,K8 as DebugInspector,_G as DebugModelMatrixPrimitive,dEe as DefaultProxy,Rc as DepthFunction,FV as DepthPlane,S2 as DequantizationPipelineStage,Lg as DerivedCommand,he as DeveloperError,kV as DeviceOrientationCameraController,sSe as DirectionalLight,LP as DiscardEmptyTileImagePolicy,b4 as DiscardMissingTileImagePolicy,wt as DistanceDisplayCondition,Pn as DistanceDisplayConditionGeometryInstanceAttribute,BS as DoubleEndedPriorityQueue,$3 as DoublyLinkedList,O_ as DracoLoader,Ye as DrawCommand,G_ as DynamicAtmosphereLightingType,W_ as DynamicEnvironmentMapManager,tE as DynamicGeometryBatch,$n as DynamicGeometryUpdater,UO as EarthOrientationParameters,VA as EarthOrientationParametersSample,ts as EasingFunction,Nl as EllipseGeometry,Cu as EllipseGeometryLibrary,Kk as EllipseGeometryUpdater,pT as EllipseGraphics,Gf as EllipseOutlineGeometry,ee as Ellipsoid,h_ as EllipsoidGeodesic,Aa as EllipsoidGeometry,Qk as EllipsoidGeometryUpdater,gT as EllipsoidGraphics,Lf as EllipsoidOutlineGeometry,lV as EllipsoidPrimitive,$a as EllipsoidRhumbLine,aSe as EllipsoidSurfaceAppearance,as as EllipsoidTangentPlane,Og as EllipsoidTerrainProvider,xy as EllipsoidalOccluder,DI as Empty3DTileContent,Ln as EncodedCartesian3,rr as Entity,kf as EntityCluster,ga as EntityCollection,OU as EntityView,me as Event,br as EventHelper,Sd as Expression,ct as ExpressionNodeType,Uf as ExtrapolationType,Ft as FeatureDetection,B0 as FeatureIdPipelineStage,UV as Fog,Ie as ForEach,bG as FrameRateMonitor,zV as FrameState,jr as Framebuffer,fi as FramebufferManager,G as Frozen,qV as FrustumCommands,yS as FrustumGeometry,OV as FrustumOutlineGeometry,Ir as Fullscreen,g5 as FullscreenButton,m5 as FullscreenButtonViewModel,Ab as GeoJsonDataSource,vB as GeoJsonLoader,rx as GeocodeType,u5 as Geocoder,M1 as GeocoderService,c5 as GeocoderViewModel,vi as GeographicProjection,Wi as GeographicTilingScheme,tt as Geometry,pF as Geometry3DTileContent,Ee as GeometryAttribute,sn as GeometryAttributes,mEe as GeometryFactory,At as GeometryInstance,Mc as GeometryInstanceAttribute,Jt as GeometryOffsetAttribute,vn as GeometryPipeline,I2 as GeometryPipelineStage,gd as GeometryType,ei as GeometryUpdater,_E as GeometryUpdaterSet,yU as GeometryVisualizer,uS as GetFeatureInfoFormat,oV as Globe,XV as GlobeDepth,y4 as GlobeSurfaceShaderSet,mh as GlobeSurfaceTile,q4 as GlobeSurfaceTileProvider,X4 as GlobeTranslucency,KV as GlobeTranslucencyFramebuffer,VV as GlobeTranslucencyState,Dv as GltfBufferViewLoader,Pv as GltfDracoLoader,gB as GltfGpmLoader,tI as GltfGpmLocal,Ov as GltfImageLoader,Rv as GltfIndexBufferLoader,Lv as GltfJsonLoader,um as GltfLoader,du as GltfLoaderUtil,bB as GltfMeshPrimitiveGpmLoader,cB as GltfStructuralMetadataLoader,kv as GltfTextureLoader,Uv as GltfVertexBufferLoader,lSe as GoogleEarthEnterpriseImageryProvider,I4 as GoogleEarthEnterpriseMapsProvider,vA as GoogleEarthEnterpriseMetadata,L1 as GoogleEarthEnterpriseTerrainData,CEe as GoogleEarthEnterpriseTerrainProvider,eG as GoogleEarthEnterpriseTileInformation,SEe as GoogleGeocoderService,QS as GoogleMaps,XU as GpxDataSource,Qg as GregorianDate,uSe as GridImageryProvider,nD as GridMaterialProperty,Nn as GroundGeometryUpdater,cT as GroundPolylineGeometry,Wh as GroundPolylinePrimitive,bl as GroundPrimitive,MI as GroupMetadata,nh as HeadingPitchRange,Xa as HeadingPitchRoll,LO as Heap,Ge as HeightReference,dh as HeightmapEncoding,mc as HeightmapTerrainData,PP as HeightmapTessellator,Dk as HermitePolynomialApproximation,L0 as HermiteSpline,Sv as HilbertOrder,a5 as HomeButton,r5 as HomeButtonViewModel,mi as HorizontalOrigin,vwe as I3SBuildingSceneLayerExplorer,d5 as I3SBuildingSceneLayerExplorerViewModel,fp as I3SDataProvider,xG as I3SDecoder,TG as I3SFeature,EG as I3SField,H1 as I3SGeometry,rw as I3SLayer,G1 as I3SNode,DG as I3SStatistics,PG as I3SSublayer,vG as I3SSymbology,RB as I3dmLoader,DB as I3dmParser,ySe as ITwinData,na as ITwinPlatform,sV as Iau2000Orientation,HO as Iau2006XysData,Lx as Iau2006XysSample,aV as IauOrientationAxes,rV as IauOrientationParameters,ST as ImageBasedLighting,qB as ImageBasedLightingPipelineStage,f0 as ImageMaterialProperty,UP as Imagery,gc as ImageryLayer,Q4 as ImageryLayerCollection,Qm as ImageryLayerFeatureInfo,Hl as ImageryProvider,oi as ImageryState,Wv as Implicit3DTileContent,wv as ImplicitAvailabilityBitstream,vv as ImplicitMetadataView,ls as ImplicitSubdivisionScheme,FT as ImplicitSubtree,hG as ImplicitSubtreeCache,AF as ImplicitSubtreeMetadata,LC as ImplicitTileCoordinates,MC as ImplicitTileset,Me as IndexDatatype,A5 as InfoBox,_5 as InfoBoxViewModel,Tc as InspectorShared,us as InstanceAttributeSemantic,c2 as InstancingPipelineStage,wEe as InterpolationAlgorithm,lm as InterpolationType,kt as Intersect,qn as IntersectionTests,SA as Intersections2D,Qa as Interval,o1 as InvertClassification,$h as Ion,DA as IonGeocodeProviderType,JS as IonGeocoderService,sA as IonImageryProvider,mf as IonResource,aA as IonWorldImageryStyle,ke as Iso8601,GV as JobScheduler,nc as JobType,j_ as JsonMetadataTable,K as JulianDate,iR as KTX2Transcoder,wa as KeyboardEventModifier,po as KeyframeNode,KU as KmlCamera,eS as KmlDataSource,Qz as KmlLookAt,Zz as KmlTour,e4 as KmlTourFlyTo,t4 as KmlTourWait,j0 as Label,eg as LabelCollection,Yh as LabelGraphics,jo as LabelStyle,AU as LabelVisualizer,Pk as LagrangePolynomialApproximation,Hi as LeapSecond,bSe as Light,Qp as LightingModel,P2 as LightingPipelineStage,YC as LinearApproximation,M0 as LinearSpline,El as ManagedArray,Nu as MapMode2D,IEe as MapProjection,D4 as MapboxImageryProvider,TSe as MapboxStyleImageryProvider,Gi as Material,ro as MaterialAppearance,R2 as MaterialPipelineStage,or as MaterialProperty,D as Math,Ii as Matrix2,Q as Matrix3,M as Matrix4,T1 as Megatexture,AB as MeshPrimitiveGpmLocal,rm as MetadataClass,Up as MetadataClassProperty,Dt as MetadataComponentType,Dn as MetadataEntity,HF as MetadataEnum,zF as MetadataEnumValue,jV as MetadataPicking,Tf as MetadataPickingPipelineStage,Rd as MetadataPipelineStage,Af as MetadataSchema,Vv as MetadataSchemaLoader,BT as MetadataSemantic,vd as MetadataTable,xF as MetadataTableProperty,et as MetadataType,Ep as MipmapHint,mm as Model,Cf as Model3DTileContent,Q2 as ModelAlphaOptions,BB as ModelAnimation,FB as ModelAnimationChannel,UB as ModelAnimationCollection,mu as ModelAnimationLoop,dm as ModelAnimationState,QB as ModelArticulation,XB as ModelArticulationStage,$B as ModelClippingPlanesPipelineStage,n2 as ModelClippingPolygonsPipelineStage,F0 as ModelColorPipelineStage,dn as ModelComponents,u3 as ModelDrawCommand,h3 as ModelDrawCommands,zB as ModelFeature,VB as ModelFeatureTable,g_ as ModelGraphics,s3 as ModelLightingOptions,l2 as ModelMatrixUpdateStage,i2 as ModelNode,J2 as ModelRenderResources,f2 as ModelRuntimeNode,X2 as ModelRuntimePrimitive,p3 as ModelSceneGraph,t3 as ModelSilhouettePipelineStage,K2 as ModelSkin,o3 as ModelSplitterPipelineStage,g3 as ModelStatistics,Ar as ModelType,Gt as ModelUtility,xU as ModelVisualizer,dV as Moon,L2 as MorphTargetsPipelineStage,DEe as MorphWeightSpline,$0 as MortonOrder,G3 as Multiple3DTileContent,nN as MultisampleFramebuffer,T5 as NavigationHelpButton,b5 as NavigationHelpButtonViewModel,Mt as NearFarScalar,CSe as NeverTileDiscardPolicy,r3 as NodeRenderResources,u2 as NodeStatisticsPipelineStage,_T as NodeTransformationProperty,JV as OIT,gV as Occluder,Xi as OffsetGeometryInstanceAttribute,PEe as OpenCageGeocoderService,LA as OpenStreetMapImageryProvider,Hk as OrderedGroundPrimitiveCollection,bn as OrientedBoundingBox,$t as OrthographicFrustum,Yr as OrthographicOffCenterFrustum,OEe as Packable,REe as PackableForInterpolation,Y1 as Particle,wSe as ParticleBurst,ISe as ParticleEmitter,OSe as ParticleSystem,Se as Pass,Ic as PassState,__ as PathGraphics,TU as PathVisualizer,oG as PeliasGeocoderService,en as PerInstanceColorAppearance,mA as PerformanceDisplay,D5 as PerformanceWatchdog,v5 as PerformanceWatchdogViewModel,wi as PerspectiveFrustum,Wl as PerspectiveOffCenterFrustum,YV as PickDepth,ZV as PickDepthFramebuffer,$V as PickFramebuffer,EH as PickedMetadataInfo,u8 as Picking,N2 as PickingPipelineStage,zy as PinBuilder,We as PixelDatatype,Ke as PixelFormat,Zt as Plane,$k as PlaneGeometry,nU as PlaneGeometryUpdater,tF as PlaneGraphics,tU as PlaneOutlineGeometry,y3 as PntsLoader,uC as PntsParser,HH as PointCloud,X_ as PointCloudEyeDomeLighting,Wp as PointCloudShading,B2 as PointCloudStylingPipelineStage,AT as PointGraphics,Js as PointPrimitive,ZI as PointPrimitiveCollection,CU as PointVisualizer,H_ as PolygonGeometry,Mn as PolygonGeometryLibrary,sU as PolygonGeometryUpdater,qh as PolygonGraphics,ec as PolygonHierarchy,rU as PolygonOutlineGeometry,ni as PolygonPipeline,Ld as Polyline,iD as PolylineArrowMaterialProperty,ym as PolylineCollection,cs as PolylineColorAppearance,oD as PolylineDashMaterialProperty,Uy as PolylineGeometry,SU as PolylineGeometryUpdater,rD as PolylineGlowMaterialProperty,Nc as PolylineGraphics,Ra as PolylineMaterialAppearance,rb as PolylineOutlineMaterialProperty,Ri as PolylinePipeline,vU as PolylineVisualizer,aU as PolylineVolumeGeometry,Tm as PolylineVolumeGeometryLibrary,lU as PolylineVolumeGeometryUpdater,bT as PolylineVolumeGraphics,cU as PolylineVolumeOutlineGeometry,jh as PositionProperty,Cy as PositionPropertyArray,lo as PostProcessStage,O8 as PostProcessStageCollection,Bu as PostProcessStageComposite,nd as PostProcessStageLibrary,td as PostProcessStageSampleMode,vS as PostProcessStageTextureCache,yB as PpeMetadata,ZSe as PpeSource,_B as PpeTexture,xn as Primitive,Ll as PrimitiveCollection,KT as PrimitiveLoadPlan,XT as PrimitiveOutlineGenerator,z2 as PrimitiveOutlinePipelineStage,oT as PrimitivePipeline,a3 as PrimitiveRenderResources,Rr as PrimitiveState,V2 as PrimitiveStatisticsPipelineStage,Re as PrimitiveType,w5 as ProjectionPicker,E5 as ProjectionPickerViewModel,Y as Property,sD as PropertyArray,YT as PropertyAttribute,rB as PropertyAttributeProperty,Cl as PropertyBag,vl as PropertyTable,Y_ as PropertyTexture,oB as PropertyTextureProperty,Ts as ProviderViewModel,LEe as Proxy,hl as QuadraticRealPolynomial,J4 as QuadtreeOccluders,iV as QuadtreePrimitive,$4 as QuadtreeTile,Ca as QuadtreeTileLoadState,RSe as QuadtreeTileProvider,YS as QuantizedMeshTerrainData,rR as QuarticRealPolynomial,Pe as Quaternion,NB as QuaternionSpline,I0 as Queue,an as Ray,ae as Rectangle,bE as RectangleCollisionChecker,hE as RectangleGeometry,Qs as RectangleGeometryLibrary,uU as RectangleGeometryUpdater,Xh as RectangleGraphics,CC as RectangleOutlineGeometry,ki as ReferenceFrame,Sy as ReferenceProperty,Fe as RenderState,sf as Renderbuffer,gl as RenderbufferFormat,ir as Request,_p as RequestErrorEvent,wc as RequestScheduler,Yn as RequestState,Ss as RequestType,Ce as Resource,xi as ResourceCache,hu as ResourceCacheKey,jF as ResourceCacheStatistics,ji as ResourceLoader,lt as ResourceLoaderState,Yd as Rotation,se as RuntimeError,D_ as S2Cell,ha as SDFSettings,Ba as SampledPositionProperty,Vf as SampledProperty,jt as Sampler,Tg as ScaledPositionProperty,IH as Scene,CS as SceneFramebuffer,ie as SceneMode,H2 as SceneMode2DPipelineStage,M5 as SceneModePicker,O5 as SceneModePickerViewModel,Ui as SceneTransforms,L8 as SceneTransitioner,j8 as ScreenSpaceCameraController,id as ScreenSpaceEventHandler,hn as ScreenSpaceEventType,U0 as SelectedFeatureIdPipelineStage,B5 as SelectionIndicator,N5 as SelectionIndicatorViewModel,lD as SensorVolumePortionToDisplay,Kx as ShaderBuilder,KL as ShaderCache,ge as ShaderDestination,oN as ShaderFunction,qt as ShaderProgram,Be as ShaderSource,iN as ShaderStruct,gA as ShadowMap,Bg as ShadowMapShader,fn as ShadowMode,uf as ShadowVolumeAppearance,un as ShowGeometryInstanceAttribute,e0 as Simon1994PlanetaryPositions,NEe as SimplePolylineGeometry,P4 as SingleTileImageryProvider,W2 as SkinningPipelineStage,OH as SkyAtmosphere,LH as SkyBox,bH as SpatialNode,pB as Spdcf,Zh as SpecularEnvironmentCubeMap,MSe as SphereEmitter,FEe as SphereGeometry,dy as SphereOutlineGeometry,Ok as Spherical,Ji as Spline,qr as SplitDirection,v1 as Splitter,Jd as StaticGeometryColorBatch,$d as StaticGeometryPerMaterialBatch,TD as StaticGroundGeometryColorBatch,_U as StaticGroundGeometryPerMaterialBatch,wU as StaticGroundPolylinePerMaterialBatch,CD as StaticOutlineGeometryBatch,Lt as StencilConstants,Rn as StencilFunction,ot as StencilOperation,LB as SteppedSpline,Hc as Stereographic,O0 as StorageType,aD as StripeMaterialProperty,wm as StripeOrientation,fa as StructuralMetadata,hm as StyleCommandsNeeded,LSe as StyleExpression,kH as Sun,a_ as SunLight,X8 as SunPostProcess,fB as SupportedImageFormats,UG as SvgPathBindingHandler,hi as TaskProcessor,LG as Terrain,Km as TerrainData,nl as TerrainEncoding,HP as TerrainFillMesh,hh as TerrainMesh,CT as TerrainOffsetProperty,ys as TerrainProvider,Ta as TerrainQuantization,co as TerrainState,St as Texture,Qx as TextureAtlas,JL as TextureCache,ui as TextureMagnificationFilter,_H as TextureManager,Wt as TextureMinificationFilter,Fw as TexturePacker,QSe as TextureUniform,pn as TextureWrap,cp as TileAvailability,Mf as TileBoundingRegion,q3 as TileBoundingS2Cell,hy as TileBoundingSphere,NSe as TileBoundingVolume,NG as TileCoordinatesImageryProvider,FSe as TileDiscardPolicy,ln as TileEdge,zP as TileImagery,Rb as TileMapServiceImageryProvider,V3 as TileMetadata,yu as TileOrientedBoundingBox,vo as TileProviderError,tV as TileReplacementQueue,Vn as TileSelectionResult,BSe as TileState,b3 as Tileset3DTileContent,J3 as TilesetMetadata,HB as TilesetPipelineStage,BEe as TilingScheme,zn as TimeConstants,fS as TimeDynamicImagery,D1 as TimeDynamicPointCloud,gn as TimeInterval,Jr as TimeIntervalCollection,vy as TimeIntervalCollectionPositionProperty,Iy as TimeIntervalCollectionProperty,Bn as TimeStandard,z5 as Timeline,k5 as TimelineHighlightRange,U5 as TimelineTrack,cR as Tipsify,hx as ToggleButtonViewModel,yA as Tonemapper,d_ as TrackingReferenceFrame,Et as Transforms,h0 as TranslationRotationScale,n8 as TranslucentTileClassification,rI as TridiagonalSystemSolver,yw as TrustedServers,DS as TweenCollection,eN as UniformState,y1 as UniformType,pc as UrlTemplateImageryProvider,qdo as VERSION,W5 as VRButton,H5 as VRButtonViewModel,zEe as VRTheWorldTerrainProvider,JSe as VaryingType,Np as Vector3DTileBatch,B3 as Vector3DTileClampedPolylines,U3 as Vector3DTileContent,S_ as Vector3DTileGeometry,R3 as Vector3DTilePoints,M3 as Vector3DTilePolygons,_C as Vector3DTilePolylines,IT as Vector3DTilePrimitive,Mk as VelocityOrientationProperty,Dy as VelocityVectorProperty,Zn as VertexArray,c_ as VertexArrayFacade,rt as VertexAttributeSemantic,ve as VertexFormat,Or as VerticalExaggeration,Y2 as VerticalExaggerationPipelineStage,In as VerticalOrigin,VEe as VideoSynchronizer,SS as View,zwe as Viewer,kSe as ViewportQuad,Tr as Visibility,xAe as Visualizer,Hg as VoxelBoxShape,Q8 as VoxelCell,LS as VoxelContent,NS as VoxelCylinderShape,FS as VoxelEllipsoidShape,q5 as VoxelInspector,j5 as VoxelInspectorViewModel,Th as VoxelMetadataOrder,$b as VoxelPrimitive,USe as VoxelProvider,fH as VoxelRenderResources,zSe as VoxelShape,Bi as VoxelShapeType,TH as VoxelTraversal,HEe as VulkanConstants,dU as WallGeometry,pE as WallGeometryLibrary,mU as WallGeometryUpdater,y_ as WallGraphics,hU as WallOutlineGeometry,te as WebGLConstants,R4 as WebMapServiceImageryProvider,M4 as WebMapTileServiceImageryProvider,Pi as WebMercatorProjection,As as WebMercatorTilingScheme,ws as WindingOrder,fI as WireframeIndexGenerator,q2 as WireframePipelineStage,f8 as _shadersAcesTonemappingStage,Y8 as _shadersAdditiveBlend,r1 as _shadersAdjustTranslucentFS,cN as _shadersAllMaterialAppearanceFS,lN as _shadersAllMaterialAppearanceVS,d8 as _shadersAmbientOcclusionGenerate,h8 as _shadersAmbientOcclusionModulate,mN as _shadersAspectRampMaterial,cm as _shadersAtmosphereCommon,GB as _shadersAtmosphereStageFS,WB as _shadersAtmosphereStageVS,uN as _shadersBasicMaterialAppearanceFS,fN as _shadersBasicMaterialAppearanceVS,x3 as _shadersBillboardCollectionFS,T3 as _shadersBillboardCollectionVS,m8 as _shadersBlackAndWhite,p8 as _shadersBloomComposite,_V as _shadersBrdfLutGeneratorFS,q8 as _shadersBrightPass,g8 as _shadersBrightness,pN as _shadersBumpMapMaterial,g2 as _shadersCPUStylingStageFS,p2 as _shadersCPUStylingStageVS,gN as _shadersCheckerboardMaterial,WH as _shadersCloudCollectionFS,jH as _shadersCloudCollectionVS,YH as _shadersCloudNoiseFS,qH as _shadersCloudNoiseVS,t8 as _shadersCompareAndPackTranslucentDepth,QV as _shadersCompositeOITFS,ES as _shadersCompositeTranslucentClassification,eB as _shadersComputeIrradianceFS,tB as _shadersComputeRadianceMapFS,_8 as _shadersContrastBias,nB as _shadersConvolveSpecularMapFS,iB as _shadersConvolveSpecularMapVS,A2 as _shadersCustomShaderStageFS,y2 as _shadersCustomShaderStageVS,jx as _shadersCzmBuiltins,y8 as _shadersDepthOfField,MV as _shadersDepthPlaneFS,LV as _shadersDepthPlaneVS,A8 as _shadersDepthView,KSe as _shadersDepthViewPacked,_N as _shadersDotMaterial,b8 as _shadersEdgeDetection,yN as _shadersElevationBandMaterial,AN as _shadersElevationContourMaterial,bN as _shadersElevationRampMaterial,YP as _shadersEllipsoidFS,yG as _shadersEllipsoidSurfaceAppearanceFS,AG as _shadersEllipsoidSurfaceAppearanceVS,qP as _shadersEllipsoidVS,C8 as _shadersFXAA,D8 as _shadersFXAA3_11,xN as _shadersFadeMaterial,b2 as _shadersFeatureIdStageFS,x2 as _shadersFeatureIdStageVS,x8 as _shadersFilmicTonemapping,Hb as _shadersGaussianBlur1D,w2 as _shadersGeometryStageFS,v2 as _shadersGeometryStageVS,g4 as _shadersGlobeFS,_4 as _shadersGlobeVS,TN as _shadersGridMaterial,OP as _shadersGroundAtmosphere,dM as _shadersHSBToRGB,hM as _shadersHSLToRGB,YB as _shadersImageBasedLightingStageFS,o2 as _shadersInstancingStageCommon,r2 as _shadersInstancingStageVS,iH as _shadersIntersectBox,nH as _shadersIntersectClippingPlanes,oH as _shadersIntersectCylinder,tH as _shadersIntersectDepth,rH as _shadersIntersectEllipsoid,_1 as _shadersIntersectLongitude,OS as _shadersIntersection,eH as _shadersIntersectionUtils,s2 as _shadersLegacyInstancingStageVS,E8 as _shadersLensFlare,D2 as _shadersLightingStageFS,O2 as _shadersMaterialStageFS,uH as _shadersMegatexture,T2 as _shadersMetadataStageFS,C2 as _shadersMetadataStageVS,ZB as _shadersModelClippingPlanesStageFS,t2 as _shadersModelClippingPolygonsStageFS,e2 as _shadersModelClippingPolygonsStageVS,JB as _shadersModelColorStageFS,d3 as _shadersModelFS,Z2 as _shadersModelSilhouetteStageFS,$2 as _shadersModelSilhouetteStageVS,n3 as _shadersModelSplitterStageFS,f3 as _shadersModelVS,S8 as _shadersModifiedReinhardTonemapping,M2 as _shadersMorphTargetsStageVS,w8 as _shadersNightVision,CN as _shadersNormalMapMaterial,lH as _shadersOctree,Fu as _shadersPassThrough,Ub as _shadersPassThroughDepth,T8 as _shadersPbrNeutralTonemapping,MN as _shadersPerInstanceColorAppearanceFS,LN as _shadersPerInstanceColorAppearanceVS,tT as _shadersPerInstanceFlatColorAppearanceFS,NN as _shadersPerInstanceFlatColorAppearanceVS,CB as _shadersPointCloudEyeDomeLighting,F2 as _shadersPointCloudStylingStageVS,nb as _shadersPointPrimitiveCollectionFS,Tk as _shadersPointPrimitiveCollectionVS,$F as _shadersPolygonSignedDistanceFS,EN as _shadersPolylineArrowMaterial,$N as _shadersPolylineColorAppearanceVS,ff as _shadersPolylineCommon,SN as _shadersPolylineDashMaterial,lT as _shadersPolylineFS,wN as _shadersPolylineGlowMaterial,eF as _shadersPolylineMaterialAppearanceVS,vN as _shadersPolylineOutlineMaterial,KN as _shadersPolylineShadowVolumeFS,QN as _shadersPolylineShadowVolumeMorphFS,JN as _shadersPolylineShadowVolumeMorphVS,ZN as _shadersPolylineShadowVolumeVS,v3 as _shadersPolylineVS,U2 as _shadersPrimitiveOutlineStageFS,k2 as _shadersPrimitiveOutlineStageVS,mM as _shadersRGBToHSB,pM as _shadersRGBToHSL,gM as _shadersRGBToXYZ,v8 as _shadersReinhardTonemapping,L4 as _shadersReprojectWebMercatorFS,N4 as _shadersReprojectWebMercatorVS,IN as _shadersRimLightingMaterial,lI as _shadersSelectedFeatureIdStageCommon,Yw as _shadersShadowVolumeAppearanceFS,UN as _shadersShadowVolumeAppearanceVS,s0 as _shadersShadowVolumeFS,I8 as _shadersSilhouette,G2 as _shadersSkinningStageVS,E1 as _shadersSkyAtmosphereCommon,DH as _shadersSkyAtmosphereFS,PH as _shadersSkyAtmosphereVS,RH as _shadersSkyBoxFS,MH as _shadersSkyBoxVS,DN as _shadersSlopeRampMaterial,PN as _shadersStripeMaterial,NH as _shadersSunFS,FH as _shadersSunTextureFS,BH as _shadersSunVS,dN as _shadersTexturedMaterialAppearanceFS,hN as _shadersTexturedMaterialAppearanceVS,F3 as _shadersVector3DTileClampedPolylinesFS,N3 as _shadersVector3DTileClampedPolylinesVS,L3 as _shadersVector3DTilePolylinesVS,Cv as _shadersVectorTileVS,j2 as _shadersVerticalExaggerationStageVS,XH as _shadersViewportQuadFS,Bx as _shadersViewportQuadVS,Z8 as _shadersVoxelFS,J8 as _shadersVoxelUtils,$8 as _shadersVoxelVS,RN as _shadersWater,ON as _shadersWaterMaskMaterial,_M as _shadersXYZToRGB,yM as _shadersacesTonemapping,AM as _shadersalphaWeight,bM as _shadersantialias,xM as _shadersapplyHSBShift,TM as _shadersapproximateSphericalCoordinates,CM as _shadersapproximateTanh,EM as _shadersbackFacing,SM as _shadersbranchFreeTernary,wM as _shaderscascadeColor,vM as _shaderscascadeDistance,IM as _shaderscascadeMatrix,DM as _shaderscascadeWeights,PM as _shadersclipPolygons,OM as _shaderscolumbusViewMorph,RM as _shaderscomputeAtmosphereColor,MM as _shaderscomputeGroundAtmosphereScattering,LM as _shaderscomputePosition,NM as _shaderscomputeScattering,sH as _shadersconvertUvToBox,aH as _shadersconvertUvToCylinder,cH as _shadersconvertUvToEllipsoid,FM as _shaderscosineAndSine,BM as _shadersdecompressTextureCoordinates,bR as _shadersdegreesPerRadian,kM as _shadersdepthClamp,xR as _shadersdepthRange,oM as _shadersdepthRangeStruct,UM as _shaderseastNorthUpToEyeCoordinates,zM as _shadersellipsoidContainsPoint,VM as _shadersellipsoidTextureCoordinates,TR as _shadersepsilon1,CR as _shadersepsilon2,ER as _shadersepsilon3,SR as _shadersepsilon4,wR as _shadersepsilon5,vR as _shadersepsilon6,IR as _shadersepsilon7,HM as _shadersequalsEpsilon,GM as _shaderseyeOffset,WM as _shaderseyeToWindowCoordinates,jM as _shadersfastApproximateAtan,YM as _shadersfog,qM as _shadersgammaCorrect,XM as _shadersgeodeticSurfaceNormal,KM as _shadersgetDefaultMaterial,QM as _shadersgetDynamicAtmosphereLightDirection,JM as _shadersgetLambertDiffuse,ZM as _shadersgetSpecular,$M as _shadersgetWaterNoise,eL as _shadershue,DR as _shadersinfinity,tL as _shadersinverseGamma,nL as _shadersisEmpty,iL as _shadersisFull,oL as _shaderslatitudeToWebMercatorFraction,rL as _shaderslineDistance,sL as _shaderslinearToSrgb,aL as _shadersluminance,rM as _shadersmaterial,sM as _shadersmaterialInput,cL as _shadersmaximumComponent,lL as _shadersmetersPerPixel,aM as _shadersmodelMaterial,uL as _shadersmodelToWindowCoordinates,cM as _shadersmodelVertexOutput,fL as _shadersmultiplyWithColorBalance,dL as _shadersnearFarScalar,hL as _shadersoctDecode,PR as _shadersoneOverPi,OR as _shadersoneOverTwoPi,mL as _shaderspackDepth,RR as _shaderspassCesium3DTile,MR as _shaderspassCesium3DTileClassification,LR as _shaderspassCesium3DTileClassificationIgnoreShow,NR as _shaderspassClassification,FR as _shaderspassCompute,BR as _shaderspassEnvironment,kR as _shaderspassGlobe,UR as _shaderspassOpaque,zR as _shaderspassOverlay,VR as _shaderspassTerrainClassification,HR as _shaderspassTranslucent,GR as _shaderspassVoxels,pL as _shaderspbrLighting,gL as _shaderspbrNeutralTonemapping,_L as _shadersphong,WR as _shaderspi,jR as _shaderspiOverFour,YR as _shaderspiOverSix,qR as _shaderspiOverThree,XR as _shaderspiOverTwo,yL as _shadersplaneDistance,AL as _shaderspointAlongRay,KR as _shadersradiansPerDegree,lM as _shadersray,bL as _shadersrayEllipsoidIntersectionInterval,uM as _shadersraySegment,xL as _shadersraySphereIntersectionInterval,TL as _shadersreadDepth,CL as _shadersreadNonPerspective,EL as _shadersreverseLogDepth,SL as _shadersround,wL as _shaderssaturation,QR as _shaderssceneMode2D,JR as _shaderssceneMode3D,ZR as _shaderssceneModeColumbusView,$R as _shaderssceneModeMorphing,vL as _shadersshadowDepthCompare,fM as _shadersshadowParameters,IL as _shadersshadowVisibility,DL as _shaderssignNotZero,eM as _shaderssolarRadius,PL as _shaderssphericalHarmonics,OL as _shaderssrgbToLinear,RL as _shaderstangentToEyeSpaceMatrix,ML as _shaderstextureCube,tM as _shadersthreePiOver2,LL as _shaderstransformPlane,NL as _shaderstranslateRelativeToEye,FL as _shaderstranslucentPhong,BL as _shaderstranspose,nM as _shaderstwoPi,kL as _shadersunpackClippingExtents,UL as _shadersunpackDepth,zL as _shadersunpackFloat,VL as _shadersunpackUint,HL as _shadersvalueTransform,GL as _shadersvertexLogDepth,iM as _shaderswebMercatorMaxLatitude,WL as _shaderswindowToEyeCoordinates,jL as _shaderswriteDepthClamp,YL as _shaderswriteLogDepth,qL as _shaderswriteNonPerspective,RF as addBuffer,TF as addDefaults,DF as addExtensionsRequired,Id as addExtensionsUsed,C0 as addPipelineExtras,Ys as addToArray,PO as appendForwardSlash,_o as arrayRemoveDuplicates,Ux as barycentricCoordinates,Po as binarySearch,Kt as buildModuleUrl,mH as buildVoxelDrawCommands,Ue as clone,ht as combine,nS as computeFlyToLocationForRectangle,dC as createBillboardPointCallback,_n as createCommand,$G as createDefaultImageryProviderViewModels,e5 as createDefaultTerrainProviderViewModels,WSe as createElevationBandMaterial,YSe as createGooglePhotorealistic3DTileset,Fn as createGuid,Ro as createMaterialPropertyDescriptor,qSe as createOsmBuildingsAsync,ue as createPropertyDescriptor,Tl as createRawPropertyDescriptor,XSe as createTangentSpaceDebugPrimitive,$Se as createTaskProcessorWorker,JO as createUniform,ZO as createUniformArray,lG as createWorldBathymetryAsync,cA as createWorldImageryAsync,ew as createWorldTerrainAsync,uG as decodeGoogleEarthEnterpriseData,k3 as decodeVectorPolylinePositions,WEe as defaultValue,tu as defer,l as defined,XL as demodernizeShader,Ws as deprecationWarning,fe as destroyObject,OAe as exportKml,MT as findAccessorMinMax,AC as findContentMetadata,bC as findGroupMetadata,H3 as findTileMetadata,Mv as forEachTextureInMaterial,Dg as formatError,q$ as freezeRenderState,gp as getAbsoluteUri,fu as getAccessorByteStride,OO as getBaseUri,gf as getBinaryAccessor,UH as getClipAndStyleCode,iA as getClippingFunction,L_ as getComponentReader,Cn as getElement,vx as getExtensionFromUri,Ty as getFilenameFromUri,pH as getImageFromTypedArray,Oh as getImagePixels,sr as getJsonFromTypedArray,tm as getMagic,CH as getMetadataClassProperty,SH as getMetadataProperty,cu as getStringFromTypedArray,Ai as getTimestamp,ti as hasExtension,A_ as heightReferenceOnEntityPropertyChanged,sl as isBitSet,Ix as isBlobUri,HA as isCrossOriginUrl,Zg as isDataUri,Ph as isLeapYear,be as knockout,lw as knockout_3_5_1,kG as knockout_es5,Dx as loadAndExecuteScript,rN as loadCubeMap,OT as loadImageFromTypedArray,nu as loadKTX2,uA as mergeSort,IF as moveTechniqueRenderStates,PF as moveTechniquesToExtension,yf as numberOfComponentsForType,Px as objectToQuery,dt as oneTimeWarning,K_ as parseBatchTable,aB as parseFeatureMetadataLegacy,SF as parseGlb,MO as parseResponseHeaders,sB as parseStructuralMetadata,mI as pickModel,jEe as pointInsideTriangle,ly as preprocess3DTileContent,hH as processVoxelProperties,$u as queryToObject,MF as readAccessorPacked,LT as removeExtension,EF as removeExtensionsRequired,RT as removeExtensionsUsed,vF as removePipelineExtras,OF as removeUnusedElements,S0 as resizeImageToNextPowerOfTwo,u4 as sampleTerrain,tS as sampleTerrainMostDetailed,Cx as scaleToGeodeticSurface,tw as srgbToLinear,zN as subdivideArray,Va as subscribeAndEvaluate,NF as updateAccessorComponentTypes,BF as updateVersion,_r as usesExtension,Vwe as viewerCesium3DTilesInspectorMixin,Hwe as viewerCesiumInspectorMixin,Wwe as viewerDragDropMixin,jwe as viewerPerformanceWatchdogMixin,qwe as viewerVoxelInspectorMixin,YEe as webGLConstantToGlslType,fG as wrapFunction,mC as writeTextToCanvas};
|