capture dist

This commit is contained in:
Matt Walsh committed 2023-08-14 21:32:33 -05:00
1 parent ccd4ffa48c
commit 6ebd2a6703
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><title>WeatherStar 4000+</title><meta name="description" content="Web based WeatherStar 4000 simulator that reports current and forecast weather conditions plus a few extras!"><meta name="keywords" content="WeatherStar 4000+"><meta name="author" content="Matt Walsh"><meta name="application-name" content="WeatherStar 4000+"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="manifest" href="manifest.json"><link rel="icon" href="images/Logo192.png"><link rel="stylesheet" type="text/css" href="resources/ws.min.css?_=5.9.10"><script type="text/javascript" src="resources/data.min.js?_=5.9.10"></script><script type="text/javascript" src="resources/vendor.min.js?_=5.9.10"></script><script type="text/javascript" src="resources/ws.min.js?_=5.9.10"></script><script type="text/javascript" src="scripts/custom.js?_=5.9.10"></script></head><body><div id="divQuery"><input id="txtAddress" type="text" value="" placeholder="Zip or City, State"><div class="buttons"><button id="btnGetGps" type="button" title="Get GPS Location"><img src="images/nav/ic_gps_fixed_black_18dp_1x.png" class="light"> <img src="images/nav/ic_gps_fixed_white_18dp_1x.png" class="dark"></button> <button id="btnGetLatLng" type="submit">GO</button> <button id="btnClearQuery" type="reset">Reset</button></div></div><div id="version" style="display:none">5.9.10</div><div id="divTwc"><div id="container"><div id="loading" width="640" height="480"><div><div class="title">WeatherStar 4000+</div><div class="version">v5.9.10</div><div class="instructions">Enter your location above to continue</div></div></div><div id="progress-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">WeatherStar</div><div class="bottom">4000+ v5.9.10</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-box progress"><div class="container"><div class="item template"><div class="name">Current Conditions</div><div class="links loading"><div class="loading">Loading</div><div class="press-here">Press Here</div><div class="failed">Failed</div><div class="no-data">No Data</div><div class="disabled">Disabled</div><div class="retrying">Retrying</div></div></div></div></div><div class="scroll"><div class="progress-bar-container show"><div class="progress-bar"></div><div class="cover"></div></div></div></div><div id="hourly-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Forecast</div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll hourly"><div class="column-headers"><div class="temp">TEMP</div><div class="like">LIKE</div><div class="wind">WIND</div></div><div class="hourly-lines"><div class="hourly-row template"><div class="hour"></div><div class="icon"><img></div><div class="temp"></div><div class="like"></div><div class="wind"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="hourly-graph-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Graph</div><div class="right"></div></div><div class="main has-scroll hourly-graph"><div class="top-right template"><div class="temperature">Temperature</div><div class="cloud">Cloud %</div><div class="rain">Precip %</div></div><div class="y-axis"><div class="label l-1">75</div><div class="label l-2">65</div><div class="label l-3">55</div></div><div class="chart"><img id="chart-area"></div><div class="x-axis"><div class="label l-1">12a</div><div class="label l-2">6a</div><div class="label l-3">12p</div><div class="label l-4">6p</div><div class="label l-5">12a</div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="travel-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">Travel Forecast</div><div class="bottom">For</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll travel"><div class="column-headers"><div class="temp low">LOW</div><div class="temp high">HIGH</div></div><div class="travel-lines"><div class="travel-row template"><div class="city"></div><div class="icon"><img></div><div class="temp low"></div><div class="temp high"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="current-weather-html" class="weather-display"><div class="header"><divLine truncated
<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><title>WeatherStar 4000+</title><meta name="description" content="Web based WeatherStar 4000 simulator that reports current and forecast weather conditions plus a few extras!"><meta name="keywords" content="WeatherStar 4000+"><meta name="author" content="Matt Walsh"><meta name="application-name" content="WeatherStar 4000+"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="manifest" href="manifest.json"><link rel="icon" href="images/Logo192.png"><link rel="stylesheet" type="text/css" href="resources/ws.min.css?_=5.9.11"><script type="text/javascript" src="resources/data.min.js?_=5.9.11"></script><script type="text/javascript" src="resources/vendor.min.js?_=5.9.11"></script><script type="text/javascript" src="resources/ws.min.js?_=5.9.11"></script><script type="text/javascript" src="scripts/custom.js?_=5.9.11"></script></head><body><div id="divQuery"><input id="txtAddress" type="text" value="" placeholder="Zip or City, State"><div class="buttons"><button id="btnGetGps" type="button" title="Get GPS Location"><img src="images/nav/ic_gps_fixed_black_18dp_1x.png" class="light"> <img src="images/nav/ic_gps_fixed_white_18dp_1x.png" class="dark"></button> <button id="btnGetLatLng" type="submit">GO</button> <button id="btnClearQuery" type="reset">Reset</button></div></div><div id="version" style="display:none">5.9.11</div><div id="divTwc"><div id="container"><div id="loading" width="640" height="480"><div><div class="title">WeatherStar 4000+</div><div class="version">v5.9.11</div><div class="instructions">Enter your location above to continue</div></div></div><div id="progress-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">WeatherStar</div><div class="bottom">4000+ v5.9.11</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-box progress"><div class="container"><div class="item template"><div class="name">Current Conditions</div><div class="links loading"><div class="loading">Loading</div><div class="press-here">Press Here</div><div class="failed">Failed</div><div class="no-data">No Data</div><div class="disabled">Disabled</div><div class="retrying">Retrying</div></div></div></div></div><div class="scroll"><div class="progress-bar-container show"><div class="progress-bar"></div><div class="cover"></div></div></div></div><div id="hourly-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Forecast</div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll hourly"><div class="column-headers"><div class="temp">TEMP</div><div class="like">LIKE</div><div class="wind">WIND</div></div><div class="hourly-lines"><div class="hourly-row template"><div class="hour"></div><div class="icon"><img></div><div class="temp"></div><div class="like"></div><div class="wind"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="hourly-graph-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Graph</div><div class="right"></div></div><div class="main has-scroll hourly-graph"><div class="top-right template"><div class="temperature">Temperature</div><div class="cloud">Cloud %</div><div class="rain">Precip %</div></div><div class="y-axis"><div class="label l-1">75</div><div class="label l-2">65</div><div class="label l-3">55</div></div><div class="chart"><img id="chart-area"></div><div class="x-axis"><div class="label l-1">12a</div><div class="label l-2">6a</div><div class="label l-3">12p</div><div class="label l-4">6p</div><div class="label l-5">12a</div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="travel-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">Travel Forecast</div><div class="bottom">For</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll travel"><div class="column-headers"><div class="temp low">LOW</div><div class="temp high">HIGH</div></div><div class="travel-lines"><div class="travel-row template"><div class="city"></div><div class="icon"><img></div><div class="temp low"></div><div class="temp high"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="current-weather-html" class="weather-display"><div class="header"><divLine truncated
+1 -1
View File
@@ -1 +1 @@
@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}body{font-family:"Star4000"}@media(prefers-color-scheme: dark){body{background-color:#000;color:#fff}}@media(prefers-color-scheme: dark){body a{color:#add8e6}}#divQuery{max-width:640px}#divQuery .buttons{display:inline-block;width:150px;text-align:right}#divQuery .buttons #imgGetGps{height:13px;vertical-align:middle}#divQuery .buttons button{font-size:16pt;border:1px solid #a9a9a9}@media(prefers-color-scheme: dark){#divQuery .buttons button{background-color:#000;color:#fff}}#divQuery .buttons #btnGetGps img.dark{display:none}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps img.dark{display:inline-block}}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps img.light{display:none}}#divQuery .buttons #btnGetGps.active{background-color:#000}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps.active{background-color:#fff}}#divQuery .buttons #btnGetGps.active img{filter:invert(1)}#divQuery input,#divQuery button{font-family:"Star4000"}#divQuery #txtAddress{width:calc(100% - 170px);max-width:490px;font-size:16pt;min-width:200px;display:inline-block}@media(prefers-color-scheme: dark){#divQuery #txtAddress{background-color:#000;color:#fff;border:1px solid #a9a9a9}}.autocomplete-suggestions{background-color:#fff;border:1px solid #000}@media(prefers-color-scheme: dark){.autocomplete-suggestions{background-color:#000}}.autocomplete-suggestions .autocomplete-suggestion{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16pt}.autocomplete-suggestions .autocomplete-selected{background-color:blue;color:#fff}#divTwc{display:block;background-color:#000;color:#fff;width:100%;max-width:640px}#divTwcLeft{display:none;text-align:right;flex-direction:column;vertical-align:middle}#divTwcLeft>div{flex:1;padding-right:12px;display:flex;flex-direction:column;justify-content:center}#divTwcRight{text-align:left;display:none;flex-direction:column;vertical-align:middle}#divTwcRight>div{flex:1;padding-left:12px;display:flex;flex-direction:column;justify-content:center}#divTwcBottom{display:flex;flex-direction:row;background-color:#000;color:#fff;width:100%}@media(prefers-color-scheme: dark){#divTwcBottom{background-color:#303030}}#divTwcBottom>div{padding-left:6px;padding-right:6px}#divTwcBottomLeft{flex:1;text-align:left}#divTwcBottomMiddle{flex:0;text-align:center}#divTwcBottomRight{flex:1;text-align:right}#divTwcNavContainer{display:none}#divTwcNav{width:100%;display:flex;flex-direction:row;background-color:#000;color:#fff;max-width:640px}#divTwcNav>div{padding-left:6px;padding-right:6px}#divTwcNavLeft{flex:1;text-align:left}#divTwcNavMiddle{flex:0;text-align:center}#divTwcNavRight{flex:1;text-align:right}#imgPause1x{visibility:hidden;position:absolute}.HideCursor{cursor:none !important}#txtScrollText{width:475px}@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}@font-face{font-family:"Star 4 Radar";src:url("../fonts/Star 4 Radar.woff") format("woff")}@font-face{font-family:"Star4000 Extended";src:url("../fonts/Star4000 Extended.woff") format("woff")}@font-face{font-family:"Star4000LCN";src:url("../fonts/Star4000LCN.woff") format("woff")}@font-face{font-family:"Star4000 Large Compressed";src:url("../fonts/Star4000 Large Compressed.woff") format("woff")}@font-face{font-family:"Star4000 Large";src:url("../fonts/Star4000 Large.ttf") format("truetype")}@font-face{font-family:"Star4000 Small";src:url("../fonts/Star4000 Small.woff") format("woff")}#display{font-family:"Star4000";margin:0 0 0 0;width:100%}#container{position:relative;width:640px;height:480px;overflow:hidden;background-image:url(../images/BackGround1_1.png);transform-origin:0 0}#divTwc:-webkit-full-screen #container{background-image:none;width:unset;height:unset;transform-origin:unset}#divTwc:fullscreen #container{background-image:none;width:unset;height:unset;transform-origin:unset}#loading{width:640px;height:480px;max-width:100%;text-shadow:4px 4px #000;display:flex;align-items:center;text-align:center;justify-content:center}#loading .title{font-family:Star4000 Large;font-size:36px;color:#ff0;margin-bottom:0px}#loading .version{margin-bottom:35px}#loading .instructions{font-size:18pt}.heading{font-weight:bold;margin-top:15px}#enabledDisplays{margin-bottom:15px}#enabledDisplays .loading,#enabledDisplays .retrying{color:#ff0}#enabledDisplays .press-here{color:lime;cursor:pointer}#enabledDisplays .failed{color:red}#enabledDisplays .no-data{color:silver}#enabledDisplays .disabled{color:silver}#enabledDisplays .press-here{color:#fff}@media(prefers-color-scheme: light){#enabledDisplays .loading,#enabledDisplays .retrying{color:#990}#enabledDisplays .press-here{color:#000;cursor:pointer}#enabledDisplays .failed{color:#900}#enabledDisplays .no-data{color:#4d4d4d}#enabledDisplays .disabled{color:#4d4d4d}}#enabledDisplays label{display:block;max-width:300px}#enabledDisplays label .alert{display:none}#enabledDisplLine truncated
@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}body{font-family:"Star4000"}@media(prefers-color-scheme: dark){body{background-color:#000;color:#fff}}@media(prefers-color-scheme: dark){body a{color:#add8e6}}#divQuery{max-width:640px}#divQuery .buttons{display:inline-block;width:150px;text-align:right}#divQuery .buttons #imgGetGps{height:13px;vertical-align:middle}#divQuery .buttons button{font-size:16pt;border:1px solid #a9a9a9}@media(prefers-color-scheme: dark){#divQuery .buttons button{background-color:#000;color:#fff}}#divQuery .buttons #btnGetGps img.dark{display:none}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps img.dark{display:inline-block}}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps img.light{display:none}}#divQuery .buttons #btnGetGps.active{background-color:#000}@media(prefers-color-scheme: dark){#divQuery .buttons #btnGetGps.active{background-color:#fff}}#divQuery .buttons #btnGetGps.active img{filter:invert(1)}#divQuery input,#divQuery button{font-family:"Star4000"}#divQuery #txtAddress{width:calc(100% - 170px);max-width:490px;font-size:16pt;min-width:200px;display:inline-block}@media(prefers-color-scheme: dark){#divQuery #txtAddress{background-color:#000;color:#fff;border:1px solid #a9a9a9}}.autocomplete-suggestions{background-color:#fff;border:1px solid #000}@media(prefers-color-scheme: dark){.autocomplete-suggestions{background-color:#000}}.autocomplete-suggestions .autocomplete-suggestion{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16pt}.autocomplete-suggestions .autocomplete-selected{background-color:blue;color:#fff}#divTwc{display:block;background-color:#000;color:#fff;width:100%;max-width:640px}#divTwcLeft{display:none;text-align:right;flex-direction:column;vertical-align:middle}#divTwcLeft>div{flex:1;padding-right:12px;display:flex;flex-direction:column;justify-content:center}#divTwcRight{text-align:left;display:none;flex-direction:column;vertical-align:middle}#divTwcRight>div{flex:1;padding-left:12px;display:flex;flex-direction:column;justify-content:center}#divTwcBottom{display:flex;flex-direction:row;background-color:#000;color:#fff;width:100%}@media(prefers-color-scheme: dark){#divTwcBottom{background-color:#303030}}#divTwcBottom>div{padding-left:6px;padding-right:6px}#divTwcBottomLeft{flex:1;text-align:left}#divTwcBottomMiddle{flex:0;text-align:center}#divTwcBottomRight{flex:1;text-align:right}#divTwcNavContainer{display:none}#divTwcNav{width:100%;display:flex;flex-direction:row;background-color:#000;color:#fff;max-width:640px}#divTwcNav>div{padding-left:6px;padding-right:6px}#divTwcNavLeft{flex:1;text-align:left}#divTwcNavMiddle{flex:0;text-align:center}#divTwcNavRight{flex:1;text-align:right}#imgPause1x{visibility:hidden;position:absolute}.HideCursor{cursor:none !important}#txtScrollText{width:475px}@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}@font-face{font-family:"Star 4 Radar";src:url("../fonts/Star 4 Radar.woff") format("woff")}@font-face{font-family:"Star4000 Extended";src:url("../fonts/Star4000 Extended.woff") format("woff")}@font-face{font-family:"Star4000LCN";src:url("../fonts/Star4000LCN.woff") format("woff")}@font-face{font-family:"Star4000 Large Compressed";src:url("../fonts/Star4000 Large Compressed.woff") format("woff")}@font-face{font-family:"Star4000 Large";src:url("../fonts/Star4000 Large.ttf") format("truetype")}@font-face{font-family:"Star4000 Small";src:url("../fonts/Star4000 Small.woff") format("woff")}#display{font-family:"Star4000";margin:0 0 0 0;width:100%}#container{position:relative;width:640px;height:480px;background-image:url(../images/BackGround1_1.png);transform-origin:0 0}#divTwc:-webkit-full-screen #container{background-image:none;width:unset;height:unset;transform-origin:unset}#divTwc:fullscreen #container{background-image:none;width:unset;height:unset;transform-origin:unset}#loading{width:640px;height:480px;max-width:100%;text-shadow:4px 4px #000;display:flex;align-items:center;text-align:center;justify-content:center}#loading .title{font-family:Star4000 Large;font-size:36px;color:#ff0;margin-bottom:0px}#loading .version{margin-bottom:35px}#loading .instructions{font-size:18pt}.heading{font-weight:bold;margin-top:15px}#enabledDisplays{margin-bottom:15px}#enabledDisplays .loading,#enabledDisplays .retrying{color:#ff0}#enabledDisplays .press-here{color:lime;cursor:pointer}#enabledDisplays .failed{color:red}#enabledDisplays .no-data{color:silver}#enabledDisplays .disabled{color:silver}#enabledDisplays .press-here{color:#fff}@media(prefers-color-scheme: light){#enabledDisplays .loading,#enabledDisplays .retrying{color:#990}#enabledDisplays .press-here{color:#000;cursor:pointer}#enabledDisplays .failed{color:#900}#enabledDisplays .no-data{color:#4d4d4d}#enabledDisplays .disabled{color:#4d4d4d}}#enabledDisplays label{display:block;max-width:300px}#enabledDisplays label .alert{display:none}#enabledDisplays label .alertLine truncated
+1 -1
View File
@@ -1 +1 @@
(()=>{"use strict";var e={407:(e,t,n)=>{var s=n(929),r=n(739),a=n(325),i=n(594);document.addEventListener("DOMContentLoaded",(()=>{h()}));let o=!1;const l=["Land Features","Bay","Channel","Cove","Dam","Delta","Gulf","Lagoon","Lake","Ocean","Reef","Reservoir","Sea","Sound","Strait","Waterfall","Wharf","Amusement Park","Historical Monument","Landmark","Tourist Attraction","Zoo","College","Beach","Campground","Golf Course","Harbor","Nature Reserve","Other Parks and Outdoors","Park","Racetrack","Scenic Overlook","Ski Resort","Sports Center","Sports Field","Wildlife Reserve","Airport","Ferry","Marina","Pier","Port","Resort","Postal","Populated Place"].join(","),c="#txtAddress",u="#ToggleFullScreen",d="#btnGetGps",h=()=>{document.querySelector(c).addEventListener("focus",(e=>{e.target.select()})),(0,a.uL)(v),document.querySelector("#NavigateMenu").addEventListener("click",w),document.querySelector("#NavigateRefresh").addEventListener("click",b),document.querySelector("#NavigateNext").addEventListener("click",C),document.querySelector("#NavigatePrevious").addEventListener("click",T),document.querySelector("#NavigatePlay").addEventListener("click",k),document.querySelector(u).addEventListener("click",g);const e=document.querySelector(d);e.addEventListener("click",I),navigator.geolocation||(e.style.display="none"),document.querySelector("#divTwc").addEventListener("click",(()=>{document.fullscreenElement&&M()})),document.querySelector(c).addEventListener("keydown",(e=>{"Enter"===e.code&&t()})),document.querySelector("#btnGetLatLng").addEventListener("click",(()=>t())),document.addEventListener("keydown",x),document.addEventListener("touchmove",(e=>{o&&e.preventDefault()})),$(c).devbridgeAutocomplete({serviceUrl:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest",deferRequestBy:300,paramName:"text",params:{f:"json",countryCode:"USA",category:l,maxSuggestions:10},dataType:"json",transformResult:e=>({suggestions:e.suggestions.map((e=>({value:e.text,data:e.magicKey})))}),minChars:3,showNoSuggestionNotice:!0,noSuggestionNotice:"No results found. Please try a different search string.",onSelect(e){m(e,this)},width:490});const t=()=>{const e=$(c).devbridgeAutocomplete();return e.suggestions[0]&&$(e.suggestionsContainer.children[0]).trigger("click"),!1},n=localStorage.getItem("latLonQuery"),s=localStorage.getItem("latLon"),r=localStorage.getItem("latLonFromGPS");if(n&&s&&!r){document.querySelector(c).value=n,v(JSON.parse(s))}r&&I();const i=localStorage.getItem("play");null!==i&&"true"!==i||L("navButton","play"),document.querySelector("#btnClearQuery").addEventListener("click",(()=>{document.querySelector("#spanCity").innerHTML="",document.querySelector("#spanState").innerHTML="",document.querySelector("#spanStationId").innerHTML="",document.querySelector("#spanRadarId").innerHTML="",document.querySelector("#spanZoneId").innerHTML="",document.querySelector("#chkAutoRefresh").checked=!0,localStorage.removeItem("autoRefresh"),localStorage.removeItem("play"),L("navButton","play"),localStorage.removeItem("latLonQuery"),localStorage.removeItem("latLon"),localStorage.removeItem("latLonFromGPS"),document.querySelector(d).classList.remove("active")})),document.querySelector("#container").addEventListener("swiped-left",(()=>S("left"))),document.querySelector("#container").addEventListener("swiped-right",(()=>S("right")))},m=async(e,t)=>{if(t.previousSuggestionValue===e.value)return;const n=(await(0,s.AV)("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find",{data:{text:e.value,magicKey:e.data,f:"json"}})).locations[0];n?(localStorage.removeItem("latLonFromGPS"),document.querySelector(d).classList.remove("active"),f(n.feature.geometry)):console.error("An unexpected error occurred. Please try a different search string.")},f=(e,t)=>{const n={lat:(0,i.Xp)(e.y,4),lon:(0,i.Xp)(e.x,4)};localStorage.setItem("latLonQuery",document.querySelector(c).value),localStorage.setItem("latLon",JSON.stringify(n)),v(n,t)},g=()=>(document.fullscreenElement?p():y(),(0,a.yA)()?(0,r.Z)(!0):(0,r.Z)(!1),M(),!1),y=()=>{const e=document.querySelector("#divTwc"),t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t?t.call(e,{navigationUI:"hide"}):(window.scrollTo(0,0),o=!0),(0,a.SI)(),M();const n=document.querySelector(u);n.src="images/nav/ic_fullscreen_exit_white_24dp_2x.png",n.title="Exit fullscreen"},p=()=>{o&&(o=!1),document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),(0,a.SI)();const e=document.querySelector(u);e.src="images/nav/ic_fullscreen_white_24dp_2x.png",e.title="Enter fullscreen"},w=()=>(L("navButton","menu"),M(),!1),v=(e,t)=>{e&&(v.latLon=e);const{latLon:n}=v;n&&(document.querySelector(c).blur(),(0,a.QE)(),(0,a.un)(n,t))},S=e=>{if("left"===e)C();else T()},b=()=>((0,a.HC)(),v(),M(),!1),C=()Line truncated
(()=>{"use strict";var e={407:(e,t,n)=>{var s=n(929),r=n(739),a=n(325),i=n(594);document.addEventListener("DOMContentLoaded",(()=>{h()}));let o=!1;const l=["Land Features","Bay","Channel","Cove","Dam","Delta","Gulf","Lagoon","Lake","Ocean","Reef","Reservoir","Sea","Sound","Strait","Waterfall","Wharf","Amusement Park","Historical Monument","Landmark","Tourist Attraction","Zoo","College","Beach","Campground","Golf Course","Harbor","Nature Reserve","Other Parks and Outdoors","Park","Racetrack","Scenic Overlook","Ski Resort","Sports Center","Sports Field","Wildlife Reserve","Airport","Ferry","Marina","Pier","Port","Resort","Postal","Populated Place"].join(","),c="#txtAddress",u="#ToggleFullScreen",d="#btnGetGps",h=()=>{document.querySelector(c).addEventListener("focus",(e=>{e.target.select()})),(0,a.uL)(v),document.querySelector("#NavigateMenu").addEventListener("click",w),document.querySelector("#NavigateRefresh").addEventListener("click",b),document.querySelector("#NavigateNext").addEventListener("click",C),document.querySelector("#NavigatePrevious").addEventListener("click",T),document.querySelector("#NavigatePlay").addEventListener("click",k),document.querySelector(u).addEventListener("click",g);const e=document.querySelector(d);e.addEventListener("click",I),navigator.geolocation||(e.style.display="none"),document.querySelector("#divTwc").addEventListener("click",(()=>{document.fullscreenElement&&M()})),document.querySelector(c).addEventListener("keydown",(e=>{"Enter"===e.code&&t()})),document.querySelector("#btnGetLatLng").addEventListener("click",(()=>t())),document.addEventListener("keydown",x),document.addEventListener("touchmove",(e=>{o&&e.preventDefault()})),$(c).devbridgeAutocomplete({serviceUrl:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest",deferRequestBy:300,paramName:"text",params:{f:"json",countryCode:"USA",category:l,maxSuggestions:10},dataType:"json",transformResult:e=>({suggestions:e.suggestions.map((e=>({value:e.text,data:e.magicKey})))}),minChars:3,showNoSuggestionNotice:!0,noSuggestionNotice:"No results found. Please try a different search string.",onSelect(e){m(e,this)},width:490});const t=()=>{const e=$(c).devbridgeAutocomplete();return e.suggestions[0]&&$(e.suggestionsContainer.children[0]).trigger("click"),!1},n=localStorage.getItem("latLonQuery"),s=localStorage.getItem("latLon"),r=localStorage.getItem("latLonFromGPS");if(n&&s&&!r){document.querySelector(c).value=n,v(JSON.parse(s))}r&&I();const i=localStorage.getItem("play");null!==i&&"true"!==i||L("navButton","play"),document.querySelector("#btnClearQuery").addEventListener("click",(()=>{document.querySelector("#spanCity").innerHTML="",document.querySelector("#spanState").innerHTML="",document.querySelector("#spanStationId").innerHTML="",document.querySelector("#spanRadarId").innerHTML="",document.querySelector("#spanZoneId").innerHTML="",document.querySelector("#chkAutoRefresh").checked=!0,localStorage.removeItem("autoRefresh"),localStorage.removeItem("play"),L("navButton","play"),localStorage.removeItem("latLonQuery"),localStorage.removeItem("latLon"),localStorage.removeItem("latLonFromGPS"),document.querySelector(d).classList.remove("active")})),document.querySelector("#container").addEventListener("swiped-left",(()=>S("left"))),document.querySelector("#container").addEventListener("swiped-right",(()=>S("right")))},m=async(e,t)=>{if(t.previousSuggestionValue===e.value)return;const n=(await(0,s.AV)("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find",{data:{text:e.value,magicKey:e.data,f:"json"}})).locations[0];n?(localStorage.removeItem("latLonFromGPS"),document.querySelector(d).classList.remove("active"),f(n.feature.geometry)):console.error("An unexpected error occurred. Please try a different search string.")},f=(e,t)=>{const n={lat:(0,i.Xp)(e.y,4),lon:(0,i.Xp)(e.x,4)};localStorage.setItem("latLonQuery",document.querySelector(c).value),localStorage.setItem("latLon",JSON.stringify(n)),v(n,t)},g=()=>(document.fullscreenElement?p():y(),(0,a.yA)()?(0,r.Z)(!0):(0,r.Z)(!1),M(),!1),y=()=>{const e=document.querySelector("#divTwc"),t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t?t.call(e,{navigationUI:"hide"}):(window.scrollTo(0,0),o=!0),(0,a.SI)(),M();const n=document.querySelector(u);n.src="images/nav/ic_fullscreen_exit_white_24dp_2x.png",n.title="Exit fullscreen"},p=()=>{o&&(o=!1),document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),(0,a.SI)();const e=document.querySelector(u);e.src="images/nav/ic_fullscreen_white_24dp_2x.png",e.title="Enter fullscreen"},w=()=>(L("navButton","menu"),M(),!1),v=(e,t)=>{e&&(v.latLon=e);const{latLon:n}=v;n&&(document.querySelector(c).blur(),(0,a.QE)(),(0,a.un)(n,t))},S=e=>{if("left"===e)C();else T()},b=()=>((0,a.HC)(),v(),M(),!1),C=()Line truncated