pack_dm-min.js 9.4 KB
Newer Older
JOE XMG's avatar
publish    
JOE XMG committed
1
var _0x1a4cd2=_0x266c;(function(_0x50d1cd,_0x13eac3){var _0x5d521b=_0x266c,_0x14a43d=_0x50d1cd();while(!![]){try{var _0x41bae4=-parseInt(_0x5d521b(0x214))/0x1+parseInt(_0x5d521b(0x20c))/0x2*(parseInt(_0x5d521b(0x1f5))/0x3)+-parseInt(_0x5d521b(0x212))/0x4+parseInt(_0x5d521b(0x1e2))/0x5*(-parseInt(_0x5d521b(0x1db))/0x6)+-parseInt(_0x5d521b(0x1c5))/0x7*(parseInt(_0x5d521b(0x21a))/0x8)+parseInt(_0x5d521b(0x228))/0x9*(parseInt(_0x5d521b(0x1d7))/0xa)+parseInt(_0x5d521b(0x1bd))/0xb;if(_0x41bae4===_0x13eac3)break;else _0x14a43d['push'](_0x14a43d['shift']());}catch(_0x4d789f){_0x14a43d['push'](_0x14a43d['shift']());}}}(_0x4549,0xdcbae),$(document)['ready'](function(){var _0x3bd2f2=_0x266c;$(_0x3bd2f2(0x22b))[_0x3bd2f2(0x1df)]();}));function _0x4549(){var _0x58581b=['click','scene','->\x20\x20add\x203DTiles\x20failed!\x0a','color(\x22#F6EC00\x22)','color(\x22#F9A717\x22)','-legend','color(\x22#ffffbf\x22)','Number(${electric_load})\x20<\x203229000','366YKgVqC','color(\x27#66c2a5\x27)','AllWhite','3.0','Cartesian3','Number(${Specific_space_heating_demand})>=\x2025','3318652KsVRrm','color(\x27#fff\x27,0)','1118238SGpkJa','Number(${Specific_space_heating_demand})>=\x2050','\x20Style\x20in\x20the\x20html','log','Number(${Specific_space_heating_demand})>=\x2075','Cesium3DTileset','232XYPBdj','Number(${PV_potential_yield})\x20<\x207','Number(${Specific_space_heating_demand})>=\x20150','Number(${PV_potential_yield})\x20>=\x208','modelMatrix','Number(${Specific_space_heating_demand})>=\x20200','T23:00:00Z','color(\x22#A4C711\x22)','Cartographic','Matrix4','color(\x27#ffffff\x27,0)','primitives','color(\x22#D1E023\x22)','true','155529BfGDxp','color(\x27#fee08b\x27)','Number(${electric_load})\x20===\x200','#loading','subtract','color(\x22#e6f598\x22)','shadows','latitude','color(\x22#B2D531\x22)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20100000','style','SpecificHeatDemand','readyPromise','toIsoString_Stop','color(\x27#e6f598\x27)','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2012500','36126398hHcAtq','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2050000','Number(${Total_Yearly_Heat_DHW_demand})\x20===\x200','color(\x22#abdda4\x22)','color(\x22#fee08b\x22)','#shadow_check','then','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2075000','356461BDHcfA','currentTime','checked','Number(${electric_load})\x20>=\x206229000','No\x20','Number(${electric_load})\x20<\x205229000','PVPotential','Number(${PV_potential_yield})\x20<\x203','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x20200000','color(\x22#f46d43\x22)','color(\x22white\x22,0)','abs','Number(${Specific_space_heating_demand})>=\x20125','color(\x27#3288bd\x27)','#BuildingStyleSelector','getMonth','getDate','prototype','380LPmZWQ','Number(${electric_load})\x20<\x206229000','clock','color(\x27#f46d43\x27)','1435974QXHNcM','color(\x27#fdd0a2\x27)','longitude','https://steinbeis-3dps.eu/3DGeoVolumes/collections/Dithmarschen/tileset_dm_all/tileset.json','hide','show','Number(${Specific_space_heating_demand})>=\x20100','15NFgUvD','getTimezoneOffset','getFullYear','Fullscreen','fromRadians','color(\x22#66c2a5\x22)','toIsoString_Start','ElecDemand','center','#full-screen-button','Number(${electric_load})\x20<\x204229000','Cesium3DTileStyle','Number(${PV_potential_yield})\x20<\x202','color(\x22#3288bd\x22)','color(\x22#fdae61\x22)','requestFullscreen','add','fromCartesian','value','18129IzRNrZ','floor','Number(${Specific_space_heating_demand})>=\x200','color(\x27#abdda4\x27)','color(\x27#ffffbf\x27)','Number(${Specific_space_heating_demand})>\x20250','Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2010000','color(\x22#61B949\x22)','color(\x27#d53e4f\x27)','color(\x27#fdae6b\x27)','color(\x27#fdae61\x27)','color(\x22#d53e4f\x22)','HeatDemand','fromIso8601','fromTranslation'];_0x4549=function(){return _0x58581b;};return _0x4549();}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}}};$(_0x1a4cd2(0x1eb))[_0x1a4cd2(0x204)](function(){var _0x3f9919=_0x1a4cd2;Cesium[_0x3f9919(0x1e5)][_0x3f9919(0x1f1)](document['body']);});var building_style=[],addBuilding=function(){var _0x590836=_0x1a4cd2;try{tileset_3Dbuildings=viewer[_0x590836(0x205)][_0x590836(0x225)][_0x590836(0x1f2)](new Cesium[(_0x590836(0x219))]({'url':_0x590836(0x1de),'maximumScreenSpaceError':0x20,'skipLevelOfDetail':!0x0,'baseScreenSpaceError':0x400,'skipScreenSpaceErrorFactor':0x40,'skipLevels':0x2,'immediatelyLoadDesiredLevelOfDetail':!0x1,'loadSiblings':!0x1,'cullWithChildrenBounds':!0x0}));}catch(_0x18dcab){console['log'](_0x590836(0x206)+_0x18dcab);}tileset_3Dbuildings[_0x590836(0x1b9)][_0x590836(0x1c3)](function(){var _0x4f4384=_0x590836,_0x127edd=tileset_3Dbuildings['boundingSphere'],_0x18ed32=Cesium[_0x4f4384(0x222)][_0x4f4384(0x1f3)](_0x127edd[_0x4f4384(0x1ea)]),_0x5455c5=Cesium[_0x4f4384(0x210)][_0x4f4384(0x1e6)](_0x18ed32[_0x4f4384(0x1dd)],_0x18ed32[_0x4f4384(0x1b4)],0x0),_0x48a00a=Cesium[_0x4f4384(0x210)][_0x4f4384(0x1e6)](_0x18ed32[_0x4f4384(0x1dd)],_0x18ed32[_0x4f4384(0x1b4)],0x28),_0x1d3b83=Cesium[_0x4f4384(0x210)][_0x4f4384(0x22c)](_0x48a00a,_0x5455c5,new Cesium['Cartesian3']());tileset_3Dbuildings[_0x4f4384(0x21e)]=Cesium[_0x4f4384(0x223)][_0x4f4384(0x203)](_0x1d3b83);}),building_style[_0x590836(0x20e)]=new Cesium[(_0x590836(0x1ed))]({'pointSize':_0x590836(0x20f),'show':!0x0,'color':'color(\x27#ffffff\x27)'}),building_style[_0x590836(0x1b8)]=new Cesium[(_0x590836(0x1ed))]({'pointSize':_0x590836(0x20f),'show':!0x0,'color':{'conditions':[[_0x590836(0x1fa),_0x590836(0x200)],[_0x590836(0x21f),_0x590836(0x1ce)],[_0x590836(0x21c),_0x590836(0x1f0)],[_0x590836(0x1d1),_0x590836(0x1c1)],[_0x590836(0x1e1),_0x590836(0x20a)],[_0x590836(0x218),_0x590836(0x1b2)],[_0x590836(0x215),_0x590836(0x1c0)],[_0x590836(0x211),_0x590836(0x1e7)],[_0x590836(0x1f7),_0x590836(0x1ef)],['true',_0x590836(0x1cf)]]}}),building_style[_0x590836(0x201)]=new Cesium['Cesium3DTileStyle']({'pointSize':_0x590836(0x20f),'show':!0x0,'color':{'conditions':[[_0x590836(0x1bf),_0x590836(0x224)],[_0x590836(0x1fb),_0x590836(0x1d2)],[_0x590836(0x1bc),_0x590836(0x20d)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2017500',_0x590836(0x1f8)],['Number(${Total_Yearly_Heat_DHW_demand})\x20<\x2035000',_0x590836(0x1bb)],[_0x590836(0x1be),_0x590836(0x1f9)],[_0x590836(0x1c4),_0x590836(0x229)],[_0x590836(0x1b6),_0x590836(0x1ff)],[_0x590836(0x1cd),_0x590836(0x1da)],['Number(${Total_Yearly_Heat_DHW_demand})\x20>=\x20200000',_0x590836(0x1fd)],[_0x590836(0x227),_0x590836(0x213)]]}}),building_style[_0x590836(0x1cb)]=new Cesium[(_0x590836(0x1ed))]({'pointSize':_0x590836(0x20f),'show':!0x0,'color':{'conditions':[['Number(${PV_potential_yield})\x20<\x201','color(\x22#F22E22\x22)'],[_0x590836(0x1ee),'color(\x22#F56D1F\x22)'],[_0x590836(0x1cc),_0x590836(0x208)],['Number(${PV_potential_yield})\x20<\x204','color(\x22#FECE02\x22)'],['Number(${PV_potential_yield})\x20<\x205',_0x590836(0x207)],['Number(${PV_potential_yield})\x20<\x206',_0x590836(0x226)],[_0x590836(0x21b),_0x590836(0x1b5)],['Number(${PV_potential_yield})\x20<\x208',_0x590836(0x221)],[_0x590836(0x21d),_0x590836(0x1fc)],['true','color(\x22#61B949\x22,0)']]}}),building_style[_0x590836(0x1e9)]=new Cesium[(_0x590836(0x1ed))]({'pointSize':_0x590836(0x20f),'show':!0x0,'color':{'conditions':[[_0x590836(0x22a),_0x590836(0x224)],[_0x590836(0x20b),'color(\x27#feedde\x27)'],[_0x590836(0x1ec),_0x590836(0x1dc)],[_0x590836(0x1ca),_0x590836(0x1fe)],[_0x590836(0x1d8),'color(\x27#fd8d3c\x27)'],[_0x590836(0x1c8),'color(\x27#e6550d\x27)'],[_0x590836(0x227),_0x590836(0x1cf)]]}}),tileset_3Dbuildings[_0x590836(0x1b7)]=building_style['AllWhite'];};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];function _0x266c(_0x5ba603,_0x58750c){var _0x45491c=_0x4549();return _0x266c=function(_0x266cc8,_0x4e4d59){_0x266cc8=_0x266cc8-0x1b2;var _0x4033a4=_0x45491c[_0x266cc8];return _0x4033a4;},_0x266c(_0x5ba603,_0x58750c);}Date[_0x1a4cd2(0x1d6)][_0x1a4cd2(0x1e8)]=function(){var _0x3f25d2=_0x1a4cd2;this['getTimezoneOffset']();var _0x366c66=function(_0x2894e5){var _0x162107=_0x266c,_0xe1f3f8=Math[_0x162107(0x1f6)](Math[_0x162107(0x1d0)](_0x2894e5));return(_0xe1f3f8<0xa?'0':'')+_0xe1f3f8;};return this[_0x3f25d2(0x1e4)]()+'-'+_0x366c66(this[_0x3f25d2(0x1d4)]()+0x1)+'-'+_0x366c66(this[_0x3f25d2(0x1d5)]())+'T08:00:00Z';},Date[_0x1a4cd2(0x1d6)]['toIsoString_Stop']=function(){var _0x430719=_0x1a4cd2;this[_0x430719(0x1e3)]();var _0x5d0528=function(_0x4b6029){var _0xad882f=_0x430719,_0x587812=Math[_0xad882f(0x1f6)](Math['abs'](_0x4b6029));return(_0x587812<0xa?'0':'')+_0x587812;};return this[_0x430719(0x1e4)]()+'-'+_0x5d0528(this[_0x430719(0x1d4)]()+0x1)+'-'+_0x5d0528(this[_0x430719(0x1d5)]())+_0x430719(0x220);};var dateEvent=new Date(),startTime=dateEvent[_0x1a4cd2(0x1e8)](),stopTime=dateEvent[_0x1a4cd2(0x1ba)]();viewer[_0x1a4cd2(0x1d9)][_0x1a4cd2(0x1c6)]=Cesium['JulianDate'][_0x1a4cd2(0x202)](startTime),$(_0x1a4cd2(0x1d3))['on']('change',function(){var _0x3dc508=_0x1a4cd2;tileset_3Dbuildings['style']=building_style[this['value']],$('.cesiumLegend')[_0x3dc508(0x1df)]();try{$('#'+this[_0x3dc508(0x1f4)]+_0x3dc508(0x209))[_0x3dc508(0x1e0)](),activateChart(this[_0x3dc508(0x1f4)]);}catch(_0x15a990){console[_0x3dc508(0x217)](_0x3dc508(0x1c9)+this['value']+_0x3dc508(0x216));}}),$(_0x1a4cd2(0x1c2))['change'](function(){var _0x5538b5=_0x1a4cd2;this[_0x5538b5(0x1c7)]?viewer[_0x5538b5(0x1b3)]=!0x0:viewer[_0x5538b5(0x1b3)]=!0x1;});