cesium-dev-tool 1.0.4 → 1.1.0

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
+ const t=n;!function(){const t=n,e=i();for(;;)try{if(372447==parseInt(t(423))/1*(parseInt(t(479))/2)+-parseInt(t(463))/3*(-parseInt(t(427))/4)+-parseInt(t(418))/5*(parseInt(t(492))/6)+parseInt(t(458))/7*(parseInt(t(444))/8)+parseInt(t(416))/9+parseInt(t(434))/10+parseInt(t(465))/11*(-parseInt(t(439))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class e{#t;#e;#n;#i;#s;count=0;[t(441)];constructor(e,n){const i=t;if(this.#n=this,this.#i=this[i(451)]++,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(456))throw new Error(i(426))}else n={};window.addEventListener("resize",()=>{s[i(449)](n,"close_on_resize",!0)&&this.hide()}),this[i(432)]()}[t(489)](e){const n=t;if(typeof e!==n(456))throw new Error(n(464));this.#e=e}[t(470)](e,n){const i=t;if(typeof e!==i(450))throw new Error(i(480));if(typeof n===i(483))throw new Error(i(472));this.#e[e]=n}[t(469)](){return this.#e}[t(432)](){const e=t;if(null==document[e(424)](e(467)+this.#i)){let t=document[e(466)]("div");t.className=e(445),t.id=e(467)+this.#i,document[e(419)][e(462)](t)}let n=document[e(424)](e(467)+this.#i);n[e(436)]="",n[e(462)](this[e(453)](this.#t))}[t(453)](e){const n=t,i=this;let r=document[n(466)]("ul");return e[n(485)](function(t){const e=n;let o=document[e(466)]("li");if(o[e(452)]=i.#n,t.className&&(o[e(477)]=t[e(477)]),typeof t[e(459)]===e(483)){let n=document[e(466)](e(438));n[e(477)]=e(471),""!=s[e(449)](t,e(484),"")?n[e(436)]=s.getProperty(t,e(484),""):n[e(436)]=s[e(449)](i.#e,"default_icon","");let r=document.createElement(e(438));r[e(477)]=e(474),""!=s[e(449)](t,e(433),"")?r[e(436)]=s[e(449)](t,"text",""):r[e(436)]=s.getProperty(i.#e,e(422),"item");let a=document.createElement("span");if(a[e(477)]=e(487),typeof t[e(490)]!==e(483)&&(""!=s[e(449)](i.#e,e(429),"")?a.innerHTML=s[e(449)](i.#e,e(429),""):a[e(436)]="&#155;"),o.appendChild(n),o[e(462)](r),o.appendChild(a),s[e(449)](t,e(481),!0)){if(typeof t[e(476)]===e(456)){let n=Object[e(437)](t[e(476)]);for(let i=0;i<n[e(460)];i++)o[e(415)](n[i],t[e(476)][n[i]])}typeof t[e(490)]!==e(483)&&o.appendChild(i[e(453)](t[e(490)]))}else o[e(431)](e(442),"")}else"cm_divider"===t.type&&(o[e(477)]=e(421));r[e(462)](o)}),r}[t(457)](e,n){const i=t;typeof n!==i(483)?this.#s=n:this.#s=e[i(417)];let r=document[i(424)]("cm_"+this.#i);const o={x:e[i(447)],y:e.clientY},a=o.x,u=o.y,c=r[i(455)]+4,l=r[i(491)]+4,h=window.innerWidth,p=window.innerHeight,d=parseInt(s.getProperty(this.#e,"mouse_offset",2));r[i(425)][i(454)]=h-a<c?h-c+"px":a+d+"px",p-u<l?r[i(425)][i(446)]=p-l+"px":r.style[i(446)]=u+d+"px";const m=s[i(435)](r);h-a<m[i(468)]?r[i(440)][i(448)](i(461)):r[i(440)][i(430)](i(461)),p-u<m.height?r.classList.add(i(428)):r.classList[i(430)](i(428)),r[i(440)][i(448)](i(457)),s.getProperty(this.#e,i(473),!0)&&window[i(415)](i(488),this[i(443)][i(486)](this))}[t(482)](){const e=t;document[e(424)](e(467)+this.#i)[e(440)][e(430)]("display"),window[e(475)](e(488),this[e(443)][e(486)](this))}[t(443)](){this[t(482)]()}}function n(t,e){const s=i();return(n=function(t,e){return s[t-=415]})(t,e)}function i(){const t=["icon","forEach","bind","cm_sub_span","click","setOptions","sub","offsetHeight","408bdxcIs","addEventListener","3996936CfAHOG","target","16790QBAviw","body","getElementsByTagName","cm_divider","default_text","2369DJvGhM","getElementById","style","Parameter 2 must be of type object","932504jGAvKO","cm_border_bottom","sub_icon","remove","setAttribute","reload","text","3077500isjznE","getSizes","innerHTML","keys","span","12iOERBg","classList","DIVIDER","disabled","documentClick","8dsumat","cm_container","top","clientX","add","getProperty","string","count","menu","renderLevel","left","offsetWidth","object","display","3958283MltCxi","type","length","cm_border_right","appendChild","3CHmLll","Parameter 1 must be of type object","15736215IVdtIJ","createElement","cm_","width","getOptions","changeOption","cm_icon_span","Parameter 2 must be set","close_on_click","cm_text","removeEventListener","events","className","height","406NLQuPF","Parameter 1 must be of type string","enabled","hide","undefined"];return(i=function(){return t})()}let s={getProperty:function(t,e,n){return void 0!==t[e]?t[e]:n},getSizes:function(e){const n=t;let i=e[n(420)]("li"),r=0,o=0;for(let t=0;t<i[n(460)];t++){let e=i[t];e.offsetWidth>r&&(r=e[n(455)]),e[n(491)]>o&&(o=e.offsetHeight)}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(420)]("ul");if(typeof e[0]!==n(483)){let t=s[n(435)](e[0]);r+t[n(468)]>a&&(a=r+t[n(468)]),o+t.height>u&&(u=o+t[n(478)])}}return{width:a,height:u}}};function r(){const t=["28nOGxlZ","403356lVuRsU","400628jONXYZ","2JKDLwq","1965704EFzYfI","1930404vJCjsC","Cartographic","5186952RQToCc","latitude","transformCnToCc","fromCartesian","2755145pDKWhF","toDegrees","144869mmhWiE"];return(r=function(){return t})()}const o=u;!function(){const t=u,e=r();for(;;)try{if(400550==-parseInt(t(241))/1+-parseInt(t(231))/2*(-parseInt(t(233))/3)+-parseInt(t(244))/4+-parseInt(t(239))/5+parseInt(t(243))/6*(-parseInt(t(242))/7)+parseInt(t(232))/8+parseInt(t(235))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class a{#r;constructor(t){this.#r=t}static[o(237)](t){const e=o,n=Cesium[e(234)][e(238)](t);return[Cesium.Math[e(240)](n.longitude),Cesium.Math[e(240)](n[e(236)]),n.height]}}function u(t,e){const n=r();return(u=function(t,e){return n[t-=231]})(t,e)}const c=l;function l(t,e){const n=h();return(l=function(t,e){return n[t-=395]})(t,e)}function h(){const t=["PolylineMaterialAppearance","请选择3个及以上的点","1122185xYJiMX","camera","GroundPolylinePrimitive","destroy","position","MOUSE_MOVE","ScreenSpaceEventHandler","202uiZwUm","setInputAction","%c多边形坐标:","5109804hZLeof","PointPrimitiveCollection","push","fromDegrees","info","CHARTREUSE","Color","pick","setTimeout","groupEnd","globe","ellipsoid","endPosition","CallbackProperty","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","10888SIOdfb","POSITIVE_INFINITY","remove","add","LEFT_DOUBLE_CLICK","1206590BHqvKh","6wRBIzw","pickPosition","GREEN","defined","ScreenSpaceEventType","scene","GroundPolylineGeometry","createMouseAdsorbHandle","%c鼠标点击位置坐标:","length","GeometryInstance","group","primitives","canvas","entities","isDestroyed","terrainProvider","Material","getPickRay","transformCnToCc","LEFT_CLICK","Cartesian3","withAlpha","fromType","endEvent","13023vOUHiC","2638zgOjEz","385aNVzNC","RED","3135804hZcEZT"];return(h=function(){return t})()}!function(){const t=l,e=h();for(;;)try{if(490677==-parseInt(t(403))/1+-parseInt(t(416))/2*(parseInt(t(402))/3)+parseInt(t(406))/4+-parseInt(t(409))/5*(parseInt(t(440))/6)+parseInt(t(404))/7*(-parseInt(t(434))/8)+parseInt(t(419))/9+-parseInt(t(439))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const p=c(433);class d{#r;#o;#a;#u;#c;#l;#h;constructor(t){this.#r=t,this.#h=[]}openMouseAdsorb(){const t=c;this[t(401)](),this.#o=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#o[t(417)](e=>{const n=t,i=this.#p(e[n(413)]);if(i){const t=a[n(396)](i);console[n(423)](n(448)+t,p)}this.endEvent()},Cesium[t(444)][t(397)]),this[t(447)]()}[c(447)](){const t=c;this.#u=this.#r.scene[t(452)][t(437)](new(Cesium[t(420)]));let e=this.#u[t(437)]({position:new(Cesium[t(398)])(1,2,3),color:Cesium[t(425)].YELLOW});this.#a=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#a.setInputAction(n=>{const i=t;if(!this.#u||this.#u[i(455)]())return;const s=this.#p(n.endPosition);s&&(e[i(413)]=s)},Cesium[t(444)][t(414)])}#d(){const t=c;this.#o&&!this.#o[t(455)]()&&this.#o[t(412)](),this.#a&&!this.#a.isDestroyed()&&this.#a[t(412)](),this.#o=void 0,this.#a=void 0}#m(){const t=c;if(this.#c&&(this.#c.forEach(t=>{const e=l;this.#r[e(454)][e(436)](t)}),this.#c=[]),this.#u&&!this.#u[t(455)]()){const e=this.#r[t(445)][t(452)];e.contains(this.#u)?e[t(436)](this.#u):this.#u[t(412)]()}this.#u=void 0}[c(401)](){this.#d(),this.#m()}#p(t){const e=c,n=this.#r[e(445)][e(426)](t);if(Cesium[e(443)](n))return this.#r[e(445)].pickPosition(t);const i=this.#r.camera[e(395)](t);return this.#r[e(456)]instanceof Cesium.EllipsoidTerrainProvider?this.#r.camera.pickEllipsoid(t,this.#r[e(445)].globe[e(430)]):this.#r.scene.globe[e(426)](i,this.#r[e(445)])}drawPolygon(){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(415)])(this.#r[t(445)][t(453)]),this.#o[t(417)](n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(427)](()=>{const t=r,o=this.#p(n[t(413)]);if(o){const e=a[t(396)](o);i[t(421)](...e),s[t(421)](o)}!e&&(e=this.#f()),2===s[t(449)]&&this.#g(),this.#A(s.at(-1))},200)},Cesium[t(444)][t(397)]),this.#o.setInputAction(e=>{const i=t,r=this.#p(e[i(431)]);r&&(n=r,s[i(449)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium.ScreenSpaceEventType.MOUSE_MOVE),this.#o[t(417)](r=>{const o=t;clearTimeout(this.#l);let a,u=this.#r[o(445)][o(441)](r[o(413)]),c=this.#r[o(445)][o(426)](r[o(413)]);if(c&&u&&!c.id)a=[1,1,1];else{let t=this.#r[o(410)].getPickRay(r.position);a=this.#r[o(445)][o(429)][o(426)](t,this.#r[o(445)])}a&&(s[o(449)]<2?alert(o(408)):(s[o(421)](n),console[o(451)](o(418),p),console[o(423)](""+i),console[o(428)](),i=[],s=[],e=void 0,this.#h=[],this[o(401)]()))},Cesium[t(444)][t(438)])}#A(t){const e=c,n=this.#r[e(454)][e(437)]({position:t,point:{pixelSize:7,color:Cesium[e(425)][e(424)],disableDepthTestDistance:Number[e(435)]}});return this.#c.push(n),n}#C(t,e){const n=c;let i=new(Cesium[n(450)])({geometry:new(Cesium[n(446)])({positions:[Cesium[n(398)][n(422)](...t),Cesium.Cartesian3[n(422)](...e)],width:3})}),s=new(Cesium[n(407)])({material:Cesium[n(457)][n(400)](n(425),{color:new(Cesium[n(425)])(1,1,0,1)})}),r=new(Cesium[n(411)])({geometryInstances:i,appearance:s});return this.#r[n(445)][n(452)][n(437)](r)}#f(){const t=c,e=this.#r[t(454)].add({polyline:{positions:new(Cesium[t(432)])(()=>this.#h,!1),width:3,material:Cesium[t(425)][t(405)],clampToGround:!0}});return this.#c[t(421)](e),e}#I(t){const e=c,n=this.#r[e(454)][e(437)]({polygon:{hierarchy:t,material:Cesium[e(425)][e(442)].withAlpha(.5)}});return this.#c.push(n),n}#g(){const t=c,e=this.#r[t(454)][t(437)]({polygon:{hierarchy:new Cesium.CallbackProperty(()=>new Cesium.PolygonHierarchy(this.#h),!1),material:Cesium[t(425)][t(442)][t(399)](.5)}});return this.#c[t(421)](e),e}}function m(){const t=["1686LgmteK","493YOXaiE","24yWAPMw","1173699rmDaOF","Cartesian3","transformCnToCc","笛卡尔坐标:","537972HSOgFk","fromDegrees","110wTtgHP","setView","208490ThytrN","position","getCameraInfo","setCameraPosition","group","91768aNZiBC","info","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","flyTo","95dxfDHr","HPR角度:","13BKgucU","camera","1290375sKrnZE","1278102AvaOeP","12fjyBXj"];return(m=function(){return t})()}const f=A;!function(){const t=A,e=m();for(;;)try{if(231652==-parseInt(t(255))/1*(-parseInt(t(254))/2)+-parseInt(t(251))/3+parseInt(t(242))/4*(parseInt(t(247))/5)+-parseInt(t(253))/6*(-parseInt(t(252))/7)+-parseInt(t(256))/8*(parseInt(t(257))/9)+parseInt(t(237))/10*(-parseInt(t(263))/11)+parseInt(t(261))/12*(parseInt(t(249))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class g{#r;constructor(t){this.#r=t}[f(239)](){const t=f,e=a[t(259)](this.#r.camera.position),{heading:n,pitch:i,roll:s}=this.#r.camera,r=t(244);console[t(241)]("%c视角位置参数:",r),console[t(243)](t(245)+[e]),console[t(243)](t(260)+[this.#r[t(250)][t(238)]]),console[t(243)](t(248)+[n,i,s]),console.groupEnd()}[f(240)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=f;n?this.#r[i(250)][i(246)]({destination:Cesium[i(258)].fromDegrees(...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(250)][i(264)]({destination:Cesium[i(258)][i(262)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}function A(t,e){const n=m();return(A=function(t,e){return n[t-=237]})(t,e)}var C,I,M=9e15,b=1e9,w="0123456789abcdef",v="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",L=N+"crypto unavailable",P="[object Decimal]",D=Math.floor,k=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,O=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,G=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,z=1e7,Z=v.length-1,Y=y.length-1,F={toStringTag:P};function j(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 H(t,e,n){if(t!==~~t||t<e||t>n)throw Error(T+t)}function U(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=k(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)==k(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)==k(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]+=w.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()}F.absoluteValue=F.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),J(t)},F.ceil=function(){return J(new this.constructor(this),this.e+1,2)},F.clampedTo=F.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)},F.comparedTo=F.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},F.cosine=F.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,J(2==I||3==I?n.neg():n,t,e,!0)):new i(1):new i(NaN)},F.cubeRoot=F.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*k(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=j(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=k(n,1/3),t=D((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=V(c.plus(l).times(a),c.plus(u),o+2,1),j(a.d).slice(0,o)===(n=j(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))||(J(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(J(a,t+1,0),a.times(a).times(a).eq(l))){i=a;break}o+=4,s=1}return R=!0,J(i,t,h.rounding,e)},F.decimalPlaces=F.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-D(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},F.dividedBy=F.div=function(t){return V(this,new this.constructor(t))},F.dividedToIntegerBy=F.divToInt=function(t){var e=this.constructor;return J(V(this,new e(t),0,1,1),e.precision,e.rounding)},F.equals=F.eq=function(t){return 0===this.cmp(t)},F.floor=function(){return J(new this.constructor(this),this.e+1,3)},F.greaterThan=F.gt=function(t){return this.cmp(t)>0},F.greaterThanOrEqualTo=F.gte=function(t){var e=this.cmp(t);return 1==e||0===e},F.hyperbolicCosine=F.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 J(r,o.precision=n,o.rounding=i,!0)},F.hyperbolicSine=F.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,J(s,e,n,!0)},F.hyperbolicTangent=F.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,V(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},F.inverseCosine=F.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))},F.inverseHyperbolicCosine=F.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)},F.inverseHyperbolicSine=F.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())},F.inverseHyperbolicTangent=F.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?J(new r(s),t,e,!0):(r.precision=n=i-s.e,s=V(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)},F.inverseSine=F.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)))},F.inverseTangent=F.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<=Y)return(o=q(l,h+4,p).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(h+4<=Y)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,J(o,l.precision=h,l.rounding=p,!0)},F.isFinite=function(){return!!this.d},F.isInteger=F.isInt=function(){return!!this.d&&D(this.e/7)>this.d.length-2},F.isNaN=function(){return!this.s},F.isNegative=F.isNeg=function(){return this.s<0},F.isPositive=F.isPos=function(){return this.s>0},F.isZero=function(){return!!this.d&&0===this.d[0]},F.lessThan=F.lt=function(t){return this.cmp(t)<0},F.lessThanOrEqualTo=F.lte=function(t){return this.cmp(t)<1},F.logarithm=F.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),U((u=V(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=V(o,i,a,1),!r){+j(u.d).slice(s+1,s+15)+1==1e14&&(u=J(u,h+1,0));break}}while(U(u.d,s+=10,p));return R=!0,J(u,h,p)},F.minus=F.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?J(t,a,u):t}if(n=D(t.e/7),l=D(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]=z-1;--c[s],c[i]+=z}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?J(t,a,u):t):new m(3===u?-0:0)},F.modulo=F.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]?J(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=V(n,t.abs(),0,3,1)).s*=t.s:e=V(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},F.naturalExponential=F.exp=function(){return it(this)},F.naturalLogarithm=F.ln=function(){return st(this)},F.negated=F.neg=function(){var t=new this.constructor(this);return t.s=-t.s,J(t)},F.plus=F.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?J(t,a,u):t;if(r=D(h.e/7),i=D(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)/z|0,c[s]%=z;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),R?J(t,a,u):t},F.precision=F.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},F.round=function(){var t=this,e=t.constructor;return J(new e(t),t.e+1,e.rounding)},F.sine=F.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,J(I>2?n.neg():n,t,e,!0)):new i(NaN)},F.squareRoot=F.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=j(a)).length+u)%2==0&&(e+="0"),c=Math.sqrt(e),u=D((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(V(o,r,n+2,1)).times(.5),j(r.d).slice(0,n)===(e=j(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))||(J(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(J(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,J(i,u,l.rounding,t)},F.tangent=F.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=V(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,J(2==I||4==I?n.neg():n,t,e,!0)):new i(NaN)},F.times=F.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=D(l.e/7)+D(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%z|0,e=a/z|0;r[s]=(r[s]+e)%z|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?J(t,h.precision,h.rounding):t},F.toBinary=function(t,e){return lt(this,2,t,e)},F.toDecimalPlaces=F.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(H(t,0,b),void 0===e?e=i.rounding:H(e,0,8),J(n,t+n.e+1,e))},F.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(H(t,0,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(H(t,0,b),void 0===e?e=r.rounding:H(e,0,8),n=W(i=J(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},F.toFraction=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.d,f=d.constructor;if(!m)return new f(d);if(c=n=new f(1),i=u=new f(0),o=(r=(e=new f(i)).e=_(m)-d.e-1)%7,e.d[0]=k(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(a=new f(t)).isInt()||a.lt(c))throw Error(T+a);t=a.gt(e)?r>0?e:c:a}for(R=!1,a=new f(j(m)),l=f.precision,f.precision=r=7*m.length*2;h=V(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=V(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=V(c,i,r,1).minus(d).abs().cmp(V(u,n,r,1).minus(d).abs())<1?[c,i]:[u,n],f.precision=l,R=!0,p},F.toHexadecimal=F.toHex=function(t,e){return lt(this,16,t,e)},F.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:H(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=V(n,t,0,e,1).times(t),R=!0,J(n)):(t.s=n.s,n=t),n},F.toNumber=function(){return+this},F.toOctal=function(t,e){return lt(this,8,t,e)},F.toPower=F.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(k(+a,c));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return J(a,i,r);if((e=D(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):J(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=k(+a,c))&&isFinite(n)?new u(n+"").e:D(c*(Math.log("0."+j(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&&U((s=J(s,i+5,1)).d,i,r)&&(e=i+10,+j((s=J(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=J(s,i+1,0))),s.s=o,R=!0,u.rounding=r,J(s,i,r))},F.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):(H(t,1,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toSignificantDigits=F.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(H(t,1,b),void 0===e?e=n.rounding:H(e,0,8)),J(new n(this),t,e)},F.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},F.truncated=F.trunc=function(){return J(new this.constructor(this),this.e+1,1)},F.valueOf=F.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 V=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,f,g,A,I,M,b,w,v,y,E,R,N,T,S,L=i.constructor,P=i.s==s.s?1:-1,k=i.d,B=s.d;if(!(k&&k[0]&&B&&B[0]))return new L(i.s&&s.s&&(k?!B||k[0]!=B[0]:B)?k&&0==k[0]||!B?0*P:P/0:NaN);for(u?(d=1,l=i.e-s.e):(u=z,d=7,l=D(i.e/d)-D(s.e/d)),T=B.length,R=k.length,I=(A=new L(P)).d=[],h=0;B[h]==(k[h]||0);h++);if(B[h]>(k[h]||0)&&l--,null==r?(v=r=L.precision,o=L.rounding):v=a?r+(i.e-s.e)+1:r,v<0)I.push(1),m=!0;else{if(v=v/d+2|0,h=0,1==T){for(p=0,B=B[0],v++;(h<R||p)&&v--;h++)y=p*u+(k[h]||0),I[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),k=t(k,p,u),T=B.length,R=k.length),E=T,b=(M=k.slice(0,T)).length;b<T;)M[b++]=0;(S=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(c=e(B,M,T,b))<0?(w=M[0],T!=b&&(w=w*u+(M[1]||0)),(p=w/N|0)>1?(p>=u&&(p=u-1),1==(c=e(f=t(B,p,u),M,g=f.length,b=M.length))&&(p--,n(f,T<g?S:B,g,u))):(0==p&&(c=p=1),f=B.slice()),(g=f.length)<b&&f.unshift(0),n(M,f,b,u),-1==c&&(c=e(B,M,T,b=M.length))<1&&(p++,n(M,T<b?S:B,b,u)),b=M.length):0===c&&(p++,M=[0]),I[h++]=p,c&&M[0]?M[b++]=k[E]||0:(M=[k[E]],b=1)}while((E++<R||void 0!==M[0])&&v--);m=void 0!==M[0]}I[0]||I.shift()}if(1==d)A.e=l,C=m;else{for(h=1,p=I[0];p>=10;p/=10)h++;A.e=h+l*d-1,J(A,a?r+A.e+1:r,o,m)}return A}}();function J(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])/k(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/k(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?l:l%k(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/k(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]=k(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=k(10,7-r),h[p]=o>0?(l/k(10,s-o)%k(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]==z&&(h[0]=1));break}if(h[p]+=a,h[p]!=z)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=j(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 J(new t(v),e,1,!0)}function q(t,e,n){if(e>Y)throw Error(S);return J(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=D(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(k(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=J(r.times(t),u,1),n=n.times(++l),j((a=o.plus(V(r,n,u,1))).d).slice(0,u)===j(o.d).slice(0,u)){for(s=h;s--;)o=J(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(c<3&&U(o.d,u-i,d,c)))return J(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,f=m.d,g=m.constructor,A=g.rounding,C=g.precision;if(m.s<0||!f||!f[0]||!m.e&&1==f[0]&&1==f.length)return new g(f&&!f[0]?-1/0:1!=m.s?NaN:f?0:m);if(null==e?(R=!1,l=C):l=e,g.precision=l+=10,i=(n=j(f)).charAt(0),!(Math.abs(r=m.e)<15e14))return c=K(g,l+2,C).times(r+""),m=st(new g(i+"."+n.slice(1)),l-10).plus(c),g.precision=C,null==e?J(m,C,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=j((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new g("0."+n),r++):m=new g(i+"."+n.slice(1)),h=m,u=o=m=V(m.minus(1),m.plus(1),l,1),p=J(m.times(m),l,1),s=3;;){if(o=J(o.times(p),l,1),j((c=u.plus(V(o,new g(s),l,1))).d).slice(0,l)===j(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(K(g,l+2,C).times(r+""))),u=V(u,new g(d),l,1),null!=e)return g.precision=C,u;if(!U(u.d,l-10,A,a))return J(u,g.precision=C,A,R=!0);g.precision=l+=10,c=o=m=V(h.minus(1),h.plus(1),l,1),p=J(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=V(a.times(u),new t(e++*e++),c,1),a=s?i.plus(o):i.minus(o),i=V(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 I=i?4:1,e;if((n=e.divToInt(s)).isZero())I=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return I=et(n)?i?2:3:i?4:1,e;I=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?(H(n,1,b),void 0===i?i=d.rounding:H(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=V(t,p,n,i,0,s)).d,r=t.e,c=C),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+=w.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+=w.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 ft(t,e){return new this(t).plus(e)}function gt(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function Ct(t){return new this(t).atan()}function It(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(V(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(V(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function bt(t){return new this(t).cbrt()}function wt(t){return J(t=new this(t),t.e+1,2)}function vt(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,b,"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(!(D(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(L);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 J(t=new this(t),t.e+1,3)}function Lt(){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 Pt(t){return t instanceof _t||t&&t.toStringTag===P||!1}function Dt(t){return new this(t).ln()}function kt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Ot(t){return new this(t).log(10)}function Gt(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function zt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function Yt(t,e){return new this(t).pow(e)}function Ft(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:H(t,1,b),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(L);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=k(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 jt(t){return J(t=new this(t),t.e+1,this.rounding)}function Ht(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ut(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Vt(t){return new this(t).sqrt()}function Jt(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,J(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 J(t=new this(t),t.e+1,1)}F[Symbol.for("nodejs.util.inspect.custom")]=F.toString,F[Symbol.toStringTag]="Decimal";var _t=F.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,Pt(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(O.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!G.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,z)).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=V(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?k(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=F,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=Pt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=ft,r.asin=gt,r.asinh=At,r.atan=Ct,r.atanh=It,r.atan2=Mt,r.cbrt=bt,r.ceil=wt,r.clamp=vt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=Tt,r.floor=St,r.hypot=Lt,r.ln=Dt,r.log=kt,r.log10=Ot,r.log2=Bt,r.max=Gt,r.min=xt,r.mod=zt,r.mul=Zt,r.pow=Yt,r.random=Ft,r.round=jt,r.sign=Ht,r.sin=Ut,r.sinh=Qt,r.sqrt=Vt,r.sub=Jt,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);function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=483]})(t,e)}v=new _t(v),y=new _t(y);const te=$t;!function(){const t=$t,e=ne();for(;;)try{if(440269==parseInt(t(580))/1*(-parseInt(t(598))/2)+-parseInt(t(534))/3+-parseInt(t(538))/4*(parseInt(t(591))/5)+-parseInt(t(540))/6+parseInt(t(547))/7*(parseInt(t(553))/8)+-parseInt(t(579))/9*(-parseInt(t(597))/10)+parseInt(t(532))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ee{#r;[te(590)];CatLongitude={};CatLongitudeStep=1e-4;[te(531)]={};[te(544)]=1e-4;[te(517)]={};[te(503)]=.1;[te(601)]={};[te(493)]=1;CatPitch={};[te(584)]=1;CatRoll={};CatRollStep=1;[te(523)]={};[te(586)]=.1;constructor(t){this.#r=t}[te(593)](){const t=te;console[t(582)]("调用成功");const e=t(567);let n=(new DOMParser)[t(508)](e,"text/html")[t(564)](t(485))[0];document[t(525)].appendChild(n),this.removeMenuEvent(t(485)),this[t(484)](),this.bindEventGLB()}[te(568)](){const t=te;this[t(542)](this[t(528)],t(563),"CatMenuLonInputPlus",t(497),t(526),()=>{this[t(573)]()}),this[t(542)](this.CatLatitude,t(486),t(509),t(536),t(577),()=>{this[t(573)]()}),this[t(542)](this.CatHeight,t(560),"CatMenuHeiInputPlus",t(583),"CatMenuHeiStepInput",()=>{this.changeEntityPos()}),this.createEvent(this[t(601)],t(550),t(565),t(561),"CatMenuHeadingStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(572)],t(530),t(569),t(495),t(592),()=>{this[t(513)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),"CatMenuRollStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(523)],t(500),t(546),t(566),"CatMenuScaleStepInput",()=>{this[t(570)]()})}[te(542)](t,e,n,i,s,r){const o=te,a=document.getElementsByClassName(e)[0];Object[o(504)](t,"value",{get(){return this[o(515)]},set(t){const e=o;this[e(515)]=t,a[e(554)]=t,r()}}),a[o(545)]=e=>{const n=o;t[n(554)]=e[n(588)][n(554)]};const u=document[o(564)](n)[0],c=document[o(564)](i)[0];u.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(554)];t[e(554)]=_t(a[e(554)])[e(507)](_t(n)).toNumber()},c.onclick=()=>{const e=o,n=document[e(564)](s)[0][e(554)];t[e(554)]=_t(a[e(554)]).sub(_t(n))[e(581)]()}}changeEntityPos(){const t=te,e=document[t(564)](t(563))[0].value,n=document[t(564)](t(486))[0][t(554)],i=document[t(564)]("CatMenuHeiInput")[0][t(554)];this.CatEntity.position=Cesium[t(492)][t(578)](e,n,i)}[te(513)](){const t=te,e=this.CatEntity.position[t(515)],n=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(550))[0].value)),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(530))[0][t(554)])),s=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)])),r=new Cesium.HeadingPitchRoll(n,i,s);let o=Cesium[t(594)][t(551)](e,r);this[t(590)][t(585)]=o}[te(570)](){const t=te,e=document[t(564)](t(500))[0].value;this[t(590)][t(511)][t(514)]=Number(e)}[te(484)](){const t=te;document[t(564)](t(543))[0][t(499)](t(552),()=>{const e=t,n=document[e(564)](e(596))[0][e(554)],i=this.#r[e(557)][e(548)](n);if(i){this[e(590)]=i;const t=a[e(512)](i[e(501)]._value);document[e(564)](e(563))[0][e(554)]=t[0],document[e(564)]("CatMenuLatInput")[0].value=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0].value=this[e(522)],document.getElementsByClassName("CatMenuLatStepInput")[0][e(554)]=this[e(544)],document[e(564)](e(510))[0][e(554)]=this[e(493)];const n=i.computeModelMatrix(Cesium[e(600)][e(603)]()),s=Cesium.Transforms.fixedFrameToHeadingPitchRoll(n);document[e(564)](e(550))[0][e(554)]=Cesium[e(589)][e(533)](s.heading),document[e(564)](e(530))[0].value=Cesium[e(589)][e(533)](s.pitch),document[e(564)](e(483))[0][e(554)]=Cesium[e(589)][e(533)](s.roll),document[e(564)](e(487))[0][e(554)]=this[e(493)],document[e(564)](e(592))[0][e(554)]=this[e(584)],document.getElementsByClassName("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0][e(554)]=i[e(511)].scale||1,document[e(564)]("CatMenuScaleStepInput")[0][e(554)]=this[e(586)]}else alert("没有找到id为"+n+e(489))})}[te(494)](t){const e=te;let n=document[e(564)](e(485))[0],i=document.getElementsByClassName(e(521))[0];t?i.addEventListener(e(552),()=>{const t=e;n[t(559)][t(491)](n)}):(this.CatEntity=null,n[e(559)][e(491)](n))}[te(490)](){const t=te;console[t(582)](t(518));let e=(new DOMParser)[t(508)]('\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',t(555))[t(564)](t(485))[0];document.body[t(506)](e),this[t(494)](t(485)),this[t(602)](),this[t(537)]()}[te(537)](){const t=te;this[t(542)](this.CatLongitude,"CatMenuLonInput","CatMenuLonInputPlus",t(497),"CatMenuLonStepInput",()=>{this[t(498)]()}),this.createEvent(this[t(531)],t(486),t(509),t(536),t(577),()=>{this[t(498)]()}),this[t(542)](this[t(517)],t(560),t(541),"CatMenuHeiInputMinus",t(510),()=>{this[t(498)]()}),this[t(542)](this[t(601)],t(550),t(565),t(561),t(487),()=>{this.change3dtilePos()}),this[t(542)](this[t(572)],"CatMenuPitchInput",t(569),t(495),t(592),()=>{this[t(498)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),t(576),()=>{this[t(498)]()}),this[t(542)](this.CatScale,t(500),t(546),t(566),t(539),()=>{this[t(498)]()})}[te(498)](){const t=te,e=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(550))[0].value)),n=Cesium[t(589)][t(558)](Number(document[t(564)](t(530))[0][t(554)])),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)]));let s=Cesium.Matrix3[t(505)](e),r=Cesium[t(587)][t(516)](n),o=Cesium[t(587)][t(520)](i),a=Cesium[t(488)][t(527)](s),u=Cesium[t(488)][t(527)](r),c=Cesium[t(488)].fromRotationTranslation(o);const l=document[t(564)]("CatMenuLonInput")[0][t(554)],h=document[t(564)]("CatMenuLatInput")[0][t(554)],p=document.getElementsByClassName(t(560))[0][t(554)];let d=Cesium[t(492)][t(578)](l,h,p),m=Cesium.Transforms.eastNorthUpToFixedFrame(d);const f=document[t(564)](t(500))[0][t(554)];let g=new(Cesium[t(492)])(f,f,f);const A=Cesium[t(488)][t(562)](g,new(Cesium[t(488)]));Cesium.Matrix4[t(556)](m,a,m),Cesium[t(488)][t(556)](m,u,m),Cesium[t(488)][t(556)](m,c,m),Cesium[t(488)][t(556)](m,A,m),this[t(590)][t(599)][t(571)]=m}confirmEvent3Dtile(){const t=te;document[t(564)](t(543))[0].addEventListener(t(552),()=>{const e=t,n=document.getElementsByClassName(e(596))[0].value;let i;for(let t of this.#r[e(575)][e(496)][e(595)])if(t._url==n){i=t;break}if(i){this[e(590)]=i,console.log(this[e(590)]);const t=a.transformCnToCc(i[e(529)][e(524)]);document.getElementsByClassName(e(563))[0][e(554)]=t[0],document.getElementsByClassName(e(486))[0][e(554)]=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0][e(554)]=this[e(522)],document.getElementsByClassName(e(577))[0][e(554)]=this.CatLatitudeStep,document[e(564)](e(510))[0][e(554)]=this.CatHeadingStep,document[e(564)]("CatMenuHeadingInput")[0][e(554)]=0,document[e(564)](e(530))[0][e(554)]=0,document.getElementsByClassName(e(483))[0][e(554)]=0,document.getElementsByClassName(e(487))[0][e(554)]=this.CatHeadingStep,document[e(564)](e(592))[0][e(554)]=this[e(584)],document[e(564)]("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0].value=1,document[e(564)](e(539))[0][e(554)]=1}else alert(e(549)+n+e(489))})}}function ne(){const t=["CatScale","center","body","CatMenuLonStepInput","fromRotationTranslation","CatLongitude","boundingSphere","CatMenuPitchInput","CatLatitude","27437443HubYzZ","toDegrees","1908543jOezKR","CatMenuRollInputMinus","CatMenuLatInputMinus","bindEvent3Dtile","8708qayrIG","CatMenuScaleStepInput","3054498tCOTjH","CatMenuHeiInputPlus","createEvent","CatMenuIdInputButton","CatLatitudeStep","onchange","CatMenuScaleInputPlus","413InFTEX","getById","没有找到url为","CatMenuHeadingInput","headingPitchRollQuaternion","click","33992IkdgfE","value","text/html","multiply","entities","toRadians","parentNode","CatMenuHeiInput","CatMenuHeadingInputMinus","fromScale","CatMenuLonInput","getElementsByClassName","CatMenuHeadingInputPlus","CatMenuScaleInputMinus",'\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',"bindEventGLB","CatMenuPitchInputPlus","changeScale","transform","CatPitch","changeEntityPos","CatMenuRollInputPlus","scene","CatMenuRollStepInput","CatMenuLatStepInput","fromDegrees","7101AxIMOK","1ImdSky","toNumber","log","CatMenuHeiInputMinus","CatPitchStep","orientation","CatScaleStep","Matrix3","target","Math","CatEntity","1785CCbSBD","CatMenuPitchStepInput","createGlbMenu","Transforms","_primitives","CatMenuIdInput","240RlsWLU","802436RSZFge","_root","JulianDate","CatHeading","confirmEvent3Dtile","now","CatMenuRollInput","confirmEventGlb","CatGlbMenuContainer","CatMenuLatInput","CatMenuHeadingStepInput","Matrix4","的对象","create3DtileMenu","removeChild","Cartesian3","CatHeadingStep","removeMenuEvent","CatMenuPitchInputMinus","primitives","CatMenuLonInputMinus","change3dtilePos","addEventListener","CatMenuScaleInput","position","CatRollStep","CatHeightStep","defineProperty","fromRotationX","appendChild","add","parseFromString","CatMenuLatInputPlus","CatMenuHeiStepInput","model","transformCnToCc","changeHPR","scale","_value","fromRotationY","CatHeight","调用成功","CatRoll","fromRotationZ","CatMenuCloseButton","CatLongitudeStep"];return(ne=function(){return t})()}const ie=se;function se(t,e){const n=re();return(se=function(t,e){return n[t-=211]})(t,e)}function re(){const t=["toRadians","fromRotationTranslation","Math","Cartesian3","createGlbMenu","Matrix3","setGlb","transform","zoomTo","Matrix4","fromDegrees","adjust3Dtile","primitives","555aNlHue","add","multiply","fromRotationY","fromRotationZ","9628mYjEqA","937428eieazo","15OiJnIK","Cesium3DTileset","fromScale","fromUrl","HeadingPitchRoll","1902150KItwMC","2295270FGkTlQ","5076968PdecJY","scene","set3Dtile","5379073wTITHx","eastNorthUpToFixedFrame","headingPitchRollQuaternion","fromRotationX","adjustGlb","1911357nDaRuS"];return(re=function(){return t})()}!function(){const t=se,e=re();for(;;)try{if(610138==parseInt(t(212))/1+-parseInt(t(218))/2+-parseInt(t(242))/3*(parseInt(t(211))/4)+parseInt(t(213))/5*(parseInt(t(219))/6)+parseInt(t(223))/7+-parseInt(t(220))/8+-parseInt(t(228))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{#r;#M;constructor(t){this.#r=t,this.#M=new ee(t)}[ie(227)](){const t=ie;this.#M[t(233)]()}[ie(235)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=ie,a=Cesium[o(232)].fromDegrees(...e),u=new(Cesium[o(217)])(Cesium.Math.toRadians(n[0]),Cesium[o(231)][o(229)](n[1]),Cesium[o(231)][o(229)](n[2])),c=Cesium.Transforms[o(225)](a,u),l=this.#r.entities[o(243)]({id:i,position:a,orientation:c,model:{uri:t,scale:s}});return r&&this.#r.zoomTo(l),l}[ie(240)](){this.#M.create3DtileMenu()}async[ie(222)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=ie;let o=await Cesium[r(214)][r(216)](t,{}),a=Cesium.Matrix3[r(226)](Cesium[r(231)][r(229)](n[0])),u=Cesium.Matrix3[r(245)](Cesium[r(231)][r(229)](n[1])),c=Cesium[r(234)][r(246)](Cesium[r(231)][r(229)](n[2])),l=Cesium[r(238)][r(230)](a),h=Cesium[r(238)][r(230)](u),p=Cesium[r(238)][r(230)](c),d=Cesium[r(232)][r(239)](...e),m=Cesium.Transforms[r(224)](d),f=new Cesium.Cartesian3(i,i,i);const g=Cesium[r(238)][r(215)](f,new Cesium.Matrix4);return Cesium[r(238)][r(244)](m,l,m),Cesium[r(238)].multiply(m,h,m),Cesium[r(238)].multiply(m,p,m),Cesium.Matrix4[r(244)](m,g,m),o._root[r(236)]=m,this.#r[r(221)][r(241)].add(o),s&&this.#r[r(237)](o),o}}const ae=ce;!function(){const t=ce,e=le();for(;;)try{if(948057==parseInt(t(474))/1+-parseInt(t(461))/2*(-parseInt(t(523))/3)+-parseInt(t(524))/4+parseInt(t(458))/5+parseInt(t(486))/6+-parseInt(t(511))/7*(-parseInt(t(529))/8)+-parseInt(t(475))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ue={startMeasure(t,e={}){const n=ce;if(![n(535),n(477),n(488),n(481)][n(536)](t))throw new Error(n(470)+t);const i=this[n(465)](e);this[n(478)](!1);const s={id:t+"-"+Date[n(497)]()+"-"+Math[n(533)]().toString(36)[n(495)](2,8),type:t,useTerrain:Boolean(e[n(494)]),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(537)],onComplete:e[n(527)],onRemove:e.onRemove,onCancel:e[n(514)]},cancelled:!1};return this[n(464)]=s,this[n(531)](!0),this[n(468)](s),this[n(462)](s),this[n(502)](),this[n(500)](s,{phase:"start",instruction:this[n(493)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=ce,n=this[e(464)];if(!n)return this.destroyHandler(),void this.setCursor(!1);n[e(485)]=!0,this[e(499)](),this.removeEntities([...n.pointEntities,...n.previewEntities]),this[e(531)](!1),this[e(464)]=null,this[e(502)](),t&&(typeof n[e(463)].onCancel===e(517)&&n[e(463)][e(514)]({type:n[e(534)],useTerrain:n[e(494)],surfaceMode:n.surfaceMode}),this[e(500)](n,{phase:e(504),instruction:"",formattedValue:""}))},clearAll(){const t=ce;this.clearCurrent(!1),this.resultGroups[t(510)](e=>{const n=t;this[n(526)](e[n(491)])}),this[t(459)]=[],this[t(480)](!1),this[t(502)]()},destroy(){const t=ce;this[t(498)](),this[t(499)](),this[t(472)](),this[t(522)](),this[t(531)](!1)},async finalizeSession(t){const e=ce;if(!t||t.cancelled)return;this[e(499)](),this.setCursor(!1),this.emitUpdate(t,{phase:e(479),instruction:e(467)});const n=await this[e(513)](t);if(t[e(485)])return;const i={...n,id:t.id};this[e(526)](t.pointEntities);const s=this.commitResult(t,i);this[e(526)](t[e(507)]),this[e(459)][e(483)]({id:t.id,entities:s,result:i,callbacks:t.callbacks}),this.activeMeasurement=null,this[e(502)](),"function"==typeof t[e(463)][e(527)]&&t[e(463)][e(527)](i),this[e(500)](t,{phase:e(520),instruction:this.getInstruction(t.type,0),formattedValue:i.formattedValue,result:i})},async buildResult(t){const e=ce;switch(t[e(534)]){case e(535):return this.buildLengthResult(t[e(516)],t[e(469)],t.pointSurfaceTypes);case e(477):return this[e(528)](t[e(516)],t[e(469)],t[e(460)]);case e(488):return this[e(471)](t[e(516)],t.surfaceMode,t[e(460)]);case e(481):return this[e(521)](t.points,t[e(469)],t.pointSurfaceTypes);default:throw new Error(e(470)+t[e(534)])}},emitUpdate(t,e={}){const n=ce;if(typeof t?.callbacks?.[n(537)]===n(517)){const i=this[n(487)](t[n(469)],t[n(460)]);t.callbacks[n(537)]({type:t[n(534)],useTerrain:t.useTerrain,surfaceMode:t[n(469)],surfaceType:i[n(489)],surfaceLabel:i[n(490)],actualTerrain:i.actualTerrain,...e})}},resolveSurfaceMode(t={}){const e=ce;return[e(501),e(525),e(538),e(476)].includes(t[e(469)])?t[e(469)]:t[e(494)]?e(501):e(476)},resolveMeasurementSurfaceType(t=ae(476),e=[]){const n=ae,i=[n(501),n(525),n(538),"auto"][n(536)](t)?t:"auto";return i===n(501)&&this.hasTerrainProvider()?n(501):e[n(536)]("scene")?"scene":e[n(536)](n(501))?n(501):e[n(536)](n(538))?n(538):"scene"===i?"scene":n(538)},getMeasurementSurfaceInfo(t=ae(476),e=[]){const n=ae,i=this[n(492)](t,e),s={terrain:{surfaceType:n(501),titlePrefix:"地形",surfaceLabel:n(518),actualTerrain:!0},scene:{surfaceType:n(525),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(538),titlePrefix:"无地形",surfaceLabel:n(473),actualTerrain:!1}};return s[i]||s[n(538)]},getMeasureTitle(t,e){const n=ae;return"angle"===t?"角度":""+this[n(487)](e,[e])[n(532)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ae;if(!t)return this[e(487)](e(538));const n=t[e(506)][e(535)]>0?t[e(506)]:t[e(460)];return this[e(487)](t[e(469)],n)},updatePreviewLineClampState(t){const e=ae;t?.[e(515)]?.[e(484)]&&(t[e(515)][e(484)].clampToGround=this[e(503)](t[e(534)],this[e(496)](t)[e(489)]))},getInstruction(t,e){const n=ae;return t===n(535)?n(0===e?512:519):"area"===t?n(e<2?530:508):t===n(481)?n(0===e?482:509):0===e?n(505):1===e?"左键选择角度顶点。":n(466)}};function ce(t,e){const n=le();return(ce=function(t,e){return n[t-=458]})(t,e)}function le(){const t=["resolveMeasurementSurfaceType","getInstruction","useTerrain","slice","getSessionPreviewSurfaceInfo","now","clearAll","destroyHandler","emitUpdate","terrain","refreshForegroundLineOverlayState","shouldClampLineToGround","idle","左键选择角度起点。","dynamicSurfaceTypes","previewEntities","左键继续绘制面积边界,左键双击或按回车结束面积测量。","左键选择高差终点完成测量,右键取消。","forEach","1560083UvMqfl","左键开始长度测量,左键双击或按回车结束。","buildResult","onCancel","previewLineEntity","points","function","贴地结果","左键继续加点,左键双击或按回车结束长度测量。","complete","buildHeightResult","destroyForegroundLineOverlay","141rSGqXY","6956804lPheaY","scene","removeEntities","onComplete","buildAreaResult","24YPnFHe","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","setCursor","titlePrefix","random","type","length","includes","onUpdate","ellipsoid","1950550qpoDDh","resultGroups","pointSurfaceTypes","51780eJlToK","bindEvents","callbacks","activeMeasurement","resolveSurfaceMode","左键选择角度终点完成测量,右键取消。","正在计算测量结果...","createPreviewEntities","surfaceMode","Unsupported measure type: ","buildAngleResult","destroyResultInteractionHandler","无地形结果","199783uCHNSt","3006117ZktMhH","auto","area","clearCurrent","computing","setCloseButtonHover","height","左键选择高差起点。","push","polyline","cancelled","3275646amVmmr","getMeasurementSurfaceInfo","angle","surfaceType","surfaceLabel","entities"];return(le=function(){return t})()}function he(){const t=["632745SVGzuR","handler","getAnglePreview","MOUSE_MOVE","808678WgShwY","getAreaPreview","drawing","4wNyNYG","canvas","ScreenSpaceEventType","bindEnterFinishEvent","measureKeydownHandler","keydown","pointEntities","preview","map","key","trimDuplicatedTrailingPoints","emitUpdate","LEFT_DOUBLE_CLICK","bindAngleEvents","159728Avaybz","3753522SAsWXQ","area","909BAfFiM","hidePreviewCursor","updatePreviewLabel","activeMeasurement","push","endPosition","updatePreviewLineClampState","text","showPreviewCursor","angle","cloneCartesian","cancelScheduledMouseMoveWork","setInputAction","getLengthPreview","Cesium","dynamicSurfaceTypes","1627414jowNvV","position","5618925FqRdhS","scene","surfaceMode","371EPTRLx","points","RIGHT_CLICK","clearCurrent","LEFT_CLICK","dynamicPositions","scheduleSessionMouseMove","finalizeSession","surfaceType","Enter","addEventListener","pointSurfaceTypes","getPickedPosition","cancelled","window","slice","getPickedPositionFinal","type","106390RejhVj","length","height","ScreenSpaceEventHandler","getInstruction","POSITIVE_INFINITY","createPointEntity","preventDefault","handleResultCloseClick"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=297]})(t,e)}!function(){const t=pe,e=he();for(;;)try{if(589251==parseInt(t(349))/1+-parseInt(t(313))/2+parseInt(t(345))/3+-parseInt(t(352))/4*(parseInt(t(315))/5)+-parseInt(t(367))/6+parseInt(t(318))/7*(parseInt(t(366))/8)+-parseInt(t(297))/9*(-parseInt(t(336))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const de={bindEnterFinishEvent(t){const e=pe;"function"==typeof globalThis.window?.[e(328)]&&(this[e(356)]&&(globalThis[e(332)].removeEventListener(e(357),this[e(356)]),this[e(356)]=null),this[e(356)]=n=>{const i=e;n[i(361)]===i(327)&&t&&!t.cancelled&&this[i(300)]===t&&(t[i(319)][i(337)]<(t=>{const n=e;return t===n(337)?2:t===n(368)||t===n(306)?3:t===n(338)?2:Number[n(341)]})(t[i(335)])||(n[i(343)](),this[i(308)](),this[i(325)](t)))},globalThis[e(332)][e(328)](e(357),this[e(356)]))},bindEvents(t){const e=pe,n=this[e(311)];this[e(346)]=new(n[e(339)])(this.viewer[e(316)][e(353)]),this[e(355)](t),t[e(335)]!==e(306)?t[e(335)]!==e(338)?(this[e(346)][e(309)](async n=>{const i=e;if(this[i(308)](),this.handleResultCloseClick(n[i(314)]))return;const s=await this[i(334)](n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s.position;t[i(319)][i(301)](this[i(307)](r)),t.pointSurfaceTypes[i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t[i(312)]=t[i(329)].slice(),t[i(358)].push(this[i(342)](r)),this[i(303)](t);const o=t[i(335)]===i(337)?this[i(310)](t[i(319)],t.surfaceMode,t[i(329)]):this.getAreaPreview(t[i(319)]);this[i(299)](t,o[i(304)],o[i(314)]),this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)].length),formattedValue:o[i(304)]})},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t.points.length)return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[...t.points,this.cloneCartesian(r)],t.dynamicSurfaceTypes=[...t.pointSurfaceTypes,s.surfaceType],this[n(303)](t);const o=t[n(335)]===n(337)?this[n(310)](t[n(323)],t.surfaceMode,t[n(312)]):this[n(350)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t[n(335)],t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](async n=>{const i=e;this[i(308)]();const s=(await this[i(334)](n.position,t[i(317)]))?.[i(314)];if(t[i(331)]||this[i(300)]!==t)return;this[i(362)](t,s);const r=t[i(335)]===i(337)?2:3;t[i(319)][i(337)]<r||this.finalizeSession(t)},n[e(354)][e(364)])):this.bindHeightEvents(t):this[e(365)](t)},bindAngleEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this.cancelScheduledMouseMoveWork(),this[i(344)](n.position))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t.dynamicSurfaceTypes=t.pointSurfaceTypes[i(333)](),t[i(358)].push(this.createPointEntity(r)),this[i(303)](t),3!==t.points[i(337)]?this[i(363)](t,{phase:i(351),instruction:this.getInstruction(t.type,t[i(319)][i(337)]),formattedValue:2===t[i(319)][i(337)]?this[i(347)](t[i(319)]).text:""}):this[i(325)](t)},n[e(354)].LEFT_CLICK),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];if(this[n(305)](t,r),1===t.points[n(337)])return t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t),void this.updatePreviewLabel(t,"",null);t.dynamicPositions=[t[n(319)][0],t[n(319)][1],this.cloneCartesian(r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t);const o=this[n(347)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this.emitUpdate(t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o[n(304)]})})},n.ScreenSpaceEventType.MOUSE_MOVE),this.handler[e(309)](()=>{this[e(321)]()},n[e(354)].RIGHT_CLICK)},bindHeightEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this[i(308)](),this[i(344)](n[i(314)]))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t[i(331)]||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t.points.map(t=>this[i(307)](t)),t[i(312)]=t[i(329)][i(333)](),t[i(358)].push(this.createPointEntity(r)),this.updatePreviewLineClampState(t),2!==t[i(319)][i(337)]?this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)][i(337)]),formattedValue:""}):this[i(325)](t)},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:n(359)});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)].slice(),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t[n(329)],s[n(326)]],this[n(303)](t);const o=this.getHeightPreview(t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](()=>{this.clearCurrent()},n[e(354)][e(320)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=387]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(549665==-parseInt(t(400))/1+parseInt(t(413))/2+parseInt(t(407))/3*(-parseInt(t(417))/4)+parseInt(t(406))/5+-parseInt(t(394))/6*(-parseInt(t(405))/7)+parseInt(t(393))/8*(parseInt(t(409))/9)+-parseInt(t(397))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fe={async buildLengthResult(t,e,n=[]){const i=me,s=this[i(415)](e,n);let r=0,o=t[i(401)](t=>this[i(387)](t)),a=[];if(s[i(388)]===i(408)){const e=await this[i(395)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e[i(399)],a=e[i(396)],r=a[i(420)]((t,e)=>t+this[i(419)](e),0)}else s.surfaceType===i(410)?(a=t.slice(0,-1).map((e,n)=>[this[i(387)](e),this.cloneCartesian(t[n+1])]),r=this.calculateCartesianDistance(t)):(a=t[i(398)](0,-1)[i(401)]((e,n)=>[this[i(387)](e),this[i(387)](t[n+1])]),r=this[i(414)](t));return{type:i(411),title:this[i(403)](i(411),s[i(388)]),surfaceType:s[i(388)],surfaceLabel:s[i(412)],actualTerrain:s.actualTerrain,value:r,formattedValue:this.formatDistance(r),displayPositions:o,displaySegments:a,labelPosition:o[o.length-1]||t[t[i(411)]-1],pointCount:t[i(411)],points:t[i(401)](t=>this[i(389)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(411)]<2)return{text:"",position:null};const s=this[i(415)](e,n)[i(388)]===i(416)?this[i(414)](t):this[i(419)](t);return{text:this[i(402)](s),position:t[t[i(411)]-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(418)];if(t[e(411)]<2)return 0;const i=new(n[e(404)]);let s=0;for(let n=0;n<t[e(411)]-1;n+=1){const r=this[e(391)](t[n]),o=this.cartesianToCartographic(t[n+1]);i[e(390)](r,o),s+=Number.isFinite(i[e(392)])?i.surfaceDistance:0}return s}};function ge(){const t=["calculateSurfaceDistance","getMeasurementSurfaceInfo","ellipsoid","5956uxvlKl","Cesium","calculateCartesianDistance","reduce","cloneCartesian","surfaceType","serializePoint","setEndPoints","cartesianToCartographic","surfaceDistance","184YeHlTm","42WFSFbN","buildSampledPolyline","segments","9596350VppGCR","slice","flattenedPositions","962288gBWoXI","map","formatDistance","getMeasureTitle","EllipsoidGeodesic","664503yRayKL","2791855JsHQHT","228AOfXqt","terrain","128385LUqGik","scene","length","surfaceLabel","2067566WAbCJZ"];return(ge=function(){return t})()}function Ae(t,e){const n=Ce();return(Ae=function(t,e){return n[t-=388]})(t,e)}function Ce(){const t=["4494753eLSpRv","projectPointsOntoPlane","621708RTNUHi","triangulate","subtract","getCenterPosition","length","scene","actualTerrain","cloneCartesian","20eIzTMB","projectPointOntoEllipsoid","1oQqjJa","EPSILON10","globe","14fpnlUB","cartesianToCartographic","map","cross","getMeasurementSurfaceInfo","947632tksteM","EPSILON6","abs","center","EllipsoidTangentPlane","surfaceLabel","Math","surfaceType","28TnkPra","getMeasureTitle","768942SmOwKz","buildSampledPolyline","defined","BoundingSphere","Cesium","8792795tYbnyN","formatArea","1854927wRpnPB","calculatePolygonArea","area","Cartesian3","ellipsoid","PolygonPipeline","fromPoints","terrain","cartographicToCartesian","height","segments","calculateTriangleArea","375185sBSvTR"];return(Ce=function(){return t})()}!function(){const t=Ae,e=Ce();for(;;)try{if(505825==parseInt(t(434))/1*(-parseInt(t(424))/2)+-parseInt(t(409))/3+-parseInt(t(400))/4*(parseInt(t(421))/5)+-parseInt(t(402))/6*(parseInt(t(437))/7)+parseInt(t(392))/8+parseInt(t(422))/9+-parseInt(t(432))/10*(-parseInt(t(407))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ie={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(391)](e,n);let r=t[i(389)](t=>this[i(431)](t)),o=t[i(389)]((e,n)=>[this[i(431)](e),this[i(431)](t[(n+1)%t[i(428)]])]);if(s[i(399)]===i(416)){const e=await this[i(403)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e.flattenedPositions,o=e[i(419)]}const a=this[i(410)](r);return{type:i(411),title:this[i(401)](i(411),s.surfaceType),surfaceType:s[i(399)],surfaceLabel:s[i(397)],actualTerrain:s[i(430)],value:a,formattedValue:this[i(408)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(427)](r),pointCount:t[i(428)],points:t[i(389)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(428)]<3?{text:"",position:null}:{text:this[e(408)](this[e(410)](t)),position:this[e(427)](t)}},calculatePolygonArea(t){const e=Ae,n=this.Cesium;if(t.length<3)return 0;const i=n[e(396)].fromPoints(t,this.viewer[e(429)].globe[e(413)]).projectPointsOntoPlane(t);if(!i||i.length<3)return 0;const s=n[e(414)][e(425)](i);if(!s||s[e(428)]<3)return 0;let r=0;for(let n=0;n<s[e(428)];n+=3)r+=this[e(420)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(406)],r=s[i(412)][i(426)](e,t,new(s[i(412)])),o=s[i(412)].subtract(n,t,new(s[i(412)])),a=s[i(412)][i(390)](r,o,new(s[i(412)]));return.5*s[i(412)].magnitude(a)},getCenterPosition(t){const e=Ae,n=this[e(406)];if(0===t[e(428)])return null;if(t[e(428)]<3)return n[e(405)][e(415)](t).center;const i=n[e(396)].fromPoints(t,this.viewer[e(429)][e(436)][e(413)]),s=i[e(423)](t);if(!s||s[e(428)]<3)return n[e(405)][e(415)](t)[e(395)];let r=0,o=s[e(428)]-1;const a=new n.Cartesian2(0,0);for(let t=0;t<s[e(428)];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(394)](r)<n[e(398)][e(435)])return n[e(405)][e(415)](t)[e(395)];const u=1/(3*r);a.x*=u,a.y*=u;const c=i[e(433)](a);if(!n[e(404)](c))return n.BoundingSphere[e(415)](t)[e(395)];const l=t.reduce((t,n)=>{const i=e;return t+(this[i(388)](n)[i(418)]||0)},0)/t.length;if(Math.abs(l)<n[e(398)][e(393)])return c;const h=this[e(388)](c);return h[e(418)]=l,this[e(417)](h)}};function Me(t,e){const n=we();return(Me=function(t,e){return n[t-=470]})(t,e)}!function(){const t=Me,e=we();for(;;)try{if(280016==parseInt(t(492))/1*(parseInt(t(498))/2)+parseInt(t(483))/3+parseInt(t(488))/4*(-parseInt(t(482))/5)+-parseInt(t(491))/6+-parseInt(t(493))/7+parseInt(t(489))/8*(parseInt(t(499))/9)+parseInt(t(481))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const be={buildAngleResult(t,e,n=[]){const i=Me,s=this.getMeasurementSurfaceInfo(e,n),r=this[i(474)](t);return{type:i(495),title:this[i(484)]("angle",s.surfaceType),surfaceType:s[i(477)],surfaceLabel:s[i(471)],actualTerrain:s[i(476)],value:r,formattedValue:this[i(475)](r),displayPositions:t[i(470)](t=>this.cloneCartesian(t)),displaySegments:[[this[i(494)](t[0]),this[i(494)](t[1])],[this[i(494)](t[1]),this.cloneCartesian(t[2])]],labelPosition:t[1],pointCount:t[i(478)],points:t[i(470)](t=>this[i(490)](t))}},getAnglePreview(t){const e=Me;return t[e(478)]<3?{text:"",position:null}:{text:this[e(475)](this[e(474)](t)),position:t[1]}},calculateAngle(t){const e=Me,n=this[e(473)];if(t.length<3)return 0;const i=t[1],s=n.Cartesian3.normalize(n[e(485)][e(487)](t[0],i,new(n[e(485)])),new(n[e(485)])),r=n.Cartesian3[e(486)](n.Cartesian3[e(487)](t[2],i,new(n[e(485)])),new(n[e(485)])),o=n[e(472)][e(497)](n[e(485)][e(496)](s,r),-1,1);return n[e(472)][e(479)](Math[e(480)](o))}};function we(){const t=["angle","dot","clamp","4VGbhDZ","315OFvCni","map","surfaceLabel","Math","Cesium","calculateAngle","formatAngle","actualTerrain","surfaceType","length","toDegrees","acos","6230200bwFtzq","29005BbgtJf","640416JLSuzw","getMeasureTitle","Cartesian3","normalize","subtract","264eLefSZ","5032zXDZwf","serializePoint","1272384yXTQtk","276476zRmXoa","3755591SsNVoE","cloneCartesian"];return(we=function(){return t})()}function ve(){const t=["getMeasurementSurfaceInfo","Math","1049652vTAjNQ","latitude","36bfeUGk","3253430qsCqWC","formatDistance","getHeightDifferenceInfo","1341sOexWO","高差:","71298AdLhHt","height","cartographicToCartesian","234OAWhbH","cartesianToCartographic","isSamePosition","Cesium","60qCtjNs","positions","labelPosition","surfaceType","getMeasureTitle","midpoint","Cartesian3","abs","cloneCartesian","1458372GUbGmC","push","14056GoGrxo","190101VfLzWG","filter","EPSILON6","7CEdsZB","longitude","map","length","serializePoint","47nupAEG","3002769zwOevt","getMidpointPosition"];return(ve=function(){return t})()}function ye(t,e){const n=ve();return(ye=function(t,e){return n[t-=142]})(t,e)}!function(){const t=ye,e=ve();for(;;)try{if(895973==parseInt(t(172))/1*(parseInt(t(145))/2)+-parseInt(t(164))/3*(parseInt(t(179))/4)+-parseInt(t(180))/5+parseInt(t(161))/6*(parseInt(t(167))/7)+parseInt(t(163))/8*(parseInt(t(143))/9)+parseInt(t(152))/10*(-parseInt(t(173))/11)+parseInt(t(177))/12*(parseInt(t(148))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ee={buildHeightResult(t,e,n=[]){const i=ye,s=this[i(175)](e,n),r=this[i(160)](t[0]),o=this.cloneCartesian(t[1]),a=this.buildHeightGuideShape(r,o),{heightDifference:u}=this[i(142)](r,o);return{type:"height",title:this[i(156)]("height",s.surfaceType),surfaceType:s[i(155)],surfaceLabel:s.surfaceLabel,actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(181)](u),displayPositions:a[i(153)],displaySegments:a.segments,labelPosition:a[i(154)],pointCount:t[i(170)],points:t[i(169)](t=>this[i(171)](t))}},getHeightPreview(t){const e=ye;if(t[e(170)]<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(142)](t[0],t[1]);return{text:e(144)+this[e(181)](i),position:n[e(154)]}},getHeightDifferenceInfo(t,e){const n=ye,i=this[n(149)](t),s=this.cartesianToCartographic(e),r=i[n(146)]||0,o=s.height||0;return{heightDifference:Math[n(159)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=ye;return this[n(151)][n(158)][n(157)](t,e,new(this[n(151)][n(158)]))},buildHeightGuideShape(t,e){const n=ye,i=this[n(151)],s=this[n(149)](t),r=this[n(149)](e),o=[t,this[n(147)]({longitude:r[n(168)],latitude:r[n(178)],height:s[n(146)]||0}),e][n(165)]((t,e,s)=>{const r=n;return 0===e||!this[r(150)](t,s[e-1],i[r(176)][r(166)])}),a=[];for(let t=0;t<o[n(170)]-1;t+=1)a[n(162)]([this[n(160)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(170)]>=3?this[n(174)](o[1],o[2]):this[n(174)](o[0],o[o[n(170)]-1]);return{positions:o[n(169)](t=>this[n(160)](t)),segments:a,labelPosition:u}}};function Re(t,e){const n=Te();return(Re=function(t,e){return n[t-=250]})(t,e)}!function(){const t=Re,e=Te();for(;;)try{if(553099==parseInt(t(300))/1+parseInt(t(297))/2*(parseInt(t(266))/3)+-parseInt(t(255))/4+-parseInt(t(289))/5*(-parseInt(t(262))/6)+-parseInt(t(310))/7+parseInt(t(268))/8*(-parseInt(t(295))/9)+-parseInt(t(296))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne={createPreviewEntities(t){const e=Re,n=this[e(279)],i=this[e(313)](t[e(306)]),s="height"===t[e(306)],r=void 0!==globalThis.document&&this[e(286)](t[e(306)]),o=this[e(307)](t[e(306)],i[e(260)]),a=this[e(307)](t[e(306)],i[e(260)],{depthFail:!0}),u=this[e(275)].entities[e(284)]({polyline:{positions:new(n[e(314)])(()=>this[e(294)](t[e(306)],this.getDynamicLinePositions(t),this.getSessionPreviewSurfaceInfo(t)[e(263)]),!1),width:4,clampToGround:this[e(253)](t[e(306)],this[e(298)](t)[e(263)]),material:o,depthFailMaterial:a}}),c=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],point:{pixelSize:10,color:i[e(276)],outlineColor:n[e(281)][e(274)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),l=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],label:{text:"",font:this[e(303)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(281)][e(274)],style:n[e(273)][e(311)],eyeOffset:this[e(259)],pixelOffset:s?new(n[e(271)])(-20,-8):this[e(258)],horizontalOrigin:s?n.HorizontalOrigin.RIGHT:n[e(272)][e(288)],verticalOrigin:s?n[e(312)][e(288)]:n.VerticalOrigin[e(308)],disableDepthTestDistance:Number[e(299)]},show:!1});t[e(264)]=u,t[e(293)]=c,t[e(291)]=l,r&&(u[e(280)]=!1),t[e(292)].push(u,c,l)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(291)])return t.surfaceMode===i(290)?(t[i(291)][i(280)]=!1,void(t.previewLabelEntity[i(301)][i(278)]="")):e&&n?(t[i(291)][i(269)]=n,t[i(291)].label[i(278)]=e,void(t[i(291)][i(280)]=!0)):(t[i(291)].show=!1,void(t.previewLabelEntity[i(301)][i(278)]=""))},showPreviewCursor(t,e){const n=Re;t[n(293)]&&(t[n(293)][n(269)]=e,t[n(293)][n(280)]=!0)},hidePreviewCursor(t){const e=Re;t[e(293)]&&(t[e(293)][e(280)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t.points[n(282)]<2)){for(;t[n(257)][n(282)]>=2;){const i=t[n(257)][t[n(257)].length-1],s=t[n(257)][t[n(257)][n(282)]-2];if(!this[n(309)](i,e)||!this[n(309)](s,e))break;t[n(257)][n(254)](),t[n(305)][n(254)]();const r=t[n(285)].pop();this[n(250)](r?[r]:[])}t[n(283)]=t[n(257)][n(265)](t=>this[n(287)](t)),t[n(302)]=t[n(305)].slice(),this[n(277)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(283)][e(282)]?t[e(306)]===e(267)&&t.dynamicPositions.length>1?this[e(251)](t[e(283)][0],t[e(283)][1])[e(270)]:t[e(306)]===e(261)&&t.dynamicPositions[e(282)]>1?[...t.dynamicPositions,t[e(283)][0]]:t[e(283)]:[]}};function Te(){const t=["dynamicSurfaceTypes","resultLabelFont","Cartesian3","pointSurfaceTypes","type","createLineMaterial","BOTTOM","isSamePosition","4881352FqLgTK","FILL","VerticalOrigin","getColorByType","CallbackProperty","removeEntities","buildHeightGuideShape","entities","shouldClampLineToGround","pop","2082992znKwIo","ZERO","points","resultLabelPixelOffset","labelEyeOffset","line","area","296766QeVIUB","surfaceType","previewLineEntity","map","15SujCEP","height","5810144MtoYui","position","positions","Cartesian2","HorizontalOrigin","LabelStyle","WHITE","viewer","point","updatePreviewLineClampState","text","Cesium","show","Color","length","dynamicPositions","add","pointEntities","shouldRenderLineViaOverlay","cloneCartesian","CENTER","70MnDpxq","auto","previewLabelEntity","previewEntities","previewPointEntity","getRenderableLinePositions","9PjGQVH","2217980eXNqZn","388982oIUFSY","getSessionPreviewSurfaceInfo","POSITIVE_INFINITY","1054340CpTtIa","label"];return(Te=function(){return t})()}function Se(t,e){const n=Le();return(Se=function(t,e){return n[t-=373]})(t,e)}function Le(){const t=["displaySegments","getValue","resultLabelCloseGap","isCloseButtonHit","left","updateCloseButtonHover","MOUSE_MOVE","devicePixelRatio","resultGroups","resultLabelPaddingBottom","applyCursorStyle","measureText","displayPositions","some","map","resultInteractionHandler","resultLabelPaddingTop","image/png","width","canvas","splice","Cesium","document","POSITIVE_INFINITY","toDataURL","lineTo","setInputAction","labelEyeOffset","createClosableLabelGraphic","wgs84ToWindowCoordinates","title","545072lUWXXx","textAlign","font","angle","shouldRenderLineViaOverlay","height","setCloseButtonHover","CENTER","resultLabelCloseSize","forEach","VerticalOrigin","terrain","area","hasClosableResults","length","closeRect","viewer","max","createElement","#ffffff","measureHasCloseButton","Cartesian3","fillStyle","background","surfaceType","ScreenSpaceEventHandler","measureGroupId","split","horizontal","clock","rgba(255, 255, 255, 0.16)","middle","findIndex","image","ScreenSpaceEventType","measurePixelOffset","result","createPointEntity","window","612VDYtev","removeResultGroup","push","getRenderableLinePositions","Cartesian2","WHITE","rgba(15, 23, 42, 0.92)","resultLabelFont","createResultLabelEntity","currentTime","2657106HuyjmR","activeMeasurement","LabelStyle","FILL","drawRoundedRect","defined","measureBillboardOrigin","145265lpsdNQ","HorizontalOrigin","createLineMaterial","scene","resultLabelPaddingX","measureBillboardSize","labelPosition","getCloseButtonEntityAt","notify","undefined","removeEntities","isHoveringCloseButton","function","type","entities","position","shouldClampLineToGround","8RoEPrw","216NfuvrC","fillText","#fde68a","1095533iDISLc","find","BOTTOM","fromCssColorString","line","resultLabelPixelOffset","handleResultCloseClick","scale","points","includes","fill","moveTo","LEFT_CLICK","Color","textBaseline","getEntityBillboardBounds","1795242SJsMml","1141406VyVkJw","RIGHT","callbacks","resultLabelLineHeight","getColorByType","measureCloseRect","refreshForegroundLineOverlayState","formattedValue","normalize","add","ceil"];return(Le=function(){return t})()}!function(){const t=Se,e=Le();for(;;)try{if(734698==-parseInt(t(492))/1+-parseInt(t(415))/2+parseInt(t(508))/3+parseInt(t(454))/4+-parseInt(t(471))/5*(-parseInt(t(489))/6)+parseInt(t(373))/7+parseInt(t(488))/8*(parseInt(t(464))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Pe={commitResult(t,e){const n=Se,i=this.Cesium,s=this[n(377)](t.type),r=[],o=typeof globalThis.document!==n(480)&&this[n(419)](t[n(484)]),a=this[n(473)](t[n(484)],s.line),u=this[n(473)](t[n(484)],s[n(496)],{depthFail:!0});if(t[n(484)]===n(427)){const t=e.surfaceType!==n(426)?e[n(396)][n(398)](t=>{const e=n,s=i[e(436)][e(381)](t,new(i[e(436)]));return i.Cartesian3[e(382)](t,i[e(436)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(436)]))}):e.displayPositions;r[n(456)](this[n(431)][n(485)][n(382)]({polygon:{hierarchy:t,material:s[n(502)],perPositionHeight:e[n(439)]!==n(426),classificationType:"terrain"===e.surfaceType?i.ClassificationType.TERRAIN:void 0,zIndex:e[n(439)]===n(426)?1:void 0}}))}if(!o){const s=e[n(384)]&&e[n(384)].length>0?e[n(384)]:["area"===t[n(484)]?[...e[n(396)],e.displayPositions[0]]:e.displayPositions];r[n(456)](...s.map(s=>this[n(431)][n(485)][n(382)]({polyline:{positions:new i.CallbackProperty(()=>this[n(457)](t[n(484)],s,e.surfaceType,{clipPoints:!0}),!1),width:4,clampToGround:this[n(487)](t[n(484)],e[n(439)]),material:a,depthFailMaterial:u}})))}return r[n(456)](...t[n(500)].map(t=>this[n(452)](t))),r[n(456)](this[n(462)](t,e,s)),r},createResultLabelEntity(t,e,n){const i=Se,s=this[i(405)],r=e[i(414)]+"\n"+e[i(380)],o=t.type===i(420);if(![i(429),"area",i(418),"height"][i(501)](t.type))return this.viewer.entities[i(382)]({position:e[i(477)],label:{text:r,font:this.resultLabelFont,showBackground:!0,backgroundColor:n.background,fillColor:s.Color[i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)][i(422)],verticalOrigin:s[i(425)].BOTTOM,disableDepthTestDistance:Number[i(407)]}});if(!globalThis[i(406)])return o?this[i(431)][i(485)].add({position:e[i(477)],label:{text:"高差:"+e[i(380)],font:"28px sans-serif",showBackground:!1,fillColor:s[i(505)][i(495)](i(491)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(505)][i(459)],outlineWidth:4,eyeOffset:this[i(411)],pixelOffset:new(s[i(458)])(-20,-8),horizontalOrigin:s.HorizontalOrigin.RIGHT,verticalOrigin:s[i(425)][i(422)],disableDepthTestDistance:Number[i(407)]}}):this[i(431)].entities.add({position:e[i(477)],label:{text:r,font:this[i(461)],showBackground:!0,backgroundColor:n[i(438)],fillColor:s[i(505)][i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)].CENTER,verticalOrigin:s.VerticalOrigin[i(494)],disableDepthTestDistance:Number[i(407)]}});const a=this[i(412)](o?"高差:"+e.formattedValue:r,n.background),u=o?new(s[i(458)])(-20,-8):this[i(497)],c=o?s[i(472)][i(374)]:s[i(472)].CENTER,l=o?s[i(425)][i(422)]:s[i(425)][i(494)],h=this[i(431)][i(485)][i(382)]({position:e.labelPosition,billboard:{image:a[i(448)],width:a.width,height:a[i(420)],horizontalOrigin:c,verticalOrigin:l,eyeOffset:this.labelEyeOffset,pixelOffset:u,disableDepthTestDistance:Number[i(407)]}});return h[i(441)]=t.id,h[i(435)]=!0,h[i(378)]=a[i(430)],h[i(476)]={width:a[i(402)],height:a[i(420)]},h[i(470)]={horizontal:c,vertical:l},h[i(450)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Se,i=t[n(442)]("\n").filter(t=>""!==t),s=i[n(429)]>0?i:[""],r=document[n(433)](n(403)),o=r.getContext("2d"),a=Math[n(432)](...s[n(398)](t=>{const e=n;return o.font=this.resultLabelFont,o[e(395)](t)[e(402)]})),u=Math[n(383)](2*this.resultLabelPaddingX+a+this[n(386)]+this[n(423)]),c=Math[n(383)](this[n(400)]+s.length*this[n(376)]+this[n(393)]),l=globalThis[n(453)]?.[n(391)]||1;r[n(402)]=Math[n(383)](u*l),r[n(420)]=Math.ceil(c*l),o[n(499)](l,l),o[n(417)]=this[n(461)],o[n(416)]="left",o[n(506)]=n(446),this[n(468)](o,0,0,u,c,10),o.fillStyle=e?.toCssColorString?.()||n(460),o[n(502)]();const h={x:u-this[n(475)]-this[n(423)],y:8,width:this[n(423)],height:this.resultLabelCloseSize};return this[n(468)](o,h.x,h.y,h[n(402)],h[n(420)],6),o.fillStyle=n(445),o[n(502)](),o.beginPath(),o.strokeStyle="rgba(255, 255, 255, 0.96)",o.lineWidth=1.6,o[n(503)](h.x+5,h.y+5),o[n(409)](h.x+h.width-5,h.y+h[n(420)]-5),o[n(503)](h.x+h[n(402)]-5,h.y+5),o[n(409)](h.x+5,h.y+h[n(420)]-5),o.stroke(),o[n(437)]=n(434),s[n(424)]((t,e)=>{const i=n,s=this[i(400)]+(e+.5)*this[i(376)];o[i(490)](t,this.resultLabelPaddingX,s)}),{image:r[n(408)](n(401)),width:u,height:c,closeRect:h}},initResultInteractionHandler(){const t=Se,e=this[t(405)];this[t(399)]=new(e[t(440)])(this.viewer[t(474)][t(403)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()?this[n(389)](e.endPosition):this.setCloseButtonHover(!1)},e[t(449)][t(390)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()&&(this[n(465)]||this[n(498)](e.position))},e.ScreenSpaceEventType[t(504)])},handleResultCloseClick(t){const e=Se,n=this[e(478)](t);if(!n||!n[e(435)])return!1;const i=this[e(455)](n[e(441)]);return i&&this[e(421)](!1),i},updateCloseButtonHover(t){const e=Se,n=this[e(478)](t),i=Boolean(n&&n[e(435)]);this[e(421)](i)},setCloseButtonHover(t){const e=Se;this.isHoveringCloseButton!==t&&(this[e(482)]=t,this[e(394)]())},hasClosableResults(){const t=Se;return this[t(392)][t(397)](e=>["length","area",t(418),"height"][t(501)](e?.[t(451)]?.[t(484)]))},getCloseButtonEntityAt(t){const e=Se;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(485)]?.[e(493)](t=>t?.[e(435)]);if(i&&this[e(387)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Se,i=this[n(507)](t),s=t[n(378)];if(!i||!s)return!1;const r=e.x-i[n(388)],o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(402)]&&o>=s.y&&o<=s.y+s[n(420)]},getEntityBillboardBounds(t){const e=Se,n=this[e(405)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(413)](this[e(431)][e(474)],i);if(!n[e(469)](s))return null;const r=t.measureBillboardSize,o=t[e(450)]||{x:0,y:0},a=t[e(470)]||{horizontal:n[e(472)][e(422)],vertical:n.VerticalOrigin[e(494)]};let u=s.x+o.x;a.horizontal===n[e(472)].CENTER?u-=r[e(402)]/2:a[e(443)]===n.HorizontalOrigin[e(374)]&&(u-=r[e(402)]);let c=s.y+o.y;return a.vertical===n[e(425)][e(422)]?c-=r[e(420)]/2:a.vertical===n[e(425)][e(494)]&&(c-=r[e(420)]),{left:u,top:c,width:r[e(402)],height:r[e(420)]}},getEntityPosition(t){const e=Se;return t?.[e(486)]?"function"==typeof t[e(486)].getValue?t.position[e(385)](this[e(431)][e(444)][e(463)]):t[e(486)]:null},removeResultGroup(t,e={}){const n=Se,i=this[n(392)][n(447)](e=>e.id===t);if(-1===i)return!1;const[s]=this.resultGroups[n(404)](i,1);return this[n(481)](s[n(485)]),!1!==e[n(479)]&&typeof s[n(375)]?.onRemove===n(483)&&s[n(375)].onRemove(s[n(451)]),this[n(379)](),!0}},De=ke;function ke(t,e){const n=Be();return(ke=function(t,e){return n[t-=125]})(t,e)}function Be(){const t=["scene","reverse","ellipsoid","drawingBufferWidth","1174134CSQjYI","map","height","cartographicToCartesian","min","POSITIVE_INFINITY","fromCssColorString","944075hZOWZY","</svg>","#22c55e",'" cy="',"#f43f5e","#fb923c","shouldLiftLineAboveSurface","data:image/svg+xml;charset=utf-8,","#9a3412","PolylineOutlineMaterialProperty","4315650yYsoAE","cloneCartesian","trimPolylineFromStart","HorizontalOrigin","angle","lineTo","withAlpha","entities","add","Cartesian3","#0ea5e9","#0369a1","EPSILON7","CENTER","slice","depthFail","VerticalOrigin","moveTo","WHITE","drawingBufferHeight","Math","3567952mClhrp","359752VRhJVO","Color","#9f1239",'" viewBox="0 0 ',"isFinite","Cesium","distance","BoundingSphere","2826246YHMZzu","cartesianToCartographic","quadraticCurveTo","#4ade80","length","context",'<svg xmlns="http://www.w3.org/2000/svg" width="',"#38bdf8","pointMarkerImage","camera","pointMarkerSize","11731657OVuwyI","lerp","viewer","getPointClippedSegmentPositions","area","liftLinePositionsAboveSurface","#e11d48",'" r="',"clipPoints"];return(Be=function(){return t})()}!function(){const t=ke,e=Be();for(;;)try{if(501195==-parseInt(t(150))/1+-parseInt(t(182))/2+parseInt(t(143))/3+parseInt(t(181))/4+-parseInt(t(160))/5+-parseInt(t(190))/6+parseInt(t(130))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Oe={getPointClippedSegmentPositions(t){const e=ke;if(!t||t[e(194)]<2)return t||[];const n=this.calculateCartesianDistance(t);if(n<=this[e(187)][e(180)][e(172)])return t;const i=this.getPointClipWorldDistance(t[0]),s=this.getPointClipWorldDistance(t[t[e(194)]-1]),r=n-.05;if(r<=0)return[];const o=Math[e(147)](i,.5*r),a=Math[e(147)](s,.5*r),u=this[e(162)](t,o);return u.length<2?[]:this.trimPolylineFromEnd(u,a)},getRenderableLinePositions(t,e,n=De(141),i={}){const s=De;if(!Array.isArray(e)||0===e.length)return[];const r=this[s(156)](t,n)?this[s(135)](e):e[s(144)](t=>this[s(161)](t));return i[s(138)]?this[s(133)](r):r},shouldLiftLineAboveSurface:(t,e=De(141))=>!1,liftLinePositionsAboveSurface(t,e=1.5){return t[De(144)](t=>this.liftPositionAboveSurface(t,e))},liftPositionAboveSurface(t,e=1.5){const n=De,i=this[n(191)](t);return i?(i[n(145)]=(i.height||0)+e,this[n(146)](i)):this[n(161)](t)},getPointClipWorldDistance(t){const e=De,n=this[e(187)],i=this.viewer[e(139)][e(195)],s=new(n[e(189)])(t,1),r=this[e(132)][e(128)].getPixelSize(s,i[e(142)],i[e(179)]);return!Number[e(186)](r)||r<=0?0:r*this.pointClipPixelRadius},trimPolylineFromStart(t,e){const n=De,i=this[n(187)];if(e<=0)return t[n(144)](t=>this[n(161)](t));let s=e;for(let e=0;e<t[n(194)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(169)][n(188)](r,o);if(s<a){const u=s/a;return[i[n(169)][n(131)](r,o,u,new(i[n(169)])),...t[n(174)](e+1)[n(144)](t=>this.cloneCartesian(t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=De;if(e<=0)return t[n(144)](t=>this[n(161)](t));const i=t[n(174)]().reverse();return this.trimPolylineFromStart(i,e)[n(140)]()},shouldClampLineToGround(t,e="ellipsoid"){const n=De;return("length"===t||t===n(134))&&e!==n(139)},createPointEntity(t){const e=De,n=this[e(187)];return this[e(132)][e(167)][e(168)]({position:t,billboard:{image:this[e(127)],width:this[e(129)],height:this[e(129)],horizontalOrigin:n[e(163)][e(173)],verticalOrigin:n[e(176)].CENTER,disableDepthTestDistance:Number[e(148)],eyeOffset:new n.Cartesian3(0,0,-8)}})},createPointMarkerImage(){const t=De,e=this[t(129)],n=e/2,i=[t(125)+e+'" height="'+e+t(185)+e+" "+e+'">','<circle cx="'+n+t(153)+n+t(137)+'7" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',t(151)].join("");return t(157)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=De,a=Math[o(147)](r,i/2,s/2);t.beginPath(),t[o(177)](e+a,n),t.lineTo(e+i-a,n),t[o(192)](e+i,n,e+i,n+a),t[o(165)](e+i,n+s-a),t.quadraticCurveTo(e+i,n+s,e+i-a,n+s),t[o(165)](e+a,n+s),t[o(192)](e,n+s,e,n+s-a),t[o(165)](e,n+a),t[o(192)](e,n,e+a,n),t.closePath()},getColorByType(t){const e=De,n=this[e(187)];return{length:{line:n.Color[e(149)](e(126)),point:n.Color[e(149)](e(170)),fill:n[e(183)].fromCssColorString("#38bdf8")[e(166)](.18),background:n.Color[e(149)](e(171))[e(166)](.88)},area:{line:n.Color[e(149)](e(155)),point:n[e(183)][e(149)]("#f97316"),fill:n[e(183)][e(149)](e(155))[e(166)](.28),background:n[e(183)][e(149)](e(158))[e(166)](.88)},angle:{line:n[e(183)][e(149)](e(193)),point:n[e(183)][e(149)](e(152)),fill:n[e(183)][e(149)](e(193))[e(166)](.18),background:n[e(183)][e(149)]("#166534")[e(166)](.88)},height:{line:n[e(183)][e(149)](e(154)),point:n[e(183)][e(149)](e(136)),fill:n[e(183)].fromCssColorString(e(154))[e(166)](.18),background:n[e(183)].fromCssColorString(e(184))[e(166)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=De;if(![i(145),i(164)].includes(t))return e;const s=this[i(187)];return new(s[i(159)])({color:e,outlineColor:s[i(183)][i(178)].withAlpha(n[i(175)]?.96:.82),outlineWidth:n[i(175)]?2:1})}};function Ge(){const t=["zIndex","type","533212ygGFMJ","label","pixelOffset","ceil","rgba(255, 255, 255, 0.94)","drawForegroundLinePath","max","currentTime","activeMeasurement","isFinite","absolute","verticalOrigin","stroke","length","Cesium","collectForegroundLinePaths","map","displaySegments","round","lineTo","getDynamicLinePositions","getEntityPosition","undefined","clearRect","true","syncForegroundLineOverlaySize","getColorByType","reduce","foregroundLineCanvas","match","getContext","24nApwPf","inset","buildOverlayMaskRect","position","toCssColorString","14px sans-serif","radius","removeEventListener","estimateLabelMaskSize","HorizontalOrigin","result","foregroundLineOverlayBound","isArray","show","shouldUseForegroundLineOverlay","billboard","container","punchForegroundLabelMasks","wgs84ToWindowCoordinates","includes","beginPath","1964320IZcOTu","addEventListener","destination-out","getValue","fill","BOTTOM","buildForegroundPathsByType","appendChild","entities","VerticalOrigin","foregroundLineContext","scene","initForegroundLineOverlay","1599315jVmVTT","measureHasCloseButton","previewLabelEntity","measureBillboardOrigin","CENTER","aria-hidden","canvas","3240288KtcPGc","measurePixelOffset","foregroundLineOverlayActive","#000000","horizontal","removeChild","9HPmdrd","measureBillboardSize","horizontalOrigin","none","find","clientWidth","1tbShox","display","clientHeight","width","defined","postRender","projectCartesianToOverlay","push","fillStyle","drawRoundedRect","devicePixelRatio","paddingY","isPreview","542717FBlsHB","style","top","save","resultGroups","resultLabelFont","viewer","parentNode","area","font","displayPositions","strokeStyle","getForegroundOverlayLineTypes","moveTo","getPointClippedSegmentPositions","restore","setTransform","some","left","7211420vTfDEY","shouldRenderLineViaOverlay","lineJoin","746178hOLGnB","resolveGraphicDynamicValue","forEach","height","cloneCartesian","split"];return(Ge=function(){return t})()}function xe(t,e){const n=Ge();return(xe=function(t,e){return n[t-=167]})(t,e)}!function(){const t=xe,e=Ge();for(;;)try{if(564647==-parseInt(t(229))/1*(-parseInt(t(264))/2)+parseInt(t(176))/3*(-parseInt(t(272))/4)+parseInt(t(210))/5+parseInt(t(217))/6+-parseInt(t(242))/7+-parseInt(t(197))/8+parseInt(t(223))/9*(parseInt(t(261))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ze={initForegroundLineOverlay(){const t=xe;if(typeof document!==t(167)&&this[t(248)].container&&!this[t(219)]){if(!this[t(173)]||!this[t(207)]){const e=document.createElement("canvas");e.setAttribute(t(215),t(169)),e[t(243)][t(179)]=t(282),e[t(243)][t(177)]="0",e.style.pointerEvents=t(226),e.style[t(270)]="10",e[t(243)][t(230)]="none",this[t(248)][t(192)][t(204)](e),this[t(173)]=e,this[t(207)]=e[t(175)]("2d")}this[t(248)][t(208)][t(234)][t(198)](this[t(187)]),this[t(219)]=!0,this[t(170)]()}},destroyForegroundLineOverlay(){const t=xe;this[t(219)]&&this[t(248)]?.[t(208)]?.[t(234)]&&this[t(187)]&&this[t(248)][t(208)].postRender[t(183)](this[t(187)]),this[t(173)]?.[t(249)]&&this[t(173)][t(249)][t(222)](this[t(173)]),this[t(173)]=null,this.foregroundLineContext=null,this.foregroundLineOverlayActive=!1},getForegroundOverlayLineTypes(){const t=xe;return[t(285),t(250),"angle","height"]},shouldRenderLineViaOverlay(t){const e=xe;return this[e(254)]()[e(195)](t)},refreshForegroundLineOverlayState(){const t=xe;this[t(190)]()?this[t(209)]():this.destroyForegroundLineOverlay()},shouldUseForegroundLineOverlay(){const t=xe;return!!this[t(262)](this[t(280)]?.[t(271)])||this[t(246)][t(259)](e=>this[t(262)](e?.[t(186)]?.[t(271)]))},syncForegroundLineOverlaySize(){const t=xe,e=this[t(173)],n=this.foregroundLineContext,i=this.viewer[t(192)];if(!e||!n||!i)return null;const s=Math[t(278)](1,Math.round(i[t(228)]||this[t(248)][t(216)][t(228)]||1)),r=Math[t(278)](1,Math[t(290)](i[t(231)]||this[t(248)][t(216)][t(231)]||1)),o=globalThis[t(239)]||1,a=Math[t(278)](1,Math[t(290)](s*o)),u=Math[t(278)](1,Math.round(r*o));return(e[t(232)]!==a||e[t(267)]!==u)&&(e[t(232)]=a,e[t(267)]=u,e.style.width=s+"px",e.style[t(267)]=r+"px"),n[t(258)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=xe,e=[],n=this.getForegroundOverlayLineTypes();return n[t(195)](this[t(280)]?.[t(271)])&&this.activeMeasurement.dynamicPositions[t(285)]>1&&e[t(236)](...this[t(203)](this.activeMeasurement[t(271)],this[t(292)](this.activeMeasurement))),this[t(246)][t(266)](i=>{const s=t;i?.[s(186)]&&n[s(195)](i.result[s(271)])&&e[s(236)](...this[s(203)](i[s(186)][s(271)],i[s(186)][s(252)],i[s(186)][s(289)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=xe,s=this[i(171)](t)?.line;return s?(t===i(267)?[this[i(256)](e)]:n&&n[i(285)]>0?n.map(t=>this.getPointClippedSegmentPositions(t)):this.buildLineSegmentsFromPositions(e)[i(288)](t=>this[i(256)](t))).filter(t=>Array.isArray(t)&&t[i(285)]>1)[i(288)](t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=xe,n=[];for(let i=0;i<t[e(285)]-1;i+=1)n[e(236)]([this[e(268)](t[i]),this[e(268)](t[i+1])]);return n},renderForegroundLineOverlay(){const t=xe,e=this[t(173)],n=this[t(207)];if(!e||!n)return;const i=this[t(170)]();if(!i)return;const s=this[t(287)]();if(e[t(243)][t(230)]=s[t(285)]>0?"block":t(226),n[t(168)](0,0,i[t(232)],i[t(267)]),0===s[t(285)])return;s.forEach(e=>{const i=t;this[i(277)](n,e.positions,e.color,e[i(232)])});const r=this.collectForegroundLabelMasks();this[t(193)](n,r)},drawForegroundLinePath(t,e,n,i=4){const s=xe,r=[];let o=[];e[s(266)](t=>{const e=s,n=this[e(235)](t);if(!n)return o[e(285)]>1&&r[e(236)](o),void(o=[]);o[e(236)](n)}),o[s(285)]>1&&r[s(236)](o),0!==r[s(285)]&&(t[s(245)](),t[s(263)]=s(290),t.lineCap=s(290),r.forEach(e=>{const r=s;t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=r(276),t.lineWidth=i+3,t.stroke(),t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=n[r(180)](),t.lineWidth=i,t[r(284)]()}),t[s(257)]())},collectForegroundLabelMasks(){const t=xe,e=[],n=(t,n={})=>{const i=this.getForegroundLabelMask(t,n);i&&e.push(i)};return this[t(280)]?.[t(212)]?.[t(189)]&&n(this[t(280)][t(212)],{isPreview:!0}),this[t(246)][t(266)](e=>{const i=t;if(!e?.entities||0===e[i(205)].length)return;const s=e[i(205)][i(227)](t=>t?.[i(211)]||t?.[i(273)]);s&&!1!==s[i(189)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=xe,i=this.Cesium;if(!t||!1===t[n(189)])return null;const s=this[n(293)](t),r=this[n(235)](s);if(!r)return null;let o=e[n(241)]?112:124,a=e[n(241)]?34:38,u=i[n(185)][n(214)],c=i.VerticalOrigin[n(202)],l={x:0,y:0};if(t[n(211)]&&t.measureBillboardSize)o=t[n(224)][n(232)],a=t[n(224)][n(267)],u=t[n(213)]?.[n(221)]??i[n(185)].CENTER,c=t[n(213)]?.vertical??i[n(206)][n(202)],l=t[n(218)]||l;else if(t[n(191)]){const e=t.billboard;o=Number(this[n(265)](e[n(232)],o))||o,a=Number(this[n(265)](e[n(267)],a))||a,u=this[n(265)](e.horizontalOrigin,u),c=this[n(265)](e[n(283)],c);const i=this[n(265)](e[n(274)],null);i&&(l={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(273)],s=String(this.resolveGraphicDynamicValue(i.text,"")),r=String(this[n(265)](i[n(251)],this[n(247)]||n(181))),h=this[n(184)](s,r,e[n(241)]);o=h[n(232)],a=h[n(267)],u=this[n(265)](i[n(225)],u),c=this[n(265)](i[n(283)],c);const p=this[n(265)](i.pixelOffset,null);p&&(l={x:p.x||0,y:p.y||0})}}return this[n(178)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:c,pixelOffset:l,paddingX:e[n(241)]?8:10,paddingY:e[n(241)]?6:8,radius:e[n(241)]?10:12})},resolveGraphicDynamicValue(t,e){const n=xe;return t&&"function"==typeof t[n(200)]?t[n(200)](this[n(248)].clock[n(279)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=xe,s=String(t||"")[i(269)]("\n"),r=s[i(172)]((t,e)=>Math[i(278)](t,e[i(285)]),0),o=String(e||"")[i(174)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(278)](n?96:112,Math[i(275)](r*a*.64+(n?20:26))),height:Math[i(278)](n?30:34,Math[i(275)](s[i(285)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=xe,i=this.Cesium,s=Math[n(278)](1,Number(e.width)||1),r=Math[n(278)](1,Number(e[n(267)])||1),o=Number(e[n(274)]?.x)||0,a=Number(e[n(274)]?.y)||0;let u=t.x+o;e[n(225)]===i.HorizontalOrigin.CENTER?u-=s/2:e.horizontalOrigin===i[n(185)].RIGHT&&(u-=s);let c=t.y+a;e[n(283)]===i[n(206)][n(214)]?c-=r/2:e[n(283)]===i[n(206)][n(202)]&&(c-=r);const l=Number(e.paddingX)||0,h=Number(e[n(240)])||0;return{left:u-l,top:c-h,width:s+2*l,height:r+2*h,radius:Number(e[n(182)])||10}},punchForegroundLabelMasks(t,e){const n=xe;Array[n(188)](e)&&0!==e.length&&(t[n(245)](),t.globalCompositeOperation=n(199),t[n(237)]=n(220),e[n(266)](e=>{const i=n;!e||e.width<=0||e[i(267)]<=0||(this[i(238)](t,e[i(260)],e[i(244)],e.width,e[i(267)],e[i(182)]),t[i(201)]())}),t[n(257)]())},projectCartesianToOverlay(t){const e=xe,n=this[e(286)];if(!t)return null;const i=n.SceneTransforms[e(194)](this[e(248)][e(208)],t);return n[e(233)](i)&&Number.isFinite(i.x)&&Number[e(281)](i.y)?{x:i.x,y:i.y}:null}},Ze=Ye;function Ye(t,e){const n=je();return(Ye=function(t,e){return n[t-=423]})(t,e)}!function(){const t=Ye,e=je();for(;;)try{if(374154==parseInt(t(432))/1+-parseInt(t(478))/2+parseInt(t(447))/3+parseInt(t(523))/4+parseInt(t(423))/5+parseInt(t(465))/6+parseInt(t(509))/7*(-parseInt(t(529))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fe={getPickedPosition(t,e=Ze(463),n={}){const i=Ze,s=this[i(464)];if(!t)return null;const r=n?.[i(460)]===i(480)?i(480):i(482),o=e!==i(463),a=r===i(482)&&o,u=r===i(480)&&o,c=this[i(472)].scene,l=()=>{const e=i;if(!c.pickPositionSupported)return null;const n=this[e(493)](()=>{const n=e;c.render();const i=c.pick(t);if(!this[n(435)](i))return null;const r=c[n(506)](t);return s.defined(r)?r:null});return s.defined(n)?{position:n,surfaceType:e(450)}:null},h=()=>{const e=i;if("function"!=typeof c[e(468)])return null;const n=this[e(472)].camera[e(462)](t);if(!s.defined(n))return null;const r=this[e(493)](()=>{const t=e;c.render();const i=c[t(468)](n);return i&&this[t(435)](i.object)&&s[t(473)](i[t(429)])?i[t(429)]:null});return s[e(473)](r)?{position:r,surfaceType:e(450)}:null},p=()=>(r===i(480)||a)&&h()||l(),d=()=>{const e=i;if(!this[e(528)]())return null;const n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;const r=c[e(424)].pick(n,c);return s[e(473)](r)?{position:r,surfaceType:e(430)}:null},m=()=>{const e=i,n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;if(!s[e(445)]||typeof s[e(445)][e(425)]!==e(501))return null;const r=s.IntersectionTests[e(425)](n,c.globe[e(467)]);if(!s[e(473)](r))return null;const o=r[e(533)]>=0?r[e(533)]:r[e(495)];if(!s[e(473)](o)||o<0)return null;const a=s[e(448)][e(436)](n,o);return s[e(473)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(467)}:null},f=()=>{const e=i,n=this[e(472)][e(479)][e(449)](t,c[e(424)].ellipsoid);return s[e(473)](n)?{position:this.projectToEllipsoidSurface(n),surfaceType:"ellipsoid"}:null},g=()=>(a||u)&&m()||f();if(o)switch(e){case"scene":return p();case i(430):return d();case i(467):return g()}return p()||d()||g()},async getPickedPositionFinal(t,e=Ze(463)){const n=Ze,i=this[n(464)];if(!t)return null;const s=this[n(472)].scene,r=async()=>{const e=n;if(typeof s[e(505)]!==e(501))return null;const r=this[e(472)].camera[e(462)](t);if(!i[e(473)](r))return null;try{const t=await this[e(486)](async()=>{const t=e;s[t(520)]();const n=await s.pickFromRayMostDetailed(r);return n&&this[t(435)](n[t(469)])&&i[t(473)](n[t(429)])?n[t(429)]:null});return i[e(473)](t)?{position:t,surfaceType:e(450)}:null}catch{return null}};switch(e){case"terrain":return this[n(489)](t,n(430),{pickStage:n(480)});case n(467):return this[n(489)](t,"ellipsoid",{pickStage:"final"});case n(450):return await r()||this[n(489)](t,n(450),{pickStage:n(480)});case n(463):default:return await r()||this[n(489)](t,"auto",{pickStage:n(480)})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this[e(472)][e(450)];return this[e(493)](()=>n[e(507)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this[e(457)];if(!n||typeof t!==e(501))return typeof t===e(501)?t():null;const i=[];[n[e(502)],n.previewPointEntity,n.previewLabelEntity,...Array[e(516)](n[e(452)])?n.pointEntities:[]][e(515)](Boolean)[e(539)](t=>{const n=e,s=t[n(532)];!1!==s&&(i[n(494)]({entity:t,originalShow:s}),t[n(532)]=!1)});try{return t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(457)];if(!n||"function"!=typeof t)return typeof t===e(501)?t():null;const i=[];[n.previewLineEntity,n[e(441)],n[e(508)],...Array[e(516)](n[e(452)])?n[e(452)]:[]][e(515)](Boolean).forEach(t=>{const n=t[e(532)];!1!==n&&(i.push({entity:t,originalShow:n}),t.show=!1)});try{return await t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this[e(464)];if(!n[e(473)](t))return!1;const i=t[e(518)];if(typeof n.Cesium3DTileFeature!==e(498)&&t instanceof n[e(483)])return!0;if(typeof n.Cesium3DTilePointFeature!==e(498)&&t instanceof n[e(510)])return!0;if(typeof n[e(456)]!==e(498)&&i instanceof n[e(456)])return!0;if(void 0!==n[e(513)]&&i instanceof n[e(513)])return!0;if(n[e(473)](t[e(503)])||n[e(473)](t[e(540)]?.[e(503)]))return!0;if(typeof n.Entity!==e(498)){if(t.id instanceof n[e(459)])return!1;if(i?.id instanceof n[e(459)])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.length,r=(await this.sampleSegment(t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(434)](t=>this[e(530)](t));n[e(426)]>0&&r.shift(),n[e(494)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e.closed)?t[n(426)]:Math.max(0,t[n(426)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t[n(426)]],u=(await this[n(537)](i,a,e)).map(t=>this[n(530)](t));s[n(494)](u),r[n(426)]>0?r.push(...u[n(428)](1)):r[n(494)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this.Cesium,r=this.cartesianToCartographic(t),o=this[i(487)](e),a=new(s[i(535)])(r,o),u=Number[i(538)](a[i(458)])?a[i(458)]:0,c=n[i(491)]||30,l=n[i(497)]||120,h=Math[i(492)](1,Math.min(l,Math[i(485)](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(444)](e):new s.Cartographic(r[i(536)],r[i(512)],r[i(481)]||0),n[i(481)]=s[i(474)][i(442)](r[i(481)]||0,o[i(481)]||0,e),p[i(494)](n)}return n[i(531)]&&this[i(528)]()&&await s.sampleTerrainMostDetailed(this[i(472)][i(519)],p),p},calculateCartesianDistance(t){const e=Ze,n=this[e(464)];if(t.length<2)return 0;let i=0;for(let s=0;s<t[e(426)]-1;s+=1)i+=n[e(525)].distance(t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number.isFinite(t)?t>=1e3?(t/1e3).toFixed(3)+e(427):t[e(522)](2)+" m":"0.00 m"},formatArea(t){const e=Ze;return Number[e(538)](t)?t>=1e6?(t/1e6)[e(522)](3)+e(526):t[e(522)](2)+e(490):e(527)},formatAngle(t){const e=Ze;return Number.isFinite(t)?t[e(522)](2)+"°":e(477)},hasTerrainProvider(){const t=Ze;return!(this.viewer[t(519)]instanceof this[t(464)].EllipsoidTerrainProvider)},cartesianToCartographic(t){const e=Ze;return this[e(464)][e(451)][e(461)](t,this[e(472)][e(450)][e(424)][e(467)])},cartographicToCartesian(t){const e=Ze;return this[e(464)].Cartesian3[e(431)](t[e(536)],t.latitude,t[e(481)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(487)](t);return n[e(481)]=0,this[e(530)](n)},cloneCartesian(t){return this[Ze(464)].Cartesian3.clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this[i(464)][i(525)].distance(t,e)<=n},serializePoint(t){const e=Ze,n=this[e(464)],i=this[e(487)](t);return{longitude:Number(n[e(474)][e(524)](i[e(536)])[e(522)](6)),latitude:Number(n[e(474)][e(524)](i[e(512)]).toFixed(6)),height:Number((i[e(481)]||0)[e(522)](2))}},removeEntities(t=[]){t.forEach(t=>{const e=Ye;t&&this[e(472)][e(438)][e(504)](t)})},destroyHandler(){const t=Ze;this[t(455)](),this[t(488)]&&"function"==typeof globalThis[t(466)]?.[t(437)]&&(globalThis[t(466)][t(437)](t(454),this[t(488)]),this[t(488)]=null),this[t(433)]&&(this[t(433)][t(521)](),this[t(433)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(501)&&("function"==typeof globalThis[e(476)]?(this.pendingMoveCallback=t,null===this[e(443)]&&(this[e(443)]=globalThis[e(476)](()=>{const t=e;this[t(443)]=null;const n=this.pendingMoveCallback;this[t(471)]=null,typeof n===t(501)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this.Cesium;if(!e||typeof n!==i(501))return;const r=s[i(511)][i(500)](e);this[i(514)](()=>{const e=i;t&&!t[e(446)]&&this[e(457)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this[t(443)]&&typeof globalThis[t(470)]===t(501)&&globalThis.cancelAnimationFrame(this[t(443)]),this[t(443)]=null,this[t(471)]=null},destroyResultInteractionHandler(){const t=Ze;this.resultInteractionHandler&&(this[t(440)][t(521)](),this[t(440)]=null),this[t(496)](!1)},setCursor(t){const e=Ze;this[e(472)].canvas&&(this[e(439)]=t,this[e(484)]())},applyCursorStyle(){const t=Ze;this[t(472)][t(534)]&&(this.isHoveringCloseButton?this[t(472)][t(534)][t(517)][t(541)]=t(499):this[t(472)][t(534)][t(517)][t(541)]=this[t(439)]?t(475):this[t(453)])}};function je(){const t=["IntersectionTests","cancelled","1974273sQhhQX","Ray","pickEllipsoid","scene","Cartographic","pointEntities","defaultCursor","keydown","cancelScheduledMouseMoveWork","Cesium3DTileset","activeMeasurement","surfaceDistance","Entity","pickStage","fromCartesian","getPickRay","auto","Cesium","681912kdWvFO","window","ellipsoid","pickFromRay","object","cancelAnimationFrame","pendingMoveCallback","viewer","defined","Math","crosshair","requestAnimationFrame","0.00°","10070kZKBBv","camera","final","height","preview","Cesium3DTileFeature","applyCursorStyle","ceil","withHiddenActiveMeasurementEntitiesAsync","cartesianToCartographic","measureKeydownHandler","getPickedPosition"," m²","step","max","withHiddenActiveMeasurementEntities","push","stop","setCloseButtonHover","maxSamples","undefined","pointer","clone","function","previewLineEntity","tileset","remove","pickFromRayMostDetailed","pickPosition","pick","previewLabelEntity","118027TwbHfo","Cesium3DTilePointFeature","Cartesian2","latitude","Model","scheduleMouseMoveWork","filter","isArray","style","primitive","terrainProvider","render","destroy","toFixed","1277444CinZYV","toDegrees","Cartesian3"," km²","0.00 m²","hasTerrainProvider","824LjLGzN","cartographicToCartesian","withTerrain","show","start","canvas","EllipsoidGeodesic","longitude","sampleSegment","isFinite","forEach","content","cursor","3650020VDuWaF","globe","rayEllipsoid","length"," km","slice","position","terrain","fromRadians","294764JBohQE","handler","map","isSceneSurfacePickObject","getPoint","removeEventListener","entities","measureCursorActive","resultInteractionHandler","previewPointEntity","lerp","pendingMoveFrameId","interpolateUsingFraction"];return(je=function(){return t})()}var He=Qe;function Ue(){var t=["5Smkctt","Cartesian3","pendingMoveFrameId","pointMarkerSize","2000780ZBNEVD","foregroundLineOverlayActive","resultGroups","14px sans-serif","resultInteractionHandler","resultLabelFont","949991WHetXP","301396nuvZTN","resultLabelLineHeight","foregroundLineCanvas","defaultCursor","resultLabelPaddingX","measureKeydownHandler","cursor","pointMarkerImage","resultLabelCloseGap","startAngleMeasure","measureCursorActive","Cesium","isHoveringCloseButton","9771957aQAQSL","startLengthMeasure","initResultInteractionHandler","resultLabelPaddingTop","handler","MeasureTools requires a Cesium viewer.","bind","3673176tzzRKa","prototype","angle","startHeightMeasure","pointClipPixelRadius","startMeasure","activeMeasurement","labelEyeOffset","30gZHVJu","1197165jFvBoV","foregroundLineOverlayBound","3527396NkOkaJ"];return(Ue=function(){return t})()}function Qe(t,e){var n=Ue();return(Qe=function(t,e){return n[t-=161]})(t,e)}!function(){for(var t=Qe,e=Ue();;)try{if(723281==-parseInt(t(187))/1+parseInt(t(180))/2+-parseInt(t(173))/3+-parseInt(t(175))/4*(parseInt(t(176))/5)+-parseInt(t(172))/6*(-parseInt(t(186))/7)+-parseInt(t(164))/8+parseInt(t(200))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ve{constructor(t){var e=Qe;if(!t)throw new Error(e(162));if(this.viewer=t,this[e(198)]=globalThis[e(198)],!this[e(198)])throw new Error("Cesium global is unavailable.");this[e(161)]=null,this[e(192)]=null,this[e(184)]=null,this[e(170)]=null,this[e(182)]=[],this[e(190)]=this.viewer.canvas?.style?.[e(193)]||"",this[e(179)]=18,this[e(168)]=10,this[e(185)]=e(183),this[e(188)]=20,this[e(191)]=12,this[e(203)]=10,this.resultLabelPaddingBottom=10,this.resultLabelCloseSize=18,this[e(195)]=8,this.resultLabelPixelOffset=new(this[e(198)].Cartesian2)(0,-24),this[e(171)]=new(this[e(198)][e(177)])(0,0,-10),this[e(197)]=!1,this[e(199)]=!1,this[e(178)]=null,this.pendingMoveCallback=null,this[e(189)]=null,this.foregroundLineContext=null,this[e(181)]=!1,this[e(174)]=this.renderForegroundLineOverlay[e(163)](this),this[e(194)]=this.createPointMarkerImage(),this[e(202)]()}[He(201)](t={}){return this[He(169)]("length",t)}startAreaMeasure(t={}){return this[He(169)]("area",t)}[He(196)](t={}){var e=He;return this[e(169)](e(166),t)}[He(167)](t={}){return this[He(169)]("height",t)}}function Je(t,e){const n=Xe();return(Je=function(t,e){return n[t-=345]})(t,e)}Object.assign(Ve[He(165)],ue,de,fe,Ie,be,Ee,Ne,Pe,Oe,ze,Fe);const We=Je;function Xe(){const t=["shadows","获取视角信息","82763XWzJwz","clearAll","skyAtmosphere","filter",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi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yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',"高差测量","enableLighting","enabled",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE20lEQVR4AeSZXXrbIBBF426syXuypjhrSt7tnbn3KEJBaMSPAJt87WciCQ0zcw9okN0/T7/k39vb28W119fX91Zp/woACJfgZ9dOp9O5FYThAXjipf/nA4T53k/ngbOhAcyzzMzvSXsWhJvsYjZ7Y6f+YQFI1DuzPGWZ+CO7C/YJM/P2kAAQI1FnM+OdTuwZt3N7t3s4ABLxjJjdjCM3GKfxRTvEcAAk4hLRmLyl8WfVhWwfQwEoSTxBIrs4DgNgXrqHq7kFRKshWRyHAIB4JVtU9CzBVh9+8W/do+/hAEiOJEmmV8M/cSz/DwWgpA5XfEtMrA8IVo15KAAllV2tI+Kut9st9/F5Brrv62EArNnwE8s4v35+fp7UXr6+vj50POWAEPTVe8JDAGgWSKKq4kvsNYQEiLAvvNb1Ku7dASBes5C7ZJWv/YmI3YCxPXz33h3Ad9j6vwK5mslcj1o5K/h3B8DMhUnkJh/Y/Q2unwQl+WgR3x93dwAEJ4laCDxGCFabKjtH+vC/16yYdwFAxVeCzM6S2wzhZek4cIJgtYtrMReIJ2Zo0x3ALHx64ZnPlxyU0LSVqaOocMm+6LMnHiddASBYs7MUHc5ZDQT2m/bwF5L0+xqeXwX6Y89fNwCheC8B86sqSfaAAFwv9ua0CwCJn5b8JprXodWw+araGoKAJmtMFwDSudmi1Lf5CMLm930gbAwPdEj8Wb6StaULAAX+IIGcvEMIWj2r3SLHR2hDbHII+63rLgAIRAJKJLkEsQWCiuNNjS1tKZrcK22KyczvFr3QXzMAzJwErP6TQhCmbY6kwsA714debz1f0Yrv2S2nTQAgnlnEq47dixtxrJaq+NaYagASv6n4gmAWt4KVYOUa7ZPvrMctdFINQGLNX3XUb0IIE2hxLfE892bFT/mvAqBn3hTvggLBt9Fqqa7wzrc7zuKzi54b545VAJyTxHF68wMEQBK2RbdrxROsCgBFhyRwlNFqK3wYorjihw64rgKAA2112S892LdqwG/hqwgAz7CWMnv96lm+NwStukMV3wKWDUDil+2OZ1nXFoRmiVnJ0ifxhys+48OWDUCiVxVf19Y2N735KcihLUnjop9Z/OGKbznPAqBlvxLvHAHBusfzSbLOrsURfzxqLXz5PpIA5qUeq+DTNjfbLb7nZFuthCYVf0nOO4kCQBSz7NnvnmKHvW+gWWsCgBXl+215vgsAMYgqCYY940rGpGwFsWthNQFIxFLxUwmG94GgusB3+xvn4f2Sa4lvWvGt2CYAJW4WPctBr75ZfNOKb+W6AaDZ+2/EA2QFQEufl5tYxWdM79at4luJrwBo6Vf9HmcFKO2rrfil8VYASge3ttdz37XiW/kOA0Diu1f8JACSsIx69xF3fnPsHWrjf7UCSIJkNlYdO4hH3I4hoq5XALAkGZLivHcjDvF6x4n53wDAmKSUXO+CdNftDl1WMwFgKAi9v9t3f8tDR6rtAnAD2Ze1Gpq+H+APwC7GI49JACSnZJv98DmLH2L20ZYFAMMWEEYTj65sABjPEA4VxxHFo6kIAAME4SoxQCj5tWeIik/+YSsGgAMglBRHbBk3YjsEwAkRiGRxnFeLGzLcsQoAamIQJP4hX3DIK7dVAyCQg4BgXVMbpjpBv667fmqd/wMAAP//YEFnJwAAAAZJREFUAwBlm3DVklpk4wAAAABJRU5ErkJggg=="/>',"关闭光照效果","模型调整","getPrototypeOf","show","ScreenSpaceEventHandler","开启光照效果","CesiumDevTools v1.0.4","positionPick","关闭地表透明","initMenu","清空测量结果",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpb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/eHBhY2tldCBlbmQ9InIiPz70rz6OAAAAoElEQVR42mL09fVloAQwMVAIcBkgCsSHgPgzEPeQY0AlENsCMQ8QFwOxOakGvEDjs6HxLaEWMLAA8X88LvwOxLOA+DCSWA/UVSAwCWQAI4nhFo/ETiEnFrYisa8S8gI+8ACIM8nxAkYs/CcSPwZiL2wGMBLAMCADxDPJScrPkNjM5BiQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"793210wOkfBn","getCameraInfo","RIGHT_CLICK","frontFaceAlpha","8365592MIiMPj","开启大气渲染","globe","srcElement","ScreenSpaceEventType","_debug","开启深度检测",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDp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xOC","角度测量","auto","12TfRqAy","关闭深度检测","adjust3Dtile","显示三角网","height","8996119TlQJgu",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MEZDRDc1REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MEZDRDc2REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIH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9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkQxNkI2MTQ1REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkQxNkI2MTQ2REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RDE2QjYxNDNERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE2QjYxNDRERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',"tileProvider","关闭大气渲染","log","取消当前测量","关闭三角网","adjustGlb","开启地表透明","视角相关","forEach","wireframe","depthTestAgainstTerrain","10NTwdXO","getOwnPropertyNames",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbW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jAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFBQjIxNDU4REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFBQjIxNDU5REUzQzExRUJBRjk1OUJFRUZBQjg4Q0Y1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUFCMjE0NTZERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUFCMjE0NTdERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz49EbzzAAAAtUlEQVR42mL09fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',"坐标拾取","3dtile模型调整","7QrJMyy","innerHTML","translucency","position","angle","backFaceAlpha","820548xyWEIw","info",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzl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MUjQIABAJ9vNJEwlARIAAAAAElFTkSuQmCC" />',"692946KoLbPf","startMeasure"];return(Xe=function(){return t})()}!function(){const t=Je,e=Xe();for(;;)try{if(625875==-parseInt(t(406))/1*(parseInt(t(358))/2)+parseInt(t(402))/3+parseInt(t(361))/4*(parseInt(t(427))/5)+-parseInt(t(396))/6+parseInt(t(390))/7*(parseInt(t(345))/8)+parseInt(t(386))/9*(-parseInt(t(381))/10)+-parseInt(t(366))/11*(-parseInt(t(355))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ke{#b;#w;#v;#y;#E;#r;constructor(t){const e=Je;this.#b=new d(t),this.#w=new g(t),this.#v=new oe(t),this.#y=new a(t),this.#E=new Ve(t),this.#R(this.#y),this.#R(this.#w),this.#R(this.#v),this.#r=t,console[e(372)](e(421))}#R(t){const e=Je;Object[e(382)](Object[e(417)](t))[e(409)](t=>"constructor"!==t)[e(378)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Je;this.#E[e(403)](t,{surfaceMode:e(360),useTerrain:!1,onComplete:t=>{console[e(397)]("测量结果:",t)}})}[We(424)](){const t=We,n=[{text:"点击相关",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZ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IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE5QURBOTc2REUzQzExRUJBQTczQUYxQkU2OUYxRUJGIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTlBREE5NzNERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTlBREE5NzRERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Zxx+pAAABPklEQVR42qTTv0vDQBjGcduGii7ij1GQLg5uiuBUBMGhYHDt4OTo4uDmJioi+C+oIN3cStV20UGloKiDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{const n=t;this.#b[n(354)]()}}},{text:"绘制并返回矩形",icon:t(410),events:{click:e=>{const n=t;this.#b[n(385)]()}}}]},{text:"测量",icon:t(414),sub:[{text:"长度测量",icon:"",events:{click:t=>{this.#N("length")}}},{text:t(357),icon:"",events:{click:t=>{this.#N("area")}}},{text:t(359),icon:"",events:{click:e=>{const n=t;this.#N(n(394))}}},{text:t(411),icon:"",events:{click:e=>{const n=t;this.#N(n(365))}}},{text:t(373),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(425),icon:"",events:{click:e=>{const n=t;this.#E[n(407)]()}}}]},{text:t(377),icon:t(398),sub:[{text:t(405),icon:t(410),events:{click:e=>{this[t(428)]()}}}]},{text:t(416),icon:t(383),sub:[{text:t(353),icon:t(410),events:{click:e=>{const n=t;this.#v[n(375)]()}}},{text:t(389),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE4QzNFN0ZBREUzQzExRUJCQ0RGQkY0REU3Mzg1MzA5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE4QzNFN0ZCREUzQzExRUJCQ0RGQkY0REU3Mzg1MzA5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QThDM0U3RjhERTNDMTFFQkJDREZCRjRERTczODUzMDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QThDM0U3RjlERTNDMTFFQkJDREZCRjRERTczODUzMDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz52t5iFAAABhUlEQVR42nTTPSjFURjH8et2WVhYZDEoyw2DhDIYWNBdrpeYLMIgMVCIxaqIskjJ5DWKYrDIOyVChpsyMSiD5G2Q71O/U8ff9dSne8//f87zP+c556TEYrFQkqhDK8qRjWccYxFL+HYdw4GBOdjBNM7RggI0qT2GE+S5ARFvcCZ2sYVafHnvEthTggkcoQz3foJZrKM/9H+8o0P/V2yJbgmlKMSw19mmfYUPXKvtole1qXcz6MQUPtVuwBDa8IoKFTCkIr5hxpKGvaofeF9oRhxdWFNnixGvjxW7xM1gUdO0SMUpLpCBTaTrXb6X4NF2zSXo1m8VJhH1Op55CRLe8yy8uCXkYlnTigYqf6llWIx6z+2QnVmCAdyqcMnClpamurhCpqjAqxF91dbaGFhjSEf4zooVeN6jWs1HtEazoOMaCUw/GG3a4ko7rWGv8nMabFv1FEhg72uwjUFU48a/TH0oxoYKFdddcAm6dMEOUaQt/nWZHuxioF3tfSU9VXtc/sSPAAMAI9tWnA5LgQkAAAAASUVORK5CYII=" />',events:{click:e=>{const n=t;this.#v[n(363)]()}}}]},{text:"地形服务",icon:t(387),sub:[{text:t(364),icon:t(352),events:{click:e=>{const n=t;"显示三角网"===e.srcElement[n(391)]?(e[n(348)][n(391)]=n(374),this.#r[n(368)].globe[n(399)].tileProvider[n(350)].wireframe=!0,this.#r[n(368)].requestRender()):(e[n(348)][n(391)]=n(364),this.#r[n(368)][n(347)][n(399)][n(370)][n(350)][n(379)]=!1,this.#r[n(368)][n(400)]())}}},{text:t(376),className:"terrianOpc",icon:t(369),events:{click:e=>{const n=t;e[n(348)][n(391)]===n(376)?(e[n(348)][n(391)]=n(423),this.#r.scene.globe.translucency[n(413)]=!0,this.#r[n(368)].globe.translucency[n(430)]=.2,this.#r[n(368)][n(347)][n(392)][n(395)]=.2):(e[n(348)][n(391)]="开启地表透明",this.#r[n(368)][n(347)].translucency[n(413)]=!1)}}}]},{text:"场景设置",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yV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(e[n(348)][n(391)]="开启深度检测",this.#r[n(368)][n(347)][n(380)]=!1)}}},{text:t(371),icon:t(426),events:{click:e=>{const n=t;"关闭大气渲染"===e[n(348)].innerHTML?(e.srcElement[n(391)]=n(346),this.#r[n(368)].skyAtmosphere[n(418)]=!1):(e[n(348)][n(391)]="关闭大气渲染",this.#r[n(368)][n(408)][n(418)]=!0)}}},{text:t(420),icon:t(401),events:{click:e=>{const n=t;e.srcElement[n(391)]===n(420)?(e[n(348)].innerHTML=n(415),this.#r[n(368)].globe[n(412)]=!0,this.#r[n(404)]=!0):(e[n(348)][n(391)]=n(420),this.#r[n(368)][n(347)][n(412)]=!1,this.#r[n(404)]=!1)}}}]}];let i=new e(n,{});new(Cesium[t(419)])(this.#r.scene.canvas)[t(356)](e=>{const n=t;let s={clientX:e[n(393)].x,clientY:e[n(393)].y};i[n(384)](s)},Cesium[t(349)][t(429)])}}export{Ke 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";const t=n;!function(t){const e=n,i=t();for(;;)try{if(372447==parseInt(e(423))/1*(parseInt(e(479))/2)+-parseInt(e(463))/3*(-parseInt(e(427))/4)+-parseInt(e(418))/5*(parseInt(e(492))/6)+parseInt(e(458))/7*(parseInt(e(444))/8)+parseInt(e(416))/9+parseInt(e(434))/10+parseInt(e(465))/11*(-parseInt(e(439))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(i);class e{#t;#e;#n;#i;#s;count=0;[t(441)];constructor(e,n){const i=t;if(this.#n=this,this.#i=this[i(451)]++,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(456))throw new Error(i(426))}else n={};window.addEventListener("resize",()=>{s[i(449)](n,"close_on_resize",!0)&&this.hide()}),this[i(432)]()}[t(489)](e){const n=t;if(typeof e!==n(456))throw new Error(n(464));this.#e=e}[t(470)](e,n){const i=t;if(typeof e!==i(450))throw new Error(i(480));if(typeof n===i(483))throw new Error(i(472));this.#e[e]=n}[t(469)](){return this.#e}[t(432)](){const e=t;if(null==document[e(424)](e(467)+this.#i)){let t=document[e(466)]("div");t.className=e(445),t.id=e(467)+this.#i,document[e(419)][e(462)](t)}let n=document[e(424)](e(467)+this.#i);n[e(436)]="",n[e(462)](this[e(453)](this.#t))}[t(453)](e){const n=t,i=this;let r=document[n(466)]("ul");return e[n(485)](function(t){const e=n;let o=document[e(466)]("li");if(o[e(452)]=i.#n,t.className&&(o[e(477)]=t[e(477)]),typeof t[e(459)]===e(483)){let n=document[e(466)](e(438));n[e(477)]=e(471),""!=s[e(449)](t,e(484),"")?n[e(436)]=s.getProperty(t,e(484),""):n[e(436)]=s[e(449)](i.#e,"default_icon","");let r=document.createElement(e(438));r[e(477)]=e(474),""!=s[e(449)](t,e(433),"")?r[e(436)]=s[e(449)](t,"text",""):r[e(436)]=s.getProperty(i.#e,e(422),"item");let a=document.createElement("span");if(a[e(477)]=e(487),typeof t[e(490)]!==e(483)&&(""!=s[e(449)](i.#e,e(429),"")?a.innerHTML=s[e(449)](i.#e,e(429),""):a[e(436)]="&#155;"),o.appendChild(n),o[e(462)](r),o.appendChild(a),s[e(449)](t,e(481),!0)){if(typeof t[e(476)]===e(456)){let n=Object[e(437)](t[e(476)]);for(let i=0;i<n[e(460)];i++)o[e(415)](n[i],t[e(476)][n[i]])}typeof t[e(490)]!==e(483)&&o.appendChild(i[e(453)](t[e(490)]))}else o[e(431)](e(442),"")}else"cm_divider"===t.type&&(o[e(477)]=e(421));r[e(462)](o)}),r}[t(457)](e,n){const i=t;typeof n!==i(483)?this.#s=n:this.#s=e[i(417)];let r=document[i(424)]("cm_"+this.#i);const o={x:e[i(447)],y:e.clientY},a=o.x,u=o.y,l=r[i(455)]+4,c=r[i(491)]+4,h=window.innerWidth,p=window.innerHeight,d=parseInt(s.getProperty(this.#e,"mouse_offset",2));r[i(425)][i(454)]=h-a<l?h-l+"px":a+d+"px",p-u<c?r[i(425)][i(446)]=p-c+"px":r.style[i(446)]=u+d+"px";const m=s[i(435)](r);h-a<m[i(468)]?r[i(440)][i(448)](i(461)):r[i(440)][i(430)](i(461)),p-u<m.height?r.classList.add(i(428)):r.classList[i(430)](i(428)),r[i(440)][i(448)](i(457)),s.getProperty(this.#e,i(473),!0)&&window[i(415)](i(488),this[i(443)][i(486)](this))}[t(482)](){const e=t;document[e(424)](e(467)+this.#i)[e(440)][e(430)]("display"),window[e(475)](e(488),this[e(443)][e(486)](this))}[t(443)](){this[t(482)]()}}function n(t,e){const s=i();return(n=function(t,e){return s[t-=415]})(t,e)}function i(){const t=["icon","forEach","bind","cm_sub_span","click","setOptions","sub","offsetHeight","408bdxcIs","addEventListener","3996936CfAHOG","target","16790QBAviw","body","getElementsByTagName","cm_divider","default_text","2369DJvGhM","getElementById","style","Parameter 2 must be of type object","932504jGAvKO","cm_border_bottom","sub_icon","remove","setAttribute","reload","text","3077500isjznE","getSizes","innerHTML","keys","span","12iOERBg","classList","DIVIDER","disabled","documentClick","8dsumat","cm_container","top","clientX","add","getProperty","string","count","menu","renderLevel","left","offsetWidth","object","display","3958283MltCxi","type","length","cm_border_right","appendChild","3CHmLll","Parameter 1 must be of type object","15736215IVdtIJ","createElement","cm_","width","getOptions","changeOption","cm_icon_span","Parameter 2 must be set","close_on_click","cm_text","removeEventListener","events","className","height","406NLQuPF","Parameter 1 must be of type string","enabled","hide","undefined"];return(i=function(){return t})()}let s={getProperty:function(t,e,n){return void 0!==t[e]?t[e]:n},getSizes:function(e){const n=t;let i=e[n(420)]("li"),r=0,o=0;for(let t=0;t<i[n(460)];t++){let e=i[t];e.offsetWidth>r&&(r=e[n(455)]),e[n(491)]>o&&(o=e.offsetHeight)}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(420)]("ul");if(typeof e[0]!==n(483)){let t=s[n(435)](e[0]);r+t[n(468)]>a&&(a=r+t[n(468)]),o+t.height>u&&(u=o+t[n(478)])}}return{width:a,height:u}}};function r(){const t=["28nOGxlZ","403356lVuRsU","400628jONXYZ","2JKDLwq","1965704EFzYfI","1930404vJCjsC","Cartographic","5186952RQToCc","latitude","transformCnToCc","fromCartesian","2755145pDKWhF","toDegrees","144869mmhWiE"];return(r=function(){return t})()}const o=u;!function(t){const e=u,n=t();for(;;)try{if(400550==-parseInt(e(241))/1+-parseInt(e(231))/2*(-parseInt(e(233))/3)+-parseInt(e(244))/4+-parseInt(e(239))/5+parseInt(e(243))/6*(-parseInt(e(242))/7)+parseInt(e(232))/8+parseInt(e(235))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(r);class a{#r;constructor(t){this.#r=t}static[o(237)](t){const e=o,n=Cesium[e(234)][e(238)](t);return[Cesium.Math[e(240)](n.longitude),Cesium.Math[e(240)](n[e(236)]),n.height]}}function u(t,e){const n=r();return(u=function(t,e){return n[t-=231]})(t,e)}const l=c;function c(t,e){const n=h();return(c=function(t,e){return n[t-=395]})(t,e)}function h(){const t=["PolylineMaterialAppearance","请选择3个及以上的点","1122185xYJiMX","camera","GroundPolylinePrimitive","destroy","position","MOUSE_MOVE","ScreenSpaceEventHandler","202uiZwUm","setInputAction","%c多边形坐标:","5109804hZLeof","PointPrimitiveCollection","push","fromDegrees","info","CHARTREUSE","Color","pick","setTimeout","groupEnd","globe","ellipsoid","endPosition","CallbackProperty","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","10888SIOdfb","POSITIVE_INFINITY","remove","add","LEFT_DOUBLE_CLICK","1206590BHqvKh","6wRBIzw","pickPosition","GREEN","defined","ScreenSpaceEventType","scene","GroundPolylineGeometry","createMouseAdsorbHandle","%c鼠标点击位置坐标:","length","GeometryInstance","group","primitives","canvas","entities","isDestroyed","terrainProvider","Material","getPickRay","transformCnToCc","LEFT_CLICK","Cartesian3","withAlpha","fromType","endEvent","13023vOUHiC","2638zgOjEz","385aNVzNC","RED","3135804hZcEZT"];return(h=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(490677==-parseInt(e(403))/1+-parseInt(e(416))/2*(parseInt(e(402))/3)+parseInt(e(406))/4+-parseInt(e(409))/5*(parseInt(e(440))/6)+parseInt(e(404))/7*(-parseInt(e(434))/8)+parseInt(e(419))/9+-parseInt(e(439))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);const p=l(433);class d{#r;#o;#a;#u;#l;#c;#h;constructor(t){this.#r=t,this.#h=[]}openMouseAdsorb(){const t=l;this[t(401)](),this.#o=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#o[t(417)](e=>{const n=t,i=this.#p(e[n(413)]);if(i){const t=a[n(396)](i);console[n(423)](n(448)+t,p)}this.endEvent()},Cesium[t(444)][t(397)]),this[t(447)]()}[l(447)](){const t=l;this.#u=this.#r.scene[t(452)][t(437)](new(Cesium[t(420)]));let e=this.#u[t(437)]({position:new(Cesium[t(398)])(1,2,3),color:Cesium[t(425)].YELLOW});this.#a=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#a.setInputAction(n=>{const i=t;if(!this.#u||this.#u[i(455)]())return;const s=this.#p(n.endPosition);s&&(e[i(413)]=s)},Cesium[t(444)][t(414)])}#d(){const t=l;this.#o&&!this.#o[t(455)]()&&this.#o[t(412)](),this.#a&&!this.#a.isDestroyed()&&this.#a[t(412)](),this.#o=void 0,this.#a=void 0}#m(){const t=l;if(this.#l&&(this.#l.forEach(t=>{const e=c;this.#r[e(454)][e(436)](t)}),this.#l=[]),this.#u&&!this.#u[t(455)]()){const e=this.#r[t(445)][t(452)];e.contains(this.#u)?e[t(436)](this.#u):this.#u[t(412)]()}this.#u=void 0}[l(401)](){this.#d(),this.#m()}#p(t){const e=l,n=this.#r[e(445)][e(426)](t);if(Cesium[e(443)](n))return this.#r[e(445)].pickPosition(t);const i=this.#r.camera[e(395)](t);return this.#r[e(456)]instanceof Cesium.EllipsoidTerrainProvider?this.#r.camera.pickEllipsoid(t,this.#r[e(445)].globe[e(430)]):this.#r.scene.globe[e(426)](i,this.#r[e(445)])}drawPolygon(){const t=l;this.#l=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(415)])(this.#r[t(445)][t(453)]),this.#o[t(417)](n=>{const r=t;clearTimeout(this.#c),this.#c=window[r(427)](()=>{const t=r,o=this.#p(n[t(413)]);if(o){const e=a[t(396)](o);i[t(421)](...e),s[t(421)](o)}!e&&(e=this.#f()),2===s[t(449)]&&this.#g(),this.#A(s.at(-1))},200)},Cesium[t(444)][t(397)]),this.#o.setInputAction(e=>{const i=t,r=this.#p(e[i(431)]);r&&(n=r,s[i(449)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium.ScreenSpaceEventType.MOUSE_MOVE),this.#o[t(417)](r=>{const o=t;clearTimeout(this.#c);let a,u=this.#r[o(445)][o(441)](r[o(413)]),l=this.#r[o(445)][o(426)](r[o(413)]);if(l&&u&&!l.id)a=[1,1,1];else{let t=this.#r[o(410)].getPickRay(r.position);a=this.#r[o(445)][o(429)][o(426)](t,this.#r[o(445)])}a&&(s[o(449)]<2?alert(o(408)):(s[o(421)](n),console[o(451)](o(418),p),console[o(423)](""+i),console[o(428)](),i=[],s=[],e=void 0,this.#h=[],this[o(401)]()))},Cesium[t(444)][t(438)])}#A(t){const e=l,n=this.#r[e(454)][e(437)]({position:t,point:{pixelSize:7,color:Cesium[e(425)][e(424)],disableDepthTestDistance:Number[e(435)]}});return this.#l.push(n),n}#C(t,e){const n=l;let i=new(Cesium[n(450)])({geometry:new(Cesium[n(446)])({positions:[Cesium[n(398)][n(422)](...t),Cesium.Cartesian3[n(422)](...e)],width:3})}),s=new(Cesium[n(407)])({material:Cesium[n(457)][n(400)](n(425),{color:new(Cesium[n(425)])(1,1,0,1)})}),r=new(Cesium[n(411)])({geometryInstances:i,appearance:s});return this.#r[n(445)][n(452)][n(437)](r)}#f(){const t=l,e=this.#r[t(454)].add({polyline:{positions:new(Cesium[t(432)])(()=>this.#h,!1),width:3,material:Cesium[t(425)][t(405)],clampToGround:!0}});return this.#l[t(421)](e),e}#I(t){const e=l,n=this.#r[e(454)][e(437)]({polygon:{hierarchy:t,material:Cesium[e(425)][e(442)].withAlpha(.5)}});return this.#l.push(n),n}#g(){const t=l,e=this.#r[t(454)][t(437)]({polygon:{hierarchy:new Cesium.CallbackProperty(()=>new Cesium.PolygonHierarchy(this.#h),!1),material:Cesium[t(425)][t(442)][t(399)](.5)}});return this.#l[t(421)](e),e}}function m(){const t=["1686LgmteK","493YOXaiE","24yWAPMw","1173699rmDaOF","Cartesian3","transformCnToCc","笛卡尔坐标:","537972HSOgFk","fromDegrees","110wTtgHP","setView","208490ThytrN","position","getCameraInfo","setCameraPosition","group","91768aNZiBC","info","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","flyTo","95dxfDHr","HPR角度:","13BKgucU","camera","1290375sKrnZE","1278102AvaOeP","12fjyBXj"];return(m=function(){return t})()}const f=A;!function(t){const e=A,n=t();for(;;)try{if(231652==-parseInt(e(255))/1*(-parseInt(e(254))/2)+-parseInt(e(251))/3+parseInt(e(242))/4*(parseInt(e(247))/5)+-parseInt(e(253))/6*(-parseInt(e(252))/7)+-parseInt(e(256))/8*(parseInt(e(257))/9)+parseInt(e(237))/10*(-parseInt(e(263))/11)+parseInt(e(261))/12*(parseInt(e(249))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class g{#r;constructor(t){this.#r=t}[f(239)](){const t=f,e=a[t(259)](this.#r.camera.position),{heading:n,pitch:i,roll:s}=this.#r.camera,r=t(244);console[t(241)]("%c视角位置参数:",r),console[t(243)](t(245)+[e]),console[t(243)](t(260)+[this.#r[t(250)][t(238)]]),console[t(243)](t(248)+[n,i,s]),console.groupEnd()}[f(240)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=f;n?this.#r[i(250)][i(246)]({destination:Cesium[i(258)].fromDegrees(...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(250)][i(264)]({destination:Cesium[i(258)][i(262)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}function A(t,e){const n=m();return(A=function(t,e){return n[t-=237]})(t,e)}var C,I,M=9e15,b=1e9,w="0123456789abcdef",v="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",L=N+"crypto unavailable",P="[object Decimal]",D=Math.floor,k=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,O=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,G=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,z=1e7,Z=v.length-1,Y=y.length-1,F={toStringTag:P};function j(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 H(t,e,n){if(t!==~~t||t<e||t>n)throw Error(T+t)}function U(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=k(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)==k(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)==k(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]+=w.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()}F.absoluteValue=F.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),J(t)},F.ceil=function(){return J(new this.constructor(this),this.e+1,2)},F.clampedTo=F.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)},F.comparedTo=F.cmp=function(t){var e,n,i,s,r=this,o=r.d,a=(t=new r.constructor(t)).d,u=r.s,l=t.s;if(!o||!a)return u&&l?u!==l?u:o===a?0:!o^u<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?u:a[0]?-l:0;if(u!==l)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},F.cosine=F.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,lt(i,n)),i.precision=t,i.rounding=e,J(2==I||3==I?n.neg():n,t,e,!0)):new i(1):new i(NaN)},F.cubeRoot=F.cbrt=function(){var t,e,n,i,s,r,o,a,u,l,c=this,h=c.constructor;if(!c.isFinite()||c.isZero())return new h(c);for(R=!1,(r=c.s*k(c.s*c,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=j(c.d),(r=((t=c.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=k(n,1/3),t=D((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=c.s),o=(t=h.precision)+3;;)if(l=(u=(a=i).times(a).times(a)).plus(c),i=V(l.plus(c).times(a),l.plus(u),o+2,1),j(a.d).slice(0,o)===(n=j(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))||(J(i,t+1,1),e=!i.times(i).times(i).eq(c));break}if(!s&&(J(a,t+1,0),a.times(a).times(a).eq(c))){i=a;break}o+=4,s=1}return R=!0,J(i,t,h.rounding,e)},F.decimalPlaces=F.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-D(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},F.dividedBy=F.div=function(t){return V(this,new this.constructor(t))},F.dividedToIntegerBy=F.divToInt=function(t){var e=this.constructor;return J(V(this,new e(t),0,1,1),e.precision,e.rounding)},F.equals=F.eq=function(t){return 0===this.cmp(t)},F.floor=function(){return J(new this.constructor(this),this.e+1,3)},F.greaterThan=F.gt=function(t){return this.cmp(t)>0},F.greaterThanOrEqualTo=F.gte=function(t){var e=this.cmp(t);return 1==e||0===e},F.hyperbolicCosine=F.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,l=t,c=new o(8);l--;)u=r.times(r),r=a.minus(u.times(c.minus(u.times(c))));return J(r,o.precision=n,o.rounding=i,!0)},F.hyperbolicSine=F.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),l=new r(20);t--;)o=s.times(s),s=s.times(a.plus(o.times(u.times(o).plus(l))))}return r.precision=e,r.rounding=n,J(s,e,n,!0)},F.hyperbolicTangent=F.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,V(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},F.inverseCosine=F.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))},F.inverseHyperbolicCosine=F.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)},F.inverseHyperbolicSine=F.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())},F.inverseHyperbolicTangent=F.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?J(new r(s),t,e,!0):(r.precision=n=i-s.e,s=V(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)},F.inverseSine=F.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)))},F.inverseTangent=F.atan=function(){var t,e,n,i,s,r,o,a,u,l=this,c=l.constructor,h=c.precision,p=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&h+4<=Y)return(o=q(c,h+4,p).times(.25)).s=l.s,o}else{if(!l.s)return new c(NaN);if(h+4<=Y)return(o=q(c,h+4,p).times(.5)).s=l.s,o}for(c.precision=a=h+10,c.rounding=1,t=n=Math.min(28,a/7+2|0);t;--t)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(a/7),i=1,u=l.times(l),o=new c(l),s=l;-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,J(o,c.precision=h,c.rounding=p,!0)},F.isFinite=function(){return!!this.d},F.isInteger=F.isInt=function(){return!!this.d&&D(this.e/7)>this.d.length-2},F.isNaN=function(){return!this.s},F.isNegative=F.isNeg=function(){return this.s<0},F.isPositive=F.isPos=function(){return this.s>0},F.isZero=function(){return!!this.d&&0===this.d[0]},F.lessThan=F.lt=function(t){return this.cmp(t)<0},F.lessThanOrEqualTo=F.lte=function(t){return this.cmp(t)<1},F.logarithm=F.log=function(t){var e,n,i,s,r,o,a,u,l=this,c=l.constructor,h=c.precision,p=c.rounding;if(null==t)t=new c(10),e=!0;else{if(n=(t=new c(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new c(NaN);e=t.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new c(n&&!n[0]?-1/0:1!=l.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(l,a=h+5),i=e?K(c,a+10):st(t,a),U((u=V(o,i,a,1)).d,s=h,p))do{if(o=st(l,a+=10),i=e?K(c,a+10):st(t,a),u=V(o,i,a,1),!r){+j(u.d).slice(s+1,s+15)+1==1e14&&(u=J(u,h+1,0));break}}while(U(u.d,s+=10,p));return R=!0,J(u,h,p)},F.minus=F.sub=function(t){var e,n,i,s,r,o,a,u,l,c,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(l=d.d,p=t.d,a=m.precision,u=m.rounding,!l[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!l[0])return new m(3===u?-0:0);t=new m(d)}return R?J(t,a,u):t}if(n=D(t.e/7),c=D(d.e/7),l=l.slice(),r=c-n){for((h=r<0)?(e=l,r=-r,o=p.length):(e=p,n=c,o=l.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=l.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(l[i]!=p[i]){h=l[i]<p[i];break}r=0}for(h&&(e=l,l=p,p=e,t.s=-t.s),o=l.length,i=p.length-o;i>0;--i)l[o++]=0;for(i=p.length;i>r;){if(l[--i]<p[i]){for(s=i;s&&0===l[--s];)l[s]=z-1;--l[s],l[i]+=z}l[i]-=p[i]}for(;0===l[--o];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(t.d=l,t.e=X(l,n),R?J(t,a,u):t):new m(3===u?-0:0)},F.modulo=F.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]?J(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=V(n,t.abs(),0,3,1)).s*=t.s:e=V(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},F.naturalExponential=F.exp=function(){return it(this)},F.naturalLogarithm=F.ln=function(){return st(this)},F.negated=F.neg=function(){var t=new this.constructor(this);return t.s=-t.s,J(t)},F.plus=F.add=function(t){var e,n,i,s,r,o,a,u,l,c,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(l=h.d,c=t.d,a=p.precision,u=p.rounding,!l[0]||!c[0])return c[0]||(t=new p(h)),R?J(t,a,u):t;if(r=D(h.e/7),i=D(t.e/7),l=l.slice(),s=r-i){for(s<0?(n=l,s=-s,o=c.length):(n=c,i=r,o=l.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=l.length)-(s=c.length)<0&&(s=o,n=c,c=l,l=n),e=0;s;)e=(l[--s]=l[s]+c[s]+e)/z|0,l[s]%=z;for(e&&(l.unshift(e),++i),o=l.length;0==l[--o];)l.pop();return t.d=l,t.e=X(l,i),R?J(t,a,u):t},F.precision=F.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},F.round=function(){var t=this,e=t.constructor;return J(new e(t),t.e+1,e.rounding)},F.sine=F.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,lt(i,n)),i.precision=t,i.rounding=e,J(I>2?n.neg():n,t,e,!0)):new i(NaN)},F.squareRoot=F.sqrt=function(){var t,e,n,i,s,r,o=this,a=o.d,u=o.e,l=o.s,c=o.constructor;if(1!==l||!a||!a[0])return new c(!l||l<0&&(!a||a[0])?NaN:a?o:1/0);for(R=!1,0==(l=Math.sqrt(+o))||l==1/0?(((e=j(a)).length+u)%2==0&&(e+="0"),l=Math.sqrt(e),u=D((u+1)/2)-(u<0||u%2),i=new c(e=l==1/0?"5e"+u:(e=l.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new c(l.toString()),n=(u=c.precision)+3;;)if(i=(r=i).plus(V(o,r,n+2,1)).times(.5),j(r.d).slice(0,n)===(e=j(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))||(J(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(J(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,J(i,u,c.rounding,t)},F.tangent=F.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=V(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,J(2==I||4==I?n.neg():n,t,e,!0)):new i(NaN)},F.times=F.mul=function(t){var e,n,i,s,r,o,a,u,l,c=this,h=c.constructor,p=c.d,d=(t=new h(t)).d;if(t.s*=c.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=D(c.e/7)+D(t.e/7),(u=p.length)<(l=d.length)&&(r=p,p=d,d=r,o=u,u=l,l=o),r=[],i=o=u+l;i--;)r.push(0);for(i=l;--i>=0;){for(e=0,s=u+i;s>i;)a=r[s]+d[i]*p[s-i-1]+e,r[s--]=a%z|0,e=a/z|0;r[s]=(r[s]+e)%z|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?J(t,h.precision,h.rounding):t},F.toBinary=function(t,e){return ct(this,2,t,e)},F.toDecimalPlaces=F.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(H(t,0,b),void 0===e?e=i.rounding:H(e,0,8),J(n,t+n.e+1,e))},F.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(H(t,0,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(H(t,0,b),void 0===e?e=r.rounding:H(e,0,8),n=W(i=J(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},F.toFraction=function(t){var e,n,i,s,r,o,a,u,l,c,h,p,d=this,m=d.d,f=d.constructor;if(!m)return new f(d);if(l=n=new f(1),i=u=new f(0),o=(r=(e=new f(i)).e=_(m)-d.e-1)%7,e.d[0]=k(10,o<0?7+o:o),null==t)t=r>0?e:l;else{if(!(a=new f(t)).isInt()||a.lt(l))throw Error(T+a);t=a.gt(e)?r>0?e:l:a}for(R=!1,a=new f(j(m)),c=f.precision,f.precision=r=7*m.length*2;h=V(a,e,0,1,1),1!=(s=n.plus(h.times(i))).cmp(t);)n=i,i=s,s=l,l=u.plus(h.times(s)),u=s,s=e,e=a.minus(h.times(s)),a=s;return s=V(t.minus(n),i,0,1,1),u=u.plus(s.times(l)),n=n.plus(s.times(i)),u.s=l.s=d.s,p=V(l,i,r,1).minus(d).abs().cmp(V(u,n,r,1).minus(d).abs())<1?[l,i]:[u,n],f.precision=c,R=!0,p},F.toHexadecimal=F.toHex=function(t,e){return ct(this,16,t,e)},F.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:H(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=V(n,t,0,e,1).times(t),R=!0,J(n)):(t.s=n.s,n=t),n},F.toNumber=function(){return+this},F.toOctal=function(t,e){return ct(this,8,t,e)},F.toPower=F.pow=function(t){var e,n,i,s,r,o,a=this,u=a.constructor,l=+(t=new u(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new u(k(+a,l));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return J(a,i,r);if((e=D(t.e/7))>=t.d.length-1&&(n=l<0?-l:l)<=9007199254740991)return s=tt(u,a,n,i),t.s<0?new u(1).div(s):J(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=k(+a,l))&&isFinite(n)?new u(n+"").e:D(l*(Math.log("0."+j(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&&U((s=J(s,i+5,1)).d,i,r)&&(e=i+10,+j((s=J(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=J(s,i+1,0))),s.s=o,R=!0,u.rounding=r,J(s,i,r))},F.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):(H(t,1,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toSignificantDigits=F.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(H(t,1,b),void 0===e?e=n.rounding:H(e,0,8)),J(new n(this),t,e)},F.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},F.truncated=F.trunc=function(){return J(new this.constructor(this),this.e+1,1)},F.valueOf=F.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 V=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 l,c,h,p,d,m,f,g,A,I,M,b,w,v,y,E,R,N,T,S,L=i.constructor,P=i.s==s.s?1:-1,k=i.d,B=s.d;if(!(k&&k[0]&&B&&B[0]))return new L(i.s&&s.s&&(k?!B||k[0]!=B[0]:B)?k&&0==k[0]||!B?0*P:P/0:NaN);for(u?(d=1,c=i.e-s.e):(u=z,d=7,c=D(i.e/d)-D(s.e/d)),T=B.length,R=k.length,I=(A=new L(P)).d=[],h=0;B[h]==(k[h]||0);h++);if(B[h]>(k[h]||0)&&c--,null==r?(v=r=L.precision,o=L.rounding):v=a?r+(i.e-s.e)+1:r,v<0)I.push(1),m=!0;else{if(v=v/d+2|0,h=0,1==T){for(p=0,B=B[0],v++;(h<R||p)&&v--;h++)y=p*u+(k[h]||0),I[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),k=t(k,p,u),T=B.length,R=k.length),E=T,b=(M=k.slice(0,T)).length;b<T;)M[b++]=0;(S=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(l=e(B,M,T,b))<0?(w=M[0],T!=b&&(w=w*u+(M[1]||0)),(p=w/N|0)>1?(p>=u&&(p=u-1),1==(l=e(f=t(B,p,u),M,g=f.length,b=M.length))&&(p--,n(f,T<g?S:B,g,u))):(0==p&&(l=p=1),f=B.slice()),(g=f.length)<b&&f.unshift(0),n(M,f,b,u),-1==l&&(l=e(B,M,T,b=M.length))<1&&(p++,n(M,T<b?S:B,b,u)),b=M.length):0===l&&(p++,M=[0]),I[h++]=p,l&&M[0]?M[b++]=k[E]||0:(M=[k[E]],b=1)}while((E++<R||void 0!==M[0])&&v--);m=void 0!==M[0]}I[0]||I.shift()}if(1==d)A.e=c,C=m;else{for(h=1,p=I[0];p>=10;p/=10)h++;A.e=h+c*d-1,J(A,a?r+A.e+1:r,o,m)}return A}}();function J(t,e,n,i){var s,r,o,a,u,l,c,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=(c=h[p=0])/k(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);c=u=0,s=1,o=(r%=7)-7+1}else{for(c=a=h[p],s=1;a>=10;a/=10)s++;u=(o=(r%=7)-7+s)<0?0:c/k(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?c:c%k(10,s-o-1)),l=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?c/k(10,s-o):0:h[p-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,l?(e-=t.e+1,h[0]=k(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=k(10,7-r),h[p]=o>0?(c/k(10,s-o)%k(10,o)|0)*a:0),l)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]==z&&(h[0]=1));break}if(h[p]+=a,h[p]!=z)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=j(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 J(new t(v),e,1,!0)}function q(t,e,n){if(e>Y)throw Error(S);return J(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=D(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,l=0,c=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(k(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=J(r.times(t),u,1),n=n.times(++c),j((a=o.plus(V(r,n,u,1))).d).slice(0,u)===j(o.d).slice(0,u)){for(s=h;s--;)o=J(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(l<3&&U(o.d,u-i,d,l)))return J(o,p.precision=m,d,R=!0);p.precision=u+=10,n=r=a=new p(1),c=0,l++}o=a}}function st(t,e){var n,i,s,r,o,a,u,l,c,h,p,d=1,m=t,f=m.d,g=m.constructor,A=g.rounding,C=g.precision;if(m.s<0||!f||!f[0]||!m.e&&1==f[0]&&1==f.length)return new g(f&&!f[0]?-1/0:1!=m.s?NaN:f?0:m);if(null==e?(R=!1,c=C):c=e,g.precision=c+=10,i=(n=j(f)).charAt(0),!(Math.abs(r=m.e)<15e14))return l=K(g,c+2,C).times(r+""),m=st(new g(i+"."+n.slice(1)),c-10).plus(l),g.precision=C,null==e?J(m,C,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=j((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new g("0."+n),r++):m=new g(i+"."+n.slice(1)),h=m,u=o=m=V(m.minus(1),m.plus(1),c,1),p=J(m.times(m),c,1),s=3;;){if(o=J(o.times(p),c,1),j((l=u.plus(V(o,new g(s),c,1))).d).slice(0,c)===j(u.d).slice(0,c)){if(u=u.times(2),0!==r&&(u=u.plus(K(g,c+2,C).times(r+""))),u=V(u,new g(d),c,1),null!=e)return g.precision=C,u;if(!U(u.d,c-10,A,a))return J(u,g.precision=C,A,R=!0);g.precision=c+=10,l=o=m=V(h.minus(1),h.plus(1),c,1),p=J(m.times(m),c,1),s=a=1}u=l,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,l=t.precision,c=Math.ceil(l/7);for(R=!1,u=n.times(n),a=new t(i);;){if(o=V(a.times(u),new t(e++*e++),l,1),a=s?i.plus(o):i.minus(o),i=V(o.times(u),new t(e++*e++),l,1),void 0!==(o=a.plus(i)).d[c]){for(r=c;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=c+1,o}function ut(t,e){for(var n=t;--e;)n*=t;return n}function lt(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 I=i?4:1,e;if((n=e.divToInt(s)).isZero())I=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return I=et(n)?i?2:3:i?4:1,e;I=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function ct(t,e,n,i){var s,r,o,a,u,l,c,h,p,d=t.constructor,m=void 0!==n;if(m?(H(n,1,b),void 0===i?i=d.rounding:H(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=(c=W(t)).indexOf("."))>=0&&(c=c.replace(".",""),(p=new d(1)).e=c.length-o,p.d=Q(W(p),10,s),p.e=p.d.length),r=u=(h=Q(c,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=V(t,p,n,i,0,s)).d,r=t.e,l=C),o=h[n],a=s/2,l=l||void 0!==h[n+1],l=i<4?(void 0!==o||l)&&(0===i||i===(t.s<0?3:2)):o>a||o===a&&(4===i||l||6===i&&1&h[n-1]||i===(t.s<0?8:7)),h.length=n,l)for(;++h[--n]>s-1;)h[n]=0,n||(++r,h.unshift(1));for(u=h.length;!h[u-1];--u);for(o=0,c="";o<u;o++)c+=w.charAt(h[o]);if(m){if(u>1)if(16==e||8==e){for(o=16==e?4:3,--u;u%o;u++)c+="0";for(u=(h=Q(c,s,e)).length;!h[u-1];--u);for(o=1,c="1.";o<u;o++)c+=w.charAt(h[o])}else c=c.charAt(0)+"."+c.slice(1);c=c+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)c="0"+c;c="0."+c}else if(++r>u)for(r-=u;r--;)c+="0";else r<u&&(c=c.slice(0,r)+"."+c.slice(r))}else c=m?"0p+0":"0";c=(16==e?"0x":2==e?"0b":8==e?"0o":"")+c}else c=rt(t);return t.s<0?"-"+c:c}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 ft(t,e){return new this(t).plus(e)}function gt(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function Ct(t){return new this(t).atan()}function It(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(V(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(V(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function bt(t){return new this(t).cbrt()}function wt(t){return J(t=new this(t),t.e+1,2)}function vt(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,b,"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(!(D(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(L);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 J(t=new this(t),t.e+1,3)}function Lt(){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 Pt(t){return t instanceof _t||t&&t.toStringTag===P||!1}function Dt(t){return new this(t).ln()}function kt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Ot(t){return new this(t).log(10)}function Gt(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function zt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function Yt(t,e){return new this(t).pow(e)}function Ft(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:H(t,1,b),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(L);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=k(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 jt(t){return J(t=new this(t),t.e+1,this.rounding)}function Ht(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ut(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Vt(t){return new this(t).sqrt()}function Jt(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,J(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 J(t=new this(t),t.e+1,1)}F[Symbol.for("nodejs.util.inspect.custom")]=F.toString,F[Symbol.toStringTag]="Decimal";var _t=F.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,Pt(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,l,c;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(O.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!G.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=c=(l=Q(e,n,z)).length-1;0===l[r];--r)l.pop();return r<0?new i(0*t.s):(t.e=X(l,c),t.d=l,R=!1,o&&(t=V(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?k(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=F,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=Pt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=ft,r.asin=gt,r.asinh=At,r.atan=Ct,r.atanh=It,r.atan2=Mt,r.cbrt=bt,r.ceil=wt,r.clamp=vt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=Tt,r.floor=St,r.hypot=Lt,r.ln=Dt,r.log=kt,r.log10=Ot,r.log2=Bt,r.max=Gt,r.min=xt,r.mod=zt,r.mul=Zt,r.pow=Yt,r.random=Ft,r.round=jt,r.sign=Ht,r.sin=Ut,r.sinh=Qt,r.sqrt=Vt,r.sub=Jt,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);function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=483]})(t,e)}v=new _t(v),y=new _t(y);const te=$t;!function(t){const e=$t,n=t();for(;;)try{if(440269==parseInt(e(580))/1*(-parseInt(e(598))/2)+-parseInt(e(534))/3+-parseInt(e(538))/4*(parseInt(e(591))/5)+-parseInt(e(540))/6+parseInt(e(547))/7*(parseInt(e(553))/8)+-parseInt(e(579))/9*(-parseInt(e(597))/10)+parseInt(e(532))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ne);class ee{#r;[te(590)];CatLongitude={};CatLongitudeStep=1e-4;[te(531)]={};[te(544)]=1e-4;[te(517)]={};[te(503)]=.1;[te(601)]={};[te(493)]=1;CatPitch={};[te(584)]=1;CatRoll={};CatRollStep=1;[te(523)]={};[te(586)]=.1;constructor(t){this.#r=t}[te(593)](){const t=te;console[t(582)]("调用成功");const e=t(567);let n=(new DOMParser)[t(508)](e,"text/html")[t(564)](t(485))[0];document[t(525)].appendChild(n),this.removeMenuEvent(t(485)),this[t(484)](),this.bindEventGLB()}[te(568)](){const t=te;this[t(542)](this[t(528)],t(563),"CatMenuLonInputPlus",t(497),t(526),()=>{this[t(573)]()}),this[t(542)](this.CatLatitude,t(486),t(509),t(536),t(577),()=>{this[t(573)]()}),this[t(542)](this.CatHeight,t(560),"CatMenuHeiInputPlus",t(583),"CatMenuHeiStepInput",()=>{this.changeEntityPos()}),this.createEvent(this[t(601)],t(550),t(565),t(561),"CatMenuHeadingStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(572)],t(530),t(569),t(495),t(592),()=>{this[t(513)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),"CatMenuRollStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(523)],t(500),t(546),t(566),"CatMenuScaleStepInput",()=>{this[t(570)]()})}[te(542)](t,e,n,i,s,r){const o=te,a=document.getElementsByClassName(e)[0];Object[o(504)](t,"value",{get(){return this[o(515)]},set(t){const e=o;this[e(515)]=t,a[e(554)]=t,r()}}),a[o(545)]=e=>{const n=o;t[n(554)]=e[n(588)][n(554)]};const u=document[o(564)](n)[0],l=document[o(564)](i)[0];u.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(554)];t[e(554)]=_t(a[e(554)])[e(507)](_t(n)).toNumber()},l.onclick=()=>{const e=o,n=document[e(564)](s)[0][e(554)];t[e(554)]=_t(a[e(554)]).sub(_t(n))[e(581)]()}}changeEntityPos(){const t=te,e=document[t(564)](t(563))[0].value,n=document[t(564)](t(486))[0][t(554)],i=document[t(564)]("CatMenuHeiInput")[0][t(554)];this.CatEntity.position=Cesium[t(492)][t(578)](e,n,i)}[te(513)](){const t=te,e=this.CatEntity.position[t(515)],n=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(550))[0].value)),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(530))[0][t(554)])),s=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)])),r=new Cesium.HeadingPitchRoll(n,i,s);let o=Cesium[t(594)][t(551)](e,r);this[t(590)][t(585)]=o}[te(570)](){const t=te,e=document[t(564)](t(500))[0].value;this[t(590)][t(511)][t(514)]=Number(e)}[te(484)](){const t=te;document[t(564)](t(543))[0][t(499)](t(552),()=>{const e=t,n=document[e(564)](e(596))[0][e(554)],i=this.#r[e(557)][e(548)](n);if(i){this[e(590)]=i;const t=a[e(512)](i[e(501)]._value);document[e(564)](e(563))[0][e(554)]=t[0],document[e(564)]("CatMenuLatInput")[0].value=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0].value=this[e(522)],document.getElementsByClassName("CatMenuLatStepInput")[0][e(554)]=this[e(544)],document[e(564)](e(510))[0][e(554)]=this[e(493)];const n=i.computeModelMatrix(Cesium[e(600)][e(603)]()),s=Cesium.Transforms.fixedFrameToHeadingPitchRoll(n);document[e(564)](e(550))[0][e(554)]=Cesium[e(589)][e(533)](s.heading),document[e(564)](e(530))[0].value=Cesium[e(589)][e(533)](s.pitch),document[e(564)](e(483))[0][e(554)]=Cesium[e(589)][e(533)](s.roll),document[e(564)](e(487))[0][e(554)]=this[e(493)],document[e(564)](e(592))[0][e(554)]=this[e(584)],document.getElementsByClassName("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0][e(554)]=i[e(511)].scale||1,document[e(564)]("CatMenuScaleStepInput")[0][e(554)]=this[e(586)]}else alert("没有找到id为"+n+e(489))})}[te(494)](t){const e=te;let n=document[e(564)](e(485))[0],i=document.getElementsByClassName(e(521))[0];t?i.addEventListener(e(552),()=>{const t=e;n[t(559)][t(491)](n)}):(this.CatEntity=null,n[e(559)][e(491)](n))}[te(490)](){const t=te;console[t(582)](t(518));let e=(new DOMParser)[t(508)]('\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',t(555))[t(564)](t(485))[0];document.body[t(506)](e),this[t(494)](t(485)),this[t(602)](),this[t(537)]()}[te(537)](){const t=te;this[t(542)](this.CatLongitude,"CatMenuLonInput","CatMenuLonInputPlus",t(497),"CatMenuLonStepInput",()=>{this[t(498)]()}),this.createEvent(this[t(531)],t(486),t(509),t(536),t(577),()=>{this[t(498)]()}),this[t(542)](this[t(517)],t(560),t(541),"CatMenuHeiInputMinus",t(510),()=>{this[t(498)]()}),this[t(542)](this[t(601)],t(550),t(565),t(561),t(487),()=>{this.change3dtilePos()}),this[t(542)](this[t(572)],"CatMenuPitchInput",t(569),t(495),t(592),()=>{this[t(498)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),t(576),()=>{this[t(498)]()}),this[t(542)](this.CatScale,t(500),t(546),t(566),t(539),()=>{this[t(498)]()})}[te(498)](){const t=te,e=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(550))[0].value)),n=Cesium[t(589)][t(558)](Number(document[t(564)](t(530))[0][t(554)])),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)]));let s=Cesium.Matrix3[t(505)](e),r=Cesium[t(587)][t(516)](n),o=Cesium[t(587)][t(520)](i),a=Cesium[t(488)][t(527)](s),u=Cesium[t(488)][t(527)](r),l=Cesium[t(488)].fromRotationTranslation(o);const c=document[t(564)]("CatMenuLonInput")[0][t(554)],h=document[t(564)]("CatMenuLatInput")[0][t(554)],p=document.getElementsByClassName(t(560))[0][t(554)];let d=Cesium[t(492)][t(578)](c,h,p),m=Cesium.Transforms.eastNorthUpToFixedFrame(d);const f=document[t(564)](t(500))[0][t(554)];let g=new(Cesium[t(492)])(f,f,f);const A=Cesium[t(488)][t(562)](g,new(Cesium[t(488)]));Cesium.Matrix4[t(556)](m,a,m),Cesium[t(488)][t(556)](m,u,m),Cesium[t(488)][t(556)](m,l,m),Cesium[t(488)][t(556)](m,A,m),this[t(590)][t(599)][t(571)]=m}confirmEvent3Dtile(){const t=te;document[t(564)](t(543))[0].addEventListener(t(552),()=>{const e=t,n=document.getElementsByClassName(e(596))[0].value;let i;for(let t of this.#r[e(575)][e(496)][e(595)])if(t._url==n){i=t;break}if(i){this[e(590)]=i,console.log(this[e(590)]);const t=a.transformCnToCc(i[e(529)][e(524)]);document.getElementsByClassName(e(563))[0][e(554)]=t[0],document.getElementsByClassName(e(486))[0][e(554)]=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0][e(554)]=this[e(522)],document.getElementsByClassName(e(577))[0][e(554)]=this.CatLatitudeStep,document[e(564)](e(510))[0][e(554)]=this.CatHeadingStep,document[e(564)]("CatMenuHeadingInput")[0][e(554)]=0,document[e(564)](e(530))[0][e(554)]=0,document.getElementsByClassName(e(483))[0][e(554)]=0,document.getElementsByClassName(e(487))[0][e(554)]=this.CatHeadingStep,document[e(564)](e(592))[0][e(554)]=this[e(584)],document[e(564)]("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0].value=1,document[e(564)](e(539))[0][e(554)]=1}else alert(e(549)+n+e(489))})}}function ne(){const t=["CatScale","center","body","CatMenuLonStepInput","fromRotationTranslation","CatLongitude","boundingSphere","CatMenuPitchInput","CatLatitude","27437443HubYzZ","toDegrees","1908543jOezKR","CatMenuRollInputMinus","CatMenuLatInputMinus","bindEvent3Dtile","8708qayrIG","CatMenuScaleStepInput","3054498tCOTjH","CatMenuHeiInputPlus","createEvent","CatMenuIdInputButton","CatLatitudeStep","onchange","CatMenuScaleInputPlus","413InFTEX","getById","没有找到url为","CatMenuHeadingInput","headingPitchRollQuaternion","click","33992IkdgfE","value","text/html","multiply","entities","toRadians","parentNode","CatMenuHeiInput","CatMenuHeadingInputMinus","fromScale","CatMenuLonInput","getElementsByClassName","CatMenuHeadingInputPlus","CatMenuScaleInputMinus",'\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',"bindEventGLB","CatMenuPitchInputPlus","changeScale","transform","CatPitch","changeEntityPos","CatMenuRollInputPlus","scene","CatMenuRollStepInput","CatMenuLatStepInput","fromDegrees","7101AxIMOK","1ImdSky","toNumber","log","CatMenuHeiInputMinus","CatPitchStep","orientation","CatScaleStep","Matrix3","target","Math","CatEntity","1785CCbSBD","CatMenuPitchStepInput","createGlbMenu","Transforms","_primitives","CatMenuIdInput","240RlsWLU","802436RSZFge","_root","JulianDate","CatHeading","confirmEvent3Dtile","now","CatMenuRollInput","confirmEventGlb","CatGlbMenuContainer","CatMenuLatInput","CatMenuHeadingStepInput","Matrix4","的对象","create3DtileMenu","removeChild","Cartesian3","CatHeadingStep","removeMenuEvent","CatMenuPitchInputMinus","primitives","CatMenuLonInputMinus","change3dtilePos","addEventListener","CatMenuScaleInput","position","CatRollStep","CatHeightStep","defineProperty","fromRotationX","appendChild","add","parseFromString","CatMenuLatInputPlus","CatMenuHeiStepInput","model","transformCnToCc","changeHPR","scale","_value","fromRotationY","CatHeight","调用成功","CatRoll","fromRotationZ","CatMenuCloseButton","CatLongitudeStep"];return(ne=function(){return t})()}const ie=se;function se(t,e){const n=re();return(se=function(t,e){return n[t-=211]})(t,e)}function re(){const t=["toRadians","fromRotationTranslation","Math","Cartesian3","createGlbMenu","Matrix3","setGlb","transform","zoomTo","Matrix4","fromDegrees","adjust3Dtile","primitives","555aNlHue","add","multiply","fromRotationY","fromRotationZ","9628mYjEqA","937428eieazo","15OiJnIK","Cesium3DTileset","fromScale","fromUrl","HeadingPitchRoll","1902150KItwMC","2295270FGkTlQ","5076968PdecJY","scene","set3Dtile","5379073wTITHx","eastNorthUpToFixedFrame","headingPitchRollQuaternion","fromRotationX","adjustGlb","1911357nDaRuS"];return(re=function(){return t})()}!function(t){const e=se,n=t();for(;;)try{if(610138==parseInt(e(212))/1+-parseInt(e(218))/2+-parseInt(e(242))/3*(parseInt(e(211))/4)+parseInt(e(213))/5*(parseInt(e(219))/6)+parseInt(e(223))/7+-parseInt(e(220))/8+-parseInt(e(228))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(re);class oe{#r;#M;constructor(t){this.#r=t,this.#M=new ee(t)}[ie(227)](){const t=ie;this.#M[t(233)]()}[ie(235)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=ie,a=Cesium[o(232)].fromDegrees(...e),u=new(Cesium[o(217)])(Cesium.Math.toRadians(n[0]),Cesium[o(231)][o(229)](n[1]),Cesium[o(231)][o(229)](n[2])),l=Cesium.Transforms[o(225)](a,u),c=this.#r.entities[o(243)]({id:i,position:a,orientation:l,model:{uri:t,scale:s}});return r&&this.#r.zoomTo(c),c}[ie(240)](){this.#M.create3DtileMenu()}async[ie(222)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=ie;let o=await Cesium[r(214)][r(216)](t,{}),a=Cesium.Matrix3[r(226)](Cesium[r(231)][r(229)](n[0])),u=Cesium.Matrix3[r(245)](Cesium[r(231)][r(229)](n[1])),l=Cesium[r(234)][r(246)](Cesium[r(231)][r(229)](n[2])),c=Cesium[r(238)][r(230)](a),h=Cesium[r(238)][r(230)](u),p=Cesium[r(238)][r(230)](l),d=Cesium[r(232)][r(239)](...e),m=Cesium.Transforms[r(224)](d),f=new Cesium.Cartesian3(i,i,i);const g=Cesium[r(238)][r(215)](f,new Cesium.Matrix4);return Cesium[r(238)][r(244)](m,c,m),Cesium[r(238)].multiply(m,h,m),Cesium[r(238)].multiply(m,p,m),Cesium.Matrix4[r(244)](m,g,m),o._root[r(236)]=m,this.#r[r(221)][r(241)].add(o),s&&this.#r[r(237)](o),o}}const ae=le;!function(t){const e=le,n=t();for(;;)try{if(948057==parseInt(e(474))/1+-parseInt(e(461))/2*(-parseInt(e(523))/3)+-parseInt(e(524))/4+parseInt(e(458))/5+parseInt(e(486))/6+-parseInt(e(511))/7*(-parseInt(e(529))/8)+-parseInt(e(475))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);const ue={startMeasure(t,e={}){const n=le;if(![n(535),n(477),n(488),n(481)][n(536)](t))throw new Error(n(470)+t);const i=this[n(465)](e);this[n(478)](!1);const s={id:t+"-"+Date[n(497)]()+"-"+Math[n(533)]().toString(36)[n(495)](2,8),type:t,useTerrain:Boolean(e[n(494)]),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(537)],onComplete:e[n(527)],onRemove:e.onRemove,onCancel:e[n(514)]},cancelled:!1};return this[n(464)]=s,this[n(531)](!0),this[n(468)](s),this[n(462)](s),this[n(502)](),this[n(500)](s,{phase:"start",instruction:this[n(493)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=le,n=this[e(464)];if(!n)return this.destroyHandler(),void this.setCursor(!1);n[e(485)]=!0,this[e(499)](),this.removeEntities([...n.pointEntities,...n.previewEntities]),this[e(531)](!1),this[e(464)]=null,this[e(502)](),t&&(typeof n[e(463)].onCancel===e(517)&&n[e(463)][e(514)]({type:n[e(534)],useTerrain:n[e(494)],surfaceMode:n.surfaceMode}),this[e(500)](n,{phase:e(504),instruction:"",formattedValue:""}))},clearAll(){const t=le;this.clearCurrent(!1),this.resultGroups[t(510)](e=>{const n=t;this[n(526)](e[n(491)])}),this[t(459)]=[],this[t(480)](!1),this[t(502)]()},destroy(){const t=le;this[t(498)](),this[t(499)](),this[t(472)](),this[t(522)](),this[t(531)](!1)},async finalizeSession(t){const e=le;if(!t||t.cancelled)return;this[e(499)](),this.setCursor(!1),this.emitUpdate(t,{phase:e(479),instruction:e(467)});const n=await this[e(513)](t);if(t[e(485)])return;const i={...n,id:t.id};this[e(526)](t.pointEntities);const s=this.commitResult(t,i);this[e(526)](t[e(507)]),this[e(459)][e(483)]({id:t.id,entities:s,result:i,callbacks:t.callbacks}),this.activeMeasurement=null,this[e(502)](),"function"==typeof t[e(463)][e(527)]&&t[e(463)][e(527)](i),this[e(500)](t,{phase:e(520),instruction:this.getInstruction(t.type,0),formattedValue:i.formattedValue,result:i})},async buildResult(t){const e=le;switch(t[e(534)]){case e(535):return this.buildLengthResult(t[e(516)],t[e(469)],t.pointSurfaceTypes);case e(477):return this[e(528)](t[e(516)],t[e(469)],t[e(460)]);case e(488):return this[e(471)](t[e(516)],t.surfaceMode,t[e(460)]);case e(481):return this[e(521)](t.points,t[e(469)],t.pointSurfaceTypes);default:throw new Error(e(470)+t[e(534)])}},emitUpdate(t,e={}){const n=le;if(typeof t?.callbacks?.[n(537)]===n(517)){const i=this[n(487)](t[n(469)],t[n(460)]);t.callbacks[n(537)]({type:t[n(534)],useTerrain:t.useTerrain,surfaceMode:t[n(469)],surfaceType:i[n(489)],surfaceLabel:i[n(490)],actualTerrain:i.actualTerrain,...e})}},resolveSurfaceMode(t={}){const e=le;return[e(501),e(525),e(538),e(476)].includes(t[e(469)])?t[e(469)]:t[e(494)]?e(501):e(476)},resolveMeasurementSurfaceType(t=ae(476),e=[]){const n=ae,i=[n(501),n(525),n(538),"auto"][n(536)](t)?t:"auto";return i===n(501)&&this.hasTerrainProvider()?n(501):e[n(536)]("scene")?"scene":e[n(536)](n(501))?n(501):e[n(536)](n(538))?n(538):"scene"===i?"scene":n(538)},getMeasurementSurfaceInfo(t=ae(476),e=[]){const n=ae,i=this[n(492)](t,e),s={terrain:{surfaceType:n(501),titlePrefix:"地形",surfaceLabel:n(518),actualTerrain:!0},scene:{surfaceType:n(525),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(538),titlePrefix:"无地形",surfaceLabel:n(473),actualTerrain:!1}};return s[i]||s[n(538)]},getMeasureTitle(t,e){const n=ae;return"angle"===t?"角度":""+this[n(487)](e,[e])[n(532)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ae;if(!t)return this[e(487)](e(538));const n=t[e(506)][e(535)]>0?t[e(506)]:t[e(460)];return this[e(487)](t[e(469)],n)},updatePreviewLineClampState(t){const e=ae;t?.[e(515)]?.[e(484)]&&(t[e(515)][e(484)].clampToGround=this[e(503)](t[e(534)],this[e(496)](t)[e(489)]))},getInstruction(t,e){const n=ae;return t===n(535)?n(0===e?512:519):"area"===t?n(e<2?530:508):t===n(481)?n(0===e?482:509):0===e?n(505):1===e?"左键选择角度顶点。":n(466)}};function le(t,e){const n=ce();return(le=function(t,e){return n[t-=458]})(t,e)}function ce(){const t=["resolveMeasurementSurfaceType","getInstruction","useTerrain","slice","getSessionPreviewSurfaceInfo","now","clearAll","destroyHandler","emitUpdate","terrain","refreshForegroundLineOverlayState","shouldClampLineToGround","idle","左键选择角度起点。","dynamicSurfaceTypes","previewEntities","左键继续绘制面积边界,左键双击或按回车结束面积测量。","左键选择高差终点完成测量,右键取消。","forEach","1560083UvMqfl","左键开始长度测量,左键双击或按回车结束。","buildResult","onCancel","previewLineEntity","points","function","贴地结果","左键继续加点,左键双击或按回车结束长度测量。","complete","buildHeightResult","destroyForegroundLineOverlay","141rSGqXY","6956804lPheaY","scene","removeEntities","onComplete","buildAreaResult","24YPnFHe","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","setCursor","titlePrefix","random","type","length","includes","onUpdate","ellipsoid","1950550qpoDDh","resultGroups","pointSurfaceTypes","51780eJlToK","bindEvents","callbacks","activeMeasurement","resolveSurfaceMode","左键选择角度终点完成测量,右键取消。","正在计算测量结果...","createPreviewEntities","surfaceMode","Unsupported measure type: ","buildAngleResult","destroyResultInteractionHandler","无地形结果","199783uCHNSt","3006117ZktMhH","auto","area","clearCurrent","computing","setCloseButtonHover","height","左键选择高差起点。","push","polyline","cancelled","3275646amVmmr","getMeasurementSurfaceInfo","angle","surfaceType","surfaceLabel","entities"];return(ce=function(){return t})()}function he(){const t=["632745SVGzuR","handler","getAnglePreview","MOUSE_MOVE","808678WgShwY","getAreaPreview","drawing","4wNyNYG","canvas","ScreenSpaceEventType","bindEnterFinishEvent","measureKeydownHandler","keydown","pointEntities","preview","map","key","trimDuplicatedTrailingPoints","emitUpdate","LEFT_DOUBLE_CLICK","bindAngleEvents","159728Avaybz","3753522SAsWXQ","area","909BAfFiM","hidePreviewCursor","updatePreviewLabel","activeMeasurement","push","endPosition","updatePreviewLineClampState","text","showPreviewCursor","angle","cloneCartesian","cancelScheduledMouseMoveWork","setInputAction","getLengthPreview","Cesium","dynamicSurfaceTypes","1627414jowNvV","position","5618925FqRdhS","scene","surfaceMode","371EPTRLx","points","RIGHT_CLICK","clearCurrent","LEFT_CLICK","dynamicPositions","scheduleSessionMouseMove","finalizeSession","surfaceType","Enter","addEventListener","pointSurfaceTypes","getPickedPosition","cancelled","window","slice","getPickedPositionFinal","type","106390RejhVj","length","height","ScreenSpaceEventHandler","getInstruction","POSITIVE_INFINITY","createPointEntity","preventDefault","handleResultCloseClick"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=297]})(t,e)}!function(t){const e=pe,n=t();for(;;)try{if(589251==parseInt(e(349))/1+-parseInt(e(313))/2+parseInt(e(345))/3+-parseInt(e(352))/4*(parseInt(e(315))/5)+-parseInt(e(367))/6+parseInt(e(318))/7*(parseInt(e(366))/8)+-parseInt(e(297))/9*(-parseInt(e(336))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(he);const de={bindEnterFinishEvent(t){const e=pe;"function"==typeof globalThis.window?.[e(328)]&&(this[e(356)]&&(globalThis[e(332)].removeEventListener(e(357),this[e(356)]),this[e(356)]=null),this[e(356)]=n=>{const i=e;n[i(361)]===i(327)&&t&&!t.cancelled&&this[i(300)]===t&&(t[i(319)][i(337)]<(t=>{const n=e;return t===n(337)?2:t===n(368)||t===n(306)?3:t===n(338)?2:Number[n(341)]})(t[i(335)])||(n[i(343)](),this[i(308)](),this[i(325)](t)))},globalThis[e(332)][e(328)](e(357),this[e(356)]))},bindEvents(t){const e=pe,n=this[e(311)];this[e(346)]=new(n[e(339)])(this.viewer[e(316)][e(353)]),this[e(355)](t),t[e(335)]!==e(306)?t[e(335)]!==e(338)?(this[e(346)][e(309)](async n=>{const i=e;if(this[i(308)](),this.handleResultCloseClick(n[i(314)]))return;const s=await this[i(334)](n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s.position;t[i(319)][i(301)](this[i(307)](r)),t.pointSurfaceTypes[i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t[i(312)]=t[i(329)].slice(),t[i(358)].push(this[i(342)](r)),this[i(303)](t);const o=t[i(335)]===i(337)?this[i(310)](t[i(319)],t.surfaceMode,t[i(329)]):this.getAreaPreview(t[i(319)]);this[i(299)](t,o[i(304)],o[i(314)]),this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)].length),formattedValue:o[i(304)]})},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t.points.length)return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[...t.points,this.cloneCartesian(r)],t.dynamicSurfaceTypes=[...t.pointSurfaceTypes,s.surfaceType],this[n(303)](t);const o=t[n(335)]===n(337)?this[n(310)](t[n(323)],t.surfaceMode,t[n(312)]):this[n(350)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t[n(335)],t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](async n=>{const i=e;this[i(308)]();const s=(await this[i(334)](n.position,t[i(317)]))?.[i(314)];if(t[i(331)]||this[i(300)]!==t)return;this[i(362)](t,s);const r=t[i(335)]===i(337)?2:3;t[i(319)][i(337)]<r||this.finalizeSession(t)},n[e(354)][e(364)])):this.bindHeightEvents(t):this[e(365)](t)},bindAngleEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this.cancelScheduledMouseMoveWork(),this[i(344)](n.position))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t.dynamicSurfaceTypes=t.pointSurfaceTypes[i(333)](),t[i(358)].push(this.createPointEntity(r)),this[i(303)](t),3!==t.points[i(337)]?this[i(363)](t,{phase:i(351),instruction:this.getInstruction(t.type,t[i(319)][i(337)]),formattedValue:2===t[i(319)][i(337)]?this[i(347)](t[i(319)]).text:""}):this[i(325)](t)},n[e(354)].LEFT_CLICK),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];if(this[n(305)](t,r),1===t.points[n(337)])return t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t),void this.updatePreviewLabel(t,"",null);t.dynamicPositions=[t[n(319)][0],t[n(319)][1],this.cloneCartesian(r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t);const o=this[n(347)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this.emitUpdate(t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o[n(304)]})})},n.ScreenSpaceEventType.MOUSE_MOVE),this.handler[e(309)](()=>{this[e(321)]()},n[e(354)].RIGHT_CLICK)},bindHeightEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this[i(308)](),this[i(344)](n[i(314)]))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t[i(331)]||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t.points.map(t=>this[i(307)](t)),t[i(312)]=t[i(329)][i(333)](),t[i(358)].push(this.createPointEntity(r)),this.updatePreviewLineClampState(t),2!==t[i(319)][i(337)]?this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)][i(337)]),formattedValue:""}):this[i(325)](t)},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:n(359)});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)].slice(),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t[n(329)],s[n(326)]],this[n(303)](t);const o=this.getHeightPreview(t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](()=>{this.clearCurrent()},n[e(354)][e(320)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=387]})(t,e)}!function(t){const e=me,n=t();for(;;)try{if(549665==-parseInt(e(400))/1+parseInt(e(413))/2+parseInt(e(407))/3*(-parseInt(e(417))/4)+parseInt(e(406))/5+-parseInt(e(394))/6*(-parseInt(e(405))/7)+parseInt(e(393))/8*(parseInt(e(409))/9)+-parseInt(e(397))/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[i(415)](e,n);let r=0,o=t[i(401)](t=>this[i(387)](t)),a=[];if(s[i(388)]===i(408)){const e=await this[i(395)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e[i(399)],a=e[i(396)],r=a[i(420)]((t,e)=>t+this[i(419)](e),0)}else s.surfaceType===i(410)?(a=t.slice(0,-1).map((e,n)=>[this[i(387)](e),this.cloneCartesian(t[n+1])]),r=this.calculateCartesianDistance(t)):(a=t[i(398)](0,-1)[i(401)]((e,n)=>[this[i(387)](e),this[i(387)](t[n+1])]),r=this[i(414)](t));return{type:i(411),title:this[i(403)](i(411),s[i(388)]),surfaceType:s[i(388)],surfaceLabel:s[i(412)],actualTerrain:s.actualTerrain,value:r,formattedValue:this.formatDistance(r),displayPositions:o,displaySegments:a,labelPosition:o[o.length-1]||t[t[i(411)]-1],pointCount:t[i(411)],points:t[i(401)](t=>this[i(389)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(411)]<2)return{text:"",position:null};const s=this[i(415)](e,n)[i(388)]===i(416)?this[i(414)](t):this[i(419)](t);return{text:this[i(402)](s),position:t[t[i(411)]-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(418)];if(t[e(411)]<2)return 0;const i=new(n[e(404)]);let s=0;for(let n=0;n<t[e(411)]-1;n+=1){const r=this[e(391)](t[n]),o=this.cartesianToCartographic(t[n+1]);i[e(390)](r,o),s+=Number.isFinite(i[e(392)])?i.surfaceDistance:0}return s}};function ge(){const t=["calculateSurfaceDistance","getMeasurementSurfaceInfo","ellipsoid","5956uxvlKl","Cesium","calculateCartesianDistance","reduce","cloneCartesian","surfaceType","serializePoint","setEndPoints","cartesianToCartographic","surfaceDistance","184YeHlTm","42WFSFbN","buildSampledPolyline","segments","9596350VppGCR","slice","flattenedPositions","962288gBWoXI","map","formatDistance","getMeasureTitle","EllipsoidGeodesic","664503yRayKL","2791855JsHQHT","228AOfXqt","terrain","128385LUqGik","scene","length","surfaceLabel","2067566WAbCJZ"];return(ge=function(){return t})()}function Ae(t,e){const n=Ce();return(Ae=function(t,e){return n[t-=388]})(t,e)}function Ce(){const t=["4494753eLSpRv","projectPointsOntoPlane","621708RTNUHi","triangulate","subtract","getCenterPosition","length","scene","actualTerrain","cloneCartesian","20eIzTMB","projectPointOntoEllipsoid","1oQqjJa","EPSILON10","globe","14fpnlUB","cartesianToCartographic","map","cross","getMeasurementSurfaceInfo","947632tksteM","EPSILON6","abs","center","EllipsoidTangentPlane","surfaceLabel","Math","surfaceType","28TnkPra","getMeasureTitle","768942SmOwKz","buildSampledPolyline","defined","BoundingSphere","Cesium","8792795tYbnyN","formatArea","1854927wRpnPB","calculatePolygonArea","area","Cartesian3","ellipsoid","PolygonPipeline","fromPoints","terrain","cartographicToCartesian","height","segments","calculateTriangleArea","375185sBSvTR"];return(Ce=function(){return t})()}!function(t){const e=Ae,n=t();for(;;)try{if(505825==parseInt(e(434))/1*(-parseInt(e(424))/2)+-parseInt(e(409))/3+-parseInt(e(400))/4*(parseInt(e(421))/5)+-parseInt(e(402))/6*(parseInt(e(437))/7)+parseInt(e(392))/8+parseInt(e(422))/9+-parseInt(e(432))/10*(-parseInt(e(407))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ce);const Ie={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(391)](e,n);let r=t[i(389)](t=>this[i(431)](t)),o=t[i(389)]((e,n)=>[this[i(431)](e),this[i(431)](t[(n+1)%t[i(428)]])]);if(s[i(399)]===i(416)){const e=await this[i(403)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e.flattenedPositions,o=e[i(419)]}const a=this[i(410)](r);return{type:i(411),title:this[i(401)](i(411),s.surfaceType),surfaceType:s[i(399)],surfaceLabel:s[i(397)],actualTerrain:s[i(430)],value:a,formattedValue:this[i(408)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(427)](r),pointCount:t[i(428)],points:t[i(389)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(428)]<3?{text:"",position:null}:{text:this[e(408)](this[e(410)](t)),position:this[e(427)](t)}},calculatePolygonArea(t){const e=Ae,n=this.Cesium;if(t.length<3)return 0;const i=n[e(396)].fromPoints(t,this.viewer[e(429)].globe[e(413)]).projectPointsOntoPlane(t);if(!i||i.length<3)return 0;const s=n[e(414)][e(425)](i);if(!s||s[e(428)]<3)return 0;let r=0;for(let n=0;n<s[e(428)];n+=3)r+=this[e(420)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(406)],r=s[i(412)][i(426)](e,t,new(s[i(412)])),o=s[i(412)].subtract(n,t,new(s[i(412)])),a=s[i(412)][i(390)](r,o,new(s[i(412)]));return.5*s[i(412)].magnitude(a)},getCenterPosition(t){const e=Ae,n=this[e(406)];if(0===t[e(428)])return null;if(t[e(428)]<3)return n[e(405)][e(415)](t).center;const i=n[e(396)].fromPoints(t,this.viewer[e(429)][e(436)][e(413)]),s=i[e(423)](t);if(!s||s[e(428)]<3)return n[e(405)][e(415)](t)[e(395)];let r=0,o=s[e(428)]-1;const a=new n.Cartesian2(0,0);for(let t=0;t<s[e(428)];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(394)](r)<n[e(398)][e(435)])return n[e(405)][e(415)](t)[e(395)];const u=1/(3*r);a.x*=u,a.y*=u;const l=i[e(433)](a);if(!n[e(404)](l))return n.BoundingSphere[e(415)](t)[e(395)];const c=t.reduce((t,n)=>{const i=e;return t+(this[i(388)](n)[i(418)]||0)},0)/t.length;if(Math.abs(c)<n[e(398)][e(393)])return l;const h=this[e(388)](l);return h[e(418)]=c,this[e(417)](h)}};function Me(t,e){const n=we();return(Me=function(t,e){return n[t-=470]})(t,e)}!function(t){const e=Me,n=t();for(;;)try{if(280016==parseInt(e(492))/1*(parseInt(e(498))/2)+parseInt(e(483))/3+parseInt(e(488))/4*(-parseInt(e(482))/5)+-parseInt(e(491))/6+-parseInt(e(493))/7+parseInt(e(489))/8*(parseInt(e(499))/9)+parseInt(e(481))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(we);const be={buildAngleResult(t,e,n=[]){const i=Me,s=this.getMeasurementSurfaceInfo(e,n),r=this[i(474)](t);return{type:i(495),title:this[i(484)]("angle",s.surfaceType),surfaceType:s[i(477)],surfaceLabel:s[i(471)],actualTerrain:s[i(476)],value:r,formattedValue:this[i(475)](r),displayPositions:t[i(470)](t=>this.cloneCartesian(t)),displaySegments:[[this[i(494)](t[0]),this[i(494)](t[1])],[this[i(494)](t[1]),this.cloneCartesian(t[2])]],labelPosition:t[1],pointCount:t[i(478)],points:t[i(470)](t=>this[i(490)](t))}},getAnglePreview(t){const e=Me;return t[e(478)]<3?{text:"",position:null}:{text:this[e(475)](this[e(474)](t)),position:t[1]}},calculateAngle(t){const e=Me,n=this[e(473)];if(t.length<3)return 0;const i=t[1],s=n.Cartesian3.normalize(n[e(485)][e(487)](t[0],i,new(n[e(485)])),new(n[e(485)])),r=n.Cartesian3[e(486)](n.Cartesian3[e(487)](t[2],i,new(n[e(485)])),new(n[e(485)])),o=n[e(472)][e(497)](n[e(485)][e(496)](s,r),-1,1);return n[e(472)][e(479)](Math[e(480)](o))}};function we(){const t=["angle","dot","clamp","4VGbhDZ","315OFvCni","map","surfaceLabel","Math","Cesium","calculateAngle","formatAngle","actualTerrain","surfaceType","length","toDegrees","acos","6230200bwFtzq","29005BbgtJf","640416JLSuzw","getMeasureTitle","Cartesian3","normalize","subtract","264eLefSZ","5032zXDZwf","serializePoint","1272384yXTQtk","276476zRmXoa","3755591SsNVoE","cloneCartesian"];return(we=function(){return t})()}function ve(){const t=["getMeasurementSurfaceInfo","Math","1049652vTAjNQ","latitude","36bfeUGk","3253430qsCqWC","formatDistance","getHeightDifferenceInfo","1341sOexWO","高差:","71298AdLhHt","height","cartographicToCartesian","234OAWhbH","cartesianToCartographic","isSamePosition","Cesium","60qCtjNs","positions","labelPosition","surfaceType","getMeasureTitle","midpoint","Cartesian3","abs","cloneCartesian","1458372GUbGmC","push","14056GoGrxo","190101VfLzWG","filter","EPSILON6","7CEdsZB","longitude","map","length","serializePoint","47nupAEG","3002769zwOevt","getMidpointPosition"];return(ve=function(){return t})()}function ye(t,e){const n=ve();return(ye=function(t,e){return n[t-=142]})(t,e)}!function(t){const e=ye,n=t();for(;;)try{if(895973==parseInt(e(172))/1*(parseInt(e(145))/2)+-parseInt(e(164))/3*(parseInt(e(179))/4)+-parseInt(e(180))/5+parseInt(e(161))/6*(parseInt(e(167))/7)+parseInt(e(163))/8*(parseInt(e(143))/9)+parseInt(e(152))/10*(-parseInt(e(173))/11)+parseInt(e(177))/12*(parseInt(e(148))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ve);const Ee={buildHeightResult(t,e,n=[]){const i=ye,s=this[i(175)](e,n),r=this[i(160)](t[0]),o=this.cloneCartesian(t[1]),a=this.buildHeightGuideShape(r,o),{heightDifference:u}=this[i(142)](r,o);return{type:"height",title:this[i(156)]("height",s.surfaceType),surfaceType:s[i(155)],surfaceLabel:s.surfaceLabel,actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(181)](u),displayPositions:a[i(153)],displaySegments:a.segments,labelPosition:a[i(154)],pointCount:t[i(170)],points:t[i(169)](t=>this[i(171)](t))}},getHeightPreview(t){const e=ye;if(t[e(170)]<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(142)](t[0],t[1]);return{text:e(144)+this[e(181)](i),position:n[e(154)]}},getHeightDifferenceInfo(t,e){const n=ye,i=this[n(149)](t),s=this.cartesianToCartographic(e),r=i[n(146)]||0,o=s.height||0;return{heightDifference:Math[n(159)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=ye;return this[n(151)][n(158)][n(157)](t,e,new(this[n(151)][n(158)]))},buildHeightGuideShape(t,e){const n=ye,i=this[n(151)],s=this[n(149)](t),r=this[n(149)](e),o=[t,this[n(147)]({longitude:r[n(168)],latitude:r[n(178)],height:s[n(146)]||0}),e][n(165)]((t,e,s)=>{const r=n;return 0===e||!this[r(150)](t,s[e-1],i[r(176)][r(166)])}),a=[];for(let t=0;t<o[n(170)]-1;t+=1)a[n(162)]([this[n(160)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(170)]>=3?this[n(174)](o[1],o[2]):this[n(174)](o[0],o[o[n(170)]-1]);return{positions:o[n(169)](t=>this[n(160)](t)),segments:a,labelPosition:u}}};function Re(t,e){const n=Te();return(Re=function(t,e){return n[t-=250]})(t,e)}!function(t){const e=Re,n=t();for(;;)try{if(553099==parseInt(e(300))/1+parseInt(e(297))/2*(parseInt(e(266))/3)+-parseInt(e(255))/4+-parseInt(e(289))/5*(-parseInt(e(262))/6)+-parseInt(e(310))/7+parseInt(e(268))/8*(-parseInt(e(295))/9)+-parseInt(e(296))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Te);const Ne={createPreviewEntities(t){const e=Re,n=this[e(279)],i=this[e(313)](t[e(306)]),s="height"===t[e(306)],r=void 0!==globalThis.document&&this[e(286)](t[e(306)]),o=this[e(307)](t[e(306)],i[e(260)]),a=this[e(307)](t[e(306)],i[e(260)],{depthFail:!0}),u=this[e(275)].entities[e(284)]({polyline:{positions:new(n[e(314)])(()=>this[e(294)](t[e(306)],this.getDynamicLinePositions(t),this.getSessionPreviewSurfaceInfo(t)[e(263)]),!1),width:4,clampToGround:this[e(253)](t[e(306)],this[e(298)](t)[e(263)]),material:o,depthFailMaterial:a}}),l=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],point:{pixelSize:10,color:i[e(276)],outlineColor:n[e(281)][e(274)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),c=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],label:{text:"",font:this[e(303)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(281)][e(274)],style:n[e(273)][e(311)],eyeOffset:this[e(259)],pixelOffset:s?new(n[e(271)])(-20,-8):this[e(258)],horizontalOrigin:s?n.HorizontalOrigin.RIGHT:n[e(272)][e(288)],verticalOrigin:s?n[e(312)][e(288)]:n.VerticalOrigin[e(308)],disableDepthTestDistance:Number[e(299)]},show:!1});t[e(264)]=u,t[e(293)]=l,t[e(291)]=c,r&&(u[e(280)]=!1),t[e(292)].push(u,l,c)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(291)])return t.surfaceMode===i(290)?(t[i(291)][i(280)]=!1,void(t.previewLabelEntity[i(301)][i(278)]="")):e&&n?(t[i(291)][i(269)]=n,t[i(291)].label[i(278)]=e,void(t[i(291)][i(280)]=!0)):(t[i(291)].show=!1,void(t.previewLabelEntity[i(301)][i(278)]=""))},showPreviewCursor(t,e){const n=Re;t[n(293)]&&(t[n(293)][n(269)]=e,t[n(293)][n(280)]=!0)},hidePreviewCursor(t){const e=Re;t[e(293)]&&(t[e(293)][e(280)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t.points[n(282)]<2)){for(;t[n(257)][n(282)]>=2;){const i=t[n(257)][t[n(257)].length-1],s=t[n(257)][t[n(257)][n(282)]-2];if(!this[n(309)](i,e)||!this[n(309)](s,e))break;t[n(257)][n(254)](),t[n(305)][n(254)]();const r=t[n(285)].pop();this[n(250)](r?[r]:[])}t[n(283)]=t[n(257)][n(265)](t=>this[n(287)](t)),t[n(302)]=t[n(305)].slice(),this[n(277)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(283)][e(282)]?t[e(306)]===e(267)&&t.dynamicPositions.length>1?this[e(251)](t[e(283)][0],t[e(283)][1])[e(270)]:t[e(306)]===e(261)&&t.dynamicPositions[e(282)]>1?[...t.dynamicPositions,t[e(283)][0]]:t[e(283)]:[]}};function Te(){const t=["dynamicSurfaceTypes","resultLabelFont","Cartesian3","pointSurfaceTypes","type","createLineMaterial","BOTTOM","isSamePosition","4881352FqLgTK","FILL","VerticalOrigin","getColorByType","CallbackProperty","removeEntities","buildHeightGuideShape","entities","shouldClampLineToGround","pop","2082992znKwIo","ZERO","points","resultLabelPixelOffset","labelEyeOffset","line","area","296766QeVIUB","surfaceType","previewLineEntity","map","15SujCEP","height","5810144MtoYui","position","positions","Cartesian2","HorizontalOrigin","LabelStyle","WHITE","viewer","point","updatePreviewLineClampState","text","Cesium","show","Color","length","dynamicPositions","add","pointEntities","shouldRenderLineViaOverlay","cloneCartesian","CENTER","70MnDpxq","auto","previewLabelEntity","previewEntities","previewPointEntity","getRenderableLinePositions","9PjGQVH","2217980eXNqZn","388982oIUFSY","getSessionPreviewSurfaceInfo","POSITIVE_INFINITY","1054340CpTtIa","label"];return(Te=function(){return t})()}function Se(t,e){const n=Le();return(Se=function(t,e){return n[t-=373]})(t,e)}function Le(){const t=["displaySegments","getValue","resultLabelCloseGap","isCloseButtonHit","left","updateCloseButtonHover","MOUSE_MOVE","devicePixelRatio","resultGroups","resultLabelPaddingBottom","applyCursorStyle","measureText","displayPositions","some","map","resultInteractionHandler","resultLabelPaddingTop","image/png","width","canvas","splice","Cesium","document","POSITIVE_INFINITY","toDataURL","lineTo","setInputAction","labelEyeOffset","createClosableLabelGraphic","wgs84ToWindowCoordinates","title","545072lUWXXx","textAlign","font","angle","shouldRenderLineViaOverlay","height","setCloseButtonHover","CENTER","resultLabelCloseSize","forEach","VerticalOrigin","terrain","area","hasClosableResults","length","closeRect","viewer","max","createElement","#ffffff","measureHasCloseButton","Cartesian3","fillStyle","background","surfaceType","ScreenSpaceEventHandler","measureGroupId","split","horizontal","clock","rgba(255, 255, 255, 0.16)","middle","findIndex","image","ScreenSpaceEventType","measurePixelOffset","result","createPointEntity","window","612VDYtev","removeResultGroup","push","getRenderableLinePositions","Cartesian2","WHITE","rgba(15, 23, 42, 0.92)","resultLabelFont","createResultLabelEntity","currentTime","2657106HuyjmR","activeMeasurement","LabelStyle","FILL","drawRoundedRect","defined","measureBillboardOrigin","145265lpsdNQ","HorizontalOrigin","createLineMaterial","scene","resultLabelPaddingX","measureBillboardSize","labelPosition","getCloseButtonEntityAt","notify","undefined","removeEntities","isHoveringCloseButton","function","type","entities","position","shouldClampLineToGround","8RoEPrw","216NfuvrC","fillText","#fde68a","1095533iDISLc","find","BOTTOM","fromCssColorString","line","resultLabelPixelOffset","handleResultCloseClick","scale","points","includes","fill","moveTo","LEFT_CLICK","Color","textBaseline","getEntityBillboardBounds","1795242SJsMml","1141406VyVkJw","RIGHT","callbacks","resultLabelLineHeight","getColorByType","measureCloseRect","refreshForegroundLineOverlayState","formattedValue","normalize","add","ceil"];return(Le=function(){return t})()}!function(t){const e=Se,n=t();for(;;)try{if(734698==-parseInt(e(492))/1+-parseInt(e(415))/2+parseInt(e(508))/3+parseInt(e(454))/4+-parseInt(e(471))/5*(-parseInt(e(489))/6)+parseInt(e(373))/7+parseInt(e(488))/8*(parseInt(e(464))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Le);const Pe={commitResult(t,e){const n=Se,i=this.Cesium,s=this[n(377)](t.type),r=[],o=typeof globalThis.document!==n(480)&&this[n(419)](t[n(484)]),a=this[n(473)](t[n(484)],s.line),u=this[n(473)](t[n(484)],s[n(496)],{depthFail:!0});if(t[n(484)]===n(427)){const t=e.surfaceType!==n(426)?e[n(396)][n(398)](t=>{const e=n,s=i[e(436)][e(381)](t,new(i[e(436)]));return i.Cartesian3[e(382)](t,i[e(436)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(436)]))}):e.displayPositions;r[n(456)](this[n(431)][n(485)][n(382)]({polygon:{hierarchy:t,material:s[n(502)],perPositionHeight:e[n(439)]!==n(426),classificationType:"terrain"===e.surfaceType?i.ClassificationType.TERRAIN:void 0,zIndex:e[n(439)]===n(426)?1:void 0}}))}if(!o){const s=e[n(384)]&&e[n(384)].length>0?e[n(384)]:["area"===t[n(484)]?[...e[n(396)],e.displayPositions[0]]:e.displayPositions];r[n(456)](...s.map(s=>this[n(431)][n(485)][n(382)]({polyline:{positions:new i.CallbackProperty(()=>this[n(457)](t[n(484)],s,e.surfaceType,{clipPoints:!0}),!1),width:4,clampToGround:this[n(487)](t[n(484)],e[n(439)]),material:a,depthFailMaterial:u}})))}return r[n(456)](...t[n(500)].map(t=>this[n(452)](t))),r[n(456)](this[n(462)](t,e,s)),r},createResultLabelEntity(t,e,n){const i=Se,s=this[i(405)],r=e[i(414)]+"\n"+e[i(380)],o=t.type===i(420);if(![i(429),"area",i(418),"height"][i(501)](t.type))return this.viewer.entities[i(382)]({position:e[i(477)],label:{text:r,font:this.resultLabelFont,showBackground:!0,backgroundColor:n.background,fillColor:s.Color[i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)][i(422)],verticalOrigin:s[i(425)].BOTTOM,disableDepthTestDistance:Number[i(407)]}});if(!globalThis[i(406)])return o?this[i(431)][i(485)].add({position:e[i(477)],label:{text:"高差:"+e[i(380)],font:"28px sans-serif",showBackground:!1,fillColor:s[i(505)][i(495)](i(491)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(505)][i(459)],outlineWidth:4,eyeOffset:this[i(411)],pixelOffset:new(s[i(458)])(-20,-8),horizontalOrigin:s.HorizontalOrigin.RIGHT,verticalOrigin:s[i(425)][i(422)],disableDepthTestDistance:Number[i(407)]}}):this[i(431)].entities.add({position:e[i(477)],label:{text:r,font:this[i(461)],showBackground:!0,backgroundColor:n[i(438)],fillColor:s[i(505)][i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)].CENTER,verticalOrigin:s.VerticalOrigin[i(494)],disableDepthTestDistance:Number[i(407)]}});const a=this[i(412)](o?"高差:"+e.formattedValue:r,n.background),u=o?new(s[i(458)])(-20,-8):this[i(497)],l=o?s[i(472)][i(374)]:s[i(472)].CENTER,c=o?s[i(425)][i(422)]:s[i(425)][i(494)],h=this[i(431)][i(485)][i(382)]({position:e.labelPosition,billboard:{image:a[i(448)],width:a.width,height:a[i(420)],horizontalOrigin:l,verticalOrigin:c,eyeOffset:this.labelEyeOffset,pixelOffset:u,disableDepthTestDistance:Number[i(407)]}});return h[i(441)]=t.id,h[i(435)]=!0,h[i(378)]=a[i(430)],h[i(476)]={width:a[i(402)],height:a[i(420)]},h[i(470)]={horizontal:l,vertical:c},h[i(450)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Se,i=t[n(442)]("\n").filter(t=>""!==t),s=i[n(429)]>0?i:[""],r=document[n(433)](n(403)),o=r.getContext("2d"),a=Math[n(432)](...s[n(398)](t=>{const e=n;return o.font=this.resultLabelFont,o[e(395)](t)[e(402)]})),u=Math[n(383)](2*this.resultLabelPaddingX+a+this[n(386)]+this[n(423)]),l=Math[n(383)](this[n(400)]+s.length*this[n(376)]+this[n(393)]),c=globalThis[n(453)]?.[n(391)]||1;r[n(402)]=Math[n(383)](u*c),r[n(420)]=Math.ceil(l*c),o[n(499)](c,c),o[n(417)]=this[n(461)],o[n(416)]="left",o[n(506)]=n(446),this[n(468)](o,0,0,u,l,10),o.fillStyle=e?.toCssColorString?.()||n(460),o[n(502)]();const h={x:u-this[n(475)]-this[n(423)],y:8,width:this[n(423)],height:this.resultLabelCloseSize};return this[n(468)](o,h.x,h.y,h[n(402)],h[n(420)],6),o.fillStyle=n(445),o[n(502)](),o.beginPath(),o.strokeStyle="rgba(255, 255, 255, 0.96)",o.lineWidth=1.6,o[n(503)](h.x+5,h.y+5),o[n(409)](h.x+h.width-5,h.y+h[n(420)]-5),o[n(503)](h.x+h[n(402)]-5,h.y+5),o[n(409)](h.x+5,h.y+h[n(420)]-5),o.stroke(),o[n(437)]=n(434),s[n(424)]((t,e)=>{const i=n,s=this[i(400)]+(e+.5)*this[i(376)];o[i(490)](t,this.resultLabelPaddingX,s)}),{image:r[n(408)](n(401)),width:u,height:l,closeRect:h}},initResultInteractionHandler(){const t=Se,e=this[t(405)];this[t(399)]=new(e[t(440)])(this.viewer[t(474)][t(403)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()?this[n(389)](e.endPosition):this.setCloseButtonHover(!1)},e[t(449)][t(390)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()&&(this[n(465)]||this[n(498)](e.position))},e.ScreenSpaceEventType[t(504)])},handleResultCloseClick(t){const e=Se,n=this[e(478)](t);if(!n||!n[e(435)])return!1;const i=this[e(455)](n[e(441)]);return i&&this[e(421)](!1),i},updateCloseButtonHover(t){const e=Se,n=this[e(478)](t),i=Boolean(n&&n[e(435)]);this[e(421)](i)},setCloseButtonHover(t){const e=Se;this.isHoveringCloseButton!==t&&(this[e(482)]=t,this[e(394)]())},hasClosableResults(){const t=Se;return this[t(392)][t(397)](e=>["length","area",t(418),"height"][t(501)](e?.[t(451)]?.[t(484)]))},getCloseButtonEntityAt(t){const e=Se;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(485)]?.[e(493)](t=>t?.[e(435)]);if(i&&this[e(387)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Se,i=this[n(507)](t),s=t[n(378)];if(!i||!s)return!1;const r=e.x-i[n(388)],o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(402)]&&o>=s.y&&o<=s.y+s[n(420)]},getEntityBillboardBounds(t){const e=Se,n=this[e(405)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(413)](this[e(431)][e(474)],i);if(!n[e(469)](s))return null;const r=t.measureBillboardSize,o=t[e(450)]||{x:0,y:0},a=t[e(470)]||{horizontal:n[e(472)][e(422)],vertical:n.VerticalOrigin[e(494)]};let u=s.x+o.x;a.horizontal===n[e(472)].CENTER?u-=r[e(402)]/2:a[e(443)]===n.HorizontalOrigin[e(374)]&&(u-=r[e(402)]);let l=s.y+o.y;return a.vertical===n[e(425)][e(422)]?l-=r[e(420)]/2:a.vertical===n[e(425)][e(494)]&&(l-=r[e(420)]),{left:u,top:l,width:r[e(402)],height:r[e(420)]}},getEntityPosition(t){const e=Se;return t?.[e(486)]?"function"==typeof t[e(486)].getValue?t.position[e(385)](this[e(431)][e(444)][e(463)]):t[e(486)]:null},removeResultGroup(t,e={}){const n=Se,i=this[n(392)][n(447)](e=>e.id===t);if(-1===i)return!1;const[s]=this.resultGroups[n(404)](i,1);return this[n(481)](s[n(485)]),!1!==e[n(479)]&&typeof s[n(375)]?.onRemove===n(483)&&s[n(375)].onRemove(s[n(451)]),this[n(379)](),!0}},De=ke;function ke(t,e){const n=Be();return(ke=function(t,e){return n[t-=125]})(t,e)}function Be(){const t=["scene","reverse","ellipsoid","drawingBufferWidth","1174134CSQjYI","map","height","cartographicToCartesian","min","POSITIVE_INFINITY","fromCssColorString","944075hZOWZY","</svg>","#22c55e",'" cy="',"#f43f5e","#fb923c","shouldLiftLineAboveSurface","data:image/svg+xml;charset=utf-8,","#9a3412","PolylineOutlineMaterialProperty","4315650yYsoAE","cloneCartesian","trimPolylineFromStart","HorizontalOrigin","angle","lineTo","withAlpha","entities","add","Cartesian3","#0ea5e9","#0369a1","EPSILON7","CENTER","slice","depthFail","VerticalOrigin","moveTo","WHITE","drawingBufferHeight","Math","3567952mClhrp","359752VRhJVO","Color","#9f1239",'" viewBox="0 0 ',"isFinite","Cesium","distance","BoundingSphere","2826246YHMZzu","cartesianToCartographic","quadraticCurveTo","#4ade80","length","context",'<svg xmlns="http://www.w3.org/2000/svg" width="',"#38bdf8","pointMarkerImage","camera","pointMarkerSize","11731657OVuwyI","lerp","viewer","getPointClippedSegmentPositions","area","liftLinePositionsAboveSurface","#e11d48",'" r="',"clipPoints"];return(Be=function(){return t})()}!function(t){const e=ke,n=t();for(;;)try{if(501195==-parseInt(e(150))/1+-parseInt(e(182))/2+parseInt(e(143))/3+parseInt(e(181))/4+-parseInt(e(160))/5+-parseInt(e(190))/6+parseInt(e(130))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Be);const Oe={getPointClippedSegmentPositions(t){const e=ke;if(!t||t[e(194)]<2)return t||[];const n=this.calculateCartesianDistance(t);if(n<=this[e(187)][e(180)][e(172)])return t;const i=this.getPointClipWorldDistance(t[0]),s=this.getPointClipWorldDistance(t[t[e(194)]-1]),r=n-.05;if(r<=0)return[];const o=Math[e(147)](i,.5*r),a=Math[e(147)](s,.5*r),u=this[e(162)](t,o);return u.length<2?[]:this.trimPolylineFromEnd(u,a)},getRenderableLinePositions(t,e,n=De(141),i={}){const s=De;if(!Array.isArray(e)||0===e.length)return[];const r=this[s(156)](t,n)?this[s(135)](e):e[s(144)](t=>this[s(161)](t));return i[s(138)]?this[s(133)](r):r},shouldLiftLineAboveSurface:(t,e=De(141))=>!1,liftLinePositionsAboveSurface(t,e=1.5){return t[De(144)](t=>this.liftPositionAboveSurface(t,e))},liftPositionAboveSurface(t,e=1.5){const n=De,i=this[n(191)](t);return i?(i[n(145)]=(i.height||0)+e,this[n(146)](i)):this[n(161)](t)},getPointClipWorldDistance(t){const e=De,n=this[e(187)],i=this.viewer[e(139)][e(195)],s=new(n[e(189)])(t,1),r=this[e(132)][e(128)].getPixelSize(s,i[e(142)],i[e(179)]);return!Number[e(186)](r)||r<=0?0:r*this.pointClipPixelRadius},trimPolylineFromStart(t,e){const n=De,i=this[n(187)];if(e<=0)return t[n(144)](t=>this[n(161)](t));let s=e;for(let e=0;e<t[n(194)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(169)][n(188)](r,o);if(s<a){const u=s/a;return[i[n(169)][n(131)](r,o,u,new(i[n(169)])),...t[n(174)](e+1)[n(144)](t=>this.cloneCartesian(t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=De;if(e<=0)return t[n(144)](t=>this[n(161)](t));const i=t[n(174)]().reverse();return this.trimPolylineFromStart(i,e)[n(140)]()},shouldClampLineToGround(t,e="ellipsoid"){const n=De;return("length"===t||t===n(134))&&e!==n(139)},createPointEntity(t){const e=De,n=this[e(187)];return this[e(132)][e(167)][e(168)]({position:t,billboard:{image:this[e(127)],width:this[e(129)],height:this[e(129)],horizontalOrigin:n[e(163)][e(173)],verticalOrigin:n[e(176)].CENTER,disableDepthTestDistance:Number[e(148)],eyeOffset:new n.Cartesian3(0,0,-8)}})},createPointMarkerImage(){const t=De,e=this[t(129)],n=e/2,i=[t(125)+e+'" height="'+e+t(185)+e+" "+e+'">','<circle cx="'+n+t(153)+n+t(137)+'7" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',t(151)].join("");return t(157)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=De,a=Math[o(147)](r,i/2,s/2);t.beginPath(),t[o(177)](e+a,n),t.lineTo(e+i-a,n),t[o(192)](e+i,n,e+i,n+a),t[o(165)](e+i,n+s-a),t.quadraticCurveTo(e+i,n+s,e+i-a,n+s),t[o(165)](e+a,n+s),t[o(192)](e,n+s,e,n+s-a),t[o(165)](e,n+a),t[o(192)](e,n,e+a,n),t.closePath()},getColorByType(t){const e=De,n=this[e(187)];return{length:{line:n.Color[e(149)](e(126)),point:n.Color[e(149)](e(170)),fill:n[e(183)].fromCssColorString("#38bdf8")[e(166)](.18),background:n.Color[e(149)](e(171))[e(166)](.88)},area:{line:n.Color[e(149)](e(155)),point:n[e(183)][e(149)]("#f97316"),fill:n[e(183)][e(149)](e(155))[e(166)](.28),background:n[e(183)][e(149)](e(158))[e(166)](.88)},angle:{line:n[e(183)][e(149)](e(193)),point:n[e(183)][e(149)](e(152)),fill:n[e(183)][e(149)](e(193))[e(166)](.18),background:n[e(183)][e(149)]("#166534")[e(166)](.88)},height:{line:n[e(183)][e(149)](e(154)),point:n[e(183)][e(149)](e(136)),fill:n[e(183)].fromCssColorString(e(154))[e(166)](.18),background:n[e(183)].fromCssColorString(e(184))[e(166)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=De;if(![i(145),i(164)].includes(t))return e;const s=this[i(187)];return new(s[i(159)])({color:e,outlineColor:s[i(183)][i(178)].withAlpha(n[i(175)]?.96:.82),outlineWidth:n[i(175)]?2:1})}};function Ge(){const t=["zIndex","type","533212ygGFMJ","label","pixelOffset","ceil","rgba(255, 255, 255, 0.94)","drawForegroundLinePath","max","currentTime","activeMeasurement","isFinite","absolute","verticalOrigin","stroke","length","Cesium","collectForegroundLinePaths","map","displaySegments","round","lineTo","getDynamicLinePositions","getEntityPosition","undefined","clearRect","true","syncForegroundLineOverlaySize","getColorByType","reduce","foregroundLineCanvas","match","getContext","24nApwPf","inset","buildOverlayMaskRect","position","toCssColorString","14px sans-serif","radius","removeEventListener","estimateLabelMaskSize","HorizontalOrigin","result","foregroundLineOverlayBound","isArray","show","shouldUseForegroundLineOverlay","billboard","container","punchForegroundLabelMasks","wgs84ToWindowCoordinates","includes","beginPath","1964320IZcOTu","addEventListener","destination-out","getValue","fill","BOTTOM","buildForegroundPathsByType","appendChild","entities","VerticalOrigin","foregroundLineContext","scene","initForegroundLineOverlay","1599315jVmVTT","measureHasCloseButton","previewLabelEntity","measureBillboardOrigin","CENTER","aria-hidden","canvas","3240288KtcPGc","measurePixelOffset","foregroundLineOverlayActive","#000000","horizontal","removeChild","9HPmdrd","measureBillboardSize","horizontalOrigin","none","find","clientWidth","1tbShox","display","clientHeight","width","defined","postRender","projectCartesianToOverlay","push","fillStyle","drawRoundedRect","devicePixelRatio","paddingY","isPreview","542717FBlsHB","style","top","save","resultGroups","resultLabelFont","viewer","parentNode","area","font","displayPositions","strokeStyle","getForegroundOverlayLineTypes","moveTo","getPointClippedSegmentPositions","restore","setTransform","some","left","7211420vTfDEY","shouldRenderLineViaOverlay","lineJoin","746178hOLGnB","resolveGraphicDynamicValue","forEach","height","cloneCartesian","split"];return(Ge=function(){return t})()}function xe(t,e){const n=Ge();return(xe=function(t,e){return n[t-=167]})(t,e)}!function(t){const e=xe,n=t();for(;;)try{if(564647==-parseInt(e(229))/1*(-parseInt(e(264))/2)+parseInt(e(176))/3*(-parseInt(e(272))/4)+parseInt(e(210))/5+parseInt(e(217))/6+-parseInt(e(242))/7+-parseInt(e(197))/8+parseInt(e(223))/9*(parseInt(e(261))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ge);const ze={initForegroundLineOverlay(){const t=xe;if(typeof document!==t(167)&&this[t(248)].container&&!this[t(219)]){if(!this[t(173)]||!this[t(207)]){const e=document.createElement("canvas");e.setAttribute(t(215),t(169)),e[t(243)][t(179)]=t(282),e[t(243)][t(177)]="0",e.style.pointerEvents=t(226),e.style[t(270)]="10",e[t(243)][t(230)]="none",this[t(248)][t(192)][t(204)](e),this[t(173)]=e,this[t(207)]=e[t(175)]("2d")}this[t(248)][t(208)][t(234)][t(198)](this[t(187)]),this[t(219)]=!0,this[t(170)]()}},destroyForegroundLineOverlay(){const t=xe;this[t(219)]&&this[t(248)]?.[t(208)]?.[t(234)]&&this[t(187)]&&this[t(248)][t(208)].postRender[t(183)](this[t(187)]),this[t(173)]?.[t(249)]&&this[t(173)][t(249)][t(222)](this[t(173)]),this[t(173)]=null,this.foregroundLineContext=null,this.foregroundLineOverlayActive=!1},getForegroundOverlayLineTypes(){const t=xe;return[t(285),t(250),"angle","height"]},shouldRenderLineViaOverlay(t){const e=xe;return this[e(254)]()[e(195)](t)},refreshForegroundLineOverlayState(){const t=xe;this[t(190)]()?this[t(209)]():this.destroyForegroundLineOverlay()},shouldUseForegroundLineOverlay(){const t=xe;return!!this[t(262)](this[t(280)]?.[t(271)])||this[t(246)][t(259)](e=>this[t(262)](e?.[t(186)]?.[t(271)]))},syncForegroundLineOverlaySize(){const t=xe,e=this[t(173)],n=this.foregroundLineContext,i=this.viewer[t(192)];if(!e||!n||!i)return null;const s=Math[t(278)](1,Math.round(i[t(228)]||this[t(248)][t(216)][t(228)]||1)),r=Math[t(278)](1,Math[t(290)](i[t(231)]||this[t(248)][t(216)][t(231)]||1)),o=globalThis[t(239)]||1,a=Math[t(278)](1,Math[t(290)](s*o)),u=Math[t(278)](1,Math.round(r*o));return(e[t(232)]!==a||e[t(267)]!==u)&&(e[t(232)]=a,e[t(267)]=u,e.style.width=s+"px",e.style[t(267)]=r+"px"),n[t(258)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=xe,e=[],n=this.getForegroundOverlayLineTypes();return n[t(195)](this[t(280)]?.[t(271)])&&this.activeMeasurement.dynamicPositions[t(285)]>1&&e[t(236)](...this[t(203)](this.activeMeasurement[t(271)],this[t(292)](this.activeMeasurement))),this[t(246)][t(266)](i=>{const s=t;i?.[s(186)]&&n[s(195)](i.result[s(271)])&&e[s(236)](...this[s(203)](i[s(186)][s(271)],i[s(186)][s(252)],i[s(186)][s(289)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=xe,s=this[i(171)](t)?.line;return s?(t===i(267)?[this[i(256)](e)]:n&&n[i(285)]>0?n.map(t=>this.getPointClippedSegmentPositions(t)):this.buildLineSegmentsFromPositions(e)[i(288)](t=>this[i(256)](t))).filter(t=>Array.isArray(t)&&t[i(285)]>1)[i(288)](t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=xe,n=[];for(let i=0;i<t[e(285)]-1;i+=1)n[e(236)]([this[e(268)](t[i]),this[e(268)](t[i+1])]);return n},renderForegroundLineOverlay(){const t=xe,e=this[t(173)],n=this[t(207)];if(!e||!n)return;const i=this[t(170)]();if(!i)return;const s=this[t(287)]();if(e[t(243)][t(230)]=s[t(285)]>0?"block":t(226),n[t(168)](0,0,i[t(232)],i[t(267)]),0===s[t(285)])return;s.forEach(e=>{const i=t;this[i(277)](n,e.positions,e.color,e[i(232)])});const r=this.collectForegroundLabelMasks();this[t(193)](n,r)},drawForegroundLinePath(t,e,n,i=4){const s=xe,r=[];let o=[];e[s(266)](t=>{const e=s,n=this[e(235)](t);if(!n)return o[e(285)]>1&&r[e(236)](o),void(o=[]);o[e(236)](n)}),o[s(285)]>1&&r[s(236)](o),0!==r[s(285)]&&(t[s(245)](),t[s(263)]=s(290),t.lineCap=s(290),r.forEach(e=>{const r=s;t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=r(276),t.lineWidth=i+3,t.stroke(),t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=n[r(180)](),t.lineWidth=i,t[r(284)]()}),t[s(257)]())},collectForegroundLabelMasks(){const t=xe,e=[],n=(t,n={})=>{const i=this.getForegroundLabelMask(t,n);i&&e.push(i)};return this[t(280)]?.[t(212)]?.[t(189)]&&n(this[t(280)][t(212)],{isPreview:!0}),this[t(246)][t(266)](e=>{const i=t;if(!e?.entities||0===e[i(205)].length)return;const s=e[i(205)][i(227)](t=>t?.[i(211)]||t?.[i(273)]);s&&!1!==s[i(189)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=xe,i=this.Cesium;if(!t||!1===t[n(189)])return null;const s=this[n(293)](t),r=this[n(235)](s);if(!r)return null;let o=e[n(241)]?112:124,a=e[n(241)]?34:38,u=i[n(185)][n(214)],l=i.VerticalOrigin[n(202)],c={x:0,y:0};if(t[n(211)]&&t.measureBillboardSize)o=t[n(224)][n(232)],a=t[n(224)][n(267)],u=t[n(213)]?.[n(221)]??i[n(185)].CENTER,l=t[n(213)]?.vertical??i[n(206)][n(202)],c=t[n(218)]||c;else if(t[n(191)]){const e=t.billboard;o=Number(this[n(265)](e[n(232)],o))||o,a=Number(this[n(265)](e[n(267)],a))||a,u=this[n(265)](e.horizontalOrigin,u),l=this[n(265)](e[n(283)],l);const i=this[n(265)](e[n(274)],null);i&&(c={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(273)],s=String(this.resolveGraphicDynamicValue(i.text,"")),r=String(this[n(265)](i[n(251)],this[n(247)]||n(181))),h=this[n(184)](s,r,e[n(241)]);o=h[n(232)],a=h[n(267)],u=this[n(265)](i[n(225)],u),l=this[n(265)](i[n(283)],l);const p=this[n(265)](i.pixelOffset,null);p&&(c={x:p.x||0,y:p.y||0})}}return this[n(178)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:l,pixelOffset:c,paddingX:e[n(241)]?8:10,paddingY:e[n(241)]?6:8,radius:e[n(241)]?10:12})},resolveGraphicDynamicValue(t,e){const n=xe;return t&&"function"==typeof t[n(200)]?t[n(200)](this[n(248)].clock[n(279)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=xe,s=String(t||"")[i(269)]("\n"),r=s[i(172)]((t,e)=>Math[i(278)](t,e[i(285)]),0),o=String(e||"")[i(174)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(278)](n?96:112,Math[i(275)](r*a*.64+(n?20:26))),height:Math[i(278)](n?30:34,Math[i(275)](s[i(285)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=xe,i=this.Cesium,s=Math[n(278)](1,Number(e.width)||1),r=Math[n(278)](1,Number(e[n(267)])||1),o=Number(e[n(274)]?.x)||0,a=Number(e[n(274)]?.y)||0;let u=t.x+o;e[n(225)]===i.HorizontalOrigin.CENTER?u-=s/2:e.horizontalOrigin===i[n(185)].RIGHT&&(u-=s);let l=t.y+a;e[n(283)]===i[n(206)][n(214)]?l-=r/2:e[n(283)]===i[n(206)][n(202)]&&(l-=r);const c=Number(e.paddingX)||0,h=Number(e[n(240)])||0;return{left:u-c,top:l-h,width:s+2*c,height:r+2*h,radius:Number(e[n(182)])||10}},punchForegroundLabelMasks(t,e){const n=xe;Array[n(188)](e)&&0!==e.length&&(t[n(245)](),t.globalCompositeOperation=n(199),t[n(237)]=n(220),e[n(266)](e=>{const i=n;!e||e.width<=0||e[i(267)]<=0||(this[i(238)](t,e[i(260)],e[i(244)],e.width,e[i(267)],e[i(182)]),t[i(201)]())}),t[n(257)]())},projectCartesianToOverlay(t){const e=xe,n=this[e(286)];if(!t)return null;const i=n.SceneTransforms[e(194)](this[e(248)][e(208)],t);return n[e(233)](i)&&Number.isFinite(i.x)&&Number[e(281)](i.y)?{x:i.x,y:i.y}:null}},Ze=Ye;function Ye(t,e){const n=je();return(Ye=function(t,e){return n[t-=423]})(t,e)}!function(t){const e=Ye,n=t();for(;;)try{if(374154==parseInt(e(432))/1+-parseInt(e(478))/2+parseInt(e(447))/3+parseInt(e(523))/4+parseInt(e(423))/5+parseInt(e(465))/6+parseInt(e(509))/7*(-parseInt(e(529))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(je);const Fe={getPickedPosition(t,e=Ze(463),n={}){const i=Ze,s=this[i(464)];if(!t)return null;const r=n?.[i(460)]===i(480)?i(480):i(482),o=e!==i(463),a=r===i(482)&&o,u=r===i(480)&&o,l=this[i(472)].scene,c=()=>{const e=i;if(!l.pickPositionSupported)return null;const n=this[e(493)](()=>{const n=e;l.render();const i=l.pick(t);if(!this[n(435)](i))return null;const r=l[n(506)](t);return s.defined(r)?r:null});return s.defined(n)?{position:n,surfaceType:e(450)}:null},h=()=>{const e=i;if("function"!=typeof l[e(468)])return null;const n=this[e(472)].camera[e(462)](t);if(!s.defined(n))return null;const r=this[e(493)](()=>{const t=e;l.render();const i=l[t(468)](n);return i&&this[t(435)](i.object)&&s[t(473)](i[t(429)])?i[t(429)]:null});return s[e(473)](r)?{position:r,surfaceType:e(450)}:null},p=()=>(r===i(480)||a)&&h()||c(),d=()=>{const e=i;if(!this[e(528)]())return null;const n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;const r=l[e(424)].pick(n,l);return s[e(473)](r)?{position:r,surfaceType:e(430)}:null},m=()=>{const e=i,n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;if(!s[e(445)]||typeof s[e(445)][e(425)]!==e(501))return null;const r=s.IntersectionTests[e(425)](n,l.globe[e(467)]);if(!s[e(473)](r))return null;const o=r[e(533)]>=0?r[e(533)]:r[e(495)];if(!s[e(473)](o)||o<0)return null;const a=s[e(448)][e(436)](n,o);return s[e(473)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(467)}:null},f=()=>{const e=i,n=this[e(472)][e(479)][e(449)](t,l[e(424)].ellipsoid);return s[e(473)](n)?{position:this.projectToEllipsoidSurface(n),surfaceType:"ellipsoid"}:null},g=()=>(a||u)&&m()||f();if(o)switch(e){case"scene":return p();case i(430):return d();case i(467):return g()}return p()||d()||g()},async getPickedPositionFinal(t,e=Ze(463)){const n=Ze,i=this[n(464)];if(!t)return null;const s=this[n(472)].scene,r=async()=>{const e=n;if(typeof s[e(505)]!==e(501))return null;const r=this[e(472)].camera[e(462)](t);if(!i[e(473)](r))return null;try{const t=await this[e(486)](async()=>{const t=e;s[t(520)]();const n=await s.pickFromRayMostDetailed(r);return n&&this[t(435)](n[t(469)])&&i[t(473)](n[t(429)])?n[t(429)]:null});return i[e(473)](t)?{position:t,surfaceType:e(450)}:null}catch{return null}};switch(e){case"terrain":return this[n(489)](t,n(430),{pickStage:n(480)});case n(467):return this[n(489)](t,"ellipsoid",{pickStage:"final"});case n(450):return await r()||this[n(489)](t,n(450),{pickStage:n(480)});case n(463):default:return await r()||this[n(489)](t,"auto",{pickStage:n(480)})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this[e(472)][e(450)];return this[e(493)](()=>n[e(507)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this[e(457)];if(!n||typeof t!==e(501))return typeof t===e(501)?t():null;const i=[];[n[e(502)],n.previewPointEntity,n.previewLabelEntity,...Array[e(516)](n[e(452)])?n.pointEntities:[]][e(515)](Boolean)[e(539)](t=>{const n=e,s=t[n(532)];!1!==s&&(i[n(494)]({entity:t,originalShow:s}),t[n(532)]=!1)});try{return t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(457)];if(!n||"function"!=typeof t)return typeof t===e(501)?t():null;const i=[];[n.previewLineEntity,n[e(441)],n[e(508)],...Array[e(516)](n[e(452)])?n[e(452)]:[]][e(515)](Boolean).forEach(t=>{const n=t[e(532)];!1!==n&&(i.push({entity:t,originalShow:n}),t.show=!1)});try{return await t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this[e(464)];if(!n[e(473)](t))return!1;const i=t[e(518)];if(typeof n.Cesium3DTileFeature!==e(498)&&t instanceof n[e(483)])return!0;if(typeof n.Cesium3DTilePointFeature!==e(498)&&t instanceof n[e(510)])return!0;if(typeof n[e(456)]!==e(498)&&i instanceof n[e(456)])return!0;if(void 0!==n[e(513)]&&i instanceof n[e(513)])return!0;if(n[e(473)](t[e(503)])||n[e(473)](t[e(540)]?.[e(503)]))return!0;if(typeof n.Entity!==e(498)){if(t.id instanceof n[e(459)])return!1;if(i?.id instanceof n[e(459)])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.length,r=(await this.sampleSegment(t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(434)](t=>this[e(530)](t));n[e(426)]>0&&r.shift(),n[e(494)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e.closed)?t[n(426)]:Math.max(0,t[n(426)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t[n(426)]],u=(await this[n(537)](i,a,e)).map(t=>this[n(530)](t));s[n(494)](u),r[n(426)]>0?r.push(...u[n(428)](1)):r[n(494)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this.Cesium,r=this.cartesianToCartographic(t),o=this[i(487)](e),a=new(s[i(535)])(r,o),u=Number[i(538)](a[i(458)])?a[i(458)]:0,l=n[i(491)]||30,c=n[i(497)]||120,h=Math[i(492)](1,Math.min(c,Math[i(485)](u/l))),p=[];for(let t=0;t<=h;t+=1){const e=0===h?0:t/h;let n;n=u>0?a[i(444)](e):new s.Cartographic(r[i(536)],r[i(512)],r[i(481)]||0),n[i(481)]=s[i(474)][i(442)](r[i(481)]||0,o[i(481)]||0,e),p[i(494)](n)}return n[i(531)]&&this[i(528)]()&&await s.sampleTerrainMostDetailed(this[i(472)][i(519)],p),p},calculateCartesianDistance(t){const e=Ze,n=this[e(464)];if(t.length<2)return 0;let i=0;for(let s=0;s<t[e(426)]-1;s+=1)i+=n[e(525)].distance(t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number.isFinite(t)?t>=1e3?(t/1e3).toFixed(3)+e(427):t[e(522)](2)+" m":"0.00 m"},formatArea(t){const e=Ze;return Number[e(538)](t)?t>=1e6?(t/1e6)[e(522)](3)+e(526):t[e(522)](2)+e(490):e(527)},formatAngle(t){const e=Ze;return Number.isFinite(t)?t[e(522)](2)+"°":e(477)},hasTerrainProvider(){const t=Ze;return!(this.viewer[t(519)]instanceof this[t(464)].EllipsoidTerrainProvider)},cartesianToCartographic(t){const e=Ze;return this[e(464)][e(451)][e(461)](t,this[e(472)][e(450)][e(424)][e(467)])},cartographicToCartesian(t){const e=Ze;return this[e(464)].Cartesian3[e(431)](t[e(536)],t.latitude,t[e(481)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(487)](t);return n[e(481)]=0,this[e(530)](n)},cloneCartesian(t){return this[Ze(464)].Cartesian3.clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this[i(464)][i(525)].distance(t,e)<=n},serializePoint(t){const e=Ze,n=this[e(464)],i=this[e(487)](t);return{longitude:Number(n[e(474)][e(524)](i[e(536)])[e(522)](6)),latitude:Number(n[e(474)][e(524)](i[e(512)]).toFixed(6)),height:Number((i[e(481)]||0)[e(522)](2))}},removeEntities(t=[]){t.forEach(t=>{const e=Ye;t&&this[e(472)][e(438)][e(504)](t)})},destroyHandler(){const t=Ze;this[t(455)](),this[t(488)]&&"function"==typeof globalThis[t(466)]?.[t(437)]&&(globalThis[t(466)][t(437)](t(454),this[t(488)]),this[t(488)]=null),this[t(433)]&&(this[t(433)][t(521)](),this[t(433)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(501)&&("function"==typeof globalThis[e(476)]?(this.pendingMoveCallback=t,null===this[e(443)]&&(this[e(443)]=globalThis[e(476)](()=>{const t=e;this[t(443)]=null;const n=this.pendingMoveCallback;this[t(471)]=null,typeof n===t(501)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this.Cesium;if(!e||typeof n!==i(501))return;const r=s[i(511)][i(500)](e);this[i(514)](()=>{const e=i;t&&!t[e(446)]&&this[e(457)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this[t(443)]&&typeof globalThis[t(470)]===t(501)&&globalThis.cancelAnimationFrame(this[t(443)]),this[t(443)]=null,this[t(471)]=null},destroyResultInteractionHandler(){const t=Ze;this.resultInteractionHandler&&(this[t(440)][t(521)](),this[t(440)]=null),this[t(496)](!1)},setCursor(t){const e=Ze;this[e(472)].canvas&&(this[e(439)]=t,this[e(484)]())},applyCursorStyle(){const t=Ze;this[t(472)][t(534)]&&(this.isHoveringCloseButton?this[t(472)][t(534)][t(517)][t(541)]=t(499):this[t(472)][t(534)][t(517)][t(541)]=this[t(439)]?t(475):this[t(453)])}};function je(){const t=["IntersectionTests","cancelled","1974273sQhhQX","Ray","pickEllipsoid","scene","Cartographic","pointEntities","defaultCursor","keydown","cancelScheduledMouseMoveWork","Cesium3DTileset","activeMeasurement","surfaceDistance","Entity","pickStage","fromCartesian","getPickRay","auto","Cesium","681912kdWvFO","window","ellipsoid","pickFromRay","object","cancelAnimationFrame","pendingMoveCallback","viewer","defined","Math","crosshair","requestAnimationFrame","0.00°","10070kZKBBv","camera","final","height","preview","Cesium3DTileFeature","applyCursorStyle","ceil","withHiddenActiveMeasurementEntitiesAsync","cartesianToCartographic","measureKeydownHandler","getPickedPosition"," m²","step","max","withHiddenActiveMeasurementEntities","push","stop","setCloseButtonHover","maxSamples","undefined","pointer","clone","function","previewLineEntity","tileset","remove","pickFromRayMostDetailed","pickPosition","pick","previewLabelEntity","118027TwbHfo","Cesium3DTilePointFeature","Cartesian2","latitude","Model","scheduleMouseMoveWork","filter","isArray","style","primitive","terrainProvider","render","destroy","toFixed","1277444CinZYV","toDegrees","Cartesian3"," km²","0.00 m²","hasTerrainProvider","824LjLGzN","cartographicToCartesian","withTerrain","show","start","canvas","EllipsoidGeodesic","longitude","sampleSegment","isFinite","forEach","content","cursor","3650020VDuWaF","globe","rayEllipsoid","length"," km","slice","position","terrain","fromRadians","294764JBohQE","handler","map","isSceneSurfacePickObject","getPoint","removeEventListener","entities","measureCursorActive","resultInteractionHandler","previewPointEntity","lerp","pendingMoveFrameId","interpolateUsingFraction"];return(je=function(){return t})()}var He=Qe;function Ue(){var t=["5Smkctt","Cartesian3","pendingMoveFrameId","pointMarkerSize","2000780ZBNEVD","foregroundLineOverlayActive","resultGroups","14px sans-serif","resultInteractionHandler","resultLabelFont","949991WHetXP","301396nuvZTN","resultLabelLineHeight","foregroundLineCanvas","defaultCursor","resultLabelPaddingX","measureKeydownHandler","cursor","pointMarkerImage","resultLabelCloseGap","startAngleMeasure","measureCursorActive","Cesium","isHoveringCloseButton","9771957aQAQSL","startLengthMeasure","initResultInteractionHandler","resultLabelPaddingTop","handler","MeasureTools requires a Cesium viewer.","bind","3673176tzzRKa","prototype","angle","startHeightMeasure","pointClipPixelRadius","startMeasure","activeMeasurement","labelEyeOffset","30gZHVJu","1197165jFvBoV","foregroundLineOverlayBound","3527396NkOkaJ"];return(Ue=function(){return t})()}function Qe(t,e){var n=Ue();return(Qe=function(t,e){return n[t-=161]})(t,e)}!function(t){for(var e=Qe,n=t();;)try{if(723281==-parseInt(e(187))/1+parseInt(e(180))/2+-parseInt(e(173))/3+-parseInt(e(175))/4*(parseInt(e(176))/5)+-parseInt(e(172))/6*(-parseInt(e(186))/7)+-parseInt(e(164))/8+parseInt(e(200))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ue);class Ve{constructor(t){var e=Qe;if(!t)throw new Error(e(162));if(this.viewer=t,this[e(198)]=globalThis[e(198)],!this[e(198)])throw new Error("Cesium global is unavailable.");this[e(161)]=null,this[e(192)]=null,this[e(184)]=null,this[e(170)]=null,this[e(182)]=[],this[e(190)]=this.viewer.canvas?.style?.[e(193)]||"",this[e(179)]=18,this[e(168)]=10,this[e(185)]=e(183),this[e(188)]=20,this[e(191)]=12,this[e(203)]=10,this.resultLabelPaddingBottom=10,this.resultLabelCloseSize=18,this[e(195)]=8,this.resultLabelPixelOffset=new(this[e(198)].Cartesian2)(0,-24),this[e(171)]=new(this[e(198)][e(177)])(0,0,-10),this[e(197)]=!1,this[e(199)]=!1,this[e(178)]=null,this.pendingMoveCallback=null,this[e(189)]=null,this.foregroundLineContext=null,this[e(181)]=!1,this[e(174)]=this.renderForegroundLineOverlay[e(163)](this),this[e(194)]=this.createPointMarkerImage(),this[e(202)]()}[He(201)](t={}){return this[He(169)]("length",t)}startAreaMeasure(t={}){return this[He(169)]("area",t)}[He(196)](t={}){var e=He;return this[e(169)](e(166),t)}[He(167)](t={}){return this[He(169)]("height",t)}}function Je(t,e){const n=Xe();return(Je=function(t,e){return n[t-=345]})(t,e)}Object.assign(Ve[He(165)],ue,de,fe,Ie,be,Ee,Ne,Pe,Oe,ze,Fe);const We=Je;function Xe(){const t=["shadows","获取视角信息","82763XWzJwz","clearAll","skyAtmosphere","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4n53wDAmKSUXO+CdNftDl1WMwFgKAi9v9t3f8tDR6rtAnAD2Ze1Gpq+H+APwC7GI49JACSnZJv98DmLH2L20ZYFAMMWEEYTj65sABjPEA4VxxHFo6kIAAME4SoxQCj5tWeIik/+YSsGgAMglBRHbBk3YjsEwAkRiGRxnFeLGzLcsQoAamIQJP4hX3DIK7dVAyCQg4BgXVMbpjpBv667fmqd/wMAAP//YEFnJwAAAAZJREFUAwBlm3DVklpk4wAAAABJRU5ErkJggg=="/>',"关闭光照效果","模型调整","getPrototypeOf","show","ScreenSpaceEventHandler","开启光照效果","CesiumDevTools v1.0.4","positionPick","关闭地表透明","initMenu","清空测量结果",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE2M0Y1MTgyREUzQzExRUI4MTIzODQ5ODBENEE0QjgwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE2M0Y1MTgzREUzQzExRUI4MTIzODQ5ODBENEE0QjgwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTYzRjUxODBERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTYzRjUxODFERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz70rz6OAAAAoElEQVR42mL09fVloAQwMVAIcBkgCsSHgPgzEPeQY0AlENsCMQ8QFwOxOakGvEDjs6HxLaEWMLAA8X88LvwOxLOA+DCSWA/UVSAwCWQAI4nhFo/ETiEnFrYisa8S8gI+8ACIM8nxAkYs/CcSPwZiL2wGMBLAMCADxDPJScrPkNjM5BiQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"793210wOkfBn","getCameraInfo","RIGHT_CLICK","frontFaceAlpha","8365592MIiMPj","开启大气渲染","globe","srcElement","ScreenSpaceEventType","_debug","开启深度检测",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBp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Y2tldCBlbmQ9InIiPz5GX8+9AAABRklEQVR42qTTzStEURjH8bkoL43sDOOtbDQLfwGllJLc1SyslIUVsyQLshALKZQyG7aahexkwWZM8hdINrJQhAUlQmN8n+mnTlNXnZz6dG+n5zn3nOe5JwjDMBYxZrCMWWxFBVVFzPcouRar6PZZIMC2kg9R/9cOatCPPmeuA4N4xhkGMIJN3DlxpzgPqIEFNsX8xwMSdoRjTewhr/cshhw7mj/Bvt7LebaDdp6Xqoed+wa9eHe+FscFkvjCB1K4t6RbLKIB1ZiuSLbxioxqZkWdt2S3CyUnuORTCFugDUt4w7daWFcRF1cri9rdClp+27iBRuTQqrat48BZYAxdKuIL0ljD+H/a+Ihm24FdhmEV0EYCEypcVsWzwu3iSTFF/aXlIxTEHZ36G1NKPsKkz2WaUq9HVbSM7228wgI+MYfrqAV+BBgAxmlEz0eKwzQAAAAASUVORK5CYII=" />',"glb模型调整","openMouseAdsorb","12ZWHUTc","setInputAction","面积测量","14ScUxOC","角度测量","auto","12TfRqAy","关闭深度检测","adjust3Dtile","显示三角网","height","8996119TlQJgu",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6Y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Q9InhtcC5paWQ6RDE2QjYxNDNERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE2QjYxNDRERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',"tileProvider","关闭大气渲染","log","取消当前测量","关闭三角网","adjustGlb","开启地表透明","视角相关","forEach","wireframe","depthTestAgainstTerrain","10NTwdXO","getOwnPropertyNames",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6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wMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',"坐标拾取","3dtile模型调整","7QrJMyy","innerHTML","translucency","position","angle","backFaceAlpha","820548xyWEIw","info",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMj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5kaWQ6QTZBQ0Y3NUJERTNDMTFFQjgyQkZEQUZCMzMzQTkzRDQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz45Mo0MAAABJklEQVR42mL09fVlwANWADETEIfhUsDCgB9oEZBHMWAhEP8G4nQg/gsV2wjErEhqmIF4OhBzAHEcA9R5MPAViJOBuALKZwTi+UA8C8oGgRIgTgXi79hckAvE94F4LxAHA3E3ECtC5R4CcSkQ74bye2CakF3wF6pJHohXI2lmgIqtBGIlIO5E8iKKATDQjeRkZAAS60WXA3lhKRCrA/FOqH+V8QS6HNRloHBwBeLbTEiuYMJhMz7AxIiWkEAG3MbjigfQcPiPKwxAEmXICtDkStHlmNDYIAWPgTgUGqUwcA8qdg+aTpixGTAZiLuA2AuI10K9AcMqUDFQwLUD8RRsCYkbiOcBcQuSk5Og4VKNlIBABvLDA41AbrwEpfXIzY0XCMUjQIABAJ9vNJEwlARIAAAAAElFTkSuQmCC" />',"692946KoLbPf","startMeasure"];return(Xe=function(){return t})()}!function(t){const e=Je,n=t();for(;;)try{if(625875==-parseInt(e(406))/1*(parseInt(e(358))/2)+parseInt(e(402))/3+parseInt(e(361))/4*(parseInt(e(427))/5)+-parseInt(e(396))/6+parseInt(e(390))/7*(parseInt(e(345))/8)+parseInt(e(386))/9*(-parseInt(e(381))/10)+-parseInt(e(366))/11*(-parseInt(e(355))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xe);class Ke{#b;#w;#v;#y;#E;#r;constructor(t){const e=Je;this.#b=new d(t),this.#w=new g(t),this.#v=new oe(t),this.#y=new a(t),this.#E=new Ve(t),this.#R(this.#y),this.#R(this.#w),this.#R(this.#v),this.#r=t,console[e(372)](e(421))}#R(t){const e=Je;Object[e(382)](Object[e(417)](t))[e(409)](t=>"constructor"!==t)[e(378)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Je;this.#E[e(403)](t,{surfaceMode:e(360),useTerrain:!1,onComplete:t=>{console[e(397)]("测量结果:",t)}})}[We(424)](){const t=We,n=[{text:"点击相关",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFCRkFBNjU5REUzQzExRUI4MEUzQjk1OTc4Q0M5NEUwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFCRkFBNjVBREUzQzExRUI4MEUzQjk1OTc4Q0M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FJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{const n=t;this.#b[n(354)]()}}},{text:"绘制并返回矩形",icon:t(410),events:{click:e=>{const n=t;this.#b[n(385)]()}}}]},{text:"测量",icon:t(414),sub:[{text:"长度测量",icon:"",events:{click:t=>{this.#N("length")}}},{text:t(357),icon:"",events:{click:t=>{this.#N("area")}}},{text:t(359),icon:"",events:{click:e=>{const n=t;this.#N(n(394))}}},{text:t(411),icon:"",events:{click:e=>{const n=t;this.#N(n(365))}}},{text:t(373),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(425),icon:"",events:{click:e=>{const n=t;this.#E[n(407)]()}}}]},{text:t(377),icon:t(398),sub:[{text:t(405),icon:t(410),events:{click:e=>{this[t(428)]()}}}]},{text:t(416),icon:t(383),sub:[{text:t(353),icon:t(410),events:{click:e=>{const n=t;this.#v[n(375)]()}}},{text:t(389),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAy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OdjBNM7RggI0qT2GE+S5ARFvcCZ2sYVafHnvEthTggkcoQz3foJZrKM/9H+8o0P/V2yJbgmlKMSw19mmfYUPXKvtole1qXcz6MQUPtVuwBDa8IoKFTCkIr5hxpKGvaofeF9oRhxdWFNnixGvjxW7xM1gUdO0SMUpLpCBTaTrXb6X4NF2zSXo1m8VJhH1Op55CRLe8yy8uCXkYlnTigYqf6llWIx6z+2QnVmCAdyqcMnClpamurhCpqjAqxF91dbaGFhjSEf4zooVeN6jWs1HtEazoOMaCUw/GG3a4ko7rWGv8nMabFv1FEhg72uwjUFU48a/TH0oxoYKFdddcAm6dMEOUaQt/nWZHuxioF3tfSU9VXtc/sSPAAMAI9tWnA5LgQkAAAAASUVORK5CYII=" />',events:{click:e=>{const n=t;this.#v[n(363)]()}}}]},{text:"地形服务",icon:t(387),sub:[{text:t(364),icon:t(352),events:{click:e=>{const n=t;"显示三角网"===e.srcElement[n(391)]?(e[n(348)][n(391)]=n(374),this.#r[n(368)].globe[n(399)].tileProvider[n(350)].wireframe=!0,this.#r[n(368)].requestRender()):(e[n(348)][n(391)]=n(364),this.#r[n(368)][n(347)][n(399)][n(370)][n(350)][n(379)]=!1,this.#r[n(368)][n(400)]())}}},{text:t(376),className:"terrianOpc",icon:t(369),events:{click:e=>{const n=t;e[n(348)][n(391)]===n(376)?(e[n(348)][n(391)]=n(423),this.#r.scene.globe.translucency[n(413)]=!0,this.#r[n(368)].globe.translucency[n(430)]=.2,this.#r[n(368)][n(347)][n(392)][n(395)]=.2):(e[n(348)][n(391)]="开启地表透明",this.#r[n(368)][n(347)].translucency[n(413)]=!1)}}}]},{text:"场景设置",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzV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mQ9InIiPz4C7Aj+AAABHUlEQVR42mL09fVloAQwYRFzBOKDQNwDxIxQ3AMVc0RXzILFgAAgtoPiYKiYApQOBOL9+AxgBmILJL4Cmrw5VM1fdAOcoDZbA7ERHi+bAfEpID4CxBuBeB/MgHqok2HgNxDXAfFCIP4PxIlA3ADEbFALQNgAZAAsEE+g2QTS3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',sub:[{text:t(351),icon:t(367),events:{click:e=>{const n=t;e[n(348)].innerHTML===n(351)?(e[n(348)][n(391)]=n(362),this.#r[n(368)][n(347)][n(380)]=!0):(e[n(348)][n(391)]="开启深度检测",this.#r[n(368)][n(347)][n(380)]=!1)}}},{text:t(371),icon:t(426),events:{click:e=>{const n=t;"关闭大气渲染"===e[n(348)].innerHTML?(e.srcElement[n(391)]=n(346),this.#r[n(368)].skyAtmosphere[n(418)]=!1):(e[n(348)][n(391)]="关闭大气渲染",this.#r[n(368)][n(408)][n(418)]=!0)}}},{text:t(420),icon:t(401),events:{click:e=>{const n=t;e.srcElement[n(391)]===n(420)?(e[n(348)].innerHTML=n(415),this.#r[n(368)].globe[n(412)]=!0,this.#r[n(404)]=!0):(e[n(348)][n(391)]=n(420),this.#r[n(368)][n(347)][n(412)]=!1,this.#r[n(404)]=!1)}}}]}];let i=new e(n,{});new(Cesium[t(419)])(this.#r.scene.canvas)[t(356)](e=>{const n=t;let s={clientX:e[n(393)].x,clientY:e[n(393)].y};i[n(384)](s)},Cesium[t(349)][t(429)])}}return Ke});
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export function setupCounter(element: HTMLButtonElement): void
package/package.json CHANGED
@@ -1,12 +1,33 @@
1
- {
1
+ {
2
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
- }
3
+ "private": false,
4
+ "version": "1.1.0",
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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZ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DEoyw2DhDIYWNBdrpeYLMIgMVCIxaqIskjJ5DWKYrDIOyVChpsyMSiD5G2Q71O/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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZ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Y1MTgzREUzQzExRUI4MTIzODQ5ODBENEE0QjgwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTYzRjUxODBERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTYzRjUxODFERTNDMTFFQjgxMjM4NDk4MEQ0QTRCODAiLz4gPC9yZGY6RGVzY3JpcHRpb24+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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cm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hsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',"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+IDx4OnhtcG1ldGEgeG1sbnM6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dgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJod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AcT3kSTnY3E+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};