cesium-dev-tool 1.0.4 → 1.1.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.
package/README.md ADDED
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,13 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode('.cm_container{\r\n position: fixed;\r\n opacity: 0;\r\n transform: scale(0);\r\n transition: transform 0.1s;\r\n transform-origin: top left;\r\n padding: 0;\r\n}\r\n\r\n.cm_container.display{\r\n opacity: 1;\r\n transform: scale(1);\r\n}\r\n\r\n.cm_container, .cm_container *{\r\n box-sizing: border-box;\r\n}\r\n\r\n.cm_container *{\r\n position: relative;\r\n}\r\n\r\n.cm_container ul{\r\n list-style-type: none;\r\n padding: 0;\r\n margin: 0;\r\n background-color: #2d2d2d;\r\n box-shadow: 0 0 5px #000000;\r\n border-radius: 1px;\r\n}\r\n\r\n.cm_container li{\n display: flex;\n align-items: center;\n padding: 5px 10px;\n padding-right: 1.7em;\n cursor: pointer;\n white-space: nowrap;\n color: #ccc;\n}\r\n\r\n.cm_container li:hover{\r\n background-color: #242424;\r\n}\r\n\r\n.cm_container li .cm_icon_span{\n flex: 0 0 1.5em;\n width: 1.5em;\n height: 1.2em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 5px;\n padding-right: 5px;\n text-align: center;\n}\n\n.cm_container li .cm_icon_span img{\n width: 16px;\n height: 16px;\n object-fit: contain;\n display: block;\n}\n\n.cm_container li .cm_sub_span{\n width: 1em;\n display: inline-block;\n text-align: center;\r\n position: absolute;\r\n top: 50%;\r\n right: 0.5em;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.cm_container li > ul{\r\n position: absolute;\r\n top: 0;\r\n left: 100%;\r\n opacity: 0;\r\n transition: opacity 0.2s;\r\n visibility: hidden;\r\n}\r\n\r\n.cm_container li:hover > ul{\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\n.cm_container li.cm_divider{\r\n border-bottom: 1px solid #aaa;\r\n margin: 5px;\r\n padding: 0;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li.cm_divider:hover{\r\n background-color: inherit;\r\n}\r\n\r\n.cm_container.cm_border_right > ul ul{\r\n left: unset;\r\n right: 100%;\r\n}\r\n\r\n.cm_container.cm_border_bottom > ul ul{\r\n top: unset;\r\n bottom: 0;\r\n}\r\n\r\n.cm_container li[disabled=""]{\r\n color: #777;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li[disabled=""]:hover{\r\n background-color: inherit;\r\n}\r\n.CatGlbMenuContainer {\r\n width: 500px;\r\n height: 400px;\r\n background-color: rgb(47, 74, 74);\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n z-index: 999999999;\r\n border-width: 0px 2px 2px 0px;\r\n border-style: inset;\r\n border-color: goldenrod;\r\n /* border: 2px solid #000; 其余边框 */\r\n border-bottom-right-radius: 10px;\r\n padding: 25px 25px 0px 25px;\r\n color: aliceblue;\r\n user-select: none;\r\n\r\n .CatMenuIdInputContainer {\r\n width: 50%;\r\n height: 20px;\r\n display: flex;\r\n\r\n .CatMenuIdInput {\r\n width: 70%;\r\n height: 100%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuIdInputButton {\r\n width: 25%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n }\r\n }\r\n\r\n .CatMenuCloseButton {\r\n width: 20px;\r\n height: 20px;\r\n position: absolute;\r\n right: 12px;\r\n top: 10px;\r\n background-color: red;\r\n color: aliceblue;\r\n font-size: 12px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n }\r\n\r\n .CatMenuItemContainer {\r\n margin-top: 20px;\r\n width: 100%;\r\n display: flex;\r\n flex-wrap: wrap;\r\n\r\n .CatMenuPropertyName {\r\n width: 17%;\r\n }\r\n\r\n .CatMenuInput {\r\n height: 20px;\r\n width: 30%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuInputMinus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n border-right: 2px #333232f8 solid;\r\n }\r\n\r\n .CatMenuInputPlus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n margin-right: 15px;\r\n }\r\n\r\n .CatMenuStepInput {\r\n width: 24%;\r\n text-align: center;\r\n }\r\n }\r\n}'));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ function t(e,i){const s=n();return(t=function(t,e){return s[t-=375]})(e,i)}const e=t;function n(){const t=["clientY","getElementById","appendChild","length","default_icon","1215SOeCFR","span","default_text","height","17780232fYYRLQ","cm_","add","Parameter 1 must be of type object","object","innerHTML","remove","&#155;","classList","8145hByzOs","div","cm_border_bottom","Parameter 2 must be of type object","item","enabled","documentClick","getElementsByTagName","clientX","1463895ohzPJG","close_on_click","mouse_offset","changeOption","setAttribute","target","6996VoAwuh","innerWidth","text","style","6eWgQOc","sub","removeEventListener","undefined","createElement","Parameter 2 must be set","cm_divider","addEventListener","forEach","getProperty","Parameter 1 must be of type string","bind","932830VABbvc","string","width","cm_icon_span","click","cm_border_right","count","menu","top","events","offsetHeight","getSizes","hide","offsetWidth","disabled","22JtBoQF","sub_icon","9IjYbCe","icon","setOptions","87434zftxOd","display","close_on_resize","className","keys","left","type","resize","body","renderLevel","3688zcUyBx","DIVIDER","1762642ApXEpD"];return(n=function(){return t})()}!function(){const e=t,i=n();for(;;)try{if(295614==parseInt(e(392))/1*(-parseInt(e(395))/2)+parseInt(e(435))/3+parseInt(e(441))/4*(-parseInt(e(413))/5)+-parseInt(e(445))/6*(parseInt(e(407))/7)+parseInt(e(405))/8*(-parseInt(e(426))/9)+-parseInt(e(375))/10*(parseInt(e(390))/11)+parseInt(e(417))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}();class i{#t;#e;#n;#i;#s;[e(381)]=0;[e(406)];constructor(t,n){const i=e;if(this.#n=this,this.#i=this.count++,this.#t=t,this.#s=null,this.#e=n,!(t instanceof Array))throw new Error("Parameter 1 must be of type Array");if(typeof n!==i(448)){if(typeof n!==i(421))throw new Error(i(429))}else n={};window.addEventListener(i(402),()=>{const t=i;s[t(454)](n,t(397),!0)&&this[t(387)]()}),this.reload()}[e(394)](t){const n=e;if(typeof t!==n(421))throw new Error(n(420));this.#e=t}[e(438)](t,n){const i=e;if(typeof t!==i(376))throw new Error(i(455));if(typeof n===i(448))throw new Error(i(450));this.#e[t]=n}getOptions(){return this.#e}reload(){const t=e;if(null==document[t(409)]("cm_"+this.#i)){let e=document[t(449)](t(427));e[t(398)]="cm_container",e.id="cm_"+this.#i,document[t(403)][t(410)](e)}let n=document[t(409)](t(418)+this.#i);n[t(422)]="",n[t(410)](this[t(404)](this.#t))}[e(404)](t){const n=e,i=this;let r=document[n(449)]("ul");return t[n(453)](function(t){const e=n;let o=document[e(449)]("li");if(o[e(382)]=i.#n,t[e(398)]&&(o[e(398)]=t[e(398)]),typeof t.type===e(448)){let n=document[e(449)](e(414));n.className=e(378),""!=s[e(454)](t,"icon","")?n[e(422)]=s[e(454)](t,e(393),""):n.innerHTML=s[e(454)](i.#e,e(412),"");let r=document[e(449)](e(414));r.className="cm_text",""!=s[e(454)](t,e(443),"")?r[e(422)]=s[e(454)](t,"text",""):r[e(422)]=s[e(454)](i.#e,e(415),e(430));let a=document[e(449)]("span");if(a[e(398)]="cm_sub_span",void 0!==t[e(446)]&&(""!=s[e(454)](i.#e,"sub_icon","")?a[e(422)]=s[e(454)](i.#e,e(391),""):a.innerHTML=e(424)),o[e(410)](n),o[e(410)](r),o[e(410)](a),s[e(454)](t,e(431),!0)){if(typeof t[e(384)]===e(421)){let n=Object[e(399)](t.events);for(let i=0;i<n[e(411)];i++)o[e(452)](n[i],t[e(384)][n[i]])}typeof t[e(446)]!==e(448)&&o[e(410)](i[e(404)](t[e(446)]))}else o[e(439)](e(389),"")}else t[e(401)]===e(451)&&(o.className=e(451));r.appendChild(o)}),r}[e(396)](t,n){const i=e;this.#s=void 0!==n?n:t[i(440)];let r=document.getElementById(i(418)+this.#i);const o={x:t[i(434)],y:t[i(408)]},a=o.x,u=o.y,c=r[i(388)]+4,l=r[i(385)]+4,h=window[i(442)],p=window.innerHeight,d=parseInt(s.getProperty(this.#e,i(437),2));r[i(444)][i(400)]=h-a<c?h-c+"px":a+d+"px",r[i(444)][i(383)]=p-u<l?p-l+"px":u+d+"px";const m=s.getSizes(r);h-a<m[i(377)]?r[i(425)][i(419)]("cm_border_right"):r[i(425)][i(423)](i(380)),p-u<m[i(416)]?r[i(425)].add(i(428)):r[i(425)][i(423)](i(428)),r[i(425)][i(419)](i(396)),s[i(454)](this.#e,i(436),!0)&&window[i(452)](i(379),this[i(432)].bind(this))}hide(){const t=e;document[t(409)](t(418)+this.#i)[t(425)][t(423)](t(396)),window[t(447)](t(379),this[t(432)][t(456)](this))}[e(432)](){this.hide()}}let s={getProperty:function(t,n,i){const s=e;return typeof t[n]!==s(448)?t[n]:i},getSizes:function(t){const n=e;let i=t[n(433)]("li"),r=0,o=0;for(let t=0;t<i[n(411)];t++){let e=i[t];e[n(388)]>r&&(r=e[n(388)]),e[n(385)]>o&&(o=e[n(385)])}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(433)]("ul");if(typeof e[0]!==n(448)){let t=s[n(386)](e[0]);r+t.width>a&&(a=r+t[n(377)]),o+t[n(416)]>u&&(u=o+t[n(416)])}}return{width:a,height:u}}};const r=a;function o(){const t=["2844770znjibx","Cartographic","toDegrees","796sknNMt","Math","21376619LJuohJ","944124izsBpm","545NhRqLG","4cEZGeG","7EeNHRu","height","transformCnToCc","1876496UKYnKC","564180niBEOa","longitude","latitude","1101562jFYFCI","fromCartesian","9oozmep"];return(o=function(){return t})()}function a(t,e){const n=o();return(a=function(t,e){return n[t-=458]})(t,e)}!function(){const t=a,e=o();for(;;)try{if(836423==-parseInt(t(476))/1+-parseInt(t(468))/2*(-parseInt(t(466))/3)+parseInt(t(463))/4*(-parseInt(t(467))/5)+-parseInt(t(473))/6+parseInt(t(469))/7*(-parseInt(t(472))/8)+parseInt(t(459))/9*(-parseInt(t(460))/10)+parseInt(t(465))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class u{#r;constructor(t){this.#r=t}static[r(471)](t){const e=r,n=Cesium[e(461)][e(458)](t);return[Cesium[e(464)][e(462)](n[e(474)]),Cesium[e(464)].toDegrees(n[e(475)]),n[e(470)]]}}const c=p;!function(){const t=p,e=d();for(;;)try{if(728435==-parseInt(t(308))/1*(parseInt(t(348))/2)+parseInt(t(358))/3*(parseInt(t(335))/4)+parseInt(t(301))/5+parseInt(t(300))/6*(parseInt(t(325))/7)+-parseInt(t(341))/8*(parseInt(t(330))/9)+parseInt(t(315))/10*(-parseInt(t(312))/11)+-parseInt(t(311))/12*(-parseInt(t(293))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const l="\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t";class h{#r;#o;#a;#u;#c;#l;#h;constructor(t){this.#r=t,this.#h=[]}[c(327)](){const t=c;this[t(338)](),this.#o=new Cesium.ScreenSpaceEventHandler(this.#r.scene.canvas),this.#o[t(299)](e=>{const n=t,i=this.#p(e[n(316)]);if(i){const t=u.transformCnToCc(i);console.info(n(347)+t,l)}this[n(338)]()},Cesium[t(322)][t(359)]),this[t(333)]()}createMouseAdsorbHandle(){const t=c;this.#u=this.#r[t(349)][t(343)][t(318)](new(Cesium[t(319)]));let e=this.#u[t(318)]({position:new Cesium.Cartesian3(1,2,3),color:Cesium.Color[t(326)]});this.#a=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#a[t(299)](n=>{const i=t;if(!this.#u||this.#u[i(305)]())return;const s=this.#p(n[i(354)]);s&&(e.position=s)},Cesium[t(322)][t(297)])}#d(){const t=c;this.#o&&!this.#o[t(305)]()&&this.#o.destroy(),this.#a&&!this.#a[t(305)]()&&this.#a[t(357)](),this.#o=void 0,this.#a=void 0}#m(){const t=c;if(this.#c&&(this.#c[t(324)](e=>{const n=t;this.#r[n(352)][n(356)](e)}),this.#c=[]),this.#u&&!this.#u[t(305)]()){const e=this.#r[t(349)].primitives;e.contains(this.#u)?e[t(356)](this.#u):this.#u[t(357)]()}this.#u=void 0}[c(338)](){this.#d(),this.#m()}#p(t){const e=c,n=this.#r.scene[e(350)](t);if(Cesium[e(292)](n))return this.#r[e(349)][e(329)](t);const i=this.#r.camera.getPickRay(t);return this.#r[e(306)]instanceof Cesium[e(317)]?this.#r.camera[e(346)](t,this.#r[e(349)][e(307)].ellipsoid):this.#r[e(349)][e(307)].pick(i,this.#r[e(349)])}[c(344)](){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#o.setInputAction(n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(331)](()=>{const t=r,o=this.#p(n[t(316)]);if(o){const e=u[t(353)](o);i[t(295)](...e),s.push(o)}!e&&(e=this.#g()),2===s.length&&this.#f(),this.#A(s.at(-1))},200)},Cesium.ScreenSpaceEventType.LEFT_CLICK),this.#o[t(299)](e=>{const i=t,r=this.#p(e.endPosition);r&&(n=r,s[i(340)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium[t(322)].MOUSE_MOVE),this.#o.setInputAction(r=>{const o=t;clearTimeout(this.#l);let a,u=this.#r[o(349)].pickPosition(r[o(316)]),c=this.#r[o(349)][o(350)](r[o(316)]);if(c&&u&&!c.id)a=[1,1,1];else{let t=this.#r[o(321)][o(291)](r[o(316)]);a=this.#r[o(349)][o(307)][o(350)](t,this.#r.scene)}a&&(s[o(340)]<2?alert(o(342)):(s[o(295)](n),console[o(298)](o(304),l),console[o(339)](""+i),console[o(323)](),i=[],s=[],e=void 0,this.#h=[],this[o(338)]()))},Cesium[t(322)].LEFT_DOUBLE_CLICK)}#A(t){const e=c,n=this.#r[e(352)][e(318)]({position:t,point:{pixelSize:7,color:Cesium[e(309)][e(337)],disableDepthTestDistance:Number[e(310)]}});return this.#c[e(295)](n),n}#I(t,e){const n=c;let i=new(Cesium[n(294)])({geometry:new Cesium.GroundPolylineGeometry({positions:[Cesium[n(332)].fromDegrees(...t),Cesium.Cartesian3[n(303)](...e)],width:3})}),s=new(Cesium[n(313)])({material:Cesium[n(336)][n(320)](n(309),{color:new(Cesium[n(309)])(1,1,0,1)})}),r=new(Cesium[n(334)])({geometryInstances:i,appearance:s});return this.#r[n(349)][n(343)].add(r)}#g(){const t=c,e=this.#r[t(352)][t(318)]({polyline:{positions:new Cesium.CallbackProperty(()=>this.#h,!1),width:3,material:Cesium.Color[t(328)],clampToGround:!0}});return this.#c[t(295)](e),e}#C(t){const e=c,n=this.#r[e(352)].add({polygon:{hierarchy:t,material:Cesium[e(309)][e(345)][e(351)](.5)}});return this.#c[e(295)](n),n}#f(){const t=c,e=this.#r[t(352)][t(318)]({polygon:{hierarchy:new(Cesium[t(296)])(()=>new(Cesium[t(355)])(this.#h),!1),material:Cesium.Color[t(345)][t(351)](.5)}});return this.#c.push(e),e}}function p(t,e){const n=d();return(p=function(t,e){return n[t-=291]})(t,e)}function d(){const t=["1311MHvyat","LEFT_CLICK","getPickRay","defined","184028yXLxjY","GeometryInstance","push","CallbackProperty","MOUSE_MOVE","group","setInputAction","330dphfMZ","411755JkeWAc","canvas","fromDegrees","%c多边形坐标:","isDestroyed","terrainProvider","globe","7Rdtbjy","Color","POSITIVE_INFINITY","1524XZUZQS","44sMaCJZ","PolylineMaterialAppearance","ScreenSpaceEventHandler","1056370HIYGce","position","EllipsoidTerrainProvider","add","PointPrimitiveCollection","fromType","camera","ScreenSpaceEventType","groupEnd","forEach","76461rMIVZE","YELLOW","openMouseAdsorb","RED","pickPosition","121383PecuWW","setTimeout","Cartesian3","createMouseAdsorbHandle","GroundPolylinePrimitive","7464AmVmkv","Material","CHARTREUSE","endEvent","info","length","760AmcTJa","请选择3个及以上的点","primitives","drawPolygon","GREEN","pickEllipsoid","%c鼠标点击位置坐标:","246892fUOFjd","scene","pick","withAlpha","entities","transformCnToCc","endPosition","PolygonHierarchy","remove","destroy"];return(d=function(){return t})()}const m=f;function g(){const t=["2671031fJyqbY","getCameraInfo","9047493NVqlXf","46vyJMva","7796wWlSBy","transformCnToCc","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","%c视角位置参数:","setCameraPosition","info","setView","6QHvqcL","Cartesian3","fromDegrees","60GUKTPp","HPR角度:","9sbwJPJ","1262gUQWnV","group","position","5240557qzpKvd","7159680LnvcAh","camera","groupEnd","flyTo","849525XTGNzq"];return(g=function(){return t})()}function f(t,e){const n=g();return(f=function(t,e){return n[t-=458]})(t,e)}!function(){const t=f,e=g();for(;;)try{if(510118==-parseInt(t(468))/1*(-parseInt(t(483))/2)+-parseInt(t(482))/3*(-parseInt(t(469))/4)+-parseInt(t(464))/5*(-parseInt(t(477))/6)+parseInt(t(459))/7+-parseInt(t(460))/8+-parseInt(t(467))/9+-parseInt(t(480))/10*(-parseInt(t(465))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{#r;constructor(t){this.#r=t}[m(466)](){const t=m,e=u[t(470)](this.#r[t(461)][t(458)]),{heading:n,pitch:i,roll:s}=this.#r[t(461)],r=t(471);console[t(484)](t(473),r),console.info(t(472)+[e]),console[t(475)]("笛卡尔坐标:"+[this.#r[t(461)][t(458)]]),console[t(475)](t(481)+[n,i,s]),console[t(462)]()}[m(474)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=m;n?this.#r[i(461)][i(463)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(461)][i(476)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}var I,C,M=9e15,v=1e9,b="0123456789abcdef",w="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",y="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",E={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-M,maxE:M,crypto:!1},R=!0,N="[DecimalError] ",S=N+"Invalid argument: ",T=N+"Precision limit exceeded",P=N+"crypto unavailable",L="[object Decimal]",k=Math.floor,D=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,G=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,O=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=1e7,Z=w.length-1,z=y.length-1,j={toStringTag:L};function F(t){var e,n,i,s=t.length-1,r="",o=t[0];if(s>0){for(r+=o,e=1;e<s;e++)(n=7-(i=t[e]+"").length)&&(r+=$(n)),r+=i;(n=7-(i=(o=t[e])+"").length)&&(r+=$(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return r+o}function U(t,e,n){if(t!==~~t||t<e||t>n)throw Error(S+t)}function H(t,e,n,i){var s,r,o,a;for(r=t[0];r>=10;r/=10)--e;return--e<0?(e+=7,s=0):(s=Math.ceil((e+1)/7),e%=7),r=D(10,7-e),a=t[s]%r|0,null==i?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),o=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):o=(n<4&&a+1==r||n>3&&a+1==r/2)&&(t[s+1]/r/100|0)==D(10,e-2)-1||(a==r/2||0==a)&&!(t[s+1]/r/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),o=(i||n<4)&&9999==a||!i&&n>3&&4999==a):o=((i||n<4)&&a+1==r||!i&&n>3&&a+1==r/2)&&(t[s+1]/r/1e3|0)==D(10,e-3)-1,o}function Q(t,e,n){for(var i,s,r=[0],o=0,a=t.length;o<a;){for(s=r.length;s--;)r[s]*=e;for(r[0]+=b.indexOf(t.charAt(o++)),i=0;i<r.length;i++)r[i]>n-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}j.absoluteValue=j.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),V(t)},j.ceil=function(){return V(new this.constructor(this),this.e+1,2)},j.clampedTo=j.clamp=function(t,e){var n=this,i=n.constructor;if(t=new i(t),e=new i(e),!t.s||!e.s)return new i(NaN);if(t.gt(e))throw Error(S+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new i(n)},j.comparedTo=j.cmp=function(t){var e,n,i,s,r=this,o=r.d,a=(t=new r.constructor(t)).d,u=r.s,c=t.s;if(!o||!a)return u&&c?u!==c?u:o===a?0:!o^u<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?u:a[0]?-c:0;if(u!==c)return u;if(r.e!==t.e)return r.e>t.e^u<0?1:-1;for(e=0,n=(i=o.length)<(s=a.length)?i:s;e<n;++e)if(o[e]!==a[e])return o[e]>a[e]^u<0?1:-1;return i===s?0:i>s^u<0?1:-1},j.cosine=j.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i,s;if(e.isZero())return e;(i=e.d.length)<32?s=(1/ut(4,n=Math.ceil(i/3))).toString():(n=16,s="2.3283064365386962890625e-10"),t.precision+=n,e=at(t,1,e.times(s),new t(1));for(var r=n;r--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(2==C||3==C?n.neg():n,t,e,!0)):new i(1):new i(NaN)},j.cubeRoot=j.cbrt=function(){var t,e,n,i,s,r,o,a,u,c,l=this,h=l.constructor;if(!l.isFinite()||l.isZero())return new h(l);for(R=!1,(r=l.s*D(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=F(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=D(n,1/3),t=k((t+1)/3)-(t%3==(t<0?-1:2)),(i=new h(n=r==1/0?"5e"+t:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=l.s),o=(t=h.precision)+3;;)if(c=(u=(a=i).times(a).times(a)).plus(l),i=J(c.plus(l).times(a),c.plus(u),o+2,1),F(a.d).slice(0,o)===(n=F(i.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(s||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(V(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(V(a,t+1,0),a.times(a).times(a).eq(l))){i=a;break}o+=4,s=1}return R=!0,V(i,t,h.rounding,e)},j.decimalPlaces=j.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-k(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},j.dividedBy=j.div=function(t){return J(this,new this.constructor(t))},j.dividedToIntegerBy=j.divToInt=function(t){var e=this.constructor;return V(J(this,new e(t),0,1,1),e.precision,e.rounding)},j.equals=j.eq=function(t){return 0===this.cmp(t)},j.floor=function(){return V(new this.constructor(this),this.e+1,3)},j.greaterThan=j.gt=function(t){return this.cmp(t)>0},j.greaterThanOrEqualTo=j.gte=function(t){var e=this.cmp(t);return 1==e||0===e},j.hyperbolicCosine=j.cosh=function(){var t,e,n,i,s,r=this,o=r.constructor,a=new o(1);if(!r.isFinite())return new o(r.s?1/0:NaN);if(r.isZero())return a;n=o.precision,i=o.rounding,o.precision=n+Math.max(r.e,r.sd())+4,o.rounding=1,(s=r.d.length)<32?e=(1/ut(4,t=Math.ceil(s/3))).toString():(t=16,e="2.3283064365386962890625e-10"),r=at(o,1,r.times(e),new o(1),!0);for(var u,c=t,l=new o(8);c--;)u=r.times(r),r=a.minus(u.times(l.minus(u.times(l))));return V(r,o.precision=n,o.rounding=i,!0)},j.hyperbolicSine=j.sinh=function(){var t,e,n,i,s=this,r=s.constructor;if(!s.isFinite()||s.isZero())return new r(s);if(e=r.precision,n=r.rounding,r.precision=e+Math.max(s.e,s.sd())+4,r.rounding=1,(i=s.d.length)<3)s=at(r,2,s,s,!0);else{t=(t=1.4*Math.sqrt(i))>16?16:0|t,s=at(r,2,s=s.times(1/ut(5,t)),s,!0);for(var o,a=new r(5),u=new r(16),c=new r(20);t--;)o=s.times(s),s=s.times(a.plus(o.times(u.times(o).plus(c))))}return r.precision=e,r.rounding=n,V(s,e,n,!0)},j.hyperbolicTangent=j.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,J(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},j.inverseCosine=j.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),s=n.precision,r=n.rounding;return-1!==i?0===i?e.isNeg()?q(n,s,r):new n(0):new n(NaN):e.isZero()?q(n,s+4,r).times(.5):(n.precision=s+6,n.rounding=1,e=e.asin(),t=q(n,s+4,r).times(.5),n.precision=s,n.rounding=r,t.minus(e))},j.inverseHyperbolicCosine=j.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,R=!1,n=n.times(n).minus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},j.inverseHyperbolicSine=j.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,R=!1,n=n.times(n).plus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln())},j.inverseHyperbolicTangent=j.atanh=function(){var t,e,n,i,s=this,r=s.constructor;return s.isFinite()?s.e>=0?new r(s.abs().eq(1)?s.s/0:s.isZero()?s:NaN):(t=r.precision,e=r.rounding,i=s.sd(),Math.max(i,t)<2*-s.e-1?V(new r(s),t,e,!0):(r.precision=n=i-s.e,s=J(s.plus(1),new r(1).minus(s),n+t,1),r.precision=t+4,r.rounding=1,s=s.ln(),r.precision=t,r.rounding=e,s.times(.5))):new r(NaN)},j.inverseSine=j.asin=function(){var t,e,n,i,s=this,r=s.constructor;return s.isZero()?new r(s):(e=s.abs().cmp(1),n=r.precision,i=r.rounding,-1!==e?0===e?((t=q(r,n+4,i).times(.5)).s=s.s,t):new r(NaN):(r.precision=n+6,r.rounding=1,s=s.div(new r(1).minus(s.times(s)).sqrt().plus(1)).atan(),r.precision=n,r.rounding=i,s.times(2)))},j.inverseTangent=j.atan=function(){var t,e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&h+4<=z)return(o=q(l,h+4,p).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(h+4<=z)return(o=q(l,h+4,p).times(.5)).s=c.s,o}for(l.precision=a=h+10,l.rounding=1,t=n=Math.min(28,a/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(a/7),i=1,u=c.times(c),o=new l(c),s=c;-1!==t;)if(s=s.times(u),r=o.minus(s.div(i+=2)),s=s.times(u),void 0!==(o=r.plus(s.div(i+=2))).d[e])for(t=e;o.d[t]===r.d[t]&&t--;);return n&&(o=o.times(2<<n-1)),R=!0,V(o,l.precision=h,l.rounding=p,!0)},j.isFinite=function(){return!!this.d},j.isInteger=j.isInt=function(){return!!this.d&&k(this.e/7)>this.d.length-2},j.isNaN=function(){return!this.s},j.isNegative=j.isNeg=function(){return this.s<0},j.isPositive=j.isPos=function(){return this.s>0},j.isZero=function(){return!!this.d&&0===this.d[0]},j.lessThan=j.lt=function(t){return this.cmp(t)<0},j.lessThanOrEqualTo=j.lte=function(t){return this.cmp(t)<1},j.logarithm=j.log=function(t){var e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(null==t)t=new l(10),e=!0;else{if(n=(t=new l(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new l(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new l(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)r=!0;else{for(s=n[0];s%10==0;)s/=10;r=1!==s}if(R=!1,o=st(c,a=h+5),i=e?K(l,a+10):st(t,a),H((u=J(o,i,a,1)).d,s=h,p))do{if(o=st(c,a+=10),i=e?K(l,a+10):st(t,a),u=J(o,i,a,1),!r){+F(u.d).slice(s+1,s+15)+1==1e14&&(u=V(u,h+1,0));break}}while(H(u.d,s+=10,p));return R=!0,V(u,h,p)},j.minus=j.sub=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.constructor;if(t=new m(t),!d.d||!t.d)return d.s&&t.s?d.d?t.s=-t.s:t=new m(t.d||d.s!==t.s?d:NaN):t=new m(NaN),t;if(d.s!=t.s)return t.s=-t.s,d.plus(t);if(c=d.d,p=t.d,a=m.precision,u=m.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new m(3===u?-0:0);t=new m(d)}return R?V(t,a,u):t}if(n=k(t.e/7),l=k(d.e/7),c=c.slice(),r=l-n){for((h=r<0)?(e=c,r=-r,o=p.length):(e=p,n=l,o=c.length),r>(i=Math.max(Math.ceil(a/7),o)+2)&&(r=i,e.length=1),e.reverse(),i=r;i--;)e.push(0);e.reverse()}else{for((h=(i=c.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(c[i]!=p[i]){h=c[i]<p[i];break}r=0}for(h&&(e=c,c=p,p=e,t.s=-t.s),o=c.length,i=p.length-o;i>0;--i)c[o++]=0;for(i=p.length;i>r;){if(c[--i]<p[i]){for(s=i;s&&0===c[--s];)c[s]=Y-1;--c[s],c[i]+=Y}c[i]-=p[i]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=X(c,n),R?V(t,a,u):t):new m(3===u?-0:0)},j.modulo=j.mod=function(t){var e,n=this,i=n.constructor;return t=new i(t),!n.d||!t.s||t.d&&!t.d[0]?new i(NaN):!t.d||n.d&&!n.d[0]?V(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=J(n,t.abs(),0,3,1)).s*=t.s:e=J(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},j.naturalExponential=j.exp=function(){return it(this)},j.naturalLogarithm=j.ln=function(){return st(this)},j.negated=j.neg=function(){var t=new this.constructor(this);return t.s=-t.s,V(t)},j.plus=j.add=function(t){var e,n,i,s,r,o,a,u,c,l,h=this,p=h.constructor;if(t=new p(t),!h.d||!t.d)return h.s&&t.s?h.d||(t=new p(t.d||h.s===t.s?h:NaN)):t=new p(NaN),t;if(h.s!=t.s)return t.s=-t.s,h.minus(t);if(c=h.d,l=t.d,a=p.precision,u=p.rounding,!c[0]||!l[0])return l[0]||(t=new p(h)),R?V(t,a,u):t;if(r=k(h.e/7),i=k(t.e/7),c=c.slice(),s=r-i){for(s<0?(n=c,s=-s,o=l.length):(n=l,i=r,o=c.length),s>(o=(r=Math.ceil(a/7))>o?r+1:o+1)&&(s=o,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for((o=c.length)-(s=l.length)<0&&(s=o,n=l,l=c,c=n),e=0;s;)e=(c[--s]=c[s]+l[s]+e)/Y|0,c[s]%=Y;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),R?V(t,a,u):t},j.precision=j.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(S+t);return n.d?(e=_(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},j.round=function(){var t=this,e=t.constructor;return V(new e(t),t.e+1,e.rounding)},j.sine=j.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i=e.d.length;if(i<3)return e.isZero()?e:at(t,2,e,e);n=(n=1.4*Math.sqrt(i))>16?16:0|n,e=at(t,2,e=e.times(1/ut(5,n)),e);for(var s,r=new t(5),o=new t(16),a=new t(20);n--;)s=e.times(e),e=e.times(r.plus(s.times(o.times(s).minus(a))));return e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(C>2?n.neg():n,t,e,!0)):new i(NaN)},j.squareRoot=j.sqrt=function(){var t,e,n,i,s,r,o=this,a=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!a||!a[0])return new l(!c||c<0&&(!a||a[0])?NaN:a?o:1/0);for(R=!1,0==(c=Math.sqrt(+o))||c==1/0?(((e=F(a)).length+u)%2==0&&(e+="0"),c=Math.sqrt(e),u=k((u+1)/2)-(u<0||u%2),i=new l(e=c==1/0?"5e"+u:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new l(c.toString()),n=(u=l.precision)+3;;)if(i=(r=i).plus(J(o,r,n+2,1)).times(.5),F(r.d).slice(0,n)===(e=F(i.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(s||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(V(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(V(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,V(i,u,l.rounding,t)},j.tangent=j.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,(n=n.sin()).s=1,n=J(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,V(2==C||4==C?n.neg():n,t,e,!0)):new i(NaN)},j.times=j.mul=function(t){var e,n,i,s,r,o,a,u,c,l=this,h=l.constructor,p=l.d,d=(t=new h(t)).d;if(t.s*=l.s,!(p&&p[0]&&d&&d[0]))return new h(!t.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*t.s:t.s/0);for(n=k(l.e/7)+k(t.e/7),(u=p.length)<(c=d.length)&&(r=p,p=d,d=r,o=u,u=c,c=o),r=[],i=o=u+c;i--;)r.push(0);for(i=c;--i>=0;){for(e=0,s=u+i;s>i;)a=r[s]+d[i]*p[s-i-1]+e,r[s--]=a%Y|0,e=a/Y|0;r[s]=(r[s]+e)%Y|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?V(t,h.precision,h.rounding):t},j.toBinary=function(t,e){return lt(this,2,t,e)},j.toDecimalPlaces=j.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(U(t,0,v),void 0===e?e=i.rounding:U(e,0,8),V(n,t+n.e+1,e))},j.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(U(t,0,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(U(t,0,v),void 0===e?e=r.rounding:U(e,0,8),n=W(i=V(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},j.toFraction=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.d,g=d.constructor;if(!m)return new g(d);if(c=n=new g(1),i=u=new g(0),o=(r=(e=new g(i)).e=_(m)-d.e-1)%7,e.d[0]=D(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(a=new g(t)).isInt()||a.lt(c))throw Error(S+a);t=a.gt(e)?r>0?e:c:a}for(R=!1,a=new g(F(m)),l=g.precision,g.precision=r=7*m.length*2;h=J(a,e,0,1,1),1!=(s=n.plus(h.times(i))).cmp(t);)n=i,i=s,s=c,c=u.plus(h.times(s)),u=s,s=e,e=a.minus(h.times(s)),a=s;return s=J(t.minus(n),i,0,1,1),u=u.plus(s.times(c)),n=n.plus(s.times(i)),u.s=c.s=d.s,p=J(c,i,r,1).minus(d).abs().cmp(J(u,n,r,1).minus(d).abs())<1?[c,i]:[u,n],g.precision=l,R=!0,p},j.toHexadecimal=j.toHex=function(t,e){return lt(this,16,t,e)},j.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:U(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(R=!1,n=J(n,t,0,e,1).times(t),R=!0,V(n)):(t.s=n.s,n=t),n},j.toNumber=function(){return+this},j.toOctal=function(t,e){return lt(this,8,t,e)},j.toPower=j.pow=function(t){var e,n,i,s,r,o,a=this,u=a.constructor,c=+(t=new u(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new u(D(+a,c));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return V(a,i,r);if((e=k(t.e/7))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return s=tt(u,a,n,i),t.s<0?new u(1).div(s):V(s,i,r);if((o=a.s)<0){if(e<t.d.length-1)return new u(NaN);if(1&t.d[e]||(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(e=0!=(n=D(+a,c))&&isFinite(n)?new u(n+"").e:k(c*(Math.log("0."+F(a.d))/Math.LN10+a.e+1)))>u.maxE+1||e<u.minE-1?new u(e>0?o/0:0):(R=!1,u.rounding=a.s=1,n=Math.min(12,(e+"").length),(s=it(t.times(st(a,i+n)),i)).d&&H((s=V(s,i+5,1)).d,i,r)&&(e=i+10,+F((s=V(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=V(s,i+1,0))),s.s=o,R=!0,u.rounding=r,V(s,i,r))},j.toPrecision=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,i.e<=s.toExpNeg||i.e>=s.toExpPos):(U(t,1,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toSignificantDigits=j.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(U(t,1,v),void 0===e?e=n.rounding:U(e,0,8)),V(new n(this),t,e)},j.toString=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},j.truncated=j.trunc=function(){return V(new this.constructor(this),this.e+1,1)},j.valueOf=j.toJSON=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var J=function(){function t(t,e,n){var i,s=0,r=t.length;for(t=t.slice();r--;)i=t[r]*e+s,t[r]=i%n|0,s=i/n|0;return s&&t.unshift(s),t}function e(t,e,n,i){var s,r;if(n!=i)r=n>i?1:-1;else for(s=r=0;s<n;s++)if(t[s]!=e[s]){r=t[s]>e[s]?1:-1;break}return r}function n(t,e,n,i){for(var s=0;n--;)t[n]-=s,s=t[n]<e[n]?1:0,t[n]=s*i+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,s,r,o,a,u){var c,l,h,p,d,m,g,f,A,C,M,v,b,w,y,E,R,N,S,T,P=i.constructor,L=i.s==s.s?1:-1,D=i.d,B=s.d;if(!(D&&D[0]&&B&&B[0]))return new P(i.s&&s.s&&(D?!B||D[0]!=B[0]:B)?D&&0==D[0]||!B?0*L:L/0:NaN);for(u?(d=1,l=i.e-s.e):(u=Y,d=7,l=k(i.e/d)-k(s.e/d)),S=B.length,R=D.length,C=(A=new P(L)).d=[],h=0;B[h]==(D[h]||0);h++);if(B[h]>(D[h]||0)&&l--,null==r?(w=r=P.precision,o=P.rounding):w=a?r+(i.e-s.e)+1:r,w<0)C.push(1),m=!0;else{if(w=w/d+2|0,h=0,1==S){for(p=0,B=B[0],w++;(h<R||p)&&w--;h++)y=p*u+(D[h]||0),C[h]=y/B|0,p=y%B|0;m=p||h<R}else{for((p=u/(B[0]+1)|0)>1&&(B=t(B,p,u),D=t(D,p,u),S=B.length,R=D.length),E=S,v=(M=D.slice(0,S)).length;v<S;)M[v++]=0;(T=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(c=e(B,M,S,v))<0?(b=M[0],S!=v&&(b=b*u+(M[1]||0)),(p=b/N|0)>1?(p>=u&&(p=u-1),1==(c=e(g=t(B,p,u),M,f=g.length,v=M.length))&&(p--,n(g,S<f?T:B,f,u))):(0==p&&(c=p=1),g=B.slice()),(f=g.length)<v&&g.unshift(0),n(M,g,v,u),-1==c&&(c=e(B,M,S,v=M.length))<1&&(p++,n(M,S<v?T:B,v,u)),v=M.length):0===c&&(p++,M=[0]),C[h++]=p,c&&M[0]?M[v++]=D[E]||0:(M=[D[E]],v=1)}while((E++<R||void 0!==M[0])&&w--);m=void 0!==M[0]}C[0]||C.shift()}if(1==d)A.e=l,I=m;else{for(h=1,p=C[0];p>=10;p/=10)h++;A.e=h+l*d-1,V(A,a?r+A.e+1:r,o,m)}return A}}();function V(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(s=1,a=h[0];a>=10;a/=10)s++;if((r=e-s)<0)r+=7,o=e,u=(l=h[p=0])/D(10,s-o-1)%10|0;else if((p=Math.ceil((r+1)/7))>=(a=h.length)){if(!i)break t;for(;a++<=p;)h.push(0);l=u=0,s=1,o=(r%=7)-7+1}else{for(l=a=h[p],s=1;a>=10;a/=10)s++;u=(o=(r%=7)-7+s)<0?0:l/D(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?l:l%D(10,s-o-1)),c=n<4?(u||i)&&(0==n||n==(t.s<0?3:2)):u>5||5==u&&(4==n||i||6==n&&(r>0?o>0?l/D(10,s-o):0:h[p-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=D(10,(7-e%7)%7),t.e=-e||0):h[0]=t.e=0,t;if(0==r?(h.length=p,a=1,p--):(h.length=p+1,a=D(10,7-r),h[p]=o>0?(l/D(10,s-o)%D(10,o)|0)*a:0),c)for(;;){if(0==p){for(r=1,o=h[0];o>=10;o/=10)r++;for(o=h[0]+=a,a=1;o>=10;o/=10)a++;r!=a&&(t.e++,h[0]==Y&&(h[0]=1));break}if(h[p]+=a,h[p]!=Y)break;h[p--]=0,a=1}for(r=h.length;0===h[--r];)h.pop()}return R&&(t.e>d.maxE?(t.d=null,t.e=NaN):t.e<d.minE&&(t.e=0,t.d=[0])),t}function W(t,e,n){if(!t.isFinite())return rt(t);var i,s=t.e,r=F(t.d),o=r.length;return e?(n&&(i=n-o)>0?r=r.charAt(0)+"."+r.slice(1)+$(i):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(t.e<0?"e":"e+")+t.e):s<0?(r="0."+$(-s-1)+r,n&&(i=n-o)>0&&(r+=$(i))):s>=o?(r+=$(s+1-o),n&&(i=n-s-1)>0&&(r=r+"."+$(i))):((i=s+1)<o&&(r=r.slice(0,i)+"."+r.slice(i)),n&&(i=n-o)>0&&(s+1===o&&(r+="."),r+=$(i))),r}function X(t,e){var n=t[0];for(e*=7;n>=10;n/=10)e++;return e}function K(t,e,n){if(e>Z)throw R=!0,n&&(t.precision=n),Error(T);return V(new t(w),e,1,!0)}function q(t,e,n){if(e>z)throw Error(T);return V(new t(y),e,n,!0)}function _(t){var e=t.length-1,n=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function $(t){for(var e="";t--;)e+="0";return e}function tt(t,e,n,i){var s,r=new t(1),o=Math.ceil(i/7+4);for(R=!1;;){if(n%2&&ht((r=r.times(e)).d,o)&&(s=!0),0===(n=k(n/2))){n=r.d.length-1,s&&0===r.d[n]&&++r.d[n];break}ht((e=e.times(e)).d,o)}return R=!0,r}function et(t){return 1&t.d[t.d.length-1]}function nt(t,e,n){for(var i,s=new t(e[0]),r=0;++r<e.length;){if(!(i=new t(e[r])).s){s=i;break}s[n](i)&&(s=i)}return s}function it(t,e){var n,i,s,r,o,a,u,c=0,l=0,h=0,p=t.constructor,d=p.rounding,m=p.precision;if(!t.d||!t.d[0]||t.e>17)return new p(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(R=!1,u=m):u=e,a=new p(.03125);t.e>-2;)t=t.times(a),h+=5;for(u+=i=Math.log(D(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=V(r.times(t),u,1),n=n.times(++l),F((a=o.plus(J(r,n,u,1))).d).slice(0,u)===F(o.d).slice(0,u)){for(s=h;s--;)o=V(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(c<3&&H(o.d,u-i,d,c)))return V(o,p.precision=m,d,R=!0);p.precision=u+=10,n=r=a=new p(1),l=0,c++}o=a}}function st(t,e){var n,i,s,r,o,a,u,c,l,h,p,d=1,m=t,g=m.d,f=m.constructor,A=f.rounding,I=f.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new f(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==e?(R=!1,l=I):l=e,f.precision=l+=10,i=(n=F(g)).charAt(0),!(Math.abs(r=m.e)<15e14))return c=K(f,l+2,I).times(r+""),m=st(new f(i+"."+n.slice(1)),l-10).plus(c),f.precision=I,null==e?V(m,I,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=F((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new f("0."+n),r++):m=new f(i+"."+n.slice(1)),h=m,u=o=m=J(m.minus(1),m.plus(1),l,1),p=V(m.times(m),l,1),s=3;;){if(o=V(o.times(p),l,1),F((c=u.plus(J(o,new f(s),l,1))).d).slice(0,l)===F(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(K(f,l+2,I).times(r+""))),u=J(u,new f(d),l,1),null!=e)return f.precision=I,u;if(!H(u.d,l-10,A,a))return V(u,f.precision=I,A,R=!0);f.precision=l+=10,c=o=m=J(h.minus(1),h.plus(1),l,1),p=V(m.times(m),l,1),s=a=1}u=c,s+=2}}function rt(t){return String(t.s*t.s/0)}function ot(t,e){var n,i,s;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(s=e.length;48===e.charCodeAt(s-1);--s);if(e=e.slice(i,s)){if(s-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%7,n<0&&(i+=7),i<s){for(i&&t.d.push(+e.slice(0,i)),s-=7;i<s;)t.d.push(+e.slice(i,i+=7));i=7-(e=e.slice(i)).length}else i-=s;for(;i--;)e+="0";t.d.push(+e),R&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function at(t,e,n,i,s){var r,o,a,u,c=t.precision,l=Math.ceil(c/7);for(R=!1,u=n.times(n),a=new t(i);;){if(o=J(a.times(u),new t(e++*e++),c,1),a=s?i.plus(o):i.minus(o),i=J(o.times(u),new t(e++*e++),c,1),void 0!==(o=a.plus(i)).d[l]){for(r=l;o.d[r]===a.d[r]&&r--;);if(-1==r)break}r=a,a=i,i=o,o=r}return R=!0,o.d.length=l+1,o}function ut(t,e){for(var n=t;--e;)n*=t;return n}function ct(t,e){var n,i=e.s<0,s=q(t,t.precision,1),r=s.times(.5);if((e=e.abs()).lte(r))return C=i?4:1,e;if((n=e.divToInt(s)).isZero())C=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return C=et(n)?i?2:3:i?4:1,e;C=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function lt(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor,m=void 0!==n;if(m?(U(n,1,v),void 0===i?i=d.rounding:U(i,0,8)):(n=d.precision,i=d.rounding),t.isFinite()){for(m?(s=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):s=e,(o=(l=W(t)).indexOf("."))>=0&&(l=l.replace(".",""),(p=new d(1)).e=l.length-o,p.d=Q(W(p),10,s),p.e=p.d.length),r=u=(h=Q(l,10,s)).length;0==h[--u];)h.pop();if(h[0]){if(o<0?r--:((t=new d(t)).d=h,t.e=r,h=(t=J(t,p,n,i,0,s)).d,r=t.e,c=I),o=h[n],a=s/2,c=c||void 0!==h[n+1],c=i<4?(void 0!==o||c)&&(0===i||i===(t.s<0?3:2)):o>a||o===a&&(4===i||c||6===i&&1&h[n-1]||i===(t.s<0?8:7)),h.length=n,c)for(;++h[--n]>s-1;)h[n]=0,n||(++r,h.unshift(1));for(u=h.length;!h[u-1];--u);for(o=0,l="";o<u;o++)l+=b.charAt(h[o]);if(m){if(u>1)if(16==e||8==e){for(o=16==e?4:3,--u;u%o;u++)l+="0";for(u=(h=Q(l,s,e)).length;!h[u-1];--u);for(o=1,l="1.";o<u;o++)l+=b.charAt(h[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(++r>u)for(r-=u;r--;)l+="0";else r<u&&(l=l.slice(0,r)+"."+l.slice(r))}else l=m?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=rt(t);return t.s<0?"-"+l:l}function ht(t,e){if(t.length>e)return t.length=e,!0}function pt(t){return new this(t).abs()}function dt(t){return new this(t).acos()}function mt(t){return new this(t).acosh()}function gt(t,e){return new this(t).plus(e)}function ft(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function It(t){return new this(t).atan()}function Ct(t){return new this(t).atanh()}function Mt(t,e){t=new this(t),e=new this(e);var n,i=this.precision,s=this.rounding,r=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?q(this,i,s):new this(0)).s=t.s:!t.d||e.isZero()?(n=q(this,r,1).times(.5)).s=t.s:e.s<0?(this.precision=r,this.rounding=1,n=this.atan(J(t,e,r,1)),e=q(this,r,1),this.precision=i,this.rounding=s,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(J(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function vt(t){return new this(t).cbrt()}function bt(t){return V(t=new this(t),t.e+1,2)}function wt(t,e,n){return new this(t).clamp(e,n)}function yt(t){if(!t||"object"!=typeof t)throw Error(N+"Object expected");var e,n,i,s=!0===t.defaults,r=["precision",1,v,"rounding",0,8,"toExpNeg",-M,0,"toExpPos",0,M,"maxE",0,M,"minE",-M,0,"modulo",0,9];for(e=0;e<r.length;e+=3)if(n=r[e],s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!(k(i)===i&&i>=r[e+1]&&i<=r[e+2]))throw Error(S+n+": "+i);this[n]=i}if(n="crypto",s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(S+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(P);this[n]=!0}else this[n]=!1}return this}function Et(t){return new this(t).cos()}function Rt(t){return new this(t).cosh()}function Nt(t,e){return new this(t).div(e)}function St(t){return new this(t).exp()}function Tt(t){return V(t=new this(t),t.e+1,3)}function Pt(){var t,e,n=new this(0);for(R=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return R=!0,new this(1/0);n=e}return R=!0,n.sqrt()}function Lt(t){return t instanceof _t||t&&t.toStringTag===L||!1}function kt(t){return new this(t).ln()}function Dt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Gt(t){return new this(t).log(10)}function Ot(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function Yt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function zt(t,e){return new this(t).pow(e)}function jt(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:U(t,1,v),i=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));r<i;)(s=e[r])>=429e7?e[r]=crypto.getRandomValues(new Uint32Array(1))[0]:a[r++]=s%1e7;else{if(!crypto.randomBytes)throw Error(P);for(e=crypto.randomBytes(i*=4);r<i;)(s=e[r]+(e[r+1]<<8)+(e[r+2]<<16)+((127&e[r+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,r):(a.push(s%1e7),r+=4);r=i/4}else for(;r<i;)a[r++]=1e7*Math.random()|0;for(t%=7,(i=a[--r])&&t&&(s=D(10,7-t),a[r]=(i/s|0)*s);0===a[r];r--)a.pop();if(r<0)n=0,a=[0];else{for(n=-1;0===a[0];n-=7)a.shift();for(i=1,s=a[0];s>=10;s/=10)i++;i<7&&(n-=7-i)}return o.e=n,o.d=a,o}function Ft(t){return V(t=new this(t),t.e+1,this.rounding)}function Ut(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ht(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Jt(t){return new this(t).sqrt()}function Vt(t,e){return new this(t).sub(e)}function Wt(){var t=0,e=arguments,n=new this(e[t]);for(R=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return R=!0,V(n,this.precision,this.rounding)}function Xt(t){return new this(t).tan()}function Kt(t){return new this(t).tanh()}function qt(t){return V(t=new this(t),t.e+1,1)}j[Symbol.for("nodejs.util.inspect.custom")]=j.toString,j[Symbol.toStringTag]="Decimal";var _t=j.constructor=function t(e){var n,i,s;function r(t){var e,n,i,s=this;if(!(s instanceof r))return new r(t);if(s.constructor=r,Lt(t))return s.s=t.s,void(R?!t.d||t.e>r.maxE?(s.e=NaN,s.d=null):t.e<r.minE?(s.e=0,s.d=[0]):(s.e=t.e,s.d=t.d.slice()):(s.e=t.e,s.d=t.d?t.d.slice():t.d));if("number"==(i=typeof t)){if(0===t)return s.s=1/t<0?-1:1,s.e=0,void(s.d=[0]);if(t<0?(t=-t,s.s=-1):s.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(R?e>r.maxE?(s.e=NaN,s.d=null):e<r.minE?(s.e=0,s.d=[0]):(s.e=e,s.d=[t]):(s.e=e,s.d=[t]))}return 0*t!=0?(t||(s.s=NaN),s.e=NaN,void(s.d=null)):ot(s,t.toString())}if("string"!==i)throw Error(S+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),s.s=-1):(43===n&&(t=t.slice(1)),s.s=1),x.test(t)?ot(s,t):function(t,e){var n,i,s,r,o,a,u,c,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),x.test(e))return ot(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(G.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!O.test(e))throw Error(S+e);n=8}for((r=e.search(/p/i))>0?(u=+e.slice(r+1),e=e.substring(2,r)):e=e.slice(2),o=(r=e.indexOf("."))>=0,i=t.constructor,o&&(r=(a=(e=e.replace(".","")).length)-r,s=tt(i,new i(n),r,2*r)),r=l=(c=Q(e,n,Y)).length-1;0===c[r];--r)c.pop();return r<0?new i(0*t.s):(t.e=X(c,l),t.d=c,R=!1,o&&(t=J(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?D(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=j,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=yt,r.clone=t,r.isDecimal=Lt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=gt,r.asin=ft,r.asinh=At,r.atan=It,r.atanh=Ct,r.atan2=Mt,r.cbrt=vt,r.ceil=bt,r.clamp=wt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=St,r.floor=Tt,r.hypot=Pt,r.ln=kt,r.log=Dt,r.log10=Gt,r.log2=Bt,r.max=Ot,r.min=xt,r.mod=Yt,r.mul=Zt,r.pow=zt,r.random=jt,r.round=Ft,r.sign=Ut,r.sin=Ht,r.sinh=Qt,r.sqrt=Jt,r.sub=Vt,r.sum=Wt,r.tan=Xt,r.tanh=Kt,r.trunc=qt,void 0===e&&(e={}),e&&!0!==e.defaults)for(s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<s.length;)e.hasOwnProperty(i=s[n++])||(e[i]=this[i]);return r.config(e),r}(E);w=new _t(w),y=new _t(y);const $t=ee;function te(){const t=["CatMenuHeiInputPlus","调用成功","removeMenuEvent","CatMenuLatInput","parseFromString","CatMenuLonInputMinus","CatMenuRollInputMinus","getInputNumber","text/html","Matrix3","CatScaleStep","CatRollStep","CatMenuHeadingInputMinus","4206796BGPULj","的对象","transformCnToCc","position","confirmEventGlb","1792104QGZfET","869834ZPGngl","CatPitchStep","getById","CatLatitude","scale","addEventListener","changeScale","CatLongitude","CatPitch","CatRoll","CatMenuRollStepInput","value","parentNode","CatHeadingStep",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'3dtile的url\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"CatMenuLatInputMinus","没有找到url为","CatMenuPitchInput","CatMenuHeadingStepInput","roll","isFinite","sub","CatMenuHeiInputMinus","toNumber","fromRotationX","toRadians","CatMenuScaleInputPlus","6ZPxftx","CatMenuLonStepInput","model","change3dtilePos","fromRotationTranslation","Matrix4","CatScale","center","CatMenuRollInputPlus","_primitives","CatLongitudeStep","CatMenuLatInputPlus","create3DtileMenu","CatHeading","bindEvent3Dtile","没有找到id为","toDegrees","log","8540kjGgiE","CatMenuLonInputPlus","CatMenuHeiInput","8irRIjU","CatEntity","bindEventGLB","1622QYVZxq","6rhjXJE","CatMenuIdInput","confirmEvent3Dtile","removeChild","CatGlbMenuContainer","click","1206AJQkkp","multiply",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'glb模型的id\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"appendChild","CatMenuLonInput","CatHeightStep","onchange","CatMenuPitchStepInput","CatMenuPitchInputMinus","Transforms","CatLatitudeStep","CatMenuIdInputButton","now","CatMenuHeiStepInput","changeHPR","defineProperty","_value","body","changeEntityPos","target","287307CNpNTf","CatMenuLatStepInput","fromRotationZ","scene","CatMenuPitchInputPlus","getElementsByClassName","fromScale","CatMenuHeadingInput","heading","fixedFrameToHeadingPitchRoll","onclick","CatMenuScaleStepInput","createEvent","CatMenuCloseButton","HeadingPitchRoll","Math","1300665ZchgyK","CatMenuScaleInput","Cartesian3","fromDegrees","entities","CatMenuRollInput","CatHeight"];return(te=function(){return t})()}function ee(t,e){const n=te();return(ee=function(t,e){return n[t-=468]})(t,e)}!function(){const t=ee,e=te();for(;;)try{if(140086==-parseInt(t(560))/1*(parseInt(t(559))/2)+parseInt(t(586))/3*(-parseInt(t(556))/4)+-parseInt(t(482))/5+parseInt(t(535))/6*(-parseInt(t(508))/7)+parseInt(t(507))/8+-parseInt(t(566))/9*(-parseInt(t(553))/10)+parseInt(t(502))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{#r;[$t(557)];[$t(515)]={};[$t(545)]=1e-4;[$t(511)]={};CatLatitudeStep=1e-4;[$t(488)]={};[$t(571)]=.1;[$t(548)]={};[$t(521)]=1;[$t(516)]={};[$t(509)]=1;[$t(517)]={};CatRollStep=1;[$t(541)]={};[$t(499)]=.1;constructor(t){this.#r=t}[$t(496)](t){const e=$t,n=Number(document[e(471)](t)[0][e(519)]);return Number[e(528)](n)?n:0}createGlbMenu(){const t=$t;console[t(552)](t(490));const e=t(568);let n=(new DOMParser)[t(493)](e,t(497)).getElementsByClassName(t(564))[0];document[t(583)][t(569)](n),this[t(491)]("CatGlbMenuContainer"),this[t(506)](),this.bindEventGLB()}[$t(558)](){const t=$t;this.createEvent(this[t(515)],t(570),t(554),"CatMenuLonInputMinus","CatMenuLonStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(511)],"CatMenuLatInput",t(546),t(523),"CatMenuLatStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(488)],t(555),t(489),"CatMenuHeiInputMinus",t(579),()=>{this[t(584)]()}),this.createEvent(this[t(548)],"CatMenuHeadingInput","CatMenuHeadingInputPlus","CatMenuHeadingInputMinus",t(526),()=>{this[t(580)]()}),this[t(478)](this.CatPitch,t(525),t(470),t(574),t(573),()=>{this[t(580)]()}),this[t(478)](this[t(517)],t(487),t(543),t(495),t(518),()=>{this.changeHPR()}),this.createEvent(this.CatScale,t(483),"CatMenuScaleInputPlus","CatMenuScaleInputMinus",t(477),()=>{this[t(514)]()})}[$t(478)](t,e,n,i,s,r){const o=$t,a=document[o(471)](e)[0];Object[o(581)](t,o(519),{get(){return this._value},set(t){this[o(582)]=t,a.value=t,r()}}),a[o(572)]=e=>{const n=o;t[n(519)]=e[n(585)][n(519)]};const u=document.getElementsByClassName(n)[0],c=document[o(471)](i)[0];u[o(476)]=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(519)];t.value=_t(a[e(519)]).add(_t(n))[e(531)]()},c.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0].value;t[e(519)]=_t(a[e(519)])[e(529)](_t(n)).toNumber()}}changeEntityPos(){const t=$t,e=this[t(496)](t(570)),n=this[t(496)](t(492)),i=this[t(496)](t(555));this.CatEntity[t(505)]=Cesium[t(484)][t(485)](e,n,i)}[$t(580)](){const t=$t,e=this.CatEntity.position[t(582)],n=Cesium.Math[t(533)](Number(document[t(471)](t(473))[0].value)),i=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuPitchInput")[0][t(519)])),s=Cesium[t(481)][t(533)](Number(document[t(471)](t(487))[0][t(519)])),r=new(Cesium[t(480)])(n,i,s);let o=Cesium[t(575)].headingPitchRollQuaternion(e,r);this.CatEntity.orientation=o}[$t(514)](){const t=$t,e=this[t(496)](t(483));this[t(557)].model[t(512)]=e}[$t(506)](){const t=$t;document[t(471)](t(577))[0][t(513)]("click",()=>{const e=t,n=document[e(471)](e(561))[0][e(519)],i=this.#r[e(486)][e(510)](n);if(i){this[e(557)]=i;const t=u[e(504)](i.position[e(582)]);document[e(471)](e(570))[0].value=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document[e(471)](e(555))[0].value=t[2],document.getElementsByClassName("CatMenuLonStepInput")[0][e(519)]=this[e(545)],document[e(471)](e(587))[0][e(519)]=this[e(576)],document[e(471)](e(579))[0][e(519)]=this[e(571)];const n=i.computeModelMatrix(Cesium.JulianDate[e(578)]()),s=Cesium[e(575)][e(475)](n);document[e(471)](e(473))[0].value=Cesium[e(481)][e(551)](s[e(474)]),document.getElementsByClassName("CatMenuPitchInput")[0][e(519)]=Cesium[e(481)][e(551)](s.pitch),document[e(471)](e(487))[0].value=Cesium.Math[e(551)](s[e(527)]),document[e(471)]("CatMenuHeadingStepInput")[0][e(519)]=this[e(521)],document[e(471)]("CatMenuPitchStepInput")[0][e(519)]=this[e(509)],document.getElementsByClassName(e(518))[0].value=this[e(500)],document[e(471)](e(483))[0].value=i[e(537)][e(512)]||1,document[e(471)]("CatMenuScaleStepInput")[0][e(519)]=this[e(499)]}else alert(e(550)+n+e(503))})}removeMenuEvent(t){const e=$t;let n=document.getElementsByClassName(e(564))[0],i=document[e(471)](e(479))[0];t?i.addEventListener(e(565),()=>{const t=e;n.parentNode[t(563)](n)}):(this[e(557)]=null,n[e(520)][e(563)](n))}[$t(547)](){const t=$t;console[t(552)](t(490));const e=t(522);let n=(new DOMParser)[t(493)](e,"text/html")[t(471)](t(564))[0];document[t(583)][t(569)](n),this[t(491)](t(564)),this[t(562)](),this.bindEvent3Dtile()}[$t(549)](){const t=$t;this.createEvent(this[t(515)],"CatMenuLonInput","CatMenuLonInputPlus",t(494),t(536),()=>{this.change3dtilePos()}),this[t(478)](this[t(511)],t(492),"CatMenuLatInputPlus","CatMenuLatInputMinus","CatMenuLatStepInput",()=>{this[t(538)]()}),this.createEvent(this[t(488)],"CatMenuHeiInput",t(489),t(530),t(579),()=>{this.change3dtilePos()}),this[t(478)](this[t(548)],t(473),"CatMenuHeadingInputPlus",t(501),t(526),()=>{this[t(538)]()}),this[t(478)](this[t(516)],t(525),t(470),t(574),"CatMenuPitchStepInput",()=>{this[t(538)]()}),this[t(478)](this[t(517)],t(487),"CatMenuRollInputPlus",t(495),t(518),()=>{this[t(538)]()}),this[t(478)](this[t(541)],t(483),t(534),"CatMenuScaleInputMinus",t(477),()=>{this[t(538)]()})}[$t(538)](){const t=$t,e=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuHeadingInput")[0].value)),n=Cesium.Math[t(533)](Number(document[t(471)](t(525))[0][t(519)])),i=Cesium[t(481)][t(533)](Number(document.getElementsByClassName("CatMenuRollInput")[0].value));let s=Cesium[t(498)][t(532)](e),r=Cesium[t(498)].fromRotationY(n),o=Cesium[t(498)][t(468)](i),a=Cesium[t(540)][t(539)](s),u=Cesium[t(540)].fromRotationTranslation(r),c=Cesium[t(540)][t(539)](o);const l=this[t(496)](t(570)),h=this.getInputNumber(t(492)),p=this[t(496)](t(555));let d=Cesium.Cartesian3.fromDegrees(l,h,p),m=Cesium[t(575)].eastNorthUpToFixedFrame(d);const g=this.getInputNumber(t(483));let f=new(Cesium[t(484)])(g,g,g);const A=Cesium.Matrix4[t(472)](f,new(Cesium[t(540)]));Cesium[t(540)][t(567)](m,a,m),Cesium[t(540)].multiply(m,u,m),Cesium.Matrix4[t(567)](m,c,m),Cesium.Matrix4[t(567)](m,A,m),this[t(557)]._root.transform=m}[$t(562)](){const t=$t;document[t(471)](t(577))[0][t(513)](t(565),()=>{const e=t,n=document[e(471)]("CatMenuIdInput")[0].value;let i;for(let t of this.#r[e(469)].primitives[e(544)])if(t._url==n){i=t;break}if(i){this[e(557)]=i,console.log(this[e(557)]);const t=u[e(504)](i.boundingSphere[e(542)]);document[e(471)](e(570))[0][e(519)]=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document.getElementsByClassName(e(555))[0][e(519)]=t[2],document[e(471)](e(536))[0][e(519)]=this[e(545)],document.getElementsByClassName(e(587))[0].value=this[e(576)],document.getElementsByClassName("CatMenuHeiStepInput")[0].value=this[e(571)],document[e(471)]("CatMenuHeadingInput")[0].value=0,document[e(471)](e(525))[0][e(519)]=0,document[e(471)](e(487))[0][e(519)]=0,document[e(471)](e(526))[0].value=this[e(521)],document.getElementsByClassName(e(573))[0].value=this[e(509)],document[e(471)](e(518))[0][e(519)]=this[e(500)],document.getElementsByClassName("CatMenuScaleInput")[0].value=1,document[e(471)](e(477))[0][e(519)]=1}else alert(e(524)+n+e(503))})}}function ie(t,e){const n=oe();return(ie=function(t,e){return n[t-=365]})(t,e)}const se=ie;!function(){const t=ie,e=oe();for(;;)try{if(172515==-parseInt(t(386))/1*(-parseInt(t(396))/2)+parseInt(t(377))/3+parseInt(t(373))/4*(parseInt(t(366))/5)+-parseInt(t(368))/6+parseInt(t(370))/7+parseInt(t(367))/8+parseInt(t(378))/9*(-parseInt(t(394))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{#r;#M;constructor(t){this.#r=t,this.#M=new ne(t)}[se(375)](){const t=se;this.#M[t(389)]()}[se(382)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=se,a=Cesium[o(387)][o(374)](...e),u=new Cesium.HeadingPitchRoll(Cesium[o(391)][o(400)](n[0]),Cesium[o(391)].toRadians(n[1]),Cesium[o(391)][o(400)](n[2])),c=Cesium[o(401)].headingPitchRollQuaternion(a,u),l=this.#r[o(381)][o(372)]({id:i,position:a,orientation:c,model:{uri:t,scale:s}});return r&&this.#r[o(399)](l),l}[se(380)](){const t=se;this.#M[t(390)]()}async[se(369)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=se;let o=await Cesium.Cesium3DTileset[r(371)](t,{}),a=Cesium[r(393)][r(384)](Cesium[r(391)].toRadians(n[0])),u=Cesium.Matrix3.fromRotationY(Cesium[r(391)][r(400)](n[1])),c=Cesium.Matrix3[r(379)](Cesium.Math[r(400)](n[2])),l=Cesium[r(376)][r(365)](a),h=Cesium[r(376)][r(365)](u),p=Cesium.Matrix4[r(365)](c),d=Cesium[r(387)].fromDegrees(...e),m=Cesium[r(401)][r(392)](d),g=new(Cesium[r(387)])(i,i,i);const f=Cesium.Matrix4[r(398)](g,new(Cesium[r(376)]));return Cesium[r(376)][r(397)](m,l,m),Cesium[r(376)][r(397)](m,h,m),Cesium[r(376)][r(397)](m,p,m),Cesium[r(376)][r(397)](m,f,m),o[r(383)][r(395)]=m,this.#r[r(385)][r(388)][r(372)](o),s&&this.#r.zoomTo(o),o}}function oe(){const t=["fromRotationX","scene","22153IXYbzt","Cartesian3","primitives","createGlbMenu","create3DtileMenu","Math","eastNorthUpToFixedFrame","Matrix3","5402670CqrqNm","transform","26dMUuWK","multiply","fromScale","zoomTo","toRadians","Transforms","fromRotationTranslation","4330KmABEW","2391336JsezbM","1906998XCEomd","set3Dtile","1222396SKkCyl","fromUrl","add","316MyqBnK","fromDegrees","adjustGlb","Matrix4","602001mtnHCI","9wazump","fromRotationZ","adjust3Dtile","entities","setGlb","_root"];return(oe=function(){return t})()}function ae(t,e){const n=ue();return(ae=function(t,e){return n[t-=401]})(t,e)}function ue(){const t=["refreshForegroundLineOverlayState","destroyForegroundLineOverlay","onCancel","now","createPreviewEntities","43030wpTszQ","useTerrain","resultGroups","previewEntities","clearAll","type","emitUpdate","slice","369626jfbJwx","pointSurfaceTypes","getInstruction","height","auto","angle","左键选择角度顶点。","803SVHJEI","forEach","onComplete","idle","onUpdate","buildAngleResult","1877874NrwxZL","hasTerrainProvider","左键开始长度测量,左键双击或按回车结束。","setCloseButtonHover","formattedValue","40264hnsEYr","function","getSessionPreviewSurfaceInfo","Unsupported measure type: ","pointEntities","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","computing","points","previewLineEntity","getMeasurementSurfaceInfo","area","bindEvents","push","surfaceType","1940xyrMyu","destroyHandler","左键选择角度终点完成测量,右键取消。","length","5002608dHRlTG","cancelled","左键选择高差起点。","8031LqGGRd","surfaceMode","576JtQvGU","actualTerrain","toString","左键继续绘制面积边界,左键双击或按回车结束面积测量。","ellipsoid","buildAreaResult","removeEntities","callbacks","setCursor","scene","polyline","贴地结果","dynamicSurfaceTypes","titlePrefix","buildHeightResult","7kwjcJv","terrain","左键选择高差终点完成测量,右键取消。","3776WvjeFv","activeMeasurement","includes","2rDBZtR","无地形结果","start","clearCurrent","buildResult","onRemove"];return(ue=function(){return t})()}const ce=ae;!function(){const t=ae,e=ue();for(;;)try{if(206249==parseInt(t(438))/1+-parseInt(t(419))/2*(-parseInt(t(477))/3)+-parseInt(t(416))/4*(-parseInt(t(470))/5)+-parseInt(t(451))/6*(parseInt(t(413))/7)+-parseInt(t(456))/8*(parseInt(t(479))/9)+parseInt(t(430))/10*(-parseInt(t(445))/11)+parseInt(t(474))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const le={startMeasure(t,e={}){const n=ae;if(![n(473),n(466),n(443),n(441)][n(418)](t))throw new Error("Unsupported measure type: "+t);const i=this.resolveSurfaceMode(e);this[n(422)](!1);const s={id:t+"-"+Date[n(428)]()+"-"+Math.random()[n(481)](36)[n(437)](2,8),type:t,useTerrain:Boolean(e.useTerrain),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(449)],onComplete:e.onComplete,onRemove:e[n(424)],onCancel:e[n(427)]},cancelled:!1};return this[n(417)]=s,this[n(406)](!0),this[n(429)](s),this[n(467)](s),this[n(425)](),this.emitUpdate(s,{phase:n(421),instruction:this[n(440)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=ae,n=this.activeMeasurement;if(!n)return this.destroyHandler(),void this[e(406)](!1);n[e(475)]=!0,this[e(471)](),this[e(404)]([...n[e(460)],...n[e(433)]]),this[e(406)](!1),this[e(417)]=null,this[e(425)](),t&&(typeof n[e(405)][e(427)]===e(457)&&n[e(405)][e(427)]({type:n[e(435)],useTerrain:n[e(431)],surfaceMode:n[e(478)]}),this[e(436)](n,{phase:e(448),instruction:"",formattedValue:""}))},clearAll(){const t=ae;this[t(422)](!1),this.resultGroups[t(446)](e=>{this[t(404)](e.entities)}),this[t(432)]=[],this[t(454)](!1),this[t(425)]()},destroy(){const t=ae;this[t(434)](),this[t(471)](),this.destroyResultInteractionHandler(),this[t(426)](),this.setCursor(!1)},async finalizeSession(t){const e=ae;if(!t||t[e(475)])return;this[e(471)](),this[e(406)](!1),this.emitUpdate(t,{phase:e(462),instruction:"正在计算测量结果..."});const n=await this[e(423)](t);if(t.cancelled)return;const i={...n,id:t.id};this[e(404)](t.pointEntities);const s=this.commitResult(t,i);this.removeEntities(t[e(433)]),this[e(432)][e(468)]({id:t.id,entities:s,result:i,callbacks:t[e(405)]}),this[e(417)]=null,this[e(425)](),"function"==typeof t[e(405)][e(447)]&&t.callbacks[e(447)](i),this[e(436)](t,{phase:"complete",instruction:this.getInstruction(t[e(435)],0),formattedValue:i[e(455)],result:i})},async buildResult(t){const e=ae;switch(t[e(435)]){case e(473):return this.buildLengthResult(t[e(463)],t.surfaceMode,t[e(439)]);case e(466):return this[e(403)](t[e(463)],t[e(478)],t[e(439)]);case"angle":return this[e(450)](t[e(463)],t[e(478)],t[e(439)]);case e(441):return this[e(412)](t.points,t.surfaceMode,t[e(439)]);default:throw new Error(e(459)+t[e(435)])}},emitUpdate(t,e={}){const n=ae;if(typeof t?.[n(405)]?.[n(449)]===n(457)){const i=this[n(465)](t[n(478)],t.pointSurfaceTypes);t[n(405)][n(449)]({type:t[n(435)],useTerrain:t[n(431)],surfaceMode:t[n(478)],surfaceType:i[n(469)],surfaceLabel:i.surfaceLabel,actualTerrain:i[n(480)],...e})}},resolveSurfaceMode(t={}){const e=ae;return["terrain",e(407),e(402),e(442)][e(418)](t[e(478)])?t.surfaceMode:t.useTerrain?e(414):e(442)},resolveMeasurementSurfaceType(t="auto",e=[]){const n=ae,i=[n(414),n(407),n(402),n(442)][n(418)](t)?t:"auto";return i===n(414)&&this[n(452)]()?n(414):e[n(418)](n(407))?n(407):e.includes(n(414))?n(414):e[n(418)](n(402))?n(402):i===n(407)?n(407):i===n(402)?"ellipsoid":n(402)},getMeasurementSurfaceInfo(t=ce(442),e=[]){const n=ce,i=this.resolveMeasurementSurfaceType(t,e),s={terrain:{surfaceType:"terrain",titlePrefix:"地形",surfaceLabel:n(409),actualTerrain:!0},scene:{surfaceType:n(407),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(402),titlePrefix:"无地形",surfaceLabel:n(420),actualTerrain:!1}};return s[i]||s[n(402)]},getMeasureTitle(t,e){const n=ce;return t===n(443)?"角度":""+this.getMeasurementSurfaceInfo(e,[e])[n(411)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ce;if(!t)return this[e(465)]("ellipsoid");const n=t.dynamicSurfaceTypes[e(473)]>0?t[e(410)]:t[e(439)];return this[e(465)](t[e(478)],n)},updatePreviewLineClampState(t){const e=ce;t?.[e(464)]?.[e(408)]&&(t[e(464)].polyline.clampToGround=this.shouldClampLineToGround(t[e(435)],this[e(458)](t)[e(469)]))},getInstruction(t,e){const n=ce;return"length"===t?0===e?n(453):"左键继续加点,左键双击或按回车结束长度测量。":t===n(466)?n(e<2?461:401):t===n(441)?n(0===e?476:415):0===e?"左键选择角度起点。":n(1===e?444:472)}};function he(){const t=["LEFT_CLICK","emitUpdate","viewer","576960FLMFxY","angle","surfaceMode","pointEntities","dynamicPositions","window","190075PxKFDx","keydown","getPickedPositionFinal","bindHeightEvents","activeMeasurement","position","RIGHT_CLICK","preventDefault","surfaceType","area","1902240oJzGII","bindAngleEvents","dynamicSurfaceTypes","4562334CRvVZn","height","handler","updatePreviewLineClampState","text","POSITIVE_INFINITY","type","Enter","cancelled","updatePreviewLabel","2671437bTXKsW","showPreviewCursor","LEFT_DOUBLE_CLICK","trimDuplicatedTrailingPoints","1891606EOerKX","getInstruction","pointSurfaceTypes","13535380jETEsT","ScreenSpaceEventType","ScreenSpaceEventHandler","cloneCartesian","measureKeydownHandler","points","setInputAction","endPosition","getAreaPreview","cancelScheduledMouseMoveWork","getLengthPreview","function","MOUSE_MOVE","drawing","push","getAnglePreview","addEventListener","getPickedPosition","scene","length","preview","getHeightPreview","Cesium","slice","handleResultCloseClick","bindEnterFinishEvent","scheduleSessionMouseMove","finalizeSession","68rMvObj","hidePreviewCursor","1YvoBdQ","map","clearCurrent","9TXhyQp"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=467]})(t,e)}!function(){const t=pe,e=he();for(;;)try{if(500005==parseInt(t(487))/1*(parseInt(t(527))/2)+-parseInt(t(523))/3+parseInt(t(485))/4*(-parseInt(t(500))/5)+parseInt(t(510))/6+-parseInt(t(513))/7+parseInt(t(494))/8+-parseInt(t(490))/9*(-parseInt(t(530))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const de={bindEnterFinishEvent(t){const e=pe;typeof globalThis[e(499)]?.[e(473)]===e(468)&&(this[e(534)]&&(globalThis[e(499)].removeEventListener(e(501),this[e(534)]),this[e(534)]=null),this.measureKeydownHandler=n=>{const i=e;n.key===i(520)&&t&&!t[i(521)]&&this[i(504)]===t&&(t[i(535)][i(476)]<(t=>{const n=e;return t===n(476)?2:t===n(509)||t===n(495)?3:t===n(514)?2:Number[n(518)]})(t[i(519)])||(n[i(507)](),this[i(539)](),this.finalizeSession(t)))},globalThis[e(499)].addEventListener("keydown",this[e(534)]))},bindEvents(t){const e=pe,n=this[e(479)];this[e(515)]=new(n[e(532)])(this[e(493)][e(475)].canvas),this[e(482)](t),"angle"!==t[e(519)]?t[e(519)]!==e(514)?(this.handler[e(536)](async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this.getPickedPositionFinal(n[i(505)],t[i(496)]);if(t.cancelled||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this.cloneCartesian(r)),t[i(529)][i(471)](s[i(508)]),t[i(498)]=t.points[i(488)](t=>this[i(533)](t)),t[i(512)]=t.pointSurfaceTypes[i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t);const o="length"===t[i(519)]?this.getLengthPreview(t[i(535)],t[i(496)],t.pointSurfaceTypes):this[i(538)](t[i(535)]);this[i(522)](t,o[i(517)],o[i(505)]),this.emitUpdate(t,{phase:i(470),instruction:this.getInstruction(t.type,t[i(535)][i(476)]),formattedValue:o[i(517)]})},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this.scheduleSessionMouseMove(t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t.surfaceMode,{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t[n(529)].slice(),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t[n(498)]=[...t[n(535)],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=t[n(519)]===n(476)?this[n(467)](t[n(498)],t[n(496)],t[n(512)]):this[n(538)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t[n(535)][n(476)]),formattedValue:o[n(517)]})})},n[e(531)].MOUSE_MOVE),this[e(515)][e(536)](async n=>{const i=e;this[i(539)]();const s=(await this[i(502)](n[i(505)],t.surfaceMode))?.position;if(t.cancelled||this[i(504)]!==t)return;this[i(526)](t,s);const r="length"===t[i(519)]?2:3;t[i(535)].length<r||this.finalizeSession(t)},n[e(531)][e(525)])):this[e(503)](t):this[e(511)](t)},bindAngleEvents(t){const e=pe,n=this.Cesium;this.handler.setInputAction(async e=>{const n=pe;if(this[n(539)](),this[n(481)](e[n(505)]))return;const i=await this[n(502)](e[n(505)],t[n(496)]);if(t.cancelled||this[n(504)]!==t)return;if(!i)return;const s=i[n(505)];t.points[n(471)](this[n(533)](s)),t[n(529)].push(i.surfaceType),t.dynamicPositions=t[n(535)][n(488)](t=>this.cloneCartesian(t)),t[n(512)]=t[n(529)].slice(),t[n(497)].push(this.createPointEntity(s)),this[n(516)](t),3!==t.points.length?this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:2===t.points[n(476)]?this[n(472)](t[n(535)]).text:""}):this[n(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this.getPickedPosition(e,t[n(496)],{pickStage:n(477)});if(!s)return this[n(486)](t),t[n(512)]=t[n(529)][n(480)](),void this[n(516)](t);const r=s.position;if(this[n(524)](t,r),1===t[n(535)][n(476)])return t[n(498)]=[t[n(535)][0],this.cloneCartesian(r)],t[n(512)]=[...t[n(529)],s.surfaceType],this[n(516)](t),void this[n(522)](t,"",null);t.dynamicPositions=[t[n(535)][0],t[n(535)][1],this[n(533)](r)],t.dynamicSurfaceTypes=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(472)](t[n(498)]);this[n(522)](t,o[n(517)],o[n(505)]),this[n(492)](t,{phase:"drawing",instruction:this.getInstruction(t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this.handler[e(536)](()=>{this[e(489)]()},n.ScreenSpaceEventType[e(506)])},bindHeightEvents(t){const e=pe,n=this[e(479)];this[e(515)].setInputAction(async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this[i(502)](n[i(505)],t.surfaceMode);if(t[i(521)]||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this[i(533)](r)),t.pointSurfaceTypes[i(471)](s.surfaceType),t[i(498)]=t[i(535)].map(t=>this[i(533)](t)),t[i(512)]=t[i(529)][i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t),2!==t[i(535)][i(476)]?this[i(492)](t,{phase:i(470),instruction:this.getInstruction(t[i(519)],t[i(535)].length),formattedValue:""}):this[i(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t[n(496)],{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t.pointSurfaceTypes[n(480)](),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t.dynamicPositions=[t[n(535)][0],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(478)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this.emitUpdate(t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this[e(515)][e(536)](()=>{this.clearCurrent()},n[e(531)][e(506)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=317]})(t,e)}function ge(){const t=["slice","EllipsoidGeodesic","cartesianToCartographic","terrain","13045JVbUBS","64yDNXrp","calculateSurfaceDistance","formatDistance","serializePoint","getMeasureTitle","Cesium","33435390GqZMYj","scene","map","surfaceLabel","surfaceDistance","length","2150298DLHgVq","ellipsoid","cloneCartesian","16dqxHKx","surfaceType","10938522oTJgOp","buildSampledPolyline","2824920KyrLcK","setEndPoints","224505zLlXaM","624YvEjUZ","1824016RTfVFm","isFinite","calculateCartesianDistance","reduce","segments"];return(ge=function(){return t})()}!function(){const t=me,e=ge();for(;;)try{if(984469==parseInt(t(348))/1*(-parseInt(t(342))/2)+-parseInt(t(346))/3+parseInt(t(317))/4+parseInt(t(326))/5*(parseInt(t(349))/6)+parseInt(t(344))/7+parseInt(t(327))/8*(-parseInt(t(339))/9)+parseInt(t(333))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fe={async buildLengthResult(t,e,n=[]){const i=me,s=this.getMeasurementSurfaceInfo(e,n);let r=0,o=t[i(335)](t=>this[i(341)](t)),a=[];if(s[i(343)]===i(325)){const e=await this[i(345)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e.flattenedPositions,a=e[i(321)],r=a[i(320)]((t,e)=>t+this[i(319)](e),0)}else s.surfaceType===i(334)?(a=t[i(322)](0,-1)[i(335)]((e,n)=>[this[i(341)](e),this[i(341)](t[n+1])]),r=this[i(319)](t)):(a=t.slice(0,-1).map((e,n)=>[this[i(341)](e),this.cloneCartesian(t[n+1])]),r=this[i(328)](t));return{type:"length",title:this[i(331)](i(338),s[i(343)]),surfaceType:s[i(343)],surfaceLabel:s[i(336)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(329)](r),displayPositions:o,displaySegments:a,labelPosition:o[o[i(338)]-1]||t[t[i(338)]-1],pointCount:t[i(338)],points:t[i(335)](t=>this[i(330)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(338)]<2)return{text:"",position:null};const s=this.getMeasurementSurfaceInfo(e,n)[i(343)]===i(340)?this[i(328)](t):this[i(319)](t);return{text:this[i(329)](s),position:t[t.length-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(332)];if(t[e(338)]<2)return 0;const i=new(n[e(323)]);let s=0;for(let n=0;n<t[e(338)]-1;n+=1){const r=this.cartesianToCartographic(t[n]),o=this[e(324)](t[n+1]);i[e(347)](r,o),s+=Number[e(318)](i[e(337)])?i[e(337)]:0}return s}};function Ae(t,e){const n=Ie();return(Ae=function(t,e){return n[t-=158]})(t,e)}function Ie(){const t=["35wBYKhM","getMeasurementSurfaceInfo","defined","EPSILON6","getCenterPosition","viewer","actualTerrain","subtract","buildSampledPolyline","map","Cartesian2","projectPointOntoEllipsoid","surfaceLabel","calculatePolygonArea","48uErDcP","area","magnitude","cartesianToCartographic","368229BMbStZ","24453lpBGei","cartographicToCartesian","getMeasureTitle","14994ctPyNF","13814HsSJoz","Math","formatArea","Cartesian3","PolygonPipeline","height","calculateTriangleArea","1146565xOExZK","Cesium","2661450CvQluM","center","length","reduce","891040yeFYZl","cloneCartesian","abs","fromPoints","scene","BoundingSphere","ellipsoid","surfaceType","165YiHYNS","flattenedPositions","terrain","projectPointsOntoPlane"];return(Ie=function(){return t})()}!function(){const t=Ae,e=Ie();for(;;)try{if(275055==-parseInt(t(184))/1+parseInt(t(189))/2*(parseInt(t(162))/3)+parseInt(t(202))/4+-parseInt(t(196))/5+parseInt(t(188))/6*(-parseInt(t(166))/7)+parseInt(t(180))/8*(parseInt(t(185))/9)+parseInt(t(198))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(167)](e,n);let r=t.map(t=>this[i(203)](t)),o=t[i(175)]((e,n)=>[this.cloneCartesian(e),this[i(203)](t[(n+1)%t[i(200)]])]);if(s[i(161)]===i(164)){const e=await this[i(174)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e[i(163)],o=e.segments}const a=this[i(179)](r);return{type:i(181),title:this[i(187)](i(181),s[i(161)]),surfaceType:s[i(161)],surfaceLabel:s[i(178)],actualTerrain:s[i(172)],value:a,formattedValue:this[i(191)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(170)](r),pointCount:t[i(200)],points:t[i(175)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(200)]<3?{text:"",position:null}:{text:this[e(191)](this.calculatePolygonArea(t)),position:this[e(170)](t)}},calculatePolygonArea(t){const e=Ae,n=this[e(197)];if(t[e(200)]<3)return 0;const i=n.EllipsoidTangentPlane.fromPoints(t,this[e(171)].scene.globe[e(160)])[e(165)](t);if(!i||i.length<3)return 0;const s=n[e(193)].triangulate(i);if(!s||s[e(200)]<3)return 0;let r=0;for(let n=0;n<s[e(200)];n+=3)r+=this[e(195)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(197)],r=s.Cartesian3.subtract(e,t,new(s[i(192)])),o=s[i(192)][i(173)](n,t,new(s[i(192)])),a=s.Cartesian3.cross(r,o,new(s[i(192)]));return.5*s[i(192)][i(182)](a)},getCenterPosition(t){const e=Ae,n=this[e(197)];if(0===t[e(200)])return null;if(t[e(200)]<3)return n[e(159)][e(205)](t)[e(199)];const i=n.EllipsoidTangentPlane[e(205)](t,this[e(171)][e(158)].globe[e(160)]),s=i.projectPointsOntoPlane(t);if(!s||s[e(200)]<3)return n[e(159)].fromPoints(t)[e(199)];let r=0,o=s[e(200)]-1;const a=new(n[e(176)])(0,0);for(let t=0;t<s.length;o=t,t+=1){const e=s[t],n=s[o],i=e.x*n.y-n.x*e.y;a.x+=(e.x+n.x)*i,a.y+=(e.y+n.y)*i,r+=i}if(Math[e(204)](r)<n.Math.EPSILON10)return n[e(159)][e(205)](t)[e(199)];const u=1/(3*r);a.x*=u,a.y*=u;const c=i[e(177)](a);if(!n[e(168)](c))return n[e(159)].fromPoints(t).center;const l=t[e(201)]((t,n)=>{const i=e;return t+(this[i(183)](n)[i(194)]||0)},0)/t[e(200)];if(Math[e(204)](l)<n[e(190)][e(169)])return c;const h=this[e(183)](c);return h[e(194)]=l,this[e(186)](h)}};function Me(){const t=["715338rzjJxz","18GVDuoN","65RAZoal","cloneCartesian","surfaceType","6720344idPSBy","8gMnasJ","clamp","1962LbERys","normalize","84TSnIIY","Cartesian3","subtract","248282tXQOBt","Math","getMeasurementSurfaceInfo","serializePoint","702381ZVyoYl","surfaceLabel","formatAngle","1871891uvyUHF","40690pGSdiv","getMeasureTitle","calculateAngle","dot","10632699MzVIJn","length","map","angle"];return(Me=function(){return t})()}function ve(t,e){const n=Me();return(ve=function(t,e){return n[t-=221]})(t,e)}!function(){const t=ve,e=Me();for(;;)try{if(934596==-parseInt(t(233))/1+parseInt(t(229))/2*(-parseInt(t(246))/3)+-parseInt(t(221))/4+-parseInt(t(247))/5*(parseInt(t(245))/6)+-parseInt(t(236))/7*(parseInt(t(222))/8)+-parseInt(t(224))/9*(parseInt(t(237))/10)+-parseInt(t(241))/11*(-parseInt(t(226))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const be={buildAngleResult(t,e,n=[]){const i=ve,s=this[i(231)](e,n),r=this.calculateAngle(t);return{type:i(244),title:this[i(238)](i(244),s[i(249)]),surfaceType:s[i(249)],surfaceLabel:s[i(234)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(235)](r),displayPositions:t.map(t=>this.cloneCartesian(t)),displaySegments:[[this.cloneCartesian(t[0]),this[i(248)](t[1])],[this[i(248)](t[1]),this[i(248)](t[2])]],labelPosition:t[1],pointCount:t[i(242)],points:t[i(243)](t=>this[i(232)](t))}},getAnglePreview(t){const e=ve;return t[e(242)]<3?{text:"",position:null}:{text:this[e(235)](this[e(239)](t)),position:t[1]}},calculateAngle(t){const e=ve,n=this.Cesium;if(t[e(242)]<3)return 0;const i=t[1],s=n.Cartesian3[e(225)](n[e(227)][e(228)](t[0],i,new(n[e(227)])),new(n[e(227)])),r=n[e(227)][e(225)](n[e(227)][e(228)](t[2],i,new(n[e(227)])),new(n[e(227)])),o=n.Math[e(223)](n[e(227)][e(240)](s,r),-1,1);return n[e(230)].toDegrees(Math.acos(o))}};function we(t,e){const n=Ee();return(we=function(t,e){return n[t-=300]})(t,e)}!function(){const t=we,e=Ee();for(;;)try{if(177650==parseInt(t(330))/1*(-parseInt(t(312))/2)+parseInt(t(327))/3*(-parseInt(t(309))/4)+-parseInt(t(305))/5+-parseInt(t(317))/6+parseInt(t(319))/7+parseInt(t(315))/8+-parseInt(t(323))/9*(-parseInt(t(326))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ye={buildHeightResult(t,e,n=[]){const i=we,s=this[i(335)](e,n),r=this.cloneCartesian(t[0]),o=this[i(334)](t[1]),a=this[i(322)](r,o),{heightDifference:u}=this[i(318)](r,o);return{type:i(324),title:this.getMeasureTitle("height",s[i(303)]),surfaceType:s[i(303)],surfaceLabel:s[i(328)],actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(311)](u),displayPositions:a[i(308)],displaySegments:a[i(331)],labelPosition:a[i(333)],pointCount:t[i(306)],points:t[i(321)](t=>this[i(304)](t))}},getHeightPreview(t){const e=we;if(t.length<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(318)](t[0],t[1]);return{text:e(325)+this[e(311)](i),position:n[e(333)]}},getHeightDifferenceInfo(t,e){const n=we,i=this[n(307)](t),s=this[n(307)](e),r=i[n(324)]||0,o=s[n(324)]||0;return{heightDifference:Math[n(314)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=we;return this[n(300)].Cartesian3[n(320)](t,e,new(this[n(300)][n(302)]))},buildHeightGuideShape(t,e){const n=we,i=this[n(300)],s=this[n(307)](t),r=this.cartesianToCartographic(e),o=[t,this[n(332)]({longitude:r[n(336)],latitude:r[n(310)],height:s[n(324)]||0}),e][n(329)]((t,e,s)=>{const r=n;return 0===e||!this[r(301)](t,s[e-1],i[r(313)].EPSILON6)}),a=[];for(let t=0;t<o[n(306)]-1;t+=1)a.push([this[n(334)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(306)]>=3?this[n(316)](o[1],o[2]):this[n(316)](o[0],o[o.length-1]);return{positions:o[n(321)](t=>this[n(334)](t)),segments:a,labelPosition:u}}};function Ee(){const t=["10VahqjT","1977iANcVo","surfaceLabel","filter","1hzKVhi","segments","cartographicToCartesian","labelPosition","cloneCartesian","getMeasurementSurfaceInfo","longitude","Cesium","isSamePosition","Cartesian3","surfaceType","serializePoint","174025RvupvL","length","cartesianToCartographic","positions","1876sCrPyI","latitude","formatDistance","680398dGSeVb","Math","abs","188272fljHDZ","getMidpointPosition","1516794rdSbfk","getHeightDifferenceInfo","1898218oYHAFy","midpoint","map","buildHeightGuideShape","7378344JzHHGT","height","高差:"];return(Ee=function(){return t})()}function Re(t,e){const n=Ne();return(Re=function(t,e){return n[t-=214]})(t,e)}function Ne(){const t=["pointEntities","24966FkcHTg","4178272gxFrJW","type","label","Cartesian3","5495754MTPsKK","updatePreviewLineClampState","push","RIGHT","length","pop","pointSurfaceTypes","shouldClampLineToGround","height","VerticalOrigin","7idKpOP","dynamicSurfaceTypes","show","auto","point","Cesium","getDynamicLinePositions","WHITE","2347138ThobCX","positions","getRenderableLinePositions","ZERO","FILL","5759922uygwnh","cloneCartesian","previewLineEntity","points","buildHeightGuideShape","dynamicPositions","5aoBOeT","resultLabelFont","entities","CENTER","createLineMaterial","undefined","document","text","previewLabelEntity","68103717lchjJy","line","1elNOvt","slice","Color","position","removeEntities","getColorByType","add","map","getSessionPreviewSurfaceInfo","HorizontalOrigin","viewer","surfaceType","area","CallbackProperty","previewPointEntity","Cartesian2","5829888BeVHvp","isSamePosition","2090GSVGOO"];return(Ne=function(){return t})()}!function(){const t=Re,e=Ne();for(;;)try{if(988207==parseInt(t(224))/1*(-parseInt(t(267))/2)+-parseInt(t(272))/3+-parseInt(t(245))/4*(parseInt(t(278))/5)+parseInt(t(249))/6*(-parseInt(t(259))/7)+-parseInt(t(240))/8+parseInt(t(244))/9*(parseInt(t(242))/10)+parseInt(t(222))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Se={createPreviewEntities(t){const e=Re,n=this[e(264)],i=this[e(229)](t[e(246)]),s=t[e(246)]===e(257),r=typeof globalThis[e(219)]!==e(218)&&this.shouldRenderLineViaOverlay(t[e(246)]),o=this[e(217)](t.type,i[e(223)]),a=this[e(217)](t.type,i.line,{depthFail:!0}),u=this[e(234)][e(215)][e(230)]({polyline:{positions:new(n[e(237)])(()=>this[e(269)](t[e(246)],this[e(265)](t),this[e(232)](t)[e(235)]),!1),width:4,clampToGround:this[e(256)](t[e(246)],this.getSessionPreviewSurfaceInfo(t)[e(235)]),material:o,depthFailMaterial:a}}),c=this[e(234)][e(215)][e(230)]({position:n[e(248)].ZERO,point:{pixelSize:10,color:i[e(263)],outlineColor:n.Color[e(266)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),l=this[e(234)].entities[e(230)]({position:n[e(248)][e(270)],label:{text:"",font:this[e(214)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(226)].WHITE,style:n.LabelStyle[e(271)],eyeOffset:this.labelEyeOffset,pixelOffset:s?new(n[e(239)])(-20,-8):this.resultLabelPixelOffset,horizontalOrigin:s?n[e(233)][e(252)]:n[e(233)][e(216)],verticalOrigin:s?n[e(258)][e(216)]:n[e(258)].BOTTOM,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1});t[e(274)]=u,t[e(238)]=c,t[e(221)]=l,r&&(u.show=!1),t.previewEntities[e(251)](u,c,l)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(221)])return t.surfaceMode===i(262)?(t[i(221)][i(261)]=!1,void(t[i(221)].label.text="")):e&&n?(t[i(221)][i(227)]=n,t[i(221)][i(247)].text=e,void(t[i(221)][i(261)]=!0)):(t[i(221)][i(261)]=!1,void(t[i(221)][i(247)][i(220)]=""))},showPreviewCursor(t,e){const n=Re;t[n(238)]&&(t.previewPointEntity[n(227)]=e,t[n(238)][n(261)]=!0)},hidePreviewCursor(t){const e=Re;t[e(238)]&&(t[e(238)][e(261)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t[n(275)][n(253)]<2)){for(;t.points[n(253)]>=2;){const i=t[n(275)][t[n(275)][n(253)]-1],s=t[n(275)][t[n(275)].length-2];if(!this.isSamePosition(i,e)||!this[n(241)](s,e))break;t[n(275)][n(254)](),t[n(255)].pop();const r=t[n(243)].pop();this[n(228)](r?[r]:[])}t.dynamicPositions=t[n(275)][n(231)](t=>this[n(273)](t)),t[n(260)]=t[n(255)][n(225)](),this[n(250)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(277)].length?"height"===t[e(246)]&&t[e(277)][e(253)]>1?this[e(276)](t.dynamicPositions[0],t[e(277)][1])[e(268)]:t[e(246)]===e(236)&&t[e(277)][e(253)]>1?[...t.dynamicPositions,t[e(277)][0]]:t[e(277)]:[]}};function Te(){const t=["ScreenSpaceEventType","removeEntities","devicePixelRatio","canvas","shouldRenderLineViaOverlay","setCloseButtonHover","21177882qQcYjz","measureBillboardOrigin","line","LabelStyle","RIGHT","resultLabelLineHeight","add","10DKHGVq","CallbackProperty","resultLabelFont","resultLabelPixelOffset","resultLabelPaddingTop","terrain","find","isHoveringCloseButton","Cartesian3","ScreenSpaceEventHandler","window","measurePixelOffset","background","applyCursorStyle","area","displaySegments","setInputAction","getColorByType","defined","6oXOZkR","scale","entities","handleResultCloseClick","shouldClampLineToGround","formattedValue","document","#fde68a","resultInteractionHandler","fill","1657728OoQePC","HorizontalOrigin","Cartesian2","stroke","max","left","filter","horizontal","displayPositions","FILL","ceil","460GlrXVy","points","refreshForegroundLineOverlayState","28px sans-serif","clock","resultLabelCloseGap","CENTER","position","function","push","type","3742270hpzDKN","resultLabelPaddingX","measureCloseRect","Cesium","image","width","lineWidth","labelEyeOffset","viewer","getEntityBillboardBounds","font","toDataURL","高差:","activeMeasurement","#ffffff","MOUSE_MOVE","wgs84ToWindowCoordinates","rgba(255, 255, 255, 0.96)","labelPosition","measureGroupId","createPointEntity","VerticalOrigin","split","createLineMaterial","createElement","ClassificationType","some","image/png","beginPath","removeResultGroup","textBaseline","measureBillboardSize","scene","fillStyle","measureHasCloseButton","map","260990TtxCWd","surfaceType","Color","11188hhUNkd","lineTo","height","angle","resultGroups","onRemove","BOTTOM","findIndex","includes","rgba(255, 255, 255, 0.16)","length","forEach","currentTime","177805QdQcEI","callbacks","result","createClosableLabelGraphic","getCloseButtonEntityAt","POSITIVE_INFINITY","title","vertical","drawRoundedRect","resultLabelCloseSize","moveTo","isCloseButtonHit","5132334wEXHbG","WHITE"];return(Te=function(){return t})()}function Pe(t,e){const n=Te();return(Pe=function(t,e){return n[t-=282]})(t,e)}!function(){const t=Pe,e=Te();for(;;)try{if(574412==-parseInt(t(377))/1+-parseInt(t(361))/2*(parseInt(t(293))/3)+-parseInt(t(364))/4*(-parseInt(t(314))/5)+-parseInt(t(389))/6+-parseInt(t(325))/7+-parseInt(t(303))/8+parseInt(t(397))/9*(parseInt(t(404))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Le={commitResult(t,e){const n=Pe,i=this.Cesium,s=this[n(291)](t[n(324)]),r=[],o=void 0!==globalThis.document&&this[n(395)](t.type),a=this[n(348)](t.type,s.line),u=this.createLineMaterial(t[n(324)],s[n(399)],{depthFail:!0});if(t[n(324)]===n(288)){const t=e[n(362)]!==n(409)?e[n(311)][n(360)](t=>{const e=n,s=i[e(282)].normalize(t,new(i[e(282)]));return i[e(282)][e(403)](t,i[e(282)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(282)]))}):e[n(311)];r[n(323)](this[n(333)].entities.add({polygon:{hierarchy:t,material:s[n(302)],perPositionHeight:e.surfaceType!==n(409),classificationType:e[n(362)]===n(409)?i[n(350)].TERRAIN:void 0,zIndex:e[n(362)]===n(409)?1:void 0}}))}if(!o){const s=e[n(289)]&&e[n(289)][n(374)]>0?e.displaySegments:["area"===t.type?[...e[n(311)],e[n(311)][0]]:e.displayPositions];r[n(323)](...s[n(360)](s=>this[n(333)][n(295)][n(403)]({polyline:{positions:new(i[n(405)])(()=>this.getRenderableLinePositions(t[n(324)],s,e[n(362)],{clipPoints:!0}),!1),width:4,clampToGround:this[n(297)](t[n(324)],e[n(362)]),material:a,depthFailMaterial:u}})))}return r[n(323)](...t[n(315)][n(360)](t=>this[n(345)](t))),r.push(this.createResultLabelEntity(t,e,s)),r},createResultLabelEntity(t,e,n){const i=Pe,s=this[i(328)],r=e[i(383)]+"\n"+e[i(298)],o="height"===t[i(324)];if(![i(374),i(288),i(367),i(366)][i(372)](t.type))return this[i(333)][i(295)][i(403)]({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this[i(332)],pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s.VerticalOrigin[i(370)],disableDepthTestDistance:Number.POSITIVE_INFINITY}});if(!globalThis[i(299)])return o?this[i(333)][i(295)][i(403)]({position:e.labelPosition,label:{text:i(337)+e.formattedValue,font:i(317),showBackground:!1,fillColor:s[i(363)].fromCssColorString(i(300)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(363)].WHITE,outlineWidth:4,eyeOffset:this[i(332)],pixelOffset:new(s[i(305)])(-20,-8),horizontalOrigin:s[i(304)][i(401)],verticalOrigin:s.VerticalOrigin[i(320)],disableDepthTestDistance:Number[i(382)]}}):this[i(333)][i(295)].add({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this.labelEyeOffset,pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s[i(346)][i(370)],disableDepthTestDistance:Number[i(382)]}});const a=this[i(380)](o?i(337)+e.formattedValue:r,n[i(286)]),u=o?new(s[i(305)])(-20,-8):this[i(407)],c=o?s[i(304)][i(401)]:s[i(304)].CENTER,l=o?s[i(346)].CENTER:s[i(346)][i(370)],h=this.viewer.entities.add({position:e[i(343)],billboard:{image:a[i(329)],width:a[i(330)],height:a[i(366)],horizontalOrigin:c,verticalOrigin:l,eyeOffset:this[i(332)],pixelOffset:u,disableDepthTestDistance:Number[i(382)]}});return h[i(344)]=t.id,h.measureHasCloseButton=!0,h.measureCloseRect=a.closeRect,h[i(356)]={width:a.width,height:a[i(366)]},h[i(398)]={horizontal:c,vertical:l},h[i(285)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Pe,i=t[n(347)]("\n")[n(309)](t=>""!==t),s=i.length>0?i:[""],r=document[n(349)](n(394)),o=r.getContext("2d"),a=Math[n(307)](...s[n(360)](t=>{const e=n;return o[e(335)]=this[e(406)],o.measureText(t).width})),u=Math[n(313)](2*this[n(326)]+a+this[n(319)]+this[n(386)]),c=Math[n(313)](this[n(408)]+s.length*this[n(402)]+this.resultLabelPaddingBottom),l=globalThis[n(284)]?.[n(393)]||1;r[n(330)]=Math[n(313)](u*l),r[n(366)]=Math[n(313)](c*l),o[n(294)](l,l),o[n(335)]=this[n(406)],o.textAlign=n(308),o[n(355)]="middle",this[n(385)](o,0,0,u,c,10),o[n(358)]=e?.toCssColorString?.()||"rgba(15, 23, 42, 0.92)",o[n(302)]();const h={x:u-this[n(326)]-this[n(386)],y:8,width:this[n(386)],height:this.resultLabelCloseSize};return this[n(385)](o,h.x,h.y,h[n(330)],h[n(366)],6),o.fillStyle=n(373),o.fill(),o[n(353)](),o.strokeStyle=n(342),o[n(331)]=1.6,o[n(387)](h.x+5,h.y+5),o[n(365)](h.x+h.width-5,h.y+h[n(366)]-5),o[n(387)](h.x+h.width-5,h.y+5),o.lineTo(h.x+5,h.y+h[n(366)]-5),o[n(306)](),o[n(358)]=n(339),s[n(375)]((t,e)=>{const i=n,s=this.resultLabelPaddingTop+(e+.5)*this[i(402)];o.fillText(t,this.resultLabelPaddingX,s)}),{image:r[n(336)](n(352)),width:u,height:c,closeRect:h}},initResultInteractionHandler(){const t=Pe,e=this[t(328)];this[t(301)]=new(e[t(283)])(this.viewer[t(357)][t(394)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()?this.updateCloseButtonHover(e.endPosition):this[n(396)](!1)},e[t(391)][t(340)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()&&(this[n(338)]||this[n(296)](e[n(321)]))},e.ScreenSpaceEventType.LEFT_CLICK)},handleResultCloseClick(t){const e=Pe,n=this[e(381)](t);if(!n||!n.measureHasCloseButton)return!1;const i=this[e(354)](n.measureGroupId);return i&&this[e(396)](!1),i},updateCloseButtonHover(t){const e=Pe,n=this[e(381)](t),i=Boolean(n&&n[e(359)]);this.setCloseButtonHover(i)},setCloseButtonHover(t){const e=Pe;this.isHoveringCloseButton!==t&&(this[e(411)]=t,this[e(287)]())},hasClosableResults(){const t=Pe;return this[t(368)][t(351)](e=>[t(374),t(288),"angle",t(366)][t(372)](e?.result?.[t(324)]))},getCloseButtonEntityAt(t){const e=Pe;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(295)]?.[e(410)](t=>t?.[e(359)]);if(i&&this[e(388)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Pe,i=this[n(334)](t),s=t[n(327)];if(!i||!s)return!1;const r=e.x-i.left,o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(330)]&&o>=s.y&&o<=s.y+s[n(366)]},getEntityBillboardBounds(t){const e=Pe,n=this[e(328)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(341)](this[e(333)][e(357)],i);if(!n[e(292)](s))return null;const r=t[e(356)],o=t[e(285)]||{x:0,y:0},a=t[e(398)]||{horizontal:n.HorizontalOrigin[e(320)],vertical:n.VerticalOrigin[e(370)]};let u=s.x+o.x;a[e(310)]===n[e(304)].CENTER?u-=r[e(330)]/2:a.horizontal===n[e(304)][e(401)]&&(u-=r[e(330)]);let c=s.y+o.y;return a[e(384)]===n[e(346)][e(320)]?c-=r[e(366)]/2:a[e(384)]===n[e(346)][e(370)]&&(c-=r[e(366)]),{left:u,top:c,width:r[e(330)],height:r[e(366)]}},getEntityPosition(t){const e=Pe;return t?.[e(321)]?"function"==typeof t[e(321)].getValue?t.position.getValue(this[e(333)][e(318)][e(376)]):t.position:null},removeResultGroup(t,e={}){const n=Pe,i=this[n(368)][n(371)](e=>e.id===t);if(-1===i)return!1;const[s]=this[n(368)].splice(i,1);return this[n(392)](s[n(295)]),!1!==e.notify&&typeof s.callbacks?.[n(369)]===n(322)&&s[n(378)][n(369)](s[n(379)]),this[n(316)](),!0}},ke=Be;function De(){const t=["getPointClipWorldDistance","add",'" viewBox="0 0 ',"cartographicToCartesian","#f97316","9072514GFBSuG","drawingBufferHeight","entities","#0369a1",'" height="',"trimPolylineFromStart","scene","withAlpha","context","#22c55e","closePath",'<circle cx="',"includes","ellipsoid","getPixelSize",'" cy="',"reverse","liftLinePositionsAboveSurface","Cartesian3","trimPolylineFromEnd","12760XWcsVW","join","shouldLiftLineAboveSurface","drawingBufferWidth","depthFail","pointMarkerImage","viewer","area","map","#4ade80","lerp","1EzUVFM","623vgZWXE","#fb923c","pointMarkerSize","#9a3412","height","#38bdf8","data:image/svg+xml;charset=utf-8,","pointClipPixelRadius","length",'<svg xmlns="http://www.w3.org/2000/svg" width="',"2020sUBSdj","cloneCartesian","2676USwbTg","liftPositionAboveSurface","lineTo","#166534","Math","2563866IimTPQ",'" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',"fromCssColorString","Cesium","910778LiKrBM","9PxuSyX","moveTo","camera","#f43f5e","7560220AdzcZa","isArray","calculateCartesianDistance","min","1917096stioXx","quadraticCurveTo","Color",'" r="',"slice","cartesianToCartographic","WHITE"];return(De=function(){return t})()}function Be(t,e){const n=De();return(Be=function(t,e){return n[t-=248]})(t,e)}!function(){const t=Be,e=De();for(;;)try{if(471295==-parseInt(t(257))/1*(parseInt(t(279))/2)+-parseInt(t(288))/3+parseInt(t(270))/4*(parseInt(t(268))/5)+-parseInt(t(275))/6+-parseInt(t(258))/7*(-parseInt(t(320))/8)+parseInt(t(280))/9*(parseInt(t(284))/10)+parseInt(t(300))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ge={getPointClippedSegmentPositions(t){const e=Be;if(!t||t[e(266)]<2)return t||[];const n=this[e(286)](t);if(n<=this[e(278)][e(274)].EPSILON7)return t;const i=this[e(295)](t[0]),s=this[e(295)](t[t[e(266)]-1]),r=n-.05;if(r<=0)return[];const o=Math.min(i,.5*r),a=Math[e(287)](s,.5*r),u=this.trimPolylineFromStart(t,o);return u.length<2?[]:this[e(319)](u,a)},getRenderableLinePositions(t,e,n=ke(313),i={}){const s=ke;if(!Array[s(285)](e)||0===e[s(266)])return[];const r=this[s(248)](t,n)?this[s(317)](e):e[s(254)](t=>this[s(269)](t));return i.clipPoints?this.getPointClippedSegmentPositions(r):r},shouldLiftLineAboveSurface:(t,e=ke(313))=>!1,liftLinePositionsAboveSurface(t,e=1.5){const n=ke;return t[n(254)](t=>this[n(271)](t,e))},liftPositionAboveSurface(t,e=1.5){const n=ke,i=this[n(293)](t);return i?(i[n(262)]=(i.height||0)+e,this[n(298)](i)):this[n(269)](t)},getPointClipWorldDistance(t){const e=ke,n=this[e(278)],i=this.viewer[e(306)][e(308)],s=new n.BoundingSphere(t,1),r=this.viewer[e(282)][e(314)](s,i[e(249)],i[e(301)]);return!Number.isFinite(r)||r<=0?0:r*this[e(265)]},trimPolylineFromStart(t,e){const n=ke,i=this[n(278)];if(e<=0)return t[n(254)](t=>this[n(269)](t));let s=e;for(let e=0;e<t[n(266)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(318)].distance(r,o);if(s<a){const u=s/a;return[i.Cartesian3[n(256)](r,o,u,new(i[n(318)])),...t[n(292)](e+1).map(t=>this[n(269)](t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=ke;if(e<=0)return t[n(254)](t=>this[n(269)](t));const i=t.slice()[n(316)]();return this[n(305)](i,e)[n(316)]()},shouldClampLineToGround(t,e=ke(313)){const n=ke;return(t===n(266)||t===n(253))&&e!==n(306)},createPointEntity(t){const e=ke,n=this[e(278)];return this[e(252)][e(302)][e(296)]({position:t,billboard:{image:this[e(251)],width:this[e(260)],height:this[e(260)],horizontalOrigin:n.HorizontalOrigin.CENTER,verticalOrigin:n.VerticalOrigin.CENTER,disableDepthTestDistance:Number.POSITIVE_INFINITY,eyeOffset:new(n[e(318)])(0,0,-8)}})},createPointMarkerImage(){const t=ke,e=this[t(260)],n=e/2,i=[t(267)+e+t(304)+e+t(297)+e+" "+e+'">',t(311)+n+t(315)+n+t(291)+7+t(276),"</svg>"][t(321)]("");return t(264)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=ke,a=Math[o(287)](r,i/2,s/2);t.beginPath(),t[o(281)](e+a,n),t[o(272)](e+i-a,n),t[o(289)](e+i,n,e+i,n+a),t[o(272)](e+i,n+s-a),t[o(289)](e+i,n+s,e+i-a,n+s),t[o(272)](e+a,n+s),t.quadraticCurveTo(e,n+s,e,n+s-a),t.lineTo(e,n+a),t[o(289)](e,n,e+a,n),t[o(310)]()},getColorByType(t){const e=ke,n=this[e(278)];return{length:{line:n[e(290)][e(277)](e(263)),point:n.Color.fromCssColorString("#0ea5e9"),fill:n[e(290)][e(277)](e(263)).withAlpha(.18),background:n[e(290)].fromCssColorString(e(303))[e(307)](.88)},area:{line:n[e(290)][e(277)](e(259)),point:n[e(290)][e(277)](e(299)),fill:n[e(290)][e(277)]("#fb923c")[e(307)](.28),background:n[e(290)].fromCssColorString(e(261))[e(307)](.88)},angle:{line:n.Color.fromCssColorString(e(255)),point:n[e(290)][e(277)](e(309)),fill:n[e(290)][e(277)](e(255))[e(307)](.18),background:n.Color[e(277)](e(273)).withAlpha(.88)},height:{line:n[e(290)].fromCssColorString("#f43f5e"),point:n[e(290)][e(277)]("#e11d48"),fill:n[e(290)].fromCssColorString(e(283))[e(307)](.18),background:n[e(290)].fromCssColorString("#9f1239")[e(307)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=ke;if(![i(262),"angle"][i(312)](t))return e;const s=this[i(278)];return new s.PolylineOutlineMaterialProperty({color:e,outlineColor:s.Color[i(294)][i(307)](n[i(250)]?.96:.82),outlineWidth:n[i(250)]?2:1})}};function Oe(t,e){const n=Ye();return(Oe=function(t,e){return n[t-=415]})(t,e)}!function(){const t=Oe,e=Ye();for(;;)try{if(742771==-parseInt(t(417))/1+parseInt(t(508))/2*(parseInt(t(427))/3)+-parseInt(t(519))/4+-parseInt(t(540))/5*(parseInt(t(451))/6)+-parseInt(t(433))/7*(parseInt(t(437))/8)+-parseInt(t(453))/9*(-parseInt(t(429))/10)+parseInt(t(539))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe={initForegroundLineOverlay(){const t=Oe;if(typeof document!==t(482)&&this[t(536)][t(517)]&&!this[t(532)]){if(!this.foregroundLineCanvas||!this[t(494)]){const e=document[t(530)](t(521));e[t(510)](t(458),t(538)),e.style[t(415)]="absolute",e[t(419)].inset="0",e.style[t(534)]=t(431),e.style[t(514)]="10",e.style.display=t(431),this[t(536)].container[t(492)](e),this.foregroundLineCanvas=e,this[t(494)]=e.getContext("2d")}this.viewer[t(430)][t(485)][t(468)](this[t(477)]),this[t(532)]=!0,this[t(459)]()}},destroyForegroundLineOverlay(){const t=Oe;this[t(532)]&&this.viewer?.scene?.[t(485)]&&this[t(477)]&&this[t(536)].scene.postRender[t(529)](this[t(477)]),this[t(465)]?.parentNode&&this[t(465)][t(473)][t(535)](this.foregroundLineCanvas),this[t(465)]=null,this[t(494)]=null,this[t(532)]=!1},getForegroundOverlayLineTypes(){const t=Oe;return["length",t(524),t(475),t(484)]},shouldRenderLineViaOverlay(t){const e=Oe;return this[e(439)]()[e(505)](t)},refreshForegroundLineOverlayState(){const t=Oe;this.shouldUseForegroundLineOverlay()?this[t(434)]():this[t(491)]()},shouldUseForegroundLineOverlay(){const t=Oe;return!!this.shouldRenderLineViaOverlay(this[t(533)]?.type)||this[t(441)][t(463)](e=>this[t(483)](e?.[t(499)]?.[t(486)]))},syncForegroundLineOverlaySize(){const t=Oe,e=this[t(465)],n=this[t(494)],i=this[t(536)][t(517)];if(!e||!n||!i)return null;const s=Math[t(516)](1,Math[t(469)](i[t(472)]||this.viewer[t(521)][t(472)]||1)),r=Math.max(1,Math[t(469)](i[t(481)]||this.viewer.canvas.clientHeight||1)),o=globalThis[t(544)]||1,a=Math[t(516)](1,Math[t(469)](s*o)),u=Math[t(516)](1,Math[t(469)](r*o));return(e.width!==a||e[t(484)]!==u)&&(e[t(476)]=a,e[t(484)]=u,e[t(419)][t(476)]=s+"px",e.style[t(484)]=r+"px"),n[t(501)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=Oe,e=[],n=this[t(439)]();return n.includes(this[t(533)]?.[t(486)])&&this[t(533)][t(423)].length>1&&e[t(428)](...this[t(511)](this.activeMeasurement.type,this.getDynamicLinePositions(this[t(533)]))),this[t(441)][t(435)](i=>{const s=t;i?.result&&n[s(505)](i[s(499)].type)&&e[s(428)](...this[s(511)](i[s(499)].type,i.result[s(541)],i[s(499)][s(462)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=Oe,s=this[i(515)](t)?.[i(490)];return s?(t===i(484)?[this[i(418)](e)]:n&&n[i(495)]>0?n[i(531)](t=>this.getPointClippedSegmentPositions(t)):this[i(452)](e)[i(531)](t=>this[i(418)](t))).filter(t=>Array.isArray(t)&&t[i(495)]>1).map(t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=Oe,n=[];for(let i=0;i<t[e(495)]-1;i+=1)n.push([this[e(449)](t[i]),this.cloneCartesian(t[i+1])]);return n},renderForegroundLineOverlay(){const t=Oe,e=this[t(465)],n=this[t(494)];if(!e||!n)return;const i=this.syncForegroundLineOverlaySize();if(!i)return;const s=this[t(425)]();if(e.style[t(489)]=s[t(495)]>0?t(480):"none",n.clearRect(0,0,i[t(476)],i[t(484)]),0===s[t(495)])return;s[t(435)](e=>{const i=t;this[i(455)](n,e[i(520)],e.color,e[i(476)])});const r=this[t(474)]();this.punchForegroundLabelMasks(n,r)},drawForegroundLinePath(t,e,n,i=4){const s=Oe,r=[];let o=[];e[s(435)](t=>{const e=s,n=this[e(542)](t);if(!n)return o.length>1&&r[e(428)](o),void(o=[]);o[e(428)](n)}),o.length>1&&r[s(428)](o),0!==r[s(495)]&&(t[s(523)](),t[s(456)]=s(469),t[s(416)]=s(469),r[s(435)](e=>{const r=s;t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]="rgba(255, 255, 255, 0.94)",t[r(525)]=i+3,t[r(478)](),t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]=n[r(454)](),t[r(525)]=i,t[r(478)]()}),t[s(432)]())},collectForegroundLabelMasks(){const t=Oe,e=[],n=(t,n={})=>{const i=this[Oe(467)](t,n);i&&e.push(i)};return this[t(533)]?.[t(518)]?.[t(507)]&&n(this[t(533)][t(518)],{isPreview:!0}),this[t(441)].forEach(e=>{const i=t;if(!e?.[i(471)]||0===e[i(471)][i(495)])return;const s=e.entities.find(t=>t?.[i(461)]||t?.[i(498)]);s&&!1!==s[i(507)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=Oe,i=this[n(443)];if(!t||!1===t.show)return null;const s=this[n(513)](t),r=this[n(542)](s);if(!r)return null;let o=e.isPreview?112:124,a=e.isPreview?34:38,u=i.HorizontalOrigin[n(488)],c=i[n(528)].BOTTOM,l={x:0,y:0};if(t[n(461)]&&t[n(464)])o=t[n(464)][n(476)],a=t[n(464)][n(484)],u=t.measureBillboardOrigin?.[n(497)]??i[n(470)][n(488)],c=t.measureBillboardOrigin?.[n(506)]??i[n(528)][n(426)],l=t[n(500)]||l;else if(t[n(424)]){const e=t[n(424)];o=Number(this[n(487)](e[n(476)],o))||o,a=Number(this[n(487)](e[n(484)],a))||a,u=this.resolveGraphicDynamicValue(e[n(457)],u),c=this[n(487)](e.verticalOrigin,c);const i=this.resolveGraphicDynamicValue(e[n(444)],null);i&&(l={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(498)],s=String(this[n(487)](i[n(493)],"")),r=String(this[n(487)](i[n(466)],this[n(522)]||n(460))),h=this[n(503)](s,r,e[n(496)]);o=h.width,a=h[n(484)],u=this.resolveGraphicDynamicValue(i[n(457)],u),c=this[n(487)](i.verticalOrigin,c);const p=this[n(487)](i[n(444)],null);p&&(l={x:p.x||0,y:p.y||0})}}return this[n(526)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:c,pixelOffset:l,paddingX:e.isPreview?8:10,paddingY:e[n(496)]?6:8,radius:e[n(496)]?10:12})},resolveGraphicDynamicValue(t,e){const n=Oe;return t&&"function"==typeof t[n(446)]?t.getValue(this[n(536)].clock[n(442)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=Oe,s=String(t||"").split("\n"),r=s[i(479)]((t,e)=>Math[i(516)](t,e.length),0),o=String(e||"")[i(509)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(516)](n?96:112,Math[i(512)](r*a*.64+(n?20:26))),height:Math.max(n?30:34,Math[i(512)](s[i(495)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=Oe,i=this[n(443)],s=Math[n(516)](1,Number(e[n(476)])||1),r=Math.max(1,Number(e[n(484)])||1),o=Number(e[n(444)]?.x)||0,a=Number(e.pixelOffset?.y)||0;let u=t.x+o;e[n(457)]===i[n(470)].CENTER?u-=s/2:e[n(457)]===i.HorizontalOrigin.RIGHT&&(u-=s);let c=t.y+a;e[n(436)]===i[n(528)][n(488)]?c-=r/2:e[n(436)]===i[n(528)].BOTTOM&&(c-=r);const l=Number(e[n(527)])||0,h=Number(e[n(422)])||0;return{left:u-l,top:c-h,width:s+2*l,height:r+2*h,radius:Number(e[n(545)])||10}},punchForegroundLabelMasks(t,e){const n=Oe;Array[n(450)](e)&&0!==e.length&&(t.save(),t[n(537)]="destination-out",t[n(440)]=n(445),e[n(435)](e=>{const i=n;!e||e[i(476)]<=0||e[i(484)]<=0||(this.drawRoundedRect(t,e[i(504)],e.top,e[i(476)],e[i(484)],e.radius),t.fill())}),t.restore())},projectCartesianToOverlay(t){const e=Oe,n=this.Cesium;if(!t)return null;const i=n[e(438)][e(421)](this[e(536)][e(430)],t);return n[e(448)](i)&&Number[e(543)](i.x)&&Number[e(543)](i.y)?{x:i.x,y:i.y}:null}};function Ye(){const t=["positions","canvas","resultLabelFont","save","area","lineWidth","buildOverlayMaskRect","paddingX","VerticalOrigin","removeEventListener","createElement","map","foregroundLineOverlayActive","activeMeasurement","pointerEvents","removeChild","viewer","globalCompositeOperation","true","21643589yqhAdp","15eJbfqd","displayPositions","projectCartesianToOverlay","isFinite","devicePixelRatio","radius","position","lineCap","608085wEEctY","getPointClippedSegmentPositions","style","lineTo","wgs84ToWindowCoordinates","paddingY","dynamicPositions","billboard","collectForegroundLinePaths","BOTTOM","3Lrfbxy","push","275500msKitW","scene","none","restore","1239anRnSW","initForegroundLineOverlay","forEach","verticalOrigin","50936YbqfXb","SceneTransforms","getForegroundOverlayLineTypes","fillStyle","resultGroups","currentTime","Cesium","pixelOffset","#000000","getValue","moveTo","defined","cloneCartesian","isArray","1413462FfhCvA","buildLineSegmentsFromPositions","216JWAUXJ","toCssColorString","drawForegroundLinePath","lineJoin","horizontalOrigin","aria-hidden","syncForegroundLineOverlaySize","14px sans-serif","measureHasCloseButton","displaySegments","some","measureBillboardSize","foregroundLineCanvas","font","getForegroundLabelMask","addEventListener","round","HorizontalOrigin","entities","clientWidth","parentNode","collectForegroundLabelMasks","angle","width","foregroundLineOverlayBound","stroke","reduce","block","clientHeight","undefined","shouldRenderLineViaOverlay","height","postRender","type","resolveGraphicDynamicValue","CENTER","display","line","destroyForegroundLineOverlay","appendChild","text","foregroundLineContext","length","isPreview","horizontal","label","result","measurePixelOffset","setTransform","strokeStyle","estimateLabelMaskSize","left","includes","vertical","show","2367968nkdUMc","match","setAttribute","buildForegroundPathsByType","ceil","getEntityPosition","zIndex","getColorByType","max","container","previewLabelEntity","2512948fRvyER"];return(Ye=function(){return t})()}const Ze=je;function ze(){const t=["terrain","isArray","removeEventListener","primitive","4XKSIVD","cancelScheduledMouseMoveWork","rayEllipsoid","measureKeydownHandler","forEach","0.00 m","window","maxSamples","step","24kdrSsA","pickStage","show","pick","Cartesian3","style","latitude","pickFromRayMostDetailed","undefined","pendingMoveFrameId","final","function","fromRadians"," m²","closed","3hifJNY","projectToEllipsoidSurface","Cesium","position"," km","Cartesian2","min","cancelAnimationFrame","previewLineEntity","getPickedPosition","IntersectionTests","pointer","sampleTerrainMostDetailed","clone","setCloseButtonHover","cancelled","0.00°","1725976skcPGR","isSceneSurfacePickObject","scene","map","22136730IdILko","2091744kVLEGX","measureCursorActive","EllipsoidGeodesic","distance","cartesianToCartographic","pointEntities","Math","toFixed","Cesium3DTileFeature","sampleSegment","preview","surfaceDistance","resultInteractionHandler","defined","applyCursorStyle","camera","Cesium3DTilePointFeature","length","push","requestAnimationFrame","cartographicToCartesian","canvas","pendingMoveCallback","remove","660135fcIKKk","Cesium3DTileset","render","pickFromRay","auto","start","Entity","previewLabelEntity","getPickRay","filter","Cartographic","pickEllipsoid","crosshair","defaultCursor","854140GpIcqq","previewPointEntity","withTerrain","terrainProvider","globe","Model","content","tileset","handler","lerp","ellipsoid","destroy","isHoveringCloseButton","entities","isFinite","7120935VUoUJz","cursor","ceil","1956120nxdZed","interpolateUsingFraction","viewer","EllipsoidTerrainProvider","shift","height","activeMeasurement","longitude","toDegrees","withHiddenActiveMeasurementEntities","stop","scheduleMouseMoveWork"];return(ze=function(){return t})()}function je(t,e){const n=ze();return(je=function(t,e){return n[t-=432]})(t,e)}!function(){const t=je,e=ze();for(;;)try{if(539495==parseInt(t(488))/1+-parseInt(t(502))/2*(parseInt(t(442))/3)+parseInt(t(536))/4*(-parseInt(t(520))/5)+parseInt(t(545))/6*(-parseInt(t(459))/7)+parseInt(t(464))/8+-parseInt(t(517))/9+parseInt(t(463))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fe={getPickedPosition(t,e=Ze(492),n={}){const i=Ze,s=this.Cesium;if(!t)return null;const r=n?.[i(546)]===i(437)?i(437):i(474),o=e!==i(492),a="preview"===r&&o,u=r===i(437)&&o,c=this[i(522)][i(461)],l=()=>{const e=i;if(!c.pickPositionSupported)return null;const n=this[e(529)](()=>{const n=e;c.render();const i=c[n(548)](t);if(!this[n(460)](i))return null;const r=c.pickPosition(t);return s[n(477)](r)?r:null});return s[e(477)](n)?{position:n,surfaceType:e(461)}:null},h=()=>{const e=i;if(typeof c[e(491)]!==e(438))return null;const n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;const r=this[e(529)](()=>{const t=e;c[t(490)]();const i=c[t(491)](n);return i&&this[t(460)](i.object)&&s[t(477)](i.position)?i[t(445)]:null});return s.defined(r)?{position:r,surfaceType:e(461)}:null},p=()=>(r===i(437)||a)&&h()||l(),d=()=>{const e=i;if(!this.hasTerrainProvider())return null;const n=this[e(522)][e(479)][e(496)](t);if(!s.defined(n))return null;const r=c[e(506)][e(548)](n,c);return s.defined(r)?{position:r,surfaceType:e(532)}:null},m=()=>{const e=i,n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;if(!s.IntersectionTests||typeof s[e(452)][e(538)]!==e(438))return null;const r=s[e(452)][e(538)](n,c.globe.ellipsoid);if(!s.defined(r))return null;const o=r[e(493)]>=0?r[e(493)]:r[e(530)];if(!s[e(477)](o)||o<0)return null;const a=s.Ray.getPoint(n,o);return s[e(477)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(512)}:null},g=()=>{const e=i,n=this[e(522)][e(479)][e(499)](t,c[e(506)][e(512)]);return s[e(477)](n)?{position:this[e(443)](n),surfaceType:e(512)}:null},f=()=>(a||u)&&m()||g();if(o)switch(e){case"scene":return p();case i(532):return d();case i(512):return f()}return p()||d()||f()},async getPickedPositionFinal(t,e=Ze(492)){const n=Ze,i=this[n(444)];if(!t)return null;const s=this[n(522)][n(461)],r=async()=>{const e=n;if(typeof s[e(434)]!==e(438))return null;const r=this[e(522)][e(479)][e(496)](t);if(!i.defined(r))return null;try{const t=await this.withHiddenActiveMeasurementEntitiesAsync(async()=>{const t=e;s[t(490)]();const n=await s[t(434)](r);return n&&this[t(460)](n.object)&&i[t(477)](n[t(445)])?n[t(445)]:null});return i[e(477)](t)?{position:t,surfaceType:e(461)}:null}catch{return null}};switch(e){case"terrain":return this[n(451)](t,n(532),{pickStage:n(437)});case"ellipsoid":return this[n(451)](t,n(512),{pickStage:n(437)});case n(461):return await r()||this[n(451)](t,n(461),{pickStage:n(437)});case n(492):default:return await r()||this[n(451)](t,"auto",{pickStage:"final"})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this.viewer[e(461)];return this[e(529)](()=>n[e(548)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this.activeMeasurement;if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array[e(533)](n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t[n(547)];!1!==s&&(i.push({entity:t,originalShow:s}),t[n(547)]=!1)});try{return t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(526)];if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array.isArray(n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t.show;!1!==s&&(i[n(482)]({entity:t,originalShow:s}),t.show=!1)});try{return await t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this.Cesium;if(!n.defined(t))return!1;const i=t[e(535)];if(typeof n[e(472)]!==e(435)&&t instanceof n[e(472)])return!0;if(void 0!==n.Cesium3DTilePointFeature&&t instanceof n[e(480)])return!0;if(typeof n[e(489)]!==e(435)&&i instanceof n.Cesium3DTileset)return!0;if(void 0!==n[e(507)]&&i instanceof n[e(507)])return!0;if(n[e(477)](t[e(509)])||n.defined(t[e(508)]?.[e(509)]))return!0;if(typeof n[e(494)]!==e(435)){if(t.id instanceof n[e(494)])return!1;if(i?.id instanceof n[e(494)])return!1}return!1},async buildTerrainBoundary(t){const e=Ze,n=[];for(let i=0;i<t.length;i+=1){const s=(i+1)%t[e(481)],r=(await this[e(473)](t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(462)](t=>this[e(484)](t));n[e(481)]>0&&r[e(524)](),n[e(482)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e[n(441)])?t.length:Math.max(0,t[n(481)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t.length],u=(await this.sampleSegment(i,a,e))[n(462)](t=>this[n(484)](t));s[n(482)](u),r[n(481)]>0?r[n(482)](...u.slice(1)):r[n(482)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this[i(444)],r=this.cartesianToCartographic(t),o=this.cartesianToCartographic(e),a=new(s[i(466)])(r,o),u=Number.isFinite(a[i(475)])?a.surfaceDistance:0,c=n[i(544)]||30,l=n[i(543)]||120,h=Math.max(1,Math[i(448)](l,Math[i(519)](u/c))),p=[];for(let t=0;t<=h;t+=1){const e=0===h?0:t/h;let n;n=u>0?a[i(521)](e):new(s[i(498)])(r[i(527)],r[i(433)],r[i(525)]||0),n[i(525)]=s[i(470)][i(511)](r[i(525)]||0,o[i(525)]||0,e),p[i(482)](n)}return n[i(504)]&&this.hasTerrainProvider()&&await s[i(454)](this.viewer[i(505)],p),p},calculateCartesianDistance(t){const e=Ze,n=this.Cesium;if(t[e(481)]<2)return 0;let i=0;for(let s=0;s<t.length-1;s+=1)i+=n.Cartesian3[e(467)](t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number[e(516)](t)?t>=1e3?(t/1e3)[e(471)](3)+e(446):t.toFixed(2)+" m":e(541)},formatArea(t){const e=Ze;return Number[e(516)](t)?t>=1e6?(t/1e6).toFixed(3)+" km²":t[e(471)](2)+e(440):"0.00 m²"},formatAngle(t){const e=Ze;return Number[e(516)](t)?t[e(471)](2)+"°":e(458)},hasTerrainProvider(){const t=Ze;return!(this[t(522)].terrainProvider instanceof this.Cesium[t(523)])},cartesianToCartographic(t){const e=Ze;return this.Cesium.Cartographic.fromCartesian(t,this[e(522)].scene[e(506)][e(512)])},cartographicToCartesian(t){const e=Ze;return this[e(444)][e(549)][e(439)](t[e(527)],t[e(433)],t[e(525)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(468)](t);return n.height=0,this[e(484)](n)},cloneCartesian(t){const e=Ze;return this[e(444)][e(549)].clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this.Cesium[i(549)][i(467)](t,e)<=n},serializePoint(t){const e=Ze,n=this[e(444)],i=this.cartesianToCartographic(t);return{longitude:Number(n.Math[e(528)](i[e(527)])[e(471)](6)),latitude:Number(n[e(470)][e(528)](i[e(433)])[e(471)](6)),height:Number((i[e(525)]||0)[e(471)](2))}},removeEntities(t=[]){const e=Ze;t[e(540)](t=>{const n=e;t&&this[n(522)][n(515)][n(487)](t)})},destroyHandler(){const t=Ze;this[t(537)](),this[t(539)]&&typeof globalThis.window?.removeEventListener===t(438)&&(globalThis[t(542)][t(534)]("keydown",this.measureKeydownHandler),this.measureKeydownHandler=null),this[t(510)]&&(this[t(510)][t(513)](),this[t(510)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(438)&&(typeof globalThis.requestAnimationFrame===e(438)?(this.pendingMoveCallback=t,null===this[e(436)]&&(this[e(436)]=globalThis[e(483)](()=>{const t=e;this[t(436)]=null;const n=this[t(486)];this[t(486)]=null,typeof n===t(438)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this[i(444)];if(!e||typeof n!==i(438))return;const r=s[i(447)][i(455)](e);this[i(531)](()=>{const e=i;t&&!t[e(457)]&&this[e(526)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this.pendingMoveFrameId&&"function"==typeof globalThis.cancelAnimationFrame&&globalThis[t(449)](this.pendingMoveFrameId),this.pendingMoveFrameId=null,this[t(486)]=null},destroyResultInteractionHandler(){const t=Ze;this[t(476)]&&(this[t(476)].destroy(),this.resultInteractionHandler=null),this[t(456)](!1)},setCursor(t){const e=Ze;this[e(522)][e(485)]&&(this[e(465)]=t,this[e(478)]())},applyCursorStyle(){const t=Ze;this[t(522)][t(485)]&&(this[t(514)]?this.viewer[t(485)][t(432)][t(518)]=t(453):this.viewer.canvas[t(432)][t(518)]=this[t(465)]?t(500):this[t(501)])}};var Ue=Qe;function He(){var t=["84536RNGmCh","resultInteractionHandler","bind","18nPaERM","Cesium","Cartesian2","measureKeydownHandler","handler","angle","startAreaMeasure","foregroundLineCanvas","110HBbtad","7OaIRow","assign","7701681CtJgJC","resultLabelFont","resultLabelCloseSize","foregroundLineOverlayBound","resultLabelPaddingX","resultGroups","renderForegroundLineOverlay","length","207503dRdvlr","style","pointMarkerSize","viewer","282ojYFCc","Cesium global is unavailable.","MeasureTools requires a Cesium viewer.","24OomvoA","pointClipPixelRadius","resultLabelPaddingTop","height","4618422ONhFoe","24ZQQdth","pointMarkerImage","defaultCursor","resultLabelPaddingBottom","213425gETUbb","startLengthMeasure","startAngleMeasure","resultLabelPixelOffset","foregroundLineContext","resultLabelLineHeight","startHeightMeasure","labelEyeOffset","measureCursorActive","initResultInteractionHandler","14px sans-serif","createPointMarkerImage","4749370MmdfMr","canvas","area","startMeasure","11pHcgMg"];return(He=function(){return t})()}function Qe(t,e){var n=He();return(Qe=function(t,e){return n[t-=199]})(t,e)}!function(){for(var t=Qe,e=He();;)try{if(549717==parseInt(t(199))/1+-parseInt(t(243))/2*(-parseInt(t(203))/3)+-parseInt(t(206))/4*(-parseInt(t(215))/5)+-parseInt(t(210))/6*(-parseInt(t(244))/7)+-parseInt(t(232))/8*(-parseInt(t(235))/9)+-parseInt(t(227))/10*(-parseInt(t(231))/11)+parseInt(t(211))/12*(-parseInt(t(246))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Je{constructor(t){var e=Qe;if(!t)throw new Error(e(205));if(this[e(202)]=t,this.Cesium=globalThis.Cesium,!this[e(236)])throw new Error(e(204));this[e(239)]=null,this[e(238)]=null,this[e(233)]=null,this.activeMeasurement=null,this[e(251)]=[],this[e(213)]=this[e(202)][e(228)]?.[e(200)]?.cursor||"",this[e(201)]=18,this[e(207)]=10,this[e(247)]=e(225),this[e(220)]=20,this[e(250)]=12,this[e(208)]=10,this[e(214)]=10,this[e(248)]=18,this.resultLabelCloseGap=8,this[e(218)]=new(this.Cesium[e(237)])(0,-24),this[e(222)]=new(this[e(236)].Cartesian3)(0,0,-10),this[e(223)]=!1,this.isHoveringCloseButton=!1,this.pendingMoveFrameId=null,this.pendingMoveCallback=null,this[e(242)]=null,this[e(219)]=null,this.foregroundLineOverlayActive=!1,this[e(249)]=this[e(252)][e(234)](this),this[e(212)]=this[e(226)](),this[e(224)]()}[Ue(216)](t={}){var e=Ue;return this[e(230)](e(253),t)}[Ue(241)](t={}){var e=Ue;return this[e(230)](e(229),t)}[Ue(217)](t={}){var e=Ue;return this[e(230)](e(240),t)}[Ue(221)](t={}){var e=Ue;return this[e(230)](e(209),t)}}Object[Ue(245)](Je.prototype,le,de,fe,Ce,be,ye,Se,Le,Ge,xe,Fe);const Ve=Ke;function We(){const t=['<img src="data:image/png;base64,iVB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cOatCPPmeuA4N4xhkGMIJN3DlxpzgPqIEFNsX8xwMSdoRjTewhr/cshhw7mj/Bvt7LebaDdp6Xqoed+wa9eHe+FscFkvjCB1K4t6RbLKIB1ZiuSLbxioxqZkWdt2S3CyUnuORTCFugDUt4w7daWFcRF1cri9rdClp+27iBRuTQqrat48BZYAxdKuIL0ljD+H/a+Ihm24FdhmEV0EYCEypcVsWzwu3iSTFF/aXlIxTEHZ36G1NKPsKkz2WaUq9HVbSM7228wgI+MYfrqAV+BBgAxmlEz0eKwzQAAAAASUVORK5CYII=" />',"tileProvider","length","视角相关","显示三角网","display","position","filter","wireframe","startMeasure","ScreenSpaceEventType","开启光照效果","276gBgPkY","面积测量",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJl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KiDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',"backFaceAlpha","ScreenSpaceEventHandler","drawPolygon","CesiumDevTools v1.0.4","openMouseAdsorb","getPrototypeOf","地形服务","show",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MEZDRDc1REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MEZDRDc2REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTcwRkNENzNERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTcwRkNENzRERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5NQBqvAAAA1klEQVR42mL09fVloAQwQek9QPyfRLwP2QBnNIO/AvEZApY7IhuADpKB2BSI1xLrBWRwEYhXAbEgEJcB8U9iDXgADYtyIJYB4u1QsSlQ+W9APAmIO4F4PUwTC5IBMUB8FMqeC8TmQBwPxC1AnADEhUC8DIj5gFgZiAPRDdgBxK+AmA3qAgao5pVA7A7EZ4F4OhBn4PICDxArIWkGASloOIA0h6JrRncBLlADxA5AbIlNkhgDmIHYnpiUSCrYi+wCV0rzAgO1DDhERCY6hC8Q7Uh1AUCAAQBKmDUISYZYAgAAAABJRU5ErkJggg==" />',"开启深度检测","enabled","globe","depthTestAgainstTerrain","410Uwwdir","_debug",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hA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6QTYzRjUxODFERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz70rz6OAAAAoElEQVR42mL09fVloAQwMVAIcBkgCsSHgPgzEPeQY0AlENsCMQ8QFwOxOakGvEDjs6HxLaEWMLAA8X88LvwOxLOA+DCSWA/UVSAwCWQAI4nhFo/ETiEnFrYisa8S8gI+8ACIM8nxAkYs/CcSPwZiL2wGMBLAMCADxDPJScrPkNjM5BiQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"点击相关","forEach","getCameraInfo","关闭深度检测","2151603zcIMoP","srcElement",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9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ting","取消当前测量","坐标拾取","开启地表透明","scene","关闭地表透明","关闭三角网","98361SHgRay","长度测量","118591cNyYBh","initMenu","skyAtmosphere","295dYysyV","glb模型调整","开启大气渲染",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFBMkQ4ODJBREUzQzExRUJBNkYyRDkxRkY1N0UzQjJDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFBMkQ4ODJCREUzQzExRUJBNkYyRDkxRkY1N0UzQjJDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUEyRDg4MjhERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUEyRDg4MjlERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4C7Aj+AAABHUlEQVR42mL09fVloAQwYRFzBOKDQNwDxIxQ3AMVc0RXzILFgAAgtoPiYKiYApQOBOL9+AxgBmILJL4Cmrw5VM1fdAOcoDZbA7ERHi+bAfEpID4CxBuBeB/MgHqok2HgNxDXAfFCIP4PxIlA3ADEbFALQNgAZAAsEE+g2QTS3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',"3dtile模型调整","innerHTML","_surface","12FYVOPb","requestRender","setInputAction","height","清空测量结果","20292YWafPS","关闭大气渲染","adjustGlb","terrianOpc",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE20lEQVR4AeSZXXrbIBBF426syXuypjhrSt7tnbn3KEJBaMSPAJt87WciCQ0zcw9okN0/T7/k39vb28W119fX91Zp/woACJfgZ9dOp9O5FYThAXjipf/nA4T53k/ngbOhAcyzzMzvSXsWhJvsYjZ7Y6f+YQFI1DuzPGWZ+CO7C/YJM/P2kAAQI1FnM+OdTuwZt3N7t3s4ABLxjJjd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if(602493==parseInt(t(548))/1*(parseInt(t(475))/2)+parseInt(t(531))/3+-parseInt(t(480))/4*(-parseInt(t(551))/5)+parseInt(t(503))/6*(-parseInt(t(489))/7)+-parseInt(t(485))/8+parseInt(t(546))/9*(-parseInt(t(524))/10)+parseInt(t(486))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xe{#v;#b;#w;#y;#E;#r;constructor(t){const e=Ke;this.#v=new h(t),this.#b=new A(t),this.#w=new re(t),this.#y=new u(t),this.#E=new Je(t),this.#R(this.#y),this.#R(this.#b),this.#R(this.#w),this.#r=t,console[e(535)](e(514))}#R(t){const e=Ke;Object.getOwnPropertyNames(Object[e(516)](t))[e(498)](t=>t!==e(506))[e(528)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Ke;this.#E[e(500)](t,{surfaceMode:"auto",useTerrain:!1,onComplete:t=>{const n=e;console.info(n(509),t)}})}[Ve(549)](){const t=Ve,e=[{text:t(527),icon:t(487),sub:[{text:t(541),className:"positionPick",icon:t(510),events:{click:e=>{const n=t;this.#v[n(515)]()}}},{text:t(507),icon:t(510),events:{click:e=>{const n=t;this.#v[n(513)]()}}}]},{text:"测量",icon:t(484),sub:[{text:t(547),icon:"",events:{click:e=>{const n=t;this.#N(n(493))}}},{text:t(504),icon:"",events:{click:e=>{const n=t;this.#N(n(536))}}},{text:"角度测量",icon:"",events:{click:t=>{this.#N("angle")}}},{text:"高差测量",icon:"",events:{click:e=>{const n=t;this.#N(n(478))}}},{text:t(540),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(479),icon:"",events:{click:e=>{const n=t;this.#E[n(538)]()}}}]},{text:t(494),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp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+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{this[t(529)]()}}}]},{text:t(508),icon:t(505),sub:[{text:t(469),icon:t(510),events:{click:e=>{const n=t;this.#w[n(482)]()}}},{text:t(472),icon:t(490),events:{click:t=>{this.#w.adjust3Dtile()}}}]},{text:t(517),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFBQjIxNDU4REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFBQjIxNDU5REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUFCMjE0NTZERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUFCMjE0NTdERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz49EbzzAAAAtUlEQVR42mL09fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',sub:[{text:t(495),icon:t(491),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(495)?(e.srcElement[n(473)]=n(545),this.#r[n(543)][n(522)]._surface.tileProvider[n(525)][n(499)]=!0,this.#r[n(543)][n(476)]()):(e.srcElement[n(473)]=n(495),this.#r[n(543)].globe[n(474)][n(492)][n(525)].wireframe=!1,this.#r[n(543)][n(476)]())}}},{text:t(542),className:t(483),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01p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C9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',events:{click:e=>{const n=t;e.srcElement[n(473)]===n(542)?(e[n(532)][n(473)]=n(544),this.#r.scene[n(522)][n(534)][n(521)]=!0,this.#r[n(543)].globe[n(534)].frontFaceAlpha=.2,this.#r[n(543)].globe.translucency[n(511)]=.2):(e[n(532)][n(473)]=n(542),this.#r[n(543)][n(522)][n(534)][n(521)]=!1)}}}]},{text:"场景设置",icon:t(471),sub:[{text:t(520),icon:t(519),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(520)?(e[n(532)][n(473)]=n(530),this.#r[n(543)][n(522)][n(523)]=!0):(e[n(532)][n(473)]="开启深度检测",this.#r.scene[n(522)].depthTestAgainstTerrain=!1)}}},{text:t(481),icon:t(526),events:{click:e=>{const n=t;e.srcElement[n(473)]===n(481)?(e[n(532)].innerHTML=n(470),this.#r.scene[n(550)][n(518)]=!1):(e.srcElement[n(473)]="关闭大气渲染",this.#r[n(543)][n(550)][n(518)]=!0)}}},{text:t(502),icon:t(533),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(502)?(e.srcElement.innerHTML=n(488),this.#r[n(543)][n(522)][n(539)]=!0,this.#r[n(537)]=!0):(e[n(532)].innerHTML=n(502),this.#r[n(543)][n(522)][n(539)]=!1,this.#r.shadows=!1)}}}]}];let n=new i(e,{});new(Cesium[t(512)])(this.#r[t(543)].canvas)[t(477)](e=>{const i=t;let s={clientX:e[i(497)].x,clientY:e.position.y};n[i(496)](s)},Cesium[t(501)].RIGHT_CLICK)}}function Ke(t,e){const n=We();return(Ke=function(t,e){return n[t-=469]})(t,e)}export{Xe as default};
@@ -0,0 +1,13 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode('.cm_container{\r\n position: fixed;\r\n opacity: 0;\r\n transform: scale(0);\r\n transition: transform 0.1s;\r\n transform-origin: top left;\r\n padding: 0;\r\n}\r\n\r\n.cm_container.display{\r\n opacity: 1;\r\n transform: scale(1);\r\n}\r\n\r\n.cm_container, .cm_container *{\r\n box-sizing: border-box;\r\n}\r\n\r\n.cm_container *{\r\n position: relative;\r\n}\r\n\r\n.cm_container ul{\r\n list-style-type: none;\r\n padding: 0;\r\n margin: 0;\r\n background-color: #2d2d2d;\r\n box-shadow: 0 0 5px #000000;\r\n border-radius: 1px;\r\n}\r\n\r\n.cm_container li{\n display: flex;\n align-items: center;\n padding: 5px 10px;\n padding-right: 1.7em;\n cursor: pointer;\n white-space: nowrap;\n color: #ccc;\n}\r\n\r\n.cm_container li:hover{\r\n background-color: #242424;\r\n}\r\n\r\n.cm_container li .cm_icon_span{\n flex: 0 0 1.5em;\n width: 1.5em;\n height: 1.2em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 5px;\n padding-right: 5px;\n text-align: center;\n}\n\n.cm_container li .cm_icon_span img{\n width: 16px;\n height: 16px;\n object-fit: contain;\n display: block;\n}\n\n.cm_container li .cm_sub_span{\n width: 1em;\n display: inline-block;\n text-align: center;\r\n position: absolute;\r\n top: 50%;\r\n right: 0.5em;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.cm_container li > ul{\r\n position: absolute;\r\n top: 0;\r\n left: 100%;\r\n opacity: 0;\r\n transition: opacity 0.2s;\r\n visibility: hidden;\r\n}\r\n\r\n.cm_container li:hover > ul{\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\n.cm_container li.cm_divider{\r\n border-bottom: 1px solid #aaa;\r\n margin: 5px;\r\n padding: 0;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li.cm_divider:hover{\r\n background-color: inherit;\r\n}\r\n\r\n.cm_container.cm_border_right > ul ul{\r\n left: unset;\r\n right: 100%;\r\n}\r\n\r\n.cm_container.cm_border_bottom > ul ul{\r\n top: unset;\r\n bottom: 0;\r\n}\r\n\r\n.cm_container li[disabled=""]{\r\n color: #777;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li[disabled=""]:hover{\r\n background-color: inherit;\r\n}\r\n.CatGlbMenuContainer {\r\n width: 500px;\r\n height: 400px;\r\n background-color: rgb(47, 74, 74);\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n z-index: 999999999;\r\n border-width: 0px 2px 2px 0px;\r\n border-style: inset;\r\n border-color: goldenrod;\r\n /* border: 2px solid #000; 其余边框 */\r\n border-bottom-right-radius: 10px;\r\n padding: 25px 25px 0px 25px;\r\n color: aliceblue;\r\n user-select: none;\r\n\r\n .CatMenuIdInputContainer {\r\n width: 50%;\r\n height: 20px;\r\n display: flex;\r\n\r\n .CatMenuIdInput {\r\n width: 70%;\r\n height: 100%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuIdInputButton {\r\n width: 25%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n }\r\n }\r\n\r\n .CatMenuCloseButton {\r\n width: 20px;\r\n height: 20px;\r\n position: absolute;\r\n right: 12px;\r\n top: 10px;\r\n background-color: red;\r\n color: aliceblue;\r\n font-size: 12px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n }\r\n\r\n .CatMenuItemContainer {\r\n margin-top: 20px;\r\n width: 100%;\r\n display: flex;\r\n flex-wrap: wrap;\r\n\r\n .CatMenuPropertyName {\r\n width: 17%;\r\n }\r\n\r\n .CatMenuInput {\r\n height: 20px;\r\n width: 30%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuInputMinus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n border-right: 2px #333232f8 solid;\r\n }\r\n\r\n .CatMenuInputPlus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n margin-right: 15px;\r\n }\r\n\r\n .CatMenuStepInput {\r\n width: 24%;\r\n text-align: center;\r\n }\r\n }\r\n}'));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).cesiumDevTools=e()}(this,function(){"use strict";function t(e,i){const s=n();return(t=function(t,e){return s[t-=375]})(e,i)}const e=t;function n(){const t=["clientY","getElementById","appendChild","length","default_icon","1215SOeCFR","span","default_text","height","17780232fYYRLQ","cm_","add","Parameter 1 must be of type object","object","innerHTML","remove","&#155;","classList","8145hByzOs","div","cm_border_bottom","Parameter 2 must be of type object","item","enabled","documentClick","getElementsByTagName","clientX","1463895ohzPJG","close_on_click","mouse_offset","changeOption","setAttribute","target","6996VoAwuh","innerWidth","text","style","6eWgQOc","sub","removeEventListener","undefined","createElement","Parameter 2 must be set","cm_divider","addEventListener","forEach","getProperty","Parameter 1 must be of type string","bind","932830VABbvc","string","width","cm_icon_span","click","cm_border_right","count","menu","top","events","offsetHeight","getSizes","hide","offsetWidth","disabled","22JtBoQF","sub_icon","9IjYbCe","icon","setOptions","87434zftxOd","display","close_on_resize","className","keys","left","type","resize","body","renderLevel","3688zcUyBx","DIVIDER","1762642ApXEpD"];return(n=function(){return t})()}!function(e){const n=t,i=e();for(;;)try{if(295614==parseInt(n(392))/1*(-parseInt(n(395))/2)+parseInt(n(435))/3+parseInt(n(441))/4*(-parseInt(n(413))/5)+-parseInt(n(445))/6*(parseInt(n(407))/7)+parseInt(n(405))/8*(-parseInt(n(426))/9)+-parseInt(n(375))/10*(parseInt(n(390))/11)+parseInt(n(417))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(n);class i{#t;#e;#n;#i;#s;[e(381)]=0;[e(406)];constructor(t,n){const i=e;if(this.#n=this,this.#i=this.count++,this.#t=t,this.#s=null,this.#e=n,!(t instanceof Array))throw new Error("Parameter 1 must be of type Array");if(typeof n!==i(448)){if(typeof n!==i(421))throw new Error(i(429))}else n={};window.addEventListener(i(402),()=>{const t=i;s[t(454)](n,t(397),!0)&&this[t(387)]()}),this.reload()}[e(394)](t){const n=e;if(typeof t!==n(421))throw new Error(n(420));this.#e=t}[e(438)](t,n){const i=e;if(typeof t!==i(376))throw new Error(i(455));if(typeof n===i(448))throw new Error(i(450));this.#e[t]=n}getOptions(){return this.#e}reload(){const t=e;if(null==document[t(409)]("cm_"+this.#i)){let e=document[t(449)](t(427));e[t(398)]="cm_container",e.id="cm_"+this.#i,document[t(403)][t(410)](e)}let n=document[t(409)](t(418)+this.#i);n[t(422)]="",n[t(410)](this[t(404)](this.#t))}[e(404)](t){const n=e,i=this;let r=document[n(449)]("ul");return t[n(453)](function(t){const e=n;let o=document[e(449)]("li");if(o[e(382)]=i.#n,t[e(398)]&&(o[e(398)]=t[e(398)]),typeof t.type===e(448)){let n=document[e(449)](e(414));n.className=e(378),""!=s[e(454)](t,"icon","")?n[e(422)]=s[e(454)](t,e(393),""):n.innerHTML=s[e(454)](i.#e,e(412),"");let r=document[e(449)](e(414));r.className="cm_text",""!=s[e(454)](t,e(443),"")?r[e(422)]=s[e(454)](t,"text",""):r[e(422)]=s[e(454)](i.#e,e(415),e(430));let a=document[e(449)]("span");if(a[e(398)]="cm_sub_span",void 0!==t[e(446)]&&(""!=s[e(454)](i.#e,"sub_icon","")?a[e(422)]=s[e(454)](i.#e,e(391),""):a.innerHTML=e(424)),o[e(410)](n),o[e(410)](r),o[e(410)](a),s[e(454)](t,e(431),!0)){if(typeof t[e(384)]===e(421)){let n=Object[e(399)](t.events);for(let i=0;i<n[e(411)];i++)o[e(452)](n[i],t[e(384)][n[i]])}typeof t[e(446)]!==e(448)&&o[e(410)](i[e(404)](t[e(446)]))}else o[e(439)](e(389),"")}else t[e(401)]===e(451)&&(o.className=e(451));r.appendChild(o)}),r}[e(396)](t,n){const i=e;this.#s=void 0!==n?n:t[i(440)];let r=document.getElementById(i(418)+this.#i);const o={x:t[i(434)],y:t[i(408)]},a=o.x,u=o.y,c=r[i(388)]+4,l=r[i(385)]+4,h=window[i(442)],p=window.innerHeight,d=parseInt(s.getProperty(this.#e,i(437),2));r[i(444)][i(400)]=h-a<c?h-c+"px":a+d+"px",r[i(444)][i(383)]=p-u<l?p-l+"px":u+d+"px";const m=s.getSizes(r);h-a<m[i(377)]?r[i(425)][i(419)]("cm_border_right"):r[i(425)][i(423)](i(380)),p-u<m[i(416)]?r[i(425)].add(i(428)):r[i(425)][i(423)](i(428)),r[i(425)][i(419)](i(396)),s[i(454)](this.#e,i(436),!0)&&window[i(452)](i(379),this[i(432)].bind(this))}hide(){const t=e;document[t(409)](t(418)+this.#i)[t(425)][t(423)](t(396)),window[t(447)](t(379),this[t(432)][t(456)](this))}[e(432)](){this.hide()}}let s={getProperty:function(t,n,i){const s=e;return typeof t[n]!==s(448)?t[n]:i},getSizes:function(t){const n=e;let i=t[n(433)]("li"),r=0,o=0;for(let t=0;t<i[n(411)];t++){let e=i[t];e[n(388)]>r&&(r=e[n(388)]),e[n(385)]>o&&(o=e[n(385)])}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(433)]("ul");if(typeof e[0]!==n(448)){let t=s[n(386)](e[0]);r+t.width>a&&(a=r+t[n(377)]),o+t[n(416)]>u&&(u=o+t[n(416)])}}return{width:a,height:u}}};const r=a;function o(){const t=["2844770znjibx","Cartographic","toDegrees","796sknNMt","Math","21376619LJuohJ","944124izsBpm","545NhRqLG","4cEZGeG","7EeNHRu","height","transformCnToCc","1876496UKYnKC","564180niBEOa","longitude","latitude","1101562jFYFCI","fromCartesian","9oozmep"];return(o=function(){return t})()}function a(t,e){const n=o();return(a=function(t,e){return n[t-=458]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(836423==-parseInt(e(476))/1+-parseInt(e(468))/2*(-parseInt(e(466))/3)+parseInt(e(463))/4*(-parseInt(e(467))/5)+-parseInt(e(473))/6+parseInt(e(469))/7*(-parseInt(e(472))/8)+parseInt(e(459))/9*(-parseInt(e(460))/10)+parseInt(e(465))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u{#r;constructor(t){this.#r=t}static[r(471)](t){const e=r,n=Cesium[e(461)][e(458)](t);return[Cesium[e(464)][e(462)](n[e(474)]),Cesium[e(464)].toDegrees(n[e(475)]),n[e(470)]]}}const c=p;!function(t){const e=p,n=t();for(;;)try{if(728435==-parseInt(e(308))/1*(parseInt(e(348))/2)+parseInt(e(358))/3*(parseInt(e(335))/4)+parseInt(e(301))/5+parseInt(e(300))/6*(parseInt(e(325))/7)+-parseInt(e(341))/8*(parseInt(e(330))/9)+parseInt(e(315))/10*(-parseInt(e(312))/11)+-parseInt(e(311))/12*(-parseInt(e(293))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);const l="\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t";class h{#r;#o;#a;#u;#c;#l;#h;constructor(t){this.#r=t,this.#h=[]}[c(327)](){const t=c;this[t(338)](),this.#o=new Cesium.ScreenSpaceEventHandler(this.#r.scene.canvas),this.#o[t(299)](e=>{const n=t,i=this.#p(e[n(316)]);if(i){const t=u.transformCnToCc(i);console.info(n(347)+t,l)}this[n(338)]()},Cesium[t(322)][t(359)]),this[t(333)]()}createMouseAdsorbHandle(){const t=c;this.#u=this.#r[t(349)][t(343)][t(318)](new(Cesium[t(319)]));let e=this.#u[t(318)]({position:new Cesium.Cartesian3(1,2,3),color:Cesium.Color[t(326)]});this.#a=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#a[t(299)](n=>{const i=t;if(!this.#u||this.#u[i(305)]())return;const s=this.#p(n[i(354)]);s&&(e.position=s)},Cesium[t(322)][t(297)])}#d(){const t=c;this.#o&&!this.#o[t(305)]()&&this.#o.destroy(),this.#a&&!this.#a[t(305)]()&&this.#a[t(357)](),this.#o=void 0,this.#a=void 0}#m(){const t=c;if(this.#c&&(this.#c[t(324)](e=>{const n=t;this.#r[n(352)][n(356)](e)}),this.#c=[]),this.#u&&!this.#u[t(305)]()){const e=this.#r[t(349)].primitives;e.contains(this.#u)?e[t(356)](this.#u):this.#u[t(357)]()}this.#u=void 0}[c(338)](){this.#d(),this.#m()}#p(t){const e=c,n=this.#r.scene[e(350)](t);if(Cesium[e(292)](n))return this.#r[e(349)][e(329)](t);const i=this.#r.camera.getPickRay(t);return this.#r[e(306)]instanceof Cesium[e(317)]?this.#r.camera[e(346)](t,this.#r[e(349)][e(307)].ellipsoid):this.#r[e(349)][e(307)].pick(i,this.#r[e(349)])}[c(344)](){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#o.setInputAction(n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(331)](()=>{const t=r,o=this.#p(n[t(316)]);if(o){const e=u[t(353)](o);i[t(295)](...e),s.push(o)}!e&&(e=this.#g()),2===s.length&&this.#f(),this.#A(s.at(-1))},200)},Cesium.ScreenSpaceEventType.LEFT_CLICK),this.#o[t(299)](e=>{const i=t,r=this.#p(e.endPosition);r&&(n=r,s[i(340)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium[t(322)].MOUSE_MOVE),this.#o.setInputAction(r=>{const o=t;clearTimeout(this.#l);let a,u=this.#r[o(349)].pickPosition(r[o(316)]),c=this.#r[o(349)][o(350)](r[o(316)]);if(c&&u&&!c.id)a=[1,1,1];else{let t=this.#r[o(321)][o(291)](r[o(316)]);a=this.#r[o(349)][o(307)][o(350)](t,this.#r.scene)}a&&(s[o(340)]<2?alert(o(342)):(s[o(295)](n),console[o(298)](o(304),l),console[o(339)](""+i),console[o(323)](),i=[],s=[],e=void 0,this.#h=[],this[o(338)]()))},Cesium[t(322)].LEFT_DOUBLE_CLICK)}#A(t){const e=c,n=this.#r[e(352)][e(318)]({position:t,point:{pixelSize:7,color:Cesium[e(309)][e(337)],disableDepthTestDistance:Number[e(310)]}});return this.#c[e(295)](n),n}#I(t,e){const n=c;let i=new(Cesium[n(294)])({geometry:new Cesium.GroundPolylineGeometry({positions:[Cesium[n(332)].fromDegrees(...t),Cesium.Cartesian3[n(303)](...e)],width:3})}),s=new(Cesium[n(313)])({material:Cesium[n(336)][n(320)](n(309),{color:new(Cesium[n(309)])(1,1,0,1)})}),r=new(Cesium[n(334)])({geometryInstances:i,appearance:s});return this.#r[n(349)][n(343)].add(r)}#g(){const t=c,e=this.#r[t(352)][t(318)]({polyline:{positions:new Cesium.CallbackProperty(()=>this.#h,!1),width:3,material:Cesium.Color[t(328)],clampToGround:!0}});return this.#c[t(295)](e),e}#C(t){const e=c,n=this.#r[e(352)].add({polygon:{hierarchy:t,material:Cesium[e(309)][e(345)][e(351)](.5)}});return this.#c[e(295)](n),n}#f(){const t=c,e=this.#r[t(352)][t(318)]({polygon:{hierarchy:new(Cesium[t(296)])(()=>new(Cesium[t(355)])(this.#h),!1),material:Cesium.Color[t(345)][t(351)](.5)}});return this.#c.push(e),e}}function p(t,e){const n=d();return(p=function(t,e){return n[t-=291]})(t,e)}function d(){const t=["1311MHvyat","LEFT_CLICK","getPickRay","defined","184028yXLxjY","GeometryInstance","push","CallbackProperty","MOUSE_MOVE","group","setInputAction","330dphfMZ","411755JkeWAc","canvas","fromDegrees","%c多边形坐标:","isDestroyed","terrainProvider","globe","7Rdtbjy","Color","POSITIVE_INFINITY","1524XZUZQS","44sMaCJZ","PolylineMaterialAppearance","ScreenSpaceEventHandler","1056370HIYGce","position","EllipsoidTerrainProvider","add","PointPrimitiveCollection","fromType","camera","ScreenSpaceEventType","groupEnd","forEach","76461rMIVZE","YELLOW","openMouseAdsorb","RED","pickPosition","121383PecuWW","setTimeout","Cartesian3","createMouseAdsorbHandle","GroundPolylinePrimitive","7464AmVmkv","Material","CHARTREUSE","endEvent","info","length","760AmcTJa","请选择3个及以上的点","primitives","drawPolygon","GREEN","pickEllipsoid","%c鼠标点击位置坐标:","246892fUOFjd","scene","pick","withAlpha","entities","transformCnToCc","endPosition","PolygonHierarchy","remove","destroy"];return(d=function(){return t})()}const m=f;function g(){const t=["2671031fJyqbY","getCameraInfo","9047493NVqlXf","46vyJMva","7796wWlSBy","transformCnToCc","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","%c视角位置参数:","setCameraPosition","info","setView","6QHvqcL","Cartesian3","fromDegrees","60GUKTPp","HPR角度:","9sbwJPJ","1262gUQWnV","group","position","5240557qzpKvd","7159680LnvcAh","camera","groupEnd","flyTo","849525XTGNzq"];return(g=function(){return t})()}function f(t,e){const n=g();return(f=function(t,e){return n[t-=458]})(t,e)}!function(t){const e=f,n=t();for(;;)try{if(510118==-parseInt(e(468))/1*(-parseInt(e(483))/2)+-parseInt(e(482))/3*(-parseInt(e(469))/4)+-parseInt(e(464))/5*(-parseInt(e(477))/6)+parseInt(e(459))/7+-parseInt(e(460))/8+-parseInt(e(467))/9+-parseInt(e(480))/10*(-parseInt(e(465))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class A{#r;constructor(t){this.#r=t}[m(466)](){const t=m,e=u[t(470)](this.#r[t(461)][t(458)]),{heading:n,pitch:i,roll:s}=this.#r[t(461)],r=t(471);console[t(484)](t(473),r),console.info(t(472)+[e]),console[t(475)]("笛卡尔坐标:"+[this.#r[t(461)][t(458)]]),console[t(475)](t(481)+[n,i,s]),console[t(462)]()}[m(474)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=m;n?this.#r[i(461)][i(463)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(461)][i(476)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}var I,C,M=9e15,v=1e9,b="0123456789abcdef",w="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",y="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",E={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-M,maxE:M,crypto:!1},R=!0,N="[DecimalError] ",T=N+"Invalid argument: ",S=N+"Precision limit exceeded",P=N+"crypto unavailable",L="[object Decimal]",k=Math.floor,D=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,G=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,O=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=1e7,Z=w.length-1,z=y.length-1,j={toStringTag:L};function F(t){var e,n,i,s=t.length-1,r="",o=t[0];if(s>0){for(r+=o,e=1;e<s;e++)(n=7-(i=t[e]+"").length)&&(r+=$(n)),r+=i;(n=7-(i=(o=t[e])+"").length)&&(r+=$(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return r+o}function U(t,e,n){if(t!==~~t||t<e||t>n)throw Error(T+t)}function H(t,e,n,i){var s,r,o,a;for(r=t[0];r>=10;r/=10)--e;return--e<0?(e+=7,s=0):(s=Math.ceil((e+1)/7),e%=7),r=D(10,7-e),a=t[s]%r|0,null==i?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),o=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):o=(n<4&&a+1==r||n>3&&a+1==r/2)&&(t[s+1]/r/100|0)==D(10,e-2)-1||(a==r/2||0==a)&&!(t[s+1]/r/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),o=(i||n<4)&&9999==a||!i&&n>3&&4999==a):o=((i||n<4)&&a+1==r||!i&&n>3&&a+1==r/2)&&(t[s+1]/r/1e3|0)==D(10,e-3)-1,o}function Q(t,e,n){for(var i,s,r=[0],o=0,a=t.length;o<a;){for(s=r.length;s--;)r[s]*=e;for(r[0]+=b.indexOf(t.charAt(o++)),i=0;i<r.length;i++)r[i]>n-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}j.absoluteValue=j.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),V(t)},j.ceil=function(){return V(new this.constructor(this),this.e+1,2)},j.clampedTo=j.clamp=function(t,e){var n=this,i=n.constructor;if(t=new i(t),e=new i(e),!t.s||!e.s)return new i(NaN);if(t.gt(e))throw Error(T+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new i(n)},j.comparedTo=j.cmp=function(t){var e,n,i,s,r=this,o=r.d,a=(t=new r.constructor(t)).d,u=r.s,c=t.s;if(!o||!a)return u&&c?u!==c?u:o===a?0:!o^u<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?u:a[0]?-c:0;if(u!==c)return u;if(r.e!==t.e)return r.e>t.e^u<0?1:-1;for(e=0,n=(i=o.length)<(s=a.length)?i:s;e<n;++e)if(o[e]!==a[e])return o[e]>a[e]^u<0?1:-1;return i===s?0:i>s^u<0?1:-1},j.cosine=j.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i,s;if(e.isZero())return e;(i=e.d.length)<32?s=(1/ut(4,n=Math.ceil(i/3))).toString():(n=16,s="2.3283064365386962890625e-10"),t.precision+=n,e=at(t,1,e.times(s),new t(1));for(var r=n;r--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(2==C||3==C?n.neg():n,t,e,!0)):new i(1):new i(NaN)},j.cubeRoot=j.cbrt=function(){var t,e,n,i,s,r,o,a,u,c,l=this,h=l.constructor;if(!l.isFinite()||l.isZero())return new h(l);for(R=!1,(r=l.s*D(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=F(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=D(n,1/3),t=k((t+1)/3)-(t%3==(t<0?-1:2)),(i=new h(n=r==1/0?"5e"+t:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=l.s),o=(t=h.precision)+3;;)if(c=(u=(a=i).times(a).times(a)).plus(l),i=J(c.plus(l).times(a),c.plus(u),o+2,1),F(a.d).slice(0,o)===(n=F(i.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(s||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(V(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(V(a,t+1,0),a.times(a).times(a).eq(l))){i=a;break}o+=4,s=1}return R=!0,V(i,t,h.rounding,e)},j.decimalPlaces=j.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-k(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},j.dividedBy=j.div=function(t){return J(this,new this.constructor(t))},j.dividedToIntegerBy=j.divToInt=function(t){var e=this.constructor;return V(J(this,new e(t),0,1,1),e.precision,e.rounding)},j.equals=j.eq=function(t){return 0===this.cmp(t)},j.floor=function(){return V(new this.constructor(this),this.e+1,3)},j.greaterThan=j.gt=function(t){return this.cmp(t)>0},j.greaterThanOrEqualTo=j.gte=function(t){var e=this.cmp(t);return 1==e||0===e},j.hyperbolicCosine=j.cosh=function(){var t,e,n,i,s,r=this,o=r.constructor,a=new o(1);if(!r.isFinite())return new o(r.s?1/0:NaN);if(r.isZero())return a;n=o.precision,i=o.rounding,o.precision=n+Math.max(r.e,r.sd())+4,o.rounding=1,(s=r.d.length)<32?e=(1/ut(4,t=Math.ceil(s/3))).toString():(t=16,e="2.3283064365386962890625e-10"),r=at(o,1,r.times(e),new o(1),!0);for(var u,c=t,l=new o(8);c--;)u=r.times(r),r=a.minus(u.times(l.minus(u.times(l))));return V(r,o.precision=n,o.rounding=i,!0)},j.hyperbolicSine=j.sinh=function(){var t,e,n,i,s=this,r=s.constructor;if(!s.isFinite()||s.isZero())return new r(s);if(e=r.precision,n=r.rounding,r.precision=e+Math.max(s.e,s.sd())+4,r.rounding=1,(i=s.d.length)<3)s=at(r,2,s,s,!0);else{t=(t=1.4*Math.sqrt(i))>16?16:0|t,s=at(r,2,s=s.times(1/ut(5,t)),s,!0);for(var o,a=new r(5),u=new r(16),c=new r(20);t--;)o=s.times(s),s=s.times(a.plus(o.times(u.times(o).plus(c))))}return r.precision=e,r.rounding=n,V(s,e,n,!0)},j.hyperbolicTangent=j.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,J(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},j.inverseCosine=j.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),s=n.precision,r=n.rounding;return-1!==i?0===i?e.isNeg()?q(n,s,r):new n(0):new n(NaN):e.isZero()?q(n,s+4,r).times(.5):(n.precision=s+6,n.rounding=1,e=e.asin(),t=q(n,s+4,r).times(.5),n.precision=s,n.rounding=r,t.minus(e))},j.inverseHyperbolicCosine=j.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,R=!1,n=n.times(n).minus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},j.inverseHyperbolicSine=j.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,R=!1,n=n.times(n).plus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln())},j.inverseHyperbolicTangent=j.atanh=function(){var t,e,n,i,s=this,r=s.constructor;return s.isFinite()?s.e>=0?new r(s.abs().eq(1)?s.s/0:s.isZero()?s:NaN):(t=r.precision,e=r.rounding,i=s.sd(),Math.max(i,t)<2*-s.e-1?V(new r(s),t,e,!0):(r.precision=n=i-s.e,s=J(s.plus(1),new r(1).minus(s),n+t,1),r.precision=t+4,r.rounding=1,s=s.ln(),r.precision=t,r.rounding=e,s.times(.5))):new r(NaN)},j.inverseSine=j.asin=function(){var t,e,n,i,s=this,r=s.constructor;return s.isZero()?new r(s):(e=s.abs().cmp(1),n=r.precision,i=r.rounding,-1!==e?0===e?((t=q(r,n+4,i).times(.5)).s=s.s,t):new r(NaN):(r.precision=n+6,r.rounding=1,s=s.div(new r(1).minus(s.times(s)).sqrt().plus(1)).atan(),r.precision=n,r.rounding=i,s.times(2)))},j.inverseTangent=j.atan=function(){var t,e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&h+4<=z)return(o=q(l,h+4,p).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(h+4<=z)return(o=q(l,h+4,p).times(.5)).s=c.s,o}for(l.precision=a=h+10,l.rounding=1,t=n=Math.min(28,a/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(a/7),i=1,u=c.times(c),o=new l(c),s=c;-1!==t;)if(s=s.times(u),r=o.minus(s.div(i+=2)),s=s.times(u),void 0!==(o=r.plus(s.div(i+=2))).d[e])for(t=e;o.d[t]===r.d[t]&&t--;);return n&&(o=o.times(2<<n-1)),R=!0,V(o,l.precision=h,l.rounding=p,!0)},j.isFinite=function(){return!!this.d},j.isInteger=j.isInt=function(){return!!this.d&&k(this.e/7)>this.d.length-2},j.isNaN=function(){return!this.s},j.isNegative=j.isNeg=function(){return this.s<0},j.isPositive=j.isPos=function(){return this.s>0},j.isZero=function(){return!!this.d&&0===this.d[0]},j.lessThan=j.lt=function(t){return this.cmp(t)<0},j.lessThanOrEqualTo=j.lte=function(t){return this.cmp(t)<1},j.logarithm=j.log=function(t){var e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(null==t)t=new l(10),e=!0;else{if(n=(t=new l(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new l(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new l(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)r=!0;else{for(s=n[0];s%10==0;)s/=10;r=1!==s}if(R=!1,o=st(c,a=h+5),i=e?K(l,a+10):st(t,a),H((u=J(o,i,a,1)).d,s=h,p))do{if(o=st(c,a+=10),i=e?K(l,a+10):st(t,a),u=J(o,i,a,1),!r){+F(u.d).slice(s+1,s+15)+1==1e14&&(u=V(u,h+1,0));break}}while(H(u.d,s+=10,p));return R=!0,V(u,h,p)},j.minus=j.sub=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.constructor;if(t=new m(t),!d.d||!t.d)return d.s&&t.s?d.d?t.s=-t.s:t=new m(t.d||d.s!==t.s?d:NaN):t=new m(NaN),t;if(d.s!=t.s)return t.s=-t.s,d.plus(t);if(c=d.d,p=t.d,a=m.precision,u=m.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new m(3===u?-0:0);t=new m(d)}return R?V(t,a,u):t}if(n=k(t.e/7),l=k(d.e/7),c=c.slice(),r=l-n){for((h=r<0)?(e=c,r=-r,o=p.length):(e=p,n=l,o=c.length),r>(i=Math.max(Math.ceil(a/7),o)+2)&&(r=i,e.length=1),e.reverse(),i=r;i--;)e.push(0);e.reverse()}else{for((h=(i=c.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(c[i]!=p[i]){h=c[i]<p[i];break}r=0}for(h&&(e=c,c=p,p=e,t.s=-t.s),o=c.length,i=p.length-o;i>0;--i)c[o++]=0;for(i=p.length;i>r;){if(c[--i]<p[i]){for(s=i;s&&0===c[--s];)c[s]=Y-1;--c[s],c[i]+=Y}c[i]-=p[i]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=X(c,n),R?V(t,a,u):t):new m(3===u?-0:0)},j.modulo=j.mod=function(t){var e,n=this,i=n.constructor;return t=new i(t),!n.d||!t.s||t.d&&!t.d[0]?new i(NaN):!t.d||n.d&&!n.d[0]?V(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=J(n,t.abs(),0,3,1)).s*=t.s:e=J(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},j.naturalExponential=j.exp=function(){return it(this)},j.naturalLogarithm=j.ln=function(){return st(this)},j.negated=j.neg=function(){var t=new this.constructor(this);return t.s=-t.s,V(t)},j.plus=j.add=function(t){var e,n,i,s,r,o,a,u,c,l,h=this,p=h.constructor;if(t=new p(t),!h.d||!t.d)return h.s&&t.s?h.d||(t=new p(t.d||h.s===t.s?h:NaN)):t=new p(NaN),t;if(h.s!=t.s)return t.s=-t.s,h.minus(t);if(c=h.d,l=t.d,a=p.precision,u=p.rounding,!c[0]||!l[0])return l[0]||(t=new p(h)),R?V(t,a,u):t;if(r=k(h.e/7),i=k(t.e/7),c=c.slice(),s=r-i){for(s<0?(n=c,s=-s,o=l.length):(n=l,i=r,o=c.length),s>(o=(r=Math.ceil(a/7))>o?r+1:o+1)&&(s=o,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for((o=c.length)-(s=l.length)<0&&(s=o,n=l,l=c,c=n),e=0;s;)e=(c[--s]=c[s]+l[s]+e)/Y|0,c[s]%=Y;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),R?V(t,a,u):t},j.precision=j.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(T+t);return n.d?(e=_(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},j.round=function(){var t=this,e=t.constructor;return V(new e(t),t.e+1,e.rounding)},j.sine=j.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i=e.d.length;if(i<3)return e.isZero()?e:at(t,2,e,e);n=(n=1.4*Math.sqrt(i))>16?16:0|n,e=at(t,2,e=e.times(1/ut(5,n)),e);for(var s,r=new t(5),o=new t(16),a=new t(20);n--;)s=e.times(e),e=e.times(r.plus(s.times(o.times(s).minus(a))));return e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(C>2?n.neg():n,t,e,!0)):new i(NaN)},j.squareRoot=j.sqrt=function(){var t,e,n,i,s,r,o=this,a=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!a||!a[0])return new l(!c||c<0&&(!a||a[0])?NaN:a?o:1/0);for(R=!1,0==(c=Math.sqrt(+o))||c==1/0?(((e=F(a)).length+u)%2==0&&(e+="0"),c=Math.sqrt(e),u=k((u+1)/2)-(u<0||u%2),i=new l(e=c==1/0?"5e"+u:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new l(c.toString()),n=(u=l.precision)+3;;)if(i=(r=i).plus(J(o,r,n+2,1)).times(.5),F(r.d).slice(0,n)===(e=F(i.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(s||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(V(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(V(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,V(i,u,l.rounding,t)},j.tangent=j.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,(n=n.sin()).s=1,n=J(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,V(2==C||4==C?n.neg():n,t,e,!0)):new i(NaN)},j.times=j.mul=function(t){var e,n,i,s,r,o,a,u,c,l=this,h=l.constructor,p=l.d,d=(t=new h(t)).d;if(t.s*=l.s,!(p&&p[0]&&d&&d[0]))return new h(!t.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*t.s:t.s/0);for(n=k(l.e/7)+k(t.e/7),(u=p.length)<(c=d.length)&&(r=p,p=d,d=r,o=u,u=c,c=o),r=[],i=o=u+c;i--;)r.push(0);for(i=c;--i>=0;){for(e=0,s=u+i;s>i;)a=r[s]+d[i]*p[s-i-1]+e,r[s--]=a%Y|0,e=a/Y|0;r[s]=(r[s]+e)%Y|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?V(t,h.precision,h.rounding):t},j.toBinary=function(t,e){return lt(this,2,t,e)},j.toDecimalPlaces=j.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(U(t,0,v),void 0===e?e=i.rounding:U(e,0,8),V(n,t+n.e+1,e))},j.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(U(t,0,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(U(t,0,v),void 0===e?e=r.rounding:U(e,0,8),n=W(i=V(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},j.toFraction=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.d,g=d.constructor;if(!m)return new g(d);if(c=n=new g(1),i=u=new g(0),o=(r=(e=new g(i)).e=_(m)-d.e-1)%7,e.d[0]=D(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(a=new g(t)).isInt()||a.lt(c))throw Error(T+a);t=a.gt(e)?r>0?e:c:a}for(R=!1,a=new g(F(m)),l=g.precision,g.precision=r=7*m.length*2;h=J(a,e,0,1,1),1!=(s=n.plus(h.times(i))).cmp(t);)n=i,i=s,s=c,c=u.plus(h.times(s)),u=s,s=e,e=a.minus(h.times(s)),a=s;return s=J(t.minus(n),i,0,1,1),u=u.plus(s.times(c)),n=n.plus(s.times(i)),u.s=c.s=d.s,p=J(c,i,r,1).minus(d).abs().cmp(J(u,n,r,1).minus(d).abs())<1?[c,i]:[u,n],g.precision=l,R=!0,p},j.toHexadecimal=j.toHex=function(t,e){return lt(this,16,t,e)},j.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:U(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(R=!1,n=J(n,t,0,e,1).times(t),R=!0,V(n)):(t.s=n.s,n=t),n},j.toNumber=function(){return+this},j.toOctal=function(t,e){return lt(this,8,t,e)},j.toPower=j.pow=function(t){var e,n,i,s,r,o,a=this,u=a.constructor,c=+(t=new u(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new u(D(+a,c));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return V(a,i,r);if((e=k(t.e/7))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return s=tt(u,a,n,i),t.s<0?new u(1).div(s):V(s,i,r);if((o=a.s)<0){if(e<t.d.length-1)return new u(NaN);if(1&t.d[e]||(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(e=0!=(n=D(+a,c))&&isFinite(n)?new u(n+"").e:k(c*(Math.log("0."+F(a.d))/Math.LN10+a.e+1)))>u.maxE+1||e<u.minE-1?new u(e>0?o/0:0):(R=!1,u.rounding=a.s=1,n=Math.min(12,(e+"").length),(s=it(t.times(st(a,i+n)),i)).d&&H((s=V(s,i+5,1)).d,i,r)&&(e=i+10,+F((s=V(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=V(s,i+1,0))),s.s=o,R=!0,u.rounding=r,V(s,i,r))},j.toPrecision=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,i.e<=s.toExpNeg||i.e>=s.toExpPos):(U(t,1,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toSignificantDigits=j.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(U(t,1,v),void 0===e?e=n.rounding:U(e,0,8)),V(new n(this),t,e)},j.toString=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},j.truncated=j.trunc=function(){return V(new this.constructor(this),this.e+1,1)},j.valueOf=j.toJSON=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var J=function(){function t(t,e,n){var i,s=0,r=t.length;for(t=t.slice();r--;)i=t[r]*e+s,t[r]=i%n|0,s=i/n|0;return s&&t.unshift(s),t}function e(t,e,n,i){var s,r;if(n!=i)r=n>i?1:-1;else for(s=r=0;s<n;s++)if(t[s]!=e[s]){r=t[s]>e[s]?1:-1;break}return r}function n(t,e,n,i){for(var s=0;n--;)t[n]-=s,s=t[n]<e[n]?1:0,t[n]=s*i+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,s,r,o,a,u){var c,l,h,p,d,m,g,f,A,C,M,v,b,w,y,E,R,N,T,S,P=i.constructor,L=i.s==s.s?1:-1,D=i.d,B=s.d;if(!(D&&D[0]&&B&&B[0]))return new P(i.s&&s.s&&(D?!B||D[0]!=B[0]:B)?D&&0==D[0]||!B?0*L:L/0:NaN);for(u?(d=1,l=i.e-s.e):(u=Y,d=7,l=k(i.e/d)-k(s.e/d)),T=B.length,R=D.length,C=(A=new P(L)).d=[],h=0;B[h]==(D[h]||0);h++);if(B[h]>(D[h]||0)&&l--,null==r?(w=r=P.precision,o=P.rounding):w=a?r+(i.e-s.e)+1:r,w<0)C.push(1),m=!0;else{if(w=w/d+2|0,h=0,1==T){for(p=0,B=B[0],w++;(h<R||p)&&w--;h++)y=p*u+(D[h]||0),C[h]=y/B|0,p=y%B|0;m=p||h<R}else{for((p=u/(B[0]+1)|0)>1&&(B=t(B,p,u),D=t(D,p,u),T=B.length,R=D.length),E=T,v=(M=D.slice(0,T)).length;v<T;)M[v++]=0;(S=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(c=e(B,M,T,v))<0?(b=M[0],T!=v&&(b=b*u+(M[1]||0)),(p=b/N|0)>1?(p>=u&&(p=u-1),1==(c=e(g=t(B,p,u),M,f=g.length,v=M.length))&&(p--,n(g,T<f?S:B,f,u))):(0==p&&(c=p=1),g=B.slice()),(f=g.length)<v&&g.unshift(0),n(M,g,v,u),-1==c&&(c=e(B,M,T,v=M.length))<1&&(p++,n(M,T<v?S:B,v,u)),v=M.length):0===c&&(p++,M=[0]),C[h++]=p,c&&M[0]?M[v++]=D[E]||0:(M=[D[E]],v=1)}while((E++<R||void 0!==M[0])&&w--);m=void 0!==M[0]}C[0]||C.shift()}if(1==d)A.e=l,I=m;else{for(h=1,p=C[0];p>=10;p/=10)h++;A.e=h+l*d-1,V(A,a?r+A.e+1:r,o,m)}return A}}();function V(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(s=1,a=h[0];a>=10;a/=10)s++;if((r=e-s)<0)r+=7,o=e,u=(l=h[p=0])/D(10,s-o-1)%10|0;else if((p=Math.ceil((r+1)/7))>=(a=h.length)){if(!i)break t;for(;a++<=p;)h.push(0);l=u=0,s=1,o=(r%=7)-7+1}else{for(l=a=h[p],s=1;a>=10;a/=10)s++;u=(o=(r%=7)-7+s)<0?0:l/D(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?l:l%D(10,s-o-1)),c=n<4?(u||i)&&(0==n||n==(t.s<0?3:2)):u>5||5==u&&(4==n||i||6==n&&(r>0?o>0?l/D(10,s-o):0:h[p-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=D(10,(7-e%7)%7),t.e=-e||0):h[0]=t.e=0,t;if(0==r?(h.length=p,a=1,p--):(h.length=p+1,a=D(10,7-r),h[p]=o>0?(l/D(10,s-o)%D(10,o)|0)*a:0),c)for(;;){if(0==p){for(r=1,o=h[0];o>=10;o/=10)r++;for(o=h[0]+=a,a=1;o>=10;o/=10)a++;r!=a&&(t.e++,h[0]==Y&&(h[0]=1));break}if(h[p]+=a,h[p]!=Y)break;h[p--]=0,a=1}for(r=h.length;0===h[--r];)h.pop()}return R&&(t.e>d.maxE?(t.d=null,t.e=NaN):t.e<d.minE&&(t.e=0,t.d=[0])),t}function W(t,e,n){if(!t.isFinite())return rt(t);var i,s=t.e,r=F(t.d),o=r.length;return e?(n&&(i=n-o)>0?r=r.charAt(0)+"."+r.slice(1)+$(i):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(t.e<0?"e":"e+")+t.e):s<0?(r="0."+$(-s-1)+r,n&&(i=n-o)>0&&(r+=$(i))):s>=o?(r+=$(s+1-o),n&&(i=n-s-1)>0&&(r=r+"."+$(i))):((i=s+1)<o&&(r=r.slice(0,i)+"."+r.slice(i)),n&&(i=n-o)>0&&(s+1===o&&(r+="."),r+=$(i))),r}function X(t,e){var n=t[0];for(e*=7;n>=10;n/=10)e++;return e}function K(t,e,n){if(e>Z)throw R=!0,n&&(t.precision=n),Error(S);return V(new t(w),e,1,!0)}function q(t,e,n){if(e>z)throw Error(S);return V(new t(y),e,n,!0)}function _(t){var e=t.length-1,n=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function $(t){for(var e="";t--;)e+="0";return e}function tt(t,e,n,i){var s,r=new t(1),o=Math.ceil(i/7+4);for(R=!1;;){if(n%2&&ht((r=r.times(e)).d,o)&&(s=!0),0===(n=k(n/2))){n=r.d.length-1,s&&0===r.d[n]&&++r.d[n];break}ht((e=e.times(e)).d,o)}return R=!0,r}function et(t){return 1&t.d[t.d.length-1]}function nt(t,e,n){for(var i,s=new t(e[0]),r=0;++r<e.length;){if(!(i=new t(e[r])).s){s=i;break}s[n](i)&&(s=i)}return s}function it(t,e){var n,i,s,r,o,a,u,c=0,l=0,h=0,p=t.constructor,d=p.rounding,m=p.precision;if(!t.d||!t.d[0]||t.e>17)return new p(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(R=!1,u=m):u=e,a=new p(.03125);t.e>-2;)t=t.times(a),h+=5;for(u+=i=Math.log(D(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=V(r.times(t),u,1),n=n.times(++l),F((a=o.plus(J(r,n,u,1))).d).slice(0,u)===F(o.d).slice(0,u)){for(s=h;s--;)o=V(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(c<3&&H(o.d,u-i,d,c)))return V(o,p.precision=m,d,R=!0);p.precision=u+=10,n=r=a=new p(1),l=0,c++}o=a}}function st(t,e){var n,i,s,r,o,a,u,c,l,h,p,d=1,m=t,g=m.d,f=m.constructor,A=f.rounding,I=f.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new f(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==e?(R=!1,l=I):l=e,f.precision=l+=10,i=(n=F(g)).charAt(0),!(Math.abs(r=m.e)<15e14))return c=K(f,l+2,I).times(r+""),m=st(new f(i+"."+n.slice(1)),l-10).plus(c),f.precision=I,null==e?V(m,I,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=F((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new f("0."+n),r++):m=new f(i+"."+n.slice(1)),h=m,u=o=m=J(m.minus(1),m.plus(1),l,1),p=V(m.times(m),l,1),s=3;;){if(o=V(o.times(p),l,1),F((c=u.plus(J(o,new f(s),l,1))).d).slice(0,l)===F(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(K(f,l+2,I).times(r+""))),u=J(u,new f(d),l,1),null!=e)return f.precision=I,u;if(!H(u.d,l-10,A,a))return V(u,f.precision=I,A,R=!0);f.precision=l+=10,c=o=m=J(h.minus(1),h.plus(1),l,1),p=V(m.times(m),l,1),s=a=1}u=c,s+=2}}function rt(t){return String(t.s*t.s/0)}function ot(t,e){var n,i,s;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(s=e.length;48===e.charCodeAt(s-1);--s);if(e=e.slice(i,s)){if(s-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%7,n<0&&(i+=7),i<s){for(i&&t.d.push(+e.slice(0,i)),s-=7;i<s;)t.d.push(+e.slice(i,i+=7));i=7-(e=e.slice(i)).length}else i-=s;for(;i--;)e+="0";t.d.push(+e),R&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function at(t,e,n,i,s){var r,o,a,u,c=t.precision,l=Math.ceil(c/7);for(R=!1,u=n.times(n),a=new t(i);;){if(o=J(a.times(u),new t(e++*e++),c,1),a=s?i.plus(o):i.minus(o),i=J(o.times(u),new t(e++*e++),c,1),void 0!==(o=a.plus(i)).d[l]){for(r=l;o.d[r]===a.d[r]&&r--;);if(-1==r)break}r=a,a=i,i=o,o=r}return R=!0,o.d.length=l+1,o}function ut(t,e){for(var n=t;--e;)n*=t;return n}function ct(t,e){var n,i=e.s<0,s=q(t,t.precision,1),r=s.times(.5);if((e=e.abs()).lte(r))return C=i?4:1,e;if((n=e.divToInt(s)).isZero())C=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return C=et(n)?i?2:3:i?4:1,e;C=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function lt(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor,m=void 0!==n;if(m?(U(n,1,v),void 0===i?i=d.rounding:U(i,0,8)):(n=d.precision,i=d.rounding),t.isFinite()){for(m?(s=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):s=e,(o=(l=W(t)).indexOf("."))>=0&&(l=l.replace(".",""),(p=new d(1)).e=l.length-o,p.d=Q(W(p),10,s),p.e=p.d.length),r=u=(h=Q(l,10,s)).length;0==h[--u];)h.pop();if(h[0]){if(o<0?r--:((t=new d(t)).d=h,t.e=r,h=(t=J(t,p,n,i,0,s)).d,r=t.e,c=I),o=h[n],a=s/2,c=c||void 0!==h[n+1],c=i<4?(void 0!==o||c)&&(0===i||i===(t.s<0?3:2)):o>a||o===a&&(4===i||c||6===i&&1&h[n-1]||i===(t.s<0?8:7)),h.length=n,c)for(;++h[--n]>s-1;)h[n]=0,n||(++r,h.unshift(1));for(u=h.length;!h[u-1];--u);for(o=0,l="";o<u;o++)l+=b.charAt(h[o]);if(m){if(u>1)if(16==e||8==e){for(o=16==e?4:3,--u;u%o;u++)l+="0";for(u=(h=Q(l,s,e)).length;!h[u-1];--u);for(o=1,l="1.";o<u;o++)l+=b.charAt(h[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(++r>u)for(r-=u;r--;)l+="0";else r<u&&(l=l.slice(0,r)+"."+l.slice(r))}else l=m?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=rt(t);return t.s<0?"-"+l:l}function ht(t,e){if(t.length>e)return t.length=e,!0}function pt(t){return new this(t).abs()}function dt(t){return new this(t).acos()}function mt(t){return new this(t).acosh()}function gt(t,e){return new this(t).plus(e)}function ft(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function It(t){return new this(t).atan()}function Ct(t){return new this(t).atanh()}function Mt(t,e){t=new this(t),e=new this(e);var n,i=this.precision,s=this.rounding,r=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?q(this,i,s):new this(0)).s=t.s:!t.d||e.isZero()?(n=q(this,r,1).times(.5)).s=t.s:e.s<0?(this.precision=r,this.rounding=1,n=this.atan(J(t,e,r,1)),e=q(this,r,1),this.precision=i,this.rounding=s,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(J(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function vt(t){return new this(t).cbrt()}function bt(t){return V(t=new this(t),t.e+1,2)}function wt(t,e,n){return new this(t).clamp(e,n)}function yt(t){if(!t||"object"!=typeof t)throw Error(N+"Object expected");var e,n,i,s=!0===t.defaults,r=["precision",1,v,"rounding",0,8,"toExpNeg",-M,0,"toExpPos",0,M,"maxE",0,M,"minE",-M,0,"modulo",0,9];for(e=0;e<r.length;e+=3)if(n=r[e],s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!(k(i)===i&&i>=r[e+1]&&i<=r[e+2]))throw Error(T+n+": "+i);this[n]=i}if(n="crypto",s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(T+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(P);this[n]=!0}else this[n]=!1}return this}function Et(t){return new this(t).cos()}function Rt(t){return new this(t).cosh()}function Nt(t,e){return new this(t).div(e)}function Tt(t){return new this(t).exp()}function St(t){return V(t=new this(t),t.e+1,3)}function Pt(){var t,e,n=new this(0);for(R=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return R=!0,new this(1/0);n=e}return R=!0,n.sqrt()}function Lt(t){return t instanceof _t||t&&t.toStringTag===L||!1}function kt(t){return new this(t).ln()}function Dt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Gt(t){return new this(t).log(10)}function Ot(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function Yt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function zt(t,e){return new this(t).pow(e)}function jt(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:U(t,1,v),i=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));r<i;)(s=e[r])>=429e7?e[r]=crypto.getRandomValues(new Uint32Array(1))[0]:a[r++]=s%1e7;else{if(!crypto.randomBytes)throw Error(P);for(e=crypto.randomBytes(i*=4);r<i;)(s=e[r]+(e[r+1]<<8)+(e[r+2]<<16)+((127&e[r+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,r):(a.push(s%1e7),r+=4);r=i/4}else for(;r<i;)a[r++]=1e7*Math.random()|0;for(t%=7,(i=a[--r])&&t&&(s=D(10,7-t),a[r]=(i/s|0)*s);0===a[r];r--)a.pop();if(r<0)n=0,a=[0];else{for(n=-1;0===a[0];n-=7)a.shift();for(i=1,s=a[0];s>=10;s/=10)i++;i<7&&(n-=7-i)}return o.e=n,o.d=a,o}function Ft(t){return V(t=new this(t),t.e+1,this.rounding)}function Ut(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ht(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Jt(t){return new this(t).sqrt()}function Vt(t,e){return new this(t).sub(e)}function Wt(){var t=0,e=arguments,n=new this(e[t]);for(R=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return R=!0,V(n,this.precision,this.rounding)}function Xt(t){return new this(t).tan()}function Kt(t){return new this(t).tanh()}function qt(t){return V(t=new this(t),t.e+1,1)}j[Symbol.for("nodejs.util.inspect.custom")]=j.toString,j[Symbol.toStringTag]="Decimal";var _t=j.constructor=function t(e){var n,i,s;function r(t){var e,n,i,s=this;if(!(s instanceof r))return new r(t);if(s.constructor=r,Lt(t))return s.s=t.s,void(R?!t.d||t.e>r.maxE?(s.e=NaN,s.d=null):t.e<r.minE?(s.e=0,s.d=[0]):(s.e=t.e,s.d=t.d.slice()):(s.e=t.e,s.d=t.d?t.d.slice():t.d));if("number"==(i=typeof t)){if(0===t)return s.s=1/t<0?-1:1,s.e=0,void(s.d=[0]);if(t<0?(t=-t,s.s=-1):s.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(R?e>r.maxE?(s.e=NaN,s.d=null):e<r.minE?(s.e=0,s.d=[0]):(s.e=e,s.d=[t]):(s.e=e,s.d=[t]))}return 0*t!=0?(t||(s.s=NaN),s.e=NaN,void(s.d=null)):ot(s,t.toString())}if("string"!==i)throw Error(T+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),s.s=-1):(43===n&&(t=t.slice(1)),s.s=1),x.test(t)?ot(s,t):function(t,e){var n,i,s,r,o,a,u,c,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),x.test(e))return ot(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(G.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!O.test(e))throw Error(T+e);n=8}for((r=e.search(/p/i))>0?(u=+e.slice(r+1),e=e.substring(2,r)):e=e.slice(2),o=(r=e.indexOf("."))>=0,i=t.constructor,o&&(r=(a=(e=e.replace(".","")).length)-r,s=tt(i,new i(n),r,2*r)),r=l=(c=Q(e,n,Y)).length-1;0===c[r];--r)c.pop();return r<0?new i(0*t.s):(t.e=X(c,l),t.d=c,R=!1,o&&(t=J(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?D(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=j,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=yt,r.clone=t,r.isDecimal=Lt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=gt,r.asin=ft,r.asinh=At,r.atan=It,r.atanh=Ct,r.atan2=Mt,r.cbrt=vt,r.ceil=bt,r.clamp=wt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=Tt,r.floor=St,r.hypot=Pt,r.ln=kt,r.log=Dt,r.log10=Gt,r.log2=Bt,r.max=Ot,r.min=xt,r.mod=Yt,r.mul=Zt,r.pow=zt,r.random=jt,r.round=Ft,r.sign=Ut,r.sin=Ht,r.sinh=Qt,r.sqrt=Jt,r.sub=Vt,r.sum=Wt,r.tan=Xt,r.tanh=Kt,r.trunc=qt,void 0===e&&(e={}),e&&!0!==e.defaults)for(s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<s.length;)e.hasOwnProperty(i=s[n++])||(e[i]=this[i]);return r.config(e),r}(E);w=new _t(w),y=new _t(y);const $t=ee;function te(){const t=["CatMenuHeiInputPlus","调用成功","removeMenuEvent","CatMenuLatInput","parseFromString","CatMenuLonInputMinus","CatMenuRollInputMinus","getInputNumber","text/html","Matrix3","CatScaleStep","CatRollStep","CatMenuHeadingInputMinus","4206796BGPULj","的对象","transformCnToCc","position","confirmEventGlb","1792104QGZfET","869834ZPGngl","CatPitchStep","getById","CatLatitude","scale","addEventListener","changeScale","CatLongitude","CatPitch","CatRoll","CatMenuRollStepInput","value","parentNode","CatHeadingStep",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'3dtile的url\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"CatMenuLatInputMinus","没有找到url为","CatMenuPitchInput","CatMenuHeadingStepInput","roll","isFinite","sub","CatMenuHeiInputMinus","toNumber","fromRotationX","toRadians","CatMenuScaleInputPlus","6ZPxftx","CatMenuLonStepInput","model","change3dtilePos","fromRotationTranslation","Matrix4","CatScale","center","CatMenuRollInputPlus","_primitives","CatLongitudeStep","CatMenuLatInputPlus","create3DtileMenu","CatHeading","bindEvent3Dtile","没有找到id为","toDegrees","log","8540kjGgiE","CatMenuLonInputPlus","CatMenuHeiInput","8irRIjU","CatEntity","bindEventGLB","1622QYVZxq","6rhjXJE","CatMenuIdInput","confirmEvent3Dtile","removeChild","CatGlbMenuContainer","click","1206AJQkkp","multiply",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'glb模型的id\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"appendChild","CatMenuLonInput","CatHeightStep","onchange","CatMenuPitchStepInput","CatMenuPitchInputMinus","Transforms","CatLatitudeStep","CatMenuIdInputButton","now","CatMenuHeiStepInput","changeHPR","defineProperty","_value","body","changeEntityPos","target","287307CNpNTf","CatMenuLatStepInput","fromRotationZ","scene","CatMenuPitchInputPlus","getElementsByClassName","fromScale","CatMenuHeadingInput","heading","fixedFrameToHeadingPitchRoll","onclick","CatMenuScaleStepInput","createEvent","CatMenuCloseButton","HeadingPitchRoll","Math","1300665ZchgyK","CatMenuScaleInput","Cartesian3","fromDegrees","entities","CatMenuRollInput","CatHeight"];return(te=function(){return t})()}function ee(t,e){const n=te();return(ee=function(t,e){return n[t-=468]})(t,e)}!function(t){const e=ee,n=t();for(;;)try{if(140086==-parseInt(e(560))/1*(parseInt(e(559))/2)+parseInt(e(586))/3*(-parseInt(e(556))/4)+-parseInt(e(482))/5+parseInt(e(535))/6*(-parseInt(e(508))/7)+parseInt(e(507))/8+-parseInt(e(566))/9*(-parseInt(e(553))/10)+parseInt(e(502))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ne{#r;[$t(557)];[$t(515)]={};[$t(545)]=1e-4;[$t(511)]={};CatLatitudeStep=1e-4;[$t(488)]={};[$t(571)]=.1;[$t(548)]={};[$t(521)]=1;[$t(516)]={};[$t(509)]=1;[$t(517)]={};CatRollStep=1;[$t(541)]={};[$t(499)]=.1;constructor(t){this.#r=t}[$t(496)](t){const e=$t,n=Number(document[e(471)](t)[0][e(519)]);return Number[e(528)](n)?n:0}createGlbMenu(){const t=$t;console[t(552)](t(490));const e=t(568);let n=(new DOMParser)[t(493)](e,t(497)).getElementsByClassName(t(564))[0];document[t(583)][t(569)](n),this[t(491)]("CatGlbMenuContainer"),this[t(506)](),this.bindEventGLB()}[$t(558)](){const t=$t;this.createEvent(this[t(515)],t(570),t(554),"CatMenuLonInputMinus","CatMenuLonStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(511)],"CatMenuLatInput",t(546),t(523),"CatMenuLatStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(488)],t(555),t(489),"CatMenuHeiInputMinus",t(579),()=>{this[t(584)]()}),this.createEvent(this[t(548)],"CatMenuHeadingInput","CatMenuHeadingInputPlus","CatMenuHeadingInputMinus",t(526),()=>{this[t(580)]()}),this[t(478)](this.CatPitch,t(525),t(470),t(574),t(573),()=>{this[t(580)]()}),this[t(478)](this[t(517)],t(487),t(543),t(495),t(518),()=>{this.changeHPR()}),this.createEvent(this.CatScale,t(483),"CatMenuScaleInputPlus","CatMenuScaleInputMinus",t(477),()=>{this[t(514)]()})}[$t(478)](t,e,n,i,s,r){const o=$t,a=document[o(471)](e)[0];Object[o(581)](t,o(519),{get(){return this._value},set(t){this[o(582)]=t,a.value=t,r()}}),a[o(572)]=e=>{const n=o;t[n(519)]=e[n(585)][n(519)]};const u=document.getElementsByClassName(n)[0],c=document[o(471)](i)[0];u[o(476)]=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(519)];t.value=_t(a[e(519)]).add(_t(n))[e(531)]()},c.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0].value;t[e(519)]=_t(a[e(519)])[e(529)](_t(n)).toNumber()}}changeEntityPos(){const t=$t,e=this[t(496)](t(570)),n=this[t(496)](t(492)),i=this[t(496)](t(555));this.CatEntity[t(505)]=Cesium[t(484)][t(485)](e,n,i)}[$t(580)](){const t=$t,e=this.CatEntity.position[t(582)],n=Cesium.Math[t(533)](Number(document[t(471)](t(473))[0].value)),i=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuPitchInput")[0][t(519)])),s=Cesium[t(481)][t(533)](Number(document[t(471)](t(487))[0][t(519)])),r=new(Cesium[t(480)])(n,i,s);let o=Cesium[t(575)].headingPitchRollQuaternion(e,r);this.CatEntity.orientation=o}[$t(514)](){const t=$t,e=this[t(496)](t(483));this[t(557)].model[t(512)]=e}[$t(506)](){const t=$t;document[t(471)](t(577))[0][t(513)]("click",()=>{const e=t,n=document[e(471)](e(561))[0][e(519)],i=this.#r[e(486)][e(510)](n);if(i){this[e(557)]=i;const t=u[e(504)](i.position[e(582)]);document[e(471)](e(570))[0].value=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document[e(471)](e(555))[0].value=t[2],document.getElementsByClassName("CatMenuLonStepInput")[0][e(519)]=this[e(545)],document[e(471)](e(587))[0][e(519)]=this[e(576)],document[e(471)](e(579))[0][e(519)]=this[e(571)];const n=i.computeModelMatrix(Cesium.JulianDate[e(578)]()),s=Cesium[e(575)][e(475)](n);document[e(471)](e(473))[0].value=Cesium[e(481)][e(551)](s[e(474)]),document.getElementsByClassName("CatMenuPitchInput")[0][e(519)]=Cesium[e(481)][e(551)](s.pitch),document[e(471)](e(487))[0].value=Cesium.Math[e(551)](s[e(527)]),document[e(471)]("CatMenuHeadingStepInput")[0][e(519)]=this[e(521)],document[e(471)]("CatMenuPitchStepInput")[0][e(519)]=this[e(509)],document.getElementsByClassName(e(518))[0].value=this[e(500)],document[e(471)](e(483))[0].value=i[e(537)][e(512)]||1,document[e(471)]("CatMenuScaleStepInput")[0][e(519)]=this[e(499)]}else alert(e(550)+n+e(503))})}removeMenuEvent(t){const e=$t;let n=document.getElementsByClassName(e(564))[0],i=document[e(471)](e(479))[0];t?i.addEventListener(e(565),()=>{const t=e;n.parentNode[t(563)](n)}):(this[e(557)]=null,n[e(520)][e(563)](n))}[$t(547)](){const t=$t;console[t(552)](t(490));const e=t(522);let n=(new DOMParser)[t(493)](e,"text/html")[t(471)](t(564))[0];document[t(583)][t(569)](n),this[t(491)](t(564)),this[t(562)](),this.bindEvent3Dtile()}[$t(549)](){const t=$t;this.createEvent(this[t(515)],"CatMenuLonInput","CatMenuLonInputPlus",t(494),t(536),()=>{this.change3dtilePos()}),this[t(478)](this[t(511)],t(492),"CatMenuLatInputPlus","CatMenuLatInputMinus","CatMenuLatStepInput",()=>{this[t(538)]()}),this.createEvent(this[t(488)],"CatMenuHeiInput",t(489),t(530),t(579),()=>{this.change3dtilePos()}),this[t(478)](this[t(548)],t(473),"CatMenuHeadingInputPlus",t(501),t(526),()=>{this[t(538)]()}),this[t(478)](this[t(516)],t(525),t(470),t(574),"CatMenuPitchStepInput",()=>{this[t(538)]()}),this[t(478)](this[t(517)],t(487),"CatMenuRollInputPlus",t(495),t(518),()=>{this[t(538)]()}),this[t(478)](this[t(541)],t(483),t(534),"CatMenuScaleInputMinus",t(477),()=>{this[t(538)]()})}[$t(538)](){const t=$t,e=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuHeadingInput")[0].value)),n=Cesium.Math[t(533)](Number(document[t(471)](t(525))[0][t(519)])),i=Cesium[t(481)][t(533)](Number(document.getElementsByClassName("CatMenuRollInput")[0].value));let s=Cesium[t(498)][t(532)](e),r=Cesium[t(498)].fromRotationY(n),o=Cesium[t(498)][t(468)](i),a=Cesium[t(540)][t(539)](s),u=Cesium[t(540)].fromRotationTranslation(r),c=Cesium[t(540)][t(539)](o);const l=this[t(496)](t(570)),h=this.getInputNumber(t(492)),p=this[t(496)](t(555));let d=Cesium.Cartesian3.fromDegrees(l,h,p),m=Cesium[t(575)].eastNorthUpToFixedFrame(d);const g=this.getInputNumber(t(483));let f=new(Cesium[t(484)])(g,g,g);const A=Cesium.Matrix4[t(472)](f,new(Cesium[t(540)]));Cesium[t(540)][t(567)](m,a,m),Cesium[t(540)].multiply(m,u,m),Cesium.Matrix4[t(567)](m,c,m),Cesium.Matrix4[t(567)](m,A,m),this[t(557)]._root.transform=m}[$t(562)](){const t=$t;document[t(471)](t(577))[0][t(513)](t(565),()=>{const e=t,n=document[e(471)]("CatMenuIdInput")[0].value;let i;for(let t of this.#r[e(469)].primitives[e(544)])if(t._url==n){i=t;break}if(i){this[e(557)]=i,console.log(this[e(557)]);const t=u[e(504)](i.boundingSphere[e(542)]);document[e(471)](e(570))[0][e(519)]=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document.getElementsByClassName(e(555))[0][e(519)]=t[2],document[e(471)](e(536))[0][e(519)]=this[e(545)],document.getElementsByClassName(e(587))[0].value=this[e(576)],document.getElementsByClassName("CatMenuHeiStepInput")[0].value=this[e(571)],document[e(471)]("CatMenuHeadingInput")[0].value=0,document[e(471)](e(525))[0][e(519)]=0,document[e(471)](e(487))[0][e(519)]=0,document[e(471)](e(526))[0].value=this[e(521)],document.getElementsByClassName(e(573))[0].value=this[e(509)],document[e(471)](e(518))[0][e(519)]=this[e(500)],document.getElementsByClassName("CatMenuScaleInput")[0].value=1,document[e(471)](e(477))[0][e(519)]=1}else alert(e(524)+n+e(503))})}}function ie(t,e){const n=oe();return(ie=function(t,e){return n[t-=365]})(t,e)}const se=ie;!function(t){const e=ie,n=t();for(;;)try{if(172515==-parseInt(e(386))/1*(-parseInt(e(396))/2)+parseInt(e(377))/3+parseInt(e(373))/4*(parseInt(e(366))/5)+-parseInt(e(368))/6+parseInt(e(370))/7+parseInt(e(367))/8+parseInt(e(378))/9*(-parseInt(e(394))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(oe);class re{#r;#M;constructor(t){this.#r=t,this.#M=new ne(t)}[se(375)](){const t=se;this.#M[t(389)]()}[se(382)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=se,a=Cesium[o(387)][o(374)](...e),u=new Cesium.HeadingPitchRoll(Cesium[o(391)][o(400)](n[0]),Cesium[o(391)].toRadians(n[1]),Cesium[o(391)][o(400)](n[2])),c=Cesium[o(401)].headingPitchRollQuaternion(a,u),l=this.#r[o(381)][o(372)]({id:i,position:a,orientation:c,model:{uri:t,scale:s}});return r&&this.#r[o(399)](l),l}[se(380)](){const t=se;this.#M[t(390)]()}async[se(369)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=se;let o=await Cesium.Cesium3DTileset[r(371)](t,{}),a=Cesium[r(393)][r(384)](Cesium[r(391)].toRadians(n[0])),u=Cesium.Matrix3.fromRotationY(Cesium[r(391)][r(400)](n[1])),c=Cesium.Matrix3[r(379)](Cesium.Math[r(400)](n[2])),l=Cesium[r(376)][r(365)](a),h=Cesium[r(376)][r(365)](u),p=Cesium.Matrix4[r(365)](c),d=Cesium[r(387)].fromDegrees(...e),m=Cesium[r(401)][r(392)](d),g=new(Cesium[r(387)])(i,i,i);const f=Cesium.Matrix4[r(398)](g,new(Cesium[r(376)]));return Cesium[r(376)][r(397)](m,l,m),Cesium[r(376)][r(397)](m,h,m),Cesium[r(376)][r(397)](m,p,m),Cesium[r(376)][r(397)](m,f,m),o[r(383)][r(395)]=m,this.#r[r(385)][r(388)][r(372)](o),s&&this.#r.zoomTo(o),o}}function oe(){const t=["fromRotationX","scene","22153IXYbzt","Cartesian3","primitives","createGlbMenu","create3DtileMenu","Math","eastNorthUpToFixedFrame","Matrix3","5402670CqrqNm","transform","26dMUuWK","multiply","fromScale","zoomTo","toRadians","Transforms","fromRotationTranslation","4330KmABEW","2391336JsezbM","1906998XCEomd","set3Dtile","1222396SKkCyl","fromUrl","add","316MyqBnK","fromDegrees","adjustGlb","Matrix4","602001mtnHCI","9wazump","fromRotationZ","adjust3Dtile","entities","setGlb","_root"];return(oe=function(){return t})()}function ae(t,e){const n=ue();return(ae=function(t,e){return n[t-=401]})(t,e)}function ue(){const t=["refreshForegroundLineOverlayState","destroyForegroundLineOverlay","onCancel","now","createPreviewEntities","43030wpTszQ","useTerrain","resultGroups","previewEntities","clearAll","type","emitUpdate","slice","369626jfbJwx","pointSurfaceTypes","getInstruction","height","auto","angle","左键选择角度顶点。","803SVHJEI","forEach","onComplete","idle","onUpdate","buildAngleResult","1877874NrwxZL","hasTerrainProvider","左键开始长度测量,左键双击或按回车结束。","setCloseButtonHover","formattedValue","40264hnsEYr","function","getSessionPreviewSurfaceInfo","Unsupported measure type: ","pointEntities","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","computing","points","previewLineEntity","getMeasurementSurfaceInfo","area","bindEvents","push","surfaceType","1940xyrMyu","destroyHandler","左键选择角度终点完成测量,右键取消。","length","5002608dHRlTG","cancelled","左键选择高差起点。","8031LqGGRd","surfaceMode","576JtQvGU","actualTerrain","toString","左键继续绘制面积边界,左键双击或按回车结束面积测量。","ellipsoid","buildAreaResult","removeEntities","callbacks","setCursor","scene","polyline","贴地结果","dynamicSurfaceTypes","titlePrefix","buildHeightResult","7kwjcJv","terrain","左键选择高差终点完成测量,右键取消。","3776WvjeFv","activeMeasurement","includes","2rDBZtR","无地形结果","start","clearCurrent","buildResult","onRemove"];return(ue=function(){return t})()}const ce=ae;!function(t){const e=ae,n=t();for(;;)try{if(206249==parseInt(e(438))/1+-parseInt(e(419))/2*(-parseInt(e(477))/3)+-parseInt(e(416))/4*(-parseInt(e(470))/5)+-parseInt(e(451))/6*(parseInt(e(413))/7)+-parseInt(e(456))/8*(parseInt(e(479))/9)+parseInt(e(430))/10*(-parseInt(e(445))/11)+parseInt(e(474))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ue);const le={startMeasure(t,e={}){const n=ae;if(![n(473),n(466),n(443),n(441)][n(418)](t))throw new Error("Unsupported measure type: "+t);const i=this.resolveSurfaceMode(e);this[n(422)](!1);const s={id:t+"-"+Date[n(428)]()+"-"+Math.random()[n(481)](36)[n(437)](2,8),type:t,useTerrain:Boolean(e.useTerrain),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(449)],onComplete:e.onComplete,onRemove:e[n(424)],onCancel:e[n(427)]},cancelled:!1};return this[n(417)]=s,this[n(406)](!0),this[n(429)](s),this[n(467)](s),this[n(425)](),this.emitUpdate(s,{phase:n(421),instruction:this[n(440)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=ae,n=this.activeMeasurement;if(!n)return this.destroyHandler(),void this[e(406)](!1);n[e(475)]=!0,this[e(471)](),this[e(404)]([...n[e(460)],...n[e(433)]]),this[e(406)](!1),this[e(417)]=null,this[e(425)](),t&&(typeof n[e(405)][e(427)]===e(457)&&n[e(405)][e(427)]({type:n[e(435)],useTerrain:n[e(431)],surfaceMode:n[e(478)]}),this[e(436)](n,{phase:e(448),instruction:"",formattedValue:""}))},clearAll(){const t=ae;this[t(422)](!1),this.resultGroups[t(446)](e=>{this[t(404)](e.entities)}),this[t(432)]=[],this[t(454)](!1),this[t(425)]()},destroy(){const t=ae;this[t(434)](),this[t(471)](),this.destroyResultInteractionHandler(),this[t(426)](),this.setCursor(!1)},async finalizeSession(t){const e=ae;if(!t||t[e(475)])return;this[e(471)](),this[e(406)](!1),this.emitUpdate(t,{phase:e(462),instruction:"正在计算测量结果..."});const n=await this[e(423)](t);if(t.cancelled)return;const i={...n,id:t.id};this[e(404)](t.pointEntities);const s=this.commitResult(t,i);this.removeEntities(t[e(433)]),this[e(432)][e(468)]({id:t.id,entities:s,result:i,callbacks:t[e(405)]}),this[e(417)]=null,this[e(425)](),"function"==typeof t[e(405)][e(447)]&&t.callbacks[e(447)](i),this[e(436)](t,{phase:"complete",instruction:this.getInstruction(t[e(435)],0),formattedValue:i[e(455)],result:i})},async buildResult(t){const e=ae;switch(t[e(435)]){case e(473):return this.buildLengthResult(t[e(463)],t.surfaceMode,t[e(439)]);case e(466):return this[e(403)](t[e(463)],t[e(478)],t[e(439)]);case"angle":return this[e(450)](t[e(463)],t[e(478)],t[e(439)]);case e(441):return this[e(412)](t.points,t.surfaceMode,t[e(439)]);default:throw new Error(e(459)+t[e(435)])}},emitUpdate(t,e={}){const n=ae;if(typeof t?.[n(405)]?.[n(449)]===n(457)){const i=this[n(465)](t[n(478)],t.pointSurfaceTypes);t[n(405)][n(449)]({type:t[n(435)],useTerrain:t[n(431)],surfaceMode:t[n(478)],surfaceType:i[n(469)],surfaceLabel:i.surfaceLabel,actualTerrain:i[n(480)],...e})}},resolveSurfaceMode(t={}){const e=ae;return["terrain",e(407),e(402),e(442)][e(418)](t[e(478)])?t.surfaceMode:t.useTerrain?e(414):e(442)},resolveMeasurementSurfaceType(t="auto",e=[]){const n=ae,i=[n(414),n(407),n(402),n(442)][n(418)](t)?t:"auto";return i===n(414)&&this[n(452)]()?n(414):e[n(418)](n(407))?n(407):e.includes(n(414))?n(414):e[n(418)](n(402))?n(402):i===n(407)?n(407):i===n(402)?"ellipsoid":n(402)},getMeasurementSurfaceInfo(t=ce(442),e=[]){const n=ce,i=this.resolveMeasurementSurfaceType(t,e),s={terrain:{surfaceType:"terrain",titlePrefix:"地形",surfaceLabel:n(409),actualTerrain:!0},scene:{surfaceType:n(407),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(402),titlePrefix:"无地形",surfaceLabel:n(420),actualTerrain:!1}};return s[i]||s[n(402)]},getMeasureTitle(t,e){const n=ce;return t===n(443)?"角度":""+this.getMeasurementSurfaceInfo(e,[e])[n(411)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ce;if(!t)return this[e(465)]("ellipsoid");const n=t.dynamicSurfaceTypes[e(473)]>0?t[e(410)]:t[e(439)];return this[e(465)](t[e(478)],n)},updatePreviewLineClampState(t){const e=ce;t?.[e(464)]?.[e(408)]&&(t[e(464)].polyline.clampToGround=this.shouldClampLineToGround(t[e(435)],this[e(458)](t)[e(469)]))},getInstruction(t,e){const n=ce;return"length"===t?0===e?n(453):"左键继续加点,左键双击或按回车结束长度测量。":t===n(466)?n(e<2?461:401):t===n(441)?n(0===e?476:415):0===e?"左键选择角度起点。":n(1===e?444:472)}};function he(){const t=["LEFT_CLICK","emitUpdate","viewer","576960FLMFxY","angle","surfaceMode","pointEntities","dynamicPositions","window","190075PxKFDx","keydown","getPickedPositionFinal","bindHeightEvents","activeMeasurement","position","RIGHT_CLICK","preventDefault","surfaceType","area","1902240oJzGII","bindAngleEvents","dynamicSurfaceTypes","4562334CRvVZn","height","handler","updatePreviewLineClampState","text","POSITIVE_INFINITY","type","Enter","cancelled","updatePreviewLabel","2671437bTXKsW","showPreviewCursor","LEFT_DOUBLE_CLICK","trimDuplicatedTrailingPoints","1891606EOerKX","getInstruction","pointSurfaceTypes","13535380jETEsT","ScreenSpaceEventType","ScreenSpaceEventHandler","cloneCartesian","measureKeydownHandler","points","setInputAction","endPosition","getAreaPreview","cancelScheduledMouseMoveWork","getLengthPreview","function","MOUSE_MOVE","drawing","push","getAnglePreview","addEventListener","getPickedPosition","scene","length","preview","getHeightPreview","Cesium","slice","handleResultCloseClick","bindEnterFinishEvent","scheduleSessionMouseMove","finalizeSession","68rMvObj","hidePreviewCursor","1YvoBdQ","map","clearCurrent","9TXhyQp"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=467]})(t,e)}!function(t){const e=pe,n=t();for(;;)try{if(500005==parseInt(e(487))/1*(parseInt(e(527))/2)+-parseInt(e(523))/3+parseInt(e(485))/4*(-parseInt(e(500))/5)+parseInt(e(510))/6+-parseInt(e(513))/7+parseInt(e(494))/8+-parseInt(e(490))/9*(-parseInt(e(530))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(he);const de={bindEnterFinishEvent(t){const e=pe;typeof globalThis[e(499)]?.[e(473)]===e(468)&&(this[e(534)]&&(globalThis[e(499)].removeEventListener(e(501),this[e(534)]),this[e(534)]=null),this.measureKeydownHandler=n=>{const i=e;n.key===i(520)&&t&&!t[i(521)]&&this[i(504)]===t&&(t[i(535)][i(476)]<(t=>{const n=e;return t===n(476)?2:t===n(509)||t===n(495)?3:t===n(514)?2:Number[n(518)]})(t[i(519)])||(n[i(507)](),this[i(539)](),this.finalizeSession(t)))},globalThis[e(499)].addEventListener("keydown",this[e(534)]))},bindEvents(t){const e=pe,n=this[e(479)];this[e(515)]=new(n[e(532)])(this[e(493)][e(475)].canvas),this[e(482)](t),"angle"!==t[e(519)]?t[e(519)]!==e(514)?(this.handler[e(536)](async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this.getPickedPositionFinal(n[i(505)],t[i(496)]);if(t.cancelled||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this.cloneCartesian(r)),t[i(529)][i(471)](s[i(508)]),t[i(498)]=t.points[i(488)](t=>this[i(533)](t)),t[i(512)]=t.pointSurfaceTypes[i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t);const o="length"===t[i(519)]?this.getLengthPreview(t[i(535)],t[i(496)],t.pointSurfaceTypes):this[i(538)](t[i(535)]);this[i(522)](t,o[i(517)],o[i(505)]),this.emitUpdate(t,{phase:i(470),instruction:this.getInstruction(t.type,t[i(535)][i(476)]),formattedValue:o[i(517)]})},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this.scheduleSessionMouseMove(t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t.surfaceMode,{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t[n(529)].slice(),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t[n(498)]=[...t[n(535)],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=t[n(519)]===n(476)?this[n(467)](t[n(498)],t[n(496)],t[n(512)]):this[n(538)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t[n(535)][n(476)]),formattedValue:o[n(517)]})})},n[e(531)].MOUSE_MOVE),this[e(515)][e(536)](async n=>{const i=e;this[i(539)]();const s=(await this[i(502)](n[i(505)],t.surfaceMode))?.position;if(t.cancelled||this[i(504)]!==t)return;this[i(526)](t,s);const r="length"===t[i(519)]?2:3;t[i(535)].length<r||this.finalizeSession(t)},n[e(531)][e(525)])):this[e(503)](t):this[e(511)](t)},bindAngleEvents(t){const e=pe,n=this.Cesium;this.handler.setInputAction(async e=>{const n=pe;if(this[n(539)](),this[n(481)](e[n(505)]))return;const i=await this[n(502)](e[n(505)],t[n(496)]);if(t.cancelled||this[n(504)]!==t)return;if(!i)return;const s=i[n(505)];t.points[n(471)](this[n(533)](s)),t[n(529)].push(i.surfaceType),t.dynamicPositions=t[n(535)][n(488)](t=>this.cloneCartesian(t)),t[n(512)]=t[n(529)].slice(),t[n(497)].push(this.createPointEntity(s)),this[n(516)](t),3!==t.points.length?this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:2===t.points[n(476)]?this[n(472)](t[n(535)]).text:""}):this[n(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this.getPickedPosition(e,t[n(496)],{pickStage:n(477)});if(!s)return this[n(486)](t),t[n(512)]=t[n(529)][n(480)](),void this[n(516)](t);const r=s.position;if(this[n(524)](t,r),1===t[n(535)][n(476)])return t[n(498)]=[t[n(535)][0],this.cloneCartesian(r)],t[n(512)]=[...t[n(529)],s.surfaceType],this[n(516)](t),void this[n(522)](t,"",null);t.dynamicPositions=[t[n(535)][0],t[n(535)][1],this[n(533)](r)],t.dynamicSurfaceTypes=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(472)](t[n(498)]);this[n(522)](t,o[n(517)],o[n(505)]),this[n(492)](t,{phase:"drawing",instruction:this.getInstruction(t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this.handler[e(536)](()=>{this[e(489)]()},n.ScreenSpaceEventType[e(506)])},bindHeightEvents(t){const e=pe,n=this[e(479)];this[e(515)].setInputAction(async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this[i(502)](n[i(505)],t.surfaceMode);if(t[i(521)]||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this[i(533)](r)),t.pointSurfaceTypes[i(471)](s.surfaceType),t[i(498)]=t[i(535)].map(t=>this[i(533)](t)),t[i(512)]=t[i(529)][i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t),2!==t[i(535)][i(476)]?this[i(492)](t,{phase:i(470),instruction:this.getInstruction(t[i(519)],t[i(535)].length),formattedValue:""}):this[i(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t[n(496)],{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t.pointSurfaceTypes[n(480)](),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t.dynamicPositions=[t[n(535)][0],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(478)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this.emitUpdate(t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this[e(515)][e(536)](()=>{this.clearCurrent()},n[e(531)][e(506)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=317]})(t,e)}function ge(){const t=["slice","EllipsoidGeodesic","cartesianToCartographic","terrain","13045JVbUBS","64yDNXrp","calculateSurfaceDistance","formatDistance","serializePoint","getMeasureTitle","Cesium","33435390GqZMYj","scene","map","surfaceLabel","surfaceDistance","length","2150298DLHgVq","ellipsoid","cloneCartesian","16dqxHKx","surfaceType","10938522oTJgOp","buildSampledPolyline","2824920KyrLcK","setEndPoints","224505zLlXaM","624YvEjUZ","1824016RTfVFm","isFinite","calculateCartesianDistance","reduce","segments"];return(ge=function(){return t})()}!function(t){const e=me,n=t();for(;;)try{if(984469==parseInt(e(348))/1*(-parseInt(e(342))/2)+-parseInt(e(346))/3+parseInt(e(317))/4+parseInt(e(326))/5*(parseInt(e(349))/6)+parseInt(e(344))/7+parseInt(e(327))/8*(-parseInt(e(339))/9)+parseInt(e(333))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ge);const fe={async buildLengthResult(t,e,n=[]){const i=me,s=this.getMeasurementSurfaceInfo(e,n);let r=0,o=t[i(335)](t=>this[i(341)](t)),a=[];if(s[i(343)]===i(325)){const e=await this[i(345)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e.flattenedPositions,a=e[i(321)],r=a[i(320)]((t,e)=>t+this[i(319)](e),0)}else s.surfaceType===i(334)?(a=t[i(322)](0,-1)[i(335)]((e,n)=>[this[i(341)](e),this[i(341)](t[n+1])]),r=this[i(319)](t)):(a=t.slice(0,-1).map((e,n)=>[this[i(341)](e),this.cloneCartesian(t[n+1])]),r=this[i(328)](t));return{type:"length",title:this[i(331)](i(338),s[i(343)]),surfaceType:s[i(343)],surfaceLabel:s[i(336)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(329)](r),displayPositions:o,displaySegments:a,labelPosition:o[o[i(338)]-1]||t[t[i(338)]-1],pointCount:t[i(338)],points:t[i(335)](t=>this[i(330)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(338)]<2)return{text:"",position:null};const s=this.getMeasurementSurfaceInfo(e,n)[i(343)]===i(340)?this[i(328)](t):this[i(319)](t);return{text:this[i(329)](s),position:t[t.length-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(332)];if(t[e(338)]<2)return 0;const i=new(n[e(323)]);let s=0;for(let n=0;n<t[e(338)]-1;n+=1){const r=this.cartesianToCartographic(t[n]),o=this[e(324)](t[n+1]);i[e(347)](r,o),s+=Number[e(318)](i[e(337)])?i[e(337)]:0}return s}};function Ae(t,e){const n=Ie();return(Ae=function(t,e){return n[t-=158]})(t,e)}function Ie(){const t=["35wBYKhM","getMeasurementSurfaceInfo","defined","EPSILON6","getCenterPosition","viewer","actualTerrain","subtract","buildSampledPolyline","map","Cartesian2","projectPointOntoEllipsoid","surfaceLabel","calculatePolygonArea","48uErDcP","area","magnitude","cartesianToCartographic","368229BMbStZ","24453lpBGei","cartographicToCartesian","getMeasureTitle","14994ctPyNF","13814HsSJoz","Math","formatArea","Cartesian3","PolygonPipeline","height","calculateTriangleArea","1146565xOExZK","Cesium","2661450CvQluM","center","length","reduce","891040yeFYZl","cloneCartesian","abs","fromPoints","scene","BoundingSphere","ellipsoid","surfaceType","165YiHYNS","flattenedPositions","terrain","projectPointsOntoPlane"];return(Ie=function(){return t})()}!function(t){const e=Ae,n=t();for(;;)try{if(275055==-parseInt(e(184))/1+parseInt(e(189))/2*(parseInt(e(162))/3)+parseInt(e(202))/4+-parseInt(e(196))/5+parseInt(e(188))/6*(-parseInt(e(166))/7)+parseInt(e(180))/8*(parseInt(e(185))/9)+parseInt(e(198))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);const Ce={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(167)](e,n);let r=t.map(t=>this[i(203)](t)),o=t[i(175)]((e,n)=>[this.cloneCartesian(e),this[i(203)](t[(n+1)%t[i(200)]])]);if(s[i(161)]===i(164)){const e=await this[i(174)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e[i(163)],o=e.segments}const a=this[i(179)](r);return{type:i(181),title:this[i(187)](i(181),s[i(161)]),surfaceType:s[i(161)],surfaceLabel:s[i(178)],actualTerrain:s[i(172)],value:a,formattedValue:this[i(191)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(170)](r),pointCount:t[i(200)],points:t[i(175)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(200)]<3?{text:"",position:null}:{text:this[e(191)](this.calculatePolygonArea(t)),position:this[e(170)](t)}},calculatePolygonArea(t){const e=Ae,n=this[e(197)];if(t[e(200)]<3)return 0;const i=n.EllipsoidTangentPlane.fromPoints(t,this[e(171)].scene.globe[e(160)])[e(165)](t);if(!i||i.length<3)return 0;const s=n[e(193)].triangulate(i);if(!s||s[e(200)]<3)return 0;let r=0;for(let n=0;n<s[e(200)];n+=3)r+=this[e(195)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(197)],r=s.Cartesian3.subtract(e,t,new(s[i(192)])),o=s[i(192)][i(173)](n,t,new(s[i(192)])),a=s.Cartesian3.cross(r,o,new(s[i(192)]));return.5*s[i(192)][i(182)](a)},getCenterPosition(t){const e=Ae,n=this[e(197)];if(0===t[e(200)])return null;if(t[e(200)]<3)return n[e(159)][e(205)](t)[e(199)];const i=n.EllipsoidTangentPlane[e(205)](t,this[e(171)][e(158)].globe[e(160)]),s=i.projectPointsOntoPlane(t);if(!s||s[e(200)]<3)return n[e(159)].fromPoints(t)[e(199)];let r=0,o=s[e(200)]-1;const a=new(n[e(176)])(0,0);for(let t=0;t<s.length;o=t,t+=1){const e=s[t],n=s[o],i=e.x*n.y-n.x*e.y;a.x+=(e.x+n.x)*i,a.y+=(e.y+n.y)*i,r+=i}if(Math[e(204)](r)<n.Math.EPSILON10)return n[e(159)][e(205)](t)[e(199)];const u=1/(3*r);a.x*=u,a.y*=u;const c=i[e(177)](a);if(!n[e(168)](c))return n[e(159)].fromPoints(t).center;const l=t[e(201)]((t,n)=>{const i=e;return t+(this[i(183)](n)[i(194)]||0)},0)/t[e(200)];if(Math[e(204)](l)<n[e(190)][e(169)])return c;const h=this[e(183)](c);return h[e(194)]=l,this[e(186)](h)}};function Me(){const t=["715338rzjJxz","18GVDuoN","65RAZoal","cloneCartesian","surfaceType","6720344idPSBy","8gMnasJ","clamp","1962LbERys","normalize","84TSnIIY","Cartesian3","subtract","248282tXQOBt","Math","getMeasurementSurfaceInfo","serializePoint","702381ZVyoYl","surfaceLabel","formatAngle","1871891uvyUHF","40690pGSdiv","getMeasureTitle","calculateAngle","dot","10632699MzVIJn","length","map","angle"];return(Me=function(){return t})()}function ve(t,e){const n=Me();return(ve=function(t,e){return n[t-=221]})(t,e)}!function(t){const e=ve,n=t();for(;;)try{if(934596==-parseInt(e(233))/1+parseInt(e(229))/2*(-parseInt(e(246))/3)+-parseInt(e(221))/4+-parseInt(e(247))/5*(parseInt(e(245))/6)+-parseInt(e(236))/7*(parseInt(e(222))/8)+-parseInt(e(224))/9*(parseInt(e(237))/10)+-parseInt(e(241))/11*(-parseInt(e(226))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Me);const be={buildAngleResult(t,e,n=[]){const i=ve,s=this[i(231)](e,n),r=this.calculateAngle(t);return{type:i(244),title:this[i(238)](i(244),s[i(249)]),surfaceType:s[i(249)],surfaceLabel:s[i(234)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(235)](r),displayPositions:t.map(t=>this.cloneCartesian(t)),displaySegments:[[this.cloneCartesian(t[0]),this[i(248)](t[1])],[this[i(248)](t[1]),this[i(248)](t[2])]],labelPosition:t[1],pointCount:t[i(242)],points:t[i(243)](t=>this[i(232)](t))}},getAnglePreview(t){const e=ve;return t[e(242)]<3?{text:"",position:null}:{text:this[e(235)](this[e(239)](t)),position:t[1]}},calculateAngle(t){const e=ve,n=this.Cesium;if(t[e(242)]<3)return 0;const i=t[1],s=n.Cartesian3[e(225)](n[e(227)][e(228)](t[0],i,new(n[e(227)])),new(n[e(227)])),r=n[e(227)][e(225)](n[e(227)][e(228)](t[2],i,new(n[e(227)])),new(n[e(227)])),o=n.Math[e(223)](n[e(227)][e(240)](s,r),-1,1);return n[e(230)].toDegrees(Math.acos(o))}};function we(t,e){const n=Ee();return(we=function(t,e){return n[t-=300]})(t,e)}!function(t){const e=we,n=t();for(;;)try{if(177650==parseInt(e(330))/1*(-parseInt(e(312))/2)+parseInt(e(327))/3*(-parseInt(e(309))/4)+-parseInt(e(305))/5+-parseInt(e(317))/6+parseInt(e(319))/7+parseInt(e(315))/8+-parseInt(e(323))/9*(-parseInt(e(326))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ee);const ye={buildHeightResult(t,e,n=[]){const i=we,s=this[i(335)](e,n),r=this.cloneCartesian(t[0]),o=this[i(334)](t[1]),a=this[i(322)](r,o),{heightDifference:u}=this[i(318)](r,o);return{type:i(324),title:this.getMeasureTitle("height",s[i(303)]),surfaceType:s[i(303)],surfaceLabel:s[i(328)],actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(311)](u),displayPositions:a[i(308)],displaySegments:a[i(331)],labelPosition:a[i(333)],pointCount:t[i(306)],points:t[i(321)](t=>this[i(304)](t))}},getHeightPreview(t){const e=we;if(t.length<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(318)](t[0],t[1]);return{text:e(325)+this[e(311)](i),position:n[e(333)]}},getHeightDifferenceInfo(t,e){const n=we,i=this[n(307)](t),s=this[n(307)](e),r=i[n(324)]||0,o=s[n(324)]||0;return{heightDifference:Math[n(314)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=we;return this[n(300)].Cartesian3[n(320)](t,e,new(this[n(300)][n(302)]))},buildHeightGuideShape(t,e){const n=we,i=this[n(300)],s=this[n(307)](t),r=this.cartesianToCartographic(e),o=[t,this[n(332)]({longitude:r[n(336)],latitude:r[n(310)],height:s[n(324)]||0}),e][n(329)]((t,e,s)=>{const r=n;return 0===e||!this[r(301)](t,s[e-1],i[r(313)].EPSILON6)}),a=[];for(let t=0;t<o[n(306)]-1;t+=1)a.push([this[n(334)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(306)]>=3?this[n(316)](o[1],o[2]):this[n(316)](o[0],o[o.length-1]);return{positions:o[n(321)](t=>this[n(334)](t)),segments:a,labelPosition:u}}};function Ee(){const t=["10VahqjT","1977iANcVo","surfaceLabel","filter","1hzKVhi","segments","cartographicToCartesian","labelPosition","cloneCartesian","getMeasurementSurfaceInfo","longitude","Cesium","isSamePosition","Cartesian3","surfaceType","serializePoint","174025RvupvL","length","cartesianToCartographic","positions","1876sCrPyI","latitude","formatDistance","680398dGSeVb","Math","abs","188272fljHDZ","getMidpointPosition","1516794rdSbfk","getHeightDifferenceInfo","1898218oYHAFy","midpoint","map","buildHeightGuideShape","7378344JzHHGT","height","高差:"];return(Ee=function(){return t})()}function Re(t,e){const n=Ne();return(Re=function(t,e){return n[t-=214]})(t,e)}function Ne(){const t=["pointEntities","24966FkcHTg","4178272gxFrJW","type","label","Cartesian3","5495754MTPsKK","updatePreviewLineClampState","push","RIGHT","length","pop","pointSurfaceTypes","shouldClampLineToGround","height","VerticalOrigin","7idKpOP","dynamicSurfaceTypes","show","auto","point","Cesium","getDynamicLinePositions","WHITE","2347138ThobCX","positions","getRenderableLinePositions","ZERO","FILL","5759922uygwnh","cloneCartesian","previewLineEntity","points","buildHeightGuideShape","dynamicPositions","5aoBOeT","resultLabelFont","entities","CENTER","createLineMaterial","undefined","document","text","previewLabelEntity","68103717lchjJy","line","1elNOvt","slice","Color","position","removeEntities","getColorByType","add","map","getSessionPreviewSurfaceInfo","HorizontalOrigin","viewer","surfaceType","area","CallbackProperty","previewPointEntity","Cartesian2","5829888BeVHvp","isSamePosition","2090GSVGOO"];return(Ne=function(){return t})()}!function(t){const e=Re,n=t();for(;;)try{if(988207==parseInt(e(224))/1*(-parseInt(e(267))/2)+-parseInt(e(272))/3+-parseInt(e(245))/4*(parseInt(e(278))/5)+parseInt(e(249))/6*(-parseInt(e(259))/7)+-parseInt(e(240))/8+parseInt(e(244))/9*(parseInt(e(242))/10)+parseInt(e(222))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ne);const Te={createPreviewEntities(t){const e=Re,n=this[e(264)],i=this[e(229)](t[e(246)]),s=t[e(246)]===e(257),r=typeof globalThis[e(219)]!==e(218)&&this.shouldRenderLineViaOverlay(t[e(246)]),o=this[e(217)](t.type,i[e(223)]),a=this[e(217)](t.type,i.line,{depthFail:!0}),u=this[e(234)][e(215)][e(230)]({polyline:{positions:new(n[e(237)])(()=>this[e(269)](t[e(246)],this[e(265)](t),this[e(232)](t)[e(235)]),!1),width:4,clampToGround:this[e(256)](t[e(246)],this.getSessionPreviewSurfaceInfo(t)[e(235)]),material:o,depthFailMaterial:a}}),c=this[e(234)][e(215)][e(230)]({position:n[e(248)].ZERO,point:{pixelSize:10,color:i[e(263)],outlineColor:n.Color[e(266)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),l=this[e(234)].entities[e(230)]({position:n[e(248)][e(270)],label:{text:"",font:this[e(214)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(226)].WHITE,style:n.LabelStyle[e(271)],eyeOffset:this.labelEyeOffset,pixelOffset:s?new(n[e(239)])(-20,-8):this.resultLabelPixelOffset,horizontalOrigin:s?n[e(233)][e(252)]:n[e(233)][e(216)],verticalOrigin:s?n[e(258)][e(216)]:n[e(258)].BOTTOM,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1});t[e(274)]=u,t[e(238)]=c,t[e(221)]=l,r&&(u.show=!1),t.previewEntities[e(251)](u,c,l)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(221)])return t.surfaceMode===i(262)?(t[i(221)][i(261)]=!1,void(t[i(221)].label.text="")):e&&n?(t[i(221)][i(227)]=n,t[i(221)][i(247)].text=e,void(t[i(221)][i(261)]=!0)):(t[i(221)][i(261)]=!1,void(t[i(221)][i(247)][i(220)]=""))},showPreviewCursor(t,e){const n=Re;t[n(238)]&&(t.previewPointEntity[n(227)]=e,t[n(238)][n(261)]=!0)},hidePreviewCursor(t){const e=Re;t[e(238)]&&(t[e(238)][e(261)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t[n(275)][n(253)]<2)){for(;t.points[n(253)]>=2;){const i=t[n(275)][t[n(275)][n(253)]-1],s=t[n(275)][t[n(275)].length-2];if(!this.isSamePosition(i,e)||!this[n(241)](s,e))break;t[n(275)][n(254)](),t[n(255)].pop();const r=t[n(243)].pop();this[n(228)](r?[r]:[])}t.dynamicPositions=t[n(275)][n(231)](t=>this[n(273)](t)),t[n(260)]=t[n(255)][n(225)](),this[n(250)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(277)].length?"height"===t[e(246)]&&t[e(277)][e(253)]>1?this[e(276)](t.dynamicPositions[0],t[e(277)][1])[e(268)]:t[e(246)]===e(236)&&t[e(277)][e(253)]>1?[...t.dynamicPositions,t[e(277)][0]]:t[e(277)]:[]}};function Se(){const t=["ScreenSpaceEventType","removeEntities","devicePixelRatio","canvas","shouldRenderLineViaOverlay","setCloseButtonHover","21177882qQcYjz","measureBillboardOrigin","line","LabelStyle","RIGHT","resultLabelLineHeight","add","10DKHGVq","CallbackProperty","resultLabelFont","resultLabelPixelOffset","resultLabelPaddingTop","terrain","find","isHoveringCloseButton","Cartesian3","ScreenSpaceEventHandler","window","measurePixelOffset","background","applyCursorStyle","area","displaySegments","setInputAction","getColorByType","defined","6oXOZkR","scale","entities","handleResultCloseClick","shouldClampLineToGround","formattedValue","document","#fde68a","resultInteractionHandler","fill","1657728OoQePC","HorizontalOrigin","Cartesian2","stroke","max","left","filter","horizontal","displayPositions","FILL","ceil","460GlrXVy","points","refreshForegroundLineOverlayState","28px sans-serif","clock","resultLabelCloseGap","CENTER","position","function","push","type","3742270hpzDKN","resultLabelPaddingX","measureCloseRect","Cesium","image","width","lineWidth","labelEyeOffset","viewer","getEntityBillboardBounds","font","toDataURL","高差:","activeMeasurement","#ffffff","MOUSE_MOVE","wgs84ToWindowCoordinates","rgba(255, 255, 255, 0.96)","labelPosition","measureGroupId","createPointEntity","VerticalOrigin","split","createLineMaterial","createElement","ClassificationType","some","image/png","beginPath","removeResultGroup","textBaseline","measureBillboardSize","scene","fillStyle","measureHasCloseButton","map","260990TtxCWd","surfaceType","Color","11188hhUNkd","lineTo","height","angle","resultGroups","onRemove","BOTTOM","findIndex","includes","rgba(255, 255, 255, 0.16)","length","forEach","currentTime","177805QdQcEI","callbacks","result","createClosableLabelGraphic","getCloseButtonEntityAt","POSITIVE_INFINITY","title","vertical","drawRoundedRect","resultLabelCloseSize","moveTo","isCloseButtonHit","5132334wEXHbG","WHITE"];return(Se=function(){return t})()}function Pe(t,e){const n=Se();return(Pe=function(t,e){return n[t-=282]})(t,e)}!function(t){const e=Pe,n=t();for(;;)try{if(574412==-parseInt(e(377))/1+-parseInt(e(361))/2*(parseInt(e(293))/3)+-parseInt(e(364))/4*(-parseInt(e(314))/5)+-parseInt(e(389))/6+-parseInt(e(325))/7+-parseInt(e(303))/8+parseInt(e(397))/9*(parseInt(e(404))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Se);const Le={commitResult(t,e){const n=Pe,i=this.Cesium,s=this[n(291)](t[n(324)]),r=[],o=void 0!==globalThis.document&&this[n(395)](t.type),a=this[n(348)](t.type,s.line),u=this.createLineMaterial(t[n(324)],s[n(399)],{depthFail:!0});if(t[n(324)]===n(288)){const t=e[n(362)]!==n(409)?e[n(311)][n(360)](t=>{const e=n,s=i[e(282)].normalize(t,new(i[e(282)]));return i[e(282)][e(403)](t,i[e(282)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(282)]))}):e[n(311)];r[n(323)](this[n(333)].entities.add({polygon:{hierarchy:t,material:s[n(302)],perPositionHeight:e.surfaceType!==n(409),classificationType:e[n(362)]===n(409)?i[n(350)].TERRAIN:void 0,zIndex:e[n(362)]===n(409)?1:void 0}}))}if(!o){const s=e[n(289)]&&e[n(289)][n(374)]>0?e.displaySegments:["area"===t.type?[...e[n(311)],e[n(311)][0]]:e.displayPositions];r[n(323)](...s[n(360)](s=>this[n(333)][n(295)][n(403)]({polyline:{positions:new(i[n(405)])(()=>this.getRenderableLinePositions(t[n(324)],s,e[n(362)],{clipPoints:!0}),!1),width:4,clampToGround:this[n(297)](t[n(324)],e[n(362)]),material:a,depthFailMaterial:u}})))}return r[n(323)](...t[n(315)][n(360)](t=>this[n(345)](t))),r.push(this.createResultLabelEntity(t,e,s)),r},createResultLabelEntity(t,e,n){const i=Pe,s=this[i(328)],r=e[i(383)]+"\n"+e[i(298)],o="height"===t[i(324)];if(![i(374),i(288),i(367),i(366)][i(372)](t.type))return this[i(333)][i(295)][i(403)]({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this[i(332)],pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s.VerticalOrigin[i(370)],disableDepthTestDistance:Number.POSITIVE_INFINITY}});if(!globalThis[i(299)])return o?this[i(333)][i(295)][i(403)]({position:e.labelPosition,label:{text:i(337)+e.formattedValue,font:i(317),showBackground:!1,fillColor:s[i(363)].fromCssColorString(i(300)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(363)].WHITE,outlineWidth:4,eyeOffset:this[i(332)],pixelOffset:new(s[i(305)])(-20,-8),horizontalOrigin:s[i(304)][i(401)],verticalOrigin:s.VerticalOrigin[i(320)],disableDepthTestDistance:Number[i(382)]}}):this[i(333)][i(295)].add({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this.labelEyeOffset,pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s[i(346)][i(370)],disableDepthTestDistance:Number[i(382)]}});const a=this[i(380)](o?i(337)+e.formattedValue:r,n[i(286)]),u=o?new(s[i(305)])(-20,-8):this[i(407)],c=o?s[i(304)][i(401)]:s[i(304)].CENTER,l=o?s[i(346)].CENTER:s[i(346)][i(370)],h=this.viewer.entities.add({position:e[i(343)],billboard:{image:a[i(329)],width:a[i(330)],height:a[i(366)],horizontalOrigin:c,verticalOrigin:l,eyeOffset:this[i(332)],pixelOffset:u,disableDepthTestDistance:Number[i(382)]}});return h[i(344)]=t.id,h.measureHasCloseButton=!0,h.measureCloseRect=a.closeRect,h[i(356)]={width:a.width,height:a[i(366)]},h[i(398)]={horizontal:c,vertical:l},h[i(285)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Pe,i=t[n(347)]("\n")[n(309)](t=>""!==t),s=i.length>0?i:[""],r=document[n(349)](n(394)),o=r.getContext("2d"),a=Math[n(307)](...s[n(360)](t=>{const e=n;return o[e(335)]=this[e(406)],o.measureText(t).width})),u=Math[n(313)](2*this[n(326)]+a+this[n(319)]+this[n(386)]),c=Math[n(313)](this[n(408)]+s.length*this[n(402)]+this.resultLabelPaddingBottom),l=globalThis[n(284)]?.[n(393)]||1;r[n(330)]=Math[n(313)](u*l),r[n(366)]=Math[n(313)](c*l),o[n(294)](l,l),o[n(335)]=this[n(406)],o.textAlign=n(308),o[n(355)]="middle",this[n(385)](o,0,0,u,c,10),o[n(358)]=e?.toCssColorString?.()||"rgba(15, 23, 42, 0.92)",o[n(302)]();const h={x:u-this[n(326)]-this[n(386)],y:8,width:this[n(386)],height:this.resultLabelCloseSize};return this[n(385)](o,h.x,h.y,h[n(330)],h[n(366)],6),o.fillStyle=n(373),o.fill(),o[n(353)](),o.strokeStyle=n(342),o[n(331)]=1.6,o[n(387)](h.x+5,h.y+5),o[n(365)](h.x+h.width-5,h.y+h[n(366)]-5),o[n(387)](h.x+h.width-5,h.y+5),o.lineTo(h.x+5,h.y+h[n(366)]-5),o[n(306)](),o[n(358)]=n(339),s[n(375)]((t,e)=>{const i=n,s=this.resultLabelPaddingTop+(e+.5)*this[i(402)];o.fillText(t,this.resultLabelPaddingX,s)}),{image:r[n(336)](n(352)),width:u,height:c,closeRect:h}},initResultInteractionHandler(){const t=Pe,e=this[t(328)];this[t(301)]=new(e[t(283)])(this.viewer[t(357)][t(394)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()?this.updateCloseButtonHover(e.endPosition):this[n(396)](!1)},e[t(391)][t(340)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()&&(this[n(338)]||this[n(296)](e[n(321)]))},e.ScreenSpaceEventType.LEFT_CLICK)},handleResultCloseClick(t){const e=Pe,n=this[e(381)](t);if(!n||!n.measureHasCloseButton)return!1;const i=this[e(354)](n.measureGroupId);return i&&this[e(396)](!1),i},updateCloseButtonHover(t){const e=Pe,n=this[e(381)](t),i=Boolean(n&&n[e(359)]);this.setCloseButtonHover(i)},setCloseButtonHover(t){const e=Pe;this.isHoveringCloseButton!==t&&(this[e(411)]=t,this[e(287)]())},hasClosableResults(){const t=Pe;return this[t(368)][t(351)](e=>[t(374),t(288),"angle",t(366)][t(372)](e?.result?.[t(324)]))},getCloseButtonEntityAt(t){const e=Pe;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(295)]?.[e(410)](t=>t?.[e(359)]);if(i&&this[e(388)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Pe,i=this[n(334)](t),s=t[n(327)];if(!i||!s)return!1;const r=e.x-i.left,o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(330)]&&o>=s.y&&o<=s.y+s[n(366)]},getEntityBillboardBounds(t){const e=Pe,n=this[e(328)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(341)](this[e(333)][e(357)],i);if(!n[e(292)](s))return null;const r=t[e(356)],o=t[e(285)]||{x:0,y:0},a=t[e(398)]||{horizontal:n.HorizontalOrigin[e(320)],vertical:n.VerticalOrigin[e(370)]};let u=s.x+o.x;a[e(310)]===n[e(304)].CENTER?u-=r[e(330)]/2:a.horizontal===n[e(304)][e(401)]&&(u-=r[e(330)]);let c=s.y+o.y;return a[e(384)]===n[e(346)][e(320)]?c-=r[e(366)]/2:a[e(384)]===n[e(346)][e(370)]&&(c-=r[e(366)]),{left:u,top:c,width:r[e(330)],height:r[e(366)]}},getEntityPosition(t){const e=Pe;return t?.[e(321)]?"function"==typeof t[e(321)].getValue?t.position.getValue(this[e(333)][e(318)][e(376)]):t.position:null},removeResultGroup(t,e={}){const n=Pe,i=this[n(368)][n(371)](e=>e.id===t);if(-1===i)return!1;const[s]=this[n(368)].splice(i,1);return this[n(392)](s[n(295)]),!1!==e.notify&&typeof s.callbacks?.[n(369)]===n(322)&&s[n(378)][n(369)](s[n(379)]),this[n(316)](),!0}},ke=Be;function De(){const t=["getPointClipWorldDistance","add",'" viewBox="0 0 ',"cartographicToCartesian","#f97316","9072514GFBSuG","drawingBufferHeight","entities","#0369a1",'" height="',"trimPolylineFromStart","scene","withAlpha","context","#22c55e","closePath",'<circle cx="',"includes","ellipsoid","getPixelSize",'" cy="',"reverse","liftLinePositionsAboveSurface","Cartesian3","trimPolylineFromEnd","12760XWcsVW","join","shouldLiftLineAboveSurface","drawingBufferWidth","depthFail","pointMarkerImage","viewer","area","map","#4ade80","lerp","1EzUVFM","623vgZWXE","#fb923c","pointMarkerSize","#9a3412","height","#38bdf8","data:image/svg+xml;charset=utf-8,","pointClipPixelRadius","length",'<svg xmlns="http://www.w3.org/2000/svg" width="',"2020sUBSdj","cloneCartesian","2676USwbTg","liftPositionAboveSurface","lineTo","#166534","Math","2563866IimTPQ",'" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',"fromCssColorString","Cesium","910778LiKrBM","9PxuSyX","moveTo","camera","#f43f5e","7560220AdzcZa","isArray","calculateCartesianDistance","min","1917096stioXx","quadraticCurveTo","Color",'" r="',"slice","cartesianToCartographic","WHITE"];return(De=function(){return t})()}function Be(t,e){const n=De();return(Be=function(t,e){return n[t-=248]})(t,e)}!function(t){const e=Be,n=t();for(;;)try{if(471295==-parseInt(e(257))/1*(parseInt(e(279))/2)+-parseInt(e(288))/3+parseInt(e(270))/4*(parseInt(e(268))/5)+-parseInt(e(275))/6+-parseInt(e(258))/7*(-parseInt(e(320))/8)+parseInt(e(280))/9*(parseInt(e(284))/10)+parseInt(e(300))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(De);const Ge={getPointClippedSegmentPositions(t){const e=Be;if(!t||t[e(266)]<2)return t||[];const n=this[e(286)](t);if(n<=this[e(278)][e(274)].EPSILON7)return t;const i=this[e(295)](t[0]),s=this[e(295)](t[t[e(266)]-1]),r=n-.05;if(r<=0)return[];const o=Math.min(i,.5*r),a=Math[e(287)](s,.5*r),u=this.trimPolylineFromStart(t,o);return u.length<2?[]:this[e(319)](u,a)},getRenderableLinePositions(t,e,n=ke(313),i={}){const s=ke;if(!Array[s(285)](e)||0===e[s(266)])return[];const r=this[s(248)](t,n)?this[s(317)](e):e[s(254)](t=>this[s(269)](t));return i.clipPoints?this.getPointClippedSegmentPositions(r):r},shouldLiftLineAboveSurface:(t,e=ke(313))=>!1,liftLinePositionsAboveSurface(t,e=1.5){const n=ke;return t[n(254)](t=>this[n(271)](t,e))},liftPositionAboveSurface(t,e=1.5){const n=ke,i=this[n(293)](t);return i?(i[n(262)]=(i.height||0)+e,this[n(298)](i)):this[n(269)](t)},getPointClipWorldDistance(t){const e=ke,n=this[e(278)],i=this.viewer[e(306)][e(308)],s=new n.BoundingSphere(t,1),r=this.viewer[e(282)][e(314)](s,i[e(249)],i[e(301)]);return!Number.isFinite(r)||r<=0?0:r*this[e(265)]},trimPolylineFromStart(t,e){const n=ke,i=this[n(278)];if(e<=0)return t[n(254)](t=>this[n(269)](t));let s=e;for(let e=0;e<t[n(266)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(318)].distance(r,o);if(s<a){const u=s/a;return[i.Cartesian3[n(256)](r,o,u,new(i[n(318)])),...t[n(292)](e+1).map(t=>this[n(269)](t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=ke;if(e<=0)return t[n(254)](t=>this[n(269)](t));const i=t.slice()[n(316)]();return this[n(305)](i,e)[n(316)]()},shouldClampLineToGround(t,e=ke(313)){const n=ke;return(t===n(266)||t===n(253))&&e!==n(306)},createPointEntity(t){const e=ke,n=this[e(278)];return this[e(252)][e(302)][e(296)]({position:t,billboard:{image:this[e(251)],width:this[e(260)],height:this[e(260)],horizontalOrigin:n.HorizontalOrigin.CENTER,verticalOrigin:n.VerticalOrigin.CENTER,disableDepthTestDistance:Number.POSITIVE_INFINITY,eyeOffset:new(n[e(318)])(0,0,-8)}})},createPointMarkerImage(){const t=ke,e=this[t(260)],n=e/2,i=[t(267)+e+t(304)+e+t(297)+e+" "+e+'">',t(311)+n+t(315)+n+t(291)+7+t(276),"</svg>"][t(321)]("");return t(264)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=ke,a=Math[o(287)](r,i/2,s/2);t.beginPath(),t[o(281)](e+a,n),t[o(272)](e+i-a,n),t[o(289)](e+i,n,e+i,n+a),t[o(272)](e+i,n+s-a),t[o(289)](e+i,n+s,e+i-a,n+s),t[o(272)](e+a,n+s),t.quadraticCurveTo(e,n+s,e,n+s-a),t.lineTo(e,n+a),t[o(289)](e,n,e+a,n),t[o(310)]()},getColorByType(t){const e=ke,n=this[e(278)];return{length:{line:n[e(290)][e(277)](e(263)),point:n.Color.fromCssColorString("#0ea5e9"),fill:n[e(290)][e(277)](e(263)).withAlpha(.18),background:n[e(290)].fromCssColorString(e(303))[e(307)](.88)},area:{line:n[e(290)][e(277)](e(259)),point:n[e(290)][e(277)](e(299)),fill:n[e(290)][e(277)]("#fb923c")[e(307)](.28),background:n[e(290)].fromCssColorString(e(261))[e(307)](.88)},angle:{line:n.Color.fromCssColorString(e(255)),point:n[e(290)][e(277)](e(309)),fill:n[e(290)][e(277)](e(255))[e(307)](.18),background:n.Color[e(277)](e(273)).withAlpha(.88)},height:{line:n[e(290)].fromCssColorString("#f43f5e"),point:n[e(290)][e(277)]("#e11d48"),fill:n[e(290)].fromCssColorString(e(283))[e(307)](.18),background:n[e(290)].fromCssColorString("#9f1239")[e(307)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=ke;if(![i(262),"angle"][i(312)](t))return e;const s=this[i(278)];return new s.PolylineOutlineMaterialProperty({color:e,outlineColor:s.Color[i(294)][i(307)](n[i(250)]?.96:.82),outlineWidth:n[i(250)]?2:1})}};function Oe(t,e){const n=Ye();return(Oe=function(t,e){return n[t-=415]})(t,e)}!function(t){const e=Oe,n=t();for(;;)try{if(742771==-parseInt(e(417))/1+parseInt(e(508))/2*(parseInt(e(427))/3)+-parseInt(e(519))/4+-parseInt(e(540))/5*(parseInt(e(451))/6)+-parseInt(e(433))/7*(parseInt(e(437))/8)+-parseInt(e(453))/9*(-parseInt(e(429))/10)+parseInt(e(539))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ye);const xe={initForegroundLineOverlay(){const t=Oe;if(typeof document!==t(482)&&this[t(536)][t(517)]&&!this[t(532)]){if(!this.foregroundLineCanvas||!this[t(494)]){const e=document[t(530)](t(521));e[t(510)](t(458),t(538)),e.style[t(415)]="absolute",e[t(419)].inset="0",e.style[t(534)]=t(431),e.style[t(514)]="10",e.style.display=t(431),this[t(536)].container[t(492)](e),this.foregroundLineCanvas=e,this[t(494)]=e.getContext("2d")}this.viewer[t(430)][t(485)][t(468)](this[t(477)]),this[t(532)]=!0,this[t(459)]()}},destroyForegroundLineOverlay(){const t=Oe;this[t(532)]&&this.viewer?.scene?.[t(485)]&&this[t(477)]&&this[t(536)].scene.postRender[t(529)](this[t(477)]),this[t(465)]?.parentNode&&this[t(465)][t(473)][t(535)](this.foregroundLineCanvas),this[t(465)]=null,this[t(494)]=null,this[t(532)]=!1},getForegroundOverlayLineTypes(){const t=Oe;return["length",t(524),t(475),t(484)]},shouldRenderLineViaOverlay(t){const e=Oe;return this[e(439)]()[e(505)](t)},refreshForegroundLineOverlayState(){const t=Oe;this.shouldUseForegroundLineOverlay()?this[t(434)]():this[t(491)]()},shouldUseForegroundLineOverlay(){const t=Oe;return!!this.shouldRenderLineViaOverlay(this[t(533)]?.type)||this[t(441)][t(463)](e=>this[t(483)](e?.[t(499)]?.[t(486)]))},syncForegroundLineOverlaySize(){const t=Oe,e=this[t(465)],n=this[t(494)],i=this[t(536)][t(517)];if(!e||!n||!i)return null;const s=Math[t(516)](1,Math[t(469)](i[t(472)]||this.viewer[t(521)][t(472)]||1)),r=Math.max(1,Math[t(469)](i[t(481)]||this.viewer.canvas.clientHeight||1)),o=globalThis[t(544)]||1,a=Math[t(516)](1,Math[t(469)](s*o)),u=Math[t(516)](1,Math[t(469)](r*o));return(e.width!==a||e[t(484)]!==u)&&(e[t(476)]=a,e[t(484)]=u,e[t(419)][t(476)]=s+"px",e.style[t(484)]=r+"px"),n[t(501)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=Oe,e=[],n=this[t(439)]();return n.includes(this[t(533)]?.[t(486)])&&this[t(533)][t(423)].length>1&&e[t(428)](...this[t(511)](this.activeMeasurement.type,this.getDynamicLinePositions(this[t(533)]))),this[t(441)][t(435)](i=>{const s=t;i?.result&&n[s(505)](i[s(499)].type)&&e[s(428)](...this[s(511)](i[s(499)].type,i.result[s(541)],i[s(499)][s(462)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=Oe,s=this[i(515)](t)?.[i(490)];return s?(t===i(484)?[this[i(418)](e)]:n&&n[i(495)]>0?n[i(531)](t=>this.getPointClippedSegmentPositions(t)):this[i(452)](e)[i(531)](t=>this[i(418)](t))).filter(t=>Array.isArray(t)&&t[i(495)]>1).map(t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=Oe,n=[];for(let i=0;i<t[e(495)]-1;i+=1)n.push([this[e(449)](t[i]),this.cloneCartesian(t[i+1])]);return n},renderForegroundLineOverlay(){const t=Oe,e=this[t(465)],n=this[t(494)];if(!e||!n)return;const i=this.syncForegroundLineOverlaySize();if(!i)return;const s=this[t(425)]();if(e.style[t(489)]=s[t(495)]>0?t(480):"none",n.clearRect(0,0,i[t(476)],i[t(484)]),0===s[t(495)])return;s[t(435)](e=>{const i=t;this[i(455)](n,e[i(520)],e.color,e[i(476)])});const r=this[t(474)]();this.punchForegroundLabelMasks(n,r)},drawForegroundLinePath(t,e,n,i=4){const s=Oe,r=[];let o=[];e[s(435)](t=>{const e=s,n=this[e(542)](t);if(!n)return o.length>1&&r[e(428)](o),void(o=[]);o[e(428)](n)}),o.length>1&&r[s(428)](o),0!==r[s(495)]&&(t[s(523)](),t[s(456)]=s(469),t[s(416)]=s(469),r[s(435)](e=>{const r=s;t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]="rgba(255, 255, 255, 0.94)",t[r(525)]=i+3,t[r(478)](),t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]=n[r(454)](),t[r(525)]=i,t[r(478)]()}),t[s(432)]())},collectForegroundLabelMasks(){const t=Oe,e=[],n=(t,n={})=>{const i=this[Oe(467)](t,n);i&&e.push(i)};return this[t(533)]?.[t(518)]?.[t(507)]&&n(this[t(533)][t(518)],{isPreview:!0}),this[t(441)].forEach(e=>{const i=t;if(!e?.[i(471)]||0===e[i(471)][i(495)])return;const s=e.entities.find(t=>t?.[i(461)]||t?.[i(498)]);s&&!1!==s[i(507)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=Oe,i=this[n(443)];if(!t||!1===t.show)return null;const s=this[n(513)](t),r=this[n(542)](s);if(!r)return null;let o=e.isPreview?112:124,a=e.isPreview?34:38,u=i.HorizontalOrigin[n(488)],c=i[n(528)].BOTTOM,l={x:0,y:0};if(t[n(461)]&&t[n(464)])o=t[n(464)][n(476)],a=t[n(464)][n(484)],u=t.measureBillboardOrigin?.[n(497)]??i[n(470)][n(488)],c=t.measureBillboardOrigin?.[n(506)]??i[n(528)][n(426)],l=t[n(500)]||l;else if(t[n(424)]){const e=t[n(424)];o=Number(this[n(487)](e[n(476)],o))||o,a=Number(this[n(487)](e[n(484)],a))||a,u=this.resolveGraphicDynamicValue(e[n(457)],u),c=this[n(487)](e.verticalOrigin,c);const i=this.resolveGraphicDynamicValue(e[n(444)],null);i&&(l={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(498)],s=String(this[n(487)](i[n(493)],"")),r=String(this[n(487)](i[n(466)],this[n(522)]||n(460))),h=this[n(503)](s,r,e[n(496)]);o=h.width,a=h[n(484)],u=this.resolveGraphicDynamicValue(i[n(457)],u),c=this[n(487)](i.verticalOrigin,c);const p=this[n(487)](i[n(444)],null);p&&(l={x:p.x||0,y:p.y||0})}}return this[n(526)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:c,pixelOffset:l,paddingX:e.isPreview?8:10,paddingY:e[n(496)]?6:8,radius:e[n(496)]?10:12})},resolveGraphicDynamicValue(t,e){const n=Oe;return t&&"function"==typeof t[n(446)]?t.getValue(this[n(536)].clock[n(442)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=Oe,s=String(t||"").split("\n"),r=s[i(479)]((t,e)=>Math[i(516)](t,e.length),0),o=String(e||"")[i(509)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(516)](n?96:112,Math[i(512)](r*a*.64+(n?20:26))),height:Math.max(n?30:34,Math[i(512)](s[i(495)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=Oe,i=this[n(443)],s=Math[n(516)](1,Number(e[n(476)])||1),r=Math.max(1,Number(e[n(484)])||1),o=Number(e[n(444)]?.x)||0,a=Number(e.pixelOffset?.y)||0;let u=t.x+o;e[n(457)]===i[n(470)].CENTER?u-=s/2:e[n(457)]===i.HorizontalOrigin.RIGHT&&(u-=s);let c=t.y+a;e[n(436)]===i[n(528)][n(488)]?c-=r/2:e[n(436)]===i[n(528)].BOTTOM&&(c-=r);const l=Number(e[n(527)])||0,h=Number(e[n(422)])||0;return{left:u-l,top:c-h,width:s+2*l,height:r+2*h,radius:Number(e[n(545)])||10}},punchForegroundLabelMasks(t,e){const n=Oe;Array[n(450)](e)&&0!==e.length&&(t.save(),t[n(537)]="destination-out",t[n(440)]=n(445),e[n(435)](e=>{const i=n;!e||e[i(476)]<=0||e[i(484)]<=0||(this.drawRoundedRect(t,e[i(504)],e.top,e[i(476)],e[i(484)],e.radius),t.fill())}),t.restore())},projectCartesianToOverlay(t){const e=Oe,n=this.Cesium;if(!t)return null;const i=n[e(438)][e(421)](this[e(536)][e(430)],t);return n[e(448)](i)&&Number[e(543)](i.x)&&Number[e(543)](i.y)?{x:i.x,y:i.y}:null}};function Ye(){const t=["positions","canvas","resultLabelFont","save","area","lineWidth","buildOverlayMaskRect","paddingX","VerticalOrigin","removeEventListener","createElement","map","foregroundLineOverlayActive","activeMeasurement","pointerEvents","removeChild","viewer","globalCompositeOperation","true","21643589yqhAdp","15eJbfqd","displayPositions","projectCartesianToOverlay","isFinite","devicePixelRatio","radius","position","lineCap","608085wEEctY","getPointClippedSegmentPositions","style","lineTo","wgs84ToWindowCoordinates","paddingY","dynamicPositions","billboard","collectForegroundLinePaths","BOTTOM","3Lrfbxy","push","275500msKitW","scene","none","restore","1239anRnSW","initForegroundLineOverlay","forEach","verticalOrigin","50936YbqfXb","SceneTransforms","getForegroundOverlayLineTypes","fillStyle","resultGroups","currentTime","Cesium","pixelOffset","#000000","getValue","moveTo","defined","cloneCartesian","isArray","1413462FfhCvA","buildLineSegmentsFromPositions","216JWAUXJ","toCssColorString","drawForegroundLinePath","lineJoin","horizontalOrigin","aria-hidden","syncForegroundLineOverlaySize","14px sans-serif","measureHasCloseButton","displaySegments","some","measureBillboardSize","foregroundLineCanvas","font","getForegroundLabelMask","addEventListener","round","HorizontalOrigin","entities","clientWidth","parentNode","collectForegroundLabelMasks","angle","width","foregroundLineOverlayBound","stroke","reduce","block","clientHeight","undefined","shouldRenderLineViaOverlay","height","postRender","type","resolveGraphicDynamicValue","CENTER","display","line","destroyForegroundLineOverlay","appendChild","text","foregroundLineContext","length","isPreview","horizontal","label","result","measurePixelOffset","setTransform","strokeStyle","estimateLabelMaskSize","left","includes","vertical","show","2367968nkdUMc","match","setAttribute","buildForegroundPathsByType","ceil","getEntityPosition","zIndex","getColorByType","max","container","previewLabelEntity","2512948fRvyER"];return(Ye=function(){return t})()}const Ze=je;function ze(){const t=["terrain","isArray","removeEventListener","primitive","4XKSIVD","cancelScheduledMouseMoveWork","rayEllipsoid","measureKeydownHandler","forEach","0.00 m","window","maxSamples","step","24kdrSsA","pickStage","show","pick","Cartesian3","style","latitude","pickFromRayMostDetailed","undefined","pendingMoveFrameId","final","function","fromRadians"," m²","closed","3hifJNY","projectToEllipsoidSurface","Cesium","position"," km","Cartesian2","min","cancelAnimationFrame","previewLineEntity","getPickedPosition","IntersectionTests","pointer","sampleTerrainMostDetailed","clone","setCloseButtonHover","cancelled","0.00°","1725976skcPGR","isSceneSurfacePickObject","scene","map","22136730IdILko","2091744kVLEGX","measureCursorActive","EllipsoidGeodesic","distance","cartesianToCartographic","pointEntities","Math","toFixed","Cesium3DTileFeature","sampleSegment","preview","surfaceDistance","resultInteractionHandler","defined","applyCursorStyle","camera","Cesium3DTilePointFeature","length","push","requestAnimationFrame","cartographicToCartesian","canvas","pendingMoveCallback","remove","660135fcIKKk","Cesium3DTileset","render","pickFromRay","auto","start","Entity","previewLabelEntity","getPickRay","filter","Cartographic","pickEllipsoid","crosshair","defaultCursor","854140GpIcqq","previewPointEntity","withTerrain","terrainProvider","globe","Model","content","tileset","handler","lerp","ellipsoid","destroy","isHoveringCloseButton","entities","isFinite","7120935VUoUJz","cursor","ceil","1956120nxdZed","interpolateUsingFraction","viewer","EllipsoidTerrainProvider","shift","height","activeMeasurement","longitude","toDegrees","withHiddenActiveMeasurementEntities","stop","scheduleMouseMoveWork"];return(ze=function(){return t})()}function je(t,e){const n=ze();return(je=function(t,e){return n[t-=432]})(t,e)}!function(t){const e=je,n=t();for(;;)try{if(539495==parseInt(e(488))/1+-parseInt(e(502))/2*(parseInt(e(442))/3)+parseInt(e(536))/4*(-parseInt(e(520))/5)+parseInt(e(545))/6*(-parseInt(e(459))/7)+parseInt(e(464))/8+-parseInt(e(517))/9+parseInt(e(463))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ze);const Fe={getPickedPosition(t,e=Ze(492),n={}){const i=Ze,s=this.Cesium;if(!t)return null;const r=n?.[i(546)]===i(437)?i(437):i(474),o=e!==i(492),a="preview"===r&&o,u=r===i(437)&&o,c=this[i(522)][i(461)],l=()=>{const e=i;if(!c.pickPositionSupported)return null;const n=this[e(529)](()=>{const n=e;c.render();const i=c[n(548)](t);if(!this[n(460)](i))return null;const r=c.pickPosition(t);return s[n(477)](r)?r:null});return s[e(477)](n)?{position:n,surfaceType:e(461)}:null},h=()=>{const e=i;if(typeof c[e(491)]!==e(438))return null;const n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;const r=this[e(529)](()=>{const t=e;c[t(490)]();const i=c[t(491)](n);return i&&this[t(460)](i.object)&&s[t(477)](i.position)?i[t(445)]:null});return s.defined(r)?{position:r,surfaceType:e(461)}:null},p=()=>(r===i(437)||a)&&h()||l(),d=()=>{const e=i;if(!this.hasTerrainProvider())return null;const n=this[e(522)][e(479)][e(496)](t);if(!s.defined(n))return null;const r=c[e(506)][e(548)](n,c);return s.defined(r)?{position:r,surfaceType:e(532)}:null},m=()=>{const e=i,n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;if(!s.IntersectionTests||typeof s[e(452)][e(538)]!==e(438))return null;const r=s[e(452)][e(538)](n,c.globe.ellipsoid);if(!s.defined(r))return null;const o=r[e(493)]>=0?r[e(493)]:r[e(530)];if(!s[e(477)](o)||o<0)return null;const a=s.Ray.getPoint(n,o);return s[e(477)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(512)}:null},g=()=>{const e=i,n=this[e(522)][e(479)][e(499)](t,c[e(506)][e(512)]);return s[e(477)](n)?{position:this[e(443)](n),surfaceType:e(512)}:null},f=()=>(a||u)&&m()||g();if(o)switch(e){case"scene":return p();case i(532):return d();case i(512):return f()}return p()||d()||f()},async getPickedPositionFinal(t,e=Ze(492)){const n=Ze,i=this[n(444)];if(!t)return null;const s=this[n(522)][n(461)],r=async()=>{const e=n;if(typeof s[e(434)]!==e(438))return null;const r=this[e(522)][e(479)][e(496)](t);if(!i.defined(r))return null;try{const t=await this.withHiddenActiveMeasurementEntitiesAsync(async()=>{const t=e;s[t(490)]();const n=await s[t(434)](r);return n&&this[t(460)](n.object)&&i[t(477)](n[t(445)])?n[t(445)]:null});return i[e(477)](t)?{position:t,surfaceType:e(461)}:null}catch{return null}};switch(e){case"terrain":return this[n(451)](t,n(532),{pickStage:n(437)});case"ellipsoid":return this[n(451)](t,n(512),{pickStage:n(437)});case n(461):return await r()||this[n(451)](t,n(461),{pickStage:n(437)});case n(492):default:return await r()||this[n(451)](t,"auto",{pickStage:"final"})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this.viewer[e(461)];return this[e(529)](()=>n[e(548)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this.activeMeasurement;if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array[e(533)](n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t[n(547)];!1!==s&&(i.push({entity:t,originalShow:s}),t[n(547)]=!1)});try{return t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(526)];if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array.isArray(n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t.show;!1!==s&&(i[n(482)]({entity:t,originalShow:s}),t.show=!1)});try{return await t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this.Cesium;if(!n.defined(t))return!1;const i=t[e(535)];if(typeof n[e(472)]!==e(435)&&t instanceof n[e(472)])return!0;if(void 0!==n.Cesium3DTilePointFeature&&t instanceof n[e(480)])return!0;if(typeof n[e(489)]!==e(435)&&i instanceof n.Cesium3DTileset)return!0;if(void 0!==n[e(507)]&&i instanceof n[e(507)])return!0;if(n[e(477)](t[e(509)])||n.defined(t[e(508)]?.[e(509)]))return!0;if(typeof n[e(494)]!==e(435)){if(t.id instanceof n[e(494)])return!1;if(i?.id instanceof n[e(494)])return!1}return!1},async buildTerrainBoundary(t){const e=Ze,n=[];for(let i=0;i<t.length;i+=1){const s=(i+1)%t[e(481)],r=(await this[e(473)](t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(462)](t=>this[e(484)](t));n[e(481)]>0&&r[e(524)](),n[e(482)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e[n(441)])?t.length:Math.max(0,t[n(481)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t.length],u=(await this.sampleSegment(i,a,e))[n(462)](t=>this[n(484)](t));s[n(482)](u),r[n(481)]>0?r[n(482)](...u.slice(1)):r[n(482)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this[i(444)],r=this.cartesianToCartographic(t),o=this.cartesianToCartographic(e),a=new(s[i(466)])(r,o),u=Number.isFinite(a[i(475)])?a.surfaceDistance:0,c=n[i(544)]||30,l=n[i(543)]||120,h=Math.max(1,Math[i(448)](l,Math[i(519)](u/c))),p=[];for(let t=0;t<=h;t+=1){const e=0===h?0:t/h;let n;n=u>0?a[i(521)](e):new(s[i(498)])(r[i(527)],r[i(433)],r[i(525)]||0),n[i(525)]=s[i(470)][i(511)](r[i(525)]||0,o[i(525)]||0,e),p[i(482)](n)}return n[i(504)]&&this.hasTerrainProvider()&&await s[i(454)](this.viewer[i(505)],p),p},calculateCartesianDistance(t){const e=Ze,n=this.Cesium;if(t[e(481)]<2)return 0;let i=0;for(let s=0;s<t.length-1;s+=1)i+=n.Cartesian3[e(467)](t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number[e(516)](t)?t>=1e3?(t/1e3)[e(471)](3)+e(446):t.toFixed(2)+" m":e(541)},formatArea(t){const e=Ze;return Number[e(516)](t)?t>=1e6?(t/1e6).toFixed(3)+" km²":t[e(471)](2)+e(440):"0.00 m²"},formatAngle(t){const e=Ze;return Number[e(516)](t)?t[e(471)](2)+"°":e(458)},hasTerrainProvider(){const t=Ze;return!(this[t(522)].terrainProvider instanceof this.Cesium[t(523)])},cartesianToCartographic(t){const e=Ze;return this.Cesium.Cartographic.fromCartesian(t,this[e(522)].scene[e(506)][e(512)])},cartographicToCartesian(t){const e=Ze;return this[e(444)][e(549)][e(439)](t[e(527)],t[e(433)],t[e(525)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(468)](t);return n.height=0,this[e(484)](n)},cloneCartesian(t){const e=Ze;return this[e(444)][e(549)].clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this.Cesium[i(549)][i(467)](t,e)<=n},serializePoint(t){const e=Ze,n=this[e(444)],i=this.cartesianToCartographic(t);return{longitude:Number(n.Math[e(528)](i[e(527)])[e(471)](6)),latitude:Number(n[e(470)][e(528)](i[e(433)])[e(471)](6)),height:Number((i[e(525)]||0)[e(471)](2))}},removeEntities(t=[]){const e=Ze;t[e(540)](t=>{const n=e;t&&this[n(522)][n(515)][n(487)](t)})},destroyHandler(){const t=Ze;this[t(537)](),this[t(539)]&&typeof globalThis.window?.removeEventListener===t(438)&&(globalThis[t(542)][t(534)]("keydown",this.measureKeydownHandler),this.measureKeydownHandler=null),this[t(510)]&&(this[t(510)][t(513)](),this[t(510)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(438)&&(typeof globalThis.requestAnimationFrame===e(438)?(this.pendingMoveCallback=t,null===this[e(436)]&&(this[e(436)]=globalThis[e(483)](()=>{const t=e;this[t(436)]=null;const n=this[t(486)];this[t(486)]=null,typeof n===t(438)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this[i(444)];if(!e||typeof n!==i(438))return;const r=s[i(447)][i(455)](e);this[i(531)](()=>{const e=i;t&&!t[e(457)]&&this[e(526)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this.pendingMoveFrameId&&"function"==typeof globalThis.cancelAnimationFrame&&globalThis[t(449)](this.pendingMoveFrameId),this.pendingMoveFrameId=null,this[t(486)]=null},destroyResultInteractionHandler(){const t=Ze;this[t(476)]&&(this[t(476)].destroy(),this.resultInteractionHandler=null),this[t(456)](!1)},setCursor(t){const e=Ze;this[e(522)][e(485)]&&(this[e(465)]=t,this[e(478)]())},applyCursorStyle(){const t=Ze;this[t(522)][t(485)]&&(this[t(514)]?this.viewer[t(485)][t(432)][t(518)]=t(453):this.viewer.canvas[t(432)][t(518)]=this[t(465)]?t(500):this[t(501)])}};var Ue=Qe;function He(){var t=["84536RNGmCh","resultInteractionHandler","bind","18nPaERM","Cesium","Cartesian2","measureKeydownHandler","handler","angle","startAreaMeasure","foregroundLineCanvas","110HBbtad","7OaIRow","assign","7701681CtJgJC","resultLabelFont","resultLabelCloseSize","foregroundLineOverlayBound","resultLabelPaddingX","resultGroups","renderForegroundLineOverlay","length","207503dRdvlr","style","pointMarkerSize","viewer","282ojYFCc","Cesium global is unavailable.","MeasureTools requires a Cesium viewer.","24OomvoA","pointClipPixelRadius","resultLabelPaddingTop","height","4618422ONhFoe","24ZQQdth","pointMarkerImage","defaultCursor","resultLabelPaddingBottom","213425gETUbb","startLengthMeasure","startAngleMeasure","resultLabelPixelOffset","foregroundLineContext","resultLabelLineHeight","startHeightMeasure","labelEyeOffset","measureCursorActive","initResultInteractionHandler","14px sans-serif","createPointMarkerImage","4749370MmdfMr","canvas","area","startMeasure","11pHcgMg"];return(He=function(){return t})()}function Qe(t,e){var n=He();return(Qe=function(t,e){return n[t-=199]})(t,e)}!function(t){for(var e=Qe,n=t();;)try{if(549717==parseInt(e(199))/1+-parseInt(e(243))/2*(-parseInt(e(203))/3)+-parseInt(e(206))/4*(-parseInt(e(215))/5)+-parseInt(e(210))/6*(-parseInt(e(244))/7)+-parseInt(e(232))/8*(-parseInt(e(235))/9)+-parseInt(e(227))/10*(-parseInt(e(231))/11)+parseInt(e(211))/12*(-parseInt(e(246))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(He);class Je{constructor(t){var e=Qe;if(!t)throw new Error(e(205));if(this[e(202)]=t,this.Cesium=globalThis.Cesium,!this[e(236)])throw new Error(e(204));this[e(239)]=null,this[e(238)]=null,this[e(233)]=null,this.activeMeasurement=null,this[e(251)]=[],this[e(213)]=this[e(202)][e(228)]?.[e(200)]?.cursor||"",this[e(201)]=18,this[e(207)]=10,this[e(247)]=e(225),this[e(220)]=20,this[e(250)]=12,this[e(208)]=10,this[e(214)]=10,this[e(248)]=18,this.resultLabelCloseGap=8,this[e(218)]=new(this.Cesium[e(237)])(0,-24),this[e(222)]=new(this[e(236)].Cartesian3)(0,0,-10),this[e(223)]=!1,this.isHoveringCloseButton=!1,this.pendingMoveFrameId=null,this.pendingMoveCallback=null,this[e(242)]=null,this[e(219)]=null,this.foregroundLineOverlayActive=!1,this[e(249)]=this[e(252)][e(234)](this),this[e(212)]=this[e(226)](),this[e(224)]()}[Ue(216)](t={}){var e=Ue;return this[e(230)](e(253),t)}[Ue(241)](t={}){var e=Ue;return this[e(230)](e(229),t)}[Ue(217)](t={}){var e=Ue;return this[e(230)](e(240),t)}[Ue(221)](t={}){var e=Ue;return this[e(230)](e(209),t)}}Object[Ue(245)](Je.prototype,le,de,fe,Ce,be,ye,Te,Le,Ge,xe,Fe);const Ve=Ke;function We(){const t=['<img src="data:image/png;base64,iVBOR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OatCPPmeuA4N4xhkGMIJN3DlxpzgPqIEFNsX8xwMSdoRjTewhr/cshhw7mj/Bvt7LebaDdp6Xqoed+wa9eHe+FscFkvjCB1K4t6RbLKIB1ZiuSLbxioxqZkWdt2S3CyUnuORTCFugDUt4w7daWFcRF1cri9rdClp+27iBRuTQqrat48BZYAxdKuIL0ljD+H/a+Ihm24FdhmEV0EYCEypcVsWzwu3iSTFF/aXlIxTEHZ36G1NKPsKkz2WaUq9HVbSM7228wgI+MYfrqAV+BBgAxmlEz0eKwzQAAAAASUVORK5CYII=" />',"tileProvider","length","视角相关","显示三角网","display","position","filter","wireframe","startMeasure","ScreenSpaceEventType","开启光照效果","276gBgPkY","面积测量",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZ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iDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',"backFaceAlpha","ScreenSpaceEventHandler","drawPolygon","CesiumDevTools v1.0.4","openMouseAdsorb","getPrototypeOf","地形服务","show",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MEZDRDc1REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MEZDRDc2REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTcwRkNENzNERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTcwRkNENzRERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5NQBqvAAAA1klEQVR42mL09fVloAQwQek9QPyfRLwP2QBnNIO/AvEZApY7IhuADpKB2BSI1xLrBWRwEYhXAbEgEJcB8U9iDXgADYtyIJYB4u1QsSlQ+W9APAmIO4F4PUwTC5IBMUB8FMqeC8TmQBwPxC1AnADEhUC8DIj5gFgZiAPRDdgBxK+AmA3qAgao5pVA7A7EZ4F4OhBn4PICDxArIWkGASloOIA0h6JrRncBLlADxA5AbIlNkhgDmIHYnpiUSCrYi+wCV0rzAgO1DDhERCY6hC8Q7Uh1AUCAAQBKmDUISYZYAgAAAABJRU5ErkJggg==" />',"开启深度检测","enabled","globe","depthTestAgainstTerrain","410Uwwdir","_debug",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAA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6QTYzRjUxODFERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz70rz6OAAAAoElEQVR42mL09fVloAQwMVAIcBkgCsSHgPgzEPeQY0AlENsCMQ8QFwOxOakGvEDjs6HxLaEWMLAA8X88LvwOxLOA+DCSWA/UVSAwCWQAI4nhFo/ETiEnFrYisa8S8gI+8ACIM8nxAkYs/CcSPwZiL2wGMBLAMCADxDPJScrPkNjM5BiQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"点击相关","forEach","getCameraInfo","关闭深度检测","2151603zcIMoP","srcElement",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9uc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","取消当前测量","坐标拾取","开启地表透明","scene","关闭地表透明","关闭三角网","98361SHgRay","长度测量","118591cNyYBh","initMenu","skyAtmosphere","295dYysyV","glb模型调整","开启大气渲染",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFBMkQ4ODJBREUzQzExRUJBNkYyRDkxRkY1N0UzQjJDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFBMkQ4ODJCREUzQzExRUJBNkYyRDkxRkY1N0UzQjJDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUEyRDg4MjhERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUEyRDg4MjlERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4C7Aj+AAABHUlEQVR42mL09fVloAQwYRFzBOKDQNwDxIxQ3AMVc0RXzILFgAAgtoPiYKiYApQOBOL9+AxgBmILJL4Cmrw5VM1fdAOcoDZbA7ERHi+bAfEpID4CxBuBeB/MgHqok2HgNxDXAfFCIP4PxIlA3ADEbFALQNgAZAAsEE+g2QTS3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',"3dtile模型调整","innerHTML","_surface","12FYVOPb","requestRender","setInputAction","height","清空测量结果","20292YWafPS","关闭大气渲染","adjustGlb","terrianOpc",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE20lEQVR4AeSZXXrbIBBF426syXuypjhrSt7tnbn3KEJBaMSPAJt87WciCQ0zcw9okN0/T7/k39vb28W119fX91Zp/woACJfgZ9dOp9O5FYThAXjipf/nA4T53k/ngbOhAcyzzMzvSXsWhJvsYjZ7Y6f+YQFI1DuzPGWZ+CO7C/YJM/P2kAAQI1FnM+OdTuwZt3N7t3s4ABLxjJjdj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if(602493==parseInt(e(548))/1*(parseInt(e(475))/2)+parseInt(e(531))/3+-parseInt(e(480))/4*(-parseInt(e(551))/5)+parseInt(e(503))/6*(-parseInt(e(489))/7)+-parseInt(e(485))/8+parseInt(e(546))/9*(-parseInt(e(524))/10)+parseInt(e(486))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(We);class Xe{#v;#b;#w;#y;#E;#r;constructor(t){const e=Ke;this.#v=new h(t),this.#b=new A(t),this.#w=new re(t),this.#y=new u(t),this.#E=new Je(t),this.#R(this.#y),this.#R(this.#b),this.#R(this.#w),this.#r=t,console[e(535)](e(514))}#R(t){const e=Ke;Object.getOwnPropertyNames(Object[e(516)](t))[e(498)](t=>t!==e(506))[e(528)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Ke;this.#E[e(500)](t,{surfaceMode:"auto",useTerrain:!1,onComplete:t=>{const n=e;console.info(n(509),t)}})}[Ve(549)](){const t=Ve,e=[{text:t(527),icon:t(487),sub:[{text:t(541),className:"positionPick",icon:t(510),events:{click:e=>{const n=t;this.#v[n(515)]()}}},{text:t(507),icon:t(510),events:{click:e=>{const n=t;this.#v[n(513)]()}}}]},{text:"测量",icon:t(484),sub:[{text:t(547),icon:"",events:{click:e=>{const n=t;this.#N(n(493))}}},{text:t(504),icon:"",events:{click:e=>{const n=t;this.#N(n(536))}}},{text:"角度测量",icon:"",events:{click:t=>{this.#N("angle")}}},{text:"高差测量",icon:"",events:{click:e=>{const n=t;this.#N(n(478))}}},{text:t(540),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(479),icon:"",events:{click:e=>{const n=t;this.#E[n(538)]()}}}]},{text:t(494),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZW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KA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{this[t(529)]()}}}]},{text:t(508),icon:t(505),sub:[{text:t(469),icon:t(510),events:{click:e=>{const n=t;this.#w[n(482)]()}}},{text:t(472),icon:t(490),events:{click:t=>{this.#w.adjust3Dtile()}}}]},{text:t(517),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFBQjIxNDU4REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFBQjIxNDU5REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUFCMjE0NTZERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUFCMjE0NTdERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz49EbzzAAAAtUlEQVR42mL09fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',sub:[{text:t(495),icon:t(491),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(495)?(e.srcElement[n(473)]=n(545),this.#r[n(543)][n(522)]._surface.tileProvider[n(525)][n(499)]=!0,this.#r[n(543)][n(476)]()):(e.srcElement[n(473)]=n(495),this.#r[n(543)].globe[n(474)][n(492)][n(525)].wireframe=!1,this.#r[n(543)][n(476)]())}}},{text:t(542),className:t(483),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA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gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',events:{click:e=>{const n=t;e.srcElement[n(473)]===n(542)?(e[n(532)][n(473)]=n(544),this.#r.scene[n(522)][n(534)][n(521)]=!0,this.#r[n(543)].globe[n(534)].frontFaceAlpha=.2,this.#r[n(543)].globe.translucency[n(511)]=.2):(e[n(532)][n(473)]=n(542),this.#r[n(543)][n(522)][n(534)][n(521)]=!1)}}}]},{text:"场景设置",icon:t(471),sub:[{text:t(520),icon:t(519),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(520)?(e[n(532)][n(473)]=n(530),this.#r[n(543)][n(522)][n(523)]=!0):(e[n(532)][n(473)]="开启深度检测",this.#r.scene[n(522)].depthTestAgainstTerrain=!1)}}},{text:t(481),icon:t(526),events:{click:e=>{const n=t;e.srcElement[n(473)]===n(481)?(e[n(532)].innerHTML=n(470),this.#r.scene[n(550)][n(518)]=!1):(e.srcElement[n(473)]="关闭大气渲染",this.#r[n(543)][n(550)][n(518)]=!0)}}},{text:t(502),icon:t(533),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(502)?(e.srcElement.innerHTML=n(488),this.#r[n(543)][n(522)][n(539)]=!0,this.#r[n(537)]=!0):(e[n(532)].innerHTML=n(502),this.#r[n(543)][n(522)][n(539)]=!1,this.#r.shadows=!1)}}}]}];let n=new i(e,{});new(Cesium[t(512)])(this.#r[t(543)].canvas)[t(477)](e=>{const i=t;let s={clientX:e[i(497)].x,clientY:e.position.y};n[i(496)](s)},Cesium[t(501)].RIGHT_CLICK)}}function Ke(t,e){const n=We();return(Ke=function(t,e){return n[t-=469]})(t,e)}return Xe});
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export function setupCounter(element: HTMLButtonElement): void
package/package.json CHANGED
@@ -1,12 +1,33 @@
1
- {
2
- "name": "cesium-dev-tool",
3
- "version": "1.0.4",
4
- "main": "cesiumDevTools.js",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
7
- },
8
- "keywords": [],
9
- "author": "ijusee",
10
- "license": "ISC",
11
- "description": ""
12
- }
1
+ {
2
+ "name": "cesium-dev-tool",
3
+ "private": false,
4
+ "version": "1.1.1",
5
+ "type": "module",
6
+ "files": [
7
+ "dist/cesiumDevTools.js",
8
+ "dist/cesiumDevTools.umd.cjs",
9
+ "index.d.ts"
10
+ ],
11
+ "main": "./dist/cesiumDevTools.umd.cjs",
12
+ "module": "./dist/cesiumDevTools.js",
13
+ "types": "./index.d.ts",
14
+ "exports": {
15
+ "types": "./index.d.ts",
16
+ "import": "./dist/cesiumDevTools.js",
17
+ "require": "./dist/cesiumDevTools.umd.cjs"
18
+ },
19
+ "scripts": {
20
+ "dev": "vite",
21
+ "build": "vite build"
22
+ },
23
+ "devDependencies": {
24
+ "@rollup/plugin-terser": "^0.4.4",
25
+ "javascript-obfuscator": "^4.1.0",
26
+ "rollup-plugin-obfuscator": "^1.1.0",
27
+ "vite": "^7.3.1",
28
+ "vite-plugin-css-injected-by-js": "^3.5.1"
29
+ },
30
+ "dependencies": {
31
+ "decimal.js": "^10.4.3"
32
+ }
33
+ }
package/cesiumDevTools.js DELETED
@@ -1,13 +0,0 @@
1
- (function() {
2
- "use strict";
3
- try {
4
- if (typeof document != "undefined") {
5
- var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode('.cm_container{\r\n position: fixed;\r\n opacity: 0;\r\n transform: scale(0);\r\n transition: transform 0.1s;\r\n transform-origin: top left;\r\n padding: 0;\r\n}\r\n\r\n.cm_container.display{\r\n opacity: 1;\r\n transform: scale(1);\r\n}\r\n\r\n.cm_container, .cm_container *{\r\n box-sizing: border-box;\r\n}\r\n\r\n.cm_container *{\r\n position: relative;\r\n}\r\n\r\n.cm_container ul{\r\n list-style-type: none;\r\n padding: 0;\r\n margin: 0;\r\n background-color: #2d2d2d;\r\n box-shadow: 0 0 5px #000000;\r\n border-radius: 1px;\r\n}\r\n\r\n.cm_container li{\r\n padding: 5px 10px;\r\n padding-right: 1.7em;\r\n cursor: pointer;\r\n white-space: nowrap;\r\n color: #ccc;\r\n}\r\n\r\n.cm_container li:hover{\r\n background-color: #242424;\r\n}\r\n\r\n.cm_container li .cm_icon_span{\r\n width: 1.5em;\r\n height: 1.2em;\r\n vertical-align: bottom;\r\n display: inline-block;\r\n margin-right: 5px;\r\n padding-right: 5px;\r\n text-align: center;\r\n}\r\n\r\n.cm_container li .cm_sub_span{\r\n width: 1em;\r\n display: inline-block;\r\n text-align: center;\r\n position: absolute;\r\n top: 50%;\r\n right: 0.5em;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.cm_container li > ul{\r\n position: absolute;\r\n top: 0;\r\n left: 100%;\r\n opacity: 0;\r\n transition: opacity 0.2s;\r\n visibility: hidden;\r\n}\r\n\r\n.cm_container li:hover > ul{\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\n.cm_container li.cm_divider{\r\n border-bottom: 1px solid #aaa;\r\n margin: 5px;\r\n padding: 0;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li.cm_divider:hover{\r\n background-color: inherit;\r\n}\r\n\r\n.cm_container.cm_border_right > ul ul{\r\n left: unset;\r\n right: 100%;\r\n}\r\n\r\n.cm_container.cm_border_bottom > ul ul{\r\n top: unset;\r\n bottom: 0;\r\n}\r\n\r\n.cm_container li[disabled=""]{\r\n color: #777;\r\n cursor: default;\r\n}\r\n\r\n.cm_container li[disabled=""]:hover{\r\n background-color: inherit;\r\n}\r\n.CatGlbMenuContainer {\r\n width: 500px;\r\n height: 400px;\r\n background-color: rgb(47, 74, 74);\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n z-index: 999999999;\r\n border-width: 0px 2px 2px 0px;\r\n border-style: inset;\r\n border-color: goldenrod;\r\n /* border: 2px solid #000; 其余边框 */\r\n border-bottom-right-radius: 10px;\r\n padding: 25px 25px 0px 25px;\r\n color: aliceblue;\r\n user-select: none;\r\n\r\n .CatMenuIdInputContainer {\r\n width: 50%;\r\n height: 20px;\r\n display: flex;\r\n\r\n .CatMenuIdInput {\r\n width: 70%;\r\n height: 100%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuIdInputButton {\r\n width: 25%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n }\r\n }\r\n\r\n .CatMenuCloseButton {\r\n width: 20px;\r\n height: 20px;\r\n position: absolute;\r\n right: 12px;\r\n top: 10px;\r\n background-color: red;\r\n color: aliceblue;\r\n font-size: 12px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n }\r\n\r\n .CatMenuItemContainer {\r\n margin-top: 20px;\r\n width: 100%;\r\n display: flex;\r\n flex-wrap: wrap;\r\n\r\n .CatMenuPropertyName {\r\n width: 17%;\r\n }\r\n\r\n .CatMenuInput {\r\n height: 20px;\r\n width: 30%;\r\n text-align: center;\r\n }\r\n\r\n .CatMenuInputMinus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n border-right: 2px #333232f8 solid;\r\n }\r\n\r\n .CatMenuInputPlus {\r\n width: 5%;\r\n height: 25px;\r\n font-size: 14px;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #57606f;\r\n margin-right: 15px;\r\n }\r\n\r\n .CatMenuStepInput {\r\n width: 24%;\r\n text-align: center;\r\n }\r\n }\r\n}'));
7
- document.head.appendChild(elementStyle);
8
- }
9
- } catch (e) {
10
- console.error("vite-plugin-css-injected-by-js", e);
11
- }
12
- })();
13
- const t=e;function e(t,n){const s=i();return(e=function(t,e){return s[t-=478]})(t,n)}!function(){const t=e,n=i();for(;;)try{if(959326==-parseInt(t(550))/1*(-parseInt(t(480))/2)+-parseInt(t(527))/3*(parseInt(t(536))/4)+parseInt(t(544))/5*(-parseInt(t(508))/6)+parseInt(t(495))/7*(parseInt(t(552))/8)+parseInt(t(518))/9+-parseInt(t(537))/10*(parseInt(t(511))/11)+parseInt(t(525))/12*(parseInt(t(514))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}();class n{#t;#e;#n;#i;#s;[t(522)]=0;[t(510)];constructor(e,n){const i=t;if(this.#n=this,this.#i=this.count++,this.#t=e,this.#s=null,this.#e=n,!(e instanceof Array))throw new Error("Parameter 1 must be of type Array");if(void 0!==n){if(typeof n!==i(516))throw new Error("Parameter 2 must be of type object")}else n={};window[i(512)]("resize",()=>{const t=i;s[t(523)](n,t(507),!0)&&this[t(548)]()}),this[i(528)]()}[t(533)](e){if(typeof e!==t(516))throw new Error("Parameter 1 must be of type object");this.#e=e}[t(488)](e,n){const i=t;if(typeof e!==i(546))throw new Error(i(526));if(typeof n===i(486))throw new Error("Parameter 2 must be set");this.#e[e]=n}getOptions(){return this.#e}[t(528)](){const e=t;if(null==document[e(532)]("cm_"+this.#i)){let t=document[e(503)](e(491));t.className=e(547),t.id=e(535)+this.#i,document.body[e(539)](t)}let n=document[e(532)]("cm_"+this.#i);n.innerHTML="",n[e(539)](this[e(541)](this.#t))}[t(541)](e){const n=t,i=this;let r=document[n(503)]("ul");return e[n(524)](function(t){const e=n;let o=document.createElement("li");if(o[e(534)]=i.#n,t[e(499)]&&(o[e(499)]=t[e(499)]),void 0===t[e(481)]){let n=document[e(503)](e(509));n.className=e(553),""!=s[e(523)](t,e(515),"")?n[e(519)]=s[e(523)](t,e(515),""):n[e(519)]=s.getProperty(i.#e,e(498),"");let r=document[e(503)](e(509));r[e(499)]=e(483),""!=s[e(523)](t,"text","")?r[e(519)]=s[e(523)](t,e(554),""):r[e(519)]=s[e(523)](i.#e,"default_text",e(543));let u=document[e(503)]("span");if(u[e(499)]=e(479),void 0!==t.sub&&(""!=s.getProperty(i.#e,e(500),"")?u[e(519)]=s[e(523)](i.#e,"sub_icon",""):u.innerHTML="&#155;"),o[e(539)](n),o.appendChild(r),o[e(539)](u),s.getProperty(t,e(545),!0)){if("object"==typeof t.events){let n=Object[e(505)](t[e(501)]);for(let i=0;i<n.length;i++)o[e(512)](n[i],t.events[n[i]])}typeof t[e(502)]!==e(486)&&o.appendChild(i[e(541)](t.sub))}else o[e(542)](e(485),"")}else t[e(481)]===e(555)&&(o[e(499)]="cm_divider");r[e(539)](o)}),r}[t(489)](e,n){const i=t;typeof n!==i(486)?this.#s=n:this.#s=e[i(492)];let r=document[i(532)](i(535)+this.#i);const o={x:e[i(538)],y:e[i(549)]},u=o.x,a=o.y,c=r.offsetWidth+4,l=r[i(484)]+4,p=window[i(513)],h=window[i(497)],m=parseInt(s[i(523)](this.#e,i(530),2));r[i(556)][i(490)]=p-u<c?p-c+"px":u+m+"px",h-a<l?r[i(556)][i(506)]=h-l+"px":r[i(556)].top=a+m+"px";const d=s[i(478)](r);p-u<d[i(496)]?r[i(551)][i(521)]("cm_border_right"):r[i(551)].remove(i(520)),h-a<d[i(494)]?r.classList[i(521)]("cm_border_bottom"):r.classList.remove("cm_border_bottom"),r[i(551)][i(521)](i(489)),s[i(523)](this.#e,i(517),!0)&&window.addEventListener("click",this.documentClick[i(504)](this))}hide(){const e=t;document[e(532)](e(535)+this.#i)[e(551)][e(487)](e(489)),window.removeEventListener(e(531),this[e(482)][e(504)](this))}[t(482)](){this[t(548)]()}}function i(){const t=["9517895mHxXcn","enabled","string","cm_container","hide","clientY","1735203obMbRV","classList","8gIrOsd","cm_icon_span","text","cm_divider","style","getSizes","cm_sub_span","2XFzgjQ","type","documentClick","cm_text","offsetHeight","disabled","undefined","remove","changeOption","display","left","div","target","getElementsByTagName","height","2913022ShkQkW","width","innerHeight","default_icon","className","sub_icon","events","sub","createElement","bind","keys","top","close_on_resize","6sUOfWs","span","DIVIDER","35761wvNUrO","addEventListener","innerWidth","13dbyyOs","icon","object","close_on_click","10602531kQNVdJ","innerHTML","cm_border_right","add","count","getProperty","forEach","19764948cacbWL","Parameter 1 must be of type string","2301RmOtHx","reload","offsetWidth","mouse_offset","click","getElementById","setOptions","menu","cm_","6784hgoLtP","2500CFtPrh","clientX","appendChild","length","renderLevel","setAttribute","item"];return(i=function(){return t})()}let s={getProperty:function(e,n,i){const s=t;return typeof e[n]!==s(486)?e[n]:i},getSizes:function(e){const n=t;let i=e.getElementsByTagName("li"),r=0,o=0;for(let t=0;t<i[n(540)];t++){let e=i[t];e.offsetWidth>r&&(r=e[n(529)]),e[n(484)]>o&&(o=e[n(484)])}let u=r,a=o;for(let t=0;t<i[n(540)];t++){let e=i[t][n(493)]("ul");if(typeof e[0]!==n(486)){let t=s[n(478)](e[0]);r+t.width>u&&(u=r+t.width),o+t[n(494)]>a&&(a=o+t.height)}}return{width:u,height:a}}};const r=o;function o(t,e){const n=u();return(o=function(t,e){return n[t-=200]})(t,e)}function u(){const t=["1496970rAgNCz","9AKJPVC","13077933mygpwL","toDegrees","15GKVoaq","8447gycqFH","687620IiGqWn","height","27fGuhxg","Math","fromCartesian","10957667gtmeLo","longitude","352mXdVlW","transformCnToCc","3130986JJPuin","4294520nmQbDe"];return(u=function(){return t})()}!function(){const t=o,e=u();for(;;)try{if(862146==parseInt(t(204))/1*(-parseInt(t(212))/2)+parseInt(t(207))/3*(parseInt(t(205))/4)+parseInt(t(203))/5*(-parseInt(t(214))/6)+parseInt(t(210))/7+-parseInt(t(215))/8+-parseInt(t(200))/9*(-parseInt(t(216))/10)+parseInt(t(201))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class a{#r;constructor(t){this.#r=t}static[r(213)](t){const e=r,n=Cesium.Cartographic[e(209)](t);return[Cesium[e(208)].toDegrees(n[e(211)]),Cesium[e(208)][e(202)](n.latitude),n[e(206)]]}}const c=l;function l(t,e){const n=m();return(l=function(t,e){return n[t-=332]})(t,e)}!function(){const t=l,e=m();for(;;)try{if(590563==parseInt(t(333))/1+-parseInt(t(336))/2+parseInt(t(343))/3+parseInt(t(338))/4+-parseInt(t(347))/5*(-parseInt(t(385))/6)+parseInt(t(369))/7*(-parseInt(t(340))/8)+parseInt(t(379))/9*(-parseInt(t(375))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const p="\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t";class h{#r;#o;#u;#a;#c;#l;#p;constructor(t){this.#r=t,this.#p=[]}[c(342)](){const t=c;this[t(349)](),this.#o=new(Cesium[t(382)])(this.#r[t(358)][t(365)]),this.#o[t(384)](e=>{const n=t,i=this.#h(e[n(374)]);if(i){const t=a[n(389)](i);console.info(n(357)+t,p)}this.endEvent()},Cesium[t(351)][t(370)]),this.createMouseAdsorbHandle()}createMouseAdsorbHandle(){const t=c;this.#a=this.#r[t(358)][t(341)][t(361)](new(Cesium[t(392)])),this.#a[t(361)]({position:new Cesium.Cartesian3(1,2,3),color:Cesium[t(337)][t(354)]});let e=this.#a[t(376)][0];this.#u=new(Cesium[t(382)])(this.#r[t(358)].canvas),this.#u[t(384)](n=>{const i=t,s=this.#h(n.endPosition);s&&(e[i(374)]=s)},Cesium[t(351)][t(364)])}#m(){const t=c;this.#o=this.#o&&this.#o.destroy(),this.#u=this.#u&&this.#u[t(373)]()}#d(){const t=c;this.#c&&(this.#c[t(339)](e=>{const n=t;this.#r.entities[n(371)](e)}),this.#c=[]),this.#a=this.#a&&this.#a[t(373)]()}[c(349)](){this.#m(),this.#d()}#h(t){const e=c,n=this.#r[e(358)][e(387)](t);if(Cesium[e(334)](n))return this.#r[e(358)][e(359)](t);const i=this.#r[e(344)][e(381)](t);return this.#r[e(332)]instanceof Cesium.EllipsoidTerrainProvider?this.#r[e(344)][e(335)](t,this.#r[e(358)][e(348)].ellipsoid):this.#r[e(358)][e(348)][e(387)](i,this.#r[e(358)])}[c(362)](){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(382)])(this.#r.scene[t(365)]),this.#o[t(384)](n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(380)](()=>{const t=r,o=this.#h(n[t(374)]);if(o){const e=a.transformCnToCc(o);i[t(391)](...e),s[t(391)](o)}!e&&(e=this.#A()),2===s.length&&this.#M(),this.#I(s.at(-1))},200)},Cesium.ScreenSpaceEventType[t(370)]),this.#o.setInputAction(e=>{const i=t,r=this.#h(e[i(356)]);r&&(n=r,s[i(390)]>0&&(this.#p=[...s],this.#p.push(r,s.at(0))))},Cesium[t(351)][t(364)]),this.#o[t(384)](r=>{const o=t;clearTimeout(this.#l);let u,a=this.#r[o(358)].pickPosition(r[o(374)]),c=this.#r[o(358)][o(387)](r[o(374)]);if(c&&a&&!c.id)u=[1,1,1];else{let t=this.#r[o(344)][o(381)](r[o(374)]);u=this.#r[o(358)][o(348)][o(387)](t,this.#r.scene)}u&&(s.length<2?alert("请选择3个及以上的点"):(s[o(391)](n),console.group(o(345),p),console[o(352)](""+i),console[o(377)](),i=[],s=[],e=void 0,this.#p=[],this[o(349)]()))},Cesium[t(351)][t(378)])}#I(t){const e=c,n=this.#r[e(386)].add({position:t,point:{pixelSize:7,color:Cesium[e(337)][e(360)],disableDepthTestDistance:Number[e(353)]}});return this.#c[e(391)](n),n}#C(t,e){const n=c;let i=new(Cesium[n(372)])({geometry:new(Cesium[n(355)])({positions:[Cesium.Cartesian3[n(366)](...t),Cesium[n(346)].fromDegrees(...e)],width:3})}),s=new(Cesium[n(393)])({material:Cesium.Material[n(350)](n(337),{color:new(Cesium[n(337)])(1,1,0,1)})}),r=new(Cesium[n(383)])({geometryInstances:i,appearance:s});return this.#r[n(358)].primitives[n(361)](r)}#A(){const t=c,e=this.#r[t(386)][t(361)]({polyline:{positions:new(Cesium[t(367)])(()=>this.#p,!1),width:3,material:Cesium.Color[t(368)],clampToGround:!0}});return this.#c[t(391)](e),e}#g(t){const e=c,n=this.#r[e(386)][e(361)]({polygon:{hierarchy:t,material:Cesium[e(337)][e(388)][e(363)](.5)}});return this.#c[e(391)](n),n}#M(){const t=c,e=this.#r.entities[t(361)]({polygon:{hierarchy:new(Cesium[t(367)])(()=>new Cesium.PolygonHierarchy(this.#p),!1),material:Cesium[t(337)][t(388)][t(363)](.5)}});return this.#c[t(391)](e),e}}function m(){const t=["29930RwTWvo","_pointPrimitives","groupEnd","LEFT_DOUBLE_CLICK","1359udvEdC","setTimeout","getPickRay","ScreenSpaceEventHandler","GroundPolylinePrimitive","setInputAction","114kiInQY","entities","pick","GREEN","transformCnToCc","length","push","PointPrimitiveCollection","PolylineMaterialAppearance","terrainProvider","1007333BzrwkW","defined","pickEllipsoid","1321804QqDieF","Color","17876SndYtT","forEach","56xfQkZw","primitives","openMouseAdsorb","3117516tEDQJZ","camera","%c多边形坐标:","Cartesian3","60765dJcaps","globe","endEvent","fromType","ScreenSpaceEventType","info","POSITIVE_INFINITY","YELLOW","GroundPolylineGeometry","endPosition","%c鼠标点击位置坐标:","scene","pickPosition","CHARTREUSE","add","drawPolygon","withAlpha","MOUSE_MOVE","canvas","fromDegrees","CallbackProperty","RED","578473bmfywg","LEFT_CLICK","remove","GeometryInstance","destroy","position"];return(m=function(){return t})()}const d=A;function A(t,e){const n=I();return(A=function(t,e){return n[t-=438]})(t,e)}!function(){const t=A,e=I();for(;;)try{if(493183==parseInt(t(455))/1*(-parseInt(t(440))/2)+parseInt(t(450))/3+parseInt(t(443))/4*(parseInt(t(460))/5)+parseInt(t(451))/6*(parseInt(t(445))/7)+-parseInt(t(446))/8+parseInt(t(459))/9*(-parseInt(t(453))/10)+parseInt(t(444))/11*(parseInt(t(452))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{#r;constructor(t){this.#r=t}[d(458)](){const t=d,e=a[t(449)](this.#r[t(439)][t(463)]),{heading:n,pitch:i,roll:s}=this.#r.camera,r=t(441);console[t(457)](t(454),r),console[t(438)]("经纬度坐标:"+[e]),console[t(438)]("笛卡尔坐标:"+[this.#r[t(439)][t(463)]]),console[t(438)](t(462)+[n,i,s]),console[t(461)]()}[d(442)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=d;n?this.#r[i(439)].flyTo({destination:Cesium[i(456)].fromDegrees(...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(439)][i(447)]({destination:Cesium.Cartesian3[i(448)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}function I(){const t=["info","camera","911954NCiMLu","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","setCameraPosition","7324laDnnc","777843lszSgh","1498378pLrpyS","7265904qfuwUr","setView","fromDegrees","transformCnToCc","280116QJKKBT","6iYHhlU","360iVEbFX","433630pRZMJH","%c视角位置参数:","2lTuxzA","Cartesian3","group","getCameraInfo","27OMAMBO","40MdKXRz","groupEnd","HPR角度:","position"];return(I=function(){return t})()}var C,g,w=9e15,f=1e9,E="0123456789abcdef",b="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",v="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",R={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-w,maxE:w,crypto:!1},N=!0,y="[DecimalError] ",D=y+"Invalid argument: ",G=y+"Precision limit exceeded",B=y+"crypto unavailable",Z="[object Decimal]",S=Math.floor,k=Math.pow,Y=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,j=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Q=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,L=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,U=1e7,T=b.length-1,z=v.length-1,O={toStringTag:Z};function P(t){var e,n,i,s=t.length-1,r="",o=t[0];if(s>0){for(r+=o,e=1;e<s;e++)(n=7-(i=t[e]+"").length)&&(r+=$(n)),r+=i;(n=7-(i=(o=t[e])+"").length)&&(r+=$(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return r+o}function x(t,e,n){if(t!==~~t||t<e||t>n)throw Error(D+t)}function H(t,e,n,i){var s,r,o,u;for(r=t[0];r>=10;r/=10)--e;return--e<0?(e+=7,s=0):(s=Math.ceil((e+1)/7),e%=7),r=k(10,7-e),u=t[s]%r|0,null==i?e<3?(0==e?u=u/100|0:1==e&&(u=u/10|0),o=n<4&&99999==u||n>3&&49999==u||5e4==u||0==u):o=(n<4&&u+1==r||n>3&&u+1==r/2)&&(t[s+1]/r/100|0)==k(10,e-2)-1||(u==r/2||0==u)&&!(t[s+1]/r/100|0):e<4?(0==e?u=u/1e3|0:1==e?u=u/100|0:2==e&&(u=u/10|0),o=(i||n<4)&&9999==u||!i&&n>3&&4999==u):o=((i||n<4)&&u+1==r||!i&&n>3&&u+1==r/2)&&(t[s+1]/r/1e3|0)==k(10,e-3)-1,o}function F(t,e,n){for(var i,s,r=[0],o=0,u=t.length;o<u;){for(s=r.length;s--;)r[s]*=e;for(r[0]+=E.indexOf(t.charAt(o++)),i=0;i<r.length;i++)r[i]>n-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}O.absoluteValue=O.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),W(t)},O.ceil=function(){return W(new this.constructor(this),this.e+1,2)},O.clampedTo=O.clamp=function(t,e){var n=this,i=n.constructor;if(t=new i(t),e=new i(e),!t.s||!e.s)return new i(NaN);if(t.gt(e))throw Error(D+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new i(n)},O.comparedTo=O.cmp=function(t){var e,n,i,s,r=this,o=r.d,u=(t=new r.constructor(t)).d,a=r.s,c=t.s;if(!o||!u)return a&&c?a!==c?a:o===u?0:!o^a<0?1:-1:NaN;if(!o[0]||!u[0])return o[0]?a:u[0]?-c:0;if(a!==c)return a;if(r.e!==t.e)return r.e>t.e^a<0?1:-1;for(e=0,n=(i=o.length)<(s=u.length)?i:s;e<n;++e)if(o[e]!==u[e])return o[e]>u[e]^a<0?1:-1;return i===s?0:i>s^a<0?1:-1},O.cosine=O.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i,s;if(e.isZero())return e;(i=e.d.length)<32?s=(1/at(4,n=Math.ceil(i/3))).toString():(n=16,s="2.3283064365386962890625e-10"),t.precision+=n,e=ut(t,1,e.times(s),new t(1));for(var r=n;r--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}(i,ct(i,n)),i.precision=t,i.rounding=e,W(2==g||3==g?n.neg():n,t,e,!0)):new i(1):new i(NaN)},O.cubeRoot=O.cbrt=function(){var t,e,n,i,s,r,o,u,a,c,l=this,p=l.constructor;if(!l.isFinite()||l.isZero())return new p(l);for(N=!1,(r=l.s*k(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new p(r.toString()):(n=P(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=k(n,1/3),t=S((t+1)/3)-(t%3==(t<0?-1:2)),(i=new p(n=r==1/0?"5e"+t:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=l.s),o=(t=p.precision)+3;;)if(c=(a=(u=i).times(u).times(u)).plus(l),i=J(c.plus(l).times(u),c.plus(a),o+2,1),P(u.d).slice(0,o)===(n=P(i.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(s||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(W(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(W(u,t+1,0),u.times(u).times(u).eq(l))){i=u;break}o+=4,s=1}return N=!0,W(i,t,p.rounding,e)},O.decimalPlaces=O.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-S(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},O.dividedBy=O.div=function(t){return J(this,new this.constructor(t))},O.dividedToIntegerBy=O.divToInt=function(t){var e=this.constructor;return W(J(this,new e(t),0,1,1),e.precision,e.rounding)},O.equals=O.eq=function(t){return 0===this.cmp(t)},O.floor=function(){return W(new this.constructor(this),this.e+1,3)},O.greaterThan=O.gt=function(t){return this.cmp(t)>0},O.greaterThanOrEqualTo=O.gte=function(t){var e=this.cmp(t);return 1==e||0===e},O.hyperbolicCosine=O.cosh=function(){var t,e,n,i,s,r=this,o=r.constructor,u=new o(1);if(!r.isFinite())return new o(r.s?1/0:NaN);if(r.isZero())return u;n=o.precision,i=o.rounding,o.precision=n+Math.max(r.e,r.sd())+4,o.rounding=1,(s=r.d.length)<32?e=(1/at(4,t=Math.ceil(s/3))).toString():(t=16,e="2.3283064365386962890625e-10"),r=ut(o,1,r.times(e),new o(1),!0);for(var a,c=t,l=new o(8);c--;)a=r.times(r),r=u.minus(a.times(l.minus(a.times(l))));return W(r,o.precision=n,o.rounding=i,!0)},O.hyperbolicSine=O.sinh=function(){var t,e,n,i,s=this,r=s.constructor;if(!s.isFinite()||s.isZero())return new r(s);if(e=r.precision,n=r.rounding,r.precision=e+Math.max(s.e,s.sd())+4,r.rounding=1,(i=s.d.length)<3)s=ut(r,2,s,s,!0);else{t=(t=1.4*Math.sqrt(i))>16?16:0|t,s=ut(r,2,s=s.times(1/at(5,t)),s,!0);for(var o,u=new r(5),a=new r(16),c=new r(20);t--;)o=s.times(s),s=s.times(u.plus(o.times(a.times(o).plus(c))))}return r.precision=e,r.rounding=n,W(s,e,n,!0)},O.hyperbolicTangent=O.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,J(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},O.inverseCosine=O.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),s=n.precision,r=n.rounding;return-1!==i?0===i?e.isNeg()?q(n,s,r):new n(0):new n(NaN):e.isZero()?q(n,s+4,r).times(.5):(n.precision=s+6,n.rounding=1,e=e.asin(),t=q(n,s+4,r).times(.5),n.precision=s,n.rounding=r,t.minus(e))},O.inverseHyperbolicCosine=O.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,N=!1,n=n.times(n).minus(1).sqrt().plus(n),N=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},O.inverseHyperbolicSine=O.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,N=!1,n=n.times(n).plus(1).sqrt().plus(n),N=!0,i.precision=t,i.rounding=e,n.ln())},O.inverseHyperbolicTangent=O.atanh=function(){var t,e,n,i,s=this,r=s.constructor;return s.isFinite()?s.e>=0?new r(s.abs().eq(1)?s.s/0:s.isZero()?s:NaN):(t=r.precision,e=r.rounding,i=s.sd(),Math.max(i,t)<2*-s.e-1?W(new r(s),t,e,!0):(r.precision=n=i-s.e,s=J(s.plus(1),new r(1).minus(s),n+t,1),r.precision=t+4,r.rounding=1,s=s.ln(),r.precision=t,r.rounding=e,s.times(.5))):new r(NaN)},O.inverseSine=O.asin=function(){var t,e,n,i,s=this,r=s.constructor;return s.isZero()?new r(s):(e=s.abs().cmp(1),n=r.precision,i=r.rounding,-1!==e?0===e?((t=q(r,n+4,i).times(.5)).s=s.s,t):new r(NaN):(r.precision=n+6,r.rounding=1,s=s.div(new r(1).minus(s.times(s)).sqrt().plus(1)).atan(),r.precision=n,r.rounding=i,s.times(2)))},O.inverseTangent=O.atan=function(){var t,e,n,i,s,r,o,u,a,c=this,l=c.constructor,p=l.precision,h=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&p+4<=z)return(o=q(l,p+4,h).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(p+4<=z)return(o=q(l,p+4,h).times(.5)).s=c.s,o}for(l.precision=u=p+10,l.rounding=1,t=n=Math.min(28,u/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(N=!1,e=Math.ceil(u/7),i=1,a=c.times(c),o=new l(c),s=c;-1!==t;)if(s=s.times(a),r=o.minus(s.div(i+=2)),s=s.times(a),void 0!==(o=r.plus(s.div(i+=2))).d[e])for(t=e;o.d[t]===r.d[t]&&t--;);return n&&(o=o.times(2<<n-1)),N=!0,W(o,l.precision=p,l.rounding=h,!0)},O.isFinite=function(){return!!this.d},O.isInteger=O.isInt=function(){return!!this.d&&S(this.e/7)>this.d.length-2},O.isNaN=function(){return!this.s},O.isNegative=O.isNeg=function(){return this.s<0},O.isPositive=O.isPos=function(){return this.s>0},O.isZero=function(){return!!this.d&&0===this.d[0]},O.lessThan=O.lt=function(t){return this.cmp(t)<0},O.lessThanOrEqualTo=O.lte=function(t){return this.cmp(t)<1},O.logarithm=O.log=function(t){var e,n,i,s,r,o,u,a,c=this,l=c.constructor,p=l.precision,h=l.rounding;if(null==t)t=new l(10),e=!0;else{if(n=(t=new l(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new l(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new l(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)r=!0;else{for(s=n[0];s%10==0;)s/=10;r=1!==s}if(N=!1,o=st(c,u=p+5),i=e?K(l,u+10):st(t,u),H((a=J(o,i,u,1)).d,s=p,h))do{if(o=st(c,u+=10),i=e?K(l,u+10):st(t,u),a=J(o,i,u,1),!r){+P(a.d).slice(s+1,s+15)+1==1e14&&(a=W(a,p+1,0));break}}while(H(a.d,s+=10,h));return N=!0,W(a,p,h)},O.minus=O.sub=function(t){var e,n,i,s,r,o,u,a,c,l,p,h,m=this,d=m.constructor;if(t=new d(t),!m.d||!t.d)return m.s&&t.s?m.d?t.s=-t.s:t=new d(t.d||m.s!==t.s?m:NaN):t=new d(NaN),t;if(m.s!=t.s)return t.s=-t.s,m.plus(t);if(c=m.d,h=t.d,u=d.precision,a=d.rounding,!c[0]||!h[0]){if(h[0])t.s=-t.s;else{if(!c[0])return new d(3===a?-0:0);t=new d(m)}return N?W(t,u,a):t}if(n=S(t.e/7),l=S(m.e/7),c=c.slice(),r=l-n){for((p=r<0)?(e=c,r=-r,o=h.length):(e=h,n=l,o=c.length),r>(i=Math.max(Math.ceil(u/7),o)+2)&&(r=i,e.length=1),e.reverse(),i=r;i--;)e.push(0);e.reverse()}else{for((p=(i=c.length)<(o=h.length))&&(o=i),i=0;i<o;i++)if(c[i]!=h[i]){p=c[i]<h[i];break}r=0}for(p&&(e=c,c=h,h=e,t.s=-t.s),o=c.length,i=h.length-o;i>0;--i)c[o++]=0;for(i=h.length;i>r;){if(c[--i]<h[i]){for(s=i;s&&0===c[--s];)c[s]=U-1;--c[s],c[i]+=U}c[i]-=h[i]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=X(c,n),N?W(t,u,a):t):new d(3===a?-0:0)},O.modulo=O.mod=function(t){var e,n=this,i=n.constructor;return t=new i(t),!n.d||!t.s||t.d&&!t.d[0]?new i(NaN):!t.d||n.d&&!n.d[0]?W(new i(n),i.precision,i.rounding):(N=!1,9==i.modulo?(e=J(n,t.abs(),0,3,1)).s*=t.s:e=J(n,t,0,i.modulo,1),e=e.times(t),N=!0,n.minus(e))},O.naturalExponential=O.exp=function(){return it(this)},O.naturalLogarithm=O.ln=function(){return st(this)},O.negated=O.neg=function(){var t=new this.constructor(this);return t.s=-t.s,W(t)},O.plus=O.add=function(t){var e,n,i,s,r,o,u,a,c,l,p=this,h=p.constructor;if(t=new h(t),!p.d||!t.d)return p.s&&t.s?p.d||(t=new h(t.d||p.s===t.s?p:NaN)):t=new h(NaN),t;if(p.s!=t.s)return t.s=-t.s,p.minus(t);if(c=p.d,l=t.d,u=h.precision,a=h.rounding,!c[0]||!l[0])return l[0]||(t=new h(p)),N?W(t,u,a):t;if(r=S(p.e/7),i=S(t.e/7),c=c.slice(),s=r-i){for(s<0?(n=c,s=-s,o=l.length):(n=l,i=r,o=c.length),s>(o=(r=Math.ceil(u/7))>o?r+1:o+1)&&(s=o,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for((o=c.length)-(s=l.length)<0&&(s=o,n=l,l=c,c=n),e=0;s;)e=(c[--s]=c[s]+l[s]+e)/U|0,c[s]%=U;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),N?W(t,u,a):t},O.precision=O.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(D+t);return n.d?(e=_(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},O.round=function(){var t=this,e=t.constructor;return W(new e(t),t.e+1,e.rounding)},O.sine=O.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i=e.d.length;if(i<3)return e.isZero()?e:ut(t,2,e,e);n=(n=1.4*Math.sqrt(i))>16?16:0|n,e=ut(t,2,e=e.times(1/at(5,n)),e);for(var s,r=new t(5),o=new t(16),u=new t(20);n--;)s=e.times(e),e=e.times(r.plus(s.times(o.times(s).minus(u))));return e}(i,ct(i,n)),i.precision=t,i.rounding=e,W(g>2?n.neg():n,t,e,!0)):new i(NaN)},O.squareRoot=O.sqrt=function(){var t,e,n,i,s,r,o=this,u=o.d,a=o.e,c=o.s,l=o.constructor;if(1!==c||!u||!u[0])return new l(!c||c<0&&(!u||u[0])?NaN:u?o:1/0);for(N=!1,0==(c=Math.sqrt(+o))||c==1/0?(((e=P(u)).length+a)%2==0&&(e+="0"),c=Math.sqrt(e),a=S((a+1)/2)-(a<0||a%2),i=new l(e=c==1/0?"5e"+a:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+a)):i=new l(c.toString()),n=(a=l.precision)+3;;)if(i=(r=i).plus(J(o,r,n+2,1)).times(.5),P(r.d).slice(0,n)===(e=P(i.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(s||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(W(i,a+1,1),t=!i.times(i).eq(o));break}if(!s&&(W(r,a+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return N=!0,W(i,a,l.rounding,t)},O.tangent=O.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,(n=n.sin()).s=1,n=J(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,W(2==g||4==g?n.neg():n,t,e,!0)):new i(NaN)},O.times=O.mul=function(t){var e,n,i,s,r,o,u,a,c,l=this,p=l.constructor,h=l.d,m=(t=new p(t)).d;if(t.s*=l.s,!(h&&h[0]&&m&&m[0]))return new p(!t.s||h&&!h[0]&&!m||m&&!m[0]&&!h?NaN:h&&m?0*t.s:t.s/0);for(n=S(l.e/7)+S(t.e/7),(a=h.length)<(c=m.length)&&(r=h,h=m,m=r,o=a,a=c,c=o),r=[],i=o=a+c;i--;)r.push(0);for(i=c;--i>=0;){for(e=0,s=a+i;s>i;)u=r[s]+m[i]*h[s-i-1]+e,r[s--]=u%U|0,e=u/U|0;r[s]=(r[s]+e)%U|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),N?W(t,p.precision,p.rounding):t},O.toBinary=function(t,e){return lt(this,2,t,e)},O.toDecimalPlaces=O.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(x(t,0,f),void 0===e?e=i.rounding:x(e,0,8),W(n,t+n.e+1,e))},O.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=V(i,!0):(x(t,0,f),void 0===e?e=s.rounding:x(e,0,8),n=V(i=W(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},O.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=V(s):(x(t,0,f),void 0===e?e=r.rounding:x(e,0,8),n=V(i=W(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},O.toFraction=function(t){var e,n,i,s,r,o,u,a,c,l,p,h,m=this,d=m.d,A=m.constructor;if(!d)return new A(m);if(c=n=new A(1),i=a=new A(0),o=(r=(e=new A(i)).e=_(d)-m.e-1)%7,e.d[0]=k(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(u=new A(t)).isInt()||u.lt(c))throw Error(D+u);t=u.gt(e)?r>0?e:c:u}for(N=!1,u=new A(P(d)),l=A.precision,A.precision=r=7*d.length*2;p=J(u,e,0,1,1),1!=(s=n.plus(p.times(i))).cmp(t);)n=i,i=s,s=c,c=a.plus(p.times(s)),a=s,s=e,e=u.minus(p.times(s)),u=s;return s=J(t.minus(n),i,0,1,1),a=a.plus(s.times(c)),n=n.plus(s.times(i)),a.s=c.s=m.s,h=J(c,i,r,1).minus(m).abs().cmp(J(a,n,r,1).minus(m).abs())<1?[c,i]:[a,n],A.precision=l,N=!0,h},O.toHexadecimal=O.toHex=function(t,e){return lt(this,16,t,e)},O.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:x(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(N=!1,n=J(n,t,0,e,1).times(t),N=!0,W(n)):(t.s=n.s,n=t),n},O.toNumber=function(){return+this},O.toOctal=function(t,e){return lt(this,8,t,e)},O.toPower=O.pow=function(t){var e,n,i,s,r,o,u=this,a=u.constructor,c=+(t=new a(t));if(!(u.d&&t.d&&u.d[0]&&t.d[0]))return new a(k(+u,c));if((u=new a(u)).eq(1))return u;if(i=a.precision,r=a.rounding,t.eq(1))return W(u,i,r);if((e=S(t.e/7))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return s=tt(a,u,n,i),t.s<0?new a(1).div(s):W(s,i,r);if((o=u.s)<0){if(e<t.d.length-1)return new a(NaN);if(1&t.d[e]||(o=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=o,u}return(e=0!=(n=k(+u,c))&&isFinite(n)?new a(n+"").e:S(c*(Math.log("0."+P(u.d))/Math.LN10+u.e+1)))>a.maxE+1||e<a.minE-1?new a(e>0?o/0:0):(N=!1,a.rounding=u.s=1,n=Math.min(12,(e+"").length),(s=it(t.times(st(u,i+n)),i)).d&&H((s=W(s,i+5,1)).d,i,r)&&(e=i+10,+P((s=W(it(t.times(st(u,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=W(s,i+1,0))),s.s=o,N=!0,a.rounding=r,W(s,i,r))},O.toPrecision=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=V(i,i.e<=s.toExpNeg||i.e>=s.toExpPos):(x(t,1,f),void 0===e?e=s.rounding:x(e,0,8),n=V(i=W(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},O.toSignificantDigits=O.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(x(t,1,f),void 0===e?e=n.rounding:x(e,0,8)),W(new n(this),t,e)},O.toString=function(){var t=this,e=t.constructor,n=V(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},O.truncated=O.trunc=function(){return W(new this.constructor(this),this.e+1,1)},O.valueOf=O.toJSON=function(){var t=this,e=t.constructor,n=V(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var J=function(){function t(t,e,n){var i,s=0,r=t.length;for(t=t.slice();r--;)i=t[r]*e+s,t[r]=i%n|0,s=i/n|0;return s&&t.unshift(s),t}function e(t,e,n,i){var s,r;if(n!=i)r=n>i?1:-1;else for(s=r=0;s<n;s++)if(t[s]!=e[s]){r=t[s]>e[s]?1:-1;break}return r}function n(t,e,n,i){for(var s=0;n--;)t[n]-=s,s=t[n]<e[n]?1:0,t[n]=s*i+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,s,r,o,u,a){var c,l,p,h,m,d,A,M,I,g,w,f,E,b,v,R,N,y,D,G,B=i.constructor,Z=i.s==s.s?1:-1,k=i.d,Y=s.d;if(!(k&&k[0]&&Y&&Y[0]))return new B(i.s&&s.s&&(k?!Y||k[0]!=Y[0]:Y)?k&&0==k[0]||!Y?0*Z:Z/0:NaN);for(a?(m=1,l=i.e-s.e):(a=U,m=7,l=S(i.e/m)-S(s.e/m)),D=Y.length,N=k.length,g=(I=new B(Z)).d=[],p=0;Y[p]==(k[p]||0);p++);if(Y[p]>(k[p]||0)&&l--,null==r?(b=r=B.precision,o=B.rounding):b=u?r+(i.e-s.e)+1:r,b<0)g.push(1),d=!0;else{if(b=b/m+2|0,p=0,1==D){for(h=0,Y=Y[0],b++;(p<N||h)&&b--;p++)v=h*a+(k[p]||0),g[p]=v/Y|0,h=v%Y|0;d=h||p<N}else{for((h=a/(Y[0]+1)|0)>1&&(Y=t(Y,h,a),k=t(k,h,a),D=Y.length,N=k.length),R=D,f=(w=k.slice(0,D)).length;f<D;)w[f++]=0;(G=Y.slice()).unshift(0),y=Y[0],Y[1]>=a/2&&++y;do{h=0,(c=e(Y,w,D,f))<0?(E=w[0],D!=f&&(E=E*a+(w[1]||0)),(h=E/y|0)>1?(h>=a&&(h=a-1),1==(c=e(A=t(Y,h,a),w,M=A.length,f=w.length))&&(h--,n(A,D<M?G:Y,M,a))):(0==h&&(c=h=1),A=Y.slice()),(M=A.length)<f&&A.unshift(0),n(w,A,f,a),-1==c&&(c=e(Y,w,D,f=w.length))<1&&(h++,n(w,D<f?G:Y,f,a)),f=w.length):0===c&&(h++,w=[0]),g[p++]=h,c&&w[0]?w[f++]=k[R]||0:(w=[k[R]],f=1)}while((R++<N||void 0!==w[0])&&b--);d=void 0!==w[0]}g[0]||g.shift()}if(1==m)I.e=l,C=d;else{for(p=1,h=g[0];h>=10;h/=10)p++;I.e=p+l*m-1,W(I,u?r+I.e+1:r,o,d)}return I}}();function W(t,e,n,i){var s,r,o,u,a,c,l,p,h,m=t.constructor;t:if(null!=e){if(!(p=t.d))return t;for(s=1,u=p[0];u>=10;u/=10)s++;if((r=e-s)<0)r+=7,o=e,a=(l=p[h=0])/k(10,s-o-1)%10|0;else if((h=Math.ceil((r+1)/7))>=(u=p.length)){if(!i)break t;for(;u++<=h;)p.push(0);l=a=0,s=1,o=(r%=7)-7+1}else{for(l=u=p[h],s=1;u>=10;u/=10)s++;a=(o=(r%=7)-7+s)<0?0:l/k(10,s-o-1)%10|0}if(i=i||e<0||void 0!==p[h+1]||(o<0?l:l%k(10,s-o-1)),c=n<4?(a||i)&&(0==n||n==(t.s<0?3:2)):a>5||5==a&&(4==n||i||6==n&&(r>0?o>0?l/k(10,s-o):0:p[h-1])%10&1||n==(t.s<0?8:7)),e<1||!p[0])return p.length=0,c?(e-=t.e+1,p[0]=k(10,(7-e%7)%7),t.e=-e||0):p[0]=t.e=0,t;if(0==r?(p.length=h,u=1,h--):(p.length=h+1,u=k(10,7-r),p[h]=o>0?(l/k(10,s-o)%k(10,o)|0)*u:0),c)for(;;){if(0==h){for(r=1,o=p[0];o>=10;o/=10)r++;for(o=p[0]+=u,u=1;o>=10;o/=10)u++;r!=u&&(t.e++,p[0]==U&&(p[0]=1));break}if(p[h]+=u,p[h]!=U)break;p[h--]=0,u=1}for(r=p.length;0===p[--r];)p.pop()}return N&&(t.e>m.maxE?(t.d=null,t.e=NaN):t.e<m.minE&&(t.e=0,t.d=[0])),t}function V(t,e,n){if(!t.isFinite())return rt(t);var i,s=t.e,r=P(t.d),o=r.length;return e?(n&&(i=n-o)>0?r=r.charAt(0)+"."+r.slice(1)+$(i):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(t.e<0?"e":"e+")+t.e):s<0?(r="0."+$(-s-1)+r,n&&(i=n-o)>0&&(r+=$(i))):s>=o?(r+=$(s+1-o),n&&(i=n-s-1)>0&&(r=r+"."+$(i))):((i=s+1)<o&&(r=r.slice(0,i)+"."+r.slice(i)),n&&(i=n-o)>0&&(s+1===o&&(r+="."),r+=$(i))),r}function X(t,e){var n=t[0];for(e*=7;n>=10;n/=10)e++;return e}function K(t,e,n){if(e>T)throw N=!0,n&&(t.precision=n),Error(G);return W(new t(b),e,1,!0)}function q(t,e,n){if(e>z)throw Error(G);return W(new t(v),e,n,!0)}function _(t){var e=t.length-1,n=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function $(t){for(var e="";t--;)e+="0";return e}function tt(t,e,n,i){var s,r=new t(1),o=Math.ceil(i/7+4);for(N=!1;;){if(n%2&&pt((r=r.times(e)).d,o)&&(s=!0),0===(n=S(n/2))){n=r.d.length-1,s&&0===r.d[n]&&++r.d[n];break}pt((e=e.times(e)).d,o)}return N=!0,r}function et(t){return 1&t.d[t.d.length-1]}function nt(t,e,n){for(var i,s=new t(e[0]),r=0;++r<e.length;){if(!(i=new t(e[r])).s){s=i;break}s[n](i)&&(s=i)}return s}function it(t,e){var n,i,s,r,o,u,a,c=0,l=0,p=0,h=t.constructor,m=h.rounding,d=h.precision;if(!t.d||!t.d[0]||t.e>17)return new h(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(N=!1,a=d):a=e,u=new h(.03125);t.e>-2;)t=t.times(u),p+=5;for(a+=i=Math.log(k(2,p))/Math.LN10*2+5|0,n=r=o=new h(1),h.precision=a;;){if(r=W(r.times(t),a,1),n=n.times(++l),P((u=o.plus(J(r,n,a,1))).d).slice(0,a)===P(o.d).slice(0,a)){for(s=p;s--;)o=W(o.times(o),a,1);if(null!=e)return h.precision=d,o;if(!(c<3&&H(o.d,a-i,m,c)))return W(o,h.precision=d,m,N=!0);h.precision=a+=10,n=r=u=new h(1),l=0,c++}o=u}}function st(t,e){var n,i,s,r,o,u,a,c,l,p,h,m=1,d=t,A=d.d,M=d.constructor,I=M.rounding,C=M.precision;if(d.s<0||!A||!A[0]||!d.e&&1==A[0]&&1==A.length)return new M(A&&!A[0]?-1/0:1!=d.s?NaN:A?0:d);if(null==e?(N=!1,l=C):l=e,M.precision=l+=10,i=(n=P(A)).charAt(0),!(Math.abs(r=d.e)<15e14))return c=K(M,l+2,C).times(r+""),d=st(new M(i+"."+n.slice(1)),l-10).plus(c),M.precision=C,null==e?W(d,C,I,N=!0):d;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=P((d=d.times(t)).d)).charAt(0),m++;for(r=d.e,i>1?(d=new M("0."+n),r++):d=new M(i+"."+n.slice(1)),p=d,a=o=d=J(d.minus(1),d.plus(1),l,1),h=W(d.times(d),l,1),s=3;;){if(o=W(o.times(h),l,1),P((c=a.plus(J(o,new M(s),l,1))).d).slice(0,l)===P(a.d).slice(0,l)){if(a=a.times(2),0!==r&&(a=a.plus(K(M,l+2,C).times(r+""))),a=J(a,new M(m),l,1),null!=e)return M.precision=C,a;if(!H(a.d,l-10,I,u))return W(a,M.precision=C,I,N=!0);M.precision=l+=10,c=o=d=J(p.minus(1),p.plus(1),l,1),h=W(d.times(d),l,1),s=u=1}a=c,s+=2}}function rt(t){return String(t.s*t.s/0)}function ot(t,e){var n,i,s;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(s=e.length;48===e.charCodeAt(s-1);--s);if(e=e.slice(i,s)){if(s-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%7,n<0&&(i+=7),i<s){for(i&&t.d.push(+e.slice(0,i)),s-=7;i<s;)t.d.push(+e.slice(i,i+=7));i=7-(e=e.slice(i)).length}else i-=s;for(;i--;)e+="0";t.d.push(+e),N&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function ut(t,e,n,i,s){var r,o,u,a,c=t.precision,l=Math.ceil(c/7);for(N=!1,a=n.times(n),u=new t(i);;){if(o=J(u.times(a),new t(e++*e++),c,1),u=s?i.plus(o):i.minus(o),i=J(o.times(a),new t(e++*e++),c,1),void 0!==(o=u.plus(i)).d[l]){for(r=l;o.d[r]===u.d[r]&&r--;);if(-1==r)break}r=u,u=i,i=o,o=r}return N=!0,o.d.length=l+1,o}function at(t,e){for(var n=t;--e;)n*=t;return n}function ct(t,e){var n,i=e.s<0,s=q(t,t.precision,1),r=s.times(.5);if((e=e.abs()).lte(r))return g=i?4:1,e;if((n=e.divToInt(s)).isZero())g=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return g=et(n)?i?2:3:i?4:1,e;g=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function lt(t,e,n,i){var s,r,o,u,a,c,l,p,h,m=t.constructor,d=void 0!==n;if(d?(x(n,1,f),void 0===i?i=m.rounding:x(i,0,8)):(n=m.precision,i=m.rounding),t.isFinite()){for(d?(s=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):s=e,(o=(l=V(t)).indexOf("."))>=0&&(l=l.replace(".",""),(h=new m(1)).e=l.length-o,h.d=F(V(h),10,s),h.e=h.d.length),r=a=(p=F(l,10,s)).length;0==p[--a];)p.pop();if(p[0]){if(o<0?r--:((t=new m(t)).d=p,t.e=r,p=(t=J(t,h,n,i,0,s)).d,r=t.e,c=C),o=p[n],u=s/2,c=c||void 0!==p[n+1],c=i<4?(void 0!==o||c)&&(0===i||i===(t.s<0?3:2)):o>u||o===u&&(4===i||c||6===i&&1&p[n-1]||i===(t.s<0?8:7)),p.length=n,c)for(;++p[--n]>s-1;)p[n]=0,n||(++r,p.unshift(1));for(a=p.length;!p[a-1];--a);for(o=0,l="";o<a;o++)l+=E.charAt(p[o]);if(d){if(a>1)if(16==e||8==e){for(o=16==e?4:3,--a;a%o;a++)l+="0";for(a=(p=F(l,s,e)).length;!p[a-1];--a);for(o=1,l="1.";o<a;o++)l+=E.charAt(p[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(++r>a)for(r-=a;r--;)l+="0";else r<a&&(l=l.slice(0,r)+"."+l.slice(r))}else l=d?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=rt(t);return t.s<0?"-"+l:l}function pt(t,e){if(t.length>e)return t.length=e,!0}function ht(t){return new this(t).abs()}function mt(t){return new this(t).acos()}function dt(t){return new this(t).acosh()}function At(t,e){return new this(t).plus(e)}function Mt(t){return new this(t).asin()}function It(t){return new this(t).asinh()}function Ct(t){return new this(t).atan()}function gt(t){return new this(t).atanh()}function wt(t,e){t=new this(t),e=new this(e);var n,i=this.precision,s=this.rounding,r=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?q(this,i,s):new this(0)).s=t.s:!t.d||e.isZero()?(n=q(this,r,1).times(.5)).s=t.s:e.s<0?(this.precision=r,this.rounding=1,n=this.atan(J(t,e,r,1)),e=q(this,r,1),this.precision=i,this.rounding=s,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(J(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function ft(t){return new this(t).cbrt()}function Et(t){return W(t=new this(t),t.e+1,2)}function bt(t,e,n){return new this(t).clamp(e,n)}function vt(t){if(!t||"object"!=typeof t)throw Error(y+"Object expected");var e,n,i,s=!0===t.defaults,r=["precision",1,f,"rounding",0,8,"toExpNeg",-w,0,"toExpPos",0,w,"maxE",0,w,"minE",-w,0,"modulo",0,9];for(e=0;e<r.length;e+=3)if(n=r[e],s&&(this[n]=R[n]),void 0!==(i=t[n])){if(!(S(i)===i&&i>=r[e+1]&&i<=r[e+2]))throw Error(D+n+": "+i);this[n]=i}if(n="crypto",s&&(this[n]=R[n]),void 0!==(i=t[n])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(D+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(B);this[n]=!0}else this[n]=!1}return this}function Rt(t){return new this(t).cos()}function Nt(t){return new this(t).cosh()}function yt(t,e){return new this(t).div(e)}function Dt(t){return new this(t).exp()}function Gt(t){return W(t=new this(t),t.e+1,3)}function Bt(){var t,e,n=new this(0);for(N=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return N=!0,new this(1/0);n=e}return N=!0,n.sqrt()}function Zt(t){return t instanceof _t||t&&t.toStringTag===Z||!1}function St(t){return new this(t).ln()}function kt(t,e){return new this(t).log(e)}function Yt(t){return new this(t).log(2)}function jt(t){return new this(t).log(10)}function Qt(){return nt(this,arguments,"lt")}function Lt(){return nt(this,arguments,"gt")}function Ut(t,e){return new this(t).mod(e)}function Tt(t,e){return new this(t).mul(e)}function zt(t,e){return new this(t).pow(e)}function Ot(t){var e,n,i,s,r=0,o=new this(1),u=[];if(void 0===t?t=this.precision:x(t,1,f),i=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));r<i;)(s=e[r])>=429e7?e[r]=crypto.getRandomValues(new Uint32Array(1))[0]:u[r++]=s%1e7;else{if(!crypto.randomBytes)throw Error(B);for(e=crypto.randomBytes(i*=4);r<i;)(s=e[r]+(e[r+1]<<8)+(e[r+2]<<16)+((127&e[r+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,r):(u.push(s%1e7),r+=4);r=i/4}else for(;r<i;)u[r++]=1e7*Math.random()|0;for(t%=7,(i=u[--r])&&t&&(s=k(10,7-t),u[r]=(i/s|0)*s);0===u[r];r--)u.pop();if(r<0)n=0,u=[0];else{for(n=-1;0===u[0];n-=7)u.shift();for(i=1,s=u[0];s>=10;s/=10)i++;i<7&&(n-=7-i)}return o.e=n,o.d=u,o}function Pt(t){return W(t=new this(t),t.e+1,this.rounding)}function xt(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ht(t){return new this(t).sin()}function Ft(t){return new this(t).sinh()}function Jt(t){return new this(t).sqrt()}function Wt(t,e){return new this(t).sub(e)}function Vt(){var t=0,e=arguments,n=new this(e[t]);for(N=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return N=!0,W(n,this.precision,this.rounding)}function Xt(t){return new this(t).tan()}function Kt(t){return new this(t).tanh()}function qt(t){return W(t=new this(t),t.e+1,1)}O[Symbol.for("nodejs.util.inspect.custom")]=O.toString,O[Symbol.toStringTag]="Decimal";var _t=O.constructor=function t(e){var n,i,s;function r(t){var e,n,i,s=this;if(!(s instanceof r))return new r(t);if(s.constructor=r,Zt(t))return s.s=t.s,void(N?!t.d||t.e>r.maxE?(s.e=NaN,s.d=null):t.e<r.minE?(s.e=0,s.d=[0]):(s.e=t.e,s.d=t.d.slice()):(s.e=t.e,s.d=t.d?t.d.slice():t.d));if("number"==(i=typeof t)){if(0===t)return s.s=1/t<0?-1:1,s.e=0,void(s.d=[0]);if(t<0?(t=-t,s.s=-1):s.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(N?e>r.maxE?(s.e=NaN,s.d=null):e<r.minE?(s.e=0,s.d=[0]):(s.e=e,s.d=[t]):(s.e=e,s.d=[t]))}return 0*t!=0?(t||(s.s=NaN),s.e=NaN,void(s.d=null)):ot(s,t.toString())}if("string"!==i)throw Error(D+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),s.s=-1):(43===n&&(t=t.slice(1)),s.s=1),L.test(t)?ot(s,t):function(t,e){var n,i,s,r,o,u,a,c,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),L.test(e))return ot(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(j.test(e))n=16,e=e.toLowerCase();else if(Y.test(e))n=2;else{if(!Q.test(e))throw Error(D+e);n=8}for((r=e.search(/p/i))>0?(a=+e.slice(r+1),e=e.substring(2,r)):e=e.slice(2),o=(r=e.indexOf("."))>=0,i=t.constructor,o&&(r=(u=(e=e.replace(".","")).length)-r,s=tt(i,new i(n),r,2*r)),r=l=(c=F(e,n,U)).length-1;0===c[r];--r)c.pop();return r<0?new i(0*t.s):(t.e=X(c,l),t.d=c,N=!1,o&&(t=J(t,s,4*u)),a&&(t=t.times(Math.abs(a)<54?k(2,a):_t.pow(2,a))),N=!0,t)}(s,t)}if(r.prototype=O,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=vt,r.clone=t,r.isDecimal=Zt,r.abs=ht,r.acos=mt,r.acosh=dt,r.add=At,r.asin=Mt,r.asinh=It,r.atan=Ct,r.atanh=gt,r.atan2=wt,r.cbrt=ft,r.ceil=Et,r.clamp=bt,r.cos=Rt,r.cosh=Nt,r.div=yt,r.exp=Dt,r.floor=Gt,r.hypot=Bt,r.ln=St,r.log=kt,r.log10=jt,r.log2=Yt,r.max=Qt,r.min=Lt,r.mod=Ut,r.mul=Tt,r.pow=zt,r.random=Ot,r.round=Pt,r.sign=xt,r.sin=Ht,r.sinh=Ft,r.sqrt=Jt,r.sub=Wt,r.sum=Vt,r.tan=Xt,r.tanh=Kt,r.trunc=qt,void 0===e&&(e={}),e&&!0!==e.defaults)for(s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<s.length;)e.hasOwnProperty(i=s[n++])||(e[i]=this[i]);return r.config(e),r}(R);function $t(t,e){const n=ee();return($t=function(t,e){return n[t-=487]})(t,e)}b=new _t(b),v=new _t(v);const te=$t;function ee(){const t=['\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'glb模型的id\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"pitch","的对象","24232780RGiZuS","CatMenuScaleInputMinus","没有找到id为","CatMenuHeiStepInput","getById","CatMenuPitchInputPlus","CatMenuLatStepInput","CatMenuHeadingInputPlus","fromRotationZ","CatLongitude","CatScale","parentNode","CatMenuHeiInputMinus","model","click","520eWLxkr","position","CatRoll","getElementsByClassName","confirmEventGlb","11361IDJbdr","CatMenuHeadingInputMinus","onchange","_root","target","CatMenuLonInput","Matrix4","appendChild","value","CatMenuLonInputMinus","1294478zJmVQN","entities","Transforms","414504RychMk","now","CatEntity","computeModelMatrix","CatRollStep","CatPitch","removeMenuEvent","transformCnToCc","createGlbMenu","CatGlbMenuContainer","CatMenuRollInputMinus","create3DtileMenu","body","CatHeightStep","CatMenuLonStepInput","sub","CatMenuCloseButton","3522gkwMNj","confirmEvent3Dtile","CatMenuHeiInput","没有找到url为","15mPPGjT","headingPitchRollQuaternion","toNumber","createEvent","parseFromString","orientation","CatMenuIdInput","CatHeading","toDegrees","CatMenuHeiInputPlus","CatLatitude","removeChild","toRadians","change3dtilePos","CatMenuLonInputPlus","CatMenuScaleStepInput","JulianDate","CatMenuLatInputPlus","fromDegrees","CatLatitudeStep","onclick","Math","fromRotationY","Matrix3","changeEntityPos","changeHPR","调用成功","CatMenuPitchInput","primitives","7835960sAOPIc","CatMenuIdInputButton","multiply","CatMenuHeadingStepInput","884hQufcB","CatHeadingStep","scale","roll","HeadingPitchRoll","bindEventGLB","CatMenuScaleInput","CatHeight","Cartesian3","CatMenuHeadingInput","fixedFrameToHeadingPitchRoll","_url","log","boundingSphere","changeScale","add","fromRotationX","CatMenuRollInput","_value","CatMenuLatInput","heading","CatLongitudeStep","scene","8129628ILjUgI",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'3dtile的url\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"CatMenuPitchStepInput","fromRotationTranslation","CatMenuRollStepInput","bindEvent3Dtile","CatPitchStep"];return(ee=function(){return t})()}!function(){const t=$t,e=ee();for(;;)try{if(814562==parseInt(t(586))/1+-parseInt(t(589))/2*(-parseInt(t(490))/3)+-parseInt(t(523))/4*(parseInt(t(571))/5)+parseInt(t(606))/6*(-parseInt(t(576))/7)+parseInt(t(519))/8+parseInt(t(546))/9+-parseInt(t(556))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{#r;[te(591)];[te(565)]={};CatLongitudeStep=1e-4;[te(500)]={};[te(509)]=1e-4;[te(530)]={};[te(602)]=.1;[te(497)]={};[te(524)]=1;[te(594)]={};[te(552)]=1;[te(573)]={};[te(593)]=1;[te(566)]={};CatScaleStep=.1;constructor(t){this.#r=t}[te(597)](){const t=te;console[t(535)]("调用成功");const e=t(553);let n=(new DOMParser)[t(494)](e,"text/html")[t(574)](t(598))[0];document.body[t(583)](n),this[t(595)](t(598)),this[t(575)](),this.bindEventGLB()}[te(528)](){const t=te;this.createEvent(this.CatLongitude,"CatMenuLonInput",t(504),"CatMenuLonInputMinus",t(603),()=>{this.changeEntityPos()}),this[t(493)](this[t(500)],t(542),t(507),"CatMenuLatInputMinus",t(562),()=>{this.changeEntityPos()}),this[t(493)](this[t(530)],"CatMenuHeiInput",t(499),"CatMenuHeiInputMinus",t(559),()=>{this[t(514)]()}),this.createEvent(this[t(497)],t(532),t(563),"CatMenuHeadingInputMinus","CatMenuHeadingStepInput",()=>{this.changeHPR()}),this[t(493)](this.CatPitch,t(517),"CatMenuPitchInputPlus","CatMenuPitchInputMinus",t(548),()=>{this[t(515)]()}),this[t(493)](this[t(573)],t(540),"CatMenuRollInputPlus",t(599),t(550),()=>{this.changeHPR()}),this[t(493)](this[t(566)],t(529),"CatMenuScaleInputPlus",t(557),t(505),()=>{this.changeScale()})}[te(493)](t,e,n,i,s,r){const o=te,u=document[o(574)](e)[0];Object.defineProperty(t,o(584),{get(){return this[o(541)]},set(t){this[o(541)]=t,u.value=t,r()}}),u[o(578)]=e=>{const n=o;t.value=e[n(580)][n(584)]};const a=document.getElementsByClassName(n)[0],c=document.getElementsByClassName(i)[0];a.onclick=()=>{const e=o,n=document[e(574)](s)[0][e(584)];t[e(584)]=_t(u[e(584)])[e(538)](_t(n))[e(492)]()},c[o(510)]=()=>{const e=o,n=document.getElementsByClassName(s)[0].value;t[e(584)]=_t(u[e(584)])[e(604)](_t(n))[e(492)]()}}[te(514)](){const t=te,e=document[t(574)]("CatMenuLonInput")[0][t(584)],n=document[t(574)](t(542))[0][t(584)],i=document[t(574)](t(488))[0][t(584)];this[t(591)].position=Cesium[t(531)][t(508)](e,n,i)}[te(515)](){const t=te,e=this[t(591)][t(572)][t(541)],n=Cesium[t(511)][t(502)](Number(document[t(574)](t(532))[0][t(584)])),i=Cesium[t(511)][t(502)](Number(document.getElementsByClassName(t(517))[0][t(584)])),s=Cesium[t(511)][t(502)](Number(document[t(574)](t(540))[0].value)),r=new(Cesium[t(527)])(n,i,s);let o=Cesium.Transforms[t(491)](e,r);this.CatEntity[t(495)]=o}[te(537)](){const t=te,e=document[t(574)](t(529))[0][t(584)];this[t(591)][t(569)][t(525)]=Number(e)}[te(575)](){const t=te;document[t(574)](t(520))[0].addEventListener(t(570),()=>{const e=t,n=document[e(574)](e(496))[0][e(584)],i=this.#r[e(587)][e(560)](n);if(i){this[e(591)]=i;const t=a.transformCnToCc(i[e(572)][e(541)]);document.getElementsByClassName(e(581))[0][e(584)]=t[0],document.getElementsByClassName(e(542))[0][e(584)]=t[1],document[e(574)](e(488))[0][e(584)]=t[2],document[e(574)](e(603))[0][e(584)]=this[e(544)],document[e(574)](e(562))[0][e(584)]=this.CatLatitudeStep,document[e(574)](e(559))[0][e(584)]=this[e(524)];const n=i[e(592)](Cesium[e(506)][e(590)]()),s=Cesium[e(588)][e(533)](n);document[e(574)](e(532))[0].value=Cesium[e(511)].toDegrees(s[e(543)]),document.getElementsByClassName(e(517))[0].value=Cesium[e(511)][e(498)](s[e(554)]),document.getElementsByClassName(e(540))[0].value=Cesium.Math[e(498)](s[e(526)]),document[e(574)](e(522))[0][e(584)]=this[e(524)],document[e(574)](e(548))[0][e(584)]=this.CatPitchStep,document[e(574)](e(550))[0][e(584)]=this[e(593)],document[e(574)]("CatMenuScaleInput")[0][e(584)]=i[e(569)][e(525)]||1,document.getElementsByClassName("CatMenuScaleStepInput")[0].value=this.CatScaleStep}else alert(e(558)+n+e(555))})}[te(595)](t){const e=te;let n=document.getElementsByClassName(e(598))[0],i=document[e(574)](e(605))[0];t?i.addEventListener(e(570),()=>{n[e(567)].removeChild(n)}):(this.CatEntity=null,n[e(567)][e(501)](n))}[te(600)](){const t=te;console.log(t(516));const e=t(547);let n=(new DOMParser)[t(494)](e,"text/html")[t(574)](t(598))[0];document[t(601)][t(583)](n),this.removeMenuEvent(t(598)),this[t(487)](),this[t(551)]()}[te(551)](){const t=te;this[t(493)](this.CatLongitude,t(581),t(504),t(585),t(603),()=>{this[t(503)]()}),this[t(493)](this.CatLatitude,t(542),"CatMenuLatInputPlus","CatMenuLatInputMinus","CatMenuLatStepInput",()=>{this[t(503)]()}),this[t(493)](this[t(530)],t(488),t(499),t(568),t(559),()=>{this[t(503)]()}),this.createEvent(this.CatHeading,t(532),t(563),t(577),t(522),()=>{this.change3dtilePos()}),this.createEvent(this[t(594)],t(517),t(561),"CatMenuPitchInputMinus",t(548),()=>{this.change3dtilePos()}),this[t(493)](this[t(573)],"CatMenuRollInput","CatMenuRollInputPlus",t(599),"CatMenuRollStepInput",()=>{this[t(503)]()}),this.createEvent(this.CatScale,t(529),"CatMenuScaleInputPlus",t(557),t(505),()=>{this[t(503)]()})}[te(503)](){const t=te,e=Cesium[t(511)].toRadians(Number(document[t(574)](t(532))[0][t(584)])),n=Cesium[t(511)].toRadians(Number(document[t(574)]("CatMenuPitchInput")[0][t(584)])),i=Cesium[t(511)][t(502)](Number(document.getElementsByClassName(t(540))[0].value));let s=Cesium[t(513)][t(539)](e),r=Cesium[t(513)][t(512)](n),o=Cesium[t(513)][t(564)](i),u=Cesium[t(582)][t(549)](s),a=Cesium[t(582)][t(549)](r),c=Cesium[t(582)][t(549)](o);const l=document.getElementsByClassName(t(581))[0][t(584)],p=document[t(574)](t(542))[0][t(584)],h=document[t(574)](t(488))[0][t(584)];let m=Cesium[t(531)][t(508)](l,p,h),d=Cesium[t(588)].eastNorthUpToFixedFrame(m);const A=document.getElementsByClassName(t(529))[0][t(584)];let M=new(Cesium[t(531)])(A,A,A);const I=Cesium[t(582)].fromScale(M,new(Cesium[t(582)]));Cesium[t(582)][t(521)](d,u,d),Cesium[t(582)].multiply(d,a,d),Cesium[t(582)].multiply(d,c,d),Cesium[t(582)][t(521)](d,I,d),this[t(591)][t(579)].transform=d}[te(487)](){const t=te;document[t(574)](t(520))[0].addEventListener("click",()=>{const e=t,n=document[e(574)](e(496))[0][e(584)];let i;for(let t of this.#r[e(545)][e(518)]._primitives)if(t[e(534)]==n){i=t;break}if(i){this[e(591)]=i,console[e(535)](this[e(591)]);const t=a[e(596)](i[e(536)].center);document[e(574)](e(581))[0].value=t[0],document[e(574)](e(542))[0][e(584)]=t[1],document.getElementsByClassName(e(488))[0][e(584)]=t[2],document[e(574)](e(603))[0][e(584)]=this[e(544)],document[e(574)](e(562))[0][e(584)]=this.CatLatitudeStep,document[e(574)](e(559))[0].value=this[e(524)],document[e(574)]("CatMenuHeadingInput")[0][e(584)]=0,document[e(574)](e(517))[0][e(584)]=0,document[e(574)](e(540))[0][e(584)]=0,document[e(574)](e(522))[0][e(584)]=this[e(524)],document[e(574)](e(548))[0].value=this[e(552)],document[e(574)](e(550))[0][e(584)]=this.CatRollStep,document.getElementsByClassName("CatMenuScaleInput")[0][e(584)]=1,document.getElementsByClassName("CatMenuScaleStepInput")[0][e(584)]=1}else alert(e(489)+n+e(555))})}}const ie=se;function se(t,e){const n=oe();return(se=function(t,e){return n[t-=176]})(t,e)}!function(){const t=se,e=oe();for(;;)try{if(201374==-parseInt(t(177))/1*(parseInt(t(185))/2)+-parseInt(t(191))/3*(-parseInt(t(200))/4)+parseInt(t(182))/5+-parseInt(t(205))/6*(-parseInt(t(208))/7)+-parseInt(t(206))/8*(parseInt(t(198))/9)+parseInt(t(194))/10*(parseInt(t(179))/11)+-parseInt(t(203))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{#r;#w;constructor(t){this.#r=t,this.#w=new ne(t)}adjustGlb(){const t=se;this.#w[t(204)]()}[ie(196)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=ie,u=Cesium[o(199)][o(192)](...e),a=new(Cesium[o(202)])(Cesium[o(195)][o(181)](n[0]),Cesium[o(195)][o(181)](n[1]),Cesium[o(195)][o(181)](n[2])),c=Cesium[o(209)].headingPitchRollQuaternion(u,a),l=this.#r.entities.add({id:i,position:u,orientation:c,model:{uri:t,scale:s}});return r&&this.#r[o(187)](l),l}[ie(180)](){const t=ie;this.#w[t(189)]()}async set3Dtile({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=ie;let o=await Cesium[r(207)].fromUrl(t,{}),u=Cesium.Matrix3.fromRotationX(Cesium[r(195)][r(181)](n[0])),a=Cesium[r(193)].fromRotationY(Cesium[r(195)].toRadians(n[1])),c=Cesium[r(193)].fromRotationZ(Cesium[r(195)].toRadians(n[2])),l=Cesium.Matrix4[r(178)](u),p=Cesium[r(186)][r(178)](a),h=Cesium[r(186)][r(178)](c),m=Cesium[r(199)][r(192)](...e),d=Cesium[r(209)][r(190)](m),A=new(Cesium[r(199)])(i,i,i);const M=Cesium[r(186)][r(184)](A,new Cesium.Matrix4);return Cesium[r(186)][r(201)](d,l,d),Cesium[r(186)][r(201)](d,p,d),Cesium[r(186)][r(201)](d,h,d),Cesium.Matrix4[r(201)](d,M,d),o[r(176)][r(197)]=d,this.#r[r(210)][r(183)][r(188)](o),s&&this.#r.zoomTo(o),o}}function oe(){const t=["transform","27693hIpCNt","Cartesian3","164AeMtsR","multiply","HeadingPitchRoll","1363656jSYMmd","createGlbMenu","4224fJTiPd","840zOveVf","Cesium3DTileset","2387ITHLnf","Transforms","scene","_root","1cFNPot","fromRotationTranslation","11lNhYyu","adjust3Dtile","toRadians","1249225SnaQvN","primitives","fromScale","694954yBuDPq","Matrix4","zoomTo","add","create3DtileMenu","eastNorthUpToFixedFrame","12591gobXqI","fromDegrees","Matrix3","3235880agGtnF","Math","setGlb"];return(oe=function(){return t})()}const ue=ae;function ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=340]})(t,e)}function ce(){const t=["145947pEroRf","adjustGlb","显示三角网","6550117HSMSeC","361816txfYmA","获取视角信息","innerHTML","skyAtmosphere","globe","drawPolygon","translucency","tileProvider",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJ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UlEQVR42nTTPSjFURjH8et2WVhYZDEoyw2DhDIYWNBdrpeYLMIgMVCIxaqIskjJ5DWKYrDIOyVChpsyMSiD5G2Q71O/U8ff9dSne8//f87zP+c556TEYrFQkqhDK8qRjWccYxFL+HYdw4GBOdjBNM7RggI0qT2GE+S5ARFvcCZ2sYVafHnvEthTggkcoQz3foJZrKM/9H+8o0P/V2yJbgmlKMSw19mmfYUPXKvtole1qXcz6MQUPtVuwBDa8IoKFTCkIr5hxpKGvaofeF9oRhxdWFNnixGvjxW7xM1gUdO0SMUpLpCBTaTrXb6X4NF2zSXo1m8VJhH1Op55CRLe8yy8uCXkYlnTigYqf6llWIx6z+2QnVmCAdyqcMnClpamurhCpqjAqxF91dbaGFhjSEf4zooVeN6jWs1HtEazoOMaCUw/GG3a4ko7rWGv8nMabFv1FEhg72uwjUFU48a/TH0oxoYKFdddcAm6dMEOUaQt/nWZHuxioF3tfSU9VXtc/sSPAAMAI9tWnA5LgQkAAAAASUVORK5CYII=" />',"1371804zCrjUW","CesiumDevTools v1.0.4","关闭深度检测","开启光照效果","getCameraInfo","initMenu","_debug","glb模型调整","坐标拾取",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4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bWVudElEPSJ4bXAuZGlkOkE2M0Y1MTgzREUzQzExRUI4MTIzODQ5ODBENEE0QjgwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTYzRjUxODBERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTYzRjUxODFERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz70rz6OAAAAoElEQVR42mL09fVloAQwMVAIcBkgCsSHgPgzEPeQY0AlENsCMQ8QFwOxOakGvEDjs6HxLaEWMLAA8X88LvwOxLOA+DCSWA/UVSAwCWQAI4nhFo/ETiEnFrYisa8S8gI+8ACIM8nxAkYs/CcSPwZiL2wGMBLAMCADxDPJScrPkNjM5BiQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"_surface","ScreenSpaceEventHandler","terrianOpc","开启地表透明","frontFaceAlpha","开启大气渲染","306fVbchu","开启深度检测","关闭大气渲染","3238955mKLWzE","enabled","wireframe","srcElement","地形服务","scene",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAg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J02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',"position","模型调整","depthTestAgainstTerrain","视角相关","backFaceAlpha"];return(ce=function(){return t})()}!function(){const t=ae,e=ce();for(;;)try{if(492604==parseInt(t(360))/1+-parseInt(t(378))/2*(-parseInt(t(401))/3)+-parseInt(t(364))/4+parseInt(t(404))/5+parseInt(t(381))/6+-parseInt(t(363))/7+-parseInt(t(392))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{#f;#E;#b;#v;#r;constructor(t){const e=ae;this.#f=new h(t),this.#E=new M(t),this.#b=new re(t),this.#v=new a(t),this.#R(this.#v),this.#R(this.#E),this.#R(this.#b),this.#r=t,console[e(346)](e(382))}#R(t){const e=ae;Object[e(347)](Object.getPrototypeOf(t))[e(373)](t=>t!==e(391))[e(349)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}[ue(386)](){const t=ue,e=[{text:t(351),icon:t(390),sub:[{text:t(389),className:"positionPick",icon:t(379),events:{click:e=>{const n=t;this.#f[n(350)]()}}},{text:t(344),icon:t(379),events:{click:e=>{const n=t;this.#f[n(369)]()}}}]},{text:t(358),icon:t(348),sub:[{text:t(365),icon:t(379),events:{click:e=>{this[t(385)]()}}}]},{text:t(356),icon:t(343),sub:[{text:t(388),icon:t(379),events:{click:e=>{const n=t;this.#b[n(361)]()}}},{text:"3dtile模型调整",icon:t(380),events:{click:e=>{const n=t;this.#b[n(377)]()}}}]},{text:t(341),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8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fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',sub:[{text:t(362),icon:t(352),events:{click:e=>{const n=t;e.srcElement[n(366)]===n(362)?(e.srcElement[n(366)]=n(393),this.#r[n(342)][n(368)][n(395)][n(371)]._debug[n(406)]=!0,this.#r.scene[n(376)]()):(e.srcElement[n(366)]=n(362),this.#r[n(342)][n(368)][n(395)][n(371)][n(387)][n(406)]=!1,this.#r[n(342)][n(376)]())}}},{text:t(398),className:t(397),icon:t(354),events:{click:e=>{const n=t;"开启地表透明"===e[n(340)][n(366)]?(e[n(340)].innerHTML="关闭地表透明",this.#r[n(342)][n(368)][n(370)][n(405)]=!0,this.#r.scene[n(368)][n(370)][n(399)]=.2,this.#r[n(342)][n(368)][n(370)][n(359)]=.2):(e.srcElement[n(366)]=n(398),this.#r[n(342)][n(368)].translucency[n(405)]=!1)}}}]},{text:"场景设置",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPH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S3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',sub:[{text:t(402),icon:t(353),events:{click:e=>{const n=t;e[n(340)].innerHTML===n(402)?(e.srcElement[n(366)]=n(383),this.#r.scene.globe[n(357)]=!0):(e[n(340)][n(366)]=n(402),this.#r.scene.globe.depthTestAgainstTerrain=!1)}}},{text:t(403),icon:t(394),events:{click:e=>{const n=t;e[n(340)][n(366)]===n(403)?(e[n(340)][n(366)]=n(400),this.#r[n(342)].skyAtmosphere[n(374)]=!1):(e[n(340)].innerHTML=n(403),this.#r[n(342)][n(367)][n(374)]=!0)}}},{text:t(384),icon:t(372),events:{click:e=>{const n=t;e[n(340)][n(366)]===n(384)?(e[n(340)][n(366)]="关闭光照效果",this.#r[n(342)][n(368)].enableLighting=!0,this.#r[n(345)]=!0):(e.srcElement[n(366)]="开启光照效果",this.#r.scene[n(368)].enableLighting=!1,this.#r[n(345)]=!1)}}}]}];let i=new n(e,{});new(Cesium[t(396)])(this.#r[t(342)].canvas).setInputAction(e=>{const n=t;let s={clientX:e[n(355)].x,clientY:e[n(355)].y};i.display(s)},Cesium[t(375)].RIGHT_CLICK)}}export{le as default};