diff --git a/client/client.af1dcba5.js b/client/client.af1dcba5.js index 001c3e830..616a6999e 100644 --- a/client/client.af1dcba5.js +++ b/client/client.af1dcba5.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 p(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 T(e){return function(t){return t.preventDefault(),e.call(this,t)}}function x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const A=["width","height"];function L(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]:x(e,s,t[s])}function k(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 N(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function C(e,t,n,s,r=!1){N(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 P(e,t,n,s){return C(e,(e=>e.nodeName===t),(e=>{const t=[];for(let s=0;se.removeAttribute(t)))}),(()=>s(t)))}function R(e,t,n){return P(e,t,n,v)}function H(e,t,n){return P(e,t,n,_)}function O(e,t){return C(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 O(e," ")}function U(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(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=v(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{he.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 _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 Te(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<{const r=s.length?s[0]:n;return h.ctx&&a(h.ctx[e],h.ctx[e]=r)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](r),p&&Te(t,e)),n})):[],h.update(),p=!0,r(h.before_update),h.fragment=!!i&&i(h.ctx),n.target){if(n.hydrate){f=!0;const e=I(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 Le=[];function ke(t,n=e){let s;const r=new Set;function o(e){if(i(t,e)&&(t=e,s)){const e=!Le.length;for(const e of r)e[1](),Le.push(e,t);if(e){for(let e=0;e{r.delete(c),0===r.size&&s&&(s(),s=null)}}}}const Ie={};var Ne={owner:"mybigday",repo:"service-uptime",sites:[{name:"BRICKS",method:"POST",headers:["X-HEALTHCHECK-SECRET: $X_HEALTHCHECK_SECRET"],url:"https://display.bricks.tools/api/workspace-public-health-check"},{name:"BRICKS Device",method:"POST",headers:["X-HEALTHCHECK-SECRET: $X_HEALTHCHECK_SECRET"],url:"https://device.bricks.tools/api/public-health-check"},{name:"BRICKS Bank",url:"https://bank.bricks.tools/api/not-found",expectedStatusCodes:[404]},{name:"MyBigDay Group",url:"https://group.mybigday.com.tw"},{name:"BotHub (GCP)",url:"https://bothub.mybigday.com.tw"},{name:"Media Flow",url:"https://media.bricks.tools",expectedStatusCodes:[404]},{name:"Activity Log",url:"https://activity-log.bricks.tools/health"},{name:"Activity Log (Legacy)",url:"https://activity.bricks.tools",expectedStatusCodes:[404]},{name:"Media Companion",url:"https://media-companion.bricks.tools",expectedStatusCodes:[500]}],"status-website":{cname:"status.bricks.tools",logoUrl:"https://cdn.mybigday.com.tw/bricks/bricks.png",name:"BRICKS Status",introTitle:"",introMessage:"",navbar:[{title:"Status",href:"/"}]},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 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"},path:"https://status.bricks.tools"};function Ce(e,t,n){const s=e.slice();return s[1]=t[n],s}function Pe(t){let n,s,r,o=Ne["status-website"]&&!Ne["status-website"].hideNavLogo&&function(t){let n,s;return{c(){n=v("img"),this.h()},l(e){n=R(e,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){x(n,"alt",""),c(n.src,s=Ne["status-website"].logoUrl)||x(n,"src",s),x(n,"class","svelte-a08hsz")},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}(),i=Ne["status-website"]&&!Ne["status-website"].hideNavTitle&&function(t){let n,s,r=Ne["status-website"].name+"";return{c(){n=v("div"),s=$(r)},l(e){n=R(e,"DIV",{});var t=I(n);s=O(t,r),t.forEach(b)},m(e,t){g(e,n,t),p(n,s)},p:e,d(e){e&&b(n)}}}();return{c(){n=v("div"),s=v("a"),o&&o.c(),r=w(),i&&i.c(),this.h()},l(e){n=R(e,"DIV",{});var t=I(n);s=R(t,"A",{href:!0,class:!0});var a=I(s);o&&o.l(a),r=M(a),i&&i.l(a),a.forEach(b),t.forEach(b),this.h()},h(){x(s,"href",Ne["status-website"].logoHref||Ne.path),x(s,"class","logo svelte-a08hsz")},m(e,t){g(e,n,t),p(n,s),o&&o.m(s,null),p(s,r),i&&i.m(s,null)},p(e,t){Ne["status-website"]&&!Ne["status-website"].hideNavLogo&&o.p(e,t),Ne["status-website"]&&!Ne["status-website"].hideNavTitle&&i.p(e,t)},d(e){e&&b(n),o&&o.d(),i&&i.d()}}}function Re(e){let t,n,s,r,o,i=e[1].title+"";return{c(){t=v("li"),n=v("a"),s=$(i),o=w(),this.h()},l(e){t=R(e,"LI",{});var r=I(t);n=R(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var a=I(n);s=O(a,i),a.forEach(b),o=M(r),r.forEach(b),this.h()},h(){x(n,"aria-current",r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),x(n,"href",e[1].href.replace("$OWNER",Ne.owner).replace("$REPO",Ne.repo)),x(n,"target",e[1].target||"_self"),x(n,"class","svelte-a08hsz")},m(e,r){g(e,t,r),p(t,n),p(n,s),p(t,o)},p(e,t){1&t&&r!==(r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&x(n,"aria-current",r)},d(e){e&&b(t)}}}function He(t){let n,s,r,o,i,a=Ne["status-website"]&&Ne["status-website"].logoUrl&&Pe(),c=Ne["status-website"]&&Ne["status-website"].navbar&&function(e){let t,n=Ne["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(),xe(this,e,Oe,He,i,{segment:0})}}var Ue={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
"]," ":["
"],"-":["
"]};function De(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function je(e){return(e+"").replace(/"/g,""").replace(//g,">")}function Be(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=Ue[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='
"+De(je(i).replace(/^\n+|\n+$/g,""))+"
":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=Be(De(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))+">"+Be(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 Ge(e,t,n){const s=e.slice();return s[3]=t[n],s}function Ke(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 ze(t){let n,s,r,o,i,a;return{c(){n=v("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=v("link"),i=w(),a=v("link"),this.h()},l(e){n=R(e,"SCRIPT",{});var t=I(n);s=O(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=R(e,"LINK",{rel:!0,href:!0,media:!0}),i=M(e),a=R(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){x(o,"rel","stylesheet"),x(o,"href",`${Ne.path}/themes/light.css`),x(o,"media","(prefers-color-scheme: light)"),x(a,"rel","stylesheet"),x(a,"href",`${Ne.path}/themes/dark.css`),x(a,"media","(prefers-color-scheme: dark)")},m(e,t){g(e,n,t),p(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=v("link"),this.h()},l(e){n=R(e,"LINK",{rel:!0,href:!0}),this.h()},h(){x(n,"rel","stylesheet"),x(n,"href",`${Ne.path}/themes/${Ne["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=v("link"),this.h()},l(e){n=R(e,"LINK",{rel:!0,href:!0}),this.h()},h(){x(n,"rel","stylesheet"),x(n,"href",(Ne["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=v("script"),this.h()},l(e){n=R(e,"SCRIPT",{src:!0}),I(n).forEach(b),this.h()},h(){c(n.src,s=t[8].src)||x(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 Fe(t){let n;return{c(){n=v("link"),this.h()},l(e){n=R(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){x(n,"rel",t[3].rel),x(n,"href",t[3].href),x(n,"media",t[3].media)},m(e,t){g(e,n,t)},p:e,d(e){e&&b(n)}}}function Ye(t){let n;return{c(){n=v("meta"),this.h()},l(e){n=R(e,"META",{name:!0,content:!0}),this.h()},h(){x(n,"name",t[3].name),x(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,m,_,$,S,T,A,L,k=Be(Ne.i18n.footer.replace(/\$REPO/,`https://github.com/${Ne.owner}/${Ne.repo}`))+"",N=(Ne["status-website"]||{}).customHeadHtml&&function(t){let n,s,r=(Ne["status-website"]||{}).customHeadHtml+"";return{c(){n=new F(!1),s=E(),this.h()},l(e){n=D(e,!1),s=E(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&b(s),e&&n.d()}}}();let C=((Ne["status-website"]||{}).themeUrl?Ve:(Ne["status-website"]||{}).theme?Je:ze)(t),P=(Ne["status-website"]||{}).scripts&&function(e){let t,n=(Ne["status-website"]||{}).scripts,s=[];for(let t=0;t${Ne["status-website"].css}`;return{c(){n=new F(!1),s=E(),this.h()},l(e){n=D(e,!1),s=E(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&b(s),e&&n.d()}}}(),j=Ne["status-website"].js&&function(t){let n,s,r=`