uptime/client/client.6c252c1d.js

18 lines
38 KiB
JavaScript

function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function s(){return Object.create(null)}function r(t){t.forEach(n)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let a;function c(t,e){return a||(a=document.createElement("a")),a.href=e,t===a.href}function l(t,n,s,r){return t[1]&&r?e(s.ctx.slice(),t[1](r(n))):s.ctx}function u(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function f(t){return null==t?"":t}let d,h,p=!1;function m(t,e,n,s){for(;t<e;){const r=t+(e-t>>1);n(r)<=s?t=r+1:e=r}return t}function g(t,e){if(p){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let n=0;n<e.length;n++){const s=e[n];void 0!==s.claim_order&&t.push(s)}e=t}const n=new Int32Array(e.length+1),s=new Int32Array(e.length);n[0]=-1;let r=0;for(let t=0;t<e.length;t++){const o=e[t].claim_order,i=(r>0&&e[n[r]].claim_order<=o?r+1:m(1,r,(t=>e[n[t]].claim_order),o))-1;s[t]=n[i]+1;const a=i+1;n[a]=t,r=Math.max(a,r)}const o=[],i=[];let a=e.length-1;for(let t=n[r]+1;0!=t;t=s[t-1]){for(o.push(e[t-1]);a>=t;a--)i.push(e[a]);a--}for(;a>=0;a--)i.push(e[a]);o.reverse(),i.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,n=0;e<i.length;e++){for(;n<o.length&&i[e].claim_order>=o[n].claim_order;)n++;const s=n<o.length?o[n]:null;t.insertBefore(i[e],s)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);null!==t.actual_end_child&&void 0===t.actual_end_child.claim_order;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?void 0===e.claim_order&&e.parentNode===t||t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else e.parentNode!==t&&t.appendChild(e)}function b(t,e,n){t.insertBefore(e,n||null)}function v(t,e,n){p&&!n?g(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function $(t){t.parentNode.removeChild(t)}function _(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function w(t){return document.createElement(t)}function y(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function E(t){return document.createTextNode(t)}function S(){return E(" ")}function x(){return E("")}function T(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function A(t){return function(e){return e.preventDefault(),t.call(this,e)}}function N(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function R(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const s in e)null==e[s]?t.removeAttribute(s):"style"===s?t.style.cssText=e[s]:"__value"===s?t.value=t[s]=e[s]:n[s]&&n[s].set?t[s]=e[s]:N(t,s,e[s])}function I(t){return Array.from(t.childNodes)}function L(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function P(t,e,n,s,r=!1){L(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const o=t[s];if(e(o)){const e=n(o);return void 0===e?t.splice(s,1):t[s]=e,r||(t.claim_info.last_index=s),o}}for(let s=t.claim_info.last_index-1;s>=0;s--){const o=t[s];if(e(o)){const e=n(o);return void 0===e?t.splice(s,1):t[s]=e,r?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=s,o}}return s()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function O(t,e,n,s){return P(t,(t=>t.nodeName===e),(t=>{const e=[];for(let s=0;s<t.attributes.length;s++){const r=t.attributes[s];n[r.name]||e.push(r.name)}e.forEach((e=>t.removeAttribute(e)))}),(()=>s?y(e):w(e)))}function H(t,e){return P(t,(t=>3===t.nodeType),(t=>{const n=""+e;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n}),(()=>E(e)),!0)}function k(t){return H(t," ")}function G(t,e,n){for(let s=n;s<t.length;s+=1){const n=t[s];if(8===n.nodeType&&n.textContent.trim()===e)return s}return t.length}function U(t){const e=G(t,"HTML_TAG_START",0),n=G(t,"HTML_TAG_END",e);if(e===n)return new F;L(t);const s=t.splice(e,n+1);$(s[0]),$(s[s.length-1]);const r=s.slice(1,s.length-1);for(const e of r)e.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new F(r)}function C(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function j(t,e){t.value=null==e?"":e}function M(){if(void 0===d){d=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){d=!0}}return d}function D(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=w("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const s=M();let r;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=T(window,"message",(t=>{t.source===n.contentWindow&&e()}))):(n.src="about:blank",n.onload=()=>{r=T(n.contentWindow,"resize",e)}),function(t,e){t.appendChild(e)}(t,n),()=>{(s||r&&n.contentWindow)&&r(),$(n)}}function q(t,e=document.body){return Array.from(e.querySelectorAll(t))}class F extends class{constructor(){this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){this.e||(this.e=w(e.nodeName),this.t=e,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)b(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach($)}}{constructor(t){super(),this.e=this.n=null,this.l=t}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let e=0;e<this.n.length;e+=1)v(this.t,this.n[e],t)}}function B(t){h=t}function z(){if(!h)throw new Error("Function called outside component initialization");return h}function K(t){z().$$.on_mount.push(t)}function J(t){z().$$.after_update.push(t)}function V(t){z().$$.on_destroy.push(t)}const W=[],Y=[],X=[],Q=[],Z=Promise.resolve();let tt=!1;function et(t){X.push(t)}let nt=!1;const st=new Set;function rt(){if(!nt){nt=!0;do{for(let t=0;t<W.length;t+=1){const e=W[t];B(e),ot(e.$$)}for(B(null),W.length=0;Y.length;)Y.pop()();for(let t=0;t<X.length;t+=1){const e=X[t];st.has(e)||(st.add(e),e())}X.length=0}while(W.length);for(;Q.length;)Q.pop()();tt=!1,nt=!1,st.clear()}}function ot(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(et)}}const it=new Set;let at;function ct(){at={r:0,c:[],p:at}}function lt(){at.r||r(at.c),at=at.p}function ut(t,e){t&&t.i&&(it.delete(t),t.i(e))}function ft(t,e,n,s){if(t&&t.o){if(it.has(t))return;it.add(t),at.c.push((()=>{it.delete(t),s&&(n&&t.d(1),s())})),t.o(e)}}function dt(t,e){const n={},s={},r={$$scope:1};let o=t.length;for(;o--;){const i=t[o],a=e[o];if(a){for(const t in i)t in a||(s[t]=1);for(const t in a)r[t]||(n[t]=a[t],r[t]=1);t[o]=a}else for(const t in i)r[t]=1}for(const t in s)t in n||(n[t]=void 0);return n}function ht(t){return"object"==typeof t&&null!==t?t:{}}function pt(t){t&&t.c()}function mt(t,e){t&&t.l(e)}function gt(t,e,s,i){const{fragment:a,on_mount:c,on_destroy:l,after_update:u}=t.$$;a&&a.m(e,s),i||et((()=>{const e=c.map(n).filter(o);l?l.push(...e):r(e),t.$$.on_mount=[]})),u.forEach(et)}function bt(t,e){const n=t.$$;null!==n.fragment&&(r(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function vt(t,e){-1===t.$$.dirty[0]&&(W.push(t),tt||(tt=!0,Z.then(rt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function $t(e,n,o,i,a,c,l,u=[-1]){const f=h;B(e);const d=e.$$={fragment:null,ctx:null,props:c,update:t,not_equal:a,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(f?f.$$.context:n.context||[]),callbacks:s(),dirty:u,skip_bound:!1,root:n.target||f.$$.root};l&&l(d.root);let m=!1;if(d.ctx=o?o(e,n.props||{},((t,n,...s)=>{const r=s.length?s[0]:n;return d.ctx&&a(d.ctx[t],d.ctx[t]=r)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](r),m&&vt(e,t)),n})):[],d.update(),m=!0,r(d.before_update),d.fragment=!!i&&i(d.ctx),n.target){if(n.hydrate){p=!0;const t=I(n.target);d.fragment&&d.fragment.l(t),t.forEach($)}else d.fragment&&d.fragment.c();n.intro&&ut(e.$$.fragment),gt(e,n.target,n.anchor,n.customElement),p=!1,rt()}B(f)}class _t{$destroy(){bt(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const wt=[];function yt(e,n=t){let s;const r=new Set;function o(t){if(i(e,t)&&(e=t,s)){const t=!wt.length;for(const t of r)t[1](),wt.push(t,e);if(t){for(let t=0;t<wt.length;t+=2)wt[t][0](wt[t+1]);wt.length=0}}}return{set:o,update:function(t){o(t(e))},subscribe:function(i,a=t){const c=[i,a];return r.add(c),1===r.size&&(s=n(o)||t),i(e),()=>{r.delete(c),0===r.size&&(s(),s=null)}}}}const Et={};var St={owner:"FastGitORG",repo:"uptime",sites:[{name:"FastGit Home",url:"https://fastgit.org"},{name:"FastGit Archive",url:"https://archive.fastgit.org"},{name:"FastGit Document",url:"https://doc.fastgit.org"},{name:"FastGit Download",url:"https://download.fastgit.org"},{name:"FastGit Hub",url:"https://hub.fastgit.org"},{name:"FastGit Raw",url:"https://raw.fastgit.org"},{name:"GitHub",url:"https://github.com"}],assignees:["KevinZonda"],"status-website":{baseUrl:"/uptime",logoUrl:"https://cdn.jsdelivr.net/gh/FastGitORG/logo@ad87e38c7101537010b3dc6f7d4d52bd1f915002/v2.1.png",name:"FastGit UK Uptime",introTitle:"**FastGit UK**, fast way to get GitHub things.",introMessage:"See, we always reach our SLA requirement (0%+)!",navbar:[{title:"Home",href:"https://fastgit.org"},{title:"GitHub",href:"https://github.com/FastGitORG"}]},path:"https://FastGitORG.github.io/uptime",i18n:{activeIncidents:"Active Incidents",allSystemsOperational:"All systems are operational",incidentReport:"Incident #$NUMBER report →",activeIncidentSummary:"Opened at $DATE with $POSTS posts",incidentTitle:"Incident $NUMBER Details",incidentDetails:"Incident Details",incidentFixed:"Fixed",incidentOngoing:"Ongoing",incidentOpenedAt:"Opened at",incidentClosedAt:"Closed at",incidentSubscribe:"Subscribe to Updates",incidentViewOnGitHub:"View on GitHub",incidentCommentSummary:"Posted at $DATE by $AUTHOR",incidentBack:"← Back to all incidents",pastIncidents:"Past Incidents",pastIncidentsResolved:"Resolved in $MINUTES minutes with $POSTS posts",liveStatus:"Live Status",overallUptime:"Overall uptime: $UPTIME",overallUptimeTitle:"Overall uptime",averageResponseTime:"Average response time: $TIMEms",averageResponseTimeTitle:"Average response",sevelDayResponseTime:"7-day response time",responseTimeMs:"Response time (ms)",up:"Up",down:"Down",degraded:"Degraded",ms:"ms",loading:"Loading",navGitHub:"GitHub",footer:"This page is [open source]($REPO), powered by [Upptime](https://upptime.js.org)",rateLimitExceededTitle:"Rate limit exceedeed",rateLimitExceededIntro:"You have exceeded the number of requests you can do in an hour, so you'll have to wait before accessing this website again. Alternately, you can add a GitHub Personal Access Token to continue to use this website.",rateLimitExceededWhatDoesErrorMean:"What does this error mean?",rateLimitExceededErrorMeaning:"This website uses the GitHub API to access real-time data about our websites' status. By default, GitHub allows each IP address 60 requests per hour, which you have consumed.",rateLimitExceededErrorHowCanFix:"How can I fix it?",rateLimitExceededErrorFix:"You can wait for another hour and your IP address' limit will be restored. Alternately, you can add your GitHub Personal Access Token, which gives you an additional 5,000 requests per hour.",rateLimitExceededGeneratePAT:"Learn how to generate a Personal Access Token",rateLimitExceededHasSet:"You have a personal access token set.",rateLimitExceededRemoveToken:"Remove token",rateLimitExceededGitHubPAT:"GitHub Personal Access Token",rateLimitExceededCopyPastePAT:"Copy and paste your token",rateLimitExceededSaveToken:"Save token",errorTitle:"An error occurred",errorIntro:"An error occurred in trying to get the latest status details.",errorText:"You can try again in a few moments.",errorHome:"Go to the homepage",pastScheduledMaintenance:"Past Scheduled Maintenance",scheduledMaintenance:"Scheduled Maintenance",scheduledMaintenanceSummaryStarted:"Started at $DATE for $DURATION minutes",scheduledMaintenanceSummaryStarts:"Starts at $DATE for $DURATION minutes",startedAt:"Started at",startsAt:"Starts at",duration:"Duration",durationMin:"$DURATION minutes",incidentCompleted:"Completed",incidentScheduled:"Scheduled"}};function xt(t,e,n){const s=t.slice();return s[1]=e[n],s}function Tt(e){let n,s,r,o=St["status-website"]&&!St["status-website"].hideNavLogo&&function(e){let n,s;return{c(){n=w("img"),this.h()},l(t){n=O(t,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){N(n,"alt",""),c(n.src,s=St["status-website"].logoUrl)||N(n,"src",s),N(n,"class","svelte-a08hsz")},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}(),i=St["status-website"]&&!St["status-website"].hideNavTitle&&function(e){let n,s,r=St["status-website"].name+"";return{c(){n=w("div"),s=E(r)},l(t){n=O(t,"DIV",{});var e=I(n);s=H(e,r),e.forEach($)},m(t,e){v(t,n,e),g(n,s)},p:t,d(t){t&&$(n)}}}();return{c(){n=w("div"),s=w("a"),o&&o.c(),r=S(),i&&i.c(),this.h()},l(t){n=O(t,"DIV",{});var e=I(n);s=O(e,"A",{href:!0,class:!0});var a=I(s);o&&o.l(a),r=k(a),i&&i.l(a),a.forEach($),e.forEach($),this.h()},h(){N(s,"href",St["status-website"].logoHref||St.path),N(s,"class","logo svelte-a08hsz")},m(t,e){v(t,n,e),g(n,s),o&&o.m(s,null),g(s,r),i&&i.m(s,null)},p(t,e){St["status-website"]&&!St["status-website"].hideNavLogo&&o.p(t,e),St["status-website"]&&!St["status-website"].hideNavTitle&&i.p(t,e)},d(t){t&&$(n),o&&o.d(),i&&i.d()}}}function At(t){let e,n,s,r,o,i,a=t[1].title+"";return{c(){e=w("li"),n=w("a"),s=E(a),i=S(),this.h()},l(t){e=O(t,"LI",{});var r=I(e);n=O(r,"A",{"aria-current":!0,href:!0,class:!0});var o=I(n);s=H(o,a),o.forEach($),i=k(r),r.forEach($),this.h()},h(){N(n,"aria-current",r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0),N(n,"href",o=t[1].href.replace("$OWNER",St.owner).replace("$REPO",St.repo)),N(n,"class","svelte-a08hsz")},m(t,r){v(t,e,r),g(e,n),g(n,s),g(e,i)},p(t,e){1&e&&r!==(r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0)&&N(n,"aria-current",r)},d(t){t&&$(e)}}}function Nt(e){let n,s,r,o,i,a=St["status-website"]&&St["status-website"].logoUrl&&Tt(),c=St["status-website"]&&St["status-website"].navbar&&function(t){let e,n=St["status-website"].navbar,s=[];for(let e=0;e<n.length;e+=1)s[e]=At(xt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=x()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=x()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);v(t,e,n)},p(t,r){if(1&r){let o;for(n=St["status-website"].navbar,o=0;o<n.length;o+=1){const i=xt(t,n,o);s[o]?s[o].p(i,r):(s[o]=At(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){_(s,t),t&&$(e)}}}(e),l=St["status-website"]&&St["status-website"].navbarGitHub&&!St["status-website"].navbar&&function(e){let n,s,r,o=St.i18n.navGitHub+"";return{c(){n=w("li"),s=w("a"),r=E(o),this.h()},l(t){n=O(t,"LI",{});var e=I(n);s=O(e,"A",{href:!0,class:!0});var i=I(s);r=H(i,o),i.forEach($),e.forEach($),this.h()},h(){N(s,"href",`https://github.com/${St.owner}/${St.repo}`),N(s,"class","svelte-a08hsz")},m(t,e){v(t,n,e),g(n,s),g(s,r)},p:t,d(t){t&&$(n)}}}();return{c(){n=w("nav"),s=w("div"),a&&a.c(),r=S(),o=w("ul"),c&&c.c(),i=S(),l&&l.c(),this.h()},l(t){n=O(t,"NAV",{class:!0});var e=I(n);s=O(e,"DIV",{class:!0});var u=I(s);a&&a.l(u),r=k(u),o=O(u,"UL",{class:!0});var f=I(o);c&&c.l(f),i=k(f),l&&l.l(f),f.forEach($),u.forEach($),e.forEach($),this.h()},h(){N(o,"class","svelte-a08hsz"),N(s,"class","container svelte-a08hsz"),N(n,"class","svelte-a08hsz")},m(t,e){v(t,n,e),g(n,s),a&&a.m(s,null),g(s,r),g(s,o),c&&c.m(o,null),g(o,i),l&&l.m(o,null)},p(t,[e]){St["status-website"]&&St["status-website"].logoUrl&&a.p(t,e),St["status-website"]&&St["status-website"].navbar&&c.p(t,e),St["status-website"]&&St["status-website"].navbarGitHub&&!St["status-website"].navbar&&l.p(t,e)},i:t,o:t,d(t){t&&$(n),a&&a.d(),c&&c.d(),l&&l.d()}}}function Rt(t,e,n){let{segment:s}=e;return t.$$set=t=>{"segment"in t&&n(0,s=t.segment)},[s]}class It extends _t{constructor(t){super(),$t(this,t,Rt,Nt,i,{segment:0})}}var Lt={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Pt(t){return t.replace(RegExp("^"+(t.match(/^(\t| )+/)||"")[0],"gm"),"")}function Ot(t){return(t+"").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ht(t,e){var n,s,r,o,i,a=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,c=[],l="",u=e||{},f=0;function d(t){var e=Lt[t[1]||""],n=c[c.length-1]==t;return e?e[1]?(n?c.pop():c.push(t),e[0|n]):e[0]:t}function h(){for(var t="";c.length;)t+=d(c[c.length-1]);return t}for(t=t.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(t,e,n){return u[e.toLowerCase()]=n,""})).replace(/^\n+|\n+$/g,"");r=a.exec(t);)s=t.substring(f,r.index),f=a.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((i=r[3]||r[4])?n='<pre class="code '+(r[4]?"poetry":r[2].toLowerCase())+'"><code'+(r[2]?' class="language-'+r[2].toLowerCase()+'"':"")+">"+Pt(Ot(i).replace(/^\n+|\n+$/g,""))+"</code></pre>":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=Ht(Pt(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==i?i="blockquote":(i=i.match(/\./)?"ol":"ul",o=o.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+i+">"+o+"</"+i+">"):r[8]?n='<img src="'+Ot(r[8])+'" alt="'+Ot(r[7])+'">':r[10]?(l=l.replace("<a>",'<a href="'+Ot(r[11]||u[s.toLowerCase()])+'">'),n=h()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+Ht(r[12]||r[15],u)+"</"+i+">":r[16]?n="<code>"+Ot(r[16])+"</code>":(r[17]||r[1])&&(n=d(r[17]||"--"))),l+=s,l+=n;return(l+t.substring(f)+h()).replace(/^\n+|\n+$/g,"")}function kt(t,e,n){const s=t.slice();return s[3]=e[n],s}function Gt(t,e,n){const s=t.slice();return s[3]=e[n],s}function Ut(t,e,n){const s=t.slice();return s[8]=e[n],s}function Ct(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(t,"LINK",{rel:!0,href:!0}),this.h()},h(){N(n,"rel","stylesheet"),N(n,"href",`${St.path}/themes/${(St["status-website"]||{}).theme||"light"}.css`)},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}function jt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(t,"LINK",{rel:!0,href:!0}),this.h()},h(){N(n,"rel","stylesheet"),N(n,"href",(St["status-website"]||{}).themeUrl)},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}function Mt(e){let n,s;return{c(){n=w("script"),this.h()},l(t){n=O(t,"SCRIPT",{src:!0}),I(n).forEach($),this.h()},h(){c(n.src,s=e[8].src)||N(n,"src",s),n.async=!!e[8].async,n.defer=!!e[8].async},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}function Dt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(t,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){N(n,"rel",e[3].rel),N(n,"href",e[3].href),N(n,"media",e[3].media)},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}function qt(e){let n;return{c(){n=w("meta"),this.h()},l(t){n=O(t,"META",{name:!0,content:!0}),this.h()},h(){N(n,"name",e[3].name),N(n,"content",e[3].content)},m(t,e){v(t,n,e)},p:t,d(t){t&&$(n)}}}function Ft(e){let n,s,r,o,i,a,c,u,f,d,h,p,m,b,y,E,T,A,R=Ht(St.i18n.footer.replace(/\$REPO/,`https://github.com/${St.owner}/${St.repo}`))+"",L=(St["status-website"]||{}).customHeadHtml&&function(e){let n,s,r=(St["status-website"]||{}).customHeadHtml+"";return{c(){n=new F,s=x(),this.h()},l(t){n=U(t),s=x(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),v(t,s,e)},p:t,d(t){t&&$(s),t&&n.d()}}}();let P=((St["status-website"]||{}).themeUrl?jt:Ct)(e),H=(St["status-website"]||{}).scripts&&function(t){let e,n=(St["status-website"]||{}).scripts,s=[];for(let e=0;e<n.length;e+=1)s[e]=Mt(Ut(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=x()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=x()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);v(t,e,n)},p(t,r){if(0&r){let o;for(n=(St["status-website"]||{}).scripts,o=0;o<n.length;o+=1){const i=Ut(t,n,o);s[o]?s[o].p(i,r):(s[o]=Mt(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){_(s,t),t&&$(e)}}}(e),G=(St["status-website"]||{}).links&&function(t){let e,n=(St["status-website"]||{}).links,s=[];for(let e=0;e<n.length;e+=1)s[e]=Dt(Gt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=x()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=x()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);v(t,e,n)},p(t,r){if(0&r){let o;for(n=(St["status-website"]||{}).links,o=0;o<n.length;o+=1){const i=Gt(t,n,o);s[o]?s[o].p(i,r):(s[o]=Dt(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){_(s,t),t&&$(e)}}}(e),C=(St["status-website"]||{}).metaTags&&function(t){let e,n=(St["status-website"]||{}).metaTags,s=[];for(let e=0;e<n.length;e+=1)s[e]=qt(kt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=x()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=x()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);v(t,e,n)},p(t,r){if(0&r){let o;for(n=(St["status-website"]||{}).metaTags,o=0;o<n.length;o+=1){const i=kt(t,n,o);s[o]?s[o].p(i,r):(s[o]=qt(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){_(s,t),t&&$(e)}}}(e),j=St["status-website"].css&&function(e){let n,s,r=`<style>${St["status-website"].css}</style>`;return{c(){n=new F,s=x(),this.h()},l(t){n=U(t),s=x(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),v(t,s,e)},p:t,d(t){t&&$(s),t&&n.d()}}}(),M=St["status-website"].js&&function(e){let n,s,r=`<script>${St["status-website"].js}<\/script>`;return{c(){n=new F,s=x(),this.h()},l(t){n=U(t),s=x(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),v(t,s,e)},p:t,d(t){t&&$(s),t&&n.d()}}}(),D=(St["status-website"]||{}).customBodyHtml&&function(e){let n,s,r=(St["status-website"]||{}).customBodyHtml+"";return{c(){n=new F,s=x(),this.h()},l(t){n=U(t),s=x(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),v(t,s,e)},p:t,d(t){t&&$(s),t&&n.d()}}}();p=new It({props:{segment:e[0]}});const B=e[2].default,z=function(t,e,n,s){if(t){const r=l(t,e,n,s);return t[0](r)}}(B,e,e[1],null);return{c(){L&&L.c(),n=x(),P.c(),s=w("link"),r=w("link"),o=w("link"),H&&H.c(),i=x(),G&&G.c(),a=x(),C&&C.c(),c=x(),j&&j.c(),u=x(),M&&M.c(),f=x(),d=S(),D&&D.c(),h=S(),pt(p.$$.fragment),m=S(),b=w("main"),z&&z.c(),y=S(),E=w("footer"),T=w("p"),this.h()},l(t){const e=q('[data-svelte="svelte-ri9y7q"]',document.head);L&&L.l(e),n=x(),P.l(e),s=O(e,"LINK",{rel:!0,href:!0}),r=O(e,"LINK",{rel:!0,type:!0,href:!0}),o=O(e,"LINK",{rel:!0,type:!0,href:!0}),H&&H.l(e),i=x(),G&&G.l(e),a=x(),C&&C.l(e),c=x(),j&&j.l(e),u=x(),M&&M.l(e),f=x(),e.forEach($),d=k(t),D&&D.l(t),h=k(t),mt(p.$$.fragment,t),m=k(t),b=O(t,"MAIN",{class:!0});var l=I(b);z&&z.l(l),l.forEach($),y=k(t),E=O(t,"FOOTER",{class:!0});var g=I(E);T=O(g,"P",{}),I(T).forEach($),g.forEach($),this.h()},h(){N(s,"rel","stylesheet"),N(s,"href",`${St.path}/global.css`),N(r,"rel","icon"),N(r,"type","image/svg"),N(r,"href",(St["status-website"]||{}).faviconSvg||(St["status-website"]||{}).favicon||"https://raw.githubusercontent.com/koj-co/upptime/master/assets/icon.svg"),N(o,"rel","icon"),N(o,"type","image/png"),N(o,"href",(St["status-website"]||{}).favicon||"/logo-192.png"),N(b,"class","container"),N(E,"class","svelte-jbr799")},m(t,e){L&&L.m(document.head,null),g(document.head,n),P.m(document.head,null),g(document.head,s),g(document.head,r),g(document.head,o),H&&H.m(document.head,null),g(document.head,i),G&&G.m(document.head,null),g(document.head,a),C&&C.m(document.head,null),g(document.head,c),j&&j.m(document.head,null),g(document.head,u),M&&M.m(document.head,null),g(document.head,f),v(t,d,e),D&&D.m(t,e),v(t,h,e),gt(p,t,e),v(t,m,e),v(t,b,e),z&&z.m(b,null),v(t,y,e),v(t,E,e),g(E,T),T.innerHTML=R,A=!0},p(t,[e]){(St["status-website"]||{}).customHeadHtml&&L.p(t,e),P.p(t,e),(St["status-website"]||{}).scripts&&H.p(t,e),(St["status-website"]||{}).links&&G.p(t,e),(St["status-website"]||{}).metaTags&&C.p(t,e),St["status-website"].css&&j.p(t,e),St["status-website"].js&&M.p(t,e),(St["status-website"]||{}).customBodyHtml&&D.p(t,e);const n={};1&e&&(n.segment=t[0]),p.$set(n),z&&z.p&&(!A||2&e)&&function(t,e,n,s,r,o){if(r){const i=l(e,n,s,o);t.p(i,r)}}(z,B,t,t[1],A?function(t,e,n,s){if(t[2]&&s){const r=t[2](s(n));if(void 0===e.dirty)return r;if("object"==typeof r){const t=[],n=Math.max(e.dirty.length,r.length);for(let s=0;s<n;s+=1)t[s]=e.dirty[s]|r[s];return t}return e.dirty|r}return e.dirty}(B,t[1],e,null):function(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}(t[1]),null)},i(t){A||(ut(p.$$.fragment,t),ut(z,t),A=!0)},o(t){ft(p.$$.fragment,t),ft(z,t),A=!1},d(t){L&&L.d(t),$(n),P.d(t),$(s),$(r),$(o),H&&H.d(t),$(i),G&&G.d(t),$(a),C&&C.d(t),$(c),j&&j.d(t),$(u),M&&M.d(t),$(f),t&&$(d),D&&D.d(t),t&&$(h),bt(p,t),t&&$(m),t&&$(b),z&&z.d(t),t&&$(y),t&&$(E)}}}function Bt(t,e,n){let{$$slots:s={},$$scope:r}=e,{segment:o}=e;return t.$$set=t=>{"segment"in t&&n(0,o=t.segment),"$$scope"in t&&n(1,r=t.$$scope)},[o,r,s]}class zt extends _t{constructor(t){super(),$t(this,t,Bt,Ft,i,{segment:0})}}function Kt(t){let e,n,s=t[1].stack+"";return{c(){e=w("pre"),n=E(s)},l(t){e=O(t,"PRE",{});var r=I(e);n=H(r,s),r.forEach($)},m(t,s){v(t,e,s),g(e,n)},p(t,e){2&e&&s!==(s=t[1].stack+"")&&C(n,s)},d(t){t&&$(e)}}}function Jt(e){let n,s,r,o,i,a,c,l,u,f=e[1].message+"";document.title=n=e[0];let d=e[2]&&e[1].stack&&Kt(e);return{c(){s=S(),r=w("h1"),o=E(e[0]),i=S(),a=w("p"),c=E(f),l=S(),d&&d.c(),u=x(),this.h()},l(t){q('[data-svelte="svelte-1moakz"]',document.head).forEach($),s=k(t),r=O(t,"H1",{class:!0});var n=I(r);o=H(n,e[0]),n.forEach($),i=k(t),a=O(t,"P",{class:!0});var h=I(a);c=H(h,f),h.forEach($),l=k(t),d&&d.l(t),u=x(),this.h()},h(){N(r,"class","svelte-17w3omn"),N(a,"class","svelte-17w3omn")},m(t,e){v(t,s,e),v(t,r,e),g(r,o),v(t,i,e),v(t,a,e),g(a,c),v(t,l,e),d&&d.m(t,e),v(t,u,e)},p(t,[e]){1&e&&n!==(n=t[0])&&(document.title=n),1&e&&C(o,t[0]),2&e&&f!==(f=t[1].message+"")&&C(c,f),t[2]&&t[1].stack?d?d.p(t,e):(d=Kt(t),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},i:t,o:t,d(t){t&&$(s),t&&$(r),t&&$(i),t&&$(a),t&&$(l),d&&d.d(t),t&&$(u)}}}function Vt(t,e,n){let{status:s}=e,{error:r}=e;return t.$$set=t=>{"status"in t&&n(0,s=t.status),"error"in t&&n(1,r=t.error)},[s,r,false]}class Wt extends _t{constructor(t){super(),$t(this,t,Vt,Jt,i,{status:0,error:1})}}function Yt(t){let n,s,r;const o=[t[4].props];var i=t[4].component;function a(t){let n={};for(let t=0;t<o.length;t+=1)n=e(n,o[t]);return{props:n}}return i&&(n=new i(a())),{c(){n&&pt(n.$$.fragment),s=x()},l(t){n&&mt(n.$$.fragment,t),s=x()},m(t,e){n&&gt(n,t,e),v(t,s,e),r=!0},p(t,e){const r=16&e?dt(o,[ht(t[4].props)]):{};if(i!==(i=t[4].component)){if(n){ct();const t=n;ft(t.$$.fragment,1,0,(()=>{bt(t,1)})),lt()}i?(n=new i(a()),pt(n.$$.fragment),ut(n.$$.fragment,1),gt(n,s.parentNode,s)):n=null}else i&&n.$set(r)},i(t){r||(n&&ut(n.$$.fragment,t),r=!0)},o(t){n&&ft(n.$$.fragment,t),r=!1},d(t){t&&$(s),n&&bt(n,t)}}}function Xt(t){let e,n;return e=new Wt({props:{error:t[0],status:t[1]}}),{c(){pt(e.$$.fragment)},l(t){mt(e.$$.fragment,t)},m(t,s){gt(e,t,s),n=!0},p(t,n){const s={};1&n&&(s.error=t[0]),2&n&&(s.status=t[1]),e.$set(s)},i(t){n||(ut(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){bt(e,t)}}}function Qt(t){let e,n,s,r;const o=[Xt,Yt],i=[];function a(t,e){return t[0]?0:1}return e=a(t),n=i[e]=o[e](t),{c(){n.c(),s=x()},l(t){n.l(t),s=x()},m(t,n){i[e].m(t,n),v(t,s,n),r=!0},p(t,r){let c=e;e=a(t),e===c?i[e].p(t,r):(ct(),ft(i[c],1,1,(()=>{i[c]=null})),lt(),n=i[e],n?n.p(t,r):(n=i[e]=o[e](t),n.c()),ut(n,1),n.m(s.parentNode,s))},i(t){r||(ut(n),r=!0)},o(t){ft(n),r=!1},d(t){i[e].d(t),t&&$(s)}}}function Zt(t){let n,s;const r=[{segment:t[2][0]},t[3].props];let o={$$slots:{default:[Qt]},$$scope:{ctx:t}};for(let t=0;t<r.length;t+=1)o=e(o,r[t]);return n=new zt({props:o}),{c(){pt(n.$$.fragment)},l(t){mt(n.$$.fragment,t)},m(t,e){gt(n,t,e),s=!0},p(t,[e]){const s=12&e?dt(r,[4&e&&{segment:t[2][0]},8&e&&ht(t[3].props)]):{};147&e&&(s.$$scope={dirty:e,ctx:t}),n.$set(s)},i(t){s||(ut(n.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),s=!1},d(t){bt(n,t)}}}function te(t,e,n){let{stores:s}=e,{error:r}=e,{status:o}=e,{segments:i}=e,{level0:a}=e,{level1:c=null}=e,{notify:l}=e;var u,f;return J(l),u=Et,f=s,z().$$.context.set(u,f),t.$$set=t=>{"stores"in t&&n(5,s=t.stores),"error"in t&&n(0,r=t.error),"status"in t&&n(1,o=t.status),"segments"in t&&n(2,i=t.segments),"level0"in t&&n(3,a=t.level0),"level1"in t&&n(4,c=t.level1),"notify"in t&&n(6,l=t.notify)},[r,o,i,a,c,s,l]}class ee extends _t{constructor(t){super(),$t(this,t,te,Zt,i,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const ne=[],se=[{js:()=>Promise.all([import("./index.ff41a1ee.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","index-5f8caab7.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./rate-limit-exceeded.43ee810f.js"),__inject_styles(["client-04be1abb.css","rate-limit-exceeded-ec20dc01.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./[number].23c27991.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","[number]-c4ffc2b4.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./[number].59d26d67.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","[number]-bc1bb552.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./error.bea66336.js"),__inject_styles(["client-04be1abb.css","error-64ad0d96.css"])]).then((function(t){return t[0]}))}],re=(oe=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:t=>({number:oe(t[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:t=>({number:oe(t[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var oe;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function ie(t,e,n,s){return new(n||(n=Promise))((function(r,o){function i(t){try{c(s.next(t))}catch(t){o(t)}}function a(t){try{c(s.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,a)}c((s=s.apply(t,e||[])).next())}))}function ae(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let ce,le=1;const ue="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},fe={};let de,he;function pe(t){const e=Object.create(null);return t.length?(t=>"undefined"!=typeof URLSearchParams?[...new URLSearchParams(t).entries()]:t.slice(1).split("&").map((t=>{const[,e,n=""]=/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(t.replace(/\+/g," ")));return[e,n]})))(t).reduce(((t,[e,n])=>("string"==typeof t[e]&&(t[e]=[t[e]]),"object"==typeof t[e]?t[e].push(n):t[e]=n,t)),e):e}function me(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(de))return null;let e=t.pathname.slice(de.length);if(""===e&&(e="/"),!ne.some((t=>t.test(e))))for(let n=0;n<re.length;n+=1){const s=re[n],r=s.pattern.exec(e);if(r){const n=pe(t.search),o=s.parts[s.parts.length-1],i=o.params?o.params(r):{},a={host:location.host,path:e,query:n,params:i};return{href:t.href,route:s,match:r,page:a}}}}function ge(t){if(1!==function(t){return null===t.which?t.button:t.which}(t))return;if(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;if(t.defaultPrevented)return;const e=ae(t.target);if(!e)return;if(!e.href)return;const n="object"==typeof e.href&&"SVGAnimatedString"===e.href.constructor.name,s=String(n?e.href.baseVal:e.href);if(s===location.href)return void(location.hash||t.preventDefault());if(e.hasAttribute("download")||"external"===e.getAttribute("rel"))return;if(n?e.target.baseVal:e.target)return;const r=new URL(s);if(r.pathname===location.pathname&&r.search===location.search)return;const o=me(r);if(o){$e(o,null,e.hasAttribute("sapper:noscroll"),r.hash),t.preventDefault(),ue.pushState({id:ce},"",r.href)}}function be(){return{x:pageXOffset,y:pageYOffset}}function ve(t){if(fe[ce]=be(),t.state){const e=me(new URL(location.href));e?$e(e,t.state.id):location.href=location.href}else!function(t){le=t}(le+1),function(t){ce=t}(le),ue.replaceState({id:ce},"",location.href)}function $e(t,e,n,s){return ie(this,void 0,void 0,(function*(){const r=!!e;if(r)ce=e;else{const t=be();fe[ce]=t,ce=e=++le,fe[ce]=n?t:{x:0,y:0}}if(yield he(t),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let t,n=fe[e];s&&(t=document.getElementById(s.slice(1)),t&&(n={x:0,y:t.getBoundingClientRect().top+scrollY})),fe[ce]=n,n&&(r||t)?scrollTo(n.x,n.y):scrollTo(0,0)}}))}function _e(t){let e=t.baseURI;if(!e){const n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}let we,ye=null;function Ee(t){const e=ae(t.target);e&&e.hasAttribute("sapper:prefetch")&&function(t){const e=me(new URL(t,_e(document)));if(e)ye&&t===ye.href||(ye={href:t,promise:Me(e)}),ye.promise}(e.href)}function Se(t){clearTimeout(we),we=setTimeout((()=>{Ee(t)}),20)}function xe(t,e={noscroll:!1,replaceState:!1}){const n=me(new URL(t,_e(document)));if(n){const s=$e(n,null,e.noscroll);return ue[e.replaceState?"replaceState":"pushState"]({id:ce},"",t),s}return location.href=t,new Promise((()=>{}))}const Te="undefined"!=typeof __SAPPER__&&__SAPPER__;let Ae,Ne,Re,Ie=!1,Le=[],Pe="{}";const Oe={page:function(t){const e=yt(t);let n=!0;return{notify:function(){n=!0,e.update((t=>t))},set:function(t){n=!1,e.set(t)},subscribe:function(t){let s;return e.subscribe((e=>{(void 0===s||n&&e!==s)&&t(s=e)}))}}}({}),preloading:yt(null),session:yt(Te&&Te.session)};let He,ke,Ge;function Ue(t,e){const{error:n}=t;return Object.assign({error:n},e)}function Ce(t){return ie(this,void 0,void 0,(function*(){Ae&&Oe.preloading.set(!0);const e=function(t){return ye&&ye.href===t.href?ye.promise:Me(t)}(t),n=Ne={},s=yield e,{redirect:r}=s;if(n===Ne)if(r)yield xe(r.location,{replaceState:!0});else{const{props:e,branch:n}=s;yield je(n,e,Ue(e,t.page))}}))}function je(t,e,n){return ie(this,void 0,void 0,(function*(){Oe.page.set(n),Oe.preloading.set(!1),Ae?Ae.$set(e):(e.stores={page:{subscribe:Oe.page.subscribe},preloading:{subscribe:Oe.preloading.subscribe},session:Oe.session},e.level0={props:yield Re},e.notify=Oe.page.notify,Ae=new ee({target:Ge,props:e,hydrate:!0})),Le=t,Pe=JSON.stringify(n.query),Ie=!0,ke=!1}))}function Me(t){return ie(this,void 0,void 0,(function*(){const{route:e,page:n}=t,s=n.path.split("/").filter(Boolean);let r=null;const o={error:null,status:200,segments:[s[0]]},i={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(r&&(r.statusCode!==t||r.location!==e))throw new Error("Conflicting redirects");r={statusCode:t,location:e}},error:(t,e)=>{o.error="string"==typeof e?new Error(e):e,o.status=t}};if(!Re){const t=()=>({});Re=Te.preloaded[0]||t.call(i,{host:n.host,path:n.path,query:n.query,params:{}},He)}let a,c=1;try{const r=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;a=yield Promise.all(e.parts.map(((e,a)=>ie(this,void 0,void 0,(function*(){const f=s[a];if(function(t,e,n,s){if(s!==Pe)return!0;const r=Le[t];return!!r&&(e!==r.segment||!(!r.match||JSON.stringify(r.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(a,f,l,r)&&(u=!0),o.segments[c]=s[a+1],!e)return{segment:f};const d=c++;let h;if(ke||u||!Le[a]||Le[a].part!==e.i){u=!1;const{default:s,preload:r}=yield se[e.i].js();let o;o=Ie||!Te.preloaded[a+1]?r?yield r.call(i,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},He):{}:Te.preloaded[a+1],h={component:s,props:o,segment:f,match:l,part:e.i}}else h=Le[a];return o[`level${d}`]=h})))))}catch(t){o.error=t,o.status=500,a=[]}return{redirect:r,props:o,branch:a}}))}var De,qe,Fe;Oe.session.subscribe((t=>ie(void 0,void 0,void 0,(function*(){if(He=t,!Ie)return;ke=!0;const e=me(new URL(location.href)),n=Ne={},{redirect:s,props:r,branch:o}=yield Me(e);n===Ne&&(s?yield xe(s.location,{replaceState:!0}):yield je(o,r,Ue(r,e.page)))})))),De={target:document.querySelector("#sapper")},qe=De.target,Ge=qe,Fe=Te.baseUrl,de=Fe,he=Ce,"scrollRestoration"in ue&&(ue.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{ue.scrollRestoration="auto"})),addEventListener("load",(()=>{ue.scrollRestoration="manual"})),addEventListener("click",ge),addEventListener("popstate",ve),addEventListener("touchstart",Ee),addEventListener("mousemove",Se),Te.error?Promise.resolve().then((()=>function(){const{host:t,pathname:e,search:n}=location,{session:s,preloaded:r,status:o,error:i}=Te;Re||(Re=r&&r[0]);const a={error:i,status:o,session:s,level0:{props:Re},level1:{props:{status:o,error:i},component:Wt},segments:r},c=pe(n);je([],a,{host:t,path:e,query:c,params:{},error:i})}())):Promise.resolve().then((()=>{const{hash:t,href:e}=location;ue.replaceState({id:le},"",e);const n=me(new URL(location.href));if(n)return $e(n,le,!0,t)}));export{bt as A,T as B,r as C,Y as D,U as E,c as F,f as G,F as H,q as I,Ht as J,y as K,xe as L,j as M,A as N,e as O,R as P,dt as Q,J as R,_t as S,V as T,u as U,ht as V,et as W,D as X,I as a,H as b,O as c,$ as d,w as e,N as f,v as g,g as h,$t as i,S as j,k,ct as l,ft as m,t as n,lt as o,ut as p,K as q,St as r,i as s,E as t,C as u,x as v,_ as w,pt as x,mt as y,gt as z};
import __inject_styles from './inject_styles.803b7e80.js';