1import{i as e}from"./BpGcXV2e.js";var t={kind:`Document`,definitions:[{kind:`OperationDefinition`,operation:`query`,name:{kind:`Name`,value:`FullWeather`},variableDefinitions:[{kind:`VariableDefinition`,variable:{kind:`Variable`,name:{kind:`Name`,value:`regionKey`}},type:{kind:`NamedType`,name:{kind:`Name`,value:`String`}},directives:[]},{kind:`VariableDefinition`,variable:{kind:`Variable`,name:{kind:`Name`,value:`townshipKey`}},type:{kind:`NamedType`,name:{kind:`Name`,value:`String`}},directives:[]}],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`fullWeather`},arguments:[{kind:`Argument`,name:{kind:`Name`,value:`regionKey`},value:{kind:`Variable`,name:{kind:`Name`,value:`regionKey`}}},{kind:`Argument`,name:{kind:`Name`,value:`townshipKey`},value:{kind:`Variable`,name:{kind:`Name`,value:`townshipKey`}}}],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`region`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`key`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`name`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`townships`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`key`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`name`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`default`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`latlong`},arguments:[],directives:[]}]}}]}},{kind:`Field`,name:{kind:`Name`,value:`township`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`key`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`name`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`latlong`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`level`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`station_id`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`live_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`station_id`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`data_type`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_live`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`humidity`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`pressure`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`pressure_tendency`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind_direction`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind_velocity`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind_chill`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`sun_time`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`township_forecast_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_morning`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_morning`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_noon`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_noon`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_evening`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_evening`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_day`},arguments:[],directives:[]}
1,{kind:`Field`,name:{kind:`Name`,value:`temperature_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`short_text`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`precip`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`morning`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`noon`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`evening`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`day`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}}]}},{kind:`Field`,name:{kind:`Name`,value:`wind_speed`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`morning`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`noon`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`evening`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`day`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`avg`},arguments:[],directives:[]}]}}]}}]}},{kind:`Field`,name:{kind:`Name`,value:`hourly_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`dt_v`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`span`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wd`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wd_s`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temp`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`state`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`precip`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`precip_prob`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind_dir`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind_speed`},arguments:[],directives:[]}
1,{kind:`Field`,name:{kind:`Name`,value:`sun_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`cloud_cover`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`astro_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`sunrise_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`sunset_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moonrise_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moonset_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_phase`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`zodiac_sign`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`zodiac_sign_change`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`country_saying`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`regional_forecast`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`day`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`title`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`body`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`fourteen_days_projection`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temp_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temp_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temp_avg`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rainfall`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`wind`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`dayofweek`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`statistical_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`year`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`historical_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`av_temperature_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`av_temperature_max_date`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`av_temperature_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`av_temperature_min_date`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount_max_date`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`rain_amount_min_date`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`moon_data`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_phases`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_phase_time`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_course`},arguments:[],directives:[]}
1,{kind:`Field`,name:{kind:`Name`,value:`zodiac_sign_1`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`zodiac_sign_2`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_rise`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_set`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_phase_change`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`moon_course_change`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`zodiac_sign_change`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`generated`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`daily_region_stats`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`valid_for`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`date_range`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`min`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`all_days_of_same_month_in_past_years`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`temperature_max_avg`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`daily_precip_avg`},arguments:[],directives:[]}]}},{kind:`Field`,name:{kind:`Name`,value:`all_days_this_month_until_today_this_year`},arguments:[],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`temperature_max_avg`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`daily_precip_avg`},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:3023}};t.loc.source={body:`query FullWeather($regionKey: String, $townshipKey: String) { 2 fullWeather(regionKey: $regionKey, townshipKey: $townshipKey) { 3 region { 4 key 5 name 6 townships { 7 key 8 name 9 default 10 latlong 11 } 12 } 13 township { 14 key 15 name 16 latlong 17 level 18 station_id 19 } 20 live_data { 21 station_id 22 valid_from 23 data_type 24 temperature_live 25 humidity 26 pressure 27 pressure_tendency 28 wind_direction 29 wind_velocity 30 wind_chill 31 rain_time 32 rain_amount 33 sun_time 34 } 35 township_forecast_data { 36 valid_from 37 weather_state_morning 38 temperature_morning 39 weather_state_noon 40 temperature_noon 41 weather_state_evening 42 temperature_evening 43 weather_state_day 44 temperature_min 45 temperature_max 46 short_text 47 precip { 48 morning { 49 min 50 max 51 avg 52 } 53 noon { 54 min 55 max 56 avg 57 } 58 evening { 59 min 60 max 61 avg 62 } 63 day { 64 min 65 max 66 avg 67 } 68 } 69 wind_speed { 70 morning { 71 min 72 max 73 avg 74 } 75 noon { 76 min 77 max 78 avg 79 } 80 evening { 81 min 82 max 83 avg 84 } 85 day { 86 min 87 max 88 avg 89 } 90 } 91 } 92 hourly_data { 93 dt_v 94 span 95 wd 96 wd_s 97 temp 98 state 99 precip 100 precip_prob 101 wind_dir 102 wind_speed 103 sun_time 104 cloud_cover 105 } 106 astro_data { 107 valid_from 108 sunrise_time 109 sunset_time 110 moonrise_time 111 moonset_time 112 moon_phase 113 zodiac_sign 114 zodiac_sign_change 115 country_saying 116 } 117 regional_forecast { 118 day 119 valid_from 120 title 121 body 122 } 123 fourteen_days_projection { 124 valid_from 125 temp_max 126 temp_min 127 temp_avg 128 rainfall 129 wind 130 dayofweek 131 } 132 statistical_data { 133 valid_from 134 temperature_min 135 temperature_max 136 rain_amount 137 year 138 } 139 historical_data { 140 valid_from 141 av_temperature_max 142 av_temperature_max_date 143 av_temperature_min 144 av_temperature_min_date 145 rain_amount_max 146 rain_amount_max_date 147 rain_amount_min 148 rain_amount_min_date 149 } 150 moon_data { 151 valid_from 152 moon_phases 153 moon_phase_time 154 moon_course 155 zodiac_sign_1 156 zodiac_sign_2 157 moon_rise 158 moon_set 159 moon_phase_change 160 moon_course_change 161 zodiac_sign_change 162 generated 163 } 164 daily_region_stats { 165 valid_for 166 date_range { 167 min 168 } 169 all_days_of_same_month_in_past_years { 170 temperature_max_avg 171 daily_precip_avg 172 } 173 all_days_this_month_until_today_this_year { 174 temperature_max_avg 175 daily_precip_avg 176 } 177 } 178 } 179} 180`,name:`GraphQL request`,locationOffset:{line:1,column:1}};function n(e,t){if(e.kind===`FragmentSpread`)t.add(e.name.value);else if(e.kind===`VariableDefinition`){var r=e.type;r.kind===`NamedType`&&t.add(r.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){n(e,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){n(e,t)}),e.definitions&&e.definitions.forEach(function(e){n(e,t)})}var r={};(function(){t.definitions.forEach(function(e){if(e.name){var t=new Set;n(e,t),r[e.name.value]=t}})})();function i(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}function a(e,t){var n={kind:e.kind,definitions:[i(e,t)]};e.hasOwnProperty(`loc`)&&(n.loc=e.loc);var a=r[t]||new Set,o=new Set,s=new Set;
180for(a.forEach(function(e){s.add(e)});s.size>0;){var c=s;s=new Set,c.forEach(function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach(function(e){s.add(e)}))})}return o.forEach(function(t){var r=i(e,t);r&&n.definitions.push(r)}),n}a(t,`FullWeather`);var o={kind:`Document`,definitions:[{kind:`OperationDefinition`,operation:`query`,name:{kind:`Name`,value:`TownshipWeather`},variableDefinitions:[{kind:`VariableDefinition`,variable:{kind:`Variable`,name:{kind:`Name`,value:`regionKey`}},type:{kind:`NamedType`,name:{kind:`Name`,value:`String`}},directives:[]},{kind:`VariableDefinition`,variable:{kind:`Variable`,name:{kind:`Name`,value:`townshipKey`}},type:{kind:`NamedType`,name:{kind:`Name`,value:`String`}},directives:[]}],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`townshipWeather`},arguments:[{kind:`Argument`,name:{kind:`Name`,value:`regionKey`},value:{kind:`Variable`,name:{kind:`Name`,value:`regionKey`}}},{kind:`Argument`,name:{kind:`Name`,value:`townshipKey`},value:{kind:`Variable`,name:{kind:`Name`,value:`townshipKey`}}}],directives:[],selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`township_id`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`township_name`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`township_level`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`valid_from`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`import_date`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_morning`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_morning`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_noon`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_noon`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_evening`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_evening`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`weather_state_day`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_min`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`temperature_max`},arguments:[],directives:[]},{kind:`Field`,name:{kind:`Name`,value:`short_text`},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:447}};o.loc.source={body:`query TownshipWeather($regionKey: String, $townshipKey: String) { 181 townshipWeather(regionKey: $regionKey, townshipKey: $townshipKey) { 182 township_id 183 township_name 184 township_level 185 valid_from 186 import_date 187 weather_state_morning 188 temperature_morning 189 weather_state_noon 190 temperature_noon 191 weather_state_evening 192 temperature_evening 193 weather_state_day 194 temperature_min 195 temperature_max 196 short_text 197 } 198} 199`,name:`GraphQL request`,locationOffset:{line:1,column:1}};function s(e,t){if(e.kind===`FragmentSpread`)t.add(e.name.value);else if(e.kind===`VariableDefinition`){var n=e.type;n.kind===`NamedType`&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){s(e,t)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){s(e,t)}),e.definitions&&e.definitions.forEach(function(e){s(e,t)})}var c={};(function(){o.definitions.forEach(function(e){if(e.name){var t=new Set;s(e,t),c[e.name.value]=t}})})();function l(e,t){for(var n=0;n<e.definitions.length;n++){var r=e.definitions[n];if(r.name&&r.name.value==t)return r}}function u(e,t){var n={kind:e.kind,definitions:[l(e,t)]};e.hasOwnProperty(`loc`)&&(n.loc=e.loc);var r=c[t]||new Set,i=new Set,a=new Set;for(r.forEach(function(e){a.add(e)});a.size>0;){var o=a;a=new Set,o.forEach(function(e){i.has(e)||(i.add(e),(c[e]||new Set).forEach(function(e){a.add(e)}))})}return i.forEach(function(t){var r=l(e,t);r&&n.definitions.push(r)}),n}u(o,`TownshipWeather`);var d=new Map([[`A`,{text:`sonnig`,isGood:!0}],[`B`,{text:`meist sonnig`,isGood:!0}],[`C`,{text:`wechselnd bewölkt und Sonne`,isGood:!0}],[`D`,{text:`Sonne und starke Bewölkung`,isGood:!0}],[`E`,{text:`bedeckt`,isGood:!1}],[`F`,{text:`wechselhaft, Regenschauer`,isGood:!1}],[`G`,{text:`wechselhaft, starke Regenschauer`,isGood:!1}],[`H`,{text:`Regen`,isGood:!1}],[`I`,{text:`starker Regen`,isGood:!1}],[`J`,{text:`leichter Regen`,isGood:!1}],[`K`,{text:`bewölkt`,isGood:!1}],[`L`,{text:`wechselhaft, Schneeschauer`,isGood:!1}],[`M`,{text:`wechselhaft, starke Schneeschauer`,isGood:!1}],[`N`,{text:`leichter Schneefall`,isGood:!1}],[`O`,{text:`Schneefall`,isGood:!1}],[`P`,{text:`starker Schneefall`,isGood:!1}],[`Q`,{text:`wechselhaft, Schneeregenschauer`,isGood:!1}],[`R`,{text:`leichter Schneeregen`,isGood:!1}],[`S`,{text:`Sonnig, verbreitet Nebel`,isGood:!0}],[`T`,{text:`Nebel und Sonne`,isGood:!0}],[`U`,{text:`teils sonnig, Gewitter`,isGood:!0}],[`V`,{text:`Gewitterregen`,isGood:!1}],[`W`,{text:`teils sonnig, Gewitter mit Schneeregen`,isGood:!0}],[`X`,{text:`starkes Gewitter mit Schneeregen`,isGood:!1}],[`Y`,{text:`teils sonnig, Gewitter mit Schneefall`,isGood:!0}],[`Z`,{text:`starkes Gewitter mit Schneefall`,isGood:!1}]]);function f(e){let t=e.weather_state_day||e.weather_state_noon||`A`;return{day:e.valid_from?new Date(e.valid_from*1e3).toLocaleDateString(`de-DE`,{weekday:`long`}):``,isGood:d.get(t)?.isGood||!1,location:e.township_name||``,temperature:e.temperature_max||null,weatherCode:t,weatherType:d.get(t)?.text||``}}function p(){return{apiCall:async(n,r,i)=>{n||=`vorarlberg`,r||=`bregenz`,i||=`get-full-weather`;let a={regionKey:n,townshipKey:r};if(i===`get-township-weather`){let{data:t}=await e(o,a,`default`,{},{dedupe:`defer`,timeout:5e3});return t.value}let{data:s}=await e(t,a,`default`,{},{dedupe:`defer`,timeout:5e3});return s.value},townshipForecastFromRawData:e=>e.length===0?[]:e.map(f),weatherStateMap:d}}export{o as n,p as t}; 200//# sourceMappingURL=Dsm23UjY2.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.