From aa0661b6f5b9e68704f6dc82c777ae5cb95b3149 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Tue, 13 Oct 2020 20:26:06 +0200 Subject: Updates --- client/legacy/client-ea61129f.css | 2 ++ client/legacy/client.b8e806fc.js | 18 ++++++++++++++++++ client/legacy/index-fcecdc43.css | 7 +++++++ client/legacy/index.d028e5b4.js | 1 + client/legacy/inject_styles.fe622066.js | 1 + 5 files changed, 29 insertions(+) create mode 100644 client/legacy/client-ea61129f.css create mode 100644 client/legacy/client.b8e806fc.js create mode 100644 client/legacy/index-fcecdc43.css create mode 100644 client/legacy/index.d028e5b4.js create mode 100644 client/legacy/inject_styles.fe622066.js (limited to 'client/legacy') diff --git a/client/legacy/client-ea61129f.css b/client/legacy/client-ea61129f.css new file mode 100644 index 0000000..52c9a0d --- /dev/null +++ b/client/legacy/client-ea61129f.css @@ -0,0 +1,2 @@ +.app-container.svelte-lkkhqy{font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;width:100%;height:100%;margin:0;padding:0;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background-size:cover;background-repeat:no-repeat;background-position:center}@media(min-width: 640px){.app-container.svelte-lkkhqy{border-radius:1rem;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;height:100%;background-size:cover;background-repeat:no-repeat;background-position:center;width:375px;height:812px}} +h1.svelte-jpshsi,p.svelte-jpshsi{margin:0 auto}h1.svelte-jpshsi{font-size:2.8em;font-weight:700;margin:0 0 0.5em 0}p.svelte-jpshsi{margin:1em auto}@media(min-width: 480px){h1.svelte-jpshsi{font-size:4em}} diff --git a/client/legacy/client.b8e806fc.js b/client/legacy/client.b8e806fc.js new file mode 100644 index 0000000..6d2dda5 --- /dev/null +++ b/client/legacy/client.b8e806fc.js @@ -0,0 +1,18 @@ +function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e,n,r,o=(function(e){var n=function(e){var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(t,e,n){var r=p;return function(o,i){if(r===v)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var c=l(t,e,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",v="executing",d="completed",m={};function y(){}function g(){}function b(){}var w={};w[a]=function(){return this};var x=Object.getPrototypeOf,$=x&&x(x(R([])));$&&$!==r&&o.call($,a)&&(w=$);var _=b.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(e,n){function r(i,a,u,c){var f=l(e[i],e,a);if("throw"!==f.type){var s=f.arg,p=s.value;return p&&"object"===t(p)&&o.call(p,"__await")?n.resolve(p.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(p).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(f.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return i=i?i.then(o,o):o()}}function k(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,k(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,m;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function R(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),f=o.call(a,"finallyLoc");if(c&&f){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),m}},e}(e.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:document.body;return Array.from(e.querySelectorAll(t))}function G(t){r=t}function F(){if(!r)throw new Error("Function called outside component initialization");return r}function B(t){F().$$.on_mount.push(t)}var J=[],K=[],M=[],V=[],Y=Promise.resolve(),z=!1;function H(t){M.push(t)}var W=!1,X=new Set;function Q(){if(!W){W=!0;do{for(var t=0;t6&&void 0!==arguments[6]?arguments[6]:[-1],c=r;G(t);var f=e.props||{},s=t.$$={fragment:null,ctx:null,props:a,update:m,not_equal:i,bound:b(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:b(),dirty:u,skip_bound:!1},l=!1;if(s.ctx=n?n(t,f,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return s.ctx&&i(s.ctx[e],s.ctx[e]=r)&&(!s.skip_bound&&s.bound[e]&&s.bound[e](r),l&&pt(t,e)),n})):[],s.update(),l=!0,w(s.before_update),s.fragment=!!o&&o(s.ctx),e.target){if(e.hydrate){var p=T(e.target);s.fragment&&s.fragment.l(p),p.forEach(L)}else s.fragment&&s.fragment.c();e.intro&&ot(t.$$.fragment),st(t,e.target,e.anchor),Q()}G(c)}var vt=function(){function t(){v(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){lt(this,1),this.$destroy=m}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}])&&d(e.prototype,n),r&&d(e,r),t}(),dt=[];function mt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,r=[];function o(n){if($(t,n)&&(t=n,e)){for(var o=!dt.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:m,u=[i,a];return r.push(u),1===r.length&&(e=n(o)||m),i(t),function(){var t=r.indexOf(u);-1!==t&&r.splice(t,1),0===r.length&&(e(),e=null)}}return{set:o,update:i,subscribe:a}}var yt={};function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function bt(t){var e,n,r=t[1].default,o=function(t,e,n,r){if(t){var o=_(t,e,n,r);return t[0](o)}}(r,t,t[0],null);return{c:function(){e=O("div"),o&&o.c(),this.h()},l:function(t){var n=T(e=q(t,"DIV",{class:!0}));o&&o.l(n),n.forEach(L),this.h()},h:function(){N(e,"class","app-container svelte-lkkhqy")},m:function(t,r){k(t,e,r),o&&o.m(e,null),n=!0},p:function(t,e){var n=u(e,1)[0];o&&o.p&&1&n&&E(o,r,t,t[0],n,null,null)},i:function(t){n||(ot(o,t),n=!0)},o:function(t){it(o,t),n=!1},d:function(t){t&&L(e),o&&o.d(t)}}}function wt(t,e,n){var r=e.$$slots,o=void 0===r?{}:r,i=e.$$scope;return t.$$set=function(t){"$$scope"in t&&n(0,i=t.$$scope)},[i,o]}var xt=function(t){s(n,vt);var e=gt(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,wt,bt,$,{}),r}return n}();function $t(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function _t(t){var e,n,r=t[1].stack+"";return{c:function(){e=O("pre"),n=R(r)},l:function(t){var o=T(e=q(t,"PRE",{}));n=I(o,r),o.forEach(L)},m:function(t,r){k(t,e,r),S(e,n)},p:function(t,e){2&e&&r!==(r=t[1].stack+"")&&U(n,r)},d:function(t){t&&L(e)}}}function Et(t){var e,n,r,o,i,a,c,f,s,l=t[1].message+"";document.title=e=t[0];var p=t[2]&&t[1].stack&&_t(t);return{c:function(){n=P(),r=O("h1"),o=R(t[0]),i=P(),a=O("p"),c=R(l),f=P(),p&&p.c(),s=A(),this.h()},l:function(e){D('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(L),n=C(e);var u=T(r=q(e,"H1",{class:!0}));o=I(u,t[0]),u.forEach(L),i=C(e);var h=T(a=q(e,"P",{class:!0}));c=I(h,l),h.forEach(L),f=C(e),p&&p.l(e),s=A(),this.h()},h:function(){N(r,"class","svelte-jpshsi"),N(a,"class","svelte-jpshsi")},m:function(t,e){k(t,n,e),k(t,r,e),S(r,o),k(t,i,e),k(t,a,e),S(a,c),k(t,f,e),p&&p.m(t,e),k(t,s,e)},p:function(t,n){var r=u(n,1)[0];1&r&&e!==(e=t[0])&&(document.title=e),1&r&&U(o,t[0]),2&r&&l!==(l=t[1].message+"")&&U(c,l),t[2]&&t[1].stack?p?p.p(t,r):((p=_t(t)).c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i:m,o:m,d:function(t){t&&L(n),t&&L(r),t&&L(i),t&&L(a),t&&L(f),p&&p.d(t),t&&L(s)}}}function St(t,e,n){var r=e.status,o=e.error;return t.$$set=function(t){"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}var kt=function(t){s(n,vt);var e=$t(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,St,Et,$,{status:0,error:1}),r}return n}();function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function jt(t){var e,n,r,o=[t[4].props],i=t[4].component;function a(t){for(var e={},n=0;n0&&e.slice(1).split("&").forEach((function(e){var r=u(/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(e.replace(/\+/g," "))),3),o=r[1],i=r[2],a=void 0===i?"":i;"string"==typeof n[o]&&(n[o]=[n[o]]),"object"===t(n[o])?n[o].push(a):n[o]=a})),n}function Vt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(Ft))return null;var e=t.pathname.slice(Ft.length);if(""===e&&(e="/"),!Tt.some((function(t){return t.test(e)})))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1},n=Vt(new URL(t,Xt(document)));return n?(Jt[e.replaceState?"replaceState":"pushState"]({id:Dt},"",t),Wt(n,null,e.noscroll).then((function(){}))):(location.href=t,new Promise((function(t){})))}var oe,ie,ae,ue,ce,fe,se,le,pe,he="undefined"!=typeof __SAPPER__&&__SAPPER__,ve=!1,de=[],me="{}",ye={page:function(t){var e=mt(t),n=!0;return{notify:function(){n=!0,e.update((function(t){return t}))},set:function(t){n=!1,e.set(t)},subscribe:function(t){var r;return e.subscribe((function(e){(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:mt(null),session:mt(he&&he.session)};function ge(t,e){var n=t.error;return Object.assign({error:n},e)}function be(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe&&ye.preloading.set(!0),n=te(t),r=ie={},e.next=5,n;case 5:if(i=e.sent,a=i.redirect,r===ie){e.next=9;break}return e.abrupt("return");case 9:if(!a){e.next=14;break}return e.next=12,re(a.location,{replaceState:!0});case 12:e.next=17;break;case 14:return u=i.props,c=i.branch,e.next=17,we(c,u,ge(u,t.page));case 17:case"end":return e.stop()}}),e)})))}function we(t,e,n){return Ct(this,void 0,void 0,o.mark((function r(){return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(ye.page.set(n),ye.preloading.set(!1),!oe){r.next=6;break}oe.$set(e),r.next=13;break;case 6:return e.stores={page:{subscribe:ye.page.subscribe},preloading:{subscribe:ye.preloading.subscribe},session:ye.session},r.next=9,ae;case 9:r.t0=r.sent,e.level0={props:r.t0},e.notify=ye.page.notify,oe=new Nt({target:fe,props:e,hydrate:!0});case 13:de=t,me=JSON.stringify(n.query),ve=!0,ce=!1;case 17:case"end":return r.stop()}}),r)})))}function xe(t,e,n,r){if(r!==me)return!0;var o=de[t];return!!o&&(e!==o.segment||(!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0))}function $e(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c,f,s,l,p,h,v,d=this;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.route,r=t.page,i=r.path.split("/").filter(Boolean),a=null,u={error:null,status:200,segments:[i[0]]},c={fetch:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return fetch(t,e)})),redirect:function(t,e){if(a&&(a.statusCode!==t||a.location!==e))throw new Error("Conflicting redirects");a={statusCode:t,location:e}},error:function(t,e){u.error="string"==typeof e?new Error(e):e,u.status=t}},ae||(f=function(){return{}},ae=he.preloaded[0]||f.call(c,{host:r.host,path:r.path,query:r.query,params:{}},ue)),l=1,e.prev=7,p=JSON.stringify(r.query),h=n.pattern.exec(r.path),v=!1,e.next=13,Promise.all(n.parts.map((function(e,n){return Ct(d,void 0,void 0,o.mark((function a(){var f,s,d,m,y,g;return o.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(f=i[n],xe(n,f,h,p)&&(v=!0),u.segments[l]=i[n+1],e){o.next=5;break}return o.abrupt("return",{segment:f});case 5:if(s=l++,ce||v||!de[n]||de[n].part!==e.i){o.next=8;break}return o.abrupt("return",de[n]);case 8:return v=!1,o.next=11,qt[e.i].js();case 11:if(d=o.sent,m=d.default,y=d.preload,!ve&&he.preloaded[n+1]){o.next=25;break}if(!y){o.next=21;break}return o.next=18,y.call(c,{host:r.host,path:r.path,query:r.query,params:e.params?e.params(t.match):{}},ue);case 18:o.t0=o.sent,o.next=22;break;case 21:o.t0={};case 22:g=o.t0,o.next=26;break;case 25:g=he.preloaded[n+1];case 26:return o.abrupt("return",u["level".concat(s)]={component:m,props:g,segment:f,match:h,part:e.i});case 27:case"end":return o.stop()}}),a)})))})));case 13:s=e.sent,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(7),u.error=e.t0,u.status=500,s=[];case 21:return e.abrupt("return",{redirect:a,props:u,branch:s});case 22:case"end":return e.stop()}}),e,null,[[7,16]])})))}ye.session.subscribe((function(t){return Ct(void 0,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ue=t,ve){e.next=3;break}return e.abrupt("return");case 3:return ce=!0,n=Vt(new URL(location.href)),r=ie={},e.next=8,$e(n);case 8:if(i=e.sent,a=i.redirect,u=i.props,c=i.branch,r===ie){e.next=14;break}return e.abrupt("return");case 14:if(!a){e.next=19;break}return e.next=17,re(a.location,{replaceState:!0});case 17:e.next=21;break;case 19:return e.next=21,we(c,u,ge(u,n.page));case 21:case"end":return e.stop()}}),e)})))})),se={target:document.querySelector(".app")},le=se.target,fe=le,pe=he.baseUrl,Ft=pe,Bt=be,"scrollRestoration"in Jt&&(Jt.scrollRestoration="manual"),addEventListener("beforeunload",(function(){Jt.scrollRestoration="auto"})),addEventListener("load",(function(){Jt.scrollRestoration="manual"})),addEventListener("click",Yt),addEventListener("popstate",Ht),addEventListener("touchstart",ee),addEventListener("mousemove",ne),he.error?Promise.resolve().then((function(){return function(){var t=location,e=t.host,n=t.pathname,r=t.search,o=he.session,i=he.preloaded,a=he.status,u=he.error;ae||(ae=i&&i[0]);var c={error:u,status:a,session:o,level0:{props:ae},level1:{props:{status:a,error:u},component:kt},segments:i},f=Mt(r);we([],c,{host:e,path:n,query:f,params:{},error:u})}()})):Promise.resolve().then((function(){var t=location,e=t.hash,n=t.href;Jt.replaceState({id:Gt},"",n);var r=Vt(new URL(location.href));if(r)return Wt(r,Gt,!0,e)}));export{ct as A,ft as B,st as C,lt as D,A as E,j as F,D as G,vt as S,s as _,c as a,p as b,v as c,l as d,O as e,P as f,q as g,T as h,ht as i,L as j,C as k,I as l,N as m,k as n,S as o,u as p,U as q,m as r,$ as s,R as t,B as u,o as v,nt as w,it as x,rt as y,ot as z}; + +import __inject_styles from './inject_styles.fe622066.js'; \ No newline at end of file diff --git a/client/legacy/index-fcecdc43.css b/client/legacy/index-fcecdc43.css new file mode 100644 index 0000000..7cfed60 --- /dev/null +++ b/client/legacy/index-fcecdc43.css @@ -0,0 +1,7 @@ +.weatherCurrent-wrapper.svelte-1y77zx4.svelte-1y77zx4{height:100%;font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background:linear-gradient( + rgba(0, 0, 0, 0.5), + rgba(0, 0, 0, 0.5) + ), url(/aurora.jpg);background-size:cover;background-repeat:no-repeat;background-position:center}.weatherCurrent-data.svelte-1y77zx4.svelte-1y77zx4{width:100%;padding:1.5rem;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;--text-opacity:1;color:#fff;color:rgba(255, 255, 255, var(--text-opacity));text-align:center;letter-spacing:0.05em;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.weatherCurrent-data-location.svelte-1y77zx4.svelte-1y77zx4{display:flex;justify-content:center;align-content:center}.weatherCurrent-data-location.svelte-1y77zx4 .symbol.svelte-1y77zx4{width:1.5rem;height:1.5rem;margin-right:1rem}.weatherCurrent-data-location.svelte-1y77zx4 h1.svelte-1y77zx4{text-transform:uppercase;font-family:Roboto Condensed, sans-serif;font-size:1.125rem;letter-spacing:0.1em;margin-bottom:0}.weatherCurrent-data-kp.svelte-1y77zx4 h2.svelte-1y77zx4{font-weight:700;font-size:3rem;letter-spacing:0.05em;line-height:1.25}.current-details.svelte-1y77zx4.svelte-1y77zx4{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:1rem;gap:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.current-details.svelte-1y77zx4 p.svelte-1y77zx4{line-height:1.375} +.prediction-details.svelte-u548p6.svelte-u548p6{display:flex;justify-content:space-between;border-bottom-width:1px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;letter-spacing:0.05em}.prediction-details.svelte-u548p6.svelte-u548p6:last-of-type{border-width:0;padding-bottom:0}.prediction-details.svelte-u548p6 h3.svelte-u548p6{font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;margin-right:0.5rem}.prediction-details.svelte-u548p6 .data.svelte-u548p6{display:flex;flex-direction:row}.prediction-details.svelte-u548p6 .data h2.svelte-u548p6{margin-right:1rem;font-size:1.5rem} +.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247, 250, 252, var(--bg-opacity));padding:1.5rem;--text-opacity:1;color:#1a202c;color:rgba(26, 32, 44, var(--text-opacity));height:100%;overflow:hidden}@media(min-width: 640px), (min-height: 720px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{padding:2rem;padding-top:1.5rem}}@media(min-width: 640px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}}.predicted-weather.svelte-mcdoaa h2.svelte-mcdoaa{text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;font-weight:700;margin-top:0.25rem;margin-bottom:0.5rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa{height:100%;overflow-y:scroll;padding-bottom:1rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa::-webkit-scrollbar{display:none} +.homescreen.svelte-yqnwm7{display:flex;flex-direction:column;justify-content:space-between;height:100%;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));--bg-opacity:0.25} diff --git a/client/legacy/index.d028e5b4.js b/client/legacy/index.d028e5b4.js new file mode 100644 index 0000000..9ea9dcb --- /dev/null +++ b/client/legacy/index.d028e5b4.js @@ -0,0 +1 @@ +import{_ as t,a as n,b as e,c as r,i as a,s as c,d as o,S as s,e as i,f as u,t as f,g as l,h,j as v,k as p,l as d,m,n as y,o as g,p as E,q as w,r as x,u as D,v as P,w as b,x as $,y as I,z as R,A as V,B as z,C as A,D as C,E as N,F as j,G as S}from"./client.b8e806fc.js";function k(t){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,c=n(t);if(r){var o=n(this).constructor;a=Reflect.construct(c,arguments,o)}else a=c.apply(this,arguments);return e(this,a)}}function M(t){var n,e,r,a,c,o,s,D,P,b,$,I,R,V,z,A,C,N,j,S,k,M,T,H,J,K,B,O,q,F,Z,G,L,Q,U,W,X,Y,tt,nt,et,rt,at,ct,ot,st,it,ut;return{c:function(){n=i("div"),e=i("div"),r=i("div"),a=i("i"),c=u(),o=i("h1"),s=f(_),D=u(),P=i("div"),b=i("p"),$=f(t[0]),I=u(),R=i("div"),V=i("h2"),z=f("KP "),A=f(t[1]),C=u(),N=i("p"),j=i("span"),S=f("↑ KP "),k=f(t[3]),M=u(),T=i("span"),H=f("↓ KP "),J=f(t[2]),K=u(),B=i("div"),O=i("div"),q=i("p"),F=f("BZ"),Z=u(),G=i("p"),L=f(t[4]),Q=u(),U=i("div"),W=i("p"),X=f("Probability"),Y=u(),tt=i("p"),nt=f("10%"),et=u(),rt=i("div"),at=i("p"),ct=f("Clouds"),ot=u(),st=i("p"),it=f(t[5]),ut=f("%"),this.h()},l:function(i){n=l(i,"DIV",{class:!0});var u=h(n);e=l(u,"DIV",{class:!0});var f=h(e);r=l(f,"DIV",{class:!0});var m=h(r);a=l(m,"I",{class:!0}),h(a).forEach(v),c=p(m),o=l(m,"H1",{class:!0});var y=h(o);s=d(y,_),y.forEach(v),m.forEach(v),D=p(f),P=l(f,"DIV",{class:!0});var g=h(P);b=l(g,"P",{});var E=h(b);$=d(E,t[0]),E.forEach(v),g.forEach(v),I=p(f),R=l(f,"DIV",{class:!0});var w=h(R);V=l(w,"H2",{class:!0});var x=h(V);z=d(x,"KP "),A=d(x,t[1]),x.forEach(v),C=p(w),N=l(w,"P",{});var ft=h(N);j=l(ft,"SPAN",{className:!0});var lt=h(j);S=d(lt,"↑ KP "),k=d(lt,t[3]),lt.forEach(v),M=p(ft),T=l(ft,"SPAN",{className:!0});var ht=h(T);H=d(ht,"↓ KP "),J=d(ht,t[2]),ht.forEach(v),ft.forEach(v),w.forEach(v),K=p(f),B=l(f,"DIV",{class:!0});var vt=h(B);O=l(vt,"DIV",{});var pt=h(O);q=l(pt,"P",{class:!0});var dt=h(q);F=d(dt,"BZ"),dt.forEach(v),Z=p(pt),G=l(pt,"P",{class:!0});var mt=h(G);L=d(mt,t[4]),mt.forEach(v),pt.forEach(v),Q=p(vt),U=l(vt,"DIV",{});var yt=h(U);W=l(yt,"P",{class:!0});var gt=h(W);X=d(gt,"Probability"),gt.forEach(v),Y=p(yt),tt=l(yt,"P",{class:!0});var Et=h(tt);nt=d(Et,"10%"),Et.forEach(v),yt.forEach(v),et=p(vt),rt=l(vt,"DIV",{});var wt=h(rt);at=l(wt,"P",{class:!0});var xt=h(at);ct=d(xt,"Clouds"),xt.forEach(v),ot=p(wt),st=l(wt,"P",{class:!0});var Dt=h(st);it=d(Dt,t[5]),ut=d(Dt,"%"),Dt.forEach(v),wt.forEach(v),vt.forEach(v),f.forEach(v),u.forEach(v),this.h()},h:function(){m(a,"class","symbol fas fa-map-marker-alt svelte-1y77zx4"),m(o,"class","svelte-1y77zx4"),m(r,"class","weatherCurrent-data-location svelte-1y77zx4"),m(P,"class","weatherCurrent-data-date"),m(V,"class","svelte-1y77zx4"),m(j,"classname","pr-2"),m(T,"classname","pl-2"),m(R,"class","weatherCurrent-data-kp svelte-1y77zx4"),m(q,"class","svelte-1y77zx4"),m(G,"class","svelte-1y77zx4"),m(W,"class","svelte-1y77zx4"),m(tt,"class","svelte-1y77zx4"),m(at,"class","svelte-1y77zx4"),m(st,"class","svelte-1y77zx4"),m(B,"class","current-details svelte-1y77zx4"),m(e,"class","weatherCurrent-data svelte-1y77zx4"),m(n,"class","weatherCurrent-wrapper svelte-1y77zx4")},m:function(t,i){y(t,n,i),g(n,e),g(e,r),g(r,a),g(r,c),g(r,o),g(o,s),g(e,D),g(e,P),g(P,b),g(b,$),g(e,I),g(e,R),g(R,V),g(V,z),g(V,A),g(R,C),g(R,N),g(N,j),g(j,S),g(j,k),g(N,M),g(N,T),g(T,H),g(T,J),g(e,K),g(e,B),g(B,O),g(O,q),g(q,F),g(O,Z),g(O,G),g(G,L),g(B,Q),g(B,U),g(U,W),g(W,X),g(U,Y),g(U,tt),g(tt,nt),g(B,et),g(B,rt),g(rt,at),g(at,ct),g(rt,ot),g(rt,st),g(st,it),g(st,ut)},p:function(t,n){var e=E(n,1)[0];1&e&&w($,t[0]),2&e&&w(A,t[1]),8&e&&w(k,t[3]),4&e&&w(J,t[2]),16&e&&w(L,t[4]),32&e&&w(it,t[5])},i:x,o:x,d:function(t){t&&v(n)}}}var _="The earth";function T(t,n,e){var r,a,c=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(a,c){function o(t){try{i(r.next(t))}catch(t){c(t)}}function s(t){try{i(r.throw(t))}catch(t){c(t)}}function i(t){var n;t.done?a(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(o,s)}i((r=r.apply(t,n||[])).next())}))},o=["January","February","March","April","May","June","July","August","September","October","November","December"],s=(Array(),"-"),i="-",u="-",f="-",l="-",h="-";function v(t){r=t.coords.longitude,a=t.coords.latitude,function(t,n){c(this,void 0,void 0,P.mark((function r(){var a,c,v,p,d,m;return P.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fetch("https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=".concat(n,"&lon=").concat(t)).then((function(t){return t.json()}));case 2:return a=r.sent,e(5,h=a.properties.timeseries[0].data.instant.details.cloud_area_fraction),r.t0=e,r.next=7,fetch("https://services.swpc.noaa.gov/products/summary/solar-wind-mag-field.json").then((function(t){return t.json()}));case 7:return r.t1=l=r.sent.Bz,(0,r.t0)(4,r.t1),r.next=11,fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((function(t){return t.json()}));case 11:(c=r.sent).shift(),v=new Date,p=new Date(0,0,0),d=1e3,m=0,c.forEach((function(t,n){t[1]>m&&(m=t[1]),t[1]