pack_ik-min.js 9.05 KB
Newer Older
JOE XMG's avatar
up  
JOE XMG committed
1
var _0x12adff=_0x14f8;(function(_0x3c6562,_0xb78c40){var _0xbd192d=_0x14f8,_0x59aa97=_0x3c6562();while(!![]){try{var _0x21fbe9=parseInt(_0xbd192d(0x22e))/0x1+-parseInt(_0xbd192d(0x23d))/0x2+-parseInt(_0xbd192d(0x22c))/0x3+parseInt(_0xbd192d(0x238))/0x4+parseInt(_0xbd192d(0x1d5))/0x5*(-parseInt(_0xbd192d(0x231))/0x6)+-parseInt(_0xbd192d(0x208))/0x7+parseInt(_0xbd192d(0x204))/0x8*(parseInt(_0xbd192d(0x1fa))/0x9);if(_0x21fbe9===_0xb78c40)break;else _0x59aa97['push'](_0x59aa97['shift']());}catch(_0x43e113){_0x59aa97['push'](_0x59aa97['shift']());}}}(_0x1370,0xf171b),($(document)[_0x12adff(0x21c)](function(){var _0x5ef2b5=_0x12adff;$(_0x5ef2b5(0x225))[_0x5ef2b5(0x21a)]();}),$(_0x12adff(0x1cd))[_0x12adff(0x1fd)](function(){var _0x294319=_0x12adff;Cesium[_0x294319(0x1dc)]['requestFullscreen'](document[_0x294319(0x224)]);})));var building_style=[],addBuilding=function(){var _0x2a1935=_0x12adff;try{tileset_3Dbuildings=viewer[_0x2a1935(0x20f)][_0x2a1935(0x1d8)][_0x2a1935(0x1ec)](new Cesium[(_0x2a1935(0x21f))]({'url':_0x2a1935(0x1ce),'maximumScreenSpaceError':0x20,'skipLevelOfDetail':!0x0,'baseScreenSpaceError':0x400,'skipScreenSpaceErrorFactor':0x40,'skipLevels':0x2,'immediatelyLoadDesiredLevelOfDetail':!0x1,'loadSiblings':!0x1,'cullWithChildrenBounds':!0x0}));}catch(_0x5dd58d){console[_0x2a1935(0x216)](_0x2a1935(0x1e7)+_0x5dd58d);}tileset_3Dbuildings['readyPromise'][_0x2a1935(0x1e6)](function(){var _0x207065=_0x2a1935,_0x10d38b=tileset_3Dbuildings['boundingSphere'],_0x5214a2=Cesium['Cartographic'][_0x207065(0x200)](_0x10d38b[_0x207065(0x1ff)]),_0x5bb56d=Cesium['Cartesian3'][_0x207065(0x1cb)](_0x5214a2[_0x207065(0x235)],_0x5214a2[_0x207065(0x201)],0x0),_0x548dd7=Cesium[_0x207065(0x215)]['fromRadians'](_0x5214a2[_0x207065(0x235)],_0x5214a2[_0x207065(0x201)],0x32),_0x31a2b8=Cesium[_0x207065(0x215)][_0x207065(0x1fb)](_0x548dd7,_0x5bb56d,new Cesium[(_0x207065(0x215))]());tileset_3Dbuildings[_0x207065(0x230)]=Cesium[_0x207065(0x23c)][_0x207065(0x1db)](_0x31a2b8);}),building_style['AllWhite']=new Cesium[(_0x2a1935(0x1d4))]({'pointSize':_0x2a1935(0x1e4),'show':!0x0,'color':_0x2a1935(0x203)}),building_style[_0x2a1935(0x1e1)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x2a1935(0x1e4),'show':!0x0,'color':{'conditions':[['Number(${Specific_space_heating_demand})>\x20250','color(\x22#F22E22\x22)'],['Number(${Specific_space_heating_demand})>=\x20200',_0x2a1935(0x1ef)],['Number(${Specific_space_heating_demand})>=\x20150',_0x2a1935(0x21d)],[_0x2a1935(0x20e),_0x2a1935(0x229)],[_0x2a1935(0x213),_0x2a1935(0x1d0)],[_0x2a1935(0x221),_0x2a1935(0x232)],[_0x2a1935(0x1f5),_0x2a1935(0x22b)],[_0x2a1935(0x1fc),'color(\x22#A4C711\x22)'],[_0x2a1935(0x1e8),_0x2a1935(0x223)],[_0x2a1935(0x219),_0x2a1935(0x1f7)]]}}),building_style['HeatDemand']=new Cesium[(_0x2a1935(0x1d4))]({'pointSize':_0x2a1935(0x1e4),'show':!0x0,'color':{'conditions':[[_0x2a1935(0x206),'color(\x27#ffffff\x27,0)'],[_0x2a1935(0x23a),'color(\x27#3288bd\x27)'],[_0x2a1935(0x1f4),'color(\x27#66c2a5\x27)'],[_0x2a1935(0x20d),_0x2a1935(0x1f3)],[_0x2a1935(0x1e9),'color(\x27#e6f598\x27)'],[_0x2a1935(0x1e3),_0x2a1935(0x22f)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2075000',_0x2a1935(0x239)],[_0x2a1935(0x1da),_0x2a1935(0x23e)],[_0x2a1935(0x21e),_0x2a1935(0x202)],[_0x2a1935(0x1fe),_0x2a1935(0x210)],[_0x2a1935(0x219),_0x2a1935(0x217)]]}}),building_style[_0x2a1935(0x1e0)]=new Cesium[(_0x2a1935(0x1d4))]({'pointSize':_0x2a1935(0x1e4),'show':!0x0,'color':{'conditions':[[_0x2a1935(0x1d2),_0x2a1935(0x1d3)],[_0x2a1935(0x234),_0x2a1935(0x1ef)],['Number(${PV_potential_yield})\x20<\x203','color(\x22#F9A717\x22)'],[_0x2a1935(0x22d),_0x2a1935(0x229)],[_0x2a1935(0x23b),_0x2a1935(0x1d0)],[_0x2a1935(0x237),_0x2a1935(0x232)],[_0x2a1935(0x1cc),_0x2a1935(0x22b)],[_0x2a1935(0x218),_0x2a1935(0x226)],[_0x2a1935(0x207),_0x2a1935(0x223)],[_0x2a1935(0x219),_0x2a1935(0x212)]]}}),building_style[_0x2a1935(0x1d7)]=new Cesium[(_0x2a1935(0x1d4))]({'pointSize':_0x2a1935(0x1e4),'show':!0x0,'color':{'conditions':[[_0x2a1935(0x1d1),_0x2a1935(0x1f6)],[_0x2a1935(0x1f1),_0x2a1935(0x1d9)],['Number(${electric_load})\x20<\x204229000',_0x2a1935(0x236)],[_0x2a1935(0x1f2),_0x2a1935(0x1ea)],[_0x2a1935(0x1e2),_0x2a1935(0x209)],[_0x2a1935(0x222),_0x2a1935(0x22a)],['true',_0x2a1935(0x1ed)]]}}),tileset_3Dbuildings[_0x2a1935(0x1cf)]=building_style[_0x2a1935(0x1d6)];};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];Date[_0x12adff(0x1ee)][_0x12adff(0x1f9)]=function(){var _0x3de096=_0x12adff;this['getTimezoneOffset']();var _0x50d5a6=function(_0x545b12){var _0x2990dd=_0x14f8,_0x105c6b=Math[_0x2990dd(0x20c)](Math[_0x2990dd(0x214)](_0x545b12));return(_0x105c6b<0xa?'0':'')+_0x105c6b;};return this[_0x3de096(0x220)]()+'-'+_0x50d5a6(this['getMonth']()+0x1)+'-'+_0x50d5a6(this[_0x3de096(0x1f8)]())+'T08:00:00Z';},Date['prototype'][_0x12adff(0x1eb)]=function(){var _0x21641f=_0x12adff;this[_0x21641f(0x211)]();var _0x1462f9=function(_0x2aeabe){var _0x3cd0cc=_0x21641f,_0x37c129=Math[_0x3cd0cc(0x20c)](Math[_0x3cd0cc(0x214)](_0x2aeabe));return(_0x37c129<0xa?'0':'')+_0x37c129;};return this[_0x21641f(0x220)]()+'-'+_0x1462f9(this[_0x21641f(0x228)]()+0x1)+'-'+_0x1462f9(this[_0x21641f(0x1f8)]())+_0x21641f(0x205);};function _0x14f8(_0x50bd1d,_0x4be499){var _0x137065=_0x1370();return _0x14f8=function(_0x14f842,_0x28aeb9){_0x14f842=_0x14f842-0x1ca;var _0x30b335=_0x137065[_0x14f842];return _0x30b335;},_0x14f8(_0x50bd1d,_0x4be499);}var dateEvent=new Date(),startTime=dateEvent['toIsoString_Start'](),stopTime=dateEvent[_0x12adff(0x1eb)]();function _0x1370(){var _0x1679b8=['#shadow_check','PVPotential','SpecificHeatDemand','Number(${electric_load})\x20<\x206229000','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2050000','3.0','error:\x20','then','->\x20\x20add\x203DTiles\x20failed!\x0a','Number(${Specific_space_heating_demand})>=\x200','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2035000','color(\x27#fdae6b\x27)','toIsoString_Stop','add','color(\x22white\x22,0)','prototype','color(\x22#F56D1F\x22)','JulianDate','Number(${electric_load})\x20<\x203229000','Number(${electric_load})\x20<\x205229000','color(\x27#abdda4\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2012500','Number(${Specific_space_heating_demand})>=\x2050','color(\x27#ffffff\x27,0)','color(\x22#61B949\x22),0','getDate','toIsoString_Start','236349eIQXij','subtract','Number(${Specific_space_heating_demand})>=\x2025','click','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2099999999','center','fromCartesian','latitude','color(\x27#f46d43\x27)','color(\x27#ffffff\x27)','1544rwXeza','T23:00:00Z','Number(${Total_Yearly_Heat_DHW_demand})\x20===\x200','Number(${PV_potential_yield})\x20>=\x208','9567733tVMaSc','color(\x27#fd8d3c\x27)','currentTime','clock','floor','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2017500','Number(${Specific_space_heating_demand})>=\x20125','scene','color(\x27#d53e4f\x27)','getTimezoneOffset','color(\x22#61B949\x22,0)','Number(${Specific_space_heating_demand})>=\x20100','abs','Cartesian3','log','color(\x27#fff\x27,0)','Number(${PV_potential_yield})\x20<\x208','true','hide','fromIso8601','ready','color(\x22#F9A717\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20200000','Cesium3DTileset','getFullYear','Number(${Specific_space_heating_demand})>=\x2075','Number(${electric_load})\x20>=\x206229000','color(\x22#61B949\x22)','body','#loading','color(\x22#A4C711\x22)','checked','getMonth','color(\x22#FECE02\x22)','color(\x27#e6550d\x27)','color(\x22#B2D531\x22)','5806026SVKZpd','Number(${PV_potential_yield})\x20<\x204','244688MIHYwI','color(\x27#ffffbf\x27)','modelMatrix','2059986qbDnuq','color(\x22#D1E023\x22)','shadows','Number(${PV_potential_yield})\x20<\x202','longitude','color(\x27#fdd0a2\x27)','Number(${PV_potential_yield})\x20<\x206','3314276PCHgPL','color(\x27#fee08b\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2010000','Number(${PV_potential_yield})\x20<\x205','Matrix4','954380cvJIhk','color(\x27#fdae61\x27)','change','fromRadians','Number(${PV_potential_yield})\x20<\x207','#full-screen-button','https://steinbeis-3dps.eu/3DGeoVolumes/collections/IlmKreis/tileset_all/tileset.json','style','color(\x22#F6EC00\x22)','Number(${electric_load})\x20===\x200','Number(${PV_potential_yield})\x20<\x201','color(\x22#F22E22\x22)','Cesium3DTileStyle','20RZRAbw','AllWhite','ElecDemand','primitives','color(\x27#feedde\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20100000','fromTranslation','Fullscreen','.cesiumLegend','value'];_0x1370=function(){return _0x1679b8;};return _0x1370();}viewer[_0x12adff(0x20b)][_0x12adff(0x20a)]=Cesium[_0x12adff(0x1f0)][_0x12adff(0x21b)](startTime),$('#BuildingStyleSelector')['on'](_0x12adff(0x1ca),function(){var _0x937052=_0x12adff;tileset_3Dbuildings[_0x937052(0x1cf)]=building_style[this[_0x937052(0x1de)]],$(_0x937052(0x1dd))['hide']();try{$('#'+this[_0x937052(0x1de)]+'-legend')['show'](),activateChart(this['value']),console['log']('draw\x20chart\x20without\x20error');}catch(_0x32d8e1){console['log']('No\x20'+this[_0x937052(0x1de)]+'\x20Style\x20in\x20the\x20html'),console['log'](_0x937052(0x1e5)+_0x32d8e1);}}),$(_0x12adff(0x1df))[_0x12adff(0x1ca)](function(){var _0x5d8783=_0x12adff;this[_0x5d8783(0x227)]?viewer[_0x5d8783(0x233)]=!0x0:viewer[_0x5d8783(0x233)]=!0x1;});