mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-11-28 18:28:04 -08:00
capture dist
This commit is contained in:
1 parent
d9092845af
commit
0393576e5f
3 files changed
+6
-20
No files matched your search
Vendored
+1
-1
@@ -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.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
|
||||
<!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.12"><script type="text/javascript" src="resources/data.min.js?_=5.9.12"></script><script type="text/javascript" src="resources/vendor.min.js?_=5.9.12"></script><script type="text/javascript" src="resources/ws.min.js?_=5.9.12"></script><script type="text/javascript" src="scripts/custom.js?_=5.9.12"></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.12</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.12</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.12</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
|
||||
Vendored
+4
-18
@@ -1,28 +1,14 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v3.6.1
|
||||
* jQuery JavaScript Library v3.7.1
|
||||
* https://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://jquery.org/license
|
||||
*
|
||||
* Date: 2022-08-26T17:52Z
|
||||
* Date: 2023-08-28T13:37Z
|
||||
*/
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],A=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},i=n.push,s=n.indexOf,a={},u=a.toString,l=a.hasOwnProperty,c=l.toString,f=c.call(Object),d={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},h=function(e){return null!=e&&e===e.window},g=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,n){var A,r,o=(n=n||g).createElement("script");if(o.text=e,t)for(A in m)(r=t[A]||t.getAttribute&&t.getAttribute(A))&&o.setAttribute(A,r);n.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?a[u.call(e)]||"object":typeof e}var b="3.6.1",x=function(e,t){return new x.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!p(e)&&!h(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:b,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:i,sort:n.sort,splice:n.splice},x.extend=x.fn.extend=function(){var e,t,n,A,r,o,i=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"==typeof i||p(i)||(i={}),s===a&&(i=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)A=e[t],"__proto__"!==t&&i!==A&&(u&&A&&(x.isPlainObject(A)||(r=Array.isArray(A)))?(n=i[t],o=r&&!Array.isArray(n)?[]:r||x.isPlainObject(n)?n:{},r=!1,i[t]=x.extend(u,o,A)):void 0!==A&&(i[t]=A));return i},x.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=A(e))||"function"==typeof(n=l.call(t,"constructor")&&t.constructor)&&c.call(n)===f)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,A=0;if(C(e))for(n=e.length;A<n&&!1!==t.call(e[A],A,e[A]);A++);else for(A in e)if(!1===t.call(e[A],A,e[A]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?x.merge(n,"string"==typeof e?[e]:e):i.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},merge:function(e,t){for(var n=+t.length,A=0,r=e.length;A<n;A++)e[r++]=t[A];return e.length=r,e},grep:function(e,t,n){for(var A=[],r=0,o=e.length,i=!n;r<o;r++)!t(e[r],r)!==i&&A.push(e[r]);return A},map:function(e,t,n){var A,r,i=0,s=[];if(C(e))for(A=e.length;i<A;i++)null!=(r=t(e[i],i,n))&&s.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&s.push(r);return o(s)},guid:1,support:d}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=n[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){a["[object "+t+"]"]=t.toLowerCase()}));var E=
|
||||
/*!
|
||||
* Sizzle CSS Selector Engine v2.3.6
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://js.foundation/
|
||||
*
|
||||
* Date: 2021-02-16
|
||||
*/
|
||||
function(e){var t,n,A,r,o,i,s,a,u,l,c,f,d,p,h,g,m,v,y,b="sizzle"+1*new Date,x=e.document,C=0,E=0,w=ae(),B=ae(),I=ae(),S=ae(),k=function(e,t){return e===t&&(c=!0),0},T={}.hasOwnProperty,D=[],Q=D.pop,j=D.push,q=D.push,M=D.slice,N=function(e,t){for(var n=0,A=e.length;n<A;n++)if(e[n]===t)return n;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",L="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",V="\\["+R+"*("+L+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+R+"*\\]",F=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+V+")*)|.*)\\)|)",H=new RegExp(R+"+","g"),Z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),W=new RegExp("^"+R+"*,"+R+"*"),Y=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),X=new RegExp(R+"|>"),P=new RegExp(F),J=new RegExp("^"+L+"$"),G={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},U=/HTML$/i,z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,_=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Ae=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ie=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{q.apply(D=M.call(x.childNodes),x.childNodes),D[x.childNodes.length].nodeType}catch(e){q={apply:D.length?function(e,t){j.apply(e,M.call(t))}:function(e,t){for(var n=e.length,A=0;e[n++]=t[A++];);e.length=n-1}}}function se(e,t,A,r){var o,s,u,l,c,p,m,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(A=A||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return A;if(!r&&(f(t),t=t||d,h)){if(11!==x&&(c=$.exec(e)))if(o=c[1]){if(9===x){if(!(u=t.getElementById(o)))return A;if(u.id===o)return A.push(u),A}else if(v&&(u=v.getElementById(o))&&y(t,u)&&u.id===o)return A.push(u),A}else{if(c[2])return q.apply(A,t.getElementsByTagName(e)),A;if((o=c[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(A,t.getElementsByClassName(o)),A}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(m=e,v=t,1===x&&(X.test(e)||Y.test(e))){for((v=ee.test(e)&&me(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(Ae,re):t.setAttribute("id",l=b)),s=(p=i(e)).length;s--;)p[s]=(l?"#"+l:":scope")+" "+ye(p[s]);m=p.join(",")}try{return q.apply(A,v.querySelectorAll(m)),A}catch(t){S(e,!0)}finally{l===b&&t.removeAttribute("id")}}}return a(e.replace(Z,"$1"),t,A,r)}function ae(){var e=[];return function t(n,r){return e.push(n+" ")>A.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ue(e){return e[b]=!0,e}function le(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),r=n.length;r--;)A.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,A=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(A)return A;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue((function(t){return t=+t,ue((function(n,A){for(var r,o=e([],n.length,t),i=o.length;i--;)n[r=o[i]]&&(n[r]=!(A[r]=n[r]))}))}))}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!U.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,r,i=e?e.ownerDocument||e:x;return i!=d&&9===i.nodeType&&i.documentElement?(p=(d=i).documentElement,h=!o(d),x!=d&&(r=d.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=le((function(e){return p.appendChild(e).appendChild(d.createElement("div")),void 0!==e.Line truncated
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],A=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},i=n.push,s=n.indexOf,a={},u=a.toString,l=a.hasOwnProperty,c=l.toString,d=c.call(Object),f={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},h=function(e){return null!=e&&e===e.window},g=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,n){var A,r,o=(n=n||g).createElement("script");if(o.text=e,t)for(A in m)(r=t[A]||t.getAttribute&&t.getAttribute(A))&&o.setAttribute(A,r);n.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?a[u.call(e)]||"object":typeof e}var b="3.7.1",x=/HTML$/i,C=function(e,t){return new C.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!p(e)&&!h(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function w(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}C.fn=C.prototype={jquery:b,constructor:C,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:i,sort:n.sort,splice:n.splice},C.extend=C.fn.extend=function(){var e,t,n,A,r,o,i=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"==typeof i||p(i)||(i={}),s===a&&(i=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)A=e[t],"__proto__"!==t&&i!==A&&(u&&A&&(C.isPlainObject(A)||(r=Array.isArray(A)))?(n=i[t],o=r&&!Array.isArray(n)?[]:r||C.isPlainObject(n)?n:{},r=!1,i[t]=C.extend(u,o,A)):void 0!==A&&(i[t]=A));return i},C.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=A(e))||"function"==typeof(n=l.call(t,"constructor")&&t.constructor)&&c.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,A=0;if(E(e))for(n=e.length;A<n&&!1!==t.call(e[A],A,e[A]);A++);else for(A in e)if(!1===t.call(e[A],A,e[A]))break;return e},text:function(e){var t,n="",A=0,r=e.nodeType;if(!r)for(;t=e[A++];)n+=C.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?C.merge(n,"string"==typeof e?[e]:e):i.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!x.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,A=0,r=e.length;A<n;A++)e[r++]=t[A];return e.length=r,e},grep:function(e,t,n){for(var A=[],r=0,o=e.length,i=!n;r<o;r++)!t(e[r],r)!==i&&A.push(e[r]);return A},map:function(e,t,n){var A,r,i=0,s=[];if(E(e))for(A=e.length;i<A;i++)null!=(r=t(e[i],i,n))&&s.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&s.push(r);return o(s)},guid:1,support:f}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=n[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){a["[object "+t+"]"]=t.toLowerCase()}));var B=n.pop,S=n.sort,I=n.splice,k="[\\x20\\t\\r\\n\\f]",T=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");C.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Q(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}C.escapeSelector=function(e){return(e+"").replace(D,Q)};var j=g,M=i;!function(){var t,A,o,i,a,u,c,d,p,h,g=M,m=C.expando,v=0,y=0,b=ee(),x=ee(),E=ee(),D=ee(),Q=function(e,t){return e===t&&(a=!0),0},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readoLine truncated
|
||||
/*! NoSleep.js v0.12.0 - git.io/vfn01 - Rich Tibbett - MIT license */
|
||||
function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NoSleep=t():e.NoSleep=t()}(this,(function(){return function(e){var t={};function n(A){if(t[A])return t[A].exports;var r=t[A]={i:A,l:!1,exports:{}};return e[A].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,A){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:A})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var A=Object.create(null);if(n.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(A,r,function(t){return e[t]}.bind(null,r));return A},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var A=function(){function e(e,t){for(var n=0;n<t.length;n++){var A=t[n];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,A.key,A)}}return function(t,n,A){return n&&e(t.prototype,n),A&&e(t,A),t}}();var r=n(1),o=r.webm,i=r.mp4,s=function(){return"undefined"!=typeof navigator&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream},a=function(){return"wakeLock"in navigator},u=function(){function e(){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enabled=!1,a()){this._wakeLock=null;var n=function(){null!==t._wakeLock&&"visible"===document.visibilityState&&t.enable()};document.addEventListener("visibilitychange",n),document.addEventListener("fullscreenchange",n)}else s()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",o),this._addSourceToVideo(this.noSleepVideo,"mp4",i),this.noSleepVideo.addEventListener("loadedmetadata",(function(){t.noSleepVideo.duration<=1?t.noSleepVideo.setAttribute("loop",""):t.noSleepVideo.addEventListener("timeupdate",(function(){t.noSleepVideo.currentTime>.5&&(t.noSleepVideo.currentTime=Math.random())}))})))}return A(e,[{key:"_addSourceToVideo",value:function(e,t,n){var A=document.createElement("source");A.src=n,A.type="video/"+t,e.appendChild(A)}},{key:"enable",value:function(){var e=this;return a()?navigator.wakeLock.request("screen").then((function(t){e._wakeLock=t,e.enabled=!0,console.log("Wake Lock active."),e._wakeLock.addEventListener("release",(function(){console.log("Wake Lock released.")}))})).catch((function(t){throw e.enabled=!1,console.error(t.name+", "+t.message),t})):s()?(this.disable(),console.warn("\n NoSleep enabled for older iOS devices. This can interrupt\n active or long-running network requests from completing successfully.\n See https://github.com/richtr/NoSleep.js/issues/15 for more details.\n "),this.noSleepTimer=window.setInterval((function(){document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))}),15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then((function(t){return e.enabled=!0,t})).catch((function(t){throw e.enabled=!1,t}))}},{key:"disable",value:function(){a()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):s()?this.noSleepTimer&&(console.warn("\n NoSleep now disabled for older iOS devices.\n "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}},{key:"isEnabled",get:function(){return this.enabled}}]),e}();e.exports=u},function(e,t,n){"use strict";e.exports={webm:"data:video/webm;base64,GkXfowEAAAAAAAAfQoaBAUL3gQFC8oEEQvOBCEKChHdlYm1Ch4EEQoWBAhhTgGcBAAAAAAAVkhFNm3RALE27i1OrhBVJqWZTrIHfTbuMU6uEFlSua1OsggEwTbuMU6uEHFO7a1OsghV17AEAAAAAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVSalmAQAAAAAAAEUq17GDD0JATYCNTGF2ZjU1LjMzLjEwMFdBjUxhdmY1NS4zMy4xMDBzpJBlrrXf3DCDVB8KcgbMpcr+RImIQJBgAAAAAAAWVK5rAQAAAAAAD++uAQAAAAAAADLXgQFzxYEBnIEAIrWcg3VuZIaFVl9WUDiDgQEj44OEAmJaAOABAAAAAAAABrCBsLqBkK4BAAAAAAAPq9eBAnPFgQKcgQAitZyDdW5khohBX1ZPUkJJU4OBAuEBAAAAAAAAEZ+BArWIQOdwAAAAAABiZIEgY6JPbwIeVgF2b3JiaXMAAAAAAoC7AAAAAAAAgLUBAAAAAAC4AQN2b3JiaXMtAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAxMDExMDEgKFNjaGF1ZmVudWdnZXQpAQAAABUAAABlbmNvZGVyPUxhdmM1NS41Mi4xLine truncated
|
||||
/*!
|
||||
@@ -33,4 +19,4 @@ function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t
|
||||
* @author John Doherty <www.johndoherty.info>
|
||||
* @license MIT
|
||||
*/
|
||||
function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var A=t.createEvent("CustomEvent");return A.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),A},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;s=e.target,i=Date.now(),n=e.touches[0].clientX,A=e.touches[0].clientY,r=0,o=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!A)return;var t=e.touches[0].clientX,i=e.touches[0].clientY;r=n-t,o=A-i}),!1),t.addEventListener("touchend",(function(e){if(s!==e.target)return;var t=parseInt(a(s,"data-swipe-threshold","20"),10),u=parseInt(a(s,"data-swipe-timeout","500"),10),l=Date.now()-i,c="",f=e.changedTouches||e.touches||[];Math.abs(r)>Math.abs(o)?Math.abs(r)>t&&l<u&&(c=r>0?"swiped-left":"swiped-right"):Math.abs(o)>t&&l<u&&(c=o>0?"swiped-up":"swiped-down");if(""!==c){var d={dir:c.replace(/swiped-/,""),touchType:(f[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((f[0]||{}).clientX||-1,10),yStart:parseInt(A,10),yEnd:parseInt((f[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:d})),s.dispatchEvent(new CustomEvent(c,{bubbles:!0,cancelable:!0,detail:d}))}n=null,A=null,i=null}),!1);var n=null,A=null,r=null,o=null,i=null,s=null;function a(e,n,A){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return A}}(window,document),function(){"use strict";var e=Math.PI,t=Math.sin,n=Math.cos,A=Math.tan,r=Math.asin,o=Math.atan2,i=Math.acos,s=e/180,a=864e5,u=2440588,l=2451545;function c(e){return new Date((e+.5-u)*a)}function f(e){return function(e){return e.valueOf()/a-.5+u}(e)-l}var d=23.4397*s;function p(e,r){return o(t(e)*n(d)-A(r)*t(d),n(e))}function h(e,A){return r(t(A)*n(d)+n(A)*t(d)*t(e))}function g(e,r,i){return o(t(e),n(e)*t(r)-A(i)*n(r))}function m(e,A,o){return r(t(A)*t(o)+n(A)*n(o)*n(e))}function v(e,t){return s*(280.16+360.9856235*e)-t}function y(e){return s*(357.5291+.98560028*e)}function b(n){return n+s*(1.9148*t(n)+.02*t(2*n)+3e-4*t(3*n))+102.9372*s+e}function x(e){var t=b(y(e));return{dec:h(t,0),ra:p(t,0)}}var C={getPosition:function(e,t,n){var A=s*-n,r=s*t,o=f(e),i=x(o),a=v(o,A)-i.ra;return{azimuth:g(a,r,i.dec),altitude:m(a,r,i.dec)}}},E=C.times=[[-.833,"sunrise","sunset"],[-.3,"sunriseEnd","sunsetStart"],[-6,"dawn","dusk"],[-12,"nauticalDawn","nauticalDusk"],[-18,"nightEnd","night"],[6,"goldenHourEnd","goldenHour"]];C.addTime=function(e,t,n){E.push([e,t,n])};var w=9e-4;function B(t,n,A){return w+(t+n)/(2*e)+A}function I(e,n,A){return l+e+.0053*t(n)-.0069*t(2*A)}function S(e,A,r,o,s,a,u){var l=function(e,A,r){return i((t(e)-t(A)*t(r))/(n(A)*n(r)))}(e,r,o);return I(B(l,A,s),a,u)}function k(e){var A=s*(134.963+13.064993*e),r=s*(93.272+13.22935*e),o=s*(218.316+13.176396*e)+6.289*s*t(A),i=5.128*s*t(r),a=385001-20905*n(A);return{ra:p(o,i),dec:h(o,i),dist:a}}function T(e,t){return new Date(e.valueOf()+t*a/24)}C.getTimes=function(t,n,A,r){var o,i,a,u,l,d=s*-A,p=s*n,g=function(e){return-2.076*Math.sqrt(e)/60}(r=r||0),m=function(t,n){return Math.round(t-w-n/(2*e))}(f(t),d),v=B(0,d,m),x=y(v),C=b(x),k=h(C,0),T=I(v,x,C),D={solarNoon:c(T),nadir:c(T-.5)};for(o=0,i=E.length;o<i;o+=1)l=T-((u=S(((a=E[o])[0]+g)*s,d,p,k,m,x,C))-T),D[a[1]]=c(l),D[a[2]]=c(u);return D},C.getMoonPosition=function(e,r,i){var a=s*-i,u=s*r,l=f(e),c=k(l),d=v(l,a)-c.ra,p=m(d,u,c.dec),h=o(t(d),A(u)*n(c.dec)-t(c.dec)*n(d));return p+=function(e){return e<0&&(e=0),2967e-7/Math.tan(e+.00312536/(e+.08901179))}(p),{azimuth:g(d,u,c.dec),altitude:p,distance:c.dist,parallacticAngle:h}},C.getMoonIllumination=function(e){var A=f(e||new Date),r=x(A),s=k(A),a=149598e3,u=i(t(r.dec)*t(s.dec)+n(r.dec)*n(s.dec)*n(r.ra-s.ra)),l=o(a*t(u),s.dist-a*n(u)),c=o(n(r.dec)*t(r.ra-s.ra),t(r.dec)*n(s.dec)-n(r.dec)*t(s.dec)*n(r.ra-s.ra));return{fraction:(1+n(l))/2,phase:.5+.5*l*(c<0?-1:1)/Math.PI,angle:c}},C.getMoonTimes=function(e,t,n,A){var r=new Date(e);A?r.setUTCHours(0,0,0,0):r.setHours(0,0,0,0);for(var o,i,a,u,l,c,f,d,p,h,g,m,v,y=.133*s,b=C.getMoonPosition(r,t,n).altitude-y,x=1;x<=24&&(o=C.getMoonPosition(T(r,x),t,n).altitude-y,d=((l=(b+(i=C.getMoonPosition(T(r,x+1),t,n).altitude-y))/2-o)*(f=-(c=(i-b)/2)/(2*l))+c)*f+o,h=0,(p=c*c-4*l*o)>=0&&(g=f-(v=Math.sqrt(p)/(2*Math.abs(l))),m=f+v,Math.abs(g)<=1&&h++,Math.abs(m)<=1&&h++,g<-1&&(g=m)),1===h?b<0?a=x+g:u=x+g:2===h&&(a=x+(d<0?m:g),u=x+(d<0?g:m)),!a||!u);x+=2)b=i;var E={};return a&&(E.rise=T(r,a)),u&&(E.set=T(r,u)),a||u||(E[d>0?"alwaysUp":"alwaysDown"]=!0),E},"object"==typeof exports&&"undefined"!=typeof module?module.exports=C:"function"==typeof define&&define.amd?define(C):window.SunCalc=C}();
|
||||
function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var A=t.createEvent("CustomEvent");return A.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),A},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;s=e.target,i=Date.now(),n=e.touches[0].clientX,A=e.touches[0].clientY,r=0,o=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!A)return;var t=e.touches[0].clientX,i=e.touches[0].clientY;r=n-t,o=A-i}),!1),t.addEventListener("touchend",(function(e){if(s!==e.target)return;var u=parseInt(a(s,"data-swipe-threshold","20"),10),l=a(s,"data-swipe-unit","px"),c=parseInt(a(s,"data-swipe-timeout","500"),10),d=Date.now()-i,f="",p=e.changedTouches||e.touches||[];"vh"===l&&(u=Math.round(u/100*t.documentElement.clientHeight));"vw"===l&&(u=Math.round(u/100*t.documentElement.clientWidth));Math.abs(r)>Math.abs(o)?Math.abs(r)>u&&d<c&&(f=r>0?"swiped-left":"swiped-right"):Math.abs(o)>u&&d<c&&(f=o>0?"swiped-up":"swiped-down");if(""!==f){var h={dir:f.replace(/swiped-/,""),touchType:(p[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(A,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:h})),s.dispatchEvent(new CustomEvent(f,{bubbles:!0,cancelable:!0,detail:h}))}n=null,A=null,i=null}),!1);var n=null,A=null,r=null,o=null,i=null,s=null;function a(e,n,A){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return A}}(window,document),function(){"use strict";var e=Math.PI,t=Math.sin,n=Math.cos,A=Math.tan,r=Math.asin,o=Math.atan2,i=Math.acos,s=e/180,a=864e5,u=2440588,l=2451545;function c(e){return new Date((e+.5-u)*a)}function d(e){return function(e){return e.valueOf()/a-.5+u}(e)-l}var f=23.4397*s;function p(e,r){return o(t(e)*n(f)-A(r)*t(f),n(e))}function h(e,A){return r(t(A)*n(f)+n(A)*t(f)*t(e))}function g(e,r,i){return o(t(e),n(e)*t(r)-A(i)*n(r))}function m(e,A,o){return r(t(A)*t(o)+n(A)*n(o)*n(e))}function v(e,t){return s*(280.16+360.9856235*e)-t}function y(e){return s*(357.5291+.98560028*e)}function b(n){return n+s*(1.9148*t(n)+.02*t(2*n)+3e-4*t(3*n))+102.9372*s+e}function x(e){var t=b(y(e));return{dec:h(t,0),ra:p(t,0)}}var C={getPosition:function(e,t,n){var A=s*-n,r=s*t,o=d(e),i=x(o),a=v(o,A)-i.ra;return{azimuth:g(a,r,i.dec),altitude:m(a,r,i.dec)}}},E=C.times=[[-.833,"sunrise","sunset"],[-.3,"sunriseEnd","sunsetStart"],[-6,"dawn","dusk"],[-12,"nauticalDawn","nauticalDusk"],[-18,"nightEnd","night"],[6,"goldenHourEnd","goldenHour"]];C.addTime=function(e,t,n){E.push([e,t,n])};var w=9e-4;function B(t,n,A){return w+(t+n)/(2*e)+A}function S(e,n,A){return l+e+.0053*t(n)-.0069*t(2*A)}function I(e,A,r,o,s,a,u){var l=function(e,A,r){return i((t(e)-t(A)*t(r))/(n(A)*n(r)))}(e,r,o);return S(B(l,A,s),a,u)}function k(e){var A=s*(134.963+13.064993*e),r=s*(93.272+13.22935*e),o=s*(218.316+13.176396*e)+6.289*s*t(A),i=5.128*s*t(r),a=385001-20905*n(A);return{ra:p(o,i),dec:h(o,i),dist:a}}function T(e,t){return new Date(e.valueOf()+t*a/24)}C.getTimes=function(t,n,A,r){var o,i,a,u,l,f=s*-A,p=s*n,g=function(e){return-2.076*Math.sqrt(e)/60}(r=r||0),m=function(t,n){return Math.round(t-w-n/(2*e))}(d(t),f),v=B(0,f,m),x=y(v),C=b(x),k=h(C,0),T=S(v,x,C),D={solarNoon:c(T),nadir:c(T-.5)};for(o=0,i=E.length;o<i;o+=1)l=T-((u=I(((a=E[o])[0]+g)*s,f,p,k,m,x,C))-T),D[a[1]]=c(l),D[a[2]]=c(u);return D},C.getMoonPosition=function(e,r,i){var a=s*-i,u=s*r,l=d(e),c=k(l),f=v(l,a)-c.ra,p=m(f,u,c.dec),h=o(t(f),A(u)*n(c.dec)-t(c.dec)*n(f));return p+=function(e){return e<0&&(e=0),2967e-7/Math.tan(e+.00312536/(e+.08901179))}(p),{azimuth:g(f,u,c.dec),altitude:p,distance:c.dist,parallacticAngle:h}},C.getMoonIllumination=function(e){var A=d(e||new Date),r=x(A),s=k(A),a=149598e3,u=i(t(r.dec)*t(s.dec)+n(r.dec)*n(s.dec)*n(r.ra-s.ra)),l=o(a*t(u),s.dist-a*n(u)),c=o(n(r.dec)*t(r.ra-s.ra),t(r.dec)*n(s.dec)-n(r.dec)*t(s.dec)*n(r.ra-s.ra));return{fraction:(1+n(l))/2,phase:.5+.5*l*(c<0?-1:1)/Math.PI,angle:c}},C.getMoonTimes=function(e,t,n,A){var r=new Date(e);A?r.setUTCHours(0,0,0,0):r.setHours(0,0,0,0);for(var o,i,a,u,l,c,d,f,p,h,g,m,v,y=.133*s,b=C.getMoonPosition(r,t,n).altitude-y,x=1;x<=24&&(o=C.getMoonPosition(T(r,x),t,n).altitude-y,f=((l=(b+(i=C.getMoonPosition(T(r,x+1),t,n).altitude-y))/2-o)*(d=-(c=(i-b)/2)/(2*l))+c)*d+o,h=0,(p=c*c-4*l*o)>=0&&(g=d-(v=Math.sqrt(p)/(2*Math.abs(l))),m=d+v,Math.abs(g)<=1&&h++,Math.abs(m)<=1&&h++,g<-1&&(g=m)),1===h?b<0?a=x+g:u=x+g:2===h&&(a=x+(f<0?m:g),u=x+(f<0?g:m)),!a||!u);x+=2)b=i;var E={};return a&&(E.rise=T(r,a)),u&&(E.set=T(r,u)),a||u||(E[f>0?"alwaysUp":"alwaysDown"]=!0),E},"object"==typeof exports&&"undefined"!=typeof module?module.exports=C:"function"==typeof define&&define.amd?define(C):window.SunCalc=C}();
|
||||
Vendored
+1
-1
@@ -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",M),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&&x()})),document.querySelector(c).addEventListener("keydown",(e=>{"Enter"===e.code&&t()})),document.querySelector("#btnGetLatLng").addEventListener("click",(()=>t())),document.addEventListener("keydown",k),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),x(),!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)(),x();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"),x(),!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(),x(),!1),C=()Line truncated
|
||||
Reference in new issue
Block a user