@mapgis/cesium 17.6.0 → 17.6.1

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.
@@ -18999,7 +18999,7 @@ void main()
18999
18999
  out_FragColor = vec4(mix(vec3(0.0), vec3(1.0), scale), 1.0);
19000
19000
  }
19001
19001
  `;function Hm(e,t){e=y(e,{}),this._options=y(t,{}),this._url=y(e.url,void 0),this._depth=0,this._index=void 0,this._indexHashMap=new em,this._resourse=Ie.createIfNeeded(this._url),this._m3dtreeChildren=[],this._m3dtreeParent=y(e.m3dtreeParent,void 0),this._queryResult=void 0,this._attMap=void 0,this._nodeName=void 0,this._init=!1}Object.defineProperties(Hm.prototype,{depth:{get:function(){return this._depth},set:function(e){this._depth=e}},index:{get:function(){return this._index},set:function(e){this._index=e}},indexHashMap:{get:function(){return this._indexHashMap},set:function(e){this._indexHashMap=e}},m3dtreeParent:{get:function(){return this._m3dtreeParent},set:function(e){this._m3dtreeParent=e}},m3dtreeChildren:{get:function(){return this._m3dtreeChildren},set:function(e){this._m3dtreeChildren=e}},attMap:{get:function(){return this._attMap},set:function(e){this._attMap=e}},nodeName:{get:function(){return this._nodeName},set:function(e){this._nodeName=e}}});function v2e(e,t,n){let i=[];if(i=t.children,u(i))for(let o=0;o<i.length;o++){let r=i[o];if(u(r._header.name)){let s=new Hm;if(u(r._content)&&u(r._content._attMap)&&(s.attMap=r._content._attMap),u(n)){if(r._depth<n){let c=r._header.name;s.indexHashMap.containsKey(c)||s.indexHashMap.put(c,r)}}else{let a=r._header.name,c=e.index+"-",l=a.replace(c,"");s.indexHashMap.containsKey(a)||s.indexHashMap.put(a,r),s.depth=r._depth,s.index=a,s.nodeName=l,s.m3dtreeParent=e,e.m3dtreeChildren.push(s),e=s}}v2e(e,r,n)}}Hm.prototype.createM3DTreeByTileset=function(e,t){if(!this._init){if(!u(e))return!1;let n=e.root,i=n._header,o="";return u(i)&&(u(i.dataName)?o=i.dataName:u(i.name)&&(o=i.name)),this.depth=n._depth,this.index=o,this.indexHashMap.containsKey(o)||this.indexHashMap.put(o,n),v2e(this,n,t),this._init=!0,!0}};var z7=!1,w2e;function D2e(e,t){let n=e.indexHashMap;if(n.containsKey(t)){let i=n.get(t);z7=!0,w2e=i}else if(!n.containsKey(t)){let i=e.m3dtreeChildren;if(u(i))for(let o=0;o<i.length;o++)if(z7){if(z7)break}else{let r=i[o];D2e(r,t)}}}Hm.prototype.getM3DByName=function(e){return D2e(this,e),z7=!1,w2e};Hm.prototype.createChildByParentNode=function(e){};Hm.prototype.createM3DTreeByRequest=function(e){zne(this,e)};Hm.createM3DTree=function(e,t){let n=new Hm(e,t);if(u(n._options.createType)){let i=n._options.createType;i==="ModelLoaded"?n.createM3DTreeByTileset(e):(i==="ModelUrl"||i==="")&&u(n._options.url)&&n.createM3DTreeByRequest(n._options.url)}return n};function zne(e,t,n,i){let o="";if(u(n)){n=n.replace("./","");let s=t.split("/");for(let a=0;a<s.length-1;a++)o+=s[a]+"/";o+=n}else o=t;new Ie({url:o}).fetchJson().then(function(s){let a;if(u(s.dataName)?a=s.dataName:u(s.name)&&(a=s.name),e.index=a,u(i)){let l=i.index+"-",f=e.index.replace(l,"");e.nodeName=f,e.depth=i.depth+1}else e.nodeName=a;let c="";if(u(s.rootNode)){let l=new Hm;c=s.rootNode.uri,u(i)?l._m3dtreeParent=i:l._m3dtreeParent=e,e._m3dtreeChildren.push(l),zne(l,o,c,e)}else if(u(s.childrenNode))for(let l=0;l<s.childrenNode.length;l++){let f=new Hm,d=s.childrenNode[l];u(i)&&(e._m3dtreeParent=i),e._m3dtreeChildren.push(f),c=d.uri,zne(f,o,c,e)}else!u(s.rootNode)&&!u(s.childrenNode)&&u(i)&&(e._m3dtreeParent=i)})}var P2e=Hm;function H7(e){this._viewer=e,this._scene=this._viewer.scene,this._intervalId=void 0,this._preRenderHandler=void 0}Object.defineProperties(H7.prototype,{models:{get:function(){return this._models},set:function(e){this._models=e}}});H7.prototype.resetExplosionByField=function(e){if(!Array.isArray(e))throw new ae("tilesets\u5FC5\u987B\u662F\u4E00\u4E2A\u6570\u7EC4");for(let t=0;t<e.length;t++)e[t].enableExplosion=!1};function Hne(e,t){if(!Array.isArray(e))throw new ae("tilesets\u5FC5\u987B\u662F\u4E00\u4E2A\u6570\u7EC4");for(let n=0;n<e.length;n++){let i=e[n],o;i._version==="2.1"||i._version==="2.2"?o="tid":i._version==="2.0"&&(o="OID"),i.enableExplosion=!0;let r=[],s=y(t.valueGroups,[]),a=y(t.moveDirection,new h(0,0,0)),c=y(t.field,Number.NaN),l=y(t.type,"unique");for(let f=0;f<s.length;f++){let d=s[f];if(d.moveDirection=a,l==="unique")if(c===o)r=YR(d.value,d.value,d,r);else{let p=Gne(d.value,d.value,i,c,l);for(let _=0;_<p.length;_++)r=YR(p[_],p[_],d,r)}else if(l==="range")if(c===o)r=YR(d.start,d.end,d,r);else{let p=Gne(d.start,d.end,i,c,l);for(let _=0;_<p.length;_++)r=YR(p[_],p[_],d,r)}else if(l==="contain"){let p=Gne(d.value,d.value,i,c,l);for(let _=0;_<p.length;_++)r=YR(p[_],p[_],d,r)}}i.explosionTextureData=r}}function X3t(e,t,n){if(t<0||t>n)return;let i=e.x*t/n,o=e.y*t/n,r=e.z*t/n;return new h(i,o,r)}function K3t(e,t,n){if(!(t<0||t>n))return e/n*t}H7.prototype.explosionByField=function(e,t){if(t=y(t,y.EMPTY_OBJECT),t.duration>0){let n=0,i=t.valueGroups,o=t.duration;u(this._preRenderHandler)&&this._scene.preRender.removeEventListener(this._preRenderHandler),this._preRenderTime=new Date().getTime(),this._preRenderHandler=()=>{if(n<=o){let r=[];if(u(t.moveDirection)){for(let a=0;a<i.length;a++)r.push({value:i[a].value,distance:K3t(i[a].distance,n,o)});Hne(e,{valueGroups:r,moveDirection:t.moveDirection,type:t.type,field:t.field})}else{for(let a=0;a<i.length;a++)r.push({value:i[a].value,direction:X3t(i[a].direction,n,o)});Hne(e,{valueGroups:r,type:t.type,field:t.field})}let s=new Date().getTime();n+=s-this._preRenderTime,this._preRenderTime=s}else{this._scene.preRender.removeEventListener(this._preRenderHandler),this._preRenderHandler=void 0;return}},this._scene.preRender.addEventListener(this._preRenderHandler)}else Hne(e,t)};function YR(e,t,n,i){if(i.push(e,t),u(n.distance)){let o=n.moveDirection.x*n.distance,r=n.moveDirection.y*n.distance,s=n.moveDirection.z*n.distance;i.push(o,r,s)}else if(u(n.direction)){let o=n.direction,r=o.x,s=o.y,a=o.z;i.push(r,s,a)}return i}function Gne(e,t,n,i,o){let s=[n.root],a=[],c=[],l;for(n._version==="2.1"||n._version==="2.2"?l="tid":n._version==="2.0"&&(l="OID");s.length>0;){let f=s.pop();if(f.children.length>0)for(let d=0;d<f.children.length;d++)s.push(f.children[d]);if(!(f.content instanceof Ld||f.content instanceof GT)){f.content instanceof Lp?a=f.content._contents:a=[f.content];for(let d=0;d<a.length;d++){let p=a[d]?.batchTable?._features;if(u(p))for(let _=0;_<p.length;_++){let m=p[_].getProperty(i),x=p[_].getProperty(l);if(o==="unique")m===e&&c.push(x);else if(o==="range")m>=e&&m<=t&&c.push(x);else if(o==="contain"){if(typeof m!="string"){console.warn(`\u5F53\u524D\u83B7\u53D6\u5230\u7684\u5C5E\u6027\u503C\u7C7B\u578B\u4E3A${typeof m}, \u5305\u542B\u5173\u7CFB\u4EC5\u652F\u6301\u5B57\u7B26\u4E32\u7C7B\u578B\u503C\u7684\u6BD4\u8F83`);continue}m.includes(e)&&c.push(x)}}}}}return c}var I2e=H7;var Z3t={SIGX:"SIGX",SIGY:"SIGY",SIGZ:"SIGZ",VARX:"VARX",VARY:"VARY",VARZ:"VARZ",SIGR:"VARZ"},R2e=Object.freeze(Z3t);function $3t(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: ${Y_(s)}
19002
- 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 O2e=$3t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.0";var XR;typeof ko<"u"&&(XR=ko);(function(){/*!
19002
+ 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 O2e=$3t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.1";var XR;typeof ko<"u"&&(XR=ko);(function(){/*!
19003
19003
  * Knockout JavaScript library v3.5.1
19004
19004
  * (c) The Knockout.js team - http://knockoutjs.com/
19005
19005
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
@@ -19013,8 +19013,8 @@ Message: `+ut.message,ut}})}return De=$e===e,{shouldBindDescendants:De,bindingCo
19013
19013
  * Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5
19014
19014
  * Copyright (c) Steve Sanderson
19015
19015
  * MIT license
19016
- */var Wne="__knockoutObservables",jne="__knockoutSubscribable";function M2e(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=L2e(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===Wne||o===jne)&&!(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&&eBt(n,a)}}),e}function L2e(e,t){var n=e[Wne];return!n&&t&&(n={},Object.defineProperty(e,Wne,{value:n})),n}function J3t(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),M2e.call(i,e,[t]),e}function eBt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=tBt(e,t,i))})}function tBt(e,t,n){var i=nBt(e,n);return i.subscribe(t)}function nBt(e,t){var n=t[jne];if(!n){n=new e.subscribable,Object.defineProperty(t,jne,{value:n});var i={};iBt(t,n,i),oBt(e,t,n,i)}return n}function iBt(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 oBt(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 N2e(e,t){if(!e)return null;var n=L2e(e,!1);return n&&n[t]||null}function rBt(e,t){var n=N2e(e,t);n&&n.valueHasMutated()}function sBt(e){e.track=M2e,e.getObservable=N2e,e.valueHasMutated=rBt,e.defineProperty=J3t}var G7={attachToKo:sBt};var F2e="http://www.w3.org/2000/svg",B2e="cesium-svgPath-svg",aBt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(F2e,"svg:svg");i.setAttribute("class",B2e);let o=document.createElementNS(F2e,"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",`${B2e} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},W7=aBt;G7.attachToKo(w1);W7.register(w1);var Se=w1;function KR(e){u(e)||(e=new hp),this._clock=e,this._eventHelper=new zs,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Se.observable(Q.now()),this.systemTime.equalityComparer=Q.equals,this.startTime=Se.observable(e.startTime),this.startTime.equalityComparer=Q.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Se.observable(e.stopTime),this.stopTime.equalityComparer=Q.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Se.observable(e.currentTime),this.currentTime.equalityComparer=Q.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Se.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Se.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Se.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Se.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Se.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Se.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(KR.prototype,{clock:{get:function(){return this._clock}}});KR.prototype.synchronize=function(){let e=this._clock;this.systemTime=Q.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};KR.prototype.isDestroyed=function(){return!1};KR.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var j7=KR;function cBt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,me.throwInstantiationError()}var k2e=cBt;function lBt(e,t){t=y(t,!0);let n=new be,i=new be;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,Se.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var ii=lBt;var ZR={};ZR.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 u(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};ZR.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};ZR.createRangeInput=function(e,t,n,i,o,r){r=y(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=y(o,"any"),a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let l=document.createElement("div");return l.className="cesium-cesiumInspector-slider",l.appendChild(document.createTextNode(e)),l.appendChild(s),l.appendChild(c),l};ZR.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 u(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var bl=ZR;function uBt(e,t,n,i,o){return n.call(i,e[t]),Se.getObservable(e,t).subscribe(n,i,o)}var kc=uBt;function V2e(e,t){this._command=e,t=y(t,y.EMPTY_OBJECT),this.toggled=y(t.toggled,!1),this.tooltip=y(t.tooltip,""),Se.track(this,["toggled","tooltip"])}Object.defineProperties(V2e.prototype,{command:{get:function(){return this._command}}});var PA=V2e;function U2e(e){e=y(e,y.EMPTY_OBJECT);let t=e.globe,n=y(e.imageryProviderViewModels,[]),i=y(e.terrainProviderViewModels,[]);this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Se.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Se.getObservable(this,"imageryProviderViewModels"),r=Se.pureComputed(function(){let d=o(),p={},_;for(_=0;_<d.length;_++){let b=d[_],T=b.category;u(p[T])?p[T].push(b):p[T]=[b]}let m=Object.keys(p),x=[];for(_=0;_<m.length;_++){let b=m[_];x.push({name:b,providers:p[b]})}return x});this._imageryProviders=r;let s=Se.getObservable(this,"terrainProviderViewModels"),a=Se.pureComputed(function(){let d=s(),p={},_;for(_=0;_<d.length;_++){let b=d[_],T=b.category;u(p[T])?p[T].push(b):p[T]=[b]}let m=Object.keys(p),x=[];for(_=0;_<m.length;_++){let b=m[_];x.push({name:b,providers:p[b]})}return x});this._terrainProviders=a,this.buttonTooltip=void 0,Se.defineProperty(this,"buttonTooltip",function(){let d=this.selectedImagery,p=this.selectedTerrain,_=u(d)?d.name:void 0,m=u(p)?p.name:void 0;return u(_)&&u(m)?`${_}
19017
- ${m}`:u(_)?_:m}),this.buttonImageUrl=void 0,Se.defineProperty(this,"buttonImageUrl",function(){let d=this.selectedImagery;if(u(d))return d.iconUrl}),this.selectedImagery=void 0;let c=Se.observable();this._currentImageryLayers=[],Se.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(d){if(c()===d){this.dropDownVisible=!1;return}let p,_=this._currentImageryLayers,m=_.length,x=this._globe.imageryLayers,b=!1;for(p=0;p<m;p++){let T=x.length;for(let C=0;C<T;C++){let A=x.get(C);if(A===_[p]){x.remove(A),b=!0;break}}}if(u(d)){let T=d.creationCommand();if(Array.isArray(T)){let C=T.length;for(this._currentImageryLayers=[],p=C-1;p>=0;p--){let A=Ks.fromProviderAsync(T[p]);x.add(A,0),this._currentImageryLayers.push(A)}}else{this._currentImageryLayers=[];let C=Ks.fromProviderAsync(T);if(C.name=d.name,b)x.add(C,0);else{let A=x.get(0);u(A)&&x.remove(A),x.add(C,0)}this._currentImageryLayers.push(C)}}c(d),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let l=Se.observable();Se.defineProperty(this,"selectedTerrain",{get:function(){return l()},set:function(d){if(l()===d){this.dropDownVisible=!1;return}let p;if(u(d)&&(p=d.creationCommand()),u(p)&&!u(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof cg),this._globe.terrainProvider=p;else if(u(p)){let _=!1,m=this._globe.terrainProviderChanged.addEventListener(()=>{_=!0,m()}),b=new O7(p).readyEvent.addEventListener(T=>{_||(this._globe.depthTestAgainstTerrain=!(T instanceof cg),this._globe.terrainProvider=T,b())})}l(d),this.dropDownVisible=!1}});let f=this;this._toggleDropDown=ii(function(){f.dropDownVisible=!f.dropDownVisible}),this.selectedImagery=y(e.selectedImageryProviderViewModel,n[0]),this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(U2e.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var q7=U2e;function Y7(e,t){e=fi(e);let n=new q7(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 l=document.createElement("div");l.className="cesium-baseLayerPicker-categoryTitle",l.setAttribute("data-bind","text: name"),c.appendChild(l);let f=document.createElement("div");f.className="cesium-baseLayerPicker-choices",f.setAttribute("data-bind","foreach: providers"),c.appendChild(f);let d=document.createElement("div");d.className="cesium-baseLayerPicker-item",d.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(d);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),d.appendChild(p);let _=document.createElement("div");_.className="cesium-baseLayerPicker-itemLabel",_.setAttribute("data-bind","text: name"),d.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 x=document.createElement("div");x.className="cesium-baseLayerPicker-section",x.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(x);let b=document.createElement("div");b.className="cesium-baseLayerPicker-category",x.appendChild(b);let T=document.createElement("div");T.className="cesium-baseLayerPicker-categoryTitle",T.setAttribute("data-bind","text: name"),b.appendChild(T);let C=document.createElement("div");C.className="cesium-baseLayerPicker-choices",C.setAttribute("data-bind","foreach: providers"),b.appendChild(C);let A=document.createElement("div");A.className="cesium-baseLayerPicker-item",A.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),C.appendChild(A);let E=document.createElement("img");E.className="cesium-baseLayerPicker-itemIcon",E.setAttribute("data-bind","attr: { src: iconUrl }"),E.setAttribute("draggable","false"),A.appendChild(E);let v=document.createElement("div");v.className="cesium-baseLayerPicker-itemLabel",v.setAttribute("data-bind","text: name"),A.appendChild(v),Se.applyBindings(n,i),Se.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(D){i.contains(D.target)||r.contains(D.target)||(n.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(Y7.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});Y7.prototype.isDestroyed=function(){return!1};Y7.prototype.destroy=function(){return pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._element),Se.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),he(this)};var X7=Y7;function z2e(e){let t=e.creationFunction;u(t.canExecute)||(t=ii(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=y(e.category,""),Se.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(z2e.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var da=z2e;function fBt(){let e=[],t=devicePixelRatio>=2;return e.push(new da({name:"Bing Maps Aerial",iconUrl:Tn("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.AERIAL})}})),e.push(new da({name:"Bing Maps Aerial with Labels",iconUrl:Tn("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.AERIAL_WITH_LABELS})}})),e.push(new da({name:"Bing Maps Roads",iconUrl:Tn("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.ROAD})}})),e.push(new da({name:"ArcGIS World Imagery",iconUrl:Tn("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
19016
+ */var Wne="__knockoutObservables",jne="__knockoutSubscribable";function M2e(e,t){if(!e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var n=this,i=L2e(e,!0);return t=t||Object.getOwnPropertyNames(e),t.forEach(function(o){if(!(o===Wne||o===jne)&&!(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&&eBt(n,a)}}),e}function L2e(e,t){var n=e[Wne];return!n&&t&&(n={},Object.defineProperty(e,Wne,{value:n})),n}function J3t(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),M2e.call(i,e,[t]),e}function eBt(e,t){var n=null;e.computed(function(){n&&(n.dispose(),n=null);var i=t();i instanceof Array&&(n=tBt(e,t,i))})}function tBt(e,t,n){var i=nBt(e,n);return i.subscribe(t)}function nBt(e,t){var n=t[jne];if(!n){n=new e.subscribable,Object.defineProperty(t,jne,{value:n});var i={};iBt(t,n,i),oBt(e,t,n,i)}return n}function iBt(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 oBt(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 N2e(e,t){if(!e)return null;var n=L2e(e,!1);return n&&n[t]||null}function rBt(e,t){var n=N2e(e,t);n&&n.valueHasMutated()}function sBt(e){e.track=M2e,e.getObservable=N2e,e.valueHasMutated=rBt,e.defineProperty=J3t}var G7={attachToKo:sBt};var F2e="http://www.w3.org/2000/svg",B2e="cesium-svgPath-svg",aBt={register:function(e){e.bindingHandlers.cesiumSvgPath={init:function(t,n){let i=document.createElementNS(F2e,"svg:svg");i.setAttribute("class",B2e);let o=document.createElementNS(F2e,"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",`${B2e} ${e.unwrap(r.css)}`)},disposeWhenNodeIsRemoved:t}),{controlsDescendantBindings:!0}}},e.virtualElements.allowedBindings.cesiumSvgPath=!0}},W7=aBt;G7.attachToKo(w1);W7.register(w1);var Se=w1;function KR(e){u(e)||(e=new hp),this._clock=e,this._eventHelper=new zs,this._eventHelper.add(e.onTick,this.synchronize,this),this.systemTime=Se.observable(Q.now()),this.systemTime.equalityComparer=Q.equals,this.startTime=Se.observable(e.startTime),this.startTime.equalityComparer=Q.equals,this.startTime.subscribe(function(t){e.startTime=t,this.synchronize()},this),this.stopTime=Se.observable(e.stopTime),this.stopTime.equalityComparer=Q.equals,this.stopTime.subscribe(function(t){e.stopTime=t,this.synchronize()},this),this.currentTime=Se.observable(e.currentTime),this.currentTime.equalityComparer=Q.equals,this.currentTime.subscribe(function(t){e.currentTime=t,this.synchronize()},this),this.multiplier=Se.observable(e.multiplier),this.multiplier.subscribe(function(t){e.multiplier=t,this.synchronize()},this),this.clockStep=Se.observable(e.clockStep),this.clockStep.subscribe(function(t){e.clockStep=t,this.synchronize()},this),this.clockRange=Se.observable(e.clockRange),this.clockRange.subscribe(function(t){e.clockRange=t,this.synchronize()},this),this.canAnimate=Se.observable(e.canAnimate),this.canAnimate.subscribe(function(t){e.canAnimate=t,this.synchronize()},this),this.shouldAnimate=Se.observable(e.shouldAnimate),this.shouldAnimate.subscribe(function(t){e.shouldAnimate=t,this.synchronize()},this),Se.track(this,["systemTime","startTime","stopTime","currentTime","multiplier","clockStep","clockRange","canAnimate","shouldAnimate"])}Object.defineProperties(KR.prototype,{clock:{get:function(){return this._clock}}});KR.prototype.synchronize=function(){let e=this._clock;this.systemTime=Q.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};KR.prototype.isDestroyed=function(){return!1};KR.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var j7=KR;function cBt(){this.canExecute=void 0,this.beforeExecute=void 0,this.afterExecute=void 0,me.throwInstantiationError()}var k2e=cBt;function lBt(e,t){t=y(t,!0);let n=new be,i=new be;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,Se.track(o,["canExecute"]),Object.defineProperties(o,{beforeExecute:{value:n},afterExecute:{value:i}}),o}var ii=lBt;var ZR={};ZR.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 u(n)&&(s+=`, enable: ${n}`),r.setAttribute("data-bind",s),o.appendChild(r),o.appendChild(document.createTextNode(e)),i.appendChild(o),i};ZR.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};ZR.createRangeInput=function(e,t,n,i,o,r){r=y(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=y(o,"any"),a.setAttribute("data-bind",`valueUpdate: "input", value: ${t}`);let c=document.createElement("div");c.appendChild(a);let l=document.createElement("div");return l.className="cesium-cesiumInspector-slider",l.appendChild(document.createTextNode(e)),l.appendChild(s),l.appendChild(c),l};ZR.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 u(n)&&(o+=`, css: {"cesium-cesiumInspector-pickButtonHighlight" : ${n}}`),i.setAttribute("data-bind",o),i};var bl=ZR;function uBt(e,t,n,i,o){return n.call(i,e[t]),Se.getObservable(e,t).subscribe(n,i,o)}var kc=uBt;function V2e(e,t){this._command=e,t=y(t,y.EMPTY_OBJECT),this.toggled=y(t.toggled,!1),this.tooltip=y(t.tooltip,""),Se.track(this,["toggled","tooltip"])}Object.defineProperties(V2e.prototype,{command:{get:function(){return this._command}}});var PA=V2e;var IA="http://www.w3.org/2000/svg",H2e="http://www.w3.org/1999/xlink",q7,$R=z.fromCssColorString("rgba(247,250,255,0.384)"),Y7=z.fromCssColorString("rgba(143,191,255,0.216)"),qne=z.fromCssColorString("rgba(153,197,255,0.098)"),X7=z.fromCssColorString("rgba(255,255,255,0.086)"),fBt=z.fromCssColorString("rgba(255,255,255,0.267)"),dBt=z.fromCssColorString("rgba(255,255,255,0)"),U2e=z.fromCssColorString("rgba(66,67,68,0.3)"),z2e=z.fromCssColorString("rgba(0,0,0,0.5)");function Sb(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var QR={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 Gm(e){let t=document.createElementNS(IA,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(Gm(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(H2e,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function Yne(e,t,n){let i=document.createElementNS(IA,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(IA,"tspan");return o.textContent=n,i.appendChild(o),i}function hBt(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var K7=new z;function $s(e,t){let n=t.alpha,i=1-n;return K7.red=e.red*i+t.red*n,K7.green=e.green*i+t.green*n,K7.blue=e.blue*i+t.blue*n,K7.toCssColorString()}function Xne(e,t,n){let i=QR[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 Gm(o)}function mBt(e,t,n){let i=QR[n],o=QR.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 Gm(r)}function pBt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&q7!==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,l;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,l=t.touches[0].clientY):(c=t.clientX,l=t.clientY),!i&&(c>a.right||c<a.left||l<a.top||l>a.bottom))return;let f=e._shuttleRingPointer.getBoundingClientRect(),d=c-o-a.left,p=l-r-a.top,_=Math.atan2(p,d)*180/Math.PI+90;_>180&&(_-=360);let m=n.shuttleRingAngle;i||c<f.right&&c>f.left&&l>f.top&&l<f.bottom?(q7=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=_):_<m?n.slower():_>m&&n.faster(),t.preventDefault()}else e===q7&&(q7=void 0),n.shuttleRingDragging=!1}function E0(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=[kc(t,"toggled",this.setToggled,this),kc(t,"tooltip",this.setTooltip,this),kc(t.command,"canExecute",this.setEnabled,this)]}E0.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();he(this)};E0.prototype.isDestroyed=function(){return!1};E0.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")}};E0.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")))};E0.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function D1(e,t){e=fi(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(IA,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",H2e);let s=document.createElementNS(IA,"g");this._topG=s,this._realtimeSVG=new E0(mBt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new E0(Xne(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new E0(Xne(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new E0(Xne(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(IA,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Gm({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let l=QR.animation_pathSwooshFX,f=QR.animation_pathPointer,d=Gm({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:l.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:l.d},{tagName:l.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:l.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=d,this._shuttleRingPointer=Gm({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:f.tagName,d:f.d});let p=Gm({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Gm({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let _=61,m=Gm({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:_});this._knobDate=Yne(0,-24,""),this._knobTime=Yne(0,-7,""),this._knobStatus=Yne(0,-41,"");let x=Gm({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:_}),b=document.createElementNS(IA,"g");b.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(b),s.appendChild(p),s.appendChild(a),b.appendChild(c),b.appendChild(d),b.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(m),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(x),r.appendChild(s),e.appendChild(r);let T=this;function C(R){pBt(T,R)}this._mouseCallback=C,c.addEventListener("mousedown",C,!0),c.addEventListener("touchstart",C,!0),d.addEventListener("mousedown",C,!0),d.addEventListener("touchstart",C,!0),n.addEventListener("mousemove",C,!0),n.addEventListener("touchmove",C,!0),n.addEventListener("mouseup",C,!0),n.addEventListener("touchend",C,!0),n.addEventListener("touchcancel",C,!0),this._shuttleRingPointer.addEventListener("mousedown",C,!0),this._shuttleRingPointer.addEventListener("touchstart",C,!0),this._knobOuter.addEventListener("mousedown",C,!0),this._knobOuter.addEventListener("touchstart",C,!0);let A=this._knobTime.childNodes[0],E=this._knobDate.childNodes[0],v=this._knobStatus.childNodes[0],D;this._subscriptions=[kc(t.pauseViewModel,"toggled",function(R){D!==R&&(D=R,D?T._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):T._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),kc(t,"shuttleRingAngle",function(R){hBt(T._shuttleRingPointer,T._knobOuter,R)}),kc(t,"dateLabel",function(R){E.textContent!==R&&(E.textContent=R)}),kc(t,"timeLabel",function(R){A.textContent!==R&&(A.textContent=R)}),kc(t,"multiplierLabel",function(R){v.textContent!==R&&(v.textContent=R)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(D1.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});D1.prototype.isDestroyed=function(){return!1};D1.prototype.destroy=function(){u(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 he(this)};D1.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};D1.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(u(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=Sb(this._themeNormal),n=Sb(this._themeHover),i=Sb(this._themeSelect),o=Sb(this._themeDisabled),r=Sb(this._themeKnob),s=Sb(this._themePointer),a=Sb(this._themeSwoosh),c=Sb(this._themeSwooshHover),l=Gm({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(t,$R)},{tagName:"stop",offset:"12%","stop-color":$s(t,Y7)},{tagName:"stop",offset:"46%","stop-color":$s(t,qne)},{tagName:"stop",offset:"81%","stop-color":$s(t,X7)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(n,$R)},{tagName:"stop",offset:"12%","stop-color":$s(n,Y7)},{tagName:"stop",offset:"46%","stop-color":$s(n,qne)},{tagName:"stop",offset:"81%","stop-color":$s(n,X7)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(i,$R)},{tagName:"stop",offset:"12%","stop-color":$s(i,Y7)},{tagName:"stop",offset:"46%","stop-color":$s(i,qne)},{tagName:"stop",offset:"81%","stop-color":$s(i,X7)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(o,fBt)},{tagName:"stop",offset:"75%","stop-color":$s(o,dBt)}]},{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":$s(s,z2e)},{tagName:"stop",offset:"100%","stop-color":$s(s,z2e)}]},{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":$s(r,$R)},{tagName:"stop",offset:"60%","stop-color":$s(r,U2e)},{tagName:"stop",offset:"85%","stop-color":$s(r,Y7)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":$s(r,U2e)},{tagName:"stop",offset:"60%","stop-color":$s(r,$R)},{tagName:"stop",offset:"85%","stop-color":$s(r,X7)}]}]});u(this._defsElement)?this._svgNode.replaceChild(l,this._defsElement):this._svgNode.appendChild(l),this._defsElement=l};var Z7=D1;var _Bt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],vb=15,P1=105;function G2e(e,t){return e-t}function Kne(e,t){let n=Mr(t,e,G2e);return n<0?~n:n}function gBt(e,t){if(Math.abs(e)<=vb)return e/vb;let n=vb,i=P1,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 yBt(e,t,n){if(n.clockStep===_r.SYSTEM_CLOCK)return vb;if(Math.abs(e)<=1)return e*vb;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=vb,r=P1,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 xh(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=xh.defaultDateFormatter,this._timeFormatter=xh.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Se.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(xh.defaultTicks),this.timeLabel=void 0,Se.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Se.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Se.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===_r.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,Se.defineProperty(this,"shuttleRingAngle",{get:function(){return yBt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,P1),-P1);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=_r.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===P1){c.multiplier=s>0?a[a.length-1]:a[0];return}let l=gBt(s,a);if(t.snapToTicks)l=a[Kne(l,a)];else if(l!==0){let f=Math.abs(l);if(f>100){let d=f.toFixed(0).length-2,p=Math.pow(10,d);l=Math.round(l/p)*p|0}else f>vb?l=Math.round(l):f>1?l=+l.toFixed(1):f>0&&(l=+l.toFixed(2))}c.multiplier=l}}),this._canAnimate=void 0,Se.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Vs.UNBOUNDED)return!0;let c=s.multiplier,l=s.currentTime,f=s.startTime,d=!1;if(a===Vs.LOOP_STOP)d=Q.greaterThan(l,f)||l.equals(f)&&c>0;else{let p=s.stopTime;d=Q.greaterThan(l,f)&&Q.lessThan(l,p)||l.equals(f)&&c>0||l.equals(p)&&c<0}return d||(s.shouldAnimate=!1),d}),this._isSystemTimeAvailable=void 0,Se.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Vs.UNBOUNDED)return!0;let c=s.systemTime;return Q.greaterThanOrEquals(c,s.startTime)&&Q.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Se.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=ii(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new PA(n,{toggled:Se.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=ii(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new PA(i,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=ii(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new PA(o,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==_r.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=ii(function(){t._clockViewModel.clockStep=_r.SYSTEM_CLOCK},Se.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new PA(r,{toggled:Se.computed(function(){return e.clockStep===_r.SYSTEM_CLOCK}),tooltip:Se.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=ii(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Kne(c,a)-1;l>=0&&(s.multiplier=a[l])}),this._faster=ii(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Kne(c,a)+1;l<a.length&&(s.multiplier=a[l])})}xh.defaultDateFormatter=function(e,t){let n=Q.toGregorianDate(e);return`${_Bt[n.month-1]} ${n.day} ${n.year}`};xh.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];xh.defaultTimeFormatter=function(e,t){let n=Q.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`};xh.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};xh.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(G2e);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(xh.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}}});xh._maxShuttleRingAngle=P1;xh._realtimeShuttleRingAngle=vb;var $7=xh;function W2e(e){e=y(e,y.EMPTY_OBJECT);let t=e.globe,n=y(e.imageryProviderViewModels,[]),i=y(e.terrainProviderViewModels,[]);this._globe=t,this.imageryProviderViewModels=n.slice(0),this.terrainProviderViewModels=i.slice(0),this.dropDownVisible=!1,Se.track(this,["imageryProviderViewModels","terrainProviderViewModels","dropDownVisible"]);let o=Se.getObservable(this,"imageryProviderViewModels"),r=Se.pureComputed(function(){let d=o(),p={},_;for(_=0;_<d.length;_++){let b=d[_],T=b.category;u(p[T])?p[T].push(b):p[T]=[b]}let m=Object.keys(p),x=[];for(_=0;_<m.length;_++){let b=m[_];x.push({name:b,providers:p[b]})}return x});this._imageryProviders=r;let s=Se.getObservable(this,"terrainProviderViewModels"),a=Se.pureComputed(function(){let d=s(),p={},_;for(_=0;_<d.length;_++){let b=d[_],T=b.category;u(p[T])?p[T].push(b):p[T]=[b]}let m=Object.keys(p),x=[];for(_=0;_<m.length;_++){let b=m[_];x.push({name:b,providers:p[b]})}return x});this._terrainProviders=a,this.buttonTooltip=void 0,Se.defineProperty(this,"buttonTooltip",function(){let d=this.selectedImagery,p=this.selectedTerrain,_=u(d)?d.name:void 0,m=u(p)?p.name:void 0;return u(_)&&u(m)?`${_}
19017
+ ${m}`:u(_)?_:m}),this.buttonImageUrl=void 0,Se.defineProperty(this,"buttonImageUrl",function(){let d=this.selectedImagery;if(u(d))return d.iconUrl}),this.selectedImagery=void 0;let c=Se.observable();this._currentImageryLayers=[],Se.defineProperty(this,"selectedImagery",{get:function(){return c()},set:function(d){if(c()===d){this.dropDownVisible=!1;return}let p,_=this._currentImageryLayers,m=_.length,x=this._globe.imageryLayers,b=!1;for(p=0;p<m;p++){let T=x.length;for(let C=0;C<T;C++){let A=x.get(C);if(A===_[p]){x.remove(A),b=!0;break}}}if(u(d)){let T=d.creationCommand();if(Array.isArray(T)){let C=T.length;for(this._currentImageryLayers=[],p=C-1;p>=0;p--){let A=Ks.fromProviderAsync(T[p]);x.add(A,0),this._currentImageryLayers.push(A)}}else{this._currentImageryLayers=[];let C=Ks.fromProviderAsync(T);if(C.name=d.name,b)x.add(C,0);else{let A=x.get(0);u(A)&&x.remove(A),x.add(C,0)}this._currentImageryLayers.push(C)}}c(d),this.dropDownVisible=!1}}),this.selectedTerrain=void 0;let l=Se.observable();Se.defineProperty(this,"selectedTerrain",{get:function(){return l()},set:function(d){if(l()===d){this.dropDownVisible=!1;return}let p;if(u(d)&&(p=d.creationCommand()),u(p)&&!u(p.then))this._globe.depthTestAgainstTerrain=!(p instanceof cg),this._globe.terrainProvider=p;else if(u(p)){let _=!1,m=this._globe.terrainProviderChanged.addEventListener(()=>{_=!0,m()}),b=new O7(p).readyEvent.addEventListener(T=>{_||(this._globe.depthTestAgainstTerrain=!(T instanceof cg),this._globe.terrainProvider=T,b())})}l(d),this.dropDownVisible=!1}});let f=this;this._toggleDropDown=ii(function(){f.dropDownVisible=!f.dropDownVisible}),this.selectedImagery=y(e.selectedImageryProviderViewModel,n[0]),this.selectedTerrain=e.selectedTerrainProviderViewModel}Object.defineProperties(W2e.prototype,{toggleDropDown:{get:function(){return this._toggleDropDown}},globe:{get:function(){return this._globe}}});var Q7=W2e;function J7(e,t){e=fi(e);let n=new Q7(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 l=document.createElement("div");l.className="cesium-baseLayerPicker-categoryTitle",l.setAttribute("data-bind","text: name"),c.appendChild(l);let f=document.createElement("div");f.className="cesium-baseLayerPicker-choices",f.setAttribute("data-bind","foreach: providers"),c.appendChild(f);let d=document.createElement("div");d.className="cesium-baseLayerPicker-item",d.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(d);let p=document.createElement("img");p.className="cesium-baseLayerPicker-itemIcon",p.setAttribute("data-bind","attr: { src: iconUrl }"),p.setAttribute("draggable","false"),d.appendChild(p);let _=document.createElement("div");_.className="cesium-baseLayerPicker-itemLabel",_.setAttribute("data-bind","text: name"),d.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 x=document.createElement("div");x.className="cesium-baseLayerPicker-section",x.setAttribute("data-bind","foreach: _terrainProviders"),r.appendChild(x);let b=document.createElement("div");b.className="cesium-baseLayerPicker-category",x.appendChild(b);let T=document.createElement("div");T.className="cesium-baseLayerPicker-categoryTitle",T.setAttribute("data-bind","text: name"),b.appendChild(T);let C=document.createElement("div");C.className="cesium-baseLayerPicker-choices",C.setAttribute("data-bind","foreach: providers"),b.appendChild(C);let A=document.createElement("div");A.className="cesium-baseLayerPicker-item",A.setAttribute("data-bind",'css: { "cesium-baseLayerPicker-selectedItem" : $data === $parents[1].selectedTerrain },attr: { title: tooltip },visible: creationCommand.canExecute,click: function($data) { $parents[1].selectedTerrain = $data; }'),C.appendChild(A);let E=document.createElement("img");E.className="cesium-baseLayerPicker-itemIcon",E.setAttribute("data-bind","attr: { src: iconUrl }"),E.setAttribute("draggable","false"),A.appendChild(E);let v=document.createElement("div");v.className="cesium-baseLayerPicker-itemLabel",v.setAttribute("data-bind","text: name"),A.appendChild(v),Se.applyBindings(n,i),Se.applyBindings(n,r),this._viewModel=n,this._container=e,this._element=i,this._dropPanel=r,this._closeDropDown=function(D){i.contains(D.target)||r.contains(D.target)||(n.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(J7.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});J7.prototype.isDestroyed=function(){return!1};J7.prototype.destroy=function(){return pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._element),Se.cleanNode(this._dropPanel),this._container.removeChild(this._element),this._container.removeChild(this._dropPanel),he(this)};var eW=J7;function j2e(e){let t=e.creationFunction;u(t.canExecute)||(t=ii(t)),this._creationCommand=t,this.name=e.name,this.tooltip=e.tooltip,this.iconUrl=e.iconUrl,this._category=y(e.category,""),Se.track(this,["name","tooltip","iconUrl"])}Object.defineProperties(j2e.prototype,{creationCommand:{get:function(){return this._creationCommand}},category:{get:function(){return this._category}}});var da=j2e;function xBt(){let e=[],t=devicePixelRatio>=2;return e.push(new da({name:"Bing Maps Aerial",iconUrl:Tn("Widgets/Images/ImageryProviders/bingAerial.png"),tooltip:"Bing Maps aerial imagery, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.AERIAL})}})),e.push(new da({name:"Bing Maps Aerial with Labels",iconUrl:Tn("Widgets/Images/ImageryProviders/bingAerialLabels.png"),tooltip:"Bing Maps aerial imagery with labels, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.AERIAL_WITH_LABELS})}})),e.push(new da({name:"Bing Maps Roads",iconUrl:Tn("Widgets/Images/ImageryProviders/bingRoads.png"),tooltip:"Bing Maps standard road maps, provided by Cesium ion",category:"Cesium ion",creationFunction:function(){return fb({style:ub.ROAD})}})),e.push(new da({name:"ArcGIS World Imagery",iconUrl:Tn("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
19018
19018
  https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9`,category:"Other",creationFunction:function(){return rb.fromBasemapType(y_.SATELLITE,{enablePickFeatures:!1})}})),e.push(new da({name:"ArcGIS World Hillshade",iconUrl:Tn("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
19019
19019
  https://www.arcgis.com/home/item.html?id=1b243539f4514b6ba35e7d995890db1d`,category:"Other",creationFunction:function(){return rb.fromBasemapType(y_.HILLSHADE,{enablePickFeatures:!1})}})),e.push(new da({name:"Esri World Ocean",iconUrl:Tn("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
19020
19020
  https://www.arcgis.com/home/item.html?id=1e126e7520f9466c9ca28b8f28b5e500`,category:"Other",creationFunction:function(){return rb.fromBasemapType(y_.OCEANS,{enablePickFeatures:!1})}})),e.push(new da({name:"Open\xADStreet\xADMap",iconUrl:Tn("Widgets/Images/ImageryProviders/openStreetMap.png"),tooltip:`OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
@@ -19033,14 +19033,14 @@ https://docs.stadiamaps.com/map-styles/alidade-smooth/`,category:"Other",creatio
19033
19033
  https://docs.stadiamaps.com/map-styles/alidade-smooth-dark/`,category:"Other",creationFunction:function(){return new _b({url:"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/",retinaTiles:t,credit:`&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a>
19034
19034
  &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a>
19035
19035
  &copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>`})}})),e.push(new da({name:"Sentinel-2",iconUrl:Tn("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 lb.fromAssetId(3954)}})),e.push(new da({name:"Blue Marble",iconUrl:Tn("Widgets/Images/ImageryProviders/blueMarble.png"),tooltip:"Blue Marble Next Generation July, 2004 imagery from NASA.",category:"Cesium ion",creationFunction:function(){return lb.fromAssetId(3845)}})),e.push(new da({name:"Earth at night",iconUrl:Tn("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 lb.fromAssetId(3812)}})),e.push(new da({name:"Natural Earth\xA0II",iconUrl:Tn("Widgets/Images/ImageryProviders/naturalEarthII.png"),tooltip:`Natural Earth II, darkened for contrast.
19036
- http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return ZC.fromUrl(Tn("Assets/Textures/NaturalEarthII"))}})),e}var K7=fBt;function dBt(){let e=[];return e.push(new da({name:"WGS84 Ellipsoid",iconUrl:Tn("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new cg({ellipsoid:ne.WGS84})}})),e.push(new da({name:"Cesium World Terrain",iconUrl:Tn("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 ME({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var Z7=dBt;function hBt(e){return function(t){let n=e._scene.pick(t.position);u(n)&&(n.primitive instanceof ra||n.primitive instanceof tu)&&(e.tileset=n.primitive),e.pickActive=!1}}function G2e(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);u(i)&&(i.primitive instanceof ra||i.primitive instanceof tu)&&(e.tileset=i.primitive)},Zn.MOUSE_MOVE):(e._eventHandler.removeInputAction(Zn.MOUSE_MOVE),e.picking=e.picking)}var mBt={maximumFractionDigits:3};function $R(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,mBt):Math.round(t).toLocaleString()}function QR(e,t){if(!u(e))return"";let n=t?e._statisticsPerPass[ro.PICK]:e._statisticsPerPass[ro.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>${$R(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${$R(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${$R(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function W2e(){let e=Ji.statistics;return`
19036
+ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:function(){return ZC.fromUrl(Tn("Assets/Textures/NaturalEarthII"))}})),e}var tW=xBt;function bBt(){let e=[];return e.push(new da({name:"WGS84 Ellipsoid",iconUrl:Tn("Widgets/Images/TerrainProviders/Ellipsoid.png"),tooltip:"WGS84 standard ellipsoid, also known as EPSG:4326",category:"Cesium ion",creationFunction:function(){return new cg({ellipsoid:ne.WGS84})}})),e.push(new da({name:"Cesium World Terrain",iconUrl:Tn("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 ME({requestWaterMask:!0,requestVertexNormals:!0})}})),e}var nW=bBt;function TBt(e){return function(t){let n=e._scene.pick(t.position);u(n)&&(n.primitive instanceof ra||n.primitive instanceof tu)&&(e.tileset=n.primitive),e.pickActive=!1}}function Y2e(e,t){t?e._eventHandler.setInputAction(function(n){let i=e._scene.pick(n.endPosition);u(i)&&(i.primitive instanceof ra||i.primitive instanceof tu)&&(e.tileset=i.primitive)},Zn.MOUSE_MOVE):(e._eventHandler.removeInputAction(Zn.MOUSE_MOVE),e.picking=e.picking)}var CBt={maximumFractionDigits:3};function JR(e){let t=e/1048576;return t<1?t.toLocaleString(void 0,CBt):Math.round(t).toLocaleString()}function eO(e,t){if(!u(e))return"";let n=t?e._statisticsPerPass[ro.PICK]:e._statisticsPerPass[ro.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>${JR(n.geometryByteLength)}</li><li><strong>Texture Memory (MB): </strong>${JR(n.texturesByteLength)}</li><li><strong>Batch Table Memory (MB): </strong>${JR(n.batchTableByteLength)}</li>`,i+="</ul>"),i}function X2e(){let e=Ji.statistics;return`
19037
19037
  <ul class="cesium-cesiumInspector-statistics">
19038
- <li><strong>Geometry Memory (MB): </strong>${$R(e.geometryByteLength)}</li>
19039
- <li><strong>Texture Memory (MB): </strong>${$R(e.texturesByteLength)}</li>
19038
+ <li><strong>Geometry Memory (MB): </strong>${JR(e.geometryByteLength)}</li>
19039
+ <li><strong>Texture Memory (MB): </strong>${JR(e.texturesByteLength)}</li>
19040
19040
  </ul>
19041
- `}var pBt=[{text:"Highlight",value:Yl.HIGHLIGHT},{text:"Replace",value:Yl.REPLACE},{text:"Mix",value:Yl.MIX}],H2e=new z(1,1,0,.4),_Bt=new z,$7=new z;function bc(e,t){let n=this,i=e.canvas;this._eventHandler=new vd(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new gb({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let k=[],W=n._properties();for(let j in W)W.hasOwnProperty(j)&&k.push(j);return k});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(k){o(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceError=k)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(k){r(k),u(n._tileset)&&(n._tileset.colorBlendMode=k,n._scene.requestRender())}}),this.colorBlendMode=Yl.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(k){a(k),k?n._eventHandler.setInputAction(function(W){let j=e.pick(W.endPosition);if(j instanceof rc?(n.feature=j,n.tile=j.content.tile):u(j)&&u(j.content)?(n.feature=void 0,n.tile=j.content.tile):(n.feature=void 0,n.tile=void 0),!!u(n._tileset)){if(s&&u(j)&&u(j.content)){let K;e.pickPositionSupported&&(K=e.pickPosition(W.endPosition),u(K)&&(n._tileset.debugPickPosition=K)),n._tileset.debugPickedTile=j.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},Zn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(Zn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(k){c(k),u(n._tileset)&&(n._tileset.debugColorizeTiles=k,n._scene.requestRender())}}),this.colorize=!1;let l=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return l()},set:function(k){l(k),u(n._tileset)&&(n._tileset.debugWireframe=k,n._scene.requestRender())}}),this.wireframe=!1;let f=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return f()},set:function(k){f(k),u(n._tileset)&&(n._tileset.debugShowBoundingVolume=k,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let d=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return d()},set:function(k){d(k),u(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=k,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(k){p(k),u(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=k,n._scene.requestRender())}}),this.showRequestVolumes=!1;let _=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return _()},set:function(k){_(k),u(n._tileset)&&(n._tileset.debugFreezeFrame=k,n._scene.debugShowFrustumPlanes=k,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(k){s(k),u(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=k,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let m=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return m()},set:function(k){m(k),u(n._tileset)&&(n._tileset.debugShowGeometricError=k,n._scene.requestRender())}}),this.showGeometricError=!1;let x=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return x()},set:function(k){x(k),u(n._tileset)&&(n._tileset.debugShowRenderingStatistics=k,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let b=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return b()},set:function(k){b(k),u(n._tileset)&&(n._tileset.debugShowMemoryUsage=k,n._scene.requestRender())}}),this.showMemoryUsage=!1;let T=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return T()},set:function(k){T(k),u(n._tileset)&&(n._tileset.debugShowUrl=k,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(k){k=Number(k),isNaN(k)||(C(k),u(n._tileset)&&(n._tileset.maximumScreenSpaceError=k))}}),this.maximumScreenSpaceError=16;let A=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return A()},set:function(k){k=Number(k),isNaN(k)||(A(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=k))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(A(),1/6)},set:function(k){let W=Math.pow(k,6);A(W),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=W)}});let E=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return E()},set:function(k){k=Number(k),isNaN(k)||(E(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=k))}}),this.dynamicScreenSpaceErrorFactor=24;let v=hBt(this),D=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return D()},set:function(k){D(k),k?n._eventHandler.setInputAction(v,Zn.LEFT_CLICK):n._eventHandler.removeInputAction(Zn.LEFT_CLICK)}});let R=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return R()},set:function(k){R(k),u(n._tileset)&&(n._tileset.pointCloudShading.attenuation=k)}}),this.pointCloudShading=!1;let O=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return O()},set:function(k){k=Number(k),isNaN(k)||(O(k),u(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=k))}}),this.geometricErrorScale=1;let L=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return L()},set:function(k){k=Number(k),isNaN(k)||(L(k),u(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=k===0?void 0:k))}}),this.maximumAttenuation=0;let N=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(k){k=Number(k),isNaN(k)||(N(k),u(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=k===0?void 0:k))}}),this.baseResolution=0;let g=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return g()},set:function(k){g(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=k)}}),this.eyeDomeLighting=!1;let S=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return S()},set:function(k){k=Number(k),isNaN(k)||(S(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=k))}}),this.eyeDomeLightingStrength=1;let w=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return w()},set:function(k){k=Number(k),isNaN(k)||(w(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=k))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let P=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return P()},set:function(k){P(k),u(n._tileset)&&(n._tileset.skipLevelOfDetail=k)}}),this.skipLevelOfDetail=!0;let F=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return F()},set:function(k){k=Number(k),isNaN(k)||(F(k),u(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=k))}}),this.skipScreenSpaceErrorFactor=16;let B=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return B()},set:function(k){k=Number(k),isNaN(k)||(B(k),u(n._tileset)&&(n._tileset.baseScreenSpaceError=k))}}),this.baseScreenSpaceError=1024;let G=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return G()},set:function(k){k=Number(k),isNaN(k)||(G(k),u(n._tileset)&&(n._tileset.skipLevels=k))}}),this.skipLevels=1;let V=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return V()},set:function(k){V(k),u(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=k)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let U=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return U()},set:function(k){U(k),u(n._tileset)&&(n._tileset.loadSiblings=k)}}),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()}),u(this._tileset)||G2e(this,!0)}Object.defineProperties(bc.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 pBt}},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,u(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=QR(e,!1),this._pickStatisticsText=QR(e,!0),this._resourceCacheStatisticsText=W2e(),G2e(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;u(t)&&!t.content.isDestroyed()&&(!this.colorize&&u(this._style)?t.color=u(this._style.color)?this._style.color.evaluateColor(t,_Bt):z.WHITE:t.color=$7,this._scene.requestRender()),u(e)&&(z.clone(e.color,$7),e.color=H2e,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;u(t)&&!t.isDestroyed()&&!qne(t.content)&&(t.color=$7,this._scene.requestRender()),u(e)&&!qne(e.content)&&(z.clone(e.color,$7),e.color=H2e,this._scene.requestRender()),this._tile=e}}});function qne(e){if(!u(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(u(t)){let n=t.length;for(let i=0;i<n;++i)if(!qne(t[i]))return!1;return!0}return!1}bc.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};bc.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};bc.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};bc.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};bc.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};bc.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};bc.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};bc.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};bc.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};bc.prototype.trimTilesCache=function(){u(this._tileset)&&this._tileset.trimLoadedTiles()};bc.prototype.compileStyle=function(){let e=this._tileset;if(!(!u(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new Hw(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};bc.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(`
19041
+ `}var ABt=[{text:"Highlight",value:Yl.HIGHLIGHT},{text:"Replace",value:Yl.REPLACE},{text:"Mix",value:Yl.MIX}],q2e=new z(1,1,0,.4),EBt=new z,iW=new z;function bc(e,t){let n=this,i=e.canvas;this._eventHandler=new vd(i),this._scene=e,this._performanceContainer=t,this._canvas=i,this._performanceDisplay=new gb({container:t}),this._statisticsText="",this._pickStatisticsText="",this._resourceCacheStatisticsText="",this._editorError="",this.performance=!1,this.showStatistics=!0,this.showPickStatistics=!0,this.showResourceCacheStatistics=!1,this.inspectorVisible=!0,this.tilesetVisible=!1,this.displayVisible=!1,this.updateVisible=!1,this.loggingVisible=!1,this.styleVisible=!1,this.tileDebugLabelsVisible=!1,this.optimizationVisible=!1,this.styleString="{}",this.hasEnabledWireframe=!1,this._tileset=void 0,this._feature=void 0,this._tile=void 0,Se.track(this,["performance","inspectorVisible","_statisticsText","_pickStatisticsText","_resourceCacheStatisticsText","_editorError","showPickStatistics","showStatistics","showResourceCacheStatistics","tilesetVisible","displayVisible","updateVisible","loggingVisible","styleVisible","optimizationVisible","tileDebugLabelsVisible","styleString","_feature","_tile","_tileset","hasEnabledWireframe"]),this._properties=Se.observable({}),this.properties=[],Se.defineProperty(this,"properties",function(){let k=[],W=n._properties();for(let j in W)W.hasOwnProperty(j)&&k.push(j);return k});let o=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceError",{get:function(){return o()},set:function(k){o(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceError=k)}}),this.dynamicScreenSpaceError=!1;let r=Se.observable();Se.defineProperty(this,"colorBlendMode",{get:function(){return r()},set:function(k){r(k),u(n._tileset)&&(n._tileset.colorBlendMode=k,n._scene.requestRender())}}),this.colorBlendMode=Yl.HIGHLIGHT;let s=Se.observable(),a=Se.observable();Se.defineProperty(this,"picking",{get:function(){return a()},set:function(k){a(k),k?n._eventHandler.setInputAction(function(W){let j=e.pick(W.endPosition);if(j instanceof rc?(n.feature=j,n.tile=j.content.tile):u(j)&&u(j.content)?(n.feature=void 0,n.tile=j.content.tile):(n.feature=void 0,n.tile=void 0),!!u(n._tileset)){if(s&&u(j)&&u(j.content)){let K;e.pickPositionSupported&&(K=e.pickPosition(W.endPosition),u(K)&&(n._tileset.debugPickPosition=K)),n._tileset.debugPickedTile=j.content.tile}else n._tileset.debugPickedTile=void 0;n._scene.requestRender()}},Zn.MOUSE_MOVE):(n.feature=void 0,n.tile=void 0,n._eventHandler.removeInputAction(Zn.MOUSE_MOVE))}}),this.picking=!0;let c=Se.observable();Se.defineProperty(this,"colorize",{get:function(){return c()},set:function(k){c(k),u(n._tileset)&&(n._tileset.debugColorizeTiles=k,n._scene.requestRender())}}),this.colorize=!1;let l=Se.observable();Se.defineProperty(this,"wireframe",{get:function(){return l()},set:function(k){l(k),u(n._tileset)&&(n._tileset.debugWireframe=k,n._scene.requestRender())}}),this.wireframe=!1;let f=Se.observable();Se.defineProperty(this,"showBoundingVolumes",{get:function(){return f()},set:function(k){f(k),u(n._tileset)&&(n._tileset.debugShowBoundingVolume=k,n._scene.requestRender())}}),this.showBoundingVolumes=!1;let d=Se.observable();Se.defineProperty(this,"showContentBoundingVolumes",{get:function(){return d()},set:function(k){d(k),u(n._tileset)&&(n._tileset.debugShowContentBoundingVolume=k,n._scene.requestRender())}}),this.showContentBoundingVolumes=!1;let p=Se.observable();Se.defineProperty(this,"showRequestVolumes",{get:function(){return p()},set:function(k){p(k),u(n._tileset)&&(n._tileset.debugShowViewerRequestVolume=k,n._scene.requestRender())}}),this.showRequestVolumes=!1;let _=Se.observable();Se.defineProperty(this,"freezeFrame",{get:function(){return _()},set:function(k){_(k),u(n._tileset)&&(n._tileset.debugFreezeFrame=k,n._scene.debugShowFrustumPlanes=k,n._scene.requestRender())}}),this.freezeFrame=!1,Se.defineProperty(this,"showOnlyPickedTileDebugLabel",{get:function(){return s()},set:function(k){s(k),u(n._tileset)&&(n._tileset.debugPickedTileLabelOnly=k,n._scene.requestRender())}}),this.showOnlyPickedTileDebugLabel=!1;let m=Se.observable();Se.defineProperty(this,"showGeometricError",{get:function(){return m()},set:function(k){m(k),u(n._tileset)&&(n._tileset.debugShowGeometricError=k,n._scene.requestRender())}}),this.showGeometricError=!1;let x=Se.observable();Se.defineProperty(this,"showRenderingStatistics",{get:function(){return x()},set:function(k){x(k),u(n._tileset)&&(n._tileset.debugShowRenderingStatistics=k,n._scene.requestRender())}}),this.showRenderingStatistics=!1;let b=Se.observable();Se.defineProperty(this,"showMemoryUsage",{get:function(){return b()},set:function(k){b(k),u(n._tileset)&&(n._tileset.debugShowMemoryUsage=k,n._scene.requestRender())}}),this.showMemoryUsage=!1;let T=Se.observable();Se.defineProperty(this,"showUrl",{get:function(){return T()},set:function(k){T(k),u(n._tileset)&&(n._tileset.debugShowUrl=k,n._scene.requestRender())}}),this.showUrl=!1;let C=Se.observable();Se.defineProperty(this,"maximumScreenSpaceError",{get:function(){return C()},set:function(k){k=Number(k),isNaN(k)||(C(k),u(n._tileset)&&(n._tileset.maximumScreenSpaceError=k))}}),this.maximumScreenSpaceError=16;let A=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorDensity",{get:function(){return A()},set:function(k){k=Number(k),isNaN(k)||(A(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=k))}}),this.dynamicScreenSpaceErrorDensity=2e-4,this.dynamicScreenSpaceErrorDensitySliderValue=void 0,Se.defineProperty(this,"dynamicScreenSpaceErrorDensitySliderValue",{get:function(){return Math.pow(A(),1/6)},set:function(k){let W=Math.pow(k,6);A(W),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorDensity=W)}});let E=Se.observable();Se.defineProperty(this,"dynamicScreenSpaceErrorFactor",{get:function(){return E()},set:function(k){k=Number(k),isNaN(k)||(E(k),u(n._tileset)&&(n._tileset.dynamicScreenSpaceErrorFactor=k))}}),this.dynamicScreenSpaceErrorFactor=24;let v=TBt(this),D=Se.observable();Se.defineProperty(this,"pickActive",{get:function(){return D()},set:function(k){D(k),k?n._eventHandler.setInputAction(v,Zn.LEFT_CLICK):n._eventHandler.removeInputAction(Zn.LEFT_CLICK)}});let R=Se.observable();Se.defineProperty(this,"pointCloudShading",{get:function(){return R()},set:function(k){R(k),u(n._tileset)&&(n._tileset.pointCloudShading.attenuation=k)}}),this.pointCloudShading=!1;let O=Se.observable();Se.defineProperty(this,"geometricErrorScale",{get:function(){return O()},set:function(k){k=Number(k),isNaN(k)||(O(k),u(n._tileset)&&(n._tileset.pointCloudShading.geometricErrorScale=k))}}),this.geometricErrorScale=1;let L=Se.observable();Se.defineProperty(this,"maximumAttenuation",{get:function(){return L()},set:function(k){k=Number(k),isNaN(k)||(L(k),u(n._tileset)&&(n._tileset.pointCloudShading.maximumAttenuation=k===0?void 0:k))}}),this.maximumAttenuation=0;let N=Se.observable();Se.defineProperty(this,"baseResolution",{get:function(){return N()},set:function(k){k=Number(k),isNaN(k)||(N(k),u(n._tileset)&&(n._tileset.pointCloudShading.baseResolution=k===0?void 0:k))}}),this.baseResolution=0;let g=Se.observable();Se.defineProperty(this,"eyeDomeLighting",{get:function(){return g()},set:function(k){g(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLighting=k)}}),this.eyeDomeLighting=!1;let S=Se.observable();Se.defineProperty(this,"eyeDomeLightingStrength",{get:function(){return S()},set:function(k){k=Number(k),isNaN(k)||(S(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingStrength=k))}}),this.eyeDomeLightingStrength=1;let w=Se.observable();Se.defineProperty(this,"eyeDomeLightingRadius",{get:function(){return w()},set:function(k){k=Number(k),isNaN(k)||(w(k),u(n._tileset)&&(n._tileset.pointCloudShading.eyeDomeLightingRadius=k))}}),this.eyeDomeLightingRadius=1,this.pickActive=!1;let P=Se.observable();Se.defineProperty(this,"skipLevelOfDetail",{get:function(){return P()},set:function(k){P(k),u(n._tileset)&&(n._tileset.skipLevelOfDetail=k)}}),this.skipLevelOfDetail=!0;let F=Se.observable();Se.defineProperty(this,"skipScreenSpaceErrorFactor",{get:function(){return F()},set:function(k){k=Number(k),isNaN(k)||(F(k),u(n._tileset)&&(n._tileset.skipScreenSpaceErrorFactor=k))}}),this.skipScreenSpaceErrorFactor=16;let B=Se.observable();Se.defineProperty(this,"baseScreenSpaceError",{get:function(){return B()},set:function(k){k=Number(k),isNaN(k)||(B(k),u(n._tileset)&&(n._tileset.baseScreenSpaceError=k))}}),this.baseScreenSpaceError=1024;let G=Se.observable();Se.defineProperty(this,"skipLevels",{get:function(){return G()},set:function(k){k=Number(k),isNaN(k)||(G(k),u(n._tileset)&&(n._tileset.skipLevels=k))}}),this.skipLevels=1;let V=Se.observable();Se.defineProperty(this,"immediatelyLoadDesiredLevelOfDetail",{get:function(){return V()},set:function(k){V(k),u(n._tileset)&&(n._tileset.immediatelyLoadDesiredLevelOfDetail=k)}}),this.immediatelyLoadDesiredLevelOfDetail=!1;let U=Se.observable();Se.defineProperty(this,"loadSiblings",{get:function(){return U()},set:function(k){U(k),u(n._tileset)&&(n._tileset.loadSiblings=k)}}),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()}),u(this._tileset)||Y2e(this,!0)}Object.defineProperties(bc.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 ABt}},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,u(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=eO(e,!1),this._pickStatisticsText=eO(e,!0),this._resourceCacheStatisticsText=X2e(),Y2e(this,!1)}},feature:{get:function(){return this._feature},set:function(e){if(this._feature===e)return;let t=this._feature;u(t)&&!t.content.isDestroyed()&&(!this.colorize&&u(this._style)?t.color=u(this._style.color)?this._style.color.evaluateColor(t,EBt):z.WHITE:t.color=iW,this._scene.requestRender()),u(e)&&(z.clone(e.color,iW),e.color=q2e,this._scene.requestRender()),this._feature=e}},tile:{get:function(){return this._tile},set:function(e){if(this._tile===e)return;let t=this._tile;u(t)&&!t.isDestroyed()&&!Zne(t.content)&&(t.color=iW,this._scene.requestRender()),u(e)&&!Zne(e.content)&&(z.clone(e.color,iW),e.color=q2e,this._scene.requestRender()),this._tile=e}}});function Zne(e){if(!u(e))return!1;if(e.featuresLength>0)return!0;let t=e.innerContents;if(u(t)){let n=t.length;for(let i=0;i<n;++i)if(!Zne(t[i]))return!1;return!0}return!1}bc.prototype.togglePickTileset=function(){this.pickActive=!this.pickActive};bc.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};bc.prototype.toggleTileset=function(){this.tilesetVisible=!this.tilesetVisible};bc.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};bc.prototype.toggleUpdate=function(){this.updateVisible=!this.updateVisible};bc.prototype.toggleLogging=function(){this.loggingVisible=!this.loggingVisible};bc.prototype.toggleStyle=function(){this.styleVisible=!this.styleVisible};bc.prototype.toggleTileDebugLabels=function(){this.tileDebugLabelsVisible=!this.tileDebugLabelsVisible};bc.prototype.toggleOptimization=function(){this.optimizationVisible=!this.optimizationVisible};bc.prototype.trimTilesCache=function(){u(this._tileset)&&this._tileset.trimLoadedTiles()};bc.prototype.compileStyle=function(){let e=this._tileset;if(!(!u(e)||this.styleString===JSON.stringify(e.style))){this._editorError="";try{this.styleString.length===0&&(this.styleString="{}"),this._style=new Hw(JSON.parse(this.styleString)),this._shouldStyle=!0,this._scene.requestRender()}catch(t){this._editorError=t.toString()}this.feature=this._feature,this.tile=this._tile}};bc.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(`
19042
19042
  `),c=a.length,l;if(t.shiftKey)for(l=0;l<c;++l)a[l][0]===" "&&(a[l][1]===" "?(a[l]=a[l].substr(2),r-=2):(a[l]=a[l].substr(1),r-=1));else for(l=0;l<c;++l)a[l]=` ${a[l]}`,r+=2;let f=a.join(`
19043
- `);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};bc.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),u(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=QR(e,!1),this._pickStatisticsText=QR(e,!0),this._resourceCacheStatisticsText=W2e())};bc.prototype.isDestroyed=function(){return!1};bc.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};bc.getStatistics=QR;var Q7=bc;function J7(e,t){e=fi(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new Q7(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles / M3D 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=bl.createSection,c=bl.createCheckbox,l=bl.createRangeInput,f=bl.createButton,d=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),_=a(s,"Update","updateVisible","toggleUpdate"),m=a(s,"Logging","loggingVisible","toggleLogging"),x=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),b=a(s,"Style","styleVisible","toggleStyle"),T=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let A=document.createElement("label");A.className="field-label",A.appendChild(document.createTextNode("Properties: "));let E=document.createElement("div");E.setAttribute("data-bind","text: properties"),C.appendChild(A),C.appendChild(E),d.appendChild(C),d.appendChild(f("Pick Tileset","togglePickTileset","pickActive")),d.appendChild(f("Trim Tiles Cache","trimTilesCache")),d.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let v=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),D=document.createElement("p");D.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),D.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),D.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",v.appendChild(D),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 R=document.createElement("div");R.setAttribute("data-bind","visible: pointCloudShading"),R.appendChild(l("Geometric Error Scale","geometricErrorScale",0,2,.01)),R.appendChild(l("Maximum Attenuation","maximumAttenuation",0,32,1)),R.appendChild(l("Base Resolution","baseResolution",0,1,.01)),R.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(R);let O=document.createElement("div");O.setAttribute("data-bind","visible: eyeDomeLighting"),O.appendChild(l("EDL Strength","eyeDomeLightingStrength",0,2,.1)),O.appendChild(l("EDL Radius","eyeDomeLightingRadius",0,4,.1)),R.appendChild(O),_.appendChild(c("Freeze Frame","freezeFrame")),_.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let L=document.createElement("div");L.appendChild(l("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),_.appendChild(L);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(l("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(l("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 S=document.createElement("div");S.className="cesium-3dTilesInspector-statistics",S.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),m.appendChild(S),m.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let w=document.createElement("div");w.className="cesium-3dTilesInspector-statistics",w.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),m.appendChild(w);let P=document.createElement("div");b.appendChild(P),P.appendChild(document.createTextNode("Color Blend Mode: "));let F=document.createElement("select");F.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),P.appendChild(F);let B=document.createElement("textarea");B.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),P.className="cesium-cesiumInspector-styleEditor",P.appendChild(B);let G=f("Compile (Ctrl+Enter)","compileStyle");P.appendChild(G);let V=document.createElement("div");V.className="cesium-cesiumInspector-error",V.setAttribute("data-bind","text: editorError"),P.appendChild(V),x.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),x.appendChild(c("Geometric Error","showGeometricError")),x.appendChild(c("Rendering Statistics","showRenderingStatistics")),x.appendChild(c("Memory Usage (MB)","showMemoryUsage")),x.appendChild(c("Url","showUrl")),T.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let U=document.createElement("div");U.appendChild(l("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),T.appendChild(U);let k=document.createElement("div");k.appendChild(l("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),T.appendChild(k);let W=document.createElement("div");W.appendChild(l("Min. levels to skip","skipLevels",0,10,1)),T.appendChild(W),T.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),T.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(J7.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});J7.prototype.isDestroyed=function(){return!1};J7.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var eW=J7;var IA="http://www.w3.org/2000/svg",Y2e="http://www.w3.org/1999/xlink",tW,JR=z.fromCssColorString("rgba(247,250,255,0.384)"),nW=z.fromCssColorString("rgba(143,191,255,0.216)"),Yne=z.fromCssColorString("rgba(153,197,255,0.098)"),iW=z.fromCssColorString("rgba(255,255,255,0.086)"),gBt=z.fromCssColorString("rgba(255,255,255,0.267)"),yBt=z.fromCssColorString("rgba(255,255,255,0)"),j2e=z.fromCssColorString("rgba(66,67,68,0.3)"),q2e=z.fromCssColorString("rgba(0,0,0,0.5)");function Sb(e){return z.fromCssColorString(window.getComputedStyle(e).getPropertyValue("color"))}var eO={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 Gm(e){let t=document.createElementNS(IA,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(Gm(e.children[o]))}else n.indexOf("xlink:")===0?t.setAttributeNS(Y2e,n.substring(6),e[n]):n==="textContent"?t.textContent=e[n]:t.setAttribute(n,e[n]);return t}function Xne(e,t,n){let i=document.createElementNS(IA,"text");i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("class","cesium-animation-svgText");let o=document.createElementNS(IA,"tspan");return o.textContent=n,i.appendChild(o),i}function xBt(e,t,n){e.setAttribute("transform",`translate(100,100) rotate(${n})`),t.setAttribute("transform",`rotate(${n})`)}var oW=new z;function $s(e,t){let n=t.alpha,i=1-n;return oW.red=e.red*i+t.red*n,oW.green=e.green*i+t.green*n,oW.blue=e.blue*i+t.blue*n,oW.toCssColorString()}function Kne(e,t,n){let i=eO[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 Gm(o)}function bBt(e,t,n){let i=eO[n],o=eO.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 Gm(r)}function TBt(e,t){let n=e._viewModel,i=n.shuttleRingDragging;if(!(i&&tW!==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,l;if(t.type==="touchstart"||t.type==="touchmove"?(c=t.touches[0].clientX,l=t.touches[0].clientY):(c=t.clientX,l=t.clientY),!i&&(c>a.right||c<a.left||l<a.top||l>a.bottom))return;let f=e._shuttleRingPointer.getBoundingClientRect(),d=c-o-a.left,p=l-r-a.top,_=Math.atan2(p,d)*180/Math.PI+90;_>180&&(_-=360);let m=n.shuttleRingAngle;i||c<f.right&&c>f.left&&l>f.top&&l<f.bottom?(tW=e,n.shuttleRingDragging=!0,n.shuttleRingAngle=_):_<m?n.slower():_>m&&n.faster(),t.preventDefault()}else e===tW&&(tW=void 0),n.shuttleRingDragging=!1}function E0(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=[kc(t,"toggled",this.setToggled,this),kc(t,"tooltip",this.setTooltip,this),kc(t.command,"canExecute",this.setEnabled,this)]}E0.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();he(this)};E0.prototype.isDestroyed=function(){return!1};E0.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")}};E0.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")))};E0.prototype.setTooltip=function(e){this.svgElement.getElementsByTagName("title")[0].textContent=e};function D1(e,t){e=fi(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(IA,"svg:svg");this._svgNode=r,r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",Y2e);let s=document.createElementNS(IA,"g");this._topG=s,this._realtimeSVG=new E0(bBt(3,4,"animation_pathClock"),t.playRealtimeViewModel),this._playReverseSVG=new E0(Kne(44,99,"animation_pathPlayReverse"),t.playReverseViewModel),this._playForwardSVG=new E0(Kne(124,99,"animation_pathPlay"),t.playForwardViewModel),this._pauseSVG=new E0(Kne(84,99,"animation_pathPause"),t.pauseViewModel);let a=document.createElementNS(IA,"g");a.appendChild(this._realtimeSVG.svgElement),a.appendChild(this._playReverseSVG.svgElement),a.appendChild(this._playForwardSVG.svgElement),a.appendChild(this._pauseSVG.svgElement);let c=Gm({tagName:"circle",class:"cesium-animation-shuttleRingBack",cx:100,cy:100,r:99});this._shuttleRingBackPanel=c;let l=eO.animation_pathSwooshFX,f=eO.animation_pathPointer,d=Gm({tagName:"g",class:"cesium-animation-shuttleRingSwoosh",children:[{tagName:l.tagName,transform:"translate(100,97) scale(-1,1)",id:"animation_pathSwooshFX",d:l.d},{tagName:l.tagName,transform:"translate(100,97)",id:"animation_pathSwooshFX",d:l.d},{tagName:"line",x1:100,y1:8,x2:100,y2:22}]});this._shuttleRingSwooshG=d,this._shuttleRingPointer=Gm({class:"cesium-animation-shuttleRingPointer",id:"animation_pathPointer",tagName:f.tagName,d:f.d});let p=Gm({tagName:"g",transform:"translate(100,100)"});this._knobOuter=Gm({tagName:"circle",class:"cesium-animation-knobOuter",cx:0,cy:0,r:71});let _=61,m=Gm({tagName:"circle",class:"cesium-animation-knobInner",cx:0,cy:0,r:_});this._knobDate=Xne(0,-24,""),this._knobTime=Xne(0,-7,""),this._knobStatus=Xne(0,-41,"");let x=Gm({tagName:"circle",class:"cesium-animation-blank",cx:0,cy:0,r:_}),b=document.createElementNS(IA,"g");b.setAttribute("class","cesium-animation-shuttleRingG"),e.appendChild(o),s.appendChild(b),s.appendChild(p),s.appendChild(a),b.appendChild(c),b.appendChild(d),b.appendChild(this._shuttleRingPointer),p.appendChild(this._knobOuter),p.appendChild(m),p.appendChild(this._knobDate),p.appendChild(this._knobTime),p.appendChild(this._knobStatus),p.appendChild(x),r.appendChild(s),e.appendChild(r);let T=this;function C(R){TBt(T,R)}this._mouseCallback=C,c.addEventListener("mousedown",C,!0),c.addEventListener("touchstart",C,!0),d.addEventListener("mousedown",C,!0),d.addEventListener("touchstart",C,!0),n.addEventListener("mousemove",C,!0),n.addEventListener("touchmove",C,!0),n.addEventListener("mouseup",C,!0),n.addEventListener("touchend",C,!0),n.addEventListener("touchcancel",C,!0),this._shuttleRingPointer.addEventListener("mousedown",C,!0),this._shuttleRingPointer.addEventListener("touchstart",C,!0),this._knobOuter.addEventListener("mousedown",C,!0),this._knobOuter.addEventListener("touchstart",C,!0);let A=this._knobTime.childNodes[0],E=this._knobDate.childNodes[0],v=this._knobStatus.childNodes[0],D;this._subscriptions=[kc(t.pauseViewModel,"toggled",function(R){D!==R&&(D=R,D?T._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPausePointer"):T._shuttleRingPointer.setAttribute("class","cesium-animation-shuttleRingPointer"))}),kc(t,"shuttleRingAngle",function(R){xBt(T._shuttleRingPointer,T._knobOuter,R)}),kc(t,"dateLabel",function(R){E.textContent!==R&&(E.textContent=R)}),kc(t,"timeLabel",function(R){A.textContent!==R&&(A.textContent=R)}),kc(t,"multiplierLabel",function(R){v.textContent!==R&&(v.textContent=R)})],this.applyThemeChanges(),this.resize()}Object.defineProperties(D1.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});D1.prototype.isDestroyed=function(){return!1};D1.prototype.destroy=function(){u(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 he(this)};D1.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};D1.prototype.applyThemeChanges=function(){let e=this._container.ownerDocument;if(!e.body.contains(this._container)){if(u(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=Sb(this._themeNormal),n=Sb(this._themeHover),i=Sb(this._themeSelect),o=Sb(this._themeDisabled),r=Sb(this._themeKnob),s=Sb(this._themePointer),a=Sb(this._themeSwoosh),c=Sb(this._themeSwooshHover),l=Gm({tagName:"defs",children:[{id:"animation_buttonNormal",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(t,JR)},{tagName:"stop",offset:"12%","stop-color":$s(t,nW)},{tagName:"stop",offset:"46%","stop-color":$s(t,Yne)},{tagName:"stop",offset:"81%","stop-color":$s(t,iW)}]},{id:"animation_buttonHovered",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(n,JR)},{tagName:"stop",offset:"12%","stop-color":$s(n,nW)},{tagName:"stop",offset:"46%","stop-color":$s(n,Yne)},{tagName:"stop",offset:"81%","stop-color":$s(n,iW)}]},{id:"animation_buttonToggled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(i,JR)},{tagName:"stop",offset:"12%","stop-color":$s(i,nW)},{tagName:"stop",offset:"46%","stop-color":$s(i,Yne)},{tagName:"stop",offset:"81%","stop-color":$s(i,iW)}]},{id:"animation_buttonDisabled",tagName:"linearGradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%",children:[{tagName:"stop",offset:"0%","stop-color":$s(o,gBt)},{tagName:"stop",offset:"75%","stop-color":$s(o,yBt)}]},{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":$s(s,q2e)},{tagName:"stop",offset:"100%","stop-color":$s(s,q2e)}]},{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":$s(r,JR)},{tagName:"stop",offset:"60%","stop-color":$s(r,j2e)},{tagName:"stop",offset:"85%","stop-color":$s(r,nW)}]},{id:"animation_knobInner",tagName:"linearGradient",x1:"20%",y1:"0%",x2:"90%",y2:"100%",children:[{tagName:"stop",offset:"5%","stop-color":$s(r,j2e)},{tagName:"stop",offset:"60%","stop-color":$s(r,JR)},{tagName:"stop",offset:"85%","stop-color":$s(r,iW)}]}]});u(this._defsElement)?this._svgNode.replaceChild(l,this._defsElement):this._svgNode.appendChild(l),this._defsElement=l};var rW=D1;var CBt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],vb=15,P1=105;function X2e(e,t){return e-t}function Zne(e,t){let n=Mr(t,e,X2e);return n<0?~n:n}function ABt(e,t){if(Math.abs(e)<=vb)return e/vb;let n=vb,i=P1,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 EBt(e,t,n){if(n.clockStep===_r.SYSTEM_CLOCK)return vb;if(Math.abs(e)<=1)return e*vb;let i=t[t.length-1];e>i?e=i:e<-i&&(e=-i);let o=vb,r=P1,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 xh(e){let t=this;this._clockViewModel=e,this._allShuttleRingTicks=[],this._dateFormatter=xh.defaultDateFormatter,this._timeFormatter=xh.defaultTimeFormatter,this.shuttleRingDragging=!1,this.snapToTicks=!1,Se.track(this,["_allShuttleRingTicks","_dateFormatter","_timeFormatter","shuttleRingDragging","snapToTicks"]),this._sortedFilteredPositiveTicks=[],this.setShuttleRingTicks(xh.defaultTicks),this.timeLabel=void 0,Se.defineProperty(this,"timeLabel",function(){return t._timeFormatter(t._clockViewModel.currentTime,t)}),this.dateLabel=void 0,Se.defineProperty(this,"dateLabel",function(){return t._dateFormatter(t._clockViewModel.currentTime,t)}),this.multiplierLabel=void 0,Se.defineProperty(this,"multiplierLabel",function(){let s=t._clockViewModel;if(s.clockStep===_r.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,Se.defineProperty(this,"shuttleRingAngle",{get:function(){return EBt(e.multiplier,t._allShuttleRingTicks,e)},set:function(s){s=Math.max(Math.min(s,P1),-P1);let a=t._allShuttleRingTicks,c=t._clockViewModel;if(c.clockStep=_r.SYSTEM_CLOCK_MULTIPLIER,Math.abs(s)===P1){c.multiplier=s>0?a[a.length-1]:a[0];return}let l=ABt(s,a);if(t.snapToTicks)l=a[Zne(l,a)];else if(l!==0){let f=Math.abs(l);if(f>100){let d=f.toFixed(0).length-2,p=Math.pow(10,d);l=Math.round(l/p)*p|0}else f>vb?l=Math.round(l):f>1?l=+l.toFixed(1):f>0&&(l=+l.toFixed(2))}c.multiplier=l}}),this._canAnimate=void 0,Se.defineProperty(this,"_canAnimate",function(){let s=t._clockViewModel,a=s.clockRange;if(t.shuttleRingDragging||a===Vs.UNBOUNDED)return!0;let c=s.multiplier,l=s.currentTime,f=s.startTime,d=!1;if(a===Vs.LOOP_STOP)d=Q.greaterThan(l,f)||l.equals(f)&&c>0;else{let p=s.stopTime;d=Q.greaterThan(l,f)&&Q.lessThan(l,p)||l.equals(f)&&c>0||l.equals(p)&&c<0}return d||(s.shouldAnimate=!1),d}),this._isSystemTimeAvailable=void 0,Se.defineProperty(this,"_isSystemTimeAvailable",function(){let s=t._clockViewModel;if(s.clockRange===Vs.UNBOUNDED)return!0;let c=s.systemTime;return Q.greaterThanOrEquals(c,s.startTime)&&Q.lessThanOrEquals(c,s.stopTime)}),this._isAnimating=void 0,Se.defineProperty(this,"_isAnimating",function(){return t._clockViewModel.shouldAnimate&&(t._canAnimate||t.shuttleRingDragging)});let n=ii(function(){let s=t._clockViewModel;s.shouldAnimate?s.shouldAnimate=!1:t._canAnimate&&(s.shouldAnimate=!0)});this._pauseViewModel=new PA(n,{toggled:Se.computed(function(){return!t._isAnimating}),tooltip:"Pause"});let i=ii(function(){let s=t._clockViewModel,a=s.multiplier;a>0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playReverseViewModel=new PA(i,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier<0}),tooltip:"Play Reverse"});let o=ii(function(){let s=t._clockViewModel,a=s.multiplier;a<0&&(s.multiplier=-a),s.shouldAnimate=!0});this._playForwardViewModel=new PA(o,{toggled:Se.computed(function(){return t._isAnimating&&e.multiplier>0&&e.clockStep!==_r.SYSTEM_CLOCK}),tooltip:"Play Forward"});let r=ii(function(){t._clockViewModel.clockStep=_r.SYSTEM_CLOCK},Se.getObservable(this,"_isSystemTimeAvailable"));this._playRealtimeViewModel=new PA(r,{toggled:Se.computed(function(){return e.clockStep===_r.SYSTEM_CLOCK}),tooltip:Se.computed(function(){return t._isSystemTimeAvailable?"Today (real-time)":"Current time not in range"})}),this._slower=ii(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Zne(c,a)-1;l>=0&&(s.multiplier=a[l])}),this._faster=ii(function(){let s=t._clockViewModel,a=t._allShuttleRingTicks,c=s.multiplier,l=Zne(c,a)+1;l<a.length&&(s.multiplier=a[l])})}xh.defaultDateFormatter=function(e,t){let n=Q.toGregorianDate(e);return`${CBt[n.month-1]} ${n.day} ${n.year}`};xh.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];xh.defaultTimeFormatter=function(e,t){let n=Q.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`};xh.prototype.getShuttleRingTicks=function(){return this._sortedFilteredPositiveTicks.slice(0)};xh.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(X2e);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(xh.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}}});xh._maxShuttleRingAngle=P1;xh._realtimeShuttleRingAngle=vb;var sW=xh;function SBt(e){let t;if(u(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>&nbsp;&nbsp;&nbsp;&nbsp;${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function $ne(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var vBt=new Vn,wBt=new h;function tO(e,t){let n=this,i=e.canvas,o=new vd(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=ii(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=ii(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=ii(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=ii(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(l){n._scene.debugShowFrustums=l,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(l){n._scene.debugShowFrustumPlanes=l,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(l){l?n._performanceDisplay=new gb({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=ii(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=ii(function(){if(n.primitiveReferenceFrame){let l=n._primitive.modelMatrix;n._modelMatrixPrimitive=new UH({modelMatrix:l}),n._scene.primitives.add(n._modelMatrixPrimitive)}else u(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=ii(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(l){return u(n._modelMatrixPrimitive)&&l.owner===n._modelMatrixPrimitive._primitive?!0:u(n._primitive)?l.owner===n._primitive||l.owner===n._primitive._billboardCollection||l.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(l){r._surface.tileProvider._debug.wireframe=l,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(l){n._scene.debugShowDepthFrustum=l,n._scene.requestRender()}),this._incrementDepthFrustum=ii(function(){let l=n.depthFrustum+1;return n.depthFrustum=$ne(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._decrementDepthFrustum=ii(function(){let l=n.depthFrustum-1;return n.depthFrustum=$ne(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(l){r._surface._debug.suspendLodUpdate=l,l||(n.filterTile=!1)});let s;this._showTileCoordinates=ii(function(){return n.tileCoordinates&&!u(s)?s=e.imageryLayers.addImageryProvider(new M7({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&u(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=ii(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=ii(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],u(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(l){let f=n._scene.pick({x:l.position.x,y:l.position.y});u(f)&&(n.primitive=u(f.collection)?f.collection:f.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=ii(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(l){l?o.setInputAction(a,Zn.LEFT_CLICK):o.removeInputAction(Zn.LEFT_CLICK)});function c(l){let f,d=r.ellipsoid,p=n._scene.camera.getPickRay(l.position,vBt),_=r.pick(p,n._scene,wBt);if(u(_)){let m=d.cartesianToCartographic(_),x=r._surface.tileProvider._tilesToRenderByTextureCount;for(let b=0;!f&&b<x.length;++b){let T=x[b];if(u(T))for(let C=0;!f&&C<T.length;++C){let A=T[C];fe.contains(A.rectangle,m)&&(f=A)}}}n.tile=f,n.pickTileActive=!1}this._pickTile=ii(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(l){l?o.setInputAction(c,Zn.LEFT_CLICK):o.removeInputAction(Zn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(tO.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 ii(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return ii(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return ii(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return ii(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return ii(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,u(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,u(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(u(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;u(n)&&u(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}}});tO.prototype._update=function(){this.frustums&&(this.frustumStatisticText=SBt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=$ne(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}`};tO.prototype.isDestroyed=function(){return!1};tO.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var aW=tO;function cW(e,t){e=fi(e);let n=document.createElement("div"),i=new aW(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=bl.createSection,c=bl.createCheckbox,l=a(s,"General","generalVisible","toggleGeneral"),f=c("Show Frustums","frustums"),d=document.createElement("div");d.className="cesium-cesiumInspector-frustumStatistics",d.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),f.appendChild(d),l.appendChild(f),l.appendChild(c("Show Frustum Planes","frustumPlanes")),l.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",l.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),l.appendChild(p);let _=document.createElement("div");l.appendChild(_);let m=document.createElement("span");m.setAttribute("data-bind",'html: "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frustum:"'),_.appendChild(m);let x=document.createElement("span");x.setAttribute("data-bind","text: depthFrustumText"),_.appendChild(x);let b=document.createElement("input");b.type="button",b.value="-",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: decrementDepthFrustum"),_.appendChild(b);let T=document.createElement("input");T.type="button",T.value="+",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: incrementDepthFrustum"),_.appendChild(T);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),A=document.createElement("div");A.className="cesium-cesiumInspector-pickSection",C.appendChild(A);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 v=document.createElement("div");v.className="cesium-cesiumInspector-center",v.appendChild(E),A.appendChild(v),A.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),A.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),A.appendChild(this._primitiveOnly);let D=a(s,"Terrain","terrainVisible","toggleTerrain"),R=document.createElement("div");R.className="cesium-cesiumInspector-pickSection",D.appendChild(R);let O=document.createElement("input");O.type="button",O.value="Pick a tile",O.className="cesium-cesiumInspector-pickButton",O.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),v=document.createElement("div"),v.appendChild(O),v.className="cesium-cesiumInspector-center",R.appendChild(v);let L=document.createElement("div");R.appendChild(L);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 S=document.createElement("input");S.type="button",S.value="NE",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: selectNE");let w=document.createElement("input");w.type="button",w.value="SW",w.className="cesium-cesiumInspector-pickButton",w.setAttribute("data-bind","click: selectSW");let P=document.createElement("input");P.type="button",P.value="SE",P.className="cesium-cesiumInspector-pickButton",P.setAttribute("data-bind","click: selectSE");let F=document.createElement("div");F.className="cesium-cesiumInspector-tileText",L.className="cesium-cesiumInspector-frustumStatistics",L.appendChild(F),L.setAttribute("data-bind","visible: hasPickedTile"),F.setAttribute("data-bind","html: tileText");let B=document.createElement("div");B.className="cesium-cesiumInspector-relativeText",B.textContent="Select relative:",L.appendChild(B);let G=document.createElement("table"),V=document.createElement("tr"),U=document.createElement("tr"),k=document.createElement("td");k.appendChild(N);let W=document.createElement("td");W.appendChild(g);let j=document.createElement("td");j.appendChild(S),V.appendChild(k),V.appendChild(W),V.appendChild(j);let K=document.createElement("td"),Y=document.createElement("td");Y.appendChild(w);let ee=document.createElement("td");ee.appendChild(P),U.appendChild(K),U.appendChild(Y),U.appendChild(ee),G.appendChild(V),G.appendChild(U),L.appendChild(G),R.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),R.appendChild(c("Show only selected","filterTile","hasPickedTile")),D.appendChild(c("Wireframe","wireframe")),D.appendChild(c("Suspend LOD update","suspendUpdates")),D.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(cW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});cW.prototype.isDestroyed=function(){return!1};cW.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var lW=cW;function uW(e,t){u(t)||(t=document.body),t=fi(t);let n=this,i=Se.observable(Cs.fullscreen),o=Se.observable(Cs.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&Cs.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=ii(function(){Cs.fullscreen?Cs.exitFullscreen():Cs.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=y(fi(e),r.body),this._callback=function(){i(Cs.fullscreen)},r.addEventListener(Cs.changeEventName,this._callback)}Object.defineProperties(uW.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});uW.prototype.isDestroyed=function(){return!1};uW.prototype.destroy=function(){document.removeEventListener(Cs.changeEventName,this._callback),he(this)};var fW=uW;var DBt="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",PBt="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 dW(e,t){e=fi(e);let n=new fW(t,e);n._exitFullScreenPath=PBt,n._enterFullScreenPath=DBt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(dW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});dW.prototype.isDestroyed=function(){return!1};dW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var hW=dW;var K2e=1e3;function bh(e){u(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new gN({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=$2e,this._handleArrowUp=Z2e;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=ii(function(i){if(i=y(i,lT.SEARCH),t._focusTextbox=!1,u(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)NBt(t);else return MBt(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?Z2e(t):r?$2e(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;eRe(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=y(e.autocomplete,!0),this.destinationFound=y(e.destinationFound,bh.flyToDestination),this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){bh._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(bh.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}}});bh.prototype.destroy=function(){this._suggestionSubscription.dispose()};function Z2e(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],bh._adjustSuggestionsScroll(e,n)}function $2e(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],bh._adjustSuggestionsScroll(e,i)}function IBt(e,t){let n=u(t)?t.availability:void 0;return u(n)?uS(t,[e]).then(function(i){return e=i[0],e.height+=K2e,e}):(e.height+=K2e,Promise.resolve(e))}function RBt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof fe?I.equalsEpsilon(t.south,t.north,I.EPSILON7)&&I.equalsEpsilon(t.east,t.west,I.EPSILON7)?t=fe.center(t):a=Ww(t,n):t=i.cartesianToCartographic(t),u(a)||(a=IBt(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 OBt(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 MBt(e,t,n){let i=e._searchText;if(J2e(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 OBt(t[o],i,n),u(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Jne(e);let s=r.value;if(r.state==="fulfilled"&&u(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=Q2e(e,PD.getCreditsFromResult(s[0]));u(a)||Qne(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Qne(e,t){u(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function Q2e(e,t){return u(t)&&t.forEach(n=>Qne(e,n)),t}function Jne(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function LBt(e,t){let n=fi(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 NBt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function J2e(e){return/^\s*$/.test(e)}function eRe(e){Se.getObservable(e,"_suggestions").removeAll()}async function FBt(e){if(!e.autoComplete)return;let t=e._searchText;if(eRe(e),Jne(e),!J2e(t))for(let n of e._geocoderServices){let i=await n.geocode(t,lT.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=PD.getCreditsFromResult(r);o=o&&!u(s),Q2e(e,s)}),o&&Qne(e,n.credit)}if(e._suggestions.length>=5)return}}bh.flyToDestination=RBt;bh._updateSearchSuggestions=FBt;bh._adjustSuggestionsScroll=LBt;bh.prototype.isDestroyed=function(){return!1};bh.prototype.destroy=function(){return Jne(this),he(this)};var mW=bh;var BBt="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",kBt="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 pW(e){let t=fi(e.container),n=new mW(e);n._startSearchPath=BBt,n._stopSearchPath=kBt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(l){let f=l.target;typeof l.composedPath=="function"&&(f=l.composedPath()[0]),t.contains(f)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(l){n._focusTextbox=!0,n.showSuggestions()},pn.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(pW.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});pW.prototype.isDestroyed=function(){return!1};pW.prototype.destroy=function(){let e=this._container;return pn.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var _W=pW;function tRe(e,t){this._scene=e,this._duration=t;let n=this;this._command=ii(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(tRe.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 gW=tRe;function yW(e,t,n){e=fi(e);let i=new gW(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(yW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});yW.prototype.isDestroyed=function(){return!1};yW.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var xW=yW;function VBt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function iRe(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)iRe(e.sublayers[n],t)}function bW(e){return e.modelName==="FullModel"}function oRe(e){return e.modelName==="Overview"}function rRe(e){return oRe(e)||bW(e)}function nRe(e,t){if(rRe(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function UBt(e,t){if(rRe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");bW(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function zBt(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 HBt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:VBt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){UBt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){iRe(n[i],this.viewModel);let o=nRe(n[i],this.viewModel);u(o)&&(oRe(o)||!u(this.viewModel.defaultLayer)&&bW(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=nRe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=bW(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return zBt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var TW=HBt;function GBt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
19043
+ `);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};bc.prototype._update=function(){let e=this._tileset;if(this.performance&&this._performanceDisplay.update(),u(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=eO(e,!1),this._pickStatisticsText=eO(e,!0),this._resourceCacheStatisticsText=X2e())};bc.prototype.isDestroyed=function(){return!1};bc.prototype.destroy=function(){this._eventHandler.destroy(),this._removePostRenderEvent();let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};bc.getStatistics=eO;var oW=bc;function rW(e,t){e=fi(e);let n=document.createElement("div"),i=document.createElement("div");i.setAttribute("data-bind","visible: performance");let o=new oW(t,i);this._viewModel=o,this._container=e,this._element=n;let r=document.createElement("div");r.textContent="3D Tiles / M3D 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=bl.createSection,c=bl.createCheckbox,l=bl.createRangeInput,f=bl.createButton,d=a(s,"Tileset","tilesetVisible","toggleTileset"),p=a(s,"Display","displayVisible","toggleDisplay"),_=a(s,"Update","updateVisible","toggleUpdate"),m=a(s,"Logging","loggingVisible","toggleLogging"),x=a(s,"Tile Debug Labels","tileDebugLabelsVisible","toggleTileDebugLabels"),b=a(s,"Style","styleVisible","toggleStyle"),T=a(s,"Optimization","optimizationVisible","toggleOptimization"),C=document.createElement("div");C.className="field-group";let A=document.createElement("label");A.className="field-label",A.appendChild(document.createTextNode("Properties: "));let E=document.createElement("div");E.setAttribute("data-bind","text: properties"),C.appendChild(A),C.appendChild(E),d.appendChild(C),d.appendChild(f("Pick Tileset","togglePickTileset","pickActive")),d.appendChild(f("Trim Tiles Cache","trimTilesCache")),d.appendChild(c("Enable Picking","picking")),p.appendChild(c("Colorize","colorize"));let v=p.appendChild(c("Wireframe","wireframe","_tileset === undefined || hasEnabledWireframe")),D=document.createElement("p");D.setAttribute("data-bind","visible: _tileset !== undefined && !hasEnabledWireframe"),D.setAttribute("class","cesium-3DTilesInspector-disabledElementsInfo"),D.innerText="Set enableDebugWireframe to true in the tileset constructor to enable this option.",v.appendChild(D),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 R=document.createElement("div");R.setAttribute("data-bind","visible: pointCloudShading"),R.appendChild(l("Geometric Error Scale","geometricErrorScale",0,2,.01)),R.appendChild(l("Maximum Attenuation","maximumAttenuation",0,32,1)),R.appendChild(l("Base Resolution","baseResolution",0,1,.01)),R.appendChild(c("Eye Dome Lighting (EDL)","eyeDomeLighting")),p.appendChild(R);let O=document.createElement("div");O.setAttribute("data-bind","visible: eyeDomeLighting"),O.appendChild(l("EDL Strength","eyeDomeLightingStrength",0,2,.1)),O.appendChild(l("EDL Radius","eyeDomeLightingRadius",0,4,.1)),R.appendChild(O),_.appendChild(c("Freeze Frame","freezeFrame")),_.appendChild(c("Dynamic Screen Space Error","dynamicScreenSpaceError"));let L=document.createElement("div");L.appendChild(l("Maximum Screen Space Error","maximumScreenSpaceError",0,128,1)),_.appendChild(L);let N=document.createElement("div");N.setAttribute("data-bind","visible: dynamicScreenSpaceError"),N.appendChild(l("Screen Space Error Density","dynamicScreenSpaceErrorDensitySliderValue",0,1,.005,"dynamicScreenSpaceErrorDensity")),N.appendChild(l("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 S=document.createElement("div");S.className="cesium-3dTilesInspector-statistics",S.setAttribute("data-bind","html: pickStatisticsText, visible: showPickStatistics"),m.appendChild(S),m.appendChild(c("Resource Cache Statistics","showResourceCacheStatistics"));let w=document.createElement("div");w.className="cesium-3dTilesInspector-statistics",w.setAttribute("data-bind","html: resourceCacheStatisticsText, visible: showResourceCacheStatistics"),m.appendChild(w);let P=document.createElement("div");b.appendChild(P),P.appendChild(document.createTextNode("Color Blend Mode: "));let F=document.createElement("select");F.setAttribute("data-bind",'options: colorBlendModes, optionsText: "text", optionsValue: "value", value: colorBlendMode'),P.appendChild(F);let B=document.createElement("textarea");B.setAttribute("data-bind","textInput: styleString, event: { keydown: styleEditorKeyPress }"),P.className="cesium-cesiumInspector-styleEditor",P.appendChild(B);let G=f("Compile (Ctrl+Enter)","compileStyle");P.appendChild(G);let V=document.createElement("div");V.className="cesium-cesiumInspector-error",V.setAttribute("data-bind","text: editorError"),P.appendChild(V),x.appendChild(c("Show Picked Only","showOnlyPickedTileDebugLabel")),x.appendChild(c("Geometric Error","showGeometricError")),x.appendChild(c("Rendering Statistics","showRenderingStatistics")),x.appendChild(c("Memory Usage (MB)","showMemoryUsage")),x.appendChild(c("Url","showUrl")),T.appendChild(c("Skip Tile LODs","skipLevelOfDetail"));let U=document.createElement("div");U.appendChild(l("Skip SSE Factor","skipScreenSpaceErrorFactor",1,50,1)),T.appendChild(U);let k=document.createElement("div");k.appendChild(l("SSE before skipping LOD","baseScreenSpaceError",0,4096,1)),T.appendChild(k);let W=document.createElement("div");W.appendChild(l("Min. levels to skip","skipLevels",0,10,1)),T.appendChild(W),T.appendChild(c("Load only tiles that meet the max SSE.","immediatelyLoadDesiredLevelOfDetail")),T.appendChild(c("Load siblings of visible tiles","loadSiblings")),Se.applyBindings(o,n)}Object.defineProperties(rW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});rW.prototype.isDestroyed=function(){return!1};rW.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var sW=rW;function SBt(e){let t;if(u(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>&nbsp;&nbsp;&nbsp;&nbsp;${n[i]} in frustum ${r}`}t+=`<br>Total: ${e.totalCommands}`}return t}function $ne(e,t,n){let i=Math.min(n,t);return i=Math.max(i,e),i}var vBt=new Vn,wBt=new h;function tO(e,t){let n=this,i=e.canvas,o=new vd(i);this._eventHandler=o,this._scene=e,this._canvas=i,this._primitive=void 0,this._tile=void 0,this._modelMatrixPrimitive=void 0,this._performanceDisplay=void 0,this._performanceContainer=t;let r=this._scene.globe;r.depthTestAgainstTerrain=!0,this.frustums=!1,this.frustumPlanes=!1,this.performance=!1,this.shaderCacheText="",this.primitiveBoundingSphere=!1,this.primitiveReferenceFrame=!1,this.filterPrimitive=!1,this.tileBoundingSphere=!1,this.filterTile=!1,this.wireframe=!1,this.depthFrustum=1,this._numberOfFrustums=1,this.suspendUpdates=!1,this.tileCoordinates=!1,this.frustumStatisticText=!1,this.tileText="",this.hasPickedPrimitive=!1,this.hasPickedTile=!1,this.pickPrimitiveActive=!1,this.pickTileActive=!1,this.dropDownVisible=!0,this.generalVisible=!0,this.primitivesVisible=!1,this.terrainVisible=!1,this.depthFrustumText="",Se.track(this,["frustums","frustumPlanes","performance","shaderCacheText","primitiveBoundingSphere","primitiveReferenceFrame","filterPrimitive","tileBoundingSphere","filterTile","wireframe","depthFrustum","suspendUpdates","tileCoordinates","frustumStatisticText","tileText","hasPickedPrimitive","hasPickedTile","pickPrimitiveActive","pickTileActive","dropDownVisible","generalVisible","primitivesVisible","terrainVisible","depthFrustumText"]),this._toggleDropDown=ii(function(){n.dropDownVisible=!n.dropDownVisible}),this._toggleGeneral=ii(function(){n.generalVisible=!n.generalVisible}),this._togglePrimitives=ii(function(){n.primitivesVisible=!n.primitivesVisible}),this._toggleTerrain=ii(function(){n.terrainVisible=!n.terrainVisible}),this._frustumsSubscription=Se.getObservable(this,"frustums").subscribe(function(l){n._scene.debugShowFrustums=l,n._scene.requestRender()}),this._frustumPlanesSubscription=Se.getObservable(this,"frustumPlanes").subscribe(function(l){n._scene.debugShowFrustumPlanes=l,n._scene.requestRender()}),this._performanceSubscription=Se.getObservable(this,"performance").subscribe(function(l){l?n._performanceDisplay=new gb({container:n._performanceContainer}):n._performanceContainer.innerHTML=""}),this._showPrimitiveBoundingSphere=ii(function(){return n._primitive.debugShowBoundingVolume=n.primitiveBoundingSphere,n._scene.requestRender(),!0}),this._primitiveBoundingSphereSubscription=Se.getObservable(this,"primitiveBoundingSphere").subscribe(function(){n._showPrimitiveBoundingSphere()}),this._showPrimitiveReferenceFrame=ii(function(){if(n.primitiveReferenceFrame){let l=n._primitive.modelMatrix;n._modelMatrixPrimitive=new UH({modelMatrix:l}),n._scene.primitives.add(n._modelMatrixPrimitive)}else u(n._modelMatrixPrimitive)&&(n._scene.primitives.remove(n._modelMatrixPrimitive),n._modelMatrixPrimitive=void 0);return n._scene.requestRender(),!0}),this._primitiveReferenceFrameSubscription=Se.getObservable(this,"primitiveReferenceFrame").subscribe(function(){n._showPrimitiveReferenceFrame()}),this._doFilterPrimitive=ii(function(){return n.filterPrimitive?n._scene.debugCommandFilter=function(l){return u(n._modelMatrixPrimitive)&&l.owner===n._modelMatrixPrimitive._primitive?!0:u(n._primitive)?l.owner===n._primitive||l.owner===n._primitive._billboardCollection||l.owner.primitive===n._primitive:!1}:n._scene.debugCommandFilter=void 0,!0}),this._filterPrimitiveSubscription=Se.getObservable(this,"filterPrimitive").subscribe(function(){n._doFilterPrimitive(),n._scene.requestRender()}),this._wireframeSubscription=Se.getObservable(this,"wireframe").subscribe(function(l){r._surface.tileProvider._debug.wireframe=l,n._scene.requestRender()}),this._depthFrustumSubscription=Se.getObservable(this,"depthFrustum").subscribe(function(l){n._scene.debugShowDepthFrustum=l,n._scene.requestRender()}),this._incrementDepthFrustum=ii(function(){let l=n.depthFrustum+1;return n.depthFrustum=$ne(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._decrementDepthFrustum=ii(function(){let l=n.depthFrustum-1;return n.depthFrustum=$ne(1,n._numberOfFrustums,l),n._scene.requestRender(),!0}),this._suspendUpdatesSubscription=Se.getObservable(this,"suspendUpdates").subscribe(function(l){r._surface._debug.suspendLodUpdate=l,l||(n.filterTile=!1)});let s;this._showTileCoordinates=ii(function(){return n.tileCoordinates&&!u(s)?s=e.imageryLayers.addImageryProvider(new M7({tilingScheme:e.terrainProvider.tilingScheme})):!n.tileCoordinates&&u(s)&&(e.imageryLayers.remove(s),s=void 0),!0}),this._tileCoordinatesSubscription=Se.getObservable(this,"tileCoordinates").subscribe(function(){n._showTileCoordinates(),n._scene.requestRender()}),this._tileBoundingSphereSubscription=Se.getObservable(this,"tileBoundingSphere").subscribe(function(){n._showTileBoundingSphere(),n._scene.requestRender()}),this._showTileBoundingSphere=ii(function(){return n.tileBoundingSphere?r._surface.tileProvider._debug.boundingSphereTile=n._tile:r._surface.tileProvider._debug.boundingSphereTile=void 0,n._scene.requestRender(),!0}),this._doFilterTile=ii(function(){return n.filterTile?(n.suspendUpdates=!0,r._surface._tilesToRender=[],u(n._tile)&&n._tile.renderable&&r._surface._tilesToRender.push(n._tile)):n.suspendUpdates=!1,!0}),this._filterTileSubscription=Se.getObservable(this,"filterTile").subscribe(function(){n.doFilterTile(),n._scene.requestRender()});function a(l){let f=n._scene.pick({x:l.position.x,y:l.position.y});u(f)&&(n.primitive=u(f.collection)?f.collection:f.primitive),n._scene.requestRender(),n.pickPrimitiveActive=!1}this._pickPrimitive=ii(function(){n.pickPrimitiveActive=!n.pickPrimitiveActive}),this._pickPrimitiveActiveSubscription=Se.getObservable(this,"pickPrimitiveActive").subscribe(function(l){l?o.setInputAction(a,Zn.LEFT_CLICK):o.removeInputAction(Zn.LEFT_CLICK)});function c(l){let f,d=r.ellipsoid,p=n._scene.camera.getPickRay(l.position,vBt),_=r.pick(p,n._scene,wBt);if(u(_)){let m=d.cartesianToCartographic(_),x=r._surface.tileProvider._tilesToRenderByTextureCount;for(let b=0;!f&&b<x.length;++b){let T=x[b];if(u(T))for(let C=0;!f&&C<T.length;++C){let A=T[C];fe.contains(A.rectangle,m)&&(f=A)}}}n.tile=f,n.pickTileActive=!1}this._pickTile=ii(function(){n.pickTileActive=!n.pickTileActive}),this._pickTileActiveSubscription=Se.getObservable(this,"pickTileActive").subscribe(function(l){l?o.setInputAction(c,Zn.LEFT_CLICK):o.removeInputAction(Zn.LEFT_CLICK)}),this._removePostRenderEvent=e.postRender.addEventListener(function(){n._update()})}Object.defineProperties(tO.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 ii(function(){e.tile=e.tile.parent})}},selectNW:{get:function(){let e=this;return ii(function(){e.tile=e.tile.northwestChild})}},selectNE:{get:function(){let e=this;return ii(function(){e.tile=e.tile.northeastChild})}},selectSW:{get:function(){let e=this;return ii(function(){e.tile=e.tile.southwestChild})}},selectSE:{get:function(){let e=this;return ii(function(){e.tile=e.tile.southeastChild})}},primitive:{get:function(){return this._primitive},set:function(e){let t=this._primitive;e!==t&&(this.hasPickedPrimitive=!0,u(t)&&(t.debugShowBoundingVolume=!1),this._scene.debugCommandFilter=void 0,u(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(u(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;u(n)&&u(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}}});tO.prototype._update=function(){this.frustums&&(this.frustumStatisticText=SBt(this._scene.debugFrustumStatistics));let e=this._scene.numberOfFrustums;this._numberOfFrustums=e,this.depthFrustum=$ne(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}`};tO.prototype.isDestroyed=function(){return!1};tO.prototype.destroy=function(){return this._eventHandler.destroy(),this._removePostRenderEvent(),this._frustumsSubscription.dispose(),this._frustumPlanesSubscription.dispose(),this._performanceSubscription.dispose(),this._primitiveBoundingSphereSubscription.dispose(),this._primitiveReferenceFrameSubscription.dispose(),this._filterPrimitiveSubscription.dispose(),this._wireframeSubscription.dispose(),this._depthFrustumSubscription.dispose(),this._suspendUpdatesSubscription.dispose(),this._tileCoordinatesSubscription.dispose(),this._tileBoundingSphereSubscription.dispose(),this._filterTileSubscription.dispose(),this._pickPrimitiveActiveSubscription.dispose(),this._pickTileActiveSubscription.dispose(),he(this)};var aW=tO;function cW(e,t){e=fi(e);let n=document.createElement("div"),i=new aW(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=bl.createSection,c=bl.createCheckbox,l=a(s,"General","generalVisible","toggleGeneral"),f=c("Show Frustums","frustums"),d=document.createElement("div");d.className="cesium-cesiumInspector-frustumStatistics",d.setAttribute("data-bind","visible: frustums, html: frustumStatisticText"),f.appendChild(d),l.appendChild(f),l.appendChild(c("Show Frustum Planes","frustumPlanes")),l.appendChild(c("Performance Display","performance")),n.className="cesium-cesiumInspector-performanceDisplay",l.appendChild(n);let p=document.createElement("div");p.className="cesium-cesiumInspector-shaderCache",p.setAttribute("data-bind","html: shaderCacheText"),l.appendChild(p);let _=document.createElement("div");l.appendChild(_);let m=document.createElement("span");m.setAttribute("data-bind",'html: "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frustum:"'),_.appendChild(m);let x=document.createElement("span");x.setAttribute("data-bind","text: depthFrustumText"),_.appendChild(x);let b=document.createElement("input");b.type="button",b.value="-",b.className="cesium-cesiumInspector-pickButton",b.setAttribute("data-bind","click: decrementDepthFrustum"),_.appendChild(b);let T=document.createElement("input");T.type="button",T.value="+",T.className="cesium-cesiumInspector-pickButton",T.setAttribute("data-bind","click: incrementDepthFrustum"),_.appendChild(T);let C=a(s,"Primitives","primitivesVisible","togglePrimitives"),A=document.createElement("div");A.className="cesium-cesiumInspector-pickSection",C.appendChild(A);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 v=document.createElement("div");v.className="cesium-cesiumInspector-center",v.appendChild(E),A.appendChild(v),A.appendChild(c("Show bounding sphere","primitiveBoundingSphere","hasPickedPrimitive")),A.appendChild(c("Show reference frame","primitiveReferenceFrame","hasPickedPrimitive")),this._primitiveOnly=c("Show only selected","filterPrimitive","hasPickedPrimitive"),A.appendChild(this._primitiveOnly);let D=a(s,"Terrain","terrainVisible","toggleTerrain"),R=document.createElement("div");R.className="cesium-cesiumInspector-pickSection",D.appendChild(R);let O=document.createElement("input");O.type="button",O.value="Pick a tile",O.className="cesium-cesiumInspector-pickButton",O.setAttribute("data-bind",'css: {"cesium-cesiumInspector-pickButtonHighlight" : pickTileActive}, click: pickTile'),v=document.createElement("div"),v.appendChild(O),v.className="cesium-cesiumInspector-center",R.appendChild(v);let L=document.createElement("div");R.appendChild(L);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 S=document.createElement("input");S.type="button",S.value="NE",S.className="cesium-cesiumInspector-pickButton",S.setAttribute("data-bind","click: selectNE");let w=document.createElement("input");w.type="button",w.value="SW",w.className="cesium-cesiumInspector-pickButton",w.setAttribute("data-bind","click: selectSW");let P=document.createElement("input");P.type="button",P.value="SE",P.className="cesium-cesiumInspector-pickButton",P.setAttribute("data-bind","click: selectSE");let F=document.createElement("div");F.className="cesium-cesiumInspector-tileText",L.className="cesium-cesiumInspector-frustumStatistics",L.appendChild(F),L.setAttribute("data-bind","visible: hasPickedTile"),F.setAttribute("data-bind","html: tileText");let B=document.createElement("div");B.className="cesium-cesiumInspector-relativeText",B.textContent="Select relative:",L.appendChild(B);let G=document.createElement("table"),V=document.createElement("tr"),U=document.createElement("tr"),k=document.createElement("td");k.appendChild(N);let W=document.createElement("td");W.appendChild(g);let j=document.createElement("td");j.appendChild(S),V.appendChild(k),V.appendChild(W),V.appendChild(j);let K=document.createElement("td"),Y=document.createElement("td");Y.appendChild(w);let ee=document.createElement("td");ee.appendChild(P),U.appendChild(K),U.appendChild(Y),U.appendChild(ee),G.appendChild(V),G.appendChild(U),L.appendChild(G),R.appendChild(c("Show bounding volume","tileBoundingSphere","hasPickedTile")),R.appendChild(c("Show only selected","filterTile","hasPickedTile")),D.appendChild(c("Wireframe","wireframe")),D.appendChild(c("Suspend LOD update","suspendUpdates")),D.appendChild(c("Show tile coordinates","tileCoordinates")),Se.applyBindings(i,this._element)}Object.defineProperties(cW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});cW.prototype.isDestroyed=function(){return!1};cW.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};var lW=cW;function uW(e,t){u(t)||(t=document.body),t=fi(t);let n=this,i=Se.observable(Cs.fullscreen),o=Se.observable(Cs.enabled),r=t.ownerDocument;this.isFullscreen=void 0,Se.defineProperty(this,"isFullscreen",{get:function(){return i()}}),this.isFullscreenEnabled=void 0,Se.defineProperty(this,"isFullscreenEnabled",{get:function(){return o()},set:function(s){o(s&&Cs.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return this.isFullscreenEnabled?i()?"Exit full screen":"Full screen":"Full screen unavailable"}),this._command=ii(function(){Cs.fullscreen?Cs.exitFullscreen():Cs.requestFullscreen(n._fullscreenElement)},Se.getObservable(this,"isFullscreenEnabled")),this._fullscreenElement=y(fi(e),r.body),this._callback=function(){i(Cs.fullscreen)},r.addEventListener(Cs.changeEventName,this._callback)}Object.defineProperties(uW.prototype,{fullscreenElement:{get:function(){return this._fullscreenElement},set:function(e){this._fullscreenElement=e}},command:{get:function(){return this._command}}});uW.prototype.isDestroyed=function(){return!1};uW.prototype.destroy=function(){document.removeEventListener(Cs.changeEventName,this._callback),he(this)};var fW=uW;var DBt="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",PBt="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 dW(e,t){e=fi(e);let n=new fW(t,e);n._exitFullScreenPath=PBt,n._enterFullScreenPath=DBt;let i=document.createElement("button");i.type="button",i.className="cesium-button cesium-fullscreenButton",i.setAttribute("data-bind","attr: { title: tooltip },click: command,enable: isFullscreenEnabled,cesiumSvgPath: { path: isFullscreen ? _exitFullScreenPath : _enterFullScreenPath, width: 128, height: 128 }"),e.appendChild(i),Se.applyBindings(n,i),this._container=e,this._viewModel=n,this._element=i}Object.defineProperties(dW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});dW.prototype.isDestroyed=function(){return!1};dW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var hW=dW;var K2e=1e3;function bh(e){u(e.geocoderServices)?this._geocoderServices=e.geocoderServices:this._geocoderServices=[new gN({scene:e.scene})],this._viewContainer=e.container,this._scene=e.scene,this._flightDuration=e.flightDuration,this._searchText="",this._isSearchInProgress=!1,this._wasGeocodeCancelled=!1,this._previousCredits=[],this._complete=new be,this._suggestions=[],this._selectedSuggestion=void 0,this._showSuggestions=!0,this._handleArrowDown=$2e,this._handleArrowUp=Z2e;let t=this;this._suggestionsVisible=Se.pureComputed(function(){let o=Se.getObservable(t,"_suggestions")().length>0,r=Se.getObservable(t,"_showSuggestions")();return o&&r}),this._searchCommand=ii(function(i){if(i=y(i,lT.SEARCH),t._focusTextbox=!1,u(t._selectedSuggestion))return t.activateSuggestion(t._selectedSuggestion),!1;if(t.hideSuggestions(),t.isSearchInProgress)NBt(t);else return MBt(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?Z2e(t):r?$2e(t):a&&t._searchCommand(),!0},this.activateSuggestion=function(i){t.hideSuggestions(),t._searchText=i.displayName;let o=i.destination;eRe(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=y(e.autocomplete,!0),this.destinationFound=y(e.destinationFound,bh.flyToDestination),this._focusTextbox=!1,Se.track(this,["_searchText","_isSearchInProgress","keepExpanded","_suggestions","_selectedSuggestion","_showSuggestions","_focusTextbox"]);let n=Se.getObservable(this,"_searchText");n.extend({rateLimit:{timeout:500}}),this._suggestionSubscription=n.subscribe(function(){bh._updateSearchSuggestions(t)}),this.isSearchInProgress=void 0,Se.defineProperty(this,"isSearchInProgress",{get:function(){return this._isSearchInProgress}}),this.searchText=void 0,Se.defineProperty(this,"searchText",{get:function(){return this.isSearchInProgress?"Searching...":this._searchText},set:function(i){this._searchText=i}}),this.flightDuration=void 0,Se.defineProperty(this,"flightDuration",{get:function(){return this._flightDuration},set:function(i){this._flightDuration=i}})}Object.defineProperties(bh.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}}});bh.prototype.destroy=function(){this._suggestionSubscription.dispose()};function Z2e(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],bh._adjustSuggestionsScroll(e,n)}function $2e(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],bh._adjustSuggestionsScroll(e,i)}function IBt(e,t){let n=u(t)?t.availability:void 0;return u(n)?uS(t,[e]).then(function(i){return e=i[0],e.height+=K2e,e}):(e.height+=K2e,Promise.resolve(e))}function RBt(e,t){let n=e._scene,i=n.ellipsoid,o=n.camera,r=n.terrainProvider,s=t,a;return t instanceof fe?I.equalsEpsilon(t.south,t.north,I.EPSILON7)&&I.equalsEpsilon(t.east,t.west,I.EPSILON7)?t=fe.center(t):a=Ww(t,n):t=i.cartesianToCartographic(t),u(a)||(a=IBt(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 OBt(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 MBt(e,t,n){let i=e._searchText;if(J2e(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 OBt(t[o],i,n),u(r)&&r.state==="fulfilled"&&r.value.length>0)break}if(e._wasGeocodeCancelled)return;e._isSearchInProgress=!1,Jne(e);let s=r.value;if(r.state==="fulfilled"&&u(s)&&s.length>0){e._searchText=s[0].displayName,e.destinationFound(e,s[0].destination);let a=Q2e(e,PD.getCreditsFromResult(s[0]));u(a)||Qne(e,t[o].credit);return}e._searchText=`${i} (not found)`}function Qne(e,t){u(t)&&!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&(e._scene.frameState.creditDisplay.addStaticCredit(t),e._previousCredits.push(t))}function Q2e(e,t){return u(t)&&t.forEach(n=>Qne(e,n)),t}function Jne(e){!e._scene.isDestroyed()&&!e._scene.frameState.creditDisplay.isDestroyed()&&e._previousCredits.forEach(t=>{e._scene.frameState.creditDisplay.removeStaticCredit(t)}),e._previousCredits.length=0}function LBt(e,t){let n=fi(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 NBt(e){e._isSearchInProgress&&(e._isSearchInProgress=!1,e._wasGeocodeCancelled=!0)}function J2e(e){return/^\s*$/.test(e)}function eRe(e){Se.getObservable(e,"_suggestions").removeAll()}async function FBt(e){if(!e.autoComplete)return;let t=e._searchText;if(eRe(e),Jne(e),!J2e(t))for(let n of e._geocoderServices){let i=await n.geocode(t,lT.AUTOCOMPLETE);if(e._suggestions=e._suggestions.concat(i),i.length>0){let o=!0;i.forEach(r=>{let s=PD.getCreditsFromResult(r);o=o&&!u(s),Q2e(e,s)}),o&&Qne(e,n.credit)}if(e._suggestions.length>=5)return}}bh.flyToDestination=RBt;bh._updateSearchSuggestions=FBt;bh._adjustSuggestionsScroll=LBt;bh.prototype.isDestroyed=function(){return!1};bh.prototype.destroy=function(){return Jne(this),he(this)};var mW=bh;var BBt="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",kBt="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 pW(e){let t=fi(e.container),n=new mW(e);n._startSearchPath=BBt,n._stopSearchPath=kBt;let i=document.createElement("form");i.setAttribute("data-bind","submit: search");let o=document.createElement("input");o.type="search",o.className="cesium-geocoder-input",o.setAttribute("placeholder","Enter an address or landmark..."),o.setAttribute("data-bind",'textInput: searchText,disable: isSearchInProgress,event: { keyup: handleKeyUp, keydown: handleKeyDown, mouseover: deselectSuggestion },css: { "cesium-geocoder-input-wide" : keepExpanded || searchText.length > 0 },hasFocus: _focusTextbox'),this._onTextBoxFocus=function(){setTimeout(function(){o.select()},0)},o.addEventListener("focus",this._onTextBoxFocus,!1),i.appendChild(o),this._textBox=o;let r=document.createElement("span");r.className="cesium-geocoder-searchButton",r.setAttribute("data-bind","click: search,cesiumSvgPath: { path: isSearchInProgress ? _stopSearchPath : _startSearchPath, width: 32, height: 32 }"),i.appendChild(r),t.appendChild(i);let s=document.createElement("div");s.className="search-results",s.setAttribute("data-bind","visible: _suggestionsVisible");let a=document.createElement("ul");a.setAttribute("data-bind","foreach: _suggestions");let c=document.createElement("li");a.appendChild(c),c.setAttribute("data-bind","text: $data.displayName, click: $parent.activateSuggestion, event: { mouseover: $parent.handleMouseover}, css: { active: $data === $parent._selectedSuggestion }"),s.appendChild(a),t.appendChild(s),Se.applyBindings(n,i),Se.applyBindings(n,s),this._container=t,this._searchSuggestionsContainer=s,this._viewModel=n,this._form=i,this._onInputBegin=function(l){let f=l.target;typeof l.composedPath=="function"&&(f=l.composedPath()[0]),t.contains(f)||(n._focusTextbox=!1,n.hideSuggestions())},this._onInputEnd=function(l){n._focusTextbox=!0,n.showSuggestions()},pn.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(pW.prototype,{container:{get:function(){return this._container}},searchSuggestionsContainer:{get:function(){return this._searchSuggestionsContainer}},viewModel:{get:function(){return this._viewModel}}});pW.prototype.isDestroyed=function(){return!1};pW.prototype.destroy=function(){let e=this._container;return pn.supportsPointerEvents()?(document.removeEventListener("pointerdown",this._onInputBegin,!0),e.removeEventListener("pointerup",this._onInputEnd,!0)):(document.removeEventListener("mousedown",this._onInputBegin,!0),e.removeEventListener("mouseup",this._onInputEnd,!0),document.removeEventListener("touchstart",this._onInputBegin,!0),e.removeEventListener("touchend",this._onInputEnd,!0)),this._viewModel.destroy(),Se.cleanNode(this._form),Se.cleanNode(this._searchSuggestionsContainer),e.removeChild(this._form),e.removeChild(this._searchSuggestionsContainer),this._textBox.removeEventListener("focus",this._onTextBoxFocus,!1),he(this)};var _W=pW;function tRe(e,t){this._scene=e,this._duration=t;let n=this;this._command=ii(function(){n._scene.camera.flyHome(n._duration)}),this.tooltip="View Home",Se.track(this,["tooltip"])}Object.defineProperties(tRe.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 gW=tRe;function yW(e,t,n){e=fi(e);let i=new gW(t,n);i._svgPath="M14,4l-10,8.75h20l-4.25-3.7188v-4.6562h-2.812v2.1875l-2.938-2.5625zm-7.0938,9.906v10.094h14.094v-10.094h-14.094zm2.1876,2.313h3.3122v4.25h-3.3122v-4.25zm5.8442,1.281h3.406v6.438h-3.406v-6.438z";let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button cesium-home-button",o.setAttribute("data-bind","attr: { title: tooltip },click: command,cesiumSvgPath: { path: _svgPath, width: 28, height: 28 }"),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(yW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});yW.prototype.isDestroyed=function(){return!1};yW.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var xW=yW;function VBt(e,t){t.currentTarget.parentElement.parentElement.querySelector(`#${e.name}-expander`).classList.toggle("active"),t.currentTarget.textContent=t.currentTarget.textContent==="+"?"-":"+"}function iRe(e,t){Se.track(e);for(let n=0;n<e.sublayers.length;n++)iRe(e.sublayers[n],t)}function bW(e){return e.modelName==="FullModel"}function oRe(e){return e.modelName==="Overview"}function rRe(e){return oRe(e)||bW(e)}function nRe(e,t){if(rRe(e)){e.visibility=!1;for(let i=0;i<e.sublayers.length;i++)e.sublayers[i].visibility=!0;let n={name:e.name,modelName:e.modelName,disable:Se.observable(!1),index:t.sublayers.length};return t.topLayers.push(n),t.sublayers.push(e),n}}function UBt(e,t){if(rRe(e)){t.sublayers.forEach(i=>i.visibility=!1),t.sublayers[e.index].visibility=!0;let n=document.getElementById("bsl-wrapper");bW(e)?(t.currentLevel=t.selectedLevel,n.style.display="block"):(t.selectedLevel=t.currentLevel,t.currentLevel="All",n.style.display="none")}}async function zBt(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 HBt(e){let t=this;this.levels=[],this.viewModel={sublayers:[],levels:this.levels,currentLevel:Se.observable(),selectedLevel:"All",topLayers:[{name:"Select a layer to explore...",disable:Se.observable(!0),index:-1}],currentLayer:Se.observable(),expandClickHandler:VBt,setOptionDisable:function(i,o){Se.applyBindingsToNode(i,{disable:o.disable},o)},defaultLayer:void 0},this.viewModel.currentLayer.subscribe(function(i){UBt(i,t.viewModel)});let n=e.sublayers;for(let i=0;i<n.length;i++){iRe(n[i],this.viewModel);let o=nRe(n[i],this.viewModel);u(o)&&(oRe(o)||!u(this.viewModel.defaultLayer)&&bW(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=nRe(i,this.viewModel),this.viewModel.currentLayer.subscribe(function(o){e.show=bW(o)})}else this.viewModel.topLayers.length===1&&(this.viewModel.topLayers[0].name="Building layers not found");return zBt(e,this.levels),this.viewModel.currentLevel.subscribe(function(i){i!=="All"?e.filterByAttributes([{name:"BldgLevel",values:[i]}]):e.filterByAttributes()}),this.viewModel}var TW=HBt;function GBt(e,t){let n=document.getElementById(e),i=document.createElement("div");i.classList.add("cesium-viewer-i3s-explorer"),i.innerHTML=`
19044
19044
  <h3>Building explorer</h3>
19045
19045
  <select
19046
19046
  data-bind="options: topLayers, optionsText: 'name', optionsAfterRender: setOptionDisable, value: currentLayer"
@@ -19082,8 +19082,8 @@ http://www.naturalearthdata.com/`,category:"Cesium ion",creationFunction:functio
19082
19082
  </li>
19083
19083
  </ul>
19084
19084
  </ul>
19085
- </div>`,n.appendChild(i);let o=new TW(t);Se.track(o),Se.applyBindings(o,n),u(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var sRe=GBt;var WBt="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",jBt="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 eie(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?jBt:WBt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!u(this.description)||this.description.length===0}})}eie.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(eie.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var CW=eie;function AW(e){e=fi(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="&times;",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 CW;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,l=c.createElement("link");l.href=Tn("Widgets/InfoBox/InfoBoxDescription.css"),l.rel="stylesheet",l.type="text/css";let f=c.createElement("div");f.className="cesium-infoBox-description",c.head.appendChild(l),c.body.appendChild(f),a._descriptionSubscription=kc(s,"description",function(d){r.style.height="5px",f.innerHTML=d;let p=null,_=f.firstElementChild;if(_!==null&&f.childNodes.length===1){let x=window.getComputedStyle(_);if(x!==null){let b=x["background-color"],T=z.fromCssColorString(b);u(T)&&T.alpha!==0&&(p=x["background-color"])}}t.style["background-color"]=p;let m=f.getBoundingClientRect().height;r.style.height=`${m}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(AW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});AW.prototype.isDestroyed=function(){return!1};AW.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),u(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var EW=AW;function aRe(){this.showInstructions=!1;let e=this;this._command=ii(function(){e.showInstructions=!e.showInstructions}),this._showClick=ii(function(){e._touch=!1}),this._showTouch=ii(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(aRe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var SW=aRe;function vW(e){let t=fi(e.container),n=new SW,i=y(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=Tn("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 l=document.createElement("button");l.type="button",l.className="cesium-navigation-button cesium-navigation-button-right",l.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let f=document.createElement("img");f.src=Tn("Widgets/Images/NavigationHelp/Touch.svg"),f.className="cesium-navigation-button-icon",f.style.width="25px",f.style.height="25px",l.appendChild(f),l.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(l);let d=document.createElement("div");d.className="cesium-click-navigation-help cesium-navigation-help-instructions",d.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),d.innerHTML=` <table> <tr> <td><img src="${Tn("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="${Tn("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="${Tn("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(d);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="${Tn("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="${Tn("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="${Tn("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="${Tn("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(_){o.contains(_.target)||(n.showInstructions=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(vW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});vW.prototype.isDestroyed=function(){return!1};vW.prototype.destroy=function(){return pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var wW=vW;function tie(e){this._scene=e.scene,this.lowFrameRateMessage=y(e.lowFrameRateMessage,"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers."),this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=ii(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=eG.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(tie.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});tie.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var DW=tie;function PW(e){let t=fi(e.container),n=new DW(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="&times;",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(PW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});PW.prototype.isDestroyed=function(){return!1};PW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var IW=PW;function RW(e){this._scene=e,this._orthographic=e.camera.frustum instanceof wn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=ii(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new zs,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof wn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=u(e.camera._currentFlight)}),this._switchToPerspective=ii(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=ii(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(RW.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}}});RW.prototype.isDestroyed=function(){return!1};RW.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var OW=RW;var qBt="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",YBt="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 MW(e,t){e=fi(e);let n=new OW(t);n._perspectivePath=qBt,n._orthographicPath=YBt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(MW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});MW.prototype.isDestroyed=function(){return!1};MW.prototype.destroy=function(){return this._viewModel.destroy(),pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var LW=MW;function NW(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new zs,this._eventHelper.add(e.morphStart,i),this._duration=y(t,2),this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=ii(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=ii(function(){e.morphTo2D(n._duration)}),this._morphTo3D=ii(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=ii(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(NW.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}}});NW.prototype.isDestroyed=function(){return!1};NW.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var FW=NW;var XBt="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",KBt="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",ZBt="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 BW(e,t,n){e=fi(e);let i=new FW(t,n);i._globePath=XBt,i._flatMapPath=KBt,i._columbusViewPath=ZBt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(l){o.contains(l.target)||(i.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(BW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BW.prototype.isDestroyed=function(){return!1};BW.prototype.destroy=function(){return this._viewModel.destroy(),pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var kW=BW;var $Bt=new H,VW="-1000px";function nO(e,t,n){this._scene=e,this._screenPositionX=VW,this._screenPositionY=VW,this._tweens=e.tweens,this._container=y(n,document.body),this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&u(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Co.worldToWindowCoordinates(e,i,o)}}nO.prototype.update=function(){if(this.showSelection&&u(this.position)){let e=this.computeScreenSpacePosition(this.position,$Bt);if(!u(e))this._screenPositionX=VW,this._screenPositionY=VW;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`}}};nO.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Us.EXPONENTIAL_OUT})};nO.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Us.EXPONENTIAL_OUT})};Object.defineProperties(nO.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var UW=nO;function zW(e,t){e=fi(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 UW(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties(zW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});zW.prototype.isDestroyed=function(){return!1};zW.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var HW=zW;function RA(e,t,n){this._color=e,this._height=t,this._base=y(n,0)}RA.prototype.getHeight=function(){return this._height};RA.prototype.getBase=function(){return this._base};RA.prototype.getStartTime=function(){return this._start};RA.prototype.getStopTime=function(){return this._stop};RA.prototype.setRange=function(e,t){this._start=e,this._stop=t};RA.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=Q.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=Q.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 GW=RA;function cRe(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)}cRe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=Q.addSeconds(t.startJulian,t.duration,new Q);if(Q.lessThan(n,o)&&Q.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(Q.lessThanOrEquals(n,r)&&Q.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let l=Q.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new Q);!u(a)&&Q.greaterThanOrEquals(l,n)?a=s:!u(c)&&Q.greaterThanOrEquals(l,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),u(a)&&(u(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var WW=cRe;var nie=1e12,Th={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},_u={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},wb=[.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],QBt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function gu(e,t){e=fi(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=Th.none,this._touchMode=_u.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=JBt(this),this._onMouseUp=e4t(this),this._onMouseMove=t4t(this),this._onMouseWheel=n4t(this),this._onTouchStart=i4t(this),this._onTouchMove=r4t(this),this._onTouchEnd=o4t(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()}gu.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};gu.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};gu.prototype.isDestroyed=function(){return!1};gu.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};gu.prototype.addHighlightRange=function(e,t,n){let i=new GW(e,t,n);return this._highlightRanges.push(i),this.resize(),i};gu.prototype.addTrack=function(e,t,n,i){let o=new WW(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};gu.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=Q.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Vs.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=Q.secondsDifference(o,i),s=Q.secondsDifference(i,this._startJulian),a=Q.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=Q.addSeconds(this._endJulian,s,new Q),this._startJulian=i,this._timeBarSecondsSpan=Q.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=Q.addSeconds(this._startJulian,a,new Q),this._endJulian=o,this._timeBarSecondsSpan=Q.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)};gu.prototype.zoomFrom=function(e){let t=Q.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(Q.addSeconds(this._startJulian,t-t*e,new Q),Q.addSeconds(this._endJulian,n*e-n,new Q))};function iie(e){return e<10?`0${e.toString()}`:e.toString()}gu.prototype.makeLabel=function(e){let t=Q.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`${QBt[t.month-1]} ${t.day} ${t.year} ${iie(t.hour)}:${iie(t.minute)}:${iie(t.second)}${i}`};gu.prototype.smallestTicInPixels=7;gu.prototype._makeTics=function(){let e=this._timeBarEle,t=Q.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,l=1e-10,f=0,d=this._timeBarSecondsSpan;d<a?(d=a,this._timeBarSecondsSpan=a,this._endJulian=Q.addSeconds(this._startJulian,a,new Q)):d>c&&(d=c,this._timeBarSecondsSpan=c,this._endJulian=Q.addSeconds(this._startJulian,c,new Q));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let _=this._startJulian,m=Math.min(d/p*1e-5,.4),x,b=Q.toGregorianDate(_);d>31536e4?x=Q.fromDate(new Date(Date.UTC(Math.floor(b.year/100)*100,0))):d>31536e3?x=Q.fromDate(new Date(Date.UTC(Math.floor(b.year/10)*10,0))):d>86400?x=Q.fromDate(new Date(Date.UTC(b.year,0))):x=Q.fromDate(new Date(Date.UTC(b.year,b.month,b.day)));let T=Q.secondsDifference(this._startJulian,Q.addSeconds(x,m,new Q)),C=T+d;this._epochJulian=x;function A(k){return Math.floor(T/k)*k}function E(k,W){return Math.ceil(k/W+.5)*W}function v(k){return(k-T)/d}function D(k,W){return k-W*Math.round(k/W)}this._rulerEle.innerHTML=this.makeLabel(Q.addSeconds(this._endJulian,-a,new Q));let R=this._rulerEle.offsetWidth+20;R<30&&(R=180);let O=f;f-=l;let L={startTime:T,startJulian:_,epochJulian:x,duration:d,timeBarWidth:p,getAlpha:v};this._highlightRanges.forEach(function(k){s+=k.render(L)});let N=0,g=0,S=0,w=R/p;w>1&&(w=1),w*=this._timeBarSecondsSpan;let P=-1,F=-1,B=wb.length,G;for(G=0;G<B;++G){let k=wb[G];if(++P,N=k,k>w&&k>f)break;F<0&&p*(k/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(F=P)}if(P>0){for(;P>0;)if(--P,Math.abs(D(N,wb[P]))<1e-5){wb[P]>=f&&(g=wb[P]);break}if(F>=0)for(;F<P;){if(Math.abs(D(g,wb[F]))<1e-5&&wb[F]>=f){S=wb[F];break}++F}}f=O,f>l&&S<1e-5&&Math.abs(f-N)>l&&(S=f,f<=N+l&&(g=0));let V=-999999,U;if(p*(S/this._timeBarSecondsSpan)>=3)for(o=A(S);o<=C;o=E(o,S))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*v(o)).toString()}px;"></span>`;if(p*(g/this._timeBarSecondsSpan)>=3)for(o=A(g);o<=C;o=E(o,g))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*v(o)).toString()}px;"></span>`;if(p*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,C+=N,o=A(N);let k=Q.computeTaiMinusUtc(x);for(;o<=C;){let W=Q.addSeconds(_,o-T,new Q);if(N>2.1){let ee=Q.computeTaiMinusUtc(W);Math.abs(ee-k)>.1&&(o+=ee-k,W=Q.addSeconds(_,o-T,new Q))}let j=Math.round(p*v(o)),K=this.makeLabel(W);this._rulerEle.innerHTML=K,U=this._rulerEle.offsetWidth,U<10&&(U=R);let Y=j-(U/2-1);Y>V?(V=Y+U+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${j.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${Y.toString()}px;">${K}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${j.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),L.y=0,this._trackList.forEach(function(k){k.render(r._context,L),L.y+=k.height})};gu.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(u(this._scrubElement)){let t=Q.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`)}u(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(Q.addSeconds(this._startJulian,this._timelineDrag,new Q),Q.addSeconds(this._endJulian,this._timelineDrag,new Q)))};gu.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=Q.addSeconds(this._startJulian,t,new Q),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 JBt(e){return function(t){e._mouseMode!==Th.touchOnly&&(t.button===0?(e._mouseMode=Th.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Th.zoom:e._mouseMode=Th.slide)),t.preventDefault()}}function e4t(e){return function(t){e._mouseMode=Th.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function t4t(e){return function(t){let n;if(e._mouseMode===Th.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===Th.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(Q.addSeconds(e._startJulian,i,new Q),Q.addSeconds(e._endJulian,i,new Q))}}else e._mouseMode===Th.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function n4t(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;nie=Math.max(Math.min(Math.abs(n),nie),1),n/=nie,e.zoomFrom(Math.pow(1.05,-n))}}function i4t(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Th.touchOnly,n===1?(i=Q.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=_u.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=_u.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=_u.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=_u.ignore}}function o4t(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===_u.singleTap?(e._touchMode=_u.scrub,e._onTouchMove(t)):e._touchMode===_u.scrub&&e._onTouchMove(t),e._mouseMode=Th.touchOnly,n!==1?e._touchMode=n>0?_u.ignore:_u.none:e._touchMode===_u.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function r4t(e){return function(t){let n,i,o,r,s,a,c=1,l=e._topDiv.getBoundingClientRect().left;e._touchMode===_u.singleTap&&(e._touchMode=_u.slideZoom),e._mouseMode=Th.touchOnly,e._touchMode===_u.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-l,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===_u.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-l,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-l,s=0),u(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=Q.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new Q)):(n=e._touchState.centerX-r,a=Q.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new Q)),e.zoomTo(a,Q.addSeconds(a,e._timeBarSecondsSpan*c,new Q)),e._touchState.centerX=r,e._touchState.spanX=s))}}gu.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 jW=gu;var hRe=yr(dRe(),1);function c4t(e){let t=!1,n=window.screen;return u(n)&&(u(n.lockOrientation)?t=n.lockOrientation(e):u(n.mozLockOrientation)?t=n.mozLockOrientation(e):u(n.msLockOrientation)?t=n.msLockOrientation(e):u(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function mRe(){let e=window.screen;u(e)&&(u(e.unlockOrientation)?e.unlockOrientation():u(e.mozUnlockOrientation)?e.mozUnlockOrientation():u(e.msUnlockOrientation)?e.msUnlockOrientation():u(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function l4t(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(mRe(),e._locked=!1),e._noSleep.disable(),Cs.exitFullscreen(),n(!1)):(Cs.fullscreen||Cs.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=c4t("landscape")),t.useWebVR=!0,n(!0)))}function qW(e,t){let n=this,i=Se.observable(Cs.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&Cs.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new zs,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof wn)}),this._locked=!1,this._noSleep=new hRe.default,this._command=ii(function(){l4t(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=y(fi(t),document.body),this._callback=function(){!Cs.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(mRe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(Cs.changeEventName,this._callback)}Object.defineProperties(qW.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});qW.prototype.isDestroyed=function(){return!1};qW.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(Cs.changeEventName,this._callback),he(this)};var YW=qW;var u4t="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",f4t="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 XW(e,t,n){e=fi(e);let i=new YW(t,n);i._exitVRPath=f4t,i._enterVRPath=u4t;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(XW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XW.prototype.isDestroyed=function(){return!1};XW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var KW=XW;var Db=new ce;function gRe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function d4t(e){let t=e.getPropertyIds(),n="";return Array.isArray(t)&&(t.forEach(function(i){let o=e.getProperty(i);u(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 h4t(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(u(r)&&r!=="")return r}return"Unnamed Feature"}function pRe(e,t){let n=e.scene.pick(t.position);if(u(n)){let i=y(n.id,n.primitive.id);if(i instanceof ts)return i;if(n instanceof rc)return new ts({name:h4t(n),description:d4t(n),feature:n})}if(u(e.scene.globe))return _4t(e,t.position)}var m4t=new Q;function yRe(e,t,n){if(u(n)){let i=n.clock;if(u(i)&&(i.getValue(t),u(e))){let o=i.startTime,r=i.stopTime;Q.equals(o,r)&&(r=Q.addSeconds(o,I.EPSILON2,m4t)),e.updateFromClock(),e.zoomTo(o,r)}}}var p4t=new h;function _4t(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!u(o))return;let r=new ts({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!u(s)||s.length===0){e.selectedEntity=_Re();return}let a=s[0],c=new ts({id:a.name,description:a.description});if(u(a.position)){let l=e.scene.ellipsoid.cartographicToCartesian(a.position,p4t);c.position=new Nu(l)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=_Re())}),r}function _Re(){return new ts({id:"None",description:"No features found."})}function g4t(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,l=e._fullscreenButton,f=e._infoBox,d=e._selectionIndicator,p=t?"hidden":"visible";if(u(n)&&(n.container.style.visibility=p),u(i)&&(i.container.style.visibility=p),u(o)&&(o.container.style.visibility=p),u(r)&&(r.container.style.visibility=p),u(s)&&(s.container.style.visibility=p),u(a)&&(a.container.style.visibility=p),u(c)&&(c.container.style.visibility=p),u(l)&&l.viewModel.isFullscreenEnabled&&(l.container.style.visibility=p),u(f)&&(f.container.style.visibility=p),u(d)&&(d.container.style.visibility=p),e._container){let _=t||!u(l)?0:l.container.clientWidth;e._vrButton.container.style.right=`${_}px`,e.forceResize()}}function yo(e,t){e=fi(e),t=y(t,{}),t.selectionIndicator=y(t.selectionIndicator,!1),t.infoBox=y(t.selectionIndicator,!1),t.geocoder=y(t.geocoder,!1),t.homeButton=y(t.homeButton,!1),t.sceneModePicker=y(t.sceneModePicker,!1),t.baseLayerPicker=y(t.baseLayerPicker,!1),t.navigationHelpButton=y(t.navigationHelpButton,!1),t.timeline=y(t.timeline,!1),t.animation=y(t.animation,!1),t.fullscreenButton=y(t.fullscreenButton,!1);let n=(!u(t.globe)||t.globe!==!1)&&(!u(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";let a=y(t.scene3DOnly,!1),c,l,f=!1;u(t.clockViewModel)?(l=t.clockViewModel,c=l.clock):(c=new hp,l=new j7(c),f=!0),u(t.shouldAnimate)&&(c.shouldAnimate=t.shouldAnimate);let d=1;if(u(t.logoScale)){let K=parseFloat(t.logoScale);u(K)&&K>=.2&&(d=K)}let p=new L7(r,{baseLayer:n&&u(t.selectedImageryProviderViewModel)||u(t.baseLayer)||u(t.imageryProvider)?!1:void 0,clock:c,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:u(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,scene3DOnly:a,logoScale:d,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),_=t.dataSources,m=!1;u(_)||(_=new Dz,m=!0);let x=p.scene,b=new Kz({scene:x,dataSourceCollection:_}),T=new zs;T.add(c.onTick,yo.prototype._onTick,this),T.add(x.morphStart,yo.prototype._clearTrackedObject,this);let C;if(!u(t.selectionIndicator)||t.selectionIndicator!==!1){let K=document.createElement("div");K.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(K),C=new HW(K,x)}let A;if(!u(t.infoBox)||t.infoBox!==!1){let K=document.createElement("div");K.className="cesium-viewer-infoBoxContainer",o.appendChild(K),A=new EW(K);let Y=A.viewModel;T.add(Y.cameraClicked,yo.prototype._onInfoBoxCameraClicked,this),T.add(Y.closeClicked,yo.prototype._onInfoBoxClockClicked,this)}let E=document.createElement("div");E.className="cesium-viewer-toolbar",o.appendChild(E);let v;if(!u(t.geocoder)||t.geocoder!==!1){let K=document.createElement("div");K.className="cesium-viewer-geocoderContainer",E.appendChild(K);let Y;u(t.geocoder)&&typeof t.geocoder!="boolean"&&(Y=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),v=new _W({container:K,geocoderServices:Y,scene:x}),T.add(v.viewModel.search.beforeExecute,yo.prototype._clearObjects,this)}let D;(!u(t.homeButton)||t.homeButton!==!1)&&(D=new xW(E,x),u(v)&&T.add(D.viewModel.command.afterExecute,function(){let K=v.viewModel;K.searchText="",K.isSearchInProgress&&K.search()}),T.add(D.viewModel.command.beforeExecute,yo.prototype._clearTrackedObject,this));let R;!a&&(!u(t.sceneModePicker)||t.sceneModePicker!==!1)&&(R=new kW(E,x));let O;t.projectionPicker&&(O=new LW(E,x));let L,N;if(n){let K=y(t.imageryProviderViewModels,K7()),Y=y(t.terrainProviderViewModels,Z7());L=new X7(E,{globe:x.globe,imageryProviderViewModels:K,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:Y,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),N=E.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}u(t.baseLayer)&&t.baseLayer!==!1&&(n&&(L.viewModel.selectedImagery=void 0),x.imageryLayers.removeAll(),x.imageryLayers.add(t.baseLayer)),u(t.terrainProvider)&&(n&&(L.viewModel.selectedTerrain=void 0),x.terrainProvider=t.terrainProvider),u(t.terrain)&&(n&&(x.globe.depthTestAgainstTerrain=!0),x.setTerrain(t.terrain));let g;if(!u(t.navigationHelpButton)||t.navigationHelpButton!==!1){let K=!0;try{if(u(window.localStorage)){let Y=window.localStorage.getItem("cesium-hasSeenNavHelp");u(Y)&&Y?K=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}g=new wW({container:E,instructionsInitiallyVisible:y(t.navigationInstructionsInitiallyVisible,K)})}let S;if(!u(t.animation)||t.animation!==!1){let K=document.createElement("div");K.className="cesium-viewer-animationContainer",o.appendChild(K),S=new rW(K,new sW(l))}let w;if(!u(t.timeline)||t.timeline!==!1){let K=document.createElement("div");K.className="cesium-viewer-timelineContainer",o.appendChild(K),w=new jW(K,c),w.addEventListener("settime",gRe,!1),w.zoomTo(c.startTime,c.stopTime)}let P,F,B;(!u(t.fullscreenButton)||t.fullscreenButton!==!1)&&(B=document.createElement("div"),B.className="cesium-viewer-fullscreenContainer",o.appendChild(B),P=new hW(B,t.fullscreenElement),F=kc(P.viewModel,"isFullscreenEnabled",function(K){B.style.display=K?"block":"none",u(w)&&(w.container.style.right=`${B.clientWidth}px`,w.resize())}));let G,V,U;if(t.vrButton){let K=document.createElement("div");K.className="cesium-viewer-vrContainer",o.appendChild(K),G=new KW(K,x,t.fullScreenElement),V=kc(G.viewModel,"isVREnabled",function(Y){K.style.display=Y?"block":"none",u(P)&&(K.style.right=`${B.clientWidth}px`),u(w)&&(w.container.style.right=`${K.clientWidth}px`,w.resize())}),U=kc(G.viewModel,"isVRMode",function(Y){g4t(i,Y)})}this._baseLayerPickerDropDown=N,this._fullscreenSubscription=F,this._vrSubscription=V,this._vrModeSubscription=U,this._dataSourceChangedListeners={},this._automaticallyTrackDataSourceClocks=y(t.automaticallyTrackDataSourceClocks,!0),this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=p,this._selectionIndicator=C,this._infoBox=A,this._dataSourceCollection=_,this._destroyDataSourceCollection=m,this._dataSourceDisplay=b,this._clockViewModel=l,this._destroyClockViewModel=f,this._toolbar=E,this._homeButton=D,this._sceneModePicker=R,this._projectionPicker=O,this._baseLayerPicker=L,this._navigationHelpButton=g,this._animation=S,this._timeline=w,this._fullscreenButton=P,this._vrButton=G,this._geocoder=v,this._eventHelper=T,this._lastWidth=0,this._lastHeight=0,this._allowDataSourcesToSuspendAnimation=!0,this._entityView=void 0,this._enableInfoOrSelection=u(A)||u(C),this._clockTrackedDataSource=void 0,this._trackedEntity=void 0,this._needTrackedEntityUpdate=!1,this._selectedEntity=void 0,this._zoomIsFlight=!1,this._zoomTarget=void 0,this._zoomPromise=void 0,this._zoomOptions=void 0,this._selectedEntityChanged=new be,this._trackedEntityChanged=new be,Se.track(this,["_trackedEntity","_selectedEntity","_clockTrackedDataSource"]),T.add(_.dataSourceAdded,yo.prototype._onDataSourceAdded,this),T.add(_.dataSourceRemoved,yo.prototype._onDataSourceRemoved,this),T.add(x.postUpdate,yo.prototype.resize,this),T.add(x.postRender,yo.prototype._postRender,this);let k=_.length;for(let K=0;K<k;K++)this._dataSourceAdded(_,_.get(K));this._dataSourceAdded(void 0,b.defaultDataSource),T.add(_.dataSourceAdded,yo.prototype._dataSourceAdded,this),T.add(_.dataSourceRemoved,yo.prototype._dataSourceRemoved,this);function W(K){let Y=pRe(i,K);u(Y)?X.getValueOrUndefined(Y.position,i.clock.currentTime)?i.trackedEntity=Y:i.zoomTo(Y):u(i.trackedEntity)&&(i.trackedEntity=void 0)}function j(K){i.selectedEntity=pRe(i,K)}p.screenSpaceEventHandler.setInputAction(j,Zn.LEFT_CLICK),p.screenSpaceEventHandler.setInputAction(W,Zn.LEFT_DOUBLE_CLICK)}Object.defineProperties(yo.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._dataSourceDisplay}},entities:{get:function(){return this._dataSourceDisplay.defaultDataSource.entities}},dataSources:{get:function(){return this._dataSourceCollection}},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._allowDataSourcesToSuspendAnimation},set:function(e){this._allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._trackedEntity},set:function(e){if(this._trackedEntity!==e){this._trackedEntity=e,aie(this);let t=this.scene,n=t.mode;!u(e)||!u(e.position)?(this._needTrackedEntityUpdate=!1,(n===re.COLUMBUS_VIEW||n===re.SCENE2D)&&(t.screenSpaceCameraController.enableTranslate=!0),(n===re.COLUMBUS_VIEW||n===re.SCENE3D)&&(t.screenSpaceCameraController.enableTilt=!0),this._entityView=void 0,this.camera.lookAtTransform(M.IDENTITY)):this._needTrackedEntityUpdate=!0,this._trackedEntityChanged.raiseEvent(e),this.scene.requestRender()}}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=u(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;u(e)?u(t)&&t.animateAppear():u(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._clockTrackedDataSource},set:function(e){this._clockTrackedDataSource!==e&&(this._clockTrackedDataSource=e,yRe(this._timeline,this.clock,e))}}});yo.prototype.getCurrentTilesLevels=function(){this.scene._globe.depthTestAgainstTerrain=!0;let e=this.scene._globe._surface._tilesToRender,t=this.camera.positionWC,n=this.camera.directionWC,i=new Ray(t,n),o=this.scene.pickFromRay(i,[]);if(o===void 0||o.position===void 0)return;let r=o.position,s=h.distance(r,t),a={};a.centerTileLevel=0,a.maxTileLevel=0,a.minTileLevel=Number.POSITIVE_INFINITY;let c=Number.POSITIVE_INFINITY;for(let l=0,f=e.length;l<f;l++){e[l].level>a.maxTileLevel&&(a.maxTileLevel=e[l].level),e[l].level<a.minTileLevel&&(a.minTileLevel=e[l].level);let d=Math.abs(e[l]._distance-s)<c;d<c&&(c=d,a.centerTileLevel=e[l].level)}return a};yo.prototype.extend=function(e,t){e(this,t)};yo.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=u(this._animation),r=u(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(u(a)&&(a.style.maxHeight=`${s}px`),u(this._geocoder)){let m=this._geocoder.searchSuggestionsContainer;m.style.maxHeight=`${s}px`}u(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,l,f=0,d=5,p=3,_=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let m=this._lastWidth;l=this._animation.container,n>900?(f=169,m<=900&&(l.style.width="169px",l.style.height="112px",this._animation.resize())):n>=600?(f=136,(m<600||m>900)&&(l.style.width="136px",l.style.height="90px",this._animation.resize())):(f=106,(m>600||m===0)&&(l.style.width="106px",l.style.height="70px",this._animation.resize())),d=f+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let m=this._fullscreenButton,x=this._vrButton,b=c.container,T=b.style;p=b.clientHeight+3,T.left=`${f}px`;let C=0;u(m)&&(C+=m.container.clientWidth),u(x)&&(C+=x.container.clientWidth),T.right=`${C}px`,c.resize()}!r&&u(this._fullscreenButton)&&(_=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${d}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${_}px`,this._lastWidth=n,this._lastHeight=i};yo.prototype.forceResize=function(){this._lastWidth=0,this.resize()};yo.prototype.render=function(){this._cesiumWidget.render()};yo.prototype.isDestroyed=function(){return!1};yo.prototype.destroy=function(){let e;u(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(Zn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(Zn.LEFT_DOUBLE_CLICK));let t=this.dataSources,n=t.length;for(e=0;e<n;e++)this._dataSourceRemoved(t,t.get(e));return this._dataSourceRemoved(void 0,this._dataSourceDisplay.defaultDataSource),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),u(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),u(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),u(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),u(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),u(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),u(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),u(this._timeline)&&(this._timeline.removeEventListener("settime",gRe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),u(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),u(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),u(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),u(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._dataSourceDisplay=this._dataSourceDisplay.destroy(),this._cesiumWidget=this._cesiumWidget.destroy(),this._destroyDataSourceCollection&&(this._dataSourceCollection=this._dataSourceCollection.destroy()),he(this)};yo.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(yo.prototype._onEntityCollectionChanged,this)};yo.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(yo.prototype._onEntityCollectionChanged,this),u(this.trackedEntity)&&n.getById(this.trackedEntity.id)===this.trackedEntity&&(this.trackedEntity=void 0),u(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};yo.prototype._onTick=function(e){let t=e.currentTime,n=this._dataSourceDisplay.update(t);this._allowDataSourcesToSuspendAnimation&&(this._clockViewModel.canAnimate=n);let i=this._entityView;if(u(i)){let f=this._trackedEntity;this._dataSourceDisplay.getBoundingSphere(f,!0,Db)===Lt.DONE&&i.update(t,Db)}let o,r=!1,s=this.selectedEntity,a=u(s)&&this._enableInfoOrSelection;a&&s.isShowing&&s.isAvailable(t)&&(this._dataSourceDisplay.getBoundingSphere(s,!0,Db)!==Lt.FAILED?o=Db.center:u(s.position)&&(o=s.position.getValue(t,o)),r=u(o));let c=u(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;u(c)&&(c.position=h.clone(o,c.position),c.showSelection=a&&r,c.update());let l=u(this._infoBox)?this._infoBox.viewModel:void 0;u(l)&&(l.showInfo=a,l.enableCamera=r,l.isCameraTracking=this.trackedEntity===this.selectedEntity,a?(l.titleText=y(s.name,s.id),l.description=X.getValueOrDefault(s.description,t,"")):(l.titleText="",l.description=""))};yo.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.trackedEntity===r&&(this.trackedEntity=void 0),this.selectedEntity===r&&(this.selectedEntity=void 0)}};yo.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;u(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};yo.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};yo.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};yo.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};yo.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&yRe(this.timeline,this.clock,e)};yo.prototype._onDataSourceAdded=function(e,t){this._automaticallyTrackDataSourceClocks&&(this.clockTrackedDataSource=t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,yo.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};yo.prototype._onDataSourceRemoved=function(e,t){let n=this.clockTrackedDataSource===t,i=t.entities.id;if(this._dataSourceChangedListeners[i](),this._dataSourceChangedListeners[i]=void 0,n){let o=e.length;this._automaticallyTrackDataSourceClocks&&o>0?this.clockTrackedDataSource=e.get(o-1):this.clockTrackedDataSource=void 0}};yo.prototype.zoomTo=function(e,t){return xRe(this,e,{offset:t},!1)};yo.prototype.flyTo=function(e,t){return xRe(this,e,t,!0)};function xRe(e,t,n,i){aie(e);let o=new Promise(r=>{e._completeZoom=function(s){r(s)}});return e._zoomPromise=o,e._zoomIsFlight=i,e._zoomOptions=n,Promise.resolve(t).then(function(r){if(e._zoomPromise===o){if(r instanceof Ks){let s;u(r.imageryProvider)?s=Promise.resolve(r.getImageryRectangle()):s=new Promise(a=>{let c=r.readyEvent.addEventListener(()=>{c(),a(r.getImageryRectangle())})}),s.then(function(a){return Ww(a,e.scene)}).then(function(a){e._zoomPromise===o&&(e._zoomTarget=a)});return}if(r instanceof ra||r instanceof zR||r instanceof TA||r instanceof tu){e._zoomTarget=r;return}if(r.isLoading&&u(r.loadingEvent)){let s=r.loadingEvent.addEventListener(function(){s(),e._zoomPromise===o&&(e._zoomTarget=r.entities.values.slice(0))});return}if(Array.isArray(r)){e._zoomTarget=r.slice(0);return}r=y(r.values,r),u(r.entities)&&(r=r.entities.values),Array.isArray(r)?e._zoomTarget=r.slice(0):e._zoomTarget=[r]}}),e.scene.requestRender(),o}function iO(e){e._zoomPromise=void 0,e._zoomTarget=void 0,e._zoomOptions=void 0}function aie(e){let t=e._zoomPromise;u(t)&&(iO(e),e._completeZoom(!1))}yo.prototype._postRender=function(){y4t(this),x4t(this)};function y4t(e){let t=e._zoomTarget;if(!u(t)||e.scene.mode===re.MORPHING)return;let n=e.scene,i=n.camera,o=y(e._zoomOptions,{}),r;function s(f){u(o.offset)||(o.offset=new Ul(0,-.5,f.radius)),r={offset:o.offset,duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyToBoundingSphere(t.boundingSphere,r):(i.viewBoundingSphere(f,o.offset),i.lookAtTransform(M.IDENTITY),e._completeZoom(!0)),iO(e)}if(t instanceof zR){if(u(t.boundingSphere)){s(t.boundingSphere);return}let f=t.frameChanged.addEventListener(function(d){s(d.boundingSphere),f()});return}if(t instanceof ra||t instanceof TA||t instanceof tu){s(t.boundingSphere);return}if(t instanceof ue){r={destination:n.ellipsoid.cartographicToCartesian(t),duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyTo(r):(i.setView(r),e._completeZoom(!0)),iO(e);return}let a=t,c=[];for(let f=0,d=a.length;f<d;f++){let p=e._dataSourceDisplay.getBoundingSphere(a[f],!1,Db);if(p===Lt.PENDING)return;p!==Lt.FAILED&&c.push(ce.clone(Db))}if(c.length===0){aie(e);return}e.trackedEntity=void 0;let l=ce.fromBoundingSpheres(c);e._zoomIsFlight?(iO(e),i.flyToBoundingSphere(l,{duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)},offset:o.offset})):(i.viewBoundingSphere(l,o.offset),i.lookAtTransform(M.IDENTITY),iO(e),e._completeZoom(!0))}function x4t(e){if(!e._needTrackedEntityUpdate)return;let t=e._trackedEntity,n=e.clock.currentTime,i=X.getValueOrUndefined(t.position,n);if(!u(i))return;let o=e.scene,r=e._dataSourceDisplay.getBoundingSphere(t,!1,Db);if(r===Lt.PENDING)return;let s=o.mode;(s===re.COLUMBUS_VIEW||s===re.SCENE2D)&&(o.screenSpaceCameraController.enableTranslate=!1),(s===re.COLUMBUS_VIEW||s===re.SCENE3D)&&(o.screenSpaceCameraController.enableTilt=!1);let a=r!==Lt.FAILED?Db:void 0;e._entityView=new Qz(t,o,o.ellipsoid),e._entityView.update(n,a),e._needTrackedEntityUpdate=!1}var bRe=yo;function b4t(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new eW(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var TRe=b4t;function T4t(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new lW(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var CRe=T4t;function C4t(e,t){t=y(t,y.EMPTY_OBJECT);let n=!0,i=y(t.flyToOnDrop,!0),o=new be,r=y(t.clearOnDrop,!0),s=y(t.dropTarget,e.container),a=y(t.clampToGround,!0),c=t.proxy;s=fi(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(f){ARe(s,l),s=f,cie(s,l)}},dropEnabled:{get:function(){return n},set:function(f){f!==n&&(f?cie(s,l):ARe(s,l),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 l(f){OA(f),r&&(e.entities.removeAll(),e.dataSources.removeAll());let d=f.dataTransfer.files,p=d.length;for(let _=0;_<p;_++){let m=d[_],x=new FileReader;x.onload=A4t(e,m,c,a),x.onerror=E4t(e,m),x.readAsText(m)}}cie(s,l),e.destroy=JN(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=l}function OA(e){e.stopPropagation(),e.preventDefault()}function ARe(e,t){let n=e;u(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",OA,!1),n.removeEventListener("dragover",OA,!1),n.removeEventListener("dragexit",OA,!1))}function cie(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",OA,!1),e.addEventListener("dragover",OA,!1),e.addEventListener("dragexit",OA,!1)}function A4t(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=vz.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=J5.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=v6.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=d6.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}u(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 E4t(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var ERe=C4t;function S4t(e,t){t=y(t,y.EMPTY_OBJECT);let n=new IW({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var SRe=S4t;function vRe(e){let t=e.split(`
19085
+ </div>`,n.appendChild(i);let o=new TW(t);Se.track(o),Se.applyBindings(o,n),u(o.defaultLayer)&&(o.currentLayer=o.defaultLayer)}var sRe=GBt;var WBt="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",jBt="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 eie(){this._cameraClicked=new be,this._closeClicked=new be,this.maxHeight=500,this.enableCamera=!1,this.isCameraTracking=!1,this.showInfo=!1,this.titleText="",this.description="",Se.track(this,["showInfo","titleText","description","maxHeight","enableCamera","isCameraTracking"]),this._loadingIndicatorHtml='<div class="cesium-infoBox-loadingContainer"><span class="cesium-infoBox-loading"></span></div>',this.cameraIconPath=void 0,Se.defineProperty(this,"cameraIconPath",{get:function(){return!this.enableCamera||this.isCameraTracking?jBt:WBt}}),Se.defineProperty(this,"_bodyless",{get:function(){return!u(this.description)||this.description.length===0}})}eie.prototype.maxHeightOffset=function(e){return`${this.maxHeight-e}px`};Object.defineProperties(eie.prototype,{cameraClicked:{get:function(){return this._cameraClicked}},closeClicked:{get:function(){return this._closeClicked}}});var CW=eie;function AW(e){e=fi(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="&times;",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 CW;Se.applyBindings(s,t),this._container=e,this._element=t,this._frame=r,this._viewModel=s,this._descriptionSubscription=void 0;let a=this;r.addEventListener("load",function(){let c=r.contentDocument,l=c.createElement("link");l.href=Tn("Widgets/InfoBox/InfoBoxDescription.css"),l.rel="stylesheet",l.type="text/css";let f=c.createElement("div");f.className="cesium-infoBox-description",c.head.appendChild(l),c.body.appendChild(f),a._descriptionSubscription=kc(s,"description",function(d){r.style.height="5px",f.innerHTML=d;let p=null,_=f.firstElementChild;if(_!==null&&f.childNodes.length===1){let x=window.getComputedStyle(_);if(x!==null){let b=x["background-color"],T=z.fromCssColorString(b);u(T)&&T.alpha!==0&&(p=x["background-color"])}}t.style["background-color"]=p;let m=f.getBoundingClientRect().height;r.style.height=`${m}px`})}),r.setAttribute("src","about:blank")}Object.defineProperties(AW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}},frame:{get:function(){return this._frame}}});AW.prototype.isDestroyed=function(){return!1};AW.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),u(this._descriptionSubscription)&&this._descriptionSubscription.dispose(),he(this)};var EW=AW;function aRe(){this.showInstructions=!1;let e=this;this._command=ii(function(){e.showInstructions=!e.showInstructions}),this._showClick=ii(function(){e._touch=!1}),this._showTouch=ii(function(){e._touch=!0}),this._touch=!1,this.tooltip="Navigation Instructions",Se.track(this,["tooltip","showInstructions","_touch"])}Object.defineProperties(aRe.prototype,{command:{get:function(){return this._command}},showClick:{get:function(){return this._showClick}},showTouch:{get:function(){return this._showTouch}}});var SW=aRe;function vW(e){let t=fi(e.container),n=new SW,i=y(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=Tn("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 l=document.createElement("button");l.type="button",l.className="cesium-navigation-button cesium-navigation-button-right",l.setAttribute("data-bind",'click: showTouch, css: {"cesium-navigation-button-selected": _touch, "cesium-navigation-button-unselected": !_touch}');let f=document.createElement("img");f.src=Tn("Widgets/Images/NavigationHelp/Touch.svg"),f.className="cesium-navigation-button-icon",f.style.width="25px",f.style.height="25px",l.appendChild(f),l.appendChild(document.createTextNode("Touch")),s.appendChild(a),s.appendChild(l);let d=document.createElement("div");d.className="cesium-click-navigation-help cesium-navigation-help-instructions",d.setAttribute("data-bind",'css: { "cesium-click-navigation-help-visible" : !_touch}'),d.innerHTML=` <table> <tr> <td><img src="${Tn("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="${Tn("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="${Tn("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(d);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="${Tn("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="${Tn("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="${Tn("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="${Tn("Widgets/Images/NavigationHelp/TouchRotate.svg")}" width="70" height="48" /></td> <td> <div class="cesium-navigation-help-tilt">Rotate view</div> <div class="cesium-navigation-help-details">Two finger drag, opposite direction</div> </td> </tr> </table>`,s.appendChild(p),Se.applyBindings(n,o),this._container=t,this._viewModel=n,this._wrapper=o,this._closeInstructions=function(_){o.contains(_.target)||(n.showInstructions=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeInstructions,!0):(document.addEventListener("mousedown",this._closeInstructions,!0),document.addEventListener("touchstart",this._closeInstructions,!0))}Object.defineProperties(vW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});vW.prototype.isDestroyed=function(){return!1};vW.prototype.destroy=function(){return pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeInstructions,!0):(document.removeEventListener("mousedown",this._closeInstructions,!0),document.removeEventListener("touchstart",this._closeInstructions,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var wW=vW;function tie(e){this._scene=e.scene,this.lowFrameRateMessage=y(e.lowFrameRateMessage,"This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers."),this.lowFrameRateMessageDismissed=!1,this.showingLowFrameRateMessage=!1,Se.track(this,["lowFrameRateMessage","lowFrameRateMessageDismissed","showingLowFrameRateMessage"]);let t=this;this._dismissMessage=ii(function(){t.showingLowFrameRateMessage=!1,t.lowFrameRateMessageDismissed=!0});let n=eG.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(tie.prototype,{scene:{get:function(){return this._scene}},dismissMessage:{get:function(){return this._dismissMessage}}});tie.prototype.destroy=function(){return this._unsubscribeLowFrameRate(),this._unsubscribeNominalFrameRate(),he(this)};var DW=tie;function PW(e){let t=fi(e.container),n=new DW(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="&times;",o.setAttribute("data-bind","click: dismissMessage"),i.appendChild(o);let r=document.createElement("div");r.className="cesium-performance-watchdog-message",r.setAttribute("data-bind","html: lowFrameRateMessage"),i.appendChild(r),t.appendChild(i),Se.applyBindings(n,i),this._container=t,this._viewModel=n,this._element=i}Object.defineProperties(PW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});PW.prototype.isDestroyed=function(){return!1};PW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var IW=PW;function RW(e){this._scene=e,this._orthographic=e.camera.frustum instanceof wn,this._flightInProgress=!1,this.dropDownVisible=!1,this.tooltipPerspective="Perspective Projection",this.tooltipOrthographic="Orthographic Projection",this.selectedTooltip=void 0,this.sceneMode=e.mode,Se.track(this,["_orthographic","_flightInProgress","sceneMode","dropDownVisible","tooltipPerspective","tooltipOrthographic"]);let t=this;Se.defineProperty(this,"selectedTooltip",function(){return t._orthographic?t.tooltipOrthographic:t.tooltipPerspective}),this._toggleDropDown=ii(function(){t.sceneMode===re.SCENE2D||t._flightInProgress||(t.dropDownVisible=!t.dropDownVisible)}),this._eventHelper=new zs,this._eventHelper.add(e.morphComplete,function(n,i,o,r){t.sceneMode=o,t._orthographic=o===re.SCENE2D||t._scene.camera.frustum instanceof wn}),this._eventHelper.add(e.preRender,function(){t._flightInProgress=u(e.camera._currentFlight)}),this._switchToPerspective=ii(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToPerspectiveFrustum(),t._orthographic=!1,t.dropDownVisible=!1)}),this._switchToOrthographic=ii(function(){t.sceneMode!==re.SCENE2D&&(t._scene.camera.switchToOrthographicFrustum(),t._orthographic=!0,t.dropDownVisible=!1)}),this._sceneMode=re}Object.defineProperties(RW.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}}});RW.prototype.isDestroyed=function(){return!1};RW.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var OW=RW;var qBt="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",YBt="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 MW(e,t){e=fi(e);let n=new OW(t);n._perspectivePath=qBt,n._orthographicPath=YBt;let i=document.createElement("span");i.className="cesium-projectionPicker-wrapper cesium-toolbar-button",e.appendChild(i);let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-toolbar-button",o.setAttribute("data-bind",'css: { "cesium-projectionPicker-buttonPerspective": !_orthographic, "cesium-projectionPicker-buttonOrthographic": _orthographic, "cesium-button-disabled" : sceneMode === _sceneMode.SCENE2D || _flightInProgress, "cesium-projectionPicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),o.innerHTML='<!-- ko cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64, css: "cesium-projectionPicker-iconPerspective" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64, css: "cesium-projectionPicker-iconOrthographic" } --><!-- /ko -->',i.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",r.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && _orthographic), "cesium-projectionPicker-none" : !_orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible },attr: { title: tooltipPerspective },click: switchToPerspective,cesiumSvgPath: { path: _perspectivePath, width: 64, height: 64 }'),i.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-projectionPicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-projectionPicker-visible" : (dropDownVisible && !_orthographic), "cesium-projectionPicker-none" : _orthographic, "cesium-projectionPicker-hidden" : !dropDownVisible},attr: { title: tooltipOrthographic },click: switchToOrthographic,cesiumSvgPath: { path: _orthographicPath, width: 64, height: 64 }'),i.appendChild(s),Se.applyBindings(n,i),this._viewModel=n,this._container=e,this._wrapper=i,this._closeDropDown=function(a){i.contains(a.target)||(n.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(MW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});MW.prototype.isDestroyed=function(){return!1};MW.prototype.destroy=function(){return this._viewModel.destroy(),pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var LW=MW;function NW(e,t){this._scene=e;let n=this,i=function(o,r,s,a){n.sceneMode=s,n.dropDownVisible=!1};this._eventHelper=new zs,this._eventHelper.add(e.morphStart,i),this._duration=y(t,2),this.sceneMode=e.mode,this.dropDownVisible=!1,this.tooltip2D="2D",this.tooltip3D="3D",this.tooltipColumbusView="Columbus View",Se.track(this,["sceneMode","dropDownVisible","tooltip2D","tooltip3D","tooltipColumbusView"]),this.selectedTooltip=void 0,Se.defineProperty(this,"selectedTooltip",function(){let o=n.sceneMode;return o===re.SCENE2D?n.tooltip2D:o===re.SCENE3D?n.tooltip3D:n.tooltipColumbusView}),this._toggleDropDown=ii(function(){n.dropDownVisible=!n.dropDownVisible}),this._morphTo2D=ii(function(){e.morphTo2D(n._duration)}),this._morphTo3D=ii(function(){e.morphTo3D(n._duration)}),this._morphToColumbusView=ii(function(){e.morphToColumbusView(n._duration)}),this._sceneMode=re}Object.defineProperties(NW.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}}});NW.prototype.isDestroyed=function(){return!1};NW.prototype.destroy=function(){this._eventHelper.removeAll(),he(this)};var FW=NW;var XBt="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",KBt="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",ZBt="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 BW(e,t,n){e=fi(e);let i=new FW(t,n);i._globePath=XBt,i._flatMapPath=KBt,i._columbusViewPath=ZBt;let o=document.createElement("span");o.className="cesium-sceneModePicker-wrapper cesium-toolbar-button",e.appendChild(o);let r=document.createElement("button");r.type="button",r.className="cesium-button cesium-toolbar-button",r.setAttribute("data-bind",'css: { "cesium-sceneModePicker-button2D": sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-button3D": sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-buttonColumbusView": sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-selected": dropDownVisible },attr: { title: selectedTooltip },click: toggleDropDown'),r.innerHTML='<!-- ko cesiumSvgPath: { path: _globePath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon3D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-icon2D" } --><!-- /ko --><!-- ko cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64, css: "cesium-sceneModePicker-slide-svg cesium-sceneModePicker-iconColumbusView" } --><!-- /ko -->',o.appendChild(r);let s=document.createElement("button");s.type="button",s.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",s.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE3D)) || (!dropDownVisible && (sceneMode === _sceneMode.SCENE3D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE3D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip3D },click: morphTo3D,cesiumSvgPath: { path: _globePath, width: 64, height: 64 }'),o.appendChild(s);let a=document.createElement("button");a.type="button",a.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",a.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.SCENE2D)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.SCENE2D, "cesium-sceneModePicker-hidden" : !dropDownVisible },attr: { title: tooltip2D },click: morphTo2D,cesiumSvgPath: { path: _flatMapPath, width: 64, height: 64 }'),o.appendChild(a);let c=document.createElement("button");c.type="button",c.className="cesium-button cesium-toolbar-button cesium-sceneModePicker-dropDown-icon",c.setAttribute("data-bind",'css: { "cesium-sceneModePicker-visible" : (dropDownVisible && (sceneMode !== _sceneMode.COLUMBUS_VIEW)) || (!dropDownVisible && (sceneMode === _sceneMode.COLUMBUS_VIEW)), "cesium-sceneModePicker-none" : sceneMode === _sceneMode.COLUMBUS_VIEW, "cesium-sceneModePicker-hidden" : !dropDownVisible},attr: { title: tooltipColumbusView },click: morphToColumbusView,cesiumSvgPath: { path: _columbusViewPath, width: 64, height: 64 }'),o.appendChild(c),Se.applyBindings(i,o),this._viewModel=i,this._container=e,this._wrapper=o,this._closeDropDown=function(l){o.contains(l.target)||(i.dropDownVisible=!1)},pn.supportsPointerEvents()?document.addEventListener("pointerdown",this._closeDropDown,!0):(document.addEventListener("mousedown",this._closeDropDown,!0),document.addEventListener("touchstart",this._closeDropDown,!0))}Object.defineProperties(BW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});BW.prototype.isDestroyed=function(){return!1};BW.prototype.destroy=function(){return this._viewModel.destroy(),pn.supportsPointerEvents()?document.removeEventListener("pointerdown",this._closeDropDown,!0):(document.removeEventListener("mousedown",this._closeDropDown,!0),document.removeEventListener("touchstart",this._closeDropDown,!0)),Se.cleanNode(this._wrapper),this._container.removeChild(this._wrapper),he(this)};var kW=BW;var $Bt=new H,VW="-1000px";function nO(e,t,n){this._scene=e,this._screenPositionX=VW,this._screenPositionY=VW,this._tweens=e.tweens,this._container=y(n,document.body),this._selectionIndicatorElement=t,this._scale=1,this.position=void 0,this.showSelection=!1,Se.track(this,["position","_screenPositionX","_screenPositionY","_scale","showSelection"]),this.isVisible=void 0,Se.defineProperty(this,"isVisible",{get:function(){return this.showSelection&&u(this.position)}}),Se.defineProperty(this,"_transform",{get:function(){return`scale(${this._scale})`}}),this.computeScreenSpacePosition=function(i,o){return Co.worldToWindowCoordinates(e,i,o)}}nO.prototype.update=function(){if(this.showSelection&&u(this.position)){let e=this.computeScreenSpacePosition(this.position,$Bt);if(!u(e))this._screenPositionX=VW,this._screenPositionY=VW;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`}}};nO.prototype.animateAppear=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:2,stopValue:1,duration:.8,easingFunction:Us.EXPONENTIAL_OUT})};nO.prototype.animateDepart=function(){this._tweens.addProperty({object:this,property:"_scale",startValue:this._scale,stopValue:1.5,duration:.8,easingFunction:Us.EXPONENTIAL_OUT})};Object.defineProperties(nO.prototype,{container:{get:function(){return this._container}},selectionIndicatorElement:{get:function(){return this._selectionIndicatorElement}},scene:{get:function(){return this._scene}}});var UW=nO;function zW(e,t){e=fi(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 UW(t,this._element,this._container);this._viewModel=c,Se.applyBindings(this._viewModel,this._element)}Object.defineProperties(zW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});zW.prototype.isDestroyed=function(){return!1};zW.prototype.destroy=function(){let e=this._container;return Se.cleanNode(this._element),e.removeChild(this._element),he(this)};var HW=zW;function RA(e,t,n){this._color=e,this._height=t,this._base=y(n,0)}RA.prototype.getHeight=function(){return this._height};RA.prototype.getBase=function(){return this._base};RA.prototype.getStartTime=function(){return this._start};RA.prototype.getStopTime=function(){return this._stop};RA.prototype.setRange=function(e,t){this._start=e,this._stop=t};RA.prototype.render=function(e){let t="";if(this._start&&this._stop&&this._color){let n=Q.secondsDifference(this._start,e.epochJulian),i=Math.round(e.timeBarWidth*e.getAlpha(n)),o=Q.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 GW=RA;function cRe(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)}cRe.prototype.render=function(e,t){let n=this.interval.start,i=this.interval.stop,o=t.startJulian,r=Q.addSeconds(t.startJulian,t.duration,new Q);if(Q.lessThan(n,o)&&Q.greaterThan(i,r))e.fillStyle=this.color.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height);else if(Q.lessThanOrEquals(n,r)&&Q.greaterThanOrEquals(i,o)){let s,a,c;for(s=0;s<t.timeBarWidth;++s){let l=Q.addSeconds(t.startJulian,s/t.timeBarWidth*t.duration,new Q);!u(a)&&Q.greaterThanOrEquals(l,n)?a=s:!u(c)&&Q.greaterThanOrEquals(l,i)&&(c=s)}e.fillStyle=this.backgroundColor.toCssColorString(),e.fillRect(0,t.y,t.timeBarWidth,this.height),u(a)&&(u(c)||(c=t.timeBarWidth),e.fillStyle=this.color.toCssColorString(),e.fillRect(a,t.y,Math.max(c-a,1),this.height))}};var WW=cRe;var nie=1e12,Th={none:0,scrub:1,slide:2,zoom:3,touchOnly:4},_u={none:0,scrub:1,slideZoom:2,singleTap:3,ignore:4},wb=[.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],QBt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function gu(e,t){e=fi(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=Th.none,this._touchMode=_u.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=JBt(this),this._onMouseUp=e4t(this),this._onMouseMove=t4t(this),this._onMouseWheel=n4t(this),this._onTouchStart=i4t(this),this._onTouchMove=r4t(this),this._onTouchEnd=o4t(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()}gu.prototype.addEventListener=function(e,t,n){this._topDiv.addEventListener(e,t,n)};gu.prototype.removeEventListener=function(e,t,n){this._topDiv.removeEventListener(e,t,n)};gu.prototype.isDestroyed=function(){return!1};gu.prototype.destroy=function(){this._clock.onTick.removeEventListener(this.updateFromClock,this);let e=this.container.ownerDocument;e.removeEventListener("mouseup",this._onMouseUp,!1),e.removeEventListener("mousemove",this._onMouseMove,!1);let t=this._timeBarEle;t.removeEventListener("mousedown",this._onMouseDown,!1),t.removeEventListener("DOMMouseScroll",this._onMouseWheel,!1),t.removeEventListener("mousewheel",this._onMouseWheel,!1),t.removeEventListener("touchstart",this._onTouchStart,!1),t.removeEventListener("touchmove",this._onTouchMove,!1),t.removeEventListener("touchend",this._onTouchEnd,!1),t.removeEventListener("touchcancel",this._onTouchEnd,!1),this.container.removeChild(this._topDiv),he(this)};gu.prototype.addHighlightRange=function(e,t,n){let i=new GW(e,t,n);return this._highlightRanges.push(i),this.resize(),i};gu.prototype.addTrack=function(e,t,n,i){let o=new WW(e,t,n,i);return this._trackList.push(o),this._lastHeight=void 0,this.resize(),o};gu.prototype.zoomTo=function(e,t){if(this._startJulian=e,this._endJulian=t,this._timeBarSecondsSpan=Q.secondsDifference(t,e),this._clock&&this._clock.clockRange!==Vs.UNBOUNDED){let i=this._clock.startTime,o=this._clock.stopTime,r=Q.secondsDifference(o,i),s=Q.secondsDifference(i,this._startJulian),a=Q.secondsDifference(o,this._endJulian);this._timeBarSecondsSpan>=r?(this._timeBarSecondsSpan=r,this._startJulian=this._clock.startTime,this._endJulian=this._clock.stopTime):s>0?(this._endJulian=Q.addSeconds(this._endJulian,s,new Q),this._startJulian=i,this._timeBarSecondsSpan=Q.secondsDifference(this._endJulian,this._startJulian)):a<0&&(this._startJulian=Q.addSeconds(this._startJulian,a,new Q),this._endJulian=o,this._timeBarSecondsSpan=Q.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)};gu.prototype.zoomFrom=function(e){let t=Q.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(Q.addSeconds(this._startJulian,t-t*e,new Q),Q.addSeconds(this._endJulian,n*e-n,new Q))};function iie(e){return e<10?`0${e.toString()}`:e.toString()}gu.prototype.makeLabel=function(e){let t=Q.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`${QBt[t.month-1]} ${t.day} ${t.year} ${iie(t.hour)}:${iie(t.minute)}:${iie(t.second)}${i}`};gu.prototype.smallestTicInPixels=7;gu.prototype._makeTics=function(){let e=this._timeBarEle,t=Q.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,l=1e-10,f=0,d=this._timeBarSecondsSpan;d<a?(d=a,this._timeBarSecondsSpan=a,this._endJulian=Q.addSeconds(this._startJulian,a,new Q)):d>c&&(d=c,this._timeBarSecondsSpan=c,this._endJulian=Q.addSeconds(this._startJulian,c,new Q));let p=this._timeBarEle.clientWidth;p<10&&(p=10);let _=this._startJulian,m=Math.min(d/p*1e-5,.4),x,b=Q.toGregorianDate(_);d>31536e4?x=Q.fromDate(new Date(Date.UTC(Math.floor(b.year/100)*100,0))):d>31536e3?x=Q.fromDate(new Date(Date.UTC(Math.floor(b.year/10)*10,0))):d>86400?x=Q.fromDate(new Date(Date.UTC(b.year,0))):x=Q.fromDate(new Date(Date.UTC(b.year,b.month,b.day)));let T=Q.secondsDifference(this._startJulian,Q.addSeconds(x,m,new Q)),C=T+d;this._epochJulian=x;function A(k){return Math.floor(T/k)*k}function E(k,W){return Math.ceil(k/W+.5)*W}function v(k){return(k-T)/d}function D(k,W){return k-W*Math.round(k/W)}this._rulerEle.innerHTML=this.makeLabel(Q.addSeconds(this._endJulian,-a,new Q));let R=this._rulerEle.offsetWidth+20;R<30&&(R=180);let O=f;f-=l;let L={startTime:T,startJulian:_,epochJulian:x,duration:d,timeBarWidth:p,getAlpha:v};this._highlightRanges.forEach(function(k){s+=k.render(L)});let N=0,g=0,S=0,w=R/p;w>1&&(w=1),w*=this._timeBarSecondsSpan;let P=-1,F=-1,B=wb.length,G;for(G=0;G<B;++G){let k=wb[G];if(++P,N=k,k>w&&k>f)break;F<0&&p*(k/this._timeBarSecondsSpan)>=this.smallestTicInPixels&&(F=P)}if(P>0){for(;P>0;)if(--P,Math.abs(D(N,wb[P]))<1e-5){wb[P]>=f&&(g=wb[P]);break}if(F>=0)for(;F<P;){if(Math.abs(D(g,wb[F]))<1e-5&&wb[F]>=f){S=wb[F];break}++F}}f=O,f>l&&S<1e-5&&Math.abs(f-N)>l&&(S=f,f<=N+l&&(g=0));let V=-999999,U;if(p*(S/this._timeBarSecondsSpan)>=3)for(o=A(S);o<=C;o=E(o,S))s+=`<span class="cesium-timeline-ticTiny" style="left: ${Math.round(p*v(o)).toString()}px;"></span>`;if(p*(g/this._timeBarSecondsSpan)>=3)for(o=A(g);o<=C;o=E(o,g))s+=`<span class="cesium-timeline-ticSub" style="left: ${Math.round(p*v(o)).toString()}px;"></span>`;if(p*(N/this._timeBarSecondsSpan)>=2){this._mainTicSpan=N,C+=N,o=A(N);let k=Q.computeTaiMinusUtc(x);for(;o<=C;){let W=Q.addSeconds(_,o-T,new Q);if(N>2.1){let ee=Q.computeTaiMinusUtc(W);Math.abs(ee-k)>.1&&(o+=ee-k,W=Q.addSeconds(_,o-T,new Q))}let j=Math.round(p*v(o)),K=this.makeLabel(W);this._rulerEle.innerHTML=K,U=this._rulerEle.offsetWidth,U<10&&(U=R);let Y=j-(U/2-1);Y>V?(V=Y+U+5,s+=`<span class="cesium-timeline-ticMain" style="left: ${j.toString()}px;"></span><span class="cesium-timeline-ticLabel" style="left: ${Y.toString()}px;">${K}</span>`):s+=`<span class="cesium-timeline-ticSub" style="left: ${j.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),L.y=0,this._trackList.forEach(function(k){k.render(r._context,L),L.y+=k.height})};gu.prototype.updateFromClock=function(){this._scrubJulian=this._clock.currentTime;let e=this._scrubElement;if(u(this._scrubElement)){let t=Q.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`)}u(this._timelineDragLocation)&&(this._setTimeBarTime(this._timelineDragLocation,this._timelineDragLocation*this._timeBarSecondsSpan/this._topDiv.clientWidth),this.zoomTo(Q.addSeconds(this._startJulian,this._timelineDrag,new Q),Q.addSeconds(this._endJulian,this._timelineDrag,new Q)))};gu.prototype._setTimeBarTime=function(e,t){if(e=Math.round(e),this._scrubJulian=Q.addSeconds(this._startJulian,t,new Q),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 JBt(e){return function(t){e._mouseMode!==Th.touchOnly&&(t.button===0?(e._mouseMode=Th.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition="-16px 0"),e._onMouseMove(t)):(e._mouseX=t.clientX,t.button===2?e._mouseMode=Th.zoom:e._mouseMode=Th.slide)),t.preventDefault()}}function e4t(e){return function(t){e._mouseMode=Th.none,e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0"),e._timelineDrag=0,e._timelineDragLocation=void 0}}function t4t(e){return function(t){let n;if(e._mouseMode===Th.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===Th.slide){if(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0){let i=n*e._timeBarSecondsSpan/e._topDiv.clientWidth;e.zoomTo(Q.addSeconds(e._startJulian,i,new Q),Q.addSeconds(e._endJulian,i,new Q))}}else e._mouseMode===Th.zoom&&(n=e._mouseX-t.clientX,e._mouseX=t.clientX,n!==0&&e.zoomFrom(Math.pow(1.01,n)))}}function n4t(e){return function(t){let n=t.wheelDeltaY||t.wheelDelta||-t.detail;nie=Math.max(Math.min(Math.abs(n),nie),1),n/=nie,e.zoomFrom(Math.pow(1.05,-n))}}function i4t(e){return function(t){let n=t.touches.length,i,o,r=e._topDiv.getBoundingClientRect().left;t.preventDefault(),e._mouseMode=Th.touchOnly,n===1?(i=Q.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=_u.scrub,e._scrubElement&&(e._scrubElement.style.backgroundPosition=n===1?"-16px 0":"0 0")):(e._touchMode=_u.singleTap,e._touchState.centerX=t.touches[0].clientX-r)):n===2?(e._touchMode=_u.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=_u.ignore}}function o4t(e){return function(t){let n=t.touches.length,i=e._topDiv.getBoundingClientRect().left;e._touchMode===_u.singleTap?(e._touchMode=_u.scrub,e._onTouchMove(t)):e._touchMode===_u.scrub&&e._onTouchMove(t),e._mouseMode=Th.touchOnly,n!==1?e._touchMode=n>0?_u.ignore:_u.none:e._touchMode===_u.slideZoom&&(e._touchState.centerX=t.touches[0].clientX-i),e._scrubElement&&(e._scrubElement.style.backgroundPosition="0 0")}}function r4t(e){return function(t){let n,i,o,r,s,a,c=1,l=e._topDiv.getBoundingClientRect().left;e._touchMode===_u.singleTap&&(e._touchMode=_u.slideZoom),e._mouseMode=Th.touchOnly,e._touchMode===_u.scrub?(t.preventDefault(),t.changedTouches.length===1&&(i=t.changedTouches[0].clientX-l,i>=0&&i<=e._topDiv.clientWidth&&e._setTimeBarTime(i,i*e._timeBarSecondsSpan/e._topDiv.clientWidth))):e._touchMode===_u.slideZoom&&(o=t.touches.length,o===2?(r=(t.touches[0].clientX+t.touches[1].clientX)*.5-l,s=Math.abs(t.touches[0].clientX-t.touches[1].clientX)):o===1&&(r=t.touches[0].clientX-l,s=0),u(r)&&(s>0&&e._touchState.spanX>0?(c=e._touchState.spanX/s,a=Q.addSeconds(e._startJulian,(e._touchState.centerX*e._timeBarSecondsSpan-r*e._timeBarSecondsSpan*c)/e._topDiv.clientWidth,new Q)):(n=e._touchState.centerX-r,a=Q.addSeconds(e._startJulian,n*e._timeBarSecondsSpan/e._topDiv.clientWidth,new Q)),e.zoomTo(a,Q.addSeconds(a,e._timeBarSecondsSpan*c,new Q)),e._touchState.centerX=r,e._touchState.spanX=s))}}gu.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 jW=gu;var hRe=yr(dRe(),1);function c4t(e){let t=!1,n=window.screen;return u(n)&&(u(n.lockOrientation)?t=n.lockOrientation(e):u(n.mozLockOrientation)?t=n.mozLockOrientation(e):u(n.msLockOrientation)?t=n.msLockOrientation(e):u(n.orientation&&n.orientation.lock)&&(t=n.orientation.lock(e))),t}function mRe(){let e=window.screen;u(e)&&(u(e.unlockOrientation)?e.unlockOrientation():u(e.mozUnlockOrientation)?e.mozUnlockOrientation():u(e.msUnlockOrientation)?e.msUnlockOrientation():u(e.orientation&&e.orientation.unlock)&&e.orientation.unlock())}function l4t(e,t,n,i){i()||(n()?(t.useWebVR=!1,e._locked&&(mRe(),e._locked=!1),e._noSleep.disable(),Cs.exitFullscreen(),n(!1)):(Cs.fullscreen||Cs.requestFullscreen(e._vrElement),e._noSleep.enable(),e._locked||(e._locked=c4t("landscape")),t.useWebVR=!0,n(!0)))}function qW(e,t){let n=this,i=Se.observable(Cs.enabled),o=Se.observable(!1);this.isVRMode=void 0,Se.defineProperty(this,"isVRMode",{get:function(){return o()}}),this.isVREnabled=void 0,Se.defineProperty(this,"isVREnabled",{get:function(){return i()},set:function(s){i(s&&Cs.enabled)}}),this.tooltip=void 0,Se.defineProperty(this,"tooltip",function(){return i()?o()?"Exit VR mode":"Enter VR mode":"VR mode is unavailable"});let r=Se.observable(!1);this._isOrthographic=void 0,Se.defineProperty(this,"_isOrthographic",{get:function(){return r()}}),this._eventHelper=new zs,this._eventHelper.add(e.preRender,function(){r(e.camera.frustum instanceof wn)}),this._locked=!1,this._noSleep=new hRe.default,this._command=ii(function(){l4t(n,e,o,r)},Se.getObservable(this,"isVREnabled")),this._vrElement=y(fi(t),document.body),this._callback=function(){!Cs.fullscreen&&o()&&(e.useWebVR=!1,n._locked&&(mRe(),n._locked=!1),n._noSleep.disable(),o(!1))},document.addEventListener(Cs.changeEventName,this._callback)}Object.defineProperties(qW.prototype,{vrElement:{get:function(){return this._vrElement},set:function(e){this._vrElement=e}},command:{get:function(){return this._command}}});qW.prototype.isDestroyed=function(){return!1};qW.prototype.destroy=function(){this._eventHelper.removeAll(),document.removeEventListener(Cs.changeEventName,this._callback),he(this)};var YW=qW;var u4t="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",f4t="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 XW(e,t,n){e=fi(e);let i=new YW(t,n);i._exitVRPath=f4t,i._enterVRPath=u4t;let o=document.createElement("button");o.type="button",o.className="cesium-button cesium-vrButton",o.setAttribute("data-bind",'css: { "cesium-button-disabled" : _isOrthographic }, attr: { title: tooltip },click: command,enable: isVREnabled,cesiumSvgPath: { path: isVRMode ? _exitVRPath : _enterVRPath, width: 32, height: 32 }'),e.appendChild(o),Se.applyBindings(i,o),this._container=e,this._viewModel=i,this._element=o}Object.defineProperties(XW.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});XW.prototype.isDestroyed=function(){return!1};XW.prototype.destroy=function(){return this._viewModel.destroy(),Se.cleanNode(this._element),this._container.removeChild(this._element),he(this)};var KW=XW;var Db=new ce;function gRe(e){let t=e.clock;t.currentTime=e.timeJulian,t.shouldAnimate=!1}function d4t(e){let t=e.getPropertyIds(),n="";return Array.isArray(t)&&(t.forEach(function(i){let o=e.getProperty(i);u(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 h4t(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(u(r)&&r!=="")return r}return"Unnamed Feature"}function pRe(e,t){let n=e.scene.pick(t.position);if(u(n)){let i=y(n.id,n.primitive.id);if(i instanceof ts)return i;if(n instanceof rc)return new ts({name:h4t(n),description:d4t(n),feature:n})}if(u(e.scene.globe))return _4t(e,t.position)}var m4t=new Q;function yRe(e,t,n){if(u(n)){let i=n.clock;if(u(i)&&(i.getValue(t),u(e))){let o=i.startTime,r=i.stopTime;Q.equals(o,r)&&(r=Q.addSeconds(o,I.EPSILON2,m4t)),e.updateFromClock(),e.zoomTo(o,r)}}}var p4t=new h;function _4t(e,t){let n=e.scene,i=n.camera.getPickRay(t),o=n.imageryLayers.pickImageryLayerFeatures(i,n);if(!u(o))return;let r=new ts({id:"Loading...",description:"Loading feature information..."});return o.then(function(s){if(e.selectedEntity!==r)return;if(!u(s)||s.length===0){e.selectedEntity=_Re();return}let a=s[0],c=new ts({id:a.name,description:a.description});if(u(a.position)){let l=e.scene.ellipsoid.cartographicToCartesian(a.position,p4t);c.position=new Nu(l)}e.selectedEntity=c},function(){e.selectedEntity===r&&(e.selectedEntity=_Re())}),r}function _Re(){return new ts({id:"None",description:"No features found."})}function g4t(e,t){let n=e._geocoder,i=e._homeButton,o=e._sceneModePicker,r=e._projectionPicker,s=e._baseLayerPicker,a=e._animation,c=e._timeline,l=e._fullscreenButton,f=e._infoBox,d=e._selectionIndicator,p=t?"hidden":"visible";if(u(n)&&(n.container.style.visibility=p),u(i)&&(i.container.style.visibility=p),u(o)&&(o.container.style.visibility=p),u(r)&&(r.container.style.visibility=p),u(s)&&(s.container.style.visibility=p),u(a)&&(a.container.style.visibility=p),u(c)&&(c.container.style.visibility=p),u(l)&&l.viewModel.isFullscreenEnabled&&(l.container.style.visibility=p),u(f)&&(f.container.style.visibility=p),u(d)&&(d.container.style.visibility=p),e._container){let _=t||!u(l)?0:l.container.clientWidth;e._vrButton.container.style.right=`${_}px`,e.forceResize()}}function yo(e,t){e=fi(e),t=y(t,{}),t.selectionIndicator=y(t.selectionIndicator,!1),t.infoBox=y(t.selectionIndicator,!1),t.geocoder=y(t.geocoder,!1),t.homeButton=y(t.homeButton,!1),t.sceneModePicker=y(t.sceneModePicker,!1),t.baseLayerPicker=y(t.baseLayerPicker,!1),t.navigationHelpButton=y(t.navigationHelpButton,!1),t.timeline=y(t.timeline,!1),t.animation=y(t.animation,!1),t.fullscreenButton=y(t.fullscreenButton,!1);let n=(!u(t.globe)||t.globe!==!1)&&(!u(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";let a=y(t.scene3DOnly,!1),c,l,f=!1;u(t.clockViewModel)?(l=t.clockViewModel,c=l.clock):(c=new hp,l=new j7(c),f=!0),u(t.shouldAnimate)&&(c.shouldAnimate=t.shouldAnimate);let d=1;if(u(t.logoScale)){let K=parseFloat(t.logoScale);u(K)&&K>=.2&&(d=K)}let p=new L7(r,{baseLayer:n&&u(t.selectedImageryProviderViewModel)||u(t.baseLayer)||u(t.imageryProvider)?!1:void 0,clock:c,skyBox:t.skyBox,skyAtmosphere:t.skyAtmosphere,sceneMode:t.sceneMode,ellipsoid:t.ellipsoid,mapProjection:t.mapProjection,globe:t.globe,orderIndependentTranslucency:t.orderIndependentTranslucency,contextOptions:t.contextOptions,useDefaultRenderLoop:t.useDefaultRenderLoop,targetFrameRate:t.targetFrameRate,showRenderLoopErrors:t.showRenderLoopErrors,useBrowserRecommendedResolution:t.useBrowserRecommendedResolution,creditContainer:u(t.creditContainer)?t.creditContainer:s,creditViewport:t.creditViewport,scene3DOnly:a,logoScale:d,shadows:t.shadows,terrainShadows:t.terrainShadows,mapMode2D:t.mapMode2D,blurActiveElementOnCanvasFocus:t.blurActiveElementOnCanvasFocus,requestRenderMode:t.requestRenderMode,maximumRenderTimeChange:t.maximumRenderTimeChange,depthPlaneEllipsoidOffset:t.depthPlaneEllipsoidOffset,msaaSamples:t.msaaSamples}),_=t.dataSources,m=!1;u(_)||(_=new Dz,m=!0);let x=p.scene,b=new Kz({scene:x,dataSourceCollection:_}),T=new zs;T.add(c.onTick,yo.prototype._onTick,this),T.add(x.morphStart,yo.prototype._clearTrackedObject,this);let C;if(!u(t.selectionIndicator)||t.selectionIndicator!==!1){let K=document.createElement("div");K.className="cesium-viewer-selectionIndicatorContainer",o.appendChild(K),C=new HW(K,x)}let A;if(!u(t.infoBox)||t.infoBox!==!1){let K=document.createElement("div");K.className="cesium-viewer-infoBoxContainer",o.appendChild(K),A=new EW(K);let Y=A.viewModel;T.add(Y.cameraClicked,yo.prototype._onInfoBoxCameraClicked,this),T.add(Y.closeClicked,yo.prototype._onInfoBoxClockClicked,this)}let E=document.createElement("div");E.className="cesium-viewer-toolbar",o.appendChild(E);let v;if(!u(t.geocoder)||t.geocoder!==!1){let K=document.createElement("div");K.className="cesium-viewer-geocoderContainer",E.appendChild(K);let Y;u(t.geocoder)&&typeof t.geocoder!="boolean"&&(Y=Array.isArray(t.geocoder)?t.geocoder:[t.geocoder]),v=new _W({container:K,geocoderServices:Y,scene:x}),T.add(v.viewModel.search.beforeExecute,yo.prototype._clearObjects,this)}let D;(!u(t.homeButton)||t.homeButton!==!1)&&(D=new xW(E,x),u(v)&&T.add(D.viewModel.command.afterExecute,function(){let K=v.viewModel;K.searchText="",K.isSearchInProgress&&K.search()}),T.add(D.viewModel.command.beforeExecute,yo.prototype._clearTrackedObject,this));let R;!a&&(!u(t.sceneModePicker)||t.sceneModePicker!==!1)&&(R=new kW(E,x));let O;t.projectionPicker&&(O=new LW(E,x));let L,N;if(n){let K=y(t.imageryProviderViewModels,tW()),Y=y(t.terrainProviderViewModels,nW());L=new eW(E,{globe:x.globe,imageryProviderViewModels:K,selectedImageryProviderViewModel:t.selectedImageryProviderViewModel,terrainProviderViewModels:Y,selectedTerrainProviderViewModel:t.selectedTerrainProviderViewModel}),N=E.getElementsByClassName("cesium-baseLayerPicker-dropDown")[0]}u(t.baseLayer)&&t.baseLayer!==!1&&(n&&(L.viewModel.selectedImagery=void 0),x.imageryLayers.removeAll(),x.imageryLayers.add(t.baseLayer)),u(t.terrainProvider)&&(n&&(L.viewModel.selectedTerrain=void 0),x.terrainProvider=t.terrainProvider),u(t.terrain)&&(n&&(x.globe.depthTestAgainstTerrain=!0),x.setTerrain(t.terrain));let g;if(!u(t.navigationHelpButton)||t.navigationHelpButton!==!1){let K=!0;try{if(u(window.localStorage)){let Y=window.localStorage.getItem("cesium-hasSeenNavHelp");u(Y)&&Y?K=!1:window.localStorage.setItem("cesium-hasSeenNavHelp","true")}}catch{}g=new wW({container:E,instructionsInitiallyVisible:y(t.navigationInstructionsInitiallyVisible,K)})}let S;if(!u(t.animation)||t.animation!==!1){let K=document.createElement("div");K.className="cesium-viewer-animationContainer",o.appendChild(K),S=new Z7(K,new $7(l))}let w;if(!u(t.timeline)||t.timeline!==!1){let K=document.createElement("div");K.className="cesium-viewer-timelineContainer",o.appendChild(K),w=new jW(K,c),w.addEventListener("settime",gRe,!1),w.zoomTo(c.startTime,c.stopTime)}let P,F,B;(!u(t.fullscreenButton)||t.fullscreenButton!==!1)&&(B=document.createElement("div"),B.className="cesium-viewer-fullscreenContainer",o.appendChild(B),P=new hW(B,t.fullscreenElement),F=kc(P.viewModel,"isFullscreenEnabled",function(K){B.style.display=K?"block":"none",u(w)&&(w.container.style.right=`${B.clientWidth}px`,w.resize())}));let G,V,U;if(t.vrButton){let K=document.createElement("div");K.className="cesium-viewer-vrContainer",o.appendChild(K),G=new KW(K,x,t.fullScreenElement),V=kc(G.viewModel,"isVREnabled",function(Y){K.style.display=Y?"block":"none",u(P)&&(K.style.right=`${B.clientWidth}px`),u(w)&&(w.container.style.right=`${K.clientWidth}px`,w.resize())}),U=kc(G.viewModel,"isVRMode",function(Y){g4t(i,Y)})}this._baseLayerPickerDropDown=N,this._fullscreenSubscription=F,this._vrSubscription=V,this._vrModeSubscription=U,this._dataSourceChangedListeners={},this._automaticallyTrackDataSourceClocks=y(t.automaticallyTrackDataSourceClocks,!0),this._container=e,this._bottomContainer=s,this._element=o,this._cesiumWidget=p,this._selectionIndicator=C,this._infoBox=A,this._dataSourceCollection=_,this._destroyDataSourceCollection=m,this._dataSourceDisplay=b,this._clockViewModel=l,this._destroyClockViewModel=f,this._toolbar=E,this._homeButton=D,this._sceneModePicker=R,this._projectionPicker=O,this._baseLayerPicker=L,this._navigationHelpButton=g,this._animation=S,this._timeline=w,this._fullscreenButton=P,this._vrButton=G,this._geocoder=v,this._eventHelper=T,this._lastWidth=0,this._lastHeight=0,this._allowDataSourcesToSuspendAnimation=!0,this._entityView=void 0,this._enableInfoOrSelection=u(A)||u(C),this._clockTrackedDataSource=void 0,this._trackedEntity=void 0,this._needTrackedEntityUpdate=!1,this._selectedEntity=void 0,this._zoomIsFlight=!1,this._zoomTarget=void 0,this._zoomPromise=void 0,this._zoomOptions=void 0,this._selectedEntityChanged=new be,this._trackedEntityChanged=new be,Se.track(this,["_trackedEntity","_selectedEntity","_clockTrackedDataSource"]),T.add(_.dataSourceAdded,yo.prototype._onDataSourceAdded,this),T.add(_.dataSourceRemoved,yo.prototype._onDataSourceRemoved,this),T.add(x.postUpdate,yo.prototype.resize,this),T.add(x.postRender,yo.prototype._postRender,this);let k=_.length;for(let K=0;K<k;K++)this._dataSourceAdded(_,_.get(K));this._dataSourceAdded(void 0,b.defaultDataSource),T.add(_.dataSourceAdded,yo.prototype._dataSourceAdded,this),T.add(_.dataSourceRemoved,yo.prototype._dataSourceRemoved,this);function W(K){let Y=pRe(i,K);u(Y)?X.getValueOrUndefined(Y.position,i.clock.currentTime)?i.trackedEntity=Y:i.zoomTo(Y):u(i.trackedEntity)&&(i.trackedEntity=void 0)}function j(K){i.selectedEntity=pRe(i,K)}p.screenSpaceEventHandler.setInputAction(j,Zn.LEFT_CLICK),p.screenSpaceEventHandler.setInputAction(W,Zn.LEFT_DOUBLE_CLICK)}Object.defineProperties(yo.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._dataSourceDisplay}},entities:{get:function(){return this._dataSourceDisplay.defaultDataSource.entities}},dataSources:{get:function(){return this._dataSourceCollection}},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._allowDataSourcesToSuspendAnimation},set:function(e){this._allowDataSourcesToSuspendAnimation=e}},trackedEntity:{get:function(){return this._trackedEntity},set:function(e){if(this._trackedEntity!==e){this._trackedEntity=e,aie(this);let t=this.scene,n=t.mode;!u(e)||!u(e.position)?(this._needTrackedEntityUpdate=!1,(n===re.COLUMBUS_VIEW||n===re.SCENE2D)&&(t.screenSpaceCameraController.enableTranslate=!0),(n===re.COLUMBUS_VIEW||n===re.SCENE3D)&&(t.screenSpaceCameraController.enableTilt=!0),this._entityView=void 0,this.camera.lookAtTransform(M.IDENTITY)):this._needTrackedEntityUpdate=!0,this._trackedEntityChanged.raiseEvent(e),this.scene.requestRender()}}},selectedEntity:{get:function(){return this._selectedEntity},set:function(e){if(this._selectedEntity!==e){this._selectedEntity=e;let t=u(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;u(e)?u(t)&&t.animateAppear():u(t)&&t.animateDepart(),this._selectedEntityChanged.raiseEvent(e)}}},selectedEntityChanged:{get:function(){return this._selectedEntityChanged}},trackedEntityChanged:{get:function(){return this._trackedEntityChanged}},clockTrackedDataSource:{get:function(){return this._clockTrackedDataSource},set:function(e){this._clockTrackedDataSource!==e&&(this._clockTrackedDataSource=e,yRe(this._timeline,this.clock,e))}}});yo.prototype.getCurrentTilesLevels=function(){this.scene._globe.depthTestAgainstTerrain=!0;let e=this.scene._globe._surface._tilesToRender,t=this.camera.positionWC,n=this.camera.directionWC,i=new Ray(t,n),o=this.scene.pickFromRay(i,[]);if(o===void 0||o.position===void 0)return;let r=o.position,s=h.distance(r,t),a={};a.centerTileLevel=0,a.maxTileLevel=0,a.minTileLevel=Number.POSITIVE_INFINITY;let c=Number.POSITIVE_INFINITY;for(let l=0,f=e.length;l<f;l++){e[l].level>a.maxTileLevel&&(a.maxTileLevel=e[l].level),e[l].level<a.minTileLevel&&(a.minTileLevel=e[l].level);let d=Math.abs(e[l]._distance-s)<c;d<c&&(c=d,a.centerTileLevel=e[l].level)}return a};yo.prototype.extend=function(e,t){e(this,t)};yo.prototype.resize=function(){let e=this._cesiumWidget,t=this._container,n=t.clientWidth,i=t.clientHeight,o=u(this._animation),r=u(this._timeline);if(e.resize(),n===this._lastWidth&&i===this._lastHeight)return;let s=i-125,a=this._baseLayerPickerDropDown;if(u(a)&&(a.style.maxHeight=`${s}px`),u(this._geocoder)){let m=this._geocoder.searchSuggestionsContainer;m.style.maxHeight=`${s}px`}u(this._infoBox)&&(this._infoBox.viewModel.maxHeight=s);let c=this._timeline,l,f=0,d=5,p=3,_=0;if(o&&window.getComputedStyle(this._animation.container).visibility!=="hidden"){let m=this._lastWidth;l=this._animation.container,n>900?(f=169,m<=900&&(l.style.width="169px",l.style.height="112px",this._animation.resize())):n>=600?(f=136,(m<600||m>900)&&(l.style.width="136px",l.style.height="90px",this._animation.resize())):(f=106,(m>600||m===0)&&(l.style.width="106px",l.style.height="70px",this._animation.resize())),d=f+5}if(r&&window.getComputedStyle(this._timeline.container).visibility!=="hidden"){let m=this._fullscreenButton,x=this._vrButton,b=c.container,T=b.style;p=b.clientHeight+3,T.left=`${f}px`;let C=0;u(m)&&(C+=m.container.clientWidth),u(x)&&(C+=x.container.clientWidth),T.right=`${C}px`,c.resize()}!r&&u(this._fullscreenButton)&&(_=this._fullscreenButton.container.clientWidth),this._bottomContainer.style.left=`${d}px`,this._bottomContainer.style.bottom=`${p}px`,this._bottomContainer.style.right=`${_}px`,this._lastWidth=n,this._lastHeight=i};yo.prototype.forceResize=function(){this._lastWidth=0,this.resize()};yo.prototype.render=function(){this._cesiumWidget.render()};yo.prototype.isDestroyed=function(){return!1};yo.prototype.destroy=function(){let e;u(this.screenSpaceEventHandler)&&!this.screenSpaceEventHandler.isDestroyed()&&(this.screenSpaceEventHandler.removeInputAction(Zn.LEFT_CLICK),this.screenSpaceEventHandler.removeInputAction(Zn.LEFT_DOUBLE_CLICK));let t=this.dataSources,n=t.length;for(e=0;e<n;e++)this._dataSourceRemoved(t,t.get(e));return this._dataSourceRemoved(void 0,this._dataSourceDisplay.defaultDataSource),this._container.removeChild(this._element),this._element.removeChild(this._toolbar),this._eventHelper.removeAll(),u(this._geocoder)&&(this._geocoder=this._geocoder.destroy()),u(this._homeButton)&&(this._homeButton=this._homeButton.destroy()),u(this._sceneModePicker)&&(this._sceneModePicker=this._sceneModePicker.destroy()),u(this._projectionPicker)&&(this._projectionPicker=this._projectionPicker.destroy()),u(this._baseLayerPicker)&&(this._baseLayerPicker=this._baseLayerPicker.destroy()),u(this._animation)&&(this._element.removeChild(this._animation.container),this._animation=this._animation.destroy()),u(this._timeline)&&(this._timeline.removeEventListener("settime",gRe,!1),this._element.removeChild(this._timeline.container),this._timeline=this._timeline.destroy()),u(this._fullscreenButton)&&(this._fullscreenSubscription.dispose(),this._element.removeChild(this._fullscreenButton.container),this._fullscreenButton=this._fullscreenButton.destroy()),u(this._vrButton)&&(this._vrSubscription.dispose(),this._vrModeSubscription.dispose(),this._element.removeChild(this._vrButton.container),this._vrButton=this._vrButton.destroy()),u(this._infoBox)&&(this._element.removeChild(this._infoBox.container),this._infoBox=this._infoBox.destroy()),u(this._selectionIndicator)&&(this._element.removeChild(this._selectionIndicator.container),this._selectionIndicator=this._selectionIndicator.destroy()),this._destroyClockViewModel&&(this._clockViewModel=this._clockViewModel.destroy()),this._dataSourceDisplay=this._dataSourceDisplay.destroy(),this._cesiumWidget=this._cesiumWidget.destroy(),this._destroyDataSourceCollection&&(this._dataSourceCollection=this._dataSourceCollection.destroy()),he(this)};yo.prototype._dataSourceAdded=function(e,t){t.entities.collectionChanged.addEventListener(yo.prototype._onEntityCollectionChanged,this)};yo.prototype._dataSourceRemoved=function(e,t){let n=t.entities;n.collectionChanged.removeEventListener(yo.prototype._onEntityCollectionChanged,this),u(this.trackedEntity)&&n.getById(this.trackedEntity.id)===this.trackedEntity&&(this.trackedEntity=void 0),u(this.selectedEntity)&&n.getById(this.selectedEntity.id)===this.selectedEntity&&(this.selectedEntity=void 0)};yo.prototype._onTick=function(e){let t=e.currentTime,n=this._dataSourceDisplay.update(t);this._allowDataSourcesToSuspendAnimation&&(this._clockViewModel.canAnimate=n);let i=this._entityView;if(u(i)){let f=this._trackedEntity;this._dataSourceDisplay.getBoundingSphere(f,!0,Db)===Lt.DONE&&i.update(t,Db)}let o,r=!1,s=this.selectedEntity,a=u(s)&&this._enableInfoOrSelection;a&&s.isShowing&&s.isAvailable(t)&&(this._dataSourceDisplay.getBoundingSphere(s,!0,Db)!==Lt.FAILED?o=Db.center:u(s.position)&&(o=s.position.getValue(t,o)),r=u(o));let c=u(this._selectionIndicator)?this._selectionIndicator.viewModel:void 0;u(c)&&(c.position=h.clone(o,c.position),c.showSelection=a&&r,c.update());let l=u(this._infoBox)?this._infoBox.viewModel:void 0;u(l)&&(l.showInfo=a,l.enableCamera=r,l.isCameraTracking=this.trackedEntity===this.selectedEntity,a?(l.titleText=y(s.name,s.id),l.description=X.getValueOrDefault(s.description,t,"")):(l.titleText="",l.description=""))};yo.prototype._onEntityCollectionChanged=function(e,t,n){let i=n.length;for(let o=0;o<i;o++){let r=n[o];this.trackedEntity===r&&(this.trackedEntity=void 0),this.selectedEntity===r&&(this.selectedEntity=void 0)}};yo.prototype._onInfoBoxCameraClicked=function(e){if(e.isCameraTracking&&this.trackedEntity===this.selectedEntity)this.trackedEntity=void 0;else{let n=this.selectedEntity.position;u(n)?this.trackedEntity=this.selectedEntity:this.zoomTo(this.selectedEntity)}};yo.prototype._clearTrackedObject=function(){this.trackedEntity=void 0};yo.prototype._onInfoBoxClockClicked=function(e){this.selectedEntity=void 0};yo.prototype._clearObjects=function(){this.trackedEntity=void 0,this.selectedEntity=void 0};yo.prototype._onDataSourceChanged=function(e){this.clockTrackedDataSource===e&&yRe(this.timeline,this.clock,e)};yo.prototype._onDataSourceAdded=function(e,t){this._automaticallyTrackDataSourceClocks&&(this.clockTrackedDataSource=t);let n=t.entities.id,i=this._eventHelper.add(t.changedEvent,yo.prototype._onDataSourceChanged,this);this._dataSourceChangedListeners[n]=i};yo.prototype._onDataSourceRemoved=function(e,t){let n=this.clockTrackedDataSource===t,i=t.entities.id;if(this._dataSourceChangedListeners[i](),this._dataSourceChangedListeners[i]=void 0,n){let o=e.length;this._automaticallyTrackDataSourceClocks&&o>0?this.clockTrackedDataSource=e.get(o-1):this.clockTrackedDataSource=void 0}};yo.prototype.zoomTo=function(e,t){return xRe(this,e,{offset:t},!1)};yo.prototype.flyTo=function(e,t){return xRe(this,e,t,!0)};function xRe(e,t,n,i){aie(e);let o=new Promise(r=>{e._completeZoom=function(s){r(s)}});return e._zoomPromise=o,e._zoomIsFlight=i,e._zoomOptions=n,Promise.resolve(t).then(function(r){if(e._zoomPromise===o){if(r instanceof Ks){let s;u(r.imageryProvider)?s=Promise.resolve(r.getImageryRectangle()):s=new Promise(a=>{let c=r.readyEvent.addEventListener(()=>{c(),a(r.getImageryRectangle())})}),s.then(function(a){return Ww(a,e.scene)}).then(function(a){e._zoomPromise===o&&(e._zoomTarget=a)});return}if(r instanceof ra||r instanceof zR||r instanceof TA||r instanceof tu){e._zoomTarget=r;return}if(r.isLoading&&u(r.loadingEvent)){let s=r.loadingEvent.addEventListener(function(){s(),e._zoomPromise===o&&(e._zoomTarget=r.entities.values.slice(0))});return}if(Array.isArray(r)){e._zoomTarget=r.slice(0);return}r=y(r.values,r),u(r.entities)&&(r=r.entities.values),Array.isArray(r)?e._zoomTarget=r.slice(0):e._zoomTarget=[r]}}),e.scene.requestRender(),o}function iO(e){e._zoomPromise=void 0,e._zoomTarget=void 0,e._zoomOptions=void 0}function aie(e){let t=e._zoomPromise;u(t)&&(iO(e),e._completeZoom(!1))}yo.prototype._postRender=function(){y4t(this),x4t(this)};function y4t(e){let t=e._zoomTarget;if(!u(t)||e.scene.mode===re.MORPHING)return;let n=e.scene,i=n.camera,o=y(e._zoomOptions,{}),r;function s(f){u(o.offset)||(o.offset=new Ul(0,-.5,f.radius)),r={offset:o.offset,duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyToBoundingSphere(t.boundingSphere,r):(i.viewBoundingSphere(f,o.offset),i.lookAtTransform(M.IDENTITY),e._completeZoom(!0)),iO(e)}if(t instanceof zR){if(u(t.boundingSphere)){s(t.boundingSphere);return}let f=t.frameChanged.addEventListener(function(d){s(d.boundingSphere),f()});return}if(t instanceof ra||t instanceof TA||t instanceof tu){s(t.boundingSphere);return}if(t instanceof ue){r={destination:n.ellipsoid.cartographicToCartesian(t),duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)}},e._zoomIsFlight?i.flyTo(r):(i.setView(r),e._completeZoom(!0)),iO(e);return}let a=t,c=[];for(let f=0,d=a.length;f<d;f++){let p=e._dataSourceDisplay.getBoundingSphere(a[f],!1,Db);if(p===Lt.PENDING)return;p!==Lt.FAILED&&c.push(ce.clone(Db))}if(c.length===0){aie(e);return}e.trackedEntity=void 0;let l=ce.fromBoundingSpheres(c);e._zoomIsFlight?(iO(e),i.flyToBoundingSphere(l,{duration:o.duration,maximumHeight:o.maximumHeight,complete:function(){e._completeZoom(!0)},cancel:function(){e._completeZoom(!1)},offset:o.offset})):(i.viewBoundingSphere(l,o.offset),i.lookAtTransform(M.IDENTITY),iO(e),e._completeZoom(!0))}function x4t(e){if(!e._needTrackedEntityUpdate)return;let t=e._trackedEntity,n=e.clock.currentTime,i=X.getValueOrUndefined(t.position,n);if(!u(i))return;let o=e.scene,r=e._dataSourceDisplay.getBoundingSphere(t,!1,Db);if(r===Lt.PENDING)return;let s=o.mode;(s===re.COLUMBUS_VIEW||s===re.SCENE2D)&&(o.screenSpaceCameraController.enableTranslate=!1),(s===re.COLUMBUS_VIEW||s===re.SCENE3D)&&(o.screenSpaceCameraController.enableTilt=!1);let a=r!==Lt.FAILED?Db:void 0;e._entityView=new Qz(t,o,o.ellipsoid),e._entityView.update(n,a),e._needTrackedEntityUpdate=!1}var bRe=yo;function b4t(e){let t=document.createElement("div");t.className="cesium-viewer-cesium3DTilesInspectorContainer",e.container.appendChild(t);let n=new sW(t,e.scene);Object.defineProperties(e,{cesium3DTilesInspector:{get:function(){return n}}})}var TRe=b4t;function T4t(e){let t=document.createElement("div");t.className="cesium-viewer-cesiumInspectorContainer",e.container.appendChild(t);let n=new lW(t,e.scene);Object.defineProperties(e,{cesiumInspector:{get:function(){return n}}})}var CRe=T4t;function C4t(e,t){t=y(t,y.EMPTY_OBJECT);let n=!0,i=y(t.flyToOnDrop,!0),o=new be,r=y(t.clearOnDrop,!0),s=y(t.dropTarget,e.container),a=y(t.clampToGround,!0),c=t.proxy;s=fi(s),Object.defineProperties(e,{dropTarget:{get:function(){return s},set:function(f){ARe(s,l),s=f,cie(s,l)}},dropEnabled:{get:function(){return n},set:function(f){f!==n&&(f?cie(s,l):ARe(s,l),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 l(f){OA(f),r&&(e.entities.removeAll(),e.dataSources.removeAll());let d=f.dataTransfer.files,p=d.length;for(let _=0;_<p;_++){let m=d[_],x=new FileReader;x.onload=A4t(e,m,c,a),x.onerror=E4t(e,m),x.readAsText(m)}}cie(s,l),e.destroy=JN(e,e.destroy,function(){e.dropEnabled=!1}),e._handleDrop=l}function OA(e){e.stopPropagation(),e.preventDefault()}function ARe(e,t){let n=e;u(n)&&(n.removeEventListener("drop",t,!1),n.removeEventListener("dragenter",OA,!1),n.removeEventListener("dragover",OA,!1),n.removeEventListener("dragexit",OA,!1))}function cie(e,t){e.addEventListener("drop",t,!1),e.addEventListener("dragenter",OA,!1),e.addEventListener("dragover",OA,!1),e.addEventListener("dragexit",OA,!1)}function A4t(e,t,n,i){let o=e.scene;return function(r){let s=t.name;try{let a;if(/\.czml$/i.test(s))a=vz.load(JSON.parse(r.target.result),{sourceUri:s});else if(/\.geojson$/i.test(s)||/\.json$/i.test(s)||/\.topojson$/i.test(s))a=J5.load(JSON.parse(r.target.result),{sourceUri:s,clampToGround:i});else if(/\.(kml|kmz)$/i.test(s))a=v6.load(t,{sourceUri:s,proxy:n,camera:o.camera,canvas:o.canvas,clampToGround:i,screenOverlayContainer:e.container});else if(/\.gpx$/i.test(s))a=d6.load(t,{sourceUri:s,proxy:n});else{e.dropError.raiseEvent(e,s,`Unrecognized file: ${s}`);return}u(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 E4t(e,t){return function(n){e.dropError.raiseEvent(e,t.name,n.target.error)}}var ERe=C4t;function S4t(e,t){t=y(t,y.EMPTY_OBJECT);let n=new IW({scene:e.scene,container:e.bottomContainer,lowFrameRateMessage:t.lowFrameRateMessage});Object.defineProperties(e,{performanceWatchdog:{get:function(){return n}}})}var SRe=S4t;function vRe(e){let t=e.split(`
19086
19086
  `),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}
19087
19087
  `}return i}function Ch(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]}),u(c)&&t._getPrimitiveFunctions.push(c);let l=Se.observable();return Se.defineProperty(t,r,{get:function(){return l()},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),l(f),u(a)&&u(t._voxelPrimitive)&&(a(f),e.requestRender())}}),t[r]=s,l}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=vRe(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===No.BOX}}),n({name:"shapeIsEllipsoid",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsEllipsoid=o===No.ELLIPSOID}}),n({name:"shapeIsCylinder",getPrimitiveFunction:function(){let o=t._voxelPrimitive.shape;t.shapeIsCylinder=o===No.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:"boundsCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMaxHeight=t._voxelPrimitive.maxBounds.y}}),n({name:"boundsCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minBounds","y"),getPrimitiveFunction:function(){t.boundsCylinderMinHeight=t._voxelPrimitive.minBounds.y}}),n({name:"boundsCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMaxAngle=t._voxelPrimitive.maxBounds.z}}),n({name:"boundsCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minBounds","z"),getPrimitiveFunction:function(){t.boundsCylinderMinAngle=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:"clippingCylinderMaxHeight",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMaxHeight=t._voxelPrimitive.maxClippingBounds.y}}),n({name:"clippingCylinderMinHeight",initialValue:0,setPrimitiveFunction:i("minClippingBounds","y"),getPrimitiveFunction:function(){t.clippingCylinderMinHeight=t._voxelPrimitive.minClippingBounds.y}}),n({name:"clippingCylinderMaxAngle",initialValue:0,setPrimitiveFunction:i("maxClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMaxAngle=t._voxelPrimitive.maxClippingBounds.z}}),n({name:"clippingCylinderMinAngle",initialValue:0,setPrimitiveFunction:i("minClippingBounds","z"),getPrimitiveFunction:function(){t.clippingCylinderMinAngle=t._voxelPrimitive.minClippingBounds.z}}),n({name:"translationX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.translationX=M.getTranslation(t._voxelPrimitive.modelMatrix,new h).x}}),n({name:"translationY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.translationY=M.getTranslation(t._voxelPrimitive.modelMatrix,new h).y}}),n({name:"translationZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.translationZ=M.getTranslation(t._voxelPrimitive.modelMatrix,new h).z}}),n({name:"scaleX",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.scaleX=M.getScale(t._voxelPrimitive.modelMatrix,new h).x}}),n({name:"scaleY",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.scaleY=M.getScale(t._voxelPrimitive.modelMatrix,new h).y}}),n({name:"scaleZ",initialValue:1,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)},getPrimitiveFunction:function(){t.scaleZ=M.getScale(t._voxelPrimitive.modelMatrix,new h).z}}),n({name:"angleX",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)}}),n({name:"angleY",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)}}),n({name:"angleZ",initialValue:0,setPrimitiveFunction:function(){t._modelMatrixReady&&N_(t)}})}var v4t=new h,w4t=new h,D4t=new Bs,P4t=new $;function N_(e){let t=h.fromElements(e.translationX,e.translationY,e.translationZ,v4t),n=h.fromElements(e.scaleX,e.scaleY,e.scaleZ,w4t),i=D4t;i.heading=e.angleX,i.pitch=e.angleY,i.roll=e.angleZ;let o=$.fromHeadingPitchRoll(i,P4t),r=$.multiplyByScale(o,n,o);e._voxelPrimitive.modelMatrix=M.fromRotationTranslation(r,t,e._voxelPrimitive.modelMatrix)}Object.defineProperties(Ch.prototype,{scene:{get:function(){return this._scene}},voxelPrimitive:{get:function(){return this._voxelPrimitive},set:function(e){if(u(this._customShaderCompilationRemoveCallback)&&this._customShaderCompilationRemoveCallback(),u(e)){this._voxelPrimitive=e;let t=this;t._customShaderCompilationRemoveCallback=t._voxelPrimitive.customShaderCompilationEvent.addEventListener(function(n){let i=t._voxelPrimitive.customShader.fragmentShaderText;t.shaderString=vRe(i),u(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,N_(t)}}}});Ch.prototype.toggleInspector=function(){this.inspectorVisible=!this.inspectorVisible};Ch.prototype.toggleDisplay=function(){this.displayVisible=!this.displayVisible};Ch.prototype.toggleTransform=function(){this.transformVisible=!this.transformVisible};Ch.prototype.toggleBounds=function(){this.boundsVisible=!this.boundsVisible};Ch.prototype.toggleClipping=function(){this.clippingVisible=!this.clippingVisible};Ch.prototype.toggleShader=function(){this.shaderVisible=!this.shaderVisible};Ch.prototype.compileShader=function(){u(this._voxelPrimitive)&&(this._voxelPrimitive.customShader=new p1({fragmentShaderText:this.shaderString,uniforms:this._voxelPrimitive.customShader.uniforms}))};Ch.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(`
19088
19088
  `),c=a.length,l;if(t.shiftKey)for(l=0;l<c;++l)a[l][0]===" "&&(a[l][1]===" "?(a[l]=a[l].substr(2),r-=2):(a[l]=a[l].substr(1),r-=1));else for(l=0;l<c;++l)a[l]=` ${a[l]}`,r+=2;let f=a.join(`
19089
- `);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};Ch.prototype.isDestroyed=function(){return!1};Ch.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var ZW=Ch;function $W(e,t){e=fi(e);let n=document.createElement("div"),i=new ZW(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=bl.createSection,a=bl.createCheckbox,c=bl.createRangeInput,l=bl.createButton,f=s(r,"Display","displayVisible","toggleDisplay"),d=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 x=10,b=10,T=I.PI;d.appendChild(c("Translation X","translationX",-x,+x)),d.appendChild(c("Translation Y","translationY",-x,+x)),d.appendChild(c("Translation Z","translationZ",-x,+x)),d.appendChild(c("Scale X","scaleX",0,+b)),d.appendChild(c("Scale Y","scaleY",0,+b)),d.appendChild(c("Scale Z","scaleZ",0,+b)),d.appendChild(c("Heading","angleX",-T,+T)),d.appendChild(c("Pitch","angleY",-T,+T)),d.appendChild(c("Roll","angleZ",-T,+T));let C=No.getMinBounds(No.BOX),A=No.getMaxBounds(No.BOX),E=h.fromElements(No.getMinBounds(No.ELLIPSOID).x,No.getMinBounds(No.ELLIPSOID).y,-ne.WGS84.maximumRadius,new h),v=h.fromElements(No.getMaxBounds(No.ELLIPSOID).x,No.getMaxBounds(No.ELLIPSOID).y,1e7,new h),D=No.getMinBounds(No.CYLINDER),R=No.getMaxBounds(No.CYLINDER);I1("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,A,"shapeIsBox",p),I1("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",E,v,"shapeIsEllipsoid",p),I1("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxHeight","boundsCylinderMinHeight","boundsCylinderMaxAngle","boundsCylinderMinAngle",D,R,"shapeIsCylinder",p),I1("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,A,"shapeIsBox",_),I1("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",E,v,"shapeIsEllipsoid",_),I1("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxHeight","clippingCylinderMinHeight","clippingCylinderMaxAngle","clippingCylinderMinAngle",D,R,"shapeIsCylinder",_);let O=document.createElement("div");m.appendChild(O);let L=document.createElement("textarea");L.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),O.className="cesium-cesiumInspector-styleEditor",O.appendChild(L);let N=l("Compile (Ctrl+Enter)","compileShader");O.appendChild(N);let g=document.createElement("label");g.style.display="block",g.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),O.appendChild(g),Se.applyBindings(i,n)}Object.defineProperties($W.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});$W.prototype.isDestroyed=function(){return!1};$W.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function I1(e,t,n,i,o,r,s,a,c,l,f,d,p,_,m,x){let b=bl.createRangeInput,T=p,C=_,A=x.appendChild(document.createElement("div"));A.setAttribute("data-bind",`if: ${m}`),A.appendChild(b(e,s,T.x,C.x)),A.appendChild(b(t,a,T.x,C.x)),A.appendChild(b(n,c,T.y,C.y)),A.appendChild(b(i,l,T.y,C.y)),A.appendChild(b(o,f,T.z,C.z)),A.appendChild(b(r,d,T.z,C.z))}var QW=$W;function I4t(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new QW(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var wRe=I4t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.0";var qko="1.122.0",Yko="17.6.0";export{jh as AlphaMode,AV as AlphaPipelineStage,Ek as AnchorPointDirect,Sk as AnchorPointIndirect,rW as Animation,sW as AnimationViewModel,co as Appearance,Gi as ApproximateTerrainHeights,Uae as ArcGISTiledElevationTerrainProvider,y_ as ArcGisBaseMapType,rb as ArcGisMapServerImageryProvider,lh as ArcGisMapService,Rn as ArcType,Il as ArticulationStageType,Gt as AssociativeArray,O6 as Atmosphere,eV as AtmospherePipelineStage,xn as AttributeCompression,d2e as AttributeSurfacePrimitive,Ht as AttributeType,M6 as AutoExposure,Dy as AutomaticUniforms,Dn as Axis,Hb as AxisAlignedBoundingBox,kk as B3dmLoader,fv as B3dmParser,X7 as BaseLayerPicker,q7 as BaseLayerPickerViewModel,CS as BatchTable,Ny as BatchTableHierarchy,Bu as BatchTexture,EV as BatchTexturePipelineStage,fr as Billboard,jd as BillboardCollection,Hl as BillboardGraphics,eF as BillboardVisualizer,qae as BingMapsGeocoderService,N6 as BingMapsImageryProvider,O2 as BingMapsStyle,Jc as BlendEquation,Sr as BlendFunction,Pr as BlendOption,vn as BlendingState,Ze as BoundingRectangle,ce as BoundingSphere,Lt as BoundingSphereState,zy as BoundingVolumeSemantics,qve as BoxEmitter,Rl as BoxGeometry,M4 as BoxGeometryUpdater,DS as BoxGraphics,ap as BoxOutlineGeometry,B6 as BrdfLutGenerator,et as Buffer,JS as BufferLoader,Oe as BufferUsage,DV as CPUStylingPipelineStage,L4 as CallbackPositionProperty,Rp as CallbackProperty,zi as Camera,uH as CameraEventAggregator,Lo as CameraEventType,nH as CameraFlightPath,H as Cartesian2,h as Cartesian3,ie as Cartesian4,ue as Cartographic,nce as CartographicGeocoderService,lce as CatmullRomSpline,Ly as Cesium3DContentGroup,um as Cesium3DTile,By as Cesium3DTileBatchTable,Yl as Cesium3DTileColorBlendMode,Swe as Cesium3DTileContent,wg as Cesium3DTileContentFactory,xi as Cesium3DTileContentState,Ro as Cesium3DTileContentType,oTe as Cesium3DTileCustomContent,rc as Cesium3DTileFeature,Ta as Cesium3DTileFeatureTable,Af as Cesium3DTileOptimizationHint,mC as Cesium3DTileOptimizations,ro as Cesium3DTilePass,Rm as Cesium3DTilePassState,Sx as Cesium3DTilePointFeature,Yo as Cesium3DTileRefine,Hw as Cesium3DTileStyle,Ov as Cesium3DTileStyleEngine,eW as Cesium3DTilesInspector,Q7 as Cesium3DTilesInspectorViewModel,Vwe as Cesium3DTilesVoxelProvider,ra as Cesium3DTileset,Fv as Cesium3DTilesetBaseTraversal,Pv as Cesium3DTilesetCache,NS as Cesium3DTilesetGraphics,Iv as Cesium3DTilesetHeatmap,_x as Cesium3DTilesetMetadata,Nv as Cesium3DTilesetMostDetailedTraversal,Bv as Cesium3DTilesetSkipTraversal,Hu as Cesium3DTilesetStatistics,lc as Cesium3DTilesetTraversal,fz as Cesium3DTilesetVisualizer,lW as CesiumInspector,aW as CesiumInspectorViewModel,pE as CesiumTerrainProvider,L7 as CesiumWidget,ao as Check,LI as CheckerboardMaterialProperty,gH as CircleEmitter,ele as CircleGeometry,ole as CircleOutlineGeometry,RU as ClassificationModelDrawCommand,SV as ClassificationPipelineStage,sP as ClassificationPrimitive,ni as ClassificationType,ai as ClearCommand,zU as ClipFillUtil,m2e as ClippingGeometry,B7 as ClippingGeometryFS,M_ as ClippingGeometryType,k7 as ClippingGeometryVS,V7 as ClippingGltfFS,U7 as ClippingGltfVS,Gy as ClippingPlane,vr as ClippingPlaneCollection,PP as ClippingPolygon,Sf as ClippingPolygonCollection,O8 as ClippingType,hp as Clock,Vs as ClockRange,_r as ClockStep,j7 as ClockViewModel,qwe as CloudCollection,z2 as CloudType,z as Color,Xl as ColorBlendMode,g7 as ColorCorrection,F9 as ColorCurrection,cn as ColorGeometryInstanceAttribute,fn as ColorMaterialProperty,k2e as Command,q as ComponentDatatype,Lp as Composite3DTileContent,gTe as CompositeEntityCollection,FI as CompositeMaterialProperty,Oc as CompositePositionProperty,iu as CompositeProperty,wL as CompressedTextureBuffer,Bp as ComputeCommand,P6 as ComputeEngine,fH as ConditionsExpression,Ywe as ConeEmitter,wO as Config,Nu as ConstantPositionProperty,ki as ConstantProperty,DL as ConstantSpline,k4 as ContentMetadata,B8 as Context,Jt as ContextLimits,NL as CoplanarPolygonGeometry,Y0 as CoplanarPolygonGeometryLibrary,Bh as CoplanarPolygonOutlineGeometry,Po as CornerType,vk as CorrelationGroup,ig as CorridorGeometry,Bo as CorridorGeometryLibrary,mz as CorridorGeometryUpdater,IS as CorridorGraphics,WL as CorridorOutlineGeometry,jt as Credit,FH as CreditDisplay,tl as CubeMap,cF as CubeMapFace,rE as CubicRealPolynomial,Ti as CullFace,Jr as CullingVolume,fh as CumulusCloud,yz as CustomDataSource,due as CustomHeightmapTerrainProvider,p1 as CustomShader,sx as CustomShaderMode,NV as CustomShaderPipelineStage,rC as CustomShaderTranslucencyMode,U8 as CuttingFilterUtil,rg as CylinderGeometry,NE as CylinderGeometryLibrary,xz as CylinderGeometryUpdater,RS as CylinderGraphics,qL as CylinderOutlineGeometry,vz as CzmlDataSource,qs as DataSource,t_ as DataSourceClock,Dz as DataSourceCollection,Kz as DataSourceDisplay,E1e as DebugAppearance,h0 as DebugCameraPrimitive,kH as DebugInspector,UH as DebugModelMatrixPrimitive,_ue as DefaultProxy,Gl as DepthFunction,WH as DepthPlane,FV as DequantizationPipelineStage,$f as DerivedCommand,me as DeveloperError,YH as DeviceOrientationCameraController,R1e as DirectionalLight,L2 as DiscardEmptyTileImagePolicy,R6 as DiscardMissingTileImagePolicy,en as DistanceDisplayCondition,Ai as DistanceDisplayConditionGeometryInstanceAttribute,kE as DoubleEndedPriorityQueue,ZL as DoublyLinkedList,kp as DracoLoader,Ye as DrawCommand,Bw as DynamicAtmosphereLightingType,aw as DynamicGeometryBatch,$i as DynamicGeometryUpdater,wM as EarthOrientationParameters,Rb as EarthOrientationParametersSample,Us as EasingFunction,wu as EllipseGeometry,ff as EllipseGeometryLibrary,Rz as EllipseGeometryUpdater,OS as EllipseGraphics,pd as EllipseOutlineGeometry,ne as Ellipsoid,$0 as EllipsoidGeodesic,vs as EllipsoidGeometry,Oz as EllipsoidGeometryUpdater,MS as EllipsoidGraphics,Fl as EllipsoidOutlineGeometry,KH as EllipsoidPrimitive,qc as EllipsoidRhumbLine,Nm as EllipsoidSurfaceAppearance,fI as EllipsoidSurfaceVoxelAppearance,f8 as EllipsoidSurfaceVoxelAppearanceFS,u8 as EllipsoidSurfaceVoxelAppearanceVS,As as EllipsoidTangentPlane,cg as EllipsoidTerrainProvider,k0 as EllipsoidalOccluder,Ld as Empty3DTileContent,bi as EncodedCartesian3,ts as Entity,Jd as EntityCluster,hc as EntityCollection,Qz as EntityView,be as Event,zs as EventHelper,om as Expression,Vt as ExpressionNodeType,xd as ExtrapolationType,pn as FeatureDetection,oC as FeatureIdPipelineStage,x2e as FlattenTool,JH as Fog,ke as ForEach,qg as FrameBufferType,eG as FrameRateMonitor,tG as FrameState,er as Framebuffer,qi as FramebufferManager,nG as FrustumCommands,GE as FrustumGeometry,eN as FrustumOutlineGeometry,Cs as Fullscreen,hW as FullscreenButton,fW as FullscreenButtonViewModel,J5 as GeoJsonDataSource,Uk as GeoJsonLoader,lT as GeocodeType,_W as Geocoder,PD as GeocoderService,mW as GeocoderViewModel,So as GeographicProjection,qo as GeographicTilingScheme,Pt as Geometry,K8 as Geometry3DTileContent,Pe as GeometryAttribute,kn as GeometryAttributes,Nue as GeometryFactory,Mt as GeometryInstance,Bl as GeometryInstanceAttribute,Nn as GeometryOffsetAttribute,yi as GeometryPipeline,zV as GeometryPipelineStage,Mh as GeometryType,Qi as GeometryUpdater,mw as GeometryUpdaterSet,Uz as GeometryVisualizer,Zw as GetFeatureInfoFormat,OG as Globe,MG as GlobeDepth,p2e as GlobeEffect,aG as GlobeSurfaceShaderSet,Fm as GlobeSurfaceTile,TG as GlobeSurfaceTileProvider,CG as GlobeTranslucency,LG as GlobeTranslucencyFramebuffer,NG as GlobeTranslucencyState,kP as GltfBufferViewLoader,VP as GltfDracoLoader,Dk as GltfGpmLoader,ZP as GltfGpmLocal,UP as GltfImageLoader,zP as GltfIndexBufferLoader,GP as GltfJsonLoader,ll as GltfLoader,wf as GltfLoaderUtil,Ok as GltfMeshPrimitiveGpmLoader,bk as GltfStructuralMetadataLoader,WP as GltfTextureLoader,jP as GltfVertexBufferLoader,DDe as GoogleEarthEnterpriseImageryProvider,PH as GoogleEarthEnterpriseMapsProvider,sy as GoogleEarthEnterpriseMetadata,ID as GoogleEarthEnterpriseTerrainData,jue as GoogleEarthEnterpriseTerrainProvider,iN as GoogleEarthEnterpriseTileInformation,WE as GoogleMaps,d6 as GpxDataSource,v0 as GregorianDate,PDe as GridImageryProvider,HI as GridMaterialProperty,wi as GroundGeometryUpdater,jE as GroundPolylineGeometry,vp as GroundPolylinePrimitive,ic as GroundPrimitive,_2e as GroundPrimitiveRectangleGenerater,dI as GroupMetadata,em as HashMap,Ul as HeadingPitchRange,Bs as HeadingPitchRoll,EO as Heap,ot as HeightReference,Ih as HeightmapEncoding,jc as HeightmapTerrainData,tD as HeightmapTessellator,dN as HermitePolynomialApproximation,Xb as HermiteSpline,OD as HilbertOrder,xW as HomeButton,gW as HomeButtonViewModel,po as HorizontalOrigin,sRe as I3SBuildingSceneLayerExplorer,TW as I3SBuildingSceneLayerExplorerViewModel,S_ as I3SDataProvider,FG as I3SDecoder,BG as I3SFeature,VG as I3SField,lR as I3SGeometry,r1 as I3SLayer,uR as I3SNode,WG as I3SStatistics,jG as I3SSublayer,HG as I3SSymbology,Wk as I3dmLoader,dv as I3dmParser,mN as Iau2000Orientation,IM as Iau2006XysData,tE as Iau2006XysSample,pN as IauOrientationAxes,hN as IauOrientationParameters,My as ImageBasedLighting,nV as ImageBasedLightingPipelineStage,MT as ImageMaterialProperty,tR as Imagery,Ks as ImageryLayer,EG as ImageryLayerCollection,x_ as ImageryLayerFeatureInfo,$u as ImageryProvider,eo as ImageryState,wI as Implicit3DTileContent,SI as ImplicitAvailabilityBitstream,vI as ImplicitMetadataView,ia as ImplicitSubdivisionScheme,zv as ImplicitSubtree,dH as ImplicitSubtreeCache,Z8 as ImplicitSubtreeMetadata,yx as ImplicitTileCoordinates,gx as ImplicitTileset,Ke as IndexDatatype,EW as InfoBox,CW as InfoBoxViewModel,bl as InspectorShared,Wr as InstanceAttributeSemantic,xV as InstancingPipelineStage,B1 as InterceptorsUtil,Lfe as InterpolationAlgorithm,xp as InterpolationType,Zt as Intersect,Mi as IntersectionTests,W0 as Intersections2D,Ya as Interval,dR as InvertClassification,cp as Ion,gN as IonGeocoderService,lb as IonImageryProvider,vu as IonResource,ub as IonWorldImageryStyle,Je as Iso8601,XG as JobScheduler,al as JobType,jy as JsonMetadataTable,Q as JulianDate,yN as KTX2Transcoder,tc as KeyboardEventModifier,nr as KeyframeNode,h6 as KmlCamera,v6 as KmlDataSource,m6 as KmlLookAt,_6 as KmlTour,y6 as KmlTourFlyTo,x6 as KmlTourWait,yC as Label,tm as LabelCollection,Dp as LabelGraphics,jr as LabelStyle,zz as LabelVisualizer,xN as LagrangePolynomialApproximation,jo as LeapSecond,VDe as Light,C0 as LightManager,nf as LightingMode,Fg as LightingModel,GV as LightingPipelineStage,YE as LinearApproximation,Yb as LinearSpline,ZU as M3D10MetadataTable,KU as M3D20MetadataTable,kT as M3D21MetadataTable,B4 as M3DAttContentFactory,Cg as M3DAttParser,JU as M3DB3dmLoader,dC as M3DContentFactory,mx as M3DContentType,a8 as M3DDataLoader,s8 as M3DDataParser,QU as M3DGltfLoader,XU as M3DGltfParser,n8 as M3DI3dmLoader,r8 as M3DPntsLoader,i8 as M3DPntsParser,H4 as M3DTidParser,P2e as M3DTree,Yko as MAPGIS_VERSION,Xc as ManagedArray,Dv as MapGISM3D,tu as MapGISM3DSet,GT as MapGISM3DTileContent,p8 as MapGISM3DVoxelContent,wv as MapGISVoxelPrimitive,Yf as MapMode2D,Vfe as MapProjection,IH as MapboxImageryProvider,zDe as MapboxStyleImageryProvider,Li as Material,ar as MaterialAppearance,jV as MaterialPipelineStage,es as MaterialProperty,I as Math,Fo as Matrix2,$ as Matrix3,M as Matrix4,hR as Megatexture,Rk as MeshPrimitiveGpmLocal,xa as MetadataClass,XT as MetadataClassProperty,hn as MetadataComponentType,li as MetadataEntity,_k as MetadataEnum,mk as MetadataEnumValue,ZG as MetadataPicking,Vd as MetadataPickingPipelineStage,Qh as MetadataPipelineStage,Zl as MetadataSchema,YP as MetadataSchemaLoader,Hv as MetadataSemantic,Kl as MetadataTable,X4 as MetadataTableProperty,Kt as MetadataType,fg as MipmapHint,ac as Model,eu as Model3DTileContent,gU as ModelAlphaOptions,qk as ModelAnimation,jk as ModelAnimationChannel,Xk as ModelAnimationCollection,Ef as ModelAnimationLoop,Gp as ModelAnimationState,rV as ModelArticulation,iV as ModelArticulationStage,uV as ModelClippingGeometryPipelineStage,cV as ModelClippingPlanesPipelineStage,hV as ModelClippingPolygonsPipelineStage,iC as ModelColorPipelineStage,dn as ModelComponents,MU as ModelDrawCommand,FU as ModelDrawCommands,I2e as ModelExplosion,fU as ModelExplosionPipelineStage,Kk as ModelFeature,Zk as ModelFeatureTable,mU as ModelFlattenPipelineStage,Py as ModelGraphics,PU as ModelLightingOptions,bV as ModelMatrixUpdateStage,mV as ModelNode,dU as ModelPMPipelineStage,bU as ModelRenderResources,CV as ModelRuntimeNode,pU as ModelRuntimePrimitive,WU as ModelSceneGraph,EU as ModelSilhouettePipelineStage,_U as ModelSkin,wU as ModelSplitterPipelineStage,jU as ModelStatistics,lU as ModelStretchPipelineStage,kU as ModelSwipePipelineStage,Tr as ModelType,mn as ModelUtility,Gz as ModelVisualizer,JG as Moon,YV as MorphTargetsPipelineStage,Ufe as MorphWeightSpline,fT as MortonOrder,jS as Multiple3DTileContent,Fk as MultisampleFramebuffer,wW as NavigationHelpButton,SW as NavigationHelpButtonViewModel,on as NearFarScalar,d8 as NetCDFLoader,HDe as NeverTileDiscardPolicy,DU as NodeRenderResources,TV as NodeStatisticsPipelineStage,LS as NodeTransformationProperty,aU as OIDTexturePipelineStage,t9 as OIT,EN as Occluder,Jo as OffsetGeometryInstanceAttribute,jfe as OpenCageGeocoderService,_b as OpenStreetMapImageryProvider,Iz as OrderedGroundPrimitiveCollection,Yn as OrientedBoundingBox,wn as OrthographicFrustum,Hs as OrthographicOffCenterFrustum,G9 as OutlineForOid,W9 as OutlineForPrimitives,jp as OutlineRenderMode,qfe as Packable,Yfe as PackableForInterpolation,MR as ParallelLight,_R as Particle,YDe as ParticleBurst,KDe as ParticleEmitter,QDe as ParticleSystem,Ee as Pass,Ir as PassState,Iy as PathGraphics,Wz as PathVisualizer,_N as PeliasGeocoderService,Mn as PerInstanceColorAppearance,gb as PerformanceDisplay,IW as PerformanceWatchdog,DW as PerformanceWatchdogViewModel,Wi as PerspectiveFrustum,Ru as PerspectiveOffCenterFrustum,r9 as PickDepth,s9 as PickDepthFramebuffer,c9 as PickFramebuffer,a9 as PickedMetadataInfo,x9 as Picking,XV as PickingPipelineStage,fy as PinBuilder,ze as PixelDatatype,He as PixelFormat,Cn as Plane,QE as PlaneGeometry,Mz as PlaneGeometryUpdater,O4 as PlaneGraphics,PN as PlaneOutlineGeometry,YU as PntsLoader,Tv as PntsParser,C9 as PointCloud,zp as PointCloudEyeDomeLighting,$h as PointCloudShading,ZV as PointCloudStylingPipelineStage,FS as PointGraphics,OR as PointLight,za as PointPrimitive,kI as PointPrimitiveCollection,jz as PointVisualizer,Zc as PolygonGeometry,Ci as PolygonGeometryLibrary,Lz as PolygonGeometryUpdater,Pp as PolygonGraphics,_a as PolygonHierarchy,ON as PolygonOutlineGeometry,Zi as PolygonPipeline,h7 as PolygonSwiperCullingCommand,rm as Polyline,GI as PolylineArrowMaterialProperty,e_ as PolylineCollection,na as PolylineColorAppearance,WI as PolylineDashMaterialProperty,hy as PolylineGeometry,qz as PolylineGeometryUpdater,jI as PolylineGlowMaterialProperty,Wl as PolylineGraphics,vc as PolylineMaterialAppearance,PC as PolylineOutlineMaterialProperty,Io as PolylinePipeline,Xz as PolylineVisualizer,HR as PolylineVolumeAnimationGeometry,Mu as PolylineVolumeGeometry,mp as PolylineVolumeGeometryLibrary,Nz as PolylineVolumeGeometryUpdater,BS as PolylineVolumeGraphics,MN as PolylineVolumeOutlineGeometry,wp as PositionProperty,Mx as PositionPropertyArray,Xo as PostProcessStage,Y9 as PostProcessStageCollection,rf as PostProcessStageComposite,ed as PostProcessStageLibrary,_h as PostProcessStageSampleMode,f1 as PostProcessStageTextureCache,Ik as PpeMetadata,R2e as PpeSource,Pk as PpeTexture,Un as Primitive,ju as PrimitiveCollection,sv as PrimitiveLoadPlan,rv as PrimitiveOutlineGenerator,JV as PrimitiveOutlinePipelineStage,AS as PrimitivePipeline,IU as PrimitiveRenderResources,Ps as PrimitiveState,eU as PrimitiveStatisticsPipelineStage,Fe as PrimitiveType,LW as ProjectionPicker,OW as ProjectionPickerViewModel,X as Property,qI as PropertyArray,Xy as PropertyAttribute,q4 as PropertyAttributeProperty,bf as PropertyBag,ds as PropertyTable,Yy as PropertyTexture,j4 as PropertyTextureProperty,da as ProviderViewModel,_de as Proxy,Au as QuadraticRealPolynomial,SG as QuadtreeOccluders,RG as QuadtreePrimitive,wG as QuadtreeTile,yc as QuadtreeTileLoadState,wPe as QuadtreeTileProvider,mE as QuantizedMeshTerrainData,ZM as QuarticRealPolynomial,Ge as Quaternion,LN as QuaternionSpline,nT as Queue,Vn as Ray,fe as Rectangle,iS as RectangleCollisionChecker,Sd as RectangleGeometry,Ma as RectangleGeometryLibrary,Fz as RectangleGeometryUpdater,Ip as RectangleGraphics,cS as RectangleOutlineGeometry,Vo as ReferenceFrame,Nx as ReferenceProperty,T2e as RenderDebug,Ne as RenderState,kd as Renderbuffer,Vu as RenderbufferFormat,Lr as Request,V_ as RequestErrorEvent,Cc as RequestScheduler,Ri as RequestState,Fs as RequestType,Ie as Resource,Ji as ResourceCache,Df as ResourceCacheKey,xk as ResourceCacheStatistics,Ni as ResourceLoader,Ot as ResourceLoaderState,hm as Rotation,ae as RuntimeError,yy as S2Cell,cc as SDFSettings,Mc as SampledPositionProperty,eh as SampledProperty,un as Sampler,n0 as ScaledPositionProperty,C7 as Scene,a1 as SceneFramebuffer,re as SceneMode,tU as SceneMode2DPipelineStage,kW as SceneModePicker,FW as SceneModePickerViewModel,o2e as SceneProjectorEx,N7 as SceneProjectorExFS,Zs as SceneProjectorSourceType,Co as SceneTransforms,K9 as SceneTransitioner,r7 as ScreenSpaceCameraController,vd as ScreenSpaceEventHandler,Zn as ScreenSpaceEventType,Vv as SectionCylinderGeometry,M8 as SectionFrameBuffer,uc as SectionPlaneGeometry,Ab as SectionPolygonGeometry,V8 as SectionRender,HU as SectionRenderUtil,sC as SelectedFeatureIdPipelineStage,HW as SelectionIndicator,UW as SelectionIndicatorViewModel,KI as SensorVolumePortionToDisplay,_v as ShaderBuilder,L8 as ShaderCache,ye as ShaderDestination,xU as ShaderFunction,Wt as ShaderProgram,We as ShaderSource,yU as ShaderStruct,I_ as ShadowMap,g0 as ShadowMapShader,jn as ShadowMode,Rd as ShadowVolumeAppearance,$n as ShowGeometryInstanceAttribute,xT as Simon1994PlanetaryPositions,vhe as SimplePolylineGeometry,Kw as SingleTileImageryProvider,iU as SkinningPipelineStage,S7 as SkyAtmosphere,x1 as SkyBox,l7 as SpatialNode,wk as Spdcf,Op as SpecularEnvironmentCubeMap,GIe as SphereEmitter,whe as SphereGeometry,Ty as SphereOutlineGeometry,qN as Spherical,ir as Spline,cs as SplitDirection,xR as Splitter,LR as SpotLight,ym as StaticGeometryColorBatch,xm as StaticGeometryPerMaterialBatch,t2 as StaticGroundGeometryColorBatch,Vz as StaticGroundGeometryPerMaterialBatch,Yz as StaticGroundPolylinePerMaterialBatch,n2 as StaticOutlineGeometryBatch,rn as StencilConstants,Ei as StencilFunction,Bt as StencilOperation,YN as SteppedSpline,zl as Stereographic,JT as StorageType,YI as StripeMaterialProperty,n_ as StripeOrientation,gr as StructuralMetadata,Wp as StyleCommandsNeeded,WIe as StyleExpression,R7 as Sun,Tx as SunLight,c7 as SunPostProcess,Ak as SupportedImageFormats,W7 as SvgPathBindingHandler,qn as SwipeModeType,m7 as SwiperCullingFramebuffer,io as TaskProcessor,O7 as Terrain,ip as TerrainData,Dl as TerrainEncoding,oR as TerrainFillMesh,Oh as TerrainMesh,US as TerrainOffsetProperty,Js as TerrainProvider,Qa as TerrainQuantization,hr as TerrainState,nt as Texture,h8 as Texture3D,_C as TextureAtlas,N8 as TextureCache,vi as TextureMagnificationFilter,d7 as TextureManager,gn as TextureMinificationFilter,C2e as TextureUniform,Bn as TextureWrap,rp as TileAvailability,Dc as TileBoundingRegion,KS as TileBoundingS2Cell,il as TileBoundingSphere,jIe as TileBoundingVolume,M7 as TileCoordinatesImageryProvider,qIe as TileDiscardPolicy,Xn as TileEdge,nR as TileImagery,ZC as TileMapServiceImageryProvider,V4 as TileMetadata,ol as TileOrientedBoundingBox,Er as TileProviderError,PG as TileReplacementQueue,Fi as TileSelectionResult,YIe as TileState,Q8 as Tileset3DTileContent,x8 as TilesetMetadata,$k as TilesetPipelineStage,Dhe as TilingScheme,Oi as TimeConstants,$w as TimeDynamicImagery,zR as TimeDynamicPointCloud,ti as TimeInterval,Ws as TimeIntervalCollection,Bx as TimeIntervalCollectionPositionProperty,kx as TimeIntervalCollectionProperty,Di as TimeStandard,jW as Timeline,GW as TimelineHighlightRange,WW as TimelineTrack,mL as Tipsify,PA as ToggleButtonViewModel,bb as Tonemapper,vt as Transforms,TT as TranslationRotationScale,f9 as TranslucentTileClassification,oD as TridiagonalSystemSolver,F1 as TrustedServers,d1 as TweenCollection,F8 as UniformState,PR as UniformType,_l as UrlTemplateImageryProvider,Xie as UrlUtil,CC as Util,qko as VERSION,KW as VRButton,YW as VRButtonViewModel,Lhe as VRTheWorldTerrainProvider,A2e as VaryingType,Tg as Vector3DTileBatch,az as Vector3DTileClampedPolylines,cz as Vector3DTileContent,Ex as Vector3DTileGeometry,nz as Vector3DTilePoints,iz as Vector3DTilePolygons,Yv as Vector3DTilePolylines,Uv as Vector3DTilePrimitive,Tz as VelocityOrientationProperty,rw as VelocityVectorProperty,Wn as VertexArray,xx as VertexArrayFacade,ft as VertexAttributeSemantic,Le as VertexFormat,sr as VerticalExaggeration,rU as VerticalExaggerationPipelineStage,hi as VerticalOrigin,Rhe as VideoSynchronizer,l1 as View,bRe as Viewer,RR as ViewportQuad,f2e as ViewshedAnalysis,as as Visibility,w6 as VisualAnalysisManager,Vve as Visualizer,u0 as VoxelBoxShape,vR as VoxelCell,pH as VoxelContent,f0 as VoxelCylinderShape,Gw as VoxelEllipsoidShape,QW as VoxelInspector,ZW as VoxelInspectorViewModel,TA as VoxelPrimitive,QIe as VoxelProvider,Q6 as VoxelRenderResources,JIe as VoxelShape,No as VoxelShapeType,DR as VoxelTraversal,Nhe as VulkanConstants,$N as WallGeometry,_S as WallGeometryLibrary,Bz as WallGeometryUpdater,Ry as WallGraphics,QN as WallOutlineGeometry,J as WebGLConstants,OH as WebMapServiceImageryProvider,MH as WebMapTileServiceImageryProvider,Do as WebMercatorProjection,ea as WebMercatorTilingScheme,ga as WindingOrder,$D as WireframeIndexGenerator,sU as WireframePipelineStage,A9 as _shadersAcesTonemappingStage,s7 as _shadersAdditiveBlend,pR as _shadersAdjustTranslucentFS,tF as _shadersAllMaterialAppearanceFS,nF as _shadersAllMaterialAppearanceVS,E9 as _shadersAmbientOcclusionGenerate,S9 as _shadersAmbientOcclusionModulate,hF as _shadersAspectRampMaterial,db as _shadersAtmosphereCommon,Qk as _shadersAtmosphereStageFS,Jk as _shadersAtmosphereStageVS,iF as _shadersBasicMaterialAppearanceFS,oF as _shadersBasicMaterialAppearanceVS,A8 as _shadersBillboardCollectionFS,E8 as _shadersBillboardCollectionVS,v9 as _shadersBlackAndWhite,w9 as _shadersBloomComposite,F6 as _shadersBrdfLutGeneratorFS,a7 as _shadersBrightPass,D9 as _shadersBrightness,mF as _shadersBumpMapMaterial,wV as _shadersCPUStylingStageFS,vV as _shadersCPUStylingStageVS,pF as _shadersCheckerboardMaterial,yH as _shadersCloudCollectionFS,xH as _shadersCloudCollectionVS,bH as _shadersCloudNoiseFS,TH as _shadersCloudNoiseVS,u9 as _shadersCompareAndPackTranslucentDepth,e9 as _shadersCompositeOITFS,c1 as _shadersCompositeTranslucentClassification,P9 as _shadersContrastBias,IV as _shadersCustomShaderStageFS,PV as _shadersCustomShaderStageVS,TS as _shadersCzmBuiltins,I9 as _shadersDepthOfField,zH as _shadersDepthPlaneFS,HH as _shadersDepthPlaneVS,R9 as _shadersDepthView,S2e as _shadersDepthViewPacked,_F as _shadersDotMaterial,O9 as _shadersEdgeDetection,gF as _shadersElevationBandMaterial,yF as _shadersElevationContourMaterial,xF as _shadersElevationRampMaterial,Q2 as _shadersEllipsoidFS,ZH as _shadersEllipsoidSurfaceAppearanceFS,$H as _shadersEllipsoidSurfaceAppearanceVS,J2 as _shadersEllipsoidVS,N9 as _shadersFXAA,H9 as _shadersFXAA3_11,bF as _shadersFadeMaterial,RV as _shadersFeatureIdStageFS,OV as _shadersFeatureIdStageVS,M9 as _shadersFilmicTonemapping,mA as _shadersGaussianBlur1D,BV as _shadersGeometryStageFS,kV as _shadersGeometryStageVS,rG as _shadersGlobeFS,sG as _shadersGlobeVS,TF as _shadersGridMaterial,eR as _shadersGroundAtmosphere,pB as _shadersHSBToRGB,_B as _shadersHSLToRGB,tV as _shadersImageBasedLightingStageFS,pV as _shadersInstancingStageCommon,_V as _shadersInstancingStageVS,W6 as _shadersIntersectBox,G6 as _shadersIntersectClippingPlanes,j6 as _shadersIntersectCylinder,H6 as _shadersIntersectDepth,q6 as _shadersIntersectEllipsoid,F2 as _shadersIntersectLongitude,kw as _shadersIntersection,z6 as _shadersIntersectionUtils,gV as _shadersLegacyInstancingStageVS,B9 as _shadersLensFlare,HV as _shadersLightingStageFS,WV as _shadersMaterialStageFS,$6 as _shadersMegatexture,MV as _shadersMetadataStageFS,LV as _shadersMetadataStageVS,lV as _shadersModelClippingGeometryStageFS,aV as _shadersModelClippingPlanesStageFS,dV as _shadersModelClippingPolygonsStageFS,fV as _shadersModelClippingPolygonsStageVS,sV as _shadersModelColorStageFS,uU as _shadersModelExplosionStageVS,NU as _shadersModelFS,hU as _shadersModelFlattenStageVS,TU as _shadersModelSilhouetteStageFS,CU as _shadersModelSilhouetteStageVS,SU as _shadersModelSplitterStageFS,cU as _shadersModelStretchStageVS,BU as _shadersModelSwipePipelineStageFS,LU as _shadersModelVS,k9 as _shadersModifiedReinhardTonemapping,qV as _shadersMorphTargetsStageVS,V9 as _shadersNightVision,CF as _shadersNormalMapMaterial,Z6 as _shadersOctree,Jf as _shadersPassThrough,tA as _shadersPassThroughDepth,L9 as _shadersPbrNeutralTonemapping,OF as _shadersPerInstanceColorAppearanceFS,MF as _shadersPerInstanceColorAppearanceVS,xS as _shadersPerInstanceFlatColorAppearanceFS,LF as _shadersPerInstanceFlatColorAppearanceVS,Bk as _shadersPointCloudEyeDomeLighting,KV as _shadersPointCloudStylingStageVS,wC as _shadersPointPrimitiveCollectionFS,_z as _shadersPointPrimitiveCollectionVS,G4 as _shadersPolygonSignedDistanceFS,AF as _shadersPolylineArrowMaterial,I4 as _shadersPolylineColorAppearanceVS,Od as _shadersPolylineCommon,EF as _shadersPolylineDashMaterial,vS as _shadersPolylineFS,SF as _shadersPolylineGlowMaterial,R4 as _shadersPolylineMaterialAppearanceVS,vF as _shadersPolylineOutlineMaterial,v4 as _shadersPolylineShadowVolumeFS,w4 as _shadersPolylineShadowVolumeMorphFS,D4 as _shadersPolylineShadowVolumeMorphVS,P4 as _shadersPolylineShadowVolumeVS,J8 as _shadersPolylineVS,QV as _shadersPrimitiveOutlineStageFS,$V as _shadersPrimitiveOutlineStageVS,HB as _shadersRGBToHSB,GB as _shadersRGBToHSL,WB as _shadersRGBToXYZ,U9 as _shadersReinhardTonemapping,cG as _shadersReprojectWebMercatorFS,lG as _shadersReprojectWebMercatorVS,wF as _shadersRimLightingMaterial,E2e as _shadersSelectedFeatureIdStageCommon,VV as _shadersSelectedFeatureIdStageFS,UV as _shadersSelectedFeatureIdStageVS,rP as _shadersShadowVolumeAppearanceFS,x4 as _shadersShadowVolumeAppearanceVS,DT as _shadersShadowVolumeFS,z9 as _shadersSilhouette,nU as _shadersSkinningStageVS,FR as _shadersSkyAtmosphereCommon,A7 as _shadersSkyAtmosphereFS,E7 as _shadersSkyAtmosphereVS,v7 as _shadersSkyBoxFS,w7 as _shadersSkyBoxVS,DF as _shadersSlopeRampMaterial,PF as _shadersStripeMaterial,D7 as _shadersSunFS,P7 as _shadersSunTextureFS,I7 as _shadersSunVS,rF as _shadersTexturedMaterialAppearanceFS,sF as _shadersTexturedMaterialAppearanceVS,sz as _shadersVector3DTileClampedPolylinesFS,rz as _shadersVector3DTileClampedPolylinesVS,oz as _shadersVector3DTilePolylinesVS,vP as _shadersVectorTileVS,oU as _shadersVerticalExaggerationStageVS,p7 as _shadersViewportQuadFS,kv as _shadersViewportQuadVS,V6 as _shadersVoxelFS,k6 as _shadersVoxelUtils,U6 as _shadersVoxelVS,RF as _shadersWater,IF as _shadersWaterMaskMaterial,g4 as _shadersXYZToRGB,R3 as _shadersacesTonemapping,O3 as _shadersalphaWeight,M3 as _shadersantialias,L3 as _shadersapplyColorCorrection,N3 as _shadersapplyHSBShift,F3 as _shadersapproximateSphericalCoordinates,B3 as _shadersapproximateTanh,k3 as _shadersbackFacing,V3 as _shadersbranchFreeTernary,U3 as _shaderscascadeColor,z3 as _shaderscascadeDistance,H3 as _shaderscascadeMatrix,G3 as _shaderscascadeWeights,W3 as _shadersclipPolygons,j3 as _shaderscolumbusViewMorph,q3 as _shaderscomputeAtmosphereColor,Y3 as _shaderscomputeGroundAtmosphereScattering,X3 as _shaderscomputePosition,K3 as _shaderscomputeScattering,Y6 as _shadersconvertUvToBox,X6 as _shadersconvertUvToCylinder,K6 as _shadersconvertUvToEllipsoid,Z3 as _shaderscosineAndSine,C3 as _shaderscreateTranslationMatrix,$3 as _shadersdecompressTextureCoordinates,kF as _shadersdegreesPerRadian,Q3 as _shadersdepthClamp,VF as _shadersdepthRange,A3 as _shadersdepthRangeStruct,J3 as _shaderseastNorthUpToEyeCoordinates,eB as _shadersellipsoidContainsPoint,tB as _shadersellipsoidTextureCoordinates,UF as _shadersepsilon1,zF as _shadersepsilon2,HF as _shadersepsilon3,GF as _shadersepsilon4,WF as _shadersepsilon5,jF as _shadersepsilon6,qF as _shadersepsilon7,nB as _shadersequalsEpsilon,iB as _shaderseyeOffset,oB as _shaderseyeToWindowCoordinates,rB as _shadersfastApproximateAtan,sB as _shadersfog,aB as _shadersgammaCorrect,cB as _shadersgeodeticSurfaceNormal,lB as _shadersgeometryClip,uB as _shadersgetDefaultMaterial,fB as _shadersgetDynamicAtmosphereLightDirection,dB as _shadersgetLambertDiffuse,hB as _shadersgetSpecular,mB as _shadersgetWaterNoise,gB as _shadershue,YF as _shadersinfinity,yB as _shadersinverseGamma,xB as _shadersisEmpty,bB as _shadersisFull,TB as _shaderslatitudeToWebMercatorFraction,AB as _shaderslineDistance,CB as _shaderslinearToSrgb,EB as _shadersluminance,E3 as _shadersmaterial,S3 as _shadersmaterialInput,SB as _shadersmaximumComponent,vB as _shadersmetersPerPixel,v3 as _shadersmodelMaterial,wB as _shadersmodelToWindowCoordinates,w3 as _shadersmodelVertexOutput,DB as _shadersmultiplyWithColorBalance,PB as _shadersnearFarScalar,IB as _shadersoctDecode,XF as _shadersoneOverPi,KF as _shadersoneOverTwoPi,RB as _shaderspackDepth,ZF as _shaderspassCesium3DTile,$F as _shaderspassCesium3DTileClassification,QF as _shaderspassCesium3DTileClassificationIgnoreShow,JF as _shaderspassClassification,e3 as _shaderspassCompute,t3 as _shaderspassEnvironment,n3 as _shaderspassGlobe,i3 as _shaderspassOpaque,o3 as _shaderspassOverlay,r3 as _shaderspassTerrainClassification,s3 as _shaderspassTranslucent,a3 as _shaderspassVoxels,OB as _shaderspbrLighting,MB as _shaderspbrNeutralTonemapping,LB as _shadersphong,c3 as _shaderspi,l3 as _shaderspiOverFour,u3 as _shaderspiOverSix,f3 as _shaderspiOverThree,d3 as _shaderspiOverTwo,NB as _shadersplaneDistance,FB as _shaderspointAlongRay,h3 as _shadersradiansPerDegree,D3 as _shadersray,BB as _shadersrayEllipsoidIntersectionInterval,P3 as _shadersraySegment,kB as _shadersraySphereIntersectionInterval,VB as _shadersreadDepth,UB as _shadersreadNonPerspective,zB as _shadersreverseLogDepth,jB as _shadersrollerShutter,qB as _shadersrollerShutterPolygon,YB as _shadersrollerShutterSpyglass,XB as _shadersround,KB as _shaderssaturation,m3 as _shaderssceneMode2D,p3 as _shaderssceneMode3D,_3 as _shaderssceneModeColumbusView,g3 as _shaderssceneModeMorphing,ZB as _shadersshadowDepthCompare,I3 as _shadersshadowParameters,$B as _shadersshadowVisibility,QB as _shaderssignNotZero,y3 as _shaderssolarRadius,JB as _shaderssphericalHarmonics,e4 as _shaderssrgbToLinear,t4 as _shaderstangentToEyeSpaceMatrix,n4 as _shaderstextureCube,x3 as _shadersthreePiOver2,i4 as _shaderstransformPlane,o4 as _shaderstranslateRelativeToEye,r4 as _shaderstranslucentPhong,s4 as _shaderstranspose,b3 as _shaderstwoPi,a4 as _shadersunpackClippingExtents,c4 as _shadersunpackDepth,l4 as _shadersunpackFloat,u4 as _shadersunpackUint,f4 as _shadersvalueTransform,d4 as _shadersvertexLogDepth,T3 as _shaderswebMercatorMaxLatitude,h4 as _shaderswindowToEyeCoordinates,m4 as _shaderswriteDepthClamp,p4 as _shaderswriteLogDepth,_4 as _shaderswriteNonPerspective,ak as addBuffer,$4 as addDefaults,ok as addExtensionsRequired,Yh as addExtensionsUsed,$T as addPipelineExtras,Ba as addToArray,cO as appendForwardSlash,xr as arrayRemoveDuplicates,lE as barycentricCoordinates,Mr as binarySearch,Tn as buildModuleUrl,tH as buildVoxelDrawCommands,Ve as clone,yt as combine,Ww as computeFlyToLocationForRectangle,Gv as createBillboardPointCallback,ii as createCommand,K7 as createDefaultImageryProviderViewModels,Z7 as createDefaultTerrainProviderViewModels,$we as createElevationBandMaterial,Jwe as createGooglePhotorealistic3DTileset,Kn as createGuid,Br as createMaterialPropertyDescriptor,e1e as createOsmBuildingsAsync,_e as createPropertyDescriptor,xf as createRawPropertyDescriptor,t1e as createTangentSpaceDebugPrimitive,O2e as createTaskProcessorWorker,NF as createUniform,FF as createUniformArray,jL as createWorldBathymetryAsync,fb as createWorldImageryAsync,ME as createWorldTerrainAsync,YL as decodeGoogleEarthEnterpriseData,XL as decodeVectorPolylinePositions,y as defaultValue,lf as defer,u as defined,y4 as demodernizeShader,mr as deprecationWarning,he as destroyObject,QEe as exportKml,tv as findAccessorMinMax,Vy as findContentMetadata,Uy as findGroupMetadata,WS as findTileMetadata,HP as forEachTextureInMaterial,Y_ as formatError,Qhe as freezeRenderState,k_ as getAbsoluteUri,vf as getAccessorByteStride,TO as getBaseUri,ql as getBinaryAccessor,iG as getClipAndStyleCode,sb as getClippingFunction,Wy as getComponentReader,fi as getElement,zA as getExtensionFromUri,ry as getFilenameFromUri,nN as getImageFromTypedArray,jm as getImagePixels,ho as getJsonFromTypedArray,Yc as getMagic,oG as getMetadataClassProperty,Fr as getStringFromTypedArray,mo as getTimestamp,Si as hasExtension,Oy as heightReferenceOnEntityPropertyChanged,kl as isBitSet,HA as isBlobUri,Ob as isCrossOriginUrl,D0 as isDataUri,Wm as isLeapYear,Se as knockout,w1 as knockout_3_5_1,G7 as knockout_es5,GA as loadAndExecuteScript,I6 as loadCubeMap,XE as loadImageFromTypedArray,pf as loadKTX2,uy as mergeSort,ik as moveTechniqueRenderStates,rk as moveTechniquesToExtension,Bd as numberOfComponentsForType,WA as objectToQuery,kt as oneTimeWarning,HS as pako_inflate,Ud as parseAttBatchTable,Hp as parseBatchTable,Z4 as parseFeatureMetadataLegacy,ek as parseGlb,AO as parseResponseHeaders,K4 as parseStructuralMetadata,hC as parseVoxelStyles,aI as pickModel,Zfe as pointInsideTriangle,vg as preprocess3DTileContent,l8 as preprocessM3DContent,eH as processVoxelProperties,ad as queryToObject,ck as readAccessorPacked,nv as removeExtension,J4 as removeExtensionsRequired,ev as removeExtensionsUsed,nk as removePipelineExtras,sk as removeUnusedElements,_T as resizeImageToNextPowerOfTwo,VN as sampleTerrain,uS as sampleTerrainMostDetailed,NA as scaleToGeodeticSurface,mS as srgbToLinear,XN as subdivideArray,kc as subscribeAndEvaluate,uk as updateAccessorComponentTypes,dk as updateVersion,hs as usesExtension,TRe as viewerCesium3DTilesInspectorMixin,CRe as viewerCesiumInspectorMixin,ERe as viewerDragDropMixin,SRe as viewerPerformanceWatchdogMixin,wRe as viewerVoxelInspectorMixin,Ghe as webGLConstantToGlslType,JN as wrapFunction,ZE as writeTextToCanvas,y2e as zlib_min};
19089
+ `);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};Ch.prototype.isDestroyed=function(){return!1};Ch.prototype.destroy=function(){let e=this;return this._definedProperties.forEach(function(t){Se.getObservable(e,t).dispose()}),he(this)};var ZW=Ch;function $W(e,t){e=fi(e);let n=document.createElement("div"),i=new ZW(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=bl.createSection,a=bl.createCheckbox,c=bl.createRangeInput,l=bl.createButton,f=s(r,"Display","displayVisible","toggleDisplay"),d=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 x=10,b=10,T=I.PI;d.appendChild(c("Translation X","translationX",-x,+x)),d.appendChild(c("Translation Y","translationY",-x,+x)),d.appendChild(c("Translation Z","translationZ",-x,+x)),d.appendChild(c("Scale X","scaleX",0,+b)),d.appendChild(c("Scale Y","scaleY",0,+b)),d.appendChild(c("Scale Z","scaleZ",0,+b)),d.appendChild(c("Heading","angleX",-T,+T)),d.appendChild(c("Pitch","angleY",-T,+T)),d.appendChild(c("Roll","angleZ",-T,+T));let C=No.getMinBounds(No.BOX),A=No.getMaxBounds(No.BOX),E=h.fromElements(No.getMinBounds(No.ELLIPSOID).x,No.getMinBounds(No.ELLIPSOID).y,-ne.WGS84.maximumRadius,new h),v=h.fromElements(No.getMaxBounds(No.ELLIPSOID).x,No.getMaxBounds(No.ELLIPSOID).y,1e7,new h),D=No.getMinBounds(No.CYLINDER),R=No.getMaxBounds(No.CYLINDER);I1("Max X","Min X","Max Y","Min Y","Max Z","Min Z","boundsBoxMaxX","boundsBoxMinX","boundsBoxMaxY","boundsBoxMinY","boundsBoxMaxZ","boundsBoxMinZ",C,A,"shapeIsBox",p),I1("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","boundsEllipsoidMaxLongitude","boundsEllipsoidMinLongitude","boundsEllipsoidMaxLatitude","boundsEllipsoidMinLatitude","boundsEllipsoidMaxHeight","boundsEllipsoidMinHeight",E,v,"shapeIsEllipsoid",p),I1("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","boundsCylinderMaxRadius","boundsCylinderMinRadius","boundsCylinderMaxHeight","boundsCylinderMinHeight","boundsCylinderMaxAngle","boundsCylinderMinAngle",D,R,"shapeIsCylinder",p),I1("Max X","Min X","Max Y","Min Y","Max Z","Min Z","clippingBoxMaxX","clippingBoxMinX","clippingBoxMaxY","clippingBoxMinY","clippingBoxMaxZ","clippingBoxMinZ",C,A,"shapeIsBox",_),I1("Max Longitude","Min Longitude","Max Latitude","Min Latitude","Max Height","Min Height","clippingEllipsoidMaxLongitude","clippingEllipsoidMinLongitude","clippingEllipsoidMaxLatitude","clippingEllipsoidMinLatitude","clippingEllipsoidMaxHeight","clippingEllipsoidMinHeight",E,v,"shapeIsEllipsoid",_),I1("Max Radius","Min Radius","Max Height","Min Height","Max Angle","Min Angle","clippingCylinderMaxRadius","clippingCylinderMinRadius","clippingCylinderMaxHeight","clippingCylinderMinHeight","clippingCylinderMaxAngle","clippingCylinderMinAngle",D,R,"shapeIsCylinder",_);let O=document.createElement("div");m.appendChild(O);let L=document.createElement("textarea");L.setAttribute("data-bind","textInput: shaderString, event: { keydown: shaderEditorKeyPress }"),O.className="cesium-cesiumInspector-styleEditor",O.appendChild(L);let N=l("Compile (Ctrl+Enter)","compileShader");O.appendChild(N);let g=document.createElement("label");g.style.display="block",g.setAttribute("data-bind","text: shaderCompilationMessage, style: {color: shaderCompilationSuccess ? 'green' : 'red'}"),O.appendChild(g),Se.applyBindings(i,n)}Object.defineProperties($W.prototype,{container:{get:function(){return this._container}},viewModel:{get:function(){return this._viewModel}}});$W.prototype.isDestroyed=function(){return!1};$W.prototype.destroy=function(){return Se.cleanNode(this._element),this._container.removeChild(this._element),this.viewModel.destroy(),he(this)};function I1(e,t,n,i,o,r,s,a,c,l,f,d,p,_,m,x){let b=bl.createRangeInput,T=p,C=_,A=x.appendChild(document.createElement("div"));A.setAttribute("data-bind",`if: ${m}`),A.appendChild(b(e,s,T.x,C.x)),A.appendChild(b(t,a,T.x,C.x)),A.appendChild(b(n,c,T.y,C.y)),A.appendChild(b(i,l,T.y,C.y)),A.appendChild(b(o,f,T.z,C.z)),A.appendChild(b(r,d,T.z,C.z))}var QW=$W;function I4t(e){let t=document.createElement("div");t.className="cesium-viewer-voxelInspectorContainer",e.container.appendChild(t);let n=new QW(t,e.scene);Object.defineProperties(e,{voxelInspector:{get:function(){return n}}})}var wRe=I4t;globalThis.CESIUM_VERSION="1.122.0";globalThis.MAPGIS_VERSION="17.6.1";var qko="1.122.0",Yko="17.6.1";export{jh as AlphaMode,AV as AlphaPipelineStage,Ek as AnchorPointDirect,Sk as AnchorPointIndirect,Z7 as Animation,$7 as AnimationViewModel,co as Appearance,Gi as ApproximateTerrainHeights,Uae as ArcGISTiledElevationTerrainProvider,y_ as ArcGisBaseMapType,rb as ArcGisMapServerImageryProvider,lh as ArcGisMapService,Rn as ArcType,Il as ArticulationStageType,Gt as AssociativeArray,O6 as Atmosphere,eV as AtmospherePipelineStage,xn as AttributeCompression,d2e as AttributeSurfacePrimitive,Ht as AttributeType,M6 as AutoExposure,Dy as AutomaticUniforms,Dn as Axis,Hb as AxisAlignedBoundingBox,kk as B3dmLoader,fv as B3dmParser,eW as BaseLayerPicker,Q7 as BaseLayerPickerViewModel,CS as BatchTable,Ny as BatchTableHierarchy,Bu as BatchTexture,EV as BatchTexturePipelineStage,fr as Billboard,jd as BillboardCollection,Hl as BillboardGraphics,eF as BillboardVisualizer,qae as BingMapsGeocoderService,N6 as BingMapsImageryProvider,O2 as BingMapsStyle,Jc as BlendEquation,Sr as BlendFunction,Pr as BlendOption,vn as BlendingState,Ze as BoundingRectangle,ce as BoundingSphere,Lt as BoundingSphereState,zy as BoundingVolumeSemantics,qve as BoxEmitter,Rl as BoxGeometry,M4 as BoxGeometryUpdater,DS as BoxGraphics,ap as BoxOutlineGeometry,B6 as BrdfLutGenerator,et as Buffer,JS as BufferLoader,Oe as BufferUsage,DV as CPUStylingPipelineStage,L4 as CallbackPositionProperty,Rp as CallbackProperty,zi as Camera,uH as CameraEventAggregator,Lo as CameraEventType,nH as CameraFlightPath,H as Cartesian2,h as Cartesian3,ie as Cartesian4,ue as Cartographic,nce as CartographicGeocoderService,lce as CatmullRomSpline,Ly as Cesium3DContentGroup,um as Cesium3DTile,By as Cesium3DTileBatchTable,Yl as Cesium3DTileColorBlendMode,Swe as Cesium3DTileContent,wg as Cesium3DTileContentFactory,xi as Cesium3DTileContentState,Ro as Cesium3DTileContentType,oTe as Cesium3DTileCustomContent,rc as Cesium3DTileFeature,Ta as Cesium3DTileFeatureTable,Af as Cesium3DTileOptimizationHint,mC as Cesium3DTileOptimizations,ro as Cesium3DTilePass,Rm as Cesium3DTilePassState,Sx as Cesium3DTilePointFeature,Yo as Cesium3DTileRefine,Hw as Cesium3DTileStyle,Ov as Cesium3DTileStyleEngine,sW as Cesium3DTilesInspector,oW as Cesium3DTilesInspectorViewModel,Vwe as Cesium3DTilesVoxelProvider,ra as Cesium3DTileset,Fv as Cesium3DTilesetBaseTraversal,Pv as Cesium3DTilesetCache,NS as Cesium3DTilesetGraphics,Iv as Cesium3DTilesetHeatmap,_x as Cesium3DTilesetMetadata,Nv as Cesium3DTilesetMostDetailedTraversal,Bv as Cesium3DTilesetSkipTraversal,Hu as Cesium3DTilesetStatistics,lc as Cesium3DTilesetTraversal,fz as Cesium3DTilesetVisualizer,lW as CesiumInspector,aW as CesiumInspectorViewModel,pE as CesiumTerrainProvider,L7 as CesiumWidget,ao as Check,LI as CheckerboardMaterialProperty,gH as CircleEmitter,ele as CircleGeometry,ole as CircleOutlineGeometry,RU as ClassificationModelDrawCommand,SV as ClassificationPipelineStage,sP as ClassificationPrimitive,ni as ClassificationType,ai as ClearCommand,zU as ClipFillUtil,m2e as ClippingGeometry,B7 as ClippingGeometryFS,M_ as ClippingGeometryType,k7 as ClippingGeometryVS,V7 as ClippingGltfFS,U7 as ClippingGltfVS,Gy as ClippingPlane,vr as ClippingPlaneCollection,PP as ClippingPolygon,Sf as ClippingPolygonCollection,O8 as ClippingType,hp as Clock,Vs as ClockRange,_r as ClockStep,j7 as ClockViewModel,qwe as CloudCollection,z2 as CloudType,z as Color,Xl as ColorBlendMode,g7 as ColorCorrection,F9 as ColorCurrection,cn as ColorGeometryInstanceAttribute,fn as ColorMaterialProperty,k2e as Command,q as ComponentDatatype,Lp as Composite3DTileContent,gTe as CompositeEntityCollection,FI as CompositeMaterialProperty,Oc as CompositePositionProperty,iu as CompositeProperty,wL as CompressedTextureBuffer,Bp as ComputeCommand,P6 as ComputeEngine,fH as ConditionsExpression,Ywe as ConeEmitter,wO as Config,Nu as ConstantPositionProperty,ki as ConstantProperty,DL as ConstantSpline,k4 as ContentMetadata,B8 as Context,Jt as ContextLimits,NL as CoplanarPolygonGeometry,Y0 as CoplanarPolygonGeometryLibrary,Bh as CoplanarPolygonOutlineGeometry,Po as CornerType,vk as CorrelationGroup,ig as CorridorGeometry,Bo as CorridorGeometryLibrary,mz as CorridorGeometryUpdater,IS as CorridorGraphics,WL as CorridorOutlineGeometry,jt as Credit,FH as CreditDisplay,tl as CubeMap,cF as CubeMapFace,rE as CubicRealPolynomial,Ti as CullFace,Jr as CullingVolume,fh as CumulusCloud,yz as CustomDataSource,due as CustomHeightmapTerrainProvider,p1 as CustomShader,sx as CustomShaderMode,NV as CustomShaderPipelineStage,rC as CustomShaderTranslucencyMode,U8 as CuttingFilterUtil,rg as CylinderGeometry,NE as CylinderGeometryLibrary,xz as CylinderGeometryUpdater,RS as CylinderGraphics,qL as CylinderOutlineGeometry,vz as CzmlDataSource,qs as DataSource,t_ as DataSourceClock,Dz as DataSourceCollection,Kz as DataSourceDisplay,E1e as DebugAppearance,h0 as DebugCameraPrimitive,kH as DebugInspector,UH as DebugModelMatrixPrimitive,_ue as DefaultProxy,Gl as DepthFunction,WH as DepthPlane,FV as DequantizationPipelineStage,$f as DerivedCommand,me as DeveloperError,YH as DeviceOrientationCameraController,R1e as DirectionalLight,L2 as DiscardEmptyTileImagePolicy,R6 as DiscardMissingTileImagePolicy,en as DistanceDisplayCondition,Ai as DistanceDisplayConditionGeometryInstanceAttribute,kE as DoubleEndedPriorityQueue,ZL as DoublyLinkedList,kp as DracoLoader,Ye as DrawCommand,Bw as DynamicAtmosphereLightingType,aw as DynamicGeometryBatch,$i as DynamicGeometryUpdater,wM as EarthOrientationParameters,Rb as EarthOrientationParametersSample,Us as EasingFunction,wu as EllipseGeometry,ff as EllipseGeometryLibrary,Rz as EllipseGeometryUpdater,OS as EllipseGraphics,pd as EllipseOutlineGeometry,ne as Ellipsoid,$0 as EllipsoidGeodesic,vs as EllipsoidGeometry,Oz as EllipsoidGeometryUpdater,MS as EllipsoidGraphics,Fl as EllipsoidOutlineGeometry,KH as EllipsoidPrimitive,qc as EllipsoidRhumbLine,Nm as EllipsoidSurfaceAppearance,fI as EllipsoidSurfaceVoxelAppearance,f8 as EllipsoidSurfaceVoxelAppearanceFS,u8 as EllipsoidSurfaceVoxelAppearanceVS,As as EllipsoidTangentPlane,cg as EllipsoidTerrainProvider,k0 as EllipsoidalOccluder,Ld as Empty3DTileContent,bi as EncodedCartesian3,ts as Entity,Jd as EntityCluster,hc as EntityCollection,Qz as EntityView,be as Event,zs as EventHelper,om as Expression,Vt as ExpressionNodeType,xd as ExtrapolationType,pn as FeatureDetection,oC as FeatureIdPipelineStage,x2e as FlattenTool,JH as Fog,ke as ForEach,qg as FrameBufferType,eG as FrameRateMonitor,tG as FrameState,er as Framebuffer,qi as FramebufferManager,nG as FrustumCommands,GE as FrustumGeometry,eN as FrustumOutlineGeometry,Cs as Fullscreen,hW as FullscreenButton,fW as FullscreenButtonViewModel,J5 as GeoJsonDataSource,Uk as GeoJsonLoader,lT as GeocodeType,_W as Geocoder,PD as GeocoderService,mW as GeocoderViewModel,So as GeographicProjection,qo as GeographicTilingScheme,Pt as Geometry,K8 as Geometry3DTileContent,Pe as GeometryAttribute,kn as GeometryAttributes,Nue as GeometryFactory,Mt as GeometryInstance,Bl as GeometryInstanceAttribute,Nn as GeometryOffsetAttribute,yi as GeometryPipeline,zV as GeometryPipelineStage,Mh as GeometryType,Qi as GeometryUpdater,mw as GeometryUpdaterSet,Uz as GeometryVisualizer,Zw as GetFeatureInfoFormat,OG as Globe,MG as GlobeDepth,p2e as GlobeEffect,aG as GlobeSurfaceShaderSet,Fm as GlobeSurfaceTile,TG as GlobeSurfaceTileProvider,CG as GlobeTranslucency,LG as GlobeTranslucencyFramebuffer,NG as GlobeTranslucencyState,kP as GltfBufferViewLoader,VP as GltfDracoLoader,Dk as GltfGpmLoader,ZP as GltfGpmLocal,UP as GltfImageLoader,zP as GltfIndexBufferLoader,GP as GltfJsonLoader,ll as GltfLoader,wf as GltfLoaderUtil,Ok as GltfMeshPrimitiveGpmLoader,bk as GltfStructuralMetadataLoader,WP as GltfTextureLoader,jP as GltfVertexBufferLoader,DDe as GoogleEarthEnterpriseImageryProvider,PH as GoogleEarthEnterpriseMapsProvider,sy as GoogleEarthEnterpriseMetadata,ID as GoogleEarthEnterpriseTerrainData,jue as GoogleEarthEnterpriseTerrainProvider,iN as GoogleEarthEnterpriseTileInformation,WE as GoogleMaps,d6 as GpxDataSource,v0 as GregorianDate,PDe as GridImageryProvider,HI as GridMaterialProperty,wi as GroundGeometryUpdater,jE as GroundPolylineGeometry,vp as GroundPolylinePrimitive,ic as GroundPrimitive,_2e as GroundPrimitiveRectangleGenerater,dI as GroupMetadata,em as HashMap,Ul as HeadingPitchRange,Bs as HeadingPitchRoll,EO as Heap,ot as HeightReference,Ih as HeightmapEncoding,jc as HeightmapTerrainData,tD as HeightmapTessellator,dN as HermitePolynomialApproximation,Xb as HermiteSpline,OD as HilbertOrder,xW as HomeButton,gW as HomeButtonViewModel,po as HorizontalOrigin,sRe as I3SBuildingSceneLayerExplorer,TW as I3SBuildingSceneLayerExplorerViewModel,S_ as I3SDataProvider,FG as I3SDecoder,BG as I3SFeature,VG as I3SField,lR as I3SGeometry,r1 as I3SLayer,uR as I3SNode,WG as I3SStatistics,jG as I3SSublayer,HG as I3SSymbology,Wk as I3dmLoader,dv as I3dmParser,mN as Iau2000Orientation,IM as Iau2006XysData,tE as Iau2006XysSample,pN as IauOrientationAxes,hN as IauOrientationParameters,My as ImageBasedLighting,nV as ImageBasedLightingPipelineStage,MT as ImageMaterialProperty,tR as Imagery,Ks as ImageryLayer,EG as ImageryLayerCollection,x_ as ImageryLayerFeatureInfo,$u as ImageryProvider,eo as ImageryState,wI as Implicit3DTileContent,SI as ImplicitAvailabilityBitstream,vI as ImplicitMetadataView,ia as ImplicitSubdivisionScheme,zv as ImplicitSubtree,dH as ImplicitSubtreeCache,Z8 as ImplicitSubtreeMetadata,yx as ImplicitTileCoordinates,gx as ImplicitTileset,Ke as IndexDatatype,EW as InfoBox,CW as InfoBoxViewModel,bl as InspectorShared,Wr as InstanceAttributeSemantic,xV as InstancingPipelineStage,B1 as InterceptorsUtil,Lfe as InterpolationAlgorithm,xp as InterpolationType,Zt as Intersect,Mi as IntersectionTests,W0 as Intersections2D,Ya as Interval,dR as InvertClassification,cp as Ion,gN as IonGeocoderService,lb as IonImageryProvider,vu as IonResource,ub as IonWorldImageryStyle,Je as Iso8601,XG as JobScheduler,al as JobType,jy as JsonMetadataTable,Q as JulianDate,yN as KTX2Transcoder,tc as KeyboardEventModifier,nr as KeyframeNode,h6 as KmlCamera,v6 as KmlDataSource,m6 as KmlLookAt,_6 as KmlTour,y6 as KmlTourFlyTo,x6 as KmlTourWait,yC as Label,tm as LabelCollection,Dp as LabelGraphics,jr as LabelStyle,zz as LabelVisualizer,xN as LagrangePolynomialApproximation,jo as LeapSecond,VDe as Light,C0 as LightManager,nf as LightingMode,Fg as LightingModel,GV as LightingPipelineStage,YE as LinearApproximation,Yb as LinearSpline,ZU as M3D10MetadataTable,KU as M3D20MetadataTable,kT as M3D21MetadataTable,B4 as M3DAttContentFactory,Cg as M3DAttParser,JU as M3DB3dmLoader,dC as M3DContentFactory,mx as M3DContentType,a8 as M3DDataLoader,s8 as M3DDataParser,QU as M3DGltfLoader,XU as M3DGltfParser,n8 as M3DI3dmLoader,r8 as M3DPntsLoader,i8 as M3DPntsParser,H4 as M3DTidParser,P2e as M3DTree,Yko as MAPGIS_VERSION,Xc as ManagedArray,Dv as MapGISM3D,tu as MapGISM3DSet,GT as MapGISM3DTileContent,p8 as MapGISM3DVoxelContent,wv as MapGISVoxelPrimitive,Yf as MapMode2D,Vfe as MapProjection,IH as MapboxImageryProvider,zDe as MapboxStyleImageryProvider,Li as Material,ar as MaterialAppearance,jV as MaterialPipelineStage,es as MaterialProperty,I as Math,Fo as Matrix2,$ as Matrix3,M as Matrix4,hR as Megatexture,Rk as MeshPrimitiveGpmLocal,xa as MetadataClass,XT as MetadataClassProperty,hn as MetadataComponentType,li as MetadataEntity,_k as MetadataEnum,mk as MetadataEnumValue,ZG as MetadataPicking,Vd as MetadataPickingPipelineStage,Qh as MetadataPipelineStage,Zl as MetadataSchema,YP as MetadataSchemaLoader,Hv as MetadataSemantic,Kl as MetadataTable,X4 as MetadataTableProperty,Kt as MetadataType,fg as MipmapHint,ac as Model,eu as Model3DTileContent,gU as ModelAlphaOptions,qk as ModelAnimation,jk as ModelAnimationChannel,Xk as ModelAnimationCollection,Ef as ModelAnimationLoop,Gp as ModelAnimationState,rV as ModelArticulation,iV as ModelArticulationStage,uV as ModelClippingGeometryPipelineStage,cV as ModelClippingPlanesPipelineStage,hV as ModelClippingPolygonsPipelineStage,iC as ModelColorPipelineStage,dn as ModelComponents,MU as ModelDrawCommand,FU as ModelDrawCommands,I2e as ModelExplosion,fU as ModelExplosionPipelineStage,Kk as ModelFeature,Zk as ModelFeatureTable,mU as ModelFlattenPipelineStage,Py as ModelGraphics,PU as ModelLightingOptions,bV as ModelMatrixUpdateStage,mV as ModelNode,dU as ModelPMPipelineStage,bU as ModelRenderResources,CV as ModelRuntimeNode,pU as ModelRuntimePrimitive,WU as ModelSceneGraph,EU as ModelSilhouettePipelineStage,_U as ModelSkin,wU as ModelSplitterPipelineStage,jU as ModelStatistics,lU as ModelStretchPipelineStage,kU as ModelSwipePipelineStage,Tr as ModelType,mn as ModelUtility,Gz as ModelVisualizer,JG as Moon,YV as MorphTargetsPipelineStage,Ufe as MorphWeightSpline,fT as MortonOrder,jS as Multiple3DTileContent,Fk as MultisampleFramebuffer,wW as NavigationHelpButton,SW as NavigationHelpButtonViewModel,on as NearFarScalar,d8 as NetCDFLoader,HDe as NeverTileDiscardPolicy,DU as NodeRenderResources,TV as NodeStatisticsPipelineStage,LS as NodeTransformationProperty,aU as OIDTexturePipelineStage,t9 as OIT,EN as Occluder,Jo as OffsetGeometryInstanceAttribute,jfe as OpenCageGeocoderService,_b as OpenStreetMapImageryProvider,Iz as OrderedGroundPrimitiveCollection,Yn as OrientedBoundingBox,wn as OrthographicFrustum,Hs as OrthographicOffCenterFrustum,G9 as OutlineForOid,W9 as OutlineForPrimitives,jp as OutlineRenderMode,qfe as Packable,Yfe as PackableForInterpolation,MR as ParallelLight,_R as Particle,YDe as ParticleBurst,KDe as ParticleEmitter,QDe as ParticleSystem,Ee as Pass,Ir as PassState,Iy as PathGraphics,Wz as PathVisualizer,_N as PeliasGeocoderService,Mn as PerInstanceColorAppearance,gb as PerformanceDisplay,IW as PerformanceWatchdog,DW as PerformanceWatchdogViewModel,Wi as PerspectiveFrustum,Ru as PerspectiveOffCenterFrustum,r9 as PickDepth,s9 as PickDepthFramebuffer,c9 as PickFramebuffer,a9 as PickedMetadataInfo,x9 as Picking,XV as PickingPipelineStage,fy as PinBuilder,ze as PixelDatatype,He as PixelFormat,Cn as Plane,QE as PlaneGeometry,Mz as PlaneGeometryUpdater,O4 as PlaneGraphics,PN as PlaneOutlineGeometry,YU as PntsLoader,Tv as PntsParser,C9 as PointCloud,zp as PointCloudEyeDomeLighting,$h as PointCloudShading,ZV as PointCloudStylingPipelineStage,FS as PointGraphics,OR as PointLight,za as PointPrimitive,kI as PointPrimitiveCollection,jz as PointVisualizer,Zc as PolygonGeometry,Ci as PolygonGeometryLibrary,Lz as PolygonGeometryUpdater,Pp as PolygonGraphics,_a as PolygonHierarchy,ON as PolygonOutlineGeometry,Zi as PolygonPipeline,h7 as PolygonSwiperCullingCommand,rm as Polyline,GI as PolylineArrowMaterialProperty,e_ as PolylineCollection,na as PolylineColorAppearance,WI as PolylineDashMaterialProperty,hy as PolylineGeometry,qz as PolylineGeometryUpdater,jI as PolylineGlowMaterialProperty,Wl as PolylineGraphics,vc as PolylineMaterialAppearance,PC as PolylineOutlineMaterialProperty,Io as PolylinePipeline,Xz as PolylineVisualizer,HR as PolylineVolumeAnimationGeometry,Mu as PolylineVolumeGeometry,mp as PolylineVolumeGeometryLibrary,Nz as PolylineVolumeGeometryUpdater,BS as PolylineVolumeGraphics,MN as PolylineVolumeOutlineGeometry,wp as PositionProperty,Mx as PositionPropertyArray,Xo as PostProcessStage,Y9 as PostProcessStageCollection,rf as PostProcessStageComposite,ed as PostProcessStageLibrary,_h as PostProcessStageSampleMode,f1 as PostProcessStageTextureCache,Ik as PpeMetadata,R2e as PpeSource,Pk as PpeTexture,Un as Primitive,ju as PrimitiveCollection,sv as PrimitiveLoadPlan,rv as PrimitiveOutlineGenerator,JV as PrimitiveOutlinePipelineStage,AS as PrimitivePipeline,IU as PrimitiveRenderResources,Ps as PrimitiveState,eU as PrimitiveStatisticsPipelineStage,Fe as PrimitiveType,LW as ProjectionPicker,OW as ProjectionPickerViewModel,X as Property,qI as PropertyArray,Xy as PropertyAttribute,q4 as PropertyAttributeProperty,bf as PropertyBag,ds as PropertyTable,Yy as PropertyTexture,j4 as PropertyTextureProperty,da as ProviderViewModel,_de as Proxy,Au as QuadraticRealPolynomial,SG as QuadtreeOccluders,RG as QuadtreePrimitive,wG as QuadtreeTile,yc as QuadtreeTileLoadState,wPe as QuadtreeTileProvider,mE as QuantizedMeshTerrainData,ZM as QuarticRealPolynomial,Ge as Quaternion,LN as QuaternionSpline,nT as Queue,Vn as Ray,fe as Rectangle,iS as RectangleCollisionChecker,Sd as RectangleGeometry,Ma as RectangleGeometryLibrary,Fz as RectangleGeometryUpdater,Ip as RectangleGraphics,cS as RectangleOutlineGeometry,Vo as ReferenceFrame,Nx as ReferenceProperty,T2e as RenderDebug,Ne as RenderState,kd as Renderbuffer,Vu as RenderbufferFormat,Lr as Request,V_ as RequestErrorEvent,Cc as RequestScheduler,Ri as RequestState,Fs as RequestType,Ie as Resource,Ji as ResourceCache,Df as ResourceCacheKey,xk as ResourceCacheStatistics,Ni as ResourceLoader,Ot as ResourceLoaderState,hm as Rotation,ae as RuntimeError,yy as S2Cell,cc as SDFSettings,Mc as SampledPositionProperty,eh as SampledProperty,un as Sampler,n0 as ScaledPositionProperty,C7 as Scene,a1 as SceneFramebuffer,re as SceneMode,tU as SceneMode2DPipelineStage,kW as SceneModePicker,FW as SceneModePickerViewModel,o2e as SceneProjectorEx,N7 as SceneProjectorExFS,Zs as SceneProjectorSourceType,Co as SceneTransforms,K9 as SceneTransitioner,r7 as ScreenSpaceCameraController,vd as ScreenSpaceEventHandler,Zn as ScreenSpaceEventType,Vv as SectionCylinderGeometry,M8 as SectionFrameBuffer,uc as SectionPlaneGeometry,Ab as SectionPolygonGeometry,V8 as SectionRender,HU as SectionRenderUtil,sC as SelectedFeatureIdPipelineStage,HW as SelectionIndicator,UW as SelectionIndicatorViewModel,KI as SensorVolumePortionToDisplay,_v as ShaderBuilder,L8 as ShaderCache,ye as ShaderDestination,xU as ShaderFunction,Wt as ShaderProgram,We as ShaderSource,yU as ShaderStruct,I_ as ShadowMap,g0 as ShadowMapShader,jn as ShadowMode,Rd as ShadowVolumeAppearance,$n as ShowGeometryInstanceAttribute,xT as Simon1994PlanetaryPositions,vhe as SimplePolylineGeometry,Kw as SingleTileImageryProvider,iU as SkinningPipelineStage,S7 as SkyAtmosphere,x1 as SkyBox,l7 as SpatialNode,wk as Spdcf,Op as SpecularEnvironmentCubeMap,GIe as SphereEmitter,whe as SphereGeometry,Ty as SphereOutlineGeometry,qN as Spherical,ir as Spline,cs as SplitDirection,xR as Splitter,LR as SpotLight,ym as StaticGeometryColorBatch,xm as StaticGeometryPerMaterialBatch,t2 as StaticGroundGeometryColorBatch,Vz as StaticGroundGeometryPerMaterialBatch,Yz as StaticGroundPolylinePerMaterialBatch,n2 as StaticOutlineGeometryBatch,rn as StencilConstants,Ei as StencilFunction,Bt as StencilOperation,YN as SteppedSpline,zl as Stereographic,JT as StorageType,YI as StripeMaterialProperty,n_ as StripeOrientation,gr as StructuralMetadata,Wp as StyleCommandsNeeded,WIe as StyleExpression,R7 as Sun,Tx as SunLight,c7 as SunPostProcess,Ak as SupportedImageFormats,W7 as SvgPathBindingHandler,qn as SwipeModeType,m7 as SwiperCullingFramebuffer,io as TaskProcessor,O7 as Terrain,ip as TerrainData,Dl as TerrainEncoding,oR as TerrainFillMesh,Oh as TerrainMesh,US as TerrainOffsetProperty,Js as TerrainProvider,Qa as TerrainQuantization,hr as TerrainState,nt as Texture,h8 as Texture3D,_C as TextureAtlas,N8 as TextureCache,vi as TextureMagnificationFilter,d7 as TextureManager,gn as TextureMinificationFilter,C2e as TextureUniform,Bn as TextureWrap,rp as TileAvailability,Dc as TileBoundingRegion,KS as TileBoundingS2Cell,il as TileBoundingSphere,jIe as TileBoundingVolume,M7 as TileCoordinatesImageryProvider,qIe as TileDiscardPolicy,Xn as TileEdge,nR as TileImagery,ZC as TileMapServiceImageryProvider,V4 as TileMetadata,ol as TileOrientedBoundingBox,Er as TileProviderError,PG as TileReplacementQueue,Fi as TileSelectionResult,YIe as TileState,Q8 as Tileset3DTileContent,x8 as TilesetMetadata,$k as TilesetPipelineStage,Dhe as TilingScheme,Oi as TimeConstants,$w as TimeDynamicImagery,zR as TimeDynamicPointCloud,ti as TimeInterval,Ws as TimeIntervalCollection,Bx as TimeIntervalCollectionPositionProperty,kx as TimeIntervalCollectionProperty,Di as TimeStandard,jW as Timeline,GW as TimelineHighlightRange,WW as TimelineTrack,mL as Tipsify,PA as ToggleButtonViewModel,bb as Tonemapper,vt as Transforms,TT as TranslationRotationScale,f9 as TranslucentTileClassification,oD as TridiagonalSystemSolver,F1 as TrustedServers,d1 as TweenCollection,F8 as UniformState,PR as UniformType,_l as UrlTemplateImageryProvider,Xie as UrlUtil,CC as Util,qko as VERSION,KW as VRButton,YW as VRButtonViewModel,Lhe as VRTheWorldTerrainProvider,A2e as VaryingType,Tg as Vector3DTileBatch,az as Vector3DTileClampedPolylines,cz as Vector3DTileContent,Ex as Vector3DTileGeometry,nz as Vector3DTilePoints,iz as Vector3DTilePolygons,Yv as Vector3DTilePolylines,Uv as Vector3DTilePrimitive,Tz as VelocityOrientationProperty,rw as VelocityVectorProperty,Wn as VertexArray,xx as VertexArrayFacade,ft as VertexAttributeSemantic,Le as VertexFormat,sr as VerticalExaggeration,rU as VerticalExaggerationPipelineStage,hi as VerticalOrigin,Rhe as VideoSynchronizer,l1 as View,bRe as Viewer,RR as ViewportQuad,f2e as ViewshedAnalysis,as as Visibility,w6 as VisualAnalysisManager,Vve as Visualizer,u0 as VoxelBoxShape,vR as VoxelCell,pH as VoxelContent,f0 as VoxelCylinderShape,Gw as VoxelEllipsoidShape,QW as VoxelInspector,ZW as VoxelInspectorViewModel,TA as VoxelPrimitive,QIe as VoxelProvider,Q6 as VoxelRenderResources,JIe as VoxelShape,No as VoxelShapeType,DR as VoxelTraversal,Nhe as VulkanConstants,$N as WallGeometry,_S as WallGeometryLibrary,Bz as WallGeometryUpdater,Ry as WallGraphics,QN as WallOutlineGeometry,J as WebGLConstants,OH as WebMapServiceImageryProvider,MH as WebMapTileServiceImageryProvider,Do as WebMercatorProjection,ea as WebMercatorTilingScheme,ga as WindingOrder,$D as WireframeIndexGenerator,sU as WireframePipelineStage,A9 as _shadersAcesTonemappingStage,s7 as _shadersAdditiveBlend,pR as _shadersAdjustTranslucentFS,tF as _shadersAllMaterialAppearanceFS,nF as _shadersAllMaterialAppearanceVS,E9 as _shadersAmbientOcclusionGenerate,S9 as _shadersAmbientOcclusionModulate,hF as _shadersAspectRampMaterial,db as _shadersAtmosphereCommon,Qk as _shadersAtmosphereStageFS,Jk as _shadersAtmosphereStageVS,iF as _shadersBasicMaterialAppearanceFS,oF as _shadersBasicMaterialAppearanceVS,A8 as _shadersBillboardCollectionFS,E8 as _shadersBillboardCollectionVS,v9 as _shadersBlackAndWhite,w9 as _shadersBloomComposite,F6 as _shadersBrdfLutGeneratorFS,a7 as _shadersBrightPass,D9 as _shadersBrightness,mF as _shadersBumpMapMaterial,wV as _shadersCPUStylingStageFS,vV as _shadersCPUStylingStageVS,pF as _shadersCheckerboardMaterial,yH as _shadersCloudCollectionFS,xH as _shadersCloudCollectionVS,bH as _shadersCloudNoiseFS,TH as _shadersCloudNoiseVS,u9 as _shadersCompareAndPackTranslucentDepth,e9 as _shadersCompositeOITFS,c1 as _shadersCompositeTranslucentClassification,P9 as _shadersContrastBias,IV as _shadersCustomShaderStageFS,PV as _shadersCustomShaderStageVS,TS as _shadersCzmBuiltins,I9 as _shadersDepthOfField,zH as _shadersDepthPlaneFS,HH as _shadersDepthPlaneVS,R9 as _shadersDepthView,S2e as _shadersDepthViewPacked,_F as _shadersDotMaterial,O9 as _shadersEdgeDetection,gF as _shadersElevationBandMaterial,yF as _shadersElevationContourMaterial,xF as _shadersElevationRampMaterial,Q2 as _shadersEllipsoidFS,ZH as _shadersEllipsoidSurfaceAppearanceFS,$H as _shadersEllipsoidSurfaceAppearanceVS,J2 as _shadersEllipsoidVS,N9 as _shadersFXAA,H9 as _shadersFXAA3_11,bF as _shadersFadeMaterial,RV as _shadersFeatureIdStageFS,OV as _shadersFeatureIdStageVS,M9 as _shadersFilmicTonemapping,mA as _shadersGaussianBlur1D,BV as _shadersGeometryStageFS,kV as _shadersGeometryStageVS,rG as _shadersGlobeFS,sG as _shadersGlobeVS,TF as _shadersGridMaterial,eR as _shadersGroundAtmosphere,pB as _shadersHSBToRGB,_B as _shadersHSLToRGB,tV as _shadersImageBasedLightingStageFS,pV as _shadersInstancingStageCommon,_V as _shadersInstancingStageVS,W6 as _shadersIntersectBox,G6 as _shadersIntersectClippingPlanes,j6 as _shadersIntersectCylinder,H6 as _shadersIntersectDepth,q6 as _shadersIntersectEllipsoid,F2 as _shadersIntersectLongitude,kw as _shadersIntersection,z6 as _shadersIntersectionUtils,gV as _shadersLegacyInstancingStageVS,B9 as _shadersLensFlare,HV as _shadersLightingStageFS,WV as _shadersMaterialStageFS,$6 as _shadersMegatexture,MV as _shadersMetadataStageFS,LV as _shadersMetadataStageVS,lV as _shadersModelClippingGeometryStageFS,aV as _shadersModelClippingPlanesStageFS,dV as _shadersModelClippingPolygonsStageFS,fV as _shadersModelClippingPolygonsStageVS,sV as _shadersModelColorStageFS,uU as _shadersModelExplosionStageVS,NU as _shadersModelFS,hU as _shadersModelFlattenStageVS,TU as _shadersModelSilhouetteStageFS,CU as _shadersModelSilhouetteStageVS,SU as _shadersModelSplitterStageFS,cU as _shadersModelStretchStageVS,BU as _shadersModelSwipePipelineStageFS,LU as _shadersModelVS,k9 as _shadersModifiedReinhardTonemapping,qV as _shadersMorphTargetsStageVS,V9 as _shadersNightVision,CF as _shadersNormalMapMaterial,Z6 as _shadersOctree,Jf as _shadersPassThrough,tA as _shadersPassThroughDepth,L9 as _shadersPbrNeutralTonemapping,OF as _shadersPerInstanceColorAppearanceFS,MF as _shadersPerInstanceColorAppearanceVS,xS as _shadersPerInstanceFlatColorAppearanceFS,LF as _shadersPerInstanceFlatColorAppearanceVS,Bk as _shadersPointCloudEyeDomeLighting,KV as _shadersPointCloudStylingStageVS,wC as _shadersPointPrimitiveCollectionFS,_z as _shadersPointPrimitiveCollectionVS,G4 as _shadersPolygonSignedDistanceFS,AF as _shadersPolylineArrowMaterial,I4 as _shadersPolylineColorAppearanceVS,Od as _shadersPolylineCommon,EF as _shadersPolylineDashMaterial,vS as _shadersPolylineFS,SF as _shadersPolylineGlowMaterial,R4 as _shadersPolylineMaterialAppearanceVS,vF as _shadersPolylineOutlineMaterial,v4 as _shadersPolylineShadowVolumeFS,w4 as _shadersPolylineShadowVolumeMorphFS,D4 as _shadersPolylineShadowVolumeMorphVS,P4 as _shadersPolylineShadowVolumeVS,J8 as _shadersPolylineVS,QV as _shadersPrimitiveOutlineStageFS,$V as _shadersPrimitiveOutlineStageVS,HB as _shadersRGBToHSB,GB as _shadersRGBToHSL,WB as _shadersRGBToXYZ,U9 as _shadersReinhardTonemapping,cG as _shadersReprojectWebMercatorFS,lG as _shadersReprojectWebMercatorVS,wF as _shadersRimLightingMaterial,E2e as _shadersSelectedFeatureIdStageCommon,VV as _shadersSelectedFeatureIdStageFS,UV as _shadersSelectedFeatureIdStageVS,rP as _shadersShadowVolumeAppearanceFS,x4 as _shadersShadowVolumeAppearanceVS,DT as _shadersShadowVolumeFS,z9 as _shadersSilhouette,nU as _shadersSkinningStageVS,FR as _shadersSkyAtmosphereCommon,A7 as _shadersSkyAtmosphereFS,E7 as _shadersSkyAtmosphereVS,v7 as _shadersSkyBoxFS,w7 as _shadersSkyBoxVS,DF as _shadersSlopeRampMaterial,PF as _shadersStripeMaterial,D7 as _shadersSunFS,P7 as _shadersSunTextureFS,I7 as _shadersSunVS,rF as _shadersTexturedMaterialAppearanceFS,sF as _shadersTexturedMaterialAppearanceVS,sz as _shadersVector3DTileClampedPolylinesFS,rz as _shadersVector3DTileClampedPolylinesVS,oz as _shadersVector3DTilePolylinesVS,vP as _shadersVectorTileVS,oU as _shadersVerticalExaggerationStageVS,p7 as _shadersViewportQuadFS,kv as _shadersViewportQuadVS,V6 as _shadersVoxelFS,k6 as _shadersVoxelUtils,U6 as _shadersVoxelVS,RF as _shadersWater,IF as _shadersWaterMaskMaterial,g4 as _shadersXYZToRGB,R3 as _shadersacesTonemapping,O3 as _shadersalphaWeight,M3 as _shadersantialias,L3 as _shadersapplyColorCorrection,N3 as _shadersapplyHSBShift,F3 as _shadersapproximateSphericalCoordinates,B3 as _shadersapproximateTanh,k3 as _shadersbackFacing,V3 as _shadersbranchFreeTernary,U3 as _shaderscascadeColor,z3 as _shaderscascadeDistance,H3 as _shaderscascadeMatrix,G3 as _shaderscascadeWeights,W3 as _shadersclipPolygons,j3 as _shaderscolumbusViewMorph,q3 as _shaderscomputeAtmosphereColor,Y3 as _shaderscomputeGroundAtmosphereScattering,X3 as _shaderscomputePosition,K3 as _shaderscomputeScattering,Y6 as _shadersconvertUvToBox,X6 as _shadersconvertUvToCylinder,K6 as _shadersconvertUvToEllipsoid,Z3 as _shaderscosineAndSine,C3 as _shaderscreateTranslationMatrix,$3 as _shadersdecompressTextureCoordinates,kF as _shadersdegreesPerRadian,Q3 as _shadersdepthClamp,VF as _shadersdepthRange,A3 as _shadersdepthRangeStruct,J3 as _shaderseastNorthUpToEyeCoordinates,eB as _shadersellipsoidContainsPoint,tB as _shadersellipsoidTextureCoordinates,UF as _shadersepsilon1,zF as _shadersepsilon2,HF as _shadersepsilon3,GF as _shadersepsilon4,WF as _shadersepsilon5,jF as _shadersepsilon6,qF as _shadersepsilon7,nB as _shadersequalsEpsilon,iB as _shaderseyeOffset,oB as _shaderseyeToWindowCoordinates,rB as _shadersfastApproximateAtan,sB as _shadersfog,aB as _shadersgammaCorrect,cB as _shadersgeodeticSurfaceNormal,lB as _shadersgeometryClip,uB as _shadersgetDefaultMaterial,fB as _shadersgetDynamicAtmosphereLightDirection,dB as _shadersgetLambertDiffuse,hB as _shadersgetSpecular,mB as _shadersgetWaterNoise,gB as _shadershue,YF as _shadersinfinity,yB as _shadersinverseGamma,xB as _shadersisEmpty,bB as _shadersisFull,TB as _shaderslatitudeToWebMercatorFraction,AB as _shaderslineDistance,CB as _shaderslinearToSrgb,EB as _shadersluminance,E3 as _shadersmaterial,S3 as _shadersmaterialInput,SB as _shadersmaximumComponent,vB as _shadersmetersPerPixel,v3 as _shadersmodelMaterial,wB as _shadersmodelToWindowCoordinates,w3 as _shadersmodelVertexOutput,DB as _shadersmultiplyWithColorBalance,PB as _shadersnearFarScalar,IB as _shadersoctDecode,XF as _shadersoneOverPi,KF as _shadersoneOverTwoPi,RB as _shaderspackDepth,ZF as _shaderspassCesium3DTile,$F as _shaderspassCesium3DTileClassification,QF as _shaderspassCesium3DTileClassificationIgnoreShow,JF as _shaderspassClassification,e3 as _shaderspassCompute,t3 as _shaderspassEnvironment,n3 as _shaderspassGlobe,i3 as _shaderspassOpaque,o3 as _shaderspassOverlay,r3 as _shaderspassTerrainClassification,s3 as _shaderspassTranslucent,a3 as _shaderspassVoxels,OB as _shaderspbrLighting,MB as _shaderspbrNeutralTonemapping,LB as _shadersphong,c3 as _shaderspi,l3 as _shaderspiOverFour,u3 as _shaderspiOverSix,f3 as _shaderspiOverThree,d3 as _shaderspiOverTwo,NB as _shadersplaneDistance,FB as _shaderspointAlongRay,h3 as _shadersradiansPerDegree,D3 as _shadersray,BB as _shadersrayEllipsoidIntersectionInterval,P3 as _shadersraySegment,kB as _shadersraySphereIntersectionInterval,VB as _shadersreadDepth,UB as _shadersreadNonPerspective,zB as _shadersreverseLogDepth,jB as _shadersrollerShutter,qB as _shadersrollerShutterPolygon,YB as _shadersrollerShutterSpyglass,XB as _shadersround,KB as _shaderssaturation,m3 as _shaderssceneMode2D,p3 as _shaderssceneMode3D,_3 as _shaderssceneModeColumbusView,g3 as _shaderssceneModeMorphing,ZB as _shadersshadowDepthCompare,I3 as _shadersshadowParameters,$B as _shadersshadowVisibility,QB as _shaderssignNotZero,y3 as _shaderssolarRadius,JB as _shaderssphericalHarmonics,e4 as _shaderssrgbToLinear,t4 as _shaderstangentToEyeSpaceMatrix,n4 as _shaderstextureCube,x3 as _shadersthreePiOver2,i4 as _shaderstransformPlane,o4 as _shaderstranslateRelativeToEye,r4 as _shaderstranslucentPhong,s4 as _shaderstranspose,b3 as _shaderstwoPi,a4 as _shadersunpackClippingExtents,c4 as _shadersunpackDepth,l4 as _shadersunpackFloat,u4 as _shadersunpackUint,f4 as _shadersvalueTransform,d4 as _shadersvertexLogDepth,T3 as _shaderswebMercatorMaxLatitude,h4 as _shaderswindowToEyeCoordinates,m4 as _shaderswriteDepthClamp,p4 as _shaderswriteLogDepth,_4 as _shaderswriteNonPerspective,ak as addBuffer,$4 as addDefaults,ok as addExtensionsRequired,Yh as addExtensionsUsed,$T as addPipelineExtras,Ba as addToArray,cO as appendForwardSlash,xr as arrayRemoveDuplicates,lE as barycentricCoordinates,Mr as binarySearch,Tn as buildModuleUrl,tH as buildVoxelDrawCommands,Ve as clone,yt as combine,Ww as computeFlyToLocationForRectangle,Gv as createBillboardPointCallback,ii as createCommand,tW as createDefaultImageryProviderViewModels,nW as createDefaultTerrainProviderViewModels,$we as createElevationBandMaterial,Jwe as createGooglePhotorealistic3DTileset,Kn as createGuid,Br as createMaterialPropertyDescriptor,e1e as createOsmBuildingsAsync,_e as createPropertyDescriptor,xf as createRawPropertyDescriptor,t1e as createTangentSpaceDebugPrimitive,O2e as createTaskProcessorWorker,NF as createUniform,FF as createUniformArray,jL as createWorldBathymetryAsync,fb as createWorldImageryAsync,ME as createWorldTerrainAsync,YL as decodeGoogleEarthEnterpriseData,XL as decodeVectorPolylinePositions,y as defaultValue,lf as defer,u as defined,y4 as demodernizeShader,mr as deprecationWarning,he as destroyObject,QEe as exportKml,tv as findAccessorMinMax,Vy as findContentMetadata,Uy as findGroupMetadata,WS as findTileMetadata,HP as forEachTextureInMaterial,Y_ as formatError,Qhe as freezeRenderState,k_ as getAbsoluteUri,vf as getAccessorByteStride,TO as getBaseUri,ql as getBinaryAccessor,iG as getClipAndStyleCode,sb as getClippingFunction,Wy as getComponentReader,fi as getElement,zA as getExtensionFromUri,ry as getFilenameFromUri,nN as getImageFromTypedArray,jm as getImagePixels,ho as getJsonFromTypedArray,Yc as getMagic,oG as getMetadataClassProperty,Fr as getStringFromTypedArray,mo as getTimestamp,Si as hasExtension,Oy as heightReferenceOnEntityPropertyChanged,kl as isBitSet,HA as isBlobUri,Ob as isCrossOriginUrl,D0 as isDataUri,Wm as isLeapYear,Se as knockout,w1 as knockout_3_5_1,G7 as knockout_es5,GA as loadAndExecuteScript,I6 as loadCubeMap,XE as loadImageFromTypedArray,pf as loadKTX2,uy as mergeSort,ik as moveTechniqueRenderStates,rk as moveTechniquesToExtension,Bd as numberOfComponentsForType,WA as objectToQuery,kt as oneTimeWarning,HS as pako_inflate,Ud as parseAttBatchTable,Hp as parseBatchTable,Z4 as parseFeatureMetadataLegacy,ek as parseGlb,AO as parseResponseHeaders,K4 as parseStructuralMetadata,hC as parseVoxelStyles,aI as pickModel,Zfe as pointInsideTriangle,vg as preprocess3DTileContent,l8 as preprocessM3DContent,eH as processVoxelProperties,ad as queryToObject,ck as readAccessorPacked,nv as removeExtension,J4 as removeExtensionsRequired,ev as removeExtensionsUsed,nk as removePipelineExtras,sk as removeUnusedElements,_T as resizeImageToNextPowerOfTwo,VN as sampleTerrain,uS as sampleTerrainMostDetailed,NA as scaleToGeodeticSurface,mS as srgbToLinear,XN as subdivideArray,kc as subscribeAndEvaluate,uk as updateAccessorComponentTypes,dk as updateVersion,hs as usesExtension,TRe as viewerCesium3DTilesInspectorMixin,CRe as viewerCesiumInspectorMixin,ERe as viewerDragDropMixin,SRe as viewerPerformanceWatchdogMixin,wRe as viewerVoxelInspectorMixin,Ghe as webGLConstantToGlslType,JN as wrapFunction,ZE as writeTextToCanvas,y2e as zlib_min};