diff --git a/client/legacy/_number_.7ea16194.js b/client/legacy/_number_.68741482.js similarity index 99% rename from client/legacy/_number_.7ea16194.js rename to client/legacy/_number_.68741482.js index 92b242c35..28327dfde 100644 --- a/client/legacy/_number_.7ea16194.js +++ b/client/legacy/_number_.68741482.js @@ -1,4 +1,4 @@ -import{S as t,i as e,s as i,e as s,b as n,d as o,f as a,h as r,j as l,t as h,k as c,l as d,o as u,r as f,m as g,a as p,n as m,c as b,g as x,I as _,p as y,A as v,q as w,w as M,x as k,y as S,z as D,u as P,v as O,R as C,T as A,U as T,V as E,W as L,E as R,X as I,Y as z,Z as F,_ as $}from"./client.1d3aacfe.js";import{h as V,L as B,c as N,a as W}from"./createOctokit.f23cfedf.js";function H(t){let e,i,l,h,c,d,u,M,k,S,D,P,O,C,A=t[1].name+"",T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"",E=f.i18n.overallUptimeTitle+"",L=t[1].uptime+"",R=(void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime)&&Y(t);return{c(){e=s("h1"),i=s("a"),l=g(A),c=p(),d=s("span"),u=g(T),k=p(),S=s("dl"),D=s("dt"),P=g(E),O=s("dd"),C=g(L),R&&R.c(),this.h()},l(t){e=n(t,"H1",{});var s=o(e);i=n(s,"A",{class:!0,href:!0});var r=o(i);l=m(r,A),r.forEach(a),c=b(s),d=n(s,"SPAN",{class:!0});var h=o(d);u=m(h,T),h.forEach(a),s.forEach(a),k=b(t),S=n(t,"DL",{});var f=o(S);D=n(f,"DT",{});var g=o(D);P=m(g,E),g.forEach(a),O=n(f,"DD",{});var p=o(O);C=m(p,L),p.forEach(a),R&&R.l(f),f.forEach(a),this.h()},h(){x(i,"class","no-underline svelte-1d3m0a"),x(i,"href",h=t[1].url.startsWith("$")?"#":t[1].url),x(d,"class",M=_(`tag ${t[1].status}`)+" svelte-1d3m0a")},m(t,s){r(t,e,s),y(e,i),y(i,l),y(e,c),y(e,d),y(d,u),r(t,k,s),r(t,S,s),y(S,D),y(D,P),y(S,O),y(O,C),R&&R.m(S,null)},p(t,e){2&e&&A!==(A=t[1].name+"")&&v(l,A),2&e&&h!==(h=t[1].url.startsWith("$")?"#":t[1].url)&&x(i,"href",h),2&e&&T!==(T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"")&&v(u,T),2&e&&M!==(M=_(`tag ${t[1].status}`)+" svelte-1d3m0a")&&x(d,"class",M),2&e&&L!==(L=t[1].uptime+"")&&v(C,L),void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime?R?R.p(t,e):(R=Y(t),R.c(),R.m(S,null)):R&&(R.d(1),R=null)},i:w,o:w,d(t){t&&a(e),t&&a(k),t&&a(S),R&&R.d()}}}function j(t){let e,i;return e=new B({}),{c(){M(e.$$.fragment)},l(t){k(e.$$.fragment,t)},m(t,s){S(e,t,s),i=!0},p:w,i(t){i||(d(e.$$.fragment,t),i=!0)},o(t){h(e.$$.fragment,t),i=!1},d(t){D(e,t)}}}function Y(t){let e,i,l,h,c,d=f.i18n.averageResponseTimeTitle+"",u=t[1].time+"",p=f.i18n.ms+"";return{c(){e=s("dt"),i=g(d),l=s("dd"),h=g(u),c=g(p)},l(t){e=n(t,"DT",{});var s=o(e);i=m(s,d),s.forEach(a),l=n(t,"DD",{});var r=o(l);h=m(r,u),c=m(r,p),r.forEach(a)},m(t,s){r(t,e,s),y(e,i),r(t,l,s),y(l,h),y(l,c)},p(t,e){2&e&&u!==(u=t[1].time+"")&&v(h,u)},d(t){t&&a(e),t&&a(l)}}}function U(t){let e,i,u,f;const g=[j,H],p=[];function m(t,e){return t[0]?0:t[1]?1:-1}return~(i=m(t))&&(u=p[i]=g[i](t)),{c(){e=s("section"),u&&u.c()},l(t){e=n(t,"SECTION",{});var i=o(e);u&&u.l(i),i.forEach(a)},m(t,s){r(t,e,s),~i&&p[i].m(e,null),f=!0},p(t,s){let[n]=s,o=i;i=m(t),i===o?~i&&p[i].p(t,n):(u&&(l(),h(p[o],1,1,(()=>{p[o]=null})),c()),~i?(u=p[i],u?u.p(t,n):(u=p[i]=g[i](t),u.c()),d(u,1),u.m(e,null)):u=null)},i(t){f||(d(u),f=!0)},o(t){h(u),f=!1},d(t){t&&a(e),~i&&p[i].d()}}}function X(t,e,i){let{slug:s}=e,n=!0,{apiBaseUrl:o,userContentBaseUrl:a}=f["status-website"]||{};o||(o="https://api.github.com"),a||(a="https://raw.githubusercontent.com");const r=f.owner,l=f.repo;let h=null;return u((async()=>{try{const t=await fetch(`${a}/${r}/${l}/master/history/summary.json`);i(1,h=(await t.json()).find((t=>t.slug===s)))}catch(t){V(t)}i(0,n=!1)})),t.$$set=t=>{"slug"in t&&i(2,s=t.slug)},[n,h,s]}class q extends t{constructor(t){super(),e(this,t,X,U,i,{slug:2})}}function K(t,e,i){const s=t.slice();return s[6]=e[i],s}function G(t){let e,i,l,h,c=f.i18n.pastIncidents+"",d=t[1],u=[];for(let e=0;e{p[o]=null})),c()),~i?(u=p[i],u?u.p(t,n):(u=p[i]=g[i](t),u.c()),d(u,1),u.m(e,null)):u=null)},i(t){f||(d(u),f=!0)},o(t){h(u),f=!1},d(t){t&&a(e),~i&&p[i].d()}}}function et(t,e,i){let{slug:s}=e,n=!0;const o=N(),a=f.owner,r=f.repo;let l=[];return u((async()=>{try{i(1,l=(await W(`closed-issues-${a}-${r}-${s}`,(()=>o.issues.listForRepo({owner:a,repo:r,state:"closed",filter:"all",sort:"created",direction:"desc",labels:`status,${s}`})))).data)}catch(t){V(t)}i(1,l=l.map(((t,e)=>(t.showHeading=0===e||new Date(l[e-1].created_at).toLocaleDateString()!==new Date(t.created_at).toLocaleDateString(),t)))),i(0,n=!1)})),t.$$set=t=>{"slug"in t&&i(2,s=t.slug)},[n,l,s]}class it extends t{constructor(t){super(),e(this,t,et,tt,i,{slug:2})}} +import{S as t,i as e,s as i,e as s,b as n,d as o,f as a,h as r,j as l,t as h,k as c,l as d,o as u,r as f,m as g,a as p,n as m,c as b,g as x,I as _,p as y,A as v,q as w,w as M,x as k,y as S,z as D,u as P,v as O,R as C,T as A,U as T,V as E,W as L,E as R,X as I,Y as z,Z as F,_ as $}from"./client.2da0003e.js";import{h as V,L as B,c as N,a as W}from"./createOctokit.cb750a00.js";function H(t){let e,i,l,h,c,d,u,M,k,S,D,P,O,C,A=t[1].name+"",T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"",E=f.i18n.overallUptimeTitle+"",L=t[1].uptime+"",R=(void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime)&&Y(t);return{c(){e=s("h1"),i=s("a"),l=g(A),c=p(),d=s("span"),u=g(T),k=p(),S=s("dl"),D=s("dt"),P=g(E),O=s("dd"),C=g(L),R&&R.c(),this.h()},l(t){e=n(t,"H1",{});var s=o(e);i=n(s,"A",{class:!0,href:!0});var r=o(i);l=m(r,A),r.forEach(a),c=b(s),d=n(s,"SPAN",{class:!0});var h=o(d);u=m(h,T),h.forEach(a),s.forEach(a),k=b(t),S=n(t,"DL",{});var f=o(S);D=n(f,"DT",{});var g=o(D);P=m(g,E),g.forEach(a),O=n(f,"DD",{});var p=o(O);C=m(p,L),p.forEach(a),R&&R.l(f),f.forEach(a),this.h()},h(){x(i,"class","no-underline svelte-1d3m0a"),x(i,"href",h=t[1].url.startsWith("$")?"#":t[1].url),x(d,"class",M=_(`tag ${t[1].status}`)+" svelte-1d3m0a")},m(t,s){r(t,e,s),y(e,i),y(i,l),y(e,c),y(e,d),y(d,u),r(t,k,s),r(t,S,s),y(S,D),y(D,P),y(S,O),y(O,C),R&&R.m(S,null)},p(t,e){2&e&&A!==(A=t[1].name+"")&&v(l,A),2&e&&h!==(h=t[1].url.startsWith("$")?"#":t[1].url)&&x(i,"href",h),2&e&&T!==(T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"")&&v(u,T),2&e&&M!==(M=_(`tag ${t[1].status}`)+" svelte-1d3m0a")&&x(d,"class",M),2&e&&L!==(L=t[1].uptime+"")&&v(C,L),void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime?R?R.p(t,e):(R=Y(t),R.c(),R.m(S,null)):R&&(R.d(1),R=null)},i:w,o:w,d(t){t&&a(e),t&&a(k),t&&a(S),R&&R.d()}}}function j(t){let e,i;return e=new B({}),{c(){M(e.$$.fragment)},l(t){k(e.$$.fragment,t)},m(t,s){S(e,t,s),i=!0},p:w,i(t){i||(d(e.$$.fragment,t),i=!0)},o(t){h(e.$$.fragment,t),i=!1},d(t){D(e,t)}}}function Y(t){let e,i,l,h,c,d=f.i18n.averageResponseTimeTitle+"",u=t[1].time+"",p=f.i18n.ms+"";return{c(){e=s("dt"),i=g(d),l=s("dd"),h=g(u),c=g(p)},l(t){e=n(t,"DT",{});var s=o(e);i=m(s,d),s.forEach(a),l=n(t,"DD",{});var r=o(l);h=m(r,u),c=m(r,p),r.forEach(a)},m(t,s){r(t,e,s),y(e,i),r(t,l,s),y(l,h),y(l,c)},p(t,e){2&e&&u!==(u=t[1].time+"")&&v(h,u)},d(t){t&&a(e),t&&a(l)}}}function U(t){let e,i,u,f;const g=[j,H],p=[];function m(t,e){return t[0]?0:t[1]?1:-1}return~(i=m(t))&&(u=p[i]=g[i](t)),{c(){e=s("section"),u&&u.c()},l(t){e=n(t,"SECTION",{});var i=o(e);u&&u.l(i),i.forEach(a)},m(t,s){r(t,e,s),~i&&p[i].m(e,null),f=!0},p(t,s){let[n]=s,o=i;i=m(t),i===o?~i&&p[i].p(t,n):(u&&(l(),h(p[o],1,1,(()=>{p[o]=null})),c()),~i?(u=p[i],u?u.p(t,n):(u=p[i]=g[i](t),u.c()),d(u,1),u.m(e,null)):u=null)},i(t){f||(d(u),f=!0)},o(t){h(u),f=!1},d(t){t&&a(e),~i&&p[i].d()}}}function X(t,e,i){let{slug:s}=e,n=!0,{apiBaseUrl:o,userContentBaseUrl:a}=f["status-website"]||{};o||(o="https://api.github.com"),a||(a="https://raw.githubusercontent.com");const r=f.owner,l=f.repo;let h=null;return u((async()=>{try{const t=await fetch(`${a}/${r}/${l}/master/history/summary.json`);i(1,h=(await t.json()).find((t=>t.slug===s)))}catch(t){V(t)}i(0,n=!1)})),t.$$set=t=>{"slug"in t&&i(2,s=t.slug)},[n,h,s]}class q extends t{constructor(t){super(),e(this,t,X,U,i,{slug:2})}}function K(t,e,i){const s=t.slice();return s[6]=e[i],s}function G(t){let e,i,l,h,c=f.i18n.pastIncidents+"",d=t[1],u=[];for(let e=0;e{p[o]=null})),c()),~i?(u=p[i],u?u.p(t,n):(u=p[i]=g[i](t),u.c()),d(u,1),u.m(e,null)):u=null)},i(t){f||(d(u),f=!0)},o(t){h(u),f=!1},d(t){t&&a(e),~i&&p[i].d()}}}function et(t,e,i){let{slug:s}=e,n=!0;const o=N(),a=f.owner,r=f.repo;let l=[];return u((async()=>{try{i(1,l=(await W(`closed-issues-${a}-${r}-${s}`,(()=>o.issues.listForRepo({owner:a,repo:r,state:"closed",filter:"all",sort:"created",direction:"desc",labels:`status,${s}`})))).data)}catch(t){V(t)}i(1,l=l.map(((t,e)=>(t.showHeading=0===e||new Date(l[e-1].created_at).toLocaleDateString()!==new Date(t.created_at).toLocaleDateString(),t)))),i(0,n=!1)})),t.$$set=t=>{"slug"in t&&i(2,s=t.slug)},[n,l,s]}class it extends t{constructor(t){super(),e(this,t,et,tt,i,{slug:2})}} /*! * Chart.js v3.9.1 * https://www.chartjs.org diff --git a/client/legacy/_number_.6ce11d1d.js b/client/legacy/_number_.6ce11d1d.js deleted file mode 100644 index dccdea4c6..000000000 --- a/client/legacy/_number_.6ce11d1d.js +++ /dev/null @@ -1 +0,0 @@ -import{S as t,i as e,s as a,r as n,a as r,e as i,m as s,K as l,f as c,c as o,b as d,d as m,n as u,g as f,h,p,j as $,t as g,k as D,l as v,o as E,L as w,I as T,A as b,q as A,u as L,v as S,w as _,x as O,y,z as M}from"./client.1d3aacfe.js";import{c as x,a as C,h as H,L as I}from"./createOctokit.f23cfedf.js";function R(t,e,a){const n=t.slice();return n[9]=e[a],n}function N(t){let e,a,l,$,g,D=t[4].title+"",v=("closed"===t[4].state?t[4].metadata.start?n.i18n.incidentCompleted:n.i18n.incidentFixed:t[4].metadata.start?n.i18n.incidentScheduled:n.i18n.incidentOngoing)+"";return{c(){e=s(D),a=r(),l=i("span"),$=s(v),this.h()},l(t){e=u(t,D),a=o(t),l=d(t,"SPAN",{class:!0});var n=m(l);$=u(n,v),n.forEach(c),this.h()},h(){f(l,"class",g=T(`tag ${t[4].state}`)+" svelte-4o16l6")},m(t,n){h(t,e,n),h(t,a,n),h(t,l,n),p(l,$)},p(t,a){16&a&&D!==(D=t[4].title+"")&&b(e,D),16&a&&v!==(v=("closed"===t[4].state?t[4].metadata.start?n.i18n.incidentCompleted:n.i18n.incidentFixed:t[4].metadata.start?n.i18n.incidentScheduled:n.i18n.incidentOngoing)+"")&&b($,v),16&a&&g!==(g=T(`tag ${t[4].state}`)+" svelte-4o16l6")&&f(l,"class",g)},d(t){t&&c(e),t&&c(a),t&&c(l)}}}function U(t){let e,a=n.i18n.incidentDetails+"";return{c(){e=s(a)},l(t){e=u(t,a)},m(t,a){h(t,e,a)},p:A,d(t){t&&c(e)}}}function V(t){let e,a,l,$,g,D,v,E,w,T,b,_=n.i18n.incidentViewOnGitHub+"";function O(t,e){return t[4].metadata.start?B:k}let y=O(t),M=y(t);function x(t,e){return t[4].metadata.start&&t[4].metadata.end?P:t[4].closed_at?F:void 0}let C=x(t),H=C&&C(t),I=t[3],N=[];for(let e=0;e${new Date(t[9].created_at).toLocaleString(n.i18n.locale)}`).replace(/\$AUTHOR/g,`@${t[9].user.login}`)+"";return{c(){e=i("article"),a=i("p"),s=r(),l=i("div"),u=r(),this.h()},l(t){e=d(t,"ARTICLE",{});var n=m(e);a=d(n,"P",{class:!0}),m(a).forEach(c),s=o(n),l=d(n,"DIV",{}),m(l).forEach(c),u=o(n),n.forEach(c),this.h()},h(){f(a,"class","svelte-4o16l6")},m(t,n){h(t,e,n),p(e,a),a.innerHTML=$,p(e,s),p(e,l),l.innerHTML=g,p(e,u)},p(t,e){8&e&&$!==($=t[5](t[9].body)+"")&&(a.innerHTML=$),8&e&&g!==(g=n.i18n.incidentCommentSummary.replace(/\$DATE/g,`${new Date(t[9].created_at).toLocaleString(n.i18n.locale)}`).replace(/\$AUTHOR/g,`@${t[9].user.login}`)+"")&&(l.innerHTML=g)},d(t){t&&c(e)}}}function z(t){let e,a,E,w,T,b,A,L,S,_,O,y,M=n.i18n.incidentBack+"";function x(t,e){return t[2]?U:N}document.title=e=n.i18n.incidentTitle.replace("$NUMBER",t[0]);let C=x(t),H=C(t);const I=[j,V],R=[];function k(t,e){return t[1]?0:1}return b=k(t),A=R[b]=I[b](t),{c(){a=r(),E=i("h2"),H.c(),w=r(),T=i("section"),A.c(),L=r(),S=i("footer"),_=i("a"),O=s(M),this.h()},l(t){l("svelte-slinv8",document.head).forEach(c),a=o(t),E=d(t,"H2",{class:!0});var e=m(E);H.l(e),e.forEach(c),w=o(t),T=d(t,"SECTION",{});var n=m(T);A.l(n),n.forEach(c),L=o(t),S=d(t,"FOOTER",{class:!0});var r=m(S);_=d(r,"A",{href:!0});var i=m(_);O=u(i,M),i.forEach(c),r.forEach(c),this.h()},h(){f(E,"class","svelte-4o16l6"),f(_,"href",n.path),f(S,"class","svelte-4o16l6")},m(t,e){h(t,a,e),h(t,E,e),H.m(E,null),h(t,w,e),h(t,T,e),R[b].m(T,null),h(t,L,e),h(t,S,e),p(S,_),p(_,O),y=!0},p(t,a){let[r]=a;(!y||1&r)&&e!==(e=n.i18n.incidentTitle.replace("$NUMBER",t[0]))&&(document.title=e),C===(C=x(t))&&H?H.p(t,r):(H.d(1),H=C(t),H&&(H.c(),H.m(E,null)));let i=b;b=k(t),b===i?R[b].p(t,r):($(),g(R[i],1,1,(()=>{R[i]=null})),D(),A=R[b],A?A.p(t,r):(A=R[b]=I[b](t),A.c()),v(A,1),A.m(T,null))},i(t){y||(v(A),y=!0)},o(t){g(A),y=!1},d(t){t&&c(a),t&&c(E),H.d(),t&&c(w),t&&c(T),R[b].d(),t&&c(L),t&&c(S)}}}function G(t,e,a){let{number:r}=e,i=w,s=!0,l=!0;const c=x(),o=n.owner,d=n.repo;let m=[],u={};return E((async()=>{try{if(a(4,u=(await C(`issue-${o}-${d}-${r}`,(()=>c.issues.get({owner:o,repo:d,issue_number:r,sort:"created",direction:"desc"})))).data),a(4,u.metadata={},u),u.body.includes("\x3c!--")){const t=u.body.split("\x3c!--")[1].split("--\x3e")[0];t.split("\n").filter((t=>t.trim())).filter((t=>t.includes(":"))).forEach((t=>{a(4,u.metadata[t.split(/:(.+)/)[0].trim()]=t.split(/:(.+)/)[1].trim(),u)}))}}catch(t){H(t)}a(2,l=!1);try{a(3,m=(await C(`issue-comments-${o}-${d}-${r}`,(()=>c.issues.listComments({owner:o,repo:d,issue_number:r})))).data.reverse())}catch(t){H(t)}a(1,s=!1)})),t.$$set=t=>{"number"in t&&a(0,r=t.number)},[r,s,l,m,u,i]}class K extends t{constructor(t){super(),e(this,t,G,z,a,{number:0})}}function J(t){let e,a;return e=new K({props:{number:t[0]}}),{c(){_(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){y(e,t,n),a=!0},p(t,a){let[n]=a;const r={};1&n&&(r.number=t[0]),e.$set(r)},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){g(e.$$.fragment,t),a=!1},d(t){M(e,t)}}}async function Q(t){const{number:e}=t.params;return{number:e}}function W(t,e,a){let{number:n}=e;return t.$$set=t=>{"number"in t&&a(0,n=t.number)},[n]}class X extends t{constructor(t){super(),e(this,t,W,J,a,{number:0})}}export{X as default,Q as preload}; diff --git a/client/legacy/_number_.dd45bf93.js b/client/legacy/_number_.dd45bf93.js new file mode 100644 index 000000000..72ac3ad12 --- /dev/null +++ b/client/legacy/_number_.dd45bf93.js @@ -0,0 +1 @@ +import{S as t,i as e,s as a,r as n,a as r,e as i,m as s,K as l,f as c,c as o,b as d,d as m,n as u,g as h,h as f,p,j as $,t as g,k as D,l as v,o as E,L as w,I as T,A as b,q as A,u as L,v as S,w as _,x as O,y,z as M}from"./client.2da0003e.js";import{c as x,a as C,h as H,L as I}from"./createOctokit.cb750a00.js";function R(t,e,a){const n=t.slice();return n[9]=e[a],n}function N(t){let e,a,l,$,g,D=t[4].title+"",v=("closed"===t[4].state?t[4].metadata.start?n.i18n.incidentCompleted:n.i18n.incidentFixed:t[4].metadata.start?n.i18n.incidentScheduled:n.i18n.incidentOngoing)+"";return{c(){e=s(D),a=r(),l=i("span"),$=s(v),this.h()},l(t){e=u(t,D),a=o(t),l=d(t,"SPAN",{class:!0});var n=m(l);$=u(n,v),n.forEach(c),this.h()},h(){h(l,"class",g=T(`tag ${t[4].state}`)+" svelte-4o16l6")},m(t,n){f(t,e,n),f(t,a,n),f(t,l,n),p(l,$)},p(t,a){16&a&&D!==(D=t[4].title+"")&&b(e,D),16&a&&v!==(v=("closed"===t[4].state?t[4].metadata.start?n.i18n.incidentCompleted:n.i18n.incidentFixed:t[4].metadata.start?n.i18n.incidentScheduled:n.i18n.incidentOngoing)+"")&&b($,v),16&a&&g!==(g=T(`tag ${t[4].state}`)+" svelte-4o16l6")&&h(l,"class",g)},d(t){t&&c(e),t&&c(a),t&&c(l)}}}function U(t){let e,a=n.i18n.incidentDetails+"";return{c(){e=s(a)},l(t){e=u(t,a)},m(t,a){f(t,e,a)},p:A,d(t){t&&c(e)}}}function V(t){let e,a,l,$,g,D,v,E,w,T,b,_=n.i18n.incidentViewOnGitHub+"";function O(t,e){return t[4].metadata.start?B:k}let y=O(t),M=y(t);function x(t,e){return t[4].metadata.start&&t[4].metadata.end?P:t[4].closed_at?F:void 0}let C=x(t),H=C&&C(t),I=t[3],N=[];for(let e=0;e${new Date(t[9].created_at).toLocaleString(n.i18n.locale)}`).replace(/\$AUTHOR/g,`@${t[9].user.login}`)+"";return{c(){e=i("article"),a=i("p"),s=r(),l=i("div"),u=r(),this.h()},l(t){e=d(t,"ARTICLE",{});var n=m(e);a=d(n,"P",{class:!0}),m(a).forEach(c),s=o(n),l=d(n,"DIV",{}),m(l).forEach(c),u=o(n),n.forEach(c),this.h()},h(){h(a,"class","svelte-4o16l6")},m(t,n){f(t,e,n),p(e,a),a.innerHTML=$,p(e,s),p(e,l),l.innerHTML=g,p(e,u)},p(t,e){8&e&&$!==($=t[5](t[9].body)+"")&&(a.innerHTML=$),8&e&&g!==(g=n.i18n.incidentCommentSummary.replace(/\$DATE/g,`${new Date(t[9].created_at).toLocaleString(n.i18n.locale)}`).replace(/\$AUTHOR/g,`@${t[9].user.login}`)+"")&&(l.innerHTML=g)},d(t){t&&c(e)}}}function z(t){let e,a,E,w,T,b,A,L,S,_,O,y,M=n.i18n.incidentBack+"";function x(t,e){return t[2]?U:N}document.title=e=n.i18n.incidentTitle.replace("$NUMBER",t[0]);let C=x(t),H=C(t);const I=[j,V],R=[];function k(t,e){return t[1]?0:1}return b=k(t),A=R[b]=I[b](t),{c(){a=r(),E=i("h2"),H.c(),w=r(),T=i("section"),A.c(),L=r(),S=i("footer"),_=i("a"),O=s(M),this.h()},l(t){l("svelte-slinv8",document.head).forEach(c),a=o(t),E=d(t,"H2",{class:!0});var e=m(E);H.l(e),e.forEach(c),w=o(t),T=d(t,"SECTION",{});var n=m(T);A.l(n),n.forEach(c),L=o(t),S=d(t,"FOOTER",{class:!0});var r=m(S);_=d(r,"A",{href:!0});var i=m(_);O=u(i,M),i.forEach(c),r.forEach(c),this.h()},h(){h(E,"class","svelte-4o16l6"),h(_,"href",n.path),h(S,"class","svelte-4o16l6")},m(t,e){f(t,a,e),f(t,E,e),H.m(E,null),f(t,w,e),f(t,T,e),R[b].m(T,null),f(t,L,e),f(t,S,e),p(S,_),p(_,O),y=!0},p(t,a){let[r]=a;(!y||1&r)&&e!==(e=n.i18n.incidentTitle.replace("$NUMBER",t[0]))&&(document.title=e),C===(C=x(t))&&H?H.p(t,r):(H.d(1),H=C(t),H&&(H.c(),H.m(E,null)));let i=b;b=k(t),b===i?R[b].p(t,r):($(),g(R[i],1,1,(()=>{R[i]=null})),D(),A=R[b],A?A.p(t,r):(A=R[b]=I[b](t),A.c()),v(A,1),A.m(T,null))},i(t){y||(v(A),y=!0)},o(t){g(A),y=!1},d(t){t&&c(a),t&&c(E),H.d(),t&&c(w),t&&c(T),R[b].d(),t&&c(L),t&&c(S)}}}function G(t,e,a){let{number:r}=e,i=w,s=!0,l=!0;const c=x(),o=n.owner,d=n.repo;let m=[],u={};return E((async()=>{try{if(a(4,u=(await C(`issue-${o}-${d}-${r}`,(()=>c.issues.get({owner:o,repo:d,issue_number:r,sort:"created",direction:"desc"})))).data),a(4,u.metadata={},u),u.body.includes("\x3c!--")){const t=u.body.split("\x3c!--")[1].split("--\x3e")[0];t.split("\n").filter((t=>t.trim())).filter((t=>t.includes(":"))).forEach((t=>{a(4,u.metadata[t.split(/:(.+)/)[0].trim()]=t.split(/:(.+)/)[1].trim(),u)}))}}catch(t){H(t)}a(2,l=!1);try{a(3,m=(await C(`issue-comments-${o}-${d}-${r}`,(()=>c.issues.listComments({owner:o,repo:d,issue_number:r})))).data.reverse())}catch(t){H(t)}a(1,s=!1)})),t.$$set=t=>{"number"in t&&a(0,r=t.number)},[r,s,l,m,u,i]}class K extends t{constructor(t){super(),e(this,t,G,z,a,{number:0})}}function J(t){let e,a;return e=new K({props:{number:t[0]}}),{c(){_(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){y(e,t,n),a=!0},p(t,a){let[n]=a;const r={};1&n&&(r.number=t[0]),e.$set(r)},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){g(e.$$.fragment,t),a=!1},d(t){M(e,t)}}}async function Q(t){const{number:e}=t.params;return{number:e}}function W(t,e,a){let{number:n}=e;return t.$$set=t=>{"number"in t&&a(0,n=t.number)},[n]}class X extends t{constructor(t){super(),e(this,t,W,J,a,{number:0})}}export{X as default,Q as preload}; diff --git a/client/legacy/client.1d3aacfe.js b/client/legacy/client.2da0003e.js similarity index 99% rename from client/legacy/client.1d3aacfe.js rename to client/legacy/client.2da0003e.js index d9dfcdb2e..0ef10d049 100644 --- a/client/legacy/client.1d3aacfe.js +++ b/client/legacy/client.2da0003e.js @@ -1,4 +1,4 @@ -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 d(e){return null==e?"":e}let f=!1;function h(e,t,n,s){for(;e>1);n(r)<=s?e=r+1:t=r}return e}function m(e,t){if(f){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;n0&&t[n[r]].claim_order<=o?r+1:h(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=o[n].claim_order;)n++;const s=ne.removeEventListener(t,n,s)}function x(e){return function(t){return t.preventDefault(),e.call(this,t)}}function T(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const A=["width","height"];function k(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&&-1===A.indexOf(s)?e[s]=t[s]:T(e,s,t[s])}function N(e){let t;return{p(){for(var n=arguments.length,s=new Array(n),r=0;re.push(t)))},r(){t.forEach((t=>e.splice(e.indexOf(t),1)))}}}function L(e){return Array.from(e.childNodes)}function I(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function P(e,t,n,s){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];I(e);const o=(()=>{for(let s=e.claim_info.last_index;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 R(e,t,n,s){return P(e,(e=>e.nodeName===t),(e=>{const t=[];for(let s=0;se.removeAttribute(t)))}),(()=>s(t)))}function O(e,t,n){return R(e,t,n,y)}function H(e,t,n){return R(e,t,n,_)}function C(e,t){return P(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}),(()=>$(t)),!0)}function M(e){return C(e," ")}function D(e,t,n){for(let s=n;s{e.source===n.contentWindow&&t()}))):(n.src="about:blank",n.onload=()=>{r=S(n.contentWindow,"resize",t),t()}),function(e,t){e.appendChild(t)}(e,n),()=>{(s||r&&n.contentWindow)&&r(),b(n)}}function V(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 W{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=_(t.nodeName):this.e=y(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;t1&&void 0!==arguments[1]&&arguments[1]),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{he.delete(e),s&&(n&&e.d(1),s())})),e.o(t)}else s&&s()}function ye(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 _e(e){return"object"==typeof e&&null!==e?e:{}}function $e(e){e&&e.c()}function we(e,t){e&&e.l(t)}function Ee(e,t,s,i){const{fragment:a,after_update:c}=e.$$;a&&a.m(t,s),i||ce((()=>{const t=e.$$.on_mount.map(n).filter(o);e.$$.on_destroy?e.$$.on_destroy.push(...t):r(t),e.$$.on_mount=[]})),c.forEach(ce)}function Se(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];re.forEach((s=>-1===e.indexOf(s)?t.push(s):n.push(s))),n.forEach((e=>e())),re=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]&&(ne.push(e),ae||(ae=!0,ie.then(de)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<7&&void 0!==arguments[7]?arguments[7]:[-1];const d=z;X(t);const h=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||(d?d.$$.context:[])),callbacks:s(),dirty:u,skip_bound:!1,root:n.target||d.$$.root};l&&l(h.root);let m=!1;if(h.ctx=o?o(t,n.props||{},(function(e,n){const s=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return h.ctx&&a(h.ctx[e],h.ctx[e]=s)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](s),m&&xe(t,e)),n})):[],h.update(),m=!0,r(h.before_update),h.fragment=!!i&&i(h.ctx),n.target){if(n.hydrate){f=!0;const e=L(n.target);h.fragment&&h.fragment.l(e),e.forEach(b)}else h.fragment&&h.fragment.c();n.intro&&be(t.$$.fragment),Ee(t,n.target,n.anchor,n.customElement),f=!1,de()}X(d)}class Ae{$destroy(){Se(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 ke=[];function Ne(t){let n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const r=new Set;function o(e){if(i(t,e)&&(t=e,n)){const e=!ke.length;for(const e of r)e[1](),ke.push(e,t);if(e){for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:e];return r.add(a),1===r.size&&(n=s(o)||e),i(t),()=>{r.delete(a),0===r.size&&n&&(n(),n=null)}}}}const Le={};var Ie={owner:"noclocks",repo:"noclocks-uptime","user-agent":"noclocks",sites:[{name:"Domain",url:"https://noclocks.dev"},{name:"Website",url:"https://noclocks.dev"},{name:"Online Store",url:"https://store.noclocks.dev"},{name:"Development Store",url:"https://devstore.noclocks.dev"},{name:"Development Store Accounts",url:"https://accounts.store.noclocks.dev"},{name:"Blog",url:"https://blog.noclocks.dev"},{name:"Medium",url:"https://medium.noclocks.dev/"},{name:"Testimonials",url:"https://testimonials.noclocks.dev"},{name:"EnvShare",url:"https://envshare.noclocks.dev"},{name:"DevDocs (Demo)",url:"https://devdocs.noclocks.dev"}],assignees:["jimbrig","phoward38"],path:"https://noclocks.github.io/noclocks-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",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 Pe(e,t,n){const s=e.slice();return s[1]=t[n],s}function Re(t){let n,s,r,o=Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&function(){let t,n;return{c(){t=y("img"),this.h()},l(e){t=O(e,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){T(t,"alt",""),c(t.src,n=Ie["status-website"].logoUrl)||T(t,"src",n),T(t,"class","svelte-a08hsz")},m(e,n){g(e,t,n)},p:e,d(e){e&&b(t)}}}(),i=Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&function(){let t,n,s=Ie["status-website"].name+"";return{c(){t=y("div"),n=$(s)},l(e){t=O(e,"DIV",{});var r=L(t);n=C(r,s),r.forEach(b)},m(e,s){g(e,t,s),m(t,n)},p:e,d(e){e&&b(t)}}}();return{c(){n=y("div"),s=y("a"),o&&o.c(),r=w(),i&&i.c(),this.h()},l(e){n=O(e,"DIV",{});var t=L(n);s=O(t,"A",{href:!0,class:!0});var a=L(s);o&&o.l(a),r=M(a),i&&i.l(a),a.forEach(b),t.forEach(b),this.h()},h(){T(s,"href",Ie["status-website"].logoHref||Ie.path),T(s,"class","logo svelte-a08hsz")},m(e,t){g(e,n,t),m(n,s),o&&o.m(s,null),m(s,r),i&&i.m(s,null)},p(e,t){Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&o.p(e,t),Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&i.p(e,t)},d(e){e&&b(n),o&&o.d(),i&&i.d()}}}function Oe(e){let t,n,s,r,o,i=e[1].title+"";return{c(){t=y("li"),n=y("a"),s=$(i),o=w(),this.h()},l(e){t=O(e,"LI",{});var r=L(t);n=O(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var a=L(n);s=C(a,i),a.forEach(b),o=M(r),r.forEach(b),this.h()},h(){T(n,"aria-current",r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),T(n,"href",e[1].href.replace("$OWNER",Ie.owner).replace("$REPO",Ie.repo)),T(n,"target",e[1].target||"_self"),T(n,"class","svelte-a08hsz")},m(e,r){g(e,t,r),m(t,n),m(n,s),m(t,o)},p(e,t){1&t&&r!==(r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&T(n,"aria-current",r)},d(e){e&&b(t)}}}function He(t){let n,s,r,o,i,a=Ie["status-website"]&&Ie["status-website"].logoUrl&&Re(),c=Ie["status-website"]&&Ie["status-website"].navbar&&function(e){let t,n=Ie["status-website"].navbar,s=[];for(let t=0;t{"segment"in e&&n(0,s=e.segment)},[s]}class Me extends Ae{constructor(e){super(),Te(this,e,Ce,He,i,{segment:0})}}var De={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
"]," ":["
"],"-":["
"]};function Ue(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function je(e){return(e+"").replace(/"/g,""").replace(//g,">")}function Ge(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||{},d=0;function f(e){var t=De[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 h(){for(var e="";c.length;)e+=f(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(d,r.index),d=a.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((i=r[3]||r[4])?n='
"+Ue(je(i).replace(/^\n+|\n+$/g,""))+"
":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=Ge(Ue(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==i?i="blockquote":(i=i.match(/\./)?"ol":"ul",o=o.replace(/^(.*)(\n|$)/gm,"
  • $1
  • ")),n="<"+i+">"+o+""):r[8]?n=''+je(r[7])+'':r[10]?(l=l.replace("",''),n=h()+""):r[9]?n="":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+Ge(r[12]||r[15],u)+"":r[16]?n=""+je(r[16])+"":(r[17]||r[1])&&(n=f(r[17]||"--"))),l+=s,l+=n;return(l+e.substring(d)+h()).replace(/^\n+|\n+$/g,"")}function Be(e,t,n){const s=e.slice();return s[3]=t[n],s}function qe(e,t,n){const s=e.slice();return s[3]=t[n],s}function ze(e,t,n){const s=e.slice();return s[8]=t[n],s}function Ke(t){let n,s,r,o,i,a;return{c(){n=y("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 '',\n );\n }"),r=w(),o=y("link"),i=w(),a=y("link"),this.h()},l(e){n=O(e,"SCRIPT",{});var t=L(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 '',\n );\n }"),t.forEach(b),r=M(e),o=O(e,"LINK",{rel:!0,href:!0,media:!0}),i=M(e),a=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(o,"rel","stylesheet"),T(o,"href",`${Ie.path}/themes/light.css`),T(o,"media","(prefers-color-scheme: light)"),T(a,"rel","stylesheet"),T(a,"href",`${Ie.path}/themes/dark.css`),T(a,"media","(prefers-color-scheme: dark)")},m(e,t){g(e,n,t),m(n,s),g(e,r,t),g(e,o,t),g(e,i,t),g(e,a,t)},p:e,d(e){e&&b(n),e&&b(r),e&&b(o),e&&b(i),e&&b(a)}}}function Je(t){let n;return{c(){n=y("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",`${Ie.path}/themes/${Ie["status-website"].theme}.css`)},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function Ve(t){let n;return{c(){n=y("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",(Ie["status-website"]||{}).themeUrl)},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function We(t){let n,s;return{c(){n=y("script"),this.h()},l(e){n=O(e,"SCRIPT",{src:!0}),L(n).forEach(b),this.h()},h(){c(n.src,s=t[8].src)||T(n,"src",s),n.async=!!t[8].async,n.defer=!!t[8].async},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function Ye(t){let n;return{c(){n=y("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(n,"rel",t[3].rel),T(n,"href",t[3].href),T(n,"media",t[3].media)},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function Fe(t){let n;return{c(){n=y("meta"),this.h()},l(e){n=O(e,"META",{name:!0,content:!0}),this.h()},h(){T(n,"name",t[3].name),T(n,"content",t[3].content)},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function Xe(t){let n,s,r,o,i,a,c,u,d,f,h,p,_,$,S,x,A,k,N=Ge(Ie.i18n.footer.replace(/\$REPO/,`https://github.com/${Ie.owner}/${Ie.repo}`))+"",I=(Ie["status-website"]||{}).customHeadHtml&&function(){let t,n,s=(Ie["status-website"]||{}).customHeadHtml+"";return{c(){t=new Y(!1),n=E(),this.h()},l(e){t=U(e,!1),n=E(),this.h()},h(){t.a=n},m(e,r){t.m(s,e,r),g(e,n,r)},p:e,d(e){e&&b(n),e&&t.d()}}}();let P=((Ie["status-website"]||{}).themeUrl?Ve:(Ie["status-website"]||{}).theme?Je:Ke)(t),R=(Ie["status-website"]||{}).scripts&&function(e){let t,n=(Ie["status-website"]||{}).scripts,s=[];for(let t=0;t${Ie["status-website"].css}`;return{c(){t=new Y(!1),n=E(),this.h()},l(e){t=U(e,!1),n=E(),this.h()},h(){t.a=n},m(e,r){t.m(s,e,r),g(e,n,r)},p:e,d(e){e&&b(n),e&&t.d()}}}(),j=Ie["status-website"].js&&function(){let t,n,s=`