var _0x1d8dd5=_0x101e;(function(_0x17c939,_0x24b19a){var _0x40e5da=_0x101e,_0x345cd5=_0x17c939();while(!![]){try{var _0x254d76=-parseInt(_0x40e5da(0x1e3))/0x1+-parseInt(_0x40e5da(0x198))/0x2+parseInt(_0x40e5da(0x1ca))/0x3+parseInt(_0x40e5da(0x1a4))/0x4+-parseInt(_0x40e5da(0x1d3))/0x5+-parseInt(_0x40e5da(0x1c8))/0x6*(-parseInt(_0x40e5da(0x19f))/0x7)+parseInt(_0x40e5da(0x1d5))/0x8;if(_0x254d76===_0x24b19a)break;else _0x345cd5['push'](_0x345cd5['shift']());}catch(_0x52853c){_0x345cd5['push'](_0x345cd5['shift']());}}}(_0x43f0,0x40f5e),($(document)['ready'](function(){var _0x539361=_0x101e;$(_0x539361(0x1a7))[_0x539361(0x18b)]();}),$('#full-screen-button')['click'](function(){var _0x41ec5a=_0x101e;Cesium[_0x41ec5a(0x18a)][_0x41ec5a(0x1a8)](document[_0x41ec5a(0x19a)]);})));var building_style=[],addBuilding=function(){var _0x2afb68=_0x101e;try{tileset_3Dbuildings=viewer[_0x2afb68(0x180)][_0x2afb68(0x1c6)][_0x2afb68(0x1c5)](new Cesium[(_0x2afb68(0x17d))]({'url':'https://steinbeis-3dps.eu/3DGeoVolumes/collections/IlmKreis/tileset_all/tileset.json','maximumScreenSpaceError':0x20,'skipLevelOfDetail':!0x0,'baseScreenSpaceError':0x400,'skipScreenSpaceErrorFactor':0x40,'skipLevels':0x2,'immediatelyLoadDesiredLevelOfDetail':!0x1,'loadSiblings':!0x1,'cullWithChildrenBounds':!0x0}));}catch(_0x304a21){console[_0x2afb68(0x17f)](_0x2afb68(0x1be)+_0x304a21);}tileset_3Dbuildings[_0x2afb68(0x1bd)][_0x2afb68(0x1a5)](function(){var _0xd49b35=_0x2afb68,_0x389246=tileset_3Dbuildings[_0xd49b35(0x192)],_0x29ef0a=Cesium[_0xd49b35(0x1d0)][_0xd49b35(0x19e)](_0x389246[_0xd49b35(0x1bf)]),_0x40dd37=Cesium[_0xd49b35(0x1d7)][_0xd49b35(0x18c)](_0x29ef0a['longitude'],_0x29ef0a[_0xd49b35(0x181)],0x0),_0x51fb7f=Cesium['Cartesian3'][_0xd49b35(0x18c)](_0x29ef0a[_0xd49b35(0x1b0)],_0x29ef0a[_0xd49b35(0x181)],0x32),_0x5191c9=Cesium[_0xd49b35(0x1d7)][_0xd49b35(0x1ea)](_0x51fb7f,_0x40dd37,new Cesium['Cartesian3']());tileset_3Dbuildings['modelMatrix']=Cesium[_0xd49b35(0x1e5)]['fromTranslation'](_0x5191c9);}),building_style['AllWhite']=new Cesium['Cesium3DTileStyle']({'pointSize':_0x2afb68(0x17e),'show':!0x0,'color':_0x2afb68(0x1e8)}),building_style[_0x2afb68(0x179)]=new Cesium[(_0x2afb68(0x1e2))]({'pointSize':_0x2afb68(0x17e),'show':!0x0,'color':{'conditions':[[_0x2afb68(0x196),_0x2afb68(0x1d1)],[_0x2afb68(0x19b),_0x2afb68(0x194)],['Number(${Specific_space_heating_demand})>=\x20150','color(\x22#fdae61\x22)'],['Number(${Specific_space_heating_demand})>=\x20125',_0x2afb68(0x19c)],[_0x2afb68(0x184),_0x2afb68(0x1ab)],[_0x2afb68(0x1eb),_0x2afb68(0x1a3)],[_0x2afb68(0x1dd),_0x2afb68(0x190)],[_0x2afb68(0x1d9),'color(\x22#66c2a5\x22)'],['Number(${Specific_space_heating_demand})>=\x200',_0x2afb68(0x1cb)],[_0x2afb68(0x1a2),_0x2afb68(0x197)]]}}),building_style[_0x2afb68(0x1cf)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x2afb68(0x17e),'show':!0x0,'color':{'conditions':[[_0x2afb68(0x195),_0x2afb68(0x18d)],[_0x2afb68(0x199),_0x2afb68(0x1ae)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2012500',_0x2afb68(0x1b4)],[_0x2afb68(0x1bb),_0x2afb68(0x188)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2035000','color(\x27#e6f598\x27)'],[_0x2afb68(0x1a6),_0x2afb68(0x1d2)],[_0x2afb68(0x1e9),_0x2afb68(0x1e6)],[_0x2afb68(0x1cd),_0x2afb68(0x1c3)],[_0x2afb68(0x1c9),_0x2afb68(0x187)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2099999999',_0x2afb68(0x1b7)],[_0x2afb68(0x1a2),'color(\x27#fff\x27,0)']]}}),building_style['PVPotential']=new Cesium[(_0x2afb68(0x1e2))]({'pointSize':_0x2afb68(0x17e),'show':!0x0,'color':{'conditions':[[_0x2afb68(0x1da),_0x2afb68(0x17c)],[_0x2afb68(0x1a0),_0x2afb68(0x1b8)],[_0x2afb68(0x191),'color(\x22#B2D531\x22)'],['Number(${PV_potential_yield})\x20<\x204','color(\x22#D1E023\x22)'],[_0x2afb68(0x1b9),'color(\x22#F6EC00\x22)'],[_0x2afb68(0x18e),_0x2afb68(0x1ad)],[_0x2afb68(0x1b1),_0x2afb68(0x1e4)],[_0x2afb68(0x1ac),_0x2afb68(0x1c0)],['Number(${PV_potential_yield})\x20>=\x208','color(\x22#F22E22\x22)'],[_0x2afb68(0x1a2),_0x2afb68(0x1a9)]]}}),building_style[_0x2afb68(0x1b2)]=new Cesium['Cesium3DTileStyle']({'pointSize':'3.0','show':!0x0,'color':{'conditions':[[_0x2afb68(0x1dc),_0x2afb68(0x18d)],[_0x2afb68(0x19d),'color(\x27#feedde\x27)'],[_0x2afb68(0x18f),_0x2afb68(0x189)],[_0x2afb68(0x1de),_0x2afb68(0x1d4)],['Number(${electric_load})\x20<\x206229000',_0x2afb68(0x1c1)],[_0x2afb68(0x193),_0x2afb68(0x1b3)],[_0x2afb68(0x1a2),_0x2afb68(0x197)]]}}),tileset_3Dbuildings[_0x2afb68(0x1c2)]=building_style['AllWhite'];};addBuilding();function _0x101e(_0x28ad68,_0x417b45){var _0x43f093=_0x43f0();return _0x101e=function(_0x101e27,_0x3ca7ca){_0x101e27=_0x101e27-0x179;var _0x3cbe14=_0x43f093[_0x101e27];return _0x3cbe14;},_0x101e(_0x28ad68,_0x417b45);}var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];Date[_0x1d8dd5(0x1ce)][_0x1d8dd5(0x1aa)]=function(){var _0x5b419c=_0x1d8dd5;this[_0x5b419c(0x1cc)]();var _0x1a77f4=function(_0x44d9d9){var _0x2674b3=_0x5b419c,_0x357372=Math[_0x2674b3(0x1a1)](Math[_0x2674b3(0x185)](_0x44d9d9));return(_0x357372<0xa?'0':'')+_0x357372;};return this[_0x5b419c(0x1b6)]()+'-'+_0x1a77f4(this[_0x5b419c(0x17b)]()+0x1)+'-'+_0x1a77f4(this[_0x5b419c(0x1db)]())+'T08:00:00Z';},Date[_0x1d8dd5(0x1ce)][_0x1d8dd5(0x1c4)]=function(){var _0x510700=_0x1d8dd5;this[_0x510700(0x1cc)]();var _0x4db386=function(_0x3ddf3f){var _0x1c93f8=_0x510700,_0x2874d1=Math[_0x1c93f8(0x1a1)](Math[_0x1c93f8(0x185)](_0x3ddf3f));return(_0x2874d1<0xa?'0':'')+_0x2874d1;};return this['getFullYear']()+'-'+_0x4db386(this[_0x510700(0x17b)]()+0x1)+'-'+_0x4db386(this[_0x510700(0x1db)]())+_0x510700(0x183);};var dateEvent=new Date(),startTime=dateEvent[_0x1d8dd5(0x1aa)](),stopTime=dateEvent[_0x1d8dd5(0x1c4)]();function _0x43f0(){var _0x4b5746=['577436rYPQSL','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2010000','body','Number(${Specific_space_heating_demand})>=\x20200','color(\x22#fee08b\x22)','Number(${electric_load})\x20<\x203229000','fromCartesian','3063179iCuaKR','Number(${PV_potential_yield})\x20<\x202','floor','true','color(\x22#e6f598\x22)','523852RvBXnF','then','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2050000','#loading','requestFullscreen','color(\x22#61B949\x22,0)','toIsoString_Start','color(\x22#ffffbf\x22)','Number(${PV_potential_yield})\x20<\x208','color(\x22#FECE02\x22)','color(\x27#3288bd\x27)','value','longitude','Number(${PV_potential_yield})\x20<\x207','ElecDemand','color(\x27#e6550d\x27)','color(\x27#66c2a5\x27)','change','getFullYear','color(\x27#d53e4f\x27)','color(\x22#A4C711\x22)','Number(${PV_potential_yield})\x20<\x205','#BuildingStyleSelector','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2017500','show','readyPromise','->\x20\x20add\x203DTiles\x20failed!\x0a','center','color(\x22#F56D1F\x22)','color(\x27#fd8d3c\x27)','style','color(\x27#fdae61\x27)','toIsoString_Stop','add','primitives','draw\x20chart\x20without\x20error','6PxjDgI','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20200000','80781TCzlos','color(\x22#3288bd\x22)','getTimezoneOffset','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20100000','prototype','HeatDemand','Cartographic','color(\x22#d53e4f\x22)','color(\x27#ffffbf\x27)','668540grjxhy','color(\x27#fdae6b\x27)','4402144XACkYC','.cesiumLegend','Cartesian3','currentTime','Number(${Specific_space_heating_demand})>=\x2025','Number(${PV_potential_yield})\x20<\x201','getDate','Number(${electric_load})\x20===\x200','Number(${Specific_space_heating_demand})>=\x2050','Number(${electric_load})\x20<\x205229000','#shadow_check','shadows','No\x20','Cesium3DTileStyle','457251sjHLnD','color(\x22#F9A717\x22)','Matrix4','color(\x27#fee08b\x27)','fromIso8601','color(\x27#ffffff\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2075000','subtract','Number(${Specific_space_heating_demand})>=\x2075','SpecificHeatDemand','\x20Style\x20in\x20the\x20html','getMonth','color(\x22#61B949\x22)','Cesium3DTileset','3.0','log','scene','latitude','-legend','T23:00:00Z','Number(${Specific_space_heating_demand})>=\x20100','abs','checked','color(\x27#f46d43\x27)','color(\x27#abdda4\x27)','color(\x27#fdd0a2\x27)','Fullscreen','hide','fromRadians','color(\x27#ffffff\x27,0)','Number(${PV_potential_yield})\x20<\x206','Number(${electric_load})\x20<\x204229000','color(\x22#abdda4\x22)','Number(${PV_potential_yield})\x20<\x203','boundingSphere','Number(${electric_load})\x20>=\x206229000','color(\x22#f46d43\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20===\x200','Number(${Specific_space_heating_demand})>\x20250','color(\x22white\x22,0)'];_0x43f0=function(){return _0x4b5746;};return _0x43f0();}viewer['clock'][_0x1d8dd5(0x1d8)]=Cesium['JulianDate'][_0x1d8dd5(0x1e7)](startTime),$(_0x1d8dd5(0x1ba))['on'](_0x1d8dd5(0x1b5),function(){var _0x572aa5=_0x1d8dd5;tileset_3Dbuildings[_0x572aa5(0x1c2)]=building_style[this['value']],$(_0x572aa5(0x1d6))[_0x572aa5(0x18b)]();try{$('#'+this[_0x572aa5(0x1af)]+_0x572aa5(0x182))[_0x572aa5(0x1bc)](),activateChart(this['value']),console[_0x572aa5(0x17f)](_0x572aa5(0x1c7));}catch(_0x3c6f98){console['log'](_0x572aa5(0x1e1)+this['value']+_0x572aa5(0x17a)),console[_0x572aa5(0x17f)]('error:\x20'+_0x3c6f98);}}),$(_0x1d8dd5(0x1df))[_0x1d8dd5(0x1b5)](function(){var _0x59a107=_0x1d8dd5;this[_0x59a107(0x186)]?viewer[_0x59a107(0x1e0)]=!0x0:viewer[_0x59a107(0x1e0)]=!0x1;});