mirror of
https://github.com/dataforcanada/d4c-service-status.git
synced 2026-06-13 14:10:51 +02:00
18 lines
43 KiB
JavaScript
18 lines
43 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 a(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let i;function c(t,e){return i||(i=document.createElement("a")),i.href=e,t===i.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 d(t){return null==t?"":t}let f=!1;function h(t,e,n,s){for(;t<e;){const r=t+(e-t>>1);n(r)<=s?t=r+1:e=r}return t}function p(t,e){if(f){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 a=e[t].claim_order,o=(r>0&&e[n[r]].claim_order<=a?r+1:h(1,r,t=>e[n[t]].claim_order,a))-1;s[t]=n[o]+1;const i=o+1;n[i]=t,r=Math.max(i,r)}const a=[],o=[];let i=e.length-1;for(let t=n[r]+1;0!=t;t=s[t-1]){for(a.push(e[t-1]);i>=t;i--)o.push(e[i]);i--}for(;i>=0;i--)o.push(e[i]);a.reverse(),o.sort((t,e)=>t.claim_order-e.claim_order);for(let e=0,n=0;e<o.length;e++){for(;n<a.length&&o[e].claim_order>=a[n].claim_order;)n++;const s=n<a.length?a[n]:null;t.insertBefore(o[e],s)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentNode!==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&&null===e.nextSibling||t.appendChild(e)}function m(t,e,n){t.insertBefore(e,n||null)}function g(t,e,n){f&&!n?p(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function b(t){t.parentNode&&t.parentNode.removeChild(t)}function v(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 _(t){return document.createTextNode(t)}function $(){return _(" ")}function E(){return _("")}function S(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function T(t){return function(e){return e.preventDefault(),t.call(this,e)}}function x(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const A=["width","height"];function P(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&&-1===A.indexOf(s)?t[s]=e[s]:x(t,s,e[s])}function N(t){let e;return{p(){for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];e=s,e.forEach(e=>t.push(e))},r(){e.forEach(e=>t.splice(t.indexOf(e),1))}}}function L(t){return Array.from(t.childNodes)}function I(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function k(t,e,n,s){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];I(t);const a=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(e(a)){const e=n(a);return void 0===e?t.splice(s,1):t[s]=e,r||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(e(a)){const e=n(a);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,a}}return s()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function R(t,e,n,s){return k(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(e))}function C(t,e,n){return R(t,e,n,w)}function O(t,e,n){return R(t,e,n,y)}function H(t,e){return k(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),!0)}function M(t){return H(t," ")}function U(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 D(t,e){const n=U(t,"HTML_TAG_START",0),s=U(t,"HTML_TAG_END",n);if(n===s)return new Y(void 0,e);I(t);const r=t.splice(n,s-n+1);b(r[0]),b(r[r.length-1]);const a=r.slice(1,r.length-1);for(const e of a)e.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new Y(a,e)}function j(t,e){e=""+e,t.data!==e&&(t.data=e)}function G(t,e){t.value=null==e?"":e}function q(t,e,n,s){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,s?"important":"")}let B,z;function K(){if(void 0===B){B=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){B=!0}}return B}function W(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=K();let r;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=S(window,"message",t=>{t.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=S(n.contentWindow,"resize",e),e()}),function(t,e){t.appendChild(e)}(t,n),()=>{(s||r&&n.contentWindow)&&r(),b(n)}}function J(t,e){const n=[];let s=0;for(const r of e.childNodes)if(8===r.nodeType){const e=r.textContent.trim();e==="HEAD_".concat(t,"_END")?(s-=1,n.push(r)):e==="HEAD_".concat(t,"_START")&&(s+=1,n.push(r))}else s>0&&n.push(r);return n}class V{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.is_svg=!1,this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=y(e.nodeName):this.e=w(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)m(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(b)}}class Y extends V{constructor(t){super(arguments.length>1&&void 0!==arguments[1]&&arguments[1]),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)g(this.t,this.n[e],t)}}function F(t,e){return new t(e)}function X(t){z=t}function Q(){if(!z)throw new Error("Function called outside component initialization");return z}function Z(t){Q().$$.on_mount.push(t)}function tt(t){Q().$$.after_update.push(t)}function et(t){Q().$$.on_destroy.push(t)}const nt=[],st=[];let rt=[];const at=[],ot=Promise.resolve();let it=!1;function ct(t){rt.push(t)}const lt=new Set;let ut=0;function dt(){if(0!==ut)return;const t=z;do{try{for(;ut<nt.length;){const t=nt[ut];ut++,X(t),ft(t.$$)}}catch(t){throw nt.length=0,ut=0,t}for(X(null),nt.length=0,ut=0;st.length;)st.pop()();for(let t=0;t<rt.length;t+=1){const e=rt[t];lt.has(e)||(lt.add(e),e())}rt.length=0}while(nt.length);for(;at.length;)at.pop()();it=!1,lt.clear(),X(t)}function ft(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(ct)}}const ht=new Set;let pt;function mt(){pt={r:0,c:[],p:pt}}function gt(){pt.r||r(pt.c),pt=pt.p}function bt(t,e){t&&t.i&&(ht.delete(t),t.i(e))}function vt(t,e,n,s){if(t&&t.o){if(ht.has(t))return;ht.add(t),pt.c.push(()=>{ht.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}function wt(t,e){const n={},s={},r={$$scope:1};let a=t.length;for(;a--;){const o=t[a],i=e[a];if(i){for(const t in o)t in i||(s[t]=1);for(const t in i)r[t]||(n[t]=i[t],r[t]=1);t[a]=i}else for(const t in o)r[t]=1}for(const t in s)t in n||(n[t]=void 0);return n}function yt(t){return"object"==typeof t&&null!==t?t:{}}function _t(t){t&&t.c()}function $t(t,e){t&&t.l(e)}function Et(t,e,s,o){const{fragment:i,after_update:c}=t.$$;i&&i.m(e,s),o||ct(()=>{const e=t.$$.on_mount.map(n).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...e):r(e),t.$$.on_mount=[]}),c.forEach(ct)}function St(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];rt.forEach(s=>-1===t.indexOf(s)?e.push(s):n.push(s)),n.forEach(t=>t()),rt=e}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Tt(t,e){-1===t.$$.dirty[0]&&(nt.push(t),it||(it=!0,ot.then(dt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function xt(e,n,a,o,i,c,l){let u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const d=z;X(e);const h=e.$$={fragment:null,ctx:[],props:c,update:t,not_equal:i,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(d?d.$$.context:[])),callbacks:s(),dirty:u,skip_bound:!1,root:n.target||d.$$.root};l&&l(h.root);let p=!1;if(h.ctx=a?a(e,n.props||{},function(t,n){const s=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return h.ctx&&i(h.ctx[t],h.ctx[t]=s)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](s),p&&Tt(e,t)),n}):[],h.update(),p=!0,r(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){f=!0;const t=L(n.target);h.fragment&&h.fragment.l(t),t.forEach(b)}else h.fragment&&h.fragment.c();n.intro&&bt(e.$$.fragment),Et(e,n.target,n.anchor,n.customElement),f=!1,dt()}X(d)}class At{$destroy(){St(this,1),this.$destroy=t}$on(e,n){if(!a(n))return t;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const t=s.indexOf(n);-1!==t&&s.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 Pt=[];function Nt(e){let n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;const r=new Set;function a(t){if(o(e,t)&&(e=t,n)){const t=!Pt.length;for(const t of r)t[1](),Pt.push(t,e);if(t){for(let t=0;t<Pt.length;t+=2)Pt[t][0](Pt[t+1]);Pt.length=0}}}return{set:a,update:function(t){a(t(e))},subscribe:function(o){const i=[o,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t];return r.add(i),1===r.size&&(n=s(a)||t),o(e),()=>{r.delete(i),0===r.size&&n&&(n(),n=null)}}}}const Lt={};var It={owner:"dataforcanada",repo:"status.dataforcanada.org",sites:[{name:"P2P Tracker (Labs)",url:"https://tracker.labs.dataforcanada.org/announce",faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/peer-to-peer-icon.svg"},{name:"Main Website",url:"https://www.dataforcanada.org",faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"},{name:"Production Ready Data",url:"https://data-01.dataforcanada.org"},{name:"Data in the Lab",url:"https://data-01.labs.dataforcanada.org",type:"globalping",check:"http",location:"Toronto+CA",faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"},{name:"Static Assets (Prod)",url:"https://static-01.dataforcanada.org",faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"},{name:"Static Assets (Labs)",url:"https://static-01.labs.dataforcanada.org",faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"},{name:"Tile Server (Prod)",url:"https://tiles-01.dataforcanada.org",expectedStatusCodes:[404],faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"},{name:"Tile Server (Labs)",url:"https://tiles-01.labs.dataforcanada.org",expectedStatusCodes:[404],faviconSvg:"https://raw.githubusercontent.com/dataforcanada/static.dataforcanada.org/refs/heads/main/assets/svg/cloudflare-logo.svg"}],assignees:["diegoripley"],"status-website":{cname:"status.dataforcanada.org",theme:"light",logoUrl:"https://raw.githubusercontent.com/dataforcanada/www.dataforcanada.org/refs/heads/main/static/logo.svg",name:"Status Page for the Data for Canada Project",introTitle:"Status Page for the Data for Canada Project",introMessage:"This is a status page which uses **real-time** data from our [GitHub repository](https://github.com/dataforcanada/status.dataforcanada.org).",navbar:[{title:"Status Updates",href:"https://github.com/dataforcanada/status.dataforcanada.org"},{title:"Main Website",href:"https://www.dataforcanada.org"}]},workflowSchedule:{graphs:"0 0 * * *",responseTime:"0 23 * * *",staticSite:"0 1 * * *",summary:"0 0 * * *",updateTemplate:"0 0 * * *",updates:"0 3 * * *",uptime:"*/15 * * * *"},"user-agent":"diegoripley",path:"https://status.dataforcanada.org",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",incidentViewOnGitHub:"View and Subscribe 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 exceeded",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",duration24H:"24h",duration7D:"7d",duration30D:"30d",duration1Y:"1y",durationAll:"all",locale:"en-US"}};function kt(t,e,n){const s=t.slice();return s[1]=e[n],s}function Rt(e){let n,s,r,a=It["status-website"]&&!It["status-website"].hideNavLogo&&function(){let e,n;return{c(){e=w("img"),this.h()},l(t){e=C(t,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){x(e,"alt",""),c(e.src,n=It["status-website"].logoUrl)||x(e,"src",n),x(e,"class","svelte-a08hsz")},m(t,n){g(t,e,n)},p:t,d(t){t&&b(e)}}}(),o=It["status-website"]&&!It["status-website"].hideNavTitle&&function(){let e,n,s=It["status-website"].name+"";return{c(){e=w("div"),n=_(s)},l(t){e=C(t,"DIV",{});var r=L(e);n=H(r,s),r.forEach(b)},m(t,s){g(t,e,s),p(e,n)},p:t,d(t){t&&b(e)}}}();return{c(){n=w("div"),s=w("a"),a&&a.c(),r=$(),o&&o.c(),this.h()},l(t){n=C(t,"DIV",{});var e=L(n);s=C(e,"A",{href:!0,class:!0});var i=L(s);a&&a.l(i),r=M(i),o&&o.l(i),i.forEach(b),e.forEach(b),this.h()},h(){x(s,"href",It["status-website"].logoHref||It.path),x(s,"class","logo svelte-a08hsz")},m(t,e){g(t,n,e),p(n,s),a&&a.m(s,null),p(s,r),o&&o.m(s,null)},p(t,e){It["status-website"]&&!It["status-website"].hideNavLogo&&a.p(t,e),It["status-website"]&&!It["status-website"].hideNavTitle&&o.p(t,e)},d(t){t&&b(n),a&&a.d(),o&&o.d()}}}function Ct(t){let e,n,s,r,a,o=t[1].title+"";return{c(){e=w("li"),n=w("a"),s=_(o),a=$(),this.h()},l(t){e=C(t,"LI",{});var r=L(e);n=C(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var i=L(n);s=H(i,o),i.forEach(b),a=M(r),r.forEach(b),this.h()},h(){x(n,"aria-current",r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0),x(n,"href",t[1].href.replace("$OWNER",It.owner).replace("$REPO",It.repo)),x(n,"target",t[1].target||"_self"),x(n,"class","svelte-a08hsz")},m(t,r){g(t,e,r),p(e,n),p(n,s),p(e,a)},p(t,e){1&e&&r!==(r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0)&&x(n,"aria-current",r)},d(t){t&&b(e)}}}function Ot(e){let n,s,r,a,o,i=It["status-website"]&&It["status-website"].logoUrl&&Rt(),c=It["status-website"]&&It["status-website"].navbar&&function(t){let e,n=It["status-website"].navbar,s=[];for(let e=0;e<n.length;e+=1)s[e]=Ct(kt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);g(t,e,n)},p(t,r){if(1&r){let a;for(n=It["status-website"].navbar,a=0;a<n.length;a+=1){const o=kt(t,n,a);s[a]?s[a].p(o,r):(s[a]=Ct(o),s[a].c(),s[a].m(e.parentNode,e))}for(;a<s.length;a+=1)s[a].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),l=It["status-website"]&&It["status-website"].navbarGitHub&&!It["status-website"].navbar&&function(){let e,n,s,r=It.i18n.navGitHub+"";return{c(){e=w("li"),n=w("a"),s=_(r),this.h()},l(t){e=C(t,"LI",{});var a=L(e);n=C(a,"A",{href:!0,class:!0});var o=L(n);s=H(o,r),o.forEach(b),a.forEach(b),this.h()},h(){x(n,"href","https://github.com/".concat(It.owner,"/").concat(It.repo)),x(n,"class","svelte-a08hsz")},m(t,r){g(t,e,r),p(e,n),p(n,s)},p:t,d(t){t&&b(e)}}}();return{c(){n=w("nav"),s=w("div"),i&&i.c(),r=$(),a=w("ul"),c&&c.c(),o=$(),l&&l.c(),this.h()},l(t){n=C(t,"NAV",{class:!0});var e=L(n);s=C(e,"DIV",{class:!0});var u=L(s);i&&i.l(u),r=M(u),a=C(u,"UL",{class:!0});var d=L(a);c&&c.l(d),o=M(d),l&&l.l(d),d.forEach(b),u.forEach(b),e.forEach(b),this.h()},h(){x(a,"class","svelte-a08hsz"),x(s,"class","container svelte-a08hsz"),x(n,"class","svelte-a08hsz")},m(t,e){g(t,n,e),p(n,s),i&&i.m(s,null),p(s,r),p(s,a),c&&c.m(a,null),p(a,o),l&&l.m(a,null)},p(t,e){let[n]=e;It["status-website"]&&It["status-website"].logoUrl&&i.p(t,n),It["status-website"]&&It["status-website"].navbar&&c.p(t,n),It["status-website"]&&It["status-website"].navbarGitHub&&!It["status-website"].navbar&&l.p(t,n)},i:t,o:t,d(t){t&&b(n),i&&i.d(),c&&c.d(),l&&l.d()}}}function Ht(t,e,n){let{segment:s}=e;return t.$$set=t=>{"segment"in t&&n(0,s=t.segment)},[s]}class Mt extends At{constructor(t){super(),xt(this,t,Ht,Ot,o,{segment:0})}}var Ut={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Dt(t){return t.replace(RegExp("^"+(t.match(/^(\t| )+/)||"")[0],"gm"),"")}function jt(t){return(t+"").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Gt(t,e){var n,s,r,a,o,i=/((?:^|\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||{},d=0;function f(t){var e=Ut[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+=f(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=i.exec(t);)s=t.substring(d,r.index),d=i.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((o=r[3]||r[4])?n='<pre class="code '+(r[4]?"poetry":r[2].toLowerCase())+'"><code'+(r[2]?' class="language-'+r[2].toLowerCase()+'"':"")+">"+Dt(jt(o).replace(/^\n+|\n+$/g,""))+"</code></pre>":(o=r[6])?(o.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),a=Gt(Dt(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==o?o="blockquote":(o=o.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+o+">"+a+"</"+o+">"):r[8]?n='<img src="'+jt(r[8])+'" alt="'+jt(r[7])+'">':r[10]?(l=l.replace("<a>",'<a href="'+jt(r[11]||u[s.toLowerCase()])+'">'),n=h()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(o="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+Gt(r[12]||r[15],u)+"</"+o+">":r[16]?n="<code>"+jt(r[16])+"</code>":(r[17]||r[1])&&(n=f(r[17]||"--"))),l+=s,l+=n;return(l+t.substring(d)+h()).replace(/^\n+|\n+$/g,"")}function qt(t,e,n){const s=t.slice();return s[3]=e[n],s}function Bt(t,e,n){const s=t.slice();return s[3]=e[n],s}function zt(t,e,n){const s=t.slice();return s[8]=e[n],s}function Kt(e){let n,s,r,a,o,i;return{c(){n=w("script"),s=_("// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '<link rel=\"stylesheet\" href={`${config.path}/themes/light.css`} onload=\"document.documentElement.style.display = \\'\\'\">',\n );\n }"),r=$(),a=w("link"),o=$(),i=w("link"),this.h()},l(t){n=C(t,"SCRIPT",{});var e=L(n);s=H(e,"// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '<link rel=\"stylesheet\" href={`${config.path}/themes/light.css`} onload=\"document.documentElement.style.display = \\'\\'\">',\n );\n }"),e.forEach(b),r=M(t),a=C(t,"LINK",{rel:!0,href:!0,media:!0}),o=M(t),i=C(t,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){x(a,"rel","stylesheet"),x(a,"href","".concat(It.path,"/themes/light.css")),x(a,"media","(prefers-color-scheme: light)"),x(i,"rel","stylesheet"),x(i,"href","".concat(It.path,"/themes/dark.css")),x(i,"media","(prefers-color-scheme: dark)")},m(t,e){g(t,n,e),p(n,s),g(t,r,e),g(t,a,e),g(t,o,e),g(t,i,e)},p:t,d(t){t&&b(n),t&&b(r),t&&b(a),t&&b(o),t&&b(i)}}}function Wt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=C(t,"LINK",{rel:!0,href:!0}),this.h()},h(){x(n,"rel","stylesheet"),x(n,"href","".concat(It.path,"/themes/").concat(It["status-website"].theme,".css"))},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Jt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=C(t,"LINK",{rel:!0,href:!0}),this.h()},h(){x(n,"rel","stylesheet"),x(n,"href",(It["status-website"]||{}).themeUrl)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Vt(e){let n,s;return{c(){n=w("script"),this.h()},l(t){n=C(t,"SCRIPT",{src:!0}),L(n).forEach(b),this.h()},h(){c(n.src,s=e[8].src)||x(n,"src",s),n.async=!!e[8].async,n.defer=!!e[8].async},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Yt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=C(t,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){x(n,"rel",e[3].rel),x(n,"href",e[3].href),x(n,"media",e[3].media)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Ft(e){let n;return{c(){n=w("meta"),this.h()},l(t){n=C(t,"META",{name:!0,content:!0}),this.h()},h(){x(n,"name",e[3].name),x(n,"content",e[3].content)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Xt(e){let n,s,r,a,o,i,c,u,d,f,h,m,y,_,S,T,A,P,N=Gt(It.i18n.footer.replace(/\$REPO/,"https://github.com/".concat(It.owner,"/").concat(It.repo)))+"",I=(It["status-website"]||{}).customHeadHtml&&function(){let e,n,s=(It["status-website"]||{}).customHeadHtml+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=D(t,!1),n=E(),this.h()},h(){e.a=n},m(t,r){e.m(s,t,r),g(t,n,r)},p:t,d(t){t&&b(n),t&&e.d()}}}();let k=((It["status-website"]||{}).themeUrl?Jt:(It["status-website"]||{}).theme?Wt:Kt)(e),R=(It["status-website"]||{}).scripts&&function(t){let e,n=(It["status-website"]||{}).scripts,s=[];for(let e=0;e<n.length;e+=1)s[e]=Vt(zt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let a;for(n=(It["status-website"]||{}).scripts,a=0;a<n.length;a+=1){const o=zt(t,n,a);s[a]?s[a].p(o,r):(s[a]=Vt(o),s[a].c(),s[a].m(e.parentNode,e))}for(;a<s.length;a+=1)s[a].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),O=(It["status-website"]||{}).links&&function(t){let e,n=(It["status-website"]||{}).links,s=[];for(let e=0;e<n.length;e+=1)s[e]=Yt(Bt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let a;for(n=(It["status-website"]||{}).links,a=0;a<n.length;a+=1){const o=Bt(t,n,a);s[a]?s[a].p(o,r):(s[a]=Yt(o),s[a].c(),s[a].m(e.parentNode,e))}for(;a<s.length;a+=1)s[a].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),H=(It["status-website"]||{}).metaTags&&function(t){let e,n=(It["status-website"]||{}).metaTags,s=[];for(let e=0;e<n.length;e+=1)s[e]=Ft(qt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let a;for(n=(It["status-website"]||{}).metaTags,a=0;a<n.length;a+=1){const o=qt(t,n,a);s[a]?s[a].p(o,r):(s[a]=Ft(o),s[a].c(),s[a].m(e.parentNode,e))}for(;a<s.length;a+=1)s[a].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),U=It["status-website"].css&&function(){let e,n,s="<style>".concat(It["status-website"].css,"</style>")+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=D(t,!1),n=E(),this.h()},h(){e.a=n},m(t,r){e.m(s,t,r),g(t,n,r)},p:t,d(t){t&&b(n),t&&e.d()}}}(),j=It["status-website"].js&&function(){let e,n,s="<script>".concat(It["status-website"].js,"<\/script>")+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=D(t,!1),n=E(),this.h()},h(){e.a=n},m(t,r){e.m(s,t,r),g(t,n,r)},p:t,d(t){t&&b(n),t&&e.d()}}}(),G=(It["status-website"]||{}).customBodyHtml&&function(){let e,n,s=(It["status-website"]||{}).customBodyHtml+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=D(t,!1),n=E(),this.h()},h(){e.a=n},m(t,r){e.m(s,t,r),g(t,n,r)},p:t,d(t){t&&b(n),t&&e.d()}}}();m=new Mt({props:{segment:e[0]}});const q=e[2].default,B=function(t,e,n,s){if(t){const r=l(t,e,n,s);return t[0](r)}}(q,e,e[1],null);return{c(){I&&I.c(),n=E(),k.c(),s=w("link"),r=w("link"),a=w("link"),R&&R.c(),o=E(),O&&O.c(),i=E(),H&&H.c(),c=E(),U&&U.c(),u=E(),j&&j.c(),d=E(),f=$(),G&&G.c(),h=$(),_t(m.$$.fragment),y=$(),_=w("main"),B&&B.c(),S=$(),T=w("footer"),A=w("p"),this.h()},l(t){const e=J("svelte-z1n8lm",document.head);I&&I.l(e),n=E(),k.l(e),s=C(e,"LINK",{rel:!0,href:!0}),r=C(e,"LINK",{rel:!0,type:!0,href:!0}),a=C(e,"LINK",{rel:!0,type:!0,href:!0}),R&&R.l(e),o=E(),O&&O.l(e),i=E(),H&&H.l(e),c=E(),U&&U.l(e),u=E(),j&&j.l(e),d=E(),e.forEach(b),f=M(t),G&&G.l(t),h=M(t),$t(m.$$.fragment,t),y=M(t),_=C(t,"MAIN",{class:!0});var l=L(_);B&&B.l(l),l.forEach(b),S=M(t),T=C(t,"FOOTER",{class:!0});var p=L(T);A=C(p,"P",{}),L(A).forEach(b),p.forEach(b),this.h()},h(){x(s,"rel","stylesheet"),x(s,"href","".concat(It.path,"/global.css")),x(r,"rel","icon"),x(r,"type","image/svg"),x(r,"href",(It["status-website"]||{}).faviconSvg||(It["status-website"]||{}).favicon||"https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg"),x(a,"rel","icon"),x(a,"type","image/png"),x(a,"href",(It["status-website"]||{}).favicon||"/logo-192.png"),x(_,"class","container"),x(T,"class","svelte-jbr799")},m(t,e){I&&I.m(document.head,null),p(document.head,n),k.m(document.head,null),p(document.head,s),p(document.head,r),p(document.head,a),R&&R.m(document.head,null),p(document.head,o),O&&O.m(document.head,null),p(document.head,i),H&&H.m(document.head,null),p(document.head,c),U&&U.m(document.head,null),p(document.head,u),j&&j.m(document.head,null),p(document.head,d),g(t,f,e),G&&G.m(t,e),g(t,h,e),Et(m,t,e),g(t,y,e),g(t,_,e),B&&B.m(_,null),g(t,S,e),g(t,T,e),p(T,A),A.innerHTML=N,P=!0},p(t,e){let[n]=e;(It["status-website"]||{}).customHeadHtml&&I.p(t,n),k.p(t,n),(It["status-website"]||{}).scripts&&R.p(t,n),(It["status-website"]||{}).links&&O.p(t,n),(It["status-website"]||{}).metaTags&&H.p(t,n),It["status-website"].css&&U.p(t,n),It["status-website"].js&&j.p(t,n),(It["status-website"]||{}).customBodyHtml&&G.p(t,n);const s={};1&n&&(s.segment=t[0]),m.$set(s),B&&B.p&&(!P||2&n)&&function(t,e,n,s,r,a){if(r){const o=l(e,n,s,a);t.p(o,r)}}(B,q,t,t[1],P?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}(q,t[1],n,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){P||(bt(m.$$.fragment,t),bt(B,t),P=!0)},o(t){vt(m.$$.fragment,t),vt(B,t),P=!1},d(t){I&&I.d(t),b(n),k.d(t),b(s),b(r),b(a),R&&R.d(t),b(o),O&&O.d(t),b(i),H&&H.d(t),b(c),U&&U.d(t),b(u),j&&j.d(t),b(d),t&&b(f),G&&G.d(t),t&&b(h),St(m,t),t&&b(y),t&&b(_),B&&B.d(t),t&&b(S),t&&b(T)}}}function Qt(t,e,n){let{$$slots:s={},$$scope:r}=e,{segment:a}=e;return t.$$set=t=>{"segment"in t&&n(0,a=t.segment),"$$scope"in t&&n(1,r=t.$$scope)},[a,r,s]}class Zt extends At{constructor(t){super(),xt(this,t,Qt,Xt,o,{segment:0})}}function te(t){let e,n,s=t[1].stack+"";return{c(){e=w("pre"),n=_(s)},l(t){e=C(t,"PRE",{});var r=L(e);n=H(r,s),r.forEach(b)},m(t,s){g(t,e,s),p(e,n)},p(t,e){2&e&&s!==(s=t[1].stack+"")&&j(n,s)},d(t){t&&b(e)}}}function ee(e){let n,s,r,a,o,i,c,l,u,d=e[1].message+"";document.title=n=e[0];let f=e[2]&&e[1].stack&&te(e);return{c(){s=$(),r=w("h1"),a=_(e[0]),o=$(),i=w("p"),c=_(d),l=$(),f&&f.c(),u=E(),this.h()},l(t){J("svelte-1moakz",document.head).forEach(b),s=M(t),r=C(t,"H1",{class:!0});var n=L(r);a=H(n,e[0]),n.forEach(b),o=M(t),i=C(t,"P",{class:!0});var h=L(i);c=H(h,d),h.forEach(b),l=M(t),f&&f.l(t),u=E(),this.h()},h(){x(r,"class","svelte-17w3omn"),x(i,"class","svelte-17w3omn")},m(t,e){g(t,s,e),g(t,r,e),p(r,a),g(t,o,e),g(t,i,e),p(i,c),g(t,l,e),f&&f.m(t,e),g(t,u,e)},p(t,e){let[s]=e;1&s&&n!==(n=t[0])&&(document.title=n),1&s&&j(a,t[0]),2&s&&d!==(d=t[1].message+"")&&j(c,d),t[2]&&t[1].stack?f?f.p(t,s):(f=te(t),f.c(),f.m(u.parentNode,u)):f&&(f.d(1),f=null)},i:t,o:t,d(t){t&&b(s),t&&b(r),t&&b(o),t&&b(i),t&&b(l),f&&f.d(t),t&&b(u)}}}function ne(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 se extends At{constructor(t){super(),xt(this,t,ne,ee,o,{status:0,error:1})}}function re(t){let n,s,r;const a=[t[4].props];var o=t[4].component;function i(t){let n={};for(let t=0;t<a.length;t+=1)n=e(n,a[t]);return{props:n}}return o&&(n=F(o,i())),{c(){n&&_t(n.$$.fragment),s=E()},l(t){n&&$t(n.$$.fragment,t),s=E()},m(t,e){n&&Et(n,t,e),g(t,s,e),r=!0},p(t,e){const r=16&e?wt(a,[yt(t[4].props)]):{};if(16&e&&o!==(o=t[4].component)){if(n){mt();const t=n;vt(t.$$.fragment,1,0,()=>{St(t,1)}),gt()}o?(n=F(o,i()),_t(n.$$.fragment),bt(n.$$.fragment,1),Et(n,s.parentNode,s)):n=null}else o&&n.$set(r)},i(t){r||(n&&bt(n.$$.fragment,t),r=!0)},o(t){n&&vt(n.$$.fragment,t),r=!1},d(t){t&&b(s),n&&St(n,t)}}}function ae(t){let e,n;return e=new se({props:{error:t[0],status:t[1]}}),{c(){_t(e.$$.fragment)},l(t){$t(e.$$.fragment,t)},m(t,s){Et(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||(bt(e.$$.fragment,t),n=!0)},o(t){vt(e.$$.fragment,t),n=!1},d(t){St(e,t)}}}function oe(t){let e,n,s,r;const a=[ae,re],o=[];function i(t,e){return t[0]?0:1}return e=i(t),n=o[e]=a[e](t),{c(){n.c(),s=E()},l(t){n.l(t),s=E()},m(t,n){o[e].m(t,n),g(t,s,n),r=!0},p(t,r){let c=e;e=i(t),e===c?o[e].p(t,r):(mt(),vt(o[c],1,1,()=>{o[c]=null}),gt(),n=o[e],n?n.p(t,r):(n=o[e]=a[e](t),n.c()),bt(n,1),n.m(s.parentNode,s))},i(t){r||(bt(n),r=!0)},o(t){vt(n),r=!1},d(t){o[e].d(t),t&&b(s)}}}function ie(t){let n,s;const r=[{segment:t[2][0]},t[3].props];let a={$$slots:{default:[oe]},$$scope:{ctx:t}};for(let t=0;t<r.length;t+=1)a=e(a,r[t]);return n=new Zt({props:a}),{c(){_t(n.$$.fragment)},l(t){$t(n.$$.fragment,t)},m(t,e){Et(n,t,e),s=!0},p(t,e){let[s]=e;const a=12&s?wt(r,[4&s&&{segment:t[2][0]},8&s&&yt(t[3].props)]):{};147&s&&(a.$$scope={dirty:s,ctx:t}),n.$set(a)},i(t){s||(bt(n.$$.fragment,t),s=!0)},o(t){vt(n.$$.fragment,t),s=!1},d(t){St(n,t)}}}function ce(t,e,n){let{stores:s}=e,{error:r}=e,{status:a}=e,{segments:o}=e,{level0:i}=e,{level1:c=null}=e,{notify:l}=e;var u,d;return tt(l),u=Lt,d=s,Q().$$.context.set(u,d),t.$$set=t=>{"stores"in t&&n(5,s=t.stores),"error"in t&&n(0,r=t.error),"status"in t&&n(1,a=t.status),"segments"in t&&n(2,o=t.segments),"level0"in t&&n(3,i=t.level0),"level1"in t&&n(4,c=t.level1),"notify"in t&&n(6,l=t.notify)},[r,a,o,i,c,s,l]}class le extends At{constructor(t){super(),xt(this,t,ce,ie,o,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const ue=[],de=[{js:()=>Promise.all([import("./index.43ca1580.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","index-b0b6455a.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./rate-limit-exceeded.25888620.js"),__inject_styles(["client-31a52aa5.css","rate-limit-exceeded-88af4d80.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./_number_.1fb5fecb.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-d4d16748.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./_number_.21f02a5d.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-971b332f.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./error.78879764.js"),__inject_styles(["client-31a52aa5.css","error-37eeedae.css"])]).then(function(t){return t[0]})}],fe=(he=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:t=>({number:he(t[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:t=>({number:he(t[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var he;
|
|
/*! *****************************************************************************
|
|
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 pe(t,e,n,s){return new(n||(n=Promise))(function(r,a){function o(t){try{c(s.next(t))}catch(t){a(t)}}function i(t){try{c(s.throw(t))}catch(t){a(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(o,i)}c((s=s.apply(t,e||[])).next())})}function me(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let ge,be=1;const ve="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},we={};let ye,_e;const $e=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]});function Ee(t){const e=Object.create(null);return t.length?$e(t).reduce((t,e)=>{let[n,s]=e;return"string"==typeof t[n]&&(t[n]=[t[n]]),"object"==typeof t[n]?t[n].push(s):t[n]=s,t},e):e}function Se(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(ye))return null;let e=t.pathname.slice(ye.length);if(""===e&&(e="/"),!ue.some(t=>t.test(e)))for(let n=0;n<fe.length;n+=1){const s=fe[n],r=s.pattern.exec(e);if(r){const n=Ee(t.search),a=s.parts[s.parts.length-1],o=a.params?a.params(r):{},i={host:location.host,path:e,query:n,params:o};return{href:t.href,route:s,match:r,page:i}}}}function Te(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=me(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 a=Se(r);if(a){Pe(a,null,e.hasAttribute("sapper:noscroll"),r.hash),t.preventDefault(),ve.pushState({id:ge},"",r.href)}}function xe(){return{x:pageXOffset,y:pageYOffset}}function Ae(t){if(we[ge]=xe(),t.state){const e=Se(new URL(location.href));e?Pe(e,t.state.id):location.href=location.href}else!function(t){be=t}(be+1),function(t){ge=t}(be),ve.replaceState({id:ge},"",location.href)}function Pe(t,e,n,s){return pe(this,void 0,void 0,function*(){const r=!!e;if(r)ge=e;else{const t=xe();we[ge]=t,ge=e=++be,we[ge]=n?t:{x:0,y:0}}if(yield _e(t),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let t,n=we[e];s&&(t=document.getElementById(s.slice(1)),t&&(n={x:0,y:t.getBoundingClientRect().top+scrollY})),we[ge]=n,n&&(r||t)?scrollTo(n.x,n.y):scrollTo(0,0)}})}function Ne(t){let e=t.baseURI;if(!e){const n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}let Le,Ie=null;function ke(t){const e=me(t.target);e&&e.hasAttribute("sapper:prefetch")&&function(t){const e=Se(new URL(t,Ne(document)));if(e)Ie&&t===Ie.href||(Ie={href:t,promise:Fe(e)}),Ie.promise}(e.href)}function Re(t){clearTimeout(Le),Le=setTimeout(()=>{ke(t)},20)}function Ce(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1};const n=Se(new URL(t,Ne(document)));if(n){const s=Pe(n,null,e.noscroll);return ve[e.replaceState?"replaceState":"pushState"]({id:ge},"",t),s}return location.href=t,new Promise(()=>{})}const Oe="undefined"!=typeof __SAPPER__&&__SAPPER__;let He,Me,Ue,De=!1,je=[],Ge="{}";const qe={page:function(t){const e=Nt(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:Nt(null),session:Nt(Oe&&Oe.session)};let Be,ze,Ke;function We(t){var e,n;return e=t.target,Ke=e,n=Oe.baseUrl,ye=n,_e=Ve,"scrollRestoration"in ve&&(ve.scrollRestoration="manual"),addEventListener("beforeunload",()=>{ve.scrollRestoration="auto"}),addEventListener("load",()=>{ve.scrollRestoration="manual"}),addEventListener("click",Te),addEventListener("popstate",Ae),addEventListener("touchstart",ke),addEventListener("mousemove",Re),Oe.error?Promise.resolve().then(()=>function(){const{host:t,pathname:e,search:n}=location,{session:s,preloaded:r,status:a,error:o}=Oe;Ue||(Ue=r&&r[0]);const i={error:o,status:a,session:s,level0:{props:Ue},level1:{props:{status:a,error:o},component:se},segments:r},c=Ee(n);Ye([],i,{host:t,path:e,query:c,params:{},error:o})}()):Promise.resolve().then(()=>{const{hash:t,href:e}=location;ve.replaceState({id:be},"",e);const n=Se(new URL(location.href));if(n)return Pe(n,be,!0,t)})}function Je(t,e){const{error:n}=t;return Object.assign({error:n},e)}function Ve(t){return pe(this,void 0,void 0,function*(){He&&qe.preloading.set(!0);const e=function(t){return Ie&&Ie.href===t.href?Ie.promise:Fe(t)}(t),n=Me={},s=yield e,{redirect:r}=s;if(n===Me)if(r)yield Ce(r.location,{replaceState:!0});else{const{props:e,branch:n}=s;yield Ye(n,e,Je(e,t.page))}})}function Ye(t,e,n){return pe(this,void 0,void 0,function*(){qe.page.set(n),qe.preloading.set(!1),He?He.$set(e):(e.stores={page:{subscribe:qe.page.subscribe},preloading:{subscribe:qe.preloading.subscribe},session:qe.session},e.level0={props:yield Ue},e.notify=qe.page.notify,He=new le({target:Ke,props:e,hydrate:!0})),je=t,Ge=JSON.stringify(n.query),De=!0,ze=!1})}function Fe(t){return pe(this,void 0,void 0,function*(){const{route:e,page:n}=t,s=n.path.split("/").filter(Boolean);let r=null;const a={error:null,status:200,segments:[s[0]]},o={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)=>{a.error="string"==typeof e?new Error(e):e,a.status=t}};if(!Ue){const t=()=>({});Ue=Oe.preloaded[0]||t.call(o,{host:n.host,path:n.path,query:n.query,params:{}},Be)}let i,c=1;try{const r=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;i=yield Promise.all(e.parts.map((e,i)=>pe(this,void 0,void 0,function*(){const d=s[i];if(function(t,e,n,s){if(s!==Ge)return!0;const r=je[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)}(i,d,l,r)&&(u=!0),a.segments[c]=s[i+1],!e)return{segment:d};const f=c++;let h;if(ze||u||!je[i]||je[i].part!==e.i){u=!1;const{default:s,preload:r}=yield de[e.i].js();let a;a=De||!Oe.preloaded[i+1]?r?yield r.call(o,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},Be):{}:Oe.preloaded[i+1],h={component:s,props:a,segment:d,match:l,part:e.i}}else h=je[i];return a["level".concat(f)]=h})))}catch(t){a.error=t,a.status=500,i=[]}return{redirect:r,props:a,branch:i}})}qe.session.subscribe(t=>pe(void 0,void 0,void 0,function*(){if(Be=t,!De)return;ze=!0;const e=Se(new URL(location.href)),n=Me={},{redirect:s,props:r,branch:a}=yield Fe(e);n===Me&&(s?yield Ce(s.location,{replaceState:!0}):yield Ye(a,r,Je(r,e.page)))})),"loading"!==document.readyState?We({target:document.querySelector("#sapper")}):document.addEventListener("DOMContentLoaded",function(){We({target:document.querySelector("#sapper")})});export{j as A,N as B,S as C,r as D,st as E,D as F,c as G,Y as H,d as I,q as J,J as K,Gt as L,y as M,O as N,Ce as O,G as P,T as Q,e as R,At as S,P as T,tt as U,et as V,u as W,wt as X,yt as Y,ct as Z,W as _,$ as a,C as b,M as c,L as d,w as e,b as f,x as g,g as h,xt as i,mt as j,gt as k,bt as l,_ as m,H as n,Z as o,p,t as q,It as r,o as s,vt as t,E as u,v,_t as w,$t as x,Et as y,St as z};
|
|
|
|
import __inject_styles from './inject_styles.099149d9.js'; |