pack_lu-min.js 9.26 KB
Newer Older
JOE XMG's avatar
up  
JOE XMG committed
1
var _0xafd027=_0x57ca;(function(_0x2516b1,_0x156512){var _0x457cf3=_0x57ca,_0x20754d=_0x2516b1();while(!![]){try{var _0x2b6b00=parseInt(_0x457cf3(0x192))/0x1*(parseInt(_0x457cf3(0x1e7))/0x2)+parseInt(_0x457cf3(0x18d))/0x3+parseInt(_0x457cf3(0x1c3))/0x4+parseInt(_0x457cf3(0x1b0))/0x5*(-parseInt(_0x457cf3(0x1b9))/0x6)+-parseInt(_0x457cf3(0x1c1))/0x7*(-parseInt(_0x457cf3(0x1d8))/0x8)+parseInt(_0x457cf3(0x1c7))/0x9*(parseInt(_0x457cf3(0x1e1))/0xa)+-parseInt(_0x457cf3(0x1ac))/0xb*(parseInt(_0x457cf3(0x1ed))/0xc);if(_0x2b6b00===_0x156512)break;else _0x20754d['push'](_0x20754d['shift']());}catch(_0x1e0994){_0x20754d['push'](_0x20754d['shift']());}}}(_0x75bd,0x58070),$(document)[_0xafd027(0x1c0)](function(){var _0x37ae6f=_0xafd027;$(_0x37ae6f(0x196))[_0x37ae6f(0x185)]();}));var homeCameraView={'destination':{'x':-4646319.653422943,'y':2552632.012284364,'z':-3536295.07803609},'orientation':{'direction':{'x':0.24900131396642067,'y':0.3727636841027887,'z':0.8938934955894424},'up':{'x':-0.7037933752118672,'y':0.7036958074350335,'z':-0.09740172280942716}}};function _0x57ca(_0x5ca5bc,_0x172849){var _0x75bd22=_0x75bd();return _0x57ca=function(_0x57ca66,_0x4c997b){_0x57ca66=_0x57ca66-0x17e;var _0x22f1f8=_0x75bd22[_0x57ca66];return _0x22f1f8;},_0x57ca(_0x5ca5bc,_0x172849);}function _0x75bd(){var _0x82747c=['Number(${electric_load})\x20<\x204229000','ElecDemand','color(\x22#D1E023\x22)','Number(${Specific_space_heating_demand})>=\x20100','boundingSphere','color(\x22#F6EC00\x22)','color(\x27#e6550d\x27)','log','Number(${PV_potential_yield})\x20<\x203','Number(${electric_load})\x20<\x203229000','longitude','primitives','Cesium3DTileStyle','T08:00:00Z','latitude','11rNrNmx','Number(${electric_load})\x20<\x205229000','#full-screen-button','Number(${PV_potential_yield})\x20<\x206','580VSRbOi','scene','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2075000','getFullYear','abs','Fullscreen','readyPromise','color(\x27#e6f598\x27)','getTimezoneOffset','15726DrhCbf','fromTranslation','color(\x22white\x22,0)','Cartesian3','currentTime','color(\x27#66c2a5\x27)','subtract','ready','416703Bsxtcl','toIsoString_Start','530260HRaPWL','Number(${electric_load})\x20===\x200','fromRadians','Number(${electric_load})\x20<\x209999999','2850975YbayyO','color(\x22#FECE02\x22)','getMonth','Number(${Specific_space_heating_demand})>=\x2075','body','color(\x27#fdd0a2\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2010000','Cartographic','Cesium3DTileset','color(\x27#ffffff\x27,0)','change','Number(${Specific_space_heating_demand})>\x20250','Number(${PV_potential_yield})\x20<\x208','toIsoString_Stop','#shadow_check','Number(${PV_potential_yield})\x20>=\x208','color(\x27#d53e4f\x27)','72wjTbBi','Number(${Specific_space_heating_demand})>=\x20200','show','value','color(\x22#61B949\x22,0)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2012500','prototype','Number(${Specific_space_heating_demand})>=\x2025','color(\x22#61B949\x22)','10RhddXM','shadows','color(\x22#A4C711\x22)','getDate','color(\x22#F9A717\x22)','modelMatrix','8xuLTpz','-legend','color(\x27#feedde\x27)','Number(${electric_load})\x20<\x206229000','3.0','color(\x22#B2D531\x22)','16126752tGPLrw','#BuildingStyleSelector','checked','Number(${PV_potential_yield})\x20<\x205','PVPotential','Number(${Total_Yearly_Heat_DHW_demand})\x20===\x200','SpecificHeatDemand','T23:00:00Z','hide','HeatDemand','requestFullscreen','No\x20','floor','color(\x27#f46d43\x27)','color(\x22#F56D1F\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2050000','1616577kuaRuM','color(\x27#fee08b\x27)','Number(${Specific_space_heating_demand})>=\x20125','.cesiumLegend','true','121133PKtWIu','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2017500','style','Number(${PV_potential_yield})\x20<\x201','#loading','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20100000','Number(${Total_Yearly_Heat_DHW_demand})\x20>=\x2099999999','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2035000','color(\x22#F22E22\x22)','AllWhite','then'];_0x75bd=function(){return _0x82747c;};return _0x75bd();}$(_0xafd027(0x1ae))['click'](function(){var _0xbd1522=_0xafd027;Cesium[_0xbd1522(0x1b5)][_0xbd1522(0x187)](document[_0xbd1522(0x1cb)]);});var building_style=[],addBuilding=function(){var _0x41d394=_0xafd027;try{tileset_3Dbuildings=viewer[_0x41d394(0x1b1)][_0x41d394(0x1a8)]['add'](new Cesium[(_0x41d394(0x1cf))]({'url':'https://w2.iaf-ex.hft-stuttgart.de/CesiumData/3DTiles/Buildings/BuildingSolid/LKRLudwigsburg/tileset.json','maximumScreenSpaceError':0x20,'skipLevelOfDetail':!0x0,'baseScreenSpaceError':0x400,'skipScreenSpaceErrorFactor':0x40,'skipLevels':0x2,'immediatelyLoadDesiredLevelOfDetail':!0x1,'loadSiblings':!0x1,'cullWithChildrenBounds':!0x0}));}catch(_0x120ca3){console[_0x41d394(0x1a4)]('->\x20\x20add\x203DTiles\x20failed!\x0a'+_0x120ca3);}tileset_3Dbuildings[_0x41d394(0x1b6)][_0x41d394(0x19c)](function(){var _0x354651=_0x41d394,_0x2e506e=tileset_3Dbuildings[_0x354651(0x1a1)],_0x1252b4=Cesium[_0x354651(0x1ce)]['fromCartesian'](_0x2e506e['center']),_0x387a3d=Cesium[_0x354651(0x1bc)][_0x354651(0x1c5)](_0x1252b4[_0x354651(0x1a7)],_0x1252b4[_0x354651(0x1ab)],0x0),_0x3df98b=Cesium[_0x354651(0x1bc)][_0x354651(0x1c5)](_0x1252b4['longitude'],_0x1252b4[_0x354651(0x1ab)],0.02),_0x443b32=Cesium[_0x354651(0x1bc)][_0x354651(0x1bf)](_0x3df98b,_0x387a3d,new Cesium[(_0x354651(0x1bc))]());tileset_3Dbuildings[_0x354651(0x1e6)]=Cesium['Matrix4'][_0x354651(0x1ba)](_0x443b32);}),building_style[_0x41d394(0x19b)]=new Cesium[(_0x41d394(0x1a9))]({'pointSize':_0x41d394(0x1eb),'show':!0x0,'color':'color(\x27#ffffff\x27)'}),building_style[_0x41d394(0x186)]=new Cesium[(_0x41d394(0x1a9))]({'pointSize':_0x41d394(0x1eb),'show':!0x0,'color':{'conditions':[[_0x41d394(0x182),_0x41d394(0x1d0)],[_0x41d394(0x1cd),'color(\x27#3288bd\x27)'],[_0x41d394(0x1dd),_0x41d394(0x1be)],[_0x41d394(0x193),'color(\x27#abdda4\x27)'],[_0x41d394(0x199),_0x41d394(0x1b7)],[_0x41d394(0x18c),'color(\x27#ffffbf\x27)'],[_0x41d394(0x1b2),_0x41d394(0x18e)],[_0x41d394(0x197),'color(\x27#fdae61\x27)'],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20200000',_0x41d394(0x18a)],[_0x41d394(0x198),_0x41d394(0x1d7)],[_0x41d394(0x191),'color(\x27#fff\x27,0)']]}}),building_style[_0x41d394(0x183)]=new Cesium[(_0x41d394(0x1a9))]({'pointSize':_0x41d394(0x1eb),'show':!0x0,'color':{'conditions':[[_0x41d394(0x1d2),_0x41d394(0x19a)],[_0x41d394(0x1d9),_0x41d394(0x18b)],['Number(${Specific_space_heating_demand})>=\x20150','color(\x22#F9A717\x22)'],[_0x41d394(0x18f),_0x41d394(0x1c8)],[_0x41d394(0x1a0),_0x41d394(0x1a2)],[_0x41d394(0x1ca),'color(\x22#D1E023\x22)'],['Number(${Specific_space_heating_demand})>=\x2050',_0x41d394(0x1ec)],[_0x41d394(0x1df),_0x41d394(0x1e3)],['Number(${Specific_space_heating_demand})>=\x200',_0x41d394(0x1e0)],[_0x41d394(0x191),'color(\x22#61B949\x22,0)']]}}),building_style[_0x41d394(0x181)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x41d394(0x1eb),'show':!0x0,'color':{'conditions':[[_0x41d394(0x195),_0x41d394(0x19a)],['Number(${PV_potential_yield})\x20<\x202',_0x41d394(0x18b)],[_0x41d394(0x1a5),_0x41d394(0x1e5)],['Number(${PV_potential_yield})\x20<\x204','color(\x22#FECE02\x22)'],[_0x41d394(0x180),_0x41d394(0x1a2)],[_0x41d394(0x1af),_0x41d394(0x19f)],['Number(${PV_potential_yield})\x20<\x207',_0x41d394(0x1ec)],[_0x41d394(0x1d3),'color(\x22#A4C711\x22)'],[_0x41d394(0x1d6),_0x41d394(0x1e0)],[_0x41d394(0x191),_0x41d394(0x1dc)]]}}),building_style[_0x41d394(0x19e)]=new Cesium[(_0x41d394(0x1a9))]({'pointSize':_0x41d394(0x1eb),'show':!0x0,'color':{'conditions':[[_0x41d394(0x1c4),_0x41d394(0x1d0)],[_0x41d394(0x1a6),_0x41d394(0x1e9)],[_0x41d394(0x19d),_0x41d394(0x1cc)],[_0x41d394(0x1ad),'color(\x27#fdae6b\x27)'],[_0x41d394(0x1ea),'color(\x27#fd8d3c\x27)'],[_0x41d394(0x1c6),_0x41d394(0x1a3)],['true',_0x41d394(0x1bb)]]}}),tileset_3Dbuildings['style']=building_style[_0x41d394(0x19b)];};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];Date[_0xafd027(0x1de)]['toIsoString_Start']=function(){var _0x5de011=_0xafd027;this['getTimezoneOffset']();var _0x1ee8ab=function(_0x34ab94){var _0x570d5c=_0x57ca,_0x584c67=Math[_0x570d5c(0x189)](Math[_0x570d5c(0x1b4)](_0x34ab94));return(_0x584c67<0xa?'0':'')+_0x584c67;};return this[_0x5de011(0x1b3)]()+'-'+_0x1ee8ab(this['getMonth']()+0x1)+'-'+_0x1ee8ab(this[_0x5de011(0x1e4)]())+_0x5de011(0x1aa);},Date['prototype'][_0xafd027(0x1d4)]=function(){var _0x3523d7=_0xafd027;this[_0x3523d7(0x1b8)]();var _0x1eb3f3=function(_0x1fd271){var _0x4fb2a1=_0x3523d7,_0x28bcbc=Math[_0x4fb2a1(0x189)](Math['abs'](_0x1fd271));return(_0x28bcbc<0xa?'0':'')+_0x28bcbc;};return this[_0x3523d7(0x1b3)]()+'-'+_0x1eb3f3(this[_0x3523d7(0x1c9)]()+0x1)+'-'+_0x1eb3f3(this[_0x3523d7(0x1e4)]())+_0x3523d7(0x184);};var dateEvent=new Date(),startTime=dateEvent[_0xafd027(0x1c2)](),stopTime=dateEvent[_0xafd027(0x1d4)]();viewer['clock'][_0xafd027(0x1bd)]=Cesium['JulianDate']['fromIso8601'](startTime),$(_0xafd027(0x17e))['on'](_0xafd027(0x1d1),function(){var _0x1afbdf=_0xafd027;tileset_3Dbuildings[_0x1afbdf(0x194)]=building_style[this[_0x1afbdf(0x1db)]],$(_0x1afbdf(0x190))[_0x1afbdf(0x185)]();try{$('#'+this[_0x1afbdf(0x1db)]+_0x1afbdf(0x1e8))[_0x1afbdf(0x1da)](),activateChart(this[_0x1afbdf(0x1db)]);}catch(_0xc9c535){console[_0x1afbdf(0x1a4)](_0x1afbdf(0x188)+this[_0x1afbdf(0x1db)]+'\x20Style\x20in\x20the\x20html');}}),$(_0xafd027(0x1d5))[_0xafd027(0x1d1)](function(){var _0x13baaa=_0xafd027;this[_0x13baaa(0x17f)]?viewer[_0x13baaa(0x1e2)]=!0x0:viewer['shadows']=!0x1;});