var _0x3813cc=_0x112f;(function(_0x453dae,_0x2fa26d){var _0x5b4f4b=_0x112f,_0x464cde=_0x453dae();while(!![]){try{var _0x491980=-parseInt(_0x5b4f4b(0x208))/0x1*(-parseInt(_0x5b4f4b(0x207))/0x2)+-parseInt(_0x5b4f4b(0x2a4))/0x3*(-parseInt(_0x5b4f4b(0x200))/0x4)+parseInt(_0x5b4f4b(0x285))/0x5*(-parseInt(_0x5b4f4b(0x273))/0x6)+parseInt(_0x5b4f4b(0x289))/0x7*(-parseInt(_0x5b4f4b(0x22a))/0x8)+parseInt(_0x5b4f4b(0x20b))/0x9*(parseInt(_0x5b4f4b(0x206))/0xa)+-parseInt(_0x5b4f4b(0x24f))/0xb+parseInt(_0x5b4f4b(0x1fb))/0xc;if(_0x491980===_0x2fa26d)break;else _0x464cde['push'](_0x464cde['shift']());}catch(_0x1317d9){_0x464cde['push'](_0x464cde['shift']());}}}(_0x113e,0xc5edb),$(document)['ready'](function(){var _0x1b9dd1=_0x112f;$(_0x1b9dd1(0x267))[_0x1b9dd1(0x271)]();}));function _0x112f(_0x2dbb43,_0x56692f){var _0x113e18=_0x113e();return _0x112f=function(_0x112f2f,_0x17d725){_0x112f2f=_0x112f2f-0x1df;var _0x53a20b=_0x113e18[_0x112f2f];return _0x53a20b;},_0x112f(_0x2dbb43,_0x56692f);}var PVPotential_legend_context=_0x3813cc(0x1ec);$(_0x3813cc(0x286))['length']>0x0&&$(_0x3813cc(0x286))['html'](PVPotential_legend_context);var PVSpecificYield_legend_context='\x0a<small\x20class=\x22font-weight-bold\x22>PV\x20Specific\x20Yield\x20(kWh/kWp.year)\x20</small>\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#8C2D04\x22></span>\x20>\x201100\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#CC4C02\x22></span>\x201050\x20-\x201100\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#EC7014\x22></span>\x201000\x20-\x201050\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FE9929\x22></span>\x20950\x20-\x201000\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FEC44F\x22></span>\x20900\x20-\x20950\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FEE391\x22></span>\x20850\x20-\x20900<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FFFFD4\x22></span>\x20<\x20850\x20<br>\x0a<br>\x0a';$(_0x3813cc(0x219))['length']>0x0&&$('#PVSpecificYield-legend')[_0x3813cc(0x28f)](PVSpecificYield_legend_context);var heat_demand_legend_context=_0x3813cc(0x226);$(_0x3813cc(0x291))[_0x3813cc(0x27f)]>0x0&&$(_0x3813cc(0x291))[_0x3813cc(0x28f)](heat_demand_legend_context),Cesium['Ion'][_0x3813cc(0x240)]='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZTkyOTcyNC0yMGFkLTQ2ZjktODA5YS0xYjY1N2QwM2Y2ZmMiLCJpZCI6NDM2NDUsImlhdCI6MTYxMjkyNDgwNX0.12Xvbhtt_c2Y2RGA6J_J906Vdn1iOKZKPur0SASh-gk';var viewer=new Cesium['Viewer'](_0x3813cc(0x2a2),{'terrainProvider':Cesium[_0x3813cc(0x1fa)](),'baseLayerPicker':!0x0,'vrButton':!0x1,'geocoder':!0x0,'navigationHelpButton':!0x1,'selectionIndicator':!0x0,'shadows':!0x1,'timeline':!0x1,'sceneModePicker':!0x1,'homeButton':!0x1,'fullscreenButton':!0x0,'infoBox':!0x1,'imageryProvider':new Cesium['ArcGisMapServerImageryProvider']({'url':_0x3813cc(0x237)})});$('#full-screen-button')[_0x3813cc(0x295)](function(){Cesium['Fullscreen']['requestFullscreen'](document['body']);}),Cesium['GeoJsonDataSource'][_0x3813cc(0x209)]=!0x0,viewer[_0x3813cc(0x21f)]['setView']({'destination':{'x':-3447610.163256134,'y':4035558.08021155,'z':3526721.814467922},'orientation':{'direction':{'x':-0.3228353906545565,'y':-0.9232459949887203,'z':0.2083126095036207},'up':{'x':-0.663817634371156,'y':0.3777599007354034,'z':0.6454793611683185}}});var building_style=[],addBuilding=function(){var _0x4ed099=_0x3813cc;try{tileset_3Dbuildings=viewer['scene'][_0x4ed099(0x277)]['add'](new Cesium['Cesium3DTileset']({'url':_0x4ed099(0x2c0),'maximumScreenSpaceError':0x8}));}catch(_0x2f001b){}tileset_3Dbuildings[_0x4ed099(0x220)][_0x4ed099(0x21a)](function(){var _0x47aab1=_0x4ed099,_0x11bccc=tileset_3Dbuildings['boundingSphere'],_0x201b2a=Cesium[_0x47aab1(0x1f8)][_0x47aab1(0x249)](_0x11bccc[_0x47aab1(0x25a)]),_0xc9a43b=Cesium[_0x47aab1(0x2b1)][_0x47aab1(0x27a)](_0x201b2a['longitude'],_0x201b2a[_0x47aab1(0x28c)],0x0),_0x1a5e95=Cesium[_0x47aab1(0x2b1)]['fromRadians'](_0x201b2a[_0x47aab1(0x293)],_0x201b2a['latitude'],37.5),_0x2c0134=Cesium[_0x47aab1(0x2b1)][_0x47aab1(0x20f)](_0x1a5e95,_0xc9a43b,new Cesium['Cartesian3']());tileset_3Dbuildings['modelMatrix']=Cesium[_0x47aab1(0x2b4)]['fromTranslation'](_0x2c0134),viewer[_0x47aab1(0x210)](tileset_3Dbuildings);}),building_style[_0x4ed099(0x230)]=new Cesium['Cesium3DTileStyle']({'pointSize':'3.0','show':!0x0,'color':{'conditions':[['true',_0x4ed099(0x27e)]]}}),building_style[_0x4ed099(0x2a8)]=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[[_0x4ed099(0x2a0),_0x4ed099(0x21b)]]}}),building_style[_0x4ed099(0x212)]=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[[_0x4ed099(0x29c),_0x4ed099(0x287)],[_0x4ed099(0x2be),_0x4ed099(0x205)],['Number(${PV_potential_yield})\x20<\x2015',_0x4ed099(0x266)],[_0x4ed099(0x26f),_0x4ed099(0x222)],[_0x4ed099(0x1f0),_0x4ed099(0x22b)],[_0x4ed099(0x2c6),_0x4ed099(0x284)],[_0x4ed099(0x228),_0x4ed099(0x23c)],[_0x4ed099(0x2a0),_0x4ed099(0x27e)]]}}),building_style['PVSpecificYield']=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[[_0x4ed099(0x1ef),'color(\x22#FFFFD4\x22)'],[_0x4ed099(0x26d),_0x4ed099(0x205)],[_0x4ed099(0x265),_0x4ed099(0x266)],['Number(${PV_specific_yield})\x20<\x201000',_0x4ed099(0x222)],['Number(${PV_specific_yield})\x20<\x201050','color(\x22#EC7014\x22)'],[_0x4ed099(0x22c),_0x4ed099(0x284)],[_0x4ed099(0x251),_0x4ed099(0x23c)],[_0x4ed099(0x2a0),'color(\x27#ffffff\x27)']]}}),building_style[_0x4ed099(0x276)]=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[['${Electric_Demand}\x20===\x200','color(\x27#ffffff\x27)'],[_0x4ed099(0x296),_0x4ed099(0x227)],[_0x4ed099(0x1e4),_0x4ed099(0x2a3)],[_0x4ed099(0x20a),'color(\x27#fdae6b\x27)'],[_0x4ed099(0x29a),_0x4ed099(0x1df)],[_0x4ed099(0x201),_0x4ed099(0x24e)],[_0x4ed099(0x2a0),_0x4ed099(0x1ed)]]}}),building_style['height']=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[[_0x4ed099(0x2bc),_0x4ed099(0x202)],[_0x4ed099(0x28b),_0x4ed099(0x279)],[_0x4ed099(0x2bf),_0x4ed099(0x1f3)],[_0x4ed099(0x27c),_0x4ed099(0x215)],[_0x4ed099(0x221),'color(\x27#253494\x27)'],[_0x4ed099(0x2a0),'color(\x27#E8F1F2\x27,\x200.5)']]}}),tileset_3Dbuildings[_0x4ed099(0x2af)]=building_style['AllWhite'],building_style[_0x4ed099(0x260)]=new Cesium[(_0x4ed099(0x2aa))]({'show':!0x0,'color':{'conditions':[[_0x4ed099(0x24a),_0x4ed099(0x20e)],[_0x4ed099(0x23d),_0x4ed099(0x27d)],[_0x4ed099(0x2ba),_0x4ed099(0x218)],['Number(${Specific_space_heating_demand})>=\x20125','color(\x22#fee08b\x22)'],[_0x4ed099(0x21c),'color(\x22#ffffbf\x22)'],[_0x4ed099(0x274),_0x4ed099(0x281)],['Number(${Specific_space_heating_demand})>=\x2050','color(\x22#abdda4\x22)'],[_0x4ed099(0x292),_0x4ed099(0x242)],[_0x4ed099(0x21d),_0x4ed099(0x29e)],['true','color(\x22white\x22,0)']]}});};addBuilding();var layerIsLoaded=[],layerIsLoadedFirstTime=[],promise=[],datasources=[],datasource=[];Date[_0x3813cc(0x269)][_0x3813cc(0x1eb)]=function(){var _0x5d0ca9=_0x3813cc;this[_0x5d0ca9(0x243)]();var _0x3cc5ce=function(_0x3afe22){var _0x5edec4=_0x5d0ca9,_0x200bdf=Math[_0x5edec4(0x288)](Math[_0x5edec4(0x2b3)](_0x3afe22));return(_0x200bdf<0xa?'0':'')+_0x200bdf;};return this[_0x5d0ca9(0x258)]()+'-'+_0x3cc5ce(this[_0x5d0ca9(0x1ff)]()+0x1)+'-'+_0x3cc5ce(this[_0x5d0ca9(0x297)]())+_0x5d0ca9(0x28a);},Date[_0x3813cc(0x269)][_0x3813cc(0x29f)]=function(){var _0x3df437=_0x3813cc;this[_0x3df437(0x243)]();var _0xb6a63c=function(_0x2879a4){var _0x174fc3=_0x3df437,_0x231428=Math['floor'](Math[_0x174fc3(0x2b3)](_0x2879a4));return(_0x231428<0xa?'0':'')+_0x231428;};return this['getFullYear']()+'-'+_0xb6a63c(this[_0x3df437(0x1ff)]()+0x1)+'-'+_0xb6a63c(this[_0x3df437(0x297)]())+_0x3df437(0x23a);};var layer_district,dateEvent=new Date(),startTime=dateEvent[_0x3813cc(0x1eb)](),stopTime=dateEvent[_0x3813cc(0x29f)]();function _0x113e(){var _0x4bba41=['setOption','error\x20adding\x20ArcGIS\x20WMTS:\x20','Total\x20roof\x20area','4px','Number(${Specific_space_heating_demand})>=\x20150','name','Number(${計測高さ})\x20<\x205','May\x20Heating\x20Demand','Number(${PV_potential_yield})\x20<\x2010','Number(${計測高さ})\x20<\x2020','assets/data/japan_fme/tileset.json','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Total\x20roof\x20area</th><td>','December\x20Heating\x20Demand','JUN','getPropertyNames','ScreenSpaceEventType','Number(${PV_potential_yield})\x20<\x2030','color(\x27#fd8d3c\x27)','.cesiumLegend','axis','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Internal\x20rate\x20of\x20return</th><td>','#attribute-table-area','${Electric_Demand}\x20<\x204229','div','position','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','series','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Financial\x20feasibility</th><td>','LCOE','toIsoString_Start','\x0a<small\x20class=\x22font-weight-bold\x22>PV\x20Potential\x20MWh/year\x20</small>\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#8C2D04\x22></span>\x20>\x2030\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#CC4C02\x22></span>\x2025\x20-\x2030\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#EC7014\x22></span>\x2020\x20-\x2025\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FE9929\x22></span>\x2015\x20-\x2020\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FEC44F\x22></span>\x2010\x20-\x2015\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FEE391\x22></span>\x205\x20-\x2010<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#FFFFD4\x22></span>\x200\x20-\x205<br>\x0a<br>\x0a','color(\x27#a63603\x27,\x200.5)','#f0f6fb','Number(${PV_specific_yield})\x20<\x20850','Number(${PV_potential_yield})\x20<\x2025','cross','setInputAction','color(\x27#41b6c4\x27)','Color','backdrop','#shadow_check','shadows','Cartographic','container','createWorldTerrain','30429396hVlIak','getProperty','color','absolute','getMonth','35704uVdrnH','${Electric_Demand}\x20<\x207229','color(\x27#ffffcc\x27)','clock','#district_checkbox','color(\x22#FEE391\x22)','9261130MDsFHI','6HgSHJV','204938ThFlRo','clampToGround','${Electric_Demand}\x20<\x205229','9ZqNbyS','-legend','show','color(\x22#d53e4f\x22)','subtract','flyTo','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>citygml_feature_role</th><td>','PVPotential','January\x20Heating\x20Demand','October\x20Heating\x20Demand','color(\x27#2c7fb8\x27)','Module\x20area/Surface\x20area','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Irradiance\x20in\x20module\x20plane</th><td>','color(\x22#fdae61\x22)','#PVSpecificYield-legend','then','color(\x27#ffffff\x27,\x200.75)','Number(${Specific_space_heating_demand})>=\x20100','Number(${Specific_space_heating_demand})>=\x200','建物ID','camera','readyPromise','Number(${計測高さ})\x20>=\x2030','color(\x22#FE9929\x22)','citygml_measured_height','none','Internal\x20rate\x20of\x20return','\x0a<small\x20class=\x22font-weight-bold\x22>Annual\x20Heat\x20Demand\x20in\x20MW⋅h<sub>th</sub>\x20</small>\x20<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#d53e4f\x22></span>\x20>=\x20200<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#f46d43\x22></span>\x20100\x20-\x20200<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#fdae61\x22></span>\x2075\x20-\x20100<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#fee08b\x22></span>\x2050\x20-\x2075<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#ffffbf\x22></span>\x2035\x20-\x2050<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#e6f598\x22></span>\x2017.5\x20-\x2035<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#abdda4\x22></span>\x2012.5\x20-\x2017.5<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#66c2a5\x22></span>\x2010\x20-\x2012.5<br>\x0a<span\x20class=\x22dot\x22\x20style=\x22background-color:\x20#3288bd\x22></span>\x200\x20-\x2010<br>\x0a','color(\x27#feedde\x27)','Number(${PV_potential_yield})\x20>=\x2030','August\x20Heating\x20Demand','536EDDgrx','color(\x22#EC7014\x22)','Number(${PV_specific_yield})\x20<\x201100','bottom','Payback\x20period','https://tiles.arcgis.com/tiles/1lplwYilIlo008hQ/arcgis/rest/services/munakata_lod0_DistrictAndZones_102100t/MapServer','AllWhite','value','Temperature','{value}\x20°C','September\x20Heating\x20Demand','June\x20Heating\x20Demand','JUL','https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer','originalColor','feature','T23:00:00Z','</td></tr>','color(\x22#8C2D04\x22)','Number(${Specific_space_heating_demand})>=\x20200','checked','MAR','defaultAccessToken','SEP','color(\x22#66c2a5\x22)','getTimezoneOffset','init','JAN','APR','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>PV\x20potential\x20nominal\x20power</th><td>','category','fromCartesian','Number(${Specific_space_heating_demand})>\x20250','LIME','left','change','color(\x27#e6550d\x27)','17434450GkVOAi','LEFT_CLICK','Number(${PV_specific_yield})\x20>=\x201100\x20','Specific\x20domestic\x20hot\x20water\x20demand','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Total\x20investment</th><td>','</th><td>','#EE6666','\x20°C','getInputAction','getFullYear','Discounted\x20payback\x20period','center','currentTime','bar','line','remove','createElement','specific_heatdemand','PV\x20potential\x20nominal\x20power','Total\x20wall\x20thermal\x20area\x20above\x20ground','Maintenance\x20costs','Irradiance\x20in\x20module\x20plane','Number(${PV_specific_yield})\x20<\x20950','color(\x22#FEC44F\x22)','#loading','FEB','prototype','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Maintenance\x20costs</th><td>','imageryLayers','scene','Number(${PV_specific_yield})\x20<\x20900','MAY','Number(${PV_potential_yield})\x20<\x2020','appendChild','hide','#chart_intro','12yMjIfx','Number(${Specific_space_heating_demand})>=\x2075','DEC','ElecDemand','primitives','getElementById','color(\x27#a1dab4\x27)','fromRadians','gml_id','Number(${計測高さ})\x20<\x2030','color(\x22#f46d43\x22)','color(\x27#ffffff\x27)','length','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>citygml_measured_height</th><td>','color(\x22#e6f598\x22)','fromIso8601','defined','color(\x22#CC4C02\x22)','1861495yggjgX','#PVPotential-legend','color(\x22#FFFFD4\x22)','floor','136073dMeqGO','T08:00:00Z','Number(${計測高さ})\x20<\x2010','latitude','pick','Net\x20present\x20value','html','November\x20Heating\x20Demand','#specific_heatdemand-legend','Number(${Specific_space_heating_demand})>=\x2025','longitude','addImageryProvider','click','${Electric_Demand}\x20<\x203229','getDate','February\x20Heating\x20Demand','backgroundColor','${Electric_Demand}\x20<\x206229','March\x20Heating\x20Demand','Number(${PV_potential_yield})\x20<\x205','className','color(\x22#3288bd\x22)','toIsoString_Stop','true','\x20kWh','cesiumContainer','color(\x27#fdd0a2\x27)','123RKDYGc','#BuildingStyleSelector','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>建物ID</th><td>','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Total\x20wall\x20thermal\x20area\x20above\x20ground</th><td>','transparent','Heat\x20Demand','Cesium3DTileStyle','July\x20Heating\x20Demand','</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Payback\x20period</th><td>','Heated\x20area','citygml_measured_height_units','style','April\x20Heating\x20Demand','Cartesian3','#3d_building_checkbox','abs','Matrix4','screenSpaceEventHandler'];_0x113e=function(){return _0x4bba41;};return _0x113e();}viewer[_0x3813cc(0x203)][_0x3813cc(0x25b)]=Cesium['JulianDate'][_0x3813cc(0x282)](startTime),$(_0x3813cc(0x2a5))['on']('change',function(){var _0x470449=_0x3813cc;tileset_3Dbuildings[_0x470449(0x2af)]=building_style[this[_0x470449(0x231)]],$(_0x470449(0x1e0))['hide']();try{$('#'+this['value']+_0x470449(0x20c))[_0x470449(0x20d)]();}catch(_0x19075a){}}),$(_0x3813cc(0x1f6))[_0x3813cc(0x24d)](function(){var _0x5ee572=_0x3813cc;this['checked']?viewer['shadows']=!0x0:viewer[_0x5ee572(0x1f7)]=!0x1;}),$(_0x3813cc(0x2b2))[_0x3813cc(0x24d)](function(){var _0x1d3100=_0x3813cc;this[_0x1d3100(0x23e)]?tileset_3Dbuildings[_0x1d3100(0x20d)]=!0x0:tileset_3Dbuildings[_0x1d3100(0x20d)]=!0x1;}),$(_0x3813cc(0x204))[_0x3813cc(0x24d)](function(){var _0xb287c8=_0x3813cc;if(this['checked'])try{layer=new Cesium['ArcGisMapServerImageryProvider']({'url':_0xb287c8(0x22f)}),layer_district=viewer[_0xb287c8(0x26b)][_0xb287c8(0x294)](layer);}catch(_0x2817a0){print(_0xb287c8(0x2b7)+_0x2817a0);}else try{viewer[_0xb287c8(0x26b)][_0xb287c8(0x25e)](layer_district);}catch(_0x59400a){print('error\x20removing\x20ArcGIS\x20WMTS:\x20'+_0x59400a);}});var drawChart=function(_0x287b21){var _0x54dc19=_0x3813cc,_0x2dee3c,_0x250eab=document[_0x54dc19(0x278)]('simstadt_chart'),_0x552bc2=echarts[_0x54dc19(0x244)](_0x250eab);(_0x2dee3c={'color':[_0x54dc19(0x255),'#5470C6'],'tooltip':{'trigger':_0x54dc19(0x1e1),'axisPointer':{'type':_0x54dc19(0x1f1)}},'legend':{},'grid':{'top':0x46,'bottom':0x32},'xAxis':[{'type':_0x54dc19(0x248),'axisTick':{'alignWithLabel':!0x0},'axisLine':{'onZero':!0x1},'data':[_0x54dc19(0x245),_0x54dc19(0x268),_0x54dc19(0x23f),_0x54dc19(0x246),_0x54dc19(0x26e),_0x54dc19(0x2c3),_0x54dc19(0x236),'AUG',_0x54dc19(0x241),'OCT','NOV',_0x54dc19(0x275)]}],'yAxis':[{'type':'value','name':_0x54dc19(0x2a9)},{'type':_0x54dc19(0x231),'name':_0x54dc19(0x232),'axisLabel':{'formatter':_0x54dc19(0x233)}}],'series':[{'name':'Heat\x20Demand','type':_0x54dc19(0x25c),'xAxisIndex':0x0,'smooth':!0x0,'yAxisIndex':0x0,'tooltip':{'valueFormatter':function(_0x4e1ef2){var _0x531217=_0x54dc19;return _0x4e1ef2+_0x531217(0x2a1);}},'emphasis':{'focus':_0x54dc19(0x1e8)},'data':_0x287b21},{'name':_0x54dc19(0x232),'type':_0x54dc19(0x25d),'yAxisIndex':0x1,'tooltip':{'valueFormatter':function(_0x9fb333){var _0x543685=_0x54dc19;return _0x9fb333+_0x543685(0x256);}},'data':[0x9,0xa,0xd,0x12,0x16,0x19,0x1d,0x1e,0x1a,0x16,0x10,0xb]}]})&&_0x552bc2[_0x54dc19(0x2b6)](_0x2dee3c);};const highlighted={'feature':void 0x0,'originalColor':new Cesium[(_0x3813cc(0x1f4))]()},nameOverlay=document[_0x3813cc(0x25f)](_0x3813cc(0x1e5));viewer[_0x3813cc(0x1f9)][_0x3813cc(0x270)](nameOverlay),nameOverlay[_0x3813cc(0x29d)]=_0x3813cc(0x1f5),nameOverlay[_0x3813cc(0x2af)]['display']='none',nameOverlay[_0x3813cc(0x2af)][_0x3813cc(0x1e6)]=_0x3813cc(0x1fe),nameOverlay[_0x3813cc(0x2af)][_0x3813cc(0x22d)]='0',nameOverlay[_0x3813cc(0x2af)][_0x3813cc(0x24c)]='0',nameOverlay['style']['pointer-events']=_0x3813cc(0x224),nameOverlay[_0x3813cc(0x2af)]['padding']=_0x3813cc(0x2b9),nameOverlay[_0x3813cc(0x2af)][_0x3813cc(0x299)]=_0x3813cc(0x1ee);const selected={'feature':void 0x0,'originalColor':new Cesium[(_0x3813cc(0x1f4))]()},selectedEntity=new Cesium['Entity'](),clickHandler=viewer[_0x3813cc(0x2b5)][_0x3813cc(0x257)](Cesium[_0x3813cc(0x2c5)][_0x3813cc(0x250)]);viewer[_0x3813cc(0x2b5)][_0x3813cc(0x1f2)](function(_0x4b80c8){var _0x3248e2=_0x3813cc;Cesium[_0x3248e2(0x283)](selected['feature'])&&(selected[_0x3248e2(0x239)][_0x3248e2(0x1fd)]=selected[_0x3248e2(0x238)],selected['feature']=void 0x0,$(_0x3248e2(0x1e3))[_0x3248e2(0x28f)](''),$(_0x3248e2(0x272))['hide']());const _0x2e00ed=viewer[_0x3248e2(0x26c)][_0x3248e2(0x28d)](_0x4b80c8[_0x3248e2(0x1e6)]);if(Cesium[_0x3248e2(0x283)](_0x2e00ed)){if(selected[_0x3248e2(0x239)]!==_0x2e00ed&&(selected[_0x3248e2(0x239)]=_0x2e00ed,last_picked_3DTiles=_0x2e00ed,!_0x2e00ed['id'])){var _0x72ec7a=last_picked_3DTiles[_0x3248e2(0x2c4)]();_0x2e00ed===highlighted[_0x3248e2(0x239)]?(Cesium['Color']['clone'](highlighted['originalColor'],selected[_0x3248e2(0x238)]),highlighted[_0x3248e2(0x239)]=void 0x0):Cesium[_0x3248e2(0x1f4)]['clone'](_0x2e00ed[_0x3248e2(0x1fd)],selected[_0x3248e2(0x238)]),_0x2e00ed[_0x3248e2(0x1fd)]=Cesium['Color'][_0x3248e2(0x24b)];const _0x34d187=_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2bb));selectedEntity[_0x3248e2(0x2bb)]=_0x34d187,attribute_text='',monthly_heating_demand=[_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x213)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x298)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x29b)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2b0)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2bd)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x235)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2ab)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x229)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x234)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x214)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x290)),_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2c2))];for(let _0x1cc2d6=0x0;_0x1cc2d6<_0x72ec7a[_0x3248e2(0x27f)];_0x1cc2d6++){const _0x5881d4=_0x72ec7a[_0x1cc2d6];null!==_0x2e00ed['getProperty'](_0x5881d4)&&(attribute_text+='<tr><th>'+_0x5881d4+_0x3248e2(0x254)+_0x2e00ed['getProperty'](_0x5881d4)+_0x3248e2(0x23b));}table_attribute_html='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22col-md\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h5>CityGML\x20Attribute</h5>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20class=\x22table\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody>\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>gml_id</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x27b))+_0x3248e2(0x211)+_0x2e00ed[_0x3248e2(0x1fc)]('citygml_feature_role')+_0x3248e2(0x280)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x223))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>citygml_measured_height_units</th><td>'+_0x2e00ed['getProperty'](_0x3248e2(0x2ae))+_0x3248e2(0x2a6)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x21e))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22col-md\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h5>SimStadt\x20Building\x20Simulation</h5>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22simstadt_chart\x22\x20style=\x22width:\x20100%;height:400px;\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20class=\x22table\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody>\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Module\x20area/Surface\x20area</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x216))+_0x3248e2(0x217)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x264))+_0x3248e2(0x247)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x261))+_0x3248e2(0x253)+_0x2e00ed[_0x3248e2(0x1fc)]('Total\x20investment')+_0x3248e2(0x26a)+_0x2e00ed['getProperty'](_0x3248e2(0x263))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>LCOE</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x1ea))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Net\x20present\x20value</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x28e))+_0x3248e2(0x1e2)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x225))+_0x3248e2(0x2ac)+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x22e))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Discounted\x20payback\x20period</th><td>'+_0x2e00ed['getProperty'](_0x3248e2(0x259))+_0x3248e2(0x1e9)+_0x2e00ed['getProperty']('Financial\x20feasibility')+_0x3248e2(0x2a7)+_0x2e00ed['getProperty'](_0x3248e2(0x262))+_0x3248e2(0x2c1)+_0x2e00ed['getProperty'](_0x3248e2(0x2b8))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Gross\x20volume</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)]('Gross\x20volume')+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Total\x20Yearly\x20Heat+DHW\x20demand</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)]('Total\x20Yearly\x20Heat+DHW\x20demand')+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Specific\x20domestic\x20hot\x20water\x20demand</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x252))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Heated\x20area</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)](_0x3248e2(0x2ad))+'</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr><th>Mean\x20Uvalue</th><td>'+_0x2e00ed[_0x3248e2(0x1fc)]('Mean\x20Uvalue')+_0x3248e2(0x1e7),$('#attribute-table-area')[_0x3248e2(0x28f)](table_attribute_html),drawChart(monthly_heating_demand);}}else clickHandler(_0x4b80c8);},Cesium['ScreenSpaceEventType'][_0x3813cc(0x250)]);