mirror of
https://github.com/TeamPiped/piped-uptime.git
synced 2024-12-06 20:00:11 +01:00
18 lines
42 KiB
JavaScript
18 lines
42 KiB
JavaScript
function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function s(){return Object.create(null)}function r(e){e.forEach(n)}function o(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let a;function c(e,t){return a||(a=document.createElement("a")),a.href=t,e===a.href}function l(e,n,s,r){return e[1]&&r?t(s.ctx.slice(),e[1](r(n))):s.ctx}function u(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function h(e){return null==e?"":e}let d,f,p=!1;function m(e,t,n,s){for(;e<t;){const r=e+(t-e>>1);n(r)<=s?e=r+1:t=r}return e}function g(e,t){if(p){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n<t.length;n++){const s=t[n];void 0!==s.claim_order&&e.push(s)}t=e}const n=new Int32Array(t.length+1),s=new Int32Array(t.length);n[0]=-1;let r=0;for(let e=0;e<t.length;e++){const o=t[e].claim_order,i=(r>0&&t[n[r]].claim_order<=o?r+1:m(1,r,(e=>t[n[e]].claim_order),o))-1;s[e]=n[i]+1;const a=i+1;n[a]=e,r=Math.max(a,r)}const o=[],i=[];let a=t.length-1;for(let e=n[r]+1;0!=e;e=s[e-1]){for(o.push(t[e-1]);a>=e;a--)i.push(t[a]);a--}for(;a>=0;a--)i.push(t[a]);o.reverse(),i.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t<i.length;t++){for(;n<o.length&&i[t].claim_order>=o[n].claim_order;)n++;const s=n<o.length?o[n]:null;e.insertBefore(i[t],s)}}(e),(void 0===e.actual_end_child||null!==e.actual_end_child&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);null!==e.actual_end_child&&void 0===e.actual_end_child.claim_order;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?void 0===t.claim_order&&t.parentNode===e||e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else t.parentNode===e&&null===t.nextSibling||e.appendChild(t)}function b(e,t,n){e.insertBefore(t,n||null)}function v(e,t,n){p&&!n?g(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function w(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function $(e){return document.createElement(e)}function _(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function x(){return E(" ")}function k(){return E("")}function T(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function S(e){return function(t){return t.preventDefault(),e.call(this,t)}}function A(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function N(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const s in t)null==t[s]?e.removeAttribute(s):"style"===s?e.style.cssText=t[s]:"__value"===s?e.value=e[s]=t[s]:n[s]&&n[s].set?e[s]=t[s]:A(e,s,t[s])}function P(e){let t;return{p(...n){t=n,t.forEach((t=>e.push(t)))},r(){t.forEach((t=>e.splice(e.indexOf(t),1)))}}}function I(e){return Array.from(e.childNodes)}function L(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function R(e,t,n,s,r=!1){L(e);const o=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const o=e[s];if(t(o)){const t=n(o);return void 0===t?e.splice(s,1):e[s]=t,r||(e.claim_info.last_index=s),o}}for(let s=e.claim_info.last_index-1;s>=0;s--){const o=e[s];if(t(o)){const t=n(o);return void 0===t?e.splice(s,1):e[s]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=s,o}}return s()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function O(e,t,n,s){return R(e,(e=>e.nodeName===t),(e=>{const t=[];for(let s=0;s<e.attributes.length;s++){const r=e.attributes[s];n[r.name]||t.push(r.name)}t.forEach((t=>e.removeAttribute(t)))}),(()=>s(t)))}function j(e,t,n){return O(e,t,n,$)}function H(e,t,n){return O(e,t,n,_)}function C(e,t){return R(e,(e=>3===e.nodeType),(e=>{const n=""+t;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n}),(()=>E(t)),!0)}function M(e){return C(e," ")}function U(e,t,n){for(let s=n;s<e.length;s+=1){const n=e[s];if(8===n.nodeType&&n.textContent.trim()===t)return s}return e.length}function D(e,t){const n=U(e,"HTML_TAG_START",0),s=U(e,"HTML_TAG_END",n);if(n===s)return new W(void 0,t);L(e);const r=e.splice(n,s-n+1);y(r[0]),y(r[r.length-1]);const o=r.slice(1,r.length-1);for(const t of o)t.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new W(o,t)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}function G(e,t){e.value=null==t?"":t}function q(e,t,n,s){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,s?"important":"")}function B(){if(void 0===d){d=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){d=!0}}return d}function K(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=$("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=B();let r;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=T(window,"message",(e=>{e.source===n.contentWindow&&t()}))):(n.src="about:blank",n.onload=()=>{r=T(n.contentWindow,"resize",t),t()}),function(e,t){e.appendChild(t)}(e,n),()=>{(s||r&&n.contentWindow)&&r(),y(n)}}function J(e,t){const n=[];let s=0;for(const r of t.childNodes)if(8===r.nodeType){const t=r.textContent.trim();t===`HEAD_${e}_END`?(s-=1,n.push(r)):t===`HEAD_${e}_START`&&(s+=1,n.push(r))}else s>0&&n.push(r);return n}class V{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=_(t.nodeName):this.e=$(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)b(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(y)}}class W extends V{constructor(e,t=!1){super(t),this.e=this.n=null,this.l=e}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let t=0;t<this.n.length;t+=1)v(this.t,this.n[t],e)}}function Y(e,t){return new e(t)}function F(e){f=e}function X(){if(!f)throw new Error("Function called outside component initialization");return f}function Q(e){X().$$.on_mount.push(e)}function Z(e){X().$$.after_update.push(e)}function ee(e){X().$$.on_destroy.push(e)}const te=[],ne=[];let se=[];const re=[],oe=Promise.resolve();let ie=!1;function ae(e){se.push(e)}const ce=new Set;let le=0;function ue(){if(0!==le)return;const e=f;do{try{for(;le<te.length;){const e=te[le];le++,F(e),he(e.$$)}}catch(e){throw te.length=0,le=0,e}for(F(null),te.length=0,le=0;ne.length;)ne.pop()();for(let e=0;e<se.length;e+=1){const t=se[e];ce.has(t)||(ce.add(t),t())}se.length=0}while(te.length);for(;re.length;)re.pop()();ie=!1,ce.clear(),F(e)}function he(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ae)}}const de=new Set;let fe;function pe(){fe={r:0,c:[],p:fe}}function me(){fe.r||r(fe.c),fe=fe.p}function ge(e,t){e&&e.i&&(de.delete(e),e.i(t))}function be(e,t,n,s){if(e&&e.o){if(de.has(e))return;de.add(e),fe.c.push((()=>{de.delete(e),s&&(n&&e.d(1),s())})),e.o(t)}else s&&s()}function ve(e,t){const n={},s={},r={$$scope:1};let o=e.length;for(;o--;){const i=e[o],a=t[o];if(a){for(const e in i)e in a||(s[e]=1);for(const e in a)r[e]||(n[e]=a[e],r[e]=1);e[o]=a}else for(const e in i)r[e]=1}for(const e in s)e in n||(n[e]=void 0);return n}function ye(e){return"object"==typeof e&&null!==e?e:{}}function we(e){e&&e.c()}function $e(e,t){e&&e.l(t)}function _e(e,t,s,i){const{fragment:a,after_update:c}=e.$$;a&&a.m(t,s),i||ae((()=>{const t=e.$$.on_mount.map(n).filter(o);e.$$.on_destroy?e.$$.on_destroy.push(...t):r(t),e.$$.on_mount=[]})),c.forEach(ae)}function Ee(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];se.forEach((s=>-1===e.indexOf(s)?t.push(s):n.push(s))),n.forEach((e=>e())),se=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function xe(e,t){-1===e.$$.dirty[0]&&(te.push(e),ie||(ie=!0,oe.then(ue)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ke(t,n,o,i,a,c,l,u=[-1]){const h=f;F(t);const d=t.$$={fragment:null,ctx:[],props:c,update:e,not_equal:a,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:s(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};l&&l(d.root);let m=!1;if(d.ctx=o?o(t,n.props||{},((e,n,...s)=>{const r=s.length?s[0]:n;return d.ctx&&a(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),m&&xe(t,e)),n})):[],d.update(),m=!0,r(d.before_update),d.fragment=!!i&&i(d.ctx),n.target){if(n.hydrate){p=!0;const e=I(n.target);d.fragment&&d.fragment.l(e),e.forEach(y)}else d.fragment&&d.fragment.c();n.intro&&ge(t.$$.fragment),_e(t,n.target,n.anchor,n.customElement),p=!1,ue()}F(h)}class Te{$destroy(){Ee(this,1),this.$destroy=e}$on(t,n){if(!o(n))return e;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const e=s.indexOf(n);-1!==e&&s.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Se=[];function Ae(t,n=e){let s;const r=new Set;function o(e){if(i(t,e)&&(t=e,s)){const e=!Se.length;for(const e of r)e[1](),Se.push(e,t);if(e){for(let e=0;e<Se.length;e+=2)Se[e][0](Se[e+1]);Se.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(i,a=e){const c=[i,a];return r.add(c),1===r.size&&(s=n(o)||e),i(t),()=>{r.delete(c),0===r.size&&s&&(s(),s=null)}}}}const Ne={};var Pe={owner:"TeamPiped",repo:"piped-uptime",sites:[{name:"kavin.rocks (Official)",url:"https://pipedapi.kavin.rocks/healthcheck"},{name:"tokhmi.xyz",url:"https://pipedapi.tokhmi.xyz/healthcheck"},{name:"moomoo.me",url:"https://pipedapi.moomoo.me/healthcheck"},{name:"syncpundit.io",url:"https://pipedapi.syncpundit.io/healthcheck"},{name:"mha.fi",url:"https://api-piped.mha.fi/healthcheck"},{name:"whatever.social",url:"https://watchapi.whatever.social/healthcheck"},{name:"garudalinux.org",url:"https://piped-api.garudalinux.org/healthcheck"},{name:"rivo.lol",url:"https://pipedapi.rivo.lol/healthcheck"},{name:"aeong.one",url:"https://pipedapi.aeong.one/healthcheck"},{name:"leptons.xyz",url:"https://pipedapi.leptons.xyz/healthcheck"},{name:"lunar.icu",url:"https://piped-api.lunar.icu/healthcheck"},{name:"dc09.ru",url:"https://ytapi.dc09.ru/healthcheck"},{name:"pfcd.me",url:"https://pipedapi.pfcd.me/healthcheck"},{name:"kavin.rocks libre (Official)",url:"https://pipedapi-libre.kavin.rocks/healthcheck"},{name:"777.tf",url:"https://api.yt.777.tf/healthcheck"},{name:"mint.lgbt",url:"https://pa.mint.lgbt/healthcheck"},{name:"il.ax",url:"https://pa.il.ax/healthcheck"},{name:"privacy.com.de",url:"https://piped-api.privacy.com.de/healthcheck"},{name:"esmailelbob.xyz",url:"https://pipedapi.esmailelbob.xyz/healthcheck"},{name:"projectsegfau.lt",url:"https://api.piped.projectsegfau.lt/healthcheck"},{name:"projectsegfau.lt in",url:"https://pipedapi.in.projectsegfau.lt/healthcheck"},{name:"projectsegfau.lt us",url:"https://pipedapi.us.projectsegfau.lt/healthcheck"},{name:"privacydev.net",url:"https://api.piped.privacydev.net/healthcheck"},{name:"palveluntarjoaja.eu",url:"https://pipedapi.palveluntarjoaja.eu/healthcheck"},{name:"plibre.com",url:"https://p.plibre.com/healthcheck"},{name:"smnz.de",url:"https://pipedapi.smnz.de/healthcheck"},{name:"adminforge.de",url:"https://pipedapi.adminforge.de/healthcheck"},{name:"qdi.fi",url:"https://pipedapi.qdi.fi/healthcheck"},{name:"hostux.net",url:"https://piped-api.hostux.net/healthcheck"},{name:"vern.cc",url:"https://pdapi.vern.cc/healthcheck"},{name:"chauvet.pro",url:"https://pipedapi.chauvet.pro/healthcheck"},{name:"berryez.xyz",url:"https://pipedapi.berryez.xyz/healthcheck"},{name:"jotoma.de",url:"https://pipedapi.jotoma.de/healthcheck"}],"status-website":{cname:"status.piped.video",introMessage:"A status page for Piped instances, with uptime and **INACCURATE** response time information.",introTitle:"Piped Instances status",logoUrl:"https://raw.githubusercontent.com/uppthttps://cdn.jsdelivr.net/gh/TeamPiped/Piped@fcea986/public/img/icons/logo.svgime/upptime.js.org/master/static/img/icon.svg",name:"Piped Instances Status",navbar:[{href:"/",title:"Status"},{href:"https://github.com/$OWNER/$REPO",title:"GitHub"}]},path:"https://status.piped.video",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"}};function Ie(e,t,n){const s=e.slice();return s[1]=t[n],s}function Le(t){let n,s,r,o=Pe["status-website"]&&!Pe["status-website"].hideNavLogo&&function(t){let n,s;return{c(){n=$("img"),this.h()},l(e){n=j(e,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){A(n,"alt",""),c(n.src,s=Pe["status-website"].logoUrl)||A(n,"src",s),A(n,"class","svelte-a08hsz")},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}(),i=Pe["status-website"]&&!Pe["status-website"].hideNavTitle&&function(t){let n,s,r=Pe["status-website"].name+"";return{c(){n=$("div"),s=E(r)},l(e){n=j(e,"DIV",{});var t=I(n);s=C(t,r),t.forEach(y)},m(e,t){v(e,n,t),g(n,s)},p:e,d(e){e&&y(n)}}}();return{c(){n=$("div"),s=$("a"),o&&o.c(),r=x(),i&&i.c(),this.h()},l(e){n=j(e,"DIV",{});var t=I(n);s=j(t,"A",{href:!0,class:!0});var a=I(s);o&&o.l(a),r=M(a),i&&i.l(a),a.forEach(y),t.forEach(y),this.h()},h(){A(s,"href",Pe["status-website"].logoHref||Pe.path),A(s,"class","logo svelte-a08hsz")},m(e,t){v(e,n,t),g(n,s),o&&o.m(s,null),g(s,r),i&&i.m(s,null)},p(e,t){Pe["status-website"]&&!Pe["status-website"].hideNavLogo&&o.p(e,t),Pe["status-website"]&&!Pe["status-website"].hideNavTitle&&i.p(e,t)},d(e){e&&y(n),o&&o.d(),i&&i.d()}}}function Re(e){let t,n,s,r,o,i=e[1].title+"";return{c(){t=$("li"),n=$("a"),s=E(i),o=x(),this.h()},l(e){t=j(e,"LI",{});var r=I(t);n=j(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var a=I(n);s=C(a,i),a.forEach(y),o=M(r),r.forEach(y),this.h()},h(){A(n,"aria-current",r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),A(n,"href",e[1].href.replace("$OWNER",Pe.owner).replace("$REPO",Pe.repo)),A(n,"target",e[1].target||"_self"),A(n,"class","svelte-a08hsz")},m(e,r){v(e,t,r),g(t,n),g(n,s),g(t,o)},p(e,t){1&t&&r!==(r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&A(n,"aria-current",r)},d(e){e&&y(t)}}}function Oe(t){let n,s,r,o,i,a=Pe["status-website"]&&Pe["status-website"].logoUrl&&Le(),c=Pe["status-website"]&&Pe["status-website"].navbar&&function(e){let t,n=Pe["status-website"].navbar,s=[];for(let t=0;t<n.length;t+=1)s[t]=Re(Ie(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);v(e,t,n)},p(e,r){if(1&r){let o;for(n=Pe["status-website"].navbar,o=0;o<n.length;o+=1){const i=Ie(e,n,o);s[o]?s[o].p(i,r):(s[o]=Re(i),s[o].c(),s[o].m(t.parentNode,t))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(e){w(s,e),e&&y(t)}}}(t),l=Pe["status-website"]&&Pe["status-website"].navbarGitHub&&!Pe["status-website"].navbar&&function(t){let n,s,r,o=Pe.i18n.navGitHub+"";return{c(){n=$("li"),s=$("a"),r=E(o),this.h()},l(e){n=j(e,"LI",{});var t=I(n);s=j(t,"A",{href:!0,class:!0});var i=I(s);r=C(i,o),i.forEach(y),t.forEach(y),this.h()},h(){A(s,"href",`https://github.com/${Pe.owner}/${Pe.repo}`),A(s,"class","svelte-a08hsz")},m(e,t){v(e,n,t),g(n,s),g(s,r)},p:e,d(e){e&&y(n)}}}();return{c(){n=$("nav"),s=$("div"),a&&a.c(),r=x(),o=$("ul"),c&&c.c(),i=x(),l&&l.c(),this.h()},l(e){n=j(e,"NAV",{class:!0});var t=I(n);s=j(t,"DIV",{class:!0});var u=I(s);a&&a.l(u),r=M(u),o=j(u,"UL",{class:!0});var h=I(o);c&&c.l(h),i=M(h),l&&l.l(h),h.forEach(y),u.forEach(y),t.forEach(y),this.h()},h(){A(o,"class","svelte-a08hsz"),A(s,"class","container svelte-a08hsz"),A(n,"class","svelte-a08hsz")},m(e,t){v(e,n,t),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(e,[t]){Pe["status-website"]&&Pe["status-website"].logoUrl&&a.p(e,t),Pe["status-website"]&&Pe["status-website"].navbar&&c.p(e,t),Pe["status-website"]&&Pe["status-website"].navbarGitHub&&!Pe["status-website"].navbar&&l.p(e,t)},i:e,o:e,d(e){e&&y(n),a&&a.d(),c&&c.d(),l&&l.d()}}}function je(e,t,n){let{segment:s}=t;return e.$$set=e=>{"segment"in e&&n(0,s=e.segment)},[s]}class He extends Te{constructor(e){super(),ke(this,e,je,Oe,i,{segment:0})}}var Ce={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Me(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function Ue(e){return(e+"").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function De(e,t){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=t||{},h=0;function d(e){var t=Ce[e[1]||""],n=c[c.length-1]==e;return t?t[1]?(n?c.pop():c.push(e),t[0|n]):t[0]:e}function f(){for(var e="";c.length;)e+=d(c[c.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(e,t,n){return u[t.toLowerCase()]=n,""})).replace(/^\n+|\n+$/g,"");r=a.exec(e);)s=e.substring(h,r.index),h=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()+'"':"")+">"+Me(Ue(i).replace(/^\n+|\n+$/g,""))+"</code></pre>":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=De(Me(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="'+Ue(r[8])+'" alt="'+Ue(r[7])+'">':r[10]?(l=l.replace("<a>",'<a href="'+Ue(r[11]||u[s.toLowerCase()])+'">'),n=f()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+De(r[12]||r[15],u)+"</"+i+">":r[16]?n="<code>"+Ue(r[16])+"</code>":(r[17]||r[1])&&(n=d(r[17]||"--"))),l+=s,l+=n;return(l+e.substring(h)+f()).replace(/^\n+|\n+$/g,"")}function ze(e,t,n){const s=e.slice();return s[3]=t[n],s}function Ge(e,t,n){const s=e.slice();return s[3]=t[n],s}function qe(e,t,n){const s=e.slice();return s[8]=t[n],s}function Be(t){let n,s,r,o,i,a;return{c(){n=$("script"),s=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 }"),r=x(),o=$("link"),i=x(),a=$("link"),this.h()},l(e){n=j(e,"SCRIPT",{});var t=I(n);s=C(t,"// 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 }"),t.forEach(y),r=M(e),o=j(e,"LINK",{rel:!0,href:!0,media:!0}),i=M(e),a=j(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){A(o,"rel","stylesheet"),A(o,"href",`${Pe.path}/themes/light.css`),A(o,"media","(prefers-color-scheme: light)"),A(a,"rel","stylesheet"),A(a,"href",`${Pe.path}/themes/dark.css`),A(a,"media","(prefers-color-scheme: dark)")},m(e,t){v(e,n,t),g(n,s),v(e,r,t),v(e,o,t),v(e,i,t),v(e,a,t)},p:e,d(e){e&&y(n),e&&y(r),e&&y(o),e&&y(i),e&&y(a)}}}function Ke(t){let n;return{c(){n=$("link"),this.h()},l(e){n=j(e,"LINK",{rel:!0,href:!0}),this.h()},h(){A(n,"rel","stylesheet"),A(n,"href",`${Pe.path}/themes/${Pe["status-website"].theme}.css`)},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}function Je(t){let n;return{c(){n=$("link"),this.h()},l(e){n=j(e,"LINK",{rel:!0,href:!0}),this.h()},h(){A(n,"rel","stylesheet"),A(n,"href",(Pe["status-website"]||{}).themeUrl)},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}function Ve(t){let n,s;return{c(){n=$("script"),this.h()},l(e){n=j(e,"SCRIPT",{src:!0}),I(n).forEach(y),this.h()},h(){c(n.src,s=t[8].src)||A(n,"src",s),n.async=!!t[8].async,n.defer=!!t[8].async},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}function We(t){let n;return{c(){n=$("link"),this.h()},l(e){n=j(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){A(n,"rel",t[3].rel),A(n,"href",t[3].href),A(n,"media",t[3].media)},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}function Ye(t){let n;return{c(){n=$("meta"),this.h()},l(e){n=j(e,"META",{name:!0,content:!0}),this.h()},h(){A(n,"name",t[3].name),A(n,"content",t[3].content)},m(e,t){v(e,n,t)},p:e,d(e){e&&y(n)}}}function Fe(t){let n,s,r,o,i,a,c,u,h,d,f,p,m,b,_,E,T,S,N=De(Pe.i18n.footer.replace(/\$REPO/,`https://github.com/${Pe.owner}/${Pe.repo}`))+"",P=(Pe["status-website"]||{}).customHeadHtml&&function(t){let n,s,r=(Pe["status-website"]||{}).customHeadHtml+"";return{c(){n=new W(!1),s=k(),this.h()},l(e){n=D(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),v(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}();let L=((Pe["status-website"]||{}).themeUrl?Je:(Pe["status-website"]||{}).theme?Ke:Be)(t),R=(Pe["status-website"]||{}).scripts&&function(e){let t,n=(Pe["status-website"]||{}).scripts,s=[];for(let t=0;t<n.length;t+=1)s[t]=Ve(qe(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);v(e,t,n)},p(e,r){if(0&r){let o;for(n=(Pe["status-website"]||{}).scripts,o=0;o<n.length;o+=1){const i=qe(e,n,o);s[o]?s[o].p(i,r):(s[o]=Ve(i),s[o].c(),s[o].m(t.parentNode,t))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(e){w(s,e),e&&y(t)}}}(t),O=(Pe["status-website"]||{}).links&&function(e){let t,n=(Pe["status-website"]||{}).links,s=[];for(let t=0;t<n.length;t+=1)s[t]=We(Ge(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);v(e,t,n)},p(e,r){if(0&r){let o;for(n=(Pe["status-website"]||{}).links,o=0;o<n.length;o+=1){const i=Ge(e,n,o);s[o]?s[o].p(i,r):(s[o]=We(i),s[o].c(),s[o].m(t.parentNode,t))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(e){w(s,e),e&&y(t)}}}(t),H=(Pe["status-website"]||{}).metaTags&&function(e){let t,n=(Pe["status-website"]||{}).metaTags,s=[];for(let t=0;t<n.length;t+=1)s[t]=Ye(ze(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);v(e,t,n)},p(e,r){if(0&r){let o;for(n=(Pe["status-website"]||{}).metaTags,o=0;o<n.length;o+=1){const i=ze(e,n,o);s[o]?s[o].p(i,r):(s[o]=Ye(i),s[o].c(),s[o].m(t.parentNode,t))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(e){w(s,e),e&&y(t)}}}(t),C=Pe["status-website"].css&&function(t){let n,s,r=`<style>${Pe["status-website"].css}</style>`;return{c(){n=new W(!1),s=k(),this.h()},l(e){n=D(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),v(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}(),U=Pe["status-website"].js&&function(t){let n,s,r=`<script>${Pe["status-website"].js}<\/script>`;return{c(){n=new W(!1),s=k(),this.h()},l(e){n=D(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),v(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}(),z=(Pe["status-website"]||{}).customBodyHtml&&function(t){let n,s,r=(Pe["status-website"]||{}).customBodyHtml+"";return{c(){n=new W(!1),s=k(),this.h()},l(e){n=D(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),v(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}();p=new He({props:{segment:t[0]}});const G=t[2].default,q=function(e,t,n,s){if(e){const r=l(e,t,n,s);return e[0](r)}}(G,t,t[1],null);return{c(){P&&P.c(),n=k(),L.c(),s=$("link"),r=$("link"),o=$("link"),R&&R.c(),i=k(),O&&O.c(),a=k(),H&&H.c(),c=k(),C&&C.c(),u=k(),U&&U.c(),h=k(),d=x(),z&&z.c(),f=x(),we(p.$$.fragment),m=x(),b=$("main"),q&&q.c(),_=x(),E=$("footer"),T=$("p"),this.h()},l(e){const t=J("svelte-z1n8lm",document.head);P&&P.l(t),n=k(),L.l(t),s=j(t,"LINK",{rel:!0,href:!0}),r=j(t,"LINK",{rel:!0,type:!0,href:!0}),o=j(t,"LINK",{rel:!0,type:!0,href:!0}),R&&R.l(t),i=k(),O&&O.l(t),a=k(),H&&H.l(t),c=k(),C&&C.l(t),u=k(),U&&U.l(t),h=k(),t.forEach(y),d=M(e),z&&z.l(e),f=M(e),$e(p.$$.fragment,e),m=M(e),b=j(e,"MAIN",{class:!0});var l=I(b);q&&q.l(l),l.forEach(y),_=M(e),E=j(e,"FOOTER",{class:!0});var g=I(E);T=j(g,"P",{}),I(T).forEach(y),g.forEach(y),this.h()},h(){A(s,"rel","stylesheet"),A(s,"href",`${Pe.path}/global.css`),A(r,"rel","icon"),A(r,"type","image/svg"),A(r,"href",(Pe["status-website"]||{}).faviconSvg||(Pe["status-website"]||{}).favicon||"https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg"),A(o,"rel","icon"),A(o,"type","image/png"),A(o,"href",(Pe["status-website"]||{}).favicon||"/logo-192.png"),A(b,"class","container"),A(E,"class","svelte-jbr799")},m(e,t){P&&P.m(document.head,null),g(document.head,n),L.m(document.head,null),g(document.head,s),g(document.head,r),g(document.head,o),R&&R.m(document.head,null),g(document.head,i),O&&O.m(document.head,null),g(document.head,a),H&&H.m(document.head,null),g(document.head,c),C&&C.m(document.head,null),g(document.head,u),U&&U.m(document.head,null),g(document.head,h),v(e,d,t),z&&z.m(e,t),v(e,f,t),_e(p,e,t),v(e,m,t),v(e,b,t),q&&q.m(b,null),v(e,_,t),v(e,E,t),g(E,T),T.innerHTML=N,S=!0},p(e,[t]){(Pe["status-website"]||{}).customHeadHtml&&P.p(e,t),L.p(e,t),(Pe["status-website"]||{}).scripts&&R.p(e,t),(Pe["status-website"]||{}).links&&O.p(e,t),(Pe["status-website"]||{}).metaTags&&H.p(e,t),Pe["status-website"].css&&C.p(e,t),Pe["status-website"].js&&U.p(e,t),(Pe["status-website"]||{}).customBodyHtml&&z.p(e,t);const n={};1&t&&(n.segment=e[0]),p.$set(n),q&&q.p&&(!S||2&t)&&function(e,t,n,s,r,o){if(r){const i=l(t,n,s,o);e.p(i,r)}}(q,G,e,e[1],S?function(e,t,n,s){if(e[2]&&s){const r=e[2](s(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let s=0;s<n;s+=1)e[s]=t.dirty[s]|r[s];return e}return t.dirty|r}return t.dirty}(G,e[1],t,null):function(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}(e[1]),null)},i(e){S||(ge(p.$$.fragment,e),ge(q,e),S=!0)},o(e){be(p.$$.fragment,e),be(q,e),S=!1},d(e){P&&P.d(e),y(n),L.d(e),y(s),y(r),y(o),R&&R.d(e),y(i),O&&O.d(e),y(a),H&&H.d(e),y(c),C&&C.d(e),y(u),U&&U.d(e),y(h),e&&y(d),z&&z.d(e),e&&y(f),Ee(p,e),e&&y(m),e&&y(b),q&&q.d(e),e&&y(_),e&&y(E)}}}function Xe(e,t,n){let{$$slots:s={},$$scope:r}=t,{segment:o}=t;return e.$$set=e=>{"segment"in e&&n(0,o=e.segment),"$$scope"in e&&n(1,r=e.$$scope)},[o,r,s]}class Qe extends Te{constructor(e){super(),ke(this,e,Xe,Fe,i,{segment:0})}}function Ze(e){let t,n,s=e[1].stack+"";return{c(){t=$("pre"),n=E(s)},l(e){t=j(e,"PRE",{});var r=I(t);n=C(r,s),r.forEach(y)},m(e,s){v(e,t,s),g(t,n)},p(e,t){2&t&&s!==(s=e[1].stack+"")&&z(n,s)},d(e){e&&y(t)}}}function et(t){let n,s,r,o,i,a,c,l,u,h=t[1].message+"";document.title=n=t[0];let d=t[2]&&t[1].stack&&Ze(t);return{c(){s=x(),r=$("h1"),o=E(t[0]),i=x(),a=$("p"),c=E(h),l=x(),d&&d.c(),u=k(),this.h()},l(e){J("svelte-1moakz",document.head).forEach(y),s=M(e),r=j(e,"H1",{class:!0});var n=I(r);o=C(n,t[0]),n.forEach(y),i=M(e),a=j(e,"P",{class:!0});var f=I(a);c=C(f,h),f.forEach(y),l=M(e),d&&d.l(e),u=k(),this.h()},h(){A(r,"class","svelte-17w3omn"),A(a,"class","svelte-17w3omn")},m(e,t){v(e,s,t),v(e,r,t),g(r,o),v(e,i,t),v(e,a,t),g(a,c),v(e,l,t),d&&d.m(e,t),v(e,u,t)},p(e,[t]){1&t&&n!==(n=e[0])&&(document.title=n),1&t&&z(o,e[0]),2&t&&h!==(h=e[1].message+"")&&z(c,h),e[2]&&e[1].stack?d?d.p(e,t):(d=Ze(e),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},i:e,o:e,d(e){e&&y(s),e&&y(r),e&&y(i),e&&y(a),e&&y(l),d&&d.d(e),e&&y(u)}}}function tt(e,t,n){let{status:s}=t,{error:r}=t;return e.$$set=e=>{"status"in e&&n(0,s=e.status),"error"in e&&n(1,r=e.error)},[s,r,false]}class nt extends Te{constructor(e){super(),ke(this,e,tt,et,i,{status:0,error:1})}}function st(e){let n,s,r;const o=[e[4].props];var i=e[4].component;function a(e){let n={};for(let e=0;e<o.length;e+=1)n=t(n,o[e]);return{props:n}}return i&&(n=Y(i,a())),{c(){n&&we(n.$$.fragment),s=k()},l(e){n&&$e(n.$$.fragment,e),s=k()},m(e,t){n&&_e(n,e,t),v(e,s,t),r=!0},p(e,t){const r=16&t?ve(o,[ye(e[4].props)]):{};if(16&t&&i!==(i=e[4].component)){if(n){pe();const e=n;be(e.$$.fragment,1,0,(()=>{Ee(e,1)})),me()}i?(n=Y(i,a()),we(n.$$.fragment),ge(n.$$.fragment,1),_e(n,s.parentNode,s)):n=null}else i&&n.$set(r)},i(e){r||(n&&ge(n.$$.fragment,e),r=!0)},o(e){n&&be(n.$$.fragment,e),r=!1},d(e){e&&y(s),n&&Ee(n,e)}}}function rt(e){let t,n;return t=new nt({props:{error:e[0],status:e[1]}}),{c(){we(t.$$.fragment)},l(e){$e(t.$$.fragment,e)},m(e,s){_e(t,e,s),n=!0},p(e,n){const s={};1&n&&(s.error=e[0]),2&n&&(s.status=e[1]),t.$set(s)},i(e){n||(ge(t.$$.fragment,e),n=!0)},o(e){be(t.$$.fragment,e),n=!1},d(e){Ee(t,e)}}}function ot(e){let t,n,s,r;const o=[rt,st],i=[];function a(e,t){return e[0]?0:1}return t=a(e),n=i[t]=o[t](e),{c(){n.c(),s=k()},l(e){n.l(e),s=k()},m(e,n){i[t].m(e,n),v(e,s,n),r=!0},p(e,r){let c=t;t=a(e),t===c?i[t].p(e,r):(pe(),be(i[c],1,1,(()=>{i[c]=null})),me(),n=i[t],n?n.p(e,r):(n=i[t]=o[t](e),n.c()),ge(n,1),n.m(s.parentNode,s))},i(e){r||(ge(n),r=!0)},o(e){be(n),r=!1},d(e){i[t].d(e),e&&y(s)}}}function it(e){let n,s;const r=[{segment:e[2][0]},e[3].props];let o={$$slots:{default:[ot]},$$scope:{ctx:e}};for(let e=0;e<r.length;e+=1)o=t(o,r[e]);return n=new Qe({props:o}),{c(){we(n.$$.fragment)},l(e){$e(n.$$.fragment,e)},m(e,t){_e(n,e,t),s=!0},p(e,[t]){const s=12&t?ve(r,[4&t&&{segment:e[2][0]},8&t&&ye(e[3].props)]):{};147&t&&(s.$$scope={dirty:t,ctx:e}),n.$set(s)},i(e){s||(ge(n.$$.fragment,e),s=!0)},o(e){be(n.$$.fragment,e),s=!1},d(e){Ee(n,e)}}}function at(e,t,n){let{stores:s}=t,{error:r}=t,{status:o}=t,{segments:i}=t,{level0:a}=t,{level1:c=null}=t,{notify:l}=t;var u,h;return Z(l),u=Ne,h=s,X().$$.context.set(u,h),e.$$set=e=>{"stores"in e&&n(5,s=e.stores),"error"in e&&n(0,r=e.error),"status"in e&&n(1,o=e.status),"segments"in e&&n(2,i=e.segments),"level0"in e&&n(3,a=e.level0),"level1"in e&&n(4,c=e.level1),"notify"in e&&n(6,l=e.notify)},[r,o,i,a,c,s,l]}class ct extends Te{constructor(e){super(),ke(this,e,at,it,i,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const lt=[],ut=[{js:()=>Promise.all([import("./index.648cd3f3.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","index-34afeb8b.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./rate-limit-exceeded.07937f80.js"),__inject_styles(["client-31a52aa5.css","rate-limit-exceeded-88af4d80.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./_number_.59fb2416.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-8cd0a1d0.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./_number_.5c840328.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-ff25848c.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./error.9fb3b178.js"),__inject_styles(["client-31a52aa5.css","error-37eeedae.css"])]).then((function(e){return e[0]}))}],ht=(dt=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:e=>({number:dt(e[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:e=>({number:dt(e[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var dt;
|
|
/*! *****************************************************************************
|
|
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 ft(e,t,n,s){return new(n||(n=Promise))((function(r,o){function i(e){try{c(s.next(e))}catch(e){o(e)}}function a(e){try{c(s.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((s=s.apply(e,t||[])).next())}))}function pt(e){for(;e&&"A"!==e.nodeName.toUpperCase();)e=e.parentNode;return e}let mt,gt=1;const bt="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},vt={};let yt,wt;const $t=e=>"undefined"!=typeof URLSearchParams?[...new URLSearchParams(e).entries()]:e.slice(1).split("&").map((e=>{const[,t,n=""]=/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(e.replace(/\+/g," ")));return[t,n]}));function _t(e){const t=Object.create(null);return e.length?$t(e).reduce(((e,[t,n])=>("string"==typeof e[t]&&(e[t]=[e[t]]),"object"==typeof e[t]?e[t].push(n):e[t]=n,e)),t):t}function Et(e){if(e.origin!==location.origin)return null;if(!e.pathname.startsWith(yt))return null;let t=e.pathname.slice(yt.length);if(""===t&&(t="/"),!lt.some((e=>e.test(t))))for(let n=0;n<ht.length;n+=1){const s=ht[n],r=s.pattern.exec(t);if(r){const n=_t(e.search),o=s.parts[s.parts.length-1],i=o.params?o.params(r):{},a={host:location.host,path:t,query:n,params:i};return{href:e.href,route:s,match:r,page:a}}}}function xt(e){if(1!==function(e){return null===e.which?e.button:e.which}(e))return;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;if(e.defaultPrevented)return;const t=pt(e.target);if(!t)return;if(!t.href)return;const n="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name,s=String(n?t.href.baseVal:t.href);if(s===location.href)return void(location.hash||e.preventDefault());if(t.hasAttribute("download")||"external"===t.getAttribute("rel"))return;if(n?t.target.baseVal:t.target)return;const r=new URL(s);if(r.pathname===location.pathname&&r.search===location.search)return;const o=Et(r);if(o){St(o,null,t.hasAttribute("sapper:noscroll"),r.hash),e.preventDefault(),bt.pushState({id:mt},"",r.href)}}function kt(){return{x:pageXOffset,y:pageYOffset}}function Tt(e){if(vt[mt]=kt(),e.state){const t=Et(new URL(location.href));t?St(t,e.state.id):location.href=location.href}else!function(e){gt=e}(gt+1),function(e){mt=e}(gt),bt.replaceState({id:mt},"",location.href)}function St(e,t,n,s){return ft(this,void 0,void 0,(function*(){const r=!!t;if(r)mt=t;else{const e=kt();vt[mt]=e,mt=t=++gt,vt[mt]=n?e:{x:0,y:0}}if(yield wt(e),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let e,n=vt[t];s&&(e=document.getElementById(s.slice(1)),e&&(n={x:0,y:e.getBoundingClientRect().top+scrollY})),vt[mt]=n,n&&(r||e)?scrollTo(n.x,n.y):scrollTo(0,0)}}))}function At(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}let Nt,Pt=null;function It(e){const t=pt(e.target);t&&t.hasAttribute("sapper:prefetch")&&function(e){const t=Et(new URL(e,At(document)));if(t)Pt&&e===Pt.href||(Pt={href:e,promise:Wt(t)}),Pt.promise}(t.href)}function Lt(e){clearTimeout(Nt),Nt=setTimeout((()=>{It(e)}),20)}function Rt(e,t={noscroll:!1,replaceState:!1}){const n=Et(new URL(e,At(document)));if(n){const s=St(n,null,t.noscroll);return bt[t.replaceState?"replaceState":"pushState"]({id:mt},"",e),s}return location.href=e,new Promise((()=>{}))}const Ot="undefined"!=typeof __SAPPER__&&__SAPPER__;let jt,Ht,Ct,Mt=!1,Ut=[],Dt="{}";const zt={page:function(e){const t=Ae(e);let n=!0;return{notify:function(){n=!0,t.update((e=>e))},set:function(e){n=!1,t.set(e)},subscribe:function(e){let s;return t.subscribe((t=>{(void 0===s||n&&t!==s)&&e(s=t)}))}}}({}),preloading:Ae(null),session:Ae(Ot&&Ot.session)};let Gt,qt,Bt;function Kt(e,t){const{error:n}=e;return Object.assign({error:n},t)}function Jt(e){return ft(this,void 0,void 0,(function*(){jt&&zt.preloading.set(!0);const t=function(e){return Pt&&Pt.href===e.href?Pt.promise:Wt(e)}(e),n=Ht={},s=yield t,{redirect:r}=s;if(n===Ht)if(r)yield Rt(r.location,{replaceState:!0});else{const{props:t,branch:n}=s;yield Vt(n,t,Kt(t,e.page))}}))}function Vt(e,t,n){return ft(this,void 0,void 0,(function*(){zt.page.set(n),zt.preloading.set(!1),jt?jt.$set(t):(t.stores={page:{subscribe:zt.page.subscribe},preloading:{subscribe:zt.preloading.subscribe},session:zt.session},t.level0={props:yield Ct},t.notify=zt.page.notify,jt=new ct({target:Bt,props:t,hydrate:!0})),Ut=e,Dt=JSON.stringify(n.query),Mt=!0,qt=!1}))}function Wt(e){return ft(this,void 0,void 0,(function*(){const{route:t,page:n}=e,s=n.path.split("/").filter(Boolean);let r=null;const o={error:null,status:200,segments:[s[0]]},i={fetch:(e,t)=>fetch(e,t),redirect:(e,t)=>{if(r&&(r.statusCode!==e||r.location!==t))throw new Error("Conflicting redirects");r={statusCode:e,location:t}},error:(e,t)=>{o.error="string"==typeof t?new Error(t):t,o.status=e}};if(!Ct){const e=()=>({});Ct=Ot.preloaded[0]||e.call(i,{host:n.host,path:n.path,query:n.query,params:{}},Gt)}let a,c=1;try{const r=JSON.stringify(n.query),l=t.pattern.exec(n.path);let u=!1;a=yield Promise.all(t.parts.map(((t,a)=>ft(this,void 0,void 0,(function*(){const h=s[a];if(function(e,t,n,s){if(s!==Dt)return!0;const r=Ut[e];return!!r&&(t!==r.segment||!(!r.match||JSON.stringify(r.match.slice(1,e+2))===JSON.stringify(n.slice(1,e+2)))||void 0)}(a,h,l,r)&&(u=!0),o.segments[c]=s[a+1],!t)return{segment:h};const d=c++;let f;if(qt||u||!Ut[a]||Ut[a].part!==t.i){u=!1;const{default:s,preload:r}=yield ut[t.i].js();let o;o=Mt||!Ot.preloaded[a+1]?r?yield r.call(i,{host:n.host,path:n.path,query:n.query,params:t.params?t.params(e.match):{}},Gt):{}:Ot.preloaded[a+1],f={component:s,props:o,segment:h,match:l,part:t.i}}else f=Ut[a];return o[`level${d}`]=f})))))}catch(e){o.error=e,o.status=500,a=[]}return{redirect:r,props:o,branch:a}}))}var Yt,Ft,Xt;zt.session.subscribe((e=>ft(void 0,void 0,void 0,(function*(){if(Gt=e,!Mt)return;qt=!0;const t=Et(new URL(location.href)),n=Ht={},{redirect:s,props:r,branch:o}=yield Wt(t);n===Ht&&(s?yield Rt(s.location,{replaceState:!0}):yield Vt(o,r,Kt(r,t.page)))})))),Yt={target:document.querySelector("#sapper")},Ft=Yt.target,Bt=Ft,Xt=Ot.baseUrl,yt=Xt,wt=Jt,"scrollRestoration"in bt&&(bt.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{bt.scrollRestoration="auto"})),addEventListener("load",(()=>{bt.scrollRestoration="manual"})),addEventListener("click",xt),addEventListener("popstate",Tt),addEventListener("touchstart",It),addEventListener("mousemove",Lt),Ot.error?Promise.resolve().then((()=>function(){const{host:e,pathname:t,search:n}=location,{session:s,preloaded:r,status:o,error:i}=Ot;Ct||(Ct=r&&r[0]);const a={error:i,status:o,session:s,level0:{props:Ct},level1:{props:{status:o,error:i},component:nt},segments:r},c=_t(n);Vt([],a,{host:e,path:t,query:c,params:{},error:i})}())):Promise.resolve().then((()=>{const{hash:e,href:t}=location;bt.replaceState({id:gt},"",t);const n=Et(new URL(location.href));if(n)return St(n,gt,!0,e)}));export{z as A,P as B,T as C,r as D,ne as E,D as F,c as G,W as H,h as I,q as J,J as K,De as L,_ as M,H as N,Rt as O,G as P,S as Q,t as R,Te as S,N as T,Z as U,ee as V,u as W,ve as X,ye as Y,ae as Z,K as _,x as a,j as b,M as c,I as d,$ as e,y as f,A as g,v as h,ke as i,pe as j,me as k,ge as l,E as m,C as n,Q as o,g as p,e as q,Pe as r,i as s,be as t,k as u,w as v,we as w,$e as x,_e as y,Ee as z};
|
|
|
|
import __inject_styles from './inject_styles.803b7e80.js'; |